@wix/auto_sdk_ecom_local-delivery-options 1.0.40 → 1.0.41
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 +1 -1
- package/build/cjs/index.js +8 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +5 -1
- package/build/cjs/index.typings.js +8 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +5 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +5 -1
- package/build/es/index.typings.mjs +5 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +8 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +5 -1
- package/build/internal/cjs/index.typings.js +8 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +5 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +5 -1
- package/build/internal/es/index.typings.mjs +5 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +4 -4
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { LocalDeliveryOption, CreateLocalDeliveryOptionApplicationErrors, GetLocalDeliveryOptionOptions, ListLocalDeliveryOptionsResponse, UpdateLocalDeliveryOption, DeleteLocalDeliveryOptionOptions, BulkCreateLocalDeliveryOptionResponse, BulkCreateLocalDeliveryOptionApplicationErrors, BulkUpdateLocalDeliveryOptionResponse, AddDeliveryRegionOptions, AddDeliveryRegionResponse, RemoveDeliveryRegionOptions, RemoveDeliveryRegionResponse, LocalDeliveryOptionsQueryBuilder, LocalDeliveryOptionQuery, typedQueryLocalDeliveryOptions } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, ActionEvent, AddDeliveryRegionRequest, AddressLocation, BulkCreateLocalDeliveryOptionRequest, BulkDeleteLocalDeliveryOptionRequest, BulkDeleteLocalDeliveryOptionResponse, BulkUpdateLocalDeliveryOptionRequest, CityConfig, CityItem, CommonQueryWithEntityContext, Condition, ConditionType, ConditionTypeWithLiterals, ConditionalRates, CreateLocalDeliveryOptionRequest, CreateLocalDeliveryOptionResponse, CursorPaging, CursorPagingMetadata, Cursors, CustomAreaConfig, DayOfWeek, DayOfWeekWithLiterals, DaySlot, Days, DeleteLocalDeliveryOptionRequest, DeleteLocalDeliveryOptionResponse, Destination, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, GetLocalDeliveryOptionRequest, GetLocalDeliveryOptionResponse, IdentificationData, IdentificationDataIdOneOf, LengthUnit, LengthUnitWithLiterals, ListLocalDeliveryOptionsRequest, LocalDeliveryAddress, LocalDeliveryOptionConfigOneOf, LocalDeliveryOptionError, LocalDeliveryOptionQuerySpec, LocalDeliveryOptionsQueryResult, LogicalOperator, LogicalOperatorWithLiterals, MessageEnvelope, Paging, QueryLocalDeliveryOptionsRequest, QueryLocalDeliveryOptionsResponse, QueryV2, QueryV2PagingMethodOneOf, RadiusConfig, RemoveDeliveryRegionRequest, RestoreInfo, ScheduledDelivery, SortOrder, SortOrderWithLiterals, Sorting, TimeOfDay, TimePoint, TimeSlot, TimeWindow, UpdateLocalDeliveryOptionRequest, UpdateLocalDeliveryOptionResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, ZipCodeConfig } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, ActionEvent, AddDeliveryRegionRequest, AddressLocation, BulkCreateLocalDeliveryOptionRequest, BulkDeleteLocalDeliveryOptionRequest, BulkDeleteLocalDeliveryOptionResponse, BulkUpdateLocalDeliveryOptionRequest, CityConfig, CityItem, CommonQueryWithEntityContext, Condition, ConditionType, ConditionTypeWithLiterals, ConditionalRates, CreateLocalDeliveryOptionRequest, CreateLocalDeliveryOptionResponse, CursorPaging, CursorPagingMetadata, Cursors, CustomAreaConfig, DayOfWeek, DayOfWeekWithLiterals, DaySlot, Days, DeleteLocalDeliveryOptionRequest, DeleteLocalDeliveryOptionResponse, Destination, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Filter, GetLocalDeliveryOptionRequest, GetLocalDeliveryOptionResponse, IdentificationData, IdentificationDataIdOneOf, LengthUnit, LengthUnitWithLiterals, ListLocalDeliveryOptionsRequest, LocalDeliveryAddress, LocalDeliveryOptionConfigOneOf, LocalDeliveryOptionError, LocalDeliveryOptionQuerySpec, LocalDeliveryOptionsQueryResult, LogicalOperator, LogicalOperatorWithLiterals, MessageEnvelope, Paging, QueryBuilder, QueryLocalDeliveryOptionsRequest, QueryLocalDeliveryOptionsResponse, QueryV2, QueryV2PagingMethodOneOf, RadiusConfig, RemoveDeliveryRegionRequest, RestoreInfo, ScheduledDelivery, Sort, SortOrder, SortOrderWithLiterals, Sorting, TimeOfDay, TimePoint, TimeSlot, TimeWindow, UpdateLocalDeliveryOptionRequest, UpdateLocalDeliveryOptionResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, ZipCodeConfig } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createLocalDeliveryOption$1(httpClient: HttpClient): CreateLocalDeliveryOptionSignature;
|
|
6
6
|
interface CreateLocalDeliveryOptionSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -22,8 +22,11 @@ var index_exports = {};
|
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
ConditionType: () => ConditionType,
|
|
24
24
|
DayOfWeek: () => DayOfWeek,
|
|
25
|
+
Filter: () => Filter,
|
|
25
26
|
LengthUnit: () => LengthUnit,
|
|
26
27
|
LogicalOperator: () => LogicalOperator,
|
|
28
|
+
QueryBuilder: () => QueryBuilder,
|
|
29
|
+
Sort: () => Sort,
|
|
27
30
|
SortOrder: () => SortOrder,
|
|
28
31
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
29
32
|
addDeliveryRegion: () => addDeliveryRegion4,
|
|
@@ -679,6 +682,7 @@ function removeDeliveryRegion(payload) {
|
|
|
679
682
|
var import_address = require("@wix/sdk-runtime/transformations/address");
|
|
680
683
|
var import_address2 = require("@wix/sdk-runtime/transformations/address");
|
|
681
684
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
685
|
+
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
682
686
|
var LengthUnit = /* @__PURE__ */ ((LengthUnit2) => {
|
|
683
687
|
LengthUnit2["UNSPECIFIED_LENGTH_UNIT"] = "UNSPECIFIED_LENGTH_UNIT";
|
|
684
688
|
LengthUnit2["KM"] = "KM";
|
|
@@ -914,6 +918,7 @@ async function typedQueryLocalDeliveryOptions(query) {
|
|
|
914
918
|
throw transformedError;
|
|
915
919
|
}
|
|
916
920
|
}
|
|
921
|
+
var { QueryBuilder, Filter, Sort } = (0, import_query_builder_utils.createQueryUtils)();
|
|
917
922
|
async function updateLocalDeliveryOption2(_id, localDeliveryOption) {
|
|
918
923
|
const { httpClient, sideEffects } = arguments[2];
|
|
919
924
|
const payload = (0, import_transform_paths2.transformPaths)(
|
|
@@ -1286,8 +1291,11 @@ var queryLocalDeliveryOptions4 = /* @__PURE__ */ (0, import_rest_modules3.create
|
|
|
1286
1291
|
0 && (module.exports = {
|
|
1287
1292
|
ConditionType,
|
|
1288
1293
|
DayOfWeek,
|
|
1294
|
+
Filter,
|
|
1289
1295
|
LengthUnit,
|
|
1290
1296
|
LogicalOperator,
|
|
1297
|
+
QueryBuilder,
|
|
1298
|
+
Sort,
|
|
1291
1299
|
SortOrder,
|
|
1292
1300
|
WebhookIdentityType,
|
|
1293
1301
|
addDeliveryRegion,
|