@talqing/sdk 0.22.3 → 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.
@@ -10339,6 +10339,17 @@ export type ResumeCallRequest = {
10339
10339
  [key: string]: string;
10340
10340
  } | null;
10341
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
+ };
10342
10353
  /**
10343
10354
  * RoutedTTS
10344
10355
  *
@@ -15771,6 +15782,55 @@ export type CallsBatchesRecipientsDeleteResults = {
15771
15782
  200: RecipientActionResponse;
15772
15783
  };
15773
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];
15774
15834
  export type CallsBatchesRecipientsUpdateData = {
15775
15835
  body: PatchCallBatchRecipientRequest;
15776
15836
  path: {