@epilot/sdk 2.19.11-alpha.0 → 2.19.11

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 (138) hide show
  1. package/definitions/blueprint-manifest-runtime.json +1 -1
  2. package/definitions/blueprint-manifest.json +101 -2
  3. package/definitions/environments.json +7 -7
  4. package/dist/apis/access-token.cjs +6 -6
  5. package/dist/apis/access-token.js +1 -1
  6. package/dist/apis/address-suggestions.cjs +6 -6
  7. package/dist/apis/address-suggestions.js +1 -1
  8. package/dist/apis/address.cjs +6 -6
  9. package/dist/apis/address.js +1 -1
  10. package/dist/apis/ai-agents.cjs +6 -6
  11. package/dist/apis/ai-agents.js +1 -1
  12. package/dist/apis/app.cjs +6 -6
  13. package/dist/apis/app.js +1 -1
  14. package/dist/apis/audit-logs.cjs +6 -6
  15. package/dist/apis/audit-logs.js +1 -1
  16. package/dist/apis/automation.cjs +6 -6
  17. package/dist/apis/automation.js +1 -1
  18. package/dist/apis/billing.cjs +6 -6
  19. package/dist/apis/billing.js +1 -1
  20. package/dist/apis/blueprint-manifest.cjs +8 -8
  21. package/dist/apis/blueprint-manifest.d.cts +2 -2
  22. package/dist/apis/blueprint-manifest.d.ts +2 -2
  23. package/dist/apis/blueprint-manifest.js +2 -2
  24. package/dist/apis/calendar.cjs +6 -6
  25. package/dist/apis/calendar.js +1 -1
  26. package/dist/apis/configuration-hub.cjs +6 -6
  27. package/dist/apis/configuration-hub.js +1 -1
  28. package/dist/apis/consent.cjs +6 -6
  29. package/dist/apis/consent.js +1 -1
  30. package/dist/apis/customer-portal.cjs +6 -6
  31. package/dist/apis/customer-portal.js +1 -1
  32. package/dist/apis/dashboard.cjs +6 -6
  33. package/dist/apis/dashboard.js +1 -1
  34. package/dist/apis/data-governance.cjs +6 -6
  35. package/dist/apis/data-governance.js +1 -1
  36. package/dist/apis/deduplication.cjs +6 -6
  37. package/dist/apis/deduplication.js +1 -1
  38. package/dist/apis/design.cjs +6 -6
  39. package/dist/apis/design.js +1 -1
  40. package/dist/apis/document.cjs +6 -6
  41. package/dist/apis/document.js +1 -1
  42. package/dist/apis/email-settings.cjs +6 -6
  43. package/dist/apis/email-settings.js +1 -1
  44. package/dist/apis/email-template.cjs +6 -6
  45. package/dist/apis/email-template.js +1 -1
  46. package/dist/apis/entity-mapping.cjs +6 -6
  47. package/dist/apis/entity-mapping.js +1 -1
  48. package/dist/apis/entity.cjs +6 -6
  49. package/dist/apis/entity.js +1 -1
  50. package/dist/apis/environments.cjs +6 -6
  51. package/dist/apis/environments.d.cts +2 -2
  52. package/dist/apis/environments.d.ts +2 -2
  53. package/dist/apis/environments.js +1 -1
  54. package/dist/apis/event-catalog.cjs +6 -6
  55. package/dist/apis/event-catalog.js +1 -1
  56. package/dist/apis/file.cjs +6 -6
  57. package/dist/apis/file.js +1 -1
  58. package/dist/apis/iban.cjs +6 -6
  59. package/dist/apis/iban.js +1 -1
  60. package/dist/apis/integration-toolkit.cjs +6 -6
  61. package/dist/apis/integration-toolkit.js +1 -1
  62. package/dist/apis/journey.cjs +6 -6
  63. package/dist/apis/journey.js +1 -1
  64. package/dist/apis/kanban.cjs +6 -6
  65. package/dist/apis/kanban.js +1 -1
  66. package/dist/apis/message.cjs +6 -6
  67. package/dist/apis/message.js +1 -1
  68. package/dist/apis/metering.cjs +6 -6
  69. package/dist/apis/metering.js +1 -1
  70. package/dist/apis/notes.cjs +6 -6
  71. package/dist/apis/notes.js +1 -1
  72. package/dist/apis/notification.cjs +6 -6
  73. package/dist/apis/notification.js +1 -1
  74. package/dist/apis/organization.cjs +6 -6
  75. package/dist/apis/organization.js +1 -1
  76. package/dist/apis/partner-directory.cjs +6 -6
  77. package/dist/apis/partner-directory.js +1 -1
  78. package/dist/apis/permissions.cjs +6 -6
  79. package/dist/apis/permissions.js +1 -1
  80. package/dist/apis/pricing-tier.cjs +6 -6
  81. package/dist/apis/pricing-tier.js +1 -1
  82. package/dist/apis/pricing.cjs +6 -6
  83. package/dist/apis/pricing.js +1 -1
  84. package/dist/apis/purpose.cjs +6 -6
  85. package/dist/apis/purpose.js +1 -1
  86. package/dist/apis/query.cjs +6 -6
  87. package/dist/apis/query.js +1 -1
  88. package/dist/apis/sandbox.cjs +6 -6
  89. package/dist/apis/sandbox.js +1 -1
  90. package/dist/apis/sharing.cjs +6 -6
  91. package/dist/apis/sharing.js +1 -1
  92. package/dist/apis/snapshot.cjs +6 -6
  93. package/dist/apis/snapshot.js +1 -1
  94. package/dist/apis/submission.cjs +6 -6
  95. package/dist/apis/submission.js +1 -1
  96. package/dist/apis/target.cjs +6 -6
  97. package/dist/apis/target.js +1 -1
  98. package/dist/apis/targeting.cjs +6 -6
  99. package/dist/apis/targeting.js +1 -1
  100. package/dist/apis/template-variables.cjs +6 -6
  101. package/dist/apis/template-variables.js +1 -1
  102. package/dist/apis/user.cjs +6 -6
  103. package/dist/apis/user.js +1 -1
  104. package/dist/apis/validation-rules.cjs +6 -6
  105. package/dist/apis/validation-rules.js +1 -1
  106. package/dist/apis/webhooks.cjs +6 -6
  107. package/dist/apis/webhooks.js +1 -1
  108. package/dist/apis/workflow-definition.cjs +6 -6
  109. package/dist/apis/workflow-definition.js +1 -1
  110. package/dist/apis/workflow.cjs +6 -6
  111. package/dist/apis/workflow.js +1 -1
  112. package/dist/bin/cli.js +1 -1
  113. package/dist/blueprint-manifest-SXG3M6B4.cjs +7 -0
  114. package/dist/blueprint-manifest-YU2UZLHV.js +7 -0
  115. package/dist/{blueprint-manifest-runtime-W526ROPG.js → blueprint-manifest-runtime-EQX7FPFC.js} +1 -1
  116. package/dist/{blueprint-manifest-runtime-N5EXZB2K.cjs → blueprint-manifest-runtime-Y63YPBU3.cjs} +2 -2
  117. package/dist/{blueprint-manifest.d-BVxmCeu7.d.cts → blueprint-manifest.d-B8YKYzSJ.d.cts} +191 -5
  118. package/dist/{blueprint-manifest.d-BVxmCeu7.d.ts → blueprint-manifest.d-B8YKYzSJ.d.ts} +191 -5
  119. package/dist/{chunk-3CVNMGIG.cjs → chunk-5VKNAAXI.cjs} +3 -3
  120. package/dist/{chunk-4Z6GRBDK.js → chunk-JGIBV65B.js} +1 -1
  121. package/dist/{chunk-KSJGHUCG.js → chunk-M2O7H6A2.js} +3 -3
  122. package/dist/{chunk-Z54CI2VS.cjs → chunk-O2AM3DYP.cjs} +1 -1
  123. package/dist/environments-JP2CPDH2.cjs +7 -0
  124. package/dist/environments-PGRMZY5G.js +7 -0
  125. package/dist/{environments.d-CP2gV7vw.d.ts → environments.d-840_mC07.d.cts} +28 -28
  126. package/dist/{environments.d-CP2gV7vw.d.cts → environments.d-840_mC07.d.ts} +28 -28
  127. package/dist/index.cjs +10 -10
  128. package/dist/index.d.cts +2 -2
  129. package/dist/index.d.ts +2 -2
  130. package/dist/index.js +2 -2
  131. package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
  132. package/docs/blueprint-manifest.md +61 -11
  133. package/docs/environments.md +14 -14
  134. package/package.json +11 -12
  135. package/dist/blueprint-manifest-4IAJOK2O.cjs +0 -7
  136. package/dist/blueprint-manifest-U6SC54EI.js +0 -7
  137. package/dist/environments-3VKW3GPN.cjs +0 -7
  138. package/dist/environments-SBUZ6QSC.js +0 -7
