@erp-galoper/types 1.0.7 → 1.0.9

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 +59 -59
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -26115,7 +26115,7 @@ export interface components {
26115
26115
  /**
26116
26116
  * Id
26117
26117
  * Format: uuid
26118
- * @example 39a8c598-7c2f-4ff6-9868-32c0b9185fcb
26118
+ * @example df40f6f0-e522-4a0f-a1a8-b19eaa2d45e3
26119
26119
  */
26120
26120
  id: string;
26121
26121
  /**
@@ -34670,20 +34670,20 @@ export interface components {
34670
34670
  * Companyrate
34671
34671
  * @description
34672
34672
  * - This field is number
34673
- * - This field is visible if allow rate change is true in /api/v1/system_settings/details/,
34673
+ * - This field is visible and required if allow rate change is on in system settings,
34674
34674
  * - For LB:
34675
- * - if {entity} options:(supplier, customer , sales_person) currency same as company currency or {entity} options:(supplier, customer , sales_person) currency is USD get the company_rate from /api/v1/currencies/ where currency name is USD and field(rate),
34676
- * - if {entity} options:(supplier, customer , sales_person) currency is foreign for example EUR get the company_rate from /api/v1/currencies/ where currency name is same as {entity} currency and field(rate)),
34675
+ * - if entity options:(supplier, customer , sales_person) currency same as company currency or entity options:(supplier, customer , sales_person) currency is USD get the company_rate from /api/v1/currencies/ where currency name is USD and field(rate),
34676
+ * - if entity options:(supplier, customer , sales_person) currency is foreign for example EUR get the company_rate from /api/v1/currencies/ where currency name is same as entity currency and field(rate)),
34677
34677
  * - For countries other than LB:
34678
- * - get company_rate from /api/v1/currencies/ where currency name same as {entity} options:(supplier, customer , sales_person) currency
34678
+ * - get company_rate from /api/v1/currencies/ where currency name same as entity options:(supplier, customer , sales_person) currency
34679
34679
  */
34680
34680
  companyRate?: string;
34681
34681
  /**
34682
34682
  * Secondaryrate
34683
34683
  * @description
34684
34684
  * - This field is number
34685
- * - This field is visible if allow rate change is true in /api/v1/system_settings/details/
34686
- * and {entity} options:(supplier, customer , sales_person) currency is foreign currency meaning (NOT COMPANY CURRENCY)
34685
+ * - This field is visible and required if allow rate change is on in system settings and the country is Lebanon
34686
+ * and entity options:(supplier, customer , sales_person) currency is foreign currency meaning (NOT COMPANY CURRENCY)
34687
34687
  */
34688
34688
  secondaryRate?: string;
34689
34689
  /**
@@ -34763,20 +34763,20 @@ export interface components {
34763
34763
  * Companyrate
34764
34764
  * @description
34765
34765
  * - This field is number
34766
- * - This field is visible if allow rate change is true in /api/v1/system_settings/details/,
34766
+ * - This field is visible and required if allow rate change is on in system settings,
34767
34767
  * - For LB:
34768
- * - if {entity} options:(supplier, customer , sales_person) currency same as company currency or {entity} options:(supplier, customer , sales_person) currency is USD get the company_rate from /api/v1/currencies/ where currency name is USD and field(rate),
34769
- * - if {entity} options:(supplier, customer , sales_person) currency is foreign for example EUR get the company_rate from /api/v1/currencies/ where currency name is same as {entity} currency and field(rate)),
34768
+ * - if entity options:(supplier, customer , sales_person) currency same as company currency or entity options:(supplier, customer , sales_person) currency is USD get the company_rate from /api/v1/currencies/ where currency name is USD and field(rate),
34769
+ * - if entity options:(supplier, customer , sales_person) currency is foreign for example EUR get the company_rate from /api/v1/currencies/ where currency name is same as entity currency and field(rate)),
34770
34770
  * - For countries other than LB:
34771
- * - get company_rate from /api/v1/currencies/ where currency name same as {entity} options:(supplier, customer , sales_person) currency
34771
+ * - get company_rate from /api/v1/currencies/ where currency name same as entity options:(supplier, customer , sales_person) currency
34772
34772
  */
34773
34773
  companyRate?: string;
34774
34774
  /**
34775
34775
  * Secondaryrate
34776
34776
  * @description
34777
34777
  * - This field is number
34778
- * - This field is visible if allow rate change is true in /api/v1/system_settings/details/
34779
- * and {entity} options:(supplier, customer , sales_person) currency is foreign currency meaning (NOT COMPANY CURRENCY)
34778
+ * - This field is visible and required if allow rate change is on in system settings and the country is Lebanon
34779
+ * and entity options:(supplier, customer , sales_person) currency is foreign currency meaning (NOT COMPANY CURRENCY)
34780
34780
  */
34781
34781
  secondaryRate?: string;
34782
34782
  /**
@@ -36608,7 +36608,7 @@ export interface components {
36608
36608
  * Companyrate
36609
36609
  * @description
36610
36610
  * - This field is a number.
36611
- * - This field is visible and required if multi-currency is on.
36611
+ * - This field is visible and required if allow rate change is on in system settings.
36612
36612
  * - If the country is Lebanon:
36613
36613
  * - If the account currency is the same as the company currency or USD,
36614
36614
  * get the company_rate from the currency table where currency name is USD.
@@ -36622,7 +36622,7 @@ export interface components {
36622
36622
  * Secondaryrate
36623
36623
  * @description
36624
36624
  * - This field is a number.
36625
- * - This field is visible and required if multi-currency is on and the country is Lebanon,
36625
+ * - This field is visible and required if allow rate change is on in system settings and the country is Lebanon,
36626
36626
  * and the account currency is a foreign currency(not company currency or USD).
36627
36627
  */
36628
36628
  secondaryRate?: string;
@@ -37885,20 +37885,20 @@ export interface components {
37885
37885
  * Companyrate
37886
37886
  * @description
37887
37887
  * - This field is number
37888
- * - This field is visible if allow rate change is true in /api/v1/system_settings/details/,
37888
+ * - This field is visible and required if allow rate change is on in system settings,
37889
37889
  * - For LB:
37890
- * - if {entity} options:(supplier, customer , sales_person) currency same as company currency or {entity} options:(supplier, customer , sales_person) currency is USD get the company_rate from /api/v1/currencies/ where currency name is USD and field(rate),
37891
- * - if {entity} options:(supplier, customer , sales_person) currency is foreign for example EUR get the company_rate from /api/v1/currencies/ where currency name is same as {entity} currency and field(rate)),
37890
+ * - if entity options:(supplier, customer , sales_person) currency same as company currency or entity options:(supplier, customer , sales_person) currency is USD get the company_rate from /api/v1/currencies/ where currency name is USD and field(rate),
37891
+ * - if entity options:(supplier, customer , sales_person) currency is foreign for example EUR get the company_rate from /api/v1/currencies/ where currency name is same as entity currency and field(rate)),
37892
37892
  * - For countries other than LB:
