@wix/auto_sdk_ecom_local-delivery-options 1.0.40 → 1.0.42
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 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +7 -1
- package/build/cjs/index.typings.js +8 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +6 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +7 -1
- package/build/es/index.typings.mjs +6 -1
- 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 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +7 -1
- package/build/internal/cjs/index.typings.js +8 -2
- 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 +6 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +7 -1
- package/build/internal/es/index.typings.mjs +6 -1
- 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, 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, utils } 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
|
@@ -36,7 +36,8 @@ __export(index_exports, {
|
|
|
36
36
|
listLocalDeliveryOptions: () => listLocalDeliveryOptions4,
|
|
37
37
|
queryLocalDeliveryOptions: () => queryLocalDeliveryOptions4,
|
|
38
38
|
removeDeliveryRegion: () => removeDeliveryRegion4,
|
|
39
|
-
updateLocalDeliveryOption: () => updateLocalDeliveryOption4
|
|
39
|
+
updateLocalDeliveryOption: () => updateLocalDeliveryOption4,
|
|
40
|
+
utils: () => utils
|
|
40
41
|
});
|
|
41
42
|
module.exports = __toCommonJS(index_exports);
|
|
42
43
|
|
|
@@ -679,6 +680,7 @@ function removeDeliveryRegion(payload) {
|
|
|
679
680
|
var import_address = require("@wix/sdk-runtime/transformations/address");
|
|
680
681
|
var import_address2 = require("@wix/sdk-runtime/transformations/address");
|
|
681
682
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
683
|
+
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
682
684
|
var LengthUnit = /* @__PURE__ */ ((LengthUnit2) => {
|
|
683
685
|
LengthUnit2["UNSPECIFIED_LENGTH_UNIT"] = "UNSPECIFIED_LENGTH_UNIT";
|
|
684
686
|
LengthUnit2["KM"] = "KM";
|
|
@@ -914,6 +916,9 @@ async function typedQueryLocalDeliveryOptions(query) {
|
|
|
914
916
|
throw transformedError;
|
|
915
917
|
}
|
|
916
918
|
}
|
|
919
|
+
var utils = {
|
|
920
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
921
|
+
};
|
|
917
922
|
async function updateLocalDeliveryOption2(_id, localDeliveryOption) {
|
|
918
923
|
const { httpClient, sideEffects } = arguments[2];
|
|
919
924
|
const payload = (0, import_transform_paths2.transformPaths)(
|
|
@@ -1300,6 +1305,7 @@ var queryLocalDeliveryOptions4 = /* @__PURE__ */ (0, import_rest_modules3.create
|
|
|
1300
1305
|
listLocalDeliveryOptions,
|
|
1301
1306
|
queryLocalDeliveryOptions,
|
|
1302
1307
|
removeDeliveryRegion,
|
|
1303
|
-
updateLocalDeliveryOption
|
|
1308
|
+
updateLocalDeliveryOption,
|
|
1309
|
+
utils
|
|
1304
1310
|
});
|
|
1305
1311
|
//# sourceMappingURL=index.js.map
|