@wix/ecom 1.0.811 → 1.0.812
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.812",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@wix/ecom_shipping-rates": "1.0.49",
|
|
59
59
|
"@wix/ecom_shippo-configurations": "1.0.21",
|
|
60
60
|
"@wix/ecom_subscription-contracts": "1.0.4",
|
|
61
|
-
"@wix/ecom_tips": "1.0.
|
|
61
|
+
"@wix/ecom_tips": "1.0.1",
|
|
62
62
|
"@wix/ecom_totals-calculator": "1.0.18",
|
|
63
63
|
"@wix/ecom_validations": "1.0.40"
|
|
64
64
|
},
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"fqdn": ""
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
|
-
"falconPackageHash": "
|
|
88
|
+
"falconPackageHash": "36aee2e9df2123774749ddaa9692bdc98aa591e944c358c3138529a5"
|
|
89
89
|
}
|
|
@@ -37638,6 +37638,17 @@ interface GetTipByDraftOrderIdResponse {
|
|
|
37638
37638
|
/** Retrieved tip. */
|
|
37639
37639
|
tip?: Tip;
|
|
37640
37640
|
}
|
|
37641
|
+
interface GetTipChoiceRequest {
|
|
37642
|
+
/**
|
|
37643
|
+
* ID of the [eCommerce purchase flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/wix-e-commerce-platform-handbook/overview/architecture-data-flow)
|
|
37644
|
+
* to retrieve the tip choice for.
|
|
37645
|
+
*/
|
|
37646
|
+
purchaseFlowId: string | null;
|
|
37647
|
+
}
|
|
37648
|
+
interface GetTipChoiceResponse {
|
|
37649
|
+
/** Tip choice that's currently selected for the given purchase flow. */
|
|
37650
|
+
tipChoice?: TipChoice;
|
|
37651
|
+
}
|
|
37641
37652
|
interface UpdateTipChoiceRequest {
|
|
37642
37653
|
/**
|
|
37643
37654
|
* Tip choice to select for the purchase flow. The call fails if you provide a
|
|
@@ -37662,17 +37673,6 @@ interface UpdateTipChoiceResponse {
|
|
|
37662
37673
|
*/
|
|
37663
37674
|
tipChoice?: TipChoice;
|
|
37664
37675
|
}
|
|
37665
|
-
interface GetTipChoiceRequest {
|
|
37666
|
-
/**
|
|
37667
|
-
* ID of the [eCommerce purchase flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/wix-e-commerce-platform-handbook/overview/architecture-data-flow)
|
|
37668
|
-
* to retrieve the tip choice for.
|
|
37669
|
-
*/
|
|
37670
|
-
purchaseFlowId: string | null;
|
|
37671
|
-
}
|
|
37672
|
-
interface GetTipChoiceResponse {
|
|
37673
|
-
/** Tip choice that's currently selected for the given purchase flow. */
|
|
37674
|
-
tipChoice?: TipChoice;
|
|
37675
|
-
}
|
|
37676
37676
|
interface SetTipOnOrderRequest extends SetTipOnOrderRequestIdentifierOneOf {
|
|
37677
37677
|
/** ID of the order for which to set the tip. */
|
|
37678
37678
|
orderId?: string | null;
|
|
@@ -38047,10 +38047,10 @@ interface GetTipByDraftOrderIdResponseNonNullableFields {
|
|
|
38047
38047
|
interface TipChoiceNonNullableFields {
|
|
38048
38048
|
tipType: TipType;
|
|
38049
38049
|
}
|
|
38050
|
-
interface
|
|
38050
|
+
interface GetTipChoiceResponseNonNullableFields {
|
|
38051
38051
|
tipChoice?: TipChoiceNonNullableFields;
|
|
38052
38052
|
}
|
|
38053
|
-
interface
|
|
38053
|
+
interface UpdateTipChoiceResponseNonNullableFields {
|
|
38054
38054
|
tipChoice?: TipChoiceNonNullableFields;
|
|
38055
38055
|
}
|
|
38056
38056
|
interface PriceNonNullableFields {
|
|
@@ -38206,11 +38206,24 @@ interface GetTipByDraftOrderIdSignature {
|
|
|
38206
38206
|
*/
|
|
38207
38207
|
(draftOrderId: string | null): Promise<GetTipByDraftOrderIdResponse & GetTipByDraftOrderIdResponseNonNullableFields>;
|
|
38208
38208
|
}
|
|
38209
|
+
declare function getTipChoice$1(httpClient: HttpClient): GetTipChoiceSignature;
|
|
38210
|
+
interface GetTipChoiceSignature {
|
|
38211
|
+
/**
|
|
38212
|
+
* Retrieves the tip choice that's currently selected by the customer for a specific [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
38213
|
+
* If the customer hasn't yet selected a tip choice, the response is empty.
|
|
38214
|
+
*
|
|
38215
|
+
* Please refer to the [sample flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/tips/tips/sample-flows#add-or-update-a-tip-in-a-custom-checkout-flow) for more information.
|
|
38216
|
+
* @param - ID of the [eCommerce purchase flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/wix-e-commerce-platform-handbook/overview/architecture-data-flow)
|
|
38217
|
+
* to retrieve the tip choice for.
|
|
38218
|
+
*/
|
|
38219
|
+
(purchaseFlowId: string | null): Promise<GetTipChoiceResponse & GetTipChoiceResponseNonNullableFields>;
|
|
38220
|
+
}
|
|
38209
38221
|
declare function updateTipChoice$1(httpClient: HttpClient): UpdateTipChoiceSignature;
|
|
38210
38222
|
interface UpdateTipChoiceSignature {
|
|
38211
38223
|
/**
|
|
38212
|
-
* Updates
|
|
38213
|
-
*
|
|
38224
|
+
* Updates the tip choice that's currently selected by the customer for a specific [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
38225
|
+
*
|
|
38226
|
+
* Please refer to the [sample flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/tips/tips/sample-flows#add-or-update-a-tip-in-a-custom-checkout-flow) for more information.
|
|
38214
38227
|
* @param - Tip choice to select for the purchase flow. The call fails if you provide a
|
|
38215
38228
|
* value for `tipChoice.tipType` that doesn't match the relevant tip settings
|
|
38216
38229
|
* configuration. For example:
|
|
@@ -38220,16 +38233,6 @@ interface UpdateTipChoiceSignature {
|
|
|
38220
38233
|
*/
|
|
38221
38234
|
(tipChoice: TipChoice, options: UpdateTipChoiceOptions): Promise<UpdateTipChoiceResponse & UpdateTipChoiceResponseNonNullableFields>;
|
|
38222
38235
|
}
|
|
38223
|
-
declare function getTipChoice$1(httpClient: HttpClient): GetTipChoiceSignature;
|
|
38224
|
-
interface GetTipChoiceSignature {
|
|
38225
|
-
/**
|
|
38226
|
-
* Retrieves which tip choice is currently selected for an
|
|
38227
|
-
* [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
38228
|
-
* @param - ID of the [eCommerce purchase flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/wix-e-commerce-platform-handbook/overview/architecture-data-flow)
|
|
38229
|
-
* to retrieve the tip choice for.
|
|
38230
|
-
*/
|
|
38231
|
-
(purchaseFlowId: string | null): Promise<GetTipChoiceResponse & GetTipChoiceResponseNonNullableFields>;
|
|
38232
|
-
}
|
|
38233
38236
|
declare function setTipOnOrder$1(httpClient: HttpClient): SetTipOnOrderSignature;
|
|
38234
38237
|
interface SetTipOnOrderSignature {
|
|
38235
38238
|
/**
|
|
@@ -38326,8 +38329,8 @@ interface SumTipDistributionAmountsSignature {
|
|
|
38326
38329
|
declare const previewTip: MaybeContext<BuildRESTFunction<typeof previewTip$1> & typeof previewTip$1>;
|
|
38327
38330
|
declare const getTipByOrderId: MaybeContext<BuildRESTFunction<typeof getTipByOrderId$1> & typeof getTipByOrderId$1>;
|
|
38328
38331
|
declare const getTipByDraftOrderId: MaybeContext<BuildRESTFunction<typeof getTipByDraftOrderId$1> & typeof getTipByDraftOrderId$1>;
|
|
38329
|
-
declare const updateTipChoice: MaybeContext<BuildRESTFunction<typeof updateTipChoice$1> & typeof updateTipChoice$1>;
|
|
38330
38332
|
declare const getTipChoice: MaybeContext<BuildRESTFunction<typeof getTipChoice$1> & typeof getTipChoice$1>;
|
|
38333
|
+
declare const updateTipChoice: MaybeContext<BuildRESTFunction<typeof updateTipChoice$1> & typeof updateTipChoice$1>;
|
|
38331
38334
|
declare const setTipOnOrder: MaybeContext<BuildRESTFunction<typeof setTipOnOrder$1> & typeof setTipOnOrder$1>;
|
|
38332
38335
|
declare const removeTipFromOrder: MaybeContext<BuildRESTFunction<typeof removeTipFromOrder$1> & typeof removeTipFromOrder$1>;
|
|
38333
38336
|
declare const addTipDistributionsToOrder: MaybeContext<BuildRESTFunction<typeof addTipDistributionsToOrder$1> & typeof addTipDistributionsToOrder$1>;
|
|
@@ -37638,6 +37638,17 @@ interface GetTipByDraftOrderIdResponse {
|
|
|
37638
37638
|
/** Retrieved tip. */
|
|
37639
37639
|
tip?: Tip;
|
|
37640
37640
|
}
|
|
37641
|
+
interface GetTipChoiceRequest {
|
|
37642
|
+
/**
|
|
37643
|
+
* ID of the [eCommerce purchase flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/wix-e-commerce-platform-handbook/overview/architecture-data-flow)
|
|
37644
|
+
* to retrieve the tip choice for.
|
|
37645
|
+
*/
|
|
37646
|
+
purchaseFlowId: string | null;
|
|
37647
|
+
}
|
|
37648
|
+
interface GetTipChoiceResponse {
|
|
37649
|
+
/** Tip choice that's currently selected for the given purchase flow. */
|
|
37650
|
+
tipChoice?: TipChoice;
|
|
37651
|
+
}
|
|
37641
37652
|
interface UpdateTipChoiceRequest {
|
|
37642
37653
|
/**
|
|
37643
37654
|
* Tip choice to select for the purchase flow. The call fails if you provide a
|
|
@@ -37662,17 +37673,6 @@ interface UpdateTipChoiceResponse {
|
|
|
37662
37673
|
*/
|
|
37663
37674
|
tipChoice?: TipChoice;
|
|
37664
37675
|
}
|
|
37665
|
-
interface GetTipChoiceRequest {
|
|
37666
|
-
/**
|
|
37667
|
-
* ID of the [eCommerce purchase flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/wix-e-commerce-platform-handbook/overview/architecture-data-flow)
|
|
37668
|
-
* to retrieve the tip choice for.
|
|
37669
|
-
*/
|
|
37670
|
-
purchaseFlowId: string | null;
|
|
37671
|
-
}
|
|
37672
|
-
interface GetTipChoiceResponse {
|
|
37673
|
-
/** Tip choice that's currently selected for the given purchase flow. */
|
|
37674
|
-
tipChoice?: TipChoice;
|
|
37675
|
-
}
|
|
37676
37676
|
interface SetTipOnOrderRequest extends SetTipOnOrderRequestIdentifierOneOf {
|
|
37677
37677
|
/** ID of the order for which to set the tip. */
|
|
37678
37678
|
orderId?: string | null;
|
|
@@ -38047,10 +38047,10 @@ interface GetTipByDraftOrderIdResponseNonNullableFields {
|
|
|
38047
38047
|
interface TipChoiceNonNullableFields {
|
|
38048
38048
|
tipType: TipType;
|
|
38049
38049
|
}
|
|
38050
|
-
interface
|
|
38050
|
+
interface GetTipChoiceResponseNonNullableFields {
|
|
38051
38051
|
tipChoice?: TipChoiceNonNullableFields;
|
|
38052
38052
|
}
|
|
38053
|
-
interface
|
|
38053
|
+
interface UpdateTipChoiceResponseNonNullableFields {
|
|
38054
38054
|
tipChoice?: TipChoiceNonNullableFields;
|
|
38055
38055
|
}
|
|
38056
38056
|
interface PriceNonNullableFields {
|
|
@@ -38206,11 +38206,24 @@ interface GetTipByDraftOrderIdSignature {
|
|
|
38206
38206
|
*/
|
|
38207
38207
|
(draftOrderId: string | null): Promise<GetTipByDraftOrderIdResponse & GetTipByDraftOrderIdResponseNonNullableFields>;
|
|
38208
38208
|
}
|
|
38209
|
+
declare function getTipChoice$1(httpClient: HttpClient): GetTipChoiceSignature;
|
|
38210
|
+
interface GetTipChoiceSignature {
|
|
38211
|
+
/**
|
|
38212
|
+
* Retrieves the tip choice that's currently selected by the customer for a specific [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
38213
|
+
* If the customer hasn't yet selected a tip choice, the response is empty.
|
|
38214
|
+
*
|
|
38215
|
+
* Please refer to the [sample flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/tips/tips/sample-flows#add-or-update-a-tip-in-a-custom-checkout-flow) for more information.
|
|
38216
|
+
* @param - ID of the [eCommerce purchase flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/wix-e-commerce-platform-handbook/overview/architecture-data-flow)
|
|
38217
|
+
* to retrieve the tip choice for.
|
|
38218
|
+
*/
|
|
38219
|
+
(purchaseFlowId: string | null): Promise<GetTipChoiceResponse & GetTipChoiceResponseNonNullableFields>;
|
|
38220
|
+
}
|
|
38209
38221
|
declare function updateTipChoice$1(httpClient: HttpClient): UpdateTipChoiceSignature;
|
|
38210
38222
|
interface UpdateTipChoiceSignature {
|
|
38211
38223
|
/**
|
|
38212
|
-
* Updates
|
|
38213
|
-
*
|
|
38224
|
+
* Updates the tip choice that's currently selected by the customer for a specific [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
38225
|
+
*
|
|
38226
|
+
* Please refer to the [sample flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/tips/tips/sample-flows#add-or-update-a-tip-in-a-custom-checkout-flow) for more information.
|
|
38214
38227
|
* @param - Tip choice to select for the purchase flow. The call fails if you provide a
|
|
38215
38228
|
* value for `tipChoice.tipType` that doesn't match the relevant tip settings
|
|
38216
38229
|
* configuration. For example:
|
|
@@ -38220,16 +38233,6 @@ interface UpdateTipChoiceSignature {
|
|
|
38220
38233
|
*/
|
|
38221
38234
|
(tipChoice: TipChoice, options: UpdateTipChoiceOptions): Promise<UpdateTipChoiceResponse & UpdateTipChoiceResponseNonNullableFields>;
|
|
38222
38235
|
}
|
|
38223
|
-
declare function getTipChoice$1(httpClient: HttpClient): GetTipChoiceSignature;
|
|
38224
|
-
interface GetTipChoiceSignature {
|
|
38225
|
-
/**
|
|
38226
|
-
* Retrieves which tip choice is currently selected for an
|
|
38227
|
-
* [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
38228
|
-
* @param - ID of the [eCommerce purchase flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/wix-e-commerce-platform-handbook/overview/architecture-data-flow)
|
|
38229
|
-
* to retrieve the tip choice for.
|
|
38230
|
-
*/
|
|
38231
|
-
(purchaseFlowId: string | null): Promise<GetTipChoiceResponse & GetTipChoiceResponseNonNullableFields>;
|
|
38232
|
-
}
|
|
38233
38236
|
declare function setTipOnOrder$1(httpClient: HttpClient): SetTipOnOrderSignature;
|
|
38234
38237
|
interface SetTipOnOrderSignature {
|
|
38235
38238
|
/**
|
|
@@ -38326,8 +38329,8 @@ interface SumTipDistributionAmountsSignature {
|
|
|
38326
38329
|
declare const previewTip: MaybeContext<BuildRESTFunction<typeof previewTip$1> & typeof previewTip$1>;
|
|
38327
38330
|
declare const getTipByOrderId: MaybeContext<BuildRESTFunction<typeof getTipByOrderId$1> & typeof getTipByOrderId$1>;
|
|
38328
38331
|
declare const getTipByDraftOrderId: MaybeContext<BuildRESTFunction<typeof getTipByDraftOrderId$1> & typeof getTipByDraftOrderId$1>;
|
|
38329
|
-
declare const updateTipChoice: MaybeContext<BuildRESTFunction<typeof updateTipChoice$1> & typeof updateTipChoice$1>;
|
|
38330
38332
|
declare const getTipChoice: MaybeContext<BuildRESTFunction<typeof getTipChoice$1> & typeof getTipChoice$1>;
|
|
38333
|
+
declare const updateTipChoice: MaybeContext<BuildRESTFunction<typeof updateTipChoice$1> & typeof updateTipChoice$1>;
|
|
38331
38334
|
declare const setTipOnOrder: MaybeContext<BuildRESTFunction<typeof setTipOnOrder$1> & typeof setTipOnOrder$1>;
|
|
38332
38335
|
declare const removeTipFromOrder: MaybeContext<BuildRESTFunction<typeof removeTipFromOrder$1> & typeof removeTipFromOrder$1>;
|
|
38333
38336
|
declare const addTipDistributionsToOrder: MaybeContext<BuildRESTFunction<typeof addTipDistributionsToOrder$1> & typeof addTipDistributionsToOrder$1>;
|
|
@@ -39258,6 +39258,17 @@ interface GetTipByDraftOrderIdResponse$1 {
|
|
|
39258
39258
|
/** Retrieved tip. */
|
|
39259
39259
|
tip?: Tip$1;
|
|
39260
39260
|
}
|
|
39261
|
+
interface GetTipChoiceRequest$1 {
|
|
39262
|
+
/**
|
|
39263
|
+
* ID of the [eCommerce purchase flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/wix-e-commerce-platform-handbook/overview/architecture-data-flow)
|
|
39264
|
+
* to retrieve the tip choice for.
|
|
39265
|
+
*/
|
|
39266
|
+
purchaseFlowId: string | null;
|
|
39267
|
+
}
|
|
39268
|
+
interface GetTipChoiceResponse$1 {
|
|
39269
|
+
/** Tip choice that's currently selected for the given purchase flow. */
|
|
39270
|
+
tipChoice?: TipChoice$1;
|
|
39271
|
+
}
|
|
39261
39272
|
interface UpdateTipChoiceRequest$1 {
|
|
39262
39273
|
/**
|
|
39263
39274
|
* Tip choice to select for the purchase flow. The call fails if you provide a
|
|
@@ -39282,17 +39293,6 @@ interface UpdateTipChoiceResponse$1 {
|
|
|
39282
39293
|
*/
|
|
39283
39294
|
tipChoice?: TipChoice$1;
|
|
39284
39295
|
}
|
|
39285
|
-
interface GetTipChoiceRequest$1 {
|
|
39286
|
-
/**
|
|
39287
|
-
* ID of the [eCommerce purchase flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/wix-e-commerce-platform-handbook/overview/architecture-data-flow)
|
|
39288
|
-
* to retrieve the tip choice for.
|
|
39289
|
-
*/
|
|
39290
|
-
purchaseFlowId: string | null;
|
|
39291
|
-
}
|
|
39292
|
-
interface GetTipChoiceResponse$1 {
|
|
39293
|
-
/** Tip choice that's currently selected for the given purchase flow. */
|
|
39294
|
-
tipChoice?: TipChoice$1;
|
|
39295
|
-
}
|
|
39296
39296
|
interface SetTipOnOrderRequest$1 extends SetTipOnOrderRequestIdentifierOneOf$1 {
|
|
39297
39297
|
/** ID of the order for which to set the tip. */
|
|
39298
39298
|
orderId?: string | null;
|
|
@@ -39480,10 +39480,10 @@ interface GetTipByDraftOrderIdResponseNonNullableFields$1 {
|
|
|
39480
39480
|
interface TipChoiceNonNullableFields$1 {
|
|
39481
39481
|
tipType: TipType$1;
|
|
39482
39482
|
}
|
|
39483
|
-
interface
|
|
39483
|
+
interface GetTipChoiceResponseNonNullableFields$1 {
|
|
39484
39484
|
tipChoice?: TipChoiceNonNullableFields$1;
|
|
39485
39485
|
}
|
|
39486
|
-
interface
|
|
39486
|
+
interface UpdateTipChoiceResponseNonNullableFields$1 {
|
|
39487
39487
|
tipChoice?: TipChoiceNonNullableFields$1;
|
|
39488
39488
|
}
|
|
39489
39489
|
interface PriceNonNullableFields$1 {
|
|
@@ -39795,6 +39795,17 @@ interface GetTipByDraftOrderIdResponse {
|
|
|
39795
39795
|
/** Retrieved tip. */
|
|
39796
39796
|
tip?: Tip;
|
|
39797
39797
|
}
|
|
39798
|
+
interface GetTipChoiceRequest {
|
|
39799
|
+
/**
|
|
39800
|
+
* ID of the [eCommerce purchase flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/wix-e-commerce-platform-handbook/overview/architecture-data-flow)
|
|
39801
|
+
* to retrieve the tip choice for.
|
|
39802
|
+
*/
|
|
39803
|
+
purchaseFlowId: string | null;
|
|
39804
|
+
}
|
|
39805
|
+
interface GetTipChoiceResponse {
|
|
39806
|
+
/** Tip choice that's currently selected for the given purchase flow. */
|
|
39807
|
+
tipChoice?: TipChoice;
|
|
39808
|
+
}
|
|
39798
39809
|
interface UpdateTipChoiceRequest {
|
|
39799
39810
|
/**
|
|
39800
39811
|
* Tip choice to select for the purchase flow. The call fails if you provide a
|
|
@@ -39819,17 +39830,6 @@ interface UpdateTipChoiceResponse {
|
|
|
39819
39830
|
*/
|
|
39820
39831
|
tipChoice?: TipChoice;
|
|
39821
39832
|
}
|
|
39822
|
-
interface GetTipChoiceRequest {
|
|
39823
|
-
/**
|
|
39824
|
-
* ID of the [eCommerce purchase flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/wix-e-commerce-platform-handbook/overview/architecture-data-flow)
|
|
39825
|
-
* to retrieve the tip choice for.
|
|
39826
|
-
*/
|
|
39827
|
-
purchaseFlowId: string | null;
|
|
39828
|
-
}
|
|
39829
|
-
interface GetTipChoiceResponse {
|
|
39830
|
-
/** Tip choice that's currently selected for the given purchase flow. */
|
|
39831
|
-
tipChoice?: TipChoice;
|
|
39832
|
-
}
|
|
39833
39833
|
interface SetTipOnOrderRequest extends SetTipOnOrderRequestIdentifierOneOf {
|
|
39834
39834
|
/** ID of the order for which to set the tip. */
|
|
39835
39835
|
orderId?: string | null;
|
|
@@ -40017,10 +40017,10 @@ interface GetTipByDraftOrderIdResponseNonNullableFields {
|
|
|
40017
40017
|
interface TipChoiceNonNullableFields {
|
|
40018
40018
|
tipType: TipType;
|
|
40019
40019
|
}
|
|
40020
|
-
interface
|
|
40020
|
+
interface GetTipChoiceResponseNonNullableFields {
|
|
40021
40021
|
tipChoice?: TipChoiceNonNullableFields;
|
|
40022
40022
|
}
|
|
40023
|
-
interface
|
|
40023
|
+
interface UpdateTipChoiceResponseNonNullableFields {
|
|
40024
40024
|
tipChoice?: TipChoiceNonNullableFields;
|
|
40025
40025
|
}
|
|
40026
40026
|
interface PriceNonNullableFields {
|
|
@@ -40062,10 +40062,10 @@ declare function getTipByOrderId(): __PublicMethodMetaInfo<'GET', {
|
|
|
40062
40062
|
declare function getTipByDraftOrderId(): __PublicMethodMetaInfo<'GET', {
|
|
40063
40063
|
draftOrderId: string;
|
|
40064
40064
|
}, GetTipByDraftOrderIdRequest, GetTipByDraftOrderIdRequest$1, GetTipByDraftOrderIdResponse & GetTipByDraftOrderIdResponseNonNullableFields, GetTipByDraftOrderIdResponse$1 & GetTipByDraftOrderIdResponseNonNullableFields$1>;
|
|
40065
|
-
declare function updateTipChoice(): __PublicMethodMetaInfo<'PATCH', {}, UpdateTipChoiceRequest, UpdateTipChoiceRequest$1, UpdateTipChoiceResponse & UpdateTipChoiceResponseNonNullableFields, UpdateTipChoiceResponse$1 & UpdateTipChoiceResponseNonNullableFields$1>;
|
|
40066
40065
|
declare function getTipChoice(): __PublicMethodMetaInfo<'GET', {
|
|
40067
40066
|
purchaseFlowId: string;
|
|
40068
40067
|
}, GetTipChoiceRequest, GetTipChoiceRequest$1, GetTipChoiceResponse & GetTipChoiceResponseNonNullableFields, GetTipChoiceResponse$1 & GetTipChoiceResponseNonNullableFields$1>;
|
|
40068
|
+
declare function updateTipChoice(): __PublicMethodMetaInfo<'PATCH', {}, UpdateTipChoiceRequest, UpdateTipChoiceRequest$1, UpdateTipChoiceResponse & UpdateTipChoiceResponseNonNullableFields, UpdateTipChoiceResponse$1 & UpdateTipChoiceResponseNonNullableFields$1>;
|
|
40069
40069
|
declare function setTipOnOrder(): __PublicMethodMetaInfo<'POST', {}, SetTipOnOrderRequest, SetTipOnOrderRequest$1, SetTipOnOrderResponse & SetTipOnOrderResponseNonNullableFields, SetTipOnOrderResponse$1 & SetTipOnOrderResponseNonNullableFields$1>;
|
|
40070
40070
|
declare function removeTipFromOrder(): __PublicMethodMetaInfo<'POST', {}, RemoveTipFromOrderRequest, RemoveTipFromOrderRequest$1, RemoveTipFromOrderResponse & RemoveTipFromOrderResponseNonNullableFields, RemoveTipFromOrderResponse$1 & RemoveTipFromOrderResponseNonNullableFields$1>;
|
|
40071
40071
|
declare function addTipDistributionsToOrder(): __PublicMethodMetaInfo<'POST', {}, AddTipDistributionsToOrderRequest, AddTipDistributionsToOrderRequest$1, AddTipDistributionsToOrderResponse & AddTipDistributionsToOrderResponseNonNullableFields, AddTipDistributionsToOrderResponse$1 & AddTipDistributionsToOrderResponseNonNullableFields$1>;
|