37893
- * - get company_rate from /api/v1/currencies/ where currency name same as {entity} options:(supplier, customer , sales_person) currency
37893
+ * - get company_rate from /api/v1/currencies/ where currency name same as entity options:(supplier, customer , sales_person) currency
37894
37894
  */
37895
37895
  companyRate?: string;
37896
37896
  /**
37897
37897
  * Secondaryrate
37898
37898
  * @description
37899
37899
  * - This field is number
37900
- * - This field is visible if allow rate change is true in /api/v1/system_settings/details/
37901
- * and {entity} options:(supplier, customer , sales_person) currency is foreign currency meaning (NOT COMPANY CURRENCY)
37900
+ * - This field is visible and required if allow rate change is on in system settings and the country is Lebanon
37901
+ * and entity options:(supplier, customer , sales_person) currency is foreign currency meaning (NOT COMPANY CURRENCY)
37902
37902
  */
37903
37903
  secondaryRate?: string;
37904
37904
  /**
@@ -38030,20 +38030,20 @@ export interface components {
38030
38030
  * Companyrate
38031
38031
  * @description
38032
38032
  * - This field is number
38033
- * - This field is visible if allow rate change is true in /api/v1/system_settings/details/,
38033
+ * - This field is visible and required if allow rate change is on in system settings,
38034
38034
  * - For LB:
38035
- * - if {entity} options:(supplier, customer , sales_person) currency same as company currency or {entity} options:(supplier, customer , sales_person) currency is USD get the company_rate from /api/v1/currencies/ where currency name is USD and field(rate),
38036
- * - if {entity} options:(supplier, customer , sales_person) currency is foreign for example EUR get the company_rate from /api/v1/currencies/ where currency name is same as {entity} currency and field(rate)),
38035
+ * - if entity options:(supplier, customer , sales_person) currency same as company currency or entity options:(supplier, customer , sales_person) currency is USD get the company_rate from /api/v1/currencies/ where currency name is USD and field(rate),
38036
+ * - if entity options:(supplier, customer , sales_person) currency is foreign for example EUR get the company_rate from /api/v1/currencies/ where currency name is same as entity currency and field(rate)),
38037
38037
  * - For countries other than LB:
38038
- * - get company_rate from /api/v1/currencies/ where currency name same as {entity} options:(supplier, customer , sales_person) currency
38038
+ * - get company_rate from /api/v1/currencies/ where currency name same as entity options:(supplier, customer , sales_person) currency
38039
38039
  */
