@erp-galoper/types 1.0.1749 → 1.0.1750

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 +83 -15
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -51029,6 +51029,11 @@ export interface components {
51029
51029
  * Format: uuid
51030
51030
  */
51031
51031
  id: string;
51032
+ /**
51033
+ * @description sales_order or online (store conversion).
51034
+ * @default sales_order
51035
+ */
51036
+ type: components["schemas"]["SalesOrderTypeSchema"];
51032
51037
  /**
51033
51038
  * Serialnumber
51034
51039
  * @description The serial number of the sales order.
@@ -51181,9 +51186,9 @@ export interface components {
51181
51186
  description: string | null;
51182
51187
  /**
51183
51188
  * Notes
51184
- * @description Additional notes regarding the sales order.
51189
+ * @description Additional notes stored on this sales order. Charge delivery fees by adding a line item whose underlying item is a service-type item (for example your delivery fee item) at the desired amount—they are not entered on the document header.
51185
51190
  */
51186
- notes: string | null;
51191
+ notes?: string | null;
51187
51192
  /** @description visible when customer is not resident */
51188
51193
  tax: components["schemas"]["RetrieveTax"] | null;
51189
51194
  /**
@@ -51247,6 +51252,11 @@ export interface components {
51247
51252
  */
51248
51253
  items: components["schemas"]["SalesOrderItemSchema"][];
51249
51254
  };
51255
+ /**
51256
+ * SalesOrderTypeSchema
51257
+ * @enum {string}
51258
+ */
51259
+ SalesOrderTypeSchema: "sales_order" | "online";
51250
51260
  /** SalesQuotationSharedSchema */
51251
51261
  SalesQuotationSharedSchema: {
51252
51262
  /**
@@ -51488,7 +51498,7 @@ export interface components {
51488
51498
  description?: string | null;
51489
51499
  /**
51490
51500
  * Notes
51491
- * @description Additional notes related to the sales order.
51501
+ * @description Additional notes related to the sales order. Charge delivery fees by adding a line item whose underlying item is a service-type item (for example your delivery fee item) at the desired amount—they are not entered on the document header.
51492
51502
  */
51493
51503
  notes?: string;
51494
51504
  /**
@@ -51503,6 +51513,17 @@ export interface components {
51503
51513
  * @description List of items included in the sales order.
51504
51514
  */
51505
51515
  items: components["schemas"]["CreateUpdateSalesOrderItemSchema"][];
51516
+ /**
51517
+ * Isonline
51518
+ * @description Set by online store conversion (internal use)
51519
+ * @default false
51520
+ */
51521
+ isOnline: boolean;
51522
+ /**
51523
+ * Onlineorderid
51524
+ * @description Online order UUID when converting from a store (internal use)
51525
+ */
51526
+ onlineOrderId?: string | null;
51506
51527
  };
51507
51528
  /** SalesOrderListSchema */
