@wix/auto_sdk_containers_projects 1.0.0 → 1.0.2
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 +71 -2
- package/build/cjs/index.js +79 -32
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +71 -32
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +69 -3
- package/build/cjs/meta.js +60 -30
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +71 -2
- package/build/es/index.mjs +78 -32
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +70 -32
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +69 -3
- package/build/es/meta.mjs +59 -30
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +16 -4
- package/build/internal/cjs/index.typings.d.ts +83 -4
- package/build/internal/cjs/meta.d.ts +69 -3
- package/build/internal/es/index.d.mts +16 -4
- package/build/internal/es/index.typings.d.mts +83 -4
- package/build/internal/es/meta.d.mts +69 -3
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
-
import { Project, UpdateProject, ResumeProjectResponse, RegenerateProjectNameResponse, RegenerateProjectIconResponse, SaveProjectDesignOptions, SaveProjectDesignResponse, ListProjectsOptions, ListProjectsResponse } from './index.typings.mjs';
|
|
3
|
-
export { AccountInfo, ActionEvent, CreateAgentSessionRequest, CreateAgentSessionResponse, CreateProjectRequest, CreateProjectResponse, CursorPaging, CursorPagingMetadata, Cursors, DeleteProjectRequest, DeleteProjectResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, GetProjectRequest, GetProjectResponse, IdentificationData, IdentificationDataIdOneOf, ListProjectsForCurrentUserRequest, ListProjectsForCurrentUserResponse, ListProjectsRequest, MessageEnvelope, Platform, PlatformWithLiterals, ProjectPlanReady, ProjectResumeRequested, ProjectStartRequested, ProjectStatus, ProjectStatusWithLiterals, RefreshAgentSiteTokenRequest, RefreshAgentSiteTokenResponse, RegenerateProjectIconRequest, RegenerateProjectNameRequest, RestoreInfo, ResumeProjectRequest, SandboxStatus, SandboxStatusWithLiterals, SaveProjectDesignRequest, StartProjectRequest, StartProjectResponse, UpdateProjectRequest, UpdateProjectResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
|
|
2
|
+
import { Project, UpdateProject, ResumeProjectResponse, RegenerateProjectNameResponse, RegenerateProjectIconResponse, SaveProjectDesignOptions, SaveProjectDesignResponse, ListProjectsOptions, ListProjectsResponse, GetHimalayaAuthorizationResponse } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, ActionEvent, CreateAgentSessionRequest, CreateAgentSessionResponse, CreateProjectRequest, CreateProjectResponse, CursorPaging, CursorPagingMetadata, Cursors, DeleteProjectRequest, DeleteProjectResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, GetHimalayaAuthorizationRequest, GetProjectRequest, GetProjectResponse, IdentificationData, IdentificationDataIdOneOf, ListProjectsForCurrentUserRequest, ListProjectsForCurrentUserResponse, ListProjectsRequest, MessageEnvelope, Platform, PlatformWithLiterals, ProjectPlanReady, ProjectResumeRequested, ProjectStartRequested, ProjectStatus, ProjectStatusWithLiterals, RefreshAgentSiteTokenRequest, RefreshAgentSiteTokenResponse, RegenerateProjectIconRequest, RegenerateProjectNameRequest, RestoreInfo, ResumeProjectRequest, SandboxStatus, SandboxStatusWithLiterals, SaveProjectDesignRequest, StartProjectRequest, StartProjectResponse, UpdateProjectRequest, UpdateProjectResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
/** @internal */
|
|
6
6
|
declare function createProject$1(httpClient: HttpClient): CreateProjectSignature;
|
|
@@ -93,7 +93,7 @@ interface SaveProjectDesignSignature {
|
|
|
93
93
|
* @param - The Himalaya release ID currently displayed by the client. The saved draft branches from
|
|
94
94
|
* exactly this release, even when a newer release exists for the app.
|
|
95
95
|
*/
|
|
96
|
-
(projectId: string, baseReleaseId: string, options
|
|
96
|
+
(projectId: string, baseReleaseId: string, options?: NonNullablePaths<SaveProjectDesignOptions, `himalayaControlToken` | `tokensJson`, 0>): Promise<NonNullablePaths<SaveProjectDesignResponse, `himalayaReleaseId` | `previewToken`, 0>>;
|
|
97
97
|
}
|
|
98
98
|
/** @internal */
|
|
99
99
|
declare function listProjects$1(httpClient: HttpClient): ListProjectsSignature;
|
|
@@ -106,6 +106,16 @@ interface ListProjectsSignature {
|
|
|
106
106
|
*/
|
|
107
107
|
(options?: ListProjectsOptions): Promise<NonNullablePaths<ListProjectsResponse, `projects` | `projects.${number}.name` | `projects.${number}.status` | `projects.${number}.sandboxStatus` | `projects.${number}.platform`, 2>>;
|
|
108
108
|
}
|
|
109
|
+
/** @internal */
|
|
110
|
+
declare function getHimalayaAuthorization$1(httpClient: HttpClient): GetHimalayaAuthorizationSignature;
|
|
111
|
+
interface GetHimalayaAuthorizationSignature {
|
|
112
|
+
/**
|
|
113
|
+
* Repeats authenticated Himalaya authorization for the current collaborator. This response is
|
|
114
|
+
* a capability check only; every worker/design mutation performs a fresh check.
|
|
115
|
+
* @param - Site-tenanted Containers project being authorized.
|
|
116
|
+
*/
|
|
117
|
+
(projectId: string): Promise<NonNullablePaths<GetHimalayaAuthorizationResponse, `authorizationVersion` | `metaSiteId` | `projectId` | `canonicalApp` | `workerLaunch` | `saveDesign`, 0>>;
|
|
118
|
+
}
|
|
109
119
|
|
|
110
120
|
/** @internal */
|
|
111
121
|
declare const createProject: MaybeContext<BuildRESTFunction<typeof createProject$1> & typeof createProject$1>;
|
|
@@ -125,5 +135,7 @@ declare const regenerateProjectIcon: MaybeContext<BuildRESTFunction<typeof regen
|
|
|
125
135
|
declare const saveProjectDesign: MaybeContext<BuildRESTFunction<typeof saveProjectDesign$1> & typeof saveProjectDesign$1>;
|
|
126
136
|
/** @internal */
|
|
127
137
|
declare const listProjects: MaybeContext<BuildRESTFunction<typeof listProjects$1> & typeof listProjects$1>;
|
|
138
|
+
/** @internal */
|
|
139
|
+
declare const getHimalayaAuthorization: MaybeContext<BuildRESTFunction<typeof getHimalayaAuthorization$1> & typeof getHimalayaAuthorization$1>;
|
|
128
140
|
|
|
129
|
-
export { ListProjectsOptions, ListProjectsResponse, Project, RegenerateProjectIconResponse, RegenerateProjectNameResponse, ResumeProjectResponse, SaveProjectDesignOptions, SaveProjectDesignResponse, UpdateProject, createProject, deleteProject, getProject, listProjects, regenerateProjectIcon, regenerateProjectName, resumeProject, saveProjectDesign, updateProject };
|
|
141
|
+
export { GetHimalayaAuthorizationResponse, ListProjectsOptions, ListProjectsResponse, Project, RegenerateProjectIconResponse, RegenerateProjectNameResponse, ResumeProjectResponse, SaveProjectDesignOptions, SaveProjectDesignResponse, UpdateProject, createProject, deleteProject, getHimalayaAuthorization, getProject, listProjects, regenerateProjectIcon, regenerateProjectName, resumeProject, saveProjectDesign, updateProject };
|
|
@@ -149,10 +149,15 @@ interface CreateAgentSessionResponse {
|
|
|
149
149
|
}
|
|
150
150
|
interface RefreshAgentSiteTokenRequest {
|
|
151
151
|
/**
|
|
152
|
-
*
|
|
152
|
+
* Exact project/job tuple whose initiating user's site token should be re-minted.
|
|
153
153
|
* @format GUID
|
|
154
154
|
*/
|
|
155
155
|
projectId?: string;
|
|
156
|
+
/**
|
|
157
|
+
* Job whose persisted initiating user and MetaSite provenance must be revalidated.
|
|
158
|
+
* @format GUID
|
|
159
|
+
*/
|
|
160
|
+
jobId?: string;
|
|
156
161
|
}
|
|
157
162
|
interface RefreshAgentSiteTokenResponse {
|
|
158
163
|
/**
|
|
@@ -165,6 +170,28 @@ interface RefreshAgentSiteTokenResponse {
|
|
|
165
170
|
accessToken?: string;
|
|
166
171
|
/** Seconds until the returned token expires, as reported by oauth2-ng. */
|
|
167
172
|
expiresIn?: string;
|
|
173
|
+
/** Version of the job-bound authorization response contract. */
|
|
174
|
+
authorizationVersion?: number;
|
|
175
|
+
/**
|
|
176
|
+
* The project authorized by this refresh.
|
|
177
|
+
* @format GUID
|
|
178
|
+
*/
|
|
179
|
+
projectId?: string;
|
|
180
|
+
/**
|
|
181
|
+
* The job authorized by this refresh.
|
|
182
|
+
* @format GUID
|
|
183
|
+
*/
|
|
184
|
+
jobId?: string;
|
|
185
|
+
/**
|
|
186
|
+
* Trusted MetaSite captured when the job was created.
|
|
187
|
+
* @format GUID
|
|
188
|
+
*/
|
|
189
|
+
metaSiteId?: string;
|
|
190
|
+
/**
|
|
191
|
+
* Trusted dashboard USER captured when the job was created.
|
|
192
|
+
* @format GUID
|
|
193
|
+
*/
|
|
194
|
+
initiatingUserId?: string;
|
|
168
195
|
}
|
|
169
196
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
170
197
|
createdEvent?: EntityCreatedEvent;
|
|
@@ -499,6 +526,12 @@ interface SaveProjectDesignRequest {
|
|
|
499
526
|
* @maxLength 4096
|
|
500
527
|
*/
|
|
501
528
|
himalayaControlToken: string;
|
|
529
|
+
/**
|
|
530
|
+
* Client assertion of the canonical app returned by authenticated Himalaya lookup. Catalyst
|
|
531
|
+
* resolves and validates the same value; it is never used as an unchecked write target.
|
|
532
|
+
* @maxLength 200
|
|
533
|
+
*/
|
|
534
|
+
canonicalApp?: string;
|
|
502
535
|
}
|
|
503
536
|
interface SaveProjectDesignResponse {
|
|
504
537
|
/**
|
|
@@ -525,6 +558,36 @@ interface ListProjectsResponse {
|
|
|
525
558
|
/** Paging metadata for cursor-based pagination. */
|
|
526
559
|
pagingMetadata?: CursorPagingMetadata;
|
|
527
560
|
}
|
|
561
|
+
interface GetHimalayaAuthorizationRequest {
|
|
562
|
+
/**
|
|
563
|
+
* Site-tenanted Containers project being authorized.
|
|
564
|
+
* @format GUID
|
|
565
|
+
*/
|
|
566
|
+
projectId: string;
|
|
567
|
+
}
|
|
568
|
+
interface GetHimalayaAuthorizationResponse {
|
|
569
|
+
/** Version of the authorization capability contract. */
|
|
570
|
+
authorizationVersion?: number;
|
|
571
|
+
/**
|
|
572
|
+
* Trusted MetaSite selected from request identity context.
|
|
573
|
+
* @format GUID
|
|
574
|
+
*/
|
|
575
|
+
metaSiteId?: string;
|
|
576
|
+
/**
|
|
577
|
+
* Site-tenanted Containers project authorized by the lookup.
|
|
578
|
+
* @format GUID
|
|
579
|
+
*/
|
|
580
|
+
projectId?: string;
|
|
581
|
+
/**
|
|
582
|
+
* Verified canonical Himalaya app slug.
|
|
583
|
+
* @maxLength 200
|
|
584
|
+
*/
|
|
585
|
+
canonicalApp?: string;
|
|
586
|
+
/** Whether a fresh worker launch is currently authorized. */
|
|
587
|
+
workerLaunch?: boolean;
|
|
588
|
+
/** Whether a fresh design save is currently authorized. */
|
|
589
|
+
saveDesign?: boolean;
|
|
590
|
+
}
|
|
528
591
|
/**
|
|
529
592
|
* Creates a new Project from a template.
|
|
530
593
|
* Looks up the template to find its backing source code, creates a dev-center app,
|
|
@@ -699,14 +762,13 @@ declare function regenerateProjectIcon(projectId: string, prompt: string): Promi
|
|
|
699
762
|
* @internal
|
|
700
763
|
* @documentationMaturity preview
|
|
701
764
|
* @requiredField baseReleaseId
|
|
702
|
-
* @requiredField options
|
|
703
765
|
* @requiredField options.himalayaControlToken
|
|
704
766
|
* @requiredField options.tokensJson
|
|
705
767
|
* @requiredField projectId
|
|
706
768
|
* @permissionId containers:projects:v1:project:save_project_design
|
|
707
769
|
* @fqn wix.containers.projects.v1.ContainersProjects.SaveProjectDesign
|
|
708
770
|
*/
|
|
709
|
-
declare function saveProjectDesign(projectId: string, baseReleaseId: string, options
|
|
771
|
+
declare function saveProjectDesign(projectId: string, baseReleaseId: string, options?: NonNullablePaths<SaveProjectDesignOptions, `himalayaControlToken` | `tokensJson`, 0>): Promise<NonNullablePaths<SaveProjectDesignResponse, `himalayaReleaseId` | `previewToken`, 0>>;
|
|
710
772
|
interface SaveProjectDesignOptions {
|
|
711
773
|
/**
|
|
712
774
|
* The complete edited design-token document, as a JSON object string — not a flattened set of
|
|
@@ -725,6 +787,12 @@ interface SaveProjectDesignOptions {
|
|
|
725
787
|
* @maxLength 4096
|
|
726
788
|
*/
|
|
727
789
|
himalayaControlToken: string;
|
|
790
|
+
/**
|
|
791
|
+
* Client assertion of the canonical app returned by authenticated Himalaya lookup. Catalyst
|
|
792
|
+
* resolves and validates the same value; it is never used as an unchecked write target.
|
|
793
|
+
* @maxLength 200
|
|
794
|
+
*/
|
|
795
|
+
canonicalApp?: string;
|
|
728
796
|
}
|
|
729
797
|
/**
|
|
730
798
|
* Lists the Projects of the current site — the MetaSite in the call scope — regardless of who owns
|
|
@@ -741,5 +809,16 @@ interface ListProjectsOptions {
|
|
|
741
809
|
/** Cursor paging options. */
|
|
742
810
|
paging?: CursorPaging;
|
|
743
811
|
}
|
|
812
|
+
/**
|
|
813
|
+
* Repeats authenticated Himalaya authorization for the current collaborator. This response is
|
|
814
|
+
* a capability check only; every worker/design mutation performs a fresh check.
|
|
815
|
+
* @param projectId - Site-tenanted Containers project being authorized.
|
|
816
|
+
* @internal
|
|
817
|
+
* @documentationMaturity preview
|
|
818
|
+
* @requiredField projectId
|
|
819
|
+
* @permissionId containers:projects:v1:project:get_himalaya_authorization
|
|
820
|
+
* @fqn wix.containers.projects.v1.ContainersProjects.GetHimalayaAuthorization
|
|
821
|
+
*/
|
|
822
|
+
declare function getHimalayaAuthorization(projectId: string): Promise<NonNullablePaths<GetHimalayaAuthorizationResponse, `authorizationVersion` | `metaSiteId` | `projectId` | `canonicalApp` | `workerLaunch` | `saveDesign`, 0>>;
|
|
744
823
|
|
|
745
|
-
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 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, createProject, deleteProject, getProject, listProjects, regenerateProjectIcon, regenerateProjectName, resumeProject, saveProjectDesign, updateProject };
|
|
824
|
+
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, createProject, deleteProject, getHimalayaAuthorization, getProject, listProjects, regenerateProjectIcon, regenerateProjectName, resumeProject, saveProjectDesign, updateProject };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreateProjectRequest as CreateProjectRequest$1, CreateProjectResponse as CreateProjectResponse$1, GetProjectRequest as GetProjectRequest$1, GetProjectResponse as GetProjectResponse$1, UpdateProjectRequest as UpdateProjectRequest$1, UpdateProjectResponse as UpdateProjectResponse$1, DeleteProjectRequest as DeleteProjectRequest$1, DeleteProjectResponse as DeleteProjectResponse$1, ResumeProjectRequest as ResumeProjectRequest$1, ResumeProjectResponse as ResumeProjectResponse$1, RegenerateProjectNameRequest as RegenerateProjectNameRequest$1, RegenerateProjectNameResponse as RegenerateProjectNameResponse$1, RegenerateProjectIconRequest as RegenerateProjectIconRequest$1, RegenerateProjectIconResponse as RegenerateProjectIconResponse$1, SaveProjectDesignRequest as SaveProjectDesignRequest$1, SaveProjectDesignResponse as SaveProjectDesignResponse$1, ListProjectsRequest as ListProjectsRequest$1, ListProjectsResponse as ListProjectsResponse$1 } from './index.typings.mjs';
|
|
1
|
+
import { CreateProjectRequest as CreateProjectRequest$1, CreateProjectResponse as CreateProjectResponse$1, GetProjectRequest as GetProjectRequest$1, GetProjectResponse as GetProjectResponse$1, UpdateProjectRequest as UpdateProjectRequest$1, UpdateProjectResponse as UpdateProjectResponse$1, DeleteProjectRequest as DeleteProjectRequest$1, DeleteProjectResponse as DeleteProjectResponse$1, ResumeProjectRequest as ResumeProjectRequest$1, ResumeProjectResponse as ResumeProjectResponse$1, RegenerateProjectNameRequest as RegenerateProjectNameRequest$1, RegenerateProjectNameResponse as RegenerateProjectNameResponse$1, RegenerateProjectIconRequest as RegenerateProjectIconRequest$1, RegenerateProjectIconResponse as RegenerateProjectIconResponse$1, SaveProjectDesignRequest as SaveProjectDesignRequest$1, SaveProjectDesignResponse as SaveProjectDesignResponse$1, ListProjectsRequest as ListProjectsRequest$1, ListProjectsResponse as ListProjectsResponse$1, GetHimalayaAuthorizationRequest as GetHimalayaAuthorizationRequest$1, GetHimalayaAuthorizationResponse as GetHimalayaAuthorizationResponse$1 } from './index.typings.mjs';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
interface Project {
|
|
@@ -150,10 +150,15 @@ interface CreateAgentSessionResponse {
|
|
|
150
150
|
}
|
|
151
151
|
interface RefreshAgentSiteTokenRequest {
|
|
152
152
|
/**
|
|
153
|
-
*
|
|
153
|
+
* Exact project/job tuple whose initiating user's site token should be re-minted.
|
|
154
154
|
* @format GUID
|
|
155
155
|
*/
|
|
156
156
|
projectId?: string;
|
|
157
|
+
/**
|
|
158
|
+
* Job whose persisted initiating user and MetaSite provenance must be revalidated.
|
|
159
|
+
* @format GUID
|
|
160
|
+
*/
|
|
161
|
+
jobId?: string;
|
|
157
162
|
}
|
|
158
163
|
interface RefreshAgentSiteTokenResponse {
|
|
159
164
|
/**
|
|
@@ -166,6 +171,28 @@ interface RefreshAgentSiteTokenResponse {
|
|
|
166
171
|
accessToken?: string;
|
|
167
172
|
/** Seconds until the returned token expires, as reported by oauth2-ng. */
|
|
168
173
|
expiresIn?: string;
|
|
174
|
+
/** Version of the job-bound authorization response contract. */
|
|
175
|
+
authorizationVersion?: number;
|
|
176
|
+
/**
|
|
177
|
+
* The project authorized by this refresh.
|
|
178
|
+
* @format GUID
|
|
179
|
+
*/
|
|
180
|
+
projectId?: string;
|
|
181
|
+
/**
|
|
182
|
+
* The job authorized by this refresh.
|
|
183
|
+
* @format GUID
|
|
184
|
+
*/
|
|
185
|
+
jobId?: string;
|
|
186
|
+
/**
|
|
187
|
+
* Trusted MetaSite captured when the job was created.
|
|
188
|
+
* @format GUID
|
|
189
|
+
*/
|
|
190
|
+
metaSiteId?: string;
|
|
191
|
+
/**
|
|
192
|
+
* Trusted dashboard USER captured when the job was created.
|
|
193
|
+
* @format GUID
|
|
194
|
+
*/
|
|
195
|
+
initiatingUserId?: string;
|
|
169
196
|
}
|
|
170
197
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
171
198
|
createdEvent?: EntityCreatedEvent;
|
|
@@ -544,6 +571,12 @@ interface SaveProjectDesignRequest {
|
|
|
544
571
|
* @maxLength 4096
|
|
545
572
|
*/
|
|
546
573
|
himalayaControlToken: string;
|
|
574
|
+
/**
|
|
575
|
+
* Client assertion of the canonical app returned by authenticated Himalaya lookup. Catalyst
|
|
576
|
+
* resolves and validates the same value; it is never used as an unchecked write target.
|
|
577
|
+
* @maxLength 200
|
|
578
|
+
*/
|
|
579
|
+
canonicalApp?: string;
|
|
547
580
|
}
|
|
548
581
|
interface SaveProjectDesignResponse {
|
|
549
582
|
/**
|
|
@@ -570,6 +603,36 @@ interface ListProjectsResponse {
|
|
|
570
603
|
/** Paging metadata for cursor-based pagination. */
|
|
571
604
|
pagingMetadata?: CursorPagingMetadata;
|
|
572
605
|
}
|
|
606
|
+
interface GetHimalayaAuthorizationRequest {
|
|
607
|
+
/**
|
|
608
|
+
* Site-tenanted Containers project being authorized.
|
|
609
|
+
* @format GUID
|
|
610
|
+
*/
|
|
611
|
+
projectId: string;
|
|
612
|
+
}
|
|
613
|
+
interface GetHimalayaAuthorizationResponse {
|
|
614
|
+
/** Version of the authorization capability contract. */
|
|
615
|
+
authorizationVersion?: number;
|
|
616
|
+
/**
|
|
617
|
+
* Trusted MetaSite selected from request identity context.
|
|
618
|
+
* @format GUID
|
|
619
|
+
*/
|
|
620
|
+
metaSiteId?: string;
|
|
621
|
+
/**
|
|
622
|
+
* Site-tenanted Containers project authorized by the lookup.
|
|
623
|
+
* @format GUID
|
|
624
|
+
*/
|
|
625
|
+
projectId?: string;
|
|
626
|
+
/**
|
|
627
|
+
* Verified canonical Himalaya app slug.
|
|
628
|
+
* @maxLength 200
|
|
629
|
+
*/
|
|
630
|
+
canonicalApp?: string;
|
|
631
|
+
/** Whether a fresh worker launch is currently authorized. */
|
|
632
|
+
workerLaunch?: boolean;
|
|
633
|
+
/** Whether a fresh design save is currently authorized. */
|
|
634
|
+
saveDesign?: boolean;
|
|
635
|
+
}
|
|
573
636
|
|
|
574
637
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
575
638
|
getUrl: (context: any) => string;
|
|
@@ -604,5 +667,8 @@ declare function saveProjectDesign(): __PublicMethodMetaInfo<'POST', {
|
|
|
604
667
|
projectId: string;
|
|
605
668
|
}, SaveProjectDesignRequest$1, SaveProjectDesignRequest, SaveProjectDesignResponse$1, SaveProjectDesignResponse>;
|
|
606
669
|
declare function listProjects(): __PublicMethodMetaInfo<'GET', {}, ListProjectsRequest$1, ListProjectsRequest, ListProjectsResponse$1, ListProjectsResponse>;
|
|
670
|
+
declare function getHimalayaAuthorization(): __PublicMethodMetaInfo<'GET', {
|
|
671
|
+
projectId: string;
|
|
672
|
+
}, GetHimalayaAuthorizationRequest$1, GetHimalayaAuthorizationRequest, GetHimalayaAuthorizationResponse$1, GetHimalayaAuthorizationResponse>;
|
|
607
673
|
|
|
608
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type CreateAgentSessionRequest as CreateAgentSessionRequestOriginal, type CreateAgentSessionResponse as CreateAgentSessionResponseOriginal, type CreateProjectRequest as CreateProjectRequestOriginal, type CreateProjectResponse as CreateProjectResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DeleteProjectRequest as DeleteProjectRequestOriginal, type DeleteProjectResponse as DeleteProjectResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type GetProjectRequest as GetProjectRequestOriginal, type GetProjectResponse as GetProjectResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ListProjectsForCurrentUserRequest as ListProjectsForCurrentUserRequestOriginal, type ListProjectsForCurrentUserResponse as ListProjectsForCurrentUserResponseOriginal, type ListProjectsRequest as ListProjectsRequestOriginal, type ListProjectsResponse as ListProjectsResponseOriginal, type MessageEnvelope as MessageEnvelopeOriginal, Platform as PlatformOriginal, type PlatformWithLiterals as PlatformWithLiteralsOriginal, type Project as ProjectOriginal, type ProjectPlanReady as ProjectPlanReadyOriginal, type ProjectResumeRequested as ProjectResumeRequestedOriginal, type ProjectStartRequested as ProjectStartRequestedOriginal, ProjectStatus as ProjectStatusOriginal, type ProjectStatusWithLiterals as ProjectStatusWithLiteralsOriginal, type RefreshAgentSiteTokenRequest as RefreshAgentSiteTokenRequestOriginal, type RefreshAgentSiteTokenResponse as RefreshAgentSiteTokenResponseOriginal, type RegenerateProjectIconRequest as RegenerateProjectIconRequestOriginal, type RegenerateProjectIconResponse as RegenerateProjectIconResponseOriginal, type RegenerateProjectNameRequest as RegenerateProjectNameRequestOriginal, type RegenerateProjectNameResponse as RegenerateProjectNameResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type ResumeProjectRequest as ResumeProjectRequestOriginal, type ResumeProjectResponse as ResumeProjectResponseOriginal, SandboxStatus as SandboxStatusOriginal, type SandboxStatusWithLiterals as SandboxStatusWithLiteralsOriginal, type SaveProjectDesignRequest as SaveProjectDesignRequestOriginal, type SaveProjectDesignResponse as SaveProjectDesignResponseOriginal, type StartProjectRequest as StartProjectRequestOriginal, type StartProjectResponse as StartProjectResponseOriginal, type UpdateProjectRequest as UpdateProjectRequestOriginal, type UpdateProjectResponse as UpdateProjectResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, createProject, deleteProject, getProject, listProjects, regenerateProjectIcon, regenerateProjectName, resumeProject, saveProjectDesign, updateProject };
|
|
674
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type CreateAgentSessionRequest as CreateAgentSessionRequestOriginal, type CreateAgentSessionResponse as CreateAgentSessionResponseOriginal, type CreateProjectRequest as CreateProjectRequestOriginal, type CreateProjectResponse as CreateProjectResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DeleteProjectRequest as DeleteProjectRequestOriginal, type DeleteProjectResponse as DeleteProjectResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type GetHimalayaAuthorizationRequest as GetHimalayaAuthorizationRequestOriginal, type GetHimalayaAuthorizationResponse as GetHimalayaAuthorizationResponseOriginal, type GetProjectRequest as GetProjectRequestOriginal, type GetProjectResponse as GetProjectResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ListProjectsForCurrentUserRequest as ListProjectsForCurrentUserRequestOriginal, type ListProjectsForCurrentUserResponse as ListProjectsForCurrentUserResponseOriginal, type ListProjectsRequest as ListProjectsRequestOriginal, type ListProjectsResponse as ListProjectsResponseOriginal, type MessageEnvelope as MessageEnvelopeOriginal, Platform as PlatformOriginal, type PlatformWithLiterals as PlatformWithLiteralsOriginal, type Project as ProjectOriginal, type ProjectPlanReady as ProjectPlanReadyOriginal, type ProjectResumeRequested as ProjectResumeRequestedOriginal, type ProjectStartRequested as ProjectStartRequestedOriginal, ProjectStatus as ProjectStatusOriginal, type ProjectStatusWithLiterals as ProjectStatusWithLiteralsOriginal, type RefreshAgentSiteTokenRequest as RefreshAgentSiteTokenRequestOriginal, type RefreshAgentSiteTokenResponse as RefreshAgentSiteTokenResponseOriginal, type RegenerateProjectIconRequest as RegenerateProjectIconRequestOriginal, type RegenerateProjectIconResponse as RegenerateProjectIconResponseOriginal, type RegenerateProjectNameRequest as RegenerateProjectNameRequestOriginal, type RegenerateProjectNameResponse as RegenerateProjectNameResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type ResumeProjectRequest as ResumeProjectRequestOriginal, type ResumeProjectResponse as ResumeProjectResponseOriginal, SandboxStatus as SandboxStatusOriginal, type SandboxStatusWithLiterals as SandboxStatusWithLiteralsOriginal, type SaveProjectDesignRequest as SaveProjectDesignRequestOriginal, type SaveProjectDesignResponse as SaveProjectDesignResponseOriginal, type StartProjectRequest as StartProjectRequestOriginal, type StartProjectResponse as StartProjectResponseOriginal, type UpdateProjectRequest as UpdateProjectRequestOriginal, type UpdateProjectResponse as UpdateProjectResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, createProject, deleteProject, getHimalayaAuthorization, getProject, listProjects, regenerateProjectIcon, regenerateProjectName, resumeProject, saveProjectDesign, updateProject };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_containers_projects",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.containers.projects.v1.project"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "b2db7fe62745b1baa00760a66c624b0bab9f973b821d1443696ca12a"
|
|
54
54
|
}
|