@vercel/sdk 1.18.0 → 1.18.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.
Files changed (177) hide show
  1. package/bin/mcp-server.js +462 -388
  2. package/bin/mcp-server.js.map +36 -36
  3. package/esm/__tests__/accessgroups.test.js +3 -1
  4. package/esm/__tests__/accessgroups.test.js.map +1 -1
  5. package/esm/__tests__/checks.test.js +1 -1
  6. package/esm/__tests__/checks.test.js.map +1 -1
  7. package/esm/__tests__/domains.test.js +3 -6
  8. package/esm/__tests__/domains.test.js.map +1 -1
  9. package/esm/__tests__/drains.test.js +27 -0
  10. package/esm/__tests__/drains.test.js.map +1 -1
  11. package/esm/__tests__/edgeconfig.test.js +6 -6
  12. package/esm/__tests__/edgeconfig.test.js.map +1 -1
  13. package/esm/__tests__/integrations.test.js +1 -1
  14. package/esm/__tests__/logdrains.test.js +7 -6
  15. package/esm/__tests__/logdrains.test.js.map +1 -1
  16. package/esm/__tests__/security.test.js +11 -1
  17. package/esm/__tests__/security.test.js.map +1 -1
  18. package/esm/funcs/integrationsGetBillingPlans.js +1 -0
  19. package/esm/funcs/integrationsGetBillingPlans.js.map +1 -1
  20. package/esm/lib/config.d.ts +3 -3
  21. package/esm/lib/config.js +3 -3
  22. package/esm/mcp-server/mcp-server.js +1 -1
  23. package/esm/mcp-server/server.js +1 -1
  24. package/esm/models/buydomainsop.d.ts +4 -4
  25. package/esm/models/buydomainsop.d.ts.map +1 -1
  26. package/esm/models/buysingledomainop.d.ts +1 -4
  27. package/esm/models/buysingledomainop.d.ts.map +1 -1
  28. package/esm/models/buysingledomainop.js.map +1 -1
  29. package/esm/models/canceldeploymentop.d.ts +18 -0
  30. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  31. package/esm/models/canceldeploymentop.js +17 -0
  32. package/esm/models/canceldeploymentop.js.map +1 -1
  33. package/esm/models/createdeploymentop.d.ts +18 -0
  34. package/esm/models/createdeploymentop.d.ts.map +1 -1
  35. package/esm/models/createdeploymentop.js +17 -0
  36. package/esm/models/createdeploymentop.js.map +1 -1
  37. package/esm/models/createdrainop.d.ts +8 -8
  38. package/esm/models/createdrainop.d.ts.map +1 -1
  39. package/esm/models/createdrainop.js +8 -10
  40. package/esm/models/createdrainop.js.map +1 -1
  41. package/esm/models/createintegrationstoredirectop.d.ts +152 -152
  42. package/esm/models/createintegrationstoredirectop.js +218 -218
  43. package/esm/models/createprojectop.d.ts +2 -0
  44. package/esm/models/createprojectop.d.ts.map +1 -1
  45. package/esm/models/createprojectop.js +2 -0
  46. package/esm/models/createprojectop.js.map +1 -1
  47. package/esm/models/createwebhookop.d.ts +4 -0
  48. package/esm/models/createwebhookop.d.ts.map +1 -1
  49. package/esm/models/createwebhookop.js +4 -0
  50. package/esm/models/createwebhookop.js.map +1 -1
  51. package/esm/models/getalllogdrainsop.d.ts +8 -8
  52. package/esm/models/getalllogdrainsop.d.ts.map +1 -1
  53. package/esm/models/getalllogdrainsop.js +8 -10
  54. package/esm/models/getalllogdrainsop.js.map +1 -1
  55. package/esm/models/getbillingplansop.d.ts +2 -0
  56. package/esm/models/getbillingplansop.d.ts.map +1 -1
  57. package/esm/models/getbillingplansop.js +2 -0
  58. package/esm/models/getbillingplansop.js.map +1 -1
  59. package/esm/models/getbulkavailabilityop.d.ts +3 -0
  60. package/esm/models/getbulkavailabilityop.d.ts.map +1 -1
  61. package/esm/models/getbulkavailabilityop.js.map +1 -1
  62. package/esm/models/getconfigurationop.d.ts +2 -38
  63. package/esm/models/getconfigurationop.d.ts.map +1 -1
  64. package/esm/models/getconfigurationop.js +4 -35
  65. package/esm/models/getconfigurationop.js.map +1 -1
  66. package/esm/models/getconfigurationproductsop.d.ts +200 -200
  67. package/esm/models/getconfigurationproductsop.js +290 -290
  68. package/esm/models/getconfigurationsop.d.ts +2 -38
  69. package/esm/models/getconfigurationsop.d.ts.map +1 -1
  70. package/esm/models/getconfigurationsop.js +4 -35
  71. package/esm/models/getconfigurationsop.js.map +1 -1
  72. package/esm/models/getdeploymentop.d.ts +18 -0
  73. package/esm/models/getdeploymentop.d.ts.map +1 -1
  74. package/esm/models/getdeploymentop.js +20 -0
  75. package/esm/models/getdeploymentop.js.map +1 -1
  76. package/esm/models/getdomainpriceop.d.ts +36 -15
  77. package/esm/models/getdomainpriceop.d.ts.map +1 -1
  78. package/esm/models/getdomainpriceop.js +36 -6
  79. package/esm/models/getdomainpriceop.js.map +1 -1
  80. package/esm/models/getdrainop.d.ts +8 -8
  81. package/esm/models/getdrainop.d.ts.map +1 -1
  82. package/esm/models/getdrainop.js +8 -10
  83. package/esm/models/getdrainop.js.map +1 -1
  84. package/esm/models/getdrainsop.d.ts +8 -8
  85. package/esm/models/getdrainsop.d.ts.map +1 -1
  86. package/esm/models/getdrainsop.js +8 -8
  87. package/esm/models/getdrainsop.js.map +1 -1
  88. package/esm/models/getinvoiceop.d.ts +10 -0
  89. package/esm/models/getinvoiceop.d.ts.map +1 -1
  90. package/esm/models/getinvoiceop.js +4 -0
  91. package/esm/models/getinvoiceop.js.map +1 -1
  92. package/esm/models/getorderop.d.ts +9 -9
  93. package/esm/models/getorderop.d.ts.map +1 -1
  94. package/esm/models/getprojectsop.d.ts +2 -0
  95. package/esm/models/getprojectsop.d.ts.map +1 -1
  96. package/esm/models/getprojectsop.js +2 -0
  97. package/esm/models/getprojectsop.js.map +1 -1
  98. package/esm/models/gettldpriceop.d.ts +36 -15
  99. package/esm/models/gettldpriceop.d.ts.map +1 -1
  100. package/esm/models/gettldpriceop.js +36 -6
  101. package/esm/models/gettldpriceop.js.map +1 -1
  102. package/esm/models/getwebhookop.d.ts +2 -0
  103. package/esm/models/getwebhookop.d.ts.map +1 -1
  104. package/esm/models/getwebhookop.js +2 -0
  105. package/esm/models/getwebhookop.js.map +1 -1
  106. package/esm/models/getwebhooksop.d.ts +4 -0
  107. package/esm/models/getwebhooksop.d.ts.map +1 -1
  108. package/esm/models/getwebhooksop.js +4 -0
  109. package/esm/models/getwebhooksop.js.map +1 -1
  110. package/esm/models/renewdomainop.d.ts +1 -4
  111. package/esm/models/renewdomainop.d.ts.map +1 -1
  112. package/esm/models/renewdomainop.js.map +1 -1
  113. package/esm/models/transferindomainop.d.ts +4 -4
  114. package/esm/models/transferindomainop.d.ts.map +1 -1
  115. package/esm/models/updatedrainop.d.ts +8 -8
  116. package/esm/models/updatedrainop.d.ts.map +1 -1
  117. package/esm/models/updatedrainop.js +8 -12
  118. package/esm/models/updatedrainop.js.map +1 -1
  119. package/esm/models/updateprojectdatacacheop.d.ts +2 -0
  120. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  121. package/esm/models/updateprojectdatacacheop.js +2 -0
  122. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  123. package/esm/models/updateprojectop.d.ts +2 -0
  124. package/esm/models/updateprojectop.d.ts.map +1 -1
  125. package/esm/models/updateprojectop.js +2 -0
  126. package/esm/models/updateprojectop.js.map +1 -1
  127. package/esm/models/userevent.d.ts +52 -10
  128. package/esm/models/userevent.d.ts.map +1 -1
  129. package/esm/models/userevent.js +50 -10
  130. package/esm/models/userevent.js.map +1 -1
  131. package/examples/package-lock.json +1 -1
  132. package/jsr.json +1 -1
  133. package/package.json +1 -1
  134. package/src/__tests__/accessgroups.test.ts +3 -1
  135. package/src/__tests__/checks.test.ts +1 -1
  136. package/src/__tests__/domains.test.ts +3 -6
  137. package/src/__tests__/drains.test.ts +27 -0
  138. package/src/__tests__/edgeconfig.test.ts +6 -6
  139. package/src/__tests__/integrations.test.ts +1 -1
  140. package/src/__tests__/logdrains.test.ts +7 -6
  141. package/src/__tests__/security.test.ts +11 -1
  142. package/src/funcs/integrationsGetBillingPlans.ts +1 -0
  143. package/src/lib/config.ts +3 -3
  144. package/src/mcp-server/mcp-server.ts +1 -1
  145. package/src/mcp-server/server.ts +1 -1
  146. package/src/models/buydomainsop.ts +4 -4
  147. package/src/models/buysingledomainop.ts +1 -4
  148. package/src/models/canceldeploymentop.ts +29 -0
  149. package/src/models/createdeploymentop.ts +29 -0
  150. package/src/models/createdrainop.ts +19 -29
  151. package/src/models/createintegrationstoredirectop.ts +471 -471
  152. package/src/models/createprojectop.ts +4 -0
  153. package/src/models/createwebhookop.ts +4 -0
  154. package/src/models/getalllogdrainsop.ts +20 -26
  155. package/src/models/getbillingplansop.ts +4 -0
  156. package/src/models/getbulkavailabilityop.ts +3 -0
  157. package/src/models/getconfigurationop.ts +6 -60
  158. package/src/models/getconfigurationproductsop.ts +627 -627
  159. package/src/models/getconfigurationsop.ts +6 -60
  160. package/src/models/getdeploymentop.ts +30 -0
  161. package/src/models/getdomainpriceop.ts +124 -21
  162. package/src/models/getdrainop.ts +20 -26
  163. package/src/models/getdrainsop.ts +20 -24
  164. package/src/models/getinvoiceop.ts +14 -0
  165. package/src/models/getorderop.ts +9 -9
  166. package/src/models/getprojectsop.ts +4 -0
  167. package/src/models/gettldpriceop.ts +108 -21
  168. package/src/models/getwebhookop.ts +2 -0
  169. package/src/models/getwebhooksop.ts +4 -0
  170. package/src/models/renewdomainop.ts +1 -4
  171. package/src/models/transferindomainop.ts +4 -4
  172. package/src/models/updatedrainop.ts +20 -28
  173. package/src/models/updateprojectdatacacheop.ts +4 -0
  174. package/src/models/updateprojectop.ts +4 -0
  175. package/src/models/userevent.ts +112 -22
  176. package/tsconfig.json +1 -1
  177. package/vercel-spec.json +312 -159
