@erp-galoper/types 1.0.1441 → 1.0.1443

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 +153 -8
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -4656,7 +4656,7 @@ export interface paths {
4656
4656
  * Get Stock Adjustment
4657
4657
  * @description Endpoint for retrieving Stock Adjustment Document
4658
4658
  * Responses:
4659
- * - 200: StockAdjustmentDetailedSchema
4659
+ * - 200: StockAdjustmentRetrieveSchema
4660
4660
  * - 403: "permissionDenied"
4661
4661
  * - "noBranchAccess"
4662
4662
  * - 404: "stockAdjustmentNotFound"
@@ -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
@@ -23855,22 +23867,22 @@ export interface components {
23855
23867
  * BasePermissionsSchema_Purchase_PurchaseorderEnum
23856
23868
  * @enum {string}
23857
23869
  */
23858
- BasePermissionsSchema_Purchase_PurchaseorderEnum: "add" | "approve" | "cancel" | "change" | "delete" | "export" | "resettodraft" | "view";
23870
+ BasePermissionsSchema_Purchase_PurchaseorderEnum: "add" | "approve" | "cancel" | "change" | "delete" | "export" | "resettodraft" | "send" | "view";
23859
23871
  /**
23860
23872
  * BasePermissionsSchema_Purchase_PurchasequotationEnum
23861
23873
  * @enum {string}
23862
23874
  */
23863
- BasePermissionsSchema_Purchase_PurchasequotationEnum: "add" | "approve" | "cancel" | "change" | "delete" | "export" | "resettodraft" | "view";
23875
+ BasePermissionsSchema_Purchase_PurchasequotationEnum: "add" | "approve" | "cancel" | "change" | "delete" | "export" | "resettodraft" | "send" | "view";
23864
23876
  /**
23865
23877
  * BasePermissionsSchema_Purchase_PurchasereturninvoiceEnum
23866
23878
  * @enum {string}
23867
23879
  */
23868
- BasePermissionsSchema_Purchase_PurchasereturninvoiceEnum: "add" | "approve" | "cancel" | "change" | "delete" | "export" | "resettodraft" | "view";
23880
+ BasePermissionsSchema_Purchase_PurchasereturninvoiceEnum: "add" | "approve" | "cancel" | "change" | "delete" | "export" | "resettodraft" | "send" | "view";
23869
23881
  /**
23870
23882
  * BasePermissionsSchema_Purchase_PurchasereturnorderEnum
23871
23883
  * @enum {string}
23872
23884
  */
23873
- BasePermissionsSchema_Purchase_PurchasereturnorderEnum: "add" | "approve" | "cancel" | "change" | "delete" | "export" | "resettodraft" | "view";
23885
+ BasePermissionsSchema_Purchase_PurchasereturnorderEnum: "add" | "approve" | "cancel" | "change" | "delete" | "export" | "resettodraft" | "send" | "view";
23874
23886
  /**
23875
23887
  * BasePermissionsSchema_Purchase_RefundvoucherEnum
23876
23888
  * @enum {string}
@@ -24377,7 +24389,7 @@ export interface components {
24377
24389
  * BasePermissionsSchema_Sales_SalesreturnorderEnum
24378
24390
  * @enum {string}
24379
24391
  */
24380
- BasePermissionsSchema_Sales_SalesreturnorderEnum: "add" | "approve" | "cancel" | "change" | "delete" | "export" | "resettodraft" | "view";
24392
+ BasePermissionsSchema_Sales_SalesreturnorderEnum: "add" | "approve" | "cancel" | "change" | "delete" | "export" | "resettodraft" | "send" | "view";
24381
24393
  /**
24382
24394
  * BasePermissionsSchema_Sales_SalessummaryreportEnum
24383
24395
  * @constant
@@ -31231,6 +31243,63 @@ export interface components {
31231
31243
  */
31232
31244
  id?: number;
31233
31245
  };
31246
+ /** StockAdjustmentRetrieveDetailSchema */
31247
+ StockAdjustmentRetrieveDetailSchema: {
31248
+ /**
31249
+ * Datecreated
31250
+ * Format: date-time
31251
+ */
31252
+ dateCreated: string;
31253
+ /** Datemodified */
31254
+ dateModified: string | null;
31255
+ createdBy: components["schemas"]["RecordUserSchema"];
31256
+ modifiedBy: components["schemas"]["RecordUserSchema"] | null;
31257
+ /** Id */
31258
+ id: number;
31259
+ item: components["schemas"]["ItemSchema"];
31260
+ /** @description Tracking method: serial_number, batch, or quantity */
31261
+ trackInventoryBy?: components["schemas"]["TrackingMethodChoices"] | null;
31262
+ reason?: components["schemas"]["Reason"] | null;
31263
+ adjustmentType: components["schemas"]["AdjustmentTypeOption"];
31264
+ /** Adjustmentquantity */
31265
+ adjustmentQuantity: number;
31266
+ unitOfMeasure?: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
31267
+ itemPackage?: components["schemas"]["ItemPackageSummarySchema"] | null;
31268
+ batch?: components["schemas"]["BatchSerialSummarySchema"] | null;
31269
+ serial?: components["schemas"]["BatchSerialSummarySchema"] | null;
31270
+ /**
31271
+ * Candelete
31272
+ * @default true
31273
+ */
31274
+ canDelete: boolean;
31275
+ };
31276
+ /** StockAdjustmentRetrieveSchema */
31277
+ StockAdjustmentRetrieveSchema: {
31278
+ /**
31279
+ * Datecreated
31280
+ * Format: date-time
31281
+ */
31282
+ dateCreated: string;
31283
+ /** Datemodified */
31284
+ dateModified: string | null;
31285
+ createdBy: components["schemas"]["RecordUserSchema"];
31286
+ modifiedBy: components["schemas"]["RecordUserSchema"] | null;
31287
+ /** Id */
31288
+ id: number;
31289
+ status: components["schemas"]["InternalStatusOnReturnValueChoices"];
31290
+ approvalStatus: components["schemas"]["ApprovalValueChoices"];
31291
+ /** Serialnumber */
31292
+ serialNumber: string;
31293
+ warehouse: components["schemas"]["WarehouseSummaryInfo"];
31294
+ branch: components["schemas"]["BranchSummaryInfo"];
31295
+ /** Description */
31296
+ description?: string | null;
31297
+ /**
31298
+ * Details
31299
+ * @default []
31300
+ */
31301
+ details: components["schemas"]["StockAdjustmentRetrieveDetailSchema"][];
31302
+ };
31234
31303
  /** OpeningQuantityDetailsSchema */
31235
31304
  OpeningQuantityDetailsSchema: {
31236
31305
  /**
@@ -55888,6 +55957,26 @@ export interface components {
55888
55957
  */
55889
55958
  whatsappNumber?: string | null;
55890
55959
  };
55960
+ /** RetrieveWhatsAppIntegration */
55961
+ RetrieveWhatsAppIntegration: {
55962
+ /**
55963
+ * Id
55964
+ * Format: uuid
55965
+ */
55966
+ id: string;
55967
+ /** Accountsid */
55968
+ accountSid: string;
55969
+ /** Whatsappnumber */
55970
+ whatsappNumber: string;
55971
+ status: components["schemas"]["WhatsappIntegrationStatus"];
55972
+ /** Isactive */
55973
+ isActive: boolean;
55974
+ };
55975
+ /**
55976
+ * WhatsappIntegrationStatus
55977
+ * @enum {string}
55978
+ */
55979
+ WhatsappIntegrationStatus: "active" | "suspended" | "closed";
55891
55980
  /**
55892
55981
  * SyncApprovalStatusesResponseSchema
55893
55982
  * @description Schema for sync approval statuses response.
@@ -67439,7 +67528,7 @@ export interface operations {
67439
67528
  [name: string]: unknown;
67440
67529
  };
67441
67530
  content: {
67442
- "application/json": components["schemas"]["StockAdjustmentSchema"];
67531
+ "application/json": components["schemas"]["StockAdjustmentRetrieveSchema"];
67443
67532
  };
67444
67533
  };
67445
67534
  /** @description Forbidden */
@@ -100198,6 +100287,62 @@ export interface operations {
100198
100287
  };
100199
100288
  };
