@erp-galoper/types 1.0.652 → 1.0.654
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 +7 -96
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -10621,38 +10621,6 @@ export interface paths {
|
|
|
10621
10621
|
patch?: never;
|
|
10622
10622
|
trace?: never;
|
|
10623
10623
|
};
|
|
10624
|
-
"/api/v1/purchase/return-orders/{id}/submit/": {
|
|
10625
|
-
parameters: {
|
|
10626
|
-
query?: never;
|
|
10627
|
-
header?: never;
|
|
10628
|
-
path?: never;
|
|
10629
|
-
cookie?: never;
|
|
10630
|
-
};
|
|
10631
|
-
get?: never;
|
|
10632
|
-
put?: never;
|
|
10633
|
-
/**
|
|
10634
|
-
* Submit Purchase Return Order
|
|
10635
|
-
* @description Endpoint for submitting a purchase return order
|
|
10636
|
-
* Responses:
|
|
10637
|
-
* - 200: PurchaseReturnOrderSchema
|
|
10638
|
-
* - 403: "permissionDenied"
|
|
10639
|
-
* - "noModuleAccess"
|
|
10640
|
-
* - statusAlreadySubmitted
|
|
10641
|
-
* - cantMakeActionOnLockedDocument
|
|
10642
|
-
* - noBranchAccess
|
|
10643
|
-
* - purchaseReturnOrderIsCanceled
|
|
10644
|
-
* - 404: "purchaseReturnOrderDoesNotExist"
|
|
10645
|
-
* - 500: "serverError"
|
|
10646
|
-
*
|
|
10647
|
-
* permission key: purchasereturnorder = ['add']
|
|
10648
|
-
*/
|
|
10649
|
-
post: operations["purchase_return_order_views_submit_purchase_return_order"];
|
|
10650
|
-
delete?: never;
|
|
10651
|
-
options?: never;
|
|
10652
|
-
head?: never;
|
|
10653
|
-
patch?: never;
|
|
10654
|
-
trace?: never;
|
|
10655
|
-
};
|
|
10656
10624
|
"/api/v1/purchase/return-orders/{id}/cancel/": {
|
|
10657
10625
|
parameters: {
|
|
10658
10626
|
query?: never;
|
|
@@ -14572,6 +14540,7 @@ export interface paths {
|
|
|
14572
14540
|
* - taxDoesNotBelongToReturnInvoiceItem
|
|
14573
14541
|
* - refundReturnInvoiceTaxShouldBeLessThanReturnInvoiceTax
|
|
14574
14542
|
* - returnInvoiceShouldBeSubmittedOrPostedOrSent
|
|
14543
|
+
* - purchaseRefundVoucherShouldBeDraft
|
|
14575
14544
|
* - 404:
|
|
14576
14545
|
* - refundVoucherDoesNotExist
|
|
14577
14546
|
* - 500:
|
|
@@ -27598,7 +27567,7 @@ export interface components {
|
|
|
27598
27567
|
/**
|
|
27599
27568
|
* Id
|
|
27600
27569
|
* Format: uuid
|
|
27601
|
-
* @example
|
|
27570
|
+
* @example ffe38c4d-cb4f-411a-8bd5-d5de0fcf44e6
|
|
27602
27571
|
*/
|
|
27603
27572
|
id: string;
|
|
27604
27573
|
/**
|
|
@@ -34018,7 +33987,7 @@ export interface components {
|
|
|
34018
33987
|
* @description This field is visible and required if allow rate change is on in system settings and the country is Lebanon and account currency is foreign currency meaning (NOT COMPANY CURRENCY OR USD)
|
|
34019
33988
|
*/
|
|
34020
33989
|
usdRate?: number;
|
|
34021
|
-
status
|
|
33990
|
+
status: components["schemas"]["InternalStatusOnCreateValueChoices"] | null;
|
|
34022
33991
|
/**
|
|
34023
33992
|
* Attachments
|
|
34024
33993
|
* @default []
|
|
@@ -34139,6 +34108,10 @@ export interface components {
|
|
|
34139
34108
|
total: number;
|
|
34140
34109
|
/** Unitprice */
|
|
34141
34110
|
unitPrice: number;
|
|
34111
|
+
/** Quantity */
|
|
34112
|
+
quantity: number;
|
|
34113
|
+
/** Unitpackage */
|
|
34114
|
+
unitPackage?: number | null;
|
|
34142
34115
|
/**
|
|
34143
34116
|
* Discount
|
|
34144
34117
|
* @description The discount percentage applied to the sales invoice.
|
|
@@ -69024,68 +68997,6 @@ export interface operations {
|
|
|
69024
68997
|
};
|
|
69025
68998
|
};
|
|
69026
68999
|
};
|
|
69027
|
-
purchase_return_order_views_submit_purchase_return_order: {
|
|
69028
|
-
parameters: {
|
|
69029
|
-
query?: never;
|
|
69030
|
-
header?: never;
|
|
69031
|
-
path: {
|
|
69032
|
-
id: string;
|
|
69033
|
-
};
|
|
69034
|
-
cookie?: never;
|
|
69035
|
-
};
|
|
69036
|
-
requestBody: {
|
|
69037
|
-
content: {
|
|
69038
|
-
"application/json": components["schemas"]["ActionsPayloadSchemas"];
|
|
69039
|
-
};
|
|
69040
|
-
};
|
|
69041
|
-
responses: {
|
|
69042
|
-
/** @description OK */
|
|
69043
|
-
200: {
|
|
69044
|
-
headers: {
|
|
69045
|
-
[name: string]: unknown;
|
|
69046
|
-
};
|
|
69047
|
-
content: {
|
|
69048
|
-
"application/json": components["schemas"]["PurchaseReturnOrderSchema"];
|
|
69049
|
-
};
|
|
69050
|
-
};
|
|
69051
|
-
/** @description Bad Request */
|
|
69052
|
-
400: {
|
|
69053
|
-
headers: {
|
|
69054
|
-
[name: string]: unknown;
|
|
69055
|
-
};
|
|
69056
|
-
content: {
|
|
69057
|
-
"application/json": components["schemas"]["ErrorMessages"];
|
|
69058
|
-
};
|
|
69059
|
-
};
|
|
69060
|
-
/** @description Forbidden */
|
|
69061
|
-
403: {
|
|
69062
|
-
headers: {
|
|
69063
|
-
[name: string]: unknown;
|
|
69064
|
-
};
|
|
69065
|
-
content: {
|
|
69066
|
-
"application/json": components["schemas"]["MessageWithCode"];
|
|
69067
|
-
};
|
|
69068
|
-
};
|
|
69069
|
-
/** @description Not Found */
|
|
69070
|
-
404: {
|
|
69071
|
-
headers: {
|
|
69072
|
-
[name: string]: unknown;
|
|
69073
|
-
};
|
|
69074
|
-
content: {
|
|
69075
|
-
"application/json": components["schemas"]["MessageWithCode"];
|
|
69076
|
-
};
|
|
69077
|
-
};
|
|
69078
|
-
/** @description Internal Server Error */
|
|
69079
|
-
500: {
|
|
69080
|
-
headers: {
|
|
69081
|
-
[name: string]: unknown;
|
|
69082
|
-
};
|
|
69083
|
-
content: {
|
|
69084
|
-
"application/json": components["schemas"]["MessageWithCode"];
|
|
69085
|
-
};
|
|
69086
|
-
};
|
|
69087
|
-
};
|
|
69088
|
-
};
|
|
69089
69000
|
purchase_return_order_views_cancel_purchase_return_order: {
|
|
69090
69001
|
parameters: {
|
|
69091
69002
|
query?: never;
|