@erp-galoper/types 1.0.5 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/openapi.ts +1423 -279
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -4751,6 +4751,8 @@ export interface paths {
|
|
|
4751
4751
|
* - 403: {"message": "You do not have permission to perform this action", "code": "permissionDenied"}
|
|
4752
4752
|
* - 404: {"message": "Customer does not exist", "code": "customerDoesNotExist"}
|
|
4753
4753
|
* - 500: {"message": "An internal server error has occurred", "code": "serverError"}
|
|
4754
|
+
* - 400 :
|
|
4755
|
+
* - customerShouldBeIndividual
|
|
4754
4756
|
*/
|
|
4755
4757
|
get: operations["customer_views_view_individual_customer"];
|
|
4756
4758
|
put?: never;
|
|
@@ -4794,6 +4796,8 @@ export interface paths {
|
|
|
4794
4796
|
* - 403: {"message": "You do not have permission to perform this action", "code": "permissionDenied"}
|
|
4795
4797
|
* - 404: {"message": "Customer does not exist", "code": "customerDoesNotExist"}
|
|
4796
4798
|
* - 500: {"message": "An internal server error has occurred", "code": "serverError"}
|
|
4799
|
+
* - 400 :
|
|
4800
|
+
* - customerShouldBeCompany
|
|
4797
4801
|
*/
|
|
4798
4802
|
get: operations["customer_views_view_company_customer"];
|
|
4799
4803
|
put?: never;
|
|
@@ -5533,9 +5537,6 @@ export interface paths {
|
|
|
5533
5537
|
* @description Endpoint for List currencies
|
|
5534
5538
|
* - 200:
|
|
5535
5539
|
* - success
|
|
5536
|
-
* - 404:
|
|
5537
|
-
* - companyDoesNotExist
|
|
5538
|
-
* - companySettingDoesNotExist
|
|
5539
5540
|
* - 403:
|
|
5540
5541
|
* - permissionDenied
|
|
5541
5542
|
* - 500:
|
|
@@ -5563,8 +5564,6 @@ export interface paths {
|
|
|
5563
5564
|
* - 200:
|
|
5564
5565
|
* - success
|
|
5565
5566
|
* - 404:
|
|
5566
|
-
* - companyDoesNotExist
|
|
5567
|
-
* - companySettingDoesNotExist
|
|
5568
5567
|
* - usdDoesNotExist
|
|
5569
5568
|
* - 403:
|
|
5570
5569
|
* - permissionDenied
|
|
@@ -5613,6 +5612,7 @@ export interface paths {
|
|
|
5613
5612
|
* - rateMinValueNotReached
|
|
5614
5613
|
* - defaultGeneralAccountsObjectDoesNotExist
|
|
5615
5614
|
* - defaultGeneralPaymentsAccountsDoesNotExist
|
|
5615
|
+
* - secondaryCurrencyAlreadyExist
|
|
5616
5616
|
* - 403:
|
|
5617
5617
|
* - permissionDenied
|
|
5618
5618
|
* - multiCurrencyDisabled
|
|
@@ -5673,6 +5673,8 @@ export interface paths {
|
|
|
5673
5673
|
* - nameConflict
|
|
5674
5674
|
* - codeConflict
|
|
5675
5675
|
* - cantChangePrimaryCurrency
|
|
5676
|
+
* - secondaryCurrencyAlreadyExist
|
|
5677
|
+
* - secondaryCurrencyShouldNotBeDefault
|
|
5676
5678
|
* - 403:
|
|
5677
5679
|
* - permissionDenied
|
|
5678
5680
|
* - multiCurrencyDisabled
|
|
@@ -7298,6 +7300,24 @@ export interface paths {
|
|
|
7298
7300
|
* - posSalesOfProductsStock
|
|
7299
7301
|
* - posSalesOfServicesStock
|
|
7300
7302
|
* - posSalesOfWorksStock
|
|
7303
|
+
* - deferredSalesOfServiceResident
|
|
7304
|
+
* - deferredSalesOfServiceDiscountResident
|
|
7305
|
+
* - deferredSalesOfWorksResident
|
|
7306
|
+
* - deferredSalesOfWorksDiscountResident
|
|
7307
|
+
* - deferredSalesOfGoodsResident
|
|
7308
|
+
* - deferredSalesOfGoodsDiscountResident
|
|
7309
|
+
* - deferredSalesOfServiceNonResident
|
|
7310
|
+
* - deferredSalesOfServiceDiscountNonResident
|
|
7311
|
+
* - deferredSalesOfWorksNonResident
|
|
7312
|
+
* - deferredSalesOfWorksDiscountNonResident
|
|
7313
|
+
* - deferredSalesOfGoodsNonResident
|
|
7314
|
+
* - deferredSalesOfGoodsDiscountNonResident
|
|
7315
|
+
* - salesCogsOfServiceResident
|
|
7316
|
+
* - salesCogsOfWorksResident
|
|
7317
|
+
* - salesCogsOfGoodsResident
|
|
7318
|
+
* - salesCogsOfServiceNonResident
|
|
7319
|
+
* - salesCogsOfWorksNonResident
|
|
7320
|
+
* - salesCogsOfGoodsNonResident
|
|
7301
7321
|
* - 403:
|
|
7302
7322
|
* - permissionDenied
|
|
7303
7323
|
* - 404:
|
|
@@ -7454,6 +7474,24 @@ export interface paths {
|
|
|
7454
7474
|
* - posSalesOfProductsStock
|
|
7455
7475
|
* - posSalesOfServicesStock
|
|
7456
7476
|
* - posSalesOfWorksStock
|
|
7477
|
+
* - deferredSalesOfServiceResident
|
|
7478
|
+
* - deferredSalesOfServiceDiscountResident
|
|
7479
|
+
* - deferredSalesOfWorksResident
|
|
7480
|
+
* - deferredSalesOfWorksDiscountResident
|
|
7481
|
+
* - deferredSalesOfGoodsResident
|
|
7482
|
+
* - deferredSalesOfGoodsDiscountResident
|
|
7483
|
+
* - deferredSalesOfServiceNonResident
|
|
7484
|
+
* - deferredSalesOfServiceDiscountNonResident
|
|
7485
|
+
* - deferredSalesOfWorksNonResident
|
|
7486
|
+
* - deferredSalesOfWorksDiscountNonResident
|
|
7487
|
+
* - deferredSalesOfGoodsNonResident
|
|
7488
|
+
* - deferredSalesOfGoodsDiscountNonResident
|
|
7489
|
+
* - salesCogsOfServiceResident
|
|
7490
|
+
* - salesCogsOfWorksResident
|
|
7491
|
+
* - salesCogsOfGoodsResident
|
|
7492
|
+
* - salesCogsOfServiceNonResident
|
|
7493
|
+
* - salesCogsOfWorksNonResident
|
|
7494
|
+
* - salesCogsOfGoodsNonResident
|
|
7457
7495
|
* - 403:
|
|
7458
7496
|
* - permissionDenied
|
|
7459
7497
|
* - 404:
|
|
@@ -7553,6 +7591,8 @@ export interface paths {
|
|
|
7553
7591
|
* - expensesAccountDoesNotExist
|
|
7554
7592
|
* - posAccountDoesNotExist
|
|
7555
7593
|
* - taxWithVatAlreadyExist
|
|
7594
|
+
* - deferredSalesIsRequired
|
|
7595
|
+
* - accountShouldBeSubsidiary
|
|
7556
7596
|
* - 403:
|
|
7557
7597
|
* - permissionDenied
|
|
7558
7598
|
* -500:
|
|
@@ -7617,6 +7657,8 @@ export interface paths {
|
|
|
7617
7657
|
* - purchaseAccountDoesNotExist
|
|
7618
7658
|
* - expensesAccountDoesNotExist
|
|
7619
7659
|
* - posAccountDoesNotExist
|
|
7660
|
+
* - deferredSalesIsRequired
|
|
7661
|
+
* - accountShouldBeSubsidiary
|
|
7620
7662
|
* - 403:
|
|
7621
7663
|
* - permissionDenied
|
|
7622
7664
|
* -404:
|
|
@@ -14195,12 +14237,12 @@ export interface paths {
|
|
|
14195
14237
|
* - bankAccountDoesNotExist
|
|
14196
14238
|
* - advancePaymentShouldBePosted
|
|
14197
14239
|
* - advancePaymentDoesNotBelongToSupplier
|
|
14198
|
-
* - returnInvoiceShouldBePosted
|
|
14199
14240
|
* - returnInvoiceDoesNotBelongToSupplier
|
|
14200
14241
|
* - returnInvoiceTaxShouldBePosted
|
|
14201
14242
|
* - returnInvoiceTaxDoesNotBelongToSupplier
|
|
14202
14243
|
* - taxDoesNotBelongToReturnInvoiceItem
|
|
14203
14244
|
* - refundReturnInvoiceTaxShouldBeLessThanReturnInvoiceTax
|
|
14245
|
+
* - returnInvoiceShouldBeSubmittedOrPostedOrSent
|
|
14204
14246
|
* - 500:
|
|
14205
14247
|
* - internalServerError
|
|
14206
14248
|
*
|
|
@@ -14253,22 +14295,20 @@ export interface paths {
|
|
|
14253
14295
|
* - noModuleAccess
|
|
14254
14296
|
* - 400:
|
|
14255
14297
|
* - branchDoesNotExist
|
|
14256
|
-
* - atLeastOnePaymentRequired
|
|
14257
14298
|
* - atLeastOneAdvancePaymentOrReturnInvoiceOrReturnInvoiceTaxRequired
|
|
14258
14299
|
* - refundVoucherItemDoesNotExist
|
|
14259
14300
|
* - refundAdvancePaymentDoesNotExist
|
|
14260
|
-
* - atLeastOnePaymentRequired
|
|
14261
14301
|
* - atLeastOneAdvancePaymentOrReturnInvoiceRequired
|
|
14262
14302
|
* - refundAdvancePaymentShouldBeLessThanAdvancePayment
|
|
14263
14303
|
* - refundReturnInvoiceShouldBeLessThanReturnInvoice
|
|
14264
14304
|
* - advancePaymentShouldBePosted
|
|
14265
14305
|
* - advancePaymentDoesNotBelongToSupplier
|
|
14266
|
-
* - returnInvoiceShouldBePosted
|
|
14267
14306
|
* - returnInvoiceDoesNotBelongToSupplier
|
|
14268
14307
|
* - returnInvoiceTaxShouldBePosted
|
|
14269
14308
|
* - returnInvoiceTaxDoesNotBelongToSupplier
|
|
14270
14309
|
* - taxDoesNotBelongToReturnInvoiceItem
|
|
14271
14310
|
* - refundReturnInvoiceTaxShouldBeLessThanReturnInvoiceTax
|
|
14311
|
+
* - returnInvoiceShouldBeSubmittedOrPostedOrSent
|
|
14272
14312
|
* - 404:
|
|
14273
14313
|
* - refundVoucherDoesNotExist
|
|
14274
14314
|
* - 500:
|
|
@@ -14365,7 +14405,7 @@ export interface paths {
|
|
|
14365
14405
|
* - noBranchAccess
|
|
14366
14406
|
* - noModuleAccess
|
|
14367
14407
|
* - cantMakeActionOnLockedDocument
|
|
14368
|
-
* -
|
|
14408
|
+
* - returnInvoiceShouldBeSubmittedOrPostedOrSent
|
|
14369
14409
|
* - 500:
|
|
14370
14410
|
* - internalServerError
|
|
14371
14411
|
*
|
|
@@ -17592,6 +17632,210 @@ export interface paths {
|
|
|
17592
17632
|
patch?: never;
|
|
17593
17633
|
trace?: never;
|
|
17594
17634
|
};
|
|
17635
|
+
"/api/v1/inventory/returnable-packages/returns/": {
|
|
17636
|
+
parameters: {
|
|
17637
|
+
query?: never;
|
|
17638
|
+
header?: never;
|
|
17639
|
+
path?: never;
|
|
17640
|
+
cookie?: never;
|
|
17641
|
+
};
|
|
17642
|
+
/**
|
|
17643
|
+
* List Return Returnable Packages
|
|
17644
|
+
* @description Endpoint for List return returnable packages
|
|
17645
|
+
* - 200:
|
|
17646
|
+
* - success
|
|
17647
|
+
* - 400:
|
|
17648
|
+
* - invalidFilterFormat
|
|
17649
|
+
* - paginationError
|
|
17650
|
+
* - startDateAndEndDateAreRequiredForCustomPeriodType
|
|
17651
|
+
* - startDateShouldBeGreaterThanEndDate
|
|
17652
|
+
* - 403:
|
|
17653
|
+
* - permissionDenied
|
|
17654
|
+
* - noModuleAccess
|
|
17655
|
+
* -500:
|
|
17656
|
+
* - internalServerError
|
|
17657
|
+
* - Permission key:
|
|
17658
|
+
* - salesreturnpackage : [ view ]
|
|
17659
|
+
*/
|
|
17660
|
+
get: operations["inventory_package_returnable_package_views_list_return_returnable_packages"];
|
|
17661
|
+
put?: never;
|
|
17662
|
+
/**
|
|
17663
|
+
* New Return Returnable Package
|
|
17664
|
+
* @description Endpoint for new return returnable package
|
|
17665
|
+
* Possible Responses:
|
|
17666
|
+
* - 201:
|
|
17667
|
+
* - returnReturnablePackageCreated
|
|
17668
|
+
* - 400:
|
|
17669
|
+
* - branchDoesNotExist
|
|
17670
|
+
* - itemPackageIsNotReturnable
|
|
17671
|
+
* - unitPackageShouldBeLessThanAllowedReturnedPackage
|
|
17672
|
+
* - itemPackageNotFoundInDeliveryNote
|
|
17673
|
+
* - deliveryNOteDoesNotExist
|
|
17674
|
+
* - itemPackageDoesNotExist
|
|
17675
|
+
* - goodsDeliveryNoteDoesNotBelongToSelectedCustomer
|
|
17676
|
+
* - goodsDeliveryNoteApprovalStatusShouldBeNotRequiredOrApproved
|
|
17677
|
+
* - goodsDeliveryNoteShouldBeSubmitted
|
|
17678
|
+
* - 403:
|
|
17679
|
+
* - permissionDenied
|
|
17680
|
+
* - noBranchAccess
|
|
17681
|
+
* - noModuleAccess
|
|
17682
|
+
* - 500:
|
|
17683
|
+
* - internalServerError
|
|
17684
|
+
*
|
|
17685
|
+
* - Permission key :
|
|
17686
|
+
* - salesreturnpackage : [ add ]
|
|
17687
|
+
*/
|
|
17688
|
+
post: operations["inventory_package_returnable_package_views_new_return_returnable_package"];
|
|
17689
|
+
delete?: never;
|
|
17690
|
+
options?: never;
|
|
17691
|
+
head?: never;
|
|
17692
|
+
patch?: never;
|
|
17693
|
+
trace?: never;
|
|
17694
|
+
};
|
|
17695
|
+
"/api/v1/inventory/returnable-packages/returns/{id}/": {
|
|
17696
|
+
parameters: {
|
|
17697
|
+
query?: never;
|
|
17698
|
+
header?: never;
|
|
17699
|
+
path?: never;
|
|
17700
|
+
cookie?: never;
|
|
17701
|
+
};
|
|
17702
|
+
/**
|
|
17703
|
+
* Get Return Returnable Package
|
|
17704
|
+
* @description Endpoint for retrieve return returnable package
|
|
17705
|
+
* Possible Responses:
|
|
17706
|
+
* - 200:
|
|
17707
|
+
* - success
|
|
17708
|
+
* - 404:
|
|
17709
|
+
* - returnReturnablePackageDoesNotExist
|
|
17710
|
+
* - 400:
|
|
17711
|
+
* - branchDoesNotExist
|
|
17712
|
+
* - 403:
|
|
17713
|
+
* - permissionDenied
|
|
17714
|
+
* - noBranchAccess
|
|
17715
|
+
* - noModuleAccess
|
|
17716
|
+
* - 500:
|
|
17717
|
+
* - internalServerError
|
|
17718
|
+
* - Permission key:
|
|
17719
|
+
* - salesreturnpackage : [ view ]
|
|
17720
|
+
*/
|
|
17721
|
+
get: operations["inventory_package_returnable_package_views_get_return_returnable_package"];
|
|
17722
|
+
/**
|
|
17723
|
+
* Edit Return Returnable Package
|
|
17724
|
+
* @description Endpoint for edit return returnable package
|
|
17725
|
+
* Possible Responses:
|
|
17726
|
+
* - 200:
|
|
17727
|
+
* - returnReturnablePackageUpdated
|
|
17728
|
+
* - 400:
|
|
17729
|
+
* - branchDoesNotExist
|
|
17730
|
+
* - itemPackageIsNotReturnable
|
|
17731
|
+
* - unitPackageShouldBeLessThanAllowedReturnedPackage
|
|
17732
|
+
* - itemPackageNotFoundInDeliveryNote
|
|
17733
|
+
* - deliveryNOteDoesNotExist
|
|
17734
|
+
* - itemPackageDoesNotExist
|
|
17735
|
+
* - goodsDeliveryNoteDoesNotBelongToSelectedCustomer
|
|
17736
|
+
* - goodsDeliveryNoteApprovalStatusShouldBeNotRequiredOrApproved
|
|
17737
|
+
* - goodsDeliveryNoteShouldBeSubmitted
|
|
17738
|
+
* - 403:
|
|
17739
|
+
* - permissionDenied
|
|
17740
|
+
* - noBranchAccess
|
|
17741
|
+
* - noModuleAccess
|
|
17742
|
+
* - 500:
|
|
17743
|
+
* - internalServerError
|
|
17744
|
+
*
|
|
17745
|
+
* - Permission key :
|
|
17746
|
+
* - salesreturnpackage : [ change ]
|
|
17747
|
+
*/
|
|
17748
|
+
put: operations["inventory_package_returnable_package_views_edit_return_returnable_package"];
|
|
17749
|
+
post?: never;
|
|
17750
|
+
/**
|
|
17751
|
+
* Delete Return Returnable Package
|
|
17752
|
+
* @description Endpoint for delete return returnable package
|
|
17753
|
+
* - 404:
|
|
17754
|
+
* - returnReturnablePackageDoesNotExist
|
|
17755
|
+
* - 403:
|
|
17756
|
+
* - permissionDenied
|
|
17757
|
+
* - noBranchAccess
|
|
17758
|
+
* - noModuleAccess
|
|
17759
|
+
* - 400:
|
|
17760
|
+
* - cantBeDeleted
|
|
17761
|
+
* - 500:
|
|
17762
|
+
* - internalServerError
|
|
17763
|
+
* - Permission Key:
|
|
17764
|
+
* - salesreturnpackage : [ delete ]
|
|
17765
|
+
*/
|
|
17766
|
+
delete: operations["inventory_package_returnable_package_views_delete_return_returnable_package"];
|
|
17767
|
+
options?: never;
|
|
17768
|
+
head?: never;
|
|
17769
|
+
patch?: never;
|
|
17770
|
+
trace?: never;
|
|
17771
|
+
};
|
|
17772
|
+
"/api/v1/inventory/returnable-packages/returns/{id}/cancel/": {
|
|
17773
|
+
parameters: {
|
|
17774
|
+
query?: never;
|
|
17775
|
+
header?: never;
|
|
17776
|
+
path?: never;
|
|
17777
|
+
cookie?: never;
|
|
17778
|
+
};
|
|
17779
|
+
get?: never;
|
|
17780
|
+
put?: never;
|
|
17781
|
+
/**
|
|
17782
|
+
* Cancel Return Returnable Package
|
|
17783
|
+
* @description Endpoint that cancel document
|
|
17784
|
+
* Possible Responses:
|
|
17785
|
+
* - 404 :
|
|
17786
|
+
* - returnReturnablePackageDoesNotExist
|
|
17787
|
+
* - 403:
|
|
17788
|
+
* - permissionDenied
|
|
17789
|
+
* - noBranchAccess
|
|
17790
|
+
* - noModuleAccess
|
|
17791
|
+
* - returnReturnablePackageAlreadyCanceled
|
|
17792
|
+
* - 500:
|
|
17793
|
+
* - internalServerError
|
|
17794
|
+
*
|
|
17795
|
+
* - permission key:
|
|
17796
|
+
* - salesreturnpackage : [ cancel ]
|
|
17797
|
+
*/
|
|
17798
|
+
post: operations["inventory_package_returnable_package_views_cancel_return_returnable_package"];
|
|
17799
|
+
delete?: never;
|
|
17800
|
+
options?: never;
|
|
17801
|
+
head?: never;
|
|
17802
|
+
patch?: never;
|
|
17803
|
+
trace?: never;
|
|
17804
|
+
};
|
|
17805
|
+
"/api/v1/inventory/returnable-packages/returns/{id}/reset-to-draft/": {
|
|
17806
|
+
parameters: {
|
|
17807
|
+
query?: never;
|
|
17808
|
+
header?: never;
|
|
17809
|
+
path?: never;
|
|
17810
|
+
cookie?: never;
|
|
17811
|
+
};
|
|
17812
|
+
get?: never;
|
|
17813
|
+
put?: never;
|
|
17814
|
+
/**
|
|
17815
|
+
* Reset Return Returnable Package To Draft
|
|
17816
|
+
* @description Endpoint for reset document to draft
|
|
17817
|
+
* Possible Responses:
|
|
17818
|
+
* - 404:
|
|
17819
|
+
* - returnReturnablePackageDoesNotExist
|
|
17820
|
+
* - 403:
|
|
17821
|
+
* - permissionDenied
|
|
17822
|
+
* - noBranchAccess
|
|
17823
|
+
* - noModuleAccess
|
|
17824
|
+
* - returnReturnablePackageShouldBeSubmitted
|
|
17825
|
+
*
|
|
17826
|
+
* - 500:
|
|
17827
|
+
* - internalServerError
|
|
17828
|
+
*
|
|
17829
|
+
* - Permission Key :
|
|
17830
|
+
* - salesreturnpackage : [resettodraft]
|
|
17831
|
+
*/
|
|
17832
|
+
post: operations["inventory_package_returnable_package_views_reset_return_returnable_package_to_draft"];
|
|
17833
|
+
delete?: never;
|
|
17834
|
+
options?: never;
|
|
17835
|
+
head?: never;
|
|
17836
|
+
patch?: never;
|
|
17837
|
+
trace?: never;
|
|
17838
|
+
};
|
|
17595
17839
|
}
|
|
17596
17840
|
export type webhooks = Record<string, never>;
|
|
17597
17841
|
export interface components {
|
|
@@ -19852,6 +20096,7 @@ export interface components {
|
|
|
19852
20096
|
family?: components["schemas"]["CommonFamilySchema"] | null;
|
|
19853
20097
|
brand?: components["schemas"]["CommonBrandSchema"] | null;
|
|
19854
20098
|
category?: components["schemas"]["CommonCategorySchema"] | null;
|
|
20099
|
+
trackInventoryBy: components["schemas"]["TrackInventoryBy"] | null;
|
|
19855
20100
|
};
|
|
19856
20101
|
/** ItemPackageSchema */
|
|
19857
20102
|
ItemPackageSchema: {
|
|
@@ -21120,6 +21365,8 @@ export interface components {
|
|
|
21120
21365
|
code: string;
|
|
21121
21366
|
/** Default */
|
|
21122
21367
|
default: boolean;
|
|
21368
|
+
/** Issecondary */
|
|
21369
|
+
isSecondary: boolean;
|
|
21123
21370
|
};
|
|
21124
21371
|
/** CompanySchema */
|
|
21125
21372
|
CompanySchema: {
|
|
@@ -21272,11 +21519,6 @@ export interface components {
|
|
|
21272
21519
|
city: string;
|
|
21273
21520
|
/** Address */
|
|
21274
21521
|
address: string;
|
|
21275
|
-
/**
|
|
21276
|
-
* Users
|
|
21277
|
-
* @default []
|
|
21278
|
-
*/
|
|
21279
|
-
users: number[];
|
|
21280
21522
|
};
|
|
21281
21523
|
/** UpdateMainBranch */
|
|
21282
21524
|
UpdateMainBranch: {
|
|
@@ -21304,7 +21546,7 @@ export interface components {
|
|
|
21304
21546
|
* GeneralAccountsOptions
|
|
21305
21547
|
* @enum {string}
|
|
21306
21548
|
*/
|
|
21307
|
-
GeneralAccountsOptions: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque";
|
|
21549
|
+
GeneralAccountsOptions: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales";
|
|
21308
21550
|
/** ExportSchema */
|
|
21309
21551
|
ExportSchema: {
|
|
21310
21552
|
/** Pdf */
|
|
@@ -22008,7 +22250,7 @@ export interface components {
|
|
|
22008
22250
|
* FileType
|
|
22009
22251
|
* @enum {string}
|
|
22010
22252
|
*/
|
|
22011
|
-
FileType: "item" | "company" | "user" | "supplier" | "customer" | "itemcategory" | "journalvoucher" | "supplierpricelist" | "requisition" | "purchasequotation" | "purchaseorder" | "purchasereturnorder" | "advancepayment" | "requestforquotation" | "purchaseinvoice" | "purchasereturninvoice" | "salespricelist" | "closingcommission" | "commission" | "commissionpayout" | "offerandpromotion" | "refundvoucher" | "paymentvoucher" | "purchasecreditnote" | "downpayment" | "receiptvoucher" | "salesperson" | "salesquotation" | "salesorder" | "salesreturnorder" | "salesinvoice" | "salesreturninvoice" | "salesrefundvoucher" | "
|
|
22253
|
+
FileType: "item" | "company" | "user" | "supplier" | "customer" | "itemcategory" | "journalvoucher" | "supplierpricelist" | "requisition" | "purchasequotation" | "purchaseorder" | "purchasereturnorder" | "advancepayment" | "requestforquotation" | "purchaseinvoice" | "purchasereturninvoice" | "salespricelist" | "closingcommission" | "commission" | "commissionpayout" | "offerandpromotion" | "refundvoucher" | "paymentvoucher" | "purchasecreditnote" | "downpayment" | "receiptvoucher" | "salesperson" | "salesquotation" | "salesorder" | "salesreturnorder" | "salesinvoice" | "salesreturninvoice" | "salesrefundvoucher" | "returnsalesorder" | "returnsalesinvoice" | "goodsreceiptnote" | "goodsdeliverynote" | "salescreditnote" | "returnablepackagereconciliation" | "salesreturnpackage";
|
|
22012
22254
|
/** currencyCodeOut */
|
|
22013
22255
|
currencyCodeOut: {
|
|
22014
22256
|
/** Currencycode */
|
|
@@ -22314,6 +22556,16 @@ export interface components {
|
|
|
22314
22556
|
customer: boolean;
|
|
22315
22557
|
/** Bank */
|
|
22316
22558
|
bank: boolean;
|
|
22559
|
+
/** Hr */
|
|
22560
|
+
hr: boolean;
|
|
22561
|
+
/** Project */
|
|
22562
|
+
project: boolean;
|
|
22563
|
+
/** Approval */
|
|
22564
|
+
approval: boolean;
|
|
22565
|
+
/** Report */
|
|
22566
|
+
report: boolean;
|
|
22567
|
+
/** Commission */
|
|
22568
|
+
commission: boolean;
|
|
22317
22569
|
/** Loadchartofaccount */
|
|
22318
22570
|
loadChartOfAccount?: string | null;
|
|
22319
22571
|
};
|
|
@@ -22959,6 +23211,11 @@ export interface components {
|
|
|
22959
23211
|
/** Description */
|
|
22960
23212
|
description: string;
|
|
22961
23213
|
};
|
|
23214
|
+
/** CreateBrandSchema */
|
|
23215
|
+
CreateBrandSchema: {
|
|
23216
|
+
/** Name */
|
|
23217
|
+
name: string;
|
|
23218
|
+
};
|
|
22962
23219
|
/** ListBrands */
|
|
22963
23220
|
ListBrands: {
|
|
22964
23221
|
info: components["schemas"]["PageInfoSchema"];
|
|
@@ -23749,7 +24006,7 @@ export interface components {
|
|
|
23749
24006
|
* CustomerDocumentTypeEnum
|
|
23750
24007
|
* @enum {string}
|
|
23751
24008
|
*/
|
|
23752
|
-
CustomerDocumentTypeEnum: "default" | "receiptVoucher" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage";
|
|
24009
|
+
CustomerDocumentTypeEnum: "default" | "receiptVoucher" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "salesRefundVoucher";
|
|
23753
24010
|
/**
|
|
23754
24011
|
* typeCustomers
|
|
23755
24012
|
* @enum {string}
|
|
@@ -23779,6 +24036,7 @@ export interface components {
|
|
|
23779
24036
|
balance: number;
|
|
23780
24037
|
/** Phone */
|
|
23781
24038
|
phone?: string | null;
|
|
24039
|
+
group: components["schemas"]["CustomerGroupInfoSchema"];
|
|
23782
24040
|
/**
|
|
23783
24041
|
* Attachments
|
|
23784
24042
|
* @default []
|
|
@@ -23787,6 +24045,16 @@ export interface components {
|
|
|
23787
24045
|
/** Currencies */
|
|
23788
24046
|
currencies: components["schemas"]["CommonCurrency"][];
|
|
23789
24047
|
};
|
|
24048
|
+
/** CustomerGroupInfoSchema */
|
|
24049
|
+
CustomerGroupInfoSchema: {
|
|
24050
|
+
/**
|
|
24051
|
+
* Id
|
|
24052
|
+
* Format: uuid
|
|
24053
|
+
*/
|
|
24054
|
+
id: string;
|
|
24055
|
+
/** Name */
|
|
24056
|
+
name: string;
|
|
24057
|
+
};
|
|
23790
24058
|
/** CustomerListSchema */
|
|
23791
24059
|
CustomerListSchema: {
|
|
23792
24060
|
info: components["schemas"]["PageInfoSchema"];
|
|
@@ -23931,6 +24199,7 @@ export interface components {
|
|
|
23931
24199
|
* @default true
|
|
23932
24200
|
*/
|
|
23933
24201
|
isResident: boolean | null;
|
|
24202
|
+
group: components["schemas"]["CustomerGroupInfoSchema"];
|
|
23934
24203
|
/**
|
|
23935
24204
|
* Shipmentinformation
|
|
23936
24205
|
* @default []
|
|
@@ -24077,6 +24346,11 @@ export interface components {
|
|
|
24077
24346
|
email?: string | null;
|
|
24078
24347
|
/** Walkinpos */
|
|
24079
24348
|
walkInPos?: boolean | null;
|
|
24349
|
+
/**
|
|
24350
|
+
* Group
|
|
24351
|
+
* @description from the list of contact segmentation choose group filtered by type = "customer"
|
|
24352
|
+
*/
|
|
24353
|
+
group?: string | null;
|
|
24080
24354
|
banks?: components["schemas"]["UpdateCustomerBankSchema"] | null;
|
|
24081
24355
|
shipmentInformation?: components["schemas"]["UpdateContactShipmentInformationSchema"] | null;
|
|
24082
24356
|
/**
|
|
@@ -24198,6 +24472,7 @@ export interface components {
|
|
|
24198
24472
|
* @default true
|
|
24199
24473
|
*/
|
|
24200
24474
|
isResident: boolean | null;
|
|
24475
|
+
group: components["schemas"]["CustomerGroupInfoSchema"];
|
|
24201
24476
|
/** Branches */
|
|
24202
24477
|
branches: components["schemas"]["CompanyCustomerBranchSchema"][];
|
|
24203
24478
|
/**
|
|
@@ -24299,6 +24574,11 @@ export interface components {
|
|
|
24299
24574
|
region?: number | null;
|
|
24300
24575
|
/** Email */
|
|
24301
24576
|
email?: string | null;
|
|
24577
|
+
/**
|
|
24578
|
+
* Group
|
|
24579
|
+
* @description from the list of contact segmentation choose group filtered by type = "customer"
|
|
24580
|
+
*/
|
|
24581
|
+
group?: string | null;
|
|
24302
24582
|
branches?: components["schemas"]["UpdateCustomerBranchSchema"] | null;
|
|
24303
24583
|
/**
|
|
24304
24584
|
* Attachments
|
|
@@ -24453,6 +24733,12 @@ export interface components {
|
|
|
24453
24733
|
* @default true
|
|
24454
24734
|
*/
|
|
24455
24735
|
isResident: boolean;
|
|
24736
|
+
/**
|
|
24737
|
+
* Group
|
|
24738
|
+
* Format: uuid
|
|
24739
|
+
* @description from the list of contact segmentation choose group filtered by type = "customer"
|
|
24740
|
+
*/
|
|
24741
|
+
group: string;
|
|
24456
24742
|
/** Banks */
|
|
24457
24743
|
banks: components["schemas"]["CreateCustomerBankSchema"][];
|
|
24458
24744
|
/** Shipmentinformation */
|
|
@@ -24515,6 +24801,12 @@ export interface components {
|
|
|
24515
24801
|
isResident: boolean;
|
|
24516
24802
|
/** Accountclassification */
|
|
24517
24803
|
accountClassification: number;
|
|
24804
|
+
/**
|
|
24805
|
+
* Group
|
|
24806
|
+
* Format: uuid
|
|
24807
|
+
* @description from the list of contact segmentation choose group filtered by type = "customer"
|
|
24808
|
+
*/
|
|
24809
|
+
group: string;
|
|
24518
24810
|
/** Branches */
|
|
24519
24811
|
branches: components["schemas"]["CreateCustomerBranchSchema"][];
|
|
24520
24812
|
/**
|
|
@@ -24615,6 +24907,16 @@ export interface components {
|
|
|
24615
24907
|
* @enum {string}
|
|
24616
24908
|
*/
|
|
24617
24909
|
typeSuppliers: "parents" | "children";
|
|
24910
|
+
/** ContactSegmentationSharedSchema */
|
|
24911
|
+
ContactSegmentationSharedSchema: {
|
|
24912
|
+
/**
|
|
24913
|
+
* Id
|
|
24914
|
+
* Format: uuid
|
|
24915
|
+
*/
|
|
24916
|
+
id: string;
|
|
24917
|
+
/** Name */
|
|
24918
|
+
name: string;
|
|
24919
|
+
};
|
|
24618
24920
|
/** SupplierForListSchema */
|
|
24619
24921
|
SupplierForListSchema: {
|
|
24620
24922
|
/**
|
|
@@ -24646,6 +24948,7 @@ export interface components {
|
|
|
24646
24948
|
* @default []
|
|
24647
24949
|
*/
|
|
24648
24950
|
attachments: string[];
|
|
24951
|
+
group: components["schemas"]["ContactSegmentationSharedSchema"];
|
|
24649
24952
|
};
|
|
24650
24953
|
/** SupplierListSchema */
|
|
24651
24954
|
SupplierListSchema: {
|
|
@@ -24734,6 +25037,12 @@ export interface components {
|
|
|
24734
25037
|
* @default []
|
|
24735
25038
|
*/
|
|
24736
25039
|
attachments: string[];
|
|
25040
|
+
/**
|
|
25041
|
+
* Group
|
|
25042
|
+
* Format: uuid
|
|
25043
|
+
* @description from the list of contact segmentation choose group filtered by type = "supplier"
|
|
25044
|
+
*/
|
|
25045
|
+
group: string;
|
|
24737
25046
|
};
|
|
24738
25047
|
/** SupplierBankSchema */
|
|
24739
25048
|
SupplierBankSchema: {
|
|
@@ -24820,6 +25129,7 @@ export interface components {
|
|
|
24820
25129
|
* @default []
|
|
24821
25130
|
*/
|
|
24822
25131
|
attachments: string[];
|
|
25132
|
+
group: components["schemas"]["ContactSegmentationSharedSchema"];
|
|
24823
25133
|
};
|
|
24824
25134
|
/** ChangeSupplierBankSchema */
|
|
24825
25135
|
ChangeSupplierBankSchema: {
|
|
@@ -24908,6 +25218,12 @@ export interface components {
|
|
|
24908
25218
|
* @default []
|
|
24909
25219
|
*/
|
|
24910
25220
|
attachments: string[] | null;
|
|
25221
|
+
/**
|
|
25222
|
+
* Group
|
|
25223
|
+
* Format: uuid
|
|
25224
|
+
* @description from the list of contact segmentation choose group filtered by type = "supplier"
|
|
25225
|
+
*/
|
|
25226
|
+
group?: string;
|
|
24911
25227
|
};
|
|
24912
25228
|
/** UpdateSupplierBankSchema */
|
|
24913
25229
|
UpdateSupplierBankSchema: {
|
|
@@ -25325,6 +25641,8 @@ export interface components {
|
|
|
25325
25641
|
code: string;
|
|
25326
25642
|
/** Default */
|
|
25327
25643
|
default: boolean;
|
|
25644
|
+
/** Issecondary */
|
|
25645
|
+
isSecondary: boolean;
|
|
25328
25646
|
/** Candelete */
|
|
25329
25647
|
canDelete: boolean;
|
|
25330
25648
|
};
|
|
@@ -25797,7 +26115,7 @@ export interface components {
|
|
|
25797
26115
|
/**
|
|
25798
26116
|
* Id
|
|
25799
26117
|
* Format: uuid
|
|
25800
|
-
* @example
|
|
26118
|
+
* @example 39a8c598-7c2f-4ff6-9868-32c0b9185fcb
|
|
25801
26119
|
*/
|
|
25802
26120
|
id: string;
|
|
25803
26121
|
/**
|
|
@@ -26801,6 +27119,42 @@ export interface components {
|
|
|
26801
27119
|
employeeReceivable?: number | null;
|
|
26802
27120
|
/** Employeepayable */
|
|
26803
27121
|
employeePayable?: number | null;
|
|
27122
|
+
/** Deferredsalesofserviceresident */
|
|
27123
|
+
deferredSalesOfServiceResident?: number | null;
|
|
27124
|
+
/** Deferredsalesofservicediscountresident */
|
|
27125
|
+
deferredSalesOfServiceDiscountResident?: number | null;
|
|
27126
|
+
/** Deferredsalesofworksresident */
|
|
27127
|
+
deferredSalesOfWorksResident?: number | null;
|
|
27128
|
+
/** Deferredsalesofworksdiscountresident */
|
|
27129
|
+
deferredSalesOfWorksDiscountResident?: number | null;
|
|
27130
|
+
/** Deferredsalesofgoodsresident */
|
|
27131
|
+
deferredSalesOfGoodsResident?: number | null;
|
|
27132
|
+
/** Deferredsalesofgoodsdiscountresident */
|
|
27133
|
+
deferredSalesOfGoodsDiscountResident?: number | null;
|
|
27134
|
+
/** Deferredsalesofservicenonresident */
|
|
27135
|
+
deferredSalesOfServiceNonResident?: number | null;
|
|
27136
|
+
/** Deferredsalesofservicediscountnonresident */
|
|
27137
|
+
deferredSalesOfServiceDiscountNonResident?: number | null;
|
|
27138
|
+
/** Deferredsalesofworksnonresident */
|
|
27139
|
+
deferredSalesOfWorksNonResident?: number | null;
|
|
27140
|
+
/** Deferredsalesofworksdiscountnonresident */
|
|
27141
|
+
deferredSalesOfWorksDiscountNonResident?: number | null;
|
|
27142
|
+
/** Deferredsalesofgoodsnonresident */
|
|
27143
|
+
deferredSalesOfGoodsNonResident?: number | null;
|
|
27144
|
+
/** Deferredsalesofgoodsdiscountnonresident */
|
|
27145
|
+
deferredSalesOfGoodsDiscountNonResident?: number | null;
|
|
27146
|
+
/** Salescogsofserviceresident */
|
|
27147
|
+
salesCogsOfServiceResident?: number | null;
|
|
27148
|
+
/** Salescogsofworksresident */
|
|
27149
|
+
salesCogsOfWorksResident?: number | null;
|
|
27150
|
+
/** Salescogsofgoodsresident */
|
|
27151
|
+
salesCogsOfGoodsResident?: number | null;
|
|
27152
|
+
/** Salescogsofservicenonresident */
|
|
27153
|
+
salesCogsOfServiceNonResident?: number | null;
|
|
27154
|
+
/** Salescogsofworksnonresident */
|
|
27155
|
+
salesCogsOfWorksNonResident?: number | null;
|
|
27156
|
+
/** Salescogsofgoodsnonresident */
|
|
27157
|
+
salesCogsOfGoodsNonResident?: number | null;
|
|
26804
27158
|
};
|
|
26805
27159
|
/** ChartOfAccountInfoSchema */
|
|
26806
27160
|
ChartOfAccountInfoSchema: {
|
|
@@ -26946,6 +27300,24 @@ export interface components {
|
|
|
26946
27300
|
retailCustomer?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
26947
27301
|
employeeReceivable?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
26948
27302
|
employeePayable?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27303
|
+
deferredSalesOfServiceResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27304
|
+
deferredSalesOfServiceDiscountResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27305
|
+
deferredSalesOfWorksResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27306
|
+
deferredSalesOfWorksDiscountResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27307
|
+
deferredSalesOfGoodsResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27308
|
+
deferredSalesOfGoodsDiscountResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27309
|
+
deferredSalesOfServiceNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27310
|
+
deferredSalesOfServiceDiscountNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27311
|
+
deferredSalesOfWorksNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27312
|
+
deferredSalesOfWorksDiscountNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27313
|
+
deferredSalesOfGoodsNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27314
|
+
deferredSalesOfGoodsDiscountNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27315
|
+
salesCogsOfServiceResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27316
|
+
salesCogsOfWorksResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27317
|
+
salesCogsOfGoodsResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27318
|
+
salesCogsOfServiceNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27319
|
+
salesCogsOfWorksNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27320
|
+
salesCogsOfGoodsNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
26949
27321
|
};
|
|
26950
27322
|
/**
|
|
26951
27323
|
* SubsidiaryAccountListType
|
|
@@ -27150,6 +27522,42 @@ export interface components {
|
|
|
27150
27522
|
posSalesOfWorksReturn?: number | null;
|
|
27151
27523
|
/** Possalesofworksstock */
|
|
27152
27524
|
posSalesOfWorksStock?: number | null;
|
|
27525
|
+
/** Deferredsalesofserviceresident */
|
|
27526
|
+
deferredSalesOfServiceResident?: number | null;
|
|
27527
|
+
/** Deferredsalesofservicediscountresident */
|
|
27528
|
+
deferredSalesOfServiceDiscountResident?: number | null;
|
|
27529
|
+
/** Deferredsalesofworksresident */
|
|
27530
|
+
deferredSalesOfWorksResident?: number | null;
|
|
27531
|
+
/** Deferredsalesofworksdiscountresident */
|
|
27532
|
+
deferredSalesOfWorksDiscountResident?: number | null;
|
|
27533
|
+
/** Deferredsalesofgoodsresident */
|
|
27534
|
+
deferredSalesOfGoodsResident?: number | null;
|
|
27535
|
+
/** Deferredsalesofgoodsdiscountresident */
|
|
27536
|
+
deferredSalesOfGoodsDiscountResident?: number | null;
|
|
27537
|
+
/** Deferredsalesofservicenonresident */
|
|
27538
|
+
deferredSalesOfServiceNonResident?: number | null;
|
|
27539
|
+
/** Deferredsalesofservicediscountnonresident */
|
|
27540
|
+
deferredSalesOfServiceDiscountNonResident?: number | null;
|
|
27541
|
+
/** Deferredsalesofworksnonresident */
|
|
27542
|
+
deferredSalesOfWorksNonResident?: number | null;
|
|
27543
|
+
/** Deferredsalesofworksdiscountnonresident */
|
|
27544
|
+
deferredSalesOfWorksDiscountNonResident?: number | null;
|
|
27545
|
+
/** Deferredsalesofgoodsnonresident */
|
|
27546
|
+
deferredSalesOfGoodsNonResident?: number | null;
|
|
27547
|
+
/** Deferredsalesofgoodsdiscountnonresident */
|
|
27548
|
+
deferredSalesOfGoodsDiscountNonResident?: number | null;
|
|
27549
|
+
/** Salescogsofserviceresident */
|
|
27550
|
+
salesCogsOfServiceResident?: number | null;
|
|
27551
|
+
/** Salescogsofworksresident */
|
|
27552
|
+
salesCogsOfWorksResident?: number | null;
|
|
27553
|
+
/** Salescogsofgoodsresident */
|
|
27554
|
+
salesCogsOfGoodsResident?: number | null;
|
|
27555
|
+
/** Salescogsofservicenonresident */
|
|
27556
|
+
salesCogsOfServiceNonResident?: number | null;
|
|
27557
|
+
/** Salescogsofworksnonresident */
|
|
27558
|
+
salesCogsOfWorksNonResident?: number | null;
|
|
27559
|
+
/** Salescogsofgoodsnonresident */
|
|
27560
|
+
salesCogsOfGoodsNonResident?: number | null;
|
|
27153
27561
|
};
|
|
27154
27562
|
/** UpdateTransactionalSubsidiaryAccountsSchema */
|
|
27155
27563
|
UpdateTransactionalSubsidiaryAccountsSchema: {
|
|
@@ -27343,6 +27751,42 @@ export interface components {
|
|
|
27343
27751
|
posSalesOfWorksReturn?: number | null;
|
|
27344
27752
|
/** Possalesofworksstock */
|
|
27345
27753
|
posSalesOfWorksStock?: number | null;
|
|
27754
|
+
/** Deferredsalesofserviceresident */
|
|
27755
|
+
deferredSalesOfServiceResident?: number | null;
|
|
27756
|
+
/** Deferredsalesofservicediscountresident */
|
|
27757
|
+
deferredSalesOfServiceDiscountResident?: number | null;
|
|
27758
|
+
/** Deferredsalesofworksresident */
|
|
27759
|
+
deferredSalesOfWorksResident?: number | null;
|
|
27760
|
+
/** Deferredsalesofworksdiscountresident */
|
|
27761
|
+
deferredSalesOfWorksDiscountResident?: number | null;
|
|
27762
|
+
/** Deferredsalesofgoodsresident */
|
|
27763
|
+
deferredSalesOfGoodsResident?: number | null;
|
|
27764
|
+
/** Deferredsalesofgoodsdiscountresident */
|
|
27765
|
+
deferredSalesOfGoodsDiscountResident?: number | null;
|
|
27766
|
+
/** Deferredsalesofservicenonresident */
|
|
27767
|
+
deferredSalesOfServiceNonResident?: number | null;
|
|
27768
|
+
/** Deferredsalesofservicediscountnonresident */
|
|
27769
|
+
deferredSalesOfServiceDiscountNonResident?: number | null;
|
|
27770
|
+
/** Deferredsalesofworksnonresident */
|
|
27771
|
+
deferredSalesOfWorksNonResident?: number | null;
|
|
27772
|
+
/** Deferredsalesofworksdiscountnonresident */
|
|
27773
|
+
deferredSalesOfWorksDiscountNonResident?: number | null;
|
|
27774
|
+
/** Deferredsalesofgoodsnonresident */
|
|
27775
|
+
deferredSalesOfGoodsNonResident?: number | null;
|
|
27776
|
+
/** Deferredsalesofgoodsdiscountnonresident */
|
|
27777
|
+
deferredSalesOfGoodsDiscountNonResident?: number | null;
|
|
27778
|
+
/** Salescogsofserviceresident */
|
|
27779
|
+
salesCogsOfServiceResident?: number | null;
|
|
27780
|
+
/** Salescogsofworksresident */
|
|
27781
|
+
salesCogsOfWorksResident?: number | null;
|
|
27782
|
+
/** Salescogsofgoodsresident */
|
|
27783
|
+
salesCogsOfGoodsResident?: number | null;
|
|
27784
|
+
/** Salescogsofservicenonresident */
|
|
27785
|
+
salesCogsOfServiceNonResident?: number | null;
|
|
27786
|
+
/** Salescogsofworksnonresident */
|
|
27787
|
+
salesCogsOfWorksNonResident?: number | null;
|
|
27788
|
+
/** Salescogsofgoodsnonresident */
|
|
27789
|
+
salesCogsOfGoodsNonResident?: number | null;
|
|
27346
27790
|
};
|
|
27347
27791
|
/** RetrieveTransactionalSubsidiaryAccountsSchema */
|
|
27348
27792
|
RetrieveTransactionalSubsidiaryAccountsSchema: {
|
|
@@ -27454,6 +27898,24 @@ export interface components {
|
|
|
27454
27898
|
posSalesOfWorksDiscount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27455
27899
|
posSalesOfWorksReturn?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27456
27900
|
posSalesOfWorksStock?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27901
|
+
deferredSalesOfServiceResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27902
|
+
deferredSalesOfServiceDiscountResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27903
|
+
deferredSalesOfWorksResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27904
|
+
deferredSalesOfWorksDiscountResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27905
|
+
deferredSalesOfGoodsResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27906
|
+
deferredSalesOfGoodsDiscountResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27907
|
+
deferredSalesOfServiceNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27908
|
+
deferredSalesOfServiceDiscountNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27909
|
+
deferredSalesOfWorksNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27910
|
+
deferredSalesOfWorksDiscountNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27911
|
+
deferredSalesOfGoodsNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27912
|
+
deferredSalesOfGoodsDiscountNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27913
|
+
salesCogsOfServiceResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27914
|
+
salesCogsOfWorksResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27915
|
+
salesCogsOfGoodsResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27916
|
+
salesCogsOfServiceNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27917
|
+
salesCogsOfWorksNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27918
|
+
salesCogsOfGoodsNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27457
27919
|
};
|
|
27458
27920
|
/** ListTransactionalSubsidiaryAccountsSchema */
|
|
27459
27921
|
ListTransactionalSubsidiaryAccountsSchema: {
|
|
@@ -27571,6 +28033,24 @@ export interface components {
|
|
|
27571
28033
|
posSalesOfWorksDiscount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27572
28034
|
posSalesOfWorksReturn?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27573
28035
|
posSalesOfWorksStock?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28036
|
+
deferredSalesOfServiceResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28037
|
+
deferredSalesOfServiceDiscountResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28038
|
+
deferredSalesOfWorksResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28039
|
+
deferredSalesOfWorksDiscountResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28040
|
+
deferredSalesOfGoodsResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28041
|
+
deferredSalesOfGoodsDiscountResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28042
|
+
deferredSalesOfServiceNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28043
|
+
deferredSalesOfServiceDiscountNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28044
|
+
deferredSalesOfWorksNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28045
|
+
deferredSalesOfWorksDiscountNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28046
|
+
deferredSalesOfGoodsNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28047
|
+
deferredSalesOfGoodsDiscountNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28048
|
+
salesCogsOfServiceResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28049
|
+
salesCogsOfWorksResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28050
|
+
salesCogsOfGoodsResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28051
|
+
salesCogsOfServiceNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28052
|
+
salesCogsOfWorksNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28053
|
+
salesCogsOfGoodsNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27574
28054
|
/** Candelete */
|
|
27575
28055
|
canDelete: boolean;
|
|
27576
28056
|
};
|
|
@@ -27603,6 +28083,21 @@ export interface components {
|
|
|
27603
28083
|
* @description Tax Debtor/Creditor Balance Account , this should be dropdown of subsidiary accounts from Chart of accounts
|
|
27604
28084
|
*/
|
|
27605
28085
|
taxDebtorCreditorBalanceAccount: number | null;
|
|
28086
|
+
/**
|
|
28087
|
+
* Deferredsales
|
|
28088
|
+
* @description
|
|
28089
|
+
* - id of account from chart of account
|
|
28090
|
+
* Visibility and Requirement
|
|
28091
|
+
* - Visible when type includes sales
|
|
28092
|
+
* API Endpoints for deferred sales Retrieval:
|
|
28093
|
+
* - API Route : /api/v1/chart_of_account/?branchId=1&type=deferredSales
|
|
28094
|
+
*
|
|
28095
|
+
*/
|
|
28096
|
+
deferredSales?: number;
|
|
28097
|
+
/** Usdrate */
|
|
28098
|
+
usdRate: number;
|
|
28099
|
+
/** Companyrate */
|
|
28100
|
+
companyRate: number;
|
|
27606
28101
|
};
|
|
27607
28102
|
/** ListTaxes */
|
|
27608
28103
|
ListTaxes: {
|
|
@@ -27636,6 +28131,7 @@ export interface components {
|
|
|
27636
28131
|
ratePercentage: number;
|
|
27637
28132
|
/** @description Tax Debtor/Creditor Balance Account , this should be dropdown of subsidiary accounts from Chart of accounts */
|
|
27638
28133
|
taxDebtorCreditorBalanceAccount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28134
|
+
deferredSales: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27639
28135
|
/** Candelete */
|
|
27640
28136
|
canDelete: boolean;
|
|
27641
28137
|
};
|
|
@@ -27667,6 +28163,17 @@ export interface components {
|
|
|
27667
28163
|
* @description Tax Debtor/Creditor Balance Account , this should be dropdown of subsidiary accounts from Chart of accounts
|
|
27668
28164
|
*/
|
|
27669
28165
|
taxDebtorCreditorBalanceAccount?: number | null;
|
|
28166
|
+
/**
|
|
28167
|
+
* Deferredsales
|
|
28168
|
+
* @description
|
|
28169
|
+
* - id of account from chart of account
|
|
28170
|
+
* Visibility and Requirement
|
|
28171
|
+
* - Visible when type includes sales
|
|
28172
|
+
* API Endpoints for deferred sales Retrieval:
|
|
28173
|
+
* - API Route : /api/v1/chart_of_account/?branchId=1&type=deferredSales
|
|
28174
|
+
*
|
|
28175
|
+
*/
|
|
28176
|
+
deferredSales?: number | null;
|
|
27670
28177
|
};
|
|
27671
28178
|
/** RetrieveTax */
|
|
27672
28179
|
RetrieveTax: {
|
|
@@ -27694,6 +28201,7 @@ export interface components {
|
|
|
27694
28201
|
ratePercentage: number;
|
|
27695
28202
|
/** @description Tax Debtor/Creditor Balance Account , this should be dropdown of subsidiary accounts from Chart of accounts */
|
|
27696
28203
|
taxDebtorCreditorBalanceAccount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28204
|
+
deferredSales: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27697
28205
|
};
|
|
27698
28206
|
/** CreateAccountingSetting */
|
|
27699
28207
|
CreateAccountingSetting: {
|
|
@@ -28178,9 +28686,9 @@ export interface components {
|
|
|
28178
28686
|
id: string;
|
|
28179
28687
|
item: components["schemas"]["ItemMinimalSchema"];
|
|
28180
28688
|
/** Supplieritemname */
|
|
28181
|
-
supplierItemName: string;
|
|
28689
|
+
supplierItemName: string | null;
|
|
28182
28690
|
/** Supplieritemcode */
|
|
28183
|
-
supplierItemCode: string;
|
|
28691
|
+
supplierItemCode: string | null;
|
|
28184
28692
|
/** Quantity */
|
|
28185
28693
|
quantity: number;
|
|
28186
28694
|
unitOfMeasure: components["schemas"]["UnitOfMeasureSharedSchema"];
|
|
@@ -28254,9 +28762,9 @@ export interface components {
|
|
|
28254
28762
|
/** Item */
|
|
28255
28763
|
item: number;
|
|
28256
28764
|
/** Supplieritemname */
|
|
28257
|
-
supplierItemName
|
|
28765
|
+
supplierItemName?: string;
|
|
28258
28766
|
/** Supplieritemcode */
|
|
28259
|
-
supplierItemCode
|
|
28767
|
+
supplierItemCode?: string;
|
|
28260
28768
|
/** Quantity */
|
|
28261
28769
|
quantity: number;
|
|
28262
28770
|
/** Unitofmeasure */
|
|
@@ -28564,30 +29072,12 @@ export interface components {
|
|
|
28564
29072
|
/** Total */
|
|
28565
29073
|
total: number | null;
|
|
28566
29074
|
};
|
|
28567
|
-
/**
|
|
28568
|
-
|
|
28569
|
-
/**
|
|
28570
|
-
|
|
28571
|
-
|
|
28572
|
-
|
|
28573
|
-
total: string;
|
|
28574
|
-
/**
|
|
28575
|
-
* Companytotal
|
|
28576
|
-
* @description field is number
|
|
28577
|
-
*/
|
|
28578
|
-
companyTotal: string;
|
|
28579
|
-
/**
|
|
28580
|
-
* Secondarytotal
|
|
28581
|
-
* @description field is number
|
|
28582
|
-
*/
|
|
28583
|
-
secondaryTotal: string;
|
|
28584
|
-
/**
|
|
28585
|
-
* Remainingbalance
|
|
28586
|
-
* @description field is number
|
|
28587
|
-
*/
|
|
28588
|
-
remainingBalance: string;
|
|
28589
|
-
/** Payments */
|
|
28590
|
-
payments: components["schemas"]["PaymentWithEquivalentResponse"][];
|
|
29075
|
+
/** PurchaseRequisitionCalculateTotalResponse */
|
|
29076
|
+
PurchaseRequisitionCalculateTotalResponse: {
|
|
29077
|
+
/** Total */
|
|
29078
|
+
total: number | null;
|
|
29079
|
+
/** Data */
|
|
29080
|
+
data: components["schemas"]["CalculateRequisitionItemsResponse"][];
|
|
28591
29081
|
};
|
|
28592
29082
|
/** CalculateItemSchema */
|
|
28593
29083
|
CalculateItemSchema: {
|
|
@@ -28650,13 +29140,6 @@ export interface components {
|
|
|
28650
29140
|
/** Returnable */
|
|
28651
29141
|
returnable: boolean;
|
|
28652
29142
|
};
|
|
28653
|
-
/** ItemSummaryInfo */
|
|
28654
|
-
ItemSummaryInfo: {
|
|
28655
|
-
/** Id */
|
|
28656
|
-
id: number;
|
|
28657
|
-
/** Name */
|
|
28658
|
-
name: string;
|
|
28659
|
-
};
|
|
28660
29143
|
/**
|
|
28661
29144
|
* LinkedDocumentsSchema
|
|
28662
29145
|
* @description Schema for individual linked documents.
|
|
@@ -28760,7 +29243,7 @@ export interface components {
|
|
|
28760
29243
|
* Format: uuid
|
|
28761
29244
|
*/
|
|
28762
29245
|
id: string;
|
|
28763
|
-
item: components["schemas"]["
|
|
29246
|
+
item: components["schemas"]["ItemMinimalSchema"] | null;
|
|
28764
29247
|
/** Itemtext */
|
|
28765
29248
|
itemText: string | null;
|
|
28766
29249
|
/** Quantity */
|
|
@@ -29102,7 +29585,7 @@ export interface components {
|
|
|
29102
29585
|
* Format: uuid
|
|
29103
29586
|
*/
|
|
29104
29587
|
id: string;
|
|
29105
|
-
item: components["schemas"]["
|
|
29588
|
+
item: components["schemas"]["ItemMinimalSchema"] | null;
|
|
29106
29589
|
/** Itemtext */
|
|
29107
29590
|
itemText: string | null;
|
|
29108
29591
|
/** Quantity */
|
|
@@ -29941,6 +30424,8 @@ export interface components {
|
|
|
29941
30424
|
linkedDocuments?: {
|
|
29942
30425
|
[key: string]: components["schemas"]["LinkedDocumentsSchema"];
|
|
29943
30426
|
}[];
|
|
30427
|
+
/** @description visible when supplier is not resident */
|
|
30428
|
+
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
29944
30429
|
/**
|
|
29945
30430
|
* Items
|
|
29946
30431
|
* @default []
|
|
@@ -30006,7 +30491,10 @@ export interface components {
|
|
|
30006
30491
|
* @default 0
|
|
30007
30492
|
*/
|
|
30008
30493
|
discount: number;
|
|
30009
|
-
/**
|
|
30494
|
+
/**
|
|
30495
|
+
* Taxes
|
|
30496
|
+
* @description visible when supplier is resident
|
|
30497
|
+
*/
|
|
30010
30498
|
taxes?: number[] | null;
|
|
30011
30499
|
};
|
|
30012
30500
|
/** CreatePurchaseQuotationSchema */
|
|
@@ -30060,6 +30548,11 @@ export interface components {
|
|
|
30060
30548
|
description: string | null;
|
|
30061
30549
|
/** Notes */
|
|
30062
30550
|
notes: string | null;
|
|
30551
|
+
/**
|
|
30552
|
+
* Tax
|
|
30553
|
+
* @description tax id, visible when supplier is not resident
|
|
30554
|
+
*/
|
|
30555
|
+
tax?: number;
|
|
30063
30556
|
/** Items */
|
|
30064
30557
|
items: components["schemas"]["CreatePurchaseQuotationItemsSchema"][];
|
|
30065
30558
|
};
|
|
@@ -30212,6 +30705,11 @@ export interface components {
|
|
|
30212
30705
|
usdTotal: number;
|
|
30213
30706
|
/** Companytotal */
|
|
30214
30707
|
companyTotal?: number | null;
|
|
30708
|
+
/**
|
|
30709
|
+
* Tax
|
|
30710
|
+
* @description visible when supplier is not resident
|
|
30711
|
+
*/
|
|
30712
|
+
tax?: number;
|
|
30215
30713
|
/** Items */
|
|
30216
30714
|
items: components["schemas"]["ItemTotalCalculated"][];
|
|
30217
30715
|
};
|
|
@@ -30258,6 +30756,11 @@ export interface components {
|
|
|
30258
30756
|
* @default 0
|
|
30259
30757
|
*/
|
|
30260
30758
|
discount: number;
|
|
30759
|
+
/**
|
|
30760
|
+
* Tax
|
|
30761
|
+
* @description visible when entity is not resident
|
|
30762
|
+
*/
|
|
30763
|
+
tax?: number;
|
|
30261
30764
|
/** Items */
|
|
30262
30765
|
items: components["schemas"]["ItemTotal"][];
|
|
30263
30766
|
};
|
|
@@ -30431,6 +30934,8 @@ export interface components {
|
|
|
30431
30934
|
linkedDocuments?: {
|
|
30432
30935
|
[key: string]: components["schemas"]["LinkedDocumentsSchema"];
|
|
30433
30936
|
}[];
|
|
30937
|
+
/** @description visible when supplier is not resident */
|
|
30938
|
+
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
30434
30939
|
/** Items */
|
|
30435
30940
|
items: components["schemas"]["PurchaseOrderItemsSchema"][];
|
|
30436
30941
|
};
|
|
@@ -30502,7 +31007,10 @@ export interface components {
|
|
|
30502
31007
|
* @default 0
|
|
30503
31008
|
*/
|
|
30504
31009
|
discount: number;
|
|
30505
|
-
/**
|
|
31010
|
+
/**
|
|
31011
|
+
* Taxes
|
|
31012
|
+
* @description visible when supplier is resident
|
|
31013
|
+
*/
|
|
30506
31014
|
taxes?: number[] | null;
|
|
30507
31015
|
};
|
|
30508
31016
|
/** CreatePurchaseOrderSchema */
|
|
@@ -30554,6 +31062,11 @@ export interface components {
|
|
|
30554
31062
|
description: string | null;
|
|
30555
31063
|
/** Notes */
|
|
30556
31064
|
notes: string | null;
|
|
31065
|
+
/**
|
|
31066
|
+
* Tax
|
|
31067
|
+
* @description tax id, visible when supplier is not resident
|
|
31068
|
+
*/
|
|
31069
|
+
tax?: number;
|
|
30557
31070
|
/** Items */
|
|
30558
31071
|
items: components["schemas"]["CreatePurchaseOrderItemsSchema"][];
|
|
30559
31072
|
};
|
|
@@ -30606,6 +31119,13 @@ export interface components {
|
|
|
30606
31119
|
/** Totaldifference */
|
|
30607
31120
|
totalDifference: number;
|
|
30608
31121
|
};
|
|
31122
|
+
/** ItemSummaryInfo */
|
|
31123
|
+
ItemSummaryInfo: {
|
|
31124
|
+
/** Id */
|
|
31125
|
+
id: number;
|
|
31126
|
+
/** Name */
|
|
31127
|
+
name: string;
|
|
31128
|
+
};
|
|
30609
31129
|
/** PurchaseInvoiceDifferenceSchema */
|
|
30610
31130
|
PurchaseInvoiceDifferenceSchema: {
|
|
30611
31131
|
/** Itemdifferences */
|
|
@@ -31011,6 +31531,11 @@ export interface components {
|
|
|
31011
31531
|
/** Serialnumber */
|
|
31012
31532
|
serialNumber: string;
|
|
31013
31533
|
};
|
|
31534
|
+
/**
|
|
31535
|
+
* DocumentStatusValue
|
|
31536
|
+
* @enum {string}
|
|
31537
|
+
*/
|
|
31538
|
+
DocumentStatusValue: "draft" | "posted" | "submitted" | "canceled" | "sent";
|
|
31014
31539
|
/** ItemSummaryInfoWithReturnable */
|
|
31015
31540
|
ItemSummaryInfoWithReturnable: {
|
|
31016
31541
|
/** Id */
|
|
@@ -31019,6 +31544,7 @@ export interface components {
|
|
|
31019
31544
|
name: string;
|
|
31020
31545
|
/** Returnableitem */
|
|
31021
31546
|
returnableItem: boolean;
|
|
31547
|
+
trackInventoryBy: components["schemas"]["TrackInventoryBy"] | null;
|
|
31022
31548
|
};
|
|
31023
31549
|
/**
|
|
31024
31550
|
* PaymentStatusChoices
|
|
@@ -31161,7 +31687,7 @@ export interface components {
|
|
|
31161
31687
|
paymentTerms: components["schemas"]["PaymentTermsSchema"];
|
|
31162
31688
|
/** Duedate */
|
|
31163
31689
|
dueDate?: string | null;
|
|
31164
|
-
status: components["schemas"]["
|
|
31690
|
+
status: components["schemas"]["DocumentStatusValue"];
|
|
31165
31691
|
paymentStatus: components["schemas"]["PaymentStatusChoices"];
|
|
31166
31692
|
receivingStatus: components["schemas"]["ReceivingStatusChoices"];
|
|
31167
31693
|
/** Usdrate */
|
|
@@ -31195,6 +31721,8 @@ export interface components {
|
|
|
31195
31721
|
/** Canconvert */
|
|
31196
31722
|
canConvert: boolean;
|
|
31197
31723
|
warehouse: components["schemas"]["WarehouseSummaryInfo"] | null;
|
|
31724
|
+
/** @description visible when supplier is not resident */
|
|
31725
|
+
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
31198
31726
|
/** Linkeddocuments */
|
|
31199
31727
|
linkedDocuments?: {
|
|
31200
31728
|
[key: string]: components["schemas"]["LinkedDocumentsSchema"];
|
|
@@ -31292,6 +31820,11 @@ export interface components {
|
|
|
31292
31820
|
* @description call the user/me endpoint to get a list of warehouses,this field should be required and visible only incase of inventory is enabled and stock_update_trigger in purchase settings is invoice
|
|
31293
31821
|
*/
|
|
31294
31822
|
warehouse: number | null;
|
|
31823
|
+
/**
|
|
31824
|
+
* Tax
|
|
31825
|
+
* @description tax id, visible when supplier is not resident
|
|
31826
|
+
*/
|
|
31827
|
+
tax?: number;
|
|
31295
31828
|
};
|
|
31296
31829
|
/** PurchaseInvoiceItemsCreateSchema */
|
|
31297
31830
|
PurchaseInvoiceItemsCreateSchema: {
|
|
@@ -31334,7 +31867,7 @@ export interface components {
|
|
|
31334
31867
|
discount: number;
|
|
31335
31868
|
/**
|
|
31336
31869
|
* Taxes
|
|
31337
|
-
* @description Call the taxes endpoint to get a list of taxes. Filter for taxes with type `purchase.` The default taxes should come from the item taxes in each row.
|
|
31870
|
+
* @description visible when supplier is resident, Call the taxes endpoint to get a list of taxes. Filter for taxes with type `purchase.` The default taxes should come from the item taxes in each row.
|
|
31338
31871
|
*/
|
|
31339
31872
|
taxes: number[];
|
|
31340
31873
|
};
|
|
@@ -31377,7 +31910,7 @@ export interface components {
|
|
|
31377
31910
|
discount: number;
|
|
31378
31911
|
/**
|
|
31379
31912
|
* Taxes
|
|
31380
|
-
* @description List of tax IDs, hit the taxes endpoint to get the list of taxes
|
|
31913
|
+
* @description visible when supplier is resident', List of tax IDs, hit the taxes endpoint to get the list of taxes
|
|
31381
31914
|
*/
|
|
31382
31915
|
taxes: number[];
|
|
31383
31916
|
};
|
|
@@ -31440,6 +31973,11 @@ export interface components {
|
|
|
31440
31973
|
* @description Warehouse ID, hit the user/warehouses endpoint to get the list of warehouses, or get them from /me endpoint,this field should be required and visible only incase of inventory is enabled and stock_update_trigger is invoice
|
|
31441
31974
|
*/
|
|
31442
31975
|
warehouse: number | null;
|
|
31976
|
+
/**
|
|
31977
|
+
* Tax
|
|
31978
|
+
* @description tax id, visible when supplier is not resident
|
|
31979
|
+
*/
|
|
31980
|
+
tax?: number;
|
|
31443
31981
|
};
|
|
31444
31982
|
/** PurchaseInvoiceDeleteSchema */
|
|
31445
31983
|
PurchaseInvoiceDeleteSchema: {
|
|
@@ -31549,24 +32087,6 @@ export interface components {
|
|
|
31549
32087
|
companyTotal: string;
|
|
31550
32088
|
/** Remaining */
|
|
31551
32089
|
remaining: string;
|
|
31552
|
-
/** Taxes */
|
|
31553
|
-
taxes?: components["schemas"]["ListPaidPartiallyPaidTaxesResponseSchema"][];
|
|
31554
|
-
};
|
|
31555
|
-
/** ListPaidPartiallyPaidTaxesResponseSchema */
|
|
31556
|
-
ListPaidPartiallyPaidTaxesResponseSchema: {
|
|
31557
|
-
/**
|
|
31558
|
-
* Tax
|
|
31559
|
-
* @description tax id
|
|
31560
|
-
*/
|
|
31561
|
-
tax: number;
|
|
31562
|
-
/** Total */
|
|
31563
|
-
total: string;
|
|
31564
|
-
/** Usdtotal */
|
|
31565
|
-
usdTotal: string;
|
|
31566
|
-
/** Companytotal */
|
|
31567
|
-
companyTotal: string;
|
|
31568
|
-
/** Remaining */
|
|
31569
|
-
remaining: string;
|
|
31570
32090
|
};
|
|
31571
32091
|
/** PaidPartiallyPaidResponseSchema */
|
|
31572
32092
|
PaidPartiallyPaidResponseSchema: {
|
|
@@ -32855,16 +33375,6 @@ export interface components {
|
|
|
32855
33375
|
* @enum {string}
|
|
32856
33376
|
*/
|
|
32857
33377
|
AppliesOnSchema: "item" | "category";
|
|
32858
|
-
/** ContactSegmentationSharedSchema */
|
|
32859
|
-
ContactSegmentationSharedSchema: {
|
|
32860
|
-
/**
|
|
32861
|
-
* Id
|
|
32862
|
-
* Format: uuid
|
|
32863
|
-
*/
|
|
32864
|
-
id: string;
|
|
32865
|
-
/** Name */
|
|
32866
|
-
name: string;
|
|
32867
|
-
};
|
|
32868
33378
|
/** CustomerSharedSchema */
|
|
32869
33379
|
CustomerSharedSchema: {
|
|
32870
33380
|
/** Id */
|
|
@@ -35533,6 +36043,11 @@ export interface components {
|
|
|
35533
36043
|
* @description This is a number
|
|
35534
36044
|
*/
|
|
35535
36045
|
totalPackageDepositCharge?: string | null;
|
|
36046
|
+
/**
|
|
36047
|
+
* Tax
|
|
36048
|
+
* @description tax id
|
|
36049
|
+
*/
|
|
36050
|
+
tax?: number;
|
|
35536
36051
|
/** Items */
|
|
35537
36052
|
items: components["schemas"]["SalesItemTotalCalculated"][];
|
|
35538
36053
|
};
|
|
@@ -35590,6 +36105,11 @@ export interface components {
|
|
|
35590
36105
|
* @default 0
|
|
35591
36106
|
*/
|
|
35592
36107
|
discount: number;
|
|
36108
|
+
/**
|
|
36109
|
+
* Tax
|
|
36110
|
+
* @description tax id
|
|
36111
|
+
*/
|
|
36112
|
+
tax?: number;
|
|
35593
36113
|
/** Items */
|
|
35594
36114
|
items: components["schemas"]["SalesItemTotal"][];
|
|
35595
36115
|
};
|
|
@@ -35902,6 +36422,8 @@ export interface components {
|
|
|
35902
36422
|
description: string | null;
|
|
35903
36423
|
/** Notes */
|
|
35904
36424
|
notes: string | null;
|
|
36425
|
+
/** @description visible when customer is not resident */
|
|
36426
|
+
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
35905
36427
|
/**
|
|
35906
36428
|
* Canconvert
|
|
35907
36429
|
* @default false
|
|
@@ -35993,6 +36515,7 @@ export interface components {
|
|
|
35993
36515
|
discount: number;
|
|
35994
36516
|
/**
|
|
35995
36517
|
* Taxes
|
|
36518
|
+
* @description visible when customer is resident
|
|
35996
36519
|
* @default []
|
|
35997
36520
|
*/
|
|
35998
36521
|
taxes: number[];
|
|
@@ -36113,6 +36636,11 @@ export interface components {
|
|
|
36113
36636
|
description?: string;
|
|
36114
36637
|
/** Notes */
|
|
36115
36638
|
notes?: string;
|
|
36639
|
+
/**
|
|
36640
|
+
* Tax
|
|
36641
|
+
* @description tax id, visible when customer is not resident
|
|
36642
|
+
*/
|
|
36643
|
+
tax?: number;
|
|
36116
36644
|
/** Items */
|
|
36117
36645
|
items: components["schemas"]["CreateUpdateSalesQuotationItemSchema"][];
|
|
36118
36646
|
};
|
|
@@ -36259,6 +36787,8 @@ export interface components {
|
|
|
36259
36787
|
description: string | null;
|
|
36260
36788
|
/** Notes */
|
|
36261
36789
|
notes: string | null;
|
|
36790
|
+
/** @description visible when customer is not resident */
|
|
36791
|
+
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
36262
36792
|
/**
|
|
36263
36793
|
* Canconvert
|
|
36264
36794
|
* @default false
|
|
@@ -36321,6 +36851,31 @@ export interface components {
|
|
|
36321
36851
|
/** Results */
|
|
36322
36852
|
results: components["schemas"]["RetrieveContactSegmentationSchema"][];
|
|
36323
36853
|
};
|
|
36854
|
+
/** CalculateTotalResponse */
|
|
36855
|
+
CalculateTotalResponse: {
|
|
36856
|
+
/**
|
|
36857
|
+
* Total
|
|
36858
|
+
* @description field is number
|
|
36859
|
+
*/
|
|
36860
|
+
total: string;
|
|
36861
|
+
/**
|
|
36862
|
+
* Companytotal
|
|
36863
|
+
* @description field is number
|
|
36864
|
+
*/
|
|
36865
|
+
companyTotal: string;
|
|
36866
|
+
/**
|
|
36867
|
+
* Secondarytotal
|
|
36868
|
+
* @description field is number
|
|
36869
|
+
*/
|
|
36870
|
+
secondaryTotal: string;
|
|
36871
|
+
/**
|
|
36872
|
+
* Remainingbalance
|
|
36873
|
+
* @description field is number
|
|
36874
|
+
*/
|
|
36875
|
+
remainingBalance: string;
|
|
36876
|
+
/** Payments */
|
|
36877
|
+
payments: components["schemas"]["PaymentWithEquivalentResponse"][];
|
|
36878
|
+
};
|
|
36324
36879
|
/** CalculateEquivalentsAndTotalsSchema */
|
|
36325
36880
|
CalculateEquivalentsAndTotalsSchema: {
|
|
36326
36881
|
/**
|
|
@@ -36393,33 +36948,6 @@ export interface components {
|
|
|
36393
36948
|
* @description field is number
|
|
36394
36949
|
*/
|
|
36395
36950
|
remaining: string;
|
|
36396
|
-
/** Taxes */
|
|
36397
|
-
taxes: components["schemas"]["RefundableTaxesWithRemaining"][];
|
|
36398
|
-
};
|
|
36399
|
-
/** RefundableTaxesWithRemaining */
|
|
36400
|
-
RefundableTaxesWithRemaining: {
|
|
36401
|
-
/** Tax */
|
|
36402
|
-
tax: number;
|
|
36403
|
-
/**
|
|
36404
|
-
* Total
|
|
36405
|
-
* @description field is number
|
|
36406
|
-
*/
|
|
36407
|
-
total: string;
|
|
36408
|
-
/**
|
|
36409
|
-
* Companytotal
|
|
36410
|
-
* @description field is number
|
|
36411
|
-
*/
|
|
36412
|
-
companyTotal: string;
|
|
36413
|
-
/**
|
|
36414
|
-
* Usdtotal
|
|
36415
|
-
* @description field is number
|
|
36416
|
-
*/
|
|
36417
|
-
usdTotal: string;
|
|
36418
|
-
/**
|
|
36419
|
-
* Remaining
|
|
36420
|
-
* @description field is number
|
|
36421
|
-
*/
|
|
36422
|
-
remaining: string;
|
|
36423
36951
|
};
|
|
36424
36952
|
/** RefundVoucherDetailWithItemSchema */
|
|
36425
36953
|
RefundVoucherDetailWithItemSchema: {
|
|
@@ -37877,6 +38405,8 @@ export interface components {
|
|
|
37877
38405
|
* @description Additional notes regarding the sales order.
|
|
37878
38406
|
*/
|
|
37879
38407
|
notes: string | null;
|
|
38408
|
+
/** @description visible when customer is not resident */
|
|
38409
|
+
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
37880
38410
|
/**
|
|
37881
38411
|
* Canconvert
|
|
37882
38412
|
* @description Indicates whether the sales order can be converted to another status.
|
|
@@ -37992,6 +38522,7 @@ export interface components {
|
|
|
37992
38522
|
discount: number;
|
|
37993
38523
|
/**
|
|
37994
38524
|
* Taxes
|
|
38525
|
+
* @description visible when customer is resident
|
|
37995
38526
|
* @default []
|
|
37996
38527
|
*/
|
|
37997
38528
|
taxes: number[];
|
|
@@ -38133,6 +38664,11 @@ export interface components {
|
|
|
38133
38664
|
* @description Additional notes related to the sales order.
|
|
38134
38665
|
*/
|
|
38135
38666
|
notes?: string;
|
|
38667
|
+
/**
|
|
38668
|
+
* Tax
|
|
38669
|
+
* @description tax id, visible when customer is not resident
|
|
38670
|
+
*/
|
|
38671
|
+
tax?: number;
|
|
38136
38672
|
/**
|
|
38137
38673
|
* Items
|
|
38138
38674
|
* @description List of items included in the sales order.
|
|
@@ -38551,44 +39087,12 @@ export interface components {
|
|
|
38551
39087
|
* @description field is number
|
|
38552
39088
|
*/
|
|
38553
39089
|
remaining: string;
|
|
38554
|
-
/** Taxes */
|
|
38555
|
-
taxes?: components["schemas"]["UnPaidAndPartiallyPaidTaxesResponseSchema"][];
|
|
38556
39090
|
};
|
|
38557
39091
|
/** UnPaidAndPartiallyPaidResponseSchema */
|
|
38558
39092
|
UnPaidAndPartiallyPaidResponseSchema: {
|
|
38559
39093
|
/** Salesinvoices */
|
|
38560
39094
|
salesInvoices: components["schemas"]["UnPaidAndPartiallyPaidInvoicesResponseSchema"][];
|
|
38561
39095
|
};
|
|
38562
|
-
/** UnPaidAndPartiallyPaidTaxesResponseSchema */
|
|
38563
|
-
UnPaidAndPartiallyPaidTaxesResponseSchema: {
|
|
38564
|
-
/**
|
|
38565
|
-
* Id
|
|
38566
|
-
* @description tax id
|
|
38567
|
-
*/
|
|
38568
|
-
id: number;
|
|
38569
|
-
/** Name */
|
|
38570
|
-
name: string;
|
|
38571
|
-
/**
|
|
38572
|
-
* Total
|
|
38573
|
-
* @description field is number
|
|
38574
|
-
*/
|
|
38575
|
-
total: string;
|
|
38576
|
-
/**
|
|
38577
|
-
* Secondarytotal
|
|
38578
|
-
* @description field is number
|
|
38579
|
-
*/
|
|
38580
|
-
secondaryTotal: string;
|
|
38581
|
-
/**
|
|
38582
|
-
* Companytotal
|
|
38583
|
-
* @description field is number
|
|
38584
|
-
*/
|
|
38585
|
-
companyTotal: string;
|
|
38586
|
-
/**
|
|
38587
|
-
* Remaining
|
|
38588
|
-
* @description field is number
|
|
38589
|
-
*/
|
|
38590
|
-
remaining: string;
|
|
38591
|
-
};
|
|
38592
39096
|
/** ReceiptVoucherItemDetailSchema */
|
|
38593
39097
|
ReceiptVoucherItemDetailSchema: {
|
|
38594
39098
|
/**
|
|
@@ -39069,11 +39573,6 @@ export interface components {
|
|
|
39069
39573
|
* @enum {string}
|
|
39070
39574
|
*/
|
|
39071
39575
|
DeliveryStatusValueChoices: "not_delivered" | "partially_delivered" | "delivered";
|
|
39072
|
-
/**
|
|
39073
|
-
* DocumentStatusValue
|
|
39074
|
-
* @enum {string}
|
|
39075
|
-
*/
|
|
39076
|
-
DocumentStatusValue: "draft" | "posted" | "submitted" | "canceled" | "sent";
|
|
39077
39576
|
/**
|
|
39078
39577
|
* PaymentStatusValueChoices
|
|
39079
39578
|
* @enum {string}
|
|
@@ -39368,6 +39867,8 @@ export interface components {
|
|
|
39368
39867
|
* @description Additional notes regarding the sales invoice.
|
|
39369
39868
|
*/
|
|
39370
39869
|
notes: string | null;
|
|
39870
|
+
/** @description visible when customer is not resident */
|
|
39871
|
+
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
39371
39872
|
/**
|
|
39372
39873
|
* Canreturn
|
|
39373
39874
|
* @description Indicates whether the sales invoice can be converted to delivery note
|
|
@@ -39473,6 +39974,7 @@ export interface components {
|
|
|
39473
39974
|
discount: number;
|
|
39474
39975
|
/**
|
|
39475
39976
|
* Taxes
|
|
39977
|
+
* @description visible when customer is resident
|
|
39476
39978
|
* @default []
|
|
39477
39979
|
*/
|
|
39478
39980
|
taxes: number[];
|
|
@@ -39624,6 +40126,11 @@ export interface components {
|
|
|
39624
40126
|
* @description List of items included in the sales invoice.
|
|
39625
40127
|
*/
|
|
39626
40128
|
items: components["schemas"]["CreateUpdateSalesInvoiceItemSchema"][];
|
|
40129
|
+
/**
|
|
40130
|
+
* Tax
|
|
40131
|
+
* @description tax id, visible when customer is not resident
|
|
40132
|
+
*/
|
|
40133
|
+
tax?: number;
|
|
39627
40134
|
};
|
|
39628
40135
|
/**
|
|
39629
40136
|
* SalesDocumentTypeSchema
|
|
@@ -40280,10 +40787,43 @@ export interface components {
|
|
|
40280
40787
|
/** Companytotal */
|
|
40281
40788
|
companyTotal: string;
|
|
40282
40789
|
};
|
|
40790
|
+
/** SalesReturnInvoiceItemTotalCalculated */
|
|
40791
|
+
SalesReturnInvoiceItemTotalCalculated: {
|
|
40792
|
+
/** Total */
|
|
40793
|
+
total: string;
|
|
40794
|
+
};
|
|
40795
|
+
/** SalesReturnInvoiceTotalCalculationResponse */
|
|
40796
|
+
SalesReturnInvoiceTotalCalculationResponse: {
|
|
40797
|
+
/** Subtotal */
|
|
40798
|
+
subtotal: string;
|
|
40799
|
+
/** Secondarysubtotal */
|
|
40800
|
+
secondarySubtotal: string;
|
|
40801
|
+
/** Companysubtotal */
|
|
40802
|
+
companySubtotal: string;
|
|
40803
|
+
/** Discountedtotal */
|
|
40804
|
+
discountedTotal: string;
|
|
40805
|
+
/** Secondarydiscountedtotal */
|
|
40806
|
+
secondaryDiscountedTotal: string;
|
|
40807
|
+
/** Companydiscountedtotal */
|
|
40808
|
+
companyDiscountedTotal: string;
|
|
40809
|
+
/** Taxamount */
|
|
40810
|
+
taxAmount: string;
|
|
40811
|
+
/** Secondarytaxamount */
|
|
40812
|
+
secondaryTaxAmount: string;
|
|
40813
|
+
/** Companytaxamount */
|
|
40814
|
+
companyTaxAmount: string;
|
|
40815
|
+
/** Total */
|
|
40816
|
+
total: string;
|
|
40817
|
+
/** Secondarytotal */
|
|
40818
|
+
secondaryTotal: string;
|
|
40819
|
+
/** Companytotal */
|
|
40820
|
+
companyTotal?: string | null;
|
|
40821
|
+
/** Items */
|
|
40822
|
+
items: components["schemas"]["SalesReturnInvoiceItemTotalCalculated"][];
|
|
40823
|
+
};
|
|
40283
40824
|
/** CalculateSalesReturnInvoiceItemsSchema */
|
|
40284
40825
|
CalculateSalesReturnInvoiceItemsSchema: {
|
|
40285
|
-
|
|
40286
|
-
salesInvoice: Record<string, never>;
|
|
40826
|
+
salesInvoice: components["schemas"]["SalesInvoiceForReturnInvoiceCreateSchema"];
|
|
40287
40827
|
/** Quantity */
|
|
40288
40828
|
quantity: number;
|
|
40289
40829
|
/** Unitpackage */
|
|
@@ -40366,35 +40906,6 @@ export interface components {
|
|
|
40366
40906
|
* @description field is number
|
|
40367
40907
|
*/
|
|
40368
40908
|
remaining: string;
|
|
40369
|
-
/** Taxes */
|
|
40370
|
-
taxes: components["schemas"]["SalesRefundableTaxesWithRemaining"][];
|
|
40371
|
-
};
|
|
40372
|
-
/** SalesRefundableTaxesWithRemaining */
|
|
40373
|
-
SalesRefundableTaxesWithRemaining: {
|
|
40374
|
-
/** Id */
|
|
40375
|
-
id: number;
|
|
40376
|
-
/** Name */
|
|
40377
|
-
name: string;
|
|
40378
|
-
/**
|
|
40379
|
-
* Total
|
|
40380
|
-
* @description field is number
|
|
40381
|
-
*/
|
|
40382
|
-
total: string;
|
|
40383
|
-
/**
|
|
40384
|
-
* Companytotal
|
|
40385
|
-
* @description field is number
|
|
40386
|
-
*/
|
|
40387
|
-
companyTotal: string;
|
|
40388
|
-
/**
|
|
40389
|
-
* Secondarytotal
|
|
40390
|
-
* @description field is number
|
|
40391
|
-
*/
|
|
40392
|
-
secondaryTotal: string;
|
|
40393
|
-
/**
|
|
40394
|
-
* Remaining
|
|
40395
|
-
* @description field is number
|
|
40396
|
-
*/
|
|
40397
|
-
remaining: string;
|
|
40398
40909
|
};
|
|
40399
40910
|
/** CalculateSalesRefundVoucherTotalResponse */
|
|
40400
40911
|
CalculateSalesRefundVoucherTotalResponse: {
|
|
@@ -40644,7 +41155,12 @@ export interface components {
|
|
|
40644
41155
|
date: string;
|
|
40645
41156
|
/**
|
|
40646
41157
|
* Customer
|
|
40647
|
-
* @description
|
|
41158
|
+
* @description
|
|
41159
|
+
* - customer id
|
|
41160
|
+
* API Endpoints for Customers Retrieval:
|
|
41161
|
+
* - Use the API: /api/v1/customers/
|
|
41162
|
+
* - Query Parameters: documentType = salesRefundVoucher , type = children
|
|
41163
|
+
*
|
|
40648
41164
|
*/
|
|
40649
41165
|
customer: number;
|
|
40650
41166
|
/** Description */
|
|
@@ -40965,7 +41481,12 @@ export interface components {
|
|
|
40965
41481
|
date: string;
|
|
40966
41482
|
/**
|
|
40967
41483
|
* Customer
|
|
40968
|
-
* @description
|
|
41484
|
+
* @description
|
|
41485
|
+
* - customer id
|
|
41486
|
+
* API Endpoints for Customers Retrieval:
|
|
41487
|
+
* - Use the API: /api/v1/customers/
|
|
41488
|
+
* - Query Parameters: documentType = salesRefundVoucher , type = children
|
|
41489
|
+
*
|
|
40969
41490
|
*/
|
|
40970
41491
|
customer: number;
|
|
40971
41492
|
/** Description */
|
|
@@ -41828,6 +42349,212 @@ export interface components {
|
|
|
41828
42349
|
/** Items */
|
|
41829
42350
|
items: components["schemas"]["ReturnablePackageReconciliationItemUpdateSchema"][];
|
|
41830
42351
|
};
|
|
42352
|
+
/** ReturnReturnablePackageItemDetailSchema */
|
|
42353
|
+
ReturnReturnablePackageItemDetailSchema: {
|
|
42354
|
+
/**
|
|
42355
|
+
* Id
|
|
42356
|
+
* Format: uuid
|
|
42357
|
+
*/
|
|
42358
|
+
id: string;
|
|
42359
|
+
itemPackage: components["schemas"]["ItemPackageSummarySchema"];
|
|
42360
|
+
/** Quantity */
|
|
42361
|
+
quantity: number;
|
|
42362
|
+
};
|
|
42363
|
+
/** ReturnReturnablePackageResponse */
|
|
42364
|
+
ReturnReturnablePackageResponse: {
|
|
42365
|
+
/** Message */
|
|
42366
|
+
message: string;
|
|
42367
|
+
/** Code */
|
|
42368
|
+
code: string;
|
|
42369
|
+
data: components["schemas"]["ReturnReturnablePackageWithItemDetailSchema"];
|
|
42370
|
+
};
|
|
42371
|
+
/** ReturnReturnablePackageWithItemDetailSchema */
|
|
42372
|
+
ReturnReturnablePackageWithItemDetailSchema: {
|
|
42373
|
+
/**
|
|
42374
|
+
* Datecreated
|
|
42375
|
+
* Format: date-time
|
|
42376
|
+
*/
|
|
42377
|
+
dateCreated: string;
|
|
42378
|
+
/** Datemodified */
|
|
42379
|
+
dateModified: string | null;
|
|
42380
|
+
createdBy: components["schemas"]["RecordUserSchema"];
|
|
42381
|
+
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
42382
|
+
/**
|
|
42383
|
+
* Id
|
|
42384
|
+
* Format: uuid
|
|
42385
|
+
*/
|
|
42386
|
+
id: string;
|
|
42387
|
+
/** Serialnumber */
|
|
42388
|
+
serialNumber: string;
|
|
42389
|
+
customer: components["schemas"]["CustomerSharedSchema"];
|
|
42390
|
+
branch: components["schemas"]["BranchSummaryInfo"];
|
|
42391
|
+
/**
|
|
42392
|
+
* Date
|
|
42393
|
+
* Format: date
|
|
42394
|
+
*/
|
|
42395
|
+
date: string;
|
|
42396
|
+
goodsDeliveryNote: components["schemas"]["DocumentCommonSchema"];
|
|
42397
|
+
/** Description */
|
|
42398
|
+
description: string | null;
|
|
42399
|
+
/** Notes */
|
|
42400
|
+
notes: string | null;
|
|
42401
|
+
/** Attachments */
|
|
42402
|
+
attachments: string[] | null;
|
|
42403
|
+
status: components["schemas"]["RetrieveInternalStatusChoices"];
|
|
42404
|
+
approvalStatus: components["schemas"]["ApprovalChoices"];
|
|
42405
|
+
/** Items */
|
|
42406
|
+
items: components["schemas"]["ReturnReturnablePackageItemDetailSchema"][];
|
|
42407
|
+
};
|
|
42408
|
+
/** ReturnReturnablePackageCreateSchema */
|
|
42409
|
+
ReturnReturnablePackageCreateSchema: {
|
|
42410
|
+
/**
|
|
42411
|
+
* Customer
|
|
42412
|
+
* @description
|
|
42413
|
+
* API Endpoints for Customers:
|
|
42414
|
+
* - Use the API: /api/v1/customers/
|
|
42415
|
+
* - Query Params : documentType = salesReturnPackage, type = children
|
|
42416
|
+
*/
|
|
42417
|
+
customer: number;
|
|
42418
|
+
/**
|
|
42419
|
+
* Date
|
|
42420
|
+
* Format: date
|
|
42421
|
+
* @description
|
|
42422
|
+
* - Format: yyyy-mm-dd
|
|
42423
|
+
*/
|
|
42424
|
+
date: string;
|
|
42425
|
+
/**
|
|
42426
|
+
* Goodsdeliverynote
|
|
42427
|
+
* Format: uuid
|
|
42428
|
+
* @description
|
|
42429
|
+
* - delivery note id
|
|
42430
|
+
* API Endpoints for Goods Delivery Note:
|
|
42431
|
+
* - Use the API: /api/v1/inventory/goods-delivery_note/
|
|
42432
|
+
* - Query Params : customer = {customer-id} , documentType = salesReturnPackage
|
|
42433
|
+
*
|
|
42434
|
+
*/
|
|
42435
|
+
goodsDeliveryNote: string;
|
|
42436
|
+
/** Description */
|
|
42437
|
+
description?: string;
|
|
42438
|
+
/** Notes */
|
|
42439
|
+
notes?: string;
|
|
42440
|
+
/**
|
|
42441
|
+
* Attachments
|
|
42442
|
+
* @description When upload file the type in payload should be returnreturnablepackage
|
|
42443
|
+
* @default []
|
|
42444
|
+
*/
|
|
42445
|
+
attachments: string[];
|
|
42446
|
+
status: components["schemas"]["InternalStatusChoices"];
|
|
42447
|
+
/** Items */
|
|
42448
|
+
items: components["schemas"]["ReturnReturnablePackageItemCreateSchema"][];
|
|
42449
|
+
};
|
|
42450
|
+
/** ReturnReturnablePackageItemCreateSchema */
|
|
42451
|
+
ReturnReturnablePackageItemCreateSchema: {
|
|
42452
|
+
/**
|
|
42453
|
+
* Itempackage
|
|
42454
|
+
* Format: uuid
|
|
42455
|
+
*/
|
|
42456
|
+
itemPackage: string;
|
|
42457
|
+
/** Quantity */
|
|
42458
|
+
quantity: number;
|
|
42459
|
+
};
|
|
42460
|
+
/** ReturnReturnablePackageDetailSchema */
|
|
42461
|
+
ReturnReturnablePackageDetailSchema: {
|
|
42462
|
+
/**
|
|
42463
|
+
* Datecreated
|
|
42464
|
+
* Format: date-time
|
|
42465
|
+
*/
|
|
42466
|
+
dateCreated: string;
|
|
42467
|
+
/** Datemodified */
|
|
42468
|
+
dateModified: string | null;
|
|
42469
|
+
createdBy: components["schemas"]["RecordUserSchema"];
|
|
42470
|
+
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
42471
|
+
/**
|
|
42472
|
+
* Id
|
|
42473
|
+
* Format: uuid
|
|
42474
|
+
*/
|
|
42475
|
+
id: string;
|
|
42476
|
+
/** Serialnumber */
|
|
42477
|
+
serialNumber: string;
|
|
42478
|
+
customer: components["schemas"]["CustomerSharedSchema"];
|
|
42479
|
+
branch: components["schemas"]["BranchSummaryInfo"];
|
|
42480
|
+
/**
|
|
42481
|
+
* Date
|
|
42482
|
+
* Format: date
|
|
42483
|
+
*/
|
|
42484
|
+
date: string;
|
|
42485
|
+
goodsDeliveryNote: components["schemas"]["DocumentCommonSchema"];
|
|
42486
|
+
/** Description */
|
|
42487
|
+
description: string | null;
|
|
42488
|
+
/** Notes */
|
|
42489
|
+
notes: string | null;
|
|
42490
|
+
/** Attachments */
|
|
42491
|
+
attachments: string[] | null;
|
|
42492
|
+
status: components["schemas"]["RetrieveInternalStatusChoices"];
|
|
42493
|
+
approvalStatus: components["schemas"]["ApprovalChoices"];
|
|
42494
|
+
};
|
|
42495
|
+
/** ReturnReturnablePackageListSchema */
|
|
42496
|
+
ReturnReturnablePackageListSchema: {
|
|
42497
|
+
info: components["schemas"]["PageInfoSchema"];
|
|
42498
|
+
/** Results */
|
|
42499
|
+
results: components["schemas"]["ReturnReturnablePackageDetailSchema"][];
|
|
42500
|
+
};
|
|
42501
|
+
/** ReturnReturnablePackageItemUpdateSchema */
|
|
42502
|
+
ReturnReturnablePackageItemUpdateSchema: {
|
|
42503
|
+
/**
|
|
42504
|
+
* Itempackage
|
|
42505
|
+
* Format: uuid
|
|
42506
|
+
*/
|
|
42507
|
+
itemPackage: string;
|
|
42508
|
+
/** Quantity */
|
|
42509
|
+
quantity: number;
|
|
42510
|
+
/**
|
|
42511
|
+
* Id
|
|
42512
|
+
* Format: uuid
|
|
42513
|
+
*/
|
|
42514
|
+
id?: string;
|
|
42515
|
+
};
|
|
42516
|
+
/** ReturnReturnablePackageUpdateSchema */
|
|
42517
|
+
ReturnReturnablePackageUpdateSchema: {
|
|
42518
|
+
/**
|
|
42519
|
+
* Customer
|
|
42520
|
+
* @description
|
|
42521
|
+
* API Endpoints for Customers:
|
|
42522
|
+
* - Use the API: /api/v1/customers/
|
|
42523
|
+
* - Query Params : documentType = salesReturnPackage, type = children
|
|
42524
|
+
*/
|
|
42525
|
+
customer: number;
|
|
42526
|
+
/**
|
|
42527
|
+
* Date
|
|
42528
|
+
* Format: date
|
|
42529
|
+
* @description
|
|
42530
|
+
* - Format: yyyy-mm-dd
|
|
42531
|
+
*/
|
|
42532
|
+
date: string;
|
|
42533
|
+
/**
|
|
42534
|
+
* Goodsdeliverynote
|
|
42535
|
+
* Format: uuid
|
|
42536
|
+
* @description
|
|
42537
|
+
* - delivery note id
|
|
42538
|
+
* API Endpoints for Goods Delivery Note:
|
|
42539
|
+
* - Use the API: /api/v1/inventory/goods-delivery_note/
|
|
42540
|
+
* - Query Params : customer = {customer-id} , documentType = salesReturnPackage
|
|
42541
|
+
*
|
|
42542
|
+
*/
|
|
42543
|
+
goodsDeliveryNote: string;
|
|
42544
|
+
/** Description */
|
|
42545
|
+
description?: string;
|
|
42546
|
+
/** Notes */
|
|
42547
|
+
notes?: string;
|
|
42548
|
+
/**
|
|
42549
|
+
* Attachments
|
|
42550
|
+
* @description When upload file the type in payload should be returnreturnablepackage
|
|
42551
|
+
* @default []
|
|
42552
|
+
*/
|
|
42553
|
+
attachments: string[];
|
|
42554
|
+
status: components["schemas"]["InternalStatusChoices"];
|
|
42555
|
+
/** Items */
|
|
42556
|
+
items: components["schemas"]["ReturnReturnablePackageItemUpdateSchema"][];
|
|
42557
|
+
};
|
|
41831
42558
|
};
|
|
41832
42559
|
responses: never;
|
|
41833
42560
|
parameters: never;
|
|
@@ -44327,7 +45054,7 @@ export interface operations {
|
|
|
44327
45054
|
parameters: {
|
|
44328
45055
|
query: {
|
|
44329
45056
|
branchId: number;
|
|
44330
|
-
type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque";
|
|
45057
|
+
type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales";
|
|
44331
45058
|
accountId?: number;
|
|
44332
45059
|
/** @description search by account number, name or type */
|
|
44333
45060
|
search?: string;
|
|
@@ -44482,7 +45209,7 @@ export interface operations {
|
|
|
44482
45209
|
parameters: {
|
|
44483
45210
|
query: {
|
|
44484
45211
|
branchId: number;
|
|
44485
|
-
type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque";
|
|
45212
|
+
type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales";
|
|
44486
45213
|
accountId?: number;
|
|
44487
45214
|
/** @description required when type [cheque, cash, credit card] */
|
|
44488
45215
|
supplierId?: number;
|
|
@@ -49410,7 +50137,7 @@ export interface operations {
|
|
|
49410
50137
|
};
|
|
49411
50138
|
requestBody: {
|
|
49412
50139
|
content: {
|
|
49413
|
-
"application/json": components["schemas"]["
|
|
50140
|
+
"application/json": components["schemas"]["CreateBrandSchema"];
|
|
49414
50141
|
};
|
|
49415
50142
|
};
|
|
49416
50143
|
responses: {
|
|
@@ -52132,7 +52859,7 @@ export interface operations {
|
|
|
52132
52859
|
/** @description Type of customer to get */
|
|
52133
52860
|
type?: "parents" | "children";
|
|
52134
52861
|
/** @description type of document for listing customers, example : receiptVoucher */
|
|
52135
|
-
documentType?: "default" | "receiptVoucher" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage";
|
|
52862
|
+
documentType?: "default" | "receiptVoucher" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "salesRefundVoucher";
|
|
52136
52863
|
search?: string | null;
|
|
52137
52864
|
};
|
|
52138
52865
|
header?: never;
|
|
@@ -52199,6 +52926,15 @@ export interface operations {
|
|
|
52199
52926
|
"application/json": components["schemas"]["IndividualCustomerSchema"];
|
|
52200
52927
|
};
|
|
52201
52928
|
};
|
|
52929
|
+
/** @description Bad Request */
|
|
52930
|
+
400: {
|
|
52931
|
+
headers: {
|
|
52932
|
+
[name: string]: unknown;
|
|
52933
|
+
};
|
|
52934
|
+
content: {
|
|
52935
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
52936
|
+
};
|
|
52937
|
+
};
|
|
52202
52938
|
/** @description Forbidden */
|
|
52203
52939
|
403: {
|
|
52204
52940
|
headers: {
|
|
@@ -52310,6 +53046,15 @@ export interface operations {
|
|
|
52310
53046
|
"application/json": components["schemas"]["CompanyCustomerSchema"];
|
|
52311
53047
|
};
|
|
52312
53048
|
};
|
|
53049
|
+
/** @description Bad Request */
|
|
53050
|
+
400: {
|
|
53051
|
+
headers: {
|
|
53052
|
+
[name: string]: unknown;
|
|
53053
|
+
};
|
|
53054
|
+
content: {
|
|
53055
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
53056
|
+
};
|
|
53057
|
+
};
|
|
52313
53058
|
/** @description Forbidden */
|
|
52314
53059
|
403: {
|
|
52315
53060
|
headers: {
|
|
@@ -53192,7 +53937,7 @@ export interface operations {
|
|
|
53192
53937
|
/** @description Page size */
|
|
53193
53938
|
pageSize?: number;
|
|
53194
53939
|
/** @description currencies ids, if user selected accountCurrency then you should send accountCurrency in list */
|
|
53195
|
-
currencies: (
|
|
53940
|
+
currencies: (number | string)[];
|
|
53196
53941
|
/** @description filter by account number or name */
|
|
53197
53942
|
filter_by_account_number_or_name?: string;
|
|
53198
53943
|
};
|
|
@@ -53259,7 +54004,7 @@ export interface operations {
|
|
|
53259
54004
|
/** @description Page size */
|
|
53260
54005
|
pageSize?: number;
|
|
53261
54006
|
/** @description currencies ids, if user selected accountCurrency then you should send accountCurrency in list */
|
|
53262
|
-
currencies: (
|
|
54007
|
+
currencies: (number | string)[];
|
|
53263
54008
|
/** @description filter by account number or name */
|
|
53264
54009
|
filter_by_account_number_or_name?: string;
|
|
53265
54010
|
};
|
|
@@ -53327,7 +54072,7 @@ export interface operations {
|
|
|
53327
54072
|
/** @description Page size */
|
|
53328
54073
|
pageSize?: number;
|
|
53329
54074
|
/** @description currencies ids,if user selected accountCurrency then you should send accountCurrency in list */
|
|
53330
|
-
currencies: (
|
|
54075
|
+
currencies: (number | string)[];
|
|
53331
54076
|
};
|
|
53332
54077
|
header?: never;
|
|
53333
54078
|
path?: never;
|
|
@@ -53391,7 +54136,7 @@ export interface operations {
|
|
|
53391
54136
|
/** @description Page size */
|
|
53392
54137
|
pageSize?: number;
|
|
53393
54138
|
/** @description currencies ids,if user selected accountCurrency then you should send accountCurrency in list */
|
|
53394
|
-
currencies: (
|
|
54139
|
+
currencies: (number | string)[];
|
|
53395
54140
|
/** @description filter by account number or name */
|
|
53396
54141
|
filter_by_account_number_or_name?: string;
|
|
53397
54142
|
};
|
|
@@ -53450,7 +54195,7 @@ export interface operations {
|
|
|
53450
54195
|
accountLevel: ("General" | "Detail")[];
|
|
53451
54196
|
mergeLedger?: boolean;
|
|
53452
54197
|
/** @description currencies ids,if user selected accountCurrency then you should send accountCurrency in list */
|
|
53453
|
-
currencies: (
|
|
54198
|
+
currencies: (number | string)[];
|
|
53454
54199
|
/** @description filter by account number or name */
|
|
53455
54200
|
filterByAccountNumberOrName?: string;
|
|
53456
54201
|
};
|
|
@@ -53491,7 +54236,7 @@ export interface operations {
|
|
|
53491
54236
|
accountLevel?: ("General" | "Detail")[];
|
|
53492
54237
|
mergeLedger?: boolean;
|
|
53493
54238
|
/** @description currencies ids,if user selected accountCurrency then you should send accountCurrency in list */
|
|
53494
|
-
currencies: (
|
|
54239
|
+
currencies: (number | string)[];
|
|
53495
54240
|
/** @description filter by account number or name */
|
|
53496
54241
|
filter_by_account_number_or_name?: string;
|
|
53497
54242
|
};
|
|
@@ -53550,7 +54295,7 @@ export interface operations {
|
|
|
53550
54295
|
/** @description Page size */
|
|
53551
54296
|
pageSize?: number;
|
|
53552
54297
|
/** @description currencies ids,if user selected accountCurrency then you should send accountCurrency in list */
|
|
53553
|
-
currencies: (
|
|
54298
|
+
currencies: (number | string)[];
|
|
53554
54299
|
};
|
|
53555
54300
|
header?: never;
|
|
53556
54301
|
path?: never;
|
|
@@ -53614,7 +54359,7 @@ export interface operations {
|
|
|
53614
54359
|
/** @description Page size */
|
|
53615
54360
|
pageSize?: number;
|
|
53616
54361
|
/** @description currencies ids,if user selected accountCurrency then you should send accountCurrency in list */
|
|
53617
|
-
currencies: (
|
|
54362
|
+
currencies: (number | string)[];
|
|
53618
54363
|
/** @description filter by account number or name */
|
|
53619
54364
|
filter_by_account_number_or_name?: string;
|
|
53620
54365
|
};
|
|
@@ -60552,7 +61297,7 @@ export interface operations {
|
|
|
60552
61297
|
[name: string]: unknown;
|
|
60553
61298
|
};
|
|
60554
61299
|
content: {
|
|
60555
|
-
"application/json": components["schemas"]["
|
|
61300
|
+
"application/json": components["schemas"]["PurchaseRequisitionCalculateTotalResponse"];
|
|
60556
61301
|
};
|
|
60557
61302
|
};
|
|
60558
61303
|
/** @description Bad Request */
|
|
@@ -75307,7 +76052,7 @@ export interface operations {
|
|
|
75307
76052
|
[name: string]: unknown;
|
|
75308
76053
|
};
|
|
75309
76054
|
content: {
|
|
75310
|
-
"application/json": components["schemas"]["
|
|
76055
|
+
"application/json": components["schemas"]["SalesReturnInvoiceTotalCalculationResponse"];
|
|
75311
76056
|
};
|
|
75312
76057
|
};
|
|
75313
76058
|
/** @description Bad Request */
|
|
@@ -76773,27 +77518,305 @@ export interface operations {
|
|
|
76773
77518
|
};
|
|
76774
77519
|
};
|
|
76775
77520
|
};
|
|
76776
|
-
erp_settings_accountingsetting_views_create_default_subsidiary_account: {
|
|
77521
|
+
erp_settings_accountingsetting_views_create_default_subsidiary_account: {
|
|
77522
|
+
parameters: {
|
|
77523
|
+
query?: never;
|
|
77524
|
+
header?: never;
|
|
77525
|
+
path?: never;
|
|
77526
|
+
cookie?: never;
|
|
77527
|
+
};
|
|
77528
|
+
requestBody: {
|
|
77529
|
+
content: {
|
|
77530
|
+
"application/json": components["schemas"]["DefaultSubsidiaryAccountSchema"];
|
|
77531
|
+
};
|
|
77532
|
+
};
|
|
77533
|
+
responses: {
|
|
77534
|
+
/** @description Created */
|
|
77535
|
+
201: {
|
|
77536
|
+
headers: {
|
|
77537
|
+
[name: string]: unknown;
|
|
77538
|
+
};
|
|
77539
|
+
content: {
|
|
77540
|
+
"application/json": components["schemas"]["DefaultSubsidiaryAccountResponse"];
|
|
77541
|
+
};
|
|
77542
|
+
};
|
|
77543
|
+
/** @description Bad Request */
|
|
77544
|
+
400: {
|
|
77545
|
+
headers: {
|
|
77546
|
+
[name: string]: unknown;
|
|
77547
|
+
};
|
|
77548
|
+
content: {
|
|
77549
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
77550
|
+
};
|
|
77551
|
+
};
|
|
77552
|
+
/** @description Forbidden */
|
|
77553
|
+
403: {
|
|
77554
|
+
headers: {
|
|
77555
|
+
[name: string]: unknown;
|
|
77556
|
+
};
|
|
77557
|
+
content: {
|
|
77558
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77559
|
+
};
|
|
77560
|
+
};
|
|
77561
|
+
/** @description Internal Server Error */
|
|
77562
|
+
500: {
|
|
77563
|
+
headers: {
|
|
77564
|
+
[name: string]: unknown;
|
|
77565
|
+
};
|
|
77566
|
+
content: {
|
|
77567
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77568
|
+
};
|
|
77569
|
+
};
|
|
77570
|
+
};
|
|
77571
|
+
};
|
|
77572
|
+
sales_credit_note_views_list_sales_credit_notes: {
|
|
77573
|
+
parameters: {
|
|
77574
|
+
query?: {
|
|
77575
|
+
/** @description Period type: thisMonth, thisYear, lastMonth, custom, ..., if no value is provided, the default date filtration for user will be used */
|
|
77576
|
+
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom";
|
|
77577
|
+
/** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
77578
|
+
startDate?: string | null;
|
|
77579
|
+
/** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
77580
|
+
endDate?: string | null;
|
|
77581
|
+
/** @description search by credit note number, description, customer name or account number, invoice number */
|
|
77582
|
+
search?: string;
|
|
77583
|
+
};
|
|
77584
|
+
header?: never;
|
|
77585
|
+
path?: never;
|
|
77586
|
+
cookie?: never;
|
|
77587
|
+
};
|
|
77588
|
+
requestBody?: never;
|
|
77589
|
+
responses: {
|
|
77590
|
+
/** @description OK */
|
|
77591
|
+
200: {
|
|
77592
|
+
headers: {
|
|
77593
|
+
[name: string]: unknown;
|
|
77594
|
+
};
|
|
77595
|
+
content: {
|
|
77596
|
+
"application/json": components["schemas"]["SalesCreditNoteListSchema"];
|
|
77597
|
+
};
|
|
77598
|
+
};
|
|
77599
|
+
/** @description Bad Request */
|
|
77600
|
+
400: {
|
|
77601
|
+
headers: {
|
|
77602
|
+
[name: string]: unknown;
|
|
77603
|
+
};
|
|
77604
|
+
content: {
|
|
77605
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
77606
|
+
};
|
|
77607
|
+
};
|
|
77608
|
+
/** @description Forbidden */
|
|
77609
|
+
403: {
|
|
77610
|
+
headers: {
|
|
77611
|
+
[name: string]: unknown;
|
|
77612
|
+
};
|
|
77613
|
+
content: {
|
|
77614
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77615
|
+
};
|
|
77616
|
+
};
|
|
77617
|
+
/** @description Internal Server Error */
|
|
77618
|
+
500: {
|
|
77619
|
+
headers: {
|
|
77620
|
+
[name: string]: unknown;
|
|
77621
|
+
};
|
|
77622
|
+
content: {
|
|
77623
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77624
|
+
};
|
|
77625
|
+
};
|
|
77626
|
+
};
|
|
77627
|
+
};
|
|
77628
|
+
sales_credit_note_views_new_sales_credit_note: {
|
|
77629
|
+
parameters: {
|
|
77630
|
+
query?: never;
|
|
77631
|
+
header?: never;
|
|
77632
|
+
path?: never;
|
|
77633
|
+
cookie?: never;
|
|
77634
|
+
};
|
|
77635
|
+
requestBody: {
|
|
77636
|
+
content: {
|
|
77637
|
+
"application/json": components["schemas"]["SalesCreditNoteCreateSchema"];
|
|
77638
|
+
};
|
|
77639
|
+
};
|
|
77640
|
+
responses: {
|
|
77641
|
+
/** @description Created */
|
|
77642
|
+
201: {
|
|
77643
|
+
headers: {
|
|
77644
|
+
[name: string]: unknown;
|
|
77645
|
+
};
|
|
77646
|
+
content: {
|
|
77647
|
+
"application/json": components["schemas"]["SalesCreditNoteResponse"];
|
|
77648
|
+
};
|
|
77649
|
+
};
|
|
77650
|
+
/** @description Bad Request */
|
|
77651
|
+
400: {
|
|
77652
|
+
headers: {
|
|
77653
|
+
[name: string]: unknown;
|
|
77654
|
+
};
|
|
77655
|
+
content: {
|
|
77656
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
77657
|
+
};
|
|
77658
|
+
};
|
|
77659
|
+
/** @description Forbidden */
|
|
77660
|
+
403: {
|
|
77661
|
+
headers: {
|
|
77662
|
+
[name: string]: unknown;
|
|
77663
|
+
};
|
|
77664
|
+
content: {
|
|
77665
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77666
|
+
};
|
|
77667
|
+
};
|
|
77668
|
+
/** @description Internal Server Error */
|
|
77669
|
+
500: {
|
|
77670
|
+
headers: {
|
|
77671
|
+
[name: string]: unknown;
|
|
77672
|
+
};
|
|
77673
|
+
content: {
|
|
77674
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77675
|
+
};
|
|
77676
|
+
};
|
|
77677
|
+
};
|
|
77678
|
+
};
|
|
77679
|
+
sales_credit_note_views_get_sales_credit_note: {
|
|
77680
|
+
parameters: {
|
|
77681
|
+
query?: never;
|
|
77682
|
+
header?: never;
|
|
77683
|
+
path: {
|
|
77684
|
+
id: string;
|
|
77685
|
+
};
|
|
77686
|
+
cookie?: never;
|
|
77687
|
+
};
|
|
77688
|
+
requestBody?: never;
|
|
77689
|
+
responses: {
|
|
77690
|
+
/** @description OK */
|
|
77691
|
+
200: {
|
|
77692
|
+
headers: {
|
|
77693
|
+
[name: string]: unknown;
|
|
77694
|
+
};
|
|
77695
|
+
content: {
|
|
77696
|
+
"application/json": components["schemas"]["SalesCreditNoteWithItemDetailSchema"];
|
|
77697
|
+
};
|
|
77698
|
+
};
|
|
77699
|
+
/** @description Bad Request */
|
|
77700
|
+
400: {
|
|
77701
|
+
headers: {
|
|
77702
|
+
[name: string]: unknown;
|
|
77703
|
+
};
|
|
77704
|
+
content: {
|
|
77705
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
77706
|
+
};
|
|
77707
|
+
};
|
|
77708
|
+
/** @description Forbidden */
|
|
77709
|
+
403: {
|
|
77710
|
+
headers: {
|
|
77711
|
+
[name: string]: unknown;
|
|
77712
|
+
};
|
|
77713
|
+
content: {
|
|
77714
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77715
|
+
};
|
|
77716
|
+
};
|
|
77717
|
+
/** @description Not Found */
|
|
77718
|
+
404: {
|
|
77719
|
+
headers: {
|
|
77720
|
+
[name: string]: unknown;
|
|
77721
|
+
};
|
|
77722
|
+
content: {
|
|
77723
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77724
|
+
};
|
|
77725
|
+
};
|
|
77726
|
+
/** @description Internal Server Error */
|
|
77727
|
+
500: {
|
|
77728
|
+
headers: {
|
|
77729
|
+
[name: string]: unknown;
|
|
77730
|
+
};
|
|
77731
|
+
content: {
|
|
77732
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77733
|
+
};
|
|
77734
|
+
};
|
|
77735
|
+
};
|
|
77736
|
+
};
|
|
77737
|
+
sales_credit_note_views_update_sales_credit_note: {
|
|
77738
|
+
parameters: {
|
|
77739
|
+
query?: never;
|
|
77740
|
+
header?: never;
|
|
77741
|
+
path: {
|
|
77742
|
+
id: string;
|
|
77743
|
+
};
|
|
77744
|
+
cookie?: never;
|
|
77745
|
+
};
|
|
77746
|
+
requestBody: {
|
|
77747
|
+
content: {
|
|
77748
|
+
"application/json": components["schemas"]["SalesCreditNoteUpdateSchema"];
|
|
77749
|
+
};
|
|
77750
|
+
};
|
|
77751
|
+
responses: {
|
|
77752
|
+
/** @description OK */
|
|
77753
|
+
200: {
|
|
77754
|
+
headers: {
|
|
77755
|
+
[name: string]: unknown;
|
|
77756
|
+
};
|
|
77757
|
+
content: {
|
|
77758
|
+
"application/json": components["schemas"]["SalesCreditNoteResponse"];
|
|
77759
|
+
};
|
|
77760
|
+
};
|
|
77761
|
+
/** @description Bad Request */
|
|
77762
|
+
400: {
|
|
77763
|
+
headers: {
|
|
77764
|
+
[name: string]: unknown;
|
|
77765
|
+
};
|
|
77766
|
+
content: {
|
|
77767
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
77768
|
+
};
|
|
77769
|
+
};
|
|
77770
|
+
/** @description Forbidden */
|
|
77771
|
+
403: {
|
|
77772
|
+
headers: {
|
|
77773
|
+
[name: string]: unknown;
|
|
77774
|
+
};
|
|
77775
|
+
content: {
|
|
77776
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77777
|
+
};
|
|
77778
|
+
};
|
|
77779
|
+
/** @description Not Found */
|
|
77780
|
+
404: {
|
|
77781
|
+
headers: {
|
|
77782
|
+
[name: string]: unknown;
|
|
77783
|
+
};
|
|
77784
|
+
content: {
|
|
77785
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77786
|
+
};
|
|
77787
|
+
};
|
|
77788
|
+
/** @description Internal Server Error */
|
|
77789
|
+
500: {
|
|
77790
|
+
headers: {
|
|
77791
|
+
[name: string]: unknown;
|
|
77792
|
+
};
|
|
77793
|
+
content: {
|
|
77794
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77795
|
+
};
|
|
77796
|
+
};
|
|
77797
|
+
};
|
|
77798
|
+
};
|
|
77799
|
+
sales_credit_note_views_delete_sales_credit_note: {
|
|
76777
77800
|
parameters: {
|
|
76778
77801
|
query?: never;
|
|
76779
77802
|
header?: never;
|
|
76780
|
-
path
|
|
77803
|
+
path: {
|
|
77804
|
+
id: string;
|
|
77805
|
+
};
|
|
76781
77806
|
cookie?: never;
|
|
76782
77807
|
};
|
|
76783
77808
|
requestBody: {
|
|
76784
77809
|
content: {
|
|
76785
|
-
"application/json": components["schemas"]["
|
|
77810
|
+
"application/json": components["schemas"]["SalesCreditNoteDeleteSchema"];
|
|
76786
77811
|
};
|
|
76787
77812
|
};
|
|
76788
77813
|
responses: {
|
|
76789
|
-
/** @description
|
|
76790
|
-
|
|
77814
|
+
/** @description No Content */
|
|
77815
|
+
204: {
|
|
76791
77816
|
headers: {
|
|
76792
77817
|
[name: string]: unknown;
|
|
76793
77818
|
};
|
|
76794
|
-
content
|
|
76795
|
-
"application/json": components["schemas"]["DefaultSubsidiaryAccountResponse"];
|
|
76796
|
-
};
|
|
77819
|
+
content?: never;
|
|
76797
77820
|
};
|
|
76798
77821
|
/** @description Bad Request */
|
|
76799
77822
|
400: {
|
|
@@ -76813,6 +77836,15 @@ export interface operations {
|
|
|
76813
77836
|
"application/json": components["schemas"]["MessageResponse"];
|
|
76814
77837
|
};
|
|
76815
77838
|
};
|
|
77839
|
+
/** @description Not Found */
|
|
77840
|
+
404: {
|
|
77841
|
+
headers: {
|
|
77842
|
+
[name: string]: unknown;
|
|
77843
|
+
};
|
|
77844
|
+
content: {
|
|
77845
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77846
|
+
};
|
|
77847
|
+
};
|
|
76816
77848
|
/** @description Internal Server Error */
|
|
76817
77849
|
500: {
|
|
76818
77850
|
headers: {
|
|
@@ -76824,23 +77856,20 @@ export interface operations {
|
|
|
76824
77856
|
};
|
|
76825
77857
|
};
|
|
76826
77858
|
};
|
|
76827
|
-
|
|
77859
|
+
sales_credit_note_views_cancel_sales_credit_note: {
|
|
76828
77860
|
parameters: {
|
|
76829
|
-
query?:
|
|
76830
|
-
/** @description Period type: thisMonth, thisYear, lastMonth, custom, ..., if no value is provided, the default date filtration for user will be used */
|
|
76831
|
-
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom";
|
|
76832
|
-
/** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
76833
|
-
startDate?: string | null;
|
|
76834
|
-
/** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
76835
|
-
endDate?: string | null;
|
|
76836
|
-
/** @description search by credit note number, description, customer name or account number, invoice number */
|
|
76837
|
-
search?: string;
|
|
76838
|
-
};
|
|
77861
|
+
query?: never;
|
|
76839
77862
|
header?: never;
|
|
76840
|
-
path
|
|
77863
|
+
path: {
|
|
77864
|
+
id: string;
|
|
77865
|
+
};
|
|
76841
77866
|
cookie?: never;
|
|
76842
77867
|
};
|
|
76843
|
-
requestBody
|
|
77868
|
+
requestBody: {
|
|
77869
|
+
content: {
|
|
77870
|
+
"application/json": components["schemas"]["SalesCreditNoteActionsSchema"];
|
|
77871
|
+
};
|
|
77872
|
+
};
|
|
76844
77873
|
responses: {
|
|
76845
77874
|
/** @description OK */
|
|
76846
77875
|
200: {
|
|
@@ -76848,7 +77877,7 @@ export interface operations {
|
|
|
76848
77877
|
[name: string]: unknown;
|
|
76849
77878
|
};
|
|
76850
77879
|
content: {
|
|
76851
|
-
"application/json": components["schemas"]["
|
|
77880
|
+
"application/json": components["schemas"]["SalesCreditNoteResponse"];
|
|
76852
77881
|
};
|
|
76853
77882
|
};
|
|
76854
77883
|
/** @description Bad Request */
|
|
@@ -76869,6 +77898,15 @@ export interface operations {
|
|
|
76869
77898
|
"application/json": components["schemas"]["MessageResponse"];
|
|
76870
77899
|
};
|
|
76871
77900
|
};
|
|
77901
|
+
/** @description Not Found */
|
|
77902
|
+
404: {
|
|
77903
|
+
headers: {
|
|
77904
|
+
[name: string]: unknown;
|
|
77905
|
+
};
|
|
77906
|
+
content: {
|
|
77907
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77908
|
+
};
|
|
77909
|
+
};
|
|
76872
77910
|
/** @description Internal Server Error */
|
|
76873
77911
|
500: {
|
|
76874
77912
|
headers: {
|
|
@@ -76880,21 +77918,23 @@ export interface operations {
|
|
|
76880
77918
|
};
|
|
76881
77919
|
};
|
|
76882
77920
|
};
|
|
76883
|
-
|
|
77921
|
+
sales_credit_note_views_reset_credit_note_to_draft: {
|
|
76884
77922
|
parameters: {
|
|
76885
77923
|
query?: never;
|
|
76886
77924
|
header?: never;
|
|
76887
|
-
path
|
|
77925
|
+
path: {
|
|
77926
|
+
id: string;
|
|
77927
|
+
};
|
|
76888
77928
|
cookie?: never;
|
|
76889
77929
|
};
|
|
76890
77930
|
requestBody: {
|
|
76891
77931
|
content: {
|
|
76892
|
-
"application/json": components["schemas"]["
|
|
77932
|
+
"application/json": components["schemas"]["SalesCreditNoteActionsSchema"];
|
|
76893
77933
|
};
|
|
76894
77934
|
};
|
|
76895
77935
|
responses: {
|
|
76896
|
-
/** @description
|
|
76897
|
-
|
|
77936
|
+
/** @description OK */
|
|
77937
|
+
200: {
|
|
76898
77938
|
headers: {
|
|
76899
77939
|
[name: string]: unknown;
|
|
76900
77940
|
};
|
|
@@ -76920,6 +77960,15 @@ export interface operations {
|
|
|
76920
77960
|
"application/json": components["schemas"]["MessageResponse"];
|
|
76921
77961
|
};
|
|
76922
77962
|
};
|
|
77963
|
+
/** @description Not Found */
|
|
77964
|
+
404: {
|
|
77965
|
+
headers: {
|
|
77966
|
+
[name: string]: unknown;
|
|
77967
|
+
};
|
|
77968
|
+
content: {
|
|
77969
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77970
|
+
};
|
|
77971
|
+
};
|
|
76923
77972
|
/** @description Internal Server Error */
|
|
76924
77973
|
500: {
|
|
76925
77974
|
headers: {
|
|
@@ -76931,7 +77980,7 @@ export interface operations {
|
|
|
76931
77980
|
};
|
|
76932
77981
|
};
|
|
76933
77982
|
};
|
|
76934
|
-
|
|
77983
|
+
sales_credit_note_views_export_sales_credit_note_pdf: {
|
|
76935
77984
|
parameters: {
|
|
76936
77985
|
query?: never;
|
|
76937
77986
|
header?: never;
|
|
@@ -76948,7 +77997,7 @@ export interface operations {
|
|
|
76948
77997
|
[name: string]: unknown;
|
|
76949
77998
|
};
|
|
76950
77999
|
content: {
|
|
76951
|
-
"application/json":
|
|
78000
|
+
"application/json": string;
|
|
76952
78001
|
};
|
|
76953
78002
|
};
|
|
76954
78003
|
/** @description Bad Request */
|
|
@@ -76989,7 +78038,7 @@ export interface operations {
|
|
|
76989
78038
|
};
|
|
76990
78039
|
};
|
|
76991
78040
|
};
|
|
76992
|
-
|
|
78041
|
+
sales_credit_note_views_send_sales_credit_note_by_email: {
|
|
76993
78042
|
parameters: {
|
|
76994
78043
|
query?: never;
|
|
76995
78044
|
header?: never;
|
|
@@ -77000,7 +78049,7 @@ export interface operations {
|
|
|
77000
78049
|
};
|
|
77001
78050
|
requestBody: {
|
|
77002
78051
|
content: {
|
|
77003
|
-
"application/json": components["schemas"]["
|
|
78052
|
+
"application/json": components["schemas"]["EmailContentSchema"];
|
|
77004
78053
|
};
|
|
77005
78054
|
};
|
|
77006
78055
|
responses: {
|
|
@@ -77010,7 +78059,7 @@ export interface operations {
|
|
|
77010
78059
|
[name: string]: unknown;
|
|
77011
78060
|
};
|
|
77012
78061
|
content: {
|
|
77013
|
-
"application/json": components["schemas"]["
|
|
78062
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77014
78063
|
};
|
|
77015
78064
|
};
|
|
77016
78065
|
/** @description Bad Request */
|
|
@@ -77051,27 +78100,132 @@ export interface operations {
|
|
|
77051
78100
|
};
|
|
77052
78101
|
};
|
|
77053
78102
|
};
|
|
77054
|
-
|
|
78103
|
+
inventory_package_returnable_package_views_list_returnable_package_reconciliations: {
|
|
77055
78104
|
parameters: {
|
|
77056
|
-
query?:
|
|
78105
|
+
query?: {
|
|
78106
|
+
/** @description Period type: thisMonth, thisYear, lastMonth, custom, ...,default should be date filtration in user settings */
|
|
78107
|
+
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom";
|
|
78108
|
+
/** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
78109
|
+
startDate?: string | null;
|
|
78110
|
+
/** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
78111
|
+
endDate?: string | null;
|
|
78112
|
+
/** @description search by document number, document description, customer name, customer account number,item name, item barcode, item sku code or package name */
|
|
78113
|
+
search?: string;
|
|
78114
|
+
};
|
|
77057
78115
|
header?: never;
|
|
77058
|
-
path
|
|
77059
|
-
|
|
78116
|
+
path?: never;
|
|
78117
|
+
cookie?: never;
|
|
78118
|
+
};
|
|
78119
|
+
requestBody?: never;
|
|
78120
|
+
responses: {
|
|
78121
|
+
/** @description OK */
|
|
78122
|
+
200: {
|
|
78123
|
+
headers: {
|
|
78124
|
+
[name: string]: unknown;
|
|
78125
|
+
};
|
|
78126
|
+
content: {
|
|
78127
|
+
"application/json": components["schemas"]["ReturnablePackageReconciliationListSchema"];
|
|
78128
|
+
};
|
|
78129
|
+
};
|
|
78130
|
+
/** @description Bad Request */
|
|
78131
|
+
400: {
|
|
78132
|
+
headers: {
|
|
78133
|
+
[name: string]: unknown;
|
|
78134
|
+
};
|
|
78135
|
+
content: {
|
|
78136
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
78137
|
+
};
|
|
78138
|
+
};
|
|
78139
|
+
/** @description Forbidden */
|
|
78140
|
+
403: {
|
|
78141
|
+
headers: {
|
|
78142
|
+
[name: string]: unknown;
|
|
78143
|
+
};
|
|
78144
|
+
content: {
|
|
78145
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
78146
|
+
};
|
|
77060
78147
|
};
|
|
78148
|
+
/** @description Internal Server Error */
|
|
78149
|
+
500: {
|
|
78150
|
+
headers: {
|
|
78151
|
+
[name: string]: unknown;
|
|
78152
|
+
};
|
|
78153
|
+
content: {
|
|
78154
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
78155
|
+
};
|
|
78156
|
+
};
|
|
78157
|
+
};
|
|
78158
|
+
};
|
|
78159
|
+
inventory_package_returnable_package_views_new_returnable_package_reconciliation: {
|
|
78160
|
+
parameters: {
|
|
78161
|
+
query?: never;
|
|
78162
|
+
header?: never;
|
|
78163
|
+
path?: never;
|
|
77061
78164
|
cookie?: never;
|
|
77062
78165
|
};
|
|
77063
78166
|
requestBody: {
|
|
77064
78167
|
content: {
|
|
77065
|
-
"application/json": components["schemas"]["
|
|
78168
|
+
"application/json": components["schemas"]["ReturnablePackageReconciliationCreateSchema"];
|
|
77066
78169
|
};
|
|
77067
78170
|
};
|
|
77068
78171
|
responses: {
|
|
77069
|
-
/** @description
|
|
77070
|
-
|
|
78172
|
+
/** @description Created */
|
|
78173
|
+
201: {
|
|
77071
78174
|
headers: {
|
|
77072
78175
|
[name: string]: unknown;
|
|
77073
78176
|
};
|
|
77074
|
-
content
|
|
78177
|
+
content: {
|
|
78178
|
+
"application/json": components["schemas"]["ReturnablePackageReconciliationResponse"];
|
|
78179
|
+
};
|
|
78180
|
+
};
|
|
78181
|
+
/** @description Bad Request */
|
|
78182
|
+
400: {
|
|
78183
|
+
headers: {
|
|
78184
|
+
[name: string]: unknown;
|
|
78185
|
+
};
|
|
78186
|
+
content: {
|
|
78187
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
78188
|
+
};
|
|
78189
|
+
};
|
|
78190
|
+
/** @description Forbidden */
|
|
78191
|
+
403: {
|
|
78192
|
+
headers: {
|
|
78193
|
+
[name: string]: unknown;
|
|
78194
|
+
};
|
|
78195
|
+
content: {
|
|
78196
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
78197
|
+
};
|
|
78198
|
+
};
|
|
78199
|
+
/** @description Internal Server Error */
|
|
78200
|
+
500: {
|
|
78201
|
+
headers: {
|
|
78202
|
+
[name: string]: unknown;
|
|
78203
|
+
};
|
|
78204
|
+
content: {
|
|
78205
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
78206
|
+
};
|
|
78207
|
+
};
|
|
78208
|
+
};
|
|
78209
|
+
};
|
|
78210
|
+
inventory_package_returnable_package_views_get_returnable_package_reconciliation: {
|
|
78211
|
+
parameters: {
|
|
78212
|
+
query?: never;
|
|
78213
|
+
header?: never;
|
|
78214
|
+
path: {
|
|
78215
|
+
id: string;
|
|
78216
|
+
};
|
|
78217
|
+
cookie?: never;
|
|
78218
|
+
};
|
|
78219
|
+
requestBody?: never;
|
|
78220
|
+
responses: {
|
|
78221
|
+
/** @description OK */
|
|
78222
|
+
200: {
|
|
78223
|
+
headers: {
|
|
78224
|
+
[name: string]: unknown;
|
|
78225
|
+
};
|
|
78226
|
+
content: {
|
|
78227
|
+
"application/json": components["schemas"]["ReturnablePackageReconciliationWithItemDetailSchema"];
|
|
78228
|
+
};
|
|
77075
78229
|
};
|
|
77076
78230
|
/** @description Bad Request */
|
|
77077
78231
|
400: {
|
|
@@ -77111,7 +78265,7 @@ export interface operations {
|
|
|
77111
78265
|
};
|
|
77112
78266
|
};
|
|
77113
78267
|
};
|
|
77114
|
-
|
|
78268
|
+
inventory_package_returnable_package_views_edit_returnable_package_reconciliation: {
|
|
77115
78269
|
parameters: {
|
|
77116
78270
|
query?: never;
|
|
77117
78271
|
header?: never;
|
|
@@ -77122,7 +78276,7 @@ export interface operations {
|
|
|
77122
78276
|
};
|
|
77123
78277
|
requestBody: {
|
|
77124
78278
|
content: {
|
|
77125
|
-
"application/json": components["schemas"]["
|
|
78279
|
+
"application/json": components["schemas"]["ReturnablePackageReconciliationUpdateSchema"];
|
|
77126
78280
|
};
|
|
77127
78281
|
};
|
|
77128
78282
|
responses: {
|
|
@@ -77132,7 +78286,7 @@ export interface operations {
|
|
|
77132
78286
|
[name: string]: unknown;
|
|
77133
78287
|
};
|
|
77134
78288
|
content: {
|
|
77135
|
-
"application/json": components["schemas"]["
|
|
78289
|
+
"application/json": components["schemas"]["ReturnablePackageReconciliationResponse"];
|
|
77136
78290
|
};
|
|
77137
78291
|
};
|
|
77138
78292
|
/** @description Bad Request */
|
|
@@ -77173,7 +78327,7 @@ export interface operations {
|
|
|
77173
78327
|
};
|
|
77174
78328
|
};
|
|
77175
78329
|
};
|
|
77176
|
-
|
|
78330
|
+
inventory_package_returnable_package_views_delete_returnable_package_reconciliation: {
|
|
77177
78331
|
parameters: {
|
|
77178
78332
|
query?: never;
|
|
77179
78333
|
header?: never;
|
|
@@ -77182,20 +78336,14 @@ export interface operations {
|
|
|
77182
78336
|
};
|
|
77183
78337
|
cookie?: never;
|
|
77184
78338
|
};
|
|
77185
|
-
requestBody
|
|
77186
|
-
content: {
|
|
77187
|
-
"application/json": components["schemas"]["SalesCreditNoteActionsSchema"];
|
|
77188
|
-
};
|
|
77189
|
-
};
|
|
78339
|
+
requestBody?: never;
|
|
77190
78340
|
responses: {
|
|
77191
|
-
/** @description
|
|
77192
|
-
|
|
78341
|
+
/** @description No Content */
|
|
78342
|
+
204: {
|
|
77193
78343
|
headers: {
|
|
77194
78344
|
[name: string]: unknown;
|
|
77195
78345
|
};
|
|
77196
|
-
content
|
|
77197
|
-
"application/json": components["schemas"]["SalesCreditNoteResponse"];
|
|
77198
|
-
};
|
|
78346
|
+
content?: never;
|
|
77199
78347
|
};
|
|
77200
78348
|
/** @description Bad Request */
|
|
77201
78349
|
400: {
|
|
@@ -77235,7 +78383,7 @@ export interface operations {
|
|
|
77235
78383
|
};
|
|
77236
78384
|
};
|
|
77237
78385
|
};
|
|
77238
|
-
|
|
78386
|
+
inventory_package_returnable_package_views_cancel_returnable_package_reconciliation: {
|
|
77239
78387
|
parameters: {
|
|
77240
78388
|
query?: never;
|
|
77241
78389
|
header?: never;
|
|
@@ -77252,7 +78400,7 @@ export interface operations {
|
|
|
77252
78400
|
[name: string]: unknown;
|
|
77253
78401
|
};
|
|
77254
78402
|
content: {
|
|
77255
|
-
"application/json":
|
|
78403
|
+
"application/json": components["schemas"]["ReturnablePackageReconciliationResponse"];
|
|
77256
78404
|
};
|
|
77257
78405
|
};
|
|
77258
78406
|
/** @description Bad Request */
|
|
@@ -77293,7 +78441,7 @@ export interface operations {
|
|
|
77293
78441
|
};
|
|
77294
78442
|
};
|
|
77295
78443
|
};
|
|
77296
|
-
|
|
78444
|
+
inventory_package_returnable_package_views_reset_returnable_package_reconciliation_to_draft: {
|
|
77297
78445
|
parameters: {
|
|
77298
78446
|
query?: never;
|
|
77299
78447
|
header?: never;
|
|
@@ -77302,11 +78450,7 @@ export interface operations {
|
|
|
77302
78450
|
};
|
|
77303
78451
|
cookie?: never;
|
|
77304
78452
|
};
|
|
77305
|
-
requestBody
|
|
77306
|
-
content: {
|
|
77307
|
-
"application/json": components["schemas"]["EmailContentSchema"];
|
|
77308
|
-
};
|
|
77309
|
-
};
|
|
78453
|
+
requestBody?: never;
|
|
77310
78454
|
responses: {
|
|
77311
78455
|
/** @description OK */
|
|
77312
78456
|
200: {
|
|
@@ -77314,7 +78458,7 @@ export interface operations {
|
|
|
77314
78458
|
[name: string]: unknown;
|
|
77315
78459
|
};
|
|
77316
78460
|
content: {
|
|
77317
|
-
"application/json": components["schemas"]["
|
|
78461
|
+
"application/json": components["schemas"]["ReturnablePackageReconciliationResponse"];
|
|
77318
78462
|
};
|
|
77319
78463
|
};
|
|
77320
78464
|
/** @description Bad Request */
|
|
@@ -77355,16 +78499,16 @@ export interface operations {
|
|
|
77355
78499
|
};
|
|
77356
78500
|
};
|
|
77357
78501
|
};
|
|
77358
|
-
|
|
78502
|
+
inventory_package_returnable_package_views_list_return_returnable_packages: {
|
|
77359
78503
|
parameters: {
|
|
77360
78504
|
query?: {
|
|
77361
|
-
/** @description Period type: thisMonth, thisYear, lastMonth, custom,
|
|
78505
|
+
/** @description Period type: thisMonth, thisYear, lastMonth, custom, ... */
|
|
77362
78506
|
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom";
|
|
77363
78507
|
/** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
77364
78508
|
startDate?: string | null;
|
|
77365
78509
|
/** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
77366
78510
|
endDate?: string | null;
|
|
77367
|
-
/** @description search by document number, document description, customer name, customer account number,item name,
|
|
78511
|
+
/** @description search by document number, document description, customer name, customer account number,item name, package name or barcode */
|
|
77368
78512
|
search?: string;
|
|
77369
78513
|
};
|
|
77370
78514
|
header?: never;
|
|
@@ -77379,7 +78523,7 @@ export interface operations {
|
|
|
77379
78523
|
[name: string]: unknown;
|
|
77380
78524
|
};
|
|
77381
78525
|
content: {
|
|
77382
|
-
"application/json": components["schemas"]["
|
|
78526
|
+
"application/json": components["schemas"]["ReturnReturnablePackageListSchema"];
|
|
77383
78527
|
};
|
|
77384
78528
|
};
|
|
77385
78529
|
/** @description Bad Request */
|
|
@@ -77411,7 +78555,7 @@ export interface operations {
|
|
|
77411
78555
|
};
|
|
77412
78556
|
};
|
|
77413
78557
|
};
|
|
77414
|
-
|
|
78558
|
+
inventory_package_returnable_package_views_new_return_returnable_package: {
|
|
77415
78559
|
parameters: {
|
|
77416
78560
|
query?: never;
|
|
77417
78561
|
header?: never;
|
|
@@ -77420,7 +78564,7 @@ export interface operations {
|
|
|
77420
78564
|
};
|
|
77421
78565
|
requestBody: {
|
|
77422
78566
|
content: {
|
|
77423
|
-
"application/json": components["schemas"]["
|
|
78567
|
+
"application/json": components["schemas"]["ReturnReturnablePackageCreateSchema"];
|
|
77424
78568
|
};
|
|
77425
78569
|
};
|
|
77426
78570
|
responses: {
|
|
@@ -77430,7 +78574,7 @@ export interface operations {
|
|
|
77430
78574
|
[name: string]: unknown;
|
|
77431
78575
|
};
|
|
77432
78576
|
content: {
|
|
77433
|
-
"application/json": components["schemas"]["
|
|
78577
|
+
"application/json": components["schemas"]["ReturnReturnablePackageResponse"];
|
|
77434
78578
|
};
|
|
77435
78579
|
};
|
|
77436
78580
|
/** @description Bad Request */
|
|
@@ -77462,7 +78606,7 @@ export interface operations {
|
|
|
77462
78606
|
};
|
|
77463
78607
|
};
|
|
77464
78608
|
};
|
|
77465
|
-
|
|
78609
|
+
inventory_package_returnable_package_views_get_return_returnable_package: {
|
|
77466
78610
|
parameters: {
|
|
77467
78611
|
query?: never;
|
|
77468
78612
|
header?: never;
|
|
@@ -77479,7 +78623,7 @@ export interface operations {
|
|
|
77479
78623
|
[name: string]: unknown;
|
|
77480
78624
|
};
|
|
77481
78625
|
content: {
|
|
77482
|
-
"application/json": components["schemas"]["
|
|
78626
|
+
"application/json": components["schemas"]["ReturnReturnablePackageWithItemDetailSchema"];
|
|
77483
78627
|
};
|
|
77484
78628
|
};
|
|
77485
78629
|
/** @description Bad Request */
|
|
@@ -77520,7 +78664,7 @@ export interface operations {
|
|
|
77520
78664
|
};
|
|
77521
78665
|
};
|
|
77522
78666
|
};
|
|
77523
|
-
|
|
78667
|
+
inventory_package_returnable_package_views_edit_return_returnable_package: {
|
|
77524
78668
|
parameters: {
|
|
77525
78669
|
query?: never;
|
|
77526
78670
|
header?: never;
|
|
@@ -77531,7 +78675,7 @@ export interface operations {
|
|
|
77531
78675
|
};
|
|
77532
78676
|
requestBody: {
|
|
77533
78677
|
content: {
|
|
77534
|
-
"application/json": components["schemas"]["
|
|
78678
|
+
"application/json": components["schemas"]["ReturnReturnablePackageUpdateSchema"];
|
|
77535
78679
|
};
|
|
77536
78680
|
};
|
|
77537
78681
|
responses: {
|
|
@@ -77582,7 +78726,7 @@ export interface operations {
|
|
|
77582
78726
|
};
|
|
77583
78727
|
};
|
|
77584
78728
|
};
|
|
77585
|
-
|
|
78729
|
+
inventory_package_returnable_package_views_delete_return_returnable_package: {
|
|
77586
78730
|
parameters: {
|
|
77587
78731
|
query?: never;
|
|
77588
78732
|
header?: never;
|
|
@@ -77638,7 +78782,7 @@ export interface operations {
|
|
|
77638
78782
|
};
|
|
77639
78783
|
};
|
|
77640
78784
|
};
|
|
77641
|
-
|
|
78785
|
+
inventory_package_returnable_package_views_cancel_return_returnable_package: {
|
|
77642
78786
|
parameters: {
|
|
77643
78787
|
query?: never;
|
|
77644
78788
|
header?: never;
|
|
@@ -77655,7 +78799,7 @@ export interface operations {
|
|
|
77655
78799
|
[name: string]: unknown;
|
|
77656
78800
|
};
|
|
77657
78801
|
content: {
|
|
77658
|
-
"application/json": components["schemas"]["
|
|
78802
|
+
"application/json": components["schemas"]["ReturnReturnablePackageResponse"];
|
|
77659
78803
|
};
|
|
77660
78804
|
};
|
|
77661
78805
|
/** @description Bad Request */
|
|
@@ -77696,7 +78840,7 @@ export interface operations {
|
|
|
77696
78840
|
};
|
|
77697
78841
|
};
|
|
77698
78842
|
};
|
|
77699
|
-
|
|
78843
|
+
inventory_package_returnable_package_views_reset_return_returnable_package_to_draft: {
|
|
77700
78844
|
parameters: {
|
|
77701
78845
|
query?: never;
|
|
77702
78846
|
header?: never;
|
|
@@ -77713,7 +78857,7 @@ export interface operations {
|
|
|
77713
78857
|
[name: string]: unknown;
|
|
77714
78858
|
};
|
|
77715
78859
|
content: {
|
|
77716
|
-
"application/json": components["schemas"]["
|
|
78860
|
+
"application/json": components["schemas"]["ReturnReturnablePackageResponse"];
|
|
77717
78861
|
};
|
|
77718
78862
|
};
|
|
77719
78863
|
/** @description Bad Request */
|