package/dist/index.d.cts CHANGED
@@ -11,7 +11,7 @@ import { C as Client$4 } from './app.d-BiknhSJo.cjs';
11
11
  import { C as Client$5 } from './audit-logs.d-BRToFqeX.cjs';
12
12
  import { C as Client$6 } from './automation.d-BnQFR6k8.cjs';
13
13
  import { C as Client$7 } from './billing.d-DA3sViEF.cjs';
14
- import { C as Client$8 } from './blueprint-manifest.d-BVxmCeu7.cjs';
14
+ import { C as Client$8 } from './blueprint-manifest.d-B8YKYzSJ.cjs';
15
15
  import { C as Client$9 } from './calendar.d-mk-ltGpk.cjs';
16
16
  import { C as Client$a } from './configuration-hub.d-Dv41yC3b.cjs';
17
17
  import { C as Client$b } from './consent.d-C2PROHhX.cjs';
@@ -25,7 +25,7 @@ import { C as Client$i } from './email-settings.d-DViLYaOl.cjs';
25
25
  import { C as Client$j } from './email-template.d-gtQkdaXM.cjs';
26
26
  import { C as Client$k } from './entity.d-C3WddgVt.cjs';
27
27
  import { C as Client$l } from './entity-mapping.d-DKSW3sfy.cjs';
