@erp-galoper/types 1.0.1257 → 1.0.1259

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 +1223 -106
  2. 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;
@@ -23633,6 +23961,18 @@ export interface components {
23633
23961
  * @default []
23634
23962
  */
23635
23963
  onlinestore: components["schemas"]["BasePermissionsSchema_Settings_Integrations_OnlinestoreEnum"][];
23964
+ /**
23965
+ * Whatsappintegration
23966
+ * @description whatsappintegration actions
23967
+ * @default []
23968
+ */
23969
+ whatsappintegration: components["schemas"]["BasePermissionsSchema_Settings_Integrations_WhatsappintegrationEnum"][];
23970
+ /**
23971
+ * Whatsapptemplate
23972
+ * @description whatsapptemplate actions
23973
+ * @default []
23974
+ */
23975
+ whatsapptemplate: components["schemas"]["BasePermissionsSchema_Settings_Integrations_WhatsapptemplateEnum"][];
23636
23976
  };
23637
23977
  /**
23638
23978
  * BasePermissionsSchema_Settings_Integrations_EmailsettingEnum
@@ -23654,6 +23994,16 @@ export interface components {
23654
23994
  * @enum {string}
23655
23995
  */
23656
23996
  BasePermissionsSchema_Settings_Integrations_OnlinestoresettingEnum: "add" | "change" | "view";
23997
+ /**
23998
+ * BasePermissionsSchema_Settings_Integrations_WhatsappintegrationEnum
23999
+ * @enum {string}
24000
+ */
24001
+ BasePermissionsSchema_Settings_Integrations_WhatsappintegrationEnum: "add" | "change" | "delete" | "view";
24002
+ /**
24003
+ * BasePermissionsSchema_Settings_Integrations_WhatsapptemplateEnum
24004
+ * @enum {string}
24005
+ */
24006
+ BasePermissionsSchema_Settings_Integrations_WhatsapptemplateEnum: "add" | "change" | "delete" | "view";
23657
24007
  /** BasePermissionsSchema_Settings_Inventory */
