@wix/auto_sdk_ecom_order-payment-requests 1.0.68 → 1.0.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +5 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +6 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +5 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +6 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +6 -6
- package/build/internal/cjs/index.typings.d.ts +7 -7
- package/build/internal/es/index.d.mts +6 -6
- package/build/internal/es/index.typings.d.mts +7 -7
- package/package.json +4 -11
- package/build/cjs/schemas.d.ts +0 -290
- package/build/cjs/schemas.js +0 -586
- package/build/cjs/schemas.js.map +0 -1
- package/build/es/schemas.d.mts +0 -290
- package/build/es/schemas.mjs +0 -534
- package/build/es/schemas.mjs.map +0 -1
- package/build/internal/cjs/schemas.d.ts +0 -290
- package/build/internal/es/schemas.d.mts +0 -290
- package/schemas/package.json +0 -3
package/build/cjs/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ interface CreateOrderPaymentRequestSignature {
|
|
|
12
12
|
* Creation fails with `ORDER_PAYMENT_REQUEST_PAGE_NOT_FOUND` if the site doesn't have a Payment Request Page added and published.
|
|
13
13
|
* @returns Created order payment request.
|
|
14
14
|
*/
|
|
15
|
-
(options?: NonNullablePaths<CreateOrderPaymentRequestOptions, `orderPaymentRequest.amount` | `orderPaymentRequest.orderId` | `orderPaymentRequest.title`,
|
|
15
|
+
(options?: NonNullablePaths<CreateOrderPaymentRequestOptions, `orderPaymentRequest.amount` | `orderPaymentRequest.orderId` | `orderPaymentRequest.title`, 1>): Promise<NonNullablePaths<OrderPaymentRequest, `source.externalId` | `status` | `orderId` | `amount.amount` | `amount.formattedAmount` | `currency` | `title` | `blockedPaymentMethods`, 1> & {
|
|
16
16
|
__applicationErrorsType?: CreateOrderPaymentRequestApplicationErrors;
|
|
17
17
|
}>;
|
|
18
18
|
}
|
|
@@ -23,7 +23,7 @@ interface GetOrderPaymentRequestSignature {
|
|
|
23
23
|
* @param - ID of the order payment request to retrieve.
|
|
24
24
|
* @returns Retrieved order payment request.
|
|
25
25
|
*/
|
|
26
|
-
(orderPaymentRequestId: string): Promise<NonNullablePaths<OrderPaymentRequest, `source.externalId` | `status` | `orderId` | `amount.amount` | `amount.formattedAmount` | `currency` | `title` | `blockedPaymentMethods`,
|
|
26
|
+
(orderPaymentRequestId: string): Promise<NonNullablePaths<OrderPaymentRequest, `source.externalId` | `status` | `orderId` | `amount.amount` | `amount.formattedAmount` | `currency` | `title` | `blockedPaymentMethods`, 1> & {
|
|
27
27
|
__applicationErrorsType?: GetOrderPaymentRequestApplicationErrors;
|
|
28
28
|
}>;
|
|
29
29
|
}
|
|
@@ -36,7 +36,7 @@ interface UpdateOrderPaymentRequestSignature {
|
|
|
36
36
|
* @param - Order payment request ID.
|
|
37
37
|
* @returns Updated order payment request.
|
|
38
38
|
*/
|
|
39
|
-
(_id: string, orderPaymentRequest: UpdateOrderPaymentRequest): Promise<NonNullablePaths<OrderPaymentRequest, `source.externalId` | `status` | `orderId` | `amount.amount` | `amount.formattedAmount` | `currency` | `title` | `blockedPaymentMethods`,
|
|
39
|
+
(_id: string, orderPaymentRequest: UpdateOrderPaymentRequest): Promise<NonNullablePaths<OrderPaymentRequest, `source.externalId` | `status` | `orderId` | `amount.amount` | `amount.formattedAmount` | `currency` | `title` | `blockedPaymentMethods`, 1> & {
|
|
40
40
|
__applicationErrorsType?: UpdateOrderPaymentRequestApplicationErrors;
|
|
41
41
|
}>;
|
|
42
42
|
}
|
|
@@ -58,7 +58,7 @@ interface GetOrderPaymentRequestUrlSignature {
|
|
|
58
58
|
* Retrieves the payment page URL for an order payment request.
|
|
59
59
|
* @param - ID of the order payment request.
|
|
60
60
|
*/
|
|
61
|
-
(orderPaymentRequestId: string): Promise<NonNullablePaths<GetOrderPaymentRequestURLResponse, `orderPaymentRequestUrl`,
|
|
61
|
+
(orderPaymentRequestId: string): Promise<NonNullablePaths<GetOrderPaymentRequestURLResponse, `orderPaymentRequestUrl`, 0> & {
|
|
62
62
|
__applicationErrorsType?: GetOrderPaymentRequestUrlApplicationErrors;
|
|
63
63
|
}>;
|
|
64
64
|
}
|
|
@@ -69,7 +69,7 @@ interface UpdateExtendedFieldsSignature {
|
|
|
69
69
|
* @param - ID of the entity to update.
|
|
70
70
|
* @param - Identifier for the app whose extended fields are being updated.
|
|
71
71
|
*/
|
|
72
|
-
(_id: string, namespace: string, options: NonNullablePaths<UpdateExtendedFieldsOptions, `namespaceData`,
|
|
72
|
+
(_id: string, namespace: string, options: NonNullablePaths<UpdateExtendedFieldsOptions, `namespaceData`, 0>): Promise<NonNullablePaths<UpdateExtendedFieldsResponse, `orderPaymentRequest.source.externalId` | `orderPaymentRequest.status` | `orderPaymentRequest.orderId` | `orderPaymentRequest.amount.amount` | `orderPaymentRequest.amount.formattedAmount` | `orderPaymentRequest.currency` | `orderPaymentRequest.title` | `orderPaymentRequest.blockedPaymentMethods`, 2>>;
|
|
73
73
|
}
|
|
74
74
|
declare function voidOrderPaymentRequest$1(httpClient: HttpClient): VoidOrderPaymentRequestSignature;
|
|
75
75
|
interface VoidOrderPaymentRequestSignature {
|