28
- import { C as Client$m } from './environments.d-CP2gV7vw.cjs';
28
+ import { C as Client$m } from './environments.d-840_mC07.cjs';
29
29
  import { C as Client$n } from './event-catalog.d-QIhhewVH.cjs';
30
30
  import { C as Client$o } from './file.d-CBsXF4W8.cjs';
31
31
  import { C as Client$p } from './iban.d-BwdiGbxi.cjs';
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { C as Client$4 } from './app.d-BiknhSJo.js';
11
11
  import { C as Client$5 } from './audit-logs.d-BRToFqeX.js';
12
12
  import { C as Client$6 } from './automation.d-BnQFR6k8.js';
13
13
  import { C as Client$7 } from './billing.d-DA3sViEF.js';
14
- import { C as Client$8 } from './blueprint-manifest.d-BVxmCeu7.js';
14
+ import { C as Client$8 } from './blueprint-manifest.d-B8YKYzSJ.js';
15
15
  import { C as Client$9 } from './calendar.d-mk-ltGpk.js';
16
16
  import { C as Client$a } from './configuration-hub.d-Dv41yC3b.js';
17
17
  import { C as Client$b } from './consent.d-C2PROHhX.js';
@@ -25,7 +25,7 @@ import { C as Client$i } from './email-settings.d-DViLYaOl.js';
25
25
  import { C as Client$j } from './email-template.d-gtQkdaXM.js';
26
26
  import { C as Client$k } from './entity.d-C3WddgVt.js';
27
27
  import { C as Client$l } from './entity-mapping.d-DKSW3sfy.js';
28
- import { C as Client$m } from './environments.d-CP2gV7vw.js';
28
+ import { C as Client$m } from './environments.d-840_mC07.js';
29
29
  import { C as Client$n } from './event-catalog.d-QIhhewVH.js';
30
30
  import { C as Client$o } from './file.d-CBsXF4W8.js';
31
31
  import { C as Client$p } from './iban.d-BwdiGbxi.js';
package/dist/index.js CHANGED
@@ -111,7 +111,7 @@ import {
111
111
  } from "./chunk-5SAISAQY.js";
112
112
  import {
113
113
  require_blueprint_manifest_runtime
114
- } from "./chunk-4Z6GRBDK.js";
114
+ } from "./chunk-JGIBV65B.js";
115
115
  import {
116
116
  require_calendar_runtime
117
117
  } from "./chunk-QEAIJQTE.js";