@@ -1532,6 +1532,7 @@ export type CreateProjectPermissions = {
1532
1532
  accessGroup?: Array<ACLAction> | undefined;
1533
1533
  agent?: Array<ACLAction> | undefined;
1534
1534
  alerts?: Array<ACLAction> | undefined;
1535
+ alertRules?: Array<ACLAction> | undefined;
1535
1536
  aliasGlobal?: Array<ACLAction> | undefined;
1536
1537
  analyticsSampling?: Array<ACLAction> | undefined;
1537
1538
  analyticsUsage?: Array<ACLAction> | undefined;
@@ -7221,6 +7222,7 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
7221
7222
  accessGroup: z.array(ACLAction$inboundSchema).optional(),
7222
7223
  agent: z.array(ACLAction$inboundSchema).optional(),
7223
7224
  alerts: z.array(ACLAction$inboundSchema).optional(),
7225
+ alertRules: z.array(ACLAction$inboundSchema).optional(),
7224
7226
  aliasGlobal: z.array(ACLAction$inboundSchema).optional(),
7225
7227
  analyticsSampling: z.array(ACLAction$inboundSchema).optional(),
7226
7228
  analyticsUsage: z.array(ACLAction$inboundSchema).optional(),
@@ -7454,6 +7456,7 @@ export type CreateProjectPermissions$Outbound = {
7454
7456
  accessGroup?: Array<string> | undefined;
7455
7457
  agent?: Array<string> | undefined;
7456
7458
  alerts?: Array<string> | undefined;
7459
+ alertRules?: Array<string> | undefined;
7457
7460
  aliasGlobal?: Array<string> | undefined;
7458
7461
  analyticsSampling?: Array<string> | undefined;
7459
7462
  analyticsUsage?: Array<string> | undefined;
@@ -7681,6 +7684,7 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType<
7681
7684
  accessGroup: z.array(ACLAction$outboundSchema).optional(),
7682
7685
  agent: z.array(ACLAction$outboundSchema).optional(),
7683
7686
  alerts: z.array(ACLAction$outboundSchema).optional(),
7687
+ alertRules: z.array(ACLAction$outboundSchema).optional(),
7684
7688
  aliasGlobal: z.array(ACLAction$outboundSchema).optional(),
7685
7689
  analyticsSampling: z.array(ACLAction$outboundSchema).optional(),
7686
7690
  analyticsUsage: z.array(ACLAction$outboundSchema).optional(),
@@ -42,6 +42,8 @@ export const Events = {
42
42
  EdgeConfigDeleted: "edge-config.deleted",
43
43
  EdgeConfigItemsUpdated: "edge-config.items.updated",
44
44
  FirewallAttack: "firewall.attack",
45
+ FirewallSystemRuleAnomaly: "firewall.system-rule-anomaly",
46
+ FirewallCustomRuleAnomaly: "firewall.custom-rule-anomaly",
45
47
  IntegrationConfigurationPermissionUpgraded:
46
48
  "integration-configuration.permission-upgraded",
47
49
  IntegrationConfigurationRemoved: "integration-configuration.removed",
@@ -148,6 +150,8 @@ export const CreateWebhookEvents = {
148
150
  EdgeConfigDeleted: "edge-config.deleted",
149
151
  EdgeConfigItemsUpdated: "edge-config.items.updated",
150
152
  FirewallAttack: "firewall.attack",
153
+ FirewallSystemRuleAnomaly: "firewall.system-rule-anomaly",
154
+ FirewallCustomRuleAnomaly: "firewall.custom-rule-anomaly",
151
155
  IntegrationConfigurationPermissionUpgraded:
152
156
  "integration-configuration.permission-upgraded",
153
157
  IntegrationConfigurationRemoved: "integration-configuration.removed",
@@ -357,13 +357,12 @@ export type GetAllLogDrainsDrains2 = {
357
357
  createdAt: number;
358
358
  updatedAt: number;
359
359
  projectIds?: Array<string> | undefined;
360
- schemas?: GetAllLogDrainsDrainsLogDrainsSchemas | undefined;
361
- delivery?:
360
+ schemas: GetAllLogDrainsDrainsLogDrainsSchemas;
361
+ delivery:
362
362
  | GetAllLogDrainsDelivery1
363
363
  | GetAllLogDrainsDelivery2
364
364
  | GetAllLogDrainsDelivery3
365
- | GetAllLogDrainsDelivery4
366
- | undefined;
365
+ | GetAllLogDrainsDelivery4;
367
366
  sampling?: Array<GetAllLogDrainsDrainsLogDrainsSampling> | undefined;
368
367
  teamId?: string | null | undefined;
369
368
  status?: GetAllLogDrainsDrainsStatus | undefined;
@@ -624,13 +623,12 @@ export type GetAllLogDrainsDrains1 = {
624
623
  createdAt: number;
625
624
  updatedAt: number;
626
625
  projectIds?: Array<string> | undefined;
627
- schemas?: GetAllLogDrainsDrainsSchemas | undefined;
628
- delivery?:
626
+ schemas: GetAllLogDrainsDrainsSchemas;
627
+ delivery:
629
628
  | GetAllLogDrainsDeliveryLogDrains1
630
629
  | GetAllLogDrainsDeliveryLogDrains2
631
630
  | GetAllLogDrainsDeliveryLogDrains3
632
- | GetAllLogDrainsDeliveryLogDrains4
633
- | undefined;
631
+ | GetAllLogDrainsDeliveryLogDrains4;
634
632
  sampling?: Array<GetAllLogDrainsDrainsSampling> | undefined;
635
633
  teamId?: string | null | undefined;
636
634
  status?: GetAllLogDrainsDrainsLogDrainsStatus | undefined;
@@ -2385,14 +2383,13 @@ export const GetAllLogDrainsDrains2$inboundSchema: z.ZodType<
2385
2383
  createdAt: z.number(),
2386
2384
  updatedAt: z.number(),
2387
2385
  projectIds: z.array(z.string()).optional(),
2388
- schemas: z.lazy(() => GetAllLogDrainsDrainsLogDrainsSchemas$inboundSchema)
2389
- .optional(),
2386
+ schemas: z.lazy(() => GetAllLogDrainsDrainsLogDrainsSchemas$inboundSchema),
2390
2387
  delivery: z.union([
2391
2388
  z.lazy(() => GetAllLogDrainsDelivery1$inboundSchema),
2392
2389
  z.lazy(() => GetAllLogDrainsDelivery2$inboundSchema),
2393
2390
  z.lazy(() => GetAllLogDrainsDelivery3$inboundSchema),
2394
2391
  z.lazy(() => GetAllLogDrainsDelivery4$inboundSchema),
2395
- ]).optional(),
2392
+ ]),
2396
2393
  sampling: z.array(
2397
2394
  z.lazy(() => GetAllLogDrainsDrainsLogDrainsSampling$inboundSchema),
2398
2395
  ).optional(),
@@ -2428,13 +2425,12 @@ export type GetAllLogDrainsDrains2$Outbound = {
2428
2425
  createdAt: number;
2429
2426
  updatedAt: number;
2430
2427
  projectIds?: Array<string> | undefined;
2431
- schemas?: GetAllLogDrainsDrainsLogDrainsSchemas$Outbound | undefined;
2432
- delivery?:
2428
+ schemas: GetAllLogDrainsDrainsLogDrainsSchemas$Outbound;
2429
+ delivery:
2433
2430
  | GetAllLogDrainsDelivery1$Outbound
2434
2431
  | GetAllLogDrainsDelivery2$Outbound
2435
2432
  | GetAllLogDrainsDelivery3$Outbound
2436
- | GetAllLogDrainsDelivery4$Outbound
2437
- | undefined;
2433
+ | GetAllLogDrainsDelivery4$Outbound;
2438
2434
  sampling?: Array<GetAllLogDrainsDrainsLogDrainsSampling$Outbound> | undefined;
2439
2435
  teamId?: string | null | undefined;
2440
2436
  status?: string | undefined;
@@ -2469,14 +2465,13 @@ export const GetAllLogDrainsDrains2$outboundSchema: z.ZodType<
2469
2465
  createdAt: z.number(),
2470
2466
  updatedAt: z.number(),
2471
2467
  projectIds: z.array(z.string()).optional(),
2472
- schemas: z.lazy(() => GetAllLogDrainsDrainsLogDrainsSchemas$outboundSchema)
2473
- .optional(),
2468
+ schemas: z.lazy(() => GetAllLogDrainsDrainsLogDrainsSchemas$outboundSchema),
2474
2469
  delivery: z.union([
2475
2470
  z.lazy(() => GetAllLogDrainsDelivery1$outboundSchema),
2476
2471
  z.lazy(() => GetAllLogDrainsDelivery2$outboundSchema),
2477
2472
  z.lazy(() => GetAllLogDrainsDelivery3$outboundSchema),
2478
2473
  z.lazy(() => GetAllLogDrainsDelivery4$outboundSchema),
2479
- ]).optional(),
2474
+ ]),
2480
2475
  sampling: z.array(
2481
2476
  z.lazy(() => GetAllLogDrainsDrainsLogDrainsSampling$outboundSchema),
2482
2477
  ).optional(),
@@ -3958,13 +3953,13 @@ export const GetAllLogDrainsDrains1$inboundSchema: z.ZodType<
3958
3953
  createdAt: z.number(),
3959
3954
  updatedAt: z.number(),
3960
3955
  projectIds: z.array(z.string()).optional(),
3961
- schemas: z.lazy(() => GetAllLogDrainsDrainsSchemas$inboundSchema).optional(),
3956
+ schemas: z.lazy(() => GetAllLogDrainsDrainsSchemas$inboundSchema),
3962
3957
  delivery: z.union([
3963
3958
  z.lazy(() => GetAllLogDrainsDeliveryLogDrains1$inboundSchema),
3964
3959
  z.lazy(() => GetAllLogDrainsDeliveryLogDrains2$inboundSchema),
3965
3960
  z.lazy(() => GetAllLogDrainsDeliveryLogDrains3$inboundSchema),
3966
3961
  z.lazy(() => GetAllLogDrainsDeliveryLogDrains4$inboundSchema),
3967
- ]).optional(),
3962
+ ]),
3968
3963
  sampling: z.array(z.lazy(() => GetAllLogDrainsDrainsSampling$inboundSchema))
3969
3964
  .optional(),
3970
3965
  teamId: z.nullable(z.string()).optional(),
@@ -3991,13 +3986,12 @@ export type GetAllLogDrainsDrains1$Outbound = {
3991
3986
  createdAt: number;
3992
3987
  updatedAt: number;
3993
3988
  projectIds?: Array<string> | undefined;
3994
- schemas?: GetAllLogDrainsDrainsSchemas$Outbound | undefined;
3995
- delivery?:
3989
+ schemas: GetAllLogDrainsDrainsSchemas$Outbound;
3990
+ delivery:
3996
3991
  | GetAllLogDrainsDeliveryLogDrains1$Outbound
3997
3992
  | GetAllLogDrainsDeliveryLogDrains2$Outbound
3998
3993
  | GetAllLogDrainsDeliveryLogDrains3$Outbound
3999
- | GetAllLogDrainsDeliveryLogDrains4$Outbound
4000
- | undefined;
3994
+ | GetAllLogDrainsDeliveryLogDrains4$Outbound;
4001
3995
  sampling?: Array<GetAllLogDrainsDrainsSampling$Outbound> | undefined;
4002
3996
  teamId?: string | null | undefined;
4003
3997
  status?: string | undefined;
@@ -4027,13 +4021,13 @@ export const GetAllLogDrainsDrains1$outboundSchema: z.ZodType<
4027
4021
  createdAt: z.number(),
4028
4022
  updatedAt: z.number(),
4029
4023
  projectIds: z.array(z.string()).optional(),
4030
- schemas: z.lazy(() => GetAllLogDrainsDrainsSchemas$outboundSchema).optional(),
4024
+ schemas: z.lazy(() => GetAllLogDrainsDrainsSchemas$outboundSchema),
4031
4025
  delivery: z.union([
4032
4026
  z.lazy(() => GetAllLogDrainsDeliveryLogDrains1$outboundSchema),
4033
4027
  z.lazy(() => GetAllLogDrainsDeliveryLogDrains2$outboundSchema),
4034
4028
  z.lazy(() => GetAllLogDrainsDeliveryLogDrains3$outboundSchema),
4035
4029
  z.lazy(() => GetAllLogDrainsDeliveryLogDrains4$outboundSchema),
4036
- ]).optional(),
4030
+ ]),
4037
4031
  sampling: z.array(z.lazy(() => GetAllLogDrainsDrainsSampling$outboundSchema))
