@wix/ecom 1.0.601 → 1.0.603
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ecom",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.603",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@wix/ecom_back-in-stock-settings": "1.0.22",
|
|
26
26
|
"@wix/ecom_cart": "1.0.43",
|
|
27
27
|
"@wix/ecom_checkout": "1.0.45",
|
|
28
|
-
"@wix/ecom_checkout-settings": "1.0.
|
|
28
|
+
"@wix/ecom_checkout-settings": "1.0.32",
|
|
29
29
|
"@wix/ecom_checkout-templates": "1.0.46",
|
|
30
30
|
"@wix/ecom_currencies": "1.0.23",
|
|
31
31
|
"@wix/ecom_current-cart": "1.0.43",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@wix/ecom_orders-settings": "1.0.29",
|
|
39
39
|
"@wix/ecom_payment-settings": "1.0.7",
|
|
40
40
|
"@wix/ecom_recommendations": "1.0.26",
|
|
41
|
-
"@wix/ecom_shipping-rates": "1.0.
|
|
41
|
+
"@wix/ecom_shipping-rates": "1.0.10",
|
|
42
42
|
"@wix/ecom_validations": "1.0.7"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"fqdn": ""
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
|
-
"falconPackageHash": "
|
|
67
|
+
"falconPackageHash": "35b3f9e44c34a46b7f44168018bd77d5197fabc8ba53f01505e41ddc"
|
|
68
68
|
}
|
|
@@ -20847,6 +20847,45 @@ interface CheckboxField {
|
|
|
20847
20847
|
/** Whether the checkbox is checked by default. */
|
|
20848
20848
|
checkedByDefault?: boolean | null;
|
|
20849
20849
|
}
|
|
20850
|
+
interface CheckoutBrand {
|
|
20851
|
+
/** Checkout header. */
|
|
20852
|
+
header?: CheckoutHeader;
|
|
20853
|
+
}
|
|
20854
|
+
interface CheckoutHeader {
|
|
20855
|
+
/**
|
|
20856
|
+
* Textual content to be included in the header (e.g. Business Name)
|
|
20857
|
+
* TODO: update maxLength validation once limitation is known
|
|
20858
|
+
*/
|
|
20859
|
+
text?: string | null;
|
|
20860
|
+
/** Specifications for when a logo is included in the header. */
|
|
20861
|
+
logo?: Logo;
|
|
20862
|
+
/**
|
|
20863
|
+
* Alignment within the header.
|
|
20864
|
+
*
|
|
20865
|
+
* >**Note:** `SIDE` alignment is decided depending on the locale's language. For example, scripts like Hebrew and Arabic will automatically align right-to-left.
|
|
20866
|
+
*/
|
|
20867
|
+
alignment?: Alignment;
|
|
20868
|
+
/**
|
|
20869
|
+
* Whether to display the 'Checkout' label within the header.
|
|
20870
|
+
* Depending on the locale, the label may be translated.
|
|
20871
|
+
*/
|
|
20872
|
+
displayCheckoutLabel?: boolean | null;
|
|
20873
|
+
}
|
|
20874
|
+
interface Logo {
|
|
20875
|
+
/** Size of the logo. */
|
|
20876
|
+
size?: LogoSize;
|
|
20877
|
+
}
|
|
20878
|
+
declare enum LogoSize {
|
|
20879
|
+
UNKNOWN_LOGO_SIZE = "UNKNOWN_LOGO_SIZE",
|
|
20880
|
+
SMALL = "SMALL",
|
|
20881
|
+
MEDIUM = "MEDIUM",
|
|
20882
|
+
LARGE = "LARGE"
|
|
20883
|
+
}
|
|
20884
|
+
declare enum Alignment {
|
|
20885
|
+
UNKNOWN_ALIGNMENT = "UNKNOWN_ALIGNMENT",
|
|
20886
|
+
SIDE = "SIDE",
|
|
20887
|
+
CENTER = "CENTER"
|
|
20888
|
+
}
|
|
20850
20889
|
interface GetCheckoutSettingsRequest {
|
|
20851
20890
|
}
|
|
20852
20891
|
interface GetCheckoutSettingsResponse {
|
|
@@ -21037,8 +21076,12 @@ declare function getCheckoutSettings(httpClient: HttpClient): () => Promise<GetC
|
|
|
21037
21076
|
declare function updateCheckoutSettings(httpClient: HttpClient): (checkoutSettings: CheckoutSettings) => Promise<UpdateCheckoutSettingsResponse>;
|
|
21038
21077
|
declare const onCheckoutSettingsUpdated: EventDefinition<CheckoutSettingsUpdatedEnvelope, "wix.ecom.v1.checkout_settings_updated">;
|
|
21039
21078
|
|
|
21079
|
+
type index_d$6_Alignment = Alignment;
|
|
21080
|
+
declare const index_d$6_Alignment: typeof Alignment;
|
|
21040
21081
|
type index_d$6_CheckboxField = CheckboxField;
|
|
21082
|
+
type index_d$6_CheckoutBrand = CheckoutBrand;
|
|
21041
21083
|
type index_d$6_CheckoutFields = CheckoutFields;
|
|
21084
|
+
type index_d$6_CheckoutHeader = CheckoutHeader;
|
|
21042
21085
|
type index_d$6_CheckoutPolicies = CheckoutPolicies;
|
|
21043
21086
|
type index_d$6_CheckoutSettings = CheckoutSettings;
|
|
21044
21087
|
type index_d$6_CheckoutSettingsUpdatedEnvelope = CheckoutSettingsUpdatedEnvelope;
|
|
@@ -21050,6 +21093,9 @@ type index_d$6_DigitalItemPolicy = DigitalItemPolicy;
|
|
|
21050
21093
|
type index_d$6_GetCheckoutSettingsRequest = GetCheckoutSettingsRequest;
|
|
21051
21094
|
type index_d$6_GetCheckoutSettingsResponse = GetCheckoutSettingsResponse;
|
|
21052
21095
|
type index_d$6_GiftCardProviderWasProvisioned = GiftCardProviderWasProvisioned;
|
|
21096
|
+
type index_d$6_Logo = Logo;
|
|
21097
|
+
type index_d$6_LogoSize = LogoSize;
|
|
21098
|
+
declare const index_d$6_LogoSize: typeof LogoSize;
|
|
21053
21099
|
type index_d$6_PrivacyPolicy = PrivacyPolicy;
|
|
21054
21100
|
type index_d$6_ReturnPolicy = ReturnPolicy;
|
|
21055
21101
|
type index_d$6_TermsAndConditionsPolicy = TermsAndConditionsPolicy;
|
|
@@ -21059,7 +21105,7 @@ declare const index_d$6_getCheckoutSettings: typeof getCheckoutSettings;
|
|
|
21059
21105
|
declare const index_d$6_onCheckoutSettingsUpdated: typeof onCheckoutSettingsUpdated;
|
|
21060
21106
|
declare const index_d$6_updateCheckoutSettings: typeof updateCheckoutSettings;
|
|
21061
21107
|
declare namespace index_d$6 {
|
|
21062
|
-
export { type ActionEvent$5 as ActionEvent, type BaseEventMetadata$5 as BaseEventMetadata, type index_d$6_CheckboxField as CheckboxField, type index_d$6_CheckoutFields as CheckoutFields, type index_d$6_CheckoutPolicies as CheckoutPolicies, type index_d$6_CheckoutSettings as CheckoutSettings, type index_d$6_CheckoutSettingsUpdatedEnvelope as CheckoutSettingsUpdatedEnvelope, type index_d$6_ContactUsPolicy as ContactUsPolicy, type index_d$6_CustomCheckoutPolicy as CustomCheckoutPolicy, type index_d$6_DeleteCheckoutSettingsRequest as DeleteCheckoutSettingsRequest, type index_d$6_DeleteCheckoutSettingsResponse as DeleteCheckoutSettingsResponse, type index_d$6_DigitalItemPolicy as DigitalItemPolicy, type DomainEvent$5 as DomainEvent, type DomainEventBodyOneOf$5 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$5 as EntityCreatedEvent, type EntityDeletedEvent$5 as EntityDeletedEvent, type EntityUpdatedEvent$5 as EntityUpdatedEvent, type EventMetadata$5 as EventMetadata, type index_d$6_GetCheckoutSettingsRequest as GetCheckoutSettingsRequest, type index_d$6_GetCheckoutSettingsResponse as GetCheckoutSettingsResponse, type index_d$6_GiftCardProviderWasProvisioned as GiftCardProviderWasProvisioned, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, type MessageEnvelope$5 as MessageEnvelope, type index_d$6_PrivacyPolicy as PrivacyPolicy, type index_d$6_ReturnPolicy as ReturnPolicy, type index_d$6_TermsAndConditionsPolicy as TermsAndConditionsPolicy, type index_d$6_UpdateCheckoutSettingsRequest as UpdateCheckoutSettingsRequest, type index_d$6_UpdateCheckoutSettingsResponse as UpdateCheckoutSettingsResponse, WebhookIdentityType$5 as WebhookIdentityType, __metadata$6 as __metadata, index_d$6_getCheckoutSettings as getCheckoutSettings, index_d$6_onCheckoutSettingsUpdated as onCheckoutSettingsUpdated, index_d$6_updateCheckoutSettings as updateCheckoutSettings };
|
|
21108
|
+
export { type ActionEvent$5 as ActionEvent, index_d$6_Alignment as Alignment, type BaseEventMetadata$5 as BaseEventMetadata, type index_d$6_CheckboxField as CheckboxField, type index_d$6_CheckoutBrand as CheckoutBrand, type index_d$6_CheckoutFields as CheckoutFields, type index_d$6_CheckoutHeader as CheckoutHeader, type index_d$6_CheckoutPolicies as CheckoutPolicies, type index_d$6_CheckoutSettings as CheckoutSettings, type index_d$6_CheckoutSettingsUpdatedEnvelope as CheckoutSettingsUpdatedEnvelope, type index_d$6_ContactUsPolicy as ContactUsPolicy, type index_d$6_CustomCheckoutPolicy as CustomCheckoutPolicy, type index_d$6_DeleteCheckoutSettingsRequest as DeleteCheckoutSettingsRequest, type index_d$6_DeleteCheckoutSettingsResponse as DeleteCheckoutSettingsResponse, type index_d$6_DigitalItemPolicy as DigitalItemPolicy, type DomainEvent$5 as DomainEvent, type DomainEventBodyOneOf$5 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$5 as EntityCreatedEvent, type EntityDeletedEvent$5 as EntityDeletedEvent, type EntityUpdatedEvent$5 as EntityUpdatedEvent, type EventMetadata$5 as EventMetadata, type index_d$6_GetCheckoutSettingsRequest as GetCheckoutSettingsRequest, type index_d$6_GetCheckoutSettingsResponse as GetCheckoutSettingsResponse, type index_d$6_GiftCardProviderWasProvisioned as GiftCardProviderWasProvisioned, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, type index_d$6_Logo as Logo, index_d$6_LogoSize as LogoSize, type MessageEnvelope$5 as MessageEnvelope, type index_d$6_PrivacyPolicy as PrivacyPolicy, type index_d$6_ReturnPolicy as ReturnPolicy, type index_d$6_TermsAndConditionsPolicy as TermsAndConditionsPolicy, type index_d$6_UpdateCheckoutSettingsRequest as UpdateCheckoutSettingsRequest, type index_d$6_UpdateCheckoutSettingsResponse as UpdateCheckoutSettingsResponse, WebhookIdentityType$5 as WebhookIdentityType, __metadata$6 as __metadata, index_d$6_getCheckoutSettings as getCheckoutSettings, index_d$6_onCheckoutSettingsUpdated as onCheckoutSettingsUpdated, index_d$6_updateCheckoutSettings as updateCheckoutSettings };
|
|
21063
21109
|
}
|
|
21064
21110
|
|
|
21065
21111
|
interface CheckoutTemplate {
|
|
@@ -430,6 +430,7 @@ declare class MissingPostalCodeWixError extends Error {
|
|
|
430
430
|
messageSchema: string;
|
|
431
431
|
data: MissingPostalCodeError;
|
|
432
432
|
constructor(data: MissingPostalCodeError);
|
|
433
|
+
static readonly __type = "wix_spi_error";
|
|
433
434
|
}
|
|
434
435
|
declare class InvalidPostalCodeWixError extends Error {
|
|
435
436
|
httpCode: string;
|
|
@@ -438,6 +439,7 @@ declare class InvalidPostalCodeWixError extends Error {
|
|
|
438
439
|
messageSchema: string;
|
|
439
440
|
data: InvalidPostalCodeError;
|
|
440
441
|
constructor(data: InvalidPostalCodeError);
|
|
442
|
+
static readonly __type = "wix_spi_error";
|
|
441
443
|
}
|
|
442
444
|
declare class InvalidAddressWixError extends Error {
|
|
443
445
|
httpCode: string;
|
|
@@ -446,6 +448,7 @@ declare class InvalidAddressWixError extends Error {
|
|
|
446
448
|
messageSchema: string;
|
|
447
449
|
data: InvalidAddressError;
|
|
448
450
|
constructor(data: InvalidAddressError);
|
|
451
|
+
static readonly __type = "wix_spi_error";
|
|
449
452
|
}
|
|
450
453
|
declare class GenericShippingRatesWixError extends Error {
|
|
451
454
|
httpCode: string;
|
|
@@ -454,6 +457,7 @@ declare class GenericShippingRatesWixError extends Error {
|
|
|
454
457
|
messageSchema: string;
|
|
455
458
|
data: GenericShippingRatesError;
|
|
456
459
|
constructor(data: GenericShippingRatesError);
|
|
460
|
+
static readonly __type = "wix_spi_error";
|
|
457
461
|
}
|
|
458
462
|
|
|
459
463
|
type ServicePluginMethodInput = {
|
|
@@ -459,6 +459,7 @@ declare class MissingPostalCodeWixError extends Error {
|
|
|
459
459
|
messageSchema: string;
|
|
460
460
|
data: MissingPostalCodeError;
|
|
461
461
|
constructor(data: MissingPostalCodeError);
|
|
462
|
+
static readonly __type = "wix_spi_error";
|
|
462
463
|
}
|
|
463
464
|
declare class InvalidPostalCodeWixError extends Error {
|
|
464
465
|
httpCode: string;
|
|
@@ -467,6 +468,7 @@ declare class InvalidPostalCodeWixError extends Error {
|
|
|
467
468
|
messageSchema: string;
|
|
468
469
|
data: InvalidPostalCodeError;
|
|
469
470
|
constructor(data: InvalidPostalCodeError);
|
|
471
|
+
static readonly __type = "wix_spi_error";
|
|
470
472
|
}
|
|
471
473
|
declare class InvalidAddressWixError extends Error {
|
|
472
474
|
httpCode: string;
|
|
@@ -475,6 +477,7 @@ declare class InvalidAddressWixError extends Error {
|
|
|
475
477
|
messageSchema: string;
|
|
476
478
|
data: InvalidAddressError;
|
|
477
479
|
constructor(data: InvalidAddressError);
|
|
480
|
+
static readonly __type = "wix_spi_error";
|
|
478
481
|
}
|
|
479
482
|
declare class GenericShippingRatesWixError extends Error {
|
|
480
483
|
httpCode: string;
|
|
@@ -483,6 +486,7 @@ declare class GenericShippingRatesWixError extends Error {
|
|
|
483
486
|
messageSchema: string;
|
|
484
487
|
data: GenericShippingRatesError;
|
|
485
488
|
constructor(data: GenericShippingRatesError);
|
|
489
|
+
static readonly __type = "wix_spi_error";
|
|
486
490
|
}
|
|
487
491
|
|
|
488
492
|
type index_d$4_AdditionalCharge = AdditionalCharge;
|