@epilot/sdk 2.8.3 → 2.8.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 (147) hide show
  1. package/definitions/blueprint-manifest-runtime.json +1 -1
  2. package/definitions/blueprint-manifest.json +571 -1
  3. package/definitions/snapshot-runtime.json +1 -1
  4. package/definitions/snapshot.json +222 -6
  5. package/dist/README-NBWAQWQS.js +7 -0
  6. package/dist/README-XCIDDEAE.cjs +7 -0
  7. package/dist/apis/access-token.cjs +6 -6
  8. package/dist/apis/access-token.js +1 -1
  9. package/dist/apis/address-suggestions.cjs +6 -6
  10. package/dist/apis/address-suggestions.js +1 -1
  11. package/dist/apis/address.cjs +6 -6
  12. package/dist/apis/address.js +1 -1
  13. package/dist/apis/ai-agents.cjs +6 -6
  14. package/dist/apis/ai-agents.js +1 -1
  15. package/dist/apis/app.cjs +6 -6
  16. package/dist/apis/app.js +1 -1
  17. package/dist/apis/audit-logs.cjs +6 -6
  18. package/dist/apis/audit-logs.js +1 -1
  19. package/dist/apis/automation.cjs +6 -6
  20. package/dist/apis/automation.js +1 -1
  21. package/dist/apis/billing.cjs +6 -6
  22. package/dist/apis/billing.js +1 -1
  23. package/dist/apis/blueprint-manifest.cjs +8 -8
  24. package/dist/apis/blueprint-manifest.d.cts +2 -2
  25. package/dist/apis/blueprint-manifest.d.ts +2 -2
  26. package/dist/apis/blueprint-manifest.js +2 -2
  27. package/dist/apis/calendar.cjs +6 -6
  28. package/dist/apis/calendar.js +1 -1
  29. package/dist/apis/configuration-hub.cjs +6 -6
  30. package/dist/apis/configuration-hub.js +1 -1
  31. package/dist/apis/consent.cjs +6 -6
  32. package/dist/apis/consent.js +1 -1
  33. package/dist/apis/customer-portal.cjs +6 -6
  34. package/dist/apis/customer-portal.js +1 -1
  35. package/dist/apis/dashboard.cjs +6 -6
  36. package/dist/apis/dashboard.js +1 -1
  37. package/dist/apis/data-governance.cjs +6 -6
  38. package/dist/apis/data-governance.js +1 -1
  39. package/dist/apis/deduplication.cjs +6 -6
  40. package/dist/apis/deduplication.js +1 -1
  41. package/dist/apis/design.cjs +6 -6
  42. package/dist/apis/design.js +1 -1
  43. package/dist/apis/document.cjs +6 -6
  44. package/dist/apis/document.js +1 -1
  45. package/dist/apis/email-settings.cjs +6 -6
  46. package/dist/apis/email-settings.js +1 -1
  47. package/dist/apis/email-template.cjs +6 -6
  48. package/dist/apis/email-template.js +1 -1
  49. package/dist/apis/entity-mapping.cjs +6 -6
  50. package/dist/apis/entity-mapping.js +1 -1
  51. package/dist/apis/entity.cjs +6 -6
  52. package/dist/apis/entity.js +1 -1
  53. package/dist/apis/environments.cjs +6 -6
  54. package/dist/apis/environments.js +1 -1
  55. package/dist/apis/event-catalog.cjs +6 -6
  56. package/dist/apis/event-catalog.js +1 -1
  57. package/dist/apis/file.cjs +6 -6
  58. package/dist/apis/file.js +1 -1
  59. package/dist/apis/iban.cjs +6 -6
  60. package/dist/apis/iban.js +1 -1
  61. package/dist/apis/integration-toolkit.cjs +6 -6
  62. package/dist/apis/integration-toolkit.js +1 -1
  63. package/dist/apis/journey.cjs +6 -6
  64. package/dist/apis/journey.js +1 -1
  65. package/dist/apis/kanban.cjs +6 -6
  66. package/dist/apis/kanban.js +1 -1
  67. package/dist/apis/message.cjs +6 -6
  68. package/dist/apis/message.js +1 -1
  69. package/dist/apis/metering.cjs +6 -6
  70. package/dist/apis/metering.js +1 -1
  71. package/dist/apis/notes.cjs +6 -6
  72. package/dist/apis/notes.js +1 -1
  73. package/dist/apis/notification.cjs +6 -6
  74. package/dist/apis/notification.js +1 -1
  75. package/dist/apis/organization.cjs +6 -6
  76. package/dist/apis/organization.js +1 -1
  77. package/dist/apis/partner-directory.cjs +6 -6
  78. package/dist/apis/partner-directory.js +1 -1
  79. package/dist/apis/permissions.cjs +6 -6
  80. package/dist/apis/permissions.js +1 -1
  81. package/dist/apis/pricing-tier.cjs +6 -6
  82. package/dist/apis/pricing-tier.js +1 -1
  83. package/dist/apis/pricing.cjs +6 -6
  84. package/dist/apis/pricing.js +1 -1
  85. package/dist/apis/purpose.cjs +6 -6
  86. package/dist/apis/purpose.js +1 -1
  87. package/dist/apis/query.cjs +6 -6
  88. package/dist/apis/query.js +1 -1
  89. package/dist/apis/sandbox.cjs +6 -6
  90. package/dist/apis/sandbox.js +1 -1
  91. package/dist/apis/sharing.cjs +6 -6
  92. package/dist/apis/sharing.js +1 -1
  93. package/dist/apis/snapshot.cjs +8 -8
  94. package/dist/apis/snapshot.d.cts +2 -2
  95. package/dist/apis/snapshot.d.ts +2 -2
  96. package/dist/apis/snapshot.js +2 -2
  97. package/dist/apis/submission.cjs +6 -6
  98. package/dist/apis/submission.js +1 -1
  99. package/dist/apis/target.cjs +6 -6
  100. package/dist/apis/target.js +1 -1
  101. package/dist/apis/targeting.cjs +6 -6
  102. package/dist/apis/targeting.js +1 -1
  103. package/dist/apis/template-variables.cjs +6 -6
  104. package/dist/apis/template-variables.js +1 -1
  105. package/dist/apis/user.cjs +6 -6
  106. package/dist/apis/user.js +1 -1
  107. package/dist/apis/validation-rules.cjs +6 -6
  108. package/dist/apis/validation-rules.js +1 -1
  109. package/dist/apis/webhooks.cjs +6 -6
  110. package/dist/apis/webhooks.js +1 -1
  111. package/dist/apis/workflow-definition.cjs +6 -6
  112. package/dist/apis/workflow-definition.js +1 -1
  113. package/dist/apis/workflow.cjs +6 -6
  114. package/dist/apis/workflow.js +1 -1
  115. package/dist/blueprint-manifest-WHYSBU66.cjs +7 -0
  116. package/dist/blueprint-manifest-WZVBTKUL.js +7 -0
  117. package/dist/{blueprint-manifest-runtime-FRLU3ZSF.js → blueprint-manifest-runtime-2344IUIE.js} +1 -1
  118. package/dist/{blueprint-manifest-runtime-EIDOROIQ.cjs → blueprint-manifest-runtime-WU5MWPVT.cjs} +2 -2
  119. package/dist/{blueprint-manifest.d-B8yDxagC.d.cts → blueprint-manifest.d-2-TORV8o.d.cts} +926 -4
  120. package/dist/{blueprint-manifest.d-B8yDxagC.d.ts → blueprint-manifest.d-2-TORV8o.d.ts} +926 -4
  121. package/dist/chunk-4SZCKUY2.js +14 -0
  122. package/dist/{chunk-76M3RIDP.js → chunk-5FXMXMNX.js} +5 -5
  123. package/dist/{chunk-NGHCQ2FA.cjs → chunk-T57MT6J5.cjs} +1 -1
  124. package/dist/chunk-ULKFBO7E.cjs +14 -0
  125. package/dist/{chunk-4YBWMDFP.js → chunk-UWGWRGGB.js} +1 -1
  126. package/dist/{chunk-FBQ4WDTG.cjs → chunk-XRIEGQXL.cjs} +5 -5
  127. package/dist/index.cjs +12 -12
  128. package/dist/index.d.cts +2 -2
  129. package/dist/index.d.ts +2 -2
  130. package/dist/index.js +3 -3
  131. package/dist/snapshot-GDJOEFJQ.js +7 -0
  132. package/dist/snapshot-UKV54UQQ.cjs +7 -0
  133. package/dist/{snapshot-runtime-NWQYU5UK.cjs → snapshot-runtime-5TT575JS.cjs} +2 -2
  134. package/dist/{snapshot-runtime-ALPJLXVW.js → snapshot-runtime-KWRGOKF4.js} +1 -1
  135. package/dist/{snapshot.d-DvoJ2n-v.d.cts → snapshot.d-C-n4wkIu.d.cts} +224 -62
  136. package/dist/{snapshot.d-DvoJ2n-v.d.ts → snapshot.d-C-n4wkIu.d.ts} +224 -62
  137. package/docs/blueprint-manifest.md +421 -95
  138. package/docs/snapshot.md +168 -15
  139. package/package.json +1 -1
  140. package/dist/README-46VYEGGW.js +0 -7
  141. package/dist/README-IVBISSWB.cjs +0 -7
  142. package/dist/blueprint-manifest-6DEYW5MW.js +0 -7
  143. package/dist/blueprint-manifest-GCV7H74X.cjs +0 -7
  144. package/dist/chunk-BJGLY4Z2.js +0 -14
  145. package/dist/chunk-K2QVMO5M.cjs +0 -14
  146. package/dist/snapshot-427N6KCO.js +0 -7
  147. package/dist/snapshot-NEMUND3M.cjs +0 -7
