@epilot/sdk 2.3.2 → 2.3.5

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 (179) hide show
  1. package/README.md +2 -0
  2. package/definitions/blueprint-manifest-runtime.json +1 -1
  3. package/definitions/blueprint-manifest.json +239 -12
  4. package/definitions/configuration-hub-runtime.json +1 -0
  5. package/definitions/configuration-hub.json +399 -0
  6. package/definitions/environments-runtime.json +1 -1
  7. package/definitions/environments.json +2 -2
  8. package/definitions/query-runtime.json +1 -0
  9. package/definitions/query.json +3178 -0
  10. package/dist/README-6MG272KM.cjs +7 -0
  11. package/dist/README-7N542PBL.js +7 -0
  12. package/dist/{_index-O7JDGRSE.cjs → _index-55HAH24D.cjs} +7 -1
  13. package/dist/{_index-CLT2KTVS.js → _index-HE4B6FOA.js} +6 -0
  14. package/dist/apis/access-token.cjs +6 -6
  15. package/dist/apis/access-token.js +1 -1
  16. package/dist/apis/address-suggestions.cjs +6 -6
  17. package/dist/apis/address-suggestions.js +1 -1
  18. package/dist/apis/address.cjs +6 -6
  19. package/dist/apis/address.js +1 -1
  20. package/dist/apis/ai-agents.cjs +6 -6
  21. package/dist/apis/ai-agents.js +1 -1
  22. package/dist/apis/app.cjs +6 -6
  23. package/dist/apis/app.js +1 -1
  24. package/dist/apis/audit-logs.cjs +6 -6
  25. package/dist/apis/audit-logs.js +1 -1
  26. package/dist/apis/automation.cjs +6 -6
  27. package/dist/apis/automation.js +1 -1
  28. package/dist/apis/billing.cjs +6 -6
  29. package/dist/apis/billing.js +1 -1
  30. package/dist/apis/blueprint-manifest.cjs +8 -8
  31. package/dist/apis/blueprint-manifest.d.cts +2 -2
  32. package/dist/apis/blueprint-manifest.d.ts +2 -2
  33. package/dist/apis/blueprint-manifest.js +2 -2
  34. package/dist/apis/configuration-hub.cjs +38 -0
  35. package/dist/apis/configuration-hub.d.cts +18 -0
  36. package/dist/apis/configuration-hub.d.ts +18 -0
  37. package/dist/apis/configuration-hub.js +38 -0
  38. package/dist/apis/consent.cjs +6 -6
  39. package/dist/apis/consent.js +1 -1
  40. package/dist/apis/customer-portal.cjs +6 -6
  41. package/dist/apis/customer-portal.js +1 -1
  42. package/dist/apis/dashboard.cjs +6 -6
  43. package/dist/apis/dashboard.js +1 -1
  44. package/dist/apis/data-governance.cjs +6 -6
  45. package/dist/apis/data-governance.js +1 -1
  46. package/dist/apis/deduplication.cjs +6 -6
  47. package/dist/apis/deduplication.js +1 -1
  48. package/dist/apis/design.cjs +6 -6
  49. package/dist/apis/design.js +1 -1
  50. package/dist/apis/document.cjs +6 -6
  51. package/dist/apis/document.js +1 -1
  52. package/dist/apis/email-settings.cjs +6 -6
  53. package/dist/apis/email-settings.js +1 -1
  54. package/dist/apis/email-template.cjs +6 -6
  55. package/dist/apis/email-template.js +1 -1
  56. package/dist/apis/entity-mapping.cjs +6 -6
  57. package/dist/apis/entity-mapping.js +1 -1
  58. package/dist/apis/entity.cjs +6 -6
  59. package/dist/apis/entity.js +1 -1
  60. package/dist/apis/environments.cjs +8 -8
  61. package/dist/apis/environments.d.cts +2 -2
  62. package/dist/apis/environments.d.ts +2 -2
  63. package/dist/apis/environments.js +2 -2
  64. package/dist/apis/event-catalog.cjs +6 -6
  65. package/dist/apis/event-catalog.js +1 -1
  66. package/dist/apis/file.cjs +6 -6
  67. package/dist/apis/file.js +1 -1
  68. package/dist/apis/iban.cjs +6 -6
  69. package/dist/apis/iban.js +1 -1
  70. package/dist/apis/integration-toolkit.cjs +6 -6
  71. package/dist/apis/integration-toolkit.js +1 -1
  72. package/dist/apis/journey.cjs +6 -6
  73. package/dist/apis/journey.js +1 -1
  74. package/dist/apis/kanban.cjs +6 -6
  75. package/dist/apis/kanban.js +1 -1
  76. package/dist/apis/message.cjs +6 -6
  77. package/dist/apis/message.js +1 -1
  78. package/dist/apis/metering.cjs +6 -6
  79. package/dist/apis/metering.js +1 -1
  80. package/dist/apis/notes.cjs +6 -6
  81. package/dist/apis/notes.js +1 -1
  82. package/dist/apis/notification.cjs +6 -6
  83. package/dist/apis/notification.js +1 -1
  84. package/dist/apis/organization.cjs +6 -6
  85. package/dist/apis/organization.js +1 -1
  86. package/dist/apis/partner-directory.cjs +6 -6
  87. package/dist/apis/partner-directory.js +1 -1
  88. package/dist/apis/permissions.cjs +6 -6
  89. package/dist/apis/permissions.js +1 -1
  90. package/dist/apis/pricing-tier.cjs +6 -6
  91. package/dist/apis/pricing-tier.js +1 -1
  92. package/dist/apis/pricing.cjs +6 -6
  93. package/dist/apis/pricing.js +1 -1
  94. package/dist/apis/purpose.cjs +6 -6
  95. package/dist/apis/purpose.js +1 -1
  96. package/dist/apis/query.cjs +38 -0
  97. package/dist/apis/query.d.cts +18 -0
  98. package/dist/apis/query.d.ts +18 -0
  99. package/dist/apis/query.js +38 -0
  100. package/dist/apis/sandbox.cjs +6 -6
  101. package/dist/apis/sandbox.js +1 -1
  102. package/dist/apis/sharing.cjs +6 -6
  103. package/dist/apis/sharing.js +1 -1
  104. package/dist/apis/submission.cjs +6 -6
  105. package/dist/apis/submission.js +1 -1
  106. package/dist/apis/target.cjs +38 -0
  107. package/dist/apis/target.d.cts +597 -0
  108. package/dist/apis/target.d.ts +597 -0
  109. package/dist/apis/target.js +38 -0
  110. package/dist/apis/targeting.cjs +6 -6
  111. package/dist/apis/targeting.js +1 -1
  112. package/dist/apis/template-variables.cjs +6 -6
  113. package/dist/apis/template-variables.js +1 -1
  114. package/dist/apis/user.cjs +6 -6
  115. package/dist/apis/user.js +1 -1
  116. package/dist/apis/validation-rules.cjs +6 -6
  117. package/dist/apis/validation-rules.js +1 -1
  118. package/dist/apis/webhooks.cjs +6 -6
  119. package/dist/apis/webhooks.js +1 -1
  120. package/dist/apis/workflow-definition.cjs +6 -6
  121. package/dist/apis/workflow-definition.js +1 -1
  122. package/dist/apis/workflow.cjs +6 -6
  123. package/dist/apis/workflow.js +1 -1
  124. package/dist/blueprint-manifest-DBEY5PPI.js +7 -0
  125. package/dist/blueprint-manifest-IEQ6YBY7.cjs +7 -0
  126. package/dist/{blueprint-manifest-runtime-E2FN43TB.js → blueprint-manifest-runtime-5UN52LW5.js} +1 -1
  127. package/dist/{blueprint-manifest-runtime-G4UK5VEX.cjs → blueprint-manifest-runtime-QN2IECSA.cjs} +2 -2
  128. package/dist/{blueprint-manifest.d-BGrGU787.d.cts → blueprint-manifest.d-BPyzoR0X.d.cts} +228 -9
  129. package/dist/{blueprint-manifest.d-BGrGU787.d.ts → blueprint-manifest.d-BPyzoR0X.d.ts} +228 -9
  130. package/dist/{chunk-6IMAKHA4.js → chunk-2LEEXRJX.js} +1 -1
  131. package/dist/chunk-4JAOFRYX.js +14 -0
  132. package/dist/{chunk-5JN243WJ.js → chunk-7C4FQXMS.js} +12 -6
  133. package/dist/chunk-EYKEVZME.cjs +14 -0
  134. package/dist/{chunk-VTJQTEQX.cjs → chunk-GGMGJYHO.cjs} +12 -6
  135. package/dist/{chunk-BDKLBHIN.cjs → chunk-I6DG26UJ.cjs} +1 -1
  136. package/dist/{chunk-5APJZUIH.cjs → chunk-L544VG3B.cjs} +1 -1
  137. package/dist/chunk-MM5JDJFO.js +14 -0
  138. package/dist/{chunk-VPDA5SAH.js → chunk-O2YVXGPZ.js} +1 -1
  139. package/dist/chunk-Q7OKRNUG.cjs +14 -0
  140. package/dist/chunk-RMP2HHCR.js +14 -0
  141. package/dist/chunk-XDZ2JKJ4.cjs +14 -0
  142. package/dist/configuration-hub-LKSRCGYT.cjs +7 -0
  143. package/dist/configuration-hub-TZ2ULWV4.js +7 -0
  144. package/dist/configuration-hub-runtime-B7KKIHHY.cjs +5 -0
  145. package/dist/configuration-hub-runtime-TEDEKI7E.js +5 -0
  146. package/dist/configuration-hub.d-CqvhcMOn.d.cts +166 -0
  147. package/dist/configuration-hub.d-CqvhcMOn.d.ts +166 -0
  148. package/dist/environments-PXJOTQVM.js +7 -0
  149. package/dist/environments-QJ4UMJ5C.cjs +7 -0
  150. package/dist/{environments-runtime-FMSNJF5S.js → environments-runtime-NKHLZJB3.js} +1 -1
  151. package/dist/{environments-runtime-5DVTRV2Z.cjs → environments-runtime-QC2BUHBW.cjs} +2 -2
  152. package/dist/{environments.d-H3LK_KuH.d.ts → environments.d-BvqvN-PD.d.cts} +134 -5
  153. package/dist/{environments.d-H3LK_KuH.d.cts → environments.d-BvqvN-PD.d.ts} +134 -5
  154. package/dist/index.cjs +43 -27
  155. package/dist/index.d.cts +81 -77
  156. package/dist/index.d.ts +81 -77
  157. package/dist/index.js +39 -23
  158. package/dist/query-JSDB2F2U.cjs +7 -0
  159. package/dist/query-RJ4M25PA.js +7 -0
  160. package/dist/query-runtime-NLOSMDAJ.cjs +5 -0
  161. package/dist/query-runtime-SYJTDUNG.js +5 -0
  162. package/dist/query.d-Cmp78IhZ.d.cts +2375 -0
  163. package/dist/query.d-Cmp78IhZ.d.ts +2375 -0
  164. package/dist/target-3RS5BN2B.cjs +7 -0
  165. package/dist/target-5MKRXCHX.js +7 -0
  166. package/dist/target-runtime-BMJ7EARM.cjs +5 -0
  167. package/dist/target-runtime-PBF3WYL7.js +5 -0
  168. package/docs/blueprint-manifest.md +418 -40
  169. package/docs/configuration-hub.md +256 -0
  170. package/docs/environments.md +3 -5
  171. package/docs/query.md +1609 -0
  172. package/docs/target.md +741 -0
  173. package/package.json +19 -1
  174. package/dist/README-KX4XC2HB.js +0 -7
  175. package/dist/README-PTYV6PQI.cjs +0 -7
  176. package/dist/blueprint-manifest-ELK4SGN7.js +0 -7
  177. package/dist/blueprint-manifest-VBOWPK52.cjs +0 -7
  178. package/dist/environments-I6RWPVHA.js +0 -7
  179. package/dist/environments-TZYXLYXA.cjs +0 -7
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkBDKLBHINcjs = require('./chunk-BDKLBHIN.cjs');
3
+ var _chunkI6DG26UJcjs = require('./chunk-I6DG26UJ.cjs');
4
4
  require('./chunk-NJK5F5TF.cjs');
