@databricks/sdk-storageconfigurations 0.52.0 → 0.52.1
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/package.js +1 -1
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +1 -1
- package/dist/v1/model.js.map +1 -1
- package/package.json +1 -1
package/dist/package.js
CHANGED
package/dist/v1/model.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","names":[],"sources":["../../src/v1/model.ts"],"mappings":";;;UAIiB,iCAAA;EACf,SAAA;EADe;EAGf,wBAAA;;EAEA,cAAA,GAAiB,cAAA;EAJjB;;;;;;EAWA,OAAA;AAAA;AAAA,UAGe,iCAAA;EACf,sBAAA;EACA,SAAA;AAAA;AAAA,UAGe,8BAAA;EACf,sBAAA;EACA,SAAA;AAAA;AAAA,UAGe,+BAAA;EACf,SAAA;AAAA;AAAA,UAGe,gCAAA;EACf,qBAAA,GAAwB,oBAAA;AAAA;AAAA,UAGT,cAAA;EAJgC;EAM/C,UAAA;AAAA;AAAA,UAGe,oBAAA;EALA;EAOf,sBAAA;;EAEA,SAAA;EAPU;EASV,cAAA,GAAiB,cAAA;EANkB;EAQnC,wBAAA;EAF+B;EAI/B,YAAA;EANA;;;;;;EAaA,OAAA;AAAA;AAAA,cAGW,6BAAA,EAA+B,CAAA,CAAE,OAAA,CAAQ,cAAA;AAAA,cAQzC,mCAAA,EAAqC,CAAA,CAAE,OAAA,CAAQ,oBAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"model.d.ts","names":[],"sources":["../../src/v1/model.ts"],"mappings":";;;UAIiB,iCAAA;EACf,SAAA;EADe;EAGf,wBAAA;;EAEA,cAAA,GAAiB,cAAA;EAJjB;;;;;;EAWA,OAAA;AAAA;AAAA,UAGe,iCAAA;EACf,sBAAA;EACA,SAAA;AAAA;AAAA,UAGe,8BAAA;EACf,sBAAA;EACA,SAAA;AAAA;AAAA,UAGe,+BAAA;EACf,SAAA;AAAA;AAAA,UAGe,gCAAA;EACf,qBAAA,GAAwB,oBAAA;AAAA;AAAA,UAGT,cAAA;EAJgC;EAM/C,UAAA;AAAA;AAAA,UAGe,oBAAA;EALA;EAOf,sBAAA;;EAEA,SAAA;EAPU;EASV,cAAA,GAAiB,cAAA;EANkB;EAQnC,wBAAA;EAF+B;EAI/B,YAAA;EANA;;;;;;EAaA,OAAA;AAAA;AAAA,cAGW,6BAAA,EAA+B,CAAA,CAAE,OAAA,CAAQ,cAAA;AAAA,cAQzC,mCAAA,EAAqC,CAAA,CAAE,OAAA,CAAQ,oBAAA;AAAA,cAyB/C,8CAAA,EAAgD,CAAA,CAAE,OAAA;AAAA,cAclD,2BAAA,EAA6B,CAAA,CAAE,OAAA"}
|
package/dist/v1/model.js
CHANGED
|
@@ -5,7 +5,7 @@ const unmarshalRootBucketInfoSchema = z.object({ bucket_name: z.string().optiona
|
|
|
5
5
|
const unmarshalStorageConfigurationSchema = z.object({
|
|
6
6
|
storage_configuration_id: z.string().optional(),
|
|
7
7
|
account_id: z.string().optional(),
|
|
8
|
-
root_bucket_info: z.lazy(() => unmarshalRootBucketInfoSchema).
|
|
8
|
+
root_bucket_info: z.lazy(() => unmarshalRootBucketInfoSchema).nullish().transform((v) => v ?? void 0),
|
|
9
9
|
storage_configuration_name: z.string().optional(),
|
|
10
10
|
creation_time: z.union([
|
|
11
11
|
z.number(),
|
package/dist/v1/model.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","names":[],"sources":["../../src/v1/model.ts"],"sourcesContent":["// Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.\n\nimport {z} from 'zod';\n\nexport interface CreateStorageConfigurationRequest {\n accountId?: string | undefined;\n /** The human-readable name of the storage configuration. */\n storageConfigurationName?: string | undefined;\n /** Root S3 bucket information. */\n rootBucketInfo?: RootBucketInfo | undefined;\n /**\n * Optional IAM role that is used to access the workspace catalog which is created during workspace creation\n * for UC by Default. If a storage configuration with this field populated is used to create a workspace,\n * then a workspace catalog is created together with the workspace. The workspace catalog shares the root\n * bucket with internal workspace storage (including DBFS root) but uses a dedicated bucket path prefix.\n */\n roleArn?: string | undefined;\n}\n\nexport interface DeleteStorageConfigurationRequest {\n storageConfigurationId?: string | undefined;\n accountId?: string | undefined;\n}\n\nexport interface GetStorageConfigurationRequest {\n storageConfigurationId?: string | undefined;\n accountId?: string | undefined;\n}\n\nexport interface ListStorageConfigurationRequest {\n accountId?: string | undefined;\n}\n\nexport interface ListStorageConfigurationResponse {\n storageConfigurations?: StorageConfiguration[] | undefined;\n}\n\nexport interface RootBucketInfo {\n /** Name of the S3 bucket */\n bucketName?: string | undefined;\n}\n\nexport interface StorageConfiguration {\n /** <Databricks> storage configuration ID. */\n storageConfigurationId?: string | undefined;\n /** The <Databricks> account ID associated with this storage configuration. */\n accountId?: string | undefined;\n /** The root bucket information for the storage configuration. */\n rootBucketInfo?: RootBucketInfo | undefined;\n /** The human-readable name of the storage configuration. */\n storageConfigurationName?: string | undefined;\n /** Time in epoch milliseconds when the storage configuration was created. */\n creationTime?: bigint | undefined;\n /**\n * Optional IAM role that is used to access the workspace catalog which is created during workspace creation\n * for UC by Default. If a storage configuration with this field populated is used to create a workspace,\n * then a workspace catalog is created together with the workspace. The workspace catalog shares the root\n * bucket with internal workspace storage (including DBFS root) but uses a dedicated bucket path prefix.\n */\n roleArn?: string | undefined;\n}\n\nexport const unmarshalRootBucketInfoSchema: z.ZodType<RootBucketInfo> = z\n .object({\n bucket_name: z.string().optional(),\n })\n .transform(d => ({\n bucketName: d.bucket_name,\n }));\n\nexport const unmarshalStorageConfigurationSchema: z.ZodType<StorageConfiguration> =\n z\n .object({\n storage_configuration_id: z.string().optional(),\n account_id: z.string().optional(),\n root_bucket_info: z.lazy(() => unmarshalRootBucketInfoSchema).
|
|
1
|
+
{"version":3,"file":"model.js","names":[],"sources":["../../src/v1/model.ts"],"sourcesContent":["// Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.\n\nimport {z} from 'zod';\n\nexport interface CreateStorageConfigurationRequest {\n accountId?: string | undefined;\n /** The human-readable name of the storage configuration. */\n storageConfigurationName?: string | undefined;\n /** Root S3 bucket information. */\n rootBucketInfo?: RootBucketInfo | undefined;\n /**\n * Optional IAM role that is used to access the workspace catalog which is created during workspace creation\n * for UC by Default. If a storage configuration with this field populated is used to create a workspace,\n * then a workspace catalog is created together with the workspace. The workspace catalog shares the root\n * bucket with internal workspace storage (including DBFS root) but uses a dedicated bucket path prefix.\n */\n roleArn?: string | undefined;\n}\n\nexport interface DeleteStorageConfigurationRequest {\n storageConfigurationId?: string | undefined;\n accountId?: string | undefined;\n}\n\nexport interface GetStorageConfigurationRequest {\n storageConfigurationId?: string | undefined;\n accountId?: string | undefined;\n}\n\nexport interface ListStorageConfigurationRequest {\n accountId?: string | undefined;\n}\n\nexport interface ListStorageConfigurationResponse {\n storageConfigurations?: StorageConfiguration[] | undefined;\n}\n\nexport interface RootBucketInfo {\n /** Name of the S3 bucket */\n bucketName?: string | undefined;\n}\n\nexport interface StorageConfiguration {\n /** <Databricks> storage configuration ID. */\n storageConfigurationId?: string | undefined;\n /** The <Databricks> account ID associated with this storage configuration. */\n accountId?: string | undefined;\n /** The root bucket information for the storage configuration. */\n rootBucketInfo?: RootBucketInfo | undefined;\n /** The human-readable name of the storage configuration. */\n storageConfigurationName?: string | undefined;\n /** Time in epoch milliseconds when the storage configuration was created. */\n creationTime?: bigint | undefined;\n /**\n * Optional IAM role that is used to access the workspace catalog which is created during workspace creation\n * for UC by Default. If a storage configuration with this field populated is used to create a workspace,\n * then a workspace catalog is created together with the workspace. The workspace catalog shares the root\n * bucket with internal workspace storage (including DBFS root) but uses a dedicated bucket path prefix.\n */\n roleArn?: string | undefined;\n}\n\nexport const unmarshalRootBucketInfoSchema: z.ZodType<RootBucketInfo> = z\n .object({\n bucket_name: z.string().optional(),\n })\n .transform(d => ({\n bucketName: d.bucket_name,\n }));\n\nexport const unmarshalStorageConfigurationSchema: z.ZodType<StorageConfiguration> =\n z\n .object({\n storage_configuration_id: z.string().optional(),\n account_id: z.string().optional(),\n root_bucket_info: z\n .lazy(() => unmarshalRootBucketInfoSchema)\n .nullish()\n .transform(v => v ?? undefined),\n storage_configuration_name: z.string().optional(),\n creation_time: z\n .union([z.number(), z.bigint(), z.string()])\n .transform(v => BigInt(v))\n .optional(),\n role_arn: z.string().optional(),\n })\n .transform(d => ({\n storageConfigurationId: d.storage_configuration_id,\n accountId: d.account_id,\n rootBucketInfo: d.root_bucket_info,\n storageConfigurationName: d.storage_configuration_name,\n creationTime: d.creation_time,\n roleArn: d.role_arn,\n }));\n\nexport const marshalCreateStorageConfigurationRequestSchema: z.ZodType = z\n .object({\n accountId: z.string().optional(),\n storageConfigurationName: z.string().optional(),\n rootBucketInfo: z.lazy(() => marshalRootBucketInfoSchema).optional(),\n roleArn: z.string().optional(),\n })\n .transform(d => ({\n account_id: d.accountId,\n storage_configuration_name: d.storageConfigurationName,\n root_bucket_info: d.rootBucketInfo,\n role_arn: d.roleArn,\n }));\n\nexport const marshalRootBucketInfoSchema: z.ZodType = z\n .object({\n bucketName: z.string().optional(),\n })\n .transform(d => ({\n bucket_name: d.bucketName,\n }));\n"],"mappings":";;;AA8DA,MAAa,gCAA2D,EACrE,OAAO,EACN,aAAa,EAAE,QAAQ,CAAC,UAAU,EACnC,CAAC,CACD,WAAU,OAAM,EACf,YAAY,EAAE,aACf,EAAE;AAEL,MAAa,sCACX,EACG,OAAO;CACN,0BAA0B,EAAE,QAAQ,CAAC,UAAU;CAC/C,YAAY,EAAE,QAAQ,CAAC,UAAU;CACjC,kBAAkB,EACf,WAAW,8BAA8B,CACzC,SAAS,CACT,WAAU,MAAK,KAAK,OAAU;CACjC,4BAA4B,EAAE,QAAQ,CAAC,UAAU;CACjD,eAAe,EACZ,MAAM;EAAC,EAAE,QAAQ;EAAE,EAAE,QAAQ;EAAE,EAAE,QAAQ;EAAC,CAAC,CAC3C,WAAU,MAAK,OAAO,EAAE,CAAC,CACzB,UAAU;CACb,UAAU,EAAE,QAAQ,CAAC,UAAU;CAChC,CAAC,CACD,WAAU,OAAM;CACf,wBAAwB,EAAE;CAC1B,WAAW,EAAE;CACb,gBAAgB,EAAE;CAClB,0BAA0B,EAAE;CAC5B,cAAc,EAAE;CAChB,SAAS,EAAE;CACZ,EAAE;AAEP,MAAa,iDAA4D,EACtE,OAAO;CACN,WAAW,EAAE,QAAQ,CAAC,UAAU;CAChC,0BAA0B,EAAE,QAAQ,CAAC,UAAU;CAC/C,gBAAgB,EAAE,WAAW,4BAA4B,CAAC,UAAU;CACpE,SAAS,EAAE,QAAQ,CAAC,UAAU;CAC/B,CAAC,CACD,WAAU,OAAM;CACf,YAAY,EAAE;CACd,4BAA4B,EAAE;CAC9B,kBAAkB,EAAE;CACpB,UAAU,EAAE;CACb,EAAE;AAEL,MAAa,8BAAyC,EACnD,OAAO,EACN,YAAY,EAAE,QAAQ,CAAC,UAAU,EAClC,CAAC,CACD,WAAU,OAAM,EACf,aAAa,EAAE,YAChB,EAAE"}
|