@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.
Files changed (130) hide show
  1. package/build/{cjs/src/restaurants-menus-v1-section-sections.public.d.ts → index.d.mts} +36 -19
  2. package/build/{internal/cjs/src/restaurants-menus-v1-section-sections.public.d.ts → index.d.ts} +36 -19
  3. package/build/index.js +1118 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +1080 -0
  6. package/build/index.mjs.map +1 -0
  7. package/build/internal/{es/src/restaurants-menus-v1-section-sections.public.d.ts → index.d.mts} +36 -19
  8. package/build/{es/src/restaurants-menus-v1-section-sections.public.d.ts → internal/index.d.ts} +36 -19
  9. package/build/internal/index.js +1118 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +1080 -0
  12. package/build/internal/index.mjs.map +1 -0
  13. package/build/internal/meta.d.mts +357 -0
  14. package/build/internal/meta.d.ts +357 -0
  15. package/build/internal/meta.js +706 -0
  16. package/build/internal/meta.js.map +1 -0
  17. package/build/internal/meta.mjs +670 -0
  18. package/build/internal/meta.mjs.map +1 -0
  19. package/build/internal/{cjs/src/restaurants-menus-v1-section-sections.universal.d.ts → restaurants-menus-v1-section-sections.universal-BZUvATJu.d.mts} +79 -307
  20. package/build/internal/{es/src/restaurants-menus-v1-section-sections.universal.d.ts → restaurants-menus-v1-section-sections.universal-BZUvATJu.d.ts} +79 -307
  21. package/build/meta.d.mts +357 -0
  22. package/build/meta.d.ts +357 -0
  23. package/build/meta.js +706 -0
  24. package/build/meta.js.map +1 -0
  25. package/build/meta.mjs +670 -0
  26. package/build/meta.mjs.map +1 -0
  27. package/build/{cjs/src/restaurants-menus-v1-section-sections.universal.d.ts → restaurants-menus-v1-section-sections.universal-BZUvATJu.d.mts} +79 -307
  28. package/build/{es/src/restaurants-menus-v1-section-sections.universal.d.ts → restaurants-menus-v1-section-sections.universal-BZUvATJu.d.ts} +79 -307
  29. package/package.json +13 -12
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/restaurants-menus-v1-section-sections.context.d.ts +0 -26
  40. package/build/cjs/src/restaurants-menus-v1-section-sections.context.js +0 -31
  41. package/build/cjs/src/restaurants-menus-v1-section-sections.context.js.map +0 -1
  42. package/build/cjs/src/restaurants-menus-v1-section-sections.http.d.ts +0 -72
  43. package/build/cjs/src/restaurants-menus-v1-section-sections.http.js +0 -529
  44. package/build/cjs/src/restaurants-menus-v1-section-sections.http.js.map +0 -1
  45. package/build/cjs/src/restaurants-menus-v1-section-sections.meta.d.ts +0 -30
  46. package/build/cjs/src/restaurants-menus-v1-section-sections.meta.js +0 -218
  47. package/build/cjs/src/restaurants-menus-v1-section-sections.meta.js.map +0 -1
  48. package/build/cjs/src/restaurants-menus-v1-section-sections.public.js +0 -125
  49. package/build/cjs/src/restaurants-menus-v1-section-sections.public.js.map +0 -1
  50. package/build/cjs/src/restaurants-menus-v1-section-sections.types.d.ts +0 -610
  51. package/build/cjs/src/restaurants-menus-v1-section-sections.types.js +0 -17
  52. package/build/cjs/src/restaurants-menus-v1-section-sections.types.js.map +0 -1
  53. package/build/cjs/src/restaurants-menus-v1-section-sections.universal.js +0 -587
  54. package/build/cjs/src/restaurants-menus-v1-section-sections.universal.js.map +0 -1
  55. package/build/es/index.d.ts +0 -1
  56. package/build/es/index.js +0 -2
  57. package/build/es/index.js.map +0 -1
  58. package/build/es/index.typings.d.ts +0 -1
  59. package/build/es/index.typings.js +0 -2
  60. package/build/es/index.typings.js.map +0 -1
  61. package/build/es/meta.d.ts +0 -1
  62. package/build/es/meta.js +0 -2
  63. package/build/es/meta.js.map +0 -1
  64. package/build/es/package.json +0 -3
  65. package/build/es/src/restaurants-menus-v1-section-sections.context.d.ts +0 -26
  66. package/build/es/src/restaurants-menus-v1-section-sections.context.js +0 -26
  67. package/build/es/src/restaurants-menus-v1-section-sections.context.js.map +0 -1
  68. package/build/es/src/restaurants-menus-v1-section-sections.http.d.ts +0 -72
  69. package/build/es/src/restaurants-menus-v1-section-sections.http.js +0 -516
  70. package/build/es/src/restaurants-menus-v1-section-sections.http.js.map +0 -1
  71. package/build/es/src/restaurants-menus-v1-section-sections.meta.d.ts +0 -30
  72. package/build/es/src/restaurants-menus-v1-section-sections.meta.js +0 -182
  73. package/build/es/src/restaurants-menus-v1-section-sections.meta.js.map +0 -1
  74. package/build/es/src/restaurants-menus-v1-section-sections.public.js +0 -110
  75. package/build/es/src/restaurants-menus-v1-section-sections.public.js.map +0 -1
  76. package/build/es/src/restaurants-menus-v1-section-sections.types.d.ts +0 -610
  77. package/build/es/src/restaurants-menus-v1-section-sections.types.js +0 -14
  78. package/build/es/src/restaurants-menus-v1-section-sections.types.js.map +0 -1
  79. package/build/es/src/restaurants-menus-v1-section-sections.universal.js +0 -551
  80. package/build/es/src/restaurants-menus-v1-section-sections.universal.js.map +0 -1
  81. package/build/internal/cjs/index.d.ts +0 -1
  82. package/build/internal/cjs/index.js +0 -18
  83. package/build/internal/cjs/index.js.map +0 -1
  84. package/build/internal/cjs/index.typings.d.ts +0 -1
  85. package/build/internal/cjs/index.typings.js +0 -18
  86. package/build/internal/cjs/index.typings.js.map +0 -1
  87. package/build/internal/cjs/meta.d.ts +0 -1
  88. package/build/internal/cjs/meta.js +0 -18
  89. package/build/internal/cjs/meta.js.map +0 -1
  90. package/build/internal/cjs/src/restaurants-menus-v1-section-sections.context.d.ts +0 -26
  91. package/build/internal/cjs/src/restaurants-menus-v1-section-sections.context.js +0 -31
  92. package/build/internal/cjs/src/restaurants-menus-v1-section-sections.context.js.map +0 -1
  93. package/build/internal/cjs/src/restaurants-menus-v1-section-sections.http.d.ts +0 -72
  94. package/build/internal/cjs/src/restaurants-menus-v1-section-sections.http.js +0 -529
  95. package/build/internal/cjs/src/restaurants-menus-v1-section-sections.http.js.map +0 -1
  96. package/build/internal/cjs/src/restaurants-menus-v1-section-sections.meta.d.ts +0 -30
  97. package/build/internal/cjs/src/restaurants-menus-v1-section-sections.meta.js +0 -218
  98. package/build/internal/cjs/src/restaurants-menus-v1-section-sections.meta.js.map +0 -1
  99. package/build/internal/cjs/src/restaurants-menus-v1-section-sections.public.js +0 -125
  100. package/build/internal/cjs/src/restaurants-menus-v1-section-sections.public.js.map +0 -1
  101. package/build/internal/cjs/src/restaurants-menus-v1-section-sections.types.d.ts +0 -610
  102. package/build/internal/cjs/src/restaurants-menus-v1-section-sections.types.js +0 -17
  103. package/build/internal/cjs/src/restaurants-menus-v1-section-sections.types.js.map +0 -1
  104. package/build/internal/cjs/src/restaurants-menus-v1-section-sections.universal.js +0 -587
  105. package/build/internal/cjs/src/restaurants-menus-v1-section-sections.universal.js.map +0 -1
  106. package/build/internal/es/index.d.ts +0 -1
  107. package/build/internal/es/index.js +0 -2
  108. package/build/internal/es/index.js.map +0 -1
  109. package/build/internal/es/index.typings.d.ts +0 -1
  110. package/build/internal/es/index.typings.js +0 -2
  111. package/build/internal/es/index.typings.js.map +0 -1
  112. package/build/internal/es/meta.d.ts +0 -1
  113. package/build/internal/es/meta.js +0 -2
  114. package/build/internal/es/meta.js.map +0 -1
  115. package/build/internal/es/src/restaurants-menus-v1-section-sections.context.d.ts +0 -26
  116. package/build/internal/es/src/restaurants-menus-v1-section-sections.context.js +0 -26
  117. package/build/internal/es/src/restaurants-menus-v1-section-sections.context.js.map +0 -1
  118. package/build/internal/es/src/restaurants-menus-v1-section-sections.http.d.ts +0 -72
  119. package/build/internal/es/src/restaurants-menus-v1-section-sections.http.js +0 -516
  120. package/build/internal/es/src/restaurants-menus-v1-section-sections.http.js.map +0 -1
  121. package/build/internal/es/src/restaurants-menus-v1-section-sections.meta.d.ts +0 -30
  122. package/build/internal/es/src/restaurants-menus-v1-section-sections.meta.js +0 -182
  123. package/build/internal/es/src/restaurants-menus-v1-section-sections.meta.js.map +0 -1
  124. package/build/internal/es/src/restaurants-menus-v1-section-sections.public.js +0 -110
  125. package/build/internal/es/src/restaurants-menus-v1-section-sections.public.js.map +0 -1
  126. package/build/internal/es/src/restaurants-menus-v1-section-sections.types.d.ts +0 -610
  127. package/build/internal/es/src/restaurants-menus-v1-section-sections.types.js +0 -14
  128. package/build/internal/es/src/restaurants-menus-v1-section-sections.types.js.map +0 -1
  129. package/build/internal/es/src/restaurants-menus-v1-section-sections.universal.js +0 -551
  130. package/build/internal/es/src/restaurants-menus-v1-section-sections.universal.js.map +0 -1
