@wix/auto_sdk_ecom_order-payment-requests 1.0.69 → 1.0.71
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 +65 -98
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +6 -6
- package/build/cjs/index.typings.js +39 -56
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +26 -46
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +5 -5
- package/build/es/index.mjs +65 -98
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +6 -6
- package/build/es/index.typings.mjs +39 -56
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +26 -46
- package/build/es/meta.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 +2 -2
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 {
|
package/build/cjs/index.js
CHANGED
|
@@ -63,6 +63,22 @@ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
|
63
63
|
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
64
64
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
65
65
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
66
|
+
var TRANSFORM_PATHS_0 = [
|
|
67
|
+
{ path: "orderPaymentRequest.expirationDate" },
|
|
68
|
+
{ path: "orderPaymentRequest.createdDate" },
|
|
69
|
+
{ path: "orderPaymentRequest.updatedDate" }
|
|
70
|
+
];
|
|
71
|
+
var TRANSFORM_PATHS_1 = [
|
|
72
|
+
{ path: "orderPaymentRequests.expirationDate" },
|
|
73
|
+
{ path: "orderPaymentRequests.createdDate" },
|
|
74
|
+
{ path: "orderPaymentRequests.updatedDate" }
|
|
75
|
+
];
|
|
76
|
+
var TRANSFORM_PATHS_2 = [
|
|
77
|
+
{ path: "results.item.orderPaymentRequest.expirationDate" },
|
|
78
|
+
{ path: "results.item.orderPaymentRequest.createdDate" },
|
|
79
|
+
{ path: "results.item.orderPaymentRequest.updatedDate" }
|
|
80
|
+
];
|
|
81
|
+
var TRANSFORM_PATHS_3 = [{ path: "fieldMask" }];
|
|
66
82
|
function resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(opts) {
|
|
67
83
|
const domainToMappings = {
|
|
68
84
|
"api._api_base_domain_": [
|
|
@@ -110,11 +126,7 @@ function createOrderPaymentRequest(payload) {
|
|
|
110
126
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
111
127
|
{
|
|
112
128
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
113
|
-
paths:
|
|
114
|
-
{ path: "orderPaymentRequest.expirationDate" },
|
|
115
|
-
{ path: "orderPaymentRequest.createdDate" },
|
|
116
|
-
{ path: "orderPaymentRequest.updatedDate" }
|
|
117
|
-
]
|
|
129
|
+
paths: TRANSFORM_PATHS_0
|
|
118
130
|
}
|
|
119
131
|
]);
|
|
120
132
|
const metadata = {
|
|
@@ -132,11 +144,7 @@ function createOrderPaymentRequest(payload) {
|
|
|
132
144
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
133
145
|
{
|
|
134
146
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
135
|
-
paths:
|
|
136
|
-
{ path: "orderPaymentRequest.expirationDate" },
|
|
137
|
-
{ path: "orderPaymentRequest.createdDate" },
|
|
138
|
-
{ path: "orderPaymentRequest.updatedDate" }
|
|
139
|
-
]
|
|
147
|
+
paths: TRANSFORM_PATHS_0
|
|
140
148
|
}
|
|
141
149
|
])
|
|
142
150
|
};
|
|
@@ -149,11 +157,7 @@ function bulkCreateOrderPaymentRequests(payload) {
|
|
|
149
157
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
150
158
|
{
|
|
151
159
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
152
|
-
paths:
|
|
153
|
-
{ path: "orderPaymentRequests.expirationDate" },
|
|
154
|
-
{ path: "orderPaymentRequests.createdDate" },
|
|
155
|
-
{ path: "orderPaymentRequests.updatedDate" }
|
|
156
|
-
]
|
|
160
|
+
paths: TRANSFORM_PATHS_1
|
|
157
161
|
}
|
|
158
162
|
]);
|
|
159
163
|
const metadata = {
|
|
@@ -175,11 +179,7 @@ function bulkCreateOrderPaymentRequests(payload) {
|
|
|
175
179
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
176
180
|
{
|
|
177
181
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
178
|
-
paths:
|
|
179
|
-
{ path: "results.item.orderPaymentRequest.expirationDate" },
|
|
180
|
-
{ path: "results.item.orderPaymentRequest.createdDate" },
|
|
181
|
-
{ path: "results.item.orderPaymentRequest.updatedDate" }
|
|
182
|
-
]
|
|
182
|
+
paths: TRANSFORM_PATHS_2
|
|
183
183
|
}
|
|
184
184
|
])
|
|
185
185
|
};
|
|
@@ -208,11 +208,7 @@ function getOrderPaymentRequest(payload) {
|
|
|
208
208
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
209
209
|
{
|
|
210
210
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
211
|
-
paths:
|
|
212
|
-
{ path: "orderPaymentRequest.expirationDate" },
|
|
213
|
-
{ path: "orderPaymentRequest.createdDate" },
|
|
214
|
-
{ path: "orderPaymentRequest.updatedDate" }
|
|
215
|
-
]
|
|
211
|
+
paths: TRANSFORM_PATHS_0
|
|
216
212
|
}
|
|
217
213
|
])
|
|
218
214
|
};
|
|
@@ -225,15 +221,11 @@ function updateOrderPaymentRequest(payload) {
|
|
|
225
221
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
226
222
|
{
|
|
227
223
|
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
228
|
-
paths:
|
|
224
|
+
paths: TRANSFORM_PATHS_3
|
|
229
225
|
},
|
|
230
226
|
{
|
|
231
227
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
232
|
-
paths:
|
|
233
|
-
{ path: "orderPaymentRequest.expirationDate" },
|
|
234
|
-
{ path: "orderPaymentRequest.createdDate" },
|
|
235
|
-
{ path: "orderPaymentRequest.updatedDate" }
|
|
236
|
-
]
|
|
228
|
+
paths: TRANSFORM_PATHS_0
|
|
237
229
|
}
|
|
238
230
|
]);
|
|
239
231
|
const metadata = {
|
|
@@ -255,11 +247,7 @@ function updateOrderPaymentRequest(payload) {
|
|
|
255
247
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
256
248
|
{
|
|
257
249
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
258
|
-
paths:
|
|
259
|
-
{ path: "orderPaymentRequest.expirationDate" },
|
|
260
|
-
{ path: "orderPaymentRequest.createdDate" },
|
|
261
|
-
{ path: "orderPaymentRequest.updatedDate" }
|
|
262
|
-
]
|
|
250
|
+
paths: TRANSFORM_PATHS_0
|
|
263
251
|
}
|
|
264
252
|
])
|
|
265
253
|
};
|
|
@@ -307,11 +295,7 @@ function queryOrderPaymentRequests(payload) {
|
|
|
307
295
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
308
296
|
{
|
|
309
297
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
310
|
-
paths:
|
|
311
|
-
{ path: "orderPaymentRequests.expirationDate" },
|
|
312
|
-
{ path: "orderPaymentRequests.createdDate" },
|
|
313
|
-
{ path: "orderPaymentRequests.updatedDate" }
|
|
314
|
-
]
|
|
298
|
+
paths: TRANSFORM_PATHS_1
|
|
315
299
|
}
|
|
316
300
|
])
|
|
317
301
|
};
|
|
@@ -359,11 +343,7 @@ function updateExtendedFields(payload) {
|
|
|
359
343
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
360
344
|
{
|
|
361
345
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
362
|
-
paths:
|
|
363
|
-
{ path: "orderPaymentRequest.expirationDate" },
|
|
364
|
-
{ path: "orderPaymentRequest.createdDate" },
|
|
365
|
-
{ path: "orderPaymentRequest.updatedDate" }
|
|
366
|
-
]
|
|
346
|
+
paths: TRANSFORM_PATHS_0
|
|
367
347
|
}
|
|
368
348
|
])
|
|
369
349
|
};
|
|
@@ -415,6 +395,9 @@ var import_image = require("@wix/sdk-runtime/transformations/image");
|
|
|
415
395
|
var import_image2 = require("@wix/sdk-runtime/transformations/image");
|
|
416
396
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
417
397
|
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
398
|
+
var TRANSFORM_PATHS_02 = [{ path: "orderPaymentRequest.image" }];
|
|
399
|
+
var TRANSFORM_PATHS_12 = [{ path: "orderPaymentRequests.image" }];
|
|
400
|
+
var TRANSFORM_PATHS_22 = [{ path: "results.item.orderPaymentRequest.image" }];
|
|
418
401
|
var Status = /* @__PURE__ */ ((Status2) => {
|
|
419
402
|
Status2["UNPAID"] = "UNPAID";
|
|
420
403
|
Status2["PAID"] = "PAID";
|
|
@@ -448,7 +431,7 @@ async function createOrderPaymentRequest2(options) {
|
|
|
448
431
|
[
|
|
449
432
|
{
|
|
450
433
|
transformFn: import_image.transformSDKImageToRESTImage,
|
|
451
|
-
paths:
|
|
434
|
+
paths: TRANSFORM_PATHS_02
|
|
452
435
|
}
|
|
453
436
|
]
|
|
454
437
|
);
|
|
@@ -461,7 +444,7 @@ async function createOrderPaymentRequest2(options) {
|
|
|
461
444
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
462
445
|
{
|
|
463
446
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
464
|
-
paths:
|
|
447
|
+
paths: TRANSFORM_PATHS_02
|
|
465
448
|
}
|
|
466
449
|
])
|
|
467
450
|
)?.orderPaymentRequest;
|
|
@@ -491,7 +474,7 @@ async function bulkCreateOrderPaymentRequests2(orderPaymentRequests, options) {
|
|
|
491
474
|
[
|
|
492
475
|
{
|
|
493
476
|
transformFn: import_image.transformSDKImageToRESTImage,
|
|
494
|
-
paths:
|
|
477
|
+
paths: TRANSFORM_PATHS_12
|
|
495
478
|
}
|
|
496
479
|
]
|
|
497
480
|
);
|
|
@@ -506,7 +489,7 @@ async function bulkCreateOrderPaymentRequests2(orderPaymentRequests, options) {
|
|
|
506
489
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
507
490
|
{
|
|
508
491
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
509
|
-
paths:
|
|
492
|
+
paths: TRANSFORM_PATHS_22
|
|
510
493
|
}
|
|
511
494
|
])
|
|
512
495
|
);
|
|
@@ -541,7 +524,7 @@ async function getOrderPaymentRequest2(orderPaymentRequestId) {
|
|
|
541
524
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
542
525
|
{
|
|
543
526
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
544
|
-
paths:
|
|
527
|
+
paths: TRANSFORM_PATHS_02
|
|
545
528
|
}
|
|
546
529
|
])
|
|
547
530
|
)?.orderPaymentRequest;
|
|
@@ -568,7 +551,7 @@ async function updateOrderPaymentRequest2(_id, orderPaymentRequest) {
|
|
|
568
551
|
[
|
|
569
552
|
{
|
|
570
553
|
transformFn: import_image.transformSDKImageToRESTImage,
|
|
571
|
-
paths:
|
|
554
|
+
paths: TRANSFORM_PATHS_02
|
|
572
555
|
}
|
|
573
556
|
]
|
|
574
557
|
);
|
|
@@ -581,7 +564,7 @@ async function updateOrderPaymentRequest2(_id, orderPaymentRequest) {
|
|
|
581
564
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
582
565
|
{
|
|
583
566
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
584
|
-
paths:
|
|
567
|
+
paths: TRANSFORM_PATHS_02
|
|
585
568
|
}
|
|
586
569
|
])
|
|
587
570
|
)?.orderPaymentRequest;
|
|
@@ -655,7 +638,7 @@ function queryOrderPaymentRequests2() {
|
|
|
655
638
|
(0, import_transform_paths2.transformPaths)(data, [
|
|
656
639
|
{
|
|
657
640
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
658
|
-
paths:
|
|
641
|
+
paths: TRANSFORM_PATHS_12
|
|
659
642
|
}
|
|
660
643
|
])
|
|
661
644
|
);
|
|
@@ -688,7 +671,7 @@ async function typedQueryOrderPaymentRequests(query) {
|
|
|
688
671
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
689
672
|
{
|
|
690
673
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
691
|
-
paths:
|
|
674
|
+
paths: TRANSFORM_PATHS_12
|
|
692
675
|
}
|
|
693
676
|
])
|
|
694
677
|
);
|
|
@@ -750,7 +733,7 @@ async function updateExtendedFields2(_id, namespace, options) {
|
|
|
750
733
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
751
734
|
{
|
|
752
735
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
753
|
-
paths:
|
|
736
|
+
paths: TRANSFORM_PATHS_02
|
|
754
737
|
}
|
|
755
738
|
])
|
|
756
739
|
);
|
|
@@ -828,6 +811,20 @@ async function chargeOrderPaymentRequest2(orderPaymentRequestId, options) {
|
|
|
828
811
|
}
|
|
829
812
|
|
|
830
813
|
// src/ecom-v1-order-payment-request-order-payment-requests.public.ts
|
|
814
|
+
var TRANSFORM_PATHS_03 = [
|
|
815
|
+
{ path: "entity.expirationDate" },
|
|
816
|
+
{ path: "entity.createdDate" },
|
|
817
|
+
{ path: "entity.updatedDate" },
|
|
818
|
+
{ path: "metadata.eventTime" }
|
|
819
|
+
];
|
|
820
|
+
var TRANSFORM_PATHS_13 = [{ path: "entity.image" }];
|
|
821
|
+
var TRANSFORM_PATHS_23 = [
|
|
822
|
+
{ path: "data.orderPaymentRequest.expirationDate" },
|
|
823
|
+
{ path: "data.orderPaymentRequest.createdDate" },
|
|
824
|
+
{ path: "data.orderPaymentRequest.updatedDate" },
|
|
825
|
+
{ path: "metadata.eventTime" }
|
|
826
|
+
];
|
|
827
|
+
var TRANSFORM_PATHS_32 = [{ path: "data.orderPaymentRequest.image" }];
|
|
831
828
|
function createOrderPaymentRequest3(httpClient) {
|
|
832
829
|
return (options) => createOrderPaymentRequest2(
|
|
833
830
|
options,
|
|
@@ -916,16 +913,11 @@ var onOrderPaymentRequestCreated = /* @__PURE__ */ (0, import_sdk_types.EventDef
|
|
|
916
913
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
917
914
|
{
|
|
918
915
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
919
|
-
paths:
|
|
920
|
-
{ path: "entity.expirationDate" },
|
|
921
|
-
{ path: "entity.createdDate" },
|
|
922
|
-
{ path: "entity.updatedDate" },
|
|
923
|
-
{ path: "metadata.eventTime" }
|
|
924
|
-
]
|
|
916
|
+
paths: TRANSFORM_PATHS_03
|
|
925
917
|
},
|
|
926
918
|
{
|
|
927
919
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
928
|
-
paths:
|
|
920
|
+
paths: TRANSFORM_PATHS_13
|
|
929
921
|
}
|
|
930
922
|
])
|
|
931
923
|
)
|
|
@@ -937,16 +929,11 @@ var onOrderPaymentRequestDeleted = /* @__PURE__ */ (0, import_sdk_types.EventDef
|
|
|
937
929
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
938
930
|
{
|
|
939
931
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
940
|
-
paths:
|
|
941
|
-
{ path: "entity.expirationDate" },
|
|
942
|
-
{ path: "entity.createdDate" },
|
|
943
|
-
{ path: "entity.updatedDate" },
|
|
944
|
-
{ path: "metadata.eventTime" }
|
|
945
|
-
]
|
|
932
|
+
paths: TRANSFORM_PATHS_03
|
|
946
933
|
},
|
|
947
934
|
{
|
|
948
935
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
949
|
-
paths:
|
|
936
|
+
paths: TRANSFORM_PATHS_13
|
|
950
937
|
}
|
|
951
938
|
])
|
|
952
939
|
)
|
|
@@ -958,16 +945,11 @@ var onOrderPaymentRequestExpired = /* @__PURE__ */ (0, import_sdk_types.EventDef
|
|
|
958
945
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
959
946
|
{
|
|
960
947
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
961
|
-
paths:
|
|
962
|
-
{ path: "data.orderPaymentRequest.expirationDate" },
|
|
963
|
-
{ path: "data.orderPaymentRequest.createdDate" },
|
|
964
|
-
{ path: "data.orderPaymentRequest.updatedDate" },
|
|
965
|
-
{ path: "metadata.eventTime" }
|
|
966
|
-
]
|
|
948
|
+
paths: TRANSFORM_PATHS_23
|
|
967
949
|
},
|
|
968
950
|
{
|
|
969
951
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
970
|
-
paths:
|
|
952
|
+
paths: TRANSFORM_PATHS_32
|
|
971
953
|
}
|
|
972
954
|
])
|
|
973
955
|
)
|
|
@@ -979,16 +961,11 @@ var onOrderPaymentRequestPaid = /* @__PURE__ */ (0, import_sdk_types.EventDefini
|
|
|
979
961
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
980
962
|
{
|
|
981
963
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
982
|
-
paths:
|
|
983
|
-
{ path: "data.orderPaymentRequest.expirationDate" },
|
|
984
|
-
{ path: "data.orderPaymentRequest.createdDate" },
|
|
985
|
-
{ path: "data.orderPaymentRequest.updatedDate" },
|
|
986
|
-
{ path: "metadata.eventTime" }
|
|
987
|
-
]
|
|
964
|
+
paths: TRANSFORM_PATHS_23
|
|
988
965
|
},
|
|
989
966
|
{
|
|
990
967
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
991
|
-
paths:
|
|
968
|
+
paths: TRANSFORM_PATHS_32
|
|
992
969
|
}
|
|
993
970
|
])
|
|
994
971
|
)
|
|
@@ -1000,16 +977,11 @@ var onOrderPaymentRequestUpdated = /* @__PURE__ */ (0, import_sdk_types.EventDef
|
|
|
1000
977
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
1001
978
|
{
|
|
1002
979
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1003
|
-
paths:
|
|
1004
|
-
{ path: "entity.expirationDate" },
|
|
1005
|
-
{ path: "entity.createdDate" },
|
|
1006
|
-
{ path: "entity.updatedDate" },
|
|
1007
|
-
{ path: "metadata.eventTime" }
|
|
1008
|
-
]
|
|
980
|
+
paths: TRANSFORM_PATHS_03
|
|
1009
981
|
},
|
|
1010
982
|
{
|
|
1011
983
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
1012
|
-
paths:
|
|
984
|
+
paths: TRANSFORM_PATHS_13
|
|
1013
985
|
}
|
|
1014
986
|
])
|
|
1015
987
|
)
|
|
@@ -1021,16 +993,11 @@ var onOrderPaymentRequestVoided = /* @__PURE__ */ (0, import_sdk_types.EventDefi
|
|
|
1021
993
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
1022
994
|
{
|
|
1023
995
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1024
|
-
paths:
|
|
1025
|
-
{ path: "data.orderPaymentRequest.expirationDate" },
|
|
1026
|
-
{ path: "data.orderPaymentRequest.createdDate" },
|
|
1027
|
-
{ path: "data.orderPaymentRequest.updatedDate" },
|
|
1028
|
-
{ path: "metadata.eventTime" }
|
|
1029
|
-
]
|
|
996
|
+
paths: TRANSFORM_PATHS_23
|
|
1030
997
|
},
|
|
1031
998
|
{
|
|
1032
999
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
1033
|
-
paths:
|
|
1000
|
+
paths: TRANSFORM_PATHS_32
|
|
1034
1001
|
}
|
|
1035
1002
|
])
|
|
1036
1003
|
)
|