@wix/auto_sdk_portfolio_projects 1.0.16 → 1.0.18
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/index.d.mts +120 -0
- package/build/index.d.ts +120 -0
- package/build/index.js +1439 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +1396 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/index.d.mts +120 -0
- package/build/internal/index.d.ts +120 -0
- package/build/internal/index.js +1439 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +1396 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +515 -0
- package/build/internal/meta.d.ts +515 -0
- package/build/internal/meta.js +836 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +801 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/internal/{cjs/src/portfolio-projects-v1-project-projects.universal.d.ts → portfolio-projects-v1-project-projects.universal-D18FmjD0.d.mts} +130 -320
- package/build/internal/{es/src/portfolio-projects-v1-project-projects.universal.d.ts → portfolio-projects-v1-project-projects.universal-D18FmjD0.d.ts} +130 -320
- package/build/meta.d.mts +515 -0
- package/build/meta.d.ts +515 -0
- package/build/meta.js +836 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +801 -0
- package/build/meta.mjs.map +1 -0
- package/build/{cjs/src/portfolio-projects-v1-project-projects.universal.d.ts → portfolio-projects-v1-project-projects.universal-D18FmjD0.d.mts} +130 -320
- package/build/{es/src/portfolio-projects-v1-project-projects.universal.d.ts → portfolio-projects-v1-project-projects.universal-D18FmjD0.d.ts} +130 -320
- package/package.json +12 -11
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/portfolio-projects-v1-project-projects.context.d.ts +0 -29
- package/build/cjs/src/portfolio-projects-v1-project-projects.context.js +0 -40
- package/build/cjs/src/portfolio-projects-v1-project-projects.context.js.map +0 -1
- package/build/cjs/src/portfolio-projects-v1-project-projects.http.d.ts +0 -42
- package/build/cjs/src/portfolio-projects-v1-project-projects.http.js +0 -658
- package/build/cjs/src/portfolio-projects-v1-project-projects.http.js.map +0 -1
- package/build/cjs/src/portfolio-projects-v1-project-projects.meta.d.ts +0 -30
- package/build/cjs/src/portfolio-projects-v1-project-projects.meta.js +0 -202
- package/build/cjs/src/portfolio-projects-v1-project-projects.meta.js.map +0 -1
- package/build/cjs/src/portfolio-projects-v1-project-projects.public.d.ts +0 -98
- package/build/cjs/src/portfolio-projects-v1-project-projects.public.js +0 -176
- package/build/cjs/src/portfolio-projects-v1-project-projects.public.js.map +0 -1
- package/build/cjs/src/portfolio-projects-v1-project-projects.types.d.ts +0 -1321
- package/build/cjs/src/portfolio-projects-v1-project-projects.types.js +0 -143
- package/build/cjs/src/portfolio-projects-v1-project-projects.types.js.map +0 -1
- package/build/cjs/src/portfolio-projects-v1-project-projects.universal.js +0 -721
- package/build/cjs/src/portfolio-projects-v1-project-projects.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/portfolio-projects-v1-project-projects.context.d.ts +0 -29
- package/build/es/src/portfolio-projects-v1-project-projects.context.js +0 -29
- package/build/es/src/portfolio-projects-v1-project-projects.context.js.map +0 -1
- package/build/es/src/portfolio-projects-v1-project-projects.http.d.ts +0 -42
- package/build/es/src/portfolio-projects-v1-project-projects.http.js +0 -646
- package/build/es/src/portfolio-projects-v1-project-projects.http.js.map +0 -1
- package/build/es/src/portfolio-projects-v1-project-projects.meta.d.ts +0 -30
- package/build/es/src/portfolio-projects-v1-project-projects.meta.js +0 -167
- package/build/es/src/portfolio-projects-v1-project-projects.meta.js.map +0 -1
- package/build/es/src/portfolio-projects-v1-project-projects.public.d.ts +0 -98
- package/build/es/src/portfolio-projects-v1-project-projects.public.js +0 -156
- package/build/es/src/portfolio-projects-v1-project-projects.public.js.map +0 -1
- package/build/es/src/portfolio-projects-v1-project-projects.types.d.ts +0 -1321
- package/build/es/src/portfolio-projects-v1-project-projects.types.js +0 -140
- package/build/es/src/portfolio-projects-v1-project-projects.types.js.map +0 -1
- package/build/es/src/portfolio-projects-v1-project-projects.universal.js +0 -686
- package/build/es/src/portfolio-projects-v1-project-projects.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.context.d.ts +0 -29
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.context.js +0 -40
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.context.js.map +0 -1
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.http.d.ts +0 -42
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.http.js +0 -658
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.http.js.map +0 -1
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.meta.d.ts +0 -30
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.meta.js +0 -202
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.meta.js.map +0 -1
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.public.d.ts +0 -98
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.public.js +0 -176
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.public.js.map +0 -1
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.types.d.ts +0 -1321
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.types.js +0 -143
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.types.js.map +0 -1
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.universal.js +0 -721
- package/build/internal/cjs/src/portfolio-projects-v1-project-projects.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/portfolio-projects-v1-project-projects.context.d.ts +0 -29
- package/build/internal/es/src/portfolio-projects-v1-project-projects.context.js +0 -29
- package/build/internal/es/src/portfolio-projects-v1-project-projects.context.js.map +0 -1
- package/build/internal/es/src/portfolio-projects-v1-project-projects.http.d.ts +0 -42
- package/build/internal/es/src/portfolio-projects-v1-project-projects.http.js +0 -646
- package/build/internal/es/src/portfolio-projects-v1-project-projects.http.js.map +0 -1
- package/build/internal/es/src/portfolio-projects-v1-project-projects.meta.d.ts +0 -30
- package/build/internal/es/src/portfolio-projects-v1-project-projects.meta.js +0 -167
- package/build/internal/es/src/portfolio-projects-v1-project-projects.meta.js.map +0 -1
- package/build/internal/es/src/portfolio-projects-v1-project-projects.public.d.ts +0 -98
- package/build/internal/es/src/portfolio-projects-v1-project-projects.public.js +0 -156
- package/build/internal/es/src/portfolio-projects-v1-project-projects.public.js.map +0 -1
- package/build/internal/es/src/portfolio-projects-v1-project-projects.types.d.ts +0 -1321
- package/build/internal/es/src/portfolio-projects-v1-project-projects.types.js +0 -140
- package/build/internal/es/src/portfolio-projects-v1-project-projects.types.js.map +0 -1
- package/build/internal/es/src/portfolio-projects-v1-project-projects.universal.js +0 -686
- package/build/internal/es/src/portfolio-projects-v1-project-projects.universal.js.map +0 -1
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { P as Project, G as GetProjectOptions, L as ListProjectsOptions, a as ListProjectsResponse, U as UpdateProject, B as BulkUpdateProjectsOptions, b as BulkUpdateProjectsResponse, D as DeleteProjectResponse, Q as QueryProjectsOptions, c as ProjectsQueryBuilder, d as UpdateProjectOrderInCollectionIdentifiers, e as UpdateProjectOrderInCollectionResponse, f as QueryV2, g as QueryProjectsWithCollectionInfoOptions, h as QueryProjectWithCollectionInfoResponse, i as ProjectCreatedEnvelope, j as ProjectDeletedEnvelope, k as ProjectUpdatedEnvelope } from './portfolio-projects-v1-project-projects.universal-D18FmjD0.mjs';
|
|
3
|
+
export { a$ as ActionEvent, an as App, aI as ApplicationError, R as Asset, b0 as BaseEventMetadata, aJ as BulkActionMetadata, aE as BulkUpdateProjectsRequest, aG as BulkUpdateProjectsResult, F as CreateNewPortfolioAppRequest, H as CreateNewPortfolioAppResponse, au as CreateProjectRequest, av as CreateProjectResponse, az as CursorPaging, aB as Cursors, ar as CustomTag, _ as DeleteContext, aK as DeleteProjectRequest, n as DeleteStatus, at as DeletedProjectRestored, w as DetailsLink, aV as DomainEvent, aW as DomainEventBodyOneOf, ah as Empty, aX as EntityCreatedEvent, a_ as EntityDeletedEvent, aZ as EntityUpdatedEvent, b1 as EventMetadata, aq as File, A as GetProjectPageDataRequest, C as GetProjectPageDataResponse, aw as GetProjectRequest, ax as GetProjectResponse, aj as IdentificationData, ak as IdentificationDataIdOneOf, q as Image, I as ImageType, al as InvalidateCache, am as InvalidateCacheGetByOneOf, aH as ItemMetadata, K as Keyword, ay as ListProjectsRequest, aF as MaskedProject, M as MenuSettingUpdatedEvent, ai as MessageEnvelope, J as MetaSiteSpecialEvent, O as MetaSiteSpecialEventPayloadOneOf, N as Namespace, a8 as NamespaceChanged, ad as OdeditorAssigned, ae as OdeditorUnassigned, ao as Page, aO as Paging, aA as PagingMetadataV2, af as PicassoAssigned, ag as PicassoUnassigned, r as Point, p as ProjectCoverOneOf, u as ProjectDetail, v as ProjectDetailValueOneOf, E as ProjectSlug, x as ProjectSource, aR as ProjectsInCollections, b2 as ProjectsQueryResult, aS as QueryProjectWithCollectionInfoRequest, aL as QueryProjectsRequest, aP as QueryProjectsResponse, aM as QueryV2PagingMethodOneOf, aY as RestoreInfo, aT as RestoreProjectFromTrashBinRequest, aU as RestoreProjectFromTrashBinResponse, y as SeoSchema, a4 as ServiceProvisioned, a5 as ServiceRemoved, z as Settings, X as SiteCreated, m as SiteCreatedContext, Z as SiteDeleted, a7 as SiteHardDeleted, a2 as SiteMarkedAsTemplate, a3 as SiteMarkedAsWixSite, a0 as SitePublished, ac as SitePurgedExternally, a6 as SiteRenamed, Y as SiteTransferred, $ as SiteUndeleted, a1 as SiteUnpublished, ab as SiteUrlChanged, o as SortOrder, aN as Sorting, l as State, a9 as StudioAssigned, aa as StudioUnassigned, as as SyncProjectWithCollectionMappings, S as SyncStatus, T as Tag, ap as URI, s as UnsharpMasking, aQ as UpdateProjectOrderInCollectionRequest, aC as UpdateProjectRequest, aD as UpdateProjectResponse, V as Video, t as VideoResolution, W as WebhookIdentityType } from './portfolio-projects-v1-project-projects.universal-D18FmjD0.mjs';
|
|
4
|
+
|
|
5
|
+
declare function createProject$1(httpClient: HttpClient): CreateProjectSignature;
|
|
6
|
+
interface CreateProjectSignature {
|
|
7
|
+
/**
|
|
8
|
+
* Creates a project.
|
|
9
|
+
* @param - Project to create.
|
|
10
|
+
* @returns Created project.
|
|
11
|
+
*/
|
|
12
|
+
(project: Project): Promise<Project>;
|
|
13
|
+
}
|
|
14
|
+
declare function getProject$1(httpClient: HttpClient): GetProjectSignature;
|
|
15
|
+
interface GetProjectSignature {
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves a project.
|
|
18
|
+
* @param - ID of the project to retrieve.
|
|
19
|
+
* @returns The requested project.
|
|
20
|
+
*/
|
|
21
|
+
(projectId: string, options?: GetProjectOptions | undefined): Promise<Project>;
|
|
22
|
+
}
|
|
23
|
+
declare function listProjects$1(httpClient: HttpClient): ListProjectsSignature;
|
|
24
|
+
interface ListProjectsSignature {
|
|
25
|
+
/**
|
|
26
|
+
* Retrieves a list of all projects in a portfolio.
|
|
27
|
+
*/
|
|
28
|
+
(options?: ListProjectsOptions | undefined): Promise<ListProjectsResponse>;
|
|
29
|
+
}
|
|
30
|
+
declare function updateProject$1(httpClient: HttpClient): UpdateProjectSignature;
|
|
31
|
+
interface UpdateProjectSignature {
|
|
32
|
+
/**
|
|
33
|
+
* Updates a project.
|
|
34
|
+
* @param - Project ID.
|
|
35
|
+
* @returns Updated project.
|
|
36
|
+
*/
|
|
37
|
+
(_id: string, project: UpdateProject): Promise<Project>;
|
|
38
|
+
}
|
|
39
|
+
declare function bulkUpdateProjects$1(httpClient: HttpClient): BulkUpdateProjectsSignature;
|
|
40
|
+
interface BulkUpdateProjectsSignature {
|
|
41
|
+
/**
|
|
42
|
+
* Updates multiple projects.
|
|
43
|
+
*/
|
|
44
|
+
(options?: BulkUpdateProjectsOptions | undefined): Promise<BulkUpdateProjectsResponse>;
|
|
45
|
+
}
|
|
46
|
+
declare function deleteProject$1(httpClient: HttpClient): DeleteProjectSignature;
|
|
47
|
+
interface DeleteProjectSignature {
|
|
48
|
+
/**
|
|
49
|
+
* Deletes a project.
|
|
50
|
+
* @param - ID of the project to delete.
|
|
51
|
+
*/
|
|
52
|
+
(projectId: string): Promise<DeleteProjectResponse>;
|
|
53
|
+
}
|
|
54
|
+
declare function queryProjects$1(httpClient: HttpClient): QueryProjectsSignature;
|
|
55
|
+
interface QueryProjectsSignature {
|
|
56
|
+
/**
|
|
57
|
+
* Creates a query to retrieve a list of projects.
|
|
58
|
+
*
|
|
59
|
+
* The `queryProjects()` method builds a query to retrieve a list of projects and returns a `ProjectsQueryBuilder` object.
|
|
60
|
+
*
|
|
61
|
+
* The returned object contains the query definition, which is used to run the query using the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-builder/find) method.
|
|
62
|
+
*
|
|
63
|
+
* You can refine the query by chaining `ProjectsQueryBuilder` methods onto the query. `ProjectsQueryBuilder` methods enable you to filter, sort, and control the results that `queryProjects()` returns.
|
|
64
|
+
*
|
|
65
|
+
* `queryProjects()` runs with the following `ProjectsQueryBuilder` defaults which you can override:
|
|
66
|
+
*
|
|
67
|
+
* + [`limit(100)`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-builder/limit)
|
|
68
|
+
* + [`ascending('_id')`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-builder/ascending)
|
|
69
|
+
*
|
|
70
|
+
* The following `ProjectsQueryBuilder` methods are supported for `queryProjects()`. For a full description of the operations object, see the object returned for the [`items`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-result/items) property in `ProjectsQueryResult`.
|
|
71
|
+
*/
|
|
72
|
+
(options?: QueryProjectsOptions | undefined): ProjectsQueryBuilder;
|
|
73
|
+
}
|
|
74
|
+
declare function updateProjectOrderInCollection$1(httpClient: HttpClient): UpdateProjectOrderInCollectionSignature;
|
|
75
|
+
interface UpdateProjectOrderInCollectionSignature {
|
|
76
|
+
/**
|
|
77
|
+
* Deprecated - please use ProjectsInCollectionsService.UpdateProjectOrderInCollection instead
|
|
78
|
+
* our Client still use it
|
|
79
|
+
* @param - Index that determines the placement of a project within the collection.
|
|
80
|
+
* @deprecated
|
|
81
|
+
*/
|
|
82
|
+
(identifiers: UpdateProjectOrderInCollectionIdentifiers, sortOrder: number): Promise<UpdateProjectOrderInCollectionResponse>;
|
|
83
|
+
}
|
|
84
|
+
declare function queryProjectsWithCollectionInfo$1(httpClient: HttpClient): QueryProjectsWithCollectionInfoSignature;
|
|
85
|
+
interface QueryProjectsWithCollectionInfoSignature {
|
|
86
|
+
/**
|
|
87
|
+
* Deprecated - please use ProjectsInCollectionsService.QueryProjectsInCollections instead
|
|
88
|
+
* our Client still use it
|
|
89
|
+
* @param - WQL expression
|
|
90
|
+
* @deprecated
|
|
91
|
+
*/
|
|
92
|
+
(query: QueryV2, options?: QueryProjectsWithCollectionInfoOptions | undefined): Promise<QueryProjectWithCollectionInfoResponse>;
|
|
93
|
+
}
|
|
94
|
+
declare const onProjectCreated$1: EventDefinition<ProjectCreatedEnvelope, "wix.portfolio.projects.v1.project_created">;
|
|
95
|
+
declare const onProjectDeleted$1: EventDefinition<ProjectDeletedEnvelope, "wix.portfolio.projects.v1.project_deleted">;
|
|
96
|
+
declare const onProjectUpdated$1: EventDefinition<ProjectUpdatedEnvelope, "wix.portfolio.projects.v1.project_updated">;
|
|
97
|
+
|
|
98
|
+
declare const createProject: MaybeContext<BuildRESTFunction<typeof createProject$1> & typeof createProject$1>;
|
|
99
|
+
declare const getProject: MaybeContext<BuildRESTFunction<typeof getProject$1> & typeof getProject$1>;
|
|
100
|
+
declare const listProjects: MaybeContext<BuildRESTFunction<typeof listProjects$1> & typeof listProjects$1>;
|
|
101
|
+
declare const updateProject: MaybeContext<BuildRESTFunction<typeof updateProject$1> & typeof updateProject$1>;
|
|
102
|
+
declare const bulkUpdateProjects: MaybeContext<BuildRESTFunction<typeof bulkUpdateProjects$1> & typeof bulkUpdateProjects$1>;
|
|
103
|
+
declare const deleteProject: MaybeContext<BuildRESTFunction<typeof deleteProject$1> & typeof deleteProject$1>;
|
|
104
|
+
declare const queryProjects: MaybeContext<BuildRESTFunction<typeof queryProjects$1> & typeof queryProjects$1>;
|
|
105
|
+
declare const updateProjectOrderInCollection: MaybeContext<BuildRESTFunction<typeof updateProjectOrderInCollection$1> & typeof updateProjectOrderInCollection$1>;
|
|
106
|
+
declare const queryProjectsWithCollectionInfo: MaybeContext<BuildRESTFunction<typeof queryProjectsWithCollectionInfo$1> & typeof queryProjectsWithCollectionInfo$1>;
|
|
107
|
+
/**
|
|
108
|
+
* Triggered when a project is created.
|
|
109
|
+
*/
|
|
110
|
+
declare const onProjectCreated: BuildEventDefinition<typeof onProjectCreated$1>;
|
|
111
|
+
/**
|
|
112
|
+
* Triggered when a project is deleted.
|
|
113
|
+
*/
|
|
114
|
+
declare const onProjectDeleted: BuildEventDefinition<typeof onProjectDeleted$1>;
|
|
115
|
+
/**
|
|
116
|
+
* Triggered when a project is updated.
|
|
117
|
+
*/
|
|
118
|
+
declare const onProjectUpdated: BuildEventDefinition<typeof onProjectUpdated$1>;
|
|
119
|
+
|
|
120
|
+
export { BulkUpdateProjectsOptions, BulkUpdateProjectsResponse, DeleteProjectResponse, GetProjectOptions, ListProjectsOptions, ListProjectsResponse, Project, ProjectCreatedEnvelope, ProjectDeletedEnvelope, ProjectUpdatedEnvelope, ProjectsQueryBuilder, QueryProjectWithCollectionInfoResponse, QueryProjectsOptions, QueryProjectsWithCollectionInfoOptions, QueryV2, UpdateProject, UpdateProjectOrderInCollectionIdentifiers, UpdateProjectOrderInCollectionResponse, bulkUpdateProjects, createProject, deleteProject, getProject, listProjects, onProjectCreated, onProjectDeleted, onProjectUpdated, queryProjects, queryProjectsWithCollectionInfo, updateProject, updateProjectOrderInCollection };
|
package/build/index.d.ts
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { P as Project, G as GetProjectOptions, L as ListProjectsOptions, a as ListProjectsResponse, U as UpdateProject, B as BulkUpdateProjectsOptions, b as BulkUpdateProjectsResponse, D as DeleteProjectResponse, Q as QueryProjectsOptions, c as ProjectsQueryBuilder, d as UpdateProjectOrderInCollectionIdentifiers, e as UpdateProjectOrderInCollectionResponse, f as QueryV2, g as QueryProjectsWithCollectionInfoOptions, h as QueryProjectWithCollectionInfoResponse, i as ProjectCreatedEnvelope, j as ProjectDeletedEnvelope, k as ProjectUpdatedEnvelope } from './portfolio-projects-v1-project-projects.universal-D18FmjD0.js';
|
|
3
|
+
export { a$ as ActionEvent, an as App, aI as ApplicationError, R as Asset, b0 as BaseEventMetadata, aJ as BulkActionMetadata, aE as BulkUpdateProjectsRequest, aG as BulkUpdateProjectsResult, F as CreateNewPortfolioAppRequest, H as CreateNewPortfolioAppResponse, au as CreateProjectRequest, av as CreateProjectResponse, az as CursorPaging, aB as Cursors, ar as CustomTag, _ as DeleteContext, aK as DeleteProjectRequest, n as DeleteStatus, at as DeletedProjectRestored, w as DetailsLink, aV as DomainEvent, aW as DomainEventBodyOneOf, ah as Empty, aX as EntityCreatedEvent, a_ as EntityDeletedEvent, aZ as EntityUpdatedEvent, b1 as EventMetadata, aq as File, A as GetProjectPageDataRequest, C as GetProjectPageDataResponse, aw as GetProjectRequest, ax as GetProjectResponse, aj as IdentificationData, ak as IdentificationDataIdOneOf, q as Image, I as ImageType, al as InvalidateCache, am as InvalidateCacheGetByOneOf, aH as ItemMetadata, K as Keyword, ay as ListProjectsRequest, aF as MaskedProject, M as MenuSettingUpdatedEvent, ai as MessageEnvelope, J as MetaSiteSpecialEvent, O as MetaSiteSpecialEventPayloadOneOf, N as Namespace, a8 as NamespaceChanged, ad as OdeditorAssigned, ae as OdeditorUnassigned, ao as Page, aO as Paging, aA as PagingMetadataV2, af as PicassoAssigned, ag as PicassoUnassigned, r as Point, p as ProjectCoverOneOf, u as ProjectDetail, v as ProjectDetailValueOneOf, E as ProjectSlug, x as ProjectSource, aR as ProjectsInCollections, b2 as ProjectsQueryResult, aS as QueryProjectWithCollectionInfoRequest, aL as QueryProjectsRequest, aP as QueryProjectsResponse, aM as QueryV2PagingMethodOneOf, aY as RestoreInfo, aT as RestoreProjectFromTrashBinRequest, aU as RestoreProjectFromTrashBinResponse, y as SeoSchema, a4 as ServiceProvisioned, a5 as ServiceRemoved, z as Settings, X as SiteCreated, m as SiteCreatedContext, Z as SiteDeleted, a7 as SiteHardDeleted, a2 as SiteMarkedAsTemplate, a3 as SiteMarkedAsWixSite, a0 as SitePublished, ac as SitePurgedExternally, a6 as SiteRenamed, Y as SiteTransferred, $ as SiteUndeleted, a1 as SiteUnpublished, ab as SiteUrlChanged, o as SortOrder, aN as Sorting, l as State, a9 as StudioAssigned, aa as StudioUnassigned, as as SyncProjectWithCollectionMappings, S as SyncStatus, T as Tag, ap as URI, s as UnsharpMasking, aQ as UpdateProjectOrderInCollectionRequest, aC as UpdateProjectRequest, aD as UpdateProjectResponse, V as Video, t as VideoResolution, W as WebhookIdentityType } from './portfolio-projects-v1-project-projects.universal-D18FmjD0.js';
|
|
4
|
+
|
|
5
|
+
declare function createProject$1(httpClient: HttpClient): CreateProjectSignature;
|
|
6
|
+
interface CreateProjectSignature {
|
|
7
|
+
/**
|
|
8
|
+
* Creates a project.
|
|
9
|
+
* @param - Project to create.
|
|
10
|
+
* @returns Created project.
|
|
11
|
+
*/
|
|
12
|
+
(project: Project): Promise<Project>;
|
|
13
|
+
}
|
|
14
|
+
declare function getProject$1(httpClient: HttpClient): GetProjectSignature;
|
|
15
|
+
interface GetProjectSignature {
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves a project.
|
|
18
|
+
* @param - ID of the project to retrieve.
|
|
19
|
+
* @returns The requested project.
|
|
20
|
+
*/
|
|
21
|
+
(projectId: string, options?: GetProjectOptions | undefined): Promise<Project>;
|
|
22
|
+
}
|
|
23
|
+
declare function listProjects$1(httpClient: HttpClient): ListProjectsSignature;
|
|
24
|
+
interface ListProjectsSignature {
|
|
25
|
+
/**
|
|
26
|
+
* Retrieves a list of all projects in a portfolio.
|
|
27
|
+
*/
|
|
28
|
+
(options?: ListProjectsOptions | undefined): Promise<ListProjectsResponse>;
|
|
29
|
+
}
|
|
30
|
+
declare function updateProject$1(httpClient: HttpClient): UpdateProjectSignature;
|
|
31
|
+
interface UpdateProjectSignature {
|
|
32
|
+
/**
|
|
33
|
+
* Updates a project.
|
|
34
|
+
* @param - Project ID.
|
|
35
|
+
* @returns Updated project.
|
|
36
|
+
*/
|
|
37
|
+
(_id: string, project: UpdateProject): Promise<Project>;
|
|
38
|
+
}
|
|
39
|
+
declare function bulkUpdateProjects$1(httpClient: HttpClient): BulkUpdateProjectsSignature;
|
|
40
|
+
interface BulkUpdateProjectsSignature {
|
|
41
|
+
/**
|
|
42
|
+
* Updates multiple projects.
|
|
43
|
+
*/
|
|
44
|
+
(options?: BulkUpdateProjectsOptions | undefined): Promise<BulkUpdateProjectsResponse>;
|
|
45
|
+
}
|
|
46
|
+
declare function deleteProject$1(httpClient: HttpClient): DeleteProjectSignature;
|
|
47
|
+
interface DeleteProjectSignature {
|
|
48
|
+
/**
|
|
49
|
+
* Deletes a project.
|
|
50
|
+
* @param - ID of the project to delete.
|
|
51
|
+
*/
|
|
52
|
+
(projectId: string): Promise<DeleteProjectResponse>;
|
|
53
|
+
}
|
|
54
|
+
declare function queryProjects$1(httpClient: HttpClient): QueryProjectsSignature;
|
|
55
|
+
interface QueryProjectsSignature {
|
|
56
|
+
/**
|
|
57
|
+
* Creates a query to retrieve a list of projects.
|
|
58
|
+
*
|
|
59
|
+
* The `queryProjects()` method builds a query to retrieve a list of projects and returns a `ProjectsQueryBuilder` object.
|
|
60
|
+
*
|
|
61
|
+
* The returned object contains the query definition, which is used to run the query using the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-builder/find) method.
|
|
62
|
+
*
|
|
63
|
+
* You can refine the query by chaining `ProjectsQueryBuilder` methods onto the query. `ProjectsQueryBuilder` methods enable you to filter, sort, and control the results that `queryProjects()` returns.
|
|
64
|
+
*
|
|
65
|
+
* `queryProjects()` runs with the following `ProjectsQueryBuilder` defaults which you can override:
|
|
66
|
+
*
|
|
67
|
+
* + [`limit(100)`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-builder/limit)
|
|
68
|
+
* + [`ascending('_id')`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-builder/ascending)
|
|
69
|
+
*
|
|
70
|
+
* The following `ProjectsQueryBuilder` methods are supported for `queryProjects()`. For a full description of the operations object, see the object returned for the [`items`](https://dev.wix.com/docs/sdk/backend-modules/portfolio/projects/projects-query-result/items) property in `ProjectsQueryResult`.
|
|
71
|
+
*/
|
|
72
|
+
(options?: QueryProjectsOptions | undefined): ProjectsQueryBuilder;
|
|
73
|
+
}
|
|
74
|
+
declare function updateProjectOrderInCollection$1(httpClient: HttpClient): UpdateProjectOrderInCollectionSignature;
|
|
75
|
+
interface UpdateProjectOrderInCollectionSignature {
|
|
76
|
+
/**
|
|
77
|
+
* Deprecated - please use ProjectsInCollectionsService.UpdateProjectOrderInCollection instead
|
|
78
|
+
* our Client still use it
|
|
79
|
+
* @param - Index that determines the placement of a project within the collection.
|
|
80
|
+
* @deprecated
|
|
81
|
+
*/
|
|
82
|
+
(identifiers: UpdateProjectOrderInCollectionIdentifiers, sortOrder: number): Promise<UpdateProjectOrderInCollectionResponse>;
|
|
83
|
+
}
|
|
84
|
+
declare function queryProjectsWithCollectionInfo$1(httpClient: HttpClient): QueryProjectsWithCollectionInfoSignature;
|
|
85
|
+
interface QueryProjectsWithCollectionInfoSignature {
|
|
86
|
+
/**
|
|
87
|
+
* Deprecated - please use ProjectsInCollectionsService.QueryProjectsInCollections instead
|
|
88
|
+
* our Client still use it
|
|
89
|
+
* @param - WQL expression
|
|
90
|
+
* @deprecated
|
|
91
|
+
*/
|
|
92
|
+
(query: QueryV2, options?: QueryProjectsWithCollectionInfoOptions | undefined): Promise<QueryProjectWithCollectionInfoResponse>;
|
|
93
|
+
}
|
|
94
|
+
declare const onProjectCreated$1: EventDefinition<ProjectCreatedEnvelope, "wix.portfolio.projects.v1.project_created">;
|
|
95
|
+
declare const onProjectDeleted$1: EventDefinition<ProjectDeletedEnvelope, "wix.portfolio.projects.v1.project_deleted">;
|
|
96
|
+
declare const onProjectUpdated$1: EventDefinition<ProjectUpdatedEnvelope, "wix.portfolio.projects.v1.project_updated">;
|
|
97
|
+
|
|
98
|
+
declare const createProject: MaybeContext<BuildRESTFunction<typeof createProject$1> & typeof createProject$1>;
|
|
99
|
+
declare const getProject: MaybeContext<BuildRESTFunction<typeof getProject$1> & typeof getProject$1>;
|
|
100
|
+
declare const listProjects: MaybeContext<BuildRESTFunction<typeof listProjects$1> & typeof listProjects$1>;
|
|
101
|
+
declare const updateProject: MaybeContext<BuildRESTFunction<typeof updateProject$1> & typeof updateProject$1>;
|
|
102
|
+
declare const bulkUpdateProjects: MaybeContext<BuildRESTFunction<typeof bulkUpdateProjects$1> & typeof bulkUpdateProjects$1>;
|
|
103
|
+
declare const deleteProject: MaybeContext<BuildRESTFunction<typeof deleteProject$1> & typeof deleteProject$1>;
|
|
104
|
+
declare const queryProjects: MaybeContext<BuildRESTFunction<typeof queryProjects$1> & typeof queryProjects$1>;
|
|
105
|
+
declare const updateProjectOrderInCollection: MaybeContext<BuildRESTFunction<typeof updateProjectOrderInCollection$1> & typeof updateProjectOrderInCollection$1>;
|
|
106
|
+
declare const queryProjectsWithCollectionInfo: MaybeContext<BuildRESTFunction<typeof queryProjectsWithCollectionInfo$1> & typeof queryProjectsWithCollectionInfo$1>;
|
|
107
|
+
/**
|
|
108
|
+
* Triggered when a project is created.
|
|
109
|
+
*/
|
|
110
|
+
declare const onProjectCreated: BuildEventDefinition<typeof onProjectCreated$1>;
|
|
111
|
+
/**
|
|
112
|
+
* Triggered when a project is deleted.
|
|
113
|
+
*/
|
|
114
|
+
declare const onProjectDeleted: BuildEventDefinition<typeof onProjectDeleted$1>;
|
|
115
|
+
/**
|
|
116
|
+
* Triggered when a project is updated.
|
|
117
|
+
*/
|
|
118
|
+
declare const onProjectUpdated: BuildEventDefinition<typeof onProjectUpdated$1>;
|
|
119
|
+
|
|
120
|
+
export { BulkUpdateProjectsOptions, BulkUpdateProjectsResponse, DeleteProjectResponse, GetProjectOptions, ListProjectsOptions, ListProjectsResponse, Project, ProjectCreatedEnvelope, ProjectDeletedEnvelope, ProjectUpdatedEnvelope, ProjectsQueryBuilder, QueryProjectWithCollectionInfoResponse, QueryProjectsOptions, QueryProjectsWithCollectionInfoOptions, QueryV2, UpdateProject, UpdateProjectOrderInCollectionIdentifiers, UpdateProjectOrderInCollectionResponse, bulkUpdateProjects, createProject, deleteProject, getProject, listProjects, onProjectCreated, onProjectDeleted, onProjectUpdated, queryProjects, queryProjectsWithCollectionInfo, updateProject, updateProjectOrderInCollection };
|