@talqing/sdk 0.22.2 → 0.22.4
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 +28 -4
- package/dist/cjs/gen/sdk.gen.d.ts.map +1 -1
- package/dist/cjs/gen/sdk.gen.js +60 -3
- package/dist/cjs/gen/sdk.gen.js.map +1 -1
- package/dist/cjs/gen/types.gen.d.ts +142 -0
- 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 +28 -4
- package/dist/esm/gen/sdk.gen.d.ts.map +1 -1
- package/dist/esm/gen/sdk.gen.js +60 -3
- package/dist/esm/gen/sdk.gen.js.map +1 -1
- package/dist/esm/gen/types.gen.d.ts +142 -0
- 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 +70 -4
- package/src/gen/types.gen.ts +154 -0
|
@@ -8555,6 +8555,33 @@ export type PageWhatsAppRecipientResponse = {
|
|
|
8555
8555
|
*/
|
|
8556
8556
|
offset: number;
|
|
8557
8557
|
};
|
|
8558
|
+
/**
|
|
8559
|
+
* PatchCallBatchRecipientRequest
|
|
8560
|
+
*
|
|
8561
|
+
* Cell edits on one row. An empty value clears that cell.
|
|
8562
|
+
*/
|
|
8563
|
+
export type PatchCallBatchRecipientRequest = {
|
|
8564
|
+
/**
|
|
8565
|
+
* Collected
|
|
8566
|
+
*
|
|
8567
|
+
* Written to the contact, so their later calls see it too.
|
|
8568
|
+
*/
|
|
8569
|
+
collected?: {
|
|
8570
|
+
[key: string]: string;
|
|
8571
|
+
};
|
|
8572
|
+
/**
|
|
8573
|
+
* To
|
|
8574
|
+
*/
|
|
8575
|
+
to?: string;
|
|
8576
|
+
/**
|
|
8577
|
+
* Userdata
|
|
8578
|
+
*
|
|
8579
|
+
* Uploaded columns; only before the row is dialled.
|
|
8580
|
+
*/
|
|
8581
|
+
userdata?: {
|
|
8582
|
+
[key: string]: string;
|
|
8583
|
+
};
|
|
8584
|
+
};
|
|
8558
8585
|
/**
|
|
8559
8586
|
* PatchCallBatchRequest
|
|
8560
8587
|
*
|
|
@@ -8630,6 +8657,8 @@ export type PatchConversationRequest = {
|
|
|
8630
8657
|
summary?: string | null;
|
|
8631
8658
|
/**
|
|
8632
8659
|
* Userdata
|
|
8660
|
+
*
|
|
8661
|
+
* Merged by key; a null value removes that key.
|
|
8633
8662
|
*/
|
|
8634
8663
|
userdata?: {
|
|
8635
8664
|
[key: string]: unknown;
|
|
@@ -10310,6 +10339,17 @@ export type ResumeCallRequest = {
|
|
|
10310
10339
|
[key: string]: string;
|
|
10311
10340
|
} | null;
|
|
10312
10341
|
};
|
|
10342
|
+
/**
|
|
10343
|
+
* RetryRecipientsRequest
|
|
10344
|
+
*
|
|
10345
|
+
* Rows to call again, by id.
|
|
10346
|
+
*/
|
|
10347
|
+
export type RetryRecipientsRequest = {
|
|
10348
|
+
/**
|
|
10349
|
+
* Recipient Ids
|
|
10350
|
+
*/
|
|
10351
|
+
recipient_ids: Array<string>;
|
|
10352
|
+
};
|
|
10313
10353
|
/**
|
|
10314
10354
|
* RoutedTTS
|
|
10315
10355
|
*
|
|
@@ -15742,6 +15782,108 @@ export type CallsBatchesRecipientsDeleteResults = {
|
|
|
15742
15782
|
200: RecipientActionResponse;
|
|
15743
15783
|
};
|
|
15744
15784
|
export type CallsBatchesRecipientsDeleteResult = CallsBatchesRecipientsDeleteResults[keyof CallsBatchesRecipientsDeleteResults];
|
|
15785
|
+
export type CallsBatchesRecipientsRetryData = {
|
|
15786
|
+
body: RetryRecipientsRequest;
|
|
15787
|
+
path: {
|
|
15788
|
+
/**
|
|
15789
|
+
* Batch Id
|
|
15790
|
+
*/
|
|
15791
|
+
batch_id: string;
|
|
15792
|
+
};
|
|
15793
|
+
query?: never;
|
|
15794
|
+
url: '/v1/calls/batches/{batch_id}/recipients/retry';
|
|
15795
|
+
};
|
|
15796
|
+
export type CallsBatchesRecipientsRetryErrors = {
|
|
15797
|
+
/**
|
|
15798
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
15799
|
+
*/
|
|
15800
|
+
400: ErrorResponse;
|
|
15801
|
+
/**
|
|
15802
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
15803
|
+
*/
|
|
15804
|
+
401: ErrorResponse;
|
|
15805
|
+
/**
|
|
15806
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
15807
|
+
*/
|
|
15808
|
+
403: ErrorResponse;
|
|
15809
|
+
/**
|
|
15810
|
+
* No such resource in this organization.
|
|
15811
|
+
*/
|
|
15812
|
+
404: ErrorResponse;
|
|
15813
|
+
/**
|
|
15814
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
15815
|
+
*/
|
|
15816
|
+
409: ErrorResponse;
|
|
15817
|
+
/**
|
|
15818
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
15819
|
+
*/
|
|
15820
|
+
422: ErrorResponse;
|
|
15821
|
+
/**
|
|
15822
|
+
* Unexpected error. Every error this API returns carries this body.
|
|
15823
|
+
*/
|
|
15824
|
+
default: ErrorResponse;
|
|
15825
|
+
};
|
|
15826
|
+
export type CallsBatchesRecipientsRetryError = CallsBatchesRecipientsRetryErrors[keyof CallsBatchesRecipientsRetryErrors];
|
|
15827
|
+
export type CallsBatchesRecipientsRetryResults = {
|
|
15828
|
+
/**
|
|
15829
|
+
* Successful Response
|
|
15830
|
+
*/
|
|
15831
|
+
200: RecipientActionResponse;
|
|
15832
|
+
};
|
|
15833
|
+
export type CallsBatchesRecipientsRetryResult = CallsBatchesRecipientsRetryResults[keyof CallsBatchesRecipientsRetryResults];
|
|
15834
|
+
export type CallsBatchesRecipientsUpdateData = {
|
|
15835
|
+
body: PatchCallBatchRecipientRequest;
|
|
15836
|
+
path: {
|
|
15837
|
+
/**
|
|
15838
|
+
* Batch Id
|
|
15839
|
+
*/
|
|
15840
|
+
batch_id: string;
|
|
15841
|
+
/**
|
|
15842
|
+
* Recipient Id
|
|
15843
|
+
*/
|
|
15844
|
+
recipient_id: string;
|
|
15845
|
+
};
|
|
15846
|
+
query?: never;
|
|
15847
|
+
url: '/v1/calls/batches/{batch_id}/recipients/{recipient_id}';
|
|
15848
|
+
};
|
|
15849
|
+
export type CallsBatchesRecipientsUpdateErrors = {
|
|
15850
|
+
/**
|
|
15851
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
15852
|
+
*/
|
|
15853
|
+
400: ErrorResponse;
|
|
15854
|
+
/**
|
|
15855
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
15856
|
+
*/
|
|
15857
|
+
401: ErrorResponse;
|
|
15858
|
+
/**
|
|
15859
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
15860
|
+
*/
|
|
15861
|
+
403: ErrorResponse;
|
|
15862
|
+
/**
|
|
15863
|
+
* No such resource in this organization.
|
|
15864
|
+
*/
|
|
15865
|
+
404: ErrorResponse;
|
|
15866
|
+
/**
|
|
15867
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
15868
|
+
*/
|
|
15869
|
+
409: ErrorResponse;
|
|
15870
|
+
/**
|
|
15871
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
15872
|
+
*/
|
|
15873
|
+
422: ErrorResponse;
|
|
15874
|
+
/**
|
|
15875
|
+
* Unexpected error. Every error this API returns carries this body.
|
|
15876
|
+
*/
|
|
15877
|
+
default: ErrorResponse;
|
|
15878
|
+
};
|
|
15879
|
+
export type CallsBatchesRecipientsUpdateError = CallsBatchesRecipientsUpdateErrors[keyof CallsBatchesRecipientsUpdateErrors];
|
|
15880
|
+
export type CallsBatchesRecipientsUpdateResults = {
|
|
15881
|
+
/**
|
|
15882
|
+
* Successful Response
|
|
15883
|
+
*/
|
|
15884
|
+
200: CallBatchRecipientResponse;
|
|
15885
|
+
};
|
|
15886
|
+
export type CallsBatchesRecipientsUpdateResult = CallsBatchesRecipientsUpdateResults[keyof CallsBatchesRecipientsUpdateResults];
|
|
15745
15887
|
export type CallsBatchesResumeData = {
|
|
15746
15888
|
body?: never;
|
|
15747
15889
|
path: {
|