38040
38040
  companyRate?: string;
38041
38041
  /**
38042
38042
  * Secondaryrate
38043
38043
  * @description
38044
38044
  * - This field is number
38045
- * - This field is visible if allow rate change is true in /api/v1/system_settings/details/
38046
- * and {entity} options:(supplier, customer , sales_person) currency is foreign currency meaning (NOT COMPANY CURRENCY)
38045
+ * - This field is visible and required if allow rate change is on in system settings and the country is Lebanon
38046
+ * and entity options:(supplier, customer , sales_person) currency is foreign currency meaning (NOT COMPANY CURRENCY)
38047
38047
  */
38048
38048
  secondaryRate?: string;
38049
38049
  /**
@@ -38630,7 +38630,7 @@ export interface components {
38630
38630
  * Companyrate
38631
38631
  * @description
38632
38632
  * - This field is a number.
38633
- * - Required if multi-currency is on. Depends on account currency.
38633
+ * - This field is visible and required if allow rate change is on in system settings. Depends on account currency.
38634
38634
  * - If the country is Lebanon:
38635
38635
  * - If the account currency is the same as the company currency or USD, get the company_rate from the currency table where currency name is USD.
38636
38636
  * - If the account currency is foreign (e.g., EUR), get the company_rate from the currency table where the currency name matches the account currency.
@@ -38643,7 +38643,7 @@ export interface components {
38643
38643
  * Usdrate
38644
38644
  * @description
38645
38645
  * - This field is a number.
38646
- * - Required if multi-currency is on and the country is Lebanon.
38646
+ * - This field is visible and required if allow rate change is on in system settings and the country is Lebanon.
38647
38647
  *
38648
38648
  */
38649
38649
  usdRate?: string;
@@ -39300,20 +39300,20 @@ export interface components {
39300
39300
  * Companyrate
39301
39301
  * @description
39302
39302
  * - This field is number
39303
- * - This field is visible if allow rate change is true in /api/v1/system_settings/details/,
39303
+ * - This field is visible and required if allow rate change is on in system settings,
39304
39304
  * - For LB:
39305
- * - if {entity} options:(supplier, customer , sales_person) currency same as company currency or {entity} options:(supplier, customer , sales_person) currency is USD get the company_rate from /api/v1/currencies/ where currency name is USD and field(rate),
39306
- * - if {entity} options:(supplier, customer , sales_person) currency is foreign for example EUR get the company_rate from /api/v1/currencies/ where currency name is same as {entity} currency and field(rate)),
39305
+ * - if entity options:(supplier, customer , sales_person) currency same as company currency or entity options:(supplier, customer , sales_person) currency is USD get the company_rate from /api/v1/currencies/ where currency name is USD and field(rate),
39306
+ * - if entity options:(supplier, customer , sales_person) currency is foreign for example EUR get the company_rate from /api/v1/currencies/ where currency name is same as entity currency and field(rate)),
39307
39307
  * - For countries other than LB:
39308
- * - get company_rate from /api/v1/currencies/ where currency name same as {entity} options:(supplier, customer , sales_person) currency
39308
+ * - get company_rate from /api/v1/currencies/ where currency name same as entity options:(supplier, customer , sales_person) currency
39309
39309
  */
39310
39310
  companyRate?: string;
39311
39311
  /**
39312
39312
  * Secondaryrate
39313
39313
  * @description
39314
39314
  * - This field is number
39315
- * - This field is visible if allow rate change is true in /api/v1/system_settings/details/
39316
- * and {entity} options:(supplier, customer , sales_person) currency is foreign currency meaning (NOT COMPANY CURRENCY)
39315
+ * - This field is visible and required if allow rate change is on in system settings and the country is Lebanon
39316
+ * and entity options:(supplier, customer , sales_person) currency is foreign currency meaning (NOT COMPANY CURRENCY)
39317
39317
  */
39318
39318
  secondaryRate?: string;
