@wix/auto_sdk_subscription_subscriptions 1.0.7 → 1.0.8

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.
Files changed (125) hide show
  1. package/build/cjs/index.d.ts +379 -1
  2. package/build/cjs/index.js +5651 -15
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +4678 -1
  5. package/build/cjs/index.typings.js +4714 -15
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +2373 -1
  8. package/build/cjs/meta.js +3612 -15
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +379 -0
  11. package/build/es/index.mjs +5549 -0
  12. package/build/es/index.mjs.map +1 -0
  13. package/build/{internal/cjs/src/billing-v1-subscription-subscriptions.universal.d.ts → es/index.typings.d.mts} +790 -1149
  14. package/build/es/index.typings.mjs +4625 -0
  15. package/build/es/index.typings.mjs.map +1 -0
  16. package/build/es/meta.d.mts +2373 -0
  17. package/build/es/meta.mjs +3557 -0
  18. package/build/es/meta.mjs.map +1 -0
  19. package/build/internal/cjs/index.d.ts +403 -1
  20. package/build/internal/cjs/index.js +5651 -15
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +4702 -1
  23. package/build/internal/cjs/index.typings.js +4714 -15
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +2373 -1
  26. package/build/internal/cjs/meta.js +3612 -15
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +403 -0
  29. package/build/internal/es/index.mjs +5549 -0
  30. package/build/internal/es/index.mjs.map +1 -0
  31. package/build/internal/es/{src/billing-v1-subscription-subscriptions.universal.d.ts → index.typings.d.mts} +793 -1128
  32. package/build/internal/es/index.typings.mjs +4625 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -0
  34. package/build/internal/es/meta.d.mts +2373 -0
  35. package/build/internal/es/meta.mjs +3557 -0
  36. package/build/internal/es/meta.mjs.map +1 -0
  37. package/package.json +12 -10
  38. package/build/cjs/src/billing-v1-subscription-subscriptions.context.d.ts +0 -99
  39. package/build/cjs/src/billing-v1-subscription-subscriptions.context.js +0 -142
  40. package/build/cjs/src/billing-v1-subscription-subscriptions.context.js.map +0 -1
  41. package/build/cjs/src/billing-v1-subscription-subscriptions.http.d.ts +0 -134
  42. package/build/cjs/src/billing-v1-subscription-subscriptions.http.js +0 -3048
  43. package/build/cjs/src/billing-v1-subscription-subscriptions.http.js.map +0 -1
  44. package/build/cjs/src/billing-v1-subscription-subscriptions.meta.d.ts +0 -94
  45. package/build/cjs/src/billing-v1-subscription-subscriptions.meta.js +0 -636
  46. package/build/cjs/src/billing-v1-subscription-subscriptions.meta.js.map +0 -1
  47. package/build/cjs/src/billing-v1-subscription-subscriptions.public.d.ts +0 -273
  48. package/build/cjs/src/billing-v1-subscription-subscriptions.public.js +0 -769
  49. package/build/cjs/src/billing-v1-subscription-subscriptions.public.js.map +0 -1
  50. package/build/cjs/src/billing-v1-subscription-subscriptions.types.d.ts +0 -4203
  51. package/build/cjs/src/billing-v1-subscription-subscriptions.types.js +0 -347
  52. package/build/cjs/src/billing-v1-subscription-subscriptions.types.js.map +0 -1
  53. package/build/cjs/src/billing-v1-subscription-subscriptions.universal.d.ts +0 -5013
  54. package/build/cjs/src/billing-v1-subscription-subscriptions.universal.js +0 -1997
  55. package/build/cjs/src/billing-v1-subscription-subscriptions.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/src/billing-v1-subscription-subscriptions.context.d.ts +0 -99
  66. package/build/es/src/billing-v1-subscription-subscriptions.context.js +0 -101
  67. package/build/es/src/billing-v1-subscription-subscriptions.context.js.map +0 -1
  68. package/build/es/src/billing-v1-subscription-subscriptions.http.d.ts +0 -134
  69. package/build/es/src/billing-v1-subscription-subscriptions.http.js +0 -3013
  70. package/build/es/src/billing-v1-subscription-subscriptions.http.js.map +0 -1
  71. package/build/es/src/billing-v1-subscription-subscriptions.meta.d.ts +0 -94
  72. package/build/es/src/billing-v1-subscription-subscriptions.meta.js +0 -578
  73. package/build/es/src/billing-v1-subscription-subscriptions.meta.js.map +0 -1
  74. package/build/es/src/billing-v1-subscription-subscriptions.public.d.ts +0 -273
  75. package/build/es/src/billing-v1-subscription-subscriptions.public.js +0 -696
  76. package/build/es/src/billing-v1-subscription-subscriptions.public.js.map +0 -1
  77. package/build/es/src/billing-v1-subscription-subscriptions.types.d.ts +0 -4203
  78. package/build/es/src/billing-v1-subscription-subscriptions.types.js +0 -344
  79. package/build/es/src/billing-v1-subscription-subscriptions.types.js.map +0 -1
  80. package/build/es/src/billing-v1-subscription-subscriptions.universal.d.ts +0 -5013
  81. package/build/es/src/billing-v1-subscription-subscriptions.universal.js +0 -1938
  82. package/build/es/src/billing-v1-subscription-subscriptions.universal.js.map +0 -1
  83. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.context.d.ts +0 -101
  84. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.context.js +0 -142
  85. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.context.js.map +0 -1
  86. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.http.d.ts +0 -134
  87. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.http.js +0 -3048
  88. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.http.js.map +0 -1
  89. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.meta.d.ts +0 -94
  90. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.meta.js +0 -636
  91. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.meta.js.map +0 -1
  92. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.public.d.ts +0 -293
  93. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.public.js +0 -769
  94. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.public.js.map +0 -1
  95. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.types.d.ts +0 -4203
  96. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.types.js +0 -347
  97. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.types.js.map +0 -1
  98. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.universal.js +0 -1997
  99. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.universal.js.map +0 -1
  100. package/build/internal/es/index.d.ts +0 -1
  101. package/build/internal/es/index.js +0 -2
  102. package/build/internal/es/index.js.map +0 -1
  103. package/build/internal/es/index.typings.d.ts +0 -1
  104. package/build/internal/es/index.typings.js +0 -2
  105. package/build/internal/es/index.typings.js.map +0 -1
  106. package/build/internal/es/meta.d.ts +0 -1
  107. package/build/internal/es/meta.js +0 -2
  108. package/build/internal/es/meta.js.map +0 -1
  109. package/build/internal/es/src/billing-v1-subscription-subscriptions.context.d.ts +0 -101
  110. package/build/internal/es/src/billing-v1-subscription-subscriptions.context.js +0 -101
  111. package/build/internal/es/src/billing-v1-subscription-subscriptions.context.js.map +0 -1
  112. package/build/internal/es/src/billing-v1-subscription-subscriptions.http.d.ts +0 -134
  113. package/build/internal/es/src/billing-v1-subscription-subscriptions.http.js +0 -3013
  114. package/build/internal/es/src/billing-v1-subscription-subscriptions.http.js.map +0 -1
  115. package/build/internal/es/src/billing-v1-subscription-subscriptions.meta.d.ts +0 -94
  116. package/build/internal/es/src/billing-v1-subscription-subscriptions.meta.js +0 -578
  117. package/build/internal/es/src/billing-v1-subscription-subscriptions.meta.js.map +0 -1
  118. package/build/internal/es/src/billing-v1-subscription-subscriptions.public.d.ts +0 -293
  119. package/build/internal/es/src/billing-v1-subscription-subscriptions.public.js +0 -696
  120. package/build/internal/es/src/billing-v1-subscription-subscriptions.public.js.map +0 -1
  121. package/build/internal/es/src/billing-v1-subscription-subscriptions.types.d.ts +0 -4203
  122. package/build/internal/es/src/billing-v1-subscription-subscriptions.types.js +0 -344
  123. package/build/internal/es/src/billing-v1-subscription-subscriptions.types.js.map +0 -1
  124. package/build/internal/es/src/billing-v1-subscription-subscriptions.universal.js +0 -1938
  125. package/build/internal/es/src/billing-v1-subscription-subscriptions.universal.js.map +0 -1
