@databricks/sdk-marketplaces 0.1.0-dev.3 → 0.1.0-dev.4

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/v1/model.js CHANGED
@@ -1,142 +1,142 @@
1
1
  // Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.
2
2
  import { z } from 'zod';
3
- export var AssetType;
4
- (function (AssetType) {
5
- AssetType["ASSET_TYPE_UNSPECIFIED"] = "ASSET_TYPE_UNSPECIFIED";
6
- AssetType["ASSET_TYPE_GIT_REPO"] = "ASSET_TYPE_GIT_REPO";
7
- AssetType["ASSET_TYPE_DATA_TABLE"] = "ASSET_TYPE_DATA_TABLE";
8
- AssetType["ASSET_TYPE_MODEL"] = "ASSET_TYPE_MODEL";
9
- AssetType["ASSET_TYPE_NOTEBOOK"] = "ASSET_TYPE_NOTEBOOK";
3
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
4
+ export const AssetType = {
5
+ ASSET_TYPE_UNSPECIFIED: 'ASSET_TYPE_UNSPECIFIED',
6
+ ASSET_TYPE_GIT_REPO: 'ASSET_TYPE_GIT_REPO',
7
+ ASSET_TYPE_DATA_TABLE: 'ASSET_TYPE_DATA_TABLE',
8
+ ASSET_TYPE_MODEL: 'ASSET_TYPE_MODEL',
9
+ ASSET_TYPE_NOTEBOOK: 'ASSET_TYPE_NOTEBOOK',
10
10
  /**
11
11
  * (MP-2408): media-based assets generally involve volumes; however some volumes files (e.g. CSV) still correspond to datasets
12
12
  * as such, add a new asset type to specify media
13
13
  */
14
- AssetType["ASSET_TYPE_MEDIA"] = "ASSET_TYPE_MEDIA";
15
- AssetType["ASSET_TYPE_PARTNER_INTEGRATION"] = "ASSET_TYPE_PARTNER_INTEGRATION";
16
- AssetType["ASSET_TYPE_APP"] = "ASSET_TYPE_APP";
17
- AssetType["ASSET_TYPE_MCP"] = "ASSET_TYPE_MCP";
18
- })(AssetType || (AssetType = {}));
19
- export var Category;
20
- (function (Category) {
21
- Category["ADVERTISING_AND_MARKETING"] = "ADVERTISING_AND_MARKETING";
22
- Category["CLIMATE_AND_ENVIRONMENT"] = "CLIMATE_AND_ENVIRONMENT";
23
- Category["COMMERCE"] = "COMMERCE";
24
- Category["DEMOGRAPHICS"] = "DEMOGRAPHICS";
25
- Category["ECONOMICS"] = "ECONOMICS";
26
- Category["EDUCATION"] = "EDUCATION";
27
- Category["ENERGY"] = "ENERGY";
28
- Category["FINANCIAL"] = "FINANCIAL";
29
- Category["GAMING"] = "GAMING";
30
- Category["GEOSPATIAL"] = "GEOSPATIAL";
31
- Category["HEALTH"] = "HEALTH";
32
- Category["LOOKUP_TABLES"] = "LOOKUP_TABLES";
33
- Category["MANUFACTURING"] = "MANUFACTURING";
34
- Category["MEDIA"] = "MEDIA";
35
- Category["OTHER"] = "OTHER";
36
- Category["PUBLIC_SECTOR"] = "PUBLIC_SECTOR";
37
- Category["RETAIL"] = "RETAIL";
38
- Category["SECURITY"] = "SECURITY";
39
- Category["SCIENCE_AND_RESEARCH"] = "SCIENCE_AND_RESEARCH";
40
- Category["SPORTS"] = "SPORTS";
41
- Category["TRANSPORTATION_AND_LOGISTICS"] = "TRANSPORTATION_AND_LOGISTICS";
42
- Category["TRAVEL_AND_TOURISM"] = "TRAVEL_AND_TOURISM";
43
- })(Category || (Category = {}));
44
- export var Cost;
45
- (function (Cost) {
46
- Cost["FREE"] = "FREE";
47
- Cost["PAID"] = "PAID";
48
- })(Cost || (Cost = {}));
49
- export var DataRefresh;
50
- (function (DataRefresh) {
51
- DataRefresh["NONE"] = "NONE";
52
- DataRefresh["SECOND"] = "SECOND";
53
- DataRefresh["MINUTE"] = "MINUTE";
54
- DataRefresh["HOURLY"] = "HOURLY";
55
- DataRefresh["DAILY"] = "DAILY";
56
- DataRefresh["WEEKLY"] = "WEEKLY";
57
- DataRefresh["MONTHLY"] = "MONTHLY";
58
- DataRefresh["QUARTERLY"] = "QUARTERLY";
59
- DataRefresh["YEARLY"] = "YEARLY";
60
- })(DataRefresh || (DataRefresh = {}));
61
- export var DeltaSharingRecipientType;
62
- (function (DeltaSharingRecipientType) {
63
- DeltaSharingRecipientType["DELTA_SHARING_RECIPIENT_TYPE_DATABRICKS"] = "DELTA_SHARING_RECIPIENT_TYPE_DATABRICKS";
64
- DeltaSharingRecipientType["DELTA_SHARING_RECIPIENT_TYPE_OPEN"] = "DELTA_SHARING_RECIPIENT_TYPE_OPEN";
65
- })(DeltaSharingRecipientType || (DeltaSharingRecipientType = {}));
66
- export var ExchangeFilterType;
67
- (function (ExchangeFilterType) {
68
- ExchangeFilterType["GLOBAL_METASTORE_ID"] = "GLOBAL_METASTORE_ID";
69
- })(ExchangeFilterType || (ExchangeFilterType = {}));
70
- export var FileParentType;
71
- (function (FileParentType) {
72
- FileParentType["PROVIDER"] = "PROVIDER";
73
- FileParentType["LISTING"] = "LISTING";
74
- FileParentType["LISTING_RESOURCE"] = "LISTING_RESOURCE";
75
- })(FileParentType || (FileParentType = {}));
76
- export var FileStatus;
77
- (function (FileStatus) {
14
+ ASSET_TYPE_MEDIA: 'ASSET_TYPE_MEDIA',
15
+ ASSET_TYPE_PARTNER_INTEGRATION: 'ASSET_TYPE_PARTNER_INTEGRATION',
16
+ ASSET_TYPE_APP: 'ASSET_TYPE_APP',
17
+ ASSET_TYPE_MCP: 'ASSET_TYPE_MCP',
18
+ };
19
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
20
+ export const Category = {
21
+ ADVERTISING_AND_MARKETING: 'ADVERTISING_AND_MARKETING',
22
+ CLIMATE_AND_ENVIRONMENT: 'CLIMATE_AND_ENVIRONMENT',
23
+ COMMERCE: 'COMMERCE',
24
+ DEMOGRAPHICS: 'DEMOGRAPHICS',
25
+ ECONOMICS: 'ECONOMICS',
26
+ EDUCATION: 'EDUCATION',
27
+ ENERGY: 'ENERGY',
28
+ FINANCIAL: 'FINANCIAL',
29
+ GAMING: 'GAMING',
30
+ GEOSPATIAL: 'GEOSPATIAL',
31
+ HEALTH: 'HEALTH',
32
+ LOOKUP_TABLES: 'LOOKUP_TABLES',
33
+ MANUFACTURING: 'MANUFACTURING',
34
+ MEDIA: 'MEDIA',
35
+ OTHER: 'OTHER',
36
+ PUBLIC_SECTOR: 'PUBLIC_SECTOR',
37
+ RETAIL: 'RETAIL',
38
+ SECURITY: 'SECURITY',
39
+ SCIENCE_AND_RESEARCH: 'SCIENCE_AND_RESEARCH',
40
+ SPORTS: 'SPORTS',
41
+ TRANSPORTATION_AND_LOGISTICS: 'TRANSPORTATION_AND_LOGISTICS',
42
+ TRAVEL_AND_TOURISM: 'TRAVEL_AND_TOURISM',
43
+ };
44
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
45
+ export const Cost = {
46
+ FREE: 'FREE',
47
+ PAID: 'PAID',
48
+ };
49
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
50
+ export const DataRefresh = {
51
+ NONE: 'NONE',
52
+ SECOND: 'SECOND',
53
+ MINUTE: 'MINUTE',
54
+ HOURLY: 'HOURLY',
55
+ DAILY: 'DAILY',
56
+ WEEKLY: 'WEEKLY',
57
+ MONTHLY: 'MONTHLY',
58
+ QUARTERLY: 'QUARTERLY',
59
+ YEARLY: 'YEARLY',
60
+ };
61
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
62
+ export const DeltaSharingRecipientType = {
63
+ DELTA_SHARING_RECIPIENT_TYPE_DATABRICKS: 'DELTA_SHARING_RECIPIENT_TYPE_DATABRICKS',
64
+ DELTA_SHARING_RECIPIENT_TYPE_OPEN: 'DELTA_SHARING_RECIPIENT_TYPE_OPEN',
65
+ };
66
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
67
+ export const ExchangeFilterType = {
68
+ GLOBAL_METASTORE_ID: 'GLOBAL_METASTORE_ID',
69
+ };
70
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
71
+ export const FileParentType = {
72
+ PROVIDER: 'PROVIDER',
73
+ LISTING: 'LISTING',
74
+ LISTING_RESOURCE: 'LISTING_RESOURCE',
75
+ };
76
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
77
+ export const FileStatus = {
78
78
  /** Published files have been sanitized by Marketplace backend and can be viewed by consumers. */
79
- FileStatus["FILE_STATUS_PUBLISHED"] = "FILE_STATUS_PUBLISHED";
79
+ FILE_STATUS_PUBLISHED: 'FILE_STATUS_PUBLISHED',
80
80
  /** Created files start in staging. These are viewable by provider APIs but not consumer APIs. */
81
- FileStatus["FILE_STATUS_STAGING"] = "FILE_STATUS_STAGING";
81
+ FILE_STATUS_STAGING: 'FILE_STATUS_STAGING',
82
82
  /** Indicates this file is in the process of being sanitized. */
83
- FileStatus["FILE_STATUS_SANITIZING"] = "FILE_STATUS_SANITIZING";
83
+ FILE_STATUS_SANITIZING: 'FILE_STATUS_SANITIZING',
84
84
  /** Something went wrong with sanitization, refer to the status message for more information. */
85
- FileStatus["FILE_STATUS_SANITIZATION_FAILED"] = "FILE_STATUS_SANITIZATION_FAILED";
86
- })(FileStatus || (FileStatus = {}));
87
- export var FulfillmentType;
88
- (function (FulfillmentType) {
89
- FulfillmentType["REQUEST_ACCESS"] = "REQUEST_ACCESS";
90
- FulfillmentType["INSTALL"] = "INSTALL";
91
- })(FulfillmentType || (FulfillmentType = {}));
92
- export var InstallationStatus;
93
- (function (InstallationStatus) {
94
- InstallationStatus["INSTALLED"] = "INSTALLED";
95
- InstallationStatus["FAILED"] = "FAILED";
96
- })(InstallationStatus || (InstallationStatus = {}));
97
- export var ListingShareType;
98
- (function (ListingShareType) {
99
- ListingShareType["SAMPLE"] = "SAMPLE";
100
- ListingShareType["FULL"] = "FULL";
101
- })(ListingShareType || (ListingShareType = {}));
85
+ FILE_STATUS_SANITIZATION_FAILED: 'FILE_STATUS_SANITIZATION_FAILED',
86
+ };
87
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
88
+ export const FulfillmentType = {
89
+ REQUEST_ACCESS: 'REQUEST_ACCESS',
90
+ INSTALL: 'INSTALL',
91
+ };
92
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
93
+ export const InstallationStatus = {
94
+ INSTALLED: 'INSTALLED',
95
+ FAILED: 'FAILED',
96
+ };
97
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
98
+ export const ListingShareType = {
99
+ SAMPLE: 'SAMPLE',
100
+ FULL: 'FULL',
101
+ };
102
102
  /** Enums */
