@erp-galoper/types 1.0.2016 → 1.0.2018
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 +253 -5
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -17922,6 +17922,27 @@ export interface paths {
|
|
|
17922
17922
|
patch?: never;
|
|
17923
17923
|
trace?: never;
|
|
17924
17924
|
};
|
|
17925
|
+
"/api/v1/sales/collection-deposits/{id}/reset-to-draft/": {
|
|
17926
|
+
parameters: {
|
|
17927
|
+
query?: never;
|
|
17928
|
+
header?: never;
|
|
17929
|
+
path?: never;
|
|
17930
|
+
cookie?: never;
|
|
17931
|
+
};
|
|
17932
|
+
get?: never;
|
|
17933
|
+
put?: never;
|
|
17934
|
+
/**
|
|
17935
|
+
* Reset Collection Deposit To Draft
|
|
17936
|
+
* @description reset a collection deposit to draft. Reverses balances + deletes post entries. Resets RV statuses to pending.
|
|
17937
|
+
* Permission key: collection_deposit : [ resettodraft ]
|
|
17938
|
+
*/
|
|
17939
|
+
post: operations["sales_collection_deposit_views_reset_collection_deposit_to_draft"];
|
|
17940
|
+
delete?: never;
|
|
17941
|
+
options?: never;
|
|
17942
|
+
head?: never;
|
|
17943
|
+
patch?: never;
|
|
17944
|
+
trace?: never;
|
|
17945
|
+
};
|
|
17925
17946
|
"/api/v1/sales/invoices/calculate-totals/": {
|
|
17926
17947
|
parameters: {
|
|
17927
17948
|
query?: never;
|
|
@@ -26677,10 +26698,10 @@ export interface components {
|
|
|
26677
26698
|
name: string;
|
|
26678
26699
|
permissions: components["schemas"]["ModulePermissions"];
|
|
26679
26700
|
/**
|
|
26680
|
-
*
|
|
26701
|
+
* Candelete
|
|
26681
26702
|
* @default false
|
|
26682
26703
|
*/
|
|
26683
|
-
|
|
26704
|
+
canDelete: boolean;
|
|
26684
26705
|
};
|
|
26685
26706
|
/**
|
|
26686
26707
|
* SessionPermissionAction
|
|
@@ -33169,6 +33190,11 @@ export interface components {
|
|
|
33169
33190
|
*/
|
|
33170
33191
|
details: components["schemas"]["CreateStockAdjustmentDetailSchema"][];
|
|
33171
33192
|
};
|
|
33193
|
+
/**
|
|
33194
|
+
* InventorySerialDocumentSortBy
|
|
33195
|
+
* @enum {string}
|
|
33196
|
+
*/
|
|
33197
|
+
InventorySerialDocumentSortBy: "dateCreated" | "dateModified" | "serialNumber";
|
|
33172
33198
|
/** StockAdjustmentHeaderListSchema */
|
|
33173
33199
|
StockAdjustmentHeaderListSchema: {
|
|
33174
33200
|
info: components["schemas"]["PageInfoSchema"];
|
|
@@ -34222,6 +34248,11 @@ export interface components {
|
|
|
34222
34248
|
*/
|
|
34223
34249
|
requestReason: number;
|
|
34224
34250
|
};
|
|
34251
|
+
/**
|
|
34252
|
+
* InventoryFiscalDocumentSortBy
|
|
34253
|
+
* @enum {string}
|
|
34254
|
+
*/
|
|
34255
|
+
InventoryFiscalDocumentSortBy: "dateCreated" | "dateModified" | "serialNumber" | "date";
|
|
34225
34256
|
/**
|
|
34226
34257
|
* ViewTransferRequestEnum
|
|
34227
34258
|
* @enum {string}
|
|
@@ -34325,7 +34356,7 @@ export interface components {
|
|
|
34325
34356
|
* CustomerSortBy
|
|
34326
34357
|
* @enum {string}
|
|
34327
34358
|
*/
|
|
34328
|
-
CustomerSortBy: "name" | "accountNumber" | "region" | "city";
|
|
34359
|
+
CustomerSortBy: "name" | "accountNumber" | "region" | "city" | "dateCreated" | "dateModified";
|
|
34329
34360
|
/**
|
|
34330
34361
|
* typeCustomers
|
|
34331
34362
|
* @enum {string}
|
|
@@ -35376,6 +35407,11 @@ export interface components {
|
|
|
35376
35407
|
* @enum {string}
|
|
35377
35408
|
*/
|
|
35378
35409
|
DocumentTypeEnum: "purchaseRefundVoucher" | "creditNote" | "advancePayment" | "goodsReceiptNote" | "salesPerson" | "returnOrder" | "returnInvoice" | "expenseVoucher" | "expensePaymentVoucher";
|
|
35410
|
+
/**
|
|
35411
|
+
* SupplierSortBy
|
|
35412
|
+
* @enum {string}
|
|
35413
|
+
*/
|
|
35414
|
+
SupplierSortBy: "name" | "accountNumber" | "region" | "city" | "dateCreated" | "dateModified";
|
|
35379
35415
|
/**
|
|
35380
35416
|
* typeSuppliers
|
|
35381
35417
|
* @enum {string}
|
|
@@ -41948,6 +41984,11 @@ export interface components {
|
|
|
41948
41984
|
*/
|
|
41949
41985
|
itemPackage?: string | null;
|
|
41950
41986
|
};
|
|
41987
|
+
/**
|
|
41988
|
+
* PurchaseDocumentSortBy
|
|
41989
|
+
* @enum {string}
|
|
41990
|
+
*/
|
|
41991
|
+
PurchaseDocumentSortBy: "dateCreated" | "dateModified" | "serialNumber" | "total" | "companyTotal" | "supplierName" | "date";
|
|
41951
41992
|
/**
|
|
41952
41993
|
* requisitionTypes
|
|
41953
41994
|
* @enum {string}
|
|
@@ -45450,6 +45491,11 @@ export interface components {
|
|
|
45450
45491
|
/** Items */
|
|
45451
45492
|
items: components["schemas"]["CalculatePurchaseReturnOrderItemsSchema"][];
|
|
45452
45493
|
};
|
|
45494
|
+
/**
|
|
45495
|
+
* PurchaseInvoiceSortBy
|
|
45496
|
+
* @enum {string}
|
|
45497
|
+
*/
|
|
45498
|
+
PurchaseInvoiceSortBy: "supplierRegion" | "supplierCity" | "serialNumber" | "date" | "dateCreated" | "dateModified" | "total" | "companyTotal" | "supplierName";
|
|
45453
45499
|
/**
|
|
45454
45500
|
* TypeSchema
|
|
45455
45501
|
* @enum {string}
|
|
@@ -48663,6 +48709,11 @@ export interface components {
|
|
|
48663
48709
|
*/
|
|
48664
48710
|
items: components["schemas"]["CreateOrUpdateGoodsReceiptNoteItemsSchema"][];
|
|
48665
48711
|
};
|
|
48712
|
+
/**
|
|
48713
|
+
* PurchaseInventoryDocumentSortBy
|
|
48714
|
+
* @enum {string}
|
|
48715
|
+
*/
|
|
48716
|
+
PurchaseInventoryDocumentSortBy: "dateCreated" | "dateModified" | "serialNumber" | "supplierName" | "date";
|
|
48666
48717
|
/** GoodsReceiptListSchema */
|
|
48667
48718
|
GoodsReceiptListSchema: {
|
|
48668
48719
|
info: components["schemas"]["PageInfoSchema"];
|
|
@@ -49256,6 +49307,11 @@ export interface components {
|
|
|
49256
49307
|
*/
|
|
49257
49308
|
quantity: number;
|
|
49258
49309
|
};
|
|
49310
|
+
/**
|
|
49311
|
+
* ContactListSortBy
|
|
49312
|
+
* @enum {string}
|
|
49313
|
+
*/
|
|
49314
|
+
ContactListSortBy: "dateCreated" | "dateModified" | "name";
|
|
49259
49315
|
/** ListOfferAndPromotion */
|
|
49260
49316
|
ListOfferAndPromotion: {
|
|
49261
49317
|
info: components["schemas"]["PageInfoSchema"];
|
|
@@ -53000,6 +53056,11 @@ export interface components {
|
|
|
53000
53056
|
/** Items */
|
|
53001
53057
|
items: components["schemas"]["CreateUpdateSalesQuotationItemSchema"][];
|
|
53002
53058
|
};
|
|
53059
|
+
/**
|
|
53060
|
+
* SalesDocumentSortBy
|
|
53061
|
+
* @enum {string}
|
|
53062
|
+
*/
|
|
53063
|
+
SalesDocumentSortBy: "dateCreated" | "dateModified" | "serialNumber" | "total" | "companyTotal" | "customerName" | "date";
|
|
53003
53064
|
/** SalesQuotationListSchema */
|
|
53004
53065
|
SalesQuotationListSchema: {
|
|
53005
53066
|
info: components["schemas"]["PageInfoSchema"];
|
|
@@ -58147,7 +58208,7 @@ export interface components {
|
|
|
58147
58208
|
* SalesInvoiceSortBy
|
|
58148
58209
|
* @enum {string}
|
|
58149
58210
|
*/
|
|
58150
|
-
SalesInvoiceSortBy: "customerRegion" | "customerCity" | "salesPerson" | "serialNumber" | "date";
|
|
58211
|
+
SalesInvoiceSortBy: "customerRegion" | "customerCity" | "salesPerson" | "serialNumber" | "date" | "dateCreated" | "dateModified" | "total" | "customerName";
|
|
58151
58212
|
/** SalesInvoiceListSchema */
|
|
58152
58213
|
SalesInvoiceListSchema: {
|
|
58153
58214
|
info: components["schemas"]["PageInfoSchema"];
|
|
@@ -61003,6 +61064,11 @@ export interface components {
|
|
|
61003
61064
|
* @enum {string}
|
|
61004
61065
|
*/
|
|
61005
61066
|
DeliveryNoteDocumentTypeEnum: "default" | "returnablePackageReconciliation" | "salesReturnPackage";
|
|
61067
|
+
/**
|
|
61068
|
+
* SalesInventoryDocumentSortBy
|
|
61069
|
+
* @enum {string}
|
|
61070
|
+
*/
|
|
61071
|
+
SalesInventoryDocumentSortBy: "dateCreated" | "dateModified" | "serialNumber" | "customerName" | "date";
|
|
61006
61072
|
/** GoodsDeliveryNoteListSchema */
|
|
61007
61073
|
GoodsDeliveryNoteListSchema: {
|
|
61008
61074
|
info: components["schemas"]["PageInfoSchema"];
|
|
@@ -65383,7 +65449,7 @@ export interface components {
|
|
|
65383
65449
|
* RepairOrderSortBy
|
|
65384
65450
|
* @enum {string}
|
|
65385
65451
|
*/
|
|
65386
|
-
RepairOrderSortBy: "itemName" | "customerName" | "serialNumber" | "date";
|
|
65452
|
+
RepairOrderSortBy: "itemName" | "customerName" | "serialNumber" | "date" | "dateCreated" | "dateModified";
|
|
65387
65453
|
/** RepairOrderListSchema */
|
|
65388
65454
|
RepairOrderListSchema: {
|
|
65389
65455
|
info: components["schemas"]["PageInfoSchema"];
|
|
@@ -76451,6 +76517,10 @@ export interface operations {
|
|
|
76451
76517
|
search?: string | null;
|
|
76452
76518
|
/** @description Filter by warehouse ID(s). If not provided, all assigned warehouses will be included. */
|
|
76453
76519
|
warehouses?: string[] | null;
|
|
76520
|
+
/** @description Field to sort by */
|
|
76521
|
+
sortBy?: components["schemas"]["InventorySerialDocumentSortBy"] | null;
|
|
76522
|
+
/** @description Sort order: ascending or descending */
|
|
76523
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
76454
76524
|
};
|
|
76455
76525
|
header?: never;
|
|
76456
76526
|
path?: never;
|
|
@@ -76792,6 +76862,10 @@ export interface operations {
|
|
|
76792
76862
|
search?: string | null;
|
|
76793
76863
|
/** @description Filter by warehouse ID(s). If not provided, all assigned warehouses will be included. */
|
|
76794
76864
|
warehouses?: string[] | null;
|
|
76865
|
+
/** @description Field to sort by */
|
|
76866
|
+
sortBy?: components["schemas"]["InventorySerialDocumentSortBy"] | null;
|
|
76867
|
+
/** @description Sort order: ascending or descending */
|
|
76868
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
76795
76869
|
};
|
|
76796
76870
|
header?: never;
|
|
76797
76871
|
path?: never;
|
|
@@ -77316,6 +77390,10 @@ export interface operations {
|
|
|
77316
77390
|
fromWarehouse?: string[] | null;
|
|
77317
77391
|
/** @description List of to warehouse IDs */
|
|
77318
77392
|
toWarehouse?: string[] | null;
|
|
77393
|
+
/** @description Field to sort by */
|
|
77394
|
+
sortBy?: components["schemas"]["InventorySerialDocumentSortBy"] | null;
|
|
77395
|
+
/** @description Sort order: ascending or descending */
|
|
77396
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
77319
77397
|
};
|
|
77320
77398
|
header?: never;
|
|
77321
77399
|
path?: never;
|
|
@@ -77615,6 +77693,10 @@ export interface operations {
|
|
|
77615
77693
|
* - my_warehouses : view transfer requests where destination warehouse is in user's assigned warehouses
|
|
77616
77694
|
*/
|
|
77617
77695
|
view?: "myRequests" | "requestedFromMe" | "myWarehouses";
|
|
77696
|
+
/** @description Field to sort by */
|
|
77697
|
+
sortBy?: components["schemas"]["InventoryFiscalDocumentSortBy"] | null;
|
|
77698
|
+
/** @description Sort order: ascending or descending */
|
|
77699
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
77618
77700
|
};
|
|
77619
77701
|
header?: never;
|
|
77620
77702
|
path?: never;
|
|
@@ -78820,6 +78902,10 @@ export interface operations {
|
|
|
78820
78902
|
search?: string | null;
|
|
78821
78903
|
/** @description Branch ID */
|
|
78822
78904
|
branch?: string;
|
|
78905
|
+
/** @description Field to sort suppliers by */
|
|
78906
|
+
sortBy?: components["schemas"]["SupplierSortBy"] | null;
|
|
78907
|
+
/** @description Sort order: ascending or descending */
|
|
78908
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
78823
78909
|
};
|
|
78824
78910
|
header?: never;
|
|
78825
78911
|
path?: never;
|
|
@@ -87276,6 +87362,10 @@ export interface operations {
|
|
|
87276
87362
|
/** @description search by requisition number or description or supplier name, or item (name, barcode, sku code, short name) */
|
|
87277
87363
|
search?: string;
|
|
87278
87364
|
type?: "default" | "requestForQuotation";
|
|
87365
|
+
/** @description Field to sort by */
|
|
87366
|
+
sortBy?: components["schemas"]["PurchaseDocumentSortBy"] | null;
|
|
87367
|
+
/** @description Sort order: ascending or descending */
|
|
87368
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
87279
87369
|
};
|
|
87280
87370
|
header?: never;
|
|
87281
87371
|
path?: never;
|
|
@@ -87936,6 +88026,10 @@ export interface operations {
|
|
|
87936
88026
|
endDate?: string | null;
|
|
87937
88027
|
/** @description search by RFQ number or description or supplier name, or item (name, barcode, sku code, short name) */
|
|
87938
88028
|
search?: string;
|
|
88029
|
+
/** @description Field to sort by */
|
|
88030
|
+
sortBy?: components["schemas"]["PurchaseDocumentSortBy"] | null;
|
|
88031
|
+
/** @description Sort order: ascending or descending */
|
|
88032
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
87939
88033
|
};
|
|
87940
88034
|
header?: never;
|
|
87941
88035
|
path?: never;
|
|
@@ -88524,6 +88618,10 @@ export interface operations {
|
|
|
88524
88618
|
type?: "default" | "purchaseInvoice";
|
|
88525
88619
|
/** @description supplier id, required when type = purchaseInvoice */
|
|
88526
88620
|
supplier?: string;
|
|
88621
|
+
/** @description Field to sort by */
|
|
88622
|
+
sortBy?: components["schemas"]["PurchaseDocumentSortBy"] | null;
|
|
88623
|
+
/** @description Sort order: ascending or descending */
|
|
88624
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
88527
88625
|
};
|
|
88528
88626
|
header?: never;
|
|
88529
88627
|
path?: never;
|
|
@@ -88999,6 +89097,10 @@ export interface operations {
|
|
|
88999
89097
|
startDate?: string | null;
|
|
89000
89098
|
/** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
89001
89099
|
endDate?: string | null;
|
|
89100
|
+
/** @description Field to sort by */
|
|
89101
|
+
sortBy?: components["schemas"]["PurchaseDocumentSortBy"] | null;
|
|
89102
|
+
/** @description Sort order: ascending or descending */
|
|
89103
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
89002
89104
|
};
|
|
89003
89105
|
header?: never;
|
|
89004
89106
|
path?: never;
|
|
@@ -89620,6 +89722,10 @@ export interface operations {
|
|
|
89620
89722
|
startDate?: string | null;
|
|
89621
89723
|
/** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
89622
89724
|
endDate?: string | null;
|
|
89725
|
+
/** @description Field to sort by */
|
|
89726
|
+
sortBy?: components["schemas"]["PurchaseDocumentSortBy"] | null;
|
|
89727
|
+
/** @description Sort order: ascending or descending */
|
|
89728
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
89623
89729
|
};
|
|
89624
89730
|
header?: never;
|
|
89625
89731
|
path?: never;
|
|
@@ -90428,6 +90534,10 @@ export interface operations {
|
|
|
90428
90534
|
startDate?: string | null;
|
|
90429
90535
|
/** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
90430
90536
|
endDate?: string | null;
|
|
90537
|
+
/** @description Field to sort by */
|
|
90538
|
+
sortBy?: components["schemas"]["PurchaseDocumentSortBy"] | null;
|
|
90539
|
+
/** @description Sort order: ascending or descending */
|
|
90540
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
90431
90541
|
};
|
|
90432
90542
|
header?: never;
|
|
90433
90543
|
path?: never;
|
|
@@ -91123,6 +91233,10 @@ export interface operations {
|
|
|
91123
91233
|
* - **false**: include all posted landed cost bill lines, including fully allocated ones.
|
|
91124
91234
|
*/
|
|
91125
91235
|
onlyRemaining?: boolean;
|
|
91236
|
+
/** @description Field to sort invoices by */
|
|
91237
|
+
sortBy?: components["schemas"]["PurchaseInvoiceSortBy"] | null;
|
|
91238
|
+
/** @description Sort order: ascending or descending */
|
|
91239
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
91126
91240
|
};
|
|
91127
91241
|
header?: never;
|
|
91128
91242
|
path?: never;
|
|
@@ -92211,6 +92325,10 @@ export interface operations {
|
|
|
92211
92325
|
endDate?: string | null;
|
|
92212
92326
|
/** @description search by payment voucher number or description or supplier name or supplier account number */
|
|
92213
92327
|
search?: string;
|
|
92328
|
+
/** @description Field to sort by */
|
|
92329
|
+
sortBy?: components["schemas"]["PurchaseDocumentSortBy"] | null;
|
|
92330
|
+
/** @description Sort order: ascending or descending */
|
|
92331
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
92214
92332
|
};
|
|
92215
92333
|
header?: never;
|
|
92216
92334
|
path?: never;
|
|
@@ -92748,6 +92866,10 @@ export interface operations {
|
|
|
92748
92866
|
startDate?: string | null;
|
|
92749
92867
|
/** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
92750
92868
|
endDate?: string | null;
|
|
92869
|
+
/** @description Field to sort by */
|
|
92870
|
+
sortBy?: components["schemas"]["PurchaseDocumentSortBy"] | null;
|
|
92871
|
+
/** @description Sort order: ascending or descending */
|
|
92872
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
92751
92873
|
};
|
|
92752
92874
|
header?: never;
|
|
92753
92875
|
path?: never;
|
|
@@ -93385,6 +93507,10 @@ export interface operations {
|
|
|
93385
93507
|
endDate?: string | null;
|
|
93386
93508
|
/** @description When true, each GRN line includes finalized `landedCostAllocations` (for LCA picker/history). */
|
|
93387
93509
|
landedCostAllocation?: boolean;
|
|
93510
|
+
/** @description Field to sort by */
|
|
93511
|
+
sortBy?: components["schemas"]["PurchaseInventoryDocumentSortBy"] | null;
|
|
93512
|
+
/** @description Sort order: ascending or descending */
|
|
93513
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
93388
93514
|
};
|
|
93389
93515
|
header?: never;
|
|
93390
93516
|
path?: never;
|
|
@@ -94236,6 +94362,10 @@ export interface operations {
|
|
|
94236
94362
|
pageSize?: number;
|
|
94237
94363
|
/** @description search by offer name, description or item category name or customer name or customer group name, or item (name, barcode, sku code, short name) */
|
|
94238
94364
|
search?: string;
|
|
94365
|
+
/** @description Field to sort by */
|
|
94366
|
+
sortBy?: components["schemas"]["ContactListSortBy"] | null;
|
|
94367
|
+
/** @description Sort order: ascending or descending */
|
|
94368
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
94239
94369
|
};
|
|
94240
94370
|
header?: never;
|
|
94241
94371
|
path?: never;
|
|
@@ -96471,6 +96601,10 @@ export interface operations {
|
|
|
96471
96601
|
search?: string | null;
|
|
96472
96602
|
/** @description Branch ID to filter by */
|
|
96473
96603
|
branchId: string;
|
|
96604
|
+
/** @description Field to sort by */
|
|
96605
|
+
sortBy?: components["schemas"]["ContactListSortBy"] | null;
|
|
96606
|
+
/** @description Sort order: ascending or descending */
|
|
96607
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
96474
96608
|
};
|
|
96475
96609
|
header?: never;
|
|
96476
96610
|
path?: never;
|
|
@@ -98114,6 +98248,10 @@ export interface operations {
|
|
|
98114
98248
|
startDate?: string | null;
|
|
98115
98249
|
/** @description End date for custom range (YYYY-MM-DD) */
|
|
98116
98250
|
endDate?: string | null;
|
|
98251
|
+
/** @description Field to sort by */
|
|
98252
|
+
sortBy?: components["schemas"]["SalesDocumentSortBy"] | null;
|
|
98253
|
+
/** @description Sort order: ascending or descending */
|
|
98254
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
98117
98255
|
};
|
|
98118
98256
|
header?: never;
|
|
98119
98257
|
path?: never;
|
|
@@ -99090,6 +99228,10 @@ export interface operations {
|
|
|
99090
99228
|
endDate?: string | null;
|
|
99091
99229
|
/** @description search by refund number, refund description, supplier name, supplier account number, advance payments numbers or return invoices number */
|
|
99092
99230
|
search?: string;
|
|
99231
|
+
/** @description Field to sort by */
|
|
99232
|
+
sortBy?: components["schemas"]["PurchaseDocumentSortBy"] | null;
|
|
99233
|
+
/** @description Sort order: ascending or descending */
|
|
99234
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
99093
99235
|
};
|
|
99094
99236
|
header?: never;
|
|
99095
99237
|
path?: never;
|
|
@@ -99998,6 +100140,10 @@ export interface operations {
|
|
|
99998
100140
|
type?: "default" | "salesInvoice";
|
|
99999
100141
|
/** @description customer id, required when type = salesInvoice */
|
|
100000
100142
|
customer?: string;
|
|
100143
|
+
/** @description Field to sort by */
|
|
100144
|
+
sortBy?: components["schemas"]["SalesDocumentSortBy"] | null;
|
|
100145
|
+
/** @description Sort order: ascending or descending */
|
|
100146
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
100001
100147
|
};
|
|
100002
100148
|
header?: never;
|
|
100003
100149
|
path?: never;
|
|
@@ -100575,6 +100721,10 @@ export interface operations {
|
|
|
100575
100721
|
startDate?: string | null;
|
|
100576
100722
|
/** @description End date for custom range (YYYY-MM-DD) */
|
|
100577
100723
|
endDate?: string | null;
|
|
100724
|
+
/** @description Field to sort by */
|
|
100725
|
+
sortBy?: components["schemas"]["SalesDocumentSortBy"] | null;
|
|
100726
|
+
/** @description Sort order: ascending or descending */
|
|
100727
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
100578
100728
|
};
|
|
100579
100729
|
header?: never;
|
|
100580
100730
|
path?: never;
|
|
@@ -101172,6 +101322,10 @@ export interface operations {
|
|
|
101172
101322
|
endDate?: string | null;
|
|
101173
101323
|
/** @description search by credit note number or description or supplier name or account number or invoice number, or item (name, barcode, sku code, short name) */
|
|
101174
101324
|
search?: string;
|
|
101325
|
+
/** @description Field to sort by */
|
|
101326
|
+
sortBy?: components["schemas"]["PurchaseDocumentSortBy"] | null;
|
|
101327
|
+
/** @description Sort order: ascending or descending */
|
|
101328
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
101175
101329
|
};
|
|
101176
101330
|
header?: never;
|
|
101177
101331
|
path?: never;
|
|
@@ -101745,6 +101899,10 @@ export interface operations {
|
|
|
101745
101899
|
endDate?: string | null;
|
|
101746
101900
|
/** @description search by receipt voucher number, receipt voucher description, customer name, customer account number */
|
|
101747
101901
|
search?: string;
|
|
101902
|
+
/** @description Field to sort by */
|
|
101903
|
+
sortBy?: components["schemas"]["SalesDocumentSortBy"] | null;
|
|
101904
|
+
/** @description Sort order: ascending or descending */
|
|
101905
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
101748
101906
|
};
|
|
101749
101907
|
header?: never;
|
|
101750
101908
|
path?: never;
|
|
@@ -102653,6 +102811,68 @@ export interface operations {
|
|
|
102653
102811
|
};
|
|
102654
102812
|
};
|
|
102655
102813
|
};
|
|
102814
|
+
sales_collection_deposit_views_reset_collection_deposit_to_draft: {
|
|
102815
|
+
parameters: {
|
|
102816
|
+
query?: never;
|
|
102817
|
+
header?: never;
|
|
102818
|
+
path: {
|
|
102819
|
+
id: string;
|
|
102820
|
+
};
|
|
102821
|
+
cookie?: never;
|
|
102822
|
+
};
|
|
102823
|
+
requestBody: {
|
|
102824
|
+
content: {
|
|
102825
|
+
"application/json": components["schemas"]["CollectionDepositActionSchema"];
|
|
102826
|
+
};
|
|
102827
|
+
};
|
|
102828
|
+
responses: {
|
|
102829
|
+
/** @description OK */
|
|
102830
|
+
200: {
|
|
102831
|
+
headers: {
|
|
102832
|
+
[name: string]: unknown;
|
|
102833
|
+
};
|
|
102834
|
+
content: {
|
|
102835
|
+
"application/json": components["schemas"]["CollectionDepositResponse"];
|
|
102836
|
+
};
|
|
102837
|
+
};
|
|
102838
|
+
/** @description Bad Request */
|
|
102839
|
+
400: {
|
|
102840
|
+
headers: {
|
|
102841
|
+
[name: string]: unknown;
|
|
102842
|
+
};
|
|
102843
|
+
content: {
|
|
102844
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
102845
|
+
};
|
|
102846
|
+
};
|
|
102847
|
+
/** @description Forbidden */
|
|
102848
|
+
403: {
|
|
102849
|
+
headers: {
|
|
102850
|
+
[name: string]: unknown;
|
|
102851
|
+
};
|
|
102852
|
+
content: {
|
|
102853
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
102854
|
+
};
|
|
102855
|
+
};
|
|
102856
|
+
/** @description Not Found */
|
|
102857
|
+
404: {
|
|
102858
|
+
headers: {
|
|
102859
|
+
[name: string]: unknown;
|
|
102860
|
+
};
|
|
102861
|
+
content: {
|
|
102862
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
102863
|
+
};
|
|
102864
|
+
};
|
|
102865
|
+
/** @description Internal Server Error */
|
|
102866
|
+
500: {
|
|
102867
|
+
headers: {
|
|
102868
|
+
[name: string]: unknown;
|
|
102869
|
+
};
|
|
102870
|
+
content: {
|
|
102871
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
102872
|
+
};
|
|
102873
|
+
};
|
|
102874
|
+
};
|
|
102875
|
+
};
|
|
102656
102876
|
sales_invoice_views_calculate_totals_endpoint: {
|
|
102657
102877
|
parameters: {
|
|
102658
102878
|
query?: never;
|
|
@@ -103310,6 +103530,10 @@ export interface operations {
|
|
|
103310
103530
|
startDate?: string | null;
|
|
103311
103531
|
/** @description End date for custom range (YYYY-MM-DD) */
|
|
103312
103532
|
endDate?: string | null;
|
|
103533
|
+
/** @description Field to sort by */
|
|
103534
|
+
sortBy?: components["schemas"]["SalesDocumentSortBy"] | null;
|
|
103535
|
+
/** @description Sort order: ascending or descending */
|
|
103536
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
103313
103537
|
};
|
|
103314
103538
|
header?: never;
|
|
103315
103539
|
path?: never;
|
|
@@ -103878,6 +104102,10 @@ export interface operations {
|
|
|
103878
104102
|
startDate?: string | null;
|
|
103879
104103
|
/** @description End date for custom range (YYYY-MM-DD) */
|
|
103880
104104
|
endDate?: string | null;
|
|
104105
|
+
/** @description Field to sort by */
|
|
104106
|
+
sortBy?: components["schemas"]["SalesDocumentSortBy"] | null;
|
|
104107
|
+
/** @description Sort order: ascending or descending */
|
|
104108
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
103881
104109
|
};
|
|
103882
104110
|
header?: never;
|
|
103883
104111
|
path?: never;
|
|
@@ -104543,6 +104771,10 @@ export interface operations {
|
|
|
104543
104771
|
endDate?: string | null;
|
|
104544
104772
|
/** @description search by refund number, refund description, customer name, customer account number, down payments numbers or return invoices number */
|
|
104545
104773
|
search?: string;
|
|
104774
|
+
/** @description Field to sort by */
|
|
104775
|
+
sortBy?: components["schemas"]["SalesDocumentSortBy"] | null;
|
|
104776
|
+
/** @description Sort order: ascending or descending */
|
|
104777
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
104546
104778
|
};
|
|
104547
104779
|
header?: never;
|
|
104548
104780
|
path?: never;
|
|
@@ -105072,6 +105304,10 @@ export interface operations {
|
|
|
105072
105304
|
documentType?: "default" | "returnablePackageReconciliation" | "salesReturnPackage";
|
|
105073
105305
|
/** @description customer id, required when documentType is returnable_package_reconciliation */
|
|
105074
105306
|
customer?: string;
|
|
105307
|
+
/** @description Field to sort by */
|
|
105308
|
+
sortBy?: components["schemas"]["SalesInventoryDocumentSortBy"] | null;
|
|
105309
|
+
/** @description Sort order: ascending or descending */
|
|
105310
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
105075
105311
|
};
|
|
105076
105312
|
header?: never;
|
|
105077
105313
|
path?: never;
|
|
@@ -105776,6 +106012,10 @@ export interface operations {
|
|
|
105776
106012
|
endDate?: string | null;
|
|
105777
106013
|
/** @description search by credit note number, description, customer name or account number, invoice number */
|
|
105778
106014
|
search?: string;
|
|
106015
|
+
/** @description Field to sort by */
|
|
106016
|
+
sortBy?: components["schemas"]["SalesDocumentSortBy"] | null;
|
|
106017
|
+
/** @description Sort order: ascending or descending */
|
|
106018
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
105779
106019
|
};
|
|
105780
106020
|
header?: never;
|
|
105781
106021
|
path?: never;
|
|
@@ -106307,6 +106547,10 @@ export interface operations {
|
|
|
106307
106547
|
endDate?: string | null;
|
|
106308
106548
|
/** @description search by document number, document description, customer name, customer account number,item name, item barcode, item sku code or package name */
|
|
106309
106549
|
search?: string;
|
|
106550
|
+
/** @description Field to sort by */
|
|
106551
|
+
sortBy?: components["schemas"]["SalesInventoryDocumentSortBy"] | null;
|
|
106552
|
+
/** @description Sort order: ascending or descending */
|
|
106553
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
106310
106554
|
};
|
|
106311
106555
|
header?: never;
|
|
106312
106556
|
path?: never;
|
|
@@ -106706,6 +106950,10 @@ export interface operations {
|
|
|
106706
106950
|
endDate?: string | null;
|
|
106707
106951
|
/** @description search by document number, document description, customer name, customer account number,item name, package name or barcode */
|
|
106708
106952
|
search?: string;
|
|
106953
|
+
/** @description Field to sort by */
|
|
106954
|
+
sortBy?: components["schemas"]["SalesInventoryDocumentSortBy"] | null;
|
|
106955
|
+
/** @description Sort order: ascending or descending */
|
|
106956
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
106709
106957
|
};
|
|
106710
106958
|
header?: never;
|
|
106711
106959
|
path?: never;
|