@@ -1,14 +1,14 @@
1
- import { EventDefinition, HttpClient } from '@wix/sdk-types';
2
- import { BulkCreateSectionsOptions, BulkCreateSectionsResponse, BulkDeleteSectionsResponse, BulkUpdateSectionOptions, BulkUpdateSectionResponse, DuplicateSectionOptions, DuplicateSectionResponse, ListSectionsOptions, ListSectionsResponse, MaskedSection, Section, SectionCreatedEnvelope, SectionDeletedEnvelope, SectionUpdatedEnvelope, SectionsQueryBuilder, UpdateSection } from './restaurants-menus-v1-section-sections.universal.js';
3
- export declare const __metadata: {
4
- PACKAGE_NAME: string;
5
- };
6
- export declare function duplicateSection(httpClient: HttpClient): DuplicateSectionSignature;
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
- export declare function createSection(httpClient: HttpClient): CreateSectionSignature;
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
- export declare function bulkCreateSections(httpClient: HttpClient): BulkCreateSectionsSignature;
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
- export declare function getSection(httpClient: HttpClient): GetSectionSignature;
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
- export declare function listSections(httpClient: HttpClient): ListSectionsSignature;
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
- export declare function querySections(httpClient: HttpClient): QuerySectionsSignature;
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
- export declare function updateSection(httpClient: HttpClient): UpdateSectionSignature;
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
- export declare function bulkUpdateSection(httpClient: HttpClient): BulkUpdateSectionSignature;
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
- export declare function deleteSection(httpClient: HttpClient): DeleteSectionSignature;
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
- export declare function bulkDeleteSections(httpClient: HttpClient): BulkDeleteSectionsSignature;
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
- export declare const onSectionCreated: EventDefinition<SectionCreatedEnvelope, "wix.restaurants.menus.v1.section_created">;
119
- export declare const onSectionDeleted: EventDefinition<SectionDeletedEnvelope, "wix.restaurants.menus.v1.section_deleted">;
120
- export declare const onSectionUpdated: EventDefinition<SectionUpdatedEnvelope, "wix.restaurants.menus.v1.section_updated">;
121
- export { ActionEvent, App, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkCreateSectionResult, BulkCreateSectionsOptions, BulkCreateSectionsRequest, BulkCreateSectionsResponse, BulkDeleteSectionResult, BulkDeleteSectionsRequest, BulkDeleteSectionsResponse, BulkItemResult, BulkSectionResult, BulkUpdateBusinessLocationIdRequest, BulkUpdateBusinessLocationIdResponse, BulkUpdateSectionOptions, BulkUpdateSectionRequest, BulkUpdateSectionResponse, CloneSectionsRequest, CloneSectionsResponse, CreateSectionRequest, CreateSectionResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteLocationIdFromItems, DeleteSectionRequest, DeleteSectionResponse, DomainEvent, DomainEventBodyOneOf, DuplicateSectionOptions, DuplicateSectionRequest, DuplicateSectionResponse, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, File, GetSectionRequest, GetSectionResponse, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, ListSectionsOptions, ListSectionsRequest, ListSectionsResponse, MaskedSection, MessageEnvelope, Page, QuerySectionsRequest, QuerySectionsResponse, RestoreInfo, Section, SectionCreatedEnvelope, SectionDeletedEnvelope, SectionUpdatedEnvelope, SectionsQueryBuilder, SectionsQueryResult, SortOrder, Sorting, URI, UpdateSection, UpdateSectionRequest, UpdateSectionResponse, WebhookIdentityType, } from './restaurants-menus-v1-section-sections.universal.js';
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 };
@@ -1,14 +1,14 @@
1
- import { EventDefinition, HttpClient } from '@wix/sdk-types';
2
- import { BulkCreateSectionsOptions, BulkCreateSectionsResponse, BulkDeleteSectionsResponse, BulkUpdateSectionOptions, BulkUpdateSectionResponse, DuplicateSectionOptions, DuplicateSectionResponse, ListSectionsOptions, ListSectionsResponse, MaskedSection, Section, SectionCreatedEnvelope, SectionDeletedEnvelope, SectionUpdatedEnvelope, SectionsQueryBuilder, UpdateSection } from './restaurants-menus-v1-section-sections.universal.js';
3
- export declare const __metadata: {
4
- PACKAGE_NAME: string;
5
- };
6
- export declare function duplicateSection(httpClient: HttpClient): DuplicateSectionSignature;
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
- export declare function createSection(httpClient: HttpClient): CreateSectionSignature;
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
- export declare function bulkCreateSections(httpClient: HttpClient): BulkCreateSectionsSignature;
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
- export declare function getSection(httpClient: HttpClient): GetSectionSignature;
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
- export declare function listSections(httpClient: HttpClient): ListSectionsSignature;
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
- export declare function querySections(httpClient: HttpClient): QuerySectionsSignature;
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
- export declare function updateSection(httpClient: HttpClient): UpdateSectionSignature;
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
- export declare function bulkUpdateSection(httpClient: HttpClient): BulkUpdateSectionSignature;
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
- export declare function deleteSection(httpClient: HttpClient): DeleteSectionSignature;
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
- export declare function bulkDeleteSections(httpClient: HttpClient): BulkDeleteSectionsSignature;
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
- export declare const onSectionCreated: EventDefinition<SectionCreatedEnvelope, "wix.restaurants.menus.v1.section_created">;
119
- export declare const onSectionDeleted: EventDefinition<SectionDeletedEnvelope, "wix.restaurants.menus.v1.section_deleted">;
120
- export declare const onSectionUpdated: EventDefinition<SectionUpdatedEnvelope, "wix.restaurants.menus.v1.section_updated">;
121
- export { ActionEvent, App, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkCreateSectionResult, BulkCreateSectionsOptions, BulkCreateSectionsRequest, BulkCreateSectionsResponse, BulkDeleteSectionResult, BulkDeleteSectionsRequest, BulkDeleteSectionsResponse, BulkItemResult, BulkSectionResult, BulkUpdateBusinessLocationIdRequest, BulkUpdateBusinessLocationIdResponse, BulkUpdateSectionOptions, BulkUpdateSectionRequest, BulkUpdateSectionResponse, CloneSectionsRequest, CloneSectionsResponse, CreateSectionRequest, CreateSectionResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteLocationIdFromItems, DeleteSectionRequest, DeleteSectionResponse, DomainEvent, DomainEventBodyOneOf, DuplicateSectionOptions, DuplicateSectionRequest, DuplicateSectionResponse, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, File, GetSectionRequest, GetSectionResponse, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, ListSectionsOptions, ListSectionsRequest, ListSectionsResponse, MaskedSection, MessageEnvelope, Page, QuerySectionsRequest, QuerySectionsResponse, RestoreInfo, Section, SectionCreatedEnvelope, SectionDeletedEnvelope, SectionUpdatedEnvelope, SectionsQueryBuilder, SectionsQueryResult, SortOrder, Sorting, URI, UpdateSection, UpdateSectionRequest, UpdateSectionResponse, WebhookIdentityType, } from './restaurants-menus-v1-section-sections.universal.js';
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 };