@erp-galoper/types 1.0.1373 → 1.0.1374
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 +81 -77
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -22235,14 +22235,13 @@ export interface paths {
|
|
|
22235
22235
|
* - expensepaymentvoucher : [ view ]
|
|
22236
22236
|
*/
|
|
22237
22237
|
get: operations["expenses_payment_views_list_expense_payment_vouchers"];
|
|
22238
|
+
put?: never;
|
|
22238
22239
|
/**
|
|
22239
|
-
*
|
|
22240
|
-
* @description Endpoint for
|
|
22240
|
+
* New Expense Payment Voucher
|
|
22241
|
+
* @description Endpoint for new expense payment voucher
|
|
22241
22242
|
* Possible Responses:
|
|
22242
|
-
* -
|
|
22243
|
-
* -
|
|
22244
|
-
* - 404:
|
|
22245
|
-
* - expensePaymentVoucherDoesNotExist
|
|
22243
|
+
* - 201:
|
|
22244
|
+
* - expensePaymentVoucherCreated
|
|
22246
22245
|
* - 400:
|
|
22247
22246
|
* - branchDoesNotExist
|
|
22248
22247
|
* - accountIsRequired
|
|
@@ -22277,20 +22276,54 @@ export interface paths {
|
|
|
22277
22276
|
* - noBranchAccess
|
|
22278
22277
|
* - noModuleAccess
|
|
22279
22278
|
* - cantMakeActionOnLockedDocument
|
|
22280
|
-
* - expensePaymentVoucherShouldBeDraft
|
|
22281
22279
|
* - 500:
|
|
22282
22280
|
* - internalServerError
|
|
22283
22281
|
*
|
|
22284
22282
|
* - Permission key :
|
|
22285
|
-
* - expensepaymentvoucher : [
|
|
22283
|
+
* - expensepaymentvoucher : [ add ]
|
|
22286
22284
|
*/
|
|
22287
|
-
|
|
22285
|
+
post: operations["expenses_payment_views_new_expense_payment_voucher"];
|
|
22286
|
+
delete?: never;
|
|
22287
|
+
options?: never;
|
|
22288
|
+
head?: never;
|
|
22289
|
+
patch?: never;
|
|
22290
|
+
trace?: never;
|
|
22291
|
+
};
|
|
22292
|
+
"/api/v1/expenses/payments/{id}/": {
|
|
22293
|
+
parameters: {
|
|
22294
|
+
query?: never;
|
|
22295
|
+
header?: never;
|
|
22296
|
+
path?: never;
|
|
22297
|
+
cookie?: never;
|
|
22298
|
+
};
|
|
22288
22299
|
/**
|
|
22289
|
-
*
|
|
22290
|
-
* @description Endpoint for
|
|
22300
|
+
* Get Expense Payment Voucher
|
|
22301
|
+
* @description Endpoint for retrieve expense payment voucher
|
|
22291
22302
|
* Possible Responses:
|
|
22292
|
-
* -
|
|
22293
|
-
* -
|
|
22303
|
+
* - 200:
|
|
22304
|
+
* - success
|
|
22305
|
+
* - 404:
|
|
22306
|
+
* - expensePaymentVoucherDoesNotExist
|
|
22307
|
+
* - 400:
|
|
22308
|
+
* - branchDoesNotExist
|
|
22309
|
+
* - 403:
|
|
22310
|
+
* - permissionDenied
|
|
22311
|
+
* - noBranchAccess
|
|
22312
|
+
* - noModuleAccess
|
|
22313
|
+
* - 500:
|
|
22314
|
+
* - internalServerError
|
|
22315
|
+
* - Permission key:
|
|
22316
|
+
* - expensepaymentvoucher : [ view ]
|
|
22317
|
+
*/
|
|
22318
|
+
get: operations["expenses_payment_views_get_expense_payment_voucher"];
|
|
22319
|
+
/**
|
|
22320
|
+
* Update Expense Payment Voucher
|
|
22321
|
+
* @description Endpoint for update expense payment voucher
|
|
22322
|
+
* Possible Responses:
|
|
22323
|
+
* - 200:
|
|
22324
|
+
* - expensePaymentVoucherUpdated
|
|
22325
|
+
* - 404:
|
|
22326
|
+
* - expensePaymentVoucherDoesNotExist
|
|
22294
22327
|
* - 400:
|
|
22295
22328
|
* - branchDoesNotExist
|
|
22296
22329
|
* - accountIsRequired
|
|
@@ -22325,47 +22358,14 @@ export interface paths {
|
|
|
22325
22358
|
* - noBranchAccess
|
|
22326
22359
|
* - noModuleAccess
|
|
22327
22360
|
* - cantMakeActionOnLockedDocument
|
|
22361
|
+
* - expensePaymentVoucherShouldBeDraft
|
|
22328
22362
|
* - 500:
|
|
22329
22363
|
* - internalServerError
|
|
22330
22364
|
*
|
|
22331
22365
|
* - Permission key :
|
|
22332
|
-
* - expensepaymentvoucher : [
|
|
22333
|
-
*/
|
|
22334
|
-
post: operations["expenses_payment_views_new_expense_payment_voucher"];
|
|
22335
|
-
delete?: never;
|
|
22336
|
-
options?: never;
|
|
22337
|
-
head?: never;
|
|
22338
|
-
patch?: never;
|
|
22339
|
-
trace?: never;
|
|
22340
|
-
};
|
|
22341
|
-
"/api/v1/expenses/payments/{id}/": {
|
|
22342
|
-
parameters: {
|
|
22343
|
-
query?: never;
|
|
22344
|
-
header?: never;
|
|
22345
|
-
path?: never;
|
|
22346
|
-
cookie?: never;
|
|
22347
|
-
};
|
|
22348
|
-
/**
|
|
22349
|
-
* Get Expense Payment Voucher
|
|
22350
|
-
* @description Endpoint for retrieve expense payment voucher
|
|
22351
|
-
* Possible Responses:
|
|
22352
|
-
* - 200:
|
|
22353
|
-
* - success
|
|
22354
|
-
* - 404:
|
|
22355
|
-
* - expensePaymentVoucherDoesNotExist
|
|
22356
|
-
* - 400:
|
|
22357
|
-
* - branchDoesNotExist
|
|
22358
|
-
* - 403:
|
|
22359
|
-
* - permissionDenied
|
|
22360
|
-
* - noBranchAccess
|
|
22361
|
-
* - noModuleAccess
|
|
22362
|
-
* - 500:
|
|
22363
|
-
* - internalServerError
|
|
22364
|
-
* - Permission key:
|
|
22365
|
-
* - expensepaymentvoucher : [ view ]
|
|
22366
|
+
* - expensepaymentvoucher : [ change ]
|
|
22366
22367
|
*/
|
|
22367
|
-
|
|
22368
|
-
put?: never;
|
|
22368
|
+
put: operations["expenses_payment_views_update_expense_payment_voucher"];
|
|
22369
22369
|
post?: never;
|
|
22370
22370
|
/**
|
|
22371
22371
|
* Delete Expense Payment Voucher
|
|
@@ -56021,6 +56021,8 @@ export interface components {
|
|
|
56021
56021
|
secondaryTotal: string | null;
|
|
56022
56022
|
/** Candelete */
|
|
56023
56023
|
canDelete: boolean;
|
|
56024
|
+
/** Remaining */
|
|
56025
|
+
remaining: string;
|
|
56024
56026
|
/** Items */
|
|
56025
56027
|
items: components["schemas"]["ExpenseVoucherItemDetailSchema"][];
|
|
56026
56028
|
/**
|
|
@@ -56362,6 +56364,8 @@ export interface components {
|
|
|
56362
56364
|
secondaryTotal: string | null;
|
|
56363
56365
|
/** Candelete */
|
|
56364
56366
|
canDelete: boolean;
|
|
56367
|
+
/** Remaining */
|
|
56368
|
+
remaining: string;
|
|
56365
56369
|
};
|
|
56366
56370
|
/** ExpenseVoucherListSchema */
|
|
56367
56371
|
ExpenseVoucherListSchema: {
|
|
@@ -101114,11 +101118,9 @@ export interface operations {
|
|
|
101114
101118
|
};
|
|
101115
101119
|
};
|
|
101116
101120
|
};
|
|
101117
|
-
|
|
101121
|
+
expenses_payment_views_new_expense_payment_voucher: {
|
|
101118
101122
|
parameters: {
|
|
101119
|
-
query
|
|
101120
|
-
id: string;
|
|
101121
|
-
};
|
|
101123
|
+
query?: never;
|
|
101122
101124
|
header?: never;
|
|
101123
101125
|
path?: never;
|
|
101124
101126
|
cookie?: never;
|
|
@@ -101129,8 +101131,8 @@ export interface operations {
|
|
|
101129
101131
|
};
|
|
101130
101132
|
};
|
|
101131
101133
|
responses: {
|
|
101132
|
-
/** @description
|
|
101133
|
-
|
|
101134
|
+
/** @description Created */
|
|
101135
|
+
201: {
|
|
101134
101136
|
headers: {
|
|
101135
101137
|
[name: string]: unknown;
|
|
101136
101138
|
};
|
|
@@ -101156,15 +101158,6 @@ export interface operations {
|
|
|
101156
101158
|
"application/json": components["schemas"]["MessageResponse"];
|
|
101157
101159
|
};
|
|
101158
101160
|
};
|
|
101159
|
-
/** @description Not Found */
|
|
101160
|
-
404: {
|
|
101161
|
-
headers: {
|
|
101162
|
-
[name: string]: unknown;
|
|
101163
|
-
};
|
|
101164
|
-
content: {
|
|
101165
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
101166
|
-
};
|
|
101167
|
-
};
|
|
101168
101161
|
/** @description Internal Server Error */
|
|
101169
101162
|
500: {
|
|
101170
101163
|
headers: {
|
|
@@ -101176,26 +101169,24 @@ export interface operations {
|
|
|
101176
101169
|
};
|
|
101177
101170
|
};
|
|
101178
101171
|
};
|
|
101179
|
-
|
|
101172
|
+
expenses_payment_views_get_expense_payment_voucher: {
|
|
101180
101173
|
parameters: {
|
|
101181
101174
|
query?: never;
|
|
101182
101175
|
header?: never;
|
|
101183
|
-
path
|
|
101184
|
-
|
|
101185
|
-
};
|
|
101186
|
-
requestBody: {
|
|
101187
|
-
content: {
|
|
101188
|
-
"application/json": components["schemas"]["CreateUpdateExpensePaymentVoucherSchema"];
|
|
101176
|
+
path: {
|
|
101177
|
+
id: string;
|
|
101189
101178
|
};
|
|
101179
|
+
cookie?: never;
|
|
101190
101180
|
};
|
|
101181
|
+
requestBody?: never;
|
|
101191
101182
|
responses: {
|
|
101192
|
-
/** @description
|
|
101193
|
-
|
|
101183
|
+
/** @description OK */
|
|
101184
|
+
200: {
|
|
101194
101185
|
headers: {
|
|
101195
101186
|
[name: string]: unknown;
|
|
101196
101187
|
};
|
|
101197
101188
|
content: {
|
|
101198
|
-
"application/json": components["schemas"]["
|
|
101189
|
+
"application/json": components["schemas"]["ExpensePaymentVoucherWithItemSchema"];
|
|
101199
101190
|
};
|
|
101200
101191
|
};
|
|
101201
101192
|
/** @description Bad Request */
|
|
@@ -101216,6 +101207,15 @@ export interface operations {
|
|
|
101216
101207
|
"application/json": components["schemas"]["MessageResponse"];
|
|
101217
101208
|
};
|
|
101218
101209
|
};
|
|
101210
|
+
/** @description Not Found */
|
|
101211
|
+
404: {
|
|
101212
|
+
headers: {
|
|
101213
|
+
[name: string]: unknown;
|
|
101214
|
+
};
|
|
101215
|
+
content: {
|
|
101216
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
101217
|
+
};
|
|
101218
|
+
};
|
|
101219
101219
|
/** @description Internal Server Error */
|
|
101220
101220
|
500: {
|
|
101221
101221
|
headers: {
|
|
@@ -101227,7 +101227,7 @@ export interface operations {
|
|
|
101227
101227
|
};
|
|
101228
101228
|
};
|
|
101229
101229
|
};
|
|
101230
|
-
|
|
101230
|
+
expenses_payment_views_update_expense_payment_voucher: {
|
|
101231
101231
|
parameters: {
|
|
101232
101232
|
query?: never;
|
|
101233
101233
|
header?: never;
|
|
@@ -101236,7 +101236,11 @@ export interface operations {
|
|
|
101236
101236
|
};
|
|
101237
101237
|
cookie?: never;
|
|
101238
101238
|
};
|
|
101239
|
-
requestBody
|
|
101239
|
+
requestBody: {
|
|
101240
|
+
content: {
|
|
101241
|
+
"application/json": components["schemas"]["CreateUpdateExpensePaymentVoucherSchema"];
|
|
101242
|
+
};
|
|
101243
|
+
};
|
|
101240
101244
|
responses: {
|
|
101241
101245
|
/** @description OK */
|
|
101242
101246
|
200: {
|
|
@@ -101244,7 +101248,7 @@ export interface operations {
|
|
|
101244
101248
|
[name: string]: unknown;
|
|
101245
101249
|
};
|
|
101246
101250
|
content: {
|
|
101247
|
-
"application/json": components["schemas"]["
|
|
101251
|
+
"application/json": components["schemas"]["ExpensePaymentVoucherResponseSchema"];
|
|
101248
101252
|
};
|
|
101249
101253
|
};
|
|
101250
101254
|
/** @description Bad Request */
|