@erp-galoper/types 1.0.1261 → 1.0.1263

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.
Files changed (2) hide show
  1. package/openapi.ts +1628 -456
  2. 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" | "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" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher";
28597
+ LogModelName: "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" | "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"];
@@ -32002,7 +32292,7 @@ export interface components {
32002
32292
  * DocumentTypeEnum
32003
32293
  * @enum {string}
32004
32294
  */
32005
- DocumentTypeEnum: "purchaseRefundVoucher" | "creditNote" | "advancePayment" | "goodsReceiptNote" | "salesPerson" | "returnOrder" | "returnInvoice" | "expenseVoucher";
32295
+ DocumentTypeEnum: "purchaseRefundVoucher" | "creditNote" | "advancePayment" | "goodsReceiptNote" | "salesPerson" | "returnOrder" | "returnInvoice" | "expenseVoucher" | "expensePaymentVoucher";
32006
32296
  /**
32007
32297
  * typeSuppliers
32008
32298
  * @enum {string}
@@ -43146,7 +43436,7 @@ export interface components {
43146
43436
  * EmployeeDocumentTypeEnum
43147
43437
  * @enum {string}
43148
43438
  */
43149
- EmployeeDocumentTypeEnum: "default" | "salesPerson";
43439
+ EmployeeDocumentTypeEnum: "default" | "salesPerson" | "expensePaymentVoucher";
43150
43440
  /**
43151
43441
  * EmployeeTypeEnum
43152
43442
  * @enum {string}
@@ -53935,12 +54225,12 @@ export interface components {
53935
54225
  * CombinedModelName
53936
54226
  * @enum {string}
53937
54227
  */
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";
54228
+ 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
54229
  /**
53940
54230
  * CombinedModelName
53941
54231
  * @enum {string}
53942
54232
  */
53943
- common__shared_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" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport";
54233
+ common__shared_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" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport";
53944
54234
  /** TasksListSchema */
53945
54235
  TasksListSchema: {
53946
54236
  info: components["schemas"]["PageInfoSchema"];
@@ -55607,6 +55897,424 @@ export interface components {
55607
55897
  /** Password */
55608
55898
  password?: string;
55609
55899
  };
55900
+ /**
55901
+ * ChangedFieldsVersionThree
55902
+ * @enum {string}
55903
+ */
55904
+ ChangedFieldsVersionThree: "amount" | "primaryAmount" | "secondaryAmount" | "primaryRate" | "secondaryRate" | "accountNumber";
55905
+ /** ExpensePaymentVoucherCalculateTotalsResponseSchema */
55906
+ ExpensePaymentVoucherCalculateTotalsResponseSchema: {
55907
+ /** Total */
55908
+ total: string;
55909
+ /** Primarytotal */
55910
+ primaryTotal: string;
55911
+ /** Secondarytotal */
55912
+ secondaryTotal: string;
55913
+ /** Remainingbalance */
55914
+ remainingBalance: string;
55915
+ /**
55916
+ * Items
55917
+ * @default []
55918
+ */
55919
+ items: components["schemas"]["ExpensePaymentVoucherItemCalculateTotalsResponseSchema"][];
55920
+ };
55921
+ /** ExpensePaymentVoucherItemCalculateTotalsResponseSchema */
55922
+ ExpensePaymentVoucherItemCalculateTotalsResponseSchema: {
55923
+ /** Amount */
55924
+ amount?: string;
55925
+ /** Primaryamount */
55926
+ primaryAmount: string;
55927
+ /** Secondaryamount */
55928
+ secondaryAmount: string;
55929
+ changedField: components["schemas"]["ChangedFieldsVersionThree"];
55930
+ /**
55931
+ * Primaryrate
55932
+ * @default 1
55933
+ */
55934
+ primaryRate: string;
55935
+ /** Secondaryrate */
55936
+ secondaryRate: string;
55937
+ /** Remaining */
55938
+ remaining: string;
55939
+ };
55940
+ /** ExpensePaymentVoucherCalculateTotalsSchema */
55941
+ ExpensePaymentVoucherCalculateTotalsSchema: {
55942
+ /**
55943
+ * Supplier
55944
+ * @description "
55945
+ * API Endpoints for Supplier Retrieval:
55946
+ * - Use the API: /api/v1/suppliers/?type=parents&documentType=expensePaymentVoucher
55947
+ */
55948
+ supplier: number;
55949
+ /**
55950
+ * Employee
55951
+ * Format: uuid
55952
+ * @description - employee id
55953
+ * - get employees using route /api/v1/employees/?branchId={branch-id}&document_type=expensePaymentVoucher&supplier={supplier-id}
55954
+ */
55955
+ employee?: string;
55956
+ /**
55957
+ * Items
55958
+ * @default []
55959
+ */
55960
+ items: components["schemas"]["ExpensePaymentVoucherItemCalculateTotalsSchema"][];
55961
+ };
55962
+ /** ExpensePaymentVoucherItemCalculateTotalsSchema */
55963
+ ExpensePaymentVoucherItemCalculateTotalsSchema: {
55964
+ /**
55965
+ * Expensevoucher
55966
+ * Format: uuid
55967
+ * @description - expense voucher id ,
55968
+ * API Endpoints for expense voucher retrieval:
55969
+ * - 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
55970
+ */
55971
+ expenseVoucher: string;
55972
+ /** Amount */
55973
+ amount?: string;
55974
+ /** Primaryamount */
55975
+ primaryAmount?: string;
55976
+ /** Secondaryamount */
55977
+ secondaryAmount?: string;
55978
+ changedField: components["schemas"]["ChangedFieldsVersionThree"];
55979
+ /**
55980
+ * Primaryrate
55981
+ * @default 1
55982
+ */
55983
+ primaryRate: string;
55984
+ /** Secondaryrate */
55985
+ secondaryRate?: string;
55986
+ };
55987
+ /** ExpensePaymentVoucherItemDetailSchema */
55988
+ ExpensePaymentVoucherItemDetailSchema: {
55989
+ /**
55990
+ * Id
55991
+ * Format: uuid
55992
+ */
55993
+ id: string;
55994
+ account: components["schemas"]["AccountSummaryInfo"] | null;
55995
+ paymentMethod: components["schemas"]["PaymentMethodSharedSchema"];
55996
+ supplierBankAccount: components["schemas"]["BankAccountsSharedSchema"] | null;
55997
+ /** Duedate */
55998
+ dueDate: string | null;
55999
+ /** Chequenumber */
56000
+ chequeNumber: string | null;
56001
+ /** Bankname */
56002
+ bankName: string | null;
56003
+ expenseVoucher: components["schemas"]["DocumentCommonSchema"];
56004
+ /**
56005
+ * Amount
56006
+ * @description field is number
56007
+ */
56008
+ amount: string;
56009
+ /**
56010
+ * Primaryamount
56011
+ * @description field is number
56012
+ */
56013
+ primaryAmount: string;
56014
+ /**
56015
+ * Secondaryamount
56016
+ * @description field is number
56017
+ */
56018
+ secondaryAmount: string;
56019
+ /**
56020
+ * Primaryrate
56021
+ * @description field is number
56022
+ */
56023
+ primaryRate: string;
56024
+ /**
56025
+ * Secondaryrate
56026
+ * @description field is number
56027
+ */
56028
+ secondaryRate: string;
56029
+ };
56030
+ /** ExpensePaymentVoucherResponseSchema */
56031
+ ExpensePaymentVoucherResponseSchema: {
56032
+ /** Code */
56033
+ code: string;
56034
+ /** Message */
56035
+ message: string;
56036
+ data: components["schemas"]["ExpensePaymentVoucherWithItemSchema"];
56037
+ };
56038
+ /** ExpensePaymentVoucherWithItemSchema */
56039
+ ExpensePaymentVoucherWithItemSchema: {
56040
+ /**
56041
+ * Datecreated
56042
+ * Format: date-time
56043
+ */
56044
+ dateCreated: string;
56045
+ /** Datemodified */
56046
+ dateModified?: string | null;
56047
+ createdBy: components["schemas"]["RecordUserSchema"];
56048
+ modifiedBy?: components["schemas"]["RecordUserSchema"] | null;
56049
+ /**
56050
+ * Id
56051
+ * Format: uuid
56052
+ */
56053
+ id: string;
56054
+ /** Serialnumber */
56055
+ serialNumber: string;
56056
+ /**
56057
+ * Date
56058
+ * Format: date
56059
+ */
56060
+ date: string;
56061
+ branch: components["schemas"]["BranchSummaryInfo"];
56062
+ /** Referencenumber */
56063
+ referenceNumber: string | null;
56064
+ supplier: components["schemas"]["AccountSummaryInfo"];
56065
+ employee: components["schemas"]["AccountSummaryInfo"] | null;
56066
+ /** Description */
56067
+ description: string | null;
56068
+ /** Notes */
56069
+ notes: string | null;
56070
+ /** Attachments */
56071
+ attachments: string[] | null;
56072
+ status: components["schemas"]["DocumentStatus"];
56073
+ approvalStatus: components["schemas"]["ApprovalChoices"];
56074
+ /**
56075
+ * Total
56076
+ * @description field is number
56077
+ */
56078
+ total: string;
56079
+ /**
56080
+ * Primarytotal
56081
+ * @description field is number
56082
+ */
56083
+ primaryTotal: string;
56084
+ /**
56085
+ * Secondarytotal
56086
+ * @description field is number
56087
+ */
56088
+ secondaryTotal: string;
56089
+ /** Candelete */
56090
+ canDelete: boolean;
56091
+ /** Items */
56092
+ items: components["schemas"]["ExpensePaymentVoucherItemDetailSchema"][];
56093
+ /**
56094
+ * Entries
56095
+ * @description accounting entries related to this document
56096
+ * @default []
56097
+ */
56098
+ entries: components["schemas"]["PostEntryDetailsSchema"][];
56099
+ /** Linkeddocuments */
56100
+ linkedDocuments?: {
56101
+ [key: string]: components["schemas"]["LinkedDocumentsSchema"];
56102
+ }[];
56103
+ };
56104
+ /** CreateUpdateExpensePaymentVoucherSchema */
56105
+ CreateUpdateExpensePaymentVoucherSchema: {
56106
+ /** Password */
56107
+ password?: string;
56108
+ /**
56109
+ * Date
56110
+ * Format: date
56111
+ * @description API Endpoints for Date Range Retrieval:
56112
+ * - Use the API: /api/v1/common/allowed_date_range/
56113
+ * - Query Parameters:
56114
+ * - module: expenses
56115
+ * - Format: yyyy-mm-dd
56116
+ */
56117
+ date: string;
56118
+ /** Referencenumber */
56119
+ referenceNumber?: string;
56120
+ /** Recipient */
56121
+ recipient?: string;
56122
+ /** Description */
56123
+ description?: string;
56124
+ /** Notes */
56125
+ notes?: string;
56126
+ /**
56127
+ * Attachments
56128
+ * @description API Endpoints for File Upload:
56129
+ * - Use the API: /api/v1/common/upload
56130
+ * - Payload Type: expensepaymentvoucher
56131
+ * @default []
56132
+ */
56133
+ attachments: string[];
56134
+ /**
56135
+ * Supplier
56136
+ * @description "
56137
+ * API Endpoints for Supplier Retrieval:
56138
+ * - Use the API: /api/v1/suppliers/?type=parents&documentType=expensePaymentVoucher
56139
+ */
56140
+ supplier: number;
56141
+ /**
56142
+ * Employee
56143
+ * Format: uuid
56144
+ * @description - employee id
56145
+ * - get employees using route /api/v1/employees/?branchId={branch-id}&document_type=expensePaymentVoucher&supplier={supplier-id}
56146
+ */
56147
+ employee?: string;
56148
+ status: components["schemas"]["InternalStatusChoices"];
56149
+ /** Items */
56150
+ items: components["schemas"]["ExpensePaymentVoucherItemCreateUpdateSchema"][];
56151
+ };
56152
+ /** ExpensePaymentVoucherItemCreateUpdateSchema */
56153
+ ExpensePaymentVoucherItemCreateUpdateSchema: {
56154
+ /**
56155
+ * Accountnumber
56156
+ * @description Visibility and Requirement:
56157
+ * - Visible and required if the accounting module is active.
56158
+ * API Endpoints for Account Retrieval:
56159
+ * 1. For Payment Methods [Cheque, Cash, Credit Card]:
56160
+ * - Use the API: /api/v1/chart_of_account/
56161
+ * - Query Parameters:
56162
+ * - type: Same as the payment method name.
56163
+ * - {entity-id}: ID of the {entity} options:(supplier, customer , sales_person, account).
56164
+ * - Filter: Accounts where status = true.
56165
+ * 2. For Payment Method [Bank Transfer]:
56166
+ * - Use the API: /api/v1/banks/
56167
+ * - Query Parameters:
56168
+ * - type: Same as the payment method name.
56169
+ * - {entity-id}: ID of the {entity} options:(supplier, customer , sales_person, account).
56170
+ * - Filter: Banks where `status = true.
56171
+ */
56172
+ accountNumber?: string;
56173
+ /**
56174
+ * Paymentmethod
56175
+ * @description API Endpoints for Payment Method Retrieval:
56176
+ * - Use the API: api/v1/payment_methods/
56177
+ * - Filter: where name != on Account
56178
+ */
56179
+ paymentMethod: number;
56180
+ /**
56181
+ * Duedate
56182
+ * Format: date
56183
+ * @description Visibility and Requirement:
56184
+ * - Required and visible if payment method is Cheque
56185
+ */
56186
+ dueDate?: string;
56187
+ /**
56188
+ * Chequenumber
56189
+ * @description Visibility and Requirement:
56190
+ * - Required and visible if payment method is Cheque
56191
+ */
56192
+ chequeNumber?: string;
56193
+ /**
56194
+ * Bankname
56195
+ * @description Visibility and Requirement:
56196
+ * - Required and visible if payment method is Cheque
56197
+ */
56198
+ bankName?: string;
56199
+ /**
56200
+ * Amount
56201
+ * @description field is number, should be greater than zero
56202
+ */
56203
+ amount: string;
56204
+ /**
56205
+ * Primaryrate
56206
+ * @description Visibility and Requirement:
56207
+ * - This field is a number.
56208
+ * - 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
56209
+ * API Retrieval:
56210
+ * - Get the company rate from the currency table where field name is rate and filter by currency name matches the entity currency
56211
+ */
56212
+ primaryRate?: string;
56213
+ /**
56214
+ * Secondaryrate
56215
+ * @description Visibility and Requirement:
56216
+ * - This field is a number.
56217
+ * - 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
56218
+ * API Retrieval:
56219
+ * - Get the secondary rate from currency table where field name is usdRate and filter by currency name matches entity currency
56220
+ */
56221
+ secondaryRate?: string;
56222
+ /**
56223
+ * Id
56224
+ * Format: uuid
56225
+ * @description UUID of the voucher item, used in put route
56226
+ */
56227
+ id?: string;
56228
+ /**
56229
+ * Supplierbankaccount
56230
+ * @description Visibility and Requirement:
56231
+ * - visible if payment method is Bank Transfer, required if employee is not selected
56232
+ * API Endpoints for Supplier Bank Account Retrieval:
56233
+ * - Use the API: /api/v1/suppliers/{supplier-id}/ where field is banks
56234
+ */
56235
+ supplierBankAccount?: number;
56236
+ /**
56237
+ * Employeebankaccount
56238
+ * @description Visibility and Requirement:
56239
+ * - visible if payment method is Bank Transfer, required if employee is selected
56240
+ * API Endpoints for Supplier Bank Account Retrieval:
56241
+ * - Use the API: /api/v1/suppliers/{supplier-id}/ where field is banks
56242
+ */
56243
+ employeeBankAccount?: number;
56244
+ /**
56245
+ * Expensevoucher
56246
+ * Format: uuid
56247
+ * @description - expense voucher id ,
56248
+ * API Endpoints for expense voucher retrieval:
56249
+ * - 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
56250
+ */
56251
+ expenseVoucher: string;
56252
+ };
56253
+ /** ExpensePaymentVoucherDetailSchema */
56254
+ ExpensePaymentVoucherDetailSchema: {
56255
+ /**
56256
+ * Datecreated
56257
+ * Format: date-time
56258
+ */
56259
+ dateCreated: string;
56260
+ /** Datemodified */
56261
+ dateModified?: string | null;
56262
+ createdBy: components["schemas"]["RecordUserSchema"];
56263
+ modifiedBy?: components["schemas"]["RecordUserSchema"] | null;
56264
+ /**
56265
+ * Id
56266
+ * Format: uuid
56267
+ */
56268
+ id: string;
56269
+ /** Serialnumber */
56270
+ serialNumber: string;
56271
+ /**
56272
+ * Date
56273
+ * Format: date
56274
+ */
56275
+ date: string;
56276
+ branch: components["schemas"]["BranchSummaryInfo"];
56277
+ /** Referencenumber */
56278
+ referenceNumber: string | null;
56279
+ supplier: components["schemas"]["AccountSummaryInfo"];
56280
+ employee: components["schemas"]["AccountSummaryInfo"] | null;
56281
+ /** Description */
56282
+ description: string | null;
56283
+ /** Notes */
56284
+ notes: string | null;
56285
+ /** Attachments */
56286
+ attachments: string[] | null;
56287
+ status: components["schemas"]["DocumentStatus"];
56288
+ approvalStatus: components["schemas"]["ApprovalChoices"];
56289
+ /**
56290
+ * Total
56291
+ * @description field is number
56292
+ */
56293
+ total: string;
56294
+ /**
56295
+ * Primarytotal
56296
+ * @description field is number
56297
+ */
56298
+ primaryTotal: string;
56299
+ /**
56300
+ * Secondarytotal
56301
+ * @description field is number
56302
+ */
56303
+ secondaryTotal: string;
56304
+ /** Candelete */
56305
+ canDelete: boolean;
56306
+ };
56307
+ /** ExpensePaymentVoucherListSchema */
56308
+ ExpensePaymentVoucherListSchema: {
56309
+ info: components["schemas"]["PageInfoSchema"];
56310
+ /** Results */
56311
+ results: components["schemas"]["ExpensePaymentVoucherDetailSchema"][];
56312
+ };
56313
+ /** ExpensePaymentVoucherActionSchema */
56314
+ ExpensePaymentVoucherActionSchema: {
56315
+ /** Password */
56316
+ password?: string;
56317
+ };
55610
56318
  };
55611
56319
  responses: never;
55612
56320
  parameters: never;
@@ -59999,7 +60707,7 @@ export interface operations {
59999
60707
  common_views_get_logs: {
60000
60708
  parameters: {
60001
60709
  query?: {
60002
- logModelName?: "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" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher";
60710
+ logModelName?: "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" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher";
60003
60711
  logType?: "Created" | "Changed" | "Deleted";
60004
60712
  startDate?: string;
60005
60713
  endDate?: string;
@@ -60056,7 +60764,7 @@ export interface operations {
60056
60764
  common_views_get_model_names: {
60057
60765
  parameters: {
60058
60766
  query?: {
60059
- CombinedModelNames?: "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" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport";
60767
+ CombinedModelNames?: "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" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport";
60060
60768
  };
60061
60769
  header?: never;
60062
60770
  path?: never;
@@ -67605,7 +68313,7 @@ export interface operations {
67605
68313
  /** @description Type of supplier to get */
67606
68314
  type?: "parents" | "children";
67607
68315
  /** @description type of document for listing suppliers, example : purchaseRefundVoucher */
67608
- documentType?: "purchaseRefundVoucher" | "creditNote" | "advancePayment" | "goodsReceiptNote" | "salesPerson" | "returnOrder" | "returnInvoice" | "expenseVoucher";
68316
+ documentType?: "purchaseRefundVoucher" | "creditNote" | "advancePayment" | "goodsReceiptNote" | "salesPerson" | "returnOrder" | "returnInvoice" | "expenseVoucher" | "expensePaymentVoucher";
67609
68317
  search?: string | null;
67610
68318
  /** @description Branch ID */
67611
68319
  branch?: number;
@@ -82518,7 +83226,9 @@ export interface operations {
82518
83226
  /** @description Type of employee to get */
82519
83227
  type?: "default" | "parent" | "children";
82520
83228
  /** @description Type of document for listing employees */
82521
- document_type?: "default" | "salesPerson";
83229
+ document_type?: "default" | "salesPerson" | "expensePaymentVoucher";
83230
+ /** @description supplier id, required when document type is expensePaymentVoucher */
83231
+ supplier?: number;
82522
83232
  };
82523
83233
  header?: never;
82524
83234
  path?: never;
@@ -97406,16 +98116,464 @@ export interface operations {
97406
98116
  };
97407
98117
  };
97408
98118
  };
97409
- integration_sync_views_sync_single_customer_endpoint: {
98119
+ integration_sync_views_sync_single_customer_endpoint: {
98120
+ parameters: {
98121
+ query?: never;
98122
+ header?: never;
98123
+ path: {
98124
+ customer_id: number;
98125
+ };
98126
+ cookie?: never;
98127
+ };
98128
+ requestBody?: never;
98129
+ responses: {
98130
+ /** @description OK */
98131
+ 200: {
98132
+ headers: {
98133
+ [name: string]: unknown;
98134
+ };
98135
+ content: {
98136
+ "application/json": components["schemas"]["MessageResponse"];
98137
+ };
98138
+ };
98139
+ /** @description Accepted */
98140
+ 202: {
98141
+ headers: {
98142
+ [name: string]: unknown;
98143
+ };
98144
+ content: {
98145
+ "application/json": components["schemas"]["MessageResponse"];
98146
+ };
98147
+ };
98148
+ /** @description Bad Request */
98149
+ 400: {
98150
+ headers: {
98151
+ [name: string]: unknown;
98152
+ };
98153
+ content: {
98154
+ "application/json": components["schemas"]["ErrorMessages"];
98155
+ };
98156
+ };
98157
+ /** @description Not Found */
98158
+ 404: {
98159
+ headers: {
98160
+ [name: string]: unknown;
98161
+ };
98162
+ content: {
98163
+ "application/json": components["schemas"]["MessageResponse"];
98164
+ };
98165
+ };
98166
+ /** @description Conflict */
98167
+ 409: {
98168
+ headers: {
98169
+ [name: string]: unknown;
98170
+ };
98171
+ content: {
98172
+ "application/json": components["schemas"]["MessageResponse"];
98173
+ };
98174
+ };
98175
+ };
98176
+ };
98177
+ integration_whatsapp_views_setup_whatsapp: {
98178
+ parameters: {
98179
+ query?: never;
98180
+ header?: never;
98181
+ path?: never;
98182
+ cookie?: never;
98183
+ };
98184
+ requestBody: {
98185
+ content: {
98186
+ "application/json": components["schemas"]["CreateWhatsAppIntegrationSchema"];
98187
+ };
98188
+ };
98189
+ responses: {
98190
+ /** @description Created */
98191
+ 201: {
98192
+ headers: {
98193
+ [name: string]: unknown;
98194
+ };
98195
+ content: {
98196
+ "application/json": components["schemas"]["WhatsAppIntegrationResponseSchema"];
98197
+ };
98198
+ };
98199
+ /** @description Bad Request */
98200
+ 400: {
98201
+ headers: {
98202
+ [name: string]: unknown;
98203
+ };
98204
+ content: {
98205
+ "application/json": components["schemas"]["ErrorMessages"];
98206
+ };
98207
+ };
98208
+ /** @description Forbidden */
98209
+ 403: {
98210
+ headers: {
98211
+ [name: string]: unknown;
98212
+ };
98213
+ content: {
98214
+ "application/json": components["schemas"]["MessageWithCode"];
98215
+ };
98216
+ };
98217
+ /** @description Conflict */
98218
+ 409: {
98219
+ headers: {
98220
+ [name: string]: unknown;
98221
+ };
98222
+ content: {
98223
+ "application/json": components["schemas"]["MessageWithCode"];
98224
+ };
98225
+ };
98226
+ /** @description Internal Server Error */
98227
+ 500: {
98228
+ headers: {
98229
+ [name: string]: unknown;
98230
+ };
98231
+ content: {
98232
+ "application/json": components["schemas"]["MessageWithCode"];
98233
+ };
98234
+ };
98235
+ };
98236
+ };
98237
+ integration_whatsapp_views_sync_approval_statuses: {
98238
+ parameters: {
98239
+ query?: never;
98240
+ header?: never;
98241
+ path?: never;
98242
+ cookie?: never;
98243
+ };
98244
+ requestBody?: never;
98245
+ responses: {
98246
+ /** @description OK */
98247
+ 200: {
98248
+ headers: {
98249
+ [name: string]: unknown;
98250
+ };
98251
+ content: {
98252
+ "application/json": components["schemas"]["SyncApprovalStatusesResponseSchema"];
98253
+ };
98254
+ };
98255
+ /** @description Forbidden */
98256
+ 403: {
98257
+ headers: {
98258
+ [name: string]: unknown;
98259
+ };
98260
+ content: {
98261
+ "application/json": components["schemas"]["MessageWithCode"];
98262
+ };
98263
+ };
98264
+ /** @description Not Found */
98265
+ 404: {
98266
+ headers: {
98267
+ [name: string]: unknown;
98268
+ };
98269
+ content: {
98270
+ "application/json": components["schemas"]["MessageWithCode"];
98271
+ };
98272
+ };
98273
+ /** @description Internal Server Error */
98274
+ 500: {
98275
+ headers: {
98276
+ [name: string]: unknown;
98277
+ };
98278
+ content: {
98279
+ "application/json": components["schemas"]["MessageWithCode"];
98280
+ };
98281
+ };
98282
+ };
98283
+ };
98284
+ integration_whatsapp_views_get_templates: {
98285
+ parameters: {
98286
+ query?: {
98287
+ /** @description Page number */
98288
+ page?: number;
98289
+ /** @description Page size */
98290
+ pageSize?: number;
98291
+ /** @description Search by template name or language */
98292
+ search?: string | null;
98293
+ /** @description Filter by entity type */
98294
+ entityType?: components["schemas"]["EntityType"] | null;
98295
+ };
98296
+ header?: never;
98297
+ path?: never;
98298
+ cookie?: never;
98299
+ };
98300
+ requestBody?: never;
98301
+ responses: {
98302
+ /** @description OK */
98303
+ 200: {
98304
+ headers: {
98305
+ [name: string]: unknown;
98306
+ };
98307
+ content: {
98308
+ "application/json": components["schemas"]["GetTemplatesResponseSchema"];
98309
+ };
98310
+ };
98311
+ /** @description Forbidden */
98312
+ 403: {
98313
+ headers: {
98314
+ [name: string]: unknown;
98315
+ };
98316
+ content: {
98317
+ "application/json": components["schemas"]["MessageWithCode"];
98318
+ };
98319
+ };
98320
+ /** @description Not Found */
98321
+ 404: {
98322
+ headers: {
98323
+ [name: string]: unknown;
98324
+ };
98325
+ content: {
98326
+ "application/json": components["schemas"]["MessageWithCode"];
98327
+ };
98328
+ };
98329
+ /** @description Internal Server Error */
98330
+ 500: {
98331
+ headers: {
98332
+ [name: string]: unknown;
98333
+ };
98334
+ content: {
98335
+ "application/json": components["schemas"]["MessageWithCode"];
98336
+ };
98337
+ };
98338
+ };
98339
+ };
98340
+ integration_whatsapp_views_register_template: {
98341
+ parameters: {
98342
+ query?: never;
98343
+ header?: never;
98344
+ path?: never;
98345
+ cookie?: never;
98346
+ };
98347
+ requestBody: {
98348
+ content: {
98349
+ "application/json": components["schemas"]["RegisterTemplateSchema"];
98350
+ };
98351
+ };
98352
+ responses: {
98353
+ /** @description Created */
98354
+ 201: {
98355
+ headers: {
98356
+ [name: string]: unknown;
98357
+ };
98358
+ content: {
98359
+ "application/json": components["schemas"]["TemplateSchema"];
98360
+ };
98361
+ };
98362
+ /** @description Bad Request */
98363
+ 400: {
98364
+ headers: {
98365
+ [name: string]: unknown;
98366
+ };
98367
+ content: {
98368
+ "application/json": components["schemas"]["ErrorMessages"];
98369
+ };
98370
+ };
98371
+ /** @description Forbidden */
98372
+ 403: {
98373
+ headers: {
98374
+ [name: string]: unknown;
98375
+ };
98376
+ content: {
98377
+ "application/json": components["schemas"]["MessageWithCode"];
98378
+ };
98379
+ };
98380
+ /** @description Not Found */
98381
+ 404: {
98382
+ headers: {
98383
+ [name: string]: unknown;
98384
+ };
98385
+ content: {
98386
+ "application/json": components["schemas"]["MessageWithCode"];
98387
+ };
98388
+ };
98389
+ /** @description Internal Server Error */
98390
+ 500: {
98391
+ headers: {
98392
+ [name: string]: unknown;
98393
+ };
98394
+ content: {
98395
+ "application/json": components["schemas"]["MessageWithCode"];
98396
+ };
98397
+ };
98398
+ };
98399
+ };
98400
+ integration_whatsapp_views_get_template: {
98401
+ parameters: {
98402
+ query?: never;
98403
+ header?: never;
98404
+ path: {
98405
+ id: string;
98406
+ };
98407
+ cookie?: never;
98408
+ };
98409
+ requestBody?: never;
98410
+ responses: {
98411
+ /** @description OK */
98412
+ 200: {
98413
+ headers: {
98414
+ [name: string]: unknown;
98415
+ };
98416
+ content: {
98417
+ "application/json": components["schemas"]["TemplateSchema"];
98418
+ };
98419
+ };
98420
+ /** @description Forbidden */
98421
+ 403: {
98422
+ headers: {
98423
+ [name: string]: unknown;
98424
+ };
98425
+ content: {
98426
+ "application/json": components["schemas"]["MessageWithCode"];
98427
+ };
98428
+ };
98429
+ /** @description Not Found */
98430
+ 404: {
98431
+ headers: {
98432
+ [name: string]: unknown;
98433
+ };
98434
+ content: {
98435
+ "application/json": components["schemas"]["MessageWithCode"];
98436
+ };
98437
+ };
98438
+ /** @description Internal Server Error */
98439
+ 500: {
98440
+ headers: {
98441
+ [name: string]: unknown;
98442
+ };
98443
+ content: {
98444
+ "application/json": components["schemas"]["MessageWithCode"];
98445
+ };
98446
+ };
98447
+ };
98448
+ };
98449
+ integration_whatsapp_views_delete_template: {
98450
+ parameters: {
98451
+ query?: never;
98452
+ header?: never;
98453
+ path: {
98454
+ id: string;
98455
+ };
98456
+ cookie?: never;
98457
+ };
98458
+ requestBody?: never;
98459
+ responses: {
98460
+ /** @description No Content */
98461
+ 204: {
98462
+ headers: {
98463
+ [name: string]: unknown;
98464
+ };
98465
+ content?: never;
98466
+ };
98467
+ /** @description Bad Request */
98468
+ 400: {
98469
+ headers: {
98470
+ [name: string]: unknown;
98471
+ };
98472
+ content: {
98473
+ "application/json": components["schemas"]["ErrorMessages"];
98474
+ };
98475
+ };
98476
+ /** @description Forbidden */
98477
+ 403: {
98478
+ headers: {
98479
+ [name: string]: unknown;
98480
+ };
98481
+ content: {
98482
+ "application/json": components["schemas"]["MessageWithCode"];
98483
+ };
98484
+ };
98485
+ /** @description Not Found */
98486
+ 404: {
98487
+ headers: {
98488
+ [name: string]: unknown;
98489
+ };
98490
+ content: {
98491
+ "application/json": components["schemas"]["MessageWithCode"];
98492
+ };
98493
+ };
98494
+ /** @description Internal Server Error */
98495
+ 500: {
98496
+ headers: {
98497
+ [name: string]: unknown;
98498
+ };
98499
+ content: {
98500
+ "application/json": components["schemas"]["MessageWithCode"];
98501
+ };
98502
+ };
98503
+ };
98504
+ };
98505
+ erp_settings_notificationsettings_views_get_notification_setting: {
98506
+ parameters: {
98507
+ query?: never;
98508
+ header?: never;
98509
+ path: {
98510
+ id: string;
98511
+ };
98512
+ cookie?: never;
98513
+ };
98514
+ requestBody?: never;
98515
+ responses: {
98516
+ /** @description OK */
98517
+ 200: {
98518
+ headers: {
98519
+ [name: string]: unknown;
98520
+ };
98521
+ content: {
98522
+ "application/json": components["schemas"]["RetrieveNotificationSetting"];
98523
+ };
98524
+ };
98525
+ /** @description Bad Request */
98526
+ 400: {
98527
+ headers: {
98528
+ [name: string]: unknown;
98529
+ };
98530
+ content: {
98531
+ "application/json": components["schemas"]["ErrorMessages"];
98532
+ };
98533
+ };
98534
+ /** @description Forbidden */
98535
+ 403: {
98536
+ headers: {
98537
+ [name: string]: unknown;
98538
+ };
98539
+ content: {
98540
+ "application/json": components["schemas"]["MessageResponse"];
98541
+ };
98542
+ };
98543
+ /** @description Not Found */
98544
+ 404: {
98545
+ headers: {
98546
+ [name: string]: unknown;
98547
+ };
98548
+ content: {
98549
+ "application/json": components["schemas"]["MessageResponse"];
98550
+ };
98551
+ };
98552
+ /** @description Internal Server Error */
98553
+ 500: {
98554
+ headers: {
98555
+ [name: string]: unknown;
98556
+ };
98557
+ content: {
98558
+ "application/json": components["schemas"]["MessageResponse"];
98559
+ };
98560
+ };
98561
+ };
98562
+ };
98563
+ erp_settings_notificationsettings_views_edit_notification_setting: {
97410
98564
  parameters: {
97411
98565
  query?: never;
97412
98566
  header?: never;
97413
98567
  path: {
97414
- customer_id: number;
98568
+ id: string;
97415
98569
  };
97416
98570
  cookie?: never;
97417
98571
  };
97418
- requestBody?: never;
98572
+ requestBody: {
98573
+ content: {
98574
+ "application/json": components["schemas"]["UpdateNotificationSetting"];
98575
+ };
98576
+ };
97419
98577
  responses: {
97420
98578
  /** @description OK */
97421
98579
  200: {
@@ -97423,25 +98581,25 @@ export interface operations {
97423
98581
  [name: string]: unknown;
97424
98582
  };
97425
98583
  content: {
97426
- "application/json": components["schemas"]["MessageResponse"];
98584
+ "application/json": components["schemas"]["RetrieveNotificationSetting"];
97427
98585
  };
97428
98586
  };
97429
- /** @description Accepted */
97430
- 202: {
98587
+ /** @description Bad Request */
98588
+ 400: {
97431
98589
  headers: {
97432
98590
  [name: string]: unknown;
97433
98591
  };
97434
98592
  content: {
97435
- "application/json": components["schemas"]["MessageResponse"];
98593
+ "application/json": components["schemas"]["ErrorMessages"];
97436
98594
  };
97437
98595
  };
97438
- /** @description Bad Request */
97439
- 400: {
98596
+ /** @description Forbidden */
98597
+ 403: {
97440
98598
  headers: {
97441
98599
  [name: string]: unknown;
97442
98600
  };
97443
98601
  content: {
97444
- "application/json": components["schemas"]["ErrorMessages"];
98602
+ "application/json": components["schemas"]["MessageResponse"];
97445
98603
  };
97446
98604
  };
97447
98605
  /** @description Not Found */
@@ -97462,28 +98620,36 @@ export interface operations {
97462
98620
  "application/json": components["schemas"]["MessageResponse"];
97463
98621
  };
97464
98622
  };
98623
+ /** @description Internal Server Error */
98624
+ 500: {
98625
+ headers: {
98626
+ [name: string]: unknown;
98627
+ };
98628
+ content: {
98629
+ "application/json": components["schemas"]["MessageResponse"];
98630
+ };
98631
+ };
97465
98632
  };
97466
98633
  };
97467
- integration_whatsapp_views_setup_whatsapp: {
98634
+ erp_settings_notificationsettings_views_list_notification_settings: {
97468
98635
  parameters: {
97469
- query?: never;
98636
+ query?: {
98637
+ /** @description Search notification setting by notification type */
98638
+ search?: string | null;
98639
+ };
97470
98640
  header?: never;
97471
98641
  path?: never;
97472
98642
  cookie?: never;
97473
98643
  };
97474
- requestBody: {
97475
- content: {
97476
- "application/json": components["schemas"]["CreateWhatsAppIntegrationSchema"];
97477
- };
97478
- };
98644
+ requestBody?: never;
97479
98645
  responses: {
97480
- /** @description Created */
97481
- 201: {
98646
+ /** @description OK */
98647
+ 200: {
97482
98648
  headers: {
97483
98649
  [name: string]: unknown;
97484
98650
  };
97485
98651
  content: {
97486
- "application/json": components["schemas"]["WhatsAppIntegrationResponseSchema"];
98652
+ "application/json": components["schemas"]["NotificationSettingList"];
97487
98653
  };
97488
98654
  };
97489
98655
  /** @description Bad Request */
@@ -97501,16 +98667,16 @@ export interface operations {
97501
98667
  [name: string]: unknown;
97502
98668
  };
97503
98669
  content: {
97504
- "application/json": components["schemas"]["MessageWithCode"];
98670
+ "application/json": components["schemas"]["MessageResponse"];
97505
98671
  };
97506
98672
  };
97507
- /** @description Conflict */
97508
- 409: {
98673
+ /** @description Not Found */
98674
+ 404: {
97509
98675
  headers: {
97510
98676
  [name: string]: unknown;
97511
98677
  };
97512
98678
  content: {
97513
- "application/json": components["schemas"]["MessageWithCode"];
98679
+ "application/json": components["schemas"]["MessageResponse"];
97514
98680
  };
97515
98681
  };
97516
98682
  /** @description Internal Server Error */
@@ -97519,12 +98685,12 @@ export interface operations {
97519
98685
  [name: string]: unknown;
97520
98686
  };
97521
98687
  content: {
97522
- "application/json": components["schemas"]["MessageWithCode"];
98688
+ "application/json": components["schemas"]["MessageResponse"];
97523
98689
  };
97524
98690
  };
97525
98691
  };
97526
98692
  };
97527
- integration_whatsapp_views_sync_approval_statuses: {
98693
+ notification_views_notification_stream: {
97528
98694
  parameters: {
97529
98695
  query?: never;
97530
98696
  header?: never;
@@ -97538,9 +98704,7 @@ export interface operations {
97538
98704
  headers: {
97539
98705
  [name: string]: unknown;
97540
98706
  };
97541
- content: {
97542
- "application/json": components["schemas"]["SyncApprovalStatusesResponseSchema"];
97543
- };
98707
+ content?: never;
97544
98708
  };
97545
98709
  /** @description Forbidden */
97546
98710
  403: {
@@ -97548,16 +98712,7 @@ export interface operations {
97548
98712
  [name: string]: unknown;
97549
98713
  };
97550
98714
  content: {
97551
- "application/json": components["schemas"]["MessageWithCode"];
97552
- };
97553
- };
97554
- /** @description Not Found */
97555
- 404: {
97556
- headers: {
97557
- [name: string]: unknown;
97558
- };
97559
- content: {
97560
- "application/json": components["schemas"]["MessageWithCode"];
98715
+ "application/json": components["schemas"]["MessageResponse"];
97561
98716
  };
97562
98717
  };
97563
98718
  /** @description Internal Server Error */
@@ -97566,22 +98721,16 @@ export interface operations {
97566
98721
  [name: string]: unknown;
97567
98722
  };
97568
98723
  content: {
97569
- "application/json": components["schemas"]["MessageWithCode"];
98724
+ "application/json": components["schemas"]["MessageResponse"];
97570
98725
  };
97571
98726
  };
97572
98727
  };
97573
98728
  };
97574
- integration_whatsapp_views_get_templates: {
98729
+ notification_views_list_notification: {
97575
98730
  parameters: {
97576
98731
  query?: {
97577
- /** @description Page number */
97578
- page?: number;
97579
- /** @description Page size */
97580
- pageSize?: number;
97581
- /** @description Search by template name or language */
98732
+ /** @description Search notification by title or message */
97582
98733
  search?: string | null;
97583
- /** @description Filter by entity type */
97584
- entityType?: components["schemas"]["EntityType"] | null;
97585
98734
  };
97586
98735
  header?: never;
97587
98736
  path?: never;
@@ -97595,25 +98744,25 @@ export interface operations {
97595
98744
  [name: string]: unknown;
97596
98745
  };
97597
98746
  content: {
97598
- "application/json": components["schemas"]["GetTemplatesResponseSchema"];
98747
+ "application/json": components["schemas"]["NotificationsList"];
97599
98748
  };
97600
98749
  };
97601
- /** @description Forbidden */
97602
- 403: {
98750
+ /** @description Bad Request */
98751
+ 400: {
97603
98752
  headers: {
97604
98753
  [name: string]: unknown;
97605
98754
  };
97606
98755
  content: {
97607
- "application/json": components["schemas"]["MessageWithCode"];
98756
+ "application/json": components["schemas"]["ErrorMessages"];
97608
98757
  };
97609
98758
  };
97610
- /** @description Not Found */
97611
- 404: {
98759
+ /** @description Forbidden */
98760
+ 403: {
97612
98761
  headers: {
97613
98762
  [name: string]: unknown;
97614
98763
  };
97615
98764
  content: {
97616
- "application/json": components["schemas"]["MessageWithCode"];
98765
+ "application/json": components["schemas"]["MessageResponse"];
97617
98766
  };
97618
98767
  };
97619
98768
  /** @description Internal Server Error */
@@ -97622,31 +98771,33 @@ export interface operations {
97622
98771
  [name: string]: unknown;
97623
98772
  };
97624
98773
  content: {
97625
- "application/json": components["schemas"]["MessageWithCode"];
98774
+ "application/json": components["schemas"]["MessageResponse"];
97626
98775
  };
97627
98776
  };
97628
98777
  };
97629
98778
  };
97630
- integration_whatsapp_views_register_template: {
98779
+ notification_views_update_notification_status: {
97631
98780
  parameters: {
97632
98781
  query?: never;
97633
98782
  header?: never;
97634
- path?: never;
98783
+ path: {
98784
+ id: string;
98785
+ };
97635
98786
  cookie?: never;
97636
98787
  };
97637
98788
  requestBody: {
97638
98789
  content: {
97639
- "application/json": components["schemas"]["RegisterTemplateSchema"];
98790
+ "application/json": components["schemas"]["MarkAsReadNotif"];
97640
98791
  };
97641
98792
  };
97642
98793
  responses: {
97643
- /** @description Created */
97644
- 201: {
98794
+ /** @description OK */
98795
+ 200: {
97645
98796
  headers: {
97646
98797
  [name: string]: unknown;
97647
98798
  };
97648
98799
  content: {
97649
- "application/json": components["schemas"]["TemplateSchema"];
98800
+ "application/json": components["schemas"]["RetrieveNotificationRecipient"];
97650
98801
  };
97651
98802
  };
97652
98803
  /** @description Bad Request */
@@ -97664,7 +98815,7 @@ export interface operations {
97664
98815
  [name: string]: unknown;
97665
98816
  };
97666
98817
  content: {
97667
- "application/json": components["schemas"]["MessageWithCode"];
98818
+ "application/json": components["schemas"]["MessageResponse"];
97668
98819
  };
97669
98820
  };
97670
98821
  /** @description Not Found */
@@ -97673,7 +98824,7 @@ export interface operations {
97673
98824
  [name: string]: unknown;
97674
98825
  };
97675
98826
  content: {
97676
- "application/json": components["schemas"]["MessageWithCode"];
98827
+ "application/json": components["schemas"]["MessageResponse"];
97677
98828
  };
97678
98829
  };
97679
98830
  /** @description Internal Server Error */
@@ -97682,21 +98833,23 @@ export interface operations {
97682
98833
  [name: string]: unknown;
97683
98834
  };
97684
98835
  content: {
97685
- "application/json": components["schemas"]["MessageWithCode"];
98836
+ "application/json": components["schemas"]["MessageResponse"];
97686
98837
  };
97687
98838
  };
97688
98839
  };
97689
98840
  };
97690
- integration_whatsapp_views_get_template: {
98841
+ notification_views_batch_update_notification_status: {
97691
98842
  parameters: {
97692
98843
  query?: never;
97693
98844
  header?: never;
97694
- path: {
97695
- id: string;
97696
- };
98845
+ path?: never;
97697
98846
  cookie?: never;
97698
98847
  };
97699
- requestBody?: never;
98848
+ requestBody: {
98849
+ content: {
98850
+ "application/json": components["schemas"]["BatchUpdateStatus"];
98851
+ };
98852
+ };
97700
98853
  responses: {
97701
98854
  /** @description OK */
97702
98855
  200: {
@@ -97704,55 +98857,8 @@ export interface operations {
97704
98857
  [name: string]: unknown;
97705
98858
  };
97706
98859
  content: {
97707
- "application/json": components["schemas"]["TemplateSchema"];
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;
98860
+ "application/json": components["schemas"]["MessageResponse"];
97754
98861
  };
97755
- content?: never;
97756
98862
  };
97757
98863
  /** @description Bad Request */
97758
98864
  400: {
@@ -97769,7 +98875,7 @@ export interface operations {
97769
98875
  [name: string]: unknown;
97770
98876
  };
97771
98877
  content: {
97772
- "application/json": components["schemas"]["MessageWithCode"];
98878
+ "application/json": components["schemas"]["MessageResponse"];
97773
98879
  };
97774
98880
  };
97775
98881
  /** @description Not Found */
@@ -97778,7 +98884,7 @@ export interface operations {
97778
98884
  [name: string]: unknown;
97779
98885
  };
97780
98886
  content: {
97781
- "application/json": components["schemas"]["MessageWithCode"];
98887
+ "application/json": components["schemas"]["MessageResponse"];
97782
98888
  };
97783
98889
  };
97784
98890
  /** @description Internal Server Error */
@@ -97787,12 +98893,12 @@ export interface operations {
97787
98893
  [name: string]: unknown;
97788
98894
  };
97789
98895
  content: {
97790
- "application/json": components["schemas"]["MessageWithCode"];
98896
+ "application/json": components["schemas"]["MessageResponse"];
97791
98897
  };
97792
98898
  };
97793
98899
  };
97794
98900
  };
97795
- erp_settings_notificationsettings_views_get_notification_setting: {
98901
+ notification_views_get_notification: {
97796
98902
  parameters: {
97797
98903
  query?: never;
97798
98904
  header?: never;
@@ -97809,16 +98915,7 @@ export interface operations {
97809
98915
  [name: string]: unknown;
97810
98916
  };
97811
98917
  content: {
97812
- "application/json": components["schemas"]["RetrieveNotificationSetting"];
97813
- };
97814
- };
97815
- /** @description Bad Request */
97816
- 400: {
97817
- headers: {
97818
- [name: string]: unknown;
97819
- };
97820
- content: {
97821
- "application/json": components["schemas"]["ErrorMessages"];
98918
+ "application/json": components["schemas"]["RetrieveNotificationRecipient"];
97822
98919
  };
97823
98920
  };
97824
98921
  /** @description Forbidden */
@@ -97850,20 +98947,17 @@ export interface operations {
97850
98947
  };
97851
98948
  };
97852
98949
  };
97853
- erp_settings_notificationsettings_views_edit_notification_setting: {
98950
+ event_views_list_events: {
97854
98951
  parameters: {
97855
- query?: never;
97856
- header?: never;
97857
- path: {
97858
- id: string;
98952
+ query?: {
98953
+ /** @description Search event by title */
98954
+ search?: string | null;
97859
98955
  };
98956
+ header?: never;
98957
+ path?: never;
97860
98958
  cookie?: never;
97861
98959
  };
97862
- requestBody: {
97863
- content: {
97864
- "application/json": components["schemas"]["UpdateNotificationSetting"];
97865
- };
97866
- };
98960
+ requestBody?: never;
97867
98961
  responses: {
97868
98962
  /** @description OK */
97869
98963
  200: {
@@ -97871,7 +98965,7 @@ export interface operations {
97871
98965
  [name: string]: unknown;
97872
98966
  };
97873
98967
  content: {
97874
- "application/json": components["schemas"]["RetrieveNotificationSetting"];
98968
+ "application/json": components["schemas"]["EventsListSchema"];
97875
98969
  };
97876
98970
  };
97877
98971
  /** @description Bad Request */
@@ -97921,25 +99015,26 @@ export interface operations {
97921
99015
  };
97922
99016
  };
97923
99017
  };
97924
- erp_settings_notificationsettings_views_list_notification_settings: {
99018
+ event_views_create_event: {
97925
99019
  parameters: {
97926
- query?: {
97927
- /** @description Search notification setting by notification type */
97928
- search?: string | null;
97929
- };
99020
+ query?: never;
97930
99021
  header?: never;
97931
99022
  path?: never;
97932
99023
  cookie?: never;
97933
99024
  };
97934
- requestBody?: never;
99025
+ requestBody: {
99026
+ content: {
99027
+ "application/json": components["schemas"]["CreateUpdateEvent"];
99028
+ };
99029
+ };
97935
99030
  responses: {
97936
- /** @description OK */
97937
- 200: {
99031
+ /** @description Created */
99032
+ 201: {
97938
99033
  headers: {
97939
99034
  [name: string]: unknown;
97940
99035
  };
97941
99036
  content: {
97942
- "application/json": components["schemas"]["NotificationSettingList"];
99037
+ "application/json": components["schemas"]["RetrieveEvent"];
97943
99038
  };
97944
99039
  };
97945
99040
  /** @description Bad Request */
@@ -97969,35 +99064,8 @@ export interface operations {
97969
99064
  "application/json": components["schemas"]["MessageResponse"];
97970
99065
  };
97971
99066
  };
97972
- /** @description Internal Server Error */
97973
- 500: {
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: {
99067
+ /** @description Conflict */
99068
+ 409: {
98001
99069
  headers: {
98002
99070
  [name: string]: unknown;
98003
99071
  };
@@ -98016,14 +99084,13 @@ export interface operations {
98016
99084
  };
98017
99085
  };
98018
99086
  };
98019
- notification_views_list_notification: {
99087
+ event_views_get_event: {
98020
99088
  parameters: {
98021
- query?: {
98022
- /** @description Search notification by title or message */
98023
- search?: string | null;
98024
- };
99089
+ query?: never;
98025
99090
  header?: never;
98026
- path?: never;
99091
+ path: {
99092
+ id: string;
99093
+ };
98027
99094
  cookie?: never;
98028
99095
  };
98029
99096
  requestBody?: never;
@@ -98034,20 +99101,20 @@ export interface operations {
98034
99101
  [name: string]: unknown;
98035
99102
  };
98036
99103
  content: {
98037
- "application/json": components["schemas"]["NotificationsList"];
99104
+ "application/json": components["schemas"]["RetrieveEvent"];
98038
99105
  };
98039
99106
  };
98040
- /** @description Bad Request */
98041
- 400: {
99107
+ /** @description Forbidden */
99108
+ 403: {
98042
99109
  headers: {
98043
99110
  [name: string]: unknown;
98044
99111
  };
98045
99112
  content: {
98046
- "application/json": components["schemas"]["ErrorMessages"];
99113
+ "application/json": components["schemas"]["MessageResponse"];
98047
99114
  };
98048
99115
  };
98049
- /** @description Forbidden */
98050
- 403: {
99116
+ /** @description Not Found */
99117
+ 404: {
98051
99118
  headers: {
98052
99119
  [name: string]: unknown;
98053
99120
  };
@@ -98066,7 +99133,7 @@ export interface operations {
98066
99133
  };
98067
99134
  };
98068
99135
  };
98069
- notification_views_update_notification_status: {
99136
+ event_views_edit_event: {
98070
99137
  parameters: {
98071
99138
  query?: never;
98072
99139
  header?: never;
@@ -98077,7 +99144,7 @@ export interface operations {
98077
99144
  };
98078
99145
  requestBody: {
98079
99146
  content: {
98080
- "application/json": components["schemas"]["MarkAsReadNotif"];
99147
+ "application/json": components["schemas"]["CreateUpdateEvent"];
98081
99148
  };
98082
99149
  };
98083
99150
  responses: {
@@ -98087,7 +99154,7 @@ export interface operations {
98087
99154
  [name: string]: unknown;
98088
99155
  };
98089
99156
  content: {
98090
- "application/json": components["schemas"]["RetrieveNotificationRecipient"];
99157
+ "application/json": components["schemas"]["RetrieveEvent"];
98091
99158
  };
98092
99159
  };
98093
99160
  /** @description Bad Request */
@@ -98117,6 +99184,15 @@ export interface operations {
98117
99184
  "application/json": components["schemas"]["MessageResponse"];
98118
99185
  };
98119
99186
  };
99187
+ /** @description Conflict */
99188
+ 409: {
99189
+ headers: {
99190
+ [name: string]: unknown;
99191
+ };
99192
+ content: {
99193
+ "application/json": components["schemas"]["MessageResponse"];
99194
+ };
99195
+ };
98120
99196
  /** @description Internal Server Error */
98121
99197
  500: {
98122
99198
  headers: {
@@ -98128,27 +99204,23 @@ export interface operations {
98128
99204
  };
98129
99205
  };
98130
99206
  };
98131
- notification_views_batch_update_notification_status: {
99207
+ event_views_delete_event: {
98132
99208
  parameters: {
98133
99209
  query?: never;
98134
99210
  header?: never;
98135
- path?: never;
98136
- cookie?: never;
98137
- };
98138
- requestBody: {
98139
- content: {
98140
- "application/json": components["schemas"]["BatchUpdateStatus"];
99211
+ path: {
99212
+ id: string;
98141
99213
  };
99214
+ cookie?: never;
98142
99215
  };
99216
+ requestBody?: never;
98143
99217
  responses: {
98144
- /** @description OK */
98145
- 200: {
99218
+ /** @description No Content */
99219
+ 204: {
98146
99220
  headers: {
98147
99221
  [name: string]: unknown;
98148
99222
  };
98149
- content: {
98150
- "application/json": components["schemas"]["MessageResponse"];
98151
- };
99223
+ content?: never;
98152
99224
  };
98153
99225
  /** @description Bad Request */
98154
99226
  400: {
@@ -98177,6 +99249,15 @@ export interface operations {
98177
99249
  "application/json": components["schemas"]["MessageResponse"];
98178
99250
  };
98179
99251
  };
99252
+ /** @description Conflict */
99253
+ 409: {
99254
+ headers: {
99255
+ [name: string]: unknown;
99256
+ };
99257
+ content: {
99258
+ "application/json": components["schemas"]["MessageResponse"];
99259
+ };
99260
+ };
98180
99261
  /** @description Internal Server Error */
98181
99262
  500: {
98182
99263
  headers: {
@@ -98188,7 +99269,7 @@ export interface operations {
98188
99269
  };
98189
99270
  };
98190
99271
  };
98191
- notification_views_get_notification: {
99272
+ event_views_cancel_event: {
98192
99273
  parameters: {
98193
99274
  query?: never;
98194
99275
  header?: never;
@@ -98205,7 +99286,16 @@ export interface operations {
98205
99286
  [name: string]: unknown;
98206
99287
  };
98207
99288
  content: {
98208
- "application/json": components["schemas"]["RetrieveNotificationRecipient"];
99289
+ "application/json": components["schemas"]["RetrieveEvent"];
99290
+ };
99291
+ };
99292
+ /** @description Bad Request */
99293
+ 400: {
99294
+ headers: {
99295
+ [name: string]: unknown;
99296
+ };
99297
+ content: {
99298
+ "application/json": components["schemas"]["ErrorMessages"];
98209
99299
  };
98210
99300
  };
98211
99301
  /** @description Forbidden */
@@ -98226,6 +99316,15 @@ export interface operations {
98226
99316
  "application/json": components["schemas"]["MessageResponse"];
98227
99317
  };
98228
99318
  };
99319
+ /** @description Conflict */
99320
+ 409: {
99321
+ headers: {
99322
+ [name: string]: unknown;
99323
+ };
99324
+ content: {
99325
+ "application/json": components["schemas"]["MessageResponse"];
99326
+ };
99327
+ };
98229
99328
  /** @description Internal Server Error */
98230
99329
  500: {
98231
99330
  headers: {
@@ -98237,10 +99336,10 @@ export interface operations {
98237
99336
  };
98238
99337
  };
98239
99338
  };
98240
- event_views_list_events: {
99339
+ event_views_list_event_categories: {
98241
99340
  parameters: {
98242
99341
  query?: {
98243
- /** @description Search event by title */
99342
+ /** @description Search event category by name */
98244
99343
  search?: string | null;
98245
99344
  };
98246
99345
  header?: never;
@@ -98255,7 +99354,7 @@ export interface operations {
98255
99354
  [name: string]: unknown;
98256
99355
  };
98257
99356
  content: {
98258
- "application/json": components["schemas"]["EventsListSchema"];
99357
+ "application/json": components["schemas"]["RetrieveEventCategory"][];
98259
99358
  };
98260
99359
  };
98261
99360
  /** @description Bad Request */
@@ -98305,7 +99404,7 @@ export interface operations {
98305
99404
  };
98306
99405
  };
98307
99406
  };
98308
- event_views_create_event: {
99407
+ event_views_create_event_category: {
98309
99408
  parameters: {
98310
99409
  query?: never;
98311
99410
  header?: never;
@@ -98314,7 +99413,7 @@ export interface operations {
98314
99413
  };
98315
99414
  requestBody: {
98316
99415
  content: {
98317
- "application/json": components["schemas"]["CreateUpdateEvent"];
99416
+ "application/json": components["schemas"]["CreateUpdateEventCategory"];
98318
99417
  };
98319
99418
  };
98320
99419
  responses: {
@@ -98324,7 +99423,7 @@ export interface operations {
98324
99423
  [name: string]: unknown;
98325
99424
  };
98326
99425
  content: {
98327
- "application/json": components["schemas"]["RetrieveEvent"];
99426
+ "application/json": components["schemas"]["RetrieveEventCategory"];
98328
99427
  };
98329
99428
  };
98330
99429
  /** @description Bad Request */
@@ -98374,7 +99473,7 @@ export interface operations {
98374
99473
  };
98375
99474
  };
98376
99475
  };
98377
- event_views_get_event: {
99476
+ event_views_get_event_category: {
98378
99477
  parameters: {
98379
99478
  query?: never;
98380
99479
  header?: never;
@@ -98391,7 +99490,7 @@ export interface operations {
98391
99490
  [name: string]: unknown;
98392
99491
  };
98393
99492
  content: {
98394
- "application/json": components["schemas"]["RetrieveEvent"];
99493
+ "application/json": components["schemas"]["RetrieveEventCategory"];
98395
99494
  };
98396
99495
  };
98397
99496
  /** @description Forbidden */
@@ -98423,7 +99522,7 @@ export interface operations {
98423
99522
  };
98424
99523
  };
98425
99524
  };
98426
- event_views_edit_event: {
99525
+ event_views_edit_event_category: {
98427
99526
  parameters: {
98428
99527
  query?: never;
98429
99528
  header?: never;
@@ -98434,7 +99533,7 @@ export interface operations {
98434
99533
  };
98435
99534
  requestBody: {
98436
99535
  content: {
98437
- "application/json": components["schemas"]["CreateUpdateEvent"];
99536
+ "application/json": components["schemas"]["CreateUpdateEventCategory"];
98438
99537
  };
98439
99538
  };
98440
99539
  responses: {
@@ -98444,7 +99543,7 @@ export interface operations {
98444
99543
  [name: string]: unknown;
98445
99544
  };
98446
99545
  content: {
98447
- "application/json": components["schemas"]["RetrieveEvent"];
99546
+ "application/json": components["schemas"]["RetrieveEventCategory"];
98448
99547
  };
98449
99548
  };
98450
99549
  /** @description Bad Request */
@@ -98494,7 +99593,7 @@ export interface operations {
98494
99593
  };
98495
99594
  };
98496
99595
  };
98497
- event_views_delete_event: {
99596
+ event_views_delete_event_category: {
98498
99597
  parameters: {
98499
99598
  query?: never;
98500
99599
  header?: never;
@@ -98559,13 +99658,14 @@ export interface operations {
98559
99658
  };
98560
99659
  };
98561
99660
  };
98562
- event_views_cancel_event: {
99661
+ erp_settings_expenses_settings_views_list_expense_categories: {
98563
99662
  parameters: {
98564
- query?: never;
98565
- header?: never;
98566
- path: {
98567
- id: string;
99663
+ query?: {
99664
+ /** @description Search by name, preferred supplier name/account number, limit amount, expense account name/account number */
99665
+ search?: string | null;
98568
99666
  };
99667
+ header?: never;
99668
+ path?: never;
98569
99669
  cookie?: never;
98570
99670
  };
98571
99671
  requestBody?: never;
@@ -98576,7 +99676,7 @@ export interface operations {
98576
99676
  [name: string]: unknown;
98577
99677
  };
98578
99678
  content: {
98579
- "application/json": components["schemas"]["RetrieveEvent"];
99679
+ "application/json": components["schemas"]["ExpenseCategoryListSchema"];
98580
99680
  };
98581
99681
  };
98582
99682
  /** @description Bad Request */
@@ -98597,8 +99697,8 @@ export interface operations {
98597
99697
  "application/json": components["schemas"]["MessageResponse"];
98598
99698
  };
98599
99699
  };
98600
- /** @description Not Found */
98601
- 404: {
99700
+ /** @description Internal Server Error */
99701
+ 500: {
98602
99702
  headers: {
98603
99703
  [name: string]: unknown;
98604
99704
  };
@@ -98606,8 +99706,41 @@ export interface operations {
98606
99706
  "application/json": components["schemas"]["MessageResponse"];
98607
99707
  };
98608
99708
  };
98609
- /** @description Conflict */
98610
- 409: {
99709
+ };
99710
+ };
99711
+ erp_settings_expenses_settings_views_new_expense_category: {
99712
+ parameters: {
99713
+ query?: never;
99714
+ header?: never;
99715
+ path?: never;
99716
+ cookie?: never;
99717
+ };
99718
+ requestBody: {
99719
+ content: {
99720
+ "application/json": components["schemas"]["CreateUpdateExpenseCategorySchema"];
99721
+ };
99722
+ };
99723
+ responses: {
99724
+ /** @description Created */
99725
+ 201: {
99726
+ headers: {
99727
+ [name: string]: unknown;
99728
+ };
99729
+ content: {
99730
+ "application/json": components["schemas"]["ExpenseCategoryResponseSchema"];
99731
+ };
99732
+ };
99733
+ /** @description Bad Request */
99734
+ 400: {
99735
+ headers: {
99736
+ [name: string]: unknown;
99737
+ };
99738
+ content: {
99739
+ "application/json": components["schemas"]["ErrorMessages"];
99740
+ };
99741
+ };
99742
+ /** @description Forbidden */
99743
+ 403: {
98611
99744
  headers: {
98612
99745
  [name: string]: unknown;
98613
99746
  };
@@ -98626,14 +99759,16 @@ export interface operations {
98626
99759
  };
98627
99760
  };
98628
99761
  };
98629
- event_views_list_event_categories: {
99762
+ erp_settings_expenses_settings_views_get_category_expense: {
98630
99763
  parameters: {
98631
99764
  query?: {
98632
- /** @description Search event category by name */
98633
- search?: string | null;
99765
+ /** @description used to get category remaining within specified date */
99766
+ date?: string | null;
98634
99767
  };
98635
99768
  header?: never;
98636
- path?: never;
99769
+ path: {
99770
+ id: string;
99771
+ };
98637
99772
  cookie?: never;
98638
99773
  };
98639
99774
  requestBody?: never;
@@ -98644,16 +99779,7 @@ export interface operations {
98644
99779
  [name: string]: unknown;
98645
99780
  };
98646
99781
  content: {
98647
- "application/json": components["schemas"]["RetrieveEventCategory"][];
98648
- };
98649
- };
98650
- /** @description Bad Request */
98651
- 400: {
98652
- headers: {
98653
- [name: string]: unknown;
98654
- };
98655
- content: {
98656
- "application/json": components["schemas"]["ErrorMessages"];
99782
+ "application/json": components["schemas"]["ExpenseCategoryDetailSchema"];
98657
99783
  };
98658
99784
  };
98659
99785
  /** @description Forbidden */
@@ -98674,15 +99800,6 @@ export interface operations {
98674
99800
  "application/json": components["schemas"]["MessageResponse"];
98675
99801
  };
98676
99802
  };
98677
- /** @description Conflict */
98678
- 409: {
98679
- headers: {
98680
- [name: string]: unknown;
98681
- };
98682
- content: {
98683
- "application/json": components["schemas"]["MessageResponse"];
98684
- };
98685
- };
98686
99803
  /** @description Internal Server Error */
98687
99804
  500: {
98688
99805
  headers: {
@@ -98694,26 +99811,28 @@ export interface operations {
98694
99811
  };
98695
99812
  };
98696
99813
  };
98697
- event_views_create_event_category: {
99814
+ erp_settings_expenses_settings_views_update_expense_category: {
98698
99815
  parameters: {
98699
99816
  query?: never;
98700
99817
  header?: never;
98701
- path?: never;
99818
+ path: {
99819
+ id: string;
99820
+ };
98702
99821
  cookie?: never;
98703
99822
  };
98704
99823
  requestBody: {
98705
99824
  content: {
98706
- "application/json": components["schemas"]["CreateUpdateEventCategory"];
99825
+ "application/json": components["schemas"]["CreateUpdateExpenseCategorySchema"];
98707
99826
  };
98708
99827
  };
98709
99828
  responses: {
98710
- /** @description Created */
98711
- 201: {
99829
+ /** @description OK */
99830
+ 200: {
98712
99831
  headers: {
98713
99832
  [name: string]: unknown;
98714
99833
  };
98715
99834
  content: {
98716
- "application/json": components["schemas"]["RetrieveEventCategory"];
99835
+ "application/json": components["schemas"]["ExpenseCategoryResponseSchema"];
98717
99836
  };
98718
99837
  };
98719
99838
  /** @description Bad Request */
@@ -98743,15 +99862,6 @@ export interface operations {
98743
99862
  "application/json": components["schemas"]["MessageResponse"];
98744
99863
  };
98745
99864
  };
98746
- /** @description Conflict */
98747
- 409: {
98748
- headers: {
98749
- [name: string]: unknown;
98750
- };
98751
- content: {
98752
- "application/json": components["schemas"]["MessageResponse"];
98753
- };
98754
- };
98755
99865
  /** @description Internal Server Error */
98756
99866
  500: {
98757
99867
  headers: {
@@ -98763,7 +99873,7 @@ export interface operations {
98763
99873
  };
98764
99874
  };
98765
99875
  };
98766
- event_views_get_event_category: {
99876
+ erp_settings_expenses_settings_views_delete_expense_category: {
98767
99877
  parameters: {
98768
99878
  query?: never;
98769
99879
  header?: never;
@@ -98774,13 +99884,20 @@ export interface operations {
98774
99884
  };
98775
99885
  requestBody?: never;
98776
99886
  responses: {
98777
- /** @description OK */
98778
- 200: {
99887
+ /** @description No Content */
99888
+ 204: {
99889
+ headers: {
99890
+ [name: string]: unknown;
99891
+ };
99892
+ content?: never;
99893
+ };
99894
+ /** @description Bad Request */
99895
+ 400: {
98779
99896
  headers: {
98780
99897
  [name: string]: unknown;
98781
99898
  };
98782
99899
  content: {
98783
- "application/json": components["schemas"]["RetrieveEventCategory"];
99900
+ "application/json": components["schemas"]["ErrorMessages"];
98784
99901
  };
98785
99902
  };
98786
99903
  /** @description Forbidden */
@@ -98812,18 +99929,16 @@ export interface operations {
98812
99929
  };
98813
99930
  };
98814
99931
  };
98815
- event_views_edit_event_category: {
99932
+ expenses_views_calculate_expense_voucher_totals: {
98816
99933
  parameters: {
98817
99934
  query?: never;
98818
99935
  header?: never;
98819
- path: {
98820
- id: string;
98821
- };
99936
+ path?: never;
98822
99937
  cookie?: never;
98823
99938
  };
98824
99939
  requestBody: {
98825
99940
  content: {
98826
- "application/json": components["schemas"]["CreateUpdateEventCategory"];
99941
+ "application/json": components["schemas"]["CalculateExpenseVoucherTotals"];
98827
99942
  };
98828
99943
  };
98829
99944
  responses: {
@@ -98833,7 +99948,7 @@ export interface operations {
98833
99948
  [name: string]: unknown;
98834
99949
  };
98835
99950
  content: {
98836
- "application/json": components["schemas"]["RetrieveEventCategory"];
99951
+ "application/json": components["schemas"]["CalculateExpenseVoucherResponseSchema"];
98837
99952
  };
98838
99953
  };
98839
99954
  /** @description Bad Request */
@@ -98854,8 +99969,8 @@ export interface operations {
98854
99969
  "application/json": components["schemas"]["MessageResponse"];
98855
99970
  };
98856
99971
  };
98857
- /** @description Not Found */
98858
- 404: {
99972
+ /** @description Internal Server Error */
99973
+ 500: {
98859
99974
  headers: {
98860
99975
  [name: string]: unknown;
98861
99976
  };
@@ -98863,8 +99978,46 @@ export interface operations {
98863
99978
  "application/json": components["schemas"]["MessageResponse"];
98864
99979
  };
98865
99980
  };
98866
- /** @description Conflict */
98867
- 409: {
99981
+ };
99982
+ };
99983
+ expenses_views_list_expense_vouchers: {
99984
+ parameters: {
99985
+ query?: {
99986
+ /** @description by default periodType is set to date filtration in user settings, Period type: thisMonth, thisYear, lastMonth, custom, ... */
99987
+ periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "today" | "all";
99988
+ /** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
99989
+ startDate?: string | null;
99990
+ /** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
99991
+ endDate?: string | null;
99992
+ /** @description search by expense voucher number or description, customer name or account number, supplier name or account number, category name, project name, department name */
99993
+ search?: string;
99994
+ };
99995
+ header?: never;
99996
+ path?: never;
99997
+ cookie?: never;
99998
+ };
99999
+ requestBody?: never;
100000
+ responses: {
100001
+ /** @description OK */
100002
+ 200: {
100003
+ headers: {
100004
+ [name: string]: unknown;
100005
+ };
100006
+ content: {
100007
+ "application/json": components["schemas"]["ExpenseVoucherListSchema"];
100008
+ };
100009
+ };
100010
+ /** @description Bad Request */
100011
+ 400: {
100012
+ headers: {
100013
+ [name: string]: unknown;
100014
+ };
100015
+ content: {
100016
+ "application/json": components["schemas"]["ErrorMessages"];
100017
+ };
100018
+ };
100019
+ /** @description Forbidden */
100020
+ 403: {
98868
100021
  headers: {
98869
100022
  [name: string]: unknown;
98870
100023
  };
@@ -98883,7 +100036,58 @@ export interface operations {
98883
100036
  };
98884
100037
  };
98885
100038
  };
98886
- event_views_delete_event_category: {
100039
+ expenses_views_create_expense_voucher: {
100040
+ parameters: {
100041
+ query?: never;
100042
+ header?: never;
100043
+ path?: never;
100044
+ cookie?: never;
100045
+ };
100046
+ requestBody: {
100047
+ content: {
100048
+ "application/json": components["schemas"]["CreateUpdateExpenseVoucher"];
100049
+ };
100050
+ };
100051
+ responses: {
100052
+ /** @description Created */
100053
+ 201: {
100054
+ headers: {
100055
+ [name: string]: unknown;
100056
+ };
100057
+ content: {
100058
+ "application/json": components["schemas"]["ExpenseVoucherResponseSchema"];
100059
+ };
100060
+ };
100061
+ /** @description Bad Request */
100062
+ 400: {
100063
+ headers: {
100064
+ [name: string]: unknown;
100065
+ };
100066
+ content: {
100067
+ "application/json": components["schemas"]["ErrorMessages"];
100068
+ };
100069
+ };
100070
+ /** @description Forbidden */
100071
+ 403: {
100072
+ headers: {
100073
+ [name: string]: unknown;
100074
+ };
100075
+ content: {
100076
+ "application/json": components["schemas"]["MessageResponse"];
100077
+ };
100078
+ };
100079
+ /** @description Internal Server Error */
100080
+ 500: {
100081
+ headers: {
100082
+ [name: string]: unknown;
100083
+ };
100084
+ content: {
100085
+ "application/json": components["schemas"]["MessageResponse"];
100086
+ };
100087
+ };
100088
+ };
100089
+ };
100090
+ expenses_views_get_expense_voucher: {
98887
100091
  parameters: {
98888
100092
  query?: never;
98889
100093
  header?: never;
@@ -98894,12 +100098,14 @@ export interface operations {
98894
100098
  };
98895
100099
  requestBody?: never;
98896
100100
  responses: {
98897
- /** @description No Content */
98898
- 204: {
100101
+ /** @description OK */
100102
+ 200: {
98899
100103
  headers: {
98900
100104
  [name: string]: unknown;
98901
100105
  };
98902
- content?: never;
100106
+ content: {
100107
+ "application/json": components["schemas"]["ExpenseVoucherDetailWithItemResponseSchema"];
100108
+ };
98903
100109
  };
98904
100110
  /** @description Bad Request */
98905
100111
  400: {
@@ -98928,15 +100134,6 @@ export interface operations {
98928
100134
  "application/json": components["schemas"]["MessageResponse"];
98929
100135
  };
98930
100136
  };
98931
- /** @description Conflict */
98932
- 409: {
98933
- headers: {
98934
- [name: string]: unknown;
98935
- };
98936
- content: {
98937
- "application/json": components["schemas"]["MessageResponse"];
98938
- };
98939
- };
98940
100137
  /** @description Internal Server Error */
98941
100138
  500: {
98942
100139
  headers: {
@@ -98948,17 +100145,20 @@ export interface operations {
98948
100145
  };
98949
100146
  };
98950
100147
  };
98951
- erp_settings_expenses_settings_views_list_expense_categories: {
100148
+ expenses_views_update_expense_voucher: {
98952
100149
  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
- };
100150
+ query?: never;
98957
100151
  header?: never;
98958
- path?: never;
100152
+ path: {
100153
+ id: string;
100154
+ };
98959
100155
  cookie?: never;
98960
100156
  };
98961
- requestBody?: never;
100157
+ requestBody: {
100158
+ content: {
100159
+ "application/json": components["schemas"]["CreateUpdateExpenseVoucher"];
100160
+ };
100161
+ };
98962
100162
  responses: {
98963
100163
  /** @description OK */
98964
100164
  200: {
@@ -98966,7 +100166,7 @@ export interface operations {
98966
100166
  [name: string]: unknown;
98967
100167
  };
98968
100168
  content: {
98969
- "application/json": components["schemas"]["ExpenseCategoryListSchema"];
100169
+ "application/json": components["schemas"]["ExpenseVoucherResponseSchema"];
98970
100170
  };
98971
100171
  };
98972
100172
  /** @description Bad Request */
@@ -98987,6 +100187,15 @@ export interface operations {
98987
100187
  "application/json": components["schemas"]["MessageResponse"];
98988
100188
  };
98989
100189
  };
100190
+ /** @description Not Found */
100191
+ 404: {
100192
+ headers: {
100193
+ [name: string]: unknown;
100194
+ };
100195
+ content: {
100196
+ "application/json": components["schemas"]["MessageResponse"];
100197
+ };
100198
+ };
98990
100199
  /** @description Internal Server Error */
98991
100200
  500: {
98992
100201
  headers: {
@@ -98998,27 +100207,27 @@ export interface operations {
98998
100207
  };
98999
100208
  };
99000
100209
  };
99001
- erp_settings_expenses_settings_views_new_expense_category: {
100210
+ expenses_views_delete_expense_voucher: {
99002
100211
  parameters: {
99003
100212
  query?: never;
99004
100213
  header?: never;
99005
- path?: never;
100214
+ path: {
100215
+ id: string;
100216
+ };
99006
100217
  cookie?: never;
99007
100218
  };
99008
100219
  requestBody: {
99009
100220
  content: {
99010
- "application/json": components["schemas"]["CreateUpdateExpenseCategorySchema"];
100221
+ "application/json": components["schemas"]["ExpenseVoucherActionSchema"];
99011
100222
  };
99012
100223
  };
99013
100224
  responses: {
99014
- /** @description Created */
99015
- 201: {
100225
+ /** @description No Content */
100226
+ 204: {
99016
100227
  headers: {
99017
100228
  [name: string]: unknown;
99018
100229
  };
99019
- content: {
99020
- "application/json": components["schemas"]["ExpenseCategoryResponseSchema"];
99021
- };
100230
+ content?: never;
99022
100231
  };
99023
100232
  /** @description Bad Request */
99024
100233
  400: {
@@ -99038,6 +100247,15 @@ export interface operations {
99038
100247
  "application/json": components["schemas"]["MessageResponse"];
99039
100248
  };
99040
100249
  };
100250
+ /** @description Not Found */
100251
+ 404: {
100252
+ headers: {
100253
+ [name: string]: unknown;
100254
+ };
100255
+ content: {
100256
+ "application/json": components["schemas"]["MessageResponse"];
100257
+ };
100258
+ };
99041
100259
  /** @description Internal Server Error */
99042
100260
  500: {
99043
100261
  headers: {
@@ -99049,19 +100267,20 @@ export interface operations {
99049
100267
  };
99050
100268
  };
99051
100269
  };
99052
- erp_settings_expenses_settings_views_get_category_expense: {
100270
+ expenses_views_reset_expense_voucher_to_draft: {
99053
100271
  parameters: {
99054
- query?: {
99055
- /** @description used to get category remaining within specified date */
99056
- date?: string | null;
99057
- };
100272
+ query?: never;
99058
100273
  header?: never;
99059
100274
  path: {
99060
100275
  id: string;
99061
100276
  };
99062
100277
  cookie?: never;
99063
100278
  };
99064
- requestBody?: never;
100279
+ requestBody: {
100280
+ content: {
100281
+ "application/json": components["schemas"]["ExpenseVoucherActionSchema"];
100282
+ };
100283
+ };
99065
100284
  responses: {
99066
100285
  /** @description OK */
99067
100286
  200: {
@@ -99069,7 +100288,16 @@ export interface operations {
99069
100288
  [name: string]: unknown;
99070
100289
  };
99071
100290
  content: {
99072
- "application/json": components["schemas"]["ExpenseCategoryDetailSchema"];
100291
+ "application/json": components["schemas"]["ExpenseVoucherResponseSchema"];
100292
+ };
100293
+ };
100294
+ /** @description Bad Request */
100295
+ 400: {
100296
+ headers: {
100297
+ [name: string]: unknown;
100298
+ };
100299
+ content: {
100300
+ "application/json": components["schemas"]["ErrorMessages"];
99073
100301
  };
99074
100302
  };
99075
100303
  /** @description Forbidden */
@@ -99101,7 +100329,7 @@ export interface operations {
99101
100329
  };
99102
100330
  };
99103
100331
  };
99104
- erp_settings_expenses_settings_views_update_expense_category: {
100332
+ expenses_views_cancel_expense_voucher: {
99105
100333
  parameters: {
99106
100334
  query?: never;
99107
100335
  header?: never;
@@ -99112,7 +100340,7 @@ export interface operations {
99112
100340
  };
99113
100341
  requestBody: {
99114
100342
  content: {
99115
- "application/json": components["schemas"]["CreateUpdateExpenseCategorySchema"];
100343
+ "application/json": components["schemas"]["ExpenseVoucherActionSchema"];
99116
100344
  };
99117
100345
  };
99118
100346
  responses: {
@@ -99122,7 +100350,7 @@ export interface operations {
99122
100350
  [name: string]: unknown;
99123
100351
  };
99124
100352
  content: {
99125
- "application/json": components["schemas"]["ExpenseCategoryResponseSchema"];
100353
+ "application/json": components["schemas"]["ExpenseVoucherResponseSchema"];
99126
100354
  };
99127
100355
  };
99128
100356
  /** @description Bad Request */
@@ -99163,7 +100391,7 @@ export interface operations {
99163
100391
  };
99164
100392
  };
99165
100393
  };
99166
- erp_settings_expenses_settings_views_delete_expense_category: {
100394
+ expenses_views_export_expense_voucher_pdf: {
99167
100395
  parameters: {
99168
100396
  query?: never;
99169
100397
  header?: never;
@@ -99174,12 +100402,14 @@ export interface operations {
99174
100402
  };
99175
100403
  requestBody?: never;
99176
100404
  responses: {
99177
- /** @description No Content */
99178
- 204: {
100405
+ /** @description OK */
100406
+ 200: {
99179
100407
  headers: {
99180
100408
  [name: string]: unknown;
99181
100409
  };
99182
- content?: never;
100410
+ content: {
100411
+ "application/json": string;
100412
+ };
99183
100413
  };
99184
100414
  /** @description Bad Request */
99185
100415
  400: {
@@ -99219,16 +100449,18 @@ export interface operations {
99219
100449
  };
99220
100450
  };
99221
100451
  };
99222
- expenses_views_calculate_expense_voucher_totals: {
100452
+ expenses_views_send_expense_voucher_by_email: {
99223
100453
  parameters: {
99224
100454
  query?: never;
99225
100455
  header?: never;
99226
- path?: never;
100456
+ path: {
100457
+ id: string;
100458
+ };
99227
100459
  cookie?: never;
99228
100460
  };
99229
100461
  requestBody: {
99230
100462
  content: {
99231
- "application/json": components["schemas"]["CalculateExpenseVoucherTotals"];
100463
+ "application/json": components["schemas"]["EmailContentSchema"];
99232
100464
  };
99233
100465
  };
99234
100466
  responses: {
@@ -99238,7 +100470,7 @@ export interface operations {
99238
100470
  [name: string]: unknown;
99239
100471
  };
99240
100472
  content: {
99241
- "application/json": components["schemas"]["CalculateExpenseVoucherResponseSchema"];
100473
+ "application/json": components["schemas"]["MessageResponse"];
99242
100474
  };
99243
100475
  };
99244
100476
  /** @description Bad Request */
@@ -99259,55 +100491,8 @@ export interface operations {
99259
100491
  "application/json": components["schemas"]["MessageResponse"];
99260
100492
  };
99261
100493
  };
99262
- /** @description Internal Server Error */
99263
- 500: {
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: {
100494
+ /** @description Not Found */
100495
+ 404: {
99311
100496
  headers: {
99312
100497
  [name: string]: unknown;
99313
100498
  };
@@ -99326,7 +100511,7 @@ export interface operations {
99326
100511
  };
99327
100512
  };
99328
100513
  };
99329
- expenses_views_create_expense_voucher: {
100514
+ expenses_payment_views_calculate_equivalents: {
99330
100515
  parameters: {
99331
100516
  query?: never;
99332
100517
  header?: never;
@@ -99335,17 +100520,17 @@ export interface operations {
99335
100520
  };
99336
100521
  requestBody: {
99337
100522
  content: {
99338
- "application/json": components["schemas"]["CreateUpdateExpenseVoucher"];
100523
+ "application/json": components["schemas"]["ExpensePaymentVoucherCalculateTotalsSchema"];
99339
100524
  };
99340
100525
  };
99341
100526
  responses: {
99342
- /** @description Created */
99343
- 201: {
100527
+ /** @description OK */
100528
+ 200: {
99344
100529
  headers: {
99345
100530
  [name: string]: unknown;
99346
100531
  };
99347
100532
  content: {
99348
- "application/json": components["schemas"]["ExpenseVoucherResponseSchema"];
100533
+ "application/json": components["schemas"]["ExpensePaymentVoucherCalculateTotalsResponseSchema"];
99349
100534
  };
99350
100535
  };
99351
100536
  /** @description Bad Request */
@@ -99357,8 +100542,8 @@ export interface operations {
99357
100542
  "application/json": components["schemas"]["ErrorMessages"];
99358
100543
  };
99359
100544
  };
99360
- /** @description Forbidden */
99361
- 403: {
100545
+ /** @description Not Found */
100546
+ 404: {
99362
100547
  headers: {
99363
100548
  [name: string]: unknown;
99364
100549
  };
@@ -99377,13 +100562,20 @@ export interface operations {
99377
100562
  };
99378
100563
  };
99379
100564
  };
99380
- expenses_views_get_expense_voucher: {
100565
+ expenses_payment_views_list_expense_payment_vouchers: {
99381
100566
  parameters: {
99382
- query?: never;
99383
- header?: never;
99384
- path: {
99385
- id: string;
100567
+ query?: {
100568
+ /** @description by default periodType is set to date filtration in user settings, Period type: thisMonth, thisYear, lastMonth, custom, ... */
100569
+ periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "today" | "all";
100570
+ /** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
100571
+ startDate?: string | null;
100572
+ /** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
100573
+ endDate?: string | null;
100574
+ /** @description search by expense payment voucher number or description, supplier name or account number, employee name or account number */
100575
+ search?: string;
99386
100576
  };
100577
+ header?: never;
100578
+ path?: never;
99387
100579
  cookie?: never;
99388
100580
  };
99389
100581
  requestBody?: never;
@@ -99394,7 +100586,7 @@ export interface operations {
99394
100586
  [name: string]: unknown;
99395
100587
  };
99396
100588
  content: {
99397
- "application/json": components["schemas"]["ExpenseVoucherDetailWithItemResponseSchema"];
100589
+ "application/json": components["schemas"]["ExpensePaymentVoucherListSchema"];
99398
100590
  };
99399
100591
  };
99400
100592
  /** @description Bad Request */
@@ -99415,15 +100607,6 @@ export interface operations {
99415
100607
  "application/json": components["schemas"]["MessageResponse"];
99416
100608
  };
99417
100609
  };
99418
- /** @description Not Found */
99419
- 404: {
99420
- headers: {
99421
- [name: string]: unknown;
99422
- };
99423
- content: {
99424
- "application/json": components["schemas"]["MessageResponse"];
99425
- };
99426
- };
99427
100610
  /** @description Internal Server Error */
99428
100611
  500: {
99429
100612
  headers: {
@@ -99435,18 +100618,18 @@ export interface operations {
99435
100618
  };
99436
100619
  };
99437
100620
  };
99438
- expenses_views_update_expense_voucher: {
100621
+ expenses_payment_views_update_expense_payment_voucher: {
99439
100622
  parameters: {
99440
- query?: never;
99441
- header?: never;
99442
- path: {
100623
+ query: {
99443
100624
  id: string;
99444
100625
  };
100626
+ header?: never;
100627
+ path?: never;
99445
100628
  cookie?: never;
99446
100629
  };
99447
100630
  requestBody: {
99448
100631
  content: {
99449
- "application/json": components["schemas"]["CreateUpdateExpenseVoucher"];
100632
+ "application/json": components["schemas"]["CreateUpdateExpensePaymentVoucherSchema"];
99450
100633
  };
99451
100634
  };
99452
100635
  responses: {
@@ -99456,7 +100639,7 @@ export interface operations {
99456
100639
  [name: string]: unknown;
99457
100640
  };
99458
100641
  content: {
99459
- "application/json": components["schemas"]["ExpenseVoucherResponseSchema"];
100642
+ "application/json": components["schemas"]["ExpensePaymentVoucherResponseSchema"];
99460
100643
  };
99461
100644
  };
99462
100645
  /** @description Bad Request */
@@ -99497,27 +100680,27 @@ export interface operations {
99497
100680
  };
99498
100681
  };
99499
100682
  };
99500
- expenses_views_delete_expense_voucher: {
100683
+ expenses_payment_views_new_expense_payment_voucher: {
99501
100684
  parameters: {
99502
100685
  query?: never;
99503
100686
  header?: never;
99504
- path: {
99505
- id: string;
99506
- };
100687
+ path?: never;
99507
100688
  cookie?: never;
99508
100689
  };
99509
100690
  requestBody: {
99510
100691
  content: {
99511
- "application/json": components["schemas"]["ExpenseVoucherActionSchema"];
100692
+ "application/json": components["schemas"]["CreateUpdateExpensePaymentVoucherSchema"];
99512
100693
  };
99513
100694
  };
99514
100695
  responses: {
99515
- /** @description No Content */
99516
- 204: {
100696
+ /** @description Created */
100697
+ 201: {
99517
100698
  headers: {
99518
100699
  [name: string]: unknown;
99519
100700
  };
99520
- content?: never;
100701
+ content: {
100702
+ "application/json": components["schemas"]["ExpensePaymentVoucherResponseSchema"];
100703
+ };
99521
100704
  };
99522
100705
  /** @description Bad Request */
99523
100706
  400: {
@@ -99537,15 +100720,6 @@ export interface operations {
99537
100720
  "application/json": components["schemas"]["MessageResponse"];
99538
100721
  };
99539
100722
  };
99540
- /** @description Not Found */
99541
- 404: {
99542
- headers: {
99543
- [name: string]: unknown;
99544
- };
99545
- content: {
99546
- "application/json": components["schemas"]["MessageResponse"];
99547
- };
99548
- };
99549
100723
  /** @description Internal Server Error */
99550
100724
  500: {
99551
100725
  headers: {
@@ -99557,7 +100731,7 @@ export interface operations {
99557
100731
  };
99558
100732
  };
99559
100733
  };
99560
- expenses_views_reset_expense_voucher_to_draft: {
100734
+ expenses_payment_views_get_expense_payment_voucher: {
99561
100735
  parameters: {
99562
100736
  query?: never;
99563
100737
  header?: never;
@@ -99566,11 +100740,7 @@ export interface operations {
99566
100740
  };
99567
100741
  cookie?: never;
99568
100742
  };
99569
- requestBody: {
99570
- content: {
99571
- "application/json": components["schemas"]["ExpenseVoucherActionSchema"];
99572
- };
99573
- };
100743
+ requestBody?: never;
99574
100744
  responses: {
99575
100745
  /** @description OK */
99576
100746
  200: {
@@ -99578,7 +100748,7 @@ export interface operations {
99578
100748
  [name: string]: unknown;
99579
100749
  };
99580
100750
  content: {
99581
- "application/json": components["schemas"]["ExpenseVoucherResponseSchema"];
100751
+ "application/json": components["schemas"]["ExpensePaymentVoucherWithItemSchema"];
99582
100752
  };
99583
100753
  };
99584
100754
  /** @description Bad Request */
@@ -99619,7 +100789,7 @@ export interface operations {
99619
100789
  };
99620
100790
  };
99621
100791
  };
99622
- expenses_views_cancel_expense_voucher: {
100792
+ expenses_payment_views_delete_expense_payment_voucher: {
99623
100793
  parameters: {
99624
100794
  query?: never;
99625
100795
  header?: never;
@@ -99630,18 +100800,16 @@ export interface operations {
99630
100800
  };
99631
100801
  requestBody: {
99632
100802
  content: {
99633
- "application/json": components["schemas"]["ExpenseVoucherActionSchema"];
100803
+ "application/json": components["schemas"]["ExpensePaymentVoucherActionSchema"];
99634
100804
  };
99635
100805
  };
99636
100806
  responses: {
99637
- /** @description OK */
99638
- 200: {
100807
+ /** @description No Content */
100808
+ 204: {
99639
100809
  headers: {
99640
100810
  [name: string]: unknown;
99641
100811
  };
99642
- content: {
99643
- "application/json": components["schemas"]["ExpenseVoucherResponseSchema"];
99644
- };
100812
+ content?: never;
99645
100813
  };
99646
100814
  /** @description Bad Request */
99647
100815
  400: {
@@ -99681,7 +100849,7 @@ export interface operations {
99681
100849
  };
99682
100850
  };
99683
100851
  };
99684
- expenses_views_export_expense_voucher_pdf: {
100852
+ expenses_payment_views_reset_expense_payment_voucher_to_draft: {
99685
100853
  parameters: {
99686
100854
  query?: never;
99687
100855
  header?: never;
@@ -99690,7 +100858,11 @@ export interface operations {
99690
100858
  };
99691
100859
  cookie?: never;
99692
100860
  };
99693
- requestBody?: never;
100861
+ requestBody: {
100862
+ content: {
100863
+ "application/json": components["schemas"]["ExpensePaymentVoucherActionSchema"];
100864
+ };
100865
+ };
99694
100866
  responses: {
99695
100867
  /** @description OK */
99696
100868
  200: {
@@ -99698,7 +100870,7 @@ export interface operations {
99698
100870
  [name: string]: unknown;
99699
100871
  };
99700
100872
  content: {
99701
- "application/json": string;
100873
+ "application/json": components["schemas"]["ExpensePaymentVoucherResponseSchema"];
99702
100874
  };
99703
100875
  };
99704
100876
  /** @description Bad Request */
@@ -99739,7 +100911,7 @@ export interface operations {
99739
100911
  };
99740
100912
  };
99741
100913
  };
99742
- expenses_views_send_expense_voucher_by_email: {
100914
+ expenses_payment_views_cancel_expense_payment_voucher: {
99743
100915
  parameters: {
99744
100916
  query?: never;
99745
100917
  header?: never;
@@ -99750,7 +100922,7 @@ export interface operations {
99750
100922
  };
99751
100923
  requestBody: {
99752
100924
  content: {
99753
- "application/json": components["schemas"]["EmailContentSchema"];
100925
+ "application/json": components["schemas"]["ExpensePaymentVoucherActionSchema"];
99754
100926
  };
99755
100927
  };
99756
100928
  responses: {
@@ -99760,7 +100932,7 @@ export interface operations {
99760
100932
  [name: string]: unknown;
99761
100933
  };
99762
100934
  content: {
99763
- "application/json": components["schemas"]["MessageResponse"];
100935
+ "application/json": components["schemas"]["ExpensePaymentVoucherResponseSchema"];
99764
100936
  };
99765
100937
  };
99766
100938
  /** @description Bad Request */