@wix/auto_sdk_containers_projects 1.0.3 → 1.0.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.
- package/build/cjs/index.d.ts +25 -5
- package/build/cjs/index.js +76 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +131 -3
- package/build/cjs/index.typings.js +66 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +63 -2
- package/build/cjs/meta.js +47 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +25 -5
- package/build/es/index.mjs +75 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +131 -3
- package/build/es/index.typings.mjs +65 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +63 -2
- package/build/es/meta.mjs +46 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +25 -5
- package/build/internal/cjs/index.typings.d.ts +131 -3
- package/build/internal/cjs/meta.d.ts +63 -2
- package/build/internal/es/index.d.mts +25 -5
- package/build/internal/es/index.typings.d.mts +131 -3
- package/build/internal/es/meta.d.mts +63 -2
- package/package.json +2 -2
|
@@ -70,6 +70,16 @@ interface Project {
|
|
|
70
70
|
* @maxLength 2000
|
|
71
71
|
*/
|
|
72
72
|
appIconUrl?: string | null;
|
|
73
|
+
/**
|
|
74
|
+
* The Himalaya release the editor is currently on — the "head" the client previews and the next
|
|
75
|
+
* edit (design save or AI edit) branches from. Server-managed: set to the new draft after each
|
|
76
|
+
* edit, and to the chosen release by RestoreRelease. Unset means "newest release by date" (the
|
|
77
|
+
* pre-head default), so existing projects keep working until their first edit/restore sets it.
|
|
78
|
+
* Not a GUID — a Himalaya release id (e.g. `rel-<hash>` / `<sha>-<hash>`).
|
|
79
|
+
* @maxLength 200
|
|
80
|
+
* @readonly
|
|
81
|
+
*/
|
|
82
|
+
headReleaseId?: string | null;
|
|
73
83
|
}
|
|
74
84
|
declare enum ProjectStatus {
|
|
75
85
|
/** Project created; client (via containers-plans) is doing most of the work. */
|
|
@@ -527,6 +537,17 @@ interface SaveProjectDesignRequest {
|
|
|
527
537
|
* @maxLength 200
|
|
528
538
|
*/
|
|
529
539
|
canonicalApp?: string;
|
|
540
|
+
/**
|
|
541
|
+
* Conversation this design is saved from. When set, a CHECKPOINT message marking the saved
|
|
542
|
+
* version is posted into it (best-effort). Optional — an older client that omits it still saves
|
|
543
|
+
* the design; it just produces no checkpoint. Verified to belong to this project server-side.
|
|
544
|
+
*
|
|
545
|
+
* Deliberately NOT (.wix.api.format) = GUID: posting the checkpoint is best-effort and must never
|
|
546
|
+
* fail the save. A malformed/unexpected id is handled downstream (the ownership lookup rejects it
|
|
547
|
+
* and the checkpoint is skipped) rather than hard-failing SaveProjectDesign at the request boundary.
|
|
548
|
+
* @maxLength 100
|
|
549
|
+
*/
|
|
550
|
+
conversationId?: string;
|
|
530
551
|
}
|
|
531
552
|
interface SaveProjectDesignResponse {
|
|
532
553
|
/**
|
|
@@ -543,6 +564,43 @@ interface SaveProjectDesignResponse {
|
|
|
543
564
|
/** When preview_token expires. */
|
|
544
565
|
previewTokenExpiresAt?: Date | null;
|
|
545
566
|
}
|
|
567
|
+
interface RestoreReleaseRequest {
|
|
568
|
+
/**
|
|
569
|
+
* Project whose head is being moved. The caller must own it.
|
|
570
|
+
* @format GUID
|
|
571
|
+
*/
|
|
572
|
+
projectId: string;
|
|
573
|
+
/**
|
|
574
|
+
* The Himalaya release to make the project's editable head. Not a GUID — a Himalaya release id
|
|
575
|
+
* (e.g. `rel-<hash>` / `<sha>-<hash>`), taken from the project's own release ledger.
|
|
576
|
+
* @maxLength 200
|
|
577
|
+
*/
|
|
578
|
+
releaseId: string;
|
|
579
|
+
/**
|
|
580
|
+
* Short-lived, app-scoped Himalaya control credential (the same the client obtains from Himalaya's
|
|
581
|
+
* owner embed-token endpoint and sends on SaveProjectDesign). When present, the server verifies
|
|
582
|
+
* release_id belongs to this project's Himalaya app before moving head. Optional for back-compat:
|
|
583
|
+
* an older client that omits it skips that check (the release still comes from the project's own
|
|
584
|
+
* ledger). Forwarded to Himalaya for the ledger read only — never logged, persisted, or echoed.
|
|
585
|
+
* @maxLength 4096
|
|
586
|
+
*/
|
|
587
|
+
himalayaControlToken?: string;
|
|
588
|
+
/**
|
|
589
|
+
* Conversation this restore is made from. When set, a CHECKPOINT message marking the restored
|
|
590
|
+
* version is posted into it (best-effort). Optional — a client that omits it still restores; it
|
|
591
|
+
* just produces no checkpoint. Verified to belong to this project server-side.
|
|
592
|
+
*
|
|
593
|
+
* Deliberately NOT (.wix.api.format) = GUID: posting the checkpoint is best-effort and must never
|
|
594
|
+
* fail the restore. A malformed id is handled downstream (the ownership lookup rejects it and the
|
|
595
|
+
* checkpoint is skipped) rather than hard-failing RestoreRelease at the request boundary.
|
|
596
|
+
* @maxLength 100
|
|
597
|
+
*/
|
|
598
|
+
conversationId?: string;
|
|
599
|
+
}
|
|
600
|
+
interface RestoreReleaseResponse {
|
|
601
|
+
/** The project after the restore, with head_release_id set to the restored release. */
|
|
602
|
+
project?: Project;
|
|
603
|
+
}
|
|
546
604
|
interface ListProjectsRequest {
|
|
547
605
|
/** Cursor paging options. */
|
|
548
606
|
paging?: CursorPaging;
|
|
@@ -590,6 +648,7 @@ interface GetHimalayaAuthorizationResponse {
|
|
|
590
648
|
* @documentationMaturity preview
|
|
591
649
|
* @requiredField projectId
|
|
592
650
|
* @permissionId containers:projects:v1:project:get_project
|
|
651
|
+
* @applicableIdentity APP
|
|
593
652
|
* @returns The requested Project.
|
|
594
653
|
* @fqn wix.containers.projects.v1.ContainersProjects.GetProject
|
|
595
654
|
*/
|
|
@@ -664,6 +723,16 @@ interface UpdateProject {
|
|
|
664
723
|
* @maxLength 2000
|
|
665
724
|
*/
|
|
666
725
|
appIconUrl?: string | null;
|
|
726
|
+
/**
|
|
727
|
+
* The Himalaya release the editor is currently on — the "head" the client previews and the next
|
|
728
|
+
* edit (design save or AI edit) branches from. Server-managed: set to the new draft after each
|
|
729
|
+
* edit, and to the chosen release by RestoreRelease. Unset means "newest release by date" (the
|
|
730
|
+
* pre-head default), so existing projects keep working until their first edit/restore sets it.
|
|
731
|
+
* Not a GUID — a Himalaya release id (e.g. `rel-<hash>` / `<sha>-<hash>`).
|
|
732
|
+
* @maxLength 200
|
|
733
|
+
* @readonly
|
|
734
|
+
*/
|
|
735
|
+
headReleaseId?: string | null;
|
|
667
736
|
}
|
|
668
737
|
/**
|
|
669
738
|
* Requests Project resume by starting or reusing its configured remote machine asynchronously.
|
|
@@ -672,6 +741,7 @@ interface UpdateProject {
|
|
|
672
741
|
* @documentationMaturity preview
|
|
673
742
|
* @requiredField projectId
|
|
674
743
|
* @permissionId containers:projects:v1:project:resume_project
|
|
744
|
+
* @applicableIdentity APP
|
|
675
745
|
* @fqn wix.containers.projects.v1.ContainersProjects.ResumeProject
|
|
676
746
|
*/
|
|
677
747
|
declare function resumeProject(projectId: string): Promise<NonNullablePaths<ResumeProjectResponse, `project.name` | `project.status` | `project.sandboxStatus` | `project.metaSiteIds` | `project.platform`, 1>>;
|
|
@@ -681,8 +751,9 @@ declare function resumeProject(projectId: string): Promise<NonNullablePaths<Resu
|
|
|
681
751
|
*
|
|
682
752
|
* Synchronous: the Himalaya write completes before this call returns. Never touches the project's
|
|
683
753
|
* sandbox, runs a build, or activates the app — the saved release stays a draft, so what the live
|
|
684
|
-
* app serves is unaffected. Persists
|
|
685
|
-
* chat
|
|
754
|
+
* app serves is unaffected. Persists no entity of its own. When `conversation_id` is supplied it
|
|
755
|
+
* posts a CHECKPOINT message for the saved release into that conversation (best-effort — a chat
|
|
756
|
+
* failure never fails the save); omit it to skip the checkpoint.
|
|
686
757
|
* @param projectId - Project whose design is being saved. The caller must own it.
|
|
687
758
|
* @param baseReleaseId - The Himalaya release ID currently displayed by the client. The saved draft branches from
|
|
688
759
|
* exactly this release, even when a newer release exists for the app.
|
|
@@ -693,6 +764,7 @@ declare function resumeProject(projectId: string): Promise<NonNullablePaths<Resu
|
|
|
693
764
|
* @requiredField options.tokensJson
|
|
694
765
|
* @requiredField projectId
|
|
695
766
|
* @permissionId containers:projects:v1:project:save_project_design
|
|
767
|
+
* @applicableIdentity APP
|
|
696
768
|
* @fqn wix.containers.projects.v1.ContainersProjects.SaveProjectDesign
|
|
697
769
|
*/
|
|
698
770
|
declare function saveProjectDesign(projectId: string, baseReleaseId: string, options?: NonNullablePaths<SaveProjectDesignOptions, `himalayaControlToken` | `tokensJson`, 0>): Promise<NonNullablePaths<SaveProjectDesignResponse, `himalayaReleaseId` | `previewToken`, 0>>;
|
|
@@ -720,6 +792,61 @@ interface SaveProjectDesignOptions {
|
|
|
720
792
|
* @maxLength 200
|
|
721
793
|
*/
|
|
722
794
|
canonicalApp?: string;
|
|
795
|
+
/**
|
|
796
|
+
* Conversation this design is saved from. When set, a CHECKPOINT message marking the saved
|
|
797
|
+
* version is posted into it (best-effort). Optional — an older client that omits it still saves
|
|
798
|
+
* the design; it just produces no checkpoint. Verified to belong to this project server-side.
|
|
799
|
+
*
|
|
800
|
+
* Deliberately NOT (.wix.api.format) = GUID: posting the checkpoint is best-effort and must never
|
|
801
|
+
* fail the save. A malformed/unexpected id is handled downstream (the ownership lookup rejects it
|
|
802
|
+
* and the checkpoint is skipped) rather than hard-failing SaveProjectDesign at the request boundary.
|
|
803
|
+
* @maxLength 100
|
|
804
|
+
*/
|
|
805
|
+
conversationId?: string;
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* Restores an earlier version by pointing the project's editable head at `release_id`: the client
|
|
809
|
+
* then previews that release and the next edit (design save or AI edit) branches from it. Pure
|
|
810
|
+
* project state — sets `head_release_id` and nothing in Himalaya: it does NOT activate the release,
|
|
811
|
+
* so the live app end-users run is untouched (a later publish/build is what carries head live).
|
|
812
|
+
*
|
|
813
|
+
* `release_id` is a Himalaya release id the caller already holds from the project's own release
|
|
814
|
+
* ledger, scoped to this project's app; the server stores it as head without re-reading Himalaya.
|
|
815
|
+
* When `conversation_id` is supplied, a CHECKPOINT message for the restored release is posted into
|
|
816
|
+
* it (best-effort — a chat failure never fails the restore); omit it to skip the checkpoint.
|
|
817
|
+
* @param projectId - Project whose head is being moved. The caller must own it.
|
|
818
|
+
* @param releaseId - The Himalaya release to make the project's editable head. Not a GUID — a Himalaya release id
|
|
819
|
+
* (e.g. `rel-<hash>` / `<sha>-<hash>`), taken from the project's own release ledger.
|
|
820
|
+
* @public
|
|
821
|
+
* @documentationMaturity preview
|
|
822
|
+
* @requiredField projectId
|
|
823
|
+
* @requiredField releaseId
|
|
824
|
+
* @permissionId containers:projects:v1:project:restore_release
|
|
825
|
+
* @applicableIdentity APP
|
|
826
|
+
* @fqn wix.containers.projects.v1.ContainersProjects.RestoreRelease
|
|
827
|
+
*/
|
|
828
|
+
declare function restoreRelease(projectId: string, releaseId: string, options?: RestoreReleaseOptions): Promise<NonNullablePaths<RestoreReleaseResponse, `project.name` | `project.status` | `project.sandboxStatus` | `project.metaSiteIds` | `project.platform`, 1>>;
|
|
829
|
+
interface RestoreReleaseOptions {
|
|
830
|
+
/**
|
|
831
|
+
* Short-lived, app-scoped Himalaya control credential (the same the client obtains from Himalaya's
|
|
832
|
+
* owner embed-token endpoint and sends on SaveProjectDesign). When present, the server verifies
|
|
833
|
+
* release_id belongs to this project's Himalaya app before moving head. Optional for back-compat:
|
|
834
|
+
* an older client that omits it skips that check (the release still comes from the project's own
|
|
835
|
+
* ledger). Forwarded to Himalaya for the ledger read only — never logged, persisted, or echoed.
|
|
836
|
+
* @maxLength 4096
|
|
837
|
+
*/
|
|
838
|
+
himalayaControlToken?: string;
|
|
839
|
+
/**
|
|
840
|
+
* Conversation this restore is made from. When set, a CHECKPOINT message marking the restored
|
|
841
|
+
* version is posted into it (best-effort). Optional — a client that omits it still restores; it
|
|
842
|
+
* just produces no checkpoint. Verified to belong to this project server-side.
|
|
843
|
+
*
|
|
844
|
+
* Deliberately NOT (.wix.api.format) = GUID: posting the checkpoint is best-effort and must never
|
|
845
|
+
* fail the restore. A malformed id is handled downstream (the ownership lookup rejects it and the
|
|
846
|
+
* checkpoint is skipped) rather than hard-failing RestoreRelease at the request boundary.
|
|
847
|
+
* @maxLength 100
|
|
848
|
+
*/
|
|
849
|
+
conversationId?: string;
|
|
723
850
|
}
|
|
724
851
|
interface ListProjectsOptions {
|
|
725
852
|
/** Cursor paging options. */
|
|
@@ -733,8 +860,9 @@ interface ListProjectsOptions {
|
|
|
733
860
|
* @documentationMaturity preview
|
|
734
861
|
* @requiredField projectId
|
|
735
862
|
* @permissionId containers:projects:v1:project:get_himalaya_authorization
|
|
863
|
+
* @applicableIdentity APP
|
|
736
864
|
* @fqn wix.containers.projects.v1.ContainersProjects.GetHimalayaAuthorization
|
|
737
865
|
*/
|
|
738
866
|
declare function getHimalayaAuthorization(projectId: string): Promise<NonNullablePaths<GetHimalayaAuthorizationResponse, `authorizationVersion` | `metaSiteId` | `projectId` | `canonicalApp` | `workerLaunch` | `saveDesign`, 0>>;
|
|
739
867
|
|
|
740
|
-
export { type AccountInfo, type ActionEvent, type CreateAgentSessionRequest, type CreateAgentSessionResponse, type CreateProjectRequest, type CreateProjectResponse, type CursorPaging, type CursorPagingMetadata, type Cursors, type DeleteProjectRequest, type DeleteProjectResponse, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type GetHimalayaAuthorizationRequest, type GetHimalayaAuthorizationResponse, type GetProjectRequest, type GetProjectResponse, type IdentificationData, type IdentificationDataIdOneOf, type ListProjectsForCurrentUserRequest, type ListProjectsForCurrentUserResponse, type ListProjectsOptions, type ListProjectsRequest, type ListProjectsResponse, type MessageEnvelope, Platform, type PlatformWithLiterals, type Project, type ProjectPlanReady, type ProjectResumeRequested, type ProjectStartRequested, ProjectStatus, type ProjectStatusWithLiterals, type RefreshAgentSiteTokenRequest, type RefreshAgentSiteTokenResponse, type RegenerateProjectIconRequest, type RegenerateProjectIconResponse, type RegenerateProjectNameRequest, type RegenerateProjectNameResponse, type RestoreInfo, type ResumeProjectRequest, type ResumeProjectResponse, SandboxStatus, type SandboxStatusWithLiterals, type SaveProjectDesignOptions, type SaveProjectDesignRequest, type SaveProjectDesignResponse, type StartProjectRequest, type StartProjectResponse, type UpdateProject, type UpdateProjectRequest, type UpdateProjectResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, getHimalayaAuthorization, getProject, resumeProject, saveProjectDesign };
|
|
868
|
+
export { type AccountInfo, type ActionEvent, type CreateAgentSessionRequest, type CreateAgentSessionResponse, type CreateProjectRequest, type CreateProjectResponse, type CursorPaging, type CursorPagingMetadata, type Cursors, type DeleteProjectRequest, type DeleteProjectResponse, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type GetHimalayaAuthorizationRequest, type GetHimalayaAuthorizationResponse, type GetProjectRequest, type GetProjectResponse, type IdentificationData, type IdentificationDataIdOneOf, type ListProjectsForCurrentUserRequest, type ListProjectsForCurrentUserResponse, type ListProjectsOptions, type ListProjectsRequest, type ListProjectsResponse, type MessageEnvelope, Platform, type PlatformWithLiterals, type Project, type ProjectPlanReady, type ProjectResumeRequested, type ProjectStartRequested, ProjectStatus, type ProjectStatusWithLiterals, type RefreshAgentSiteTokenRequest, type RefreshAgentSiteTokenResponse, type RegenerateProjectIconRequest, type RegenerateProjectIconResponse, type RegenerateProjectNameRequest, type RegenerateProjectNameResponse, type RestoreInfo, type RestoreReleaseOptions, type RestoreReleaseRequest, type RestoreReleaseResponse, type ResumeProjectRequest, type ResumeProjectResponse, SandboxStatus, type SandboxStatusWithLiterals, type SaveProjectDesignOptions, type SaveProjectDesignRequest, type SaveProjectDesignResponse, type StartProjectRequest, type StartProjectResponse, type UpdateProject, type UpdateProjectRequest, type UpdateProjectResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, getHimalayaAuthorization, getProject, restoreRelease, resumeProject, saveProjectDesign };
|
|
@@ -248,6 +248,33 @@ function saveProjectDesign(payload) {
|
|
|
248
248
|
}
|
|
249
249
|
return __saveProjectDesign;
|
|
250
250
|
}
|
|
251
|
+
function restoreRelease(payload) {
|
|
252
|
+
function __restoreRelease({ host }) {
|
|
253
|
+
const metadata = {
|
|
254
|
+
entityFqdn: "wix.containers.projects.v1.project",
|
|
255
|
+
method: "POST",
|
|
256
|
+
methodFqn: "wix.containers.projects.v1.ContainersProjects.RestoreRelease",
|
|
257
|
+
packageName: PACKAGE_NAME,
|
|
258
|
+
migrationOptions: {
|
|
259
|
+
optInTransformResponse: true
|
|
260
|
+
},
|
|
261
|
+
url: resolveWixContainersProjectsV1ContainersProjectsUrl({
|
|
262
|
+
protoPath: "/v1/projects/{projectId}/restore-release",
|
|
263
|
+
data: payload,
|
|
264
|
+
host
|
|
265
|
+
}),
|
|
266
|
+
data: payload,
|
|
267
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
268
|
+
{
|
|
269
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
270
|
+
paths: TRANSFORM_PATHS_0
|
|
271
|
+
}
|
|
272
|
+
])
|
|
273
|
+
};
|
|
274
|
+
return metadata;
|
|
275
|
+
}
|
|
276
|
+
return __restoreRelease;
|
|
277
|
+
}
|
|
251
278
|
function listProjects(payload) {
|
|
252
279
|
function __listProjects({ host }) {
|
|
253
280
|
const metadata = {
|
|
@@ -504,7 +531,8 @@ async function saveProjectDesign2(projectId, baseReleaseId, options) {
|
|
|
504
531
|
baseReleaseId,
|
|
505
532
|
tokensJson: options?.tokensJson,
|
|
506
533
|
himalayaControlToken: options?.himalayaControlToken,
|
|
507
|
-
canonicalApp: options?.canonicalApp
|
|
534
|
+
canonicalApp: options?.canonicalApp,
|
|
535
|
+
conversationId: options?.conversationId
|
|
508
536
|
});
|
|
509
537
|
const reqOpts = saveProjectDesign(payload);
|
|
510
538
|
sideEffects?.onSiteCall?.();
|
|
@@ -522,7 +550,8 @@ async function saveProjectDesign2(projectId, baseReleaseId, options) {
|
|
|
522
550
|
baseReleaseId: "$[1]",
|
|
523
551
|
tokensJson: "$[2].tokensJson",
|
|
524
552
|
himalayaControlToken: "$[2].himalayaControlToken",
|
|
525
|
-
canonicalApp: "$[2].canonicalApp"
|
|
553
|
+
canonicalApp: "$[2].canonicalApp",
|
|
554
|
+
conversationId: "$[2].conversationId"
|
|
526
555
|
},
|
|
527
556
|
singleArgumentUnchanged: false
|
|
528
557
|
},
|
|
@@ -532,6 +561,39 @@ async function saveProjectDesign2(projectId, baseReleaseId, options) {
|
|
|
532
561
|
throw transformedError;
|
|
533
562
|
}
|
|
534
563
|
}
|
|
564
|
+
async function restoreRelease2(projectId, releaseId, options) {
|
|
565
|
+
const { httpClient, sideEffects } = arguments[3];
|
|
566
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
567
|
+
projectId,
|
|
568
|
+
releaseId,
|
|
569
|
+
himalayaControlToken: options?.himalayaControlToken,
|
|
570
|
+
conversationId: options?.conversationId
|
|
571
|
+
});
|
|
572
|
+
const reqOpts = restoreRelease(payload);
|
|
573
|
+
sideEffects?.onSiteCall?.();
|
|
574
|
+
try {
|
|
575
|
+
const result = await httpClient.request(reqOpts);
|
|
576
|
+
sideEffects?.onSuccess?.(result);
|
|
577
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
578
|
+
} catch (err) {
|
|
579
|
+
const transformedError = sdkTransformError(
|
|
580
|
+
err,
|
|
581
|
+
{
|
|
582
|
+
spreadPathsToArguments: {},
|
|
583
|
+
explicitPathsToArguments: {
|
|
584
|
+
projectId: "$[0]",
|
|
585
|
+
releaseId: "$[1]",
|
|
586
|
+
himalayaControlToken: "$[2].himalayaControlToken",
|
|
587
|
+
conversationId: "$[2].conversationId"
|
|
588
|
+
},
|
|
589
|
+
singleArgumentUnchanged: false
|
|
590
|
+
},
|
|
591
|
+
["projectId", "releaseId", "options"]
|
|
592
|
+
);
|
|
593
|
+
sideEffects?.onError?.(err);
|
|
594
|
+
throw transformedError;
|
|
595
|
+
}
|
|
596
|
+
}
|
|
535
597
|
async function listProjects2(options) {
|
|
536
598
|
const { httpClient, sideEffects } = arguments[1];
|
|
537
599
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
@@ -594,6 +656,7 @@ export {
|
|
|
594
656
|
listProjects2 as listProjects,
|
|
595
657
|
regenerateProjectIcon2 as regenerateProjectIcon,
|
|
596
658
|
regenerateProjectName2 as regenerateProjectName,
|
|
659
|
+
restoreRelease2 as restoreRelease,
|
|
597
660
|
resumeProject2 as resumeProject,
|
|
598
661
|
saveProjectDesign2 as saveProjectDesign,
|
|
599
662
|
updateProject2 as updateProject
|