@vercel/sdk 1.12.0 → 1.12.2

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 (157) hide show
  1. package/README.md +10 -6
  2. package/bin/mcp-server.js +2893 -2521
  3. package/bin/mcp-server.js.map +34 -28
  4. package/docs/sdks/edgecache/README.md +2 -2
  5. package/docs/sdks/projects/README.md +173 -0
  6. package/esm/__tests__/domains.test.js +9 -6
  7. package/esm/__tests__/domains.test.js.map +1 -1
  8. package/esm/__tests__/edgeconfig.test.js +6 -6
  9. package/esm/__tests__/edgeconfig.test.js.map +1 -1
  10. package/esm/__tests__/integrations.test.js +2 -2
  11. package/esm/__tests__/integrations.test.js.map +1 -1
  12. package/esm/__tests__/logdrains.test.js +3 -1
  13. package/esm/__tests__/logdrains.test.js.map +1 -1
  14. package/esm/__tests__/projects.test.js +45 -0
  15. package/esm/__tests__/projects.test.js.map +1 -1
  16. package/esm/__tests__/rollingrelease.test.js +6 -2
  17. package/esm/__tests__/rollingrelease.test.js.map +1 -1
  18. package/esm/__tests__/security.test.js +4 -4
  19. package/esm/__tests__/security.test.js.map +1 -1
  20. package/esm/funcs/edgeCacheDangerouslyDeleteByTags.d.ts +1 -1
  21. package/esm/funcs/edgeCacheDangerouslyDeleteByTags.js +1 -1
  22. package/esm/funcs/edgeCacheInvalidateByTags.d.ts +1 -1
  23. package/esm/funcs/edgeCacheInvalidateByTags.js +1 -1
  24. package/esm/funcs/edgeConfigCreateEdgeConfigToken.js +2 -2
  25. package/esm/funcs/edgeConfigCreateEdgeConfigToken.js.map +1 -1
  26. package/esm/funcs/edgeConfigDeleteEdgeConfig.js +2 -2
  27. package/esm/funcs/edgeConfigDeleteEdgeConfig.js.map +1 -1
  28. package/esm/funcs/edgeConfigDeleteEdgeConfigSchema.js +2 -2
  29. package/esm/funcs/edgeConfigDeleteEdgeConfigSchema.js.map +1 -1
  30. package/esm/funcs/edgeConfigDeleteEdgeConfigTokens.js +2 -2
  31. package/esm/funcs/edgeConfigDeleteEdgeConfigTokens.js.map +1 -1
  32. package/esm/funcs/edgeConfigPatchEdgeConfigSchema.js +2 -2
  33. package/esm/funcs/edgeConfigPatchEdgeConfigSchema.js.map +1 -1
  34. package/esm/funcs/edgeConfigUpdateEdgeConfig.js +2 -2
  35. package/esm/funcs/edgeConfigUpdateEdgeConfig.js.map +1 -1
  36. package/esm/funcs/integrationsCreateIntegrationStoreDirect.js +2 -2
  37. package/esm/funcs/integrationsCreateIntegrationStoreDirect.js.map +1 -1
  38. package/esm/funcs/integrationsDeleteConfiguration.js +2 -2
  39. package/esm/funcs/integrationsDeleteConfiguration.js.map +1 -1
  40. package/esm/funcs/projectsBatchRemoveProjectEnv.d.ts +20 -0
  41. package/esm/funcs/projectsBatchRemoveProjectEnv.d.ts.map +1 -0
  42. package/esm/funcs/projectsBatchRemoveProjectEnv.js +95 -0
  43. package/esm/funcs/projectsBatchRemoveProjectEnv.js.map +1 -0
  44. package/esm/funcs/projectsUploadProjectClientCert.d.ts +19 -0
  45. package/esm/funcs/projectsUploadProjectClientCert.d.ts.map +1 -0
  46. package/esm/funcs/projectsUploadProjectClientCert.js +94 -0
  47. package/esm/funcs/projectsUploadProjectClientCert.js.map +1 -0
  48. package/esm/lib/config.d.ts +3 -3
  49. package/esm/lib/config.js +3 -3
  50. package/esm/mcp-server/mcp-server.js +1 -1
  51. package/esm/mcp-server/server.d.ts.map +1 -1
  52. package/esm/mcp-server/server.js +5 -1
  53. package/esm/mcp-server/server.js.map +1 -1
  54. package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.js +1 -1
  55. package/esm/mcp-server/tools/edgeCacheInvalidateByTags.js +1 -1
  56. package/esm/mcp-server/tools/projectsBatchRemoveProjectEnv.d.ts +7 -0
  57. package/esm/mcp-server/tools/projectsBatchRemoveProjectEnv.d.ts.map +1 -0
  58. package/esm/mcp-server/tools/projectsBatchRemoveProjectEnv.js +28 -0
  59. package/esm/mcp-server/tools/projectsBatchRemoveProjectEnv.js.map +1 -0
  60. package/esm/mcp-server/tools/projectsUploadProjectClientCert.d.ts +7 -0
  61. package/esm/mcp-server/tools/projectsUploadProjectClientCert.d.ts.map +1 -0
  62. package/esm/mcp-server/tools/projectsUploadProjectClientCert.js +28 -0
  63. package/esm/mcp-server/tools/projectsUploadProjectClientCert.js.map +1 -0
  64. package/esm/models/batchremoveprojectenvop.d.ts +99 -0
  65. package/esm/models/batchremoveprojectenvop.d.ts.map +1 -0
  66. package/esm/models/batchremoveprojectenvop.js +100 -0
  67. package/esm/models/batchremoveprojectenvop.js.map +1 -0
  68. package/esm/models/createintegrationstoredirectop.d.ts +285 -285
  69. package/esm/models/createintegrationstoredirectop.js +351 -351
  70. package/esm/models/createprojectop.d.ts +30 -30
  71. package/esm/models/createprojectop.d.ts.map +1 -1
  72. package/esm/models/createprojectop.js +18 -18
  73. package/esm/models/createprojectop.js.map +1 -1
  74. package/esm/models/createwebhookop.d.ts +6 -0
  75. package/esm/models/createwebhookop.d.ts.map +1 -1
  76. package/esm/models/createwebhookop.js +2 -0
  77. package/esm/models/createwebhookop.js.map +1 -1
  78. package/esm/models/getbillingplansop.d.ts +2 -2
  79. package/esm/models/getbillingplansop.d.ts.map +1 -1
  80. package/esm/models/getbillingplansop.js +2 -2
  81. package/esm/models/getbillingplansop.js.map +1 -1
  82. package/esm/models/getconfigurationop.d.ts +302 -302
  83. package/esm/models/getconfigurationop.d.ts.map +1 -1
  84. package/esm/models/getconfigurationop.js +212 -212
  85. package/esm/models/getconfigurationop.js.map +1 -1
  86. package/esm/models/getconfigurationproductsop.d.ts +375 -375
  87. package/esm/models/getconfigurationproductsop.js +465 -465
  88. package/esm/models/getwebhookop.d.ts +3 -0
  89. package/esm/models/getwebhookop.d.ts.map +1 -1
  90. package/esm/models/getwebhookop.js +1 -0
  91. package/esm/models/getwebhookop.js.map +1 -1
  92. package/esm/models/getwebhooksop.d.ts +6 -0
  93. package/esm/models/getwebhooksop.d.ts.map +1 -1
  94. package/esm/models/getwebhooksop.js +2 -0
  95. package/esm/models/getwebhooksop.js.map +1 -1
  96. package/esm/models/updateprojectop.d.ts +30 -30
  97. package/esm/models/updateprojectop.d.ts.map +1 -1
  98. package/esm/models/updateprojectop.js +18 -18
  99. package/esm/models/updateprojectop.js.map +1 -1
  100. package/esm/models/uploadprojectclientcertop.d.ts +122 -0
  101. package/esm/models/uploadprojectclientcertop.d.ts.map +1 -0
  102. package/esm/models/uploadprojectclientcertop.js +108 -0
  103. package/esm/models/uploadprojectclientcertop.js.map +1 -0
  104. package/esm/models/userevent.d.ts +1856 -1824
  105. package/esm/models/userevent.d.ts.map +1 -1
  106. package/esm/models/userevent.js +2400 -2367
  107. package/esm/models/userevent.js.map +1 -1
  108. package/esm/sdk/edgecache.d.ts +2 -2
  109. package/esm/sdk/edgecache.js +2 -2
  110. package/esm/sdk/projects.d.ts +16 -0
  111. package/esm/sdk/projects.d.ts.map +1 -1
  112. package/esm/sdk/projects.js +20 -0
  113. package/esm/sdk/projects.js.map +1 -1
  114. package/examples/package-lock.json +1 -1
  115. package/jsr.json +1 -1
  116. package/package.json +1 -1
  117. package/src/__tests__/domains.test.ts +9 -6
  118. package/src/__tests__/edgeconfig.test.ts +6 -6
  119. package/src/__tests__/integrations.test.ts +3 -3
  120. package/src/__tests__/logdrains.test.ts +3 -1
  121. package/src/__tests__/projects.test.ts +51 -0
  122. package/src/__tests__/rollingrelease.test.ts +6 -2
  123. package/src/__tests__/security.test.ts +4 -4
  124. package/src/funcs/edgeCacheDangerouslyDeleteByTags.ts +1 -1
  125. package/src/funcs/edgeCacheInvalidateByTags.ts +1 -1
  126. package/src/funcs/edgeConfigCreateEdgeConfigToken.ts +2 -2
  127. package/src/funcs/edgeConfigDeleteEdgeConfig.ts +2 -2
  128. package/src/funcs/edgeConfigDeleteEdgeConfigSchema.ts +2 -2
  129. package/src/funcs/edgeConfigDeleteEdgeConfigTokens.ts +2 -2
  130. package/src/funcs/edgeConfigPatchEdgeConfigSchema.ts +2 -2
  131. package/src/funcs/edgeConfigUpdateEdgeConfig.ts +2 -2
  132. package/src/funcs/integrationsCreateIntegrationStoreDirect.ts +2 -2
  133. package/src/funcs/integrationsDeleteConfiguration.ts +2 -2
  134. package/src/funcs/projectsBatchRemoveProjectEnv.ts +206 -0
  135. package/src/funcs/projectsUploadProjectClientCert.ts +198 -0
  136. package/src/lib/config.ts +3 -3
  137. package/src/mcp-server/mcp-server.ts +1 -1
  138. package/src/mcp-server/server.ts +5 -1
  139. package/src/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.ts +1 -1
  140. package/src/mcp-server/tools/edgeCacheInvalidateByTags.ts +1 -1
  141. package/src/mcp-server/tools/projectsBatchRemoveProjectEnv.ts +37 -0
  142. package/src/mcp-server/tools/projectsUploadProjectClientCert.ts +38 -0
  143. package/src/models/batchremoveprojectenvop.ts +228 -0
  144. package/src/models/createintegrationstoredirectop.ts +604 -604
  145. package/src/models/createprojectop.ts +30 -30
  146. package/src/models/createwebhookop.ts +2 -0
  147. package/src/models/getbillingplansop.ts +4 -4
  148. package/src/models/getconfigurationop.ts +651 -651
  149. package/src/models/getconfigurationproductsop.ts +802 -802
  150. package/src/models/getwebhookop.ts +1 -0
  151. package/src/models/getwebhooksop.ts +2 -0
  152. package/src/models/updateprojectop.ts +30 -30
  153. package/src/models/uploadprojectclientcertop.ts +263 -0
  154. package/src/models/userevent.ts +4207 -4130
  155. package/src/sdk/edgecache.ts +2 -2
  156. package/src/sdk/projects.ts +44 -0
  157. package/vercel-spec.json +609 -287
