@erp-galoper/types 1.0.2037 → 1.0.2039
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 +813 -33
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -4788,7 +4788,7 @@ export interface paths {
|
|
|
4788
4788
|
patch?: never;
|
|
4789
4789
|
trace?: never;
|
|
4790
4790
|
};
|
|
4791
|
-
"/api/v1/inventory/opening_quantity/import
|
|
4791
|
+
"/api/v1/inventory/opening_quantity/import/": {
|
|
4792
4792
|
parameters: {
|
|
4793
4793
|
query?: never;
|
|
4794
4794
|
header?: never;
|
|
@@ -4798,17 +4798,15 @@ export interface paths {
|
|
|
4798
4798
|
get?: never;
|
|
4799
4799
|
put?: never;
|
|
4800
4800
|
/**
|
|
4801
|
-
* Import Opening
|
|
4802
|
-
* @description
|
|
4803
|
-
*
|
|
4804
|
-
*
|
|
4805
|
-
*
|
|
4806
|
-
* -
|
|
4807
|
-
*
|
|
4808
|
-
* -500:
|
|
4809
|
-
* - internalServerError
|
|
4801
|
+
* Import Opening Quantities
|
|
4802
|
+
* @description Import opening quantities from Excel for a selected warehouse.
|
|
4803
|
+
*
|
|
4804
|
+
* Required columns: Barcode and Quantity (case-insensitive).
|
|
4805
|
+
* Item barcodes open at item level; package barcodes open at package level.
|
|
4806
|
+
* Duplicate barcodes in the file are merged. Import overrides existing quantity-tracked openings.
|
|
4807
|
+
* Rows without barcode, without quantity, unknown barcodes, and serial/batch items are skipped.
|
|
4810
4808
|
*/
|
|
4811
|
-
post: operations["
|
|
4809
|
+
post: operations["inventory_opening_stock_views_import_opening_quantities"];
|
|
4812
4810
|
delete?: never;
|
|
4813
4811
|
options?: never;
|
|
4814
4812
|
head?: never;
|
|
@@ -19622,6 +19620,136 @@ export interface paths {
|
|
|
19622
19620
|
patch?: never;
|
|
19623
19621
|
trace?: never;
|
|
19624
19622
|
};
|
|
19623
|
+
"/api/v1/inventory/return-documents/": {
|
|
19624
|
+
parameters: {
|
|
19625
|
+
query?: never;
|
|
19626
|
+
header?: never;
|
|
19627
|
+
path?: never;
|
|
19628
|
+
cookie?: never;
|
|
19629
|
+
};
|
|
19630
|
+
/**
|
|
19631
|
+
* List Return Documents
|
|
19632
|
+
* @description List return documents. Explicit filters support quick filtering; `search` handles free text
|
|
19633
|
+
* and `apply_filters_to_queryset` supports advanced filter payloads.
|
|
19634
|
+
*
|
|
19635
|
+
* Permission key: `returndocument = ['view']`
|
|
19636
|
+
*/
|
|
19637
|
+
get: operations["inventory_return_document_views_list_return_documents"];
|
|
19638
|
+
put?: never;
|
|
19639
|
+
/**
|
|
19640
|
+
* Create Return Document
|
|
19641
|
+
* @description Create a return document (return delivery or return shipment).
|
|
19642
|
+
*
|
|
19643
|
+
* Responses:
|
|
19644
|
+
* - 201: ReturnDocumentSchema
|
|
19645
|
+
* - 400: sourceDocumentNotFound, unapprovedSourceDocument, canceledSourceDocument,
|
|
19646
|
+
* warehouseDoesNotExist, sourceLineNotFound, quantityExceedsRemaining, invalidStockStatus,
|
|
19647
|
+
* serialRequired, batchRequired
|
|
19648
|
+
* - 403: returnDocumentsCreatedFromInvoices, noModuleAccess, permissionDenied,
|
|
19649
|
+
* noBranchAccess, noWarehouseAccess
|
|
19650
|
+
* - 500: serverError
|
|
19651
|
+
*
|
|
19652
|
+
* Permission key: `returndocument = ['add']`
|
|
19653
|
+
*/
|
|
19654
|
+
post: operations["inventory_return_document_views_create_return_document"];
|
|
19655
|
+
delete?: never;
|
|
19656
|
+
options?: never;
|
|
19657
|
+
head?: never;
|
|
19658
|
+
patch?: never;
|
|
19659
|
+
trace?: never;
|
|
19660
|
+
};
|
|
19661
|
+
"/api/v1/inventory/return-documents/source-lines/": {
|
|
19662
|
+
parameters: {
|
|
19663
|
+
query?: never;
|
|
19664
|
+
header?: never;
|
|
19665
|
+
path?: never;
|
|
19666
|
+
cookie?: never;
|
|
19667
|
+
};
|
|
19668
|
+
/**
|
|
19669
|
+
* Get Return Document Source Lines
|
|
19670
|
+
* @description Fetch eligible source lines and party for creating/updating a return document.
|
|
19671
|
+
* Use each line `id` as `sourceLineId` in the create/update payload.
|
|
19672
|
+
*
|
|
19673
|
+
* Permission key: `returndocument = ['view']`
|
|
19674
|
+
*/
|
|
19675
|
+
get: operations["inventory_return_document_views_get_return_document_source_lines"];
|
|
19676
|
+
put?: never;
|
|
19677
|
+
post?: never;
|
|
19678
|
+
delete?: never;
|
|
19679
|
+
options?: never;
|
|
19680
|
+
head?: never;
|
|
19681
|
+
patch?: never;
|
|
19682
|
+
trace?: never;
|
|
19683
|
+
};
|
|
19684
|
+
"/api/v1/inventory/return-documents/{id}/": {
|
|
19685
|
+
parameters: {
|
|
19686
|
+
query?: never;
|
|
19687
|
+
header?: never;
|
|
19688
|
+
path?: never;
|
|
19689
|
+
cookie?: never;
|
|
19690
|
+
};
|
|
19691
|
+
/** Get Return Document */
|
|
19692
|
+
get: operations["inventory_return_document_views_get_return_document"];
|
|
19693
|
+
/** Update Return Document */
|
|
19694
|
+
put: operations["inventory_return_document_views_update_return_document"];
|
|
19695
|
+
post?: never;
|
|
19696
|
+
delete?: never;
|
|
19697
|
+
options?: never;
|
|
19698
|
+
head?: never;
|
|
19699
|
+
patch?: never;
|
|
19700
|
+
trace?: never;
|
|
19701
|
+
};
|
|
19702
|
+
"/api/v1/inventory/return-documents/{id}/cancel/": {
|
|
19703
|
+
parameters: {
|
|
19704
|
+
query?: never;
|
|
19705
|
+
header?: never;
|
|
19706
|
+
path?: never;
|
|
19707
|
+
cookie?: never;
|
|
19708
|
+
};
|
|
19709
|
+
get?: never;
|
|
19710
|
+
put?: never;
|
|
19711
|
+
/** Cancel Return Document */
|
|
19712
|
+
post: operations["inventory_return_document_views_cancel_return_document"];
|
|
19713
|
+
delete?: never;
|
|
19714
|
+
options?: never;
|
|
19715
|
+
head?: never;
|
|
19716
|
+
patch?: never;
|
|
19717
|
+
trace?: never;
|
|
19718
|
+
};
|
|
19719
|
+
"/api/v1/inventory/return-documents/{id}/delete/": {
|
|
19720
|
+
parameters: {
|
|
19721
|
+
query?: never;
|
|
19722
|
+
header?: never;
|
|
19723
|
+
path?: never;
|
|
19724
|
+
cookie?: never;
|
|
19725
|
+
};
|
|
19726
|
+
get?: never;
|
|
19727
|
+
put?: never;
|
|
19728
|
+
/** Delete Return Document */
|
|
19729
|
+
post: operations["inventory_return_document_views_delete_return_document"];
|
|
19730
|
+
delete?: never;
|
|
19731
|
+
options?: never;
|
|
19732
|
+
head?: never;
|
|
19733
|
+
patch?: never;
|
|
19734
|
+
trace?: never;
|
|
19735
|
+
};
|
|
19736
|
+
"/api/v1/inventory/return-documents/{id}/reset-to-draft/": {
|
|
19737
|
+
parameters: {
|
|
19738
|
+
query?: never;
|
|
19739
|
+
header?: never;
|
|
19740
|
+
path?: never;
|
|
19741
|
+
cookie?: never;
|
|
19742
|
+
};
|
|
19743
|
+
get?: never;
|
|
19744
|
+
put?: never;
|
|
19745
|
+
/** Reset Return Document To Draft */
|
|
19746
|
+
post: operations["inventory_return_document_views_reset_return_document_to_draft"];
|
|
19747
|
+
delete?: never;
|
|
19748
|
+
options?: never;
|
|
19749
|
+
head?: never;
|
|
19750
|
+
patch?: never;
|
|
19751
|
+
trace?: never;
|
|
19752
|
+
};
|
|
19625
19753
|
"/api/v1/settings/accounting/default-subsidiary-accounts/": {
|
|
19626
19754
|
parameters: {
|
|
19627
19755
|
query?: never;
|
|
@@ -27277,7 +27405,7 @@ export interface components {
|
|
|
27277
27405
|
* LogModelName
|
|
27278
27406
|
* @enum {string}
|
|
27279
27407
|
*/
|
|
27280
|
-
LogModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "transferRequest" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration";
|
|
27408
|
+
LogModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "transferRequest" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration";
|
|
27281
27409
|
/**
|
|
27282
27410
|
* SortOrder
|
|
27283
27411
|
* @enum {string}
|
|
@@ -31328,7 +31456,7 @@ export interface components {
|
|
|
31328
31456
|
* FileType
|
|
31329
31457
|
* @enum {string}
|
|
31330
31458
|
*/
|
|
31331
|
-
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";
|
|
31459
|
+
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" | "returnDocument" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "customFieldValue" | "transferRequest" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "task" | "event" | "whatsappTemplate" | "repairOrder" | "collectionDeposit";
|
|
31332
31460
|
/** currencyCodeOut */
|
|
31333
31461
|
currencyCodeOut: {
|
|
31334
31462
|
/** Currencycode */
|
|
@@ -31550,7 +31678,7 @@ export interface components {
|
|
|
31550
31678
|
* CombinedModelName
|
|
31551
31679
|
* @enum {string}
|
|
31552
31680
|
*/
|
|
31553
|
-
CombinedModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "transferRequest" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
|
|
31681
|
+
CombinedModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "transferRequest" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
|
|
31554
31682
|
/** CustomFieldsList */
|
|
31555
31683
|
CustomFieldsList: {
|
|
31556
31684
|
info: components["schemas"]["PageInfoSchema"];
|
|
@@ -33196,7 +33324,7 @@ export interface components {
|
|
|
33196
33324
|
quantity: number | null;
|
|
33197
33325
|
/**
|
|
33198
33326
|
* Expirydate
|
|
33199
|
-
* @description Expiry date for the item if
|
|
33327
|
+
* @description Expiry date for the item if item has_expiry is true
|
|
33200
33328
|
*/
|
|
33201
33329
|
expiryDate?: string | null;
|
|
33202
33330
|
};
|
|
@@ -33671,6 +33799,8 @@ export interface components {
|
|
|
33671
33799
|
itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
|
|
33672
33800
|
/** Openingquantity */
|
|
33673
33801
|
openingQuantity: number;
|
|
33802
|
+
/** @description Active openings affect current stock; superseded openings are kept for audit only. */
|
|
33803
|
+
status: components["schemas"]["OpeningQuantityStatusChoices"];
|
|
33674
33804
|
/** Tracking */
|
|
33675
33805
|
tracking: components["schemas"]["OpeningQuantityItemTrackingSchema"][];
|
|
33676
33806
|
};
|
|
@@ -33733,6 +33863,11 @@ export interface components {
|
|
|
33733
33863
|
*/
|
|
33734
33864
|
details: components["schemas"]["OpeningQuantityDetailsSchema"][];
|
|
33735
33865
|
};
|
|
33866
|
+
/**
|
|
33867
|
+
* OpeningQuantityStatusChoices
|
|
33868
|
+
* @enum {string}
|
|
33869
|
+
*/
|
|
33870
|
+
OpeningQuantityStatusChoices: "active" | "superseded";
|
|
33736
33871
|
/** RetrieveWarehouseForOpeningQuantity */
|
|
33737
33872
|
RetrieveWarehouseForOpeningQuantity: {
|
|
33738
33873
|
/**
|
|
@@ -33852,6 +33987,15 @@ export interface components {
|
|
|
33852
33987
|
/** Candelete */
|
|
33853
33988
|
canDelete: boolean;
|
|
33854
33989
|
};
|
|
33990
|
+
/** OpeningQuantityImportResponse */
|
|
33991
|
+
OpeningQuantityImportResponse: {
|
|
33992
|
+
/** Message */
|
|
33993
|
+
message: string;
|
|
33994
|
+
/** Code */
|
|
33995
|
+
code: string;
|
|
33996
|
+
/** Id */
|
|
33997
|
+
id: number;
|
|
33998
|
+
};
|
|
33855
33999
|
/** UpdateOpeningQuantityItemTrackingSchema */
|
|
33856
34000
|
UpdateOpeningQuantityItemTrackingSchema: {
|
|
33857
34001
|
/**
|
|
@@ -61574,6 +61718,225 @@ export interface components {
|
|
|
61574
61718
|
*/
|
|
61575
61719
|
shipmentStatus: components["schemas"]["ShipmentStatusEnum"];
|
|
61576
61720
|
};
|
|
61721
|
+
/**
|
|
61722
|
+
* PartyTypeEnum
|
|
61723
|
+
* @enum {string}
|
|
61724
|
+
*/
|
|
61725
|
+
PartyTypeEnum: "customer" | "supplier";
|
|
61726
|
+
/** ReturnDocumentLineSchema */
|
|
61727
|
+
ReturnDocumentLineSchema: {
|
|
61728
|
+
/**
|
|
61729
|
+
* Id
|
|
61730
|
+
* Format: uuid
|
|
61731
|
+
*/
|
|
61732
|
+
id: string;
|
|
61733
|
+
/**
|
|
61734
|
+
* Sourcelineid
|
|
61735
|
+
* Format: uuid
|
|
61736
|
+
*/
|
|
61737
|
+
sourceLineId: string;
|
|
61738
|
+
item: components["schemas"]["ItemSharedSchema"];
|
|
61739
|
+
itemPackage?: components["schemas"]["ItemPackageSummarySchema"] | null;
|
|
61740
|
+
unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"];
|
|
61741
|
+
/** Movementqty */
|
|
61742
|
+
movementQty: number;
|
|
61743
|
+
/** Stockstatus */
|
|
61744
|
+
stockStatus?: string | null;
|
|
61745
|
+
batch?: components["schemas"]["BatchSerialSummarySchema"] | null;
|
|
61746
|
+
serial?: components["schemas"]["BatchSerialSummarySchema"] | null;
|
|
61747
|
+
};
|
|
61748
|
+
/** ReturnDocumentSchema */
|
|
61749
|
+
ReturnDocumentSchema: {
|
|
61750
|
+
/**
|
|
61751
|
+
* Datecreated
|
|
61752
|
+
* Format: date-time
|
|
61753
|
+
*/
|
|
61754
|
+
dateCreated: string;
|
|
61755
|
+
/** Datemodified */
|
|
61756
|
+
dateModified: string | null;
|
|
61757
|
+
createdBy: components["schemas"]["RecordUserSchema"];
|
|
61758
|
+
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
61759
|
+
/**
|
|
61760
|
+
* Id
|
|
61761
|
+
* Format: uuid
|
|
61762
|
+
*/
|
|
61763
|
+
id: string;
|
|
61764
|
+
/** Serialnumber */
|
|
61765
|
+
serialNumber: string;
|
|
61766
|
+
/** Documenttype */
|
|
61767
|
+
documentType: string;
|
|
61768
|
+
/** Sourcedocumenttype */
|
|
61769
|
+
sourceDocumentType: string;
|
|
61770
|
+
/**
|
|
61771
|
+
* Sourcedocumentid
|
|
61772
|
+
* Format: uuid
|
|
61773
|
+
*/
|
|
61774
|
+
sourceDocumentId: string;
|
|
61775
|
+
partyType: components["schemas"]["PartyTypeEnum"];
|
|
61776
|
+
/** @description Populated for salesReturn documents only. */
|
|
61777
|
+
customer?: components["schemas"]["CustomerSharedSchema"] | null;
|
|
61778
|
+
/** @description Populated for purchaseReturn documents only. */
|
|
61779
|
+
supplier?: components["schemas"]["ChildSupplierSharedSchema"] | null;
|
|
61780
|
+
warehouse: components["schemas"]["WarehouseSummaryInfo"];
|
|
61781
|
+
/**
|
|
61782
|
+
* Date
|
|
61783
|
+
* Format: date
|
|
61784
|
+
*/
|
|
61785
|
+
date: string;
|
|
61786
|
+
/** Status */
|
|
61787
|
+
status: string;
|
|
61788
|
+
approvalStatus: components["schemas"]["ApprovalValueChoices"];
|
|
61789
|
+
/** Description */
|
|
61790
|
+
description?: string | null;
|
|
61791
|
+
/** Notes */
|
|
61792
|
+
notes?: string | null;
|
|
61793
|
+
/** Attachments */
|
|
61794
|
+
attachments?: string[] | null;
|
|
61795
|
+
/**
|
|
61796
|
+
* Lines
|
|
61797
|
+
* @default []
|
|
61798
|
+
*/
|
|
61799
|
+
lines: components["schemas"]["ReturnDocumentLineSchema"][];
|
|
61800
|
+
};
|
|
61801
|
+
/** CreateOrUpdateReturnDocumentSchema */
|
|
61802
|
+
CreateOrUpdateReturnDocumentSchema: {
|
|
61803
|
+
documentType: components["schemas"]["ReturnDocumentTypeEnum"];
|
|
61804
|
+
/**
|
|
61805
|
+
* Sourcedocumentid
|
|
61806
|
+
* Format: uuid
|
|
61807
|
+
*/
|
|
61808
|
+
sourceDocumentId: string;
|
|
61809
|
+
/**
|
|
61810
|
+
* Warehouse
|
|
61811
|
+
* Format: uuid
|
|
61812
|
+
*/
|
|
61813
|
+
warehouse: string;
|
|
61814
|
+
/**
|
|
61815
|
+
* Date
|
|
61816
|
+
* Format: date
|
|
61817
|
+
*/
|
|
61818
|
+
date: string;
|
|
61819
|
+
/**
|
|
61820
|
+
* Status
|
|
61821
|
+
* @default draft
|
|
61822
|
+
*/
|
|
61823
|
+
status: string | null;
|
|
61824
|
+
/** Description */
|
|
61825
|
+
description?: string | null;
|
|
61826
|
+
/** Notes */
|
|
61827
|
+
notes?: string | null;
|
|
61828
|
+
/** Password */
|
|
61829
|
+
password?: string | null;
|
|
61830
|
+
/**
|
|
61831
|
+
* Attachments
|
|
61832
|
+
* @description File paths from the upload endpoint. Document name: returnDocument.
|
|
61833
|
+
*/
|
|
61834
|
+
attachments?: string[] | null;
|
|
61835
|
+
/** Lines */
|
|
61836
|
+
lines: components["schemas"]["ReturnDocumentLineCreateSchema"][];
|
|
61837
|
+
};
|
|
61838
|
+
/** ReturnDocumentLineCreateSchema */
|
|
61839
|
+
ReturnDocumentLineCreateSchema: {
|
|
61840
|
+
/** Id */
|
|
61841
|
+
id?: string | null;
|
|
61842
|
+
/**
|
|
61843
|
+
* Sourcelineid
|
|
61844
|
+
* Format: uuid
|
|
61845
|
+
* @description ID of the source return line. Fetch eligible lines from GET /inventory/return-documents/source-lines/ using sourceDocumentId.
|
|
61846
|
+
*/
|
|
61847
|
+
sourceLineId: string;
|
|
61848
|
+
/** Movementqty */
|
|
61849
|
+
movementQty: number;
|
|
61850
|
+
/** @description Only applicable for salesReturn. Defaults to available when omitted. Must be omitted or null for purchaseReturn. */
|
|
61851
|
+
stockStatus?: components["schemas"]["StockStatusEnum"] | null;
|
|
61852
|
+
/** Batch */
|
|
61853
|
+
batch?: string | null;
|
|
61854
|
+
/** Serial */
|
|
61855
|
+
serial?: string | null;
|
|
61856
|
+
};
|
|
61857
|
+
/**
|
|
61858
|
+
* ReturnDocumentTypeEnum
|
|
61859
|
+
* @enum {string}
|
|
61860
|
+
*/
|
|
61861
|
+
ReturnDocumentTypeEnum: "salesReturn" | "purchaseReturn";
|
|
61862
|
+
/**
|
|
61863
|
+
* StockStatusEnum
|
|
61864
|
+
* @enum {string}
|
|
61865
|
+
*/
|
|
61866
|
+
StockStatusEnum: "available" | "disposal" | "quarantine";
|
|
61867
|
+
/**
|
|
61868
|
+
* ReturnDocumentSortBy
|
|
61869
|
+
* @enum {string}
|
|
61870
|
+
*/
|
|
61871
|
+
ReturnDocumentSortBy: "dateCreated" | "dateModified" | "serialNumber" | "customerName" | "supplierName" | "date" | "warehouseName" | "partyName";
|
|
61872
|
+
/** ReturnDocumentListSchema */
|
|
61873
|
+
ReturnDocumentListSchema: {
|
|
61874
|
+
info: components["schemas"]["PageInfoSchema"];
|
|
61875
|
+
/** Results */
|
|
61876
|
+
results: components["schemas"]["ReturnDocumentSchema"][];
|
|
61877
|
+
};
|
|
61878
|
+
/**
|
|
61879
|
+
* SourceDocumentTypeEnum
|
|
61880
|
+
* @enum {string}
|
|
61881
|
+
*/
|
|
61882
|
+
SourceDocumentTypeEnum: "returnInvoice" | "returnOrder" | "purchaseReturn" | "purchaseReturnOrder";
|
|
61883
|
+
/** ReturnDocumentSourceLineSchema */
|
|
61884
|
+
ReturnDocumentSourceLineSchema: {
|
|
61885
|
+
/**
|
|
61886
|
+
* Id
|
|
61887
|
+
* Format: uuid
|
|
61888
|
+
*/
|
|
61889
|
+
id: string;
|
|
61890
|
+
/** Quantity */
|
|
61891
|
+
quantity: number;
|
|
61892
|
+
/** Sourcequantity */
|
|
61893
|
+
sourceQuantity: number;
|
|
61894
|
+
/** Stockquantity */
|
|
61895
|
+
stockQuantity: number;
|
|
61896
|
+
item?: components["schemas"]["ItemSharedSchema"] | null;
|
|
61897
|
+
itemPackage?: components["schemas"]["ItemPackageSummarySchema"] | null;
|
|
61898
|
+
unitOfMeasure?: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
|
|
61899
|
+
/**
|
|
61900
|
+
* Serials
|
|
61901
|
+
* @default []
|
|
61902
|
+
*/
|
|
61903
|
+
serials: components["schemas"]["ReturnDocumentSourceLineSerialSchema"][];
|
|
61904
|
+
};
|
|
61905
|
+
/** ReturnDocumentSourceLineSerialSchema */
|
|
61906
|
+
ReturnDocumentSourceLineSerialSchema: {
|
|
61907
|
+
/**
|
|
61908
|
+
* Id
|
|
61909
|
+
* Format: uuid
|
|
61910
|
+
*/
|
|
61911
|
+
id: string;
|
|
61912
|
+
/** Number */
|
|
61913
|
+
number: string;
|
|
61914
|
+
};
|
|
61915
|
+
/** ReturnDocumentSourceLinesSchema */
|
|
61916
|
+
ReturnDocumentSourceLinesSchema: {
|
|
61917
|
+
party?: components["schemas"]["ReturnDocumentSourcePartySchema"] | null;
|
|
61918
|
+
/**
|
|
61919
|
+
* Lines
|
|
61920
|
+
* @default []
|
|
61921
|
+
*/
|
|
61922
|
+
lines: components["schemas"]["ReturnDocumentSourceLineSchema"][];
|
|
61923
|
+
};
|
|
61924
|
+
/** ReturnDocumentSourcePartyCustomerSchema */
|
|
61925
|
+
ReturnDocumentSourcePartyCustomerSchema: {
|
|
61926
|
+
/**
|
|
61927
|
+
* Id
|
|
61928
|
+
* Format: uuid
|
|
61929
|
+
*/
|
|
61930
|
+
id: string;
|
|
61931
|
+
/** Name */
|
|
61932
|
+
name: string;
|
|
61933
|
+
};
|
|
61934
|
+
/** ReturnDocumentSourcePartySchema */
|
|
61935
|
+
ReturnDocumentSourcePartySchema: {
|
|
61936
|
+
partyType: components["schemas"]["PartyTypeEnum"];
|
|
61937
|
+
customer?: components["schemas"]["ReturnDocumentSourcePartyCustomerSchema"] | null;
|
|
61938
|
+
supplier?: components["schemas"]["ReturnDocumentSourcePartyCustomerSchema"] | null;
|
|
61939
|
+
};
|
|
61577
61940
|
/** DefaultSubsidiaryAccountDetailSchema */
|
|
61578
61941
|
DefaultSubsidiaryAccountDetailSchema: {
|
|
61579
61942
|
differenceOfExchangeNegative: components["schemas"]["AccountSummaryInfo"];
|
|
@@ -64214,12 +64577,12 @@ export interface components {
|
|
|
64214
64577
|
* CombinedModelName
|
|
64215
64578
|
* @enum {string}
|
|
64216
64579
|
*/
|
|
64217
|
-
common__schemas__CombinedModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "transferRequest" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
|
|
64580
|
+
common__schemas__CombinedModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "transferRequest" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
|
|
64218
64581
|
/**
|
|
64219
64582
|
* CombinedModelName
|
|
64220
64583
|
* @enum {string}
|
|
64221
64584
|
*/
|
|
64222
|
-
common__shared_schemas__CombinedModelName: "item" | "customer" | "supplier" | "internalTransferHeader" | "transferRequest" | "repairOrder" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "onlineOrder" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
|
|
64585
|
+
common__shared_schemas__CombinedModelName: "item" | "customer" | "supplier" | "internalTransferHeader" | "transferRequest" | "repairOrder" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "onlineOrder" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
|
|
64223
64586
|
/** TasksListSchema */
|
|
64224
64587
|
TasksListSchema: {
|
|
64225
64588
|
info: components["schemas"]["PageInfoSchema"];
|
|
@@ -72133,7 +72496,7 @@ export interface operations {
|
|
|
72133
72496
|
common_views_get_model_names: {
|
|
72134
72497
|
parameters: {
|
|
72135
72498
|
query?: {
|
|
72136
|
-
CombinedModelNames?: "item" | "customer" | "supplier" | "internalTransferHeader" | "transferRequest" | "repairOrder" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "onlineOrder" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
|
|
72499
|
+
CombinedModelNames?: "item" | "customer" | "supplier" | "internalTransferHeader" | "transferRequest" | "repairOrder" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "onlineOrder" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
|
|
72137
72500
|
};
|
|
72138
72501
|
header?: never;
|
|
72139
72502
|
path?: never;
|
|
@@ -77522,7 +77885,9 @@ export interface operations {
|
|
|
77522
77885
|
};
|
|
77523
77886
|
inventory_opening_stock_views_create_opening_quantity: {
|
|
77524
77887
|
parameters: {
|
|
77525
|
-
query?:
|
|
77888
|
+
query?: {
|
|
77889
|
+
allow_override?: boolean;
|
|
77890
|
+
};
|
|
77526
77891
|
header?: never;
|
|
77527
77892
|
path?: never;
|
|
77528
77893
|
cookie?: never;
|
|
@@ -77580,7 +77945,7 @@ export interface operations {
|
|
|
77580
77945
|
};
|
|
77581
77946
|
};
|
|
77582
77947
|
};
|
|
77583
|
-
|
|
77948
|
+
inventory_opening_stock_views_import_opening_quantities: {
|
|
77584
77949
|
parameters: {
|
|
77585
77950
|
query?: never;
|
|
77586
77951
|
header?: never;
|
|
@@ -77590,23 +77955,28 @@ export interface operations {
|
|
|
77590
77955
|
requestBody: {
|
|
77591
77956
|
content: {
|
|
77592
77957
|
"multipart/form-data": {
|
|
77958
|
+
/**
|
|
77959
|
+
* Warehouse Id
|
|
77960
|
+
* Format: uuid
|
|
77961
|
+
*/
|
|
77962
|
+
warehouse_id: string;
|
|
77593
77963
|
/**
|
|
77594
77964
|
* File
|
|
77595
77965
|
* Format: binary
|
|
77596
|
-
* @description
|
|
77966
|
+
* @description Excel file with Barcode and Quantity columns
|
|
77597
77967
|
*/
|
|
77598
77968
|
file: string;
|
|
77599
77969
|
};
|
|
77600
77970
|
};
|
|
77601
77971
|
};
|
|
77602
77972
|
responses: {
|
|
77603
|
-
/** @description
|
|
77604
|
-
|
|
77973
|
+
/** @description Created */
|
|
77974
|
+
201: {
|
|
77605
77975
|
headers: {
|
|
77606
77976
|
[name: string]: unknown;
|
|
77607
77977
|
};
|
|
77608
77978
|
content: {
|
|
77609
|
-
"application/json": components["schemas"]["
|
|
77979
|
+
"application/json": components["schemas"]["OpeningQuantityImportResponse"];
|
|
77610
77980
|
};
|
|
77611
77981
|
};
|
|
77612
77982
|
/** @description Bad Request */
|
|
@@ -77624,7 +77994,16 @@ export interface operations {
|
|
|
77624
77994
|
[name: string]: unknown;
|
|
77625
77995
|
};
|
|
77626
77996
|
content: {
|
|
77627
|
-
"application/json": components["schemas"]["
|
|
77997
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
77998
|
+
};
|
|
77999
|
+
};
|
|
78000
|
+
/** @description Not Found */
|
|
78001
|
+
404: {
|
|
78002
|
+
headers: {
|
|
78003
|
+
[name: string]: unknown;
|
|
78004
|
+
};
|
|
78005
|
+
content: {
|
|
78006
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
77628
78007
|
};
|
|
77629
78008
|
};
|
|
77630
78009
|
/** @description Internal Server Error */
|
|
@@ -77633,7 +78012,7 @@ export interface operations {
|
|
|
77633
78012
|
[name: string]: unknown;
|
|
77634
78013
|
};
|
|
77635
78014
|
content: {
|
|
77636
|
-
"application/json": components["schemas"]["
|
|
78015
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
77637
78016
|
};
|
|
77638
78017
|
};
|
|
77639
78018
|
};
|
|
@@ -83903,7 +84282,7 @@ export interface operations {
|
|
|
83903
84282
|
};
|
|
83904
84283
|
header?: never;
|
|
83905
84284
|
path: {
|
|
83906
|
-
modelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "transferRequest" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration";
|
|
84285
|
+
modelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "transferRequest" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration";
|
|
83907
84286
|
};
|
|
83908
84287
|
cookie?: never;
|
|
83909
84288
|
};
|
|
@@ -91121,15 +91500,13 @@ export interface operations {
|
|
|
91121
91500
|
};
|
|
91122
91501
|
purchase_return_order_views_list_purchase_return_orders: {
|
|
91123
91502
|
parameters: {
|
|
91124
|
-
query
|
|
91503
|
+
query?: {
|
|
91125
91504
|
/** @description Page number */
|
|
91126
91505
|
page?: number;
|
|
91127
91506
|
/** @description Page size */
|
|
91128
91507
|
pageSize?: number;
|
|
91129
91508
|
/** @description field to search: reference number, supplier name, serial number, date, supplier account number, or item (name, barcode, sku code, short name) */
|
|
91130
91509
|
search?: string | null;
|
|
91131
|
-
/** @description Branch ID to filter by */
|
|
91132
|
-
branchId: string;
|
|
91133
91510
|
/** @description Period type: thisMonth, thisYear, lastMonth, custom, ... */
|
|
91134
91511
|
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "today" | "all";
|
|
91135
91512
|
/** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
@@ -93453,15 +93830,13 @@ export interface operations {
|
|
|
93453
93830
|
};
|
|
93454
93831
|
purchase_return_invoice_views_list_purchase_return_invoices: {
|
|
93455
93832
|
parameters: {
|
|
93456
|
-
query
|
|
93833
|
+
query?: {
|
|
93457
93834
|
/** @description Page number */
|
|
93458
93835
|
page?: number;
|
|
93459
93836
|
/** @description Page size */
|
|
93460
93837
|
pageSize?: number;
|
|
93461
93838
|
/** @description field to search: reference number, supplier name, serial number, date, or item (name, barcode, sku code, short name) */
|
|
93462
93839
|
search?: string | null;
|
|
93463
|
-
/** @description Branch ID to filter by */
|
|
93464
|
-
branchId: string;
|
|
93465
93840
|
/** @description Period type: thisMonth, thisYear, lastMonth, custom, ... */
|
|
93466
93841
|
periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "today" | "all";
|
|
93467
93842
|
/** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
|
|
@@ -106436,6 +106811,411 @@ export interface operations {
|
|
|
106436
106811
|
};
|
|
106437
106812
|
};
|
|
106438
106813
|
};
|
|
106814
|
+
inventory_return_document_views_list_return_documents: {
|
|
106815
|
+
parameters: {
|
|
106816
|
+
query?: {
|
|
106817
|
+
/** @description Page number */
|
|
106818
|
+
page?: number;
|
|
106819
|
+
/** @description Page size */
|
|
106820
|
+
pageSize?: number;
|
|
106821
|
+
documentType?: components["schemas"]["ReturnDocumentTypeEnum"] | null;
|
|
106822
|
+
status?: string | null;
|
|
106823
|
+
warehouse?: string | null;
|
|
106824
|
+
customer?: string | null;
|
|
106825
|
+
supplier?: string | null;
|
|
106826
|
+
/** @description By default periodType is set to date filtration in user settings. */
|
|
106827
|
+
periodType?: components["schemas"]["PeriodType"] | null;
|
|
106828
|
+
/** @description Start date for custom range (YYYY-MM-DD) */
|
|
106829
|
+
startDate?: string | null;
|
|
106830
|
+
/** @description End date for custom range (YYYY-MM-DD) */
|
|
106831
|
+
endDate?: string | null;
|
|
106832
|
+
/** @description Search by customer name, supplier name, serial number, date, or item name */
|
|
106833
|
+
search?: string | null;
|
|
106834
|
+
/** @description Field to sort by */
|
|
106835
|
+
sortBy?: components["schemas"]["ReturnDocumentSortBy"] | null;
|
|
106836
|
+
/** @description Sort order: ascending or descending */
|
|
106837
|
+
order?: components["schemas"]["SortOrder"] | null;
|
|
106838
|
+
};
|
|
106839
|
+
header?: never;
|
|
106840
|
+
path?: never;
|
|
106841
|
+
cookie?: never;
|
|
106842
|
+
};
|
|
106843
|
+
requestBody?: never;
|
|
106844
|
+
responses: {
|
|
106845
|
+
/** @description OK */
|
|
106846
|
+
200: {
|
|
106847
|
+
headers: {
|
|
106848
|
+
[name: string]: unknown;
|
|
106849
|
+
};
|
|
106850
|
+
content: {
|
|
106851
|
+
"application/json": components["schemas"]["ReturnDocumentListSchema"];
|
|
106852
|
+
};
|
|
106853
|
+
};
|
|
106854
|
+
/** @description Bad Request */
|
|
106855
|
+
400: {
|
|
106856
|
+
headers: {
|
|
106857
|
+
[name: string]: unknown;
|
|
106858
|
+
};
|
|
106859
|
+
content: {
|
|
106860
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
106861
|
+
};
|
|
106862
|
+
};
|
|
106863
|
+
/** @description Forbidden */
|
|
106864
|
+
403: {
|
|
106865
|
+
headers: {
|
|
106866
|
+
[name: string]: unknown;
|
|
106867
|
+
};
|
|
106868
|
+
content: {
|
|
106869
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
106870
|
+
};
|
|
106871
|
+
};
|
|
106872
|
+
};
|
|
106873
|
+
};
|
|
106874
|
+
inventory_return_document_views_create_return_document: {
|
|
106875
|
+
parameters: {
|
|
106876
|
+
query?: never;
|
|
106877
|
+
header?: never;
|
|
106878
|
+
path?: never;
|
|
106879
|
+
cookie?: never;
|
|
106880
|
+
};
|
|
106881
|
+
requestBody: {
|
|
106882
|
+
content: {
|
|
106883
|
+
"application/json": components["schemas"]["CreateOrUpdateReturnDocumentSchema"];
|
|
106884
|
+
};
|
|
106885
|
+
};
|
|
106886
|
+
responses: {
|
|
106887
|
+
/** @description Created */
|
|
106888
|
+
201: {
|
|
106889
|
+
headers: {
|
|
106890
|
+
[name: string]: unknown;
|
|
106891
|
+
};
|
|
106892
|
+
content: {
|
|
106893
|
+
"application/json": components["schemas"]["ReturnDocumentSchema"];
|
|
106894
|
+
};
|
|
106895
|
+
};
|
|
106896
|
+
/** @description Bad Request */
|
|
106897
|
+
400: {
|
|
106898
|
+
headers: {
|
|
106899
|
+
[name: string]: unknown;
|
|
106900
|
+
};
|
|
106901
|
+
content: {
|
|
106902
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
106903
|
+
};
|
|
106904
|
+
};
|
|
106905
|
+
/** @description Forbidden */
|
|
106906
|
+
403: {
|
|
106907
|
+
headers: {
|
|
106908
|
+
[name: string]: unknown;
|
|
106909
|
+
};
|
|
106910
|
+
content: {
|
|
106911
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
106912
|
+
};
|
|
106913
|
+
};
|
|
106914
|
+
/** @description Internal Server Error */
|
|
106915
|
+
500: {
|
|
106916
|
+
headers: {
|
|
106917
|
+
[name: string]: unknown;
|
|
106918
|
+
};
|
|
106919
|
+
content: {
|
|
106920
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
106921
|
+
};
|
|
106922
|
+
};
|
|
106923
|
+
};
|
|
106924
|
+
};
|
|
106925
|
+
inventory_return_document_views_get_return_document_source_lines: {
|
|
106926
|
+
parameters: {
|
|
106927
|
+
query: {
|
|
106928
|
+
/** @description Derived from settings: returnInvoice/returnOrder for sales, purchaseReturn/purchaseReturnOrder for purchase. */
|
|
106929
|
+
sourceDocumentType: "returnInvoice" | "returnOrder" | "purchaseReturn" | "purchaseReturnOrder";
|
|
106930
|
+
sourceDocumentId: string;
|
|
106931
|
+
/** @description Pass when editing an existing return document to exclude already processed quantities. */
|
|
106932
|
+
returnDocumentId?: string | null;
|
|
106933
|
+
};
|
|
106934
|
+
header?: never;
|
|
106935
|
+
path?: never;
|
|
106936
|
+
cookie?: never;
|
|
106937
|
+
};
|
|
106938
|
+
requestBody?: never;
|
|
106939
|
+
responses: {
|
|
106940
|
+
/** @description OK */
|
|
106941
|
+
200: {
|
|
106942
|
+
headers: {
|
|
106943
|
+
[name: string]: unknown;
|
|
106944
|
+
};
|
|
106945
|
+
content: {
|
|
106946
|
+
"application/json": components["schemas"]["ReturnDocumentSourceLinesSchema"];
|
|
106947
|
+
};
|
|
106948
|
+
};
|
|
106949
|
+
/** @description Forbidden */
|
|
106950
|
+
403: {
|
|
106951
|
+
headers: {
|
|
106952
|
+
[name: string]: unknown;
|
|
106953
|
+
};
|
|
106954
|
+
content: {
|
|
106955
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
106956
|
+
};
|
|
106957
|
+
};
|
|
106958
|
+
/** @description Not Found */
|
|
106959
|
+
404: {
|
|
106960
|
+
headers: {
|
|
106961
|
+
[name: string]: unknown;
|
|
106962
|
+
};
|
|
106963
|
+
content: {
|
|
106964
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
106965
|
+
};
|
|
106966
|
+
};
|
|
106967
|
+
};
|
|
106968
|
+
};
|
|
106969
|
+
inventory_return_document_views_get_return_document: {
|
|
106970
|
+
parameters: {
|
|
106971
|
+
query?: never;
|
|
106972
|
+
header?: never;
|
|
106973
|
+
path: {
|
|
106974
|
+
id: string;
|
|
106975
|
+
};
|
|
106976
|
+
cookie?: never;
|
|
106977
|
+
};
|
|
106978
|
+
requestBody?: never;
|
|
106979
|
+
responses: {
|
|
106980
|
+
/** @description OK */
|
|
106981
|
+
200: {
|
|
106982
|
+
headers: {
|
|
106983
|
+
[name: string]: unknown;
|
|
106984
|
+
};
|
|
106985
|
+
content: {
|
|
106986
|
+
"application/json": components["schemas"]["ReturnDocumentSchema"];
|
|
106987
|
+
};
|
|
106988
|
+
};
|
|
106989
|
+
/** @description Forbidden */
|
|
106990
|
+
403: {
|
|
106991
|
+
headers: {
|
|
106992
|
+
[name: string]: unknown;
|
|
106993
|
+
};
|
|
106994
|
+
content: {
|
|
106995
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
106996
|
+
};
|
|
106997
|
+
};
|
|
106998
|
+
/** @description Not Found */
|
|
106999
|
+
404: {
|
|
107000
|
+
headers: {
|
|
107001
|
+
[name: string]: unknown;
|
|
107002
|
+
};
|
|
107003
|
+
content: {
|
|
107004
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
107005
|
+
};
|
|
107006
|
+
};
|
|
107007
|
+
};
|
|
107008
|
+
};
|
|
107009
|
+
inventory_return_document_views_update_return_document: {
|
|
107010
|
+
parameters: {
|
|
107011
|
+
query?: never;
|
|
107012
|
+
header?: never;
|
|
107013
|
+
path: {
|
|
107014
|
+
id: string;
|
|
107015
|
+
};
|
|
107016
|
+
cookie?: never;
|
|
107017
|
+
};
|
|
107018
|
+
requestBody: {
|
|
107019
|
+
content: {
|
|
107020
|
+
"application/json": components["schemas"]["CreateOrUpdateReturnDocumentSchema"];
|
|
107021
|
+
};
|
|
107022
|
+
};
|
|
107023
|
+
responses: {
|
|
107024
|
+
/** @description OK */
|
|
107025
|
+
200: {
|
|
107026
|
+
headers: {
|
|
107027
|
+
[name: string]: unknown;
|
|
107028
|
+
};
|
|
107029
|
+
content: {
|
|
107030
|
+
"application/json": components["schemas"]["ReturnDocumentSchema"];
|
|
107031
|
+
};
|
|
107032
|
+
};
|
|
107033
|
+
/** @description Bad Request */
|
|
107034
|
+
400: {
|
|
107035
|
+
headers: {
|
|
107036
|
+
[name: string]: unknown;
|
|
107037
|
+
};
|
|
107038
|
+
content: {
|
|
107039
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
107040
|
+
};
|
|
107041
|
+
};
|
|
107042
|
+
/** @description Forbidden */
|
|
107043
|
+
403: {
|
|
107044
|
+
headers: {
|
|
107045
|
+
[name: string]: unknown;
|
|
107046
|
+
};
|
|
107047
|
+
content: {
|
|
107048
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
107049
|
+
};
|
|
107050
|
+
};
|
|
107051
|
+
/** @description Not Found */
|
|
107052
|
+
404: {
|
|
107053
|
+
headers: {
|
|
107054
|
+
[name: string]: unknown;
|
|
107055
|
+
};
|
|
107056
|
+
content: {
|
|
107057
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
107058
|
+
};
|
|
107059
|
+
};
|
|
107060
|
+
};
|
|
107061
|
+
};
|
|
107062
|
+
inventory_return_document_views_cancel_return_document: {
|
|
107063
|
+
parameters: {
|
|
107064
|
+
query?: never;
|
|
107065
|
+
header?: never;
|
|
107066
|
+
path: {
|
|
107067
|
+
id: string;
|
|
107068
|
+
};
|
|
107069
|
+
cookie?: never;
|
|
107070
|
+
};
|
|
107071
|
+
requestBody: {
|
|
107072
|
+
content: {
|
|
107073
|
+
"application/json": components["schemas"]["ActionsPayloadSchemas"];
|
|
107074
|
+
};
|
|
107075
|
+
};
|
|
107076
|
+
responses: {
|
|
107077
|
+
/** @description OK */
|
|
107078
|
+
200: {
|
|
107079
|
+
headers: {
|
|
107080
|
+
[name: string]: unknown;
|
|
107081
|
+
};
|
|
107082
|
+
content: {
|
|
107083
|
+
"application/json": components["schemas"]["ReturnDocumentSchema"];
|
|
107084
|
+
};
|
|
107085
|
+
};
|
|
107086
|
+
/** @description Bad Request */
|
|
107087
|
+
400: {
|
|
107088
|
+
headers: {
|
|
107089
|
+
[name: string]: unknown;
|
|
107090
|
+
};
|
|
107091
|
+
content: {
|
|
107092
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
107093
|
+
};
|
|
107094
|
+
};
|
|
107095
|
+
/** @description Forbidden */
|
|
107096
|
+
403: {
|
|
107097
|
+
headers: {
|
|
107098
|
+
[name: string]: unknown;
|
|
107099
|
+
};
|
|
107100
|
+
content: {
|
|
107101
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
107102
|
+
};
|
|
107103
|
+
};
|
|
107104
|
+
/** @description Not Found */
|
|
107105
|
+
404: {
|
|
107106
|
+
headers: {
|
|
107107
|
+
[name: string]: unknown;
|
|
107108
|
+
};
|
|
107109
|
+
content: {
|
|
107110
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
107111
|
+
};
|
|
107112
|
+
};
|
|
107113
|
+
};
|
|
107114
|
+
};
|
|
107115
|
+
inventory_return_document_views_delete_return_document: {
|
|
107116
|
+
parameters: {
|
|
107117
|
+
query?: never;
|
|
107118
|
+
header?: never;
|
|
107119
|
+
path: {
|
|
107120
|
+
id: string;
|
|
107121
|
+
};
|
|
107122
|
+
cookie?: never;
|
|
107123
|
+
};
|
|
107124
|
+
requestBody: {
|
|
107125
|
+
content: {
|
|
107126
|
+
"application/json": components["schemas"]["ActionsPayloadSchemas"];
|
|
107127
|
+
};
|
|
107128
|
+
};
|
|
107129
|
+
responses: {
|
|
107130
|
+
/** @description No Content */
|
|
107131
|
+
204: {
|
|
107132
|
+
headers: {
|
|
107133
|
+
[name: string]: unknown;
|
|
107134
|
+
};
|
|
107135
|
+
content?: never;
|
|
107136
|
+
};
|
|
107137
|
+
/** @description Bad Request */
|
|
107138
|
+
400: {
|
|
107139
|
+
headers: {
|
|
107140
|
+
[name: string]: unknown;
|
|
107141
|
+
};
|
|
107142
|
+
content: {
|
|
107143
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
107144
|
+
};
|
|
107145
|
+
};
|
|
107146
|
+
/** @description Forbidden */
|
|
107147
|
+
403: {
|
|
107148
|
+
headers: {
|
|
107149
|
+
[name: string]: unknown;
|
|
107150
|
+
};
|
|
107151
|
+
content: {
|
|
107152
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
107153
|
+
};
|
|
107154
|
+
};
|
|
107155
|
+
/** @description Not Found */
|
|
107156
|
+
404: {
|
|
107157
|
+
headers: {
|
|
107158
|
+
[name: string]: unknown;
|
|
107159
|
+
};
|
|
107160
|
+
content: {
|
|
107161
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
107162
|
+
};
|
|
107163
|
+
};
|
|
107164
|
+
};
|
|
107165
|
+
};
|
|
107166
|
+
inventory_return_document_views_reset_return_document_to_draft: {
|
|
107167
|
+
parameters: {
|
|
107168
|
+
query?: never;
|
|
107169
|
+
header?: never;
|
|
107170
|
+
path: {
|
|
107171
|
+
id: string;
|
|
107172
|
+
};
|
|
107173
|
+
cookie?: never;
|
|
107174
|
+
};
|
|
107175
|
+
requestBody: {
|
|
107176
|
+
content: {
|
|
107177
|
+
"application/json": components["schemas"]["ActionsPayloadSchemas"];
|
|
107178
|
+
};
|
|
107179
|
+
};
|
|
107180
|
+
responses: {
|
|
107181
|
+
/** @description OK */
|
|
107182
|
+
200: {
|
|
107183
|
+
headers: {
|
|
107184
|
+
[name: string]: unknown;
|
|
107185
|
+
};
|
|
107186
|
+
content: {
|
|
107187
|
+
"application/json": components["schemas"]["ReturnDocumentSchema"];
|
|
107188
|
+
};
|
|
107189
|
+
};
|
|
107190
|
+
/** @description Bad Request */
|
|
107191
|
+
400: {
|
|
107192
|
+
headers: {
|
|
107193
|
+
[name: string]: unknown;
|
|
107194
|
+
};
|
|
107195
|
+
content: {
|
|
107196
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
107197
|
+
};
|
|
107198
|
+
};
|
|
107199
|
+
/** @description Forbidden */
|
|
107200
|
+
403: {
|
|
107201
|
+
headers: {
|
|
107202
|
+
[name: string]: unknown;
|
|
107203
|
+
};
|
|
107204
|
+
content: {
|
|
107205
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
107206
|
+
};
|
|
107207
|
+
};
|
|
107208
|
+
/** @description Not Found */
|
|
107209
|
+
404: {
|
|
107210
|
+
headers: {
|
|
107211
|
+
[name: string]: unknown;
|
|
107212
|
+
};
|
|
107213
|
+
content: {
|
|
107214
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
107215
|
+
};
|
|
107216
|
+
};
|
|
107217
|
+
};
|
|
107218
|
+
};
|
|
106439
107219
|
erp_settings_accountingsetting_views_get_default_subsidiary_account: {
|
|
106440
107220
|
parameters: {
|
|
106441
107221
|
query?: never;
|