@wix/auto_sdk_restaurants_menus 1.0.95 → 1.0.96

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.
@@ -1,4 +1,4 @@
1
- import { CreateMenuRequest as CreateMenuRequest$1, CreateMenuResponse as CreateMenuResponse$1, BulkCreateMenusRequest as BulkCreateMenusRequest$1, BulkCreateMenusResponse as BulkCreateMenusResponse$1, GetMenuRequest as GetMenuRequest$1, GetMenuResponse as GetMenuResponse$1, ListMenusRequest as ListMenusRequest$1, ListMenusResponse as ListMenusResponse$1, QueryMenusRequest as QueryMenusRequest$1, QueryMenusResponse as QueryMenusResponse$1, UpdateMenuRequest as UpdateMenuRequest$1, UpdateMenuResponse as UpdateMenuResponse$1, BulkUpdateMenuRequest as BulkUpdateMenuRequest$1, BulkUpdateMenuResponse as BulkUpdateMenuResponse$1, UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequest$1, UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponse$1, DeleteMenuRequest as DeleteMenuRequest$1, DeleteMenuResponse as DeleteMenuResponse$1, DuplicateMenuRequest as DuplicateMenuRequest$1, DuplicateMenuResponse as DuplicateMenuResponse$1, GetMenuSiteUrlRequest as GetMenuSiteUrlRequest$1, GetMenuSiteUrlResponse as GetMenuSiteUrlResponse$1, QueryMenusSiteUrlRequest as QueryMenusSiteUrlRequest$1, QueryMenusSiteUrlResponse as QueryMenusSiteUrlResponse$1 } from './index.typings.js';
1
+ import { DuplicateMenuRequest as DuplicateMenuRequest$1, DuplicateMenuResponse as DuplicateMenuResponse$1, GetMenuSiteUrlRequest as GetMenuSiteUrlRequest$1, GetMenuSiteUrlResponse as GetMenuSiteUrlResponse$1, QueryMenusSiteUrlRequest as QueryMenusSiteUrlRequest$1, QueryMenusSiteUrlResponse as QueryMenusSiteUrlResponse$1, CreateMenuRequest as CreateMenuRequest$1, CreateMenuResponse as CreateMenuResponse$1, BulkCreateMenusRequest as BulkCreateMenusRequest$1, BulkCreateMenusResponse as BulkCreateMenusResponse$1, GetMenuRequest as GetMenuRequest$1, GetMenuResponse as GetMenuResponse$1, ListMenusRequest as ListMenusRequest$1, ListMenusResponse as ListMenusResponse$1, QueryMenusRequest as QueryMenusRequest$1, QueryMenusResponse as QueryMenusResponse$1, UpdateMenuRequest as UpdateMenuRequest$1, UpdateMenuResponse as UpdateMenuResponse$1, BulkUpdateMenuRequest as BulkUpdateMenuRequest$1, BulkUpdateMenuResponse as BulkUpdateMenuResponse$1, UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequest$1, UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponse$1, DeleteMenuRequest as DeleteMenuRequest$1, DeleteMenuResponse as DeleteMenuResponse$1 } from './index.typings.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  interface Menu {
@@ -283,288 +283,249 @@ interface ExternalReferenceInfo {
283
283
  /** Whether the connection to the external system is currently active. */
284
284
  connected?: boolean | null;
285
285
  }
