@wix/auto_sdk_restaurants_sections 1.0.68 → 1.0.69
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 +27 -9
- package/build/cjs/index.js +640 -32
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +618 -10
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +27 -9
- package/build/es/index.mjs +630 -32
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +608 -10
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +27 -9
- package/build/internal/cjs/index.js +640 -32
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +618 -10
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +27 -9
- package/build/internal/es/index.mjs +630 -32
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +608 -10
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -2,7 +2,9 @@ import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTF
|
|
|
2
2
|
import { DuplicateSectionOptions, DuplicateSectionResponse, Section, BulkCreateSectionsOptions, BulkCreateSectionsResponse, ListSectionsOptions, ListSectionsResponse, UpdateSection, MaskedSection, BulkUpdateSectionOptions, BulkUpdateSectionResponse, BulkDeleteSectionsResponse, SectionCreatedEnvelope, SectionDeletedEnvelope, SectionUpdatedEnvelope, SectionsQueryBuilder, SectionQuery, typedQuerySections } from './index.typings.js';
|
|
3
3
|
export { AccountInfo, AccountInfoMetadata, ActionEvent, App, ApplicationError, Availability, AvailabilityAvailabilityTypeOptionsOneOf, AvailabilityType, AvailabilityTypeWithLiterals, AvailableRange, BaseEventMetadata, BulkActionMetadata, BulkCreateSectionResult, BulkCreateSectionsRequest, BulkDeleteSectionResult, BulkDeleteSectionsRequest, BulkItemResult, BulkSectionResult, BulkUpdateBusinessLocationIdRequest, BulkUpdateBusinessLocationIdResponse, BulkUpdateSectionRequest, CloneSectionsRequest, CloneSectionsResponse, CommonQueryWithEntityContext, CreateSectionRequest, CreateSectionResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, DayOfWeek, DayOfWeekAvailability, DayOfWeekWithLiterals, DeleteLocationIdFromItems, DeleteSectionRequest, DeleteSectionResponse, DomainEvent, DomainEventBodyOneOf, DuplicateSectionRequest, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReferenceInfo, File, GetSectionRequest, GetSectionResponse, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, ListSectionsRequest, MessageEnvelope, OrderSettings, Page, Pages, QuerySectionsRequest, QuerySectionsResponse, RestoreInfo, SectionQuerySpec, SectionsQueryResult, SortOrder, SortOrderWithLiterals, Sorting, SyncContentToMultilingualRequest, SyncContentToMultilingualResponse, TimeOfDay, TimeOfDayRange, TimestampRangesOptions, URI, URIs, UpdateSectionRequest, UpdateSectionResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeeklyScheduleOptions, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
|
-
declare function duplicateSection$1(httpClient: HttpClient
|
|
5
|
+
declare function duplicateSection$1(httpClient: HttpClient, __options?: {
|
|
6
|
+
validateRequestSchema?: boolean;
|
|
7
|
+
}): DuplicateSectionSignature;
|
|
6
8
|
interface DuplicateSectionSignature {
|
|
7
9
|
/**
|
|
8
10
|
* Duplicates a section.
|
|
@@ -13,7 +15,9 @@ interface DuplicateSectionSignature {
|
|
|
13
15
|
*/
|
|
14
16
|
(_id: string, options?: DuplicateSectionOptions): Promise<NonNullablePaths<DuplicateSectionResponse, `sectionId`, 2>>;
|
|
15
17
|
}
|
|
16
|
-
declare function createSection$1(httpClient: HttpClient
|
|
18
|
+
declare function createSection$1(httpClient: HttpClient, __options?: {
|
|
19
|
+
validateRequestSchema?: boolean;
|
|
20
|
+
}): CreateSectionSignature;
|
|
17
21
|
interface CreateSectionSignature {
|
|
18
22
|
/**
|
|
19
23
|
* > **Note:** The Sections API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -26,7 +30,9 @@ interface CreateSectionSignature {
|
|
|
26
30
|
*/
|
|
27
31
|
(section: Section): Promise<NonNullablePaths<Section, `name` | `additionalImages` | `itemIds`, 2>>;
|
|
28
32
|
}
|
|
29
|
-
declare function bulkCreateSections$1(httpClient: HttpClient
|
|
33
|
+
declare function bulkCreateSections$1(httpClient: HttpClient, __options?: {
|
|
34
|
+
validateRequestSchema?: boolean;
|
|
35
|
+
}): BulkCreateSectionsSignature;
|
|
30
36
|
interface BulkCreateSectionsSignature {
|
|
31
37
|
/**
|
|
32
38
|
* > **Note:** The Section API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -36,7 +42,9 @@ interface BulkCreateSectionsSignature {
|
|
|
36
42
|
*/
|
|
37
43
|
(sections: Section[], options?: BulkCreateSectionsOptions): Promise<NonNullablePaths<BulkCreateSectionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.name` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
38
44
|
}
|
|
39
|
-
declare function getSection$1(httpClient: HttpClient
|
|
45
|
+
declare function getSection$1(httpClient: HttpClient, __options?: {
|
|
46
|
+
validateRequestSchema?: boolean;
|
|
47
|
+
}): GetSectionSignature;
|
|
40
48
|
interface GetSectionSignature {
|
|
41
49
|
/**
|
|
42
50
|
* > **Note:** The Section API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -47,7 +55,9 @@ interface GetSectionSignature {
|
|
|
47
55
|
*/
|
|
48
56
|
(sectionId: string): Promise<NonNullablePaths<Section, `name` | `additionalImages` | `itemIds`, 2>>;
|
|
49
57
|
}
|
|
50
|
-
declare function listSections$1(httpClient: HttpClient
|
|
58
|
+
declare function listSections$1(httpClient: HttpClient, __options?: {
|
|
59
|
+
validateRequestSchema?: boolean;
|
|
60
|
+
}): ListSectionsSignature;
|
|
51
61
|
interface ListSectionsSignature {
|
|
52
62
|
/**
|
|
53
63
|
* > **Note:** The Section API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -56,7 +66,9 @@ interface ListSectionsSignature {
|
|
|
56
66
|
*/
|
|
57
67
|
(options?: ListSectionsOptions): Promise<NonNullablePaths<ListSectionsResponse, `sections` | `sections.${number}.name`, 4>>;
|
|
58
68
|
}
|
|
59
|
-
declare function updateSection$1(httpClient: HttpClient
|
|
69
|
+
declare function updateSection$1(httpClient: HttpClient, __options?: {
|
|
70
|
+
validateRequestSchema?: boolean;
|
|
71
|
+
}): UpdateSectionSignature;
|
|
60
72
|
interface UpdateSectionSignature {
|
|
61
73
|
/**
|
|
62
74
|
* > **Note:** The Section API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -69,7 +81,9 @@ interface UpdateSectionSignature {
|
|
|
69
81
|
*/
|
|
70
82
|
(_id: string, section: NonNullablePaths<UpdateSection, `revision`, 2>): Promise<NonNullablePaths<Section, `name` | `additionalImages` | `itemIds`, 2>>;
|
|
71
83
|
}
|
|
72
|
-
declare function bulkUpdateSection$1(httpClient: HttpClient
|
|
84
|
+
declare function bulkUpdateSection$1(httpClient: HttpClient, __options?: {
|
|
85
|
+
validateRequestSchema?: boolean;
|
|
86
|
+
}): BulkUpdateSectionSignature;
|
|
73
87
|
interface BulkUpdateSectionSignature {
|
|
74
88
|
/**
|
|
75
89
|
* > **Note:** The Section API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -81,7 +95,9 @@ interface BulkUpdateSectionSignature {
|
|
|
81
95
|
*/
|
|
82
96
|
(sections: NonNullablePaths<MaskedSection, `section._id` | `section.revision`, 3>[], options?: BulkUpdateSectionOptions): Promise<NonNullablePaths<BulkUpdateSectionResponse, `results` | `results.${number}.sectionMetadata.originalIndex` | `results.${number}.sectionMetadata.success` | `results.${number}.sectionMetadata.error.code` | `results.${number}.sectionMetadata.error.description` | `results.${number}.section.name` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
83
97
|
}
|
|
84
|
-
declare function deleteSection$1(httpClient: HttpClient
|
|
98
|
+
declare function deleteSection$1(httpClient: HttpClient, __options?: {
|
|
99
|
+
validateRequestSchema?: boolean;
|
|
100
|
+
}): DeleteSectionSignature;
|
|
85
101
|
interface DeleteSectionSignature {
|
|
86
102
|
/**
|
|
87
103
|
* > **Note:** The Section API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -91,7 +107,9 @@ interface DeleteSectionSignature {
|
|
|
91
107
|
*/
|
|
92
108
|
(sectionId: string): Promise<void>;
|
|
93
109
|
}
|
|
94
|
-
declare function bulkDeleteSections$1(httpClient: HttpClient
|
|
110
|
+
declare function bulkDeleteSections$1(httpClient: HttpClient, __options?: {
|
|
111
|
+
validateRequestSchema?: boolean;
|
|
112
|
+
}): BulkDeleteSectionsSignature;
|
|
95
113
|
interface BulkDeleteSectionsSignature {
|
|
96
114
|
/**
|
|
97
115
|
* > **Note:** The Section API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|