@vercel/sdk 14.0.0-canary.5 → 14.0.0-canary.6

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.
Files changed (129) hide show
  1. package/README.md +0 -11
  2. package/docs/sdks/projects/README.md +8 -12
  3. package/esm/funcs/projectsPauseProject.d.ts +2 -2
  4. package/esm/funcs/projectsPauseProject.d.ts.map +1 -1
  5. package/esm/funcs/projectsPauseProject.js +4 -3
  6. package/esm/funcs/projectsPauseProject.js.map +1 -1
  7. package/esm/funcs/projectsUnpauseProject.d.ts +2 -2
  8. package/esm/funcs/projectsUnpauseProject.d.ts.map +1 -1
  9. package/esm/funcs/projectsUnpauseProject.js +4 -3
  10. package/esm/funcs/projectsUnpauseProject.js.map +1 -1
  11. package/esm/lib/config.d.ts +3 -3
  12. package/esm/lib/config.js +3 -3
  13. package/esm/models/operations/createproject.d.ts +91 -9
  14. package/esm/models/operations/createproject.d.ts.map +1 -1
  15. package/esm/models/operations/createproject.js +55 -3
  16. package/esm/models/operations/createproject.js.map +1 -1
  17. package/esm/models/operations/createprojectenv.d.ts +6 -6
  18. package/esm/models/operations/createprojectenv.js +2 -2
  19. package/esm/models/operations/createprojectenv.js.map +1 -1
  20. package/esm/models/operations/createwebhook.d.ts +12 -6
  21. package/esm/models/operations/createwebhook.d.ts.map +1 -1
  22. package/esm/models/operations/createwebhook.js +4 -2
  23. package/esm/models/operations/createwebhook.js.map +1 -1
  24. package/esm/models/operations/editprojectenv.d.ts +3 -3
  25. package/esm/models/operations/editprojectenv.js +1 -1
  26. package/esm/models/operations/editprojectenv.js.map +1 -1
  27. package/esm/models/operations/getprojects.d.ts +82 -0
  28. package/esm/models/operations/getprojects.d.ts.map +1 -1
  29. package/esm/models/operations/getprojects.js +52 -0
  30. package/esm/models/operations/getprojects.js.map +1 -1
  31. package/esm/models/operations/getwebhook.d.ts +6 -3
  32. package/esm/models/operations/getwebhook.d.ts.map +1 -1
  33. package/esm/models/operations/getwebhook.js +2 -1
  34. package/esm/models/operations/getwebhook.js.map +1 -1
  35. package/esm/models/operations/getwebhooks.d.ts +12 -6
  36. package/esm/models/operations/getwebhooks.d.ts.map +1 -1
  37. package/esm/models/operations/getwebhooks.js +4 -2
  38. package/esm/models/operations/getwebhooks.js.map +1 -1
  39. package/esm/models/operations/pauseproject.d.ts +0 -32
  40. package/esm/models/operations/pauseproject.d.ts.map +1 -1
  41. package/esm/models/operations/pauseproject.js +0 -25
  42. package/esm/models/operations/pauseproject.js.map +1 -1
  43. package/esm/models/operations/removeprojectenv.d.ts +9 -9
  44. package/esm/models/operations/removeprojectenv.js +3 -3
  45. package/esm/models/operations/removeprojectenv.js.map +1 -1
  46. package/esm/models/operations/unpauseproject.d.ts +0 -32
  47. package/esm/models/operations/unpauseproject.d.ts.map +1 -1
  48. package/esm/models/operations/unpauseproject.js +0 -25
  49. package/esm/models/operations/unpauseproject.js.map +1 -1
  50. package/esm/models/operations/updateproject.d.ts +91 -9
  51. package/esm/models/operations/updateproject.d.ts.map +1 -1
  52. package/esm/models/operations/updateproject.js +55 -3
  53. package/esm/models/operations/updateproject.js.map +1 -1
  54. package/esm/models/operations/updateprojectdatacache.d.ts +82 -0
  55. package/esm/models/operations/updateprojectdatacache.d.ts.map +1 -1
  56. package/esm/models/operations/updateprojectdatacache.js +51 -0
  57. package/esm/models/operations/updateprojectdatacache.js.map +1 -1
  58. package/esm/sdk/projects.d.ts +4 -4
  59. package/esm/sdk/projects.d.ts.map +1 -1
  60. package/esm/sdk/projects.js.map +1 -1
  61. package/esm/sdk/sdk.d.ts +0 -3
  62. package/esm/sdk/sdk.d.ts.map +1 -1
  63. package/esm/sdk/sdk.js +0 -5
  64. package/esm/sdk/sdk.js.map +1 -1
  65. package/package.json +9 -6
  66. package/src/funcs/projectsPauseProject.ts +5 -6
  67. package/src/funcs/projectsUnpauseProject.ts +5 -6
  68. package/src/lib/config.ts +3 -3
  69. package/src/models/operations/createproject.ts +133 -3
  70. package/src/models/operations/createprojectenv.ts +2 -2
  71. package/src/models/operations/createwebhook.ts +4 -2
  72. package/src/models/operations/editprojectenv.ts +1 -1
  73. package/src/models/operations/getprojects.ts +130 -0
  74. package/src/models/operations/getwebhook.ts +2 -1
  75. package/src/models/operations/getwebhooks.ts +4 -2
  76. package/src/models/operations/pauseproject.ts +0 -55
  77. package/src/models/operations/removeprojectenv.ts +3 -3
  78. package/src/models/operations/unpauseproject.ts +0 -55
  79. package/src/models/operations/updateproject.ts +133 -3
  80. package/src/models/operations/updateprojectdatacache.ts +125 -0
  81. package/src/sdk/projects.ts +4 -10
  82. package/src/sdk/sdk.ts +0 -6
  83. package/LICENSE +0 -202
  84. package/docs/sdks/secrets/README.md +0 -331
  85. package/esm/funcs/secretsCreateSecret.d.ts +0 -15
  86. package/esm/funcs/secretsCreateSecret.d.ts.map +0 -1
  87. package/esm/funcs/secretsCreateSecret.js +0 -74
  88. package/esm/funcs/secretsCreateSecret.js.map +0 -1
  89. package/esm/funcs/secretsDeleteSecret.d.ts +0 -15
  90. package/esm/funcs/secretsDeleteSecret.d.ts.map +0 -1
  91. package/esm/funcs/secretsDeleteSecret.js +0 -79
  92. package/esm/funcs/secretsDeleteSecret.js.map +0 -1
  93. package/esm/funcs/secretsGetSecret.d.ts +0 -15
  94. package/esm/funcs/secretsGetSecret.d.ts.map +0 -1
  95. package/esm/funcs/secretsGetSecret.js +0 -80
  96. package/esm/funcs/secretsGetSecret.js.map +0 -1
  97. package/esm/funcs/secretsRenameSecret.d.ts +0 -15
  98. package/esm/funcs/secretsRenameSecret.d.ts.map +0 -1
  99. package/esm/funcs/secretsRenameSecret.js +0 -80
  100. package/esm/funcs/secretsRenameSecret.js.map +0 -1
  101. package/esm/models/operations/createsecret.d.ts +0 -192
  102. package/esm/models/operations/createsecret.d.ts.map +0 -1
  103. package/esm/models/operations/createsecret.js +0 -136
  104. package/esm/models/operations/createsecret.js.map +0 -1
  105. package/esm/models/operations/deletesecret.d.ts +0 -74
  106. package/esm/models/operations/deletesecret.d.ts.map +0 -1
  107. package/esm/models/operations/deletesecret.js +0 -51
  108. package/esm/models/operations/deletesecret.js.map +0 -1
  109. package/esm/models/operations/getsecret.d.ts +0 -144
  110. package/esm/models/operations/getsecret.d.ts.map +0 -1
  111. package/esm/models/operations/getsecret.js +0 -87
  112. package/esm/models/operations/getsecret.js.map +0 -1
  113. package/esm/models/operations/renamesecret.d.ts +0 -95
  114. package/esm/models/operations/renamesecret.d.ts.map +0 -1
  115. package/esm/models/operations/renamesecret.js +0 -83
  116. package/esm/models/operations/renamesecret.js.map +0 -1
  117. package/esm/sdk/secrets.d.ts +0 -36
  118. package/esm/sdk/secrets.d.ts.map +0 -1
  119. package/esm/sdk/secrets.js +0 -48
  120. package/esm/sdk/secrets.js.map +0 -1
  121. package/src/funcs/secretsCreateSecret.ts +0 -134
  122. package/src/funcs/secretsDeleteSecret.ts +0 -140
  123. package/src/funcs/secretsGetSecret.ts +0 -141
  124. package/src/funcs/secretsRenameSecret.ts +0 -141
  125. package/src/models/operations/createsecret.ts +0 -304
  126. package/src/models/operations/deletesecret.ts +0 -119
  127. package/src/models/operations/getsecret.ts +0 -205
  128. package/src/models/operations/renamesecret.ts +0 -170
  129. package/src/sdk/secrets.ts +0 -96
