waldur-js-client 1.0.4-dev.23 → 1.0.4-dev.25

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/sdk.gen.d.ts CHANGED
@@ -832,7 +832,10 @@ export declare const marketplaceProviderResourcesSubmitReport: <ThrowOnError ext
832
832
  * Return users connected to the project.
833
833
  */
834
834
  export declare const marketplaceProviderResourcesTeamList: <ThrowOnError extends boolean = false>(options: Options<MarketplaceProviderResourcesTeamListData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").ProjectUser[], unknown, ThrowOnError>;
835
- export declare const marketplaceProviderResourcesTerminate: <ThrowOnError extends boolean = false>(options: Options<MarketplaceProviderResourcesTerminateData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").ResourceTerminate, unknown, ThrowOnError>;
835
+ /**
836
+ * Create marketplace order for resource termination.
837
+ */
838
+ export declare const marketplaceProviderResourcesTerminate: <ThrowOnError extends boolean = false>(options: Options<MarketplaceProviderResourcesTerminateData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").OrderUuid, unknown, ThrowOnError>;
836
839
  /**
837
840
  * Delete marketplace resource and related plugin resource from the database without scheduling operations on backend
838
841
  * and without checking current state of the resource. It is intended to be used
@@ -887,19 +890,28 @@ export declare const marketplaceResourcesSetEndDateByStaff: <ThrowOnError extend
887
890
  * Set slug for resource.
888
891
  */
889
892
  export declare const marketplaceResourcesSetSlug: <ThrowOnError extends boolean = false>(options: Options<MarketplaceResourcesSetSlugData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
890
- export declare const marketplaceResourcesSwitchPlan: <ThrowOnError extends boolean = false>(options: Options<MarketplaceResourcesSwitchPlanData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").ResourceSwitchPlan, unknown, ThrowOnError>;
893
+ /**
894
+ * Create marketplace order for resource plan switch.
895
+ */
896
+ export declare const marketplaceResourcesSwitchPlan: <ThrowOnError extends boolean = false>(options: Options<MarketplaceResourcesSwitchPlanData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").OrderUuid, unknown, ThrowOnError>;
891
897
  /**
892
898
  * Return users connected to the project.
893
899
  */
894
900
  export declare const marketplaceResourcesTeamList: <ThrowOnError extends boolean = false>(options: Options<MarketplaceResourcesTeamListData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").ProjectUser[], unknown, ThrowOnError>;
895
- export declare const marketplaceResourcesTerminate: <ThrowOnError extends boolean = false>(options: Options<MarketplaceResourcesTerminateData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").ResourceTerminate, unknown, ThrowOnError>;
901
+ /**
902
+ * Create marketplace order for resource termination.
903
+ */
904
+ export declare const marketplaceResourcesTerminate: <ThrowOnError extends boolean = false>(options: Options<MarketplaceResourcesTerminateData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").OrderUuid, unknown, ThrowOnError>;
896
905
  /**
897
906
  * Delete marketplace resource and related plugin resource from the database without scheduling operations on backend
898
907
  * and without checking current state of the resource. It is intended to be used
899
908
  * for removing resource stuck in transitioning state.
900
909
  */
901
910
  export declare const marketplaceResourcesUnlink: <ThrowOnError extends boolean = false>(options: Options<MarketplaceResourcesUnlinkData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
902
- export declare const marketplaceResourcesUpdateLimits: <ThrowOnError extends boolean = false>(options: Options<MarketplaceResourcesUpdateLimitsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").ResourceUpdateLimits, unknown, ThrowOnError>;
911
+ /**
912
+ * Create marketplace order for resource limits update.
913
+ */
914
+ export declare const marketplaceResourcesUpdateLimits: <ThrowOnError extends boolean = false>(options: Options<MarketplaceResourcesUpdateLimitsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").OrderUuid, unknown, ThrowOnError>;
903
915
  export declare const marketplaceResourcesUpdateOptions: <ThrowOnError extends boolean = false>(options: Options<MarketplaceResourcesUpdateOptionsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").ResourceOptions, unknown, ThrowOnError>;
904
916
  export declare const marketplaceResourcesSuggestName: <ThrowOnError extends boolean = false>(options: Options<MarketplaceResourcesSuggestNameData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").ResourceSuggestName, unknown, ThrowOnError>;
905
917
  export declare const marketplaceRobotAccountsList: <ThrowOnError extends boolean = false>(options?: Options<MarketplaceRobotAccountsListData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").RobotAccountDetails[], unknown, ThrowOnError>;
package/dist/sdk.gen.js CHANGED
@@ -7791,6 +7791,9 @@ const marketplaceProviderResourcesTeamList = (options) => {
7791
7791
  });
7792
7792
  };
7793
7793
  exports.marketplaceProviderResourcesTeamList = marketplaceProviderResourcesTeamList;
7794
+ /**
7795
+ * Create marketplace order for resource termination.
7796
+ */
7794
7797
  const marketplaceProviderResourcesTerminate = (options) => {
7795
7798
  var _a;
7796
7799
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
@@ -8319,6 +8322,9 @@ const marketplaceResourcesSetSlug = (options) => {
8319
8322
  });
8320
8323
  };
8321
8324
  exports.marketplaceResourcesSetSlug = marketplaceResourcesSetSlug;
8325
+ /**
8326
+ * Create marketplace order for resource plan switch.
8327
+ */
8322
8328
  const marketplaceResourcesSwitchPlan = (options) => {
8323
8329
  var _a;
8324
8330
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
@@ -8354,6 +8360,9 @@ const marketplaceResourcesTeamList = (options) => {
8354
8360
  });
8355
8361
  };
8356
8362
  exports.marketplaceResourcesTeamList = marketplaceResourcesTeamList;
8363
+ /**
8364
+ * Create marketplace order for resource termination.
8365
+ */
8357
8366
  const marketplaceResourcesTerminate = (options) => {
8358
8367
  var _a;
8359
8368
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
@@ -8391,6 +8400,9 @@ const marketplaceResourcesUnlink = (options) => {
8391
8400
  });
8392
8401
  };
8393
8402
  exports.marketplaceResourcesUnlink = marketplaceResourcesUnlink;
8403
+ /**
8404
+ * Create marketplace order for resource limits update.
8405
+ */
8394
8406
  const marketplaceResourcesUpdateLimits = (options) => {
8395
8407
  var _a;
8396
8408
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
@@ -3155,10 +3155,9 @@ export type MergedSecretOptions = {
3155
3155
  * Organization UUID
3156
3156
  */
3157
3157
  customer_uuid?: string;
3158
- /**
3159
- * UUID of Rancher offering where cluster can be created
3160
- */
3161
- rancher_offering_uuid?: string;
3158
+ backend_url?: string;
3159
+ username?: string;
3160
+ password?: string;
3162
3161
  };
3163
3162
  export type MergedSecretOptionsRequest = {
3164
3163
  /**
@@ -3218,10 +3217,9 @@ export type MergedSecretOptionsRequest = {
3218
3217
  * Organization UUID
3219
3218
  */
3220
3219
  customer_uuid?: string;
3221
- /**
3222
- * UUID of Rancher offering where cluster can be created
3223
- */
3224
- rancher_offering_uuid?: string;
3220
+ backend_url?: string;
3221
+ username?: string;
3222
+ password?: string;
3225
3223
  };
3226
3224
  export type MessageTemplate = {
3227
3225
  readonly url: string;
@@ -5387,6 +5385,9 @@ export type OrderSetStateErredRequest = {
5387
5385
  error_traceback?: string;
5388
5386
  };
5389
5387
  export type OrderState = 'pending-consumer' | 'pending-provider' | 'pending-project' | 'executing' | 'done' | 'erred' | 'canceled' | 'rejected';
5388
+ export type OrderUuid = {
5389
+ readonly order_uuid: string;
5390
+ };
5390
5391
  export type OrganizationGroup = {
5391
5392
  readonly uuid?: string;
5392
5393
  readonly url?: string;
@@ -7885,15 +7886,9 @@ export type ResourceSuggestNameRequest = {
7885
7886
  project: string;
7886
7887
  offering: string;
7887
7888
  };
7888
- export type ResourceSwitchPlan = {
7889
- plan: string;
7890
- };
7891
7889
  export type ResourceSwitchPlanRequest = {
7892
7890
  plan: string;
7893
7891
  };
7894
- export type ResourceTerminate = {
7895
- attributes?: unknown;
7896
- };
7897
7892
  export type ResourceTerminateRequest = {
7898
7893
  attributes?: unknown;
7899
7894
  };
@@ -7905,11 +7900,6 @@ export type ResourceUpdate = {
7905
7900
  */
7906
7901
  end_date?: string | null;
7907
7902
  };
7908
- export type ResourceUpdateLimits = {
7909
- limits: {
7910
- [key: string]: number;
7911
- };
7912
- };
7913
7903
  export type ResourceUpdateLimitsRequest = {
7914
7904
  limits: {
7915
7905
  [key: string]: number;
@@ -10704,6 +10694,10 @@ export type BookingResourcesListData = {
10704
10694
  o?: Array<'-created' | '-name' | '-schedules' | '-type' | 'created' | 'name' | 'schedules' | 'type'>;
10705
10695
  offering?: string;
10706
10696
  offering_billable?: string;
10697
+ /**
10698
+ * Offering shared
10699
+ */
10700
+ offering_shared?: boolean;
10707
10701
  offering_type?: string;
10708
10702
  offering_uuid?: string;
10709
10703
  /**
@@ -16876,6 +16870,10 @@ export type MarketplaceProviderResourcesListData = {
16876
16870
  o?: Array<'-created' | '-name' | '-project_name' | '-state' | 'created' | 'name' | 'project_name' | 'state'>;
16877
16871
  offering?: string;
16878
16872
  offering_billable?: string;
16873
+ /**
16874
+ * Offering shared
16875
+ */
16876
+ offering_shared?: boolean;
16879
16877
  offering_type?: string;
16880
16878
  offering_uuid?: string;
16881
16879
  /**
@@ -17173,7 +17171,7 @@ export type MarketplaceProviderResourcesTerminateData = {
17173
17171
  url: '/api/marketplace-provider-resources/{uuid}/terminate/';
17174
17172
  };
17175
17173
  export type MarketplaceProviderResourcesTerminateResponses = {
17176
- 200: ResourceTerminate;
17174
+ 200: OrderUuid;
17177
17175
  };
17178
17176
  export type MarketplaceProviderResourcesTerminateResponse = MarketplaceProviderResourcesTerminateResponses[keyof MarketplaceProviderResourcesTerminateResponses];
17179
17177
  export type MarketplaceProviderResourcesUnlinkData = {
@@ -17555,6 +17553,10 @@ export type MarketplaceResourcesListData = {
17555
17553
  o?: Array<'-created' | '-name' | '-project_name' | '-state' | 'created' | 'name' | 'project_name' | 'state'>;
17556
17554
  offering?: string;
17557
17555
  offering_billable?: string;
17556
+ /**
17557
+ * Offering shared
17558
+ */
17559
+ offering_shared?: boolean;
17558
17560
  offering_type?: string;
17559
17561
  offering_uuid?: string;
17560
17562
  /**
@@ -17744,7 +17746,7 @@ export type MarketplaceResourcesSwitchPlanData = {
17744
17746
  url: '/api/marketplace-resources/{uuid}/switch_plan/';
17745
17747
  };
17746
17748
  export type MarketplaceResourcesSwitchPlanResponses = {
17747
- 200: ResourceSwitchPlan;
17749
+ 200: OrderUuid;
17748
17750
  };
17749
17751
  export type MarketplaceResourcesSwitchPlanResponse = MarketplaceResourcesSwitchPlanResponses[keyof MarketplaceResourcesSwitchPlanResponses];
17750
17752
  export type MarketplaceResourcesTeamListData = {
@@ -17768,7 +17770,7 @@ export type MarketplaceResourcesTerminateData = {
17768
17770
  url: '/api/marketplace-resources/{uuid}/terminate/';
17769
17771
  };
17770
17772
  export type MarketplaceResourcesTerminateResponses = {
17771
- 200: ResourceTerminate;
17773
+ 200: OrderUuid;
17772
17774
  };
17773
17775
  export type MarketplaceResourcesTerminateResponse = MarketplaceResourcesTerminateResponses[keyof MarketplaceResourcesTerminateResponses];
17774
17776
  export type MarketplaceResourcesUnlinkData = {
@@ -17794,7 +17796,7 @@ export type MarketplaceResourcesUpdateLimitsData = {
17794
17796
  url: '/api/marketplace-resources/{uuid}/update_limits/';
17795
17797
  };
17796
17798
  export type MarketplaceResourcesUpdateLimitsResponses = {
17797
- 200: ResourceUpdateLimits;
17799
+ 200: OrderUuid;
17798
17800
  };
17799
17801
  export type MarketplaceResourcesUpdateLimitsResponse = MarketplaceResourcesUpdateLimitsResponses[keyof MarketplaceResourcesUpdateLimitsResponses];
17800
17802
  export type MarketplaceResourcesUpdateOptionsData = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "1.0.4-dev.23",
3
+ "version": "1.0.4-dev.25",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",