@databricks/sdk-settings 0.34.0 → 0.36.0

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/v2/model.js CHANGED
@@ -1,825 +1,478 @@
1
- // Code generated from API definition by Databricks SDK Generator. DO NOT EDIT.
2
- import { z } from 'zod';
1
+ import { z } from "zod";
2
+
3
+ //#region src/v2/model.ts
3
4
  /**
4
- * Preview phase for settings that are feature previews.
5
- * For settings that are not feature previews, the preview_phase field is left unset.
6
- * Mirrors only the customer-facing phases surfaced in the UI; internal-only phases
7
- * (DISABLED, DEV, UNDER_MIGRATION, LAUNCHED, etc.) are not exposed here.
8
- */
9
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
10
- export const PreviewPhase = {
11
- /** Default value. Indicates the preview phase is unknown or the setting is not a feature preview. */
12
- PREVIEW_PHASE_UNSPECIFIED: 'PREVIEW_PHASE_UNSPECIFIED',
13
- /** The feature is in private preview, available only to specifically enrolled customers. */
14
- PRIVATE_PREVIEW: 'PRIVATE_PREVIEW',
15
- /**
16
- * The feature is in public preview, available to all customers. Also used for gated public
17
- * preview (available to customers who request access) since the distinction is internal.
18
- */
19
- PUBLIC_PREVIEW: 'PUBLIC_PREVIEW',
20
- /** The feature is in beta. */
21
- BETA: 'BETA',
22
- /** The feature is approaching general availability. */
23
- GA_SOON: 'GA_SOON',
24
- /** The feature has reached general availability. */
25
- GA: 'GA',
5
+ * Preview phase for settings that are feature previews.
6
+ * For settings that are not feature previews, the preview_phase field is left unset.
7
+ * Mirrors only the customer-facing phases surfaced in the UI; internal-only phases
8
+ * (DISABLED, DEV, UNDER_MIGRATION, LAUNCHED, etc.) are not exposed here.
9
+ */
10
+ const PreviewPhase = {
11
+ PREVIEW_PHASE_UNSPECIFIED: "PREVIEW_PHASE_UNSPECIFIED",
12
+ PRIVATE_PREVIEW: "PRIVATE_PREVIEW",
13
+ PUBLIC_PREVIEW: "PUBLIC_PREVIEW",
14
+ BETA: "BETA",
15
+ GA_SOON: "GA_SOON",
16
+ GA: "GA"
26
17
  };
27
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
28
- export const AibiDashboardEmbeddingAccessPolicy_AccessPolicyType = {
29
- ACCESS_POLICY_TYPE_UNSPECIFIED: 'ACCESS_POLICY_TYPE_UNSPECIFIED',
30
- ALLOW_ALL_DOMAINS: 'ALLOW_ALL_DOMAINS',
31
- ALLOW_APPROVED_DOMAINS: 'ALLOW_APPROVED_DOMAINS',
32
- DENY_ALL_DOMAINS: 'DENY_ALL_DOMAINS',
18
+ const AibiDashboardEmbeddingAccessPolicy_AccessPolicyType = {
19
+ ACCESS_POLICY_TYPE_UNSPECIFIED: "ACCESS_POLICY_TYPE_UNSPECIFIED",
20
+ ALLOW_ALL_DOMAINS: "ALLOW_ALL_DOMAINS",
21
+ ALLOW_APPROVED_DOMAINS: "ALLOW_APPROVED_DOMAINS",
22
+ DENY_ALL_DOMAINS: "DENY_ALL_DOMAINS"
33
23
  };
34
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
35
- export const ClusterAutoRestartMessage_MaintenanceWindow_DayOfWeek = {
36
- DAY_OF_WEEK_UNSPECIFIED: 'DAY_OF_WEEK_UNSPECIFIED',
37
- MONDAY: 'MONDAY',
38
- TUESDAY: 'TUESDAY',
39
- WEDNESDAY: 'WEDNESDAY',
40
- THURSDAY: 'THURSDAY',
41
- FRIDAY: 'FRIDAY',
42
- SATURDAY: 'SATURDAY',
43
- SUNDAY: 'SUNDAY',
24
+ const ClusterAutoRestartMessage_MaintenanceWindow_DayOfWeek = {
25
+ DAY_OF_WEEK_UNSPECIFIED: "DAY_OF_WEEK_UNSPECIFIED",
26
+ MONDAY: "MONDAY",
27
+ TUESDAY: "TUESDAY",
28
+ WEDNESDAY: "WEDNESDAY",
29
+ THURSDAY: "THURSDAY",
30
+ FRIDAY: "FRIDAY",
31
+ SATURDAY: "SATURDAY",
32
+ SUNDAY: "SUNDAY"
44
33
  };
45
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
46
- export const ClusterAutoRestartMessage_MaintenanceWindow_WeekDayFrequency = {
47
- WEEK_DAY_FREQUENCY_UNSPECIFIED: 'WEEK_DAY_FREQUENCY_UNSPECIFIED',
48
- FIRST_OF_MONTH: 'FIRST_OF_MONTH',
49
- SECOND_OF_MONTH: 'SECOND_OF_MONTH',
50
- THIRD_OF_MONTH: 'THIRD_OF_MONTH',
51
- FOURTH_OF_MONTH: 'FOURTH_OF_MONTH',
52
- FIRST_AND_THIRD_OF_MONTH: 'FIRST_AND_THIRD_OF_MONTH',
53
- SECOND_AND_FOURTH_OF_MONTH: 'SECOND_AND_FOURTH_OF_MONTH',
54
- EVERY_WEEK: 'EVERY_WEEK',
34
+ const ClusterAutoRestartMessage_MaintenanceWindow_WeekDayFrequency = {
35
+ WEEK_DAY_FREQUENCY_UNSPECIFIED: "WEEK_DAY_FREQUENCY_UNSPECIFIED",
36
+ FIRST_OF_MONTH: "FIRST_OF_MONTH",
37
+ SECOND_OF_MONTH: "SECOND_OF_MONTH",
38
+ THIRD_OF_MONTH: "THIRD_OF_MONTH",
39
+ FOURTH_OF_MONTH: "FOURTH_OF_MONTH",
40
+ FIRST_AND_THIRD_OF_MONTH: "FIRST_AND_THIRD_OF_MONTH",
41
+ SECOND_AND_FOURTH_OF_MONTH: "SECOND_AND_FOURTH_OF_MONTH",
42
+ EVERY_WEEK: "EVERY_WEEK"
55
43
  };
56
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
57
- export const CollaborationPlatformConnectivityMessage_Connectivity = {
58
- CONNECTIVITY_UNSPECIFIED: 'CONNECTIVITY_UNSPECIFIED',
59
- ALLOW_ALL: 'ALLOW_ALL',
60
- ALLOW_TEAMS: 'ALLOW_TEAMS',
61
- ALLOW_SLACK: 'ALLOW_SLACK',
62
- DENY_ALL: 'DENY_ALL',
44
+ const CollaborationPlatformConnectivityMessage_Connectivity = {
45
+ CONNECTIVITY_UNSPECIFIED: "CONNECTIVITY_UNSPECIFIED",
46
+ ALLOW_ALL: "ALLOW_ALL",
47
+ ALLOW_TEAMS: "ALLOW_TEAMS",
48
+ ALLOW_SLACK: "ALLOW_SLACK",
49
+ DENY_ALL: "DENY_ALL"
63
50
  };
64
51
  /**
65
- * ON: Grants all users in all workspaces access to the Personal Compute default policy, allowing all users to create single-machine compute resources.
66
- * DELEGATE: Moves access control for the Personal Compute default policy to individual workspaces and requires a workspace’s users or groups to be added to the ACLs of that workspace’s Personal Compute default policy before they will be able to create compute resources through that policy.
67
- */
68
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
69
- export const PersonalComputeMessage_PersonalComputeMessageEnum = {
70
- PERSONAL_COMPUTE_MESSAGE_ENUM_UNSPECIFIED: 'PERSONAL_COMPUTE_MESSAGE_ENUM_UNSPECIFIED',
71
- ON: 'ON',
72
- DELEGATE: 'DELEGATE',
52
+ * ON: Grants all users in all workspaces access to the Personal Compute default policy, allowing all users to create single-machine compute resources.
53
+ * DELEGATE: Moves access control for the Personal Compute default policy to individual workspaces and requires a workspace’s users or groups to be added to the ACLs of that workspace’s Personal Compute default policy before they will be able to create compute resources through that policy.
54
+ */
55
+ const PersonalComputeMessage_PersonalComputeMessageEnum = {
56
+ PERSONAL_COMPUTE_MESSAGE_ENUM_UNSPECIFIED: "PERSONAL_COMPUTE_MESSAGE_ENUM_UNSPECIFIED",
57
+ ON: "ON",
58
+ DELEGATE: "DELEGATE"
73
59
  };
74
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
75
- export const RestrictWorkspaceAdminsMessage_Status = {
76
- /** Default value for proto enum */
77
- STATUS_UNSPECIFIED: 'STATUS_UNSPECIFIED',
78
- /**
79
- * Default value for existing workspaces
80
- * Allows WS admins to create OBO tokens for all SPs in the workspace without explicit permissions.
81
- */
82
- ALLOW_ALL: 'ALLOW_ALL',
83
- /**
84
- * Default value for new workspaces
85
- * Restrict WS admins to create OBO tokens for SPs in the workspace unless corresponding permissions are provided
86
- */
87
- RESTRICT_TOKENS_AND_JOB_RUN_AS: 'RESTRICT_TOKENS_AND_JOB_RUN_AS',
60
+ const RestrictWorkspaceAdminsMessage_Status = {
61
+ STATUS_UNSPECIFIED: "STATUS_UNSPECIFIED",
62
+ ALLOW_ALL: "ALLOW_ALL",
63
+ RESTRICT_TOKENS_AND_JOB_RUN_AS: "RESTRICT_TOKENS_AND_JOB_RUN_AS"
88
64
  };
89
- export const unmarshalAibiDashboardEmbeddingAccessPolicySchema = z
90
- .object({
91
- access_policy_type: z.string().optional(),
92
- })
93
- .transform(d => ({
94
- accessPolicyType: d.access_policy_type,
95
- }));
96
- export const unmarshalAibiDashboardEmbeddingApprovedDomainsSchema = z
97
- .object({
98
- approved_domains: z.array(z.string()).optional(),
99
- })
100
- .transform(d => ({
101
- approvedDomains: d.approved_domains,
102
- }));
103
- export const unmarshalAllowedAppsUserApiScopesMessageSchema = z
104
- .object({
105
- allowed_scopes: z.array(z.string()).optional(),
106
- })
107
- .transform(d => ({
108
- allowedScopes: d.allowed_scopes,
109
- }));
110
- export const unmarshalBooleanMessageSchema = z
111
- .object({
112
- value: z.boolean().optional(),
113
- })
114
- .transform(d => ({
115
- value: d.value,
116
- }));
117
- export const unmarshalClusterAutoRestartMessageSchema = z
118
- .object({
119
- enabled: z.boolean().optional(),
120
- can_toggle: z.boolean().optional(),
121
- maintenance_window: z
122
- .lazy(() => unmarshalClusterAutoRestartMessage_MaintenanceWindowSchema)
123
- .optional(),
124
- enablement_details: z
125
- .lazy(() => unmarshalClusterAutoRestartMessage_EnablementDetailsSchema)
126
- .optional(),
127
- restart_even_if_no_updates_available: z.boolean().optional(),
128
- })
129
- .transform(d => ({
130
- enabled: d.enabled,
131
- canToggle: d.can_toggle,
132
- maintenanceWindow: d.maintenance_window,
133
- enablementDetails: d.enablement_details,
134
- restartEvenIfNoUpdatesAvailable: d.restart_even_if_no_updates_available,
135
- }));
136
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
137
- export const unmarshalClusterAutoRestartMessage_EnablementDetailsSchema = z
138
- .object({
139
- unavailable_for_non_enterprise_tier: z.boolean().optional(),
140
- unavailable_for_disabled_entitlement: z.boolean().optional(),
141
- forced_for_compliance_mode: z.boolean().optional(),
142
- })
143
- .transform(d => ({
144
- unavailableForNonEnterpriseTier: d.unavailable_for_non_enterprise_tier,
145
- unavailableForDisabledEntitlement: d.unavailable_for_disabled_entitlement,
146
- forcedForComplianceMode: d.forced_for_compliance_mode,
147
- }));
148
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
149
- export const unmarshalClusterAutoRestartMessage_MaintenanceWindowSchema = z
150
- .object({
151
- week_day_based_schedule: z
152
- .lazy(() => unmarshalClusterAutoRestartMessage_MaintenanceWindow_WeekDayBasedScheduleSchema)
153
- .optional(),
154
- })
155
- .transform(d => ({
156
- weekDayBasedSchedule: d.week_day_based_schedule,
157
- }));
158
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
159
- export const unmarshalClusterAutoRestartMessage_MaintenanceWindow_WeekDayBasedScheduleSchema = z
160
- .object({
161
- frequency: z.string().optional(),
162
- day_of_week: z.string().optional(),
163
- window_start_time: z
164
- .lazy(() => unmarshalClusterAutoRestartMessage_MaintenanceWindow_WindowStartTimeSchema)
165
- .optional(),
166
- })
167
- .transform(d => ({
168
- frequency: d.frequency,
169
- dayOfWeek: d.day_of_week,
170
- windowStartTime: d.window_start_time,
171
- }));
172
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
173
- export const unmarshalClusterAutoRestartMessage_MaintenanceWindow_WindowStartTimeSchema = z
174
- .object({
175
- hours: z.number().optional(),
176
- minutes: z.number().optional(),
177
- })
178
- .transform(d => ({
179
- hours: d.hours,
180
- minutes: d.minutes,
181
- }));
182
- export const unmarshalCollaborationPlatformConnectivityMessageSchema = z
183
- .object({
184
- connectivity: z.string().optional(),
185
- })
186
- .transform(d => ({
187
- connectivity: d.connectivity,
188
- }));
189
- export const unmarshalIntegerMessageSchema = z
190
- .object({
191
- value: z.number().optional(),
192
- })
193
- .transform(d => ({
194
- value: d.value,
195
- }));
196
- export const unmarshalListAccountSettingsMetadataResponseSchema = z
197
- .object({
198
- settings_metadata: z
199
- .array(z.lazy(() => unmarshalSettingsMetadataSchema))
200
- .optional(),
201
- next_page_token: z.string().optional(),
202
- })
203
- .transform(d => ({
204
- settingsMetadata: d.settings_metadata,
205
- nextPageToken: d.next_page_token,
206
- }));
207
- export const unmarshalListAccountUserPreferencesMetadataResponseSchema = z
208
- .object({
209
- settings_metadata: z
210
- .array(z.lazy(() => unmarshalSettingsMetadataSchema))
211
- .optional(),
212
- next_page_token: z.string().optional(),
213
- })
214
- .transform(d => ({
215
- settingsMetadata: d.settings_metadata,
216
- nextPageToken: d.next_page_token,
217
- }));
218
- export const unmarshalListWorkspaceSettingsMetadataResponseSchema = z
219
- .object({
220
- settings_metadata: z
221
- .array(z.lazy(() => unmarshalSettingsMetadataSchema))
222
- .optional(),
223
- next_page_token: z.string().optional(),
224
- })
225
- .transform(d => ({
226
- settingsMetadata: d.settings_metadata,
227
- nextPageToken: d.next_page_token,
228
- }));
229
- export const unmarshalOperationalEmailCustomRecipientMessageSchema = z
230
- .object({
231
- email: z.string().optional(),
232
- })
233
- .transform(d => ({
234
- email: d.email,
235
- }));
236
- export const unmarshalPersonalComputeMessageSchema = z
237
- .object({
238
- value: z.string().optional(),
239
- })
240
- .transform(d => ({
241
- value: d.value,
242
- }));
243
- export const unmarshalRestrictWorkspaceAdminsMessageSchema = z
244
- .object({
245
- status: z.string().optional(),
246
- disable_gov_tag_creation: z.boolean().optional(),
247
- })
248
- .transform(d => ({
249
- status: d.status,
250
- disableGovTagCreation: d.disable_gov_tag_creation,
251
- }));
252
- export const unmarshalSettingSchema = z
253
- .object({
254
- name: z.string().optional(),
255
- boolean_val: z.lazy(() => unmarshalBooleanMessageSchema).optional(),
256
- string_val: z.lazy(() => unmarshalStringMessageSchema).optional(),
257
- integer_val: z.lazy(() => unmarshalIntegerMessageSchema).optional(),
258
- automatic_cluster_update_workspace: z
259
- .lazy(() => unmarshalClusterAutoRestartMessageSchema)
260
- .optional(),
261
- aibi_dashboard_embedding_approved_domains: z
262
- .lazy(() => unmarshalAibiDashboardEmbeddingApprovedDomainsSchema)
263
- .optional(),
264
- aibi_dashboard_embedding_access_policy: z
265
- .lazy(() => unmarshalAibiDashboardEmbeddingAccessPolicySchema)
266
- .optional(),
267
- restrict_workspace_admins: z
268
- .lazy(() => unmarshalRestrictWorkspaceAdminsMessageSchema)
269
- .optional(),
270
- personal_compute: z
271
- .lazy(() => unmarshalPersonalComputeMessageSchema)
272
- .optional(),
273
- allowed_apps_user_api_scopes: z
274
- .lazy(() => unmarshalAllowedAppsUserApiScopesMessageSchema)
275
- .optional(),
276
- operational_email_custom_recipient: z
277
- .lazy(() => unmarshalOperationalEmailCustomRecipientMessageSchema)
278
- .optional(),
279
- collaboration_platform_connectivity: z
280
- .lazy(() => unmarshalCollaborationPlatformConnectivityMessageSchema)
281
- .optional(),
282
- effective_boolean_val: z
283
- .lazy(() => unmarshalBooleanMessageSchema)
284
- .optional(),
285
- effective_string_val: z.lazy(() => unmarshalStringMessageSchema).optional(),
286
- effective_integer_val: z
287
- .lazy(() => unmarshalIntegerMessageSchema)
288
- .optional(),
289
- effective_automatic_cluster_update_workspace: z
290
- .lazy(() => unmarshalClusterAutoRestartMessageSchema)
291
- .optional(),
292
- effective_aibi_dashboard_embedding_approved_domains: z
293
- .lazy(() => unmarshalAibiDashboardEmbeddingApprovedDomainsSchema)
294
- .optional(),
295
- effective_aibi_dashboard_embedding_access_policy: z
296
- .lazy(() => unmarshalAibiDashboardEmbeddingAccessPolicySchema)
297
- .optional(),
298
- effective_restrict_workspace_admins: z
299
- .lazy(() => unmarshalRestrictWorkspaceAdminsMessageSchema)
300
- .optional(),
301
- effective_personal_compute: z
302
- .lazy(() => unmarshalPersonalComputeMessageSchema)
303
- .optional(),
304
- effective_allowed_apps_user_api_scopes: z
305
- .lazy(() => unmarshalAllowedAppsUserApiScopesMessageSchema)
306
- .optional(),
307
- effective_operational_email_custom_recipient: z
308
- .lazy(() => unmarshalOperationalEmailCustomRecipientMessageSchema)
309
- .optional(),
310
- effective_collaboration_platform_connectivity: z
311
- .lazy(() => unmarshalCollaborationPlatformConnectivityMessageSchema)
312
- .optional(),
313
- })
314
- .transform(d => ({
315
- name: d.name,
316
- value: d.boolean_val !== undefined
317
- ? { $case: 'booleanVal', booleanVal: d.boolean_val }
318
- : d.string_val !== undefined
319
- ? { $case: 'stringVal', stringVal: d.string_val }
320
- : d.integer_val !== undefined
321
- ? { $case: 'integerVal', integerVal: d.integer_val }
322
- : d.automatic_cluster_update_workspace !== undefined
323
- ? {
324
- $case: 'automaticClusterUpdateWorkspace',
325
- automaticClusterUpdateWorkspace: d.automatic_cluster_update_workspace,
326
- }
327
- : d.aibi_dashboard_embedding_approved_domains !== undefined
328
- ? {
329
- $case: 'aibiDashboardEmbeddingApprovedDomains',
330
- aibiDashboardEmbeddingApprovedDomains: d.aibi_dashboard_embedding_approved_domains,
331
- }
332
- : d.aibi_dashboard_embedding_access_policy !== undefined
333
- ? {
334
- $case: 'aibiDashboardEmbeddingAccessPolicy',
335
- aibiDashboardEmbeddingAccessPolicy: d.aibi_dashboard_embedding_access_policy,
336
- }
337
- : d.restrict_workspace_admins !== undefined
338
- ? {
339
- $case: 'restrictWorkspaceAdmins',
340
- restrictWorkspaceAdmins: d.restrict_workspace_admins,
341
- }
342
- : d.personal_compute !== undefined
343
- ? {
344
- $case: 'personalCompute',
345
- personalCompute: d.personal_compute,
346
- }
347
- : d.allowed_apps_user_api_scopes !== undefined
348
- ? {
349
- $case: 'allowedAppsUserApiScopes',
350
- allowedAppsUserApiScopes: d.allowed_apps_user_api_scopes,
351
- }
352
- : d.operational_email_custom_recipient !== undefined
353
- ? {
354
- $case: 'operationalEmailCustomRecipient',
355
- operationalEmailCustomRecipient: d.operational_email_custom_recipient,
356
- }
357
- : d.collaboration_platform_connectivity !== undefined
358
- ? {
359
- $case: 'collaborationPlatformConnectivity',
360
- collaborationPlatformConnectivity: d.collaboration_platform_connectivity,
361
- }
362
- : undefined,
363
- effectiveValue: d.effective_boolean_val !== undefined
364
- ? {
365
- $case: 'effectiveBooleanVal',
366
- effectiveBooleanVal: d.effective_boolean_val,
367
- }
368
- : d.effective_string_val !== undefined
369
- ? {
370
- $case: 'effectiveStringVal',
371
- effectiveStringVal: d.effective_string_val,
372
- }
373
- : d.effective_integer_val !== undefined
374
- ? {
375
- $case: 'effectiveIntegerVal',
376
- effectiveIntegerVal: d.effective_integer_val,
377
- }
378
- : d.effective_automatic_cluster_update_workspace !== undefined
379
- ? {
380
- $case: 'effectiveAutomaticClusterUpdateWorkspace',
381
- effectiveAutomaticClusterUpdateWorkspace: d.effective_automatic_cluster_update_workspace,
382
- }
383
- : d.effective_aibi_dashboard_embedding_approved_domains !==
384
- undefined
385
- ? {
386
- $case: 'effectiveAibiDashboardEmbeddingApprovedDomains',
387
- effectiveAibiDashboardEmbeddingApprovedDomains: d.effective_aibi_dashboard_embedding_approved_domains,
388
- }
389
- : d.effective_aibi_dashboard_embedding_access_policy !==
390
- undefined
391
- ? {
392
- $case: 'effectiveAibiDashboardEmbeddingAccessPolicy',
393
- effectiveAibiDashboardEmbeddingAccessPolicy: d.effective_aibi_dashboard_embedding_access_policy,
394
- }
395
- : d.effective_restrict_workspace_admins !== undefined
396
- ? {
397
- $case: 'effectiveRestrictWorkspaceAdmins',
398
- effectiveRestrictWorkspaceAdmins: d.effective_restrict_workspace_admins,
399
- }
400
- : d.effective_personal_compute !== undefined
401
- ? {
402
- $case: 'effectivePersonalCompute',
403
- effectivePersonalCompute: d.effective_personal_compute,
404
- }
405
- : d.effective_allowed_apps_user_api_scopes !== undefined
406
- ? {
407
- $case: 'effectiveAllowedAppsUserApiScopes',
408
- effectiveAllowedAppsUserApiScopes: d.effective_allowed_apps_user_api_scopes,
409
- }
410
- : d.effective_operational_email_custom_recipient !==
411
- undefined
412
- ? {
413
- $case: 'effectiveOperationalEmailCustomRecipient',
414
- effectiveOperationalEmailCustomRecipient: d.effective_operational_email_custom_recipient,
415
- }
416
- : d.effective_collaboration_platform_connectivity !==
417
- undefined
418
- ? {
419
- $case: 'effectiveCollaborationPlatformConnectivity',
420
- effectiveCollaborationPlatformConnectivity: d.effective_collaboration_platform_connectivity,
421
- }
422
- : undefined,
423
- }));
424
- export const unmarshalSettingsMetadataSchema = z
425
- .object({
426
- name: z.string().optional(),
427
- description: z.string().optional(),
428
- type: z.string().optional(),
429
- docs_link: z.string().optional(),
430
- preview_phase: z.string().optional(),
431
- display_name: z.string().optional(),
432
- })
433
- .transform(d => ({
434
- name: d.name,
435
- description: d.description,
436
- type: d.type,
437
- docsLink: d.docs_link,
438
- previewPhase: d.preview_phase,
439
- displayName: d.display_name,
440
- }));
441
- export const unmarshalStringMessageSchema = z
442
- .object({
443
- value: z.string().optional(),
444
- })
445
- .transform(d => ({
446
- value: d.value,
447
- }));
448
- export const unmarshalUserPreferenceSchema = z
449
- .object({
450
- name: z.string().optional(),
451
- user_id: z.string().optional(),
452
- boolean_val: z.lazy(() => unmarshalBooleanMessageSchema).optional(),
453
- string_val: z.lazy(() => unmarshalStringMessageSchema).optional(),
454
- effective_boolean_val: z
455
- .lazy(() => unmarshalBooleanMessageSchema)
456
- .optional(),
457
- effective_string_val: z.lazy(() => unmarshalStringMessageSchema).optional(),
458
- })
459
- .transform(d => ({
460
- name: d.name,
461
- userId: d.user_id,
462
- value: d.boolean_val !== undefined
463
- ? { $case: 'booleanVal', booleanVal: d.boolean_val }
464
- : d.string_val !== undefined
465
- ? { $case: 'stringVal', stringVal: d.string_val }
466
- : undefined,
467
- effectiveValue: d.effective_boolean_val !== undefined
468
- ? {
469
- $case: 'effectiveBooleanVal',
470
- effectiveBooleanVal: d.effective_boolean_val,
471
- }
472
- : d.effective_string_val !== undefined
473
- ? {
474
- $case: 'effectiveStringVal',
475
- effectiveStringVal: d.effective_string_val,
476
- }
477
- : undefined,
478
- }));
479
- export const marshalAibiDashboardEmbeddingAccessPolicySchema = z
480
- .object({
481
- accessPolicyType: z.string().optional(),
482
- })
483
- .transform(d => ({
484
- access_policy_type: d.accessPolicyType,
485
- }));
486
- export const marshalAibiDashboardEmbeddingApprovedDomainsSchema = z
487
- .object({
488
- approvedDomains: z.array(z.string()).optional(),
489
- })
490
- .transform(d => ({
491
- approved_domains: d.approvedDomains,
492
- }));
493
- export const marshalAllowedAppsUserApiScopesMessageSchema = z
494
- .object({
495
- allowedScopes: z.array(z.string()).optional(),
496
- })
497
- .transform(d => ({
498
- allowed_scopes: d.allowedScopes,
499
- }));
500
- export const marshalBooleanMessageSchema = z
501
- .object({
502
- value: z.boolean().optional(),
503
- })
504
- .transform(d => ({
505
- value: d.value,
506
- }));
507
- export const marshalClusterAutoRestartMessageSchema = z
508
- .object({
509
- enabled: z.boolean().optional(),
510
- canToggle: z.boolean().optional(),
511
- maintenanceWindow: z
512
- .lazy(() => marshalClusterAutoRestartMessage_MaintenanceWindowSchema)
513
- .optional(),
514
- enablementDetails: z
515
- .lazy(() => marshalClusterAutoRestartMessage_EnablementDetailsSchema)
516
- .optional(),
517
- restartEvenIfNoUpdatesAvailable: z.boolean().optional(),
518
- })
519
- .transform(d => ({
520
- enabled: d.enabled,
521
- can_toggle: d.canToggle,
522
- maintenance_window: d.maintenanceWindow,
523
- enablement_details: d.enablementDetails,
524
- restart_even_if_no_updates_available: d.restartEvenIfNoUpdatesAvailable,
525
- }));
526
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
527
- export const marshalClusterAutoRestartMessage_EnablementDetailsSchema = z
528
- .object({
529
- unavailableForNonEnterpriseTier: z.boolean().optional(),
530
- unavailableForDisabledEntitlement: z.boolean().optional(),
531
- forcedForComplianceMode: z.boolean().optional(),
532
- })
533
- .transform(d => ({
534
- unavailable_for_non_enterprise_tier: d.unavailableForNonEnterpriseTier,
535
- unavailable_for_disabled_entitlement: d.unavailableForDisabledEntitlement,
536
- forced_for_compliance_mode: d.forcedForComplianceMode,
537
- }));
538
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
539
- export const marshalClusterAutoRestartMessage_MaintenanceWindowSchema = z
540
- .object({
541
- weekDayBasedSchedule: z
542
- .lazy(() => marshalClusterAutoRestartMessage_MaintenanceWindow_WeekDayBasedScheduleSchema)
543
- .optional(),
544
- })
545
- .transform(d => ({
546
- week_day_based_schedule: d.weekDayBasedSchedule,
547
- }));
548
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
549
- export const marshalClusterAutoRestartMessage_MaintenanceWindow_WeekDayBasedScheduleSchema = z
550
- .object({
551
- frequency: z.string().optional(),
552
- dayOfWeek: z.string().optional(),
553
- windowStartTime: z
554
- .lazy(() => marshalClusterAutoRestartMessage_MaintenanceWindow_WindowStartTimeSchema)
555
- .optional(),
556
- })
557
- .transform(d => ({
558
- frequency: d.frequency,
559
- day_of_week: d.dayOfWeek,
560
- window_start_time: d.windowStartTime,
561
- }));
562
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
563
- export const marshalClusterAutoRestartMessage_MaintenanceWindow_WindowStartTimeSchema = z
564
- .object({
565
- hours: z.number().optional(),
566
- minutes: z.number().optional(),
567
- })
568
- .transform(d => ({
569
- hours: d.hours,
570
- minutes: d.minutes,
571
- }));
572
- export const marshalCollaborationPlatformConnectivityMessageSchema = z
573
- .object({
574
- connectivity: z.string().optional(),
575
- })
576
- .transform(d => ({
577
- connectivity: d.connectivity,
578
- }));
579
- export const marshalIntegerMessageSchema = z
580
- .object({
581
- value: z.number().optional(),
582
- })
583
- .transform(d => ({
584
- value: d.value,
585
- }));
586
- export const marshalOperationalEmailCustomRecipientMessageSchema = z
587
- .object({
588
- email: z.string().optional(),
589
- })
590
- .transform(d => ({
591
- email: d.email,
592
- }));
593
- export const marshalPersonalComputeMessageSchema = z
594
- .object({
595
- value: z.string().optional(),
596
- })
597
- .transform(d => ({
598
- value: d.value,
599
- }));
600
- export const marshalRestrictWorkspaceAdminsMessageSchema = z
601
- .object({
602
- status: z.string().optional(),
603
- disableGovTagCreation: z.boolean().optional(),
604
- })
605
- .transform(d => ({
606
- status: d.status,
607
- disable_gov_tag_creation: d.disableGovTagCreation,
608
- }));
609
- export const marshalSettingSchema = z
610
- .object({
611
- name: z.string().optional(),
612
- value: z
613
- .discriminatedUnion('$case', [
614
- z.object({
615
- $case: z.literal('booleanVal'),
616
- booleanVal: z.lazy(() => marshalBooleanMessageSchema),
617
- }),
618
- z.object({
619
- $case: z.literal('stringVal'),
620
- stringVal: z.lazy(() => marshalStringMessageSchema),
621
- }),
622
- z.object({
623
- $case: z.literal('integerVal'),
624
- integerVal: z.lazy(() => marshalIntegerMessageSchema),
625
- }),
626
- z.object({
627
- $case: z.literal('automaticClusterUpdateWorkspace'),
628
- automaticClusterUpdateWorkspace: z.lazy(() => marshalClusterAutoRestartMessageSchema),
629
- }),
630
- z.object({
631
- $case: z.literal('aibiDashboardEmbeddingApprovedDomains'),
632
- aibiDashboardEmbeddingApprovedDomains: z.lazy(() => marshalAibiDashboardEmbeddingApprovedDomainsSchema),
633
- }),
634
- z.object({
635
- $case: z.literal('aibiDashboardEmbeddingAccessPolicy'),
636
- aibiDashboardEmbeddingAccessPolicy: z.lazy(() => marshalAibiDashboardEmbeddingAccessPolicySchema),
637
- }),
638
- z.object({
639
- $case: z.literal('restrictWorkspaceAdmins'),
640
- restrictWorkspaceAdmins: z.lazy(() => marshalRestrictWorkspaceAdminsMessageSchema),
641
- }),
642
- z.object({
643
- $case: z.literal('personalCompute'),
644
- personalCompute: z.lazy(() => marshalPersonalComputeMessageSchema),
645
- }),
646
- z.object({
647
- $case: z.literal('allowedAppsUserApiScopes'),
648
- allowedAppsUserApiScopes: z.lazy(() => marshalAllowedAppsUserApiScopesMessageSchema),
649
- }),
650
- z.object({
651
- $case: z.literal('operationalEmailCustomRecipient'),
652
- operationalEmailCustomRecipient: z.lazy(() => marshalOperationalEmailCustomRecipientMessageSchema),
653
- }),
654
- z.object({
655
- $case: z.literal('collaborationPlatformConnectivity'),
656
- collaborationPlatformConnectivity: z.lazy(() => marshalCollaborationPlatformConnectivityMessageSchema),
657
- }),
658
- ])
659
- .optional(),
660
- effectiveValue: z
661
- .discriminatedUnion('$case', [
662
- z.object({
663
- $case: z.literal('effectiveBooleanVal'),
664
- effectiveBooleanVal: z.lazy(() => marshalBooleanMessageSchema),
665
- }),
666
- z.object({
667
- $case: z.literal('effectiveStringVal'),
668
- effectiveStringVal: z.lazy(() => marshalStringMessageSchema),
669
- }),
670
- z.object({
671
- $case: z.literal('effectiveIntegerVal'),
672
- effectiveIntegerVal: z.lazy(() => marshalIntegerMessageSchema),
673
- }),
674
- z.object({
675
- $case: z.literal('effectiveAutomaticClusterUpdateWorkspace'),
676
- effectiveAutomaticClusterUpdateWorkspace: z.lazy(() => marshalClusterAutoRestartMessageSchema),
677
- }),
678
- z.object({
679
- $case: z.literal('effectiveAibiDashboardEmbeddingApprovedDomains'),
680
- effectiveAibiDashboardEmbeddingApprovedDomains: z.lazy(() => marshalAibiDashboardEmbeddingApprovedDomainsSchema),
681
- }),
682
- z.object({
683
- $case: z.literal('effectiveAibiDashboardEmbeddingAccessPolicy'),
684
- effectiveAibiDashboardEmbeddingAccessPolicy: z.lazy(() => marshalAibiDashboardEmbeddingAccessPolicySchema),
685
- }),
686
- z.object({
687
- $case: z.literal('effectiveRestrictWorkspaceAdmins'),
688
- effectiveRestrictWorkspaceAdmins: z.lazy(() => marshalRestrictWorkspaceAdminsMessageSchema),
689
- }),
690
- z.object({
691
- $case: z.literal('effectivePersonalCompute'),
692
- effectivePersonalCompute: z.lazy(() => marshalPersonalComputeMessageSchema),
693
- }),
694
- z.object({
695
- $case: z.literal('effectiveAllowedAppsUserApiScopes'),
696
- effectiveAllowedAppsUserApiScopes: z.lazy(() => marshalAllowedAppsUserApiScopesMessageSchema),
697
- }),
698
- z.object({
699
- $case: z.literal('effectiveOperationalEmailCustomRecipient'),
700
- effectiveOperationalEmailCustomRecipient: z.lazy(() => marshalOperationalEmailCustomRecipientMessageSchema),
701
- }),
702
- z.object({
703
- $case: z.literal('effectiveCollaborationPlatformConnectivity'),
704
- effectiveCollaborationPlatformConnectivity: z.lazy(() => marshalCollaborationPlatformConnectivityMessageSchema),
705
- }),
706
- ])
707
- .optional(),
708
- })
709
- .transform(d => ({
710
- name: d.name,
711
- ...(d.value?.$case === 'booleanVal' && { boolean_val: d.value.booleanVal }),
712
- ...(d.value?.$case === 'stringVal' && { string_val: d.value.stringVal }),
713
- ...(d.value?.$case === 'integerVal' && { integer_val: d.value.integerVal }),
714
- ...(d.value?.$case === 'automaticClusterUpdateWorkspace' && {
715
- automatic_cluster_update_workspace: d.value.automaticClusterUpdateWorkspace,
716
- }),
717
- ...(d.value?.$case === 'aibiDashboardEmbeddingApprovedDomains' && {
718
- aibi_dashboard_embedding_approved_domains: d.value.aibiDashboardEmbeddingApprovedDomains,
719
- }),
720
- ...(d.value?.$case === 'aibiDashboardEmbeddingAccessPolicy' && {
721
- aibi_dashboard_embedding_access_policy: d.value.aibiDashboardEmbeddingAccessPolicy,
722
- }),
723
- ...(d.value?.$case === 'restrictWorkspaceAdmins' && {
724
- restrict_workspace_admins: d.value.restrictWorkspaceAdmins,
725
- }),
726
- ...(d.value?.$case === 'personalCompute' && {
727
- personal_compute: d.value.personalCompute,
728
- }),
729
- ...(d.value?.$case === 'allowedAppsUserApiScopes' && {
730
- allowed_apps_user_api_scopes: d.value.allowedAppsUserApiScopes,
731
- }),
732
- ...(d.value?.$case === 'operationalEmailCustomRecipient' && {
733
- operational_email_custom_recipient: d.value.operationalEmailCustomRecipient,
734
- }),
735
- ...(d.value?.$case === 'collaborationPlatformConnectivity' && {
736
- collaboration_platform_connectivity: d.value.collaborationPlatformConnectivity,
737
- }),
738
- ...(d.effectiveValue?.$case === 'effectiveBooleanVal' && {
739
- effective_boolean_val: d.effectiveValue.effectiveBooleanVal,
740
- }),
741
- ...(d.effectiveValue?.$case === 'effectiveStringVal' && {
742
- effective_string_val: d.effectiveValue.effectiveStringVal,
743
- }),
744
- ...(d.effectiveValue?.$case === 'effectiveIntegerVal' && {
745
- effective_integer_val: d.effectiveValue.effectiveIntegerVal,
746
- }),
747
- ...(d.effectiveValue?.$case ===
748
- 'effectiveAutomaticClusterUpdateWorkspace' && {
749
- effective_automatic_cluster_update_workspace: d.effectiveValue.effectiveAutomaticClusterUpdateWorkspace,
750
- }),
751
- ...(d.effectiveValue?.$case ===
752
- 'effectiveAibiDashboardEmbeddingApprovedDomains' && {
753
- effective_aibi_dashboard_embedding_approved_domains: d.effectiveValue.effectiveAibiDashboardEmbeddingApprovedDomains,
754
- }),
755
- ...(d.effectiveValue?.$case ===
756
- 'effectiveAibiDashboardEmbeddingAccessPolicy' && {
757
- effective_aibi_dashboard_embedding_access_policy: d.effectiveValue.effectiveAibiDashboardEmbeddingAccessPolicy,
758
- }),
759
- ...(d.effectiveValue?.$case === 'effectiveRestrictWorkspaceAdmins' && {
760
- effective_restrict_workspace_admins: d.effectiveValue.effectiveRestrictWorkspaceAdmins,
761
- }),
762
- ...(d.effectiveValue?.$case === 'effectivePersonalCompute' && {
763
- effective_personal_compute: d.effectiveValue.effectivePersonalCompute,
764
- }),
765
- ...(d.effectiveValue?.$case === 'effectiveAllowedAppsUserApiScopes' && {
766
- effective_allowed_apps_user_api_scopes: d.effectiveValue.effectiveAllowedAppsUserApiScopes,
767
- }),
768
- ...(d.effectiveValue?.$case ===
769
- 'effectiveOperationalEmailCustomRecipient' && {
770
- effective_operational_email_custom_recipient: d.effectiveValue.effectiveOperationalEmailCustomRecipient,
771
- }),
772
- ...(d.effectiveValue?.$case ===
773
- 'effectiveCollaborationPlatformConnectivity' && {
774
- effective_collaboration_platform_connectivity: d.effectiveValue.effectiveCollaborationPlatformConnectivity,
775
- }),
776
- }));
777
- export const marshalStringMessageSchema = z
778
- .object({
779
- value: z.string().optional(),
780
- })
781
- .transform(d => ({
782
- value: d.value,
783
- }));
784
- export const marshalUserPreferenceSchema = z
785
- .object({
786
- name: z.string().optional(),
787
- userId: z.string().optional(),
788
- value: z
789
- .discriminatedUnion('$case', [
790
- z.object({
791
- $case: z.literal('booleanVal'),
792
- booleanVal: z.lazy(() => marshalBooleanMessageSchema),
793
- }),
794
- z.object({
795
- $case: z.literal('stringVal'),
796
- stringVal: z.lazy(() => marshalStringMessageSchema),
797
- }),
798
- ])
799
- .optional(),
800
- effectiveValue: z
801
- .discriminatedUnion('$case', [
802
- z.object({
803
- $case: z.literal('effectiveBooleanVal'),
804
- effectiveBooleanVal: z.lazy(() => marshalBooleanMessageSchema),
805
- }),
806
- z.object({
807
- $case: z.literal('effectiveStringVal'),
808
- effectiveStringVal: z.lazy(() => marshalStringMessageSchema),
809
- }),
810
- ])
811
- .optional(),
812
- })
813
- .transform(d => ({
814
- name: d.name,
815
- user_id: d.userId,
816
- ...(d.value?.$case === 'booleanVal' && { boolean_val: d.value.booleanVal }),
817
- ...(d.value?.$case === 'stringVal' && { string_val: d.value.stringVal }),
818
- ...(d.effectiveValue?.$case === 'effectiveBooleanVal' && {
819
- effective_boolean_val: d.effectiveValue.effectiveBooleanVal,
820
- }),
821
- ...(d.effectiveValue?.$case === 'effectiveStringVal' && {
822
- effective_string_val: d.effectiveValue.effectiveStringVal,
823
- }),
824
- }));
65
+ const unmarshalAibiDashboardEmbeddingAccessPolicySchema = z.object({ access_policy_type: z.string().optional() }).transform((d) => ({ accessPolicyType: d.access_policy_type }));
66
+ const unmarshalAibiDashboardEmbeddingApprovedDomainsSchema = z.object({ approved_domains: z.array(z.string()).optional() }).transform((d) => ({ approvedDomains: d.approved_domains }));
67
+ const unmarshalAllowedAppsUserApiScopesMessageSchema = z.object({ allowed_scopes: z.array(z.string()).optional() }).transform((d) => ({ allowedScopes: d.allowed_scopes }));
68
+ const unmarshalBooleanMessageSchema = z.object({ value: z.boolean().optional() }).transform((d) => ({ value: d.value }));
69
+ const unmarshalClusterAutoRestartMessageSchema = z.object({
70
+ enabled: z.boolean().optional(),
71
+ can_toggle: z.boolean().optional(),
72
+ maintenance_window: z.lazy(() => unmarshalClusterAutoRestartMessage_MaintenanceWindowSchema).optional(),
73
+ enablement_details: z.lazy(() => unmarshalClusterAutoRestartMessage_EnablementDetailsSchema).optional(),
74
+ restart_even_if_no_updates_available: z.boolean().optional()
75
+ }).transform((d) => ({
76
+ enabled: d.enabled,
77
+ canToggle: d.can_toggle,
78
+ maintenanceWindow: d.maintenance_window,
79
+ enablementDetails: d.enablement_details,
80
+ restartEvenIfNoUpdatesAvailable: d.restart_even_if_no_updates_available
81
+ }));
82
+ const unmarshalClusterAutoRestartMessage_EnablementDetailsSchema = z.object({
83
+ unavailable_for_non_enterprise_tier: z.boolean().optional(),
84
+ unavailable_for_disabled_entitlement: z.boolean().optional(),
85
+ forced_for_compliance_mode: z.boolean().optional()
86
+ }).transform((d) => ({
87
+ unavailableForNonEnterpriseTier: d.unavailable_for_non_enterprise_tier,
88
+ unavailableForDisabledEntitlement: d.unavailable_for_disabled_entitlement,
89
+ forcedForComplianceMode: d.forced_for_compliance_mode
90
+ }));
91
+ const unmarshalClusterAutoRestartMessage_MaintenanceWindowSchema = z.object({ week_day_based_schedule: z.lazy(() => unmarshalClusterAutoRestartMessage_MaintenanceWindow_WeekDayBasedScheduleSchema).optional() }).transform((d) => ({ weekDayBasedSchedule: d.week_day_based_schedule }));
92
+ const unmarshalClusterAutoRestartMessage_MaintenanceWindow_WeekDayBasedScheduleSchema = z.object({
93
+ frequency: z.string().optional(),
94
+ day_of_week: z.string().optional(),
95
+ window_start_time: z.lazy(() => unmarshalClusterAutoRestartMessage_MaintenanceWindow_WindowStartTimeSchema).optional()
96
+ }).transform((d) => ({
97
+ frequency: d.frequency,
98
+ dayOfWeek: d.day_of_week,
99
+ windowStartTime: d.window_start_time
100
+ }));
101
+ const unmarshalClusterAutoRestartMessage_MaintenanceWindow_WindowStartTimeSchema = z.object({
102
+ hours: z.number().optional(),
103
+ minutes: z.number().optional()
104
+ }).transform((d) => ({
105
+ hours: d.hours,
106
+ minutes: d.minutes
107
+ }));
108
+ const unmarshalCollaborationPlatformConnectivityMessageSchema = z.object({ connectivity: z.string().optional() }).transform((d) => ({ connectivity: d.connectivity }));
109
+ const unmarshalIntegerMessageSchema = z.object({ value: z.number().optional() }).transform((d) => ({ value: d.value }));
110
+ const unmarshalListAccountSettingsMetadataResponseSchema = z.object({
111
+ settings_metadata: z.array(z.lazy(() => unmarshalSettingsMetadataSchema)).optional(),
112
+ next_page_token: z.string().optional()
113
+ }).transform((d) => ({
114
+ settingsMetadata: d.settings_metadata,
115
+ nextPageToken: d.next_page_token
116
+ }));
117
+ const unmarshalListAccountUserPreferencesMetadataResponseSchema = z.object({
118
+ settings_metadata: z.array(z.lazy(() => unmarshalSettingsMetadataSchema)).optional(),
119
+ next_page_token: z.string().optional()
120
+ }).transform((d) => ({
121
+ settingsMetadata: d.settings_metadata,
122
+ nextPageToken: d.next_page_token
123
+ }));
124
+ const unmarshalListWorkspaceSettingsMetadataResponseSchema = z.object({
125
+ settings_metadata: z.array(z.lazy(() => unmarshalSettingsMetadataSchema)).optional(),
126
+ next_page_token: z.string().optional()
127
+ }).transform((d) => ({
128
+ settingsMetadata: d.settings_metadata,
129
+ nextPageToken: d.next_page_token
130
+ }));
131
+ const unmarshalOperationalEmailCustomRecipientMessageSchema = z.object({ email: z.string().optional() }).transform((d) => ({ email: d.email }));
132
+ const unmarshalPersonalComputeMessageSchema = z.object({ value: z.string().optional() }).transform((d) => ({ value: d.value }));
133
+ const unmarshalRestrictWorkspaceAdminsMessageSchema = z.object({
134
+ status: z.string().optional(),
135
+ disable_gov_tag_creation: z.boolean().optional()
136
+ }).transform((d) => ({
137
+ status: d.status,
138
+ disableGovTagCreation: d.disable_gov_tag_creation
139
+ }));
140
+ const unmarshalSettingSchema = z.object({
141
+ name: z.string().optional(),
142
+ boolean_val: z.lazy(() => unmarshalBooleanMessageSchema).optional(),
143
+ string_val: z.lazy(() => unmarshalStringMessageSchema).optional(),
144
+ integer_val: z.lazy(() => unmarshalIntegerMessageSchema).optional(),
145
+ automatic_cluster_update_workspace: z.lazy(() => unmarshalClusterAutoRestartMessageSchema).optional(),
146
+ aibi_dashboard_embedding_approved_domains: z.lazy(() => unmarshalAibiDashboardEmbeddingApprovedDomainsSchema).optional(),
147
+ aibi_dashboard_embedding_access_policy: z.lazy(() => unmarshalAibiDashboardEmbeddingAccessPolicySchema).optional(),
148
+ restrict_workspace_admins: z.lazy(() => unmarshalRestrictWorkspaceAdminsMessageSchema).optional(),
149
+ personal_compute: z.lazy(() => unmarshalPersonalComputeMessageSchema).optional(),
150
+ allowed_apps_user_api_scopes: z.lazy(() => unmarshalAllowedAppsUserApiScopesMessageSchema).optional(),
151
+ operational_email_custom_recipient: z.lazy(() => unmarshalOperationalEmailCustomRecipientMessageSchema).optional(),
152
+ collaboration_platform_connectivity: z.lazy(() => unmarshalCollaborationPlatformConnectivityMessageSchema).optional(),
153
+ effective_boolean_val: z.lazy(() => unmarshalBooleanMessageSchema).optional(),
154
+ effective_string_val: z.lazy(() => unmarshalStringMessageSchema).optional(),
155
+ effective_integer_val: z.lazy(() => unmarshalIntegerMessageSchema).optional(),
156
+ effective_automatic_cluster_update_workspace: z.lazy(() => unmarshalClusterAutoRestartMessageSchema).optional(),
157
+ effective_aibi_dashboard_embedding_approved_domains: z.lazy(() => unmarshalAibiDashboardEmbeddingApprovedDomainsSchema).optional(),
158
+ effective_aibi_dashboard_embedding_access_policy: z.lazy(() => unmarshalAibiDashboardEmbeddingAccessPolicySchema).optional(),
159
+ effective_restrict_workspace_admins: z.lazy(() => unmarshalRestrictWorkspaceAdminsMessageSchema).optional(),
160
+ effective_personal_compute: z.lazy(() => unmarshalPersonalComputeMessageSchema).optional(),
161
+ effective_allowed_apps_user_api_scopes: z.lazy(() => unmarshalAllowedAppsUserApiScopesMessageSchema).optional(),
162
+ effective_operational_email_custom_recipient: z.lazy(() => unmarshalOperationalEmailCustomRecipientMessageSchema).optional(),
163
+ effective_collaboration_platform_connectivity: z.lazy(() => unmarshalCollaborationPlatformConnectivityMessageSchema).optional()
164
+ }).transform((d) => ({
165
+ name: d.name,
166
+ value: d.boolean_val !== void 0 ? {
167
+ $case: "booleanVal",
168
+ booleanVal: d.boolean_val
169
+ } : d.string_val !== void 0 ? {
170
+ $case: "stringVal",
171
+ stringVal: d.string_val
172
+ } : d.integer_val !== void 0 ? {
173
+ $case: "integerVal",
174
+ integerVal: d.integer_val
175
+ } : d.automatic_cluster_update_workspace !== void 0 ? {
176
+ $case: "automaticClusterUpdateWorkspace",
177
+ automaticClusterUpdateWorkspace: d.automatic_cluster_update_workspace
178
+ } : d.aibi_dashboard_embedding_approved_domains !== void 0 ? {
179
+ $case: "aibiDashboardEmbeddingApprovedDomains",
180
+ aibiDashboardEmbeddingApprovedDomains: d.aibi_dashboard_embedding_approved_domains
181
+ } : d.aibi_dashboard_embedding_access_policy !== void 0 ? {
182
+ $case: "aibiDashboardEmbeddingAccessPolicy",
183
+ aibiDashboardEmbeddingAccessPolicy: d.aibi_dashboard_embedding_access_policy
184
+ } : d.restrict_workspace_admins !== void 0 ? {
185
+ $case: "restrictWorkspaceAdmins",
186
+ restrictWorkspaceAdmins: d.restrict_workspace_admins
187
+ } : d.personal_compute !== void 0 ? {
188
+ $case: "personalCompute",
189
+ personalCompute: d.personal_compute
190
+ } : d.allowed_apps_user_api_scopes !== void 0 ? {
191
+ $case: "allowedAppsUserApiScopes",
192
+ allowedAppsUserApiScopes: d.allowed_apps_user_api_scopes
193
+ } : d.operational_email_custom_recipient !== void 0 ? {
194
+ $case: "operationalEmailCustomRecipient",
195
+ operationalEmailCustomRecipient: d.operational_email_custom_recipient
196
+ } : d.collaboration_platform_connectivity !== void 0 ? {
197
+ $case: "collaborationPlatformConnectivity",
198
+ collaborationPlatformConnectivity: d.collaboration_platform_connectivity
199
+ } : void 0,
200
+ effectiveValue: d.effective_boolean_val !== void 0 ? {
201
+ $case: "effectiveBooleanVal",
202
+ effectiveBooleanVal: d.effective_boolean_val
203
+ } : d.effective_string_val !== void 0 ? {
204
+ $case: "effectiveStringVal",
205
+ effectiveStringVal: d.effective_string_val
206
+ } : d.effective_integer_val !== void 0 ? {
207
+ $case: "effectiveIntegerVal",
208
+ effectiveIntegerVal: d.effective_integer_val
209
+ } : d.effective_automatic_cluster_update_workspace !== void 0 ? {
210
+ $case: "effectiveAutomaticClusterUpdateWorkspace",
211
+ effectiveAutomaticClusterUpdateWorkspace: d.effective_automatic_cluster_update_workspace
212
+ } : d.effective_aibi_dashboard_embedding_approved_domains !== void 0 ? {
213
+ $case: "effectiveAibiDashboardEmbeddingApprovedDomains",
214
+ effectiveAibiDashboardEmbeddingApprovedDomains: d.effective_aibi_dashboard_embedding_approved_domains
215
+ } : d.effective_aibi_dashboard_embedding_access_policy !== void 0 ? {
216
+ $case: "effectiveAibiDashboardEmbeddingAccessPolicy",
217
+ effectiveAibiDashboardEmbeddingAccessPolicy: d.effective_aibi_dashboard_embedding_access_policy
218
+ } : d.effective_restrict_workspace_admins !== void 0 ? {
219
+ $case: "effectiveRestrictWorkspaceAdmins",
220
+ effectiveRestrictWorkspaceAdmins: d.effective_restrict_workspace_admins
221
+ } : d.effective_personal_compute !== void 0 ? {
222
+ $case: "effectivePersonalCompute",
223
+ effectivePersonalCompute: d.effective_personal_compute
224
+ } : d.effective_allowed_apps_user_api_scopes !== void 0 ? {
225
+ $case: "effectiveAllowedAppsUserApiScopes",
226
+ effectiveAllowedAppsUserApiScopes: d.effective_allowed_apps_user_api_scopes
227
+ } : d.effective_operational_email_custom_recipient !== void 0 ? {
228
+ $case: "effectiveOperationalEmailCustomRecipient",
229
+ effectiveOperationalEmailCustomRecipient: d.effective_operational_email_custom_recipient
230
+ } : d.effective_collaboration_platform_connectivity !== void 0 ? {
231
+ $case: "effectiveCollaborationPlatformConnectivity",
232
+ effectiveCollaborationPlatformConnectivity: d.effective_collaboration_platform_connectivity
233
+ } : void 0
234
+ }));
235
+ const unmarshalSettingsMetadataSchema = z.object({
236
+ name: z.string().optional(),
237
+ description: z.string().optional(),
238
+ type: z.string().optional(),
239
+ docs_link: z.string().optional(),
240
+ preview_phase: z.string().optional(),
241
+ display_name: z.string().optional()
242
+ }).transform((d) => ({
243
+ name: d.name,
244
+ description: d.description,
245
+ type: d.type,
246
+ docsLink: d.docs_link,
247
+ previewPhase: d.preview_phase,
248
+ displayName: d.display_name
249
+ }));
250
+ const unmarshalStringMessageSchema = z.object({ value: z.string().optional() }).transform((d) => ({ value: d.value }));
251
+ const unmarshalUserPreferenceSchema = z.object({
252
+ name: z.string().optional(),
253
+ user_id: z.string().optional(),
254
+ boolean_val: z.lazy(() => unmarshalBooleanMessageSchema).optional(),
255
+ string_val: z.lazy(() => unmarshalStringMessageSchema).optional(),
256
+ effective_boolean_val: z.lazy(() => unmarshalBooleanMessageSchema).optional(),
257
+ effective_string_val: z.lazy(() => unmarshalStringMessageSchema).optional()
258
+ }).transform((d) => ({
259
+ name: d.name,
260
+ userId: d.user_id,
261
+ value: d.boolean_val !== void 0 ? {
262
+ $case: "booleanVal",
263
+ booleanVal: d.boolean_val
264
+ } : d.string_val !== void 0 ? {
265
+ $case: "stringVal",
266
+ stringVal: d.string_val
267
+ } : void 0,
268
+ effectiveValue: d.effective_boolean_val !== void 0 ? {
269
+ $case: "effectiveBooleanVal",
270
+ effectiveBooleanVal: d.effective_boolean_val
271
+ } : d.effective_string_val !== void 0 ? {
272
+ $case: "effectiveStringVal",
273
+ effectiveStringVal: d.effective_string_val
274
+ } : void 0
275
+ }));
276
+ const marshalAibiDashboardEmbeddingAccessPolicySchema = z.object({ accessPolicyType: z.string().optional() }).transform((d) => ({ access_policy_type: d.accessPolicyType }));
277
+ const marshalAibiDashboardEmbeddingApprovedDomainsSchema = z.object({ approvedDomains: z.array(z.string()).optional() }).transform((d) => ({ approved_domains: d.approvedDomains }));
278
+ const marshalAllowedAppsUserApiScopesMessageSchema = z.object({ allowedScopes: z.array(z.string()).optional() }).transform((d) => ({ allowed_scopes: d.allowedScopes }));
279
+ const marshalBooleanMessageSchema = z.object({ value: z.boolean().optional() }).transform((d) => ({ value: d.value }));
280
+ const marshalClusterAutoRestartMessageSchema = z.object({
281
+ enabled: z.boolean().optional(),
282
+ canToggle: z.boolean().optional(),
283
+ maintenanceWindow: z.lazy(() => marshalClusterAutoRestartMessage_MaintenanceWindowSchema).optional(),
284
+ enablementDetails: z.lazy(() => marshalClusterAutoRestartMessage_EnablementDetailsSchema).optional(),
285
+ restartEvenIfNoUpdatesAvailable: z.boolean().optional()
286
+ }).transform((d) => ({
287
+ enabled: d.enabled,
288
+ can_toggle: d.canToggle,
289
+ maintenance_window: d.maintenanceWindow,
290
+ enablement_details: d.enablementDetails,
291
+ restart_even_if_no_updates_available: d.restartEvenIfNoUpdatesAvailable
292
+ }));
293
+ const marshalClusterAutoRestartMessage_EnablementDetailsSchema = z.object({
294
+ unavailableForNonEnterpriseTier: z.boolean().optional(),
295
+ unavailableForDisabledEntitlement: z.boolean().optional(),
296
+ forcedForComplianceMode: z.boolean().optional()
297
+ }).transform((d) => ({
298
+ unavailable_for_non_enterprise_tier: d.unavailableForNonEnterpriseTier,
299
+ unavailable_for_disabled_entitlement: d.unavailableForDisabledEntitlement,
300
+ forced_for_compliance_mode: d.forcedForComplianceMode
301
+ }));
302
+ const marshalClusterAutoRestartMessage_MaintenanceWindowSchema = z.object({ weekDayBasedSchedule: z.lazy(() => marshalClusterAutoRestartMessage_MaintenanceWindow_WeekDayBasedScheduleSchema).optional() }).transform((d) => ({ week_day_based_schedule: d.weekDayBasedSchedule }));
303
+ const marshalClusterAutoRestartMessage_MaintenanceWindow_WeekDayBasedScheduleSchema = z.object({
304
+ frequency: z.string().optional(),
305
+ dayOfWeek: z.string().optional(),
306
+ windowStartTime: z.lazy(() => marshalClusterAutoRestartMessage_MaintenanceWindow_WindowStartTimeSchema).optional()
307
+ }).transform((d) => ({
308
+ frequency: d.frequency,
309
+ day_of_week: d.dayOfWeek,
310
+ window_start_time: d.windowStartTime
311
+ }));
312
+ const marshalClusterAutoRestartMessage_MaintenanceWindow_WindowStartTimeSchema = z.object({
313
+ hours: z.number().optional(),
314
+ minutes: z.number().optional()
315
+ }).transform((d) => ({
316
+ hours: d.hours,
317
+ minutes: d.minutes
318
+ }));
319
+ const marshalCollaborationPlatformConnectivityMessageSchema = z.object({ connectivity: z.string().optional() }).transform((d) => ({ connectivity: d.connectivity }));
320
+ const marshalIntegerMessageSchema = z.object({ value: z.number().optional() }).transform((d) => ({ value: d.value }));
321
+ const marshalOperationalEmailCustomRecipientMessageSchema = z.object({ email: z.string().optional() }).transform((d) => ({ email: d.email }));
322
+ const marshalPersonalComputeMessageSchema = z.object({ value: z.string().optional() }).transform((d) => ({ value: d.value }));
323
+ const marshalRestrictWorkspaceAdminsMessageSchema = z.object({
324
+ status: z.string().optional(),
325
+ disableGovTagCreation: z.boolean().optional()
326
+ }).transform((d) => ({
327
+ status: d.status,
328
+ disable_gov_tag_creation: d.disableGovTagCreation
329
+ }));
330
+ const marshalSettingSchema = z.object({
331
+ name: z.string().optional(),
332
+ value: z.discriminatedUnion("$case", [
333
+ z.object({
334
+ $case: z.literal("booleanVal"),
335
+ booleanVal: z.lazy(() => marshalBooleanMessageSchema)
336
+ }),
337
+ z.object({
338
+ $case: z.literal("stringVal"),
339
+ stringVal: z.lazy(() => marshalStringMessageSchema)
340
+ }),
341
+ z.object({
342
+ $case: z.literal("integerVal"),
343
+ integerVal: z.lazy(() => marshalIntegerMessageSchema)
344
+ }),
345
+ z.object({
346
+ $case: z.literal("automaticClusterUpdateWorkspace"),
347
+ automaticClusterUpdateWorkspace: z.lazy(() => marshalClusterAutoRestartMessageSchema)
348
+ }),
349
+ z.object({
350
+ $case: z.literal("aibiDashboardEmbeddingApprovedDomains"),
351
+ aibiDashboardEmbeddingApprovedDomains: z.lazy(() => marshalAibiDashboardEmbeddingApprovedDomainsSchema)
352
+ }),
353
+ z.object({
354
+ $case: z.literal("aibiDashboardEmbeddingAccessPolicy"),
355
+ aibiDashboardEmbeddingAccessPolicy: z.lazy(() => marshalAibiDashboardEmbeddingAccessPolicySchema)
356
+ }),
357
+ z.object({
358
+ $case: z.literal("restrictWorkspaceAdmins"),
359
+ restrictWorkspaceAdmins: z.lazy(() => marshalRestrictWorkspaceAdminsMessageSchema)
360
+ }),
361
+ z.object({
362
+ $case: z.literal("personalCompute"),
363
+ personalCompute: z.lazy(() => marshalPersonalComputeMessageSchema)
364
+ }),
365
+ z.object({
366
+ $case: z.literal("allowedAppsUserApiScopes"),
367
+ allowedAppsUserApiScopes: z.lazy(() => marshalAllowedAppsUserApiScopesMessageSchema)
368
+ }),
369
+ z.object({
370
+ $case: z.literal("operationalEmailCustomRecipient"),
371
+ operationalEmailCustomRecipient: z.lazy(() => marshalOperationalEmailCustomRecipientMessageSchema)
372
+ }),
373
+ z.object({
374
+ $case: z.literal("collaborationPlatformConnectivity"),
375
+ collaborationPlatformConnectivity: z.lazy(() => marshalCollaborationPlatformConnectivityMessageSchema)
376
+ })
377
+ ]).optional(),
378
+ effectiveValue: z.discriminatedUnion("$case", [
379
+ z.object({
380
+ $case: z.literal("effectiveBooleanVal"),
381
+ effectiveBooleanVal: z.lazy(() => marshalBooleanMessageSchema)
382
+ }),
383
+ z.object({
384
+ $case: z.literal("effectiveStringVal"),
385
+ effectiveStringVal: z.lazy(() => marshalStringMessageSchema)
386
+ }),
387
+ z.object({
388
+ $case: z.literal("effectiveIntegerVal"),
389
+ effectiveIntegerVal: z.lazy(() => marshalIntegerMessageSchema)
390
+ }),
391
+ z.object({
392
+ $case: z.literal("effectiveAutomaticClusterUpdateWorkspace"),
393
+ effectiveAutomaticClusterUpdateWorkspace: z.lazy(() => marshalClusterAutoRestartMessageSchema)
394
+ }),
395
+ z.object({
396
+ $case: z.literal("effectiveAibiDashboardEmbeddingApprovedDomains"),
397
+ effectiveAibiDashboardEmbeddingApprovedDomains: z.lazy(() => marshalAibiDashboardEmbeddingApprovedDomainsSchema)
398
+ }),
399
+ z.object({
400
+ $case: z.literal("effectiveAibiDashboardEmbeddingAccessPolicy"),
401
+ effectiveAibiDashboardEmbeddingAccessPolicy: z.lazy(() => marshalAibiDashboardEmbeddingAccessPolicySchema)
402
+ }),
403
+ z.object({
404
+ $case: z.literal("effectiveRestrictWorkspaceAdmins"),
405
+ effectiveRestrictWorkspaceAdmins: z.lazy(() => marshalRestrictWorkspaceAdminsMessageSchema)
406
+ }),
407
+ z.object({
408
+ $case: z.literal("effectivePersonalCompute"),
409
+ effectivePersonalCompute: z.lazy(() => marshalPersonalComputeMessageSchema)
410
+ }),
411
+ z.object({
412
+ $case: z.literal("effectiveAllowedAppsUserApiScopes"),
413
+ effectiveAllowedAppsUserApiScopes: z.lazy(() => marshalAllowedAppsUserApiScopesMessageSchema)
414
+ }),
415
+ z.object({
416
+ $case: z.literal("effectiveOperationalEmailCustomRecipient"),
417
+ effectiveOperationalEmailCustomRecipient: z.lazy(() => marshalOperationalEmailCustomRecipientMessageSchema)
418
+ }),
419
+ z.object({
420
+ $case: z.literal("effectiveCollaborationPlatformConnectivity"),
421
+ effectiveCollaborationPlatformConnectivity: z.lazy(() => marshalCollaborationPlatformConnectivityMessageSchema)
422
+ })
423
+ ]).optional()
424
+ }).transform((d) => ({
425
+ name: d.name,
426
+ ...d.value?.$case === "booleanVal" && { boolean_val: d.value.booleanVal },
427
+ ...d.value?.$case === "stringVal" && { string_val: d.value.stringVal },
428
+ ...d.value?.$case === "integerVal" && { integer_val: d.value.integerVal },
429
+ ...d.value?.$case === "automaticClusterUpdateWorkspace" && { automatic_cluster_update_workspace: d.value.automaticClusterUpdateWorkspace },
430
+ ...d.value?.$case === "aibiDashboardEmbeddingApprovedDomains" && { aibi_dashboard_embedding_approved_domains: d.value.aibiDashboardEmbeddingApprovedDomains },
431
+ ...d.value?.$case === "aibiDashboardEmbeddingAccessPolicy" && { aibi_dashboard_embedding_access_policy: d.value.aibiDashboardEmbeddingAccessPolicy },
432
+ ...d.value?.$case === "restrictWorkspaceAdmins" && { restrict_workspace_admins: d.value.restrictWorkspaceAdmins },
433
+ ...d.value?.$case === "personalCompute" && { personal_compute: d.value.personalCompute },
434
+ ...d.value?.$case === "allowedAppsUserApiScopes" && { allowed_apps_user_api_scopes: d.value.allowedAppsUserApiScopes },
435
+ ...d.value?.$case === "operationalEmailCustomRecipient" && { operational_email_custom_recipient: d.value.operationalEmailCustomRecipient },
436
+ ...d.value?.$case === "collaborationPlatformConnectivity" && { collaboration_platform_connectivity: d.value.collaborationPlatformConnectivity },
437
+ ...d.effectiveValue?.$case === "effectiveBooleanVal" && { effective_boolean_val: d.effectiveValue.effectiveBooleanVal },
438
+ ...d.effectiveValue?.$case === "effectiveStringVal" && { effective_string_val: d.effectiveValue.effectiveStringVal },
439
+ ...d.effectiveValue?.$case === "effectiveIntegerVal" && { effective_integer_val: d.effectiveValue.effectiveIntegerVal },
440
+ ...d.effectiveValue?.$case === "effectiveAutomaticClusterUpdateWorkspace" && { effective_automatic_cluster_update_workspace: d.effectiveValue.effectiveAutomaticClusterUpdateWorkspace },
441
+ ...d.effectiveValue?.$case === "effectiveAibiDashboardEmbeddingApprovedDomains" && { effective_aibi_dashboard_embedding_approved_domains: d.effectiveValue.effectiveAibiDashboardEmbeddingApprovedDomains },
442
+ ...d.effectiveValue?.$case === "effectiveAibiDashboardEmbeddingAccessPolicy" && { effective_aibi_dashboard_embedding_access_policy: d.effectiveValue.effectiveAibiDashboardEmbeddingAccessPolicy },
443
+ ...d.effectiveValue?.$case === "effectiveRestrictWorkspaceAdmins" && { effective_restrict_workspace_admins: d.effectiveValue.effectiveRestrictWorkspaceAdmins },
444
+ ...d.effectiveValue?.$case === "effectivePersonalCompute" && { effective_personal_compute: d.effectiveValue.effectivePersonalCompute },
445
+ ...d.effectiveValue?.$case === "effectiveAllowedAppsUserApiScopes" && { effective_allowed_apps_user_api_scopes: d.effectiveValue.effectiveAllowedAppsUserApiScopes },
446
+ ...d.effectiveValue?.$case === "effectiveOperationalEmailCustomRecipient" && { effective_operational_email_custom_recipient: d.effectiveValue.effectiveOperationalEmailCustomRecipient },
447
+ ...d.effectiveValue?.$case === "effectiveCollaborationPlatformConnectivity" && { effective_collaboration_platform_connectivity: d.effectiveValue.effectiveCollaborationPlatformConnectivity }
448
+ }));
449
+ const marshalStringMessageSchema = z.object({ value: z.string().optional() }).transform((d) => ({ value: d.value }));
450
+ const marshalUserPreferenceSchema = z.object({
451
+ name: z.string().optional(),
452
+ userId: z.string().optional(),
453
+ value: z.discriminatedUnion("$case", [z.object({
454
+ $case: z.literal("booleanVal"),
455
+ booleanVal: z.lazy(() => marshalBooleanMessageSchema)
456
+ }), z.object({
457
+ $case: z.literal("stringVal"),
458
+ stringVal: z.lazy(() => marshalStringMessageSchema)
459
+ })]).optional(),
460
+ effectiveValue: z.discriminatedUnion("$case", [z.object({
461
+ $case: z.literal("effectiveBooleanVal"),
462
+ effectiveBooleanVal: z.lazy(() => marshalBooleanMessageSchema)
463
+ }), z.object({
464
+ $case: z.literal("effectiveStringVal"),
465
+ effectiveStringVal: z.lazy(() => marshalStringMessageSchema)
466
+ })]).optional()
467
+ }).transform((d) => ({
468
+ name: d.name,
469
+ user_id: d.userId,
470
+ ...d.value?.$case === "booleanVal" && { boolean_val: d.value.booleanVal },
471
+ ...d.value?.$case === "stringVal" && { string_val: d.value.stringVal },
472
+ ...d.effectiveValue?.$case === "effectiveBooleanVal" && { effective_boolean_val: d.effectiveValue.effectiveBooleanVal },
473
+ ...d.effectiveValue?.$case === "effectiveStringVal" && { effective_string_val: d.effectiveValue.effectiveStringVal }
474
+ }));
475
+
476
+ //#endregion
477
+ export { AibiDashboardEmbeddingAccessPolicy_AccessPolicyType, ClusterAutoRestartMessage_MaintenanceWindow_DayOfWeek, ClusterAutoRestartMessage_MaintenanceWindow_WeekDayFrequency, CollaborationPlatformConnectivityMessage_Connectivity, PersonalComputeMessage_PersonalComputeMessageEnum, PreviewPhase, RestrictWorkspaceAdminsMessage_Status, marshalAibiDashboardEmbeddingAccessPolicySchema, marshalAibiDashboardEmbeddingApprovedDomainsSchema, marshalAllowedAppsUserApiScopesMessageSchema, marshalBooleanMessageSchema, marshalClusterAutoRestartMessageSchema, marshalClusterAutoRestartMessage_EnablementDetailsSchema, marshalClusterAutoRestartMessage_MaintenanceWindowSchema, marshalClusterAutoRestartMessage_MaintenanceWindow_WeekDayBasedScheduleSchema, marshalClusterAutoRestartMessage_MaintenanceWindow_WindowStartTimeSchema, marshalCollaborationPlatformConnectivityMessageSchema, marshalIntegerMessageSchema, marshalOperationalEmailCustomRecipientMessageSchema, marshalPersonalComputeMessageSchema, marshalRestrictWorkspaceAdminsMessageSchema, marshalSettingSchema, marshalStringMessageSchema, marshalUserPreferenceSchema, unmarshalAibiDashboardEmbeddingAccessPolicySchema, unmarshalAibiDashboardEmbeddingApprovedDomainsSchema, unmarshalAllowedAppsUserApiScopesMessageSchema, unmarshalBooleanMessageSchema, unmarshalClusterAutoRestartMessageSchema, unmarshalClusterAutoRestartMessage_EnablementDetailsSchema, unmarshalClusterAutoRestartMessage_MaintenanceWindowSchema, unmarshalClusterAutoRestartMessage_MaintenanceWindow_WeekDayBasedScheduleSchema, unmarshalClusterAutoRestartMessage_MaintenanceWindow_WindowStartTimeSchema, unmarshalCollaborationPlatformConnectivityMessageSchema, unmarshalIntegerMessageSchema, unmarshalListAccountSettingsMetadataResponseSchema, unmarshalListAccountUserPreferencesMetadataResponseSchema, unmarshalListWorkspaceSettingsMetadataResponseSchema, unmarshalOperationalEmailCustomRecipientMessageSchema, unmarshalPersonalComputeMessageSchema, unmarshalRestrictWorkspaceAdminsMessageSchema, unmarshalSettingSchema, unmarshalSettingsMetadataSchema, unmarshalStringMessageSchema, unmarshalUserPreferenceSchema };
825
478
  //# sourceMappingURL=model.js.map