@erp-galoper/types 1.0.103 → 1.0.105

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 +62 -16
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -10428,6 +10428,9 @@ export interface paths {
10428
10428
  /**
10429
10429
  * Calculate Totals Endpoint
10430
10430
  * @description Endpoint for calculating the totals of a purchase return order (per item and total)
10431
+ * Responses:
10432
+ * -400:
10433
+ * - supplierDoesNotExist
10431
10434
  */
10432
10435
  post: operations["purchase_return_order_views_calculate_totals_endpoint"];
10433
10436
  delete?: never;
@@ -11430,6 +11433,9 @@ export interface paths {
11430
11433
  /**
11431
11434
  * Calculate Totals Endpoint
11432
11435
  * @description Endpoint for calculating the totals of a purchase return order (per item and total)
11436
+ * Responses:
11437
+ * - 400 :
11438
+ * - supplierDoesNotExist
11433
11439
  */
11434
11440
  post: operations["purchase_return_invoice_views_calculate_totals_endpoint"];
11435
11441
  delete?: never;
@@ -26483,7 +26489,7 @@ export interface components {
26483
26489
  /**
26484
26490
  * Id
26485
26491
  * Format: uuid
26486
- * @example cace6a38-012f-46a0-8abc-278e730c25c2
26492
+ * @example 020744f2-0ada-49cc-a3af-9fe3d76cae37
26487
26493
  */
26488
26494
  id: string;
26489
26495
  /**
@@ -31689,6 +31695,8 @@ export interface components {
31689
31695
  linkedDocuments?: {
31690
31696
  [key: string]: components["schemas"]["LinkedDocumentsSchema"];
31691
31697
  }[];
31698
+ /** @description visible when supplier is not resident */
31699
+ tax: components["schemas"]["TaxSharedSchema"] | null;
31692
31700
  /**
31693
31701
  * Items
31694
31702
  * @default []
@@ -31878,6 +31886,8 @@ export interface components {
31878
31886
  usdTotal: number;
31879
31887
  /** Companytotal */
31880
31888
  companyTotal?: number | null;
31889
+ /** @description visible when supplier is not resident */
31890
+ tax?: components["schemas"]["TaxSharedSchema"];
31881
31891
  /** Items */
31882
31892
  items: components["schemas"]["ReturnPurchaseOrderItemTotalCalculated"][];
31883
31893
  };
@@ -33142,6 +33152,8 @@ export interface components {
33142
33152
  /** Candelete */
33143
33153
  canDelete: boolean;
33144
33154
  reasonForReturn?: components["schemas"]["ReasonSummaryInfo"] | null;
33155
+ /** @description visible when supplier is not resident */
33156
+ tax: components["schemas"]["TaxSharedSchema"] | null;
33145
33157
  /** Linkeddocuments */
33146
33158
  linkedDocuments?: {
33147
33159
  [key: string]: components["schemas"]["LinkedDocumentsSchema"];
@@ -33313,6 +33325,8 @@ export interface components {
33313
33325
  /** Candelete */
33314
33326
  canDelete: boolean;
33315
33327
  reasonForReturn?: components["schemas"]["ReasonSummaryInfo"] | null;
33328
+ /** @description visible when supplier is not resident */
33329
+ tax: components["schemas"]["TaxSharedSchema"] | null;
33316
33330
  };
33317
33331
  /** ReturnPurchaseInvoiceItemTotalCalculated */
33318
33332
  ReturnPurchaseInvoiceItemTotalCalculated: {
@@ -33345,6 +33359,8 @@ export interface components {
33345
33359
  usdTotal: number;
33346
33360
  /** Companytotal */
33347
33361
  companyTotal?: number | null;
33362
+ /** @description visible when supplier is not resident */
33363
+ tax?: components["schemas"]["TaxSharedSchema"];
33348
33364
  /** Items */
33349
33365
  items: components["schemas"]["ReturnPurchaseInvoiceItemTotalCalculated"][];
33350
33366
  };
@@ -41360,6 +41376,34 @@ export interface components {
41360
41376
  /** Items */
41361
41377
  items: components["schemas"]["CalculateSalesReturnInvoiceItemsSchema"][];
41362
41378
  };
41379
+ /** RefundableDownPaymentItemWithRemaining */
41380
+ RefundableDownPaymentItemWithRemaining: {
41381
+ /**
41382
+ * Id
41383
+ * Format: uuid
41384
+ */
41385
+ id: string;
41386
+ /**
41387
+ * Total
41388
+ * @description field is number
41389
+ */
41390
+ total: string;
41391
+ /**
41392
+ * Companytotal
41393
+ * @description field is number
41394
+ */
41395
+ companyTotal: string;
41396
+ /**
41397
+ * Secondarytotal
41398
+ * @description field is number
41399
+ */
41400
+ secondaryTotal: string;
41401
+ /**
41402
+ * Remaining
41403
+ * @description field is number
41404
+ */
41405
+ remaining: string;
41406
+ };
41363
41407
  /** RefundableDownPaymentWithRemaining */
41364
41408
  RefundableDownPaymentWithRemaining: {
41365
41409
  /**
@@ -41389,6 +41433,8 @@ export interface components {
41389
41433
  * @description field is number
41390
41434
  */
41391
41435
  remaining: string;
41436
+ /** Items */
41437
+ items: components["schemas"]["RefundableDownPaymentItemWithRemaining"][];
41392
41438
  };
41393
41439
  /** RefundableReturnPackagesWithRemaining */
41394
41440
  RefundableReturnPackagesWithRemaining: {
@@ -41486,8 +41532,8 @@ export interface components {
41486
41532
  SalesRefundVoucherPaymentWithEquivalentResponse: {
41487
41533
  /** Returninvoice */
41488
41534
  returnInvoice: string | null;
41489
- /** Downpayment */
41490
- downPayment: string | null;
41535
+ /** Downpaymentitem */
41536
+ downPaymentItem: string | null;
41491
41537
  /** Amount */
41492
41538
  amount: string;
41493
41539
  /**
@@ -41566,11 +41612,11 @@ export interface components {
41566
41612
  */
41567
41613
  returnInvoice?: string;
41568
41614
  /**
41569
- * Downpayment
41615
+ * Downpaymentitem
41570
41616
  * Format: uuid
41571
41617
  * @description down payment id, if down payment is undefined then return invoice should be required
41572
41618
  */
41573
- downPayment?: string;
41619
+ downPaymentItem?: string;
41574
41620
  };
41575
41621
  /** SalesRefundVoucherDetailWithItemSchema */
41576
41622
  SalesRefundVoucherDetailWithItemSchema: {
@@ -41666,7 +41712,7 @@ export interface components {
41666
41712
  * @description this field is number
41667
41713
  */
41668
41714
  secondaryRate: string;
41669
- downPayment: components["schemas"]["DocumentCommonSchema"] | null;
41715
+ downPaymentItem: components["schemas"]["DocumentCommonSchema"] | null;
41670
41716
  refundReturnInvoice: components["schemas"]["DocumentCommonSchema"] | null;
41671
41717
  returnReturnablePackage: components["schemas"]["DocumentCommonSchema"] | null;
41672
41718
  };
@@ -41809,14 +41855,14 @@ export interface components {
41809
41855
  */
41810
41856
  customerBankAccount?: number;
41811
41857
  /**
41812
- * Downpayment
41858
+ * Downpaymentitem
41813
41859
  * Format: uuid
41814
41860
  * @description
41815
- * get down payments from /v1/sales/refund-vouchers/refundable-documents/?customer = {customer-id}
41816
- * user should select either down payment or return invoice or return returnable package per row
41861
+ * get down payments from /v1/sales/refund-vouchers/refundable-documents/?customer = {customer-id}
41862
+ * user should select either down payment or return invoice or return returnable package per row
41817
41863
  *
41818
41864
  */
41819
- downPayment?: string;
41865
+ downPaymentItem?: string;
41820
41866
  /**
41821
41867
  * Returninvoice
41822
41868
  * Format: uuid
@@ -41982,14 +42028,14 @@ export interface components {
41982
42028
  */
41983
42029
  customerBankAccount?: number;
41984
42030
  /**
41985
- * Downpayment
42031
+ * Downpaymentitem
41986
42032
  * Format: uuid
41987
42033
  * @description
41988
- * get down payments from /v1/sales/refund-vouchers/refundable-documents/?customer = {customer-id}
41989
- * user should select either down payment or return invoice or return returnable package per row
42034
+ * get down payments from /v1/sales/refund-vouchers/refundable-documents/?customer = {customer-id}
42035
+ * user should select either down payment or return invoice or return returnable package per row
41990
42036
  *
41991
42037
  */
41992
- downPayment?: string;
42038
+ downPaymentItem?: string;
41993
42039
  /**
41994
42040
  * Returninvoice
41995
42041
  * Format: uuid
@@ -65110,7 +65156,7 @@ export interface operations {
65110
65156
  [name: string]: unknown;
65111
65157
  };
65112
65158
  content: {
65113
- "application/json": components["schemas"]["MessageWithCode"];
65159
+ "application/json": components["schemas"]["ErrorMessages"];
65114
65160
  };
65115
65161
  };
65116
65162
  /** @description Internal Server Error */
@@ -67077,7 +67123,7 @@ export interface operations {
67077
67123
  [name: string]: unknown;
67078
67124
  };
67079
67125
  content: {
67080
- "application/json": components["schemas"]["MessageWithCode"];
67126
+ "application/json": components["schemas"]["ErrorMessages"];
67081
67127
  };
67082
67128
  };
67083
67129
  /** @description Internal Server Error */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.103",
3
+ "version": "1.0.105",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],