@wix/auto_sdk_portfolio_synced-project 1.0.13 → 1.0.15
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 +49 -0
- package/build/index.d.ts +49 -0
- package/build/index.js +471 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +437 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/index.d.mts +49 -0
- package/build/internal/index.d.ts +49 -0
- package/build/internal/index.js +471 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +437 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +176 -0
- package/build/internal/meta.d.ts +176 -0
- package/build/internal/meta.js +290 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +259 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/{cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.d.ts → internal/portfolio-syncedprojects-v1-synced-project-synced-project.universal-Bnf15fH5.d.mts} +102 -80
- package/build/internal/{cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.d.ts → portfolio-syncedprojects-v1-synced-project-synced-project.universal-Bnf15fH5.d.ts} +102 -80
- package/build/meta.d.mts +176 -0
- package/build/meta.d.ts +176 -0
- package/build/meta.js +290 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +259 -0
- package/build/meta.mjs.map +1 -0
- package/build/{internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.d.ts → portfolio-syncedprojects-v1-synced-project-synced-project.universal-Bnf15fH5.d.mts} +102 -80
- package/build/{es/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.d.ts → portfolio-syncedprojects-v1-synced-project-synced-project.universal-Bnf15fH5.d.ts} +102 -80
- 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-syncedprojects-v1-synced-project-synced-project.context.d.ts +0 -9
- package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.context.js +0 -18
- package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.context.js.map +0 -1
- package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.d.ts +0 -11
- package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.js +0 -160
- package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.js.map +0 -1
- package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.d.ts +0 -28
- package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.js +0 -123
- package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.js.map +0 -1
- package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.d.ts +0 -43
- package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.js +0 -43
- package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.js.map +0 -1
- package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.js +0 -137
- package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.js.map +0 -1
- package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.d.ts +0 -928
- package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.js +0 -357
- package/build/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.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-syncedprojects-v1-synced-project-synced-project.context.d.ts +0 -9
- package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.context.js +0 -9
- package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.context.js.map +0 -1
- package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.d.ts +0 -11
- package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.js +0 -152
- package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.js.map +0 -1
- package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.d.ts +0 -28
- package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.js +0 -92
- package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.js.map +0 -1
- package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.d.ts +0 -43
- package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.js +0 -29
- package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.js.map +0 -1
- package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.js +0 -134
- package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.js.map +0 -1
- package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.d.ts +0 -928
- package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.js +0 -326
- package/build/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.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-syncedprojects-v1-synced-project-synced-project.context.d.ts +0 -9
- package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.context.js +0 -18
- package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.context.js.map +0 -1
- package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.d.ts +0 -11
- package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.js +0 -160
- package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.js.map +0 -1
- package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.d.ts +0 -28
- package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.js +0 -123
- package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.js.map +0 -1
- package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.d.ts +0 -43
- package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.js +0 -43
- package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.js.map +0 -1
- package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.js +0 -137
- package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.js.map +0 -1
- package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.d.ts +0 -928
- package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.js +0 -357
- package/build/internal/cjs/src/portfolio-syncedprojects-v1-synced-project-synced-project.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-syncedprojects-v1-synced-project-synced-project.context.d.ts +0 -9
- package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.context.js +0 -9
- package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.context.js.map +0 -1
- package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.d.ts +0 -11
- package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.js +0 -152
- package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.http.js.map +0 -1
- package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.d.ts +0 -28
- package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.js +0 -92
- package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.meta.js.map +0 -1
- package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.d.ts +0 -43
- package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.js +0 -29
- package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.public.js.map +0 -1
- package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.js +0 -134
- package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.types.js.map +0 -1
- package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.d.ts +0 -928
- package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.js +0 -326
- package/build/internal/es/src/portfolio-syncedprojects-v1-synced-project-synced-project.universal.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
interface SyncedProject {
|
|
2
2
|
/**
|
|
3
3
|
* Project ID in Portfolio - if project was yet to be create, will be None
|
|
4
4
|
* @format GUID
|
|
@@ -34,7 +34,7 @@ export interface SyncedProject {
|
|
|
34
34
|
/** External Project synced status */
|
|
35
35
|
status?: SyncStatusWithLiterals;
|
|
36
36
|
}
|
|
37
|
-
|
|
37
|
+
declare enum SyncStatus {
|
|
38
38
|
/** Project was not synced */
|
|
39
39
|
NOT_SYNCED = "NOT_SYNCED",
|
|
40
40
|
/** Project is in pending state */
|
|
@@ -45,8 +45,8 @@ export declare enum SyncStatus {
|
|
|
45
45
|
SYNCED = "SYNCED"
|
|
46
46
|
}
|
|
47
47
|
/** @enumType */
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
type SyncStatusWithLiterals = SyncStatus | 'NOT_SYNCED' | 'PENDING' | 'SYNCING' | 'SYNCED';
|
|
49
|
+
interface SyncingProjectEvent {
|
|
50
50
|
/** Provider appDefId */
|
|
51
51
|
appDefId?: string;
|
|
52
52
|
/** External Project ID */
|
|
@@ -58,7 +58,7 @@ export interface SyncingProjectEvent {
|
|
|
58
58
|
/** Project Revision */
|
|
59
59
|
projectSyncRevision?: Date | null;
|
|
60
60
|
}
|
|
61
|
-
|
|
61
|
+
interface SyncProjectPagingEvent {
|
|
62
62
|
/** Provider appDefId */
|
|
63
63
|
appDefId?: string;
|
|
64
64
|
/** External Project ID */
|
|
@@ -70,7 +70,7 @@ export interface SyncProjectPagingEvent {
|
|
|
70
70
|
/** Project Revision */
|
|
71
71
|
projectSyncRevision?: Date | null;
|
|
72
72
|
}
|
|
73
|
-
|
|
73
|
+
interface SyncSiteEvent {
|
|
74
74
|
/**
|
|
75
75
|
* Portfolio instance id
|
|
76
76
|
* @format GUID
|
|
@@ -79,7 +79,7 @@ export interface SyncSiteEvent {
|
|
|
79
79
|
/** Paging */
|
|
80
80
|
paging?: CursorPaging;
|
|
81
81
|
}
|
|
82
|
-
|
|
82
|
+
interface CursorPaging {
|
|
83
83
|
/**
|
|
84
84
|
* Maximum number of items to return in the results.
|
|
85
85
|
* @max 100
|
|
@@ -94,25 +94,25 @@ export interface CursorPaging {
|
|
|
94
94
|
*/
|
|
95
95
|
cursor?: string | null;
|
|
96
96
|
}
|
|
97
|
-
|
|
97
|
+
interface SyncProjectRequest {
|
|
98
98
|
/** Provider appDefId */
|
|
99
99
|
appDefId: string;
|
|
100
100
|
/** External Project ID */
|
|
101
101
|
externalId: string;
|
|
102
102
|
}
|
|
103
|
-
|
|
103
|
+
interface GetProjectsRequest {
|
|
104
104
|
/** Provider appDefId */
|
|
105
105
|
appDefId: string;
|
|
106
106
|
/** Paging */
|
|
107
107
|
paging?: CursorPaging;
|
|
108
108
|
}
|
|
109
|
-
|
|
109
|
+
interface GetProjectsResponse {
|
|
110
110
|
/** Provider appDefId */
|
|
111
111
|
projects?: SyncedProject[];
|
|
112
112
|
/** Paging metadata */
|
|
113
113
|
metadata?: PagingMetadataV2;
|
|
114
114
|
}
|
|
115
|
-
|
|
115
|
+
interface PagingMetadataV2 {
|
|
116
116
|
/** Number of items returned in the response. */
|
|
117
117
|
count?: number | null;
|
|
118
118
|
/** Offset that was requested. */
|
|
@@ -124,7 +124,7 @@ export interface PagingMetadataV2 {
|
|
|
124
124
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
125
125
|
cursors?: Cursors;
|
|
126
126
|
}
|
|
127
|
-
|
|
127
|
+
interface Cursors {
|
|
128
128
|
/**
|
|
129
129
|
* Cursor string pointing to the next page in the list of results.
|
|
130
130
|
* @maxLength 16000
|
|
@@ -136,17 +136,17 @@ export interface Cursors {
|
|
|
136
136
|
*/
|
|
137
137
|
prev?: string | null;
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
interface SyncProjectResponse {
|
|
140
140
|
/** Portfolio project */
|
|
141
141
|
project?: SyncedProject;
|
|
142
142
|
}
|
|
143
|
-
|
|
143
|
+
interface GetSyncStatusRequest {
|
|
144
144
|
/** Provider appDefId */
|
|
145
145
|
appDefId: string;
|
|
146
146
|
/** External Project ID */
|
|
147
147
|
externalId: string;
|
|
148
148
|
}
|
|
149
|
-
|
|
149
|
+
interface GetSyncStatusResponse {
|
|
150
150
|
/** Provider appDefId */
|
|
151
151
|
appDefId?: string;
|
|
152
152
|
/** External Project ID */
|
|
@@ -154,35 +154,35 @@ export interface GetSyncStatusResponse {
|
|
|
154
154
|
/** Synced status */
|
|
155
155
|
status?: SyncStatusWithLiterals;
|
|
156
156
|
}
|
|
157
|
-
|
|
157
|
+
interface StopSyncRequest {
|
|
158
158
|
/** Provider appDefId */
|
|
159
159
|
appDefId: string;
|
|
160
160
|
/** External Project ID */
|
|
161
161
|
externalId: string;
|
|
162
162
|
}
|
|
163
|
-
|
|
163
|
+
interface StopSyncResponse {
|
|
164
164
|
/** Provider appDefId */
|
|
165
165
|
appDefId?: string;
|
|
166
166
|
/** External Project ID */
|
|
167
167
|
externalId?: string;
|
|
168
168
|
}
|
|
169
|
-
|
|
169
|
+
interface GetLoginRedirectableUrlRequest {
|
|
170
170
|
/** Provider appDefId */
|
|
171
171
|
appDefId: string;
|
|
172
172
|
}
|
|
173
|
-
|
|
173
|
+
interface GetLoginRedirectableUrlResponse {
|
|
174
174
|
/** Provider appDefId */
|
|
175
175
|
appDefId?: string;
|
|
176
176
|
/** Login url */
|
|
177
177
|
url?: string;
|
|
178
178
|
}
|
|
179
|
-
|
|
179
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
180
180
|
createdEvent?: EntityCreatedEvent;
|
|
181
181
|
updatedEvent?: EntityUpdatedEvent;
|
|
182
182
|
deletedEvent?: EntityDeletedEvent;
|
|
183
183
|
actionEvent?: ActionEvent;
|
|
184
184
|
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
185
|
-
|
|
185
|
+
_id?: string;
|
|
186
186
|
/**
|
|
187
187
|
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
188
188
|
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
@@ -211,38 +211,36 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
211
211
|
entityEventSequence?: string | null;
|
|
212
212
|
}
|
|
213
213
|
/** @oneof */
|
|
214
|
-
|
|
214
|
+
interface DomainEventBodyOneOf {
|
|
215
215
|
createdEvent?: EntityCreatedEvent;
|
|
216
216
|
updatedEvent?: EntityUpdatedEvent;
|
|
217
217
|
deletedEvent?: EntityDeletedEvent;
|
|
218
218
|
actionEvent?: ActionEvent;
|
|
219
219
|
}
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
223
|
-
restoreInfo?: RestoreInfo;
|
|
220
|
+
interface EntityCreatedEvent {
|
|
221
|
+
entity?: string;
|
|
224
222
|
}
|
|
225
|
-
|
|
223
|
+
interface RestoreInfo {
|
|
226
224
|
deletedDate?: Date | null;
|
|
227
225
|
}
|
|
228
|
-
|
|
226
|
+
interface EntityUpdatedEvent {
|
|
229
227
|
/**
|
|
230
228
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
231
229
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
232
230
|
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
233
231
|
*/
|
|
234
|
-
|
|
232
|
+
currentEntity?: string;
|
|
235
233
|
}
|
|
236
|
-
|
|
234
|
+
interface EntityDeletedEvent {
|
|
237
235
|
/** Entity that was deleted. */
|
|
238
|
-
|
|
236
|
+
deletedEntity?: string | null;
|
|
239
237
|
}
|
|
240
|
-
|
|
241
|
-
|
|
238
|
+
interface ActionEvent {
|
|
239
|
+
body?: string;
|
|
242
240
|
}
|
|
243
|
-
|
|
241
|
+
interface Empty {
|
|
244
242
|
}
|
|
245
|
-
|
|
243
|
+
interface ItemCreatedMediaCallbackRequest {
|
|
246
244
|
appDefId?: string;
|
|
247
245
|
/** External Project ID */
|
|
248
246
|
projectExternalId?: string;
|
|
@@ -258,11 +256,11 @@ export interface ItemCreatedMediaCallbackRequest {
|
|
|
258
256
|
/** @format GUID */
|
|
259
257
|
siteId?: string | null;
|
|
260
258
|
}
|
|
261
|
-
|
|
259
|
+
interface MediaFileOutput {
|
|
262
260
|
video?: MediaVideoOutput[];
|
|
263
261
|
image?: MediaImageOutput[];
|
|
264
262
|
}
|
|
265
|
-
|
|
263
|
+
interface MediaVideoOutput {
|
|
266
264
|
key?: string | null;
|
|
267
265
|
status?: string | null;
|
|
268
266
|
url?: string | null;
|
|
@@ -272,7 +270,7 @@ export interface MediaVideoOutput {
|
|
|
272
270
|
height?: number | null;
|
|
273
271
|
format?: string | null;
|
|
274
272
|
}
|
|
275
|
-
|
|
273
|
+
interface MediaImageOutput {
|
|
276
274
|
key?: string | null;
|
|
277
275
|
status?: string | null;
|
|
278
276
|
url?: string | null;
|
|
@@ -280,9 +278,9 @@ export interface MediaImageOutput {
|
|
|
280
278
|
height?: number | null;
|
|
281
279
|
format?: string | null;
|
|
282
280
|
}
|
|
283
|
-
|
|
281
|
+
interface ItemCreatedMediaCallbackResponse {
|
|
284
282
|
}
|
|
285
|
-
|
|
283
|
+
interface ProjectCoverImageCreatedMediaCallbackRequest {
|
|
286
284
|
appDefId?: string;
|
|
287
285
|
/** External Project ID */
|
|
288
286
|
projectExternalId?: string;
|
|
@@ -296,9 +294,9 @@ export interface ProjectCoverImageCreatedMediaCallbackRequest {
|
|
|
296
294
|
/** @format GUID */
|
|
297
295
|
siteId?: string | null;
|
|
298
296
|
}
|
|
299
|
-
|
|
297
|
+
interface ProjectCoverImageCreatedMediaCallbackResponse {
|
|
300
298
|
}
|
|
301
|
-
|
|
299
|
+
interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
302
300
|
/** Emitted on a meta site creation. */
|
|
303
301
|
siteCreated?: SiteCreated;
|
|
304
302
|
/** Emitted on a meta site transfer completion. */
|
|
@@ -364,7 +362,7 @@ export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
|
364
362
|
assets?: Asset[];
|
|
365
363
|
}
|
|
366
364
|
/** @oneof */
|
|
367
|
-
|
|
365
|
+
interface MetaSiteSpecialEventPayloadOneOf {
|
|
368
366
|
/** Emitted on a meta site creation. */
|
|
369
367
|
siteCreated?: SiteCreated;
|
|
370
368
|
/** Emitted on a meta site transfer completion. */
|
|
@@ -414,7 +412,7 @@ export interface MetaSiteSpecialEventPayloadOneOf {
|
|
|
414
412
|
/** Emitted when Picasso is detached. */
|
|
415
413
|
picassoUnassigned?: PicassoUnassigned;
|
|
416
414
|
}
|
|
417
|
-
|
|
415
|
+
interface Asset {
|
|
418
416
|
/**
|
|
419
417
|
* An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
|
|
420
418
|
* @maxLength 36
|
|
@@ -428,7 +426,7 @@ export interface Asset {
|
|
|
428
426
|
/** An application state. */
|
|
429
427
|
state?: StateWithLiterals;
|
|
430
428
|
}
|
|
431
|
-
|
|
429
|
+
declare enum State {
|
|
432
430
|
UNKNOWN = "UNKNOWN",
|
|
433
431
|
ENABLED = "ENABLED",
|
|
434
432
|
DISABLED = "DISABLED",
|
|
@@ -436,8 +434,8 @@ export declare enum State {
|
|
|
436
434
|
DEMO = "DEMO"
|
|
437
435
|
}
|
|
438
436
|
/** @enumType */
|
|
439
|
-
|
|
440
|
-
|
|
437
|
+
type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
|
|
438
|
+
interface SiteCreated {
|
|
441
439
|
/**
|
|
442
440
|
* A template identifier (empty if not created from a template).
|
|
443
441
|
* @maxLength 36
|
|
@@ -466,7 +464,7 @@ export interface SiteCreated {
|
|
|
466
464
|
/** A namespace. */
|
|
467
465
|
namespace?: NamespaceWithLiterals;
|
|
468
466
|
}
|
|
469
|
-
|
|
467
|
+
declare enum SiteCreatedContext {
|
|
470
468
|
/** A valid option, we don't expose all reasons why site might be created. */
|
|
471
469
|
OTHER = "OTHER",
|
|
472
470
|
/** A meta site was created from template. */
|
|
@@ -481,8 +479,8 @@ export declare enum SiteCreatedContext {
|
|
|
481
479
|
FLASH = "FLASH"
|
|
482
480
|
}
|
|
483
481
|
/** @enumType */
|
|
484
|
-
|
|
485
|
-
|
|
482
|
+
type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
|
|
483
|
+
declare enum Namespace {
|
|
486
484
|
UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
|
|
487
485
|
/** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
|
|
488
486
|
WIX = "WIX",
|
|
@@ -565,9 +563,9 @@ export declare enum Namespace {
|
|
|
565
563
|
MIMIR = "MIMIR"
|
|
566
564
|
}
|
|
567
565
|
/** @enumType */
|
|
568
|
-
|
|
566
|
+
type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR';
|
|
569
567
|
/** Site transferred to another user. */
|
|
570
|
-
|
|
568
|
+
interface SiteTransferred {
|
|
571
569
|
/**
|
|
572
570
|
* A previous owner id (user that transfers meta site).
|
|
573
571
|
* @format GUID
|
|
@@ -580,11 +578,11 @@ export interface SiteTransferred {
|
|
|
580
578
|
newOwnerId?: string;
|
|
581
579
|
}
|
|
582
580
|
/** Soft deletion of the meta site. Could be restored. */
|
|
583
|
-
|
|
581
|
+
interface SiteDeleted {
|
|
584
582
|
/** A deletion context. */
|
|
585
583
|
deleteContext?: DeleteContext;
|
|
586
584
|
}
|
|
587
|
-
|
|
585
|
+
interface DeleteContext {
|
|
588
586
|
/** When the meta site was deleted. */
|
|
589
587
|
dateDeleted?: Date | null;
|
|
590
588
|
/** A status. */
|
|
@@ -600,7 +598,7 @@ export interface DeleteContext {
|
|
|
600
598
|
*/
|
|
601
599
|
initiatorId?: string | null;
|
|
602
600
|
}
|
|
603
|
-
|
|
601
|
+
declare enum DeleteStatus {
|
|
604
602
|
UNKNOWN = "UNKNOWN",
|
|
605
603
|
TRASH = "TRASH",
|
|
606
604
|
DELETED = "DELETED",
|
|
@@ -608,14 +606,14 @@ export declare enum DeleteStatus {
|
|
|
608
606
|
PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
|
|
609
607
|
}
|
|
610
608
|
/** @enumType */
|
|
611
|
-
|
|
609
|
+
type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
|
|
612
610
|
/** Restoration of the meta site. */
|
|
613
|
-
|
|
611
|
+
interface SiteUndeleted {
|
|
614
612
|
}
|
|
615
613
|
/** First publish of a meta site. Or subsequent publish after unpublish. */
|
|
616
|
-
|
|
614
|
+
interface SitePublished {
|
|
617
615
|
}
|
|
618
|
-
|
|
616
|
+
interface SiteUnpublished {
|
|
619
617
|
/**
|
|
620
618
|
* A list of URLs previously associated with the meta site.
|
|
621
619
|
* @maxLength 4000
|
|
@@ -623,9 +621,9 @@ export interface SiteUnpublished {
|
|
|
623
621
|
*/
|
|
624
622
|
urls?: string[];
|
|
625
623
|
}
|
|
626
|
-
|
|
624
|
+
interface SiteMarkedAsTemplate {
|
|
627
625
|
}
|
|
628
|
-
|
|
626
|
+
interface SiteMarkedAsWixSite {
|
|
629
627
|
}
|
|
630
628
|
/**
|
|
631
629
|
* Represents a service provisioned a site.
|
|
@@ -642,7 +640,7 @@ export interface SiteMarkedAsWixSite {
|
|
|
642
640
|
* changes made to the original template afterward.
|
|
643
641
|
* To ensure this, the TPA on the template gets a new instance_id.
|
|
644
642
|
*/
|
|
645
|
-
|
|
643
|
+
interface ServiceProvisioned {
|
|
646
644
|
/**
|
|
647
645
|
* Either UUID or EmbeddedServiceType.
|
|
648
646
|
* @maxLength 36
|
|
@@ -669,7 +667,7 @@ export interface ServiceProvisioned {
|
|
|
669
667
|
*/
|
|
670
668
|
originMetaSiteId?: string | null;
|
|
671
669
|
}
|
|
672
|
-
|
|
670
|
+
interface ServiceRemoved {
|
|
673
671
|
/**
|
|
674
672
|
* Either UUID or EmbeddedServiceType.
|
|
675
673
|
* @maxLength 36
|
|
@@ -687,7 +685,7 @@ export interface ServiceRemoved {
|
|
|
687
685
|
version?: string | null;
|
|
688
686
|
}
|
|
689
687
|
/** Rename of the site. Meaning, free public url has been changed as well. */
|
|
690
|
-
|
|
688
|
+
interface SiteRenamed {
|
|
691
689
|
/**
|
|
692
690
|
* A new meta site name (URL slug).
|
|
693
691
|
* @maxLength 20
|
|
@@ -704,21 +702,21 @@ export interface SiteRenamed {
|
|
|
704
702
|
*
|
|
705
703
|
* Could not be restored. Therefore it's desirable to cleanup data.
|
|
706
704
|
*/
|
|
707
|
-
|
|
705
|
+
interface SiteHardDeleted {
|
|
708
706
|
/** A deletion context. */
|
|
709
707
|
deleteContext?: DeleteContext;
|
|
710
708
|
}
|
|
711
|
-
|
|
709
|
+
interface NamespaceChanged {
|
|
712
710
|
/** A previous namespace. */
|
|
713
711
|
oldNamespace?: NamespaceWithLiterals;
|
|
714
712
|
/** A new namespace. */
|
|
715
713
|
newNamespace?: NamespaceWithLiterals;
|
|
716
714
|
}
|
|
717
715
|
/** Assigned Studio editor */
|
|
718
|
-
|
|
716
|
+
interface StudioAssigned {
|
|
719
717
|
}
|
|
720
718
|
/** Unassigned Studio editor */
|
|
721
|
-
|
|
719
|
+
interface StudioUnassigned {
|
|
722
720
|
}
|
|
723
721
|
/**
|
|
724
722
|
* Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.
|
|
@@ -728,13 +726,13 @@ export interface StudioUnassigned {
|
|
|
728
726
|
*
|
|
729
727
|
* https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service
|
|
730
728
|
*/
|
|
731
|
-
|
|
729
|
+
interface SiteUrlChanged {
|
|
732
730
|
}
|
|
733
731
|
/**
|
|
734
732
|
* Used at the end of the deletion flow for both draft sites and when a user deletes a site.
|
|
735
733
|
* Consumed by other teams to remove relevant data.
|
|
736
734
|
*/
|
|
737
|
-
|
|
735
|
+
interface SitePurgedExternally {
|
|
738
736
|
/**
|
|
739
737
|
* @maxLength 2048
|
|
740
738
|
* @maxSize 100
|
|
@@ -744,22 +742,22 @@ export interface SitePurgedExternally {
|
|
|
744
742
|
appDefId?: string[];
|
|
745
743
|
}
|
|
746
744
|
/** Assigned Odeditor */
|
|
747
|
-
|
|
745
|
+
interface OdeditorAssigned {
|
|
748
746
|
}
|
|
749
747
|
/** Unassigned Odeditor */
|
|
750
|
-
|
|
748
|
+
interface OdeditorUnassigned {
|
|
751
749
|
}
|
|
752
750
|
/** Assigned Picasso editor */
|
|
753
|
-
|
|
751
|
+
interface PicassoAssigned {
|
|
754
752
|
}
|
|
755
753
|
/** Unassigned Picasso */
|
|
756
|
-
|
|
754
|
+
interface PicassoUnassigned {
|
|
757
755
|
}
|
|
758
|
-
|
|
756
|
+
interface SyncAllSitesEvent {
|
|
759
757
|
/** Paging */
|
|
760
758
|
paging?: CursorPaging;
|
|
761
759
|
}
|
|
762
|
-
|
|
760
|
+
interface MessageEnvelope {
|
|
763
761
|
/**
|
|
764
762
|
* App instance ID.
|
|
765
763
|
* @format GUID
|
|
@@ -775,7 +773,7 @@ export interface MessageEnvelope {
|
|
|
775
773
|
/** Stringify payload. */
|
|
776
774
|
data?: string;
|
|
777
775
|
}
|
|
778
|
-
|
|
776
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
779
777
|
/**
|
|
780
778
|
* ID of a site visitor that has not logged in to the site.
|
|
781
779
|
* @format GUID
|
|
@@ -800,7 +798,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
800
798
|
identityType?: WebhookIdentityTypeWithLiterals;
|
|
801
799
|
}
|
|
802
800
|
/** @oneof */
|
|
803
|
-
|
|
801
|
+
interface IdentificationDataIdOneOf {
|
|
804
802
|
/**
|
|
805
803
|
* ID of a site visitor that has not logged in to the site.
|
|
806
804
|
* @format GUID
|
|
@@ -822,7 +820,7 @@ export interface IdentificationDataIdOneOf {
|
|
|
822
820
|
*/
|
|
823
821
|
appId?: string;
|
|
824
822
|
}
|
|
825
|
-
|
|
823
|
+
declare enum WebhookIdentityType {
|
|
826
824
|
UNKNOWN = "UNKNOWN",
|
|
827
825
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
828
826
|
MEMBER = "MEMBER",
|
|
@@ -830,4 +828,28 @@ export declare enum WebhookIdentityType {
|
|
|
830
828
|
APP = "APP"
|
|
831
829
|
}
|
|
832
830
|
/** @enumType */
|
|
833
|
-
|
|
831
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
832
|
+
interface GetProjectsOptions {
|
|
833
|
+
/** Paging */
|
|
834
|
+
paging?: CursorPaging;
|
|
835
|
+
}
|
|
836
|
+
interface SyncProjectIdentifiers {
|
|
837
|
+
/** Provider appDefId */
|
|
838
|
+
appDefId: string;
|
|
839
|
+
/** External Project ID */
|
|
840
|
+
externalId: string;
|
|
841
|
+
}
|
|
842
|
+
interface GetSyncStatusIdentifiers {
|
|
843
|
+
/** Provider appDefId */
|
|
844
|
+
appDefId: string;
|
|
845
|
+
/** External Project ID */
|
|
846
|
+
externalId: string;
|
|
847
|
+
}
|
|
848
|
+
interface StopSyncIdentifiers {
|
|
849
|
+
/** Provider appDefId */
|
|
850
|
+
appDefId: string;
|
|
851
|
+
/** External Project ID */
|
|
852
|
+
externalId: string;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
export { type SiteMarkedAsWixSite as $, type ActionEvent as A, type MediaImageOutput as B, type CursorPaging as C, DeleteStatus as D, type EntityCreatedEvent as E, type ItemCreatedMediaCallbackResponse as F, type GetProjectsOptions as G, type ProjectCoverImageCreatedMediaCallbackRequest as H, type ItemCreatedMediaCallbackRequest as I, type ProjectCoverImageCreatedMediaCallbackResponse as J, type MetaSiteSpecialEvent as K, type MetaSiteSpecialEventPayloadOneOf as L, type MediaFileOutput as M, Namespace as N, type Asset as O, type PagingMetadataV2 as P, type SiteCreated as Q, type RestoreInfo as R, type SyncProjectIdentifiers as S, type SiteTransferred as T, type SiteDeleted as U, type DeleteContext as V, WebhookIdentityType as W, type SiteUndeleted as X, type SitePublished as Y, type SiteUnpublished as Z, type SiteMarkedAsTemplate as _, type GetProjectsResponse as a, type ServiceProvisioned as a0, type ServiceRemoved as a1, type SiteRenamed as a2, type SiteHardDeleted as a3, type NamespaceChanged as a4, type StudioAssigned as a5, type StudioUnassigned as a6, type SiteUrlChanged as a7, type SitePurgedExternally as a8, type OdeditorAssigned as a9, type OdeditorUnassigned as aa, type PicassoAssigned as ab, type PicassoUnassigned as ac, type SyncAllSitesEvent as ad, type MessageEnvelope as ae, type IdentificationData as af, type IdentificationDataIdOneOf as ag, type SyncProjectResponse as b, type GetSyncStatusIdentifiers as c, type GetSyncStatusResponse as d, type StopSyncIdentifiers as e, type StopSyncResponse as f, type GetLoginRedirectableUrlResponse as g, SyncStatus as h, State as i, SiteCreatedContext as j, type SyncedProject as k, type SyncingProjectEvent as l, type SyncProjectPagingEvent as m, type SyncSiteEvent as n, type SyncProjectRequest as o, type GetProjectsRequest as p, type Cursors as q, type GetSyncStatusRequest as r, type StopSyncRequest as s, type GetLoginRedirectableUrlRequest as t, type DomainEvent as u, type DomainEventBodyOneOf as v, type EntityUpdatedEvent as w, type EntityDeletedEvent as x, type Empty as y, type MediaVideoOutput as z };
|