@@ -765,6 +765,43 @@ export type GetProjectsLink =
765
765
  | GetProjectsLink3
766
766
  | GetProjectsLink2;
767
767
 
768
+ /**
769
+ * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
770
+ */
771
+ export type GetProjectsGroup = {
772
+ /**
773
+ * A unique identifier for the group of microfrontends. All related microfrontend projects will share this group ID. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
774
+ */
775
+ id: string;
776
+ /**
777
+ * A human readable name for the microfrontends group. This will be used to display the microfrontends group in the UI.
778
+ */
779
+ slug: string;
780
+ };
781
+
782
+ export type GetProjectsMicrofrontends = {
783
+ /**
784
+ * Timestamp when the microfrontends settings were last updated.
785
+ */
786
+ updatedAt: number;
787
+ /**
788
+ * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
789
+ */
790
+ group: GetProjectsGroup;
791
+ /**
792
+ * Whether microfrontends are enabled for this project.
793
+ */
794
+ enabled: boolean;
795
+ /**
796
+ * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.
797
+ */
798
+ isDefaultApp?: boolean | undefined;
799
+ /**
800
+ * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
801
+ */
802
+ defaultRoute?: string | undefined;
803
+ };
804
+
768
805
  export const GetProjectsNodeVersion = {
769
806
  TwentyTwoX: "22.x",
770
807
  TwentyX: "20.x",
@@ -1458,6 +1495,7 @@ export type GetProjectsProjects = {
1458
1495
  ipBuckets?: Array<GetProjectsIpBuckets> | undefined;
1459
1496
  latestDeployments?: Array<GetProjectsLatestDeployments> | undefined;
1460
1497
  link?: GetProjectsLink1 | GetProjectsLink3 | GetProjectsLink2 | undefined;
1498
+ microfrontends?: GetProjectsMicrofrontends | undefined;
1461
1499
  name: string;
1462
1500
  nodeVersion: GetProjectsNodeVersion;
1463
1501
  optionsAllowlist?: GetProjectsOptionsAllowlist | null | undefined;
@@ -4439,6 +4477,93 @@ export namespace GetProjectsLink$ {
4439
4477
  export type Outbound = GetProjectsLink$Outbound;
4440
4478
  }
4441
4479
 
4480
+ /** @internal */
4481
+ export const GetProjectsGroup$inboundSchema: z.ZodType<
4482
+ GetProjectsGroup,
4483
+ z.ZodTypeDef,
4484
+ unknown
4485
+ > = z.object({
4486
+ id: z.string(),
4487
+ slug: z.string(),
4488
+ });
4489
+
4490
+ /** @internal */
4491
+ export type GetProjectsGroup$Outbound = {
4492
+ id: string;
4493
+ slug: string;
4494
+ };
4495
+
4496
+ /** @internal */
4497
+ export const GetProjectsGroup$outboundSchema: z.ZodType<
4498
+ GetProjectsGroup$Outbound,
4499
+ z.ZodTypeDef,
4500
+ GetProjectsGroup
4501
+ > = z.object({
4502
+ id: z.string(),
4503
+ slug: z.string(),
4504
+ });
4505
+
4506
+ /**
4507
+ * @internal
4508
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4509
+ */
4510
+ export namespace GetProjectsGroup$ {
4511
+ /** @deprecated use `GetProjectsGroup$inboundSchema` instead. */
4512
+ export const inboundSchema = GetProjectsGroup$inboundSchema;
4513
+ /** @deprecated use `GetProjectsGroup$outboundSchema` instead. */
4514
+ export const outboundSchema = GetProjectsGroup$outboundSchema;
4515
+ /** @deprecated use `GetProjectsGroup$Outbound` instead. */
4516
+ export type Outbound = GetProjectsGroup$Outbound;
4517
+ }
4518
+
4519
+ /** @internal */
4520
+ export const GetProjectsMicrofrontends$inboundSchema: z.ZodType<
4521
+ GetProjectsMicrofrontends,
4522
+ z.ZodTypeDef,
4523
+ unknown
4524
+ > = z.object({
4525
+ updatedAt: z.number(),
4526
+ group: z.lazy(() => GetProjectsGroup$inboundSchema),
4527
+ enabled: z.boolean(),
4528
+ isDefaultApp: z.boolean().optional(),
4529
+ defaultRoute: z.string().optional(),
4530
+ });
4531
+
4532
+ /** @internal */
4533
+ export type GetProjectsMicrofrontends$Outbound = {
4534
+ updatedAt: number;
4535
+ group: GetProjectsGroup$Outbound;
4536
+ enabled: boolean;
4537
+ isDefaultApp?: boolean | undefined;
4538
+ defaultRoute?: string | undefined;
4539
+ };
4540
+
4541
+ /** @internal */
4542
+ export const GetProjectsMicrofrontends$outboundSchema: z.ZodType<
4543
+ GetProjectsMicrofrontends$Outbound,
4544
+ z.ZodTypeDef,
4545
+ GetProjectsMicrofrontends
4546
+ > = z.object({
4547
+ updatedAt: z.number(),
4548
+ group: z.lazy(() => GetProjectsGroup$outboundSchema),
4549
+ enabled: z.boolean(),
4550
+ isDefaultApp: z.boolean().optional(),
4551
+ defaultRoute: z.string().optional(),
4552
+ });
4553
+
4554
+ /**
4555
+ * @internal
4556
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4557
+ */
4558
+ export namespace GetProjectsMicrofrontends$ {
4559
+ /** @deprecated use `GetProjectsMicrofrontends$inboundSchema` instead. */
4560
+ export const inboundSchema = GetProjectsMicrofrontends$inboundSchema;
4561
+ /** @deprecated use `GetProjectsMicrofrontends$outboundSchema` instead. */
4562
+ export const outboundSchema = GetProjectsMicrofrontends$outboundSchema;
4563
+ /** @deprecated use `GetProjectsMicrofrontends$Outbound` instead. */
4564
+ export type Outbound = GetProjectsMicrofrontends$Outbound;
4565
+ }
4566
+
4442
4567
  /** @internal */
4443
4568
  export const GetProjectsNodeVersion$inboundSchema: z.ZodNativeEnum<
4444
4569
  typeof GetProjectsNodeVersion
@@ -7207,6 +7332,8 @@ export const GetProjectsProjects$inboundSchema: z.ZodType<
7207
7332
  z.lazy(() => GetProjectsLink3$inboundSchema),
7208
7333
  z.lazy(() => GetProjectsLink2$inboundSchema),
7209
7334
  ]).optional(),
