@erp-galoper/types 1.0.1441 → 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 +89 -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
@@ -55888,6 +55900,26 @@ export interface components {
55888
55900
  */
55889
55901
  whatsappNumber?: string | null;
55890
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";
55891
55923
  /**
55892
55924
  * SyncApprovalStatusesResponseSchema
55893
55925
  * @description Schema for sync approval statuses response.
@@ -100198,6 +100230,62 @@ export interface operations {
100198
100230
  };
100199
100231
  };
100200
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
+ };
100201
100289
  integration_whatsapp_views_setup_whatsapp: {
100202
100290
  parameters: {
100203
100291
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1441",
3
+ "version": "1.0.1442",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],