@erp-galoper/types 1.0.654 → 1.0.656

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 -98
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -11578,40 +11578,6 @@ export interface paths {
11578
11578
  patch?: never;
11579
11579
  trace?: never;
11580
11580
  };
11581
- "/api/v1/purchase/return-invoices/{id}/submit/": {
11582
- parameters: {
11583
- query?: never;
11584
- header?: never;
11585
- path?: never;
11586
- cookie?: never;
11587
- };
11588
- get?: never;
11589
- put?: never;
11590
- /**
11591
- * Submit Purchase Return Invoice
11592
- * @description Endpoint for submitting a purchase return invoice
11593
- *
11594
- * Responses:
11595
- * - 200: PurchaseReturnInvoiceSchema
11596
- * - 403: - purchaseReturnInvoiceIsCanceled
11597
- * - statusAlreadySubmitted
11598
- * - noBranchAccess
11599
- * - noModuleAccess
11600
- * - noDepartmentAccess
11601
- * - cantMakeActionOnLockedDocument
11602
- * - permissionDenied
11603
- * - 404: - purchaseReturnInvoiceDoesNotExist
11604
- * - 500: serverError
11605
- *
11606
- * permission key: `purchasereturninvoice = ['add']`
11607
- */
11608
- post: operations["purchase_return_invoice_views_submit_purchase_return_invoice"];
11609
- delete?: never;
11610
- options?: never;
11611
- head?: never;
11612
- patch?: never;
11613
- trace?: never;
11614
- };
11615
11581
  "/api/v1/purchase/return-invoices/{id}/cancel/": {
11616
11582
  parameters: {
11617
11583
  query?: never;
@@ -27567,7 +27533,7 @@ export interface components {
27567
27533
  /**
27568
27534
  * Id
27569
27535
  * Format: uuid
27570
- * @example ffe38c4d-cb4f-411a-8bd5-d5de0fcf44e6
27536
+ * @example 1a27804d-2342-4dc6-ae70-60a09d809442
27571
27537
  */
27572
27538
  id: string;
27573
27539
  /**
@@ -35693,7 +35659,7 @@ export interface components {
35693
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)
35694
35660
  */
35695
35661
  usdRate?: number;
35696
- status?: components["schemas"]["InternalStatusOnCreateValueChoices"] | null;
35662
+ status: components["schemas"]["InternalStatusOnCreateValueChoices"] | null;
35697
35663
  /**
35698
35664
  * Attachments
35699
35665
  * @default []
@@ -35812,6 +35778,10 @@ export interface components {
35812
35778
  total: number;
35813
35779
  /** Unitprice */
35814
35780
  unitPrice: number;
35781
+ /** Quantity */
35782
+ quantity: number;
35783
+ /** Unitpackage */
35784
+ unitPackage?: number | null;
35815
35785
  /**
35816
35786
  * Discount
35817
35787
  * @description The discount percentage applied to the sales invoice.
@@ -70850,68 +70820,6 @@ export interface operations {
70850
70820
  };
70851
70821
  };
70852
70822
  };
70853
- purchase_return_invoice_views_submit_purchase_return_invoice: {
70854
- parameters: {
70855
- query?: never;
70856
- header?: never;
70857
- path: {
70858
- id: string;
70859
- };
70860
- cookie?: never;
70861
- };
70862
- requestBody: {
70863
- content: {
70864
- "application/json": components["schemas"]["ActionsPayloadSchemas"];
70865
- };
70866
- };
70867
- responses: {
70868
- /** @description OK */
70869
- 200: {
70870
- headers: {
70871
- [name: string]: unknown;
70872
- };
70873
- content: {
70874
- "application/json": components["schemas"]["PurchaseReturnInvoiceSchema"];
70875
- };
70876
- };
70877
- /** @description Bad Request */
70878
- 400: {
70879
- headers: {
70880
- [name: string]: unknown;
70881
- };
70882
- content: {
70883
- "application/json": components["schemas"]["ErrorMessages"];
70884
- };
70885
- };
70886
- /** @description Forbidden */
70887
- 403: {
70888
- headers: {
70889
- [name: string]: unknown;
70890
- };
70891
- content: {
70892
- "application/json": components["schemas"]["MessageWithCode"];
70893
- };
70894
- };
70895
- /** @description Not Found */
70896
- 404: {
70897
- headers: {
70898
- [name: string]: unknown;
70899
- };
70900
- content: {
70901
- "application/json": components["schemas"]["MessageWithCode"];
70902
- };
70903
- };
70904
- /** @description Internal Server Error */
70905
- 500: {
70906
- headers: {
70907
- [name: string]: unknown;
70908
- };
70909
- content: {
70910
- "application/json": components["schemas"]["MessageWithCode"];
70911
- };
70912
- };
70913
- };
70914
- };
70915
70823
  purchase_return_invoice_views_cancel_purchase_return_invoice: {
70916
70824
  parameters: {
70917
70825
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.654",
3
+ "version": "1.0.656",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],