7335
+ microfrontends: z.lazy(() => GetProjectsMicrofrontends$inboundSchema)
7336
+ .optional(),
7210
7337
  name: z.string(),
7211
7338
  nodeVersion: GetProjectsNodeVersion$inboundSchema,
7212
7339
  optionsAllowlist: z.nullable(
@@ -7307,6 +7434,7 @@ export type GetProjectsProjects$Outbound = {
7307
7434
  | GetProjectsLink3$Outbound
7308
7435
  | GetProjectsLink2$Outbound
7309
7436
  | undefined;
7437
+ microfrontends?: GetProjectsMicrofrontends$Outbound | undefined;
7310
7438
  name: string;
7311
7439
  nodeVersion: string;
7312
7440
  optionsAllowlist?: GetProjectsOptionsAllowlist$Outbound | null | undefined;
@@ -7407,6 +7535,8 @@ export const GetProjectsProjects$outboundSchema: z.ZodType<
7407
7535
  z.lazy(() => GetProjectsLink3$outboundSchema),
7408
7536
  z.lazy(() => GetProjectsLink2$outboundSchema),
7409
7537
  ]).optional(),
7538
+ microfrontends: z.lazy(() => GetProjectsMicrofrontends$outboundSchema)
7539
+ .optional(),
7410
7540
  name: z.string(),
