@spacefast/common 0.2.1 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents/marketplace-prompts.d.ts +1 -0
- package/dist/agents/marketplace-prompts.js +6 -0
- package/dist/agents/registry/core.d.ts +4 -12
- package/dist/agents/registry/core.js +7 -28
- package/dist/config/domains.d.ts +10 -8
- package/dist/config/domains.js +4 -7
- package/dist/contracts/access-core.d.ts +135 -0
- package/dist/contracts/access-core.js +242 -0
- package/dist/contracts/access-profiles.d.ts +8 -8
- package/dist/contracts/access-profiles.js +8 -8
- package/dist/contracts/access.d.ts +14 -103
- package/dist/contracts/access.js +10 -210
- package/dist/contracts/activity.d.ts +54 -55
- package/dist/contracts/activity.js +38 -9
- package/dist/contracts/api-keys.d.ts +69 -26
- package/dist/contracts/api-keys.js +29 -2
- package/dist/contracts/application-journal.d.ts +197 -4
- package/dist/contracts/application-journal.js +97 -16
- package/dist/contracts/auth.d.ts +20 -0
- package/dist/contracts/auth.js +18 -0
- package/dist/contracts/beta.d.ts +13 -0
- package/dist/contracts/beta.js +28 -0
- package/dist/contracts/billing.d.ts +2 -2
- package/dist/contracts/bootstrap.d.ts +23 -6
- package/dist/contracts/builds.d.ts +24 -4
- package/dist/contracts/builds.js +16 -4
- package/dist/contracts/channels.d.ts +43 -0
- package/dist/contracts/channels.js +22 -6
- package/dist/contracts/comments.d.ts +49 -0
- package/dist/contracts/comments.js +61 -2
- package/dist/contracts/commerce.d.ts +19 -13
- package/dist/contracts/connector-access.d.ts +28 -0
- package/dist/contracts/connector-access.js +31 -0
- package/dist/contracts/connectors.d.ts +2382 -0
- package/dist/contracts/connectors.js +941 -0
- package/dist/contracts/content-contract-verification.d.ts +112 -58
- package/dist/contracts/content-contract-verification.js +42 -54
- package/dist/contracts/content-model-emit.d.ts +97 -0
- package/dist/contracts/content-model-emit.js +306 -0
- package/dist/contracts/content-model-sdk.d.ts +101 -0
- package/dist/contracts/content-model-sdk.js +232 -0
- package/dist/contracts/{content-program.d.ts → content-model.d.ts} +338 -82
- package/dist/contracts/{content-program.js → content-model.js} +291 -63
- package/dist/contracts/content-platform-fixture.d.ts +380 -110
- package/dist/contracts/content-platform-fixture.js +8 -8
- package/dist/contracts/content-sync.d.ts +197 -74
- package/dist/contracts/content-sync.js +98 -37
- package/dist/contracts/content.d.ts +30 -422
- package/dist/contracts/content.js +34 -294
- package/dist/contracts/dashboard-prefs.d.ts +10 -3
- package/dist/contracts/dashboard-prefs.js +6 -3
- package/dist/contracts/data-location.d.ts +9 -0
- package/dist/contracts/data-location.js +7 -0
- package/dist/contracts/deployment-comparison.d.ts +67 -0
- package/dist/contracts/deployment-comparison.js +68 -0
- package/dist/contracts/device-auth.d.ts +55 -11
- package/dist/contracts/domains.d.ts +40 -16
- package/dist/contracts/domains.js +23 -0
- package/dist/contracts/enums.d.ts +1 -10
- package/dist/contracts/enums.js +0 -15
- package/dist/contracts/error-code-meta.d.ts +388 -20
- package/dist/contracts/error-code-meta.js +201 -5
- package/dist/contracts/error-codes.d.ts +17 -4
- package/dist/contracts/error-codes.js +109 -10
- package/dist/contracts/events.d.ts +5 -0
- package/dist/contracts/events.js +12 -3
- package/dist/contracts/execution.d.ts +5 -1
- package/dist/contracts/execution.js +4 -0
- package/dist/contracts/feature-lifecycle.d.ts +53 -20
- package/dist/contracts/feature-lifecycle.js +65 -23
- package/dist/contracts/features.d.ts +57 -31
- package/dist/contracts/features.js +0 -1
- package/dist/contracts/feedback.d.ts +124 -0
- package/dist/contracts/feedback.js +64 -0
- package/dist/contracts/fixtures/content-model-sdk-v1.generated.d.ts +129 -0
- package/dist/contracts/fixtures/content-model-sdk-v1.generated.js +48 -0
- package/dist/contracts/fixtures/content-platform-v1.json +101 -49
- package/dist/contracts/frame-session.d.ts +60 -10
- package/dist/contracts/frame-session.js +52 -12
- package/dist/contracts/functions.d.ts +28 -2
- package/dist/contracts/functions.js +25 -2
- package/dist/contracts/grant-copy.d.ts +2 -0
- package/dist/contracts/grant-copy.js +2 -0
- package/dist/contracts/grants-core.d.ts +95 -0
- package/dist/contracts/grants-core.js +435 -0
- package/dist/contracts/grants.d.ts +13 -84
- package/dist/contracts/grants.js +21 -369
- package/dist/contracts/ids-core.d.ts +11 -0
- package/dist/contracts/ids-core.js +14 -0
- package/dist/contracts/ids.d.ts +7 -4
- package/dist/contracts/ids.js +12 -4
- package/dist/contracts/internal.d.ts +18 -0
- package/dist/contracts/internal.js +19 -0
- package/dist/contracts/mcp.d.ts +8 -18
- package/dist/contracts/mcp.js +2 -23
- package/dist/contracts/notifications.d.ts +4 -1
- package/dist/contracts/notifications.js +1 -0
- package/dist/contracts/oauth-resources.d.ts +55 -9
- package/dist/contracts/oauth-resources.js +64 -1
- package/dist/contracts/oauth-scope-actions.d.ts +27 -3
- package/dist/contracts/oauth-scope-actions.js +18 -8
- package/dist/contracts/operations.d.ts +1 -1
- package/dist/contracts/partner-account.d.ts +629 -0
- package/dist/contracts/partner-account.js +18 -0
- package/dist/contracts/principal-assertion.d.ts +74 -1
- package/dist/contracts/principal-assertion.js +67 -3
- package/dist/contracts/publish-archive.d.ts +22 -1
- package/dist/contracts/push-new.d.ts +3 -3
- package/dist/contracts/push-new.js +1 -1
- package/dist/contracts/quotas.js +2 -1
- package/dist/contracts/repository-connections.d.ts +10 -6
- package/dist/contracts/repository-connections.js +15 -0
- package/dist/contracts/resources.d.ts +6 -5
- package/dist/contracts/resources.js +7 -0
- package/dist/contracts/route-inventory.d.ts +74 -19
- package/dist/contracts/route-inventory.js +20 -6
- package/dist/contracts/runtime-api.d.ts +415 -4
- package/dist/contracts/runtime-api.js +60 -15
- package/dist/contracts/runtime-app.d.ts +6 -1
- package/dist/contracts/runtime-components.d.ts +646 -18
- package/dist/contracts/runtime-components.js +304 -188
- package/dist/contracts/runtime-services.d.ts +15 -0
- package/dist/contracts/runtime-services.js +25 -0
- package/dist/contracts/runtime-storage.d.ts +32 -0
- package/dist/contracts/runtime-storage.js +37 -0
- package/dist/contracts/source-workspaces.d.ts +511 -0
- package/dist/contracts/source-workspaces.js +276 -0
- package/dist/contracts/space-config-spacefast.d.ts +394 -0
- package/dist/contracts/space-config-spacefast.js +70 -0
- package/dist/contracts/space-config.d.ts +177 -90
- package/dist/contracts/space-config.js +77 -92
- package/dist/contracts/spaces.d.ts +132 -24
- package/dist/contracts/spaces.js +77 -13
- package/dist/contracts/superadmin-connectors.d.ts +371 -0
- package/dist/contracts/superadmin-connectors.js +61 -0
- package/dist/contracts/superadmin-emails.d.ts +1 -1
- package/dist/contracts/superadmin-emails.js +1 -1
- package/dist/contracts/superadmin-entities.d.ts +105 -0
- package/dist/contracts/superadmin-entities.js +64 -0
- package/dist/contracts/superadmin-runtime.d.ts +35 -116
- package/dist/contracts/superadmin-runtime.js +13 -69
- package/dist/contracts/superadmin-search.d.ts +12 -14
- package/dist/contracts/superadmin-search.js +2 -2
- package/dist/contracts/superadmin-spaces.d.ts +15 -72
- package/dist/contracts/superadmin-spaces.js +2 -7
- package/dist/contracts/superadmin-teams.d.ts +12 -0
- package/dist/contracts/superadmin-teams.js +7 -1
- package/dist/contracts/superadmin-tenants.d.ts +44 -16
- package/dist/contracts/superadmin.d.ts +2 -2
- package/dist/contracts/tags.d.ts +12 -12
- package/dist/contracts/teams.d.ts +29 -1
- package/dist/contracts/teams.js +24 -2
- package/dist/contracts/tenants.d.ts +98 -0
- package/dist/contracts/tenants.js +20 -0
- package/dist/contracts/transfers.d.ts +92 -0
- package/dist/contracts/transfers.js +37 -0
- package/dist/contracts/usage.d.ts +9 -1
- package/dist/contracts/usage.js +2 -0
- package/dist/contracts/visual-review.d.ts +448 -0
- package/dist/contracts/visual-review.js +156 -0
- package/dist/contracts/wordpress-php-toolkit.json +9 -0
- package/dist/contracts/work-mode.d.ts +24 -0
- package/dist/contracts/work-mode.js +17 -0
- package/dist/contracts/wp-cli.d.ts +66 -0
- package/dist/contracts/wp-cli.js +68 -0
- package/dist/contracts/zero-catalog.d.ts +29 -0
- package/dist/contracts/zero-catalog.js +55 -0
- package/dist/contracts/zero-platform-abilities.generated.d.ts +31 -0
- package/dist/contracts/zero-platform-abilities.generated.js +373 -0
- package/dist/contracts/zero-spacefast.d.ts +444 -0
- package/dist/contracts/zero-spacefast.js +149 -0
- package/dist/contracts/zero-types.d.ts +47 -0
- package/dist/contracts/zero-types.js +263 -0
- package/dist/contracts/zero.d.ts +781 -14
- package/dist/contracts/zero.js +204 -10
- package/dist/dashboard-paths/index.d.ts +2 -2
- package/dist/dashboard-paths/route-reservations.generated.d.ts +2 -2
- package/dist/dashboard-paths/route-reservations.generated.js +5 -0
- package/dist/docs/agent-prose.d.ts +1 -1
- package/dist/docs/agent-prose.js +15 -18
- package/dist/docs/agent-setup.d.ts +1 -1
- package/dist/docs/agent-setup.js +5 -13
- package/dist/docs/catalog.d.ts +64 -28
- package/dist/docs/catalog.js +155 -28
- package/dist/docs/error-docs.d.ts +365 -17
- package/dist/docs/error-docs.js +369 -21
- package/dist/docs/reference-urls.js +1 -1
- package/dist/docs/skills.d.ts +84 -84
- package/dist/docs/skills.js +66 -47
- package/dist/docs/start-prompts.d.ts +14 -0
- package/dist/docs/start-prompts.js +20 -0
- package/dist/utils/account-labels.d.ts +7 -0
- package/dist/utils/account-labels.js +15 -0
- package/dist/utils/auth.d.ts +1 -0
- package/dist/utils/auth.js +1 -0
- package/dist/utils/credential-policy.d.ts +22 -1
- package/dist/utils/credential-policy.js +55 -6
- package/dist/utils/local-space-state.d.ts +7 -0
- package/dist/utils/local-space-state.js +7 -0
- package/dist/utils/logger.d.ts +34 -0
- package/dist/utils/logger.js +144 -0
- package/dist/utils/page-routes.d.ts +9 -0
- package/dist/utils/page-routes.js +82 -0
- package/dist/utils/pages.d.ts +2 -0
- package/dist/utils/pages.js +7 -0
- package/dist/utils/publish-form-data.d.ts +2 -0
- package/dist/utils/publish-form-data.js +2 -0
- package/dist/utils/publish-policy-spacefast.d.ts +13 -0
- package/dist/utils/publish-policy-spacefast.js +117 -0
- package/dist/utils/publish-policy.d.ts +22 -16
- package/dist/utils/publish-policy.fixtures.json +15 -0
- package/dist/utils/publish-policy.js +62 -139
- package/dist/utils/query-client.js +9 -1
- package/dist/utils/runtime-upload.d.ts +4 -0
- package/dist/utils/runtime-upload.js +5 -0
- package/dist/utils/space-config.d.ts +2 -3
- package/dist/utils/space-config.js +1 -1
- package/dist/utils/uploaded-source.d.ts +4 -0
- package/dist/utils/uploaded-source.js +12 -0
- package/dist/visual-review.d.ts +4 -0
- package/dist/visual-review.js +208 -0
- package/dist/vocabulary.d.ts +38 -0
- package/dist/vocabulary.js +55 -0
- package/package.json +7 -2
- package/dist/agents/registry/deeplink-probes.d.ts +0 -23
- package/dist/agents/registry/deeplink-probes.js +0 -18
|
@@ -122,8 +122,8 @@ export declare const SuperadminSpaceDetailSchema: z.ZodObject<{
|
|
|
122
122
|
providerMainHostname: z.ZodNullable<z.ZodString>;
|
|
123
123
|
provisioningState: z.ZodEnum<{
|
|
124
124
|
provisioning: "provisioning";
|
|
125
|
-
degraded: "degraded";
|
|
126
125
|
converged: "converged";
|
|
126
|
+
degraded: "degraded";
|
|
127
127
|
}>;
|
|
128
128
|
}, z.core.$strip>>;
|
|
129
129
|
anonymous: z.ZodBoolean;
|
|
@@ -131,10 +131,10 @@ export declare const SuperadminSpaceDetailSchema: z.ZodObject<{
|
|
|
131
131
|
title: z.ZodString;
|
|
132
132
|
status: z.ZodEnum<{
|
|
133
133
|
active: "active";
|
|
134
|
-
failed: "failed";
|
|
135
134
|
provisioning: "provisioning";
|
|
136
135
|
updating: "updating";
|
|
137
136
|
deleting: "deleting";
|
|
137
|
+
failed: "failed";
|
|
138
138
|
}>;
|
|
139
139
|
disabled: z.ZodNullable<z.ZodObject<{
|
|
140
140
|
at: z.ZodNullable<z.ZodString>;
|
|
@@ -246,7 +246,6 @@ export declare const SuperadminSpaceDetailSchema: z.ZodObject<{
|
|
|
246
246
|
burstable: z.ZodOptional<z.ZodBoolean>;
|
|
247
247
|
}, z.core.$strict>>;
|
|
248
248
|
markdownNegotiation: z.ZodOptional<z.ZodBoolean>;
|
|
249
|
-
experimental_gutenberg: z.ZodOptional<z.ZodBoolean>;
|
|
250
249
|
inject: z.ZodOptional<z.ZodObject<{
|
|
251
250
|
head: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
252
251
|
bodyStart: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -270,6 +269,7 @@ export declare const SuperadminSpaceDetailSchema: z.ZodObject<{
|
|
|
270
269
|
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
271
270
|
repository: z.ZodNullable<z.ZodString>;
|
|
272
271
|
defaultBranch: z.ZodNullable<z.ZodString>;
|
|
272
|
+
provisioned: z.ZodBoolean;
|
|
273
273
|
}, z.core.$strip>>;
|
|
274
274
|
operation: z.ZodNullable<z.ZodObject<{
|
|
275
275
|
id: z.ZodString;
|
|
@@ -400,12 +400,6 @@ export declare const SuperadminSpaceViewLinkSchema: z.ZodObject<{
|
|
|
400
400
|
expiresAt: z.ZodString;
|
|
401
401
|
url: z.ZodString;
|
|
402
402
|
}, z.core.$strict>;
|
|
403
|
-
export declare const SuperadminEngineSyncStateSchema: z.ZodEnum<{
|
|
404
|
-
failed: "failed";
|
|
405
|
-
running: "running";
|
|
406
|
-
pending: "pending";
|
|
407
|
-
idle: "idle";
|
|
408
|
-
}>;
|
|
409
403
|
export declare const SuperadminSpacePlacementSchema: z.ZodObject<{
|
|
410
404
|
state: z.ZodEnum<{
|
|
411
405
|
placed: "placed";
|
|
@@ -421,18 +415,9 @@ export declare const SuperadminSpacePlacementSchema: z.ZodObject<{
|
|
|
421
415
|
}, z.core.$strict>;
|
|
422
416
|
export declare const SuperadminSpaceEngineSchema: z.ZodObject<{
|
|
423
417
|
reportedRevision: z.ZodNullable<z.ZodString>;
|
|
424
|
-
targetRevision: z.ZodNullable<z.ZodString>;
|
|
425
418
|
desiredRevision: z.ZodNullable<z.ZodString>;
|
|
419
|
+
pinnedRevision: z.ZodNullable<z.ZodString>;
|
|
426
420
|
reportedAt: z.ZodNullable<z.ZodString>;
|
|
427
|
-
state: z.ZodEnum<{
|
|
428
|
-
failed: "failed";
|
|
429
|
-
running: "running";
|
|
430
|
-
pending: "pending";
|
|
431
|
-
idle: "idle";
|
|
432
|
-
}>;
|
|
433
|
-
lastError: z.ZodNullable<z.ZodString>;
|
|
434
|
-
attemptCount: z.ZodNumber;
|
|
435
|
-
nextAttemptAt: z.ZodNullable<z.ZodString>;
|
|
436
421
|
diverged: z.ZodBoolean;
|
|
437
422
|
}, z.core.$strict>;
|
|
438
423
|
export declare const SuperadminSpaceLiveVersionSchema: z.ZodObject<{
|
|
@@ -454,10 +439,10 @@ export declare const SuperadminSpaceListItemSchema: z.ZodObject<{
|
|
|
454
439
|
id: z.ZodString;
|
|
455
440
|
status: z.ZodEnum<{
|
|
456
441
|
active: "active";
|
|
457
|
-
failed: "failed";
|
|
458
442
|
provisioning: "provisioning";
|
|
459
443
|
updating: "updating";
|
|
460
444
|
deleting: "deleting";
|
|
445
|
+
failed: "failed";
|
|
461
446
|
}>;
|
|
462
447
|
anonymous: z.ZodBoolean;
|
|
463
448
|
disabled: z.ZodNullable<z.ZodObject<{
|
|
@@ -500,18 +485,9 @@ export declare const SuperadminSpaceListItemSchema: z.ZodObject<{
|
|
|
500
485
|
}, z.core.$strict>;
|
|
501
486
|
engine: z.ZodObject<{
|
|
502
487
|
reportedRevision: z.ZodNullable<z.ZodString>;
|
|
503
|
-
targetRevision: z.ZodNullable<z.ZodString>;
|
|
504
488
|
desiredRevision: z.ZodNullable<z.ZodString>;
|
|
489
|
+
pinnedRevision: z.ZodNullable<z.ZodString>;
|
|
505
490
|
reportedAt: z.ZodNullable<z.ZodString>;
|
|
506
|
-
state: z.ZodEnum<{
|
|
507
|
-
failed: "failed";
|
|
508
|
-
running: "running";
|
|
509
|
-
pending: "pending";
|
|
510
|
-
idle: "idle";
|
|
511
|
-
}>;
|
|
512
|
-
lastError: z.ZodNullable<z.ZodString>;
|
|
513
|
-
attemptCount: z.ZodNumber;
|
|
514
|
-
nextAttemptAt: z.ZodNullable<z.ZodString>;
|
|
515
491
|
diverged: z.ZodBoolean;
|
|
516
492
|
}, z.core.$strict>;
|
|
517
493
|
liveVersion: z.ZodNullable<z.ZodObject<{
|
|
@@ -535,10 +511,10 @@ export declare const SuperadminSpaceListSchema: z.ZodObject<{
|
|
|
535
511
|
id: z.ZodString;
|
|
536
512
|
status: z.ZodEnum<{
|
|
537
513
|
active: "active";
|
|
538
|
-
failed: "failed";
|
|
539
514
|
provisioning: "provisioning";
|
|
540
515
|
updating: "updating";
|
|
541
516
|
deleting: "deleting";
|
|
517
|
+
failed: "failed";
|
|
542
518
|
}>;
|
|
543
519
|
anonymous: z.ZodBoolean;
|
|
544
520
|
disabled: z.ZodNullable<z.ZodObject<{
|
|
@@ -581,18 +557,9 @@ export declare const SuperadminSpaceListSchema: z.ZodObject<{
|
|
|
581
557
|
}, z.core.$strict>;
|
|
582
558
|
engine: z.ZodObject<{
|
|
583
559
|
reportedRevision: z.ZodNullable<z.ZodString>;
|
|
584
|
-
targetRevision: z.ZodNullable<z.ZodString>;
|
|
585
560
|
desiredRevision: z.ZodNullable<z.ZodString>;
|
|
561
|
+
pinnedRevision: z.ZodNullable<z.ZodString>;
|
|
586
562
|
reportedAt: z.ZodNullable<z.ZodString>;
|
|
587
|
-
state: z.ZodEnum<{
|
|
588
|
-
failed: "failed";
|
|
589
|
-
running: "running";
|
|
590
|
-
pending: "pending";
|
|
591
|
-
idle: "idle";
|
|
592
|
-
}>;
|
|
593
|
-
lastError: z.ZodNullable<z.ZodString>;
|
|
594
|
-
attemptCount: z.ZodNumber;
|
|
595
|
-
nextAttemptAt: z.ZodNullable<z.ZodString>;
|
|
596
563
|
diverged: z.ZodBoolean;
|
|
597
564
|
}, z.core.$strict>;
|
|
598
565
|
liveVersion: z.ZodNullable<z.ZodObject<{
|
|
@@ -634,10 +601,10 @@ export declare const superadminSpaceListQuerySchema: z.ZodObject<{
|
|
|
634
601
|
}>>;
|
|
635
602
|
status: z.ZodOptional<z.ZodEnum<{
|
|
636
603
|
active: "active";
|
|
637
|
-
failed: "failed";
|
|
638
604
|
provisioning: "provisioning";
|
|
639
605
|
updating: "updating";
|
|
640
606
|
deleting: "deleting";
|
|
607
|
+
failed: "failed";
|
|
641
608
|
}>>;
|
|
642
609
|
disabled: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodBoolean>>;
|
|
643
610
|
retainedDeletion: z.ZodOptional<z.ZodEnum<{
|
|
@@ -649,12 +616,6 @@ export declare const superadminSpaceListQuerySchema: z.ZodObject<{
|
|
|
649
616
|
unplaced: "unplaced";
|
|
650
617
|
}>>;
|
|
651
618
|
diverged: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodBoolean>>;
|
|
652
|
-
engineState: z.ZodOptional<z.ZodEnum<{
|
|
653
|
-
failed: "failed";
|
|
654
|
-
running: "running";
|
|
655
|
-
pending: "pending";
|
|
656
|
-
idle: "idle";
|
|
657
|
-
}>>;
|
|
658
619
|
engineRevision: z.ZodOptional<z.ZodString>;
|
|
659
620
|
sort: z.ZodDefault<z.ZodEnum<{
|
|
660
621
|
title: "title";
|
|
@@ -688,10 +649,10 @@ export declare const SuperadminManageResponseSchema: z.ZodObject<{
|
|
|
688
649
|
id: z.ZodString;
|
|
689
650
|
status: z.ZodEnum<{
|
|
690
651
|
active: "active";
|
|
691
|
-
failed: "failed";
|
|
692
652
|
provisioning: "provisioning";
|
|
693
653
|
updating: "updating";
|
|
694
654
|
deleting: "deleting";
|
|
655
|
+
failed: "failed";
|
|
695
656
|
}>;
|
|
696
657
|
anonymous: z.ZodBoolean;
|
|
697
658
|
disabled: z.ZodNullable<z.ZodObject<{
|
|
@@ -734,18 +695,9 @@ export declare const SuperadminManageResponseSchema: z.ZodObject<{
|
|
|
734
695
|
}, z.core.$strict>;
|
|
735
696
|
engine: z.ZodObject<{
|
|
736
697
|
reportedRevision: z.ZodNullable<z.ZodString>;
|
|
737
|
-
targetRevision: z.ZodNullable<z.ZodString>;
|
|
738
698
|
desiredRevision: z.ZodNullable<z.ZodString>;
|
|
699
|
+
pinnedRevision: z.ZodNullable<z.ZodString>;
|
|
739
700
|
reportedAt: z.ZodNullable<z.ZodString>;
|
|
740
|
-
state: z.ZodEnum<{
|
|
741
|
-
failed: "failed";
|
|
742
|
-
running: "running";
|
|
743
|
-
pending: "pending";
|
|
744
|
-
idle: "idle";
|
|
745
|
-
}>;
|
|
746
|
-
lastError: z.ZodNullable<z.ZodString>;
|
|
747
|
-
attemptCount: z.ZodNumber;
|
|
748
|
-
nextAttemptAt: z.ZodNullable<z.ZodString>;
|
|
749
701
|
diverged: z.ZodBoolean;
|
|
750
702
|
}, z.core.$strict>;
|
|
751
703
|
liveVersion: z.ZodNullable<z.ZodObject<{
|
|
@@ -779,18 +731,9 @@ export declare const SuperadminManageResponseSchema: z.ZodObject<{
|
|
|
779
731
|
}, z.core.$strict>;
|
|
780
732
|
engine: z.ZodObject<{
|
|
781
733
|
reportedRevision: z.ZodNullable<z.ZodString>;
|
|
782
|
-
targetRevision: z.ZodNullable<z.ZodString>;
|
|
783
734
|
desiredRevision: z.ZodNullable<z.ZodString>;
|
|
735
|
+
pinnedRevision: z.ZodNullable<z.ZodString>;
|
|
784
736
|
reportedAt: z.ZodNullable<z.ZodString>;
|
|
785
|
-
state: z.ZodEnum<{
|
|
786
|
-
failed: "failed";
|
|
787
|
-
running: "running";
|
|
788
|
-
pending: "pending";
|
|
789
|
-
idle: "idle";
|
|
790
|
-
}>;
|
|
791
|
-
lastError: z.ZodNullable<z.ZodString>;
|
|
792
|
-
attemptCount: z.ZodNumber;
|
|
793
|
-
nextAttemptAt: z.ZodNullable<z.ZodString>;
|
|
794
737
|
diverged: z.ZodBoolean;
|
|
795
738
|
}, z.core.$strict>;
|
|
796
739
|
health: z.ZodObject<{
|
|
@@ -972,8 +915,8 @@ export declare const SuperadminSpaceAssignResponseSchema: z.ZodObject<{
|
|
|
972
915
|
providerMainHostname: z.ZodNullable<z.ZodString>;
|
|
973
916
|
provisioningState: z.ZodEnum<{
|
|
974
917
|
provisioning: "provisioning";
|
|
975
|
-
degraded: "degraded";
|
|
976
918
|
converged: "converged";
|
|
919
|
+
degraded: "degraded";
|
|
977
920
|
}>;
|
|
978
921
|
}, z.core.$strip>>;
|
|
979
922
|
anonymous: z.ZodBoolean;
|
|
@@ -981,10 +924,10 @@ export declare const SuperadminSpaceAssignResponseSchema: z.ZodObject<{
|
|
|
981
924
|
title: z.ZodString;
|
|
982
925
|
status: z.ZodEnum<{
|
|
983
926
|
active: "active";
|
|
984
|
-
failed: "failed";
|
|
985
927
|
provisioning: "provisioning";
|
|
986
928
|
updating: "updating";
|
|
987
929
|
deleting: "deleting";
|
|
930
|
+
failed: "failed";
|
|
988
931
|
}>;
|
|
989
932
|
disabled: z.ZodNullable<z.ZodObject<{
|
|
990
933
|
at: z.ZodNullable<z.ZodString>;
|
|
@@ -1096,7 +1039,6 @@ export declare const SuperadminSpaceAssignResponseSchema: z.ZodObject<{
|
|
|
1096
1039
|
burstable: z.ZodOptional<z.ZodBoolean>;
|
|
1097
1040
|
}, z.core.$strict>>;
|
|
1098
1041
|
markdownNegotiation: z.ZodOptional<z.ZodBoolean>;
|
|
1099
|
-
experimental_gutenberg: z.ZodOptional<z.ZodBoolean>;
|
|
1100
1042
|
inject: z.ZodOptional<z.ZodObject<{
|
|
1101
1043
|
head: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1102
1044
|
bodyStart: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1120,6 +1062,7 @@ export declare const SuperadminSpaceAssignResponseSchema: z.ZodObject<{
|
|
|
1120
1062
|
remoteUrl: z.ZodNullable<z.ZodString>;
|
|
1121
1063
|
repository: z.ZodNullable<z.ZodString>;
|
|
1122
1064
|
defaultBranch: z.ZodNullable<z.ZodString>;
|
|
1065
|
+
provisioned: z.ZodBoolean;
|
|
1123
1066
|
}, z.core.$strip>>;
|
|
1124
1067
|
operation: z.ZodNullable<z.ZodObject<{
|
|
1125
1068
|
id: z.ZodString;
|
|
@@ -102,7 +102,6 @@ export const SuperadminSpaceViewLinkSchema = z
|
|
|
102
102
|
url: z.string().url(),
|
|
103
103
|
})
|
|
104
104
|
.strict();
|
|
105
|
-
export const SuperadminEngineSyncStateSchema = z.enum(["idle", "pending", "running", "failed"]);
|
|
106
105
|
export const SuperadminSpacePlacementSchema = z
|
|
107
106
|
.object({
|
|
108
107
|
state: z.enum(["placed", "unplaced"]),
|
|
@@ -118,13 +117,10 @@ export const SuperadminSpacePlacementSchema = z
|
|
|
118
117
|
export const SuperadminSpaceEngineSchema = z
|
|
119
118
|
.object({
|
|
120
119
|
reportedRevision: z.string().nullable(),
|
|
121
|
-
targetRevision: z.string().nullable(),
|
|
122
120
|
desiredRevision: z.string().nullable(),
|
|
121
|
+
// Non-null when the box holds a pinned revision instead of the rollout.
|
|
122
|
+
pinnedRevision: z.string().nullable(),
|
|
123
123
|
reportedAt: z.string().datetime().nullable(),
|
|
124
|
-
state: SuperadminEngineSyncStateSchema,
|
|
125
|
-
lastError: z.string().nullable(),
|
|
126
|
-
attemptCount: z.number().int().nonnegative(),
|
|
127
|
-
nextAttemptAt: z.string().datetime().nullable(),
|
|
128
124
|
diverged: z.boolean(),
|
|
129
125
|
})
|
|
130
126
|
.strict();
|
|
@@ -191,7 +187,6 @@ export const superadminSpaceListQuerySchema = z.object({
|
|
|
191
187
|
retainedDeletion: z.enum(["pending", "overdue"]).optional(),
|
|
192
188
|
placement: z.enum(["placed", "unplaced"]).optional(),
|
|
193
189
|
diverged: z.stringbool().optional(),
|
|
194
|
-
engineState: SuperadminEngineSyncStateSchema.optional(),
|
|
195
190
|
engineRevision: z.string().trim().min(1).optional(),
|
|
196
191
|
sort: z.enum(["created", "title", "engine", "placement"]).default("created"),
|
|
197
192
|
direction: z.enum(["asc", "desc"]).default("desc"),
|
|
@@ -7,6 +7,9 @@ export declare const SuperadminTeamSchema: z.ZodObject<{
|
|
|
7
7
|
logo: z.ZodNullable<z.ZodString>;
|
|
8
8
|
defaultDataLocation: z.ZodNullable<z.ZodString>;
|
|
9
9
|
stripeCustomerId: z.ZodNullable<z.ZodString>;
|
|
10
|
+
partner: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
enabledAt: z.ZodString;
|
|
12
|
+
}, z.core.$strip>>;
|
|
10
13
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
11
14
|
memberCount: z.ZodNumber;
|
|
12
15
|
spaceCount: z.ZodNumber;
|
|
@@ -40,6 +43,9 @@ export declare const SuperadminTeamDetailSchema: z.ZodObject<{
|
|
|
40
43
|
logo: z.ZodNullable<z.ZodString>;
|
|
41
44
|
defaultDataLocation: z.ZodNullable<z.ZodString>;
|
|
42
45
|
stripeCustomerId: z.ZodNullable<z.ZodString>;
|
|
46
|
+
partner: z.ZodNullable<z.ZodObject<{
|
|
47
|
+
enabledAt: z.ZodString;
|
|
48
|
+
}, z.core.$strip>>;
|
|
43
49
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
44
50
|
memberCount: z.ZodNumber;
|
|
45
51
|
spaceCount: z.ZodNumber;
|
|
@@ -74,6 +80,9 @@ export declare const SuperadminTeamListSchema: z.ZodObject<{
|
|
|
74
80
|
logo: z.ZodNullable<z.ZodString>;
|
|
75
81
|
defaultDataLocation: z.ZodNullable<z.ZodString>;
|
|
76
82
|
stripeCustomerId: z.ZodNullable<z.ZodString>;
|
|
83
|
+
partner: z.ZodNullable<z.ZodObject<{
|
|
84
|
+
enabledAt: z.ZodString;
|
|
85
|
+
}, z.core.$strip>>;
|
|
77
86
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
78
87
|
memberCount: z.ZodNumber;
|
|
79
88
|
spaceCount: z.ZodNumber;
|
|
@@ -96,5 +105,8 @@ export declare const superadminTeamListQuerySchema: z.ZodObject<{
|
|
|
96
105
|
search: z.ZodOptional<z.ZodString>;
|
|
97
106
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
98
107
|
}, z.core.$strip>;
|
|
108
|
+
export declare const superadminTeamPartnerUpdateSchema: z.ZodObject<{
|
|
109
|
+
partnerEnabled: z.ZodBoolean;
|
|
110
|
+
}, z.core.$strict>;
|
|
99
111
|
export type SuperadminTeam = z.infer<typeof SuperadminTeamSchema>;
|
|
100
112
|
export type SuperadminTeamDetail = z.infer<typeof SuperadminTeamDetailSchema>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { makeOffsetListSchema } from "./common.js";
|
|
3
3
|
import { superadminPaginationSchema } from "./superadmin.js";
|
|
4
|
-
import { TeamMemberSchema } from "./teams.js";
|
|
4
|
+
import { TeamMemberSchema, TeamPartnerSchema } from "./teams.js";
|
|
5
5
|
export const SuperadminTeamSchema = z.object({
|
|
6
6
|
id: z.string(),
|
|
7
7
|
tenantId: z.string(),
|
|
@@ -10,6 +10,7 @@ export const SuperadminTeamSchema = z.object({
|
|
|
10
10
|
logo: z.string().nullable(),
|
|
11
11
|
defaultDataLocation: z.string().nullable(),
|
|
12
12
|
stripeCustomerId: z.string().nullable(),
|
|
13
|
+
partner: TeamPartnerSchema,
|
|
13
14
|
deletedAt: z.string().datetime().nullable(),
|
|
14
15
|
memberCount: z.number().int().nonnegative(),
|
|
15
16
|
spaceCount: z.number().int().nonnegative(),
|
|
@@ -30,3 +31,8 @@ export const superadminTeamListQuerySchema = z.object({
|
|
|
30
31
|
search: z.string().trim().optional(),
|
|
31
32
|
tenantId: z.string().trim().optional(),
|
|
32
33
|
});
|
|
34
|
+
export const superadminTeamPartnerUpdateSchema = z
|
|
35
|
+
.object({
|
|
36
|
+
partnerEnabled: z.boolean(),
|
|
37
|
+
})
|
|
38
|
+
.strict();
|
|
@@ -214,7 +214,11 @@ export declare const SuperadminBootstrapKeySchema: z.ZodObject<{
|
|
|
214
214
|
}>;
|
|
215
215
|
id: z.ZodString;
|
|
216
216
|
}, z.core.$strip>>;
|
|
217
|
-
createdByUserId: z.ZodString
|
|
217
|
+
createdByUserId: z.ZodNullable<z.ZodString>;
|
|
218
|
+
collection: z.ZodEnum<{
|
|
219
|
+
team: "team";
|
|
220
|
+
tenant: "tenant";
|
|
221
|
+
}>;
|
|
218
222
|
preset: z.ZodNullable<z.ZodEnum<{
|
|
219
223
|
ci_deploy: "ci_deploy";
|
|
220
224
|
space_publisher: "space_publisher";
|
|
@@ -235,15 +239,20 @@ export declare const SuperadminBootstrapKeySchema: z.ZodObject<{
|
|
|
235
239
|
actions: z.ZodArray<z.ZodEnum<{
|
|
236
240
|
"teams:read": "teams:read";
|
|
237
241
|
"teams:create": "teams:create";
|
|
242
|
+
"teams:members.write": "teams:members.write";
|
|
238
243
|
"spaces:read": "spaces:read";
|
|
239
244
|
"spaces:write": "spaces:write";
|
|
240
245
|
"spaces:rename": "spaces:rename";
|
|
246
|
+
"spaces:delete": "spaces:delete";
|
|
247
|
+
"versions:download": "versions:download";
|
|
241
248
|
"domains:read": "domains:read";
|
|
249
|
+
"connectors:read": "connectors:read";
|
|
250
|
+
"connectors:write": "connectors:write";
|
|
251
|
+
"connectors:execute": "connectors:execute";
|
|
242
252
|
"spaces:publish": "spaces:publish";
|
|
243
253
|
"builds:trigger": "builds:trigger";
|
|
244
254
|
"*": "*";
|
|
245
255
|
"spaces:create": "spaces:create";
|
|
246
|
-
"spaces:delete": "spaces:delete";
|
|
247
256
|
"spaces:transfer": "spaces:transfer";
|
|
248
257
|
"spaces:export": "spaces:export";
|
|
249
258
|
"spaces:import": "spaces:import";
|
|
@@ -251,7 +260,6 @@ export declare const SuperadminBootstrapKeySchema: z.ZodObject<{
|
|
|
251
260
|
"versions:read": "versions:read";
|
|
252
261
|
"versions:promote": "versions:promote";
|
|
253
262
|
"versions:delete": "versions:delete";
|
|
254
|
-
"versions:download": "versions:download";
|
|
255
263
|
"domains:create": "domains:create";
|
|
256
264
|
"domains:verify": "domains:verify";
|
|
257
265
|
"domains:assign": "domains:assign";
|
|
@@ -272,7 +280,6 @@ export declare const SuperadminBootstrapKeySchema: z.ZodObject<{
|
|
|
272
280
|
"principals:write": "principals:write";
|
|
273
281
|
"infrastructure:read": "infrastructure:read";
|
|
274
282
|
"teams:write": "teams:write";
|
|
275
|
-
"teams:members.write": "teams:members.write";
|
|
276
283
|
"billing:read": "billing:read";
|
|
277
284
|
"billing:write": "billing:write";
|
|
278
285
|
"tokens:read": "tokens:read";
|
|
@@ -375,7 +382,11 @@ export declare const SuperadminTenantWithBootstrapKeySchema: z.ZodObject<{
|
|
|
375
382
|
}>;
|
|
376
383
|
id: z.ZodString;
|
|
377
384
|
}, z.core.$strip>>;
|
|
378
|
-
createdByUserId: z.ZodString
|
|
385
|
+
createdByUserId: z.ZodNullable<z.ZodString>;
|
|
386
|
+
collection: z.ZodEnum<{
|
|
387
|
+
team: "team";
|
|
388
|
+
tenant: "tenant";
|
|
389
|
+
}>;
|
|
379
390
|
preset: z.ZodNullable<z.ZodEnum<{
|
|
380
391
|
ci_deploy: "ci_deploy";
|
|
381
392
|
space_publisher: "space_publisher";
|
|
@@ -396,15 +407,20 @@ export declare const SuperadminTenantWithBootstrapKeySchema: z.ZodObject<{
|
|
|
396
407
|
actions: z.ZodArray<z.ZodEnum<{
|
|
397
408
|
"teams:read": "teams:read";
|
|
398
409
|
"teams:create": "teams:create";
|
|
410
|
+
"teams:members.write": "teams:members.write";
|
|
399
411
|
"spaces:read": "spaces:read";
|
|
400
412
|
"spaces:write": "spaces:write";
|
|
401
413
|
"spaces:rename": "spaces:rename";
|
|
414
|
+
"spaces:delete": "spaces:delete";
|
|
415
|
+
"versions:download": "versions:download";
|
|
402
416
|
"domains:read": "domains:read";
|
|
417
|
+
"connectors:read": "connectors:read";
|
|
418
|
+
"connectors:write": "connectors:write";
|
|
419
|
+
"connectors:execute": "connectors:execute";
|
|
403
420
|
"spaces:publish": "spaces:publish";
|
|
404
421
|
"builds:trigger": "builds:trigger";
|
|
405
422
|
"*": "*";
|
|
406
423
|
"spaces:create": "spaces:create";
|
|
407
|
-
"spaces:delete": "spaces:delete";
|
|
408
424
|
"spaces:transfer": "spaces:transfer";
|
|
409
425
|
"spaces:export": "spaces:export";
|
|
410
426
|
"spaces:import": "spaces:import";
|
|
@@ -412,7 +428,6 @@ export declare const SuperadminTenantWithBootstrapKeySchema: z.ZodObject<{
|
|
|
412
428
|
"versions:read": "versions:read";
|
|
413
429
|
"versions:promote": "versions:promote";
|
|
414
430
|
"versions:delete": "versions:delete";
|
|
415
|
-
"versions:download": "versions:download";
|
|
416
431
|
"domains:create": "domains:create";
|
|
417
432
|
"domains:verify": "domains:verify";
|
|
418
433
|
"domains:assign": "domains:assign";
|
|
@@ -433,7 +448,6 @@ export declare const SuperadminTenantWithBootstrapKeySchema: z.ZodObject<{
|
|
|
433
448
|
"principals:write": "principals:write";
|
|
434
449
|
"infrastructure:read": "infrastructure:read";
|
|
435
450
|
"teams:write": "teams:write";
|
|
436
|
-
"teams:members.write": "teams:members.write";
|
|
437
451
|
"billing:read": "billing:read";
|
|
438
452
|
"billing:write": "billing:write";
|
|
439
453
|
"tokens:read": "tokens:read";
|
|
@@ -538,7 +552,11 @@ export declare const SuperadminTenantPairSchema: z.ZodObject<{
|
|
|
538
552
|
}>;
|
|
539
553
|
id: z.ZodString;
|
|
540
554
|
}, z.core.$strip>>;
|
|
541
|
-
createdByUserId: z.ZodString
|
|
555
|
+
createdByUserId: z.ZodNullable<z.ZodString>;
|
|
556
|
+
collection: z.ZodEnum<{
|
|
557
|
+
team: "team";
|
|
558
|
+
tenant: "tenant";
|
|
559
|
+
}>;
|
|
542
560
|
preset: z.ZodNullable<z.ZodEnum<{
|
|
543
561
|
ci_deploy: "ci_deploy";
|
|
544
562
|
space_publisher: "space_publisher";
|
|
@@ -559,15 +577,20 @@ export declare const SuperadminTenantPairSchema: z.ZodObject<{
|
|
|
559
577
|
actions: z.ZodArray<z.ZodEnum<{
|
|
560
578
|
"teams:read": "teams:read";
|
|
561
579
|
"teams:create": "teams:create";
|
|
580
|
+
"teams:members.write": "teams:members.write";
|
|
562
581
|
"spaces:read": "spaces:read";
|
|
563
582
|
"spaces:write": "spaces:write";
|
|
564
583
|
"spaces:rename": "spaces:rename";
|
|
584
|
+
"spaces:delete": "spaces:delete";
|
|
585
|
+
"versions:download": "versions:download";
|
|
565
586
|
"domains:read": "domains:read";
|
|
587
|
+
"connectors:read": "connectors:read";
|
|
588
|
+
"connectors:write": "connectors:write";
|
|
589
|
+
"connectors:execute": "connectors:execute";
|
|
566
590
|
"spaces:publish": "spaces:publish";
|
|
567
591
|
"builds:trigger": "builds:trigger";
|
|
568
592
|
"*": "*";
|
|
569
593
|
"spaces:create": "spaces:create";
|
|
570
|
-
"spaces:delete": "spaces:delete";
|
|
571
594
|
"spaces:transfer": "spaces:transfer";
|
|
572
595
|
"spaces:export": "spaces:export";
|
|
573
596
|
"spaces:import": "spaces:import";
|
|
@@ -575,7 +598,6 @@ export declare const SuperadminTenantPairSchema: z.ZodObject<{
|
|
|
575
598
|
"versions:read": "versions:read";
|
|
576
599
|
"versions:promote": "versions:promote";
|
|
577
600
|
"versions:delete": "versions:delete";
|
|
578
|
-
"versions:download": "versions:download";
|
|
579
601
|
"domains:create": "domains:create";
|
|
580
602
|
"domains:verify": "domains:verify";
|
|
581
603
|
"domains:assign": "domains:assign";
|
|
@@ -596,7 +618,6 @@ export declare const SuperadminTenantPairSchema: z.ZodObject<{
|
|
|
596
618
|
"principals:write": "principals:write";
|
|
597
619
|
"infrastructure:read": "infrastructure:read";
|
|
598
620
|
"teams:write": "teams:write";
|
|
599
|
-
"teams:members.write": "teams:members.write";
|
|
600
621
|
"billing:read": "billing:read";
|
|
601
622
|
"billing:write": "billing:write";
|
|
602
623
|
"tokens:read": "tokens:read";
|
|
@@ -700,7 +721,11 @@ export declare const SuperadminTenantPairSchema: z.ZodObject<{
|
|
|
700
721
|
}>;
|
|
701
722
|
id: z.ZodString;
|
|
702
723
|
}, z.core.$strip>>;
|
|
703
|
-
createdByUserId: z.ZodString
|
|
724
|
+
createdByUserId: z.ZodNullable<z.ZodString>;
|
|
725
|
+
collection: z.ZodEnum<{
|
|
726
|
+
team: "team";
|
|
727
|
+
tenant: "tenant";
|
|
728
|
+
}>;
|
|
704
729
|
preset: z.ZodNullable<z.ZodEnum<{
|
|
705
730
|
ci_deploy: "ci_deploy";
|
|
706
731
|
space_publisher: "space_publisher";
|
|
@@ -721,15 +746,20 @@ export declare const SuperadminTenantPairSchema: z.ZodObject<{
|
|
|
721
746
|
actions: z.ZodArray<z.ZodEnum<{
|
|
722
747
|
"teams:read": "teams:read";
|
|
723
748
|
"teams:create": "teams:create";
|
|
749
|
+
"teams:members.write": "teams:members.write";
|
|
724
750
|
"spaces:read": "spaces:read";
|
|
725
751
|
"spaces:write": "spaces:write";
|
|
726
752
|
"spaces:rename": "spaces:rename";
|
|
753
|
+
"spaces:delete": "spaces:delete";
|
|
754
|
+
"versions:download": "versions:download";
|
|
727
755
|
"domains:read": "domains:read";
|
|
756
|
+
"connectors:read": "connectors:read";
|
|
757
|
+
"connectors:write": "connectors:write";
|
|
758
|
+
"connectors:execute": "connectors:execute";
|
|
728
759
|
"spaces:publish": "spaces:publish";
|
|
729
760
|
"builds:trigger": "builds:trigger";
|
|
730
761
|
"*": "*";
|
|
731
762
|
"spaces:create": "spaces:create";
|
|
732
|
-
"spaces:delete": "spaces:delete";
|
|
733
763
|
"spaces:transfer": "spaces:transfer";
|
|
734
764
|
"spaces:export": "spaces:export";
|
|
735
765
|
"spaces:import": "spaces:import";
|
|
@@ -737,7 +767,6 @@ export declare const SuperadminTenantPairSchema: z.ZodObject<{
|
|
|
737
767
|
"versions:read": "versions:read";
|
|
738
768
|
"versions:promote": "versions:promote";
|
|
739
769
|
"versions:delete": "versions:delete";
|
|
740
|
-
"versions:download": "versions:download";
|
|
741
770
|
"domains:create": "domains:create";
|
|
742
771
|
"domains:verify": "domains:verify";
|
|
743
772
|
"domains:assign": "domains:assign";
|
|
@@ -758,7 +787,6 @@ export declare const SuperadminTenantPairSchema: z.ZodObject<{
|
|
|
758
787
|
"principals:write": "principals:write";
|
|
759
788
|
"infrastructure:read": "infrastructure:read";
|
|
760
789
|
"teams:write": "teams:write";
|
|
761
|
-
"teams:members.write": "teams:members.write";
|
|
762
790
|
"billing:read": "billing:read";
|
|
763
791
|
"billing:write": "billing:write";
|
|
764
792
|
"tokens:read": "tokens:read";
|
|
@@ -482,8 +482,8 @@ export declare const SuperadminAddonSchema: z.ZodObject<{
|
|
|
482
482
|
amount: z.ZodNumber;
|
|
483
483
|
quantity: z.ZodNumber;
|
|
484
484
|
source: z.ZodEnum<{
|
|
485
|
-
grant: "grant";
|
|
486
485
|
stripe: "stripe";
|
|
486
|
+
grant: "grant";
|
|
487
487
|
}>;
|
|
488
488
|
reference: z.ZodNullable<z.ZodString>;
|
|
489
489
|
note: z.ZodNullable<z.ZodString>;
|
|
@@ -544,8 +544,8 @@ export declare const SuperadminTeamBillingOverviewSchema: z.ZodObject<{
|
|
|
544
544
|
planCode: z.ZodString;
|
|
545
545
|
sources: z.ZodArray<z.ZodObject<{
|
|
546
546
|
provider: z.ZodEnum<{
|
|
547
|
-
grant: "grant";
|
|
548
547
|
stripe: "stripe";
|
|
548
|
+
grant: "grant";
|
|
549
549
|
}>;
|
|
550
550
|
planCode: z.ZodString;
|
|
551
551
|
active: z.ZodBoolean;
|