@erp-galoper/types 1.0.1440 → 1.0.1442

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 +95 -1
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -21519,7 +21519,19 @@ export interface paths {
21519
21519
  path?: never;
21520
21520
  cookie?: never;
21521
21521
  };
21522
- get?: never;
21522
+ /**
21523
+ * Get Whatsapp Integration
21524
+ * @description Endpoint for retrieve WhatsApp integration
21525
+ *
21526
+ * Responses:
21527
+ * - 200: whatsappIntegrationSetup
21528
+ * - 403: permissionDenied
21529
+ * - 404: WhatsAppIntegrationDoesNotExist
21530
+ * - 500: serverError
21531
+ *
21532
+ * Permission key: whatsappintegration: ["view"]
21533
+ */
21534
+ get: operations["integration_whatsapp_views_get_whatsapp_integration"];
21523
21535
  put?: never;
21524
21536
  /**
21525
21537
  * Setup WhatsApp Integration
@@ -46096,6 +46108,11 @@ export interface components {
46096
46108
  * @enum {string}
46097
46109
  */
46098
46110
  PriceListCurrencyEnum: "primary" | "secondary";
46111
+ /**
46112
+ * PricingModeEnum
46113
+ * @enum {string}
46114
+ */
46115
+ PricingModeEnum: "unit" | "ttc";
46099
46116
  /** ListPackageTypeSchema */
46100
46117
  ListPackageTypeSchema: {
46101
46118
  info: components["schemas"]["PageInfoSchema"];
@@ -55883,6 +55900,26 @@ export interface components {
55883
55900
  */
55884
55901
  whatsappNumber?: string | null;
55885
55902
  };
55903
+ /** RetrieveWhatsAppIntegration */
55904
+ RetrieveWhatsAppIntegration: {
55905
+ /**
55906
+ * Id
55907
+ * Format: uuid
55908
+ */
55909
+ id: string;
55910
+ /** Accountsid */
55911
+ accountSid: string;
55912
+ /** Whatsappnumber */
55913
+ whatsappNumber: string;
55914
+ status: components["schemas"]["WhatsappIntegrationStatus"];
55915
+ /** Isactive */
55916
+ isActive: boolean;
55917
+ };
55918
+ /**
55919
+ * WhatsappIntegrationStatus
55920
+ * @enum {string}
55921
+ */
55922
+ WhatsappIntegrationStatus: "active" | "suspended" | "closed";
55886
55923
  /**
55887
55924
  * SyncApprovalStatusesResponseSchema
55888
55925
  * @description Schema for sync approval statuses response.
@@ -86809,6 +86846,7 @@ export interface operations {
86809
86846
  priceListType?: "wholesale" | "retail";
86810
86847
  /** @description Currency of the price list */
86811
86848
  priceListCurrency?: "primary" | "secondary";
86849
+ pricing_mode?: "unit" | "ttc";
86812
86850
  };
86813
86851
  header?: never;
86814
86852
  path?: never;
@@ -100192,6 +100230,62 @@ export interface operations {
100192
100230
  };
100193
100231
  };
100194
100232
  };
100233
+ integration_whatsapp_views_get_whatsapp_integration: {
100234
+ parameters: {
100235
+ query?: never;
100236
+ header?: never;
100237
+ path?: never;
100238
+ cookie?: never;
100239
+ };
100240
+ requestBody?: never;
100241
+ responses: {
100242
+ /** @description OK */
100243
+ 200: {
100244
+ headers: {
100245
+ [name: string]: unknown;
100246
+ };
100247
+ content: {
100248
+ "application/json": components["schemas"]["RetrieveWhatsAppIntegration"];
100249
+ };
100250
+ };
100251
+ /** @description Bad Request */
100252
+ 400: {
100253
+ headers: {
100254
+ [name: string]: unknown;
100255
+ };
100256
+ content: {
100257
+ "application/json": components["schemas"]["ErrorMessages"];
100258
+ };
100259
+ };
100260
+ /** @description Not Found */
100261
+ 404: {
100262
+ headers: {
100263
+ [name: string]: unknown;
100264
+ };
100265
+ content: {
100266
+ "application/json": components["schemas"]["MessageWithCode"];
100267
+ };
100268
+ };
100269
+ /** @description Conflict */
100270
+ 409: {
100271
+ headers: {
100272
+ [name: string]: unknown;
100273
+ };
100274
+ content: {
100275
+ "application/json": components["schemas"]["MessageWithCode"];
100276
+ };
100277
+ };
100278
+ /** @description Internal Server Error */
100279
+ 500: {
100280
+ headers: {
100281
+ [name: string]: unknown;
100282
+ };
100283
+ content: {
100284
+ "application/json": components["schemas"]["MessageWithCode"];
100285
+ };
100286
+ };
100287
+ };
100288
+ };
100195
100289
  integration_whatsapp_views_setup_whatsapp: {
100196
100290
  parameters: {
100197
100291
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1440",
3
+ "version": "1.0.1442",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],