package/build/cjs/meta.js CHANGED
@@ -1,18 +1,3615 @@
1
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);
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
15
9
  };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./src/billing-v1-subscription-subscriptions.meta.js"), exports);
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // meta.ts
21
+ var meta_exports = {};
22
+ __export(meta_exports, {
23
+ allowedActions: () => allowedActions2,
24
+ cancelSubscription: () => cancelSubscription2,
25
+ countSubscriptions: () => countSubscriptions2,
26
+ customerAllowedActions: () => customerAllowedActions2,
27
+ customerCancelSubscription: () => customerCancelSubscription2,
28
+ customerExtendSubscription: () => customerExtendSubscription2,
29
+ customerGetSubscription: () => customerGetSubscription2,
30
+ customerInitiatePaymentMethodSetup: () => customerInitiatePaymentMethodSetup2,
31
+ customerListUpcomingCharges: () => customerListUpcomingCharges2,
32
+ customerQuerySubscriptions: () => customerQuerySubscriptions2,
33
+ customerTurnOffSubscriptionAutoRenewal: () => customerTurnOffSubscriptionAutoRenewal2,
34
+ customerTurnOnSubscriptionAutoRenewal: () => customerTurnOnSubscriptionAutoRenewal2,
35
+ customerUpdateSubscriptionPaymentMethod: () => customerUpdateSubscriptionPaymentMethod2,
36
+ extendSubscription: () => extendSubscription2,
37
+ getSubscription: () => getSubscription2,
38
+ getSubscriptionsStats: () => getSubscriptionsStats2,
39
+ initiatePaymentMethodSetup: () => initiatePaymentMethodSetup2,
40
+ listSubscriptionHistory: () => listSubscriptionHistory2,
41
+ listUpcomingCharges: () => listUpcomingCharges2,
42
+ markBillingCycleAsPaid: () => markBillingCycleAsPaid2,
43
+ markLatestInvoiceAsPaid: () => markLatestInvoiceAsPaid2,
44
+ pauseSubscription: () => pauseSubscription2,
45
+ payCycle: () => payCycle2,
46
+ previewSubscriptionCharges: () => previewSubscriptionCharges2,
47
+ previewSubscriptionsCharges: () => previewSubscriptionsCharges2,
48
+ querySubscriptions: () => querySubscriptions2,
49
+ resumeSubscription: () => resumeSubscription2,
50
+ searchSubscriptions: () => searchSubscriptions2,
51
+ turnOffSubscriptionAutoRenewal: () => turnOffSubscriptionAutoRenewal2,
52
+ turnOnSubscriptionAutoRenewal: () => turnOnSubscriptionAutoRenewal2,
53
+ updateSubscriptionBillingDate: () => updateSubscriptionBillingDate2,
54
+ updateSubscriptionPaymentMethod: () => updateSubscriptionPaymentMethod2
55
+ });
56
+ module.exports = __toCommonJS(meta_exports);
57
+
58
+ // src/billing-v1-subscription-subscriptions.http.ts
59
+ var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
60
+ var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
61
+ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
62
+ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
63
+ var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
64
+ function resolveComWixpressBillingSubscriptionsApiV1SubscriptionHistoryServiceUrl(opts) {
65
+ const domainToMappings = {
66
+ "www._base_domain_": [
67
+ {
68
+ srcPath: "/_api/billing-subscriptions",
69
+ destPath: ""
70
+ }
71
+ ],
72
+ _: [
73
+ {
74
+ srcPath: "/_api/billing-subscriptions",
75
+ destPath: ""
76
+ }
77
+ ],
78
+ "*.dev.wix-code.com": [
79
+ {
80
+ srcPath: "/_api/billing-subscriptions",
81
+ destPath: ""
82
+ }
83
+ ],
84
+ "*.pub.wix-code.com": [
85
+ {
86
+ srcPath: "/_api/billing-subscriptions",
87
+ destPath: ""
88
+ }
89
+ ],
90
+ "manage._base_domain_": [
91
+ {
92
+ srcPath: "/_api/billing-subscriptions",
93
+ destPath: ""
94
+ }
95
+ ]
96
+ };
97
+ return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
98
+ }
99
+ function resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl(opts) {
100
+ const domainToMappings = {
101
+ "www._base_domain_": [
102
+ {
103
+ srcPath: "/_api/billing-subscriptions",
104
+ destPath: ""
105
+ }
106
+ ],
107
+ _: [
108
+ {
109
+ srcPath: "/_api/billing-subscriptions",
110
+ destPath: ""
111
+ }
112
+ ],
113
+ "*.dev.wix-code.com": [
114
+ {
115
+ srcPath: "/_api/billing-subscriptions",
116
+ destPath: ""
117
+ }
118
+ ],
119
+ "*.pub.wix-code.com": [
120
+ {
121
+ srcPath: "/_api/billing-subscriptions",
122
+ destPath: ""
123
+ }
124
+ ],
125
+ "manage._base_domain_": [
126
+ {
127
+ srcPath: "/_api/billing-subscriptions",
128
+ destPath: ""
129
+ }
130
+ ]
131
+ };
132
+ return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
133
+ }
134
+ function resolveComWixpressBillingSubscriptionsApiV1SubscriptionsBackOfficeServiceUrl(opts) {
135
+ const domainToMappings = {
136
+ "www._base_domain_": [
137
+ {
138
+ srcPath: "/_api/billing-subscriptions",
139
+ destPath: ""
140
+ }
141
+ ],
142
+ _: [
143
+ {
144
+ srcPath: "/_api/billing-subscriptions",
145
+ destPath: ""
146
+ }
147
+ ],
148
+ "*.dev.wix-code.com": [
149
+ {
150
+ srcPath: "/_api/billing-subscriptions",
151
+ destPath: ""
152
+ }
153
+ ],
154
+ "*.pub.wix-code.com": [
155
+ {
156
+ srcPath: "/_api/billing-subscriptions",
157
+ destPath: ""
158
+ }
159
+ ],
160
+ "manage._base_domain_": [
161
+ {
162
+ srcPath: "/_api/billing-subscriptions",
163
+ destPath: ""
164
+ }
165
+ ]
166
+ };
167
+ return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
168
+ }
169
+ function resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(opts) {
170
+ const domainToMappings = {
171
+ "www._base_domain_": [
172
+ {
173
+ srcPath: "/_api/billing-subscriptions",
174
+ destPath: ""
175
+ }
176
+ ],
177
+ _: [
178
+ {
179
+ srcPath: "/_api/billing-subscriptions",
180
+ destPath: ""
181
+ }
182
+ ],
183
+ "*.dev.wix-code.com": [
184
+ {
185
+ srcPath: "/_api/billing-subscriptions",
186
+ destPath: ""
187
+ }
188
+ ],
189
+ "*.pub.wix-code.com": [
190
+ {
191
+ srcPath: "/_api/billing-subscriptions",
192
+ destPath: ""
193
+ }
194
+ ],
195
+ "manage._base_domain_": [
196
+ {
197
+ srcPath: "/_api/billing-subscriptions",
198
+ destPath: ""
199
+ }
200
+ ]
201
+ };
202
+ return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
203
+ }
204
+ var PACKAGE_NAME = "@wix/auto_sdk_subscription_subscriptions";
205
+ function customerGetSubscription(payload) {
206
+ function __customerGetSubscription({ host }) {
207
+ const metadata = {
208
+ entityFqdn: "wix.billing.v1.subscription",
209
+ method: "GET",
210
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.GetSubscription",
211
+ packageName: PACKAGE_NAME,
212
+ url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
213
+ { protoPath: "/v1/customer_subscriptions/{id}", data: payload, host }
214
+ ),
215
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
216
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
217
+ {
218
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
219
+ paths: [
220
+ { path: "subscription.createdDate" },
221
+ { path: "subscription.updatedDate" },
222
+ { path: "subscription.startDate" },
223
+ { path: "subscription.endDate" },
224
+ { path: "subscription.billingStatus.nextBillingDate" },
225
+ { path: "subscription.billingStatus.previousBillingDate" },
226
+ {
227
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
228
+ },
229
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
230
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
231
+ {
232
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
233
+ },
234
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
235
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
236
+ { path: "subscription.pauseInfo.startDate" },
237
+ { path: "subscription.pauseInfo.resumeDate" },
238
+ { path: "subscription.cancellationInfo.cancellationDate" },
239
+ {
240
+ path: "subscription.specificDatePendingUpdateData.executionDate"
241
+ }
242
+ ]
243
+ }
244
+ ])
245
+ };
246
+ return metadata;
247
+ }
248
+ return __customerGetSubscription;
249
+ }
250
+ function customerCancelSubscription(payload) {
251
+ function __customerCancelSubscription({ host }) {
252
+ const metadata = {
253
+ entityFqdn: "wix.billing.v1.subscription",
254
+ method: "POST",
255
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.CancelSubscription",
256
+ packageName: PACKAGE_NAME,
257
+ url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
258
+ {
259
+ protoPath: "/v1/customer_subscriptions/{id}/cancel",
260
+ data: payload,
261
+ host
262
+ }
263
+ ),
264
+ data: payload,
265
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
266
+ {
267
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
268
+ paths: [
269
+ { path: "subscription.createdDate" },
270
+ { path: "subscription.updatedDate" },
271
+ { path: "subscription.startDate" },
272
+ { path: "subscription.endDate" },
273
+ { path: "subscription.billingStatus.nextBillingDate" },
274
+ { path: "subscription.billingStatus.previousBillingDate" },
275
+ {
276
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
277
+ },
278
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
279
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
280
+ {
281
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
282
+ },
283
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
284
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
285
+ { path: "subscription.pauseInfo.startDate" },
286
+ { path: "subscription.pauseInfo.resumeDate" },
287
+ { path: "subscription.cancellationInfo.cancellationDate" },
288
+ {
289
+ path: "subscription.specificDatePendingUpdateData.executionDate"
290
+ }
291
+ ]
292
+ }
293
+ ])
294
+ };
295
+ return metadata;
296
+ }
297
+ return __customerCancelSubscription;
298
+ }
299
+ function customerTurnOnSubscriptionAutoRenewal(payload) {
300
+ function __customerTurnOnSubscriptionAutoRenewal({ host }) {
301
+ const metadata = {
302
+ entityFqdn: "wix.billing.v1.subscription",
303
+ method: "POST",
304
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.TurnOnSubscriptionAutoRenewal",
305
+ packageName: PACKAGE_NAME,
306
+ url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
307
+ {
308
+ protoPath: "/v1/customer_subscriptions/{id}/turn_on_auto_renewal",
309
+ data: payload,
310
+ host
311
+ }
312
+ ),
313
+ data: payload,
314
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
315
+ {
316
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
317
+ paths: [
318
+ { path: "subscription.createdDate" },
319
+ { path: "subscription.updatedDate" },
320
+ { path: "subscription.startDate" },
321
+ { path: "subscription.endDate" },
322
+ { path: "subscription.billingStatus.nextBillingDate" },
323
+ { path: "subscription.billingStatus.previousBillingDate" },
324
+ {
325
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
326
+ },
327
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
328
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
329
+ {
330
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
331
+ },
332
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
333
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
334
+ { path: "subscription.pauseInfo.startDate" },
335
+ { path: "subscription.pauseInfo.resumeDate" },
336
+ { path: "subscription.cancellationInfo.cancellationDate" },
337
+ {
338
+ path: "subscription.specificDatePendingUpdateData.executionDate"
339
+ }
340
+ ]
341
+ }
342
+ ])
343
+ };
344
+ return metadata;
345
+ }
346
+ return __customerTurnOnSubscriptionAutoRenewal;
347
+ }
348
+ function customerTurnOffSubscriptionAutoRenewal(payload) {
349
+ function __customerTurnOffSubscriptionAutoRenewal({ host }) {
350
+ const metadata = {
351
+ entityFqdn: "wix.billing.v1.subscription",
352
+ method: "POST",
353
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.TurnOffSubscriptionAutoRenewal",
354
+ packageName: PACKAGE_NAME,
355
+ url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
356
+ {
357
+ protoPath: "/v1/customer_subscriptions/{id}/turn_off_auto_renewal",
358
+ data: payload,
359
+ host
360
+ }
361
+ ),
362
+ data: payload,
363
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
364
+ {
365
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
366
+ paths: [
367
+ { path: "subscription.createdDate" },
368
+ { path: "subscription.updatedDate" },
369
+ { path: "subscription.startDate" },
370
+ { path: "subscription.endDate" },
371
+ { path: "subscription.billingStatus.nextBillingDate" },
372
+ { path: "subscription.billingStatus.previousBillingDate" },
373
+ {
374
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
375
+ },
376
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
377
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
378
+ {
379
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
380
+ },
381
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
382
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
383
+ { path: "subscription.pauseInfo.startDate" },
384
+ { path: "subscription.pauseInfo.resumeDate" },
385
+ { path: "subscription.cancellationInfo.cancellationDate" },
386
+ {
387
+ path: "subscription.specificDatePendingUpdateData.executionDate"
388
+ }
389
+ ]
390
+ }
391
+ ])
392
+ };
393
+ return metadata;
394
+ }
395
+ return __customerTurnOffSubscriptionAutoRenewal;
396
+ }
397
+ function customerExtendSubscription(payload) {
398
+ function __customerExtendSubscription({ host }) {
399
+ const metadata = {
400
+ entityFqdn: "wix.billing.v1.subscription",
401
+ method: "PATCH",
402
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.ExtendSubscription",
403
+ packageName: PACKAGE_NAME,
404
+ url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
405
+ {
406
+ protoPath: "/v1/customer_subscriptions/{id}/extend",
407
+ data: payload,
408
+ host
409
+ }
410
+ ),
411
+ data: payload,
412
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
413
+ {
414
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
415
+ paths: [
416
+ { path: "subscription.createdDate" },
417
+ { path: "subscription.updatedDate" },
418
+ { path: "subscription.startDate" },
419
+ { path: "subscription.endDate" },
420
+ { path: "subscription.billingStatus.nextBillingDate" },
421
+ { path: "subscription.billingStatus.previousBillingDate" },
422
+ {
423
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
424
+ },
425
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
426
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
427
+ {
428
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
429
+ },
430
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
431
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
432
+ { path: "subscription.pauseInfo.startDate" },
433
+ { path: "subscription.pauseInfo.resumeDate" },
434
+ { path: "subscription.cancellationInfo.cancellationDate" },
435
+ {
436
+ path: "subscription.specificDatePendingUpdateData.executionDate"
437
+ }
438
+ ]
439
+ }
440
+ ])
441
+ };
442
+ return metadata;
443
+ }
444
+ return __customerExtendSubscription;
445
+ }
446
+ function customerQuerySubscriptions(payload) {
447
+ function __customerQuerySubscriptions({ host }) {
448
+ const metadata = {
449
+ entityFqdn: "wix.billing.v1.subscription",
450
+ method: "POST",
451
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.QuerySubscriptions",
452
+ packageName: PACKAGE_NAME,
453
+ url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
454
+ { protoPath: "/v1/customer_subscriptions/query", data: payload, host }
455
+ ),
456
+ data: payload,
457
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
458
+ {
459
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
460
+ paths: [
461
+ { path: "subscriptions.createdDate" },
462
+ { path: "subscriptions.updatedDate" },
463
+ { path: "subscriptions.startDate" },
464
+ { path: "subscriptions.endDate" },
465
+ { path: "subscriptions.billingStatus.nextBillingDate" },
466
+ { path: "subscriptions.billingStatus.previousBillingDate" },
467
+ {
468
+ path: "subscriptions.billingStatus.latestPaymentData.initialFailedPaymentDate"
469
+ },
470
+ { path: "subscriptions.billingStatus.freeTrialData.startDate" },
471
+ { path: "subscriptions.billingStatus.freeTrialData.endDate" },
472
+ {
473
+ path: "subscriptions.billingStatus.updateBillingDateData.paidUntil"
474
+ },
475
+ { path: "subscriptions.billingStatus.gracePeriodData.startDate" },
476
+ { path: "subscriptions.billingStatus.gracePeriodData.endDate" },
477
+ { path: "subscriptions.pauseInfo.startDate" },
478
+ { path: "subscriptions.pauseInfo.resumeDate" },
479
+ { path: "subscriptions.cancellationInfo.cancellationDate" },
480
+ {
481
+ path: "subscriptions.specificDatePendingUpdateData.executionDate"
482
+ }
483
+ ]
484
+ }
485
+ ])
486
+ };
487
+ return metadata;
488
+ }
489
+ return __customerQuerySubscriptions;
490
+ }
491
+ function customerUpdateSubscriptionPaymentMethod(payload) {
492
+ function __customerUpdateSubscriptionPaymentMethod({ host }) {
493
+ const metadata = {
494
+ entityFqdn: "wix.billing.v1.subscription",
495
+ method: "PATCH",
496
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.UpdateSubscriptionPaymentMethod",
497
+ packageName: PACKAGE_NAME,
498
+ url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
499
+ {
500
+ protoPath: "/v1/customer_subscriptions/{id}/payment_method",
501
+ data: payload,
502
+ host
503
+ }
504
+ ),
505
+ data: payload,
506
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
507
+ {
508
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
509
+ paths: [
510
+ { path: "subscription.createdDate" },
511
+ { path: "subscription.updatedDate" },
512
+ { path: "subscription.startDate" },
513
+ { path: "subscription.endDate" },
514
+ { path: "subscription.billingStatus.nextBillingDate" },
515
+ { path: "subscription.billingStatus.previousBillingDate" },
516
+ {
517
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
518
+ },
519
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
520
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
521
+ {
522
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
523
+ },
524
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
525
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
526
+ { path: "subscription.pauseInfo.startDate" },
527
+ { path: "subscription.pauseInfo.resumeDate" },
528
+ { path: "subscription.cancellationInfo.cancellationDate" },
529
+ {
530
+ path: "subscription.specificDatePendingUpdateData.executionDate"
531
+ }
532
+ ]
533
+ }
534
+ ])
535
+ };
536
+ return metadata;
537
+ }
538
+ return __customerUpdateSubscriptionPaymentMethod;
539
+ }
540
+ function customerAllowedActions(payload) {
541
+ function __customerAllowedActions({ host }) {
542
+ const metadata = {
543
+ entityFqdn: "wix.billing.v1.subscription",
544
+ method: "GET",
545
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.AllowedActions",
546
+ packageName: PACKAGE_NAME,
547
+ url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
548
+ {
549
+ protoPath: "/v1/customer_subscriptions/{id}/allowed_actions",
550
+ data: payload,
551
+ host
552
+ }
553
+ ),
554
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
555
+ };
556
+ return metadata;
557
+ }
558
+ return __customerAllowedActions;
559
+ }
560
+ function customerListUpcomingCharges(payload) {
561
+ function __customerListUpcomingCharges({ host }) {
562
+ const metadata = {
563
+ entityFqdn: "wix.billing.v1.subscription",
564
+ method: "GET",
565
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.ListUpcomingCharges",
566
+ packageName: PACKAGE_NAME,
567
+ url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
568
+ {
569
+ protoPath: "/v1/customer_subscriptions/{id}/upcoming_charges",
570
+ data: payload,
571
+ host
572
+ }
573
+ ),
574
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
575
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
576
+ {
577
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
578
+ paths: [{ path: "upcomingCharge.billingDate" }]
579
+ }
580
+ ])
581
+ };
582
+ return metadata;
583
+ }
584
+ return __customerListUpcomingCharges;
585
+ }
586
+ function customerInitiatePaymentMethodSetup(payload) {
587
+ function __customerInitiatePaymentMethodSetup({ host }) {
588
+ const metadata = {
589
+ entityFqdn: "wix.billing.v1.subscription",
590
+ method: "POST",
591
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.InitiatePaymentMethodSetup",
592
+ packageName: PACKAGE_NAME,
593
+ url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
594
+ {
595
+ protoPath: "/v1/customer_subscriptions/{id}/payment_method_setup",
596
+ data: payload,
597
+ host
598
+ }
599
+ ),
600
+ data: payload
601
+ };
602
+ return metadata;
603
+ }
604
+ return __customerInitiatePaymentMethodSetup;
605
+ }
606
+ function payCycle(payload) {
607
+ function __payCycle({ host }) {
608
+ const metadata = {
609
+ entityFqdn: "wix.billing.v1.subscription",
610
+ method: "POST",
611
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsBackOfficeService.PayCycle",
612
+ packageName: PACKAGE_NAME,
613
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsBackOfficeServiceUrl(
614
+ {
615
+ protoPath: "/v1/subscriptions-bo/{subscriptionId}/pay-cycle",
616
+ data: payload,
617
+ host
618
+ }
619
+ ),
620
+ data: payload,
621
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
622
+ {
623
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
624
+ paths: [
625
+ { path: "subscription.createdDate" },
626
+ { path: "subscription.updatedDate" },
627
+ { path: "subscription.startDate" },
628
+ { path: "subscription.endDate" },
629
+ { path: "subscription.billingStatus.nextBillingDate" },
630
+ { path: "subscription.billingStatus.previousBillingDate" },
631
+ {
632
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
633
+ },
634
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
635
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
636
+ {
637
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
638
+ },
639
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
640
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
641
+ { path: "subscription.pauseInfo.startDate" },
642
+ { path: "subscription.pauseInfo.resumeDate" },
643
+ { path: "subscription.cancellationInfo.cancellationDate" },
644
+ {
645
+ path: "subscription.specificDatePendingUpdateData.executionDate"
646
+ }
647
+ ]
648
+ }
649
+ ])
650
+ };
651
+ return metadata;
652
+ }
653
+ return __payCycle;
654
+ }
655
+ function getSubscription(payload) {
656
+ function __getSubscription({ host }) {
657
+ const metadata = {
658
+ entityFqdn: "wix.billing.v1.subscription",
659
+ method: "GET",
660
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.GetSubscription",
661
+ packageName: PACKAGE_NAME,
662
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
663
+ protoPath: "/v1/subscriptions/{id}",
664
+ data: payload,
665
+ host
666
+ }),
667
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
668
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
669
+ {
670
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
671
+ paths: [
672
+ { path: "subscription.createdDate" },
673
+ { path: "subscription.updatedDate" },
674
+ { path: "subscription.startDate" },
675
+ { path: "subscription.endDate" },
676
+ { path: "subscription.billingStatus.nextBillingDate" },
677
+ { path: "subscription.billingStatus.previousBillingDate" },
678
+ {
679
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
680
+ },
681
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
682
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
683
+ {
684
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
685
+ },
686
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
687
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
688
+ { path: "subscription.pauseInfo.startDate" },
689
+ { path: "subscription.pauseInfo.resumeDate" },
690
+ { path: "subscription.cancellationInfo.cancellationDate" },
691
+ {
692
+ path: "subscription.specificDatePendingUpdateData.executionDate"
693
+ }
694
+ ]
695
+ }
696
+ ])
697
+ };
698
+ return metadata;
699
+ }
700
+ return __getSubscription;
701
+ }
702
+ function updateSubscriptionPaymentMethod(payload) {
703
+ function __updateSubscriptionPaymentMethod({ host }) {
704
+ const metadata = {
705
+ entityFqdn: "wix.billing.v1.subscription",
706
+ method: "PATCH",
707
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.UpdateSubscriptionPaymentMethod",
708
+ packageName: PACKAGE_NAME,
709
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
710
+ protoPath: "/v1/subscriptions/{id}/payment_method",
711
+ data: payload,
712
+ host
713
+ }),
714
+ data: payload,
715
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
716
+ {
717
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
718
+ paths: [
719
+ { path: "subscription.createdDate" },
720
+ { path: "subscription.updatedDate" },
721
+ { path: "subscription.startDate" },
722
+ { path: "subscription.endDate" },
723
+ { path: "subscription.billingStatus.nextBillingDate" },
724
+ { path: "subscription.billingStatus.previousBillingDate" },
725
+ {
726
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
727
+ },
728
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
729
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
730
+ {
731
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
732
+ },
733
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
734
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
735
+ { path: "subscription.pauseInfo.startDate" },
736
+ { path: "subscription.pauseInfo.resumeDate" },
737
+ { path: "subscription.cancellationInfo.cancellationDate" },
738
+ {
739
+ path: "subscription.specificDatePendingUpdateData.executionDate"
740
+ }
741
+ ]
742
+ }
743
+ ])
744
+ };
745
+ return metadata;
746
+ }
747
+ return __updateSubscriptionPaymentMethod;
748
+ }
749
+ function updateSubscriptionBillingDate(payload) {
750
+ function __updateSubscriptionBillingDate({ host }) {
751
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
752
+ {
753
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
754
+ paths: [{ path: "billingDate" }]
755
+ }
756
+ ]);
757
+ const metadata = {
758
+ entityFqdn: "wix.billing.v1.subscription",
759
+ method: "PATCH",
760
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.UpdateSubscriptionBillingDate",
761
+ packageName: PACKAGE_NAME,
762
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
763
+ protoPath: "/v1/subscriptions/{id}/update-billing-date",
764
+ data: serializedData,
765
+ host
766
+ }),
767
+ data: serializedData,
768
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
769
+ {
770
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
771
+ paths: [
772
+ { path: "subscription.createdDate" },
773
+ { path: "subscription.updatedDate" },
774
+ { path: "subscription.startDate" },
775
+ { path: "subscription.endDate" },
776
+ { path: "subscription.billingStatus.nextBillingDate" },
777
+ { path: "subscription.billingStatus.previousBillingDate" },
778
+ {
779
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
780
+ },
781
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
782
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
783
+ {
784
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
785
+ },
786
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
787
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
788
+ { path: "subscription.pauseInfo.startDate" },
789
+ { path: "subscription.pauseInfo.resumeDate" },
790
+ { path: "subscription.cancellationInfo.cancellationDate" },
791
+ {
792
+ path: "subscription.specificDatePendingUpdateData.executionDate"
793
+ }
794
+ ]
795
+ }
796
+ ])
797
+ };
798
+ return metadata;
799
+ }
800
+ return __updateSubscriptionBillingDate;
801
+ }
802
+ function cancelSubscription(payload) {
803
+ function __cancelSubscription({ host }) {
804
+ const metadata = {
805
+ entityFqdn: "wix.billing.v1.subscription",
806
+ method: "POST",
807
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.CancelSubscription",
808
+ packageName: PACKAGE_NAME,
809
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
810
+ protoPath: "/v1/subscriptions/{id}/cancel",
811
+ data: payload,
812
+ host
813
+ }),
814
+ data: payload,
815
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
816
+ {
817
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
818
+ paths: [
819
+ { path: "subscription.createdDate" },
820
+ { path: "subscription.updatedDate" },
821
+ { path: "subscription.startDate" },
822
+ { path: "subscription.endDate" },
823
+ { path: "subscription.billingStatus.nextBillingDate" },
824
+ { path: "subscription.billingStatus.previousBillingDate" },
825
+ {
826
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
827
+ },
828
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
829
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
830
+ {
831
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
832
+ },
833
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
834
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
835
+ { path: "subscription.pauseInfo.startDate" },
836
+ { path: "subscription.pauseInfo.resumeDate" },
837
+ { path: "subscription.cancellationInfo.cancellationDate" },
838
+ {
839
+ path: "subscription.specificDatePendingUpdateData.executionDate"
840
+ }
841
+ ]
842
+ }
843
+ ])
844
+ };
845
+ return metadata;
846
+ }
847
+ return __cancelSubscription;
848
+ }
849
+ function pauseSubscription(payload) {
850
+ function __pauseSubscription({ host }) {
851
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
852
+ {
853
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
854
+ paths: [
855
+ { path: "pauseAtSchedule.specificDate" },
856
+ { path: "autoResumeAtSchedule.specificDate" }
857
+ ]
858
+ }
859
+ ]);
860
+ const metadata = {
861
+ entityFqdn: "wix.billing.v1.subscription",
862
+ method: "POST",
863
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.PauseSubscription",
864
+ packageName: PACKAGE_NAME,
865
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
866
+ protoPath: "/v1/subscriptions/{id}/pause",
867
+ data: serializedData,
868
+ host
869
+ }),
870
+ data: serializedData,
871
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
872
+ {
873
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
874
+ paths: [
875
+ { path: "subscription.createdDate" },
876
+ { path: "subscription.updatedDate" },
877
+ { path: "subscription.startDate" },
878
+ { path: "subscription.endDate" },
879
+ { path: "subscription.billingStatus.nextBillingDate" },
880
+ { path: "subscription.billingStatus.previousBillingDate" },
881
+ {
882
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
883
+ },
884
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
885
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
886
+ {
887
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
888
+ },
889
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
890
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
891
+ { path: "subscription.pauseInfo.startDate" },
892
+ { path: "subscription.pauseInfo.resumeDate" },
893
+ { path: "subscription.cancellationInfo.cancellationDate" },
894
+ {
895
+ path: "subscription.specificDatePendingUpdateData.executionDate"
896
+ }
897
+ ]
898
+ }
899
+ ])
900
+ };
901
+ return metadata;
902
+ }
903
+ return __pauseSubscription;
904
+ }
905
+ function resumeSubscription(payload) {
906
+ function __resumeSubscription({ host }) {
907
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
908
+ {
909
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
910
+ paths: [{ path: "resumeAtSchedule.specificDate" }]
911
+ }
912
+ ]);
913
+ const metadata = {
914
+ entityFqdn: "wix.billing.v1.subscription",
915
+ method: "POST",
916
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.ResumeSubscription",
917
+ packageName: PACKAGE_NAME,
918
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
919
+ protoPath: "/v1/subscriptions/{id}/resume",
920
+ data: serializedData,
921
+ host
922
+ }),
923
+ data: serializedData,
924
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
925
+ {
926
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
927
+ paths: [
928
+ { path: "subscription.createdDate" },
929
+ { path: "subscription.updatedDate" },
930
+ { path: "subscription.startDate" },
931
+ { path: "subscription.endDate" },
932
+ { path: "subscription.billingStatus.nextBillingDate" },
933
+ { path: "subscription.billingStatus.previousBillingDate" },
934
+ {
935
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
936
+ },
937
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
938
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
939
+ {
940
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
941
+ },
942
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
943
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
944
+ { path: "subscription.pauseInfo.startDate" },
945
+ { path: "subscription.pauseInfo.resumeDate" },
946
+ { path: "subscription.cancellationInfo.cancellationDate" },
947
+ {
948
+ path: "subscription.specificDatePendingUpdateData.executionDate"
949
+ }
950
+ ]
951
+ }
952
+ ])
953
+ };
954
+ return metadata;
955
+ }
956
+ return __resumeSubscription;
957
+ }
958
+ function querySubscriptions(payload) {
959
+ function __querySubscriptions({ host }) {
960
+ const metadata = {
961
+ entityFqdn: "wix.billing.v1.subscription",
962
+ method: "POST",
963
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.QuerySubscriptions",
964
+ packageName: PACKAGE_NAME,
965
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
966
+ protoPath: "/v1/subscriptions/query",
967
+ data: payload,
968
+ host
969
+ }),
970
+ data: payload,
971
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
972
+ {
973
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
974
+ paths: [
975
+ { path: "subscriptions.createdDate" },
976
+ { path: "subscriptions.updatedDate" },
977
+ { path: "subscriptions.startDate" },
978
+ { path: "subscriptions.endDate" },
979
+ { path: "subscriptions.billingStatus.nextBillingDate" },
980
+ { path: "subscriptions.billingStatus.previousBillingDate" },
981
+ {
982
+ path: "subscriptions.billingStatus.latestPaymentData.initialFailedPaymentDate"
983
+ },
984
+ { path: "subscriptions.billingStatus.freeTrialData.startDate" },
985
+ { path: "subscriptions.billingStatus.freeTrialData.endDate" },
986
+ {
987
+ path: "subscriptions.billingStatus.updateBillingDateData.paidUntil"
988
+ },
989
+ { path: "subscriptions.billingStatus.gracePeriodData.startDate" },
990
+ { path: "subscriptions.billingStatus.gracePeriodData.endDate" },
991
+ { path: "subscriptions.pauseInfo.startDate" },
992
+ { path: "subscriptions.pauseInfo.resumeDate" },
993
+ { path: "subscriptions.cancellationInfo.cancellationDate" },
994
+ {
995
+ path: "subscriptions.specificDatePendingUpdateData.executionDate"
996
+ }
997
+ ]
998
+ }
999
+ ])
1000
+ };
1001
+ return metadata;
1002
+ }
1003
+ return __querySubscriptions;
1004
+ }
1005
+ function searchSubscriptions(payload) {
1006
+ function __searchSubscriptions({ host }) {
1007
+ const metadata = {
1008
+ entityFqdn: "wix.billing.v1.subscription",
1009
+ method: "POST",
1010
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.SearchSubscriptions",
1011
+ packageName: PACKAGE_NAME,
1012
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1013
+ protoPath: "/v1/subscriptions/search",
1014
+ data: payload,
1015
+ host
1016
+ }),
1017
+ data: payload,
1018
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1019
+ {
1020
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1021
+ paths: [
1022
+ { path: "subscriptions.createdDate" },
1023
+ { path: "subscriptions.updatedDate" },
1024
+ { path: "subscriptions.startDate" },
1025
+ { path: "subscriptions.endDate" },
1026
+ { path: "subscriptions.billingStatus.nextBillingDate" },
1027
+ { path: "subscriptions.billingStatus.previousBillingDate" },
1028
+ {
1029
+ path: "subscriptions.billingStatus.latestPaymentData.initialFailedPaymentDate"
1030
+ },
1031
+ { path: "subscriptions.billingStatus.freeTrialData.startDate" },
1032
+ { path: "subscriptions.billingStatus.freeTrialData.endDate" },
1033
+ {
1034
+ path: "subscriptions.billingStatus.updateBillingDateData.paidUntil"
1035
+ },
1036
+ { path: "subscriptions.billingStatus.gracePeriodData.startDate" },
1037
+ { path: "subscriptions.billingStatus.gracePeriodData.endDate" },
1038
+ { path: "subscriptions.pauseInfo.startDate" },
1039
+ { path: "subscriptions.pauseInfo.resumeDate" },
1040
+ { path: "subscriptions.cancellationInfo.cancellationDate" },
1041
+ {
1042
+ path: "subscriptions.specificDatePendingUpdateData.executionDate"
1043
+ }
1044
+ ]
1045
+ }
1046
+ ])
1047
+ };
1048
+ return metadata;
1049
+ }
1050
+ return __searchSubscriptions;
1051
+ }
1052
+ function countSubscriptions(payload) {
1053
+ function __countSubscriptions({ host }) {
1054
+ const metadata = {
1055
+ entityFqdn: "wix.billing.v1.subscription",
1056
+ method: "POST",
1057
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.CountSubscriptions",
1058
+ packageName: PACKAGE_NAME,
1059
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1060
+ protoPath: "/v1/subscriptions/count",
1061
+ data: payload,
1062
+ host
1063
+ }),
1064
+ data: payload
1065
+ };
1066
+ return metadata;
1067
+ }
1068
+ return __countSubscriptions;
1069
+ }
1070
+ function turnOnSubscriptionAutoRenewal(payload) {
1071
+ function __turnOnSubscriptionAutoRenewal({ host }) {
1072
+ const metadata = {
1073
+ entityFqdn: "wix.billing.v1.subscription",
1074
+ method: "PATCH",
1075
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.TurnOnSubscriptionAutoRenewal",
1076
+ packageName: PACKAGE_NAME,
1077
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1078
+ protoPath: "/v1/subscriptions/{id}/turn_on_auto_renewal",
1079
+ data: payload,
1080
+ host
1081
+ }),
1082
+ data: payload,
1083
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1084
+ {
1085
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1086
+ paths: [
1087
+ { path: "subscription.createdDate" },
1088
+ { path: "subscription.updatedDate" },
1089
+ { path: "subscription.startDate" },
1090
+ { path: "subscription.endDate" },
1091
+ { path: "subscription.billingStatus.nextBillingDate" },
1092
+ { path: "subscription.billingStatus.previousBillingDate" },
1093
+ {
1094
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1095
+ },
1096
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
1097
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
1098
+ {
1099
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
1100
+ },
1101
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
1102
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
1103
+ { path: "subscription.pauseInfo.startDate" },
1104
+ { path: "subscription.pauseInfo.resumeDate" },
1105
+ { path: "subscription.cancellationInfo.cancellationDate" },
1106
+ {
1107
+ path: "subscription.specificDatePendingUpdateData.executionDate"
1108
+ }
1109
+ ]
1110
+ }
1111
+ ])
1112
+ };
1113
+ return metadata;
1114
+ }
1115
+ return __turnOnSubscriptionAutoRenewal;
1116
+ }
1117
+ function turnOffSubscriptionAutoRenewal(payload) {
1118
+ function __turnOffSubscriptionAutoRenewal({ host }) {
1119
+ const metadata = {
1120
+ entityFqdn: "wix.billing.v1.subscription",
1121
+ method: "PATCH",
1122
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.TurnOffSubscriptionAutoRenewal",
1123
+ packageName: PACKAGE_NAME,
1124
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1125
+ protoPath: "/v1/subscriptions/{id}/turn_off_auto_renewal",
1126
+ data: payload,
1127
+ host
1128
+ }),
1129
+ data: payload,
1130
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1131
+ {
1132
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1133
+ paths: [
1134
+ { path: "subscription.createdDate" },
1135
+ { path: "subscription.updatedDate" },
1136
+ { path: "subscription.startDate" },
1137
+ { path: "subscription.endDate" },
1138
+ { path: "subscription.billingStatus.nextBillingDate" },
1139
+ { path: "subscription.billingStatus.previousBillingDate" },
1140
+ {
1141
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1142
+ },
1143
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
1144
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
1145
+ {
1146
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
1147
+ },
1148
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
1149
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
1150
+ { path: "subscription.pauseInfo.startDate" },
1151
+ { path: "subscription.pauseInfo.resumeDate" },
1152
+ { path: "subscription.cancellationInfo.cancellationDate" },
1153
+ {
1154
+ path: "subscription.specificDatePendingUpdateData.executionDate"
1155
+ }
1156
+ ]
1157
+ }
1158
+ ])
1159
+ };
1160
+ return metadata;
1161
+ }
1162
+ return __turnOffSubscriptionAutoRenewal;
1163
+ }
1164
+ function markLatestInvoiceAsPaid(payload) {
1165
+ function __markLatestInvoiceAsPaid({ host }) {
1166
+ const metadata = {
1167
+ entityFqdn: "wix.billing.v1.subscription",
1168
+ method: "POST",
1169
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.MarkLatestInvoiceAsPaid",
1170
+ packageName: PACKAGE_NAME,
1171
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1172
+ protoPath: "/v1/subscriptions/{subscriptionId}/mark-latest-invoice-as-paid",
1173
+ data: payload,
1174
+ host
1175
+ }),
1176
+ data: payload,
1177
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1178
+ {
1179
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1180
+ paths: [
1181
+ { path: "subscription.createdDate" },
1182
+ { path: "subscription.updatedDate" },
1183
+ { path: "subscription.startDate" },
1184
+ { path: "subscription.endDate" },
1185
+ { path: "subscription.billingStatus.nextBillingDate" },
1186
+ { path: "subscription.billingStatus.previousBillingDate" },
1187
+ {
1188
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1189
+ },
1190
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
1191
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
1192
+ {
1193
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
1194
+ },
1195
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
1196
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
1197
+ { path: "subscription.pauseInfo.startDate" },
1198
+ { path: "subscription.pauseInfo.resumeDate" },
1199
+ { path: "subscription.cancellationInfo.cancellationDate" },
1200
+ {
1201
+ path: "subscription.specificDatePendingUpdateData.executionDate"
1202
+ }
1203
+ ]
1204
+ }
1205
+ ])
1206
+ };
1207
+ return metadata;
1208
+ }
1209
+ return __markLatestInvoiceAsPaid;
1210
+ }
1211
+ function markBillingCycleAsPaid(payload) {
1212
+ function __markBillingCycleAsPaid({ host }) {
1213
+ const metadata = {
1214
+ entityFqdn: "wix.billing.v1.subscription",
1215
+ method: "POST",
1216
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.MarkBillingCycleAsPaid",
1217
+ packageName: PACKAGE_NAME,
1218
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1219
+ protoPath: "/v1/subscriptions/{subscriptionId}/mark-cycle-as-paid",
1220
+ data: payload,
1221
+ host
1222
+ }),
1223
+ data: payload,
1224
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1225
+ {
1226
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1227
+ paths: [
1228
+ { path: "subscription.createdDate" },
1229
+ { path: "subscription.updatedDate" },
1230
+ { path: "subscription.startDate" },
1231
+ { path: "subscription.endDate" },
1232
+ { path: "subscription.billingStatus.nextBillingDate" },
1233
+ { path: "subscription.billingStatus.previousBillingDate" },
1234
+ {
1235
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1236
+ },
1237
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
1238
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
1239
+ {
1240
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
1241
+ },
1242
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
1243
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
1244
+ { path: "subscription.pauseInfo.startDate" },
1245
+ { path: "subscription.pauseInfo.resumeDate" },
1246
+ { path: "subscription.cancellationInfo.cancellationDate" },
1247
+ {
1248
+ path: "subscription.specificDatePendingUpdateData.executionDate"
1249
+ }
1250
+ ]
1251
+ }
1252
+ ])
1253
+ };
1254
+ return metadata;
1255
+ }
1256
+ return __markBillingCycleAsPaid;
1257
+ }
1258
+ function getSubscriptionsStats(payload) {
1259
+ function __getSubscriptionsStats({ host }) {
1260
+ const metadata = {
1261
+ entityFqdn: "wix.billing.v1.subscription",
1262
+ method: "GET",
1263
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.GetSubscriptionsStats",
1264
+ packageName: PACKAGE_NAME,
1265
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1266
+ protoPath: "/v1/subscriptions/stats",
1267
+ data: payload,
1268
+ host
1269
+ }),
1270
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
1271
+ };
1272
+ return metadata;
1273
+ }
1274
+ return __getSubscriptionsStats;
1275
+ }
1276
+ function extendSubscription(payload) {
1277
+ function __extendSubscription({ host }) {
1278
+ const metadata = {
1279
+ entityFqdn: "wix.billing.v1.subscription",
1280
+ method: "PATCH",
1281
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.ExtendSubscription",
1282
+ packageName: PACKAGE_NAME,
1283
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1284
+ protoPath: "/v1/subscriptions/{id}/extend",
1285
+ data: payload,
1286
+ host
1287
+ }),
1288
+ data: payload,
1289
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1290
+ {
1291
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1292
+ paths: [
1293
+ { path: "subscription.createdDate" },
1294
+ { path: "subscription.updatedDate" },
1295
+ { path: "subscription.startDate" },
1296
+ { path: "subscription.endDate" },
1297
+ { path: "subscription.billingStatus.nextBillingDate" },
1298
+ { path: "subscription.billingStatus.previousBillingDate" },
1299
+ {
1300
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1301
+ },
1302
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
1303
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
1304
+ {
1305
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
1306
+ },
1307
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
1308
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
1309
+ { path: "subscription.pauseInfo.startDate" },
1310
+ { path: "subscription.pauseInfo.resumeDate" },
1311
+ { path: "subscription.cancellationInfo.cancellationDate" },
1312
+ {
1313
+ path: "subscription.specificDatePendingUpdateData.executionDate"
1314
+ }
1315
+ ]
1316
+ }
1317
+ ])
1318
+ };
1319
+ return metadata;
1320
+ }
1321
+ return __extendSubscription;
1322
+ }
1323
+ function allowedActions(payload) {
1324
+ function __allowedActions({ host }) {
1325
+ const metadata = {
1326
+ entityFqdn: "wix.billing.v1.subscription",
1327
+ method: "GET",
1328
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.AllowedActions",
1329
+ packageName: PACKAGE_NAME,
1330
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1331
+ protoPath: "/v1/subscriptions/{id}/allowed_actions",
1332
+ data: payload,
1333
+ host
1334
+ }),
1335
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
1336
+ };
1337
+ return metadata;
1338
+ }
1339
+ return __allowedActions;
1340
+ }
1341
+ function listUpcomingCharges(payload) {
1342
+ function __listUpcomingCharges({ host }) {
1343
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
1344
+ {
1345
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
1346
+ paths: [{ path: "nextBillingDate" }]
1347
+ }
1348
+ ]);
1349
+ const metadata = {
1350
+ entityFqdn: "wix.billing.v1.subscription",
1351
+ method: "GET",
1352
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.ListUpcomingCharges",
1353
+ packageName: PACKAGE_NAME,
1354
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1355
+ protoPath: "/v1/subscriptions/{subscriptionId}/upcoming_charges",
1356
+ data: serializedData,
1357
+ host
1358
+ }),
1359
+ params: (0, import_rest_modules.toURLSearchParams)(serializedData),
1360
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1361
+ {
1362
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1363
+ paths: [{ path: "upcomingCharges.billingDate" }]
1364
+ }
1365
+ ])
1366
+ };
1367
+ return metadata;
1368
+ }
1369
+ return __listUpcomingCharges;
1370
+ }
1371
+ function previewSubscriptionCharges(payload) {
1372
+ function __previewSubscriptionCharges({ host }) {
1373
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
1374
+ {
1375
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
1376
+ paths: [{ path: "subscriptionInfo.startDate" }]
1377
+ }
1378
+ ]);
1379
+ const metadata = {
1380
+ entityFqdn: "wix.billing.v1.subscription",
1381
+ method: "GET",
1382
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.PreviewSubscriptionCharges",
1383
+ packageName: PACKAGE_NAME,
1384
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1385
+ protoPath: "/v1/subscriptions/preview_charges",
1386
+ data: serializedData,
1387
+ host
1388
+ }),
1389
+ params: (0, import_rest_modules.toURLSearchParams)(serializedData),
1390
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1391
+ {
1392
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1393
+ paths: [{ path: "charges.cycleBillingDate" }]
1394
+ }
1395
+ ])
1396
+ };
1397
+ return metadata;
1398
+ }
1399
+ return __previewSubscriptionCharges;
1400
+ }
1401
+ function previewSubscriptionsCharges(payload) {
1402
+ function __previewSubscriptionsCharges({ host }) {
1403
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
1404
+ {
1405
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
1406
+ paths: [{ path: "subscriptionsBillingDetails.startDate" }]
1407
+ }
1408
+ ]);
1409
+ const metadata = {
1410
+ entityFqdn: "wix.billing.v1.subscription",
1411
+ method: "GET",
1412
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.PreviewSubscriptionsCharges",
1413
+ packageName: PACKAGE_NAME,
1414
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1415
+ protoPath: "/v1/subscriptions/preview-subscriptions-charges",
1416
+ data: serializedData,
1417
+ host
1418
+ }),
1419
+ params: (0, import_rest_modules.toURLSearchParams)(serializedData),
1420
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1421
+ {
1422
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1423
+ paths: [{ path: "subscriptionsCharges.charges.cycleBillingDate" }]
1424
+ }
1425
+ ])
1426
+ };
1427
+ return metadata;
1428
+ }
1429
+ return __previewSubscriptionsCharges;
1430
+ }
1431
+ function initiatePaymentMethodSetup(payload) {
1432
+ function __initiatePaymentMethodSetup({ host }) {
1433
+ const metadata = {
1434
+ entityFqdn: "wix.billing.v1.subscription",
1435
+ method: "POST",
1436
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.InitiatePaymentMethodSetup",
1437
+ packageName: PACKAGE_NAME,
1438
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1439
+ protoPath: "/v1/subscriptions/{id}/payment_method_setup",
1440
+ data: payload,
1441
+ host
1442
+ }),
1443
+ data: payload
1444
+ };
1445
+ return metadata;
1446
+ }
1447
+ return __initiatePaymentMethodSetup;
1448
+ }
1449
+ function listSubscriptionHistory(payload) {
1450
+ function __listSubscriptionHistory({ host }) {
1451
+ const metadata = {
1452
+ entityFqdn: "wix.billing.v1.subscription",
1453
+ method: "GET",
1454
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionHistoryService.ListSubscriptionHistory",
1455
+ packageName: PACKAGE_NAME,
1456
+ url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionHistoryServiceUrl(
1457
+ {
1458
+ protoPath: "/v1/subscriptions/{subscriptionId}/history",
1459
+ data: payload,
1460
+ host
1461
+ }
1462
+ ),
1463
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
1464
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1465
+ {
1466
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1467
+ paths: [
1468
+ { path: "historyEntries.entryTime" },
1469
+ { path: "historyEntries.event.created.subscription.createdDate" },
1470
+ { path: "historyEntries.event.created.subscription.updatedDate" },
1471
+ { path: "historyEntries.event.created.subscription.startDate" },
1472
+ { path: "historyEntries.event.created.subscription.endDate" },
1473
+ {
1474
+ path: "historyEntries.event.created.subscription.billingStatus.nextBillingDate"
1475
+ },
1476
+ {
1477
+ path: "historyEntries.event.created.subscription.billingStatus.previousBillingDate"
1478
+ },
1479
+ {
1480
+ path: "historyEntries.event.created.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1481
+ },
1482
+ {
1483
+ path: "historyEntries.event.created.subscription.billingStatus.freeTrialData.startDate"
1484
+ },
1485
+ {
1486
+ path: "historyEntries.event.created.subscription.billingStatus.freeTrialData.endDate"
1487
+ },
1488
+ {
1489
+ path: "historyEntries.event.created.subscription.billingStatus.updateBillingDateData.paidUntil"
1490
+ },
1491
+ {
1492
+ path: "historyEntries.event.created.subscription.billingStatus.gracePeriodData.startDate"
1493
+ },
1494
+ {
1495
+ path: "historyEntries.event.created.subscription.billingStatus.gracePeriodData.endDate"
1496
+ },
1497
+ {
1498
+ path: "historyEntries.event.created.subscription.pauseInfo.startDate"
1499
+ },
1500
+ {
1501
+ path: "historyEntries.event.created.subscription.pauseInfo.resumeDate"
1502
+ },
1503
+ {
1504
+ path: "historyEntries.event.created.subscription.cancellationInfo.cancellationDate"
1505
+ },
1506
+ {
1507
+ path: "historyEntries.event.created.subscription.specificDatePendingUpdateData.executionDate"
1508
+ },
1509
+ { path: "historyEntries.event.updated.current.createdDate" },
1510
+ { path: "historyEntries.event.updated.current.updatedDate" },
1511
+ { path: "historyEntries.event.updated.current.startDate" },
1512
+ { path: "historyEntries.event.updated.current.endDate" },
1513
+ {
1514
+ path: "historyEntries.event.updated.current.billingStatus.nextBillingDate"
1515
+ },
1516
+ {
1517
+ path: "historyEntries.event.updated.current.billingStatus.previousBillingDate"
1518
+ },
1519
+ {
1520
+ path: "historyEntries.event.updated.current.billingStatus.latestPaymentData.initialFailedPaymentDate"
1521
+ },
1522
+ {
1523
+ path: "historyEntries.event.updated.current.billingStatus.freeTrialData.startDate"
1524
+ },
1525
+ {
1526
+ path: "historyEntries.event.updated.current.billingStatus.freeTrialData.endDate"
1527
+ },
1528
+ {
1529
+ path: "historyEntries.event.updated.current.billingStatus.updateBillingDateData.paidUntil"
1530
+ },
1531
+ {
1532
+ path: "historyEntries.event.updated.current.billingStatus.gracePeriodData.startDate"
1533
+ },
1534
+ {
1535
+ path: "historyEntries.event.updated.current.billingStatus.gracePeriodData.endDate"
1536
+ },
1537
+ {
1538
+ path: "historyEntries.event.updated.current.pauseInfo.startDate"
1539
+ },
1540
+ {
1541
+ path: "historyEntries.event.updated.current.pauseInfo.resumeDate"
1542
+ },
1543
+ {
1544
+ path: "historyEntries.event.updated.current.cancellationInfo.cancellationDate"
1545
+ },
1546
+ {
1547
+ path: "historyEntries.event.updated.current.specificDatePendingUpdateData.executionDate"
1548
+ },
1549
+ { path: "historyEntries.event.updated.previous.createdDate" },
1550
+ { path: "historyEntries.event.updated.previous.updatedDate" },
1551
+ { path: "historyEntries.event.updated.previous.startDate" },
1552
+ { path: "historyEntries.event.updated.previous.endDate" },
1553
+ {
1554
+ path: "historyEntries.event.updated.previous.billingStatus.nextBillingDate"
1555
+ },
1556
+ {
1557
+ path: "historyEntries.event.updated.previous.billingStatus.previousBillingDate"
1558
+ },
1559
+ {
1560
+ path: "historyEntries.event.updated.previous.billingStatus.latestPaymentData.initialFailedPaymentDate"
1561
+ },
1562
+ {
1563
+ path: "historyEntries.event.updated.previous.billingStatus.freeTrialData.startDate"
1564
+ },
1565
+ {
1566
+ path: "historyEntries.event.updated.previous.billingStatus.freeTrialData.endDate"
1567
+ },
1568
+ {
1569
+ path: "historyEntries.event.updated.previous.billingStatus.updateBillingDateData.paidUntil"
1570
+ },
1571
+ {
1572
+ path: "historyEntries.event.updated.previous.billingStatus.gracePeriodData.startDate"
1573
+ },
1574
+ {
1575
+ path: "historyEntries.event.updated.previous.billingStatus.gracePeriodData.endDate"
1576
+ },
1577
+ {
1578
+ path: "historyEntries.event.updated.previous.pauseInfo.startDate"
1579
+ },
1580
+ {
1581
+ path: "historyEntries.event.updated.previous.pauseInfo.resumeDate"
1582
+ },
1583
+ {
1584
+ path: "historyEntries.event.updated.previous.cancellationInfo.cancellationDate"
1585
+ },
1586
+ {
1587
+ path: "historyEntries.event.updated.previous.specificDatePendingUpdateData.executionDate"
1588
+ },
1589
+ {
1590
+ path: "historyEntries.event.activated.subscription.createdDate"
1591
+ },
1592
+ {
1593
+ path: "historyEntries.event.activated.subscription.updatedDate"
1594
+ },
1595
+ { path: "historyEntries.event.activated.subscription.startDate" },
1596
+ { path: "historyEntries.event.activated.subscription.endDate" },
1597
+ {
1598
+ path: "historyEntries.event.activated.subscription.billingStatus.nextBillingDate"
1599
+ },
1600
+ {
1601
+ path: "historyEntries.event.activated.subscription.billingStatus.previousBillingDate"
1602
+ },
1603
+ {
1604
+ path: "historyEntries.event.activated.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1605
+ },
1606
+ {
1607
+ path: "historyEntries.event.activated.subscription.billingStatus.freeTrialData.startDate"
1608
+ },
1609
+ {
1610
+ path: "historyEntries.event.activated.subscription.billingStatus.freeTrialData.endDate"
1611
+ },
1612
+ {
1613
+ path: "historyEntries.event.activated.subscription.billingStatus.updateBillingDateData.paidUntil"
1614
+ },
1615
+ {
1616
+ path: "historyEntries.event.activated.subscription.billingStatus.gracePeriodData.startDate"
1617
+ },
1618
+ {
1619
+ path: "historyEntries.event.activated.subscription.billingStatus.gracePeriodData.endDate"
1620
+ },
1621
+ {
1622
+ path: "historyEntries.event.activated.subscription.pauseInfo.startDate"
1623
+ },
1624
+ {
1625
+ path: "historyEntries.event.activated.subscription.pauseInfo.resumeDate"
1626
+ },
1627
+ {
1628
+ path: "historyEntries.event.activated.subscription.cancellationInfo.cancellationDate"
1629
+ },
1630
+ {
1631
+ path: "historyEntries.event.activated.subscription.specificDatePendingUpdateData.executionDate"
1632
+ },
1633
+ { path: "historyEntries.event.ended.subscription.createdDate" },
1634
+ { path: "historyEntries.event.ended.subscription.updatedDate" },
1635
+ { path: "historyEntries.event.ended.subscription.startDate" },
1636
+ { path: "historyEntries.event.ended.subscription.endDate" },
1637
+ {
1638
+ path: "historyEntries.event.ended.subscription.billingStatus.nextBillingDate"
1639
+ },
1640
+ {
1641
+ path: "historyEntries.event.ended.subscription.billingStatus.previousBillingDate"
1642
+ },
1643
+ {
1644
+ path: "historyEntries.event.ended.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1645
+ },
1646
+ {
1647
+ path: "historyEntries.event.ended.subscription.billingStatus.freeTrialData.startDate"
1648
+ },
1649
+ {
1650
+ path: "historyEntries.event.ended.subscription.billingStatus.freeTrialData.endDate"
1651
+ },
1652
+ {
1653
+ path: "historyEntries.event.ended.subscription.billingStatus.updateBillingDateData.paidUntil"
1654
+ },
1655
+ {
1656
+ path: "historyEntries.event.ended.subscription.billingStatus.gracePeriodData.startDate"
1657
+ },
1658
+ {
1659
+ path: "historyEntries.event.ended.subscription.billingStatus.gracePeriodData.endDate"
1660
+ },
1661
+ {
1662
+ path: "historyEntries.event.ended.subscription.pauseInfo.startDate"
1663
+ },
1664
+ {
1665
+ path: "historyEntries.event.ended.subscription.pauseInfo.resumeDate"
1666
+ },
1667
+ {
1668
+ path: "historyEntries.event.ended.subscription.cancellationInfo.cancellationDate"
1669
+ },
1670
+ {
1671
+ path: "historyEntries.event.ended.subscription.specificDatePendingUpdateData.executionDate"
1672
+ },
1673
+ {
1674
+ path: "historyEntries.event.canceled.subscription.createdDate"
1675
+ },
1676
+ {
1677
+ path: "historyEntries.event.canceled.subscription.updatedDate"
1678
+ },
1679
+ { path: "historyEntries.event.canceled.subscription.startDate" },
1680
+ { path: "historyEntries.event.canceled.subscription.endDate" },
1681
+ {
1682
+ path: "historyEntries.event.canceled.subscription.billingStatus.nextBillingDate"
1683
+ },
1684
+ {
1685
+ path: "historyEntries.event.canceled.subscription.billingStatus.previousBillingDate"
1686
+ },
1687
+ {
1688
+ path: "historyEntries.event.canceled.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1689
+ },
1690
+ {
1691
+ path: "historyEntries.event.canceled.subscription.billingStatus.freeTrialData.startDate"
1692
+ },
1693
+ {
1694
+ path: "historyEntries.event.canceled.subscription.billingStatus.freeTrialData.endDate"
1695
+ },
1696
+ {
1697
+ path: "historyEntries.event.canceled.subscription.billingStatus.updateBillingDateData.paidUntil"
1698
+ },
1699
+ {
1700
+ path: "historyEntries.event.canceled.subscription.billingStatus.gracePeriodData.startDate"
1701
+ },
1702
+ {
1703
+ path: "historyEntries.event.canceled.subscription.billingStatus.gracePeriodData.endDate"
1704
+ },
1705
+ {
1706
+ path: "historyEntries.event.canceled.subscription.pauseInfo.startDate"
1707
+ },
1708
+ {
1709
+ path: "historyEntries.event.canceled.subscription.pauseInfo.resumeDate"
1710
+ },
1711
+ {
1712
+ path: "historyEntries.event.canceled.subscription.cancellationInfo.cancellationDate"
1713
+ },
1714
+ {
1715
+ path: "historyEntries.event.canceled.subscription.specificDatePendingUpdateData.executionDate"
1716
+ },
1717
+ { path: "historyEntries.event.paused.subscription.createdDate" },
1718
+ { path: "historyEntries.event.paused.subscription.updatedDate" },
1719
+ { path: "historyEntries.event.paused.subscription.startDate" },
1720
+ { path: "historyEntries.event.paused.subscription.endDate" },
1721
+ {
1722
+ path: "historyEntries.event.paused.subscription.billingStatus.nextBillingDate"
1723
+ },
1724
+ {
1725
+ path: "historyEntries.event.paused.subscription.billingStatus.previousBillingDate"
1726
+ },
1727
+ {
1728
+ path: "historyEntries.event.paused.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1729
+ },
1730
+ {
1731
+ path: "historyEntries.event.paused.subscription.billingStatus.freeTrialData.startDate"
1732
+ },
1733
+ {
1734
+ path: "historyEntries.event.paused.subscription.billingStatus.freeTrialData.endDate"
1735
+ },
1736
+ {
1737
+ path: "historyEntries.event.paused.subscription.billingStatus.updateBillingDateData.paidUntil"
1738
+ },
1739
+ {
1740
+ path: "historyEntries.event.paused.subscription.billingStatus.gracePeriodData.startDate"
1741
+ },
1742
+ {
1743
+ path: "historyEntries.event.paused.subscription.billingStatus.gracePeriodData.endDate"
1744
+ },
1745
+ {
1746
+ path: "historyEntries.event.paused.subscription.pauseInfo.startDate"
1747
+ },
1748
+ {
1749
+ path: "historyEntries.event.paused.subscription.pauseInfo.resumeDate"
1750
+ },
1751
+ {
1752
+ path: "historyEntries.event.paused.subscription.cancellationInfo.cancellationDate"
1753
+ },
1754
+ {
1755
+ path: "historyEntries.event.paused.subscription.specificDatePendingUpdateData.executionDate"
1756
+ },
1757
+ { path: "historyEntries.event.resumed.subscription.createdDate" },
1758
+ { path: "historyEntries.event.resumed.subscription.updatedDate" },
1759
+ { path: "historyEntries.event.resumed.subscription.startDate" },
1760
+ { path: "historyEntries.event.resumed.subscription.endDate" },
1761
+ {
1762
+ path: "historyEntries.event.resumed.subscription.billingStatus.nextBillingDate"
1763
+ },
1764
+ {
1765
+ path: "historyEntries.event.resumed.subscription.billingStatus.previousBillingDate"
1766
+ },
1767
+ {
1768
+ path: "historyEntries.event.resumed.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1769
+ },
1770
+ {
1771
+ path: "historyEntries.event.resumed.subscription.billingStatus.freeTrialData.startDate"
1772
+ },
1773
+ {
1774
+ path: "historyEntries.event.resumed.subscription.billingStatus.freeTrialData.endDate"
1775
+ },
1776
+ {
1777
+ path: "historyEntries.event.resumed.subscription.billingStatus.updateBillingDateData.paidUntil"
1778
+ },
1779
+ {
1780
+ path: "historyEntries.event.resumed.subscription.billingStatus.gracePeriodData.startDate"
1781
+ },
1782
+ {
1783
+ path: "historyEntries.event.resumed.subscription.billingStatus.gracePeriodData.endDate"
1784
+ },
1785
+ {
1786
+ path: "historyEntries.event.resumed.subscription.pauseInfo.startDate"
1787
+ },
1788
+ {
1789
+ path: "historyEntries.event.resumed.subscription.pauseInfo.resumeDate"
1790
+ },
1791
+ {
1792
+ path: "historyEntries.event.resumed.subscription.cancellationInfo.cancellationDate"
1793
+ },
1794
+ {
1795
+ path: "historyEntries.event.resumed.subscription.specificDatePendingUpdateData.executionDate"
1796
+ },
1797
+ {
1798
+ path: "historyEntries.event.pauseRequested.subscription.createdDate"
1799
+ },
1800
+ {
1801
+ path: "historyEntries.event.pauseRequested.subscription.updatedDate"
1802
+ },
1803
+ {
1804
+ path: "historyEntries.event.pauseRequested.subscription.startDate"
1805
+ },
1806
+ {
1807
+ path: "historyEntries.event.pauseRequested.subscription.endDate"
1808
+ },
1809
+ {
1810
+ path: "historyEntries.event.pauseRequested.subscription.billingStatus.nextBillingDate"
1811
+ },
1812
+ {
1813
+ path: "historyEntries.event.pauseRequested.subscription.billingStatus.previousBillingDate"
1814
+ },
1815
+ {
1816
+ path: "historyEntries.event.pauseRequested.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1817
+ },
1818
+ {
1819
+ path: "historyEntries.event.pauseRequested.subscription.billingStatus.freeTrialData.startDate"
1820
+ },
1821
+ {
1822
+ path: "historyEntries.event.pauseRequested.subscription.billingStatus.freeTrialData.endDate"
1823
+ },
1824
+ {
1825
+ path: "historyEntries.event.pauseRequested.subscription.billingStatus.updateBillingDateData.paidUntil"
1826
+ },
1827
+ {
1828
+ path: "historyEntries.event.pauseRequested.subscription.billingStatus.gracePeriodData.startDate"
1829
+ },
1830
+ {
1831
+ path: "historyEntries.event.pauseRequested.subscription.billingStatus.gracePeriodData.endDate"
1832
+ },
1833
+ {
1834
+ path: "historyEntries.event.pauseRequested.subscription.pauseInfo.startDate"
1835
+ },
1836
+ {
1837
+ path: "historyEntries.event.pauseRequested.subscription.pauseInfo.resumeDate"
1838
+ },
1839
+ {
1840
+ path: "historyEntries.event.pauseRequested.subscription.cancellationInfo.cancellationDate"
1841
+ },
1842
+ {
1843
+ path: "historyEntries.event.pauseRequested.subscription.specificDatePendingUpdateData.executionDate"
1844
+ },
1845
+ {
1846
+ path: "historyEntries.event.resumeRequested.subscription.createdDate"
1847
+ },
1848
+ {
1849
+ path: "historyEntries.event.resumeRequested.subscription.updatedDate"
1850
+ },
1851
+ {
1852
+ path: "historyEntries.event.resumeRequested.subscription.startDate"
1853
+ },
1854
+ {
1855
+ path: "historyEntries.event.resumeRequested.subscription.endDate"
1856
+ },
1857
+ {
1858
+ path: "historyEntries.event.resumeRequested.subscription.billingStatus.nextBillingDate"
1859
+ },
1860
+ {
1861
+ path: "historyEntries.event.resumeRequested.subscription.billingStatus.previousBillingDate"
1862
+ },
1863
+ {
1864
+ path: "historyEntries.event.resumeRequested.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1865
+ },
1866
+ {
1867
+ path: "historyEntries.event.resumeRequested.subscription.billingStatus.freeTrialData.startDate"
1868
+ },
1869
+ {
1870
+ path: "historyEntries.event.resumeRequested.subscription.billingStatus.freeTrialData.endDate"
1871
+ },
1872
+ {
1873
+ path: "historyEntries.event.resumeRequested.subscription.billingStatus.updateBillingDateData.paidUntil"
1874
+ },
1875
+ {
1876
+ path: "historyEntries.event.resumeRequested.subscription.billingStatus.gracePeriodData.startDate"
1877
+ },
1878
+ {
1879
+ path: "historyEntries.event.resumeRequested.subscription.billingStatus.gracePeriodData.endDate"
1880
+ },
1881
+ {
1882
+ path: "historyEntries.event.resumeRequested.subscription.pauseInfo.startDate"
1883
+ },
1884
+ {
1885
+ path: "historyEntries.event.resumeRequested.subscription.pauseInfo.resumeDate"
1886
+ },
1887
+ {
1888
+ path: "historyEntries.event.resumeRequested.subscription.cancellationInfo.cancellationDate"
1889
+ },
1890
+ {
1891
+ path: "historyEntries.event.resumeRequested.subscription.specificDatePendingUpdateData.executionDate"
1892
+ },
1893
+ {
1894
+ path: "historyEntries.event.scheduledPauseCanceled.subscription.createdDate"
1895
+ },
1896
+ {
1897
+ path: "historyEntries.event.scheduledPauseCanceled.subscription.updatedDate"
1898
+ },
1899
+ {
1900
+ path: "historyEntries.event.scheduledPauseCanceled.subscription.startDate"
1901
+ },
1902
+ {
1903
+ path: "historyEntries.event.scheduledPauseCanceled.subscription.endDate"
1904
+ },
1905
+ {
1906
+ path: "historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.nextBillingDate"
1907
+ },
1908
+ {
1909
+ path: "historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.previousBillingDate"
1910
+ },
1911
+ {
1912
+ path: "historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1913
+ },
1914
+ {
1915
+ path: "historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.freeTrialData.startDate"
1916
+ },
1917
+ {
1918
+ path: "historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.freeTrialData.endDate"
1919
+ },
1920
+ {
1921
+ path: "historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.updateBillingDateData.paidUntil"
1922
+ },
1923
+ {
1924
+ path: "historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.gracePeriodData.startDate"
1925
+ },
1926
+ {
1927
+ path: "historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.gracePeriodData.endDate"
1928
+ },
1929
+ {
1930
+ path: "historyEntries.event.scheduledPauseCanceled.subscription.pauseInfo.startDate"
1931
+ },
1932
+ {
1933
+ path: "historyEntries.event.scheduledPauseCanceled.subscription.pauseInfo.resumeDate"
1934
+ },
1935
+ {
1936
+ path: "historyEntries.event.scheduledPauseCanceled.subscription.cancellationInfo.cancellationDate"
1937
+ },
1938
+ {
1939
+ path: "historyEntries.event.scheduledPauseCanceled.subscription.specificDatePendingUpdateData.executionDate"
1940
+ },
1941
+ {
1942
+ path: "historyEntries.event.scheduledResumeCanceled.subscription.createdDate"
1943
+ },
1944
+ {
1945
+ path: "historyEntries.event.scheduledResumeCanceled.subscription.updatedDate"
1946
+ },
1947
+ {
1948
+ path: "historyEntries.event.scheduledResumeCanceled.subscription.startDate"
1949
+ },
1950
+ {
1951
+ path: "historyEntries.event.scheduledResumeCanceled.subscription.endDate"
1952
+ },
1953
+ {
1954
+ path: "historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.nextBillingDate"
1955
+ },
1956
+ {
1957
+ path: "historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.previousBillingDate"
1958
+ },
1959
+ {
1960
+ path: "historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1961
+ },
1962
+ {
1963
+ path: "historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.freeTrialData.startDate"
1964
+ },
1965
+ {
1966
+ path: "historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.freeTrialData.endDate"
1967
+ },
1968
+ {
1969
+ path: "historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.updateBillingDateData.paidUntil"
1970
+ },
1971
+ {
1972
+ path: "historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.gracePeriodData.startDate"
1973
+ },
1974
+ {
1975
+ path: "historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.gracePeriodData.endDate"
1976
+ },
1977
+ {
1978
+ path: "historyEntries.event.scheduledResumeCanceled.subscription.pauseInfo.startDate"
1979
+ },
1980
+ {
1981
+ path: "historyEntries.event.scheduledResumeCanceled.subscription.pauseInfo.resumeDate"
1982
+ },
1983
+ {
1984
+ path: "historyEntries.event.scheduledResumeCanceled.subscription.cancellationInfo.cancellationDate"
1985
+ },
1986
+ {
1987
+ path: "historyEntries.event.scheduledResumeCanceled.subscription.specificDatePendingUpdateData.executionDate"
1988
+ },
1989
+ {
1990
+ path: "historyEntries.event.billingCycleStarted.subscription.createdDate"
1991
+ },
1992
+ {
1993
+ path: "historyEntries.event.billingCycleStarted.subscription.updatedDate"
1994
+ },
1995
+ {
1996
+ path: "historyEntries.event.billingCycleStarted.subscription.startDate"
1997
+ },
1998
+ {
1999
+ path: "historyEntries.event.billingCycleStarted.subscription.endDate"
2000
+ },
2001
+ {
2002
+ path: "historyEntries.event.billingCycleStarted.subscription.billingStatus.nextBillingDate"
2003
+ },
2004
+ {
2005
+ path: "historyEntries.event.billingCycleStarted.subscription.billingStatus.previousBillingDate"
2006
+ },
2007
+ {
2008
+ path: "historyEntries.event.billingCycleStarted.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2009
+ },
2010
+ {
2011
+ path: "historyEntries.event.billingCycleStarted.subscription.billingStatus.freeTrialData.startDate"
2012
+ },
2013
+ {
2014
+ path: "historyEntries.event.billingCycleStarted.subscription.billingStatus.freeTrialData.endDate"
2015
+ },
2016
+ {
2017
+ path: "historyEntries.event.billingCycleStarted.subscription.billingStatus.updateBillingDateData.paidUntil"
2018
+ },
2019
+ {
2020
+ path: "historyEntries.event.billingCycleStarted.subscription.billingStatus.gracePeriodData.startDate"
2021
+ },
2022
+ {
2023
+ path: "historyEntries.event.billingCycleStarted.subscription.billingStatus.gracePeriodData.endDate"
2024
+ },
2025
+ {
2026
+ path: "historyEntries.event.billingCycleStarted.subscription.pauseInfo.startDate"
2027
+ },
2028
+ {
2029
+ path: "historyEntries.event.billingCycleStarted.subscription.pauseInfo.resumeDate"
2030
+ },
2031
+ {
2032
+ path: "historyEntries.event.billingCycleStarted.subscription.cancellationInfo.cancellationDate"
2033
+ },
2034
+ {
2035
+ path: "historyEntries.event.billingCycleStarted.subscription.specificDatePendingUpdateData.executionDate"
2036
+ },
2037
+ {
2038
+ path: "historyEntries.event.autoRenewalTurnedOn.subscription.createdDate"
2039
+ },
2040
+ {
2041
+ path: "historyEntries.event.autoRenewalTurnedOn.subscription.updatedDate"
2042
+ },
2043
+ {
2044
+ path: "historyEntries.event.autoRenewalTurnedOn.subscription.startDate"
2045
+ },
2046
+ {
2047
+ path: "historyEntries.event.autoRenewalTurnedOn.subscription.endDate"
2048
+ },
2049
+ {
2050
+ path: "historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.nextBillingDate"
2051
+ },
2052
+ {
2053
+ path: "historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.previousBillingDate"
2054
+ },
2055
+ {
2056
+ path: "historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2057
+ },
2058
+ {
2059
+ path: "historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.freeTrialData.startDate"
2060
+ },
2061
+ {
2062
+ path: "historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.freeTrialData.endDate"
2063
+ },
2064
+ {
2065
+ path: "historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.updateBillingDateData.paidUntil"
2066
+ },
2067
+ {
2068
+ path: "historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.gracePeriodData.startDate"
2069
+ },
2070
+ {
2071
+ path: "historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.gracePeriodData.endDate"
2072
+ },
2073
+ {
2074
+ path: "historyEntries.event.autoRenewalTurnedOn.subscription.pauseInfo.startDate"
2075
+ },
2076
+ {
2077
+ path: "historyEntries.event.autoRenewalTurnedOn.subscription.pauseInfo.resumeDate"
2078
+ },
2079
+ {
2080
+ path: "historyEntries.event.autoRenewalTurnedOn.subscription.cancellationInfo.cancellationDate"
2081
+ },
2082
+ {
2083
+ path: "historyEntries.event.autoRenewalTurnedOn.subscription.specificDatePendingUpdateData.executionDate"
2084
+ },
2085
+ {
2086
+ path: "historyEntries.event.autoRenewalTurnedOff.subscription.createdDate"
2087
+ },
2088
+ {
2089
+ path: "historyEntries.event.autoRenewalTurnedOff.subscription.updatedDate"
2090
+ },
2091
+ {
2092
+ path: "historyEntries.event.autoRenewalTurnedOff.subscription.startDate"
2093
+ },
2094
+ {
2095
+ path: "historyEntries.event.autoRenewalTurnedOff.subscription.endDate"
2096
+ },
2097
+ {
2098
+ path: "historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.nextBillingDate"
2099
+ },
2100
+ {
2101
+ path: "historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.previousBillingDate"
2102
+ },
2103
+ {
2104
+ path: "historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2105
+ },
2106
+ {
2107
+ path: "historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.freeTrialData.startDate"
2108
+ },
2109
+ {
2110
+ path: "historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.freeTrialData.endDate"
2111
+ },
2112
+ {
2113
+ path: "historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.updateBillingDateData.paidUntil"
2114
+ },
2115
+ {
2116
+ path: "historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.gracePeriodData.startDate"
2117
+ },
2118
+ {
2119
+ path: "historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.gracePeriodData.endDate"
2120
+ },
2121
+ {
2122
+ path: "historyEntries.event.autoRenewalTurnedOff.subscription.pauseInfo.startDate"
2123
+ },
2124
+ {
2125
+ path: "historyEntries.event.autoRenewalTurnedOff.subscription.pauseInfo.resumeDate"
2126
+ },
2127
+ {
2128
+ path: "historyEntries.event.autoRenewalTurnedOff.subscription.cancellationInfo.cancellationDate"
2129
+ },
2130
+ {
2131
+ path: "historyEntries.event.autoRenewalTurnedOff.subscription.specificDatePendingUpdateData.executionDate"
2132
+ },
2133
+ {
2134
+ path: "historyEntries.event.cycleReadyToPay.subscription.createdDate"
2135
+ },
2136
+ {
2137
+ path: "historyEntries.event.cycleReadyToPay.subscription.updatedDate"
2138
+ },
2139
+ {
2140
+ path: "historyEntries.event.cycleReadyToPay.subscription.startDate"
2141
+ },
2142
+ {
2143
+ path: "historyEntries.event.cycleReadyToPay.subscription.endDate"
2144
+ },
2145
+ {
2146
+ path: "historyEntries.event.cycleReadyToPay.subscription.billingStatus.nextBillingDate"
2147
+ },
2148
+ {
2149
+ path: "historyEntries.event.cycleReadyToPay.subscription.billingStatus.previousBillingDate"
2150
+ },
2151
+ {
2152
+ path: "historyEntries.event.cycleReadyToPay.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2153
+ },
2154
+ {
2155
+ path: "historyEntries.event.cycleReadyToPay.subscription.billingStatus.freeTrialData.startDate"
2156
+ },
2157
+ {
2158
+ path: "historyEntries.event.cycleReadyToPay.subscription.billingStatus.freeTrialData.endDate"
2159
+ },
2160
+ {
2161
+ path: "historyEntries.event.cycleReadyToPay.subscription.billingStatus.updateBillingDateData.paidUntil"
2162
+ },
2163
+ {
2164
+ path: "historyEntries.event.cycleReadyToPay.subscription.billingStatus.gracePeriodData.startDate"
2165
+ },
2166
+ {
2167
+ path: "historyEntries.event.cycleReadyToPay.subscription.billingStatus.gracePeriodData.endDate"
2168
+ },
2169
+ {
2170
+ path: "historyEntries.event.cycleReadyToPay.subscription.pauseInfo.startDate"
2171
+ },
2172
+ {
2173
+ path: "historyEntries.event.cycleReadyToPay.subscription.pauseInfo.resumeDate"
2174
+ },
2175
+ {
2176
+ path: "historyEntries.event.cycleReadyToPay.subscription.cancellationInfo.cancellationDate"
2177
+ },
2178
+ {
2179
+ path: "historyEntries.event.cycleReadyToPay.subscription.specificDatePendingUpdateData.executionDate"
2180
+ },
2181
+ {
2182
+ path: "historyEntries.event.extended.subscription.createdDate"
2183
+ },
2184
+ {
2185
+ path: "historyEntries.event.extended.subscription.updatedDate"
2186
+ },
2187
+ { path: "historyEntries.event.extended.subscription.startDate" },
2188
+ { path: "historyEntries.event.extended.subscription.endDate" },
2189
+ {
2190
+ path: "historyEntries.event.extended.subscription.billingStatus.nextBillingDate"
2191
+ },
2192
+ {
2193
+ path: "historyEntries.event.extended.subscription.billingStatus.previousBillingDate"
2194
+ },
2195
+ {
2196
+ path: "historyEntries.event.extended.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2197
+ },
2198
+ {
2199
+ path: "historyEntries.event.extended.subscription.billingStatus.freeTrialData.startDate"
2200
+ },
2201
+ {
2202
+ path: "historyEntries.event.extended.subscription.billingStatus.freeTrialData.endDate"
2203
+ },
2204
+ {
2205
+ path: "historyEntries.event.extended.subscription.billingStatus.updateBillingDateData.paidUntil"
2206
+ },
2207
+ {
2208
+ path: "historyEntries.event.extended.subscription.billingStatus.gracePeriodData.startDate"
2209
+ },
2210
+ {
2211
+ path: "historyEntries.event.extended.subscription.billingStatus.gracePeriodData.endDate"
2212
+ },
2213
+ {
2214
+ path: "historyEntries.event.extended.subscription.pauseInfo.startDate"
2215
+ },
2216
+ {
2217
+ path: "historyEntries.event.extended.subscription.pauseInfo.resumeDate"
2218
+ },
2219
+ {
2220
+ path: "historyEntries.event.extended.subscription.cancellationInfo.cancellationDate"
2221
+ },
2222
+ {
2223
+ path: "historyEntries.event.extended.subscription.specificDatePendingUpdateData.executionDate"
2224
+ },
2225
+ {
2226
+ path: "historyEntries.event.initialPurchaseCompleted.subscription.createdDate"
2227
+ },
2228
+ {
2229
+ path: "historyEntries.event.initialPurchaseCompleted.subscription.updatedDate"
2230
+ },
2231
+ {
2232
+ path: "historyEntries.event.initialPurchaseCompleted.subscription.startDate"
2233
+ },
2234
+ {
2235
+ path: "historyEntries.event.initialPurchaseCompleted.subscription.endDate"
2236
+ },
2237
+ {
2238
+ path: "historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.nextBillingDate"
2239
+ },
2240
+ {
2241
+ path: "historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.previousBillingDate"
2242
+ },
2243
+ {
2244
+ path: "historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2245
+ },
2246
+ {
2247
+ path: "historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.freeTrialData.startDate"
2248
+ },
2249
+ {
2250
+ path: "historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.freeTrialData.endDate"
2251
+ },
2252
+ {
2253
+ path: "historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.updateBillingDateData.paidUntil"
2254
+ },
2255
+ {
2256
+ path: "historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.gracePeriodData.startDate"
2257
+ },
2258
+ {
2259
+ path: "historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.gracePeriodData.endDate"
2260
+ },
2261
+ {
2262
+ path: "historyEntries.event.initialPurchaseCompleted.subscription.pauseInfo.startDate"
2263
+ },
2264
+ {
2265
+ path: "historyEntries.event.initialPurchaseCompleted.subscription.pauseInfo.resumeDate"
2266
+ },
2267
+ {
2268
+ path: "historyEntries.event.initialPurchaseCompleted.subscription.cancellationInfo.cancellationDate"
2269
+ },
2270
+ {
2271
+ path: "historyEntries.event.initialPurchaseCompleted.subscription.specificDatePendingUpdateData.executionDate"
2272
+ },
2273
+ {
2274
+ path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.createdDate"
2275
+ },
2276
+ {
2277
+ path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.updatedDate"
2278
+ },
2279
+ {
2280
+ path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.startDate"
2281
+ },
2282
+ {
2283
+ path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.endDate"
2284
+ },
2285
+ {
2286
+ path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.nextBillingDate"
2287
+ },
2288
+ {
2289
+ path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.previousBillingDate"
2290
+ },
2291
+ {
2292
+ path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2293
+ },
2294
+ {
2295
+ path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.freeTrialData.startDate"
2296
+ },
2297
+ {
2298
+ path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.freeTrialData.endDate"
2299
+ },
2300
+ {
2301
+ path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.updateBillingDateData.paidUntil"
2302
+ },
2303
+ {
2304
+ path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.gracePeriodData.startDate"
2305
+ },
2306
+ {
2307
+ path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.gracePeriodData.endDate"
2308
+ },
2309
+ {
2310
+ path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.pauseInfo.startDate"
2311
+ },
2312
+ {
2313
+ path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.pauseInfo.resumeDate"
2314
+ },
2315
+ {
2316
+ path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.cancellationInfo.cancellationDate"
2317
+ },
2318
+ {
2319
+ path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.specificDatePendingUpdateData.executionDate"
2320
+ },
2321
+ { path: "historyEntries.event.revived.subscription.createdDate" },
2322
+ { path: "historyEntries.event.revived.subscription.updatedDate" },
2323
+ { path: "historyEntries.event.revived.subscription.startDate" },
2324
+ { path: "historyEntries.event.revived.subscription.endDate" },
2325
+ {
2326
+ path: "historyEntries.event.revived.subscription.billingStatus.nextBillingDate"
2327
+ },
2328
+ {
2329
+ path: "historyEntries.event.revived.subscription.billingStatus.previousBillingDate"
2330
+ },
2331
+ {
2332
+ path: "historyEntries.event.revived.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2333
+ },
2334
+ {
2335
+ path: "historyEntries.event.revived.subscription.billingStatus.freeTrialData.startDate"
2336
+ },
2337
+ {
2338
+ path: "historyEntries.event.revived.subscription.billingStatus.freeTrialData.endDate"
2339
+ },
2340
+ {
2341
+ path: "historyEntries.event.revived.subscription.billingStatus.updateBillingDateData.paidUntil"
2342
+ },
2343
+ {
2344
+ path: "historyEntries.event.revived.subscription.billingStatus.gracePeriodData.startDate"
2345
+ },
2346
+ {
2347
+ path: "historyEntries.event.revived.subscription.billingStatus.gracePeriodData.endDate"
2348
+ },
2349
+ {
2350
+ path: "historyEntries.event.revived.subscription.pauseInfo.startDate"
2351
+ },
2352
+ {
2353
+ path: "historyEntries.event.revived.subscription.pauseInfo.resumeDate"
2354
+ },
2355
+ {
2356
+ path: "historyEntries.event.revived.subscription.cancellationInfo.cancellationDate"
2357
+ },
2358
+ {
2359
+ path: "historyEntries.event.revived.subscription.specificDatePendingUpdateData.executionDate"
2360
+ },
2361
+ { path: "historyEntries.event.billingDateUpdated.billingDate" },
2362
+ {
2363
+ path: "historyEntries.event.billingDateUpdated.subscription.createdDate"
2364
+ },
2365
+ {
2366
+ path: "historyEntries.event.billingDateUpdated.subscription.updatedDate"
2367
+ },
2368
+ {
2369
+ path: "historyEntries.event.billingDateUpdated.subscription.startDate"
2370
+ },
2371
+ {
2372
+ path: "historyEntries.event.billingDateUpdated.subscription.endDate"
2373
+ },
2374
+ {
2375
+ path: "historyEntries.event.billingDateUpdated.subscription.billingStatus.nextBillingDate"
2376
+ },
2377
+ {
2378
+ path: "historyEntries.event.billingDateUpdated.subscription.billingStatus.previousBillingDate"
2379
+ },
2380
+ {
2381
+ path: "historyEntries.event.billingDateUpdated.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2382
+ },
2383
+ {
2384
+ path: "historyEntries.event.billingDateUpdated.subscription.billingStatus.freeTrialData.startDate"
2385
+ },
2386
+ {
2387
+ path: "historyEntries.event.billingDateUpdated.subscription.billingStatus.freeTrialData.endDate"
2388
+ },
2389
+ {
2390
+ path: "historyEntries.event.billingDateUpdated.subscription.billingStatus.updateBillingDateData.paidUntil"
2391
+ },
2392
+ {
2393
+ path: "historyEntries.event.billingDateUpdated.subscription.billingStatus.gracePeriodData.startDate"
2394
+ },
2395
+ {
2396
+ path: "historyEntries.event.billingDateUpdated.subscription.billingStatus.gracePeriodData.endDate"
2397
+ },
2398
+ {
2399
+ path: "historyEntries.event.billingDateUpdated.subscription.pauseInfo.startDate"
2400
+ },
2401
+ {
2402
+ path: "historyEntries.event.billingDateUpdated.subscription.pauseInfo.resumeDate"
2403
+ },
2404
+ {
2405
+ path: "historyEntries.event.billingDateUpdated.subscription.cancellationInfo.cancellationDate"
2406
+ },
2407
+ {
2408
+ path: "historyEntries.event.billingDateUpdated.subscription.specificDatePendingUpdateData.executionDate"
2409
+ },
2410
+ {
2411
+ path: "historyEntries.event.futureUpdatesRequested.subscription.createdDate"
2412
+ },
2413
+ {
2414
+ path: "historyEntries.event.futureUpdatesRequested.subscription.updatedDate"
2415
+ },
2416
+ {
2417
+ path: "historyEntries.event.futureUpdatesRequested.subscription.startDate"
2418
+ },
2419
+ {
2420
+ path: "historyEntries.event.futureUpdatesRequested.subscription.endDate"
2421
+ },
2422
+ {
2423
+ path: "historyEntries.event.futureUpdatesRequested.subscription.billingStatus.nextBillingDate"
2424
+ },
2425
+ {
2426
+ path: "historyEntries.event.futureUpdatesRequested.subscription.billingStatus.previousBillingDate"
2427
+ },
2428
+ {
2429
+ path: "historyEntries.event.futureUpdatesRequested.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2430
+ },
2431
+ {
2432
+ path: "historyEntries.event.futureUpdatesRequested.subscription.billingStatus.freeTrialData.startDate"
2433
+ },
2434
+ {
2435
+ path: "historyEntries.event.futureUpdatesRequested.subscription.billingStatus.freeTrialData.endDate"
2436
+ },
2437
+ {
2438
+ path: "historyEntries.event.futureUpdatesRequested.subscription.billingStatus.updateBillingDateData.paidUntil"
2439
+ },
2440
+ {
2441
+ path: "historyEntries.event.futureUpdatesRequested.subscription.billingStatus.gracePeriodData.startDate"
2442
+ },
2443
+ {
2444
+ path: "historyEntries.event.futureUpdatesRequested.subscription.billingStatus.gracePeriodData.endDate"
2445
+ },
2446
+ {
2447
+ path: "historyEntries.event.futureUpdatesRequested.subscription.pauseInfo.startDate"
2448
+ },
2449
+ {
2450
+ path: "historyEntries.event.futureUpdatesRequested.subscription.pauseInfo.resumeDate"
2451
+ },
2452
+ {
2453
+ path: "historyEntries.event.futureUpdatesRequested.subscription.cancellationInfo.cancellationDate"
2454
+ },
2455
+ {
2456
+ path: "historyEntries.event.futureUpdatesRequested.subscription.specificDatePendingUpdateData.executionDate"
2457
+ },
2458
+ {
2459
+ path: "historyEntries.event.updatesApplied.subscription.createdDate"
2460
+ },
2461
+ {
2462
+ path: "historyEntries.event.updatesApplied.subscription.updatedDate"
2463
+ },
2464
+ {
2465
+ path: "historyEntries.event.updatesApplied.subscription.startDate"
2466
+ },
2467
+ {
2468
+ path: "historyEntries.event.updatesApplied.subscription.endDate"
2469
+ },
2470
+ {
2471
+ path: "historyEntries.event.updatesApplied.subscription.billingStatus.nextBillingDate"
2472
+ },
2473
+ {
2474
+ path: "historyEntries.event.updatesApplied.subscription.billingStatus.previousBillingDate"
2475
+ },
2476
+ {
2477
+ path: "historyEntries.event.updatesApplied.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2478
+ },
2479
+ {
2480
+ path: "historyEntries.event.updatesApplied.subscription.billingStatus.freeTrialData.startDate"
2481
+ },
2482
+ {
2483
+ path: "historyEntries.event.updatesApplied.subscription.billingStatus.freeTrialData.endDate"
2484
+ },
2485
+ {
2486
+ path: "historyEntries.event.updatesApplied.subscription.billingStatus.updateBillingDateData.paidUntil"
2487
+ },
2488
+ {
2489
+ path: "historyEntries.event.updatesApplied.subscription.billingStatus.gracePeriodData.startDate"
2490
+ },
2491
+ {
2492
+ path: "historyEntries.event.updatesApplied.subscription.billingStatus.gracePeriodData.endDate"
2493
+ },
2494
+ {
2495
+ path: "historyEntries.event.updatesApplied.subscription.pauseInfo.startDate"
2496
+ },
2497
+ {
2498
+ path: "historyEntries.event.updatesApplied.subscription.pauseInfo.resumeDate"
2499
+ },
2500
+ {
2501
+ path: "historyEntries.event.updatesApplied.subscription.cancellationInfo.cancellationDate"
2502
+ },
2503
+ {
2504
+ path: "historyEntries.event.updatesApplied.subscription.specificDatePendingUpdateData.executionDate"
2505
+ },
2506
+ {
2507
+ path: "historyEntries.event.resetPendingUpdates.subscription.createdDate"
2508
+ },
2509
+ {
2510
+ path: "historyEntries.event.resetPendingUpdates.subscription.updatedDate"
2511
+ },
2512
+ {
2513
+ path: "historyEntries.event.resetPendingUpdates.subscription.startDate"
2514
+ },
2515
+ {
2516
+ path: "historyEntries.event.resetPendingUpdates.subscription.endDate"
2517
+ },
2518
+ {
2519
+ path: "historyEntries.event.resetPendingUpdates.subscription.billingStatus.nextBillingDate"
2520
+ },
2521
+ {
2522
+ path: "historyEntries.event.resetPendingUpdates.subscription.billingStatus.previousBillingDate"
2523
+ },
2524
+ {
2525
+ path: "historyEntries.event.resetPendingUpdates.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2526
+ },
2527
+ {
2528
+ path: "historyEntries.event.resetPendingUpdates.subscription.billingStatus.freeTrialData.startDate"
2529
+ },
2530
+ {
2531
+ path: "historyEntries.event.resetPendingUpdates.subscription.billingStatus.freeTrialData.endDate"
2532
+ },
2533
+ {
2534
+ path: "historyEntries.event.resetPendingUpdates.subscription.billingStatus.updateBillingDateData.paidUntil"
2535
+ },
2536
+ {
2537
+ path: "historyEntries.event.resetPendingUpdates.subscription.billingStatus.gracePeriodData.startDate"
2538
+ },
2539
+ {
2540
+ path: "historyEntries.event.resetPendingUpdates.subscription.billingStatus.gracePeriodData.endDate"
2541
+ },
2542
+ {
2543
+ path: "historyEntries.event.resetPendingUpdates.subscription.pauseInfo.startDate"
2544
+ },
2545
+ {
2546
+ path: "historyEntries.event.resetPendingUpdates.subscription.pauseInfo.resumeDate"
2547
+ },
2548
+ {
2549
+ path: "historyEntries.event.resetPendingUpdates.subscription.cancellationInfo.cancellationDate"
2550
+ },
2551
+ {
2552
+ path: "historyEntries.event.resetPendingUpdates.subscription.specificDatePendingUpdateData.executionDate"
2553
+ },
2554
+ {
2555
+ path: "historyEntries.event.gracePeriodStarted.subscription.createdDate"
2556
+ },
2557
+ {
2558
+ path: "historyEntries.event.gracePeriodStarted.subscription.updatedDate"
2559
+ },
2560
+ {
2561
+ path: "historyEntries.event.gracePeriodStarted.subscription.startDate"
2562
+ },
2563
+ {
2564
+ path: "historyEntries.event.gracePeriodStarted.subscription.endDate"
2565
+ },
2566
+ {
2567
+ path: "historyEntries.event.gracePeriodStarted.subscription.billingStatus.nextBillingDate"
2568
+ },
2569
+ {
2570
+ path: "historyEntries.event.gracePeriodStarted.subscription.billingStatus.previousBillingDate"
2571
+ },
2572
+ {
2573
+ path: "historyEntries.event.gracePeriodStarted.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2574
+ },
2575
+ {
2576
+ path: "historyEntries.event.gracePeriodStarted.subscription.billingStatus.freeTrialData.startDate"
2577
+ },
2578
+ {
2579
+ path: "historyEntries.event.gracePeriodStarted.subscription.billingStatus.freeTrialData.endDate"
2580
+ },
2581
+ {
2582
+ path: "historyEntries.event.gracePeriodStarted.subscription.billingStatus.updateBillingDateData.paidUntil"
2583
+ },
2584
+ {
2585
+ path: "historyEntries.event.gracePeriodStarted.subscription.billingStatus.gracePeriodData.startDate"
2586
+ },
2587
+ {
2588
+ path: "historyEntries.event.gracePeriodStarted.subscription.billingStatus.gracePeriodData.endDate"
2589
+ },
2590
+ {
2591
+ path: "historyEntries.event.gracePeriodStarted.subscription.pauseInfo.startDate"
2592
+ },
2593
+ {
2594
+ path: "historyEntries.event.gracePeriodStarted.subscription.pauseInfo.resumeDate"
2595
+ },
2596
+ {
2597
+ path: "historyEntries.event.gracePeriodStarted.subscription.cancellationInfo.cancellationDate"
2598
+ },
2599
+ {
2600
+ path: "historyEntries.event.gracePeriodStarted.subscription.specificDatePendingUpdateData.executionDate"
2601
+ },
2602
+ {
2603
+ path: "historyEntries.event.gracePeriodEnded.subscription.createdDate"
2604
+ },
2605
+ {
2606
+ path: "historyEntries.event.gracePeriodEnded.subscription.updatedDate"
2607
+ },
2608
+ {
2609
+ path: "historyEntries.event.gracePeriodEnded.subscription.startDate"
2610
+ },
2611
+ {
2612
+ path: "historyEntries.event.gracePeriodEnded.subscription.endDate"
2613
+ },
2614
+ {
2615
+ path: "historyEntries.event.gracePeriodEnded.subscription.billingStatus.nextBillingDate"
2616
+ },
2617
+ {
2618
+ path: "historyEntries.event.gracePeriodEnded.subscription.billingStatus.previousBillingDate"
2619
+ },
2620
+ {
2621
+ path: "historyEntries.event.gracePeriodEnded.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2622
+ },
2623
+ {
2624
+ path: "historyEntries.event.gracePeriodEnded.subscription.billingStatus.freeTrialData.startDate"
2625
+ },
2626
+ {
2627
+ path: "historyEntries.event.gracePeriodEnded.subscription.billingStatus.freeTrialData.endDate"
2628
+ },
2629
+ {
2630
+ path: "historyEntries.event.gracePeriodEnded.subscription.billingStatus.updateBillingDateData.paidUntil"
2631
+ },
2632
+ {
2633
+ path: "historyEntries.event.gracePeriodEnded.subscription.billingStatus.gracePeriodData.startDate"
2634
+ },
2635
+ {
2636
+ path: "historyEntries.event.gracePeriodEnded.subscription.billingStatus.gracePeriodData.endDate"
2637
+ },
2638
+ {
2639
+ path: "historyEntries.event.gracePeriodEnded.subscription.pauseInfo.startDate"
2640
+ },
2641
+ {
2642
+ path: "historyEntries.event.gracePeriodEnded.subscription.pauseInfo.resumeDate"
2643
+ },
2644
+ {
2645
+ path: "historyEntries.event.gracePeriodEnded.subscription.cancellationInfo.cancellationDate"
2646
+ },
2647
+ {
2648
+ path: "historyEntries.event.gracePeriodEnded.subscription.specificDatePendingUpdateData.executionDate"
2649
+ },
2650
+ {
2651
+ path: "historyEntries.event.paymentMethodUpdated.subscription.createdDate"
2652
+ },
2653
+ {
2654
+ path: "historyEntries.event.paymentMethodUpdated.subscription.updatedDate"
2655
+ },
2656
+ {
2657
+ path: "historyEntries.event.paymentMethodUpdated.subscription.startDate"
2658
+ },
2659
+ {
2660
+ path: "historyEntries.event.paymentMethodUpdated.subscription.endDate"
2661
+ },
2662
+ {
2663
+ path: "historyEntries.event.paymentMethodUpdated.subscription.billingStatus.nextBillingDate"
2664
+ },
2665
+ {
2666
+ path: "historyEntries.event.paymentMethodUpdated.subscription.billingStatus.previousBillingDate"
2667
+ },
2668
+ {
2669
+ path: "historyEntries.event.paymentMethodUpdated.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2670
+ },
2671
+ {
2672
+ path: "historyEntries.event.paymentMethodUpdated.subscription.billingStatus.freeTrialData.startDate"
2673
+ },
2674
+ {
2675
+ path: "historyEntries.event.paymentMethodUpdated.subscription.billingStatus.freeTrialData.endDate"
2676
+ },
2677
+ {
2678
+ path: "historyEntries.event.paymentMethodUpdated.subscription.billingStatus.updateBillingDateData.paidUntil"
2679
+ },
2680
+ {
2681
+ path: "historyEntries.event.paymentMethodUpdated.subscription.billingStatus.gracePeriodData.startDate"
2682
+ },
2683
+ {
2684
+ path: "historyEntries.event.paymentMethodUpdated.subscription.billingStatus.gracePeriodData.endDate"
2685
+ },
2686
+ {
2687
+ path: "historyEntries.event.paymentMethodUpdated.subscription.pauseInfo.startDate"
2688
+ },
2689
+ {
2690
+ path: "historyEntries.event.paymentMethodUpdated.subscription.pauseInfo.resumeDate"
2691
+ },
2692
+ {
2693
+ path: "historyEntries.event.paymentMethodUpdated.subscription.cancellationInfo.cancellationDate"
2694
+ },
2695
+ {
2696
+ path: "historyEntries.event.paymentMethodUpdated.subscription.specificDatePendingUpdateData.executionDate"
2697
+ },
2698
+ {
2699
+ path: "historyEntries.event.collectionMethodUpdated.subscription.createdDate"
2700
+ },
2701
+ {
2702
+ path: "historyEntries.event.collectionMethodUpdated.subscription.updatedDate"
2703
+ },
2704
+ {
2705
+ path: "historyEntries.event.collectionMethodUpdated.subscription.startDate"
2706
+ },
2707
+ {
2708
+ path: "historyEntries.event.collectionMethodUpdated.subscription.endDate"
2709
+ },
2710
+ {
2711
+ path: "historyEntries.event.collectionMethodUpdated.subscription.billingStatus.nextBillingDate"
2712
+ },
2713
+ {
2714
+ path: "historyEntries.event.collectionMethodUpdated.subscription.billingStatus.previousBillingDate"
2715
+ },
2716
+ {
2717
+ path: "historyEntries.event.collectionMethodUpdated.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2718
+ },
2719
+ {
2720
+ path: "historyEntries.event.collectionMethodUpdated.subscription.billingStatus.freeTrialData.startDate"
2721
+ },
2722
+ {
2723
+ path: "historyEntries.event.collectionMethodUpdated.subscription.billingStatus.freeTrialData.endDate"
2724
+ },
2725
+ {
2726
+ path: "historyEntries.event.collectionMethodUpdated.subscription.billingStatus.updateBillingDateData.paidUntil"
2727
+ },
2728
+ {
2729
+ path: "historyEntries.event.collectionMethodUpdated.subscription.billingStatus.gracePeriodData.startDate"
2730
+ },
2731
+ {
2732
+ path: "historyEntries.event.collectionMethodUpdated.subscription.billingStatus.gracePeriodData.endDate"
2733
+ },
2734
+ {
2735
+ path: "historyEntries.event.collectionMethodUpdated.subscription.pauseInfo.startDate"
2736
+ },
2737
+ {
2738
+ path: "historyEntries.event.collectionMethodUpdated.subscription.pauseInfo.resumeDate"
2739
+ },
2740
+ {
2741
+ path: "historyEntries.event.collectionMethodUpdated.subscription.cancellationInfo.cancellationDate"
2742
+ },
2743
+ {
2744
+ path: "historyEntries.event.collectionMethodUpdated.subscription.specificDatePendingUpdateData.executionDate"
2745
+ },
2746
+ {
2747
+ path: "historyEntries.event.freeTrailStarted.subscription.createdDate"
2748
+ },
2749
+ {
2750
+ path: "historyEntries.event.freeTrailStarted.subscription.updatedDate"
2751
+ },
2752
+ {
2753
+ path: "historyEntries.event.freeTrailStarted.subscription.startDate"
2754
+ },
2755
+ {
2756
+ path: "historyEntries.event.freeTrailStarted.subscription.endDate"
2757
+ },
2758
+ {
2759
+ path: "historyEntries.event.freeTrailStarted.subscription.billingStatus.nextBillingDate"
2760
+ },
2761
+ {
2762
+ path: "historyEntries.event.freeTrailStarted.subscription.billingStatus.previousBillingDate"
2763
+ },
2764
+ {
2765
+ path: "historyEntries.event.freeTrailStarted.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2766
+ },
2767
+ {
2768
+ path: "historyEntries.event.freeTrailStarted.subscription.billingStatus.freeTrialData.startDate"
2769
+ },
2770
+ {
2771
+ path: "historyEntries.event.freeTrailStarted.subscription.billingStatus.freeTrialData.endDate"
2772
+ },
2773
+ {
2774
+ path: "historyEntries.event.freeTrailStarted.subscription.billingStatus.updateBillingDateData.paidUntil"
2775
+ },
2776
+ {
2777
+ path: "historyEntries.event.freeTrailStarted.subscription.billingStatus.gracePeriodData.startDate"
2778
+ },
2779
+ {
2780
+ path: "historyEntries.event.freeTrailStarted.subscription.billingStatus.gracePeriodData.endDate"
2781
+ },
2782
+ {
2783
+ path: "historyEntries.event.freeTrailStarted.subscription.pauseInfo.startDate"
2784
+ },
2785
+ {
2786
+ path: "historyEntries.event.freeTrailStarted.subscription.pauseInfo.resumeDate"
2787
+ },
2788
+ {
2789
+ path: "historyEntries.event.freeTrailStarted.subscription.cancellationInfo.cancellationDate"
2790
+ },
2791
+ {
2792
+ path: "historyEntries.event.freeTrailStarted.subscription.specificDatePendingUpdateData.executionDate"
2793
+ },
2794
+ {
2795
+ path: "historyEntries.event.freeTrailEnded.subscription.createdDate"
2796
+ },
2797
+ {
2798
+ path: "historyEntries.event.freeTrailEnded.subscription.updatedDate"
2799
+ },
2800
+ {
2801
+ path: "historyEntries.event.freeTrailEnded.subscription.startDate"
2802
+ },
2803
+ {
2804
+ path: "historyEntries.event.freeTrailEnded.subscription.endDate"
2805
+ },
2806
+ {
2807
+ path: "historyEntries.event.freeTrailEnded.subscription.billingStatus.nextBillingDate"
2808
+ },
2809
+ {
2810
+ path: "historyEntries.event.freeTrailEnded.subscription.billingStatus.previousBillingDate"
2811
+ },
2812
+ {
2813
+ path: "historyEntries.event.freeTrailEnded.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2814
+ },
2815
+ {
2816
+ path: "historyEntries.event.freeTrailEnded.subscription.billingStatus.freeTrialData.startDate"
2817
+ },
2818
+ {
2819
+ path: "historyEntries.event.freeTrailEnded.subscription.billingStatus.freeTrialData.endDate"
2820
+ },
2821
+ {
2822
+ path: "historyEntries.event.freeTrailEnded.subscription.billingStatus.updateBillingDateData.paidUntil"
2823
+ },
2824
+ {
2825
+ path: "historyEntries.event.freeTrailEnded.subscription.billingStatus.gracePeriodData.startDate"
2826
+ },
2827
+ {
2828
+ path: "historyEntries.event.freeTrailEnded.subscription.billingStatus.gracePeriodData.endDate"
2829
+ },
2830
+ {
2831
+ path: "historyEntries.event.freeTrailEnded.subscription.pauseInfo.startDate"
2832
+ },
2833
+ {
2834
+ path: "historyEntries.event.freeTrailEnded.subscription.pauseInfo.resumeDate"
2835
+ },
2836
+ {
2837
+ path: "historyEntries.event.freeTrailEnded.subscription.cancellationInfo.cancellationDate"
2838
+ },
2839
+ {
2840
+ path: "historyEntries.event.freeTrailEnded.subscription.specificDatePendingUpdateData.executionDate"
2841
+ },
2842
+ {
2843
+ path: "historyEntries.event.billingCyclePaid.subscription.createdDate"
2844
+ },
2845
+ {
2846
+ path: "historyEntries.event.billingCyclePaid.subscription.updatedDate"
2847
+ },
2848
+ {
2849
+ path: "historyEntries.event.billingCyclePaid.subscription.startDate"
2850
+ },
2851
+ {
2852
+ path: "historyEntries.event.billingCyclePaid.subscription.endDate"
2853
+ },
2854
+ {
2855
+ path: "historyEntries.event.billingCyclePaid.subscription.billingStatus.nextBillingDate"
2856
+ },
2857
+ {
2858
+ path: "historyEntries.event.billingCyclePaid.subscription.billingStatus.previousBillingDate"
2859
+ },
2860
+ {
2861
+ path: "historyEntries.event.billingCyclePaid.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2862
+ },
2863
+ {
2864
+ path: "historyEntries.event.billingCyclePaid.subscription.billingStatus.freeTrialData.startDate"
2865
+ },
2866
+ {
2867
+ path: "historyEntries.event.billingCyclePaid.subscription.billingStatus.freeTrialData.endDate"
2868
+ },
2869
+ {
2870
+ path: "historyEntries.event.billingCyclePaid.subscription.billingStatus.updateBillingDateData.paidUntil"
2871
+ },
2872
+ {
2873
+ path: "historyEntries.event.billingCyclePaid.subscription.billingStatus.gracePeriodData.startDate"
2874
+ },
2875
+ {
2876
+ path: "historyEntries.event.billingCyclePaid.subscription.billingStatus.gracePeriodData.endDate"
2877
+ },
2878
+ {
2879
+ path: "historyEntries.event.billingCyclePaid.subscription.pauseInfo.startDate"
2880
+ },
2881
+ {
2882
+ path: "historyEntries.event.billingCyclePaid.subscription.pauseInfo.resumeDate"
2883
+ },
2884
+ {
2885
+ path: "historyEntries.event.billingCyclePaid.subscription.cancellationInfo.cancellationDate"
2886
+ },
2887
+ {
2888
+ path: "historyEntries.event.billingCyclePaid.subscription.specificDatePendingUpdateData.executionDate"
2889
+ },
2890
+ {
2891
+ path: "historyEntries.event.initiatePaymentMethodSetup.subscription.createdDate"
2892
+ },
2893
+ {
2894
+ path: "historyEntries.event.initiatePaymentMethodSetup.subscription.updatedDate"
2895
+ },
2896
+ {
2897
+ path: "historyEntries.event.initiatePaymentMethodSetup.subscription.startDate"
2898
+ },
2899
+ {
2900
+ path: "historyEntries.event.initiatePaymentMethodSetup.subscription.endDate"
2901
+ },
2902
+ {
2903
+ path: "historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.nextBillingDate"
2904
+ },
2905
+ {
2906
+ path: "historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.previousBillingDate"
2907
+ },
2908
+ {
2909
+ path: "historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2910
+ },
2911
+ {
2912
+ path: "historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.freeTrialData.startDate"
2913
+ },
2914
+ {
2915
+ path: "historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.freeTrialData.endDate"
2916
+ },
2917
+ {
2918
+ path: "historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.updateBillingDateData.paidUntil"
2919
+ },
2920
+ {
2921
+ path: "historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.gracePeriodData.startDate"
2922
+ },
2923
+ {
2924
+ path: "historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.gracePeriodData.endDate"
2925
+ },
2926
+ {
2927
+ path: "historyEntries.event.initiatePaymentMethodSetup.subscription.pauseInfo.startDate"
2928
+ },
2929
+ {
2930
+ path: "historyEntries.event.initiatePaymentMethodSetup.subscription.pauseInfo.resumeDate"
2931
+ },
2932
+ {
2933
+ path: "historyEntries.event.initiatePaymentMethodSetup.subscription.cancellationInfo.cancellationDate"
2934
+ },
2935
+ {
2936
+ path: "historyEntries.event.initiatePaymentMethodSetup.subscription.specificDatePendingUpdateData.executionDate"
2937
+ },
2938
+ {
2939
+ path: "historyEntries.event.subscriptionBoAction.subscription.createdDate"
2940
+ },
2941
+ {
2942
+ path: "historyEntries.event.subscriptionBoAction.subscription.updatedDate"
2943
+ },
2944
+ {
2945
+ path: "historyEntries.event.subscriptionBoAction.subscription.startDate"
2946
+ },
2947
+ {
2948
+ path: "historyEntries.event.subscriptionBoAction.subscription.endDate"
2949
+ },
2950
+ {
2951
+ path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.nextBillingDate"
2952
+ },
2953
+ {
2954
+ path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.previousBillingDate"
2955
+ },
2956
+ {
2957
+ path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2958
+ },
2959
+ {
2960
+ path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.freeTrialData.startDate"
2961
+ },
2962
+ {
2963
+ path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.freeTrialData.endDate"
2964
+ },
2965
+ {
2966
+ path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.updateBillingDateData.paidUntil"
2967
+ },
2968
+ {
2969
+ path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.gracePeriodData.startDate"
2970
+ },
2971
+ {
2972
+ path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.gracePeriodData.endDate"
2973
+ },
2974
+ {
2975
+ path: "historyEntries.event.subscriptionBoAction.subscription.pauseInfo.startDate"
2976
+ },
2977
+ {
2978
+ path: "historyEntries.event.subscriptionBoAction.subscription.pauseInfo.resumeDate"
2979
+ },
2980
+ {
2981
+ path: "historyEntries.event.subscriptionBoAction.subscription.cancellationInfo.cancellationDate"
2982
+ },
2983
+ {
2984
+ path: "historyEntries.event.subscriptionBoAction.subscription.specificDatePendingUpdateData.executionDate"
2985
+ }
2986
+ ]
2987
+ }
2988
+ ])
2989
+ };
2990
+ return metadata;
2991
+ }
2992
+ return __listSubscriptionHistory;
2993
+ }
2994
+
2995
+ // src/billing-v1-subscription-subscriptions.meta.ts
2996
+ function customerGetSubscription2() {
2997
+ const payload = { id: ":id" };
2998
+ const getRequestOptions = customerGetSubscription(payload);
2999
+ const getUrl = (context) => {
3000
+ const { url } = getRequestOptions(context);
3001
+ return url;
3002
+ };
3003
+ return {
3004
+ getUrl,
3005
+ httpMethod: "GET",
3006
+ path: "/v1/customer_subscriptions/{id}",
3007
+ pathParams: { id: "id" },
3008
+ __requestType: null,
3009
+ __originalRequestType: null,
3010
+ __responseType: null,
3011
+ __originalResponseType: null
3012
+ };
3013
+ }
3014
+ function customerCancelSubscription2() {
3015
+ const payload = { id: ":id" };
3016
+ const getRequestOptions = customerCancelSubscription(payload);
3017
+ const getUrl = (context) => {
3018
+ const { url } = getRequestOptions(context);
3019
+ return url;
3020
+ };
3021
+ return {
3022
+ getUrl,
3023
+ httpMethod: "POST",
3024
+ path: "/v1/customer_subscriptions/{id}/cancel",
3025
+ pathParams: { id: "id" },
3026
+ __requestType: null,
3027
+ __originalRequestType: null,
3028
+ __responseType: null,
3029
+ __originalResponseType: null
3030
+ };
3031
+ }
3032
+ function customerTurnOnSubscriptionAutoRenewal2() {
3033
+ const payload = { id: ":id" };
3034
+ const getRequestOptions = customerTurnOnSubscriptionAutoRenewal(
3035
+ payload
3036
+ );
3037
+ const getUrl = (context) => {
3038
+ const { url } = getRequestOptions(context);
3039
+ return url;
3040
+ };
3041
+ return {
3042
+ getUrl,
3043
+ httpMethod: "POST",
3044
+ path: "/v1/customer_subscriptions/{id}/turn_on_auto_renewal",
3045
+ pathParams: { id: "id" },
3046
+ __requestType: null,
3047
+ __originalRequestType: null,
3048
+ __responseType: null,
3049
+ __originalResponseType: null
3050
+ };
3051
+ }
3052
+ function customerTurnOffSubscriptionAutoRenewal2() {
3053
+ const payload = { id: ":id" };
3054
+ const getRequestOptions = customerTurnOffSubscriptionAutoRenewal(
3055
+ payload
3056
+ );
3057
+ const getUrl = (context) => {
3058
+ const { url } = getRequestOptions(context);
3059
+ return url;
3060
+ };
3061
+ return {
3062
+ getUrl,
3063
+ httpMethod: "POST",
3064
+ path: "/v1/customer_subscriptions/{id}/turn_off_auto_renewal",
3065
+ pathParams: { id: "id" },
3066
+ __requestType: null,
3067
+ __originalRequestType: null,
3068
+ __responseType: null,
3069
+ __originalResponseType: null
3070
+ };
3071
+ }
3072
+ function customerExtendSubscription2() {
3073
+ const payload = { id: ":id" };
3074
+ const getRequestOptions = customerExtendSubscription(payload);
3075
+ const getUrl = (context) => {
3076
+ const { url } = getRequestOptions(context);
3077
+ return url;
3078
+ };
3079
+ return {
3080
+ getUrl,
3081
+ httpMethod: "PATCH",
3082
+ path: "/v1/customer_subscriptions/{id}/extend",
3083
+ pathParams: { id: "id" },
3084
+ __requestType: null,
3085
+ __originalRequestType: null,
3086
+ __responseType: null,
3087
+ __originalResponseType: null
3088
+ };
3089
+ }
3090
+ function customerQuerySubscriptions2() {
3091
+ const payload = {};
3092
+ const getRequestOptions = customerQuerySubscriptions(payload);
3093
+ const getUrl = (context) => {
3094
+ const { url } = getRequestOptions(context);
3095
+ return url;
3096
+ };
3097
+ return {
3098
+ getUrl,
3099
+ httpMethod: "POST",
3100
+ path: "/v1/customer_subscriptions/query",
3101
+ pathParams: {},
3102
+ __requestType: null,
3103
+ __originalRequestType: null,
3104
+ __responseType: null,
3105
+ __originalResponseType: null
3106
+ };
3107
+ }
3108
+ function customerUpdateSubscriptionPaymentMethod2() {
3109
+ const payload = { id: ":id" };
3110
+ const getRequestOptions = customerUpdateSubscriptionPaymentMethod(
3111
+ payload
3112
+ );
3113
+ const getUrl = (context) => {
3114
+ const { url } = getRequestOptions(context);
3115
+ return url;
3116
+ };
3117
+ return {
3118
+ getUrl,
3119
+ httpMethod: "PATCH",
3120
+ path: "/v1/customer_subscriptions/{id}/payment_method",
3121
+ pathParams: { id: "id" },
3122
+ __requestType: null,
3123
+ __originalRequestType: null,
3124
+ __responseType: null,
3125
+ __originalResponseType: null
3126
+ };
3127
+ }
3128
+ function customerAllowedActions2() {
3129
+ const payload = { id: ":id" };
3130
+ const getRequestOptions = customerAllowedActions(payload);
3131
+ const getUrl = (context) => {
3132
+ const { url } = getRequestOptions(context);
3133
+ return url;
3134
+ };
3135
+ return {
3136
+ getUrl,
3137
+ httpMethod: "GET",
3138
+ path: "/v1/customer_subscriptions/{id}/allowed_actions",
3139
+ pathParams: { id: "id" },
3140
+ __requestType: null,
3141
+ __originalRequestType: null,
3142
+ __responseType: null,
3143
+ __originalResponseType: null
3144
+ };
3145
+ }
3146
+ function customerListUpcomingCharges2() {
3147
+ const payload = { id: ":id" };
3148
+ const getRequestOptions = customerListUpcomingCharges(payload);
3149
+ const getUrl = (context) => {
3150
+ const { url } = getRequestOptions(context);
3151
+ return url;
3152
+ };
3153
+ return {
3154
+ getUrl,
3155
+ httpMethod: "GET",
3156
+ path: "/v1/customer_subscriptions/{id}/upcoming_charges",
3157
+ pathParams: { id: "id" },
3158
+ __requestType: null,
3159
+ __originalRequestType: null,
3160
+ __responseType: null,
3161
+ __originalResponseType: null
3162
+ };
3163
+ }
3164
+ function customerInitiatePaymentMethodSetup2() {
3165
+ const payload = { id: ":id" };
3166
+ const getRequestOptions = customerInitiatePaymentMethodSetup(
3167
+ payload
3168
+ );
3169
+ const getUrl = (context) => {
3170
+ const { url } = getRequestOptions(context);
3171
+ return url;
3172
+ };
3173
+ return {
3174
+ getUrl,
3175
+ httpMethod: "POST",
3176
+ path: "/v1/customer_subscriptions/{id}/payment_method_setup",
3177
+ pathParams: { id: "id" },
3178
+ __requestType: null,
3179
+ __originalRequestType: null,
3180
+ __responseType: null,
3181
+ __originalResponseType: null
3182
+ };
3183
+ }
3184
+ function payCycle2() {
3185
+ const payload = { subscriptionId: ":subscriptionId" };
3186
+ const getRequestOptions = payCycle(payload);
3187
+ const getUrl = (context) => {
3188
+ const { url } = getRequestOptions(context);
3189
+ return url;
3190
+ };
3191
+ return {
3192
+ getUrl,
3193
+ httpMethod: "POST",
3194
+ path: "/v1/subscriptions-bo/{subscriptionId}/pay-cycle",
3195
+ pathParams: { subscriptionId: "subscriptionId" },
3196
+ __requestType: null,
3197
+ __originalRequestType: null,
3198
+ __responseType: null,
3199
+ __originalResponseType: null
3200
+ };
3201
+ }
3202
+ function getSubscription2() {
3203
+ const payload = { id: ":id" };
3204
+ const getRequestOptions = getSubscription(payload);
3205
+ const getUrl = (context) => {
3206
+ const { url } = getRequestOptions(context);
3207
+ return url;
3208
+ };
3209
+ return {
3210
+ getUrl,
3211
+ httpMethod: "GET",
3212
+ path: "/v1/subscriptions/{id}",
3213
+ pathParams: { id: "id" },
3214
+ __requestType: null,
3215
+ __originalRequestType: null,
3216
+ __responseType: null,
3217
+ __originalResponseType: null
3218
+ };
3219
+ }
3220
+ function updateSubscriptionPaymentMethod2() {
3221
+ const payload = { id: ":id" };
3222
+ const getRequestOptions = updateSubscriptionPaymentMethod(payload);
3223
+ const getUrl = (context) => {
3224
+ const { url } = getRequestOptions(context);
3225
+ return url;
3226
+ };
3227
+ return {
3228
+ getUrl,
3229
+ httpMethod: "PATCH",
3230
+ path: "/v1/subscriptions/{id}/payment_method",
3231
+ pathParams: { id: "id" },
3232
+ __requestType: null,
3233
+ __originalRequestType: null,
3234
+ __responseType: null,
3235
+ __originalResponseType: null
3236
+ };
3237
+ }
3238
+ function updateSubscriptionBillingDate2() {
3239
+ const payload = { id: ":id" };
3240
+ const getRequestOptions = updateSubscriptionBillingDate(payload);
3241
+ const getUrl = (context) => {
3242
+ const { url } = getRequestOptions(context);
3243
+ return url;
3244
+ };
3245
+ return {
3246
+ getUrl,
3247
+ httpMethod: "PATCH",
3248
+ path: "/v1/subscriptions/{id}/update-billing-date",
3249
+ pathParams: { id: "id" },
3250
+ __requestType: null,
3251
+ __originalRequestType: null,
3252
+ __responseType: null,
3253
+ __originalResponseType: null
3254
+ };
3255
+ }
3256
+ function cancelSubscription2() {
3257
+ const payload = { id: ":id" };
3258
+ const getRequestOptions = cancelSubscription(payload);
3259
+ const getUrl = (context) => {
3260
+ const { url } = getRequestOptions(context);
3261
+ return url;
3262
+ };
3263
+ return {
3264
+ getUrl,
3265
+ httpMethod: "POST",
3266
+ path: "/v1/subscriptions/{id}/cancel",
3267
+ pathParams: { id: "id" },
3268
+ __requestType: null,
3269
+ __originalRequestType: null,
3270
+ __responseType: null,
3271
+ __originalResponseType: null
3272
+ };
3273
+ }
3274
+ function pauseSubscription2() {
3275
+ const payload = { id: ":id" };
3276
+ const getRequestOptions = pauseSubscription(payload);
3277
+ const getUrl = (context) => {
3278
+ const { url } = getRequestOptions(context);
3279
+ return url;
3280
+ };
3281
+ return {
3282
+ getUrl,
3283
+ httpMethod: "POST",
3284
+ path: "/v1/subscriptions/{id}/pause",
3285
+ pathParams: { id: "id" },
3286
+ __requestType: null,
3287
+ __originalRequestType: null,
3288
+ __responseType: null,
3289
+ __originalResponseType: null
3290
+ };
3291
+ }
3292
+ function resumeSubscription2() {
3293
+ const payload = { id: ":id" };
3294
+ const getRequestOptions = resumeSubscription(payload);
3295
+ const getUrl = (context) => {
3296
+ const { url } = getRequestOptions(context);
3297
+ return url;
3298
+ };
3299
+ return {
3300
+ getUrl,
3301
+ httpMethod: "POST",
3302
+ path: "/v1/subscriptions/{id}/resume",
3303
+ pathParams: { id: "id" },
3304
+ __requestType: null,
3305
+ __originalRequestType: null,
3306
+ __responseType: null,
3307
+ __originalResponseType: null
3308
+ };
3309
+ }
3310
+ function querySubscriptions2() {
3311
+ const payload = {};
3312
+ const getRequestOptions = querySubscriptions(payload);
3313
+ const getUrl = (context) => {
3314
+ const { url } = getRequestOptions(context);
3315
+ return url;
3316
+ };
3317
+ return {
3318
+ getUrl,
3319
+ httpMethod: "POST",
3320
+ path: "/v1/subscriptions/query",
3321
+ pathParams: {},
3322
+ __requestType: null,
3323
+ __originalRequestType: null,
3324
+ __responseType: null,
3325
+ __originalResponseType: null
3326
+ };
3327
+ }
3328
+ function searchSubscriptions2() {
3329
+ const payload = {};
3330
+ const getRequestOptions = searchSubscriptions(payload);
3331
+ const getUrl = (context) => {
3332
+ const { url } = getRequestOptions(context);
3333
+ return url;
3334
+ };
3335
+ return {
3336
+ getUrl,
3337
+ httpMethod: "POST",
3338
+ path: "/v1/subscriptions/search",
3339
+ pathParams: {},
3340
+ __requestType: null,
3341
+ __originalRequestType: null,
3342
+ __responseType: null,
3343
+ __originalResponseType: null
3344
+ };
3345
+ }
3346
+ function countSubscriptions2() {
3347
+ const payload = {};
3348
+ const getRequestOptions = countSubscriptions(payload);
3349
+ const getUrl = (context) => {
3350
+ const { url } = getRequestOptions(context);
3351
+ return url;
3352
+ };
3353
+ return {
3354
+ getUrl,
3355
+ httpMethod: "POST",
3356
+ path: "/v1/subscriptions/count",
3357
+ pathParams: {},
3358
+ __requestType: null,
3359
+ __originalRequestType: null,
3360
+ __responseType: null,
3361
+ __originalResponseType: null
3362
+ };
3363
+ }
3364
+ function turnOnSubscriptionAutoRenewal2() {
3365
+ const payload = { id: ":id" };
3366
+ const getRequestOptions = turnOnSubscriptionAutoRenewal(payload);
3367
+ const getUrl = (context) => {
3368
+ const { url } = getRequestOptions(context);
3369
+ return url;
3370
+ };
3371
+ return {
3372
+ getUrl,
3373
+ httpMethod: "PATCH",
3374
+ path: "/v1/subscriptions/{id}/turn_on_auto_renewal",
3375
+ pathParams: { id: "id" },
3376
+ __requestType: null,
3377
+ __originalRequestType: null,
3378
+ __responseType: null,
3379
+ __originalResponseType: null
3380
+ };
3381
+ }
3382
+ function turnOffSubscriptionAutoRenewal2() {
3383
+ const payload = { id: ":id" };
3384
+ const getRequestOptions = turnOffSubscriptionAutoRenewal(payload);
3385
+ const getUrl = (context) => {
3386
+ const { url } = getRequestOptions(context);
3387
+ return url;
3388
+ };
3389
+ return {
3390
+ getUrl,
3391
+ httpMethod: "PATCH",
3392
+ path: "/v1/subscriptions/{id}/turn_off_auto_renewal",
3393
+ pathParams: { id: "id" },
3394
+ __requestType: null,
3395
+ __originalRequestType: null,
3396
+ __responseType: null,
3397
+ __originalResponseType: null
3398
+ };
3399
+ }
3400
+ function markLatestInvoiceAsPaid2() {
3401
+ const payload = { subscriptionId: ":subscriptionId" };
3402
+ const getRequestOptions = markLatestInvoiceAsPaid(payload);
3403
+ const getUrl = (context) => {
3404
+ const { url } = getRequestOptions(context);
3405
+ return url;
3406
+ };
3407
+ return {
3408
+ getUrl,
3409
+ httpMethod: "POST",
3410
+ path: "/v1/subscriptions/{subscriptionId}/mark-latest-invoice-as-paid",
3411
+ pathParams: { subscriptionId: "subscriptionId" },
3412
+ __requestType: null,
3413
+ __originalRequestType: null,
3414
+ __responseType: null,
3415
+ __originalResponseType: null
3416
+ };
3417
+ }
3418
+ function markBillingCycleAsPaid2() {
3419
+ const payload = { subscriptionId: ":subscriptionId" };
3420
+ const getRequestOptions = markBillingCycleAsPaid(payload);
3421
+ const getUrl = (context) => {
3422
+ const { url } = getRequestOptions(context);
3423
+ return url;
3424
+ };
3425
+ return {
3426
+ getUrl,
3427
+ httpMethod: "POST",
3428
+ path: "/v1/subscriptions/{subscriptionId}/mark-cycle-as-paid",
3429
+ pathParams: { subscriptionId: "subscriptionId" },
3430
+ __requestType: null,
3431
+ __originalRequestType: null,
3432
+ __responseType: null,
3433
+ __originalResponseType: null
3434
+ };
3435
+ }
3436
+ function getSubscriptionsStats2() {
3437
+ const payload = {};
3438
+ const getRequestOptions = getSubscriptionsStats(payload);
3439
+ const getUrl = (context) => {
3440
+ const { url } = getRequestOptions(context);
3441
+ return url;
3442
+ };
3443
+ return {
3444
+ getUrl,
3445
+ httpMethod: "GET",
3446
+ path: "/v1/subscriptions/stats",
3447
+ pathParams: {},
3448
+ __requestType: null,
3449
+ __originalRequestType: null,
3450
+ __responseType: null,
3451
+ __originalResponseType: null
3452
+ };
3453
+ }
3454
+ function extendSubscription2() {
3455
+ const payload = { id: ":id" };
3456
+ const getRequestOptions = extendSubscription(payload);
3457
+ const getUrl = (context) => {
3458
+ const { url } = getRequestOptions(context);
3459
+ return url;
3460
+ };
3461
+ return {
3462
+ getUrl,
3463
+ httpMethod: "PATCH",
3464
+ path: "/v1/subscriptions/{id}/extend",
3465
+ pathParams: { id: "id" },
3466
+ __requestType: null,
3467
+ __originalRequestType: null,
3468
+ __responseType: null,
3469
+ __originalResponseType: null
3470
+ };
3471
+ }
3472
+ function allowedActions2() {
3473
+ const payload = { id: ":id" };
3474
+ const getRequestOptions = allowedActions(payload);
3475
+ const getUrl = (context) => {
3476
+ const { url } = getRequestOptions(context);
3477
+ return url;
3478
+ };
3479
+ return {
3480
+ getUrl,
3481
+ httpMethod: "GET",
3482
+ path: "/v1/subscriptions/{id}/allowed_actions",
3483
+ pathParams: { id: "id" },
3484
+ __requestType: null,
3485
+ __originalRequestType: null,
3486
+ __responseType: null,
3487
+ __originalResponseType: null
3488
+ };
3489
+ }
3490
+ function listUpcomingCharges2() {
3491
+ const payload = { subscriptionId: ":subscriptionId" };
3492
+ const getRequestOptions = listUpcomingCharges(payload);
3493
+ const getUrl = (context) => {
3494
+ const { url } = getRequestOptions(context);
3495
+ return url;
3496
+ };
3497
+ return {
3498
+ getUrl,
3499
+ httpMethod: "GET",
3500
+ path: "/v1/subscriptions/{subscriptionId}/upcoming_charges",
3501
+ pathParams: { subscriptionId: "subscriptionId" },
3502
+ __requestType: null,
3503
+ __originalRequestType: null,
3504
+ __responseType: null,
3505
+ __originalResponseType: null
3506
+ };
3507
+ }
3508
+ function previewSubscriptionCharges2() {
3509
+ const payload = {};
3510
+ const getRequestOptions = previewSubscriptionCharges(payload);
3511
+ const getUrl = (context) => {
3512
+ const { url } = getRequestOptions(context);
3513
+ return url;
3514
+ };
3515
+ return {
3516
+ getUrl,
3517
+ httpMethod: "GET",
3518
+ path: "/v1/subscriptions/preview_charges",
3519
+ pathParams: {},
3520
+ __requestType: null,
3521
+ __originalRequestType: null,
3522
+ __responseType: null,
3523
+ __originalResponseType: null
3524
+ };
3525
+ }
3526
+ function previewSubscriptionsCharges2() {
3527
+ const payload = {};
3528
+ const getRequestOptions = previewSubscriptionsCharges(payload);
3529
+ const getUrl = (context) => {
3530
+ const { url } = getRequestOptions(context);
3531
+ return url;
3532
+ };
3533
+ return {
3534
+ getUrl,
3535
+ httpMethod: "GET",
3536
+ path: "/v1/subscriptions/preview-subscriptions-charges",
3537
+ pathParams: {},
3538
+ __requestType: null,
3539
+ __originalRequestType: null,
3540
+ __responseType: null,
3541
+ __originalResponseType: null
3542
+ };
3543
+ }
3544
+ function initiatePaymentMethodSetup2() {
3545
+ const payload = { id: ":id" };
3546
+ const getRequestOptions = initiatePaymentMethodSetup(payload);
3547
+ const getUrl = (context) => {
3548
+ const { url } = getRequestOptions(context);
3549
+ return url;
3550
+ };
3551
+ return {
3552
+ getUrl,
3553
+ httpMethod: "POST",
3554
+ path: "/v1/subscriptions/{id}/payment_method_setup",
3555
+ pathParams: { id: "id" },
3556
+ __requestType: null,
3557
+ __originalRequestType: null,
3558
+ __responseType: null,
3559
+ __originalResponseType: null
3560
+ };
3561
+ }
3562
+ function listSubscriptionHistory2() {
3563
+ const payload = { subscriptionId: ":subscriptionId" };
3564
+ const getRequestOptions = listSubscriptionHistory(payload);
3565
+ const getUrl = (context) => {
3566
+ const { url } = getRequestOptions(context);
3567
+ return url;
3568
+ };
3569
+ return {
3570
+ getUrl,
3571
+ httpMethod: "GET",
3572
+ path: "/v1/subscriptions/{subscriptionId}/history",
3573
+ pathParams: { subscriptionId: "subscriptionId" },
3574
+ __requestType: null,
3575
+ __originalRequestType: null,
3576
+ __responseType: null,
3577
+ __originalResponseType: null
3578
+ };
3579
+ }
3580
+ // Annotate the CommonJS export names for ESM import in node:
3581
+ 0 && (module.exports = {
3582
+ allowedActions,
3583
+ cancelSubscription,
3584
+ countSubscriptions,
3585
+ customerAllowedActions,
3586
+ customerCancelSubscription,
3587
+ customerExtendSubscription,
3588
+ customerGetSubscription,
3589
+ customerInitiatePaymentMethodSetup,
3590
+ customerListUpcomingCharges,
3591
+ customerQuerySubscriptions,
3592
+ customerTurnOffSubscriptionAutoRenewal,
3593
+ customerTurnOnSubscriptionAutoRenewal,
3594
+ customerUpdateSubscriptionPaymentMethod,
3595
+ extendSubscription,
3596
+ getSubscription,
3597
+ getSubscriptionsStats,
3598
+ initiatePaymentMethodSetup,
3599
+ listSubscriptionHistory,
3600
+ listUpcomingCharges,
3601
+ markBillingCycleAsPaid,
3602
+ markLatestInvoiceAsPaid,
3603
+ pauseSubscription,
3604
+ payCycle,
3605
+ previewSubscriptionCharges,
3606
+ previewSubscriptionsCharges,
3607
+ querySubscriptions,
3608
+ resumeSubscription,
3609
+ searchSubscriptions,
3610
+ turnOffSubscriptionAutoRenewal,
3611
+ turnOnSubscriptionAutoRenewal,
3612
+ updateSubscriptionBillingDate,
3613
+ updateSubscriptionPaymentMethod
3614
+ });
18
3615
  //# sourceMappingURL=meta.js.map