@wix/auto_sdk_ecom_delivery-solutions 1.0.13 → 1.0.15
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/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.d.ts +2 -2
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js +2 -1
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js.map +1 -1
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.d.ts +1 -1
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js +2 -1
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js.map +1 -1
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.d.ts +81 -0
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js +9 -1
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js.map +1 -1
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.d.ts +81 -0
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js +9 -1
- package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js.map +1 -1
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.d.ts +2 -2
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js +1 -1
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js.map +1 -1
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.d.ts +1 -1
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js +1 -1
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js.map +1 -1
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.d.ts +81 -0
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js +8 -0
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js.map +1 -1
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.d.ts +81 -0
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js +8 -0
- package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js.map +1 -1
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.d.ts +2 -2
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js +2 -1
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js.map +1 -1
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.d.ts +1 -1
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js +2 -1
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js.map +1 -1
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.d.ts +81 -0
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js +9 -1
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js.map +1 -1
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.d.ts +81 -0
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js +9 -1
- package/build/internal/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js.map +1 -1
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.d.ts +2 -2
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js +1 -1
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js.map +1 -1
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.d.ts +1 -1
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js +1 -1
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js.map +1 -1
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.d.ts +81 -0
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js +8 -0
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js.map +1 -1
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.d.ts +81 -0
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js +8 -0
- package/build/internal/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js.map +1 -1
- package/package.json +3 -3
package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getDeliverySolutions as publicGetDeliverySolutions } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js';
|
|
2
2
|
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
3
3
|
export declare const getDeliverySolutions: MaybeContext<BuildRESTFunction<typeof publicGetDeliverySolutions> & typeof publicGetDeliverySolutions>;
|
|
4
|
-
export { SubdivisionType, VatType, WeightUnit, PickupMethod, ChargeType, RuleType, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|
|
5
|
-
export { DeliveryRatesGateway, GetDeliverySolutionsRequest, DeliverableItem, CatalogReference, PhysicalProperties, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, FullAddressContactDetails, VatId, UserPreference, ExternalReference, GetDeliverySolutionsResponse, DeliverySolution, DeliveryLogistics, PickupDetails, DeliveryTimeSlot, DeliveryCost, AdditionalCharge, DeliveryAllocation, Carrier, Region, ApplicableLineItems, DeliveryCarrierError, Details, DetailsKindOneOf, ApplicationError, ValidationError, FieldViolation, SystemError, GetDeliverySolutionsOptions, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|
|
4
|
+
export { SubdivisionType, VatType, WeightUnit, PickupMethod, ChargeType, RuleType, WebhookIdentityType, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|
|
5
|
+
export { DeliveryRatesGateway, MissingDefaultDeliveryProfileEvent, GetDeliverySolutionsRequest, DeliverableItem, CatalogReference, PhysicalProperties, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, FullAddressContactDetails, VatId, UserPreference, ExternalReference, GetDeliverySolutionsResponse, DeliverySolution, DeliveryLogistics, PickupDetails, DeliveryTimeSlot, DeliveryCost, AdditionalCharge, DeliveryAllocation, Carrier, Region, ApplicableLineItems, DeliveryCarrierError, Details, DetailsKindOneOf, ApplicationError, ValidationError, FieldViolation, SystemError, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, GetDeliverySolutionsOptions, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RuleType = exports.ChargeType = exports.PickupMethod = exports.WeightUnit = exports.VatType = exports.SubdivisionType = exports.getDeliverySolutions = void 0;
|
|
3
|
+
exports.WebhookIdentityType = exports.RuleType = exports.ChargeType = exports.PickupMethod = exports.WeightUnit = exports.VatType = exports.SubdivisionType = exports.getDeliverySolutions = void 0;
|
|
4
4
|
const gateways_ecom_v1_delivery_rates_gateway_delivery_solutions_public_js_1 = require("./gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js");
|
|
5
5
|
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
6
6
|
exports.getDeliverySolutions = (0, rest_modules_1.createRESTModule)(gateways_ecom_v1_delivery_rates_gateway_delivery_solutions_public_js_1.getDeliverySolutions);
|
|
@@ -11,4 +11,5 @@ Object.defineProperty(exports, "WeightUnit", { enumerable: true, get: function (
|
|
|
11
11
|
Object.defineProperty(exports, "PickupMethod", { enumerable: true, get: function () { return gateways_ecom_v1_delivery_rates_gateway_delivery_solutions_universal_js_1.PickupMethod; } });
|
|
12
12
|
Object.defineProperty(exports, "ChargeType", { enumerable: true, get: function () { return gateways_ecom_v1_delivery_rates_gateway_delivery_solutions_universal_js_1.ChargeType; } });
|
|
13
13
|
Object.defineProperty(exports, "RuleType", { enumerable: true, get: function () { return gateways_ecom_v1_delivery_rates_gateway_delivery_solutions_universal_js_1.RuleType; } });
|
|
14
|
+
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return gateways_ecom_v1_delivery_rates_gateway_delivery_solutions_universal_js_1.WebhookIdentityType; } });
|
|
14
15
|
//# sourceMappingURL=gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js.map
|
package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js","sourceRoot":"","sources":["../../../src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.ts"],"names":[],"mappings":";;;AAAA,iKAA4I;AAC5I,gEAAiE;AAGpD,QAAA,oBAAoB,GAGf,IAAA,+BAAgB,EAAC,2FAA0B,CAAC,CAAC;AAE/D,
|
|
1
|
+
{"version":3,"file":"gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js","sourceRoot":"","sources":["../../../src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.ts"],"names":[],"mappings":";;;AAAA,iKAA4I;AAC5I,gEAAiE;AAGpD,QAAA,oBAAoB,GAGf,IAAA,+BAAgB,EAAC,2FAA0B,CAAC,CAAC;AAE/D,qKAQmF;AAPjF,0KAAA,eAAe,OAAA;AACf,kKAAA,OAAO,OAAA;AACP,qKAAA,UAAU,OAAA;AACV,uKAAA,YAAY,OAAA;AACZ,qKAAA,UAAU,OAAA;AACV,mKAAA,QAAQ,OAAA;AACR,8KAAA,mBAAmB,OAAA"}
|
package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.d.ts
CHANGED
|
@@ -13,4 +13,4 @@ interface GetDeliverySolutionsSignature {
|
|
|
13
13
|
*/
|
|
14
14
|
(lineItems: DeliverableItem[], options?: GetDeliverySolutionsOptions | undefined): Promise<GetDeliverySolutionsResponse>;
|
|
15
15
|
}
|
|
16
|
-
export { AdditionalCharge, Address, AddressLocation, AddressStreetOneOf, ApplicableLineItems, ApplicationError, Carrier, CatalogReference, ChargeType, DeliverableItem, DeliveryAllocation, DeliveryCarrierError, DeliveryCost, DeliveryLogistics, DeliveryRatesGateway, DeliverySolution, DeliveryTimeSlot, Details, DetailsKindOneOf, ExternalReference, FieldViolation, FullAddressContactDetails, GetDeliverySolutionsOptions, GetDeliverySolutionsRequest, GetDeliverySolutionsResponse, PhysicalProperties, PickupDetails, PickupMethod, Region, RuleType, StreetAddress, Subdivision, SubdivisionType, SystemError, UserPreference, ValidationError, VatId, VatType, WeightUnit, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|
|
16
|
+
export { AdditionalCharge, Address, AddressLocation, AddressStreetOneOf, ApplicableLineItems, ApplicationError, Carrier, CatalogReference, ChargeType, DeliverableItem, DeliveryAllocation, DeliveryCarrierError, DeliveryCost, DeliveryLogistics, DeliveryRatesGateway, DeliverySolution, DeliveryTimeSlot, Details, DetailsKindOneOf, ExternalReference, FieldViolation, FullAddressContactDetails, GetDeliverySolutionsOptions, GetDeliverySolutionsRequest, GetDeliverySolutionsResponse, IdentificationData, IdentificationDataIdOneOf, MessageEnvelope, MissingDefaultDeliveryProfileEvent, PhysicalProperties, PickupDetails, PickupMethod, Region, RuleType, StreetAddress, Subdivision, SubdivisionType, SystemError, UserPreference, ValidationError, VatId, VatType, WebhookIdentityType, WeightUnit, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WeightUnit = exports.VatType = exports.SubdivisionType = exports.RuleType = exports.PickupMethod = exports.ChargeType = exports.getDeliverySolutions = exports.__metadata = void 0;
|
|
3
|
+
exports.WeightUnit = exports.WebhookIdentityType = exports.VatType = exports.SubdivisionType = exports.RuleType = exports.PickupMethod = exports.ChargeType = exports.getDeliverySolutions = exports.__metadata = void 0;
|
|
4
4
|
const gateways_ecom_v1_delivery_rates_gateway_delivery_solutions_universal_js_1 = require("./gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js");
|
|
5
5
|
exports.__metadata = { PACKAGE_NAME: '@wix/ecom' };
|
|
6
6
|
function getDeliverySolutions(httpClient) {
|
|
@@ -15,5 +15,6 @@ Object.defineProperty(exports, "PickupMethod", { enumerable: true, get: function
|
|
|
15
15
|
Object.defineProperty(exports, "RuleType", { enumerable: true, get: function () { return gateways_ecom_v1_delivery_rates_gateway_delivery_solutions_universal_js_2.RuleType; } });
|
|
16
16
|
Object.defineProperty(exports, "SubdivisionType", { enumerable: true, get: function () { return gateways_ecom_v1_delivery_rates_gateway_delivery_solutions_universal_js_2.SubdivisionType; } });
|
|
17
17
|
Object.defineProperty(exports, "VatType", { enumerable: true, get: function () { return gateways_ecom_v1_delivery_rates_gateway_delivery_solutions_universal_js_2.VatType; } });
|
|
18
|
+
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return gateways_ecom_v1_delivery_rates_gateway_delivery_solutions_universal_js_2.WebhookIdentityType; } });
|
|
18
19
|
Object.defineProperty(exports, "WeightUnit", { enumerable: true, get: function () { return gateways_ecom_v1_delivery_rates_gateway_delivery_solutions_universal_js_2.WeightUnit; } });
|
|
19
20
|
//# sourceMappingURL=gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js.map
|
package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js","sourceRoot":"","sources":["../../../src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.ts"],"names":[],"mappings":";;;AACA,uKAKmF;AAEtE,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,SAAgB,oBAAoB,CAClC,UAAsB;IAEtB,OAAO,CACL,SAA4B,EAC5B,OAGC,EACD,EAAE,CACF,IAAA,8FAA6B,EAC3B,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAhBD,oDAgBC;AAeD,
|
|
1
|
+
{"version":3,"file":"gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js","sourceRoot":"","sources":["../../../src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.ts"],"names":[],"mappings":";;;AACA,uKAKmF;AAEtE,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,SAAgB,oBAAoB,CAClC,UAAsB;IAEtB,OAAO,CACL,SAA4B,EAC5B,OAGC,EACD,EAAE,CACF,IAAA,8FAA6B,EAC3B,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAhBD,oDAgBC;AAeD,qKA6CmF;AApCjF,qKAAA,UAAU,OAAA;AAuBV,uKAAA,YAAY,OAAA;AAEZ,mKAAA,QAAQ,OAAA;AAGR,0KAAA,eAAe,OAAA;AAKf,kKAAA,OAAO,OAAA;AACP,8KAAA,mBAAmB,OAAA;AACnB,qKAAA,UAAU,OAAA"}
|
|
@@ -5,6 +5,15 @@ export interface DeliveryRatesGateway {
|
|
|
5
5
|
*/
|
|
6
6
|
id?: string | null;
|
|
7
7
|
}
|
|
8
|
+
export interface MissingDefaultDeliveryProfileEvent {
|
|
9
|
+
/**
|
|
10
|
+
* The meta site ID where the missing default delivery profile error occurred
|
|
11
|
+
* @format GUID
|
|
12
|
+
*/
|
|
13
|
+
metaSiteId?: string;
|
|
14
|
+
/** Timestamp when the error occurred */
|
|
15
|
+
occurredAt?: Date | null;
|
|
16
|
+
}
|
|
8
17
|
export interface GetDeliverySolutionsRequest {
|
|
9
18
|
/**
|
|
10
19
|
* list of items to delivery that each of them points to delivery profile and delivery rule.
|
|
@@ -546,3 +555,75 @@ export interface SystemError {
|
|
|
546
555
|
/** Error code. */
|
|
547
556
|
errorCode?: string | null;
|
|
548
557
|
}
|
|
558
|
+
export interface MessageEnvelope {
|
|
559
|
+
/**
|
|
560
|
+
* App instance ID.
|
|
561
|
+
* @format GUID
|
|
562
|
+
*/
|
|
563
|
+
instanceId?: string | null;
|
|
564
|
+
/**
|
|
565
|
+
* Event type.
|
|
566
|
+
* @maxLength 150
|
|
567
|
+
*/
|
|
568
|
+
eventType?: string;
|
|
569
|
+
/** The identification type and identity data. */
|
|
570
|
+
identity?: IdentificationData;
|
|
571
|
+
/** Stringify payload. */
|
|
572
|
+
data?: string;
|
|
573
|
+
}
|
|
574
|
+
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
575
|
+
/**
|
|
576
|
+
* ID of a site visitor that has not logged in to the site.
|
|
577
|
+
* @format GUID
|
|
578
|
+
*/
|
|
579
|
+
anonymousVisitorId?: string;
|
|
580
|
+
/**
|
|
581
|
+
* ID of a site visitor that has logged in to the site.
|
|
582
|
+
* @format GUID
|
|
583
|
+
*/
|
|
584
|
+
memberId?: string;
|
|
585
|
+
/**
|
|
586
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
587
|
+
* @format GUID
|
|
588
|
+
*/
|
|
589
|
+
wixUserId?: string;
|
|
590
|
+
/**
|
|
591
|
+
* ID of an app.
|
|
592
|
+
* @format GUID
|
|
593
|
+
*/
|
|
594
|
+
appId?: string;
|
|
595
|
+
/** @readonly */
|
|
596
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
597
|
+
}
|
|
598
|
+
/** @oneof */
|
|
599
|
+
export interface IdentificationDataIdOneOf {
|
|
600
|
+
/**
|
|
601
|
+
* ID of a site visitor that has not logged in to the site.
|
|
602
|
+
* @format GUID
|
|
603
|
+
*/
|
|
604
|
+
anonymousVisitorId?: string;
|
|
605
|
+
/**
|
|
606
|
+
* ID of a site visitor that has logged in to the site.
|
|
607
|
+
* @format GUID
|
|
608
|
+
*/
|
|
609
|
+
memberId?: string;
|
|
610
|
+
/**
|
|
611
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
612
|
+
* @format GUID
|
|
613
|
+
*/
|
|
614
|
+
wixUserId?: string;
|
|
615
|
+
/**
|
|
616
|
+
* ID of an app.
|
|
617
|
+
* @format GUID
|
|
618
|
+
*/
|
|
619
|
+
appId?: string;
|
|
620
|
+
}
|
|
621
|
+
export declare enum WebhookIdentityType {
|
|
622
|
+
UNKNOWN = "UNKNOWN",
|
|
623
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
624
|
+
MEMBER = "MEMBER",
|
|
625
|
+
WIX_USER = "WIX_USER",
|
|
626
|
+
APP = "APP"
|
|
627
|
+
}
|
|
628
|
+
/** @enumType */
|
|
629
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RuleType = exports.ChargeType = exports.PickupMethod = exports.WeightUnit = exports.VatType = exports.SubdivisionType = void 0;
|
|
3
|
+
exports.WebhookIdentityType = exports.RuleType = exports.ChargeType = exports.PickupMethod = exports.WeightUnit = exports.VatType = exports.SubdivisionType = void 0;
|
|
4
4
|
var SubdivisionType;
|
|
5
5
|
(function (SubdivisionType) {
|
|
6
6
|
SubdivisionType["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
|
|
@@ -69,4 +69,12 @@ var RuleType;
|
|
|
69
69
|
RuleType["EXACT_SIZE"] = "EXACT_SIZE";
|
|
70
70
|
RuleType["REQUIRED_ONE_OF_FIELD"] = "REQUIRED_ONE_OF_FIELD";
|
|
71
71
|
})(RuleType || (exports.RuleType = RuleType = {}));
|
|
72
|
+
var WebhookIdentityType;
|
|
73
|
+
(function (WebhookIdentityType) {
|
|
74
|
+
WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
|
|
75
|
+
WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
76
|
+
WebhookIdentityType["MEMBER"] = "MEMBER";
|
|
77
|
+
WebhookIdentityType["WIX_USER"] = "WIX_USER";
|
|
78
|
+
WebhookIdentityType["APP"] = "APP";
|
|
79
|
+
})(WebhookIdentityType || (exports.WebhookIdentityType = WebhookIdentityType = {}));
|
|
72
80
|
//# sourceMappingURL=gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js.map
|
package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js","sourceRoot":"","sources":["../../../src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js","sourceRoot":"","sources":["../../../src/gateways-ecom-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AC3B,qCAAyB,CAAA;IACzB,qCAAyB,CAAA;IACzB,mDAAuC,CAAA;IACvC,qDAAyC,CAAA;IACzC,6CAAiC,CAAA;IACjC,mDAAuC,CAAA;IACvC,iDAAqC,CAAA;IACrC,yCAA6B,CAAA;IAC7B,qCAAyB,CAAA;IACzB,2DAA+C,CAAA;AACjD,CAAC,EAtBW,QAAQ,wBAAR,QAAQ,QAsBnB;AA2GD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.d.ts
CHANGED
|
@@ -6,6 +6,15 @@ export interface DeliveryRatesGateway {
|
|
|
6
6
|
*/
|
|
7
7
|
_id?: string | null;
|
|
8
8
|
}
|
|
9
|
+
export interface MissingDefaultDeliveryProfileEvent {
|
|
10
|
+
/**
|
|
11
|
+
* The meta site ID where the missing default delivery profile error occurred
|
|
12
|
+
* @format GUID
|
|
13
|
+
*/
|
|
14
|
+
metaSiteId?: string;
|
|
15
|
+
/** Timestamp when the error occurred */
|
|
16
|
+
occurredAt?: Date | null;
|
|
17
|
+
}
|
|
9
18
|
export interface GetDeliverySolutionsRequest {
|
|
10
19
|
/**
|
|
11
20
|
* list of items to delivery that each of them points to delivery profile and delivery rule.
|
|
@@ -547,6 +556,78 @@ export interface SystemError {
|
|
|
547
556
|
/** Error code. */
|
|
548
557
|
errorCode?: string | null;
|
|
549
558
|
}
|
|
559
|
+
export interface MessageEnvelope {
|
|
560
|
+
/**
|
|
561
|
+
* App instance ID.
|
|
562
|
+
* @format GUID
|
|
563
|
+
*/
|
|
564
|
+
instanceId?: string | null;
|
|
565
|
+
/**
|
|
566
|
+
* Event type.
|
|
567
|
+
* @maxLength 150
|
|
568
|
+
*/
|
|
569
|
+
eventType?: string;
|
|
570
|
+
/** The identification type and identity data. */
|
|
571
|
+
identity?: IdentificationData;
|
|
572
|
+
/** Stringify payload. */
|
|
573
|
+
data?: string;
|
|
574
|
+
}
|
|
575
|
+
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
576
|
+
/**
|
|
577
|
+
* ID of a site visitor that has not logged in to the site.
|
|
578
|
+
* @format GUID
|
|
579
|
+
*/
|
|
580
|
+
anonymousVisitorId?: string;
|
|
581
|
+
/**
|
|
582
|
+
* ID of a site visitor that has logged in to the site.
|
|
583
|
+
* @format GUID
|
|
584
|
+
*/
|
|
585
|
+
memberId?: string;
|
|
586
|
+
/**
|
|
587
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
588
|
+
* @format GUID
|
|
589
|
+
*/
|
|
590
|
+
wixUserId?: string;
|
|
591
|
+
/**
|
|
592
|
+
* ID of an app.
|
|
593
|
+
* @format GUID
|
|
594
|
+
*/
|
|
595
|
+
appId?: string;
|
|
596
|
+
/** @readonly */
|
|
597
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
598
|
+
}
|
|
599
|
+
/** @oneof */
|
|
600
|
+
export interface IdentificationDataIdOneOf {
|
|
601
|
+
/**
|
|
602
|
+
* ID of a site visitor that has not logged in to the site.
|
|
603
|
+
* @format GUID
|
|
604
|
+
*/
|
|
605
|
+
anonymousVisitorId?: string;
|
|
606
|
+
/**
|
|
607
|
+
* ID of a site visitor that has logged in to the site.
|
|
608
|
+
* @format GUID
|
|
609
|
+
*/
|
|
610
|
+
memberId?: string;
|
|
611
|
+
/**
|
|
612
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
613
|
+
* @format GUID
|
|
614
|
+
*/
|
|
615
|
+
wixUserId?: string;
|
|
616
|
+
/**
|
|
617
|
+
* ID of an app.
|
|
618
|
+
* @format GUID
|
|
619
|
+
*/
|
|
620
|
+
appId?: string;
|
|
621
|
+
}
|
|
622
|
+
export declare enum WebhookIdentityType {
|
|
623
|
+
UNKNOWN = "UNKNOWN",
|
|
624
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
625
|
+
MEMBER = "MEMBER",
|
|
626
|
+
WIX_USER = "WIX_USER",
|
|
627
|
+
APP = "APP"
|
|
628
|
+
}
|
|
629
|
+
/** @enumType */
|
|
630
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
550
631
|
/**
|
|
551
632
|
* Get Delivery Solutions for the given line items from all relevant delivery carriers
|
|
552
633
|
* @param lineItems - list of items to delivery that each of them points to delivery profile and delivery rule.
|
package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js
CHANGED
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.getDeliverySolutions = exports.RuleType = exports.ChargeType = exports.PickupMethod = exports.WeightUnit = exports.VatType = exports.SubdivisionType = void 0;
|
|
26
|
+
exports.getDeliverySolutions = exports.WebhookIdentityType = exports.RuleType = exports.ChargeType = exports.PickupMethod = exports.WeightUnit = exports.VatType = exports.SubdivisionType = void 0;
|
|
27
27
|
const transform_error_1 = require("@wix/sdk-runtime/transform-error");
|
|
28
28
|
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
29
29
|
const ambassadorWixGatewaysEcomV1DeliveryRatesGateway = __importStar(require("./gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.http.js"));
|
|
@@ -98,6 +98,14 @@ var RuleType;
|
|
|
98
98
|
RuleType["EXACT_SIZE"] = "EXACT_SIZE";
|
|
99
99
|
RuleType["REQUIRED_ONE_OF_FIELD"] = "REQUIRED_ONE_OF_FIELD";
|
|
100
100
|
})(RuleType || (exports.RuleType = RuleType = {}));
|
|
101
|
+
var WebhookIdentityType;
|
|
102
|
+
(function (WebhookIdentityType) {
|
|
103
|
+
WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
|
|
104
|
+
WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
105
|
+
WebhookIdentityType["MEMBER"] = "MEMBER";
|
|
106
|
+
WebhookIdentityType["WIX_USER"] = "WIX_USER";
|
|
107
|
+
WebhookIdentityType["APP"] = "APP";
|
|
108
|
+
})(WebhookIdentityType || (exports.WebhookIdentityType = WebhookIdentityType = {}));
|
|
101
109
|
/**
|
|
102
110
|
* Get Delivery Solutions for the given line items from all relevant delivery carriers
|
|
103
111
|
* @param lineItems - list of items to delivery that each of them points to delivery profile and delivery rule.
|
package/build/cjs/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js","sourceRoot":"","sources":["../../../src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,sJAAwI;AACxI,sEAA4F;AAC5F,sEAA4F;AAC5F,sFAAkF;
|
|
1
|
+
{"version":3,"file":"gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js","sourceRoot":"","sources":["../../../src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,sJAAwI;AACxI,sEAA4F;AAC5F,sEAA4F;AAC5F,sFAAkF;AA8MlF,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,YAAY;IACZ,8EAA2D,CAAA;IAC3D,aAAa;IACb,8EAA2D,CAAA;IAC3D,gBAAgB;IAChB,8E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AC;QAEjC,OAAO,IAAA,gEAAuC,EAC5C,IAAA,gCAAc,EAAC,MAAM,CAAC,IAAI,EAAE;YAC1B;gBACE,WAAW,EAAE,0CAAgC;gBAC7C,KAAK,EAAE;oBACL,EAAE,IAAI,EAAE,mDAAmD,EAAE;iBAC9D;aACF;SACF,CAAC,CACF,CAAC;IACL,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,SAAS,EAAE,MAAM;gBACjB,WAAW,EAAE,kBAAkB;gBAC/B,MAAM,EAAE,aAAa;gBACrB,QAAQ,EAAE,eAAe;gBACzB,cAAc,EAAE,qBAAqB;gBACrC,UAAU,EAAE,iBAAiB;gBAC7B,eAAe,EAAE,sBAAsB;gBACvC,cAAc,EAAE,qBAAqB;gBACrC,kBAAkB,EAAE,yBAAyB;aAC9C;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,WAAW,EAAE,SAAS,CAAC,CACzB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA5FD,oDA4FC"}
|
package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getDeliverySolutions as publicGetDeliverySolutions } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js';
|
|
2
2
|
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
3
3
|
export declare const getDeliverySolutions: MaybeContext<BuildRESTFunction<typeof publicGetDeliverySolutions> & typeof publicGetDeliverySolutions>;
|
|
4
|
-
export { SubdivisionType, VatType, WeightUnit, PickupMethod, ChargeType, RuleType, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|
|
5
|
-
export { DeliveryRatesGateway, GetDeliverySolutionsRequest, DeliverableItem, CatalogReference, PhysicalProperties, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, FullAddressContactDetails, VatId, UserPreference, ExternalReference, GetDeliverySolutionsResponse, DeliverySolution, DeliveryLogistics, PickupDetails, DeliveryTimeSlot, DeliveryCost, AdditionalCharge, DeliveryAllocation, Carrier, Region, ApplicableLineItems, DeliveryCarrierError, Details, DetailsKindOneOf, ApplicationError, ValidationError, FieldViolation, SystemError, GetDeliverySolutionsOptions, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|
|
4
|
+
export { SubdivisionType, VatType, WeightUnit, PickupMethod, ChargeType, RuleType, WebhookIdentityType, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|
|
5
|
+
export { DeliveryRatesGateway, MissingDefaultDeliveryProfileEvent, GetDeliverySolutionsRequest, DeliverableItem, CatalogReference, PhysicalProperties, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, FullAddressContactDetails, VatId, UserPreference, ExternalReference, GetDeliverySolutionsResponse, DeliverySolution, DeliveryLogistics, PickupDetails, DeliveryTimeSlot, DeliveryCost, AdditionalCharge, DeliveryAllocation, Carrier, Region, ApplicableLineItems, DeliveryCarrierError, Details, DetailsKindOneOf, ApplicationError, ValidationError, FieldViolation, SystemError, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, GetDeliverySolutionsOptions, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getDeliverySolutions as publicGetDeliverySolutions } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js';
|
|
2
2
|
import { createRESTModule } from '@wix/sdk-runtime/rest-modules';
|
|
3
3
|
export const getDeliverySolutions = /*#__PURE__*/ createRESTModule(publicGetDeliverySolutions);
|
|
4
|
-
export { SubdivisionType, VatType, WeightUnit, PickupMethod, ChargeType, RuleType, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|
|
4
|
+
export { SubdivisionType, VatType, WeightUnit, PickupMethod, ChargeType, RuleType, WebhookIdentityType, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|
|
5
5
|
//# sourceMappingURL=gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js.map
|
package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js","sourceRoot":"","sources":["../../../src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,IAAI,0BAA0B,EAAE,MAAM,wEAAwE,CAAC;AAC5I,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,MAAM,CAAC,MAAM,oBAAoB,GAG7B,aAAa,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,CAAC;AAE/D,OAAO,EACL,eAAe,EACf,OAAO,EACP,UAAU,EACV,YAAY,EACZ,UAAU,EACV,QAAQ,
|
|
1
|
+
{"version":3,"file":"gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.js","sourceRoot":"","sources":["../../../src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,IAAI,0BAA0B,EAAE,MAAM,wEAAwE,CAAC;AAC5I,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,MAAM,CAAC,MAAM,oBAAoB,GAG7B,aAAa,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,CAAC;AAE/D,OAAO,EACL,eAAe,EACf,OAAO,EACP,UAAU,EACV,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,mBAAmB,GACpB,MAAM,2EAA2E,CAAC"}
|
|
@@ -13,4 +13,4 @@ interface GetDeliverySolutionsSignature {
|
|
|
13
13
|
*/
|
|
14
14
|
(lineItems: DeliverableItem[], options?: GetDeliverySolutionsOptions | undefined): Promise<GetDeliverySolutionsResponse>;
|
|
15
15
|
}
|
|
16
|
-
export { AdditionalCharge, Address, AddressLocation, AddressStreetOneOf, ApplicableLineItems, ApplicationError, Carrier, CatalogReference, ChargeType, DeliverableItem, DeliveryAllocation, DeliveryCarrierError, DeliveryCost, DeliveryLogistics, DeliveryRatesGateway, DeliverySolution, DeliveryTimeSlot, Details, DetailsKindOneOf, ExternalReference, FieldViolation, FullAddressContactDetails, GetDeliverySolutionsOptions, GetDeliverySolutionsRequest, GetDeliverySolutionsResponse, PhysicalProperties, PickupDetails, PickupMethod, Region, RuleType, StreetAddress, Subdivision, SubdivisionType, SystemError, UserPreference, ValidationError, VatId, VatType, WeightUnit, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|
|
16
|
+
export { AdditionalCharge, Address, AddressLocation, AddressStreetOneOf, ApplicableLineItems, ApplicationError, Carrier, CatalogReference, ChargeType, DeliverableItem, DeliveryAllocation, DeliveryCarrierError, DeliveryCost, DeliveryLogistics, DeliveryRatesGateway, DeliverySolution, DeliveryTimeSlot, Details, DetailsKindOneOf, ExternalReference, FieldViolation, FullAddressContactDetails, GetDeliverySolutionsOptions, GetDeliverySolutionsRequest, GetDeliverySolutionsResponse, IdentificationData, IdentificationDataIdOneOf, MessageEnvelope, MissingDefaultDeliveryProfileEvent, PhysicalProperties, PickupDetails, PickupMethod, Region, RuleType, StreetAddress, Subdivision, SubdivisionType, SystemError, UserPreference, ValidationError, VatId, VatType, WebhookIdentityType, WeightUnit, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|
|
@@ -5,5 +5,5 @@ export function getDeliverySolutions(httpClient) {
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
{ httpClient });
|
|
7
7
|
}
|
|
8
|
-
export { ChargeType, PickupMethod, RuleType, SubdivisionType, VatType, WeightUnit, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|
|
8
|
+
export { ChargeType, PickupMethod, RuleType, SubdivisionType, VatType, WebhookIdentityType, WeightUnit, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|
|
9
9
|
//# sourceMappingURL=gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js.map
|
package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js","sourceRoot":"","sources":["../../../src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,oBAAoB,IAAI,6BAA6B,GACtD,MAAM,2EAA2E,CAAC;AAEnF,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,MAAM,UAAU,oBAAoB,CAClC,UAAsB;IAEtB,OAAO,CACL,SAA4B,EAC5B,OAGC,EACD,EAAE,CACF,6BAA6B,CAC3B,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAeD,OAAO,EASL,UAAU,
|
|
1
|
+
{"version":3,"file":"gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js","sourceRoot":"","sources":["../../../src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,oBAAoB,IAAI,6BAA6B,GACtD,MAAM,2EAA2E,CAAC;AAEnF,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,MAAM,UAAU,oBAAoB,CAClC,UAAsB;IAEtB,OAAO,CACL,SAA4B,EAC5B,OAGC,EACD,EAAE,CACF,6BAA6B,CAC3B,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAeD,OAAO,EASL,UAAU,EAuBV,YAAY,EAEZ,QAAQ,EAGR,eAAe,EAKf,OAAO,EACP,mBAAmB,EACnB,UAAU,GACX,MAAM,2EAA2E,CAAC"}
|
|
@@ -5,6 +5,15 @@ export interface DeliveryRatesGateway {
|
|
|
5
5
|
*/
|
|
6
6
|
id?: string | null;
|
|
7
7
|
}
|
|
8
|
+
export interface MissingDefaultDeliveryProfileEvent {
|
|
9
|
+
/**
|
|
10
|
+
* The meta site ID where the missing default delivery profile error occurred
|
|
11
|
+
* @format GUID
|
|
12
|
+
*/
|
|
13
|
+
metaSiteId?: string;
|
|
14
|
+
/** Timestamp when the error occurred */
|
|
15
|
+
occurredAt?: Date | null;
|
|
16
|
+
}
|
|
8
17
|
export interface GetDeliverySolutionsRequest {
|
|
9
18
|
/**
|
|
10
19
|
* list of items to delivery that each of them points to delivery profile and delivery rule.
|
|
@@ -546,3 +555,75 @@ export interface SystemError {
|
|
|
546
555
|
/** Error code. */
|
|
547
556
|
errorCode?: string | null;
|
|
548
557
|
}
|
|
558
|
+
export interface MessageEnvelope {
|
|
559
|
+
/**
|
|
560
|
+
* App instance ID.
|
|
561
|
+
* @format GUID
|
|
562
|
+
*/
|
|
563
|
+
instanceId?: string | null;
|
|
564
|
+
/**
|
|
565
|
+
* Event type.
|
|
566
|
+
* @maxLength 150
|
|
567
|
+
*/
|
|
568
|
+
eventType?: string;
|
|
569
|
+
/** The identification type and identity data. */
|
|
570
|
+
identity?: IdentificationData;
|
|
571
|
+
/** Stringify payload. */
|
|
572
|
+
data?: string;
|
|
573
|
+
}
|
|
574
|
+
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
575
|
+
/**
|
|
576
|
+
* ID of a site visitor that has not logged in to the site.
|
|
577
|
+
* @format GUID
|
|
578
|
+
*/
|
|
579
|
+
anonymousVisitorId?: string;
|
|
580
|
+
/**
|
|
581
|
+
* ID of a site visitor that has logged in to the site.
|
|
582
|
+
* @format GUID
|
|
583
|
+
*/
|
|
584
|
+
memberId?: string;
|
|
585
|
+
/**
|
|
586
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
587
|
+
* @format GUID
|
|
588
|
+
*/
|
|
589
|
+
wixUserId?: string;
|
|
590
|
+
/**
|
|
591
|
+
* ID of an app.
|
|
592
|
+
* @format GUID
|
|
593
|
+
*/
|
|
594
|
+
appId?: string;
|
|
595
|
+
/** @readonly */
|
|
596
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
597
|
+
}
|
|
598
|
+
/** @oneof */
|
|
599
|
+
export interface IdentificationDataIdOneOf {
|
|
600
|
+
/**
|
|
601
|
+
* ID of a site visitor that has not logged in to the site.
|
|
602
|
+
* @format GUID
|
|
603
|
+
*/
|
|
604
|
+
anonymousVisitorId?: string;
|
|
605
|
+
/**
|
|
606
|
+
* ID of a site visitor that has logged in to the site.
|
|
607
|
+
* @format GUID
|
|
608
|
+
*/
|
|
609
|
+
memberId?: string;
|
|
610
|
+
/**
|
|
611
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
612
|
+
* @format GUID
|
|
613
|
+
*/
|
|
614
|
+
wixUserId?: string;
|
|
615
|
+
/**
|
|
616
|
+
* ID of an app.
|
|
617
|
+
* @format GUID
|
|
618
|
+
*/
|
|
619
|
+
appId?: string;
|
|
620
|
+
}
|
|
621
|
+
export declare enum WebhookIdentityType {
|
|
622
|
+
UNKNOWN = "UNKNOWN",
|
|
623
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
624
|
+
MEMBER = "MEMBER",
|
|
625
|
+
WIX_USER = "WIX_USER",
|
|
626
|
+
APP = "APP"
|
|
627
|
+
}
|
|
628
|
+
/** @enumType */
|
|
629
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -66,4 +66,12 @@ export var RuleType;
|
|
|
66
66
|
RuleType["EXACT_SIZE"] = "EXACT_SIZE";
|
|
67
67
|
RuleType["REQUIRED_ONE_OF_FIELD"] = "REQUIRED_ONE_OF_FIELD";
|
|
68
68
|
})(RuleType || (RuleType = {}));
|
|
69
|
+
export var WebhookIdentityType;
|
|
70
|
+
(function (WebhookIdentityType) {
|
|
71
|
+
WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
|
|
72
|
+
WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
73
|
+
WebhookIdentityType["MEMBER"] = "MEMBER";
|
|
74
|
+
WebhookIdentityType["WIX_USER"] = "WIX_USER";
|
|
75
|
+
WebhookIdentityType["APP"] = "APP";
|
|
76
|
+
})(WebhookIdentityType || (WebhookIdentityType = {}));
|
|
69
77
|
//# sourceMappingURL=gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js.map
|
package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js","sourceRoot":"","sources":["../../../src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.js","sourceRoot":"","sources":["../../../src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.types.ts"],"names":[],"mappings":"AA4MA,MAAM,CAAN,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,YAAY;IACZ,8EAA2D,CAAA;IAC3D,aAAa;IACb,8EAA2D,CAAA;IAC3D,gBAAgB;IAChB,8EAA2D,CAAA;IAC3D,2BAA2B;IAC3B,8EAA2D,CAAA;IAC3D,mBAAmB;IACnB,8EAA2D,CAAA;IAC3D,8IAA8I;IA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QAsBnB;AA2GD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.d.ts
CHANGED
|
@@ -6,6 +6,15 @@ export interface DeliveryRatesGateway {
|
|
|
6
6
|
*/
|
|
7
7
|
_id?: string | null;
|
|
8
8
|
}
|
|
9
|
+
export interface MissingDefaultDeliveryProfileEvent {
|
|
10
|
+
/**
|
|
11
|
+
* The meta site ID where the missing default delivery profile error occurred
|
|
12
|
+
* @format GUID
|
|
13
|
+
*/
|
|
14
|
+
metaSiteId?: string;
|
|
15
|
+
/** Timestamp when the error occurred */
|
|
16
|
+
occurredAt?: Date | null;
|
|
17
|
+
}
|
|
9
18
|
export interface GetDeliverySolutionsRequest {
|
|
10
19
|
/**
|
|
11
20
|
* list of items to delivery that each of them points to delivery profile and delivery rule.
|
|
@@ -547,6 +556,78 @@ export interface SystemError {
|
|
|
547
556
|
/** Error code. */
|
|
548
557
|
errorCode?: string | null;
|
|
549
558
|
}
|
|
559
|
+
export interface MessageEnvelope {
|
|
560
|
+
/**
|
|
561
|
+
* App instance ID.
|
|
562
|
+
* @format GUID
|
|
563
|
+
*/
|
|
564
|
+
instanceId?: string | null;
|
|
565
|
+
/**
|
|
566
|
+
* Event type.
|
|
567
|
+
* @maxLength 150
|
|
568
|
+
*/
|
|
569
|
+
eventType?: string;
|
|
570
|
+
/** The identification type and identity data. */
|
|
571
|
+
identity?: IdentificationData;
|
|
572
|
+
/** Stringify payload. */
|
|
573
|
+
data?: string;
|
|
574
|
+
}
|
|
575
|
+
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
576
|
+
/**
|
|
577
|
+
* ID of a site visitor that has not logged in to the site.
|
|
578
|
+
* @format GUID
|
|
579
|
+
*/
|
|
580
|
+
anonymousVisitorId?: string;
|
|
581
|
+
/**
|
|
582
|
+
* ID of a site visitor that has logged in to the site.
|
|
583
|
+
* @format GUID
|
|
584
|
+
*/
|
|
585
|
+
memberId?: string;
|
|
586
|
+
/**
|
|
587
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
588
|
+
* @format GUID
|
|
589
|
+
*/
|
|
590
|
+
wixUserId?: string;
|
|
591
|
+
/**
|
|
592
|
+
* ID of an app.
|
|
593
|
+
* @format GUID
|
|
594
|
+
*/
|
|
595
|
+
appId?: string;
|
|
596
|
+
/** @readonly */
|
|
597
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
598
|
+
}
|
|
599
|
+
/** @oneof */
|
|
600
|
+
export interface IdentificationDataIdOneOf {
|
|
601
|
+
/**
|
|
602
|
+
* ID of a site visitor that has not logged in to the site.
|
|
603
|
+
* @format GUID
|
|
604
|
+
*/
|
|
605
|
+
anonymousVisitorId?: string;
|
|
606
|
+
/**
|
|
607
|
+
* ID of a site visitor that has logged in to the site.
|
|
608
|
+
* @format GUID
|
|
609
|
+
*/
|
|
610
|
+
memberId?: string;
|
|
611
|
+
/**
|
|
612
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
613
|
+
* @format GUID
|
|
614
|
+
*/
|
|
615
|
+
wixUserId?: string;
|
|
616
|
+
/**
|
|
617
|
+
* ID of an app.
|
|
618
|
+
* @format GUID
|
|
619
|
+
*/
|
|
620
|
+
appId?: string;
|
|
621
|
+
}
|
|
622
|
+
export declare enum WebhookIdentityType {
|
|
623
|
+
UNKNOWN = "UNKNOWN",
|
|
624
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
625
|
+
MEMBER = "MEMBER",
|
|
626
|
+
WIX_USER = "WIX_USER",
|
|
627
|
+
APP = "APP"
|
|
628
|
+
}
|
|
629
|
+
/** @enumType */
|
|
630
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
550
631
|
/**
|
|
551
632
|
* Get Delivery Solutions for the given line items from all relevant delivery carriers
|
|
552
633
|
* @param lineItems - list of items to delivery that each of them points to delivery profile and delivery rule.
|
package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js
CHANGED
|
@@ -72,6 +72,14 @@ export var RuleType;
|
|
|
72
72
|
RuleType["EXACT_SIZE"] = "EXACT_SIZE";
|
|
73
73
|
RuleType["REQUIRED_ONE_OF_FIELD"] = "REQUIRED_ONE_OF_FIELD";
|
|
74
74
|
})(RuleType || (RuleType = {}));
|
|
75
|
+
export var WebhookIdentityType;
|
|
76
|
+
(function (WebhookIdentityType) {
|
|
77
|
+
WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
|
|
78
|
+
WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
79
|
+
WebhookIdentityType["MEMBER"] = "MEMBER";
|
|
80
|
+
WebhookIdentityType["WIX_USER"] = "WIX_USER";
|
|
81
|
+
WebhookIdentityType["APP"] = "APP";
|
|
82
|
+
})(WebhookIdentityType || (WebhookIdentityType = {}));
|
|
75
83
|
/**
|
|
76
84
|
* Get Delivery Solutions for the given line items from all relevant delivery carriers
|
|
77
85
|
* @param lineItems - list of items to delivery that each of them points to delivery profile and delivery rule.
|
package/build/es/src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js","sourceRoot":"","sources":["../../../src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,+CAA+C,MAAM,sEAAsE,CAAC;AACxI,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;
|
|
1
|
+
{"version":3,"file":"gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js","sourceRoot":"","sources":["../../../src/gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,+CAA+C,MAAM,sEAAsE,CAAC;AACxI,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AA8MlF,MAAM,CAAN,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,YAAY;IACZ,8EAA2D,CAAA;IAC3D,aAAa;IACb,8EAA2D,CAAA;IAC3D,gBAAgB;IAChB,8EAA2D,CAAA;IAC3D,2BAA2B;IAC3B,8EAA2D,CAAA;IAC3D,mBAAmB;IACnB,8EAA2D,CAAA;IAC3D,8IAA8I;IAC9I,sCAAmB,CAAA;AACrB,CAAC,EAdW,eAAe,KAAf,eAAe,QAc1B;AAgDD,qBAAqB;AACrB,MAAM,CAAN,IAAY,OAMX;AAND,WAAY,OAAO;IACjB,sCAA2B,CAAA;IAC3B,uCAAuC;IACvC,sBAAW,CAAA;IACX,8BAA8B;IAC9B,wBAAa,CAAA;AACf,CAAC,EANW,OAAO,KAAP,OAAO,QAMlB;AAKD,MAAM,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,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,SAAS,EAAE,MAAM;gBACjB,WAAW,EAAE,kBAAkB;gBAC/B,MAAM,EAAE,aAAa;gBACrB,QAAQ,EAAE,eAAe;gBACzB,cAAc,EAAE,qBAAqB;gBACrC,UAAU,EAAE,iBAAiB;gBAC7B,eAAe,EAAE,sBAAsB;gBACvC,cAAc,EAAE,qBAAqB;gBACrC,kBAAkB,EAAE,yBAAyB;aAC9C;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,WAAW,EAAE,SAAS,CAAC,CACzB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getDeliverySolutions as publicGetDeliverySolutions } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.public.js';
|
|
2
2
|
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
3
3
|
export declare const getDeliverySolutions: MaybeContext<BuildRESTFunction<typeof publicGetDeliverySolutions> & typeof publicGetDeliverySolutions>;
|
|
4
|
-
export { SubdivisionType, VatType, WeightUnit, PickupMethod, ChargeType, RuleType, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|
|
5
|
-
export { DeliveryRatesGateway, GetDeliverySolutionsRequest, DeliverableItem, CatalogReference, PhysicalProperties, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, FullAddressContactDetails, VatId, UserPreference, ExternalReference, GetDeliverySolutionsResponse, DeliverySolution, DeliveryLogistics, PickupDetails, DeliveryTimeSlot, DeliveryCost, AdditionalCharge, DeliveryAllocation, Carrier, Region, ApplicableLineItems, DeliveryCarrierError, Details, DetailsKindOneOf, ApplicationError, ValidationError, FieldViolation, SystemError, GetDeliverySolutionsOptions, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|
|
4
|
+
export { SubdivisionType, VatType, WeightUnit, PickupMethod, ChargeType, RuleType, WebhookIdentityType, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|
|
5
|
+
export { DeliveryRatesGateway, MissingDefaultDeliveryProfileEvent, GetDeliverySolutionsRequest, DeliverableItem, CatalogReference, PhysicalProperties, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, FullAddressContactDetails, VatId, UserPreference, ExternalReference, GetDeliverySolutionsResponse, DeliverySolution, DeliveryLogistics, PickupDetails, DeliveryTimeSlot, DeliveryCost, AdditionalCharge, DeliveryAllocation, Carrier, Region, ApplicableLineItems, DeliveryCarrierError, Details, DetailsKindOneOf, ApplicationError, ValidationError, FieldViolation, SystemError, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, GetDeliverySolutionsOptions, } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal.js';
|