51508
51529
  SalesOrderListSchema: {
@@ -51526,6 +51547,11 @@ export interface components {
51526
51547
  * Format: uuid
51527
51548
  */
51528
51549
  id: string;
51550
+ /**
51551
+ * @description sales_order or online (store conversion).
51552
+ * @default sales_order
51553
+ */
51554
+ type: components["schemas"]["SalesOrderTypeSchema"];
51529
51555
  /**
51530
51556
  * Serialnumber
51531
51557
  * @description The serial number of the sales order.
@@ -51678,9 +51704,9 @@ export interface components {
51678
51704
  description: string | null;
51679
51705
  /**
51680
51706
  * Notes
51681
- * @description Additional notes regarding the sales order.
51707
+ * @description Additional notes stored on this sales order. Charge delivery fees by adding a line item whose underlying item is a service-type item (for example your delivery fee item) at the desired amount—they are not entered on the document header.
51682
51708
  */
51683
- notes: string | null;
51709
+ notes?: string | null;
51684
51710
  /** @description visible when customer is not resident */
51685
51711
  tax: components["schemas"]["RetrieveTax"] | null;
51686
51712
  /**
@@ -51755,6 +51781,11 @@ export interface components {
51755
51781
  * Format: uuid
51756
51782
  */
51757
51783
  id: string;
51784
+ /**
51785
+ * @description sales_order or online (store conversion).
51786
+ * @default sales_order
51787
+ */
51788
+ type: components["schemas"]["SalesOrderTypeSchema"];
51758
51789
  /**
51759
51790
  * Serialnumber
51760
51791
  * @description The serial number of the sales order.
@@ -51907,9 +51938,9 @@ export interface components {
51907
51938
  description: string | null;
51908
51939
  /**
51909
51940
  * Notes
51910
- * @description Additional notes regarding the sales order.
51941
+ * @description Additional notes stored on this sales order. Charge delivery fees by adding a line item whose underlying item is a service-type item (for example your delivery fee item) at the desired amount—they are not entered on the document header.
51911
51942
  */
51912
- notes: string | null;
51943
+ notes?: string | null;
51913
51944
  /** @description visible when customer is not resident */
51914
51945
  tax: components["schemas"]["RetrieveTax"] | null;
51915
51946
  /**
@@ -52845,6 +52876,21 @@ export interface components {
52845
52876
  /** Password */
52846
52877
  password?: string;
52847
52878
  };
52879
+ /**
52880
+ * OnlineOrderSummarySchema
52881
+ * @description Summary of online order linked to a sales invoice
52882
+ */
52883
+ OnlineOrderSummarySchema: {
52884
+ /**
52885
+ * Id
52886
+ * Format: uuid
52887
+ */
52888
+ id: string;
52889
+ /** Number */
52890
+ number: string;
52891
+ /** Name */
52892
+ name: string;
52893
+ };
52848
52894
  /**
52849
52895
  * PaymentStatusValueChoices
52850
52896
  * @enum {string}
@@ -53184,9 +53230,9 @@ export interface components {
53184
53230
  description: string | null;
53185
53231
  /**
53186
53232
  * Notes
53187
- * @description Additional notes regarding the sales invoice.
53233
+ * @description Additional notes stored on this sales invoice. Charge delivery fees by adding a line item whose underlying item is a service-type item (for example your delivery fee item) at the desired amount—they are not entered on the document header.
53188
53234
  */
53189
- notes: string | null;
53235
+ notes?: string | null;
53190
53236
  /** @description visible when customer is not resident */
53191
53237
  tax: components["schemas"]["RetrieveTax"] | null;
53192
53238
  /**
@@ -53250,12 +53296,19 @@ export interface components {
53250
53296
  linkedDocuments?: {
53251
53297
  [key: string]: components["schemas"]["LinkedDocumentsSchema"];
53252
53298
  }[];
53299
+ type: components["schemas"]["SalesInvoiceTypeSchema"];
53300
+ onlineOrder?: components["schemas"]["OnlineOrderSummarySchema"] | null;
53253
53301
  /**
53254
53302
  * Items
53255
53303
  * @default []
53256
53304
  */
53257
53305
  items: components["schemas"]["SalesInvoiceItemsSchema"][];
53258
53306
  };
53307
+ /**
53308
+ * SalesInvoiceTypeSchema
53309
+ * @enum {string}
53310
+ */
53311
+ SalesInvoiceTypeSchema: "sales_invoice" | "online";
53259
53312
  /** CreateUpdateSalesInvoiceItemSchema */