103
- export var ListingStatus;
104
- (function (ListingStatus) {
105
- ListingStatus["DRAFT"] = "DRAFT";
106
- ListingStatus["PENDING"] = "PENDING";
107
- ListingStatus["PUBLISHED"] = "PUBLISHED";
108
- ListingStatus["SUSPENDED"] = "SUSPENDED";
109
- })(ListingStatus || (ListingStatus = {}));
110
- export var ListingTagType;
111
- (function (ListingTagType) {
112
- ListingTagType["LISTING_TAG_TYPE_UNSPECIFIED"] = "LISTING_TAG_TYPE_UNSPECIFIED";
113
- ListingTagType["LISTING_TAG_TYPE_LANGUAGE"] = "LISTING_TAG_TYPE_LANGUAGE";
114
- ListingTagType["LISTING_TAG_TYPE_TASK"] = "LISTING_TAG_TYPE_TASK";
115
- })(ListingTagType || (ListingTagType = {}));
116
- export var ListingType;
117
- (function (ListingType) {
118
- ListingType["STANDARD"] = "STANDARD";
119
- ListingType["PERSONALIZED"] = "PERSONALIZED";
120
- })(ListingType || (ListingType = {}));
121
- export var MarketplaceFileType;
122
- (function (MarketplaceFileType) {
123
- MarketplaceFileType["PROVIDER_ICON"] = "PROVIDER_ICON";
124
- MarketplaceFileType["EMBEDDED_NOTEBOOK"] = "EMBEDDED_NOTEBOOK";
125
- MarketplaceFileType["APP"] = "APP";
126
- })(MarketplaceFileType || (MarketplaceFileType = {}));
127
- export var PersonalizationRequestStatus;
128
- (function (PersonalizationRequestStatus) {
129
- PersonalizationRequestStatus["NEW"] = "NEW";
103
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
104
+ export const ListingStatus = {
105
+ DRAFT: 'DRAFT',
106
+ PENDING: 'PENDING',
107
+ PUBLISHED: 'PUBLISHED',
108
+ SUSPENDED: 'SUSPENDED',
109
+ };
110
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
111
+ export const ListingTagType = {
112
+ LISTING_TAG_TYPE_UNSPECIFIED: 'LISTING_TAG_TYPE_UNSPECIFIED',
113
+ LISTING_TAG_TYPE_LANGUAGE: 'LISTING_TAG_TYPE_LANGUAGE',
114
+ LISTING_TAG_TYPE_TASK: 'LISTING_TAG_TYPE_TASK',
115
+ };
116
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
117
+ export const ListingType = {
118
+ STANDARD: 'STANDARD',
119
+ PERSONALIZED: 'PERSONALIZED',
120
+ };
121
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
122
+ export const MarketplaceFileType = {
123
+ PROVIDER_ICON: 'PROVIDER_ICON',
124
+ EMBEDDED_NOTEBOOK: 'EMBEDDED_NOTEBOOK',
125
+ APP: 'APP',
126
+ };
127
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
128
+ export const PersonalizationRequestStatus = {
129
+ NEW: 'NEW',
130
130
  /** Pending already defined for ListingStatus */
131
- PersonalizationRequestStatus["REQUEST_PENDING"] = "REQUEST_PENDING";
132
- PersonalizationRequestStatus["FULFILLED"] = "FULFILLED";
133
- PersonalizationRequestStatus["DENIED"] = "DENIED";
134
- })(PersonalizationRequestStatus || (PersonalizationRequestStatus = {}));
135
- export var Visibility;
136
- (function (Visibility) {
137
- Visibility["PUBLIC"] = "PUBLIC";
138
- Visibility["PRIVATE"] = "PRIVATE";
139
- })(Visibility || (Visibility = {}));
131
+ REQUEST_PENDING: 'REQUEST_PENDING',
132
+ FULFILLED: 'FULFILLED',
133
+ DENIED: 'DENIED',
134
+ };
135
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
136
+ export const Visibility = {
137
+ PUBLIC: 'PUBLIC',
138
+ PRIVATE: 'PRIVATE',
139
+ };
140
140
  export const unmarshalAddExchangeForListingResponseSchema = z
