@wix/auto_sdk_restaurants_menus 1.0.96 → 1.0.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +25 -25
- package/build/cjs/index.js +198 -198
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +283 -177
- package/build/cjs/index.typings.js +173 -173
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +243 -137
- package/build/cjs/meta.js +146 -146
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +25 -25
- package/build/es/index.mjs +198 -198
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +283 -177
- package/build/es/index.typings.mjs +173 -173
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +243 -137
- package/build/es/meta.mjs +146 -146
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +25 -25
- package/build/internal/cjs/index.typings.d.ts +297 -191
- package/build/internal/cjs/meta.d.ts +257 -151
- package/build/internal/es/index.d.mts +25 -25
- package/build/internal/es/index.typings.d.mts +297 -191
- package/build/internal/es/meta.d.mts +257 -151
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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,29 +283,207 @@ interface ExternalReferenceInfo {
|
|
|
283
283
|
/** Whether the connection to the external system is currently active. */
|
|
284
284
|
connected?: boolean | null;
|
|
285
285
|
}
|
|
286
|
-
interface
|
|
286
|
+
interface QueryMenuExportRowsRequest {
|
|
287
287
|
/**
|
|
288
|
-
*
|
|
289
|
-
*
|
|
288
|
+
* Filter: `{"menuId": "<GUID>"}` or `{"menuId": {"$eq": "<GUID>"}}`, required on the first page; a later page may omit
|
|
289
|
+
* it, and if it sends it, it must name the cursor's menu. Cursor paging only, at most 500 rows
|
|
290
|
+
* per page (default 100); a sort fails with `INVALID_MENU_EXPORT_QUERY`. This is the same wire format as the fed-infra
|
|
291
|
+
* export service's `ExportQueryV2`: filter 1, sort 2, cursor paging 6.
|
|
290
292
|
*/
|
|
291
|
-
|
|
293
|
+
query?: CursorQuery;
|
|
294
|
+
}
|
|
295
|
+
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
296
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
297
|
+
cursorPaging?: CursorPaging;
|
|
292
298
|
/**
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
-
*
|
|
299
|
+
* Filter object in the following format:
|
|
300
|
+
* `"filter" : {
|
|
301
|
+
* "fieldName1": "value1",
|
|
302
|
+
* "fieldName2":{"$operator":"value2"}
|
|
303
|
+
* }`
|
|
304
|
+
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
296
305
|
*/
|
|
297
|
-
|
|
298
|
-
/** Indicates whether sub-entities (such as items) should be duplicated as well. */
|
|
299
|
-
duplicateSubEntities?: boolean | null;
|
|
306
|
+
filter?: Record<string, any> | null;
|
|
300
307
|
/**
|
|
301
|
-
*
|
|
302
|
-
*
|
|
308
|
+
* Sort object in the following format:
|
|
309
|
+
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
303
310
|
*/
|
|
304
|
-
|
|
311
|
+
sort?: Sorting[];
|
|
305
312
|
}
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
313
|
+
/** @oneof */
|
|
314
|
+
interface CursorQueryPagingMethodOneOf {
|
|
315
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
316
|
+
cursorPaging?: CursorPaging;
|
|
317
|
+
}
|
|
318
|
+
interface Sorting {
|
|
319
|
+
/**
|
|
320
|
+
* Name of the field to sort by.
|
|
321
|
+
* @maxLength 512
|
|
322
|
+
*/
|
|
323
|
+
fieldName?: string;
|
|
324
|
+
/** Sort order. */
|
|
325
|
+
order?: SortOrderWithLiterals;
|
|
326
|
+
/**
|
|
327
|
+
* When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
|
|
328
|
+
* a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
|
|
329
|
+
*
|
|
330
|
+
* If multiple filters are provided, they are combined with AND operator.
|
|
331
|
+
*
|
|
332
|
+
* Example:
|
|
333
|
+
* Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
|
|
334
|
+
* and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
|
|
335
|
+
* { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
|
|
336
|
+
* @internal
|
|
337
|
+
* @maxSize 10
|
|
338
|
+
*/
|
|
339
|
+
selectItemsBy?: Record<string, any>[] | null;
|
|
340
|
+
/**
|
|
341
|
+
* Origin point for geo-distance sorting on a GEO field
|
|
342
|
+
* results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).
|
|
343
|
+
*/
|
|
344
|
+
origin?: AddressLocation;
|
|
345
|
+
}
|
|
346
|
+
declare enum SortOrder {
|
|
347
|
+
ASC = "ASC",
|
|
348
|
+
DESC = "DESC"
|
|
349
|
+
}
|
|
350
|
+
/** @enumType */
|
|
351
|
+
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
352
|
+
interface AddressLocation {
|
|
353
|
+
/** Address latitude. */
|
|
354
|
+
latitude?: number | null;
|
|
355
|
+
/** Address longitude. */
|
|
356
|
+
longitude?: number | null;
|
|
357
|
+
}
|
|
358
|
+
interface CursorPaging {
|
|
359
|
+
/**
|
|
360
|
+
* Number of items to load.
|
|
361
|
+
* @max 500
|
|
362
|
+
*/
|
|
363
|
+
limit?: number | null;
|
|
364
|
+
/**
|
|
365
|
+
* Pointer to the next or previous page in the list of results.
|
|
366
|
+
*
|
|
367
|
+
* You can get the relevant cursor token
|
|
368
|
+
* from the `pagingMetadata` object in the previous call's response.
|
|
369
|
+
* Not relevant for the first request.
|
|
370
|
+
*/
|
|
371
|
+
cursor?: string | null;
|
|
372
|
+
}
|
|
373
|
+
interface QueryMenuExportRowsResponse {
|
|
374
|
+
/** The page's rows, in file order. */
|
|
375
|
+
menuExportRows?: MenuExportRow[];
|
|
376
|
+
/** Paging metadata: `cursors.next` is set while rows remain. */
|
|
377
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* One CSV row. Every field is text exactly as written to the file (design-log/001 Q5); unused columns are empty.
|
|
381
|
+
* Free-text limits are the source field's product limit plus one, for the `'` the formula guard can add; `labels` allows
|
|
382
|
+
* 10 names of 50, each doubled at most by escaping, 9 separators and the guard. The other limits bound fixed values.
|
|
383
|
+
*/
|
|
384
|
+
interface MenuExportRow {
|
|
385
|
+
/**
|
|
386
|
+
* `section`, `item`, `variant`, `modifier_group` or `modifier`.
|
|
387
|
+
* @maxLength 20
|
|
388
|
+
*/
|
|
389
|
+
type?: string;
|
|
390
|
+
/**
|
|
391
|
+
* Name of the row's section.
|
|
392
|
+
* @maxLength 501
|
|
393
|
+
*/
|
|
394
|
+
sectionName?: string;
|
|
395
|
+
/**
|
|
396
|
+
* Section description, on section rows.
|
|
397
|
+
* @maxLength 1501
|
|
398
|
+
*/
|
|
399
|
+
sectionDescription?: string;
|
|
400
|
+
/**
|
|
401
|
+
* Item name, on item, variant, modifier group and modifier rows.
|
|
402
|
+
* @maxLength 201
|
|
403
|
+
*/
|
|
404
|
+
itemName?: string;
|
|
405
|
+
/**
|
|
406
|
+
* Item description, on item rows.
|
|
407
|
+
* @maxLength 1501
|
|
408
|
+
*/
|
|
409
|
+
itemDescription?: string;
|
|
410
|
+
/**
|
|
411
|
+
* Price with 2 or 3 decimals, for example `8.50` (a legacy price stored with more decimals is written as stored). On item rows: `MARKET_PRICE` for a market-price item, empty for an
|
|
412
|
+
* item priced by variants, `0.00` for an item without a stored price. On variant and modifier rows: `0.00` without a
|
|
413
|
+
* price or charge. Empty on section and modifier group rows.
|
|
414
|
+
* @maxLength 50
|
|
415
|
+
*/
|
|
416
|
+
price?: string;
|
|
417
|
+
/**
|
|
418
|
+
* The site's payment currency on item, variant and modifier rows. The importer doesn't read it: an imported menu takes
|
|
419
|
+
* the target site's currency.
|
|
420
|
+
* @maxLength 10
|
|
421
|
+
*/
|
|
422
|
+
currency?: string;
|
|
423
|
+
/**
|
|
424
|
+
* The item's label names, `;`-separated, each exactly as the site names it, with `\` and `;` inside a name escaped
|
|
425
|
+
* as `\\` and `\;`.
|
|
426
|
+
* @maxLength 1010
|
|
427
|
+
*/
|
|
428
|
+
labels?: string;
|
|
429
|
+
/**
|
|
430
|
+
* Modifier group name, on modifier group and modifier rows.
|
|
431
|
+
* @maxLength 101
|
|
432
|
+
*/
|
|
433
|
+
modifierGroupName?: string;
|
|
434
|
+
/**
|
|
435
|
+
* `yes` or `no`, on modifier group rows.
|
|
436
|
+
* @maxLength 3
|
|
437
|
+
*/
|
|
438
|
+
modifierRequired?: string;
|
|
439
|
+
/**
|
|
440
|
+
* Minimum selections, on modifier group rows.
|
|
441
|
+
* @maxLength 20
|
|
442
|
+
*/
|
|
443
|
+
modifierMinSelections?: string;
|
|
444
|
+
/**
|
|
445
|
+
* Maximum selections (`0` is unlimited), on modifier group rows.
|
|
446
|
+
* @maxLength 20
|
|
447
|
+
*/
|
|
448
|
+
modifierMaxSelections?: string;
|
|
449
|
+
/**
|
|
450
|
+
* Modifier name, on modifier rows.
|
|
451
|
+
* @maxLength 201
|
|
452
|
+
*/
|
|
453
|
+
modifierName?: string;
|
|
454
|
+
/**
|
|
455
|
+
* `yes` or `no`, on modifier rows.
|
|
456
|
+
* @maxLength 3
|
|
457
|
+
*/
|
|
458
|
+
modifierPreSelected?: string;
|
|
459
|
+
/**
|
|
460
|
+
* Variant name, on variant rows.
|
|
461
|
+
* @maxLength 201
|
|
462
|
+
*/
|
|
463
|
+
variantName?: string;
|
|
464
|
+
/**
|
|
465
|
+
* `yes` or `no` on section and item rows.
|
|
466
|
+
* @maxLength 3
|
|
467
|
+
*/
|
|
468
|
+
visible?: string;
|
|
469
|
+
}
|
|
470
|
+
interface CursorPagingMetadata {
|
|
471
|
+
/** Number of items returned in the response. */
|
|
472
|
+
count?: number | null;
|
|
473
|
+
/** Offset that was requested. */
|
|
474
|
+
cursors?: Cursors;
|
|
475
|
+
/**
|
|
476
|
+
* Indicates if there are more results after the current page.
|
|
477
|
+
* If `true`, another page of results can be retrieved.
|
|
478
|
+
* If `false`, this is the last page.
|
|
479
|
+
*/
|
|
480
|
+
hasNext?: boolean | null;
|
|
481
|
+
}
|
|
482
|
+
interface Cursors {
|
|
483
|
+
/** Cursor pointing to next page in the list of results. */
|
|
484
|
+
next?: string | null;
|
|
485
|
+
/** Cursor pointing to previous page in the list of results. */
|
|
486
|
+
prev?: string | null;
|
|
309
487
|
}
|
|
310
488
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
311
489
|
createdEvent?: EntityCreatedEvent;
|
|
@@ -504,132 +682,6 @@ interface AccountInfo {
|
|
|
504
682
|
*/
|
|
505
683
|
siteId?: string | null;
|
|
506
684
|
}
|
|
507
|
-
interface GetMenuSiteUrlRequest {
|
|
508
|
-
/**
|
|
509
|
-
* Menu ID.
|
|
510
|
-
* @format GUID
|
|
511
|
-
* @readonly
|
|
512
|
-
*/
|
|
513
|
-
id: string | null;
|
|
514
|
-
}
|
|
515
|
-
interface GetMenuSiteUrlResponse {
|
|
516
|
-
/** Retrieved menuInfo with path url. */
|
|
517
|
-
menuSiteUrl?: MenuSiteUrl;
|
|
518
|
-
}
|
|
519
|
-
interface MenuSiteUrl {
|
|
520
|
-
/**
|
|
521
|
-
* Path URL.
|
|
522
|
-
* @minLength 1
|
|
523
|
-
* @maxLength 1000
|
|
524
|
-
*/
|
|
525
|
-
path?: string;
|
|
526
|
-
}
|
|
527
|
-
interface QueryMenusSiteUrlRequest {
|
|
528
|
-
/** Query options */
|
|
529
|
-
query?: CursorQuery;
|
|
530
|
-
}
|
|
531
|
-
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
532
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
533
|
-
cursorPaging?: CursorPaging;
|
|
534
|
-
/**
|
|
535
|
-
* Filter object in the following format:
|
|
536
|
-
* `"filter" : {
|
|
537
|
-
* "fieldName1": "value1",
|
|
538
|
-
* "fieldName2":{"$operator":"value2"}
|
|
539
|
-
* }`
|
|
540
|
-
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
541
|
-
*/
|
|
542
|
-
filter?: Record<string, any> | null;
|
|
543
|
-
/**
|
|
544
|
-
* Sort object in the following format:
|
|
545
|
-
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
546
|
-
*/
|
|
547
|
-
sort?: Sorting[];
|
|
548
|
-
}
|
|
549
|
-
/** @oneof */
|
|
550
|
-
interface CursorQueryPagingMethodOneOf {
|
|
551
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
552
|
-
cursorPaging?: CursorPaging;
|
|
553
|
-
}
|
|
554
|
-
interface Sorting {
|
|
555
|
-
/**
|
|
556
|
-
* Name of the field to sort by.
|
|
557
|
-
* @maxLength 512
|
|
558
|
-
*/
|
|
559
|
-
fieldName?: string;
|
|
560
|
-
/** Sort order. */
|
|
561
|
-
order?: SortOrderWithLiterals;
|
|
562
|
-
/**
|
|
563
|
-
* When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
|
|
564
|
-
* a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
|
|
565
|
-
*
|
|
566
|
-
* If multiple filters are provided, they are combined with AND operator.
|
|
567
|
-
*
|
|
568
|
-
* Example:
|
|
569
|
-
* Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
|
|
570
|
-
* and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
|
|
571
|
-
* { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
|
|
572
|
-
* @internal
|
|
573
|
-
* @maxSize 10
|
|
574
|
-
*/
|
|
575
|
-
selectItemsBy?: Record<string, any>[] | null;
|
|
576
|
-
/**
|
|
577
|
-
* Origin point for geo-distance sorting on a GEO field
|
|
578
|
-
* results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).
|
|
579
|
-
*/
|
|
580
|
-
origin?: AddressLocation;
|
|
581
|
-
}
|
|
582
|
-
declare enum SortOrder {
|
|
583
|
-
ASC = "ASC",
|
|
584
|
-
DESC = "DESC"
|
|
585
|
-
}
|
|
586
|
-
/** @enumType */
|
|
587
|
-
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
588
|
-
interface AddressLocation {
|
|
589
|
-
/** Address latitude. */
|
|
590
|
-
latitude?: number | null;
|
|
591
|
-
/** Address longitude. */
|
|
592
|
-
longitude?: number | null;
|
|
593
|
-
}
|
|
594
|
-
interface CursorPaging {
|
|
595
|
-
/**
|
|
596
|
-
* Number of items to load.
|
|
597
|
-
* @max 500
|
|
598
|
-
*/
|
|
599
|
-
limit?: number | null;
|
|
600
|
-
/**
|
|
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.
|
|
606
|
-
*/
|
|
607
|
-
cursor?: string | null;
|
|
608
|
-
}
|
|
609
|
-
interface QueryMenusSiteUrlResponse {
|
|
610
|
-
/** Retrieved menuInfos with path urls. */
|
|
611
|
-
menuSiteUrls?: MenuSiteUrl[];
|
|
612
|
-
/** The metadata of the paginated results. */
|
|
613
|
-
pagingMetadata?: CursorPagingMetadata;
|
|
614
|
-
}
|
|
615
|
-
interface CursorPagingMetadata {
|
|
616
|
-
/** Number of items returned in the response. */
|
|
617
|
-
count?: number | null;
|
|
618
|
-
/** Offset that was requested. */
|
|
619
|
-
cursors?: Cursors;
|
|
620
|
-
/**
|
|
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.
|
|
624
|
-
*/
|
|
625
|
-
hasNext?: boolean | null;
|
|
626
|
-
}
|
|
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;
|
|
632
|
-
}
|
|
633
685
|
interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
634
686
|
/**
|
|
635
687
|
* Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
|
|
@@ -994,6 +1046,60 @@ interface SyncContentToMultilingualRequest {
|
|
|
994
1046
|
}
|
|
995
1047
|
interface SyncContentToMultilingualResponse {
|
|
996
1048
|
}
|
|
1049
|
+
interface DuplicateMenuRequest {
|
|
1050
|
+
/**
|
|
1051
|
+
* Menu id to be duplicated.
|
|
1052
|
+
* @format GUID
|
|
1053
|
+
*/
|
|
1054
|
+
id: string;
|
|
1055
|
+
/**
|
|
1056
|
+
* Business location ids to duplicate the menu to.
|
|
1057
|
+
* @format GUID
|
|
1058
|
+
* @maxSize 100
|
|
1059
|
+
*/
|
|
1060
|
+
businessLocationIds?: string[] | null;
|
|
1061
|
+
/** Indicates whether sub-entities (such as items) should be duplicated as well. */
|
|
1062
|
+
duplicateSubEntities?: boolean | null;
|
|
1063
|
+
/**
|
|
1064
|
+
* The new name of the duplicated menu.
|
|
1065
|
+
* @maxLength 500
|
|
1066
|
+
*/
|
|
1067
|
+
menuName?: string | null;
|
|
1068
|
+
}
|
|
1069
|
+
interface DuplicateMenuResponse {
|
|
1070
|
+
/** @format GUID */
|
|
1071
|
+
menuIds?: string[];
|
|
1072
|
+
}
|
|
1073
|
+
interface GetMenuSiteUrlRequest {
|
|
1074
|
+
/**
|
|
1075
|
+
* Menu ID.
|
|
1076
|
+
* @format GUID
|
|
1077
|
+
* @readonly
|
|
1078
|
+
*/
|
|
1079
|
+
id: string | null;
|
|
1080
|
+
}
|
|
1081
|
+
interface GetMenuSiteUrlResponse {
|
|
1082
|
+
/** Retrieved menuInfo with path url. */
|
|
1083
|
+
menuSiteUrl?: MenuSiteUrl;
|
|
1084
|
+
}
|
|
1085
|
+
interface MenuSiteUrl {
|
|
1086
|
+
/**
|
|
1087
|
+
* Path URL.
|
|
1088
|
+
* @minLength 1
|
|
1089
|
+
* @maxLength 1000
|
|
1090
|
+
*/
|
|
1091
|
+
path?: string;
|
|
1092
|
+
}
|
|
1093
|
+
interface QueryMenusSiteUrlRequest {
|
|
1094
|
+
/** Query options */
|
|
1095
|
+
query?: CursorQuery;
|
|
1096
|
+
}
|
|
1097
|
+
interface QueryMenusSiteUrlResponse {
|
|
1098
|
+
/** Retrieved menuInfos with path urls. */
|
|
1099
|
+
menuSiteUrls?: MenuSiteUrl[];
|
|
1100
|
+
/** The metadata of the paginated results. */
|
|
1101
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
1102
|
+
}
|
|
997
1103
|
|
|
998
1104
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
999
1105
|
getUrl: (context: any) => string;
|
|
@@ -1005,13 +1111,6 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
|
|
|
1005
1111
|
__responseType: Q;
|
|
1006
1112
|
__originalResponseType: R;
|
|
1007
1113
|
};
|
|
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
1114
|
declare function createMenu(): __PublicMethodMetaInfo<'POST', {}, CreateMenuRequest$1, CreateMenuRequest, CreateMenuResponse$1, CreateMenuResponse>;
|
|
1016
1115
|
declare function bulkCreateMenus(): __PublicMethodMetaInfo<'POST', {}, BulkCreateMenusRequest$1, BulkCreateMenusRequest, BulkCreateMenusResponse$1, BulkCreateMenusResponse>;
|
|
1017
1116
|
declare function getMenu(): __PublicMethodMetaInfo<'GET', {
|
|
@@ -1029,5 +1128,12 @@ declare function updateExtendedFields(): __PublicMethodMetaInfo<'POST', {
|
|
|
1029
1128
|
declare function deleteMenu(): __PublicMethodMetaInfo<'DELETE', {
|
|
1030
1129
|
menuId: string;
|
|
1031
1130
|
}, DeleteMenuRequest$1, DeleteMenuRequest, DeleteMenuResponse$1, DeleteMenuResponse>;
|
|
1131
|
+
declare function duplicateMenu(): __PublicMethodMetaInfo<'POST', {
|
|
1132
|
+
id: string;
|
|
1133
|
+
}, DuplicateMenuRequest$1, DuplicateMenuRequest, DuplicateMenuResponse$1, DuplicateMenuResponse>;
|
|
1134
|
+
declare function getMenuSiteUrl(): __PublicMethodMetaInfo<'GET', {
|
|
1135
|
+
id: string;
|
|
1136
|
+
}, GetMenuSiteUrlRequest$1, GetMenuSiteUrlRequest, GetMenuSiteUrlResponse$1, GetMenuSiteUrlResponse>;
|
|
1137
|
+
declare function queryMenusSiteUrl(): __PublicMethodMetaInfo<'POST', {}, QueryMenusSiteUrlRequest$1, QueryMenusSiteUrlRequest, QueryMenusSiteUrlResponse$1, QueryMenusSiteUrlResponse>;
|
|
1032
1138
|
|
|
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 };
|
|
1139
|
+
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 MenuExportRow as MenuExportRowOriginal, 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 QueryMenuExportRowsRequest as QueryMenuExportRowsRequestOriginal, type QueryMenuExportRowsResponse as QueryMenuExportRowsResponseOriginal, 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 };
|
|
@@ -1,27 +1,7 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import {
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddressLocation, App, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkCreateMenuResult, BulkCreateMenusRequest, BulkMenuResult, BulkUpdateMenuRequest, BusinessLocationDetails, CloneMenusRequest, CloneMenusResponse, CommonQueryWithEntityContext, CreateMenuRequest, CreateMenuResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, DeleteMenuRequest, DeleteMenuResponse, DeleteOrphanSections, DomainEvent, DomainEventBodyOneOf, DuplicateMenuRequest, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReferenceInfo, File, GetMenuRequest, GetMenuResponse, GetMenuSiteUrlRequest, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, Keyword, ListMenusRequest, MenuQuerySpec, MenuSiteUrl, MenusDataCloningCompleted, MenusQueryResult, MessageEnvelope, Page, Pages, QueryMenusRequest, QueryMenusResponse, QueryMenusSiteUrlRequest, RestoreInfo, RunMenusMultiLocationMigrationRequest, RunMenusMultiLocationMigrationResponse, SeoSchema, Settings, SortOrder, SortOrderWithLiterals, Sorting, SyncContentToMultilingualRequest, SyncContentToMultilingualResponse, Tag, URI, URIs, UpdateBusinessLocationIdRequest, UpdateBusinessLocationIdResponse, UpdateExtendedFieldsRequest, UpdateMenuRequest, UpdateMenuResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.mjs';
|
|
2
|
+
import { Menu, BulkCreateMenusOptions, BulkCreateMenusResponse, ListMenusOptions, ListMenusResponse, UpdateMenu, MaskedMenu, BulkUpdateMenuOptions, BulkUpdateMenuResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, DuplicateMenuOptions, DuplicateMenuResponse, GetMenuSiteUrlResponse, QueryMenusSiteUrlOptions, QueryMenusSiteUrlResponse, MenuUpdatedEnvelope, MenuCreatedEnvelope, MenuDeletedEnvelope, MenusQueryBuilder, MenuQuery, typedQueryMenus } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddressLocation, App, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkCreateMenuResult, BulkCreateMenusRequest, BulkMenuResult, BulkUpdateMenuRequest, BusinessLocationDetails, CloneMenusRequest, CloneMenusResponse, CommonQueryWithEntityContext, CreateMenuRequest, CreateMenuResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, DeleteMenuRequest, DeleteMenuResponse, DeleteOrphanSections, DomainEvent, DomainEventBodyOneOf, DuplicateMenuRequest, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReferenceInfo, File, GetMenuRequest, GetMenuResponse, GetMenuSiteUrlRequest, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, Keyword, ListMenusRequest, MenuExportRow, MenuQuerySpec, MenuSiteUrl, MenusDataCloningCompleted, MenusQueryResult, MessageEnvelope, Page, Pages, QueryMenuExportRowsRequest, QueryMenuExportRowsResponse, QueryMenusRequest, QueryMenusResponse, QueryMenusSiteUrlRequest, RestoreInfo, RunMenusMultiLocationMigrationRequest, RunMenusMultiLocationMigrationResponse, SeoSchema, Settings, SortOrder, SortOrderWithLiterals, Sorting, SyncContentToMultilingualRequest, SyncContentToMultilingualResponse, Tag, URI, URIs, UpdateBusinessLocationIdRequest, UpdateBusinessLocationIdResponse, UpdateExtendedFieldsRequest, UpdateMenuRequest, UpdateMenuResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.mjs';
|
|
4
4
|
|
|
5
|
-
declare function duplicateMenu$1(httpClient: HttpClient): DuplicateMenuSignature;
|
|
6
|
-
interface DuplicateMenuSignature {
|
|
7
|
-
/** @param - Menu id to be duplicated. */
|
|
8
|
-
(_id: string, options?: DuplicateMenuOptions): Promise<NonNullablePaths<DuplicateMenuResponse, `menuIds`, 0>>;
|
|
9
|
-
}
|
|
10
|
-
declare function getMenuSiteUrl$1(httpClient: HttpClient): GetMenuSiteUrlSignature;
|
|
11
|
-
interface GetMenuSiteUrlSignature {
|
|
12
|
-
/**
|
|
13
|
-
* Get menu details and path URL by menu ID.
|
|
14
|
-
* @param - Menu ID.
|
|
15
|
-
*/
|
|
16
|
-
(_id: string): Promise<NonNullablePaths<GetMenuSiteUrlResponse, `menuSiteUrl.path`, 1>>;
|
|
17
|
-
}
|
|
18
|
-
declare function queryMenusSiteUrl$1(httpClient: HttpClient): QueryMenusSiteUrlSignature;
|
|
19
|
-
interface QueryMenusSiteUrlSignature {
|
|
20
|
-
/**
|
|
21
|
-
* Query menu details and path URL
|
|
22
|
-
*/
|
|
23
|
-
(options?: QueryMenusSiteUrlOptions): Promise<NonNullablePaths<QueryMenusSiteUrlResponse, `menuSiteUrls` | `menuSiteUrls.${number}.path`, 2>>;
|
|
24
|
-
}
|
|
25
5
|
declare function createMenu$1(httpClient: HttpClient): CreateMenuSignature;
|
|
26
6
|
interface CreateMenuSignature {
|
|
27
7
|
/**
|
|
@@ -113,6 +93,26 @@ interface DeleteMenuSignature {
|
|
|
113
93
|
*/
|
|
114
94
|
(menuId: string): Promise<void>;
|
|
115
95
|
}
|
|
96
|
+
declare function duplicateMenu$1(httpClient: HttpClient): DuplicateMenuSignature;
|
|
97
|
+
interface DuplicateMenuSignature {
|
|
98
|
+
/** @param - Menu id to be duplicated. */
|
|
99
|
+
(_id: string, options?: DuplicateMenuOptions): Promise<NonNullablePaths<DuplicateMenuResponse, `menuIds`, 0>>;
|
|
100
|
+
}
|
|
101
|
+
declare function getMenuSiteUrl$1(httpClient: HttpClient): GetMenuSiteUrlSignature;
|
|
102
|
+
interface GetMenuSiteUrlSignature {
|
|
103
|
+
/**
|
|
104
|
+
* Get menu details and path URL by menu ID.
|
|
105
|
+
* @param - Menu ID.
|
|
106
|
+
*/
|
|
107
|
+
(_id: string): Promise<NonNullablePaths<GetMenuSiteUrlResponse, `menuSiteUrl.path`, 1>>;
|
|
108
|
+
}
|
|
109
|
+
declare function queryMenusSiteUrl$1(httpClient: HttpClient): QueryMenusSiteUrlSignature;
|
|
110
|
+
interface QueryMenusSiteUrlSignature {
|
|
111
|
+
/**
|
|
112
|
+
* Query menu details and path URL
|
|
113
|
+
*/
|
|
114
|
+
(options?: QueryMenusSiteUrlOptions): Promise<NonNullablePaths<QueryMenusSiteUrlResponse, `menuSiteUrls` | `menuSiteUrls.${number}.path`, 2>>;
|
|
115
|
+
}
|
|
116
116
|
declare const onMenuUpdated$1: EventDefinition<MenuUpdatedEnvelope, "wix.restaurants.menus.v1.menu_updated">;
|
|
117
117
|
declare const onMenuCreated$1: EventDefinition<MenuCreatedEnvelope, "wix.restaurants.menus.v1.menu_created">;
|
|
118
118
|
declare const onMenuDeleted$1: EventDefinition<MenuDeletedEnvelope, "wix.restaurants.menus.v1.menu_deleted">;
|
|
@@ -121,9 +121,6 @@ declare function customQueryMenus(httpClient: HttpClient): {
|
|
|
121
121
|
(): MenusQueryBuilder;
|
|
122
122
|
(query: MenuQuery): ReturnType<typeof typedQueryMenus>;
|
|
123
123
|
};
|
|
124
|
-
declare const duplicateMenu: MaybeContext<BuildRESTFunction<typeof duplicateMenu$1> & typeof duplicateMenu$1>;
|
|
125
|
-
declare const getMenuSiteUrl: MaybeContext<BuildRESTFunction<typeof getMenuSiteUrl$1> & typeof getMenuSiteUrl$1>;
|
|
126
|
-
declare const queryMenusSiteUrl: MaybeContext<BuildRESTFunction<typeof queryMenusSiteUrl$1> & typeof queryMenusSiteUrl$1>;
|
|
127
124
|
declare const createMenu: MaybeContext<BuildRESTFunction<typeof createMenu$1> & typeof createMenu$1>;
|
|
128
125
|
declare const bulkCreateMenus: MaybeContext<BuildRESTFunction<typeof bulkCreateMenus$1> & typeof bulkCreateMenus$1>;
|
|
129
126
|
declare const getMenu: MaybeContext<BuildRESTFunction<typeof getMenu$1> & typeof getMenu$1>;
|
|
@@ -132,6 +129,9 @@ declare const updateMenu: MaybeContext<BuildRESTFunction<typeof updateMenu$1> &
|
|
|
132
129
|
declare const bulkUpdateMenu: MaybeContext<BuildRESTFunction<typeof bulkUpdateMenu$1> & typeof bulkUpdateMenu$1>;
|
|
133
130
|
declare const updateExtendedFields: MaybeContext<BuildRESTFunction<typeof updateExtendedFields$1> & typeof updateExtendedFields$1>;
|
|
134
131
|
declare const deleteMenu: MaybeContext<BuildRESTFunction<typeof deleteMenu$1> & typeof deleteMenu$1>;
|
|
132
|
+
declare const duplicateMenu: MaybeContext<BuildRESTFunction<typeof duplicateMenu$1> & typeof duplicateMenu$1>;
|
|
133
|
+
declare const getMenuSiteUrl: MaybeContext<BuildRESTFunction<typeof getMenuSiteUrl$1> & typeof getMenuSiteUrl$1>;
|
|
134
|
+
declare const queryMenusSiteUrl: MaybeContext<BuildRESTFunction<typeof queryMenusSiteUrl$1> & typeof queryMenusSiteUrl$1>;
|
|
135
135
|
declare const queryMenus: MaybeContext<BuildRESTFunction<typeof customQueryMenus> & typeof customQueryMenus>;
|
|
136
136
|
/** */
|
|
137
137
|
declare const onMenuUpdated: BuildEventDefinition<typeof onMenuUpdated$1> & typeof onMenuUpdated$1;
|