@databricks/sdk-marketplaces 0.1.0-dev.2 → 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/client.d.ts +36 -36
- package/dist/v1/client.d.ts.map +1 -1
- package/dist/v1/client.js +36 -36
- package/dist/v1/client.js.map +1 -1
- package/dist/v1/index.d.ts +1 -1
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/model.d.ts +215 -198
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +246 -281
- package/dist/v1/model.js.map +1 -1
- package/dist/v1/utils.d.ts.map +1 -1
- package/dist/v1/utils.js +2 -1
- package/dist/v1/utils.js.map +1 -1
- package/package.json +6 -6
- package/src/v1/client.ts +0 -2290
- package/src/v1/index.ts +0 -150
- package/src/v1/model.ts +0 -2560
- package/src/v1/transport.ts +0 -73
- package/src/v1/utils.ts +0 -156
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
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
|
-
|
|
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
|
-
|
|
81
|
+
FILE_STATUS_STAGING: 'FILE_STATUS_STAGING',
|
|
82
82
|
/** Indicates this file is in the process of being sanitized. */
|
|
83
|
-
|
|
83
|
+
FILE_STATUS_SANITIZING: 'FILE_STATUS_SANITIZING',
|
|
84
84
|
/** Something went wrong with sanitization, refer to the status message for more information. */
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}
|
|
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
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
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
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
}
|
|
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
|
|
@@ -187,8 +187,7 @@ export const unmarshalCreateExchangeResponseSchema = z
|
|
|
187
187
|
.transform(d => ({
|
|
188
188
|
exchangeId: d.exchange_id,
|
|
189
189
|
}));
|
|
190
|
-
|
|
191
|
-
export const unmarshalCreateFileRequest_ResponseSchema = z
|
|
190
|
+
export const unmarshalCreateFileResponseSchema = z
|
|
192
191
|
.object({
|
|
193
192
|
upload_url: z.string().optional(),
|
|
194
193
|
file_info: z.lazy(() => unmarshalFileInfoSchema).optional(),
|
|
@@ -197,32 +196,35 @@ export const unmarshalCreateFileRequest_ResponseSchema = z
|
|
|
197
196
|
uploadUrl: d.upload_url,
|
|
198
197
|
fileInfo: d.file_info,
|
|
199
198
|
}));
|
|
200
|
-
|
|
201
|
-
|
|
199
|
+
export const unmarshalCreateInstallationResponseSchema = z
|
|
200
|
+
.object({
|
|
201
|
+
installation: z.lazy(() => unmarshalInstallationDetailSchema).optional(),
|
|
202
|
+
})
|
|
203
|
+
.transform(d => ({
|
|
204
|
+
installation: d.installation,
|
|
205
|
+
}));
|
|
206
|
+
export const unmarshalCreateListingResponseSchema = z
|
|
202
207
|
.object({
|
|
203
208
|
listing_id: z.string().optional(),
|
|
204
209
|
})
|
|
205
210
|
.transform(d => ({
|
|
206
211
|
listingId: d.listing_id,
|
|
207
212
|
}));
|
|
208
|
-
|
|
209
|
-
export const unmarshalCreatePersonalizationRequest_ResponseSchema = z
|
|
213
|
+
export const unmarshalCreatePersonalizationResponseSchema = z
|
|
210
214
|
.object({
|
|
211
215
|
id: z.string().optional(),
|
|
212
216
|
})
|
|
213
217
|
.transform(d => ({
|
|
214
218
|
id: d.id,
|
|
215
219
|
}));
|
|
216
|
-
|
|
217
|
-
export const unmarshalCreateProviderAnalyticsDashboardRequest_ResponseSchema = z
|
|
220
|
+
export const unmarshalCreateProviderAnalyticsDashboardResponseSchema = z
|
|
218
221
|
.object({
|
|
219
222
|
id: z.string().optional(),
|
|
220
223
|
})
|
|
221
224
|
.transform(d => ({
|
|
222
225
|
id: d.id,
|
|
223
226
|
}));
|
|
224
|
-
|
|
225
|
-
export const unmarshalCreateProviderRequest_ResponseSchema = z
|
|
227
|
+
export const unmarshalCreateProviderResponseSchema = z
|
|
226
228
|
.object({
|
|
227
229
|
id: z.string().optional(),
|
|
228
230
|
})
|
|
@@ -235,7 +237,7 @@ export const unmarshalDataRefreshInfoSchema = z
|
|
|
235
237
|
.union([z.number(), z.bigint()])
|
|
236
238
|
.transform(v => BigInt(v))
|
|
237
239
|
.optional(),
|
|
238
|
-
unit: z.
|
|
240
|
+
unit: z.string().optional(),
|
|
239
241
|
})
|
|
240
242
|
.transform(d => ({
|
|
241
243
|
interval: d.interval,
|
|
@@ -243,12 +245,10 @@ export const unmarshalDataRefreshInfoSchema = z
|
|
|
243
245
|
}));
|
|
244
246
|
export const unmarshalDeleteExchangeFilterResponseSchema = z.object({});
|
|
245
247
|
export const unmarshalDeleteExchangeResponseSchema = z.object({});
|
|
246
|
-
|
|
247
|
-
export const
|
|
248
|
-
|
|
249
|
-
export const
|
|
250
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
|
|
251
|
-
export const unmarshalDeleteProviderRequest_ResponseSchema = z.object({});
|
|
248
|
+
export const unmarshalDeleteFileResponseSchema = z.object({});
|
|
249
|
+
export const unmarshalDeleteInstallationResponseSchema = z.object({});
|
|
250
|
+
export const unmarshalDeleteListingResponseSchema = z.object({});
|
|
251
|
+
export const unmarshalDeleteProviderResponseSchema = z.object({});
|
|
252
252
|
export const unmarshalExchangeSchema = z
|
|
253
253
|
.object({
|
|
254
254
|
id: z.string().optional(),
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
350
|
+
status: z.string().optional(),
|
|
351
351
|
status_message: z.string().optional(),
|
|
352
352
|
})
|
|
353
353
|
.transform(d => ({
|
|
@@ -365,12 +365,23 @@ 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.
|
|
368
|
+
file_parent_type: z.string().optional(),
|
|
369
369
|
})
|
|
370
370
|
.transform(d => ({
|
|
371
371
|
parentId: d.parent_id,
|
|
372
372
|
fileParentType: d.file_parent_type,
|
|
373
373
|
}));
|
|
374
|
+
export const unmarshalGetAllPersonalizationRequestsForConsumerResponseSchema = z
|
|
375
|
+
.object({
|
|
376
|
+
personalization_requests: z
|
|
377
|
+
.array(z.lazy(() => unmarshalPersonalizationRequestSchema))
|
|
378
|
+
.optional(),
|
|
379
|
+
next_page_token: z.string().optional(),
|
|
380
|
+
})
|
|
381
|
+
.transform(d => ({
|
|
382
|
+
personalizationRequests: d.personalization_requests,
|
|
383
|
+
nextPageToken: d.next_page_token,
|
|
384
|
+
}));
|
|
374
385
|
export const unmarshalGetExchangeResponseSchema = z
|
|
375
386
|
.object({
|
|
376
387
|
exchange: z.lazy(() => unmarshalExchangeSchema).optional(),
|
|
@@ -378,28 +389,14 @@ export const unmarshalGetExchangeResponseSchema = z
|
|
|
378
389
|
.transform(d => ({
|
|
379
390
|
exchange: d.exchange,
|
|
380
391
|
}));
|
|
381
|
-
|
|
382
|
-
export const unmarshalGetFileRequest_ResponseSchema = z
|
|
392
|
+
export const unmarshalGetFileResponseSchema = z
|
|
383
393
|
.object({
|
|
384
394
|
file_info: z.lazy(() => unmarshalFileInfoSchema).optional(),
|
|
385
395
|
})
|
|
386
396
|
.transform(d => ({
|
|
387
397
|
fileInfo: d.file_info,
|
|
388
398
|
}));
|
|
389
|
-
|
|
390
|
-
export const unmarshalGetInstallationDetails_ResponseSchema = z
|
|
391
|
-
.object({
|
|
392
|
-
installations: z
|
|
393
|
-
.array(z.lazy(() => unmarshalInstallationDetailSchema))
|
|
394
|
-
.optional(),
|
|
395
|
-
next_page_token: z.string().optional(),
|
|
396
|
-
})
|
|
397
|
-
.transform(d => ({
|
|
398
|
-
installations: d.installations,
|
|
399
|
-
nextPageToken: d.next_page_token,
|
|
400
|
-
}));
|
|
401
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
|
|
402
|
-
export const unmarshalGetLatestVersionProviderAnalyticsDashboardRequest_ResponseSchema = z
|
|
399
|
+
export const unmarshalGetLatestVersionProviderAnalyticsDashboardResponseSchema = z
|
|
403
400
|
.object({
|
|
404
401
|
version: z
|
|
405
402
|
.union([z.number(), z.bigint()])
|
|
@@ -409,8 +406,7 @@ export const unmarshalGetLatestVersionProviderAnalyticsDashboardRequest_Response
|
|
|
409
406
|
.transform(d => ({
|
|
410
407
|
version: d.version,
|
|
411
408
|
}));
|
|
412
|
-
|
|
413
|
-
export const unmarshalGetListingContent_ResponseSchema = z
|
|
409
|
+
export const unmarshalGetListingContentMetadataResponseSchema = z
|
|
414
410
|
.object({
|
|
415
411
|
shared_data_objects: z
|
|
416
412
|
.array(z.lazy(() => unmarshalSharedDataObjectSchema))
|
|
@@ -421,16 +417,23 @@ export const unmarshalGetListingContent_ResponseSchema = z
|
|
|
421
417
|
sharedDataObjects: d.shared_data_objects,
|
|
422
418
|
nextPageToken: d.next_page_token,
|
|
423
419
|
}));
|
|
424
|
-
|
|
425
|
-
export const unmarshalGetListingRequest_ResponseSchema = z
|
|
420
|
+
export const unmarshalGetListingResponseSchema = z
|
|
426
421
|
.object({
|
|
427
422
|
listing: z.lazy(() => unmarshalListingSchema).optional(),
|
|
428
423
|
})
|
|
429
424
|
.transform(d => ({
|
|
430
425
|
listing: d.listing,
|
|
431
426
|
}));
|
|
432
|
-
|
|
433
|
-
|
|
427
|
+
export const unmarshalGetListingsResponseSchema = z
|
|
428
|
+
.object({
|
|
429
|
+
listings: z.array(z.lazy(() => unmarshalListingSchema)).optional(),
|
|
430
|
+
next_page_token: z.string().optional(),
|
|
431
|
+
})
|
|
432
|
+
.transform(d => ({
|
|
433
|
+
listings: d.listings,
|
|
434
|
+
nextPageToken: d.next_page_token,
|
|
435
|
+
}));
|
|
436
|
+
export const unmarshalGetPersonalizationRequestsForConsumerResponseSchema = z
|
|
434
437
|
.object({
|
|
435
438
|
personalization_requests: z
|
|
436
439
|
.array(z.lazy(() => unmarshalPersonalizationRequestSchema))
|
|
@@ -439,8 +442,7 @@ export const unmarshalGetPersonalizationRequestsForConsumer_ResponseSchema = z
|
|
|
439
442
|
.transform(d => ({
|
|
440
443
|
personalizationRequests: d.personalization_requests,
|
|
441
444
|
}));
|
|
442
|
-
|
|
443
|
-
export const unmarshalGetPersonalizationRequestsForProviderRequest_ResponseSchema = z
|
|
445
|
+
export const unmarshalGetPersonalizationRequestsForProviderResponseSchema = z
|
|
444
446
|
.object({
|
|
445
447
|
personalization_requests: z
|
|
446
448
|
.array(z.lazy(() => unmarshalPersonalizationRequestSchema))
|
|
@@ -451,37 +453,35 @@ export const unmarshalGetPersonalizationRequestsForProviderRequest_ResponseSchem
|
|
|
451
453
|
personalizationRequests: d.personalization_requests,
|
|
452
454
|
nextPageToken: d.next_page_token,
|
|
453
455
|
}));
|
|
454
|
-
|
|
455
|
-
export const unmarshalGetProviderRequest_ResponseSchema = z
|
|
456
|
+
export const unmarshalGetProviderResponseSchema = z
|
|
456
457
|
.object({
|
|
457
458
|
provider: z.lazy(() => unmarshalProviderInfoSchema).optional(),
|
|
458
459
|
})
|
|
459
460
|
.transform(d => ({
|
|
460
461
|
provider: d.provider,
|
|
461
462
|
}));
|
|
462
|
-
|
|
463
|
-
export const unmarshalGetPublishedListingForConsumer_ResponseSchema = z
|
|
463
|
+
export const unmarshalGetPublishedListingForConsumerResponseSchema = z
|
|
464
464
|
.object({
|
|
465
465
|
listing: z.lazy(() => unmarshalListingSchema).optional(),
|
|
466
466
|
})
|
|
467
467
|
.transform(d => ({
|
|
468
468
|
listing: d.listing,
|
|
469
469
|
}));
|
|
470
|
-
|
|
471
|
-
export const unmarshalGetPublishedProviderForConsumer_ResponseSchema = z
|
|
470
|
+
export const unmarshalGetPublishedListingsForConsumerResponseSchema = z
|
|
472
471
|
.object({
|
|
473
|
-
|
|
472
|
+
listings: z.array(z.lazy(() => unmarshalListingSchema)).optional(),
|
|
473
|
+
next_page_token: z.string().optional(),
|
|
474
474
|
})
|
|
475
475
|
.transform(d => ({
|
|
476
|
-
|
|
476
|
+
listings: d.listings,
|
|
477
|
+
nextPageToken: d.next_page_token,
|
|
477
478
|
}));
|
|
478
|
-
|
|
479
|
-
export const unmarshalInstallListing_ResponseSchema = z
|
|
479
|
+
export const unmarshalGetPublishedProviderForConsumerResponseSchema = z
|
|
480
480
|
.object({
|
|
481
|
-
|
|
481
|
+
provider: z.lazy(() => unmarshalProviderInfoSchema).optional(),
|
|
482
482
|
})
|
|
483
483
|
.transform(d => ({
|
|
484
|
-
|
|
484
|
+
provider: d.provider,
|
|
485
485
|
}));
|
|
486
486
|
export const unmarshalInstallationDetailSchema = z
|
|
487
487
|
.object({
|
|
@@ -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.
|
|
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.
|
|
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
|
})
|
|
@@ -517,6 +517,17 @@ export const unmarshalInstallationDetailSchema = z
|
|
|
517
517
|
tokens: d.tokens,
|
|
518
518
|
tokenDetail: d.token_detail,
|
|
519
519
|
}));
|
|
520
|
+
export const unmarshalListAllInstallationsResponseSchema = z
|
|
521
|
+
.object({
|
|
522
|
+
installations: z
|
|
523
|
+
.array(z.lazy(() => unmarshalInstallationDetailSchema))
|
|
524
|
+
.optional(),
|
|
525
|
+
next_page_token: z.string().optional(),
|
|
526
|
+
})
|
|
527
|
+
.transform(d => ({
|
|
528
|
+
installations: d.installations,
|
|
529
|
+
nextPageToken: d.next_page_token,
|
|
530
|
+
}));
|
|
520
531
|
export const unmarshalListExchangeFiltersResponseSchema = z
|
|
521
532
|
.object({
|
|
522
533
|
filters: z.array(z.lazy(() => unmarshalExchangeFilterSchema)).optional(),
|
|
@@ -546,8 +557,7 @@ export const unmarshalListExchangesResponseSchema = z
|
|
|
546
557
|
exchanges: d.exchanges,
|
|
547
558
|
nextPageToken: d.next_page_token,
|
|
548
559
|
}));
|
|
549
|
-
|
|
550
|
-
export const unmarshalListFilesRequest_ResponseSchema = z
|
|
560
|
+
export const unmarshalListFilesResponseSchema = z
|
|
551
561
|
.object({
|
|
552
562
|
file_infos: z.array(z.lazy(() => unmarshalFileInfoSchema)).optional(),
|
|
553
563
|
next_page_token: z.string().optional(),
|
|
@@ -556,28 +566,26 @@ export const unmarshalListFilesRequest_ResponseSchema = z
|
|
|
556
566
|
fileInfos: d.file_infos,
|
|
557
567
|
nextPageToken: d.next_page_token,
|
|
558
568
|
}));
|
|
559
|
-
|
|
560
|
-
export const unmarshalListInstallationsRequest_ResponseSchema = z
|
|
569
|
+
export const unmarshalListFulfillmentsResponseSchema = z
|
|
561
570
|
.object({
|
|
562
|
-
|
|
563
|
-
.array(z.lazy(() =>
|
|
571
|
+
fulfillments: z
|
|
572
|
+
.array(z.lazy(() => unmarshalListingFulfillmentSchema))
|
|
564
573
|
.optional(),
|
|
565
574
|
next_page_token: z.string().optional(),
|
|
566
575
|
})
|
|
567
576
|
.transform(d => ({
|
|
568
|
-
|
|
577
|
+
fulfillments: d.fulfillments,
|
|
569
578
|
nextPageToken: d.next_page_token,
|
|
570
579
|
}));
|
|
571
|
-
|
|
572
|
-
export const unmarshalListListingFulfillmentsRequest_ResponseSchema = z
|
|
580
|
+
export const unmarshalListInstallationsResponseSchema = z
|
|
573
581
|
.object({
|
|
574
|
-
|
|
575
|
-
.array(z.lazy(() =>
|
|
582
|
+
installations: z
|
|
583
|
+
.array(z.lazy(() => unmarshalInstallationDetailSchema))
|
|
576
584
|
.optional(),
|
|
577
585
|
next_page_token: z.string().optional(),
|
|
578
586
|
})
|
|
579
587
|
.transform(d => ({
|
|
580
|
-
|
|
588
|
+
installations: d.installations,
|
|
581
589
|
nextPageToken: d.next_page_token,
|
|
582
590
|
}));
|
|
583
591
|
export const unmarshalListListingsForExchangeResponseSchema = z
|
|
@@ -591,30 +599,7 @@ export const unmarshalListListingsForExchangeResponseSchema = z
|
|
|
591
599
|
exchangeListings: d.exchange_listings,
|
|
592
600
|
nextPageToken: d.next_page_token,
|
|
593
601
|
}));
|
|
594
|
-
|
|
595
|
-
export const unmarshalListListingsRequest_ResponseSchema = z
|
|
596
|
-
.object({
|
|
597
|
-
listings: z.array(z.lazy(() => unmarshalListingSchema)).optional(),
|
|
598
|
-
next_page_token: z.string().optional(),
|
|
599
|
-
})
|
|
600
|
-
.transform(d => ({
|
|
601
|
-
listings: d.listings,
|
|
602
|
-
nextPageToken: d.next_page_token,
|
|
603
|
-
}));
|
|
604
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
|
|
605
|
-
export const unmarshalListPersonalizationRequestsForConsumerRequest_ResponseSchema = z
|
|
606
|
-
.object({
|
|
607
|
-
personalization_requests: z
|
|
608
|
-
.array(z.lazy(() => unmarshalPersonalizationRequestSchema))
|
|
609
|
-
.optional(),
|
|
610
|
-
next_page_token: z.string().optional(),
|
|
611
|
-
})
|
|
612
|
-
.transform(d => ({
|
|
613
|
-
personalizationRequests: d.personalization_requests,
|
|
614
|
-
nextPageToken: d.next_page_token,
|
|
615
|
-
}));
|
|
616
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
|
|
617
|
-
export const unmarshalListProviderAnalyticsDashboardRequest_ResponseSchema = z
|
|
602
|
+
export const unmarshalListProviderAnalyticsDashboardResponseSchema = z
|
|
618
603
|
.object({
|
|
619
604
|
id: z.string().optional(),
|
|
620
605
|
version: z
|
|
@@ -628,8 +613,7 @@ export const unmarshalListProviderAnalyticsDashboardRequest_ResponseSchema = z
|
|
|
628
613
|
version: d.version,
|
|
629
614
|
dashboardId: d.dashboard_id,
|
|
630
615
|
}));
|
|
631
|
-
|
|
632
|
-
export const unmarshalListProvidersRequest_ResponseSchema = z
|
|
616
|
+
export const unmarshalListProvidersResponseSchema = z
|
|
633
617
|
.object({
|
|
634
618
|
providers: z.array(z.lazy(() => unmarshalProviderInfoSchema)).optional(),
|
|
635
619
|
next_page_token: z.string().optional(),
|
|
@@ -638,18 +622,7 @@ export const unmarshalListProvidersRequest_ResponseSchema = z
|
|
|
638
622
|
providers: d.providers,
|
|
639
623
|
nextPageToken: d.next_page_token,
|
|
640
624
|
}));
|
|
641
|
-
|
|
642
|
-
export const unmarshalListPublishedListingsForConsumerRequest_ResponseSchema = z
|
|
643
|
-
.object({
|
|
644
|
-
listings: z.array(z.lazy(() => unmarshalListingSchema)).optional(),
|
|
645
|
-
next_page_token: z.string().optional(),
|
|
646
|
-
})
|
|
647
|
-
.transform(d => ({
|
|
648
|
-
listings: d.listings,
|
|
649
|
-
nextPageToken: d.next_page_token,
|
|
650
|
-
}));
|
|
651
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
|
|
652
|
-
export const unmarshalListPublishedProvidersForConsumer_ResponseSchema = z
|
|
625
|
+
export const unmarshalListPublishedProvidersForConsumerResponseSchema = z
|
|
653
626
|
.object({
|
|
654
627
|
providers: z.array(z.lazy(() => unmarshalProviderInfoSchema)).optional(),
|
|
655
628
|
next_page_token: z.string().optional(),
|
|
@@ -681,7 +654,7 @@ export const unmarshalListingDetailSchema = z
|
|
|
681
654
|
.array(z.lazy(() => unmarshalFileInfoSchema))
|
|
682
655
|
.optional(),
|
|
683
656
|
geographical_coverage: z.string().optional(),
|
|
684
|
-
cost: z.
|
|
657
|
+
cost: z.string().optional(),
|
|
685
658
|
pricing_model: z.string().optional(),
|
|
686
659
|
update_frequency: z.lazy(() => unmarshalDataRefreshInfoSchema).optional(),
|
|
687
660
|
collection_granularity: z
|
|
@@ -697,7 +670,7 @@ export const unmarshalListingDetailSchema = z
|
|
|
697
670
|
.optional(),
|
|
698
671
|
data_source: z.string().optional(),
|
|
699
672
|
size: z.number().optional(),
|
|
700
|
-
assets: z.array(z.
|
|
673
|
+
assets: z.array(z.string()).optional(),
|
|
701
674
|
license: z.string().optional(),
|
|
702
675
|
tags: z.array(z.lazy(() => unmarshalListingTagSchema)).optional(),
|
|
703
676
|
})
|
|
@@ -725,10 +698,10 @@ export const unmarshalListingDetailSchema = z
|
|
|
725
698
|
export const unmarshalListingFulfillmentSchema = z
|
|
726
699
|
.object({
|
|
727
700
|
listing_id: z.string().optional(),
|
|
728
|
-
fulfillment_type: z.
|
|
701
|
+
fulfillment_type: z.string().optional(),
|
|
729
702
|
share_info: z.lazy(() => unmarshalShareInfoSchema).optional(),
|
|
730
703
|
repo_info: z.lazy(() => unmarshalRepoInfoSchema).optional(),
|
|
731
|
-
recipient_type: z.
|
|
704
|
+
recipient_type: z.string().optional(),
|
|
732
705
|
})
|
|
733
706
|
.transform(d => ({
|
|
734
707
|
listingId: d.listing_id,
|
|
@@ -739,7 +712,7 @@ export const unmarshalListingFulfillmentSchema = z
|
|
|
739
712
|
}));
|
|
740
713
|
export const unmarshalListingSettingSchema = z
|
|
741
714
|
.object({
|
|
742
|
-
visibility: z.
|
|
715
|
+
visibility: z.string().optional(),
|
|
743
716
|
})
|
|
744
717
|
.transform(d => ({
|
|
745
718
|
visibility: d.visibility,
|
|
@@ -748,7 +721,7 @@ export const unmarshalListingSummarySchema = z
|
|
|
748
721
|
.object({
|
|
749
722
|
name: z.string().optional(),
|
|
750
723
|
subtitle: z.string().optional(),
|
|
751
|
-
status: z.
|
|
724
|
+
status: z.string().optional(),
|
|
752
725
|
share: z.lazy(() => unmarshalShareInfoSchema).optional(),
|
|
753
726
|
provider_region: z.lazy(() => unmarshalRegionInfoSchema).optional(),
|
|
754
727
|
setting: z.lazy(() => unmarshalListingSettingSchema).optional(),
|
|
@@ -767,8 +740,8 @@ export const unmarshalListingSummarySchema = z
|
|
|
767
740
|
.transform(v => BigInt(v))
|
|
768
741
|
.optional(),
|
|
769
742
|
published_by: z.string().optional(),
|
|
770
|
-
categories: z.array(z.
|
|
771
|
-
listingType: z.
|
|
743
|
+
categories: z.array(z.string()).optional(),
|
|
744
|
+
listingType: z.string().optional(),
|
|
772
745
|
created_by_id: z
|
|
773
746
|
.union([z.number(), z.bigint()])
|
|
774
747
|
.transform(v => BigInt(v))
|
|
@@ -804,7 +777,7 @@ export const unmarshalListingSummarySchema = z
|
|
|
804
777
|
}));
|
|
805
778
|
export const unmarshalListingTagSchema = z
|
|
806
779
|
.object({
|
|
807
|
-
tag_name: z.
|
|
780
|
+
tag_name: z.string().optional(),
|
|
808
781
|
tag_values: z.array(z.string()).optional(),
|
|
809
782
|
})
|
|
810
783
|
.transform(d => ({
|
|
@@ -818,7 +791,7 @@ export const unmarshalPersonalizationRequestSchema = z
|
|
|
818
791
|
contact_info: z.lazy(() => unmarshalContactInfoSchema).optional(),
|
|
819
792
|
comment: z.string().optional(),
|
|
820
793
|
intended_use: z.string().optional(),
|
|
821
|
-
status: z.
|
|
794
|
+
status: z.string().optional(),
|
|
822
795
|
status_message: z.string().optional(),
|
|
823
796
|
share: z.lazy(() => unmarshalShareInfoSchema).optional(),
|
|
824
797
|
created_at: z
|
|
@@ -834,7 +807,7 @@ export const unmarshalPersonalizationRequestSchema = z
|
|
|
834
807
|
listing_name: z.string().optional(),
|
|
835
808
|
is_from_lighthouse: z.boolean().optional(),
|
|
836
809
|
provider_id: z.string().optional(),
|
|
837
|
-
recipient_type: z.
|
|
810
|
+
recipient_type: z.string().optional(),
|
|
838
811
|
})
|
|
839
812
|
.transform(d => ({
|
|
840
813
|
id: d.id,
|
|
@@ -904,8 +877,7 @@ export const unmarshalRepoInfoSchema = z
|
|
|
904
877
|
.transform(d => ({
|
|
905
878
|
gitRepoUrl: d.git_repo_url,
|
|
906
879
|
}));
|
|
907
|
-
|
|
908
|
-
export const unmarshalSearchPublishedListingsForConsumer_ResponseSchema = z
|
|
880
|
+
export const unmarshalSearchPublishedListingsForConsumerResponseSchema = z
|
|
909
881
|
.object({
|
|
910
882
|
listings: z.array(z.lazy(() => unmarshalListingSchema)).optional(),
|
|
911
883
|
next_page_token: z.string().optional(),
|
|
@@ -917,7 +889,7 @@ export const unmarshalSearchPublishedListingsForConsumer_ResponseSchema = z
|
|
|
917
889
|
export const unmarshalShareInfoSchema = z
|
|
918
890
|
.object({
|
|
919
891
|
name: z.string().optional(),
|
|
920
|
-
type: z.
|
|
892
|
+
type: z.string().optional(),
|
|
921
893
|
})
|
|
922
894
|
.transform(d => ({
|
|
923
895
|
name: d.name,
|
|
@@ -973,8 +945,6 @@ export const unmarshalTokenInfoSchema = z
|
|
|
973
945
|
updatedAt: d.updated_at,
|
|
974
946
|
updatedBy: d.updated_by,
|
|
975
947
|
}));
|
|
976
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
|
|
977
|
-
export const unmarshalUninstallListing_ResponseSchema = z.object({});
|
|
978
948
|
export const unmarshalUpdateExchangeFilterResponseSchema = z
|
|
979
949
|
.object({
|
|
980
950
|
filter: z.lazy(() => unmarshalExchangeFilterSchema).optional(),
|
|
@@ -989,32 +959,28 @@ export const unmarshalUpdateExchangeResponseSchema = z
|
|
|
989
959
|
.transform(d => ({
|
|
990
960
|
exchange: d.exchange,
|
|
991
961
|
}));
|
|
992
|
-
|
|
993
|
-
export const unmarshalUpdateInstallationDetail_ResponseSchema = z
|
|
962
|
+
export const unmarshalUpdateInstallationResponseSchema = z
|
|
994
963
|
.object({
|
|
995
964
|
installation: z.lazy(() => unmarshalInstallationDetailSchema).optional(),
|
|
996
965
|
})
|
|
997
966
|
.transform(d => ({
|
|
998
967
|
installation: d.installation,
|
|
999
968
|
}));
|
|
1000
|
-
|
|
1001
|
-
export const unmarshalUpdateListingRequest_ResponseSchema = z
|
|
969
|
+
export const unmarshalUpdateListingResponseSchema = z
|
|
1002
970
|
.object({
|
|
1003
971
|
listing: z.lazy(() => unmarshalListingSchema).optional(),
|
|
1004
972
|
})
|
|
1005
973
|
.transform(d => ({
|
|
1006
974
|
listing: d.listing,
|
|
1007
975
|
}));
|
|
1008
|
-
|
|
1009
|
-
export const unmarshalUpdatePersonalizationRequestStatusRequest_ResponseSchema = z
|
|
976
|
+
export const unmarshalUpdatePersonalizationRequestStatusResponseSchema = z
|
|
1010
977
|
.object({
|
|
1011
978
|
request: z.lazy(() => unmarshalPersonalizationRequestSchema).optional(),
|
|
1012
979
|
})
|
|
1013
980
|
.transform(d => ({
|
|
1014
981
|
request: d.request,
|
|
1015
982
|
}));
|
|
1016
|
-
|
|
1017
|
-
export const unmarshalUpdateProviderAnalyticsDashboardRequest_ResponseSchema = z
|
|
983
|
+
export const unmarshalUpdateProviderAnalyticsDashboardResponseSchema = z
|
|
1018
984
|
.object({
|
|
1019
985
|
id: z.string().optional(),
|
|
1020
986
|
version: z
|
|
@@ -1028,8 +994,7 @@ export const unmarshalUpdateProviderAnalyticsDashboardRequest_ResponseSchema = z
|
|
|
1028
994
|
version: d.version,
|
|
1029
995
|
dashboardId: d.dashboard_id,
|
|
1030
996
|
}));
|
|
1031
|
-
|
|
1032
|
-
export const unmarshalUpdateProviderRequest_ResponseSchema = z
|
|
997
|
+
export const unmarshalUpdateProviderResponseSchema = z
|
|
1033
998
|
.object({
|
|
1034
999
|
provider: z.lazy(() => unmarshalProviderInfoSchema).optional(),
|
|
1035
1000
|
})
|
|
@@ -1069,7 +1034,7 @@ export const marshalCreateExchangeRequestSchema = z
|
|
|
1069
1034
|
export const marshalCreateFileRequestSchema = z
|
|
1070
1035
|
.object({
|
|
1071
1036
|
fileParent: z.lazy(() => marshalFileParentSchema).optional(),
|
|
1072
|
-
marketplaceFileType: z.
|
|
1037
|
+
marketplaceFileType: z.string().optional(),
|
|
1073
1038
|
mimeType: z.string().optional(),
|
|
1074
1039
|
displayName: z.string().optional(),
|
|
1075
1040
|
})
|
|
@@ -1095,7 +1060,7 @@ export const marshalCreatePersonalizationRequestSchema = z
|
|
|
1095
1060
|
lastName: z.string().optional(),
|
|
1096
1061
|
company: z.string().optional(),
|
|
1097
1062
|
isFromLighthouse: z.boolean().optional(),
|
|
1098
|
-
recipientType: z.
|
|
1063
|
+
recipientType: z.string().optional(),
|
|
1099
1064
|
acceptedConsumerTerms: z.lazy(() => marshalConsumerTermsSchema).optional(),
|
|
1100
1065
|
})
|
|
1101
1066
|
.transform(d => ({
|
|
@@ -1120,7 +1085,7 @@ export const marshalCreateProviderRequestSchema = z
|
|
|
1120
1085
|
export const marshalDataRefreshInfoSchema = z
|
|
1121
1086
|
.object({
|
|
1122
1087
|
interval: z.bigint().optional(),
|
|
1123
|
-
unit: z.
|
|
1088
|
+
unit: z.string().optional(),
|
|
1124
1089
|
})
|
|
1125
1090
|
.transform(d => ({
|
|
1126
1091
|
interval: d.interval,
|
|
@@ -1161,7 +1126,7 @@ export const marshalExchangeFilterSchema = z
|
|
|
1161
1126
|
createdBy: z.string().optional(),
|
|
1162
1127
|
updatedAt: z.bigint().optional(),
|
|
1163
1128
|
updatedBy: z.string().optional(),
|
|
1164
|
-
filterType: z.
|
|
1129
|
+
filterType: z.string().optional(),
|
|
1165
1130
|
})
|
|
1166
1131
|
.transform(d => ({
|
|
1167
1132
|
id: d.id,
|
|
@@ -1196,14 +1161,14 @@ export const marshalExchangeListingSchema = z
|
|
|
1196
1161
|
export const marshalFileInfoSchema = z
|
|
1197
1162
|
.object({
|
|
1198
1163
|
id: z.string().optional(),
|
|
1199
|
-
marketplaceFileType: z.
|
|
1164
|
+
marketplaceFileType: z.string().optional(),
|
|
1200
1165
|
fileParent: z.lazy(() => marshalFileParentSchema).optional(),
|
|
1201
1166
|
mimeType: z.string().optional(),
|
|
1202
1167
|
downloadLink: z.string().optional(),
|
|
1203
1168
|
createdAt: z.bigint().optional(),
|
|
1204
1169
|
updatedAt: z.bigint().optional(),
|
|
1205
1170
|
displayName: z.string().optional(),
|
|
1206
|
-
status: z.
|
|
1171
|
+
status: z.string().optional(),
|
|
1207
1172
|
statusMessage: z.string().optional(),
|
|
1208
1173
|
})
|
|
1209
1174
|
.transform(d => ({
|
|
@@ -1221,7 +1186,7 @@ export const marshalFileInfoSchema = z
|
|
|
1221
1186
|
export const marshalFileParentSchema = z
|
|
1222
1187
|
.object({
|
|
1223
1188
|
parentId: z.string().optional(),
|
|
1224
|
-
fileParentType: z.
|
|
1189
|
+
fileParentType: z.string().optional(),
|
|
1225
1190
|
})
|
|
1226
1191
|
.transform(d => ({
|
|
1227
1192
|
parent_id: d.parentId,
|
|
@@ -1233,7 +1198,7 @@ export const marshalInstallListingSchema = z
|
|
|
1233
1198
|
shareName: z.string().optional(),
|
|
1234
1199
|
catalogName: z.string().optional(),
|
|
1235
1200
|
repoDetail: z.lazy(() => marshalRepoInstallationSchema).optional(),
|
|
1236
|
-
recipientType: z.
|
|
1201
|
+
recipientType: z.string().optional(),
|
|
1237
1202
|
acceptedConsumerTerms: z.lazy(() => marshalConsumerTermsSchema).optional(),
|
|
1238
1203
|
})
|
|
1239
1204
|
.transform(d => ({
|
|
@@ -1251,12 +1216,12 @@ export const marshalInstallationDetailSchema = z
|
|
|
1251
1216
|
shareName: z.string().optional(),
|
|
1252
1217
|
catalogName: z.string().optional(),
|
|
1253
1218
|
installedOn: z.bigint().optional(),
|
|
1254
|
-
status: z.
|
|
1219
|
+
status: z.string().optional(),
|
|
1255
1220
|
errorMessage: z.string().optional(),
|
|
1256
1221
|
listingName: z.string().optional(),
|
|
1257
1222
|
repoName: z.string().optional(),
|
|
1258
1223
|
repoPath: z.string().optional(),
|
|
1259
|
-
recipientType: z.
|
|
1224
|
+
recipientType: z.string().optional(),
|
|
1260
1225
|
tokens: z.array(z.lazy(() => marshalTokenInfoSchema)).optional(),
|
|
1261
1226
|
tokenDetail: z.lazy(() => marshalTokenDetailSchema).optional(),
|
|
1262
1227
|
})
|
|
@@ -1298,7 +1263,7 @@ export const marshalListingDetailSchema = z
|
|
|
1298
1263
|
.array(z.lazy(() => marshalFileInfoSchema))
|
|
1299
1264
|
.optional(),
|
|
1300
1265
|
geographicalCoverage: z.string().optional(),
|
|
1301
|
-
cost: z.
|
|
1266
|
+
cost: z.string().optional(),
|
|
1302
1267
|
pricingModel: z.string().optional(),
|
|
1303
1268
|
updateFrequency: z.lazy(() => marshalDataRefreshInfoSchema).optional(),
|
|
1304
1269
|
collectionGranularity: z
|
|
@@ -1308,7 +1273,7 @@ export const marshalListingDetailSchema = z
|
|
|
1308
1273
|
collectionDateEnd: z.bigint().optional(),
|
|
1309
1274
|
dataSource: z.string().optional(),
|
|
1310
1275
|
size: z.number().optional(),
|
|
1311
|
-
assets: z.array(z.
|
|
1276
|
+
assets: z.array(z.string()).optional(),
|
|
1312
1277
|
license: z.string().optional(),
|
|
1313
1278
|
tags: z.array(z.lazy(() => marshalListingTagSchema)).optional(),
|
|
1314
1279
|
})
|
|
@@ -1335,7 +1300,7 @@ export const marshalListingDetailSchema = z
|
|
|
1335
1300
|
}));
|
|
1336
1301
|
export const marshalListingSettingSchema = z
|
|
1337
1302
|
.object({
|
|
1338
|
-
visibility: z.
|
|
1303
|
+
visibility: z.string().optional(),
|
|
1339
1304
|
})
|
|
1340
1305
|
.transform(d => ({
|
|
1341
1306
|
visibility: d.visibility,
|
|
@@ -1344,7 +1309,7 @@ export const marshalListingSummarySchema = z
|
|
|
1344
1309
|
.object({
|
|
1345
1310
|
name: z.string().optional(),
|
|
1346
1311
|
subtitle: z.string().optional(),
|
|
1347
|
-
status: z.
|
|
1312
|
+
status: z.string().optional(),
|
|
1348
1313
|
share: z.lazy(() => marshalShareInfoSchema).optional(),
|
|
1349
1314
|
providerRegion: z.lazy(() => marshalRegionInfoSchema).optional(),
|
|
1350
1315
|
setting: z.lazy(() => marshalListingSettingSchema).optional(),
|
|
@@ -1354,8 +1319,8 @@ export const marshalListingSummarySchema = z
|
|
|
1354
1319
|
updatedBy: z.string().optional(),
|
|
1355
1320
|
publishedAt: z.bigint().optional(),
|
|
1356
1321
|
publishedBy: z.string().optional(),
|
|
1357
|
-
categories: z.array(z.
|
|
1358
|
-
listingType: z.
|
|
1322
|
+
categories: z.array(z.string()).optional(),
|
|
1323
|
+
listingType: z.string().optional(),
|
|
1359
1324
|
createdById: z.bigint().optional(),
|
|
1360
1325
|
updatedById: z.bigint().optional(),
|
|
1361
1326
|
providerId: z.string().optional(),
|
|
@@ -1385,7 +1350,7 @@ export const marshalListingSummarySchema = z
|
|
|
1385
1350
|
}));
|
|
1386
1351
|
export const marshalListingTagSchema = z
|
|
1387
1352
|
.object({
|
|
1388
|
-
tagName: z.
|
|
1353
|
+
tagName: z.string().optional(),
|
|
1389
1354
|
tagValues: z.array(z.string()).optional(),
|
|
1390
1355
|
})
|
|
1391
1356
|
.transform(d => ({
|
|
@@ -1453,7 +1418,7 @@ export const marshalRepoInstallationSchema = z
|
|
|
1453
1418
|
export const marshalShareInfoSchema = z
|
|
1454
1419
|
.object({
|
|
1455
1420
|
name: z.string().optional(),
|
|
1456
|
-
type: z.
|
|
1421
|
+
type: z.string().optional(),
|
|
1457
1422
|
})
|
|
1458
1423
|
.transform(d => ({
|
|
1459
1424
|
name: d.name,
|
|
@@ -1535,7 +1500,7 @@ export const marshalUpdatePersonalizationRequestStatusRequestSchema = z
|
|
|
1535
1500
|
.object({
|
|
1536
1501
|
listingId: z.string().optional(),
|
|
1537
1502
|
requestId: z.string().optional(),
|
|
1538
|
-
status: z.
|
|
1503
|
+
status: z.string().optional(),
|
|
1539
1504
|
reason: z.string().optional(),
|
|
1540
1505
|
share: z.lazy(() => marshalShareInfoSchema).optional(),
|
|
1541
1506
|
})
|