@erp-galoper/types 1.0.105 → 1.0.107

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 +164 -57
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -26489,7 +26489,7 @@ export interface components {
26489
26489
  /**
26490
26490
  * Id
26491
26491
  * Format: uuid
26492
- * @example 020744f2-0ada-49cc-a3af-9fe3d76cae37
26492
+ * @example d8149926-f83d-4765-9f57-b3253d8e122b
26493
26493
  */
26494
26494
  id: string;
26495
26495
  /**
@@ -30253,44 +30253,37 @@ export interface components {
30253
30253
  ChangedFields: "amount" | "companyAmount" | "usdAmount" | "companyRate" | "usdRate" | "accountNumber";
30254
30254
  /** PaymentsSchema */
30255
30255
  PaymentsSchema: {
30256
+ /**
30257
+ * Closingcommissionid
30258
+ * Format: uuid
30259
+ */
30260
+ closingCommissionId: string;
30256
30261
  /**
30257
30262
  * Amount
30258
- * @description field is number
30263
+ * @description this field is number
30259
30264
  */
30260
30265
  amount?: string;
30261
30266
  /**
30262
30267
  * Companyamount
30263
- * @description field is number
30268
+ * @description this field is number
30264
30269
  */
30265
- companyAmount?: string | null;
30270
+ companyAmount?: string;
30266
30271
  /**
30267
30272
  * Usdamount
30268
- * @description field is number
30273
+ * @description this field is number
30269
30274
  */
30270
- usdAmount?: string | null;
30275
+ usdAmount?: string;
30271
30276
  /**
30272
30277
  * Companyrate
30273
- * @description field is number
30278
+ * @description this field is number
30274
30279
  */
30275
30280
  companyRate?: string;
30276
30281
  /**
30277
- * Usdrate
30278
- * @description field is number
30279
- */
30280
- usdRate?: string;
30281
- changedField: components["schemas"]["ChangedFields"] | null;
30282
- /**
30283
- * Returninvoice
30284
- * Format: uuid
30285
- * @description return invoice id
30286
- */
30287
- returnInvoice?: string;
30288
- /**
30289
- * Advancepayment
30290
- * Format: uuid
30291
- * @description advance payment id
30282
+ * Secondaryrate
30283
+ * @description this field is number
30292
30284
  */
30293
- advancePayment?: string;
30285
+ secondaryRate?: string;
30286
+ changedField: components["schemas"]["FinancialChangedFields"];
30294
30287
  };
30295
30288
  /** AdvancePaymentResponse */
30296
30289
  AdvancePaymentResponse: {
@@ -37335,8 +37328,46 @@ export interface components {
37335
37328
  /** Results */
37336
37329
  results: components["schemas"]["RetrieveContactSegmentationSchema"][];
37337
37330
  };
37338
- /** CalculateTotalResponse */
37339
- CalculateTotalResponse: {
37331
+ /** PaymentWithEquivalentResponse */
37332
+ PaymentWithEquivalentResponse: {
37333
+ /**
37334
+ * Salesinvoice
37335
+ * Format: uuid
37336
+ */
37337
+ salesInvoice?: string;
37338
+ /**
37339
+ * Amount
37340
+ * @description field is number
37341
+ */
37342
+ amount: string;
37343
+ /**
37344
+ * Companyamount
37345
+ * @description field is number
37346
+ */
37347
+ companyAmount: string;
37348
+ /**
37349
+ * Secondaryamount
37350
+ * @description field is number
37351
+ */
37352
+ secondaryAmount: string;
37353
+ /**
37354
+ * Companyrate
37355
+ * @description field is number
37356
+ */
37357
+ companyRate: string;
37358
+ /**
37359
+ * Secondaryrate
37360
+ * @description field is number
37361
+ */
37362
+ secondaryRate: string | null;
37363
+ /**
37364
+ * Remaining
37365
+ * @description field is number
37366
+ */
37367
+ remaining: string;
37368
+ };
37369
+ /** PurchaseRefundVoucherCalculateTotalResponse */
37370
+ PurchaseRefundVoucherCalculateTotalResponse: {
37340
37371
  /**
37341
37372
  * Total
37342
37373
  * @description field is number
@@ -37348,10 +37379,10 @@ export interface components {
37348
37379
  */
37349
37380
  companyTotal: string;
37350
37381
  /**
37351
- * Secondarytotal
37382
+ * Usdtotal
37352
37383
  * @description field is number
37353
37384
  */
37354
- secondaryTotal: string;
37385
+ usdTotal: string;
37355
37386
  /**
37356
37387
  * Remainingbalance
37357
37388
  * @description field is number
@@ -37360,53 +37391,89 @@ export interface components {
37360
37391
  /** Payments */
37361
37392
  payments: components["schemas"]["PaymentWithEquivalentResponse"][];
37362
37393
  };
37363
- /** PaymentWithEquivalentResponse */
37364
- PaymentWithEquivalentResponse: {
37394
+ /** PurchaseRefundVoucherCalculateEquivalentsAndTotalsSchema */
37395
+ PurchaseRefundVoucherCalculateEquivalentsAndTotalsSchema: {
37365
37396
  /**
37366
- * Salesinvoice
37367
- * Format: uuid
37397
+ * Supplier
37398
+ * @description Supplier ID
37368
37399
  */
37369
- salesInvoice?: string;
37400
+ supplier: number;
37401
+ /**
37402
+ * Branch
37403
+ * @description Branch ID
37404
+ */
37405
+ branch: number;
37406
+ /** Payments */
37407
+ payments: components["schemas"]["PurchaseRefundVoucherPaymentsSchema"][];
37408
+ };
37409
+ /** PurchaseRefundVoucherPaymentsSchema */
37410
+ PurchaseRefundVoucherPaymentsSchema: {
37370
37411
  /**
37371
37412
  * Amount
37372
37413
  * @description field is number
37373
37414
  */
37374
- amount: string;
37415
+ amount?: string;
37375
37416
  /**
37376
37417
  * Companyamount
37377
37418
  * @description field is number
37378
37419
  */
37379
- companyAmount: string;
37420
+ companyAmount?: string | null;
37380
37421
  /**
37381
- * Secondaryamount
37422
+ * Usdamount
37382
37423
  * @description field is number
37383
37424
  */
37384
- secondaryAmount: string;
37425
+ usdAmount?: string | null;
37385
37426
  /**
37386
37427
  * Companyrate
37387
37428
  * @description field is number
37388
37429
  */
37389
- companyRate: string;
37430
+ companyRate?: string;
37390
37431
  /**
37391
- * Secondaryrate
37432
+ * Usdrate
37392
37433
  * @description field is number
37393
37434
  */
37394
- secondaryRate: string | null;
37435
+ usdRate?: string;
37436
+ changedField: components["schemas"]["ChangedFields"] | null;
37395
37437
  /**
37396
- * Remaining
37397
- * @description field is number
37438
+ * Returninvoice
37439
+ * Format: uuid
37440
+ * @description return invoice id
37398
37441
  */
37399
- remaining: string;
37442
+ returnInvoice?: string;
37443
+ /**
37444
+ * Advancepaymentitem
37445
+ * Format: uuid
37446
+ * @description advance payment item id
37447
+ */
37448
+ advancePaymentItem?: string;
37400
37449
  };
37401
- /** CalculateEquivalentsAndTotalsSchema */
37402
- CalculateEquivalentsAndTotalsSchema: {
37450
+ /** RefundableAdvancePaymentItemWithRemaining */
37451
+ RefundableAdvancePaymentItemWithRemaining: {
37403
37452
  /**
37404
- * Customer
37405
- * @description customer ID
37453
+ * Id
37454
+ * Format: uuid
37406
37455
  */
37407
- customer: number;
37408
- /** Payments */
37409
- payments: components["schemas"]["AmountWithEquivalentSchema"][];
37456
+ id: string;
37457
+ /**
37458
+ * Total
37459
+ * @description field is number
37460
+ */
37461
+ total: string;
37462
+ /**
37463
+ * Companytotal
37464
+ * @description field is number
37465
+ */
37466
+ companyTotal: string;
37467
+ /**
37468
+ * Secondarytotal
37469
+ * @description field is number
37470
+ */
37471
+ secondaryTotal: string;
37472
+ /**
37473
+ * Remaining
37474
+ * @description field is number
37475
+ */
37476
+ remaining: string;
37410
37477
  };
37411
37478
  /** RefundableAdvancePaymentWithRemaining */
37412
37479
  RefundableAdvancePaymentWithRemaining: {
@@ -37437,6 +37504,8 @@ export interface components {
37437
37504
  * @description field is number
37438
37505
  */
37439
37506
  remaining: string;
37507
+ /** Items */
37508
+ items: components["schemas"]["RefundableAdvancePaymentItemWithRemaining"][];
37440
37509
  };
37441
37510
  /** RefundableDocumentsResponse */
37442
37511
  RefundableDocumentsResponse: {
@@ -37547,7 +37616,7 @@ export interface components {
37547
37616
  companyRate: string;
37548
37617
  /** Usdrate */
37549
37618
  usdRate: string;
37550
- advancePayment: components["schemas"]["DocumentCommonSchema"] | null;
37619
+ advancePaymentItem: components["schemas"]["DocumentCommonSchema"] | null;
37551
37620
  refundReturnInvoice: components["schemas"]["DocumentCommonSchema"] | null;
37552
37621
  };
37553
37622
  /** RefundVoucherResponseSchema */
@@ -37670,14 +37739,14 @@ export interface components {
37670
37739
  */
37671
37740
  bankName?: string;
37672
37741
  /**
37673
- * Advancepayment
37742
+ * Advancepaymentitem
37674
37743
  * Format: uuid
37675
37744
  * @description
37676
37745
  * get advance payments from /v1/refund-vouchers/refundable-documents/ with a query param supplier
37677
37746
  * user should select either advance payment or return invoice per row
37678
37747
  *
37679
37748
  */
37680
- advancePayment?: string;
37749
+ advancePaymentItem?: string;
37681
37750
  /**
37682
37751
  * Returninvoice
37683
37752
  * Format: uuid
@@ -37833,11 +37902,14 @@ export interface components {
37833
37902
  */
37834
37903
  bankName?: string;
37835
37904
  /**
37836
- * Advancepayment
37905
+ * Advancepaymentitem
37837
37906
  * Format: uuid
37838
- * @description get advance payments from /v1/refund-vouchers/refundable-documents/ with a query param supplier
37907
+ * @description
37908
+ * get advance payments from /v1/purchase/refund-vouchers/refundable-documents/?supplier = {supplier-id}
37909
+ * - use should select advance payment then items from the advance payment items
37910
+ *
37839
37911
  */
37840
- advancePayment?: string;
37912
+ advancePaymentItem?: string;
37841
37913
  /**
37842
37914
  * Returninvoice
37843
37915
  * Format: uuid
@@ -39537,6 +39609,31 @@ export interface components {
39537
39609
  */
39538
39610
  password: string | null;
39539
39611
  };
39612
+ /** CalculateTotalResponse */
39613
+ CalculateTotalResponse: {
39614
+ /**
39615
+ * Total
39616
+ * @description field is number
39617
+ */
39618
+ total: string;
39619
+ /**
39620
+ * Companytotal
39621
+ * @description field is number
39622
+ */
39623
+ companyTotal: string;
39624
+ /**
39625
+ * Secondarytotal
39626
+ * @description field is number
39627
+ */
39628
+ secondaryTotal: string;
39629
+ /**
39630
+ * Remainingbalance
39631
+ * @description field is number
39632
+ */
39633
+ remainingBalance: string;
39634
+ /** Payments */
39635
+ payments: components["schemas"]["PaymentWithEquivalentResponse"][];
39636
+ };
39540
39637
  /** AmountWithEquivalentSchema */
39541
39638
  AmountWithEquivalentSchema: {
39542
39639
  /**
@@ -39577,6 +39674,16 @@ export interface components {
39577
39674
  secondaryRate?: string;
39578
39675
  changedField: components["schemas"]["ChangedFields"] | null;
39579
39676
  };
39677
+ /** CalculateEquivalentsAndTotalsSchema */
39678
+ CalculateEquivalentsAndTotalsSchema: {
39679
+ /**
39680
+ * Customer
39681
+ * @description customer ID
39682
+ */
39683
+ customer: number;
39684
+ /** Payments */
39685
+ payments: components["schemas"]["AmountWithEquivalentSchema"][];
39686
+ };
39580
39687
  /** UnPaidAndPartiallyPaidInvoicesResponseSchema */
39581
39688
  UnPaidAndPartiallyPaidInvoicesResponseSchema: {
39582
39689
  /**
@@ -72959,7 +73066,7 @@ export interface operations {
72959
73066
  };
72960
73067
  requestBody: {
72961
73068
  content: {
72962
- "application/json": components["schemas"]["CalculateEquivalentsAndTotalsSchema"];
73069
+ "application/json": components["schemas"]["PurchaseRefundVoucherCalculateEquivalentsAndTotalsSchema"];
72963
73070
  };
72964
73071
  };
72965
73072
  responses: {
@@ -72969,7 +73076,7 @@ export interface operations {
72969
73076
  [name: string]: unknown;
72970
73077
  };
72971
73078
  content: {
72972
- "application/json": components["schemas"]["CalculateTotalResponse"];
73079
+ "application/json": components["schemas"]["PurchaseRefundVoucherCalculateTotalResponse"];
72973
73080
  };
72974
73081
  };
72975
73082
  /** @description Bad Request */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.105",
3
+ "version": "1.0.107",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],