@erp-galoper/types 1.0.1257 → 1.0.1258
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/openapi.ts +1197 -106
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -15152,6 +15152,66 @@ export interface paths {
|
|
|
15152
15152
|
patch?: never;
|
|
15153
15153
|
trace?: never;
|
|
15154
15154
|
};
|
|
15155
|
+
"/api/v1/sales/quotations/{id}/send-whatsapp/": {
|
|
15156
|
+
parameters: {
|
|
15157
|
+
query?: never;
|
|
15158
|
+
header?: never;
|
|
15159
|
+
path?: never;
|
|
15160
|
+
cookie?: never;
|
|
15161
|
+
};
|
|
15162
|
+
get?: never;
|
|
15163
|
+
put?: never;
|
|
15164
|
+
/**
|
|
15165
|
+
* Send Sales Quotation Whatsapp
|
|
15166
|
+
* @description Endpoint for sending a sales quotation via WhatsApp with PDF attachment
|
|
15167
|
+
*
|
|
15168
|
+
* Args:
|
|
15169
|
+
* id: Sales quotation UUID
|
|
15170
|
+
* template_id: Optional WhatsApp template UUID. If not provided, uses the first active template linked to sales quotations.
|
|
15171
|
+
* Note: Only active templates with entity_type='salesQuotation' will be used when template_id is not specified.
|
|
15172
|
+
*
|
|
15173
|
+
* To get available templates for sales quotations:
|
|
15174
|
+
* GET /api/v1/integration/whatsapp/templates/?entityType=salesQuotation
|
|
15175
|
+
*
|
|
15176
|
+
* Template Validation:
|
|
15177
|
+
* - If template_id is provided, the template must have entity_type='salesQuotation', and active.
|
|
15178
|
+
* - If validation fails, returns 400 error with code 'templateEntityTypeMismatch'
|
|
15179
|
+
*
|
|
15180
|
+
* Responses:
|
|
15181
|
+
* - 200: whatsappMessageSent
|
|
15182
|
+
* - 400: whatsappIntegrationNotConfigured
|
|
15183
|
+
* - whatsappTemplateNotFound
|
|
15184
|
+
* - templateEntityTypeMismatch
|
|
15185
|
+
* - customerPhoneNumberMissing
|
|
15186
|
+
* - pdfGenerationFailed
|
|
15187
|
+
* - invalidPhoneNumber
|
|
15188
|
+
* - numberNotOnWhatsApp
|
|
15189
|
+
* - invalidSenderNumber
|
|
15190
|
+
* - mediaNotAccessible
|
|
15191
|
+
* - mediaTooLarge
|
|
15192
|
+
* - unsupportedMediaType
|
|
15193
|
+
* - templateNotApproved
|
|
15194
|
+
* - templateVariableMismatch
|
|
15195
|
+
* - rateLimitExceeded
|
|
15196
|
+
* - authenticationFailed
|
|
15197
|
+
* - insufficientBalance
|
|
15198
|
+
* - templateError
|
|
15199
|
+
* - recipientOptedOut
|
|
15200
|
+
* - twilioApiError
|
|
15201
|
+
* - 403: permissionDenied
|
|
15202
|
+
* - noModuleAccess
|
|
15203
|
+
* - 404: salesQuotationDoesNotExist
|
|
15204
|
+
* - 500: serverError
|
|
15205
|
+
*
|
|
15206
|
+
* Permission key: salesquotation: ["send"]
|
|
15207
|
+
*/
|
|
15208
|
+
post: operations["sales_quotation_views_send_sales_quotation_whatsapp"];
|
|
15209
|
+
delete?: never;
|
|
15210
|
+
options?: never;
|
|
15211
|
+
head?: never;
|
|
15212
|
+
patch?: never;
|
|
15213
|
+
trace?: never;
|
|
15214
|
+
};
|
|
15155
15215
|
"/api/v1/common/contact-segmentation/": {
|
|
15156
15216
|
parameters: {
|
|
15157
15217
|
query?: never;
|
|
@@ -16340,6 +16400,66 @@ export interface paths {
|
|
|
16340
16400
|
patch?: never;
|
|
16341
16401
|
trace?: never;
|
|
16342
16402
|
};
|
|
16403
|
+
"/api/v1/sales/orders/{id}/send-whatsapp/": {
|
|
16404
|
+
parameters: {
|
|
16405
|
+
query?: never;
|
|
16406
|
+
header?: never;
|
|
16407
|
+
path?: never;
|
|
16408
|
+
cookie?: never;
|
|
16409
|
+
};
|
|
16410
|
+
get?: never;
|
|
16411
|
+
put?: never;
|
|
16412
|
+
/**
|
|
16413
|
+
* Send Sales Order Whatsapp
|
|
16414
|
+
* @description Endpoint for sending a sales order via WhatsApp with PDF attachment
|
|
16415
|
+
*
|
|
16416
|
+
* Args:
|
|
16417
|
+
* id: Sales order UUID
|
|
16418
|
+
* template_id: Optional WhatsApp template UUID. If not provided, uses the first active template linked to sales orders.
|
|
16419
|
+
* Note: Only active templates with entity_type='salesOrder' will be used when template_id is not specified.
|
|
16420
|
+
*
|
|
16421
|
+
* To get available templates for sales orders:
|
|
16422
|
+
* GET /api/v1/integration/whatsapp/templates/?entityType=salesOrder
|
|
16423
|
+
*
|
|
16424
|
+
* Template Validation:
|
|
16425
|
+
* - If template_id is provided, the template must have entity_type='salesOrder', and active.
|
|
16426
|
+
* - If validation fails, returns 400 error with code 'templateEntityTypeMismatch'
|
|
16427
|
+
*
|
|
16428
|
+
* Responses:
|
|
16429
|
+
* - 200: whatsappMessageSent
|
|
16430
|
+
* - 400: whatsappIntegrationNotConfigured
|
|
16431
|
+
* - whatsappTemplateNotFound
|
|
16432
|
+
* - templateEntityTypeMismatch
|
|
16433
|
+
* - customerPhoneNumberMissing
|
|
16434
|
+
* - pdfGenerationFailed
|
|
16435
|
+
* - invalidPhoneNumber
|
|
16436
|
+
* - numberNotOnWhatsApp
|
|
16437
|
+
* - invalidSenderNumber
|
|
16438
|
+
* - mediaNotAccessible
|
|
16439
|
+
* - mediaTooLarge
|
|
16440
|
+
* - unsupportedMediaType
|
|
16441
|
+
* - templateNotApproved
|
|
16442
|
+
* - templateVariableMismatch
|
|
16443
|
+
* - rateLimitExceeded
|
|
16444
|
+
* - authenticationFailed
|
|
16445
|
+
* - insufficientBalance
|
|
16446
|
+
* - templateError
|
|
16447
|
+
* - recipientOptedOut
|
|
16448
|
+
* - twilioApiError
|
|
16449
|
+
* - 403: permissionDenied
|
|
16450
|
+
* - noModuleAccess
|
|
16451
|
+
* - 404: salesOrderDoesNotExist
|
|
16452
|
+
* - 500: serverError
|
|
16453
|
+
*
|
|
16454
|
+
* Permission key: salesorder: ["send"]
|
|
16455
|
+
*/
|
|
16456
|
+
post: operations["sales_order_views_send_sales_order_whatsapp"];
|
|
16457
|
+
delete?: never;
|
|
16458
|
+
options?: never;
|
|
16459
|
+
head?: never;
|
|
16460
|
+
patch?: never;
|
|
16461
|
+
trace?: never;
|
|
16462
|
+
};
|
|
16343
16463
|
"/api/v1/purchase/credit-notes/": {
|
|
16344
16464
|
parameters: {
|
|
16345
16465
|
query?: never;
|
|
@@ -17256,6 +17376,66 @@ export interface paths {
|
|
|
17256
17376
|
patch?: never;
|
|
17257
17377
|
trace?: never;
|
|
17258
17378
|
};
|
|
17379
|
+
"/api/v1/sales/invoices/{id}/send-whatsapp/": {
|
|
17380
|
+
parameters: {
|
|
17381
|
+
query?: never;
|
|
17382
|
+
header?: never;
|
|
17383
|
+
path?: never;
|
|
17384
|
+
cookie?: never;
|
|
17385
|
+
};
|
|
17386
|
+
get?: never;
|
|
17387
|
+
put?: never;
|
|
17388
|
+
/**
|
|
17389
|
+
* Send Sales Invoice Whatsapp
|
|
17390
|
+
* @description Endpoint for sending a sales invoice via WhatsApp with PDF attachment
|
|
17391
|
+
*
|
|
17392
|
+
* Args:
|
|
17393
|
+
* id: Sales invoice UUID
|
|
17394
|
+
* template_id: Optional WhatsApp template UUID. If not provided, uses the first active template linked to sales invoices.
|
|
17395
|
+
* Note: Only active templates with entity_type='salesInvoice' will be used when template_id is not specified.
|
|
17396
|
+
*
|
|
17397
|
+
* To get available templates for sales invoices:
|
|
17398
|
+
* GET /api/v1/integration/whatsapp/templates/?entityType=salesInvoice
|
|
17399
|
+
*
|
|
17400
|
+
* Template Validation:
|
|
17401
|
+
* - If template_id is provided, the template must have entity_type='salesInvoice', and active.
|
|
17402
|
+
* - If validation fails, returns 400 error with code 'templateEntityTypeMismatch'
|
|
17403
|
+
*
|
|
17404
|
+
* Responses:
|
|
17405
|
+
* - 200: whatsappMessageSent
|
|
17406
|
+
* - 400: whatsappIntegrationNotConfigured
|
|
17407
|
+
* - whatsappTemplateNotFound
|
|
17408
|
+
* - templateEntityTypeMismatch
|
|
17409
|
+
* - customerPhoneNumberMissing
|
|
17410
|
+
* - pdfGenerationFailed
|
|
17411
|
+
* - invalidPhoneNumber
|
|
17412
|
+
* - numberNotOnWhatsApp
|
|
17413
|
+
* - invalidSenderNumber
|
|
17414
|
+
* - mediaNotAccessible
|
|
17415
|
+
* - mediaTooLarge
|
|
17416
|
+
* - unsupportedMediaType
|
|
17417
|
+
* - templateNotApproved
|
|
17418
|
+
* - templateVariableMismatch
|
|
17419
|
+
* - rateLimitExceeded
|
|
17420
|
+
* - authenticationFailed
|
|
17421
|
+
* - insufficientBalance
|
|
17422
|
+
* - templateError
|
|
17423
|
+
* - recipientOptedOut
|
|
17424
|
+
* - twilioApiError
|
|
17425
|
+
* - 403: permissionDenied
|
|
17426
|
+
* - noModuleAccess
|
|
17427
|
+
* - 404: salesInvoiceDoesNotExist
|
|
17428
|
+
* - 500: serverError
|
|
17429
|
+
*
|
|
17430
|
+
* Permission key: salesinvoice: ["send"]
|
|
17431
|
+
*/
|
|
17432
|
+
post: operations["sales_invoice_views_send_sales_invoice_whatsapp"];
|
|
17433
|
+
delete?: never;
|
|
17434
|
+
options?: never;
|
|
17435
|
+
head?: never;
|
|
17436
|
+
patch?: never;
|
|
17437
|
+
trace?: never;
|
|
17438
|
+
};
|
|
17259
17439
|
"/api/v1/sales/return-orders/": {
|
|
17260
17440
|
parameters: {
|
|
17261
17441
|
query?: never;
|
|
@@ -18373,6 +18553,66 @@ export interface paths {
|
|
|
18373
18553
|
patch?: never;
|
|
18374
18554
|
trace?: never;
|
|
18375
18555
|
};
|
|
18556
|
+
"/api/v1/inventory/goods-delivery-note/{id}/send-whatsapp/": {
|
|
18557
|
+
parameters: {
|
|
18558
|
+
query?: never;
|
|
18559
|
+
header?: never;
|
|
18560
|
+
path?: never;
|
|
18561
|
+
cookie?: never;
|
|
18562
|
+
};
|
|
18563
|
+
get?: never;
|
|
18564
|
+
put?: never;
|
|
18565
|
+
/**
|
|
18566
|
+
* Send Delivery Note Whatsapp
|
|
18567
|
+
* @description Endpoint for sending a delivery note via WhatsApp with PDF attachment
|
|
18568
|
+
*
|
|
18569
|
+
* Args:
|
|
18570
|
+
* id: Delivery note UUID
|
|
18571
|
+
* template_id: Optional WhatsApp template UUID. If not provided, uses the first active template linked to delivery notes.
|
|
18572
|
+
* Note: Only active templates with entity_type='goodsDeliveryNote' will be used when template_id is not specified.
|
|
18573
|
+
*
|
|
18574
|
+
* To get available templates for delivery notes:
|
|
18575
|
+
* GET /api/v1/integration/whatsapp/templates/?entityType=goodsDeliveryNote
|
|
18576
|
+
*
|
|
18577
|
+
* Template Validation:
|
|
18578
|
+
* - If template_id is provided, the template must have entity_type='goodsDeliveryNote', and active.
|
|
18579
|
+
* - If validation fails, returns 400 error with code 'templateEntityTypeMismatch'
|
|
18580
|
+
*
|
|
18581
|
+
* Responses:
|
|
18582
|
+
* - 200: whatsappMessageSent
|
|
18583
|
+
* - 400: whatsappIntegrationNotConfigured
|
|
18584
|
+
* - whatsappTemplateNotFound
|
|
18585
|
+
* - templateEntityTypeMismatch
|
|
18586
|
+
* - customerPhoneNumberMissing
|
|
18587
|
+
* - pdfGenerationFailed
|
|
18588
|
+
* - invalidPhoneNumber
|
|
18589
|
+
* - numberNotOnWhatsApp
|
|
18590
|
+
* - invalidSenderNumber
|
|
18591
|
+
* - mediaNotAccessible
|
|
18592
|
+
* - mediaTooLarge
|
|
18593
|
+
* - unsupportedMediaType
|
|
18594
|
+
* - templateNotApproved
|
|
18595
|
+
* - templateVariableMismatch
|
|
18596
|
+
* - rateLimitExceeded
|
|
18597
|
+
* - authenticationFailed
|
|
18598
|
+
* - insufficientBalance
|
|
18599
|
+
* - templateError
|
|
18600
|
+
* - recipientOptedOut
|
|
18601
|
+
* - twilioApiError
|
|
18602
|
+
* - 403: permissionDenied
|
|
18603
|
+
* - noModuleAccess
|
|
18604
|
+
* - 404: deliveryNoteDoesNotExist
|
|
18605
|
+
* - 500: serverError
|
|
18606
|
+
*
|
|
18607
|
+
* Permission key: goodsdeliverynote: ["send"]
|
|
18608
|
+
*/
|
|
18609
|
+
post: operations["inventory_delivery_note_views_send_delivery_note_whatsapp"];
|
|
18610
|
+
delete?: never;
|
|
18611
|
+
options?: never;
|
|
18612
|
+
head?: never;
|
|
18613
|
+
patch?: never;
|
|
18614
|
+
trace?: never;
|
|
18615
|
+
};
|
|
18376
18616
|
"/api/v1/settings/accounting/default-subsidiary-accounts/": {
|
|
18377
18617
|
parameters: {
|
|
18378
18618
|
query?: never;
|
|
@@ -20749,6 +20989,94 @@ export interface paths {
|
|
|
20749
20989
|
patch?: never;
|
|
20750
20990
|
trace?: never;
|
|
20751
20991
|
};
|
|
20992
|
+
"/api/v1/integrations/whatsapp/setup/": {
|
|
20993
|
+
parameters: {
|
|
20994
|
+
query?: never;
|
|
20995
|
+
header?: never;
|
|
20996
|
+
path?: never;
|
|
20997
|
+
cookie?: never;
|
|
20998
|
+
};
|
|
20999
|
+
get?: never;
|
|
21000
|
+
put?: never;
|
|
21001
|
+
/**
|
|
21002
|
+
* Setup WhatsApp Integration
|
|
21003
|
+
* @description Setup WhatsApp integration with your Twilio credentials.
|
|
21004
|
+
*/
|
|
21005
|
+
post: operations["integration_whatsapp_views_setup_whatsapp"];
|
|
21006
|
+
delete?: never;
|
|
21007
|
+
options?: never;
|
|
21008
|
+
head?: never;
|
|
21009
|
+
patch?: never;
|
|
21010
|
+
trace?: never;
|
|
21011
|
+
};
|
|
21012
|
+
"/api/v1/integrations/whatsapp/templates/sync-approval-statuses/": {
|
|
21013
|
+
parameters: {
|
|
21014
|
+
query?: never;
|
|
21015
|
+
header?: never;
|
|
21016
|
+
path?: never;
|
|
21017
|
+
cookie?: never;
|
|
21018
|
+
};
|
|
21019
|
+
get?: never;
|
|
21020
|
+
put?: never;
|
|
21021
|
+
/**
|
|
21022
|
+
* Sync WhatsApp Approval Statuses
|
|
21023
|
+
* @description Sync WhatsApp approval statuses for all templates from Twilio and update database.
|
|
21024
|
+
*/
|
|
21025
|
+
post: operations["integration_whatsapp_views_sync_approval_statuses"];
|
|
21026
|
+
delete?: never;
|
|
21027
|
+
options?: never;
|
|
21028
|
+
head?: never;
|
|
21029
|
+
patch?: never;
|
|
21030
|
+
trace?: never;
|
|
21031
|
+
};
|
|
21032
|
+
"/api/v1/integrations/whatsapp/templates/": {
|
|
21033
|
+
parameters: {
|
|
21034
|
+
query?: never;
|
|
21035
|
+
header?: never;
|
|
21036
|
+
path?: never;
|
|
21037
|
+
cookie?: never;
|
|
21038
|
+
};
|
|
21039
|
+
/**
|
|
21040
|
+
* Get WhatsApp Templates
|
|
21041
|
+
* @description Get WhatsApp content templates stored in the database with pagination.
|
|
21042
|
+
*/
|
|
21043
|
+
get: operations["integration_whatsapp_views_get_templates"];
|
|
21044
|
+
put?: never;
|
|
21045
|
+
/**
|
|
21046
|
+
* Register New WhatsApp Template
|
|
21047
|
+
* @description Create a new WhatsApp content template in Twilio.
|
|
21048
|
+
*/
|
|
21049
|
+
post: operations["integration_whatsapp_views_register_template"];
|
|
21050
|
+
delete?: never;
|
|
21051
|
+
options?: never;
|
|
21052
|
+
head?: never;
|
|
21053
|
+
patch?: never;
|
|
21054
|
+
trace?: never;
|
|
21055
|
+
};
|
|
21056
|
+
"/api/v1/integrations/whatsapp/templates/{id}/": {
|
|
21057
|
+
parameters: {
|
|
21058
|
+
query?: never;
|
|
21059
|
+
header?: never;
|
|
21060
|
+
path?: never;
|
|
21061
|
+
cookie?: never;
|
|
21062
|
+
};
|
|
21063
|
+
/**
|
|
21064
|
+
* Get Single WhatsApp Template
|
|
21065
|
+
* @description Get a single WhatsApp template by ID.
|
|
21066
|
+
*/
|
|
21067
|
+
get: operations["integration_whatsapp_views_get_template"];
|
|
21068
|
+
put?: never;
|
|
21069
|
+
post?: never;
|
|
21070
|
+
/**
|
|
21071
|
+
* Delete WhatsApp Template
|
|
21072
|
+
* @description Delete a WhatsApp template from database and Twilio.
|
|
21073
|
+
*/
|
|
21074
|
+
delete: operations["integration_whatsapp_views_delete_template"];
|
|
21075
|
+
options?: never;
|
|
21076
|
+
head?: never;
|
|
21077
|
+
patch?: never;
|
|
21078
|
+
trace?: never;
|
|
21079
|
+
};
|
|
20752
21080
|
"/api/v1/setting/notification/{id}/": {
|
|
20753
21081
|
parameters: {
|
|
20754
21082
|
query?: never;
|
|
@@ -54089,6 +54417,201 @@ export interface components {
|
|
|
54089
54417
|
* @enum {string}
|
|
54090
54418
|
*/
|
|
54091
54419
|
PaymentMethodType: "credit_card" | "debit_card" | "cash_on_delivery" | "bank_transfer" | "paypal" | "apple_pay" | "google_pay" | "shopify_payments" | "manual" | "other";
|
|
54420
|
+
/**
|
|
54421
|
+
* WhatsAppIntegrationResponseSchema
|
|
54422
|
+
* @description Schema for returning WhatsApp integration information.
|
|
54423
|
+
*/
|
|
54424
|
+
WhatsAppIntegrationResponseSchema: {
|
|
54425
|
+
/** Message */
|
|
54426
|
+
message: string;
|
|
54427
|
+
/** Accountsid */
|
|
54428
|
+
accountSid: string;
|
|
54429
|
+
/** Whatsappnumber */
|
|
54430
|
+
whatsappNumber: string;
|
|
54431
|
+
};
|
|
54432
|
+
/**
|
|
54433
|
+
* CreateWhatsAppIntegrationSchema
|
|
54434
|
+
* @description Schema for setting up WhatsApp integration with Twilio credentials.
|
|
54435
|
+
*/
|
|
54436
|
+
CreateWhatsAppIntegrationSchema: {
|
|
54437
|
+
/**
|
|
54438
|
+
* Accountsid
|
|
54439
|
+
* @description Your Twilio Account SID (starts with AC...)
|
|
54440
|
+
*/
|
|
54441
|
+
accountSid: string;
|
|
54442
|
+
/**
|
|
54443
|
+
* Authtoken
|
|
54444
|
+
* @description Your Twilio Auth Token
|
|
54445
|
+
*/
|
|
54446
|
+
authToken: string;
|
|
54447
|
+
/**
|
|
54448
|
+
* Whatsappnumber
|
|
54449
|
+
* @description WhatsApp-enabled phone number (E.164 format). If not provided, will use the first available number from your Twilio account.
|
|
54450
|
+
*/
|
|
54451
|
+
whatsappNumber?: string | null;
|
|
54452
|
+
};
|
|
54453
|
+
/**
|
|
54454
|
+
* SyncApprovalStatusesResponseSchema
|
|
54455
|
+
* @description Schema for sync approval statuses response.
|
|
54456
|
+
*/
|
|
54457
|
+
SyncApprovalStatusesResponseSchema: {
|
|
54458
|
+
/**
|
|
54459
|
+
* Message
|
|
54460
|
+
* @description Success message
|
|
54461
|
+
*/
|
|
54462
|
+
message: string;
|
|
54463
|
+
/**
|
|
54464
|
+
* Updated
|
|
54465
|
+
* @description Number of templates updated
|
|
54466
|
+
*/
|
|
54467
|
+
updated: number;
|
|
54468
|
+
/**
|
|
54469
|
+
* Approved
|
|
54470
|
+
* @description Number of approved templates
|
|
54471
|
+
*/
|
|
54472
|
+
approved: number;
|
|
54473
|
+
/**
|
|
54474
|
+
* Pending
|
|
54475
|
+
* @description Number of pending templates
|
|
54476
|
+
*/
|
|
54477
|
+
pending: number;
|
|
54478
|
+
/**
|
|
54479
|
+
* Rejected
|
|
54480
|
+
* @description Number of rejected templates
|
|
54481
|
+
*/
|
|
54482
|
+
rejected: number;
|
|
54483
|
+
/**
|
|
54484
|
+
* Total
|
|
54485
|
+
* @description Total templates checked
|
|
54486
|
+
*/
|
|
54487
|
+
total: number;
|
|
54488
|
+
/**
|
|
54489
|
+
* Errors
|
|
54490
|
+
* @description List of errors if any occurred
|
|
54491
|
+
*/
|
|
54492
|
+
errors?: unknown[] | null;
|
|
54493
|
+
};
|
|
54494
|
+
/**
|
|
54495
|
+
* EntityType
|
|
54496
|
+
* @description Enum for entity types that can be linked to WhatsApp templates
|
|
54497
|
+
* @enum {string}
|
|
54498
|
+
*/
|
|
54499
|
+
EntityType: "salesOrder" | "salesInvoice" | "salesQuotation" | "goodsDeliveryNote";
|
|
54500
|
+
/**
|
|
54501
|
+
* GetTemplatesResponseSchema
|
|
54502
|
+
* @description Schema for getting paginated templates from database.
|
|
54503
|
+
*/
|
|
54504
|
+
GetTemplatesResponseSchema: {
|
|
54505
|
+
info: components["schemas"]["PageInfoSchema"];
|
|
54506
|
+
/** Results */
|
|
54507
|
+
results: components["schemas"]["TemplateSchema"][];
|
|
54508
|
+
};
|
|
54509
|
+
/**
|
|
54510
|
+
* TemplateSchema
|
|
54511
|
+
* @description Schema for a template from database.
|
|
54512
|
+
*/
|
|
54513
|
+
TemplateSchema: {
|
|
54514
|
+
/**
|
|
54515
|
+
* Id
|
|
54516
|
+
* Format: uuid
|
|
54517
|
+
*/
|
|
54518
|
+
id: string;
|
|
54519
|
+
/** Contentsid */
|
|
54520
|
+
contentSid: string;
|
|
54521
|
+
/** Friendlyname */
|
|
54522
|
+
friendlyName: string;
|
|
54523
|
+
language: components["schemas"]["WhatsAppLanguage"];
|
|
54524
|
+
entityType?: components["schemas"]["EntityType"] | null;
|
|
54525
|
+
templateContentType: components["schemas"]["TwilioContentType"];
|
|
54526
|
+
/** Body */
|
|
54527
|
+
body: string;
|
|
54528
|
+
/** Variablescount */
|
|
54529
|
+
variablesCount: number;
|
|
54530
|
+
/** Variablemappings */
|
|
54531
|
+
variableMappings?: Record<string, never> | null;
|
|
54532
|
+
/**
|
|
54533
|
+
* Mediaurl
|
|
54534
|
+
* @description Static media URL if template uses static media, null if dynamic
|
|
54535
|
+
*/
|
|
54536
|
+
mediaUrl?: string | null;
|
|
54537
|
+
whatsappApprovalStatus: components["schemas"]["WhatsAppTemplateStatus"];
|
|
54538
|
+
/** Whatsapprejectionreason */
|
|
54539
|
+
whatsappRejectionReason?: string | null;
|
|
54540
|
+
};
|
|
54541
|
+
/**
|
|
54542
|
+
* TwilioContentType
|
|
54543
|
+
* @description Enum for Twilio content types
|
|
54544
|
+
* @enum {string}
|
|
54545
|
+
*/
|
|
54546
|
+
TwilioContentType: "twilio/text" | "twilio/media";
|
|
54547
|
+
/**
|
|
54548
|
+
* WhatsAppLanguage
|
|
54549
|
+
* @description Enum for WhatsApp template supported languages
|
|
54550
|
+
* @enum {string}
|
|
54551
|
+
*/
|
|
54552
|
+
WhatsAppLanguage: "en" | "en_US" | "en_GB" | "ar" | "es" | "es_ES" | "es_MX" | "es_AR" | "fr" | "de" | "it" | "pt_BR" | "pt_PT" | "ru" | "zh_CN" | "zh_HK" | "zh_TW" | "ja" | "ko" | "hi" | "af" | "sq" | "az" | "bg" | "ca" | "hr" | "cs" | "da" | "nl" | "et" | "fi" | "el" | "hu" | "ga" | "lv" | "lt" | "mk" | "nb" | "pl" | "ro" | "sr" | "sk" | "sl" | "sv" | "tr" | "uk" | "bn" | "fil" | "gu" | "he" | "id" | "kn" | "kk" | "lo" | "ms" | "ml" | "mr" | "fa" | "pa" | "ta" | "te" | "th" | "ur" | "uz" | "vi" | "ha" | "sw" | "zu";
|
|
54553
|
+
/**
|
|
54554
|
+
* WhatsAppTemplateStatus
|
|
54555
|
+
* @description Enum for WhatsApp template approval statuses
|
|
54556
|
+
* @enum {string}
|
|
54557
|
+
*/
|
|
54558
|
+
WhatsAppTemplateStatus: "pending" | "approved" | "rejected" | "paused" | "disabled" | "unsubmitted";
|
|
54559
|
+
/**
|
|
54560
|
+
* RegisterTemplateSchema
|
|
54561
|
+
* @description Schema for registering a new WhatsApp template with variable mappings.
|
|
54562
|
+
*/
|
|
54563
|
+
RegisterTemplateSchema: {
|
|
54564
|
+
/**
|
|
54565
|
+
* Friendlyname
|
|
54566
|
+
* @description Template friendly name (e.g., 'order_confirmation'). Can only contain lowercase alphanumeric characters and underscores.
|
|
54567
|
+
*/
|
|
54568
|
+
friendlyName: string;
|
|
54569
|
+
/** @description Template language code (e.g., 'en', 'ar', 'es') */
|
|
54570
|
+
language: components["schemas"]["WhatsAppLanguage"];
|
|
54571
|
+
/** @description Entity type that this template is linked to. Optional - templates can be created without entity linkage. Get available fields from /api/v1/common/get_direct_model_fields/{modelName}/ */
|
|
54572
|
+
entityType?: components["schemas"]["EntityType"] | null;
|
|
54573
|
+
/**
|
|
54574
|
+
* @description Template content type (default: twilio/text for text-only templates, or twilio/media for templates with media)
|
|
54575
|
+
* @default twilio/text
|
|
54576
|
+
*/
|
|
54577
|
+
templateContentType: components["schemas"]["TwilioContentType"];
|
|
54578
|
+
/**
|
|
54579
|
+
* Body
|
|
54580
|
+
* @description Template body with placeholders using {{1}}, {{2}}, etc. Max 1600 characters.
|
|
54581
|
+
*/
|
|
54582
|
+
body: string;
|
|
54583
|
+
/**
|
|
54584
|
+
* Variablemappings
|
|
54585
|
+
* @description List of variable mappings to entity fields. Required only if entity_type is specified. Get available fields from /api/v1/common/get_direct_model_fields/{modelName}/
|
|
54586
|
+
*/
|
|
54587
|
+
variableMappings?: components["schemas"]["VariableMappingSchema"][] | null;
|
|
54588
|
+
/**
|
|
54589
|
+
* Mediaurl
|
|
54590
|
+
* @description Media URL for twilio/media templates. If provided: static media (same for all messages). If null/empty: dynamic media using variable placeholder (different per message).
|
|
54591
|
+
*/
|
|
54592
|
+
mediaUrl?: string | null;
|
|
54593
|
+
};
|
|
54594
|
+
/**
|
|
54595
|
+
* VariableMappingSchema
|
|
54596
|
+
* @description Schema for variable mapping definition.
|
|
54597
|
+
*/
|
|
54598
|
+
VariableMappingSchema: {
|
|
54599
|
+
/**
|
|
54600
|
+
* Position
|
|
54601
|
+
* @description Variable position (e.g., '1', '2', '3')
|
|
54602
|
+
*/
|
|
54603
|
+
position: string;
|
|
54604
|
+
/**
|
|
54605
|
+
* Fieldpath
|
|
54606
|
+
* @description Field path (e.g., 'customer.name', 'number', 'total'). Get available model fields from /api/v1/common/get_direct_model_fields/{modelName}/
|
|
54607
|
+
*/
|
|
54608
|
+
fieldPath: string;
|
|
54609
|
+
/**
|
|
54610
|
+
* Label
|
|
54611
|
+
* @description Human-readable label for the variable
|
|
54612
|
+
*/
|
|
54613
|
+
label?: string | null;
|
|
54614
|
+
};
|
|
54092
54615
|
/**
|
|
54093
54616
|
* NotificationType
|
|
54094
54617
|
* @enum {string}
|
|
@@ -85731,6 +86254,66 @@ export interface operations {
|
|
|
85731
86254
|
};
|
|
85732
86255
|
};
|
|
85733
86256
|
};
|
|
86257
|
+
sales_quotation_views_send_sales_quotation_whatsapp: {
|
|
86258
|
+
parameters: {
|
|
86259
|
+
query?: {
|
|
86260
|
+
templateId?: string | null;
|
|
86261
|
+
};
|
|
86262
|
+
header?: never;
|
|
86263
|
+
path: {
|
|
86264
|
+
id: string;
|
|
86265
|
+
};
|
|
86266
|
+
cookie?: never;
|
|
86267
|
+
};
|
|
86268
|
+
requestBody?: never;
|
|
86269
|
+
responses: {
|
|
86270
|
+
/** @description OK */
|
|
86271
|
+
200: {
|
|
86272
|
+
headers: {
|
|
86273
|
+
[name: string]: unknown;
|
|
86274
|
+
};
|
|
86275
|
+
content: {
|
|
86276
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
86277
|
+
};
|
|
86278
|
+
};
|
|
86279
|
+
/** @description Bad Request */
|
|
86280
|
+
400: {
|
|
86281
|
+
headers: {
|
|
86282
|
+
[name: string]: unknown;
|
|
86283
|
+
};
|
|
86284
|
+
content: {
|
|
86285
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
86286
|
+
};
|
|
86287
|
+
};
|
|
86288
|
+
/** @description Forbidden */
|
|
86289
|
+
403: {
|
|
86290
|
+
headers: {
|
|
86291
|
+
[name: string]: unknown;
|
|
86292
|
+
};
|
|
86293
|
+
content: {
|
|
86294
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
86295
|
+
};
|
|
86296
|
+
};
|
|
86297
|
+
/** @description Not Found */
|
|
86298
|
+
404: {
|
|
86299
|
+
headers: {
|
|
86300
|
+
[name: string]: unknown;
|
|
86301
|
+
};
|
|
86302
|
+
content: {
|
|
86303
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
86304
|
+
};
|
|
86305
|
+
};
|
|
86306
|
+
/** @description Internal Server Error */
|
|
86307
|
+
500: {
|
|
86308
|
+
headers: {
|
|
86309
|
+
[name: string]: unknown;
|
|
86310
|
+
};
|
|
86311
|
+
content: {
|
|
86312
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
86313
|
+
};
|
|
86314
|
+
};
|
|
86315
|
+
};
|
|
86316
|
+
};
|
|
85734
86317
|
common_contact_segmentation_views_list_contact_segmentation: {
|
|
85735
86318
|
parameters: {
|
|
85736
86319
|
query?: {
|
|
@@ -88068,6 +88651,66 @@ export interface operations {
|
|
|
88068
88651
|
};
|
|
88069
88652
|
};
|
|
88070
88653
|
};
|
|
88654
|
+
sales_order_views_send_sales_order_whatsapp: {
|
|
88655
|
+
parameters: {
|
|
88656
|
+
query?: {
|
|
88657
|
+
templateId?: string | null;
|
|
88658
|
+
};
|
|
88659
|
+
header?: never;
|
|
88660
|
+
path: {
|
|
88661
|
+
id: string;
|
|
88662
|
+
};
|
|
88663
|
+
cookie?: never;
|
|
88664
|
+
};
|
|
88665
|
+
requestBody?: never;
|
|
88666
|
+
responses: {
|
|
88667
|
+
/** @description OK */
|
|
88668
|
+
200: {
|
|
88669
|
+
headers: {
|
|
88670
|
+
[name: string]: unknown;
|
|
88671
|
+
};
|
|
88672
|
+
content: {
|
|
88673
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
88674
|
+
};
|
|
88675
|
+
};
|
|
88676
|
+
/** @description Bad Request */
|
|
88677
|
+
400: {
|
|
88678
|
+
headers: {
|
|
88679
|
+
[name: string]: unknown;
|
|
88680
|
+
};
|
|
88681
|
+
content: {
|
|
88682
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
88683
|
+
};
|
|
88684
|
+
};
|
|
88685
|
+
/** @description Forbidden */
|
|
88686
|
+
403: {
|
|
88687
|
+
headers: {
|
|
88688
|
+
[name: string]: unknown;
|
|
88689
|
+
};
|
|
88690
|
+
content: {
|
|
88691
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
88692
|
+
};
|
|
88693
|
+
};
|
|
88694
|
+
/** @description Not Found */
|
|
88695
|
+
404: {
|
|
88696
|
+
headers: {
|
|
88697
|
+
[name: string]: unknown;
|
|
88698
|
+
};
|
|
88699
|
+
content: {
|
|
88700
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
88701
|
+
};
|
|
88702
|
+
};
|
|
88703
|
+
/** @description Internal Server Error */
|
|
88704
|
+
500: {
|
|
88705
|
+
headers: {
|
|
88706
|
+
[name: string]: unknown;
|
|
88707
|
+
};
|
|
88708
|
+
content: {
|
|
88709
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
88710
|
+
};
|
|
88711
|
+
};
|
|
88712
|
+
};
|
|
88713
|
+
};
|
|
88071
88714
|
purchase_credit_note_views_list_purchase_credit_notes: {
|
|
88072
88715
|
parameters: {
|
|
88073
88716
|
query?: {
|
|
@@ -89684,6 +90327,66 @@ export interface operations {
|
|
|
89684
90327
|
};
|
|
89685
90328
|
};
|
|
89686
90329
|
};
|
|
90330
|
+
sales_invoice_views_send_sales_invoice_whatsapp: {
|
|
90331
|
+
parameters: {
|
|
90332
|
+
query?: {
|
|
90333
|
+
templateId?: string | null;
|
|
90334
|
+
};
|
|
90335
|
+
header?: never;
|
|
90336
|
+
path: {
|
|
90337
|
+
id: string;
|
|
90338
|
+
};
|
|
90339
|
+
cookie?: never;
|
|
90340
|
+
};
|
|
90341
|
+
requestBody?: never;
|
|
90342
|
+
responses: {
|
|
90343
|
+
/** @description OK */
|
|
90344
|
+
200: {
|
|
90345
|
+
headers: {
|
|
90346
|
+
[name: string]: unknown;
|
|
90347
|
+
};
|
|
90348
|
+
content: {
|
|
90349
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
90350
|
+
};
|
|
90351
|
+
};
|
|
90352
|
+
/** @description Bad Request */
|
|
90353
|
+
400: {
|
|
90354
|
+
headers: {
|
|
90355
|
+
[name: string]: unknown;
|
|
90356
|
+
};
|
|
90357
|
+
content: {
|
|
90358
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
90359
|
+
};
|
|
90360
|
+
};
|
|
90361
|
+
/** @description Forbidden */
|
|
90362
|
+
403: {
|
|
90363
|
+
headers: {
|
|
90364
|
+
[name: string]: unknown;
|
|
90365
|
+
};
|
|
90366
|
+
content: {
|
|
90367
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
90368
|
+
};
|
|
90369
|
+
};
|
|
90370
|
+
/** @description Not Found */
|
|
90371
|
+
404: {
|
|
90372
|
+
headers: {
|
|
90373
|
+
[name: string]: unknown;
|
|
90374
|
+
};
|
|
90375
|
+
content: {
|
|
90376
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
90377
|
+
};
|
|
90378
|
+
};
|
|
90379
|
+
/** @description Internal Server Error */
|
|
90380
|
+
500: {
|
|
90381
|
+
headers: {
|
|
90382
|
+
[name: string]: unknown;
|
|
90383
|
+
};
|
|
90384
|
+
content: {
|
|
90385
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
90386
|
+
};
|
|
90387
|
+
};
|
|
90388
|
+
};
|
|
90389
|
+
};
|
|
89687
90390
|
sales_return_order_views_list_sales_return_orders: {
|
|
89688
90391
|
parameters: {
|
|
89689
90392
|
query?: {
|
|
@@ -91491,7 +92194,69 @@ export interface operations {
|
|
|
91491
92194
|
};
|
|
91492
92195
|
};
|
|
91493
92196
|
};
|
|
91494
|
-
inventory_delivery_note_views_update_goods_delivery_note: {
|
|
92197
|
+
inventory_delivery_note_views_update_goods_delivery_note: {
|
|
92198
|
+
parameters: {
|
|
92199
|
+
query?: never;
|
|
92200
|
+
header?: never;
|
|
92201
|
+
path: {
|
|
92202
|
+
id: string;
|
|
92203
|
+
};
|
|
92204
|
+
cookie?: never;
|
|
92205
|
+
};
|
|
92206
|
+
requestBody: {
|
|
92207
|
+
content: {
|
|
92208
|
+
"application/json": components["schemas"]["CreateOrUpdateGoodsDeliveryNoteSchema"];
|
|
92209
|
+
};
|
|
92210
|
+
};
|
|
92211
|
+
responses: {
|
|
92212
|
+
/** @description OK */
|
|
92213
|
+
200: {
|
|
92214
|
+
headers: {
|
|
92215
|
+
[name: string]: unknown;
|
|
92216
|
+
};
|
|
92217
|
+
content: {
|
|
92218
|
+
"application/json": components["schemas"]["GoodsDeliveryNoteSchema"];
|
|
92219
|
+
};
|
|
92220
|
+
};
|
|
92221
|
+
/** @description Bad Request */
|
|
92222
|
+
400: {
|
|
92223
|
+
headers: {
|
|
92224
|
+
[name: string]: unknown;
|
|
92225
|
+
};
|
|
92226
|
+
content: {
|
|
92227
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
92228
|
+
};
|
|
92229
|
+
};
|
|
92230
|
+
/** @description Forbidden */
|
|
92231
|
+
403: {
|
|
92232
|
+
headers: {
|
|
92233
|
+
[name: string]: unknown;
|
|
92234
|
+
};
|
|
92235
|
+
content: {
|
|
92236
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
92237
|
+
};
|
|
92238
|
+
};
|
|
92239
|
+
/** @description Not Found */
|
|
92240
|
+
404: {
|
|
92241
|
+
headers: {
|
|
92242
|
+
[name: string]: unknown;
|
|
92243
|
+
};
|
|
92244
|
+
content: {
|
|
92245
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
92246
|
+
};
|
|
92247
|
+
};
|
|
92248
|
+
/** @description Internal Server Error */
|
|
92249
|
+
500: {
|
|
92250
|
+
headers: {
|
|
92251
|
+
[name: string]: unknown;
|
|
92252
|
+
};
|
|
92253
|
+
content: {
|
|
92254
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
92255
|
+
};
|
|
92256
|
+
};
|
|
92257
|
+
};
|
|
92258
|
+
};
|
|
92259
|
+
inventory_delivery_note_views_delete_goods_delivery_note: {
|
|
91495
92260
|
parameters: {
|
|
91496
92261
|
query?: never;
|
|
91497
92262
|
header?: never;
|
|
@@ -91502,18 +92267,16 @@ export interface operations {
|
|
|
91502
92267
|
};
|
|
91503
92268
|
requestBody: {
|
|
91504
92269
|
content: {
|
|
91505
|
-
"application/json": components["schemas"]["
|
|
92270
|
+
"application/json": components["schemas"]["ActionsPayloadSchemas"];
|
|
91506
92271
|
};
|
|
91507
92272
|
};
|
|
91508
92273
|
responses: {
|
|
91509
|
-
/** @description
|
|
91510
|
-
|
|
92274
|
+
/** @description No Content */
|
|
92275
|
+
204: {
|
|
91511
92276
|
headers: {
|
|
91512
92277
|
[name: string]: unknown;
|
|
91513
92278
|
};
|
|
91514
|
-
content
|
|
91515
|
-
"application/json": components["schemas"]["GoodsDeliveryNoteSchema"];
|
|
91516
|
-
};
|
|
92279
|
+
content?: never;
|
|
91517
92280
|
};
|
|
91518
92281
|
/** @description Bad Request */
|
|
91519
92282
|
400: {
|
|
@@ -91553,7 +92316,7 @@ export interface operations {
|
|
|
91553
92316
|
};
|
|
91554
92317
|
};
|
|
91555
92318
|
};
|
|
91556
|
-
|
|
92319
|
+
inventory_delivery_note_views_reset_goods_delivery_note_to_draft: {
|
|
91557
92320
|
parameters: {
|
|
91558
92321
|
query?: never;
|
|
91559
92322
|
header?: never;
|
|
@@ -91568,12 +92331,14 @@ export interface operations {
|
|
|
91568
92331
|
};
|
|
91569
92332
|
};
|
|
91570
92333
|
responses: {
|
|
91571
|
-
/** @description
|
|
91572
|
-
|
|
92334
|
+
/** @description OK */
|
|
92335
|
+
200: {
|
|
91573
92336
|
headers: {
|
|
91574
92337
|
[name: string]: unknown;
|
|
91575
92338
|
};
|
|
91576
|
-
content
|
|
92339
|
+
content: {
|
|
92340
|
+
"application/json": components["schemas"]["GoodsDeliveryNoteSchema"];
|
|
92341
|
+
};
|
|
91577
92342
|
};
|
|
91578
92343
|
/** @description Bad Request */
|
|
91579
92344
|
400: {
|
|
@@ -91613,7 +92378,7 @@ export interface operations {
|
|
|
91613
92378
|
};
|
|
91614
92379
|
};
|
|
91615
92380
|
};
|
|
91616
|
-
|
|
92381
|
+
inventory_delivery_note_views_cancel_goods_delivery_note: {
|
|
91617
92382
|
parameters: {
|
|
91618
92383
|
query?: never;
|
|
91619
92384
|
header?: never;
|
|
@@ -91675,7 +92440,7 @@ export interface operations {
|
|
|
91675
92440
|
};
|
|
91676
92441
|
};
|
|
91677
92442
|
};
|
|
91678
|
-
|
|
92443
|
+
inventory_delivery_note_views_update_goods_delivery_note_shipment_status: {
|
|
91679
92444
|
parameters: {
|
|
91680
92445
|
query?: never;
|
|
91681
92446
|
header?: never;
|
|
@@ -91686,7 +92451,7 @@ export interface operations {
|
|
|
91686
92451
|
};
|
|
91687
92452
|
requestBody: {
|
|
91688
92453
|
content: {
|
|
91689
|
-
"application/json": components["schemas"]["
|
|
92454
|
+
"application/json": components["schemas"]["UpdateGoodsDeliveryNoteShipmentStatusSchema"];
|
|
91690
92455
|
};
|
|
91691
92456
|
};
|
|
91692
92457
|
responses: {
|
|
@@ -91737,20 +92502,18 @@ export interface operations {
|
|
|
91737
92502
|
};
|
|
91738
92503
|
};
|
|
91739
92504
|
};
|
|
91740
|
-
|
|
92505
|
+
inventory_delivery_note_views_send_delivery_note_whatsapp: {
|
|
91741
92506
|
parameters: {
|
|
91742
|
-
query?:
|
|
92507
|
+
query?: {
|
|
92508
|
+
templateId?: string | null;
|
|
92509
|
+
};
|
|
91743
92510
|
header?: never;
|
|
91744
92511
|
path: {
|
|
91745
92512
|
id: string;
|
|
91746
92513
|
};
|
|
91747
92514
|
cookie?: never;
|
|
91748
92515
|
};
|
|
91749
|
-
requestBody
|
|
91750
|
-
content: {
|
|
91751
|
-
"application/json": components["schemas"]["UpdateGoodsDeliveryNoteShipmentStatusSchema"];
|
|
91752
|
-
};
|
|
91753
|
-
};
|
|
92516
|
+
requestBody?: never;
|
|
91754
92517
|
responses: {
|
|
91755
92518
|
/** @description OK */
|
|
91756
92519
|
200: {
|
|
@@ -91758,7 +92521,7 @@ export interface operations {
|
|
|
91758
92521
|
[name: string]: unknown;
|
|
91759
92522
|
};
|
|
91760
92523
|
content: {
|
|
91761
|
-
"application/json": components["schemas"]["
|
|
92524
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
91762
92525
|
};
|
|
91763
92526
|
};
|
|
91764
92527
|
/** @description Bad Request */
|
|
@@ -96102,13 +96865,234 @@ export interface operations {
|
|
|
96102
96865
|
};
|
|
96103
96866
|
};
|
|
96104
96867
|
};
|
|
96105
|
-
integration_sync_views_sync_single_category_endpoint: {
|
|
96868
|
+
integration_sync_views_sync_single_category_endpoint: {
|
|
96869
|
+
parameters: {
|
|
96870
|
+
query?: never;
|
|
96871
|
+
header?: never;
|
|
96872
|
+
path: {
|
|
96873
|
+
id: number;
|
|
96874
|
+
};
|
|
96875
|
+
cookie?: never;
|
|
96876
|
+
};
|
|
96877
|
+
requestBody?: never;
|
|
96878
|
+
responses: {
|
|
96879
|
+
/** @description OK */
|
|
96880
|
+
200: {
|
|
96881
|
+
headers: {
|
|
96882
|
+
[name: string]: unknown;
|
|
96883
|
+
};
|
|
96884
|
+
content: {
|
|
96885
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
96886
|
+
};
|
|
96887
|
+
};
|
|
96888
|
+
/** @description Bad Request */
|
|
96889
|
+
400: {
|
|
96890
|
+
headers: {
|
|
96891
|
+
[name: string]: unknown;
|
|
96892
|
+
};
|
|
96893
|
+
content: {
|
|
96894
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
96895
|
+
};
|
|
96896
|
+
};
|
|
96897
|
+
/** @description Not Found */
|
|
96898
|
+
404: {
|
|
96899
|
+
headers: {
|
|
96900
|
+
[name: string]: unknown;
|
|
96901
|
+
};
|
|
96902
|
+
content: {
|
|
96903
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
96904
|
+
};
|
|
96905
|
+
};
|
|
96906
|
+
/** @description Conflict */
|
|
96907
|
+
409: {
|
|
96908
|
+
headers: {
|
|
96909
|
+
[name: string]: unknown;
|
|
96910
|
+
};
|
|
96911
|
+
content: {
|
|
96912
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
96913
|
+
};
|
|
96914
|
+
};
|
|
96915
|
+
};
|
|
96916
|
+
};
|
|
96917
|
+
integration_sync_views_sync_all_categories_endpoint: {
|
|
96918
|
+
parameters: {
|
|
96919
|
+
query?: never;
|
|
96920
|
+
header?: never;
|
|
96921
|
+
path?: never;
|
|
96922
|
+
cookie?: never;
|
|
96923
|
+
};
|
|
96924
|
+
requestBody?: never;
|
|
96925
|
+
responses: {
|
|
96926
|
+
/** @description OK */
|
|
96927
|
+
200: {
|
|
96928
|
+
headers: {
|
|
96929
|
+
[name: string]: unknown;
|
|
96930
|
+
};
|
|
96931
|
+
content: {
|
|
96932
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
96933
|
+
};
|
|
96934
|
+
};
|
|
96935
|
+
/** @description Not Found */
|
|
96936
|
+
404: {
|
|
96937
|
+
headers: {
|
|
96938
|
+
[name: string]: unknown;
|
|
96939
|
+
};
|
|
96940
|
+
content: {
|
|
96941
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
96942
|
+
};
|
|
96943
|
+
};
|
|
96944
|
+
/** @description Conflict */
|
|
96945
|
+
409: {
|
|
96946
|
+
headers: {
|
|
96947
|
+
[name: string]: unknown;
|
|
96948
|
+
};
|
|
96949
|
+
content: {
|
|
96950
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
96951
|
+
};
|
|
96952
|
+
};
|
|
96953
|
+
};
|
|
96954
|
+
};
|
|
96955
|
+
integration_sync_views_sync_single_brand_endpoint: {
|
|
96956
|
+
parameters: {
|
|
96957
|
+
query?: never;
|
|
96958
|
+
header?: never;
|
|
96959
|
+
path: {
|
|
96960
|
+
id: number;
|
|
96961
|
+
};
|
|
96962
|
+
cookie?: never;
|
|
96963
|
+
};
|
|
96964
|
+
requestBody?: never;
|
|
96965
|
+
responses: {
|
|
96966
|
+
/** @description OK */
|
|
96967
|
+
200: {
|
|
96968
|
+
headers: {
|
|
96969
|
+
[name: string]: unknown;
|
|
96970
|
+
};
|
|
96971
|
+
content: {
|
|
96972
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
96973
|
+
};
|
|
96974
|
+
};
|
|
96975
|
+
/** @description Bad Request */
|
|
96976
|
+
400: {
|
|
96977
|
+
headers: {
|
|
96978
|
+
[name: string]: unknown;
|
|
96979
|
+
};
|
|
96980
|
+
content: {
|
|
96981
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
96982
|
+
};
|
|
96983
|
+
};
|
|
96984
|
+
/** @description Not Found */
|
|
96985
|
+
404: {
|
|
96986
|
+
headers: {
|
|
96987
|
+
[name: string]: unknown;
|
|
96988
|
+
};
|
|
96989
|
+
content: {
|
|
96990
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
96991
|
+
};
|
|
96992
|
+
};
|
|
96993
|
+
/** @description Conflict */
|
|
96994
|
+
409: {
|
|
96995
|
+
headers: {
|
|
96996
|
+
[name: string]: unknown;
|
|
96997
|
+
};
|
|
96998
|
+
content: {
|
|
96999
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97000
|
+
};
|
|
97001
|
+
};
|
|
97002
|
+
};
|
|
97003
|
+
};
|
|
97004
|
+
integration_sync_views_sync_all_brands_endpoint: {
|
|
97005
|
+
parameters: {
|
|
97006
|
+
query?: never;
|
|
97007
|
+
header?: never;
|
|
97008
|
+
path?: never;
|
|
97009
|
+
cookie?: never;
|
|
97010
|
+
};
|
|
97011
|
+
requestBody?: never;
|
|
97012
|
+
responses: {
|
|
97013
|
+
/** @description OK */
|
|
97014
|
+
200: {
|
|
97015
|
+
headers: {
|
|
97016
|
+
[name: string]: unknown;
|
|
97017
|
+
};
|
|
97018
|
+
content: {
|
|
97019
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97020
|
+
};
|
|
97021
|
+
};
|
|
97022
|
+
/** @description Not Found */
|
|
97023
|
+
404: {
|
|
97024
|
+
headers: {
|
|
97025
|
+
[name: string]: unknown;
|
|
97026
|
+
};
|
|
97027
|
+
content: {
|
|
97028
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97029
|
+
};
|
|
97030
|
+
};
|
|
97031
|
+
/** @description Conflict */
|
|
97032
|
+
409: {
|
|
97033
|
+
headers: {
|
|
97034
|
+
[name: string]: unknown;
|
|
97035
|
+
};
|
|
97036
|
+
content: {
|
|
97037
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97038
|
+
};
|
|
97039
|
+
};
|
|
97040
|
+
};
|
|
97041
|
+
};
|
|
97042
|
+
integration_sync_views_sync_single_tag_endpoint: {
|
|
97043
|
+
parameters: {
|
|
97044
|
+
query?: never;
|
|
97045
|
+
header?: never;
|
|
97046
|
+
path: {
|
|
97047
|
+
id: number;
|
|
97048
|
+
};
|
|
97049
|
+
cookie?: never;
|
|
97050
|
+
};
|
|
97051
|
+
requestBody?: never;
|
|
97052
|
+
responses: {
|
|
97053
|
+
/** @description OK */
|
|
97054
|
+
200: {
|
|
97055
|
+
headers: {
|
|
97056
|
+
[name: string]: unknown;
|
|
97057
|
+
};
|
|
97058
|
+
content: {
|
|
97059
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97060
|
+
};
|
|
97061
|
+
};
|
|
97062
|
+
/** @description Bad Request */
|
|
97063
|
+
400: {
|
|
97064
|
+
headers: {
|
|
97065
|
+
[name: string]: unknown;
|
|
97066
|
+
};
|
|
97067
|
+
content: {
|
|
97068
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
97069
|
+
};
|
|
97070
|
+
};
|
|
97071
|
+
/** @description Not Found */
|
|
97072
|
+
404: {
|
|
97073
|
+
headers: {
|
|
97074
|
+
[name: string]: unknown;
|
|
97075
|
+
};
|
|
97076
|
+
content: {
|
|
97077
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97078
|
+
};
|
|
97079
|
+
};
|
|
97080
|
+
/** @description Conflict */
|
|
97081
|
+
409: {
|
|
97082
|
+
headers: {
|
|
97083
|
+
[name: string]: unknown;
|
|
97084
|
+
};
|
|
97085
|
+
content: {
|
|
97086
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97087
|
+
};
|
|
97088
|
+
};
|
|
97089
|
+
};
|
|
97090
|
+
};
|
|
97091
|
+
integration_sync_views_sync_all_tags_endpoint: {
|
|
96106
97092
|
parameters: {
|
|
96107
97093
|
query?: never;
|
|
96108
97094
|
header?: never;
|
|
96109
|
-
path
|
|
96110
|
-
id: number;
|
|
96111
|
-
};
|
|
97095
|
+
path?: never;
|
|
96112
97096
|
cookie?: never;
|
|
96113
97097
|
};
|
|
96114
97098
|
requestBody?: never;
|
|
@@ -96122,15 +97106,6 @@ export interface operations {
|
|
|
96122
97106
|
"application/json": components["schemas"]["MessageResponse"];
|
|
96123
97107
|
};
|
|
96124
97108
|
};
|
|
96125
|
-
/** @description Bad Request */
|
|
96126
|
-
400: {
|
|
96127
|
-
headers: {
|
|
96128
|
-
[name: string]: unknown;
|
|
96129
|
-
};
|
|
96130
|
-
content: {
|
|
96131
|
-
"application/json": components["schemas"]["ErrorMessages"];
|
|
96132
|
-
};
|
|
96133
|
-
};
|
|
96134
97109
|
/** @description Not Found */
|
|
96135
97110
|
404: {
|
|
96136
97111
|
headers: {
|
|
@@ -96151,7 +97126,7 @@ export interface operations {
|
|
|
96151
97126
|
};
|
|
96152
97127
|
};
|
|
96153
97128
|
};
|
|
96154
|
-
|
|
97129
|
+
integration_sync_views_sync_orders_endpoint: {
|
|
96155
97130
|
parameters: {
|
|
96156
97131
|
query?: never;
|
|
96157
97132
|
header?: never;
|
|
@@ -96169,6 +97144,15 @@ export interface operations {
|
|
|
96169
97144
|
"application/json": components["schemas"]["MessageResponse"];
|
|
96170
97145
|
};
|
|
96171
97146
|
};
|
|
97147
|
+
/** @description Bad Request */
|
|
97148
|
+
400: {
|
|
97149
|
+
headers: {
|
|
97150
|
+
[name: string]: unknown;
|
|
97151
|
+
};
|
|
97152
|
+
content: {
|
|
97153
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
97154
|
+
};
|
|
97155
|
+
};
|
|
96172
97156
|
/** @description Not Found */
|
|
96173
97157
|
404: {
|
|
96174
97158
|
headers: {
|
|
@@ -96187,15 +97171,22 @@ export interface operations {
|
|
|
96187
97171
|
"application/json": components["schemas"]["MessageResponse"];
|
|
96188
97172
|
};
|
|
96189
97173
|
};
|
|
97174
|
+
/** @description Internal Server Error */
|
|
97175
|
+
500: {
|
|
97176
|
+
headers: {
|
|
97177
|
+
[name: string]: unknown;
|
|
97178
|
+
};
|
|
97179
|
+
content: {
|
|
97180
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97181
|
+
};
|
|
97182
|
+
};
|
|
96190
97183
|
};
|
|
96191
97184
|
};
|
|
96192
|
-
|
|
97185
|
+
integration_sync_views_sync_customers_endpoint: {
|
|
96193
97186
|
parameters: {
|
|
96194
97187
|
query?: never;
|
|
96195
97188
|
header?: never;
|
|
96196
|
-
path
|
|
96197
|
-
id: number;
|
|
96198
|
-
};
|
|
97189
|
+
path?: never;
|
|
96199
97190
|
cookie?: never;
|
|
96200
97191
|
};
|
|
96201
97192
|
requestBody?: never;
|
|
@@ -96236,11 +97227,27 @@ export interface operations {
|
|
|
96236
97227
|
"application/json": components["schemas"]["MessageResponse"];
|
|
96237
97228
|
};
|
|
96238
97229
|
};
|
|
97230
|
+
/** @description Internal Server Error */
|
|
97231
|
+
500: {
|
|
97232
|
+
headers: {
|
|
97233
|
+
[name: string]: unknown;
|
|
97234
|
+
};
|
|
97235
|
+
content: {
|
|
97236
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97237
|
+
};
|
|
97238
|
+
};
|
|
96239
97239
|
};
|
|
96240
97240
|
};
|
|
96241
|
-
|
|
97241
|
+
integration_sync_views_list_orders: {
|
|
96242
97242
|
parameters: {
|
|
96243
|
-
query?:
|
|
97243
|
+
query?: {
|
|
97244
|
+
/** @description Page number */
|
|
97245
|
+
page?: number;
|
|
97246
|
+
/** @description Page size */
|
|
97247
|
+
pageSize?: number;
|
|
97248
|
+
/** @description Search by order number, customer name, customer email, item name, item sku code, financial status, fulfillment status */
|
|
97249
|
+
search?: string | null;
|
|
97250
|
+
};
|
|
96244
97251
|
header?: never;
|
|
96245
97252
|
path?: never;
|
|
96246
97253
|
cookie?: never;
|
|
@@ -96253,7 +97260,16 @@ export interface operations {
|
|
|
96253
97260
|
[name: string]: unknown;
|
|
96254
97261
|
};
|
|
96255
97262
|
content: {
|
|
96256
|
-
"application/json": components["schemas"]["
|
|
97263
|
+
"application/json": components["schemas"]["OnlineOrderListSchema"];
|
|
97264
|
+
};
|
|
97265
|
+
};
|
|
97266
|
+
/** @description Bad Request */
|
|
97267
|
+
400: {
|
|
97268
|
+
headers: {
|
|
97269
|
+
[name: string]: unknown;
|
|
97270
|
+
};
|
|
97271
|
+
content: {
|
|
97272
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
96257
97273
|
};
|
|
96258
97274
|
};
|
|
96259
97275
|
/** @description Not Found */
|
|
@@ -96265,8 +97281,8 @@ export interface operations {
|
|
|
96265
97281
|
"application/json": components["schemas"]["MessageResponse"];
|
|
96266
97282
|
};
|
|
96267
97283
|
};
|
|
96268
|
-
/** @description
|
|
96269
|
-
|
|
97284
|
+
/** @description Internal Server Error */
|
|
97285
|
+
500: {
|
|
96270
97286
|
headers: {
|
|
96271
97287
|
[name: string]: unknown;
|
|
96272
97288
|
};
|
|
@@ -96276,12 +97292,12 @@ export interface operations {
|
|
|
96276
97292
|
};
|
|
96277
97293
|
};
|
|
96278
97294
|
};
|
|
96279
|
-
|
|
97295
|
+
integration_sync_views_get_order: {
|
|
96280
97296
|
parameters: {
|
|
96281
97297
|
query?: never;
|
|
96282
97298
|
header?: never;
|
|
96283
97299
|
path: {
|
|
96284
|
-
|
|
97300
|
+
order_id: string;
|
|
96285
97301
|
};
|
|
96286
97302
|
cookie?: never;
|
|
96287
97303
|
};
|
|
@@ -96293,7 +97309,7 @@ export interface operations {
|
|
|
96293
97309
|
[name: string]: unknown;
|
|
96294
97310
|
};
|
|
96295
97311
|
content: {
|
|
96296
|
-
"application/json": components["schemas"]["
|
|
97312
|
+
"application/json": components["schemas"]["OnlineOrderSchema"];
|
|
96297
97313
|
};
|
|
96298
97314
|
};
|
|
96299
97315
|
/** @description Bad Request */
|
|
@@ -96314,8 +97330,8 @@ export interface operations {
|
|
|
96314
97330
|
"application/json": components["schemas"]["MessageResponse"];
|
|
96315
97331
|
};
|
|
96316
97332
|
};
|
|
96317
|
-
/** @description
|
|
96318
|
-
|
|
97333
|
+
/** @description Internal Server Error */
|
|
97334
|
+
500: {
|
|
96319
97335
|
headers: {
|
|
96320
97336
|
[name: string]: unknown;
|
|
96321
97337
|
};
|
|
@@ -96325,11 +97341,13 @@ export interface operations {
|
|
|
96325
97341
|
};
|
|
96326
97342
|
};
|
|
96327
97343
|
};
|
|
96328
|
-
|
|
97344
|
+
integration_sync_views_sync_single_customer_endpoint: {
|
|
96329
97345
|
parameters: {
|
|
96330
97346
|
query?: never;
|
|
96331
97347
|
header?: never;
|
|
96332
|
-
path
|
|
97348
|
+
path: {
|
|
97349
|
+
customer_id: number;
|
|
97350
|
+
};
|
|
96333
97351
|
cookie?: never;
|
|
96334
97352
|
};
|
|
96335
97353
|
requestBody?: never;
|
|
@@ -96343,6 +97361,24 @@ export interface operations {
|
|
|
96343
97361
|
"application/json": components["schemas"]["MessageResponse"];
|
|
96344
97362
|
};
|
|
96345
97363
|
};
|
|
97364
|
+
/** @description Accepted */
|
|
97365
|
+
202: {
|
|
97366
|
+
headers: {
|
|
97367
|
+
[name: string]: unknown;
|
|
97368
|
+
};
|
|
97369
|
+
content: {
|
|
97370
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97371
|
+
};
|
|
97372
|
+
};
|
|
97373
|
+
/** @description Bad Request */
|
|
97374
|
+
400: {
|
|
97375
|
+
headers: {
|
|
97376
|
+
[name: string]: unknown;
|
|
97377
|
+
};
|
|
97378
|
+
content: {
|
|
97379
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
97380
|
+
};
|
|
97381
|
+
};
|
|
96346
97382
|
/** @description Not Found */
|
|
96347
97383
|
404: {
|
|
96348
97384
|
headers: {
|
|
@@ -96363,22 +97399,26 @@ export interface operations {
|
|
|
96363
97399
|
};
|
|
96364
97400
|
};
|
|
96365
97401
|
};
|
|
96366
|
-
|
|
97402
|
+
integration_whatsapp_views_setup_whatsapp: {
|
|
96367
97403
|
parameters: {
|
|
96368
97404
|
query?: never;
|
|
96369
97405
|
header?: never;
|
|
96370
97406
|
path?: never;
|
|
96371
97407
|
cookie?: never;
|
|
96372
97408
|
};
|
|
96373
|
-
requestBody
|
|
97409
|
+
requestBody: {
|
|
97410
|
+
content: {
|
|
97411
|
+
"application/json": components["schemas"]["CreateWhatsAppIntegrationSchema"];
|
|
97412
|
+
};
|
|
97413
|
+
};
|
|
96374
97414
|
responses: {
|
|
96375
|
-
/** @description
|
|
96376
|
-
|
|
97415
|
+
/** @description Created */
|
|
97416
|
+
201: {
|
|
96377
97417
|
headers: {
|
|
96378
97418
|
[name: string]: unknown;
|
|
96379
97419
|
};
|
|
96380
97420
|
content: {
|
|
96381
|
-
"application/json": components["schemas"]["
|
|
97421
|
+
"application/json": components["schemas"]["WhatsAppIntegrationResponseSchema"];
|
|
96382
97422
|
};
|
|
96383
97423
|
};
|
|
96384
97424
|
/** @description Bad Request */
|
|
@@ -96390,13 +97430,13 @@ export interface operations {
|
|
|
96390
97430
|
"application/json": components["schemas"]["ErrorMessages"];
|
|
96391
97431
|
};
|
|
96392
97432
|
};
|
|
96393
|
-
/** @description
|
|
96394
|
-
|
|
97433
|
+
/** @description Forbidden */
|
|
97434
|
+
403: {
|
|
96395
97435
|
headers: {
|
|
96396
97436
|
[name: string]: unknown;
|
|
96397
97437
|
};
|
|
96398
97438
|
content: {
|
|
96399
|
-
"application/json": components["schemas"]["
|
|
97439
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
96400
97440
|
};
|
|
96401
97441
|
};
|
|
96402
97442
|
/** @description Conflict */
|
|
@@ -96405,7 +97445,7 @@ export interface operations {
|
|
|
96405
97445
|
[name: string]: unknown;
|
|
96406
97446
|
};
|
|
96407
97447
|
content: {
|
|
96408
|
-
"application/json": components["schemas"]["
|
|
97448
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
96409
97449
|
};
|
|
96410
97450
|
};
|
|
96411
97451
|
/** @description Internal Server Error */
|
|
@@ -96414,12 +97454,12 @@ export interface operations {
|
|
|
96414
97454
|
[name: string]: unknown;
|
|
96415
97455
|
};
|
|
96416
97456
|
content: {
|
|
96417
|
-
"application/json": components["schemas"]["
|
|
97457
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
96418
97458
|
};
|
|
96419
97459
|
};
|
|
96420
97460
|
};
|
|
96421
97461
|
};
|
|
96422
|
-
|
|
97462
|
+
integration_whatsapp_views_sync_approval_statuses: {
|
|
96423
97463
|
parameters: {
|
|
96424
97464
|
query?: never;
|
|
96425
97465
|
header?: never;
|
|
@@ -96434,16 +97474,16 @@ export interface operations {
|
|
|
96434
97474
|
[name: string]: unknown;
|
|
96435
97475
|
};
|
|
96436
97476
|
content: {
|
|
96437
|
-
"application/json": components["schemas"]["
|
|
97477
|
+
"application/json": components["schemas"]["SyncApprovalStatusesResponseSchema"];
|
|
96438
97478
|
};
|
|
96439
97479
|
};
|
|
96440
|
-
/** @description
|
|
96441
|
-
|
|
97480
|
+
/** @description Forbidden */
|
|
97481
|
+
403: {
|
|
96442
97482
|
headers: {
|
|
96443
97483
|
[name: string]: unknown;
|
|
96444
97484
|
};
|
|
96445
97485
|
content: {
|
|
96446
|
-
"application/json": components["schemas"]["
|
|
97486
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
96447
97487
|
};
|
|
96448
97488
|
};
|
|
96449
97489
|
/** @description Not Found */
|
|
@@ -96452,16 +97492,7 @@ export interface operations {
|
|
|
96452
97492
|
[name: string]: unknown;
|
|
96453
97493
|
};
|
|
96454
97494
|
content: {
|
|
96455
|
-
"application/json": components["schemas"]["
|
|
96456
|
-
};
|
|
96457
|
-
};
|
|
96458
|
-
/** @description Conflict */
|
|
96459
|
-
409: {
|
|
96460
|
-
headers: {
|
|
96461
|
-
[name: string]: unknown;
|
|
96462
|
-
};
|
|
96463
|
-
content: {
|
|
96464
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
97495
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
96465
97496
|
};
|
|
96466
97497
|
};
|
|
96467
97498
|
/** @description Internal Server Error */
|
|
@@ -96470,20 +97501,22 @@ export interface operations {
|
|
|
96470
97501
|
[name: string]: unknown;
|
|
96471
97502
|
};
|
|
96472
97503
|
content: {
|
|
96473
|
-
"application/json": components["schemas"]["
|
|
97504
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
96474
97505
|
};
|
|
96475
97506
|
};
|
|
96476
97507
|
};
|
|
96477
97508
|
};
|
|
96478
|
-
|
|
97509
|
+
integration_whatsapp_views_get_templates: {
|
|
96479
97510
|
parameters: {
|
|
96480
97511
|
query?: {
|
|
96481
97512
|
/** @description Page number */
|
|
96482
97513
|
page?: number;
|
|
96483
97514
|
/** @description Page size */
|
|
96484
97515
|
pageSize?: number;
|
|
96485
|
-
/** @description Search by
|
|
97516
|
+
/** @description Search by template name or language */
|
|
96486
97517
|
search?: string | null;
|
|
97518
|
+
/** @description Filter by entity type */
|
|
97519
|
+
entityType?: components["schemas"]["EntityType"] | null;
|
|
96487
97520
|
};
|
|
96488
97521
|
header?: never;
|
|
96489
97522
|
path?: never;
|
|
@@ -96497,16 +97530,16 @@ export interface operations {
|
|
|
96497
97530
|
[name: string]: unknown;
|
|
96498
97531
|
};
|
|
96499
97532
|
content: {
|
|
96500
|
-
"application/json": components["schemas"]["
|
|
97533
|
+
"application/json": components["schemas"]["GetTemplatesResponseSchema"];
|
|
96501
97534
|
};
|
|
96502
97535
|
};
|
|
96503
|
-
/** @description
|
|
96504
|
-
|
|
97536
|
+
/** @description Forbidden */
|
|
97537
|
+
403: {
|
|
96505
97538
|
headers: {
|
|
96506
97539
|
[name: string]: unknown;
|
|
96507
97540
|
};
|
|
96508
97541
|
content: {
|
|
96509
|
-
"application/json": components["schemas"]["
|
|
97542
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
96510
97543
|
};
|
|
96511
97544
|
};
|
|
96512
97545
|
/** @description Not Found */
|
|
@@ -96515,7 +97548,7 @@ export interface operations {
|
|
|
96515
97548
|
[name: string]: unknown;
|
|
96516
97549
|
};
|
|
96517
97550
|
content: {
|
|
96518
|
-
"application/json": components["schemas"]["
|
|
97551
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
96519
97552
|
};
|
|
96520
97553
|
};
|
|
96521
97554
|
/** @description Internal Server Error */
|
|
@@ -96524,29 +97557,31 @@ export interface operations {
|
|
|
96524
97557
|
[name: string]: unknown;
|
|
96525
97558
|
};
|
|
96526
97559
|
content: {
|
|
96527
|
-
"application/json": components["schemas"]["
|
|
97560
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
96528
97561
|
};
|
|
96529
97562
|
};
|
|
96530
97563
|
};
|
|
96531
97564
|
};
|
|
96532
|
-
|
|
97565
|
+
integration_whatsapp_views_register_template: {
|
|
96533
97566
|
parameters: {
|
|
96534
97567
|
query?: never;
|
|
96535
97568
|
header?: never;
|
|
96536
|
-
path
|
|
96537
|
-
order_id: string;
|
|
96538
|
-
};
|
|
97569
|
+
path?: never;
|
|
96539
97570
|
cookie?: never;
|
|
96540
97571
|
};
|
|
96541
|
-
requestBody
|
|
97572
|
+
requestBody: {
|
|
97573
|
+
content: {
|
|
97574
|
+
"application/json": components["schemas"]["RegisterTemplateSchema"];
|
|
97575
|
+
};
|
|
97576
|
+
};
|
|
96542
97577
|
responses: {
|
|
96543
|
-
/** @description
|
|
96544
|
-
|
|
97578
|
+
/** @description Created */
|
|
97579
|
+
201: {
|
|
96545
97580
|
headers: {
|
|
96546
97581
|
[name: string]: unknown;
|
|
96547
97582
|
};
|
|
96548
97583
|
content: {
|
|
96549
|
-
"application/json": components["schemas"]["
|
|
97584
|
+
"application/json": components["schemas"]["TemplateSchema"];
|
|
96550
97585
|
};
|
|
96551
97586
|
};
|
|
96552
97587
|
/** @description Bad Request */
|
|
@@ -96558,13 +97593,22 @@ export interface operations {
|
|
|
96558
97593
|
"application/json": components["schemas"]["ErrorMessages"];
|
|
96559
97594
|
};
|
|
96560
97595
|
};
|
|
97596
|
+
/** @description Forbidden */
|
|
97597
|
+
403: {
|
|
97598
|
+
headers: {
|
|
97599
|
+
[name: string]: unknown;
|
|
97600
|
+
};
|
|
97601
|
+
content: {
|
|
97602
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
97603
|
+
};
|
|
97604
|
+
};
|
|
96561
97605
|
/** @description Not Found */
|
|
96562
97606
|
404: {
|
|
96563
97607
|
headers: {
|
|
96564
97608
|
[name: string]: unknown;
|
|
96565
97609
|
};
|
|
96566
97610
|
content: {
|
|
96567
|
-
"application/json": components["schemas"]["
|
|
97611
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
96568
97612
|
};
|
|
96569
97613
|
};
|
|
96570
97614
|
/** @description Internal Server Error */
|
|
@@ -96573,17 +97617,17 @@ export interface operations {
|
|
|
96573
97617
|
[name: string]: unknown;
|
|
96574
97618
|
};
|
|
96575
97619
|
content: {
|
|
96576
|
-
"application/json": components["schemas"]["
|
|
97620
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
96577
97621
|
};
|
|
96578
97622
|
};
|
|
96579
97623
|
};
|
|
96580
97624
|
};
|
|
96581
|
-
|
|
97625
|
+
integration_whatsapp_views_get_template: {
|
|
96582
97626
|
parameters: {
|
|
96583
97627
|
query?: never;
|
|
96584
97628
|
header?: never;
|
|
96585
97629
|
path: {
|
|
96586
|
-
|
|
97630
|
+
id: string;
|
|
96587
97631
|
};
|
|
96588
97632
|
cookie?: never;
|
|
96589
97633
|
};
|
|
@@ -96595,17 +97639,55 @@ export interface operations {
|
|
|
96595
97639
|
[name: string]: unknown;
|
|
96596
97640
|
};
|
|
96597
97641
|
content: {
|
|
96598
|
-
"application/json": components["schemas"]["
|
|
97642
|
+
"application/json": components["schemas"]["TemplateSchema"];
|
|
96599
97643
|
};
|
|
96600
97644
|
};
|
|
96601
|
-
/** @description
|
|
96602
|
-
|
|
97645
|
+
/** @description Forbidden */
|
|
97646
|
+
403: {
|
|
96603
97647
|
headers: {
|
|
96604
97648
|
[name: string]: unknown;
|
|
96605
97649
|
};
|
|
96606
97650
|
content: {
|
|
96607
|
-
"application/json": components["schemas"]["
|
|
97651
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
97652
|
+
};
|
|
97653
|
+
};
|
|
97654
|
+
/** @description Not Found */
|
|
97655
|
+
404: {
|
|
97656
|
+
headers: {
|
|
97657
|
+
[name: string]: unknown;
|
|
97658
|
+
};
|
|
97659
|
+
content: {
|
|
97660
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
97661
|
+
};
|
|
97662
|
+
};
|
|
97663
|
+
/** @description Internal Server Error */
|
|
97664
|
+
500: {
|
|
97665
|
+
headers: {
|
|
97666
|
+
[name: string]: unknown;
|
|
97667
|
+
};
|
|
97668
|
+
content: {
|
|
97669
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
97670
|
+
};
|
|
97671
|
+
};
|
|
97672
|
+
};
|
|
97673
|
+
};
|
|
97674
|
+
integration_whatsapp_views_delete_template: {
|
|
97675
|
+
parameters: {
|
|
97676
|
+
query?: never;
|
|
97677
|
+
header?: never;
|
|
97678
|
+
path: {
|
|
97679
|
+
id: string;
|
|
97680
|
+
};
|
|
97681
|
+
cookie?: never;
|
|
97682
|
+
};
|
|
97683
|
+
requestBody?: never;
|
|
97684
|
+
responses: {
|
|
97685
|
+
/** @description No Content */
|
|
97686
|
+
204: {
|
|
97687
|
+
headers: {
|
|
97688
|
+
[name: string]: unknown;
|
|
96608
97689
|
};
|
|
97690
|
+
content?: never;
|
|
96609
97691
|
};
|
|
96610
97692
|
/** @description Bad Request */
|
|
96611
97693
|
400: {
|
|
@@ -96616,22 +97698,31 @@ export interface operations {
|
|
|
96616
97698
|
"application/json": components["schemas"]["ErrorMessages"];
|
|
96617
97699
|
};
|
|
96618
97700
|
};
|
|
97701
|
+
/** @description Forbidden */
|
|
97702
|
+
403: {
|
|
97703
|
+
headers: {
|
|
97704
|
+
[name: string]: unknown;
|
|
97705
|
+
};
|
|
97706
|
+
content: {
|
|
97707
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
97708
|
+
};
|
|
97709
|
+
};
|
|
96619
97710
|
/** @description Not Found */
|
|
96620
97711
|
404: {
|
|
96621
97712
|
headers: {
|
|
96622
97713
|
[name: string]: unknown;
|
|
96623
97714
|
};
|
|
96624
97715
|
content: {
|
|
96625
|
-
"application/json": components["schemas"]["
|
|
97716
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
96626
97717
|
};
|
|
96627
97718
|
};
|
|
96628
|
-
/** @description
|
|
96629
|
-
|
|
97719
|
+
/** @description Internal Server Error */
|
|
97720
|
+
500: {
|
|
96630
97721
|
headers: {
|
|
96631
97722
|
[name: string]: unknown;
|
|
96632
97723
|
};
|
|
96633
97724
|
content: {
|
|
96634
|
-
"application/json": components["schemas"]["
|
|
97725
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
96635
97726
|
};
|
|
96636
97727
|
};
|
|
96637
97728
|
};
|