@wix/auto_sdk_restaurants_sections 1.0.13 → 1.0.14
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/src/restaurants-menus-v1-section-sections.public.d.ts → index.d.mts} +36 -19
- package/build/{internal/cjs/src/restaurants-menus-v1-section-sections.public.d.ts → index.d.ts} +36 -19
- package/build/index.js +1118 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +1080 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/{es/src/restaurants-menus-v1-section-sections.public.d.ts → index.d.mts} +36 -19
- package/build/{es/src/restaurants-menus-v1-section-sections.public.d.ts → internal/index.d.ts} +36 -19
- package/build/internal/index.js +1118 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +1080 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +357 -0
- package/build/internal/meta.d.ts +357 -0
- package/build/internal/meta.js +706 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +670 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/internal/{cjs/src/restaurants-menus-v1-section-sections.universal.d.ts → restaurants-menus-v1-section-sections.universal-BZUvATJu.d.mts} +79 -307
- package/build/internal/{es/src/restaurants-menus-v1-section-sections.universal.d.ts → restaurants-menus-v1-section-sections.universal-BZUvATJu.d.ts} +79 -307
- package/build/meta.d.mts +357 -0
- package/build/meta.d.ts +357 -0
- package/build/meta.js +706 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +670 -0
- package/build/meta.mjs.map +1 -0
- package/build/{cjs/src/restaurants-menus-v1-section-sections.universal.d.ts → restaurants-menus-v1-section-sections.universal-BZUvATJu.d.mts} +79 -307
- package/build/{es/src/restaurants-menus-v1-section-sections.universal.d.ts → restaurants-menus-v1-section-sections.universal-BZUvATJu.d.ts} +79 -307
- package/package.json +13 -12
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/restaurants-menus-v1-section-sections.context.d.ts +0 -26
- package/build/cjs/src/restaurants-menus-v1-section-sections.context.js +0 -31
- package/build/cjs/src/restaurants-menus-v1-section-sections.context.js.map +0 -1
- package/build/cjs/src/restaurants-menus-v1-section-sections.http.d.ts +0 -72
- package/build/cjs/src/restaurants-menus-v1-section-sections.http.js +0 -529
- package/build/cjs/src/restaurants-menus-v1-section-sections.http.js.map +0 -1
- package/build/cjs/src/restaurants-menus-v1-section-sections.meta.d.ts +0 -30
- package/build/cjs/src/restaurants-menus-v1-section-sections.meta.js +0 -218
- package/build/cjs/src/restaurants-menus-v1-section-sections.meta.js.map +0 -1
- package/build/cjs/src/restaurants-menus-v1-section-sections.public.js +0 -125
- package/build/cjs/src/restaurants-menus-v1-section-sections.public.js.map +0 -1
- package/build/cjs/src/restaurants-menus-v1-section-sections.types.d.ts +0 -610
- package/build/cjs/src/restaurants-menus-v1-section-sections.types.js +0 -17
- package/build/cjs/src/restaurants-menus-v1-section-sections.types.js.map +0 -1
- package/build/cjs/src/restaurants-menus-v1-section-sections.universal.js +0 -587
- package/build/cjs/src/restaurants-menus-v1-section-sections.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/restaurants-menus-v1-section-sections.context.d.ts +0 -26
- package/build/es/src/restaurants-menus-v1-section-sections.context.js +0 -26
- package/build/es/src/restaurants-menus-v1-section-sections.context.js.map +0 -1
- package/build/es/src/restaurants-menus-v1-section-sections.http.d.ts +0 -72
- package/build/es/src/restaurants-menus-v1-section-sections.http.js +0 -516
- package/build/es/src/restaurants-menus-v1-section-sections.http.js.map +0 -1
- package/build/es/src/restaurants-menus-v1-section-sections.meta.d.ts +0 -30
- package/build/es/src/restaurants-menus-v1-section-sections.meta.js +0 -182
- package/build/es/src/restaurants-menus-v1-section-sections.meta.js.map +0 -1
- package/build/es/src/restaurants-menus-v1-section-sections.public.js +0 -110
- package/build/es/src/restaurants-menus-v1-section-sections.public.js.map +0 -1
- package/build/es/src/restaurants-menus-v1-section-sections.types.d.ts +0 -610
- package/build/es/src/restaurants-menus-v1-section-sections.types.js +0 -14
- package/build/es/src/restaurants-menus-v1-section-sections.types.js.map +0 -1
- package/build/es/src/restaurants-menus-v1-section-sections.universal.js +0 -551
- package/build/es/src/restaurants-menus-v1-section-sections.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/restaurants-menus-v1-section-sections.context.d.ts +0 -26
- package/build/internal/cjs/src/restaurants-menus-v1-section-sections.context.js +0 -31
- package/build/internal/cjs/src/restaurants-menus-v1-section-sections.context.js.map +0 -1
- package/build/internal/cjs/src/restaurants-menus-v1-section-sections.http.d.ts +0 -72
- package/build/internal/cjs/src/restaurants-menus-v1-section-sections.http.js +0 -529
- package/build/internal/cjs/src/restaurants-menus-v1-section-sections.http.js.map +0 -1
- package/build/internal/cjs/src/restaurants-menus-v1-section-sections.meta.d.ts +0 -30
- package/build/internal/cjs/src/restaurants-menus-v1-section-sections.meta.js +0 -218
- package/build/internal/cjs/src/restaurants-menus-v1-section-sections.meta.js.map +0 -1
- package/build/internal/cjs/src/restaurants-menus-v1-section-sections.public.js +0 -125
- package/build/internal/cjs/src/restaurants-menus-v1-section-sections.public.js.map +0 -1
- package/build/internal/cjs/src/restaurants-menus-v1-section-sections.types.d.ts +0 -610
- package/build/internal/cjs/src/restaurants-menus-v1-section-sections.types.js +0 -17
- package/build/internal/cjs/src/restaurants-menus-v1-section-sections.types.js.map +0 -1
- package/build/internal/cjs/src/restaurants-menus-v1-section-sections.universal.js +0 -587
- package/build/internal/cjs/src/restaurants-menus-v1-section-sections.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/restaurants-menus-v1-section-sections.context.d.ts +0 -26
- package/build/internal/es/src/restaurants-menus-v1-section-sections.context.js +0 -26
- package/build/internal/es/src/restaurants-menus-v1-section-sections.context.js.map +0 -1
- package/build/internal/es/src/restaurants-menus-v1-section-sections.http.d.ts +0 -72
- package/build/internal/es/src/restaurants-menus-v1-section-sections.http.js +0 -516
- package/build/internal/es/src/restaurants-menus-v1-section-sections.http.js.map +0 -1
- package/build/internal/es/src/restaurants-menus-v1-section-sections.meta.d.ts +0 -30
- package/build/internal/es/src/restaurants-menus-v1-section-sections.meta.js +0 -182
- package/build/internal/es/src/restaurants-menus-v1-section-sections.meta.js.map +0 -1
- package/build/internal/es/src/restaurants-menus-v1-section-sections.public.js +0 -110
- package/build/internal/es/src/restaurants-menus-v1-section-sections.public.js.map +0 -1
- package/build/internal/es/src/restaurants-menus-v1-section-sections.types.d.ts +0 -610
- package/build/internal/es/src/restaurants-menus-v1-section-sections.types.js +0 -14
- package/build/internal/es/src/restaurants-menus-v1-section-sections.types.js.map +0 -1
- package/build/internal/es/src/restaurants-menus-v1-section-sections.universal.js +0 -551
- package/build/internal/es/src/restaurants-menus-v1-section-sections.universal.js.map +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
+
import { D as DuplicateSectionOptions, a as DuplicateSectionResponse, S as Section, B as BulkCreateSectionsOptions, b as BulkCreateSectionsResponse, L as ListSectionsOptions, c as ListSectionsResponse, d as SectionsQueryBuilder, U as UpdateSection, M as MaskedSection, e as BulkUpdateSectionOptions, f as BulkUpdateSectionResponse, g as BulkDeleteSectionsResponse } from './restaurants-menus-v1-section-sections.universal-BZUvATJu.mjs';
|
|
3
|
+
export { a4 as ActionEvent, A as App, q as ApplicationError, ac as BaseEventMetadata, r as BulkActionMetadata, o as BulkCreateSectionResult, n as BulkCreateSectionsRequest, X as BulkDeleteSectionResult, V as BulkDeleteSectionsRequest, a8 as BulkItemResult, O as BulkSectionResult, a6 as BulkUpdateBusinessLocationIdRequest, a7 as BulkUpdateBusinessLocationIdResponse, N as BulkUpdateSectionRequest, Y as CloneSectionsRequest, Z as CloneSectionsResponse, C as CreateSectionRequest, m as CreateSectionResponse, u as CursorPaging, v as CursorPagingMetadata, x as CursorQuery, y as CursorQueryPagingMethodOneOf, w as Cursors, l as DeleteLocationIdFromItems, R as DeleteSectionRequest, T as DeleteSectionResponse, _ as DomainEvent, $ as DomainEventBodyOneOf, i as DuplicateSectionRequest, a5 as Empty, a0 as EntityCreatedEvent, a3 as EntityDeletedEvent, a2 as EntityUpdatedEvent, ad as EventMetadata, E as ExtendedFields, F as File, G as GetSectionRequest, s as GetSectionResponse, aa as IdentificationData, ab as IdentificationDataIdOneOf, I as InvalidateCache, j as InvalidateCacheGetByOneOf, p as ItemMetadata, t as ListSectionsRequest, a9 as MessageEnvelope, P as Page, Q as QuerySectionsRequest, H as QuerySectionsResponse, a1 as RestoreInfo, ae as SectionCreatedEnvelope, af as SectionDeletedEnvelope, ag as SectionUpdatedEnvelope, ah as SectionsQueryResult, h as SortOrder, z as Sorting, k as URI, J as UpdateSectionRequest, K as UpdateSectionResponse, W as WebhookIdentityType } from './restaurants-menus-v1-section-sections.universal-BZUvATJu.mjs';
|
|
4
|
+
import { createEventModule } from '@wix/sdk-runtime/event-definition-modules';
|
|
5
|
+
|
|
6
|
+
declare function duplicateSection$1(httpClient: HttpClient): DuplicateSectionSignature;
|
|
7
7
|
interface DuplicateSectionSignature {
|
|
8
8
|
/** @param - Section id to be duplicated. */
|
|
9
9
|
(_id: string, options?: DuplicateSectionOptions | undefined): Promise<DuplicateSectionResponse>;
|
|
10
10
|
}
|
|
11
|
-
|
|
11
|
+
declare function createSection$1(httpClient: HttpClient): CreateSectionSignature;
|
|
12
12
|
interface CreateSectionSignature {
|
|
13
13
|
/**
|
|
14
14
|
* > **Note:** The Sections API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -21,7 +21,7 @@ interface CreateSectionSignature {
|
|
|
21
21
|
*/
|
|
22
22
|
(section: Section): Promise<Section>;
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
declare function bulkCreateSections$1(httpClient: HttpClient): BulkCreateSectionsSignature;
|
|
25
25
|
interface BulkCreateSectionsSignature {
|
|
26
26
|
/**
|
|
27
27
|
* > **Note:** The Section API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -31,7 +31,7 @@ interface BulkCreateSectionsSignature {
|
|
|
31
31
|
*/
|
|
32
32
|
(sections: Section[], options?: BulkCreateSectionsOptions | undefined): Promise<BulkCreateSectionsResponse>;
|
|
33
33
|
}
|
|
34
|
-
|
|
34
|
+
declare function getSection$1(httpClient: HttpClient): GetSectionSignature;
|
|
35
35
|
interface GetSectionSignature {
|
|
36
36
|
/**
|
|
37
37
|
* > **Note:** The Section API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -42,7 +42,7 @@ interface GetSectionSignature {
|
|
|
42
42
|
*/
|
|
43
43
|
(sectionId: string): Promise<Section>;
|
|
44
44
|
}
|
|
45
|
-
|
|
45
|
+
declare function listSections$1(httpClient: HttpClient): ListSectionsSignature;
|
|
46
46
|
interface ListSectionsSignature {
|
|
47
47
|
/**
|
|
48
48
|
* > **Note:** The Section API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -51,7 +51,7 @@ interface ListSectionsSignature {
|
|
|
51
51
|
*/
|
|
52
52
|
(options?: ListSectionsOptions | undefined): Promise<ListSectionsResponse>;
|
|
53
53
|
}
|
|
54
|
-
|
|
54
|
+
declare function querySections$1(httpClient: HttpClient): QuerySectionsSignature;
|
|
55
55
|
interface QuerySectionsSignature {
|
|
56
56
|
/**
|
|
57
57
|
* Creates a query to retrieve a list of sections.
|
|
@@ -70,7 +70,7 @@ interface QuerySectionsSignature {
|
|
|
70
70
|
*/
|
|
71
71
|
(): SectionsQueryBuilder;
|
|
72
72
|
}
|
|
73
|
-
|
|
73
|
+
declare function updateSection$1(httpClient: HttpClient): UpdateSectionSignature;
|
|
74
74
|
interface UpdateSectionSignature {
|
|
75
75
|
/**
|
|
76
76
|
* > **Note:** The Section API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -83,7 +83,7 @@ interface UpdateSectionSignature {
|
|
|
83
83
|
*/
|
|
84
84
|
(_id: string, section: UpdateSection): Promise<Section>;
|
|
85
85
|
}
|
|
86
|
-
|
|
86
|
+
declare function bulkUpdateSection$1(httpClient: HttpClient): BulkUpdateSectionSignature;
|
|
87
87
|
interface BulkUpdateSectionSignature {
|
|
88
88
|
/**
|
|
89
89
|
* > **Note:** The Section API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -95,7 +95,7 @@ interface BulkUpdateSectionSignature {
|
|
|
95
95
|
*/
|
|
96
96
|
(sections: MaskedSection[], options?: BulkUpdateSectionOptions | undefined): Promise<BulkUpdateSectionResponse>;
|
|
97
97
|
}
|
|
98
|
-
|
|
98
|
+
declare function deleteSection$1(httpClient: HttpClient): DeleteSectionSignature;
|
|
99
99
|
interface DeleteSectionSignature {
|
|
100
100
|
/**
|
|
101
101
|
* > **Note:** The Section API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -105,7 +105,7 @@ interface DeleteSectionSignature {
|
|
|
105
105
|
*/
|
|
106
106
|
(sectionId: string): Promise<void>;
|
|
107
107
|
}
|
|
108
|
-
|
|
108
|
+
declare function bulkDeleteSections$1(httpClient: HttpClient): BulkDeleteSectionsSignature;
|
|
109
109
|
interface BulkDeleteSectionsSignature {
|
|
110
110
|
/**
|
|
111
111
|
* > **Note:** The Section API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -115,7 +115,24 @@ interface BulkDeleteSectionsSignature {
|
|
|
115
115
|
*/
|
|
116
116
|
(ids: string[]): Promise<BulkDeleteSectionsResponse>;
|
|
117
117
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
118
|
+
|
|
119
|
+
declare const duplicateSection: MaybeContext<BuildRESTFunction<typeof duplicateSection$1> & typeof duplicateSection$1>;
|
|
120
|
+
declare const createSection: MaybeContext<BuildRESTFunction<typeof createSection$1> & typeof createSection$1>;
|
|
121
|
+
declare const bulkCreateSections: MaybeContext<BuildRESTFunction<typeof bulkCreateSections$1> & typeof bulkCreateSections$1>;
|
|
122
|
+
declare const getSection: MaybeContext<BuildRESTFunction<typeof getSection$1> & typeof getSection$1>;
|
|
123
|
+
declare const listSections: MaybeContext<BuildRESTFunction<typeof listSections$1> & typeof listSections$1>;
|
|
124
|
+
declare const querySections: MaybeContext<BuildRESTFunction<typeof querySections$1> & typeof querySections$1>;
|
|
125
|
+
declare const updateSection: MaybeContext<BuildRESTFunction<typeof updateSection$1> & typeof updateSection$1>;
|
|
126
|
+
declare const bulkUpdateSection: MaybeContext<BuildRESTFunction<typeof bulkUpdateSection$1> & typeof bulkUpdateSection$1>;
|
|
127
|
+
declare const deleteSection: MaybeContext<BuildRESTFunction<typeof deleteSection$1> & typeof deleteSection$1>;
|
|
128
|
+
declare const bulkDeleteSections: MaybeContext<BuildRESTFunction<typeof bulkDeleteSections$1> & typeof bulkDeleteSections$1>;
|
|
129
|
+
/** */
|
|
130
|
+
declare const onSectionCreated: ReturnType<typeof createEventModule<typeof publicOnSectionCreated>>;
|
|
131
|
+
/** */
|
|
132
|
+
declare const onSectionDeleted: ReturnType<typeof createEventModule<typeof publicOnSectionDeleted>>;
|
|
133
|
+
/**
|
|
134
|
+
* Triggered when a section is updated.
|
|
135
|
+
*/
|
|
136
|
+
declare const onSectionUpdated: ReturnType<typeof createEventModule<typeof publicOnSectionUpdated>>;
|
|
137
|
+
|
|
138
|
+
export { BulkCreateSectionsOptions, BulkCreateSectionsResponse, BulkDeleteSectionsResponse, BulkUpdateSectionOptions, BulkUpdateSectionResponse, DuplicateSectionOptions, DuplicateSectionResponse, ListSectionsOptions, ListSectionsResponse, MaskedSection, Section, SectionsQueryBuilder, UpdateSection, bulkCreateSections, bulkDeleteSections, bulkUpdateSection, createSection, deleteSection, duplicateSection, getSection, listSections, onSectionCreated, onSectionDeleted, onSectionUpdated, querySections, updateSection };
|
package/build/{internal/cjs/src/restaurants-menus-v1-section-sections.public.d.ts → index.d.ts}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
+
import { D as DuplicateSectionOptions, a as DuplicateSectionResponse, S as Section, B as BulkCreateSectionsOptions, b as BulkCreateSectionsResponse, L as ListSectionsOptions, c as ListSectionsResponse, d as SectionsQueryBuilder, U as UpdateSection, M as MaskedSection, e as BulkUpdateSectionOptions, f as BulkUpdateSectionResponse, g as BulkDeleteSectionsResponse } from './restaurants-menus-v1-section-sections.universal-BZUvATJu.js';
|
|
3
|
+
export { a4 as ActionEvent, A as App, q as ApplicationError, ac as BaseEventMetadata, r as BulkActionMetadata, o as BulkCreateSectionResult, n as BulkCreateSectionsRequest, X as BulkDeleteSectionResult, V as BulkDeleteSectionsRequest, a8 as BulkItemResult, O as BulkSectionResult, a6 as BulkUpdateBusinessLocationIdRequest, a7 as BulkUpdateBusinessLocationIdResponse, N as BulkUpdateSectionRequest, Y as CloneSectionsRequest, Z as CloneSectionsResponse, C as CreateSectionRequest, m as CreateSectionResponse, u as CursorPaging, v as CursorPagingMetadata, x as CursorQuery, y as CursorQueryPagingMethodOneOf, w as Cursors, l as DeleteLocationIdFromItems, R as DeleteSectionRequest, T as DeleteSectionResponse, _ as DomainEvent, $ as DomainEventBodyOneOf, i as DuplicateSectionRequest, a5 as Empty, a0 as EntityCreatedEvent, a3 as EntityDeletedEvent, a2 as EntityUpdatedEvent, ad as EventMetadata, E as ExtendedFields, F as File, G as GetSectionRequest, s as GetSectionResponse, aa as IdentificationData, ab as IdentificationDataIdOneOf, I as InvalidateCache, j as InvalidateCacheGetByOneOf, p as ItemMetadata, t as ListSectionsRequest, a9 as MessageEnvelope, P as Page, Q as QuerySectionsRequest, H as QuerySectionsResponse, a1 as RestoreInfo, ae as SectionCreatedEnvelope, af as SectionDeletedEnvelope, ag as SectionUpdatedEnvelope, ah as SectionsQueryResult, h as SortOrder, z as Sorting, k as URI, J as UpdateSectionRequest, K as UpdateSectionResponse, W as WebhookIdentityType } from './restaurants-menus-v1-section-sections.universal-BZUvATJu.js';
|
|
4
|
+
import { createEventModule } from '@wix/sdk-runtime/event-definition-modules';
|
|
5
|
+
|
|
6
|
+
declare function duplicateSection$1(httpClient: HttpClient): DuplicateSectionSignature;
|
|
7
7
|
interface DuplicateSectionSignature {
|
|
8
8
|
/** @param - Section id to be duplicated. */
|
|
9
9
|
(_id: string, options?: DuplicateSectionOptions | undefined): Promise<DuplicateSectionResponse>;
|
|
10
10
|
}
|
|
11
|
-
|
|
11
|
+
declare function createSection$1(httpClient: HttpClient): CreateSectionSignature;
|
|
12
12
|
interface CreateSectionSignature {
|
|
13
13
|
/**
|
|
14
14
|
* > **Note:** The Sections API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -21,7 +21,7 @@ interface CreateSectionSignature {
|
|
|
21
21
|
*/
|
|
22
22
|
(section: Section): Promise<Section>;
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
declare function bulkCreateSections$1(httpClient: HttpClient): BulkCreateSectionsSignature;
|
|
25
25
|
interface BulkCreateSectionsSignature {
|
|
26
26
|
/**
|
|
27
27
|
* > **Note:** The Section API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -31,7 +31,7 @@ interface BulkCreateSectionsSignature {
|
|
|
31
31
|
*/
|
|
32
32
|
(sections: Section[], options?: BulkCreateSectionsOptions | undefined): Promise<BulkCreateSectionsResponse>;
|
|
33
33
|
}
|
|
34
|
-
|
|
34
|
+
declare function getSection$1(httpClient: HttpClient): GetSectionSignature;
|
|
35
35
|
interface GetSectionSignature {
|
|
36
36
|
/**
|
|
37
37
|
* > **Note:** The Section API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -42,7 +42,7 @@ interface GetSectionSignature {
|
|
|
42
42
|
*/
|
|
43
43
|
(sectionId: string): Promise<Section>;
|
|
44
44
|
}
|
|
45
|
-
|
|
45
|
+
declare function listSections$1(httpClient: HttpClient): ListSectionsSignature;
|
|
46
46
|
interface ListSectionsSignature {
|
|
47
47
|
/**
|
|
48
48
|
* > **Note:** The Section API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -51,7 +51,7 @@ interface ListSectionsSignature {
|
|
|
51
51
|
*/
|
|
52
52
|
(options?: ListSectionsOptions | undefined): Promise<ListSectionsResponse>;
|
|
53
53
|
}
|
|
54
|
-
|
|
54
|
+
declare function querySections$1(httpClient: HttpClient): QuerySectionsSignature;
|
|
55
55
|
interface QuerySectionsSignature {
|
|
56
56
|
/**
|
|
57
57
|
* Creates a query to retrieve a list of sections.
|
|
@@ -70,7 +70,7 @@ interface QuerySectionsSignature {
|
|
|
70
70
|
*/
|
|
71
71
|
(): SectionsQueryBuilder;
|
|
72
72
|
}
|
|
73
|
-
|
|
73
|
+
declare function updateSection$1(httpClient: HttpClient): UpdateSectionSignature;
|
|
74
74
|
interface UpdateSectionSignature {
|
|
75
75
|
/**
|
|
76
76
|
* > **Note:** The Section API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -83,7 +83,7 @@ interface UpdateSectionSignature {
|
|
|
83
83
|
*/
|
|
84
84
|
(_id: string, section: UpdateSection): Promise<Section>;
|
|
85
85
|
}
|
|
86
|
-
|
|
86
|
+
declare function bulkUpdateSection$1(httpClient: HttpClient): BulkUpdateSectionSignature;
|
|
87
87
|
interface BulkUpdateSectionSignature {
|
|
88
88
|
/**
|
|
89
89
|
* > **Note:** The Section API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -95,7 +95,7 @@ interface BulkUpdateSectionSignature {
|
|
|
95
95
|
*/
|
|
96
96
|
(sections: MaskedSection[], options?: BulkUpdateSectionOptions | undefined): Promise<BulkUpdateSectionResponse>;
|
|
97
97
|
}
|
|
98
|
-
|
|
98
|
+
declare function deleteSection$1(httpClient: HttpClient): DeleteSectionSignature;
|
|
99
99
|
interface DeleteSectionSignature {
|
|
100
100
|
/**
|
|
101
101
|
* > **Note:** The Section API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -105,7 +105,7 @@ interface DeleteSectionSignature {
|
|
|
105
105
|
*/
|
|
106
106
|
(sectionId: string): Promise<void>;
|
|
107
107
|
}
|
|
108
|
-
|
|
108
|
+
declare function bulkDeleteSections$1(httpClient: HttpClient): BulkDeleteSectionsSignature;
|
|
109
109
|
interface BulkDeleteSectionsSignature {
|
|
110
110
|
/**
|
|
111
111
|
* > **Note:** The Section API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -115,7 +115,24 @@ interface BulkDeleteSectionsSignature {
|
|
|
115
115
|
*/
|
|
116
116
|
(ids: string[]): Promise<BulkDeleteSectionsResponse>;
|
|
117
117
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
118
|
+
|
|
119
|
+
declare const duplicateSection: MaybeContext<BuildRESTFunction<typeof duplicateSection$1> & typeof duplicateSection$1>;
|
|
120
|
+
declare const createSection: MaybeContext<BuildRESTFunction<typeof createSection$1> & typeof createSection$1>;
|
|
121
|
+
declare const bulkCreateSections: MaybeContext<BuildRESTFunction<typeof bulkCreateSections$1> & typeof bulkCreateSections$1>;
|
|
122
|
+
declare const getSection: MaybeContext<BuildRESTFunction<typeof getSection$1> & typeof getSection$1>;
|
|
123
|
+
declare const listSections: MaybeContext<BuildRESTFunction<typeof listSections$1> & typeof listSections$1>;
|
|
124
|
+
declare const querySections: MaybeContext<BuildRESTFunction<typeof querySections$1> & typeof querySections$1>;
|
|
125
|
+
declare const updateSection: MaybeContext<BuildRESTFunction<typeof updateSection$1> & typeof updateSection$1>;
|
|
126
|
+
declare const bulkUpdateSection: MaybeContext<BuildRESTFunction<typeof bulkUpdateSection$1> & typeof bulkUpdateSection$1>;
|
|
127
|
+
declare const deleteSection: MaybeContext<BuildRESTFunction<typeof deleteSection$1> & typeof deleteSection$1>;
|
|
128
|
+
declare const bulkDeleteSections: MaybeContext<BuildRESTFunction<typeof bulkDeleteSections$1> & typeof bulkDeleteSections$1>;
|
|
129
|
+
/** */
|
|
130
|
+
declare const onSectionCreated: ReturnType<typeof createEventModule<typeof publicOnSectionCreated>>;
|
|
131
|
+
/** */
|
|
132
|
+
declare const onSectionDeleted: ReturnType<typeof createEventModule<typeof publicOnSectionDeleted>>;
|
|
133
|
+
/**
|
|
134
|
+
* Triggered when a section is updated.
|
|
135
|
+
*/
|
|
136
|
+
declare const onSectionUpdated: ReturnType<typeof createEventModule<typeof publicOnSectionUpdated>>;
|
|
137
|
+
|
|
138
|
+
export { BulkCreateSectionsOptions, BulkCreateSectionsResponse, BulkDeleteSectionsResponse, BulkUpdateSectionOptions, BulkUpdateSectionResponse, DuplicateSectionOptions, DuplicateSectionResponse, ListSectionsOptions, ListSectionsResponse, MaskedSection, Section, SectionsQueryBuilder, UpdateSection, bulkCreateSections, bulkDeleteSections, bulkUpdateSection, createSection, deleteSection, duplicateSection, getSection, listSections, onSectionCreated, onSectionDeleted, onSectionUpdated, querySections, updateSection };
|