@wix/auto_sdk_restaurants_items 1.0.74 → 1.0.75
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 +2 -2
- package/build/cjs/index.js +7 -9
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +7 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -1
- package/build/cjs/{restaurants-menus-v1-item-items.universal-Cc8NOOD5.d.ts → restaurants-menus-v1-item-items.universal-pFg1oZNF.d.ts} +6 -4
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +5 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +5 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -1
- package/build/es/{restaurants-menus-v1-item-items.universal-Cc8NOOD5.d.mts → restaurants-menus-v1-item-items.universal-pFg1oZNF.d.mts} +6 -4
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +7 -9
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +7 -9
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1 -1
- package/build/internal/cjs/{restaurants-menus-v1-item-items.universal-Cc8NOOD5.d.ts → restaurants-menus-v1-item-items.universal-pFg1oZNF.d.ts} +6 -4
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +5 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +5 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1 -1
- package/build/internal/es/{restaurants-menus-v1-item-items.universal-Cc8NOOD5.d.mts → restaurants-menus-v1-item-items.universal-pFg1oZNF.d.mts} +6 -4
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { D as DuplicateItemOptions, a as DuplicateItemResponse, I as Item, B as BulkCreateItemsOptions, b as BulkCreateItemsResponse, L as ListItemsOptions, c as ListItemsResponse, d as ItemSearch, S as SearchItemsResponse, C as CountItemsOptions, e as CountItemsResponse, f as CountItemsApplicationErrors, U as UpdateItem, M as MaskedItem, g as BulkUpdateItemOptions, h as BulkUpdateItemResponse, i as BulkDeleteItemsResponse, j as ItemCreatedEnvelope, k as ItemDeletedEnvelope, l as ItemUpdatedEnvelope, m as ItemsQueryBuilder, n as ItemQuery, t as typedQueryItems } from './restaurants-menus-v1-item-items.universal-
|
|
3
|
-
export { aI as AccountInfo, bM as AccountInfoMetadata, ai as ActionEvent, aq as Address, ar as AddressHint, bb as Aggregation, bi as AggregationData, bc as AggregationKindOneOf, bo as AggregationResults, bp as AggregationResultsResultOneOf, w as AggregationType,
|
|
2
|
+
import { D as DuplicateItemOptions, a as DuplicateItemResponse, I as Item, B as BulkCreateItemsOptions, b as BulkCreateItemsResponse, L as ListItemsOptions, c as ListItemsResponse, d as ItemSearch, S as SearchItemsResponse, C as CountItemsOptions, e as CountItemsResponse, f as CountItemsApplicationErrors, U as UpdateItem, M as MaskedItem, g as BulkUpdateItemOptions, h as BulkUpdateItemResponse, i as BulkDeleteItemsResponse, j as ItemCreatedEnvelope, k as ItemDeletedEnvelope, l as ItemUpdatedEnvelope, m as ItemsQueryBuilder, n as ItemQuery, t as typedQueryItems } from './restaurants-menus-v1-item-items.universal-pFg1oZNF.js';
|
|
3
|
+
export { aI as AccountInfo, bM as AccountInfoMetadata, ai as ActionEvent, aq as Address, ar as AddressHint, bb as Aggregation, bi as AggregationData, bc as AggregationKindOneOf, bo as AggregationResults, bp as AggregationResultsResultOneOf, w as AggregationType, c2 as AggregationTypeWithLiterals, aL as App, aX as ApplicationError, K as Availability, N as AvailabilityAvailabilityTypeOptionsOneOf, A as AvailabilityType, bS as AvailabilityTypeWithLiterals, Z as AvailableRange, bK as BaseEventMetadata, aY as BulkActionMetadata, aV as BulkCreateItemResult, aU as BulkCreateItemsRequest, by as BulkDeleteItemResult, bx as BulkDeleteItemsRequest, bH as BulkItemResult, bE as BulkUpdateBusinessLocationIdsPerEntityRequest, bG as BulkUpdateBusinessLocationIdsPerEntityResponse, bB as BulkUpdateBusinessLocationIdsRequest, bC as BulkUpdateBusinessLocationIdsResponse, bD as BulkUpdateBusinessLocationIdsResponseBulkItemResult, bt as BulkUpdateItemRequest, bu as BulkUpdateItemResponseBulkItemResult, at as BusinessSchedule, ao as Categories, aA as ChangeContext, aB as ChangeContextPayloadOneOf, bz as CloneItemsRequest, bA as CloneItemsResponse, c4 as CommonQueryWithEntityContext, c5 as CommonSearchWithEntityContext, ay as ConsentPolicy, bq as CountItemsRequest, aS as CreateItemRequest, aT as CreateItemResponse, b0 as CursorPaging, b1 as CursorPagingMetadata, b4 as CursorQuery, b5 as CursorQueryPagingMethodOneOf, b9 as CursorSearch, ba as CursorSearchPagingMethodOneOf, b2 as Cursors, aP as CustomTag, q as DayOfWeek, T as DayOfWeekAvailability, bX as DayOfWeekWithLiterals, a9 as DeleteByFilterOperation, a8 as DeleteByIdsOperation, bv as DeleteItemRequest, bw as DeleteItemResponse, aR as DeleteLocationIdsFromModifierGroups, aQ as DeleteLocationIdsFromVariants, a7 as DocumentImage, a6 as DocumentPayload, a4 as DocumentUpdateOperation, ac as DomainEvent, ad as DomainEventBodyOneOf, a1 as DuplicateItemRequest, aj as Empty, E as EntitiesDayOfWeek, bT as EntitiesDayOfWeekWithLiterals, ae as EntityCreatedEvent, ah as EntityDeletedEvent, ag as EntityUpdatedEvent, o as Enum, bU as EnumWithLiterals, bL as EventMetadata, $ as ExtendedFields, a0 as ExternalReferenceInfo, aO as File, F as FulfillmentMethodType, bR as FulfillmentMethodTypeWithLiterals, as as GeoCoordinates, aZ as GetItemRequest, a_ as GetItemResponse, aG as IdentificationData, aH as IdentificationDataIdOneOf, a5 as IndexDocument, aJ as InvalidateCache, aK as InvalidateCacheGetByOneOf, bF as ItemIdLocationIds, aW as ItemMetadata, y as ItemPricingOneOf, bO as ItemQuerySpec, bP as ItemSearchSpec, bN as ItemsQueryResult, J as Label, a$ as ListItemsRequest, ap as Locale, aF as MessageEnvelope, x as Mode, c3 as ModeWithLiterals, _ as ModifierGroup, aw as Multilingual, O as OrderSettings, aM as Page, P as PlacementType, bW as PlacementTypeWithLiterals, H as PriceInfo, G as PriceVariant, z as PriceVariants, an as Properties, aC as PropertiesChange, b3 as QueryItemsRequest, b7 as QueryItemsResponse, bf as RangeAggregation, bk as RangeAggregationResult, bd as RangeBucket, bm as RangeResults, R as ResolutionMethod, bY as ResolutionMethodWithLiterals, af as RestoreInfo, bg as ScalarAggregation, bn as ScalarResult, v as ScalarType, c1 as ScalarTypeWithLiterals, bh as SearchDetails, ak as SearchIndexingNotification, b8 as SearchItemsRequest, aE as SiteCloned, aD as SiteCreated, am as SitePropertiesEvent, al as SitePropertiesNotification, u as SortDirection, c0 as SortDirectionWithLiterals, r as SortOrder, b_ as SortOrderWithLiterals, s as SortType, b$ as SortTypeWithLiterals, b6 as Sorting, av as SpecialHourPeriod, p as State, bV as StateWithLiterals, ax as SupportedLanguage, bI as SyncContentToMultilingualRequest, bJ as SyncContentToMultilingualResponse, X as TimeOfDay, V as TimeOfDayRange, au as TimePeriod, Y as TimestampRangesOptions, az as Translation, aN as URI, aa as UpdateByFilterOperation, a2 as UpdateDocumentsEvent, a3 as UpdateDocumentsEventOperationOneOf, ab as UpdateExistingOperation, br as UpdateItemRequest, bs as UpdateItemResponse, be as ValueAggregation, bj as ValueAggregationResult, bl as ValueResults, W as WebhookIdentityType, bZ as WebhookIdentityTypeWithLiterals, Q as WeeklyScheduleOptions, bQ as utils } from './restaurants-menus-v1-item-items.universal-pFg1oZNF.js';
|
|
4
4
|
|
|
5
5
|
declare function duplicateItem$1(httpClient: HttpClient): DuplicateItemSignature;
|
|
6
6
|
interface DuplicateItemSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -25,14 +25,11 @@ __export(index_exports, {
|
|
|
25
25
|
DayOfWeek: () => DayOfWeek,
|
|
26
26
|
EntitiesDayOfWeek: () => EntitiesDayOfWeek,
|
|
27
27
|
Enum: () => Enum,
|
|
28
|
-
Filter: () => Filter,
|
|
29
28
|
FulfillmentMethodType: () => FulfillmentMethodType,
|
|
30
29
|
Mode: () => Mode,
|
|
31
30
|
PlacementType: () => PlacementType,
|
|
32
|
-
QueryBuilder: () => QueryBuilder,
|
|
33
31
|
ResolutionMethod: () => ResolutionMethod,
|
|
34
32
|
ScalarType: () => ScalarType,
|
|
35
|
-
Sort: () => Sort,
|
|
36
33
|
SortDirection: () => SortDirection,
|
|
37
34
|
SortOrder: () => SortOrder,
|
|
38
35
|
SortType: () => SortType,
|
|
@@ -52,7 +49,8 @@ __export(index_exports, {
|
|
|
52
49
|
onItemUpdated: () => onItemUpdated2,
|
|
53
50
|
queryItems: () => queryItems4,
|
|
54
51
|
searchItems: () => searchItems4,
|
|
55
|
-
updateItem: () => updateItem4
|
|
52
|
+
updateItem: () => updateItem4,
|
|
53
|
+
utils: () => utils
|
|
56
54
|
});
|
|
57
55
|
module.exports = __toCommonJS(index_exports);
|
|
58
56
|
|
|
@@ -1159,7 +1157,9 @@ async function typedQueryItems(query) {
|
|
|
1159
1157
|
throw transformedError;
|
|
1160
1158
|
}
|
|
1161
1159
|
}
|
|
1162
|
-
var
|
|
1160
|
+
var utils = {
|
|
1161
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
1162
|
+
};
|
|
1163
1163
|
async function searchItems2(search) {
|
|
1164
1164
|
const { httpClient, sideEffects } = arguments[1];
|
|
1165
1165
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ search });
|
|
@@ -1596,14 +1596,11 @@ var onItemUpdated2 = (0, import_event_definition_modules.createEventModule)(onIt
|
|
|
1596
1596
|
DayOfWeek,
|
|
1597
1597
|
EntitiesDayOfWeek,
|
|
1598
1598
|
Enum,
|
|
1599
|
-
Filter,
|
|
1600
1599
|
FulfillmentMethodType,
|
|
1601
1600
|
Mode,
|
|
1602
1601
|
PlacementType,
|
|
1603
|
-
QueryBuilder,
|
|
1604
1602
|
ResolutionMethod,
|
|
1605
1603
|
ScalarType,
|
|
1606
|
-
Sort,
|
|
1607
1604
|
SortDirection,
|
|
1608
1605
|
SortOrder,
|
|
1609
1606
|
SortType,
|
|
@@ -1623,6 +1620,7 @@ var onItemUpdated2 = (0, import_event_definition_modules.createEventModule)(onIt
|
|
|
1623
1620
|
onItemUpdated,
|
|
1624
1621
|
queryItems,
|
|
1625
1622
|
searchItems,
|
|
1626
|
-
updateItem
|
|
1623
|
+
updateItem,
|
|
1624
|
+
utils
|
|
1627
1625
|
});
|
|
1628
1626
|
//# sourceMappingURL=index.js.map
|