4038
4032
  .optional(),
4039
4033
  teamId: z.nullable(z.string()).optional(),
@@ -12,6 +12,7 @@ export type GetBillingPlansRequest = {
12
12
  integrationIdOrSlug: string;
13
13
  productIdOrSlug: string;
14
14
  metadata?: string | undefined;
15
+ source?: string | undefined;
15
16
  /**
16
17
  * The Team identifier to perform the request on behalf of.
17
18
  */
@@ -82,6 +83,7 @@ export const GetBillingPlansRequest$inboundSchema: z.ZodType<
82
83
  integrationIdOrSlug: z.string(),
83
84
  productIdOrSlug: z.string(),
84
85
  metadata: z.string().optional(),
86
+ source: z.string().optional(),
85
87
  teamId: z.string().optional(),
86
88
  slug: z.string().optional(),
87
89
  });
@@ -90,6 +92,7 @@ export type GetBillingPlansRequest$Outbound = {
90
92
  integrationIdOrSlug: string;
91
93
  productIdOrSlug: string;
92
94
  metadata?: string | undefined;
95
+ source?: string | undefined;
93
96
  teamId?: string | undefined;
94
97
  slug?: string | undefined;
95
98
  };
@@ -103,6 +106,7 @@ export const GetBillingPlansRequest$outboundSchema: z.ZodType<
103
106
  integrationIdOrSlug: z.string(),
