@erp-galoper/types 1.0.2000 → 1.0.2002
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 +815 -85
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -17632,6 +17632,7 @@ export interface paths {
|
|
|
17632
17632
|
* - documentNotBalanced
|
|
17633
17633
|
* - paidSalesInvoiceShouldBeLessThanSalesInvoice
|
|
17634
17634
|
* - receiptVoucherShouldBeDraft
|
|
17635
|
+
* - receiptVoucherIsDeposited
|
|
17635
17636
|
* - salesInvoiceShouldBSubmittedOrePostedOrSent
|
|
17636
17637
|
* - salesInvoiceShouldBeApprovedOrDoesNotRequiresApproval
|
|
17637
17638
|
* - salesInvoiceDoesNotBelongToSelectedCustomer
|
|
@@ -17661,6 +17662,7 @@ export interface paths {
|
|
|
17661
17662
|
* - cantMakeActionOnLockedDocument
|
|
17662
17663
|
* - 400:
|
|
17663
17664
|
* - cantBeDeleted
|
|
17665
|
+
* - receiptVoucherIsDeposited
|
|
17664
17666
|
* - invalidPassword
|
|
17665
17667
|
* - noPasswordProvided
|
|
17666
17668
|
* - 500:
|
|
@@ -17690,6 +17692,7 @@ export interface paths {
|
|
|
17690
17692
|
* - 400:
|
|
17691
17693
|
* - invalidPassword
|
|
17692
17694
|
* - noPasswordProvided
|
|
17695
|
+
* - receiptVoucherIsDeposited
|
|
17693
17696
|
* - 404 :
|
|
17694
17697
|
* - receiptVoucherDoesNotExist
|
|
17695
17698
|
* - 403:
|
|
@@ -17726,6 +17729,7 @@ export interface paths {
|
|
|
17726
17729
|
* - 400:
|
|
17727
17730
|
* - invalidPassword
|
|
17728
17731
|
* - noPasswordProvided
|
|
17732
|
+
* - receiptVoucherIsDeposited
|
|
17729
17733
|
* - 404:
|
|
17730
17734
|
* - receiptVoucherDoesNotExist
|
|
17731
17735
|
* - 403:
|
|
@@ -17806,6 +17810,93 @@ export interface paths {
|
|
|
17806
17810
|
patch?: never;
|
|
17807
17811
|
trace?: never;
|
|
17808
17812
|
};
|
|
17813
|
+
"/api/v1/sales/collection-deposits/": {
|
|
17814
|
+
parameters: {
|
|
17815
|
+
query?: never;
|
|
17816
|
+
header?: never;
|
|
17817
|
+
path?: never;
|
|
17818
|
+
cookie?: never;
|
|
17819
|
+
};
|
|
17820
|
+
/**
|
|
17821
|
+
* List Collection Deposits
|
|
17822
|
+
* @description List collection deposits.
|
|
17823
|
+
* Permission key: collection_deposit : [ view ]
|
|
17824
|
+
*/
|
|
17825
|
+
get: operations["sales_collection_deposit_views_list_collection_deposits"];
|
|
17826
|
+
put?: never;
|
|
17827
|
+
/**
|
|
17828
|
+
* Create Collection Deposit
|
|
17829
|
+
* @description Create a collection deposit.
|
|
17830
|
+
* - 201: collectionDepositCreated
|
|
17831
|
+
* - 400: depositToAccountDoesNotExist / depositToAccountShouldBeActive /
|
|
17832
|
+
* receiptVoucherDoesNotExist / receiptVoucherDoesNotBelongToEmployee /
|
|
17833
|
+
* receiptVoucherDepositStatusShouldBePending / entriesAreNotBalanced
|
|
17834
|
+
* - 403: permissionDenied / noBranchAccess / noModuleAccess / cantMakeActionOnLockedDocument
|
|
17835
|
+
* Permission key: collection_deposit : [ add ]
|
|
17836
|
+
*/
|
|
17837
|
+
post: operations["sales_collection_deposit_views_create_collection_deposit"];
|
|
17838
|
+
delete?: never;
|
|
17839
|
+
options?: never;
|
|
17840
|
+
head?: never;
|
|
17841
|
+
patch?: never;
|
|
17842
|
+
trace?: never;
|
|
17843
|
+
};
|
|
17844
|
+
"/api/v1/sales/collection-deposits/{id}/": {
|
|
17845
|
+
parameters: {
|
|
17846
|
+
query?: never;
|
|
17847
|
+
header?: never;
|
|
17848
|
+
path?: never;
|
|
17849
|
+
cookie?: never;
|
|
17850
|
+
};
|
|
17851
|
+
/**
|
|
17852
|
+
* Get Collection Deposit
|
|
17853
|
+
* @description Retrieve a collection deposit.
|
|
17854
|
+
* Permission key: collection_deposit : [ view ]
|
|
17855
|
+
*/
|
|
17856
|
+
get: operations["sales_collection_deposit_views_get_collection_deposit"];
|
|
17857
|
+
/**
|
|
17858
|
+
* Edit Collection Deposit
|
|
17859
|
+
* @description Update a collection deposit. Deletes and recreates post entries from scratch.
|
|
17860
|
+
* - 200: collectionDepositUpdated
|
|
17861
|
+
* - 400: depositToAccountDoesNotExist / receiptVoucherDoesNotExist / entriesAreNotBalanced
|
|
17862
|
+
* - 403: permissionDenied / noBranchAccess / noModuleAccess / cantMakeActionOnLockedDocument
|
|
17863
|
+
* - 404: collectionDepositDoesNotExist
|
|
17864
|
+
* Permission key: collection_deposit : [ change ]
|
|
17865
|
+
*/
|
|
17866
|
+
put: operations["sales_collection_deposit_views_edit_collection_deposit"];
|
|
17867
|
+
post?: never;
|
|
17868
|
+
/**
|
|
17869
|
+
* Delete Collection Deposit
|
|
17870
|
+
* @description Delete a collection deposit (draft only). Removes all post entries.
|
|
17871
|
+
* Permission key: collection_deposit : [ delete ]
|
|
17872
|
+
*/
|
|
17873
|
+
delete: operations["sales_collection_deposit_views_delete_collection_deposit"];
|
|
17874
|
+
options?: never;
|
|
17875
|
+
head?: never;
|
|
17876
|
+
patch?: never;
|
|
17877
|
+
trace?: never;
|
|
17878
|
+
};
|
|
17879
|
+
"/api/v1/sales/collection-deposits/{id}/cancel/": {
|
|
17880
|
+
parameters: {
|
|
17881
|
+
query?: never;
|
|
17882
|
+
header?: never;
|
|
17883
|
+
path?: never;
|
|
17884
|
+
cookie?: never;
|
|
17885
|
+
};
|
|
17886
|
+
get?: never;
|
|
17887
|
+
put?: never;
|
|
17888
|
+
/**
|
|
17889
|
+
* Cancel Collection Deposit
|
|
17890
|
+
* @description Cancel a collection deposit. Reverses balances + deletes post entries. Resets RV statuses to pending.
|
|
17891
|
+
* Permission key: collection_deposit : [ cancel ]
|
|
17892
|
+
*/
|
|
17893
|
+
post: operations["sales_collection_deposit_views_cancel_collection_deposit"];
|
|
17894
|
+
delete?: never;
|
|
17895
|
+
options?: never;
|
|
17896
|
+
head?: never;
|
|
17897
|
+
patch?: never;
|
|
17898
|
+
trace?: never;
|
|
17899
|
+
};
|
|
17809
17900
|
"/api/v1/sales/invoices/calculate-totals/": {
|
|
17810
17901
|
parameters: {
|
|
17811
17902
|
query?: never;
|
|
@@ -30970,7 +31061,7 @@ export interface components {
|
|
|
30970
31061
|
* FileType
|
|
30971
31062
|
* @enum {string}
|
|
30972
31063
|
*/
|
|
30973
|
-
FileType: "item" | "company" | "user" | "supplier" | "customer" | "itemCategory" | "journalVoucher" | "supplierPriceList" | "requisition" | "purchaseQuotation" | "purchaseOrder" | "purchaseReturnOrder" | "advancePayment" | "requestForQuotation" | "purchaseInvoice" | "purchaseReturnInvoice" | "salesPriceList" | "closingCommission" | "commissionStructure" | "commissionPayout" | "offerAndPromotion" | "refundVoucher" | "paymentVoucher" | "purchaseCreditNote" | "downPayment" | "receiptVoucher" | "salesPerson" | "salesQuotation" | "salesOrder" | "salesReturnOrder" | "salesInvoice" | "salesReturnInvoice" | "salesRefundVoucher" | "goodsReceiptNote" | "goodsDeliveryNote" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "customFieldValue" | "transferRequest" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "task" | "event" | "whatsappTemplate" | "repairOrder";
|
|
31064
|
+
FileType: "item" | "company" | "user" | "supplier" | "customer" | "itemCategory" | "journalVoucher" | "supplierPriceList" | "requisition" | "purchaseQuotation" | "purchaseOrder" | "purchaseReturnOrder" | "advancePayment" | "requestForQuotation" | "purchaseInvoice" | "purchaseReturnInvoice" | "salesPriceList" | "closingCommission" | "commissionStructure" | "commissionPayout" | "offerAndPromotion" | "refundVoucher" | "paymentVoucher" | "purchaseCreditNote" | "downPayment" | "receiptVoucher" | "salesPerson" | "salesQuotation" | "salesOrder" | "salesReturnOrder" | "salesInvoice" | "salesReturnInvoice" | "salesRefundVoucher" | "goodsReceiptNote" | "goodsDeliveryNote" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "customFieldValue" | "transferRequest" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "task" | "event" | "whatsappTemplate" | "repairOrder" | "collectionDeposit";
|
|
30974
31065
|
/** currencyCodeOut */
|
|
30975
31066
|
currencyCodeOut: {
|
|
30976
31067
|
/** Currencycode */
|
|
@@ -56374,7 +56465,7 @@ export interface components {
|
|
|
56374
56465
|
/** Attachments */
|
|
56375
56466
|
attachments: string[] | null;
|
|
56376
56467
|
status: components["schemas"]["DocumentStatus"];
|
|
56377
|
-
approvalStatus
|
|
56468
|
+
approvalStatus?: components["schemas"]["ApprovalChoices"] | null;
|
|
56378
56469
|
/**
|
|
56379
56470
|
* Total
|
|
56380
56471
|
* @description field is number
|
|
@@ -56392,6 +56483,8 @@ export interface components {
|
|
|
56392
56483
|
secondaryTotal: string;
|
|
56393
56484
|
/** Candelete */
|
|
56394
56485
|
canDelete: boolean;
|
|
56486
|
+
/** Depositstatus */
|
|
56487
|
+
depositStatus?: string | null;
|
|
56395
56488
|
/** @description Visible when enableEmployeeCollection active in sales settings. */
|
|
56396
56489
|
collectedBy?: components["schemas"]["EmployeeSummarySchema"] | null;
|
|
56397
56490
|
/**
|
|
@@ -56591,7 +56684,7 @@ export interface components {
|
|
|
56591
56684
|
/** Attachments */
|
|
56592
56685
|
attachments: string[] | null;
|
|
56593
56686
|
status: components["schemas"]["DocumentStatus"];
|
|
56594
|
-
approvalStatus
|
|
56687
|
+
approvalStatus?: components["schemas"]["ApprovalChoices"] | null;
|
|
56595
56688
|
/**
|
|
56596
56689
|
* Total
|
|
56597
56690
|
* @description field is number
|
|
@@ -56609,6 +56702,8 @@ export interface components {
|
|
|
56609
56702
|
secondaryTotal: string;
|
|
56610
56703
|
/** Candelete */
|
|
56611
56704
|
canDelete: boolean;
|
|
56705
|
+
/** Depositstatus */
|
|
56706
|
+
depositStatus?: string | null;
|
|
56612
56707
|
/** @description Visible when enableEmployeeCollection active in sales settings. */
|
|
56613
56708
|
collectedBy?: components["schemas"]["EmployeeSummarySchema"] | null;
|
|
56614
56709
|
/**
|
|
@@ -56793,6 +56888,304 @@ export interface components {
|
|
|
56793
56888
|
/** Password */
|
|
56794
56889
|
password?: string;
|
|
56795
56890
|
};
|
|
56891
|
+
/** CollectedBySummary */
|
|
56892
|
+
CollectedBySummary: {
|
|
56893
|
+
/**
|
|
56894
|
+
* Id
|
|
56895
|
+
* Format: uuid
|
|
56896
|
+
*/
|
|
56897
|
+
id: string;
|
|
56898
|
+
/** Name */
|
|
56899
|
+
name: string;
|
|
56900
|
+
};
|
|
56901
|
+
/** CollectionDepositLineDetailSchema */
|
|
56902
|
+
CollectionDepositLineDetailSchema: {
|
|
56903
|
+
/**
|
|
56904
|
+
* Id
|
|
56905
|
+
* Format: uuid
|
|
56906
|
+
*/
|
|
56907
|
+
id: string;
|
|
56908
|
+
receiptVoucher: components["schemas"]["ReceiptVoucherCommonSchema"];
|
|
56909
|
+
/**
|
|
56910
|
+
* Amount
|
|
56911
|
+
* @description field is number
|
|
56912
|
+
*/
|
|
56913
|
+
amount: string;
|
|
56914
|
+
/**
|
|
56915
|
+
* Primaryamount
|
|
56916
|
+
* @description field is number
|
|
56917
|
+
*/
|
|
56918
|
+
primaryAmount: string;
|
|
56919
|
+
/**
|
|
56920
|
+
* Secondaryamount
|
|
56921
|
+
* @description field is number
|
|
56922
|
+
*/
|
|
56923
|
+
secondaryAmount: string;
|
|
56924
|
+
};
|
|
56925
|
+
/** CollectionDepositResponse */
|
|
56926
|
+
CollectionDepositResponse: {
|
|
56927
|
+
/** Message */
|
|
56928
|
+
message: string;
|
|
56929
|
+
/** Code */
|
|
56930
|
+
code: string;
|
|
56931
|
+
data: components["schemas"]["CollectionDepositWithItemDetailSchema"];
|
|
56932
|
+
};
|
|
56933
|
+
/** CollectionDepositWithItemDetailSchema */
|
|
56934
|
+
CollectionDepositWithItemDetailSchema: {
|
|
56935
|
+
/**
|
|
56936
|
+
* Datecreated
|
|
56937
|
+
* Format: date-time
|
|
56938
|
+
*/
|
|
56939
|
+
dateCreated: string;
|
|
56940
|
+
/** Datemodified */
|
|
56941
|
+
dateModified: string | null;
|
|
56942
|
+
createdBy: components["schemas"]["RecordUserSchema"];
|
|
56943
|
+
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
56944
|
+
/**
|
|
56945
|
+
* Id
|
|
56946
|
+
* Format: uuid
|
|
56947
|
+
*/
|
|
56948
|
+
id: string;
|
|
56949
|
+
/** Serialnumber */
|
|
56950
|
+
serialNumber: string;
|
|
56951
|
+
/**
|
|
56952
|
+
* Date
|
|
56953
|
+
* Format: date
|
|
56954
|
+
*/
|
|
56955
|
+
date: string;
|
|
56956
|
+
branch: components["schemas"]["BranchSummaryInfo"];
|
|
56957
|
+
status: components["schemas"]["DocumentStatus"];
|
|
56958
|
+
approvalStatus?: components["schemas"]["ApprovalChoices"] | null;
|
|
56959
|
+
/** Depositdestinationtype */
|
|
56960
|
+
depositDestinationType: string;
|
|
56961
|
+
depositTo: components["schemas"]["AccountSummaryInfo"];
|
|
56962
|
+
/**
|
|
56963
|
+
* Total
|
|
56964
|
+
* @description field is number
|
|
56965
|
+
*/
|
|
56966
|
+
total: string | null;
|
|
56967
|
+
/**
|
|
56968
|
+
* Primarytotal
|
|
56969
|
+
* @description field is number
|
|
56970
|
+
*/
|
|
56971
|
+
primaryTotal: string | null;
|
|
56972
|
+
/**
|
|
56973
|
+
* Secondarytotal
|
|
56974
|
+
* @description field is number
|
|
56975
|
+
*/
|
|
56976
|
+
secondaryTotal: string | null;
|
|
56977
|
+
/** Description */
|
|
56978
|
+
description?: string | null;
|
|
56979
|
+
/** Notes */
|
|
56980
|
+
notes?: string | null;
|
|
56981
|
+
/** Attachments */
|
|
56982
|
+
attachments?: string[] | null;
|
|
56983
|
+
/** Candelete */
|
|
56984
|
+
canDelete: boolean;
|
|
56985
|
+
/** Items */
|
|
56986
|
+
items: components["schemas"]["CollectionDepositLineDetailSchema"][];
|
|
56987
|
+
/**
|
|
56988
|
+
* Entries
|
|
56989
|
+
* @description accounting entries related to this document
|
|
56990
|
+
* @default []
|
|
56991
|
+
*/
|
|
56992
|
+
entries: components["schemas"]["PostEntryDetailsSchema"][];
|
|
56993
|
+
};
|
|
56994
|
+
/** ReceiptVoucherCommonSchema */
|
|
56995
|
+
ReceiptVoucherCommonSchema: {
|
|
56996
|
+
/**
|
|
56997
|
+
* Id
|
|
56998
|
+
* Format: uuid
|
|
56999
|
+
*/
|
|
57000
|
+
id: string;
|
|
57001
|
+
/** Serialnumber */
|
|
57002
|
+
serialNumber: string;
|
|
57003
|
+
collectedBy?: components["schemas"]["CollectedBySummary"] | null;
|
|
57004
|
+
};
|
|
57005
|
+
/** CollectionDepositCreateSchema */
|
|
57006
|
+
CollectionDepositCreateSchema: {
|
|
57007
|
+
/** Password */
|
|
57008
|
+
password?: string;
|
|
57009
|
+
/**
|
|
57010
|
+
* Date
|
|
57011
|
+
* Format: date
|
|
57012
|
+
* @description API Endpoints for Date Range Retrieval:
|
|
57013
|
+
* - Use the API: /api/v1/common/allowed_date_range/
|
|
57014
|
+
* - Query Parameters:
|
|
57015
|
+
* - module: sales
|
|
57016
|
+
* - Format: yyyy-mm-dd
|
|
57017
|
+
*/
|
|
57018
|
+
date: string;
|
|
57019
|
+
/** Description */
|
|
57020
|
+
description?: string | null;
|
|
57021
|
+
/** Notes */
|
|
57022
|
+
notes?: string | null;
|
|
57023
|
+
/**
|
|
57024
|
+
* Attachments
|
|
57025
|
+
* @description API Endpoints for File Upload:
|
|
57026
|
+
* - Use the API: /api/v1/common/upload
|
|
57027
|
+
* - Payload Type: collectionDeposit
|
|
57028
|
+
* @default []
|
|
57029
|
+
*/
|
|
57030
|
+
attachments: string[];
|
|
57031
|
+
status: components["schemas"]["InternalStatusChoices"];
|
|
57032
|
+
/**
|
|
57033
|
+
* @description Type of deposit destination.
|
|
57034
|
+
* Will add later on bank option
|
|
57035
|
+
*/
|
|
57036
|
+
depositDestinationType: components["schemas"]["DepositDestinationType"];
|
|
57037
|
+
/**
|
|
57038
|
+
* Depositto
|
|
57039
|
+
* @description - for now depositDestinationType is cash so depositTo is
|
|
57040
|
+
* - Retrieve from: /api/v1/chart_of_account/?type=cash&isActive=True
|
|
57041
|
+
*/
|
|
57042
|
+
depositTo: number;
|
|
57043
|
+
/** Items */
|
|
57044
|
+
items: components["schemas"]["CollectionDepositLineCreateSchema"][];
|
|
57045
|
+
};
|
|
57046
|
+
/** CollectionDepositLineCreateSchema */
|
|
57047
|
+
CollectionDepositLineCreateSchema: {
|
|
57048
|
+
/**
|
|
57049
|
+
* Receiptvoucher
|
|
57050
|
+
* Format: uuid
|
|
57051
|
+
* @description Receipt voucher ID.
|
|
57052
|
+
* - Retrieve from: /api/v1/sales/receipt-vouchers/ and filter by:
|
|
57053
|
+
* - collectedBy={employee-ids} if applicable,
|
|
57054
|
+
* - depositStatus=pending
|
|
57055
|
+
* - approval status in approved , not required
|
|
57056
|
+
*/
|
|
57057
|
+
receiptVoucher: string;
|
|
57058
|
+
};
|
|
57059
|
+
/**
|
|
57060
|
+
* DepositDestinationType
|
|
57061
|
+
* @constant
|
|
57062
|
+
*/
|
|
57063
|
+
DepositDestinationType: "cash";
|
|
57064
|
+
/** CollectionDepositDetailSchema */
|
|
57065
|
+
CollectionDepositDetailSchema: {
|
|
57066
|
+
/**
|
|
57067
|
+
* Datecreated
|
|
57068
|
+
* Format: date-time
|
|
57069
|
+
*/
|
|
57070
|
+
dateCreated: string;
|
|
57071
|
+
/** Datemodified */
|
|
57072
|
+
dateModified: string | null;
|
|
57073
|
+
createdBy: components["schemas"]["RecordUserSchema"];
|
|
57074
|
+
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
57075
|
+
/**
|
|
57076
|
+
* Id
|
|
57077
|
+
* Format: uuid
|
|
57078
|
+
*/
|
|
57079
|
+
id: string;
|
|
57080
|
+
/** Serialnumber */
|
|
57081
|
+
serialNumber: string;
|
|
57082
|
+
/**
|
|
57083
|
+
* Date
|
|
57084
|
+
* Format: date
|
|
57085
|
+
*/
|
|
57086
|
+
date: string;
|
|
57087
|
+
branch: components["schemas"]["BranchSummaryInfo"];
|
|
57088
|
+
status: components["schemas"]["DocumentStatus"];
|
|
57089
|
+
approvalStatus?: components["schemas"]["ApprovalChoices"] | null;
|
|
57090
|
+
/** Depositdestinationtype */
|
|
57091
|
+
depositDestinationType: string;
|
|
57092
|
+
depositTo: components["schemas"]["AccountSummaryInfo"];
|
|
57093
|
+
/**
|
|
57094
|
+
* Total
|
|
57095
|
+
* @description field is number
|
|
57096
|
+
*/
|
|
57097
|
+
total: string | null;
|
|
57098
|
+
/**
|
|
57099
|
+
* Primarytotal
|
|
57100
|
+
* @description field is number
|
|
57101
|
+
*/
|
|
57102
|
+
primaryTotal: string | null;
|
|
57103
|
+
/**
|
|
57104
|
+
* Secondarytotal
|
|
57105
|
+
* @description field is number
|
|
57106
|
+
*/
|
|
57107
|
+
secondaryTotal: string | null;
|
|
57108
|
+
/** Description */
|
|
57109
|
+
description?: string | null;
|
|
57110
|
+
/** Notes */
|
|
57111
|
+
notes?: string | null;
|
|
57112
|
+
/** Attachments */
|
|
57113
|
+
attachments?: string[] | null;
|
|
57114
|
+
/** Candelete */
|
|
57115
|
+
canDelete: boolean;
|
|
57116
|
+
};
|
|
57117
|
+
/** CollectionDepositListSchema */
|
|
57118
|
+
CollectionDepositListSchema: {
|
|
57119
|
+
info: components["schemas"]["PageInfoSchema"];
|
|
57120
|
+
/** Results */
|
|
57121
|
+
results: components["schemas"]["CollectionDepositDetailSchema"][];
|
|
57122
|
+
};
|
|
57123
|
+
/** CollectionDepositLineUpdateSchema */
|
|
57124
|
+
CollectionDepositLineUpdateSchema: {
|
|
57125
|
+
/**
|
|
57126
|
+
* Receiptvoucher
|
|
57127
|
+
* Format: uuid
|
|
57128
|
+
* @description Receipt voucher ID.
|
|
57129
|
+
* - Retrieve from: /api/v1/sales/receipt-vouchers/ and filter by:
|
|
57130
|
+
* - collectedBy={employee-ids} if applicable,
|
|
57131
|
+
* - depositStatus=pending
|
|
57132
|
+
* - approval status in approved , not required
|
|
57133
|
+
*/
|
|
57134
|
+
receiptVoucher: string;
|
|
57135
|
+
/** Id */
|
|
57136
|
+
id?: string | null;
|
|
57137
|
+
};
|
|
57138
|
+
/** CollectionDepositUpdateSchema */
|
|
57139
|
+
CollectionDepositUpdateSchema: {
|
|
57140
|
+
/** Password */
|
|
57141
|
+
password?: string;
|
|
57142
|
+
/**
|
|
57143
|
+
* Date
|
|
57144
|
+
* Format: date
|
|
57145
|
+
* @description API Endpoints for Date Range Retrieval:
|
|
57146
|
+
* - Use the API: /api/v1/common/allowed_date_range/
|
|
57147
|
+
* - Query Parameters:
|
|
57148
|
+
* - module: sales
|
|
57149
|
+
* - Format: yyyy-mm-dd
|
|
57150
|
+
*/
|
|
57151
|
+
date: string;
|
|
57152
|
+
/** Description */
|
|
57153
|
+
description?: string | null;
|
|
57154
|
+
/** Notes */
|
|
57155
|
+
notes?: string | null;
|
|
57156
|
+
/**
|
|
57157
|
+
* Attachments
|
|
57158
|
+
* @description API Endpoints for File Upload:
|
|
57159
|
+
* - Use the API: /api/v1/common/upload
|
|
57160
|
+
* - Payload Type: collectionDeposit
|
|
57161
|
+
* @default []
|
|
57162
|
+
*/
|
|
57163
|
+
attachments: string[];
|
|
57164
|
+
status: components["schemas"]["InternalStatusChoices"];
|
|
57165
|
+
/**
|
|
57166
|
+
* @description Type of deposit destination.
|
|
57167
|
+
* Will add later on bank option
|
|
57168
|
+
*/
|
|
57169
|
+
depositDestinationType: components["schemas"]["DepositDestinationType"];
|
|
57170
|
+
/**
|
|
57171
|
+
* Depositto
|
|
57172
|
+
* @description - for now depositDestinationType is cash so depositTo is
|
|
57173
|
+
* - Retrieve from: /api/v1/chart_of_account/?type=cash&isActive=True
|
|
57174
|
+
*/
|
|
57175
|
+
depositTo: number;
|
|
57176
|
+
/** Items */
|
|
57177
|
+
items: components["schemas"]["CollectionDepositLineUpdateSchema"][];
|
|
57178
|
+
};
|
|
57179
|
+
/** CollectionDepositDeleteSchema */
|
|
57180
|
+
CollectionDepositDeleteSchema: {
|
|
57181
|
+
/** Password */
|
|
57182
|
+
password?: string;
|
|
57183
|
+
};
|
|
57184
|
+
/** CollectionDepositActionSchema */
|
|
57185
|
+
CollectionDepositActionSchema: {
|
|
57186
|
+
/** Password */
|
|
57187
|
+
password?: string;
|
|
57188
|
+
};
|
|
56796
57189
|
/** AppointmentLinkedDocumentSchema */
|
|
56797
57190
|
AppointmentLinkedDocumentSchema: {
|
|
56798
57191
|
/**
|
|
@@ -101007,8 +101400,277 @@ export interface operations {
|
|
|
101007
101400
|
"application/json": components["schemas"]["MessageResponse"];
|
|
101008
101401
|
};
|
|
101009
101402
|
};
|
|
101010
|
-
/** @description Not Found */
|
|
101011
|
-
404: {
|
|
101403
|
+
/** @description Not Found */
|
|
101404
|
+
404: {
|
|
101405
|
+
headers: {
|
|
101406
|
+
[name: string]: unknown;
|
|
101407
|
+
};
|
|
101408
|
+
content: {
|
|
101409
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
101410
|
+
};
|
|
101411
|
+
};
|
|
101412
|
+
/** @description Internal Server Error */
|
|
101413
|
+
500: {
|
|
101414
|
+
headers: {
|
|
101415
|
+
[name: string]: unknown;
|
|
101416
|
+
};
|
|
101417
|
+
content: {
|
|
101418
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
101419
|
+
};
|
|
101420
|
+
};
|
|
101421
|
+
};
|
|
101422
|
+
};
|
|
101423
|
+
purchase_credit_note_views_export_purchase_credit_note_pdf: {
|
|
101424
|
+
parameters: {
|
|
101425
|
+
query?: never;
|
|
101426
|
+
header?: never;
|
|
101427
|
+
path: {
|
|
101428
|
+
id: string;
|
|
101429
|
+
};
|
|
101430
|
+
cookie?: never;
|
|
101431
|
+
};
|
|
101432
|
+
requestBody?: never;
|
|
101433
|
+
responses: {
|
|
101434
|
+
/** @description OK */
|
|
101435
|
+
200: {
|
|
101436
|
+
headers: {
|
|
101437
|
+
[name: string]: unknown;
|
|
101438
|
+
};
|
|
101439
|
+
content: {
|
|
101440
|
+
"application/json": string;
|
|
101441
|
+
};
|
|
101442
|
+
};
|
|
101443
|
+
/** @description Bad Request */
|
|
101444
|
+
400: {
|
|
101445
|
+
headers: {
|
|
101446
|
+
[name: string]: unknown;
|
|
101447
|
+
};
|
|
101448
|
+
content: {
|
|
101449
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
101450
|
+
};
|
|
101451
|
+
};
|
|
101452
|
+
/** @description Forbidden */
|
|
101453
|
+
403: {
|
|
101454
|
+
headers: {
|
|
101455
|
+
[name: string]: unknown;
|
|
101456
|
+
};
|
|
101457
|
+
content: {
|
|
101458
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
101459
|
+
};
|
|
101460
|
+
};
|
|
101461
|
+
/** @description Not Found */
|
|
101462
|
+
404: {
|
|
101463
|
+
headers: {
|
|
101464
|
+
[name: string]: unknown;
|
|
101465
|
+
};
|
|
101466
|
+
content: {
|
|
101467
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
101468
|
+
};
|
|
101469
|
+
};
|
|
101470
|
+
/** @description Internal Server Error */
|
|
101471
|
+
500: {
|
|
101472
|
+
headers: {
|
|
101473
|
+
[name: string]: unknown;
|
|
101474
|
+
};
|
|
101475
|
+
content: {
|
|
101476
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
101477
|
+
};
|
|
101478
|
+
};
|
|
101479
|
+
};
|
|
101480
|
+
};
|
|
101481
|
+
purchase_credit_note_views_send_purchase_credit_note_by_email: {
|
|
101482
|
+
parameters: {
|
|
101483
|
+
query?: never;
|
|
101484
|
+
header?: never;
|
|
101485
|
+
path: {
|
|
101486
|
+
id: string;
|
|
101487
|
+
};
|
|
101488
|
+
cookie?: never;
|
|
101489
|
+
};
|
|
101490
|
+
requestBody: {
|
|
101491
|
+
content: {
|
|
101492
|
+
"application/json": components["schemas"]["EmailContentSchema"];
|
|
101493
|
+
};
|
|
101494
|
+
};
|
|
101495
|
+
responses: {
|
|
101496
|
+
/** @description OK */
|
|
101497
|
+
200: {
|
|
101498
|
+
headers: {
|
|
101499
|
+
[name: string]: unknown;
|
|
101500
|
+
};
|
|
101501
|
+
content: {
|
|
101502
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
101503
|
+
};
|
|
101504
|
+
};
|
|
101505
|
+
/** @description Bad Request */
|
|
101506
|
+
400: {
|
|
101507
|
+
headers: {
|
|
101508
|
+
[name: string]: unknown;
|
|
101509
|
+
};
|
|
101510
|
+
content: {
|
|
101511
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
101512
|
+
};
|
|
101513
|
+
};
|
|
101514
|
+
/** @description Forbidden */
|
|
101515
|
+
403: {
|
|
101516
|
+
headers: {
|
|
101517
|
+
[name: string]: unknown;
|
|
101518
|
+
};
|
|
101519
|
+
content: {
|
|
101520
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
101521
|
+
};
|
|
101522
|
+
};
|
|
101523
|
+
/** @description Not Found */
|
|
101524
|
+
404: {
|
|
101525
|
+
headers: {
|
|
101526
|
+
[name: string]: unknown;
|
|
101527
|
+
};
|
|
101528
|
+
content: {
|
|
101529
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
101530
|
+
};
|
|
101531
|
+
};
|
|
101532
|
+
/** @description Internal Server Error */
|
|
101533
|
+
500: {
|
|
101534
|
+
headers: {
|
|
101535
|
+
[name: string]: unknown;
|
|
101536
|
+
};
|
|
101537
|
+
content: {
|
|
101538
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
101539
|
+
};
|
|
101540
|
+
};
|
|
101541
|
+
};
|
|
101542
|
+
};
|
|
101543
|
+
sales_receipt_voucher_views_calculate_equivalents: {
|
|
101544
|
+
parameters: {
|
|
101545
|
+
query?: never;
|
|
101546
|
+
header?: never;
|
|
101547
|
+
path?: never;
|
|
101548
|
+
cookie?: never;
|
|
101549
|
+
};
|
|
101550
|
+
requestBody: {
|
|
101551
|
+
content: {
|
|
101552
|
+
"application/json": components["schemas"]["CalculateEquivalentsAndTotalsSchema"];
|
|
101553
|
+
};
|
|
101554
|
+
};
|
|
101555
|
+
responses: {
|
|
101556
|
+
/** @description OK */
|
|
101557
|
+
200: {
|
|
101558
|
+
headers: {
|
|
101559
|
+
[name: string]: unknown;
|
|
101560
|
+
};
|
|
101561
|
+
content: {
|
|
101562
|
+
"application/json": components["schemas"]["CalculateTotalResponse"];
|
|
101563
|
+
};
|
|
101564
|
+
};
|
|
101565
|
+
/** @description Bad Request */
|
|
101566
|
+
400: {
|
|
101567
|
+
headers: {
|
|
101568
|
+
[name: string]: unknown;
|
|
101569
|
+
};
|
|
101570
|
+
content: {
|
|
101571
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
101572
|
+
};
|
|
101573
|
+
};
|
|
101574
|
+
/** @description Internal Server Error */
|
|
101575
|
+
500: {
|
|
101576
|
+
headers: {
|
|
101577
|
+
[name: string]: unknown;
|
|
101578
|
+
};
|
|
101579
|
+
content: {
|
|
101580
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
101581
|
+
};
|
|
101582
|
+
};
|
|
101583
|
+
};
|
|
101584
|
+
};
|
|
101585
|
+
sales_receipt_voucher_views_list_receipt_vouchers: {
|
|
101586
|
+
parameters: {
|
|
101587
|
+
query?: {
|
|
101588
|
+
/** @description by default periodType is set to date filtration in user settings, Period type: thisMonth, thisYear, lastMonth, custom, ... */
|
|
101589
|
+
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "today" | "all";
|
|
101590
|
+
/** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
101591
|
+
startDate?: string | null;
|
|
101592
|
+
/** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
101593
|
+
endDate?: string | null;
|
|
101594
|
+
/** @description search by receipt voucher number, receipt voucher description, customer name, customer account number */
|
|
101595
|
+
search?: string;
|
|
101596
|
+
};
|
|
101597
|
+
header?: never;
|
|
101598
|
+
path?: never;
|
|
101599
|
+
cookie?: never;
|
|
101600
|
+
};
|
|
101601
|
+
requestBody?: never;
|
|
101602
|
+
responses: {
|
|
101603
|
+
/** @description OK */
|
|
101604
|
+
200: {
|
|
101605
|
+
headers: {
|
|
101606
|
+
[name: string]: unknown;
|
|
101607
|
+
};
|
|
101608
|
+
content: {
|
|
101609
|
+
"application/json": components["schemas"]["ReceiptVoucherListSchema"];
|
|
101610
|
+
};
|
|
101611
|
+
};
|
|
101612
|
+
/** @description Bad Request */
|
|
101613
|
+
400: {
|
|
101614
|
+
headers: {
|
|
101615
|
+
[name: string]: unknown;
|
|
101616
|
+
};
|
|
101617
|
+
content: {
|
|
101618
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
101619
|
+
};
|
|
101620
|
+
};
|
|
101621
|
+
/** @description Forbidden */
|
|
101622
|
+
403: {
|
|
101623
|
+
headers: {
|
|
101624
|
+
[name: string]: unknown;
|
|
101625
|
+
};
|
|
101626
|
+
content: {
|
|
101627
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
101628
|
+
};
|
|
101629
|
+
};
|
|
101630
|
+
/** @description Internal Server Error */
|
|
101631
|
+
500: {
|
|
101632
|
+
headers: {
|
|
101633
|
+
[name: string]: unknown;
|
|
101634
|
+
};
|
|
101635
|
+
content: {
|
|
101636
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
101637
|
+
};
|
|
101638
|
+
};
|
|
101639
|
+
};
|
|
101640
|
+
};
|
|
101641
|
+
sales_receipt_voucher_views_new_receipt_voucher: {
|
|
101642
|
+
parameters: {
|
|
101643
|
+
query?: never;
|
|
101644
|
+
header?: never;
|
|
101645
|
+
path?: never;
|
|
101646
|
+
cookie?: never;
|
|
101647
|
+
};
|
|
101648
|
+
requestBody: {
|
|
101649
|
+
content: {
|
|
101650
|
+
"application/json": components["schemas"]["ReceiptVoucherCreateSchema"];
|
|
101651
|
+
};
|
|
101652
|
+
};
|
|
101653
|
+
responses: {
|
|
101654
|
+
/** @description Created */
|
|
101655
|
+
201: {
|
|
101656
|
+
headers: {
|
|
101657
|
+
[name: string]: unknown;
|
|
101658
|
+
};
|
|
101659
|
+
content: {
|
|
101660
|
+
"application/json": components["schemas"]["ReceiptVoucherResponse"];
|
|
101661
|
+
};
|
|
101662
|
+
};
|
|
101663
|
+
/** @description Bad Request */
|
|
101664
|
+
400: {
|
|
101665
|
+
headers: {
|
|
101666
|
+
[name: string]: unknown;
|
|
101667
|
+
};
|
|
101668
|
+
content: {
|
|
101669
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
101670
|
+
};
|
|
101671
|
+
};
|
|
101672
|
+
/** @description Forbidden */
|
|
101673
|
+
403: {
|
|
101012
101674
|
headers: {
|
|
101013
101675
|
[name: string]: unknown;
|
|
101014
101676
|
};
|
|
@@ -101027,7 +101689,7 @@ export interface operations {
|
|
|
101027
101689
|
};
|
|
101028
101690
|
};
|
|
101029
101691
|
};
|
|
101030
|
-
|
|
101692
|
+
sales_receipt_voucher_views_get_receipt_voucher: {
|
|
101031
101693
|
parameters: {
|
|
101032
101694
|
query?: never;
|
|
101033
101695
|
header?: never;
|
|
@@ -101044,7 +101706,7 @@ export interface operations {
|
|
|
101044
101706
|
[name: string]: unknown;
|
|
101045
101707
|
};
|
|
101046
101708
|
content: {
|
|
101047
|
-
"application/json":
|
|
101709
|
+
"application/json": components["schemas"]["ReceiptVoucherWithItemDetailSchema"];
|
|
101048
101710
|
};
|
|
101049
101711
|
};
|
|
101050
101712
|
/** @description Bad Request */
|
|
@@ -101085,7 +101747,7 @@ export interface operations {
|
|
|
101085
101747
|
};
|
|
101086
101748
|
};
|
|
101087
101749
|
};
|
|
101088
|
-
|
|
101750
|
+
sales_receipt_voucher_views_edit_receipt_voucher: {
|
|
101089
101751
|
parameters: {
|
|
101090
101752
|
query?: never;
|
|
101091
101753
|
header?: never;
|
|
@@ -101096,7 +101758,7 @@ export interface operations {
|
|
|
101096
101758
|
};
|
|
101097
101759
|
requestBody: {
|
|
101098
101760
|
content: {
|
|
101099
|
-
"application/json": components["schemas"]["
|
|
101761
|
+
"application/json": components["schemas"]["ReceiptVoucherUpdateSchema"];
|
|
101100
101762
|
};
|
|
101101
101763
|
};
|
|
101102
101764
|
responses: {
|
|
@@ -101106,7 +101768,7 @@ export interface operations {
|
|
|
101106
101768
|
[name: string]: unknown;
|
|
101107
101769
|
};
|
|
101108
101770
|
content: {
|
|
101109
|
-
"application/json": components["schemas"]["
|
|
101771
|
+
"application/json": components["schemas"]["ReceiptVoucherResponse"];
|
|
101110
101772
|
};
|
|
101111
101773
|
};
|
|
101112
101774
|
/** @description Bad Request */
|
|
@@ -101147,27 +101809,27 @@ export interface operations {
|
|
|
101147
101809
|
};
|
|
101148
101810
|
};
|
|
101149
101811
|
};
|
|
101150
|
-
|
|
101812
|
+
sales_receipt_voucher_views_delete_receipt_voucher: {
|
|
101151
101813
|
parameters: {
|
|
101152
101814
|
query?: never;
|
|
101153
101815
|
header?: never;
|
|
101154
|
-
path
|
|
101816
|
+
path: {
|
|
101817
|
+
id: string;
|
|
101818
|
+
};
|
|
101155
101819
|
cookie?: never;
|
|
101156
101820
|
};
|
|
101157
101821
|
requestBody: {
|
|
101158
101822
|
content: {
|
|
101159
|
-
"application/json": components["schemas"]["
|
|
101823
|
+
"application/json": components["schemas"]["ReceiptVoucherDeleteSchema"];
|
|
101160
101824
|
};
|
|
101161
101825
|
};
|
|
101162
101826
|
responses: {
|
|
101163
|
-
/** @description
|
|
101164
|
-
|
|
101827
|
+
/** @description No Content */
|
|
101828
|
+
204: {
|
|
101165
101829
|
headers: {
|
|
101166
101830
|
[name: string]: unknown;
|
|
101167
101831
|
};
|
|
101168
|
-
content
|
|
101169
|
-
"application/json": components["schemas"]["CalculateTotalResponse"];
|
|
101170
|
-
};
|
|
101832
|
+
content?: never;
|
|
101171
101833
|
};
|
|
101172
101834
|
/** @description Bad Request */
|
|
101173
101835
|
400: {
|
|
@@ -101178,6 +101840,24 @@ export interface operations {
|
|
|
101178
101840
|
"application/json": components["schemas"]["ErrorMessages"];
|
|
101179
101841
|
};
|
|
101180
101842
|
};
|
|
101843
|
+
/** @description Forbidden */
|
|
101844
|
+
403: {
|
|
101845
|
+
headers: {
|
|
101846
|
+
[name: string]: unknown;
|
|
101847
|
+
};
|
|
101848
|
+
content: {
|
|
101849
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
101850
|
+
};
|
|
101851
|
+
};
|
|
101852
|
+
/** @description Not Found */
|
|
101853
|
+
404: {
|
|
101854
|
+
headers: {
|
|
101855
|
+
[name: string]: unknown;
|
|
101856
|
+
};
|
|
101857
|
+
content: {
|
|
101858
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
101859
|
+
};
|
|
101860
|
+
};
|
|
101181
101861
|
/** @description Internal Server Error */
|
|
101182
101862
|
500: {
|
|
101183
101863
|
headers: {
|
|
@@ -101189,23 +101869,20 @@ export interface operations {
|
|
|
101189
101869
|
};
|
|
101190
101870
|
};
|
|
101191
101871
|
};
|
|
101192
|
-
|
|
101872
|
+
sales_receipt_voucher_views_cancel_receipt_voucher: {
|
|
101193
101873
|
parameters: {
|
|
101194
|
-
query?:
|
|
101195
|
-
/** @description by default periodType is set to date filtration in user settings, Period type: thisMonth, thisYear, lastMonth, custom, ... */
|
|
101196
|
-
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "today" | "all";
|
|
101197
|
-
/** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
101198
|
-
startDate?: string | null;
|
|
101199
|
-
/** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
101200
|
-
endDate?: string | null;
|
|
101201
|
-
/** @description search by receipt voucher number, receipt voucher description, customer name, customer account number */
|
|
101202
|
-
search?: string;
|
|
101203
|
-
};
|
|
101874
|
+
query?: never;
|
|
101204
101875
|
header?: never;
|
|
101205
|
-
path
|
|
101876
|
+
path: {
|
|
101877
|
+
id: string;
|
|
101878
|
+
};
|
|
101206
101879
|
cookie?: never;
|
|
101207
101880
|
};
|
|
101208
|
-
requestBody
|
|
101881
|
+
requestBody: {
|
|
101882
|
+
content: {
|
|
101883
|
+
"application/json": components["schemas"]["ReceiptVoucherActionSchema"];
|
|
101884
|
+
};
|
|
101885
|
+
};
|
|
101209
101886
|
responses: {
|
|
101210
101887
|
/** @description OK */
|
|
101211
101888
|
200: {
|
|
@@ -101213,7 +101890,7 @@ export interface operations {
|
|
|
101213
101890
|
[name: string]: unknown;
|
|
101214
101891
|
};
|
|
101215
101892
|
content: {
|
|
101216
|
-
"application/json": components["schemas"]["
|
|
101893
|
+
"application/json": components["schemas"]["ReceiptVoucherResponse"];
|
|
101217
101894
|
};
|
|
101218
101895
|
};
|
|
101219
101896
|
/** @description Bad Request */
|
|
@@ -101234,6 +101911,15 @@ export interface operations {
|
|
|
101234
101911
|
"application/json": components["schemas"]["MessageResponse"];
|
|
101235
101912
|
};
|
|
101236
101913
|
};
|
|
101914
|
+
/** @description Not Found */
|
|
101915
|
+
404: {
|
|
101916
|
+
headers: {
|
|
101917
|
+
[name: string]: unknown;
|
|
101918
|
+
};
|
|
101919
|
+
content: {
|
|
101920
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
101921
|
+
};
|
|
101922
|
+
};
|
|
101237
101923
|
/** @description Internal Server Error */
|
|
101238
101924
|
500: {
|
|
101239
101925
|
headers: {
|
|
@@ -101245,21 +101931,23 @@ export interface operations {
|
|
|
101245
101931
|
};
|
|
101246
101932
|
};
|
|
101247
101933
|
};
|
|
101248
|
-
|
|
101934
|
+
sales_receipt_voucher_views_reset_receipt_voucher_to_draft: {
|
|
101249
101935
|
parameters: {
|
|
101250
101936
|
query?: never;
|
|
101251
101937
|
header?: never;
|
|
101252
|
-
path
|
|
101938
|
+
path: {
|
|
101939
|
+
id: string;
|
|
101940
|
+
};
|
|
101253
101941
|
cookie?: never;
|
|
101254
101942
|
};
|
|
101255
101943
|
requestBody: {
|
|
101256
101944
|
content: {
|
|
101257
|
-
"application/json": components["schemas"]["
|
|
101945
|
+
"application/json": components["schemas"]["ReceiptVoucherActionSchema"];
|
|
101258
101946
|
};
|
|
101259
101947
|
};
|
|
101260
101948
|
responses: {
|
|
101261
|
-
/** @description
|
|
101262
|
-
|
|
101949
|
+
/** @description OK */
|
|
101950
|
+
200: {
|
|
101263
101951
|
headers: {
|
|
101264
101952
|
[name: string]: unknown;
|
|
101265
101953
|
};
|
|
@@ -101285,6 +101973,15 @@ export interface operations {
|
|
|
101285
101973
|
"application/json": components["schemas"]["MessageResponse"];
|
|
101286
101974
|
};
|
|
101287
101975
|
};
|
|
101976
|
+
/** @description Not Found */
|
|
101977
|
+
404: {
|
|
101978
|
+
headers: {
|
|
101979
|
+
[name: string]: unknown;
|
|
101980
|
+
};
|
|
101981
|
+
content: {
|
|
101982
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
101983
|
+
};
|
|
101984
|
+
};
|
|
101288
101985
|
/** @description Internal Server Error */
|
|
101289
101986
|
500: {
|
|
101290
101987
|
headers: {
|
|
@@ -101296,7 +101993,7 @@ export interface operations {
|
|
|
101296
101993
|
};
|
|
101297
101994
|
};
|
|
101298
101995
|
};
|
|
101299
|
-
|
|
101996
|
+
sales_receipt_voucher_views_export_receipt_voucher_pdf: {
|
|
101300
101997
|
parameters: {
|
|
101301
101998
|
query?: never;
|
|
101302
101999
|
header?: never;
|
|
@@ -101313,7 +102010,7 @@ export interface operations {
|
|
|
101313
102010
|
[name: string]: unknown;
|
|
101314
102011
|
};
|
|
101315
102012
|
content: {
|
|
101316
|
-
"application/json":
|
|
102013
|
+
"application/json": string;
|
|
101317
102014
|
};
|
|
101318
102015
|
};
|
|
101319
102016
|
/** @description Bad Request */
|
|
@@ -101354,7 +102051,7 @@ export interface operations {
|
|
|
101354
102051
|
};
|
|
101355
102052
|
};
|
|
101356
102053
|
};
|
|
101357
|
-
|
|
102054
|
+
sales_receipt_voucher_views_send_receipt_voucher_by_email: {
|
|
101358
102055
|
parameters: {
|
|
101359
102056
|
query?: never;
|
|
101360
102057
|
header?: never;
|
|
@@ -101365,7 +102062,7 @@ export interface operations {
|
|
|
101365
102062
|
};
|
|
101366
102063
|
requestBody: {
|
|
101367
102064
|
content: {
|
|
101368
|
-
"application/json": components["schemas"]["
|
|
102065
|
+
"application/json": components["schemas"]["EmailContentSchema"];
|
|
101369
102066
|
};
|
|
101370
102067
|
};
|
|
101371
102068
|
responses: {
|
|
@@ -101375,7 +102072,7 @@ export interface operations {
|
|
|
101375
102072
|
[name: string]: unknown;
|
|
101376
102073
|
};
|
|
101377
102074
|
content: {
|
|
101378
|
-
"application/json": components["schemas"]["
|
|
102075
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
101379
102076
|
};
|
|
101380
102077
|
};
|
|
101381
102078
|
/** @description Bad Request */
|
|
@@ -101416,27 +102113,29 @@ export interface operations {
|
|
|
101416
102113
|
};
|
|
101417
102114
|
};
|
|
101418
102115
|
};
|
|
101419
|
-
|
|
102116
|
+
sales_collection_deposit_views_list_collection_deposits: {
|
|
101420
102117
|
parameters: {
|
|
101421
|
-
query?:
|
|
101422
|
-
|
|
101423
|
-
|
|
101424
|
-
|
|
102118
|
+
query?: {
|
|
102119
|
+
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "today" | "all";
|
|
102120
|
+
startDate?: string | null;
|
|
102121
|
+
endDate?: string | null;
|
|
102122
|
+
/** @description Search by serial number, description or collected-by employee name */
|
|
102123
|
+
search?: string | null;
|
|
101425
102124
|
};
|
|
102125
|
+
header?: never;
|
|
102126
|
+
path?: never;
|
|
101426
102127
|
cookie?: never;
|
|
101427
102128
|
};
|
|
101428
|
-
requestBody
|
|
101429
|
-
content: {
|
|
101430
|
-
"application/json": components["schemas"]["ReceiptVoucherDeleteSchema"];
|
|
101431
|
-
};
|
|
101432
|
-
};
|
|
102129
|
+
requestBody?: never;
|
|
101433
102130
|
responses: {
|
|
101434
|
-
/** @description
|
|
101435
|
-
|
|
102131
|
+
/** @description OK */
|
|
102132
|
+
200: {
|
|
101436
102133
|
headers: {
|
|
101437
102134
|
[name: string]: unknown;
|
|
101438
102135
|
};
|
|
101439
|
-
content
|
|
102136
|
+
content: {
|
|
102137
|
+
"application/json": components["schemas"]["CollectionDepositListSchema"];
|
|
102138
|
+
};
|
|
101440
102139
|
};
|
|
101441
102140
|
/** @description Bad Request */
|
|
101442
102141
|
400: {
|
|
@@ -101456,15 +102155,6 @@ export interface operations {
|
|
|
101456
102155
|
"application/json": components["schemas"]["MessageResponse"];
|
|
101457
102156
|
};
|
|
101458
102157
|
};
|
|
101459
|
-
/** @description Not Found */
|
|
101460
|
-
404: {
|
|
101461
|
-
headers: {
|
|
101462
|
-
[name: string]: unknown;
|
|
101463
|
-
};
|
|
101464
|
-
content: {
|
|
101465
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
101466
|
-
};
|
|
101467
|
-
};
|
|
101468
102158
|
/** @description Internal Server Error */
|
|
101469
102159
|
500: {
|
|
101470
102160
|
headers: {
|
|
@@ -101476,28 +102166,26 @@ export interface operations {
|
|
|
101476
102166
|
};
|
|
101477
102167
|
};
|
|
101478
102168
|
};
|
|
101479
|
-
|
|
102169
|
+
sales_collection_deposit_views_create_collection_deposit: {
|
|
101480
102170
|
parameters: {
|
|
101481
102171
|
query?: never;
|
|
101482
102172
|
header?: never;
|
|
101483
|
-
path
|
|
101484
|
-
id: string;
|
|
101485
|
-
};
|
|
102173
|
+
path?: never;
|
|
101486
102174
|
cookie?: never;
|
|
101487
102175
|
};
|
|
101488
102176
|
requestBody: {
|
|
101489
102177
|
content: {
|
|
101490
|
-
"application/json": components["schemas"]["
|
|
102178
|
+
"application/json": components["schemas"]["CollectionDepositCreateSchema"];
|
|
101491
102179
|
};
|
|
101492
102180
|
};
|
|
101493
102181
|
responses: {
|
|
101494
|
-
/** @description
|
|
101495
|
-
|
|
102182
|
+
/** @description Created */
|
|
102183
|
+
201: {
|
|
101496
102184
|
headers: {
|
|
101497
102185
|
[name: string]: unknown;
|
|
101498
102186
|
};
|
|
101499
102187
|
content: {
|
|
101500
|
-
"application/json": components["schemas"]["
|
|
102188
|
+
"application/json": components["schemas"]["CollectionDepositResponse"];
|
|
101501
102189
|
};
|
|
101502
102190
|
};
|
|
101503
102191
|
/** @description Bad Request */
|
|
@@ -101518,6 +102206,46 @@ export interface operations {
|
|
|
101518
102206
|
"application/json": components["schemas"]["MessageResponse"];
|
|
101519
102207
|
};
|
|
101520
102208
|
};
|
|
102209
|
+
/** @description Internal Server Error */
|
|
102210
|
+
500: {
|
|
102211
|
+
headers: {
|
|
102212
|
+
[name: string]: unknown;
|
|
102213
|
+
};
|
|
102214
|
+
content: {
|
|
102215
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
102216
|
+
};
|
|
102217
|
+
};
|
|
102218
|
+
};
|
|
102219
|
+
};
|
|
102220
|
+
sales_collection_deposit_views_get_collection_deposit: {
|
|
102221
|
+
parameters: {
|
|
102222
|
+
query?: never;
|
|
102223
|
+
header?: never;
|
|
102224
|
+
path: {
|
|
102225
|
+
id: string;
|
|
102226
|
+
};
|
|
102227
|
+
cookie?: never;
|
|
102228
|
+
};
|
|
102229
|
+
requestBody?: never;
|
|
102230
|
+
responses: {
|
|
102231
|
+
/** @description OK */
|
|
102232
|
+
200: {
|
|
102233
|
+
headers: {
|
|
102234
|
+
[name: string]: unknown;
|
|
102235
|
+
};
|
|
102236
|
+
content: {
|
|
102237
|
+
"application/json": components["schemas"]["CollectionDepositWithItemDetailSchema"];
|
|
102238
|
+
};
|
|
102239
|
+
};
|
|
102240
|
+
/** @description Forbidden */
|
|
102241
|
+
403: {
|
|
102242
|
+
headers: {
|
|
102243
|
+
[name: string]: unknown;
|
|
102244
|
+
};
|
|
102245
|
+
content: {
|
|
102246
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
102247
|
+
};
|
|
102248
|
+
};
|
|
101521
102249
|
/** @description Not Found */
|
|
101522
102250
|
404: {
|
|
101523
102251
|
headers: {
|
|
@@ -101538,7 +102266,7 @@ export interface operations {
|
|
|
101538
102266
|
};
|
|
101539
102267
|
};
|
|
101540
102268
|
};
|
|
101541
|
-
|
|
102269
|
+
sales_collection_deposit_views_edit_collection_deposit: {
|
|
101542
102270
|
parameters: {
|
|
101543
102271
|
query?: never;
|
|
101544
102272
|
header?: never;
|
|
@@ -101549,7 +102277,7 @@ export interface operations {
|
|
|
101549
102277
|
};
|
|
101550
102278
|
requestBody: {
|
|
101551
102279
|
content: {
|
|
101552
|
-
"application/json": components["schemas"]["
|
|
102280
|
+
"application/json": components["schemas"]["CollectionDepositUpdateSchema"];
|
|
101553
102281
|
};
|
|
101554
102282
|
};
|
|
101555
102283
|
responses: {
|
|
@@ -101559,7 +102287,7 @@ export interface operations {
|
|
|
101559
102287
|
[name: string]: unknown;
|
|
101560
102288
|
};
|
|
101561
102289
|
content: {
|
|
101562
|
-
"application/json": components["schemas"]["
|
|
102290
|
+
"application/json": components["schemas"]["CollectionDepositResponse"];
|
|
101563
102291
|
};
|
|
101564
102292
|
};
|
|
101565
102293
|
/** @description Bad Request */
|
|
@@ -101600,7 +102328,7 @@ export interface operations {
|
|
|
101600
102328
|
};
|
|
101601
102329
|
};
|
|
101602
102330
|
};
|
|
101603
|
-
|
|
102331
|
+
sales_collection_deposit_views_delete_collection_deposit: {
|
|
101604
102332
|
parameters: {
|
|
101605
102333
|
query?: never;
|
|
101606
102334
|
header?: never;
|
|
@@ -101609,16 +102337,18 @@ export interface operations {
|
|
|
101609
102337
|
};
|
|
101610
102338
|
cookie?: never;
|
|
101611
102339
|
};
|
|
101612
|
-
requestBody
|
|
102340
|
+
requestBody: {
|
|
102341
|
+
content: {
|
|
102342
|
+
"application/json": components["schemas"]["CollectionDepositDeleteSchema"];
|
|
102343
|
+
};
|
|
102344
|
+
};
|
|
101613
102345
|
responses: {
|
|
101614
|
-
/** @description
|
|
101615
|
-
|
|
102346
|
+
/** @description No Content */
|
|
102347
|
+
204: {
|
|
101616
102348
|
headers: {
|
|
101617
102349
|
[name: string]: unknown;
|
|
101618
102350
|
};
|
|
101619
|
-
content
|
|
101620
|
-
"application/json": string;
|
|
101621
|
-
};
|
|
102351
|
+
content?: never;
|
|
101622
102352
|
};
|
|
101623
102353
|
/** @description Bad Request */
|
|
101624
102354
|
400: {
|
|
@@ -101658,7 +102388,7 @@ export interface operations {
|
|
|
101658
102388
|
};
|
|
101659
102389
|
};
|
|
101660
102390
|
};
|
|
101661
|
-
|
|
102391
|
+
sales_collection_deposit_views_cancel_collection_deposit: {
|
|
101662
102392
|
parameters: {
|
|
101663
102393
|
query?: never;
|
|
101664
102394
|
header?: never;
|
|
@@ -101669,7 +102399,7 @@ export interface operations {
|
|
|
101669
102399
|
};
|
|
101670
102400
|
requestBody: {
|
|
101671
102401
|
content: {
|
|
101672
|
-
"application/json": components["schemas"]["
|
|
102402
|
+
"application/json": components["schemas"]["CollectionDepositActionSchema"];
|
|
101673
102403
|
};
|
|
101674
102404
|
};
|
|
101675
102405
|
responses: {
|
|
@@ -101679,7 +102409,7 @@ export interface operations {
|
|
|
101679
102409
|
[name: string]: unknown;
|
|
101680
102410
|
};
|
|
101681
102411
|
content: {
|
|
101682
|
-
"application/json": components["schemas"]["
|
|
102412
|
+
"application/json": components["schemas"]["CollectionDepositResponse"];
|
|
101683
102413
|
};
|
|
101684
102414
|
};
|
|
101685
102415
|
/** @description Bad Request */
|