@@ -16,6 +16,115 @@ export type GetConfigurationRequest = {
16
16
  */
17
17
  slug?: string | undefined;
18
18
  };
19
+ /**
20
+ * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
21
+ */
22
+ export declare const GetConfigurationResponseBodyIntegrationsSource: {
23
+ readonly Marketplace: "marketplace";
24
+ readonly DeployButton: "deploy-button";
25
+ readonly External: "external";
26
+ readonly V0: "v0";
27
+ readonly ResourceClaims: "resource-claims";
28
+ };
29
+ /**
30
+ * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
31
+ */
32
+ export type GetConfigurationResponseBodyIntegrationsSource = ClosedEnum<typeof GetConfigurationResponseBodyIntegrationsSource>;
33
+ export declare const GetConfigurationResponseBodyIntegrationsType: {
34
+ readonly IntegrationConfiguration: "integration-configuration";
35
+ };
36
+ export type GetConfigurationResponseBodyIntegrationsType = ClosedEnum<typeof GetConfigurationResponseBodyIntegrationsType>;
37
+ export declare const GetConfigurationResponseBodyIntegrationsDisabledReason: {
38
+ readonly DisabledByOwner: "disabled-by-owner";
39
+ readonly FeatureNotAvailable: "feature-not-available";
40
+ readonly DisabledByAdmin: "disabled-by-admin";
41
+ readonly OriginalOwnerLeftTheTeam: "original-owner-left-the-team";
42
+ readonly AccountPlanDowngrade: "account-plan-downgrade";
43
+ readonly OriginalOwnerRoleDowngraded: "original-owner-role-downgraded";
44
+ };
45
+ export type GetConfigurationResponseBodyIntegrationsDisabledReason = ClosedEnum<typeof GetConfigurationResponseBodyIntegrationsDisabledReason>;
46
+ /**
47
+ * 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'
48
+ */
49
+ export declare const GetConfigurationResponseBodyIntegrationsInstallationType: {
50
+ readonly Marketplace: "marketplace";
51
+ readonly External: "external";
52
+ };
53
+ /**
54
+ * 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'
55
+ */
56
+ export type GetConfigurationResponseBodyIntegrationsInstallationType = ClosedEnum<typeof GetConfigurationResponseBodyIntegrationsInstallationType>;
57
+ /**
58
+ * The configuration with the provided id
59
+ */
60
+ export type GetConfigurationResponseBody2 = {
61
+ /**
62
+ * A timestamp that tells you when the configuration was installed successfully
63
+ */
64
+ completedAt?: number | undefined;
65
+ /**
66
+ * A timestamp that tells you when the configuration was created
67
+ */
68
+ createdAt: number;
69
+ /**
70
+ * The unique identifier of the configuration
71
+ */
72
+ id: string;
73
+ /**
74
+ * The unique identifier of the app the configuration was created for
75
+ */
76
+ integrationId: string;
77
+ /**
78
+ * The user or team ID that owns the configuration
79
+ */
80
+ ownerId: string;
81
+ /**
82
+ * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access.
83
+ */
84
+ projects?: Array<string> | undefined;
85
+ /**
86
+ * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
87
+ */
88
+ source?: GetConfigurationResponseBodyIntegrationsSource | undefined;
89
+ /**
90
+ * The slug of the integration the configuration is created for.
91
+ */
92
+ slug: string;
93
+ /**
94
+ * When the configuration was created for a team, this will show the ID of the team.
95
+ */
96
+ teamId?: string | null | undefined;
97
+ type: GetConfigurationResponseBodyIntegrationsType;
98
+ /**
99
+ * A timestamp that tells you when the configuration was updated.
100
+ */
101
+ updatedAt: number;
102
+ /**
103
+ * The ID of the user that created the configuration.
104
+ */
105
+ userId: string;
106
+ /**
107
+ * The resources that are allowed to be accessed by the configuration.
108
+ */
109
+ scopes: Array<string>;
110
+ /**
111
+ * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team.
112
+ */
113
+ disabledAt?: number | undefined;
114
+ /**
115
+ * A timestamp that tells you when the configuration was deleted.
116
+ */
117
+ deletedAt?: number | null | undefined;
118
+ /**
119
+ * A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid.
120
+ */
121
+ deleteRequestedAt?: number | null | undefined;
122
+ disabledReason?: GetConfigurationResponseBodyIntegrationsDisabledReason | undefined;
123
+ /**
124
+ * 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'
125
+ */
126
+ installationType?: GetConfigurationResponseBodyIntegrationsInstallationType | undefined;
127
+ };
19
128
  /**
20
129
  * A string representing the permission for projects. Possible values are `all` or `selected`.
21
130
  */