@@ -8,6 +8,13 @@ declare namespace Components {
8
8
  export type BadRequest = Schemas.Error;
9
9
  export type NotFound = Schemas.Error;
10
10
  export type Unauthorized = Schemas.Error;
11
+ export type UnprocessableEntity = /**
12
+ * Returned (422) when the org inventory contains no capturable resources
13
+ * after filtering out sensitive, unsupported, and excluded types. The
14
+ * `skipped_types` array explains why every type was dropped.
15
+ *
16
+ */
17
+ Schemas.EmptyInventoryError;
11
18
  }
12
19
  namespace Schemas {
13
20
  export interface CallerIdentity {
@@ -15,15 +22,43 @@ declare namespace Components {
15
22
  user_id?: string;
16
23
  token_id?: string;
17
24
  }
25
+ /**
26
+ * Request body for `captureOrgSnapshot`. All fields optional — an empty body
27
+ * snapshots the whole org with a default name and the 90-day default TTL.
28
+ *
29
+ */
30
+ export interface CreateOrgSnapshotRequest {
31
+ /**
32
+ * Snapshot name. Defaults to "Org snapshot — <ISO timestamp>".
33
+ */
34
+ name?: string;
35
+ /**
36
+ * Retention window. Converted to an absolute `expires_at` at creation
37
+ * time. Omit for the default 90-day TTL.
38
+ *
39
+ */
40
+ retention?: {
41
+ value: number;
42
+ unit: "days" | "weeks" | "months";
43
+ };
44
+ /**
45
+ * Resource types to exclude from the capture, in addition to the
46
+ * always-excluded sensitive types (`access_token`,
47
+ * `environment_variable`).
48
+ *
49
+ */
50
+ excluded_types?: string[];
51
+ }
18
52
  export interface CreateSnapshotRequest {
19
53
  name: string;
20
54
  description?: string;
21
55
  /**
22
- * What initiated this snapshot. `scheduled` may be added in a later
23
- * phase for nightly backups (RFC OQ #3).
56
+ * What initiated this snapshot. `scheduled` is used for automatic
57
+ * nightly backups triggered by an org's EventBridge schedule
58
+ * (RFC — Scheduled org snapshots).
24
59
  *
25
60
  */
26
- trigger?: "manual" | "sync" | "blueprint_install";
61
+ trigger?: "manual" | "sync" | "blueprint_install" | "scheduled";
27
62
  /**
28
63
  * Required iff `trigger === 'blueprint_install'`; forbidden otherwise.
29
64
  * Identifies the destination blueprint instance whose install this
@@ -48,6 +83,23 @@ declare namespace Components {
48
83
  status: "creating";
49
84
  created_at: string; // date-time
50
85
  }
86
+ /**
87
+ * Returned (422) when the org inventory contains no capturable resources
88
+ * after filtering out sensitive, unsupported, and excluded types. The
89
+ * `skipped_types` array explains why every type was dropped.
90
+ *
91
+ */
92
+ export interface EmptyInventoryError {
93
+ /**
94
+ * example:
95
+ * No capturable resources in the org inventory
96
+ */
97
+ message: string;
98
+ skipped_types: {
99
+ type: string;
100
+ reason: string;
101
+ }[];
102
+ }
51
103
  export interface Error {
52
104
  status: number;
53
105
  error: string;
@@ -56,9 +108,22 @@ declare namespace Components {
56
108
  type: "create" | "restore";
57
109
  started_at: string; // date-time
58
110
  completed_at?: string; // date-time
59
- status: "in_progress" | "completed" | "failed";
111
+ /**
112
+ * `partial` indicates the operation completed but skipped at least
113
+ * one resource — see `skipped`. Only populated by restores triggered
114
+ * with `mode: 'preserve_edits'`.
115
+ *
116
+ */
117
+ status: "in_progress" | "completed" | "partial" | "failed";
60
118
  error?: string;
61
119
  triggered_by: CallerIdentity;
120
+ /**
121
+ * Per-resource skips, populated only for restores triggered with
122
+ * `mode: 'preserve_edits'`. Empty / absent for Config Hub's
123
+ * default overwrite-mode restores.
124
+ *
125
+ */
126
+ skipped?: SkippedResource[];
62
127
  }
63
128
  export interface ResourceRef {
64
129
  /**
@@ -67,16 +132,53 @@ declare namespace Components {
67
132
  type: string;
68
133
  id: string;
69
134
  }
135
+ /**
136
+ * Both flags default to `false`, which restores every captured resource —
137
+ * Config Hub's manual-restore semantics. blueprint-manifest-api sets
138
+ * both `true` when reverting a blueprint install so user edits and
139
+ * cross-blueprint contributions survive. Each flag is independent so a
140
+ * caller can preserve edits without preserving co-ownership (or vice
141
+ * versa). Skipped resources surface under `Operation.skipped`.
142
+ *
143
+ */
144
+ export interface RestoreSnapshotRequest {
145
+ /**
146
+ * When `true`, skip captured resources whose live destination payload
147
+ * has diverged from the install-time fingerprint stored on lineage.
148
+ * Surfaces under `Operation.skipped` with `reason: 'modified'`.
149
+ *
150
+ */
151
+ preserve_modified?: boolean;
152
+ /**
153
+ * When `true`, skip captured resources whose lineage row carries
154
+ * another blueprint instance's id (co-ownership ≥2). Surfaces under
155
+ * `Operation.skipped` with `reason: 'co_owned'`.
156
+ *
157
+ */
158
+ preserve_co_owned?: boolean;
159
+ }
70
160
  export interface RestoreSnapshotResponse {
71
161
  id: string;
72
162
  status: "restoring";
73
163
  }
164
+ export interface SkippedResource {
165
+ lineage_id: string;
166
+ /**
167
+ * - `modified` — current destination payload's fingerprint differs
168
+ * from the install-time fingerprint on the lineage row.
169
+ * - `co_owned` — lineage row has ≥2 distinct
170
+ * `blueprint_instance_ids`; restoring would unilaterally affect
171
+ * another blueprint instance's contribution.
172
+ *
173
+ */
174
+ reason: "modified" | "co_owned";
175
+ }
74
176
  export interface Snapshot {
75
177
  id: string;
76
178
  org_id: string;
77
179
  name: string;
78
180
  description?: string;
79
- trigger: "manual" | "sync" | "blueprint_install";
181
+ trigger: "manual" | "sync" | "blueprint_install" | "scheduled";
80
182
  /**
81
183
  * Set iff `trigger === 'blueprint_install'`. The destination blueprint
82
184
  * instance this snapshot covers.
@@ -100,6 +202,48 @@ declare namespace Components {
100
202
  *
101
203
  */
102
204
  matched_count?: number;
205
+ /**
206
+ * Capture scope. `selection` (default for manual/sync/blueprint_install)
207
+ * means only the explicitly listed resources were snapshotted.
208
+ * `org` means a full org inventory was discovered and captured
209
+ * (scheduled snapshots set this automatically).
210
+ *
211
+ */
212
+ scope?: "selection" | "org";
213
+ /**
214
+ * ISO-8601 timestamp after which this snapshot will be deleted.
215
+ * Derived from the org's retention setting at capture time for
216
+ * scheduled snapshots; not set for manual snapshots (which use
217
+ * a hardcoded 90-day TTL written directly as a DynamoDB `ttl` epoch).
218
+ *
219
+ */
220
+ expires_at?: string; // date-time
221
+ /**
222
+ * Per-snapshot coverage report set by the capture worker on completion.
223
+ * Records how many resources were attempted, captured, skipped
224
+ * (unsupported type or explicitly excluded), and failed.
225
+ *
226
+ */
227
+ capture_summary?: {
228
+ /**
229
+ * Total resources in the inventory that were attempted.
230
+ */
231
+ total: number;
232
+ /**
233
+ * Resources successfully fetched and written to the manifest.
234
+ */
235
+ captured: number;
236
+ /**
237
+ * Resources skipped — type not supported by config-engine or
238
+ * excluded from capture (e.g. access_token, environment_variable).
239
+ *
240
+ */
241
+ skipped: number;
242
+ /**
243
+ * Resources where the fetch call returned an error.
244
+ */
245
+ failed: number;
246
+ };
103
247
  }
104
248
  /**
105
249
  * A single captured resource with its full payload. The identity fields
@@ -159,6 +303,19 @@ declare namespace Components {
159
303
  }
160
304
  }
161
305
  declare namespace Paths {
306
+ namespace CaptureOrgSnapshot {
307
+ export type RequestBody = /**
308
+ * Request body for `captureOrgSnapshot`. All fields optional — an empty body
309
+ * snapshots the whole org with a default name and the 90-day default TTL.
310
+ *
311
+ */
312
+ Components.Schemas.CreateOrgSnapshotRequest;
313
+ namespace Responses {
314
+ export type $202 = Components.Schemas.CreateSnapshotResponse;
315
+ export type $401 = Components.Responses.Unauthorized;
316
+ export type $422 = Components.Responses.UnprocessableEntity;
317
+ }
318
+ }
162
319
  namespace CreateSnapshot {
163
320
  export type RequestBody = Components.Schemas.CreateSnapshotRequest;
164
321
  namespace Responses {
@@ -217,58 +374,7 @@ declare namespace Paths {
217
374
  namespace ListSnapshots {
218
375
  namespace Parameters {
219
376
  export type Cursor = string;
220
- export type Resource = [
221
- string?,
222
- string?,
223
- string?,
224
- string?,
225
- string?,
226
- string?,
227
- string?,
228
- string?,
229
- string?,
230
- string?,
231
- string?,
232
- string?,
233
- string?,
234
- string?,
235
- string?,
236
- string?,
237
- string?,
238
- string?,
239
- string?,
240
- string?,
241
- string?,
242
- string?,
243
- string?,
244
- string?,
245
- string?,
246
- string?,
247
- string?,
248
- string?,
249
- string?,
250
- string?,
251
- string?,
252
- string?,
253
- string?,
254
- string?,
255
- string?,
256
- string?,
257
- string?,
258
- string?,
259
- string?,
260
- string?,
261
- string?,
262
- string?,
263
- string?,
264
- string?,
265
- string?,
266
- string?,
267
- string?,
268
- string?,
269
- string?,
270
- string?
271
- ];
377
+ export type Resource = string /* ^[^:]+:.+$ */[];
272
378
  export type Size = number;
273
379
  }
274
380
  export interface QueryParameters {
@@ -292,6 +398,16 @@ declare namespace Paths {
292
398
  }
293
399
  }
294
400
  namespace RestoreSnapshot {
401
+ export type RequestBody = /**
402
+ * Both flags default to `false`, which restores every captured resource —
403
+ * Config Hub's manual-restore semantics. blueprint-manifest-api sets
404
+ * both `true` when reverting a blueprint install so user edits and
405
+ * cross-blueprint contributions survive. Each flag is independent so a
406
+ * caller can preserve edits without preserving co-ownership (or vice
407
+ * versa). Skipped resources surface under `Operation.skipped`.
408
+ *
409
+ */
410
+ Components.Schemas.RestoreSnapshotRequest;
295
411
  namespace Responses {
296
412
  export type $202 = Components.Schemas.RestoreSnapshotResponse;
297
413
  export type $401 = Components.Responses.Unauthorized;
@@ -366,6 +482,26 @@ interface OperationMethods {
366
482
  data?: Paths.CreateSnapshot.RequestBody,
367
483
  config?: AxiosRequestConfig
368
484
  ): OperationResponse<Paths.CreateSnapshot.Responses.$202>
485
+ /**
486
+ * captureOrgSnapshot - captureOrgSnapshot
487
+ *
488
+ * Snapshot the caller's whole organization now. Fetches a fresh inventory
489
+ * of the org's configuration resources from configuration-hub-api, persists
490
+ * it as an inventory artifact, and starts a `scope: "org"` chunked capture.
491
+ * Async — returns immediately with a snapshot ID; client polls `getSnapshot`
492
+ * and watches `capture_summary` fill in until `create.status` moves from
493
+ * `in_progress` to `completed` or `failed`.
494
+ *
495
+ * Sensitive types (`access_token`, `environment_variable`), types with no
496
+ * engine adapter, and any `excluded_types` are dropped from the capture and
497
+ * recorded in the snapshot's coverage report.
498
+ *
499
+ */
500
+ 'captureOrgSnapshot'(
501
+ parameters?: Parameters<UnknownParamsObject> | null,
502
+ data?: Paths.CaptureOrgSnapshot.RequestBody,
503
+ config?: AxiosRequestConfig
504
+ ): OperationResponse<Paths.CaptureOrgSnapshot.Responses.$202>
369
505
  /**
370
506
  * getSnapshot - getSnapshot
371
507
  *
@@ -391,7 +527,7 @@ interface OperationMethods {
391
527
  *
392
528
  * Restore a snapshot to the org. Async — returns immediately; client polls
393
529
  * `getSnapshot` until the latest entry in `restores` moves from
394
- * `in_progress` to `completed` or `failed`.
530
+ * `in_progress` to one of `completed | partial | failed`.
395
531
  *
396
532
  * v1: full restore only. Cherry-pick (`resources?` body filter) is an open
397
533
  * question — see RFC OQ #1.
@@ -399,7 +535,7 @@ interface OperationMethods {
399
535
  */
400
536
  'restoreSnapshot'(
401
537
  parameters?: Parameters<Paths.V1Snapshots$IdRestore.PathParameters> | null,
402
- data?: any,
538
+ data?: Paths.RestoreSnapshot.RequestBody,
403
539
  config?: AxiosRequestConfig
404
540
  ): OperationResponse<Paths.RestoreSnapshot.Responses.$202>
405
541
  /**
@@ -481,6 +617,28 @@ interface PathsDictionary {
481
617
  config?: AxiosRequestConfig
482
618
  ): OperationResponse<Paths.ListSnapshots.Responses.$200>
483
619
  }
620
+ ['/v1/snapshots:capture-org']: {
621
+ /**
622
+ * captureOrgSnapshot - captureOrgSnapshot
623
+ *
624
+ * Snapshot the caller's whole organization now. Fetches a fresh inventory
625
+ * of the org's configuration resources from configuration-hub-api, persists
626
+ * it as an inventory artifact, and starts a `scope: "org"` chunked capture.
627
+ * Async — returns immediately with a snapshot ID; client polls `getSnapshot`
628
+ * and watches `capture_summary` fill in until `create.status` moves from
629
+ * `in_progress` to `completed` or `failed`.
630
+ *
631
+ * Sensitive types (`access_token`, `environment_variable`), types with no
632
+ * engine adapter, and any `excluded_types` are dropped from the capture and
633
+ * recorded in the snapshot's coverage report.
634
+ *
635
+ */
636
+ 'post'(
637
+ parameters?: Parameters<UnknownParamsObject> | null,
638
+ data?: Paths.CaptureOrgSnapshot.RequestBody,
639
+ config?: AxiosRequestConfig
640
+ ): OperationResponse<Paths.CaptureOrgSnapshot.Responses.$202>
641
+ }
484
642
  ['/v1/snapshots/{id}']: {
485
643
  /**
486
644
  * getSnapshot - getSnapshot
@@ -509,7 +667,7 @@ interface PathsDictionary {
509
667
  *
510
668
  * Restore a snapshot to the org. Async — returns immediately; client polls
511
669
  * `getSnapshot` until the latest entry in `restores` moves from
512
- * `in_progress` to `completed` or `failed`.
670
+ * `in_progress` to one of `completed | partial | failed`.
513
671
  *
514
672
  * v1: full restore only. Cherry-pick (`resources?` body filter) is an open
515
673
  * question — see RFC OQ #1.
@@ -517,7 +675,7 @@ interface PathsDictionary {
517
675
  */
518
676
  'post'(
519
677
  parameters?: Parameters<Paths.V1Snapshots$IdRestore.PathParameters> | null,
520
- data?: any,
678
+ data?: Paths.RestoreSnapshot.RequestBody,
521
679
  config?: AxiosRequestConfig
522
680
  ): OperationResponse<Paths.RestoreSnapshot.Responses.$202>
523
681
  }
@@ -577,15 +735,19 @@ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
577
735
 
578
736
 
579
737
  type CallerIdentity = Components.Schemas.CallerIdentity;
738
+ type CreateOrgSnapshotRequest = Components.Schemas.CreateOrgSnapshotRequest;
580
739
  type CreateSnapshotRequest = Components.Schemas.CreateSnapshotRequest;
581
740
  type CreateSnapshotResponse = Components.Schemas.CreateSnapshotResponse;
741
+ type EmptyInventoryError = Components.Schemas.EmptyInventoryError;
582
742
  type Error = Components.Schemas.Error;
583
743
  type Operation = Components.Schemas.Operation;
584
744
  type ResourceRef = Components.Schemas.ResourceRef;
745
+ type RestoreSnapshotRequest = Components.Schemas.RestoreSnapshotRequest;
585
746
  type RestoreSnapshotResponse = Components.Schemas.RestoreSnapshotResponse;
747
+ type SkippedResource = Components.Schemas.SkippedResource;
586
748
  type Snapshot = Components.Schemas.Snapshot;
587
749
  type SnapshotResourceDetail = Components.Schemas.SnapshotResourceDetail;
588
750
  type SnapshotResourceList = Components.Schemas.SnapshotResourceList;
589
751
  type SnapshotResourceSummary = Components.Schemas.SnapshotResourceSummary;
590
752
 
591
- export { type Client as C, type Error as E, type OperationMethods as O, Paths as P, type ResourceRef as R, type Snapshot as S, Components as a, type PathsDictionary as b, type CallerIdentity as c, type CreateSnapshotRequest as d, type CreateSnapshotResponse as e, type Operation as f, type RestoreSnapshotResponse as g, type SnapshotResourceDetail as h, type SnapshotResourceList as i, type SnapshotResourceSummary as j };
753
+ export { type Client as C, type EmptyInventoryError as E, type OperationMethods as O, Paths as P, type ResourceRef as R, type SkippedResource as S, Components as a, type PathsDictionary as b, type CallerIdentity as c, type CreateOrgSnapshotRequest as d, type CreateSnapshotRequest as e, type CreateSnapshotResponse as f, type Error as g, type Operation as h, type RestoreSnapshotRequest as i, type RestoreSnapshotResponse as j, type Snapshot as k, type SnapshotResourceDetail as l, type SnapshotResourceList as m, type SnapshotResourceSummary as n };