@wix/auto_sdk_ecom_order-payment-requests 1.0.16 → 1.0.18
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/{internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.universal.d.ts → ecom-v1-order-payment-request-order-payment-requests.universal-59AOR9bE.d.mts} +71 -198
- package/build/{cjs/src/ecom-v1-order-payment-request-order-payment-requests.universal.d.ts → ecom-v1-order-payment-request-order-payment-requests.universal-59AOR9bE.d.ts} +71 -198
- package/build/index.d.mts +84 -0
- package/build/index.d.ts +84 -0
- package/build/index.js +647 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +613 -0
- package/build/index.mjs.map +1 -0
- package/build/{es/src/ecom-v1-order-payment-request-order-payment-requests.universal.d.ts → internal/ecom-v1-order-payment-request-order-payment-requests.universal-59AOR9bE.d.mts} +71 -198
- package/build/internal/{es/src/ecom-v1-order-payment-request-order-payment-requests.universal.d.ts → ecom-v1-order-payment-request-order-payment-requests.universal-59AOR9bE.d.ts} +71 -198
- package/build/internal/index.d.mts +84 -0
- package/build/internal/index.d.ts +84 -0
- package/build/internal/index.js +647 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +613 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/{es/src/ecom-v1-order-payment-request-order-payment-requests.types.d.ts → internal/meta.d.mts} +70 -176
- package/build/internal/{cjs/src/ecom-v1-order-payment-request-order-payment-requests.types.d.ts → meta.d.ts} +70 -176
- package/build/internal/meta.js +418 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +385 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/{cjs/src/ecom-v1-order-payment-request-order-payment-requests.types.d.ts → meta.d.mts} +70 -176
- package/build/{internal/es/src/ecom-v1-order-payment-request-order-payment-requests.types.d.ts → meta.d.ts} +70 -176
- package/build/meta.js +418 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +385 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +12 -11
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-order-payment-request-order-payment-requests.context.d.ts +0 -11
- package/build/cjs/src/ecom-v1-order-payment-request-order-payment-requests.context.js +0 -17
- package/build/cjs/src/ecom-v1-order-payment-request-order-payment-requests.context.js.map +0 -1
- package/build/cjs/src/ecom-v1-order-payment-request-order-payment-requests.http.d.ts +0 -33
- package/build/cjs/src/ecom-v1-order-payment-request-order-payment-requests.http.js +0 -266
- package/build/cjs/src/ecom-v1-order-payment-request-order-payment-requests.http.js.map +0 -1
- package/build/cjs/src/ecom-v1-order-payment-request-order-payment-requests.meta.d.ts +0 -27
- package/build/cjs/src/ecom-v1-order-payment-request-order-payment-requests.meta.js +0 -163
- package/build/cjs/src/ecom-v1-order-payment-request-order-payment-requests.meta.js.map +0 -1
- package/build/cjs/src/ecom-v1-order-payment-request-order-payment-requests.public.d.ts +0 -76
- package/build/cjs/src/ecom-v1-order-payment-request-order-payment-requests.public.js +0 -52
- package/build/cjs/src/ecom-v1-order-payment-request-order-payment-requests.public.js.map +0 -1
- package/build/cjs/src/ecom-v1-order-payment-request-order-payment-requests.types.js +0 -24
- package/build/cjs/src/ecom-v1-order-payment-request-order-payment-requests.types.js.map +0 -1
- package/build/cjs/src/ecom-v1-order-payment-request-order-payment-requests.universal.js +0 -419
- package/build/cjs/src/ecom-v1-order-payment-request-order-payment-requests.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.context.d.ts +0 -11
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.context.js +0 -11
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.context.js.map +0 -1
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.http.d.ts +0 -33
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.http.js +0 -256
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.http.js.map +0 -1
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.meta.d.ts +0 -27
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.meta.js +0 -130
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.meta.js.map +0 -1
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.public.d.ts +0 -76
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.public.js +0 -39
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.public.js.map +0 -1
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.types.js +0 -21
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.types.js.map +0 -1
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.universal.js +0 -386
- package/build/es/src/ecom-v1-order-payment-request-order-payment-requests.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.context.d.ts +0 -11
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.context.js +0 -17
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.context.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.http.d.ts +0 -33
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.http.js +0 -266
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.http.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.meta.d.ts +0 -27
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.meta.js +0 -163
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.meta.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.public.d.ts +0 -76
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.public.js +0 -52
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.public.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.types.js +0 -24
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.types.js.map +0 -1
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.universal.js +0 -419
- package/build/internal/cjs/src/ecom-v1-order-payment-request-order-payment-requests.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.context.d.ts +0 -11
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.context.js +0 -11
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.context.js.map +0 -1
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.http.d.ts +0 -33
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.http.js +0 -256
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.http.js.map +0 -1
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.meta.d.ts +0 -27
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.meta.js +0 -130
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.meta.js.map +0 -1
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.public.d.ts +0 -76
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.public.js +0 -39
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.public.js.map +0 -1
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.types.js +0 -21
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.types.js.map +0 -1
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.universal.js +0 -386
- package/build/internal/es/src/ecom-v1-order-payment-request-order-payment-requests.universal.js.map +0 -1
package/build/meta.mjs
ADDED
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
// src/ecom-v1-order-payment-request-order-payment-requests.http.ts
|
|
2
|
+
import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
|
|
3
|
+
import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
|
|
4
|
+
import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
|
|
5
|
+
import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
|
|
6
|
+
import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
7
|
+
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
8
|
+
function resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(opts) {
|
|
9
|
+
const domainToMappings = {
|
|
10
|
+
"api._api_base_domain_": [
|
|
11
|
+
{
|
|
12
|
+
srcPath: "/order-payment-request",
|
|
13
|
+
destPath: ""
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"www._base_domain_": [
|
|
17
|
+
{
|
|
18
|
+
srcPath: "/ecom/v1/order-payment-requests",
|
|
19
|
+
destPath: "/v1/order-payment-requests"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"www.wixapis.com": [
|
|
23
|
+
{
|
|
24
|
+
srcPath: "/ecom/v1/order-payment-requests",
|
|
25
|
+
destPath: "/v1/order-payment-requests"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"manage._base_domain_": [
|
|
29
|
+
{
|
|
30
|
+
srcPath: "/ecom/v1/order-payment-requests",
|
|
31
|
+
destPath: "/v1/order-payment-requests"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
_: [
|
|
35
|
+
{
|
|
36
|
+
srcPath: "/ecom/v1/order-payment-requests",
|
|
37
|
+
destPath: "/v1/order-payment-requests"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
};
|
|
41
|
+
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
42
|
+
}
|
|
43
|
+
var PACKAGE_NAME = "@wix/auto_sdk_ecom_order-payment-requests";
|
|
44
|
+
function createOrderPaymentRequest(payload) {
|
|
45
|
+
function __createOrderPaymentRequest({ host }) {
|
|
46
|
+
const serializedData = transformPaths(payload, [
|
|
47
|
+
{
|
|
48
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
49
|
+
paths: [
|
|
50
|
+
{ path: "orderPaymentRequest.expirationDate" },
|
|
51
|
+
{ path: "orderPaymentRequest.createdDate" },
|
|
52
|
+
{ path: "orderPaymentRequest.updatedDate" }
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
]);
|
|
56
|
+
const metadata = {
|
|
57
|
+
entityFqdn: "wix.ecom.v1.order_payment_request",
|
|
58
|
+
method: "POST",
|
|
59
|
+
methodFqn: "wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.CreateOrderPaymentRequest",
|
|
60
|
+
packageName: PACKAGE_NAME,
|
|
61
|
+
url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(
|
|
62
|
+
{ protoPath: "/v1/order-payment-requests", data: serializedData, host }
|
|
63
|
+
),
|
|
64
|
+
data: serializedData,
|
|
65
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
66
|
+
{
|
|
67
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
68
|
+
paths: [
|
|
69
|
+
{ path: "orderPaymentRequest.expirationDate" },
|
|
70
|
+
{ path: "orderPaymentRequest.createdDate" },
|
|
71
|
+
{ path: "orderPaymentRequest.updatedDate" }
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
])
|
|
75
|
+
};
|
|
76
|
+
return metadata;
|
|
77
|
+
}
|
|
78
|
+
return __createOrderPaymentRequest;
|
|
79
|
+
}
|
|
80
|
+
function getOrderPaymentRequest(payload) {
|
|
81
|
+
function __getOrderPaymentRequest({ host }) {
|
|
82
|
+
const metadata = {
|
|
83
|
+
entityFqdn: "wix.ecom.v1.order_payment_request",
|
|
84
|
+
method: "GET",
|
|
85
|
+
methodFqn: "wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.GetOrderPaymentRequest",
|
|
86
|
+
packageName: PACKAGE_NAME,
|
|
87
|
+
url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(
|
|
88
|
+
{
|
|
89
|
+
protoPath: "/v1/order-payment-requests/{orderPaymentRequestId}",
|
|
90
|
+
data: payload,
|
|
91
|
+
host
|
|
92
|
+
}
|
|
93
|
+
),
|
|
94
|
+
params: toURLSearchParams(payload),
|
|
95
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
96
|
+
{
|
|
97
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
98
|
+
paths: [
|
|
99
|
+
{ path: "orderPaymentRequest.expirationDate" },
|
|
100
|
+
{ path: "orderPaymentRequest.createdDate" },
|
|
101
|
+
{ path: "orderPaymentRequest.updatedDate" }
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
])
|
|
105
|
+
};
|
|
106
|
+
return metadata;
|
|
107
|
+
}
|
|
108
|
+
return __getOrderPaymentRequest;
|
|
109
|
+
}
|
|
110
|
+
function updateOrderPaymentRequest(payload) {
|
|
111
|
+
function __updateOrderPaymentRequest({ host }) {
|
|
112
|
+
const serializedData = transformPaths(payload, [
|
|
113
|
+
{
|
|
114
|
+
transformFn: transformSDKFieldMaskToRESTFieldMask,
|
|
115
|
+
paths: [{ path: "fieldMask" }]
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
119
|
+
paths: [
|
|
120
|
+
{ path: "orderPaymentRequest.expirationDate" },
|
|
121
|
+
{ path: "orderPaymentRequest.createdDate" },
|
|
122
|
+
{ path: "orderPaymentRequest.updatedDate" }
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
]);
|
|
126
|
+
const metadata = {
|
|
127
|
+
entityFqdn: "wix.ecom.v1.order_payment_request",
|
|
128
|
+
method: "PATCH",
|
|
129
|
+
methodFqn: "wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.UpdateOrderPaymentRequest",
|
|
130
|
+
packageName: PACKAGE_NAME,
|
|
131
|
+
url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(
|
|
132
|
+
{
|
|
133
|
+
protoPath: "/v1/order-payment-requests/{orderPaymentRequest.id}",
|
|
134
|
+
data: serializedData,
|
|
135
|
+
host
|
|
136
|
+
}
|
|
137
|
+
),
|
|
138
|
+
data: serializedData,
|
|
139
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
140
|
+
{
|
|
141
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
142
|
+
paths: [
|
|
143
|
+
{ path: "orderPaymentRequest.expirationDate" },
|
|
144
|
+
{ path: "orderPaymentRequest.createdDate" },
|
|
145
|
+
{ path: "orderPaymentRequest.updatedDate" }
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
])
|
|
149
|
+
};
|
|
150
|
+
return metadata;
|
|
151
|
+
}
|
|
152
|
+
return __updateOrderPaymentRequest;
|
|
153
|
+
}
|
|
154
|
+
function deleteOrderPaymentRequest(payload) {
|
|
155
|
+
function __deleteOrderPaymentRequest({ host }) {
|
|
156
|
+
const metadata = {
|
|
157
|
+
entityFqdn: "wix.ecom.v1.order_payment_request",
|
|
158
|
+
method: "DELETE",
|
|
159
|
+
methodFqn: "wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.DeleteOrderPaymentRequest",
|
|
160
|
+
packageName: PACKAGE_NAME,
|
|
161
|
+
url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(
|
|
162
|
+
{
|
|
163
|
+
protoPath: "/v1/order-payment-requests/{orderPaymentRequestId}",
|
|
164
|
+
data: payload,
|
|
165
|
+
host
|
|
166
|
+
}
|
|
167
|
+
),
|
|
168
|
+
params: toURLSearchParams(payload)
|
|
169
|
+
};
|
|
170
|
+
return metadata;
|
|
171
|
+
}
|
|
172
|
+
return __deleteOrderPaymentRequest;
|
|
173
|
+
}
|
|
174
|
+
function queryOrderPaymentRequests(payload) {
|
|
175
|
+
function __queryOrderPaymentRequests({ host }) {
|
|
176
|
+
const metadata = {
|
|
177
|
+
entityFqdn: "wix.ecom.v1.order_payment_request",
|
|
178
|
+
method: "POST",
|
|
179
|
+
methodFqn: "wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.QueryOrderPaymentRequests",
|
|
180
|
+
packageName: PACKAGE_NAME,
|
|
181
|
+
url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(
|
|
182
|
+
{ protoPath: "/v1/order-payment-requests/query", data: payload, host }
|
|
183
|
+
),
|
|
184
|
+
data: payload,
|
|
185
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
186
|
+
{
|
|
187
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
188
|
+
paths: [
|
|
189
|
+
{ path: "orderPaymentRequests.expirationDate" },
|
|
190
|
+
{ path: "orderPaymentRequests.createdDate" },
|
|
191
|
+
{ path: "orderPaymentRequests.updatedDate" }
|
|
192
|
+
]
|
|
193
|
+
}
|
|
194
|
+
])
|
|
195
|
+
};
|
|
196
|
+
return metadata;
|
|
197
|
+
}
|
|
198
|
+
return __queryOrderPaymentRequests;
|
|
199
|
+
}
|
|
200
|
+
function getOrderPaymentRequestUrl(payload) {
|
|
201
|
+
function __getOrderPaymentRequestUrl({ host }) {
|
|
202
|
+
const metadata = {
|
|
203
|
+
entityFqdn: "wix.ecom.v1.order_payment_request",
|
|
204
|
+
method: "POST",
|
|
205
|
+
methodFqn: "wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.GetOrderPaymentRequestURL",
|
|
206
|
+
packageName: PACKAGE_NAME,
|
|
207
|
+
url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(
|
|
208
|
+
{ protoPath: "/v1/order-payment-requests/url", data: payload, host }
|
|
209
|
+
),
|
|
210
|
+
data: payload
|
|
211
|
+
};
|
|
212
|
+
return metadata;
|
|
213
|
+
}
|
|
214
|
+
return __getOrderPaymentRequestUrl;
|
|
215
|
+
}
|
|
216
|
+
function updateExtendedFields(payload) {
|
|
217
|
+
function __updateExtendedFields({ host }) {
|
|
218
|
+
const metadata = {
|
|
219
|
+
entityFqdn: "wix.ecom.v1.order_payment_request",
|
|
220
|
+
method: "POST",
|
|
221
|
+
methodFqn: "wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.UpdateExtendedFields",
|
|
222
|
+
packageName: PACKAGE_NAME,
|
|
223
|
+
url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(
|
|
224
|
+
{
|
|
225
|
+
protoPath: "/v1/order-payment-requests/{id}/update-extended-fields",
|
|
226
|
+
data: payload,
|
|
227
|
+
host
|
|
228
|
+
}
|
|
229
|
+
),
|
|
230
|
+
data: payload,
|
|
231
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
232
|
+
{
|
|
233
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
234
|
+
paths: [
|
|
235
|
+
{ path: "orderPaymentRequest.expirationDate" },
|
|
236
|
+
{ path: "orderPaymentRequest.createdDate" },
|
|
237
|
+
{ path: "orderPaymentRequest.updatedDate" }
|
|
238
|
+
]
|
|
239
|
+
}
|
|
240
|
+
])
|
|
241
|
+
};
|
|
242
|
+
return metadata;
|
|
243
|
+
}
|
|
244
|
+
return __updateExtendedFields;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
// src/ecom-v1-order-payment-request-order-payment-requests.meta.ts
|
|
248
|
+
function createOrderPaymentRequest2() {
|
|
249
|
+
const payload = {};
|
|
250
|
+
const getRequestOptions = createOrderPaymentRequest(payload);
|
|
251
|
+
const getUrl = (context) => {
|
|
252
|
+
const { url } = getRequestOptions(context);
|
|
253
|
+
return url;
|
|
254
|
+
};
|
|
255
|
+
return {
|
|
256
|
+
getUrl,
|
|
257
|
+
httpMethod: "POST",
|
|
258
|
+
path: "/v1/order-payment-requests",
|
|
259
|
+
pathParams: {},
|
|
260
|
+
__requestType: null,
|
|
261
|
+
__originalRequestType: null,
|
|
262
|
+
__responseType: null,
|
|
263
|
+
__originalResponseType: null
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
function getOrderPaymentRequest2() {
|
|
267
|
+
const payload = { orderPaymentRequestId: ":orderPaymentRequestId" };
|
|
268
|
+
const getRequestOptions = getOrderPaymentRequest(payload);
|
|
269
|
+
const getUrl = (context) => {
|
|
270
|
+
const { url } = getRequestOptions(context);
|
|
271
|
+
return url;
|
|
272
|
+
};
|
|
273
|
+
return {
|
|
274
|
+
getUrl,
|
|
275
|
+
httpMethod: "GET",
|
|
276
|
+
path: "/v1/order-payment-requests/{orderPaymentRequestId}",
|
|
277
|
+
pathParams: { orderPaymentRequestId: "orderPaymentRequestId" },
|
|
278
|
+
__requestType: null,
|
|
279
|
+
__originalRequestType: null,
|
|
280
|
+
__responseType: null,
|
|
281
|
+
__originalResponseType: null
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
function updateOrderPaymentRequest2() {
|
|
285
|
+
const payload = {
|
|
286
|
+
orderPaymentRequest: { id: ":orderPaymentRequestId" }
|
|
287
|
+
};
|
|
288
|
+
const getRequestOptions = updateOrderPaymentRequest(payload);
|
|
289
|
+
const getUrl = (context) => {
|
|
290
|
+
const { url } = getRequestOptions(context);
|
|
291
|
+
return url;
|
|
292
|
+
};
|
|
293
|
+
return {
|
|
294
|
+
getUrl,
|
|
295
|
+
httpMethod: "PATCH",
|
|
296
|
+
path: "/v1/order-payment-requests/{orderPaymentRequest.id}",
|
|
297
|
+
pathParams: { orderPaymentRequestId: "orderPaymentRequestId" },
|
|
298
|
+
__requestType: null,
|
|
299
|
+
__originalRequestType: null,
|
|
300
|
+
__responseType: null,
|
|
301
|
+
__originalResponseType: null
|
|
302
|
+
};
|
|
303
|
+
}
|
|
304
|
+
function deleteOrderPaymentRequest2() {
|
|
305
|
+
const payload = { orderPaymentRequestId: ":orderPaymentRequestId" };
|
|
306
|
+
const getRequestOptions = deleteOrderPaymentRequest(payload);
|
|
307
|
+
const getUrl = (context) => {
|
|
308
|
+
const { url } = getRequestOptions(context);
|
|
309
|
+
return url;
|
|
310
|
+
};
|
|
311
|
+
return {
|
|
312
|
+
getUrl,
|
|
313
|
+
httpMethod: "DELETE",
|
|
314
|
+
path: "/v1/order-payment-requests/{orderPaymentRequestId}",
|
|
315
|
+
pathParams: { orderPaymentRequestId: "orderPaymentRequestId" },
|
|
316
|
+
__requestType: null,
|
|
317
|
+
__originalRequestType: null,
|
|
318
|
+
__responseType: null,
|
|
319
|
+
__originalResponseType: null
|
|
320
|
+
};
|
|
321
|
+
}
|
|
322
|
+
function queryOrderPaymentRequests2() {
|
|
323
|
+
const payload = {};
|
|
324
|
+
const getRequestOptions = queryOrderPaymentRequests(payload);
|
|
325
|
+
const getUrl = (context) => {
|
|
326
|
+
const { url } = getRequestOptions(context);
|
|
327
|
+
return url;
|
|
328
|
+
};
|
|
329
|
+
return {
|
|
330
|
+
getUrl,
|
|
331
|
+
httpMethod: "POST",
|
|
332
|
+
path: "/v1/order-payment-requests/query",
|
|
333
|
+
pathParams: {},
|
|
334
|
+
__requestType: null,
|
|
335
|
+
__originalRequestType: null,
|
|
336
|
+
__responseType: null,
|
|
337
|
+
__originalResponseType: null
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
function getOrderPaymentRequestUrl2() {
|
|
341
|
+
const payload = {};
|
|
342
|
+
const getRequestOptions = getOrderPaymentRequestUrl(payload);
|
|
343
|
+
const getUrl = (context) => {
|
|
344
|
+
const { url } = getRequestOptions(context);
|
|
345
|
+
return url;
|
|
346
|
+
};
|
|
347
|
+
return {
|
|
348
|
+
getUrl,
|
|
349
|
+
httpMethod: "POST",
|
|
350
|
+
path: "/v1/order-payment-requests/url",
|
|
351
|
+
pathParams: {},
|
|
352
|
+
__requestType: null,
|
|
353
|
+
__originalRequestType: null,
|
|
354
|
+
__responseType: null,
|
|
355
|
+
__originalResponseType: null
|
|
356
|
+
};
|
|
357
|
+
}
|
|
358
|
+
function updateExtendedFields2() {
|
|
359
|
+
const payload = { id: ":id" };
|
|
360
|
+
const getRequestOptions = updateExtendedFields(payload);
|
|
361
|
+
const getUrl = (context) => {
|
|
362
|
+
const { url } = getRequestOptions(context);
|
|
363
|
+
return url;
|
|
364
|
+
};
|
|
365
|
+
return {
|
|
366
|
+
getUrl,
|
|
367
|
+
httpMethod: "POST",
|
|
368
|
+
path: "/v1/order-payment-requests/{id}/update-extended-fields",
|
|
369
|
+
pathParams: { id: "id" },
|
|
370
|
+
__requestType: null,
|
|
371
|
+
__originalRequestType: null,
|
|
372
|
+
__responseType: null,
|
|
373
|
+
__originalResponseType: null
|
|
374
|
+
};
|
|
375
|
+
}
|
|
376
|
+
export {
|
|
377
|
+
createOrderPaymentRequest2 as createOrderPaymentRequest,
|
|
378
|
+
deleteOrderPaymentRequest2 as deleteOrderPaymentRequest,
|
|
379
|
+
getOrderPaymentRequest2 as getOrderPaymentRequest,
|
|
380
|
+
getOrderPaymentRequestUrl2 as getOrderPaymentRequestUrl,
|
|
381
|
+
queryOrderPaymentRequests2 as queryOrderPaymentRequests,
|
|
382
|
+
updateExtendedFields2 as updateExtendedFields,
|
|
383
|
+
updateOrderPaymentRequest2 as updateOrderPaymentRequest
|
|
384
|
+
};
|
|
385
|
+
//# sourceMappingURL=meta.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/ecom-v1-order-payment-request-order-payment-requests.http.ts","../src/ecom-v1-order-payment-request-order-payment-requests.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'api._api_base_domain_': [\n {\n srcPath: '/order-payment-request',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/ecom/v1/order-payment-requests',\n destPath: '/v1/order-payment-requests',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/ecom/v1/order-payment-requests',\n destPath: '/v1/order-payment-requests',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/ecom/v1/order-payment-requests',\n destPath: '/v1/order-payment-requests',\n },\n ],\n _: [\n {\n srcPath: '/ecom/v1/order-payment-requests',\n destPath: '/v1/order-payment-requests',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_ecom_order-payment-requests';\n\n/** Creates a order payment request. */\nexport function createOrderPaymentRequest(\n payload: object\n): RequestOptionsFactory<any> {\n function __createOrderPaymentRequest({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'orderPaymentRequest.expirationDate' },\n { path: 'orderPaymentRequest.createdDate' },\n { path: 'orderPaymentRequest.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.order_payment_request',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.CreateOrderPaymentRequest',\n packageName: PACKAGE_NAME,\n url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(\n { protoPath: '/v1/order-payment-requests', data: serializedData, host }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'orderPaymentRequest.expirationDate' },\n { path: 'orderPaymentRequest.createdDate' },\n { path: 'orderPaymentRequest.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createOrderPaymentRequest;\n}\n\n/** Retrieves a order payment request. */\nexport function getOrderPaymentRequest(\n payload: object\n): RequestOptionsFactory<any> {\n function __getOrderPaymentRequest({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.order_payment_request',\n method: 'GET' as any,\n methodFqn:\n 'wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.GetOrderPaymentRequest',\n packageName: PACKAGE_NAME,\n url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(\n {\n protoPath: '/v1/order-payment-requests/{orderPaymentRequestId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'orderPaymentRequest.expirationDate' },\n { path: 'orderPaymentRequest.createdDate' },\n { path: 'orderPaymentRequest.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getOrderPaymentRequest;\n}\n\n/**\n * Updates a order payment request.\n *\n * Please note that only `UNPAID` payment requests can be updated.\n */\nexport function updateOrderPaymentRequest(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateOrderPaymentRequest({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'orderPaymentRequest.expirationDate' },\n { path: 'orderPaymentRequest.createdDate' },\n { path: 'orderPaymentRequest.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.ecom.v1.order_payment_request',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.UpdateOrderPaymentRequest',\n packageName: PACKAGE_NAME,\n url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(\n {\n protoPath: '/v1/order-payment-requests/{orderPaymentRequest.id}',\n data: serializedData,\n host,\n }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'orderPaymentRequest.expirationDate' },\n { path: 'orderPaymentRequest.createdDate' },\n { path: 'orderPaymentRequest.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateOrderPaymentRequest;\n}\n\n/**\n * Deletes a order payment request.\n *\n * Please note that only `UNPAID` payment requests can be deleted.\n */\nexport function deleteOrderPaymentRequest(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteOrderPaymentRequest({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.order_payment_request',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.DeleteOrderPaymentRequest',\n packageName: PACKAGE_NAME,\n url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(\n {\n protoPath: '/v1/order-payment-requests/{orderPaymentRequestId}',\n data: payload,\n host,\n }\n ),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteOrderPaymentRequest;\n}\n\n/**\n * Retrieves a list of Payment Requests, given the provided [paging, filtering, and sorting][1].\n *\n * Query Payment Requests runs with these defaults, which you can override:\n * - `createdDate` is sorted in DESC order\n * - `cursorPaging.limit` is 100\n *\n * To learn about working with _Query_ endpoints, see\n * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language), and\n * [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).\n */\nexport function queryOrderPaymentRequests(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryOrderPaymentRequests({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.order_payment_request',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.QueryOrderPaymentRequests',\n packageName: PACKAGE_NAME,\n url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(\n { protoPath: '/v1/order-payment-requests/query', data: payload, host }\n ),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'orderPaymentRequests.expirationDate' },\n { path: 'orderPaymentRequests.createdDate' },\n { path: 'orderPaymentRequests.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryOrderPaymentRequests;\n}\n\n/** Retrieves the order payment request page URL of a specified order payment request. */\nexport function getOrderPaymentRequestUrl(\n payload: object\n): RequestOptionsFactory<any> {\n function __getOrderPaymentRequestUrl({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.order_payment_request',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.GetOrderPaymentRequestURL',\n packageName: PACKAGE_NAME,\n url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(\n { protoPath: '/v1/order-payment-requests/url', data: payload, host }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __getOrderPaymentRequestUrl;\n}\n\n/** Updates extended fields of a order payment request */\nexport function updateExtendedFields(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateExtendedFields({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.ecom.v1.order_payment_request',\n method: 'POST' as any,\n methodFqn:\n 'wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.UpdateExtendedFields',\n packageName: PACKAGE_NAME,\n url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(\n {\n protoPath: '/v1/order-payment-requests/{id}/update-extended-fields',\n data: payload,\n host,\n }\n ),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'orderPaymentRequest.expirationDate' },\n { path: 'orderPaymentRequest.createdDate' },\n { path: 'orderPaymentRequest.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateExtendedFields;\n}\n","import * as ambassadorWixEcomV1OrderPaymentRequest from './ecom-v1-order-payment-request-order-payment-requests.http.js';\nimport * as ambassadorWixEcomV1OrderPaymentRequestTypes from './ecom-v1-order-payment-request-order-payment-requests.types.js';\nimport * as ambassadorWixEcomV1OrderPaymentRequestUniversalTypes from './ecom-v1-order-payment-request-order-payment-requests.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createOrderPaymentRequest(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.CreateOrderPaymentRequestRequest,\n ambassadorWixEcomV1OrderPaymentRequestTypes.CreateOrderPaymentRequestRequest,\n ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.CreateOrderPaymentRequestResponse,\n ambassadorWixEcomV1OrderPaymentRequestTypes.CreateOrderPaymentRequestResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1OrderPaymentRequest.createOrderPaymentRequest(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/order-payment-requests',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getOrderPaymentRequest(): __PublicMethodMetaInfo<\n 'GET',\n { orderPaymentRequestId: string },\n ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.GetOrderPaymentRequestRequest,\n ambassadorWixEcomV1OrderPaymentRequestTypes.GetOrderPaymentRequestRequest,\n ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.GetOrderPaymentRequestResponse,\n ambassadorWixEcomV1OrderPaymentRequestTypes.GetOrderPaymentRequestResponse\n> {\n const payload = { orderPaymentRequestId: ':orderPaymentRequestId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1OrderPaymentRequest.getOrderPaymentRequest(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/order-payment-requests/{orderPaymentRequestId}',\n pathParams: { orderPaymentRequestId: 'orderPaymentRequestId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateOrderPaymentRequest(): __PublicMethodMetaInfo<\n 'PATCH',\n { orderPaymentRequestId: string },\n ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.UpdateOrderPaymentRequestRequest,\n ambassadorWixEcomV1OrderPaymentRequestTypes.UpdateOrderPaymentRequestRequest,\n ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.UpdateOrderPaymentRequestResponse,\n ambassadorWixEcomV1OrderPaymentRequestTypes.UpdateOrderPaymentRequestResponse\n> {\n const payload = {\n orderPaymentRequest: { id: ':orderPaymentRequestId' },\n } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1OrderPaymentRequest.updateOrderPaymentRequest(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/order-payment-requests/{orderPaymentRequest.id}',\n pathParams: { orderPaymentRequestId: 'orderPaymentRequestId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteOrderPaymentRequest(): __PublicMethodMetaInfo<\n 'DELETE',\n { orderPaymentRequestId: string },\n ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.DeleteOrderPaymentRequestRequest,\n ambassadorWixEcomV1OrderPaymentRequestTypes.DeleteOrderPaymentRequestRequest,\n ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.DeleteOrderPaymentRequestResponse,\n ambassadorWixEcomV1OrderPaymentRequestTypes.DeleteOrderPaymentRequestResponse\n> {\n const payload = { orderPaymentRequestId: ':orderPaymentRequestId' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1OrderPaymentRequest.deleteOrderPaymentRequest(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/order-payment-requests/{orderPaymentRequestId}',\n pathParams: { orderPaymentRequestId: 'orderPaymentRequestId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryOrderPaymentRequests(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.QueryOrderPaymentRequestsRequest,\n ambassadorWixEcomV1OrderPaymentRequestTypes.QueryOrderPaymentRequestsRequest,\n ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.QueryOrderPaymentRequestsResponse,\n ambassadorWixEcomV1OrderPaymentRequestTypes.QueryOrderPaymentRequestsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1OrderPaymentRequest.queryOrderPaymentRequests(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/order-payment-requests/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getOrderPaymentRequestUrl(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.GetOrderPaymentRequestURLRequest,\n ambassadorWixEcomV1OrderPaymentRequestTypes.GetOrderPaymentRequestURLRequest,\n ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.GetOrderPaymentRequestURLResponse,\n ambassadorWixEcomV1OrderPaymentRequestTypes.GetOrderPaymentRequestURLResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1OrderPaymentRequest.getOrderPaymentRequestUrl(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/order-payment-requests/url',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateExtendedFields(): __PublicMethodMetaInfo<\n 'POST',\n { id: string },\n ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.UpdateExtendedFieldsRequest,\n ambassadorWixEcomV1OrderPaymentRequestTypes.UpdateExtendedFieldsRequest,\n ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.UpdateExtendedFieldsResponse,\n ambassadorWixEcomV1OrderPaymentRequestTypes.UpdateExtendedFieldsResponse\n> {\n const payload = { id: ':id' } as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1OrderPaymentRequest.updateExtendedFields(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/order-payment-requests/{id}/update-extended-fields',\n pathParams: { id: 'id' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,qEACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,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;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,wBAOd;AACA,QAAM,UAAU,EAAE,IAAI,MAAM;AAE5B,QAAM,oBACmC,qBAAqB,OAAO;AAErE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,IAAI,KAAK;AAAA,IACvB,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","createOrderPaymentRequest","getOrderPaymentRequest","updateOrderPaymentRequest","deleteOrderPaymentRequest","queryOrderPaymentRequests","getOrderPaymentRequestUrl","updateExtendedFields"]}
|
package/package.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_ecom_order-payment-requests",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"keywords": [],
|
|
9
9
|
"sideEffects": false,
|
|
10
|
-
"main": "
|
|
11
|
-
"types": "./build/
|
|
10
|
+
"main": "/build/index.js",
|
|
11
|
+
"types": "./build/index.d.mts",
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
-
"import": "./build/
|
|
15
|
-
"require": "./build/
|
|
16
|
-
"types": "./build/
|
|
14
|
+
"import": "./build/index.mjs",
|
|
15
|
+
"require": "./build/index.js",
|
|
16
|
+
"types": "./build/index.d.mts"
|
|
17
17
|
},
|
|
18
18
|
"./package.json": "./package.json",
|
|
19
19
|
"./meta": {
|
|
20
|
-
"import": "./build/
|
|
21
|
-
"require": "./build/
|
|
22
|
-
"types": "./build/
|
|
20
|
+
"import": "./build/meta.mjs",
|
|
21
|
+
"require": "./build/meta.js",
|
|
22
|
+
"types": "./build/meta.d.mts"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
@@ -32,10 +32,11 @@
|
|
|
32
32
|
"@wix/sdk-types": "^1.13.28"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
+
"tsup": "^8.4.0",
|
|
35
36
|
"typescript": "^5.3.2"
|
|
36
37
|
},
|
|
37
38
|
"scripts": {
|
|
38
|
-
"build": "
|
|
39
|
+
"build": "tsup",
|
|
39
40
|
"test": ":"
|
|
40
41
|
},
|
|
41
42
|
"wix": {
|
|
@@ -48,5 +49,5 @@
|
|
|
48
49
|
"fqdn": "wix.ecom.v1.order_payment_request"
|
|
49
50
|
}
|
|
50
51
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
52
|
+
"falconPackageHash": "9e308e48c9982e2b054df124295ba3fe62df3aa1e7815ef75a6c567e"
|
|
52
53
|
}
|
package/build/cjs/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/ecom-v1-order-payment-request-order-payment-requests.context.js';
|
package/build/cjs/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./src/ecom-v1-order-payment-request-order-payment-requests.context.js"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
package/build/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wGAAsF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/ecom-v1-order-payment-request-order-payment-requests.universal.js';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./src/ecom-v1-order-payment-request-order-payment-requests.universal.js"), exports);
|
|
18
|
-
//# sourceMappingURL=index.typings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0GAAwF"}
|
package/build/cjs/meta.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/ecom-v1-order-payment-request-order-payment-requests.meta.js';
|
package/build/cjs/meta.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./src/ecom-v1-order-payment-request-order-payment-requests.meta.js"), exports);
|
|
18
|
-
//# sourceMappingURL=meta.js.map
|
package/build/cjs/meta.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qGAAmF"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { createOrderPaymentRequest as publicCreateOrderPaymentRequest, getOrderPaymentRequest as publicGetOrderPaymentRequest, updateOrderPaymentRequest as publicUpdateOrderPaymentRequest, deleteOrderPaymentRequest as publicDeleteOrderPaymentRequest, queryOrderPaymentRequests as publicQueryOrderPaymentRequests, getOrderPaymentRequestUrl as publicGetOrderPaymentRequestUrl, updateExtendedFields as publicUpdateExtendedFields } from './ecom-v1-order-payment-request-order-payment-requests.public.js';
|
|
2
|
-
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
3
|
-
export declare const createOrderPaymentRequest: MaybeContext<BuildRESTFunction<typeof publicCreateOrderPaymentRequest> & typeof publicCreateOrderPaymentRequest>;
|
|
4
|
-
export declare const getOrderPaymentRequest: MaybeContext<BuildRESTFunction<typeof publicGetOrderPaymentRequest> & typeof publicGetOrderPaymentRequest>;
|
|
5
|
-
export declare const updateOrderPaymentRequest: MaybeContext<BuildRESTFunction<typeof publicUpdateOrderPaymentRequest> & typeof publicUpdateOrderPaymentRequest>;
|
|
6
|
-
export declare const deleteOrderPaymentRequest: MaybeContext<BuildRESTFunction<typeof publicDeleteOrderPaymentRequest> & typeof publicDeleteOrderPaymentRequest>;
|
|
7
|
-
export declare const queryOrderPaymentRequests: MaybeContext<BuildRESTFunction<typeof publicQueryOrderPaymentRequests> & typeof publicQueryOrderPaymentRequests>;
|
|
8
|
-
export declare const getOrderPaymentRequestUrl: MaybeContext<BuildRESTFunction<typeof publicGetOrderPaymentRequestUrl> & typeof publicGetOrderPaymentRequestUrl>;
|
|
9
|
-
export declare const updateExtendedFields: MaybeContext<BuildRESTFunction<typeof publicUpdateExtendedFields> & typeof publicUpdateExtendedFields>;
|
|
10
|
-
export { Status, SortOrder, WebhookIdentityType, } from './ecom-v1-order-payment-request-order-payment-requests.universal.js';
|
|
11
|
-
export { OrderPaymentRequest, Source, Price, ExtendedFields, OrderPaymentRequestPaid, OrderPaymentRequestExpired, CreateOrderPaymentRequestRequest, CreateOrderPaymentRequestResponse, GetOrderPaymentRequestRequest, GetOrderPaymentRequestResponse, UpdateOrderPaymentRequestRequest, UpdateOrderPaymentRequestResponse, DeleteOrderPaymentRequestRequest, DeleteOrderPaymentRequestResponse, QueryOrderPaymentRequestsRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, CursorPaging, QueryOrderPaymentRequestsResponse, CursorPagingMetadata, Cursors, GetOrderPaymentRequestURLRequest, GetOrderPaymentRequestURLResponse, UpdateExtendedFieldsRequest, UpdateExtendedFieldsResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, CreateOrderPaymentRequestOptions, UpdateOrderPaymentRequest, OrderPaymentRequestsQueryResult, OrderPaymentRequestsQueryBuilder, UpdateExtendedFieldsOptions, } from './ecom-v1-order-payment-request-order-payment-requests.universal.js';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebhookIdentityType = exports.SortOrder = exports.Status = exports.updateExtendedFields = exports.getOrderPaymentRequestUrl = exports.queryOrderPaymentRequests = exports.deleteOrderPaymentRequest = exports.updateOrderPaymentRequest = exports.getOrderPaymentRequest = exports.createOrderPaymentRequest = void 0;
|
|
4
|
-
const ecom_v1_order_payment_request_order_payment_requests_public_js_1 = require("./ecom-v1-order-payment-request-order-payment-requests.public.js");
|
|
5
|
-
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
6
|
-
exports.createOrderPaymentRequest = (0, rest_modules_1.createRESTModule)(ecom_v1_order_payment_request_order_payment_requests_public_js_1.createOrderPaymentRequest);
|
|
7
|
-
exports.getOrderPaymentRequest = (0, rest_modules_1.createRESTModule)(ecom_v1_order_payment_request_order_payment_requests_public_js_1.getOrderPaymentRequest);
|
|
8
|
-
exports.updateOrderPaymentRequest = (0, rest_modules_1.createRESTModule)(ecom_v1_order_payment_request_order_payment_requests_public_js_1.updateOrderPaymentRequest);
|
|
9
|
-
exports.deleteOrderPaymentRequest = (0, rest_modules_1.createRESTModule)(ecom_v1_order_payment_request_order_payment_requests_public_js_1.deleteOrderPaymentRequest);
|
|
10
|
-
exports.queryOrderPaymentRequests = (0, rest_modules_1.createRESTModule)(ecom_v1_order_payment_request_order_payment_requests_public_js_1.queryOrderPaymentRequests);
|
|
11
|
-
exports.getOrderPaymentRequestUrl = (0, rest_modules_1.createRESTModule)(ecom_v1_order_payment_request_order_payment_requests_public_js_1.getOrderPaymentRequestUrl);
|
|
12
|
-
exports.updateExtendedFields = (0, rest_modules_1.createRESTModule)(ecom_v1_order_payment_request_order_payment_requests_public_js_1.updateExtendedFields);
|
|
13
|
-
var ecom_v1_order_payment_request_order_payment_requests_universal_js_1 = require("./ecom-v1-order-payment-request-order-payment-requests.universal.js");
|
|
14
|
-
Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return ecom_v1_order_payment_request_order_payment_requests_universal_js_1.Status; } });
|
|
15
|
-
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return ecom_v1_order_payment_request_order_payment_requests_universal_js_1.SortOrder; } });
|
|
16
|
-
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return ecom_v1_order_payment_request_order_payment_requests_universal_js_1.WebhookIdentityType; } });
|
|
17
|
-
//# sourceMappingURL=ecom-v1-order-payment-request-order-payment-requests.context.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-order-payment-request-order-payment-requests.context.js","sourceRoot":"","sources":["../../../src/ecom-v1-order-payment-request-order-payment-requests.context.ts"],"names":[],"mappings":";;;AAAA,qJAQ0E;AAC1E,gEAAiE;AAGpD,QAAA,yBAAyB,GAGpB,IAAA,+BAAgB,EAAC,0FAA+B,CAAC,CAAC;AACvD,QAAA,sBAAsB,GAGjB,IAAA,+BAAgB,EAAC,uFAA4B,CAAC,CAAC;AACpD,QAAA,yBAAyB,GAGpB,IAAA,+BAAgB,EAAC,0FAA+B,CAAC,CAAC;AACvD,QAAA,yBAAyB,GAGpB,IAAA,+BAAgB,EAAC,0FAA+B,CAAC,CAAC;AACvD,QAAA,yBAAyB,GAGpB,IAAA,+BAAgB,EAAC,0FAA+B,CAAC,CAAC;AACvD,QAAA,yBAAyB,GAGpB,IAAA,+BAAgB,EAAC,0FAA+B,CAAC,CAAC;AACvD,QAAA,oBAAoB,GAGf,IAAA,+BAAgB,EAAC,qFAA0B,CAAC,CAAC;AAE/D,yJAI6E;AAH3E,2JAAA,MAAM,OAAA;AACN,8JAAA,SAAS,OAAA;AACT,wKAAA,mBAAmB,OAAA"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
-
/** Creates a order payment request. */
|
|
3
|
-
export declare function createOrderPaymentRequest(payload: object): RequestOptionsFactory<any>;
|
|
4
|
-
/** Retrieves a order payment request. */
|
|
5
|
-
export declare function getOrderPaymentRequest(payload: object): RequestOptionsFactory<any>;
|
|
6
|
-
/**
|
|
7
|
-
* Updates a order payment request.
|
|
8
|
-
*
|
|
9
|
-
* Please note that only `UNPAID` payment requests can be updated.
|
|
10
|
-
*/
|
|
11
|
-
export declare function updateOrderPaymentRequest(payload: object): RequestOptionsFactory<any>;
|
|
12
|
-
/**
|
|
13
|
-
* Deletes a order payment request.
|
|
14
|
-
*
|
|
15
|
-
* Please note that only `UNPAID` payment requests can be deleted.
|
|
16
|
-
*/
|
|
17
|
-
export declare function deleteOrderPaymentRequest(payload: object): RequestOptionsFactory<any>;
|
|
18
|
-
/**
|
|
19
|
-
* Retrieves a list of Payment Requests, given the provided [paging, filtering, and sorting][1].
|
|
20
|
-
*
|
|
21
|
-
* Query Payment Requests runs with these defaults, which you can override:
|
|
22
|
-
* - `createdDate` is sorted in DESC order
|
|
23
|
-
* - `cursorPaging.limit` is 100
|
|
24
|
-
*
|
|
25
|
-
* To learn about working with _Query_ endpoints, see
|
|
26
|
-
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language), and
|
|
27
|
-
* [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
|
|
28
|
-
*/
|
|
29
|
-
export declare function queryOrderPaymentRequests(payload: object): RequestOptionsFactory<any>;
|
|
30
|
-
/** Retrieves the order payment request page URL of a specified order payment request. */
|
|
31
|
-
export declare function getOrderPaymentRequestUrl(payload: object): RequestOptionsFactory<any>;
|
|
32
|
-
/** Updates extended fields of a order payment request */
|
|
33
|
-
export declare function updateExtendedFields(payload: object): RequestOptionsFactory<any>;
|