@erp-galoper/types 1.0.5 → 1.0.6
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 +1413 -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 */
|
|
@@ -22959,6 +23201,11 @@ export interface components {
|
|
|
22959
23201
|
/** Description */
|
|
22960
23202
|
description: string;
|
|
22961
23203
|
};
|
|
23204
|
+
/** CreateBrandSchema */
|
|
23205
|
+
CreateBrandSchema: {
|
|
23206
|
+
/** Name */
|
|
23207
|
+
name: string;
|
|
23208
|
+
};
|
|
22962
23209
|
/** ListBrands */
|
|
22963
23210
|
ListBrands: {
|
|
22964
23211
|
info: components["schemas"]["PageInfoSchema"];
|
|
@@ -23749,7 +23996,7 @@ export interface components {
|
|
|
23749
23996
|
* CustomerDocumentTypeEnum
|
|
23750
23997
|
* @enum {string}
|
|
23751
23998
|
*/
|
|
23752
|
-
CustomerDocumentTypeEnum: "default" | "receiptVoucher" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage";
|
|
23999
|
+
CustomerDocumentTypeEnum: "default" | "receiptVoucher" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "salesRefundVoucher";
|
|
23753
24000
|
/**
|
|
23754
24001
|
* typeCustomers
|
|
23755
24002
|
* @enum {string}
|
|
@@ -23779,6 +24026,7 @@ export interface components {
|
|
|
23779
24026
|
balance: number;
|
|
23780
24027
|
/** Phone */
|
|
23781
24028
|
phone?: string | null;
|
|
24029
|
+
group: components["schemas"]["CustomerGroupInfoSchema"];
|
|
23782
24030
|
/**
|
|
23783
24031
|
* Attachments
|
|
23784
24032
|
* @default []
|
|
@@ -23787,6 +24035,16 @@ export interface components {
|
|
|
23787
24035
|
/** Currencies */
|
|
23788
24036
|
currencies: components["schemas"]["CommonCurrency"][];
|
|
23789
24037
|
};
|
|
24038
|
+
/** CustomerGroupInfoSchema */
|
|
24039
|
+
CustomerGroupInfoSchema: {
|
|
24040
|
+
/**
|
|
24041
|
+
* Id
|
|
24042
|
+
* Format: uuid
|
|
24043
|
+
*/
|
|
24044
|
+
id: string;
|
|
24045
|
+
/** Name */
|
|
24046
|
+
name: string;
|
|
24047
|
+
};
|
|
23790
24048
|
/** CustomerListSchema */
|
|
23791
24049
|
CustomerListSchema: {
|
|
23792
24050
|
info: components["schemas"]["PageInfoSchema"];
|
|
@@ -23931,6 +24189,7 @@ export interface components {
|
|
|
23931
24189
|
* @default true
|
|
23932
24190
|
*/
|
|
23933
24191
|
isResident: boolean | null;
|
|
24192
|
+
group: components["schemas"]["CustomerGroupInfoSchema"];
|
|
23934
24193
|
/**
|
|
23935
24194
|
* Shipmentinformation
|
|
23936
24195
|
* @default []
|
|
@@ -24077,6 +24336,11 @@ export interface components {
|
|
|
24077
24336
|
email?: string | null;
|
|
24078
24337
|
/** Walkinpos */
|
|
24079
24338
|
walkInPos?: boolean | null;
|
|
24339
|
+
/**
|
|
24340
|
+
* Group
|
|
24341
|
+
* @description from the list of contact segmentation choose group filtered by type = "customer"
|
|
24342
|
+
*/
|
|
24343
|
+
group?: string | null;
|
|
24080
24344
|
banks?: components["schemas"]["UpdateCustomerBankSchema"] | null;
|
|
24081
24345
|
shipmentInformation?: components["schemas"]["UpdateContactShipmentInformationSchema"] | null;
|
|
24082
24346
|
/**
|
|
@@ -24198,6 +24462,7 @@ export interface components {
|
|
|
24198
24462
|
* @default true
|
|
24199
24463
|
*/
|
|
24200
24464
|
isResident: boolean | null;
|
|
24465
|
+
group: components["schemas"]["CustomerGroupInfoSchema"];
|
|
24201
24466
|
/** Branches */
|
|
24202
24467
|
branches: components["schemas"]["CompanyCustomerBranchSchema"][];
|
|
24203
24468
|
/**
|
|
@@ -24299,6 +24564,11 @@ export interface components {
|
|
|
24299
24564
|
region?: number | null;
|
|
24300
24565
|
/** Email */
|
|
24301
24566
|
email?: string | null;
|
|
24567
|
+
/**
|
|
24568
|
+
* Group
|
|
24569
|
+
* @description from the list of contact segmentation choose group filtered by type = "customer"
|
|
24570
|
+
*/
|
|
24571
|
+
group?: string | null;
|
|
24302
24572
|
branches?: components["schemas"]["UpdateCustomerBranchSchema"] | null;
|
|
24303
24573
|
/**
|
|
24304
24574
|
* Attachments
|
|
@@ -24453,6 +24723,12 @@ export interface components {
|
|
|
24453
24723
|
* @default true
|
|
24454
24724
|
*/
|
|
24455
24725
|
isResident: boolean;
|
|
24726
|
+
/**
|
|
24727
|
+
* Group
|
|
24728
|
+
* Format: uuid
|
|
24729
|
+
* @description from the list of contact segmentation choose group filtered by type = "customer"
|
|
24730
|
+
*/
|
|
24731
|
+
group: string;
|
|
24456
24732
|
/** Banks */
|
|
24457
24733
|
banks: components["schemas"]["CreateCustomerBankSchema"][];
|
|
24458
24734
|
/** Shipmentinformation */
|
|
@@ -24515,6 +24791,12 @@ export interface components {
|
|
|
24515
24791
|
isResident: boolean;
|
|
24516
24792
|
/** Accountclassification */
|
|
24517
24793
|
accountClassification: number;
|
|
24794
|
+
/**
|
|
24795
|
+
* Group
|
|
24796
|
+
* Format: uuid
|
|
24797
|
+
* @description from the list of contact segmentation choose group filtered by type = "customer"
|
|
24798
|
+
*/
|
|
24799
|
+
group: string;
|
|
24518
24800
|
/** Branches */
|
|
24519
24801
|
branches: components["schemas"]["CreateCustomerBranchSchema"][];
|
|
24520
24802
|
/**
|
|
@@ -24615,6 +24897,16 @@ export interface components {
|
|
|
24615
24897
|
* @enum {string}
|
|
24616
24898
|
*/
|
|
24617
24899
|
typeSuppliers: "parents" | "children";
|
|
24900
|
+
/** ContactSegmentationSharedSchema */
|
|
24901
|
+
ContactSegmentationSharedSchema: {
|
|
24902
|
+
/**
|
|
24903
|
+
* Id
|
|
24904
|
+
* Format: uuid
|
|
24905
|
+
*/
|
|
24906
|
+
id: string;
|
|
24907
|
+
/** Name */
|
|
24908
|
+
name: string;
|
|
24909
|
+
};
|
|
24618
24910
|
/** SupplierForListSchema */
|
|
24619
24911
|
SupplierForListSchema: {
|
|
24620
24912
|
/**
|
|
@@ -24646,6 +24938,7 @@ export interface components {
|
|
|
24646
24938
|
* @default []
|
|
24647
24939
|
*/
|
|
24648
24940
|
attachments: string[];
|
|
24941
|
+
group: components["schemas"]["ContactSegmentationSharedSchema"];
|
|
24649
24942
|
};
|
|
24650
24943
|
/** SupplierListSchema */
|
|
24651
24944
|
SupplierListSchema: {
|
|
@@ -24734,6 +25027,12 @@ export interface components {
|
|
|
24734
25027
|
* @default []
|
|
24735
25028
|
*/
|
|
24736
25029
|
attachments: string[];
|
|
25030
|
+
/**
|
|
25031
|
+
* Group
|
|
25032
|
+
* Format: uuid
|
|
25033
|
+
* @description from the list of contact segmentation choose group filtered by type = "supplier"
|
|
25034
|
+
*/
|
|
25035
|
+
group: string;
|
|
24737
25036
|
};
|
|
24738
25037
|
/** SupplierBankSchema */
|
|
24739
25038
|
SupplierBankSchema: {
|
|
@@ -24820,6 +25119,7 @@ export interface components {
|
|
|
24820
25119
|
* @default []
|
|
24821
25120
|
*/
|
|
24822
25121
|
attachments: string[];
|
|
25122
|
+
group: components["schemas"]["ContactSegmentationSharedSchema"];
|
|
24823
25123
|
};
|
|
24824
25124
|
/** ChangeSupplierBankSchema */
|
|
24825
25125
|
ChangeSupplierBankSchema: {
|
|
@@ -24908,6 +25208,12 @@ export interface components {
|
|
|
24908
25208
|
* @default []
|
|
24909
25209
|
*/
|
|
24910
25210
|
attachments: string[] | null;
|
|
25211
|
+
/**
|
|
25212
|
+
* Group
|
|
25213
|
+
* Format: uuid
|
|
25214
|
+
* @description from the list of contact segmentation choose group filtered by type = "supplier"
|
|
25215
|
+
*/
|
|
25216
|
+
group?: string;
|
|
24911
25217
|
};
|
|
24912
25218
|
/** UpdateSupplierBankSchema */
|
|
24913
25219
|
UpdateSupplierBankSchema: {
|
|
@@ -25325,6 +25631,8 @@ export interface components {
|
|
|
25325
25631
|
code: string;
|
|
25326
25632
|
/** Default */
|
|
25327
25633
|
default: boolean;
|
|
25634
|
+
/** Issecondary */
|
|
25635
|
+
isSecondary: boolean;
|
|
25328
25636
|
/** Candelete */
|
|
25329
25637
|
canDelete: boolean;
|
|
25330
25638
|
};
|
|
@@ -25797,7 +26105,7 @@ export interface components {
|
|
|
25797
26105
|
/**
|
|
25798
26106
|
* Id
|
|
25799
26107
|
* Format: uuid
|
|
25800
|
-
* @example
|
|
26108
|
+
* @example 727c968a-289e-4a46-865a-9fc07e74e5b3
|
|
25801
26109
|
*/
|
|
25802
26110
|
id: string;
|
|
25803
26111
|
/**
|
|
@@ -26801,6 +27109,42 @@ export interface components {
|
|
|
26801
27109
|
employeeReceivable?: number | null;
|
|
26802
27110
|
/** Employeepayable */
|
|
26803
27111
|
employeePayable?: number | null;
|
|
27112
|
+
/** Deferredsalesofserviceresident */
|
|
27113
|
+
deferredSalesOfServiceResident?: number | null;
|
|
27114
|
+
/** Deferredsalesofservicediscountresident */
|
|
27115
|
+
deferredSalesOfServiceDiscountResident?: number | null;
|
|
27116
|
+
/** Deferredsalesofworksresident */
|
|
27117
|
+
deferredSalesOfWorksResident?: number | null;
|
|
27118
|
+
/** Deferredsalesofworksdiscountresident */
|
|
27119
|
+
deferredSalesOfWorksDiscountResident?: number | null;
|
|
27120
|
+
/** Deferredsalesofgoodsresident */
|
|
27121
|
+
deferredSalesOfGoodsResident?: number | null;
|
|
27122
|
+
/** Deferredsalesofgoodsdiscountresident */
|
|
27123
|
+
deferredSalesOfGoodsDiscountResident?: number | null;
|
|
27124
|
+
/** Deferredsalesofservicenonresident */
|
|
27125
|
+
deferredSalesOfServiceNonResident?: number | null;
|
|
27126
|
+
/** Deferredsalesofservicediscountnonresident */
|
|
27127
|
+
deferredSalesOfServiceDiscountNonResident?: number | null;
|
|
27128
|
+
/** Deferredsalesofworksnonresident */
|
|
27129
|
+
deferredSalesOfWorksNonResident?: number | null;
|
|
27130
|
+
/** Deferredsalesofworksdiscountnonresident */
|
|
27131
|
+
deferredSalesOfWorksDiscountNonResident?: number | null;
|
|
27132
|
+
/** Deferredsalesofgoodsnonresident */
|
|
27133
|
+
deferredSalesOfGoodsNonResident?: number | null;
|
|
27134
|
+
/** Deferredsalesofgoodsdiscountnonresident */
|
|
27135
|
+
deferredSalesOfGoodsDiscountNonResident?: number | null;
|
|
27136
|
+
/** Salescogsofserviceresident */
|
|
27137
|
+
salesCogsOfServiceResident?: number | null;
|
|
27138
|
+
/** Salescogsofworksresident */
|
|
27139
|
+
salesCogsOfWorksResident?: number | null;
|
|
27140
|
+
/** Salescogsofgoodsresident */
|
|
27141
|
+
salesCogsOfGoodsResident?: number | null;
|
|
27142
|
+
/** Salescogsofservicenonresident */
|
|
27143
|
+
salesCogsOfServiceNonResident?: number | null;
|
|
27144
|
+
/** Salescogsofworksnonresident */
|
|
27145
|
+
salesCogsOfWorksNonResident?: number | null;
|
|
27146
|
+
/** Salescogsofgoodsnonresident */
|
|
27147
|
+
salesCogsOfGoodsNonResident?: number | null;
|
|
26804
27148
|
};
|
|
26805
27149
|
/** ChartOfAccountInfoSchema */
|
|
26806
27150
|
ChartOfAccountInfoSchema: {
|
|
@@ -26946,6 +27290,24 @@ export interface components {
|
|
|
26946
27290
|
retailCustomer?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
26947
27291
|
employeeReceivable?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
26948
27292
|
employeePayable?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27293
|
+
deferredSalesOfServiceResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27294
|
+
deferredSalesOfServiceDiscountResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27295
|
+
deferredSalesOfWorksResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27296
|
+
deferredSalesOfWorksDiscountResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27297
|
+
deferredSalesOfGoodsResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27298
|
+
deferredSalesOfGoodsDiscountResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27299
|
+
deferredSalesOfServiceNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27300
|
+
deferredSalesOfServiceDiscountNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27301
|
+
deferredSalesOfWorksNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27302
|
+
deferredSalesOfWorksDiscountNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27303
|
+
deferredSalesOfGoodsNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27304
|
+
deferredSalesOfGoodsDiscountNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27305
|
+
salesCogsOfServiceResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27306
|
+
salesCogsOfWorksResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27307
|
+
salesCogsOfGoodsResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27308
|
+
salesCogsOfServiceNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27309
|
+
salesCogsOfWorksNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27310
|
+
salesCogsOfGoodsNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
26949
27311
|
};
|
|
26950
27312
|
/**
|
|
26951
27313
|
* SubsidiaryAccountListType
|
|
@@ -27150,6 +27512,42 @@ export interface components {
|
|
|
27150
27512
|
posSalesOfWorksReturn?: number | null;
|
|
27151
27513
|
/** Possalesofworksstock */
|
|
27152
27514
|
posSalesOfWorksStock?: number | null;
|
|
27515
|
+
/** Deferredsalesofserviceresident */
|
|
27516
|
+
deferredSalesOfServiceResident?: number | null;
|
|
27517
|
+
/** Deferredsalesofservicediscountresident */
|
|
27518
|
+
deferredSalesOfServiceDiscountResident?: number | null;
|
|
27519
|
+
/** Deferredsalesofworksresident */
|
|
27520
|
+
deferredSalesOfWorksResident?: number | null;
|
|
27521
|
+
/** Deferredsalesofworksdiscountresident */
|
|
27522
|
+
deferredSalesOfWorksDiscountResident?: number | null;
|
|
27523
|
+
/** Deferredsalesofgoodsresident */
|
|
27524
|
+
deferredSalesOfGoodsResident?: number | null;
|
|
27525
|
+
/** Deferredsalesofgoodsdiscountresident */
|
|
27526
|
+
deferredSalesOfGoodsDiscountResident?: number | null;
|
|
27527
|
+
/** Deferredsalesofservicenonresident */
|
|
27528
|
+
deferredSalesOfServiceNonResident?: number | null;
|
|
27529
|
+
/** Deferredsalesofservicediscountnonresident */
|
|
27530
|
+
deferredSalesOfServiceDiscountNonResident?: number | null;
|
|
27531
|
+
/** Deferredsalesofworksnonresident */
|
|
27532
|
+
deferredSalesOfWorksNonResident?: number | null;
|
|
27533
|
+
/** Deferredsalesofworksdiscountnonresident */
|
|
27534
|
+
deferredSalesOfWorksDiscountNonResident?: number | null;
|
|
27535
|
+
/** Deferredsalesofgoodsnonresident */
|
|
27536
|
+
deferredSalesOfGoodsNonResident?: number | null;
|
|
27537
|
+
/** Deferredsalesofgoodsdiscountnonresident */
|
|
27538
|
+
deferredSalesOfGoodsDiscountNonResident?: number | null;
|
|
27539
|
+
/** Salescogsofserviceresident */
|
|
27540
|
+
salesCogsOfServiceResident?: number | null;
|
|
27541
|
+
/** Salescogsofworksresident */
|
|
27542
|
+
salesCogsOfWorksResident?: number | null;
|
|
27543
|
+
/** Salescogsofgoodsresident */
|
|
27544
|
+
salesCogsOfGoodsResident?: number | null;
|
|
27545
|
+
/** Salescogsofservicenonresident */
|
|
27546
|
+
salesCogsOfServiceNonResident?: number | null;
|
|
27547
|
+
/** Salescogsofworksnonresident */
|
|
27548
|
+
salesCogsOfWorksNonResident?: number | null;
|
|
27549
|
+
/** Salescogsofgoodsnonresident */
|
|
27550
|
+
salesCogsOfGoodsNonResident?: number | null;
|
|
27153
27551
|
};
|
|
27154
27552
|
/** UpdateTransactionalSubsidiaryAccountsSchema */
|
|
27155
27553
|
UpdateTransactionalSubsidiaryAccountsSchema: {
|
|
@@ -27343,6 +27741,42 @@ export interface components {
|
|
|
27343
27741
|
posSalesOfWorksReturn?: number | null;
|
|
27344
27742
|
/** Possalesofworksstock */
|
|
27345
27743
|
posSalesOfWorksStock?: number | null;
|
|
27744
|
+
/** Deferredsalesofserviceresident */
|
|
27745
|
+
deferredSalesOfServiceResident?: number | null;
|
|
27746
|
+
/** Deferredsalesofservicediscountresident */
|
|
27747
|
+
deferredSalesOfServiceDiscountResident?: number | null;
|
|
27748
|
+
/** Deferredsalesofworksresident */
|
|
27749
|
+
deferredSalesOfWorksResident?: number | null;
|
|
27750
|
+
/** Deferredsalesofworksdiscountresident */
|
|
27751
|
+
deferredSalesOfWorksDiscountResident?: number | null;
|
|
27752
|
+
/** Deferredsalesofgoodsresident */
|
|
27753
|
+
deferredSalesOfGoodsResident?: number | null;
|
|
27754
|
+
/** Deferredsalesofgoodsdiscountresident */
|
|
27755
|
+
deferredSalesOfGoodsDiscountResident?: number | null;
|
|
27756
|
+
/** Deferredsalesofservicenonresident */
|
|
27757
|
+
deferredSalesOfServiceNonResident?: number | null;
|
|
27758
|
+
/** Deferredsalesofservicediscountnonresident */
|
|
27759
|
+
deferredSalesOfServiceDiscountNonResident?: number | null;
|
|
27760
|
+
/** Deferredsalesofworksnonresident */
|
|
27761
|
+
deferredSalesOfWorksNonResident?: number | null;
|
|
27762
|
+
/** Deferredsalesofworksdiscountnonresident */
|
|
27763
|
+
deferredSalesOfWorksDiscountNonResident?: number | null;
|
|
27764
|
+
/** Deferredsalesofgoodsnonresident */
|
|
27765
|
+
deferredSalesOfGoodsNonResident?: number | null;
|
|
27766
|
+
/** Deferredsalesofgoodsdiscountnonresident */
|
|
27767
|
+
deferredSalesOfGoodsDiscountNonResident?: number | null;
|
|
27768
|
+
/** Salescogsofserviceresident */
|
|
27769
|
+
salesCogsOfServiceResident?: number | null;
|
|
27770
|
+
/** Salescogsofworksresident */
|
|
27771
|
+
salesCogsOfWorksResident?: number | null;
|
|
27772
|
+
/** Salescogsofgoodsresident */
|
|
27773
|
+
salesCogsOfGoodsResident?: number | null;
|
|
27774
|
+
/** Salescogsofservicenonresident */
|
|
27775
|
+
salesCogsOfServiceNonResident?: number | null;
|
|
27776
|
+
/** Salescogsofworksnonresident */
|
|
27777
|
+
salesCogsOfWorksNonResident?: number | null;
|
|
27778
|
+
/** Salescogsofgoodsnonresident */
|
|
27779
|
+
salesCogsOfGoodsNonResident?: number | null;
|
|
27346
27780
|
};
|
|
27347
27781
|
/** RetrieveTransactionalSubsidiaryAccountsSchema */
|
|
27348
27782
|
RetrieveTransactionalSubsidiaryAccountsSchema: {
|
|
@@ -27454,6 +27888,24 @@ export interface components {
|
|
|
27454
27888
|
posSalesOfWorksDiscount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27455
27889
|
posSalesOfWorksReturn?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27456
27890
|
posSalesOfWorksStock?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27891
|
+
deferredSalesOfServiceResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27892
|
+
deferredSalesOfServiceDiscountResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27893
|
+
deferredSalesOfWorksResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27894
|
+
deferredSalesOfWorksDiscountResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27895
|
+
deferredSalesOfGoodsResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27896
|
+
deferredSalesOfGoodsDiscountResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27897
|
+
deferredSalesOfServiceNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27898
|
+
deferredSalesOfServiceDiscountNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27899
|
+
deferredSalesOfWorksNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27900
|
+
deferredSalesOfWorksDiscountNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27901
|
+
deferredSalesOfGoodsNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27902
|
+
deferredSalesOfGoodsDiscountNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27903
|
+
salesCogsOfServiceResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27904
|
+
salesCogsOfWorksResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27905
|
+
salesCogsOfGoodsResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27906
|
+
salesCogsOfServiceNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27907
|
+
salesCogsOfWorksNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27908
|
+
salesCogsOfGoodsNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27457
27909
|
};
|
|
27458
27910
|
/** ListTransactionalSubsidiaryAccountsSchema */
|
|
27459
27911
|
ListTransactionalSubsidiaryAccountsSchema: {
|
|
@@ -27571,6 +28023,24 @@ export interface components {
|
|
|
27571
28023
|
posSalesOfWorksDiscount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27572
28024
|
posSalesOfWorksReturn?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27573
28025
|
posSalesOfWorksStock?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28026
|
+
deferredSalesOfServiceResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28027
|
+
deferredSalesOfServiceDiscountResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28028
|
+
deferredSalesOfWorksResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28029
|
+
deferredSalesOfWorksDiscountResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28030
|
+
deferredSalesOfGoodsResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28031
|
+
deferredSalesOfGoodsDiscountResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28032
|
+
deferredSalesOfServiceNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28033
|
+
deferredSalesOfServiceDiscountNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28034
|
+
deferredSalesOfWorksNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28035
|
+
deferredSalesOfWorksDiscountNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28036
|
+
deferredSalesOfGoodsNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28037
|
+
deferredSalesOfGoodsDiscountNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28038
|
+
salesCogsOfServiceResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28039
|
+
salesCogsOfWorksResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28040
|
+
salesCogsOfGoodsResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28041
|
+
salesCogsOfServiceNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28042
|
+
salesCogsOfWorksNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28043
|
+
salesCogsOfGoodsNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27574
28044
|
/** Candelete */
|
|
27575
28045
|
canDelete: boolean;
|
|
27576
28046
|
};
|
|
@@ -27603,6 +28073,21 @@ export interface components {
|
|
|
27603
28073
|
* @description Tax Debtor/Creditor Balance Account , this should be dropdown of subsidiary accounts from Chart of accounts
|
|
27604
28074
|
*/
|
|
27605
28075
|
taxDebtorCreditorBalanceAccount: number | null;
|
|
28076
|
+
/**
|
|
28077
|
+
* Deferredsales
|
|
28078
|
+
* @description
|
|
28079
|
+
* - id of account from chart of account
|
|
28080
|
+
* Visibility and Requirement
|
|
28081
|
+
* - Visible when type includes sales
|
|
28082
|
+
* API Endpoints for deferred sales Retrieval:
|
|
28083
|
+
* - API Route : /api/v1/chart_of_account/?branchId=1&type=deferredSales
|
|
28084
|
+
*
|
|
28085
|
+
*/
|
|
28086
|
+
deferredSales?: number;
|
|
28087
|
+
/** Usdrate */
|
|
28088
|
+
usdRate: number;
|
|
28089
|
+
/** Companyrate */
|
|
28090
|
+
companyRate: number;
|
|
27606
28091
|
};
|
|
27607
28092
|
/** ListTaxes */
|
|
27608
28093
|
ListTaxes: {
|
|
@@ -27636,6 +28121,7 @@ export interface components {
|
|
|
27636
28121
|
ratePercentage: number;
|
|
27637
28122
|
/** @description Tax Debtor/Creditor Balance Account , this should be dropdown of subsidiary accounts from Chart of accounts */
|
|
27638
28123
|
taxDebtorCreditorBalanceAccount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28124
|
+
deferredSales: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27639
28125
|
/** Candelete */
|
|
27640
28126
|
canDelete: boolean;
|
|
27641
28127
|
};
|
|
@@ -27667,6 +28153,17 @@ export interface components {
|
|
|
27667
28153
|
* @description Tax Debtor/Creditor Balance Account , this should be dropdown of subsidiary accounts from Chart of accounts
|
|
27668
28154
|
*/
|
|
27669
28155
|
taxDebtorCreditorBalanceAccount?: number | null;
|
|
28156
|
+
/**
|
|
28157
|
+
* Deferredsales
|
|
28158
|
+
* @description
|
|
28159
|
+
* - id of account from chart of account
|
|
28160
|
+
* Visibility and Requirement
|
|
28161
|
+
* - Visible when type includes sales
|
|
28162
|
+
* API Endpoints for deferred sales Retrieval:
|
|
28163
|
+
* - API Route : /api/v1/chart_of_account/?branchId=1&type=deferredSales
|
|
28164
|
+
*
|
|
28165
|
+
*/
|
|
28166
|
+
deferredSales?: number | null;
|
|
27670
28167
|
};
|
|
27671
28168
|
/** RetrieveTax */
|
|
27672
28169
|
RetrieveTax: {
|
|
@@ -27694,6 +28191,7 @@ export interface components {
|
|
|
27694
28191
|
ratePercentage: number;
|
|
27695
28192
|
/** @description Tax Debtor/Creditor Balance Account , this should be dropdown of subsidiary accounts from Chart of accounts */
|
|
27696
28193
|
taxDebtorCreditorBalanceAccount?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
28194
|
+
deferredSales: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
27697
28195
|
};
|
|
27698
28196
|
/** CreateAccountingSetting */
|
|
27699
28197
|
CreateAccountingSetting: {
|
|
@@ -28178,9 +28676,9 @@ export interface components {
|
|
|
28178
28676
|
id: string;
|
|
28179
28677
|
item: components["schemas"]["ItemMinimalSchema"];
|
|
28180
28678
|
/** Supplieritemname */
|
|
28181
|
-
supplierItemName: string;
|
|
28679
|
+
supplierItemName: string | null;
|
|
28182
28680
|
/** Supplieritemcode */
|
|
28183
|
-
supplierItemCode: string;
|
|
28681
|
+
supplierItemCode: string | null;
|
|
28184
28682
|
/** Quantity */
|
|
28185
28683
|
quantity: number;
|
|
28186
28684
|
unitOfMeasure: components["schemas"]["UnitOfMeasureSharedSchema"];
|
|
@@ -28254,9 +28752,9 @@ export interface components {
|
|
|
28254
28752
|
/** Item */
|
|
28255
28753
|
item: number;
|
|
28256
28754
|
/** Supplieritemname */
|
|
28257
|
-
supplierItemName
|
|
28755
|
+
supplierItemName?: string;
|
|
28258
28756
|
/** Supplieritemcode */
|
|
28259
|
-
supplierItemCode
|
|
28757
|
+
supplierItemCode?: string;
|
|
28260
28758
|
/** Quantity */
|
|
28261
28759
|
quantity: number;
|
|
28262
28760
|
/** Unitofmeasure */
|
|
@@ -28564,30 +29062,12 @@ export interface components {
|
|
|
28564
29062
|
/** Total */
|
|
28565
29063
|
total: number | null;
|
|
28566
29064
|
};
|
|
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"][];
|
|
29065
|
+
/** PurchaseRequisitionCalculateTotalResponse */
|
|
29066
|
+
PurchaseRequisitionCalculateTotalResponse: {
|
|
29067
|
+
/** Total */
|
|
29068
|
+
total: number | null;
|
|
29069
|
+
/** Data */
|
|
29070
|
+
data: components["schemas"]["CalculateRequisitionItemsResponse"][];
|
|
28591
29071
|
};
|
|
28592
29072
|
/** CalculateItemSchema */
|
|
28593
29073
|
CalculateItemSchema: {
|
|
@@ -28650,13 +29130,6 @@ export interface components {
|
|
|
28650
29130
|
/** Returnable */
|
|
28651
29131
|
returnable: boolean;
|
|
28652
29132
|
};
|
|
28653
|
-
/** ItemSummaryInfo */
|
|
28654
|
-
ItemSummaryInfo: {
|
|
28655
|
-
/** Id */
|
|
28656
|
-
id: number;
|
|
28657
|
-
/** Name */
|
|
28658
|
-
name: string;
|
|
28659
|
-
};
|
|
28660
29133
|
/**
|
|
28661
29134
|
* LinkedDocumentsSchema
|
|
28662
29135
|
* @description Schema for individual linked documents.
|
|
@@ -28760,7 +29233,7 @@ export interface components {
|
|
|
28760
29233
|
* Format: uuid
|
|
28761
29234
|
*/
|
|
28762
29235
|
id: string;
|
|
28763
|
-
item: components["schemas"]["
|
|
29236
|
+
item: components["schemas"]["ItemMinimalSchema"] | null;
|
|
28764
29237
|
/** Itemtext */
|
|
28765
29238
|
itemText: string | null;
|
|
28766
29239
|
/** Quantity */
|
|
@@ -29102,7 +29575,7 @@ export interface components {
|
|
|
29102
29575
|
* Format: uuid
|
|
29103
29576
|
*/
|
|
29104
29577
|
id: string;
|
|
29105
|
-
item: components["schemas"]["
|
|
29578
|
+
item: components["schemas"]["ItemMinimalSchema"] | null;
|
|
29106
29579
|
/** Itemtext */
|
|
29107
29580
|
itemText: string | null;
|
|
29108
29581
|
/** Quantity */
|
|
@@ -29941,6 +30414,8 @@ export interface components {
|
|
|
29941
30414
|
linkedDocuments?: {
|
|
29942
30415
|
[key: string]: components["schemas"]["LinkedDocumentsSchema"];
|
|
29943
30416
|
}[];
|
|
30417
|
+
/** @description visible when supplier is not resident */
|
|
30418
|
+
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
29944
30419
|
/**
|
|
29945
30420
|
* Items
|
|
29946
30421
|
* @default []
|
|
@@ -30006,7 +30481,10 @@ export interface components {
|
|
|
30006
30481
|
* @default 0
|
|
30007
30482
|
*/
|
|
30008
30483
|
discount: number;
|
|
30009
|
-
/**
|
|
30484
|
+
/**
|
|
30485
|
+
* Taxes
|
|
30486
|
+
* @description visible when supplier is resident
|
|
30487
|
+
*/
|
|
30010
30488
|
taxes?: number[] | null;
|
|
30011
30489
|
};
|
|
30012
30490
|
/** CreatePurchaseQuotationSchema */
|
|
@@ -30060,6 +30538,11 @@ export interface components {
|
|
|
30060
30538
|
description: string | null;
|
|
30061
30539
|
/** Notes */
|
|
30062
30540
|
notes: string | null;
|
|
30541
|
+
/**
|
|
30542
|
+
* Tax
|
|
30543
|
+
* @description tax id, visible when supplier is not resident
|
|
30544
|
+
*/
|
|
30545
|
+
tax?: number;
|
|
30063
30546
|
/** Items */
|
|
30064
30547
|
items: components["schemas"]["CreatePurchaseQuotationItemsSchema"][];
|
|
30065
30548
|
};
|
|
@@ -30212,6 +30695,11 @@ export interface components {
|
|
|
30212
30695
|
usdTotal: number;
|
|
30213
30696
|
/** Companytotal */
|
|
30214
30697
|
companyTotal?: number | null;
|
|
30698
|
+
/**
|
|
30699
|
+
* Tax
|
|
30700
|
+
* @description visible when supplier is not resident
|
|
30701
|
+
*/
|
|
30702
|
+
tax?: number;
|
|
30215
30703
|
/** Items */
|
|
30216
30704
|
items: components["schemas"]["ItemTotalCalculated"][];
|
|
30217
30705
|
};
|
|
@@ -30258,6 +30746,11 @@ export interface components {
|
|
|
30258
30746
|
* @default 0
|
|
30259
30747
|
*/
|
|
30260
30748
|
discount: number;
|
|
30749
|
+
/**
|
|
30750
|
+
* Tax
|
|
30751
|
+
* @description visible when entity is not resident
|
|
30752
|
+
*/
|
|
30753
|
+
tax?: number;
|
|
30261
30754
|
/** Items */
|
|
30262
30755
|
items: components["schemas"]["ItemTotal"][];
|
|
30263
30756
|
};
|
|
@@ -30431,6 +30924,8 @@ export interface components {
|
|
|
30431
30924
|
linkedDocuments?: {
|
|
30432
30925
|
[key: string]: components["schemas"]["LinkedDocumentsSchema"];
|
|
30433
30926
|
}[];
|
|
30927
|
+
/** @description visible when supplier is not resident */
|
|
30928
|
+
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
30434
30929
|
/** Items */
|
|
30435
30930
|
items: components["schemas"]["PurchaseOrderItemsSchema"][];
|
|
30436
30931
|
};
|
|
@@ -30502,7 +30997,10 @@ export interface components {
|
|
|
30502
30997
|
* @default 0
|
|
30503
30998
|
*/
|
|
30504
30999
|
discount: number;
|
|
30505
|
-
/**
|
|
31000
|
+
/**
|
|
31001
|
+
* Taxes
|
|
31002
|
+
* @description visible when supplier is resident
|
|
31003
|
+
*/
|
|
30506
31004
|
taxes?: number[] | null;
|
|
30507
31005
|
};
|
|
30508
31006
|
/** CreatePurchaseOrderSchema */
|
|
@@ -30554,6 +31052,11 @@ export interface components {
|
|
|
30554
31052
|
description: string | null;
|
|
30555
31053
|
/** Notes */
|
|
30556
31054
|
notes: string | null;
|
|
31055
|
+
/**
|
|
31056
|
+
* Tax
|
|
31057
|
+
* @description tax id, visible when supplier is not resident
|
|
31058
|
+
*/
|
|
31059
|
+
tax?: number;
|
|
30557
31060
|
/** Items */
|
|
30558
31061
|
items: components["schemas"]["CreatePurchaseOrderItemsSchema"][];
|
|
30559
31062
|
};
|
|
@@ -30606,6 +31109,13 @@ export interface components {
|
|
|
30606
31109
|
/** Totaldifference */
|
|
30607
31110
|
totalDifference: number;
|
|
30608
31111
|
};
|
|
31112
|
+
/** ItemSummaryInfo */
|
|
31113
|
+
ItemSummaryInfo: {
|
|
31114
|
+
/** Id */
|
|
31115
|
+
id: number;
|
|
31116
|
+
/** Name */
|
|
31117
|
+
name: string;
|
|
31118
|
+
};
|
|
30609
31119
|
/** PurchaseInvoiceDifferenceSchema */
|
|
30610
31120
|
PurchaseInvoiceDifferenceSchema: {
|
|
30611
31121
|
/** Itemdifferences */
|
|
@@ -31011,6 +31521,11 @@ export interface components {
|
|
|
31011
31521
|
/** Serialnumber */
|
|
31012
31522
|
serialNumber: string;
|
|
31013
31523
|
};
|
|
31524
|
+
/**
|
|
31525
|
+
* DocumentStatusValue
|
|
31526
|
+
* @enum {string}
|
|
31527
|
+
*/
|
|
31528
|
+
DocumentStatusValue: "draft" | "posted" | "submitted" | "canceled" | "sent";
|
|
31014
31529
|
/** ItemSummaryInfoWithReturnable */
|
|
31015
31530
|
ItemSummaryInfoWithReturnable: {
|
|
31016
31531
|
/** Id */
|
|
@@ -31019,6 +31534,7 @@ export interface components {
|
|
|
31019
31534
|
name: string;
|
|
31020
31535
|
/** Returnableitem */
|
|
31021
31536
|
returnableItem: boolean;
|
|
31537
|
+
trackInventoryBy: components["schemas"]["TrackInventoryBy"] | null;
|
|
31022
31538
|
};
|
|
31023
31539
|
/**
|
|
31024
31540
|
* PaymentStatusChoices
|
|
@@ -31161,7 +31677,7 @@ export interface components {
|
|
|
31161
31677
|
paymentTerms: components["schemas"]["PaymentTermsSchema"];
|
|
31162
31678
|
/** Duedate */
|
|
31163
31679
|
dueDate?: string | null;
|
|
31164
|
-
status: components["schemas"]["
|
|
31680
|
+
status: components["schemas"]["DocumentStatusValue"];
|
|
31165
31681
|
paymentStatus: components["schemas"]["PaymentStatusChoices"];
|
|
31166
31682
|
receivingStatus: components["schemas"]["ReceivingStatusChoices"];
|
|
31167
31683
|
/** Usdrate */
|
|
@@ -31195,6 +31711,8 @@ export interface components {
|
|
|
31195
31711
|
/** Canconvert */
|
|
31196
31712
|
canConvert: boolean;
|
|
31197
31713
|
warehouse: components["schemas"]["WarehouseSummaryInfo"] | null;
|
|
31714
|
+
/** @description visible when supplier is not resident */
|
|
31715
|
+
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
31198
31716
|
/** Linkeddocuments */
|
|
31199
31717
|
linkedDocuments?: {
|
|
31200
31718
|
[key: string]: components["schemas"]["LinkedDocumentsSchema"];
|
|
@@ -31292,6 +31810,11 @@ export interface components {
|
|
|
31292
31810
|
* @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
31811
|
*/
|
|
31294
31812
|
warehouse: number | null;
|
|
31813
|
+
/**
|
|
31814
|
+
* Tax
|
|
31815
|
+
* @description tax id, visible when supplier is not resident
|
|
31816
|
+
*/
|
|
31817
|
+
tax?: number;
|
|
31295
31818
|
};
|
|
31296
31819
|
/** PurchaseInvoiceItemsCreateSchema */
|
|
31297
31820
|
PurchaseInvoiceItemsCreateSchema: {
|
|
@@ -31334,7 +31857,7 @@ export interface components {
|
|
|
31334
31857
|
discount: number;
|
|
31335
31858
|
/**
|
|
31336
31859
|
* 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.
|
|
31860
|
+
* @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
31861
|
*/
|
|
31339
31862
|
taxes: number[];
|
|
31340
31863
|
};
|
|
@@ -31377,7 +31900,7 @@ export interface components {
|
|
|
31377
31900
|
discount: number;
|
|
31378
31901
|
/**
|
|
31379
31902
|
* Taxes
|
|
31380
|
-
* @description List of tax IDs, hit the taxes endpoint to get the list of taxes
|
|
31903
|
+
* @description visible when supplier is resident', List of tax IDs, hit the taxes endpoint to get the list of taxes
|
|
31381
31904
|
*/
|
|
31382
31905
|
taxes: number[];
|
|
31383
31906
|
};
|
|
@@ -31440,6 +31963,11 @@ export interface components {
|
|
|
31440
31963
|
* @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
31964
|
*/
|
|
31442
31965
|
warehouse: number | null;
|
|
31966
|
+
/**
|
|
31967
|
+
* Tax
|
|
31968
|
+
* @description tax id, visible when supplier is not resident
|
|
31969
|
+
*/
|
|
31970
|
+
tax?: number;
|
|
31443
31971
|
};
|
|
31444
31972
|
/** PurchaseInvoiceDeleteSchema */
|
|
31445
31973
|
PurchaseInvoiceDeleteSchema: {
|
|
@@ -31549,24 +32077,6 @@ export interface components {
|
|
|
31549
32077
|
companyTotal: string;
|
|
31550
32078
|
/** Remaining */
|
|
31551
32079
|
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
32080
|
};
|
|
31571
32081
|
/** PaidPartiallyPaidResponseSchema */
|
|
31572
32082
|
PaidPartiallyPaidResponseSchema: {
|
|
@@ -32855,16 +33365,6 @@ export interface components {
|
|
|
32855
33365
|
* @enum {string}
|
|
32856
33366
|
*/
|
|
32857
33367
|
AppliesOnSchema: "item" | "category";
|
|
32858
|
-
/** ContactSegmentationSharedSchema */
|
|
32859
|
-
ContactSegmentationSharedSchema: {
|
|
32860
|
-
/**
|
|
32861
|
-
* Id
|
|
32862
|
-
* Format: uuid
|
|
32863
|
-
*/
|
|
32864
|
-
id: string;
|
|
32865
|
-
/** Name */
|
|
32866
|
-
name: string;
|
|
32867
|
-
};
|
|
32868
33368
|
/** CustomerSharedSchema */
|
|
32869
33369
|
CustomerSharedSchema: {
|
|
32870
33370
|
/** Id */
|
|
@@ -35533,6 +36033,11 @@ export interface components {
|
|
|
35533
36033
|
* @description This is a number
|
|
35534
36034
|
*/
|
|
35535
36035
|
totalPackageDepositCharge?: string | null;
|
|
36036
|
+
/**
|
|
36037
|
+
* Tax
|
|
36038
|
+
* @description tax id
|
|
36039
|
+
*/
|
|
36040
|
+
tax?: number;
|
|
35536
36041
|
/** Items */
|
|
35537
36042
|
items: components["schemas"]["SalesItemTotalCalculated"][];
|
|
35538
36043
|
};
|
|
@@ -35590,6 +36095,11 @@ export interface components {
|
|
|
35590
36095
|
* @default 0
|
|
35591
36096
|
*/
|
|
35592
36097
|
discount: number;
|
|
36098
|
+
/**
|
|
36099
|
+
* Tax
|
|
36100
|
+
* @description tax id
|
|
36101
|
+
*/
|
|
36102
|
+
tax?: number;
|
|
35593
36103
|
/** Items */
|
|
35594
36104
|
items: components["schemas"]["SalesItemTotal"][];
|
|
35595
36105
|
};
|
|
@@ -35902,6 +36412,8 @@ export interface components {
|
|
|
35902
36412
|
description: string | null;
|
|
35903
36413
|
/** Notes */
|
|
35904
36414
|
notes: string | null;
|
|
36415
|
+
/** @description visible when customer is not resident */
|
|
36416
|
+
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
35905
36417
|
/**
|
|
35906
36418
|
* Canconvert
|
|
35907
36419
|
* @default false
|
|
@@ -35993,6 +36505,7 @@ export interface components {
|
|
|
35993
36505
|
discount: number;
|
|
35994
36506
|
/**
|
|
35995
36507
|
* Taxes
|
|
36508
|
+
* @description visible when customer is resident
|
|
35996
36509
|
* @default []
|
|
35997
36510
|
*/
|
|
35998
36511
|
taxes: number[];
|
|
@@ -36113,6 +36626,11 @@ export interface components {
|
|
|
36113
36626
|
description?: string;
|
|
36114
36627
|
/** Notes */
|
|
36115
36628
|
notes?: string;
|
|
36629
|
+
/**
|
|
36630
|
+
* Tax
|
|
36631
|
+
* @description tax id, visible when customer is not resident
|
|
36632
|
+
*/
|
|
36633
|
+
tax?: number;
|
|
36116
36634
|
/** Items */
|
|
36117
36635
|
items: components["schemas"]["CreateUpdateSalesQuotationItemSchema"][];
|
|
36118
36636
|
};
|
|
@@ -36259,6 +36777,8 @@ export interface components {
|
|
|
36259
36777
|
description: string | null;
|
|
36260
36778
|
/** Notes */
|
|
36261
36779
|
notes: string | null;
|
|
36780
|
+
/** @description visible when customer is not resident */
|
|
36781
|
+
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
36262
36782
|
/**
|
|
36263
36783
|
* Canconvert
|
|
36264
36784
|
* @default false
|
|
@@ -36321,6 +36841,31 @@ export interface components {
|
|
|
36321
36841
|
/** Results */
|
|
36322
36842
|
results: components["schemas"]["RetrieveContactSegmentationSchema"][];
|
|
36323
36843
|
};
|
|
36844
|
+
/** CalculateTotalResponse */
|
|
36845
|
+
CalculateTotalResponse: {
|
|
36846
|
+
/**
|
|
36847
|
+
* Total
|
|
36848
|
+
* @description field is number
|
|
36849
|
+
*/
|
|
36850
|
+
total: string;
|
|
36851
|
+
/**
|
|
36852
|
+
* Companytotal
|
|
36853
|
+
* @description field is number
|
|
36854
|
+
*/
|
|
36855
|
+
companyTotal: string;
|
|
36856
|
+
/**
|
|
36857
|
+
* Secondarytotal
|
|
36858
|
+
* @description field is number
|
|
36859
|
+
*/
|
|
36860
|
+
secondaryTotal: string;
|
|
36861
|
+
/**
|
|
36862
|
+
* Remainingbalance
|
|
36863
|
+
* @description field is number
|
|
36864
|
+
*/
|
|
36865
|
+
remainingBalance: string;
|
|
36866
|
+
/** Payments */
|
|
36867
|
+
payments: components["schemas"]["PaymentWithEquivalentResponse"][];
|
|
36868
|
+
};
|
|
36324
36869
|
/** CalculateEquivalentsAndTotalsSchema */
|
|
36325
36870
|
CalculateEquivalentsAndTotalsSchema: {
|
|
36326
36871
|
/**
|
|
@@ -36393,33 +36938,6 @@ export interface components {
|
|
|
36393
36938
|
* @description field is number
|
|
36394
36939
|
*/
|
|
36395
36940
|
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
36941
|
};
|
|
36424
36942
|
/** RefundVoucherDetailWithItemSchema */
|
|
36425
36943
|
RefundVoucherDetailWithItemSchema: {
|
|
@@ -37877,6 +38395,8 @@ export interface components {
|
|
|
37877
38395
|
* @description Additional notes regarding the sales order.
|
|
37878
38396
|
*/
|
|
37879
38397
|
notes: string | null;
|
|
38398
|
+
/** @description visible when customer is not resident */
|
|
38399
|
+
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
37880
38400
|
/**
|
|
37881
38401
|
* Canconvert
|
|
37882
38402
|
* @description Indicates whether the sales order can be converted to another status.
|
|
@@ -37992,6 +38512,7 @@ export interface components {
|
|
|
37992
38512
|
discount: number;
|
|
37993
38513
|
/**
|
|
37994
38514
|
* Taxes
|
|
38515
|
+
* @description visible when customer is resident
|
|
37995
38516
|
* @default []
|
|
37996
38517
|
*/
|
|
37997
38518
|
taxes: number[];
|
|
@@ -38133,6 +38654,11 @@ export interface components {
|
|
|
38133
38654
|
* @description Additional notes related to the sales order.
|
|
38134
38655
|
*/
|
|
38135
38656
|
notes?: string;
|
|
38657
|
+
/**
|
|
38658
|
+
* Tax
|
|
38659
|
+
* @description tax id, visible when customer is not resident
|
|
38660
|
+
*/
|
|
38661
|
+
tax?: number;
|
|
38136
38662
|
/**
|
|
38137
38663
|
* Items
|
|
38138
38664
|
* @description List of items included in the sales order.
|
|
@@ -38551,44 +39077,12 @@ export interface components {
|
|
|
38551
39077
|
* @description field is number
|
|
38552
39078
|
*/
|
|
38553
39079
|
remaining: string;
|
|
38554
|
-
/** Taxes */
|
|
38555
|
-
taxes?: components["schemas"]["UnPaidAndPartiallyPaidTaxesResponseSchema"][];
|
|
38556
39080
|
};
|
|
38557
39081
|
/** UnPaidAndPartiallyPaidResponseSchema */
|
|
38558
39082
|
UnPaidAndPartiallyPaidResponseSchema: {
|
|
38559
39083
|
/** Salesinvoices */
|
|
38560
39084
|
salesInvoices: components["schemas"]["UnPaidAndPartiallyPaidInvoicesResponseSchema"][];
|
|
38561
39085
|
};
|
|
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
39086
|
/** ReceiptVoucherItemDetailSchema */
|
|
38593
39087
|
ReceiptVoucherItemDetailSchema: {
|
|
38594
39088
|
/**
|
|
@@ -39069,11 +39563,6 @@ export interface components {
|
|
|
39069
39563
|
* @enum {string}
|
|
39070
39564
|
*/
|
|
39071
39565
|
DeliveryStatusValueChoices: "not_delivered" | "partially_delivered" | "delivered";
|
|
39072
|
-
/**
|
|
39073
|
-
* DocumentStatusValue
|
|
39074
|
-
* @enum {string}
|
|
39075
|
-
*/
|
|
39076
|
-
DocumentStatusValue: "draft" | "posted" | "submitted" | "canceled" | "sent";
|
|
39077
39566
|
/**
|
|
39078
39567
|
* PaymentStatusValueChoices
|
|
39079
39568
|
* @enum {string}
|
|
@@ -39368,6 +39857,8 @@ export interface components {
|
|
|
39368
39857
|
* @description Additional notes regarding the sales invoice.
|
|
39369
39858
|
*/
|
|
39370
39859
|
notes: string | null;
|
|
39860
|
+
/** @description visible when customer is not resident */
|
|
39861
|
+
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
39371
39862
|
/**
|
|
39372
39863
|
* Canreturn
|
|
39373
39864
|
* @description Indicates whether the sales invoice can be converted to delivery note
|
|
@@ -39473,6 +39964,7 @@ export interface components {
|
|
|
39473
39964
|
discount: number;
|
|
39474
39965
|
/**
|
|
39475
39966
|
* Taxes
|
|
39967
|
+
* @description visible when customer is resident
|
|
39476
39968
|
* @default []
|
|
39477
39969
|
*/
|
|
39478
39970
|
taxes: number[];
|
|
@@ -39624,6 +40116,11 @@ export interface components {
|
|
|
39624
40116
|
* @description List of items included in the sales invoice.
|
|
39625
40117
|
*/
|
|
39626
40118
|
items: components["schemas"]["CreateUpdateSalesInvoiceItemSchema"][];
|
|
40119
|
+
/**
|
|
40120
|
+
* Tax
|
|
40121
|
+
* @description tax id, visible when customer is not resident
|
|
40122
|
+
*/
|
|
40123
|
+
tax?: number;
|
|
39627
40124
|
};
|
|
39628
40125
|
/**
|
|
39629
40126
|
* SalesDocumentTypeSchema
|
|
@@ -40280,10 +40777,43 @@ export interface components {
|
|
|
40280
40777
|
/** Companytotal */
|
|
40281
40778
|
companyTotal: string;
|
|
40282
40779
|
};
|
|
40780
|
+
/** SalesReturnInvoiceItemTotalCalculated */
|
|
40781
|
+
SalesReturnInvoiceItemTotalCalculated: {
|
|
40782
|
+
/** Total */
|
|
40783
|
+
total: string;
|
|
40784
|
+
};
|
|
40785
|
+
/** SalesReturnInvoiceTotalCalculationResponse */
|
|
40786
|
+
SalesReturnInvoiceTotalCalculationResponse: {
|
|
40787
|
+
/** Subtotal */
|
|
40788
|
+
subtotal: string;
|
|
40789
|
+
/** Secondarysubtotal */
|
|
40790
|
+
secondarySubtotal: string;
|
|
40791
|
+
/** Companysubtotal */
|
|
40792
|
+
companySubtotal: string;
|
|
40793
|
+
/** Discountedtotal */
|
|
40794
|
+
discountedTotal: string;
|
|
40795
|
+
/** Secondarydiscountedtotal */
|
|
40796
|
+
secondaryDiscountedTotal: string;
|
|
40797
|
+
/** Companydiscountedtotal */
|
|
40798
|
+
companyDiscountedTotal: string;
|
|
40799
|
+
/** Taxamount */
|
|
40800
|
+
taxAmount: string;
|
|
40801
|
+
/** Secondarytaxamount */
|
|
40802
|
+
secondaryTaxAmount: string;
|
|
40803
|
+
/** Companytaxamount */
|
|
40804
|
+
companyTaxAmount: string;
|
|
40805
|
+
/** Total */
|
|
40806
|
+
total: string;
|
|
40807
|
+
/** Secondarytotal */
|
|
40808
|
+
secondaryTotal: string;
|
|
40809
|
+
/** Companytotal */
|
|
40810
|
+
companyTotal?: string | null;
|
|
40811
|
+
/** Items */
|
|
40812
|
+
items: components["schemas"]["SalesReturnInvoiceItemTotalCalculated"][];
|
|
40813
|
+
};
|
|
40283
40814
|
/** CalculateSalesReturnInvoiceItemsSchema */
|
|
40284
40815
|
CalculateSalesReturnInvoiceItemsSchema: {
|
|
40285
|
-
|
|
40286
|
-
salesInvoice: Record<string, never>;
|
|
40816
|
+
salesInvoice: components["schemas"]["SalesInvoiceForReturnInvoiceCreateSchema"];
|
|
40287
40817
|
/** Quantity */
|
|
40288
40818
|
quantity: number;
|
|
40289
40819
|
/** Unitpackage */
|
|
@@ -40366,35 +40896,6 @@ export interface components {
|
|
|
40366
40896
|
* @description field is number
|
|
40367
40897
|
*/
|
|
40368
40898
|
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
40899
|
};
|
|
40399
40900
|
/** CalculateSalesRefundVoucherTotalResponse */
|
|
40400
40901
|
CalculateSalesRefundVoucherTotalResponse: {
|
|
@@ -40644,7 +41145,12 @@ export interface components {
|
|
|
40644
41145
|
date: string;
|
|
40645
41146
|
/**
|
|
40646
41147
|
* Customer
|
|
40647
|
-
* @description
|
|
41148
|
+
* @description
|
|
41149
|
+
* - customer id
|
|
41150
|
+
* API Endpoints for Customers Retrieval:
|
|
41151
|
+
* - Use the API: /api/v1/customers/
|
|
41152
|
+
* - Query Parameters: documentType = salesRefundVoucher , type = children
|
|
41153
|
+
*
|
|
40648
41154
|
*/
|
|
40649
41155
|
customer: number;
|
|
40650
41156
|
/** Description */
|
|
@@ -40965,7 +41471,12 @@ export interface components {
|
|
|
40965
41471
|
date: string;
|
|
40966
41472
|
/**
|
|
40967
41473
|
* Customer
|
|
40968
|
-
* @description
|
|
41474
|
+
* @description
|
|
41475
|
+
* - customer id
|
|
41476
|
+
* API Endpoints for Customers Retrieval:
|
|
41477
|
+
* - Use the API: /api/v1/customers/
|
|
41478
|
+
* - Query Parameters: documentType = salesRefundVoucher , type = children
|
|
41479
|
+
*
|
|
40969
41480
|
*/
|
|
40970
41481
|
customer: number;
|
|
40971
41482
|
/** Description */
|
|
@@ -41828,6 +42339,212 @@ export interface components {
|
|
|
41828
42339
|
/** Items */
|
|
41829
42340
|
items: components["schemas"]["ReturnablePackageReconciliationItemUpdateSchema"][];
|
|
41830
42341
|
};
|
|
42342
|
+
/** ReturnReturnablePackageItemDetailSchema */
|
|
42343
|
+
ReturnReturnablePackageItemDetailSchema: {
|
|
42344
|
+
/**
|
|
42345
|
+
* Id
|
|
42346
|
+
* Format: uuid
|
|
42347
|
+
*/
|
|
42348
|
+
id: string;
|
|
42349
|
+
itemPackage: components["schemas"]["ItemPackageSummarySchema"];
|
|
42350
|
+
/** Quantity */
|
|
42351
|
+
quantity: number;
|
|
42352
|
+
};
|
|
42353
|
+
/** ReturnReturnablePackageResponse */
|
|
42354
|
+
ReturnReturnablePackageResponse: {
|
|
42355
|
+
/** Message */
|
|
42356
|
+
message: string;
|
|
42357
|
+
/** Code */
|
|
42358
|
+
code: string;
|
|
42359
|
+
data: components["schemas"]["ReturnReturnablePackageWithItemDetailSchema"];
|
|
42360
|
+
};
|
|
42361
|
+
/** ReturnReturnablePackageWithItemDetailSchema */
|
|
42362
|
+
ReturnReturnablePackageWithItemDetailSchema: {
|
|
42363
|
+
/**
|
|
42364
|
+
* Datecreated
|
|
42365
|
+
* Format: date-time
|
|
42366
|
+
*/
|
|
42367
|
+
dateCreated: string;
|
|
42368
|
+
/** Datemodified */
|
|
42369
|
+
dateModified: string | null;
|
|
42370
|
+
createdBy: components["schemas"]["RecordUserSchema"];
|
|
42371
|
+
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
42372
|
+
/**
|
|
42373
|
+
* Id
|
|
42374
|
+
* Format: uuid
|
|
42375
|
+
*/
|
|
42376
|
+
id: string;
|
|
42377
|
+
/** Serialnumber */
|
|
42378
|
+
serialNumber: string;
|
|
42379
|
+
customer: components["schemas"]["CustomerSharedSchema"];
|
|
42380
|
+
branch: components["schemas"]["BranchSummaryInfo"];
|
|
42381
|
+
/**
|
|
42382
|
+
* Date
|
|
42383
|
+
* Format: date
|
|
42384
|
+
*/
|
|
42385
|
+
date: string;
|
|
42386
|
+
goodsDeliveryNote: components["schemas"]["DocumentCommonSchema"];
|
|
42387
|
+
/** Description */
|
|
42388
|
+
description: string | null;
|
|
42389
|
+
/** Notes */
|
|
42390
|
+
notes: string | null;
|
|
42391
|
+
/** Attachments */
|
|
42392
|
+
attachments: string[] | null;
|
|
42393
|
+
status: components["schemas"]["RetrieveInternalStatusChoices"];
|
|
42394
|
+
approvalStatus: components["schemas"]["ApprovalChoices"];
|
|
42395
|
+
/** Items */
|
|
42396
|
+
items: components["schemas"]["ReturnReturnablePackageItemDetailSchema"][];
|
|
42397
|
+
};
|
|
42398
|
+
/** ReturnReturnablePackageCreateSchema */
|
|
42399
|
+
ReturnReturnablePackageCreateSchema: {
|
|
42400
|
+
/**
|
|
42401
|
+
* Customer
|
|
42402
|
+
* @description
|
|
42403
|
+
* API Endpoints for Customers:
|
|
42404
|
+
* - Use the API: /api/v1/customers/
|
|
42405
|
+
* - Query Params : documentType = salesReturnPackage, type = children
|
|
42406
|
+
*/
|
|
42407
|
+
customer: number;
|
|
42408
|
+
/**
|
|
42409
|
+
* Date
|
|
42410
|
+
* Format: date
|
|
42411
|
+
* @description
|
|
42412
|
+
* - Format: yyyy-mm-dd
|
|
42413
|
+
*/
|
|
42414
|
+
date: string;
|
|
42415
|
+
/**
|
|
42416
|
+
* Goodsdeliverynote
|
|
42417
|
+
* Format: uuid
|
|
42418
|
+
* @description
|
|
42419
|
+
* - delivery note id
|
|
42420
|
+
* API Endpoints for Goods Delivery Note:
|
|
42421
|
+
* - Use the API: /api/v1/inventory/goods-delivery_note/
|
|
42422
|
+
* - Query Params : customer = {customer-id} , documentType = salesReturnPackage
|
|
42423
|
+
*
|
|
42424
|
+
*/
|
|
42425
|
+
goodsDeliveryNote: string;
|
|
42426
|
+
/** Description */
|
|
42427
|
+
description?: string;
|
|
42428
|
+
/** Notes */
|
|
42429
|
+
notes?: string;
|
|
42430
|
+
/**
|
|
42431
|
+
* Attachments
|
|
42432
|
+
* @description When upload file the type in payload should be returnreturnablepackage
|
|
42433
|
+
* @default []
|
|
42434
|
+
*/
|
|
42435
|
+
attachments: string[];
|
|
42436
|
+
status: components["schemas"]["InternalStatusChoices"];
|
|
42437
|
+
/** Items */
|
|
42438
|
+
items: components["schemas"]["ReturnReturnablePackageItemCreateSchema"][];
|
|
42439
|
+
};
|
|
42440
|
+
/** ReturnReturnablePackageItemCreateSchema */
|
|
42441
|
+
ReturnReturnablePackageItemCreateSchema: {
|
|
42442
|
+
/**
|
|
42443
|
+
* Itempackage
|
|
42444
|
+
* Format: uuid
|
|
42445
|
+
*/
|
|
42446
|
+
itemPackage: string;
|
|
42447
|
+
/** Quantity */
|
|
42448
|
+
quantity: number;
|
|
42449
|
+
};
|
|
42450
|
+
/** ReturnReturnablePackageDetailSchema */
|
|
42451
|
+
ReturnReturnablePackageDetailSchema: {
|
|
42452
|
+
/**
|
|
42453
|
+
* Datecreated
|
|
42454
|
+
* Format: date-time
|
|
42455
|
+
*/
|
|
42456
|
+
dateCreated: string;
|
|
42457
|
+
/** Datemodified */
|
|
42458
|
+
dateModified: string | null;
|
|
42459
|
+
createdBy: components["schemas"]["RecordUserSchema"];
|
|
42460
|
+
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
42461
|
+
/**
|
|
42462
|
+
* Id
|
|
42463
|
+
* Format: uuid
|
|
42464
|
+
*/
|
|
42465
|
+
id: string;
|
|
42466
|
+
/** Serialnumber */
|
|
42467
|
+
serialNumber: string;
|
|
42468
|
+
customer: components["schemas"]["CustomerSharedSchema"];
|
|
42469
|
+
branch: components["schemas"]["BranchSummaryInfo"];
|
|
42470
|
+
/**
|
|
42471
|
+
* Date
|
|
42472
|
+
* Format: date
|
|
42473
|
+
*/
|
|
42474
|
+
date: string;
|
|
42475
|
+
goodsDeliveryNote: components["schemas"]["DocumentCommonSchema"];
|
|
42476
|
+
/** Description */
|
|
42477
|
+
description: string | null;
|
|
42478
|
+
/** Notes */
|
|
42479
|
+
notes: string | null;
|
|
42480
|
+
/** Attachments */
|
|
42481
|
+
attachments: string[] | null;
|
|
42482
|
+
status: components["schemas"]["RetrieveInternalStatusChoices"];
|
|
42483
|
+
approvalStatus: components["schemas"]["ApprovalChoices"];
|
|
42484
|
+
};
|
|
42485
|
+
/** ReturnReturnablePackageListSchema */
|
|
42486
|
+
ReturnReturnablePackageListSchema: {
|
|
42487
|
+
info: components["schemas"]["PageInfoSchema"];
|
|
42488
|
+
/** Results */
|
|
42489
|
+
results: components["schemas"]["ReturnReturnablePackageDetailSchema"][];
|
|
42490
|
+
};
|
|
42491
|
+
/** ReturnReturnablePackageItemUpdateSchema */
|
|
42492
|
+
ReturnReturnablePackageItemUpdateSchema: {
|
|
42493
|
+
/**
|
|
42494
|
+
* Itempackage
|
|
42495
|
+
* Format: uuid
|
|
42496
|
+
*/
|
|
42497
|
+
itemPackage: string;
|
|
42498
|
+
/** Quantity */
|
|
42499
|
+
quantity: number;
|
|
42500
|
+
/**
|
|
42501
|
+
* Id
|
|
42502
|
+
* Format: uuid
|
|
42503
|
+
*/
|
|
42504
|
+
id?: string;
|
|
42505
|
+
};
|
|
42506
|
+
/** ReturnReturnablePackageUpdateSchema */
|
|
42507
|
+
ReturnReturnablePackageUpdateSchema: {
|
|
42508
|
+
/**
|
|
42509
|
+
* Customer
|
|
42510
|
+
* @description
|
|
42511
|
+
* API Endpoints for Customers:
|
|
42512
|
+
* - Use the API: /api/v1/customers/
|
|
42513
|
+
* - Query Params : documentType = salesReturnPackage, type = children
|
|
42514
|
+
*/
|
|
42515
|
+
customer: number;
|
|
42516
|
+
/**
|
|
42517
|
+
* Date
|
|
42518
|
+
* Format: date
|
|
42519
|
+
* @description
|
|
42520
|
+
* - Format: yyyy-mm-dd
|
|
42521
|
+
*/
|
|
42522
|
+
date: string;
|
|
42523
|
+
/**
|
|
42524
|
+
* Goodsdeliverynote
|
|
42525
|
+
* Format: uuid
|
|
42526
|
+
* @description
|
|
42527
|
+
* - delivery note id
|
|
42528
|
+
* API Endpoints for Goods Delivery Note:
|
|
42529
|
+
* - Use the API: /api/v1/inventory/goods-delivery_note/
|
|
42530
|
+
* - Query Params : customer = {customer-id} , documentType = salesReturnPackage
|
|
42531
|
+
*
|
|
42532
|
+
*/
|
|
42533
|
+
goodsDeliveryNote: string;
|
|
42534
|
+
/** Description */
|
|
42535
|
+
description?: string;
|
|
42536
|
+
/** Notes */
|
|
42537
|
+
notes?: string;
|
|
42538
|
+
/**
|
|
42539
|
+
* Attachments
|
|
42540
|
+
* @description When upload file the type in payload should be returnreturnablepackage
|
|
42541
|
+
* @default []
|
|
42542
|
+
*/
|
|
42543
|
+
attachments: string[];
|
|
42544
|
+
status: components["schemas"]["InternalStatusChoices"];
|
|
42545
|
+
/** Items */
|
|
42546
|
+
items: components["schemas"]["ReturnReturnablePackageItemUpdateSchema"][];
|
|
42547
|
+
};
|
|
41831
42548
|
};
|
|
41832
42549
|
responses: never;
|
|
41833
42550
|
parameters: never;
|
|
@@ -44327,7 +45044,7 @@ export interface operations {
|
|
|
44327
45044
|
parameters: {
|
|
44328
45045
|
query: {
|
|
44329
45046
|
branchId: number;
|
|
44330
|
-
type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque";
|
|
45047
|
+
type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales";
|
|
44331
45048
|
accountId?: number;
|
|
44332
45049
|
/** @description search by account number, name or type */
|
|
44333
45050
|
search?: string;
|
|
@@ -44482,7 +45199,7 @@ export interface operations {
|
|
|
44482
45199
|
parameters: {
|
|
44483
45200
|
query: {
|
|
44484
45201
|
branchId: number;
|
|
44485
|
-
type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque";
|
|
45202
|
+
type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales";
|
|
44486
45203
|
accountId?: number;
|
|
44487
45204
|
/** @description required when type [cheque, cash, credit card] */
|
|
44488
45205
|
supplierId?: number;
|
|
@@ -49410,7 +50127,7 @@ export interface operations {
|
|
|
49410
50127
|
};
|
|
49411
50128
|
requestBody: {
|
|
49412
50129
|
content: {
|
|
49413
|
-
"application/json": components["schemas"]["
|
|
50130
|
+
"application/json": components["schemas"]["CreateBrandSchema"];
|
|
49414
50131
|
};
|
|
49415
50132
|
};
|
|
49416
50133
|
responses: {
|
|
@@ -52132,7 +52849,7 @@ export interface operations {
|
|
|
52132
52849
|
/** @description Type of customer to get */
|
|
52133
52850
|
type?: "parents" | "children";
|
|
52134
52851
|
/** @description type of document for listing customers, example : receiptVoucher */
|
|
52135
|
-
documentType?: "default" | "receiptVoucher" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage";
|
|
52852
|
+
documentType?: "default" | "receiptVoucher" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "salesRefundVoucher";
|
|
52136
52853
|
search?: string | null;
|
|
52137
52854
|
};
|
|
52138
52855
|
header?: never;
|
|
@@ -52199,6 +52916,15 @@ export interface operations {
|
|
|
52199
52916
|
"application/json": components["schemas"]["IndividualCustomerSchema"];
|
|
52200
52917
|
};
|
|
52201
52918
|
};
|
|
52919
|
+
/** @description Bad Request */
|
|
52920
|
+
400: {
|
|
52921
|
+
headers: {
|
|
52922
|
+
[name: string]: unknown;
|
|
52923
|
+
};
|
|
52924
|
+
content: {
|
|
52925
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
52926
|
+
};
|
|
52927
|
+
};
|
|
52202
52928
|
/** @description Forbidden */
|
|
52203
52929
|
403: {
|
|
52204
52930
|
headers: {
|
|
@@ -52310,6 +53036,15 @@ export interface operations {
|
|
|
52310
53036
|
"application/json": components["schemas"]["CompanyCustomerSchema"];
|
|
52311
53037
|
};
|
|
52312
53038
|
};
|
|
53039
|
+
/** @description Bad Request */
|
|
53040
|
+
400: {
|
|
53041
|
+
headers: {
|
|
53042
|
+
[name: string]: unknown;
|
|
53043
|
+
};
|
|
53044
|
+
content: {
|
|
53045
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
53046
|
+
};
|
|
53047
|
+
};
|
|
52313
53048
|
/** @description Forbidden */
|
|
52314
53049
|
403: {
|
|
52315
53050
|
headers: {
|
|
@@ -53192,7 +53927,7 @@ export interface operations {
|
|
|
53192
53927
|
/** @description Page size */
|
|
53193
53928
|
pageSize?: number;
|
|
53194
53929
|
/** @description currencies ids, if user selected accountCurrency then you should send accountCurrency in list */
|
|
53195
|
-
currencies: (
|
|
53930
|
+
currencies: (number | string)[];
|
|
53196
53931
|
/** @description filter by account number or name */
|
|
53197
53932
|
filter_by_account_number_or_name?: string;
|
|
53198
53933
|
};
|
|
@@ -53259,7 +53994,7 @@ export interface operations {
|
|
|
53259
53994
|
/** @description Page size */
|
|
53260
53995
|
pageSize?: number;
|
|
53261
53996
|
/** @description currencies ids, if user selected accountCurrency then you should send accountCurrency in list */
|
|
53262
|
-
currencies: (
|
|
53997
|
+
currencies: (number | string)[];
|
|
53263
53998
|
/** @description filter by account number or name */
|
|
53264
53999
|
filter_by_account_number_or_name?: string;
|
|
53265
54000
|
};
|
|
@@ -53327,7 +54062,7 @@ export interface operations {
|
|
|
53327
54062
|
/** @description Page size */
|
|
53328
54063
|
pageSize?: number;
|
|
53329
54064
|
/** @description currencies ids,if user selected accountCurrency then you should send accountCurrency in list */
|
|
53330
|
-
currencies: (
|
|
54065
|
+
currencies: (number | string)[];
|
|
53331
54066
|
};
|
|
53332
54067
|
header?: never;
|
|
53333
54068
|
path?: never;
|
|
@@ -53391,7 +54126,7 @@ export interface operations {
|
|
|
53391
54126
|
/** @description Page size */
|
|
53392
54127
|
pageSize?: number;
|
|
53393
54128
|
/** @description currencies ids,if user selected accountCurrency then you should send accountCurrency in list */
|
|
53394
|
-
currencies: (
|
|
54129
|
+
currencies: (number | string)[];
|
|
53395
54130
|
/** @description filter by account number or name */
|
|
53396
54131
|
filter_by_account_number_or_name?: string;
|
|
53397
54132
|
};
|
|
@@ -53450,7 +54185,7 @@ export interface operations {
|
|
|
53450
54185
|
accountLevel: ("General" | "Detail")[];
|
|
53451
54186
|
mergeLedger?: boolean;
|
|
53452
54187
|
/** @description currencies ids,if user selected accountCurrency then you should send accountCurrency in list */
|
|
53453
|
-
currencies: (
|
|
54188
|
+
currencies: (number | string)[];
|
|
53454
54189
|
/** @description filter by account number or name */
|
|
53455
54190
|
filterByAccountNumberOrName?: string;
|
|
53456
54191
|
};
|
|
@@ -53491,7 +54226,7 @@ export interface operations {
|
|
|
53491
54226
|
accountLevel?: ("General" | "Detail")[];
|
|
53492
54227
|
mergeLedger?: boolean;
|
|
53493
54228
|
/** @description currencies ids,if user selected accountCurrency then you should send accountCurrency in list */
|
|
53494
|
-
currencies: (
|
|
54229
|
+
currencies: (number | string)[];
|
|
53495
54230
|
/** @description filter by account number or name */
|
|
53496
54231
|
filter_by_account_number_or_name?: string;
|
|
53497
54232
|
};
|
|
@@ -53550,7 +54285,7 @@ export interface operations {
|
|
|
53550
54285
|
/** @description Page size */
|
|
53551
54286
|
pageSize?: number;
|
|
53552
54287
|
/** @description currencies ids,if user selected accountCurrency then you should send accountCurrency in list */
|
|
53553
|
-
currencies: (
|
|
54288
|
+
currencies: (number | string)[];
|
|
53554
54289
|
};
|
|
53555
54290
|
header?: never;
|
|
53556
54291
|
path?: never;
|
|
@@ -53614,7 +54349,7 @@ export interface operations {
|
|
|
53614
54349
|
/** @description Page size */
|
|
53615
54350
|
pageSize?: number;
|
|
53616
54351
|
/** @description currencies ids,if user selected accountCurrency then you should send accountCurrency in list */
|
|
53617
|
-
currencies: (
|
|
54352
|
+
currencies: (number | string)[];
|
|
53618
54353
|
/** @description filter by account number or name */
|
|
53619
54354
|
filter_by_account_number_or_name?: string;
|
|
53620
54355
|
};
|
|
@@ -60552,7 +61287,7 @@ export interface operations {
|
|
|
60552
61287
|
[name: string]: unknown;
|
|
60553
61288
|
};
|
|
60554
61289
|
content: {
|
|
60555
|
-
"application/json": components["schemas"]["
|
|
61290
|
+
"application/json": components["schemas"]["PurchaseRequisitionCalculateTotalResponse"];
|
|
60556
61291
|
};
|
|
60557
61292
|
};
|
|
60558
61293
|
/** @description Bad Request */
|
|
@@ -75307,7 +76042,7 @@ export interface operations {
|
|
|
75307
76042
|
[name: string]: unknown;
|
|
75308
76043
|
};
|
|
75309
76044
|
content: {
|
|
75310
|
-
"application/json": components["schemas"]["
|
|
76045
|
+
"application/json": components["schemas"]["SalesReturnInvoiceTotalCalculationResponse"];
|
|
75311
76046
|
};
|
|
75312
76047
|
};
|
|
75313
76048
|
/** @description Bad Request */
|
|
@@ -76773,27 +77508,305 @@ export interface operations {
|
|
|
76773
77508
|
};
|
|
76774
77509
|
};
|
|
76775
77510
|
};
|
|
76776
|
-
erp_settings_accountingsetting_views_create_default_subsidiary_account: {
|
|
77511
|
+
erp_settings_accountingsetting_views_create_default_subsidiary_account: {
|
|
77512
|
+
parameters: {
|
|
77513
|
+
query?: never;
|
|
77514
|
+
header?: never;
|
|
77515
|
+
path?: never;
|
|
77516
|
+
cookie?: never;
|
|
77517
|
+
};
|
|
77518
|
+
requestBody: {
|
|
77519
|
+
content: {
|
|
77520
|
+
"application/json": components["schemas"]["DefaultSubsidiaryAccountSchema"];
|
|
77521
|
+
};
|
|
77522
|
+
};
|
|
77523
|
+
responses: {
|
|
77524
|
+
/** @description Created */
|
|
77525
|
+
201: {
|
|
77526
|
+
headers: {
|
|
77527
|
+
[name: string]: unknown;
|
|
77528
|
+
};
|
|
77529
|
+
content: {
|
|
77530
|
+
"application/json": components["schemas"]["DefaultSubsidiaryAccountResponse"];
|
|
77531
|
+
};
|
|
77532
|
+
};
|
|
77533
|
+
/** @description Bad Request */
|
|
77534
|
+
400: {
|
|
77535
|
+
headers: {
|
|
77536
|
+
[name: string]: unknown;
|
|
77537
|
+
};
|
|
77538
|
+
content: {
|
|
77539
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
77540
|
+
};
|
|
77541
|
+
};
|
|
77542
|
+
/** @description Forbidden */
|
|
77543
|
+
403: {
|
|
77544
|
+
headers: {
|
|
77545
|
+
[name: string]: unknown;
|
|
77546
|
+
};
|
|
77547
|
+
content: {
|
|
77548
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77549
|
+
};
|
|
77550
|
+
};
|
|
77551
|
+
/** @description Internal Server Error */
|
|
77552
|
+
500: {
|
|
77553
|
+
headers: {
|
|
77554
|
+
[name: string]: unknown;
|
|
77555
|
+
};
|
|
77556
|
+
content: {
|
|
77557
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77558
|
+
};
|
|
77559
|
+
};
|
|
77560
|
+
};
|
|
77561
|
+
};
|
|
77562
|
+
sales_credit_note_views_list_sales_credit_notes: {
|
|
77563
|
+
parameters: {
|
|
77564
|
+
query?: {
|
|
77565
|
+
/** @description Period type: thisMonth, thisYear, lastMonth, custom, ..., if no value is provided, the default date filtration for user will be used */
|
|
77566
|
+
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom";
|
|
77567
|
+
/** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
77568
|
+
startDate?: string | null;
|
|
77569
|
+
/** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
77570
|
+
endDate?: string | null;
|
|
77571
|
+
/** @description search by credit note number, description, customer name or account number, invoice number */
|
|
77572
|
+
search?: string;
|
|
77573
|
+
};
|
|
77574
|
+
header?: never;
|
|
77575
|
+
path?: never;
|
|
77576
|
+
cookie?: never;
|
|
77577
|
+
};
|
|
77578
|
+
requestBody?: never;
|
|
77579
|
+
responses: {
|
|
77580
|
+
/** @description OK */
|
|
77581
|
+
200: {
|
|
77582
|
+
headers: {
|
|
77583
|
+
[name: string]: unknown;
|
|
77584
|
+
};
|
|
77585
|
+
content: {
|
|
77586
|
+
"application/json": components["schemas"]["SalesCreditNoteListSchema"];
|
|
77587
|
+
};
|
|
77588
|
+
};
|
|
77589
|
+
/** @description Bad Request */
|
|
77590
|
+
400: {
|
|
77591
|
+
headers: {
|
|
77592
|
+
[name: string]: unknown;
|
|
77593
|
+
};
|
|
77594
|
+
content: {
|
|
77595
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
77596
|
+
};
|
|
77597
|
+
};
|
|
77598
|
+
/** @description Forbidden */
|
|
77599
|
+
403: {
|
|
77600
|
+
headers: {
|
|
77601
|
+
[name: string]: unknown;
|
|
77602
|
+
};
|
|
77603
|
+
content: {
|
|
77604
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77605
|
+
};
|
|
77606
|
+
};
|
|
77607
|
+
/** @description Internal Server Error */
|
|
77608
|
+
500: {
|
|
77609
|
+
headers: {
|
|
77610
|
+
[name: string]: unknown;
|
|
77611
|
+
};
|
|
77612
|
+
content: {
|
|
77613
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77614
|
+
};
|
|
77615
|
+
};
|
|
77616
|
+
};
|
|
77617
|
+
};
|
|
77618
|
+
sales_credit_note_views_new_sales_credit_note: {
|
|
77619
|
+
parameters: {
|
|
77620
|
+
query?: never;
|
|
77621
|
+
header?: never;
|
|
77622
|
+
path?: never;
|
|
77623
|
+
cookie?: never;
|
|
77624
|
+
};
|
|
77625
|
+
requestBody: {
|
|
77626
|
+
content: {
|
|
77627
|
+
"application/json": components["schemas"]["SalesCreditNoteCreateSchema"];
|
|
77628
|
+
};
|
|
77629
|
+
};
|
|
77630
|
+
responses: {
|
|
77631
|
+
/** @description Created */
|
|
77632
|
+
201: {
|
|
77633
|
+
headers: {
|
|
77634
|
+
[name: string]: unknown;
|
|
77635
|
+
};
|
|
77636
|
+
content: {
|
|
77637
|
+
"application/json": components["schemas"]["SalesCreditNoteResponse"];
|
|
77638
|
+
};
|
|
77639
|
+
};
|
|
77640
|
+
/** @description Bad Request */
|
|
77641
|
+
400: {
|
|
77642
|
+
headers: {
|
|
77643
|
+
[name: string]: unknown;
|
|
77644
|
+
};
|
|
77645
|
+
content: {
|
|
77646
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
77647
|
+
};
|
|
77648
|
+
};
|
|
77649
|
+
/** @description Forbidden */
|
|
77650
|
+
403: {
|
|
77651
|
+
headers: {
|
|
77652
|
+
[name: string]: unknown;
|
|
77653
|
+
};
|
|
77654
|
+
content: {
|
|
77655
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77656
|
+
};
|
|
77657
|
+
};
|
|
77658
|
+
/** @description Internal Server Error */
|
|
77659
|
+
500: {
|
|
77660
|
+
headers: {
|
|
77661
|
+
[name: string]: unknown;
|
|
77662
|
+
};
|
|
77663
|
+
content: {
|
|
77664
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77665
|
+
};
|
|
77666
|
+
};
|
|
77667
|
+
};
|
|
77668
|
+
};
|
|
77669
|
+
sales_credit_note_views_get_sales_credit_note: {
|
|
77670
|
+
parameters: {
|
|
77671
|
+
query?: never;
|
|
77672
|
+
header?: never;
|
|
77673
|
+
path: {
|
|
77674
|
+
id: string;
|
|
77675
|
+
};
|
|
77676
|
+
cookie?: never;
|
|
77677
|
+
};
|
|
77678
|
+
requestBody?: never;
|
|
77679
|
+
responses: {
|
|
77680
|
+
/** @description OK */
|
|
77681
|
+
200: {
|
|
77682
|
+
headers: {
|
|
77683
|
+
[name: string]: unknown;
|
|
77684
|
+
};
|
|
77685
|
+
content: {
|
|
77686
|
+
"application/json": components["schemas"]["SalesCreditNoteWithItemDetailSchema"];
|
|
77687
|
+
};
|
|
77688
|
+
};
|
|
77689
|
+
/** @description Bad Request */
|
|
77690
|
+
400: {
|
|
77691
|
+
headers: {
|
|
77692
|
+
[name: string]: unknown;
|
|
77693
|
+
};
|
|
77694
|
+
content: {
|
|
77695
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
77696
|
+
};
|
|
77697
|
+
};
|
|
77698
|
+
/** @description Forbidden */
|
|
77699
|
+
403: {
|
|
77700
|
+
headers: {
|
|
77701
|
+
[name: string]: unknown;
|
|
77702
|
+
};
|
|
77703
|
+
content: {
|
|
77704
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77705
|
+
};
|
|
77706
|
+
};
|
|
77707
|
+
/** @description Not Found */
|
|
77708
|
+
404: {
|
|
77709
|
+
headers: {
|
|
77710
|
+
[name: string]: unknown;
|
|
77711
|
+
};
|
|
77712
|
+
content: {
|
|
77713
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77714
|
+
};
|
|
77715
|
+
};
|
|
77716
|
+
/** @description Internal Server Error */
|
|
77717
|
+
500: {
|
|
77718
|
+
headers: {
|
|
77719
|
+
[name: string]: unknown;
|
|
77720
|
+
};
|
|
77721
|
+
content: {
|
|
77722
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77723
|
+
};
|
|
77724
|
+
};
|
|
77725
|
+
};
|
|
77726
|
+
};
|
|
77727
|
+
sales_credit_note_views_update_sales_credit_note: {
|
|
77728
|
+
parameters: {
|
|
77729
|
+
query?: never;
|
|
77730
|
+
header?: never;
|
|
77731
|
+
path: {
|
|
77732
|
+
id: string;
|
|
77733
|
+
};
|
|
77734
|
+
cookie?: never;
|
|
77735
|
+
};
|
|
77736
|
+
requestBody: {
|
|
77737
|
+
content: {
|
|
77738
|
+
"application/json": components["schemas"]["SalesCreditNoteUpdateSchema"];
|
|
77739
|
+
};
|
|
77740
|
+
};
|
|
77741
|
+
responses: {
|
|
77742
|
+
/** @description OK */
|
|
77743
|
+
200: {
|
|
77744
|
+
headers: {
|
|
77745
|
+
[name: string]: unknown;
|
|
77746
|
+
};
|
|
77747
|
+
content: {
|
|
77748
|
+
"application/json": components["schemas"]["SalesCreditNoteResponse"];
|
|
77749
|
+
};
|
|
77750
|
+
};
|
|
77751
|
+
/** @description Bad Request */
|
|
77752
|
+
400: {
|
|
77753
|
+
headers: {
|
|
77754
|
+
[name: string]: unknown;
|
|
77755
|
+
};
|
|
77756
|
+
content: {
|
|
77757
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
77758
|
+
};
|
|
77759
|
+
};
|
|
77760
|
+
/** @description Forbidden */
|
|
77761
|
+
403: {
|
|
77762
|
+
headers: {
|
|
77763
|
+
[name: string]: unknown;
|
|
77764
|
+
};
|
|
77765
|
+
content: {
|
|
77766
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77767
|
+
};
|
|
77768
|
+
};
|
|
77769
|
+
/** @description Not Found */
|
|
77770
|
+
404: {
|
|
77771
|
+
headers: {
|
|
77772
|
+
[name: string]: unknown;
|
|
77773
|
+
};
|
|
77774
|
+
content: {
|
|
77775
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77776
|
+
};
|
|
77777
|
+
};
|
|
77778
|
+
/** @description Internal Server Error */
|
|
77779
|
+
500: {
|
|
77780
|
+
headers: {
|
|
77781
|
+
[name: string]: unknown;
|
|
77782
|
+
};
|
|
77783
|
+
content: {
|
|
77784
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77785
|
+
};
|
|
77786
|
+
};
|
|
77787
|
+
};
|
|
77788
|
+
};
|
|
77789
|
+
sales_credit_note_views_delete_sales_credit_note: {
|
|
76777
77790
|
parameters: {
|
|
76778
77791
|
query?: never;
|
|
76779
77792
|
header?: never;
|
|
76780
|
-
path
|
|
77793
|
+
path: {
|
|
77794
|
+
id: string;
|
|
77795
|
+
};
|
|
76781
77796
|
cookie?: never;
|
|
76782
77797
|
};
|
|
76783
77798
|
requestBody: {
|
|
76784
77799
|
content: {
|
|
76785
|
-
"application/json": components["schemas"]["
|
|
77800
|
+
"application/json": components["schemas"]["SalesCreditNoteDeleteSchema"];
|
|
76786
77801
|
};
|
|
76787
77802
|
};
|
|
76788
77803
|
responses: {
|
|
76789
|
-
/** @description
|
|
76790
|
-
|
|
77804
|
+
/** @description No Content */
|
|
77805
|
+
204: {
|
|
76791
77806
|
headers: {
|
|
76792
77807
|
[name: string]: unknown;
|
|
76793
77808
|
};
|
|
76794
|
-
content
|
|
76795
|
-
"application/json": components["schemas"]["DefaultSubsidiaryAccountResponse"];
|
|
76796
|
-
};
|
|
77809
|
+
content?: never;
|
|
76797
77810
|
};
|
|
76798
77811
|
/** @description Bad Request */
|
|
76799
77812
|
400: {
|
|
@@ -76813,6 +77826,15 @@ export interface operations {
|
|
|
76813
77826
|
"application/json": components["schemas"]["MessageResponse"];
|
|
76814
77827
|
};
|
|
76815
77828
|
};
|
|
77829
|
+
/** @description Not Found */
|
|
77830
|
+
404: {
|
|
77831
|
+
headers: {
|
|
77832
|
+
[name: string]: unknown;
|
|
77833
|
+
};
|
|
77834
|
+
content: {
|
|
77835
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77836
|
+
};
|
|
77837
|
+
};
|
|
76816
77838
|
/** @description Internal Server Error */
|
|
76817
77839
|
500: {
|
|
76818
77840
|
headers: {
|
|
@@ -76824,23 +77846,20 @@ export interface operations {
|
|
|
76824
77846
|
};
|
|
76825
77847
|
};
|
|
76826
77848
|
};
|
|
76827
|
-
|
|
77849
|
+
sales_credit_note_views_cancel_sales_credit_note: {
|
|
76828
77850
|
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
|
-
};
|
|
77851
|
+
query?: never;
|
|
76839
77852
|
header?: never;
|
|
76840
|
-
path
|
|
77853
|
+
path: {
|
|
77854
|
+
id: string;
|
|
77855
|
+
};
|
|
76841
77856
|
cookie?: never;
|
|
76842
77857
|
};
|
|
76843
|
-
requestBody
|
|
77858
|
+
requestBody: {
|
|
77859
|
+
content: {
|
|
77860
|
+
"application/json": components["schemas"]["SalesCreditNoteActionsSchema"];
|
|
77861
|
+
};
|
|
77862
|
+
};
|
|
76844
77863
|
responses: {
|
|
76845
77864
|
/** @description OK */
|
|
76846
77865
|
200: {
|
|
@@ -76848,7 +77867,7 @@ export interface operations {
|
|
|
76848
77867
|
[name: string]: unknown;
|
|
76849
77868
|
};
|
|
76850
77869
|
content: {
|
|
76851
|
-
"application/json": components["schemas"]["
|
|
77870
|
+
"application/json": components["schemas"]["SalesCreditNoteResponse"];
|
|
76852
77871
|
};
|
|
76853
77872
|
};
|
|
76854
77873
|
/** @description Bad Request */
|
|
@@ -76869,6 +77888,15 @@ export interface operations {
|
|
|
76869
77888
|
"application/json": components["schemas"]["MessageResponse"];
|
|
76870
77889
|
};
|
|
76871
77890
|
};
|
|
77891
|
+
/** @description Not Found */
|
|
77892
|
+
404: {
|
|
77893
|
+
headers: {
|
|
77894
|
+
[name: string]: unknown;
|
|
77895
|
+
};
|
|
77896
|
+
content: {
|
|
77897
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77898
|
+
};
|
|
77899
|
+
};
|
|
76872
77900
|
/** @description Internal Server Error */
|
|
76873
77901
|
500: {
|
|
76874
77902
|
headers: {
|
|
@@ -76880,21 +77908,23 @@ export interface operations {
|
|
|
76880
77908
|
};
|
|
76881
77909
|
};
|
|
76882
77910
|
};
|
|
76883
|
-
|
|
77911
|
+
sales_credit_note_views_reset_credit_note_to_draft: {
|
|
76884
77912
|
parameters: {
|
|
76885
77913
|
query?: never;
|
|
76886
77914
|
header?: never;
|
|
76887
|
-
path
|
|
77915
|
+
path: {
|
|
77916
|
+
id: string;
|
|
77917
|
+
};
|
|
76888
77918
|
cookie?: never;
|
|
76889
77919
|
};
|
|
76890
77920
|
requestBody: {
|
|
76891
77921
|
content: {
|
|
76892
|
-
"application/json": components["schemas"]["
|
|
77922
|
+
"application/json": components["schemas"]["SalesCreditNoteActionsSchema"];
|
|
76893
77923
|
};
|
|
76894
77924
|
};
|
|
76895
77925
|
responses: {
|
|
76896
|
-
/** @description
|
|
76897
|
-
|
|
77926
|
+
/** @description OK */
|
|
77927
|
+
200: {
|
|
76898
77928
|
headers: {
|
|
76899
77929
|
[name: string]: unknown;
|
|
76900
77930
|
};
|
|
@@ -76920,6 +77950,15 @@ export interface operations {
|
|
|
76920
77950
|
"application/json": components["schemas"]["MessageResponse"];
|
|
76921
77951
|
};
|
|
76922
77952
|
};
|
|
77953
|
+
/** @description Not Found */
|
|
77954
|
+
404: {
|
|
77955
|
+
headers: {
|
|
77956
|
+
[name: string]: unknown;
|
|
77957
|
+
};
|
|
77958
|
+
content: {
|
|
77959
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77960
|
+
};
|
|
77961
|
+
};
|
|
76923
77962
|
/** @description Internal Server Error */
|
|
76924
77963
|
500: {
|
|
76925
77964
|
headers: {
|
|
@@ -76931,7 +77970,7 @@ export interface operations {
|
|
|
76931
77970
|
};
|
|
76932
77971
|
};
|
|
76933
77972
|
};
|
|
76934
|
-
|
|
77973
|
+
sales_credit_note_views_export_sales_credit_note_pdf: {
|
|
76935
77974
|
parameters: {
|
|
76936
77975
|
query?: never;
|
|
76937
77976
|
header?: never;
|
|
@@ -76948,7 +77987,7 @@ export interface operations {
|
|
|
76948
77987
|
[name: string]: unknown;
|
|
76949
77988
|
};
|
|
76950
77989
|
content: {
|
|
76951
|
-
"application/json":
|
|
77990
|
+
"application/json": string;
|
|
76952
77991
|
};
|
|
76953
77992
|
};
|
|
76954
77993
|
/** @description Bad Request */
|
|
@@ -76989,7 +78028,7 @@ export interface operations {
|
|
|
76989
78028
|
};
|
|
76990
78029
|
};
|
|
76991
78030
|
};
|
|
76992
|
-
|
|
78031
|
+
sales_credit_note_views_send_sales_credit_note_by_email: {
|
|
76993
78032
|
parameters: {
|
|
76994
78033
|
query?: never;
|
|
76995
78034
|
header?: never;
|
|
@@ -77000,7 +78039,7 @@ export interface operations {
|
|
|
77000
78039
|
};
|
|
77001
78040
|
requestBody: {
|
|
77002
78041
|
content: {
|
|
77003
|
-
"application/json": components["schemas"]["
|
|
78042
|
+
"application/json": components["schemas"]["EmailContentSchema"];
|
|
77004
78043
|
};
|
|
77005
78044
|
};
|
|
77006
78045
|
responses: {
|
|
@@ -77010,7 +78049,7 @@ export interface operations {
|
|
|
77010
78049
|
[name: string]: unknown;
|
|
77011
78050
|
};
|
|
77012
78051
|
content: {
|
|
77013
|
-
"application/json": components["schemas"]["
|
|
78052
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
77014
78053
|
};
|
|
77015
78054
|
};
|
|
77016
78055
|
/** @description Bad Request */
|
|
@@ -77051,27 +78090,132 @@ export interface operations {
|
|
|
77051
78090
|
};
|
|
77052
78091
|
};
|
|
77053
78092
|
};
|
|
77054
|
-
|
|
78093
|
+
inventory_package_returnable_package_views_list_returnable_package_reconciliations: {
|
|
77055
78094
|
parameters: {
|
|
77056
|
-
query?:
|
|
78095
|
+
query?: {
|
|
78096
|
+
/** @description Period type: thisMonth, thisYear, lastMonth, custom, ...,default should be date filtration in user settings */
|
|
78097
|
+
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom";
|
|
78098
|
+
/** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
78099
|
+
startDate?: string | null;
|
|
78100
|
+
/** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
78101
|
+
endDate?: string | null;
|
|
78102
|
+
/** @description search by document number, document description, customer name, customer account number,item name, item barcode, item sku code or package name */
|
|
78103
|
+
search?: string;
|
|
78104
|
+
};
|
|
77057
78105
|
header?: never;
|
|
77058
|
-
path
|
|
77059
|
-
|
|
78106
|
+
path?: never;
|
|
78107
|
+
cookie?: never;
|
|
78108
|
+
};
|
|
78109
|
+
requestBody?: never;
|
|
78110
|
+
responses: {
|
|
78111
|
+
/** @description OK */
|
|
78112
|
+
200: {
|
|
78113
|
+
headers: {
|
|
78114
|
+
[name: string]: unknown;
|
|
78115
|
+
};
|
|
78116
|
+
content: {
|
|
78117
|
+
"application/json": components["schemas"]["ReturnablePackageReconciliationListSchema"];
|
|
78118
|
+
};
|
|
78119
|
+
};
|
|
78120
|
+
/** @description Bad Request */
|
|
78121
|
+
400: {
|
|
78122
|
+
headers: {
|
|
78123
|
+
[name: string]: unknown;
|
|
78124
|
+
};
|
|
78125
|
+
content: {
|
|
78126
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
78127
|
+
};
|
|
78128
|
+
};
|
|
78129
|
+
/** @description Forbidden */
|
|
78130
|
+
403: {
|
|
78131
|
+
headers: {
|
|
78132
|
+
[name: string]: unknown;
|
|
78133
|
+
};
|
|
78134
|
+
content: {
|
|
78135
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
78136
|
+
};
|
|
77060
78137
|
};
|
|
78138
|
+
/** @description Internal Server Error */
|
|
78139
|
+
500: {
|
|
78140
|
+
headers: {
|
|
78141
|
+
[name: string]: unknown;
|
|
78142
|
+
};
|
|
78143
|
+
content: {
|
|
78144
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
78145
|
+
};
|
|
78146
|
+
};
|
|
78147
|
+
};
|
|
78148
|
+
};
|
|
78149
|
+
inventory_package_returnable_package_views_new_returnable_package_reconciliation: {
|
|
78150
|
+
parameters: {
|
|
78151
|
+
query?: never;
|
|
78152
|
+
header?: never;
|
|
78153
|
+
path?: never;
|
|
77061
78154
|
cookie?: never;
|
|
77062
78155
|
};
|
|
77063
78156
|
requestBody: {
|
|
77064
78157
|
content: {
|
|
77065
|
-
"application/json": components["schemas"]["
|
|
78158
|
+
"application/json": components["schemas"]["ReturnablePackageReconciliationCreateSchema"];
|
|
77066
78159
|
};
|
|
77067
78160
|
};
|
|
77068
78161
|
responses: {
|
|
77069
|
-
/** @description
|
|
77070
|
-
|
|
78162
|
+
/** @description Created */
|
|
78163
|
+
201: {
|
|
77071
78164
|
headers: {
|
|
77072
78165
|
[name: string]: unknown;
|
|
77073
78166
|
};
|
|
77074
|
-
content
|
|
78167
|
+
content: {
|
|
78168
|
+
"application/json": components["schemas"]["ReturnablePackageReconciliationResponse"];
|
|
78169
|
+
};
|
|
78170
|
+
};
|
|
78171
|
+
/** @description Bad Request */
|
|
78172
|
+
400: {
|
|
78173
|
+
headers: {
|
|
78174
|
+
[name: string]: unknown;
|
|
78175
|
+
};
|
|
78176
|
+
content: {
|
|
78177
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
78178
|
+
};
|
|
78179
|
+
};
|
|
78180
|
+
/** @description Forbidden */
|
|
78181
|
+
403: {
|
|
78182
|
+
headers: {
|
|
78183
|
+
[name: string]: unknown;
|
|
78184
|
+
};
|
|
78185
|
+
content: {
|
|
78186
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
78187
|
+
};
|
|
78188
|
+
};
|
|
78189
|
+
/** @description Internal Server Error */
|
|
78190
|
+
500: {
|
|
78191
|
+
headers: {
|
|
78192
|
+
[name: string]: unknown;
|
|
78193
|
+
};
|
|
78194
|
+
content: {
|
|
78195
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
78196
|
+
};
|
|
78197
|
+
};
|
|
78198
|
+
};
|
|
78199
|
+
};
|
|
78200
|
+
inventory_package_returnable_package_views_get_returnable_package_reconciliation: {
|
|
78201
|
+
parameters: {
|
|
78202
|
+
query?: never;
|
|
78203
|
+
header?: never;
|
|
78204
|
+
path: {
|
|
78205
|
+
id: string;
|
|
78206
|
+
};
|
|
78207
|
+
cookie?: never;
|
|
78208
|
+
};
|
|
78209
|
+
requestBody?: never;
|
|
78210
|
+
responses: {
|
|
78211
|
+
/** @description OK */
|
|
78212
|
+
200: {
|
|
78213
|
+
headers: {
|
|
78214
|
+
[name: string]: unknown;
|
|
78215
|
+
};
|
|
78216
|
+
content: {
|
|
78217
|
+
"application/json": components["schemas"]["ReturnablePackageReconciliationWithItemDetailSchema"];
|
|
78218
|
+
};
|
|
77075
78219
|
};
|
|
77076
78220
|
/** @description Bad Request */
|
|
77077
78221
|
400: {
|
|
@@ -77111,7 +78255,7 @@ export interface operations {
|
|
|
77111
78255
|
};
|
|
77112
78256
|
};
|
|
77113
78257
|
};
|
|
77114
|
-
|
|
78258
|
+
inventory_package_returnable_package_views_edit_returnable_package_reconciliation: {
|
|
77115
78259
|
parameters: {
|
|
77116
78260
|
query?: never;
|
|
77117
78261
|
header?: never;
|
|
@@ -77122,7 +78266,7 @@ export interface operations {
|
|
|
77122
78266
|
};
|
|
77123
78267
|
requestBody: {
|
|
77124
78268
|
content: {
|
|
77125
|
-
"application/json": components["schemas"]["
|
|
78269
|
+
"application/json": components["schemas"]["ReturnablePackageReconciliationUpdateSchema"];
|
|
77126
78270
|
};
|
|
77127
78271
|
};
|
|
77128
78272
|
responses: {
|
|
@@ -77132,7 +78276,7 @@ export interface operations {
|
|
|
77132
78276
|
[name: string]: unknown;
|
|
77133
78277
|
};
|
|
77134
78278
|
content: {
|
|
77135
|
-
"application/json": components["schemas"]["
|
|
78279
|
+
"application/json": components["schemas"]["ReturnablePackageReconciliationResponse"];
|
|
77136
78280
|
};
|
|
77137
78281
|
};
|
|
77138
78282
|
/** @description Bad Request */
|
|
@@ -77173,7 +78317,7 @@ export interface operations {
|
|
|
77173
78317
|
};
|
|
77174
78318
|
};
|
|
77175
78319
|
};
|
|
77176
|
-
|
|
78320
|
+
inventory_package_returnable_package_views_delete_returnable_package_reconciliation: {
|
|
77177
78321
|
parameters: {
|
|
77178
78322
|
query?: never;
|
|
77179
78323
|
header?: never;
|
|
@@ -77182,20 +78326,14 @@ export interface operations {
|
|
|
77182
78326
|
};
|
|
77183
78327
|
cookie?: never;
|
|
77184
78328
|
};
|
|
77185
|
-
requestBody
|
|
77186
|
-
content: {
|
|
77187
|
-
"application/json": components["schemas"]["SalesCreditNoteActionsSchema"];
|
|
77188
|
-
};
|
|
77189
|
-
};
|
|
78329
|
+
requestBody?: never;
|
|
77190
78330
|
responses: {
|
|
77191
|
-
/** @description
|
|
77192
|
-
|
|
78331
|
+
/** @description No Content */
|
|
78332
|
+
204: {
|
|
77193
78333
|
headers: {
|
|
77194
78334
|
[name: string]: unknown;
|
|
77195
78335
|
};
|
|
77196
|
-
content
|
|
77197
|
-
"application/json": components["schemas"]["SalesCreditNoteResponse"];
|
|
77198
|
-
};
|
|
78336
|
+
content?: never;
|
|
77199
78337
|
};
|
|
77200
78338
|
/** @description Bad Request */
|
|
77201
78339
|
400: {
|
|
@@ -77235,7 +78373,7 @@ export interface operations {
|
|
|
77235
78373
|
};
|
|
77236
78374
|
};
|
|
77237
78375
|
};
|
|
77238
|
-
|
|
78376
|
+
inventory_package_returnable_package_views_cancel_returnable_package_reconciliation: {
|
|
77239
78377
|
parameters: {
|
|
77240
78378
|
query?: never;
|
|
77241
78379
|
header?: never;
|
|
@@ -77252,7 +78390,7 @@ export interface operations {
|
|
|
77252
78390
|
[name: string]: unknown;
|
|
77253
78391
|
};
|
|
77254
78392
|
content: {
|
|
77255
|
-
"application/json":
|
|
78393
|
+
"application/json": components["schemas"]["ReturnablePackageReconciliationResponse"];
|
|
77256
78394
|
};
|
|
77257
78395
|
};
|
|
77258
78396
|
/** @description Bad Request */
|
|
@@ -77293,7 +78431,7 @@ export interface operations {
|
|
|
77293
78431
|
};
|
|
77294
78432
|
};
|
|
77295
78433
|
};
|
|
77296
|
-
|
|
78434
|
+
inventory_package_returnable_package_views_reset_returnable_package_reconciliation_to_draft: {
|
|
77297
78435
|
parameters: {
|
|
77298
78436
|
query?: never;
|
|
77299
78437
|
header?: never;
|
|
@@ -77302,11 +78440,7 @@ export interface operations {
|
|
|
77302
78440
|
};
|
|
77303
78441
|
cookie?: never;
|
|
77304
78442
|
};
|
|
77305
|
-
requestBody
|
|
77306
|
-
content: {
|
|
77307
|
-
"application/json": components["schemas"]["EmailContentSchema"];
|
|
77308
|
-
};
|
|
77309
|
-
};
|
|
78443
|
+
requestBody?: never;
|
|
77310
78444
|
responses: {
|
|
77311
78445
|
/** @description OK */
|
|
77312
78446
|
200: {
|
|
@@ -77314,7 +78448,7 @@ export interface operations {
|
|
|
77314
78448
|
[name: string]: unknown;
|
|
77315
78449
|
};
|
|
77316
78450
|
content: {
|
|
77317
|
-
"application/json": components["schemas"]["
|
|
78451
|
+
"application/json": components["schemas"]["ReturnablePackageReconciliationResponse"];
|
|
77318
78452
|
};
|
|
77319
78453
|
};
|
|
77320
78454
|
/** @description Bad Request */
|
|
@@ -77355,16 +78489,16 @@ export interface operations {
|
|
|
77355
78489
|
};
|
|
77356
78490
|
};
|
|
77357
78491
|
};
|
|
77358
|
-
|
|
78492
|
+
inventory_package_returnable_package_views_list_return_returnable_packages: {
|
|
77359
78493
|
parameters: {
|
|
77360
78494
|
query?: {
|
|
77361
|
-
/** @description Period type: thisMonth, thisYear, lastMonth, custom,
|
|
78495
|
+
/** @description Period type: thisMonth, thisYear, lastMonth, custom, ... */
|
|
77362
78496
|
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom";
|
|
77363
78497
|
/** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
77364
78498
|
startDate?: string | null;
|
|
77365
78499
|
/** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
77366
78500
|
endDate?: string | null;
|
|
77367
|
-
/** @description search by document number, document description, customer name, customer account number,item name,
|
|
78501
|
+
/** @description search by document number, document description, customer name, customer account number,item name, package name or barcode */
|
|
77368
78502
|
search?: string;
|
|
77369
78503
|
};
|
|
77370
78504
|
header?: never;
|
|
@@ -77379,7 +78513,7 @@ export interface operations {
|
|
|
77379
78513
|
[name: string]: unknown;
|
|
77380
78514
|
};
|
|
77381
78515
|
content: {
|
|
77382
|
-
"application/json": components["schemas"]["
|
|
78516
|
+
"application/json": components["schemas"]["ReturnReturnablePackageListSchema"];
|
|
77383
78517
|
};
|
|
77384
78518
|
};
|
|
77385
78519
|
/** @description Bad Request */
|
|
@@ -77411,7 +78545,7 @@ export interface operations {
|
|
|
77411
78545
|
};
|
|
77412
78546
|
};
|
|
77413
78547
|
};
|
|
77414
|
-
|
|
78548
|
+
inventory_package_returnable_package_views_new_return_returnable_package: {
|
|
77415
78549
|
parameters: {
|
|
77416
78550
|
query?: never;
|
|
77417
78551
|
header?: never;
|
|
@@ -77420,7 +78554,7 @@ export interface operations {
|
|
|
77420
78554
|
};
|
|
77421
78555
|
requestBody: {
|
|
77422
78556
|
content: {
|
|
77423
|
-
"application/json": components["schemas"]["
|
|
78557
|
+
"application/json": components["schemas"]["ReturnReturnablePackageCreateSchema"];
|
|
77424
78558
|
};
|
|
77425
78559
|
};
|
|
77426
78560
|
responses: {
|
|
@@ -77430,7 +78564,7 @@ export interface operations {
|
|
|
77430
78564
|
[name: string]: unknown;
|
|
77431
78565
|
};
|
|
77432
78566
|
content: {
|
|
77433
|
-
"application/json": components["schemas"]["
|
|
78567
|
+
"application/json": components["schemas"]["ReturnReturnablePackageResponse"];
|
|
77434
78568
|
};
|
|
77435
78569
|
};
|
|
77436
78570
|
/** @description Bad Request */
|
|
@@ -77462,7 +78596,7 @@ export interface operations {
|
|
|
77462
78596
|
};
|
|
77463
78597
|
};
|
|
77464
78598
|
};
|
|
77465
|
-
|
|
78599
|
+
inventory_package_returnable_package_views_get_return_returnable_package: {
|
|
77466
78600
|
parameters: {
|
|
77467
78601
|
query?: never;
|
|
77468
78602
|
header?: never;
|
|
@@ -77479,7 +78613,7 @@ export interface operations {
|
|
|
77479
78613
|
[name: string]: unknown;
|
|
77480
78614
|
};
|
|
77481
78615
|
content: {
|
|
77482
|
-
"application/json": components["schemas"]["
|
|
78616
|
+
"application/json": components["schemas"]["ReturnReturnablePackageWithItemDetailSchema"];
|
|
77483
78617
|
};
|
|
77484
78618
|
};
|
|
77485
78619
|
/** @description Bad Request */
|
|
@@ -77520,7 +78654,7 @@ export interface operations {
|
|
|
77520
78654
|
};
|
|
77521
78655
|
};
|
|
77522
78656
|
};
|
|
77523
|
-
|
|
78657
|
+
inventory_package_returnable_package_views_edit_return_returnable_package: {
|
|
77524
78658
|
parameters: {
|
|
77525
78659
|
query?: never;
|
|
77526
78660
|
header?: never;
|
|
@@ -77531,7 +78665,7 @@ export interface operations {
|
|
|
77531
78665
|
};
|
|
77532
78666
|
requestBody: {
|
|
77533
78667
|
content: {
|
|
77534
|
-
"application/json": components["schemas"]["
|
|
78668
|
+
"application/json": components["schemas"]["ReturnReturnablePackageUpdateSchema"];
|
|
77535
78669
|
};
|
|
77536
78670
|
};
|
|
77537
78671
|
responses: {
|
|
@@ -77582,7 +78716,7 @@ export interface operations {
|
|
|
77582
78716
|
};
|
|
77583
78717
|
};
|
|
77584
78718
|
};
|
|
77585
|
-
|
|
78719
|
+
inventory_package_returnable_package_views_delete_return_returnable_package: {
|
|
77586
78720
|
parameters: {
|
|
77587
78721
|
query?: never;
|
|
77588
78722
|
header?: never;
|
|
@@ -77638,7 +78772,7 @@ export interface operations {
|
|
|
77638
78772
|
};
|
|
77639
78773
|
};
|
|
77640
78774
|
};
|
|
77641
|
-
|
|
78775
|
+
inventory_package_returnable_package_views_cancel_return_returnable_package: {
|
|
77642
78776
|
parameters: {
|
|
77643
78777
|
query?: never;
|
|
77644
78778
|
header?: never;
|
|
@@ -77655,7 +78789,7 @@ export interface operations {
|
|
|
77655
78789
|
[name: string]: unknown;
|
|
77656
78790
|
};
|
|
77657
78791
|
content: {
|
|
77658
|
-
"application/json": components["schemas"]["
|
|
78792
|
+
"application/json": components["schemas"]["ReturnReturnablePackageResponse"];
|
|
77659
78793
|
};
|
|
77660
78794
|
};
|
|
77661
78795
|
/** @description Bad Request */
|
|
@@ -77696,7 +78830,7 @@ export interface operations {
|
|
|
77696
78830
|
};
|
|
77697
78831
|
};
|
|
77698
78832
|
};
|
|
77699
|
-
|
|
78833
|
+
inventory_package_returnable_package_views_reset_return_returnable_package_to_draft: {
|
|
77700
78834
|
parameters: {
|
|
77701
78835
|
query?: never;
|
|
77702
78836
|
header?: never;
|
|
@@ -77713,7 +78847,7 @@ export interface operations {
|
|
|
77713
78847
|
[name: string]: unknown;
|
|
77714
78848
|
};
|
|
77715
78849
|
content: {
|
|
77716
|
-
"application/json": components["schemas"]["
|
|
78850
|
+
"application/json": components["schemas"]["ReturnReturnablePackageResponse"];
|
|
77717
78851
|
};
|
|
77718
78852
|
};
|
|
77719
78853
|
/** @description Bad Request */
|