waldur-js-client 7.9.3-dev.9 → 7.9.3

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
@@ -2505,7 +2505,8 @@ export declare const marketplaceProviderOfferingsGroupsList: <ThrowOnError exten
2505
2505
  */
2506
2506
  export declare const marketplaceProviderOfferingsGroupsCount: <ThrowOnError extends boolean = false>(options?: Options<MarketplaceProviderOfferingsGroupsCountData, ThrowOnError>) => import("./client").RequestResult<MarketplaceProviderOfferingsGroupsCountResponses, unknown, ThrowOnError, "fields">;
2507
2507
  /**
2508
- * Import offering data with configurable parameters.
2508
+ * Import offering data
2509
+ * Imports an offering and all its connected parts from YAML format. Allows configuration of which components to import and how to handle conflicts. Imported offerings are always created in DRAFT state for security.
2509
2510
  */
2510
2511
  export declare const marketplaceProviderOfferingsImportOffering: <ThrowOnError extends boolean = false>(options: Options<MarketplaceProviderOfferingsImportOfferingData, ThrowOnError>) => import("./client").RequestResult<MarketplaceProviderOfferingsImportOfferingResponses, unknown, ThrowOnError, "fields">;
2511
2512
  /**
package/dist/sdk.gen.js CHANGED
@@ -14314,7 +14314,8 @@ export const marketplaceProviderOfferingsGroupsCount = (options) => {
14314
14314
  });
14315
14315
  };
14316
14316
  /**
14317
- * Import offering data with configurable parameters.
14317
+ * Import offering data
14318
+ * Imports an offering and all its connected parts from YAML format. Allows configuration of which components to import and how to handle conflicts. Imported offerings are always created in DRAFT state for security.
14318
14319
  */
14319
14320
  export const marketplaceProviderOfferingsImportOffering = (options) => {
14320
14321
  return (options.client ?? _heyApiClient).post({
@@ -6992,7 +6992,7 @@ export type OfferingGroups = {
6992
6992
  export type OfferingImageRequest = {
6993
6993
  image: Blob | File;
6994
6994
  };
6995
- export type OfferingImportParameters = {
6995
+ export type OfferingImportParametersRequest = {
6996
6996
  /**
6997
6997
  * Target customer for imported offering. If not provided, uses current user's customer
6998
6998
  */
@@ -7048,65 +7048,29 @@ export type OfferingImportParameters = {
7048
7048
  /**
7049
7049
  * The exported offering data to import
7050
7050
  */
7051
- offering_data: OfferingExportData;
7051
+ offering_data: OfferingExportDataRequest;
7052
7052
  };
7053
- export type OfferingImportParametersRequest = {
7053
+ export type OfferingImportResponse = {
7054
7054
  /**
7055
- * Target customer for imported offering. If not provided, uses current user's customer
7055
+ * UUID of the imported offering
7056
7056
  */
7057
- customer?: string | null;
7057
+ imported_offering_uuid: string;
7058
7058
  /**
7059
- * Target category name for imported offering. If not provided, uses category from export data
7059
+ * Name of the imported offering
7060
7060
  */
7061
- category?: string | null;
7061
+ imported_offering_name: string;
7062
7062
  /**
7063
- * Target project for imported offering (optional)
7063
+ * List of imported component types
7064
7064
  */
7065
- project?: string | null;
7065
+ imported_components: Array<string>;
7066
7066
  /**
7067
- * Import offering components
7067
+ * List of warnings encountered during import
7068
7068
  */
7069
- import_components?: boolean;
7069
+ warnings?: Array<string>;
7070
7070
  /**
7071
- * Import offering plans
7071
+ * Timestamp when the import was completed
7072
7072
  */
7073
- import_plans?: boolean;
7074
- /**
7075
- * Import offering screenshots
7076
- */
7077
- import_screenshots?: boolean;
7078
- /**
7079
- * Import offering files
7080
- */
7081
- import_files?: boolean;
7082
- /**
7083
- * Import offering access endpoints
7084
- */
7085
- import_endpoints?: boolean;
7086
- /**
7087
- * Import organization groups associations (may fail if groups don't exist)
7088
- */
7089
- import_organization_groups?: boolean;
7090
- /**
7091
- * Import terms of service configurations
7092
- */
7093
- import_terms_of_service?: boolean;
7094
- /**
7095
- * Import plugin options
7096
- */
7097
- import_plugin_options?: boolean;
7098
- /**
7099
- * Import secret options (WARNING: will overwrite existing secrets)
7100
- */
7101
- import_secret_options?: boolean;
7102
- /**
7103
- * Overwrite existing offering if one with the same name exists
7104
- */
7105
- overwrite_existing?: boolean;
7106
- /**
7107
- * The exported offering data to import
7108
- */
7109
- offering_data: OfferingExportDataRequest;
7073
+ import_timestamp: string;
7110
7074
  };
7111
7075
  export type OfferingIntegrationUpdateRequest = {
7112
7076
  secret_options?: MergedSecretOptionsRequest;
@@ -34762,7 +34726,7 @@ export type MarketplaceProviderOfferingsImportOfferingData = {
34762
34726
  url: '/api/marketplace-provider-offerings/import_offering/';
34763
34727
  };
34764
34728
  export type MarketplaceProviderOfferingsImportOfferingResponses = {
34765
- 200: OfferingImportParameters;
34729
+ 200: OfferingImportResponse;
34766
34730
  };
34767
34731
  export type MarketplaceProviderOfferingsImportOfferingResponse = MarketplaceProviderOfferingsImportOfferingResponses[keyof MarketplaceProviderOfferingsImportOfferingResponses];
34768
34732
  export type MarketplaceProviderResourcesListData = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "7.9.3-dev.9",
3
+ "version": "7.9.3",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",