@erp-galoper/types 1.0.161 → 1.0.163
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 +121 -26
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -20734,7 +20734,7 @@ export interface components {
|
|
|
20734
20734
|
* ItemUsage
|
|
20735
20735
|
* @enum {string}
|
|
20736
20736
|
*/
|
|
20737
|
-
ItemUsage: "goods" | "works";
|
|
20737
|
+
ItemUsage: "goods" | "works" | "service";
|
|
20738
20738
|
/** ItemWithChildrenSchema */
|
|
20739
20739
|
ItemWithChildrenSchema: {
|
|
20740
20740
|
/**
|
|
@@ -21184,6 +21184,7 @@ export interface components {
|
|
|
21184
21184
|
/** Barcode */
|
|
21185
21185
|
barcode?: string | null;
|
|
21186
21186
|
type: components["schemas"]["ItemType"];
|
|
21187
|
+
/** @description when type is service usage should be disabled and set its value to service */
|
|
21187
21188
|
usage: components["schemas"]["ItemUsage"];
|
|
21188
21189
|
/** Variantof */
|
|
21189
21190
|
variantOf?: number | null;
|
|
@@ -21424,6 +21425,7 @@ export interface components {
|
|
|
21424
21425
|
/** Barcode */
|
|
21425
21426
|
barcode?: string | null;
|
|
21426
21427
|
type?: components["schemas"]["ItemType"] | null;
|
|
21428
|
+
/** @description when type is service usage should be disabled and set its value to service */
|
|
21427
21429
|
usage?: components["schemas"]["ItemUsage"] | null;
|
|
21428
21430
|
/** Variant Of */
|
|
21429
21431
|
variant_of?: number | null;
|
|
@@ -26549,7 +26551,7 @@ export interface components {
|
|
|
26549
26551
|
/**
|
|
26550
26552
|
* Id
|
|
26551
26553
|
* Format: uuid
|
|
26552
|
-
* @example
|
|
26554
|
+
* @example 7a0bca21-f2bd-478f-8d21-c86a24d419eb
|
|
26553
26555
|
*/
|
|
26554
26556
|
id: string;
|
|
26555
26557
|
/**
|
|
@@ -34909,6 +34911,11 @@ export interface components {
|
|
|
34909
34911
|
id: string;
|
|
34910
34912
|
/** Serialnumber */
|
|
34911
34913
|
serialNumber: string;
|
|
34914
|
+
/**
|
|
34915
|
+
* Date
|
|
34916
|
+
* Format: date
|
|
34917
|
+
*/
|
|
34918
|
+
date: string;
|
|
34912
34919
|
branch: components["schemas"]["BranchSummaryInfo"];
|
|
34913
34920
|
salesPerson: components["schemas"]["SalesPersonSharedSchema"];
|
|
34914
34921
|
/**
|
|
@@ -34929,12 +34936,31 @@ export interface components {
|
|
|
34929
34936
|
notes: string | null;
|
|
34930
34937
|
/** Attachments */
|
|
34931
34938
|
attachments: string[] | null;
|
|
34932
|
-
/**
|
|
34933
|
-
|
|
34934
|
-
|
|
34935
|
-
|
|
34936
|
-
|
|
34937
|
-
|
|
34939
|
+
/**
|
|
34940
|
+
* Totalcommission
|
|
34941
|
+
* @description this field is number
|
|
34942
|
+
*/
|
|
34943
|
+
totalCommission: string;
|
|
34944
|
+
/**
|
|
34945
|
+
* Totalcompanycommission
|
|
34946
|
+
* @description this field is number
|
|
34947
|
+
*/
|
|
34948
|
+
totalCompanyCommission: string;
|
|
34949
|
+
/**
|
|
34950
|
+
* Totalusdcommission
|
|
34951
|
+
* @description this field is number
|
|
34952
|
+
*/
|
|
34953
|
+
totalUsdCommission: string;
|
|
34954
|
+
/**
|
|
34955
|
+
* Companyrate
|
|
34956
|
+
* @description this field is number
|
|
34957
|
+
*/
|
|
34958
|
+
companyRate: string;
|
|
34959
|
+
/**
|
|
34960
|
+
* Secondaryrate
|
|
34961
|
+
* @description this field is number
|
|
34962
|
+
*/
|
|
34963
|
+
secondaryRate: string;
|
|
34938
34964
|
/** Closingcommissioninvoices */
|
|
34939
34965
|
closingCommissionInvoices: components["schemas"]["ClosingCommissionInvoiceDetailSchema"][];
|
|
34940
34966
|
};
|
|
@@ -34947,11 +34973,11 @@ export interface components {
|
|
|
34947
34973
|
id: string;
|
|
34948
34974
|
invoice: components["schemas"]["InvoiceSummaryInfo"];
|
|
34949
34975
|
/** Amount */
|
|
34950
|
-
amount:
|
|
34976
|
+
amount: string;
|
|
34951
34977
|
/** Companyamount */
|
|
34952
|
-
companyAmount:
|
|
34978
|
+
companyAmount: string;
|
|
34953
34979
|
/** Usdamount */
|
|
34954
|
-
usdAmount:
|
|
34980
|
+
usdAmount: string;
|
|
34955
34981
|
};
|
|
34956
34982
|
/** ClosingCommissionResponse */
|
|
34957
34983
|
ClosingCommissionResponse: {
|
|
@@ -34984,6 +35010,19 @@ export interface components {
|
|
|
34984
35010
|
};
|
|
34985
35011
|
/** CreateClosingCommission */
|
|
34986
35012
|
CreateClosingCommission: {
|
|
35013
|
+
/** Password */
|
|
35014
|
+
password?: string;
|
|
35015
|
+
/**
|
|
35016
|
+
* Date
|
|
35017
|
+
* Format: date
|
|
35018
|
+
* @description
|
|
35019
|
+
* API Endpoints for Date Range Retrieval:
|
|
35020
|
+
* - Use the API: /api/v1/common/allowed_date_range/
|
|
35021
|
+
* - Query Parameters:
|
|
35022
|
+
* - module: commission
|
|
35023
|
+
* - Format: yyyy-mm-dd
|
|
35024
|
+
*/
|
|
35025
|
+
date: string;
|
|
34987
35026
|
/**
|
|
34988
35027
|
* Branch
|
|
34989
35028
|
* @description Branch ID
|
|
@@ -35034,6 +35073,11 @@ export interface components {
|
|
|
35034
35073
|
id: string;
|
|
35035
35074
|
/** Serialnumber */
|
|
35036
35075
|
serialNumber: string;
|
|
35076
|
+
/**
|
|
35077
|
+
* Date
|
|
35078
|
+
* Format: date
|
|
35079
|
+
*/
|
|
35080
|
+
date: string;
|
|
35037
35081
|
branch: components["schemas"]["BranchSummaryInfo"];
|
|
35038
35082
|
salesPerson: components["schemas"]["SalesPersonSharedSchema"];
|
|
35039
35083
|
/**
|
|
@@ -35054,12 +35098,31 @@ export interface components {
|
|
|
35054
35098
|
notes: string | null;
|
|
35055
35099
|
/** Attachments */
|
|
35056
35100
|
attachments: string[] | null;
|
|
35057
|
-
/**
|
|
35058
|
-
|
|
35059
|
-
|
|
35060
|
-
|
|
35061
|
-
|
|
35062
|
-
|
|
35101
|
+
/**
|
|
35102
|
+
* Totalcommission
|
|
35103
|
+
* @description this field is number
|
|
35104
|
+
*/
|
|
35105
|
+
totalCommission: string;
|
|
35106
|
+
/**
|
|
35107
|
+
* Totalcompanycommission
|
|
35108
|
+
* @description this field is number
|
|
35109
|
+
*/
|
|
35110
|
+
totalCompanyCommission: string;
|
|
35111
|
+
/**
|
|
35112
|
+
* Totalusdcommission
|
|
35113
|
+
* @description this field is number
|
|
35114
|
+
*/
|
|
35115
|
+
totalUsdCommission: string;
|
|
35116
|
+
/**
|
|
35117
|
+
* Companyrate
|
|
35118
|
+
* @description this field is number
|
|
35119
|
+
*/
|
|
35120
|
+
companyRate: string;
|
|
35121
|
+
/**
|
|
35122
|
+
* Secondaryrate
|
|
35123
|
+
* @description this field is number
|
|
35124
|
+
*/
|
|
35125
|
+
secondaryRate: string;
|
|
35063
35126
|
};
|
|
35064
35127
|
/** ClosingCommissionListSchema */
|
|
35065
35128
|
ClosingCommissionListSchema: {
|
|
@@ -35069,6 +35132,19 @@ export interface components {
|
|
|
35069
35132
|
};
|
|
35070
35133
|
/** UpdateClosingCommission */
|
|
35071
35134
|
UpdateClosingCommission: {
|
|
35135
|
+
/** Password */
|
|
35136
|
+
password?: string;
|
|
35137
|
+
/**
|
|
35138
|
+
* Date
|
|
35139
|
+
* Format: date
|
|
35140
|
+
* @description
|
|
35141
|
+
* API Endpoints for Date Range Retrieval:
|
|
35142
|
+
* - Use the API: /api/v1/common/allowed_date_range/
|
|
35143
|
+
* - Query Parameters:
|
|
35144
|
+
* - module: commission
|
|
35145
|
+
* - Format: yyyy-mm-dd
|
|
35146
|
+
*/
|
|
35147
|
+
date: string;
|
|
35072
35148
|
/**
|
|
35073
35149
|
* Salesperson
|
|
35074
35150
|
* Format: uuid
|
|
@@ -35096,6 +35172,11 @@ export interface components {
|
|
|
35096
35172
|
*/
|
|
35097
35173
|
attachments: string[];
|
|
35098
35174
|
};
|
|
35175
|
+
/** ClosingCommissionActionSchema */
|
|
35176
|
+
ClosingCommissionActionSchema: {
|
|
35177
|
+
/** Password */
|
|
35178
|
+
password?: string;
|
|
35179
|
+
};
|
|
35099
35180
|
/** ClosingCommissionInvoiceListResponse */
|
|
35100
35181
|
ClosingCommissionInvoiceListResponse: {
|
|
35101
35182
|
/**
|
|
@@ -58957,7 +59038,7 @@ export interface operations {
|
|
|
58957
59038
|
erp_settings_accountingsetting_subsidiary_accounts_views_get_subsidiary_accounts_fields: {
|
|
58958
59039
|
parameters: {
|
|
58959
59040
|
query?: {
|
|
58960
|
-
itemUsage?: "goods" | "works";
|
|
59041
|
+
itemUsage?: "goods" | "works" | "service";
|
|
58961
59042
|
itemType?: "product" | "service";
|
|
58962
59043
|
};
|
|
58963
59044
|
header?: never;
|
|
@@ -69772,12 +69853,14 @@ export interface operations {
|
|
|
69772
69853
|
commission_closing_commission_views_list_closing_commissions: {
|
|
69773
69854
|
parameters: {
|
|
69774
69855
|
query: {
|
|
69775
|
-
/** @description
|
|
69776
|
-
|
|
69777
|
-
/** @description
|
|
69778
|
-
|
|
69856
|
+
/** @description by default periodType is set to date filtration in user settings, Period type: thisMonth, thisYear, lastMonth, custom, ... */
|
|
69857
|
+
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom";
|
|
69858
|
+
/** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
69859
|
+
startDate?: string | null;
|
|
69860
|
+
/** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
69861
|
+
endDate?: string | null;
|
|
69779
69862
|
branchId: number;
|
|
69780
|
-
/** @description Search by description or sales person name */
|
|
69863
|
+
/** @description Search by serial number, description or sales person name */
|
|
69781
69864
|
search?: string;
|
|
69782
69865
|
};
|
|
69783
69866
|
header?: never;
|
|
@@ -70004,7 +70087,11 @@ export interface operations {
|
|
|
70004
70087
|
};
|
|
70005
70088
|
cookie?: never;
|
|
70006
70089
|
};
|
|
70007
|
-
requestBody
|
|
70090
|
+
requestBody: {
|
|
70091
|
+
content: {
|
|
70092
|
+
"application/json": components["schemas"]["ClosingCommissionActionSchema"];
|
|
70093
|
+
};
|
|
70094
|
+
};
|
|
70008
70095
|
responses: {
|
|
70009
70096
|
/** @description No Content */
|
|
70010
70097
|
204: {
|
|
@@ -70060,7 +70147,11 @@ export interface operations {
|
|
|
70060
70147
|
};
|
|
70061
70148
|
cookie?: never;
|
|
70062
70149
|
};
|
|
70063
|
-
requestBody
|
|
70150
|
+
requestBody: {
|
|
70151
|
+
content: {
|
|
70152
|
+
"application/json": components["schemas"]["ClosingCommissionActionSchema"];
|
|
70153
|
+
};
|
|
70154
|
+
};
|
|
70064
70155
|
responses: {
|
|
70065
70156
|
/** @description OK */
|
|
70066
70157
|
200: {
|
|
@@ -70118,7 +70209,11 @@ export interface operations {
|
|
|
70118
70209
|
};
|
|
70119
70210
|
cookie?: never;
|
|
70120
70211
|
};
|
|
70121
|
-
requestBody
|
|
70212
|
+
requestBody: {
|
|
70213
|
+
content: {
|
|
70214
|
+
"application/json": components["schemas"]["ClosingCommissionActionSchema"];
|
|
70215
|
+
};
|
|
70216
|
+
};
|
|
70122
70217
|
responses: {
|
|
70123
70218
|
/** @description OK */
|
|
70124
70219
|
200: {
|