100200
100289
  };
100290
+ integration_whatsapp_views_get_whatsapp_integration: {
100291
+ parameters: {
100292
+ query?: never;
100293
+ header?: never;
100294
+ path?: never;
100295
+ cookie?: never;
100296
+ };
100297
+ requestBody?: never;
100298
+ responses: {
100299
+ /** @description OK */
100300
+ 200: {
100301
+ headers: {
100302
+ [name: string]: unknown;
100303
+ };
100304
+ content: {
100305
+ "application/json": components["schemas"]["RetrieveWhatsAppIntegration"];
100306
+ };
100307
+ };
100308
+ /** @description Bad Request */
100309
+ 400: {
100310
+ headers: {
100311
+ [name: string]: unknown;
100312
+ };
100313
+ content: {
100314
+ "application/json": components["schemas"]["ErrorMessages"];
100315
+ };
100316
+ };
100317
+ /** @description Not Found */
100318
+ 404: {
100319
+ headers: {
100320
+ [name: string]: unknown;
100321
+ };
100322
+ content: {
100323
+ "application/json": components["schemas"]["MessageWithCode"];
100324
+ };
100325
+ };
100326
+ /** @description Conflict */
100327
+ 409: {
100328
+ headers: {
100329
+ [name: string]: unknown;
100330
+ };
100331
+ content: {
100332
+ "application/json": components["schemas"]["MessageWithCode"];
100333
+ };
100334
+ };
100335
+ /** @description Internal Server Error */
100336
+ 500: {
100337
+ headers: {
100338
+ [name: string]: unknown;
100339
+ };
100340
+ content: {
100341
+ "application/json": components["schemas"]["MessageWithCode"];
100342
+ };
100343
+ };
100344
+ };
100345
+ };
100201
100346
  integration_whatsapp_views_setup_whatsapp: {
100202
100347
  parameters: {
100203
100348
  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.1443",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],