@epilot/sdk 2.8.3 → 2.8.4
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.
- package/definitions/blueprint-manifest-runtime.json +1 -1
- package/definitions/blueprint-manifest.json +571 -1
- package/definitions/snapshot-runtime.json +1 -1
- package/definitions/snapshot.json +55 -3
- package/dist/README-NBWAQWQS.js +7 -0
- package/dist/README-XCIDDEAE.cjs +7 -0
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +8 -8
- package/dist/apis/blueprint-manifest.d.cts +2 -2
- package/dist/apis/blueprint-manifest.d.ts +2 -2
- package/dist/apis/blueprint-manifest.js +2 -2
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +8 -8
- package/dist/apis/snapshot.d.cts +2 -2
- package/dist/apis/snapshot.d.ts +2 -2
- package/dist/apis/snapshot.js +2 -2
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/blueprint-manifest-WHYSBU66.cjs +7 -0
- package/dist/blueprint-manifest-WZVBTKUL.js +7 -0
- package/dist/{blueprint-manifest-runtime-FRLU3ZSF.js → blueprint-manifest-runtime-2344IUIE.js} +1 -1
- package/dist/{blueprint-manifest-runtime-EIDOROIQ.cjs → blueprint-manifest-runtime-WU5MWPVT.cjs} +2 -2
- package/dist/{blueprint-manifest.d-B8yDxagC.d.cts → blueprint-manifest.d-2-TORV8o.d.cts} +926 -4
- package/dist/{blueprint-manifest.d-B8yDxagC.d.ts → blueprint-manifest.d-2-TORV8o.d.ts} +926 -4
- package/dist/{chunk-K2QVMO5M.cjs → chunk-DFYZ3LS2.cjs} +1 -1
- package/dist/{chunk-BJGLY4Z2.js → chunk-GUYARNLI.js} +1 -1
- package/dist/{chunk-FBQ4WDTG.cjs → chunk-M432U2EN.cjs} +5 -5
- package/dist/{chunk-NGHCQ2FA.cjs → chunk-T57MT6J5.cjs} +1 -1
- package/dist/{chunk-76M3RIDP.js → chunk-TP3MI5V5.js} +5 -5
- package/dist/{chunk-4YBWMDFP.js → chunk-UWGWRGGB.js} +1 -1
- package/dist/index.cjs +12 -12
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/snapshot-CTKT2ILE.cjs +7 -0
- package/dist/snapshot-XYFMWDVA.js +7 -0
- package/dist/{snapshot-runtime-ALPJLXVW.js → snapshot-runtime-EXWPPYJI.js} +1 -1
- package/dist/{snapshot-runtime-NWQYU5UK.cjs → snapshot-runtime-XUQIDON7.cjs} +2 -2
- package/dist/{snapshot.d-DvoJ2n-v.d.cts → snapshot.d-BX0xhQlH.d.cts} +55 -58
- package/dist/{snapshot.d-DvoJ2n-v.d.ts → snapshot.d-BX0xhQlH.d.ts} +55 -58
- package/docs/blueprint-manifest.md +421 -95
- package/docs/snapshot.md +71 -11
- package/package.json +1 -1
- package/dist/README-46VYEGGW.js +0 -7
- package/dist/README-IVBISSWB.cjs +0 -7
- package/dist/blueprint-manifest-6DEYW5MW.js +0 -7
- package/dist/blueprint-manifest-GCV7H74X.cjs +0 -7
- package/dist/snapshot-427N6KCO.js +0 -7
- package/dist/snapshot-NEMUND3M.cjs +0 -7
|
@@ -56,9 +56,22 @@ declare namespace Components {
|
|
|
56
56
|
type: "create" | "restore";
|
|
57
57
|
started_at: string; // date-time
|
|
58
58
|
completed_at?: string; // date-time
|
|
59
|
-
|
|
59
|
+
/**
|
|
60
|
+
* `partial` indicates the operation completed but skipped at least
|
|
61
|
+
* one resource — see `skipped`. Only populated by restores triggered
|
|
62
|
+
* with `mode: 'preserve_edits'`.
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
status: "in_progress" | "completed" | "partial" | "failed";
|
|
60
66
|
error?: string;
|
|
61
67
|
triggered_by: CallerIdentity;
|
|
68
|
+
/**
|
|
69
|
+
* Per-resource skips, populated only for restores triggered with
|
|
70
|
+
* `mode: 'preserve_edits'`. Empty / absent for Config Hub's
|
|
71
|
+
* default overwrite-mode restores.
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
skipped?: SkippedResource[];
|
|
62
75
|
}
|
|
63
76
|
export interface ResourceRef {
|
|
64
77
|
/**
|
|
@@ -67,10 +80,42 @@ declare namespace Components {
|
|
|
67
80
|
type: string;
|
|
68
81
|
id: string;
|
|
69
82
|
}
|
|
83
|
+
export interface RestoreSnapshotRequest {
|
|
84
|
+
/**
|
|
85
|
+
* How to handle destination resources whose content has been modified
|
|
86
|
+
* since the snapshot was captured:
|
|
87
|
+
*
|
|
88
|
+
* - `overwrite` (default) — apply every captured payload regardless
|
|
89
|
+
* of current destination state. Matches the manual-restore
|
|
90
|
+
* semantics Config Hub relies on.
|
|
91
|
+
* - `preserve_edits` — for each captured resource, compare the live
|
|
92
|
+
* destination payload's fingerprint against the install-time
|
|
93
|
+
* fingerprint on lineage. If modified, skip and surface the
|
|
94
|
+
* entry under `Operation.skipped`. Also skips co-owned resources
|
|
95
|
+
* (lineage row carrying ≥2 distinct blueprint_instance_ids).
|
|
96
|
+
* Used by blueprint-manifest-api when reverting a blueprint
|
|
97
|
+
* install so user edits and other blueprints' contributions
|
|
98
|
+
* survive.
|
|
99
|
+
*
|
|
100
|
+
*/
|
|
101
|
+
mode?: "overwrite" | "preserve_edits";
|
|
102
|
+
}
|
|
70
103
|
export interface RestoreSnapshotResponse {
|
|
71
104
|
id: string;
|
|
72
105
|
status: "restoring";
|
|
73
106
|
}
|
|
107
|
+
export interface SkippedResource {
|
|
108
|
+
lineage_id: string;
|
|
109
|
+
/**
|
|
110
|
+
* - `modified` — current destination payload's fingerprint differs
|
|
111
|
+
* from the install-time fingerprint on the lineage row.
|
|
112
|
+
* - `co_owned` — lineage row has ≥2 distinct
|
|
113
|
+
* `blueprint_instance_ids`; restoring would unilaterally affect
|
|
114
|
+
* another blueprint instance's contribution.
|
|
115
|
+
*
|
|
116
|
+
*/
|
|
117
|
+
reason: "modified" | "co_owned";
|
|
118
|
+
}
|
|
74
119
|
export interface Snapshot {
|
|
75
120
|
id: string;
|
|
76
121
|
org_id: string;
|
|
@@ -217,58 +262,7 @@ declare namespace Paths {
|
|
|
217
262
|
namespace ListSnapshots {
|
|
218
263
|
namespace Parameters {
|
|
219
264
|
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
|
-
];
|
|
265
|
+
export type Resource = string /* ^[^:]+:.+$ */[];
|
|
272
266
|
export type Size = number;
|
|
273
267
|
}
|
|
274
268
|
export interface QueryParameters {
|
|
@@ -292,6 +286,7 @@ declare namespace Paths {
|
|
|
292
286
|
}
|
|
293
287
|
}
|
|
294
288
|
namespace RestoreSnapshot {
|
|
289
|
+
export type RequestBody = Components.Schemas.RestoreSnapshotRequest;
|
|
295
290
|
namespace Responses {
|
|
296
291
|
export type $202 = Components.Schemas.RestoreSnapshotResponse;
|
|
297
292
|
export type $401 = Components.Responses.Unauthorized;
|
|
@@ -391,7 +386,7 @@ interface OperationMethods {
|
|
|
391
386
|
*
|
|
392
387
|
* Restore a snapshot to the org. Async — returns immediately; client polls
|
|
393
388
|
* `getSnapshot` until the latest entry in `restores` moves from
|
|
394
|
-
* `in_progress` to `completed
|
|
389
|
+
* `in_progress` to one of `completed | partial | failed`.
|
|
395
390
|
*
|
|
396
391
|
* v1: full restore only. Cherry-pick (`resources?` body filter) is an open
|
|
397
392
|
* question — see RFC OQ #1.
|
|
@@ -399,7 +394,7 @@ interface OperationMethods {
|
|
|
399
394
|
*/
|
|
400
395
|
'restoreSnapshot'(
|
|
401
396
|
parameters?: Parameters<Paths.V1Snapshots$IdRestore.PathParameters> | null,
|
|
402
|
-
data?:
|
|
397
|
+
data?: Paths.RestoreSnapshot.RequestBody,
|
|
403
398
|
config?: AxiosRequestConfig
|
|
404
399
|
): OperationResponse<Paths.RestoreSnapshot.Responses.$202>
|
|
405
400
|
/**
|
|
@@ -509,7 +504,7 @@ interface PathsDictionary {
|
|
|
509
504
|
*
|
|
510
505
|
* Restore a snapshot to the org. Async — returns immediately; client polls
|
|
511
506
|
* `getSnapshot` until the latest entry in `restores` moves from
|
|
512
|
-
* `in_progress` to `completed
|
|
507
|
+
* `in_progress` to one of `completed | partial | failed`.
|
|
513
508
|
*
|
|
514
509
|
* v1: full restore only. Cherry-pick (`resources?` body filter) is an open
|
|
515
510
|
* question — see RFC OQ #1.
|
|
@@ -517,7 +512,7 @@ interface PathsDictionary {
|
|
|
517
512
|
*/
|
|
518
513
|
'post'(
|
|
519
514
|
parameters?: Parameters<Paths.V1Snapshots$IdRestore.PathParameters> | null,
|
|
520
|
-
data?:
|
|
515
|
+
data?: Paths.RestoreSnapshot.RequestBody,
|
|
521
516
|
config?: AxiosRequestConfig
|
|
522
517
|
): OperationResponse<Paths.RestoreSnapshot.Responses.$202>
|
|
523
518
|
}
|
|
@@ -582,10 +577,12 @@ type CreateSnapshotResponse = Components.Schemas.CreateSnapshotResponse;
|
|
|
582
577
|
type Error = Components.Schemas.Error;
|
|
583
578
|
type Operation = Components.Schemas.Operation;
|
|
584
579
|
type ResourceRef = Components.Schemas.ResourceRef;
|
|
580
|
+
type RestoreSnapshotRequest = Components.Schemas.RestoreSnapshotRequest;
|
|
585
581
|
type RestoreSnapshotResponse = Components.Schemas.RestoreSnapshotResponse;
|
|
582
|
+
type SkippedResource = Components.Schemas.SkippedResource;
|
|
586
583
|
type Snapshot = Components.Schemas.Snapshot;
|
|
587
584
|
type SnapshotResourceDetail = Components.Schemas.SnapshotResourceDetail;
|
|
588
585
|
type SnapshotResourceList = Components.Schemas.SnapshotResourceList;
|
|
589
586
|
type SnapshotResourceSummary = Components.Schemas.SnapshotResourceSummary;
|
|
590
587
|
|
|
591
|
-
export { type Client as C, type Error as E, type OperationMethods as O, Paths as P, type ResourceRef as R, type
|
|
588
|
+
export { type Client as C, type Error 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 CreateSnapshotRequest as d, type CreateSnapshotResponse as e, type Operation as f, type RestoreSnapshotRequest as g, type RestoreSnapshotResponse as h, type Snapshot as i, type SnapshotResourceDetail as j, type SnapshotResourceList as k, type SnapshotResourceSummary as l };
|
|
@@ -56,9 +56,22 @@ declare namespace Components {
|
|
|
56
56
|
type: "create" | "restore";
|
|
57
57
|
started_at: string; // date-time
|
|
58
58
|
completed_at?: string; // date-time
|
|
59
|
-
|
|
59
|
+
/**
|
|
60
|
+
* `partial` indicates the operation completed but skipped at least
|
|
61
|
+
* one resource — see `skipped`. Only populated by restores triggered
|
|
62
|
+
* with `mode: 'preserve_edits'`.
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
status: "in_progress" | "completed" | "partial" | "failed";
|
|
60
66
|
error?: string;
|
|
61
67
|
triggered_by: CallerIdentity;
|
|
68
|
+
/**
|
|
69
|
+
* Per-resource skips, populated only for restores triggered with
|
|
70
|
+
* `mode: 'preserve_edits'`. Empty / absent for Config Hub's
|
|
71
|
+
* default overwrite-mode restores.
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
skipped?: SkippedResource[];
|
|
62
75
|
}
|
|
63
76
|
export interface ResourceRef {
|
|
64
77
|
/**
|
|
@@ -67,10 +80,42 @@ declare namespace Components {
|
|
|
67
80
|
type: string;
|
|
68
81
|
id: string;
|
|
69
82
|
}
|
|
83
|
+
export interface RestoreSnapshotRequest {
|
|
84
|
+
/**
|
|
85
|
+
* How to handle destination resources whose content has been modified
|
|
86
|
+
* since the snapshot was captured:
|
|
87
|
+
*
|
|
88
|
+
* - `overwrite` (default) — apply every captured payload regardless
|
|
89
|
+
* of current destination state. Matches the manual-restore
|
|
90
|
+
* semantics Config Hub relies on.
|
|
91
|
+
* - `preserve_edits` — for each captured resource, compare the live
|
|
92
|
+
* destination payload's fingerprint against the install-time
|
|
93
|
+
* fingerprint on lineage. If modified, skip and surface the
|
|
94
|
+
* entry under `Operation.skipped`. Also skips co-owned resources
|
|
95
|
+
* (lineage row carrying ≥2 distinct blueprint_instance_ids).
|
|
96
|
+
* Used by blueprint-manifest-api when reverting a blueprint
|
|
97
|
+
* install so user edits and other blueprints' contributions
|
|
98
|
+
* survive.
|
|
99
|
+
*
|
|
100
|
+
*/
|
|
101
|
+
mode?: "overwrite" | "preserve_edits";
|
|
102
|
+
}
|
|
70
103
|
export interface RestoreSnapshotResponse {
|
|
71
104
|
id: string;
|
|
72
105
|
status: "restoring";
|
|
73
106
|
}
|
|
107
|
+
export interface SkippedResource {
|
|
108
|
+
lineage_id: string;
|
|
109
|
+
/**
|
|
110
|
+
* - `modified` — current destination payload's fingerprint differs
|
|
111
|
+
* from the install-time fingerprint on the lineage row.
|
|
112
|
+
* - `co_owned` — lineage row has ≥2 distinct
|
|
113
|
+
* `blueprint_instance_ids`; restoring would unilaterally affect
|
|
114
|
+
* another blueprint instance's contribution.
|
|
115
|
+
*
|
|
116
|
+
*/
|
|
117
|
+
reason: "modified" | "co_owned";
|
|
118
|
+
}
|
|
74
119
|
export interface Snapshot {
|
|
75
120
|
id: string;
|
|
76
121
|
org_id: string;
|
|
@@ -217,58 +262,7 @@ declare namespace Paths {
|
|
|
217
262
|
namespace ListSnapshots {
|
|
218
263
|
namespace Parameters {
|
|
219
264
|
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
|
-
];
|
|
265
|
+
export type Resource = string /* ^[^:]+:.+$ */[];
|
|
272
266
|
export type Size = number;
|
|
273
267
|
}
|
|
274
268
|
export interface QueryParameters {
|
|
@@ -292,6 +286,7 @@ declare namespace Paths {
|
|
|
292
286
|
}
|
|
293
287
|
}
|
|
294
288
|
namespace RestoreSnapshot {
|
|
289
|
+
export type RequestBody = Components.Schemas.RestoreSnapshotRequest;
|
|
295
290
|
namespace Responses {
|
|
296
291
|
export type $202 = Components.Schemas.RestoreSnapshotResponse;
|
|
297
292
|
export type $401 = Components.Responses.Unauthorized;
|
|
@@ -391,7 +386,7 @@ interface OperationMethods {
|
|
|
391
386
|
*
|
|
392
387
|
* Restore a snapshot to the org. Async — returns immediately; client polls
|
|
393
388
|
* `getSnapshot` until the latest entry in `restores` moves from
|
|
394
|
-
* `in_progress` to `completed
|
|
389
|
+
* `in_progress` to one of `completed | partial | failed`.
|
|
395
390
|
*
|
|
396
391
|
* v1: full restore only. Cherry-pick (`resources?` body filter) is an open
|
|
397
392
|
* question — see RFC OQ #1.
|
|
@@ -399,7 +394,7 @@ interface OperationMethods {
|
|
|
399
394
|
*/
|
|
400
395
|
'restoreSnapshot'(
|
|
401
396
|
parameters?: Parameters<Paths.V1Snapshots$IdRestore.PathParameters> | null,
|
|
402
|
-
data?:
|
|
397
|
+
data?: Paths.RestoreSnapshot.RequestBody,
|
|
403
398
|
config?: AxiosRequestConfig
|
|
404
399
|
): OperationResponse<Paths.RestoreSnapshot.Responses.$202>
|
|
405
400
|
/**
|
|
@@ -509,7 +504,7 @@ interface PathsDictionary {
|
|
|
509
504
|
*
|
|
510
505
|
* Restore a snapshot to the org. Async — returns immediately; client polls
|
|
511
506
|
* `getSnapshot` until the latest entry in `restores` moves from
|
|
512
|
-
* `in_progress` to `completed
|
|
507
|
+
* `in_progress` to one of `completed | partial | failed`.
|
|
513
508
|
*
|
|
514
509
|
* v1: full restore only. Cherry-pick (`resources?` body filter) is an open
|
|
515
510
|
* question — see RFC OQ #1.
|
|
@@ -517,7 +512,7 @@ interface PathsDictionary {
|
|
|
517
512
|
*/
|
|
518
513
|
'post'(
|
|
519
514
|
parameters?: Parameters<Paths.V1Snapshots$IdRestore.PathParameters> | null,
|
|
520
|
-
data?:
|
|
515
|
+
data?: Paths.RestoreSnapshot.RequestBody,
|
|
521
516
|
config?: AxiosRequestConfig
|
|
522
517
|
): OperationResponse<Paths.RestoreSnapshot.Responses.$202>
|
|
523
518
|
}
|
|
@@ -582,10 +577,12 @@ type CreateSnapshotResponse = Components.Schemas.CreateSnapshotResponse;
|
|
|
582
577
|
type Error = Components.Schemas.Error;
|
|
583
578
|
type Operation = Components.Schemas.Operation;
|
|
584
579
|
type ResourceRef = Components.Schemas.ResourceRef;
|
|
580
|
+
type RestoreSnapshotRequest = Components.Schemas.RestoreSnapshotRequest;
|
|
585
581
|
type RestoreSnapshotResponse = Components.Schemas.RestoreSnapshotResponse;
|
|
582
|
+
type SkippedResource = Components.Schemas.SkippedResource;
|
|
586
583
|
type Snapshot = Components.Schemas.Snapshot;
|
|
587
584
|
type SnapshotResourceDetail = Components.Schemas.SnapshotResourceDetail;
|
|
588
585
|
type SnapshotResourceList = Components.Schemas.SnapshotResourceList;
|
|
589
586
|
type SnapshotResourceSummary = Components.Schemas.SnapshotResourceSummary;
|
|
590
587
|
|
|
591
|
-
export { type Client as C, type Error as E, type OperationMethods as O, Paths as P, type ResourceRef as R, type
|
|
588
|
+
export { type Client as C, type Error 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 CreateSnapshotRequest as d, type CreateSnapshotResponse as e, type Operation as f, type RestoreSnapshotRequest as g, type RestoreSnapshotResponse as h, type Snapshot as i, type SnapshotResourceDetail as j, type SnapshotResourceList as k, type SnapshotResourceSummary as l };
|