@talqing/sdk 0.22.2 → 0.22.3

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.
@@ -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;
@@ -15742,6 +15771,59 @@ export type CallsBatchesRecipientsDeleteResults = {
15742
15771
  200: RecipientActionResponse;
15743
15772
  };
15744
15773
  export type CallsBatchesRecipientsDeleteResult = CallsBatchesRecipientsDeleteResults[keyof CallsBatchesRecipientsDeleteResults];
15774
+ export type CallsBatchesRecipientsUpdateData = {
15775
+ body: PatchCallBatchRecipientRequest;
15776
+ path: {
15777
+ /**
15778
+ * Batch Id
15779
+ */
15780
+ batch_id: string;
15781
+ /**
15782
+ * Recipient Id
15783
+ */
15784
+ recipient_id: string;
15785
+ };
15786
+ query?: never;
15787
+ url: '/v1/calls/batches/{batch_id}/recipients/{recipient_id}';
15788
+ };
15789
+ export type CallsBatchesRecipientsUpdateErrors = {
15790
+ /**
15791
+ * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
15792
+ */
15793
+ 400: ErrorResponse;
15794
+ /**
15795
+ * Missing credential, or one that is revoked or no longer a member of this organization.
15796
+ */
15797
+ 401: ErrorResponse;
15798
+ /**
15799
+ * Authenticated, but this organization role may not perform the operation.
15800
+ */
15801
+ 403: ErrorResponse;
15802
+ /**
15803
+ * No such resource in this organization.
15804
+ */
15805
+ 404: ErrorResponse;
15806
+ /**
15807
+ * The resource's current state forbids this — a name already taken, a job already running.
15808
+ */
15809
+ 409: ErrorResponse;
15810
+ /**
15811
+ * The request did not match this operation's schema; `detail.errors` lists each field.
15812
+ */
15813
+ 422: ErrorResponse;
15814
+ /**
15815
+ * Unexpected error. Every error this API returns carries this body.
15816
+ */
15817
+ default: ErrorResponse;
15818
+ };
15819
+ export type CallsBatchesRecipientsUpdateError = CallsBatchesRecipientsUpdateErrors[keyof CallsBatchesRecipientsUpdateErrors];
15820
+ export type CallsBatchesRecipientsUpdateResults = {
15821
+ /**
15822
+ * Successful Response
15823
+ */
15824
+ 200: CallBatchRecipientResponse;
15825
+ };
15826
+ export type CallsBatchesRecipientsUpdateResult = CallsBatchesRecipientsUpdateResults[keyof CallsBatchesRecipientsUpdateResults];
15745
15827
  export type CallsBatchesResumeData = {
15746
15828
  body?: never;
15747
15829
  path: {