@wix/pro-gallery 1.0.64 → 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 -2138
- package/type-bundles/index.bundle.d.ts +0 -2138
- package/type-bundles/meta.bundle.d.ts +0 -1084
@@ -1,2138 +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
|
-
/** @readonly */
|
533
|
-
type?: Type;
|
534
|
-
/**
|
535
|
-
* Date and time the item was created.
|
536
|
-
* @readonly
|
537
|
-
*/
|
538
|
-
_createdDate?: Date | null;
|
539
|
-
/**
|
540
|
-
* Date and time the item was last updated.
|
541
|
-
* @readonly
|
542
|
-
*/
|
543
|
-
_updatedDate?: Date | null;
|
544
|
-
/** Item tags. */
|
545
|
-
tags?: Tags;
|
546
|
-
}
|
547
|
-
/** @oneof */
|
548
|
-
interface ItemMetadataOneOf {
|
549
|
-
/** Details about the image. */
|
550
|
-
image?: Image;
|
551
|
-
/** Details about the video. */
|
552
|
-
video?: Video;
|
553
|
-
/** Details about the text file. */
|
554
|
-
text?: Text;
|
555
|
-
}
|
556
|
-
interface Link {
|
557
|
-
/** Display text of the link. */
|
558
|
-
text?: string | null;
|
559
|
-
/** Target URL of the link. */
|
560
|
-
url?: string | null;
|
561
|
-
}
|
562
|
-
declare enum LinkType {
|
563
|
-
UNDEFINED = "UNDEFINED",
|
564
|
-
/** external link */
|
565
|
-
EXTERNAL = "EXTERNAL",
|
566
|
-
/** for internal usage using wixLinkData */
|
567
|
-
INTERNAL = "INTERNAL"
|
568
|
-
}
|
569
|
-
/** The link object generated by panels in the editor and used by applications in Wix */
|
570
|
-
interface WixLink extends WixLinkLinkOneOf {
|
571
|
-
/** External link type */
|
572
|
-
external?: ExternalLink;
|
573
|
-
/** Page link type */
|
574
|
-
page?: PageLink;
|
575
|
-
/** Anchor link type */
|
576
|
-
anchor?: AnchorLink;
|
577
|
-
/** Dynamic page link type */
|
578
|
-
dynamicPage?: DynamicPageLink;
|
579
|
-
/** Document link type */
|
580
|
-
document?: DocumentLink;
|
581
|
-
/** Email link type */
|
582
|
-
email?: EmailLink;
|
583
|
-
/** Phone link type */
|
584
|
-
phone?: PhoneLink;
|
585
|
-
/** Address link type */
|
586
|
-
address?: AddressLink;
|
587
|
-
/** WhatsApp link type */
|
588
|
-
whatsApp?: WhatsAppLink;
|
589
|
-
/** TPA link type */
|
590
|
-
tpaPage?: TpaPageLink;
|
591
|
-
}
|
592
|
-
/** @oneof */
|
593
|
-
interface WixLinkLinkOneOf {
|
594
|
-
/** External link type */
|
595
|
-
external?: ExternalLink;
|
596
|
-
/** Page link type */
|
597
|
-
page?: PageLink;
|
598
|
-
/** Anchor link type */
|
599
|
-
anchor?: AnchorLink;
|
600
|
-
/** Dynamic page link type */
|
601
|
-
dynamicPage?: DynamicPageLink;
|
602
|
-
/** Document link type */
|
603
|
-
document?: DocumentLink;
|
604
|
-
/** Email link type */
|
605
|
-
email?: EmailLink;
|
606
|
-
/** Phone link type */
|
607
|
-
phone?: PhoneLink;
|
608
|
-
/** Address link type */
|
609
|
-
address?: AddressLink;
|
610
|
-
/** WhatsApp link type */
|
611
|
-
whatsApp?: WhatsAppLink;
|
612
|
-
/** TPA link type */
|
613
|
-
tpaPage?: TpaPageLink;
|
614
|
-
}
|
615
|
-
interface ExternalLink {
|
616
|
-
/** The url of the page */
|
617
|
-
url?: string;
|
618
|
-
/** Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page. */
|
619
|
-
target?: string | null;
|
620
|
-
}
|
621
|
-
interface PageLink {
|
622
|
-
/** The page id we want from the site */
|
623
|
-
pageId?: string;
|
624
|
-
/** Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page. */
|
625
|
-
target?: string | null;
|
626
|
-
/** rel of link */
|
627
|
-
rel?: LinkRel[];
|
628
|
-
}
|
629
|
-
/**
|
630
|
-
* The 'rel' attribute of the link. The rel attribute defines the relationship between a linked resource and the current document.
|
631
|
-
* Further reading (also about different possible rel types): https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel
|
632
|
-
* Following are the accepted 'rel' types by Wix applications.
|
633
|
-
*/
|
634
|
-
declare enum LinkRel {
|
635
|
-
/** default (not implemented) */
|
636
|
-
unknown_link_rel = "unknown_link_rel",
|
637
|
-
/** Indicates that the current document's original author or publisher does not endorse the referenced document. */
|
638
|
-
nofollow = "nofollow",
|
639
|
-
/** Instructs the browser to navigate to the target resource without granting the new browsing context access to the document that opened it. */
|
640
|
-
noopener = "noopener",
|
641
|
-
/** No Referer header will be included. Additionally, has the same effect as noopener. */
|
642
|
-
noreferrer = "noreferrer",
|
643
|
-
/** Indicates a link that resulted from advertisements or paid placements. */
|
644
|
-
sponsored = "sponsored"
|
645
|
-
}
|
646
|
-
interface AnchorLink {
|
647
|
-
/** The name of the anchor */
|
648
|
-
anchorName?: string;
|
649
|
-
/** The data id (from the JSON page) of the anchor that should be used */
|
650
|
-
anchorDataId?: string;
|
651
|
-
/** The page id we want from the site */
|
652
|
-
pageId?: string;
|
653
|
-
/** rel of link */
|
654
|
-
rel?: LinkRel[];
|
655
|
-
}
|
656
|
-
interface DynamicPageLink {
|
657
|
-
/** The router that handles this link */
|
658
|
-
routerId?: string;
|
659
|
-
/** The path data we'd like */
|
660
|
-
innerRoute?: string;
|
661
|
-
/** The data id (from the JSON page) of the anchor that should be used */
|
662
|
-
anchorDataId?: string | null;
|
663
|
-
/** rel of link */
|
664
|
-
rel?: LinkRel[];
|
665
|
-
}
|
666
|
-
interface DocumentLink {
|
667
|
-
/** The id of the document */
|
668
|
-
docId?: string;
|
669
|
-
/** The name of the document for download purposes */
|
670
|
-
name?: string | null;
|
671
|
-
/** If this document can be indexed by scrapers, default is false */
|
672
|
-
indexable?: boolean;
|
673
|
-
}
|
674
|
-
interface EmailLink {
|
675
|
-
/** The email we will be sending a message to */
|
676
|
-
recipient?: string;
|
677
|
-
/** The subject of the email */
|
678
|
-
subject?: string | null;
|
679
|
-
/** The body of the email */
|
680
|
-
body?: string | null;
|
681
|
-
}
|
682
|
-
interface PhoneLink {
|
683
|
-
/** The phone number we want to link to */
|
684
|
-
phoneNumber?: string;
|
685
|
-
}
|
686
|
-
interface AddressLink {
|
687
|
-
/** An address that we can link to */
|
688
|
-
address?: string;
|
689
|
-
}
|
690
|
-
interface WhatsAppLink {
|
691
|
-
/** The whatsApp phone number we want to connect with */
|
692
|
-
phoneNumber?: string;
|
693
|
-
}
|
694
|
-
/** Link to a TPA page */
|
695
|
-
interface TpaPageLink {
|
696
|
-
/** Type of item (e.g. 'wix.stores.sub_pages.product') */
|
697
|
-
itemTypeIdentifier?: string;
|
698
|
-
/** Id of linked item */
|
699
|
-
itemId?: string;
|
700
|
-
/** Id of linked page */
|
701
|
-
pageId?: string;
|
702
|
-
/** Id of app being linked to (AppDefId) */
|
703
|
-
appDefinitionId?: string;
|
704
|
-
/** The relativepath of linked page */
|
705
|
-
path?: string;
|
706
|
-
/** rel of link */
|
707
|
-
rel?: LinkRel[];
|
708
|
-
}
|
709
|
-
declare enum Type {
|
710
|
-
UNDEFINED = "UNDEFINED",
|
711
|
-
IMAGE = "IMAGE",
|
712
|
-
VIDEO = "VIDEO",
|
713
|
-
TEXT = "TEXT"
|
714
|
-
}
|
715
|
-
interface Image {
|
716
|
-
/** The image's Wix media URL in the following format: `'wix:image://v1/<uri>/<filename>#originWidth=<width>&originHeight=<height>[&watermark=<watermark_manifest_string>]'`. */
|
717
|
-
imageInfo?: string;
|
718
|
-
/** Focal point of the image. */
|
719
|
-
focalPoint?: Point;
|
720
|
-
/** Set of key-value pairs describing the media in [Exchangeable Image File format](https://en.wikipedia.org/wiki/Exif). */
|
721
|
-
exif?: Record<string, any> | null;
|
722
|
-
/**
|
723
|
-
* Image compression level. <br />
|
724
|
-
*
|
725
|
-
* Min: `30` <br />
|
726
|
-
* Max: `100`
|
727
|
-
*/
|
728
|
-
quality?: number | null;
|
729
|
-
/** [Unsharp masking](https://en.wikipedia.org/wiki/Unsharp_masking) values of the image. */
|
730
|
-
unsharpMasking?: UnsharpMasking;
|
731
|
-
}
|
732
|
-
declare enum ImageType {
|
733
|
-
UNDEFINED = "UNDEFINED",
|
734
|
-
WIX_MEDIA = "WIX_MEDIA",
|
735
|
-
EXTERNAL = "EXTERNAL"
|
736
|
-
}
|
737
|
-
interface Point {
|
738
|
-
/** X-coordinate of the focal point. */
|
739
|
-
x?: number;
|
740
|
-
/** Y-coordinate of the focal point. */
|
741
|
-
y?: number;
|
742
|
-
}
|
743
|
-
interface UnsharpMasking {
|
744
|
-
/**
|
745
|
-
* Unsharp masking amount. Controls the sharpening strength. <br />
|
746
|
-
*
|
747
|
-
* Min: `0` <br />
|
748
|
-
* Max: `5`
|
749
|
-
*/
|
750
|
-
amount?: number | null;
|
751
|
-
/** Unsharp masking radius in pixels. Controls the sharpening width. */
|
752
|
-
radius?: number | null;
|
753
|
-
/**
|
754
|
-
* Unsharp masking threshold. Controls how different neighboring pixels must be for shapening to apply. <br />
|
755
|
-
*
|
756
|
-
* Min: `0` <br />
|
757
|
-
* Max: `1`
|
758
|
-
*/
|
759
|
-
threshold?: number | null;
|
760
|
-
}
|
761
|
-
interface Video {
|
762
|
-
type?: VideoType;
|
763
|
-
/**
|
764
|
-
* The video's URL. Either a Wix media URL, or a supported https external URL in the following formats:
|
765
|
-
*
|
766
|
-
* Wix Media: `'wix:video://v1/6e6ea4_461425d7e7db4d5487a28e00c5ba6244/9e6ea4_461425d7e7db4d5487a28e00c5ba6277#posterUri=9e6ea4_461425d7e7db4d5487a28e00c5ba6277f000.jpg&posterWidth=960&posterHeight=540'`
|
767
|
-
*
|
768
|
-
* Vimeo: `'https://vimeo.com/378840916'`
|
769
|
-
*
|
770
|
-
* Youtube: `'https://www.youtube.com/results?search_query=uplifting+upbeat+music'`
|
771
|
-
*/
|
772
|
-
videoInfo?: string;
|
773
|
-
/** Manually defined video duration in milliseconds. */
|
774
|
-
durationInMillis?: number | null;
|
775
|
-
}
|
776
|
-
declare enum VideoType {
|
777
|
-
UNDEFINED = "UNDEFINED",
|
778
|
-
WIX_MEDIA = "WIX_MEDIA",
|
779
|
-
YOUTUBE = "YOUTUBE",
|
780
|
-
VIMEO = "VIMEO"
|
781
|
-
}
|
782
|
-
interface VideoResolution {
|
783
|
-
/** *Required.** Video URL. */
|
784
|
-
url?: string;
|
785
|
-
/** *Required.** Video height. */
|
786
|
-
height?: number;
|
787
|
-
/** *Required.** Video width. */
|
788
|
-
width?: number;
|
789
|
-
/** *Required.** Video format. For example, `mp4` or `hls`. */
|
790
|
-
format?: string;
|
791
|
-
/** Video quality. For example, `480p` or `720p`. */
|
792
|
-
quality?: string | null;
|
793
|
-
/** Video filename. */
|
794
|
-
filename?: string | null;
|
795
|
-
}
|
796
|
-
interface Text {
|
797
|
-
/** Text in HTML format. */
|
798
|
-
html?: string | null;
|
799
|
-
/**
|
800
|
-
* Set of key-value pairs describing the [CSS style](https://en.wikipedia.org/wiki/CSS) of the text.
|
801
|
-
*
|
802
|
-
* __Note:__ The object structure is customizable. See the [`listGalleryItems()`](/pro-gallery/list-gallery-items) code example for supported values.
|
803
|
-
*/
|
804
|
-
css?: Record<string, any> | null;
|
805
|
-
/** Reserved for internal use. */
|
806
|
-
editorHtml?: string | null;
|
807
|
-
/** Reserved for internal use. */
|
808
|
-
editorFontId?: string | null;
|
809
|
-
}
|
810
|
-
interface Tags {
|
811
|
-
/** List of tags assigned to the media item. */
|
812
|
-
values?: string[];
|
813
|
-
}
|
814
|
-
interface SecondaryMedia extends SecondaryMediaMetadataOneOf {
|
815
|
-
/** secondary media photo metadata (optional) */
|
816
|
-
image?: Image;
|
817
|
-
/** secondary media text metadata (optional) */
|
818
|
-
text?: Text;
|
819
|
-
}
|
820
|
-
/** @oneof */
|
821
|
-
interface SecondaryMediaMetadataOneOf {
|
822
|
-
/** secondary media photo metadata (optional) */
|
823
|
-
image?: Image;
|
824
|
-
/** secondary media text metadata (optional) */
|
825
|
-
text?: Text;
|
826
|
-
}
|
827
|
-
interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
828
|
-
/** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
|
829
|
-
metaSiteId?: string;
|
830
|
-
/** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
|
831
|
-
siteId?: string;
|
832
|
-
/** Invalidate by App */
|
833
|
-
app?: App;
|
834
|
-
/** Invalidate by page id */
|
835
|
-
page?: Page;
|
836
|
-
/** Invalidate by URI path */
|
837
|
-
uri?: URI;
|
838
|
-
/** Invalidate by file (for media files such as PDFs) */
|
839
|
-
file?: File;
|
840
|
-
/** tell us why you're invalidating the cache. You don't need to add your app name */
|
841
|
-
reason?: string | null;
|
842
|
-
/** Is local DS */
|
843
|
-
localDc?: boolean;
|
844
|
-
hardPurge?: boolean;
|
845
|
-
}
|
846
|
-
/** @oneof */
|
847
|
-
interface InvalidateCacheGetByOneOf {
|
848
|
-
/** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
|
849
|
-
metaSiteId?: string;
|
850
|
-
/** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
|
851
|
-
siteId?: string;
|
852
|
-
/** Invalidate by App */
|
853
|
-
app?: App;
|
854
|
-
/** Invalidate by page id */
|
855
|
-
page?: Page;
|
856
|
-
/** Invalidate by URI path */
|
857
|
-
uri?: URI;
|
858
|
-
/** Invalidate by file (for media files such as PDFs) */
|
859
|
-
file?: File;
|
860
|
-
}
|
861
|
-
interface App {
|
862
|
-
/** The AppDefId */
|
863
|
-
appDefId?: string;
|
864
|
-
/** The instance Id */
|
865
|
-
instanceId?: string;
|
866
|
-
}
|
867
|
-
interface Page {
|
868
|
-
/** the msid the page is on */
|
869
|
-
metaSiteId?: string;
|
870
|
-
/** Invalidate by Page ID */
|
871
|
-
pageId?: string;
|
872
|
-
}
|
873
|
-
interface URI {
|
874
|
-
/** the msid the URI is on */
|
875
|
-
metaSiteId?: string;
|
876
|
-
/** URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes */
|
877
|
-
uriPath?: string;
|
878
|
-
}
|
879
|
-
interface File {
|
880
|
-
/** the msid the file is related to */
|
881
|
-
metaSiteId?: string;
|
882
|
-
/** Invalidate by filename (for media files such as PDFs) */
|
883
|
-
fileName?: string;
|
884
|
-
}
|
885
|
-
interface GalleryPublished {
|
886
|
-
/**
|
887
|
-
* id of the gallery that will be published
|
888
|
-
* @readonly
|
889
|
-
*/
|
890
|
-
galleryId?: string;
|
891
|
-
isRc?: boolean;
|
892
|
-
/** @readonly */
|
893
|
-
newRevision?: Date | null;
|
894
|
-
/** @readonly */
|
895
|
-
oldRevision?: Date | null;
|
896
|
-
}
|
897
|
-
interface CleanDeletedGalleriesEvent {
|
898
|
-
/** @readonly */
|
899
|
-
instanceId?: string;
|
900
|
-
/** @readonly */
|
901
|
-
metaSiteId?: string;
|
902
|
-
/** @readonly */
|
903
|
-
htmlSiteRevision?: string;
|
904
|
-
/** @readonly */
|
905
|
-
timeSitePublished?: Date | null;
|
906
|
-
}
|
907
|
-
interface ProgallerypublisherPublishGalleryRequest {
|
908
|
-
/** id of the gallery that will be published */
|
909
|
-
galleryId?: string;
|
910
|
-
}
|
911
|
-
interface ProgallerypublisherPublishGalleryResponse {
|
912
|
-
}
|
913
|
-
interface GetActiveGalleryRevisionRequest {
|
914
|
-
galleryId?: string;
|
915
|
-
}
|
916
|
-
interface GetActiveGalleryRevisionResponse {
|
917
|
-
galleryActiveRevision?: Date | null;
|
918
|
-
htmlSiteRevision?: string | null;
|
919
|
-
}
|
920
|
-
interface GetGalleryRevisionRequest {
|
921
|
-
galleryId?: string;
|
922
|
-
revision?: Date | null;
|
923
|
-
}
|
924
|
-
interface GetGalleryRevisionResponse {
|
925
|
-
htmlSiteRevision?: string | null;
|
926
|
-
instanceId?: string | null;
|
927
|
-
}
|
928
|
-
interface PublishGalleryItemRequest {
|
929
|
-
/** id of the gallery that will be published */
|
930
|
-
galleryId?: string;
|
931
|
-
/** id of the item that will be published */
|
932
|
-
itemId?: string;
|
933
|
-
}
|
934
|
-
interface PublishGalleryItemResponse {
|
935
|
-
}
|
936
|
-
interface PublishGalleryItemsRequest {
|
937
|
-
/** id of the gallery that will be published */
|
938
|
-
galleryId?: string;
|
939
|
-
/** ids of the items that will be published */
|
940
|
-
itemIds?: string[];
|
941
|
-
}
|
942
|
-
interface PublishGalleryItemsResponse {
|
943
|
-
}
|
944
|
-
interface Empty {
|
945
|
-
}
|
946
|
-
interface HtmlSitePublished {
|
947
|
-
/** Application instance ID */
|
948
|
-
appInstanceId?: string;
|
949
|
-
/** Application type */
|
950
|
-
appType?: string;
|
951
|
-
/** Revision */
|
952
|
-
revision?: string;
|
953
|
-
/** MSID */
|
954
|
-
metaSiteId?: string | null;
|
955
|
-
/** optional branch id if publish is done from branch */
|
956
|
-
branchId?: string | null;
|
957
|
-
/** The site's last transactionId */
|
958
|
-
lastTransactionId?: string | null;
|
959
|
-
/** A list of the site's pages */
|
960
|
-
pages?: EventsPage[];
|
961
|
-
/** Site's publish date */
|
962
|
-
publishDate?: string;
|
963
|
-
}
|
964
|
-
interface EventsPage {
|
965
|
-
/** Page's Id */
|
966
|
-
_id?: string;
|
967
|
-
}
|
968
|
-
interface HtmlSiteRCPublished {
|
969
|
-
/** Application instance ID */
|
970
|
-
appInstanceId?: string;
|
971
|
-
/** Revision */
|
972
|
-
revision?: string;
|
973
|
-
/** Optional branch Id */
|
974
|
-
branchId?: string | null;
|
975
|
-
/** Site's publish date */
|
976
|
-
publishDate?: string;
|
977
|
-
}
|
978
|
-
interface DomainEvent extends DomainEventBodyOneOf {
|
979
|
-
/** Information about a newly-created gallery. */
|
980
|
-
createdEvent?: EntityCreatedEvent;
|
981
|
-
updatedEvent?: EntityUpdatedEvent;
|
982
|
-
deletedEvent?: EntityDeletedEvent;
|
983
|
-
actionEvent?: ActionEvent;
|
984
|
-
/**
|
985
|
-
* Unique event ID.
|
986
|
-
* Allows clients to ignore duplicate webhooks.
|
987
|
-
*/
|
988
|
-
_id?: string;
|
989
|
-
/**
|
990
|
-
* Assumes actions are also always typed to an entity_type
|
991
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
992
|
-
*/
|
993
|
-
entityFqdn?: string;
|
994
|
-
/**
|
995
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
996
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
997
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
998
|
-
*/
|
999
|
-
slug?: string;
|
1000
|
-
/** ID of the entity associated with the event. */
|
1001
|
-
entityId?: string;
|
1002
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
1003
|
-
eventTime?: Date | null;
|
1004
|
-
/**
|
1005
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
1006
|
-
* (for example, GDPR).
|
1007
|
-
*/
|
1008
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
1009
|
-
/** If present, indicates the action that triggered the event. */
|
1010
|
-
originatedFrom?: string | null;
|
1011
|
-
/**
|
1012
|
-
* A sequence number defining the order of updates to the underlying entity.
|
1013
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
1014
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
1015
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
1016
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
1017
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
1018
|
-
*/
|
1019
|
-
entityEventSequence?: string | null;
|
1020
|
-
}
|
1021
|
-
/** @oneof */
|
1022
|
-
interface DomainEventBodyOneOf {
|
1023
|
-
createdEvent?: EntityCreatedEvent;
|
1024
|
-
updatedEvent?: EntityUpdatedEvent;
|
1025
|
-
deletedEvent?: EntityDeletedEvent;
|
1026
|
-
actionEvent?: ActionEvent;
|
1027
|
-
}
|
1028
|
-
interface EntityCreatedEvent {
|
1029
|
-
entity?: string;
|
1030
|
-
}
|
1031
|
-
interface RestoreInfo {
|
1032
|
-
deletedDate?: Date | null;
|
1033
|
-
}
|
1034
|
-
interface EntityUpdatedEvent {
|
1035
|
-
/**
|
1036
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
1037
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
1038
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
1039
|
-
*/
|
1040
|
-
currentEntity?: string;
|
1041
|
-
}
|
1042
|
-
interface EntityDeletedEvent {
|
1043
|
-
/** Entity that was deleted */
|
1044
|
-
deletedEntity?: string | null;
|
1045
|
-
}
|
1046
|
-
interface ActionEvent {
|
1047
|
-
body?: string;
|
1048
|
-
}
|
1049
|
-
interface MessageEnvelope {
|
1050
|
-
/** App instance ID. */
|
1051
|
-
instanceId?: string | null;
|
1052
|
-
/** Event type. */
|
1053
|
-
eventType?: string;
|
1054
|
-
/** The identification type and identity data. */
|
1055
|
-
identity?: IdentificationData;
|
1056
|
-
/** Stringify payload. */
|
1057
|
-
data?: string;
|
1058
|
-
}
|
1059
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
1060
|
-
/** ID of a site visitor that has not logged in to the site. */
|
1061
|
-
anonymousVisitorId?: string;
|
1062
|
-
/** ID of a site visitor that has logged in to the site. */
|
1063
|
-
memberId?: string;
|
1064
|
-
/** ID of a Wix user (site owner, contributor, etc.). */
|
1065
|
-
wixUserId?: string;
|
1066
|
-
/** ID of an app. */
|
1067
|
-
appId?: string;
|
1068
|
-
/** @readonly */
|
1069
|
-
identityType?: WebhookIdentityType;
|
1070
|
-
}
|
1071
|
-
/** @oneof */
|
1072
|
-
interface IdentificationDataIdOneOf {
|
1073
|
-
/** ID of a site visitor that has not logged in to the site. */
|
1074
|
-
anonymousVisitorId?: string;
|
1075
|
-
/** ID of a site visitor that has logged in to the site. */
|
1076
|
-
memberId?: string;
|
1077
|
-
/** ID of a Wix user (site owner, contributor, etc.). */
|
1078
|
-
wixUserId?: string;
|
1079
|
-
/** ID of an app. */
|
1080
|
-
appId?: string;
|
1081
|
-
}
|
1082
|
-
declare enum WebhookIdentityType {
|
1083
|
-
UNKNOWN = "UNKNOWN",
|
1084
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
1085
|
-
MEMBER = "MEMBER",
|
1086
|
-
WIX_USER = "WIX_USER",
|
1087
|
-
APP = "APP"
|
1088
|
-
}
|
1089
|
-
interface UpdateDocumentsEvent extends UpdateDocumentsEventOperationOneOf {
|
1090
|
-
/** insert/update documents */
|
1091
|
-
update?: DocumentUpdateOperation;
|
1092
|
-
/** delete by document ids */
|
1093
|
-
deleteByIds?: DeleteByIdsOperation;
|
1094
|
-
/** delete documents matching filter */
|
1095
|
-
deleteByFilter?: DeleteByFilterOperation;
|
1096
|
-
/** update documents matching filter */
|
1097
|
-
updateByFilter?: UpdateByFilterOperation;
|
1098
|
-
/** update only existing documents */
|
1099
|
-
updateExisting?: UpdateExistingOperation;
|
1100
|
-
/** application which owns documents */
|
1101
|
-
appDefId?: string | null;
|
1102
|
-
/** type of the documents */
|
1103
|
-
documentType?: string | null;
|
1104
|
-
/** language of the documents */
|
1105
|
-
language?: string | null;
|
1106
|
-
/** site documents belong to */
|
1107
|
-
msId?: string | null;
|
1108
|
-
}
|
1109
|
-
/** @oneof */
|
1110
|
-
interface UpdateDocumentsEventOperationOneOf {
|
1111
|
-
/** insert/update documents */
|
1112
|
-
update?: DocumentUpdateOperation;
|
1113
|
-
/** delete by document ids */
|
1114
|
-
deleteByIds?: DeleteByIdsOperation;
|
1115
|
-
/** delete documents matching filter */
|
1116
|
-
deleteByFilter?: DeleteByFilterOperation;
|
1117
|
-
/** update documents matching filter */
|
1118
|
-
updateByFilter?: UpdateByFilterOperation;
|
1119
|
-
/** update only existing documents */
|
1120
|
-
updateExisting?: UpdateExistingOperation;
|
1121
|
-
}
|
1122
|
-
interface DocumentUpdateOperation {
|
1123
|
-
/** documents to index or update */
|
1124
|
-
documents?: IndexDocument[];
|
1125
|
-
}
|
1126
|
-
interface IndexDocument {
|
1127
|
-
/** data bag with non-searchable fields (url, image) */
|
1128
|
-
payload?: DocumentPayload;
|
1129
|
-
/** what type of users should documents be visible to */
|
1130
|
-
exposure?: Enum;
|
1131
|
-
/** document with mandatory fields (id, title, description) and with fields specific to the type of the document */
|
1132
|
-
document?: Record<string, any> | null;
|
1133
|
-
/** what member groups is the document exposed to. Used only with GROUP_PROTECTED exposure */
|
1134
|
-
permittedMemberGroups?: string[];
|
1135
|
-
/** if true SEO is disabled for this document */
|
1136
|
-
seoHidden?: boolean | null;
|
1137
|
-
/** if true the page is a lightbox popup */
|
1138
|
-
isPopup?: boolean | null;
|
1139
|
-
}
|
1140
|
-
interface DocumentPayload {
|
1141
|
-
/** url of the page representing the document */
|
1142
|
-
url?: string | null;
|
1143
|
-
/** image which represents the document */
|
1144
|
-
documentImage?: DocumentImage;
|
1145
|
-
}
|
1146
|
-
interface DocumentImage {
|
1147
|
-
/** the name of the image */
|
1148
|
-
name?: string;
|
1149
|
-
/** the width of the image */
|
1150
|
-
width?: number;
|
1151
|
-
/** the height of the image */
|
1152
|
-
height?: number;
|
1153
|
-
}
|
1154
|
-
declare enum Enum {
|
1155
|
-
/** Default value. Means that permission not set */
|
1156
|
-
UNKNOWN = "UNKNOWN",
|
1157
|
-
/** Protected exposure. Exposed to members and owners */
|
1158
|
-
PROTECTED = "PROTECTED",
|
1159
|
-
/** Private exposure. Exposed to owners */
|
1160
|
-
PRIVATE = "PRIVATE",
|
1161
|
-
/** Public exposure. Visible to everyone */
|
1162
|
-
PUBLIC = "PUBLIC",
|
1163
|
-
/** Used for partial updates, to state that exposure is not changing */
|
1164
|
-
UNCHANGED = "UNCHANGED",
|
1165
|
-
/** Protected to members of permitted groups and owners */
|
1166
|
-
GROUP_PROTECTED = "GROUP_PROTECTED"
|
1167
|
-
}
|
1168
|
-
interface DeleteByIdsOperation {
|
1169
|
-
/** ids of the documents to delete */
|
1170
|
-
documentIds?: string[];
|
1171
|
-
}
|
1172
|
-
interface DeleteByFilterOperation {
|
1173
|
-
/** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */
|
1174
|
-
filter?: Record<string, any> | null;
|
1175
|
-
}
|
1176
|
-
interface UpdateByFilterOperation {
|
1177
|
-
/** documents matching this filter will be updated */
|
1178
|
-
filter?: Record<string, any> | null;
|
1179
|
-
/** partial document to apply */
|
1180
|
-
document?: IndexDocument;
|
1181
|
-
}
|
1182
|
-
interface UpdateExistingOperation {
|
1183
|
-
/** documents to update */
|
1184
|
-
documents?: IndexDocument[];
|
1185
|
-
}
|
1186
|
-
interface SearchIndexingNotification {
|
1187
|
-
/** new state of indexing for the site specified in ms_id */
|
1188
|
-
indexState?: SearchIndexingNotificationState;
|
1189
|
-
/** type of the document the notification is targeted for. Applies to all types if not provided */
|
1190
|
-
documentType?: string | null;
|
1191
|
-
/** languaInternalDocumentUpdateByFilterOperationge the notification is targeted for. Applies to all languages if not provided */
|
1192
|
-
language?: string | null;
|
1193
|
-
/** site for which notification is targeted */
|
1194
|
-
msId?: string | null;
|
1195
|
-
}
|
1196
|
-
declare enum SearchIndexingNotificationState {
|
1197
|
-
/** default state */
|
1198
|
-
Unknown = "Unknown",
|
1199
|
-
/** metasite does not require site search indexing */
|
1200
|
-
Off = "Off",
|
1201
|
-
/** metasite requires site search indexing */
|
1202
|
-
On = "On"
|
1203
|
-
}
|
1204
|
-
interface ListGalleriesItemsRequest {
|
1205
|
-
/** IDs of the media items to retrieve. */
|
1206
|
-
itemsId?: ItemId[];
|
1207
|
-
}
|
1208
|
-
interface ItemId {
|
1209
|
-
/** Gallery ID. */
|
1210
|
-
galleryId?: string;
|
1211
|
-
/** Item ID. */
|
1212
|
-
itemId?: string;
|
1213
|
-
}
|
1214
|
-
interface ListGalleriesItemsResponse {
|
1215
|
-
/** Retrieved media items. */
|
1216
|
-
itemsInGalleries?: ItemsInGallery[];
|
1217
|
-
}
|
1218
|
-
interface ItemsInGallery {
|
1219
|
-
/** Gallery ID. */
|
1220
|
-
galleryId?: string;
|
1221
|
-
/** Retrieved media items. */
|
1222
|
-
items?: Item[];
|
1223
|
-
}
|
1224
|
-
interface GalleryItemCreated {
|
1225
|
-
/** Created gallery item. */
|
1226
|
-
item?: Item;
|
1227
|
-
}
|
1228
|
-
interface GalleryItemUpdated {
|
1229
|
-
/** Updated gallery item. */
|
1230
|
-
updatedItem?: Item;
|
1231
|
-
}
|
1232
|
-
interface GalleryItemDeleted {
|
1233
|
-
/** ID of the deleted gallery item. */
|
1234
|
-
itemId?: string;
|
1235
|
-
}
|
1236
|
-
interface ListGalleriesRequest {
|
1237
|
-
/** Number of galleries to list. Defaults to `10`. */
|
1238
|
-
itemLimit?: number | null;
|
1239
|
-
/** Number of galleries to skip in the returns. Defaults to `0`. */
|
1240
|
-
offset?: number | null;
|
1241
|
-
/** Number of galleries to list. Defaults to `10`. */
|
1242
|
-
limit?: number | null;
|
1243
|
-
}
|
1244
|
-
declare enum State {
|
1245
|
-
UNDEFINED = "UNDEFINED",
|
1246
|
-
/** The gallery in the Editor segment */
|
1247
|
-
SAVED = "SAVED",
|
1248
|
-
/** The gallery in the LiveSite segment */
|
1249
|
-
PUBLISHED = "PUBLISHED"
|
1250
|
-
}
|
1251
|
-
interface ListGalleriesResponse {
|
1252
|
-
/** Total number of galleries in the site. */
|
1253
|
-
totalGalleries?: number | null;
|
1254
|
-
/** List of galleries. Sorted by `_createdDate`. */
|
1255
|
-
galleries?: Gallery[];
|
1256
|
-
}
|
1257
|
-
interface GetGalleryRequest extends GetGalleryRequestVersionOneOf {
|
1258
|
-
/** Gallery ID. */
|
1259
|
-
galleryId: string;
|
1260
|
-
/** Number of media items to skip in the returns. Defaults to `0`. */
|
1261
|
-
itemOffset?: number | null;
|
1262
|
-
/**
|
1263
|
-
* Maximum number of media items to return. <br />
|
1264
|
-
*
|
1265
|
-
* Min: `1` <br />
|
1266
|
-
* Max: `100` <br />
|
1267
|
-
* Default: `50`
|
1268
|
-
*/
|
1269
|
-
itemLimit?: number | null;
|
1270
|
-
}
|
1271
|
-
/** @oneof */
|
1272
|
-
interface GetGalleryRequestVersionOneOf {
|
1273
|
-
}
|
1274
|
-
interface GetGalleryResponse {
|
1275
|
-
/** Returned gallery. */
|
1276
|
-
gallery?: Gallery;
|
1277
|
-
}
|
1278
|
-
interface ListGalleryItemsRequest {
|
1279
|
-
/** Gallery ID. */
|
1280
|
-
galleryId: string;
|
1281
|
-
/** Number of media items to skip in the returns. Defaults to `0`. */
|
1282
|
-
itemOffset?: number | null;
|
1283
|
-
/**
|
1284
|
-
* Maximum number of media items to return. <br />
|
1285
|
-
*
|
1286
|
-
* Min: `1` <br />
|
1287
|
-
* Max: `100` <br />
|
1288
|
-
* Default: `50`
|
1289
|
-
*/
|
1290
|
-
itemLimit?: number | null;
|
1291
|
-
}
|
1292
|
-
interface ListGalleryItemsResponse {
|
1293
|
-
/** List of media items in the gallery. */
|
1294
|
-
items?: Item[];
|
1295
|
-
}
|
1296
|
-
interface GetGalleryItemRequest {
|
1297
|
-
/** Gallery ID. */
|
1298
|
-
galleryId: string;
|
1299
|
-
/** Item ID. */
|
1300
|
-
itemId: string;
|
1301
|
-
}
|
1302
|
-
interface GetGalleryItemResponse {
|
1303
|
-
/** Returned media item. */
|
1304
|
-
item?: Item;
|
1305
|
-
}
|
1306
|
-
interface CreateGalleryRequest {
|
1307
|
-
/** Gallery to create. */
|
1308
|
-
gallery?: Gallery;
|
1309
|
-
/** Gallery ID to clone from. */
|
1310
|
-
cloneFromGalleryId?: string | null;
|
1311
|
-
}
|
1312
|
-
interface CreateGalleryResponse {
|
1313
|
-
/** Created gallery. */
|
1314
|
-
gallery?: Gallery;
|
1315
|
-
}
|
1316
|
-
interface UpdateGalleryRequest {
|
1317
|
-
/** Gallery to update. */
|
1318
|
-
gallery: Gallery;
|
1319
|
-
}
|
1320
|
-
interface UpdateGalleryResponse {
|
1321
|
-
/** Updated gallery. */
|
1322
|
-
gallery?: Gallery;
|
1323
|
-
}
|
1324
|
-
interface DeleteGalleryRequest {
|
1325
|
-
/** ID of the gallery to delete. */
|
1326
|
-
galleryId: string;
|
1327
|
-
}
|
1328
|
-
interface DeleteGalleryResponse {
|
1329
|
-
/**
|
1330
|
-
* ID of the deleted gallery.
|
1331
|
-
* @readonly
|
1332
|
-
*/
|
1333
|
-
galleryId?: string;
|
1334
|
-
}
|
1335
|
-
interface DeleteGalleryItemsRequest {
|
1336
|
-
/** Gallery ID. */
|
1337
|
-
galleryId: string;
|
1338
|
-
/** ID of the media item to delete. */
|
1339
|
-
itemsIds?: string[];
|
1340
|
-
}
|
1341
|
-
interface DeleteGalleryItemsResponse {
|
1342
|
-
/** Gallery that previously included the deleted media item. */
|
1343
|
-
gallery?: Gallery;
|
1344
|
-
}
|
1345
|
-
interface BulkDeleteGalleryItemsRequest {
|
1346
|
-
/** Gallery ID. */
|
1347
|
-
galleryId: string;
|
1348
|
-
/** IDs of the media items to delete. */
|
1349
|
-
itemIds: string[];
|
1350
|
-
}
|
1351
|
-
interface BulkDeleteGalleryItemsResponse {
|
1352
|
-
/**
|
1353
|
-
* IDs of the deleted media items.
|
1354
|
-
* @readonly
|
1355
|
-
*/
|
1356
|
-
itemIds?: string[];
|
1357
|
-
}
|
1358
|
-
interface CreateGalleryItemRequest {
|
1359
|
-
/** Gallery ID. */
|
1360
|
-
galleryId: string;
|
1361
|
-
/** Media item to create. */
|
1362
|
-
item: Item;
|
1363
|
-
}
|
1364
|
-
interface CreateGalleryItemResponse {
|
1365
|
-
/** Created media item. */
|
1366
|
-
item?: Item;
|
1367
|
-
}
|
1368
|
-
interface CreateGalleryItemsRequest {
|
1369
|
-
/** Gallery ID. */
|
1370
|
-
galleryId?: string;
|
1371
|
-
/** Media items to create. */
|
1372
|
-
items?: Item[];
|
1373
|
-
}
|
1374
|
-
interface CreateGalleryItemsResponse {
|
1375
|
-
/** Created media items. */
|
1376
|
-
items?: Item[];
|
1377
|
-
}
|
1378
|
-
interface UpdateGalleryItemRequest {
|
1379
|
-
/** Gallery ID. */
|
1380
|
-
galleryId: string;
|
1381
|
-
/** The information for the media item being updated. */
|
1382
|
-
item: Item;
|
1383
|
-
}
|
1384
|
-
interface UpdateGalleryItemResponse {
|
1385
|
-
/** Updated media item. */
|
1386
|
-
item?: Item;
|
1387
|
-
}
|
1388
|
-
interface DeleteGalleryItemRequest {
|
1389
|
-
/** Gallery ID. */
|
1390
|
-
galleryId: string;
|
1391
|
-
/** ID of the media item to delete. */
|
1392
|
-
itemId: string;
|
1393
|
-
}
|
1394
|
-
interface DeleteGalleryItemResponse {
|
1395
|
-
/**
|
1396
|
-
* ID of the deleted media item.
|
1397
|
-
* @readonly
|
1398
|
-
*/
|
1399
|
-
itemId?: string;
|
1400
|
-
}
|
1401
|
-
interface PublishGalleryRequest {
|
1402
|
-
/** ID of the gallery to publish. */
|
1403
|
-
galleryId?: string;
|
1404
|
-
}
|
1405
|
-
interface PublishGalleryResponse {
|
1406
|
-
/** Published gallery. */
|
1407
|
-
gallery?: Gallery;
|
1408
|
-
}
|
1409
|
-
interface PointNonNullableFields {
|
1410
|
-
x: number;
|
1411
|
-
y: number;
|
1412
|
-
}
|
1413
|
-
interface ImageNonNullableFields {
|
1414
|
-
type: ImageType;
|
1415
|
-
imageInfo: string;
|
1416
|
-
focalPoint?: PointNonNullableFields;
|
1417
|
-
}
|
1418
|
-
interface VideoNonNullableFields {
|
1419
|
-
type: VideoType;
|
1420
|
-
videoInfo: string;
|
1421
|
-
}
|
1422
|
-
interface ExternalLinkNonNullableFields {
|
1423
|
-
url: string;
|
1424
|
-
}
|
1425
|
-
interface PageLinkNonNullableFields {
|
1426
|
-
pageId: string;
|
1427
|
-
rel: LinkRel[];
|
1428
|
-
}
|
1429
|
-
interface AnchorLinkNonNullableFields {
|
1430
|
-
anchorName: string;
|
1431
|
-
anchorDataId: string;
|
1432
|
-
pageId: string;
|
1433
|
-
rel: LinkRel[];
|
1434
|
-
}
|
1435
|
-
interface DynamicPageLinkNonNullableFields {
|
1436
|
-
routerId: string;
|
1437
|
-
innerRoute: string;
|
1438
|
-
rel: LinkRel[];
|
1439
|
-
}
|
1440
|
-
interface DocumentLinkNonNullableFields {
|
1441
|
-
docId: string;
|
1442
|
-
indexable: boolean;
|
1443
|
-
}
|
1444
|
-
interface EmailLinkNonNullableFields {
|
1445
|
-
recipient: string;
|
1446
|
-
}
|
1447
|
-
interface PhoneLinkNonNullableFields {
|
1448
|
-
phoneNumber: string;
|
1449
|
-
}
|
1450
|
-
interface AddressLinkNonNullableFields {
|
1451
|
-
address: string;
|
1452
|
-
}
|
1453
|
-
interface WhatsAppLinkNonNullableFields {
|
1454
|
-
phoneNumber: string;
|
1455
|
-
}
|
1456
|
-
interface TpaPageLinkNonNullableFields {
|
1457
|
-
itemTypeIdentifier: string;
|
1458
|
-
itemId: string;
|
1459
|
-
pageId: string;
|
1460
|
-
appDefinitionId: string;
|
1461
|
-
path: string;
|
1462
|
-
rel: LinkRel[];
|
1463
|
-
}
|
1464
|
-
interface WixLinkNonNullableFields {
|
1465
|
-
external?: ExternalLinkNonNullableFields;
|
1466
|
-
page?: PageLinkNonNullableFields;
|
1467
|
-
anchor?: AnchorLinkNonNullableFields;
|
1468
|
-
dynamicPage?: DynamicPageLinkNonNullableFields;
|
1469
|
-
document?: DocumentLinkNonNullableFields;
|
1470
|
-
email?: EmailLinkNonNullableFields;
|
1471
|
-
phone?: PhoneLinkNonNullableFields;
|
1472
|
-
address?: AddressLinkNonNullableFields;
|
1473
|
-
whatsApp?: WhatsAppLinkNonNullableFields;
|
1474
|
-
tpaPage?: TpaPageLinkNonNullableFields;
|
1475
|
-
}
|
1476
|
-
interface LinkNonNullableFields {
|
1477
|
-
type: LinkType;
|
1478
|
-
wixLinkData?: WixLinkNonNullableFields;
|
1479
|
-
}
|
1480
|
-
interface TagsNonNullableFields {
|
1481
|
-
values: string[];
|
1482
|
-
}
|
1483
|
-
interface SecondaryMediaNonNullableFields {
|
1484
|
-
image?: ImageNonNullableFields;
|
1485
|
-
}
|
1486
|
-
interface ItemNonNullableFields {
|
1487
|
-
image?: ImageNonNullableFields;
|
1488
|
-
video?: VideoNonNullableFields;
|
1489
|
-
link?: LinkNonNullableFields;
|
1490
|
-
type: Type;
|
1491
|
-
tags?: TagsNonNullableFields;
|
1492
|
-
secondaryMedia?: SecondaryMediaNonNullableFields;
|
1493
|
-
}
|
1494
|
-
interface GalleryNonNullableFields {
|
1495
|
-
items: ItemNonNullableFields[];
|
1496
|
-
}
|
1497
|
-
interface ListGalleriesResponseNonNullableFields {
|
1498
|
-
galleries: GalleryNonNullableFields[];
|
1499
|
-
}
|
1500
|
-
interface GetGalleryResponseNonNullableFields {
|
1501
|
-
gallery?: GalleryNonNullableFields;
|
1502
|
-
}
|
1503
|
-
interface ListGalleryItemsResponseNonNullableFields {
|
1504
|
-
items: ItemNonNullableFields[];
|
1505
|
-
}
|
1506
|
-
interface GetGalleryItemResponseNonNullableFields {
|
1507
|
-
item?: ItemNonNullableFields;
|
1508
|
-
}
|
1509
|
-
interface CreateGalleryResponseNonNullableFields {
|
1510
|
-
gallery?: GalleryNonNullableFields;
|
1511
|
-
}
|
1512
|
-
interface UpdateGalleryResponseNonNullableFields {
|
1513
|
-
gallery?: GalleryNonNullableFields;
|
1514
|
-
}
|
1515
|
-
interface DeleteGalleryResponseNonNullableFields {
|
1516
|
-
galleryId: string;
|
1517
|
-
}
|
1518
|
-
interface DeleteGalleryItemsResponseNonNullableFields {
|
1519
|
-
gallery?: GalleryNonNullableFields;
|
1520
|
-
}
|
1521
|
-
interface BulkDeleteGalleryItemsResponseNonNullableFields {
|
1522
|
-
itemIds: string[];
|
1523
|
-
}
|
1524
|
-
interface CreateGalleryItemResponseNonNullableFields {
|
1525
|
-
item?: ItemNonNullableFields;
|
1526
|
-
}
|
1527
|
-
interface UpdateGalleryItemResponseNonNullableFields {
|
1528
|
-
item?: ItemNonNullableFields;
|
1529
|
-
}
|
1530
|
-
interface DeleteGalleryItemResponseNonNullableFields {
|
1531
|
-
itemId: string;
|
1532
|
-
}
|
1533
|
-
interface BaseEventMetadata {
|
1534
|
-
/** App instance ID. */
|
1535
|
-
instanceId?: string | null;
|
1536
|
-
/** Event type. */
|
1537
|
-
eventType?: string;
|
1538
|
-
/** The identification type and identity data. */
|
1539
|
-
identity?: IdentificationData;
|
1540
|
-
}
|
1541
|
-
interface EventMetadata extends BaseEventMetadata {
|
1542
|
-
/**
|
1543
|
-
* Unique event ID.
|
1544
|
-
* Allows clients to ignore duplicate webhooks.
|
1545
|
-
*/
|
1546
|
-
_id?: string;
|
1547
|
-
/**
|
1548
|
-
* Assumes actions are also always typed to an entity_type
|
1549
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
1550
|
-
*/
|
1551
|
-
entityFqdn?: string;
|
1552
|
-
/**
|
1553
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
1554
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
1555
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
1556
|
-
*/
|
1557
|
-
slug?: string;
|
1558
|
-
/** ID of the entity associated with the event. */
|
1559
|
-
entityId?: string;
|
1560
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
1561
|
-
eventTime?: Date | null;
|
1562
|
-
/**
|
1563
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
1564
|
-
* (for example, GDPR).
|
1565
|
-
*/
|
1566
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
1567
|
-
/** If present, indicates the action that triggered the event. */
|
1568
|
-
originatedFrom?: string | null;
|
1569
|
-
/**
|
1570
|
-
* A sequence number defining the order of updates to the underlying entity.
|
1571
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
1572
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
1573
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
1574
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
1575
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
1576
|
-
*/
|
1577
|
-
entityEventSequence?: string | null;
|
1578
|
-
}
|
1579
|
-
interface GalleryCreatedEnvelope {
|
1580
|
-
entity: Gallery;
|
1581
|
-
metadata: EventMetadata;
|
1582
|
-
}
|
1583
|
-
interface GalleryUpdatedEnvelope {
|
1584
|
-
entity: Gallery;
|
1585
|
-
metadata: EventMetadata;
|
1586
|
-
}
|
1587
|
-
interface GalleryDeletedEnvelope {
|
1588
|
-
metadata: EventMetadata;
|
1589
|
-
}
|
1590
|
-
interface GalleryItemCreatedEnvelope {
|
1591
|
-
data: GalleryItemCreated;
|
1592
|
-
metadata: EventMetadata;
|
1593
|
-
}
|
1594
|
-
interface GalleryItemUpdatedEnvelope {
|
1595
|
-
data: GalleryItemUpdated;
|
1596
|
-
metadata: EventMetadata;
|
1597
|
-
}
|
1598
|
-
interface GalleryItemDeletedEnvelope {
|
1599
|
-
data: GalleryItemDeleted;
|
1600
|
-
metadata: EventMetadata;
|
1601
|
-
}
|
1602
|
-
interface ListGalleriesOptions {
|
1603
|
-
/** Number of galleries to list. Defaults to `10`. */
|
1604
|
-
itemLimit?: number | null;
|
1605
|
-
/** Number of galleries to skip in the returns. Defaults to `0`. */
|
1606
|
-
offset?: number | null;
|
1607
|
-
/** Number of galleries to list. Defaults to `10`. */
|
1608
|
-
limit?: number | null;
|
1609
|
-
}
|
1610
|
-
interface GetGalleryOptions extends GetGalleryRequestVersionOneOf {
|
1611
|
-
/** Number of media items to skip in the returns. Defaults to `0`. */
|
1612
|
-
itemOffset?: number | null;
|
1613
|
-
/**
|
1614
|
-
* Maximum number of media items to return. <br />
|
1615
|
-
*
|
1616
|
-
* Min: `1` <br />
|
1617
|
-
* Max: `100` <br />
|
1618
|
-
* Default: `50`
|
1619
|
-
*/
|
1620
|
-
itemLimit?: number | null;
|
1621
|
-
}
|
1622
|
-
interface ListGalleryItemsOptions {
|
1623
|
-
/** Number of media items to skip in the returns. Defaults to `0`. */
|
1624
|
-
itemOffset?: number | null;
|
1625
|
-
/**
|
1626
|
-
* Maximum number of media items to return. <br />
|
1627
|
-
*
|
1628
|
-
* Min: `1` <br />
|
1629
|
-
* Max: `100` <br />
|
1630
|
-
* Default: `50`
|
1631
|
-
*/
|
1632
|
-
itemLimit?: number | null;
|
1633
|
-
}
|
1634
|
-
interface GetGalleryItemIdentifiers {
|
1635
|
-
/** Gallery ID. */
|
1636
|
-
galleryId: string;
|
1637
|
-
/** Item ID. */
|
1638
|
-
itemId: string;
|
1639
|
-
}
|
1640
|
-
interface CreateGalleryOptions {
|
1641
|
-
/** Gallery to create. */
|
1642
|
-
gallery?: Gallery;
|
1643
|
-
/** Gallery ID to clone from. */
|
1644
|
-
cloneFromGalleryId?: string | null;
|
1645
|
-
}
|
1646
|
-
interface UpdateGallery {
|
1647
|
-
/**
|
1648
|
-
* Gallery ID.
|
1649
|
-
* @readonly
|
1650
|
-
*/
|
1651
|
-
_id?: string | null;
|
1652
|
-
/** Gallery name. */
|
1653
|
-
name?: string | null;
|
1654
|
-
/**
|
1655
|
-
* Total number of items in the gallery.
|
1656
|
-
* @readonly
|
1657
|
-
*/
|
1658
|
-
totalItems?: number | null;
|
1659
|
-
/** Media items in the gallery. */
|
1660
|
-
items?: Item[];
|
1661
|
-
/**
|
1662
|
-
* Index that determines which position a gallery is displayed on the site. <br />
|
1663
|
-
*
|
1664
|
-
* >**Note:** If you assign the same sort order index to more than one gallery, the function fails.
|
1665
|
-
*/
|
1666
|
-
sortOrder?: number | null;
|
1667
|
-
/**
|
1668
|
-
* Date and time the gallery was created.
|
1669
|
-
* @readonly
|
1670
|
-
*/
|
1671
|
-
_createdDate?: Date | null;
|
1672
|
-
}
|
1673
|
-
interface DeleteGalleryItemsOptions {
|
1674
|
-
/** ID of the media item to delete. */
|
1675
|
-
itemsIds?: string[];
|
1676
|
-
}
|
1677
|
-
interface UpdateGalleryItemIdentifiers {
|
1678
|
-
/** ID of the gallery containing the item to update. */
|
1679
|
-
galleryId: string;
|
1680
|
-
/**
|
1681
|
-
* ID of the item to update.
|
1682
|
-
* @readonly
|
1683
|
-
*/
|
1684
|
-
itemId?: string | null;
|
1685
|
-
}
|
1686
|
-
interface UpdateGalleryItem {
|
1687
|
-
/** Details about the image. */
|
1688
|
-
image?: Image;
|
1689
|
-
/** Details about the video. */
|
1690
|
-
video?: Video;
|
1691
|
-
/** Details about the text file. */
|
1692
|
-
text?: Text;
|
1693
|
-
/**
|
1694
|
-
* Item ID.
|
1695
|
-
* @readonly
|
1696
|
-
*/
|
1697
|
-
_id?: string | null;
|
1698
|
-
/**
|
1699
|
-
* Index that determines which position a media item is displayed in the gallery. <br />
|
1700
|
-
*
|
1701
|
-
* Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
|
1702
|
-
*
|
1703
|
-
* >**Note:** If you assign the same sort order index to more than one media item in a gallery, the function fails.
|
1704
|
-
*/
|
1705
|
-
sortOrder?: number | null;
|
1706
|
-
/** Item title. */
|
1707
|
-
title?: string | null;
|
1708
|
-
/** Item description. */
|
1709
|
-
description?: string | null;
|
1710
|
-
/** Link from the item. You can link to Wix sites or external URLs. */
|
1711
|
-
link?: Link;
|
1712
|
-
/** @readonly */
|
1713
|
-
type?: Type;
|
1714
|
-
/**
|
1715
|
-
* Date and time the item was created.
|
1716
|
-
* @readonly
|
1717
|
-
*/
|
1718
|
-
_createdDate?: Date | null;
|
1719
|
-
/**
|
1720
|
-
* Date and time the item was last updated.
|
1721
|
-
* @readonly
|
1722
|
-
*/
|
1723
|
-
_updatedDate?: Date | null;
|
1724
|
-
/** Item tags. */
|
1725
|
-
tags?: Tags;
|
1726
|
-
}
|
1727
|
-
interface DeleteGalleryItemIdentifiers {
|
1728
|
-
/** Gallery ID. */
|
1729
|
-
galleryId: string;
|
1730
|
-
/** ID of the media item to delete. */
|
1731
|
-
itemId: string;
|
1732
|
-
}
|
1733
|
-
|
1734
|
-
declare function listGalleries$1(httpClient: HttpClient): ListGalleriesSignature;
|
1735
|
-
interface ListGalleriesSignature {
|
1736
|
-
/**
|
1737
|
-
* Retrieves a list of galleries.
|
1738
|
-
*
|
1739
|
-
* 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.
|
1740
|
-
* @param - Options to use when getting the list of galleries.
|
1741
|
-
*/
|
1742
|
-
(options?: ListGalleriesOptions | undefined): Promise<ListGalleriesResponse & ListGalleriesResponseNonNullableFields>;
|
1743
|
-
}
|
1744
|
-
declare function getGallery$1(httpClient: HttpClient): GetGallerySignature;
|
1745
|
-
interface GetGallerySignature {
|
1746
|
-
/**
|
1747
|
-
* Retrieves a gallery by ID.
|
1748
|
-
* @param - Gallery ID.
|
1749
|
-
* @param - Options to use when getting the gallery.
|
1750
|
-
* @returns Returned gallery.
|
1751
|
-
*/
|
1752
|
-
(galleryId: string, options?: GetGalleryOptions | undefined): Promise<Gallery & GalleryNonNullableFields>;
|
1753
|
-
}
|
1754
|
-
declare function listGalleryItems$1(httpClient: HttpClient): ListGalleryItemsSignature;
|
1755
|
-
interface ListGalleryItemsSignature {
|
1756
|
-
/**
|
1757
|
-
* Retrieves a list of media items in a specified gallery.
|
1758
|
-
*
|
1759
|
-
* This function retrieves a list of up to 100 gallery items. The gallery items are listed by `sortOrder` in descending order.
|
1760
|
-
* @param - Gallery ID.
|
1761
|
-
* @param - Options to use when getting the list of gallery items.
|
1762
|
-
*/
|
1763
|
-
(galleryId: string, options?: ListGalleryItemsOptions | undefined): Promise<ListGalleryItemsResponse & ListGalleryItemsResponseNonNullableFields>;
|
1764
|
-
}
|
1765
|
-
declare function getGalleryItem$1(httpClient: HttpClient): GetGalleryItemSignature;
|
1766
|
-
interface GetGalleryItemSignature {
|
1767
|
-
/**
|
1768
|
-
* Retrieves a gallery item by ID.
|
1769
|
-
* @param - Gallery ID and Item ID.
|
1770
|
-
* @returns Returned media item.
|
1771
|
-
*/
|
1772
|
-
(identifiers: GetGalleryItemIdentifiers): Promise<Item & ItemNonNullableFields>;
|
1773
|
-
}
|
1774
|
-
declare function createGallery$1(httpClient: HttpClient): CreateGallerySignature;
|
1775
|
-
interface CreateGallerySignature {
|
1776
|
-
/**
|
1777
|
-
* Creates a new gallery.
|
1778
|
-
*
|
1779
|
-
* 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.
|
1780
|
-
*
|
1781
|
-
* 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).
|
1782
|
-
*
|
1783
|
-
* <blockquote class="important">
|
1784
|
-
*
|
1785
|
-
* __Important:__
|
1786
|
-
* 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.
|
1787
|
-
*
|
1788
|
-
* </blockquote>
|
1789
|
-
* @param - Options to use when creating the gallery.
|
1790
|
-
* @returns Created gallery.
|
1791
|
-
*/
|
1792
|
-
(options?: CreateGalleryOptions | undefined): Promise<Gallery & GalleryNonNullableFields>;
|
1793
|
-
}
|
1794
|
-
declare function updateGallery$1(httpClient: HttpClient): UpdateGallerySignature;
|
1795
|
-
interface UpdateGallerySignature {
|
1796
|
-
/**
|
1797
|
-
* Updates a gallery.
|
1798
|
-
*
|
1799
|
-
* Only the fields in the `gallery` object parameter can be updated. Specify which fields to update. Unspecified fields remain the same.
|
1800
|
-
*
|
1801
|
-
* <blockquote class="important">
|
1802
|
-
*
|
1803
|
-
* __Important:__
|
1804
|
-
* 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.
|
1805
|
-
*
|
1806
|
-
* </blockquote>
|
1807
|
-
* @param - ID of the gallery to update.
|
1808
|
-
* @param - The information for the gallery being updated.
|
1809
|
-
* @returns Updated gallery.
|
1810
|
-
*/
|
1811
|
-
(_id: string | null, gallery: UpdateGallery): Promise<Gallery & GalleryNonNullableFields>;
|
1812
|
-
}
|
1813
|
-
declare function deleteGallery$1(httpClient: HttpClient): DeleteGallerySignature;
|
1814
|
-
interface DeleteGallerySignature {
|
1815
|
-
/**
|
1816
|
-
* Deletes a gallery.
|
1817
|
-
*
|
1818
|
-
* When a gallery is deleted, the deleted gallery is no longer returned when calling the [`listGalleries()`](/pro-gallery/list-galleries) function.
|
1819
|
-
* @param - ID of the gallery to delete.
|
1820
|
-
*/
|
1821
|
-
(galleryId: string): Promise<DeleteGalleryResponse & DeleteGalleryResponseNonNullableFields>;
|
1822
|
-
}
|
1823
|
-
declare function deleteGalleryItems$1(httpClient: HttpClient): DeleteGalleryItemsSignature;
|
1824
|
-
interface DeleteGalleryItemsSignature {
|
1825
|
-
/**
|
1826
|
-
* Deletes multiple media items from a gallery.
|
1827
|
-
* @param - Gallery ID.
|
1828
|
-
* @deprecated
|
1829
|
-
*/
|
1830
|
-
(galleryId: string, options?: DeleteGalleryItemsOptions | undefined): Promise<DeleteGalleryItemsResponse & DeleteGalleryItemsResponseNonNullableFields>;
|
1831
|
-
}
|
1832
|
-
declare function bulkDeleteGalleryItems$1(httpClient: HttpClient): BulkDeleteGalleryItemsSignature;
|
1833
|
-
interface BulkDeleteGalleryItemsSignature {
|
1834
|
-
/**
|
1835
|
-
* Deletes multiple media items from a gallery.
|
1836
|
-
* @param - Gallery ID.
|
1837
|
-
* @param - IDs of the media items to delete.
|
1838
|
-
*/
|
1839
|
-
(galleryId: string, itemIds: string[]): Promise<BulkDeleteGalleryItemsResponse & BulkDeleteGalleryItemsResponseNonNullableFields>;
|
1840
|
-
}
|
1841
|
-
declare function createGalleryItem$1(httpClient: HttpClient): CreateGalleryItemSignature;
|
1842
|
-
interface CreateGalleryItemSignature {
|
1843
|
-
/**
|
1844
|
-
* Creates a media item in a specified gallery.
|
1845
|
-
*
|
1846
|
-
* The `createGalleryItem()` function returns a Promise that resolves to a newly-created gallery item after it has successfully been created.
|
1847
|
-
*
|
1848
|
-
* <blockquote class="important">
|
1849
|
-
*
|
1850
|
-
* __Important:__
|
1851
|
-
* 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.
|
1852
|
-
*
|
1853
|
-
* </blockquote>
|
1854
|
-
* @param - Gallery ID.
|
1855
|
-
* @param - Media item to create.
|
1856
|
-
* @returns Created media item.
|
1857
|
-
*/
|
1858
|
-
(galleryId: string, item: Item): Promise<Item & ItemNonNullableFields>;
|
1859
|
-
}
|
1860
|
-
declare function updateGalleryItem$1(httpClient: HttpClient): UpdateGalleryItemSignature;
|
1861
|
-
interface UpdateGalleryItemSignature {
|
1862
|
-
/**
|
1863
|
-
* Updates a media item in a specified gallery.
|
1864
|
-
*
|
1865
|
-
* Only the fields in the `item` object parameter can be updated. Specify which fields to update. Unspecified fields remain the same.
|
1866
|
-
*
|
1867
|
-
* <blockquote class="important">
|
1868
|
-
*
|
1869
|
-
* __Important:__
|
1870
|
-
* 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.
|
1871
|
-
*
|
1872
|
-
* </blockquote>
|
1873
|
-
* @param - The information for the gallery item being updated.
|
1874
|
-
* @param - Gallery ID and Item ID.
|
1875
|
-
* @returns Updated media item.
|
1876
|
-
*/
|
1877
|
-
(identifiers: UpdateGalleryItemIdentifiers, item: UpdateGalleryItem): Promise<Item & ItemNonNullableFields>;
|
1878
|
-
}
|
1879
|
-
declare function deleteGalleryItem$1(httpClient: HttpClient): DeleteGalleryItemSignature;
|
1880
|
-
interface DeleteGalleryItemSignature {
|
1881
|
-
/**
|
1882
|
-
* Deletes a media item from a gallery.
|
1883
|
-
*
|
1884
|
-
* When a gallery item is deleted, the deleted gallery item is no longer returned when calling the [`listGalleryItems()`](/pro-gallery/list-gallery-items) function.
|
1885
|
-
* @param - Gallery ID and Item ID.
|
1886
|
-
*/
|
1887
|
-
(identifiers: DeleteGalleryItemIdentifiers): Promise<DeleteGalleryItemResponse & DeleteGalleryItemResponseNonNullableFields>;
|
1888
|
-
}
|
1889
|
-
declare const onGalleryCreated$1: EventDefinition<GalleryCreatedEnvelope, "wix.pro_gallery.gallery_v2_created">;
|
1890
|
-
declare const onGalleryUpdated$1: EventDefinition<GalleryUpdatedEnvelope, "wix.pro_gallery.gallery_v2_updated">;
|
1891
|
-
declare const onGalleryDeleted$1: EventDefinition<GalleryDeletedEnvelope, "wix.pro_gallery.gallery_v2_deleted">;
|
1892
|
-
declare const onGalleryItemCreated$1: EventDefinition<GalleryItemCreatedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_created">;
|
1893
|
-
declare const onGalleryItemUpdated$1: EventDefinition<GalleryItemUpdatedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_updated">;
|
1894
|
-
declare const onGalleryItemDeleted$1: EventDefinition<GalleryItemDeletedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_deleted">;
|
1895
|
-
|
1896
|
-
declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
1897
|
-
|
1898
|
-
declare const listGalleries: MaybeContext<BuildRESTFunction<typeof listGalleries$1> & typeof listGalleries$1>;
|
1899
|
-
declare const getGallery: MaybeContext<BuildRESTFunction<typeof getGallery$1> & typeof getGallery$1>;
|
1900
|
-
declare const listGalleryItems: MaybeContext<BuildRESTFunction<typeof listGalleryItems$1> & typeof listGalleryItems$1>;
|
1901
|
-
declare const getGalleryItem: MaybeContext<BuildRESTFunction<typeof getGalleryItem$1> & typeof getGalleryItem$1>;
|
1902
|
-
declare const createGallery: MaybeContext<BuildRESTFunction<typeof createGallery$1> & typeof createGallery$1>;
|
1903
|
-
declare const updateGallery: MaybeContext<BuildRESTFunction<typeof updateGallery$1> & typeof updateGallery$1>;
|
1904
|
-
declare const deleteGallery: MaybeContext<BuildRESTFunction<typeof deleteGallery$1> & typeof deleteGallery$1>;
|
1905
|
-
declare const deleteGalleryItems: MaybeContext<BuildRESTFunction<typeof deleteGalleryItems$1> & typeof deleteGalleryItems$1>;
|
1906
|
-
declare const bulkDeleteGalleryItems: MaybeContext<BuildRESTFunction<typeof bulkDeleteGalleryItems$1> & typeof bulkDeleteGalleryItems$1>;
|
1907
|
-
declare const createGalleryItem: MaybeContext<BuildRESTFunction<typeof createGalleryItem$1> & typeof createGalleryItem$1>;
|
1908
|
-
declare const updateGalleryItem: MaybeContext<BuildRESTFunction<typeof updateGalleryItem$1> & typeof updateGalleryItem$1>;
|
1909
|
-
declare const deleteGalleryItem: MaybeContext<BuildRESTFunction<typeof deleteGalleryItem$1> & typeof deleteGalleryItem$1>;
|
1910
|
-
|
1911
|
-
type _publicOnGalleryCreatedType = typeof onGalleryCreated$1;
|
1912
|
-
/**
|
1913
|
-
* Triggered when a gallery is created.
|
1914
|
-
*
|
1915
|
-
* > __Note:__ The event data doesn't include gallery items or their IDs.
|
1916
|
-
* > 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).
|
1917
|
-
*/
|
1918
|
-
declare const onGalleryCreated: ReturnType<typeof createEventModule<_publicOnGalleryCreatedType>>;
|
1919
|
-
|
1920
|
-
type _publicOnGalleryUpdatedType = typeof onGalleryUpdated$1;
|
1921
|
-
/**
|
1922
|
-
* Triggered when a gallery is updated.
|
1923
|
-
*
|
1924
|
-
* > __Note:__ The event data doesn't include gallery items or their IDs.
|
1925
|
-
* > 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).
|
1926
|
-
*/
|
1927
|
-
declare const onGalleryUpdated: ReturnType<typeof createEventModule<_publicOnGalleryUpdatedType>>;
|
1928
|
-
|
1929
|
-
type _publicOnGalleryDeletedType = typeof onGalleryDeleted$1;
|
1930
|
-
/**
|
1931
|
-
* Triggered when a gallery is deleted.
|
1932
|
-
*/
|
1933
|
-
declare const onGalleryDeleted: ReturnType<typeof createEventModule<_publicOnGalleryDeletedType>>;
|
1934
|
-
|
1935
|
-
type _publicOnGalleryItemCreatedType = typeof onGalleryItemCreated$1;
|
1936
|
-
/**
|
1937
|
-
* Triggered when a media item in a specified gallery is created.
|
1938
|
-
*/
|
1939
|
-
declare const onGalleryItemCreated: ReturnType<typeof createEventModule<_publicOnGalleryItemCreatedType>>;
|
1940
|
-
|
1941
|
-
type _publicOnGalleryItemUpdatedType = typeof onGalleryItemUpdated$1;
|
1942
|
-
/**
|
1943
|
-
* Triggered when a media item in a specified gallery is updated.
|
1944
|
-
*/
|
1945
|
-
declare const onGalleryItemUpdated: ReturnType<typeof createEventModule<_publicOnGalleryItemUpdatedType>>;
|
1946
|
-
|
1947
|
-
type _publicOnGalleryItemDeletedType = typeof onGalleryItemDeleted$1;
|
1948
|
-
/**
|
1949
|
-
* Triggered when a media item in a specified gallery is deleted.
|
1950
|
-
*
|
1951
|
-
* > __Note:__ The event is triggered when a gallery item is deleted individually and when a gallery item is deleted because its gallery is deleted.
|
1952
|
-
* > 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.
|
1953
|
-
*/
|
1954
|
-
declare const onGalleryItemDeleted: ReturnType<typeof createEventModule<_publicOnGalleryItemDeletedType>>;
|
1955
|
-
|
1956
|
-
type context_ActionEvent = ActionEvent;
|
1957
|
-
type context_AddressLink = AddressLink;
|
1958
|
-
type context_AnchorLink = AnchorLink;
|
1959
|
-
type context_App = App;
|
1960
|
-
type context_BaseEventMetadata = BaseEventMetadata;
|
1961
|
-
type context_BulkDeleteGalleryItemsRequest = BulkDeleteGalleryItemsRequest;
|
1962
|
-
type context_BulkDeleteGalleryItemsResponse = BulkDeleteGalleryItemsResponse;
|
1963
|
-
type context_BulkDeleteGalleryItemsResponseNonNullableFields = BulkDeleteGalleryItemsResponseNonNullableFields;
|
1964
|
-
type context_CleanDeletedGalleriesEvent = CleanDeletedGalleriesEvent;
|
1965
|
-
type context_CreateGalleryItemRequest = CreateGalleryItemRequest;
|
1966
|
-
type context_CreateGalleryItemResponse = CreateGalleryItemResponse;
|
1967
|
-
type context_CreateGalleryItemResponseNonNullableFields = CreateGalleryItemResponseNonNullableFields;
|
1968
|
-
type context_CreateGalleryItemsRequest = CreateGalleryItemsRequest;
|
1969
|
-
type context_CreateGalleryItemsResponse = CreateGalleryItemsResponse;
|
1970
|
-
type context_CreateGalleryOptions = CreateGalleryOptions;
|
1971
|
-
type context_CreateGalleryRequest = CreateGalleryRequest;
|
1972
|
-
type context_CreateGalleryResponse = CreateGalleryResponse;
|
1973
|
-
type context_CreateGalleryResponseNonNullableFields = CreateGalleryResponseNonNullableFields;
|
1974
|
-
type context_DeleteByFilterOperation = DeleteByFilterOperation;
|
1975
|
-
type context_DeleteByIdsOperation = DeleteByIdsOperation;
|
1976
|
-
type context_DeleteGalleryItemIdentifiers = DeleteGalleryItemIdentifiers;
|
1977
|
-
type context_DeleteGalleryItemRequest = DeleteGalleryItemRequest;
|
1978
|
-
type context_DeleteGalleryItemResponse = DeleteGalleryItemResponse;
|
1979
|
-
type context_DeleteGalleryItemResponseNonNullableFields = DeleteGalleryItemResponseNonNullableFields;
|
1980
|
-
type context_DeleteGalleryItemsOptions = DeleteGalleryItemsOptions;
|
1981
|
-
type context_DeleteGalleryItemsRequest = DeleteGalleryItemsRequest;
|
1982
|
-
type context_DeleteGalleryItemsResponse = DeleteGalleryItemsResponse;
|
1983
|
-
type context_DeleteGalleryItemsResponseNonNullableFields = DeleteGalleryItemsResponseNonNullableFields;
|
1984
|
-
type context_DeleteGalleryRequest = DeleteGalleryRequest;
|
1985
|
-
type context_DeleteGalleryResponse = DeleteGalleryResponse;
|
1986
|
-
type context_DeleteGalleryResponseNonNullableFields = DeleteGalleryResponseNonNullableFields;
|
1987
|
-
type context_DocumentImage = DocumentImage;
|
1988
|
-
type context_DocumentLink = DocumentLink;
|
1989
|
-
type context_DocumentPayload = DocumentPayload;
|
1990
|
-
type context_DocumentUpdateOperation = DocumentUpdateOperation;
|
1991
|
-
type context_DomainEvent = DomainEvent;
|
1992
|
-
type context_DomainEventBodyOneOf = DomainEventBodyOneOf;
|
1993
|
-
type context_DynamicPageLink = DynamicPageLink;
|
1994
|
-
type context_EmailLink = EmailLink;
|
1995
|
-
type context_Empty = Empty;
|
1996
|
-
type context_EntityCreatedEvent = EntityCreatedEvent;
|
1997
|
-
type context_EntityDeletedEvent = EntityDeletedEvent;
|
1998
|
-
type context_EntityUpdatedEvent = EntityUpdatedEvent;
|
1999
|
-
type context_Enum = Enum;
|
2000
|
-
declare const context_Enum: typeof Enum;
|
2001
|
-
type context_EventMetadata = EventMetadata;
|
2002
|
-
type context_EventsPage = EventsPage;
|
2003
|
-
type context_ExternalLink = ExternalLink;
|
2004
|
-
type context_File = File;
|
2005
|
-
type context_Gallery = Gallery;
|
2006
|
-
type context_GalleryCreatedEnvelope = GalleryCreatedEnvelope;
|
2007
|
-
type context_GalleryDeletedEnvelope = GalleryDeletedEnvelope;
|
2008
|
-
type context_GalleryItemCreated = GalleryItemCreated;
|
2009
|
-
type context_GalleryItemCreatedEnvelope = GalleryItemCreatedEnvelope;
|
2010
|
-
type context_GalleryItemDeleted = GalleryItemDeleted;
|
2011
|
-
type context_GalleryItemDeletedEnvelope = GalleryItemDeletedEnvelope;
|
2012
|
-
type context_GalleryItemUpdated = GalleryItemUpdated;
|
2013
|
-
type context_GalleryItemUpdatedEnvelope = GalleryItemUpdatedEnvelope;
|
2014
|
-
type context_GalleryNonNullableFields = GalleryNonNullableFields;
|
2015
|
-
type context_GalleryPublished = GalleryPublished;
|
2016
|
-
type context_GalleryUpdatedEnvelope = GalleryUpdatedEnvelope;
|
2017
|
-
type context_GetActiveGalleryRevisionRequest = GetActiveGalleryRevisionRequest;
|
2018
|
-
type context_GetActiveGalleryRevisionResponse = GetActiveGalleryRevisionResponse;
|
2019
|
-
type context_GetGalleryItemIdentifiers = GetGalleryItemIdentifiers;
|
2020
|
-
type context_GetGalleryItemRequest = GetGalleryItemRequest;
|
2021
|
-
type context_GetGalleryItemResponse = GetGalleryItemResponse;
|
2022
|
-
type context_GetGalleryItemResponseNonNullableFields = GetGalleryItemResponseNonNullableFields;
|
2023
|
-
type context_GetGalleryOptions = GetGalleryOptions;
|
2024
|
-
type context_GetGalleryRequest = GetGalleryRequest;
|
2025
|
-
type context_GetGalleryRequestVersionOneOf = GetGalleryRequestVersionOneOf;
|
2026
|
-
type context_GetGalleryResponse = GetGalleryResponse;
|
2027
|
-
type context_GetGalleryResponseNonNullableFields = GetGalleryResponseNonNullableFields;
|
2028
|
-
type context_GetGalleryRevisionRequest = GetGalleryRevisionRequest;
|
2029
|
-
type context_GetGalleryRevisionResponse = GetGalleryRevisionResponse;
|
2030
|
-
type context_HtmlSitePublished = HtmlSitePublished;
|
2031
|
-
type context_HtmlSiteRCPublished = HtmlSiteRCPublished;
|
2032
|
-
type context_IdentificationData = IdentificationData;
|
2033
|
-
type context_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
|
2034
|
-
type context_Image = Image;
|
2035
|
-
type context_ImageType = ImageType;
|
2036
|
-
declare const context_ImageType: typeof ImageType;
|
2037
|
-
type context_IndexDocument = IndexDocument;
|
2038
|
-
type context_InvalidateCache = InvalidateCache;
|
2039
|
-
type context_InvalidateCacheGetByOneOf = InvalidateCacheGetByOneOf;
|
2040
|
-
type context_Item = Item;
|
2041
|
-
type context_ItemId = ItemId;
|
2042
|
-
type context_ItemMetadataOneOf = ItemMetadataOneOf;
|
2043
|
-
type context_ItemNonNullableFields = ItemNonNullableFields;
|
2044
|
-
type context_ItemsInGallery = ItemsInGallery;
|
2045
|
-
type context_Link = Link;
|
2046
|
-
type context_LinkRel = LinkRel;
|
2047
|
-
declare const context_LinkRel: typeof LinkRel;
|
2048
|
-
type context_LinkType = LinkType;
|
2049
|
-
declare const context_LinkType: typeof LinkType;
|
2050
|
-
type context_ListGalleriesItemsRequest = ListGalleriesItemsRequest;
|
2051
|
-
type context_ListGalleriesItemsResponse = ListGalleriesItemsResponse;
|
2052
|
-
type context_ListGalleriesOptions = ListGalleriesOptions;
|
2053
|
-
type context_ListGalleriesRequest = ListGalleriesRequest;
|
2054
|
-
type context_ListGalleriesResponse = ListGalleriesResponse;
|
2055
|
-
type context_ListGalleriesResponseNonNullableFields = ListGalleriesResponseNonNullableFields;
|
2056
|
-
type context_ListGalleryItemsOptions = ListGalleryItemsOptions;
|
2057
|
-
type context_ListGalleryItemsRequest = ListGalleryItemsRequest;
|
2058
|
-
type context_ListGalleryItemsResponse = ListGalleryItemsResponse;
|
2059
|
-
type context_ListGalleryItemsResponseNonNullableFields = ListGalleryItemsResponseNonNullableFields;
|
2060
|
-
type context_MessageEnvelope = MessageEnvelope;
|
2061
|
-
type context_Page = Page;
|
2062
|
-
type context_PageLink = PageLink;
|
2063
|
-
type context_PhoneLink = PhoneLink;
|
2064
|
-
type context_Point = Point;
|
2065
|
-
type context_ProgallerypublisherPublishGalleryRequest = ProgallerypublisherPublishGalleryRequest;
|
2066
|
-
type context_ProgallerypublisherPublishGalleryResponse = ProgallerypublisherPublishGalleryResponse;
|
2067
|
-
type context_PublishGalleryItemRequest = PublishGalleryItemRequest;
|
2068
|
-
type context_PublishGalleryItemResponse = PublishGalleryItemResponse;
|
2069
|
-
type context_PublishGalleryItemsRequest = PublishGalleryItemsRequest;
|
2070
|
-
type context_PublishGalleryItemsResponse = PublishGalleryItemsResponse;
|
2071
|
-
type context_PublishGalleryRequest = PublishGalleryRequest;
|
2072
|
-
type context_PublishGalleryResponse = PublishGalleryResponse;
|
2073
|
-
type context_RestoreInfo = RestoreInfo;
|
2074
|
-
type context_SearchIndexingNotification = SearchIndexingNotification;
|
2075
|
-
type context_SearchIndexingNotificationState = SearchIndexingNotificationState;
|
2076
|
-
declare const context_SearchIndexingNotificationState: typeof SearchIndexingNotificationState;
|
2077
|
-
type context_SecondaryMedia = SecondaryMedia;
|
2078
|
-
type context_SecondaryMediaMetadataOneOf = SecondaryMediaMetadataOneOf;
|
2079
|
-
type context_State = State;
|
2080
|
-
declare const context_State: typeof State;
|
2081
|
-
type context_Tags = Tags;
|
2082
|
-
type context_Text = Text;
|
2083
|
-
type context_TpaPageLink = TpaPageLink;
|
2084
|
-
type context_Type = Type;
|
2085
|
-
declare const context_Type: typeof Type;
|
2086
|
-
type context_URI = URI;
|
2087
|
-
type context_UnsharpMasking = UnsharpMasking;
|
2088
|
-
type context_UpdateByFilterOperation = UpdateByFilterOperation;
|
2089
|
-
type context_UpdateDocumentsEvent = UpdateDocumentsEvent;
|
2090
|
-
type context_UpdateDocumentsEventOperationOneOf = UpdateDocumentsEventOperationOneOf;
|
2091
|
-
type context_UpdateExistingOperation = UpdateExistingOperation;
|
2092
|
-
type context_UpdateGallery = UpdateGallery;
|
2093
|
-
type context_UpdateGalleryItem = UpdateGalleryItem;
|
2094
|
-
type context_UpdateGalleryItemIdentifiers = UpdateGalleryItemIdentifiers;
|
2095
|
-
type context_UpdateGalleryItemRequest = UpdateGalleryItemRequest;
|
2096
|
-
type context_UpdateGalleryItemResponse = UpdateGalleryItemResponse;
|
2097
|
-
type context_UpdateGalleryItemResponseNonNullableFields = UpdateGalleryItemResponseNonNullableFields;
|
2098
|
-
type context_UpdateGalleryRequest = UpdateGalleryRequest;
|
2099
|
-
type context_UpdateGalleryResponse = UpdateGalleryResponse;
|
2100
|
-
type context_UpdateGalleryResponseNonNullableFields = UpdateGalleryResponseNonNullableFields;
|
2101
|
-
type context_Video = Video;
|
2102
|
-
type context_VideoResolution = VideoResolution;
|
2103
|
-
type context_VideoType = VideoType;
|
2104
|
-
declare const context_VideoType: typeof VideoType;
|
2105
|
-
type context_WebhookIdentityType = WebhookIdentityType;
|
2106
|
-
declare const context_WebhookIdentityType: typeof WebhookIdentityType;
|
2107
|
-
type context_WhatsAppLink = WhatsAppLink;
|
2108
|
-
type context_WixLink = WixLink;
|
2109
|
-
type context_WixLinkLinkOneOf = WixLinkLinkOneOf;
|
2110
|
-
type context__publicOnGalleryCreatedType = _publicOnGalleryCreatedType;
|
2111
|
-
type context__publicOnGalleryDeletedType = _publicOnGalleryDeletedType;
|
2112
|
-
type context__publicOnGalleryItemCreatedType = _publicOnGalleryItemCreatedType;
|
2113
|
-
type context__publicOnGalleryItemDeletedType = _publicOnGalleryItemDeletedType;
|
2114
|
-
type context__publicOnGalleryItemUpdatedType = _publicOnGalleryItemUpdatedType;
|
2115
|
-
type context__publicOnGalleryUpdatedType = _publicOnGalleryUpdatedType;
|
2116
|
-
declare const context_bulkDeleteGalleryItems: typeof bulkDeleteGalleryItems;
|
2117
|
-
declare const context_createGallery: typeof createGallery;
|
2118
|
-
declare const context_createGalleryItem: typeof createGalleryItem;
|
2119
|
-
declare const context_deleteGallery: typeof deleteGallery;
|
2120
|
-
declare const context_deleteGalleryItem: typeof deleteGalleryItem;
|
2121
|
-
declare const context_deleteGalleryItems: typeof deleteGalleryItems;
|
2122
|
-
declare const context_getGallery: typeof getGallery;
|
2123
|
-
declare const context_getGalleryItem: typeof getGalleryItem;
|
2124
|
-
declare const context_listGalleries: typeof listGalleries;
|
2125
|
-
declare const context_listGalleryItems: typeof listGalleryItems;
|
2126
|
-
declare const context_onGalleryCreated: typeof onGalleryCreated;
|
2127
|
-
declare const context_onGalleryDeleted: typeof onGalleryDeleted;
|
2128
|
-
declare const context_onGalleryItemCreated: typeof onGalleryItemCreated;
|
2129
|
-
declare const context_onGalleryItemDeleted: typeof onGalleryItemDeleted;
|
2130
|
-
declare const context_onGalleryItemUpdated: typeof onGalleryItemUpdated;
|
2131
|
-
declare const context_onGalleryUpdated: typeof onGalleryUpdated;
|
2132
|
-
declare const context_updateGallery: typeof updateGallery;
|
2133
|
-
declare const context_updateGalleryItem: typeof updateGalleryItem;
|
2134
|
-
declare namespace context {
|
2135
|
-
export { type context_ActionEvent as ActionEvent, type context_AddressLink as AddressLink, type context_AnchorLink as AnchorLink, type context_App as App, type context_BaseEventMetadata as BaseEventMetadata, type context_BulkDeleteGalleryItemsRequest as BulkDeleteGalleryItemsRequest, type context_BulkDeleteGalleryItemsResponse as BulkDeleteGalleryItemsResponse, type context_BulkDeleteGalleryItemsResponseNonNullableFields as BulkDeleteGalleryItemsResponseNonNullableFields, type context_CleanDeletedGalleriesEvent as CleanDeletedGalleriesEvent, type context_CreateGalleryItemRequest as CreateGalleryItemRequest, type context_CreateGalleryItemResponse as CreateGalleryItemResponse, type context_CreateGalleryItemResponseNonNullableFields as CreateGalleryItemResponseNonNullableFields, type context_CreateGalleryItemsRequest as CreateGalleryItemsRequest, type context_CreateGalleryItemsResponse as CreateGalleryItemsResponse, type context_CreateGalleryOptions as CreateGalleryOptions, type context_CreateGalleryRequest as CreateGalleryRequest, type context_CreateGalleryResponse as CreateGalleryResponse, type context_CreateGalleryResponseNonNullableFields as CreateGalleryResponseNonNullableFields, type context_DeleteByFilterOperation as DeleteByFilterOperation, type context_DeleteByIdsOperation as DeleteByIdsOperation, type context_DeleteGalleryItemIdentifiers as DeleteGalleryItemIdentifiers, type context_DeleteGalleryItemRequest as DeleteGalleryItemRequest, type context_DeleteGalleryItemResponse as DeleteGalleryItemResponse, type context_DeleteGalleryItemResponseNonNullableFields as DeleteGalleryItemResponseNonNullableFields, type context_DeleteGalleryItemsOptions as DeleteGalleryItemsOptions, type context_DeleteGalleryItemsRequest as DeleteGalleryItemsRequest, type context_DeleteGalleryItemsResponse as DeleteGalleryItemsResponse, type context_DeleteGalleryItemsResponseNonNullableFields as DeleteGalleryItemsResponseNonNullableFields, type context_DeleteGalleryRequest as DeleteGalleryRequest, type context_DeleteGalleryResponse as DeleteGalleryResponse, type context_DeleteGalleryResponseNonNullableFields as DeleteGalleryResponseNonNullableFields, type context_DocumentImage as DocumentImage, type context_DocumentLink as DocumentLink, type context_DocumentPayload as DocumentPayload, type context_DocumentUpdateOperation as DocumentUpdateOperation, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_DynamicPageLink as DynamicPageLink, type context_EmailLink as EmailLink, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, context_Enum as Enum, type context_EventMetadata as EventMetadata, type context_EventsPage as EventsPage, type context_ExternalLink as ExternalLink, type context_File as File, type context_Gallery as Gallery, type context_GalleryCreatedEnvelope as GalleryCreatedEnvelope, type context_GalleryDeletedEnvelope as GalleryDeletedEnvelope, type context_GalleryItemCreated as GalleryItemCreated, type context_GalleryItemCreatedEnvelope as GalleryItemCreatedEnvelope, type context_GalleryItemDeleted as GalleryItemDeleted, type context_GalleryItemDeletedEnvelope as GalleryItemDeletedEnvelope, type context_GalleryItemUpdated as GalleryItemUpdated, type context_GalleryItemUpdatedEnvelope as GalleryItemUpdatedEnvelope, type context_GalleryNonNullableFields as GalleryNonNullableFields, type context_GalleryPublished as GalleryPublished, type context_GalleryUpdatedEnvelope as GalleryUpdatedEnvelope, type context_GetActiveGalleryRevisionRequest as GetActiveGalleryRevisionRequest, type context_GetActiveGalleryRevisionResponse as GetActiveGalleryRevisionResponse, type context_GetGalleryItemIdentifiers as GetGalleryItemIdentifiers, type context_GetGalleryItemRequest as GetGalleryItemRequest, type context_GetGalleryItemResponse as GetGalleryItemResponse, type context_GetGalleryItemResponseNonNullableFields as GetGalleryItemResponseNonNullableFields, type context_GetGalleryOptions as GetGalleryOptions, type context_GetGalleryRequest as GetGalleryRequest, type context_GetGalleryRequestVersionOneOf as GetGalleryRequestVersionOneOf, type context_GetGalleryResponse as GetGalleryResponse, type context_GetGalleryResponseNonNullableFields as GetGalleryResponseNonNullableFields, type context_GetGalleryRevisionRequest as GetGalleryRevisionRequest, type context_GetGalleryRevisionResponse as GetGalleryRevisionResponse, type context_HtmlSitePublished as HtmlSitePublished, type context_HtmlSiteRCPublished as HtmlSiteRCPublished, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_Image as Image, context_ImageType as ImageType, type context_IndexDocument as IndexDocument, type context_InvalidateCache as InvalidateCache, type context_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context_Item as Item, type context_ItemId as ItemId, type context_ItemMetadataOneOf as ItemMetadataOneOf, type context_ItemNonNullableFields as ItemNonNullableFields, type context_ItemsInGallery as ItemsInGallery, type context_Link as Link, context_LinkRel as LinkRel, context_LinkType as LinkType, type context_ListGalleriesItemsRequest as ListGalleriesItemsRequest, type context_ListGalleriesItemsResponse as ListGalleriesItemsResponse, type context_ListGalleriesOptions as ListGalleriesOptions, type context_ListGalleriesRequest as ListGalleriesRequest, type context_ListGalleriesResponse as ListGalleriesResponse, type context_ListGalleriesResponseNonNullableFields as ListGalleriesResponseNonNullableFields, type context_ListGalleryItemsOptions as ListGalleryItemsOptions, type context_ListGalleryItemsRequest as ListGalleryItemsRequest, type context_ListGalleryItemsResponse as ListGalleryItemsResponse, type context_ListGalleryItemsResponseNonNullableFields as ListGalleryItemsResponseNonNullableFields, type context_MessageEnvelope as MessageEnvelope, type context_Page as Page, type context_PageLink as PageLink, type context_PhoneLink as PhoneLink, type context_Point as Point, type context_ProgallerypublisherPublishGalleryRequest as ProgallerypublisherPublishGalleryRequest, type context_ProgallerypublisherPublishGalleryResponse as ProgallerypublisherPublishGalleryResponse, type context_PublishGalleryItemRequest as PublishGalleryItemRequest, type context_PublishGalleryItemResponse as PublishGalleryItemResponse, type context_PublishGalleryItemsRequest as PublishGalleryItemsRequest, type context_PublishGalleryItemsResponse as PublishGalleryItemsResponse, type context_PublishGalleryRequest as PublishGalleryRequest, type context_PublishGalleryResponse as PublishGalleryResponse, type context_RestoreInfo as RestoreInfo, type context_SearchIndexingNotification as SearchIndexingNotification, context_SearchIndexingNotificationState as SearchIndexingNotificationState, type context_SecondaryMedia as SecondaryMedia, type context_SecondaryMediaMetadataOneOf as SecondaryMediaMetadataOneOf, context_State as State, type context_Tags as Tags, type context_Text as Text, type context_TpaPageLink as TpaPageLink, context_Type as Type, type context_URI as URI, type context_UnsharpMasking as UnsharpMasking, type context_UpdateByFilterOperation as UpdateByFilterOperation, type context_UpdateDocumentsEvent as UpdateDocumentsEvent, type context_UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOf, type context_UpdateExistingOperation as UpdateExistingOperation, type context_UpdateGallery as UpdateGallery, type context_UpdateGalleryItem as UpdateGalleryItem, type context_UpdateGalleryItemIdentifiers as UpdateGalleryItemIdentifiers, type context_UpdateGalleryItemRequest as UpdateGalleryItemRequest, type context_UpdateGalleryItemResponse as UpdateGalleryItemResponse, type context_UpdateGalleryItemResponseNonNullableFields as UpdateGalleryItemResponseNonNullableFields, type context_UpdateGalleryRequest as UpdateGalleryRequest, type context_UpdateGalleryResponse as UpdateGalleryResponse, type context_UpdateGalleryResponseNonNullableFields as UpdateGalleryResponseNonNullableFields, type context_Video as Video, type context_VideoResolution as VideoResolution, context_VideoType as VideoType, context_WebhookIdentityType as WebhookIdentityType, type context_WhatsAppLink as WhatsAppLink, type context_WixLink as WixLink, type context_WixLinkLinkOneOf as WixLinkLinkOneOf, type context__publicOnGalleryCreatedType as _publicOnGalleryCreatedType, type context__publicOnGalleryDeletedType as _publicOnGalleryDeletedType, type context__publicOnGalleryItemCreatedType as _publicOnGalleryItemCreatedType, type context__publicOnGalleryItemDeletedType as _publicOnGalleryItemDeletedType, type context__publicOnGalleryItemUpdatedType as _publicOnGalleryItemUpdatedType, type context__publicOnGalleryUpdatedType as _publicOnGalleryUpdatedType, context_bulkDeleteGalleryItems as bulkDeleteGalleryItems, context_createGallery as createGallery, context_createGalleryItem as createGalleryItem, context_deleteGallery as deleteGallery, context_deleteGalleryItem as deleteGalleryItem, context_deleteGalleryItems as deleteGalleryItems, context_getGallery as getGallery, context_getGalleryItem as getGalleryItem, context_listGalleries as listGalleries, context_listGalleryItems as listGalleryItems, context_onGalleryCreated as onGalleryCreated, context_onGalleryDeleted as onGalleryDeleted, context_onGalleryItemCreated as onGalleryItemCreated, context_onGalleryItemDeleted as onGalleryItemDeleted, context_onGalleryItemUpdated as onGalleryItemUpdated, context_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, context_updateGallery as updateGallery, context_updateGalleryItem as updateGalleryItem };
|
2136
|
-
}
|
2137
|
-
|
2138
|
-
export { context as proGallery };
|