@wix/auto_sdk_restaurants_menus 1.0.94 → 1.0.95

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 { 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';
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';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  interface Menu {
@@ -283,249 +283,288 @@ interface ExternalReferenceInfo {
283
283
  /** Whether the connection to the external system is currently active. */
284
284
  connected?: boolean | null;
285
285
  }
286
- interface DuplicateMenuRequest {
286
+ interface InvalidateCache extends InvalidateCacheGetByOneOf {
287
287
  /**
288
- * Menu id to be duplicated.
288
+ * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
289
289
  * @format GUID
290
290
  */
291
- id: string;
291
+ metaSiteId?: string;
292
292
  /**
293
- * Business location ids to duplicate the menu to.
293
+ * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
294
294
  * @format GUID
295
- * @maxSize 100
296
295
  */
297
- businessLocationIds?: string[] | null;
298
- /** Indicates whether sub-entities (such as items) should be duplicated as well. */
299
- duplicateSubEntities?: boolean | null;
300
- /**
301
- * The new name of the duplicated menu.
302
- * @maxLength 500
303
- */
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;
317
- /**
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`.
320
- */
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;
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;
331
311
  /**
332
- * Whether the event was triggered as a result of a privacy regulation application
333
- * (for example, GDPR).
312
+ * tell us why you're invalidating the cache. You don't need to add your app name
313
+ * @maxLength 256
334
314
  */
335
- triggeredByAnonymizeRequest?: boolean | null;
336
- /** If present, indicates the action that triggered the event. */
337
- originatedFrom?: string | null;
315
+ reason?: string | null;
316
+ /** Is local DS */
317
+ localDc?: boolean;
318
+ hardPurge?: boolean;
338
319
  /**
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.
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
341
325
  */
342
- entityEventSequence?: string | null;
326
+ correlationId?: string | null;
343
327
  }
344
328
  /** @oneof */
345
- interface DomainEventBodyOneOf {
346
- createdEvent?: EntityCreatedEvent;
347
- updatedEvent?: EntityUpdatedEvent;
348
- deletedEvent?: EntityDeletedEvent;
349
- actionEvent?: ActionEvent;
350
- }
351
- interface EntityCreatedEvent {
352
- entityAsJson?: string;
329
+ interface InvalidateCacheGetByOneOf {
353
330
  /**
354
- * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity
355
- * @internal
331
+ * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
332
+ * @format GUID
356
333
  */
357
- triggeredByUndelete?: boolean | null;
358
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
359
- restoreInfo?: RestoreInfo;
334
+ metaSiteId?: string;
360
335
  /**
361
- * Optional domain-specific metadata defined by the API owner, encoded as JSON.
362
- * @internal
336
+ * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
337
+ * @format GUID
363
338
  */
364
- additionalMetadataAsJson?: string | null;
365
- }
366
- interface RestoreInfo {
367
- deletedDate?: Date | null;
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;
368
354
  }
369
- interface EntityUpdatedEvent {
370
- /**
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.
374
- */
375
- currentEntityAsJson?: string;
376
- /**
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
385
- */
386
- previousEntityAsJson?: string | null;
355
+ interface App {
387
356
  /**
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
357
+ * The AppDefId
358
+ * @minLength 1
391
359
  */
392
- modifiedFields?: Record<string, any>;
360
+ appDefId?: string;
393
361
  /**
394
- * Optional domain-specific metadata defined by the API owner, encoded as JSON.
395
- * @internal
362
+ * The instance Id
363
+ * @format GUID
396
364
  */
397
- additionalMetadataAsJson?: string | null;
365
+ instanceId?: string;
398
366
  }
399
- interface EntityDeletedEvent {
367
+ interface Page {
400
368
  /**
401
- * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled
402
- * @internal
369
+ * the msid the page is on
370
+ * @format GUID
403
371
  */
404
- movedToTrash?: boolean | null;
405
- /** Entity that was deleted. */
406
- deletedEntityAsJson?: string | null;
372
+ metaSiteId?: string;
407
373
  /**
408
- * Optional domain-specific metadata defined by the API owner, encoded as JSON.
409
- * @internal
374
+ * Invalidate by Page ID
375
+ * @minLength 1
410
376
  */
411
- additionalMetadataAsJson?: string | null;
412
- }
413
- interface ActionEvent {
414
- bodyAsJson?: string;
377
+ pageId?: string;
415
378
  }
416
- interface MessageEnvelope {
379
+ interface URI {
417
380
  /**
418
- * App instance ID.
381
+ * the msid the URI is on
419
382
  * @format GUID
420
383
  */
421
- instanceId?: string | null;
384
+ metaSiteId?: string;
422
385
  /**
423
- * Event type.
424
- * @maxLength 150
386
+ * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
387
+ * @minLength 1
425
388
  */
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;
389
+ uriPath?: string;
433
390
  }
434
- interface IdentificationData extends IdentificationDataIdOneOf {
391
+ interface File {
435
392
  /**
436
- * ID of a site visitor that has not logged in to the site.
393
+ * the msid the file is related to
437
394
  * @format GUID
438
395
  */
439
- anonymousVisitorId?: string;
396
+ metaSiteId?: string;
440
397
  /**
441
- * ID of a site visitor that has logged in to the site.
442
- * @format GUID
398
+ * Invalidate by filename (for media files such as PDFs)
399
+ * @minLength 1
400
+ * @maxLength 256
443
401
  */
444
- memberId?: string;
402
+ fileName?: string;
403
+ }
404
+ interface CustomTag {
445
405
  /**
446
- * ID of a Wix user (site owner, contributor, etc.).
406
+ * the msid the tag is related to
447
407
  * @format GUID
448
408
  */
449
- wixUserId?: string;
409
+ metaSiteId?: string;
450
410
  /**
451
- * ID of an app.
452
- * @format GUID
411
+ * Tag to invalidate by
412
+ * @minLength 1
413
+ * @maxLength 256
453
414
  */
454
- appId?: string;
455
- /** @readonly */
456
- identityType?: WebhookIdentityTypeWithLiterals;
415
+ tag?: string;
457
416
  }
458
- /** @oneof */
459
- interface IdentificationDataIdOneOf {
417
+ interface Pages {
460
418
  /**
461
- * ID of a site visitor that has not logged in to the site.
419
+ * the msid the pages are on
462
420
  * @format GUID
463
421
  */
464
- anonymousVisitorId?: string;
422
+ metaSiteId?: string;
465
423
  /**
466
- * ID of a site visitor that has logged in to the site.
467
- * @format GUID
424
+ * Invalidate by multiple Page IDs in a single message
425
+ * @maxSize 100
426
+ * @minLength 1
468
427
  */
469
- memberId?: string;
428
+ pageIds?: string[];
429
+ }
430
+ interface URIs {
470
431
  /**
471
- * ID of a Wix user (site owner, contributor, etc.).
432
+ * the msid the URIs are on
472
433
  * @format GUID
473
434
  */
474
- wixUserId?: string;
435
+ metaSiteId?: string;
475
436
  /**
476
- * ID of an app.
477
- * @format GUID
437
+ * URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes
438
+ * @maxSize 100
439
+ * @minLength 1
478
440
  */
479
- appId?: string;
441
+ uriPaths?: string[];
480
442
  }
481
- declare enum WebhookIdentityType {
482
- UNKNOWN = "UNKNOWN",
483
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
484
- MEMBER = "MEMBER",
485
- WIX_USER = "WIX_USER",
486
- APP = "APP"
443
+ interface DeleteOrphanSections {
444
+ /** Menu id */
445
+ menuId?: string;
487
446
  }
488
- /** @enumType */
489
- type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
490
- interface AccountInfo {
447
+ interface MenusDataCloningCompleted {
448
+ }
449
+ interface CreateMenuRequest {
450
+ /** Menu details. */
451
+ menu: Menu;
452
+ }
453
+ interface CreateMenuResponse {
454
+ /** Menu. */
455
+ menu?: Menu;
456
+ }
457
+ interface BulkCreateMenusRequest {
491
458
  /**
492
- * ID of the Wix account associated with the event.
493
- * @format GUID
459
+ * Menu details.
460
+ * @maxSize 100
494
461
  */
495
- accountId?: string | null;
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 {
496
505
  /**
497
- * ID of the parent Wix account. Only included when accountId belongs to a child account.
506
+ * Menu ID.
498
507
  * @format GUID
499
508
  */
500
- parentAccountId?: string | null;
509
+ menuId: string;
510
+ }
511
+ interface GetMenuResponse {
512
+ /** Menu. */
513
+ menu?: Menu;
514
+ }
515
+ interface ListMenusRequest {
501
516
  /**
502
- * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
517
+ * Menu IDs.
503
518
  * @format GUID
519
+ * @maxSize 500
504
520
  */
505
- siteId?: string | null;
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;
506
526
  }
507
- interface GetMenuSiteUrlRequest {
527
+ interface CursorPaging {
508
528
  /**
509
- * Menu ID.
510
- * @format GUID
511
- * @readonly
529
+ * Number of items to load.
530
+ * @max 500
512
531
  */
513
- id: string | null;
532
+ limit?: number | null;
533
+ /**
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.
539
+ */
540
+ cursor?: string | null;
514
541
  }
515
- interface GetMenuSiteUrlResponse {
516
- /** Retrieved menuInfo with path url. */
517
- menuSiteUrl?: MenuSiteUrl;
542
+ interface ListMenusResponse {
543
+ /** Retrieved menus. */
544
+ menus?: Menu[];
545
+ /** The metadata of the paginated results. */
546
+ pagingMetadata?: CursorPagingMetadata;
518
547
  }
519
- interface MenuSiteUrl {
548
+ interface CursorPagingMetadata {
549
+ /** Number of items returned in the response. */
550
+ count?: number | null;
551
+ /** Offset that was requested. */
552
+ cursors?: Cursors;
520
553
  /**
521
- * Path URL.
522
- * @minLength 1
523
- * @maxLength 1000
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.
524
557
  */
525
- path?: string;
558
+ hasNext?: boolean | null;
526
559
  }
527
- interface QueryMenusSiteUrlRequest {
528
- /** Query options */
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;
565
+ }
566
+ interface QueryMenusRequest {
567
+ /** Query options. */
529
568
  query?: CursorQuery;
530
569
  }
531
570
  interface CursorQuery extends CursorQueryPagingMethodOneOf {
@@ -591,408 +630,369 @@ interface AddressLocation {
591
630
  /** Address longitude. */
592
631
  longitude?: number | null;
593
632
  }
594
- interface CursorPaging {
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;
595
642
  /**
596
- * Number of items to load.
597
- * @max 500
643
+ * Explicit list of fields to update.
644
+ * @internal
598
645
  */
599
- limit?: number | null;
646
+ mask?: string[];
647
+ }
648
+ interface UpdateMenuResponse {
649
+ /** Updated menu. */
650
+ menu?: Menu;
651
+ }
652
+ interface BulkUpdateMenuRequest {
600
653
  /**
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.
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 {
669
+ /**
670
+ * Results of bulk menu update.
671
+ * @minSize 1
672
+ * @maxSize 100
673
+ */
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 {
699
+ /**
700
+ * Menu ID.
701
+ * @format GUID
606
702
  */
607
- cursor?: string | null;
703
+ menuId: string;
608
704
  }
609
- interface QueryMenusSiteUrlResponse {
610
- /** Retrieved menuInfos with path urls. */
611
- menuSiteUrls?: MenuSiteUrl[];
612
- /** The metadata of the paginated results. */
613
- pagingMetadata?: CursorPagingMetadata;
705
+ interface DeleteMenuResponse {
614
706
  }
615
- interface CursorPagingMetadata {
616
- /** Number of items returned in the response. */
617
- count?: number | null;
618
- /** Offset that was requested. */
619
- cursors?: Cursors;
707
+ interface RunMenusMultiLocationMigrationRequest {
620
708
  /**
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.
709
+ * business location id
710
+ * @format GUID
624
711
  */
625
- hasNext?: boolean | null;
712
+ businessLocationId?: string;
626
713
  }
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;
714
+ interface RunMenusMultiLocationMigrationResponse {
715
+ /** Whether menus multi-location migration finished successfully */
716
+ success?: boolean;
632
717
  }
633
- interface InvalidateCache extends InvalidateCacheGetByOneOf {
718
+ interface UpdateBusinessLocationIdRequest {
719
+ /** @format GUID */
720
+ menuId?: string;
721
+ /** @format GUID */
722
+ businessLocationId?: string | null;
723
+ }
724
+ interface UpdateBusinessLocationIdResponse {
725
+ }
726
+ interface CloneMenusRequest {
634
727
  /**
635
- * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
728
+ * The MetaSiteId to clone from.
636
729
  * @format GUID
637
730
  */
638
731
  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;
639
742
  /**
640
- * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
641
- * @format GUID
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`.
642
745
  */
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;
746
+ entityFqdn?: string;
658
747
  /**
659
- * tell us why you're invalidating the cache. You don't need to add your app name
660
- * @maxLength 256
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`.
661
750
  */
662
- reason?: string | null;
663
- /** Is local DS */
664
- localDc?: boolean;
665
- hardPurge?: boolean;
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;
666
756
  /**
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
757
+ * Whether the event was triggered as a result of a privacy regulation application
758
+ * (for example, GDPR).
672
759
  */
673
- correlationId?: string | null;
760
+ triggeredByAnonymizeRequest?: boolean | null;
761
+ /** If present, indicates the action that triggered the event. */
762
+ originatedFrom?: string | null;
763
+ /**
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.
766
+ */
767
+ entityEventSequence?: string | null;
674
768
  }
675
769
  /** @oneof */
676
- interface InvalidateCacheGetByOneOf {
770
+ interface DomainEventBodyOneOf {
771
+ createdEvent?: EntityCreatedEvent;
772
+ updatedEvent?: EntityUpdatedEvent;
773
+ deletedEvent?: EntityDeletedEvent;
774
+ actionEvent?: ActionEvent;
775
+ }
776
+ interface EntityCreatedEvent {
777
+ entityAsJson?: string;
677
778
  /**
678
- * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
679
- * @format GUID
779
+ * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity
780
+ * @internal
680
781
  */
681
- metaSiteId?: string;
782
+ triggeredByUndelete?: boolean | null;
783
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
784
+ restoreInfo?: RestoreInfo;
682
785
  /**
683
- * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
684
- * @format GUID
786
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
787
+ * @internal
685
788
  */
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;
789
+ additionalMetadataAsJson?: string | null;
701
790
  }
702
- interface App {
791
+ interface RestoreInfo {
792
+ deletedDate?: Date | null;
793
+ }
794
+ interface EntityUpdatedEvent {
703
795
  /**
704
- * The AppDefId
705
- * @minLength 1
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.
706
799
  */
707
- appDefId?: string;
800
+ currentEntityAsJson?: string;
708
801
  /**
709
- * The instance Id
710
- * @format GUID
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
711
810
  */
712
- instanceId?: string;
713
- }
714
- interface Page {
811
+ previousEntityAsJson?: string | null;
715
812
  /**
716
- * the msid the page is on
717
- * @format GUID
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
718
816
  */
719
- metaSiteId?: string;
817
+ modifiedFields?: Record<string, any>;
720
818
  /**
721
- * Invalidate by Page ID
722
- * @minLength 1
819
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
820
+ * @internal
723
821
  */
724
- pageId?: string;
822
+ additionalMetadataAsJson?: string | null;
725
823
  }
726
- interface URI {
824
+ interface EntityDeletedEvent {
727
825
  /**
728
- * the msid the URI is on
729
- * @format GUID
826
+ * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled
827
+ * @internal
730
828
  */
731
- metaSiteId?: string;
829
+ movedToTrash?: boolean | null;
830
+ /** Entity that was deleted. */
831
+ deletedEntityAsJson?: string | null;
732
832
  /**
733
- * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
734
- * @minLength 1
833
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
834
+ * @internal
735
835
  */
736
- uriPath?: string;
836
+ additionalMetadataAsJson?: string | null;
737
837
  }
738
- interface File {
838
+ interface ActionEvent {
839
+ bodyAsJson?: string;
840
+ }
841
+ interface Empty {
842
+ }
843
+ interface SyncContentToMultilingualRequest {
739
844
  /**
740
- * the msid the file is related to
845
+ * MetaSite ID
741
846
  * @format GUID
742
847
  */
743
848
  metaSiteId?: string;
849
+ }
850
+ interface SyncContentToMultilingualResponse {
851
+ }
852
+ interface MessageEnvelope {
744
853
  /**
745
- * Invalidate by filename (for media files such as PDFs)
746
- * @minLength 1
747
- * @maxLength 256
854
+ * App instance ID.
855
+ * @format GUID
748
856
  */
749
- fileName?: string;
857
+ instanceId?: string | null;
858
+ /**
859
+ * Event type.
860
+ * @maxLength 150
861
+ */
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;
750
869
  }
751
- interface CustomTag {
870
+ interface IdentificationData extends IdentificationDataIdOneOf {
752
871
  /**
753
- * the msid the tag is related to
872
+ * ID of a site visitor that has not logged in to the site.
754
873
  * @format GUID
755
874
  */
756
- metaSiteId?: string;
875
+ anonymousVisitorId?: string;
757
876
  /**
758
- * Tag to invalidate by
759
- * @minLength 1
760
- * @maxLength 256
877
+ * ID of a site visitor that has logged in to the site.
878
+ * @format GUID
761
879
  */
762
- tag?: string;
763
- }
764
- interface Pages {
880
+ memberId?: string;
765
881
  /**
766
- * the msid the pages are on
882
+ * ID of a Wix user (site owner, contributor, etc.).
767
883
  * @format GUID
768
884
  */
769
- metaSiteId?: string;
885
+ wixUserId?: string;
770
886
  /**
771
- * Invalidate by multiple Page IDs in a single message
772
- * @maxSize 100
773
- * @minLength 1
887
+ * ID of an app.
888
+ * @format GUID
774
889
  */
775
- pageIds?: string[];
890
+ appId?: string;
891
+ /** @readonly */
892
+ identityType?: WebhookIdentityTypeWithLiterals;
776
893
  }
777
- interface URIs {
894
+ /** @oneof */
895
+ interface IdentificationDataIdOneOf {
778
896
  /**
779
- * the msid the URIs are on
897
+ * ID of a site visitor that has not logged in to the site.
780
898
  * @format GUID
781
899
  */
782
- metaSiteId?: string;
900
+ anonymousVisitorId?: string;
783
901
  /**
784
- * URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes
785
- * @maxSize 100
786
- * @minLength 1
902
+ * ID of a site visitor that has logged in to the site.
903
+ * @format GUID
787
904
  */
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 {
905
+ memberId?: string;
805
906
  /**
806
- * Menu details.
807
- * @maxSize 100
907
+ * ID of a Wix user (site owner, contributor, etc.).
908
+ * @format GUID
808
909
  */
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 {
910
+ wixUserId?: string;
852
911
  /**
853
- * Menu ID.
912
+ * ID of an app.
854
913
  * @format GUID
855
914
  */
856
- menuId: string;
915
+ appId?: string;
857
916
  }
858
- interface GetMenuResponse {
859
- /** Menu. */
860
- menu?: Menu;
917
+ declare enum WebhookIdentityType {
918
+ UNKNOWN = "UNKNOWN",
919
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
920
+ MEMBER = "MEMBER",
921
+ WIX_USER = "WIX_USER",
922
+ APP = "APP"
861
923
  }
862
- interface ListMenusRequest {
924
+ /** @enumType */
925
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
926
+ interface AccountInfo {
863
927
  /**
864
- * Menu IDs.
928
+ * ID of the Wix account associated with the event.
865
929
  * @format GUID
866
- * @maxSize 500
867
930
  */
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;
931
+ accountId?: string | null;
893
932
  /**
894
- * Explicit list of fields to update.
895
- * @internal
933
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
934
+ * @format GUID
896
935
  */
897
- mask?: string[];
898
- }
899
- interface UpdateMenuResponse {
900
- /** Updated menu. */
901
- menu?: Menu;
902
- }
903
- interface BulkUpdateMenuRequest {
936
+ parentAccountId?: string | null;
904
937
  /**
905
- * Menus to update.
906
- * @minSize 1
907
- * @maxSize 100
938
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
939
+ * @format GUID
908
940
  */
909
- menus: MaskedMenu[];
910
- /** Whether to receive the entity in the response. */
911
- returnEntity?: boolean;
912
- }
913
- interface MaskedMenu {
914
- /** Menu to updated. */
915
- menu?: Menu;
916
- /** Explicit list of fields to update. */
917
- mask?: string[];
941
+ siteId?: string | null;
918
942
  }
919
- interface BulkUpdateMenuResponse {
943
+ interface DuplicateMenuRequest {
920
944
  /**
921
- * Results of bulk menu update.
922
- * @minSize 1
923
- * @maxSize 100
945
+ * Menu id to be duplicated.
946
+ * @format GUID
924
947
  */
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. */
937
948
  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 {
950
949
  /**
951
- * Menu ID.
950
+ * Business location ids to duplicate the menu to.
952
951
  * @format GUID
952
+ * @maxSize 100
953
953
  */
954
- menuId: string;
955
- }
956
- interface DeleteMenuResponse {
957
- }
958
- interface RunMenusMultiLocationMigrationRequest {
954
+ businessLocationIds?: string[] | null;
955
+ /** Indicates whether sub-entities (such as items) should be duplicated as well. */
956
+ duplicateSubEntities?: boolean | null;
959
957
  /**
960
- * business location id
961
- * @format GUID
958
+ * The new name of the duplicated menu.
959
+ * @maxLength 500
962
960
  */
963
- businessLocationId?: string;
964
- }
965
- interface RunMenusMultiLocationMigrationResponse {
966
- /** Whether menus multi-location migration finished successfully */
967
- success?: boolean;
961
+ menuName?: string | null;
968
962
  }
969
- interface UpdateBusinessLocationIdRequest {
970
- /** @format GUID */
971
- menuId?: string;
963
+ interface DuplicateMenuResponse {
972
964
  /** @format GUID */
973
- businessLocationId?: string | null;
974
- }
975
- interface UpdateBusinessLocationIdResponse {
965
+ menuIds?: string[];
976
966
  }
977
- interface CloneMenusRequest {
967
+ interface GetMenuSiteUrlRequest {
978
968
  /**
979
- * The MetaSiteId to clone from.
969
+ * Menu ID.
980
970
  * @format GUID
971
+ * @readonly
981
972
  */
982
- metaSiteId?: string;
983
- }
984
- interface CloneMenusResponse {
973
+ id: string | null;
985
974
  }
986
- interface Empty {
975
+ interface GetMenuSiteUrlResponse {
976
+ /** Retrieved menuInfo with path url. */
977
+ menuSiteUrl?: MenuSiteUrl;
987
978
  }
988
- interface SyncContentToMultilingualRequest {
979
+ interface MenuSiteUrl {
989
980
  /**
990
- * MetaSite ID
991
- * @format GUID
981
+ * Path URL.
982
+ * @minLength 1
983
+ * @maxLength 1000
992
984
  */
993
- metaSiteId?: string;
985
+ path?: string;
994
986
  }
995
- interface SyncContentToMultilingualResponse {
987
+ interface QueryMenusSiteUrlRequest {
988
+ /** Query options */
989
+ query?: CursorQuery;
990
+ }
991
+ interface QueryMenusSiteUrlResponse {
992
+ /** Retrieved menuInfos with path urls. */
993
+ menuSiteUrls?: MenuSiteUrl[];
994
+ /** The metadata of the paginated results. */
995
+ pagingMetadata?: CursorPagingMetadata;
996
996
  }
997
997
 
998
998
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -1005,13 +1005,6 @@ 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>;
1015
1008
  declare function createMenu(): __PublicMethodMetaInfo<'POST', {}, CreateMenuRequest$1, CreateMenuRequest, CreateMenuResponse$1, CreateMenuResponse>;
1016
1009
  declare function bulkCreateMenus(): __PublicMethodMetaInfo<'POST', {}, BulkCreateMenusRequest$1, BulkCreateMenusRequest, BulkCreateMenusResponse$1, BulkCreateMenusResponse>;
1017
1010
  declare function getMenu(): __PublicMethodMetaInfo<'GET', {
@@ -1029,5 +1022,12 @@ declare function updateExtendedFields(): __PublicMethodMetaInfo<'POST', {
1029
1022
  declare function deleteMenu(): __PublicMethodMetaInfo<'DELETE', {
1030
1023
  menuId: string;
1031
1024
  }, 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 };