@wix/auto_sdk_ecom_current-cart-v-2 1.0.227 → 1.0.229
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.js +57 -15
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1640 -1635
- package/build/cjs/index.typings.js +32 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1632 -1627
- package/build/cjs/meta.js +32 -14
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +57 -15
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1640 -1635
- package/build/es/index.typings.mjs +32 -14
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1632 -1627
- package/build/es/meta.mjs +32 -14
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1822 -1811
- package/build/internal/cjs/meta.d.ts +1859 -1848
- package/build/internal/es/index.typings.d.mts +1822 -1811
- package/build/internal/es/meta.d.mts +1859 -1848
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -128,6 +128,12 @@ var TRANSFORM_PATHS_0 = [
|
|
|
128
128
|
{
|
|
129
129
|
path: "cart.lineItems.bundleInfo.items.attributes.image.urlExpirationDate"
|
|
130
130
|
},
|
|
131
|
+
{
|
|
132
|
+
path: "cart.lineItems.bundleInfo.items.attributes.serviceProperties.scheduledDate"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
path: "cart.lineItems.bundleInfo.items.attributes.serviceProperties.endDate"
|
|
136
|
+
},
|
|
131
137
|
{ path: "catalogItems.catalogOverrideFields.image.urlExpirationDate" },
|
|
132
138
|
{ path: "customItems.attributes.image.urlExpirationDate" },
|
|
133
139
|
{ path: "customItems.attributes.serviceProperties.scheduledDate" },
|
|
@@ -166,6 +172,12 @@ var TRANSFORM_PATHS_2 = [
|
|
|
166
172
|
{ path: "cart.lineItems.attributes.serviceProperties.endDate" },
|
|
167
173
|
{
|
|
168
174
|
path: "cart.lineItems.bundleInfo.items.attributes.image.urlExpirationDate"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
path: "cart.lineItems.bundleInfo.items.attributes.serviceProperties.scheduledDate"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
path: "cart.lineItems.bundleInfo.items.attributes.serviceProperties.endDate"
|
|
169
181
|
}
|
|
170
182
|
];
|
|
171
183
|
var TRANSFORM_PATHS_3 = [
|
|
@@ -198,6 +210,12 @@ var TRANSFORM_PATHS_5 = [
|
|
|
198
210
|
{
|
|
199
211
|
path: "cart.lineItems.bundleInfo.items.attributes.image.urlExpirationDate"
|
|
200
212
|
},
|
|
213
|
+
{
|
|
214
|
+
path: "cart.lineItems.bundleInfo.items.attributes.serviceProperties.scheduledDate"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
path: "cart.lineItems.bundleInfo.items.attributes.serviceProperties.endDate"
|
|
218
|
+
},
|
|
201
219
|
{
|
|
202
220
|
path: "summary.paymentSummary.subscriptionCharges.charges.cycleBillingDate"
|
|
203
221
|
}
|
|
@@ -1174,18 +1192,26 @@ var V1PlatformFeeChargeType = /* @__PURE__ */ ((V1PlatformFeeChargeType2) => {
|
|
|
1174
1192
|
V1PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1175
1193
|
return V1PlatformFeeChargeType2;
|
|
1176
1194
|
})(V1PlatformFeeChargeType || {});
|
|
1177
|
-
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1178
|
-
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1179
|
-
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1180
|
-
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1181
|
-
return BenefitType2;
|
|
1182
|
-
})(BenefitType || {});
|
|
1183
1195
|
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1184
1196
|
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1185
1197
|
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1186
1198
|
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1187
1199
|
return ValidationsConfig2;
|
|
1188
1200
|
})(ValidationsConfig || {});
|
|
1201
|
+
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1202
|
+
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1203
|
+
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1204
|
+
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1205
|
+
return BenefitType2;
|
|
1206
|
+
})(BenefitType || {});
|
|
1207
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1208
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1209
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1210
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1211
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1212
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1213
|
+
return WebhookIdentityType2;
|
|
1214
|
+
})(WebhookIdentityType || {});
|
|
1189
1215
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1190
1216
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1191
1217
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1251,14 +1277,6 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1251
1277
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1252
1278
|
return PlatformFeeChargeType2;
|
|
1253
1279
|
})(PlatformFeeChargeType || {});
|
|
1254
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1255
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1256
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1257
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1258
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1259
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
1260
|
-
return WebhookIdentityType2;
|
|
1261
|
-
})(WebhookIdentityType || {});
|
|
1262
1280
|
async function createCurrentCart2(options) {
|
|
1263
1281
|
const { httpClient, sideEffects } = arguments[1];
|
|
1264
1282
|
const payload = (0, import_transform_paths2.transformPaths)(
|
|
@@ -2016,6 +2034,12 @@ var TRANSFORM_PATHS_13 = [
|
|
|
2016
2034
|
},
|
|
2017
2035
|
{ path: "data.cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
2018
2036
|
{ path: "data.cart.lineItems.attributes.serviceProperties.endDate" },
|
|
2037
|
+
{
|
|
2038
|
+
path: "data.cart.lineItems.bundleInfo.items.attributes.serviceProperties.scheduledDate"
|
|
2039
|
+
},
|
|
2040
|
+
{
|
|
2041
|
+
path: "data.cart.lineItems.bundleInfo.items.attributes.serviceProperties.endDate"
|
|
2042
|
+
},
|
|
2019
2043
|
{ path: "metadata.eventTime" }
|
|
2020
2044
|
];
|
|
2021
2045
|
var TRANSFORM_PATHS_23 = [
|
|
@@ -2049,6 +2073,12 @@ var TRANSFORM_PATHS_63 = [
|
|
|
2049
2073
|
},
|
|
2050
2074
|
{ path: "entity.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
2051
2075
|
{ path: "entity.lineItems.attributes.serviceProperties.endDate" },
|
|
2076
|
+
{
|
|
2077
|
+
path: "entity.lineItems.bundleInfo.items.attributes.serviceProperties.scheduledDate"
|
|
2078
|
+
},
|
|
2079
|
+
{
|
|
2080
|
+
path: "entity.lineItems.bundleInfo.items.attributes.serviceProperties.endDate"
|
|
2081
|
+
},
|
|
2052
2082
|
{ path: "metadata.eventTime" }
|
|
2053
2083
|
];
|
|
2054
2084
|
var TRANSFORM_PATHS_72 = [
|
|
@@ -2082,6 +2112,12 @@ var TRANSFORM_PATHS_11 = [
|
|
|
2082
2112
|
},
|
|
2083
2113
|
{ path: "entity.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
2084
2114
|
{ path: "entity.lineItems.attributes.serviceProperties.endDate" },
|
|
2115
|
+
{
|
|
2116
|
+
path: "entity.lineItems.bundleInfo.items.attributes.serviceProperties.scheduledDate"
|
|
2117
|
+
},
|
|
2118
|
+
{
|
|
2119
|
+
path: "entity.lineItems.bundleInfo.items.attributes.serviceProperties.endDate"
|
|
2120
|
+
},
|
|
2085
2121
|
{ path: "metadata.eventTime" },
|
|
2086
2122
|
{ path: "modifiedFields.createdDate" },
|
|
2087
2123
|
{ path: "modifiedFields.updatedDate" },
|
|
@@ -2091,7 +2127,13 @@ var TRANSFORM_PATHS_11 = [
|
|
|
2091
2127
|
{
|
|
2092
2128
|
path: "modifiedFields.lineItems.attributes.serviceProperties.scheduledDate"
|
|
2093
2129
|
},
|
|
2094
|
-
{ path: "modifiedFields.lineItems.attributes.serviceProperties.endDate" }
|
|
2130
|
+
{ path: "modifiedFields.lineItems.attributes.serviceProperties.endDate" },
|
|
2131
|
+
{
|
|
2132
|
+
path: "modifiedFields.lineItems.bundleInfo.items.attributes.serviceProperties.scheduledDate"
|
|
2133
|
+
},
|
|
2134
|
+
{
|
|
2135
|
+
path: "modifiedFields.lineItems.bundleInfo.items.attributes.serviceProperties.endDate"
|
|
2136
|
+
}
|
|
2095
2137
|
];
|
|
2096
2138
|
var TRANSFORM_PATHS_122 = [
|
|
2097
2139
|
{ path: "entity.lineItems.source.catalogOverrideFields.image" },
|