104
107
  productIdOrSlug: z.string(),
105
108
  metadata: z.string().optional(),
109
+ source: z.string().optional(),
106
110
  teamId: z.string().optional(),
107
111
  slug: z.string().optional(),
108
112
  });
@@ -21,6 +21,9 @@ export type GetBulkAvailabilityRequest = {
21
21
  };
22
22
 
23
23
  export type Results = {
24
+ /**
25
+ * A valid domain name
26
+ */
24
27
  domain: string;
25
28
  available: boolean;
26
29
  };
@@ -23,23 +23,6 @@ export type GetConfigurationRequest = {
23
23
  slug?: string | undefined;
24
24
  };
25
25
 
26
- /**
27
- * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
28
- */
29
- export const GetConfigurationResponseBodyIntegrationsSource = {
30
- Marketplace: "marketplace",
31
- DeployButton: "deploy-button",
32
- External: "external",
33
- V0: "v0",
34
- ResourceClaims: "resource-claims",
35
- } as const;
36
- /**
37
- * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
38
- */
39
- export type GetConfigurationResponseBodyIntegrationsSource = ClosedEnum<
40
- typeof GetConfigurationResponseBodyIntegrationsSource
41
- >;
42
-
43
26
  export const GetConfigurationResponseBodyIntegrationsType = {
44
27
  IntegrationConfiguration: "integration-configuration",
45
28
  } as const;
