@erp-galoper/types 1.0.653 → 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.
Files changed (2) hide show
  1. package/openapi.ts +6 -96
  2. 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;
@@ -27599,7 +27567,7 @@ export interface components {
27599
27567
  /**
27600
27568
  * Id
27601
27569
  * Format: uuid
27602
- * @example 687c41b4-0e3e-4a81-bd6d-901ce3cbc621
27570
+ * @example ffe38c4d-cb4f-411a-8bd5-d5de0fcf44e6
27603
27571
  */
27604
27572
  id: string;
27605
27573
  /**
@@ -34019,7 +33987,7 @@ export interface components {
34019
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)
34020
33988
  */
34021
33989
  usdRate?: number;
34022
- status?: components["schemas"]["InternalStatusOnCreateValueChoices"] | null;
33990
+ status: components["schemas"]["InternalStatusOnCreateValueChoices"] | null;
34023
33991
  /**
34024
33992
  * Attachments
34025
33993
  * @default []
@@ -34140,6 +34108,10 @@ export interface components {
34140
34108
  total: number;
34141
34109
  /** Unitprice */
34142
34110
  unitPrice: number;
34111
+ /** Quantity */
34112
+ quantity: number;
34113
+ /** Unitpackage */
34114
+ unitPackage?: number | null;
34143
34115
  /**
34144
34116
  * Discount
34145
34117
  * @description The discount percentage applied to the sales invoice.
@@ -69025,68 +68997,6 @@ export interface operations {
69025
68997
  };
69026
68998
  };
69027
68999
  };
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
69000
  purchase_return_order_views_cancel_purchase_return_order: {
69091
69001
  parameters: {
69092
69002
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.653",
3
+ "version": "1.0.654",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],