5
- exports. default = _chunkBDKLBHINcjs.require_environments_runtime.call(void 0, );
5
+ exports. default = _chunkI6DG26UJcjs.require_environments_runtime.call(void 0, );
@@ -1,17 +1,31 @@
1
1
  import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
2
2
 
3
3
  /* Auto-copied from environments-client */
4
- /* eslint-disable */
5
-
6
4
 
7
5
 
8
6
  declare namespace Components {
9
7
  namespace Schemas {
8
+ export interface EnvironmentGroup {
9
+ name: string;
10
+ description?: string;
11
+ created_at: string; // date-time
12
+ updated_at: string; // date-time
13
+ }
14
+ export interface EnvironmentGroupList {
15
+ items: EnvironmentGroup[];
16
+ }
17
+ export interface EnvironmentGroupUpsertRequest {
18
+ description?: string;
19
+ }
10
20
  export type EnvironmentValueType = "String" | "SecretString";
11
21
  export interface EnvironmentVariable {
12
22
  key: string; // ^[a-z0-9][a-z0-9_.\-]{0,127}$
13
23
  type: EnvironmentValueType;
14
24
  description?: string;
25
+ /**
26
+ * Optional group name for organising variables in the UI
27
+ */
28
+ group?: string;
15
29
  /**
16
30
  * Value is returned for String type, omitted for SecretString
17
31
  */
@@ -23,7 +37,8 @@ declare namespace Components {
23
37
  key: string; // ^[a-z0-9][a-z0-9_.\-]{0,127}$
24
38
  type: EnvironmentValueType;
25
39
  description?: string;
26
- value: string;
40
+ group?: string;
41
+ value?: string;
27
42
  }
28
43
  export interface EnvironmentVariableList {
29
44
  items: EnvironmentVariableListItem[];
@@ -32,6 +47,10 @@ declare namespace Components {
32
47
  key: string;
33
48
  type: EnvironmentValueType;
34
49
  description?: string;
50
+ /**
51
+ * Optional group name for organising variables in the UI
52
+ */
53
+ group?: string;
35
54
  /**
36
55
  * Value is returned for String type, omitted for SecretString
37
56
  */
@@ -44,8 +63,9 @@ declare namespace Components {
44
63
  * Type of variable. Used when creating a new variable. Defaults to String.
45
64
  */
46
65
  type?: "String" | "SecretString";
47
- value: string;
66
+ value?: string;
48
67
  description?: string;
68
+ group?: string;
49
69
  }
50
70
  }
51
71
  }
@@ -66,6 +86,20 @@ declare namespace Paths {
66
86
  }
67
87
  }
68
88
  }
89
+ namespace DeleteEnvironmentGroup {
90
+ namespace Responses {
91
+ export interface $204 {
92
+ }
93
+ export interface $401 {
94
+ }
95
+ export interface $403 {
96
+ }
97
+ export interface $404 {
98
+ }
99
+ export interface $500 {
100
+ }
101
+ }
102
+ }
69
103
  namespace DeleteEnvironmentVariable {
70
104
  namespace Responses {
71
105
  export interface $204 {
@@ -93,6 +127,17 @@ declare namespace Paths {
93
127
  }
94
128
  }
95
129
  }
130
+ namespace ListEnvironmentGroups {
131
+ namespace Responses {
132
+ export type $200 = Components.Schemas.EnvironmentGroupList;
133
+ export interface $401 {
134
+ }
135
+ export interface $403 {
136
+ }
137
+ export interface $500 {
138
+ }
139
+ }
140
+ }
96
141
  namespace ListEnvironmentVariables {
97
142
  namespace Responses {
98
143
  export type $200 = Components.Schemas.EnvironmentVariableList;
@@ -104,6 +149,19 @@ declare namespace Paths {
104
149
  }
105
150
  }
106
151
  }
152
+ namespace PutEnvironmentGroup {
153
+ export type RequestBody = Components.Schemas.EnvironmentGroupUpsertRequest;
154
+ namespace Responses {
155
+ export type $200 = Components.Schemas.EnvironmentGroup;
156
+ export type $201 = Components.Schemas.EnvironmentGroup;
157
+ export interface $401 {
158
+ }
159
+ export interface $403 {
160
+ }
161
+ export interface $500 {
162
+ }
163
+ }
164
+ }
107
165
  namespace UpdateEnvironmentVariable {
108
166
  export type RequestBody = Components.Schemas.EnvironmentVariableUpdateRequest;
109
167
  namespace Responses {
@@ -127,6 +185,14 @@ declare namespace Paths {
127
185
  key: Parameters.Key /* ^[a-z0-9][a-z0-9_.\-]{0,127}$ */;
128
186
  }
129
187
  }
188
+ namespace V1EnvironmentsGroups$Name {
189
+ namespace Parameters {
190
+ export type Name = string;
191
+ }
192
+ export interface PathParameters {
193
+ name: Parameters.Name;
194
+ }
195
+ }
130
196
  }
131
197
 
132
198
 
@@ -151,6 +217,34 @@ interface OperationMethods {
151
217
  data?: Paths.CreateEnvironmentVariable.RequestBody,
152
218
  config?: AxiosRequestConfig
153
219
  ): OperationResponse<Paths.CreateEnvironmentVariable.Responses.$201>
220
+ /**
221
+ * listEnvironmentGroups - List environment groups
222
+ *
223
+ * List all environment groups for the organization.
224
+ */
225
+ 'listEnvironmentGroups'(
226
+ parameters?: Parameters<UnknownParamsObject> | null,
227
+ data?: any,
228
+ config?: AxiosRequestConfig
229
+ ): OperationResponse<Paths.ListEnvironmentGroups.Responses.$200>
230
+ /**
231
+ * putEnvironmentGroup - putEnvironmentGroup
232
+ */
233
+ 'putEnvironmentGroup'(
234
+ parameters?: Parameters<Paths.V1EnvironmentsGroups$Name.PathParameters> | null,
235
+ data?: Paths.PutEnvironmentGroup.RequestBody,
236
+ config?: AxiosRequestConfig
237
+ ): OperationResponse<Paths.PutEnvironmentGroup.Responses.$200 | Paths.PutEnvironmentGroup.Responses.$201>
238
+ /**
239
+ * deleteEnvironmentGroup - Delete an environment group
240
+ *
241
+ * Deletes a group. Variables assigned to this group become ungrouped.
242
+ */
243
+ 'deleteEnvironmentGroup'(
244
+ parameters?: Parameters<Paths.V1EnvironmentsGroups$Name.PathParameters> | null,
245
+ data?: any,
246
+ config?: AxiosRequestConfig
247
+ ): OperationResponse<Paths.DeleteEnvironmentGroup.Responses.$204>
154
248
  /**
155
249
  * getEnvironmentVariable - Get environment variable
156
250
  *
@@ -206,6 +300,38 @@ interface PathsDictionary {
206
300
  config?: AxiosRequestConfig
207
301
  ): OperationResponse<Paths.CreateEnvironmentVariable.Responses.$201>
208
302
  }
303
+ ['/v1/environments/groups']: {
304
+ /**
305
+ * listEnvironmentGroups - List environment groups
306
+ *
307
+ * List all environment groups for the organization.
308
+ */
309
+ 'get'(
310
+ parameters?: Parameters<UnknownParamsObject> | null,
311
+ data?: any,
312
+ config?: AxiosRequestConfig
313
+ ): OperationResponse<Paths.ListEnvironmentGroups.Responses.$200>
314
+ }
315
+ ['/v1/environments/groups/{name}']: {
316
+ /**
317
+ * putEnvironmentGroup - putEnvironmentGroup
318
+ */
319
+ 'put'(
320
+ parameters?: Parameters<Paths.V1EnvironmentsGroups$Name.PathParameters> | null,
321
+ data?: Paths.PutEnvironmentGroup.RequestBody,
322
+ config?: AxiosRequestConfig
323
+ ): OperationResponse<Paths.PutEnvironmentGroup.Responses.$200 | Paths.PutEnvironmentGroup.Responses.$201>
324
+ /**
325
+ * deleteEnvironmentGroup - Delete an environment group
326
+ *
327
+ * Deletes a group. Variables assigned to this group become ungrouped.
328
+ */
329
+ 'delete'(
330
+ parameters?: Parameters<Paths.V1EnvironmentsGroups$Name.PathParameters> | null,
331
+ data?: any,
332
+ config?: AxiosRequestConfig
333
+ ): OperationResponse<Paths.DeleteEnvironmentGroup.Responses.$204>
334
+ }
209
335
  ['/v1/environments/{key}']: {
210
336
  /**
211
337
  * getEnvironmentVariable - Get environment variable
@@ -243,6 +369,9 @@ interface PathsDictionary {
243
369
  type Client = OpenAPIClient<OperationMethods, PathsDictionary>
244
370
 
245
371
 
372
+ type EnvironmentGroup = Components.Schemas.EnvironmentGroup;
373
+ type EnvironmentGroupList = Components.Schemas.EnvironmentGroupList;
374
+ type EnvironmentGroupUpsertRequest = Components.Schemas.EnvironmentGroupUpsertRequest;
246
375
  type EnvironmentValueType = Components.Schemas.EnvironmentValueType;
247
376
  type EnvironmentVariable = Components.Schemas.EnvironmentVariable;
248
377
  type EnvironmentVariableCreateRequest = Components.Schemas.EnvironmentVariableCreateRequest;
@@ -250,4 +379,4 @@ type EnvironmentVariableList = Components.Schemas.EnvironmentVariableList;
250
379
  type EnvironmentVariableListItem = Components.Schemas.EnvironmentVariableListItem;
251
380
  type EnvironmentVariableUpdateRequest = Components.Schemas.EnvironmentVariableUpdateRequest;
252
381
 
253
- export { type Client as C, type EnvironmentValueType as E, type OperationMethods as O, Paths as P, Components as a, type PathsDictionary as b, type EnvironmentVariable as c, type EnvironmentVariableCreateRequest as d, type EnvironmentVariableList as e, type EnvironmentVariableListItem as f, type EnvironmentVariableUpdateRequest as g };
382
+ export { type Client as C, type EnvironmentGroup as E, type OperationMethods as O, Paths as P, Components as a, type PathsDictionary as b, type EnvironmentGroupList as c, type EnvironmentGroupUpsertRequest as d, type EnvironmentValueType as e, type EnvironmentVariable as f, type EnvironmentVariableCreateRequest as g, type EnvironmentVariableList as h, type EnvironmentVariableListItem as i, type EnvironmentVariableUpdateRequest as j };
@@ -1,17 +1,31 @@
1
1
  import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
2
2
 
3
3
  /* Auto-copied from environments-client */
4
- /* eslint-disable */
5
-
6
4
 
7
5
 
8
6
  declare namespace Components {
9
7
  namespace Schemas {
8
+ export interface EnvironmentGroup {
9
+ name: string;
10
+ description?: string;
11
+ created_at: string; // date-time
12
+ updated_at: string; // date-time
13
+ }
14
+ export interface EnvironmentGroupList {
15
+ items: EnvironmentGroup[];
16
+ }
17
+ export interface EnvironmentGroupUpsertRequest {
18
+ description?: string;
19
+ }
10
20
  export type EnvironmentValueType = "String" | "SecretString";
11
21
  export interface EnvironmentVariable {
12
22
  key: string; // ^[a-z0-9][a-z0-9_.\-]{0,127}$
13
23
  type: EnvironmentValueType;
14
24
  description?: string;
25
+ /**
26
+ * Optional group name for organising variables in the UI
27
+ */
28
+ group?: string;
15
29
  /**
16
30
  * Value is returned for String type, omitted for SecretString
17
31
  */
@@ -23,7 +37,8 @@ declare namespace Components {
23
37
  key: string; // ^[a-z0-9][a-z0-9_.\-]{0,127}$
24
38
  type: EnvironmentValueType;
25
39
  description?: string;
26
- value: string;
40
+ group?: string;
41
+ value?: string;
27
42
  }
28
43
  export interface EnvironmentVariableList {
29
44
  items: EnvironmentVariableListItem[];
@@ -32,6 +47,10 @@ declare namespace Components {
32
47
  key: string;
33
48
  type: EnvironmentValueType;
34
49
  description?: string;
50
+ /**
51
+ * Optional group name for organising variables in the UI
52
+ */
53
+ group?: string;
35
54
  /**
36
55
  * Value is returned for String type, omitted for SecretString
37
56
  */
@@ -44,8 +63,9 @@ declare namespace Components {
44
63
  * Type of variable. Used when creating a new variable. Defaults to String.
45
64
  */
46
65
  type?: "String" | "SecretString";
47
- value: string;
66
+ value?: string;
48
67
  description?: string;
68
+ group?: string;
49
69
  }
50
70
  }
51
71
  }
@@ -66,6 +86,20 @@ declare namespace Paths {
66
86
  }
67
87
  }
68
88
  }
89
+ namespace DeleteEnvironmentGroup {
90
+ namespace Responses {
91
+ export interface $204 {
92
+ }
93
+ export interface $401 {
94
+ }
95
+ export interface $403 {
96
+ }
97
+ export interface $404 {
98
+ }
99
+ export interface $500 {
100
+ }
101
+ }
102
+ }
69
103
  namespace DeleteEnvironmentVariable {
70
104
  namespace Responses {
71
105
  export interface $204 {
@@ -93,6 +127,17 @@ declare namespace Paths {
93
127
  }
94
128
  }
95
129
  }
130
+ namespace ListEnvironmentGroups {
131
+ namespace Responses {
132
+ export type $200 = Components.Schemas.EnvironmentGroupList;
133
+ export interface $401 {
134
+ }
135
+ export interface $403 {
136
+ }
137
+ export interface $500 {
138
+ }
139
+ }
140
+ }
96
141
  namespace ListEnvironmentVariables {
97
142
  namespace Responses {
98
143
  export type $200 = Components.Schemas.EnvironmentVariableList;
@@ -104,6 +149,19 @@ declare namespace Paths {
104
149
  }
105
150
  }
106
151
  }
152
+ namespace PutEnvironmentGroup {
153
+ export type RequestBody = Components.Schemas.EnvironmentGroupUpsertRequest;
154
+ namespace Responses {
155
+ export type $200 = Components.Schemas.EnvironmentGroup;
156
+ export type $201 = Components.Schemas.EnvironmentGroup;
157
+ export interface $401 {
158
+ }
159
+ export interface $403 {
160
+ }
161
+ export interface $500 {
162
+ }
163
+ }
164
+ }
107
165
  namespace UpdateEnvironmentVariable {
108
166
  export type RequestBody = Components.Schemas.EnvironmentVariableUpdateRequest;
109
167
  namespace Responses {
@@ -127,6 +185,14 @@ declare namespace Paths {
127
185
  key: Parameters.Key /* ^[a-z0-9][a-z0-9_.\-]{0,127}$ */;
128
186
  }
129
187
  }
188
+ namespace V1EnvironmentsGroups$Name {
189
+ namespace Parameters {
190
+ export type Name = string;
191
+ }
192
+ export interface PathParameters {
193
+ name: Parameters.Name;
194
+ }
195
+ }
130
196
  }
131
197
 
132
198
 
@@ -151,6 +217,34 @@ interface OperationMethods {
151
217
  data?: Paths.CreateEnvironmentVariable.RequestBody,
152
218
  config?: AxiosRequestConfig
153
219
  ): OperationResponse<Paths.CreateEnvironmentVariable.Responses.$201>
220
+ /**
221
+ * listEnvironmentGroups - List environment groups
222
+ *
223
+ * List all environment groups for the organization.
224
+ */
225
+ 'listEnvironmentGroups'(
226
+ parameters?: Parameters<UnknownParamsObject> | null,
227
+ data?: any,
228
+ config?: AxiosRequestConfig
229
+ ): OperationResponse<Paths.ListEnvironmentGroups.Responses.$200>
230
+ /**
231
+ * putEnvironmentGroup - putEnvironmentGroup
232
+ */
233
+ 'putEnvironmentGroup'(
234
+ parameters?: Parameters<Paths.V1EnvironmentsGroups$Name.PathParameters> | null,
235
+ data?: Paths.PutEnvironmentGroup.RequestBody,
236
+ config?: AxiosRequestConfig
237
+ ): OperationResponse<Paths.PutEnvironmentGroup.Responses.$200 | Paths.PutEnvironmentGroup.Responses.$201>
238
+ /**
239
+ * deleteEnvironmentGroup - Delete an environment group
240
+ *
241
+ * Deletes a group. Variables assigned to this group become ungrouped.
242
+ */
243
+ 'deleteEnvironmentGroup'(
244
+ parameters?: Parameters<Paths.V1EnvironmentsGroups$Name.PathParameters> | null,
245
+ data?: any,
246
+ config?: AxiosRequestConfig
247
+ ): OperationResponse<Paths.DeleteEnvironmentGroup.Responses.$204>
154
248
  /**
155
249
  * getEnvironmentVariable - Get environment variable
156
250
  *
@@ -206,6 +300,38 @@ interface PathsDictionary {
206
300
  config?: AxiosRequestConfig
207
301
  ): OperationResponse<Paths.CreateEnvironmentVariable.Responses.$201>
208
302
  }
303
+ ['/v1/environments/groups']: {
304
+ /**
305
+ * listEnvironmentGroups - List environment groups
306
+ *
307
+ * List all environment groups for the organization.
308
+ */
309
+ 'get'(
310
+ parameters?: Parameters<UnknownParamsObject> | null,
311
+ data?: any,
312
+ config?: AxiosRequestConfig
313
+ ): OperationResponse<Paths.ListEnvironmentGroups.Responses.$200>
314
+ }
315
+ ['/v1/environments/groups/{name}']: {
316
+ /**
317
+ * putEnvironmentGroup - putEnvironmentGroup
318
+ */
319
+ 'put'(
320
+ parameters?: Parameters<Paths.V1EnvironmentsGroups$Name.PathParameters> | null,
321
+ data?: Paths.PutEnvironmentGroup.RequestBody,
322
+ config?: AxiosRequestConfig
323
+ ): OperationResponse<Paths.PutEnvironmentGroup.Responses.$200 | Paths.PutEnvironmentGroup.Responses.$201>
324
+ /**
325
+ * deleteEnvironmentGroup - Delete an environment group
326
+ *
327
+ * Deletes a group. Variables assigned to this group become ungrouped.
328
+ */
329
+ 'delete'(
330
+ parameters?: Parameters<Paths.V1EnvironmentsGroups$Name.PathParameters> | null,
331
+ data?: any,
332
+ config?: AxiosRequestConfig
333
+ ): OperationResponse<Paths.DeleteEnvironmentGroup.Responses.$204>
334
+ }
209
335
  ['/v1/environments/{key}']: {
210
336
  /**
211
337
  * getEnvironmentVariable - Get environment variable
@@ -243,6 +369,9 @@ interface PathsDictionary {
243
369
  type Client = OpenAPIClient<OperationMethods, PathsDictionary>
244
370
 
245
371
 
372
+ type EnvironmentGroup = Components.Schemas.EnvironmentGroup;
373
+ type EnvironmentGroupList = Components.Schemas.EnvironmentGroupList;
374
+ type EnvironmentGroupUpsertRequest = Components.Schemas.EnvironmentGroupUpsertRequest;
246
375
  type EnvironmentValueType = Components.Schemas.EnvironmentValueType;
247
376
  type EnvironmentVariable = Components.Schemas.EnvironmentVariable;
248
377
  type EnvironmentVariableCreateRequest = Components.Schemas.EnvironmentVariableCreateRequest;
@@ -250,4 +379,4 @@ type EnvironmentVariableList = Components.Schemas.EnvironmentVariableList;
250
379
  type EnvironmentVariableListItem = Components.Schemas.EnvironmentVariableListItem;
251
380
  type EnvironmentVariableUpdateRequest = Components.Schemas.EnvironmentVariableUpdateRequest;
252
381
 
253
- export { type Client as C, type EnvironmentValueType as E, type OperationMethods as O, Paths as P, Components as a, type PathsDictionary as b, type EnvironmentVariable as c, type EnvironmentVariableCreateRequest as d, type EnvironmentVariableList as e, type EnvironmentVariableListItem as f, type EnvironmentVariableUpdateRequest as g };
382
+ export { type Client as C, type EnvironmentGroup as E, type OperationMethods as O, Paths as P, Components as a, type PathsDictionary as b, type EnvironmentGroupList as c, type EnvironmentGroupUpsertRequest as d, type EnvironmentValueType as e, type EnvironmentVariable as f, type EnvironmentVariableCreateRequest as g, type EnvironmentVariableList as h, type EnvironmentVariableListItem as i, type EnvironmentVariableUpdateRequest as j };
package/dist/index.cjs CHANGED
@@ -1,5 +1,20 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
+ var _chunkHHMXS5NCcjs = require('./chunk-HHMXS5NC.cjs');
4
+
5
+
6
+ var _chunkCYS6QBW6cjs = require('./chunk-CYS6QBW6.cjs');
7
+
8
+
9
+ var _chunkQNZPOA54cjs = require('./chunk-QNZPOA54.cjs');
10
+
11
+
12
+ var _chunkNEVFKRDUcjs = require('./chunk-NEVFKRDU.cjs');
13
+
14
+
15
+ var _chunkTZQFJ5GXcjs = require('./chunk-TZQFJ5GX.cjs');
16
+
17
+
3
18
  var _chunkWWOAKRNGcjs = require('./chunk-WWOAKRNG.cjs');
4
19
 
5
20
 
@@ -15,13 +30,7 @@ var _chunkZ5TVWG3Icjs = require('./chunk-Z5TVWG3I.cjs');
15
30
  var _chunkJIUTCNTBcjs = require('./chunk-JIUTCNTB.cjs');
16
31
 
17
32
 
18
- var _chunkHHMXS5NCcjs = require('./chunk-HHMXS5NC.cjs');
19
-
20
-
21
- var _chunkCYS6QBW6cjs = require('./chunk-CYS6QBW6.cjs');
22
-
23
-
24
- var _chunkQNZPOA54cjs = require('./chunk-QNZPOA54.cjs');
33
+ var _chunkGWKHOJGDcjs = require('./chunk-GWKHOJGD.cjs');
25
34
 
26
35
 
27
36
  var _chunkQOAWSFXAcjs = require('./chunk-QOAWSFXA.cjs');
@@ -42,10 +51,10 @@ var _chunkJXJC6WEWcjs = require('./chunk-JXJC6WEW.cjs');
42
51
  var _chunkWQBBB6BNcjs = require('./chunk-WQBBB6BN.cjs');
43
52
 
44
53
 
45
- var _chunkNEVFKRDUcjs = require('./chunk-NEVFKRDU.cjs');
54
+ var _chunkXDZ2JKJ4cjs = require('./chunk-XDZ2JKJ4.cjs');
46
55
 
47
56
 
48
- var _chunkTZQFJ5GXcjs = require('./chunk-TZQFJ5GX.cjs');
57
+ var _chunk4W22EIRFcjs = require('./chunk-4W22EIRF.cjs');
49
58
 
50
59
 
51
60
  var _chunkYO4M3BZLcjs = require('./chunk-YO4M3BZL.cjs');
@@ -69,7 +78,7 @@ var _chunk4ZMLRFDXcjs = require('./chunk-4ZMLRFDX.cjs');
69
78
  var _chunkM2SSGV7Kcjs = require('./chunk-M2SSGV7K.cjs');
70
79
 
71
80
 
72
- var _chunkGWKHOJGDcjs = require('./chunk-GWKHOJGD.cjs');
81
+ var _chunkEIIIKDOJcjs = require('./chunk-EIIIKDOJ.cjs');
73
82
 
74
83
 
75
84
  var _chunkM56QQHVAcjs = require('./chunk-M56QQHVA.cjs');
@@ -87,19 +96,19 @@ var _chunkANN2QTMYcjs = require('./chunk-ANN2QTMY.cjs');
87
96
  var _chunkQA2OYK7Ncjs = require('./chunk-QA2OYK7N.cjs');
88
97
 
89
98
 
90
- var _chunkBDKLBHINcjs = require('./chunk-BDKLBHIN.cjs');
99
+ var _chunkI6DG26UJcjs = require('./chunk-I6DG26UJ.cjs');
91
100
 
92
101
 
93
102
  var _chunkBLNXQAMXcjs = require('./chunk-BLNXQAMX.cjs');
94
103
 
95
104
 
96
- var _chunk4W22EIRFcjs = require('./chunk-4W22EIRF.cjs');
105
+ var _chunkG5FKTWUCcjs = require('./chunk-G5FKTWUC.cjs');
97
106
 
98
107
 
99
- var _chunkG5FKTWUCcjs = require('./chunk-G5FKTWUC.cjs');
108
+ var _chunkL544VG3Bcjs = require('./chunk-L544VG3B.cjs');
100
109
 
101
110
 
102
- var _chunk5APJZUIHcjs = require('./chunk-5APJZUIH.cjs');
111
+ var _chunkQ7OKRNUGcjs = require('./chunk-Q7OKRNUG.cjs');
103
112
 
104
113
 
105
114
  var _chunkBM6NCHPLcjs = require('./chunk-BM6NCHPL.cjs');
@@ -117,9 +126,6 @@ var _chunkZL6KDJFTcjs = require('./chunk-ZL6KDJFT.cjs');
117
126
  var _chunkIAHSYVYBcjs = require('./chunk-IAHSYVYB.cjs');
118
127
 
119
128
 
120
- var _chunkEIIIKDOJcjs = require('./chunk-EIIIKDOJ.cjs');
121
-
122
-
123
129
  var _chunkOXJOO2YFcjs = require('./chunk-OXJOO2YF.cjs');
124
130
 
125
131
 
@@ -146,7 +152,7 @@ var _chunkDVM27A7Ecjs = require('./chunk-DVM27A7E.cjs');
146
152
 
147
153
 
148
154
 
149
- var _chunkVTJQTEQXcjs = require('./chunk-VTJQTEQX.cjs');
155
+ var _chunkGGMGJYHOcjs = require('./chunk-GGMGJYHO.cjs');
150
156
 
151
157
 
152
158
  var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
@@ -213,7 +219,7 @@ var resolveClient = (params) => {
213
219
  }
214
220
  if (!entry.instance) {
215
221
  const definition = entry.loader();
216
- entry.instance = _chunkVTJQTEQXcjs.createApiClient.call(void 0, {
222
+ entry.instance = _chunkGGMGJYHOcjs.createApiClient.call(void 0, {
217
223
  definition,
218
224
  token: state.token,
219
225
  headers: state.globalHeaders,
@@ -246,7 +252,7 @@ var resetAllClients = (registry) => {
246
252
  };
247
253
 
248
254
  // src/apis/_registry.ts
249
- var expandDef = (mod) => _chunkVTJQTEQXcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
255
+ var expandDef = (mod) => _chunkGGMGJYHOcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
250
256
  var registerBuiltinApis = (registry) => {
251
257
  registerApi({
252
258
  registry,
@@ -291,7 +297,12 @@ var registerBuiltinApis = (registry) => {
291
297
  registerApi({
292
298
  registry,
293
299
  name: "blueprintManifest",
294
- loader: () => expandDef(_chunk5APJZUIHcjs.require_blueprint_manifest_runtime.call(void 0, ))
300
+ loader: () => expandDef(_chunkL544VG3Bcjs.require_blueprint_manifest_runtime.call(void 0, ))
301
+ });
302
+ registerApi({
303
+ registry,
304
+ name: "configurationHub",
305
+ loader: () => expandDef(_chunkQ7OKRNUGcjs.require_configuration_hub_runtime.call(void 0, ))
295
306
  });
296
307
  registerApi({
297
308
  registry,
@@ -351,7 +362,7 @@ var registerBuiltinApis = (registry) => {
351
362
  registerApi({
352
363
  registry,
353
364
  name: "environments",
354
- loader: () => expandDef(_chunkBDKLBHINcjs.require_environments_runtime.call(void 0, ))
365
+ loader: () => expandDef(_chunkI6DG26UJcjs.require_environments_runtime.call(void 0, ))
355
366
  });
356
367
  registerApi({
357
368
  registry,
@@ -433,6 +444,11 @@ var registerBuiltinApis = (registry) => {
433
444
  name: "purpose",
434
445
  loader: () => expandDef(_chunkWQBBB6BNcjs.require_purpose_runtime.call(void 0, ))
435
446
  });
447
+ registerApi({
448
+ registry,
449
+ name: "query",
450
+ loader: () => expandDef(_chunkXDZ2JKJ4cjs.require_query_runtime.call(void 0, ))
451
+ });
436
452
  registerApi({
437
453
  registry,
438
454
  name: "sandbox",
@@ -569,9 +585,9 @@ var createSDK = () => {
569
585
  const available = [...registry.keys()].join(", ");
570
586
  throw new Error(`Unknown API: "${name}". Available: ${available}`);
571
587
  }
572
- return _chunkVTJQTEQXcjs.createApiHandle.call(void 0, {
588
+ return _chunkGGMGJYHOcjs.createApiHandle.call(void 0, {
573
589
  resolveClient: () => resolveClient({ registry, name, state }),
574
- createClient: () => _chunkVTJQTEQXcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
590
+ createClient: () => _chunkGGMGJYHOcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
575
591
  apiName: name
576
592
  });
577
593
  };
@@ -619,9 +635,9 @@ var createSDK = () => {
619
635
  return interceptorUse;
620
636
  }
621
637
  case "help":
622
- return (apiName) => _chunkVTJQTEQXcjs.help.call(void 0, apiName);
638
+ return (apiName) => _chunkGGMGJYHOcjs.help.call(void 0, apiName);
623
639
  case "openapi":
624
- return (apiName) => _chunkVTJQTEQXcjs.openapi.call(void 0, apiName);
640
+ return (apiName) => _chunkGGMGJYHOcjs.openapi.call(void 0, apiName);
625
641
  case "then":
626
642
  case "catch":
627
643
  case "finally":
@@ -651,4 +667,4 @@ var epilot = createSDK();
651
667
 
652
668
 
653
669
 
654
- exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkVTJQTEQXcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkVTJQTEQXcjs.help; exports.openapi = _chunkVTJQTEQXcjs.openapi;
670
+ exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkGGMGJYHOcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkGGMGJYHOcjs.help; exports.openapi = _chunkGGMGJYHOcjs.openapi;