@@ -158,7 +158,7 @@ import {
158
158
  expand,
159
159
  help,
160
160
  openapi
161
- } from "./chunk-KSJGHUCG.js";
161
+ } from "./chunk-M2O7H6A2.js";
162
162
  import {
163
163
  __require
164
164
  } from "./chunk-YPSWSI3M.js";
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- // ../../node_modules/js-yaml/dist/js-yaml.mjs
3
+ // ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/dist/js-yaml.mjs
4
4
  function isNothing(subject) {
5
5
  return typeof subject === "undefined" || subject === null;
6
6
  }
@@ -864,6 +864,18 @@ function charFromCodepoint(c) {
864
864
  (c - 65536 & 1023) + 56320
865
865
  );
866
866
  }
867
+ function setProperty(object, key, value) {
868
+ if (key === "__proto__") {
869
+ Object.defineProperty(object, key, {
870
+ configurable: true,
871
+ enumerable: true,
872
+ writable: true,
873
+ value
874
+ });
875
+ } else {
876
+ object[key] = value;
877
+ }
878
+ }
867
879
  var simpleEscapeCheck = new Array(256);
868
880
  var simpleEscapeMap = new Array(256);
869
881
  for (i = 0; i < 256; i++) {
@@ -983,7 +995,7 @@ function mergeMappings(state, destination, source, overridableKeys) {
983
995
  for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
984
996
  key = sourceKeys[index];
985
997
  if (!_hasOwnProperty$1.call(destination, key)) {
986
- destination[key] = source[key];
998
+ setProperty(destination, key, source[key]);
987
999
  overridableKeys[key] = true;
988
1000
  }
989
1001
  }
@@ -1023,16 +1035,7 @@ function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valu
1023
1035
  state.position = startPos || state.position;
1024
1036
  throwError(state, "duplicated mapping key");
1025
1037
  }
1026
- if (keyNode === "__proto__") {
1027
- Object.defineProperty(_result, keyNode, {
1028
- configurable: true,
1029
- enumerable: true,
1030
- writable: true,
1031
- value: valueNode
1032
- });
1033
- } else {
1034
- _result[keyNode] = valueNode;
1035
- }
1038
+ setProperty(_result, keyNode, valueNode);
1036
1039
  delete overridableKeys[keyNode];
1037
1040
  }
1038
1041
  return _result;
@@ -2620,7 +2623,6 @@ var jsYaml = {
2620
2623
  safeLoadAll,
2621
2624
  safeDump
2622
2625
  };
