@erp-galoper/types 1.0.161 → 1.0.162
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 +117 -24
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -26549,7 +26549,7 @@ export interface components {
|
|
|
26549
26549
|
/**
|
|
26550
26550
|
* Id
|
|
26551
26551
|
* Format: uuid
|
|
26552
|
-
* @example
|
|
26552
|
+
* @example 17ab4ae2-a962-4603-8c56-9226e9a859d4
|
|
26553
26553
|
*/
|
|
26554
26554
|
id: string;
|
|
26555
26555
|
/**
|
|
@@ -34909,6 +34909,11 @@ export interface components {
|
|
|
34909
34909
|
id: string;
|
|
34910
34910
|
/** Serialnumber */
|
|
34911
34911
|
serialNumber: string;
|
|
34912
|
+
/**
|
|
34913
|
+
* Date
|
|
34914
|
+
* Format: date
|
|
34915
|
+
*/
|
|
34916
|
+
date: string;
|
|
34912
34917
|
branch: components["schemas"]["BranchSummaryInfo"];
|
|
34913
34918
|
salesPerson: components["schemas"]["SalesPersonSharedSchema"];
|
|
34914
34919
|
/**
|
|
@@ -34929,12 +34934,31 @@ export interface components {
|
|
|
34929
34934
|
notes: string | null;
|
|
34930
34935
|
/** Attachments */
|
|
34931
34936
|
attachments: string[] | null;
|
|
34932
|
-
/**
|
|
34933
|
-
|
|
34934
|
-
|
|
34935
|
-
|
|
34936
|
-
|
|
34937
|
-
|
|
34937
|
+
/**
|
|
34938
|
+
* Totalcommission
|
|
34939
|
+
* @description this field is number
|
|
34940
|
+
*/
|
|
34941
|
+
totalCommission: string;
|
|
34942
|
+
/**
|
|
34943
|
+
* Totalcompanycommission
|
|
34944
|
+
* @description this field is number
|
|
34945
|
+
*/
|
|
34946
|
+
totalCompanyCommission: string;
|
|
34947
|
+
/**
|
|
34948
|
+
* Totalusdcommission
|
|
34949
|
+
* @description this field is number
|
|
34950
|
+
*/
|
|
34951
|
+
totalUsdCommission: string;
|
|
34952
|
+
/**
|
|
34953
|
+
* Companyrate
|
|
34954
|
+
* @description this field is number
|
|
34955
|
+
*/
|
|
34956
|
+
companyRate: string;
|
|
34957
|
+
/**
|
|
34958
|
+
* Secondaryrate
|
|
34959
|
+
* @description this field is number
|
|
34960
|
+
*/
|
|
34961
|
+
secondaryRate: string;
|
|
34938
34962
|
/** Closingcommissioninvoices */
|
|
34939
34963
|
closingCommissionInvoices: components["schemas"]["ClosingCommissionInvoiceDetailSchema"][];
|
|
34940
34964
|
};
|
|
@@ -34947,11 +34971,11 @@ export interface components {
|
|
|
34947
34971
|
id: string;
|
|
34948
34972
|
invoice: components["schemas"]["InvoiceSummaryInfo"];
|
|
34949
34973
|
/** Amount */
|
|
34950
|
-
amount:
|
|
34974
|
+
amount: string;
|
|
34951
34975
|
/** Companyamount */
|
|
34952
|
-
companyAmount:
|
|
34976
|
+
companyAmount: string;
|
|
34953
34977
|
/** Usdamount */
|
|
34954
|
-
usdAmount:
|
|
34978
|
+
usdAmount: string;
|
|
34955
34979
|
};
|
|
34956
34980
|
/** ClosingCommissionResponse */
|
|
34957
34981
|
ClosingCommissionResponse: {
|
|
@@ -34984,6 +35008,19 @@ export interface components {
|
|
|
34984
35008
|
};
|
|
34985
35009
|
/** CreateClosingCommission */
|
|
34986
35010
|
CreateClosingCommission: {
|
|
35011
|
+
/** Password */
|
|
35012
|
+
password?: string;
|
|
35013
|
+
/**
|
|
35014
|
+
* Date
|
|
35015
|
+
* Format: date
|
|
35016
|
+
* @description
|
|
35017
|
+
* API Endpoints for Date Range Retrieval:
|
|
35018
|
+
* - Use the API: /api/v1/common/allowed_date_range/
|
|
35019
|
+
* - Query Parameters:
|
|
35020
|
+
* - module: commission
|
|
35021
|
+
* - Format: yyyy-mm-dd
|
|
35022
|
+
*/
|
|
35023
|
+
date: string;
|
|
34987
35024
|
/**
|
|
34988
35025
|
* Branch
|
|
34989
35026
|
* @description Branch ID
|
|
@@ -35034,6 +35071,11 @@ export interface components {
|
|
|
35034
35071
|
id: string;
|
|
35035
35072
|
/** Serialnumber */
|
|
35036
35073
|
serialNumber: string;
|
|
35074
|
+
/**
|
|
35075
|
+
* Date
|
|
35076
|
+
* Format: date
|
|
35077
|
+
*/
|
|
35078
|
+
date: string;
|
|
35037
35079
|
branch: components["schemas"]["BranchSummaryInfo"];
|
|
35038
35080
|
salesPerson: components["schemas"]["SalesPersonSharedSchema"];
|
|
35039
35081
|
/**
|
|
@@ -35054,12 +35096,31 @@ export interface components {
|
|
|
35054
35096
|
notes: string | null;
|
|
35055
35097
|
/** Attachments */
|
|
35056
35098
|
attachments: string[] | null;
|
|
35057
|
-
/**
|
|
35058
|
-
|
|
35059
|
-
|
|
35060
|
-
|
|
35061
|
-
|
|
35062
|
-
|
|
35099
|
+
/**
|
|
35100
|
+
* Totalcommission
|
|
35101
|
+
* @description this field is number
|
|
35102
|
+
*/
|
|
35103
|
+
totalCommission: string;
|
|
35104
|
+
/**
|
|
35105
|
+
* Totalcompanycommission
|
|
35106
|
+
* @description this field is number
|
|
35107
|
+
*/
|
|
35108
|
+
totalCompanyCommission: string;
|
|
35109
|
+
/**
|
|
35110
|
+
* Totalusdcommission
|
|
35111
|
+
* @description this field is number
|
|
35112
|
+
*/
|
|
35113
|
+
totalUsdCommission: string;
|
|
35114
|
+
/**
|
|
35115
|
+
* Companyrate
|
|
35116
|
+
* @description this field is number
|
|
35117
|
+
*/
|
|
35118
|
+
companyRate: string;
|
|
35119
|
+
/**
|
|
35120
|
+
* Secondaryrate
|
|
35121
|
+
* @description this field is number
|
|
35122
|
+
*/
|
|
35123
|
+
secondaryRate: string;
|
|
35063
35124
|
};
|
|
35064
35125
|
/** ClosingCommissionListSchema */
|
|
35065
35126
|
ClosingCommissionListSchema: {
|
|
@@ -35069,6 +35130,19 @@ export interface components {
|
|
|
35069
35130
|
};
|
|
35070
35131
|
/** UpdateClosingCommission */
|
|
35071
35132
|
UpdateClosingCommission: {
|
|
35133
|
+
/** Password */
|
|
35134
|
+
password?: string;
|
|
35135
|
+
/**
|
|
35136
|
+
* Date
|
|
35137
|
+
* Format: date
|
|
35138
|
+
* @description
|
|
35139
|
+
* API Endpoints for Date Range Retrieval:
|
|
35140
|
+
* - Use the API: /api/v1/common/allowed_date_range/
|
|
35141
|
+
* - Query Parameters:
|
|
35142
|
+
* - module: commission
|
|
35143
|
+
* - Format: yyyy-mm-dd
|
|
35144
|
+
*/
|
|
35145
|
+
date: string;
|
|
35072
35146
|
/**
|
|
35073
35147
|
* Salesperson
|
|
35074
35148
|
* Format: uuid
|
|
@@ -35096,6 +35170,11 @@ export interface components {
|
|
|
35096
35170
|
*/
|
|
35097
35171
|
attachments: string[];
|
|
35098
35172
|
};
|
|
35173
|
+
/** ClosingCommissionActionSchema */
|
|
35174
|
+
ClosingCommissionActionSchema: {
|
|
35175
|
+
/** Password */
|
|
35176
|
+
password?: string;
|
|
35177
|
+
};
|
|
35099
35178
|
/** ClosingCommissionInvoiceListResponse */
|
|
35100
35179
|
ClosingCommissionInvoiceListResponse: {
|
|
35101
35180
|
/**
|
|
@@ -69772,12 +69851,14 @@ export interface operations {
|
|
|
69772
69851
|
commission_closing_commission_views_list_closing_commissions: {
|
|
69773
69852
|
parameters: {
|
|
69774
69853
|
query: {
|
|
69775
|
-
/** @description
|
|
69776
|
-
|
|
69777
|
-
/** @description
|
|
69778
|
-
|
|
69854
|
+
/** @description by default periodType is set to date filtration in user settings, Period type: thisMonth, thisYear, lastMonth, custom, ... */
|
|
69855
|
+
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom";
|
|
69856
|
+
/** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
69857
|
+
startDate?: string | null;
|
|
69858
|
+
/** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
69859
|
+
endDate?: string | null;
|
|
69779
69860
|
branchId: number;
|
|
69780
|
-
/** @description Search by description or sales person name */
|
|
69861
|
+
/** @description Search by serial number, description or sales person name */
|
|
69781
69862
|
search?: string;
|
|
69782
69863
|
};
|
|
69783
69864
|
header?: never;
|
|
@@ -70004,7 +70085,11 @@ export interface operations {
|
|
|
70004
70085
|
};
|
|
70005
70086
|
cookie?: never;
|
|
70006
70087
|
};
|
|
70007
|
-
requestBody
|
|
70088
|
+
requestBody: {
|
|
70089
|
+
content: {
|
|
70090
|
+
"application/json": components["schemas"]["ClosingCommissionActionSchema"];
|
|
70091
|
+
};
|
|
70092
|
+
};
|
|
70008
70093
|
responses: {
|
|
70009
70094
|
/** @description No Content */
|
|
70010
70095
|
204: {
|
|
@@ -70060,7 +70145,11 @@ export interface operations {
|
|
|
70060
70145
|
};
|
|
70061
70146
|
cookie?: never;
|
|
70062
70147
|
};
|
|
70063
|
-
requestBody
|
|
70148
|
+
requestBody: {
|
|
70149
|
+
content: {
|
|
70150
|
+
"application/json": components["schemas"]["ClosingCommissionActionSchema"];
|
|
70151
|
+
};
|
|
70152
|
+
};
|
|
70064
70153
|
responses: {
|
|
70065
70154
|
/** @description OK */
|
|
70066
70155
|
200: {
|
|
@@ -70118,7 +70207,11 @@ export interface operations {
|
|
|
70118
70207
|
};
|
|
70119
70208
|
cookie?: never;
|
|
70120
70209
|
};
|
|
70121
|
-
requestBody
|
|
70210
|
+
requestBody: {
|
|
70211
|
+
content: {
|
|
70212
|
+
"application/json": components["schemas"]["ClosingCommissionActionSchema"];
|
|
70213
|
+
};
|
|
70214
|
+
};
|
|
70122
70215
|
responses: {
|
|
70123
70216
|
/** @description OK */
|
|
70124
70217
|
200: {
|