@erp-galoper/types 1.0.1834 → 1.0.1835

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.
Files changed (2) hide show
  1. package/openapi.ts +35 -4
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -15472,6 +15472,7 @@ export interface paths {
15472
15472
  * id: Sales quotation UUID
15473
15473
  * template_id: Optional WhatsApp template UUID. If not provided, uses the first active template linked to sales quotations.
15474
15474
  * Note: Only active templates with entity_type='salesQuotation' will be used when template_id is not specified.
15475
+ * payload.receiver: Optional recipient phone number. If omitted, uses the customer's primary phone number.
15475
15476
  *
15476
15477
  * To get available templates for sales quotations:
15477
15478
  * GET /api/v1/integration/whatsapp/templates/?entityType=salesQuotation
@@ -16755,6 +16756,7 @@ export interface paths {
16755
16756
  * id: Sales order UUID
16756
16757
  * template_id: Optional WhatsApp template UUID. If not provided, uses the first active template linked to sales orders.
16757
16758
  * Note: Only active templates with entity_type='salesOrder' will be used when template_id is not specified.
16759
+ * payload.receiver: Optional recipient phone number. If omitted, uses the customer's primary phone number.
16758
16760
  *
16759
16761
  * To get available templates for sales orders:
16760
16762
  * GET /api/v1/integration/whatsapp/templates/?entityType=salesOrder
@@ -17766,6 +17768,7 @@ export interface paths {
17766
17768
  * id: Sales invoice UUID
17767
17769
  * template_id: Optional WhatsApp template UUID. If not provided, uses the first active template linked to sales invoices.
17768
17770
  * Note: Only active templates with entity_type='salesInvoice' will be used when template_id is not specified.
17771
+ * payload.receiver: Optional recipient phone number. If omitted, uses the customer's primary phone number.
17769
17772
  *
17770
17773
  * To get available templates for sales invoices:
17771
17774
  * GET /api/v1/integration/whatsapp/templates/?entityType=salesInvoice
@@ -19054,6 +19057,7 @@ export interface paths {
19054
19057
  * id: Delivery note UUID
19055
19058
  * template_id: Optional WhatsApp template UUID. If not provided, uses the first active template linked to delivery notes.
19056
19059
  * Note: Only active templates with entity_type='goodsDeliveryNote' will be used when template_id is not specified.
19060
+ * payload.receiver: Optional recipient phone number. If omitted, uses the customer's primary phone number.
19057
19061
  *
19058
19062
  * To get available templates for delivery notes:
19059
19063
  * GET /api/v1/integration/whatsapp/templates/?entityType=goodsDeliveryNote
@@ -50743,6 +50747,17 @@ export interface components {
50743
50747
  [key: string]: components["schemas"]["LinkedDocumentsSchema"];
50744
50748
  }[];
50745
50749
  };
50750
+ /**
50751
+ * SendWhatsAppSchema
50752
+ * @description Schema for sending a WhatsApp message with an optional custom receiver.
50753
+ */
50754
+ SendWhatsAppSchema: {
50755
+ /**
50756
+ * Receiver
50757
+ * @description Recipient phone number (E.164 format recommended). If omitted, the customer's primary phone number is used.
50758
+ */
50759
+ receiver?: string | null;
50760
+ };
50746
50761
  /** ContactSegmentationResponse */
50747
50762
  ContactSegmentationResponse: {
50748
50763
  /** Code */
@@ -93976,7 +93991,11 @@ export interface operations {
93976
93991
  };
93977
93992
  cookie?: never;
93978
93993
  };
93979
- requestBody?: never;
93994
+ requestBody?: {
93995
+ content: {
93996
+ "application/json": components["schemas"]["SendWhatsAppSchema"] | null;
93997
+ };
93998
+ };
93980
93999
  responses: {
93981
94000
  /** @description OK */
93982
94001
  200: {
@@ -96435,7 +96454,11 @@ export interface operations {
96435
96454
  };
96436
96455
  cookie?: never;
96437
96456
  };
96438
- requestBody?: never;
96457
+ requestBody?: {
96458
+ content: {
96459
+ "application/json": components["schemas"]["SendWhatsAppSchema"] | null;
96460
+ };
96461
+ };
96439
96462
  responses: {
96440
96463
  /** @description OK */
96441
96464
  200: {
@@ -98173,7 +98196,11 @@ export interface operations {
98173
98196
  };
98174
98197
  cookie?: never;
98175
98198
  };
98176
- requestBody?: never;
98199
+ requestBody?: {
98200
+ content: {
98201
+ "application/json": components["schemas"]["SendWhatsAppSchema"] | null;
98202
+ };
98203
+ };
98177
98204
  responses: {
98178
98205
  /** @description OK */
98179
98206
  200: {
@@ -100534,7 +100561,11 @@ export interface operations {
100534
100561
  };
100535
100562
  cookie?: never;
100536
100563
  };
100537
- requestBody?: never;
100564
+ requestBody?: {
100565
+ content: {
100566
+ "application/json": components["schemas"]["SendWhatsAppSchema"] | null;
100567
+ };
100568
+ };
100538
100569
  responses: {
100539
100570
  /** @description OK */
100540
100571
  200: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1834",
3
+ "version": "1.0.1835",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],