@wix/ecom 1.0.520 → 1.0.522
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/context.d.ts +16 -16
- package/build/cjs/context.js +17 -17
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +16 -19
- package/build/cjs/index.js +17 -20
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +16 -19
- package/build/cjs/meta.js +17 -20
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +16 -16
- package/build/es/context.js +16 -16
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +16 -19
- package/build/es/index.js +16 -19
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +16 -19
- package/build/es/meta.js +16 -19
- package/build/es/meta.js.map +1 -1
- package/package.json +26 -10
- package/build/cjs/index.typings.d.ts +0 -19
- package/build/cjs/index.typings.js +0 -46
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/src/ecom-discounts-v1-discount-rule.context.d.ts +0 -7
- package/build/cjs/src/ecom-discounts-v1-discount-rule.context.js +0 -90
- package/build/cjs/src/ecom-discounts-v1-discount-rule.context.js.map +0 -1
- package/build/cjs/src/ecom-discounts-v1-discount-rule.http.d.ts +0 -48
- package/build/cjs/src/ecom-discounts-v1-discount-rule.http.js +0 -265
- package/build/cjs/src/ecom-discounts-v1-discount-rule.http.js.map +0 -1
- package/build/cjs/src/ecom-discounts-v1-discount-rule.meta.d.ts +0 -23
- package/build/cjs/src/ecom-discounts-v1-discount-rule.meta.js +0 -123
- package/build/cjs/src/ecom-discounts-v1-discount-rule.meta.js.map +0 -1
- package/build/cjs/src/ecom-discounts-v1-discount-rule.public.d.ts +0 -205
- package/build/cjs/src/ecom-discounts-v1-discount-rule.public.js +0 -48
- package/build/cjs/src/ecom-discounts-v1-discount-rule.public.js.map +0 -1
- package/build/cjs/src/ecom-discounts-v1-discount-rule.types.d.ts +0 -990
- package/build/cjs/src/ecom-discounts-v1-discount-rule.types.js +0 -70
- package/build/cjs/src/ecom-discounts-v1-discount-rule.types.js.map +0 -1
- package/build/cjs/src/ecom-discounts-v1-discount-rule.universal.d.ts +0 -1086
- package/build/cjs/src/ecom-discounts-v1-discount-rule.universal.js +0 -455
- package/build/cjs/src/ecom-discounts-v1-discount-rule.universal.js.map +0 -1
- package/build/cjs/src/ecom-orders-v1-invoice.context.d.ts +0 -3
- package/build/cjs/src/ecom-orders-v1-invoice.context.js +0 -22
- package/build/cjs/src/ecom-orders-v1-invoice.context.js.map +0 -1
- package/build/cjs/src/ecom-orders-v1-invoice.http.d.ts +0 -8
- package/build/cjs/src/ecom-orders-v1-invoice.http.js +0 -46
- package/build/cjs/src/ecom-orders-v1-invoice.http.js.map +0 -1
- package/build/cjs/src/ecom-orders-v1-invoice.meta.d.ts +0 -13
- package/build/cjs/src/ecom-orders-v1-invoice.meta.js +0 -47
- package/build/cjs/src/ecom-orders-v1-invoice.meta.js.map +0 -1
- package/build/cjs/src/ecom-orders-v1-invoice.public.d.ts +0 -6
- package/build/cjs/src/ecom-orders-v1-invoice.public.js +0 -12
- package/build/cjs/src/ecom-orders-v1-invoice.public.js.map +0 -1
- package/build/cjs/src/ecom-orders-v1-invoice.types.d.ts +0 -172
- package/build/cjs/src/ecom-orders-v1-invoice.types.js +0 -3
- package/build/cjs/src/ecom-orders-v1-invoice.types.js.map +0 -1
- package/build/cjs/src/ecom-orders-v1-invoice.universal.d.ts +0 -201
- package/build/cjs/src/ecom-orders-v1-invoice.universal.js +0 -117
- package/build/cjs/src/ecom-orders-v1-invoice.universal.js.map +0 -1
- package/build/cjs/src/ecom-recommendations-v1-recommendation.context.d.ts +0 -4
- package/build/cjs/src/ecom-recommendations-v1-recommendation.context.js +0 -39
- package/build/cjs/src/ecom-recommendations-v1-recommendation.context.js.map +0 -1
- package/build/cjs/src/ecom-recommendations-v1-recommendation.http.d.ts +0 -37
- package/build/cjs/src/ecom-recommendations-v1-recommendation.http.js +0 -91
- package/build/cjs/src/ecom-recommendations-v1-recommendation.http.js.map +0 -1
- package/build/cjs/src/ecom-recommendations-v1-recommendation.meta.d.ts +0 -14
- package/build/cjs/src/ecom-recommendations-v1-recommendation.meta.js +0 -66
- package/build/cjs/src/ecom-recommendations-v1-recommendation.meta.js.map +0 -1
- package/build/cjs/src/ecom-recommendations-v1-recommendation.public.d.ts +0 -9
- package/build/cjs/src/ecom-recommendations-v1-recommendation.public.js +0 -20
- package/build/cjs/src/ecom-recommendations-v1-recommendation.public.js.map +0 -1
- package/build/cjs/src/ecom-recommendations-v1-recommendation.types.d.ts +0 -136
- package/build/cjs/src/ecom-recommendations-v1-recommendation.types.js +0 -10
- package/build/cjs/src/ecom-recommendations-v1-recommendation.types.js.map +0 -1
- package/build/cjs/src/ecom-recommendations-v1-recommendation.universal.d.ts +0 -206
- package/build/cjs/src/ecom-recommendations-v1-recommendation.universal.js +0 -207
- package/build/cjs/src/ecom-recommendations-v1-recommendation.universal.js.map +0 -1
- package/build/cjs/src/ecom-v1-abandoned-checkout.context.d.ts +0 -3
- package/build/cjs/src/ecom-v1-abandoned-checkout.context.js +0 -22
- package/build/cjs/src/ecom-v1-abandoned-checkout.context.js.map +0 -1
- package/build/cjs/src/ecom-v1-abandoned-checkout.http.d.ts +0 -3
- package/build/cjs/src/ecom-v1-abandoned-checkout.http.js +0 -55
- package/build/cjs/src/ecom-v1-abandoned-checkout.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-abandoned-checkout.meta.d.ts +0 -15
- package/build/cjs/src/ecom-v1-abandoned-checkout.meta.js +0 -47
- package/build/cjs/src/ecom-v1-abandoned-checkout.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-abandoned-checkout.public.d.ts +0 -39
- package/build/cjs/src/ecom-v1-abandoned-checkout.public.js +0 -23
- package/build/cjs/src/ecom-v1-abandoned-checkout.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-abandoned-checkout.types.d.ts +0 -562
- package/build/cjs/src/ecom-v1-abandoned-checkout.types.js +0 -56
- package/build/cjs/src/ecom-v1-abandoned-checkout.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-abandoned-checkout.universal.d.ts +0 -609
- package/build/cjs/src/ecom-v1-abandoned-checkout.universal.js +0 -163
- package/build/cjs/src/ecom-v1-abandoned-checkout.universal.js.map +0 -1
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.context.d.ts +0 -9
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.context.js +0 -124
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.context.js.map +0 -1
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.http.d.ts +0 -54
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.http.js +0 -243
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.meta.d.ts +0 -25
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.meta.js +0 -161
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.public.d.ts +0 -29
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.public.js +0 -55
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.types.d.ts +0 -438
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.types.js +0 -18
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.universal.d.ts +0 -648
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.universal.js +0 -534
- package/build/cjs/src/ecom-v1-back-in-stock-notification-request.universal.js.map +0 -1
- package/build/cjs/src/ecom-v1-back-in-stock-settings.context.d.ts +0 -5
- package/build/cjs/src/ecom-v1-back-in-stock-settings.context.js +0 -56
- package/build/cjs/src/ecom-v1-back-in-stock-settings.context.js.map +0 -1
- package/build/cjs/src/ecom-v1-back-in-stock-settings.http.d.ts +0 -18
- package/build/cjs/src/ecom-v1-back-in-stock-settings.http.js +0 -90
- package/build/cjs/src/ecom-v1-back-in-stock-settings.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-back-in-stock-settings.meta.d.ts +0 -15
- package/build/cjs/src/ecom-v1-back-in-stock-settings.meta.js +0 -85
- package/build/cjs/src/ecom-v1-back-in-stock-settings.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-back-in-stock-settings.public.d.ts +0 -8
- package/build/cjs/src/ecom-v1-back-in-stock-settings.public.js +0 -24
- package/build/cjs/src/ecom-v1-back-in-stock-settings.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-back-in-stock-settings.types.d.ts +0 -63
- package/build/cjs/src/ecom-v1-back-in-stock-settings.types.js +0 -3
- package/build/cjs/src/ecom-v1-back-in-stock-settings.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-back-in-stock-settings.universal.d.ts +0 -94
- package/build/cjs/src/ecom-v1-back-in-stock-settings.universal.js +0 -210
- package/build/cjs/src/ecom-v1-back-in-stock-settings.universal.js.map +0 -1
- package/build/cjs/src/ecom-v1-cart-cart.context.d.ts +0 -12
- package/build/cjs/src/ecom-v1-cart-cart.context.js +0 -175
- package/build/cjs/src/ecom-v1-cart-cart.context.js.map +0 -1
- package/build/cjs/src/ecom-v1-cart-cart.http.d.ts +0 -116
- package/build/cjs/src/ecom-v1-cart-cart.http.js +0 -1119
- package/build/cjs/src/ecom-v1-cart-cart.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-cart-cart.meta.d.ts +0 -40
- package/build/cjs/src/ecom-v1-cart-cart.meta.js +0 -218
- package/build/cjs/src/ecom-v1-cart-cart.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-cart-cart.public.d.ts +0 -315
- package/build/cjs/src/ecom-v1-cart-cart.public.js +0 -91
- package/build/cjs/src/ecom-v1-cart-cart.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-cart-cart.types.d.ts +0 -3845
- package/build/cjs/src/ecom-v1-cart-cart.types.js +0 -187
- package/build/cjs/src/ecom-v1-cart-cart.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-cart-cart.universal.d.ts +0 -3539
- package/build/cjs/src/ecom-v1-cart-cart.universal.js +0 -999
- package/build/cjs/src/ecom-v1-cart-cart.universal.js.map +0 -1
- package/build/cjs/src/ecom-v1-cart-current-cart.context.d.ts +0 -11
- package/build/cjs/src/ecom-v1-cart-current-cart.context.js +0 -158
- package/build/cjs/src/ecom-v1-cart-current-cart.context.js.map +0 -1
- package/build/cjs/src/ecom-v1-cart-current-cart.http.d.ts +0 -164
- package/build/cjs/src/ecom-v1-cart-current-cart.http.js +0 -1167
- package/build/cjs/src/ecom-v1-cart-current-cart.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-cart-current-cart.meta.d.ts +0 -21
- package/build/cjs/src/ecom-v1-cart-current-cart.meta.js +0 -199
- package/build/cjs/src/ecom-v1-cart-current-cart.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-cart-current-cart.public.d.ts +0 -215
- package/build/cjs/src/ecom-v1-cart-current-cart.public.js +0 -85
- package/build/cjs/src/ecom-v1-cart-current-cart.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-cart-current-cart.types.d.ts +0 -3845
- package/build/cjs/src/ecom-v1-cart-current-cart.types.js +0 -187
- package/build/cjs/src/ecom-v1-cart-current-cart.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-cart-current-cart.universal.d.ts +0 -3403
- package/build/cjs/src/ecom-v1-cart-current-cart.universal.js +0 -890
- package/build/cjs/src/ecom-v1-cart-current-cart.universal.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-checkout.context.d.ts +0 -14
- package/build/cjs/src/ecom-v1-checkout-checkout.context.js +0 -209
- package/build/cjs/src/ecom-v1-checkout-checkout.context.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-checkout.http.d.ts +0 -113
- package/build/cjs/src/ecom-v1-checkout-checkout.http.js +0 -1011
- package/build/cjs/src/ecom-v1-checkout-checkout.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-checkout.meta.d.ts +0 -46
- package/build/cjs/src/ecom-v1-checkout-checkout.meta.js +0 -256
- package/build/cjs/src/ecom-v1-checkout-checkout.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-checkout.public.d.ts +0 -2057
- package/build/cjs/src/ecom-v1-checkout-checkout.public.js +0 -109
- package/build/cjs/src/ecom-v1-checkout-checkout.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-checkout.types.d.ts +0 -10784
- package/build/cjs/src/ecom-v1-checkout-checkout.types.js +0 -237
- package/build/cjs/src/ecom-v1-checkout-checkout.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-checkout.universal.d.ts +0 -8780
- package/build/cjs/src/ecom-v1-checkout-checkout.universal.js +0 -1298
- package/build/cjs/src/ecom-v1-checkout-checkout.universal.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-settings.context.d.ts +0 -4
- package/build/cjs/src/ecom-v1-checkout-settings.context.js +0 -39
- package/build/cjs/src/ecom-v1-checkout-settings.context.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-settings.http.d.ts +0 -15
- package/build/cjs/src/ecom-v1-checkout-settings.http.js +0 -85
- package/build/cjs/src/ecom-v1-checkout-settings.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-settings.meta.d.ts +0 -14
- package/build/cjs/src/ecom-v1-checkout-settings.meta.js +0 -66
- package/build/cjs/src/ecom-v1-checkout-settings.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-settings.public.d.ts +0 -9
- package/build/cjs/src/ecom-v1-checkout-settings.public.js +0 -20
- package/build/cjs/src/ecom-v1-checkout-settings.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-settings.types.d.ts +0 -210
- package/build/cjs/src/ecom-v1-checkout-settings.types.js +0 -3
- package/build/cjs/src/ecom-v1-checkout-settings.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-settings.universal.d.ts +0 -259
- package/build/cjs/src/ecom-v1-checkout-settings.universal.js +0 -179
- package/build/cjs/src/ecom-v1-checkout-settings.universal.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-template.context.d.ts +0 -8
- package/build/cjs/src/ecom-v1-checkout-template.context.js +0 -107
- package/build/cjs/src/ecom-v1-checkout-template.context.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-template.http.d.ts +0 -56
- package/build/cjs/src/ecom-v1-checkout-template.http.js +0 -298
- package/build/cjs/src/ecom-v1-checkout-template.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-template.meta.d.ts +0 -26
- package/build/cjs/src/ecom-v1-checkout-template.meta.js +0 -142
- package/build/cjs/src/ecom-v1-checkout-template.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-template.public.d.ts +0 -41
- package/build/cjs/src/ecom-v1-checkout-template.public.js +0 -70
- package/build/cjs/src/ecom-v1-checkout-template.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-template.types.d.ts +0 -2087
- package/build/cjs/src/ecom-v1-checkout-template.types.js +0 -198
- package/build/cjs/src/ecom-v1-checkout-template.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-checkout-template.universal.d.ts +0 -1983
- package/build/cjs/src/ecom-v1-checkout-template.universal.js +0 -666
- package/build/cjs/src/ecom-v1-checkout-template.universal.js.map +0 -1
- package/build/cjs/src/ecom-v1-draft-order.http.d.ts +0 -15
- package/build/cjs/src/ecom-v1-draft-order.http.js +0 -194
- package/build/cjs/src/ecom-v1-draft-order.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-draft-order.meta.d.ts +0 -19
- package/build/cjs/src/ecom-v1-draft-order.meta.js +0 -85
- package/build/cjs/src/ecom-v1-draft-order.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-draft-order.public.d.ts +0 -10
- package/build/cjs/src/ecom-v1-draft-order.public.js +0 -49
- package/build/cjs/src/ecom-v1-draft-order.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-draft-order.types.d.ts +0 -3052
- package/build/cjs/src/ecom-v1-draft-order.types.js +0 -245
- package/build/cjs/src/ecom-v1-draft-order.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-draft-order.universal.d.ts +0 -2879
- package/build/cjs/src/ecom-v1-draft-order.universal.js +0 -525
- package/build/cjs/src/ecom-v1-draft-order.universal.js.map +0 -1
- package/build/cjs/src/ecom-v1-fulfillments.context.d.ts +0 -8
- package/build/cjs/src/ecom-v1-fulfillments.context.js +0 -107
- package/build/cjs/src/ecom-v1-fulfillments.context.js.map +0 -1
- package/build/cjs/src/ecom-v1-fulfillments.http.d.ts +0 -47
- package/build/cjs/src/ecom-v1-fulfillments.http.js +0 -249
- package/build/cjs/src/ecom-v1-fulfillments.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-fulfillments.meta.d.ts +0 -28
- package/build/cjs/src/ecom-v1-fulfillments.meta.js +0 -148
- package/build/cjs/src/ecom-v1-fulfillments.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-fulfillments.public.d.ts +0 -21
- package/build/cjs/src/ecom-v1-fulfillments.public.js +0 -47
- package/build/cjs/src/ecom-v1-fulfillments.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-fulfillments.types.d.ts +0 -412
- package/build/cjs/src/ecom-v1-fulfillments.types.js +0 -26
- package/build/cjs/src/ecom-v1-fulfillments.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-fulfillments.universal.d.ts +0 -606
- package/build/cjs/src/ecom-v1-fulfillments.universal.js +0 -487
- package/build/cjs/src/ecom-v1-fulfillments.universal.js.map +0 -1
- package/build/cjs/src/ecom-v1-order-transactions.context.d.ts +0 -7
- package/build/cjs/src/ecom-v1-order-transactions.context.js +0 -90
- package/build/cjs/src/ecom-v1-order-transactions.context.js.map +0 -1
- package/build/cjs/src/ecom-v1-order-transactions.http.d.ts +0 -38
- package/build/cjs/src/ecom-v1-order-transactions.http.js +0 -218
- package/build/cjs/src/ecom-v1-order-transactions.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-order-transactions.meta.d.ts +0 -24
- package/build/cjs/src/ecom-v1-order-transactions.meta.js +0 -123
- package/build/cjs/src/ecom-v1-order-transactions.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-order-transactions.public.d.ts +0 -13
- package/build/cjs/src/ecom-v1-order-transactions.public.js +0 -58
- package/build/cjs/src/ecom-v1-order-transactions.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-order-transactions.types.d.ts +0 -1616
- package/build/cjs/src/ecom-v1-order-transactions.types.js +0 -220
- package/build/cjs/src/ecom-v1-order-transactions.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-order-transactions.universal.d.ts +0 -1696
- package/build/cjs/src/ecom-v1-order-transactions.universal.js +0 -614
- package/build/cjs/src/ecom-v1-order-transactions.universal.js.map +0 -1
- package/build/cjs/src/ecom-v1-order.context.d.ts +0 -7
- package/build/cjs/src/ecom-v1-order.context.js +0 -90
- package/build/cjs/src/ecom-v1-order.context.js.map +0 -1
- package/build/cjs/src/ecom-v1-order.http.d.ts +0 -66
- package/build/cjs/src/ecom-v1-order.http.js +0 -414
- package/build/cjs/src/ecom-v1-order.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-order.meta.d.ts +0 -23
- package/build/cjs/src/ecom-v1-order.meta.js +0 -123
- package/build/cjs/src/ecom-v1-order.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-order.public.d.ts +0 -853
- package/build/cjs/src/ecom-v1-order.public.js +0 -82
- package/build/cjs/src/ecom-v1-order.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-order.types.d.ts +0 -6678
- package/build/cjs/src/ecom-v1-order.types.js +0 -432
- package/build/cjs/src/ecom-v1-order.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-order.universal.d.ts +0 -5481
- package/build/cjs/src/ecom-v1-order.universal.js +0 -923
- package/build/cjs/src/ecom-v1-order.universal.js.map +0 -1
- package/build/cjs/src/ecom-v1-orders-settings.context.d.ts +0 -4
- package/build/cjs/src/ecom-v1-orders-settings.context.js +0 -39
- package/build/cjs/src/ecom-v1-orders-settings.context.js.map +0 -1
- package/build/cjs/src/ecom-v1-orders-settings.http.d.ts +0 -15
- package/build/cjs/src/ecom-v1-orders-settings.http.js +0 -85
- package/build/cjs/src/ecom-v1-orders-settings.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-orders-settings.meta.d.ts +0 -14
- package/build/cjs/src/ecom-v1-orders-settings.meta.js +0 -66
- package/build/cjs/src/ecom-v1-orders-settings.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-orders-settings.public.d.ts +0 -10
- package/build/cjs/src/ecom-v1-orders-settings.public.js +0 -22
- package/build/cjs/src/ecom-v1-orders-settings.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-orders-settings.types.d.ts +0 -119
- package/build/cjs/src/ecom-v1-orders-settings.types.js +0 -10
- package/build/cjs/src/ecom-v1-orders-settings.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-orders-settings.universal.d.ts +0 -170
- package/build/cjs/src/ecom-v1-orders-settings.universal.js +0 -185
- package/build/cjs/src/ecom-v1-orders-settings.universal.js.map +0 -1
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.context.d.ts +0 -5
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.context.js +0 -38
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.context.js.map +0 -1
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.http.d.ts +0 -16
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.http.js +0 -156
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.http.js.map +0 -1
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.meta.d.ts +0 -21
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.meta.js +0 -85
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.meta.js.map +0 -1
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.public.d.ts +0 -9
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.public.js +0 -24
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.public.js.map +0 -1
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.types.d.ts +0 -64
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.types.js +0 -3
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.types.js.map +0 -1
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.universal.d.ts +0 -123
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.universal.js +0 -234
- package/build/cjs/src/ecommerce-currency-converter-v1-currency-rate.universal.js.map +0 -1
- package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.http.d.ts +0 -12
- package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.http.js +0 -90
- package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.http.js.map +0 -1
- package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.meta.d.ts +0 -13
- package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.meta.js +0 -47
- package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.meta.js.map +0 -1
- package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.public.d.ts +0 -8
- package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.public.js +0 -30
- package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.public.js.map +0 -1
- package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.types.d.ts +0 -1164
- package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.types.js +0 -176
- package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.types.js.map +0 -1
- package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.universal.d.ts +0 -1144
- package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.universal.js +0 -303
- package/build/cjs/src/interfaces-ecommerce-v1-payment-settings-provider.universal.js.map +0 -1
- package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.http.d.ts +0 -13
- package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.http.js +0 -65
- package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.http.js.map +0 -1
- package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.meta.d.ts +0 -13
- package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.meta.js +0 -47
- package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.meta.js.map +0 -1
- package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.public.d.ts +0 -8
- package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.public.js +0 -23
- package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.public.js.map +0 -1
- package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.types.d.ts +0 -520
- package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.types.js +0 -84
- package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.types.js.map +0 -1
- package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.universal.d.ts +0 -535
- package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.universal.js +0 -199
- package/build/cjs/src/interfaces-ecommerce-v1-validations-provider.universal.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -19
- package/build/es/index.typings.js +0 -20
- package/build/es/index.typings.js.map +0 -1
- package/build/es/src/ecom-discounts-v1-discount-rule.context.d.ts +0 -7
- package/build/es/src/ecom-discounts-v1-discount-rule.context.js +0 -82
- package/build/es/src/ecom-discounts-v1-discount-rule.context.js.map +0 -1
- package/build/es/src/ecom-discounts-v1-discount-rule.http.d.ts +0 -48
- package/build/es/src/ecom-discounts-v1-discount-rule.http.js +0 -257
- package/build/es/src/ecom-discounts-v1-discount-rule.http.js.map +0 -1
- package/build/es/src/ecom-discounts-v1-discount-rule.meta.d.ts +0 -23
- package/build/es/src/ecom-discounts-v1-discount-rule.meta.js +0 -92
- package/build/es/src/ecom-discounts-v1-discount-rule.meta.js.map +0 -1
- package/build/es/src/ecom-discounts-v1-discount-rule.public.d.ts +0 -205
- package/build/es/src/ecom-discounts-v1-discount-rule.public.js +0 -30
- package/build/es/src/ecom-discounts-v1-discount-rule.public.js.map +0 -1
- package/build/es/src/ecom-discounts-v1-discount-rule.types.d.ts +0 -990
- package/build/es/src/ecom-discounts-v1-discount-rule.types.js +0 -67
- package/build/es/src/ecom-discounts-v1-discount-rule.types.js.map +0 -1
- package/build/es/src/ecom-discounts-v1-discount-rule.universal.d.ts +0 -1086
- package/build/es/src/ecom-discounts-v1-discount-rule.universal.js +0 -424
- package/build/es/src/ecom-discounts-v1-discount-rule.universal.js.map +0 -1
- package/build/es/src/ecom-orders-v1-invoice.context.d.ts +0 -3
- package/build/es/src/ecom-orders-v1-invoice.context.js +0 -18
- package/build/es/src/ecom-orders-v1-invoice.context.js.map +0 -1
- package/build/es/src/ecom-orders-v1-invoice.http.d.ts +0 -8
- package/build/es/src/ecom-orders-v1-invoice.http.js +0 -42
- package/build/es/src/ecom-orders-v1-invoice.http.js.map +0 -1
- package/build/es/src/ecom-orders-v1-invoice.meta.d.ts +0 -13
- package/build/es/src/ecom-orders-v1-invoice.meta.js +0 -20
- package/build/es/src/ecom-orders-v1-invoice.meta.js.map +0 -1
- package/build/es/src/ecom-orders-v1-invoice.public.d.ts +0 -6
- package/build/es/src/ecom-orders-v1-invoice.public.js +0 -8
- package/build/es/src/ecom-orders-v1-invoice.public.js.map +0 -1
- package/build/es/src/ecom-orders-v1-invoice.types.d.ts +0 -172
- package/build/es/src/ecom-orders-v1-invoice.types.js +0 -2
- package/build/es/src/ecom-orders-v1-invoice.types.js.map +0 -1
- package/build/es/src/ecom-orders-v1-invoice.universal.d.ts +0 -201
- package/build/es/src/ecom-orders-v1-invoice.universal.js +0 -90
- package/build/es/src/ecom-orders-v1-invoice.universal.js.map +0 -1
- package/build/es/src/ecom-recommendations-v1-recommendation.context.d.ts +0 -4
- package/build/es/src/ecom-recommendations-v1-recommendation.context.js +0 -34
- package/build/es/src/ecom-recommendations-v1-recommendation.context.js.map +0 -1
- package/build/es/src/ecom-recommendations-v1-recommendation.http.d.ts +0 -37
- package/build/es/src/ecom-recommendations-v1-recommendation.http.js +0 -86
- package/build/es/src/ecom-recommendations-v1-recommendation.http.js.map +0 -1
- package/build/es/src/ecom-recommendations-v1-recommendation.meta.d.ts +0 -14
- package/build/es/src/ecom-recommendations-v1-recommendation.meta.js +0 -38
- package/build/es/src/ecom-recommendations-v1-recommendation.meta.js.map +0 -1
- package/build/es/src/ecom-recommendations-v1-recommendation.public.d.ts +0 -9
- package/build/es/src/ecom-recommendations-v1-recommendation.public.js +0 -14
- package/build/es/src/ecom-recommendations-v1-recommendation.public.js.map +0 -1
- package/build/es/src/ecom-recommendations-v1-recommendation.types.d.ts +0 -136
- package/build/es/src/ecom-recommendations-v1-recommendation.types.js +0 -7
- package/build/es/src/ecom-recommendations-v1-recommendation.types.js.map +0 -1
- package/build/es/src/ecom-recommendations-v1-recommendation.universal.d.ts +0 -206
- package/build/es/src/ecom-recommendations-v1-recommendation.universal.js +0 -179
- package/build/es/src/ecom-recommendations-v1-recommendation.universal.js.map +0 -1
- package/build/es/src/ecom-v1-abandoned-checkout.context.d.ts +0 -3
- package/build/es/src/ecom-v1-abandoned-checkout.context.js +0 -18
- package/build/es/src/ecom-v1-abandoned-checkout.context.js.map +0 -1
- package/build/es/src/ecom-v1-abandoned-checkout.http.d.ts +0 -3
- package/build/es/src/ecom-v1-abandoned-checkout.http.js +0 -51
- package/build/es/src/ecom-v1-abandoned-checkout.http.js.map +0 -1
- package/build/es/src/ecom-v1-abandoned-checkout.meta.d.ts +0 -15
- package/build/es/src/ecom-v1-abandoned-checkout.meta.js +0 -20
- package/build/es/src/ecom-v1-abandoned-checkout.meta.js.map +0 -1
- package/build/es/src/ecom-v1-abandoned-checkout.public.d.ts +0 -39
- package/build/es/src/ecom-v1-abandoned-checkout.public.js +0 -10
- package/build/es/src/ecom-v1-abandoned-checkout.public.js.map +0 -1
- package/build/es/src/ecom-v1-abandoned-checkout.types.d.ts +0 -562
- package/build/es/src/ecom-v1-abandoned-checkout.types.js +0 -53
- package/build/es/src/ecom-v1-abandoned-checkout.types.js.map +0 -1
- package/build/es/src/ecom-v1-abandoned-checkout.universal.d.ts +0 -609
- package/build/es/src/ecom-v1-abandoned-checkout.universal.js +0 -136
- package/build/es/src/ecom-v1-abandoned-checkout.universal.js.map +0 -1
- package/build/es/src/ecom-v1-back-in-stock-notification-request.context.d.ts +0 -9
- package/build/es/src/ecom-v1-back-in-stock-notification-request.context.js +0 -114
- package/build/es/src/ecom-v1-back-in-stock-notification-request.context.js.map +0 -1
- package/build/es/src/ecom-v1-back-in-stock-notification-request.http.d.ts +0 -54
- package/build/es/src/ecom-v1-back-in-stock-notification-request.http.js +0 -233
- package/build/es/src/ecom-v1-back-in-stock-notification-request.http.js.map +0 -1
- package/build/es/src/ecom-v1-back-in-stock-notification-request.meta.d.ts +0 -25
- package/build/es/src/ecom-v1-back-in-stock-notification-request.meta.js +0 -128
- package/build/es/src/ecom-v1-back-in-stock-notification-request.meta.js.map +0 -1
- package/build/es/src/ecom-v1-back-in-stock-notification-request.public.d.ts +0 -29
- package/build/es/src/ecom-v1-back-in-stock-notification-request.public.js +0 -40
- package/build/es/src/ecom-v1-back-in-stock-notification-request.public.js.map +0 -1
- package/build/es/src/ecom-v1-back-in-stock-notification-request.types.d.ts +0 -438
- package/build/es/src/ecom-v1-back-in-stock-notification-request.types.js +0 -15
- package/build/es/src/ecom-v1-back-in-stock-notification-request.types.js.map +0 -1
- package/build/es/src/ecom-v1-back-in-stock-notification-request.universal.d.ts +0 -648
- package/build/es/src/ecom-v1-back-in-stock-notification-request.universal.js +0 -501
- package/build/es/src/ecom-v1-back-in-stock-notification-request.universal.js.map +0 -1
- package/build/es/src/ecom-v1-back-in-stock-settings.context.d.ts +0 -5
- package/build/es/src/ecom-v1-back-in-stock-settings.context.js +0 -50
- package/build/es/src/ecom-v1-back-in-stock-settings.context.js.map +0 -1
- package/build/es/src/ecom-v1-back-in-stock-settings.http.d.ts +0 -18
- package/build/es/src/ecom-v1-back-in-stock-settings.http.js +0 -84
- package/build/es/src/ecom-v1-back-in-stock-settings.http.js.map +0 -1
- package/build/es/src/ecom-v1-back-in-stock-settings.meta.d.ts +0 -15
- package/build/es/src/ecom-v1-back-in-stock-settings.meta.js +0 -56
- package/build/es/src/ecom-v1-back-in-stock-settings.meta.js.map +0 -1
- package/build/es/src/ecom-v1-back-in-stock-settings.public.d.ts +0 -8
- package/build/es/src/ecom-v1-back-in-stock-settings.public.js +0 -18
- package/build/es/src/ecom-v1-back-in-stock-settings.public.js.map +0 -1
- package/build/es/src/ecom-v1-back-in-stock-settings.types.d.ts +0 -63
- package/build/es/src/ecom-v1-back-in-stock-settings.types.js +0 -2
- package/build/es/src/ecom-v1-back-in-stock-settings.types.js.map +0 -1
- package/build/es/src/ecom-v1-back-in-stock-settings.universal.d.ts +0 -94
- package/build/es/src/ecom-v1-back-in-stock-settings.universal.js +0 -181
- package/build/es/src/ecom-v1-back-in-stock-settings.universal.js.map +0 -1
- package/build/es/src/ecom-v1-cart-cart.context.d.ts +0 -12
- package/build/es/src/ecom-v1-cart-cart.context.js +0 -162
- package/build/es/src/ecom-v1-cart-cart.context.js.map +0 -1
- package/build/es/src/ecom-v1-cart-cart.http.d.ts +0 -116
- package/build/es/src/ecom-v1-cart-cart.http.js +0 -1097
- package/build/es/src/ecom-v1-cart-cart.http.js.map +0 -1
- package/build/es/src/ecom-v1-cart-cart.meta.d.ts +0 -40
- package/build/es/src/ecom-v1-cart-cart.meta.js +0 -182
- package/build/es/src/ecom-v1-cart-cart.meta.js.map +0 -1
- package/build/es/src/ecom-v1-cart-cart.public.d.ts +0 -315
- package/build/es/src/ecom-v1-cart-cart.public.js +0 -55
- package/build/es/src/ecom-v1-cart-cart.public.js.map +0 -1
- package/build/es/src/ecom-v1-cart-cart.types.d.ts +0 -3845
- package/build/es/src/ecom-v1-cart-cart.types.js +0 -184
- package/build/es/src/ecom-v1-cart-cart.types.js.map +0 -1
- package/build/es/src/ecom-v1-cart-cart.universal.d.ts +0 -3539
- package/build/es/src/ecom-v1-cart-cart.universal.js +0 -963
- package/build/es/src/ecom-v1-cart-cart.universal.js.map +0 -1
- package/build/es/src/ecom-v1-cart-current-cart.context.d.ts +0 -11
- package/build/es/src/ecom-v1-cart-current-cart.context.js +0 -146
- package/build/es/src/ecom-v1-cart-current-cart.context.js.map +0 -1
- package/build/es/src/ecom-v1-cart-current-cart.http.d.ts +0 -164
- package/build/es/src/ecom-v1-cart-current-cart.http.js +0 -1145
- package/build/es/src/ecom-v1-cart-current-cart.http.js.map +0 -1
- package/build/es/src/ecom-v1-cart-current-cart.meta.d.ts +0 -21
- package/build/es/src/ecom-v1-cart-current-cart.meta.js +0 -164
- package/build/es/src/ecom-v1-cart-current-cart.meta.js.map +0 -1
- package/build/es/src/ecom-v1-cart-current-cart.public.d.ts +0 -215
- package/build/es/src/ecom-v1-cart-current-cart.public.js +0 -50
- package/build/es/src/ecom-v1-cart-current-cart.public.js.map +0 -1
- package/build/es/src/ecom-v1-cart-current-cart.types.d.ts +0 -3845
- package/build/es/src/ecom-v1-cart-current-cart.types.js +0 -184
- package/build/es/src/ecom-v1-cart-current-cart.types.js.map +0 -1
- package/build/es/src/ecom-v1-cart-current-cart.universal.d.ts +0 -3403
- package/build/es/src/ecom-v1-cart-current-cart.universal.js +0 -855
- package/build/es/src/ecom-v1-cart-current-cart.universal.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-checkout.context.d.ts +0 -14
- package/build/es/src/ecom-v1-checkout-checkout.context.js +0 -194
- package/build/es/src/ecom-v1-checkout-checkout.context.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-checkout.http.d.ts +0 -113
- package/build/es/src/ecom-v1-checkout-checkout.http.js +0 -996
- package/build/es/src/ecom-v1-checkout-checkout.http.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-checkout.meta.d.ts +0 -46
- package/build/es/src/ecom-v1-checkout-checkout.meta.js +0 -218
- package/build/es/src/ecom-v1-checkout-checkout.meta.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-checkout.public.d.ts +0 -2057
- package/build/es/src/ecom-v1-checkout-checkout.public.js +0 -65
- package/build/es/src/ecom-v1-checkout-checkout.public.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-checkout.types.d.ts +0 -10784
- package/build/es/src/ecom-v1-checkout-checkout.types.js +0 -234
- package/build/es/src/ecom-v1-checkout-checkout.types.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-checkout.universal.d.ts +0 -8780
- package/build/es/src/ecom-v1-checkout-checkout.universal.js +0 -1260
- package/build/es/src/ecom-v1-checkout-checkout.universal.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-settings.context.d.ts +0 -4
- package/build/es/src/ecom-v1-checkout-settings.context.js +0 -34
- package/build/es/src/ecom-v1-checkout-settings.context.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-settings.http.d.ts +0 -15
- package/build/es/src/ecom-v1-checkout-settings.http.js +0 -80
- package/build/es/src/ecom-v1-checkout-settings.http.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-settings.meta.d.ts +0 -14
- package/build/es/src/ecom-v1-checkout-settings.meta.js +0 -38
- package/build/es/src/ecom-v1-checkout-settings.meta.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-settings.public.d.ts +0 -9
- package/build/es/src/ecom-v1-checkout-settings.public.js +0 -14
- package/build/es/src/ecom-v1-checkout-settings.public.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-settings.types.d.ts +0 -210
- package/build/es/src/ecom-v1-checkout-settings.types.js +0 -2
- package/build/es/src/ecom-v1-checkout-settings.types.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-settings.universal.d.ts +0 -259
- package/build/es/src/ecom-v1-checkout-settings.universal.js +0 -151
- package/build/es/src/ecom-v1-checkout-settings.universal.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-template.context.d.ts +0 -8
- package/build/es/src/ecom-v1-checkout-template.context.js +0 -98
- package/build/es/src/ecom-v1-checkout-template.context.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-template.http.d.ts +0 -56
- package/build/es/src/ecom-v1-checkout-template.http.js +0 -289
- package/build/es/src/ecom-v1-checkout-template.http.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-template.meta.d.ts +0 -26
- package/build/es/src/ecom-v1-checkout-template.meta.js +0 -110
- package/build/es/src/ecom-v1-checkout-template.meta.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-template.public.d.ts +0 -41
- package/build/es/src/ecom-v1-checkout-template.public.js +0 -35
- package/build/es/src/ecom-v1-checkout-template.public.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-template.types.d.ts +0 -2087
- package/build/es/src/ecom-v1-checkout-template.types.js +0 -195
- package/build/es/src/ecom-v1-checkout-template.types.js.map +0 -1
- package/build/es/src/ecom-v1-checkout-template.universal.d.ts +0 -1983
- package/build/es/src/ecom-v1-checkout-template.universal.js +0 -634
- package/build/es/src/ecom-v1-checkout-template.universal.js.map +0 -1
- package/build/es/src/ecom-v1-draft-order.http.d.ts +0 -15
- package/build/es/src/ecom-v1-draft-order.http.js +0 -188
- package/build/es/src/ecom-v1-draft-order.http.js.map +0 -1
- package/build/es/src/ecom-v1-draft-order.meta.d.ts +0 -19
- package/build/es/src/ecom-v1-draft-order.meta.js +0 -56
- package/build/es/src/ecom-v1-draft-order.meta.js.map +0 -1
- package/build/es/src/ecom-v1-draft-order.public.d.ts +0 -10
- package/build/es/src/ecom-v1-draft-order.public.js +0 -19
- package/build/es/src/ecom-v1-draft-order.public.js.map +0 -1
- package/build/es/src/ecom-v1-draft-order.types.d.ts +0 -3052
- package/build/es/src/ecom-v1-draft-order.types.js +0 -242
- package/build/es/src/ecom-v1-draft-order.types.js.map +0 -1
- package/build/es/src/ecom-v1-draft-order.universal.d.ts +0 -2879
- package/build/es/src/ecom-v1-draft-order.universal.js +0 -496
- package/build/es/src/ecom-v1-draft-order.universal.js.map +0 -1
- package/build/es/src/ecom-v1-fulfillments.context.d.ts +0 -8
- package/build/es/src/ecom-v1-fulfillments.context.js +0 -98
- package/build/es/src/ecom-v1-fulfillments.context.js.map +0 -1
- package/build/es/src/ecom-v1-fulfillments.http.d.ts +0 -47
- package/build/es/src/ecom-v1-fulfillments.http.js +0 -240
- package/build/es/src/ecom-v1-fulfillments.http.js.map +0 -1
- package/build/es/src/ecom-v1-fulfillments.meta.d.ts +0 -28
- package/build/es/src/ecom-v1-fulfillments.meta.js +0 -116
- package/build/es/src/ecom-v1-fulfillments.meta.js.map +0 -1
- package/build/es/src/ecom-v1-fulfillments.public.d.ts +0 -21
- package/build/es/src/ecom-v1-fulfillments.public.js +0 -35
- package/build/es/src/ecom-v1-fulfillments.public.js.map +0 -1
- package/build/es/src/ecom-v1-fulfillments.types.d.ts +0 -412
- package/build/es/src/ecom-v1-fulfillments.types.js +0 -23
- package/build/es/src/ecom-v1-fulfillments.types.js.map +0 -1
- package/build/es/src/ecom-v1-fulfillments.universal.d.ts +0 -606
- package/build/es/src/ecom-v1-fulfillments.universal.js +0 -455
- package/build/es/src/ecom-v1-fulfillments.universal.js.map +0 -1
- package/build/es/src/ecom-v1-order-transactions.context.d.ts +0 -7
- package/build/es/src/ecom-v1-order-transactions.context.js +0 -82
- package/build/es/src/ecom-v1-order-transactions.context.js.map +0 -1
- package/build/es/src/ecom-v1-order-transactions.http.d.ts +0 -38
- package/build/es/src/ecom-v1-order-transactions.http.js +0 -210
- package/build/es/src/ecom-v1-order-transactions.http.js.map +0 -1
- package/build/es/src/ecom-v1-order-transactions.meta.d.ts +0 -24
- package/build/es/src/ecom-v1-order-transactions.meta.js +0 -92
- package/build/es/src/ecom-v1-order-transactions.meta.js.map +0 -1
- package/build/es/src/ecom-v1-order-transactions.public.d.ts +0 -13
- package/build/es/src/ecom-v1-order-transactions.public.js +0 -30
- package/build/es/src/ecom-v1-order-transactions.public.js.map +0 -1
- package/build/es/src/ecom-v1-order-transactions.types.d.ts +0 -1616
- package/build/es/src/ecom-v1-order-transactions.types.js +0 -217
- package/build/es/src/ecom-v1-order-transactions.types.js.map +0 -1
- package/build/es/src/ecom-v1-order-transactions.universal.d.ts +0 -1696
- package/build/es/src/ecom-v1-order-transactions.universal.js +0 -583
- package/build/es/src/ecom-v1-order-transactions.universal.js.map +0 -1
- package/build/es/src/ecom-v1-order.context.d.ts +0 -7
- package/build/es/src/ecom-v1-order.context.js +0 -82
- package/build/es/src/ecom-v1-order.context.js.map +0 -1
- package/build/es/src/ecom-v1-order.http.d.ts +0 -66
- package/build/es/src/ecom-v1-order.http.js +0 -406
- package/build/es/src/ecom-v1-order.http.js.map +0 -1
- package/build/es/src/ecom-v1-order.meta.d.ts +0 -23
- package/build/es/src/ecom-v1-order.meta.js +0 -92
- package/build/es/src/ecom-v1-order.meta.js.map +0 -1
- package/build/es/src/ecom-v1-order.public.d.ts +0 -853
- package/build/es/src/ecom-v1-order.public.js +0 -30
- package/build/es/src/ecom-v1-order.public.js.map +0 -1
- package/build/es/src/ecom-v1-order.types.d.ts +0 -6678
- package/build/es/src/ecom-v1-order.types.js +0 -429
- package/build/es/src/ecom-v1-order.types.js.map +0 -1
- package/build/es/src/ecom-v1-order.universal.d.ts +0 -5481
- package/build/es/src/ecom-v1-order.universal.js +0 -892
- package/build/es/src/ecom-v1-order.universal.js.map +0 -1
- package/build/es/src/ecom-v1-orders-settings.context.d.ts +0 -4
- package/build/es/src/ecom-v1-orders-settings.context.js +0 -34
- package/build/es/src/ecom-v1-orders-settings.context.js.map +0 -1
- package/build/es/src/ecom-v1-orders-settings.http.d.ts +0 -15
- package/build/es/src/ecom-v1-orders-settings.http.js +0 -80
- package/build/es/src/ecom-v1-orders-settings.http.js.map +0 -1
- package/build/es/src/ecom-v1-orders-settings.meta.d.ts +0 -14
- package/build/es/src/ecom-v1-orders-settings.meta.js +0 -38
- package/build/es/src/ecom-v1-orders-settings.meta.js.map +0 -1
- package/build/es/src/ecom-v1-orders-settings.public.d.ts +0 -10
- package/build/es/src/ecom-v1-orders-settings.public.js +0 -15
- package/build/es/src/ecom-v1-orders-settings.public.js.map +0 -1
- package/build/es/src/ecom-v1-orders-settings.types.d.ts +0 -119
- package/build/es/src/ecom-v1-orders-settings.types.js +0 -7
- package/build/es/src/ecom-v1-orders-settings.types.js.map +0 -1
- package/build/es/src/ecom-v1-orders-settings.universal.d.ts +0 -170
- package/build/es/src/ecom-v1-orders-settings.universal.js +0 -157
- package/build/es/src/ecom-v1-orders-settings.universal.js.map +0 -1
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.context.d.ts +0 -5
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.context.js +0 -32
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.context.js.map +0 -1
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.http.d.ts +0 -16
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.http.js +0 -150
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.http.js.map +0 -1
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.meta.d.ts +0 -21
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.meta.js +0 -56
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.meta.js.map +0 -1
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.public.d.ts +0 -9
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.public.js +0 -18
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.public.js.map +0 -1
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.types.d.ts +0 -64
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.types.js +0 -2
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.types.js.map +0 -1
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.universal.d.ts +0 -123
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.universal.js +0 -205
- package/build/es/src/ecommerce-currency-converter-v1-currency-rate.universal.js.map +0 -1
- package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.http.d.ts +0 -12
- package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.http.js +0 -86
- package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.http.js.map +0 -1
- package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.meta.d.ts +0 -13
- package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.meta.js +0 -20
- package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.meta.js.map +0 -1
- package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.public.d.ts +0 -8
- package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.public.js +0 -9
- package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.public.js.map +0 -1
- package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.types.d.ts +0 -1164
- package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.types.js +0 -173
- package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.types.js.map +0 -1
- package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.universal.d.ts +0 -1144
- package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.universal.js +0 -276
- package/build/es/src/interfaces-ecommerce-v1-payment-settings-provider.universal.js.map +0 -1
- package/build/es/src/interfaces-ecommerce-v1-validations-provider.http.d.ts +0 -13
- package/build/es/src/interfaces-ecommerce-v1-validations-provider.http.js +0 -61
- package/build/es/src/interfaces-ecommerce-v1-validations-provider.http.js.map +0 -1
- package/build/es/src/interfaces-ecommerce-v1-validations-provider.meta.d.ts +0 -13
- package/build/es/src/interfaces-ecommerce-v1-validations-provider.meta.js +0 -20
- package/build/es/src/interfaces-ecommerce-v1-validations-provider.meta.js.map +0 -1
- package/build/es/src/interfaces-ecommerce-v1-validations-provider.public.d.ts +0 -8
- package/build/es/src/interfaces-ecommerce-v1-validations-provider.public.js +0 -9
- package/build/es/src/interfaces-ecommerce-v1-validations-provider.public.js.map +0 -1
- package/build/es/src/interfaces-ecommerce-v1-validations-provider.types.d.ts +0 -520
- package/build/es/src/interfaces-ecommerce-v1-validations-provider.types.js +0 -81
- package/build/es/src/interfaces-ecommerce-v1-validations-provider.types.js.map +0 -1
- package/build/es/src/interfaces-ecommerce-v1-validations-provider.universal.d.ts +0 -535
- package/build/es/src/interfaces-ecommerce-v1-validations-provider.universal.js +0 -172
- package/build/es/src/interfaces-ecommerce-v1-validations-provider.universal.js.map +0 -1
|
@@ -1,648 +0,0 @@
|
|
|
1
|
-
import { EventDefinition } from '@wix/sdk-types';
|
|
2
|
-
/**
|
|
3
|
-
* The back in stock notification request allows a customer to receive a notifiction when a specific item
|
|
4
|
-
* is available again. The request includes information about the person making the request, the item
|
|
5
|
-
* they want to receive a notification for, and the status of the notification.
|
|
6
|
-
*/
|
|
7
|
-
export interface BackInStockNotificationRequest {
|
|
8
|
-
/**
|
|
9
|
-
* Request ID.
|
|
10
|
-
* @readonly
|
|
11
|
-
*/
|
|
12
|
-
_id?: string | null;
|
|
13
|
-
/**
|
|
14
|
-
* Catalog and item reference that the notification request is for.
|
|
15
|
-
*
|
|
16
|
-
* Includes IDs for the catalog and item it came from, as well as additional, optional information.
|
|
17
|
-
*/
|
|
18
|
-
catalogReference?: CatalogReference;
|
|
19
|
-
/** Email address to send notification to about item being back in stock. */
|
|
20
|
-
email?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Contact ID for the contact with this `email`.
|
|
23
|
-
*
|
|
24
|
-
* If a contact does not already exist with the email address submitted when creating this request, then a new contact is created.
|
|
25
|
-
* For more information about contacts, see the Contacts API.
|
|
26
|
-
* @readonly
|
|
27
|
-
*/
|
|
28
|
-
contactId?: string | null;
|
|
29
|
-
/**
|
|
30
|
-
* Status of the notification.
|
|
31
|
-
*
|
|
32
|
-
* `status` is set to `RECEIVED` when the notification request is created. The `status` changes once a notification email is sent for this request object:
|
|
33
|
-
* + When a notification email is sent through the site, either automatically or with the `reportItemsBackInStock()` function, then the `status` is briefly set to `PROCESSING` and then set to `NOTIFICATION_SENT` if the email is successul, and `FAILED` if it fails.
|
|
34
|
-
* + When a notification email is sent offline, use the `markAsNotificationSent()` function to set `status` to `NOTIFICATION_SENT`.
|
|
35
|
-
* @readonly
|
|
36
|
-
*/
|
|
37
|
-
status?: Status;
|
|
38
|
-
/**
|
|
39
|
-
* Whether a notification was sent automatically.
|
|
40
|
-
*
|
|
41
|
-
* `autoNotified` is empty when the notification request is created and is not returned until the field has a value. `autoNotified` receives a value when a notification email is sent for this request object.
|
|
42
|
-
*
|
|
43
|
-
* `autoNotified` sets to `true` if the notification is sent through the site, either automatically or with the `reportItemsBackInStock()` function. If the notification email is sent offline but the `status` is updated with the `markAsNotificationSent()` function, then `autoNotified` sets to `false`.
|
|
44
|
-
* @readonly
|
|
45
|
-
*/
|
|
46
|
-
autoNotified?: boolean | null;
|
|
47
|
-
/**
|
|
48
|
-
* Date and time the notification request was created.
|
|
49
|
-
* @readonly
|
|
50
|
-
*/
|
|
51
|
-
_createdDate?: Date;
|
|
52
|
-
/** Item URL for this request. */
|
|
53
|
-
itemUrl?: string | null;
|
|
54
|
-
}
|
|
55
|
-
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
56
|
-
export interface CatalogReference {
|
|
57
|
-
/** ID of the item within the catalog it belongs to. */
|
|
58
|
-
catalogItemId?: string;
|
|
59
|
-
/**
|
|
60
|
-
* ID of the app providing the catalog.
|
|
61
|
-
*
|
|
62
|
-
* You can get your app's ID from its page in the [Wix Dev Center](https://dev.wix.com/apps).
|
|
63
|
-
*
|
|
64
|
-
* For items from Wix catalogs, the following values always apply:
|
|
65
|
-
* + Wix Stores: `"215238eb-22a5-4c36-9e7b-e7c08025e04e"`
|
|
66
|
-
* + Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`
|
|
67
|
-
* + Wix Restaurants: `"9a5d83fd-8570-482e-81ab-cfa88942ee60"`
|
|
68
|
-
*/
|
|
69
|
-
appId?: string;
|
|
70
|
-
/**
|
|
71
|
-
* Additional item details in key:value pairs. Use this optional field to provide more specificity with item selection. The `options` field values differ depending on which catalog is providing the items.
|
|
72
|
-
*
|
|
73
|
-
* For products and variants from a Wix Stores catalog, learn more about [eCommerce integration](https://dev.wix.com/docs/rest/business-solutions/stores/catalog/e-commerce-integration).
|
|
74
|
-
*/
|
|
75
|
-
options?: Record<string, any> | null;
|
|
76
|
-
}
|
|
77
|
-
export declare enum Status {
|
|
78
|
-
UNSPECIFIED = "UNSPECIFIED",
|
|
79
|
-
/** initial status of all new requests */
|
|
80
|
-
RECEIVED = "RECEIVED",
|
|
81
|
-
PROCESSING = "PROCESSING",
|
|
82
|
-
NOTIFICATION_SENT = "NOTIFICATION_SENT",
|
|
83
|
-
FAILED = "FAILED"
|
|
84
|
-
}
|
|
85
|
-
export interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
86
|
-
/** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
|
|
87
|
-
metaSiteId?: string;
|
|
88
|
-
/** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
|
|
89
|
-
siteId?: string;
|
|
90
|
-
/** Invalidate by App */
|
|
91
|
-
app?: App;
|
|
92
|
-
/** Invalidate by page id */
|
|
93
|
-
page?: Page;
|
|
94
|
-
/** Invalidate by URI path */
|
|
95
|
-
uri?: URI;
|
|
96
|
-
/** tell us why you're invalidating the cache. You don't need to add your app name */
|
|
97
|
-
reason?: string | null;
|
|
98
|
-
/** Is local DS */
|
|
99
|
-
localDc?: boolean;
|
|
100
|
-
}
|
|
101
|
-
/** @oneof */
|
|
102
|
-
export interface InvalidateCacheGetByOneOf {
|
|
103
|
-
/** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
|
|
104
|
-
metaSiteId?: string;
|
|
105
|
-
/** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
|
|
106
|
-
siteId?: string;
|
|
107
|
-
/** Invalidate by App */
|
|
108
|
-
app?: App;
|
|
109
|
-
/** Invalidate by page id */
|
|
110
|
-
page?: Page;
|
|
111
|
-
/** Invalidate by URI path */
|
|
112
|
-
uri?: URI;
|
|
113
|
-
}
|
|
114
|
-
export interface App {
|
|
115
|
-
/** The AppDefId */
|
|
116
|
-
appDefId?: string;
|
|
117
|
-
/** The instance Id */
|
|
118
|
-
instanceId?: string;
|
|
119
|
-
}
|
|
120
|
-
export interface Page {
|
|
121
|
-
/** the msid the page is on */
|
|
122
|
-
metaSiteId?: string;
|
|
123
|
-
/** Invalidate by Page ID */
|
|
124
|
-
pageId?: string;
|
|
125
|
-
}
|
|
126
|
-
export interface URI {
|
|
127
|
-
/** the msid the URI is on */
|
|
128
|
-
metaSiteId?: string;
|
|
129
|
-
/** URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes */
|
|
130
|
-
uriPath?: string;
|
|
131
|
-
}
|
|
132
|
-
export interface CreateBackInStockNotificationRequestRequest {
|
|
133
|
-
/**
|
|
134
|
-
* Notification request information.
|
|
135
|
-
*
|
|
136
|
-
* Includes details for the out of stock item and the email address
|
|
137
|
-
* requesting to be notified when it's back in stock.
|
|
138
|
-
*/
|
|
139
|
-
request: BackInStockNotificationRequest;
|
|
140
|
-
/** Item details to include in the notification when the item is back in stock. */
|
|
141
|
-
itemDetails: BackInStockItemDetails;
|
|
142
|
-
}
|
|
143
|
-
export interface BackInStockItemDetails {
|
|
144
|
-
/** Item name. */
|
|
145
|
-
name?: string;
|
|
146
|
-
/** Item price. */
|
|
147
|
-
price?: string;
|
|
148
|
-
/** Item image. */
|
|
149
|
-
image?: string;
|
|
150
|
-
}
|
|
151
|
-
export interface CreateBackInStockNotificationRequestResponse {
|
|
152
|
-
/** Created back in stock notification request. */
|
|
153
|
-
request?: BackInStockNotificationRequest;
|
|
154
|
-
}
|
|
155
|
-
export interface GetBackInStockNotificationRequestRequest {
|
|
156
|
-
/** ID of the notification request to retrieve. */
|
|
157
|
-
_id: string;
|
|
158
|
-
}
|
|
159
|
-
export interface GetBackInStockNotificationRequestResponse {
|
|
160
|
-
/** Retrieved back in stock notification request. */
|
|
161
|
-
request?: BackInStockNotificationRequest;
|
|
162
|
-
}
|
|
163
|
-
export interface DeleteBackInStockNotificationRequestRequest {
|
|
164
|
-
/** ID of the notification request to delete. */
|
|
165
|
-
_id: string;
|
|
166
|
-
}
|
|
167
|
-
export interface DeleteBackInStockNotificationRequestResponse {
|
|
168
|
-
}
|
|
169
|
-
export interface MarkAsNotificationSentRequest {
|
|
170
|
-
/** ID of the notification request to mark. */
|
|
171
|
-
_id: string;
|
|
172
|
-
}
|
|
173
|
-
export interface MarkAsNotificationSentResponse {
|
|
174
|
-
/** Marked back in stock notification request. */
|
|
175
|
-
request?: BackInStockNotificationRequest;
|
|
176
|
-
}
|
|
177
|
-
export interface QueryBackInStockNotificationRequestsRequest {
|
|
178
|
-
/** Query options. */
|
|
179
|
-
query: PlatformQuery;
|
|
180
|
-
}
|
|
181
|
-
export interface PlatformQuery extends PlatformQueryPagingMethodOneOf {
|
|
182
|
-
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
183
|
-
paging?: PlatformPaging;
|
|
184
|
-
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
185
|
-
cursorPaging?: CursorPaging;
|
|
186
|
-
/** Filter object. */
|
|
187
|
-
filter?: Record<string, any> | null;
|
|
188
|
-
/** Sorting options. For example, `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]`. */
|
|
189
|
-
sort?: Sorting[];
|
|
190
|
-
}
|
|
191
|
-
/** @oneof */
|
|
192
|
-
export interface PlatformQueryPagingMethodOneOf {
|
|
193
|
-
/** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */
|
|
194
|
-
paging?: PlatformPaging;
|
|
195
|
-
/** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */
|
|
196
|
-
cursorPaging?: CursorPaging;
|
|
197
|
-
}
|
|
198
|
-
export interface Sorting {
|
|
199
|
-
/** Name of the field to sort by. */
|
|
200
|
-
fieldName?: string;
|
|
201
|
-
/** Sort order. */
|
|
202
|
-
order?: SortOrder;
|
|
203
|
-
}
|
|
204
|
-
export declare enum SortOrder {
|
|
205
|
-
ASC = "ASC",
|
|
206
|
-
DESC = "DESC"
|
|
207
|
-
}
|
|
208
|
-
export interface PlatformPaging {
|
|
209
|
-
/** Number of items to load. */
|
|
210
|
-
limit?: number | null;
|
|
211
|
-
/** Number of items to skip in the current sort order. */
|
|
212
|
-
offset?: number | null;
|
|
213
|
-
}
|
|
214
|
-
export interface CursorPaging {
|
|
215
|
-
/** Maximum number of items to return in the results. */
|
|
216
|
-
limit?: number | null;
|
|
217
|
-
/**
|
|
218
|
-
* Pointer to the next or previous page in the list of results.
|
|
219
|
-
*
|
|
220
|
-
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
221
|
-
* Not relevant for the first request.
|
|
222
|
-
*/
|
|
223
|
-
cursor?: string | null;
|
|
224
|
-
}
|
|
225
|
-
export interface QueryBackInStockNotificationRequestsResponse {
|
|
226
|
-
/** Retrieved back in stock requests. */
|
|
227
|
-
requests?: BackInStockNotificationRequest[];
|
|
228
|
-
/** Details on the paged set of results returned. */
|
|
229
|
-
metadata?: PlatformPagingMetadata;
|
|
230
|
-
}
|
|
231
|
-
export interface PlatformPagingMetadata {
|
|
232
|
-
/** The number of items returned in this response. */
|
|
233
|
-
count?: number | null;
|
|
234
|
-
/** The offset which was requested. Returned if offset paging was used. */
|
|
235
|
-
offset?: number | null;
|
|
236
|
-
/** The total number of items that match the query. Returned if offset paging was used. */
|
|
237
|
-
total?: number | null;
|
|
238
|
-
/** Cursors to navigate through result pages. Returned if cursor paging was used. */
|
|
239
|
-
cursors?: Cursors;
|
|
240
|
-
}
|
|
241
|
-
export interface Cursors {
|
|
242
|
-
/** Cursor string pointing to the next page in the list of results. */
|
|
243
|
-
next?: string | null;
|
|
244
|
-
/** Cursor pointing to the previous page in the list of results. */
|
|
245
|
-
prev?: string | null;
|
|
246
|
-
}
|
|
247
|
-
export interface GetBackInStockNotificationRequestsCountByCatalogReferencesRequest {
|
|
248
|
-
/** `catalogReference` items to retrieve the notification request for. */
|
|
249
|
-
catalogReferences: CatalogReference[];
|
|
250
|
-
}
|
|
251
|
-
export interface GetBackInStockNotificationRequestsCountByCatalogReferencesResponse {
|
|
252
|
-
/** Amount of back in stock notifications for each of the retrieved `catalogReference` items. */
|
|
253
|
-
countsPerCatalogReference?: BackInStockNotificationRequestsCount[];
|
|
254
|
-
}
|
|
255
|
-
/** Maps each back in stock CatalogReference to the results (the number of unique occurrences). */
|
|
256
|
-
export interface BackInStockNotificationRequestsCount {
|
|
257
|
-
/**
|
|
258
|
-
* Catalog and item reference.
|
|
259
|
-
*
|
|
260
|
-
* Includes IDs and additional, optional information related to the item.
|
|
261
|
-
*/
|
|
262
|
-
catalogReference?: CatalogReference;
|
|
263
|
-
/** The number of unique back in stock requests for given `catalogReference`. */
|
|
264
|
-
count?: number;
|
|
265
|
-
}
|
|
266
|
-
export interface ReportItemsBackInStockRequest {
|
|
267
|
-
/**
|
|
268
|
-
* `catalogReference` item to send notifications for.
|
|
269
|
-
*
|
|
270
|
-
* Cannot be used with `requestIds`.
|
|
271
|
-
*/
|
|
272
|
-
catalogReference?: CatalogReference;
|
|
273
|
-
/**
|
|
274
|
-
* IDs of requests to send notifications for.
|
|
275
|
-
*
|
|
276
|
-
* Cannot be used with `catalogReference`.
|
|
277
|
-
*/
|
|
278
|
-
requestIds?: string[];
|
|
279
|
-
/**
|
|
280
|
-
* Item details to use in notifications.
|
|
281
|
-
*
|
|
282
|
-
* `itemDetails` may populate dynamic valyes in the notification template, as follows:
|
|
283
|
-
* + `itemDetails.name` passes to the template as `item.name`
|
|
284
|
-
* + `itemDetails.price` passes to the template as `item.price`
|
|
285
|
-
* + `itemDetails.image.url` passes to the template as `item.image.url`
|
|
286
|
-
*
|
|
287
|
-
* Use `extraAutomationTemplateParameters` to pass additional dynamic values.
|
|
288
|
-
*/
|
|
289
|
-
itemDetails: BackInStockItemDetails;
|
|
290
|
-
/** Additional key-value pairs to pass to the back in stock notification template. */
|
|
291
|
-
extraAutomationTemplateParameters?: Record<string, string>;
|
|
292
|
-
}
|
|
293
|
-
export interface ReportItemsBackInStockResponse {
|
|
294
|
-
}
|
|
295
|
-
export interface DomainEvent<T = string> extends DomainEventBodyOneOf<T> {
|
|
296
|
-
createdEvent?: EntityCreatedEvent<T>;
|
|
297
|
-
updatedEvent?: EntityUpdatedEvent<T>;
|
|
298
|
-
deletedEvent?: EntityDeletedEvent<T>;
|
|
299
|
-
actionEvent?: ActionEvent<T>;
|
|
300
|
-
/**
|
|
301
|
-
* Unique event ID.
|
|
302
|
-
* Allows clients to ignore duplicate webhooks.
|
|
303
|
-
*/
|
|
304
|
-
_id?: string;
|
|
305
|
-
/**
|
|
306
|
-
* Assumes actions are also always typed to an entity_type
|
|
307
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
308
|
-
*/
|
|
309
|
-
entityFqdn?: string;
|
|
310
|
-
/**
|
|
311
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
312
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
313
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
314
|
-
*/
|
|
315
|
-
slug?: string;
|
|
316
|
-
/** ID of the entity associated with the event. */
|
|
317
|
-
entityId?: string;
|
|
318
|
-
/** Event timestamp. */
|
|
319
|
-
eventTime?: Date;
|
|
320
|
-
/**
|
|
321
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
322
|
-
* (for example, GDPR).
|
|
323
|
-
*/
|
|
324
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
325
|
-
/** If present, indicates the action that triggered the event. */
|
|
326
|
-
originatedFrom?: string | null;
|
|
327
|
-
/**
|
|
328
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
329
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
330
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
331
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
332
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
333
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
334
|
-
*/
|
|
335
|
-
entityEventSequence?: string | null;
|
|
336
|
-
}
|
|
337
|
-
export interface DomainCreatedEvent<T> extends Omit<DomainEvent<T>, 'deletedEvent' | 'updatedEvent' | 'actionEvent'> {
|
|
338
|
-
}
|
|
339
|
-
export interface DomainDeletedEvent<T> extends Omit<DomainEvent<T>, 'createdEvent' | 'updatedEvent' | 'actionEvent'> {
|
|
340
|
-
}
|
|
341
|
-
export interface DomainUpdatedEvent<T> extends Omit<DomainEvent<T>, 'createdEvent' | 'deletedEvent' | 'actionEvent'> {
|
|
342
|
-
}
|
|
343
|
-
export interface DomainActionEvent<T> extends Omit<DomainEvent<T>, 'createdEvent' | 'deletedEvent' | 'updatedEvent'> {
|
|
344
|
-
}
|
|
345
|
-
/** @oneof */
|
|
346
|
-
export interface DomainEventBodyOneOf<T> {
|
|
347
|
-
createdEvent?: EntityCreatedEvent<T>;
|
|
348
|
-
updatedEvent?: EntityUpdatedEvent<T>;
|
|
349
|
-
deletedEvent?: EntityDeletedEvent<T>;
|
|
350
|
-
actionEvent?: ActionEvent<T>;
|
|
351
|
-
}
|
|
352
|
-
export interface EntityCreatedEvent<T> {
|
|
353
|
-
entity?: T;
|
|
354
|
-
}
|
|
355
|
-
export interface EntityUpdatedEvent<T> {
|
|
356
|
-
/**
|
|
357
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
358
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
359
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
360
|
-
*/
|
|
361
|
-
currentEntity?: T;
|
|
362
|
-
}
|
|
363
|
-
export interface EntityDeletedEvent<T> {
|
|
364
|
-
/** Entity that was deleted */
|
|
365
|
-
deletedEntity?: T | null;
|
|
366
|
-
}
|
|
367
|
-
export interface ActionEvent<T> {
|
|
368
|
-
body?: T;
|
|
369
|
-
}
|
|
370
|
-
export interface Empty {
|
|
371
|
-
}
|
|
372
|
-
export interface CreateBackInStockNotificationRequestResponseNonNullableFields {
|
|
373
|
-
request?: {
|
|
374
|
-
catalogReference?: {
|
|
375
|
-
catalogItemId: string;
|
|
376
|
-
appId: string;
|
|
377
|
-
};
|
|
378
|
-
email: string;
|
|
379
|
-
status: Status;
|
|
380
|
-
};
|
|
381
|
-
}
|
|
382
|
-
export interface GetBackInStockNotificationRequestResponseNonNullableFields {
|
|
383
|
-
request?: {
|
|
384
|
-
catalogReference?: {
|
|
385
|
-
catalogItemId: string;
|
|
386
|
-
appId: string;
|
|
387
|
-
};
|
|
388
|
-
email: string;
|
|
389
|
-
status: Status;
|
|
390
|
-
};
|
|
391
|
-
}
|
|
392
|
-
export interface MarkAsNotificationSentResponseNonNullableFields {
|
|
393
|
-
request?: {
|
|
394
|
-
catalogReference?: {
|
|
395
|
-
catalogItemId: string;
|
|
396
|
-
appId: string;
|
|
397
|
-
};
|
|
398
|
-
email: string;
|
|
399
|
-
status: Status;
|
|
400
|
-
};
|
|
401
|
-
}
|
|
402
|
-
export interface QueryBackInStockNotificationRequestsResponseNonNullableFields {
|
|
403
|
-
requests: {
|
|
404
|
-
catalogReference?: {
|
|
405
|
-
catalogItemId: string;
|
|
406
|
-
appId: string;
|
|
407
|
-
};
|
|
408
|
-
email: string;
|
|
409
|
-
status: Status;
|
|
410
|
-
}[];
|
|
411
|
-
}
|
|
412
|
-
export interface GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields {
|
|
413
|
-
countsPerCatalogReference: {
|
|
414
|
-
catalogReference?: {
|
|
415
|
-
catalogItemId: string;
|
|
416
|
-
appId: string;
|
|
417
|
-
};
|
|
418
|
-
count: number;
|
|
419
|
-
}[];
|
|
420
|
-
}
|
|
421
|
-
export declare const onBackInStockNotificationRequestCreated: EventDefinition<DomainCreatedEvent<BackInStockNotificationRequest>, "wix.ecom.v1.back_in_stock_notification_request_created">;
|
|
422
|
-
export declare const onBackInStockNotificationRequestDeleted: EventDefinition<DomainDeletedEvent<BackInStockNotificationRequest>, "wix.ecom.v1.back_in_stock_notification_request_deleted">;
|
|
423
|
-
export declare const onBackInStockNotificationRequestUpdated: EventDefinition<DomainUpdatedEvent<BackInStockNotificationRequest>, "wix.ecom.v1.back_in_stock_notification_request_updated">;
|
|
424
|
-
/**
|
|
425
|
-
* Creates a back in stock notification request.
|
|
426
|
-
*
|
|
427
|
-
* If a notification request already exists for the same `catalogReference` and `email`,
|
|
428
|
-
* then a new one isn't created and the existing request is returned.
|
|
429
|
-
* @param request - Notification request information.
|
|
430
|
-
*
|
|
431
|
-
* Includes details for the out of stock item and the email address
|
|
432
|
-
* requesting to be notified when it's back in stock.
|
|
433
|
-
* @param itemDetails - Item details to include in the notification when the item is back in stock.
|
|
434
|
-
* @public
|
|
435
|
-
* @documentationMaturity preview
|
|
436
|
-
* @requiredField itemDetails
|
|
437
|
-
* @requiredField itemDetails.name
|
|
438
|
-
* @requiredField itemDetails.price
|
|
439
|
-
* @requiredField request
|
|
440
|
-
* @requiredField request.catalogReference
|
|
441
|
-
* @requiredField request.catalogReference.appId
|
|
442
|
-
* @requiredField request.catalogReference.catalogItemId
|
|
443
|
-
* @requiredField request.email
|
|
444
|
-
* @permissionScope Manage Stores - all permissions
|
|
445
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
446
|
-
* @applicableIdentity APP
|
|
447
|
-
* @applicableIdentity MEMBER
|
|
448
|
-
* @applicableIdentity VISITOR
|
|
449
|
-
* @returns Created back in stock notification request.
|
|
450
|
-
*/
|
|
451
|
-
export declare function createBackInStockNotificationRequest(request: BackInStockNotificationRequest, itemDetails: BackInStockItemDetails): Promise<BackInStockNotificationRequest & NonNullable<CreateBackInStockNotificationRequestResponseNonNullableFields>['request']>;
|
|
452
|
-
/**
|
|
453
|
-
* Retrieves a back in stock notification request.
|
|
454
|
-
* @param _id - ID of the notification request to retrieve.
|
|
455
|
-
* @public
|
|
456
|
-
* @documentationMaturity preview
|
|
457
|
-
* @requiredField _id
|
|
458
|
-
* @permissionScope Manage Stores - all permissions
|
|
459
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
460
|
-
* @applicableIdentity APP
|
|
461
|
-
* @returns Retrieved back in stock notification request.
|
|
462
|
-
*/
|
|
463
|
-
export declare function getBackInStockNotificationRequest(_id: string): Promise<BackInStockNotificationRequest & NonNullable<GetBackInStockNotificationRequestResponseNonNullableFields>['request']>;
|
|
464
|
-
/**
|
|
465
|
-
* Deletes a back in stock notification request.
|
|
466
|
-
* @param _id - ID of the notification request to delete.
|
|
467
|
-
* @public
|
|
468
|
-
* @documentationMaturity preview
|
|
469
|
-
* @requiredField _id
|
|
470
|
-
* @permissionScope Manage Stores - all permissions
|
|
471
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
472
|
-
* @applicableIdentity APP
|
|
473
|
-
*/
|
|
474
|
-
export declare function deleteBackInStockNotificationRequest(_id: string): Promise<void>;
|
|
475
|
-
/**
|
|
476
|
-
* Sets `status` of a back in stock request to `NOTIFICATION_SENT`.
|
|
477
|
-
*
|
|
478
|
-
* Use this function if the notification is sent manually offline. If the notification is sent automatically or with the `reportItemsBackInStock()` function, then `status` updates on its own.
|
|
479
|
-
* @param _id - ID of the notification request to mark.
|
|
480
|
-
* @public
|
|
481
|
-
* @documentationMaturity preview
|
|
482
|
-
* @requiredField _id
|
|
483
|
-
* @permissionScope Manage Stores - all permissions
|
|
484
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
485
|
-
* @applicableIdentity APP
|
|
486
|
-
*/
|
|
487
|
-
export declare function markAsNotificationSent(_id: string): Promise<MarkAsNotificationSentResponse & MarkAsNotificationSentResponseNonNullableFields>;
|
|
488
|
-
/**
|
|
489
|
-
* Creates a query to retrieve a list of back in stock notification requests.
|
|
490
|
-
*
|
|
491
|
-
* The `queryBackInStockNotificationRequests()` method builds a query to retrieve a list of back in stock notification requests and returns a `RequestsQueryBuilder` object.
|
|
492
|
-
*
|
|
493
|
-
* The returned object contains the query definition, which is typically used to run the query using the `find()` method.
|
|
494
|
-
*
|
|
495
|
-
* You can refine the query by chaining `RequestsQueryBuilder` methods onto the query. `RequestsQueryBuilder` methods enable you to sort, filter, and control the results that `queryBackInStockNotificationRequests()` returns.
|
|
496
|
-
*
|
|
497
|
-
* The following `RequestsQueryBuilder` methods are supported for `queryBackInStockNotificationRequests()`. For a full description of the Requests object, see the object returned for the `items` property in `RequestsQueryResult`."
|
|
498
|
-
* @public
|
|
499
|
-
* @documentationMaturity preview
|
|
500
|
-
* @permissionScope Manage Stores - all permissions
|
|
501
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
502
|
-
* @applicableIdentity APP
|
|
503
|
-
*/
|
|
504
|
-
export declare function queryBackInStockNotificationRequests(): RequestsQueryBuilder;
|
|
505
|
-
interface QueryCursorResult {
|
|
506
|
-
cursors: Cursors;
|
|
507
|
-
hasNext: () => boolean;
|
|
508
|
-
hasPrev: () => boolean;
|
|
509
|
-
length: number;
|
|
510
|
-
pageSize: number;
|
|
511
|
-
}
|
|
512
|
-
export interface RequestsQueryResult extends QueryCursorResult {
|
|
513
|
-
items: BackInStockNotificationRequest[];
|
|
514
|
-
query: RequestsQueryBuilder;
|
|
515
|
-
next: () => Promise<RequestsQueryResult>;
|
|
516
|
-
prev: () => Promise<RequestsQueryResult>;
|
|
517
|
-
}
|
|
518
|
-
export interface RequestsQueryBuilder {
|
|
519
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
520
|
-
* @param value - Value to compare against.
|
|
521
|
-
* @documentationMaturity preview
|
|
522
|
-
*/
|
|
523
|
-
eq: (propertyName: '_id' | 'contactId' | 'status' | 'autoNotified' | '_createdDate' | 'itemUrl', value: any) => RequestsQueryBuilder;
|
|
524
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
525
|
-
* @param value - Value to compare against.
|
|
526
|
-
* @documentationMaturity preview
|
|
527
|
-
*/
|
|
528
|
-
ne: (propertyName: '_id' | 'contactId' | 'status' | 'autoNotified' | '_createdDate' | 'itemUrl', value: any) => RequestsQueryBuilder;
|
|
529
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
530
|
-
* @param value - Value to compare against.
|
|
531
|
-
* @documentationMaturity preview
|
|
532
|
-
*/
|
|
533
|
-
ge: (propertyName: '_createdDate', value: any) => RequestsQueryBuilder;
|
|
534
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
535
|
-
* @param value - Value to compare against.
|
|
536
|
-
* @documentationMaturity preview
|
|
537
|
-
*/
|
|
538
|
-
gt: (propertyName: '_createdDate', value: any) => RequestsQueryBuilder;
|
|
539
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
540
|
-
* @param value - Value to compare against.
|
|
541
|
-
* @documentationMaturity preview
|
|
542
|
-
*/
|
|
543
|
-
le: (propertyName: '_createdDate', value: any) => RequestsQueryBuilder;
|
|
544
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
545
|
-
* @param value - Value to compare against.
|
|
546
|
-
* @documentationMaturity preview
|
|
547
|
-
*/
|
|
548
|
-
lt: (propertyName: '_createdDate', value: any) => RequestsQueryBuilder;
|
|
549
|
-
/** @param propertyName - Property whose value is compared with `string`.
|
|
550
|
-
* @param string - String to compare against. Case-insensitive.
|
|
551
|
-
* @documentationMaturity preview
|
|
552
|
-
*/
|
|
553
|
-
startsWith: (propertyName: '_id' | 'contactId' | 'itemUrl', value: string) => RequestsQueryBuilder;
|
|
554
|
-
/** @param propertyName - Property whose value is compared with `values`.
|
|
555
|
-
* @param values - List of values to compare against.
|
|
556
|
-
* @documentationMaturity preview
|
|
557
|
-
*/
|
|
558
|
-
hasSome: (propertyName: '_id' | 'contactId' | 'status' | 'autoNotified' | '_createdDate' | 'itemUrl', value: any[]) => RequestsQueryBuilder;
|
|
559
|
-
/** @documentationMaturity preview */
|
|
560
|
-
in: (propertyName: '_id' | 'contactId' | 'status' | 'autoNotified' | '_createdDate' | 'itemUrl', value: any) => RequestsQueryBuilder;
|
|
561
|
-
/** @documentationMaturity preview */
|
|
562
|
-
exists: (propertyName: '_id' | 'contactId' | 'status' | 'autoNotified' | '_createdDate' | 'itemUrl', value: boolean) => RequestsQueryBuilder;
|
|
563
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
564
|
-
* @documentationMaturity preview
|
|
565
|
-
*/
|
|
566
|
-
ascending: (...propertyNames: Array<'_id' | 'contactId' | 'status' | 'autoNotified' | '_createdDate' | 'itemUrl'>) => RequestsQueryBuilder;
|
|
567
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
568
|
-
* @documentationMaturity preview
|
|
569
|
-
*/
|
|
570
|
-
descending: (...propertyNames: Array<'_id' | 'contactId' | 'status' | 'autoNotified' | '_createdDate' | 'itemUrl'>) => RequestsQueryBuilder;
|
|
571
|
-
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
572
|
-
* @documentationMaturity preview
|
|
573
|
-
*/
|
|
574
|
-
limit: (limit: number) => RequestsQueryBuilder;
|
|
575
|
-
/** @param cursor - A pointer to specific record
|
|
576
|
-
* @documentationMaturity preview
|
|
577
|
-
*/
|
|
578
|
-
skipTo: (cursor: string) => RequestsQueryBuilder;
|
|
579
|
-
/** @documentationMaturity preview */
|
|
580
|
-
find: () => Promise<RequestsQueryResult>;
|
|
581
|
-
}
|
|
582
|
-
/**
|
|
583
|
-
* Retrieves the amount of back in stock requests for a given `catalogReference` item.
|
|
584
|
-
* @param catalogReferences - `catalogReference` items to retrieve the notification request for.
|
|
585
|
-
* @public
|
|
586
|
-
* @documentationMaturity preview
|
|
587
|
-
* @requiredField catalogReferences
|
|
588
|
-
* @permissionScope Manage Stores - all permissions
|
|
589
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
590
|
-
* @applicableIdentity APP
|
|
591
|
-
*/
|
|
592
|
-
export declare function getBackInStockNotificationRequestsCountByCatalogReferences(catalogReferences: CatalogReference[]): Promise<GetBackInStockNotificationRequestsCountByCatalogReferencesResponse & GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields>;
|
|
593
|
-
/**
|
|
594
|
-
* Sends notifications for back in stock requests.
|
|
595
|
-
*
|
|
596
|
-
* > **Important:**
|
|
597
|
-
* > Automations must be turned on in a [site's dashboard](https://www.wix.com/my-account/site-selector/?buttonText=Go%20to%20Back-in-Stock&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https://www.wix.com/dashboard/{{metaSiteId}}/store/back-in-stock) for notifications to send.
|
|
598
|
-
*
|
|
599
|
-
* This endpoint triggers notifications for requests in 1 of 2 ways:
|
|
600
|
-
* 1. For a specific item, with the `catalogReference` information.
|
|
601
|
-
* 2. For specific requests, with `requestIds`.
|
|
602
|
-
*
|
|
603
|
-
* `itemDetails` are required and may populate dynamic values in the notification template, as follows:
|
|
604
|
-
* + `itemDetails.name` passes to the template as `item.name`
|
|
605
|
-
* + `itemDetails.price` passes to the template as `item.price`
|
|
606
|
-
* + `itemDetails.image.url` passes to the template as `item.image.url`
|
|
607
|
-
*
|
|
608
|
-
* If the notification template doesn't include `item.price`, `item.name`, or `item.image.url`, values should
|
|
609
|
-
* be passed in `extraAutomationTemplateParameters`.
|
|
610
|
-
*
|
|
611
|
-
* After this endpoint is called, the `status` for the request will update to `NOTIFICATION_SENT` if it sends
|
|
612
|
-
* successfully, or to `FAILED` if it fails to send.
|
|
613
|
-
* @param itemDetails - Item details to use in notifications.
|
|
614
|
-
*
|
|
615
|
-
* `itemDetails` may populate dynamic valyes in the notification template, as follows:
|
|
616
|
-
* + `itemDetails.name` passes to the template as `item.name`
|
|
617
|
-
* + `itemDetails.price` passes to the template as `item.price`
|
|
618
|
-
* + `itemDetails.image.url` passes to the template as `item.image.url`
|
|
619
|
-
*
|
|
620
|
-
* Use `extraAutomationTemplateParameters` to pass additional dynamic values.
|
|
621
|
-
* @public
|
|
622
|
-
* @documentationMaturity preview
|
|
623
|
-
* @requiredField itemDetails
|
|
624
|
-
* @requiredField itemDetails.name
|
|
625
|
-
* @requiredField itemDetails.price
|
|
626
|
-
* @param options - Report options.
|
|
627
|
-
* @permissionScope Manage Stores - all permissions
|
|
628
|
-
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
629
|
-
* @applicableIdentity APP
|
|
630
|
-
*/
|
|
631
|
-
export declare function reportItemsBackInStock(itemDetails: BackInStockItemDetails, options?: ReportItemsBackInStockOptions): Promise<void>;
|
|
632
|
-
export interface ReportItemsBackInStockOptions {
|
|
633
|
-
/**
|
|
634
|
-
* `catalogReference` item to send notifications for.
|
|
635
|
-
*
|
|
636
|
-
* Cannot be used with `requestIds`.
|
|
637
|
-
*/
|
|
638
|
-
catalogReference?: CatalogReference;
|
|
639
|
-
/**
|
|
640
|
-
* IDs of requests to send notifications for.
|
|
641
|
-
*
|
|
642
|
-
* Cannot be used with `catalogReference`.
|
|
643
|
-
*/
|
|
644
|
-
requestIds?: string[];
|
|
645
|
-
/** Additional key-value pairs to pass to the back in stock notification template. */
|
|
646
|
-
extraAutomationTemplateParameters?: Record<string, string>;
|
|
647
|
-
}
|
|
648
|
-
export {};
|