39319
39319
  /**
@@ -39466,20 +39466,20 @@ export interface components {
39466
39466
  * Companyrate
39467
39467
  * @description
39468
39468
  * - This field is number
39469
- * - This field is visible if allow rate change is true in /api/v1/system_settings/details/,
39469
+ * - This field is visible and required if allow rate change is on in system settings,
39470
39470
  * - For LB:
39471
- * - if {entity} options:(supplier, customer , sales_person) currency same as company currency or {entity} options:(supplier, customer , sales_person) currency is USD get the company_rate from /api/v1/currencies/ where currency name is USD and field(rate),
39472
- * - if {entity} options:(supplier, customer , sales_person) currency is foreign for example EUR get the company_rate from /api/v1/currencies/ where currency name is same as {entity} currency and field(rate)),
39471
+ * - if entity options:(supplier, customer , sales_person) currency same as company currency or entity options:(supplier, customer , sales_person) currency is USD get the company_rate from /api/v1/currencies/ where currency name is USD and field(rate),
39472
+ * - if entity options:(supplier, customer , sales_person) currency is foreign for example EUR get the company_rate from /api/v1/currencies/ where currency name is same as entity currency and field(rate)),
39473
39473
  * - For countries other than LB:
39474
- * - get company_rate from /api/v1/currencies/ where currency name same as {entity} options:(supplier, customer , sales_person) currency
39474
+ * - get company_rate from /api/v1/currencies/ where currency name same as entity options:(supplier, customer , sales_person) currency
39475
39475
  */
39476
39476
  companyRate?: string;
39477
39477
  /**
39478
39478
  * Secondaryrate
39479
39479
  * @description
39480
39480
  * - This field is number
39481
- * - This field is visible if allow rate change is true in /api/v1/system_settings/details/
39482
- * and {entity} options:(supplier, customer , sales_person) currency is foreign currency meaning (NOT COMPANY CURRENCY)
39481
+ * - This field is visible and required if allow rate change is on in system settings and the country is Lebanon
39482
+ * and entity options:(supplier, customer , sales_person) currency is foreign currency meaning (NOT COMPANY CURRENCY)
39483
39483
  */
39484
39484
  secondaryRate?: string;
39485
39485
  /**
@@ -40087,7 +40087,7 @@ export interface components {
40087
40087
  * Companyrate
40088
40088
  * @description
40089
40089
  * - This field is a number.
40090
- * - Required if multi-currency is on. Depends on account currency.
40090
+ * - This field is visible and required if allow rate change is on in system settings. Depends on account currency.
40091
40091
  * - If the country is Lebanon:
40092
40092
  * - If the account currency is the same as the company currency or USD, get the company_rate from the currency table where currency name is USD.
40093
40093
  * - If the account currency is foreign (e.g., EUR), get the company_rate from the currency table where the currency name matches the account currency.
@@ -40100,7 +40100,7 @@ export interface components {
40100
40100
  * Secondaryrate
40101
40101
  * @description
40102
40102
  * - This field is a number.
40103
- * - Required if multi-currency is on and the country is Lebanon.
40103
+ * - This field is visible and required if allow rate change is on in system settings and the country is Lebanon.
40104
40104
  *
40105
40105
  */
40106
40106
  secondaryRate?: string;
