@erp-galoper/types 1.0.1834 → 1.0.1836

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 +44 -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 */
@@ -55076,6 +55091,11 @@ export interface components {
55076
55091
  * @enum {string}
55077
55092
  */
55078
55093
  SalesDocumentTypeSchema: "default" | "salesCreditNote" | "receiptVoucher";
55094
+ /**
55095
+ * SalesInvoiceSortBy
55096
+ * @enum {string}
55097
+ */
55098
+ SalesInvoiceSortBy: "customerRegion" | "customerCity" | "serialNumber" | "date";
55079
55099
  /** SalesInvoiceListSchema */
55080
55100
  SalesInvoiceListSchema: {
55081
55101
  info: components["schemas"]["PageInfoSchema"];
@@ -93976,7 +93996,11 @@ export interface operations {
93976
93996
  };
93977
93997
  cookie?: never;
93978
93998
  };
93979
- requestBody?: never;
93999
+ requestBody?: {
94000
+ content: {
94001
+ "application/json": components["schemas"]["SendWhatsAppSchema"] | null;
94002
+ };
94003
+ };
93980
94004
  responses: {
93981
94005
  /** @description OK */
93982
94006
  200: {
@@ -96435,7 +96459,11 @@ export interface operations {
96435
96459
  };
96436
96460
  cookie?: never;
96437
96461
  };
96438
- requestBody?: never;
96462
+ requestBody?: {
96463
+ content: {
96464
+ "application/json": components["schemas"]["SendWhatsAppSchema"] | null;
96465
+ };
96466
+ };
96439
96467
  responses: {
96440
96468
  /** @description OK */
96441
96469
  200: {
@@ -97710,6 +97738,10 @@ export interface operations {
97710
97738
  type?: "default" | "salesCreditNote" | "receiptVoucher";
97711
97739
  /** @description customer id, required when type is salesCreditNote or receiptVoucher */
97712
97740
  customer?: string;
97741
+ /** @description Field to sort invoices by */
97742
+ sortBy?: components["schemas"]["SalesInvoiceSortBy"] | null;
97743
+ /** @description Sort order: ascending or descending */
97744
+ order?: components["schemas"]["SortOrder"] | null;
97713
97745
  };
97714
97746
  header?: never;
97715
97747
  path?: never;
@@ -98173,7 +98205,11 @@ export interface operations {
98173
98205
  };
98174
98206
  cookie?: never;
98175
98207
  };
98176
- requestBody?: never;
98208
+ requestBody?: {
98209
+ content: {
98210
+ "application/json": components["schemas"]["SendWhatsAppSchema"] | null;
98211
+ };
98212
+ };
98177
98213
  responses: {
98178
98214
  /** @description OK */
98179
98215
  200: {
@@ -100534,7 +100570,11 @@ export interface operations {
100534
100570
  };
100535
100571
  cookie?: never;
100536
100572
  };
100537
- requestBody?: never;
100573
+ requestBody?: {
100574
+ content: {
100575
+ "application/json": components["schemas"]["SendWhatsAppSchema"] | null;
100576
+ };
100577
+ };
100538
100578
  responses: {
100539
100579
  /** @description OK */
100540
100580
  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.1836",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],