@epilot/sdk 2.20.11 → 2.20.13-alpha.0

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 (240) hide show
  1. package/definitions/access-token-runtime.json +1 -0
  2. package/definitions/access-token.json +835 -0
  3. package/definitions/address-runtime.json +1 -0
  4. package/definitions/address-suggestions-runtime.json +1 -0
  5. package/definitions/address-suggestions.json +582 -0
  6. package/definitions/address.json +578 -0
  7. package/definitions/ai-agents-runtime.json +1 -0
  8. package/definitions/ai-agents.json +2863 -0
  9. package/definitions/app-runtime.json +1 -0
  10. package/definitions/app.json +5994 -0
  11. package/definitions/audit-logs-runtime.json +1 -0
  12. package/definitions/audit-logs.json +305 -0
  13. package/definitions/automation-runtime.json +1 -0
  14. package/definitions/automation.json +5889 -0
  15. package/definitions/billing-runtime.json +1 -0
  16. package/definitions/billing.json +2394 -0
  17. package/definitions/blueprint-manifest-runtime.json +1 -0
  18. package/definitions/blueprint-manifest.json +7817 -0
  19. package/definitions/calendar-runtime.json +1 -0
  20. package/definitions/calendar.json +2904 -0
  21. package/definitions/configuration-hub-runtime.json +1 -0
  22. package/definitions/configuration-hub.json +2250 -0
  23. package/definitions/consent-runtime.json +1 -0
  24. package/definitions/consent.json +344 -0
  25. package/definitions/customer-portal-runtime.json +1 -0
  26. package/definitions/customer-portal.json +20185 -0
  27. package/definitions/dashboard-runtime.json +1 -0
  28. package/definitions/dashboard.json +1355 -0
  29. package/definitions/data-governance-runtime.json +1 -0
  30. package/definitions/data-governance.json +1126 -0
  31. package/definitions/deduplication-runtime.json +1 -0
  32. package/definitions/deduplication.json +782 -0
  33. package/definitions/design-runtime.json +1 -0
  34. package/definitions/design.json +1827 -0
  35. package/definitions/document-runtime.json +1 -0
  36. package/definitions/document.json +758 -0
  37. package/definitions/email-settings-runtime.json +1 -0
  38. package/definitions/email-settings.json +3736 -0
  39. package/definitions/email-template-runtime.json +1 -0
  40. package/definitions/email-template.json +1441 -0
  41. package/definitions/entity-mapping-runtime.json +1 -0
  42. package/definitions/entity-mapping.json +1829 -0
  43. package/definitions/entity-runtime.json +1 -0
  44. package/definitions/entity.json +11546 -0
  45. package/definitions/environments-runtime.json +1 -0
  46. package/definitions/environments.json +985 -0
  47. package/definitions/event-catalog-runtime.json +1 -0
  48. package/definitions/event-catalog.json +2014 -0
  49. package/definitions/file-runtime.json +1 -0
  50. package/definitions/file.json +4297 -0
  51. package/definitions/iban-runtime.json +1 -0
  52. package/definitions/iban.json +132 -0
  53. package/definitions/integration-toolkit-runtime.json +1 -0
  54. package/definitions/integration-toolkit.json +12966 -0
  55. package/definitions/journey-runtime.json +1 -0
  56. package/definitions/journey.json +3561 -0
  57. package/definitions/kanban-runtime.json +1 -0
  58. package/definitions/kanban.json +1506 -0
  59. package/definitions/message-runtime.json +1 -0
  60. package/definitions/message.json +3667 -0
  61. package/definitions/metering-runtime.json +1 -0
  62. package/definitions/metering.json +3132 -0
  63. package/definitions/notes-runtime.json +1 -0
  64. package/definitions/notes.json +1698 -0
  65. package/definitions/notification-runtime.json +1 -0
  66. package/definitions/notification.json +1439 -0
  67. package/definitions/organization-runtime.json +1 -0
  68. package/definitions/organization.json +1192 -0
  69. package/definitions/partner-directory-runtime.json +1 -0
  70. package/definitions/partner-directory.json +2284 -0
  71. package/definitions/permissions-runtime.json +1 -0
  72. package/definitions/permissions.json +1598 -0
  73. package/definitions/pricing-runtime.json +1 -0
  74. package/definitions/pricing-tier-runtime.json +1 -0
  75. package/definitions/pricing-tier.json +105 -0
  76. package/definitions/pricing.json +14301 -0
  77. package/definitions/purpose-runtime.json +1 -0
  78. package/definitions/purpose.json +524 -0
  79. package/definitions/query-runtime.json +1 -0
  80. package/definitions/query.json +3178 -0
  81. package/definitions/sandbox-runtime.json +1 -0
  82. package/definitions/sandbox.json +453 -0
  83. package/definitions/sharing-runtime.json +1 -0
  84. package/definitions/sharing.json +956 -0
  85. package/definitions/snapshot-runtime.json +1 -0
  86. package/definitions/snapshot.json +1103 -0
  87. package/definitions/submission-runtime.json +1 -0
  88. package/definitions/submission.json +313 -0
  89. package/definitions/targeting-runtime.json +1 -0
  90. package/definitions/targeting.json +2285 -0
  91. package/definitions/template-variables-runtime.json +1 -0
  92. package/definitions/template-variables.json +1416 -0
  93. package/definitions/user-runtime.json +1 -0
  94. package/definitions/user.json +3051 -0
  95. package/definitions/validation-rules-runtime.json +1 -0
  96. package/definitions/validation-rules.json +2642 -0
  97. package/definitions/webhooks-runtime.json +1 -0
  98. package/definitions/webhooks.json +1875 -0
  99. package/definitions/workflow-definition-runtime.json +1 -0
  100. package/definitions/workflow-definition.json +3592 -0
  101. package/definitions/workflow-runtime.json +1 -0
  102. package/definitions/workflow.json +4669 -0
  103. package/dist/apis/access-token.cjs +6 -6
  104. package/dist/apis/access-token.js +1 -1
  105. package/dist/apis/address-suggestions.cjs +6 -6
  106. package/dist/apis/address-suggestions.js +1 -1
  107. package/dist/apis/address.cjs +6 -6
  108. package/dist/apis/address.js +1 -1
  109. package/dist/apis/ai-agents.cjs +6 -6
  110. package/dist/apis/ai-agents.js +1 -1
  111. package/dist/apis/app.cjs +6 -6
  112. package/dist/apis/app.d.cts +2 -2
  113. package/dist/apis/app.d.ts +2 -2
  114. package/dist/apis/app.js +1 -1
  115. package/dist/apis/audit-logs.cjs +6 -6
  116. package/dist/apis/audit-logs.js +1 -1
  117. package/dist/apis/automation.cjs +6 -6
  118. package/dist/apis/automation.js +1 -1
  119. package/dist/apis/billing.cjs +6 -6
  120. package/dist/apis/billing.js +1 -1
  121. package/dist/apis/blueprint-manifest.cjs +6 -6
  122. package/dist/apis/blueprint-manifest.js +1 -1
  123. package/dist/apis/calendar.cjs +6 -6
  124. package/dist/apis/calendar.js +1 -1
  125. package/dist/apis/configuration-hub.cjs +6 -6
  126. package/dist/apis/configuration-hub.js +1 -1
  127. package/dist/apis/consent.cjs +6 -6
  128. package/dist/apis/consent.js +1 -1
  129. package/dist/apis/customer-portal.cjs +6 -6
  130. package/dist/apis/customer-portal.d.cts +2 -2
  131. package/dist/apis/customer-portal.d.ts +2 -2
  132. package/dist/apis/customer-portal.js +1 -1
  133. package/dist/apis/dashboard.cjs +6 -6
  134. package/dist/apis/dashboard.js +1 -1
  135. package/dist/apis/data-governance.cjs +6 -6
  136. package/dist/apis/data-governance.js +1 -1
  137. package/dist/apis/deduplication.cjs +6 -6
  138. package/dist/apis/deduplication.js +1 -1
  139. package/dist/apis/design.cjs +6 -6
  140. package/dist/apis/design.js +1 -1
  141. package/dist/apis/document.cjs +6 -6
  142. package/dist/apis/document.js +1 -1
  143. package/dist/apis/email-settings.cjs +6 -6
  144. package/dist/apis/email-settings.js +1 -1
  145. package/dist/apis/email-template.cjs +6 -6
  146. package/dist/apis/email-template.js +1 -1
  147. package/dist/apis/entity-mapping.cjs +6 -6
  148. package/dist/apis/entity-mapping.js +1 -1
  149. package/dist/apis/entity.cjs +6 -6
  150. package/dist/apis/entity.js +1 -1
  151. package/dist/apis/environments.cjs +6 -6
  152. package/dist/apis/environments.d.cts +2 -2
  153. package/dist/apis/environments.d.ts +2 -2
  154. package/dist/apis/environments.js +1 -1
  155. package/dist/apis/event-catalog.cjs +6 -6
  156. package/dist/apis/event-catalog.js +1 -1
  157. package/dist/apis/file.cjs +6 -6
  158. package/dist/apis/file.js +1 -1
  159. package/dist/apis/iban.cjs +6 -6
  160. package/dist/apis/iban.js +1 -1
  161. package/dist/apis/integration-toolkit.cjs +6 -6
  162. package/dist/apis/integration-toolkit.js +1 -1
  163. package/dist/apis/journey.cjs +6 -6
  164. package/dist/apis/journey.js +1 -1
  165. package/dist/apis/kanban.cjs +6 -6
  166. package/dist/apis/kanban.js +1 -1
  167. package/dist/apis/message.cjs +6 -6
  168. package/dist/apis/message.js +1 -1
  169. package/dist/apis/metering.cjs +6 -6
  170. package/dist/apis/metering.js +1 -1
  171. package/dist/apis/notes.cjs +6 -6
  172. package/dist/apis/notes.js +1 -1
  173. package/dist/apis/notification.cjs +6 -6
  174. package/dist/apis/notification.js +1 -1
  175. package/dist/apis/organization.cjs +6 -6
  176. package/dist/apis/organization.js +1 -1
  177. package/dist/apis/partner-directory.cjs +6 -6
  178. package/dist/apis/partner-directory.js +1 -1
  179. package/dist/apis/permissions.cjs +6 -6
  180. package/dist/apis/permissions.js +1 -1
  181. package/dist/apis/pricing-tier.cjs +6 -6
  182. package/dist/apis/pricing-tier.js +1 -1
  183. package/dist/apis/pricing.cjs +6 -6
  184. package/dist/apis/pricing.js +1 -1
  185. package/dist/apis/purpose.cjs +6 -6
  186. package/dist/apis/purpose.js +1 -1
  187. package/dist/apis/query.cjs +6 -6
  188. package/dist/apis/query.js +1 -1
  189. package/dist/apis/sandbox.cjs +6 -6
  190. package/dist/apis/sandbox.js +1 -1
  191. package/dist/apis/sharing.cjs +6 -6
  192. package/dist/apis/sharing.js +1 -1
  193. package/dist/apis/snapshot.cjs +6 -6
  194. package/dist/apis/snapshot.js +1 -1
  195. package/dist/apis/submission.cjs +6 -6
  196. package/dist/apis/submission.js +1 -1
  197. package/dist/apis/target.cjs +6 -6
  198. package/dist/apis/target.js +1 -1
  199. package/dist/apis/targeting.cjs +6 -6
  200. package/dist/apis/targeting.js +1 -1
  201. package/dist/apis/template-variables.cjs +6 -6
  202. package/dist/apis/template-variables.js +1 -1
  203. package/dist/apis/user.cjs +6 -6
  204. package/dist/apis/user.js +1 -1
  205. package/dist/apis/validation-rules.cjs +6 -6
  206. package/dist/apis/validation-rules.js +1 -1
  207. package/dist/apis/webhooks.cjs +6 -6
  208. package/dist/apis/webhooks.js +1 -1
  209. package/dist/apis/workflow-definition.cjs +6 -6
  210. package/dist/apis/workflow-definition.js +1 -1
  211. package/dist/apis/workflow.cjs +6 -6
  212. package/dist/apis/workflow.js +1 -1
  213. package/dist/{app-E75NP2YE.js → app-B3TAEVS4.js} +1 -1
  214. package/dist/{app-EI2PFRBV.cjs → app-C5H6RLZ5.cjs} +1 -1
  215. package/dist/{app.d-BHpFAvPW.d.cts → app.d-CqXqNLxq.d.cts} +9 -10
  216. package/dist/{app.d-BHpFAvPW.d.ts → app.d-CqXqNLxq.d.ts} +9 -10
  217. package/dist/bin/cli.js +1 -1
  218. package/dist/{chunk-QZH7QNNP.cjs → chunk-3OIZHXWK.cjs} +3 -3
  219. package/dist/{chunk-SMERBU2T.js → chunk-ARX7EKG7.js} +3 -3
  220. package/dist/customer-portal-FDB3TGS7.cjs +7 -0
  221. package/dist/customer-portal-NELL7GRO.js +7 -0
  222. package/dist/{customer-portal.d-DJHJY-vb.d.cts → customer-portal.d-gb6dOHv3.d.cts} +218 -6
  223. package/dist/{customer-portal.d-DJHJY-vb.d.ts → customer-portal.d-gb6dOHv3.d.ts} +218 -6
  224. package/dist/environments-OYCH6VUD.js +7 -0
  225. package/dist/environments-S3O6ASTY.cjs +7 -0
  226. package/dist/{environments.d-C_BTxz4W.d.cts → environments.d-qL1urwAq.d.cts} +252 -22
  227. package/dist/{environments.d-C_BTxz4W.d.ts → environments.d-qL1urwAq.d.ts} +252 -22
  228. package/dist/index.cjs +8 -8
  229. package/dist/index.d.cts +3 -3
  230. package/dist/index.d.ts +3 -3
  231. package/dist/index.js +1 -1
  232. package/dist/{js-yaml-DLCVPJ7G.js → js-yaml-UPZKYVRY.js} +15 -17
  233. package/docs/app.md +4 -7
  234. package/docs/customer-portal.md +136 -21
  235. package/docs/environments.md +327 -11
  236. package/package.json +1 -1
  237. package/dist/customer-portal-CDFQM72A.js +0 -7
  238. package/dist/customer-portal-MS6WNXAO.cjs +0 -7
  239. package/dist/environments-EAVUY4FC.cjs +0 -7
  240. package/dist/environments-RNOROUFZ.js +0 -7