@@ -40338,7 +40338,7 @@ export interface components {
40338
40338
  * Companyrate
40339
40339
  * @description
40340
40340
  * - This field is a number.
40341
- * - Required if multi-currency is on. Depends on account currency.
40341
+ * - This field is visible and required if allow rate change is on in system settings. Depends on account currency.
40342
40342
  * - If the country is Lebanon:
40343
40343
  * - If the account currency is the same as the company currency or USD, get the company_rate from the currency table where currency name is USD.
40344
40344
  * - If the account currency is foreign (e.g., EUR), get the company_rate from the currency table where the currency name matches the account currency.
@@ -40349,7 +40349,7 @@ export interface components {
40349
40349
  companyRate?: string | null;
40350
40350
  /**
40351
40351
  * Secondaryrate
40352
- * @description USD exchange rate. Required for multi-currency.
40352
+ * @description USD exchange rate. This field is visible and required if allow rate change is on in system settings and the country is Lebanon
40353
40353
  */
40354
40354
  secondaryRate?: string | null;
40355
40355
  /** @description Status of the sales return order. */
@@ -40692,12 +40692,12 @@ export interface components {
40692
40692
  salesReturnOrder?: string;
40693
40693
  /**
40694
40694
  * Companyrate
40695
- * @description Company exchange rate. Required for multi-currency.
40695
+ * @description Company exchange rate. This field is visible and required if allow rate change is on in system settings.
40696
40696
  */
40697
40697
  companyRate?: string;
40698
40698
  /**
40699
40699
  * Secondaryrate
40700
- * @description Secondary exchange rate. Required for multi-currency.
40700
+ * @description Secondary exchange rate. This field is visible and required if allow rate change is on in system settings and the country is Lebanon
40701
40701
  */
40702
40702
  secondaryRate?: string;
40703
40703
  /** @description Status of the sales return invoice. */
@@ -41242,20 +41242,20 @@ export interface components {
41242
41242
  * Companyrate
41243
41243
  * @description
41244
41244
  * - This field is number
41245
- * - This field is visible if allow rate change is true in /api/v1/system_settings/details/,
41245
+ * - This field is visible and required if allow rate change is on in system settings,
41246
41246
  * - For LB:
41247
- * - if {entity} options:(supplier, customer , sales_person) currency same as company currency or {entity} options:(supplier, customer , sales_person) currency is USD get the company_rate from /api/v1/currencies/ where currency name is USD and field(rate),
41248
- * - if {entity} options:(supplier, customer , sales_person) currency is foreign for example EUR get the company_rate from /api/v1/currencies/ where currency name is same as {entity} currency and field(rate)),
41247
+ * - if entity options:(supplier, customer , sales_person) currency same as company currency or entity options:(supplier, customer , sales_person) currency is USD get the company_rate from /api/v1/currencies/ where currency name is USD and field(rate),
41248
+ * - if entity options:(supplier, customer , sales_person) currency is foreign for example EUR get the company_rate from /api/v1/currencies/ where currency name is same as entity currency and field(rate)),
41249
41249
  * - For countries other than LB:
41250
- * - get company_rate from /api/v1/currencies/ where currency name same as {entity} options:(supplier, customer , sales_person) currency
41250
+ * - get company_rate from /api/v1/currencies/ where currency name same as entity options:(supplier, customer , sales_person) currency
41251
41251
  */
41252
41252
  companyRate?: string;
41253
41253
  /**
41254
41254
  * Secondaryrate
41255
41255
  * @description
41256
41256
  * - This field is number
41257
- * - This field is visible if allow rate change is true in /api/v1/system_settings/details/
41258
- * and {entity} options:(supplier, customer , sales_person) currency is foreign currency meaning (NOT COMPANY CURRENCY)
41257
+ * - This field is visible and required if allow rate change is on in system settings and the country is Lebanon
41258
+ * and entity options:(supplier, customer , sales_person) currency is foreign currency meaning (NOT COMPANY CURRENCY)
41259
41259
  */
41260
41260
  secondaryRate?: string;
41261
41261
  /**
@@ -41410,20 +41410,20 @@ export interface components {
41410
41410
  * Companyrate
41411
41411
  * @description
41412
41412
  * - This field is number
41413
- * - This field is visible if allow rate change is true in /api/v1/system_settings/details/,
41413
+ * - This field is visible and required if allow rate change is on in system settings,
41414
41414
  * - For LB:
41415
- * - if {entity} options:(supplier, customer , sales_person) currency same as company currency or {entity} options:(supplier, customer , sales_person) currency is USD get the company_rate from /api/v1/currencies/ where currency name is USD and field(rate),
41416
- * - if {entity} options:(supplier, customer , sales_person) currency is foreign for example EUR get the company_rate from /api/v1/currencies/ where currency name is same as {entity} currency and field(rate)),
41415
+ * - if entity options:(supplier, customer , sales_person) currency same as company currency or entity options:(supplier, customer , sales_person) currency is USD get the company_rate from /api/v1/currencies/ where currency name is USD and field(rate),
41416
+ * - if entity options:(supplier, customer , sales_person) currency is foreign for example EUR get the company_rate from /api/v1/currencies/ where currency name is same as entity currency and field(rate)),
41417
41417
  * - For countries other than LB:
41418
- * - get company_rate from /api/v1/currencies/ where currency name same as {entity} options:(supplier, customer , sales_person) currency
41418
+ * - get company_rate from /api/v1/currencies/ where currency name same as entity options:(supplier, customer , sales_person) currency
41419
41419
  */
41420
41420
  companyRate?: string;
41421
41421
  /**
41422
41422
  * Secondaryrate
41423
41423
  * @description
41424
41424
  * - This field is number
41425
- * - This field is visible if allow rate change is true in /api/v1/system_settings/details/
41426
- * and {entity} options:(supplier, customer , sales_person) currency is foreign currency meaning (NOT COMPANY CURRENCY)
41425
+ * - This field is visible and required if allow rate change is on in system settings and the country is Lebanon
41426
+ * and entity options:(supplier, customer , sales_person) currency is foreign currency meaning (NOT COMPANY CURRENCY)
41427
41427
  */
41428
41428
  secondaryRate?: string;
41429
41429
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],