@@ -103,7 +86,7 @@ export type GetConfigurationResponseBody2 = {
103
86
  /**
104
87
  * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
105
88
  */
106
- source?: GetConfigurationResponseBodyIntegrationsSource | undefined;
89
+ source?: string | undefined;
107
90
  /**
108
91
  * The slug of the integration the configuration is created for.
109
92
  */
@@ -252,23 +235,6 @@ export type GetConfigurationResponseBodyDisabledReason = ClosedEnum<
252
235
  typeof GetConfigurationResponseBodyDisabledReason
253
236
  >;
254
237
 
255
- /**
256
- * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
257
- */
258
- export const GetConfigurationResponseBodySource = {
259
- Marketplace: "marketplace",
260
- DeployButton: "deploy-button",
261
- External: "external",
262
- V0: "v0",
263
- ResourceClaims: "resource-claims",
264
- } as const;
265
- /**
266
- * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
267
- */
268
- export type GetConfigurationResponseBodySource = ClosedEnum<
269
- typeof GetConfigurationResponseBodySource
270
- >;
271
-
272
238
  /**
273
239
  * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'
274
240
  */
@@ -349,7 +315,7 @@ export type GetConfigurationResponseBody1 = {
349
315
  /**
350
316
  * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
351
317
  */
352
- source?: GetConfigurationResponseBodySource | undefined;
318
+ source?: string | undefined;
353
319
  canConfigureOpenTelemetry?: boolean | undefined;
354
320
  /**
355
321
  * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'
@@ -418,15 +384,6 @@ export function getConfigurationRequestFromJSON(
418
384
  );
419
385
  }
420
386
 
421
- /** @internal */
422
- export const GetConfigurationResponseBodyIntegrationsSource$inboundSchema:
423
- z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsSource> = z
424
- .nativeEnum(GetConfigurationResponseBodyIntegrationsSource);
425
- /** @internal */
426
- export const GetConfigurationResponseBodyIntegrationsSource$outboundSchema:
427
- z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsSource> =
428
- GetConfigurationResponseBodyIntegrationsSource$inboundSchema;
429
-
430
387
  /** @internal */
431
388
  export const GetConfigurationResponseBodyIntegrationsType$inboundSchema:
432
389
  z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsType> = z
@@ -470,8 +427,7 @@ export const GetConfigurationResponseBody2$inboundSchema: z.ZodType<
470
427
  integrationId: z.string(),
471
428
  ownerId: z.string(),
472
429
  projects: z.array(z.string()).optional(),
473
- source: GetConfigurationResponseBodyIntegrationsSource$inboundSchema
474
- .optional(),
430
+ source: z.string().optional(),
475
431
  slug: z.string(),
476
432
  teamId: z.nullable(z.string()).optional(),
477
433
  type: GetConfigurationResponseBodyIntegrationsType$inboundSchema,
@@ -522,8 +478,7 @@ export const GetConfigurationResponseBody2$outboundSchema: z.ZodType<
522
478
  integrationId: z.string(),
523
479
  ownerId: z.string(),
524
480
  projects: z.array(z.string()).optional(),
525
- source: GetConfigurationResponseBodyIntegrationsSource$outboundSchema
526
- .optional(),
481
+ source: z.string().optional(),
527
482
  slug: z.string(),
528
483
  teamId: z.nullable(z.string()).optional(),
529
484
  type: GetConfigurationResponseBodyIntegrationsType$outboundSchema,
@@ -975,15 +930,6 @@ export const GetConfigurationResponseBodyDisabledReason$outboundSchema:
975
930
  z.ZodNativeEnum<typeof GetConfigurationResponseBodyDisabledReason> =
976
931
  GetConfigurationResponseBodyDisabledReason$inboundSchema;
977
932
 
978
- /** @internal */
979
- export const GetConfigurationResponseBodySource$inboundSchema: z.ZodNativeEnum<
980
- typeof GetConfigurationResponseBodySource
981
- > = z.nativeEnum(GetConfigurationResponseBodySource);
982
- /** @internal */
983
- export const GetConfigurationResponseBodySource$outboundSchema: z.ZodNativeEnum<
984
- typeof GetConfigurationResponseBodySource
985
- > = GetConfigurationResponseBodySource$inboundSchema;
986
-
987
933
  /** @internal */
988
934
  export const GetConfigurationResponseBodyInstallationType$inboundSchema:
989
935
  z.ZodNativeEnum<typeof GetConfigurationResponseBodyInstallationType> = z
@@ -1028,7 +974,7 @@ export const GetConfigurationResponseBody1$inboundSchema: z.ZodType<
1028
974
  disabledAt: z.number().optional(),
1029
975
  disabledReason: GetConfigurationResponseBodyDisabledReason$inboundSchema
1030
976
  .optional(),
1031
- source: GetConfigurationResponseBodySource$inboundSchema.optional(),
977
+ source: z.string().optional(),
1032
978
  canConfigureOpenTelemetry: z.boolean().optional(),
1033
979
  installationType: GetConfigurationResponseBodyInstallationType$inboundSchema
1034
980
  .optional(),
@@ -1088,7 +1034,7 @@ export const GetConfigurationResponseBody1$outboundSchema: z.ZodType<
1088
1034
  disabledAt: z.number().optional(),
1089
1035
  disabledReason: GetConfigurationResponseBodyDisabledReason$outboundSchema
1090
1036
  .optional(),
1091
- source: GetConfigurationResponseBodySource$outboundSchema.optional(),
1037
+ source: z.string().optional(),
1092
1038
  canConfigureOpenTelemetry: z.boolean().optional(),
1093
1039
  installationType: GetConfigurationResponseBodyInstallationType$outboundSchema
1094
1040
  .optional(),