@@ -41,6 +41,16 @@ const { data } = await environmentsClient.listEnvironmentVariables(...)
41
41
  - [`MapValue`](#mapvalue)
42
42
  - [`JsonValue`](#jsonvalue)
43
43
  - [`LinkValue`](#linkvalue)
44
+ - [`LinkFields`](#linkfields)
45
+ - [`ListItemType`](#listitemtype)
46
+ - [`ListOfText`](#listoftext)
47
+ - [`ListOfString`](#listofstring)
48
+ - [`ListOfSecretString`](#listofsecretstring)
49
+ - [`ListOfNumber`](#listofnumber)
50
+ - [`ListOfBoolean`](#listofboolean)
51
+ - [`ListOfJson`](#listofjson)
52
+ - [`ListOfLink`](#listoflink)
53
+ - [`ListValue`](#listvalue)
44
54
  - [`EnvironmentValue`](#environmentvalue)
45
55
  - [`EnvironmentVariable`](#environmentvariable)
46
56
  - [`EnvironmentVariableListItem`](#environmentvariablelistitem)
@@ -70,6 +80,7 @@ const { data } = await client.listEnvironmentVariables()
70
80
  {
71
81
  "key": "string",
72
82
  "type": "String",
83
+ "item_type": "String",
73
84
  "description": "string",
74
85
  "group": "string",
75
86
  "value": "string",
@@ -112,6 +123,7 @@ const { data } = await client.createEnvironmentVariable(
112
123
  {
113
124
  "key": "string",
114
125
  "type": "String",
126
+ "item_type": "String",
115
127
  "description": "string",
116
128
  "group": "string",
117
129
  "value": "string",
@@ -221,6 +233,7 @@ const { data } = await client.getEnvironmentVariable({
221
233
  {
222
234
  "key": "string",
223
235
  "type": "String",
236
+ "item_type": "String",
224
237
  "description": "string",
225
238
  "group": "string",
226
239
  "value": "string",
@@ -262,6 +275,7 @@ const { data } = await client.updateEnvironmentVariable(
262
275
  {
263
276
  "key": "string",
264
277
  "type": "String",
278
+ "item_type": "String",
265
279
  "description": "string",
266
280
  "group": "string",
267
281
  "value": "string",
@@ -295,11 +309,11 @@ const { data } = await client.deleteEnvironmentVariable({
295
309
 
296
310
  The structure a variable's value holds. `SecretString` is encrypted at rest and
297
311
  its value is never returned. `Text`, `Number`, `Boolean`, `Map`, `JSON` and `Link`
298
- may be served to browser-facing consumers; `String` and `SecretString` may not.
299
-
312
+ may be served to browser-facing consumers; `String` and `SecretString` may not. A
313
+ `List` inherits this from its element type: a `List` is
300
314
 
301
315
  ```ts
302
- type EnvironmentValueType = "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map" | "JSON" | "Link"
316
+ type EnvironmentValueType = "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map" | "JSON" | "Link" | "List"
303
317
  ```
304
318
 
305
319
  ### `StringTranslations`
@@ -369,13 +383,160 @@ type LinkValue = {
369
383
  }
370
384
  ```
371
385
 
386
+ ### `LinkFields`
387
+
388
+ The fields of a link, without a fallback language — the shape a `List`
389
+ item carries. Inside a list the fallback belongs to the wrapper, which
390
+ owns the language tabs for every row.
391
+
392
+ Restated rather than composed with `LinkValue`: `allOf` plus
393
+ `additionalProperties: false` is rejected by most validato
394
+
395
+ ```ts
396
+ type LinkFields = {
397
+ url: string
398
+ label: string | Record<string, string>
399
+ description?: string | Record<string, string>
400
+ }
401
+ ```
402
+
403
+ ### `ListItemType`
404
+
405
+ The element type a `List` holds — every value type except the
406
+ containers. `Map` is already a keyed collection and a list of lists has
407
+ no consumer. A list is exactly as client-safe and exactly as secret as
408
+ its element type: a list of `SecretString` is encrypted per item and its
409
+ value is never returne
410
+
411
+ ```ts
412
+ type ListItemType = "String" | "SecretString" | "Text" | "Number" | "Boolean" | "JSON" | "Link"
413
+ ```
414
+
415
+ ### `ListOfText`
416
+
417
+ ```ts
418
+ type ListOfText = {
419
+ itemType: "Text"
420
+ items: string[]
421
+ }
422
+ ```
423
+
424
+ ### `ListOfString`
425
+
426
+ ```ts
427
+ type ListOfString = {
428
+ itemType: "String"
429
+ items: string[]
430
+ }
431
+ ```
432
+
433
+ ### `ListOfSecretString`
434
+
435
+ Write-only in effect: the items are encrypted per item at rest and the
436
+ whole value is omitted from every read response, exactly as a
437
+ `SecretString` variable's value is. Read `item_type` to learn what a
438
+ list holds when its value is withheld.
439
+
440
+
441
+ ```ts
442
+ type ListOfSecretString = {
443
+ itemType: "SecretString"
444
+ items: string[]
445
+ }
446
+ ```
447
+
448
+ ### `ListOfNumber`
449
+
450
+ ```ts
451
+ type ListOfNumber = {
452
+ itemType: "Number"
453
+ items: number[]
454
+ }
455
+ ```
456
+
457
+ ### `ListOfBoolean`
458
+
459
+ ```ts
460
+ type ListOfBoolean = {
461
+ itemType: "Boolean"
462
+ items: boolean[]
463
+ }
464
+ ```
465
+
466
+ ### `ListOfJson`
467
+
468
+ ```ts
469
+ type ListOfJson = {
470
+ itemType: "JSON"
471
+ items: Record<string, unknown>[]
472
+ }
473
+ ```
474
+
475
+ ### `ListOfLink`
476
+
477
+ A list of links. `fallbackLanguage` applies to every item's translated
478
+ `label` and `description`; items may mix plain and translated fields
479
+ freely, since a plain string is a complete answer for any language.
480
+
481
+
482
+ ```ts
483
+ type ListOfLink = {
484
+ itemType: "Link"
485
+ fallbackLanguage?: string
486
+ items: Array<{
487
+ url: string
488
+ label: string | Record<string, string>
489
+ description?: string | Record<string, string>
490
+ }>
491
+ }
492
+ ```
493
+
494
+ ### `ListValue`
495
+
496
+ An ordered collection of one declared element type. Items round-trip in
497
+ the order written; nothing sorts them. Holds at most 100 items.
498
+
499
+ The whole value is limited to 32768 characters when serialised — the
500
+ server enforces this, and it is not expressible per-property here.
501
+
502
+
503
+ ```ts
504
+ type ListValue = {
505
+ itemType: "Text"
506
+ items: string[]
507
+ } | {
508
+ itemType: "Number"
509
+ items: number[]
510
+ } | {
511
+ itemType: "Boolean"
512
+ items: boolean[]
513
+ } | {
514
+ itemType: "JSON"
515
+ items: Record<string, unknown>[]
516
+ } | {
517
+ itemType: "Link"
518
+ fallbackLanguage?: string
519
+ items: Array<{
520
+ url: string
521
+ label: string | Record<string, string>
522
+ description?: string | Record<string, string>
523
+ }>
524
+ } | {
525
+ itemType: "String"
526
+ items: string[]
527
+ } | {
528
+ itemType: "SecretString"
529
+ items: string[]
530
+ }
531
+ ```
532
+
372
533
  ### `EnvironmentValue`
373
534
 
374
535
  A variable's value. The JSON type corresponds to the variable's `type`:
375
536
  `String`, `SecretString` and `Text` are strings, `Number` is a number,
376
- `Boolean` is a boolean, and `Map`, `JSON` and `Link` are objects. Numbers are
377
- IEEE 754 doubles; integers above 2^53 may lose precision on round-trip.
378
-
537
+ `Boolean` is a boolean, and `Map`, `JSON`, `Link` and `List` are objects.
538
+ Numbers are IEEE 754 doubles; integers above 2^53 may lose precision on
539
+ round-trip.
379
540
 
380
541
  ```ts
381
542
  type EnvironmentValue = string | number | boolean | {
@@ -389,6 +550,32 @@ type EnvironmentValue = string | number | boolean | {
389
550
  label: string | Record<string, string>
390
551
  description?: string | Record<string, string>
391
552
  fallbackLanguage?: string
553
+ } | {
554
+ itemType: "Text"
555
+ items: string[]
556
+ } | {
557
+ itemType: "Number"
558
+ items: number[]
559
+ } | {
560
+ itemType: "Boolean"
561
+ items: boolean[]
562
+ } | {
563
+ itemType: "JSON"
564
+ items: Record<string, unknown>[]
565
+ } | {
566
+ itemType: "Link"
567
+ fallbackLanguage?: string
568
+ items: Array<{
569
+ url: string
570
+ label: string | Record<string, string>
571
+ description?: string | Record<string, string>
572
+ }>
573
+ } | {
574
+ itemType: "String"
575
+ items: string[]
576
+ } | {
577
+ itemType: "SecretString"
578
+ items: string[]
392
579
  }
393
580
  ```
394
581
 
@@ -397,7 +584,8 @@ type EnvironmentValue = string | number | boolean | {
397
584
  ```ts
398
585
  type EnvironmentVariable = {
399
586
  key: string
400
- type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map" | "JSON" | "Link"
587
+ type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map" | "JSON" | "Link" | "List"
588
+ item_type?: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "JSON" | "Link"
401
589
  description?: string
402
590
  group?: string
403
591
  value?: string | number | boolean | {
@@ -411,6 +599,32 @@ type EnvironmentVariable = {
411
599
  label: string | Record<string, string>
412
600
  description?: string | Record<string, string>
413
601
  fallbackLanguage?: string
602
+ } | {
603
+ itemType: "Text"
604
+ items: string[]
605
+ } | {
606
+ itemType: "Number"
607
+ items: number[]
608
+ } | {
609
+ itemType: "Boolean"
610
+ items: boolean[]
611
+ } | {
612
+ itemType: "JSON"
613
+ items: Record<string, unknown>[]
614
+ } | {
615
+ itemType: "Link"
616
+ fallbackLanguage?: string
617
+ items: Array<{
618
+ url: { ... }
619
+ label: { ... }
620
+ description?: { ... }
621
+ }>
622
+ } | {
623
+ itemType: "String"
624
+ items: string[]
625
+ } | {
626
+ itemType: "SecretString"
627
+ items: string[]
414
628
  }
415
629
  protected?: boolean
416
630
  created_at: string // date-time
@@ -423,7 +637,8 @@ type EnvironmentVariable = {
423
637
  ```ts
424
638
  type EnvironmentVariableListItem = {
425
639
  key: string
426
- type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map" | "JSON" | "Link"
640
+ type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map" | "JSON" | "Link" | "List"
641
+ item_type?: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "JSON" | "Link"
427
642
  description?: string
428
643
  group?: string
429
644
  value?: string | number | boolean | {
@@ -437,6 +652,32 @@ type EnvironmentVariableListItem = {
437
652
  label: string | Record<string, string>
438
653
  description?: string | Record<string, string>
439
654
  fallbackLanguage?: string
655
+ } | {
656
+ itemType: "Text"
657
+ items: string[]
658
+ } | {
659
+ itemType: "Number"
660
+ items: number[]
661
+ } | {
662
+ itemType: "Boolean"
663
+ items: boolean[]
664
+ } | {
665
+ itemType: "JSON"
666
+ items: Record<string, unknown>[]
667
+ } | {
668
+ itemType: "Link"
669
+ fallbackLanguage?: string
670
+ items: Array<{
671
+ url: { ... }
672
+ label: { ... }
673
+ description?: { ... }
674
+ }>
675
+ } | {
676
+ itemType: "String"
677
+ items: string[]
678
+ } | {
679
+ itemType: "SecretString"
680
+ items: string[]
440
681
  }
441
682
  protected?: boolean
442
683
  created_at: string // date-time
@@ -450,7 +691,8 @@ type EnvironmentVariableListItem = {
450
691
  type EnvironmentVariableList = {
451
692
  items: Array<{
452
693
  key: string
453
- type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map" | "JSON" | "Link"
694
+ type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map" | "JSON" | "Link" | "List"
695
+ item_type?: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "JSON" | "Link"
454
696
  description?: string
455
697
  group?: string
456
698
  value?: string | number | boolean | {
@@ -461,6 +703,28 @@ type EnvironmentVariableList = {
461
703
  label: { ... }
462
704
  description?: { ... }
463
705
  fallbackLanguage?: { ... }
706
+ } | {
707
+ itemType: { ... }
708
+ items: { ... }
709
+ } | {
710
+ itemType: { ... }
711
+ items: { ... }
712
+ } | {
713
+ itemType: { ... }
714
+ items: { ... }
715
+ } | {
716
+ itemType: { ... }
717
+ items: { ... }
718
+ } | {
719
+ itemType: { ... }
720
+ fallbackLanguage?: { ... }
721
+ items: { ... }
722
+ } | {
723
+ itemType: { ... }
724
+ items: { ... }
725
+ } | {
726
+ itemType: { ... }
727
+ items: { ... }
464
728
  }
465
729
  protected?: boolean
466
730
  created_at: string // date-time
@@ -474,7 +738,7 @@ type EnvironmentVariableList = {
474
738
  ```ts
475
739
  type EnvironmentVariableCreateRequest = {
476
740
  key: string
477
- type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map" | "JSON" | "Link"
741
+ type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map" | "JSON" | "Link" | "List"
478
742
  description?: string
479
743
  group?: string
480
744
  value?: string | number | boolean | {
@@ -488,6 +752,32 @@ type EnvironmentVariableCreateRequest = {
488
752
  label: string | Record<string, string>
489
753
  description?: string | Record<string, string>
490
754
  fallbackLanguage?: string
755
+ } | {
756
+ itemType: "Text"
757
+ items: string[]
758
+ } | {
759
+ itemType: "Number"
760
+ items: number[]
761
+ } | {
762
+ itemType: "Boolean"
763
+ items: boolean[]
764
+ } | {
765
+ itemType: "JSON"
766
+ items: Record<string, unknown>[]
767
+ } | {
768
+ itemType: "Link"
769
+ fallbackLanguage?: string
770
+ items: Array<{
771
+ url: { ... }
772
+ label: { ... }
773
+ description?: { ... }
774
+ }>
775
+ } | {
776
+ itemType: "String"
777
+ items: string[]
778
+ } | {
779
+ itemType: "SecretString"
780
+ items: string[]
491
781
  }
492
782
  protected?: boolean
493
783
  }
@@ -497,7 +787,7 @@ type EnvironmentVariableCreateRequest = {
497
787
 
498
788
  ```ts
499
789
  type EnvironmentVariableUpdateRequest = {
500
- type?: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map" | "JSON" | "Link"
790
+ type?: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map" | "JSON" | "Link" | "List"
501
791
  value?: string | number | boolean | {
502
792
  fallbackLanguage?: string
503
793
  options: Array<{
@@ -509,6 +799,32 @@ type EnvironmentVariableUpdateRequest = {
509
799
  label: string | Record<string, string>
510
800
  description?: string | Record<string, string>
511
801
  fallbackLanguage?: string
802
+ } | {
803
+ itemType: "Text"
804
+ items: string[]
805
+ } | {
806
+ itemType: "Number"
807
+ items: number[]
808
+ } | {
809
+ itemType: "Boolean"
810
+ items: boolean[]
811
+ } | {
812
+ itemType: "JSON"
813
+ items: Record<string, unknown>[]
814
+ } | {
815
+ itemType: "Link"
816
+ fallbackLanguage?: string
817
+ items: Array<{
818
+ url: { ... }
819
+ label: { ... }
820
+ description?: { ... }
821
+ }>
822
+ } | {
823
+ itemType: "String"
824
+ items: string[]
825
+ } | {
826
+ itemType: "SecretString"
827
+ items: string[]
512
828
  }
513
829
  description?: string
514
830
  group?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/sdk",
3
- "version": "2.20.11",
3
+ "version": "2.20.13-alpha.0",
4
4
  "description": "JavaScript/TypeScript SDK for epilot APIs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",