23658
24008
  BasePermissionsSchema_Settings_Inventory: {
23659
24009
  /**
@@ -26170,6 +26520,10 @@ export interface components {
26170
26520
  packages: components["schemas"]["CreateOrUpdatePackageItemSchema"][];
26171
26521
  /**
26172
26522
  * Children
26523
+ * @description List of variant items to create under this item template.
26524
+ * Fields that are filled in the item template will be automatically inherited by the variants.
26525
+ * The inherited values should be pre-populated in the variant form for the user to view.
26526
+ * based on fields to inherit from item variant settings (/api/v1/settings/inventory/item-variant-settings/)
26173
26527
  * @default []
26174
26528
  */
26175
26529
  children: components["schemas"]["CreateChildItemSchema"][];
@@ -54089,6 +54443,201 @@ export interface components {
54089
54443
  * @enum {string}
54090
54444
  */
54091
54445
  PaymentMethodType: "credit_card" | "debit_card" | "cash_on_delivery" | "bank_transfer" | "paypal" | "apple_pay" | "google_pay" | "shopify_payments" | "manual" | "other";
54446
+ /**
54447
+ * WhatsAppIntegrationResponseSchema
54448
+ * @description Schema for returning WhatsApp integration information.
54449
+ */
54450
+ WhatsAppIntegrationResponseSchema: {
54451
+ /** Message */
54452
+ message: string;
54453
+ /** Accountsid */
54454
+ accountSid: string;
54455
+ /** Whatsappnumber */
54456
+ whatsappNumber: string;
54457
+ };
54458
+ /**
54459
+ * CreateWhatsAppIntegrationSchema
54460
+ * @description Schema for setting up WhatsApp integration with Twilio credentials.
54461
+ */
54462
+ CreateWhatsAppIntegrationSchema: {
54463
+ /**
54464
+ * Accountsid
54465
+ * @description Your Twilio Account SID (starts with AC...)
54466
+ */
54467
+ accountSid: string;
54468
+ /**
54469
+ * Authtoken
54470
+ * @description Your Twilio Auth Token
54471
+ */
54472
+ authToken: string;
54473
+ /**
54474
+ * Whatsappnumber
54475
+ * @description WhatsApp-enabled phone number (E.164 format). If not provided, will use the first available number from your Twilio account.
54476
+ */
54477
+ whatsappNumber?: string | null;
54478
+ };
54479
+ /**
54480
+ * SyncApprovalStatusesResponseSchema
54481
+ * @description Schema for sync approval statuses response.
54482
+ */
54483
+ SyncApprovalStatusesResponseSchema: {
54484
+ /**
54485
+ * Message
54486
+ * @description Success message
54487
+ */
54488
+ message: string;
54489
+ /**
54490
+ * Updated
54491
+ * @description Number of templates updated
54492
+ */
54493
+ updated: number;
54494
+ /**
54495
+ * Approved
54496
+ * @description Number of approved templates
54497
+ */
54498
+ approved: number;
54499
+ /**
54500
+ * Pending
54501
+ * @description Number of pending templates
54502
+ */
54503
+ pending: number;
54504
+ /**
54505
+ * Rejected
54506
+ * @description Number of rejected templates
54507
+ */
54508
+ rejected: number;
54509
+ /**
54510
+ * Total
54511
+ * @description Total templates checked
54512
+ */
54513
+ total: number;
54514
+ /**
54515
+ * Errors
54516
+ * @description List of errors if any occurred
54517
+ */
54518
+ errors?: unknown[] | null;
54519
+ };
54520
+ /**
54521
+ * EntityType
54522
+ * @description Enum for entity types that can be linked to WhatsApp templates
54523
+ * @enum {string}
54524
+ */
54525
+ EntityType: "salesOrder" | "salesInvoice" | "salesQuotation" | "goodsDeliveryNote";
54526
+ /**
54527
+ * GetTemplatesResponseSchema
54528
+ * @description Schema for getting paginated templates from database.
54529
+ */
54530
+ GetTemplatesResponseSchema: {
54531
+ info: components["schemas"]["PageInfoSchema"];
54532
+ /** Results */
54533
+ results: components["schemas"]["TemplateSchema"][];
54534
+ };
54535
+ /**
54536
+ * TemplateSchema
54537
+ * @description Schema for a template from database.
54538
+ */
54539
+ TemplateSchema: {
54540
+ /**
54541
+ * Id
54542
+ * Format: uuid
54543
+ */
54544
+ id: string;
54545
+ /** Contentsid */
54546
+ contentSid: string;
54547
+ /** Friendlyname */
54548
+ friendlyName: string;
54549
+ language: components["schemas"]["WhatsAppLanguage"];
54550
+ entityType?: components["schemas"]["EntityType"] | null;
54551
+ templateContentType: components["schemas"]["TwilioContentType"];
54552
+ /** Body */
54553
+ body: string;
54554
+ /** Variablescount */
54555
+ variablesCount: number;
54556
+ /** Variablemappings */
54557
+ variableMappings?: Record<string, never> | null;
54558
+ /**
54559
+ * Mediaurl
54560
+ * @description Static media URL if template uses static media, null if dynamic
54561
+ */
54562
+ mediaUrl?: string | null;
54563
+ whatsappApprovalStatus: components["schemas"]["WhatsAppTemplateStatus"];
54564
+ /** Whatsapprejectionreason */
54565
+ whatsappRejectionReason?: string | null;
54566
+ };
54567
+ /**
54568
+ * TwilioContentType
54569
+ * @description Enum for Twilio content types
54570
+ * @enum {string}
54571
+ */
54572
+ TwilioContentType: "twilio/text" | "twilio/media";
54573
+ /**
54574
+ * WhatsAppLanguage
54575
+ * @description Enum for WhatsApp template supported languages
54576
+ * @enum {string}
54577
+ */
54578
+ 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";
54579
+ /**
54580
+ * WhatsAppTemplateStatus
54581
+ * @description Enum for WhatsApp template approval statuses
54582
+ * @enum {string}
54583
+ */
54584
+ WhatsAppTemplateStatus: "pending" | "approved" | "rejected" | "paused" | "disabled" | "unsubmitted";
54585
+ /**
54586
+ * RegisterTemplateSchema
54587
+ * @description Schema for registering a new WhatsApp template with variable mappings.
54588
+ */
54589
+ RegisterTemplateSchema: {
54590
+ /**
54591
+ * Friendlyname
54592
+ * @description Template friendly name (e.g., 'order_confirmation'). Can only contain lowercase alphanumeric characters and underscores.
54593
+ */
54594
+ friendlyName: string;
54595
+ /** @description Template language code (e.g., 'en', 'ar', 'es') */
54596
+ language: components["schemas"]["WhatsAppLanguage"];
54597
+ /** @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}/ */
54598
+ entityType?: components["schemas"]["EntityType"] | null;
54599
+ /**
54600
+ * @description Template content type (default: twilio/text for text-only templates, or twilio/media for templates with media)
54601
+ * @default twilio/text
54602
+ */
54603
+ templateContentType: components["schemas"]["TwilioContentType"];
54604
+ /**
54605
+ * Body
54606
+ * @description Template body with placeholders using {{1}}, {{2}}, etc. Max 1600 characters.
54607
+ */
54608
+ body: string;
54609
+ /**
54610
+ * Variablemappings
54611
+ * @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}/
54612
+ */
54613
+ variableMappings?: components["schemas"]["VariableMappingSchema"][] | null;
54614
+ /**
54615
+ * Mediaurl
54616
+ * @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).
54617
+ */
54618
+ mediaUrl?: string | null;
54619
+ };
54620
+ /**
54621
+ * VariableMappingSchema
54622
+ * @description Schema for variable mapping definition.
54623
+ */
54624
+ VariableMappingSchema: {
54625
+ /**
54626
+ * Position
54627
+ * @description Variable position (e.g., '1', '2', '3')
54628
+ */
54629
+ position: string;
54630
+ /**
54631
+ * Fieldpath
54632
+ * @description Field path (e.g., 'customer.name', 'number', 'total'). Get available model fields from /api/v1/common/get_direct_model_fields/{modelName}/
54633
+ */
54634
+ fieldPath: string;
54635
+ /**
54636
+ * Label
54637
+ * @description Human-readable label for the variable
54638
+ */
54639
+ label?: string | null;
54640
+ };
54092
54641
  /**
54093
54642
  * NotificationType
54094
54643
  * @enum {string}
@@ -85731,6 +86280,66 @@ export interface operations {
85731
86280
  };
85732
86281
  };
85733
86282
  };
86283
+ sales_quotation_views_send_sales_quotation_whatsapp: {
86284
+ parameters: {
86285
+ query?: {
86286
+ templateId?: string | null;
86287
+ };
86288
+ header?: never;
86289
+ path: {
86290
+ id: string;
86291
+ };
86292
+ cookie?: never;
86293
+ };
86294
+ requestBody?: never;
86295
+ responses: {
86296
+ /** @description OK */
86297
+ 200: {
86298
+ headers: {
86299
+ [name: string]: unknown;
86300
+ };
86301
+ content: {
86302
+ "application/json": components["schemas"]["MessageWithCode"];
86303
+ };
86304
+ };
86305
+ /** @description Bad Request */
86306
+ 400: {
86307
+ headers: {
86308
+ [name: string]: unknown;
86309
+ };
86310
+ content: {
86311
+ "application/json": components["schemas"]["ErrorMessages"];
86312
+ };
86313
+ };
86314
+ /** @description Forbidden */
86315
+ 403: {
86316
+ headers: {
86317
+ [name: string]: unknown;
86318
+ };
86319
+ content: {
86320
+ "application/json": components["schemas"]["MessageWithCode"];
86321
+ };
86322
+ };
86323
+ /** @description Not Found */
86324
+ 404: {
86325
+ headers: {
86326
+ [name: string]: unknown;
86327
+ };
86328
+ content: {
86329
+ "application/json": components["schemas"]["MessageWithCode"];
86330
+ };
86331
+ };
86332
+ /** @description Internal Server Error */
86333
+ 500: {
86334
+ headers: {
86335
+ [name: string]: unknown;
86336
+ };
86337
+ content: {
86338
+ "application/json": components["schemas"]["MessageWithCode"];
86339
+ };
86340
+ };
86341
+ };
86342
+ };
85734
86343
  common_contact_segmentation_views_list_contact_segmentation: {
85735
86344
  parameters: {
85736
86345
  query?: {
@@ -88068,6 +88677,66 @@ export interface operations {
88068
88677
  };
88069
88678
  };
88070
88679
  };
88680
+ sales_order_views_send_sales_order_whatsapp: {
88681
+ parameters: {
88682
+ query?: {
88683
+ templateId?: string | null;
88684
+ };
88685
+ header?: never;
88686
+ path: {
88687
+ id: string;
88688
+ };
88689
+ cookie?: never;
88690
+ };
88691
+ requestBody?: never;
88692
+ responses: {
88693
+ /** @description OK */
88694
+ 200: {
88695
+ headers: {
88696
+ [name: string]: unknown;
88697
+ };
88698
+ content: {
88699
+ "application/json": components["schemas"]["MessageWithCode"];
88700
+ };
88701
+ };
88702
+ /** @description Bad Request */
88703
+ 400: {
88704
+ headers: {
88705
+ [name: string]: unknown;
88706
+ };
88707
+ content: {
88708
+ "application/json": components["schemas"]["ErrorMessages"];
88709
+ };
88710
+ };
88711
+ /** @description Forbidden */
88712
+ 403: {
88713
+ headers: {
88714
+ [name: string]: unknown;
88715
+ };
88716
+ content: {
88717
+ "application/json": components["schemas"]["MessageWithCode"];
88718
+ };
88719
+ };
88720
+ /** @description Not Found */
88721
+ 404: {
88722
+ headers: {
88723
+ [name: string]: unknown;
88724
+ };
88725
+ content: {
88726
+ "application/json": components["schemas"]["MessageWithCode"];
88727
+ };
88728
+ };
88729
+ /** @description Internal Server Error */
88730
+ 500: {
88731
+ headers: {
88732
+ [name: string]: unknown;
88733
+ };
88734
+ content: {
88735
+ "application/json": components["schemas"]["MessageWithCode"];
88736
+ };
88737
+ };
88738
+ };
88739
+ };
88071
88740
  purchase_credit_note_views_list_purchase_credit_notes: {
88072
88741
  parameters: {
88073
88742
  query?: {
@@ -89684,6 +90353,66 @@ export interface operations {
89684
90353
  };
89685
90354
  };
89686
90355
  };
90356
+ sales_invoice_views_send_sales_invoice_whatsapp: {
90357
+ parameters: {
90358
+ query?: {
90359
+ templateId?: string | null;
90360
+ };
90361
+ header?: never;
90362
+ path: {
90363
+ id: string;
90364
+ };
90365
+ cookie?: never;
90366
+ };
90367
+ requestBody?: never;
90368
+ responses: {
90369
+ /** @description OK */
90370
+ 200: {
90371
+ headers: {
90372
+ [name: string]: unknown;
90373
+ };
90374
+ content: {
90375
+ "application/json": components["schemas"]["MessageWithCode"];
90376
+ };
90377
+ };
90378
+ /** @description Bad Request */
90379
+ 400: {
90380
+ headers: {
90381
+ [name: string]: unknown;
90382
+ };
90383
+ content: {
90384
+ "application/json": components["schemas"]["ErrorMessages"];
90385
+ };
90386
+ };
90387
+ /** @description Forbidden */
90388
+ 403: {
90389
+ headers: {
90390
+ [name: string]: unknown;
90391
+ };
90392
+ content: {
90393
+ "application/json": components["schemas"]["MessageWithCode"];
90394
+ };
90395
+ };
90396
+ /** @description Not Found */
90397
+ 404: {
90398
+ headers: {
90399
+ [name: string]: unknown;
90400
+ };
90401
+ content: {
90402
+ "application/json": components["schemas"]["MessageWithCode"];
90403
+ };
90404
+ };
90405
+ /** @description Internal Server Error */
90406
+ 500: {
90407
+ headers: {
90408
+ [name: string]: unknown;
90409
+ };
90410
+ content: {
90411
+ "application/json": components["schemas"]["MessageWithCode"];
90412
+ };
90413
+ };
90414
+ };
90415
+ };
89687
90416
  sales_return_order_views_list_sales_return_orders: {
89688
90417
  parameters: {
89689
90418
  query?: {
@@ -91491,7 +92220,69 @@ export interface operations {
91491
92220
  };
91492
92221
  };
91493
92222
  };
91494
- inventory_delivery_note_views_update_goods_delivery_note: {
92223
+ inventory_delivery_note_views_update_goods_delivery_note: {
92224
+ parameters: {
92225
+ query?: never;
92226
+ header?: never;
92227
+ path: {
92228
+ id: string;
92229
+ };
92230
+ cookie?: never;
92231
+ };
92232
+ requestBody: {
92233
+ content: {
92234
+ "application/json": components["schemas"]["CreateOrUpdateGoodsDeliveryNoteSchema"];
92235
+ };
92236
+ };
92237
+ responses: {
92238
+ /** @description OK */
92239
+ 200: {
92240
+ headers: {
92241
+ [name: string]: unknown;
92242
+ };
92243
+ content: {
92244
+ "application/json": components["schemas"]["GoodsDeliveryNoteSchema"];
92245
+ };
92246
+ };
92247
+ /** @description Bad Request */
92248
+ 400: {
92249
+ headers: {
92250
+ [name: string]: unknown;
92251
+ };
92252
+ content: {
92253
+ "application/json": components["schemas"]["ErrorMessages"];
92254
+ };
92255
+ };
92256
+ /** @description Forbidden */
92257
+ 403: {
92258
+ headers: {
92259
+ [name: string]: unknown;
92260
+ };
92261
+ content: {
92262
+ "application/json": components["schemas"]["MessageWithCode"];
92263
+ };
92264
+ };
92265
+ /** @description Not Found */
92266
+ 404: {
92267
+ headers: {
92268
+ [name: string]: unknown;
92269
+ };
92270
+ content: {
92271
+ "application/json": components["schemas"]["MessageWithCode"];
92272
+ };
92273
+ };
92274
+ /** @description Internal Server Error */
92275
+ 500: {
92276
+ headers: {
92277
+ [name: string]: unknown;
92278
+ };
92279
+ content: {
92280
+ "application/json": components["schemas"]["MessageWithCode"];
92281
+ };
92282
+ };
92283
+ };
92284
+ };
92285
+ inventory_delivery_note_views_delete_goods_delivery_note: {
91495
92286
  parameters: {
91496
92287
  query?: never;
91497
92288
  header?: never;
@@ -91502,18 +92293,16 @@ export interface operations {
91502
92293
  };
91503
92294
  requestBody: {
91504
92295
  content: {
91505
- "application/json": components["schemas"]["CreateOrUpdateGoodsDeliveryNoteSchema"];
92296
+ "application/json": components["schemas"]["ActionsPayloadSchemas"];
91506
92297
  };
91507
92298
  };
91508
92299
  responses: {
91509
- /** @description OK */
91510
- 200: {
92300
+ /** @description No Content */
92301
+ 204: {
91511
92302
  headers: {
91512
92303
  [name: string]: unknown;
91513
92304
  };
91514
- content: {
91515
- "application/json": components["schemas"]["GoodsDeliveryNoteSchema"];
91516
- };
92305
+ content?: never;
91517
92306
  };
91518
92307
  /** @description Bad Request */
91519
92308
  400: {
@@ -91553,7 +92342,7 @@ export interface operations {
91553
92342
  };
91554
92343
  };
91555
92344
  };
91556
- inventory_delivery_note_views_delete_goods_delivery_note: {
92345
+ inventory_delivery_note_views_reset_goods_delivery_note_to_draft: {
91557
92346
  parameters: {
91558
92347
  query?: never;
91559
92348
  header?: never;
@@ -91568,12 +92357,14 @@ export interface operations {
91568
92357
  };
91569
92358
  };
91570
92359
  responses: {
91571
- /** @description No Content */
91572
- 204: {
92360
+ /** @description OK */
92361
+ 200: {
91573
92362
  headers: {
91574
92363
  [name: string]: unknown;
91575
92364
  };
91576
- content?: never;
92365
+ content: {
92366
+ "application/json": components["schemas"]["GoodsDeliveryNoteSchema"];
92367
+ };
91577
92368
  };
91578
92369
  /** @description Bad Request */
91579
92370
  400: {
@@ -91613,7 +92404,7 @@ export interface operations {
91613
92404
  };
91614
92405
  };
91615
92406
  };
91616
- inventory_delivery_note_views_reset_goods_delivery_note_to_draft: {
92407
+ inventory_delivery_note_views_cancel_goods_delivery_note: {
91617
92408
  parameters: {
91618
92409
  query?: never;
91619
92410
  header?: never;
@@ -91675,7 +92466,7 @@ export interface operations {
91675
92466
  };
91676
92467
  };
91677
92468
  };
91678
- inventory_delivery_note_views_cancel_goods_delivery_note: {
92469
+ inventory_delivery_note_views_update_goods_delivery_note_shipment_status: {
91679
92470
  parameters: {
91680
92471
  query?: never;
91681
92472
  header?: never;
@@ -91686,7 +92477,7 @@ export interface operations {
91686
92477
  };
91687
92478
  requestBody: {
91688
92479
  content: {
91689
- "application/json": components["schemas"]["ActionsPayloadSchemas"];
92480
+ "application/json": components["schemas"]["UpdateGoodsDeliveryNoteShipmentStatusSchema"];
91690
92481
  };
91691
92482
  };
91692
92483
  responses: {
@@ -91737,20 +92528,18 @@ export interface operations {
91737
92528
  };
91738
92529
  };
91739
92530
  };
91740
- inventory_delivery_note_views_update_goods_delivery_note_shipment_status: {
92531
+ inventory_delivery_note_views_send_delivery_note_whatsapp: {
91741
92532
  parameters: {
91742
- query?: never;
92533
+ query?: {
92534
+ templateId?: string | null;
92535
+ };
91743
92536
  header?: never;
91744
92537
  path: {
91745
92538
  id: string;
91746
92539
  };
91747
92540
  cookie?: never;
91748
92541
  };
91749
- requestBody: {
91750
- content: {
91751
- "application/json": components["schemas"]["UpdateGoodsDeliveryNoteShipmentStatusSchema"];
91752
- };
91753
- };
92542
+ requestBody?: never;
91754
92543
  responses: {
91755
92544
  /** @description OK */
91756
92545
  200: {
@@ -91758,7 +92547,7 @@ export interface operations {
91758
92547
  [name: string]: unknown;
91759
92548
  };
91760
92549
  content: {
91761
- "application/json": components["schemas"]["GoodsDeliveryNoteSchema"];
92550
+ "application/json": components["schemas"]["MessageWithCode"];
91762
92551
  };
91763
92552
  };
91764
92553
  /** @description Bad Request */
@@ -96102,13 +96891,234 @@ export interface operations {
96102
96891
  };
96103
96892
  };
96104
96893
  };
96105
- integration_sync_views_sync_single_category_endpoint: {
96894
+ integration_sync_views_sync_single_category_endpoint: {
96895
+ parameters: {
96896
+ query?: never;
96897
+ header?: never;
96898
+ path: {
96899
+ id: number;
96900
+ };
96901
+ cookie?: never;
96902
+ };
96903
+ requestBody?: never;
96904
+ responses: {
96905
+ /** @description OK */
96906
+ 200: {
96907
+ headers: {
96908
+ [name: string]: unknown;
96909
+ };
96910
+ content: {
96911
+ "application/json": components["schemas"]["MessageResponse"];
96912
+ };
96913
+ };
96914
+ /** @description Bad Request */
96915
+ 400: {
96916
+ headers: {
96917
+ [name: string]: unknown;
96918
+ };
96919
+ content: {
96920
+ "application/json": components["schemas"]["ErrorMessages"];
96921
+ };
96922
+ };
96923
+ /** @description Not Found */
96924
+ 404: {
96925
+ headers: {
96926
+ [name: string]: unknown;
96927
+ };
96928
+ content: {
96929
+ "application/json": components["schemas"]["MessageResponse"];
96930
+ };
96931
+ };
96932
+ /** @description Conflict */
96933
+ 409: {
96934
+ headers: {
96935
+ [name: string]: unknown;
96936
+ };
96937
+ content: {
96938
+ "application/json": components["schemas"]["MessageResponse"];
96939
+ };
96940
+ };
96941
+ };
96942
+ };
96943
+ integration_sync_views_sync_all_categories_endpoint: {
96944
+ parameters: {
96945
+ query?: never;
96946
+ header?: never;
96947
+ path?: never;
96948
+ cookie?: never;
96949
+ };
96950
+ requestBody?: never;
96951
+ responses: {
96952
+ /** @description OK */
96953
+ 200: {
96954
+ headers: {
96955
+ [name: string]: unknown;
96956
+ };
96957
+ content: {
96958
+ "application/json": components["schemas"]["MessageResponse"];
96959
+ };
96960
+ };
96961
+ /** @description Not Found */
96962
+ 404: {
96963
+ headers: {
96964
+ [name: string]: unknown;
96965
+ };
96966
+ content: {
96967
+ "application/json": components["schemas"]["MessageResponse"];
96968
+ };
96969
+ };
96970
+ /** @description Conflict */
96971
+ 409: {
96972
+ headers: {
96973
+ [name: string]: unknown;
96974
+ };
96975
+ content: {
96976
+ "application/json": components["schemas"]["MessageResponse"];
96977
+ };
96978
+ };
96979
+ };
96980
+ };
96981
+ integration_sync_views_sync_single_brand_endpoint: {
96982
+ parameters: {
96983
+ query?: never;
96984
+ header?: never;
96985
+ path: {
96986
+ id: number;
96987
+ };
96988
+ cookie?: never;
96989
+ };
96990
+ requestBody?: never;
96991
+ responses: {
96992
+ /** @description OK */
96993
+ 200: {
96994
+ headers: {
96995
+ [name: string]: unknown;
96996
+ };
96997
+ content: {
96998
+ "application/json": components["schemas"]["MessageResponse"];
96999
+ };
97000
+ };
97001
+ /** @description Bad Request */
97002
+ 400: {
97003
+ headers: {
97004
+ [name: string]: unknown;
97005
+ };
97006
+ content: {
97007
+ "application/json": components["schemas"]["ErrorMessages"];
97008
+ };
97009
+ };
97010
+ /** @description Not Found */
97011
+ 404: {
97012
+ headers: {
97013
+ [name: string]: unknown;
97014
+ };
97015
+ content: {
97016
+ "application/json": components["schemas"]["MessageResponse"];
97017
+ };
97018
+ };
97019
+ /** @description Conflict */
97020
+ 409: {
97021
+ headers: {
97022
+ [name: string]: unknown;
97023
+ };
97024
+ content: {
97025
+ "application/json": components["schemas"]["MessageResponse"];
97026
+ };
97027
+ };
97028
+ };
97029
+ };
97030
+ integration_sync_views_sync_all_brands_endpoint: {
97031
+ parameters: {
97032
+ query?: never;
97033
+ header?: never;
97034
+ path?: never;
97035
+ cookie?: never;
97036
+ };
97037
+ requestBody?: never;
97038
+ responses: {
97039
+ /** @description OK */
97040
+ 200: {
97041
+ headers: {
97042
+ [name: string]: unknown;
97043
+ };
97044
+ content: {
97045
+ "application/json": components["schemas"]["MessageResponse"];
97046
+ };
97047
+ };
97048
+ /** @description Not Found */
97049
+ 404: {
97050
+ headers: {
97051
+ [name: string]: unknown;
97052
+ };
97053
+ content: {
97054
+ "application/json": components["schemas"]["MessageResponse"];
97055
+ };
97056
+ };
97057
+ /** @description Conflict */
97058
+ 409: {
97059
+ headers: {
97060
+ [name: string]: unknown;
97061
+ };
97062
+ content: {
97063
+ "application/json": components["schemas"]["MessageResponse"];
97064
+ };
97065
+ };
97066
+ };
97067
+ };
97068
+ integration_sync_views_sync_single_tag_endpoint: {
97069
+ parameters: {
97070
+ query?: never;
97071
+ header?: never;
97072
+ path: {
97073
+ id: number;
97074
+ };
97075
+ cookie?: never;
97076
+ };
97077
+ requestBody?: never;
97078
+ responses: {
97079
+ /** @description OK */
97080
+ 200: {
97081
+ headers: {
97082
+ [name: string]: unknown;
97083
+ };
97084
+ content: {
97085
+ "application/json": components["schemas"]["MessageResponse"];
97086
+ };
97087
+ };
97088
+ /** @description Bad Request */
97089
+ 400: {
97090
+ headers: {
97091
+ [name: string]: unknown;
97092
+ };
97093
+ content: {
97094
+ "application/json": components["schemas"]["ErrorMessages"];
97095
+ };
97096
+ };
97097
+ /** @description Not Found */
97098
+ 404: {
97099
+ headers: {
97100
+ [name: string]: unknown;
97101
+ };
97102
+ content: {
97103
+ "application/json": components["schemas"]["MessageResponse"];
97104
+ };
97105
+ };
97106
+ /** @description Conflict */
97107
+ 409: {
97108
+ headers: {
97109
+ [name: string]: unknown;
97110
+ };
97111
+ content: {
97112
+ "application/json": components["schemas"]["MessageResponse"];
97113
+ };
97114
+ };
97115
+ };
97116
+ };
97117
+ integration_sync_views_sync_all_tags_endpoint: {
96106
97118
  parameters: {
96107
97119
  query?: never;
96108
97120
  header?: never;
96109
- path: {
96110
- id: number;
96111
- };
97121
+ path?: never;
96112
97122
  cookie?: never;
96113
97123
  };
96114
97124
  requestBody?: never;
@@ -96122,15 +97132,6 @@ export interface operations {
96122
97132
  "application/json": components["schemas"]["MessageResponse"];
96123
97133
  };
96124
97134
  };
96125
- /** @description Bad Request */
96126
- 400: {
96127
- headers: {
96128
- [name: string]: unknown;
96129
- };
96130
- content: {
96131
- "application/json": components["schemas"]["ErrorMessages"];
96132
- };
96133
- };
96134
97135
  /** @description Not Found */
96135
97136
  404: {
96136
97137
  headers: {
@@ -96151,7 +97152,7 @@ export interface operations {
96151
97152
  };
96152
97153
  };
96153
97154
  };
96154
- integration_sync_views_sync_all_categories_endpoint: {
97155
+ integration_sync_views_sync_orders_endpoint: {
96155
97156
  parameters: {
96156
97157
  query?: never;
96157
97158
  header?: never;
@@ -96169,6 +97170,15 @@ export interface operations {
96169
97170
  "application/json": components["schemas"]["MessageResponse"];
96170
97171
  };
96171
97172
  };
97173
+ /** @description Bad Request */
97174
+ 400: {
97175
+ headers: {
97176
+ [name: string]: unknown;
97177
+ };
97178
+ content: {
97179
+ "application/json": components["schemas"]["ErrorMessages"];
97180
+ };
97181
+ };
96172
97182
  /** @description Not Found */
96173
97183
  404: {
96174
97184
  headers: {
@@ -96187,15 +97197,22 @@ export interface operations {
96187
97197
  "application/json": components["schemas"]["MessageResponse"];
96188
97198
  };
96189
97199
  };
97200
+ /** @description Internal Server Error */
97201
+ 500: {
97202
+ headers: {
97203
+ [name: string]: unknown;
97204
+ };
97205
+ content: {
97206
+ "application/json": components["schemas"]["MessageResponse"];
97207
+ };
97208
+ };
96190
97209
  };
96191
97210
  };
96192
- integration_sync_views_sync_single_brand_endpoint: {
97211
+ integration_sync_views_sync_customers_endpoint: {
96193
97212
  parameters: {
96194
97213
  query?: never;
96195
97214
  header?: never;
96196
- path: {
96197
- id: number;
96198
- };
97215
+ path?: never;
96199
97216
  cookie?: never;
96200
97217
  };
96201
97218
  requestBody?: never;
@@ -96236,11 +97253,27 @@ export interface operations {
96236
97253
  "application/json": components["schemas"]["MessageResponse"];
96237
97254
  };
96238
97255
  };
97256
+ /** @description Internal Server Error */
97257
+ 500: {
97258
+ headers: {
97259
+ [name: string]: unknown;
97260
+ };
97261
+ content: {
97262
+ "application/json": components["schemas"]["MessageResponse"];
97263
+ };
97264
+ };
96239
97265
  };
96240
97266
  };
96241
- integration_sync_views_sync_all_brands_endpoint: {
97267
+ integration_sync_views_list_orders: {
96242
97268
  parameters: {
96243
- query?: never;
97269
+ query?: {
97270
+ /** @description Page number */
97271
+ page?: number;
97272
+ /** @description Page size */
97273
+ pageSize?: number;
97274
+ /** @description Search by order number, customer name, customer email, item name, item sku code, financial status, fulfillment status */
97275
+ search?: string | null;
97276
+ };
96244
97277
  header?: never;
96245
97278
  path?: never;
96246
97279
  cookie?: never;
@@ -96253,7 +97286,16 @@ export interface operations {
96253
97286
  [name: string]: unknown;
96254
97287
  };
96255
97288
  content: {
96256
- "application/json": components["schemas"]["MessageResponse"];
97289
+ "application/json": components["schemas"]["OnlineOrderListSchema"];
97290
+ };
97291
+ };
97292
+ /** @description Bad Request */
97293
+ 400: {
97294
+ headers: {
97295
+ [name: string]: unknown;
97296
+ };
97297
+ content: {
97298
+ "application/json": components["schemas"]["ErrorMessages"];
96257
97299
  };
96258
97300
  };
96259
97301
  /** @description Not Found */
@@ -96265,8 +97307,8 @@ export interface operations {
96265
97307
  "application/json": components["schemas"]["MessageResponse"];
96266
97308
  };
96267
97309
  };
96268
- /** @description Conflict */
96269
- 409: {
97310
+ /** @description Internal Server Error */
97311
+ 500: {
96270
97312
  headers: {
96271
97313
  [name: string]: unknown;
96272
97314
  };
@@ -96276,12 +97318,12 @@ export interface operations {
96276
97318
  };
96277
97319
  };
96278
97320
  };
96279
- integration_sync_views_sync_single_tag_endpoint: {
97321
+ integration_sync_views_get_order: {
96280
97322
  parameters: {
96281
97323
  query?: never;
96282
97324
  header?: never;
96283
97325
  path: {
96284
- id: number;
97326
+ order_id: string;
96285
97327
  };
96286
97328
  cookie?: never;
96287
97329
  };
@@ -96293,7 +97335,7 @@ export interface operations {
96293
97335
  [name: string]: unknown;
96294
97336
  };
96295
97337
  content: {
96296
- "application/json": components["schemas"]["MessageResponse"];
97338
+ "application/json": components["schemas"]["OnlineOrderSchema"];
96297
97339
  };
96298
97340
  };
96299
97341
  /** @description Bad Request */
@@ -96314,8 +97356,8 @@ export interface operations {
96314
97356
  "application/json": components["schemas"]["MessageResponse"];
96315
97357
  };
96316
97358
  };
96317
- /** @description Conflict */
96318
- 409: {
97359
+ /** @description Internal Server Error */
97360
+ 500: {
96319
97361
  headers: {
96320
97362
  [name: string]: unknown;
96321
97363
  };
@@ -96325,11 +97367,13 @@ export interface operations {
96325
97367
  };
96326
97368
  };
96327
97369
  };
96328
- integration_sync_views_sync_all_tags_endpoint: {
97370
+ integration_sync_views_sync_single_customer_endpoint: {
96329
97371
  parameters: {
96330
97372
  query?: never;
96331
97373
  header?: never;
96332
- path?: never;
97374
+ path: {
97375
+ customer_id: number;
97376
+ };
96333
97377
  cookie?: never;
96334
97378
  };
96335
97379
  requestBody?: never;
@@ -96343,6 +97387,24 @@ export interface operations {
96343
97387
  "application/json": components["schemas"]["MessageResponse"];
96344
97388
  };
96345
97389
  };
97390
+ /** @description Accepted */
97391
+ 202: {
97392
+ headers: {
97393
+ [name: string]: unknown;
97394
+ };
97395
+ content: {
97396
+ "application/json": components["schemas"]["MessageResponse"];
97397
+ };
97398
+ };
97399
+ /** @description Bad Request */
97400
+ 400: {
97401
+ headers: {
97402
+ [name: string]: unknown;
97403
+ };
97404
+ content: {
97405
+ "application/json": components["schemas"]["ErrorMessages"];
97406
+ };
97407
+ };
96346
97408
  /** @description Not Found */
96347
97409
  404: {
96348
97410
  headers: {
@@ -96363,22 +97425,26 @@ export interface operations {
96363
97425
  };
96364
97426
  };
96365
97427
  };
96366
- integration_sync_views_sync_orders_endpoint: {
97428
+ integration_whatsapp_views_setup_whatsapp: {
96367
97429
  parameters: {
96368
97430
  query?: never;
96369
97431
  header?: never;
96370
97432
  path?: never;
96371
97433
  cookie?: never;
96372
97434
  };
96373
- requestBody?: never;
97435
+ requestBody: {
97436
+ content: {
97437
+ "application/json": components["schemas"]["CreateWhatsAppIntegrationSchema"];
97438
+ };
97439
+ };
96374
97440
  responses: {
96375
- /** @description OK */
96376
- 200: {
97441
+ /** @description Created */
97442
+ 201: {
96377
97443
  headers: {
96378
97444
  [name: string]: unknown;
96379
97445
  };
96380
97446
  content: {
96381
- "application/json": components["schemas"]["MessageResponse"];
97447
+ "application/json": components["schemas"]["WhatsAppIntegrationResponseSchema"];
96382
97448
  };
96383
97449
  };
96384
97450
  /** @description Bad Request */
@@ -96390,13 +97456,13 @@ export interface operations {
96390
97456
  "application/json": components["schemas"]["ErrorMessages"];
96391
97457
  };
96392
97458
  };
96393
- /** @description Not Found */
96394
- 404: {
97459
+ /** @description Forbidden */
97460
+ 403: {
96395
97461
  headers: {
96396
97462
  [name: string]: unknown;
96397
97463
  };
96398
97464
  content: {
96399
- "application/json": components["schemas"]["MessageResponse"];
97465
+ "application/json": components["schemas"]["MessageWithCode"];
96400
97466
  };
96401
97467
  };
96402
97468
  /** @description Conflict */
@@ -96405,7 +97471,7 @@ export interface operations {
96405
97471
  [name: string]: unknown;
96406
97472
  };
96407
97473
  content: {
96408
- "application/json": components["schemas"]["MessageResponse"];
97474
+ "application/json": components["schemas"]["MessageWithCode"];
96409
97475
  };
96410
97476
  };
96411
97477
  /** @description Internal Server Error */
@@ -96414,12 +97480,12 @@ export interface operations {
96414
97480
  [name: string]: unknown;
96415
97481
  };
96416
97482
  content: {
96417
- "application/json": components["schemas"]["MessageResponse"];
97483
+ "application/json": components["schemas"]["MessageWithCode"];
96418
97484
  };
96419
97485
  };
96420
97486
  };
96421
97487
  };
96422
- integration_sync_views_sync_customers_endpoint: {
97488
+ integration_whatsapp_views_sync_approval_statuses: {
96423
97489
  parameters: {
96424
97490
  query?: never;
96425
97491
  header?: never;
@@ -96434,16 +97500,16 @@ export interface operations {
96434
97500
  [name: string]: unknown;
96435
97501
  };
96436
97502
  content: {
96437
- "application/json": components["schemas"]["MessageResponse"];
97503
+ "application/json": components["schemas"]["SyncApprovalStatusesResponseSchema"];
96438
97504
  };
96439
97505
  };
96440
- /** @description Bad Request */
96441
- 400: {
97506
+ /** @description Forbidden */
97507
+ 403: {
96442
97508
  headers: {
96443
97509
  [name: string]: unknown;
96444
97510
  };
96445
97511
  content: {
96446
- "application/json": components["schemas"]["ErrorMessages"];
97512
+ "application/json": components["schemas"]["MessageWithCode"];
96447
97513
  };
96448
97514
  };
96449
97515
  /** @description Not Found */
@@ -96452,16 +97518,7 @@ export interface operations {
96452
97518
  [name: string]: unknown;
96453
97519
  };
96454
97520
  content: {
96455
- "application/json": components["schemas"]["MessageResponse"];
96456
- };
96457
- };
96458
- /** @description Conflict */
96459
- 409: {
96460
- headers: {
96461
- [name: string]: unknown;
96462
- };
96463
- content: {
96464
- "application/json": components["schemas"]["MessageResponse"];
97521
+ "application/json": components["schemas"]["MessageWithCode"];
96465
97522
  };
96466
97523
  };
96467
97524
  /** @description Internal Server Error */
@@ -96470,20 +97527,22 @@ export interface operations {
96470
97527
  [name: string]: unknown;
96471
97528
  };
96472
97529
  content: {
96473
- "application/json": components["schemas"]["MessageResponse"];
97530
+ "application/json": components["schemas"]["MessageWithCode"];
96474
97531
  };
96475
97532
  };
96476
97533
  };
96477
97534
  };
96478
- integration_sync_views_list_orders: {
97535
+ integration_whatsapp_views_get_templates: {
96479
97536
  parameters: {
96480
97537
  query?: {
96481
97538
  /** @description Page number */
96482
97539
  page?: number;
96483
97540
  /** @description Page size */
96484
97541
  pageSize?: number;
96485
- /** @description Search by order number, customer name, customer email, item name, item sku code, financial status, fulfillment status */
97542
+ /** @description Search by template name or language */
96486
97543
  search?: string | null;
97544
+ /** @description Filter by entity type */
97545
+ entityType?: components["schemas"]["EntityType"] | null;
96487
97546
  };
96488
97547
  header?: never;
96489
97548
  path?: never;
@@ -96497,16 +97556,16 @@ export interface operations {
96497
97556
  [name: string]: unknown;
96498
97557
  };
96499
97558
  content: {
96500
- "application/json": components["schemas"]["OnlineOrderListSchema"];
97559
+ "application/json": components["schemas"]["GetTemplatesResponseSchema"];
96501
97560
  };
96502
97561
  };
96503
- /** @description Bad Request */
96504
- 400: {
97562
+ /** @description Forbidden */
97563
+ 403: {
96505
97564
  headers: {
96506
97565
  [name: string]: unknown;
96507
97566
  };
96508
97567
  content: {
96509
- "application/json": components["schemas"]["ErrorMessages"];
97568
+ "application/json": components["schemas"]["MessageWithCode"];
96510
97569
  };
96511
97570
  };
96512
97571
  /** @description Not Found */
@@ -96515,7 +97574,7 @@ export interface operations {
96515
97574
  [name: string]: unknown;
96516
97575
  };
96517
97576
  content: {
96518
- "application/json": components["schemas"]["MessageResponse"];
97577
+ "application/json": components["schemas"]["MessageWithCode"];
96519
97578
  };
96520
97579
  };
96521
97580
  /** @description Internal Server Error */
@@ -96524,29 +97583,31 @@ export interface operations {
96524
97583
  [name: string]: unknown;
96525
97584
  };
96526
97585
  content: {
96527
- "application/json": components["schemas"]["MessageResponse"];
97586
+ "application/json": components["schemas"]["MessageWithCode"];
96528
97587
  };
96529
97588
  };
96530
97589
  };
96531
97590
  };
96532
- integration_sync_views_get_order: {
97591
+ integration_whatsapp_views_register_template: {
96533
97592
  parameters: {
96534
97593
  query?: never;
96535
97594
  header?: never;
96536
- path: {
96537
- order_id: string;
96538
- };
97595
+ path?: never;
96539
97596
  cookie?: never;
96540
97597
  };
96541
- requestBody?: never;
97598
+ requestBody: {
97599
+ content: {
97600
+ "application/json": components["schemas"]["RegisterTemplateSchema"];
97601
+ };
97602
+ };
96542
97603
  responses: {
96543
- /** @description OK */
96544
- 200: {
97604
+ /** @description Created */
97605
+ 201: {
96545
97606
  headers: {
96546
97607
  [name: string]: unknown;
96547
97608
  };
96548
97609
  content: {
96549
- "application/json": components["schemas"]["OnlineOrderSchema"];
97610
+ "application/json": components["schemas"]["TemplateSchema"];
96550
97611
  };
96551
97612
  };
96552
97613
  /** @description Bad Request */
@@ -96558,13 +97619,22 @@ export interface operations {
96558
97619
  "application/json": components["schemas"]["ErrorMessages"];
96559
97620
  };
96560
97621
  };
97622
+ /** @description Forbidden */
97623
+ 403: {
97624
+ headers: {
97625
+ [name: string]: unknown;
97626
+ };
97627
+ content: {
97628
+ "application/json": components["schemas"]["MessageWithCode"];
97629
+ };
97630
+ };
96561
97631
  /** @description Not Found */
96562
97632
  404: {
96563
97633
  headers: {
96564
97634
  [name: string]: unknown;
96565
97635
  };
96566
97636
  content: {
96567
- "application/json": components["schemas"]["MessageResponse"];
97637
+ "application/json": components["schemas"]["MessageWithCode"];
96568
97638
  };
96569
97639
  };
96570
97640
  /** @description Internal Server Error */
@@ -96573,17 +97643,17 @@ export interface operations {
96573
97643
  [name: string]: unknown;
96574
97644
  };
96575
97645
  content: {
96576
- "application/json": components["schemas"]["MessageResponse"];
97646
+ "application/json": components["schemas"]["MessageWithCode"];
96577
97647
  };
96578
97648
  };
96579
97649
  };
96580
97650
  };
96581
- integration_sync_views_sync_single_customer_endpoint: {
97651
+ integration_whatsapp_views_get_template: {
96582
97652
  parameters: {
96583
97653
  query?: never;
96584
97654
  header?: never;
96585
97655
  path: {
96586
- customer_id: number;
97656
+ id: string;
96587
97657
  };
96588
97658
  cookie?: never;
96589
97659
  };
@@ -96595,17 +97665,55 @@ export interface operations {
96595
97665
  [name: string]: unknown;
96596
97666
  };
96597
97667
  content: {
96598
- "application/json": components["schemas"]["MessageResponse"];
97668
+ "application/json": components["schemas"]["TemplateSchema"];
96599
97669
  };
96600
97670
  };
96601
- /** @description Accepted */
96602
- 202: {
97671
+ /** @description Forbidden */
97672
+ 403: {
96603
97673
  headers: {
96604
97674
  [name: string]: unknown;
96605
97675
  };
96606
97676
  content: {
96607
- "application/json": components["schemas"]["MessageResponse"];
97677
+ "application/json": components["schemas"]["MessageWithCode"];
97678
+ };
97679
+ };
97680
+ /** @description Not Found */
97681
+ 404: {
97682
+ headers: {
97683
+ [name: string]: unknown;
97684
+ };
97685
+ content: {
97686
+ "application/json": components["schemas"]["MessageWithCode"];
97687
+ };
97688
+ };
97689
+ /** @description Internal Server Error */
97690
+ 500: {
97691
+ headers: {
97692
+ [name: string]: unknown;
97693
+ };
97694
+ content: {
97695
+ "application/json": components["schemas"]["MessageWithCode"];
97696
+ };
97697
+ };
97698
+ };
97699
+ };
97700
+ integration_whatsapp_views_delete_template: {
97701
+ parameters: {
97702
+ query?: never;
97703
+ header?: never;
97704
+ path: {
97705
+ id: string;
97706
+ };
97707
+ cookie?: never;
97708
+ };
97709
+ requestBody?: never;
97710
+ responses: {
97711
+ /** @description No Content */
97712
+ 204: {
97713
+ headers: {
97714
+ [name: string]: unknown;
96608
97715
  };
97716
+ content?: never;
96609
97717
  };
96610
97718
  /** @description Bad Request */
96611
97719
  400: {
@@ -96616,22 +97724,31 @@ export interface operations {
96616
97724
  "application/json": components["schemas"]["ErrorMessages"];
96617
97725
  };
96618
97726
  };
97727
+ /** @description Forbidden */
97728
+ 403: {
97729
+ headers: {
97730
+ [name: string]: unknown;
97731
+ };
97732
+ content: {
97733
+ "application/json": components["schemas"]["MessageWithCode"];
97734
+ };
97735
+ };
96619
97736
  /** @description Not Found */
96620
97737
  404: {
96621
97738
  headers: {
96622
97739
  [name: string]: unknown;
96623
97740
  };
96624
97741
  content: {
96625
- "application/json": components["schemas"]["MessageResponse"];
97742
+ "application/json": components["schemas"]["MessageWithCode"];
96626
97743
  };
96627
97744
  };
96628
- /** @description Conflict */
96629
- 409: {
97745
+ /** @description Internal Server Error */
97746
+ 500: {
96630
97747
  headers: {
96631
97748
  [name: string]: unknown;
96632
97749
  };
96633
97750
  content: {
96634
- "application/json": components["schemas"]["MessageResponse"];
97751
+ "application/json": components["schemas"]["MessageWithCode"];
96635
97752
  };
96636
97753
  };
96637
97754
  };