Skip to content

Commit e26e283

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.2.4-alpha.28 (#35)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.582.0 * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 014481f commit e26e283

File tree

75 files changed

+1939
-235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+1939
-235
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/examples/node_modules
2+
.env
3+
.env.local
4+
.env.*.local
15
**/.speakeasy/temp/
26
**/.speakeasy/logs/
37
.speakeasy/temp/

.speakeasy/gen.lock

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 63a2136d-3fa3-4a0b-a766-1ddb2460cc12
33
management:
4-
docChecksum: f81e8133581c39d9bcd58ef5701096e5
4+
docChecksum: 21b0df96ca59079500d07a175bf4988f
55
docVersion: 0.1.1
6-
speakeasyVersion: 1.568.2
7-
generationVersion: 2.634.2
8-
releaseVersion: 0.2.4-alpha.27
9-
configChecksum: ad7c8803d2d4f3c430516cad647d6a17
6+
speakeasyVersion: 1.582.0
7+
generationVersion: 2.657.1
8+
releaseVersion: 0.2.4-alpha.28
9+
configChecksum: f164bb3507bf6cba233836c9e3a4604d
1010
repoURL: https://github.com/inkeep/inkeep-analytics-typescript.git
1111
installationURL: https://github.com/inkeep/inkeep-analytics-typescript
1212
published: true
@@ -15,7 +15,7 @@ features:
1515
additionalDependencies: 0.1.0
1616
additionalProperties: 0.1.1
1717
constsAndDefaults: 0.1.12
18-
core: 3.21.11
18+
core: 3.21.14
1919
defaultEnabledRetries: 0.1.0
2020
devContainers: 2.90.0
2121
downloadStreams: 0.1.1
@@ -26,7 +26,7 @@ features:
2626
globalSecurityFlattening: 0.1.0
2727
globalServerURLs: 2.82.5
2828
groups: 2.81.2
29-
mcpServer: 0.9.2
29+
mcpServer: 0.9.3
3030
methodSecurity: 2.82.6
3131
nameOverrides: 2.81.2
3232
nullables: 0.1.1
@@ -167,10 +167,13 @@ generatedFiles:
167167
- docs/models/components/getallfeedbackresponse.md
168168
- docs/models/components/getallfeedbackresponseid.md
169169
- docs/models/components/getallfeedbackresponsenegativefeedbackid.md
170+
- docs/models/components/getallfeedbackresponsenegativefeedbacksourcestype.md
170171
- docs/models/components/getallfeedbackresponsenegativefeedbacktype.md
171172
- docs/models/components/getallfeedbackresponsenegativefeedbackuserid.md
172173
- docs/models/components/getallfeedbackresponsenegativefeedbackuserproperties.md
174+
- docs/models/components/getallfeedbackresponsepositivefeedbacktype.md
173175
- docs/models/components/getallfeedbackresponsereasons.md
176+
- docs/models/components/getallfeedbackresponsesources.md
174177
- docs/models/components/getallfeedbackresponsetype.md
175178
- docs/models/components/getallfeedbackresponseuserid.md
176179
- docs/models/components/getallfeedbackresponseuserproperties.md
@@ -242,6 +245,8 @@ generatedFiles:
242245
- docs/models/components/queryfeedbackresponsedata.md
243246
- docs/models/components/queryfeedbackresponsedataid.md
244247
- docs/models/components/queryfeedbackresponsedatareasons.md
248+
- docs/models/components/queryfeedbackresponsedataresulttype.md
249+
- docs/models/components/queryfeedbackresponsedatasources.md
245250
- docs/models/components/queryfeedbackresponsedatatype.md
246251
- docs/models/components/queryfeedbackresponsedatauserid.md
247252
- docs/models/components/queryfeedbackresponsedatauserproperties.md
@@ -299,6 +304,7 @@ generatedFiles:
299304
- docs/models/components/semanticthreadtimebasedgroupbyselectionfield.md
300305
- docs/models/components/semanticthreadtimebasedgroupbyselectiontype.md
301306
- docs/models/components/seven.md
307+
- docs/models/components/sources.md
302308
- docs/models/components/status.md
303309
- docs/models/components/supportcopilotconversation.md
304310
- docs/models/components/supportcopilotconversationid.md
@@ -371,25 +377,31 @@ generatedFiles:
371377
- docs/models/operations/getconversationbyexternalidrequest.md
372378
- docs/models/operations/getconversationrequest.md
373379
- docs/models/operations/getconversationsecurity.md
380+
- docs/models/operations/getfeedbackbyidfeedbacktype.md
374381
- docs/models/operations/getfeedbackbyidid.md
375382
- docs/models/operations/getfeedbackbyidreasons.md
376383
- docs/models/operations/getfeedbackbyidrequest.md
377384
- docs/models/operations/getfeedbackbyidresponsebody.md
385+
- docs/models/operations/getfeedbackbyidsources.md
378386
- docs/models/operations/getfeedbackbyidtype.md
379387
- docs/models/operations/getfeedbackbyiduserid.md
380388
- docs/models/operations/getfeedbackbyiduserproperties.md
381389
- docs/models/operations/id.md
382390
- docs/models/operations/logconversationsecurity.md
383391
- docs/models/operations/logeventsecurity.md
392+
- docs/models/operations/logfeedbackfeedbackresponsetype.md
393+
- docs/models/operations/logfeedbackfeedbacktype.md
384394
- docs/models/operations/logfeedbackid.md
385395
- docs/models/operations/logfeedbackreasons.md
386396
- docs/models/operations/logfeedbackrequestbody.md
387397
- docs/models/operations/logfeedbackresponsebody.md
398+
- docs/models/operations/logfeedbacksources.md
388399
- docs/models/operations/logfeedbacktype.md
389400
- docs/models/operations/logfeedbackuserid.md
390401
- docs/models/operations/logfeedbackuserproperties.md
391402
- docs/models/operations/reasons.md
392403
- docs/models/operations/result.md
404+
- docs/models/operations/sources.md
393405
- docs/models/operations/topsearchqueriesrequest.md
394406
- docs/models/operations/topsearchqueriesresponsebody.md
395407
- docs/models/operations/type.md
@@ -406,6 +418,10 @@ generatedFiles:
406418
- docs/sdks/inkeepanalytics/README.md
407419
- docs/sdks/query/README.md
408420
- eslint.config.mjs
421+
- examples/.env.template
422+
- examples/README.md
423+
- examples/package.json
424+
- examples/topSearchQueries.example.ts
409425
- jsr.json
410426
- package.json
411427
- src/core.ts
@@ -780,7 +796,7 @@ examples:
780796
offset: 0
781797
responses:
782798
"200":
783-
application/json: {"positiveFeedbackCount": 6961.56, "negativeFeedbackCount": 4153.74, "positiveFeedback": [{"id": "<id>", "type": "positive", "messageId": "<id>", "createdAt": "1713328476280", "userProperties": {"identificationType": "COOKIED"}, "conversation": {"id": "<id>", "externalId": "<id>", "externalUrl": "https://grizzled-editor.org/", "type": "openai", "supportTicketConversationId": "<id>", "createdAt": "1710817203853", "updatedAt": "1735687690121", "projectId": "<id>", "integrationId": "<id>", "visibility": "public", "messages": [], "messagesOpenAIFormat": [{"role": "system", "content": "<value>"}]}, "message": {"id": "<id>", "type": "support_copilot", "externalId": "<id>", "externalUrl": "https://linear-collaboration.net", "conversationId": "<id>", "createdAt": "1715477061988", "updatedAt": "1735684129218", "role": "<value>", "content": null}}], "negativeFeedback": []}
799+
application/json: {"positiveFeedbackCount": 6961.56, "negativeFeedbackCount": 4153.74, "positiveFeedback": [{"id": "<id>", "type": "positive", "messageId": "<id>", "createdAt": "1713328476280", "details": "<value>", "userProperties": {"identificationType": "COOKIED"}, "conversation": {"id": "<id>", "externalId": "<id>", "externalUrl": "https://grizzled-editor.org/", "type": "openai", "supportTicketConversationId": "<id>", "createdAt": "1710817203853", "updatedAt": "1735687690121", "projectId": "<id>", "integrationId": "<id>", "visibility": "public", "messages": [], "messagesOpenAIFormat": [{"role": "system", "content": "<value>"}]}, "message": {"id": "<id>", "type": "support_copilot", "externalId": "<id>", "externalUrl": "https://linear-collaboration.net", "conversationId": "<id>", "createdAt": "1715477061988", "updatedAt": "1735684129218", "role": "<value>", "content": null}}], "negativeFeedback": []}
784800
"400":
785801
application/problem+json: {"title": "Bad Request", "status": 400, "detail": "Bad Request", "instance": "/conversations/123", "requestId": "req_1234567890", "code": "bad_request", "error": {"code": "bad_request", "message": "Bad Request"}}
786802
"401":
@@ -800,7 +816,7 @@ examples:
800816
id: "feedback-id-123"
801817
responses:
802818
"200":
803-
application/json: {"id": "<id>", "type": "negative", "messageId": "<id>", "createdAt": "1722259016960", "userProperties": {"identificationType": "COOKIED"}, "conversation": {"id": "<id>", "externalId": "<id>", "externalUrl": "https://difficult-accountability.info/", "type": "support_copilot", "supportTicketConversationId": "<id>", "createdAt": "1712671280110", "updatedAt": "1735652249363", "projectId": "<id>", "integrationId": "<id>", "visibility": "private", "messages": [{"id": "<id>", "type": "support_copilot", "externalId": "<id>", "externalUrl": "https://merry-solution.com", "conversationId": "<id>", "createdAt": "1706159703123", "updatedAt": "1735669717348", "role": "<value>", "content": "<value>", "userProperties": {"identificationType": "COOKIED"}}]}, "message": {"id": "<id>", "type": "support_copilot", "externalId": "<id>", "externalUrl": "https://heavenly-reservation.info", "conversationId": "<id>", "createdAt": "1715541556343", "updatedAt": "1735675403237", "role": "<value>", "content": "<value>"}}
819+
application/json: {"id": "<id>", "type": "negative", "messageId": "<id>", "createdAt": "1722259016960", "details": "<value>", "userProperties": {"identificationType": "COOKIED"}, "conversation": {"id": "<id>", "externalId": "<id>", "externalUrl": "https://difficult-accountability.info/", "type": "support_copilot", "supportTicketConversationId": "<id>", "createdAt": "1712671280110", "updatedAt": "1735652249363", "projectId": "<id>", "integrationId": "<id>", "visibility": "private", "messages": [{"id": "<id>", "type": "support_copilot", "externalId": "<id>", "externalUrl": "https://merry-solution.com", "conversationId": "<id>", "createdAt": "1706159703123", "updatedAt": "1735669717348", "role": "<value>", "content": "<value>", "userProperties": {"identificationType": "COOKIED"}}]}, "message": {"id": "<id>", "type": "support_copilot", "externalId": "<id>", "externalUrl": "https://heavenly-reservation.info", "conversationId": "<id>", "createdAt": "1715541556343", "updatedAt": "1735675403237", "role": "<value>", "content": "<value>"}}
804820
"400":
805821
application/problem+json: {"title": "Bad Request", "status": 400, "detail": "Bad Request", "instance": "/conversations/123", "requestId": "req_1234567890", "code": "bad_request", "error": {"code": "bad_request", "message": "Bad Request"}}
806822
"401":
@@ -952,10 +968,10 @@ examples:
952968
logFeedback:
953969
speakeasy-default-log-feedback:
954970
requestBody:
955-
application/json: {"type": "positive", "messageId": "<id>", "userProperties": {"identificationType": "COOKIED"}}
971+
application/json: {"type": "positive", "messageId": "<id>", "details": "<value>", "userProperties": {"identificationType": "COOKIED"}}
956972
responses:
957973
"200":
958-
application/json: {"id": "<id>", "type": "negative", "messageId": "<id>", "createdAt": "1715498996076", "userProperties": null}
974+
application/json: {"id": "<id>", "type": "negative", "messageId": "<id>", "createdAt": "1715498996076", "details": "<value>", "userProperties": null}
959975
"400":
960976
application/problem+json: {"title": "Bad Request", "status": 400, "detail": "Bad Request", "instance": "/conversations/123", "requestId": "req_1234567890", "code": "bad_request", "error": {"code": "bad_request", "message": "Bad Request"}}
961977
"401":

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ generation:
2424
generateNewTests: false
2525
skipResponseBodyAssertions: false
2626
typescript:
27-
version: 0.2.4-alpha.27
27+
version: 0.2.4-alpha.28
2828
additionalDependencies:
2929
dependencies: {}
3030
devDependencies: {}
@@ -42,6 +42,7 @@ typescript:
4242
envVarPrefix: INKEEPANALYTICS
4343
flattenGlobalSecurity: true
4444
flatteningOrder: parameters-first
45+
generateExamples: true
4546
imports:
4647
option: openapi
4748
paths:

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.568.2
1+
speakeasyVersion: 1.582.0
22
sources:
33
Inkeep Analytics API:
44
sourceNamespace: inkeep-analytics-api
5-
sourceRevisionDigest: sha256:0766a4efd7aa3e3cd02b91adf8f6539fa134235191ca79bde0e4fff14bf52518
6-
sourceBlobDigest: sha256:fcefc69313edd4b8e9ac31bb0dfa75df34276be557f6935384467a7961d920e3
5+
sourceRevisionDigest: sha256:b5307ef1ce385aee0b227b5fa3c7eebcce1888dd4a590191c2655186aaafff6d
6+
sourceBlobDigest: sha256:2d4f02181af86d8a2ff3cb8943b56ee8894b08a5bd061e4997c8efa9f834ba4b
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1749846173
9+
- speakeasy-sdk-regen-1752121602
1010
- 0.1.1
1111
targets:
1212
inkeep-analytics:
1313
source: Inkeep Analytics API
1414
sourceNamespace: inkeep-analytics-api
15-
sourceRevisionDigest: sha256:0766a4efd7aa3e3cd02b91adf8f6539fa134235191ca79bde0e4fff14bf52518
16-
sourceBlobDigest: sha256:fcefc69313edd4b8e9ac31bb0dfa75df34276be557f6935384467a7961d920e3
15+
sourceRevisionDigest: sha256:b5307ef1ce385aee0b227b5fa3c7eebcce1888dd4a590191c2655186aaafff6d
16+
sourceBlobDigest: sha256:2d4f02181af86d8a2ff3cb8943b56ee8894b08a5bd061e4997c8efa9f834ba4b
1717
codeSamplesNamespace: inkeep-analytics-api-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:81889bc4daf8f930e1b12c43e63eee649324e243bb4ea591e63b3649201e2756
18+
codeSamplesRevisionDigest: sha256:048779358d303f0ac4e51ed470389137ffdcdea5f4ad2a7231588036acb5bac2
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -501,11 +501,11 @@ run();
501501
### Error Classes
502502
**Primary errors:**
503503
* [`InkeepAnalyticsError`](./src/models/errors/inkeepanalyticserror.ts): The base class for HTTP error responses.
504-
* [`BadRequest`](docs/models/errors/badrequest.md): Bad Request. Status code `400`.
505-
* [`Unauthorized`](docs/models/errors/unauthorized.md): Unauthorized. Status code `401`.
506-
* [`Forbidden`](docs/models/errors/forbidden.md): Forbidden. Status code `403`.
507-
* [`UnprocessableEntity`](docs/models/errors/unprocessableentity.md): Unprocessable Entity. Status code `422`.
508-
* [`InternalServerError`](docs/models/errors/internalservererror.md): Internal Server Error. Status code `500`.
504+
* [`BadRequest`](./src/models/errors/badrequest.ts): Bad Request. Status code `400`.
505+
* [`Unauthorized`](./src/models/errors/unauthorized.ts): Unauthorized. Status code `401`.
506+
* [`Forbidden`](./src/models/errors/forbidden.ts): Forbidden. Status code `403`.
507+
* [`UnprocessableEntity`](./src/models/errors/unprocessableentity.ts): Unprocessable Entity. Status code `422`.
508+
* [`InternalServerError`](./src/models/errors/internalservererror.ts): Internal Server Error. Status code `500`.
509509

510510
<details><summary>Less common errors (7)</summary>
511511

@@ -520,7 +520,7 @@ run();
520520

521521

522522
**Inherit from [`InkeepAnalyticsError`](./src/models/errors/inkeepanalyticserror.ts)**:
523-
* [`NotFound`](docs/models/errors/notfound.md): Not Found. Status code `404`. Applicable to 6 of 18 methods.*
523+
* [`NotFound`](./src/models/errors/notfound.ts): Not Found. Status code `404`. Applicable to 6 of 18 methods.*
524524
* [`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
525525

526526
</details>

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,4 +318,14 @@ Based on:
318318
### Generated
319319
- [typescript v0.2.4-alpha.27] .
320320
### Releases
321-
- [NPM v0.2.4-alpha.27] https://www.npmjs.com/package/@inkeep/inkeep-analytics/v/0.2.4-alpha.27 - .
321+
- [NPM v0.2.4-alpha.27] https://www.npmjs.com/package/@inkeep/inkeep-analytics/v/0.2.4-alpha.27 - .
322+
323+
## 2025-07-15 20:49:27
324+
### Changes
325+
Based on:
326+
- OpenAPI Doc
327+
- Speakeasy CLI 1.582.0 (2.657.1) https://github.com/speakeasy-api/speakeasy
328+
### Generated
329+
- [typescript v0.2.4-alpha.28] .
330+
### Releases
331+
- [NPM v0.2.4-alpha.28] https://www.npmjs.com/package/@inkeep/inkeep-analytics/v/0.2.4-alpha.28 - .

docs/models/components/and.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
const value: components.ConversationsFilter = {
1010
and: [
1111
{
12-
and: [],
12+
condition: {
13+
field: "userMessageCount",
14+
operator: "arrayContains",
15+
value: "<value>",
16+
},
1317
},
1418
],
1519
};

docs/models/components/conversationsfilter.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@ const value: components.ConversationsFilterCondition = {
2121
const value: components.ConversationsFilterAND = {
2222
and: [
2323
{
24-
condition: {
25-
field: "userMessageCount",
26-
operator: "arrayContains",
27-
value: "<value>",
28-
},
24+
and: [],
2925
},
3026
],
3127
};

docs/models/components/conversationsfilterand.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,7 @@ import { ConversationsFilterAND } from "@inkeep/inkeep-analytics/models/componen
1010
let value: ConversationsFilterAND = {
1111
and: [
1212
{
13-
or: [
14-
{
15-
condition: {
16-
field: "userMessageCount",
17-
operator: "arrayContains",
18-
value: "<value>",
19-
},
20-
},
21-
],
13+
and: [],
2214
},
2315
],
2416
};

docs/models/components/eventsfilter.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ const value: components.EventsFilterCondition = {
2525
const value: components.EventsFilterAND = {
2626
and: [
2727
{
28-
and: [
29-
{
30-
and: [],
31-
},
32-
],
28+
or: [],
3329
},
3430
],
3531
};

0 commit comments

Comments
 (0)