@wix/autocms-folders-service 1.0.0
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/context.d.ts +1 -0
- package/build/cjs/context.js +28 -0
- package/build/cjs/context.js.map +1 -0
- package/build/cjs/index.d.ts +2 -0
- package/build/cjs/index.js +29 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +28 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/es/context.d.ts +1 -0
- package/build/es/context.js +2 -0
- package/build/es/context.js.map +1 -0
- package/build/es/index.d.ts +2 -0
- package/build/es/index.js +3 -0
- package/build/es/index.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/context/package.json +7 -0
- package/meta/package.json +7 -0
- package/package.json +47 -0
- package/type-bundles/context.bundle.d.ts +908 -0
- package/type-bundles/index.bundle.d.ts +908 -0
- package/type-bundles/meta.bundle.d.ts +499 -0
|
@@ -0,0 +1,908 @@
|
|
|
1
|
+
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
|
2
|
+
interface HttpClient {
|
|
3
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
4
|
+
fetchWithAuth: typeof fetch;
|
|
5
|
+
wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
|
|
6
|
+
}
|
|
7
|
+
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
8
|
+
type HttpResponse<T = any> = {
|
|
9
|
+
data: T;
|
|
10
|
+
status: number;
|
|
11
|
+
statusText: string;
|
|
12
|
+
headers: any;
|
|
13
|
+
request?: any;
|
|
14
|
+
};
|
|
15
|
+
type RequestOptions<_TResponse = any, Data = any> = {
|
|
16
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
17
|
+
url: string;
|
|
18
|
+
data?: Data;
|
|
19
|
+
params?: URLSearchParams;
|
|
20
|
+
} & APIMetadata;
|
|
21
|
+
type APIMetadata = {
|
|
22
|
+
methodFqn?: string;
|
|
23
|
+
entityFqdn?: string;
|
|
24
|
+
packageName?: string;
|
|
25
|
+
};
|
|
26
|
+
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
|
27
|
+
|
|
28
|
+
declare global {
|
|
29
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
30
|
+
interface SymbolConstructor {
|
|
31
|
+
readonly observable: symbol;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Folder is a container for other folders and collection references
|
|
37
|
+
* There's always 1 root folder with empty ID
|
|
38
|
+
*/
|
|
39
|
+
interface Folder {
|
|
40
|
+
/**
|
|
41
|
+
* unique ID, not present for root folder, mandatory for nested folders
|
|
42
|
+
* @readonly
|
|
43
|
+
*/
|
|
44
|
+
_id?: string | null;
|
|
45
|
+
/** display name */
|
|
46
|
+
displayName?: string;
|
|
47
|
+
/** folder description if any */
|
|
48
|
+
description?: string | null;
|
|
49
|
+
/** additional information */
|
|
50
|
+
info?: Record<string, any> | null;
|
|
51
|
+
/** collections in current folder */
|
|
52
|
+
collections?: CollectionReference[];
|
|
53
|
+
/** nested folders */
|
|
54
|
+
folders?: Folder[];
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Reference to a collection, contained in a folder
|
|
58
|
+
* Collection may have up to 1 reference per folder
|
|
59
|
+
* and exactly 1 non-shortcut reference overall
|
|
60
|
+
*/
|
|
61
|
+
interface CollectionReference {
|
|
62
|
+
/** collection unique name (ID) */
|
|
63
|
+
collectionName?: string;
|
|
64
|
+
/**
|
|
65
|
+
* same collection may have many shortcut references across folders
|
|
66
|
+
* but only one non-shortcut reference
|
|
67
|
+
* by default any collection will have reference at root folder
|
|
68
|
+
*/
|
|
69
|
+
shortcut?: boolean;
|
|
70
|
+
/** additional information */
|
|
71
|
+
info?: Record<string, any> | null;
|
|
72
|
+
}
|
|
73
|
+
interface GetFolderRequest {
|
|
74
|
+
/** missing means root */
|
|
75
|
+
folderId?: string | null;
|
|
76
|
+
/**
|
|
77
|
+
* nesting depth to return
|
|
78
|
+
* - 0 means no nested elements, only folder details
|
|
79
|
+
* - none means full folder tree
|
|
80
|
+
*/
|
|
81
|
+
depth?: number | null;
|
|
82
|
+
/**
|
|
83
|
+
* if true CollectionReference.schema are not returned,
|
|
84
|
+
* but call is much faster.
|
|
85
|
+
* ignored for root folder request
|
|
86
|
+
* @deprecated
|
|
87
|
+
* @targetRemovalDate 2025-01-01
|
|
88
|
+
*/
|
|
89
|
+
skipSchemas?: boolean;
|
|
90
|
+
}
|
|
91
|
+
interface GetFolderResponse {
|
|
92
|
+
/** requested folder details */
|
|
93
|
+
folder?: Folder;
|
|
94
|
+
/** depth value requested */
|
|
95
|
+
depth?: number | null;
|
|
96
|
+
}
|
|
97
|
+
interface CreateFolderRequest {
|
|
98
|
+
/** parent folder ID or none if root */
|
|
99
|
+
parentFolderId?: string | null;
|
|
100
|
+
/** folder info to create */
|
|
101
|
+
folderInfo?: FolderInfo;
|
|
102
|
+
}
|
|
103
|
+
interface FolderInfo {
|
|
104
|
+
/** display name */
|
|
105
|
+
displayName?: string | null;
|
|
106
|
+
/** description */
|
|
107
|
+
description?: string | null;
|
|
108
|
+
/** additional info */
|
|
109
|
+
info?: Record<string, any> | null;
|
|
110
|
+
}
|
|
111
|
+
interface CreateFolderResponse {
|
|
112
|
+
/** parent of created folder or none for root */
|
|
113
|
+
parentFolderId?: string | null;
|
|
114
|
+
/** created folder */
|
|
115
|
+
folder?: Folder;
|
|
116
|
+
}
|
|
117
|
+
interface UpdateFolderRequest {
|
|
118
|
+
/** Folder ID */
|
|
119
|
+
folderId: string;
|
|
120
|
+
/** Fields to update, partial */
|
|
121
|
+
folderInfo?: FolderInfo;
|
|
122
|
+
}
|
|
123
|
+
interface UpdateFolderResponse {
|
|
124
|
+
/**
|
|
125
|
+
* updated folder
|
|
126
|
+
* folder contents (folders and collections) would not be returned
|
|
127
|
+
*/
|
|
128
|
+
folder?: Folder;
|
|
129
|
+
}
|
|
130
|
+
interface DeleteFolderRequest {
|
|
131
|
+
/** folder ID to delete */
|
|
132
|
+
folderId: string;
|
|
133
|
+
}
|
|
134
|
+
interface DeleteFolderResponse {
|
|
135
|
+
}
|
|
136
|
+
interface MoveFolderRequest {
|
|
137
|
+
/** folder ID to move */
|
|
138
|
+
folderId: string;
|
|
139
|
+
/** destination folder ID (new parent), none if root */
|
|
140
|
+
parentFolderId?: string | null;
|
|
141
|
+
}
|
|
142
|
+
interface MoveFolderResponse {
|
|
143
|
+
}
|
|
144
|
+
interface ReferenceCollectionRequest {
|
|
145
|
+
/** collection name to reference (ID) */
|
|
146
|
+
collectionName: string;
|
|
147
|
+
/** target folder ID or none if root */
|
|
148
|
+
folderId?: string | null;
|
|
149
|
+
/**
|
|
150
|
+
* if false then single non-shortcut reference to this
|
|
151
|
+
* collection is moved to target folder
|
|
152
|
+
* otherwise new shortcut reference is created
|
|
153
|
+
*/
|
|
154
|
+
shortcut?: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* additional information for shortcut reference
|
|
157
|
+
* ignored for non-shortcut reference
|
|
158
|
+
*/
|
|
159
|
+
info?: Record<string, any> | null;
|
|
160
|
+
}
|
|
161
|
+
interface ReferenceCollectionResponse {
|
|
162
|
+
/** Folder ID that contains reference or none if root */
|
|
163
|
+
folderId?: string | null;
|
|
164
|
+
/** reference details */
|
|
165
|
+
collectionReference?: CollectionReference;
|
|
166
|
+
}
|
|
167
|
+
interface GetReferencesRequest {
|
|
168
|
+
/** collection name (ID) to get */
|
|
169
|
+
collectionName: string;
|
|
170
|
+
/**
|
|
171
|
+
* if true schema would not be loaded and reference may not be found if collection is in root folder
|
|
172
|
+
* loading schema has performance impact
|
|
173
|
+
* @deprecated
|
|
174
|
+
* @targetRemovalDate 2025-01-01
|
|
175
|
+
*/
|
|
176
|
+
skipSchemas?: boolean;
|
|
177
|
+
}
|
|
178
|
+
interface GetReferencesResponse {
|
|
179
|
+
/** list of references */
|
|
180
|
+
references?: ReferenceLocation[];
|
|
181
|
+
}
|
|
182
|
+
interface ReferenceLocation {
|
|
183
|
+
/** folder where reference is located */
|
|
184
|
+
folderId?: string | null;
|
|
185
|
+
/** reference details */
|
|
186
|
+
reference?: CollectionReference;
|
|
187
|
+
}
|
|
188
|
+
interface UpdateReferenceInfoRequest {
|
|
189
|
+
/** folder where reference is located, none for root */
|
|
190
|
+
folderId?: string | null;
|
|
191
|
+
/** referenced collection name (ID) */
|
|
192
|
+
collectionName: string;
|
|
193
|
+
/** additional information to set */
|
|
194
|
+
info?: Record<string, any> | null;
|
|
195
|
+
}
|
|
196
|
+
interface UpdateReferenceInfoResponse {
|
|
197
|
+
/** Folder ID that contains reference or none if root */
|
|
198
|
+
folderId?: string | null;
|
|
199
|
+
/** reference details */
|
|
200
|
+
collectionReference?: CollectionReference;
|
|
201
|
+
}
|
|
202
|
+
interface DeleteReferenceRequest {
|
|
203
|
+
/** collection name (ID) to delete */
|
|
204
|
+
collectionName: string;
|
|
205
|
+
/** folder ID where to delete reference or none if root */
|
|
206
|
+
folderId?: string | null;
|
|
207
|
+
}
|
|
208
|
+
interface DeleteReferenceResponse {
|
|
209
|
+
}
|
|
210
|
+
interface SearchRequest {
|
|
211
|
+
/** Search string, matched ignoring case */
|
|
212
|
+
searchTerm?: string;
|
|
213
|
+
}
|
|
214
|
+
interface SearchResponse {
|
|
215
|
+
/** folders found, no contents are returned */
|
|
216
|
+
folders?: Folder[];
|
|
217
|
+
/**
|
|
218
|
+
* collections found
|
|
219
|
+
* @deprecated
|
|
220
|
+
* @replacedBy references
|
|
221
|
+
* @targetRemovalDate 2025-01-01
|
|
222
|
+
*/
|
|
223
|
+
collections?: CollectionReference[];
|
|
224
|
+
/** collection references found */
|
|
225
|
+
references?: ReferenceLocation[];
|
|
226
|
+
}
|
|
227
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
228
|
+
createdEvent?: EntityCreatedEvent;
|
|
229
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
230
|
+
deletedEvent?: EntityDeletedEvent;
|
|
231
|
+
actionEvent?: ActionEvent;
|
|
232
|
+
/**
|
|
233
|
+
* Unique event ID.
|
|
234
|
+
* Allows clients to ignore duplicate webhooks.
|
|
235
|
+
*/
|
|
236
|
+
_id?: string;
|
|
237
|
+
/**
|
|
238
|
+
* Assumes actions are also always typed to an entity_type
|
|
239
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
240
|
+
*/
|
|
241
|
+
entityFqdn?: string;
|
|
242
|
+
/**
|
|
243
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
244
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
245
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
246
|
+
*/
|
|
247
|
+
slug?: string;
|
|
248
|
+
/** ID of the entity associated with the event. */
|
|
249
|
+
entityId?: string;
|
|
250
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
251
|
+
eventTime?: Date;
|
|
252
|
+
/**
|
|
253
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
254
|
+
* (for example, GDPR).
|
|
255
|
+
*/
|
|
256
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
257
|
+
/** If present, indicates the action that triggered the event. */
|
|
258
|
+
originatedFrom?: string | null;
|
|
259
|
+
/**
|
|
260
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
261
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
262
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
263
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
264
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
265
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
266
|
+
*/
|
|
267
|
+
entityEventSequence?: string | null;
|
|
268
|
+
}
|
|
269
|
+
/** @oneof */
|
|
270
|
+
interface DomainEventBodyOneOf {
|
|
271
|
+
createdEvent?: EntityCreatedEvent;
|
|
272
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
273
|
+
deletedEvent?: EntityDeletedEvent;
|
|
274
|
+
actionEvent?: ActionEvent;
|
|
275
|
+
}
|
|
276
|
+
interface EntityCreatedEvent {
|
|
277
|
+
entity?: string;
|
|
278
|
+
}
|
|
279
|
+
interface RestoreInfo {
|
|
280
|
+
deletedDate?: Date;
|
|
281
|
+
}
|
|
282
|
+
interface EntityUpdatedEvent {
|
|
283
|
+
/**
|
|
284
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
285
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
286
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
287
|
+
*/
|
|
288
|
+
currentEntity?: string;
|
|
289
|
+
}
|
|
290
|
+
interface EntityDeletedEvent {
|
|
291
|
+
/** Entity that was deleted */
|
|
292
|
+
deletedEntity?: string | null;
|
|
293
|
+
}
|
|
294
|
+
interface ActionEvent {
|
|
295
|
+
body?: string;
|
|
296
|
+
}
|
|
297
|
+
interface Empty {
|
|
298
|
+
}
|
|
299
|
+
interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
300
|
+
/** Emitted on a meta site creation. */
|
|
301
|
+
siteCreated?: SiteCreated;
|
|
302
|
+
/** Emitted on a meta site transfer completion. */
|
|
303
|
+
siteTransferred?: SiteTransferred;
|
|
304
|
+
/** Emitted on a meta site deletion. */
|
|
305
|
+
siteDeleted?: SiteDeleted;
|
|
306
|
+
/** Emitted on a meta site restoration. */
|
|
307
|
+
siteUndeleted?: SiteUndeleted;
|
|
308
|
+
/** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
|
|
309
|
+
sitePublished?: SitePublished;
|
|
310
|
+
/** Emitted on a meta site unpublish. */
|
|
311
|
+
siteUnpublished?: SiteUnpublished;
|
|
312
|
+
/** Emitted when meta site is marked as template. */
|
|
313
|
+
siteMarkedAsTemplate?: SiteMarkedAsTemplate;
|
|
314
|
+
/** Emitted when meta site is marked as a WixSite. */
|
|
315
|
+
siteMarkedAsWixSite?: SiteMarkedAsWixSite;
|
|
316
|
+
/** Emitted when an application is provisioned (installed). */
|
|
317
|
+
serviceProvisioned?: ServiceProvisioned;
|
|
318
|
+
/** Emitted when an application is removed (uninstalled). */
|
|
319
|
+
serviceRemoved?: ServiceRemoved;
|
|
320
|
+
/** Emitted when meta site name (URL slug) is changed. */
|
|
321
|
+
siteRenamedPayload?: SiteRenamed;
|
|
322
|
+
/** Emitted when meta site was permanently deleted. */
|
|
323
|
+
hardDeleted?: SiteHardDeleted;
|
|
324
|
+
/** Emitted on a namespace change. */
|
|
325
|
+
namespaceChanged?: NamespaceChanged;
|
|
326
|
+
/** Emitted when Studio is attached. */
|
|
327
|
+
studioAssigned?: StudioAssigned;
|
|
328
|
+
/** Emitted when Studio is detached. */
|
|
329
|
+
studioUnassigned?: StudioUnassigned;
|
|
330
|
+
/** A meta site id. */
|
|
331
|
+
metaSiteId?: string;
|
|
332
|
+
/** A meta site version. Monotonically increasing. */
|
|
333
|
+
version?: string;
|
|
334
|
+
/** A timestamp of the event. */
|
|
335
|
+
timestamp?: string;
|
|
336
|
+
/** A list of "assets" (applications). The same as MetaSiteContext. */
|
|
337
|
+
assets?: Asset[];
|
|
338
|
+
}
|
|
339
|
+
/** @oneof */
|
|
340
|
+
interface MetaSiteSpecialEventPayloadOneOf {
|
|
341
|
+
/** Emitted on a meta site creation. */
|
|
342
|
+
siteCreated?: SiteCreated;
|
|
343
|
+
/** Emitted on a meta site transfer completion. */
|
|
344
|
+
siteTransferred?: SiteTransferred;
|
|
345
|
+
/** Emitted on a meta site deletion. */
|
|
346
|
+
siteDeleted?: SiteDeleted;
|
|
347
|
+
/** Emitted on a meta site restoration. */
|
|
348
|
+
siteUndeleted?: SiteUndeleted;
|
|
349
|
+
/** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
|
|
350
|
+
sitePublished?: SitePublished;
|
|
351
|
+
/** Emitted on a meta site unpublish. */
|
|
352
|
+
siteUnpublished?: SiteUnpublished;
|
|
353
|
+
/** Emitted when meta site is marked as template. */
|
|
354
|
+
siteMarkedAsTemplate?: SiteMarkedAsTemplate;
|
|
355
|
+
/** Emitted when meta site is marked as a WixSite. */
|
|
356
|
+
siteMarkedAsWixSite?: SiteMarkedAsWixSite;
|
|
357
|
+
/** Emitted when an application is provisioned (installed). */
|
|
358
|
+
serviceProvisioned?: ServiceProvisioned;
|
|
359
|
+
/** Emitted when an application is removed (uninstalled). */
|
|
360
|
+
serviceRemoved?: ServiceRemoved;
|
|
361
|
+
/** Emitted when meta site name (URL slug) is changed. */
|
|
362
|
+
siteRenamedPayload?: SiteRenamed;
|
|
363
|
+
/** Emitted when meta site was permanently deleted. */
|
|
364
|
+
hardDeleted?: SiteHardDeleted;
|
|
365
|
+
/** Emitted on a namespace change. */
|
|
366
|
+
namespaceChanged?: NamespaceChanged;
|
|
367
|
+
/** Emitted when Studio is attached. */
|
|
368
|
+
studioAssigned?: StudioAssigned;
|
|
369
|
+
/** Emitted when Studio is detached. */
|
|
370
|
+
studioUnassigned?: StudioUnassigned;
|
|
371
|
+
}
|
|
372
|
+
interface Asset {
|
|
373
|
+
/** An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum). */
|
|
374
|
+
appDefId?: string;
|
|
375
|
+
/** An instance id. For legacy reasons may be UUID or a string. */
|
|
376
|
+
instanceId?: string;
|
|
377
|
+
/** An application state. */
|
|
378
|
+
state?: State;
|
|
379
|
+
}
|
|
380
|
+
declare enum State {
|
|
381
|
+
UNKNOWN = "UNKNOWN",
|
|
382
|
+
ENABLED = "ENABLED",
|
|
383
|
+
DISABLED = "DISABLED",
|
|
384
|
+
PENDING = "PENDING",
|
|
385
|
+
DEMO = "DEMO"
|
|
386
|
+
}
|
|
387
|
+
interface SiteCreated {
|
|
388
|
+
/** A template identifier (empty if not created from a template). */
|
|
389
|
+
originTemplateId?: string;
|
|
390
|
+
/** An account id of the owner. */
|
|
391
|
+
ownerId?: string;
|
|
392
|
+
/** A context in which meta site was created. */
|
|
393
|
+
context?: SiteCreatedContext;
|
|
394
|
+
/**
|
|
395
|
+
* A meta site id from which this site was created.
|
|
396
|
+
*
|
|
397
|
+
* In case of a creation from a template it's a template id.
|
|
398
|
+
* In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
|
|
399
|
+
*/
|
|
400
|
+
originMetaSiteId?: string | null;
|
|
401
|
+
/** A meta site name (URL slug). */
|
|
402
|
+
siteName?: string;
|
|
403
|
+
/** A namespace. */
|
|
404
|
+
namespace?: Namespace;
|
|
405
|
+
}
|
|
406
|
+
declare enum SiteCreatedContext {
|
|
407
|
+
/** A valid option, we don't expose all reasons why site might be created. */
|
|
408
|
+
OTHER = "OTHER",
|
|
409
|
+
/** A meta site was created from template. */
|
|
410
|
+
FROM_TEMPLATE = "FROM_TEMPLATE",
|
|
411
|
+
/** A meta site was created by copying of the transfferred meta site. */
|
|
412
|
+
DUPLICATE_BY_SITE_TRANSFER = "DUPLICATE_BY_SITE_TRANSFER",
|
|
413
|
+
/** A copy of existing meta site. */
|
|
414
|
+
DUPLICATE = "DUPLICATE",
|
|
415
|
+
/** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
|
|
416
|
+
OLD_SITE_TRANSFER = "OLD_SITE_TRANSFER",
|
|
417
|
+
/** deprecated A meta site was created for Flash editor. */
|
|
418
|
+
FLASH = "FLASH"
|
|
419
|
+
}
|
|
420
|
+
declare enum Namespace {
|
|
421
|
+
UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
|
|
422
|
+
/** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
|
|
423
|
+
WIX = "WIX",
|
|
424
|
+
/** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
425
|
+
SHOUT_OUT = "SHOUT_OUT",
|
|
426
|
+
/** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
427
|
+
ALBUMS = "ALBUMS",
|
|
428
|
+
/** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
429
|
+
WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
|
|
430
|
+
/** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
431
|
+
HOTELS = "HOTELS",
|
|
432
|
+
/** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
433
|
+
CLUBS = "CLUBS",
|
|
434
|
+
/** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
435
|
+
ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
|
|
436
|
+
/** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
437
|
+
DEV_SITE = "DEV_SITE",
|
|
438
|
+
/** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
439
|
+
LOGOS = "LOGOS",
|
|
440
|
+
/** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
441
|
+
VIDEO_MAKER = "VIDEO_MAKER",
|
|
442
|
+
/** MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
443
|
+
PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
|
|
444
|
+
/** MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
445
|
+
DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
|
|
446
|
+
/**
|
|
447
|
+
* A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
|
|
448
|
+
*
|
|
449
|
+
* Meta site with this namespace will *not* be shown in a user's site list by default.
|
|
450
|
+
*/
|
|
451
|
+
HTML_DRAFT = "HTML_DRAFT",
|
|
452
|
+
/**
|
|
453
|
+
* the user-journey for Fitness users who want to start from managing their business instead of designing their website.
|
|
454
|
+
* Will be accessible from Site List and will not have a website app.
|
|
455
|
+
* Once the user attaches a site, the site will become a regular wixsite.
|
|
456
|
+
*/
|
|
457
|
+
SITELESS_BUSINESS = "SITELESS_BUSINESS",
|
|
458
|
+
/** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
|
|
459
|
+
CREATOR_ECONOMY = "CREATOR_ECONOMY",
|
|
460
|
+
/** It is to be used in the Business First efforts. */
|
|
461
|
+
DASHBOARD_FIRST = "DASHBOARD_FIRST",
|
|
462
|
+
/** Bookings business flow with no site. */
|
|
463
|
+
ANYWHERE = "ANYWHERE",
|
|
464
|
+
/** Namespace for Headless Backoffice with no editor */
|
|
465
|
+
HEADLESS = "HEADLESS",
|
|
466
|
+
/**
|
|
467
|
+
* Namespace for master site that will exist in parent account that will be referenced by subaccounts
|
|
468
|
+
* The site will be used for account level CSM feature for enterprise
|
|
469
|
+
*/
|
|
470
|
+
ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
|
|
471
|
+
/** Rise.ai Siteless account management for Gift Cards and Store Credit. */
|
|
472
|
+
RISE = "RISE",
|
|
473
|
+
/**
|
|
474
|
+
* As part of the branded app new funnel, users now can create a meta site that will be branded app first.
|
|
475
|
+
* There's a blank site behind the scene but it's blank).
|
|
476
|
+
* The Mobile company will be the owner of this namespace.
|
|
477
|
+
*/
|
|
478
|
+
BRANDED_FIRST = "BRANDED_FIRST",
|
|
479
|
+
/** Nownia.com Siteless account management for Ai Scheduling Assistant. */
|
|
480
|
+
NOWNIA = "NOWNIA"
|
|
481
|
+
}
|
|
482
|
+
/** Site transferred to another user. */
|
|
483
|
+
interface SiteTransferred {
|
|
484
|
+
/** A previous owner id (user that transfers meta site). */
|
|
485
|
+
oldOwnerId?: string;
|
|
486
|
+
/** A new owner id (user that accepts meta site). */
|
|
487
|
+
newOwnerId?: string;
|
|
488
|
+
}
|
|
489
|
+
/** Soft deletion of the meta site. Could be restored. */
|
|
490
|
+
interface SiteDeleted {
|
|
491
|
+
/** A deletion context. */
|
|
492
|
+
deleteContext?: DeleteContext;
|
|
493
|
+
}
|
|
494
|
+
interface DeleteContext {
|
|
495
|
+
/** When the meta site was deleted. */
|
|
496
|
+
dateDeleted?: Date;
|
|
497
|
+
/** A status. */
|
|
498
|
+
deleteStatus?: DeleteStatus;
|
|
499
|
+
/** A reason (flow). */
|
|
500
|
+
deleteOrigin?: string;
|
|
501
|
+
/** A service that deleted it. */
|
|
502
|
+
initiatorId?: string | null;
|
|
503
|
+
}
|
|
504
|
+
declare enum DeleteStatus {
|
|
505
|
+
UNKNOWN = "UNKNOWN",
|
|
506
|
+
TRASH = "TRASH",
|
|
507
|
+
DELETED = "DELETED",
|
|
508
|
+
PENDING_PURGE = "PENDING_PURGE"
|
|
509
|
+
}
|
|
510
|
+
/** Restoration of the meta site. */
|
|
511
|
+
interface SiteUndeleted {
|
|
512
|
+
}
|
|
513
|
+
/** First publish of a meta site. Or subsequent publish after unpublish. */
|
|
514
|
+
interface SitePublished {
|
|
515
|
+
}
|
|
516
|
+
interface SiteUnpublished {
|
|
517
|
+
/** A list of URLs previously associated with the meta site. */
|
|
518
|
+
urls?: string[];
|
|
519
|
+
}
|
|
520
|
+
interface SiteMarkedAsTemplate {
|
|
521
|
+
}
|
|
522
|
+
interface SiteMarkedAsWixSite {
|
|
523
|
+
}
|
|
524
|
+
interface ServiceProvisioned {
|
|
525
|
+
/** Either UUID or EmbeddedServiceType. */
|
|
526
|
+
appDefId?: string;
|
|
527
|
+
/** Not only UUID. Something here could be something weird. */
|
|
528
|
+
instanceId?: string;
|
|
529
|
+
/** An instance id from which this instance is originated. */
|
|
530
|
+
originInstanceId?: string;
|
|
531
|
+
/** A version. */
|
|
532
|
+
version?: string | null;
|
|
533
|
+
}
|
|
534
|
+
interface ServiceRemoved {
|
|
535
|
+
/** Either UUID or EmbeddedServiceType. */
|
|
536
|
+
appDefId?: string;
|
|
537
|
+
/** Not only UUID. Something here could be something weird. */
|
|
538
|
+
instanceId?: string;
|
|
539
|
+
/** A version. */
|
|
540
|
+
version?: string | null;
|
|
541
|
+
}
|
|
542
|
+
/** Rename of the site. Meaning, free public url has been changed as well. */
|
|
543
|
+
interface SiteRenamed {
|
|
544
|
+
/** A new meta site name (URL slug). */
|
|
545
|
+
newSiteName?: string;
|
|
546
|
+
/** A previous meta site name (URL slug). */
|
|
547
|
+
oldSiteName?: string;
|
|
548
|
+
}
|
|
549
|
+
/**
|
|
550
|
+
* Hard deletion of the meta site.
|
|
551
|
+
*
|
|
552
|
+
* Could not be restored. Therefore it's desirable to cleanup data.
|
|
553
|
+
*/
|
|
554
|
+
interface SiteHardDeleted {
|
|
555
|
+
/** A deletion context. */
|
|
556
|
+
deleteContext?: DeleteContext;
|
|
557
|
+
}
|
|
558
|
+
interface NamespaceChanged {
|
|
559
|
+
/** A previous namespace. */
|
|
560
|
+
oldNamespace?: Namespace;
|
|
561
|
+
/** A new namespace. */
|
|
562
|
+
newNamespace?: Namespace;
|
|
563
|
+
}
|
|
564
|
+
/** Assigned Studio editor */
|
|
565
|
+
interface StudioAssigned {
|
|
566
|
+
}
|
|
567
|
+
/** Unassigned Studio editor */
|
|
568
|
+
interface StudioUnassigned {
|
|
569
|
+
}
|
|
570
|
+
interface MessageEnvelope {
|
|
571
|
+
/** App instance ID. */
|
|
572
|
+
instanceId?: string | null;
|
|
573
|
+
/** Event type. */
|
|
574
|
+
eventType?: string;
|
|
575
|
+
/** The identification type and identity data. */
|
|
576
|
+
identity?: IdentificationData;
|
|
577
|
+
/** Stringify payload. */
|
|
578
|
+
data?: string;
|
|
579
|
+
}
|
|
580
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
581
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
582
|
+
anonymousVisitorId?: string;
|
|
583
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
584
|
+
memberId?: string;
|
|
585
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
586
|
+
wixUserId?: string;
|
|
587
|
+
/** ID of an app. */
|
|
588
|
+
appId?: string;
|
|
589
|
+
/** @readonly */
|
|
590
|
+
identityType?: WebhookIdentityType;
|
|
591
|
+
}
|
|
592
|
+
/** @oneof */
|
|
593
|
+
interface IdentificationDataIdOneOf {
|
|
594
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
595
|
+
anonymousVisitorId?: string;
|
|
596
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
597
|
+
memberId?: string;
|
|
598
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
599
|
+
wixUserId?: string;
|
|
600
|
+
/** ID of an app. */
|
|
601
|
+
appId?: string;
|
|
602
|
+
}
|
|
603
|
+
declare enum WebhookIdentityType {
|
|
604
|
+
UNKNOWN = "UNKNOWN",
|
|
605
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
606
|
+
MEMBER = "MEMBER",
|
|
607
|
+
WIX_USER = "WIX_USER",
|
|
608
|
+
APP = "APP"
|
|
609
|
+
}
|
|
610
|
+
interface CollectionReferenceNonNullableFields {
|
|
611
|
+
collectionName: string;
|
|
612
|
+
shortcut: boolean;
|
|
613
|
+
}
|
|
614
|
+
interface FolderNonNullableFields {
|
|
615
|
+
displayName: string;
|
|
616
|
+
collections: CollectionReferenceNonNullableFields[];
|
|
617
|
+
folders: FolderNonNullableFields[];
|
|
618
|
+
}
|
|
619
|
+
interface GetFolderResponseNonNullableFields {
|
|
620
|
+
folder?: FolderNonNullableFields;
|
|
621
|
+
}
|
|
622
|
+
interface CreateFolderResponseNonNullableFields {
|
|
623
|
+
folder?: FolderNonNullableFields;
|
|
624
|
+
}
|
|
625
|
+
interface UpdateFolderResponseNonNullableFields {
|
|
626
|
+
folder?: FolderNonNullableFields;
|
|
627
|
+
}
|
|
628
|
+
interface ReferenceCollectionResponseNonNullableFields {
|
|
629
|
+
collectionReference?: CollectionReferenceNonNullableFields;
|
|
630
|
+
}
|
|
631
|
+
interface ReferenceLocationNonNullableFields {
|
|
632
|
+
reference?: CollectionReferenceNonNullableFields;
|
|
633
|
+
}
|
|
634
|
+
interface GetReferencesResponseNonNullableFields {
|
|
635
|
+
references: ReferenceLocationNonNullableFields[];
|
|
636
|
+
}
|
|
637
|
+
interface UpdateReferenceInfoResponseNonNullableFields {
|
|
638
|
+
collectionReference?: CollectionReferenceNonNullableFields;
|
|
639
|
+
}
|
|
640
|
+
interface SearchResponseNonNullableFields {
|
|
641
|
+
folders: FolderNonNullableFields[];
|
|
642
|
+
collections: CollectionReferenceNonNullableFields[];
|
|
643
|
+
references: ReferenceLocationNonNullableFields[];
|
|
644
|
+
}
|
|
645
|
+
interface GetFolderOptions {
|
|
646
|
+
/** missing means root */
|
|
647
|
+
folderId?: string | null;
|
|
648
|
+
/**
|
|
649
|
+
* nesting depth to return
|
|
650
|
+
* - 0 means no nested elements, only folder details
|
|
651
|
+
* - none means full folder tree
|
|
652
|
+
*/
|
|
653
|
+
depth?: number | null;
|
|
654
|
+
/**
|
|
655
|
+
* if true CollectionReference.schema are not returned,
|
|
656
|
+
* but call is much faster.
|
|
657
|
+
* ignored for root folder request
|
|
658
|
+
* @deprecated
|
|
659
|
+
* @targetRemovalDate 2025-01-01
|
|
660
|
+
*/
|
|
661
|
+
skipSchemas?: boolean;
|
|
662
|
+
}
|
|
663
|
+
interface CreateFolderOptions {
|
|
664
|
+
/** parent folder ID or none if root */
|
|
665
|
+
parentFolderId?: string | null;
|
|
666
|
+
/** folder info to create */
|
|
667
|
+
folderInfo?: FolderInfo;
|
|
668
|
+
}
|
|
669
|
+
interface UpdateFolderOptions {
|
|
670
|
+
/** Fields to update, partial */
|
|
671
|
+
folderInfo?: FolderInfo;
|
|
672
|
+
}
|
|
673
|
+
interface MoveFolderOptions {
|
|
674
|
+
/** destination folder ID (new parent), none if root */
|
|
675
|
+
parentFolderId?: string | null;
|
|
676
|
+
}
|
|
677
|
+
interface ReferenceCollectionOptions {
|
|
678
|
+
/** target folder ID or none if root */
|
|
679
|
+
folderId?: string | null;
|
|
680
|
+
/**
|
|
681
|
+
* if false then single non-shortcut reference to this
|
|
682
|
+
* collection is moved to target folder
|
|
683
|
+
* otherwise new shortcut reference is created
|
|
684
|
+
*/
|
|
685
|
+
shortcut?: boolean;
|
|
686
|
+
/**
|
|
687
|
+
* additional information for shortcut reference
|
|
688
|
+
* ignored for non-shortcut reference
|
|
689
|
+
*/
|
|
690
|
+
info?: Record<string, any> | null;
|
|
691
|
+
}
|
|
692
|
+
interface GetReferencesOptions {
|
|
693
|
+
/**
|
|
694
|
+
* if true schema would not be loaded and reference may not be found if collection is in root folder
|
|
695
|
+
* loading schema has performance impact
|
|
696
|
+
* @deprecated
|
|
697
|
+
* @targetRemovalDate 2025-01-01
|
|
698
|
+
*/
|
|
699
|
+
skipSchemas?: boolean;
|
|
700
|
+
}
|
|
701
|
+
interface UpdateReferenceInfoOptions {
|
|
702
|
+
/** folder where reference is located, none for root */
|
|
703
|
+
folderId?: string | null;
|
|
704
|
+
/** referenced collection name (ID) */
|
|
705
|
+
collectionName: string;
|
|
706
|
+
/** additional information to set */
|
|
707
|
+
info?: Record<string, any> | null;
|
|
708
|
+
}
|
|
709
|
+
interface DeleteReferenceOptions {
|
|
710
|
+
/** folder ID where to delete reference or none if root */
|
|
711
|
+
folderId?: string | null;
|
|
712
|
+
}
|
|
713
|
+
interface SearchOptions {
|
|
714
|
+
/** Search string, matched ignoring case */
|
|
715
|
+
searchTerm?: string;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
declare function getFolder$1(httpClient: HttpClient): GetFolderSignature;
|
|
719
|
+
interface GetFolderSignature {
|
|
720
|
+
/**
|
|
721
|
+
* Get folder by ID
|
|
722
|
+
* @returns requested folder details
|
|
723
|
+
*/
|
|
724
|
+
(options?: GetFolderOptions | undefined): Promise<Folder & FolderNonNullableFields>;
|
|
725
|
+
}
|
|
726
|
+
declare function createFolder$1(httpClient: HttpClient): CreateFolderSignature;
|
|
727
|
+
interface CreateFolderSignature {
|
|
728
|
+
/**
|
|
729
|
+
* Create new folder
|
|
730
|
+
*/
|
|
731
|
+
(options?: CreateFolderOptions | undefined): Promise<CreateFolderResponse & CreateFolderResponseNonNullableFields>;
|
|
732
|
+
}
|
|
733
|
+
declare function updateFolder$1(httpClient: HttpClient): UpdateFolderSignature;
|
|
734
|
+
interface UpdateFolderSignature {
|
|
735
|
+
/**
|
|
736
|
+
* Update nested folder details.
|
|
737
|
+
* Root folder can't be updated.
|
|
738
|
+
* @param - Folder ID
|
|
739
|
+
*/
|
|
740
|
+
(folderId: string, options?: UpdateFolderOptions | undefined): Promise<UpdateFolderResponse & UpdateFolderResponseNonNullableFields>;
|
|
741
|
+
}
|
|
742
|
+
declare function deleteFolder$1(httpClient: HttpClient): DeleteFolderSignature;
|
|
743
|
+
interface DeleteFolderSignature {
|
|
744
|
+
/**
|
|
745
|
+
* Delete nested folder.
|
|
746
|
+
* - any nested folder would be deleted recursively
|
|
747
|
+
* - any shortcut collection references will be deleted
|
|
748
|
+
* - any non-shortcut collection references will be moved to root folder
|
|
749
|
+
* Root folder can't be deleted.
|
|
750
|
+
* @param - folder ID to delete
|
|
751
|
+
*/
|
|
752
|
+
(folderId: string): Promise<void>;
|
|
753
|
+
}
|
|
754
|
+
declare function moveFolder$1(httpClient: HttpClient): MoveFolderSignature;
|
|
755
|
+
interface MoveFolderSignature {
|
|
756
|
+
/**
|
|
757
|
+
* Move nested folder to different parent with all it's contents
|
|
758
|
+
* @param - folder ID to move
|
|
759
|
+
*/
|
|
760
|
+
(folderId: string, options?: MoveFolderOptions | undefined): Promise<void>;
|
|
761
|
+
}
|
|
762
|
+
declare function referenceCollection$1(httpClient: HttpClient): ReferenceCollectionSignature;
|
|
763
|
+
interface ReferenceCollectionSignature {
|
|
764
|
+
/**
|
|
765
|
+
* Create collection reference.
|
|
766
|
+
* If reference is non-shortcut it is moved from previous location.
|
|
767
|
+
* @param - collection name to reference (ID)
|
|
768
|
+
*/
|
|
769
|
+
(collectionName: string, options?: ReferenceCollectionOptions | undefined): Promise<ReferenceCollectionResponse & ReferenceCollectionResponseNonNullableFields>;
|
|
770
|
+
}
|
|
771
|
+
declare function getReferences$1(httpClient: HttpClient): GetReferencesSignature;
|
|
772
|
+
interface GetReferencesSignature {
|
|
773
|
+
/**
|
|
774
|
+
* Return all references to given collection.
|
|
775
|
+
* @param - collection name (ID) to get
|
|
776
|
+
*/
|
|
777
|
+
(collectionName: string, options?: GetReferencesOptions | undefined): Promise<GetReferencesResponse & GetReferencesResponseNonNullableFields>;
|
|
778
|
+
}
|
|
779
|
+
declare function updateReferenceInfo$1(httpClient: HttpClient): UpdateReferenceInfoSignature;
|
|
780
|
+
interface UpdateReferenceInfoSignature {
|
|
781
|
+
/**
|
|
782
|
+
* Update reference info.
|
|
783
|
+
*/
|
|
784
|
+
(options?: UpdateReferenceInfoOptions | undefined): Promise<UpdateReferenceInfoResponse & UpdateReferenceInfoResponseNonNullableFields>;
|
|
785
|
+
}
|
|
786
|
+
declare function deleteReference$1(httpClient: HttpClient): DeleteReferenceSignature;
|
|
787
|
+
interface DeleteReferenceSignature {
|
|
788
|
+
/**
|
|
789
|
+
* Delete shortcut reference.
|
|
790
|
+
* @param - collection name (ID) to delete
|
|
791
|
+
*/
|
|
792
|
+
(collectionName: string, options?: DeleteReferenceOptions | undefined): Promise<void>;
|
|
793
|
+
}
|
|
794
|
+
declare function search$1(httpClient: HttpClient): SearchSignature;
|
|
795
|
+
interface SearchSignature {
|
|
796
|
+
/**
|
|
797
|
+
* Search folders and collections by name.
|
|
798
|
+
*/
|
|
799
|
+
(options?: SearchOptions | undefined): Promise<SearchResponse & SearchResponseNonNullableFields>;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
declare const getFolder: BuildRESTFunction<typeof getFolder$1> & typeof getFolder$1;
|
|
803
|
+
declare const createFolder: BuildRESTFunction<typeof createFolder$1> & typeof createFolder$1;
|
|
804
|
+
declare const updateFolder: BuildRESTFunction<typeof updateFolder$1> & typeof updateFolder$1;
|
|
805
|
+
declare const deleteFolder: BuildRESTFunction<typeof deleteFolder$1> & typeof deleteFolder$1;
|
|
806
|
+
declare const moveFolder: BuildRESTFunction<typeof moveFolder$1> & typeof moveFolder$1;
|
|
807
|
+
declare const referenceCollection: BuildRESTFunction<typeof referenceCollection$1> & typeof referenceCollection$1;
|
|
808
|
+
declare const getReferences: BuildRESTFunction<typeof getReferences$1> & typeof getReferences$1;
|
|
809
|
+
declare const updateReferenceInfo: BuildRESTFunction<typeof updateReferenceInfo$1> & typeof updateReferenceInfo$1;
|
|
810
|
+
declare const deleteReference: BuildRESTFunction<typeof deleteReference$1> & typeof deleteReference$1;
|
|
811
|
+
declare const search: BuildRESTFunction<typeof search$1> & typeof search$1;
|
|
812
|
+
|
|
813
|
+
type index_d_ActionEvent = ActionEvent;
|
|
814
|
+
type index_d_Asset = Asset;
|
|
815
|
+
type index_d_CollectionReference = CollectionReference;
|
|
816
|
+
type index_d_CreateFolderOptions = CreateFolderOptions;
|
|
817
|
+
type index_d_CreateFolderRequest = CreateFolderRequest;
|
|
818
|
+
type index_d_CreateFolderResponse = CreateFolderResponse;
|
|
819
|
+
type index_d_CreateFolderResponseNonNullableFields = CreateFolderResponseNonNullableFields;
|
|
820
|
+
type index_d_DeleteContext = DeleteContext;
|
|
821
|
+
type index_d_DeleteFolderRequest = DeleteFolderRequest;
|
|
822
|
+
type index_d_DeleteFolderResponse = DeleteFolderResponse;
|
|
823
|
+
type index_d_DeleteReferenceOptions = DeleteReferenceOptions;
|
|
824
|
+
type index_d_DeleteReferenceRequest = DeleteReferenceRequest;
|
|
825
|
+
type index_d_DeleteReferenceResponse = DeleteReferenceResponse;
|
|
826
|
+
type index_d_DeleteStatus = DeleteStatus;
|
|
827
|
+
declare const index_d_DeleteStatus: typeof DeleteStatus;
|
|
828
|
+
type index_d_DomainEvent = DomainEvent;
|
|
829
|
+
type index_d_DomainEventBodyOneOf = DomainEventBodyOneOf;
|
|
830
|
+
type index_d_Empty = Empty;
|
|
831
|
+
type index_d_EntityCreatedEvent = EntityCreatedEvent;
|
|
832
|
+
type index_d_EntityDeletedEvent = EntityDeletedEvent;
|
|
833
|
+
type index_d_EntityUpdatedEvent = EntityUpdatedEvent;
|
|
834
|
+
type index_d_Folder = Folder;
|
|
835
|
+
type index_d_FolderInfo = FolderInfo;
|
|
836
|
+
type index_d_FolderNonNullableFields = FolderNonNullableFields;
|
|
837
|
+
type index_d_GetFolderOptions = GetFolderOptions;
|
|
838
|
+
type index_d_GetFolderRequest = GetFolderRequest;
|
|
839
|
+
type index_d_GetFolderResponse = GetFolderResponse;
|
|
840
|
+
type index_d_GetFolderResponseNonNullableFields = GetFolderResponseNonNullableFields;
|
|
841
|
+
type index_d_GetReferencesOptions = GetReferencesOptions;
|
|
842
|
+
type index_d_GetReferencesRequest = GetReferencesRequest;
|
|
843
|
+
type index_d_GetReferencesResponse = GetReferencesResponse;
|
|
844
|
+
type index_d_GetReferencesResponseNonNullableFields = GetReferencesResponseNonNullableFields;
|
|
845
|
+
type index_d_IdentificationData = IdentificationData;
|
|
846
|
+
type index_d_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
|
|
847
|
+
type index_d_MessageEnvelope = MessageEnvelope;
|
|
848
|
+
type index_d_MetaSiteSpecialEvent = MetaSiteSpecialEvent;
|
|
849
|
+
type index_d_MetaSiteSpecialEventPayloadOneOf = MetaSiteSpecialEventPayloadOneOf;
|
|
850
|
+
type index_d_MoveFolderOptions = MoveFolderOptions;
|
|
851
|
+
type index_d_MoveFolderRequest = MoveFolderRequest;
|
|
852
|
+
type index_d_MoveFolderResponse = MoveFolderResponse;
|
|
853
|
+
type index_d_Namespace = Namespace;
|
|
854
|
+
declare const index_d_Namespace: typeof Namespace;
|
|
855
|
+
type index_d_NamespaceChanged = NamespaceChanged;
|
|
856
|
+
type index_d_ReferenceCollectionOptions = ReferenceCollectionOptions;
|
|
857
|
+
type index_d_ReferenceCollectionRequest = ReferenceCollectionRequest;
|
|
858
|
+
type index_d_ReferenceCollectionResponse = ReferenceCollectionResponse;
|
|
859
|
+
type index_d_ReferenceCollectionResponseNonNullableFields = ReferenceCollectionResponseNonNullableFields;
|
|
860
|
+
type index_d_ReferenceLocation = ReferenceLocation;
|
|
861
|
+
type index_d_RestoreInfo = RestoreInfo;
|
|
862
|
+
type index_d_SearchOptions = SearchOptions;
|
|
863
|
+
type index_d_SearchRequest = SearchRequest;
|
|
864
|
+
type index_d_SearchResponse = SearchResponse;
|
|
865
|
+
type index_d_SearchResponseNonNullableFields = SearchResponseNonNullableFields;
|
|
866
|
+
type index_d_ServiceProvisioned = ServiceProvisioned;
|
|
867
|
+
type index_d_ServiceRemoved = ServiceRemoved;
|
|
868
|
+
type index_d_SiteCreated = SiteCreated;
|
|
869
|
+
type index_d_SiteCreatedContext = SiteCreatedContext;
|
|
870
|
+
declare const index_d_SiteCreatedContext: typeof SiteCreatedContext;
|
|
871
|
+
type index_d_SiteDeleted = SiteDeleted;
|
|
872
|
+
type index_d_SiteHardDeleted = SiteHardDeleted;
|
|
873
|
+
type index_d_SiteMarkedAsTemplate = SiteMarkedAsTemplate;
|
|
874
|
+
type index_d_SiteMarkedAsWixSite = SiteMarkedAsWixSite;
|
|
875
|
+
type index_d_SitePublished = SitePublished;
|
|
876
|
+
type index_d_SiteRenamed = SiteRenamed;
|
|
877
|
+
type index_d_SiteTransferred = SiteTransferred;
|
|
878
|
+
type index_d_SiteUndeleted = SiteUndeleted;
|
|
879
|
+
type index_d_SiteUnpublished = SiteUnpublished;
|
|
880
|
+
type index_d_State = State;
|
|
881
|
+
declare const index_d_State: typeof State;
|
|
882
|
+
type index_d_StudioAssigned = StudioAssigned;
|
|
883
|
+
type index_d_StudioUnassigned = StudioUnassigned;
|
|
884
|
+
type index_d_UpdateFolderOptions = UpdateFolderOptions;
|
|
885
|
+
type index_d_UpdateFolderRequest = UpdateFolderRequest;
|
|
886
|
+
type index_d_UpdateFolderResponse = UpdateFolderResponse;
|
|
887
|
+
type index_d_UpdateFolderResponseNonNullableFields = UpdateFolderResponseNonNullableFields;
|
|
888
|
+
type index_d_UpdateReferenceInfoOptions = UpdateReferenceInfoOptions;
|
|
889
|
+
type index_d_UpdateReferenceInfoRequest = UpdateReferenceInfoRequest;
|
|
890
|
+
type index_d_UpdateReferenceInfoResponse = UpdateReferenceInfoResponse;
|
|
891
|
+
type index_d_UpdateReferenceInfoResponseNonNullableFields = UpdateReferenceInfoResponseNonNullableFields;
|
|
892
|
+
type index_d_WebhookIdentityType = WebhookIdentityType;
|
|
893
|
+
declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
|
|
894
|
+
declare const index_d_createFolder: typeof createFolder;
|
|
895
|
+
declare const index_d_deleteFolder: typeof deleteFolder;
|
|
896
|
+
declare const index_d_deleteReference: typeof deleteReference;
|
|
897
|
+
declare const index_d_getFolder: typeof getFolder;
|
|
898
|
+
declare const index_d_getReferences: typeof getReferences;
|
|
899
|
+
declare const index_d_moveFolder: typeof moveFolder;
|
|
900
|
+
declare const index_d_referenceCollection: typeof referenceCollection;
|
|
901
|
+
declare const index_d_search: typeof search;
|
|
902
|
+
declare const index_d_updateFolder: typeof updateFolder;
|
|
903
|
+
declare const index_d_updateReferenceInfo: typeof updateReferenceInfo;
|
|
904
|
+
declare namespace index_d {
|
|
905
|
+
export { type index_d_ActionEvent as ActionEvent, type index_d_Asset as Asset, type index_d_CollectionReference as CollectionReference, type index_d_CreateFolderOptions as CreateFolderOptions, type index_d_CreateFolderRequest as CreateFolderRequest, type index_d_CreateFolderResponse as CreateFolderResponse, type index_d_CreateFolderResponseNonNullableFields as CreateFolderResponseNonNullableFields, type index_d_DeleteContext as DeleteContext, type index_d_DeleteFolderRequest as DeleteFolderRequest, type index_d_DeleteFolderResponse as DeleteFolderResponse, type index_d_DeleteReferenceOptions as DeleteReferenceOptions, type index_d_DeleteReferenceRequest as DeleteReferenceRequest, type index_d_DeleteReferenceResponse as DeleteReferenceResponse, index_d_DeleteStatus as DeleteStatus, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_Folder as Folder, type index_d_FolderInfo as FolderInfo, type index_d_FolderNonNullableFields as FolderNonNullableFields, type index_d_GetFolderOptions as GetFolderOptions, type index_d_GetFolderRequest as GetFolderRequest, type index_d_GetFolderResponse as GetFolderResponse, type index_d_GetFolderResponseNonNullableFields as GetFolderResponseNonNullableFields, type index_d_GetReferencesOptions as GetReferencesOptions, type index_d_GetReferencesRequest as GetReferencesRequest, type index_d_GetReferencesResponse as GetReferencesResponse, type index_d_GetReferencesResponseNonNullableFields as GetReferencesResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type index_d_MoveFolderOptions as MoveFolderOptions, type index_d_MoveFolderRequest as MoveFolderRequest, type index_d_MoveFolderResponse as MoveFolderResponse, index_d_Namespace as Namespace, type index_d_NamespaceChanged as NamespaceChanged, type index_d_ReferenceCollectionOptions as ReferenceCollectionOptions, type index_d_ReferenceCollectionRequest as ReferenceCollectionRequest, type index_d_ReferenceCollectionResponse as ReferenceCollectionResponse, type index_d_ReferenceCollectionResponseNonNullableFields as ReferenceCollectionResponseNonNullableFields, type index_d_ReferenceLocation as ReferenceLocation, type index_d_RestoreInfo as RestoreInfo, type index_d_SearchOptions as SearchOptions, type index_d_SearchRequest as SearchRequest, type index_d_SearchResponse as SearchResponse, type index_d_SearchResponseNonNullableFields as SearchResponseNonNullableFields, type index_d_ServiceProvisioned as ServiceProvisioned, type index_d_ServiceRemoved as ServiceRemoved, type index_d_SiteCreated as SiteCreated, index_d_SiteCreatedContext as SiteCreatedContext, type index_d_SiteDeleted as SiteDeleted, type index_d_SiteHardDeleted as SiteHardDeleted, type index_d_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d_SitePublished as SitePublished, type index_d_SiteRenamed as SiteRenamed, type index_d_SiteTransferred as SiteTransferred, type index_d_SiteUndeleted as SiteUndeleted, type index_d_SiteUnpublished as SiteUnpublished, index_d_State as State, type index_d_StudioAssigned as StudioAssigned, type index_d_StudioUnassigned as StudioUnassigned, type index_d_UpdateFolderOptions as UpdateFolderOptions, type index_d_UpdateFolderRequest as UpdateFolderRequest, type index_d_UpdateFolderResponse as UpdateFolderResponse, type index_d_UpdateFolderResponseNonNullableFields as UpdateFolderResponseNonNullableFields, type index_d_UpdateReferenceInfoOptions as UpdateReferenceInfoOptions, type index_d_UpdateReferenceInfoRequest as UpdateReferenceInfoRequest, type index_d_UpdateReferenceInfoResponse as UpdateReferenceInfoResponse, type index_d_UpdateReferenceInfoResponseNonNullableFields as UpdateReferenceInfoResponseNonNullableFields, index_d_WebhookIdentityType as WebhookIdentityType, index_d_createFolder as createFolder, index_d_deleteFolder as deleteFolder, index_d_deleteReference as deleteReference, index_d_getFolder as getFolder, index_d_getReferences as getReferences, index_d_moveFolder as moveFolder, index_d_referenceCollection as referenceCollection, index_d_search as search, index_d_updateFolder as updateFolder, index_d_updateReferenceInfo as updateReferenceInfo };
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
export { index_d as autocms };
|