waldur-js-client 7.9.10-dev.10 → 7.9.10-dev.12

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.
package/dist/index.js CHANGED
@@ -1,4 +1,3 @@
1
- export { formDataBodySerializer } from "./client";
2
- // This file is auto-generated by @hey-api/openapi-ts
1
+ export { formDataBodySerializer } from "./client"; // This file is auto-generated by @hey-api/openapi-ts
3
2
  export * from './types.gen';
4
3
  export * from './sdk.gen';
@@ -4263,7 +4263,7 @@ export type CustomerEstimatedCostPolicy = {
4263
4263
  */
4264
4264
  options?: unknown;
4265
4265
  limit_cost: number;
4266
- period?: PeriodEnum;
4266
+ period?: PolicyPeriodEnum;
4267
4267
  readonly period_name: string;
4268
4268
  readonly customer_credit: number;
4269
4269
  billing_price_estimate: NestedPriceEstimate;
@@ -4276,7 +4276,7 @@ export type CustomerEstimatedCostPolicyRequest = {
4276
4276
  */
4277
4277
  options?: unknown;
4278
4278
  limit_cost: number;
4279
- period?: PeriodEnum;
4279
+ period?: PolicyPeriodEnum;
4280
4280
  };
4281
4281
  export type CustomerIndustryFlagStats = {
4282
4282
  /**
@@ -5749,6 +5749,7 @@ export type GroupInvitationRequest = {
5749
5749
  */
5750
5750
  user_identity_sources?: unknown;
5751
5751
  };
5752
+ export type GrowthPeriodEnum = 'weekly' | 'monthly';
5752
5753
  export type GuestOsEnum = 'DOS' | 'WIN_31' | 'WIN_95' | 'WIN_98' | 'WIN_ME' | 'WIN_NT' | 'WIN_2000_PRO' | 'WIN_2000_SERV' | 'WIN_2000_ADV_SERV' | 'WIN_XP_HOME' | 'WIN_XP_PRO' | 'WIN_XP_PRO_64' | 'WIN_NET_WEB' | 'WIN_NET_STANDARD' | 'WIN_NET_ENTERPRISE' | 'WIN_NET_DATACENTER' | 'WIN_NET_BUSINESS' | 'WIN_NET_STANDARD_64' | 'WIN_NET_ENTERPRISE_64' | 'WIN_LONGHORN' | 'WIN_LONGHORN_64' | 'WIN_NET_DATACENTER_64' | 'WIN_VISTA' | 'WIN_VISTA_64' | 'WINDOWS_7' | 'WINDOWS_7_64' | 'WINDOWS_7_SERVER_64' | 'WINDOWS_8' | 'WINDOWS_8_64' | 'WINDOWS_8_SERVER_64' | 'WINDOWS_9' | 'WINDOWS_9_64' | 'WINDOWS_9_SERVER_64' | 'WINDOWS_HYPERV' | 'FREEBSD' | 'FREEBSD_64' | 'REDHAT' | 'RHEL_2' | 'RHEL_3' | 'RHEL_3_64' | 'RHEL_4' | 'RHEL_4_64' | 'RHEL_5' | 'RHEL_5_64' | 'RHEL_6' | 'RHEL_6_64' | 'RHEL_7' | 'RHEL_7_64' | 'CENTOS' | 'CENTOS_64' | 'CENTOS_6' | 'CENTOS_6_64' | 'CENTOS_7' | 'CENTOS_7_64' | 'ORACLE_LINUX' | 'ORACLE_LINUX_64' | 'ORACLE_LINUX_6' | 'ORACLE_LINUX_6_64' | 'ORACLE_LINUX_7' | 'ORACLE_LINUX_7_64' | 'SUSE' | 'SUSE_64' | 'SLES' | 'SLES_64' | 'SLES_10' | 'SLES_10_64' | 'SLES_11' | 'SLES_11_64' | 'SLES_12' | 'SLES_12_64' | 'NLD_9' | 'OES' | 'SJDS' | 'MANDRAKE' | 'MANDRIVA' | 'MANDRIVA_64' | 'TURBO_LINUX' | 'TURBO_LINUX_64' | 'UBUNTU' | 'UBUNTU_64' | 'DEBIAN_4' | 'DEBIAN_4_64' | 'DEBIAN_5' | 'DEBIAN_5_64' | 'DEBIAN_6' | 'DEBIAN_6_64' | 'DEBIAN_7' | 'DEBIAN_7_64' | 'DEBIAN_8' | 'DEBIAN_8_64' | 'DEBIAN_9' | 'DEBIAN_9_64' | 'DEBIAN_10' | 'DEBIAN_10_64' | 'ASIANUX_3' | 'ASIANUX_3_64' | 'ASIANUX_4' | 'ASIANUX_4_64' | 'ASIANUX_5_64' | 'ASIANUX_7_64' | 'OPENSUSE' | 'OPENSUSE_64' | 'FEDORA' | 'FEDORA_64' | 'COREOS_64' | 'VMWARE_PHOTON_64' | 'OTHER_24X_LINUX' | 'OTHER_24X_LINUX_64' | 'OTHER_26X_LINUX' | 'OTHER_26X_LINUX_64' | 'OTHER_3X_LINUX' | 'OTHER_3X_LINUX_64' | 'OTHER_LINUX' | 'GENERIC_LINUX' | 'OTHER_LINUX_64' | 'SOLARIS_6' | 'SOLARIS_7' | 'SOLARIS_8' | 'SOLARIS_9' | 'SOLARIS_10' | 'SOLARIS_10_64' | 'SOLARIS_11_64' | 'OS2' | 'ECOMSTATION' | 'ECOMSTATION_2' | 'NETWARE_4' | 'NETWARE_5' | 'NETWARE_6' | 'OPENSERVER_5' | 'OPENSERVER_6' | 'UNIXWARE_7' | 'DARWIN' | 'DARWIN_64' | 'DARWIN_10' | 'DARWIN_10_64' | 'DARWIN_11' | 'DARWIN_11_64' | 'DARWIN_12_64' | 'DARWIN_13_64' | 'DARWIN_14_64' | 'DARWIN_15_64' | 'DARWIN_16_64' | 'VMKERNEL' | 'VMKERNEL_5' | 'VMKERNEL_6' | 'VMKERNEL_65' | 'OTHER' | 'OTHER_64';
5753
5754
  export type GuestPowerStateEnum = 'RUNNING' | 'SHUTTING_DOWN' | 'RESETTING' | 'STANDBY' | 'NOT_RUNNING' | 'UNAVAILABLE';
5754
5755
  export type IpMapping = {
@@ -8338,13 +8339,13 @@ export type NestedColumnRequest = {
8338
8339
  export type NestedCustomerUsagePolicyComponent = {
8339
8340
  readonly type: string;
8340
8341
  limit: number;
8341
- period?: PeriodEnum;
8342
+ period?: PolicyPeriodEnum;
8342
8343
  readonly period_name: string;
8343
8344
  component: string;
8344
8345
  };
8345
8346
  export type NestedCustomerUsagePolicyComponentRequest = {
8346
8347
  limit: number;
8347
- period?: PeriodEnum;
8348
+ period?: PolicyPeriodEnum;
8348
8349
  component: string;
8349
8350
  };
8350
8351
  export type NestedEndpoint = {
@@ -9289,7 +9290,7 @@ export type OfferingEstimatedCostPolicy = {
9289
9290
  */
9290
9291
  options?: unknown;
9291
9292
  limit_cost: number;
9292
- period?: PeriodEnum;
9293
+ period?: PolicyPeriodEnum;
9293
9294
  readonly period_name: string;
9294
9295
  organization_groups?: Array<string>;
9295
9296
  /**
@@ -9305,7 +9306,7 @@ export type OfferingEstimatedCostPolicyRequest = {
9305
9306
  */
9306
9307
  options?: unknown;
9307
9308
  limit_cost: number;
9308
- period?: PeriodEnum;
9309
+ period?: PolicyPeriodEnum;
9309
9310
  organization_groups?: Array<string>;
9310
9311
  /**
9311
9312
  * If True, policy applies to all customers. Mutually exclusive with organization_groups.
@@ -9939,7 +9940,7 @@ export type OfferingUsagePolicy = {
9939
9940
  */
9940
9941
  apply_to_all?: boolean;
9941
9942
  component_limits_set: Array<NestedOfferingComponentLimit>;
9942
- period?: PeriodEnum;
9943
+ period?: PolicyPeriodEnum;
9943
9944
  readonly period_name: string;
9944
9945
  };
9945
9946
  export type OfferingUsagePolicyRequest = {
@@ -9955,7 +9956,7 @@ export type OfferingUsagePolicyRequest = {
9955
9956
  */
9956
9957
  apply_to_all?: boolean;
9957
9958
  component_limits_set: Array<NestedOfferingComponentLimitRequest>;
9958
- period?: PeriodEnum;
9959
+ period?: PolicyPeriodEnum;
9959
9960
  };
9960
9961
  export type OfferingUser = {
9961
9962
  readonly url?: string;
@@ -12609,7 +12610,7 @@ export type PatchedCustomerEstimatedCostPolicyRequest = {
12609
12610
  */
12610
12611
  options?: unknown;
12611
12612
  limit_cost?: number;
12612
- period?: PeriodEnum;
12613
+ period?: PolicyPeriodEnum;
12613
12614
  };
12614
12615
  export type PatchedCustomerRequest = {
12615
12616
  /**
@@ -12958,7 +12959,7 @@ export type PatchedOfferingEstimatedCostPolicyRequest = {
12958
12959
  */
12959
12960
  options?: unknown;
12960
12961
  limit_cost?: number;
12961
- period?: PeriodEnum;
12962
+ period?: PolicyPeriodEnum;
12962
12963
  organization_groups?: Array<string>;
12963
12964
  /**
12964
12965
  * If True, policy applies to all customers. Mutually exclusive with organization_groups.
@@ -13083,7 +13084,7 @@ export type PatchedOfferingUsagePolicyRequest = {
13083
13084
  */
13084
13085
  apply_to_all?: boolean;
13085
13086
  component_limits_set?: Array<NestedOfferingComponentLimitRequest>;
13086
- period?: PeriodEnum;
13087
+ period?: PolicyPeriodEnum;
13087
13088
  };
13088
13089
  export type PatchedOfferingUserAttributeConfigRequest = {
13089
13090
  offering?: string;
@@ -13310,7 +13311,7 @@ export type PatchedProjectEstimatedCostPolicyRequest = {
13310
13311
  */
13311
13312
  options?: unknown;
13312
13313
  limit_cost?: number;
13313
- period?: PeriodEnum;
13314
+ period?: PolicyPeriodEnum;
13314
13315
  };
13315
13316
  export type PatchedProjectInfoRequest = {
13316
13317
  project?: string;
@@ -13951,7 +13952,7 @@ export type PatchedSlurmPeriodicUsagePolicyRequest = {
13951
13952
  */
13952
13953
  apply_to_all?: boolean;
13953
13954
  component_limits_set?: Array<NestedOfferingComponentLimitRequest>;
13954
- period?: PeriodEnum;
13955
+ period?: PolicyPeriodEnum;
13955
13956
  /**
13956
13957
  * SLURM limit type to apply
13957
13958
  */
@@ -14215,7 +14216,6 @@ export type PaymentUrlRequest = {
14215
14216
  */
14216
14217
  payment_url?: string;
14217
14218
  };
14218
- export type PeriodEnum = 1 | 2 | 3 | 4;
14219
14219
  export type Permission = {
14220
14220
  readonly user_uuid?: string;
14221
14221
  readonly user_name?: string;
@@ -14381,6 +14381,7 @@ export type PluginOfferingType = {
14381
14381
  available_limits: Array<string>;
14382
14382
  };
14383
14383
  export type PolicyEnum = 'affinity';
14384
+ export type PolicyPeriodEnum = 1 | 2 | 3 | 4;
14384
14385
  export type PolicyTypeEnum = 'access_as_shared' | 'access_as_external';
14385
14386
  export type PricesUpdateRequest = {
14386
14387
  prices: {
@@ -14657,7 +14658,7 @@ export type ProjectEstimatedCostPolicy = {
14657
14658
  */
14658
14659
  options?: unknown;
14659
14660
  limit_cost: number;
14660
- period?: PeriodEnum;
14661
+ period?: PolicyPeriodEnum;
14661
14662
  readonly period_name: string;
14662
14663
  readonly project_credit: number | null;
14663
14664
  readonly customer_credit: number | null;
@@ -14671,7 +14672,7 @@ export type ProjectEstimatedCostPolicyRequest = {
14671
14672
  */
14672
14673
  options?: unknown;
14673
14674
  limit_cost: number;
14674
- period?: PeriodEnum;
14675
+ period?: PolicyPeriodEnum;
14675
14676
  };
14676
14677
  export type ProjectHyperlinkRequest = {
14677
14678
  url: string;
@@ -19726,7 +19727,7 @@ export type SlurmPeriodicUsagePolicy = {
19726
19727
  */
19727
19728
  apply_to_all?: boolean;
19728
19729
  component_limits_set: Array<NestedOfferingComponentLimit>;
19729
- period?: PeriodEnum;
19730
+ period?: PolicyPeriodEnum;
19730
19731
  readonly period_name: string;
19731
19732
  /**
19732
19733
  * SLURM limit type to apply
@@ -19774,7 +19775,7 @@ export type SlurmPeriodicUsagePolicyRequest = {
19774
19775
  */
19775
19776
  apply_to_all?: boolean;
19776
19777
  component_limits_set: Array<NestedOfferingComponentLimitRequest>;
19777
- period?: PeriodEnum;
19778
+ period?: PolicyPeriodEnum;
19778
19779
  /**
19779
19780
  * SLURM limit type to apply
19780
19781
  */
@@ -20284,6 +20285,24 @@ export type SupportedCountriesResponse = {
20284
20285
  supported_countries: Array<string>;
20285
20286
  };
20286
20287
  export type SyncStatusEnum = 'in_sync' | 'out_of_sync' | 'sync_failed';
20288
+ export type TableGrowthAlert = {
20289
+ /**
20290
+ * Name of the table triggering the alert
20291
+ */
20292
+ table_name: string;
20293
+ /**
20294
+ * Growth period that exceeded the threshold
20295
+ */
20296
+ period: GrowthPeriodEnum;
20297
+ /**
20298
+ * Actual growth percentage observed
20299
+ */
20300
+ growth_percent: number;
20301
+ /**
20302
+ * Configured threshold that was exceeded
20303
+ */
20304
+ threshold: number;
20305
+ };
20287
20306
  export type TableGrowthStats = {
20288
20307
  /**
20289
20308
  * Name of the database table
@@ -20351,6 +20370,10 @@ export type TableGrowthStatsResponse = {
20351
20370
  * Table growth statistics sorted by growth rate
20352
20371
  */
20353
20372
  tables: Array<TableGrowthStats>;
20373
+ /**
20374
+ * List of tables that exceeded configured growth thresholds
20375
+ */
20376
+ alerts: Array<TableGrowthAlert>;
20354
20377
  };
20355
20378
  export type TableSize = {
20356
20379
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "7.9.10-dev.10",
3
+ "version": "7.9.10-dev.12",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",