@erp-galoper/types 1.0.95 → 1.0.96

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 +33 -22
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -3902,11 +3902,6 @@ export interface paths {
3902
3902
  cookie?: never;
3903
3903
  };
3904
3904
  get?: never;
3905
- put?: never;
3906
- post?: never;
3907
- delete?: never;
3908
- options?: never;
3909
- head?: never;
3910
3905
  /**
3911
3906
  * Update System Setting
3912
3907
  * @description Endpoint for update system setting.
@@ -3915,6 +3910,8 @@ export interface paths {
3915
3910
  * - noChangesDetected
3916
3911
  * - multicurrencyShouldBeEnabledWhenAllowRateChangeIsTrue
3917
3912
  * - multicurrencyCannotBeDisabled
3913
+ * - secondaryCurrencyIsRequired
3914
+ * - useSecondaryCurrencyCannotBeDisabled
3918
3915
  * - 200:
3919
3916
  * - systemSettingUpdated
3920
3917
  * - 403:
@@ -3924,7 +3921,12 @@ export interface paths {
3924
3921
  * - 500:
3925
3922
  * - internalServerError
3926
3923
  */
3927
- patch: operations["erp_settings_system_setting_views_update_system_setting"];
3924
+ put: operations["erp_settings_system_setting_views_update_system_setting"];
3925
+ post?: never;
3926
+ delete?: never;
3927
+ options?: never;
3928
+ head?: never;
3929
+ patch?: never;
3928
3930
  trace?: never;
3929
3931
  };
3930
3932
  "/api/v1/regions/": {
@@ -21715,8 +21717,6 @@ export interface components {
21715
21717
  code: string;
21716
21718
  /** Default */
21717
21719
  default: boolean;
21718
- /** Issecondary */
21719
- isSecondary: boolean;
21720
21720
  };
21721
21721
  /** CompanySchema */
21722
21722
  CompanySchema: {
@@ -23745,8 +23745,13 @@ export interface components {
23745
23745
  /** Allowratechange */
23746
23746
  allowRateChange: boolean;
23747
23747
  stockUpdateTrigger: components["schemas"]["StockUpdateTrigger"];
23748
- /** Usesecondarycurrency */
23748
+ /**
23749
+ * Usesecondarycurrency
23750
+ * @description visible when multicurrency is True
23751
+ */
23749
23752
  useSecondaryCurrency: boolean;
23753
+ /** @description visible when useSecondaryCurrency is True */
23754
+ secondaryCurrency: components["schemas"]["CurrencySummaryInfo"] | null;
23750
23755
  dateFormat: components["schemas"]["DateFormatEnum"];
23751
23756
  };
23752
23757
  /**
@@ -23762,20 +23767,28 @@ export interface components {
23762
23767
  /** UpdateSystemSetting */
23763
23768
  UpdateSystemSetting: {
23764
23769
  /** Multicurrency */
23765
- multicurrency?: boolean | null;
23766
- roundingType?: components["schemas"]["RoundingTypes"] | null;
23770
+ multicurrency: boolean | null;
23771
+ roundingType: components["schemas"]["RoundingTypes"] | null;
23767
23772
  /** Roundingdecimalplace */
23768
- roundingDecimalPlace?: number | null;
23773
+ roundingDecimalPlace: number | null;
23769
23774
  /** Startbusinesshour */
23770
- startBusinessHour?: string | null;
23775
+ startBusinessHour: string | null;
23771
23776
  /** Endbusinesshour */
23772
- endBusinessHour?: string | null;
23777
+ endBusinessHour: string | null;
23773
23778
  /** Allowratechange */
23774
- allowRateChange?: boolean;
23775
- stockUpdateTrigger?: components["schemas"]["StockUpdateTrigger"];
23776
- /** Usesecondarycurrency */
23777
- useSecondaryCurrency?: boolean;
23778
- dateFormat?: components["schemas"]["DateFormatEnum"];
23779
+ allowRateChange: boolean;
23780
+ stockUpdateTrigger: components["schemas"]["StockUpdateTrigger"];
23781
+ /**
23782
+ * Usesecondarycurrency
23783
+ * @description visible when multicurrency is True
23784
+ */
23785
+ useSecondaryCurrency: boolean;
23786
+ /**
23787
+ * Secondarycurrency
23788
+ * @description currency id, visible and required if useSecondaryCurrency is True
23789
+ */
23790
+ secondaryCurrency: number;
23791
+ dateFormat: components["schemas"]["DateFormatEnum"];
23779
23792
  };
23780
23793
  /** RegionSchema */
23781
23794
  RegionSchema: {
@@ -25993,8 +26006,6 @@ export interface components {
25993
26006
  code: string;
25994
26007
  /** Default */
25995
26008
  default: boolean;
25996
- /** Issecondary */
25997
- isSecondary: boolean;
25998
26009
  /** Candelete */
25999
26010
  canDelete: boolean;
26000
26011
  };
@@ -26467,7 +26478,7 @@ export interface components {
26467
26478
  /**
26468
26479
  * Id
26469
26480
  * Format: uuid
26470
- * @example 540de8dc-fb22-4af5-9da3-82c7b6d1ee1e
26481
+ * @example 9e1edb7a-53f6-4a17-b458-0a3314758d63
26471
26482
  */
26472
26483
  id: string;
26473
26484
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.95",
3
+ "version": "1.0.96",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],