@talqing/sdk 0.18.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/gen/index.d.ts +1 -1
- package/dist/cjs/gen/index.d.ts.map +1 -1
- package/dist/cjs/gen/sdk.gen.d.ts +13 -14
- package/dist/cjs/gen/sdk.gen.d.ts.map +1 -1
- package/dist/cjs/gen/sdk.gen.js +26 -26
- package/dist/cjs/gen/sdk.gen.js.map +1 -1
- package/dist/cjs/gen/types.gen.d.ts +49 -53
- package/dist/cjs/gen/types.gen.d.ts.map +1 -1
- package/dist/esm/gen/index.d.ts +1 -1
- package/dist/esm/gen/index.d.ts.map +1 -1
- package/dist/esm/gen/sdk.gen.d.ts +13 -14
- package/dist/esm/gen/sdk.gen.d.ts.map +1 -1
- package/dist/esm/gen/sdk.gen.js +24 -24
- package/dist/esm/gen/sdk.gen.js.map +1 -1
- package/dist/esm/gen/types.gen.d.ts +49 -53
- package/dist/esm/gen/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/gen/index.ts +1 -1
- package/src/gen/sdk.gen.ts +30 -31
- package/src/gen/types.gen.ts +54 -58
|
@@ -14627,6 +14627,55 @@ export type AgentsVersionsRollbackResults = {
|
|
|
14627
14627
|
200: AgentResponse;
|
|
14628
14628
|
};
|
|
14629
14629
|
export type AgentsVersionsRollbackResult = AgentsVersionsRollbackResults[keyof AgentsVersionsRollbackResults];
|
|
14630
|
+
export type AttachmentsGetData = {
|
|
14631
|
+
body?: never;
|
|
14632
|
+
path: {
|
|
14633
|
+
/**
|
|
14634
|
+
* Attachment Id
|
|
14635
|
+
*/
|
|
14636
|
+
attachment_id: string;
|
|
14637
|
+
};
|
|
14638
|
+
query?: never;
|
|
14639
|
+
url: '/v1/attachments/{attachment_id}';
|
|
14640
|
+
};
|
|
14641
|
+
export type AttachmentsGetErrors = {
|
|
14642
|
+
/**
|
|
14643
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
14644
|
+
*/
|
|
14645
|
+
401: ErrorResponse;
|
|
14646
|
+
/**
|
|
14647
|
+
* No such resource in this organization.
|
|
14648
|
+
*/
|
|
14649
|
+
404: ErrorResponse;
|
|
14650
|
+
/**
|
|
14651
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
14652
|
+
*/
|
|
14653
|
+
422: ErrorResponse;
|
|
14654
|
+
/**
|
|
14655
|
+
* Unexpected error. Every error this API returns carries this body.
|
|
14656
|
+
*/
|
|
14657
|
+
default: ErrorResponse;
|
|
14658
|
+
};
|
|
14659
|
+
export type AttachmentsGetError = AttachmentsGetErrors[keyof AttachmentsGetErrors];
|
|
14660
|
+
export type AttachmentsGetResults = {
|
|
14661
|
+
/**
|
|
14662
|
+
* Response Attachments.Get
|
|
14663
|
+
*
|
|
14664
|
+
* Successful Response
|
|
14665
|
+
*/
|
|
14666
|
+
200: ({
|
|
14667
|
+
kind: 'image';
|
|
14668
|
+
} & ConversationImage) | ({
|
|
14669
|
+
kind: 'document';
|
|
14670
|
+
} & ConversationDocument) | ({
|
|
14671
|
+
kind: 'audio';
|
|
14672
|
+
} & ConversationAudio) | ({
|
|
14673
|
+
kind: 'contact';
|
|
14674
|
+
} & ConversationContact) | ({
|
|
14675
|
+
kind: 'file';
|
|
14676
|
+
} & ConversationFile);
|
|
14677
|
+
};
|
|
14678
|
+
export type AttachmentsGetResult = AttachmentsGetResults[keyof AttachmentsGetResults];
|
|
14630
14679
|
export type BillingCreditsGetData = {
|
|
14631
14680
|
body?: never;
|
|
14632
14681
|
path?: never;
|
|
@@ -17018,59 +17067,6 @@ export type ConversationsUpdateResults = {
|
|
|
17018
17067
|
200: ConversationResponse;
|
|
17019
17068
|
};
|
|
17020
17069
|
export type ConversationsUpdateResult = ConversationsUpdateResults[keyof ConversationsUpdateResults];
|
|
17021
|
-
export type ConversationsAttachmentsGetData = {
|
|
17022
|
-
body?: never;
|
|
17023
|
-
path: {
|
|
17024
|
-
/**
|
|
17025
|
-
* Conversation Id
|
|
17026
|
-
*/
|
|
17027
|
-
conversation_id: string;
|
|
17028
|
-
/**
|
|
17029
|
-
* Attachment Id
|
|
17030
|
-
*/
|
|
17031
|
-
attachment_id: string;
|
|
17032
|
-
};
|
|
17033
|
-
query?: never;
|
|
17034
|
-
url: '/v1/conversations/{conversation_id}/attachments/{attachment_id}';
|
|
17035
|
-
};
|
|
17036
|
-
export type ConversationsAttachmentsGetErrors = {
|
|
17037
|
-
/**
|
|
17038
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
17039
|
-
*/
|
|
17040
|
-
401: ErrorResponse;
|
|
17041
|
-
/**
|
|
17042
|
-
* No such resource in this organization.
|
|
17043
|
-
*/
|
|
17044
|
-
404: ErrorResponse;
|
|
17045
|
-
/**
|
|
17046
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
17047
|
-
*/
|
|
17048
|
-
422: ErrorResponse;
|
|
17049
|
-
/**
|
|
17050
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
17051
|
-
*/
|
|
17052
|
-
default: ErrorResponse;
|
|
17053
|
-
};
|
|
17054
|
-
export type ConversationsAttachmentsGetError = ConversationsAttachmentsGetErrors[keyof ConversationsAttachmentsGetErrors];
|
|
17055
|
-
export type ConversationsAttachmentsGetResults = {
|
|
17056
|
-
/**
|
|
17057
|
-
* Response Conversations.Attachments.Get
|
|
17058
|
-
*
|
|
17059
|
-
* Successful Response
|
|
17060
|
-
*/
|
|
17061
|
-
200: ({
|
|
17062
|
-
kind: 'image';
|
|
17063
|
-
} & ConversationImage) | ({
|
|
17064
|
-
kind: 'document';
|
|
17065
|
-
} & ConversationDocument) | ({
|
|
17066
|
-
kind: 'audio';
|
|
17067
|
-
} & ConversationAudio) | ({
|
|
17068
|
-
kind: 'contact';
|
|
17069
|
-
} & ConversationContact) | ({
|
|
17070
|
-
kind: 'file';
|
|
17071
|
-
} & ConversationFile);
|
|
17072
|
-
};
|
|
17073
|
-
export type ConversationsAttachmentsGetResult = ConversationsAttachmentsGetResults[keyof ConversationsAttachmentsGetResults];
|
|
17074
17070
|
export type ConversationsEventsData = {
|
|
17075
17071
|
body?: never;
|
|
17076
17072
|
path: {
|