@@ -105,10 +214,19 @@ export type TransferRequest1 = {
105
214
  authorizationId?: string | undefined;
106
215
  };
107
216
  export type TransferRequest = TransferRequest1 | TransferRequest2;
217
+ export declare const GetConfigurationResponseBodyDisabledReason: {
218
+ readonly DisabledByOwner: "disabled-by-owner";
219
+ readonly FeatureNotAvailable: "feature-not-available";
220
+ readonly DisabledByAdmin: "disabled-by-admin";
221
+ readonly OriginalOwnerLeftTheTeam: "original-owner-left-the-team";
222
+ readonly AccountPlanDowngrade: "account-plan-downgrade";
223
+ readonly OriginalOwnerRoleDowngraded: "original-owner-role-downgraded";
224
+ };
225
+ export type GetConfigurationResponseBodyDisabledReason = ClosedEnum<typeof GetConfigurationResponseBodyDisabledReason>;
108
226
  /**
109
227
  * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
110
228
  */
111
- export declare const GetConfigurationResponseBodyIntegrationsSource: {
229
+ export declare const GetConfigurationResponseBodySource: {
112
230
  readonly Marketplace: "marketplace";
113
231
  readonly DeployButton: "deploy-button";
114
232
  readonly External: "external";
@@ -118,32 +236,23 @@ export declare const GetConfigurationResponseBodyIntegrationsSource: {
118
236
  /**
119
237
  * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
120
238
  */
121
- export type GetConfigurationResponseBodyIntegrationsSource = ClosedEnum<typeof GetConfigurationResponseBodyIntegrationsSource>;
122
- export declare const GetConfigurationResponseBodyIntegrationsType: {
123
- readonly IntegrationConfiguration: "integration-configuration";
124
- };
125
- export type GetConfigurationResponseBodyIntegrationsType = ClosedEnum<typeof GetConfigurationResponseBodyIntegrationsType>;
126
- export declare const GetConfigurationResponseBodyIntegrationsDisabledReason: {
127
- readonly DisabledByOwner: "disabled-by-owner";
128
- readonly FeatureNotAvailable: "feature-not-available";
129
- readonly DisabledByAdmin: "disabled-by-admin";
130
- readonly OriginalOwnerLeftTheTeam: "original-owner-left-the-team";
131
- readonly AccountPlanDowngrade: "account-plan-downgrade";
132
- readonly OriginalOwnerRoleDowngraded: "original-owner-role-downgraded";
133
- };
134
- export type GetConfigurationResponseBodyIntegrationsDisabledReason = ClosedEnum<typeof GetConfigurationResponseBodyIntegrationsDisabledReason>;
239
+ export type GetConfigurationResponseBodySource = ClosedEnum<typeof GetConfigurationResponseBodySource>;
135
240
  /**
136
241
  * 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'
137
242
  */
138
- export declare const GetConfigurationResponseBodyIntegrationsInstallationType: {
243
+ export declare const GetConfigurationResponseBodyInstallationType: {
139
244
  readonly Marketplace: "marketplace";
140
245
  readonly External: "external";
141
246
  };
142
247
  /**
143
248
  * 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'
144
249
  */
145
- export type GetConfigurationResponseBodyIntegrationsInstallationType = ClosedEnum<typeof GetConfigurationResponseBodyIntegrationsInstallationType>;
146
- export type GetConfigurationResponseBody2 = {
250
+ export type GetConfigurationResponseBodyInstallationType = ClosedEnum<typeof GetConfigurationResponseBodyInstallationType>;
251
+ export declare const GetConfigurationResponseBodyType: {
252
+ readonly IntegrationConfiguration: "integration-configuration";
253
+ };
254
+ export type GetConfigurationResponseBodyType = ClosedEnum<typeof GetConfigurationResponseBodyType>;
255
+ export type GetConfigurationResponseBody1 = {
147
256
  /**
148
257
  * A string representing the permission for projects. Possible values are `all` or `selected`.
149
258
  */
@@ -154,14 +263,14 @@ export type GetConfigurationResponseBody2 = {
154
263
  * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access.
155
264
  */
156
265
  projects?: Array<string> | undefined;
157
- /**
158
- * A timestamp that tells you when the configuration was installed successfully
159
- */
160
- completedAt?: number | undefined;
161
266
  /**
162
267
  * A timestamp that tells you when the configuration was created
163
268
  */
164
269
  createdAt: number;
270
+ /**
271
+ * A timestamp that tells you when the configuration was installed successfully
272
+ */
273
+ completedAt?: number | undefined;
165
274
  /**
166
275
  * The unique identifier of the configuration
167
276
  */
@@ -174,10 +283,6 @@ export type GetConfigurationResponseBody2 = {
174
283
  * The user or team ID that owns the configuration
175
284
  */
176
285
  ownerId: string;
177
- /**
178
- * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
179
- */
180
- source?: GetConfigurationResponseBodyIntegrationsSource | undefined;
181
286
  /**
182
287
  * The slug of the integration the configuration is created for.
183
288
  */
@@ -186,7 +291,6 @@ export type GetConfigurationResponseBody2 = {
186
291
  * When the configuration was created for a team, this will show the ID of the team.
187
292
  */
188
293
  teamId?: string | null | undefined;
189
- type: GetConfigurationResponseBodyIntegrationsType;
190
294
  /**
191
295
  * A timestamp that tells you when the configuration was updated.
192
296
  */
@@ -203,158 +307,185 @@ export type GetConfigurationResponseBody2 = {
203
307
  * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team.
204
308
  */
205
309
  disabledAt?: number | undefined;
310
+ disabledReason?: GetConfigurationResponseBodyDisabledReason | undefined;
206
311
  /**
207
- * A timestamp that tells you when the configuration was deleted.
312
+ * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
208
313
  */
209
- deletedAt?: number | null | undefined;
314
+ source?: GetConfigurationResponseBodySource | undefined;
315
+ canConfigureOpenTelemetry?: boolean | undefined;
316
+ /**
317
+ * 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'
318
+ */
319
+ installationType?: GetConfigurationResponseBodyInstallationType | undefined;
210
320
  /**
211
321
  * A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid.
212
322
  */
213
323
  deleteRequestedAt?: number | null | undefined;
214
- disabledReason?: GetConfigurationResponseBodyIntegrationsDisabledReason | undefined;
324
+ type: GetConfigurationResponseBodyType;
215
325
  /**
216
- * 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'
326
+ * A timestamp that tells you when the configuration was deleted.
217
327
  */
218
- installationType?: GetConfigurationResponseBodyIntegrationsInstallationType | undefined;
219
- canConfigureOpenTelemetry?: boolean | undefined;
328
+ deletedAt?: number | null | undefined;
220
329
  };
221
330
  /**
222
- * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
331
+ * The configuration with the provided id
223
332
  */
224
- export declare const GetConfigurationResponseBodySource: {
225
- readonly Marketplace: "marketplace";
226
- readonly DeployButton: "deploy-button";
227
- readonly External: "external";
228
- readonly V0: "v0";
229
- readonly ResourceClaims: "resource-claims";
333
+ export type GetConfigurationResponseBody = GetConfigurationResponseBody1 | GetConfigurationResponseBody2;
334
+ /** @internal */
335
+ export declare const GetConfigurationRequest$inboundSchema: z.ZodType<GetConfigurationRequest, z.ZodTypeDef, unknown>;
336
+ /** @internal */
337
+ export type GetConfigurationRequest$Outbound = {
338
+ id: string;
339
+ teamId?: string | undefined;
340
+ slug?: string | undefined;
230
341
  };
342
+ /** @internal */
343
+ export declare const GetConfigurationRequest$outboundSchema: z.ZodType<GetConfigurationRequest$Outbound, z.ZodTypeDef, GetConfigurationRequest>;
231
344
  /**
232
- * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
345
+ * @internal
346
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
233
347
  */
234
- export type GetConfigurationResponseBodySource = ClosedEnum<typeof GetConfigurationResponseBodySource>;
235
- export declare const GetConfigurationResponseBodyType: {
236
- readonly IntegrationConfiguration: "integration-configuration";
237
- };
238
- export type GetConfigurationResponseBodyType = ClosedEnum<typeof GetConfigurationResponseBodyType>;
239
- export declare const GetConfigurationResponseBodyDisabledReason: {
240
- readonly DisabledByOwner: "disabled-by-owner";
241
- readonly FeatureNotAvailable: "feature-not-available";
242
- readonly DisabledByAdmin: "disabled-by-admin";
243
- readonly OriginalOwnerLeftTheTeam: "original-owner-left-the-team";
244
- readonly AccountPlanDowngrade: "account-plan-downgrade";
245
- readonly OriginalOwnerRoleDowngraded: "original-owner-role-downgraded";
246
- };
247
- export type GetConfigurationResponseBodyDisabledReason = ClosedEnum<typeof GetConfigurationResponseBodyDisabledReason>;
348
+ export declare namespace GetConfigurationRequest$ {
349
+ /** @deprecated use `GetConfigurationRequest$inboundSchema` instead. */
350
+ const inboundSchema: z.ZodType<GetConfigurationRequest, z.ZodTypeDef, unknown>;
351
+ /** @deprecated use `GetConfigurationRequest$outboundSchema` instead. */
352
+ const outboundSchema: z.ZodType<GetConfigurationRequest$Outbound, z.ZodTypeDef, GetConfigurationRequest>;
353
+ /** @deprecated use `GetConfigurationRequest$Outbound` instead. */
354
+ type Outbound = GetConfigurationRequest$Outbound;
355
+ }
356
+ export declare function getConfigurationRequestToJSON(getConfigurationRequest: GetConfigurationRequest): string;
357
+ export declare function getConfigurationRequestFromJSON(jsonString: string): SafeParseResult<GetConfigurationRequest, SDKValidationError>;
358
+ /** @internal */
359
+ export declare const GetConfigurationResponseBodyIntegrationsSource$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsSource>;
360
+ /** @internal */
361
+ export declare const GetConfigurationResponseBodyIntegrationsSource$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsSource>;
248
362
  /**
249
- * 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'
363
+ * @internal
364
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
250
365
  */
251
- export declare const GetConfigurationResponseBodyInstallationType: {
252
- readonly Marketplace: "marketplace";
253
- readonly External: "external";
254
- };
366
+ export declare namespace GetConfigurationResponseBodyIntegrationsSource$ {
367
+ /** @deprecated use `GetConfigurationResponseBodyIntegrationsSource$inboundSchema` instead. */
368
+ const inboundSchema: z.ZodNativeEnum<{
369
+ readonly Marketplace: "marketplace";
370
+ readonly DeployButton: "deploy-button";
371
+ readonly External: "external";
372
+ readonly V0: "v0";
373
+ readonly ResourceClaims: "resource-claims";
374
+ }>;
375
+ /** @deprecated use `GetConfigurationResponseBodyIntegrationsSource$outboundSchema` instead. */
376
+ const outboundSchema: z.ZodNativeEnum<{
377
+ readonly Marketplace: "marketplace";
378
+ readonly DeployButton: "deploy-button";
379
+ readonly External: "external";
380
+ readonly V0: "v0";
381
+ readonly ResourceClaims: "resource-claims";
382
+ }>;
383
+ }
384
+ /** @internal */
385
+ export declare const GetConfigurationResponseBodyIntegrationsType$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsType>;
386
+ /** @internal */
387
+ export declare const GetConfigurationResponseBodyIntegrationsType$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsType>;
255
388
  /**
256
- * 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'
389
+ * @internal
390
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
257
391
  */
258
- export type GetConfigurationResponseBodyInstallationType = ClosedEnum<typeof GetConfigurationResponseBodyInstallationType>;
392
+ export declare namespace GetConfigurationResponseBodyIntegrationsType$ {
393
+ /** @deprecated use `GetConfigurationResponseBodyIntegrationsType$inboundSchema` instead. */
394
+ const inboundSchema: z.ZodNativeEnum<{
395
+ readonly IntegrationConfiguration: "integration-configuration";
396
+ }>;
397
+ /** @deprecated use `GetConfigurationResponseBodyIntegrationsType$outboundSchema` instead. */
398
+ const outboundSchema: z.ZodNativeEnum<{
399
+ readonly IntegrationConfiguration: "integration-configuration";
400
+ }>;
401
+ }
402
+ /** @internal */
403
+ export declare const GetConfigurationResponseBodyIntegrationsDisabledReason$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsDisabledReason>;
404
+ /** @internal */
405
+ export declare const GetConfigurationResponseBodyIntegrationsDisabledReason$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsDisabledReason>;
259
406
  /**
260
- * The configuration with the provided id
407
+ * @internal
408
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
261
409
  */
262
- export type GetConfigurationResponseBody1 = {
263
- /**
264
- * A timestamp that tells you when the configuration was installed successfully
265
- */
410
+ export declare namespace GetConfigurationResponseBodyIntegrationsDisabledReason$ {
411
+ /** @deprecated use `GetConfigurationResponseBodyIntegrationsDisabledReason$inboundSchema` instead. */
412
+ const inboundSchema: z.ZodNativeEnum<{
413
+ readonly DisabledByOwner: "disabled-by-owner";
414
+ readonly FeatureNotAvailable: "feature-not-available";
415
+ readonly DisabledByAdmin: "disabled-by-admin";
416
+ readonly OriginalOwnerLeftTheTeam: "original-owner-left-the-team";
417
+ readonly AccountPlanDowngrade: "account-plan-downgrade";
418
+ readonly OriginalOwnerRoleDowngraded: "original-owner-role-downgraded";
419
+ }>;
420
+ /** @deprecated use `GetConfigurationResponseBodyIntegrationsDisabledReason$outboundSchema` instead. */
421
+ const outboundSchema: z.ZodNativeEnum<{
422
+ readonly DisabledByOwner: "disabled-by-owner";
423
+ readonly FeatureNotAvailable: "feature-not-available";
424
+ readonly DisabledByAdmin: "disabled-by-admin";
425
+ readonly OriginalOwnerLeftTheTeam: "original-owner-left-the-team";
426
+ readonly AccountPlanDowngrade: "account-plan-downgrade";
427
+ readonly OriginalOwnerRoleDowngraded: "original-owner-role-downgraded";
428
+ }>;
429
+ }
430
+ /** @internal */
431
+ export declare const GetConfigurationResponseBodyIntegrationsInstallationType$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsInstallationType>;
432
+ /** @internal */
433
+ export declare const GetConfigurationResponseBodyIntegrationsInstallationType$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsInstallationType>;
434
+ /**
435
+ * @internal
436
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
437
+ */
438
+ export declare namespace GetConfigurationResponseBodyIntegrationsInstallationType$ {
439
+ /** @deprecated use `GetConfigurationResponseBodyIntegrationsInstallationType$inboundSchema` instead. */
440
+ const inboundSchema: z.ZodNativeEnum<{
441
+ readonly Marketplace: "marketplace";
442
+ readonly External: "external";
443
+ }>;
444
+ /** @deprecated use `GetConfigurationResponseBodyIntegrationsInstallationType$outboundSchema` instead. */
445
+ const outboundSchema: z.ZodNativeEnum<{
446
+ readonly Marketplace: "marketplace";
447
+ readonly External: "external";
448
+ }>;
449
+ }
450
+ /** @internal */
451
+ export declare const GetConfigurationResponseBody2$inboundSchema: z.ZodType<GetConfigurationResponseBody2, z.ZodTypeDef, unknown>;
452
+ /** @internal */
453
+ export type GetConfigurationResponseBody2$Outbound = {
266
454
  completedAt?: number | undefined;
267
- /**
268
- * A timestamp that tells you when the configuration was created
269
- */
270
455
  createdAt: number;
271
- /**
272
- * The unique identifier of the configuration
273
- */
274
456
  id: string;
275
- /**
276
- * The unique identifier of the app the configuration was created for
277
- */
278
457
  integrationId: string;
279
- /**
280
- * The user or team ID that owns the configuration
281
- */
282
458
  ownerId: string;
283
- /**
284
- * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access.
285
- */
286
- projects?: Array<string> | undefined;
287
- /**
288
- * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
289
- */
290
- source?: GetConfigurationResponseBodySource | undefined;
291
- /**
292
- * The slug of the integration the configuration is created for.
293
- */
459
+ projects?: Array<string> | undefined;
460
+ source?: string | undefined;
294
461
  slug: string;
295
- /**
296
- * When the configuration was created for a team, this will show the ID of the team.
297
- */
298
462
  teamId?: string | null | undefined;
299
- type: GetConfigurationResponseBodyType;
300
- /**
301
- * A timestamp that tells you when the configuration was updated.
302
- */
463
+ type: string;
303
464
  updatedAt: number;
304
- /**
305
- * The ID of the user that created the configuration.
306
- */
307
465
  userId: string;
308
- /**
309
- * The resources that are allowed to be accessed by the configuration.
310
- */
311
466
  scopes: Array<string>;
312
- /**
313
- * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team.
314
- */
315
467
  disabledAt?: number | undefined;
316
- /**
317
- * A timestamp that tells you when the configuration was deleted.
318
- */
319
468
  deletedAt?: number | null | undefined;
320
- /**
321
- * A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid.
322
- */
323
469
  deleteRequestedAt?: number | null | undefined;
324
- disabledReason?: GetConfigurationResponseBodyDisabledReason | undefined;
325
- /**
326
- * 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'
327
- */
328
- installationType?: GetConfigurationResponseBodyInstallationType | undefined;
329
- };
330
- /**
331
- * The configuration with the provided id
332
- */
333
- export type GetConfigurationResponseBody = GetConfigurationResponseBody2 | GetConfigurationResponseBody1;
334
- /** @internal */
335
- export declare const GetConfigurationRequest$inboundSchema: z.ZodType<GetConfigurationRequest, z.ZodTypeDef, unknown>;
336
- /** @internal */
337
- export type GetConfigurationRequest$Outbound = {
338
- id: string;
339
- teamId?: string | undefined;
340
- slug?: string | undefined;
470
+ disabledReason?: string | undefined;
471
+ installationType?: string | undefined;
341
472
  };
342
473
  /** @internal */
343
- export declare const GetConfigurationRequest$outboundSchema: z.ZodType<GetConfigurationRequest$Outbound, z.ZodTypeDef, GetConfigurationRequest>;
474
+ export declare const GetConfigurationResponseBody2$outboundSchema: z.ZodType<GetConfigurationResponseBody2$Outbound, z.ZodTypeDef, GetConfigurationResponseBody2>;
344
475
  /**
345
476
  * @internal
346
477
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
347
478
  */
348
- export declare namespace GetConfigurationRequest$ {
349
- /** @deprecated use `GetConfigurationRequest$inboundSchema` instead. */
350
- const inboundSchema: z.ZodType<GetConfigurationRequest, z.ZodTypeDef, unknown>;
351
- /** @deprecated use `GetConfigurationRequest$outboundSchema` instead. */
352
- const outboundSchema: z.ZodType<GetConfigurationRequest$Outbound, z.ZodTypeDef, GetConfigurationRequest>;
353
- /** @deprecated use `GetConfigurationRequest$Outbound` instead. */
354
- type Outbound = GetConfigurationRequest$Outbound;
479
+ export declare namespace GetConfigurationResponseBody2$ {
480
+ /** @deprecated use `GetConfigurationResponseBody2$inboundSchema` instead. */
481
+ const inboundSchema: z.ZodType<GetConfigurationResponseBody2, z.ZodTypeDef, unknown>;
482
+ /** @deprecated use `GetConfigurationResponseBody2$outboundSchema` instead. */
483
+ const outboundSchema: z.ZodType<GetConfigurationResponseBody2$Outbound, z.ZodTypeDef, GetConfigurationResponseBody2>;
484
+ /** @deprecated use `GetConfigurationResponseBody2$Outbound` instead. */
485
+ type Outbound = GetConfigurationResponseBody2$Outbound;
355
486
  }
356
- export declare function getConfigurationRequestToJSON(getConfigurationRequest: GetConfigurationRequest): string;
357
- export declare function getConfigurationRequestFromJSON(jsonString: string): SafeParseResult<GetConfigurationRequest, SDKValidationError>;
487
+ export declare function getConfigurationResponseBody2ToJSON(getConfigurationResponseBody2: GetConfigurationResponseBody2): string;
488
+ export declare function getConfigurationResponseBody2FromJSON(jsonString: string): SafeParseResult<GetConfigurationResponseBody2, SDKValidationError>;
358
489
  /** @internal */
359
490
  export declare const ProjectSelection$inboundSchema: z.ZodNativeEnum<typeof ProjectSelection>;
360
491
  /** @internal */
@@ -661,59 +792,15 @@ export declare namespace TransferRequest$ {
661
792
  export declare function transferRequestToJSON(transferRequest: TransferRequest): string;
662
793
  export declare function transferRequestFromJSON(jsonString: string): SafeParseResult<TransferRequest, SDKValidationError>;
663
794
  /** @internal */
664
- export declare const GetConfigurationResponseBodyIntegrationsSource$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsSource>;
665
- /** @internal */
666
- export declare const GetConfigurationResponseBodyIntegrationsSource$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsSource>;
667
- /**
668
- * @internal
669
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
670
- */
671
- export declare namespace GetConfigurationResponseBodyIntegrationsSource$ {
672
- /** @deprecated use `GetConfigurationResponseBodyIntegrationsSource$inboundSchema` instead. */
673
- const inboundSchema: z.ZodNativeEnum<{
674
- readonly Marketplace: "marketplace";
675
- readonly DeployButton: "deploy-button";
676
- readonly External: "external";
677
- readonly V0: "v0";
678
- readonly ResourceClaims: "resource-claims";
679
- }>;
680
- /** @deprecated use `GetConfigurationResponseBodyIntegrationsSource$outboundSchema` instead. */
681
- const outboundSchema: z.ZodNativeEnum<{
682
- readonly Marketplace: "marketplace";
683
- readonly DeployButton: "deploy-button";
684
- readonly External: "external";
685
- readonly V0: "v0";
686
- readonly ResourceClaims: "resource-claims";
687
- }>;
688
- }
689
- /** @internal */
690
- export declare const GetConfigurationResponseBodyIntegrationsType$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsType>;
691
- /** @internal */
692
- export declare const GetConfigurationResponseBodyIntegrationsType$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsType>;
693
- /**
694
- * @internal
695
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
696
- */
697
- export declare namespace GetConfigurationResponseBodyIntegrationsType$ {
698
- /** @deprecated use `GetConfigurationResponseBodyIntegrationsType$inboundSchema` instead. */
699
- const inboundSchema: z.ZodNativeEnum<{
700
- readonly IntegrationConfiguration: "integration-configuration";
701
- }>;
702
- /** @deprecated use `GetConfigurationResponseBodyIntegrationsType$outboundSchema` instead. */
703
- const outboundSchema: z.ZodNativeEnum<{
704
- readonly IntegrationConfiguration: "integration-configuration";
705
- }>;
706
- }
707
- /** @internal */
708
- export declare const GetConfigurationResponseBodyIntegrationsDisabledReason$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsDisabledReason>;
795
+ export declare const GetConfigurationResponseBodyDisabledReason$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyDisabledReason>;
709
796
  /** @internal */
710
- export declare const GetConfigurationResponseBodyIntegrationsDisabledReason$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsDisabledReason>;
797
+ export declare const GetConfigurationResponseBodyDisabledReason$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyDisabledReason>;
711
798
  /**
712
799
  * @internal
713
800
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
714
801
  */
715
- export declare namespace GetConfigurationResponseBodyIntegrationsDisabledReason$ {
716
- /** @deprecated use `GetConfigurationResponseBodyIntegrationsDisabledReason$inboundSchema` instead. */
802
+ export declare namespace GetConfigurationResponseBodyDisabledReason$ {
803
+ /** @deprecated use `GetConfigurationResponseBodyDisabledReason$inboundSchema` instead. */
717
804
  const inboundSchema: z.ZodNativeEnum<{
718
805
  readonly DisabledByOwner: "disabled-by-owner";
719
806
  readonly FeatureNotAvailable: "feature-not-available";
@@ -722,7 +809,7 @@ export declare namespace GetConfigurationResponseBodyIntegrationsDisabledReason$
722
809
  readonly AccountPlanDowngrade: "account-plan-downgrade";
723
810
  readonly OriginalOwnerRoleDowngraded: "original-owner-role-downgraded";
724
811
  }>;
725
- /** @deprecated use `GetConfigurationResponseBodyIntegrationsDisabledReason$outboundSchema` instead. */
812
+ /** @deprecated use `GetConfigurationResponseBodyDisabledReason$outboundSchema` instead. */
726
813
  const outboundSchema: z.ZodNativeEnum<{
727
814
  readonly DisabledByOwner: "disabled-by-owner";
728
815
  readonly FeatureNotAvailable: "feature-not-available";
@@ -733,69 +820,6 @@ export declare namespace GetConfigurationResponseBodyIntegrationsDisabledReason$
733
820
  }>;
734
821
  }
735
822
  /** @internal */
736
- export declare const GetConfigurationResponseBodyIntegrationsInstallationType$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsInstallationType>;
737
- /** @internal */
738
- export declare const GetConfigurationResponseBodyIntegrationsInstallationType$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyIntegrationsInstallationType>;
739
- /**
740
- * @internal
741
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
742
- */
743
- export declare namespace GetConfigurationResponseBodyIntegrationsInstallationType$ {
744
- /** @deprecated use `GetConfigurationResponseBodyIntegrationsInstallationType$inboundSchema` instead. */
745
- const inboundSchema: z.ZodNativeEnum<{
746
- readonly Marketplace: "marketplace";
747
- readonly External: "external";
748
- }>;
749
- /** @deprecated use `GetConfigurationResponseBodyIntegrationsInstallationType$outboundSchema` instead. */
750
- const outboundSchema: z.ZodNativeEnum<{
751
- readonly Marketplace: "marketplace";
752
- readonly External: "external";
753
- }>;
754
- }
755
- /** @internal */
756
- export declare const GetConfigurationResponseBody2$inboundSchema: z.ZodType<GetConfigurationResponseBody2, z.ZodTypeDef, unknown>;
757
- /** @internal */
758
- export type GetConfigurationResponseBody2$Outbound = {
759
- projectSelection: string;
760
- notification: ResponseBodyNotification$Outbound;
761
- transferRequest: TransferRequest1$Outbound | TransferRequest2$Outbound;
762
- projects?: Array<string> | undefined;
763
- completedAt?: number | undefined;
764
- createdAt: number;
765
- id: string;
766
- integrationId: string;
767
- ownerId: string;
768
- source?: string | undefined;
769
- slug: string;
770
- teamId?: string | null | undefined;
771
- type: string;
772
- updatedAt: number;
773
- userId: string;
774
- scopes: Array<string>;
775
- disabledAt?: number | undefined;
776
- deletedAt?: number | null | undefined;
777
- deleteRequestedAt?: number | null | undefined;
778
- disabledReason?: string | undefined;
779
- installationType?: string | undefined;
780
- canConfigureOpenTelemetry?: boolean | undefined;
781
- };
782
- /** @internal */
783
- export declare const GetConfigurationResponseBody2$outboundSchema: z.ZodType<GetConfigurationResponseBody2$Outbound, z.ZodTypeDef, GetConfigurationResponseBody2>;
784
- /**
785
- * @internal
786
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
787
- */
788
- export declare namespace GetConfigurationResponseBody2$ {
789
- /** @deprecated use `GetConfigurationResponseBody2$inboundSchema` instead. */
790
- const inboundSchema: z.ZodType<GetConfigurationResponseBody2, z.ZodTypeDef, unknown>;
791
- /** @deprecated use `GetConfigurationResponseBody2$outboundSchema` instead. */
792
- const outboundSchema: z.ZodType<GetConfigurationResponseBody2$Outbound, z.ZodTypeDef, GetConfigurationResponseBody2>;
793
- /** @deprecated use `GetConfigurationResponseBody2$Outbound` instead. */
794
- type Outbound = GetConfigurationResponseBody2$Outbound;
795
- }
796
- export declare function getConfigurationResponseBody2ToJSON(getConfigurationResponseBody2: GetConfigurationResponseBody2): string;
797
- export declare function getConfigurationResponseBody2FromJSON(jsonString: string): SafeParseResult<GetConfigurationResponseBody2, SDKValidationError>;
798
- /** @internal */
799
823
  export declare const GetConfigurationResponseBodySource$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodySource>;
800
824
  /** @internal */
801
825
  export declare const GetConfigurationResponseBodySource$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodySource>;
@@ -822,93 +846,69 @@ export declare namespace GetConfigurationResponseBodySource$ {
822
846
  }>;
823
847
  }
824
848
  /** @internal */
825
- export declare const GetConfigurationResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyType>;
826
- /** @internal */
827
- export declare const GetConfigurationResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyType>;
828
- /**
829
- * @internal
830
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
831
- */
832
- export declare namespace GetConfigurationResponseBodyType$ {
833
- /** @deprecated use `GetConfigurationResponseBodyType$inboundSchema` instead. */
834
- const inboundSchema: z.ZodNativeEnum<{
835
- readonly IntegrationConfiguration: "integration-configuration";
836
- }>;
837
- /** @deprecated use `GetConfigurationResponseBodyType$outboundSchema` instead. */
838
- const outboundSchema: z.ZodNativeEnum<{
839
- readonly IntegrationConfiguration: "integration-configuration";
840
- }>;
841
- }
842
- /** @internal */
843
- export declare const GetConfigurationResponseBodyDisabledReason$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyDisabledReason>;
849
+ export declare const GetConfigurationResponseBodyInstallationType$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyInstallationType>;
844
850
  /** @internal */
845
- export declare const GetConfigurationResponseBodyDisabledReason$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyDisabledReason>;
851
+ export declare const GetConfigurationResponseBodyInstallationType$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyInstallationType>;
846
852
  /**
847
853
  * @internal
848
854
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
849
855
  */
850
- export declare namespace GetConfigurationResponseBodyDisabledReason$ {
851
- /** @deprecated use `GetConfigurationResponseBodyDisabledReason$inboundSchema` instead. */
856
+ export declare namespace GetConfigurationResponseBodyInstallationType$ {
857
+ /** @deprecated use `GetConfigurationResponseBodyInstallationType$inboundSchema` instead. */
852
858
  const inboundSchema: z.ZodNativeEnum<{
853
- readonly DisabledByOwner: "disabled-by-owner";
854
- readonly FeatureNotAvailable: "feature-not-available";
855
- readonly DisabledByAdmin: "disabled-by-admin";
856
- readonly OriginalOwnerLeftTheTeam: "original-owner-left-the-team";
857
- readonly AccountPlanDowngrade: "account-plan-downgrade";
858
- readonly OriginalOwnerRoleDowngraded: "original-owner-role-downgraded";
859
+ readonly Marketplace: "marketplace";
860
+ readonly External: "external";
859
861
  }>;
860
- /** @deprecated use `GetConfigurationResponseBodyDisabledReason$outboundSchema` instead. */
862
+ /** @deprecated use `GetConfigurationResponseBodyInstallationType$outboundSchema` instead. */
861
863
  const outboundSchema: z.ZodNativeEnum<{
862
- readonly DisabledByOwner: "disabled-by-owner";
863
- readonly FeatureNotAvailable: "feature-not-available";
864
- readonly DisabledByAdmin: "disabled-by-admin";
865
- readonly OriginalOwnerLeftTheTeam: "original-owner-left-the-team";
866
- readonly AccountPlanDowngrade: "account-plan-downgrade";
867
- readonly OriginalOwnerRoleDowngraded: "original-owner-role-downgraded";
864
+ readonly Marketplace: "marketplace";
865
+ readonly External: "external";
868
866
  }>;
869
867
  }
870
868
  /** @internal */
871
- export declare const GetConfigurationResponseBodyInstallationType$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyInstallationType>;
869
+ export declare const GetConfigurationResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyType>;
872
870
  /** @internal */
873
- export declare const GetConfigurationResponseBodyInstallationType$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyInstallationType>;
871
+ export declare const GetConfigurationResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationResponseBodyType>;
874
872
  /**
875
873
  * @internal
876
874
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
877
875
  */
878
- export declare namespace GetConfigurationResponseBodyInstallationType$ {
879
- /** @deprecated use `GetConfigurationResponseBodyInstallationType$inboundSchema` instead. */
876
+ export declare namespace GetConfigurationResponseBodyType$ {
877
+ /** @deprecated use `GetConfigurationResponseBodyType$inboundSchema` instead. */
880
878
  const inboundSchema: z.ZodNativeEnum<{
881
- readonly Marketplace: "marketplace";
882
- readonly External: "external";
879
+ readonly IntegrationConfiguration: "integration-configuration";
883
880
  }>;
884
- /** @deprecated use `GetConfigurationResponseBodyInstallationType$outboundSchema` instead. */
881
+ /** @deprecated use `GetConfigurationResponseBodyType$outboundSchema` instead. */
885
882
  const outboundSchema: z.ZodNativeEnum<{
886
- readonly Marketplace: "marketplace";
887
- readonly External: "external";
883
+ readonly IntegrationConfiguration: "integration-configuration";
888
884
  }>;
889
885
  }
890
886
  /** @internal */
891
887
  export declare const GetConfigurationResponseBody1$inboundSchema: z.ZodType<GetConfigurationResponseBody1, z.ZodTypeDef, unknown>;
892
888
  /** @internal */
893
889
  export type GetConfigurationResponseBody1$Outbound = {
894
- completedAt?: number | undefined;
890
+ projectSelection: string;
891
+ notification: ResponseBodyNotification$Outbound;
892
+ transferRequest: TransferRequest1$Outbound | TransferRequest2$Outbound;
893
+ projects?: Array<string> | undefined;
895
894
  createdAt: number;
895
+ completedAt?: number | undefined;
896
896
  id: string;
897
897
  integrationId: string;
898
898
  ownerId: string;
899
- projects?: Array<string> | undefined;
900
- source?: string | undefined;
901
899
  slug: string;
902
900
  teamId?: string | null | undefined;
903
- type: string;
904
901
  updatedAt: number;
905
902
  userId: string;
906
903
  scopes: Array<string>;
907
904
  disabledAt?: number | undefined;
908
- deletedAt?: number | null | undefined;
909
- deleteRequestedAt?: number | null | undefined;
910
905
  disabledReason?: string | undefined;
906
+ source?: string | undefined;
907
+ canConfigureOpenTelemetry?: boolean | undefined;
911
908
  installationType?: string | undefined;
909
+ deleteRequestedAt?: number | null | undefined;
910
+ type: string;
911
+ deletedAt?: number | null | undefined;
912
912
  };
913
913
  /** @internal */
914
914
  export declare const GetConfigurationResponseBody1$outboundSchema: z.ZodType<GetConfigurationResponseBody1$Outbound, z.ZodTypeDef, GetConfigurationResponseBody1>;
@@ -929,7 +929,7 @@ export declare function getConfigurationResponseBody1FromJSON(jsonString: string
929
929
  /** @internal */
930
930
  export declare const GetConfigurationResponseBody$inboundSchema: z.ZodType<GetConfigurationResponseBody, z.ZodTypeDef, unknown>;
931
931
  /** @internal */
932
- export type GetConfigurationResponseBody$Outbound = GetConfigurationResponseBody2$Outbound | GetConfigurationResponseBody1$Outbound;
932
+ export type GetConfigurationResponseBody$Outbound = GetConfigurationResponseBody1$Outbound | GetConfigurationResponseBody2$Outbound;
933
933
  /** @internal */
934
934
  export declare const GetConfigurationResponseBody$outboundSchema: z.ZodType<GetConfigurationResponseBody$Outbound, z.ZodTypeDef, GetConfigurationResponseBody>;
935
935
  /**