@wix/auto_sdk_pricing-plans_orders 1.0.129 → 1.0.131
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 +1 -1
- package/build/cjs/index.js +92 -320
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +49 -125
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +49 -125
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +92 -320
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +49 -125
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +49 -125
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.typings.d.mts +1 -1
- package/package.json +2 -2
package/build/es/index.d.mts
CHANGED
|
@@ -239,7 +239,7 @@ interface RequestCancellationSignature {
|
|
|
239
239
|
* Canceling during the free trial period: When a buyer cancels their order during the free trial period, the buyer's subscription expires at the end of the free trial period and they won't be billed. The buyer may continue using the benefits until the end of the free trial period.
|
|
240
240
|
*
|
|
241
241
|
* >**Note:**
|
|
242
|
-
* >This method requires
|
|
242
|
+
* >This method requires [visitor or member authentication](https://dev.wix.com/docs/overview/auth-permissions/identities).
|
|
243
243
|
* @param - Order ID.
|
|
244
244
|
* @param - Required. Whether to cancel the order effective immediately or at the next payment date. One-time orders can only be canceled immediately.
|
|
245
245
|
* @param - Options for requesting a cancellation.
|
package/build/es/index.mjs
CHANGED
|
@@ -18,6 +18,40 @@ import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transform
|
|
|
18
18
|
import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
|
|
19
19
|
import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
20
20
|
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
21
|
+
var TRANSFORM_PATHS_0 = [
|
|
22
|
+
{ path: "order.startDate" },
|
|
23
|
+
{ path: "order.endDate" },
|
|
24
|
+
{ path: "order.earliestEndDate" },
|
|
25
|
+
{ path: "order.createdDate" },
|
|
26
|
+
{ path: "order.updatedDate" },
|
|
27
|
+
{ path: "order.cancellation.requestedDate" },
|
|
28
|
+
{ path: "order.pausePeriods.pauseDate" },
|
|
29
|
+
{ path: "order.pausePeriods.resumeDate" },
|
|
30
|
+
{ path: "order.currentCycle.startedDate" },
|
|
31
|
+
{ path: "order.currentCycle.endedDate" },
|
|
32
|
+
{ path: "order.cycles.startedDate" },
|
|
33
|
+
{ path: "order.cycles.endedDate" }
|
|
34
|
+
];
|
|
35
|
+
var TRANSFORM_PATHS_1 = [
|
|
36
|
+
{ path: "sorting.origin.latitude" },
|
|
37
|
+
{ path: "sorting.origin.longitude" }
|
|
38
|
+
];
|
|
39
|
+
var TRANSFORM_PATHS_2 = [
|
|
40
|
+
{ path: "orders.startDate" },
|
|
41
|
+
{ path: "orders.endDate" },
|
|
42
|
+
{ path: "orders.earliestEndDate" },
|
|
43
|
+
{ path: "orders.createdDate" },
|
|
44
|
+
{ path: "orders.updatedDate" },
|
|
45
|
+
{ path: "orders.cancellation.requestedDate" },
|
|
46
|
+
{ path: "orders.pausePeriods.pauseDate" },
|
|
47
|
+
{ path: "orders.pausePeriods.resumeDate" },
|
|
48
|
+
{ path: "orders.currentCycle.startedDate" },
|
|
49
|
+
{ path: "orders.currentCycle.endedDate" },
|
|
50
|
+
{ path: "orders.cycles.startedDate" },
|
|
51
|
+
{ path: "orders.cycles.endedDate" }
|
|
52
|
+
];
|
|
53
|
+
var TRANSFORM_PATHS_3 = [{ path: "endDate" }];
|
|
54
|
+
var TRANSFORM_PATHS_4 = [{ path: "startDate" }];
|
|
21
55
|
function resolveComWixpressMembershipV2OrdersMemberMemberOrdersServiceUrl(opts) {
|
|
22
56
|
const domainToMappings = {
|
|
23
57
|
"api._api_base_domain_": [
|
|
@@ -423,20 +457,7 @@ function managementGetOrder(payload) {
|
|
|
423
457
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
424
458
|
{
|
|
425
459
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
426
|
-
paths:
|
|
427
|
-
{ path: "order.startDate" },
|
|
428
|
-
{ path: "order.endDate" },
|
|
429
|
-
{ path: "order.earliestEndDate" },
|
|
430
|
-
{ path: "order.createdDate" },
|
|
431
|
-
{ path: "order.updatedDate" },
|
|
432
|
-
{ path: "order.cancellation.requestedDate" },
|
|
433
|
-
{ path: "order.pausePeriods.pauseDate" },
|
|
434
|
-
{ path: "order.pausePeriods.resumeDate" },
|
|
435
|
-
{ path: "order.currentCycle.startedDate" },
|
|
436
|
-
{ path: "order.currentCycle.endedDate" },
|
|
437
|
-
{ path: "order.cycles.startedDate" },
|
|
438
|
-
{ path: "order.cycles.endedDate" }
|
|
439
|
-
]
|
|
460
|
+
paths: TRANSFORM_PATHS_0
|
|
440
461
|
}
|
|
441
462
|
])
|
|
442
463
|
};
|
|
@@ -449,10 +470,7 @@ function managementListOrders(payload) {
|
|
|
449
470
|
const serializedData = transformPaths(payload, [
|
|
450
471
|
{
|
|
451
472
|
transformFn: transformSDKFloatToRESTFloat,
|
|
452
|
-
paths:
|
|
453
|
-
{ path: "sorting.origin.latitude" },
|
|
454
|
-
{ path: "sorting.origin.longitude" }
|
|
455
|
-
]
|
|
473
|
+
paths: TRANSFORM_PATHS_1
|
|
456
474
|
}
|
|
457
475
|
]);
|
|
458
476
|
const metadata = {
|
|
@@ -472,20 +490,7 @@ function managementListOrders(payload) {
|
|
|
472
490
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
473
491
|
{
|
|
474
492
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
475
|
-
paths:
|
|
476
|
-
{ path: "orders.startDate" },
|
|
477
|
-
{ path: "orders.endDate" },
|
|
478
|
-
{ path: "orders.earliestEndDate" },
|
|
479
|
-
{ path: "orders.createdDate" },
|
|
480
|
-
{ path: "orders.updatedDate" },
|
|
481
|
-
{ path: "orders.cancellation.requestedDate" },
|
|
482
|
-
{ path: "orders.pausePeriods.pauseDate" },
|
|
483
|
-
{ path: "orders.pausePeriods.resumeDate" },
|
|
484
|
-
{ path: "orders.currentCycle.startedDate" },
|
|
485
|
-
{ path: "orders.currentCycle.endedDate" },
|
|
486
|
-
{ path: "orders.cycles.startedDate" },
|
|
487
|
-
{ path: "orders.cycles.endedDate" }
|
|
488
|
-
]
|
|
493
|
+
paths: TRANSFORM_PATHS_2
|
|
489
494
|
}
|
|
490
495
|
])
|
|
491
496
|
};
|
|
@@ -498,7 +503,7 @@ function postponeEndDate(payload) {
|
|
|
498
503
|
const serializedData = transformPaths(payload, [
|
|
499
504
|
{
|
|
500
505
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
501
|
-
paths:
|
|
506
|
+
paths: TRANSFORM_PATHS_3
|
|
502
507
|
}
|
|
503
508
|
]);
|
|
504
509
|
const metadata = {
|
|
@@ -609,7 +614,7 @@ function createOnlineOrder(payload) {
|
|
|
609
614
|
const serializedData = transformPaths(payload, [
|
|
610
615
|
{
|
|
611
616
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
612
|
-
paths:
|
|
617
|
+
paths: TRANSFORM_PATHS_4
|
|
613
618
|
}
|
|
614
619
|
]);
|
|
615
620
|
const metadata = {
|
|
@@ -629,20 +634,7 @@ function createOnlineOrder(payload) {
|
|
|
629
634
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
630
635
|
{
|
|
631
636
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
632
|
-
paths:
|
|
633
|
-
{ path: "order.startDate" },
|
|
634
|
-
{ path: "order.endDate" },
|
|
635
|
-
{ path: "order.earliestEndDate" },
|
|
636
|
-
{ path: "order.createdDate" },
|
|
637
|
-
{ path: "order.updatedDate" },
|
|
638
|
-
{ path: "order.cancellation.requestedDate" },
|
|
639
|
-
{ path: "order.pausePeriods.pauseDate" },
|
|
640
|
-
{ path: "order.pausePeriods.resumeDate" },
|
|
641
|
-
{ path: "order.currentCycle.startedDate" },
|
|
642
|
-
{ path: "order.currentCycle.endedDate" },
|
|
643
|
-
{ path: "order.cycles.startedDate" },
|
|
644
|
-
{ path: "order.cycles.endedDate" }
|
|
645
|
-
]
|
|
637
|
+
paths: TRANSFORM_PATHS_0
|
|
646
638
|
}
|
|
647
639
|
])
|
|
648
640
|
};
|
|
@@ -655,7 +647,7 @@ function createOfflineOrder(payload) {
|
|
|
655
647
|
const serializedData = transformPaths(payload, [
|
|
656
648
|
{
|
|
657
649
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
658
|
-
paths:
|
|
650
|
+
paths: TRANSFORM_PATHS_4
|
|
659
651
|
}
|
|
660
652
|
]);
|
|
661
653
|
const metadata = {
|
|
@@ -675,20 +667,7 @@ function createOfflineOrder(payload) {
|
|
|
675
667
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
676
668
|
{
|
|
677
669
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
678
|
-
paths:
|
|
679
|
-
{ path: "order.startDate" },
|
|
680
|
-
{ path: "order.endDate" },
|
|
681
|
-
{ path: "order.earliestEndDate" },
|
|
682
|
-
{ path: "order.createdDate" },
|
|
683
|
-
{ path: "order.updatedDate" },
|
|
684
|
-
{ path: "order.cancellation.requestedDate" },
|
|
685
|
-
{ path: "order.pausePeriods.pauseDate" },
|
|
686
|
-
{ path: "order.pausePeriods.resumeDate" },
|
|
687
|
-
{ path: "order.currentCycle.startedDate" },
|
|
688
|
-
{ path: "order.currentCycle.endedDate" },
|
|
689
|
-
{ path: "order.cycles.startedDate" },
|
|
690
|
-
{ path: "order.cycles.endedDate" }
|
|
691
|
-
]
|
|
670
|
+
paths: TRANSFORM_PATHS_0
|
|
692
671
|
}
|
|
693
672
|
])
|
|
694
673
|
};
|
|
@@ -701,7 +680,7 @@ function getOnlineOrderPreview(payload) {
|
|
|
701
680
|
const serializedData = transformPaths(payload, [
|
|
702
681
|
{
|
|
703
682
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
704
|
-
paths:
|
|
683
|
+
paths: TRANSFORM_PATHS_4
|
|
705
684
|
}
|
|
706
685
|
]);
|
|
707
686
|
const metadata = {
|
|
@@ -721,20 +700,7 @@ function getOnlineOrderPreview(payload) {
|
|
|
721
700
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
722
701
|
{
|
|
723
702
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
724
|
-
paths:
|
|
725
|
-
{ path: "order.startDate" },
|
|
726
|
-
{ path: "order.endDate" },
|
|
727
|
-
{ path: "order.earliestEndDate" },
|
|
728
|
-
{ path: "order.createdDate" },
|
|
729
|
-
{ path: "order.updatedDate" },
|
|
730
|
-
{ path: "order.cancellation.requestedDate" },
|
|
731
|
-
{ path: "order.pausePeriods.pauseDate" },
|
|
732
|
-
{ path: "order.pausePeriods.resumeDate" },
|
|
733
|
-
{ path: "order.currentCycle.startedDate" },
|
|
734
|
-
{ path: "order.currentCycle.endedDate" },
|
|
735
|
-
{ path: "order.cycles.startedDate" },
|
|
736
|
-
{ path: "order.cycles.endedDate" }
|
|
737
|
-
]
|
|
703
|
+
paths: TRANSFORM_PATHS_0
|
|
738
704
|
}
|
|
739
705
|
])
|
|
740
706
|
};
|
|
@@ -747,7 +713,7 @@ function getOfflineOrderPreview(payload) {
|
|
|
747
713
|
const serializedData = transformPaths(payload, [
|
|
748
714
|
{
|
|
749
715
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
750
|
-
paths:
|
|
716
|
+
paths: TRANSFORM_PATHS_4
|
|
751
717
|
}
|
|
752
718
|
]);
|
|
753
719
|
const metadata = {
|
|
@@ -767,20 +733,7 @@ function getOfflineOrderPreview(payload) {
|
|
|
767
733
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
768
734
|
{
|
|
769
735
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
770
|
-
paths:
|
|
771
|
-
{ path: "order.startDate" },
|
|
772
|
-
{ path: "order.endDate" },
|
|
773
|
-
{ path: "order.earliestEndDate" },
|
|
774
|
-
{ path: "order.createdDate" },
|
|
775
|
-
{ path: "order.updatedDate" },
|
|
776
|
-
{ path: "order.cancellation.requestedDate" },
|
|
777
|
-
{ path: "order.pausePeriods.pauseDate" },
|
|
778
|
-
{ path: "order.pausePeriods.resumeDate" },
|
|
779
|
-
{ path: "order.currentCycle.startedDate" },
|
|
780
|
-
{ path: "order.currentCycle.endedDate" },
|
|
781
|
-
{ path: "order.cycles.startedDate" },
|
|
782
|
-
{ path: "order.cycles.endedDate" }
|
|
783
|
-
]
|
|
736
|
+
paths: TRANSFORM_PATHS_0
|
|
784
737
|
}
|
|
785
738
|
])
|
|
786
739
|
};
|
|
@@ -828,20 +781,7 @@ function memberGetOrder(payload) {
|
|
|
828
781
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
829
782
|
{
|
|
830
783
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
831
|
-
paths:
|
|
832
|
-
{ path: "order.startDate" },
|
|
833
|
-
{ path: "order.endDate" },
|
|
834
|
-
{ path: "order.earliestEndDate" },
|
|
835
|
-
{ path: "order.createdDate" },
|
|
836
|
-
{ path: "order.updatedDate" },
|
|
837
|
-
{ path: "order.cancellation.requestedDate" },
|
|
838
|
-
{ path: "order.pausePeriods.pauseDate" },
|
|
839
|
-
{ path: "order.pausePeriods.resumeDate" },
|
|
840
|
-
{ path: "order.currentCycle.startedDate" },
|
|
841
|
-
{ path: "order.currentCycle.endedDate" },
|
|
842
|
-
{ path: "order.cycles.startedDate" },
|
|
843
|
-
{ path: "order.cycles.endedDate" }
|
|
844
|
-
]
|
|
784
|
+
paths: TRANSFORM_PATHS_0
|
|
845
785
|
}
|
|
846
786
|
])
|
|
847
787
|
};
|
|
@@ -854,10 +794,7 @@ function memberListOrders(payload) {
|
|
|
854
794
|
const serializedData = transformPaths(payload, [
|
|
855
795
|
{
|
|
856
796
|
transformFn: transformSDKFloatToRESTFloat,
|
|
857
|
-
paths:
|
|
858
|
-
{ path: "sorting.origin.latitude" },
|
|
859
|
-
{ path: "sorting.origin.longitude" }
|
|
860
|
-
]
|
|
797
|
+
paths: TRANSFORM_PATHS_1
|
|
861
798
|
}
|
|
862
799
|
]);
|
|
863
800
|
const metadata = {
|
|
@@ -877,20 +814,7 @@ function memberListOrders(payload) {
|
|
|
877
814
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
878
815
|
{
|
|
879
816
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
880
|
-
paths:
|
|
881
|
-
{ path: "orders.startDate" },
|
|
882
|
-
{ path: "orders.endDate" },
|
|
883
|
-
{ path: "orders.earliestEndDate" },
|
|
884
|
-
{ path: "orders.createdDate" },
|
|
885
|
-
{ path: "orders.updatedDate" },
|
|
886
|
-
{ path: "orders.cancellation.requestedDate" },
|
|
887
|
-
{ path: "orders.pausePeriods.pauseDate" },
|
|
888
|
-
{ path: "orders.pausePeriods.resumeDate" },
|
|
889
|
-
{ path: "orders.currentCycle.startedDate" },
|
|
890
|
-
{ path: "orders.currentCycle.endedDate" },
|
|
891
|
-
{ path: "orders.cycles.startedDate" },
|
|
892
|
-
{ path: "orders.cycles.endedDate" }
|
|
893
|
-
]
|
|
817
|
+
paths: TRANSFORM_PATHS_2
|
|
894
818
|
}
|
|
895
819
|
])
|
|
896
820
|
};
|
|
@@ -1457,6 +1381,36 @@ async function requestCancellation2(_id, effectiveAt) {
|
|
|
1457
1381
|
}
|
|
1458
1382
|
|
|
1459
1383
|
// src/pricing-plans-v2-order-orders.public.ts
|
|
1384
|
+
var TRANSFORM_PATHS_02 = [
|
|
1385
|
+
{ path: "data.order.startDate" },
|
|
1386
|
+
{ path: "data.order.endDate" },
|
|
1387
|
+
{ path: "data.order.earliestEndDate" },
|
|
1388
|
+
{ path: "data.order.createdDate" },
|
|
1389
|
+
{ path: "data.order.updatedDate" },
|
|
1390
|
+
{ path: "data.order.cancellation.requestedDate" },
|
|
1391
|
+
{ path: "data.order.pausePeriods.pauseDate" },
|
|
1392
|
+
{ path: "data.order.pausePeriods.resumeDate" },
|
|
1393
|
+
{ path: "data.order.currentCycle.startedDate" },
|
|
1394
|
+
{ path: "data.order.currentCycle.endedDate" },
|
|
1395
|
+
{ path: "data.order.cycles.startedDate" },
|
|
1396
|
+
{ path: "data.order.cycles.endedDate" },
|
|
1397
|
+
{ path: "metadata.eventTime" }
|
|
1398
|
+
];
|
|
1399
|
+
var TRANSFORM_PATHS_12 = [
|
|
1400
|
+
{ path: "entity.startDate" },
|
|
1401
|
+
{ path: "entity.endDate" },
|
|
1402
|
+
{ path: "entity.earliestEndDate" },
|
|
1403
|
+
{ path: "entity.createdDate" },
|
|
1404
|
+
{ path: "entity.updatedDate" },
|
|
1405
|
+
{ path: "entity.cancellation.requestedDate" },
|
|
1406
|
+
{ path: "entity.pausePeriods.pauseDate" },
|
|
1407
|
+
{ path: "entity.pausePeriods.resumeDate" },
|
|
1408
|
+
{ path: "entity.currentCycle.startedDate" },
|
|
1409
|
+
{ path: "entity.currentCycle.endedDate" },
|
|
1410
|
+
{ path: "entity.cycles.startedDate" },
|
|
1411
|
+
{ path: "entity.cycles.endedDate" },
|
|
1412
|
+
{ path: "metadata.eventTime" }
|
|
1413
|
+
];
|
|
1460
1414
|
function managementGetOrder3(httpClient) {
|
|
1461
1415
|
return (_id, options) => managementGetOrder2(
|
|
1462
1416
|
_id,
|
|
@@ -1581,21 +1535,7 @@ var onOrderAutoRenewCanceled = /* @__PURE__ */ EventDefinition(
|
|
|
1581
1535
|
transformPaths2(event, [
|
|
1582
1536
|
{
|
|
1583
1537
|
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1584
|
-
paths:
|
|
1585
|
-
{ path: "data.order.startDate" },
|
|
1586
|
-
{ path: "data.order.endDate" },
|
|
1587
|
-
{ path: "data.order.earliestEndDate" },
|
|
1588
|
-
{ path: "data.order.createdDate" },
|
|
1589
|
-
{ path: "data.order.updatedDate" },
|
|
1590
|
-
{ path: "data.order.cancellation.requestedDate" },
|
|
1591
|
-
{ path: "data.order.pausePeriods.pauseDate" },
|
|
1592
|
-
{ path: "data.order.pausePeriods.resumeDate" },
|
|
1593
|
-
{ path: "data.order.currentCycle.startedDate" },
|
|
1594
|
-
{ path: "data.order.currentCycle.endedDate" },
|
|
1595
|
-
{ path: "data.order.cycles.startedDate" },
|
|
1596
|
-
{ path: "data.order.cycles.endedDate" },
|
|
1597
|
-
{ path: "metadata.eventTime" }
|
|
1598
|
-
]
|
|
1538
|
+
paths: TRANSFORM_PATHS_02
|
|
1599
1539
|
}
|
|
1600
1540
|
])
|
|
1601
1541
|
)
|
|
@@ -1607,21 +1547,7 @@ var onOrderCanceled = /* @__PURE__ */ EventDefinition(
|
|
|
1607
1547
|
transformPaths2(event, [
|
|
1608
1548
|
{
|
|
1609
1549
|
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1610
|
-
paths:
|
|
1611
|
-
{ path: "data.order.startDate" },
|
|
1612
|
-
{ path: "data.order.endDate" },
|
|
1613
|
-
{ path: "data.order.earliestEndDate" },
|
|
1614
|
-
{ path: "data.order.createdDate" },
|
|
1615
|
-
{ path: "data.order.updatedDate" },
|
|
1616
|
-
{ path: "data.order.cancellation.requestedDate" },
|
|
1617
|
-
{ path: "data.order.pausePeriods.pauseDate" },
|
|
1618
|
-
{ path: "data.order.pausePeriods.resumeDate" },
|
|
1619
|
-
{ path: "data.order.currentCycle.startedDate" },
|
|
1620
|
-
{ path: "data.order.currentCycle.endedDate" },
|
|
1621
|
-
{ path: "data.order.cycles.startedDate" },
|
|
1622
|
-
{ path: "data.order.cycles.endedDate" },
|
|
1623
|
-
{ path: "metadata.eventTime" }
|
|
1624
|
-
]
|
|
1550
|
+
paths: TRANSFORM_PATHS_02
|
|
1625
1551
|
}
|
|
1626
1552
|
])
|
|
1627
1553
|
)
|
|
@@ -1633,21 +1559,7 @@ var onOrderCycleStarted = /* @__PURE__ */ EventDefinition(
|
|
|
1633
1559
|
transformPaths2(event, [
|
|
1634
1560
|
{
|
|
1635
1561
|
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1636
|
-
paths:
|
|
1637
|
-
{ path: "data.order.startDate" },
|
|
1638
|
-
{ path: "data.order.endDate" },
|
|
1639
|
-
{ path: "data.order.earliestEndDate" },
|
|
1640
|
-
{ path: "data.order.createdDate" },
|
|
1641
|
-
{ path: "data.order.updatedDate" },
|
|
1642
|
-
{ path: "data.order.cancellation.requestedDate" },
|
|
1643
|
-
{ path: "data.order.pausePeriods.pauseDate" },
|
|
1644
|
-
{ path: "data.order.pausePeriods.resumeDate" },
|
|
1645
|
-
{ path: "data.order.currentCycle.startedDate" },
|
|
1646
|
-
{ path: "data.order.currentCycle.endedDate" },
|
|
1647
|
-
{ path: "data.order.cycles.startedDate" },
|
|
1648
|
-
{ path: "data.order.cycles.endedDate" },
|
|
1649
|
-
{ path: "metadata.eventTime" }
|
|
1650
|
-
]
|
|
1562
|
+
paths: TRANSFORM_PATHS_02
|
|
1651
1563
|
}
|
|
1652
1564
|
])
|
|
1653
1565
|
)
|
|
@@ -1659,21 +1571,7 @@ var onOrderEndDatePostponed = /* @__PURE__ */ EventDefinition(
|
|
|
1659
1571
|
transformPaths2(event, [
|
|
1660
1572
|
{
|
|
1661
1573
|
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1662
|
-
paths:
|
|
1663
|
-
{ path: "data.order.startDate" },
|
|
1664
|
-
{ path: "data.order.endDate" },
|
|
1665
|
-
{ path: "data.order.earliestEndDate" },
|
|
1666
|
-
{ path: "data.order.createdDate" },
|
|
1667
|
-
{ path: "data.order.updatedDate" },
|
|
1668
|
-
{ path: "data.order.cancellation.requestedDate" },
|
|
1669
|
-
{ path: "data.order.pausePeriods.pauseDate" },
|
|
1670
|
-
{ path: "data.order.pausePeriods.resumeDate" },
|
|
1671
|
-
{ path: "data.order.currentCycle.startedDate" },
|
|
1672
|
-
{ path: "data.order.currentCycle.endedDate" },
|
|
1673
|
-
{ path: "data.order.cycles.startedDate" },
|
|
1674
|
-
{ path: "data.order.cycles.endedDate" },
|
|
1675
|
-
{ path: "metadata.eventTime" }
|
|
1676
|
-
]
|
|
1574
|
+
paths: TRANSFORM_PATHS_02
|
|
1677
1575
|
}
|
|
1678
1576
|
])
|
|
1679
1577
|
)
|
|
@@ -1685,21 +1583,7 @@ var onOrderEnded = /* @__PURE__ */ EventDefinition(
|
|
|
1685
1583
|
transformPaths2(event, [
|
|
1686
1584
|
{
|
|
1687
1585
|
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1688
|
-
paths:
|
|
1689
|
-
{ path: "data.order.startDate" },
|
|
1690
|
-
{ path: "data.order.endDate" },
|
|
1691
|
-
{ path: "data.order.earliestEndDate" },
|
|
1692
|
-
{ path: "data.order.createdDate" },
|
|
1693
|
-
{ path: "data.order.updatedDate" },
|
|
1694
|
-
{ path: "data.order.cancellation.requestedDate" },
|
|
1695
|
-
{ path: "data.order.pausePeriods.pauseDate" },
|
|
1696
|
-
{ path: "data.order.pausePeriods.resumeDate" },
|
|
1697
|
-
{ path: "data.order.currentCycle.startedDate" },
|
|
1698
|
-
{ path: "data.order.currentCycle.endedDate" },
|
|
1699
|
-
{ path: "data.order.cycles.startedDate" },
|
|
1700
|
-
{ path: "data.order.cycles.endedDate" },
|
|
1701
|
-
{ path: "metadata.eventTime" }
|
|
1702
|
-
]
|
|
1586
|
+
paths: TRANSFORM_PATHS_02
|
|
1703
1587
|
}
|
|
1704
1588
|
])
|
|
1705
1589
|
)
|
|
@@ -1711,21 +1595,7 @@ var onOrderMarkedAsPaid = /* @__PURE__ */ EventDefinition(
|
|
|
1711
1595
|
transformPaths2(event, [
|
|
1712
1596
|
{
|
|
1713
1597
|
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1714
|
-
paths:
|
|
1715
|
-
{ path: "data.order.startDate" },
|
|
1716
|
-
{ path: "data.order.endDate" },
|
|
1717
|
-
{ path: "data.order.earliestEndDate" },
|
|
1718
|
-
{ path: "data.order.createdDate" },
|
|
1719
|
-
{ path: "data.order.updatedDate" },
|
|
1720
|
-
{ path: "data.order.cancellation.requestedDate" },
|
|
1721
|
-
{ path: "data.order.pausePeriods.pauseDate" },
|
|
1722
|
-
{ path: "data.order.pausePeriods.resumeDate" },
|
|
1723
|
-
{ path: "data.order.currentCycle.startedDate" },
|
|
1724
|
-
{ path: "data.order.currentCycle.endedDate" },
|
|
1725
|
-
{ path: "data.order.cycles.startedDate" },
|
|
1726
|
-
{ path: "data.order.cycles.endedDate" },
|
|
1727
|
-
{ path: "metadata.eventTime" }
|
|
1728
|
-
]
|
|
1598
|
+
paths: TRANSFORM_PATHS_02
|
|
1729
1599
|
}
|
|
1730
1600
|
])
|
|
1731
1601
|
)
|
|
@@ -1737,21 +1607,7 @@ var onOrderPaused = /* @__PURE__ */ EventDefinition(
|
|
|
1737
1607
|
transformPaths2(event, [
|
|
1738
1608
|
{
|
|
1739
1609
|
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1740
|
-
paths:
|
|
1741
|
-
{ path: "data.order.startDate" },
|
|
1742
|
-
{ path: "data.order.endDate" },
|
|
1743
|
-
{ path: "data.order.earliestEndDate" },
|
|
1744
|
-
{ path: "data.order.createdDate" },
|
|
1745
|
-
{ path: "data.order.updatedDate" },
|
|
1746
|
-
{ path: "data.order.cancellation.requestedDate" },
|
|
1747
|
-
{ path: "data.order.pausePeriods.pauseDate" },
|
|
1748
|
-
{ path: "data.order.pausePeriods.resumeDate" },
|
|
1749
|
-
{ path: "data.order.currentCycle.startedDate" },
|
|
1750
|
-
{ path: "data.order.currentCycle.endedDate" },
|
|
1751
|
-
{ path: "data.order.cycles.startedDate" },
|
|
1752
|
-
{ path: "data.order.cycles.endedDate" },
|
|
1753
|
-
{ path: "metadata.eventTime" }
|
|
1754
|
-
]
|
|
1610
|
+
paths: TRANSFORM_PATHS_02
|
|
1755
1611
|
}
|
|
1756
1612
|
])
|
|
1757
1613
|
)
|
|
@@ -1763,21 +1619,7 @@ var onOrderPurchased = /* @__PURE__ */ EventDefinition(
|
|
|
1763
1619
|
transformPaths2(event, [
|
|
1764
1620
|
{
|
|
1765
1621
|
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1766
|
-
paths:
|
|
1767
|
-
{ path: "data.order.startDate" },
|
|
1768
|
-
{ path: "data.order.endDate" },
|
|
1769
|
-
{ path: "data.order.earliestEndDate" },
|
|
1770
|
-
{ path: "data.order.createdDate" },
|
|
1771
|
-
{ path: "data.order.updatedDate" },
|
|
1772
|
-
{ path: "data.order.cancellation.requestedDate" },
|
|
1773
|
-
{ path: "data.order.pausePeriods.pauseDate" },
|
|
1774
|
-
{ path: "data.order.pausePeriods.resumeDate" },
|
|
1775
|
-
{ path: "data.order.currentCycle.startedDate" },
|
|
1776
|
-
{ path: "data.order.currentCycle.endedDate" },
|
|
1777
|
-
{ path: "data.order.cycles.startedDate" },
|
|
1778
|
-
{ path: "data.order.cycles.endedDate" },
|
|
1779
|
-
{ path: "metadata.eventTime" }
|
|
1780
|
-
]
|
|
1622
|
+
paths: TRANSFORM_PATHS_02
|
|
1781
1623
|
}
|
|
1782
1624
|
])
|
|
1783
1625
|
)
|
|
@@ -1789,21 +1631,7 @@ var onOrderResumed = /* @__PURE__ */ EventDefinition(
|
|
|
1789
1631
|
transformPaths2(event, [
|
|
1790
1632
|
{
|
|
1791
1633
|
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1792
|
-
paths:
|
|
1793
|
-
{ path: "data.order.startDate" },
|
|
1794
|
-
{ path: "data.order.endDate" },
|
|
1795
|
-
{ path: "data.order.earliestEndDate" },
|
|
1796
|
-
{ path: "data.order.createdDate" },
|
|
1797
|
-
{ path: "data.order.updatedDate" },
|
|
1798
|
-
{ path: "data.order.cancellation.requestedDate" },
|
|
1799
|
-
{ path: "data.order.pausePeriods.pauseDate" },
|
|
1800
|
-
{ path: "data.order.pausePeriods.resumeDate" },
|
|
1801
|
-
{ path: "data.order.currentCycle.startedDate" },
|
|
1802
|
-
{ path: "data.order.currentCycle.endedDate" },
|
|
1803
|
-
{ path: "data.order.cycles.startedDate" },
|
|
1804
|
-
{ path: "data.order.cycles.endedDate" },
|
|
1805
|
-
{ path: "metadata.eventTime" }
|
|
1806
|
-
]
|
|
1634
|
+
paths: TRANSFORM_PATHS_02
|
|
1807
1635
|
}
|
|
1808
1636
|
])
|
|
1809
1637
|
)
|
|
@@ -1815,21 +1643,7 @@ var onOrderStarted = /* @__PURE__ */ EventDefinition(
|
|
|
1815
1643
|
transformPaths2(event, [
|
|
1816
1644
|
{
|
|
1817
1645
|
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1818
|
-
paths:
|
|
1819
|
-
{ path: "data.order.startDate" },
|
|
1820
|
-
{ path: "data.order.endDate" },
|
|
1821
|
-
{ path: "data.order.earliestEndDate" },
|
|
1822
|
-
{ path: "data.order.createdDate" },
|
|
1823
|
-
{ path: "data.order.updatedDate" },
|
|
1824
|
-
{ path: "data.order.cancellation.requestedDate" },
|
|
1825
|
-
{ path: "data.order.pausePeriods.pauseDate" },
|
|
1826
|
-
{ path: "data.order.pausePeriods.resumeDate" },
|
|
1827
|
-
{ path: "data.order.currentCycle.startedDate" },
|
|
1828
|
-
{ path: "data.order.currentCycle.endedDate" },
|
|
1829
|
-
{ path: "data.order.cycles.startedDate" },
|
|
1830
|
-
{ path: "data.order.cycles.endedDate" },
|
|
1831
|
-
{ path: "metadata.eventTime" }
|
|
1832
|
-
]
|
|
1646
|
+
paths: TRANSFORM_PATHS_02
|
|
1833
1647
|
}
|
|
1834
1648
|
])
|
|
1835
1649
|
)
|
|
@@ -1841,21 +1655,7 @@ var onOrderUpdated = /* @__PURE__ */ EventDefinition(
|
|
|
1841
1655
|
transformPaths2(event, [
|
|
1842
1656
|
{
|
|
1843
1657
|
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1844
|
-
paths:
|
|
1845
|
-
{ path: "entity.startDate" },
|
|
1846
|
-
{ path: "entity.endDate" },
|
|
1847
|
-
{ path: "entity.earliestEndDate" },
|
|
1848
|
-
{ path: "entity.createdDate" },
|
|
1849
|
-
{ path: "entity.updatedDate" },
|
|
1850
|
-
{ path: "entity.cancellation.requestedDate" },
|
|
1851
|
-
{ path: "entity.pausePeriods.pauseDate" },
|
|
1852
|
-
{ path: "entity.pausePeriods.resumeDate" },
|
|
1853
|
-
{ path: "entity.currentCycle.startedDate" },
|
|
1854
|
-
{ path: "entity.currentCycle.endedDate" },
|
|
1855
|
-
{ path: "entity.cycles.startedDate" },
|
|
1856
|
-
{ path: "entity.cycles.endedDate" },
|
|
1857
|
-
{ path: "metadata.eventTime" }
|
|
1858
|
-
]
|
|
1658
|
+
paths: TRANSFORM_PATHS_12
|
|
1859
1659
|
}
|
|
1860
1660
|
])
|
|
1861
1661
|
)
|
|
@@ -1867,21 +1667,7 @@ var onOrderCreated = /* @__PURE__ */ EventDefinition(
|
|
|
1867
1667
|
transformPaths2(event, [
|
|
1868
1668
|
{
|
|
1869
1669
|
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1870
|
-
paths:
|
|
1871
|
-
{ path: "entity.startDate" },
|
|
1872
|
-
{ path: "entity.endDate" },
|
|
1873
|
-
{ path: "entity.earliestEndDate" },
|
|
1874
|
-
{ path: "entity.createdDate" },
|
|
1875
|
-
{ path: "entity.updatedDate" },
|
|
1876
|
-
{ path: "entity.cancellation.requestedDate" },
|
|
1877
|
-
{ path: "entity.pausePeriods.pauseDate" },
|
|
1878
|
-
{ path: "entity.pausePeriods.resumeDate" },
|
|
1879
|
-
{ path: "entity.currentCycle.startedDate" },
|
|
1880
|
-
{ path: "entity.currentCycle.endedDate" },
|
|
1881
|
-
{ path: "entity.cycles.startedDate" },
|
|
1882
|
-
{ path: "entity.cycles.endedDate" },
|
|
1883
|
-
{ path: "metadata.eventTime" }
|
|
1884
|
-
]
|
|
1670
|
+
paths: TRANSFORM_PATHS_12
|
|
1885
1671
|
}
|
|
1886
1672
|
])
|
|
1887
1673
|
)
|
|
@@ -1893,21 +1679,7 @@ var onOrderStartDateChanged = /* @__PURE__ */ EventDefinition(
|
|
|
1893
1679
|
transformPaths2(event, [
|
|
1894
1680
|
{
|
|
1895
1681
|
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
1896
|
-
paths:
|
|
1897
|
-
{ path: "data.order.startDate" },
|
|
1898
|
-
{ path: "data.order.endDate" },
|
|
1899
|
-
{ path: "data.order.earliestEndDate" },
|
|
1900
|
-
{ path: "data.order.createdDate" },
|
|
1901
|
-
{ path: "data.order.updatedDate" },
|
|
1902
|
-
{ path: "data.order.cancellation.requestedDate" },
|
|
1903
|
-
{ path: "data.order.pausePeriods.pauseDate" },
|
|
1904
|
-
{ path: "data.order.pausePeriods.resumeDate" },
|
|
1905
|
-
{ path: "data.order.currentCycle.startedDate" },
|
|
1906
|
-
{ path: "data.order.currentCycle.endedDate" },
|
|
1907
|
-
{ path: "data.order.cycles.startedDate" },
|
|
1908
|
-
{ path: "data.order.cycles.endedDate" },
|
|
1909
|
-
{ path: "metadata.eventTime" }
|
|
1910
|
-
]
|
|
1682
|
+
paths: TRANSFORM_PATHS_02
|
|
1911
1683
|
}
|
|
1912
1684
|
])
|
|
1913
1685
|
)
|