@wix/auto_sdk_subscription_subscriptions 1.0.14 → 1.0.16
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 +96 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +14 -1
- package/build/cjs/index.typings.js +96 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1958 -344
- package/build/cjs/meta.js +447 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +96 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +14 -1
- package/build/es/index.typings.mjs +96 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1958 -344
- package/build/es/meta.mjs +410 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +96 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +14 -1
- package/build/internal/cjs/index.typings.js +96 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1958 -344
- package/build/internal/cjs/meta.js +447 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +96 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +14 -1
- package/build/internal/es/index.typings.mjs +96 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1958 -344
- package/build/internal/es/meta.mjs +410 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -20,6 +20,43 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// meta.ts
|
|
21
21
|
var meta_exports = {};
|
|
22
22
|
__export(meta_exports, {
|
|
23
|
+
ActionInitiatorOriginal: () => ActionInitiator,
|
|
24
|
+
ActionTypeOriginal: () => ActionType,
|
|
25
|
+
AdditionalFeeTriggerOriginal: () => AdditionalFeeTrigger,
|
|
26
|
+
CancellationInitiatorOriginal: () => CancellationInitiator,
|
|
27
|
+
CollectionMethodEnumCollectionMethodOriginal: () => CollectionMethodEnumCollectionMethod,
|
|
28
|
+
CollectionMethodOriginal: () => CollectionMethod,
|
|
29
|
+
CreationModeOriginal: () => CreationMode,
|
|
30
|
+
DurationUnitOriginal: () => DurationUnit,
|
|
31
|
+
ExtendPolicyTypeOriginal: () => ExtendPolicyType,
|
|
32
|
+
HistoryActionInitiatorOriginal: () => HistoryActionInitiator,
|
|
33
|
+
HistoryViewModeOriginal: () => HistoryViewMode,
|
|
34
|
+
IdentityTypeOriginal: () => IdentityType,
|
|
35
|
+
InvoiceStatusOriginal: () => InvoiceStatus,
|
|
36
|
+
ItemCategoryOriginal: () => ItemCategory,
|
|
37
|
+
OrderMethodOriginal: () => OrderMethod,
|
|
38
|
+
PauseAtOriginal: () => PauseAt,
|
|
39
|
+
PausePolicyOriginal: () => PausePolicy,
|
|
40
|
+
PaymentAttemptStatusOriginal: () => PaymentAttemptStatus,
|
|
41
|
+
PaymentModeOriginal: () => PaymentMode,
|
|
42
|
+
PaymentSettlementMethodOriginal: () => PaymentSettlementMethod,
|
|
43
|
+
PaymentStatusEnumPaymentStatusOriginal: () => PaymentStatusEnumPaymentStatus,
|
|
44
|
+
PaymentStatusOriginal: () => PaymentStatus,
|
|
45
|
+
PaymentTestModeOriginal: () => PaymentTestMode,
|
|
46
|
+
RefundReasonOriginal: () => RefundReason,
|
|
47
|
+
RequestedFieldsOriginal: () => RequestedFields,
|
|
48
|
+
ResumeAtOriginal: () => ResumeAt,
|
|
49
|
+
RevivePolicyOriginal: () => RevivePolicy,
|
|
50
|
+
SortOrderOriginal: () => SortOrder,
|
|
51
|
+
StatusOriginal: () => Status,
|
|
52
|
+
SubscriptionFrequencyOriginal: () => SubscriptionFrequency,
|
|
53
|
+
SubscriptionStatusEnumSubscriptionStatusOriginal: () => SubscriptionStatusEnumSubscriptionStatus,
|
|
54
|
+
SubscriptionStatusGroupOriginal: () => SubscriptionStatusGroup,
|
|
55
|
+
SubscriptionTypeOriginal: () => SubscriptionType,
|
|
56
|
+
TaxableAddressTypeOriginal: () => TaxableAddressType,
|
|
57
|
+
UpdateActionOriginal: () => UpdateAction,
|
|
58
|
+
V1SubscriptionStatusEnumSubscriptionStatusOriginal: () => V1SubscriptionStatusEnumSubscriptionStatus,
|
|
59
|
+
WebhookIdentityTypeOriginal: () => WebhookIdentityType,
|
|
23
60
|
allowedActions: () => allowedActions2,
|
|
24
61
|
cancelSubscription: () => cancelSubscription2,
|
|
25
62
|
countSubscriptions: () => countSubscriptions2,
|
|
@@ -209,6 +246,9 @@ function customerGetSubscription(payload) {
|
|
|
209
246
|
method: "GET",
|
|
210
247
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.GetSubscription",
|
|
211
248
|
packageName: PACKAGE_NAME,
|
|
249
|
+
migrationOptions: {
|
|
250
|
+
optInTransformResponse: true
|
|
251
|
+
},
|
|
212
252
|
url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
|
|
213
253
|
{ protoPath: "/v1/customer_subscriptions/{id}", data: payload, host }
|
|
214
254
|
),
|
|
@@ -254,6 +294,9 @@ function customerCancelSubscription(payload) {
|
|
|
254
294
|
method: "POST",
|
|
255
295
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.CancelSubscription",
|
|
256
296
|
packageName: PACKAGE_NAME,
|
|
297
|
+
migrationOptions: {
|
|
298
|
+
optInTransformResponse: true
|
|
299
|
+
},
|
|
257
300
|
url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
|
|
258
301
|
{
|
|
259
302
|
protoPath: "/v1/customer_subscriptions/{id}/cancel",
|
|
@@ -303,6 +346,9 @@ function customerTurnOnSubscriptionAutoRenewal(payload) {
|
|
|
303
346
|
method: "POST",
|
|
304
347
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.TurnOnSubscriptionAutoRenewal",
|
|
305
348
|
packageName: PACKAGE_NAME,
|
|
349
|
+
migrationOptions: {
|
|
350
|
+
optInTransformResponse: true
|
|
351
|
+
},
|
|
306
352
|
url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
|
|
307
353
|
{
|
|
308
354
|
protoPath: "/v1/customer_subscriptions/{id}/turn_on_auto_renewal",
|
|
@@ -352,6 +398,9 @@ function customerTurnOffSubscriptionAutoRenewal(payload) {
|
|
|
352
398
|
method: "POST",
|
|
353
399
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.TurnOffSubscriptionAutoRenewal",
|
|
354
400
|
packageName: PACKAGE_NAME,
|
|
401
|
+
migrationOptions: {
|
|
402
|
+
optInTransformResponse: true
|
|
403
|
+
},
|
|
355
404
|
url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
|
|
356
405
|
{
|
|
357
406
|
protoPath: "/v1/customer_subscriptions/{id}/turn_off_auto_renewal",
|
|
@@ -401,6 +450,9 @@ function customerExtendSubscription(payload) {
|
|
|
401
450
|
method: "PATCH",
|
|
402
451
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.ExtendSubscription",
|
|
403
452
|
packageName: PACKAGE_NAME,
|
|
453
|
+
migrationOptions: {
|
|
454
|
+
optInTransformResponse: true
|
|
455
|
+
},
|
|
404
456
|
url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
|
|
405
457
|
{
|
|
406
458
|
protoPath: "/v1/customer_subscriptions/{id}/extend",
|
|
@@ -450,6 +502,9 @@ function customerQuerySubscriptions(payload) {
|
|
|
450
502
|
method: "POST",
|
|
451
503
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.QuerySubscriptions",
|
|
452
504
|
packageName: PACKAGE_NAME,
|
|
505
|
+
migrationOptions: {
|
|
506
|
+
optInTransformResponse: true
|
|
507
|
+
},
|
|
453
508
|
url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
|
|
454
509
|
{ protoPath: "/v1/customer_subscriptions/query", data: payload, host }
|
|
455
510
|
),
|
|
@@ -495,6 +550,9 @@ function customerUpdateSubscriptionPaymentMethod(payload) {
|
|
|
495
550
|
method: "PATCH",
|
|
496
551
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.UpdateSubscriptionPaymentMethod",
|
|
497
552
|
packageName: PACKAGE_NAME,
|
|
553
|
+
migrationOptions: {
|
|
554
|
+
optInTransformResponse: true
|
|
555
|
+
},
|
|
498
556
|
url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
|
|
499
557
|
{
|
|
500
558
|
protoPath: "/v1/customer_subscriptions/{id}/payment_method",
|
|
@@ -544,6 +602,9 @@ function customerAllowedActions(payload) {
|
|
|
544
602
|
method: "GET",
|
|
545
603
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.AllowedActions",
|
|
546
604
|
packageName: PACKAGE_NAME,
|
|
605
|
+
migrationOptions: {
|
|
606
|
+
optInTransformResponse: true
|
|
607
|
+
},
|
|
547
608
|
url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
|
|
548
609
|
{
|
|
549
610
|
protoPath: "/v1/customer_subscriptions/{id}/allowed_actions",
|
|
@@ -564,6 +625,9 @@ function customerListUpcomingCharges(payload) {
|
|
|
564
625
|
method: "GET",
|
|
565
626
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.ListUpcomingCharges",
|
|
566
627
|
packageName: PACKAGE_NAME,
|
|
628
|
+
migrationOptions: {
|
|
629
|
+
optInTransformResponse: true
|
|
630
|
+
},
|
|
567
631
|
url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
|
|
568
632
|
{
|
|
569
633
|
protoPath: "/v1/customer_subscriptions/{id}/upcoming_charges",
|
|
@@ -590,6 +654,9 @@ function customerInitiatePaymentMethodSetup(payload) {
|
|
|
590
654
|
method: "POST",
|
|
591
655
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.InitiatePaymentMethodSetup",
|
|
592
656
|
packageName: PACKAGE_NAME,
|
|
657
|
+
migrationOptions: {
|
|
658
|
+
optInTransformResponse: true
|
|
659
|
+
},
|
|
593
660
|
url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
|
|
594
661
|
{
|
|
595
662
|
protoPath: "/v1/customer_subscriptions/{id}/payment_method_setup",
|
|
@@ -610,6 +677,9 @@ function payCycle(payload) {
|
|
|
610
677
|
method: "POST",
|
|
611
678
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsBackOfficeService.PayCycle",
|
|
612
679
|
packageName: PACKAGE_NAME,
|
|
680
|
+
migrationOptions: {
|
|
681
|
+
optInTransformResponse: true
|
|
682
|
+
},
|
|
613
683
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsBackOfficeServiceUrl(
|
|
614
684
|
{
|
|
615
685
|
protoPath: "/v1/subscriptions-bo/{subscriptionId}/pay-cycle",
|
|
@@ -659,6 +729,9 @@ function getSubscription(payload) {
|
|
|
659
729
|
method: "GET",
|
|
660
730
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.GetSubscription",
|
|
661
731
|
packageName: PACKAGE_NAME,
|
|
732
|
+
migrationOptions: {
|
|
733
|
+
optInTransformResponse: true
|
|
734
|
+
},
|
|
662
735
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
663
736
|
protoPath: "/v1/subscriptions/{id}",
|
|
664
737
|
data: payload,
|
|
@@ -706,6 +779,9 @@ function updateSubscriptionPaymentMethod(payload) {
|
|
|
706
779
|
method: "PATCH",
|
|
707
780
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.UpdateSubscriptionPaymentMethod",
|
|
708
781
|
packageName: PACKAGE_NAME,
|
|
782
|
+
migrationOptions: {
|
|
783
|
+
optInTransformResponse: true
|
|
784
|
+
},
|
|
709
785
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
710
786
|
protoPath: "/v1/subscriptions/{id}/payment_method",
|
|
711
787
|
data: payload,
|
|
@@ -759,6 +835,9 @@ function updateSubscriptionBillingDate(payload) {
|
|
|
759
835
|
method: "PATCH",
|
|
760
836
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.UpdateSubscriptionBillingDate",
|
|
761
837
|
packageName: PACKAGE_NAME,
|
|
838
|
+
migrationOptions: {
|
|
839
|
+
optInTransformResponse: true
|
|
840
|
+
},
|
|
762
841
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
763
842
|
protoPath: "/v1/subscriptions/{id}/update-billing-date",
|
|
764
843
|
data: serializedData,
|
|
@@ -806,6 +885,9 @@ function cancelSubscription(payload) {
|
|
|
806
885
|
method: "POST",
|
|
807
886
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.CancelSubscription",
|
|
808
887
|
packageName: PACKAGE_NAME,
|
|
888
|
+
migrationOptions: {
|
|
889
|
+
optInTransformResponse: true
|
|
890
|
+
},
|
|
809
891
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
810
892
|
protoPath: "/v1/subscriptions/{id}/cancel",
|
|
811
893
|
data: payload,
|
|
@@ -862,6 +944,9 @@ function pauseSubscription(payload) {
|
|
|
862
944
|
method: "POST",
|
|
863
945
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.PauseSubscription",
|
|
864
946
|
packageName: PACKAGE_NAME,
|
|
947
|
+
migrationOptions: {
|
|
948
|
+
optInTransformResponse: true
|
|
949
|
+
},
|
|
865
950
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
866
951
|
protoPath: "/v1/subscriptions/{id}/pause",
|
|
867
952
|
data: serializedData,
|
|
@@ -915,6 +1000,9 @@ function resumeSubscription(payload) {
|
|
|
915
1000
|
method: "POST",
|
|
916
1001
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.ResumeSubscription",
|
|
917
1002
|
packageName: PACKAGE_NAME,
|
|
1003
|
+
migrationOptions: {
|
|
1004
|
+
optInTransformResponse: true
|
|
1005
|
+
},
|
|
918
1006
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
919
1007
|
protoPath: "/v1/subscriptions/{id}/resume",
|
|
920
1008
|
data: serializedData,
|
|
@@ -962,6 +1050,9 @@ function querySubscriptions(payload) {
|
|
|
962
1050
|
method: "POST",
|
|
963
1051
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.QuerySubscriptions",
|
|
964
1052
|
packageName: PACKAGE_NAME,
|
|
1053
|
+
migrationOptions: {
|
|
1054
|
+
optInTransformResponse: true
|
|
1055
|
+
},
|
|
965
1056
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
966
1057
|
protoPath: "/v1/subscriptions/query",
|
|
967
1058
|
data: payload,
|
|
@@ -1009,6 +1100,9 @@ function searchSubscriptions(payload) {
|
|
|
1009
1100
|
method: "POST",
|
|
1010
1101
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.SearchSubscriptions",
|
|
1011
1102
|
packageName: PACKAGE_NAME,
|
|
1103
|
+
migrationOptions: {
|
|
1104
|
+
optInTransformResponse: true
|
|
1105
|
+
},
|
|
1012
1106
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
1013
1107
|
protoPath: "/v1/subscriptions/search",
|
|
1014
1108
|
data: payload,
|
|
@@ -1056,6 +1150,9 @@ function countSubscriptions(payload) {
|
|
|
1056
1150
|
method: "POST",
|
|
1057
1151
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.CountSubscriptions",
|
|
1058
1152
|
packageName: PACKAGE_NAME,
|
|
1153
|
+
migrationOptions: {
|
|
1154
|
+
optInTransformResponse: true
|
|
1155
|
+
},
|
|
1059
1156
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
1060
1157
|
protoPath: "/v1/subscriptions/count",
|
|
1061
1158
|
data: payload,
|
|
@@ -1074,6 +1171,9 @@ function turnOnSubscriptionAutoRenewal(payload) {
|
|
|
1074
1171
|
method: "PATCH",
|
|
1075
1172
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.TurnOnSubscriptionAutoRenewal",
|
|
1076
1173
|
packageName: PACKAGE_NAME,
|
|
1174
|
+
migrationOptions: {
|
|
1175
|
+
optInTransformResponse: true
|
|
1176
|
+
},
|
|
1077
1177
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
1078
1178
|
protoPath: "/v1/subscriptions/{id}/turn_on_auto_renewal",
|
|
1079
1179
|
data: payload,
|
|
@@ -1121,6 +1221,9 @@ function turnOffSubscriptionAutoRenewal(payload) {
|
|
|
1121
1221
|
method: "PATCH",
|
|
1122
1222
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.TurnOffSubscriptionAutoRenewal",
|
|
1123
1223
|
packageName: PACKAGE_NAME,
|
|
1224
|
+
migrationOptions: {
|
|
1225
|
+
optInTransformResponse: true
|
|
1226
|
+
},
|
|
1124
1227
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
1125
1228
|
protoPath: "/v1/subscriptions/{id}/turn_off_auto_renewal",
|
|
1126
1229
|
data: payload,
|
|
@@ -1168,6 +1271,9 @@ function markLatestInvoiceAsPaid(payload) {
|
|
|
1168
1271
|
method: "POST",
|
|
1169
1272
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.MarkLatestInvoiceAsPaid",
|
|
1170
1273
|
packageName: PACKAGE_NAME,
|
|
1274
|
+
migrationOptions: {
|
|
1275
|
+
optInTransformResponse: true
|
|
1276
|
+
},
|
|
1171
1277
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
1172
1278
|
protoPath: "/v1/subscriptions/{subscriptionId}/mark-latest-invoice-as-paid",
|
|
1173
1279
|
data: payload,
|
|
@@ -1215,6 +1321,9 @@ function markBillingCycleAsPaid(payload) {
|
|
|
1215
1321
|
method: "POST",
|
|
1216
1322
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.MarkBillingCycleAsPaid",
|
|
1217
1323
|
packageName: PACKAGE_NAME,
|
|
1324
|
+
migrationOptions: {
|
|
1325
|
+
optInTransformResponse: true
|
|
1326
|
+
},
|
|
1218
1327
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
1219
1328
|
protoPath: "/v1/subscriptions/{subscriptionId}/mark-cycle-as-paid",
|
|
1220
1329
|
data: payload,
|
|
@@ -1262,6 +1371,9 @@ function getSubscriptionsStats(payload) {
|
|
|
1262
1371
|
method: "GET",
|
|
1263
1372
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.GetSubscriptionsStats",
|
|
1264
1373
|
packageName: PACKAGE_NAME,
|
|
1374
|
+
migrationOptions: {
|
|
1375
|
+
optInTransformResponse: true
|
|
1376
|
+
},
|
|
1265
1377
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
1266
1378
|
protoPath: "/v1/subscriptions/stats",
|
|
1267
1379
|
data: payload,
|
|
@@ -1280,6 +1392,9 @@ function extendSubscription(payload) {
|
|
|
1280
1392
|
method: "PATCH",
|
|
1281
1393
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.ExtendSubscription",
|
|
1282
1394
|
packageName: PACKAGE_NAME,
|
|
1395
|
+
migrationOptions: {
|
|
1396
|
+
optInTransformResponse: true
|
|
1397
|
+
},
|
|
1283
1398
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
1284
1399
|
protoPath: "/v1/subscriptions/{id}/extend",
|
|
1285
1400
|
data: payload,
|
|
@@ -1327,6 +1442,9 @@ function allowedActions(payload) {
|
|
|
1327
1442
|
method: "GET",
|
|
1328
1443
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.AllowedActions",
|
|
1329
1444
|
packageName: PACKAGE_NAME,
|
|
1445
|
+
migrationOptions: {
|
|
1446
|
+
optInTransformResponse: true
|
|
1447
|
+
},
|
|
1330
1448
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
1331
1449
|
protoPath: "/v1/subscriptions/{id}/allowed_actions",
|
|
1332
1450
|
data: payload,
|
|
@@ -1351,6 +1469,9 @@ function listUpcomingCharges(payload) {
|
|
|
1351
1469
|
method: "GET",
|
|
1352
1470
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.ListUpcomingCharges",
|
|
1353
1471
|
packageName: PACKAGE_NAME,
|
|
1472
|
+
migrationOptions: {
|
|
1473
|
+
optInTransformResponse: true
|
|
1474
|
+
},
|
|
1354
1475
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
1355
1476
|
protoPath: "/v1/subscriptions/{subscriptionId}/upcoming_charges",
|
|
1356
1477
|
data: serializedData,
|
|
@@ -1381,6 +1502,9 @@ function previewSubscriptionCharges(payload) {
|
|
|
1381
1502
|
method: "GET",
|
|
1382
1503
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.PreviewSubscriptionCharges",
|
|
1383
1504
|
packageName: PACKAGE_NAME,
|
|
1505
|
+
migrationOptions: {
|
|
1506
|
+
optInTransformResponse: true
|
|
1507
|
+
},
|
|
1384
1508
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
1385
1509
|
protoPath: "/v1/subscriptions/preview_charges",
|
|
1386
1510
|
data: serializedData,
|
|
@@ -1411,6 +1535,9 @@ function previewSubscriptionsCharges(payload) {
|
|
|
1411
1535
|
method: "GET",
|
|
1412
1536
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.PreviewSubscriptionsCharges",
|
|
1413
1537
|
packageName: PACKAGE_NAME,
|
|
1538
|
+
migrationOptions: {
|
|
1539
|
+
optInTransformResponse: true
|
|
1540
|
+
},
|
|
1414
1541
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
1415
1542
|
protoPath: "/v1/subscriptions/preview-subscriptions-charges",
|
|
1416
1543
|
data: serializedData,
|
|
@@ -1435,6 +1562,9 @@ function initiatePaymentMethodSetup(payload) {
|
|
|
1435
1562
|
method: "POST",
|
|
1436
1563
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.InitiatePaymentMethodSetup",
|
|
1437
1564
|
packageName: PACKAGE_NAME,
|
|
1565
|
+
migrationOptions: {
|
|
1566
|
+
optInTransformResponse: true
|
|
1567
|
+
},
|
|
1438
1568
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
|
|
1439
1569
|
protoPath: "/v1/subscriptions/{id}/payment_method_setup",
|
|
1440
1570
|
data: payload,
|
|
@@ -1453,6 +1583,9 @@ function listSubscriptionHistory(payload) {
|
|
|
1453
1583
|
method: "GET",
|
|
1454
1584
|
methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionHistoryService.ListSubscriptionHistory",
|
|
1455
1585
|
packageName: PACKAGE_NAME,
|
|
1586
|
+
migrationOptions: {
|
|
1587
|
+
optInTransformResponse: true
|
|
1588
|
+
},
|
|
1456
1589
|
url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionHistoryServiceUrl(
|
|
1457
1590
|
{
|
|
1458
1591
|
protoPath: "/v1/subscriptions/{subscriptionId}/history",
|
|
@@ -3040,6 +3173,283 @@ function listSubscriptionHistory(payload) {
|
|
|
3040
3173
|
return __listSubscriptionHistory;
|
|
3041
3174
|
}
|
|
3042
3175
|
|
|
3176
|
+
// src/billing-v1-subscription-subscriptions.types.ts
|
|
3177
|
+
var SubscriptionStatusEnumSubscriptionStatus = /* @__PURE__ */ ((SubscriptionStatusEnumSubscriptionStatus2) => {
|
|
3178
|
+
SubscriptionStatusEnumSubscriptionStatus2["UNKNOWN"] = "UNKNOWN";
|
|
3179
|
+
SubscriptionStatusEnumSubscriptionStatus2["DRAFT"] = "DRAFT";
|
|
3180
|
+
SubscriptionStatusEnumSubscriptionStatus2["PENDING"] = "PENDING";
|
|
3181
|
+
SubscriptionStatusEnumSubscriptionStatus2["ACTIVE"] = "ACTIVE";
|
|
3182
|
+
SubscriptionStatusEnumSubscriptionStatus2["PAUSED"] = "PAUSED";
|
|
3183
|
+
SubscriptionStatusEnumSubscriptionStatus2["ENDED"] = "ENDED";
|
|
3184
|
+
SubscriptionStatusEnumSubscriptionStatus2["CANCELED"] = "CANCELED";
|
|
3185
|
+
return SubscriptionStatusEnumSubscriptionStatus2;
|
|
3186
|
+
})(SubscriptionStatusEnumSubscriptionStatus || {});
|
|
3187
|
+
var CollectionMethodEnumCollectionMethod = /* @__PURE__ */ ((CollectionMethodEnumCollectionMethod2) => {
|
|
3188
|
+
CollectionMethodEnumCollectionMethod2["UNKNOWN"] = "UNKNOWN";
|
|
3189
|
+
CollectionMethodEnumCollectionMethod2["AUTO_CHARGE"] = "AUTO_CHARGE";
|
|
3190
|
+
CollectionMethodEnumCollectionMethod2["OFFLINE"] = "OFFLINE";
|
|
3191
|
+
CollectionMethodEnumCollectionMethod2["SEND_INVOICE"] = "SEND_INVOICE";
|
|
3192
|
+
CollectionMethodEnumCollectionMethod2["EXTERNAL"] = "EXTERNAL";
|
|
3193
|
+
CollectionMethodEnumCollectionMethod2["FREE"] = "FREE";
|
|
3194
|
+
return CollectionMethodEnumCollectionMethod2;
|
|
3195
|
+
})(CollectionMethodEnumCollectionMethod || {});
|
|
3196
|
+
var DurationUnit = /* @__PURE__ */ ((DurationUnit2) => {
|
|
3197
|
+
DurationUnit2["UNKNOWN"] = "UNKNOWN";
|
|
3198
|
+
DurationUnit2["DAY"] = "DAY";
|
|
3199
|
+
DurationUnit2["WEEK"] = "WEEK";
|
|
3200
|
+
DurationUnit2["MONTH"] = "MONTH";
|
|
3201
|
+
DurationUnit2["YEAR"] = "YEAR";
|
|
3202
|
+
return DurationUnit2;
|
|
3203
|
+
})(DurationUnit || {});
|
|
3204
|
+
var AdditionalFeeTrigger = /* @__PURE__ */ ((AdditionalFeeTrigger2) => {
|
|
3205
|
+
AdditionalFeeTrigger2["UNKNOWN"] = "UNKNOWN";
|
|
3206
|
+
AdditionalFeeTrigger2["FIRST_PAYMENT"] = "FIRST_PAYMENT";
|
|
3207
|
+
return AdditionalFeeTrigger2;
|
|
3208
|
+
})(AdditionalFeeTrigger || {});
|
|
3209
|
+
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
3210
|
+
TaxableAddressType2["UNKNOWN"] = "UNKNOWN";
|
|
3211
|
+
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
3212
|
+
TaxableAddressType2["BILLING"] = "BILLING";
|
|
3213
|
+
TaxableAddressType2["SHIPPING"] = "SHIPPING";
|
|
3214
|
+
return TaxableAddressType2;
|
|
3215
|
+
})(TaxableAddressType || {});
|
|
3216
|
+
var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {
|
|
3217
|
+
PaymentStatus2["UNKNOWN"] = "UNKNOWN";
|
|
3218
|
+
PaymentStatus2["UNPAID"] = "UNPAID";
|
|
3219
|
+
PaymentStatus2["PAID"] = "PAID";
|
|
3220
|
+
PaymentStatus2["FAILED"] = "FAILED";
|
|
3221
|
+
return PaymentStatus2;
|
|
3222
|
+
})(PaymentStatus || {});
|
|
3223
|
+
var PausePolicy = /* @__PURE__ */ ((PausePolicy2) => {
|
|
3224
|
+
PausePolicy2["NONE"] = "NONE";
|
|
3225
|
+
PausePolicy2["SERVICE_AND_PAYMENTS"] = "SERVICE_AND_PAYMENTS";
|
|
3226
|
+
PausePolicy2["SERVICE_ONLY"] = "SERVICE_ONLY";
|
|
3227
|
+
return PausePolicy2;
|
|
3228
|
+
})(PausePolicy || {});
|
|
3229
|
+
var PauseAt = /* @__PURE__ */ ((PauseAt2) => {
|
|
3230
|
+
PauseAt2["NONE"] = "NONE";
|
|
3231
|
+
PauseAt2["IMMEDIATELY"] = "IMMEDIATELY";
|
|
3232
|
+
PauseAt2["NEXT_BILLING_DATE"] = "NEXT_BILLING_DATE";
|
|
3233
|
+
PauseAt2["SPECIFIC_DATE"] = "SPECIFIC_DATE";
|
|
3234
|
+
PauseAt2["NUMBER_OF_CYCLES_FROM_TODAY"] = "NUMBER_OF_CYCLES_FROM_TODAY";
|
|
3235
|
+
return PauseAt2;
|
|
3236
|
+
})(PauseAt || {});
|
|
3237
|
+
var ResumeAt = /* @__PURE__ */ ((ResumeAt2) => {
|
|
3238
|
+
ResumeAt2["NONE"] = "NONE";
|
|
3239
|
+
ResumeAt2["IMMEDIATELY"] = "IMMEDIATELY";
|
|
3240
|
+
ResumeAt2["NEXT_BILLING_DATE"] = "NEXT_BILLING_DATE";
|
|
3241
|
+
ResumeAt2["SPECIFIC_DATE"] = "SPECIFIC_DATE";
|
|
3242
|
+
return ResumeAt2;
|
|
3243
|
+
})(ResumeAt || {});
|
|
3244
|
+
var HistoryActionInitiator = /* @__PURE__ */ ((HistoryActionInitiator2) => {
|
|
3245
|
+
HistoryActionInitiator2["UNDEFINED"] = "UNDEFINED";
|
|
3246
|
+
HistoryActionInitiator2["BUSINESS"] = "BUSINESS";
|
|
3247
|
+
HistoryActionInitiator2["CUSTOMER"] = "CUSTOMER";
|
|
3248
|
+
HistoryActionInitiator2["SYSTEM"] = "SYSTEM";
|
|
3249
|
+
HistoryActionInitiator2["PAYMENT_FAILURE"] = "PAYMENT_FAILURE";
|
|
3250
|
+
return HistoryActionInitiator2;
|
|
3251
|
+
})(HistoryActionInitiator || {});
|
|
3252
|
+
var ItemCategory = /* @__PURE__ */ ((ItemCategory2) => {
|
|
3253
|
+
ItemCategory2["UNKNOWN"] = "UNKNOWN";
|
|
3254
|
+
ItemCategory2["PHYSICAL"] = "PHYSICAL";
|
|
3255
|
+
ItemCategory2["DIGITAL"] = "DIGITAL";
|
|
3256
|
+
return ItemCategory2;
|
|
3257
|
+
})(ItemCategory || {});
|
|
3258
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
3259
|
+
SortOrder2["ASC"] = "ASC";
|
|
3260
|
+
SortOrder2["DESC"] = "DESC";
|
|
3261
|
+
return SortOrder2;
|
|
3262
|
+
})(SortOrder || {});
|
|
3263
|
+
var SubscriptionStatusGroup = /* @__PURE__ */ ((SubscriptionStatusGroup2) => {
|
|
3264
|
+
SubscriptionStatusGroup2["ALL"] = "ALL";
|
|
3265
|
+
SubscriptionStatusGroup2["LIVE"] = "LIVE";
|
|
3266
|
+
return SubscriptionStatusGroup2;
|
|
3267
|
+
})(SubscriptionStatusGroup || {});
|
|
3268
|
+
var ActionType = /* @__PURE__ */ ((ActionType2) => {
|
|
3269
|
+
ActionType2["NONE"] = "NONE";
|
|
3270
|
+
ActionType2["CREATION"] = "CREATION";
|
|
3271
|
+
ActionType2["CANCEL"] = "CANCEL";
|
|
3272
|
+
ActionType2["CYCLE_AUTO_RENEW_ON"] = "CYCLE_AUTO_RENEW_ON";
|
|
3273
|
+
ActionType2["CYCLE_AUTO_RENEW_OFF"] = "CYCLE_AUTO_RENEW_OFF";
|
|
3274
|
+
ActionType2["PAUSE"] = "PAUSE";
|
|
3275
|
+
ActionType2["RESUME"] = "RESUME";
|
|
3276
|
+
ActionType2["MARK_AS_PAID"] = "MARK_AS_PAID";
|
|
3277
|
+
ActionType2["EXTEND"] = "EXTEND";
|
|
3278
|
+
ActionType2["UPDATE"] = "UPDATE";
|
|
3279
|
+
ActionType2["UPDATE_START_DATE"] = "UPDATE_START_DATE";
|
|
3280
|
+
ActionType2["UPM"] = "UPM";
|
|
3281
|
+
ActionType2["UPDATE_BILLING_DATE"] = "UPDATE_BILLING_DATE";
|
|
3282
|
+
ActionType2["UPDATE_COLLECTION_METHOD"] = "UPDATE_COLLECTION_METHOD";
|
|
3283
|
+
return ActionType2;
|
|
3284
|
+
})(ActionType || {});
|
|
3285
|
+
var ExtendPolicyType = /* @__PURE__ */ ((ExtendPolicyType2) => {
|
|
3286
|
+
ExtendPolicyType2["PERIOD"] = "PERIOD";
|
|
3287
|
+
ExtendPolicyType2["BILLING_CYCLE"] = "BILLING_CYCLE";
|
|
3288
|
+
return ExtendPolicyType2;
|
|
3289
|
+
})(ExtendPolicyType || {});
|
|
3290
|
+
var PaymentMode = /* @__PURE__ */ ((PaymentMode2) => {
|
|
3291
|
+
PaymentMode2["NONE"] = "NONE";
|
|
3292
|
+
PaymentMode2["CHARGE"] = "CHARGE";
|
|
3293
|
+
PaymentMode2["AUTHORIZATION"] = "AUTHORIZATION";
|
|
3294
|
+
return PaymentMode2;
|
|
3295
|
+
})(PaymentMode || {});
|
|
3296
|
+
var OrderMethod = /* @__PURE__ */ ((OrderMethod2) => {
|
|
3297
|
+
OrderMethod2["UNKNOWN"] = "UNKNOWN";
|
|
3298
|
+
OrderMethod2["MOTO"] = "MOTO";
|
|
3299
|
+
OrderMethod2["NOT_MOTO"] = "NOT_MOTO";
|
|
3300
|
+
return OrderMethod2;
|
|
3301
|
+
})(OrderMethod || {});
|
|
3302
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
3303
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
3304
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
3305
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
3306
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
3307
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
3308
|
+
return WebhookIdentityType2;
|
|
3309
|
+
})(WebhookIdentityType || {});
|
|
3310
|
+
var PaymentTestMode = /* @__PURE__ */ ((PaymentTestMode2) => {
|
|
3311
|
+
PaymentTestMode2["REGULAR"] = "REGULAR";
|
|
3312
|
+
PaymentTestMode2["FAIL_TECHNICAL"] = "FAIL_TECHNICAL";
|
|
3313
|
+
PaymentTestMode2["FAIL_DECLINE"] = "FAIL_DECLINE";
|
|
3314
|
+
PaymentTestMode2["FAIL_RETRYABLE_DECLINE"] = "FAIL_RETRYABLE_DECLINE";
|
|
3315
|
+
return PaymentTestMode2;
|
|
3316
|
+
})(PaymentTestMode || {});
|
|
3317
|
+
var RevivePolicy = /* @__PURE__ */ ((RevivePolicy2) => {
|
|
3318
|
+
RevivePolicy2["SIMPLE"] = "SIMPLE";
|
|
3319
|
+
RevivePolicy2["RESUME"] = "RESUME";
|
|
3320
|
+
return RevivePolicy2;
|
|
3321
|
+
})(RevivePolicy || {});
|
|
3322
|
+
var ActionInitiator = /* @__PURE__ */ ((ActionInitiator2) => {
|
|
3323
|
+
ActionInitiator2["UNDEFINED"] = "UNDEFINED";
|
|
3324
|
+
ActionInitiator2["BUSINESS"] = "BUSINESS";
|
|
3325
|
+
ActionInitiator2["CUSTOMER"] = "CUSTOMER";
|
|
3326
|
+
ActionInitiator2["SYSTEM"] = "SYSTEM";
|
|
3327
|
+
return ActionInitiator2;
|
|
3328
|
+
})(ActionInitiator || {});
|
|
3329
|
+
var UpdateAction = /* @__PURE__ */ ((UpdateAction2) => {
|
|
3330
|
+
UpdateAction2["NONE"] = "NONE";
|
|
3331
|
+
UpdateAction2["IMMEDIATELY"] = "IMMEDIATELY";
|
|
3332
|
+
UpdateAction2["NEXT_BILLING_CYCLE"] = "NEXT_BILLING_CYCLE";
|
|
3333
|
+
UpdateAction2["RESET_PENDING_UPDATES"] = "RESET_PENDING_UPDATES";
|
|
3334
|
+
UpdateAction2["SPECIFIC_DATE"] = "SPECIFIC_DATE";
|
|
3335
|
+
return UpdateAction2;
|
|
3336
|
+
})(UpdateAction || {});
|
|
3337
|
+
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
3338
|
+
RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
3339
|
+
RequestedFields2["UNSUPPORTED_ACTION"] = "UNSUPPORTED_ACTION";
|
|
3340
|
+
return RequestedFields2;
|
|
3341
|
+
})(RequestedFields || {});
|
|
3342
|
+
var InvoiceStatus = /* @__PURE__ */ ((InvoiceStatus2) => {
|
|
3343
|
+
InvoiceStatus2["UNKNOWN"] = "UNKNOWN";
|
|
3344
|
+
InvoiceStatus2["OPEN"] = "OPEN";
|
|
3345
|
+
InvoiceStatus2["PAID"] = "PAID";
|
|
3346
|
+
InvoiceStatus2["FAILED"] = "FAILED";
|
|
3347
|
+
InvoiceStatus2["ATTEMPT_FAILED"] = "ATTEMPT_FAILED";
|
|
3348
|
+
InvoiceStatus2["CANCELED"] = "CANCELED";
|
|
3349
|
+
InvoiceStatus2["REFUNDED"] = "REFUNDED";
|
|
3350
|
+
return InvoiceStatus2;
|
|
3351
|
+
})(InvoiceStatus || {});
|
|
3352
|
+
var CollectionMethod = /* @__PURE__ */ ((CollectionMethod2) => {
|
|
3353
|
+
CollectionMethod2["UNKNOWN"] = "UNKNOWN";
|
|
3354
|
+
CollectionMethod2["AUTO_CHARGE"] = "AUTO_CHARGE";
|
|
3355
|
+
CollectionMethod2["OFFLINE"] = "OFFLINE";
|
|
3356
|
+
CollectionMethod2["SEND_INVOICE"] = "SEND_INVOICE";
|
|
3357
|
+
return CollectionMethod2;
|
|
3358
|
+
})(CollectionMethod || {});
|
|
3359
|
+
var CreationMode = /* @__PURE__ */ ((CreationMode2) => {
|
|
3360
|
+
CreationMode2["UNKNOWN"] = "UNKNOWN";
|
|
3361
|
+
CreationMode2["SYSTEM"] = "SYSTEM";
|
|
3362
|
+
CreationMode2["MANUAL"] = "MANUAL";
|
|
3363
|
+
return CreationMode2;
|
|
3364
|
+
})(CreationMode || {});
|
|
3365
|
+
var PaymentAttemptStatus = /* @__PURE__ */ ((PaymentAttemptStatus2) => {
|
|
3366
|
+
PaymentAttemptStatus2["UNKNOWN"] = "UNKNOWN";
|
|
3367
|
+
PaymentAttemptStatus2["SCHEDULED"] = "SCHEDULED";
|
|
3368
|
+
PaymentAttemptStatus2["IN_PROGRESS"] = "IN_PROGRESS";
|
|
3369
|
+
PaymentAttemptStatus2["PAID"] = "PAID";
|
|
3370
|
+
PaymentAttemptStatus2["DECLINED"] = "DECLINED";
|
|
3371
|
+
PaymentAttemptStatus2["TECHNICAL_FAILURE"] = "TECHNICAL_FAILURE";
|
|
3372
|
+
PaymentAttemptStatus2["CANCELED"] = "CANCELED";
|
|
3373
|
+
PaymentAttemptStatus2["PENDING"] = "PENDING";
|
|
3374
|
+
return PaymentAttemptStatus2;
|
|
3375
|
+
})(PaymentAttemptStatus || {});
|
|
3376
|
+
var RefundReason = /* @__PURE__ */ ((RefundReason2) => {
|
|
3377
|
+
RefundReason2["UNKNOWN_REFUND_REASON"] = "UNKNOWN_REFUND_REASON";
|
|
3378
|
+
RefundReason2["DUPLICATE_CHARGE"] = "DUPLICATE_CHARGE";
|
|
3379
|
+
RefundReason2["FRAUDULENT"] = "FRAUDULENT";
|
|
3380
|
+
RefundReason2["CUSTOMER_REQUEST"] = "CUSTOMER_REQUEST";
|
|
3381
|
+
RefundReason2["PROVISION_FAILED"] = "PROVISION_FAILED";
|
|
3382
|
+
RefundReason2["OTHER"] = "OTHER";
|
|
3383
|
+
return RefundReason2;
|
|
3384
|
+
})(RefundReason || {});
|
|
3385
|
+
var IdentityType = /* @__PURE__ */ ((IdentityType2) => {
|
|
3386
|
+
IdentityType2["UNDEFINED"] = "UNDEFINED";
|
|
3387
|
+
IdentityType2["MEMBER"] = "MEMBER";
|
|
3388
|
+
IdentityType2["CONTACT"] = "CONTACT";
|
|
3389
|
+
return IdentityType2;
|
|
3390
|
+
})(IdentityType || {});
|
|
3391
|
+
var SubscriptionType = /* @__PURE__ */ ((SubscriptionType2) => {
|
|
3392
|
+
SubscriptionType2["UNDEFINED"] = "UNDEFINED";
|
|
3393
|
+
SubscriptionType2["ONLINE"] = "ONLINE";
|
|
3394
|
+
SubscriptionType2["OFFLINE"] = "OFFLINE";
|
|
3395
|
+
return SubscriptionType2;
|
|
3396
|
+
})(SubscriptionType || {});
|
|
3397
|
+
var V1SubscriptionStatusEnumSubscriptionStatus = /* @__PURE__ */ ((V1SubscriptionStatusEnumSubscriptionStatus2) => {
|
|
3398
|
+
V1SubscriptionStatusEnumSubscriptionStatus2["UNDEFINED"] = "UNDEFINED";
|
|
3399
|
+
V1SubscriptionStatusEnumSubscriptionStatus2["DRAFT"] = "DRAFT";
|
|
3400
|
+
V1SubscriptionStatusEnumSubscriptionStatus2["PENDING"] = "PENDING";
|
|
3401
|
+
V1SubscriptionStatusEnumSubscriptionStatus2["ACTIVE"] = "ACTIVE";
|
|
3402
|
+
V1SubscriptionStatusEnumSubscriptionStatus2["EXPIRED"] = "EXPIRED";
|
|
3403
|
+
V1SubscriptionStatusEnumSubscriptionStatus2["CANCELED"] = "CANCELED";
|
|
3404
|
+
V1SubscriptionStatusEnumSubscriptionStatus2["PENDING_CANCELLATION"] = "PENDING_CANCELLATION";
|
|
3405
|
+
V1SubscriptionStatusEnumSubscriptionStatus2["SUSPENDED"] = "SUSPENDED";
|
|
3406
|
+
return V1SubscriptionStatusEnumSubscriptionStatus2;
|
|
3407
|
+
})(V1SubscriptionStatusEnumSubscriptionStatus || {});
|
|
3408
|
+
var PaymentStatusEnumPaymentStatus = /* @__PURE__ */ ((PaymentStatusEnumPaymentStatus2) => {
|
|
3409
|
+
PaymentStatusEnumPaymentStatus2["UNDEFINED"] = "UNDEFINED";
|
|
3410
|
+
PaymentStatusEnumPaymentStatus2["PAID"] = "PAID";
|
|
3411
|
+
PaymentStatusEnumPaymentStatus2["REFUNDED"] = "REFUNDED";
|
|
3412
|
+
PaymentStatusEnumPaymentStatus2["FAILED"] = "FAILED";
|
|
3413
|
+
PaymentStatusEnumPaymentStatus2["UNPAID"] = "UNPAID";
|
|
3414
|
+
PaymentStatusEnumPaymentStatus2["PENDING"] = "PENDING";
|
|
3415
|
+
return PaymentStatusEnumPaymentStatus2;
|
|
3416
|
+
})(PaymentStatusEnumPaymentStatus || {});
|
|
3417
|
+
var SubscriptionFrequency = /* @__PURE__ */ ((SubscriptionFrequency2) => {
|
|
3418
|
+
SubscriptionFrequency2["UNDEFINED"] = "UNDEFINED";
|
|
3419
|
+
SubscriptionFrequency2["DAY"] = "DAY";
|
|
3420
|
+
SubscriptionFrequency2["WEEK"] = "WEEK";
|
|
3421
|
+
SubscriptionFrequency2["MONTH"] = "MONTH";
|
|
3422
|
+
SubscriptionFrequency2["YEAR"] = "YEAR";
|
|
3423
|
+
return SubscriptionFrequency2;
|
|
3424
|
+
})(SubscriptionFrequency || {});
|
|
3425
|
+
var CancellationInitiator = /* @__PURE__ */ ((CancellationInitiator2) => {
|
|
3426
|
+
CancellationInitiator2["UNDEFINED"] = "UNDEFINED";
|
|
3427
|
+
CancellationInitiator2["OWNER"] = "OWNER";
|
|
3428
|
+
CancellationInitiator2["MEMBER"] = "MEMBER";
|
|
3429
|
+
CancellationInitiator2["PAYMENT_FAILURE"] = "PAYMENT_FAILURE";
|
|
3430
|
+
CancellationInitiator2["SETUP_FAILURE"] = "SETUP_FAILURE";
|
|
3431
|
+
return CancellationInitiator2;
|
|
3432
|
+
})(CancellationInitiator || {});
|
|
3433
|
+
var Status = /* @__PURE__ */ ((Status2) => {
|
|
3434
|
+
Status2["UNDEFINED"] = "UNDEFINED";
|
|
3435
|
+
Status2["ACTIVE"] = "ACTIVE";
|
|
3436
|
+
Status2["ENDED"] = "ENDED";
|
|
3437
|
+
return Status2;
|
|
3438
|
+
})(Status || {});
|
|
3439
|
+
var HistoryViewMode = /* @__PURE__ */ ((HistoryViewMode2) => {
|
|
3440
|
+
HistoryViewMode2["UNKNOWN"] = "UNKNOWN";
|
|
3441
|
+
HistoryViewMode2["BACKOFFICE"] = "BACKOFFICE";
|
|
3442
|
+
HistoryViewMode2["USER"] = "USER";
|
|
3443
|
+
return HistoryViewMode2;
|
|
3444
|
+
})(HistoryViewMode || {});
|
|
3445
|
+
var PaymentSettlementMethod = /* @__PURE__ */ ((PaymentSettlementMethod2) => {
|
|
3446
|
+
PaymentSettlementMethod2["UNKNOWN"] = "UNKNOWN";
|
|
3447
|
+
PaymentSettlementMethod2["SYSTEM"] = "SYSTEM";
|
|
3448
|
+
PaymentSettlementMethod2["MARK_AS_PAID"] = "MARK_AS_PAID";
|
|
3449
|
+
PaymentSettlementMethod2["CUSTOMER_PAY_NOW"] = "CUSTOMER_PAY_NOW";
|
|
3450
|
+
return PaymentSettlementMethod2;
|
|
3451
|
+
})(PaymentSettlementMethod || {});
|
|
3452
|
+
|
|
3043
3453
|
// src/billing-v1-subscription-subscriptions.meta.ts
|
|
3044
3454
|
function customerGetSubscription2() {
|
|
3045
3455
|
const payload = { id: ":id" };
|
|
@@ -3627,6 +4037,43 @@ function listSubscriptionHistory2() {
|
|
|
3627
4037
|
}
|
|
3628
4038
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3629
4039
|
0 && (module.exports = {
|
|
4040
|
+
ActionInitiatorOriginal,
|
|
4041
|
+
ActionTypeOriginal,
|
|
4042
|
+
AdditionalFeeTriggerOriginal,
|
|
4043
|
+
CancellationInitiatorOriginal,
|
|
4044
|
+
CollectionMethodEnumCollectionMethodOriginal,
|
|
4045
|
+
CollectionMethodOriginal,
|
|
4046
|
+
CreationModeOriginal,
|
|
4047
|
+
DurationUnitOriginal,
|
|
4048
|
+
ExtendPolicyTypeOriginal,
|
|
4049
|
+
HistoryActionInitiatorOriginal,
|
|
4050
|
+
HistoryViewModeOriginal,
|
|
4051
|
+
IdentityTypeOriginal,
|
|
4052
|
+
InvoiceStatusOriginal,
|
|
4053
|
+
ItemCategoryOriginal,
|
|
4054
|
+
OrderMethodOriginal,
|
|
4055
|
+
PauseAtOriginal,
|
|
4056
|
+
PausePolicyOriginal,
|
|
4057
|
+
PaymentAttemptStatusOriginal,
|
|
4058
|
+
PaymentModeOriginal,
|
|
4059
|
+
PaymentSettlementMethodOriginal,
|
|
4060
|
+
PaymentStatusEnumPaymentStatusOriginal,
|
|
4061
|
+
PaymentStatusOriginal,
|
|
4062
|
+
PaymentTestModeOriginal,
|
|
4063
|
+
RefundReasonOriginal,
|
|
4064
|
+
RequestedFieldsOriginal,
|
|
4065
|
+
ResumeAtOriginal,
|
|
4066
|
+
RevivePolicyOriginal,
|
|
4067
|
+
SortOrderOriginal,
|
|
4068
|
+
StatusOriginal,
|
|
4069
|
+
SubscriptionFrequencyOriginal,
|
|
4070
|
+
SubscriptionStatusEnumSubscriptionStatusOriginal,
|
|
4071
|
+
SubscriptionStatusGroupOriginal,
|
|
4072
|
+
SubscriptionTypeOriginal,
|
|
4073
|
+
TaxableAddressTypeOriginal,
|
|
4074
|
+
UpdateActionOriginal,
|
|
4075
|
+
V1SubscriptionStatusEnumSubscriptionStatusOriginal,
|
|
4076
|
+
WebhookIdentityTypeOriginal,
|
|
3630
4077
|
allowedActions,
|
|
3631
4078
|
cancelSubscription,
|
|
3632
4079
|
countSubscriptions,
|