@wix/auto_sdk_ecom_local-delivery-options 1.0.41 → 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 +7 -9
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +6 -4
- package/build/cjs/index.typings.js +7 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +5 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +6 -4
- package/build/es/index.typings.mjs +5 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- 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 +6 -4
- package/build/internal/cjs/index.typings.js +7 -9
- 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 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +6 -4
- package/build/internal/es/index.typings.mjs +5 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
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,
|
|
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
|
@@ -22,11 +22,8 @@ var index_exports = {};
|
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
ConditionType: () => ConditionType,
|
|
24
24
|
DayOfWeek: () => DayOfWeek,
|
|
25
|
-
Filter: () => Filter,
|
|
26
25
|
LengthUnit: () => LengthUnit,
|
|
27
26
|
LogicalOperator: () => LogicalOperator,
|
|
28
|
-
QueryBuilder: () => QueryBuilder,
|
|
29
|
-
Sort: () => Sort,
|
|
30
27
|
SortOrder: () => SortOrder,
|
|
31
28
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
32
29
|
addDeliveryRegion: () => addDeliveryRegion4,
|
|
@@ -39,7 +36,8 @@ __export(index_exports, {
|
|
|
39
36
|
listLocalDeliveryOptions: () => listLocalDeliveryOptions4,
|
|
40
37
|
queryLocalDeliveryOptions: () => queryLocalDeliveryOptions4,
|
|
41
38
|
removeDeliveryRegion: () => removeDeliveryRegion4,
|
|
42
|
-
updateLocalDeliveryOption: () => updateLocalDeliveryOption4
|
|
39
|
+
updateLocalDeliveryOption: () => updateLocalDeliveryOption4,
|
|
40
|
+
utils: () => utils
|
|
43
41
|
});
|
|
44
42
|
module.exports = __toCommonJS(index_exports);
|
|
45
43
|
|
|
@@ -918,7 +916,9 @@ async function typedQueryLocalDeliveryOptions(query) {
|
|
|
918
916
|
throw transformedError;
|
|
919
917
|
}
|
|
920
918
|
}
|
|
921
|
-
var
|
|
919
|
+
var utils = {
|
|
920
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
921
|
+
};
|
|
922
922
|
async function updateLocalDeliveryOption2(_id, localDeliveryOption) {
|
|
923
923
|
const { httpClient, sideEffects } = arguments[2];
|
|
924
924
|
const payload = (0, import_transform_paths2.transformPaths)(
|
|
@@ -1291,11 +1291,8 @@ var queryLocalDeliveryOptions4 = /* @__PURE__ */ (0, import_rest_modules3.create
|
|
|
1291
1291
|
0 && (module.exports = {
|
|
1292
1292
|
ConditionType,
|
|
1293
1293
|
DayOfWeek,
|
|
1294
|
-
Filter,
|
|
1295
1294
|
LengthUnit,
|
|
1296
1295
|
LogicalOperator,
|
|
1297
|
-
QueryBuilder,
|
|
1298
|
-
Sort,
|
|
1299
1296
|
SortOrder,
|
|
1300
1297
|
WebhookIdentityType,
|
|
1301
1298
|
addDeliveryRegion,
|
|
@@ -1308,6 +1305,7 @@ var queryLocalDeliveryOptions4 = /* @__PURE__ */ (0, import_rest_modules3.create
|
|
|
1308
1305
|
listLocalDeliveryOptions,
|
|
1309
1306
|
queryLocalDeliveryOptions,
|
|
1310
1307
|
removeDeliveryRegion,
|
|
1311
|
-
updateLocalDeliveryOption
|
|
1308
|
+
updateLocalDeliveryOption,
|
|
1309
|
+
utils
|
|
1312
1310
|
});
|
|
1313
1311
|
//# sourceMappingURL=index.js.map
|