286
- interface InvalidateCache extends InvalidateCacheGetByOneOf {
286
+ interface DuplicateMenuRequest {
287
287
  /**
288
- * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
288
+ * Menu id to be duplicated.
289
289
  * @format GUID
290
290
  */
291
- metaSiteId?: string;
291
+ id: string;
292
292
  /**
293
- * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
293
+ * Business location ids to duplicate the menu to.
294
294
  * @format GUID
295
+ * @maxSize 100
295
296
  */
296
- siteId?: string;
297
- /** Invalidate by App */
298
- app?: App;
299
- /** Invalidate by page id */
300
- page?: Page;
301
- /** Invalidate by URI path */
302
- uri?: URI;
303
- /** Invalidate by file (for media files such as PDFs) */
304
- file?: File;
305
- /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
306
- customTag?: CustomTag;
307
- /** Invalidate by multiple page ids */
308
- pages?: Pages;
309
- /** Invalidate by multiple URI paths */
310
- uris?: URIs;
297
+ businessLocationIds?: string[] | null;
298
+ /** Indicates whether sub-entities (such as items) should be duplicated as well. */
299
+ duplicateSubEntities?: boolean | null;
311
300
  /**
312
- * tell us why you're invalidating the cache. You don't need to add your app name
313
- * @maxLength 256
301
+ * The new name of the duplicated menu.
302
+ * @maxLength 500
314
303
  */
315
- reason?: string | null;
316
- /** Is local DS */
317
- localDc?: boolean;
318
- hardPurge?: boolean;
304
+ menuName?: string | null;
305
+ }
306
+ interface DuplicateMenuResponse {
307
+ /** @format GUID */
308
+ menuIds?: string[];
309
+ }
310
+ interface DomainEvent extends DomainEventBodyOneOf {
311
+ createdEvent?: EntityCreatedEvent;
312
+ updatedEvent?: EntityUpdatedEvent;
313
+ deletedEvent?: EntityDeletedEvent;
314
+ actionEvent?: ActionEvent;
315
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
316
+ id?: string;
319
317
  /**
320
- * Optional caller-provided ID for tracking this invalidation through the system.
321
- * When set, the corresponding CDN purge completion event will include this ID,
322
- * allowing you to confirm when the invalidation has fully propagated.
323
- * Example: generate a UUID, pass it here, and later match it in the CDN purge completion event.
324
- * @maxLength 256
318
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
319
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
325
320
  */
326
- correlationId?: string | null;
321
+ entityFqdn?: string;
322
+ /**
323
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
324
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
325
+ */
326
+ slug?: string;
327
+ /** ID of the entity associated with the event. */
328
+ entityId?: string;
329
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
330
+ eventTime?: Date | null;
331
+ /**
332
+ * Whether the event was triggered as a result of a privacy regulation application
333
+ * (for example, GDPR).
334
+ */
335
+ triggeredByAnonymizeRequest?: boolean | null;
336
+ /** If present, indicates the action that triggered the event. */
337
+ originatedFrom?: string | null;
338
+ /**
339
+ * 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.
340
+ * 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.
341
+ */
342
+ entityEventSequence?: string | null;
327
343
  }
328
344
  /** @oneof */
329
- interface InvalidateCacheGetByOneOf {
345
+ interface DomainEventBodyOneOf {
346
+ createdEvent?: EntityCreatedEvent;
347
+ updatedEvent?: EntityUpdatedEvent;
348
+ deletedEvent?: EntityDeletedEvent;
349
+ actionEvent?: ActionEvent;
350
+ }
351
+ interface EntityCreatedEvent {
352
+ entityAsJson?: string;
330
353
  /**
331
- * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
332
- * @format GUID
354
+ * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity
355
+ * @internal
333
356
  */
334
- metaSiteId?: string;
357
+ triggeredByUndelete?: boolean | null;
358
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
359
+ restoreInfo?: RestoreInfo;
335
360
  /**
336
- * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
337
- * @format GUID
361
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
362
+ * @internal
338
363
  */
339
- siteId?: string;
340
- /** Invalidate by App */
341
- app?: App;
342
- /** Invalidate by page id */
343
- page?: Page;
344
- /** Invalidate by URI path */
345
- uri?: URI;
346
- /** Invalidate by file (for media files such as PDFs) */
347
- file?: File;
348
- /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
349
- customTag?: CustomTag;
350
- /** Invalidate by multiple page ids */
351
- pages?: Pages;
352
- /** Invalidate by multiple URI paths */
353
- uris?: URIs;
364
+ additionalMetadataAsJson?: string | null;
354
365
  }
355
- interface App {
366
+ interface RestoreInfo {
367
+ deletedDate?: Date | null;
368
+ }
369
+ interface EntityUpdatedEvent {
356
370
  /**
357
- * The AppDefId
358
- * @minLength 1
371
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
372
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
373
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
359
374
  */
360
- appDefId?: string;
375
+ currentEntityAsJson?: string;
361
376
  /**
362
- * The instance Id
363
- * @format GUID
377
+ * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard
378
+ * wont populate it / have any reference to it in the API.
379
+ * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,
380
+ * the developer should send only the new (current) entity.
381
+ * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big
382
+ * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.
383
+ * @internal
384
+ * @deprecated
364
385
  */
365
- instanceId?: string;
386
+ previousEntityAsJson?: string | null;
387
+ /**
388
+ * Map of fully qualified field paths to their previous values for fields that changed.
389
+ * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)
390
+ * @internal
391
+ */
392
+ modifiedFields?: Record<string, any>;
393
+ /**
394
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
395
+ * @internal
396
+ */
397
+ additionalMetadataAsJson?: string | null;
366
398
  }
367
- interface Page {
399
+ interface EntityDeletedEvent {
368
400
  /**
369
- * the msid the page is on
370
- * @format GUID
401
+ * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled
402
+ * @internal
371
403
  */
372
- metaSiteId?: string;
404
+ movedToTrash?: boolean | null;
405
+ /** Entity that was deleted. */
406
+ deletedEntityAsJson?: string | null;
373
407
  /**
374
- * Invalidate by Page ID
375
- * @minLength 1
408
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
409
+ * @internal
376
410
  */
377
- pageId?: string;
411
+ additionalMetadataAsJson?: string | null;
378
412
  }
379
- interface URI {
413
+ interface ActionEvent {
414
+ bodyAsJson?: string;
415
+ }
416
+ interface MessageEnvelope {
380
417
  /**
381
- * the msid the URI is on
418
+ * App instance ID.
382
419
  * @format GUID
383
420
  */
384
- metaSiteId?: string;
421
+ instanceId?: string | null;
385
422
  /**
386
- * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
387
- * @minLength 1
423
+ * Event type.
424
+ * @maxLength 150
388
425
  */
389
- uriPath?: string;
426
+ eventType?: string;
427
+ /** The identification type and identity data. */
428
+ identity?: IdentificationData;
429
+ /** Stringify payload. */
430
+ data?: string;
431
+ /** Details related to the account */
432
+ accountInfo?: AccountInfo;
390
433
  }
391
- interface File {
434
+ interface IdentificationData extends IdentificationDataIdOneOf {
392
435
  /**
393
- * the msid the file is related to
436
+ * ID of a site visitor that has not logged in to the site.
394
437
  * @format GUID
395
438
  */
396
- metaSiteId?: string;
439
+ anonymousVisitorId?: string;
397
440
  /**
398
- * Invalidate by filename (for media files such as PDFs)
399
- * @minLength 1
400
- * @maxLength 256
441
+ * ID of a site visitor that has logged in to the site.
442
+ * @format GUID
401
443
  */
402
- fileName?: string;
403
- }
404
- interface CustomTag {
444
+ memberId?: string;
405
445
  /**
406
- * the msid the tag is related to
446
+ * ID of a Wix user (site owner, contributor, etc.).
407
447
  * @format GUID
408
448
  */
409
- metaSiteId?: string;
449
+ wixUserId?: string;
410
450
  /**
411
- * Tag to invalidate by
412
- * @minLength 1
413
- * @maxLength 256
451
+ * ID of an app.
452
+ * @format GUID
414
453
  */
415
- tag?: string;
454
+ appId?: string;
455
+ /** @readonly */
456
+ identityType?: WebhookIdentityTypeWithLiterals;
416
457
  }
417
- interface Pages {
458
+ /** @oneof */
459
+ interface IdentificationDataIdOneOf {
418
460
  /**
419
- * the msid the pages are on
461
+ * ID of a site visitor that has not logged in to the site.
420
462
  * @format GUID
421
463
  */
422
- metaSiteId?: string;
464
+ anonymousVisitorId?: string;
423
465
  /**
424
- * Invalidate by multiple Page IDs in a single message
425
- * @maxSize 100
426
- * @minLength 1
466
+ * ID of a site visitor that has logged in to the site.
467
+ * @format GUID
427
468
  */
428
- pageIds?: string[];
429
- }
430
- interface URIs {
469
+ memberId?: string;
431
470
  /**
432
- * the msid the URIs are on
471
+ * ID of a Wix user (site owner, contributor, etc.).
433
472
  * @format GUID
434
473
  */
435
- metaSiteId?: string;
474
+ wixUserId?: string;
436
475
  /**
437
- * URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes
438
- * @maxSize 100
439
- * @minLength 1
476
+ * ID of an app.
477
+ * @format GUID
440
478
  */
441
- uriPaths?: string[];
442
- }
443
- interface DeleteOrphanSections {
444
- /** Menu id */
445
- menuId?: string;
479
+ appId?: string;
446
480
  }
447
- interface MenusDataCloningCompleted {
481
+ declare enum WebhookIdentityType {
482
+ UNKNOWN = "UNKNOWN",
483
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
484
+ MEMBER = "MEMBER",
485
+ WIX_USER = "WIX_USER",
486
+ APP = "APP"
448
487
  }
449
- interface CreateMenuRequest {
450
- /** Menu details. */
451
- menu: Menu;
452
- }
453
- interface CreateMenuResponse {
454
- /** Menu. */
455
- menu?: Menu;
456
- }
457
- interface BulkCreateMenusRequest {
488
+ /** @enumType */
489
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
490
+ interface AccountInfo {
458
491
  /**
459
- * Menu details.
460
- * @maxSize 100
492
+ * ID of the Wix account associated with the event.
493
+ * @format GUID
461
494
  */
462
- menus: Menu[];
463
- /** Whether to receive the created menus in the response. */
464
- returnEntity?: boolean;
465
- }
466
- interface BulkCreateMenusResponse {
467
- /** Information about the created menus. */
468
- results?: BulkCreateMenuResult[];
469
- /** Metadata for the API call. */
470
- bulkActionMetadata?: BulkActionMetadata;
471
- }
472
- interface BulkCreateMenuResult {
473
- /** Whether to receive the created menus in the response. */
474
- menuMetadata?: ItemMetadata;
475
- /** Created menu. */
476
- menu?: Menu;
477
- }
478
- interface ItemMetadata {
479
- /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
480
- id?: string | null;
481
- /** Index of the item within the request array. Allows for correlation between request and response items. */
482
- originalIndex?: number;
483
- /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
484
- success?: boolean;
485
- /** Details about the error in case of failure. */
486
- error?: ApplicationError;
487
- }
488
- interface ApplicationError {
489
- /** Error code. */
490
- code?: string;
491
- /** Description of the error. */
492
- description?: string;
493
- /** Data related to the error. */
494
- data?: Record<string, any> | null;
495
- }
496
- interface BulkActionMetadata {
497
- /** Number of items that were successfully processed. */
498
- totalSuccesses?: number;
499
- /** Number of items that couldn't be processed. */
500
- totalFailures?: number;
501
- /** Number of failures without details because detailed failure threshold was exceeded. */
502
- undetailedFailures?: number;
503
- }
504
- interface GetMenuRequest {
495
+ accountId?: string | null;
505
496
  /**
506
- * Menu ID.
497
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
507
498
  * @format GUID
508
499
  */
509
- menuId: string;
510
- }
511
- interface GetMenuResponse {
512
- /** Menu. */
513
- menu?: Menu;
514
- }
515
- interface ListMenusRequest {
500
+ parentAccountId?: string | null;
516
501
  /**
517
- * Menu IDs.
502
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
518
503
  * @format GUID
519
- * @maxSize 500
520
504
  */
521
- menuIds?: string[];
522
- /** The metadata of the paginated results. */
523
- paging?: CursorPaging;
524
- /** Whether to return only menus that are visible to site visitors. */
525
- onlyVisible?: boolean | null;
505
+ siteId?: string | null;
526
506
  }
527
- interface CursorPaging {
528
- /**
529
- * Number of items to load.
530
- * @max 500
531
- */
532
- limit?: number | null;
507
+ interface GetMenuSiteUrlRequest {
533
508
  /**
534
- * Pointer to the next or previous page in the list of results.
535
- *
536
- * You can get the relevant cursor token
537
- * from the `pagingMetadata` object in the previous call's response.
538
- * Not relevant for the first request.
509
+ * Menu ID.
510
+ * @format GUID
511
+ * @readonly
539
512
  */
540
- cursor?: string | null;
513
+ id: string | null;
541
514
  }
542
- interface ListMenusResponse {
543
- /** Retrieved menus. */
544
- menus?: Menu[];
545
- /** The metadata of the paginated results. */
546
- pagingMetadata?: CursorPagingMetadata;
515
+ interface GetMenuSiteUrlResponse {
516
+ /** Retrieved menuInfo with path url. */
517
+ menuSiteUrl?: MenuSiteUrl;
547
518
  }
548
- interface CursorPagingMetadata {
549
- /** Number of items returned in the response. */
550
- count?: number | null;
551
- /** Offset that was requested. */
552
- cursors?: Cursors;
519
+ interface MenuSiteUrl {
553
520
  /**
554
- * Indicates if there are more results after the current page.
555
- * If `true`, another page of results can be retrieved.
556
- * If `false`, this is the last page.
521
+ * Path URL.
522
+ * @minLength 1
523
+ * @maxLength 1000
557
524
  */
558
- hasNext?: boolean | null;
559
- }
560
- interface Cursors {
561
- /** Cursor pointing to next page in the list of results. */
562
- next?: string | null;
563
- /** Cursor pointing to previous page in the list of results. */
564
- prev?: string | null;
525
+ path?: string;
565
526
  }
566
- interface QueryMenusRequest {
567
- /** Query options. */
527
+ interface QueryMenusSiteUrlRequest {
528
+ /** Query options */
568
529
  query?: CursorQuery;
569
530
  }
570
531
  interface CursorQuery extends CursorQueryPagingMethodOneOf {
@@ -630,369 +591,408 @@ interface AddressLocation {
630
591
  /** Address longitude. */
631
592
  longitude?: number | null;
632
593
  }
633
- interface QueryMenusResponse {
634
- /** Retrieved menus. */
635
- menus?: Menu[];
636
- /** The metadata of the paginated results. */
637
- pagingMetadata?: CursorPagingMetadata;
638
- }
639
- interface UpdateMenuRequest {
640
- /** Menu to update. */
641
- menu: Menu;
642
- /**
643
- * Explicit list of fields to update.
644
- * @internal
645
- */
646
- mask?: string[];
647
- }
648
- interface UpdateMenuResponse {
649
- /** Updated menu. */
650
- menu?: Menu;
651
- }
652
- interface BulkUpdateMenuRequest {
653
- /**
654
- * Menus to update.
655
- * @minSize 1
656
- * @maxSize 100
657
- */
658
- menus: MaskedMenu[];
659
- /** Whether to receive the entity in the response. */
660
- returnEntity?: boolean;
661
- }
662
- interface MaskedMenu {
663
- /** Menu to updated. */
664
- menu?: Menu;
665
- /** Explicit list of fields to update. */
666
- mask?: string[];
667
- }
668
- interface BulkUpdateMenuResponse {
594
+ interface CursorPaging {
669
595
  /**
670
- * Results of bulk menu update.
671
- * @minSize 1
672
- * @maxSize 100
596
+ * Number of items to load.
597
+ * @max 500
673
598
  */
674
- results?: BulkMenuResult[];
675
- /** Metadata for the API call. */
676
- bulkActionMetadata?: BulkActionMetadata;
677
- }
678
- interface BulkMenuResult {
679
- /** Metadata for menu update. */
680
- menuMetadata?: ItemMetadata;
681
- /** Updated menu. Only returned if `returnEntity` is set to `true`. */
682
- menu?: Menu;
683
- }
684
- interface UpdateExtendedFieldsRequest {
685
- /** ID of the entity to update. */
686
- id: string;
687
- /** Identifier for the app whose extended fields are being updated. */
688
- namespace: string;
689
- /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
690
- namespaceData: Record<string, any> | null;
691
- }
692
- interface UpdateExtendedFieldsResponse {
693
- /** Namespace of the app. */
694
- namespace?: string;
695
- /** Updated extended fields data. */
696
- namespaceData?: Record<string, any> | null;
697
- }
698
- interface DeleteMenuRequest {
599
+ limit?: number | null;
699
600
  /**
700
- * Menu ID.
701
- * @format GUID
601
+ * Pointer to the next or previous page in the list of results.
602
+ *
603
+ * You can get the relevant cursor token
604
+ * from the `pagingMetadata` object in the previous call's response.
605
+ * Not relevant for the first request.
702
606
  */
703
- menuId: string;
607
+ cursor?: string | null;
704
608
  }
705
- interface DeleteMenuResponse {
609
+ interface QueryMenusSiteUrlResponse {
610
+ /** Retrieved menuInfos with path urls. */
611
+ menuSiteUrls?: MenuSiteUrl[];
612
+ /** The metadata of the paginated results. */
613
+ pagingMetadata?: CursorPagingMetadata;
706
614
  }
707
- interface RunMenusMultiLocationMigrationRequest {
615
+ interface CursorPagingMetadata {
616
+ /** Number of items returned in the response. */
617
+ count?: number | null;
618
+ /** Offset that was requested. */
619
+ cursors?: Cursors;
708
620
  /**
709
- * business location id
710
- * @format GUID
621
+ * Indicates if there are more results after the current page.
622
+ * If `true`, another page of results can be retrieved.
623
+ * If `false`, this is the last page.
711
624
  */
712
- businessLocationId?: string;
713
- }
714
- interface RunMenusMultiLocationMigrationResponse {
715
- /** Whether menus multi-location migration finished successfully */
716
- success?: boolean;
717
- }
718
- interface UpdateBusinessLocationIdRequest {
719
- /** @format GUID */
720
- menuId?: string;
721
- /** @format GUID */
722
- businessLocationId?: string | null;
625
+ hasNext?: boolean | null;
723
626
  }
724
- interface UpdateBusinessLocationIdResponse {
627
+ interface Cursors {
628
+ /** Cursor pointing to next page in the list of results. */
629
+ next?: string | null;
630
+ /** Cursor pointing to previous page in the list of results. */
631
+ prev?: string | null;
725
632
  }
726
- interface CloneMenusRequest {
633
+ interface InvalidateCache extends InvalidateCacheGetByOneOf {
727
634
  /**
728
- * The MetaSiteId to clone from.
635
+ * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
729
636
  * @format GUID
730
637
  */
731
638
  metaSiteId?: string;
732
- }
733
- interface CloneMenusResponse {
734
- }
735
- interface DomainEvent extends DomainEventBodyOneOf {
736
- createdEvent?: EntityCreatedEvent;
737
- updatedEvent?: EntityUpdatedEvent;
738
- deletedEvent?: EntityDeletedEvent;
739
- actionEvent?: ActionEvent;
740
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
741
- id?: string;
742
- /**
743
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
744
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
745
- */
746
- entityFqdn?: string;
747
639
  /**
748
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
749
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
640
+ * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
641
+ * @format GUID
750
642
  */
751
- slug?: string;
752
- /** ID of the entity associated with the event. */
753
- entityId?: string;
754
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
755
- eventTime?: Date | null;
643
+ siteId?: string;
644
+ /** Invalidate by App */
645
+ app?: App;
646
+ /** Invalidate by page id */
647
+ page?: Page;
648
+ /** Invalidate by URI path */
649
+ uri?: URI;
650
+ /** Invalidate by file (for media files such as PDFs) */
651
+ file?: File;
652
+ /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
653
+ customTag?: CustomTag;
654
+ /** Invalidate by multiple page ids */
655
+ pages?: Pages;
656
+ /** Invalidate by multiple URI paths */
657
+ uris?: URIs;
756
658
  /**
757
- * Whether the event was triggered as a result of a privacy regulation application
758
- * (for example, GDPR).
659
+ * tell us why you're invalidating the cache. You don't need to add your app name
660
+ * @maxLength 256
759
661
  */
760
- triggeredByAnonymizeRequest?: boolean | null;
761
- /** If present, indicates the action that triggered the event. */
762
- originatedFrom?: string | null;
662
+ reason?: string | null;
663
+ /** Is local DS */
664
+ localDc?: boolean;
665
+ hardPurge?: boolean;
763
666
  /**
764
- * 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.
765
- * 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.
667
+ * Optional caller-provided ID for tracking this invalidation through the system.
668
+ * When set, the corresponding CDN purge completion event will include this ID,
669
+ * allowing you to confirm when the invalidation has fully propagated.
670
+ * Example: generate a UUID, pass it here, and later match it in the CDN purge completion event.
671
+ * @maxLength 256
766
672
  */
767
- entityEventSequence?: string | null;
673
+ correlationId?: string | null;
768
674
  }
769
675
  /** @oneof */
770
- interface DomainEventBodyOneOf {
771
- createdEvent?: EntityCreatedEvent;
772
- updatedEvent?: EntityUpdatedEvent;
773
- deletedEvent?: EntityDeletedEvent;
774
- actionEvent?: ActionEvent;
775
- }
776
- interface EntityCreatedEvent {
777
- entityAsJson?: string;
676
+ interface InvalidateCacheGetByOneOf {
778
677
  /**
779
- * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity
780
- * @internal
678
+ * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
679
+ * @format GUID
781
680
  */
782
- triggeredByUndelete?: boolean | null;
783
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
784
- restoreInfo?: RestoreInfo;
681
+ metaSiteId?: string;
785
682
  /**
786
- * Optional domain-specific metadata defined by the API owner, encoded as JSON.
787
- * @internal
683
+ * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
684
+ * @format GUID
788
685
  */
789
- additionalMetadataAsJson?: string | null;
790
- }
791
- interface RestoreInfo {
792
- deletedDate?: Date | null;
686
+ siteId?: string;
687
+ /** Invalidate by App */
688
+ app?: App;
689
+ /** Invalidate by page id */
690
+ page?: Page;
691
+ /** Invalidate by URI path */
692
+ uri?: URI;
693
+ /** Invalidate by file (for media files such as PDFs) */
694
+ file?: File;
695
+ /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
696
+ customTag?: CustomTag;
697
+ /** Invalidate by multiple page ids */
698
+ pages?: Pages;
699
+ /** Invalidate by multiple URI paths */
700
+ uris?: URIs;
793
701
  }
794
- interface EntityUpdatedEvent {
795
- /**
796
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
797
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
798
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
799
- */
800
- currentEntityAsJson?: string;
801
- /**
802
- * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard
803
- * wont populate it / have any reference to it in the API.
804
- * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,
805
- * the developer should send only the new (current) entity.
806
- * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big
807
- * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.
808
- * @internal
809
- * @deprecated
810
- */
811
- previousEntityAsJson?: string | null;
702
+ interface App {
812
703
  /**
813
- * Map of fully qualified field paths to their previous values for fields that changed.
814
- * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)
815
- * @internal
704
+ * The AppDefId
705
+ * @minLength 1
816
706
  */
817
- modifiedFields?: Record<string, any>;
707
+ appDefId?: string;
818
708
  /**
819
- * Optional domain-specific metadata defined by the API owner, encoded as JSON.
820
- * @internal
709
+ * The instance Id
710
+ * @format GUID
821
711
  */
822
- additionalMetadataAsJson?: string | null;
712
+ instanceId?: string;
823
713
  }
824
- interface EntityDeletedEvent {
714
+ interface Page {
825
715
  /**
826
- * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled
827
- * @internal
716
+ * the msid the page is on
717
+ * @format GUID
828
718
  */
829
- movedToTrash?: boolean | null;
830
- /** Entity that was deleted. */
831
- deletedEntityAsJson?: string | null;
719
+ metaSiteId?: string;
832
720
  /**
833
- * Optional domain-specific metadata defined by the API owner, encoded as JSON.
834
- * @internal
721
+ * Invalidate by Page ID
722
+ * @minLength 1
835
723
  */
836
- additionalMetadataAsJson?: string | null;
837
- }
838
- interface ActionEvent {
839
- bodyAsJson?: string;
840
- }
841
- interface Empty {
724
+ pageId?: string;
842
725
  }
843
- interface SyncContentToMultilingualRequest {
726
+ interface URI {
844
727
  /**
845
- * MetaSite ID
728
+ * the msid the URI is on
846
729
  * @format GUID
847
730
  */
848
731
  metaSiteId?: string;
732
+ /**
733
+ * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
734
+ * @minLength 1
735
+ */
736
+ uriPath?: string;
849
737
  }
850
- interface SyncContentToMultilingualResponse {
851
- }
852
- interface MessageEnvelope {
738
+ interface File {
853
739
  /**
854
- * App instance ID.
740
+ * the msid the file is related to
855
741
  * @format GUID
856
742
  */
857
- instanceId?: string | null;
743
+ metaSiteId?: string;
858
744
  /**
859
- * Event type.
860
- * @maxLength 150
745
+ * Invalidate by filename (for media files such as PDFs)
746
+ * @minLength 1
747
+ * @maxLength 256
861
748
  */
862
- eventType?: string;
863
- /** The identification type and identity data. */
864
- identity?: IdentificationData;
865
- /** Stringify payload. */
866
- data?: string;
867
- /** Details related to the account */
868
- accountInfo?: AccountInfo;
749
+ fileName?: string;
869
750
  }
870
- interface IdentificationData extends IdentificationDataIdOneOf {
751
+ interface CustomTag {
871
752
  /**
872
- * ID of a site visitor that has not logged in to the site.
753
+ * the msid the tag is related to
873
754
  * @format GUID
874
755
  */
875
- anonymousVisitorId?: string;
756
+ metaSiteId?: string;
876
757
  /**
877
- * ID of a site visitor that has logged in to the site.
878
- * @format GUID
758
+ * Tag to invalidate by
759
+ * @minLength 1
760
+ * @maxLength 256
879
761
  */
880
- memberId?: string;
762
+ tag?: string;
763
+ }
764
+ interface Pages {
881
765
  /**
882
- * ID of a Wix user (site owner, contributor, etc.).
766
+ * the msid the pages are on
883
767
  * @format GUID
884
768
  */
885
- wixUserId?: string;
769
+ metaSiteId?: string;
886
770
  /**
887
- * ID of an app.
888
- * @format GUID
771
+ * Invalidate by multiple Page IDs in a single message
772
+ * @maxSize 100
773
+ * @minLength 1
889
774
  */
890
- appId?: string;
891
- /** @readonly */
892
- identityType?: WebhookIdentityTypeWithLiterals;
893
- }
894
- /** @oneof */
895
- interface IdentificationDataIdOneOf {
775
+ pageIds?: string[];
776
+ }
777
+ interface URIs {
896
778
  /**
897
- * ID of a site visitor that has not logged in to the site.
779
+ * the msid the URIs are on
898
780
  * @format GUID
899
781
  */
900
- anonymousVisitorId?: string;
782
+ metaSiteId?: string;
901
783
  /**
902
- * ID of a site visitor that has logged in to the site.
903
- * @format GUID
784
+ * URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes
785
+ * @maxSize 100
786
+ * @minLength 1
904
787
  */
905
- memberId?: string;
788
+ uriPaths?: string[];
789
+ }
790
+ interface DeleteOrphanSections {
791
+ /** Menu id */
792
+ menuId?: string;
793
+ }
794
+ interface MenusDataCloningCompleted {
795
+ }
796
+ interface CreateMenuRequest {
797
+ /** Menu details. */
798
+ menu: Menu;
799
+ }
800
+ interface CreateMenuResponse {
801
+ /** Menu. */
802
+ menu?: Menu;
803
+ }
804
+ interface BulkCreateMenusRequest {
906
805
  /**
907
- * ID of a Wix user (site owner, contributor, etc.).
908
- * @format GUID
806
+ * Menu details.
807
+ * @maxSize 100
909
808
  */
910
- wixUserId?: string;
809
+ menus: Menu[];
810
+ /** Whether to receive the created menus in the response. */
811
+ returnEntity?: boolean;
812
+ }
813
+ interface BulkCreateMenusResponse {
814
+ /** Information about the created menus. */
815
+ results?: BulkCreateMenuResult[];
816
+ /** Metadata for the API call. */
817
+ bulkActionMetadata?: BulkActionMetadata;
818
+ }
819
+ interface BulkCreateMenuResult {
820
+ /** Whether to receive the created menus in the response. */
821
+ menuMetadata?: ItemMetadata;
822
+ /** Created menu. */
823
+ menu?: Menu;
824
+ }
825
+ interface ItemMetadata {
826
+ /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
827
+ id?: string | null;
828
+ /** Index of the item within the request array. Allows for correlation between request and response items. */
829
+ originalIndex?: number;
830
+ /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
831
+ success?: boolean;
832
+ /** Details about the error in case of failure. */
833
+ error?: ApplicationError;
834
+ }
835
+ interface ApplicationError {
836
+ /** Error code. */
837
+ code?: string;
838
+ /** Description of the error. */
839
+ description?: string;
840
+ /** Data related to the error. */
841
+ data?: Record<string, any> | null;
842
+ }
843
+ interface BulkActionMetadata {
844
+ /** Number of items that were successfully processed. */
845
+ totalSuccesses?: number;
846
+ /** Number of items that couldn't be processed. */
847
+ totalFailures?: number;
848
+ /** Number of failures without details because detailed failure threshold was exceeded. */
849
+ undetailedFailures?: number;
850
+ }
851
+ interface GetMenuRequest {
911
852
  /**
912
- * ID of an app.
853
+ * Menu ID.
913
854
  * @format GUID
914
855
  */
915
- appId?: string;
856
+ menuId: string;
916
857
  }
917
- declare enum WebhookIdentityType {
918
- UNKNOWN = "UNKNOWN",
919
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
920
- MEMBER = "MEMBER",
921
- WIX_USER = "WIX_USER",
922
- APP = "APP"
858
+ interface GetMenuResponse {
859
+ /** Menu. */
860
+ menu?: Menu;
923
861
  }
924
- /** @enumType */
925
- type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
926
- interface AccountInfo {
862
+ interface ListMenusRequest {
927
863
  /**
928
- * ID of the Wix account associated with the event.
864
+ * Menu IDs.
929
865
  * @format GUID
866
+ * @maxSize 500
930
867
  */
931
- accountId?: string | null;
868
+ menuIds?: string[];
869
+ /** The metadata of the paginated results. */
870
+ paging?: CursorPaging;
871
+ /** Whether to return only menus that are visible to site visitors. */
872
+ onlyVisible?: boolean | null;
873
+ }
874
+ interface ListMenusResponse {
875
+ /** Retrieved menus. */
876
+ menus?: Menu[];
877
+ /** The metadata of the paginated results. */
878
+ pagingMetadata?: CursorPagingMetadata;
879
+ }
880
+ interface QueryMenusRequest {
881
+ /** Query options. */
882
+ query?: CursorQuery;
883
+ }
884
+ interface QueryMenusResponse {
885
+ /** Retrieved menus. */
886
+ menus?: Menu[];
887
+ /** The metadata of the paginated results. */
888
+ pagingMetadata?: CursorPagingMetadata;
889
+ }
890
+ interface UpdateMenuRequest {
891
+ /** Menu to update. */
892
+ menu: Menu;
932
893
  /**
933
- * ID of the parent Wix account. Only included when accountId belongs to a child account.
934
- * @format GUID
894
+ * Explicit list of fields to update.
895
+ * @internal
935
896
  */
936
- parentAccountId?: string | null;
897
+ mask?: string[];
898
+ }
899
+ interface UpdateMenuResponse {
900
+ /** Updated menu. */
901
+ menu?: Menu;
902
+ }
903
+ interface BulkUpdateMenuRequest {
937
904
  /**
938
- * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
939
- * @format GUID
905
+ * Menus to update.
906
+ * @minSize 1
907
+ * @maxSize 100
940
908
  */
941
- siteId?: string | null;
909
+ menus: MaskedMenu[];
910
+ /** Whether to receive the entity in the response. */
911
+ returnEntity?: boolean;
942
912
  }
943
- interface DuplicateMenuRequest {
913
+ interface MaskedMenu {
914
+ /** Menu to updated. */
915
+ menu?: Menu;
916
+ /** Explicit list of fields to update. */
917
+ mask?: string[];
918
+ }
919
+ interface BulkUpdateMenuResponse {
944
920
  /**
945
- * Menu id to be duplicated.
946
- * @format GUID
921
+ * Results of bulk menu update.
922
+ * @minSize 1
923
+ * @maxSize 100
947
924
  */
925
+ results?: BulkMenuResult[];
926
+ /** Metadata for the API call. */
927
+ bulkActionMetadata?: BulkActionMetadata;
928
+ }
929
+ interface BulkMenuResult {
930
+ /** Metadata for menu update. */
931
+ menuMetadata?: ItemMetadata;
932
+ /** Updated menu. Only returned if `returnEntity` is set to `true`. */
933
+ menu?: Menu;
934
+ }
935
+ interface UpdateExtendedFieldsRequest {
936
+ /** ID of the entity to update. */
948
937
  id: string;
938
+ /** Identifier for the app whose extended fields are being updated. */
939
+ namespace: string;
940
+ /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
941
+ namespaceData: Record<string, any> | null;
942
+ }
943
+ interface UpdateExtendedFieldsResponse {
944
+ /** Namespace of the app. */
945
+ namespace?: string;
946
+ /** Updated extended fields data. */
947
+ namespaceData?: Record<string, any> | null;
948
+ }
949
+ interface DeleteMenuRequest {
949
950
  /**
950
- * Business location ids to duplicate the menu to.
951
+ * Menu ID.
951
952
  * @format GUID
952
- * @maxSize 100
953
953
  */
954
- businessLocationIds?: string[] | null;
955
- /** Indicates whether sub-entities (such as items) should be duplicated as well. */
956
- duplicateSubEntities?: boolean | null;
954
+ menuId: string;
955
+ }
956
+ interface DeleteMenuResponse {
957
+ }
958
+ interface RunMenusMultiLocationMigrationRequest {
957
959
  /**
958
- * The new name of the duplicated menu.
959
- * @maxLength 500
960
+ * business location id
961
+ * @format GUID
960
962
  */
961
- menuName?: string | null;
963
+ businessLocationId?: string;
962
964
  }
963
- interface DuplicateMenuResponse {
965
+ interface RunMenusMultiLocationMigrationResponse {
966
+ /** Whether menus multi-location migration finished successfully */
967
+ success?: boolean;
968
+ }
969
+ interface UpdateBusinessLocationIdRequest {
964
970
  /** @format GUID */
965
- menuIds?: string[];
971
+ menuId?: string;
972
+ /** @format GUID */
973
+ businessLocationId?: string | null;
966
974
  }
967
- interface GetMenuSiteUrlRequest {
975
+ interface UpdateBusinessLocationIdResponse {
976
+ }
977
+ interface CloneMenusRequest {
968
978
  /**
969
- * Menu ID.
979
+ * The MetaSiteId to clone from.
970
980
  * @format GUID
971
- * @readonly
972
981
  */
973
- id: string | null;
982
+ metaSiteId?: string;
974
983
  }
975
- interface GetMenuSiteUrlResponse {
976
- /** Retrieved menuInfo with path url. */
977
- menuSiteUrl?: MenuSiteUrl;
984
+ interface CloneMenusResponse {
978
985
  }
979
- interface MenuSiteUrl {
986
+ interface Empty {
987
+ }
988
+ interface SyncContentToMultilingualRequest {
980
989
  /**
981
- * Path URL.
982
- * @minLength 1
983
- * @maxLength 1000
990
+ * MetaSite ID
991
+ * @format GUID
984
992
  */
985
- path?: string;
986
- }
987
- interface QueryMenusSiteUrlRequest {
988
- /** Query options */
989
- query?: CursorQuery;
993
+ metaSiteId?: string;
990
994
  }
991
- interface QueryMenusSiteUrlResponse {
992
- /** Retrieved menuInfos with path urls. */
993
- menuSiteUrls?: MenuSiteUrl[];
994
- /** The metadata of the paginated results. */
995
- pagingMetadata?: CursorPagingMetadata;
995
+ interface SyncContentToMultilingualResponse {
996
996
  }
997
997
 
998
998
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -1005,6 +1005,13 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
1005
1005
  __responseType: Q;
1006
1006
  __originalResponseType: R;
1007
1007
  };
1008
+ declare function duplicateMenu(): __PublicMethodMetaInfo<'POST', {
1009
+ id: string;
1010
+ }, DuplicateMenuRequest$1, DuplicateMenuRequest, DuplicateMenuResponse$1, DuplicateMenuResponse>;
1011
+ declare function getMenuSiteUrl(): __PublicMethodMetaInfo<'GET', {
1012
+ id: string;
1013
+ }, GetMenuSiteUrlRequest$1, GetMenuSiteUrlRequest, GetMenuSiteUrlResponse$1, GetMenuSiteUrlResponse>;
1014
+ declare function queryMenusSiteUrl(): __PublicMethodMetaInfo<'POST', {}, QueryMenusSiteUrlRequest$1, QueryMenusSiteUrlRequest, QueryMenusSiteUrlResponse$1, QueryMenusSiteUrlResponse>;
1008
1015
  declare function createMenu(): __PublicMethodMetaInfo<'POST', {}, CreateMenuRequest$1, CreateMenuRequest, CreateMenuResponse$1, CreateMenuResponse>;
1009
1016
  declare function bulkCreateMenus(): __PublicMethodMetaInfo<'POST', {}, BulkCreateMenusRequest$1, BulkCreateMenusRequest, BulkCreateMenusResponse$1, BulkCreateMenusResponse>;
1010
1017
  declare function getMenu(): __PublicMethodMetaInfo<'GET', {
@@ -1022,12 +1029,5 @@ declare function updateExtendedFields(): __PublicMethodMetaInfo<'POST', {
1022
1029
  declare function deleteMenu(): __PublicMethodMetaInfo<'DELETE', {
1023
1030
  menuId: string;
1024
1031
  }, DeleteMenuRequest$1, DeleteMenuRequest, DeleteMenuResponse$1, DeleteMenuResponse>;
1025
- declare function duplicateMenu(): __PublicMethodMetaInfo<'POST', {
1026
- id: string;
1027
- }, DuplicateMenuRequest$1, DuplicateMenuRequest, DuplicateMenuResponse$1, DuplicateMenuResponse>;
1028
- declare function getMenuSiteUrl(): __PublicMethodMetaInfo<'GET', {
1029
- id: string;
1030
- }, GetMenuSiteUrlRequest$1, GetMenuSiteUrlRequest, GetMenuSiteUrlResponse$1, GetMenuSiteUrlResponse>;
1031
- declare function queryMenusSiteUrl(): __PublicMethodMetaInfo<'POST', {}, QueryMenusSiteUrlRequest$1, QueryMenusSiteUrlRequest, QueryMenusSiteUrlResponse$1, QueryMenusSiteUrlResponse>;
1032
1032
 
1033
1033
  export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, type App as AppOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateMenuResult as BulkCreateMenuResultOriginal, type BulkCreateMenusRequest as BulkCreateMenusRequestOriginal, type BulkCreateMenusResponse as BulkCreateMenusResponseOriginal, type BulkMenuResult as BulkMenuResultOriginal, type BulkUpdateMenuRequest as BulkUpdateMenuRequestOriginal, type BulkUpdateMenuResponse as BulkUpdateMenuResponseOriginal, type BusinessLocationDetails as BusinessLocationDetailsOriginal, type CloneMenusRequest as CloneMenusRequestOriginal, type CloneMenusResponse as CloneMenusResponseOriginal, type CreateMenuRequest as CreateMenuRequestOriginal, type CreateMenuResponse as CreateMenuResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomTag as CustomTagOriginal, type DeleteMenuRequest as DeleteMenuRequestOriginal, type DeleteMenuResponse as DeleteMenuResponseOriginal, type DeleteOrphanSections as DeleteOrphanSectionsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DuplicateMenuRequest as DuplicateMenuRequestOriginal, type DuplicateMenuResponse as DuplicateMenuResponseOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalReferenceInfo as ExternalReferenceInfoOriginal, type File as FileOriginal, type GetMenuRequest as GetMenuRequestOriginal, type GetMenuResponse as GetMenuResponseOriginal, type GetMenuSiteUrlRequest as GetMenuSiteUrlRequestOriginal, type GetMenuSiteUrlResponse as GetMenuSiteUrlResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal, type InvalidateCache as InvalidateCacheOriginal, type ItemMetadata as ItemMetadataOriginal, type Keyword as KeywordOriginal, type ListMenusRequest as ListMenusRequestOriginal, type ListMenusResponse as ListMenusResponseOriginal, type MaskedMenu as MaskedMenuOriginal, type Menu as MenuOriginal, type MenuSiteUrl as MenuSiteUrlOriginal, type MenusDataCloningCompleted as MenusDataCloningCompletedOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Page as PageOriginal, type Pages as PagesOriginal, type QueryMenusRequest as QueryMenusRequestOriginal, type QueryMenusResponse as QueryMenusResponseOriginal, type QueryMenusSiteUrlRequest as QueryMenusSiteUrlRequestOriginal, type QueryMenusSiteUrlResponse as QueryMenusSiteUrlResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RunMenusMultiLocationMigrationRequest as RunMenusMultiLocationMigrationRequestOriginal, type RunMenusMultiLocationMigrationResponse as RunMenusMultiLocationMigrationResponseOriginal, type SeoSchema as SeoSchemaOriginal, type Settings as SettingsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SyncContentToMultilingualRequest as SyncContentToMultilingualRequestOriginal, type SyncContentToMultilingualResponse as SyncContentToMultilingualResponseOriginal, type Tag as TagOriginal, type URI as URIOriginal, type URIs as URIsOriginal, type UpdateBusinessLocationIdRequest as UpdateBusinessLocationIdRequestOriginal, type UpdateBusinessLocationIdResponse as UpdateBusinessLocationIdResponseOriginal, type UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal, type UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal, type UpdateMenuRequest as UpdateMenuRequestOriginal, type UpdateMenuResponse as UpdateMenuResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCreateMenus, bulkUpdateMenu, createMenu, deleteMenu, duplicateMenu, getMenu, getMenuSiteUrl, listMenus, queryMenus, queryMenusSiteUrl, updateExtendedFields, updateMenu };