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