@wix/auto_sdk_restaurants_items 1.0.49 → 1.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/meta.d.ts +888 -1
- package/build/cjs/meta.js +126 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/meta.d.mts +888 -1
- package/build/es/meta.mjs +112 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/meta.d.ts +888 -1
- package/build/internal/cjs/meta.js +126 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/meta.d.mts +888 -1
- package/build/internal/es/meta.mjs +112 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
package/build/cjs/meta.d.ts
CHANGED
|
@@ -145,6 +145,97 @@ interface OrderSettings {
|
|
|
145
145
|
*/
|
|
146
146
|
acceptSpecialRequests?: boolean | null;
|
|
147
147
|
}
|
|
148
|
+
interface Availability extends AvailabilityAvailabilityTypeOptionsOneOf {
|
|
149
|
+
/** Settings for availability on a weekly schedule. */
|
|
150
|
+
weeklyScheduleOptions?: WeeklyScheduleOptions;
|
|
151
|
+
/** Settings for availability within a time range. */
|
|
152
|
+
timestampRangesOptions?: TimestampRangesOptions;
|
|
153
|
+
/** Availability type. */
|
|
154
|
+
type?: AvailabilityTypeWithLiterals;
|
|
155
|
+
}
|
|
156
|
+
/** @oneof */
|
|
157
|
+
interface AvailabilityAvailabilityTypeOptionsOneOf {
|
|
158
|
+
/** Settings for availability on a weekly schedule. */
|
|
159
|
+
weeklyScheduleOptions?: WeeklyScheduleOptions;
|
|
160
|
+
/** Settings for availability within a time range. */
|
|
161
|
+
timestampRangesOptions?: TimestampRangesOptions;
|
|
162
|
+
}
|
|
163
|
+
declare enum AvailabilityType {
|
|
164
|
+
/** Missing type due to an error. */
|
|
165
|
+
UNSPECIFIED_AVAILABILITY_OPTION = "UNSPECIFIED_AVAILABILITY_OPTION",
|
|
166
|
+
/** Available all the time. */
|
|
167
|
+
ALWAYS_AVAILABLE = "ALWAYS_AVAILABLE",
|
|
168
|
+
/** Available on specific days and times throughout the week. */
|
|
169
|
+
WEEKLY_SCHEDULE = "WEEKLY_SCHEDULE",
|
|
170
|
+
/** Available during a specific time range. */
|
|
171
|
+
TIMESTAMP_RANGES = "TIMESTAMP_RANGES"
|
|
172
|
+
}
|
|
173
|
+
/** @enumType */
|
|
174
|
+
type AvailabilityTypeWithLiterals = AvailabilityType | 'UNSPECIFIED_AVAILABILITY_OPTION' | 'ALWAYS_AVAILABLE' | 'WEEKLY_SCHEDULE' | 'TIMESTAMP_RANGES';
|
|
175
|
+
interface WeeklyScheduleOptions {
|
|
176
|
+
/**
|
|
177
|
+
* List of available time ranges for specific days of the week.
|
|
178
|
+
* @maxSize 7
|
|
179
|
+
*/
|
|
180
|
+
availableTimes?: DayOfWeekAvailability[];
|
|
181
|
+
}
|
|
182
|
+
interface DayOfWeekAvailability {
|
|
183
|
+
/** The day of week this availability relates to. */
|
|
184
|
+
dayOfWeek?: EntitiesDayOfWeekWithLiterals;
|
|
185
|
+
/** A list of time ranges during which the fulfillment should be available. */
|
|
186
|
+
timeRanges?: TimeOfDayRange[];
|
|
187
|
+
}
|
|
188
|
+
declare enum EntitiesDayOfWeek {
|
|
189
|
+
/** Monday. */
|
|
190
|
+
MON = "MON",
|
|
191
|
+
/** Tuesday. */
|
|
192
|
+
TUE = "TUE",
|
|
193
|
+
/** Wednesday. */
|
|
194
|
+
WED = "WED",
|
|
195
|
+
/** Thursday. */
|
|
196
|
+
THU = "THU",
|
|
197
|
+
/** Friday. */
|
|
198
|
+
FRI = "FRI",
|
|
199
|
+
/** Saturday. */
|
|
200
|
+
SAT = "SAT",
|
|
201
|
+
/** Sunday. */
|
|
202
|
+
SUN = "SUN"
|
|
203
|
+
}
|
|
204
|
+
/** @enumType */
|
|
205
|
+
type EntitiesDayOfWeekWithLiterals = EntitiesDayOfWeek | 'MON' | 'TUE' | 'WED' | 'THU' | 'FRI' | 'SAT' | 'SUN';
|
|
206
|
+
interface TimeOfDayRange {
|
|
207
|
+
/** The start time in time of day representation. */
|
|
208
|
+
startTime?: TimeOfDay;
|
|
209
|
+
/** The end time in time of day representation. */
|
|
210
|
+
endTime?: TimeOfDay;
|
|
211
|
+
}
|
|
212
|
+
interface TimeOfDay {
|
|
213
|
+
/**
|
|
214
|
+
* Hours. <br />
|
|
215
|
+
* Min: `0`. <br />
|
|
216
|
+
* Max: `23`.
|
|
217
|
+
*/
|
|
218
|
+
hours?: number;
|
|
219
|
+
/**
|
|
220
|
+
* Minutes. <br />
|
|
221
|
+
* Min: `0`. <br />
|
|
222
|
+
* Max: `23`.
|
|
223
|
+
*/
|
|
224
|
+
minutes?: number;
|
|
225
|
+
}
|
|
226
|
+
interface TimestampRangesOptions {
|
|
227
|
+
/**
|
|
228
|
+
* List of available time ranges.
|
|
229
|
+
* @maxSize 50
|
|
230
|
+
*/
|
|
231
|
+
ranges?: AvailableRange[];
|
|
232
|
+
}
|
|
233
|
+
interface AvailableRange {
|
|
234
|
+
/** The start time of the availability in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format. */
|
|
235
|
+
startTime?: Date | null;
|
|
236
|
+
/** The end time of the availability in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format. */
|
|
237
|
+
endTime?: Date | null;
|
|
238
|
+
}
|
|
148
239
|
interface ModifierGroup {
|
|
149
240
|
/**
|
|
150
241
|
* Modifier group ID.
|
|
@@ -163,6 +254,22 @@ interface ExtendedFields {
|
|
|
163
254
|
*/
|
|
164
255
|
namespaces?: Record<string, Record<string, any>>;
|
|
165
256
|
}
|
|
257
|
+
interface ExternalReferenceInfo {
|
|
258
|
+
/**
|
|
259
|
+
* ID of the external integrator app\system associated with this object.
|
|
260
|
+
* @format GUID
|
|
261
|
+
*/
|
|
262
|
+
externalAppId?: string | null;
|
|
263
|
+
/**
|
|
264
|
+
* Reference to an external resource ID. Used to link this object to a specific entity in an external system.
|
|
265
|
+
* @maxLength 100
|
|
266
|
+
*/
|
|
267
|
+
externalEntityId?: string | null;
|
|
268
|
+
/** Last time this item was synced with the external app. */
|
|
269
|
+
lastSyncDate?: Date | null;
|
|
270
|
+
/** Whether the connection to the external system is currently active. */
|
|
271
|
+
connected?: boolean | null;
|
|
272
|
+
}
|
|
166
273
|
interface DuplicateItemRequest {
|
|
167
274
|
/**
|
|
168
275
|
* Item id to be duplicated.
|
|
@@ -180,6 +287,703 @@ interface DuplicateItemResponse {
|
|
|
180
287
|
/** @format GUID */
|
|
181
288
|
itemId?: string[];
|
|
182
289
|
}
|
|
290
|
+
interface UpdateDocumentsEvent extends UpdateDocumentsEventOperationOneOf {
|
|
291
|
+
/** insert/update documents */
|
|
292
|
+
update?: DocumentUpdateOperation;
|
|
293
|
+
/** delete by document ids */
|
|
294
|
+
deleteByIds?: DeleteByIdsOperation;
|
|
295
|
+
/** delete documents matching filter */
|
|
296
|
+
deleteByFilter?: DeleteByFilterOperation;
|
|
297
|
+
/** update documents matching filter */
|
|
298
|
+
updateByFilter?: UpdateByFilterOperation;
|
|
299
|
+
/** update only existing documents */
|
|
300
|
+
updateExisting?: UpdateExistingOperation;
|
|
301
|
+
/**
|
|
302
|
+
* application which owns documents
|
|
303
|
+
* @minLength 2
|
|
304
|
+
*/
|
|
305
|
+
appDefId?: string | null;
|
|
306
|
+
/**
|
|
307
|
+
* type of the documents
|
|
308
|
+
* @minLength 2
|
|
309
|
+
*/
|
|
310
|
+
documentType?: string | null;
|
|
311
|
+
/**
|
|
312
|
+
* language of the documents
|
|
313
|
+
* @minLength 2
|
|
314
|
+
*/
|
|
315
|
+
language?: string | null;
|
|
316
|
+
/**
|
|
317
|
+
* site documents belong to
|
|
318
|
+
* @minLength 2
|
|
319
|
+
*/
|
|
320
|
+
msId?: string | null;
|
|
321
|
+
}
|
|
322
|
+
/** @oneof */
|
|
323
|
+
interface UpdateDocumentsEventOperationOneOf {
|
|
324
|
+
/** insert/update documents */
|
|
325
|
+
update?: DocumentUpdateOperation;
|
|
326
|
+
/** delete by document ids */
|
|
327
|
+
deleteByIds?: DeleteByIdsOperation;
|
|
328
|
+
/** delete documents matching filter */
|
|
329
|
+
deleteByFilter?: DeleteByFilterOperation;
|
|
330
|
+
/** update documents matching filter */
|
|
331
|
+
updateByFilter?: UpdateByFilterOperation;
|
|
332
|
+
/** update only existing documents */
|
|
333
|
+
updateExisting?: UpdateExistingOperation;
|
|
334
|
+
}
|
|
335
|
+
interface DocumentUpdateOperation {
|
|
336
|
+
/** documents to index or update */
|
|
337
|
+
documents?: IndexDocument[];
|
|
338
|
+
}
|
|
339
|
+
interface IndexDocument {
|
|
340
|
+
/** data bag with non-searchable fields (url, image) */
|
|
341
|
+
payload?: DocumentPayload;
|
|
342
|
+
/** what type of users should documents be visible to */
|
|
343
|
+
exposure?: EnumWithLiterals;
|
|
344
|
+
/** document with mandatory fields (id, title, description) and with fields specific to the type of the document */
|
|
345
|
+
document?: Record<string, any> | null;
|
|
346
|
+
/** what member groups is the document exposed to. Used only with GROUP_PROTECTED exposure */
|
|
347
|
+
permittedMemberGroups?: string[];
|
|
348
|
+
/** if true SEO is disabled for this document */
|
|
349
|
+
seoHidden?: boolean | null;
|
|
350
|
+
/** if true the page is a lightbox popup */
|
|
351
|
+
isPopup?: boolean | null;
|
|
352
|
+
}
|
|
353
|
+
interface DocumentPayload {
|
|
354
|
+
/** url of the page representing the document */
|
|
355
|
+
url?: string | null;
|
|
356
|
+
/** image which represents the document */
|
|
357
|
+
documentImage?: DocumentImage;
|
|
358
|
+
}
|
|
359
|
+
interface DocumentImage {
|
|
360
|
+
/** the name of the image */
|
|
361
|
+
name?: string;
|
|
362
|
+
/** the width of the image */
|
|
363
|
+
width?: number;
|
|
364
|
+
/** the height of the image */
|
|
365
|
+
height?: number;
|
|
366
|
+
}
|
|
367
|
+
declare enum Enum {
|
|
368
|
+
/** Default value. Means that permission not set */
|
|
369
|
+
UNKNOWN = "UNKNOWN",
|
|
370
|
+
/** Protected exposure. Exposed to members and owners */
|
|
371
|
+
PROTECTED = "PROTECTED",
|
|
372
|
+
/** Private exposure. Exposed to owners */
|
|
373
|
+
PRIVATE = "PRIVATE",
|
|
374
|
+
/** Public exposure. Visible to everyone */
|
|
375
|
+
PUBLIC = "PUBLIC",
|
|
376
|
+
/** Used for partial updates, to state that exposure is not changing */
|
|
377
|
+
UNCHANGED = "UNCHANGED",
|
|
378
|
+
/** Protected to members of permitted groups and owners */
|
|
379
|
+
GROUP_PROTECTED = "GROUP_PROTECTED"
|
|
380
|
+
}
|
|
381
|
+
/** @enumType */
|
|
382
|
+
type EnumWithLiterals = Enum | 'UNKNOWN' | 'PROTECTED' | 'PRIVATE' | 'PUBLIC' | 'UNCHANGED' | 'GROUP_PROTECTED';
|
|
383
|
+
interface DeleteByIdsOperation {
|
|
384
|
+
/** ids of the documents to delete */
|
|
385
|
+
documentIds?: string[];
|
|
386
|
+
}
|
|
387
|
+
interface DeleteByFilterOperation {
|
|
388
|
+
/** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */
|
|
389
|
+
filter?: Record<string, any> | null;
|
|
390
|
+
}
|
|
391
|
+
interface UpdateByFilterOperation {
|
|
392
|
+
/** documents matching this filter will be updated */
|
|
393
|
+
filter?: Record<string, any> | null;
|
|
394
|
+
/** partial document to apply */
|
|
395
|
+
document?: IndexDocument;
|
|
396
|
+
}
|
|
397
|
+
interface UpdateExistingOperation {
|
|
398
|
+
/** documents to update */
|
|
399
|
+
documents?: IndexDocument[];
|
|
400
|
+
}
|
|
401
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
402
|
+
createdEvent?: EntityCreatedEvent;
|
|
403
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
404
|
+
deletedEvent?: EntityDeletedEvent;
|
|
405
|
+
actionEvent?: ActionEvent;
|
|
406
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
407
|
+
id?: string;
|
|
408
|
+
/**
|
|
409
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
410
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
411
|
+
*/
|
|
412
|
+
entityFqdn?: string;
|
|
413
|
+
/**
|
|
414
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
415
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
416
|
+
*/
|
|
417
|
+
slug?: string;
|
|
418
|
+
/** ID of the entity associated with the event. */
|
|
419
|
+
entityId?: string;
|
|
420
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
421
|
+
eventTime?: Date | null;
|
|
422
|
+
/**
|
|
423
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
424
|
+
* (for example, GDPR).
|
|
425
|
+
*/
|
|
426
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
427
|
+
/** If present, indicates the action that triggered the event. */
|
|
428
|
+
originatedFrom?: string | null;
|
|
429
|
+
/**
|
|
430
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
431
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
432
|
+
*/
|
|
433
|
+
entityEventSequence?: string | null;
|
|
434
|
+
}
|
|
435
|
+
/** @oneof */
|
|
436
|
+
interface DomainEventBodyOneOf {
|
|
437
|
+
createdEvent?: EntityCreatedEvent;
|
|
438
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
439
|
+
deletedEvent?: EntityDeletedEvent;
|
|
440
|
+
actionEvent?: ActionEvent;
|
|
441
|
+
}
|
|
442
|
+
interface EntityCreatedEvent {
|
|
443
|
+
entityAsJson?: string;
|
|
444
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
445
|
+
restoreInfo?: RestoreInfo;
|
|
446
|
+
}
|
|
447
|
+
interface RestoreInfo {
|
|
448
|
+
deletedDate?: Date | null;
|
|
449
|
+
}
|
|
450
|
+
interface EntityUpdatedEvent {
|
|
451
|
+
/**
|
|
452
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
453
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
454
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
455
|
+
*/
|
|
456
|
+
currentEntityAsJson?: string;
|
|
457
|
+
}
|
|
458
|
+
interface EntityDeletedEvent {
|
|
459
|
+
/** Entity that was deleted. */
|
|
460
|
+
deletedEntityAsJson?: string | null;
|
|
461
|
+
}
|
|
462
|
+
interface ActionEvent {
|
|
463
|
+
bodyAsJson?: string;
|
|
464
|
+
}
|
|
465
|
+
interface Empty {
|
|
466
|
+
}
|
|
467
|
+
interface SearchIndexingNotification {
|
|
468
|
+
/** new state of indexing for the site specified in ms_id */
|
|
469
|
+
indexState?: StateWithLiterals;
|
|
470
|
+
/** type of the document the notification is targeted for. Applies to all types if not provided */
|
|
471
|
+
documentType?: string | null;
|
|
472
|
+
/** languaInternalDocumentUpdateByFilterOperationge the notification is targeted for. Applies to all languages if not provided */
|
|
473
|
+
language?: string | null;
|
|
474
|
+
/**
|
|
475
|
+
* site for which notification is targeted
|
|
476
|
+
* @minLength 2
|
|
477
|
+
*/
|
|
478
|
+
msId?: string | null;
|
|
479
|
+
}
|
|
480
|
+
declare enum State {
|
|
481
|
+
/** default state */
|
|
482
|
+
Unknown = "Unknown",
|
|
483
|
+
/** metasite does not require site search indexing */
|
|
484
|
+
Off = "Off",
|
|
485
|
+
/** metasite requires site search indexing */
|
|
486
|
+
On = "On"
|
|
487
|
+
}
|
|
488
|
+
/** @enumType */
|
|
489
|
+
type StateWithLiterals = State | 'Unknown' | 'Off' | 'On';
|
|
490
|
+
/** Encapsulates all details written to the Greyhound topic when a site's properties are updated. */
|
|
491
|
+
interface SitePropertiesNotification {
|
|
492
|
+
/** The site ID for which this update notification applies. */
|
|
493
|
+
metasiteId?: string;
|
|
494
|
+
/** The actual update event. */
|
|
495
|
+
event?: SitePropertiesEvent;
|
|
496
|
+
/**
|
|
497
|
+
* A convenience set of mappings from the MetaSite ID to its constituent services.
|
|
498
|
+
* @maxSize 500
|
|
499
|
+
*/
|
|
500
|
+
translations?: Translation[];
|
|
501
|
+
/** Context of the notification */
|
|
502
|
+
changeContext?: ChangeContext;
|
|
503
|
+
}
|
|
504
|
+
/** The actual update event for a particular notification. */
|
|
505
|
+
interface SitePropertiesEvent {
|
|
506
|
+
/** Version of the site's properties represented by this update. */
|
|
507
|
+
version?: number;
|
|
508
|
+
/** Set of properties that were updated - corresponds to the fields in "properties". */
|
|
509
|
+
fields?: string[];
|
|
510
|
+
/** Updated properties. */
|
|
511
|
+
properties?: Properties;
|
|
512
|
+
}
|
|
513
|
+
interface Properties {
|
|
514
|
+
/** Site categories. */
|
|
515
|
+
categories?: Categories;
|
|
516
|
+
/** Site locale. */
|
|
517
|
+
locale?: Locale;
|
|
518
|
+
/**
|
|
519
|
+
* Site language.
|
|
520
|
+
*
|
|
521
|
+
* Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
522
|
+
*/
|
|
523
|
+
language?: string | null;
|
|
524
|
+
/**
|
|
525
|
+
* Site currency format used to bill customers.
|
|
526
|
+
*
|
|
527
|
+
* Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
528
|
+
*/
|
|
529
|
+
paymentCurrency?: string | null;
|
|
530
|
+
/** Timezone in `America/New_York` format. */
|
|
531
|
+
timeZone?: string | null;
|
|
532
|
+
/** Email address. */
|
|
533
|
+
email?: string | null;
|
|
534
|
+
/** Phone number. */
|
|
535
|
+
phone?: string | null;
|
|
536
|
+
/** Fax number. */
|
|
537
|
+
fax?: string | null;
|
|
538
|
+
/** Address. */
|
|
539
|
+
address?: Address;
|
|
540
|
+
/** Site display name. */
|
|
541
|
+
siteDisplayName?: string | null;
|
|
542
|
+
/** Business name. */
|
|
543
|
+
businessName?: string | null;
|
|
544
|
+
/** Path to the site's logo in Wix Media (without Wix Media base URL). */
|
|
545
|
+
logo?: string | null;
|
|
546
|
+
/** Site description. */
|
|
547
|
+
description?: string | null;
|
|
548
|
+
/**
|
|
549
|
+
* Business schedule. Regular and exceptional time periods when the business is open or the service is available.
|
|
550
|
+
*
|
|
551
|
+
* __Note:__ Not supported by Wix Bookings.
|
|
552
|
+
*/
|
|
553
|
+
businessSchedule?: BusinessSchedule;
|
|
554
|
+
/** Supported languages of a site and the primary language. */
|
|
555
|
+
multilingual?: Multilingual;
|
|
556
|
+
/** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
|
|
557
|
+
consentPolicy?: ConsentPolicy;
|
|
558
|
+
/**
|
|
559
|
+
* Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
|
|
560
|
+
*
|
|
561
|
+
* Site business type.
|
|
562
|
+
*/
|
|
563
|
+
businessConfig?: string | null;
|
|
564
|
+
/** External site URL that uses Wix as its headless business solution. */
|
|
565
|
+
externalSiteUrl?: string | null;
|
|
566
|
+
/** Track clicks analytics. */
|
|
567
|
+
trackClicksAnalytics?: boolean;
|
|
568
|
+
}
|
|
569
|
+
interface Categories {
|
|
570
|
+
/** Primary site category. */
|
|
571
|
+
primary?: string;
|
|
572
|
+
/**
|
|
573
|
+
* Secondary site category.
|
|
574
|
+
* @maxSize 50
|
|
575
|
+
*/
|
|
576
|
+
secondary?: string[];
|
|
577
|
+
/** Business Term Id */
|
|
578
|
+
businessTermId?: string | null;
|
|
579
|
+
}
|
|
580
|
+
interface Locale {
|
|
581
|
+
/** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
|
|
582
|
+
languageCode?: string;
|
|
583
|
+
/** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */
|
|
584
|
+
country?: string;
|
|
585
|
+
}
|
|
586
|
+
interface Address {
|
|
587
|
+
/** Street name. */
|
|
588
|
+
street?: string;
|
|
589
|
+
/** City name. */
|
|
590
|
+
city?: string;
|
|
591
|
+
/** Two-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */
|
|
592
|
+
country?: string;
|
|
593
|
+
/** State. */
|
|
594
|
+
state?: string;
|
|
595
|
+
/**
|
|
596
|
+
* Zip or postal code.
|
|
597
|
+
* @maxLength 20
|
|
598
|
+
*/
|
|
599
|
+
zip?: string;
|
|
600
|
+
/** Extra information to be displayed in the address. */
|
|
601
|
+
hint?: AddressHint;
|
|
602
|
+
/** Whether this address represents a physical location. */
|
|
603
|
+
isPhysical?: boolean;
|
|
604
|
+
/** Google-formatted version of this address. */
|
|
605
|
+
googleFormattedAddress?: string;
|
|
606
|
+
/** Street number. */
|
|
607
|
+
streetNumber?: string;
|
|
608
|
+
/** Apartment number. */
|
|
609
|
+
apartmentNumber?: string;
|
|
610
|
+
/** Geographic coordinates of location. */
|
|
611
|
+
coordinates?: GeoCoordinates;
|
|
612
|
+
}
|
|
613
|
+
/**
|
|
614
|
+
* Extra information on displayed addresses.
|
|
615
|
+
* This is used for display purposes. Used to add additional data about the address, such as "In the passage".
|
|
616
|
+
* Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
|
|
617
|
+
*/
|
|
618
|
+
interface AddressHint {
|
|
619
|
+
/** Extra text displayed next to, or instead of, the actual address. */
|
|
620
|
+
text?: string;
|
|
621
|
+
/** Where the extra text should be displayed. */
|
|
622
|
+
placement?: PlacementTypeWithLiterals;
|
|
623
|
+
}
|
|
624
|
+
/** Where the extra text should be displayed: before, after or instead of the actual address. */
|
|
625
|
+
declare enum PlacementType {
|
|
626
|
+
BEFORE = "BEFORE",
|
|
627
|
+
AFTER = "AFTER",
|
|
628
|
+
REPLACE = "REPLACE"
|
|
629
|
+
}
|
|
630
|
+
/** @enumType */
|
|
631
|
+
type PlacementTypeWithLiterals = PlacementType | 'BEFORE' | 'AFTER' | 'REPLACE';
|
|
632
|
+
/** Geocoordinates for a particular address. */
|
|
633
|
+
interface GeoCoordinates {
|
|
634
|
+
/** Latitude of the location. Must be between -90 and 90. */
|
|
635
|
+
latitude?: number;
|
|
636
|
+
/** Longitude of the location. Must be between -180 and 180. */
|
|
637
|
+
longitude?: number;
|
|
638
|
+
}
|
|
639
|
+
/** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
|
|
640
|
+
interface BusinessSchedule {
|
|
641
|
+
/**
|
|
642
|
+
* Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
|
|
643
|
+
* @maxSize 100
|
|
644
|
+
*/
|
|
645
|
+
periods?: TimePeriod[];
|
|
646
|
+
/**
|
|
647
|
+
* Exceptions to the business's regular hours. The business can be open or closed during the exception.
|
|
648
|
+
* @maxSize 100
|
|
649
|
+
*/
|
|
650
|
+
specialHourPeriod?: SpecialHourPeriod[];
|
|
651
|
+
}
|
|
652
|
+
/** Weekly recurring time periods when the business is regularly open or the service is available. */
|
|
653
|
+
interface TimePeriod {
|
|
654
|
+
/** Day of the week the period starts on. */
|
|
655
|
+
openDay?: DayOfWeekWithLiterals;
|
|
656
|
+
/**
|
|
657
|
+
* Time the period starts in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
|
|
658
|
+
* midnight at the end of the specified day.
|
|
659
|
+
*/
|
|
660
|
+
openTime?: string;
|
|
661
|
+
/** Day of the week the period ends on. */
|
|
662
|
+
closeDay?: DayOfWeekWithLiterals;
|
|
663
|
+
/**
|
|
664
|
+
* Time the period ends in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
|
|
665
|
+
* midnight at the end of the specified day.
|
|
666
|
+
*
|
|
667
|
+
* __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.
|
|
668
|
+
*/
|
|
669
|
+
closeTime?: string;
|
|
670
|
+
}
|
|
671
|
+
/** Enumerates the days of the week. */
|
|
672
|
+
declare enum DayOfWeek {
|
|
673
|
+
MONDAY = "MONDAY",
|
|
674
|
+
TUESDAY = "TUESDAY",
|
|
675
|
+
WEDNESDAY = "WEDNESDAY",
|
|
676
|
+
THURSDAY = "THURSDAY",
|
|
677
|
+
FRIDAY = "FRIDAY",
|
|
678
|
+
SATURDAY = "SATURDAY",
|
|
679
|
+
SUNDAY = "SUNDAY"
|
|
680
|
+
}
|
|
681
|
+
/** @enumType */
|
|
682
|
+
type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
|
|
683
|
+
/** Exception to the business's regular hours. The business can be open or closed during the exception. */
|
|
684
|
+
interface SpecialHourPeriod {
|
|
685
|
+
/** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
|
|
686
|
+
startDate?: string;
|
|
687
|
+
/** End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
|
|
688
|
+
endDate?: string;
|
|
689
|
+
/**
|
|
690
|
+
* Whether the business is closed (or the service is not available) during the exception.
|
|
691
|
+
*
|
|
692
|
+
* Default: `true`.
|
|
693
|
+
*/
|
|
694
|
+
isClosed?: boolean;
|
|
695
|
+
/** Additional info about the exception. For example, "We close earlier on New Year's Eve." */
|
|
696
|
+
comment?: string;
|
|
697
|
+
}
|
|
698
|
+
interface Multilingual {
|
|
699
|
+
/**
|
|
700
|
+
* Supported languages list.
|
|
701
|
+
* @maxSize 200
|
|
702
|
+
*/
|
|
703
|
+
supportedLanguages?: SupportedLanguage[];
|
|
704
|
+
/** Whether to redirect to user language. */
|
|
705
|
+
autoRedirect?: boolean;
|
|
706
|
+
}
|
|
707
|
+
interface SupportedLanguage {
|
|
708
|
+
/** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
|
|
709
|
+
languageCode?: string;
|
|
710
|
+
/** Locale. */
|
|
711
|
+
locale?: Locale;
|
|
712
|
+
/** Whether the supported language is the primary language for the site. */
|
|
713
|
+
isPrimary?: boolean;
|
|
714
|
+
/** Language icon. */
|
|
715
|
+
countryCode?: string;
|
|
716
|
+
/** How the language will be resolved. For internal use. */
|
|
717
|
+
resolutionMethod?: ResolutionMethodWithLiterals;
|
|
718
|
+
/** Whether the supported language is the primary language for site visitors. */
|
|
719
|
+
isVisitorPrimary?: boolean | null;
|
|
720
|
+
}
|
|
721
|
+
declare enum ResolutionMethod {
|
|
722
|
+
QUERY_PARAM = "QUERY_PARAM",
|
|
723
|
+
SUBDOMAIN = "SUBDOMAIN",
|
|
724
|
+
SUBDIRECTORY = "SUBDIRECTORY"
|
|
725
|
+
}
|
|
726
|
+
/** @enumType */
|
|
727
|
+
type ResolutionMethodWithLiterals = ResolutionMethod | 'QUERY_PARAM' | 'SUBDOMAIN' | 'SUBDIRECTORY';
|
|
728
|
+
interface ConsentPolicy {
|
|
729
|
+
/** Whether the site uses cookies that are essential to site operation. Always `true`. */
|
|
730
|
+
essential?: boolean | null;
|
|
731
|
+
/** Whether the site uses cookies that affect site performance and other functional measurements. */
|
|
732
|
+
functional?: boolean | null;
|
|
733
|
+
/** Whether the site uses cookies that collect analytics about how the site is used (in order to improve it). */
|
|
734
|
+
analytics?: boolean | null;
|
|
735
|
+
/** Whether the site uses cookies that collect information allowing better customization of the experience for a current visitor. */
|
|
736
|
+
advertising?: boolean | null;
|
|
737
|
+
/** CCPA compliance flag. */
|
|
738
|
+
dataToThirdParty?: boolean | null;
|
|
739
|
+
}
|
|
740
|
+
/** A single mapping from the MetaSite ID to a particular service. */
|
|
741
|
+
interface Translation {
|
|
742
|
+
/** The service type. */
|
|
743
|
+
serviceType?: string;
|
|
744
|
+
/** The application definition ID; this only applies to services of type ThirdPartyApps. */
|
|
745
|
+
appDefId?: string;
|
|
746
|
+
/** The instance ID of the service. */
|
|
747
|
+
instanceId?: string;
|
|
748
|
+
}
|
|
749
|
+
interface ChangeContext extends ChangeContextPayloadOneOf {
|
|
750
|
+
/** Properties were updated. */
|
|
751
|
+
propertiesChange?: PropertiesChange;
|
|
752
|
+
/** Default properties were created on site creation. */
|
|
753
|
+
siteCreated?: SiteCreated;
|
|
754
|
+
/** Properties were cloned on site cloning. */
|
|
755
|
+
siteCloned?: SiteCloned;
|
|
756
|
+
}
|
|
757
|
+
/** @oneof */
|
|
758
|
+
interface ChangeContextPayloadOneOf {
|
|
759
|
+
/** Properties were updated. */
|
|
760
|
+
propertiesChange?: PropertiesChange;
|
|
761
|
+
/** Default properties were created on site creation. */
|
|
762
|
+
siteCreated?: SiteCreated;
|
|
763
|
+
/** Properties were cloned on site cloning. */
|
|
764
|
+
siteCloned?: SiteCloned;
|
|
765
|
+
}
|
|
766
|
+
interface PropertiesChange {
|
|
767
|
+
}
|
|
768
|
+
interface SiteCreated {
|
|
769
|
+
/** Origin template site id. */
|
|
770
|
+
originTemplateId?: string | null;
|
|
771
|
+
}
|
|
772
|
+
interface SiteCloned {
|
|
773
|
+
/** Origin site id. */
|
|
774
|
+
originMetaSiteId?: string;
|
|
775
|
+
}
|
|
776
|
+
interface MessageEnvelope {
|
|
777
|
+
/**
|
|
778
|
+
* App instance ID.
|
|
779
|
+
* @format GUID
|
|
780
|
+
*/
|
|
781
|
+
instanceId?: string | null;
|
|
782
|
+
/**
|
|
783
|
+
* Event type.
|
|
784
|
+
* @maxLength 150
|
|
785
|
+
*/
|
|
786
|
+
eventType?: string;
|
|
787
|
+
/** The identification type and identity data. */
|
|
788
|
+
identity?: IdentificationData;
|
|
789
|
+
/** Stringify payload. */
|
|
790
|
+
data?: string;
|
|
791
|
+
}
|
|
792
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
793
|
+
/**
|
|
794
|
+
* ID of a site visitor that has not logged in to the site.
|
|
795
|
+
* @format GUID
|
|
796
|
+
*/
|
|
797
|
+
anonymousVisitorId?: string;
|
|
798
|
+
/**
|
|
799
|
+
* ID of a site visitor that has logged in to the site.
|
|
800
|
+
* @format GUID
|
|
801
|
+
*/
|
|
802
|
+
memberId?: string;
|
|
803
|
+
/**
|
|
804
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
805
|
+
* @format GUID
|
|
806
|
+
*/
|
|
807
|
+
wixUserId?: string;
|
|
808
|
+
/**
|
|
809
|
+
* ID of an app.
|
|
810
|
+
* @format GUID
|
|
811
|
+
*/
|
|
812
|
+
appId?: string;
|
|
813
|
+
/** @readonly */
|
|
814
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
815
|
+
}
|
|
816
|
+
/** @oneof */
|
|
817
|
+
interface IdentificationDataIdOneOf {
|
|
818
|
+
/**
|
|
819
|
+
* ID of a site visitor that has not logged in to the site.
|
|
820
|
+
* @format GUID
|
|
821
|
+
*/
|
|
822
|
+
anonymousVisitorId?: string;
|
|
823
|
+
/**
|
|
824
|
+
* ID of a site visitor that has logged in to the site.
|
|
825
|
+
* @format GUID
|
|
826
|
+
*/
|
|
827
|
+
memberId?: string;
|
|
828
|
+
/**
|
|
829
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
830
|
+
* @format GUID
|
|
831
|
+
*/
|
|
832
|
+
wixUserId?: string;
|
|
833
|
+
/**
|
|
834
|
+
* ID of an app.
|
|
835
|
+
* @format GUID
|
|
836
|
+
*/
|
|
837
|
+
appId?: string;
|
|
838
|
+
}
|
|
839
|
+
declare enum WebhookIdentityType {
|
|
840
|
+
UNKNOWN = "UNKNOWN",
|
|
841
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
842
|
+
MEMBER = "MEMBER",
|
|
843
|
+
WIX_USER = "WIX_USER",
|
|
844
|
+
APP = "APP"
|
|
845
|
+
}
|
|
846
|
+
/** @enumType */
|
|
847
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
848
|
+
interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
849
|
+
/**
|
|
850
|
+
* Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
|
|
851
|
+
* @format GUID
|
|
852
|
+
*/
|
|
853
|
+
metaSiteId?: string;
|
|
854
|
+
/**
|
|
855
|
+
* Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
|
|
856
|
+
* @format GUID
|
|
857
|
+
*/
|
|
858
|
+
siteId?: string;
|
|
859
|
+
/** Invalidate by App */
|
|
860
|
+
app?: App;
|
|
861
|
+
/** Invalidate by page id */
|
|
862
|
+
page?: Page;
|
|
863
|
+
/** Invalidate by URI path */
|
|
864
|
+
uri?: URI;
|
|
865
|
+
/** Invalidate by file (for media files such as PDFs) */
|
|
866
|
+
file?: File;
|
|
867
|
+
/** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
|
|
868
|
+
customTag?: CustomTag;
|
|
869
|
+
/**
|
|
870
|
+
* tell us why you're invalidating the cache. You don't need to add your app name
|
|
871
|
+
* @maxLength 256
|
|
872
|
+
*/
|
|
873
|
+
reason?: string | null;
|
|
874
|
+
/** Is local DS */
|
|
875
|
+
localDc?: boolean;
|
|
876
|
+
hardPurge?: boolean;
|
|
877
|
+
}
|
|
878
|
+
/** @oneof */
|
|
879
|
+
interface InvalidateCacheGetByOneOf {
|
|
880
|
+
/**
|
|
881
|
+
* Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
|
|
882
|
+
* @format GUID
|
|
883
|
+
*/
|
|
884
|
+
metaSiteId?: string;
|
|
885
|
+
/**
|
|
886
|
+
* Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
|
|
887
|
+
* @format GUID
|
|
888
|
+
*/
|
|
889
|
+
siteId?: string;
|
|
890
|
+
/** Invalidate by App */
|
|
891
|
+
app?: App;
|
|
892
|
+
/** Invalidate by page id */
|
|
893
|
+
page?: Page;
|
|
894
|
+
/** Invalidate by URI path */
|
|
895
|
+
uri?: URI;
|
|
896
|
+
/** Invalidate by file (for media files such as PDFs) */
|
|
897
|
+
file?: File;
|
|
898
|
+
/** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
|
|
899
|
+
customTag?: CustomTag;
|
|
900
|
+
}
|
|
901
|
+
interface App {
|
|
902
|
+
/**
|
|
903
|
+
* The AppDefId
|
|
904
|
+
* @minLength 1
|
|
905
|
+
*/
|
|
906
|
+
appDefId?: string;
|
|
907
|
+
/**
|
|
908
|
+
* The instance Id
|
|
909
|
+
* @format GUID
|
|
910
|
+
*/
|
|
911
|
+
instanceId?: string;
|
|
912
|
+
}
|
|
913
|
+
interface Page {
|
|
914
|
+
/**
|
|
915
|
+
* the msid the page is on
|
|
916
|
+
* @format GUID
|
|
917
|
+
*/
|
|
918
|
+
metaSiteId?: string;
|
|
919
|
+
/**
|
|
920
|
+
* Invalidate by Page ID
|
|
921
|
+
* @minLength 1
|
|
922
|
+
*/
|
|
923
|
+
pageId?: string;
|
|
924
|
+
}
|
|
925
|
+
interface URI {
|
|
926
|
+
/**
|
|
927
|
+
* the msid the URI is on
|
|
928
|
+
* @format GUID
|
|
929
|
+
*/
|
|
930
|
+
metaSiteId?: string;
|
|
931
|
+
/**
|
|
932
|
+
* URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
|
|
933
|
+
* @minLength 1
|
|
934
|
+
*/
|
|
935
|
+
uriPath?: string;
|
|
936
|
+
}
|
|
937
|
+
interface File {
|
|
938
|
+
/**
|
|
939
|
+
* the msid the file is related to
|
|
940
|
+
* @format GUID
|
|
941
|
+
*/
|
|
942
|
+
metaSiteId?: string;
|
|
943
|
+
/**
|
|
944
|
+
* Invalidate by filename (for media files such as PDFs)
|
|
945
|
+
* @minLength 1
|
|
946
|
+
* @maxLength 256
|
|
947
|
+
*/
|
|
948
|
+
fileName?: string;
|
|
949
|
+
}
|
|
950
|
+
interface CustomTag {
|
|
951
|
+
/**
|
|
952
|
+
* the msid the tag is related to
|
|
953
|
+
* @format GUID
|
|
954
|
+
*/
|
|
955
|
+
metaSiteId?: string;
|
|
956
|
+
/**
|
|
957
|
+
* Tag to invalidate by
|
|
958
|
+
* @minLength 1
|
|
959
|
+
* @maxLength 256
|
|
960
|
+
*/
|
|
961
|
+
tag?: string;
|
|
962
|
+
}
|
|
963
|
+
interface DeleteLocationIdsFromVariants {
|
|
964
|
+
/**
|
|
965
|
+
* @format GUID
|
|
966
|
+
* @maxSize 100
|
|
967
|
+
*/
|
|
968
|
+
businessLocationIds?: string[];
|
|
969
|
+
/**
|
|
970
|
+
* @format GUID
|
|
971
|
+
* @maxSize 1000
|
|
972
|
+
*/
|
|
973
|
+
variantIds?: string[];
|
|
974
|
+
}
|
|
975
|
+
interface DeleteLocationIdsFromModifierGroups {
|
|
976
|
+
/**
|
|
977
|
+
* @format GUID
|
|
978
|
+
* @maxSize 100
|
|
979
|
+
*/
|
|
980
|
+
businessLocationIds?: string[];
|
|
981
|
+
/**
|
|
982
|
+
* @format GUID
|
|
983
|
+
* @maxSize 1000
|
|
984
|
+
*/
|
|
985
|
+
modifierGroupIds?: string[];
|
|
986
|
+
}
|
|
183
987
|
interface CreateItemRequest {
|
|
184
988
|
/** Item details. */
|
|
185
989
|
item: Item;
|
|
@@ -621,6 +1425,89 @@ interface BulkDeleteItemResult {
|
|
|
621
1425
|
/** Metadata for item delete. */
|
|
622
1426
|
itemMetadata?: ItemMetadata;
|
|
623
1427
|
}
|
|
1428
|
+
interface CloneItemsRequest {
|
|
1429
|
+
/**
|
|
1430
|
+
* The MetaSiteId to clone from.
|
|
1431
|
+
* @format GUID
|
|
1432
|
+
*/
|
|
1433
|
+
metaSiteId?: string;
|
|
1434
|
+
}
|
|
1435
|
+
interface CloneItemsResponse {
|
|
1436
|
+
}
|
|
1437
|
+
interface BulkUpdateBusinessLocationIdsRequest {
|
|
1438
|
+
/**
|
|
1439
|
+
* item ids
|
|
1440
|
+
* @format GUID
|
|
1441
|
+
* @minSize 1
|
|
1442
|
+
* @maxSize 100
|
|
1443
|
+
*/
|
|
1444
|
+
itemIds?: string[];
|
|
1445
|
+
/**
|
|
1446
|
+
* Business Location Ids.
|
|
1447
|
+
* @maxSize 100
|
|
1448
|
+
* @format GUID
|
|
1449
|
+
*/
|
|
1450
|
+
businessLocationIds?: string[];
|
|
1451
|
+
}
|
|
1452
|
+
interface BulkUpdateBusinessLocationIdsResponse {
|
|
1453
|
+
/**
|
|
1454
|
+
* Information about the updated items.
|
|
1455
|
+
* @minSize 1
|
|
1456
|
+
* @maxSize 100
|
|
1457
|
+
*/
|
|
1458
|
+
results?: BulkUpdateBusinessLocationIdsResponseBulkItemResult[];
|
|
1459
|
+
}
|
|
1460
|
+
interface BulkUpdateBusinessLocationIdsResponseBulkItemResult {
|
|
1461
|
+
/** Metadata for item update. */
|
|
1462
|
+
itemMetadata?: ItemMetadata;
|
|
1463
|
+
}
|
|
1464
|
+
interface BulkUpdateBusinessLocationIdsPerEntityRequest {
|
|
1465
|
+
/**
|
|
1466
|
+
* @minSize 1
|
|
1467
|
+
* @maxSize 100
|
|
1468
|
+
*/
|
|
1469
|
+
itemIdLocationIds?: ItemIdLocationIds[];
|
|
1470
|
+
}
|
|
1471
|
+
interface ItemIdLocationIds {
|
|
1472
|
+
/**
|
|
1473
|
+
* item ID
|
|
1474
|
+
* @format GUID
|
|
1475
|
+
*/
|
|
1476
|
+
itemId?: string;
|
|
1477
|
+
/**
|
|
1478
|
+
* Business Location IDs
|
|
1479
|
+
* @maxSize 100
|
|
1480
|
+
* @format GUID
|
|
1481
|
+
*/
|
|
1482
|
+
businessLocationIds?: string[];
|
|
1483
|
+
}
|
|
1484
|
+
interface BulkUpdateBusinessLocationIdsPerEntityResponse {
|
|
1485
|
+
/**
|
|
1486
|
+
* Information about the updated items.
|
|
1487
|
+
* @minSize 1
|
|
1488
|
+
* @maxSize 100
|
|
1489
|
+
*/
|
|
1490
|
+
results?: BulkItemResult[];
|
|
1491
|
+
}
|
|
1492
|
+
interface BulkItemResult {
|
|
1493
|
+
/** Metadata for item update. */
|
|
1494
|
+
itemMetadata?: ItemMetadata;
|
|
1495
|
+
}
|
|
1496
|
+
interface SyncContentToMultilingualRequest {
|
|
1497
|
+
/**
|
|
1498
|
+
* MetaSite ID
|
|
1499
|
+
* @format GUID
|
|
1500
|
+
*/
|
|
1501
|
+
metaSiteId?: string;
|
|
1502
|
+
}
|
|
1503
|
+
interface SyncContentToMultilingualResponse {
|
|
1504
|
+
}
|
|
1505
|
+
/** @docsIgnore */
|
|
1506
|
+
type CountItemsApplicationErrors = {
|
|
1507
|
+
code?: 'TOO_MANY_TO_COUNT';
|
|
1508
|
+
description?: string;
|
|
1509
|
+
data?: Record<string, any>;
|
|
1510
|
+
};
|
|
624
1511
|
|
|
625
1512
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
626
1513
|
getUrl: (context: any) => string;
|
|
@@ -653,4 +1540,4 @@ declare function deleteItem(): __PublicMethodMetaInfo<'DELETE', {
|
|
|
653
1540
|
}, DeleteItemRequest$1, DeleteItemRequest, DeleteItemResponse$1, DeleteItemResponse>;
|
|
654
1541
|
declare function bulkDeleteItems(): __PublicMethodMetaInfo<'DELETE', {}, BulkDeleteItemsRequest$1, BulkDeleteItemsRequest, BulkDeleteItemsResponse$1, BulkDeleteItemsResponse>;
|
|
655
1542
|
|
|
656
|
-
export { type __PublicMethodMetaInfo, bulkCreateItems, bulkDeleteItems, bulkUpdateItem, countItems, createItem, deleteItem, duplicateItem, getItem, listItems, queryItems, searchItems, updateItem };
|
|
1543
|
+
export { type ActionEvent as ActionEventOriginal, type AddressHint as AddressHintOriginal, type Address as AddressOriginal, type AggregationData as AggregationDataOriginal, type AggregationKindOneOf as AggregationKindOneOfOriginal, type Aggregation as AggregationOriginal, type AggregationResults as AggregationResultsOriginal, type AggregationResultsResultOneOf as AggregationResultsResultOneOfOriginal, AggregationType as AggregationTypeOriginal, type AggregationTypeWithLiterals as AggregationTypeWithLiteralsOriginal, type App as AppOriginal, type ApplicationError as ApplicationErrorOriginal, type AvailabilityAvailabilityTypeOptionsOneOf as AvailabilityAvailabilityTypeOptionsOneOfOriginal, type Availability as AvailabilityOriginal, AvailabilityType as AvailabilityTypeOriginal, type AvailabilityTypeWithLiterals as AvailabilityTypeWithLiteralsOriginal, type AvailableRange as AvailableRangeOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateItemResult as BulkCreateItemResultOriginal, type BulkCreateItemsRequest as BulkCreateItemsRequestOriginal, type BulkCreateItemsResponse as BulkCreateItemsResponseOriginal, type BulkDeleteItemResult as BulkDeleteItemResultOriginal, type BulkDeleteItemsRequest as BulkDeleteItemsRequestOriginal, type BulkDeleteItemsResponse as BulkDeleteItemsResponseOriginal, type BulkItemResult as BulkItemResultOriginal, type BulkUpdateBusinessLocationIdsPerEntityRequest as BulkUpdateBusinessLocationIdsPerEntityRequestOriginal, type BulkUpdateBusinessLocationIdsPerEntityResponse as BulkUpdateBusinessLocationIdsPerEntityResponseOriginal, type BulkUpdateBusinessLocationIdsRequest as BulkUpdateBusinessLocationIdsRequestOriginal, type BulkUpdateBusinessLocationIdsResponseBulkItemResult as BulkUpdateBusinessLocationIdsResponseBulkItemResultOriginal, type BulkUpdateBusinessLocationIdsResponse as BulkUpdateBusinessLocationIdsResponseOriginal, type BulkUpdateItemRequest as BulkUpdateItemRequestOriginal, type BulkUpdateItemResponseBulkItemResult as BulkUpdateItemResponseBulkItemResultOriginal, type BulkUpdateItemResponse as BulkUpdateItemResponseOriginal, type BusinessSchedule as BusinessScheduleOriginal, type Categories as CategoriesOriginal, type ChangeContext as ChangeContextOriginal, type ChangeContextPayloadOneOf as ChangeContextPayloadOneOfOriginal, type CloneItemsRequest as CloneItemsRequestOriginal, type CloneItemsResponse as CloneItemsResponseOriginal, type ConsentPolicy as ConsentPolicyOriginal, type CountItemsApplicationErrors as CountItemsApplicationErrorsOriginal, type CountItemsRequest as CountItemsRequestOriginal, type CountItemsResponse as CountItemsResponseOriginal, type CreateItemRequest as CreateItemRequestOriginal, type CreateItemResponse as CreateItemResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type CursorSearch as CursorSearchOriginal, type CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomTag as CustomTagOriginal, type DayOfWeekAvailability as DayOfWeekAvailabilityOriginal, DayOfWeek as DayOfWeekOriginal, type DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal, type DeleteByFilterOperation as DeleteByFilterOperationOriginal, type DeleteByIdsOperation as DeleteByIdsOperationOriginal, type DeleteItemRequest as DeleteItemRequestOriginal, type DeleteItemResponse as DeleteItemResponseOriginal, type DeleteLocationIdsFromModifierGroups as DeleteLocationIdsFromModifierGroupsOriginal, type DeleteLocationIdsFromVariants as DeleteLocationIdsFromVariantsOriginal, type DocumentImage as DocumentImageOriginal, type DocumentPayload as DocumentPayloadOriginal, type DocumentUpdateOperation as DocumentUpdateOperationOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DuplicateItemRequest as DuplicateItemRequestOriginal, type DuplicateItemResponse as DuplicateItemResponseOriginal, type Empty as EmptyOriginal, EntitiesDayOfWeek as EntitiesDayOfWeekOriginal, type EntitiesDayOfWeekWithLiterals as EntitiesDayOfWeekWithLiteralsOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, Enum as EnumOriginal, type EnumWithLiterals as EnumWithLiteralsOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalReferenceInfo as ExternalReferenceInfoOriginal, type File as FileOriginal, type GeoCoordinates as GeoCoordinatesOriginal, type GetItemRequest as GetItemRequestOriginal, type GetItemResponse as GetItemResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type IndexDocument as IndexDocumentOriginal, type InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal, type InvalidateCache as InvalidateCacheOriginal, type ItemIdLocationIds as ItemIdLocationIdsOriginal, type ItemMetadata as ItemMetadataOriginal, type Item as ItemOriginal, type ItemPricingOneOf as ItemPricingOneOfOriginal, type Label as LabelOriginal, type ListItemsRequest as ListItemsRequestOriginal, type ListItemsResponse as ListItemsResponseOriginal, type Locale as LocaleOriginal, type MaskedItem as MaskedItemOriginal, type MessageEnvelope as MessageEnvelopeOriginal, Mode as ModeOriginal, type ModeWithLiterals as ModeWithLiteralsOriginal, type ModifierGroup as ModifierGroupOriginal, type Multilingual as MultilingualOriginal, type OrderSettings as OrderSettingsOriginal, type Page as PageOriginal, PlacementType as PlacementTypeOriginal, type PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal, type PriceInfo as PriceInfoOriginal, type PriceVariant as PriceVariantOriginal, type PriceVariants as PriceVariantsOriginal, type PropertiesChange as PropertiesChangeOriginal, type Properties as PropertiesOriginal, type QueryItemsRequest as QueryItemsRequestOriginal, type QueryItemsResponse as QueryItemsResponseOriginal, type RangeAggregation as RangeAggregationOriginal, type RangeAggregationResult as RangeAggregationResultOriginal, type RangeBucket as RangeBucketOriginal, type RangeResults as RangeResultsOriginal, ResolutionMethod as ResolutionMethodOriginal, type ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type ScalarAggregation as ScalarAggregationOriginal, type ScalarResult as ScalarResultOriginal, ScalarType as ScalarTypeOriginal, type ScalarTypeWithLiterals as ScalarTypeWithLiteralsOriginal, type SearchDetails as SearchDetailsOriginal, type SearchIndexingNotification as SearchIndexingNotificationOriginal, type SearchItemsRequest as SearchItemsRequestOriginal, type SearchItemsResponse as SearchItemsResponseOriginal, type SiteCloned as SiteClonedOriginal, type SiteCreated as SiteCreatedOriginal, type SitePropertiesEvent as SitePropertiesEventOriginal, type SitePropertiesNotification as SitePropertiesNotificationOriginal, SortDirection as SortDirectionOriginal, type SortDirectionWithLiterals as SortDirectionWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, SortType as SortTypeOriginal, type SortTypeWithLiterals as SortTypeWithLiteralsOriginal, type Sorting as SortingOriginal, type SpecialHourPeriod as SpecialHourPeriodOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, type SupportedLanguage as SupportedLanguageOriginal, type SyncContentToMultilingualRequest as SyncContentToMultilingualRequestOriginal, type SyncContentToMultilingualResponse as SyncContentToMultilingualResponseOriginal, type TimeOfDay as TimeOfDayOriginal, type TimeOfDayRange as TimeOfDayRangeOriginal, type TimePeriod as TimePeriodOriginal, type TimestampRangesOptions as TimestampRangesOptionsOriginal, type Translation as TranslationOriginal, type URI as URIOriginal, type UpdateByFilterOperation as UpdateByFilterOperationOriginal, type UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOfOriginal, type UpdateDocumentsEvent as UpdateDocumentsEventOriginal, type UpdateExistingOperation as UpdateExistingOperationOriginal, type UpdateItemRequest as UpdateItemRequestOriginal, type UpdateItemResponse as UpdateItemResponseOriginal, type ValueAggregation as ValueAggregationOriginal, type ValueAggregationResult as ValueAggregationResultOriginal, type ValueResults as ValueResultsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WeeklyScheduleOptions as WeeklyScheduleOptionsOriginal, type __PublicMethodMetaInfo, bulkCreateItems, bulkDeleteItems, bulkUpdateItem, countItems, createItem, deleteItem, duplicateItem, getItem, listItems, queryItems, searchItems, updateItem };
|