53260
53313
  CreateUpdateSalesInvoiceItemSchema: {
53261
53314
  /**
@@ -53509,7 +53562,6 @@ export interface components {
53509
53562
  * - This field is visible and required if allow rate change is on in system settings and the country is Lebanon.
53510
53563
  */
53511
53564
  secondaryRate?: string;
53512
- status: components["schemas"]["InternalStatusOnCreateValueChoices"];
53513
53565
  /**
53514
53566
  * Attachments
53515
53567
  * @description List of file attachments related to the sales invoice.
@@ -53523,7 +53575,7 @@ export interface components {
53523
53575
  description?: string | null;
53524
53576
  /**
53525
53577
  * Notes
53526
- * @description Additional notes related to the sales invoice.
53578
+ * @description Additional notes related to the sales invoice. Charge delivery fees by adding a line item whose underlying item is a service-type item (for example your delivery fee item) at the desired amount—they are not entered on the document header.
53527
53579
  */
53528
53580
  notes?: string;
53529
53581
  /**
@@ -53540,6 +53592,18 @@ export interface components {
53540
53592
  tax?: number;
53541
53593
  /** @default net30Days */
53542
53594
  paymentTerms: components["schemas"]["PaymentTermsEnumSchema"];
53595
+ status: components["schemas"]["InternalStatusOnCreateValueChoices"];
53596
+ /**
53597
+ * Isonline
53598
+ * @description Flag indicating if this invoice is created from an online order (internal use)
53599
+ * @default false
53600
+ */
53601
+ isOnline: boolean;
53602
+ /**
53603
+ * Onlineorderid
53604
+ * @description Online order ID if this invoice is created from an online order (internal use)
53605
+ */
53606
+ onlineOrderId?: string | null;
53543
53607
  };
53544
53608
  /**
53545
53609
  * SalesDocumentTypeSchema
@@ -53765,9 +53829,9 @@ export interface components {
53765
53829
  description: string | null;
53766
53830
  /**
53767
53831
  * Notes
53768
- * @description Additional notes regarding the sales invoice.
53832
+ * @description Additional notes stored on this sales invoice. Charge delivery fees by adding a line item whose underlying item is a service-type item (for example your delivery fee item) at the desired amount—they are not entered on the document header.
53769
53833
  */
53770
- notes: string | null;
53834
+ notes?: string | null;
53771
53835
  /** @description visible when customer is not resident */
53772
53836
  tax: components["schemas"]["RetrieveTax"] | null;
53773
53837
  /**
@@ -53831,6 +53895,8 @@ export interface components {
53831
53895
  linkedDocuments?: {
53832
53896
  [key: string]: components["schemas"]["LinkedDocumentsSchema"];
53833
53897
  }[];
53898
+ type: components["schemas"]["SalesInvoiceTypeSchema"];
53899
+ onlineOrder?: components["schemas"]["OnlineOrderSummarySchema"] | null;
53834
53900
  };
53835
53901
  /**
53836
53902
  * SalesInvoiceItemTypeSchema
@@ -54031,9 +54097,9 @@ export interface components {
54031
54097
  description: string | null;
54032
54098
  /**
54033
54099
  * Notes
54034
- * @description Additional notes regarding the sales invoice.
54100
+ * @description Additional notes stored on this sales invoice. Charge delivery fees by adding a line item whose underlying item is a service-type item (for example your delivery fee item) at the desired amount—they are not entered on the document header.
54035
54101
  */
54036
- notes: string | null;
54102
+ notes?: string | null;
54037
54103
  /** @description visible when customer is not resident */
54038
54104
  tax: components["schemas"]["RetrieveTax"] | null;
54039
54105
  /**
@@ -54097,6 +54163,8 @@ export interface components {
54097
54163
  linkedDocuments?: {
54098
54164
  [key: string]: components["schemas"]["LinkedDocumentsSchema"];
54099
54165
  }[];
54166
+ type: components["schemas"]["SalesInvoiceTypeSchema"];
54167
+ onlineOrder?: components["schemas"]["OnlineOrderSummarySchema"] | null;
54100
54168
  /**
54101
54169
  * Items
54102
54170
  * @default []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1749",
3
+ "version": "1.0.1750",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],