@erp-galoper/types 1.0.1262 → 1.0.1264
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 +1634 -461
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -22146,6 +22146,296 @@ export interface paths {
|
|
|
22146
22146
|
patch?: never;
|
|
22147
22147
|
trace?: never;
|
|
22148
22148
|
};
|
|
22149
|
+
"/api/v1/expenses/payments/calculate-totals/": {
|
|
22150
|
+
parameters: {
|
|
22151
|
+
query?: never;
|
|
22152
|
+
header?: never;
|
|
22153
|
+
path?: never;
|
|
22154
|
+
cookie?: never;
|
|
22155
|
+
};
|
|
22156
|
+
get?: never;
|
|
22157
|
+
put?: never;
|
|
22158
|
+
/**
|
|
22159
|
+
* Calculate Equivalents
|
|
22160
|
+
* @description Endpoint for calculate totals , remaining and equivalent
|
|
22161
|
+
* Possible Responses:
|
|
22162
|
+
* - 200:
|
|
22163
|
+
* - success
|
|
22164
|
+
* - 403:
|
|
22165
|
+
* - permissionDenied
|
|
22166
|
+
* - 400:
|
|
22167
|
+
* - supplierDoesNotExist
|
|
22168
|
+
* - employeeDoesNotExist
|
|
22169
|
+
* - invalidExpenseVoucher
|
|
22170
|
+
* - 500:
|
|
22171
|
+
* - internalServerError
|
|
22172
|
+
*/
|
|
22173
|
+
post: operations["expenses_payment_views_calculate_equivalents"];
|
|
22174
|
+
delete?: never;
|
|
22175
|
+
options?: never;
|
|
22176
|
+
head?: never;
|
|
22177
|
+
patch?: never;
|
|
22178
|
+
trace?: never;
|
|
22179
|
+
};
|
|
22180
|
+
"/api/v1/expenses/payments/": {
|
|
22181
|
+
parameters: {
|
|
22182
|
+
query?: never;
|
|
22183
|
+
header?: never;
|
|
22184
|
+
path?: never;
|
|
22185
|
+
cookie?: never;
|
|
22186
|
+
};
|
|
22187
|
+
/**
|
|
22188
|
+
* List Expense Payment Vouchers
|
|
22189
|
+
* @description Endpoint for List expense payment vouchers
|
|
22190
|
+
* - 200:
|
|
22191
|
+
* - success
|
|
22192
|
+
* - 400:
|
|
22193
|
+
* - invalidFilterFormat
|
|
22194
|
+
* - paginationError
|
|
22195
|
+
* - startDateAndEndDateAreRequiredForCustomPeriodType
|
|
22196
|
+
* - startDateShouldBeGreaterThanEndDate
|
|
22197
|
+
* - 403:
|
|
22198
|
+
* - permissionDenied
|
|
22199
|
+
* - noBranchAccess
|
|
22200
|
+
* - noModuleAccess
|
|
22201
|
+
* -
|
|
22202
|
+
* -500:
|
|
22203
|
+
* - internalServerError
|
|
22204
|
+
* - Permission key:
|
|
22205
|
+
* - expensepaymentvoucher : [ view ]
|
|
22206
|
+
*/
|
|
22207
|
+
get: operations["expenses_payment_views_list_expense_payment_vouchers"];
|
|
22208
|
+
/**
|
|
22209
|
+
* Update Expense Payment Voucher
|
|
22210
|
+
* @description Endpoint for update expense payment voucher
|
|
22211
|
+
* Possible Responses:
|
|
22212
|
+
* - 200:
|
|
22213
|
+
* - expensePaymentVoucherUpdated
|
|
22214
|
+
* - 404:
|
|
22215
|
+
* - expensePaymentVoucherDoesNotExist
|
|
22216
|
+
* - 400:
|
|
22217
|
+
* - branchDoesNotExist
|
|
22218
|
+
* - accountIsRequired
|
|
22219
|
+
* - customerBankAccountIsRequired
|
|
22220
|
+
* - customerBankAccountDoesNotExist
|
|
22221
|
+
* - dueDateIsRequired
|
|
22222
|
+
* - chequeNumberIsRequired
|
|
22223
|
+
* - bankNameIsRequired
|
|
22224
|
+
* - defaultGeneralAccountsDoesNotExist
|
|
22225
|
+
* - invalidChequeAccount
|
|
22226
|
+
* - invalidCashAccount
|
|
22227
|
+
* - invalidCreditCardAccount
|
|
22228
|
+
* - invalidBankAccount
|
|
22229
|
+
* - paymentMethodDoesNotExist
|
|
22230
|
+
* - BanksDoesNotExist
|
|
22231
|
+
* - supplierBankDoesNotExist
|
|
22232
|
+
* - accountDoesNotExist
|
|
22233
|
+
* - supplierShouldBeChild
|
|
22234
|
+
* - supplierShouldBeActive
|
|
22235
|
+
* - accountShouldBeActive
|
|
22236
|
+
* - accountShouldBeActive
|
|
22237
|
+
* - documentNotBalanced
|
|
22238
|
+
* - employeeBankAccountIsRequired
|
|
22239
|
+
* - expenseVoucherShouldBeSupplierRelated
|
|
22240
|
+
* - expenseVoucherDoesNotBelongToSelectedSupplier
|
|
22241
|
+
* - expenseVoucherShouldBeSubmittedOrApproved
|
|
22242
|
+
* - expenseVoucherIsPaid
|
|
22243
|
+
* - expenseVoucherEmployeeMisMatch
|
|
22244
|
+
* - expensePaymentVoucherItemDoesNotExist
|
|
22245
|
+
* - 403:
|
|
22246
|
+
* - permissionDenied
|
|
22247
|
+
* - noBranchAccess
|
|
22248
|
+
* - noModuleAccess
|
|
22249
|
+
* - cantMakeActionOnLockedDocument
|
|
22250
|
+
* - expensePaymentVoucherShouldBeDraft
|
|
22251
|
+
* - 500:
|
|
22252
|
+
* - internalServerError
|
|
22253
|
+
*
|
|
22254
|
+
* - Permission key :
|
|
22255
|
+
* - expensepaymentvoucher : [ change ]
|
|
22256
|
+
*/
|
|
22257
|
+
put: operations["expenses_payment_views_update_expense_payment_voucher"];
|
|
22258
|
+
/**
|
|
22259
|
+
* New Expense Payment Voucher
|
|
22260
|
+
* @description Endpoint for new expense payment voucher
|
|
22261
|
+
* Possible Responses:
|
|
22262
|
+
* - 201:
|
|
22263
|
+
* - expensePaymentVoucherCreated
|
|
22264
|
+
* - 400:
|
|
22265
|
+
* - branchDoesNotExist
|
|
22266
|
+
* - accountIsRequired
|
|
22267
|
+
* - customerBankAccountIsRequired
|
|
22268
|
+
* - customerBankAccountDoesNotExist
|
|
22269
|
+
* - dueDateIsRequired
|
|
22270
|
+
* - chequeNumberIsRequired
|
|
22271
|
+
* - bankNameIsRequired
|
|
22272
|
+
* - defaultGeneralAccountsDoesNotExist
|
|
22273
|
+
* - invalidChequeAccount
|
|
22274
|
+
* - invalidCashAccount
|
|
22275
|
+
* - invalidCreditCardAccount
|
|
22276
|
+
* - invalidBankAccount
|
|
22277
|
+
* - paymentMethodDoesNotExist
|
|
22278
|
+
* - BanksDoesNotExist
|
|
22279
|
+
* - supplierBankDoesNotExist
|
|
22280
|
+
* - accountDoesNotExist
|
|
22281
|
+
* - supplierShouldBeChild
|
|
22282
|
+
* - supplierShouldBeActive
|
|
22283
|
+
* - accountShouldBeActive
|
|
22284
|
+
* - accountShouldBeActive
|
|
22285
|
+
* - documentNotBalanced
|
|
22286
|
+
* - employeeBankAccountIsRequired
|
|
22287
|
+
* - expenseVoucherShouldBeSupplierRelated
|
|
22288
|
+
* - expenseVoucherDoesNotBelongToSelectedSupplier
|
|
22289
|
+
* - expenseVoucherShouldBeSubmittedOrApproved
|
|
22290
|
+
* - expenseVoucherIsPaid
|
|
22291
|
+
* - expenseVoucherEmployeeMisMatch
|
|
22292
|
+
* - expensePaymentVoucherItemDoesNotExist
|
|
22293
|
+
* - 403:
|
|
22294
|
+
* - permissionDenied
|
|
22295
|
+
* - noBranchAccess
|
|
22296
|
+
* - noModuleAccess
|
|
22297
|
+
* - cantMakeActionOnLockedDocument
|
|
22298
|
+
* - 500:
|
|
22299
|
+
* - internalServerError
|
|
22300
|
+
*
|
|
22301
|
+
* - Permission key :
|
|
22302
|
+
* - expensepaymentvoucher : [ add ]
|
|
22303
|
+
*/
|
|
22304
|
+
post: operations["expenses_payment_views_new_expense_payment_voucher"];
|
|
22305
|
+
delete?: never;
|
|
22306
|
+
options?: never;
|
|
22307
|
+
head?: never;
|
|
22308
|
+
patch?: never;
|
|
22309
|
+
trace?: never;
|
|
22310
|
+
};
|
|
22311
|
+
"/api/v1/expenses/payments/{id}/": {
|
|
22312
|
+
parameters: {
|
|
22313
|
+
query?: never;
|
|
22314
|
+
header?: never;
|
|
22315
|
+
path?: never;
|
|
22316
|
+
cookie?: never;
|
|
22317
|
+
};
|
|
22318
|
+
/**
|
|
22319
|
+
* Get Expense Payment Voucher
|
|
22320
|
+
* @description Endpoint for retrieve expense payment voucher
|
|
22321
|
+
* Possible Responses:
|
|
22322
|
+
* - 200:
|
|
22323
|
+
* - success
|
|
22324
|
+
* - 404:
|
|
22325
|
+
* - expensePaymentVoucherDoesNotExist
|
|
22326
|
+
* - 400:
|
|
22327
|
+
* - branchDoesNotExist
|
|
22328
|
+
* - 403:
|
|
22329
|
+
* - permissionDenied
|
|
22330
|
+
* - noBranchAccess
|
|
22331
|
+
* - noModuleAccess
|
|
22332
|
+
* - 500:
|
|
22333
|
+
* - internalServerError
|
|
22334
|
+
* - Permission key:
|
|
22335
|
+
* - expensepaymentvoucher : [ view ]
|
|
22336
|
+
*/
|
|
22337
|
+
get: operations["expenses_payment_views_get_expense_payment_voucher"];
|
|
22338
|
+
put?: never;
|
|
22339
|
+
post?: never;
|
|
22340
|
+
/**
|
|
22341
|
+
* Delete Expense Payment Voucher
|
|
22342
|
+
* @description Endpoint for delete expense payment voucher
|
|
22343
|
+
* - 404:
|
|
22344
|
+
* - expensePaymentVoucherDoesNotExist
|
|
22345
|
+
* - 403:
|
|
22346
|
+
* - permissionDenied
|
|
22347
|
+
* - noBranchAccess
|
|
22348
|
+
* - noModuleAccess
|
|
22349
|
+
* - cantMakeActionOnLockedDocument
|
|
22350
|
+
* - 400:
|
|
22351
|
+
* - expensePaymentVoucherCantBeDeleted
|
|
22352
|
+
* - invalidPassword
|
|
22353
|
+
* - noPasswordProvided
|
|
22354
|
+
* - 500:
|
|
22355
|
+
* - internalServerError
|
|
22356
|
+
* - Permission Key :
|
|
22357
|
+
* - expensepaymentvoucher : [ delete ]
|
|
22358
|
+
*/
|
|
22359
|
+
delete: operations["expenses_payment_views_delete_expense_payment_voucher"];
|
|
22360
|
+
options?: never;
|
|
22361
|
+
head?: never;
|
|
22362
|
+
patch?: never;
|
|
22363
|
+
trace?: never;
|
|
22364
|
+
};
|
|
22365
|
+
"/api/v1/expenses/payments/{id}/reset-to-draft/": {
|
|
22366
|
+
parameters: {
|
|
22367
|
+
query?: never;
|
|
22368
|
+
header?: never;
|
|
22369
|
+
path?: never;
|
|
22370
|
+
cookie?: never;
|
|
22371
|
+
};
|
|
22372
|
+
get?: never;
|
|
22373
|
+
put?: never;
|
|
22374
|
+
/**
|
|
22375
|
+
* Reset Expense Payment Voucher To Draft
|
|
22376
|
+
* @description Endpoint for reset document to draft
|
|
22377
|
+
* Possible Responses:
|
|
22378
|
+
* - 400:
|
|
22379
|
+
* - invalidPassword
|
|
22380
|
+
* - noPasswordProvided
|
|
22381
|
+
* - 404:
|
|
22382
|
+
* - expensePaymentVoucherDoesNotExist
|
|
22383
|
+
* - 403:
|
|
22384
|
+
* - permissionDenied
|
|
22385
|
+
* - noBranchAccess
|
|
22386
|
+
* - noModuleAccess
|
|
22387
|
+
* - expensePaymentVoucherShouldBeSubmittedOrPosted
|
|
22388
|
+
* - cantMakeActionOnLockedDocument
|
|
22389
|
+
* - expensePaymentVoucherAlreadyDraft
|
|
22390
|
+
* - 500:
|
|
22391
|
+
* - internalServerError
|
|
22392
|
+
*
|
|
22393
|
+
* - Permission Key :
|
|
22394
|
+
* - expensepaymentvoucher : [ resettodraft ]
|
|
22395
|
+
*/
|
|
22396
|
+
post: operations["expenses_payment_views_reset_expense_payment_voucher_to_draft"];
|
|
22397
|
+
delete?: never;
|
|
22398
|
+
options?: never;
|
|
22399
|
+
head?: never;
|
|
22400
|
+
patch?: never;
|
|
22401
|
+
trace?: never;
|
|
22402
|
+
};
|
|
22403
|
+
"/api/v1/expenses/payments/{id}/cancel/": {
|
|
22404
|
+
parameters: {
|
|
22405
|
+
query?: never;
|
|
22406
|
+
header?: never;
|
|
22407
|
+
path?: never;
|
|
22408
|
+
cookie?: never;
|
|
22409
|
+
};
|
|
22410
|
+
get?: never;
|
|
22411
|
+
put?: never;
|
|
22412
|
+
/**
|
|
22413
|
+
* Cancel Expense Payment Voucher
|
|
22414
|
+
* @description Endpoint that cancel document
|
|
22415
|
+
* Possible Responses:
|
|
22416
|
+
* - 400:
|
|
22417
|
+
* - invalidPassword
|
|
22418
|
+
* - noPasswordProvided
|
|
22419
|
+
* - 404 :
|
|
22420
|
+
* - expensePaymentVoucherDoesNotExist
|
|
22421
|
+
* - 403:
|
|
22422
|
+
* - permissionDenied
|
|
22423
|
+
* - noBranchAccess
|
|
22424
|
+
* - noModuleAccess
|
|
22425
|
+
* - cantMakeActionOnLockedDocument
|
|
22426
|
+
* - expensePaymentVoucherAlreadyCanceled
|
|
22427
|
+
* - 500:
|
|
22428
|
+
* - internalServerError
|
|
22429
|
+
* - permission key:
|
|
22430
|
+
* - expensepaymentvoucher : [ cancel ]
|
|
22431
|
+
*/
|
|
22432
|
+
post: operations["expenses_payment_views_cancel_expense_payment_voucher"];
|
|
22433
|
+
delete?: never;
|
|
22434
|
+
options?: never;
|
|
22435
|
+
head?: never;
|
|
22436
|
+
patch?: never;
|
|
22437
|
+
trace?: never;
|
|
22438
|
+
};
|
|
22149
22439
|
}
|
|
22150
22440
|
export type webhooks = Record<string, never>;
|
|
22151
22441
|
export interface components {
|
|
@@ -28212,7 +28502,7 @@ export interface components {
|
|
|
28212
28502
|
* FileType
|
|
28213
28503
|
* @enum {string}
|
|
28214
28504
|
*/
|
|
28215
|
-
FileType: "item" | "company" | "user" | "supplier" | "customer" | "itemCategory" | "journalVoucher" | "supplierPriceList" | "requisition" | "purchaseQuotation" | "purchaseOrder" | "purchaseReturnOrder" | "advancePayment" | "requestForQuotation" | "purchaseInvoice" | "purchaseReturnInvoice" | "salesPriceList" | "closingCommission" | "commissionStructure" | "commissionPayout" | "offerAndPromotion" | "refundVoucher" | "paymentVoucher" | "purchaseCreditNote" | "downPayment" | "receiptVoucher" | "salesPerson" | "salesQuotation" | "salesOrder" | "salesReturnOrder" | "salesInvoice" | "salesReturnInvoice" | "salesRefundVoucher" | "returnSalesOrder" | "returnSalesInvoice" | "goodsReceiptNote" | "goodsDeliveryNote" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "customFieldValue" | "transferRequest" | "expenseCategory" | "expenseVoucher";
|
|
28505
|
+
FileType: "item" | "company" | "user" | "supplier" | "customer" | "itemCategory" | "journalVoucher" | "supplierPriceList" | "requisition" | "purchaseQuotation" | "purchaseOrder" | "purchaseReturnOrder" | "advancePayment" | "requestForQuotation" | "purchaseInvoice" | "purchaseReturnInvoice" | "salesPriceList" | "closingCommission" | "commissionStructure" | "commissionPayout" | "offerAndPromotion" | "refundVoucher" | "paymentVoucher" | "purchaseCreditNote" | "downPayment" | "receiptVoucher" | "salesPerson" | "salesQuotation" | "salesOrder" | "salesReturnOrder" | "salesInvoice" | "salesReturnInvoice" | "salesRefundVoucher" | "returnSalesOrder" | "returnSalesInvoice" | "goodsReceiptNote" | "goodsDeliveryNote" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "customFieldValue" | "transferRequest" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher";
|
|
28216
28506
|
/** currencyCodeOut */
|
|
28217
28507
|
currencyCodeOut: {
|
|
28218
28508
|
/** Currencycode */
|
|
@@ -28304,7 +28594,7 @@ export interface components {
|
|
|
28304
28594
|
* LogModelName
|
|
28305
28595
|
* @enum {string}
|
|
28306
28596
|
*/
|
|
28307
|
-
LogModelName: "item" | "customer" | "supplier" | "
|
|
28597
|
+
LogModelName: "item" | "customer" | "supplier" | "internalTransferHeader" | "transferRequest" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher";
|
|
28308
28598
|
/**
|
|
28309
28599
|
* LogType
|
|
28310
28600
|
* @enum {string}
|
|
@@ -28360,7 +28650,7 @@ export interface components {
|
|
|
28360
28650
|
* CombinedModelName
|
|
28361
28651
|
* @enum {string}
|
|
28362
28652
|
*/
|
|
28363
|
-
CombinedModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport";
|
|
28653
|
+
CombinedModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport";
|
|
28364
28654
|
/** CustomFieldsList */
|
|
28365
28655
|
CustomFieldsList: {
|
|
28366
28656
|
info: components["schemas"]["PageInfoSchema"];
|
|
@@ -30791,11 +31081,8 @@ export interface components {
|
|
|
30791
31081
|
* @description Schema for individual linked documents.
|
|
30792
31082
|
*/
|
|
30793
31083
|
LinkedDocumentsSchema: {
|
|
30794
|
-
/**
|
|
30795
|
-
|
|
30796
|
-
* Format: uuid
|
|
30797
|
-
*/
|
|
30798
|
-
id: string;
|
|
31084
|
+
/** Id */
|
|
31085
|
+
id: number | string;
|
|
30799
31086
|
/** Serialnumber */
|
|
30800
31087
|
serialNumber: string;
|
|
30801
31088
|
/**
|
|
@@ -30865,6 +31152,8 @@ export interface components {
|
|
|
30865
31152
|
destinationWarehouse: components["schemas"]["WarehouseSummaryInfo"];
|
|
30866
31153
|
sourceWarehouseResponse: components["schemas"]["SourceWarehouseResponseEnum"] | null;
|
|
30867
31154
|
rejectionReason: components["schemas"]["ReasonSummaryInfo"] | null;
|
|
31155
|
+
/** Candelete */
|
|
31156
|
+
canDelete: boolean;
|
|
30868
31157
|
/** Linkeddocuments */
|
|
30869
31158
|
linkedDocuments?: {
|
|
30870
31159
|
[key: string]: components["schemas"]["LinkedDocumentsSchema"];
|
|
@@ -31018,6 +31307,8 @@ export interface components {
|
|
|
31018
31307
|
destinationWarehouse: components["schemas"]["WarehouseSummaryInfo"];
|
|
31019
31308
|
sourceWarehouseResponse: components["schemas"]["SourceWarehouseResponseEnum"] | null;
|
|
31020
31309
|
rejectionReason: components["schemas"]["ReasonSummaryInfo"] | null;
|
|
31310
|
+
/** Candelete */
|
|
31311
|
+
canDelete: boolean;
|
|
31021
31312
|
};
|
|
31022
31313
|
/** TransferRequestListSchema */
|
|
31023
31314
|
TransferRequestListSchema: {
|
|
@@ -32002,7 +32293,7 @@ export interface components {
|
|
|
32002
32293
|
* DocumentTypeEnum
|
|
32003
32294
|
* @enum {string}
|
|
32004
32295
|
*/
|
|
32005
|
-
DocumentTypeEnum: "purchaseRefundVoucher" | "creditNote" | "advancePayment" | "goodsReceiptNote" | "salesPerson" | "returnOrder" | "returnInvoice" | "expenseVoucher";
|
|
32296
|
+
DocumentTypeEnum: "purchaseRefundVoucher" | "creditNote" | "advancePayment" | "goodsReceiptNote" | "salesPerson" | "returnOrder" | "returnInvoice" | "expenseVoucher" | "expensePaymentVoucher";
|
|
32006
32297
|
/**
|
|
32007
32298
|
* typeSuppliers
|
|
32008
32299
|
* @enum {string}
|
|
@@ -43146,7 +43437,7 @@ export interface components {
|
|
|
43146
43437
|
* EmployeeDocumentTypeEnum
|
|
43147
43438
|
* @enum {string}
|
|
43148
43439
|
*/
|
|
43149
|
-
EmployeeDocumentTypeEnum: "default" | "salesPerson";
|
|
43440
|
+
EmployeeDocumentTypeEnum: "default" | "salesPerson" | "expensePaymentVoucher";
|
|
43150
43441
|
/**
|
|
43151
43442
|
* EmployeeTypeEnum
|
|
43152
43443
|
* @enum {string}
|
|
@@ -53935,12 +54226,12 @@ export interface components {
|
|
|
53935
54226
|
* CombinedModelName
|
|
53936
54227
|
* @enum {string}
|
|
53937
54228
|
*/
|
|
53938
|
-
common__schemas__CombinedModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport";
|
|
54229
|
+
common__schemas__CombinedModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport";
|
|
53939
54230
|
/**
|
|
53940
54231
|
* CombinedModelName
|
|
53941
54232
|
* @enum {string}
|
|
53942
54233
|
*/
|
|
53943
|
-
common__shared_schemas__CombinedModelName: "item" | "customer" | "supplier" | "
|
|
54234
|
+
common__shared_schemas__CombinedModelName: "item" | "customer" | "supplier" | "internalTransferHeader" | "transferRequest" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport";
|
|
53944
54235
|
/** TasksListSchema */
|
|
53945
54236
|
TasksListSchema: {
|
|
53946
54237
|
info: components["schemas"]["PageInfoSchema"];
|
|
@@ -55607,6 +55898,424 @@ export interface components {
|
|
|
55607
55898
|
/** Password */
|
|
55608
55899
|
password?: string;
|
|
55609
55900
|
};
|
|
55901
|
+
/**
|
|
55902
|
+
* ChangedFieldsVersionThree
|
|
55903
|
+
* @enum {string}
|
|
55904
|
+
*/
|
|
55905
|
+
ChangedFieldsVersionThree: "amount" | "primaryAmount" | "secondaryAmount" | "primaryRate" | "secondaryRate" | "accountNumber";
|
|
55906
|
+
/** ExpensePaymentVoucherCalculateTotalsResponseSchema */
|
|
55907
|
+
ExpensePaymentVoucherCalculateTotalsResponseSchema: {
|
|
55908
|
+
/** Total */
|
|
55909
|
+
total: string;
|
|
55910
|
+
/** Primarytotal */
|
|
55911
|
+
primaryTotal: string;
|
|
55912
|
+
/** Secondarytotal */
|
|
55913
|
+
secondaryTotal: string;
|
|
55914
|
+
/** Remainingbalance */
|
|
55915
|
+
remainingBalance: string;
|
|
55916
|
+
/**
|
|
55917
|
+
* Items
|
|
55918
|
+
* @default []
|
|
55919
|
+
*/
|
|
55920
|
+
items: components["schemas"]["ExpensePaymentVoucherItemCalculateTotalsResponseSchema"][];
|
|
55921
|
+
};
|
|
55922
|
+
/** ExpensePaymentVoucherItemCalculateTotalsResponseSchema */
|
|
55923
|
+
ExpensePaymentVoucherItemCalculateTotalsResponseSchema: {
|
|
55924
|
+
/** Amount */
|
|
55925
|
+
amount?: string;
|
|
55926
|
+
/** Primaryamount */
|
|
55927
|
+
primaryAmount: string;
|
|
55928
|
+
/** Secondaryamount */
|
|
55929
|
+
secondaryAmount: string;
|
|
55930
|
+
changedField: components["schemas"]["ChangedFieldsVersionThree"];
|
|
55931
|
+
/**
|
|
55932
|
+
* Primaryrate
|
|
55933
|
+
* @default 1
|
|
55934
|
+
*/
|
|
55935
|
+
primaryRate: string;
|
|
55936
|
+
/** Secondaryrate */
|
|
55937
|
+
secondaryRate: string;
|
|
55938
|
+
/** Remaining */
|
|
55939
|
+
remaining: string;
|
|
55940
|
+
};
|
|
55941
|
+
/** ExpensePaymentVoucherCalculateTotalsSchema */
|
|
55942
|
+
ExpensePaymentVoucherCalculateTotalsSchema: {
|
|
55943
|
+
/**
|
|
55944
|
+
* Supplier
|
|
55945
|
+
* @description "
|
|
55946
|
+
* API Endpoints for Supplier Retrieval:
|
|
55947
|
+
* - Use the API: /api/v1/suppliers/?type=parents&documentType=expensePaymentVoucher
|
|
55948
|
+
*/
|
|
55949
|
+
supplier: number;
|
|
55950
|
+
/**
|
|
55951
|
+
* Employee
|
|
55952
|
+
* Format: uuid
|
|
55953
|
+
* @description - employee id
|
|
55954
|
+
* - get employees using route /api/v1/employees/?branchId={branch-id}&document_type=expensePaymentVoucher&supplier={supplier-id}
|
|
55955
|
+
*/
|
|
55956
|
+
employee?: string;
|
|
55957
|
+
/**
|
|
55958
|
+
* Items
|
|
55959
|
+
* @default []
|
|
55960
|
+
*/
|
|
55961
|
+
items: components["schemas"]["ExpensePaymentVoucherItemCalculateTotalsSchema"][];
|
|
55962
|
+
};
|
|
55963
|
+
/** ExpensePaymentVoucherItemCalculateTotalsSchema */
|
|
55964
|
+
ExpensePaymentVoucherItemCalculateTotalsSchema: {
|
|
55965
|
+
/**
|
|
55966
|
+
* Expensevoucher
|
|
55967
|
+
* Format: uuid
|
|
55968
|
+
* @description - expense voucher id ,
|
|
55969
|
+
* API Endpoints for expense voucher retrieval:
|
|
55970
|
+
* - Use the API: /api/v1/expenses/vouchers/ and filter by supplier equals selected supplier id,employee equals select employee id, approvalStatus equals approved or NotRequired, paymentStatus equals notPaid or PartiallyPaid
|
|
55971
|
+
*/
|
|
55972
|
+
expenseVoucher: string;
|
|
55973
|
+
/** Amount */
|
|
55974
|
+
amount?: string;
|
|
55975
|
+
/** Primaryamount */
|
|
55976
|
+
primaryAmount?: string;
|
|
55977
|
+
/** Secondaryamount */
|
|
55978
|
+
secondaryAmount?: string;
|
|
55979
|
+
changedField: components["schemas"]["ChangedFieldsVersionThree"];
|
|
55980
|
+
/**
|
|
55981
|
+
* Primaryrate
|
|
55982
|
+
* @default 1
|
|
55983
|
+
*/
|
|
55984
|
+
primaryRate: string;
|
|
55985
|
+
/** Secondaryrate */
|
|
55986
|
+
secondaryRate?: string;
|
|
55987
|
+
};
|
|
55988
|
+
/** ExpensePaymentVoucherItemDetailSchema */
|
|
55989
|
+
ExpensePaymentVoucherItemDetailSchema: {
|
|
55990
|
+
/**
|
|
55991
|
+
* Id
|
|
55992
|
+
* Format: uuid
|
|
55993
|
+
*/
|
|
55994
|
+
id: string;
|
|
55995
|
+
account: components["schemas"]["AccountSummaryInfo"] | null;
|
|
55996
|
+
paymentMethod: components["schemas"]["PaymentMethodSharedSchema"];
|
|
55997
|
+
supplierBankAccount: components["schemas"]["BankAccountsSharedSchema"] | null;
|
|
55998
|
+
/** Duedate */
|
|
55999
|
+
dueDate: string | null;
|
|
56000
|
+
/** Chequenumber */
|
|
56001
|
+
chequeNumber: string | null;
|
|
56002
|
+
/** Bankname */
|
|
56003
|
+
bankName: string | null;
|
|
56004
|
+
expenseVoucher: components["schemas"]["DocumentCommonSchema"];
|
|
56005
|
+
/**
|
|
56006
|
+
* Amount
|
|
56007
|
+
* @description field is number
|
|
56008
|
+
*/
|
|
56009
|
+
amount: string;
|
|
56010
|
+
/**
|
|
56011
|
+
* Primaryamount
|
|
56012
|
+
* @description field is number
|
|
56013
|
+
*/
|
|
56014
|
+
primaryAmount: string;
|
|
56015
|
+
/**
|
|
56016
|
+
* Secondaryamount
|
|
56017
|
+
* @description field is number
|
|
56018
|
+
*/
|
|
56019
|
+
secondaryAmount: string;
|
|
56020
|
+
/**
|
|
56021
|
+
* Primaryrate
|
|
56022
|
+
* @description field is number
|
|
56023
|
+
*/
|
|
56024
|
+
primaryRate: string;
|
|
56025
|
+
/**
|
|
56026
|
+
* Secondaryrate
|
|
56027
|
+
* @description field is number
|
|
56028
|
+
*/
|
|
56029
|
+
secondaryRate: string;
|
|
56030
|
+
};
|
|
56031
|
+
/** ExpensePaymentVoucherResponseSchema */
|
|
56032
|
+
ExpensePaymentVoucherResponseSchema: {
|
|
56033
|
+
/** Code */
|
|
56034
|
+
code: string;
|
|
56035
|
+
/** Message */
|
|
56036
|
+
message: string;
|
|
56037
|
+
data: components["schemas"]["ExpensePaymentVoucherWithItemSchema"];
|
|
56038
|
+
};
|
|
56039
|
+
/** ExpensePaymentVoucherWithItemSchema */
|
|
56040
|
+
ExpensePaymentVoucherWithItemSchema: {
|
|
56041
|
+
/**
|
|
56042
|
+
* Datecreated
|
|
56043
|
+
* Format: date-time
|
|
56044
|
+
*/
|
|
56045
|
+
dateCreated: string;
|
|
56046
|
+
/** Datemodified */
|
|
56047
|
+
dateModified?: string | null;
|
|
56048
|
+
createdBy: components["schemas"]["RecordUserSchema"];
|
|
56049
|
+
modifiedBy?: components["schemas"]["RecordUserSchema"] | null;
|
|
56050
|
+
/**
|
|
56051
|
+
* Id
|
|
56052
|
+
* Format: uuid
|
|
56053
|
+
*/
|
|
56054
|
+
id: string;
|
|
56055
|
+
/** Serialnumber */
|
|
56056
|
+
serialNumber: string;
|
|
56057
|
+
/**
|
|
56058
|
+
* Date
|
|
56059
|
+
* Format: date
|
|
56060
|
+
*/
|
|
56061
|
+
date: string;
|
|
56062
|
+
branch: components["schemas"]["BranchSummaryInfo"];
|
|
56063
|
+
/** Referencenumber */
|
|
56064
|
+
referenceNumber: string | null;
|
|
56065
|
+
supplier: components["schemas"]["AccountSummaryInfo"];
|
|
56066
|
+
employee: components["schemas"]["AccountSummaryInfo"] | null;
|
|
56067
|
+
/** Description */
|
|
56068
|
+
description: string | null;
|
|
56069
|
+
/** Notes */
|
|
56070
|
+
notes: string | null;
|
|
56071
|
+
/** Attachments */
|
|
56072
|
+
attachments: string[] | null;
|
|
56073
|
+
status: components["schemas"]["DocumentStatus"];
|
|
56074
|
+
approvalStatus: components["schemas"]["ApprovalChoices"];
|
|
56075
|
+
/**
|
|
56076
|
+
* Total
|
|
56077
|
+
* @description field is number
|
|
56078
|
+
*/
|
|
56079
|
+
total: string;
|
|
56080
|
+
/**
|
|
56081
|
+
* Primarytotal
|
|
56082
|
+
* @description field is number
|
|
56083
|
+
*/
|
|
56084
|
+
primaryTotal: string;
|
|
56085
|
+
/**
|
|
56086
|
+
* Secondarytotal
|
|
56087
|
+
* @description field is number
|
|
56088
|
+
*/
|
|
56089
|
+
secondaryTotal: string;
|
|
56090
|
+
/** Candelete */
|
|
56091
|
+
canDelete: boolean;
|
|
56092
|
+
/** Items */
|
|
56093
|
+
items: components["schemas"]["ExpensePaymentVoucherItemDetailSchema"][];
|
|
56094
|
+
/**
|
|
56095
|
+
* Entries
|
|
56096
|
+
* @description accounting entries related to this document
|
|
56097
|
+
* @default []
|
|
56098
|
+
*/
|
|
56099
|
+
entries: components["schemas"]["PostEntryDetailsSchema"][];
|
|
56100
|
+
/** Linkeddocuments */
|
|
56101
|
+
linkedDocuments?: {
|
|
56102
|
+
[key: string]: components["schemas"]["LinkedDocumentsSchema"];
|
|
56103
|
+
}[];
|
|
56104
|
+
};
|
|
56105
|
+
/** CreateUpdateExpensePaymentVoucherSchema */
|
|
56106
|
+
CreateUpdateExpensePaymentVoucherSchema: {
|
|
56107
|
+
/** Password */
|
|
56108
|
+
password?: string;
|
|
56109
|
+
/**
|
|
56110
|
+
* Date
|
|
56111
|
+
* Format: date
|
|
56112
|
+
* @description API Endpoints for Date Range Retrieval:
|
|
56113
|
+
* - Use the API: /api/v1/common/allowed_date_range/
|
|
56114
|
+
* - Query Parameters:
|
|
56115
|
+
* - module: expenses
|
|
56116
|
+
* - Format: yyyy-mm-dd
|
|
56117
|
+
*/
|
|
56118
|
+
date: string;
|
|
56119
|
+
/** Referencenumber */
|
|
56120
|
+
referenceNumber?: string;
|
|
56121
|
+
/** Recipient */
|
|
56122
|
+
recipient?: string;
|
|
56123
|
+
/** Description */
|
|
56124
|
+
description?: string;
|
|
56125
|
+
/** Notes */
|
|
56126
|
+
notes?: string;
|
|
56127
|
+
/**
|
|
56128
|
+
* Attachments
|
|
56129
|
+
* @description API Endpoints for File Upload:
|
|
56130
|
+
* - Use the API: /api/v1/common/upload
|
|
56131
|
+
* - Payload Type: expensepaymentvoucher
|
|
56132
|
+
* @default []
|
|
56133
|
+
*/
|
|
56134
|
+
attachments: string[];
|
|
56135
|
+
/**
|
|
56136
|
+
* Supplier
|
|
56137
|
+
* @description "
|
|
56138
|
+
* API Endpoints for Supplier Retrieval:
|
|
56139
|
+
* - Use the API: /api/v1/suppliers/?type=parents&documentType=expensePaymentVoucher
|
|
56140
|
+
*/
|
|
56141
|
+
supplier: number;
|
|
56142
|
+
/**
|
|
56143
|
+
* Employee
|
|
56144
|
+
* Format: uuid
|
|
56145
|
+
* @description - employee id
|
|
56146
|
+
* - get employees using route /api/v1/employees/?branchId={branch-id}&document_type=expensePaymentVoucher&supplier={supplier-id}
|
|
56147
|
+
*/
|
|
56148
|
+
employee?: string;
|
|
56149
|
+
status: components["schemas"]["InternalStatusChoices"];
|
|
56150
|
+
/** Items */
|
|
56151
|
+
items: components["schemas"]["ExpensePaymentVoucherItemCreateUpdateSchema"][];
|
|
56152
|
+
};
|
|
56153
|
+
/** ExpensePaymentVoucherItemCreateUpdateSchema */
|
|
56154
|
+
ExpensePaymentVoucherItemCreateUpdateSchema: {
|
|
56155
|
+
/**
|
|
56156
|
+
* Accountnumber
|
|
56157
|
+
* @description Visibility and Requirement:
|
|
56158
|
+
* - Visible and required if the accounting module is active.
|
|
56159
|
+
* API Endpoints for Account Retrieval:
|
|
56160
|
+
* 1. For Payment Methods [Cheque, Cash, Credit Card]:
|
|
56161
|
+
* - Use the API: /api/v1/chart_of_account/
|
|
56162
|
+
* - Query Parameters:
|
|
56163
|
+
* - type: Same as the payment method name.
|
|
56164
|
+
* - {entity-id}: ID of the {entity} options:(supplier, customer , sales_person, account).
|
|
56165
|
+
* - Filter: Accounts where status = true.
|
|
56166
|
+
* 2. For Payment Method [Bank Transfer]:
|
|
56167
|
+
* - Use the API: /api/v1/banks/
|
|
56168
|
+
* - Query Parameters:
|
|
56169
|
+
* - type: Same as the payment method name.
|
|
56170
|
+
* - {entity-id}: ID of the {entity} options:(supplier, customer , sales_person, account).
|
|
56171
|
+
* - Filter: Banks where `status = true.
|
|
56172
|
+
*/
|
|
56173
|
+
accountNumber?: string;
|
|
56174
|
+
/**
|
|
56175
|
+
* Paymentmethod
|
|
56176
|
+
* @description API Endpoints for Payment Method Retrieval:
|
|
56177
|
+
* - Use the API: api/v1/payment_methods/
|
|
56178
|
+
* - Filter: where name != on Account
|
|
56179
|
+
*/
|
|
56180
|
+
paymentMethod: number;
|
|
56181
|
+
/**
|
|
56182
|
+
* Duedate
|
|
56183
|
+
* Format: date
|
|
56184
|
+
* @description Visibility and Requirement:
|
|
56185
|
+
* - Required and visible if payment method is Cheque
|
|
56186
|
+
*/
|
|
56187
|
+
dueDate?: string;
|
|
56188
|
+
/**
|
|
56189
|
+
* Chequenumber
|
|
56190
|
+
* @description Visibility and Requirement:
|
|
56191
|
+
* - Required and visible if payment method is Cheque
|
|
56192
|
+
*/
|
|
56193
|
+
chequeNumber?: string;
|
|
56194
|
+
/**
|
|
56195
|
+
* Bankname
|
|
56196
|
+
* @description Visibility and Requirement:
|
|
56197
|
+
* - Required and visible if payment method is Cheque
|
|
56198
|
+
*/
|
|
56199
|
+
bankName?: string;
|
|
56200
|
+
/**
|
|
56201
|
+
* Amount
|
|
56202
|
+
* @description field is number, should be greater than zero
|
|
56203
|
+
*/
|
|
56204
|
+
amount: string;
|
|
56205
|
+
/**
|
|
56206
|
+
* Primaryrate
|
|
56207
|
+
* @description Visibility and Requirement:
|
|
56208
|
+
* - This field is a number.
|
|
56209
|
+
* - This field is visible and required if allow rate change is on in system settings and entity(supplier or employee if selected) currency is different than company currency
|
|
56210
|
+
* API Retrieval:
|
|
56211
|
+
* - Get the company rate from the currency table where field name is rate and filter by currency name matches the entity currency
|
|
56212
|
+
*/
|
|
56213
|
+
primaryRate?: string;
|
|
56214
|
+
/**
|
|
56215
|
+
* Secondaryrate
|
|
56216
|
+
* @description Visibility and Requirement:
|
|
56217
|
+
* - This field is a number.
|
|
56218
|
+
* - This field is visible and required if allow rate change and use secondary rate are on in system settings and entity(supplier or employee if selected) currency is different than secondary currency
|
|
56219
|
+
* API Retrieval:
|
|
56220
|
+
* - Get the secondary rate from currency table where field name is usdRate and filter by currency name matches entity currency
|
|
56221
|
+
*/
|
|
56222
|
+
secondaryRate?: string;
|
|
56223
|
+
/**
|
|
56224
|
+
* Id
|
|
56225
|
+
* Format: uuid
|
|
56226
|
+
* @description UUID of the voucher item, used in put route
|
|
56227
|
+
*/
|
|
56228
|
+
id?: string;
|
|
56229
|
+
/**
|
|
56230
|
+
* Supplierbankaccount
|
|
56231
|
+
* @description Visibility and Requirement:
|
|
56232
|
+
* - visible if payment method is Bank Transfer, required if employee is not selected
|
|
56233
|
+
* API Endpoints for Supplier Bank Account Retrieval:
|
|
56234
|
+
* - Use the API: /api/v1/suppliers/{supplier-id}/ where field is banks
|
|
56235
|
+
*/
|
|
56236
|
+
supplierBankAccount?: number;
|
|
56237
|
+
/**
|
|
56238
|
+
* Employeebankaccount
|
|
56239
|
+
* @description Visibility and Requirement:
|
|
56240
|
+
* - visible if payment method is Bank Transfer, required if employee is selected
|
|
56241
|
+
* API Endpoints for Supplier Bank Account Retrieval:
|
|
56242
|
+
* - Use the API: /api/v1/suppliers/{supplier-id}/ where field is banks
|
|
56243
|
+
*/
|
|
56244
|
+
employeeBankAccount?: number;
|
|
56245
|
+
/**
|
|
56246
|
+
* Expensevoucher
|
|
56247
|
+
* Format: uuid
|
|
56248
|
+
* @description - expense voucher id ,
|
|
56249
|
+
* API Endpoints for expense voucher retrieval:
|
|
56250
|
+
* - Use the API: /api/v1/expenses/vouchers/ and filter by supplier equals selected supplier id,employee equals select employee id, approvalStatus equals approved or NotRequired, paymentStatus equals notPaid or PartiallyPaid
|
|
56251
|
+
*/
|
|
56252
|
+
expenseVoucher: string;
|
|
56253
|
+
};
|
|
56254
|
+
/** ExpensePaymentVoucherDetailSchema */
|
|
56255
|
+
ExpensePaymentVoucherDetailSchema: {
|
|
56256
|
+
/**
|
|
56257
|
+
* Datecreated
|
|
56258
|
+
* Format: date-time
|
|
56259
|
+
*/
|
|
56260
|
+
dateCreated: string;
|
|
56261
|
+
/** Datemodified */
|
|
56262
|
+
dateModified?: string | null;
|
|
56263
|
+
createdBy: components["schemas"]["RecordUserSchema"];
|
|
56264
|
+
modifiedBy?: components["schemas"]["RecordUserSchema"] | null;
|
|
56265
|
+
/**
|
|
56266
|
+
* Id
|
|
56267
|
+
* Format: uuid
|
|
56268
|
+
*/
|
|
56269
|
+
id: string;
|
|
56270
|
+
/** Serialnumber */
|
|
56271
|
+
serialNumber: string;
|
|
56272
|
+
/**
|
|
56273
|
+
* Date
|
|
56274
|
+
* Format: date
|
|
56275
|
+
*/
|
|
56276
|
+
date: string;
|
|
56277
|
+
branch: components["schemas"]["BranchSummaryInfo"];
|
|
56278
|
+
/** Referencenumber */
|
|
56279
|
+
referenceNumber: string | null;
|
|
56280
|
+
supplier: components["schemas"]["AccountSummaryInfo"];
|
|
56281
|
+
employee: components["schemas"]["AccountSummaryInfo"] | null;
|
|
56282
|
+
/** Description */
|
|
56283
|
+
description: string | null;
|
|
56284
|
+
/** Notes */
|
|
56285
|
+
notes: string | null;
|
|
56286
|
+
/** Attachments */
|
|
56287
|
+
attachments: string[] | null;
|
|
56288
|
+
status: components["schemas"]["DocumentStatus"];
|
|
56289
|
+
approvalStatus: components["schemas"]["ApprovalChoices"];
|
|
56290
|
+
/**
|
|
56291
|
+
* Total
|
|
56292
|
+
* @description field is number
|
|
56293
|
+
*/
|
|
56294
|
+
total: string;
|
|
56295
|
+
/**
|
|
56296
|
+
* Primarytotal
|
|
56297
|
+
* @description field is number
|
|
56298
|
+
*/
|
|
56299
|
+
primaryTotal: string;
|
|
56300
|
+
/**
|
|
56301
|
+
* Secondarytotal
|
|
56302
|
+
* @description field is number
|
|
56303
|
+
*/
|
|
56304
|
+
secondaryTotal: string;
|
|
56305
|
+
/** Candelete */
|
|
56306
|
+
canDelete: boolean;
|
|
56307
|
+
};
|
|
56308
|
+
/** ExpensePaymentVoucherListSchema */
|
|
56309
|
+
ExpensePaymentVoucherListSchema: {
|
|
56310
|
+
info: components["schemas"]["PageInfoSchema"];
|
|
56311
|
+
/** Results */
|
|
56312
|
+
results: components["schemas"]["ExpensePaymentVoucherDetailSchema"][];
|
|
56313
|
+
};
|
|
56314
|
+
/** ExpensePaymentVoucherActionSchema */
|
|
56315
|
+
ExpensePaymentVoucherActionSchema: {
|
|
56316
|
+
/** Password */
|
|
56317
|
+
password?: string;
|
|
56318
|
+
};
|
|
55610
56319
|
};
|
|
55611
56320
|
responses: never;
|
|
55612
56321
|
parameters: never;
|
|
@@ -59999,7 +60708,7 @@ export interface operations {
|
|
|
59999
60708
|
common_views_get_logs: {
|
|
60000
60709
|
parameters: {
|
|
60001
60710
|
query?: {
|
|
60002
|
-
logModelName?: "item" | "customer" | "supplier" | "
|
|
60711
|
+
logModelName?: "item" | "customer" | "supplier" | "internalTransferHeader" | "transferRequest" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher";
|
|
60003
60712
|
logType?: "Created" | "Changed" | "Deleted";
|
|
60004
60713
|
startDate?: string;
|
|
60005
60714
|
endDate?: string;
|
|
@@ -60056,7 +60765,7 @@ export interface operations {
|
|
|
60056
60765
|
common_views_get_model_names: {
|
|
60057
60766
|
parameters: {
|
|
60058
60767
|
query?: {
|
|
60059
|
-
CombinedModelNames?: "item" | "customer" | "supplier" | "
|
|
60768
|
+
CombinedModelNames?: "item" | "customer" | "supplier" | "internalTransferHeader" | "transferRequest" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport";
|
|
60060
60769
|
};
|
|
60061
60770
|
header?: never;
|
|
60062
60771
|
path?: never;
|
|
@@ -67605,7 +68314,7 @@ export interface operations {
|
|
|
67605
68314
|
/** @description Type of supplier to get */
|
|
67606
68315
|
type?: "parents" | "children";
|
|
67607
68316
|
/** @description type of document for listing suppliers, example : purchaseRefundVoucher */
|
|
67608
|
-
documentType?: "purchaseRefundVoucher" | "creditNote" | "advancePayment" | "goodsReceiptNote" | "salesPerson" | "returnOrder" | "returnInvoice" | "expenseVoucher";
|
|
68317
|
+
documentType?: "purchaseRefundVoucher" | "creditNote" | "advancePayment" | "goodsReceiptNote" | "salesPerson" | "returnOrder" | "returnInvoice" | "expenseVoucher" | "expensePaymentVoucher";
|
|
67609
68318
|
search?: string | null;
|
|
67610
68319
|
/** @description Branch ID */
|
|
67611
68320
|
branch?: number;
|
|
@@ -82518,7 +83227,9 @@ export interface operations {
|
|
|
82518
83227
|
/** @description Type of employee to get */
|
|
82519
83228
|
type?: "default" | "parent" | "children";
|
|
82520
83229
|
/** @description Type of document for listing employees */
|
|
82521
|
-
document_type?: "default" | "salesPerson";
|
|
83230
|
+
document_type?: "default" | "salesPerson" | "expensePaymentVoucher";
|
|
83231
|
+
/** @description supplier id, required when document type is expensePaymentVoucher */
|
|
83232
|
+
supplier?: number;
|
|
82522
83233
|
};
|
|
82523
83234
|
header?: never;
|
|
82524
83235
|
path?: never;
|
|
@@ -97406,16 +98117,464 @@ export interface operations {
|
|
|
97406
98117
|
};
|
|
97407
98118
|
};
|
|
97408
98119
|
};
|
|
97409
|
-
integration_sync_views_sync_single_customer_endpoint: {
|
|
98120
|
+
integration_sync_views_sync_single_customer_endpoint: {
|
|
98121
|
+
parameters: {
|
|
98122
|
+
query?: never;
|
|
98123
|
+
header?: never;
|
|
98124
|
+
path: {
|
|
98125
|
+
customer_id: number;
|
|
98126
|
+
};
|
|
98127
|
+
cookie?: never;
|
|
98128
|
+
};
|
|
98129
|
+
requestBody?: never;
|
|
98130
|
+
responses: {
|
|
98131
|
+
/** @description OK */
|
|
98132
|
+
200: {
|
|
98133
|
+
headers: {
|
|
98134
|
+
[name: string]: unknown;
|
|
98135
|
+
};
|
|
98136
|
+
content: {
|
|
98137
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
98138
|
+
};
|
|
98139
|
+
};
|
|
98140
|
+
/** @description Accepted */
|
|
98141
|
+
202: {
|
|
98142
|
+
headers: {
|
|
98143
|
+
[name: string]: unknown;
|
|
98144
|
+
};
|
|
98145
|
+
content: {
|
|
98146
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
98147
|
+
};
|
|
98148
|
+
};
|
|
98149
|
+
/** @description Bad Request */
|
|
98150
|
+
400: {
|
|
98151
|
+
headers: {
|
|
98152
|
+
[name: string]: unknown;
|
|
98153
|
+
};
|
|
98154
|
+
content: {
|
|
98155
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
98156
|
+
};
|
|
98157
|
+
};
|
|
98158
|
+
/** @description Not Found */
|
|
98159
|
+
404: {
|
|
98160
|
+
headers: {
|
|
98161
|
+
[name: string]: unknown;
|
|
98162
|
+
};
|
|
98163
|
+
content: {
|
|
98164
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
98165
|
+
};
|
|
98166
|
+
};
|
|
98167
|
+
/** @description Conflict */
|
|
98168
|
+
409: {
|
|
98169
|
+
headers: {
|
|
98170
|
+
[name: string]: unknown;
|
|
98171
|
+
};
|
|
98172
|
+
content: {
|
|
98173
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
98174
|
+
};
|
|
98175
|
+
};
|
|
98176
|
+
};
|
|
98177
|
+
};
|
|
98178
|
+
integration_whatsapp_views_setup_whatsapp: {
|
|
98179
|
+
parameters: {
|
|
98180
|
+
query?: never;
|
|
98181
|
+
header?: never;
|
|
98182
|
+
path?: never;
|
|
98183
|
+
cookie?: never;
|
|
98184
|
+
};
|
|
98185
|
+
requestBody: {
|
|
98186
|
+
content: {
|
|
98187
|
+
"application/json": components["schemas"]["CreateWhatsAppIntegrationSchema"];
|
|
98188
|
+
};
|
|
98189
|
+
};
|
|
98190
|
+
responses: {
|
|
98191
|
+
/** @description Created */
|
|
98192
|
+
201: {
|
|
98193
|
+
headers: {
|
|
98194
|
+
[name: string]: unknown;
|
|
98195
|
+
};
|
|
98196
|
+
content: {
|
|
98197
|
+
"application/json": components["schemas"]["WhatsAppIntegrationResponseSchema"];
|
|
98198
|
+
};
|
|
98199
|
+
};
|
|
98200
|
+
/** @description Bad Request */
|
|
98201
|
+
400: {
|
|
98202
|
+
headers: {
|
|
98203
|
+
[name: string]: unknown;
|
|
98204
|
+
};
|
|
98205
|
+
content: {
|
|
98206
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
98207
|
+
};
|
|
98208
|
+
};
|
|
98209
|
+
/** @description Forbidden */
|
|
98210
|
+
403: {
|
|
98211
|
+
headers: {
|
|
98212
|
+
[name: string]: unknown;
|
|
98213
|
+
};
|
|
98214
|
+
content: {
|
|
98215
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
98216
|
+
};
|
|
98217
|
+
};
|
|
98218
|
+
/** @description Conflict */
|
|
98219
|
+
409: {
|
|
98220
|
+
headers: {
|
|
98221
|
+
[name: string]: unknown;
|
|
98222
|
+
};
|
|
98223
|
+
content: {
|
|
98224
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
98225
|
+
};
|
|
98226
|
+
};
|
|
98227
|
+
/** @description Internal Server Error */
|
|
98228
|
+
500: {
|
|
98229
|
+
headers: {
|
|
98230
|
+
[name: string]: unknown;
|
|
98231
|
+
};
|
|
98232
|
+
content: {
|
|
98233
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
98234
|
+
};
|
|
98235
|
+
};
|
|
98236
|
+
};
|
|
98237
|
+
};
|
|
98238
|
+
integration_whatsapp_views_sync_approval_statuses: {
|
|
98239
|
+
parameters: {
|
|
98240
|
+
query?: never;
|
|
98241
|
+
header?: never;
|
|
98242
|
+
path?: never;
|
|
98243
|
+
cookie?: never;
|
|
98244
|
+
};
|
|
98245
|
+
requestBody?: never;
|
|
98246
|
+
responses: {
|
|
98247
|
+
/** @description OK */
|
|
98248
|
+
200: {
|
|
98249
|
+
headers: {
|
|
98250
|
+
[name: string]: unknown;
|
|
98251
|
+
};
|
|
98252
|
+
content: {
|
|
98253
|
+
"application/json": components["schemas"]["SyncApprovalStatusesResponseSchema"];
|
|
98254
|
+
};
|
|
98255
|
+
};
|
|
98256
|
+
/** @description Forbidden */
|
|
98257
|
+
403: {
|
|
98258
|
+
headers: {
|
|
98259
|
+
[name: string]: unknown;
|
|
98260
|
+
};
|
|
98261
|
+
content: {
|
|
98262
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
98263
|
+
};
|
|
98264
|
+
};
|
|
98265
|
+
/** @description Not Found */
|
|
98266
|
+
404: {
|
|
98267
|
+
headers: {
|
|
98268
|
+
[name: string]: unknown;
|
|
98269
|
+
};
|
|
98270
|
+
content: {
|
|
98271
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
98272
|
+
};
|
|
98273
|
+
};
|
|
98274
|
+
/** @description Internal Server Error */
|
|
98275
|
+
500: {
|
|
98276
|
+
headers: {
|
|
98277
|
+
[name: string]: unknown;
|
|
98278
|
+
};
|
|
98279
|
+
content: {
|
|
98280
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
98281
|
+
};
|
|
98282
|
+
};
|
|
98283
|
+
};
|
|
98284
|
+
};
|
|
98285
|
+
integration_whatsapp_views_get_templates: {
|
|
98286
|
+
parameters: {
|
|
98287
|
+
query?: {
|
|
98288
|
+
/** @description Page number */
|
|
98289
|
+
page?: number;
|
|
98290
|
+
/** @description Page size */
|
|
98291
|
+
pageSize?: number;
|
|
98292
|
+
/** @description Search by template name or language */
|
|
98293
|
+
search?: string | null;
|
|
98294
|
+
/** @description Filter by entity type */
|
|
98295
|
+
entityType?: components["schemas"]["EntityType"] | null;
|
|
98296
|
+
};
|
|
98297
|
+
header?: never;
|
|
98298
|
+
path?: never;
|
|
98299
|
+
cookie?: never;
|
|
98300
|
+
};
|
|
98301
|
+
requestBody?: never;
|
|
98302
|
+
responses: {
|
|
98303
|
+
/** @description OK */
|
|
98304
|
+
200: {
|
|
98305
|
+
headers: {
|
|
98306
|
+
[name: string]: unknown;
|
|
98307
|
+
};
|
|
98308
|
+
content: {
|
|
98309
|
+
"application/json": components["schemas"]["GetTemplatesResponseSchema"];
|
|
98310
|
+
};
|
|
98311
|
+
};
|
|
98312
|
+
/** @description Forbidden */
|
|
98313
|
+
403: {
|
|
98314
|
+
headers: {
|
|
98315
|
+
[name: string]: unknown;
|
|
98316
|
+
};
|
|
98317
|
+
content: {
|
|
98318
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
98319
|
+
};
|
|
98320
|
+
};
|
|
98321
|
+
/** @description Not Found */
|
|
98322
|
+
404: {
|
|
98323
|
+
headers: {
|
|
98324
|
+
[name: string]: unknown;
|
|
98325
|
+
};
|
|
98326
|
+
content: {
|
|
98327
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
98328
|
+
};
|
|
98329
|
+
};
|
|
98330
|
+
/** @description Internal Server Error */
|
|
98331
|
+
500: {
|
|
98332
|
+
headers: {
|
|
98333
|
+
[name: string]: unknown;
|
|
98334
|
+
};
|
|
98335
|
+
content: {
|
|
98336
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
98337
|
+
};
|
|
98338
|
+
};
|
|
98339
|
+
};
|
|
98340
|
+
};
|
|
98341
|
+
integration_whatsapp_views_register_template: {
|
|
98342
|
+
parameters: {
|
|
98343
|
+
query?: never;
|
|
98344
|
+
header?: never;
|
|
98345
|
+
path?: never;
|
|
98346
|
+
cookie?: never;
|
|
98347
|
+
};
|
|
98348
|
+
requestBody: {
|
|
98349
|
+
content: {
|
|
98350
|
+
"application/json": components["schemas"]["RegisterTemplateSchema"];
|
|
98351
|
+
};
|
|
98352
|
+
};
|
|
98353
|
+
responses: {
|
|
98354
|
+
/** @description Created */
|
|
98355
|
+
201: {
|
|
98356
|
+
headers: {
|
|
98357
|
+
[name: string]: unknown;
|
|
98358
|
+
};
|
|
98359
|
+
content: {
|
|
98360
|
+
"application/json": components["schemas"]["TemplateSchema"];
|
|
98361
|
+
};
|
|
98362
|
+
};
|
|
98363
|
+
/** @description Bad Request */
|
|
98364
|
+
400: {
|
|
98365
|
+
headers: {
|
|
98366
|
+
[name: string]: unknown;
|
|
98367
|
+
};
|
|
98368
|
+
content: {
|
|
98369
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
98370
|
+
};
|
|
98371
|
+
};
|
|
98372
|
+
/** @description Forbidden */
|
|
98373
|
+
403: {
|
|
98374
|
+
headers: {
|
|
98375
|
+
[name: string]: unknown;
|
|
98376
|
+
};
|
|
98377
|
+
content: {
|
|
98378
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
98379
|
+
};
|
|
98380
|
+
};
|
|
98381
|
+
/** @description Not Found */
|
|
98382
|
+
404: {
|
|
98383
|
+
headers: {
|
|
98384
|
+
[name: string]: unknown;
|
|
98385
|
+
};
|
|
98386
|
+
content: {
|
|
98387
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
98388
|
+
};
|
|
98389
|
+
};
|
|
98390
|
+
/** @description Internal Server Error */
|
|
98391
|
+
500: {
|
|
98392
|
+
headers: {
|
|
98393
|
+
[name: string]: unknown;
|
|
98394
|
+
};
|
|
98395
|
+
content: {
|
|
98396
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
98397
|
+
};
|
|
98398
|
+
};
|
|
98399
|
+
};
|
|
98400
|
+
};
|
|
98401
|
+
integration_whatsapp_views_get_template: {
|
|
98402
|
+
parameters: {
|
|
98403
|
+
query?: never;
|
|
98404
|
+
header?: never;
|
|
98405
|
+
path: {
|
|
98406
|
+
id: string;
|
|
98407
|
+
};
|
|
98408
|
+
cookie?: never;
|
|
98409
|
+
};
|
|
98410
|
+
requestBody?: never;
|
|
98411
|
+
responses: {
|
|
98412
|
+
/** @description OK */
|
|
98413
|
+
200: {
|
|
98414
|
+
headers: {
|
|
98415
|
+
[name: string]: unknown;
|
|
98416
|
+
};
|
|
98417
|
+
content: {
|
|
98418
|
+
"application/json": components["schemas"]["TemplateSchema"];
|
|
98419
|
+
};
|
|
98420
|
+
};
|
|
98421
|
+
/** @description Forbidden */
|
|
98422
|
+
403: {
|
|
98423
|
+
headers: {
|
|
98424
|
+
[name: string]: unknown;
|
|
98425
|
+
};
|
|
98426
|
+
content: {
|
|
98427
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
98428
|
+
};
|
|
98429
|
+
};
|
|
98430
|
+
/** @description Not Found */
|
|
98431
|
+
404: {
|
|
98432
|
+
headers: {
|
|
98433
|
+
[name: string]: unknown;
|
|
98434
|
+
};
|
|
98435
|
+
content: {
|
|
98436
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
98437
|
+
};
|
|
98438
|
+
};
|
|
98439
|
+
/** @description Internal Server Error */
|
|
98440
|
+
500: {
|
|
98441
|
+
headers: {
|
|
98442
|
+
[name: string]: unknown;
|
|
98443
|
+
};
|
|
98444
|
+
content: {
|
|
98445
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
98446
|
+
};
|
|
98447
|
+
};
|
|
98448
|
+
};
|
|
98449
|
+
};
|
|
98450
|
+
integration_whatsapp_views_delete_template: {
|
|
98451
|
+
parameters: {
|
|
98452
|
+
query?: never;
|
|
98453
|
+
header?: never;
|
|
98454
|
+
path: {
|
|
98455
|
+
id: string;
|
|
98456
|
+
};
|
|
98457
|
+
cookie?: never;
|
|
98458
|
+
};
|
|
98459
|
+
requestBody?: never;
|
|
98460
|
+
responses: {
|
|
98461
|
+
/** @description No Content */
|
|
98462
|
+
204: {
|
|
98463
|
+
headers: {
|
|
98464
|
+
[name: string]: unknown;
|
|
98465
|
+
};
|
|
98466
|
+
content?: never;
|
|
98467
|
+
};
|
|
98468
|
+
/** @description Bad Request */
|
|
98469
|
+
400: {
|
|
98470
|
+
headers: {
|
|
98471
|
+
[name: string]: unknown;
|
|
98472
|
+
};
|
|
98473
|
+
content: {
|
|
98474
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
98475
|
+
};
|
|
98476
|
+
};
|
|
98477
|
+
/** @description Forbidden */
|
|
98478
|
+
403: {
|
|
98479
|
+
headers: {
|
|
98480
|
+
[name: string]: unknown;
|
|
98481
|
+
};
|
|
98482
|
+
content: {
|
|
98483
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
98484
|
+
};
|
|
98485
|
+
};
|
|
98486
|
+
/** @description Not Found */
|
|
98487
|
+
404: {
|
|
98488
|
+
headers: {
|
|
98489
|
+
[name: string]: unknown;
|
|
98490
|
+
};
|
|
98491
|
+
content: {
|
|
98492
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
98493
|
+
};
|
|
98494
|
+
};
|
|
98495
|
+
/** @description Internal Server Error */
|
|
98496
|
+
500: {
|
|
98497
|
+
headers: {
|
|
98498
|
+
[name: string]: unknown;
|
|
98499
|
+
};
|
|
98500
|
+
content: {
|
|
98501
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
98502
|
+
};
|
|
98503
|
+
};
|
|
98504
|
+
};
|
|
98505
|
+
};
|
|
98506
|
+
erp_settings_notificationsettings_views_get_notification_setting: {
|
|
98507
|
+
parameters: {
|
|
98508
|
+
query?: never;
|
|
98509
|
+
header?: never;
|
|
98510
|
+
path: {
|
|
98511
|
+
id: string;
|
|
98512
|
+
};
|
|
98513
|
+
cookie?: never;
|
|
98514
|
+
};
|
|
98515
|
+
requestBody?: never;
|
|
98516
|
+
responses: {
|
|
98517
|
+
/** @description OK */
|
|
98518
|
+
200: {
|
|
98519
|
+
headers: {
|
|
98520
|
+
[name: string]: unknown;
|
|
98521
|
+
};
|
|
98522
|
+
content: {
|
|
98523
|
+
"application/json": components["schemas"]["RetrieveNotificationSetting"];
|
|
98524
|
+
};
|
|
98525
|
+
};
|
|
98526
|
+
/** @description Bad Request */
|
|
98527
|
+
400: {
|
|
98528
|
+
headers: {
|
|
98529
|
+
[name: string]: unknown;
|
|
98530
|
+
};
|
|
98531
|
+
content: {
|
|
98532
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
98533
|
+
};
|
|
98534
|
+
};
|
|
98535
|
+
/** @description Forbidden */
|
|
98536
|
+
403: {
|
|
98537
|
+
headers: {
|
|
98538
|
+
[name: string]: unknown;
|
|
98539
|
+
};
|
|
98540
|
+
content: {
|
|
98541
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
98542
|
+
};
|
|
98543
|
+
};
|
|
98544
|
+
/** @description Not Found */
|
|
98545
|
+
404: {
|
|
98546
|
+
headers: {
|
|
98547
|
+
[name: string]: unknown;
|
|
98548
|
+
};
|
|
98549
|
+
content: {
|
|
98550
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
98551
|
+
};
|
|
98552
|
+
};
|
|
98553
|
+
/** @description Internal Server Error */
|
|
98554
|
+
500: {
|
|
98555
|
+
headers: {
|
|
98556
|
+
[name: string]: unknown;
|
|
98557
|
+
};
|
|
98558
|
+
content: {
|
|
98559
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
98560
|
+
};
|
|
98561
|
+
};
|
|
98562
|
+
};
|
|
98563
|
+
};
|
|
98564
|
+
erp_settings_notificationsettings_views_edit_notification_setting: {
|
|
97410
98565
|
parameters: {
|
|
97411
98566
|
query?: never;
|
|
97412
98567
|
header?: never;
|
|
97413
98568
|
path: {
|
|
97414
|
-
|
|
98569
|
+
id: string;
|
|
97415
98570
|
};
|
|
97416
98571
|
cookie?: never;
|
|
97417
98572
|
};
|
|
97418
|
-
requestBody
|
|
98573
|
+
requestBody: {
|
|
98574
|
+
content: {
|
|
98575
|
+
"application/json": components["schemas"]["UpdateNotificationSetting"];
|
|
98576
|
+
};
|
|
98577
|
+
};
|
|
97419
98578
|
responses: {
|
|
97420
98579
|
/** @description OK */
|
|
97421
98580
|
200: {
|
|
@@ -97423,25 +98582,25 @@ export interface operations {
|
|
|
97423
98582
|
[name: string]: unknown;
|
|
97424
98583
|
};
|
|
97425
98584
|
content: {
|
|
97426
|
-
"application/json": components["schemas"]["
|
|
98585
|
+
"application/json": components["schemas"]["RetrieveNotificationSetting"];
|
|
97427
98586
|
};
|
|
97428
98587
|
};
|
|
97429
|
-
/** @description
|
|
97430
|
-
|
|
98588
|
+
/** @description Bad Request */
|
|
98589
|
+
400: {
|
|
97431
98590
|
headers: {
|
|
97432
98591
|
[name: string]: unknown;
|
|
97433
98592
|
};
|
|
97434
98593
|
content: {
|
|
97435
|
-
"application/json": components["schemas"]["
|
|
98594
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
97436
98595
|
};
|
|
97437
98596
|
};
|
|
97438
|
-
/** @description
|
|
97439
|
-
|
|
98597
|
+
/** @description Forbidden */
|
|
98598
|
+
403: {
|
|
97440
98599
|
headers: {
|
|
97441
98600
|
[name: string]: unknown;
|
|
97442
98601
|
};
|
|
97443
98602
|
content: {
|
|
97444
|
-
"application/json": components["schemas"]["
|
|
98603
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97445
98604
|
};
|
|
97446
98605
|
};
|
|
97447
98606
|
/** @description Not Found */
|
|
@@ -97462,28 +98621,36 @@ export interface operations {
|
|
|
97462
98621
|
"application/json": components["schemas"]["MessageResponse"];
|
|
97463
98622
|
};
|
|
97464
98623
|
};
|
|
98624
|
+
/** @description Internal Server Error */
|
|
98625
|
+
500: {
|
|
98626
|
+
headers: {
|
|
98627
|
+
[name: string]: unknown;
|
|
98628
|
+
};
|
|
98629
|
+
content: {
|
|
98630
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
98631
|
+
};
|
|
98632
|
+
};
|
|
97465
98633
|
};
|
|
97466
98634
|
};
|
|
97467
|
-
|
|
98635
|
+
erp_settings_notificationsettings_views_list_notification_settings: {
|
|
97468
98636
|
parameters: {
|
|
97469
|
-
query?:
|
|
98637
|
+
query?: {
|
|
98638
|
+
/** @description Search notification setting by notification type */
|
|
98639
|
+
search?: string | null;
|
|
98640
|
+
};
|
|
97470
98641
|
header?: never;
|
|
97471
98642
|
path?: never;
|
|
97472
98643
|
cookie?: never;
|
|
97473
98644
|
};
|
|
97474
|
-
requestBody
|
|
97475
|
-
content: {
|
|
97476
|
-
"application/json": components["schemas"]["CreateWhatsAppIntegrationSchema"];
|
|
97477
|
-
};
|
|
97478
|
-
};
|
|
98645
|
+
requestBody?: never;
|
|
97479
98646
|
responses: {
|
|
97480
|
-
/** @description
|
|
97481
|
-
|
|
98647
|
+
/** @description OK */
|
|
98648
|
+
200: {
|
|
97482
98649
|
headers: {
|
|
97483
98650
|
[name: string]: unknown;
|
|
97484
98651
|
};
|
|
97485
98652
|
content: {
|
|
97486
|
-
"application/json": components["schemas"]["
|
|
98653
|
+
"application/json": components["schemas"]["NotificationSettingList"];
|
|
97487
98654
|
};
|
|
97488
98655
|
};
|
|
97489
98656
|
/** @description Bad Request */
|
|
@@ -97501,16 +98668,16 @@ export interface operations {
|
|
|
97501
98668
|
[name: string]: unknown;
|
|
97502
98669
|
};
|
|
97503
98670
|
content: {
|
|
97504
|
-
"application/json": components["schemas"]["
|
|
98671
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97505
98672
|
};
|
|
97506
98673
|
};
|
|
97507
|
-
/** @description
|
|
97508
|
-
|
|
98674
|
+
/** @description Not Found */
|
|
98675
|
+
404: {
|
|
97509
98676
|
headers: {
|
|
97510
98677
|
[name: string]: unknown;
|
|
97511
98678
|
};
|
|
97512
98679
|
content: {
|
|
97513
|
-
"application/json": components["schemas"]["
|
|
98680
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97514
98681
|
};
|
|
97515
98682
|
};
|
|
97516
98683
|
/** @description Internal Server Error */
|
|
@@ -97519,12 +98686,12 @@ export interface operations {
|
|
|
97519
98686
|
[name: string]: unknown;
|
|
97520
98687
|
};
|
|
97521
98688
|
content: {
|
|
97522
|
-
"application/json": components["schemas"]["
|
|
98689
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97523
98690
|
};
|
|
97524
98691
|
};
|
|
97525
98692
|
};
|
|
97526
98693
|
};
|
|
97527
|
-
|
|
98694
|
+
notification_views_notification_stream: {
|
|
97528
98695
|
parameters: {
|
|
97529
98696
|
query?: never;
|
|
97530
98697
|
header?: never;
|
|
@@ -97538,9 +98705,7 @@ export interface operations {
|
|
|
97538
98705
|
headers: {
|
|
97539
98706
|
[name: string]: unknown;
|
|
97540
98707
|
};
|
|
97541
|
-
content
|
|
97542
|
-
"application/json": components["schemas"]["SyncApprovalStatusesResponseSchema"];
|
|
97543
|
-
};
|
|
98708
|
+
content?: never;
|
|
97544
98709
|
};
|
|
97545
98710
|
/** @description Forbidden */
|
|
97546
98711
|
403: {
|
|
@@ -97548,16 +98713,7 @@ export interface operations {
|
|
|
97548
98713
|
[name: string]: unknown;
|
|
97549
98714
|
};
|
|
97550
98715
|
content: {
|
|
97551
|
-
"application/json": components["schemas"]["
|
|
97552
|
-
};
|
|
97553
|
-
};
|
|
97554
|
-
/** @description Not Found */
|
|
97555
|
-
404: {
|
|
97556
|
-
headers: {
|
|
97557
|
-
[name: string]: unknown;
|
|
97558
|
-
};
|
|
97559
|
-
content: {
|
|
97560
|
-
"application/json": components["schemas"]["MessageWithCode"];
|
|
98716
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97561
98717
|
};
|
|
97562
98718
|
};
|
|
97563
98719
|
/** @description Internal Server Error */
|
|
@@ -97566,22 +98722,16 @@ export interface operations {
|
|
|
97566
98722
|
[name: string]: unknown;
|
|
97567
98723
|
};
|
|
97568
98724
|
content: {
|
|
97569
|
-
"application/json": components["schemas"]["
|
|
98725
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97570
98726
|
};
|
|
97571
98727
|
};
|
|
97572
98728
|
};
|
|
97573
98729
|
};
|
|
97574
|
-
|
|
98730
|
+
notification_views_list_notification: {
|
|
97575
98731
|
parameters: {
|
|
97576
98732
|
query?: {
|
|
97577
|
-
/** @description
|
|
97578
|
-
page?: number;
|
|
97579
|
-
/** @description Page size */
|
|
97580
|
-
pageSize?: number;
|
|
97581
|
-
/** @description Search by template name or language */
|
|
98733
|
+
/** @description Search notification by title or message */
|
|
97582
98734
|
search?: string | null;
|
|
97583
|
-
/** @description Filter by entity type */
|
|
97584
|
-
entityType?: components["schemas"]["EntityType"] | null;
|
|
97585
98735
|
};
|
|
97586
98736
|
header?: never;
|
|
97587
98737
|
path?: never;
|
|
@@ -97595,25 +98745,25 @@ export interface operations {
|
|
|
97595
98745
|
[name: string]: unknown;
|
|
97596
98746
|
};
|
|
97597
98747
|
content: {
|
|
97598
|
-
"application/json": components["schemas"]["
|
|
98748
|
+
"application/json": components["schemas"]["NotificationsList"];
|
|
97599
98749
|
};
|
|
97600
98750
|
};
|
|
97601
|
-
/** @description
|
|
97602
|
-
|
|
98751
|
+
/** @description Bad Request */
|
|
98752
|
+
400: {
|
|
97603
98753
|
headers: {
|
|
97604
98754
|
[name: string]: unknown;
|
|
97605
98755
|
};
|
|
97606
98756
|
content: {
|
|
97607
|
-
"application/json": components["schemas"]["
|
|
98757
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
97608
98758
|
};
|
|
97609
98759
|
};
|
|
97610
|
-
/** @description
|
|
97611
|
-
|
|
98760
|
+
/** @description Forbidden */
|
|
98761
|
+
403: {
|
|
97612
98762
|
headers: {
|
|
97613
98763
|
[name: string]: unknown;
|
|
97614
98764
|
};
|
|
97615
98765
|
content: {
|
|
97616
|
-
"application/json": components["schemas"]["
|
|
98766
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97617
98767
|
};
|
|
97618
98768
|
};
|
|
97619
98769
|
/** @description Internal Server Error */
|
|
@@ -97622,31 +98772,33 @@ export interface operations {
|
|
|
97622
98772
|
[name: string]: unknown;
|
|
97623
98773
|
};
|
|
97624
98774
|
content: {
|
|
97625
|
-
"application/json": components["schemas"]["
|
|
98775
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97626
98776
|
};
|
|
97627
98777
|
};
|
|
97628
98778
|
};
|
|
97629
98779
|
};
|
|
97630
|
-
|
|
98780
|
+
notification_views_update_notification_status: {
|
|
97631
98781
|
parameters: {
|
|
97632
98782
|
query?: never;
|
|
97633
98783
|
header?: never;
|
|
97634
|
-
path
|
|
98784
|
+
path: {
|
|
98785
|
+
id: string;
|
|
98786
|
+
};
|
|
97635
98787
|
cookie?: never;
|
|
97636
98788
|
};
|
|
97637
98789
|
requestBody: {
|
|
97638
98790
|
content: {
|
|
97639
|
-
"application/json": components["schemas"]["
|
|
98791
|
+
"application/json": components["schemas"]["MarkAsReadNotif"];
|
|
97640
98792
|
};
|
|
97641
98793
|
};
|
|
97642
98794
|
responses: {
|
|
97643
|
-
/** @description
|
|
97644
|
-
|
|
98795
|
+
/** @description OK */
|
|
98796
|
+
200: {
|
|
97645
98797
|
headers: {
|
|
97646
98798
|
[name: string]: unknown;
|
|
97647
98799
|
};
|
|
97648
98800
|
content: {
|
|
97649
|
-
"application/json": components["schemas"]["
|
|
98801
|
+
"application/json": components["schemas"]["RetrieveNotificationRecipient"];
|
|
97650
98802
|
};
|
|
97651
98803
|
};
|
|
97652
98804
|
/** @description Bad Request */
|
|
@@ -97664,7 +98816,7 @@ export interface operations {
|
|
|
97664
98816
|
[name: string]: unknown;
|
|
97665
98817
|
};
|
|
97666
98818
|
content: {
|
|
97667
|
-
"application/json": components["schemas"]["
|
|
98819
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97668
98820
|
};
|
|
97669
98821
|
};
|
|
97670
98822
|
/** @description Not Found */
|
|
@@ -97673,7 +98825,7 @@ export interface operations {
|
|
|
97673
98825
|
[name: string]: unknown;
|
|
97674
98826
|
};
|
|
97675
98827
|
content: {
|
|
97676
|
-
"application/json": components["schemas"]["
|
|
98828
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97677
98829
|
};
|
|
97678
98830
|
};
|
|
97679
98831
|
/** @description Internal Server Error */
|
|
@@ -97682,21 +98834,23 @@ export interface operations {
|
|
|
97682
98834
|
[name: string]: unknown;
|
|
97683
98835
|
};
|
|
97684
98836
|
content: {
|
|
97685
|
-
"application/json": components["schemas"]["
|
|
98837
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97686
98838
|
};
|
|
97687
98839
|
};
|
|
97688
98840
|
};
|
|
97689
98841
|
};
|
|
97690
|
-
|
|
98842
|
+
notification_views_batch_update_notification_status: {
|
|
97691
98843
|
parameters: {
|
|
97692
98844
|
query?: never;
|
|
97693
98845
|
header?: never;
|
|
97694
|
-
path
|
|
97695
|
-
id: string;
|
|
97696
|
-
};
|
|
98846
|
+
path?: never;
|
|
97697
98847
|
cookie?: never;
|
|
97698
98848
|
};
|
|
97699
|
-
requestBody
|
|
98849
|
+
requestBody: {
|
|
98850
|
+
content: {
|
|
98851
|
+
"application/json": components["schemas"]["BatchUpdateStatus"];
|
|
98852
|
+
};
|
|
98853
|
+
};
|
|
97700
98854
|
responses: {
|
|
97701
98855
|
/** @description OK */
|
|
97702
98856
|
200: {
|
|
@@ -97704,55 +98858,8 @@ export interface operations {
|
|
|
97704
98858
|
[name: string]: unknown;
|
|
97705
98859
|
};
|
|
97706
98860
|
content: {
|
|
97707
|
-
"application/json": components["schemas"]["
|
|
97708
|
-
};
|
|
97709
|
-
};
|
|
97710
|
-
/** @description Forbidden */
|
|
97711
|
-
403: {
|
|
97712
|
-
headers: {
|
|
97713
|
-
[name: string]: unknown;
|
|
97714
|
-
};
|
|
97715
|
-
content: {
|
|
97716
|
-
"application/json": components["schemas"]["MessageWithCode"];
|
|
97717
|
-
};
|
|
97718
|
-
};
|
|
97719
|
-
/** @description Not Found */
|
|
97720
|
-
404: {
|
|
97721
|
-
headers: {
|
|
97722
|
-
[name: string]: unknown;
|
|
97723
|
-
};
|
|
97724
|
-
content: {
|
|
97725
|
-
"application/json": components["schemas"]["MessageWithCode"];
|
|
97726
|
-
};
|
|
97727
|
-
};
|
|
97728
|
-
/** @description Internal Server Error */
|
|
97729
|
-
500: {
|
|
97730
|
-
headers: {
|
|
97731
|
-
[name: string]: unknown;
|
|
97732
|
-
};
|
|
97733
|
-
content: {
|
|
97734
|
-
"application/json": components["schemas"]["MessageWithCode"];
|
|
97735
|
-
};
|
|
97736
|
-
};
|
|
97737
|
-
};
|
|
97738
|
-
};
|
|
97739
|
-
integration_whatsapp_views_delete_template: {
|
|
97740
|
-
parameters: {
|
|
97741
|
-
query?: never;
|
|
97742
|
-
header?: never;
|
|
97743
|
-
path: {
|
|
97744
|
-
id: string;
|
|
97745
|
-
};
|
|
97746
|
-
cookie?: never;
|
|
97747
|
-
};
|
|
97748
|
-
requestBody?: never;
|
|
97749
|
-
responses: {
|
|
97750
|
-
/** @description No Content */
|
|
97751
|
-
204: {
|
|
97752
|
-
headers: {
|
|
97753
|
-
[name: string]: unknown;
|
|
98861
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97754
98862
|
};
|
|
97755
|
-
content?: never;
|
|
97756
98863
|
};
|
|
97757
98864
|
/** @description Bad Request */
|
|
97758
98865
|
400: {
|
|
@@ -97769,7 +98876,7 @@ export interface operations {
|
|
|
97769
98876
|
[name: string]: unknown;
|
|
97770
98877
|
};
|
|
97771
98878
|
content: {
|
|
97772
|
-
"application/json": components["schemas"]["
|
|
98879
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97773
98880
|
};
|
|
97774
98881
|
};
|
|
97775
98882
|
/** @description Not Found */
|
|
@@ -97778,7 +98885,7 @@ export interface operations {
|
|
|
97778
98885
|
[name: string]: unknown;
|
|
97779
98886
|
};
|
|
97780
98887
|
content: {
|
|
97781
|
-
"application/json": components["schemas"]["
|
|
98888
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97782
98889
|
};
|
|
97783
98890
|
};
|
|
97784
98891
|
/** @description Internal Server Error */
|
|
@@ -97787,12 +98894,12 @@ export interface operations {
|
|
|
97787
98894
|
[name: string]: unknown;
|
|
97788
98895
|
};
|
|
97789
98896
|
content: {
|
|
97790
|
-
"application/json": components["schemas"]["
|
|
98897
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
97791
98898
|
};
|
|
97792
98899
|
};
|
|
97793
98900
|
};
|
|
97794
98901
|
};
|
|
97795
|
-
|
|
98902
|
+
notification_views_get_notification: {
|
|
97796
98903
|
parameters: {
|
|
97797
98904
|
query?: never;
|
|
97798
98905
|
header?: never;
|
|
@@ -97809,16 +98916,7 @@ export interface operations {
|
|
|
97809
98916
|
[name: string]: unknown;
|
|
97810
98917
|
};
|
|
97811
98918
|
content: {
|
|
97812
|
-
"application/json": components["schemas"]["
|
|
97813
|
-
};
|
|
97814
|
-
};
|
|
97815
|
-
/** @description Bad Request */
|
|
97816
|
-
400: {
|
|
97817
|
-
headers: {
|
|
97818
|
-
[name: string]: unknown;
|
|
97819
|
-
};
|
|
97820
|
-
content: {
|
|
97821
|
-
"application/json": components["schemas"]["ErrorMessages"];
|
|
98919
|
+
"application/json": components["schemas"]["RetrieveNotificationRecipient"];
|
|
97822
98920
|
};
|
|
97823
98921
|
};
|
|
97824
98922
|
/** @description Forbidden */
|
|
@@ -97850,20 +98948,17 @@ export interface operations {
|
|
|
97850
98948
|
};
|
|
97851
98949
|
};
|
|
97852
98950
|
};
|
|
97853
|
-
|
|
98951
|
+
event_views_list_events: {
|
|
97854
98952
|
parameters: {
|
|
97855
|
-
query?:
|
|
97856
|
-
|
|
97857
|
-
|
|
97858
|
-
id: string;
|
|
98953
|
+
query?: {
|
|
98954
|
+
/** @description Search event by title */
|
|
98955
|
+
search?: string | null;
|
|
97859
98956
|
};
|
|
98957
|
+
header?: never;
|
|
98958
|
+
path?: never;
|
|
97860
98959
|
cookie?: never;
|
|
97861
98960
|
};
|
|
97862
|
-
requestBody
|
|
97863
|
-
content: {
|
|
97864
|
-
"application/json": components["schemas"]["UpdateNotificationSetting"];
|
|
97865
|
-
};
|
|
97866
|
-
};
|
|
98961
|
+
requestBody?: never;
|
|
97867
98962
|
responses: {
|
|
97868
98963
|
/** @description OK */
|
|
97869
98964
|
200: {
|
|
@@ -97871,7 +98966,7 @@ export interface operations {
|
|
|
97871
98966
|
[name: string]: unknown;
|
|
97872
98967
|
};
|
|
97873
98968
|
content: {
|
|
97874
|
-
"application/json": components["schemas"]["
|
|
98969
|
+
"application/json": components["schemas"]["EventsListSchema"];
|
|
97875
98970
|
};
|
|
97876
98971
|
};
|
|
97877
98972
|
/** @description Bad Request */
|
|
@@ -97921,25 +99016,26 @@ export interface operations {
|
|
|
97921
99016
|
};
|
|
97922
99017
|
};
|
|
97923
99018
|
};
|
|
97924
|
-
|
|
99019
|
+
event_views_create_event: {
|
|
97925
99020
|
parameters: {
|
|
97926
|
-
query?:
|
|
97927
|
-
/** @description Search notification setting by notification type */
|
|
97928
|
-
search?: string | null;
|
|
97929
|
-
};
|
|
99021
|
+
query?: never;
|
|
97930
99022
|
header?: never;
|
|
97931
99023
|
path?: never;
|
|
97932
99024
|
cookie?: never;
|
|
97933
99025
|
};
|
|
97934
|
-
requestBody
|
|
99026
|
+
requestBody: {
|
|
99027
|
+
content: {
|
|
99028
|
+
"application/json": components["schemas"]["CreateUpdateEvent"];
|
|
99029
|
+
};
|
|
99030
|
+
};
|
|
97935
99031
|
responses: {
|
|
97936
|
-
/** @description
|
|
97937
|
-
|
|
99032
|
+
/** @description Created */
|
|
99033
|
+
201: {
|
|
97938
99034
|
headers: {
|
|
97939
99035
|
[name: string]: unknown;
|
|
97940
99036
|
};
|
|
97941
99037
|
content: {
|
|
97942
|
-
"application/json": components["schemas"]["
|
|
99038
|
+
"application/json": components["schemas"]["RetrieveEvent"];
|
|
97943
99039
|
};
|
|
97944
99040
|
};
|
|
97945
99041
|
/** @description Bad Request */
|
|
@@ -97969,35 +99065,8 @@ export interface operations {
|
|
|
97969
99065
|
"application/json": components["schemas"]["MessageResponse"];
|
|
97970
99066
|
};
|
|
97971
99067
|
};
|
|
97972
|
-
/** @description
|
|
97973
|
-
|
|
97974
|
-
headers: {
|
|
97975
|
-
[name: string]: unknown;
|
|
97976
|
-
};
|
|
97977
|
-
content: {
|
|
97978
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
97979
|
-
};
|
|
97980
|
-
};
|
|
97981
|
-
};
|
|
97982
|
-
};
|
|
97983
|
-
notification_views_notification_stream: {
|
|
97984
|
-
parameters: {
|
|
97985
|
-
query?: never;
|
|
97986
|
-
header?: never;
|
|
97987
|
-
path?: never;
|
|
97988
|
-
cookie?: never;
|
|
97989
|
-
};
|
|
97990
|
-
requestBody?: never;
|
|
97991
|
-
responses: {
|
|
97992
|
-
/** @description OK */
|
|
97993
|
-
200: {
|
|
97994
|
-
headers: {
|
|
97995
|
-
[name: string]: unknown;
|
|
97996
|
-
};
|
|
97997
|
-
content?: never;
|
|
97998
|
-
};
|
|
97999
|
-
/** @description Forbidden */
|
|
98000
|
-
403: {
|
|
99068
|
+
/** @description Conflict */
|
|
99069
|
+
409: {
|
|
98001
99070
|
headers: {
|
|
98002
99071
|
[name: string]: unknown;
|
|
98003
99072
|
};
|
|
@@ -98016,14 +99085,13 @@ export interface operations {
|
|
|
98016
99085
|
};
|
|
98017
99086
|
};
|
|
98018
99087
|
};
|
|
98019
|
-
|
|
99088
|
+
event_views_get_event: {
|
|
98020
99089
|
parameters: {
|
|
98021
|
-
query?:
|
|
98022
|
-
/** @description Search notification by title or message */
|
|
98023
|
-
search?: string | null;
|
|
98024
|
-
};
|
|
99090
|
+
query?: never;
|
|
98025
99091
|
header?: never;
|
|
98026
|
-
path
|
|
99092
|
+
path: {
|
|
99093
|
+
id: string;
|
|
99094
|
+
};
|
|
98027
99095
|
cookie?: never;
|
|
98028
99096
|
};
|
|
98029
99097
|
requestBody?: never;
|
|
@@ -98034,20 +99102,20 @@ export interface operations {
|
|
|
98034
99102
|
[name: string]: unknown;
|
|
98035
99103
|
};
|
|
98036
99104
|
content: {
|
|
98037
|
-
"application/json": components["schemas"]["
|
|
99105
|
+
"application/json": components["schemas"]["RetrieveEvent"];
|
|
98038
99106
|
};
|
|
98039
99107
|
};
|
|
98040
|
-
/** @description
|
|
98041
|
-
|
|
99108
|
+
/** @description Forbidden */
|
|
99109
|
+
403: {
|
|
98042
99110
|
headers: {
|
|
98043
99111
|
[name: string]: unknown;
|
|
98044
99112
|
};
|
|
98045
99113
|
content: {
|
|
98046
|
-
"application/json": components["schemas"]["
|
|
99114
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
98047
99115
|
};
|
|
98048
99116
|
};
|
|
98049
|
-
/** @description
|
|
98050
|
-
|
|
99117
|
+
/** @description Not Found */
|
|
99118
|
+
404: {
|
|
98051
99119
|
headers: {
|
|
98052
99120
|
[name: string]: unknown;
|
|
98053
99121
|
};
|
|
@@ -98066,7 +99134,7 @@ export interface operations {
|
|
|
98066
99134
|
};
|
|
98067
99135
|
};
|
|
98068
99136
|
};
|
|
98069
|
-
|
|
99137
|
+
event_views_edit_event: {
|
|
98070
99138
|
parameters: {
|
|
98071
99139
|
query?: never;
|
|
98072
99140
|
header?: never;
|
|
@@ -98077,7 +99145,7 @@ export interface operations {
|
|
|
98077
99145
|
};
|
|
98078
99146
|
requestBody: {
|
|
98079
99147
|
content: {
|
|
98080
|
-
"application/json": components["schemas"]["
|
|
99148
|
+
"application/json": components["schemas"]["CreateUpdateEvent"];
|
|
98081
99149
|
};
|
|
98082
99150
|
};
|
|
98083
99151
|
responses: {
|
|
@@ -98087,7 +99155,7 @@ export interface operations {
|
|
|
98087
99155
|
[name: string]: unknown;
|
|
98088
99156
|
};
|
|
98089
99157
|
content: {
|
|
98090
|
-
"application/json": components["schemas"]["
|
|
99158
|
+
"application/json": components["schemas"]["RetrieveEvent"];
|
|
98091
99159
|
};
|
|
98092
99160
|
};
|
|
98093
99161
|
/** @description Bad Request */
|
|
@@ -98117,6 +99185,15 @@ export interface operations {
|
|
|
98117
99185
|
"application/json": components["schemas"]["MessageResponse"];
|
|
98118
99186
|
};
|
|
98119
99187
|
};
|
|
99188
|
+
/** @description Conflict */
|
|
99189
|
+
409: {
|
|
99190
|
+
headers: {
|
|
99191
|
+
[name: string]: unknown;
|
|
99192
|
+
};
|
|
99193
|
+
content: {
|
|
99194
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
99195
|
+
};
|
|
99196
|
+
};
|
|
98120
99197
|
/** @description Internal Server Error */
|
|
98121
99198
|
500: {
|
|
98122
99199
|
headers: {
|
|
@@ -98128,27 +99205,23 @@ export interface operations {
|
|
|
98128
99205
|
};
|
|
98129
99206
|
};
|
|
98130
99207
|
};
|
|
98131
|
-
|
|
99208
|
+
event_views_delete_event: {
|
|
98132
99209
|
parameters: {
|
|
98133
99210
|
query?: never;
|
|
98134
99211
|
header?: never;
|
|
98135
|
-
path
|
|
98136
|
-
|
|
98137
|
-
};
|
|
98138
|
-
requestBody: {
|
|
98139
|
-
content: {
|
|
98140
|
-
"application/json": components["schemas"]["BatchUpdateStatus"];
|
|
99212
|
+
path: {
|
|
99213
|
+
id: string;
|
|
98141
99214
|
};
|
|
99215
|
+
cookie?: never;
|
|
98142
99216
|
};
|
|
99217
|
+
requestBody?: never;
|
|
98143
99218
|
responses: {
|
|
98144
|
-
/** @description
|
|
98145
|
-
|
|
99219
|
+
/** @description No Content */
|
|
99220
|
+
204: {
|
|
98146
99221
|
headers: {
|
|
98147
99222
|
[name: string]: unknown;
|
|
98148
99223
|
};
|
|
98149
|
-
content
|
|
98150
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
98151
|
-
};
|
|
99224
|
+
content?: never;
|
|
98152
99225
|
};
|
|
98153
99226
|
/** @description Bad Request */
|
|
98154
99227
|
400: {
|
|
@@ -98177,6 +99250,15 @@ export interface operations {
|
|
|
98177
99250
|
"application/json": components["schemas"]["MessageResponse"];
|
|
98178
99251
|
};
|
|
98179
99252
|
};
|
|
99253
|
+
/** @description Conflict */
|
|
99254
|
+
409: {
|
|
99255
|
+
headers: {
|
|
99256
|
+
[name: string]: unknown;
|
|
99257
|
+
};
|
|
99258
|
+
content: {
|
|
99259
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
99260
|
+
};
|
|
99261
|
+
};
|
|
98180
99262
|
/** @description Internal Server Error */
|
|
98181
99263
|
500: {
|
|
98182
99264
|
headers: {
|
|
@@ -98188,7 +99270,7 @@ export interface operations {
|
|
|
98188
99270
|
};
|
|
98189
99271
|
};
|
|
98190
99272
|
};
|
|
98191
|
-
|
|
99273
|
+
event_views_cancel_event: {
|
|
98192
99274
|
parameters: {
|
|
98193
99275
|
query?: never;
|
|
98194
99276
|
header?: never;
|
|
@@ -98205,7 +99287,16 @@ export interface operations {
|
|
|
98205
99287
|
[name: string]: unknown;
|
|
98206
99288
|
};
|
|
98207
99289
|
content: {
|
|
98208
|
-
"application/json": components["schemas"]["
|
|
99290
|
+
"application/json": components["schemas"]["RetrieveEvent"];
|
|
99291
|
+
};
|
|
99292
|
+
};
|
|
99293
|
+
/** @description Bad Request */
|
|
99294
|
+
400: {
|
|
99295
|
+
headers: {
|
|
99296
|
+
[name: string]: unknown;
|
|
99297
|
+
};
|
|
99298
|
+
content: {
|
|
99299
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
98209
99300
|
};
|
|
98210
99301
|
};
|
|
98211
99302
|
/** @description Forbidden */
|
|
@@ -98226,6 +99317,15 @@ export interface operations {
|
|
|
98226
99317
|
"application/json": components["schemas"]["MessageResponse"];
|
|
98227
99318
|
};
|
|
98228
99319
|
};
|
|
99320
|
+
/** @description Conflict */
|
|
99321
|
+
409: {
|
|
99322
|
+
headers: {
|
|
99323
|
+
[name: string]: unknown;
|
|
99324
|
+
};
|
|
99325
|
+
content: {
|
|
99326
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
99327
|
+
};
|
|
99328
|
+
};
|
|
98229
99329
|
/** @description Internal Server Error */
|
|
98230
99330
|
500: {
|
|
98231
99331
|
headers: {
|
|
@@ -98237,10 +99337,10 @@ export interface operations {
|
|
|
98237
99337
|
};
|
|
98238
99338
|
};
|
|
98239
99339
|
};
|
|
98240
|
-
|
|
99340
|
+
event_views_list_event_categories: {
|
|
98241
99341
|
parameters: {
|
|
98242
99342
|
query?: {
|
|
98243
|
-
/** @description Search event by
|
|
99343
|
+
/** @description Search event category by name */
|
|
98244
99344
|
search?: string | null;
|
|
98245
99345
|
};
|
|
98246
99346
|
header?: never;
|
|
@@ -98255,7 +99355,7 @@ export interface operations {
|
|
|
98255
99355
|
[name: string]: unknown;
|
|
98256
99356
|
};
|
|
98257
99357
|
content: {
|
|
98258
|
-
"application/json": components["schemas"]["
|
|
99358
|
+
"application/json": components["schemas"]["RetrieveEventCategory"][];
|
|
98259
99359
|
};
|
|
98260
99360
|
};
|
|
98261
99361
|
/** @description Bad Request */
|
|
@@ -98305,7 +99405,7 @@ export interface operations {
|
|
|
98305
99405
|
};
|
|
98306
99406
|
};
|
|
98307
99407
|
};
|
|
98308
|
-
|
|
99408
|
+
event_views_create_event_category: {
|
|
98309
99409
|
parameters: {
|
|
98310
99410
|
query?: never;
|
|
98311
99411
|
header?: never;
|
|
@@ -98314,7 +99414,7 @@ export interface operations {
|
|
|
98314
99414
|
};
|
|
98315
99415
|
requestBody: {
|
|
98316
99416
|
content: {
|
|
98317
|
-
"application/json": components["schemas"]["
|
|
99417
|
+
"application/json": components["schemas"]["CreateUpdateEventCategory"];
|
|
98318
99418
|
};
|
|
98319
99419
|
};
|
|
98320
99420
|
responses: {
|
|
@@ -98324,7 +99424,7 @@ export interface operations {
|
|
|
98324
99424
|
[name: string]: unknown;
|
|
98325
99425
|
};
|
|
98326
99426
|
content: {
|
|
98327
|
-
"application/json": components["schemas"]["
|
|
99427
|
+
"application/json": components["schemas"]["RetrieveEventCategory"];
|
|
98328
99428
|
};
|
|
98329
99429
|
};
|
|
98330
99430
|
/** @description Bad Request */
|
|
@@ -98374,7 +99474,7 @@ export interface operations {
|
|
|
98374
99474
|
};
|
|
98375
99475
|
};
|
|
98376
99476
|
};
|
|
98377
|
-
|
|
99477
|
+
event_views_get_event_category: {
|
|
98378
99478
|
parameters: {
|
|
98379
99479
|
query?: never;
|
|
98380
99480
|
header?: never;
|
|
@@ -98391,7 +99491,7 @@ export interface operations {
|
|
|
98391
99491
|
[name: string]: unknown;
|
|
98392
99492
|
};
|
|
98393
99493
|
content: {
|
|
98394
|
-
"application/json": components["schemas"]["
|
|
99494
|
+
"application/json": components["schemas"]["RetrieveEventCategory"];
|
|
98395
99495
|
};
|
|
98396
99496
|
};
|
|
98397
99497
|
/** @description Forbidden */
|
|
@@ -98423,7 +99523,7 @@ export interface operations {
|
|
|
98423
99523
|
};
|
|
98424
99524
|
};
|
|
98425
99525
|
};
|
|
98426
|
-
|
|
99526
|
+
event_views_edit_event_category: {
|
|
98427
99527
|
parameters: {
|
|
98428
99528
|
query?: never;
|
|
98429
99529
|
header?: never;
|
|
@@ -98434,7 +99534,7 @@ export interface operations {
|
|
|
98434
99534
|
};
|
|
98435
99535
|
requestBody: {
|
|
98436
99536
|
content: {
|
|
98437
|
-
"application/json": components["schemas"]["
|
|
99537
|
+
"application/json": components["schemas"]["CreateUpdateEventCategory"];
|
|
98438
99538
|
};
|
|
98439
99539
|
};
|
|
98440
99540
|
responses: {
|
|
@@ -98444,7 +99544,7 @@ export interface operations {
|
|
|
98444
99544
|
[name: string]: unknown;
|
|
98445
99545
|
};
|
|
98446
99546
|
content: {
|
|
98447
|
-
"application/json": components["schemas"]["
|
|
99547
|
+
"application/json": components["schemas"]["RetrieveEventCategory"];
|
|
98448
99548
|
};
|
|
98449
99549
|
};
|
|
98450
99550
|
/** @description Bad Request */
|
|
@@ -98494,7 +99594,7 @@ export interface operations {
|
|
|
98494
99594
|
};
|
|
98495
99595
|
};
|
|
98496
99596
|
};
|
|
98497
|
-
|
|
99597
|
+
event_views_delete_event_category: {
|
|
98498
99598
|
parameters: {
|
|
98499
99599
|
query?: never;
|
|
98500
99600
|
header?: never;
|
|
@@ -98559,13 +99659,14 @@ export interface operations {
|
|
|
98559
99659
|
};
|
|
98560
99660
|
};
|
|
98561
99661
|
};
|
|
98562
|
-
|
|
99662
|
+
erp_settings_expenses_settings_views_list_expense_categories: {
|
|
98563
99663
|
parameters: {
|
|
98564
|
-
query?:
|
|
98565
|
-
|
|
98566
|
-
|
|
98567
|
-
id: string;
|
|
99664
|
+
query?: {
|
|
99665
|
+
/** @description Search by name, preferred supplier name/account number, limit amount, expense account name/account number */
|
|
99666
|
+
search?: string | null;
|
|
98568
99667
|
};
|
|
99668
|
+
header?: never;
|
|
99669
|
+
path?: never;
|
|
98569
99670
|
cookie?: never;
|
|
98570
99671
|
};
|
|
98571
99672
|
requestBody?: never;
|
|
@@ -98576,7 +99677,7 @@ export interface operations {
|
|
|
98576
99677
|
[name: string]: unknown;
|
|
98577
99678
|
};
|
|
98578
99679
|
content: {
|
|
98579
|
-
"application/json": components["schemas"]["
|
|
99680
|
+
"application/json": components["schemas"]["ExpenseCategoryListSchema"];
|
|
98580
99681
|
};
|
|
98581
99682
|
};
|
|
98582
99683
|
/** @description Bad Request */
|
|
@@ -98597,8 +99698,8 @@ export interface operations {
|
|
|
98597
99698
|
"application/json": components["schemas"]["MessageResponse"];
|
|
98598
99699
|
};
|
|
98599
99700
|
};
|
|
98600
|
-
/** @description
|
|
98601
|
-
|
|
99701
|
+
/** @description Internal Server Error */
|
|
99702
|
+
500: {
|
|
98602
99703
|
headers: {
|
|
98603
99704
|
[name: string]: unknown;
|
|
98604
99705
|
};
|
|
@@ -98606,8 +99707,41 @@ export interface operations {
|
|
|
98606
99707
|
"application/json": components["schemas"]["MessageResponse"];
|
|
98607
99708
|
};
|
|
98608
99709
|
};
|
|
98609
|
-
|
|
98610
|
-
|
|
99710
|
+
};
|
|
99711
|
+
};
|
|
99712
|
+
erp_settings_expenses_settings_views_new_expense_category: {
|
|
99713
|
+
parameters: {
|
|
99714
|
+
query?: never;
|
|
99715
|
+
header?: never;
|
|
99716
|
+
path?: never;
|
|
99717
|
+
cookie?: never;
|
|
99718
|
+
};
|
|
99719
|
+
requestBody: {
|
|
99720
|
+
content: {
|
|
99721
|
+
"application/json": components["schemas"]["CreateUpdateExpenseCategorySchema"];
|
|
99722
|
+
};
|
|
99723
|
+
};
|
|
99724
|
+
responses: {
|
|
99725
|
+
/** @description Created */
|
|
99726
|
+
201: {
|
|
99727
|
+
headers: {
|
|
99728
|
+
[name: string]: unknown;
|
|
99729
|
+
};
|
|
99730
|
+
content: {
|
|
99731
|
+
"application/json": components["schemas"]["ExpenseCategoryResponseSchema"];
|
|
99732
|
+
};
|
|
99733
|
+
};
|
|
99734
|
+
/** @description Bad Request */
|
|
99735
|
+
400: {
|
|
99736
|
+
headers: {
|
|
99737
|
+
[name: string]: unknown;
|
|
99738
|
+
};
|
|
99739
|
+
content: {
|
|
99740
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
99741
|
+
};
|
|
99742
|
+
};
|
|
99743
|
+
/** @description Forbidden */
|
|
99744
|
+
403: {
|
|
98611
99745
|
headers: {
|
|
98612
99746
|
[name: string]: unknown;
|
|
98613
99747
|
};
|
|
@@ -98626,14 +99760,16 @@ export interface operations {
|
|
|
98626
99760
|
};
|
|
98627
99761
|
};
|
|
98628
99762
|
};
|
|
98629
|
-
|
|
99763
|
+
erp_settings_expenses_settings_views_get_category_expense: {
|
|
98630
99764
|
parameters: {
|
|
98631
99765
|
query?: {
|
|
98632
|
-
/** @description
|
|
98633
|
-
|
|
99766
|
+
/** @description used to get category remaining within specified date */
|
|
99767
|
+
date?: string | null;
|
|
98634
99768
|
};
|
|
98635
99769
|
header?: never;
|
|
98636
|
-
path
|
|
99770
|
+
path: {
|
|
99771
|
+
id: string;
|
|
99772
|
+
};
|
|
98637
99773
|
cookie?: never;
|
|
98638
99774
|
};
|
|
98639
99775
|
requestBody?: never;
|
|
@@ -98644,16 +99780,7 @@ export interface operations {
|
|
|
98644
99780
|
[name: string]: unknown;
|
|
98645
99781
|
};
|
|
98646
99782
|
content: {
|
|
98647
|
-
"application/json": components["schemas"]["
|
|
98648
|
-
};
|
|
98649
|
-
};
|
|
98650
|
-
/** @description Bad Request */
|
|
98651
|
-
400: {
|
|
98652
|
-
headers: {
|
|
98653
|
-
[name: string]: unknown;
|
|
98654
|
-
};
|
|
98655
|
-
content: {
|
|
98656
|
-
"application/json": components["schemas"]["ErrorMessages"];
|
|
99783
|
+
"application/json": components["schemas"]["ExpenseCategoryDetailSchema"];
|
|
98657
99784
|
};
|
|
98658
99785
|
};
|
|
98659
99786
|
/** @description Forbidden */
|
|
@@ -98674,15 +99801,6 @@ export interface operations {
|
|
|
98674
99801
|
"application/json": components["schemas"]["MessageResponse"];
|
|
98675
99802
|
};
|
|
98676
99803
|
};
|
|
98677
|
-
/** @description Conflict */
|
|
98678
|
-
409: {
|
|
98679
|
-
headers: {
|
|
98680
|
-
[name: string]: unknown;
|
|
98681
|
-
};
|
|
98682
|
-
content: {
|
|
98683
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
98684
|
-
};
|
|
98685
|
-
};
|
|
98686
99804
|
/** @description Internal Server Error */
|
|
98687
99805
|
500: {
|
|
98688
99806
|
headers: {
|
|
@@ -98694,26 +99812,28 @@ export interface operations {
|
|
|
98694
99812
|
};
|
|
98695
99813
|
};
|
|
98696
99814
|
};
|
|
98697
|
-
|
|
99815
|
+
erp_settings_expenses_settings_views_update_expense_category: {
|
|
98698
99816
|
parameters: {
|
|
98699
99817
|
query?: never;
|
|
98700
99818
|
header?: never;
|
|
98701
|
-
path
|
|
99819
|
+
path: {
|
|
99820
|
+
id: string;
|
|
99821
|
+
};
|
|
98702
99822
|
cookie?: never;
|
|
98703
99823
|
};
|
|
98704
99824
|
requestBody: {
|
|
98705
99825
|
content: {
|
|
98706
|
-
"application/json": components["schemas"]["
|
|
99826
|
+
"application/json": components["schemas"]["CreateUpdateExpenseCategorySchema"];
|
|
98707
99827
|
};
|
|
98708
99828
|
};
|
|
98709
99829
|
responses: {
|
|
98710
|
-
/** @description
|
|
98711
|
-
|
|
99830
|
+
/** @description OK */
|
|
99831
|
+
200: {
|
|
98712
99832
|
headers: {
|
|
98713
99833
|
[name: string]: unknown;
|
|
98714
99834
|
};
|
|
98715
99835
|
content: {
|
|
98716
|
-
"application/json": components["schemas"]["
|
|
99836
|
+
"application/json": components["schemas"]["ExpenseCategoryResponseSchema"];
|
|
98717
99837
|
};
|
|
98718
99838
|
};
|
|
98719
99839
|
/** @description Bad Request */
|
|
@@ -98743,15 +99863,6 @@ export interface operations {
|
|
|
98743
99863
|
"application/json": components["schemas"]["MessageResponse"];
|
|
98744
99864
|
};
|
|
98745
99865
|
};
|
|
98746
|
-
/** @description Conflict */
|
|
98747
|
-
409: {
|
|
98748
|
-
headers: {
|
|
98749
|
-
[name: string]: unknown;
|
|
98750
|
-
};
|
|
98751
|
-
content: {
|
|
98752
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
98753
|
-
};
|
|
98754
|
-
};
|
|
98755
99866
|
/** @description Internal Server Error */
|
|
98756
99867
|
500: {
|
|
98757
99868
|
headers: {
|
|
@@ -98763,7 +99874,7 @@ export interface operations {
|
|
|
98763
99874
|
};
|
|
98764
99875
|
};
|
|
98765
99876
|
};
|
|
98766
|
-
|
|
99877
|
+
erp_settings_expenses_settings_views_delete_expense_category: {
|
|
98767
99878
|
parameters: {
|
|
98768
99879
|
query?: never;
|
|
98769
99880
|
header?: never;
|
|
@@ -98774,13 +99885,20 @@ export interface operations {
|
|
|
98774
99885
|
};
|
|
98775
99886
|
requestBody?: never;
|
|
98776
99887
|
responses: {
|
|
98777
|
-
/** @description
|
|
98778
|
-
|
|
99888
|
+
/** @description No Content */
|
|
99889
|
+
204: {
|
|
99890
|
+
headers: {
|
|
99891
|
+
[name: string]: unknown;
|
|
99892
|
+
};
|
|
99893
|
+
content?: never;
|
|
99894
|
+
};
|
|
99895
|
+
/** @description Bad Request */
|
|
99896
|
+
400: {
|
|
98779
99897
|
headers: {
|
|
98780
99898
|
[name: string]: unknown;
|
|
98781
99899
|
};
|
|
98782
99900
|
content: {
|
|
98783
|
-
"application/json": components["schemas"]["
|
|
99901
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
98784
99902
|
};
|
|
98785
99903
|
};
|
|
98786
99904
|
/** @description Forbidden */
|
|
@@ -98812,18 +99930,16 @@ export interface operations {
|
|
|
98812
99930
|
};
|
|
98813
99931
|
};
|
|
98814
99932
|
};
|
|
98815
|
-
|
|
99933
|
+
expenses_views_calculate_expense_voucher_totals: {
|
|
98816
99934
|
parameters: {
|
|
98817
99935
|
query?: never;
|
|
98818
99936
|
header?: never;
|
|
98819
|
-
path
|
|
98820
|
-
id: string;
|
|
98821
|
-
};
|
|
99937
|
+
path?: never;
|
|
98822
99938
|
cookie?: never;
|
|
98823
99939
|
};
|
|
98824
99940
|
requestBody: {
|
|
98825
99941
|
content: {
|
|
98826
|
-
"application/json": components["schemas"]["
|
|
99942
|
+
"application/json": components["schemas"]["CalculateExpenseVoucherTotals"];
|
|
98827
99943
|
};
|
|
98828
99944
|
};
|
|
98829
99945
|
responses: {
|
|
@@ -98833,7 +99949,7 @@ export interface operations {
|
|
|
98833
99949
|
[name: string]: unknown;
|
|
98834
99950
|
};
|
|
98835
99951
|
content: {
|
|
98836
|
-
"application/json": components["schemas"]["
|
|
99952
|
+
"application/json": components["schemas"]["CalculateExpenseVoucherResponseSchema"];
|
|
98837
99953
|
};
|
|
98838
99954
|
};
|
|
98839
99955
|
/** @description Bad Request */
|
|
@@ -98854,8 +99970,8 @@ export interface operations {
|
|
|
98854
99970
|
"application/json": components["schemas"]["MessageResponse"];
|
|
98855
99971
|
};
|
|
98856
99972
|
};
|
|
98857
|
-
/** @description
|
|
98858
|
-
|
|
99973
|
+
/** @description Internal Server Error */
|
|
99974
|
+
500: {
|
|
98859
99975
|
headers: {
|
|
98860
99976
|
[name: string]: unknown;
|
|
98861
99977
|
};
|
|
@@ -98863,8 +99979,46 @@ export interface operations {
|
|
|
98863
99979
|
"application/json": components["schemas"]["MessageResponse"];
|
|
98864
99980
|
};
|
|
98865
99981
|
};
|
|
98866
|
-
|
|
98867
|
-
|
|
99982
|
+
};
|
|
99983
|
+
};
|
|
99984
|
+
expenses_views_list_expense_vouchers: {
|
|
99985
|
+
parameters: {
|
|
99986
|
+
query?: {
|
|
99987
|
+
/** @description by default periodType is set to date filtration in user settings, Period type: thisMonth, thisYear, lastMonth, custom, ... */
|
|
99988
|
+
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "today" | "all";
|
|
99989
|
+
/** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
99990
|
+
startDate?: string | null;
|
|
99991
|
+
/** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
99992
|
+
endDate?: string | null;
|
|
99993
|
+
/** @description search by expense voucher number or description, customer name or account number, supplier name or account number, category name, project name, department name */
|
|
99994
|
+
search?: string;
|
|
99995
|
+
};
|
|
99996
|
+
header?: never;
|
|
99997
|
+
path?: never;
|
|
99998
|
+
cookie?: never;
|
|
99999
|
+
};
|
|
100000
|
+
requestBody?: never;
|
|
100001
|
+
responses: {
|
|
100002
|
+
/** @description OK */
|
|
100003
|
+
200: {
|
|
100004
|
+
headers: {
|
|
100005
|
+
[name: string]: unknown;
|
|
100006
|
+
};
|
|
100007
|
+
content: {
|
|
100008
|
+
"application/json": components["schemas"]["ExpenseVoucherListSchema"];
|
|
100009
|
+
};
|
|
100010
|
+
};
|
|
100011
|
+
/** @description Bad Request */
|
|
100012
|
+
400: {
|
|
100013
|
+
headers: {
|
|
100014
|
+
[name: string]: unknown;
|
|
100015
|
+
};
|
|
100016
|
+
content: {
|
|
100017
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
100018
|
+
};
|
|
100019
|
+
};
|
|
100020
|
+
/** @description Forbidden */
|
|
100021
|
+
403: {
|
|
98868
100022
|
headers: {
|
|
98869
100023
|
[name: string]: unknown;
|
|
98870
100024
|
};
|
|
@@ -98883,7 +100037,58 @@ export interface operations {
|
|
|
98883
100037
|
};
|
|
98884
100038
|
};
|
|
98885
100039
|
};
|
|
98886
|
-
|
|
100040
|
+
expenses_views_create_expense_voucher: {
|
|
100041
|
+
parameters: {
|
|
100042
|
+
query?: never;
|
|
100043
|
+
header?: never;
|
|
100044
|
+
path?: never;
|
|
100045
|
+
cookie?: never;
|
|
100046
|
+
};
|
|
100047
|
+
requestBody: {
|
|
100048
|
+
content: {
|
|
100049
|
+
"application/json": components["schemas"]["CreateUpdateExpenseVoucher"];
|
|
100050
|
+
};
|
|
100051
|
+
};
|
|
100052
|
+
responses: {
|
|
100053
|
+
/** @description Created */
|
|
100054
|
+
201: {
|
|
100055
|
+
headers: {
|
|
100056
|
+
[name: string]: unknown;
|
|
100057
|
+
};
|
|
100058
|
+
content: {
|
|
100059
|
+
"application/json": components["schemas"]["ExpenseVoucherResponseSchema"];
|
|
100060
|
+
};
|
|
100061
|
+
};
|
|
100062
|
+
/** @description Bad Request */
|
|
100063
|
+
400: {
|
|
100064
|
+
headers: {
|
|
100065
|
+
[name: string]: unknown;
|
|
100066
|
+
};
|
|
100067
|
+
content: {
|
|
100068
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
100069
|
+
};
|
|
100070
|
+
};
|
|
100071
|
+
/** @description Forbidden */
|
|
100072
|
+
403: {
|
|
100073
|
+
headers: {
|
|
100074
|
+
[name: string]: unknown;
|
|
100075
|
+
};
|
|
100076
|
+
content: {
|
|
100077
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
100078
|
+
};
|
|
100079
|
+
};
|
|
100080
|
+
/** @description Internal Server Error */
|
|
100081
|
+
500: {
|
|
100082
|
+
headers: {
|
|
100083
|
+
[name: string]: unknown;
|
|
100084
|
+
};
|
|
100085
|
+
content: {
|
|
100086
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
100087
|
+
};
|
|
100088
|
+
};
|
|
100089
|
+
};
|
|
100090
|
+
};
|
|
100091
|
+
expenses_views_get_expense_voucher: {
|
|
98887
100092
|
parameters: {
|
|
98888
100093
|
query?: never;
|
|
98889
100094
|
header?: never;
|
|
@@ -98894,12 +100099,14 @@ export interface operations {
|
|
|
98894
100099
|
};
|
|
98895
100100
|
requestBody?: never;
|
|
98896
100101
|
responses: {
|
|
98897
|
-
/** @description
|
|
98898
|
-
|
|
100102
|
+
/** @description OK */
|
|
100103
|
+
200: {
|
|
98899
100104
|
headers: {
|
|
98900
100105
|
[name: string]: unknown;
|
|
98901
100106
|
};
|
|
98902
|
-
content
|
|
100107
|
+
content: {
|
|
100108
|
+
"application/json": components["schemas"]["ExpenseVoucherDetailWithItemResponseSchema"];
|
|
100109
|
+
};
|
|
98903
100110
|
};
|
|
98904
100111
|
/** @description Bad Request */
|
|
98905
100112
|
400: {
|
|
@@ -98928,15 +100135,6 @@ export interface operations {
|
|
|
98928
100135
|
"application/json": components["schemas"]["MessageResponse"];
|
|
98929
100136
|
};
|
|
98930
100137
|
};
|
|
98931
|
-
/** @description Conflict */
|
|
98932
|
-
409: {
|
|
98933
|
-
headers: {
|
|
98934
|
-
[name: string]: unknown;
|
|
98935
|
-
};
|
|
98936
|
-
content: {
|
|
98937
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
98938
|
-
};
|
|
98939
|
-
};
|
|
98940
100138
|
/** @description Internal Server Error */
|
|
98941
100139
|
500: {
|
|
98942
100140
|
headers: {
|
|
@@ -98948,17 +100146,20 @@ export interface operations {
|
|
|
98948
100146
|
};
|
|
98949
100147
|
};
|
|
98950
100148
|
};
|
|
98951
|
-
|
|
100149
|
+
expenses_views_update_expense_voucher: {
|
|
98952
100150
|
parameters: {
|
|
98953
|
-
query?:
|
|
98954
|
-
/** @description Search by name, preferred supplier name/account number, limit amount, expense account name/account number */
|
|
98955
|
-
search?: string | null;
|
|
98956
|
-
};
|
|
100151
|
+
query?: never;
|
|
98957
100152
|
header?: never;
|
|
98958
|
-
path
|
|
100153
|
+
path: {
|
|
100154
|
+
id: string;
|
|
100155
|
+
};
|
|
98959
100156
|
cookie?: never;
|
|
98960
100157
|
};
|
|
98961
|
-
requestBody
|
|
100158
|
+
requestBody: {
|
|
100159
|
+
content: {
|
|
100160
|
+
"application/json": components["schemas"]["CreateUpdateExpenseVoucher"];
|
|
100161
|
+
};
|
|
100162
|
+
};
|
|
98962
100163
|
responses: {
|
|
98963
100164
|
/** @description OK */
|
|
98964
100165
|
200: {
|
|
@@ -98966,7 +100167,7 @@ export interface operations {
|
|
|
98966
100167
|
[name: string]: unknown;
|
|
98967
100168
|
};
|
|
98968
100169
|
content: {
|
|
98969
|
-
"application/json": components["schemas"]["
|
|
100170
|
+
"application/json": components["schemas"]["ExpenseVoucherResponseSchema"];
|
|
98970
100171
|
};
|
|
98971
100172
|
};
|
|
98972
100173
|
/** @description Bad Request */
|
|
@@ -98987,6 +100188,15 @@ export interface operations {
|
|
|
98987
100188
|
"application/json": components["schemas"]["MessageResponse"];
|
|
98988
100189
|
};
|
|
98989
100190
|
};
|
|
100191
|
+
/** @description Not Found */
|
|
100192
|
+
404: {
|
|
100193
|
+
headers: {
|
|
100194
|
+
[name: string]: unknown;
|
|
100195
|
+
};
|
|
100196
|
+
content: {
|
|
100197
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
100198
|
+
};
|
|
100199
|
+
};
|
|
98990
100200
|
/** @description Internal Server Error */
|
|
98991
100201
|
500: {
|
|
98992
100202
|
headers: {
|
|
@@ -98998,27 +100208,27 @@ export interface operations {
|
|
|
98998
100208
|
};
|
|
98999
100209
|
};
|
|
99000
100210
|
};
|
|
99001
|
-
|
|
100211
|
+
expenses_views_delete_expense_voucher: {
|
|
99002
100212
|
parameters: {
|
|
99003
100213
|
query?: never;
|
|
99004
100214
|
header?: never;
|
|
99005
|
-
path
|
|
100215
|
+
path: {
|
|
100216
|
+
id: string;
|
|
100217
|
+
};
|
|
99006
100218
|
cookie?: never;
|
|
99007
100219
|
};
|
|
99008
100220
|
requestBody: {
|
|
99009
100221
|
content: {
|
|
99010
|
-
"application/json": components["schemas"]["
|
|
100222
|
+
"application/json": components["schemas"]["ExpenseVoucherActionSchema"];
|
|
99011
100223
|
};
|
|
99012
100224
|
};
|
|
99013
100225
|
responses: {
|
|
99014
|
-
/** @description
|
|
99015
|
-
|
|
100226
|
+
/** @description No Content */
|
|
100227
|
+
204: {
|
|
99016
100228
|
headers: {
|
|
99017
100229
|
[name: string]: unknown;
|
|
99018
100230
|
};
|
|
99019
|
-
content
|
|
99020
|
-
"application/json": components["schemas"]["ExpenseCategoryResponseSchema"];
|
|
99021
|
-
};
|
|
100231
|
+
content?: never;
|
|
99022
100232
|
};
|
|
99023
100233
|
/** @description Bad Request */
|
|
99024
100234
|
400: {
|
|
@@ -99038,6 +100248,15 @@ export interface operations {
|
|
|
99038
100248
|
"application/json": components["schemas"]["MessageResponse"];
|
|
99039
100249
|
};
|
|
99040
100250
|
};
|
|
100251
|
+
/** @description Not Found */
|
|
100252
|
+
404: {
|
|
100253
|
+
headers: {
|
|
100254
|
+
[name: string]: unknown;
|
|
100255
|
+
};
|
|
100256
|
+
content: {
|
|
100257
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
100258
|
+
};
|
|
100259
|
+
};
|
|
99041
100260
|
/** @description Internal Server Error */
|
|
99042
100261
|
500: {
|
|
99043
100262
|
headers: {
|
|
@@ -99049,19 +100268,20 @@ export interface operations {
|
|
|
99049
100268
|
};
|
|
99050
100269
|
};
|
|
99051
100270
|
};
|
|
99052
|
-
|
|
100271
|
+
expenses_views_reset_expense_voucher_to_draft: {
|
|
99053
100272
|
parameters: {
|
|
99054
|
-
query?:
|
|
99055
|
-
/** @description used to get category remaining within specified date */
|
|
99056
|
-
date?: string | null;
|
|
99057
|
-
};
|
|
100273
|
+
query?: never;
|
|
99058
100274
|
header?: never;
|
|
99059
100275
|
path: {
|
|
99060
100276
|
id: string;
|
|
99061
100277
|
};
|
|
99062
100278
|
cookie?: never;
|
|
99063
100279
|
};
|
|
99064
|
-
requestBody
|
|
100280
|
+
requestBody: {
|
|
100281
|
+
content: {
|
|
100282
|
+
"application/json": components["schemas"]["ExpenseVoucherActionSchema"];
|
|
100283
|
+
};
|
|
100284
|
+
};
|
|
99065
100285
|
responses: {
|
|
99066
100286
|
/** @description OK */
|
|
99067
100287
|
200: {
|
|
@@ -99069,7 +100289,16 @@ export interface operations {
|
|
|
99069
100289
|
[name: string]: unknown;
|
|
99070
100290
|
};
|
|
99071
100291
|
content: {
|
|
99072
|
-
"application/json": components["schemas"]["
|
|
100292
|
+
"application/json": components["schemas"]["ExpenseVoucherResponseSchema"];
|
|
100293
|
+
};
|
|
100294
|
+
};
|
|
100295
|
+
/** @description Bad Request */
|
|
100296
|
+
400: {
|
|
100297
|
+
headers: {
|
|
100298
|
+
[name: string]: unknown;
|
|
100299
|
+
};
|
|
100300
|
+
content: {
|
|
100301
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
99073
100302
|
};
|
|
99074
100303
|
};
|
|
99075
100304
|
/** @description Forbidden */
|
|
@@ -99101,7 +100330,7 @@ export interface operations {
|
|
|
99101
100330
|
};
|
|
99102
100331
|
};
|
|
99103
100332
|
};
|
|
99104
|
-
|
|
100333
|
+
expenses_views_cancel_expense_voucher: {
|
|
99105
100334
|
parameters: {
|
|
99106
100335
|
query?: never;
|
|
99107
100336
|
header?: never;
|
|
@@ -99112,7 +100341,7 @@ export interface operations {
|
|
|
99112
100341
|
};
|
|
99113
100342
|
requestBody: {
|
|
99114
100343
|
content: {
|
|
99115
|
-
"application/json": components["schemas"]["
|
|
100344
|
+
"application/json": components["schemas"]["ExpenseVoucherActionSchema"];
|
|
99116
100345
|
};
|
|
99117
100346
|
};
|
|
99118
100347
|
responses: {
|
|
@@ -99122,7 +100351,7 @@ export interface operations {
|
|
|
99122
100351
|
[name: string]: unknown;
|
|
99123
100352
|
};
|
|
99124
100353
|
content: {
|
|
99125
|
-
"application/json": components["schemas"]["
|
|
100354
|
+
"application/json": components["schemas"]["ExpenseVoucherResponseSchema"];
|
|
99126
100355
|
};
|
|
99127
100356
|
};
|
|
99128
100357
|
/** @description Bad Request */
|
|
@@ -99163,7 +100392,7 @@ export interface operations {
|
|
|
99163
100392
|
};
|
|
99164
100393
|
};
|
|
99165
100394
|
};
|
|
99166
|
-
|
|
100395
|
+
expenses_views_export_expense_voucher_pdf: {
|
|
99167
100396
|
parameters: {
|
|
99168
100397
|
query?: never;
|
|
99169
100398
|
header?: never;
|
|
@@ -99174,12 +100403,14 @@ export interface operations {
|
|
|
99174
100403
|
};
|
|
99175
100404
|
requestBody?: never;
|
|
99176
100405
|
responses: {
|
|
99177
|
-
/** @description
|
|
99178
|
-
|
|
100406
|
+
/** @description OK */
|
|
100407
|
+
200: {
|
|
99179
100408
|
headers: {
|
|
99180
100409
|
[name: string]: unknown;
|
|
99181
100410
|
};
|
|
99182
|
-
content
|
|
100411
|
+
content: {
|
|
100412
|
+
"application/json": string;
|
|
100413
|
+
};
|
|
99183
100414
|
};
|
|
99184
100415
|
/** @description Bad Request */
|
|
99185
100416
|
400: {
|
|
@@ -99219,16 +100450,18 @@ export interface operations {
|
|
|
99219
100450
|
};
|
|
99220
100451
|
};
|
|
99221
100452
|
};
|
|
99222
|
-
|
|
100453
|
+
expenses_views_send_expense_voucher_by_email: {
|
|
99223
100454
|
parameters: {
|
|
99224
100455
|
query?: never;
|
|
99225
100456
|
header?: never;
|
|
99226
|
-
path
|
|
100457
|
+
path: {
|
|
100458
|
+
id: string;
|
|
100459
|
+
};
|
|
99227
100460
|
cookie?: never;
|
|
99228
100461
|
};
|
|
99229
100462
|
requestBody: {
|
|
99230
100463
|
content: {
|
|
99231
|
-
"application/json": components["schemas"]["
|
|
100464
|
+
"application/json": components["schemas"]["EmailContentSchema"];
|
|
99232
100465
|
};
|
|
99233
100466
|
};
|
|
99234
100467
|
responses: {
|
|
@@ -99238,7 +100471,7 @@ export interface operations {
|
|
|
99238
100471
|
[name: string]: unknown;
|
|
99239
100472
|
};
|
|
99240
100473
|
content: {
|
|
99241
|
-
"application/json": components["schemas"]["
|
|
100474
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
99242
100475
|
};
|
|
99243
100476
|
};
|
|
99244
100477
|
/** @description Bad Request */
|
|
@@ -99259,55 +100492,8 @@ export interface operations {
|
|
|
99259
100492
|
"application/json": components["schemas"]["MessageResponse"];
|
|
99260
100493
|
};
|
|
99261
100494
|
};
|
|
99262
|
-
/** @description
|
|
99263
|
-
|
|
99264
|
-
headers: {
|
|
99265
|
-
[name: string]: unknown;
|
|
99266
|
-
};
|
|
99267
|
-
content: {
|
|
99268
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
99269
|
-
};
|
|
99270
|
-
};
|
|
99271
|
-
};
|
|
99272
|
-
};
|
|
99273
|
-
expenses_views_list_expense_vouchers: {
|
|
99274
|
-
parameters: {
|
|
99275
|
-
query?: {
|
|
99276
|
-
/** @description by default periodType is set to date filtration in user settings, Period type: thisMonth, thisYear, lastMonth, custom, ... */
|
|
99277
|
-
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "today" | "all";
|
|
99278
|
-
/** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
99279
|
-
startDate?: string | null;
|
|
99280
|
-
/** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
99281
|
-
endDate?: string | null;
|
|
99282
|
-
/** @description search by expense voucher number or description, customer name or account number, supplier name or account number, category name, project name, department name */
|
|
99283
|
-
search?: string;
|
|
99284
|
-
};
|
|
99285
|
-
header?: never;
|
|
99286
|
-
path?: never;
|
|
99287
|
-
cookie?: never;
|
|
99288
|
-
};
|
|
99289
|
-
requestBody?: never;
|
|
99290
|
-
responses: {
|
|
99291
|
-
/** @description OK */
|
|
99292
|
-
200: {
|
|
99293
|
-
headers: {
|
|
99294
|
-
[name: string]: unknown;
|
|
99295
|
-
};
|
|
99296
|
-
content: {
|
|
99297
|
-
"application/json": components["schemas"]["ExpenseVoucherListSchema"];
|
|
99298
|
-
};
|
|
99299
|
-
};
|
|
99300
|
-
/** @description Bad Request */
|
|
99301
|
-
400: {
|
|
99302
|
-
headers: {
|
|
99303
|
-
[name: string]: unknown;
|
|
99304
|
-
};
|
|
99305
|
-
content: {
|
|
99306
|
-
"application/json": components["schemas"]["ErrorMessages"];
|
|
99307
|
-
};
|
|
99308
|
-
};
|
|
99309
|
-
/** @description Forbidden */
|
|
99310
|
-
403: {
|
|
100495
|
+
/** @description Not Found */
|
|
100496
|
+
404: {
|
|
99311
100497
|
headers: {
|
|
99312
100498
|
[name: string]: unknown;
|
|
99313
100499
|
};
|
|
@@ -99326,7 +100512,7 @@ export interface operations {
|
|
|
99326
100512
|
};
|
|
99327
100513
|
};
|
|
99328
100514
|
};
|
|
99329
|
-
|
|
100515
|
+
expenses_payment_views_calculate_equivalents: {
|
|
99330
100516
|
parameters: {
|
|
99331
100517
|
query?: never;
|
|
99332
100518
|
header?: never;
|
|
@@ -99335,17 +100521,17 @@ export interface operations {
|
|
|
99335
100521
|
};
|
|
99336
100522
|
requestBody: {
|
|
99337
100523
|
content: {
|
|
99338
|
-
"application/json": components["schemas"]["
|
|
100524
|
+
"application/json": components["schemas"]["ExpensePaymentVoucherCalculateTotalsSchema"];
|
|
99339
100525
|
};
|
|
99340
100526
|
};
|
|
99341
100527
|
responses: {
|
|
99342
|
-
/** @description
|
|
99343
|
-
|
|
100528
|
+
/** @description OK */
|
|
100529
|
+
200: {
|
|
99344
100530
|
headers: {
|
|
99345
100531
|
[name: string]: unknown;
|
|
99346
100532
|
};
|
|
99347
100533
|
content: {
|
|
99348
|
-
"application/json": components["schemas"]["
|
|
100534
|
+
"application/json": components["schemas"]["ExpensePaymentVoucherCalculateTotalsResponseSchema"];
|
|
99349
100535
|
};
|
|
99350
100536
|
};
|
|
99351
100537
|
/** @description Bad Request */
|
|
@@ -99357,8 +100543,8 @@ export interface operations {
|
|
|
99357
100543
|
"application/json": components["schemas"]["ErrorMessages"];
|
|
99358
100544
|
};
|
|
99359
100545
|
};
|
|
99360
|
-
/** @description
|
|
99361
|
-
|
|
100546
|
+
/** @description Not Found */
|
|
100547
|
+
404: {
|
|
99362
100548
|
headers: {
|
|
99363
100549
|
[name: string]: unknown;
|
|
99364
100550
|
};
|
|
@@ -99377,13 +100563,20 @@ export interface operations {
|
|
|
99377
100563
|
};
|
|
99378
100564
|
};
|
|
99379
100565
|
};
|
|
99380
|
-
|
|
100566
|
+
expenses_payment_views_list_expense_payment_vouchers: {
|
|
99381
100567
|
parameters: {
|
|
99382
|
-
query?:
|
|
99383
|
-
|
|
99384
|
-
|
|
99385
|
-
|
|
100568
|
+
query?: {
|
|
100569
|
+
/** @description by default periodType is set to date filtration in user settings, Period type: thisMonth, thisYear, lastMonth, custom, ... */
|
|
100570
|
+
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "today" | "all";
|
|
100571
|
+
/** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
100572
|
+
startDate?: string | null;
|
|
100573
|
+
/** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
100574
|
+
endDate?: string | null;
|
|
100575
|
+
/** @description search by expense payment voucher number or description, supplier name or account number, employee name or account number */
|
|
100576
|
+
search?: string;
|
|
99386
100577
|
};
|
|
100578
|
+
header?: never;
|
|
100579
|
+
path?: never;
|
|
99387
100580
|
cookie?: never;
|
|
99388
100581
|
};
|
|
99389
100582
|
requestBody?: never;
|
|
@@ -99394,7 +100587,7 @@ export interface operations {
|
|
|
99394
100587
|
[name: string]: unknown;
|
|
99395
100588
|
};
|
|
99396
100589
|
content: {
|
|
99397
|
-
"application/json": components["schemas"]["
|
|
100590
|
+
"application/json": components["schemas"]["ExpensePaymentVoucherListSchema"];
|
|
99398
100591
|
};
|
|
99399
100592
|
};
|
|
99400
100593
|
/** @description Bad Request */
|
|
@@ -99415,15 +100608,6 @@ export interface operations {
|
|
|
99415
100608
|
"application/json": components["schemas"]["MessageResponse"];
|
|
99416
100609
|
};
|
|
99417
100610
|
};
|
|
99418
|
-
/** @description Not Found */
|
|
99419
|
-
404: {
|
|
99420
|
-
headers: {
|
|
99421
|
-
[name: string]: unknown;
|
|
99422
|
-
};
|
|
99423
|
-
content: {
|
|
99424
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
99425
|
-
};
|
|
99426
|
-
};
|
|
99427
100611
|
/** @description Internal Server Error */
|
|
99428
100612
|
500: {
|
|
99429
100613
|
headers: {
|
|
@@ -99435,18 +100619,18 @@ export interface operations {
|
|
|
99435
100619
|
};
|
|
99436
100620
|
};
|
|
99437
100621
|
};
|
|
99438
|
-
|
|
100622
|
+
expenses_payment_views_update_expense_payment_voucher: {
|
|
99439
100623
|
parameters: {
|
|
99440
|
-
query
|
|
99441
|
-
header?: never;
|
|
99442
|
-
path: {
|
|
100624
|
+
query: {
|
|
99443
100625
|
id: string;
|
|
99444
100626
|
};
|
|
100627
|
+
header?: never;
|
|
100628
|
+
path?: never;
|
|
99445
100629
|
cookie?: never;
|
|
99446
100630
|
};
|
|
99447
100631
|
requestBody: {
|
|
99448
100632
|
content: {
|
|
99449
|
-
"application/json": components["schemas"]["
|
|
100633
|
+
"application/json": components["schemas"]["CreateUpdateExpensePaymentVoucherSchema"];
|
|
99450
100634
|
};
|
|
99451
100635
|
};
|
|
99452
100636
|
responses: {
|
|
@@ -99456,7 +100640,7 @@ export interface operations {
|
|
|
99456
100640
|
[name: string]: unknown;
|
|
99457
100641
|
};
|
|
99458
100642
|
content: {
|
|
99459
|
-
"application/json": components["schemas"]["
|
|
100643
|
+
"application/json": components["schemas"]["ExpensePaymentVoucherResponseSchema"];
|
|
99460
100644
|
};
|
|
99461
100645
|
};
|
|
99462
100646
|
/** @description Bad Request */
|
|
@@ -99497,27 +100681,27 @@ export interface operations {
|
|
|
99497
100681
|
};
|
|
99498
100682
|
};
|
|
99499
100683
|
};
|
|
99500
|
-
|
|
100684
|
+
expenses_payment_views_new_expense_payment_voucher: {
|
|
99501
100685
|
parameters: {
|
|
99502
100686
|
query?: never;
|
|
99503
100687
|
header?: never;
|
|
99504
|
-
path
|
|
99505
|
-
id: string;
|
|
99506
|
-
};
|
|
100688
|
+
path?: never;
|
|
99507
100689
|
cookie?: never;
|
|
99508
100690
|
};
|
|
99509
100691
|
requestBody: {
|
|
99510
100692
|
content: {
|
|
99511
|
-
"application/json": components["schemas"]["
|
|
100693
|
+
"application/json": components["schemas"]["CreateUpdateExpensePaymentVoucherSchema"];
|
|
99512
100694
|
};
|
|
99513
100695
|
};
|
|
99514
100696
|
responses: {
|
|
99515
|
-
/** @description
|
|
99516
|
-
|
|
100697
|
+
/** @description Created */
|
|
100698
|
+
201: {
|
|
99517
100699
|
headers: {
|
|
99518
100700
|
[name: string]: unknown;
|
|
99519
100701
|
};
|
|
99520
|
-
content
|
|
100702
|
+
content: {
|
|
100703
|
+
"application/json": components["schemas"]["ExpensePaymentVoucherResponseSchema"];
|
|
100704
|
+
};
|
|
99521
100705
|
};
|
|
99522
100706
|
/** @description Bad Request */
|
|
99523
100707
|
400: {
|
|
@@ -99537,15 +100721,6 @@ export interface operations {
|
|
|
99537
100721
|
"application/json": components["schemas"]["MessageResponse"];
|
|
99538
100722
|
};
|
|
99539
100723
|
};
|
|
99540
|
-
/** @description Not Found */
|
|
99541
|
-
404: {
|
|
99542
|
-
headers: {
|
|
99543
|
-
[name: string]: unknown;
|
|
99544
|
-
};
|
|
99545
|
-
content: {
|
|
99546
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
99547
|
-
};
|
|
99548
|
-
};
|
|
99549
100724
|
/** @description Internal Server Error */
|
|
99550
100725
|
500: {
|
|
99551
100726
|
headers: {
|
|
@@ -99557,7 +100732,7 @@ export interface operations {
|
|
|
99557
100732
|
};
|
|
99558
100733
|
};
|
|
99559
100734
|
};
|
|
99560
|
-
|
|
100735
|
+
expenses_payment_views_get_expense_payment_voucher: {
|
|
99561
100736
|
parameters: {
|
|
99562
100737
|
query?: never;
|
|
99563
100738
|
header?: never;
|
|
@@ -99566,11 +100741,7 @@ export interface operations {
|
|
|
99566
100741
|
};
|
|
99567
100742
|
cookie?: never;
|
|
99568
100743
|
};
|
|
99569
|
-
requestBody
|
|
99570
|
-
content: {
|
|
99571
|
-
"application/json": components["schemas"]["ExpenseVoucherActionSchema"];
|
|
99572
|
-
};
|
|
99573
|
-
};
|
|
100744
|
+
requestBody?: never;
|
|
99574
100745
|
responses: {
|
|
99575
100746
|
/** @description OK */
|
|
99576
100747
|
200: {
|
|
@@ -99578,7 +100749,7 @@ export interface operations {
|
|
|
99578
100749
|
[name: string]: unknown;
|
|
99579
100750
|
};
|
|
99580
100751
|
content: {
|
|
99581
|
-
"application/json": components["schemas"]["
|
|
100752
|
+
"application/json": components["schemas"]["ExpensePaymentVoucherWithItemSchema"];
|
|
99582
100753
|
};
|
|
99583
100754
|
};
|
|
99584
100755
|
/** @description Bad Request */
|
|
@@ -99619,7 +100790,7 @@ export interface operations {
|
|
|
99619
100790
|
};
|
|
99620
100791
|
};
|
|
99621
100792
|
};
|
|
99622
|
-
|
|
100793
|
+
expenses_payment_views_delete_expense_payment_voucher: {
|
|
99623
100794
|
parameters: {
|
|
99624
100795
|
query?: never;
|
|
99625
100796
|
header?: never;
|
|
@@ -99630,18 +100801,16 @@ export interface operations {
|
|
|
99630
100801
|
};
|
|
99631
100802
|
requestBody: {
|
|
99632
100803
|
content: {
|
|
99633
|
-
"application/json": components["schemas"]["
|
|
100804
|
+
"application/json": components["schemas"]["ExpensePaymentVoucherActionSchema"];
|
|
99634
100805
|
};
|
|
99635
100806
|
};
|
|
99636
100807
|
responses: {
|
|
99637
|
-
/** @description
|
|
99638
|
-
|
|
100808
|
+
/** @description No Content */
|
|
100809
|
+
204: {
|
|
99639
100810
|
headers: {
|
|
99640
100811
|
[name: string]: unknown;
|
|
99641
100812
|
};
|
|
99642
|
-
content
|
|
99643
|
-
"application/json": components["schemas"]["ExpenseVoucherResponseSchema"];
|
|
99644
|
-
};
|
|
100813
|
+
content?: never;
|
|
99645
100814
|
};
|
|
99646
100815
|
/** @description Bad Request */
|
|
99647
100816
|
400: {
|
|
@@ -99681,7 +100850,7 @@ export interface operations {
|
|
|
99681
100850
|
};
|
|
99682
100851
|
};
|
|
99683
100852
|
};
|
|
99684
|
-
|
|
100853
|
+
expenses_payment_views_reset_expense_payment_voucher_to_draft: {
|
|
99685
100854
|
parameters: {
|
|
99686
100855
|
query?: never;
|
|
99687
100856
|
header?: never;
|
|
@@ -99690,7 +100859,11 @@ export interface operations {
|
|
|
99690
100859
|
};
|
|
99691
100860
|
cookie?: never;
|
|
99692
100861
|
};
|
|
99693
|
-
requestBody
|
|
100862
|
+
requestBody: {
|
|
100863
|
+
content: {
|
|
100864
|
+
"application/json": components["schemas"]["ExpensePaymentVoucherActionSchema"];
|
|
100865
|
+
};
|
|
100866
|
+
};
|
|
99694
100867
|
responses: {
|
|
99695
100868
|
/** @description OK */
|
|
99696
100869
|
200: {
|
|
@@ -99698,7 +100871,7 @@ export interface operations {
|
|
|
99698
100871
|
[name: string]: unknown;
|
|
99699
100872
|
};
|
|
99700
100873
|
content: {
|
|
99701
|
-
"application/json":
|
|
100874
|
+
"application/json": components["schemas"]["ExpensePaymentVoucherResponseSchema"];
|
|
99702
100875
|
};
|
|
99703
100876
|
};
|
|
99704
100877
|
/** @description Bad Request */
|
|
@@ -99739,7 +100912,7 @@ export interface operations {
|
|
|
99739
100912
|
};
|
|
99740
100913
|
};
|
|
99741
100914
|
};
|
|
99742
|
-
|
|
100915
|
+
expenses_payment_views_cancel_expense_payment_voucher: {
|
|
99743
100916
|
parameters: {
|
|
99744
100917
|
query?: never;
|
|
99745
100918
|
header?: never;
|
|
@@ -99750,7 +100923,7 @@ export interface operations {
|
|
|
99750
100923
|
};
|
|
99751
100924
|
requestBody: {
|
|
99752
100925
|
content: {
|
|
99753
|
-
"application/json": components["schemas"]["
|
|
100926
|
+
"application/json": components["schemas"]["ExpensePaymentVoucherActionSchema"];
|
|
99754
100927
|
};
|
|
99755
100928
|
};
|
|
99756
100929
|
responses: {
|
|
@@ -99760,7 +100933,7 @@ export interface operations {
|
|
|
99760
100933
|
[name: string]: unknown;
|
|
99761
100934
|
};
|
|
99762
100935
|
content: {
|
|
99763
|
-
"application/json": components["schemas"]["
|
|
100936
|
+
"application/json": components["schemas"]["ExpensePaymentVoucherResponseSchema"];
|
|
99764
100937
|
};
|
|
99765
100938
|
};
|
|
99766
100939
|
/** @description Bad Request */
|