@erp-galoper/types 1.0.220 → 1.0.222
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.
- package/openapi.ts +43 -11
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -26504,7 +26504,7 @@ export interface components {
|
|
|
26504
26504
|
/**
|
|
26505
26505
|
* Id
|
|
26506
26506
|
* Format: uuid
|
|
26507
|
-
* @example
|
|
26507
|
+
* @example bc2613bf-e457-454b-89df-290047634b65
|
|
26508
26508
|
*/
|
|
26509
26509
|
id: string;
|
|
26510
26510
|
/**
|
|
@@ -36019,13 +36019,17 @@ export interface components {
|
|
|
36019
36019
|
/** Commissionvalue */
|
|
36020
36020
|
commissionValue: number;
|
|
36021
36021
|
commissionValueType: components["schemas"]["CommissionValueTypes"];
|
|
36022
|
-
/**
|
|
36022
|
+
/**
|
|
36023
|
+
* Salesvolumevalue
|
|
36024
|
+
* @description visible when structure = tiered, required when salesTierType exist
|
|
36025
|
+
*/
|
|
36023
36026
|
salesVolumeValue?: number;
|
|
36024
36027
|
/**
|
|
36025
36028
|
* Currency
|
|
36026
|
-
* @description currency id
|
|
36029
|
+
* @description currency id, visible when structure = tiered, required when salesVolumeValue exist
|
|
36027
36030
|
*/
|
|
36028
36031
|
currency?: number;
|
|
36032
|
+
/** @description visible when structure = tiered */
|
|
36029
36033
|
salesTierType?: components["schemas"]["SalesTierType"];
|
|
36030
36034
|
/**
|
|
36031
36035
|
* Products
|
|
@@ -36047,19 +36051,25 @@ export interface components {
|
|
|
36047
36051
|
categories: number[];
|
|
36048
36052
|
/**
|
|
36049
36053
|
* Customergroups
|
|
36050
|
-
* @description
|
|
36054
|
+
* @description
|
|
36055
|
+
* customers or customerGroups required , cannot both be empty
|
|
36056
|
+
* to get customer groups use route /api/v1/common/contact-segmentation/ and filter by type=customer
|
|
36057
|
+
*
|
|
36051
36058
|
* @default []
|
|
36052
36059
|
*/
|
|
36053
36060
|
customerGroups: string[];
|
|
36054
36061
|
/**
|
|
36055
36062
|
* Customers
|
|
36056
|
-
* @description
|
|
36063
|
+
* @description
|
|
36064
|
+
* customers or customerGroups required , cannot both be empty
|
|
36065
|
+
* to get customers use route /api/v1/customers/?type=children and filter by isActive=true
|
|
36066
|
+
*
|
|
36057
36067
|
* @default []
|
|
36058
36068
|
*/
|
|
36059
36069
|
customers: number[];
|
|
36060
36070
|
/**
|
|
36061
36071
|
* Paymentmethod
|
|
36062
|
-
* @description to get payment methods use route /api/v1/payment-methods/
|
|
36072
|
+
* @description visible and required when structure = paymentBased, to get payment methods use route /api/v1/payment-methods/
|
|
36063
36073
|
*/
|
|
36064
36074
|
paymentMethod?: number;
|
|
36065
36075
|
/** Target */
|
|
@@ -36167,13 +36177,17 @@ export interface components {
|
|
|
36167
36177
|
/** Commissionvalue */
|
|
36168
36178
|
commissionValue: number;
|
|
36169
36179
|
commissionValueType: components["schemas"]["CommissionValueTypes"];
|
|
36170
|
-
/**
|
|
36180
|
+
/**
|
|
36181
|
+
* Salesvolumevalue
|
|
36182
|
+
* @description visible when structure = tiered, required when salesTierType exist
|
|
36183
|
+
*/
|
|
36171
36184
|
salesVolumeValue?: number;
|
|
36172
36185
|
/**
|
|
36173
36186
|
* Currency
|
|
36174
|
-
* @description currency id
|
|
36187
|
+
* @description currency id, visible when structure = tiered, required when salesVolumeValue exist
|
|
36175
36188
|
*/
|
|
36176
36189
|
currency?: number;
|
|
36190
|
+
/** @description visible when structure = tiered */
|
|
36177
36191
|
salesTierType?: components["schemas"]["SalesTierType"];
|
|
36178
36192
|
/**
|
|
36179
36193
|
* Products
|
|
@@ -36195,15 +36209,26 @@ export interface components {
|
|
|
36195
36209
|
categories: number[];
|
|
36196
36210
|
/**
|
|
36197
36211
|
* Customergroups
|
|
36212
|
+
* @description
|
|
36213
|
+
* customers or customerGroups required , cannot both be empty
|
|
36214
|
+
* to get customer groups use route /api/v1/common/contact-segmentation/ and filter by type=customer
|
|
36215
|
+
*
|
|
36198
36216
|
* @default []
|
|
36199
36217
|
*/
|
|
36200
36218
|
customerGroups: string[];
|
|
36201
36219
|
/**
|
|
36202
36220
|
* Customers
|
|
36221
|
+
* @description
|
|
36222
|
+
* customers or customerGroups required , cannot both be empty
|
|
36223
|
+
* to get customers use route /api/v1/customers/?type=children and filter by isActive=true
|
|
36224
|
+
*
|
|
36203
36225
|
* @default []
|
|
36204
36226
|
*/
|
|
36205
36227
|
customers: number[];
|
|
36206
|
-
/**
|
|
36228
|
+
/**
|
|
36229
|
+
* Paymentmethod
|
|
36230
|
+
* @description visible and required when structure = paymentBased, to get payment methods use route /api/v1/payment-methods/
|
|
36231
|
+
*/
|
|
36207
36232
|
paymentMethod?: number;
|
|
36208
36233
|
/** Target */
|
|
36209
36234
|
target?: number;
|
|
@@ -40877,7 +40902,7 @@ export interface components {
|
|
|
40877
40902
|
*/
|
|
40878
40903
|
companyTotal: string;
|
|
40879
40904
|
/** Quantityreturned */
|
|
40880
|
-
quantityReturned
|
|
40905
|
+
quantityReturned?: number;
|
|
40881
40906
|
/**
|
|
40882
40907
|
* Quantitydelivered
|
|
40883
40908
|
* @description Only show in case of delivery note source is sales invoice
|
|
@@ -41342,6 +41367,11 @@ export interface components {
|
|
|
41342
41367
|
/** Results */
|
|
41343
41368
|
results: components["schemas"]["SalesInvoiceSchema"][];
|
|
41344
41369
|
};
|
|
41370
|
+
/**
|
|
41371
|
+
* SalesInvoiceItemTypeSchema
|
|
41372
|
+
* @enum {string}
|
|
41373
|
+
*/
|
|
41374
|
+
SalesInvoiceItemTypeSchema: "default" | "salesCreditNote";
|
|
41345
41375
|
/** SalesInvoiceForReturnOrderSchema */
|
|
41346
41376
|
SalesInvoiceForReturnOrderSchema: {
|
|
41347
41377
|
/**
|
|
@@ -76901,7 +76931,9 @@ export interface operations {
|
|
|
76901
76931
|
};
|
|
76902
76932
|
sales_invoice_views_get_sales_invoice: {
|
|
76903
76933
|
parameters: {
|
|
76904
|
-
query?:
|
|
76934
|
+
query?: {
|
|
76935
|
+
type?: "default" | "salesCreditNote";
|
|
76936
|
+
};
|
|
76905
76937
|
header?: never;
|
|
76906
76938
|
path: {
|
|
76907
76939
|
id: string;
|