@wix/pro-gallery 1.0.65 → 1.0.66
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/es/package.json +3 -0
- package/meta/package.json +1 -5
- package/package.json +19 -16
- package/build/cjs/context.d.ts +0 -1
- package/build/cjs/context.js +0 -28
- package/build/cjs/context.js.map +0 -1
- package/build/es/context.d.ts +0 -1
- package/build/es/context.js +0 -2
- package/build/es/context.js.map +0 -1
- package/context/package.json +0 -7
- package/type-bundles/context.bundle.d.ts +0 -2146
- package/type-bundles/index.bundle.d.ts +0 -2146
- package/type-bundles/meta.bundle.d.ts +0 -1092
@@ -1,2146 +0,0 @@
|
|
1
|
-
type HostModule<T, H extends Host> = {
|
2
|
-
__type: 'host';
|
3
|
-
create(host: H): T;
|
4
|
-
};
|
5
|
-
type HostModuleAPI<T extends HostModule<any, any>> = T extends HostModule<infer U, any> ? U : never;
|
6
|
-
type Host<Environment = unknown> = {
|
7
|
-
channel: {
|
8
|
-
observeState(callback: (props: unknown, environment: Environment) => unknown): {
|
9
|
-
disconnect: () => void;
|
10
|
-
} | Promise<{
|
11
|
-
disconnect: () => void;
|
12
|
-
}>;
|
13
|
-
};
|
14
|
-
environment?: Environment;
|
15
|
-
/**
|
16
|
-
* Optional name of the environment, use for logging
|
17
|
-
*/
|
18
|
-
name?: string;
|
19
|
-
/**
|
20
|
-
* Optional bast url to use for API requests, for example `www.wixapis.com`
|
21
|
-
*/
|
22
|
-
apiBaseUrl?: string;
|
23
|
-
/**
|
24
|
-
* Possible data to be provided by every host, for cross cutting concerns
|
25
|
-
* like internationalization, billing, etc.
|
26
|
-
*/
|
27
|
-
essentials?: {
|
28
|
-
/**
|
29
|
-
* The language of the currently viewed session
|
30
|
-
*/
|
31
|
-
language?: string;
|
32
|
-
/**
|
33
|
-
* The locale of the currently viewed session
|
34
|
-
*/
|
35
|
-
locale?: string;
|
36
|
-
/**
|
37
|
-
* Any headers that should be passed through to the API requests
|
38
|
-
*/
|
39
|
-
passThroughHeaders?: Record<string, string>;
|
40
|
-
};
|
41
|
-
};
|
42
|
-
|
43
|
-
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
44
|
-
interface HttpClient {
|
45
|
-
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
46
|
-
fetchWithAuth: typeof fetch;
|
47
|
-
wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
|
48
|
-
getActiveToken?: () => string | undefined;
|
49
|
-
}
|
50
|
-
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
51
|
-
type HttpResponse<T = any> = {
|
52
|
-
data: T;
|
53
|
-
status: number;
|
54
|
-
statusText: string;
|
55
|
-
headers: any;
|
56
|
-
request?: any;
|
57
|
-
};
|
58
|
-
type RequestOptions<_TResponse = any, Data = any> = {
|
59
|
-
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
60
|
-
url: string;
|
61
|
-
data?: Data;
|
62
|
-
params?: URLSearchParams;
|
63
|
-
} & APIMetadata;
|
64
|
-
type APIMetadata = {
|
65
|
-
methodFqn?: string;
|
66
|
-
entityFqdn?: string;
|
67
|
-
packageName?: string;
|
68
|
-
};
|
69
|
-
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
70
|
-
type EventDefinition<Payload = unknown, Type extends string = string> = {
|
71
|
-
__type: 'event-definition';
|
72
|
-
type: Type;
|
73
|
-
isDomainEvent?: boolean;
|
74
|
-
transformations?: (envelope: unknown) => Payload;
|
75
|
-
__payload: Payload;
|
76
|
-
};
|
77
|
-
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
78
|
-
type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
|
79
|
-
type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
|
80
|
-
|
81
|
-
type ServicePluginMethodInput = {
|
82
|
-
request: any;
|
83
|
-
metadata: any;
|
84
|
-
};
|
85
|
-
type ServicePluginContract = Record<string, (payload: ServicePluginMethodInput) => unknown | Promise<unknown>>;
|
86
|
-
type ServicePluginMethodMetadata = {
|
87
|
-
name: string;
|
88
|
-
primaryHttpMappingPath: string;
|
89
|
-
transformations: {
|
90
|
-
fromREST: (...args: unknown[]) => ServicePluginMethodInput;
|
91
|
-
toREST: (...args: unknown[]) => unknown;
|
92
|
-
};
|
93
|
-
};
|
94
|
-
type ServicePluginDefinition<Contract extends ServicePluginContract> = {
|
95
|
-
__type: 'service-plugin-definition';
|
96
|
-
componentType: string;
|
97
|
-
methods: ServicePluginMethodMetadata[];
|
98
|
-
__contract: Contract;
|
99
|
-
};
|
100
|
-
declare function ServicePluginDefinition<Contract extends ServicePluginContract>(componentType: string, methods: ServicePluginMethodMetadata[]): ServicePluginDefinition<Contract>;
|
101
|
-
type BuildServicePluginDefinition<T extends ServicePluginDefinition<any>> = (implementation: T['__contract']) => void;
|
102
|
-
declare const SERVICE_PLUGIN_ERROR_TYPE = "wix_spi_error";
|
103
|
-
|
104
|
-
type RequestContext = {
|
105
|
-
isSSR: boolean;
|
106
|
-
host: string;
|
107
|
-
protocol?: string;
|
108
|
-
};
|
109
|
-
type ResponseTransformer = (data: any, headers?: any) => any;
|
110
|
-
/**
|
111
|
-
* Ambassador request options types are copied mostly from AxiosRequestConfig.
|
112
|
-
* They are copied and not imported to reduce the amount of dependencies (to reduce install time).
|
113
|
-
* https://github.com/axios/axios/blob/3f53eb6960f05a1f88409c4b731a40de595cb825/index.d.ts#L307-L315
|
114
|
-
*/
|
115
|
-
type Method = 'get' | 'GET' | 'delete' | 'DELETE' | 'head' | 'HEAD' | 'options' | 'OPTIONS' | 'post' | 'POST' | 'put' | 'PUT' | 'patch' | 'PATCH' | 'purge' | 'PURGE' | 'link' | 'LINK' | 'unlink' | 'UNLINK';
|
116
|
-
type AmbassadorRequestOptions<T = any> = {
|
117
|
-
_?: T;
|
118
|
-
url?: string;
|
119
|
-
method?: Method;
|
120
|
-
params?: any;
|
121
|
-
data?: any;
|
122
|
-
transformResponse?: ResponseTransformer | ResponseTransformer[];
|
123
|
-
};
|
124
|
-
type AmbassadorFactory<Request, Response> = (payload: Request) => ((context: RequestContext) => AmbassadorRequestOptions<Response>) & {
|
125
|
-
__isAmbassador: boolean;
|
126
|
-
};
|
127
|
-
type AmbassadorFunctionDescriptor<Request = any, Response = any> = AmbassadorFactory<Request, Response>;
|
128
|
-
type BuildAmbassadorFunction<T extends AmbassadorFunctionDescriptor> = T extends AmbassadorFunctionDescriptor<infer Request, infer Response> ? (req: Request) => Promise<Response> : never;
|
129
|
-
|
130
|
-
declare global {
|
131
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
132
|
-
interface SymbolConstructor {
|
133
|
-
readonly observable: symbol;
|
134
|
-
}
|
135
|
-
}
|
136
|
-
|
137
|
-
declare const emptyObjectSymbol: unique symbol;
|
138
|
-
|
139
|
-
/**
|
140
|
-
Represents a strictly empty plain object, the `{}` value.
|
141
|
-
|
142
|
-
When you annotate something as the type `{}`, it can be anything except `null` and `undefined`. This means that you cannot use `{}` to represent an empty plain object ([read more](https://stackoverflow.com/questions/47339869/typescript-empty-object-and-any-difference/52193484#52193484)).
|
143
|
-
|
144
|
-
@example
|
145
|
-
```
|
146
|
-
import type {EmptyObject} from 'type-fest';
|
147
|
-
|
148
|
-
// The following illustrates the problem with `{}`.
|
149
|
-
const foo1: {} = {}; // Pass
|
150
|
-
const foo2: {} = []; // Pass
|
151
|
-
const foo3: {} = 42; // Pass
|
152
|
-
const foo4: {} = {a: 1}; // Pass
|
153
|
-
|
154
|
-
// With `EmptyObject` only the first case is valid.
|
155
|
-
const bar1: EmptyObject = {}; // Pass
|
156
|
-
const bar2: EmptyObject = 42; // Fail
|
157
|
-
const bar3: EmptyObject = []; // Fail
|
158
|
-
const bar4: EmptyObject = {a: 1}; // Fail
|
159
|
-
```
|
160
|
-
|
161
|
-
Unfortunately, `Record<string, never>`, `Record<keyof any, never>` and `Record<never, never>` do not work. See {@link https://github.com/sindresorhus/type-fest/issues/395 #395}.
|
162
|
-
|
163
|
-
@category Object
|
164
|
-
*/
|
165
|
-
type EmptyObject = {[emptyObjectSymbol]?: never};
|
166
|
-
|
167
|
-
/**
|
168
|
-
Returns a boolean for whether the two given types are equal.
|
169
|
-
|
170
|
-
@link https://github.com/microsoft/TypeScript/issues/27024#issuecomment-421529650
|
171
|
-
@link https://stackoverflow.com/questions/68961864/how-does-the-equals-work-in-typescript/68963796#68963796
|
172
|
-
|
173
|
-
Use-cases:
|
174
|
-
- If you want to make a conditional branch based on the result of a comparison of two types.
|
175
|
-
|
176
|
-
@example
|
177
|
-
```
|
178
|
-
import type {IsEqual} from 'type-fest';
|
179
|
-
|
180
|
-
// This type returns a boolean for whether the given array includes the given item.
|
181
|
-
// `IsEqual` is used to compare the given array at position 0 and the given item and then return true if they are equal.
|
182
|
-
type Includes<Value extends readonly any[], Item> =
|
183
|
-
Value extends readonly [Value[0], ...infer rest]
|
184
|
-
? IsEqual<Value[0], Item> extends true
|
185
|
-
? true
|
186
|
-
: Includes<rest, Item>
|
187
|
-
: false;
|
188
|
-
```
|
189
|
-
|
190
|
-
@category Type Guard
|
191
|
-
@category Utilities
|
192
|
-
*/
|
193
|
-
type IsEqual<A, B> =
|
194
|
-
(<G>() => G extends A ? 1 : 2) extends
|
195
|
-
(<G>() => G extends B ? 1 : 2)
|
196
|
-
? true
|
197
|
-
: false;
|
198
|
-
|
199
|
-
/**
|
200
|
-
Filter out keys from an object.
|
201
|
-
|
202
|
-
Returns `never` if `Exclude` is strictly equal to `Key`.
|
203
|
-
Returns `never` if `Key` extends `Exclude`.
|
204
|
-
Returns `Key` otherwise.
|
205
|
-
|
206
|
-
@example
|
207
|
-
```
|
208
|
-
type Filtered = Filter<'foo', 'foo'>;
|
209
|
-
//=> never
|
210
|
-
```
|
211
|
-
|
212
|
-
@example
|
213
|
-
```
|
214
|
-
type Filtered = Filter<'bar', string>;
|
215
|
-
//=> never
|
216
|
-
```
|
217
|
-
|
218
|
-
@example
|
219
|
-
```
|
220
|
-
type Filtered = Filter<'bar', 'foo'>;
|
221
|
-
//=> 'bar'
|
222
|
-
```
|
223
|
-
|
224
|
-
@see {Except}
|
225
|
-
*/
|
226
|
-
type Filter<KeyType, ExcludeType> = IsEqual<KeyType, ExcludeType> extends true ? never : (KeyType extends ExcludeType ? never : KeyType);
|
227
|
-
|
228
|
-
type ExceptOptions = {
|
229
|
-
/**
|
230
|
-
Disallow assigning non-specified properties.
|
231
|
-
|
232
|
-
Note that any omitted properties in the resulting type will be present in autocomplete as `undefined`.
|
233
|
-
|
234
|
-
@default false
|
235
|
-
*/
|
236
|
-
requireExactProps?: boolean;
|
237
|
-
};
|
238
|
-
|
239
|
-
/**
|
240
|
-
Create a type from an object type without certain keys.
|
241
|
-
|
242
|
-
We recommend setting the `requireExactProps` option to `true`.
|
243
|
-
|
244
|
-
This type is a stricter version of [`Omit`](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-5.html#the-omit-helper-type). The `Omit` type does not restrict the omitted keys to be keys present on the given type, while `Except` does. The benefits of a stricter type are avoiding typos and allowing the compiler to pick up on rename refactors automatically.
|
245
|
-
|
246
|
-
This type was proposed to the TypeScript team, which declined it, saying they prefer that libraries implement stricter versions of the built-in types ([microsoft/TypeScript#30825](https://github.com/microsoft/TypeScript/issues/30825#issuecomment-523668235)).
|
247
|
-
|
248
|
-
@example
|
249
|
-
```
|
250
|
-
import type {Except} from 'type-fest';
|
251
|
-
|
252
|
-
type Foo = {
|
253
|
-
a: number;
|
254
|
-
b: string;
|
255
|
-
};
|
256
|
-
|
257
|
-
type FooWithoutA = Except<Foo, 'a'>;
|
258
|
-
//=> {b: string}
|
259
|
-
|
260
|
-
const fooWithoutA: FooWithoutA = {a: 1, b: '2'};
|
261
|
-
//=> errors: 'a' does not exist in type '{ b: string; }'
|
262
|
-
|
263
|
-
type FooWithoutB = Except<Foo, 'b', {requireExactProps: true}>;
|
264
|
-
//=> {a: number} & Partial<Record<"b", never>>
|
265
|
-
|
266
|
-
const fooWithoutB: FooWithoutB = {a: 1, b: '2'};
|
267
|
-
//=> errors at 'b': Type 'string' is not assignable to type 'undefined'.
|
268
|
-
```
|
269
|
-
|
270
|
-
@category Object
|
271
|
-
*/
|
272
|
-
type Except<ObjectType, KeysType extends keyof ObjectType, Options extends ExceptOptions = {requireExactProps: false}> = {
|
273
|
-
[KeyType in keyof ObjectType as Filter<KeyType, KeysType>]: ObjectType[KeyType];
|
274
|
-
} & (Options['requireExactProps'] extends true
|
275
|
-
? Partial<Record<KeysType, never>>
|
276
|
-
: {});
|
277
|
-
|
278
|
-
/**
|
279
|
-
Returns a boolean for whether the given type is `never`.
|
280
|
-
|
281
|
-
@link https://github.com/microsoft/TypeScript/issues/31751#issuecomment-498526919
|
282
|
-
@link https://stackoverflow.com/a/53984913/10292952
|
283
|
-
@link https://www.zhenghao.io/posts/ts-never
|
284
|
-
|
285
|
-
Useful in type utilities, such as checking if something does not occur.
|
286
|
-
|
287
|
-
@example
|
288
|
-
```
|
289
|
-
import type {IsNever, And} from 'type-fest';
|
290
|
-
|
291
|
-
// https://github.com/andnp/SimplyTyped/blob/master/src/types/strings.ts
|
292
|
-
type AreStringsEqual<A extends string, B extends string> =
|
293
|
-
And<
|
294
|
-
IsNever<Exclude<A, B>> extends true ? true : false,
|
295
|
-
IsNever<Exclude<B, A>> extends true ? true : false
|
296
|
-
>;
|
297
|
-
|
298
|
-
type EndIfEqual<I extends string, O extends string> =
|
299
|
-
AreStringsEqual<I, O> extends true
|
300
|
-
? never
|
301
|
-
: void;
|
302
|
-
|
303
|
-
function endIfEqual<I extends string, O extends string>(input: I, output: O): EndIfEqual<I, O> {
|
304
|
-
if (input === output) {
|
305
|
-
process.exit(0);
|
306
|
-
}
|
307
|
-
}
|
308
|
-
|
309
|
-
endIfEqual('abc', 'abc');
|
310
|
-
//=> never
|
311
|
-
|
312
|
-
endIfEqual('abc', '123');
|
313
|
-
//=> void
|
314
|
-
```
|
315
|
-
|
316
|
-
@category Type Guard
|
317
|
-
@category Utilities
|
318
|
-
*/
|
319
|
-
type IsNever<T> = [T] extends [never] ? true : false;
|
320
|
-
|
321
|
-
/**
|
322
|
-
An if-else-like type that resolves depending on whether the given type is `never`.
|
323
|
-
|
324
|
-
@see {@link IsNever}
|
325
|
-
|
326
|
-
@example
|
327
|
-
```
|
328
|
-
import type {IfNever} from 'type-fest';
|
329
|
-
|
330
|
-
type ShouldBeTrue = IfNever<never>;
|
331
|
-
//=> true
|
332
|
-
|
333
|
-
type ShouldBeBar = IfNever<'not never', 'foo', 'bar'>;
|
334
|
-
//=> 'bar'
|
335
|
-
```
|
336
|
-
|
337
|
-
@category Type Guard
|
338
|
-
@category Utilities
|
339
|
-
*/
|
340
|
-
type IfNever<T, TypeIfNever = true, TypeIfNotNever = false> = (
|
341
|
-
IsNever<T> extends true ? TypeIfNever : TypeIfNotNever
|
342
|
-
);
|
343
|
-
|
344
|
-
/**
|
345
|
-
Extract the keys from a type where the value type of the key extends the given `Condition`.
|
346
|
-
|
347
|
-
Internally this is used for the `ConditionalPick` and `ConditionalExcept` types.
|
348
|
-
|
349
|
-
@example
|
350
|
-
```
|
351
|
-
import type {ConditionalKeys} from 'type-fest';
|
352
|
-
|
353
|
-
interface Example {
|
354
|
-
a: string;
|
355
|
-
b: string | number;
|
356
|
-
c?: string;
|
357
|
-
d: {};
|
358
|
-
}
|
359
|
-
|
360
|
-
type StringKeysOnly = ConditionalKeys<Example, string>;
|
361
|
-
//=> 'a'
|
362
|
-
```
|
363
|
-
|
364
|
-
To support partial types, make sure your `Condition` is a union of undefined (for example, `string | undefined`) as demonstrated below.
|
365
|
-
|
366
|
-
@example
|
367
|
-
```
|
368
|
-
import type {ConditionalKeys} from 'type-fest';
|
369
|
-
|
370
|
-
type StringKeysAndUndefined = ConditionalKeys<Example, string | undefined>;
|
371
|
-
//=> 'a' | 'c'
|
372
|
-
```
|
373
|
-
|
374
|
-
@category Object
|
375
|
-
*/
|
376
|
-
type ConditionalKeys<Base, Condition> =
|
377
|
-
{
|
378
|
-
// Map through all the keys of the given base type.
|
379
|
-
[Key in keyof Base]-?:
|
380
|
-
// Pick only keys with types extending the given `Condition` type.
|
381
|
-
Base[Key] extends Condition
|
382
|
-
// Retain this key
|
383
|
-
// If the value for the key extends never, only include it if `Condition` also extends never
|
384
|
-
? IfNever<Base[Key], IfNever<Condition, Key, never>, Key>
|
385
|
-
// Discard this key since the condition fails.
|
386
|
-
: never;
|
387
|
-
// Convert the produced object into a union type of the keys which passed the conditional test.
|
388
|
-
}[keyof Base];
|
389
|
-
|
390
|
-
/**
|
391
|
-
Exclude keys from a shape that matches the given `Condition`.
|
392
|
-
|
393
|
-
This is useful when you want to create a new type with a specific set of keys from a shape. For example, you might want to exclude all the primitive properties from a class and form a new shape containing everything but the primitive properties.
|
394
|
-
|
395
|
-
@example
|
396
|
-
```
|
397
|
-
import type {Primitive, ConditionalExcept} from 'type-fest';
|
398
|
-
|
399
|
-
class Awesome {
|
400
|
-
name: string;
|
401
|
-
successes: number;
|
402
|
-
failures: bigint;
|
403
|
-
|
404
|
-
run() {}
|
405
|
-
}
|
406
|
-
|
407
|
-
type ExceptPrimitivesFromAwesome = ConditionalExcept<Awesome, Primitive>;
|
408
|
-
//=> {run: () => void}
|
409
|
-
```
|
410
|
-
|
411
|
-
@example
|
412
|
-
```
|
413
|
-
import type {ConditionalExcept} from 'type-fest';
|
414
|
-
|
415
|
-
interface Example {
|
416
|
-
a: string;
|
417
|
-
b: string | number;
|
418
|
-
c: () => void;
|
419
|
-
d: {};
|
420
|
-
}
|
421
|
-
|
422
|
-
type NonStringKeysOnly = ConditionalExcept<Example, string>;
|
423
|
-
//=> {b: string | number; c: () => void; d: {}}
|
424
|
-
```
|
425
|
-
|
426
|
-
@category Object
|
427
|
-
*/
|
428
|
-
type ConditionalExcept<Base, Condition> = Except<
|
429
|
-
Base,
|
430
|
-
ConditionalKeys<Base, Condition>
|
431
|
-
>;
|
432
|
-
|
433
|
-
/**
|
434
|
-
* Descriptors are objects that describe the API of a module, and the module
|
435
|
-
* can either be a REST module or a host module.
|
436
|
-
* This type is recursive, so it can describe nested modules.
|
437
|
-
*/
|
438
|
-
type Descriptors = RESTFunctionDescriptor | AmbassadorFunctionDescriptor | HostModule<any, any> | EventDefinition<any> | ServicePluginDefinition<any> | {
|
439
|
-
[key: string]: Descriptors | PublicMetadata | any;
|
440
|
-
};
|
441
|
-
/**
|
442
|
-
* This type takes in a descriptors object of a certain Host (including an `unknown` host)
|
443
|
-
* and returns an object with the same structure, but with all descriptors replaced with their API.
|
444
|
-
* Any non-descriptor properties are removed from the returned object, including descriptors that
|
445
|
-
* do not match the given host (as they will not work with the given host).
|
446
|
-
*/
|
447
|
-
type BuildDescriptors<T extends Descriptors, H extends Host<any> | undefined, Depth extends number = 5> = {
|
448
|
-
done: T;
|
449
|
-
recurse: T extends {
|
450
|
-
__type: typeof SERVICE_PLUGIN_ERROR_TYPE;
|
451
|
-
} ? never : T extends AmbassadorFunctionDescriptor ? BuildAmbassadorFunction<T> : T extends RESTFunctionDescriptor ? BuildRESTFunction<T> : T extends EventDefinition<any> ? BuildEventDefinition<T> : T extends ServicePluginDefinition<any> ? BuildServicePluginDefinition<T> : T extends HostModule<any, any> ? HostModuleAPI<T> : ConditionalExcept<{
|
452
|
-
[Key in keyof T]: T[Key] extends Descriptors ? BuildDescriptors<T[Key], H, [
|
453
|
-
-1,
|
454
|
-
0,
|
455
|
-
1,
|
456
|
-
2,
|
457
|
-
3,
|
458
|
-
4,
|
459
|
-
5
|
460
|
-
][Depth]> : never;
|
461
|
-
}, EmptyObject>;
|
462
|
-
}[Depth extends -1 ? 'done' : 'recurse'];
|
463
|
-
type PublicMetadata = {
|
464
|
-
PACKAGE_NAME?: string;
|
465
|
-
};
|
466
|
-
|
467
|
-
declare global {
|
468
|
-
interface ContextualClient {
|
469
|
-
}
|
470
|
-
}
|
471
|
-
/**
|
472
|
-
* A type used to create concerete types from SDK descriptors in
|
473
|
-
* case a contextual client is available.
|
474
|
-
*/
|
475
|
-
type MaybeContext<T extends Descriptors> = globalThis.ContextualClient extends {
|
476
|
-
host: Host;
|
477
|
-
} ? BuildDescriptors<T, globalThis.ContextualClient['host']> : T;
|
478
|
-
|
479
|
-
interface Gallery {
|
480
|
-
/**
|
481
|
-
* Gallery ID.
|
482
|
-
* @readonly
|
483
|
-
*/
|
484
|
-
_id?: string | null;
|
485
|
-
/** Gallery name. */
|
486
|
-
name?: string | null;
|
487
|
-
/**
|
488
|
-
* Total number of items in the gallery.
|
489
|
-
* @readonly
|
490
|
-
*/
|
491
|
-
totalItems?: number | null;
|
492
|
-
/** Media items in the gallery. */
|
493
|
-
items?: Item[];
|
494
|
-
/**
|
495
|
-
* Index that determines which position a gallery is displayed on the site. <br />
|
496
|
-
*
|
497
|
-
* >**Note:** If you assign the same sort order index to more than one gallery, the function fails.
|
498
|
-
*/
|
499
|
-
sortOrder?: number | null;
|
500
|
-
/**
|
501
|
-
* Date and time the gallery was created.
|
502
|
-
* @readonly
|
503
|
-
*/
|
504
|
-
_createdDate?: Date | null;
|
505
|
-
}
|
506
|
-
interface Item extends ItemMetadataOneOf {
|
507
|
-
/** Details about the image. */
|
508
|
-
image?: Image;
|
509
|
-
/** Details about the video. */
|
510
|
-
video?: Video;
|
511
|
-
/** Details about the text file. */
|
512
|
-
text?: Text;
|
513
|
-
/**
|
514
|
-
* Item ID.
|
515
|
-
* @readonly
|
516
|
-
*/
|
517
|
-
_id?: string | null;
|
518
|
-
/**
|
519
|
-
* Index that determines which position a media item is displayed in the gallery. <br />
|
520
|
-
*
|
521
|
-
* Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
|
522
|
-
*
|
523
|
-
* >**Note:** If you assign the same sort order index to more than one media item in a gallery, the function fails.
|
524
|
-
*/
|
525
|
-
sortOrder?: number | null;
|
526
|
-
/** Item title. */
|
527
|
-
title?: string | null;
|
528
|
-
/** Item description. */
|
529
|
-
description?: string | null;
|
530
|
-
/** Link from the item. You can link to Wix sites or external URLs. */
|
531
|
-
link?: Link;
|
532
|
-
/**
|
533
|
-
* Type of item.
|
534
|
-
* @readonly
|
535
|
-
*/
|
536
|
-
type?: Type;
|
537
|
-
/**
|
538
|
-
* Date and time the item was created.
|
539
|
-
* @readonly
|
540
|
-
*/
|
541
|
-
_createdDate?: Date | null;
|
542
|
-
/**
|
543
|
-
* Date and time the item was last updated.
|
544
|
-
* @readonly
|
545
|
-
*/
|
546
|
-
_updatedDate?: Date | null;
|
547
|
-
/** Item tags. */
|
548
|
-
tags?: Tags;
|
549
|
-
}
|
550
|
-
/** @oneof */
|
551
|
-
interface ItemMetadataOneOf {
|
552
|
-
/** Details about the image. */
|
553
|
-
image?: Image;
|
554
|
-
/** Details about the video. */
|
555
|
-
video?: Video;
|
556
|
-
/** Details about the text file. */
|
557
|
-
text?: Text;
|
558
|
-
}
|
559
|
-
interface Link {
|
560
|
-
/** Display text of the link. */
|
561
|
-
text?: string | null;
|
562
|
-
/** Target URL of the link. */
|
563
|
-
url?: string | null;
|
564
|
-
}
|
565
|
-
declare enum LinkType {
|
566
|
-
UNDEFINED = "UNDEFINED",
|
567
|
-
/** External link. */
|
568
|
-
EXTERNAL = "EXTERNAL",
|
569
|
-
/** For internal usage using wixLinkData. */
|
570
|
-
INTERNAL = "INTERNAL"
|
571
|
-
}
|
572
|
-
/** The link object generated by panels in the editor and used by applications in Wix */
|
573
|
-
interface WixLink extends WixLinkLinkOneOf {
|
574
|
-
/** External link type */
|
575
|
-
external?: ExternalLink;
|
576
|
-
/** Page link type */
|
577
|
-
page?: PageLink;
|
578
|
-
/** Anchor link type */
|
579
|
-
anchor?: AnchorLink;
|
580
|
-
/** Dynamic page link type */
|
581
|
-
dynamicPage?: DynamicPageLink;
|
582
|
-
/** Document link type */
|
583
|
-
document?: DocumentLink;
|
584
|
-
/** Email link type */
|
585
|
-
email?: EmailLink;
|
586
|
-
/** Phone link type */
|
587
|
-
phone?: PhoneLink;
|
588
|
-
/** Address link type */
|
589
|
-
address?: AddressLink;
|
590
|
-
/** WhatsApp link type */
|
591
|
-
whatsApp?: WhatsAppLink;
|
592
|
-
/** TPA link type */
|
593
|
-
tpaPage?: TpaPageLink;
|
594
|
-
}
|
595
|
-
/** @oneof */
|
596
|
-
interface WixLinkLinkOneOf {
|
597
|
-
/** External link type */
|
598
|
-
external?: ExternalLink;
|
599
|
-
/** Page link type */
|
600
|
-
page?: PageLink;
|
601
|
-
/** Anchor link type */
|
602
|
-
anchor?: AnchorLink;
|
603
|
-
/** Dynamic page link type */
|
604
|
-
dynamicPage?: DynamicPageLink;
|
605
|
-
/** Document link type */
|
606
|
-
document?: DocumentLink;
|
607
|
-
/** Email link type */
|
608
|
-
email?: EmailLink;
|
609
|
-
/** Phone link type */
|
610
|
-
phone?: PhoneLink;
|
611
|
-
/** Address link type */
|
612
|
-
address?: AddressLink;
|
613
|
-
/** WhatsApp link type */
|
614
|
-
whatsApp?: WhatsAppLink;
|
615
|
-
/** TPA link type */
|
616
|
-
tpaPage?: TpaPageLink;
|
617
|
-
}
|
618
|
-
interface ExternalLink {
|
619
|
-
/** The url of the page */
|
620
|
-
url?: string;
|
621
|
-
/** Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page. */
|
622
|
-
target?: string | null;
|
623
|
-
}
|
624
|
-
interface PageLink {
|
625
|
-
/** The page id we want from the site */
|
626
|
-
pageId?: string;
|
627
|
-
/** Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page. */
|
628
|
-
target?: string | null;
|
629
|
-
/** rel of link */
|
630
|
-
rel?: LinkRel[];
|
631
|
-
}
|
632
|
-
/**
|
633
|
-
* The 'rel' attribute of the link. The rel attribute defines the relationship between a linked resource and the current document.
|
634
|
-
* Further reading (also about different possible rel types): https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel
|
635
|
-
* Following are the accepted 'rel' types by Wix applications.
|
636
|
-
*/
|
637
|
-
declare enum LinkRel {
|
638
|
-
/** default (not implemented) */
|
639
|
-
unknown_link_rel = "unknown_link_rel",
|
640
|
-
/** Indicates that the current document's original author or publisher does not endorse the referenced document. */
|
641
|
-
nofollow = "nofollow",
|
642
|
-
/** Instructs the browser to navigate to the target resource without granting the new browsing context access to the document that opened it. */
|
643
|
-
noopener = "noopener",
|
644
|
-
/** No Referer header will be included. Additionally, has the same effect as noopener. */
|
645
|
-
noreferrer = "noreferrer",
|
646
|
-
/** Indicates a link that resulted from advertisements or paid placements. */
|
647
|
-
sponsored = "sponsored"
|
648
|
-
}
|
649
|
-
interface AnchorLink {
|
650
|
-
/** The name of the anchor */
|
651
|
-
anchorName?: string;
|
652
|
-
/** The data id (from the JSON page) of the anchor that should be used */
|
653
|
-
anchorDataId?: string;
|
654
|
-
/** The page id we want from the site */
|
655
|
-
pageId?: string;
|
656
|
-
/** rel of link */
|
657
|
-
rel?: LinkRel[];
|
658
|
-
}
|
659
|
-
interface DynamicPageLink {
|
660
|
-
/** The router that handles this link */
|
661
|
-
routerId?: string;
|
662
|
-
/** The path data we'd like */
|
663
|
-
innerRoute?: string;
|
664
|
-
/** The data id (from the JSON page) of the anchor that should be used */
|
665
|
-
anchorDataId?: string | null;
|
666
|
-
/** rel of link */
|
667
|
-
rel?: LinkRel[];
|
668
|
-
}
|
669
|
-
interface DocumentLink {
|
670
|
-
/** The id of the document */
|
671
|
-
docId?: string;
|
672
|
-
/** The name of the document for download purposes */
|
673
|
-
name?: string | null;
|
674
|
-
/** If this document can be indexed by scrapers, default is false */
|
675
|
-
indexable?: boolean;
|
676
|
-
}
|
677
|
-
interface EmailLink {
|
678
|
-
/** The email we will be sending a message to */
|
679
|
-
recipient?: string;
|
680
|
-
/** The subject of the email */
|
681
|
-
subject?: string | null;
|
682
|
-
/** The body of the email */
|
683
|
-
body?: string | null;
|
684
|
-
}
|
685
|
-
interface PhoneLink {
|
686
|
-
/** The phone number we want to link to */
|
687
|
-
phoneNumber?: string;
|
688
|
-
}
|
689
|
-
interface AddressLink {
|
690
|
-
/** An address that we can link to */
|
691
|
-
address?: string;
|
692
|
-
}
|
693
|
-
interface WhatsAppLink {
|
694
|
-
/** The whatsApp phone number we want to connect with */
|
695
|
-
phoneNumber?: string;
|
696
|
-
}
|
697
|
-
/** Link to a TPA page */
|
698
|
-
interface TpaPageLink {
|
699
|
-
/** Type of item (e.g. 'wix.stores.sub_pages.product') */
|
700
|
-
itemTypeIdentifier?: string;
|
701
|
-
/** Id of linked item */
|
702
|
-
itemId?: string;
|
703
|
-
/** Id of linked page */
|
704
|
-
pageId?: string;
|
705
|
-
/** Id of app being linked to (AppDefId) */
|
706
|
-
appDefinitionId?: string;
|
707
|
-
/** The relativepath of linked page */
|
708
|
-
path?: string;
|
709
|
-
/** rel of link */
|
710
|
-
rel?: LinkRel[];
|
711
|
-
}
|
712
|
-
declare enum Type {
|
713
|
-
UNDEFINED = "UNDEFINED",
|
714
|
-
IMAGE = "IMAGE",
|
715
|
-
VIDEO = "VIDEO",
|
716
|
-
TEXT = "TEXT"
|
717
|
-
}
|
718
|
-
interface Image {
|
719
|
-
/** The image's Wix media URL in the following format: `'wix:image://v1/<uri>/<filename>#originWidth=<width>&originHeight=<height>[&watermark=<watermark_manifest_string>]'`. */
|
720
|
-
imageInfo?: string;
|
721
|
-
/** Focal point of the image. */
|
722
|
-
focalPoint?: Point;
|
723
|
-
/** Set of key-value pairs describing the media in [Exchangeable Image File format](https://en.wikipedia.org/wiki/Exif). */
|
724
|
-
exif?: Record<string, any> | null;
|
725
|
-
/**
|
726
|
-
* Image compression level. <br />
|
727
|
-
*
|
728
|
-
* Min: `30` <br />
|
729
|
-
* Max: `100`
|
730
|
-
*/
|
731
|
-
quality?: number | null;
|
732
|
-
/** [Unsharp masking](https://en.wikipedia.org/wiki/Unsharp_masking) values of the image. */
|
733
|
-
unsharpMasking?: UnsharpMasking;
|
734
|
-
}
|
735
|
-
declare enum ImageType {
|
736
|
-
UNDEFINED = "UNDEFINED",
|
737
|
-
WIX_MEDIA = "WIX_MEDIA",
|
738
|
-
EXTERNAL = "EXTERNAL"
|
739
|
-
}
|
740
|
-
interface Point {
|
741
|
-
/** X-coordinate of the focal point. */
|
742
|
-
x?: number;
|
743
|
-
/** Y-coordinate of the focal point. */
|
744
|
-
y?: number;
|
745
|
-
}
|
746
|
-
interface UnsharpMasking {
|
747
|
-
/**
|
748
|
-
* Unsharp masking amount. Controls the sharpening strength. <br />
|
749
|
-
*
|
750
|
-
* Min: `0` <br />
|
751
|
-
* Max: `5`
|
752
|
-
*/
|
753
|
-
amount?: number | null;
|
754
|
-
/** Unsharp masking radius in pixels. Controls the sharpening width. */
|
755
|
-
radius?: number | null;
|
756
|
-
/**
|
757
|
-
* Unsharp masking threshold. Controls how different neighboring pixels must be for sharpening to apply. <br />
|
758
|
-
*
|
759
|
-
* Min: `0` <br />
|
760
|
-
* Max: `1`
|
761
|
-
*/
|
762
|
-
threshold?: number | null;
|
763
|
-
}
|
764
|
-
interface Video {
|
765
|
-
/** Type of video. */
|
766
|
-
type?: VideoType;
|
767
|
-
/**
|
768
|
-
* The video's URL. Either a Wix media URL, or a supported https external URL in the following formats:
|
769
|
-
*
|
770
|
-
* Wix Media: `'wix:video://v1/6e6ea4_461425d7e7db4d5487a28e00c5ba6244/9e6ea4_461425d7e7db4d5487a28e00c5ba6277#posterUri=9e6ea4_461425d7e7db4d5487a28e00c5ba6277f000.jpg&posterWidth=960&posterHeight=540'`
|
771
|
-
*
|
772
|
-
* Vimeo: `'https://vimeo.com/378840916'`
|
773
|
-
*
|
774
|
-
* Youtube: `'https://www.youtube.com/results?search_query=uplifting+upbeat+music'`
|
775
|
-
*/
|
776
|
-
videoInfo?: string;
|
777
|
-
/** Manually defined video duration in milliseconds. */
|
778
|
-
durationInMillis?: number | null;
|
779
|
-
}
|
780
|
-
declare enum VideoType {
|
781
|
-
UNDEFINED = "UNDEFINED",
|
782
|
-
WIX_MEDIA = "WIX_MEDIA",
|
783
|
-
YOUTUBE = "YOUTUBE",
|
784
|
-
VIMEO = "VIMEO"
|
785
|
-
}
|
786
|
-
interface VideoResolution {
|
787
|
-
/** *Required.** Video URL. */
|
788
|
-
url?: string;
|
789
|
-
/** *Required.** Video height. */
|
790
|
-
height?: number;
|
791
|
-
/** *Required.** Video width. */
|
792
|
-
width?: number;
|
793
|
-
/** *Required.** Video format. For example, `mp4` or `hls`. */
|
794
|
-
format?: string;
|
795
|
-
/** Video quality. For example, `480p` or `720p`. */
|
796
|
-
quality?: string | null;
|
797
|
-
/** Video filename. */
|
798
|
-
filename?: string | null;
|
799
|
-
}
|
800
|
-
interface Text {
|
801
|
-
/** Text in HTML format. */
|
802
|
-
html?: string | null;
|
803
|
-
/**
|
804
|
-
* Set of key-value pairs describing the [CSS style](https://en.wikipedia.org/wiki/CSS) of the text.
|
805
|
-
*
|
806
|
-
* __Note:__ The object structure is customizable. See the [`listGalleryItems()`](/pro-gallery/list-gallery-items) code example for supported values.
|
807
|
-
*/
|
808
|
-
css?: Record<string, any> | null;
|
809
|
-
/** Reserved for internal use. */
|
810
|
-
editorHtml?: string | null;
|
811
|
-
/** Reserved for internal use. */
|
812
|
-
editorFontId?: string | null;
|
813
|
-
}
|
814
|
-
interface Tags {
|
815
|
-
/** List of tags assigned to the media item. */
|
816
|
-
values?: string[];
|
817
|
-
}
|
818
|
-
interface SecondaryMedia extends SecondaryMediaMetadataOneOf {
|
819
|
-
/** secondary media photo metadata (optional) */
|
820
|
-
image?: Image;
|
821
|
-
/** secondary media text metadata (optional) */
|
822
|
-
text?: Text;
|
823
|
-
}
|
824
|
-
/** @oneof */
|
825
|
-
interface SecondaryMediaMetadataOneOf {
|
826
|
-
/** secondary media photo metadata (optional) */
|
827
|
-
image?: Image;
|
828
|
-
/** secondary media text metadata (optional) */
|
829
|
-
text?: Text;
|
830
|
-
}
|
831
|
-
interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
832
|
-
/** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
|
833
|
-
metaSiteId?: string;
|
834
|
-
/** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
|
835
|
-
siteId?: string;
|
836
|
-
/** Invalidate by App */
|
837
|
-
app?: App;
|
838
|
-
/** Invalidate by page id */
|
839
|
-
page?: Page;
|
840
|
-
/** Invalidate by URI path */
|
841
|
-
uri?: URI;
|
842
|
-
/** Invalidate by file (for media files such as PDFs) */
|
843
|
-
file?: File;
|
844
|
-
/** tell us why you're invalidating the cache. You don't need to add your app name */
|
845
|
-
reason?: string | null;
|
846
|
-
/** Is local DS */
|
847
|
-
localDc?: boolean;
|
848
|
-
hardPurge?: boolean;
|
849
|
-
}
|
850
|
-
/** @oneof */
|
851
|
-
interface InvalidateCacheGetByOneOf {
|
852
|
-
/** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
|
853
|
-
metaSiteId?: string;
|
854
|
-
/** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
|
855
|
-
siteId?: string;
|
856
|
-
/** Invalidate by App */
|
857
|
-
app?: App;
|
858
|
-
/** Invalidate by page id */
|
859
|
-
page?: Page;
|
860
|
-
/** Invalidate by URI path */
|
861
|
-
uri?: URI;
|
862
|
-
/** Invalidate by file (for media files such as PDFs) */
|
863
|
-
file?: File;
|
864
|
-
}
|
865
|
-
interface App {
|
866
|
-
/** The AppDefId */
|
867
|
-
appDefId?: string;
|
868
|
-
/** The instance Id */
|
869
|
-
instanceId?: string;
|
870
|
-
}
|
871
|
-
interface Page {
|
872
|
-
/** the msid the page is on */
|
873
|
-
metaSiteId?: string;
|
874
|
-
/** Invalidate by Page ID */
|
875
|
-
pageId?: string;
|
876
|
-
}
|
877
|
-
interface URI {
|
878
|
-
/** the msid the URI is on */
|
879
|
-
metaSiteId?: string;
|
880
|
-
/** URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes */
|
881
|
-
uriPath?: string;
|
882
|
-
}
|
883
|
-
interface File {
|
884
|
-
/** the msid the file is related to */
|
885
|
-
metaSiteId?: string;
|
886
|
-
/** Invalidate by filename (for media files such as PDFs) */
|
887
|
-
fileName?: string;
|
888
|
-
}
|
889
|
-
interface GalleryPublished {
|
890
|
-
/**
|
891
|
-
* id of the gallery that will be published
|
892
|
-
* @readonly
|
893
|
-
*/
|
894
|
-
galleryId?: string;
|
895
|
-
isRc?: boolean;
|
896
|
-
/** @readonly */
|
897
|
-
newRevision?: Date | null;
|
898
|
-
/** @readonly */
|
899
|
-
oldRevision?: Date | null;
|
900
|
-
}
|
901
|
-
interface CleanDeletedGalleriesEvent {
|
902
|
-
/** @readonly */
|
903
|
-
instanceId?: string;
|
904
|
-
/** @readonly */
|
905
|
-
metaSiteId?: string;
|
906
|
-
/** @readonly */
|
907
|
-
htmlSiteRevision?: string;
|
908
|
-
/** @readonly */
|
909
|
-
timeSitePublished?: Date | null;
|
910
|
-
}
|
911
|
-
interface ProgallerypublisherPublishGalleryRequest {
|
912
|
-
/** id of the gallery that will be published */
|
913
|
-
galleryId?: string;
|
914
|
-
}
|
915
|
-
interface ProgallerypublisherPublishGalleryResponse {
|
916
|
-
}
|
917
|
-
interface GetActiveGalleryRevisionRequest {
|
918
|
-
galleryId?: string;
|
919
|
-
}
|
920
|
-
interface GetActiveGalleryRevisionResponse {
|
921
|
-
galleryActiveRevision?: Date | null;
|
922
|
-
htmlSiteRevision?: string | null;
|
923
|
-
}
|
924
|
-
interface GetGalleryRevisionRequest {
|
925
|
-
galleryId?: string;
|
926
|
-
revision?: Date | null;
|
927
|
-
}
|
928
|
-
interface GetGalleryRevisionResponse {
|
929
|
-
htmlSiteRevision?: string | null;
|
930
|
-
instanceId?: string | null;
|
931
|
-
}
|
932
|
-
interface PublishGalleryItemRequest {
|
933
|
-
/** id of the gallery that will be published */
|
934
|
-
galleryId?: string;
|
935
|
-
/** id of the item that will be published */
|
936
|
-
itemId?: string;
|
937
|
-
}
|
938
|
-
interface PublishGalleryItemResponse {
|
939
|
-
}
|
940
|
-
interface PublishGalleryItemsRequest {
|
941
|
-
/** id of the gallery that will be published */
|
942
|
-
galleryId?: string;
|
943
|
-
/** ids of the items that will be published */
|
944
|
-
itemIds?: string[];
|
945
|
-
}
|
946
|
-
interface PublishGalleryItemsResponse {
|
947
|
-
}
|
948
|
-
interface Empty {
|
949
|
-
}
|
950
|
-
interface HtmlSitePublished {
|
951
|
-
/** Application instance ID */
|
952
|
-
appInstanceId?: string;
|
953
|
-
/** Application type */
|
954
|
-
appType?: string;
|
955
|
-
/** Revision */
|
956
|
-
revision?: string;
|
957
|
-
/** MSID */
|
958
|
-
metaSiteId?: string | null;
|
959
|
-
/** optional branch id if publish is done from branch */
|
960
|
-
branchId?: string | null;
|
961
|
-
/** The site's last transactionId */
|
962
|
-
lastTransactionId?: string | null;
|
963
|
-
/** A list of the site's pages */
|
964
|
-
pages?: EventsPage[];
|
965
|
-
/** Site's publish date */
|
966
|
-
publishDate?: string;
|
967
|
-
}
|
968
|
-
interface EventsPage {
|
969
|
-
/** Page's Id */
|
970
|
-
_id?: string;
|
971
|
-
}
|
972
|
-
interface HtmlSiteRCPublished {
|
973
|
-
/** Application instance ID */
|
974
|
-
appInstanceId?: string;
|
975
|
-
/** Revision */
|
976
|
-
revision?: string;
|
977
|
-
/** Optional branch Id */
|
978
|
-
branchId?: string | null;
|
979
|
-
/** Site's publish date */
|
980
|
-
publishDate?: string;
|
981
|
-
}
|
982
|
-
interface DomainEvent extends DomainEventBodyOneOf {
|
983
|
-
/** Information about a newly-created gallery. */
|
984
|
-
createdEvent?: EntityCreatedEvent;
|
985
|
-
updatedEvent?: EntityUpdatedEvent;
|
986
|
-
deletedEvent?: EntityDeletedEvent;
|
987
|
-
actionEvent?: ActionEvent;
|
988
|
-
/**
|
989
|
-
* Unique event ID.
|
990
|
-
* Allows clients to ignore duplicate webhooks.
|
991
|
-
*/
|
992
|
-
_id?: string;
|
993
|
-
/**
|
994
|
-
* Assumes actions are also always typed to an entity_type
|
995
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
996
|
-
*/
|
997
|
-
entityFqdn?: string;
|
998
|
-
/**
|
999
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
1000
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
1001
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
1002
|
-
*/
|
1003
|
-
slug?: string;
|
1004
|
-
/** ID of the entity associated with the event. */
|
1005
|
-
entityId?: string;
|
1006
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
1007
|
-
eventTime?: Date | null;
|
1008
|
-
/**
|
1009
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
1010
|
-
* (for example, GDPR).
|
1011
|
-
*/
|
1012
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
1013
|
-
/** If present, indicates the action that triggered the event. */
|
1014
|
-
originatedFrom?: string | null;
|
1015
|
-
/**
|
1016
|
-
* A sequence number defining the order of updates to the underlying entity.
|
1017
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
1018
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
1019
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
1020
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
1021
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
1022
|
-
*/
|
1023
|
-
entityEventSequence?: string | null;
|
1024
|
-
}
|
1025
|
-
/** @oneof */
|
1026
|
-
interface DomainEventBodyOneOf {
|
1027
|
-
createdEvent?: EntityCreatedEvent;
|
1028
|
-
updatedEvent?: EntityUpdatedEvent;
|
1029
|
-
deletedEvent?: EntityDeletedEvent;
|
1030
|
-
actionEvent?: ActionEvent;
|
1031
|
-
}
|
1032
|
-
interface EntityCreatedEvent {
|
1033
|
-
entity?: string;
|
1034
|
-
}
|
1035
|
-
interface RestoreInfo {
|
1036
|
-
deletedDate?: Date | null;
|
1037
|
-
}
|
1038
|
-
interface EntityUpdatedEvent {
|
1039
|
-
/**
|
1040
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
1041
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
1042
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
1043
|
-
*/
|
1044
|
-
currentEntity?: string;
|
1045
|
-
}
|
1046
|
-
interface EntityDeletedEvent {
|
1047
|
-
/** Entity that was deleted */
|
1048
|
-
deletedEntity?: string | null;
|
1049
|
-
}
|
1050
|
-
interface ActionEvent {
|
1051
|
-
body?: string;
|
1052
|
-
}
|
1053
|
-
interface MessageEnvelope {
|
1054
|
-
/** App instance ID. */
|
1055
|
-
instanceId?: string | null;
|
1056
|
-
/** Event type. */
|
1057
|
-
eventType?: string;
|
1058
|
-
/** The identification type and identity data. */
|
1059
|
-
identity?: IdentificationData;
|
1060
|
-
/** Stringify payload. */
|
1061
|
-
data?: string;
|
1062
|
-
}
|
1063
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
1064
|
-
/** ID of a site visitor that has not logged in to the site. */
|
1065
|
-
anonymousVisitorId?: string;
|
1066
|
-
/** ID of a site visitor that has logged in to the site. */
|
1067
|
-
memberId?: string;
|
1068
|
-
/** ID of a Wix user (site owner, contributor, etc.). */
|
1069
|
-
wixUserId?: string;
|
1070
|
-
/** ID of an app. */
|
1071
|
-
appId?: string;
|
1072
|
-
/** @readonly */
|
1073
|
-
identityType?: WebhookIdentityType;
|
1074
|
-
}
|
1075
|
-
/** @oneof */
|
1076
|
-
interface IdentificationDataIdOneOf {
|
1077
|
-
/** ID of a site visitor that has not logged in to the site. */
|
1078
|
-
anonymousVisitorId?: string;
|
1079
|
-
/** ID of a site visitor that has logged in to the site. */
|
1080
|
-
memberId?: string;
|
1081
|
-
/** ID of a Wix user (site owner, contributor, etc.). */
|
1082
|
-
wixUserId?: string;
|
1083
|
-
/** ID of an app. */
|
1084
|
-
appId?: string;
|
1085
|
-
}
|
1086
|
-
declare enum WebhookIdentityType {
|
1087
|
-
UNKNOWN = "UNKNOWN",
|
1088
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
1089
|
-
MEMBER = "MEMBER",
|
1090
|
-
WIX_USER = "WIX_USER",
|
1091
|
-
APP = "APP"
|
1092
|
-
}
|
1093
|
-
interface ListGalleriesItemsRequest {
|
1094
|
-
/** IDs of the media items to retrieve. */
|
1095
|
-
itemsId?: ItemId[];
|
1096
|
-
}
|
1097
|
-
interface ItemId {
|
1098
|
-
/** Gallery ID. */
|
1099
|
-
galleryId?: string;
|
1100
|
-
/** Item ID. */
|
1101
|
-
itemId?: string;
|
1102
|
-
}
|
1103
|
-
interface ListGalleriesItemsResponse {
|
1104
|
-
/** Retrieved media items. */
|
1105
|
-
itemsInGalleries?: ItemsInGallery[];
|
1106
|
-
}
|
1107
|
-
interface ItemsInGallery {
|
1108
|
-
/** Gallery ID. */
|
1109
|
-
galleryId?: string;
|
1110
|
-
/** Retrieved media items. */
|
1111
|
-
items?: Item[];
|
1112
|
-
}
|
1113
|
-
interface GalleryItemCreated {
|
1114
|
-
/** Created gallery item. */
|
1115
|
-
item?: Item;
|
1116
|
-
}
|
1117
|
-
interface GalleryItemUpdated {
|
1118
|
-
/** Updated gallery item. */
|
1119
|
-
updatedItem?: Item;
|
1120
|
-
}
|
1121
|
-
interface GalleryItemDeleted {
|
1122
|
-
/** ID of the deleted gallery item. */
|
1123
|
-
itemId?: string;
|
1124
|
-
}
|
1125
|
-
interface ListGalleriesRequest {
|
1126
|
-
/** Number of galleries to list. Defaults to `10`. */
|
1127
|
-
itemLimit?: number | null;
|
1128
|
-
/** Number of galleries to skip in the returns. Defaults to `0`. */
|
1129
|
-
offset?: number | null;
|
1130
|
-
/** Number of galleries to list. Defaults to `10`. */
|
1131
|
-
limit?: number | null;
|
1132
|
-
}
|
1133
|
-
declare enum State {
|
1134
|
-
/** Undefined state. */
|
1135
|
-
UNDEFINED = "UNDEFINED",
|
1136
|
-
/** The gallery in the Editor. */
|
1137
|
-
SAVED = "SAVED",
|
1138
|
-
/** The gallery in the LiveSite. */
|
1139
|
-
PUBLISHED = "PUBLISHED"
|
1140
|
-
}
|
1141
|
-
interface ListGalleriesResponse {
|
1142
|
-
/** Total number of galleries in the site. */
|
1143
|
-
totalGalleries?: number | null;
|
1144
|
-
/** List of galleries. Sorted by `_createdDate`. */
|
1145
|
-
galleries?: Gallery[];
|
1146
|
-
}
|
1147
|
-
interface GetGalleryRequest extends GetGalleryRequestVersionOneOf {
|
1148
|
-
/** Gallery ID. */
|
1149
|
-
galleryId: string;
|
1150
|
-
/** Number of media items to skip in the returns. Defaults to `0`. */
|
1151
|
-
itemOffset?: number | null;
|
1152
|
-
/**
|
1153
|
-
* Maximum number of media items to return. <br />
|
1154
|
-
*
|
1155
|
-
* Min: `1` <br />
|
1156
|
-
* Max: `100` <br />
|
1157
|
-
* Default: `50`
|
1158
|
-
*/
|
1159
|
-
itemLimit?: number | null;
|
1160
|
-
}
|
1161
|
-
/** @oneof */
|
1162
|
-
interface GetGalleryRequestVersionOneOf {
|
1163
|
-
}
|
1164
|
-
interface GetGalleryResponse {
|
1165
|
-
/** Returned gallery. */
|
1166
|
-
gallery?: Gallery;
|
1167
|
-
}
|
1168
|
-
interface ListGalleryItemsRequest {
|
1169
|
-
/** Gallery ID. */
|
1170
|
-
galleryId: string;
|
1171
|
-
/** Number of media items to skip in the returns. Defaults to `0`. */
|
1172
|
-
itemOffset?: number | null;
|
1173
|
-
/**
|
1174
|
-
* Maximum number of media items to return. <br />
|
1175
|
-
*
|
1176
|
-
* Min: `1` <br />
|
1177
|
-
* Max: `100` <br />
|
1178
|
-
* Default: `50`
|
1179
|
-
*/
|
1180
|
-
itemLimit?: number | null;
|
1181
|
-
}
|
1182
|
-
interface ListGalleryItemsResponse {
|
1183
|
-
/** List of media items in the gallery. */
|
1184
|
-
items?: Item[];
|
1185
|
-
}
|
1186
|
-
interface GetGalleryItemRequest {
|
1187
|
-
/** Gallery ID. */
|
1188
|
-
galleryId: string;
|
1189
|
-
/** Item ID. */
|
1190
|
-
itemId: string;
|
1191
|
-
}
|
1192
|
-
interface GetGalleryItemResponse {
|
1193
|
-
/** Returned media item. */
|
1194
|
-
item?: Item;
|
1195
|
-
}
|
1196
|
-
interface CreateGalleryRequest {
|
1197
|
-
/** Gallery to create. */
|
1198
|
-
gallery?: Gallery;
|
1199
|
-
/** Gallery ID to clone from. */
|
1200
|
-
cloneFromGalleryId?: string | null;
|
1201
|
-
}
|
1202
|
-
interface CreateGalleryResponse {
|
1203
|
-
/** Created gallery. */
|
1204
|
-
gallery?: Gallery;
|
1205
|
-
}
|
1206
|
-
interface UpdateGalleryRequest {
|
1207
|
-
/** Gallery to update. */
|
1208
|
-
gallery: Gallery;
|
1209
|
-
}
|
1210
|
-
interface UpdateGalleryResponse {
|
1211
|
-
/** Updated gallery. */
|
1212
|
-
gallery?: Gallery;
|
1213
|
-
}
|
1214
|
-
interface DeleteGalleryRequest {
|
1215
|
-
/** ID of the gallery to delete. */
|
1216
|
-
galleryId: string;
|
1217
|
-
}
|
1218
|
-
interface DeleteGalleryResponse {
|
1219
|
-
/**
|
1220
|
-
* ID of the deleted gallery.
|
1221
|
-
* @readonly
|
1222
|
-
*/
|
1223
|
-
galleryId?: string;
|
1224
|
-
}
|
1225
|
-
interface DeleteGalleryItemsRequest {
|
1226
|
-
/** Gallery ID. */
|
1227
|
-
galleryId: string;
|
1228
|
-
/** ID of the media item to delete. */
|
1229
|
-
itemsIds?: string[];
|
1230
|
-
}
|
1231
|
-
interface DeleteGalleryItemsResponse {
|
1232
|
-
/** Gallery that previously included the deleted media item. */
|
1233
|
-
gallery?: Gallery;
|
1234
|
-
}
|
1235
|
-
interface BulkDeleteGalleryItemsRequest {
|
1236
|
-
/** Gallery ID. */
|
1237
|
-
galleryId: string;
|
1238
|
-
/** IDs of the media items to delete. */
|
1239
|
-
itemIds: string[];
|
1240
|
-
}
|
1241
|
-
interface BulkDeleteGalleryItemsResponse {
|
1242
|
-
/**
|
1243
|
-
* IDs of the deleted media items.
|
1244
|
-
* @readonly
|
1245
|
-
*/
|
1246
|
-
itemIds?: string[];
|
1247
|
-
}
|
1248
|
-
interface CreateGalleryItemRequest {
|
1249
|
-
/** Gallery ID. */
|
1250
|
-
galleryId: string;
|
1251
|
-
/** Media item to create. */
|
1252
|
-
item: Item;
|
1253
|
-
}
|
1254
|
-
interface CreateGalleryItemResponse {
|
1255
|
-
/** Created media item. */
|
1256
|
-
item?: Item;
|
1257
|
-
}
|
1258
|
-
interface CreateGalleryItemsRequest {
|
1259
|
-
/** Gallery ID. */
|
1260
|
-
galleryId?: string;
|
1261
|
-
/** Media items to create. */
|
1262
|
-
items?: Item[];
|
1263
|
-
}
|
1264
|
-
interface CreateGalleryItemsResponse {
|
1265
|
-
/** Created media items. */
|
1266
|
-
items?: Item[];
|
1267
|
-
}
|
1268
|
-
interface UpdateGalleryItemRequest {
|
1269
|
-
/** Gallery ID. */
|
1270
|
-
galleryId: string;
|
1271
|
-
/** The information for the media item being updated. */
|
1272
|
-
item: Item;
|
1273
|
-
}
|
1274
|
-
interface UpdateGalleryItemResponse {
|
1275
|
-
/** Updated media item. */
|
1276
|
-
item?: Item;
|
1277
|
-
}
|
1278
|
-
interface DeleteGalleryItemRequest {
|
1279
|
-
/** Gallery ID. */
|
1280
|
-
galleryId: string;
|
1281
|
-
/** ID of the media item to delete. */
|
1282
|
-
itemId: string;
|
1283
|
-
}
|
1284
|
-
interface DeleteGalleryItemResponse {
|
1285
|
-
/**
|
1286
|
-
* ID of the deleted media item.
|
1287
|
-
* @readonly
|
1288
|
-
*/
|
1289
|
-
itemId?: string;
|
1290
|
-
}
|
1291
|
-
interface PublishGalleryRequest {
|
1292
|
-
/** ID of the gallery to publish. */
|
1293
|
-
galleryId?: string;
|
1294
|
-
}
|
1295
|
-
interface PublishGalleryResponse {
|
1296
|
-
/** Published gallery. */
|
1297
|
-
gallery?: Gallery;
|
1298
|
-
}
|
1299
|
-
interface UpdateDocumentsEvent extends UpdateDocumentsEventOperationOneOf {
|
1300
|
-
/** insert/update documents */
|
1301
|
-
update?: DocumentUpdateOperation;
|
1302
|
-
/** delete by document ids */
|
1303
|
-
deleteByIds?: DeleteByIdsOperation;
|
1304
|
-
/** delete documents matching filter */
|
1305
|
-
deleteByFilter?: DeleteByFilterOperation;
|
1306
|
-
/** update documents matching filter */
|
1307
|
-
updateByFilter?: UpdateByFilterOperation;
|
1308
|
-
/** update only existing documents */
|
1309
|
-
updateExisting?: UpdateExistingOperation;
|
1310
|
-
/** application which owns documents */
|
1311
|
-
appDefId?: string | null;
|
1312
|
-
/** type of the documents */
|
1313
|
-
documentType?: string | null;
|
1314
|
-
/** language of the documents */
|
1315
|
-
language?: string | null;
|
1316
|
-
/** site documents belong to */
|
1317
|
-
msId?: string | null;
|
1318
|
-
}
|
1319
|
-
/** @oneof */
|
1320
|
-
interface UpdateDocumentsEventOperationOneOf {
|
1321
|
-
/** insert/update documents */
|
1322
|
-
update?: DocumentUpdateOperation;
|
1323
|
-
/** delete by document ids */
|
1324
|
-
deleteByIds?: DeleteByIdsOperation;
|
1325
|
-
/** delete documents matching filter */
|
1326
|
-
deleteByFilter?: DeleteByFilterOperation;
|
1327
|
-
/** update documents matching filter */
|
1328
|
-
updateByFilter?: UpdateByFilterOperation;
|
1329
|
-
/** update only existing documents */
|
1330
|
-
updateExisting?: UpdateExistingOperation;
|
1331
|
-
}
|
1332
|
-
interface DocumentUpdateOperation {
|
1333
|
-
/** documents to index or update */
|
1334
|
-
documents?: IndexDocument[];
|
1335
|
-
}
|
1336
|
-
interface IndexDocument {
|
1337
|
-
/** data bag with non-searchable fields (url, image) */
|
1338
|
-
payload?: DocumentPayload;
|
1339
|
-
/** what type of users should documents be visible to */
|
1340
|
-
exposure?: Enum;
|
1341
|
-
/** document with mandatory fields (id, title, description) and with fields specific to the type of the document */
|
1342
|
-
document?: Record<string, any> | null;
|
1343
|
-
/** what member groups is the document exposed to. Used only with GROUP_PROTECTED exposure */
|
1344
|
-
permittedMemberGroups?: string[];
|
1345
|
-
/** if true SEO is disabled for this document */
|
1346
|
-
seoHidden?: boolean | null;
|
1347
|
-
/** if true the page is a lightbox popup */
|
1348
|
-
isPopup?: boolean | null;
|
1349
|
-
}
|
1350
|
-
interface DocumentPayload {
|
1351
|
-
/** url of the page representing the document */
|
1352
|
-
url?: string | null;
|
1353
|
-
/** image which represents the document */
|
1354
|
-
documentImage?: DocumentImage;
|
1355
|
-
}
|
1356
|
-
interface DocumentImage {
|
1357
|
-
/** the name of the image */
|
1358
|
-
name?: string;
|
1359
|
-
/** the width of the image */
|
1360
|
-
width?: number;
|
1361
|
-
/** the height of the image */
|
1362
|
-
height?: number;
|
1363
|
-
}
|
1364
|
-
declare enum Enum {
|
1365
|
-
/** Default value. Means that permission not set */
|
1366
|
-
UNKNOWN = "UNKNOWN",
|
1367
|
-
/** Protected exposure. Exposed to members and owners */
|
1368
|
-
PROTECTED = "PROTECTED",
|
1369
|
-
/** Private exposure. Exposed to owners */
|
1370
|
-
PRIVATE = "PRIVATE",
|
1371
|
-
/** Public exposure. Visible to everyone */
|
1372
|
-
PUBLIC = "PUBLIC",
|
1373
|
-
/** Used for partial updates, to state that exposure is not changing */
|
1374
|
-
UNCHANGED = "UNCHANGED",
|
1375
|
-
/** Protected to members of permitted groups and owners */
|
1376
|
-
GROUP_PROTECTED = "GROUP_PROTECTED"
|
1377
|
-
}
|
1378
|
-
interface DeleteByIdsOperation {
|
1379
|
-
/** ids of the documents to delete */
|
1380
|
-
documentIds?: string[];
|
1381
|
-
}
|
1382
|
-
interface DeleteByFilterOperation {
|
1383
|
-
/** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */
|
1384
|
-
filter?: Record<string, any> | null;
|
1385
|
-
}
|
1386
|
-
interface UpdateByFilterOperation {
|
1387
|
-
/** documents matching this filter will be updated */
|
1388
|
-
filter?: Record<string, any> | null;
|
1389
|
-
/** partial document to apply */
|
1390
|
-
document?: IndexDocument;
|
1391
|
-
}
|
1392
|
-
interface UpdateExistingOperation {
|
1393
|
-
/** documents to update */
|
1394
|
-
documents?: IndexDocument[];
|
1395
|
-
}
|
1396
|
-
interface SearchIndexingNotification {
|
1397
|
-
/** new state of indexing for the site specified in ms_id */
|
1398
|
-
indexState?: SearchIndexingNotificationState;
|
1399
|
-
/** type of the document the notification is targeted for. Applies to all types if not provided */
|
1400
|
-
documentType?: string | null;
|
1401
|
-
/** languaInternalDocumentUpdateByFilterOperationge the notification is targeted for. Applies to all languages if not provided */
|
1402
|
-
language?: string | null;
|
1403
|
-
/** site for which notification is targeted */
|
1404
|
-
msId?: string | null;
|
1405
|
-
}
|
1406
|
-
declare enum SearchIndexingNotificationState {
|
1407
|
-
/** default state */
|
1408
|
-
Unknown = "Unknown",
|
1409
|
-
/** metasite does not require site search indexing */
|
1410
|
-
Off = "Off",
|
1411
|
-
/** metasite requires site search indexing */
|
1412
|
-
On = "On"
|
1413
|
-
}
|
1414
|
-
interface PointNonNullableFields {
|
1415
|
-
x: number;
|
1416
|
-
y: number;
|
1417
|
-
}
|
1418
|
-
interface ImageNonNullableFields {
|
1419
|
-
type: ImageType;
|
1420
|
-
imageInfo: string;
|
1421
|
-
focalPoint?: PointNonNullableFields;
|
1422
|
-
}
|
1423
|
-
interface VideoNonNullableFields {
|
1424
|
-
type: VideoType;
|
1425
|
-
videoInfo: string;
|
1426
|
-
}
|
1427
|
-
interface ExternalLinkNonNullableFields {
|
1428
|
-
url: string;
|
1429
|
-
}
|
1430
|
-
interface PageLinkNonNullableFields {
|
1431
|
-
pageId: string;
|
1432
|
-
rel: LinkRel[];
|
1433
|
-
}
|
1434
|
-
interface AnchorLinkNonNullableFields {
|
1435
|
-
anchorName: string;
|
1436
|
-
anchorDataId: string;
|
1437
|
-
pageId: string;
|
1438
|
-
rel: LinkRel[];
|
1439
|
-
}
|
1440
|
-
interface DynamicPageLinkNonNullableFields {
|
1441
|
-
routerId: string;
|
1442
|
-
innerRoute: string;
|
1443
|
-
rel: LinkRel[];
|
1444
|
-
}
|
1445
|
-
interface DocumentLinkNonNullableFields {
|
1446
|
-
docId: string;
|
1447
|
-
indexable: boolean;
|
1448
|
-
}
|
1449
|
-
interface EmailLinkNonNullableFields {
|
1450
|
-
recipient: string;
|
1451
|
-
}
|
1452
|
-
interface PhoneLinkNonNullableFields {
|
1453
|
-
phoneNumber: string;
|
1454
|
-
}
|
1455
|
-
interface AddressLinkNonNullableFields {
|
1456
|
-
address: string;
|
1457
|
-
}
|
1458
|
-
interface WhatsAppLinkNonNullableFields {
|
1459
|
-
phoneNumber: string;
|
1460
|
-
}
|
1461
|
-
interface TpaPageLinkNonNullableFields {
|
1462
|
-
itemTypeIdentifier: string;
|
1463
|
-
itemId: string;
|
1464
|
-
pageId: string;
|
1465
|
-
appDefinitionId: string;
|
1466
|
-
path: string;
|
1467
|
-
rel: LinkRel[];
|
1468
|
-
}
|
1469
|
-
interface WixLinkNonNullableFields {
|
1470
|
-
external?: ExternalLinkNonNullableFields;
|
1471
|
-
page?: PageLinkNonNullableFields;
|
1472
|
-
anchor?: AnchorLinkNonNullableFields;
|
1473
|
-
dynamicPage?: DynamicPageLinkNonNullableFields;
|
1474
|
-
document?: DocumentLinkNonNullableFields;
|
1475
|
-
email?: EmailLinkNonNullableFields;
|
1476
|
-
phone?: PhoneLinkNonNullableFields;
|
1477
|
-
address?: AddressLinkNonNullableFields;
|
1478
|
-
whatsApp?: WhatsAppLinkNonNullableFields;
|
1479
|
-
tpaPage?: TpaPageLinkNonNullableFields;
|
1480
|
-
}
|
1481
|
-
interface LinkNonNullableFields {
|
1482
|
-
type: LinkType;
|
1483
|
-
wixLinkData?: WixLinkNonNullableFields;
|
1484
|
-
}
|
1485
|
-
interface TagsNonNullableFields {
|
1486
|
-
values: string[];
|
1487
|
-
}
|
1488
|
-
interface SecondaryMediaNonNullableFields {
|
1489
|
-
image?: ImageNonNullableFields;
|
1490
|
-
}
|
1491
|
-
interface ItemNonNullableFields {
|
1492
|
-
image?: ImageNonNullableFields;
|
1493
|
-
video?: VideoNonNullableFields;
|
1494
|
-
link?: LinkNonNullableFields;
|
1495
|
-
type: Type;
|
1496
|
-
tags?: TagsNonNullableFields;
|
1497
|
-
secondaryMedia?: SecondaryMediaNonNullableFields;
|
1498
|
-
}
|
1499
|
-
interface GalleryNonNullableFields {
|
1500
|
-
items: ItemNonNullableFields[];
|
1501
|
-
}
|
1502
|
-
interface ListGalleriesResponseNonNullableFields {
|
1503
|
-
galleries: GalleryNonNullableFields[];
|
1504
|
-
}
|
1505
|
-
interface GetGalleryResponseNonNullableFields {
|
1506
|
-
gallery?: GalleryNonNullableFields;
|
1507
|
-
}
|
1508
|
-
interface ListGalleryItemsResponseNonNullableFields {
|
1509
|
-
items: ItemNonNullableFields[];
|
1510
|
-
}
|
1511
|
-
interface GetGalleryItemResponseNonNullableFields {
|
1512
|
-
item?: ItemNonNullableFields;
|
1513
|
-
}
|
1514
|
-
interface CreateGalleryResponseNonNullableFields {
|
1515
|
-
gallery?: GalleryNonNullableFields;
|
1516
|
-
}
|
1517
|
-
interface UpdateGalleryResponseNonNullableFields {
|
1518
|
-
gallery?: GalleryNonNullableFields;
|
1519
|
-
}
|
1520
|
-
interface DeleteGalleryResponseNonNullableFields {
|
1521
|
-
galleryId: string;
|
1522
|
-
}
|
1523
|
-
interface DeleteGalleryItemsResponseNonNullableFields {
|
1524
|
-
gallery?: GalleryNonNullableFields;
|
1525
|
-
}
|
1526
|
-
interface BulkDeleteGalleryItemsResponseNonNullableFields {
|
1527
|
-
itemIds: string[];
|
1528
|
-
}
|
1529
|
-
interface CreateGalleryItemResponseNonNullableFields {
|
1530
|
-
item?: ItemNonNullableFields;
|
1531
|
-
}
|
1532
|
-
interface UpdateGalleryItemResponseNonNullableFields {
|
1533
|
-
item?: ItemNonNullableFields;
|
1534
|
-
}
|
1535
|
-
interface DeleteGalleryItemResponseNonNullableFields {
|
1536
|
-
itemId: string;
|
1537
|
-
}
|
1538
|
-
interface BaseEventMetadata {
|
1539
|
-
/** App instance ID. */
|
1540
|
-
instanceId?: string | null;
|
1541
|
-
/** Event type. */
|
1542
|
-
eventType?: string;
|
1543
|
-
/** The identification type and identity data. */
|
1544
|
-
identity?: IdentificationData;
|
1545
|
-
}
|
1546
|
-
interface EventMetadata extends BaseEventMetadata {
|
1547
|
-
/**
|
1548
|
-
* Unique event ID.
|
1549
|
-
* Allows clients to ignore duplicate webhooks.
|
1550
|
-
*/
|
1551
|
-
_id?: string;
|
1552
|
-
/**
|
1553
|
-
* Assumes actions are also always typed to an entity_type
|
1554
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
1555
|
-
*/
|
1556
|
-
entityFqdn?: string;
|
1557
|
-
/**
|
1558
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
1559
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
1560
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
1561
|
-
*/
|
1562
|
-
slug?: string;
|
1563
|
-
/** ID of the entity associated with the event. */
|
1564
|
-
entityId?: string;
|
1565
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
1566
|
-
eventTime?: Date | null;
|
1567
|
-
/**
|
1568
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
1569
|
-
* (for example, GDPR).
|
1570
|
-
*/
|
1571
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
1572
|
-
/** If present, indicates the action that triggered the event. */
|
1573
|
-
originatedFrom?: string | null;
|
1574
|
-
/**
|
1575
|
-
* A sequence number defining the order of updates to the underlying entity.
|
1576
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
1577
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
1578
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
1579
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
1580
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
1581
|
-
*/
|
1582
|
-
entityEventSequence?: string | null;
|
1583
|
-
}
|
1584
|
-
interface GalleryCreatedEnvelope {
|
1585
|
-
entity: Gallery;
|
1586
|
-
metadata: EventMetadata;
|
1587
|
-
}
|
1588
|
-
interface GalleryDeletedEnvelope {
|
1589
|
-
metadata: EventMetadata;
|
1590
|
-
}
|
1591
|
-
interface GalleryItemCreatedEnvelope {
|
1592
|
-
data: GalleryItemCreated;
|
1593
|
-
metadata: EventMetadata;
|
1594
|
-
}
|
1595
|
-
interface GalleryItemDeletedEnvelope {
|
1596
|
-
data: GalleryItemDeleted;
|
1597
|
-
metadata: EventMetadata;
|
1598
|
-
}
|
1599
|
-
interface GalleryItemUpdatedEnvelope {
|
1600
|
-
data: GalleryItemUpdated;
|
1601
|
-
metadata: EventMetadata;
|
1602
|
-
}
|
1603
|
-
interface GalleryUpdatedEnvelope {
|
1604
|
-
entity: Gallery;
|
1605
|
-
metadata: EventMetadata;
|
1606
|
-
}
|
1607
|
-
interface ListGalleriesOptions {
|
1608
|
-
/** Number of galleries to list. Defaults to `10`. */
|
1609
|
-
itemLimit?: number | null;
|
1610
|
-
/** Number of galleries to skip in the returns. Defaults to `0`. */
|
1611
|
-
offset?: number | null;
|
1612
|
-
/** Number of galleries to list. Defaults to `10`. */
|
1613
|
-
limit?: number | null;
|
1614
|
-
}
|
1615
|
-
interface GetGalleryOptions extends GetGalleryRequestVersionOneOf {
|
1616
|
-
/** Number of media items to skip in the returns. Defaults to `0`. */
|
1617
|
-
itemOffset?: number | null;
|
1618
|
-
/**
|
1619
|
-
* Maximum number of media items to return. <br />
|
1620
|
-
*
|
1621
|
-
* Min: `1` <br />
|
1622
|
-
* Max: `100` <br />
|
1623
|
-
* Default: `50`
|
1624
|
-
*/
|
1625
|
-
itemLimit?: number | null;
|
1626
|
-
}
|
1627
|
-
interface ListGalleryItemsOptions {
|
1628
|
-
/** Number of media items to skip in the returns. Defaults to `0`. */
|
1629
|
-
itemOffset?: number | null;
|
1630
|
-
/**
|
1631
|
-
* Maximum number of media items to return. <br />
|
1632
|
-
*
|
1633
|
-
* Min: `1` <br />
|
1634
|
-
* Max: `100` <br />
|
1635
|
-
* Default: `50`
|
1636
|
-
*/
|
1637
|
-
itemLimit?: number | null;
|
1638
|
-
}
|
1639
|
-
interface GetGalleryItemIdentifiers {
|
1640
|
-
/** Gallery ID. */
|
1641
|
-
galleryId: string;
|
1642
|
-
/** Item ID. */
|
1643
|
-
itemId: string;
|
1644
|
-
}
|
1645
|
-
interface CreateGalleryOptions {
|
1646
|
-
/** Gallery to create. */
|
1647
|
-
gallery?: Gallery;
|
1648
|
-
/** Gallery ID to clone from. */
|
1649
|
-
cloneFromGalleryId?: string | null;
|
1650
|
-
}
|
1651
|
-
interface UpdateGallery {
|
1652
|
-
/**
|
1653
|
-
* Gallery ID.
|
1654
|
-
* @readonly
|
1655
|
-
*/
|
1656
|
-
_id?: string | null;
|
1657
|
-
/** Gallery name. */
|
1658
|
-
name?: string | null;
|
1659
|
-
/**
|
1660
|
-
* Total number of items in the gallery.
|
1661
|
-
* @readonly
|
1662
|
-
*/
|
1663
|
-
totalItems?: number | null;
|
1664
|
-
/** Media items in the gallery. */
|
1665
|
-
items?: Item[];
|
1666
|
-
/**
|
1667
|
-
* Index that determines which position a gallery is displayed on the site. <br />
|
1668
|
-
*
|
1669
|
-
* >**Note:** If you assign the same sort order index to more than one gallery, the function fails.
|
1670
|
-
*/
|
1671
|
-
sortOrder?: number | null;
|
1672
|
-
/**
|
1673
|
-
* Date and time the gallery was created.
|
1674
|
-
* @readonly
|
1675
|
-
*/
|
1676
|
-
_createdDate?: Date | null;
|
1677
|
-
}
|
1678
|
-
interface DeleteGalleryItemsOptions {
|
1679
|
-
/** ID of the media item to delete. */
|
1680
|
-
itemsIds?: string[];
|
1681
|
-
}
|
1682
|
-
interface UpdateGalleryItemIdentifiers {
|
1683
|
-
/** ID of the gallery containing the item to update. */
|
1684
|
-
galleryId: string;
|
1685
|
-
/**
|
1686
|
-
* ID of the item to update.
|
1687
|
-
* @readonly
|
1688
|
-
*/
|
1689
|
-
itemId?: string | null;
|
1690
|
-
}
|
1691
|
-
interface UpdateGalleryItem {
|
1692
|
-
/** Details about the image. */
|
1693
|
-
image?: Image;
|
1694
|
-
/** Details about the video. */
|
1695
|
-
video?: Video;
|
1696
|
-
/** Details about the text file. */
|
1697
|
-
text?: Text;
|
1698
|
-
/**
|
1699
|
-
* Item ID.
|
1700
|
-
* @readonly
|
1701
|
-
*/
|
1702
|
-
_id?: string | null;
|
1703
|
-
/**
|
1704
|
-
* Index that determines which position a media item is displayed in the gallery. <br />
|
1705
|
-
*
|
1706
|
-
* Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
|
1707
|
-
*
|
1708
|
-
* >**Note:** If you assign the same sort order index to more than one media item in a gallery, the function fails.
|
1709
|
-
*/
|
1710
|
-
sortOrder?: number | null;
|
1711
|
-
/** Item title. */
|
1712
|
-
title?: string | null;
|
1713
|
-
/** Item description. */
|
1714
|
-
description?: string | null;
|
1715
|
-
/** Link from the item. You can link to Wix sites or external URLs. */
|
1716
|
-
link?: Link;
|
1717
|
-
/**
|
1718
|
-
* Type of item.
|
1719
|
-
* @readonly
|
1720
|
-
*/
|
1721
|
-
type?: Type;
|
1722
|
-
/**
|
1723
|
-
* Date and time the item was created.
|
1724
|
-
* @readonly
|
1725
|
-
*/
|
1726
|
-
_createdDate?: Date | null;
|
1727
|
-
/**
|
1728
|
-
* Date and time the item was last updated.
|
1729
|
-
* @readonly
|
1730
|
-
*/
|
1731
|
-
_updatedDate?: Date | null;
|
1732
|
-
/** Item tags. */
|
1733
|
-
tags?: Tags;
|
1734
|
-
}
|
1735
|
-
interface DeleteGalleryItemIdentifiers {
|
1736
|
-
/** Gallery ID. */
|
1737
|
-
galleryId: string;
|
1738
|
-
/** ID of the media item to delete. */
|
1739
|
-
itemId: string;
|
1740
|
-
}
|
1741
|
-
|
1742
|
-
declare function listGalleries$1(httpClient: HttpClient): ListGalleriesSignature;
|
1743
|
-
interface ListGalleriesSignature {
|
1744
|
-
/**
|
1745
|
-
* Retrieves a list of galleries.
|
1746
|
-
*
|
1747
|
-
* This function retrieves a list of up to 10 galleries at a given time. To list the next 10 galleries in your site's backend, use the `offset` parameter.
|
1748
|
-
* @param - Options to use when getting the list of galleries.
|
1749
|
-
*/
|
1750
|
-
(options?: ListGalleriesOptions | undefined): Promise<ListGalleriesResponse & ListGalleriesResponseNonNullableFields>;
|
1751
|
-
}
|
1752
|
-
declare function getGallery$1(httpClient: HttpClient): GetGallerySignature;
|
1753
|
-
interface GetGallerySignature {
|
1754
|
-
/**
|
1755
|
-
* Retrieves a gallery by ID.
|
1756
|
-
* @param - Gallery ID.
|
1757
|
-
* @param - Options to use when getting the gallery.
|
1758
|
-
* @returns Returned gallery.
|
1759
|
-
*/
|
1760
|
-
(galleryId: string, options?: GetGalleryOptions | undefined): Promise<Gallery & GalleryNonNullableFields>;
|
1761
|
-
}
|
1762
|
-
declare function listGalleryItems$1(httpClient: HttpClient): ListGalleryItemsSignature;
|
1763
|
-
interface ListGalleryItemsSignature {
|
1764
|
-
/**
|
1765
|
-
* Retrieves a list of media items in a specified gallery.
|
1766
|
-
*
|
1767
|
-
* This function retrieves a list of up to 100 gallery items. The gallery items are listed by `sortOrder` in descending order.
|
1768
|
-
* @param - Gallery ID.
|
1769
|
-
* @param - Options to use when getting the list of gallery items.
|
1770
|
-
*/
|
1771
|
-
(galleryId: string, options?: ListGalleryItemsOptions | undefined): Promise<ListGalleryItemsResponse & ListGalleryItemsResponseNonNullableFields>;
|
1772
|
-
}
|
1773
|
-
declare function getGalleryItem$1(httpClient: HttpClient): GetGalleryItemSignature;
|
1774
|
-
interface GetGalleryItemSignature {
|
1775
|
-
/**
|
1776
|
-
* Retrieves a gallery item by ID.
|
1777
|
-
* @param - Gallery ID and Item ID.
|
1778
|
-
* @returns Returned media item.
|
1779
|
-
*/
|
1780
|
-
(identifiers: GetGalleryItemIdentifiers): Promise<Item & ItemNonNullableFields>;
|
1781
|
-
}
|
1782
|
-
declare function createGallery$1(httpClient: HttpClient): CreateGallerySignature;
|
1783
|
-
interface CreateGallerySignature {
|
1784
|
-
/**
|
1785
|
-
* Creates a new gallery.
|
1786
|
-
*
|
1787
|
-
* You can create your own gallery by providing the gallery information, or clone an existing gallery using the ID of that existing gallery. When a gallery is cloned, the newly-created gallery includes the same properties as the existing gallery except for the gallery and item IDs, sort order, and created and updated dates.
|
1788
|
-
*
|
1789
|
-
* The newly-created gallery is only available on your backend, and doesn't appear on your live site. To display your backend gallery on your live site, you need to connect it to a gallery component on your live site. To do this, import the `createGallery()` function to your page code, and write code to convert the backend gallery object to the frontend gallery component object. Once converted, the newly created backend gallery is visible on your live site. For reference, check out the code example, "Create a gallery and display it on your live site". To learn more, see [Displaying a Pro Gallery on Your Site Using the Pro Gallery Backend API](https://support.wix.com/en/article/velo-tutorial-displaying-a-pro-gallery-on-your-site-using-the-pro-gallery-backend-api).
|
1790
|
-
*
|
1791
|
-
* <blockquote class="important">
|
1792
|
-
*
|
1793
|
-
* __Important:__
|
1794
|
-
* When creating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
|
1795
|
-
*
|
1796
|
-
* </blockquote>
|
1797
|
-
* @param - Options to use when creating the gallery.
|
1798
|
-
* @returns Created gallery.
|
1799
|
-
*/
|
1800
|
-
(options?: CreateGalleryOptions | undefined): Promise<Gallery & GalleryNonNullableFields>;
|
1801
|
-
}
|
1802
|
-
declare function updateGallery$1(httpClient: HttpClient): UpdateGallerySignature;
|
1803
|
-
interface UpdateGallerySignature {
|
1804
|
-
/**
|
1805
|
-
* Updates a gallery.
|
1806
|
-
*
|
1807
|
-
* Only the fields in the `gallery` object parameter can be updated. Specify which fields to update. Unspecified fields remain the same.
|
1808
|
-
*
|
1809
|
-
* <blockquote class="important">
|
1810
|
-
*
|
1811
|
-
* __Important:__
|
1812
|
-
* When updating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
|
1813
|
-
*
|
1814
|
-
* </blockquote>
|
1815
|
-
* @param - ID of the gallery to update.
|
1816
|
-
* @param - The information for the gallery being updated.
|
1817
|
-
* @returns Updated gallery.
|
1818
|
-
*/
|
1819
|
-
(_id: string | null, gallery: UpdateGallery): Promise<Gallery & GalleryNonNullableFields>;
|
1820
|
-
}
|
1821
|
-
declare function deleteGallery$1(httpClient: HttpClient): DeleteGallerySignature;
|
1822
|
-
interface DeleteGallerySignature {
|
1823
|
-
/**
|
1824
|
-
* Deletes a gallery.
|
1825
|
-
*
|
1826
|
-
* When a gallery is deleted, the deleted gallery is no longer returned when calling the [`listGalleries()`](/pro-gallery/list-galleries) function.
|
1827
|
-
* @param - ID of the gallery to delete.
|
1828
|
-
*/
|
1829
|
-
(galleryId: string): Promise<DeleteGalleryResponse & DeleteGalleryResponseNonNullableFields>;
|
1830
|
-
}
|
1831
|
-
declare function deleteGalleryItems$1(httpClient: HttpClient): DeleteGalleryItemsSignature;
|
1832
|
-
interface DeleteGalleryItemsSignature {
|
1833
|
-
/**
|
1834
|
-
* Deletes multiple media items from a gallery.
|
1835
|
-
* @param - Gallery ID.
|
1836
|
-
* @deprecated
|
1837
|
-
*/
|
1838
|
-
(galleryId: string, options?: DeleteGalleryItemsOptions | undefined): Promise<DeleteGalleryItemsResponse & DeleteGalleryItemsResponseNonNullableFields>;
|
1839
|
-
}
|
1840
|
-
declare function bulkDeleteGalleryItems$1(httpClient: HttpClient): BulkDeleteGalleryItemsSignature;
|
1841
|
-
interface BulkDeleteGalleryItemsSignature {
|
1842
|
-
/**
|
1843
|
-
* Deletes multiple media items from a gallery.
|
1844
|
-
* @param - Gallery ID.
|
1845
|
-
* @param - IDs of the media items to delete.
|
1846
|
-
*/
|
1847
|
-
(galleryId: string, itemIds: string[]): Promise<BulkDeleteGalleryItemsResponse & BulkDeleteGalleryItemsResponseNonNullableFields>;
|
1848
|
-
}
|
1849
|
-
declare function createGalleryItem$1(httpClient: HttpClient): CreateGalleryItemSignature;
|
1850
|
-
interface CreateGalleryItemSignature {
|
1851
|
-
/**
|
1852
|
-
* Creates a media item in a specified gallery.
|
1853
|
-
*
|
1854
|
-
* The `createGalleryItem()` function returns a Promise that resolves to a newly-created gallery item after it has successfully been created.
|
1855
|
-
*
|
1856
|
-
* <blockquote class="important">
|
1857
|
-
*
|
1858
|
-
* __Important:__
|
1859
|
-
* When creating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
|
1860
|
-
*
|
1861
|
-
* </blockquote>
|
1862
|
-
* @param - Gallery ID.
|
1863
|
-
* @param - Media item to create.
|
1864
|
-
* @returns Created media item.
|
1865
|
-
*/
|
1866
|
-
(galleryId: string, item: Item): Promise<Item & ItemNonNullableFields>;
|
1867
|
-
}
|
1868
|
-
declare function updateGalleryItem$1(httpClient: HttpClient): UpdateGalleryItemSignature;
|
1869
|
-
interface UpdateGalleryItemSignature {
|
1870
|
-
/**
|
1871
|
-
* Updates a media item in a specified gallery.
|
1872
|
-
*
|
1873
|
-
* Only the fields in the `item` object parameter can be updated. Specify which fields to update. Unspecified fields remain the same.
|
1874
|
-
*
|
1875
|
-
* <blockquote class="important">
|
1876
|
-
*
|
1877
|
-
* __Important:__
|
1878
|
-
* When updating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
|
1879
|
-
*
|
1880
|
-
* </blockquote>
|
1881
|
-
* @param - The information for the gallery item being updated.
|
1882
|
-
* @param - Gallery ID and Item ID.
|
1883
|
-
* @returns Updated media item.
|
1884
|
-
*/
|
1885
|
-
(identifiers: UpdateGalleryItemIdentifiers, item: UpdateGalleryItem): Promise<Item & ItemNonNullableFields>;
|
1886
|
-
}
|
1887
|
-
declare function deleteGalleryItem$1(httpClient: HttpClient): DeleteGalleryItemSignature;
|
1888
|
-
interface DeleteGalleryItemSignature {
|
1889
|
-
/**
|
1890
|
-
* Deletes a media item from a gallery.
|
1891
|
-
*
|
1892
|
-
* When a gallery item is deleted, the deleted gallery item is no longer returned when calling the [`listGalleryItems()`](/pro-gallery/list-gallery-items) function.
|
1893
|
-
* @param - Gallery ID and Item ID.
|
1894
|
-
*/
|
1895
|
-
(identifiers: DeleteGalleryItemIdentifiers): Promise<DeleteGalleryItemResponse & DeleteGalleryItemResponseNonNullableFields>;
|
1896
|
-
}
|
1897
|
-
declare const onGalleryCreated$1: EventDefinition<GalleryCreatedEnvelope, "wix.pro_gallery.gallery_v2_created">;
|
1898
|
-
declare const onGalleryDeleted$1: EventDefinition<GalleryDeletedEnvelope, "wix.pro_gallery.gallery_v2_deleted">;
|
1899
|
-
declare const onGalleryItemCreated$1: EventDefinition<GalleryItemCreatedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_created">;
|
1900
|
-
declare const onGalleryItemDeleted$1: EventDefinition<GalleryItemDeletedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_deleted">;
|
1901
|
-
declare const onGalleryItemUpdated$1: EventDefinition<GalleryItemUpdatedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_updated">;
|
1902
|
-
declare const onGalleryUpdated$1: EventDefinition<GalleryUpdatedEnvelope, "wix.pro_gallery.gallery_v2_updated">;
|
1903
|
-
|
1904
|
-
declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
1905
|
-
|
1906
|
-
declare const listGalleries: MaybeContext<BuildRESTFunction<typeof listGalleries$1> & typeof listGalleries$1>;
|
1907
|
-
declare const getGallery: MaybeContext<BuildRESTFunction<typeof getGallery$1> & typeof getGallery$1>;
|
1908
|
-
declare const listGalleryItems: MaybeContext<BuildRESTFunction<typeof listGalleryItems$1> & typeof listGalleryItems$1>;
|
1909
|
-
declare const getGalleryItem: MaybeContext<BuildRESTFunction<typeof getGalleryItem$1> & typeof getGalleryItem$1>;
|
1910
|
-
declare const createGallery: MaybeContext<BuildRESTFunction<typeof createGallery$1> & typeof createGallery$1>;
|
1911
|
-
declare const updateGallery: MaybeContext<BuildRESTFunction<typeof updateGallery$1> & typeof updateGallery$1>;
|
1912
|
-
declare const deleteGallery: MaybeContext<BuildRESTFunction<typeof deleteGallery$1> & typeof deleteGallery$1>;
|
1913
|
-
declare const deleteGalleryItems: MaybeContext<BuildRESTFunction<typeof deleteGalleryItems$1> & typeof deleteGalleryItems$1>;
|
1914
|
-
declare const bulkDeleteGalleryItems: MaybeContext<BuildRESTFunction<typeof bulkDeleteGalleryItems$1> & typeof bulkDeleteGalleryItems$1>;
|
1915
|
-
declare const createGalleryItem: MaybeContext<BuildRESTFunction<typeof createGalleryItem$1> & typeof createGalleryItem$1>;
|
1916
|
-
declare const updateGalleryItem: MaybeContext<BuildRESTFunction<typeof updateGalleryItem$1> & typeof updateGalleryItem$1>;
|
1917
|
-
declare const deleteGalleryItem: MaybeContext<BuildRESTFunction<typeof deleteGalleryItem$1> & typeof deleteGalleryItem$1>;
|
1918
|
-
|
1919
|
-
type _publicOnGalleryCreatedType = typeof onGalleryCreated$1;
|
1920
|
-
/**
|
1921
|
-
* Triggered when a gallery is created.
|
1922
|
-
*
|
1923
|
-
* > __Note:__ The event data doesn't include gallery items or their IDs.
|
1924
|
-
* > To receive information about the created items you need to listen to the [Gallery Item Created webhook](https://dev.wix.com/api/rest/site-content/pro-gallery/gallery-item-created-webhook).
|
1925
|
-
*/
|
1926
|
-
declare const onGalleryCreated: ReturnType<typeof createEventModule<_publicOnGalleryCreatedType>>;
|
1927
|
-
|
1928
|
-
type _publicOnGalleryDeletedType = typeof onGalleryDeleted$1;
|
1929
|
-
/**
|
1930
|
-
* Triggered when a gallery is deleted.
|
1931
|
-
*/
|
1932
|
-
declare const onGalleryDeleted: ReturnType<typeof createEventModule<_publicOnGalleryDeletedType>>;
|
1933
|
-
|
1934
|
-
type _publicOnGalleryItemCreatedType = typeof onGalleryItemCreated$1;
|
1935
|
-
/**
|
1936
|
-
* Triggered when a media item in a specified gallery is created.
|
1937
|
-
*/
|
1938
|
-
declare const onGalleryItemCreated: ReturnType<typeof createEventModule<_publicOnGalleryItemCreatedType>>;
|
1939
|
-
|
1940
|
-
type _publicOnGalleryItemDeletedType = typeof onGalleryItemDeleted$1;
|
1941
|
-
/**
|
1942
|
-
* Triggered when a media item in a specified gallery is deleted.
|
1943
|
-
*
|
1944
|
-
* > __Note:__ The event is triggered when a gallery item is deleted individually and when a gallery item is deleted because its gallery is deleted.
|
1945
|
-
* > The property `originatedFrom` has the value `Gallery Deleted` if the entire gallery is deleted. If the gallery item is deleted individually, this field is empty.
|
1946
|
-
*/
|
1947
|
-
declare const onGalleryItemDeleted: ReturnType<typeof createEventModule<_publicOnGalleryItemDeletedType>>;
|
1948
|
-
|
1949
|
-
type _publicOnGalleryItemUpdatedType = typeof onGalleryItemUpdated$1;
|
1950
|
-
/**
|
1951
|
-
* Triggered when a media item in a specified gallery is updated.
|
1952
|
-
*/
|
1953
|
-
declare const onGalleryItemUpdated: ReturnType<typeof createEventModule<_publicOnGalleryItemUpdatedType>>;
|
1954
|
-
|
1955
|
-
type _publicOnGalleryUpdatedType = typeof onGalleryUpdated$1;
|
1956
|
-
/**
|
1957
|
-
* Triggered when a gallery is updated.
|
1958
|
-
*
|
1959
|
-
* > __Note:__ The event data doesn't include gallery items or their IDs.
|
1960
|
-
* > To receive information about the updated items you need to listen to the [Gallery Item Updated webhook](https://dev.wix.com/api/rest/site-content/pro-gallery/gallery-item-updated-webhook).
|
1961
|
-
*/
|
1962
|
-
declare const onGalleryUpdated: ReturnType<typeof createEventModule<_publicOnGalleryUpdatedType>>;
|
1963
|
-
|
1964
|
-
type index_d_ActionEvent = ActionEvent;
|
1965
|
-
type index_d_AddressLink = AddressLink;
|
1966
|
-
type index_d_AnchorLink = AnchorLink;
|
1967
|
-
type index_d_App = App;
|
1968
|
-
type index_d_BaseEventMetadata = BaseEventMetadata;
|
1969
|
-
type index_d_BulkDeleteGalleryItemsRequest = BulkDeleteGalleryItemsRequest;
|
1970
|
-
type index_d_BulkDeleteGalleryItemsResponse = BulkDeleteGalleryItemsResponse;
|
1971
|
-
type index_d_BulkDeleteGalleryItemsResponseNonNullableFields = BulkDeleteGalleryItemsResponseNonNullableFields;
|
1972
|
-
type index_d_CleanDeletedGalleriesEvent = CleanDeletedGalleriesEvent;
|
1973
|
-
type index_d_CreateGalleryItemRequest = CreateGalleryItemRequest;
|
1974
|
-
type index_d_CreateGalleryItemResponse = CreateGalleryItemResponse;
|
1975
|
-
type index_d_CreateGalleryItemResponseNonNullableFields = CreateGalleryItemResponseNonNullableFields;
|
1976
|
-
type index_d_CreateGalleryItemsRequest = CreateGalleryItemsRequest;
|
1977
|
-
type index_d_CreateGalleryItemsResponse = CreateGalleryItemsResponse;
|
1978
|
-
type index_d_CreateGalleryOptions = CreateGalleryOptions;
|
1979
|
-
type index_d_CreateGalleryRequest = CreateGalleryRequest;
|
1980
|
-
type index_d_CreateGalleryResponse = CreateGalleryResponse;
|
1981
|
-
type index_d_CreateGalleryResponseNonNullableFields = CreateGalleryResponseNonNullableFields;
|
1982
|
-
type index_d_DeleteByFilterOperation = DeleteByFilterOperation;
|
1983
|
-
type index_d_DeleteByIdsOperation = DeleteByIdsOperation;
|
1984
|
-
type index_d_DeleteGalleryItemIdentifiers = DeleteGalleryItemIdentifiers;
|
1985
|
-
type index_d_DeleteGalleryItemRequest = DeleteGalleryItemRequest;
|
1986
|
-
type index_d_DeleteGalleryItemResponse = DeleteGalleryItemResponse;
|
1987
|
-
type index_d_DeleteGalleryItemResponseNonNullableFields = DeleteGalleryItemResponseNonNullableFields;
|
1988
|
-
type index_d_DeleteGalleryItemsOptions = DeleteGalleryItemsOptions;
|
1989
|
-
type index_d_DeleteGalleryItemsRequest = DeleteGalleryItemsRequest;
|
1990
|
-
type index_d_DeleteGalleryItemsResponse = DeleteGalleryItemsResponse;
|
1991
|
-
type index_d_DeleteGalleryItemsResponseNonNullableFields = DeleteGalleryItemsResponseNonNullableFields;
|
1992
|
-
type index_d_DeleteGalleryRequest = DeleteGalleryRequest;
|
1993
|
-
type index_d_DeleteGalleryResponse = DeleteGalleryResponse;
|
1994
|
-
type index_d_DeleteGalleryResponseNonNullableFields = DeleteGalleryResponseNonNullableFields;
|
1995
|
-
type index_d_DocumentImage = DocumentImage;
|
1996
|
-
type index_d_DocumentLink = DocumentLink;
|
1997
|
-
type index_d_DocumentPayload = DocumentPayload;
|
1998
|
-
type index_d_DocumentUpdateOperation = DocumentUpdateOperation;
|
1999
|
-
type index_d_DomainEvent = DomainEvent;
|
2000
|
-
type index_d_DomainEventBodyOneOf = DomainEventBodyOneOf;
|
2001
|
-
type index_d_DynamicPageLink = DynamicPageLink;
|
2002
|
-
type index_d_EmailLink = EmailLink;
|
2003
|
-
type index_d_Empty = Empty;
|
2004
|
-
type index_d_EntityCreatedEvent = EntityCreatedEvent;
|
2005
|
-
type index_d_EntityDeletedEvent = EntityDeletedEvent;
|
2006
|
-
type index_d_EntityUpdatedEvent = EntityUpdatedEvent;
|
2007
|
-
type index_d_Enum = Enum;
|
2008
|
-
declare const index_d_Enum: typeof Enum;
|
2009
|
-
type index_d_EventMetadata = EventMetadata;
|
2010
|
-
type index_d_EventsPage = EventsPage;
|
2011
|
-
type index_d_ExternalLink = ExternalLink;
|
2012
|
-
type index_d_File = File;
|
2013
|
-
type index_d_Gallery = Gallery;
|
2014
|
-
type index_d_GalleryCreatedEnvelope = GalleryCreatedEnvelope;
|
2015
|
-
type index_d_GalleryDeletedEnvelope = GalleryDeletedEnvelope;
|
2016
|
-
type index_d_GalleryItemCreated = GalleryItemCreated;
|
2017
|
-
type index_d_GalleryItemCreatedEnvelope = GalleryItemCreatedEnvelope;
|
2018
|
-
type index_d_GalleryItemDeleted = GalleryItemDeleted;
|
2019
|
-
type index_d_GalleryItemDeletedEnvelope = GalleryItemDeletedEnvelope;
|
2020
|
-
type index_d_GalleryItemUpdated = GalleryItemUpdated;
|
2021
|
-
type index_d_GalleryItemUpdatedEnvelope = GalleryItemUpdatedEnvelope;
|
2022
|
-
type index_d_GalleryNonNullableFields = GalleryNonNullableFields;
|
2023
|
-
type index_d_GalleryPublished = GalleryPublished;
|
2024
|
-
type index_d_GalleryUpdatedEnvelope = GalleryUpdatedEnvelope;
|
2025
|
-
type index_d_GetActiveGalleryRevisionRequest = GetActiveGalleryRevisionRequest;
|
2026
|
-
type index_d_GetActiveGalleryRevisionResponse = GetActiveGalleryRevisionResponse;
|
2027
|
-
type index_d_GetGalleryItemIdentifiers = GetGalleryItemIdentifiers;
|
2028
|
-
type index_d_GetGalleryItemRequest = GetGalleryItemRequest;
|
2029
|
-
type index_d_GetGalleryItemResponse = GetGalleryItemResponse;
|
2030
|
-
type index_d_GetGalleryItemResponseNonNullableFields = GetGalleryItemResponseNonNullableFields;
|
2031
|
-
type index_d_GetGalleryOptions = GetGalleryOptions;
|
2032
|
-
type index_d_GetGalleryRequest = GetGalleryRequest;
|
2033
|
-
type index_d_GetGalleryRequestVersionOneOf = GetGalleryRequestVersionOneOf;
|
2034
|
-
type index_d_GetGalleryResponse = GetGalleryResponse;
|
2035
|
-
type index_d_GetGalleryResponseNonNullableFields = GetGalleryResponseNonNullableFields;
|
2036
|
-
type index_d_GetGalleryRevisionRequest = GetGalleryRevisionRequest;
|
2037
|
-
type index_d_GetGalleryRevisionResponse = GetGalleryRevisionResponse;
|
2038
|
-
type index_d_HtmlSitePublished = HtmlSitePublished;
|
2039
|
-
type index_d_HtmlSiteRCPublished = HtmlSiteRCPublished;
|
2040
|
-
type index_d_IdentificationData = IdentificationData;
|
2041
|
-
type index_d_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
|
2042
|
-
type index_d_Image = Image;
|
2043
|
-
type index_d_ImageType = ImageType;
|
2044
|
-
declare const index_d_ImageType: typeof ImageType;
|
2045
|
-
type index_d_IndexDocument = IndexDocument;
|
2046
|
-
type index_d_InvalidateCache = InvalidateCache;
|
2047
|
-
type index_d_InvalidateCacheGetByOneOf = InvalidateCacheGetByOneOf;
|
2048
|
-
type index_d_Item = Item;
|
2049
|
-
type index_d_ItemId = ItemId;
|
2050
|
-
type index_d_ItemMetadataOneOf = ItemMetadataOneOf;
|
2051
|
-
type index_d_ItemNonNullableFields = ItemNonNullableFields;
|
2052
|
-
type index_d_ItemsInGallery = ItemsInGallery;
|
2053
|
-
type index_d_Link = Link;
|
2054
|
-
type index_d_LinkRel = LinkRel;
|
2055
|
-
declare const index_d_LinkRel: typeof LinkRel;
|
2056
|
-
type index_d_LinkType = LinkType;
|
2057
|
-
declare const index_d_LinkType: typeof LinkType;
|
2058
|
-
type index_d_ListGalleriesItemsRequest = ListGalleriesItemsRequest;
|
2059
|
-
type index_d_ListGalleriesItemsResponse = ListGalleriesItemsResponse;
|
2060
|
-
type index_d_ListGalleriesOptions = ListGalleriesOptions;
|
2061
|
-
type index_d_ListGalleriesRequest = ListGalleriesRequest;
|
2062
|
-
type index_d_ListGalleriesResponse = ListGalleriesResponse;
|
2063
|
-
type index_d_ListGalleriesResponseNonNullableFields = ListGalleriesResponseNonNullableFields;
|
2064
|
-
type index_d_ListGalleryItemsOptions = ListGalleryItemsOptions;
|
2065
|
-
type index_d_ListGalleryItemsRequest = ListGalleryItemsRequest;
|
2066
|
-
type index_d_ListGalleryItemsResponse = ListGalleryItemsResponse;
|
2067
|
-
type index_d_ListGalleryItemsResponseNonNullableFields = ListGalleryItemsResponseNonNullableFields;
|
2068
|
-
type index_d_MessageEnvelope = MessageEnvelope;
|
2069
|
-
type index_d_Page = Page;
|
2070
|
-
type index_d_PageLink = PageLink;
|
2071
|
-
type index_d_PhoneLink = PhoneLink;
|
2072
|
-
type index_d_Point = Point;
|
2073
|
-
type index_d_ProgallerypublisherPublishGalleryRequest = ProgallerypublisherPublishGalleryRequest;
|
2074
|
-
type index_d_ProgallerypublisherPublishGalleryResponse = ProgallerypublisherPublishGalleryResponse;
|
2075
|
-
type index_d_PublishGalleryItemRequest = PublishGalleryItemRequest;
|
2076
|
-
type index_d_PublishGalleryItemResponse = PublishGalleryItemResponse;
|
2077
|
-
type index_d_PublishGalleryItemsRequest = PublishGalleryItemsRequest;
|
2078
|
-
type index_d_PublishGalleryItemsResponse = PublishGalleryItemsResponse;
|
2079
|
-
type index_d_PublishGalleryRequest = PublishGalleryRequest;
|
2080
|
-
type index_d_PublishGalleryResponse = PublishGalleryResponse;
|
2081
|
-
type index_d_RestoreInfo = RestoreInfo;
|
2082
|
-
type index_d_SearchIndexingNotification = SearchIndexingNotification;
|
2083
|
-
type index_d_SearchIndexingNotificationState = SearchIndexingNotificationState;
|
2084
|
-
declare const index_d_SearchIndexingNotificationState: typeof SearchIndexingNotificationState;
|
2085
|
-
type index_d_SecondaryMedia = SecondaryMedia;
|
2086
|
-
type index_d_SecondaryMediaMetadataOneOf = SecondaryMediaMetadataOneOf;
|
2087
|
-
type index_d_State = State;
|
2088
|
-
declare const index_d_State: typeof State;
|
2089
|
-
type index_d_Tags = Tags;
|
2090
|
-
type index_d_Text = Text;
|
2091
|
-
type index_d_TpaPageLink = TpaPageLink;
|
2092
|
-
type index_d_Type = Type;
|
2093
|
-
declare const index_d_Type: typeof Type;
|
2094
|
-
type index_d_URI = URI;
|
2095
|
-
type index_d_UnsharpMasking = UnsharpMasking;
|
2096
|
-
type index_d_UpdateByFilterOperation = UpdateByFilterOperation;
|
2097
|
-
type index_d_UpdateDocumentsEvent = UpdateDocumentsEvent;
|
2098
|
-
type index_d_UpdateDocumentsEventOperationOneOf = UpdateDocumentsEventOperationOneOf;
|
2099
|
-
type index_d_UpdateExistingOperation = UpdateExistingOperation;
|
2100
|
-
type index_d_UpdateGallery = UpdateGallery;
|
2101
|
-
type index_d_UpdateGalleryItem = UpdateGalleryItem;
|
2102
|
-
type index_d_UpdateGalleryItemIdentifiers = UpdateGalleryItemIdentifiers;
|
2103
|
-
type index_d_UpdateGalleryItemRequest = UpdateGalleryItemRequest;
|
2104
|
-
type index_d_UpdateGalleryItemResponse = UpdateGalleryItemResponse;
|
2105
|
-
type index_d_UpdateGalleryItemResponseNonNullableFields = UpdateGalleryItemResponseNonNullableFields;
|
2106
|
-
type index_d_UpdateGalleryRequest = UpdateGalleryRequest;
|
2107
|
-
type index_d_UpdateGalleryResponse = UpdateGalleryResponse;
|
2108
|
-
type index_d_UpdateGalleryResponseNonNullableFields = UpdateGalleryResponseNonNullableFields;
|
2109
|
-
type index_d_Video = Video;
|
2110
|
-
type index_d_VideoResolution = VideoResolution;
|
2111
|
-
type index_d_VideoType = VideoType;
|
2112
|
-
declare const index_d_VideoType: typeof VideoType;
|
2113
|
-
type index_d_WebhookIdentityType = WebhookIdentityType;
|
2114
|
-
declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
|
2115
|
-
type index_d_WhatsAppLink = WhatsAppLink;
|
2116
|
-
type index_d_WixLink = WixLink;
|
2117
|
-
type index_d_WixLinkLinkOneOf = WixLinkLinkOneOf;
|
2118
|
-
type index_d__publicOnGalleryCreatedType = _publicOnGalleryCreatedType;
|
2119
|
-
type index_d__publicOnGalleryDeletedType = _publicOnGalleryDeletedType;
|
2120
|
-
type index_d__publicOnGalleryItemCreatedType = _publicOnGalleryItemCreatedType;
|
2121
|
-
type index_d__publicOnGalleryItemDeletedType = _publicOnGalleryItemDeletedType;
|
2122
|
-
type index_d__publicOnGalleryItemUpdatedType = _publicOnGalleryItemUpdatedType;
|
2123
|
-
type index_d__publicOnGalleryUpdatedType = _publicOnGalleryUpdatedType;
|
2124
|
-
declare const index_d_bulkDeleteGalleryItems: typeof bulkDeleteGalleryItems;
|
2125
|
-
declare const index_d_createGallery: typeof createGallery;
|
2126
|
-
declare const index_d_createGalleryItem: typeof createGalleryItem;
|
2127
|
-
declare const index_d_deleteGallery: typeof deleteGallery;
|
2128
|
-
declare const index_d_deleteGalleryItem: typeof deleteGalleryItem;
|
2129
|
-
declare const index_d_deleteGalleryItems: typeof deleteGalleryItems;
|
2130
|
-
declare const index_d_getGallery: typeof getGallery;
|
2131
|
-
declare const index_d_getGalleryItem: typeof getGalleryItem;
|
2132
|
-
declare const index_d_listGalleries: typeof listGalleries;
|
2133
|
-
declare const index_d_listGalleryItems: typeof listGalleryItems;
|
2134
|
-
declare const index_d_onGalleryCreated: typeof onGalleryCreated;
|
2135
|
-
declare const index_d_onGalleryDeleted: typeof onGalleryDeleted;
|
2136
|
-
declare const index_d_onGalleryItemCreated: typeof onGalleryItemCreated;
|
2137
|
-
declare const index_d_onGalleryItemDeleted: typeof onGalleryItemDeleted;
|
2138
|
-
declare const index_d_onGalleryItemUpdated: typeof onGalleryItemUpdated;
|
2139
|
-
declare const index_d_onGalleryUpdated: typeof onGalleryUpdated;
|
2140
|
-
declare const index_d_updateGallery: typeof updateGallery;
|
2141
|
-
declare const index_d_updateGalleryItem: typeof updateGalleryItem;
|
2142
|
-
declare namespace index_d {
|
2143
|
-
export { type index_d_ActionEvent as ActionEvent, type index_d_AddressLink as AddressLink, type index_d_AnchorLink as AnchorLink, type index_d_App as App, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BulkDeleteGalleryItemsRequest as BulkDeleteGalleryItemsRequest, type index_d_BulkDeleteGalleryItemsResponse as BulkDeleteGalleryItemsResponse, type index_d_BulkDeleteGalleryItemsResponseNonNullableFields as BulkDeleteGalleryItemsResponseNonNullableFields, type index_d_CleanDeletedGalleriesEvent as CleanDeletedGalleriesEvent, type index_d_CreateGalleryItemRequest as CreateGalleryItemRequest, type index_d_CreateGalleryItemResponse as CreateGalleryItemResponse, type index_d_CreateGalleryItemResponseNonNullableFields as CreateGalleryItemResponseNonNullableFields, type index_d_CreateGalleryItemsRequest as CreateGalleryItemsRequest, type index_d_CreateGalleryItemsResponse as CreateGalleryItemsResponse, type index_d_CreateGalleryOptions as CreateGalleryOptions, type index_d_CreateGalleryRequest as CreateGalleryRequest, type index_d_CreateGalleryResponse as CreateGalleryResponse, type index_d_CreateGalleryResponseNonNullableFields as CreateGalleryResponseNonNullableFields, type index_d_DeleteByFilterOperation as DeleteByFilterOperation, type index_d_DeleteByIdsOperation as DeleteByIdsOperation, type index_d_DeleteGalleryItemIdentifiers as DeleteGalleryItemIdentifiers, type index_d_DeleteGalleryItemRequest as DeleteGalleryItemRequest, type index_d_DeleteGalleryItemResponse as DeleteGalleryItemResponse, type index_d_DeleteGalleryItemResponseNonNullableFields as DeleteGalleryItemResponseNonNullableFields, type index_d_DeleteGalleryItemsOptions as DeleteGalleryItemsOptions, type index_d_DeleteGalleryItemsRequest as DeleteGalleryItemsRequest, type index_d_DeleteGalleryItemsResponse as DeleteGalleryItemsResponse, type index_d_DeleteGalleryItemsResponseNonNullableFields as DeleteGalleryItemsResponseNonNullableFields, type index_d_DeleteGalleryRequest as DeleteGalleryRequest, type index_d_DeleteGalleryResponse as DeleteGalleryResponse, type index_d_DeleteGalleryResponseNonNullableFields as DeleteGalleryResponseNonNullableFields, type index_d_DocumentImage as DocumentImage, type index_d_DocumentLink as DocumentLink, type index_d_DocumentPayload as DocumentPayload, type index_d_DocumentUpdateOperation as DocumentUpdateOperation, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_DynamicPageLink as DynamicPageLink, type index_d_EmailLink as EmailLink, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, index_d_Enum as Enum, type index_d_EventMetadata as EventMetadata, type index_d_EventsPage as EventsPage, type index_d_ExternalLink as ExternalLink, type index_d_File as File, type index_d_Gallery as Gallery, type index_d_GalleryCreatedEnvelope as GalleryCreatedEnvelope, type index_d_GalleryDeletedEnvelope as GalleryDeletedEnvelope, type index_d_GalleryItemCreated as GalleryItemCreated, type index_d_GalleryItemCreatedEnvelope as GalleryItemCreatedEnvelope, type index_d_GalleryItemDeleted as GalleryItemDeleted, type index_d_GalleryItemDeletedEnvelope as GalleryItemDeletedEnvelope, type index_d_GalleryItemUpdated as GalleryItemUpdated, type index_d_GalleryItemUpdatedEnvelope as GalleryItemUpdatedEnvelope, type index_d_GalleryNonNullableFields as GalleryNonNullableFields, type index_d_GalleryPublished as GalleryPublished, type index_d_GalleryUpdatedEnvelope as GalleryUpdatedEnvelope, type index_d_GetActiveGalleryRevisionRequest as GetActiveGalleryRevisionRequest, type index_d_GetActiveGalleryRevisionResponse as GetActiveGalleryRevisionResponse, type index_d_GetGalleryItemIdentifiers as GetGalleryItemIdentifiers, type index_d_GetGalleryItemRequest as GetGalleryItemRequest, type index_d_GetGalleryItemResponse as GetGalleryItemResponse, type index_d_GetGalleryItemResponseNonNullableFields as GetGalleryItemResponseNonNullableFields, type index_d_GetGalleryOptions as GetGalleryOptions, type index_d_GetGalleryRequest as GetGalleryRequest, type index_d_GetGalleryRequestVersionOneOf as GetGalleryRequestVersionOneOf, type index_d_GetGalleryResponse as GetGalleryResponse, type index_d_GetGalleryResponseNonNullableFields as GetGalleryResponseNonNullableFields, type index_d_GetGalleryRevisionRequest as GetGalleryRevisionRequest, type index_d_GetGalleryRevisionResponse as GetGalleryRevisionResponse, type index_d_HtmlSitePublished as HtmlSitePublished, type index_d_HtmlSiteRCPublished as HtmlSiteRCPublished, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_Image as Image, index_d_ImageType as ImageType, type index_d_IndexDocument as IndexDocument, type index_d_InvalidateCache as InvalidateCache, type index_d_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d_Item as Item, type index_d_ItemId as ItemId, type index_d_ItemMetadataOneOf as ItemMetadataOneOf, type index_d_ItemNonNullableFields as ItemNonNullableFields, type index_d_ItemsInGallery as ItemsInGallery, type index_d_Link as Link, index_d_LinkRel as LinkRel, index_d_LinkType as LinkType, type index_d_ListGalleriesItemsRequest as ListGalleriesItemsRequest, type index_d_ListGalleriesItemsResponse as ListGalleriesItemsResponse, type index_d_ListGalleriesOptions as ListGalleriesOptions, type index_d_ListGalleriesRequest as ListGalleriesRequest, type index_d_ListGalleriesResponse as ListGalleriesResponse, type index_d_ListGalleriesResponseNonNullableFields as ListGalleriesResponseNonNullableFields, type index_d_ListGalleryItemsOptions as ListGalleryItemsOptions, type index_d_ListGalleryItemsRequest as ListGalleryItemsRequest, type index_d_ListGalleryItemsResponse as ListGalleryItemsResponse, type index_d_ListGalleryItemsResponseNonNullableFields as ListGalleryItemsResponseNonNullableFields, type index_d_MessageEnvelope as MessageEnvelope, type index_d_Page as Page, type index_d_PageLink as PageLink, type index_d_PhoneLink as PhoneLink, type index_d_Point as Point, type index_d_ProgallerypublisherPublishGalleryRequest as ProgallerypublisherPublishGalleryRequest, type index_d_ProgallerypublisherPublishGalleryResponse as ProgallerypublisherPublishGalleryResponse, type index_d_PublishGalleryItemRequest as PublishGalleryItemRequest, type index_d_PublishGalleryItemResponse as PublishGalleryItemResponse, type index_d_PublishGalleryItemsRequest as PublishGalleryItemsRequest, type index_d_PublishGalleryItemsResponse as PublishGalleryItemsResponse, type index_d_PublishGalleryRequest as PublishGalleryRequest, type index_d_PublishGalleryResponse as PublishGalleryResponse, type index_d_RestoreInfo as RestoreInfo, type index_d_SearchIndexingNotification as SearchIndexingNotification, index_d_SearchIndexingNotificationState as SearchIndexingNotificationState, type index_d_SecondaryMedia as SecondaryMedia, type index_d_SecondaryMediaMetadataOneOf as SecondaryMediaMetadataOneOf, index_d_State as State, type index_d_Tags as Tags, type index_d_Text as Text, type index_d_TpaPageLink as TpaPageLink, index_d_Type as Type, type index_d_URI as URI, type index_d_UnsharpMasking as UnsharpMasking, type index_d_UpdateByFilterOperation as UpdateByFilterOperation, type index_d_UpdateDocumentsEvent as UpdateDocumentsEvent, type index_d_UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOf, type index_d_UpdateExistingOperation as UpdateExistingOperation, type index_d_UpdateGallery as UpdateGallery, type index_d_UpdateGalleryItem as UpdateGalleryItem, type index_d_UpdateGalleryItemIdentifiers as UpdateGalleryItemIdentifiers, type index_d_UpdateGalleryItemRequest as UpdateGalleryItemRequest, type index_d_UpdateGalleryItemResponse as UpdateGalleryItemResponse, type index_d_UpdateGalleryItemResponseNonNullableFields as UpdateGalleryItemResponseNonNullableFields, type index_d_UpdateGalleryRequest as UpdateGalleryRequest, type index_d_UpdateGalleryResponse as UpdateGalleryResponse, type index_d_UpdateGalleryResponseNonNullableFields as UpdateGalleryResponseNonNullableFields, type index_d_Video as Video, type index_d_VideoResolution as VideoResolution, index_d_VideoType as VideoType, index_d_WebhookIdentityType as WebhookIdentityType, type index_d_WhatsAppLink as WhatsAppLink, type index_d_WixLink as WixLink, type index_d_WixLinkLinkOneOf as WixLinkLinkOneOf, type index_d__publicOnGalleryCreatedType as _publicOnGalleryCreatedType, type index_d__publicOnGalleryDeletedType as _publicOnGalleryDeletedType, type index_d__publicOnGalleryItemCreatedType as _publicOnGalleryItemCreatedType, type index_d__publicOnGalleryItemDeletedType as _publicOnGalleryItemDeletedType, type index_d__publicOnGalleryItemUpdatedType as _publicOnGalleryItemUpdatedType, type index_d__publicOnGalleryUpdatedType as _publicOnGalleryUpdatedType, index_d_bulkDeleteGalleryItems as bulkDeleteGalleryItems, index_d_createGallery as createGallery, index_d_createGalleryItem as createGalleryItem, index_d_deleteGallery as deleteGallery, index_d_deleteGalleryItem as deleteGalleryItem, index_d_deleteGalleryItems as deleteGalleryItems, index_d_getGallery as getGallery, index_d_getGalleryItem as getGalleryItem, index_d_listGalleries as listGalleries, index_d_listGalleryItems as listGalleryItems, index_d_onGalleryCreated as onGalleryCreated, index_d_onGalleryDeleted as onGalleryDeleted, index_d_onGalleryItemCreated as onGalleryItemCreated, index_d_onGalleryItemDeleted as onGalleryItemDeleted, index_d_onGalleryItemUpdated as onGalleryItemUpdated, index_d_onGalleryUpdated as onGalleryUpdated, onGalleryCreated$1 as publicOnGalleryCreated, onGalleryDeleted$1 as publicOnGalleryDeleted, onGalleryItemCreated$1 as publicOnGalleryItemCreated, onGalleryItemDeleted$1 as publicOnGalleryItemDeleted, onGalleryItemUpdated$1 as publicOnGalleryItemUpdated, onGalleryUpdated$1 as publicOnGalleryUpdated, index_d_updateGallery as updateGallery, index_d_updateGalleryItem as updateGalleryItem };
|
2144
|
-
}
|
2145
|
-
|
2146
|
-
export { index_d as proGallery };
|