2623
- var js_yaml_default = jsYaml;
2624
2626
  export {
2625
2627
  CORE_SCHEMA,
2626
2628
  DEFAULT_SCHEMA,
@@ -2629,7 +2631,7 @@ export {
2629
2631
  Schema,
2630
2632
  Type,
2631
2633
  YAMLException,
2632
- js_yaml_default as default,
2634
+ jsYaml as default,
2633
2635
  dump,
2634
2636
  load,
2635
2637
  loadAll,
@@ -2641,5 +2643,5 @@ export {
2641
2643
  /*! Bundled license information:
2642
2644
 
2643
2645
  js-yaml/dist/js-yaml.mjs:
2644
- (*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT *)
2646
+ (*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT *)
2645
2647
  */
@@ -68,6 +68,7 @@ const { data } = await blueprintManifestClient.getJob(...)
68
68
  - [`listBlueprintJobs`](#listblueprintjobs)
69
69
  - [`getBlueprintJob`](#getblueprintjob)
70
70
  - [`continueInstallationJob`](#continueinstallationjob)
71
+ - [`retryInstallationJob`](#retryinstallationjob)
71
72
  - [`cancelBlueprintJob`](#cancelblueprintjob)
72
73
 
73
74
  **Marketplace Listings**
@@ -146,6 +147,7 @@ const { data } = await blueprintManifestClient.getJob(...)
146
147
  - [`FieldDiff`](#fielddiff)
147
148
  - [`BlueprintJobEvent`](#blueprintjobevent)
148
149
  - [`BlueprintInstallationJobOptions`](#blueprintinstallationjoboptions)
150
+ - [`ContinueInstallationJobRequest`](#continueinstallationjobrequest)
149
151
  - [`ManifestID`](#manifestid)
150
152
  - [`JobID`](#jobid)
151
153
  - [`ManifestSource`](#manifestsource)
@@ -1984,7 +1986,8 @@ const { data } = await client.continueInstallationJob(
1984
1986
  },
1985
1987
  {
1986
1988
  resources_to_ignore: ['string'],
1987
- sync_notes: false
1989
+ sync_notes: false,
1990
+ source_auth_token: 'string'
1988
1991
  },
1989
1992
  )
1990
1993
  ```
@@ -2054,6 +2057,10 @@ const { data } = await client.continueInstallationJob(
2054
2057
  "error_data": {}
2055
2058
  }
2056
2059
  ],
2060
+ "options": {
2061
+ "resources_to_ignore": ["string"],
2062
+ "sync_notes": false
2063
+ },
2057
2064
  "status": "IN_PROGRESS"
2058
2065
  }
2059
2066
  ```
@@ -2062,6 +2069,22 @@ const { data } = await client.continueInstallationJob(
2062
2069
 
2063
2070
  ---
2064
2071
 
2072
+ ### `retryInstallationJob`
2073
+
2074
+ Retry a finished V3 installation job whose status is `FAILED` or
2075
+ `PARTIAL_SUCCESS`. Starts a fresh install job (new `job_id`) with the same
2076
+ source/destination and `auto_apply: true` — no `:continue` c
2077
+
2078
+ `POST /v2/blueprint-manifest/jobs/{job_id}:retry`
2079
+
2080
+ ```ts
2081
+ const { data } = await client.retryInstallationJob({
2082
+ job_id: 'example',
2083
+ })
2084
+ ```
2085
+
2086
+ ---
2087
+
2065
2088
  ### `cancelBlueprintJob`
2066
2089
 
2067
2090
  Cancel a blueprint job if it is still running.
@@ -3206,6 +3229,10 @@ const { data } = await client.listBulkInstallTargetsV3({
3206
3229
  "error_data": {}
3207
3230
  }
3208
3231
  ],
3232
+ "options": {
3233
+ "resources_to_ignore": ["string"],
3234
+ "sync_notes": false
3235
+ },
3209
3236
  "status": "IN_PROGRESS"
3210
3237
  }
3211
3238
  }
@@ -3311,6 +3338,10 @@ const { data } = await client.retryBulkInstallTargetV3(
3311
3338
  "error_data": {}
3312
3339
  }
3313
3340
  ],
3341
+ "options": {
3342
+ "resources_to_ignore": ["string"],
3343
+ "sync_notes": false
3344
+ },
3314
3345
  "status": "IN_PROGRESS"
3315
3346
  }
3316
3347
  }
@@ -4669,7 +4700,11 @@ type BlueprintInstallationJob = {
4669
4700
  error_code?: string
4670
4701
  error_data?: Record<string, unknown>
4671
4702
  }>
4672
- status?: "IN_PROGRESS" | "WAITING_USER_ACTION" | "CANCELED" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
4703
+ options?: {
4704
+ resources_to_ignore?: string[]
4705
+ sync_notes?: boolean
4706
+ }
4707
+ status?: "IN_PROGRESS" | "WAITING_USER_ACTION" | "REAUTH_REQUIRED" | "CANCELED" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
4673
4708
  }
4674
4709
  ```
4675
4710
 
@@ -4780,7 +4815,11 @@ type BulkInstallTarget = {
4780
4815
  error_code?: { ... }
4781
4816
  error_data?: { ... }
4782
4817
  }>
4783
- status?: "IN_PROGRESS" | "WAITING_USER_ACTION" | "CANCELED" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
4818
+ options?: {
4819
+ resources_to_ignore?: { ... }
4820
+ sync_notes?: { ... }
4821
+ }
4822
+ status?: "IN_PROGRESS" | "WAITING_USER_ACTION" | "REAUTH_REQUIRED" | "CANCELED" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
4784
4823
  }
4785
4824
  }
4786
4825
  ```
@@ -4812,6 +4851,7 @@ type BulkInstallTargetList = {
4812
4851
  slug?: { ... }
4813
4852
  sync_engine?: { ... }
4814
4853
  resource_progress?: { ... }
4854
+ options?: { ... }
4815
4855
  status?: { ... }
4816
4856
  }
4817
4857
  }>
@@ -5198,7 +5238,11 @@ type BlueprintJob = {
5198
5238
  error_code?: string
5199
5239
  error_data?: Record<string, unknown>
5200
5240
  }>
5201
- status?: "IN_PROGRESS" | "WAITING_USER_ACTION" | "CANCELED" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
5241
+ options?: {
5242
+ resources_to_ignore?: string[]
5243
+ sync_notes?: boolean
5244
+ }
5245
+ status?: "IN_PROGRESS" | "WAITING_USER_ACTION" | "REAUTH_REQUIRED" | "CANCELED" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
5202
5246
  } | {
5203
5247
  id?: string
5204
5248
  events?: Array<{
@@ -5219,10 +5263,6 @@ type BlueprintJob = {
5219
5263
  triggered_at?: string // date-time
5220
5264
  created_by?: {
5221
5265
  name?: unknown
5222
- org_id: string
5223
- user_id?: string
5224
- token_id?: string
5225
- }
5226
5266
  // ...
5227
5267
  }
5228
5268
  ```
@@ -5479,6 +5519,16 @@ type BlueprintInstallationJobOptions = {
5479
5519
  }
5480
5520
  ```
5481
5521
 
5522
+ ### `ContinueInstallationJobRequest`
5523
+
5524
+ ```ts
5525
+ type ContinueInstallationJobRequest = {
5526
+ resources_to_ignore?: string[]
5527
+ sync_notes?: boolean
5528
+ source_auth_token?: string // password
5529
+ }
5530
+ ```
5531
+
5482
5532
  ### `ManifestID`
5483
5533
 
5484
5534
  ID of an imported / installed manifest
@@ -5509,7 +5559,7 @@ type Manifest = {
5509
5559
  previous_jobs_ids?: string[]
5510
5560
  previous_jobs?: Array<{
5511
5561
  job_id?: string
5512
- job_status?: "PENDING" | "STARTED" | "WAITING_USER_ACTION" | "CANCELED" | "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
5562
+ job_status?: "PENDING" | "STARTED" | "WAITING_USER_ACTION" | "REAUTH_REQUIRED" | "CANCELED" | "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
5513
5563
  manifest_file_path?: string
5514
5564
  message?: string
5515
5565
  timestamp?: string // date-time
@@ -5662,7 +5712,7 @@ type ManifestItem = {
5662
5712
  ### `JobStatus`
5663
5713
 
5664
5714
  ```ts
5665
- type JobStatus = "PENDING" | "STARTED" | "WAITING_USER_ACTION" | "CANCELED" | "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
5715
+ type JobStatus = "PENDING" | "STARTED" | "WAITING_USER_ACTION" | "REAUTH_REQUIRED" | "CANCELED" | "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
5666
5716
  ```
5667
5717
 
5668
5718
  ### `ResourceNodeType`
@@ -5813,7 +5863,7 @@ type ResourceNode = {
5813
5863
  ```ts
5814
5864
  type Job = {
5815
5865
  job_id?: string
5816
- job_status?: "PENDING" | "STARTED" | "WAITING_USER_ACTION" | "CANCELED" | "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
5866
+ job_status?: "PENDING" | "STARTED" | "WAITING_USER_ACTION" | "REAUTH_REQUIRED" | "CANCELED" | "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED"
5817
5867
  manifest_file_path?: string
5818
5868
  message?: string
5819
5869
  timestamp?: string // date-time
@@ -36,8 +36,8 @@ const { data } = await environmentsClient.listEnvironmentVariables(...)
36
36
 
37
37
  **Schemas**
38
38
  - [`EnvironmentValueType`](#environmentvaluetype)
39
- - [`MapEntry`](#mapentry)
40
- - [`MapValue`](#mapvalue)
39
+ - [`EnvironmentOption`](#environmentoption)
40
+ - [`OptionsValue`](#optionsvalue)
41
41
  - [`EnvironmentValue`](#environmentvalue)
42
42
  - [`EnvironmentVariable`](#environmentvariable)
43
43
  - [`EnvironmentVariableListItem`](#environmentvariablelistitem)
@@ -291,18 +291,18 @@ const { data } = await client.deleteEnvironmentVariable({
291
291
  ### `EnvironmentValueType`
292
292
 
293
293
  The structure a variable's value holds. `SecretString` is encrypted at rest and
294
- its value is never returned. `Text`, `Number`, `Boolean` and `Map` may be
294
+ its value is never returned. `Text`, `Number`, `Boolean` and `Options` may be
295
295
  served to browser-facing consumers; `String` and `SecretString` may not.
296
296
 
297
297
 
298
298
  ```ts
299
- type EnvironmentValueType = "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map"
299
+ type EnvironmentValueType = "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Options"
300
300
  ```
301
301
 
302
- ### `MapEntry`
302
+ ### `EnvironmentOption`
303
303
 
304
304
  ```ts
305
- type MapEntry = {
305
+ type EnvironmentOption = {
306
306
  value: string
307
307
  label: string
308
308
  } | {
@@ -311,10 +311,10 @@ type MapEntry = {
311
311
  }
312
312
  ```
313
313
 
314
- ### `MapValue`
314
+ ### `OptionsValue`
315
315
 
316
316
  ```ts
317
- type MapValue = {
317
+ type OptionsValue = {
318
318
  fallbackLanguage?: string
319
319
  options: Array<{
320
320
  value: string
@@ -330,7 +330,7 @@ type MapValue = {
330
330
 
331
331
  A variable's value. The JSON type corresponds to the variable's `type`:
332
332
  `String`, `SecretString` and `Text` are strings, `Number` is a number,
333
- `Boolean` is a boolean, and `Map` is an object. Numbers are IEEE 754
333
+ `Boolean` is a boolean, and `Options` is an object. Numbers are IEEE 754
334
334
  doubles; integers above 2^53 may lose precision on round-trip.
335
335
 
336
336
 
@@ -352,7 +352,7 @@ type EnvironmentValue = string | number | boolean | {
352
352
  ```ts
353
353
  type EnvironmentVariable = {
354
354
  key: string
355
- type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map"
355
+ type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Options"
356
356
  description?: string
357
357
  group?: string
358
358
  value?: string | number | boolean | {
@@ -376,7 +376,7 @@ type EnvironmentVariable = {
376
376
  ```ts
377
377
  type EnvironmentVariableListItem = {
378
378
  key: string
379
- type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map"
379
+ type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Options"
380
380
  description?: string
381
381
  group?: string
382
382
  value?: string | number | boolean | {
@@ -401,7 +401,7 @@ type EnvironmentVariableListItem = {
401
401
  type EnvironmentVariableList = {
402
402
  items: Array<{
403
403
  key: string
404
- type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map"
404
+ type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Options"
405
405
  description?: string
406
406
  group?: string
407
407
  value?: string | number | boolean | {
@@ -420,7 +420,7 @@ type EnvironmentVariableList = {
420
420
  ```ts
421
421
  type EnvironmentVariableCreateRequest = {
422
422
  key: string
423
- type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map"
423
+ type: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Options"
424
424
  description?: string
425
425
  group?: string
426
426
  value?: string | number | boolean | {
@@ -441,7 +441,7 @@ type EnvironmentVariableCreateRequest = {
441
441
 
442
442
  ```ts
443
443
  type EnvironmentVariableUpdateRequest = {
444
- type?: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Map"
444
+ type?: "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Options"
445
445
  value?: string | number | boolean | {
446
446
  fallbackLanguage?: string
447
447
  options: Array<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/sdk",
3
- "version": "2.19.11-alpha.0",
3
+ "version": "2.19.11",
4
4
  "description": "JavaScript/TypeScript SDK for epilot APIs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -322,16 +322,6 @@
322
322
  },
323
323
  "./workflow-definition/openapi.json": "./definitions/workflow-definition.json"
324
324
  },
325
- "scripts": {
326
- "generate": "tsx ../../scripts/generate-sdk-v2.ts && pnpm lint:fix",
327
- "build": "tsup",
328
- "build:watch": "tsup --watch",
329
- "test": "vitest run",
330
- "test:watch": "vitest",
331
- "lint": "biome check src",
332
- "lint:fix": "biome check src --fix",
333
- "prepublishOnly": "npm run build"
334
- },
335
325
  "keywords": [
336
326
  "epilot",
337
327
  "sdk",
@@ -525,5 +515,14 @@
525
515
  "./dist/apis/workflow-definition.d.ts"
526
516
  ]
527
517
  }
518
+ },
519
+ "scripts": {
520
+ "generate": "tsx ../../scripts/generate-sdk-v2.ts && pnpm lint:fix",
521
+ "build": "tsup",
522
+ "build:watch": "tsup --watch",
523
+ "test": "vitest run",
524
+ "test:watch": "vitest",
525
+ "lint": "biome check src",
526
+ "lint:fix": "biome check src --fix"
528
527
  }
529
- }
528
+ }