141
141
  .object({
142
142
  exchange_for_listing: z
@@ -237,7 +237,7 @@ export const unmarshalDataRefreshInfoSchema = z
237
237
  .union([z.number(), z.bigint()])
238
238
  .transform(v => BigInt(v))
239
239
  .optional(),
240
- unit: z.enum(DataRefresh).optional(),
240
+ unit: z.string().optional(),
241
241
  })
242
242
  .transform(d => ({
243
243
  interval: d.interval,
@@ -296,7 +296,7 @@ export const unmarshalExchangeFilterSchema = z
296
296
  .transform(v => BigInt(v))
297
297
  .optional(),
298
298
  updated_by: z.string().optional(),
299
- filter_type: z.enum(ExchangeFilterType).optional(),
299
+ filter_type: z.string().optional(),
300
300
  })
301
301
  .transform(d => ({
302
302
  id: d.id,
@@ -334,7 +334,7 @@ export const unmarshalExchangeListingSchema = z
334
334
  export const unmarshalFileInfoSchema = z
335
335
  .object({
336
336
  id: z.string().optional(),
337
- marketplace_file_type: z.enum(MarketplaceFileType).optional(),
337
+ marketplace_file_type: z.string().optional(),
338
338
  file_parent: z.lazy(() => unmarshalFileParentSchema).optional(),
339
339
  mime_type: z.string().optional(),
340
340
  download_link: z.string().optional(),
@@ -347,7 +347,7 @@ export const unmarshalFileInfoSchema = z
347
347
  .transform(v => BigInt(v))
348
348
  .optional(),
349
349
  display_name: z.string().optional(),
350
- status: z.enum(FileStatus).optional(),
350
+ status: z.string().optional(),
351
351
  status_message: z.string().optional(),
352
352
  })
353
353
  .transform(d => ({
@@ -365,7 +365,7 @@ export const unmarshalFileInfoSchema = z
365
365
  export const unmarshalFileParentSchema = z
366
366
  .object({
367
367
  parent_id: z.string().optional(),
368
- file_parent_type: z.enum(FileParentType).optional(),
368
+ file_parent_type: z.string().optional(),
369
369
  })
370
370
  .transform(d => ({
371
371
  parentId: d.parent_id,
@@ -493,12 +493,12 @@ export const unmarshalInstallationDetailSchema = z
493
493
  .union([z.number(), z.bigint()])
494
494
  .transform(v => BigInt(v))
495
495
  .optional(),
496
- status: z.enum(InstallationStatus).optional(),
496
+ status: z.string().optional(),
497
497
  error_message: z.string().optional(),
498
498
  listing_name: z.string().optional(),
499
499
  repo_name: z.string().optional(),
500
500
  repo_path: z.string().optional(),
501
- recipient_type: z.enum(DeltaSharingRecipientType).optional(),
501
+ recipient_type: z.string().optional(),
502
502
  tokens: z.array(z.lazy(() => unmarshalTokenInfoSchema)).optional(),
503
503
  token_detail: z.lazy(() => unmarshalTokenDetailSchema).optional(),
504
504
  })
@@ -654,7 +654,7 @@ export const unmarshalListingDetailSchema = z
654
654
  .array(z.lazy(() => unmarshalFileInfoSchema))
655
655
  .optional(),
656
656
  geographical_coverage: z.string().optional(),
657
- cost: z.enum(Cost).optional(),
657
+ cost: z.string().optional(),
658
658
  pricing_model: z.string().optional(),
659
659
  update_frequency: z.lazy(() => unmarshalDataRefreshInfoSchema).optional(),
660
660
  collection_granularity: z
@@ -670,7 +670,7 @@ export const unmarshalListingDetailSchema = z
670
670
  .optional(),
671
671
  data_source: z.string().optional(),
672
672
  size: z.number().optional(),
673
- assets: z.array(z.enum(AssetType)).optional(),
673
+ assets: z.array(z.string()).optional(),
674
674
  license: z.string().optional(),
675
675
  tags: z.array(z.lazy(() => unmarshalListingTagSchema)).optional(),
676
676
  })
@@ -698,10 +698,10 @@ export const unmarshalListingDetailSchema = z
698
698
  export const unmarshalListingFulfillmentSchema = z
699
699
  .object({
700
700
  listing_id: z.string().optional(),
701
- fulfillment_type: z.enum(FulfillmentType).optional(),
701
+ fulfillment_type: z.string().optional(),
702
702
  share_info: z.lazy(() => unmarshalShareInfoSchema).optional(),
703
703
  repo_info: z.lazy(() => unmarshalRepoInfoSchema).optional(),
704
- recipient_type: z.enum(DeltaSharingRecipientType).optional(),
704
+ recipient_type: z.string().optional(),
705
705
  })
706
706
  .transform(d => ({
707
707
  listingId: d.listing_id,
@@ -712,7 +712,7 @@ export const unmarshalListingFulfillmentSchema = z
712
712
  }));
713
713
  export const unmarshalListingSettingSchema = z
714
714
  .object({
715
- visibility: z.enum(Visibility).optional(),
715
+ visibility: z.string().optional(),
716
716
  })
717
717
  .transform(d => ({
718
718
  visibility: d.visibility,
@@ -721,7 +721,7 @@ export const unmarshalListingSummarySchema = z
721
721
  .object({
722
722
  name: z.string().optional(),
723
723
  subtitle: z.string().optional(),
724
- status: z.enum(ListingStatus).optional(),
724
+ status: z.string().optional(),
725
725
  share: z.lazy(() => unmarshalShareInfoSchema).optional(),
726
726
  provider_region: z.lazy(() => unmarshalRegionInfoSchema).optional(),
727
727
  setting: z.lazy(() => unmarshalListingSettingSchema).optional(),
@@ -740,8 +740,8 @@ export const unmarshalListingSummarySchema = z
740
740
  .transform(v => BigInt(v))
741
741
  .optional(),
742
742
  published_by: z.string().optional(),
743
- categories: z.array(z.enum(Category)).optional(),
744
- listingType: z.enum(ListingType).optional(),
743
+ categories: z.array(z.string()).optional(),
744
+ listingType: z.string().optional(),
745
745
  created_by_id: z
746
746
  .union([z.number(), z.bigint()])
747
747
  .transform(v => BigInt(v))
@@ -777,7 +777,7 @@ export const unmarshalListingSummarySchema = z
777
777
  }));
778
778
  export const unmarshalListingTagSchema = z
779
779
  .object({
780
- tag_name: z.enum(ListingTagType).optional(),
780
+ tag_name: z.string().optional(),
781
781
  tag_values: z.array(z.string()).optional(),
782
782
  })
783
783
  .transform(d => ({
@@ -791,7 +791,7 @@ export const unmarshalPersonalizationRequestSchema = z
791
791
  contact_info: z.lazy(() => unmarshalContactInfoSchema).optional(),
792
792
  comment: z.string().optional(),
793
793
  intended_use: z.string().optional(),
794
- status: z.enum(PersonalizationRequestStatus).optional(),
794
+ status: z.string().optional(),
795
795
  status_message: z.string().optional(),
796
796
  share: z.lazy(() => unmarshalShareInfoSchema).optional(),
797
797
  created_at: z
@@ -807,7 +807,7 @@ export const unmarshalPersonalizationRequestSchema = z
807
807
  listing_name: z.string().optional(),
808
808
  is_from_lighthouse: z.boolean().optional(),
809
809
  provider_id: z.string().optional(),
810
- recipient_type: z.enum(DeltaSharingRecipientType).optional(),
810
+ recipient_type: z.string().optional(),
811
811
  })
812
812
  .transform(d => ({
813
813
  id: d.id,
@@ -889,7 +889,7 @@ export const unmarshalSearchPublishedListingsForConsumerResponseSchema = z
889
889
  export const unmarshalShareInfoSchema = z
890
890
  .object({
891
891
  name: z.string().optional(),
892
- type: z.enum(ListingShareType).optional(),
892
+ type: z.string().optional(),
893
893
  })
894
894
  .transform(d => ({
895
895
  name: d.name,
@@ -1034,7 +1034,7 @@ export const marshalCreateExchangeRequestSchema = z
1034
1034
  export const marshalCreateFileRequestSchema = z
1035
1035
  .object({
1036
1036
  fileParent: z.lazy(() => marshalFileParentSchema).optional(),
1037
- marketplaceFileType: z.enum(MarketplaceFileType).optional(),
1037
+ marketplaceFileType: z.string().optional(),
1038
1038
  mimeType: z.string().optional(),
1039
1039
  displayName: z.string().optional(),
1040
1040
  })
@@ -1060,7 +1060,7 @@ export const marshalCreatePersonalizationRequestSchema = z
1060
1060
  lastName: z.string().optional(),
1061
1061
  company: z.string().optional(),
1062
1062
  isFromLighthouse: z.boolean().optional(),
1063
- recipientType: z.enum(DeltaSharingRecipientType).optional(),
1063
+ recipientType: z.string().optional(),
1064
1064
  acceptedConsumerTerms: z.lazy(() => marshalConsumerTermsSchema).optional(),
1065
1065
  })
1066
1066
  .transform(d => ({
@@ -1085,7 +1085,7 @@ export const marshalCreateProviderRequestSchema = z
1085
1085
  export const marshalDataRefreshInfoSchema = z
1086
1086
  .object({
1087
1087
  interval: z.bigint().optional(),
1088
- unit: z.enum(DataRefresh).optional(),
1088
+ unit: z.string().optional(),
1089
1089
  })
1090
1090
  .transform(d => ({
1091
1091
  interval: d.interval,
@@ -1126,7 +1126,7 @@ export const marshalExchangeFilterSchema = z
1126
1126
  createdBy: z.string().optional(),
1127
1127
  updatedAt: z.bigint().optional(),
1128
1128
  updatedBy: z.string().optional(),
1129
- filterType: z.enum(ExchangeFilterType).optional(),
1129
+ filterType: z.string().optional(),
1130
1130
  })
1131
1131
  .transform(d => ({
1132
1132
  id: d.id,
@@ -1161,14 +1161,14 @@ export const marshalExchangeListingSchema = z
1161
1161
  export const marshalFileInfoSchema = z
1162
1162
  .object({
1163
1163
  id: z.string().optional(),
1164
- marketplaceFileType: z.enum(MarketplaceFileType).optional(),
1164
+ marketplaceFileType: z.string().optional(),
1165
1165
  fileParent: z.lazy(() => marshalFileParentSchema).optional(),
1166
1166
  mimeType: z.string().optional(),
1167
1167
  downloadLink: z.string().optional(),
1168
1168
  createdAt: z.bigint().optional(),
1169
1169
  updatedAt: z.bigint().optional(),
1170
1170
  displayName: z.string().optional(),
1171
- status: z.enum(FileStatus).optional(),
1171
+ status: z.string().optional(),
1172
1172
  statusMessage: z.string().optional(),
1173
1173
  })
1174
1174
  .transform(d => ({
@@ -1186,7 +1186,7 @@ export const marshalFileInfoSchema = z
1186
1186
  export const marshalFileParentSchema = z
1187
1187
  .object({
1188
1188
  parentId: z.string().optional(),
1189
- fileParentType: z.enum(FileParentType).optional(),
1189
+ fileParentType: z.string().optional(),
1190
1190
  })
1191
1191
  .transform(d => ({
1192
1192
  parent_id: d.parentId,
@@ -1198,7 +1198,7 @@ export const marshalInstallListingSchema = z
1198
1198
  shareName: z.string().optional(),
1199
1199
  catalogName: z.string().optional(),
1200
1200
  repoDetail: z.lazy(() => marshalRepoInstallationSchema).optional(),
1201
- recipientType: z.enum(DeltaSharingRecipientType).optional(),
1201
+ recipientType: z.string().optional(),
1202
1202
  acceptedConsumerTerms: z.lazy(() => marshalConsumerTermsSchema).optional(),
1203
1203
  })
1204
1204
  .transform(d => ({
@@ -1216,12 +1216,12 @@ export const marshalInstallationDetailSchema = z
1216
1216
  shareName: z.string().optional(),
1217
1217
  catalogName: z.string().optional(),
1218
1218
  installedOn: z.bigint().optional(),
1219
- status: z.enum(InstallationStatus).optional(),
1219
+ status: z.string().optional(),
1220
1220
  errorMessage: z.string().optional(),
1221
1221
  listingName: z.string().optional(),
1222
1222
  repoName: z.string().optional(),
1223
1223
  repoPath: z.string().optional(),
1224
- recipientType: z.enum(DeltaSharingRecipientType).optional(),
1224
+ recipientType: z.string().optional(),
1225
1225
  tokens: z.array(z.lazy(() => marshalTokenInfoSchema)).optional(),
1226
1226
  tokenDetail: z.lazy(() => marshalTokenDetailSchema).optional(),
1227
1227
  })
@@ -1263,7 +1263,7 @@ export const marshalListingDetailSchema = z
1263
1263
  .array(z.lazy(() => marshalFileInfoSchema))
1264
1264
  .optional(),
1265
1265
  geographicalCoverage: z.string().optional(),
1266
- cost: z.enum(Cost).optional(),
1266
+ cost: z.string().optional(),
1267
1267
  pricingModel: z.string().optional(),
1268
1268
  updateFrequency: z.lazy(() => marshalDataRefreshInfoSchema).optional(),
1269
1269
  collectionGranularity: z
@@ -1273,7 +1273,7 @@ export const marshalListingDetailSchema = z
1273
1273
  collectionDateEnd: z.bigint().optional(),
1274
1274
  dataSource: z.string().optional(),
1275
1275
  size: z.number().optional(),
1276
- assets: z.array(z.enum(AssetType)).optional(),
1276
+ assets: z.array(z.string()).optional(),
1277
1277
  license: z.string().optional(),
1278
1278
  tags: z.array(z.lazy(() => marshalListingTagSchema)).optional(),
1279
1279
  })
@@ -1300,7 +1300,7 @@ export const marshalListingDetailSchema = z
1300
1300
  }));
1301
1301
  export const marshalListingSettingSchema = z
1302
1302
  .object({
1303
- visibility: z.enum(Visibility).optional(),
1303
+ visibility: z.string().optional(),
1304
1304
  })
1305
1305
  .transform(d => ({
1306
1306
  visibility: d.visibility,
@@ -1309,7 +1309,7 @@ export const marshalListingSummarySchema = z
1309
1309
  .object({
1310
1310
  name: z.string().optional(),
1311
1311
  subtitle: z.string().optional(),
1312
- status: z.enum(ListingStatus).optional(),
1312
+ status: z.string().optional(),
1313
1313
  share: z.lazy(() => marshalShareInfoSchema).optional(),
1314
1314
  providerRegion: z.lazy(() => marshalRegionInfoSchema).optional(),
1315
1315
  setting: z.lazy(() => marshalListingSettingSchema).optional(),
@@ -1319,8 +1319,8 @@ export const marshalListingSummarySchema = z
1319
1319
  updatedBy: z.string().optional(),
1320
1320
  publishedAt: z.bigint().optional(),
1321
1321
  publishedBy: z.string().optional(),
1322
- categories: z.array(z.enum(Category)).optional(),
1323
- listingType: z.enum(ListingType).optional(),
1322
+ categories: z.array(z.string()).optional(),
1323
+ listingType: z.string().optional(),
1324
1324
  createdById: z.bigint().optional(),
1325
1325
  updatedById: z.bigint().optional(),
1326
1326
  providerId: z.string().optional(),
@@ -1350,7 +1350,7 @@ export const marshalListingSummarySchema = z
1350
1350
  }));
1351
1351
  export const marshalListingTagSchema = z
1352
1352
  .object({
1353
- tagName: z.enum(ListingTagType).optional(),
1353
+ tagName: z.string().optional(),
1354
1354
  tagValues: z.array(z.string()).optional(),
1355
1355
  })
1356
1356
  .transform(d => ({
@@ -1418,7 +1418,7 @@ export const marshalRepoInstallationSchema = z
1418
1418
  export const marshalShareInfoSchema = z
1419
1419
  .object({
1420
1420
  name: z.string().optional(),
1421
- type: z.enum(ListingShareType).optional(),
1421
+ type: z.string().optional(),
1422
1422
  })
1423
1423
  .transform(d => ({
1424
1424
  name: d.name,
@@ -1500,7 +1500,7 @@ export const marshalUpdatePersonalizationRequestStatusRequestSchema = z
1500
1500
  .object({
1501
1501
  listingId: z.string().optional(),
1502
1502
  requestId: z.string().optional(),
1503
- status: z.enum(PersonalizationRequestStatus).optional(),
1503
+ status: z.string().optional(),
1504
1504
  reason: z.string().optional(),
1505
1505
  share: z.lazy(() => marshalShareInfoSchema).optional(),
1506
1506
  })