7411
7541
  nodeVersion: GetProjectsNodeVersion$outboundSchema,
7412
7542
  optionsAllowlist: z.nullable(
@@ -64,7 +64,8 @@ export const GetWebhookEvents = {
64
64
  MarketplaceInvoicePaid: "marketplace.invoice.paid",
65
65
  MarketplaceInvoiceNotpaid: "marketplace.invoice.notpaid",
66
66
  MarketplaceInvoiceRefunded: "marketplace.invoice.refunded",
67
- TestWebhook: "test-webhook",
67
+ TestWebhook: "observability.anomaly",
68
+ undefined: "test-webhook",
68
69
  } as const;
69
70
  /**
70
71
  * The webhooks events
@@ -64,7 +64,8 @@ export const GetWebhooksResponseBodyEvents = {
64
64
  MarketplaceInvoicePaid: "marketplace.invoice.paid",
65
65
  MarketplaceInvoiceNotpaid: "marketplace.invoice.notpaid",
66
66
  MarketplaceInvoiceRefunded: "marketplace.invoice.refunded",
67
- TestWebhook: "test-webhook",
67
+ TestWebhook: "observability.anomaly",
68
+ undefined: "test-webhook",
68
69
  } as const;
69
70
  /**
70
71
  * The webhooks events
@@ -209,7 +210,8 @@ export const ResponseBodyEvents = {
209
210
  MarketplaceInvoicePaid: "marketplace.invoice.paid",
210
211
  MarketplaceInvoiceNotpaid: "marketplace.invoice.notpaid",
211
212
  MarketplaceInvoiceRefunded: "marketplace.invoice.refunded",
212
- TestWebhook: "test-webhook",
213
+ TestWebhook: "observability.anomaly",
214
+ undefined: "test-webhook",
213
215
  } as const;
214
216
  /**
215
217
  * The webhooks events
@@ -19,16 +19,6 @@ export type PauseProjectRequest = {
19
19
  slug?: string | undefined;
20
20
  };
21
21
 
22
- /**
23
- * Project successfully paused
24
- */
25
- export type PauseProjectResponseBody = {
26
- success?: any | undefined;
27
- type?: any | undefined;
28
- description?: any | undefined;
29
- example?: any | undefined;
30
- };
31
-
32
22
  /** @internal */
33
23
  export const PauseProjectRequest$inboundSchema: z.ZodType<
34
24
  PauseProjectRequest,
@@ -70,48 +60,3 @@ export namespace PauseProjectRequest$ {
70
60
  /** @deprecated use `PauseProjectRequest$Outbound` instead. */
71
61
  export type Outbound = PauseProjectRequest$Outbound;
72
62
  }
73
-
74
- /** @internal */
75
- export const PauseProjectResponseBody$inboundSchema: z.ZodType<
76
- PauseProjectResponseBody,
77
- z.ZodTypeDef,
78
- unknown
79
- > = z.object({
80
- success: z.any().optional(),
81
- type: z.any().optional(),
82
- description: z.any().optional(),
83
- example: z.any().optional(),
84
- });
85
-
86
- /** @internal */
87
- export type PauseProjectResponseBody$Outbound = {
88
- success?: any | undefined;
89
- type?: any | undefined;
90
- description?: any | undefined;
91
- example?: any | undefined;
92
- };
93
-
94
- /** @internal */
95
- export const PauseProjectResponseBody$outboundSchema: z.ZodType<
96
- PauseProjectResponseBody$Outbound,
97
- z.ZodTypeDef,
98
- PauseProjectResponseBody
99
- > = z.object({
100
- success: z.any().optional(),
101
- type: z.any().optional(),
102
- description: z.any().optional(),
103
- example: z.any().optional(),
104
- });
105
-
106
- /**
107
- * @internal
108
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
109
- */
110
- export namespace PauseProjectResponseBody$ {
111
- /** @deprecated use `PauseProjectResponseBody$inboundSchema` instead. */
112
- export const inboundSchema = PauseProjectResponseBody$inboundSchema;
113
- /** @deprecated use `PauseProjectResponseBody$outboundSchema` instead. */
114
- export const outboundSchema = PauseProjectResponseBody$outboundSchema;
115
- /** @deprecated use `PauseProjectResponseBody$Outbound` instead. */
116
- export type Outbound = PauseProjectResponseBody$Outbound;
117
- }
@@ -48,10 +48,10 @@ export type RemoveProjectEnvResponseBodyProjectsResponseTarget =
48
48
 
49
49
  export const RemoveProjectEnvResponseBodyProjectsResponseType = {
50
50
  System: "system",
51
+ Secret: "secret",
51
52
  Encrypted: "encrypted",
52
53
  Plain: "plain",
53
54
  Sensitive: "sensitive",
54
- Secret: "secret",
55
55
  } as const;
56
56
  export type RemoveProjectEnvResponseBodyProjectsResponseType = ClosedEnum<
57
57
  typeof RemoveProjectEnvResponseBodyProjectsResponseType
@@ -401,10 +401,10 @@ export type RemoveProjectEnvResponseBodyProjectsTarget =
401
401
 
402
402
  export const RemoveProjectEnvResponseBodyProjectsType = {
403
403
  System: "system",
404
+ Secret: "secret",
404
405
  Encrypted: "encrypted",
405
406
  Plain: "plain",
406
407
  Sensitive: "sensitive",
407
- Secret: "secret",
408
408
  } as const;
409
409
  export type RemoveProjectEnvResponseBodyProjectsType = ClosedEnum<
410
410
  typeof RemoveProjectEnvResponseBodyProjectsType
@@ -753,10 +753,10 @@ export type RemoveProjectEnvResponseBodyTarget =
753
753
 
754
754
  export const RemoveProjectEnvResponseBodyType = {
755
755
  System: "system",
756
+ Secret: "secret",
756
757
  Encrypted: "encrypted",
757
758
  Plain: "plain",
758
759
  Sensitive: "sensitive",
759
- Secret: "secret",
760
760
  } as const;
761
761
  export type RemoveProjectEnvResponseBodyType = ClosedEnum<
762
762
  typeof RemoveProjectEnvResponseBodyType
@@ -19,16 +19,6 @@ export type UnpauseProjectRequest = {
19
19
  slug?: string | undefined;
20
20
  };
21
21
 
22
- /**
23
- * Project successfully unpaused
24
- */
25
- export type UnpauseProjectResponseBody = {
26
- success?: any | undefined;
27
- type?: any | undefined;
28
- description?: any | undefined;
29
- example?: any | undefined;
30
- };
31
-
32
22
  /** @internal */
33
23
  export const UnpauseProjectRequest$inboundSchema: z.ZodType<
34
24
  UnpauseProjectRequest,
@@ -70,48 +60,3 @@ export namespace UnpauseProjectRequest$ {
70
60
  /** @deprecated use `UnpauseProjectRequest$Outbound` instead. */
71
61
  export type Outbound = UnpauseProjectRequest$Outbound;
72
62
  }
73
-
74
- /** @internal */
75
- export const UnpauseProjectResponseBody$inboundSchema: z.ZodType<
76
- UnpauseProjectResponseBody,
77
- z.ZodTypeDef,
78
- unknown
79
- > = z.object({
80
- success: z.any().optional(),
81
- type: z.any().optional(),
82
- description: z.any().optional(),
83
- example: z.any().optional(),
84
- });
85
-
86
- /** @internal */
87
- export type UnpauseProjectResponseBody$Outbound = {
88
- success?: any | undefined;
89
- type?: any | undefined;
90
- description?: any | undefined;
91
- example?: any | undefined;
92
- };
93
-
94
- /** @internal */
95
- export const UnpauseProjectResponseBody$outboundSchema: z.ZodType<
96
- UnpauseProjectResponseBody$Outbound,
97
- z.ZodTypeDef,
98
- UnpauseProjectResponseBody
99
- > = z.object({
100
- success: z.any().optional(),
101
- type: z.any().optional(),
102
- description: z.any().optional(),
103
- example: z.any().optional(),
104
- });
105
-
106
- /**
107
- * @internal
108
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
109
- */
110
- export namespace UnpauseProjectResponseBody$ {
111
- /** @deprecated use `UnpauseProjectResponseBody$inboundSchema` instead. */
112
- export const inboundSchema = UnpauseProjectResponseBody$inboundSchema;
113
- /** @deprecated use `UnpauseProjectResponseBody$outboundSchema` instead. */
114
- export const outboundSchema = UnpauseProjectResponseBody$outboundSchema;
115
- /** @deprecated use `UnpauseProjectResponseBody$Outbound` instead. */
116
- export type Outbound = UnpauseProjectResponseBody$Outbound;
117
- }
@@ -434,10 +434,10 @@ export type UpdateProjectTarget = Array<string> | UpdateProjectTarget2;
434
434
 
435
435
  export const UpdateProjectType = {
436
436
  System: "system",
437
+ Secret: "secret",
437
438
  Encrypted: "encrypted",
438
439
  Plain: "plain",
439
440
  Sensitive: "sensitive",
440
- Secret: "secret",
441
441
  } as const;
442
442
  export type UpdateProjectType = ClosedEnum<typeof UpdateProjectType>;
443
443
 
@@ -1041,6 +1041,43 @@ export type UpdateProjectLink =
1041
1041
  | UpdateProjectLink3
1042
1042
  | UpdateProjectLink2;
1043
1043
 
1044
+ /**
1045
+ * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
1046
+ */
1047
+ export type UpdateProjectGroup = {
1048
+ /**
1049
+ * A unique identifier for the group of microfrontends. All related microfrontend projects will share this group ID. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
1050
+ */
1051
+ id: string;
1052
+ /**
1053
+ * A human readable name for the microfrontends group. This will be used to display the microfrontends group in the UI.
1054
+ */
1055
+ slug: string;
1056
+ };
1057
+
1058
+ export type UpdateProjectMicrofrontends = {
1059
+ /**
1060
+ * Timestamp when the microfrontends settings were last updated.
1061
+ */
1062
+ updatedAt: number;
1063
+ /**
1064
+ * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
1065
+ */
1066
+ group: UpdateProjectGroup;
1067
+ /**
1068
+ * Whether microfrontends are enabled for this project.
1069
+ */
1070
+ enabled: boolean;
1071
+ /**
1072
+ * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.
1073
+ */
1074
+ isDefaultApp?: boolean | undefined;
1075
+ /**
1076
+ * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
1077
+ */
1078
+ defaultRoute?: string | undefined;
1079
+ };
1080
+
1044
1081
  export const UpdateProjectProjectsNodeVersion = {
1045
1082
  TwentyTwoX: "22.x",
1046
1083
  TwentyX: "20.x",
@@ -1423,11 +1460,11 @@ export type UpdateProjectPermissions = {
1423
1460
  export type UpdateProjectLastRollbackTarget = {};
1424
1461
 
1425
1462
  export const UpdateProjectJobStatus = {
1463
+ Pending: "pending",
1464
+ InProgress: "in-progress",
1426
1465
  Succeeded: "succeeded",
1427
1466
  Failed: "failed",
1428
1467
  Skipped: "skipped",
1429
- Pending: "pending",
1430
- InProgress: "in-progress",
1431
1468
  } as const;
1432
1469
  export type UpdateProjectJobStatus = ClosedEnum<typeof UpdateProjectJobStatus>;
1433
1470
 
@@ -1746,6 +1783,7 @@ export type UpdateProjectResponseBody = {
1746
1783
  | UpdateProjectLink3
1747
1784
  | UpdateProjectLink2
1748
1785
  | undefined;
1786
+ microfrontends?: UpdateProjectMicrofrontends | undefined;
1749
1787
  name: string;
1750
1788
  nodeVersion: UpdateProjectProjectsNodeVersion;
1751
1789
  optionsAllowlist?: UpdateProjectOptionsAllowlist | null | undefined;
@@ -5208,6 +5246,93 @@ export namespace UpdateProjectLink$ {
5208
5246
  export type Outbound = UpdateProjectLink$Outbound;
5209
5247
  }
5210
5248
 
5249
+ /** @internal */
5250
+ export const UpdateProjectGroup$inboundSchema: z.ZodType<
5251
+ UpdateProjectGroup,
5252
+ z.ZodTypeDef,
5253
+ unknown
5254
+ > = z.object({
5255
+ id: z.string(),
5256
+ slug: z.string(),
5257
+ });
5258
+
5259
+ /** @internal */
5260
+ export type UpdateProjectGroup$Outbound = {
5261
+ id: string;
5262
+ slug: string;
5263
+ };
5264
+
5265
+ /** @internal */
5266
+ export const UpdateProjectGroup$outboundSchema: z.ZodType<
5267
+ UpdateProjectGroup$Outbound,
5268
+ z.ZodTypeDef,
5269
+ UpdateProjectGroup
5270
+ > = z.object({
5271
+ id: z.string(),
5272
+ slug: z.string(),
5273
+ });
5274
+
5275
+ /**
5276
+ * @internal
5277
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5278
+ */
5279
+ export namespace UpdateProjectGroup$ {
5280
+ /** @deprecated use `UpdateProjectGroup$inboundSchema` instead. */
5281
+ export const inboundSchema = UpdateProjectGroup$inboundSchema;
5282
+ /** @deprecated use `UpdateProjectGroup$outboundSchema` instead. */
5283
+ export const outboundSchema = UpdateProjectGroup$outboundSchema;
5284
+ /** @deprecated use `UpdateProjectGroup$Outbound` instead. */
5285
+ export type Outbound = UpdateProjectGroup$Outbound;
5286
+ }
5287
+
5288
+ /** @internal */
5289
+ export const UpdateProjectMicrofrontends$inboundSchema: z.ZodType<
5290
+ UpdateProjectMicrofrontends,
5291
+ z.ZodTypeDef,
5292
+ unknown
5293
+ > = z.object({
5294
+ updatedAt: z.number(),
5295
+ group: z.lazy(() => UpdateProjectGroup$inboundSchema),
5296
+ enabled: z.boolean(),
5297
+ isDefaultApp: z.boolean().optional(),
5298
+ defaultRoute: z.string().optional(),
5299
+ });
5300
+
5301
+ /** @internal */
5302
+ export type UpdateProjectMicrofrontends$Outbound = {
5303
+ updatedAt: number;
5304
+ group: UpdateProjectGroup$Outbound;
5305
+ enabled: boolean;
5306
+ isDefaultApp?: boolean | undefined;
5307
+ defaultRoute?: string | undefined;
5308
+ };
5309
+
5310
+ /** @internal */
5311
+ export const UpdateProjectMicrofrontends$outboundSchema: z.ZodType<
5312
+ UpdateProjectMicrofrontends$Outbound,
5313
+ z.ZodTypeDef,
5314
+ UpdateProjectMicrofrontends
5315
+ > = z.object({
5316
+ updatedAt: z.number(),
5317
+ group: z.lazy(() => UpdateProjectGroup$outboundSchema),
5318
+ enabled: z.boolean(),
5319
+ isDefaultApp: z.boolean().optional(),
5320
+ defaultRoute: z.string().optional(),
5321
+ });
5322
+
5323
+ /**
5324
+ * @internal
5325
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5326
+ */
5327
+ export namespace UpdateProjectMicrofrontends$ {
5328
+ /** @deprecated use `UpdateProjectMicrofrontends$inboundSchema` instead. */
5329
+ export const inboundSchema = UpdateProjectMicrofrontends$inboundSchema;
5330
+ /** @deprecated use `UpdateProjectMicrofrontends$outboundSchema` instead. */
5331
+ export const outboundSchema = UpdateProjectMicrofrontends$outboundSchema;
5332
+ /** @deprecated use `UpdateProjectMicrofrontends$Outbound` instead. */
5333
+ export type Outbound = UpdateProjectMicrofrontends$Outbound;
5334
+ }
5335
+
5211
5336
  /** @internal */
5212
5337
  export const UpdateProjectProjectsNodeVersion$inboundSchema: z.ZodNativeEnum<
5213
5338
  typeof UpdateProjectProjectsNodeVersion
@@ -7995,6 +8120,8 @@ export const UpdateProjectResponseBody$inboundSchema: z.ZodType<
7995
8120
  z.lazy(() => UpdateProjectLink3$inboundSchema),
7996
8121
  z.lazy(() => UpdateProjectLink2$inboundSchema),
7997
8122
  ]).optional(),
8123
+ microfrontends: z.lazy(() => UpdateProjectMicrofrontends$inboundSchema)
8124
+ .optional(),
7998
8125
  name: z.string(),
7999
8126
  nodeVersion: UpdateProjectProjectsNodeVersion$inboundSchema,
8000
8127
  optionsAllowlist: z.nullable(
@@ -8100,6 +8227,7 @@ export type UpdateProjectResponseBody$Outbound = {
8100
8227
  | UpdateProjectLink3$Outbound
8101
8228
  | UpdateProjectLink2$Outbound
8102
8229
  | undefined;
8230
+ microfrontends?: UpdateProjectMicrofrontends$Outbound | undefined;
8103
8231
  name: string;
8104
8232
  nodeVersion: string;
8105
8233
  optionsAllowlist?: UpdateProjectOptionsAllowlist$Outbound | null | undefined;
@@ -8201,6 +8329,8 @@ export const UpdateProjectResponseBody$outboundSchema: z.ZodType<
8201
8329
  z.lazy(() => UpdateProjectLink3$outboundSchema),
8202
8330
  z.lazy(() => UpdateProjectLink2$outboundSchema),
8203
8331
  ]).optional(),
8332
+ microfrontends: z.lazy(() => UpdateProjectMicrofrontends$outboundSchema)
8333
+ .optional(),
8204
8334
  name: z.string(),
8205
8335
  nodeVersion: UpdateProjectProjectsNodeVersion$outboundSchema,
8206
8336
  optionsAllowlist: z.nullable(