@wix/auto_sdk_ecom_shippo-configurations 1.0.57 → 1.0.59
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, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { ShippoConfiguration, CreateShippoConfigurationOptions, UpdateShippoConfiguration, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, AddDeliveryRegionOptions, AddDeliveryRegionResponse, RemoveDeliveryRegionIdentifiers, RemoveDeliveryRegionOptions, RemoveDeliveryRegionResponse, ShippoConfigurationCreatedEnvelope, ShippoConfigurationDeletedEnvelope, ShippoConfigurationUpdatedEnvelope, ShippoConfigurationsQueryBuilder, ShippoConfigurationQuery, typedQueryShippoConfigurations } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddDeliveryRegionRequest, Address, AddressLocation, BaseEventMetadata, CalculationType, CalculationTypeWithLiterals, CommonQueryWithEntityContext, CreateShippoConfigurationRequest, CreateShippoConfigurationResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteShippoConfigurationRequest, DeleteShippoConfigurationResponse, DomainEvent, DomainEventBodyOneOf, DomesticService, DomesticServiceSettings, DomesticServiceWithLiterals, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GetShippoConfigurationRequest, GetShippoConfigurationResponse, HandlingFee, IdentificationData, IdentificationDataIdOneOf, InternationalService, InternationalServiceSettings, InternationalServiceWithLiterals, MessageEnvelope, PackageDetails, PackageDimensions, PackageType, PackageTypeWithLiterals, QueryShippoConfigurationsRequest, QueryShippoConfigurationsResponse, RemoveDeliveryRegionRequest, RestoreInfo, ServiceSettings, ShippoConfigurationQuerySpec, ShippoConfigurationsQueryResult, SortOrder, SortOrderWithLiterals, Sorting, StreetAddress, UpdateExtendedFieldsRequest, UpdateShippoConfigurationRequest, UpdateShippoConfigurationResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddDeliveryRegionRequest, Address, AddressLocation, BaseEventMetadata, CalculationType, CalculationTypeWithLiterals, CommonQueryWithEntityContext, CreateShippoConfigurationRequest, CreateShippoConfigurationResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteShippoConfigurationRequest, DeleteShippoConfigurationResponse, DomainEvent, DomainEventBodyOneOf, DomesticService, DomesticServiceSettings, DomesticServiceWithLiterals, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GetShippoConfigurationRequest, GetShippoConfigurationResponse, HandlingFee, IdentificationData, IdentificationDataIdOneOf, InternationalService, InternationalServiceSettings, InternationalServiceWithLiterals, MessageEnvelope, PackageDetails, PackageDimensions, PackageType, PackageTypeWithLiterals, QueryShippoConfigurationsRequest, QueryShippoConfigurationsResponse, RemoveDeliveryRegionRequest, RestoreInfo, ServiceSettings, ShippoConfigurationQuerySpec, ShippoConfigurationsQueryResult, SortOrder, SortOrderWithLiterals, Sorting, StreetAddress, UpdateExtendedFieldsRequest, UpdateShippoConfigurationRequest, UpdateShippoConfigurationResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createShippoConfiguration$1(httpClient: HttpClient): CreateShippoConfigurationSignature;
|
|
6
6
|
interface CreateShippoConfigurationSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -36,7 +36,8 @@ __export(index_exports, {
|
|
|
36
36
|
queryShippoConfigurations: () => queryShippoConfigurations4,
|
|
37
37
|
removeDeliveryRegion: () => removeDeliveryRegion4,
|
|
38
38
|
updateExtendedFields: () => updateExtendedFields4,
|
|
39
|
-
updateShippoConfiguration: () => updateShippoConfiguration4
|
|
39
|
+
updateShippoConfiguration: () => updateShippoConfiguration4,
|
|
40
|
+
utils: () => utils
|
|
40
41
|
});
|
|
41
42
|
module.exports = __toCommonJS(index_exports);
|
|
42
43
|
|
|
@@ -425,6 +426,7 @@ function removeDeliveryRegion(payload) {
|
|
|
425
426
|
var import_address = require("@wix/sdk-runtime/transformations/address");
|
|
426
427
|
var import_address2 = require("@wix/sdk-runtime/transformations/address");
|
|
427
428
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
429
|
+
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
428
430
|
var DomesticService = /* @__PURE__ */ ((DomesticService2) => {
|
|
429
431
|
DomesticService2["UNKNOWN_DOMESTIC_SERVICE"] = "UNKNOWN_DOMESTIC_SERVICE";
|
|
430
432
|
DomesticService2["GROUND_ADVANTAGE"] = "GROUND_ADVANTAGE";
|
|
@@ -691,6 +693,9 @@ async function typedQueryShippoConfigurations(query) {
|
|
|
691
693
|
throw transformedError;
|
|
692
694
|
}
|
|
693
695
|
}
|
|
696
|
+
var utils = {
|
|
697
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
698
|
+
};
|
|
694
699
|
async function updateExtendedFields2(_id, namespace, options) {
|
|
695
700
|
const { httpClient, sideEffects } = arguments[3];
|
|
696
701
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
@@ -992,6 +997,7 @@ var onShippoConfigurationUpdated2 = (0, import_event_definition_modules.createEv
|
|
|
992
997
|
queryShippoConfigurations,
|
|
993
998
|
removeDeliveryRegion,
|
|
994
999
|
updateExtendedFields,
|
|
995
|
-
updateShippoConfiguration
|
|
1000
|
+
updateShippoConfiguration,
|
|
1001
|
+
utils
|
|
996
1002
|
});
|
|
997
1003
|
//# sourceMappingURL=index.js.map
|