@erp-galoper/types 1.0.653 → 1.0.655
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 +11 -193
- 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;
|
|
@@ -11610,40 +11578,6 @@ export interface paths {
|
|
|
11610
11578
|
patch?: never;
|
|
11611
11579
|
trace?: never;
|
|
11612
11580
|
};
|
|
11613
|
-
"/api/v1/purchase/return-invoices/{id}/submit/": {
|
|
11614
|
-
parameters: {
|
|
11615
|
-
query?: never;
|
|
11616
|
-
header?: never;
|
|
11617
|
-
path?: never;
|
|
11618
|
-
cookie?: never;
|
|
11619
|
-
};
|
|
11620
|
-
get?: never;
|
|
11621
|
-
put?: never;
|
|
11622
|
-
/**
|
|
11623
|
-
* Submit Purchase Return Invoice
|
|
11624
|
-
* @description Endpoint for submitting a purchase return invoice
|
|
11625
|
-
*
|
|
11626
|
-
* Responses:
|
|
11627
|
-
* - 200: PurchaseReturnInvoiceSchema
|
|
11628
|
-
* - 403: - purchaseReturnInvoiceIsCanceled
|
|
11629
|
-
* - statusAlreadySubmitted
|
|
11630
|
-
* - noBranchAccess
|
|
11631
|
-
* - noModuleAccess
|
|
11632
|
-
* - noDepartmentAccess
|
|
11633
|
-
* - cantMakeActionOnLockedDocument
|
|
11634
|
-
* - permissionDenied
|
|
11635
|
-
* - 404: - purchaseReturnInvoiceDoesNotExist
|
|
11636
|
-
* - 500: serverError
|
|
11637
|
-
*
|
|
11638
|
-
* permission key: `purchasereturninvoice = ['add']`
|
|
11639
|
-
*/
|
|
11640
|
-
post: operations["purchase_return_invoice_views_submit_purchase_return_invoice"];
|
|
11641
|
-
delete?: never;
|
|
11642
|
-
options?: never;
|
|
11643
|
-
head?: never;
|
|
11644
|
-
patch?: never;
|
|
11645
|
-
trace?: never;
|
|
11646
|
-
};
|
|
11647
11581
|
"/api/v1/purchase/return-invoices/{id}/cancel/": {
|
|
11648
11582
|
parameters: {
|
|
11649
11583
|
query?: never;
|
|
@@ -27599,7 +27533,7 @@ export interface components {
|
|
|
27599
27533
|
/**
|
|
27600
27534
|
* Id
|
|
27601
27535
|
* Format: uuid
|
|
27602
|
-
* @example
|
|
27536
|
+
* @example 2daf189e-ee6e-4a9c-a7d8-64159a949c8a
|
|
27603
27537
|
*/
|
|
27604
27538
|
id: string;
|
|
27605
27539
|
/**
|
|
@@ -34019,7 +33953,7 @@ export interface components {
|
|
|
34019
33953
|
* @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)
|
|
34020
33954
|
*/
|
|
34021
33955
|
usdRate?: number;
|
|
34022
|
-
status
|
|
33956
|
+
status: components["schemas"]["InternalStatusOnCreateValueChoices"] | null;
|
|
34023
33957
|
/**
|
|
34024
33958
|
* Attachments
|
|
34025
33959
|
* @default []
|
|
@@ -34140,6 +34074,10 @@ export interface components {
|
|
|
34140
34074
|
total: number;
|
|
34141
34075
|
/** Unitprice */
|
|
34142
34076
|
unitPrice: number;
|
|
34077
|
+
/** Quantity */
|
|
34078
|
+
quantity: number;
|
|
34079
|
+
/** Unitpackage */
|
|
34080
|
+
unitPackage?: number | null;
|
|
34143
34081
|
/**
|
|
34144
34082
|
* Discount
|
|
34145
34083
|
* @description The discount percentage applied to the sales invoice.
|
|
@@ -35721,7 +35659,7 @@ export interface components {
|
|
|
35721
35659
|
* @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)
|
|
35722
35660
|
*/
|
|
35723
35661
|
usdRate?: number;
|
|
35724
|
-
status
|
|
35662
|
+
status: components["schemas"]["InternalStatusOnCreateValueChoices"] | null;
|
|
35725
35663
|
/**
|
|
35726
35664
|
* Attachments
|
|
35727
35665
|
* @default []
|
|
@@ -35840,6 +35778,10 @@ export interface components {
|
|
|
35840
35778
|
total: number;
|
|
35841
35779
|
/** Unitprice */
|
|
35842
35780
|
unitPrice: number;
|
|
35781
|
+
/** Quantity */
|
|
35782
|
+
quantity: number;
|
|
35783
|
+
/** Unitpackage */
|
|
35784
|
+
unitPackage?: number | null;
|
|
35843
35785
|
/**
|
|
35844
35786
|
* Discount
|
|
35845
35787
|
* @description The discount percentage applied to the sales invoice.
|
|
@@ -69025,68 +68967,6 @@ export interface operations {
|
|
|
69025
68967
|
};
|
|
69026
68968
|
};
|
|
69027
68969
|
};
|
|
69028
|
-
purchase_return_order_views_submit_purchase_return_order: {
|
|
69029
|
-
parameters: {
|
|
69030
|
-
query?: never;
|
|
69031
|
-
header?: never;
|
|
69032
|
-
path: {
|
|
69033
|
-
id: string;
|
|
69034
|
-
};
|
|
69035
|
-
cookie?: never;
|
|
69036
|
-
};
|
|
69037
|
-
requestBody: {
|
|
69038
|
-
content: {
|
|
69039
|
-
"application/json": components["schemas"]["ActionsPayloadSchemas"];
|
|
69040
|
-
};
|
|
69041
|
-
};
|
|
69042
|
-
responses: {
|
|
69043
|
-
/** @description OK */
|
|
69044
|
-
200: {
|
|
69045
|
-
headers: {
|
|
69046
|
-
[name: string]: unknown;
|
|
69047
|
-
};
|
|
69048
|
-
content: {
|
|
69049
|
-
"application/json": components["schemas"]["PurchaseReturnOrderSchema"];
|
|
69050
|
-
};
|
|
69051
|
-
};
|
|
69052
|
-
/** @description Bad Request */
|
|
69053
|
-
400: {
|
|
69054
|
-
headers: {
|
|
69055
|
-
[name: string]: unknown;
|
|
69056
|
-
};
|
|
69057
|
-
content: {
|
|
69058
|
-
"application/json": components["schemas"]["ErrorMessages"];
|
|
69059
|
-
};
|
|
69060
|
-
};
|
|
69061
|
-
/** @description Forbidden */
|
|
69062
|
-
403: {
|
|
69063
|
-
headers: {
|
|
69064
|
-
[name: string]: unknown;
|
|
69065
|
-
};
|
|
69066
|
-
content: {
|
|
69067
|
-
"application/json": components["schemas"]["MessageWithCode"];
|
|
69068
|
-
};
|
|
69069
|
-
};
|
|
69070
|
-
/** @description Not Found */
|
|
69071
|
-
404: {
|
|
69072
|
-
headers: {
|
|
69073
|
-
[name: string]: unknown;
|
|
69074
|
-
};
|
|
69075
|
-
content: {
|
|
69076
|
-
"application/json": components["schemas"]["MessageWithCode"];
|
|
69077
|
-
};
|
|
69078
|
-
};
|
|
69079
|
-
/** @description Internal Server Error */
|
|
69080
|
-
500: {
|
|
69081
|
-
headers: {
|
|
69082
|
-
[name: string]: unknown;
|
|
69083
|
-
};
|
|
69084
|
-
content: {
|
|
69085
|
-
"application/json": components["schemas"]["MessageWithCode"];
|
|
69086
|
-
};
|
|
69087
|
-
};
|
|
69088
|
-
};
|
|
69089
|
-
};
|
|
69090
68970
|
purchase_return_order_views_cancel_purchase_return_order: {
|
|
69091
68971
|
parameters: {
|
|
69092
68972
|
query?: never;
|
|
@@ -70940,68 +70820,6 @@ export interface operations {
|
|
|
70940
70820
|
};
|
|
70941
70821
|
};
|
|
70942
70822
|
};
|
|
70943
|
-
purchase_return_invoice_views_submit_purchase_return_invoice: {
|
|
70944
|
-
parameters: {
|
|
70945
|
-
query?: never;
|
|
70946
|
-
header?: never;
|
|
70947
|
-
path: {
|
|
70948
|
-
id: string;
|
|
70949
|
-
};
|
|
70950
|
-
cookie?: never;
|
|
70951
|
-
};
|
|
70952
|
-
requestBody: {
|
|
70953
|
-
content: {
|
|
70954
|
-
"application/json": components["schemas"]["ActionsPayloadSchemas"];
|
|
70955
|
-
};
|
|
70956
|
-
};
|
|
70957
|
-
responses: {
|
|
70958
|
-
/** @description OK */
|
|
70959
|
-
200: {
|
|
70960
|
-
headers: {
|
|
70961
|
-
[name: string]: unknown;
|
|
70962
|
-
};
|
|
70963
|
-
content: {
|
|
70964
|
-
"application/json": components["schemas"]["PurchaseReturnInvoiceSchema"];
|
|
70965
|
-
};
|
|
70966
|
-
};
|
|
70967
|
-
/** @description Bad Request */
|
|
70968
|
-
400: {
|
|
70969
|
-
headers: {
|
|
70970
|
-
[name: string]: unknown;
|
|
70971
|
-
};
|
|
70972
|
-
content: {
|
|
70973
|
-
"application/json": components["schemas"]["ErrorMessages"];
|
|
70974
|
-
};
|
|
70975
|
-
};
|
|
70976
|
-
/** @description Forbidden */
|
|
70977
|
-
403: {
|
|
70978
|
-
headers: {
|
|
70979
|
-
[name: string]: unknown;
|
|
70980
|
-
};
|
|
70981
|
-
content: {
|
|
70982
|
-
"application/json": components["schemas"]["MessageWithCode"];
|
|
70983
|
-
};
|
|
70984
|
-
};
|
|
70985
|
-
/** @description Not Found */
|
|
70986
|
-
404: {
|
|
70987
|
-
headers: {
|
|
70988
|
-
[name: string]: unknown;
|
|
70989
|
-
};
|
|
70990
|
-
content: {
|
|
70991
|
-
"application/json": components["schemas"]["MessageWithCode"];
|
|
70992
|
-
};
|
|
70993
|
-
};
|
|
70994
|
-
/** @description Internal Server Error */
|
|
70995
|
-
500: {
|
|
70996
|
-
headers: {
|
|
70997
|
-
[name: string]: unknown;
|
|
70998
|
-
};
|
|
70999
|
-
content: {
|
|
71000
|
-
"application/json": components["schemas"]["MessageWithCode"];
|
|
71001
|
-
};
|
|
71002
|
-
};
|
|
71003
|
-
};
|
|
71004
|
-
};
|
|
71005
70823
|
purchase_return_invoice_views_cancel_purchase_return_invoice: {
|
|
71006
70824
|
parameters: {
|
|
71007
70825
|
query?: never;
|