@erp-galoper/types 1.0.2002 → 1.0.2003
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 +148 -5
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -17810,6 +17810,31 @@ export interface paths {
|
|
|
17810
17810
|
patch?: never;
|
|
17811
17811
|
trace?: never;
|
|
17812
17812
|
};
|
|
17813
|
+
"/api/v1/sales/collection-deposits/calculate-equivalents/": {
|
|
17814
|
+
parameters: {
|
|
17815
|
+
query?: never;
|
|
17816
|
+
header?: never;
|
|
17817
|
+
path?: never;
|
|
17818
|
+
cookie?: never;
|
|
17819
|
+
};
|
|
17820
|
+
get?: never;
|
|
17821
|
+
put?: never;
|
|
17822
|
+
/**
|
|
17823
|
+
* Calculate Equivalents
|
|
17824
|
+
* @description Calculate equivalent amounts for a list of receipt vouchers.
|
|
17825
|
+
* Returns per-line amounts (amount, primaryAmount, secondaryAmount) and overall totals.
|
|
17826
|
+
* - 200: success
|
|
17827
|
+
* - 400: receiptVoucherDoesNotExist
|
|
17828
|
+
* - 403: noModuleAccess
|
|
17829
|
+
* Permission key: collection_deposit : [ view ]
|
|
17830
|
+
*/
|
|
17831
|
+
post: operations["sales_collection_deposit_views_calculate_equivalents"];
|
|
17832
|
+
delete?: never;
|
|
17833
|
+
options?: never;
|
|
17834
|
+
head?: never;
|
|
17835
|
+
patch?: never;
|
|
17836
|
+
trace?: never;
|
|
17837
|
+
};
|
|
17813
17838
|
"/api/v1/sales/collection-deposits/": {
|
|
17814
17839
|
parameters: {
|
|
17815
17840
|
query?: never;
|
|
@@ -24253,6 +24278,11 @@ export interface components {
|
|
|
24253
24278
|
* @default []
|
|
24254
24279
|
*/
|
|
24255
24280
|
commission: components["schemas"]["BasePermissionsSchema_Commission"];
|
|
24281
|
+
/**
|
|
24282
|
+
* @description sales actions
|
|
24283
|
+
* @default []
|
|
24284
|
+
*/
|
|
24285
|
+
sales: components["schemas"]["BasePermissionsSchema_Sales"];
|
|
24256
24286
|
/**
|
|
24257
24287
|
* @description customer actions
|
|
24258
24288
|
* @default []
|
|
@@ -24273,11 +24303,6 @@ export interface components {
|
|
|
24273
24303
|
* @default []
|
|
24274
24304
|
*/
|
|
24275
24305
|
inventory: components["schemas"]["BasePermissionsSchema_Inventory"];
|
|
24276
|
-
/**
|
|
24277
|
-
* @description sales actions
|
|
24278
|
-
* @default []
|
|
24279
|
-
*/
|
|
24280
|
-
sales: components["schemas"]["BasePermissionsSchema_Sales"];
|
|
24281
24306
|
/**
|
|
24282
24307
|
* @description hr actions
|
|
24283
24308
|
* @default []
|
|
@@ -25334,6 +25359,12 @@ export interface components {
|
|
|
25334
25359
|
BasePermissionsSchema_Report_Supplier_TopsuppliersEnum: "view";
|
|
25335
25360
|
/** BasePermissionsSchema_Sales */
|
|
25336
25361
|
BasePermissionsSchema_Sales: {
|
|
25362
|
+
/**
|
|
25363
|
+
* Collectiondeposit
|
|
25364
|
+
* @description collectiondeposit actions
|
|
25365
|
+
* @default []
|
|
25366
|
+
*/
|
|
25367
|
+
collectiondeposit: components["schemas"]["BasePermissionsSchema_Sales_CollectiondepositEnum"][];
|
|
25337
25368
|
/**
|
|
25338
25369
|
* Downpayment
|
|
25339
25370
|
* @description downpayment actions
|
|
@@ -25431,6 +25462,11 @@ export interface components {
|
|
|
25431
25462
|
*/
|
|
25432
25463
|
profit: components["schemas"]["BasePermissionsSchema_Sales_ProfitEnum"][];
|
|
25433
25464
|
};
|
|
25465
|
+
/**
|
|
25466
|
+
* BasePermissionsSchema_Sales_CollectiondepositEnum
|
|
25467
|
+
* @enum {string}
|
|
25468
|
+
*/
|
|
25469
|
+
BasePermissionsSchema_Sales_CollectiondepositEnum: "add" | "cancel" | "change" | "delete" | "resettodraft" | "view";
|
|
25434
25470
|
/**
|
|
25435
25471
|
* BasePermissionsSchema_Sales_CostEnum
|
|
25436
25472
|
* @constant
|
|
@@ -56888,6 +56924,62 @@ export interface components {
|
|
|
56888
56924
|
/** Password */
|
|
56889
56925
|
password?: string;
|
|
56890
56926
|
};
|
|
56927
|
+
/** CollectionDepositCalculateLineResultSchema */
|
|
56928
|
+
CollectionDepositCalculateLineResultSchema: {
|
|
56929
|
+
/**
|
|
56930
|
+
* Receiptvoucher
|
|
56931
|
+
* Format: uuid
|
|
56932
|
+
*/
|
|
56933
|
+
receiptVoucher: string;
|
|
56934
|
+
/**
|
|
56935
|
+
* Amount
|
|
56936
|
+
* @description field is number
|
|
56937
|
+
*/
|
|
56938
|
+
amount: string;
|
|
56939
|
+
/**
|
|
56940
|
+
* Primaryamount
|
|
56941
|
+
* @description field is number
|
|
56942
|
+
*/
|
|
56943
|
+
primaryAmount: string;
|
|
56944
|
+
/**
|
|
56945
|
+
* Secondaryamount
|
|
56946
|
+
* @description field is number
|
|
56947
|
+
*/
|
|
56948
|
+
secondaryAmount: string;
|
|
56949
|
+
};
|
|
56950
|
+
/** CollectionDepositCalculateResultSchema */
|
|
56951
|
+
CollectionDepositCalculateResultSchema: {
|
|
56952
|
+
/** Items */
|
|
56953
|
+
items: components["schemas"]["CollectionDepositCalculateLineResultSchema"][];
|
|
56954
|
+
/**
|
|
56955
|
+
* Total
|
|
56956
|
+
* @description field is number
|
|
56957
|
+
*/
|
|
56958
|
+
total: string;
|
|
56959
|
+
/**
|
|
56960
|
+
* Primarytotal
|
|
56961
|
+
* @description field is number
|
|
56962
|
+
*/
|
|
56963
|
+
primaryTotal: string;
|
|
56964
|
+
/**
|
|
56965
|
+
* Secondarytotal
|
|
56966
|
+
* @description field is number
|
|
56967
|
+
*/
|
|
56968
|
+
secondaryTotal: string;
|
|
56969
|
+
};
|
|
56970
|
+
/** CollectionDepositCalculateLineSchema */
|
|
56971
|
+
CollectionDepositCalculateLineSchema: {
|
|
56972
|
+
/**
|
|
56973
|
+
* Receiptvoucher
|
|
56974
|
+
* Format: uuid
|
|
56975
|
+
*/
|
|
56976
|
+
receiptVoucher: string;
|
|
56977
|
+
};
|
|
56978
|
+
/** CollectionDepositCalculateSchema */
|
|
56979
|
+
CollectionDepositCalculateSchema: {
|
|
56980
|
+
/** Items */
|
|
56981
|
+
items: components["schemas"]["CollectionDepositCalculateLineSchema"][];
|
|
56982
|
+
};
|
|
56891
56983
|
/** CollectedBySummary */
|
|
56892
56984
|
CollectedBySummary: {
|
|
56893
56985
|
/**
|
|
@@ -102113,6 +102205,57 @@ export interface operations {
|
|
|
102113
102205
|
};
|
|
102114
102206
|
};
|
|
102115
102207
|
};
|
|
102208
|
+
sales_collection_deposit_views_calculate_equivalents: {
|
|
102209
|
+
parameters: {
|
|
102210
|
+
query?: never;
|
|
102211
|
+
header?: never;
|
|
102212
|
+
path?: never;
|
|
102213
|
+
cookie?: never;
|
|
102214
|
+
};
|
|
102215
|
+
requestBody: {
|
|
102216
|
+
content: {
|
|
102217
|
+
"application/json": components["schemas"]["CollectionDepositCalculateSchema"];
|
|
102218
|
+
};
|
|
102219
|
+
};
|
|
102220
|
+
responses: {
|
|
102221
|
+
/** @description OK */
|
|
102222
|
+
200: {
|
|
102223
|
+
headers: {
|
|
102224
|
+
[name: string]: unknown;
|
|
102225
|
+
};
|
|
102226
|
+
content: {
|
|
102227
|
+
"application/json": components["schemas"]["CollectionDepositCalculateResultSchema"];
|
|
102228
|
+
};
|
|
102229
|
+
};
|
|
102230
|
+
/** @description Bad Request */
|
|
102231
|
+
400: {
|
|
102232
|
+
headers: {
|
|
102233
|
+
[name: string]: unknown;
|
|
102234
|
+
};
|
|
102235
|
+
content: {
|
|
102236
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
102237
|
+
};
|
|
102238
|
+
};
|
|
102239
|
+
/** @description Forbidden */
|
|
102240
|
+
403: {
|
|
102241
|
+
headers: {
|
|
102242
|
+
[name: string]: unknown;
|
|
102243
|
+
};
|
|
102244
|
+
content: {
|
|
102245
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
102246
|
+
};
|
|
102247
|
+
};
|
|
102248
|
+
/** @description Internal Server Error */
|
|
102249
|
+
500: {
|
|
102250
|
+
headers: {
|
|
102251
|
+
[name: string]: unknown;
|
|
102252
|
+
};
|
|
102253
|
+
content: {
|
|
102254
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
102255
|
+
};
|
|
102256
|
+
};
|
|
102257
|
+
};
|
|
102258
|
+
};
|
|
102116
102259
|
sales_collection_deposit_views_list_collection_deposits: {
|
|
102117
102260
|
parameters: {
|
|
102118
102261
|
query?: {
|