@wix/auto_sdk_subscription_subscriptions 1.0.7 → 1.0.9

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 +5705 -15
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +4684 -1
  5. package/build/cjs/index.typings.js +4768 -15
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +2379 -1
  8. package/build/cjs/meta.js +3660 -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 +5603 -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} +796 -1149
  14. package/build/es/index.typings.mjs +4679 -0
  15. package/build/es/index.typings.mjs.map +1 -0
  16. package/build/es/meta.d.mts +2379 -0
  17. package/build/es/meta.mjs +3605 -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 +5705 -15
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +4708 -1
  23. package/build/internal/cjs/index.typings.js +4768 -15
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +2379 -1
  26. package/build/internal/cjs/meta.js +3660 -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 +5603 -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} +799 -1128
  32. package/build/internal/es/index.typings.mjs +4679 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -0
  34. package/build/internal/es/meta.d.mts +2379 -0
  35. package/build/internal/es/meta.mjs +3605 -0
  36. package/build/internal/es/meta.mjs.map +1 -0
  37. package/package.json +12 -10
  38. package/build/cjs/src/billing-v1-subscription-subscriptions.context.d.ts +0 -99
  39. package/build/cjs/src/billing-v1-subscription-subscriptions.context.js +0 -142
  40. package/build/cjs/src/billing-v1-subscription-subscriptions.context.js.map +0 -1
  41. package/build/cjs/src/billing-v1-subscription-subscriptions.http.d.ts +0 -134
  42. package/build/cjs/src/billing-v1-subscription-subscriptions.http.js +0 -3048
  43. package/build/cjs/src/billing-v1-subscription-subscriptions.http.js.map +0 -1
  44. package/build/cjs/src/billing-v1-subscription-subscriptions.meta.d.ts +0 -94
  45. package/build/cjs/src/billing-v1-subscription-subscriptions.meta.js +0 -636
  46. package/build/cjs/src/billing-v1-subscription-subscriptions.meta.js.map +0 -1
  47. package/build/cjs/src/billing-v1-subscription-subscriptions.public.d.ts +0 -273
  48. package/build/cjs/src/billing-v1-subscription-subscriptions.public.js +0 -769
  49. package/build/cjs/src/billing-v1-subscription-subscriptions.public.js.map +0 -1
  50. package/build/cjs/src/billing-v1-subscription-subscriptions.types.d.ts +0 -4203
  51. package/build/cjs/src/billing-v1-subscription-subscriptions.types.js +0 -347
  52. package/build/cjs/src/billing-v1-subscription-subscriptions.types.js.map +0 -1
  53. package/build/cjs/src/billing-v1-subscription-subscriptions.universal.d.ts +0 -5013
  54. package/build/cjs/src/billing-v1-subscription-subscriptions.universal.js +0 -1997
  55. package/build/cjs/src/billing-v1-subscription-subscriptions.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/src/billing-v1-subscription-subscriptions.context.d.ts +0 -99
  66. package/build/es/src/billing-v1-subscription-subscriptions.context.js +0 -101
  67. package/build/es/src/billing-v1-subscription-subscriptions.context.js.map +0 -1
  68. package/build/es/src/billing-v1-subscription-subscriptions.http.d.ts +0 -134
  69. package/build/es/src/billing-v1-subscription-subscriptions.http.js +0 -3013
  70. package/build/es/src/billing-v1-subscription-subscriptions.http.js.map +0 -1
  71. package/build/es/src/billing-v1-subscription-subscriptions.meta.d.ts +0 -94
  72. package/build/es/src/billing-v1-subscription-subscriptions.meta.js +0 -578
  73. package/build/es/src/billing-v1-subscription-subscriptions.meta.js.map +0 -1
  74. package/build/es/src/billing-v1-subscription-subscriptions.public.d.ts +0 -273
  75. package/build/es/src/billing-v1-subscription-subscriptions.public.js +0 -696
  76. package/build/es/src/billing-v1-subscription-subscriptions.public.js.map +0 -1
  77. package/build/es/src/billing-v1-subscription-subscriptions.types.d.ts +0 -4203
  78. package/build/es/src/billing-v1-subscription-subscriptions.types.js +0 -344
  79. package/build/es/src/billing-v1-subscription-subscriptions.types.js.map +0 -1
  80. package/build/es/src/billing-v1-subscription-subscriptions.universal.d.ts +0 -5013
  81. package/build/es/src/billing-v1-subscription-subscriptions.universal.js +0 -1938
  82. package/build/es/src/billing-v1-subscription-subscriptions.universal.js.map +0 -1
  83. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.context.d.ts +0 -101
  84. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.context.js +0 -142
  85. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.context.js.map +0 -1
  86. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.http.d.ts +0 -134
  87. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.http.js +0 -3048
  88. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.http.js.map +0 -1
  89. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.meta.d.ts +0 -94
  90. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.meta.js +0 -636
  91. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.meta.js.map +0 -1
  92. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.public.d.ts +0 -293
  93. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.public.js +0 -769
  94. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.public.js.map +0 -1
  95. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.types.d.ts +0 -4203
  96. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.types.js +0 -347
  97. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.types.js.map +0 -1
  98. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.universal.js +0 -1997
  99. package/build/internal/cjs/src/billing-v1-subscription-subscriptions.universal.js.map +0 -1
  100. package/build/internal/es/index.d.ts +0 -1
  101. package/build/internal/es/index.js +0 -2
  102. package/build/internal/es/index.js.map +0 -1
  103. package/build/internal/es/index.typings.d.ts +0 -1
  104. package/build/internal/es/index.typings.js +0 -2
  105. package/build/internal/es/index.typings.js.map +0 -1
  106. package/build/internal/es/meta.d.ts +0 -1
  107. package/build/internal/es/meta.js +0 -2
  108. package/build/internal/es/meta.js.map +0 -1
  109. package/build/internal/es/src/billing-v1-subscription-subscriptions.context.d.ts +0 -101
  110. package/build/internal/es/src/billing-v1-subscription-subscriptions.context.js +0 -101
  111. package/build/internal/es/src/billing-v1-subscription-subscriptions.context.js.map +0 -1
  112. package/build/internal/es/src/billing-v1-subscription-subscriptions.http.d.ts +0 -134
  113. package/build/internal/es/src/billing-v1-subscription-subscriptions.http.js +0 -3013
  114. package/build/internal/es/src/billing-v1-subscription-subscriptions.http.js.map +0 -1
  115. package/build/internal/es/src/billing-v1-subscription-subscriptions.meta.d.ts +0 -94
  116. package/build/internal/es/src/billing-v1-subscription-subscriptions.meta.js +0 -578
  117. package/build/internal/es/src/billing-v1-subscription-subscriptions.meta.js.map +0 -1
  118. package/build/internal/es/src/billing-v1-subscription-subscriptions.public.d.ts +0 -293
  119. package/build/internal/es/src/billing-v1-subscription-subscriptions.public.js +0 -696
  120. package/build/internal/es/src/billing-v1-subscription-subscriptions.public.js.map +0 -1
  121. package/build/internal/es/src/billing-v1-subscription-subscriptions.types.d.ts +0 -4203
  122. package/build/internal/es/src/billing-v1-subscription-subscriptions.types.js +0 -344
  123. package/build/internal/es/src/billing-v1-subscription-subscriptions.types.js.map +0 -1
  124. package/build/internal/es/src/billing-v1-subscription-subscriptions.universal.js +0 -1938
  125. package/build/internal/es/src/billing-v1-subscription-subscriptions.universal.js.map +0 -1
@@ -0,0 +1,3605 @@
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.futurePriceUpdatesRequested.subscription.createdDate"
2883
+ },
2884
+ {
2885
+ path: "historyEntries.event.futurePriceUpdatesRequested.subscription.updatedDate"
2886
+ },
2887
+ {
2888
+ path: "historyEntries.event.futurePriceUpdatesRequested.subscription.startDate"
2889
+ },
2890
+ {
2891
+ path: "historyEntries.event.futurePriceUpdatesRequested.subscription.endDate"
2892
+ },
2893
+ {
2894
+ path: "historyEntries.event.futurePriceUpdatesRequested.subscription.billingStatus.nextBillingDate"
2895
+ },
2896
+ {
2897
+ path: "historyEntries.event.futurePriceUpdatesRequested.subscription.billingStatus.previousBillingDate"
2898
+ },
2899
+ {
2900
+ path: "historyEntries.event.futurePriceUpdatesRequested.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2901
+ },
2902
+ {
2903
+ path: "historyEntries.event.futurePriceUpdatesRequested.subscription.billingStatus.freeTrialData.startDate"
2904
+ },
2905
+ {
2906
+ path: "historyEntries.event.futurePriceUpdatesRequested.subscription.billingStatus.freeTrialData.endDate"
2907
+ },
2908
+ {
2909
+ path: "historyEntries.event.futurePriceUpdatesRequested.subscription.billingStatus.updateBillingDateData.paidUntil"
2910
+ },
2911
+ {
2912
+ path: "historyEntries.event.futurePriceUpdatesRequested.subscription.billingStatus.gracePeriodData.startDate"
2913
+ },
2914
+ {
2915
+ path: "historyEntries.event.futurePriceUpdatesRequested.subscription.billingStatus.gracePeriodData.endDate"
2916
+ },
2917
+ {
2918
+ path: "historyEntries.event.futurePriceUpdatesRequested.subscription.pauseInfo.startDate"
2919
+ },
2920
+ {
2921
+ path: "historyEntries.event.futurePriceUpdatesRequested.subscription.pauseInfo.resumeDate"
2922
+ },
2923
+ {
2924
+ path: "historyEntries.event.futurePriceUpdatesRequested.subscription.cancellationInfo.cancellationDate"
2925
+ },
2926
+ {
2927
+ path: "historyEntries.event.futurePriceUpdatesRequested.subscription.specificDatePendingUpdateData.executionDate"
2928
+ },
2929
+ {
2930
+ path: "historyEntries.event.subscriptionBoAction.subscription.createdDate"
2931
+ },
2932
+ {
2933
+ path: "historyEntries.event.subscriptionBoAction.subscription.updatedDate"
2934
+ },
2935
+ {
2936
+ path: "historyEntries.event.subscriptionBoAction.subscription.startDate"
2937
+ },
2938
+ {
2939
+ path: "historyEntries.event.subscriptionBoAction.subscription.endDate"
2940
+ },
2941
+ {
2942
+ path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.nextBillingDate"
2943
+ },
2944
+ {
2945
+ path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.previousBillingDate"
2946
+ },
2947
+ {
2948
+ path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2949
+ },
2950
+ {
2951
+ path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.freeTrialData.startDate"
2952
+ },
2953
+ {
2954
+ path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.freeTrialData.endDate"
2955
+ },
2956
+ {
2957
+ path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.updateBillingDateData.paidUntil"
2958
+ },
2959
+ {
2960
+ path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.gracePeriodData.startDate"
2961
+ },
2962
+ {
2963
+ path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.gracePeriodData.endDate"
2964
+ },
2965
+ {
2966
+ path: "historyEntries.event.subscriptionBoAction.subscription.pauseInfo.startDate"
2967
+ },
2968
+ {
2969
+ path: "historyEntries.event.subscriptionBoAction.subscription.pauseInfo.resumeDate"
2970
+ },
2971
+ {
2972
+ path: "historyEntries.event.subscriptionBoAction.subscription.cancellationInfo.cancellationDate"
2973
+ },
2974
+ {
2975
+ path: "historyEntries.event.subscriptionBoAction.subscription.specificDatePendingUpdateData.executionDate"
2976
+ }
2977
+ ]
2978
+ }
2979
+ ])
2980
+ };
2981
+ return metadata;
2982
+ }
2983
+ return __listSubscriptionHistory;
2984
+ }
2985
+
2986
+ // src/billing-v1-subscription-subscriptions.meta.ts
2987
+ function customerGetSubscription2() {
2988
+ const payload = { id: ":id" };
2989
+ const getRequestOptions = customerGetSubscription(payload);
2990
+ const getUrl = (context) => {
2991
+ const { url } = getRequestOptions(context);
2992
+ return url;
2993
+ };
2994
+ return {
2995
+ getUrl,
2996
+ httpMethod: "GET",
2997
+ path: "/v1/customer_subscriptions/{id}",
2998
+ pathParams: { id: "id" },
2999
+ __requestType: null,
3000
+ __originalRequestType: null,
3001
+ __responseType: null,
3002
+ __originalResponseType: null
3003
+ };
3004
+ }
3005
+ function customerCancelSubscription2() {
3006
+ const payload = { id: ":id" };
3007
+ const getRequestOptions = customerCancelSubscription(payload);
3008
+ const getUrl = (context) => {
3009
+ const { url } = getRequestOptions(context);
3010
+ return url;
3011
+ };
3012
+ return {
3013
+ getUrl,
3014
+ httpMethod: "POST",
3015
+ path: "/v1/customer_subscriptions/{id}/cancel",
3016
+ pathParams: { id: "id" },
3017
+ __requestType: null,
3018
+ __originalRequestType: null,
3019
+ __responseType: null,
3020
+ __originalResponseType: null
3021
+ };
3022
+ }
3023
+ function customerTurnOnSubscriptionAutoRenewal2() {
3024
+ const payload = { id: ":id" };
3025
+ const getRequestOptions = customerTurnOnSubscriptionAutoRenewal(
3026
+ payload
3027
+ );
3028
+ const getUrl = (context) => {
3029
+ const { url } = getRequestOptions(context);
3030
+ return url;
3031
+ };
3032
+ return {
3033
+ getUrl,
3034
+ httpMethod: "POST",
3035
+ path: "/v1/customer_subscriptions/{id}/turn_on_auto_renewal",
3036
+ pathParams: { id: "id" },
3037
+ __requestType: null,
3038
+ __originalRequestType: null,
3039
+ __responseType: null,
3040
+ __originalResponseType: null
3041
+ };
3042
+ }
3043
+ function customerTurnOffSubscriptionAutoRenewal2() {
3044
+ const payload = { id: ":id" };
3045
+ const getRequestOptions = customerTurnOffSubscriptionAutoRenewal(
3046
+ payload
3047
+ );
3048
+ const getUrl = (context) => {
3049
+ const { url } = getRequestOptions(context);
3050
+ return url;
3051
+ };
3052
+ return {
3053
+ getUrl,
3054
+ httpMethod: "POST",
3055
+ path: "/v1/customer_subscriptions/{id}/turn_off_auto_renewal",
3056
+ pathParams: { id: "id" },
3057
+ __requestType: null,
3058
+ __originalRequestType: null,
3059
+ __responseType: null,
3060
+ __originalResponseType: null
3061
+ };
3062
+ }
3063
+ function customerExtendSubscription2() {
3064
+ const payload = { id: ":id" };
3065
+ const getRequestOptions = customerExtendSubscription(payload);
3066
+ const getUrl = (context) => {
3067
+ const { url } = getRequestOptions(context);
3068
+ return url;
3069
+ };
3070
+ return {
3071
+ getUrl,
3072
+ httpMethod: "PATCH",
3073
+ path: "/v1/customer_subscriptions/{id}/extend",
3074
+ pathParams: { id: "id" },
3075
+ __requestType: null,
3076
+ __originalRequestType: null,
3077
+ __responseType: null,
3078
+ __originalResponseType: null
3079
+ };
3080
+ }
3081
+ function customerQuerySubscriptions2() {
3082
+ const payload = {};
3083
+ const getRequestOptions = customerQuerySubscriptions(payload);
3084
+ const getUrl = (context) => {
3085
+ const { url } = getRequestOptions(context);
3086
+ return url;
3087
+ };
3088
+ return {
3089
+ getUrl,
3090
+ httpMethod: "POST",
3091
+ path: "/v1/customer_subscriptions/query",
3092
+ pathParams: {},
3093
+ __requestType: null,
3094
+ __originalRequestType: null,
3095
+ __responseType: null,
3096
+ __originalResponseType: null
3097
+ };
3098
+ }
3099
+ function customerUpdateSubscriptionPaymentMethod2() {
3100
+ const payload = { id: ":id" };
3101
+ const getRequestOptions = customerUpdateSubscriptionPaymentMethod(
3102
+ payload
3103
+ );
3104
+ const getUrl = (context) => {
3105
+ const { url } = getRequestOptions(context);
3106
+ return url;
3107
+ };
3108
+ return {
3109
+ getUrl,
3110
+ httpMethod: "PATCH",
3111
+ path: "/v1/customer_subscriptions/{id}/payment_method",
3112
+ pathParams: { id: "id" },
3113
+ __requestType: null,
3114
+ __originalRequestType: null,
3115
+ __responseType: null,
3116
+ __originalResponseType: null
3117
+ };
3118
+ }
3119
+ function customerAllowedActions2() {
3120
+ const payload = { id: ":id" };
3121
+ const getRequestOptions = customerAllowedActions(payload);
3122
+ const getUrl = (context) => {
3123
+ const { url } = getRequestOptions(context);
3124
+ return url;
3125
+ };
3126
+ return {
3127
+ getUrl,
3128
+ httpMethod: "GET",
3129
+ path: "/v1/customer_subscriptions/{id}/allowed_actions",
3130
+ pathParams: { id: "id" },
3131
+ __requestType: null,
3132
+ __originalRequestType: null,
3133
+ __responseType: null,
3134
+ __originalResponseType: null
3135
+ };
3136
+ }
3137
+ function customerListUpcomingCharges2() {
3138
+ const payload = { id: ":id" };
3139
+ const getRequestOptions = customerListUpcomingCharges(payload);
3140
+ const getUrl = (context) => {
3141
+ const { url } = getRequestOptions(context);
3142
+ return url;
3143
+ };
3144
+ return {
3145
+ getUrl,
3146
+ httpMethod: "GET",
3147
+ path: "/v1/customer_subscriptions/{id}/upcoming_charges",
3148
+ pathParams: { id: "id" },
3149
+ __requestType: null,
3150
+ __originalRequestType: null,
3151
+ __responseType: null,
3152
+ __originalResponseType: null
3153
+ };
3154
+ }
3155
+ function customerInitiatePaymentMethodSetup2() {
3156
+ const payload = { id: ":id" };
3157
+ const getRequestOptions = customerInitiatePaymentMethodSetup(
3158
+ payload
3159
+ );
3160
+ const getUrl = (context) => {
3161
+ const { url } = getRequestOptions(context);
3162
+ return url;
3163
+ };
3164
+ return {
3165
+ getUrl,
3166
+ httpMethod: "POST",
3167
+ path: "/v1/customer_subscriptions/{id}/payment_method_setup",
3168
+ pathParams: { id: "id" },
3169
+ __requestType: null,
3170
+ __originalRequestType: null,
3171
+ __responseType: null,
3172
+ __originalResponseType: null
3173
+ };
3174
+ }
3175
+ function payCycle2() {
3176
+ const payload = { subscriptionId: ":subscriptionId" };
3177
+ const getRequestOptions = payCycle(payload);
3178
+ const getUrl = (context) => {
3179
+ const { url } = getRequestOptions(context);
3180
+ return url;
3181
+ };
3182
+ return {
3183
+ getUrl,
3184
+ httpMethod: "POST",
3185
+ path: "/v1/subscriptions-bo/{subscriptionId}/pay-cycle",
3186
+ pathParams: { subscriptionId: "subscriptionId" },
3187
+ __requestType: null,
3188
+ __originalRequestType: null,
3189
+ __responseType: null,
3190
+ __originalResponseType: null
3191
+ };
3192
+ }
3193
+ function getSubscription2() {
3194
+ const payload = { id: ":id" };
3195
+ const getRequestOptions = getSubscription(payload);
3196
+ const getUrl = (context) => {
3197
+ const { url } = getRequestOptions(context);
3198
+ return url;
3199
+ };
3200
+ return {
3201
+ getUrl,
3202
+ httpMethod: "GET",
3203
+ path: "/v1/subscriptions/{id}",
3204
+ pathParams: { id: "id" },
3205
+ __requestType: null,
3206
+ __originalRequestType: null,
3207
+ __responseType: null,
3208
+ __originalResponseType: null
3209
+ };
3210
+ }
3211
+ function updateSubscriptionPaymentMethod2() {
3212
+ const payload = { id: ":id" };
3213
+ const getRequestOptions = updateSubscriptionPaymentMethod(payload);
3214
+ const getUrl = (context) => {
3215
+ const { url } = getRequestOptions(context);
3216
+ return url;
3217
+ };
3218
+ return {
3219
+ getUrl,
3220
+ httpMethod: "PATCH",
3221
+ path: "/v1/subscriptions/{id}/payment_method",
3222
+ pathParams: { id: "id" },
3223
+ __requestType: null,
3224
+ __originalRequestType: null,
3225
+ __responseType: null,
3226
+ __originalResponseType: null
3227
+ };
3228
+ }
3229
+ function updateSubscriptionBillingDate2() {
3230
+ const payload = { id: ":id" };
3231
+ const getRequestOptions = updateSubscriptionBillingDate(payload);
3232
+ const getUrl = (context) => {
3233
+ const { url } = getRequestOptions(context);
3234
+ return url;
3235
+ };
3236
+ return {
3237
+ getUrl,
3238
+ httpMethod: "PATCH",
3239
+ path: "/v1/subscriptions/{id}/update-billing-date",
3240
+ pathParams: { id: "id" },
3241
+ __requestType: null,
3242
+ __originalRequestType: null,
3243
+ __responseType: null,
3244
+ __originalResponseType: null
3245
+ };
3246
+ }
3247
+ function cancelSubscription2() {
3248
+ const payload = { id: ":id" };
3249
+ const getRequestOptions = cancelSubscription(payload);
3250
+ const getUrl = (context) => {
3251
+ const { url } = getRequestOptions(context);
3252
+ return url;
3253
+ };
3254
+ return {
3255
+ getUrl,
3256
+ httpMethod: "POST",
3257
+ path: "/v1/subscriptions/{id}/cancel",
3258
+ pathParams: { id: "id" },
3259
+ __requestType: null,
3260
+ __originalRequestType: null,
3261
+ __responseType: null,
3262
+ __originalResponseType: null
3263
+ };
3264
+ }
3265
+ function pauseSubscription2() {
3266
+ const payload = { id: ":id" };
3267
+ const getRequestOptions = pauseSubscription(payload);
3268
+ const getUrl = (context) => {
3269
+ const { url } = getRequestOptions(context);
3270
+ return url;
3271
+ };
3272
+ return {
3273
+ getUrl,
3274
+ httpMethod: "POST",
3275
+ path: "/v1/subscriptions/{id}/pause",
3276
+ pathParams: { id: "id" },
3277
+ __requestType: null,
3278
+ __originalRequestType: null,
3279
+ __responseType: null,
3280
+ __originalResponseType: null
3281
+ };
3282
+ }
3283
+ function resumeSubscription2() {
3284
+ const payload = { id: ":id" };
3285
+ const getRequestOptions = resumeSubscription(payload);
3286
+ const getUrl = (context) => {
3287
+ const { url } = getRequestOptions(context);
3288
+ return url;
3289
+ };
3290
+ return {
3291
+ getUrl,
3292
+ httpMethod: "POST",
3293
+ path: "/v1/subscriptions/{id}/resume",
3294
+ pathParams: { id: "id" },
3295
+ __requestType: null,
3296
+ __originalRequestType: null,
3297
+ __responseType: null,
3298
+ __originalResponseType: null
3299
+ };
3300
+ }
3301
+ function querySubscriptions2() {
3302
+ const payload = {};
3303
+ const getRequestOptions = querySubscriptions(payload);
3304
+ const getUrl = (context) => {
3305
+ const { url } = getRequestOptions(context);
3306
+ return url;
3307
+ };
3308
+ return {
3309
+ getUrl,
3310
+ httpMethod: "POST",
3311
+ path: "/v1/subscriptions/query",
3312
+ pathParams: {},
3313
+ __requestType: null,
3314
+ __originalRequestType: null,
3315
+ __responseType: null,
3316
+ __originalResponseType: null
3317
+ };
3318
+ }
3319
+ function searchSubscriptions2() {
3320
+ const payload = {};
3321
+ const getRequestOptions = searchSubscriptions(payload);
3322
+ const getUrl = (context) => {
3323
+ const { url } = getRequestOptions(context);
3324
+ return url;
3325
+ };
3326
+ return {
3327
+ getUrl,
3328
+ httpMethod: "POST",
3329
+ path: "/v1/subscriptions/search",
3330
+ pathParams: {},
3331
+ __requestType: null,
3332
+ __originalRequestType: null,
3333
+ __responseType: null,
3334
+ __originalResponseType: null
3335
+ };
3336
+ }
3337
+ function countSubscriptions2() {
3338
+ const payload = {};
3339
+ const getRequestOptions = countSubscriptions(payload);
3340
+ const getUrl = (context) => {
3341
+ const { url } = getRequestOptions(context);
3342
+ return url;
3343
+ };
3344
+ return {
3345
+ getUrl,
3346
+ httpMethod: "POST",
3347
+ path: "/v1/subscriptions/count",
3348
+ pathParams: {},
3349
+ __requestType: null,
3350
+ __originalRequestType: null,
3351
+ __responseType: null,
3352
+ __originalResponseType: null
3353
+ };
3354
+ }
3355
+ function turnOnSubscriptionAutoRenewal2() {
3356
+ const payload = { id: ":id" };
3357
+ const getRequestOptions = turnOnSubscriptionAutoRenewal(payload);
3358
+ const getUrl = (context) => {
3359
+ const { url } = getRequestOptions(context);
3360
+ return url;
3361
+ };
3362
+ return {
3363
+ getUrl,
3364
+ httpMethod: "PATCH",
3365
+ path: "/v1/subscriptions/{id}/turn_on_auto_renewal",
3366
+ pathParams: { id: "id" },
3367
+ __requestType: null,
3368
+ __originalRequestType: null,
3369
+ __responseType: null,
3370
+ __originalResponseType: null
3371
+ };
3372
+ }
3373
+ function turnOffSubscriptionAutoRenewal2() {
3374
+ const payload = { id: ":id" };
3375
+ const getRequestOptions = turnOffSubscriptionAutoRenewal(payload);
3376
+ const getUrl = (context) => {
3377
+ const { url } = getRequestOptions(context);
3378
+ return url;
3379
+ };
3380
+ return {
3381
+ getUrl,
3382
+ httpMethod: "PATCH",
3383
+ path: "/v1/subscriptions/{id}/turn_off_auto_renewal",
3384
+ pathParams: { id: "id" },
3385
+ __requestType: null,
3386
+ __originalRequestType: null,
3387
+ __responseType: null,
3388
+ __originalResponseType: null
3389
+ };
3390
+ }
3391
+ function markLatestInvoiceAsPaid2() {
3392
+ const payload = { subscriptionId: ":subscriptionId" };
3393
+ const getRequestOptions = markLatestInvoiceAsPaid(payload);
3394
+ const getUrl = (context) => {
3395
+ const { url } = getRequestOptions(context);
3396
+ return url;
3397
+ };
3398
+ return {
3399
+ getUrl,
3400
+ httpMethod: "POST",
3401
+ path: "/v1/subscriptions/{subscriptionId}/mark-latest-invoice-as-paid",
3402
+ pathParams: { subscriptionId: "subscriptionId" },
3403
+ __requestType: null,
3404
+ __originalRequestType: null,
3405
+ __responseType: null,
3406
+ __originalResponseType: null
3407
+ };
3408
+ }
3409
+ function markBillingCycleAsPaid2() {
3410
+ const payload = { subscriptionId: ":subscriptionId" };
3411
+ const getRequestOptions = markBillingCycleAsPaid(payload);
3412
+ const getUrl = (context) => {
3413
+ const { url } = getRequestOptions(context);
3414
+ return url;
3415
+ };
3416
+ return {
3417
+ getUrl,
3418
+ httpMethod: "POST",
3419
+ path: "/v1/subscriptions/{subscriptionId}/mark-cycle-as-paid",
3420
+ pathParams: { subscriptionId: "subscriptionId" },
3421
+ __requestType: null,
3422
+ __originalRequestType: null,
3423
+ __responseType: null,
3424
+ __originalResponseType: null
3425
+ };
3426
+ }
3427
+ function getSubscriptionsStats2() {
3428
+ const payload = {};
3429
+ const getRequestOptions = getSubscriptionsStats(payload);
3430
+ const getUrl = (context) => {
3431
+ const { url } = getRequestOptions(context);
3432
+ return url;
3433
+ };
3434
+ return {
3435
+ getUrl,
3436
+ httpMethod: "GET",
3437
+ path: "/v1/subscriptions/stats",
3438
+ pathParams: {},
3439
+ __requestType: null,
3440
+ __originalRequestType: null,
3441
+ __responseType: null,
3442
+ __originalResponseType: null
3443
+ };
3444
+ }
3445
+ function extendSubscription2() {
3446
+ const payload = { id: ":id" };
3447
+ const getRequestOptions = extendSubscription(payload);
3448
+ const getUrl = (context) => {
3449
+ const { url } = getRequestOptions(context);
3450
+ return url;
3451
+ };
3452
+ return {
3453
+ getUrl,
3454
+ httpMethod: "PATCH",
3455
+ path: "/v1/subscriptions/{id}/extend",
3456
+ pathParams: { id: "id" },
3457
+ __requestType: null,
3458
+ __originalRequestType: null,
3459
+ __responseType: null,
3460
+ __originalResponseType: null
3461
+ };
3462
+ }
3463
+ function allowedActions2() {
3464
+ const payload = { id: ":id" };
3465
+ const getRequestOptions = allowedActions(payload);
3466
+ const getUrl = (context) => {
3467
+ const { url } = getRequestOptions(context);
3468
+ return url;
3469
+ };
3470
+ return {
3471
+ getUrl,
3472
+ httpMethod: "GET",
3473
+ path: "/v1/subscriptions/{id}/allowed_actions",
3474
+ pathParams: { id: "id" },
3475
+ __requestType: null,
3476
+ __originalRequestType: null,
3477
+ __responseType: null,
3478
+ __originalResponseType: null
3479
+ };
3480
+ }
3481
+ function listUpcomingCharges2() {
3482
+ const payload = { subscriptionId: ":subscriptionId" };
3483
+ const getRequestOptions = listUpcomingCharges(payload);
3484
+ const getUrl = (context) => {
3485
+ const { url } = getRequestOptions(context);
3486
+ return url;
3487
+ };
3488
+ return {
3489
+ getUrl,
3490
+ httpMethod: "GET",
3491
+ path: "/v1/subscriptions/{subscriptionId}/upcoming_charges",
3492
+ pathParams: { subscriptionId: "subscriptionId" },
3493
+ __requestType: null,
3494
+ __originalRequestType: null,
3495
+ __responseType: null,
3496
+ __originalResponseType: null
3497
+ };
3498
+ }
3499
+ function previewSubscriptionCharges2() {
3500
+ const payload = {};
3501
+ const getRequestOptions = previewSubscriptionCharges(payload);
3502
+ const getUrl = (context) => {
3503
+ const { url } = getRequestOptions(context);
3504
+ return url;
3505
+ };
3506
+ return {
3507
+ getUrl,
3508
+ httpMethod: "GET",
3509
+ path: "/v1/subscriptions/preview_charges",
3510
+ pathParams: {},
3511
+ __requestType: null,
3512
+ __originalRequestType: null,
3513
+ __responseType: null,
3514
+ __originalResponseType: null
3515
+ };
3516
+ }
3517
+ function previewSubscriptionsCharges2() {
3518
+ const payload = {};
3519
+ const getRequestOptions = previewSubscriptionsCharges(payload);
3520
+ const getUrl = (context) => {
3521
+ const { url } = getRequestOptions(context);
3522
+ return url;
3523
+ };
3524
+ return {
3525
+ getUrl,
3526
+ httpMethod: "GET",
3527
+ path: "/v1/subscriptions/preview-subscriptions-charges",
3528
+ pathParams: {},
3529
+ __requestType: null,
3530
+ __originalRequestType: null,
3531
+ __responseType: null,
3532
+ __originalResponseType: null
3533
+ };
3534
+ }
3535
+ function initiatePaymentMethodSetup2() {
3536
+ const payload = { id: ":id" };
3537
+ const getRequestOptions = initiatePaymentMethodSetup(payload);
3538
+ const getUrl = (context) => {
3539
+ const { url } = getRequestOptions(context);
3540
+ return url;
3541
+ };
3542
+ return {
3543
+ getUrl,
3544
+ httpMethod: "POST",
3545
+ path: "/v1/subscriptions/{id}/payment_method_setup",
3546
+ pathParams: { id: "id" },
3547
+ __requestType: null,
3548
+ __originalRequestType: null,
3549
+ __responseType: null,
3550
+ __originalResponseType: null
3551
+ };
3552
+ }
3553
+ function listSubscriptionHistory2() {
3554
+ const payload = { subscriptionId: ":subscriptionId" };
3555
+ const getRequestOptions = listSubscriptionHistory(payload);
3556
+ const getUrl = (context) => {
3557
+ const { url } = getRequestOptions(context);
3558
+ return url;
3559
+ };
3560
+ return {
3561
+ getUrl,
3562
+ httpMethod: "GET",
3563
+ path: "/v1/subscriptions/{subscriptionId}/history",
3564
+ pathParams: { subscriptionId: "subscriptionId" },
3565
+ __requestType: null,
3566
+ __originalRequestType: null,
3567
+ __responseType: null,
3568
+ __originalResponseType: null
3569
+ };
3570
+ }
3571
+ export {
3572
+ allowedActions2 as allowedActions,
3573
+ cancelSubscription2 as cancelSubscription,
3574
+ countSubscriptions2 as countSubscriptions,
3575
+ customerAllowedActions2 as customerAllowedActions,
3576
+ customerCancelSubscription2 as customerCancelSubscription,
3577
+ customerExtendSubscription2 as customerExtendSubscription,
3578
+ customerGetSubscription2 as customerGetSubscription,
3579
+ customerInitiatePaymentMethodSetup2 as customerInitiatePaymentMethodSetup,
3580
+ customerListUpcomingCharges2 as customerListUpcomingCharges,
3581
+ customerQuerySubscriptions2 as customerQuerySubscriptions,
3582
+ customerTurnOffSubscriptionAutoRenewal2 as customerTurnOffSubscriptionAutoRenewal,
3583
+ customerTurnOnSubscriptionAutoRenewal2 as customerTurnOnSubscriptionAutoRenewal,
3584
+ customerUpdateSubscriptionPaymentMethod2 as customerUpdateSubscriptionPaymentMethod,
3585
+ extendSubscription2 as extendSubscription,
3586
+ getSubscription2 as getSubscription,
3587
+ getSubscriptionsStats2 as getSubscriptionsStats,
3588
+ initiatePaymentMethodSetup2 as initiatePaymentMethodSetup,
3589
+ listSubscriptionHistory2 as listSubscriptionHistory,
3590
+ listUpcomingCharges2 as listUpcomingCharges,
3591
+ markBillingCycleAsPaid2 as markBillingCycleAsPaid,
3592
+ markLatestInvoiceAsPaid2 as markLatestInvoiceAsPaid,
3593
+ pauseSubscription2 as pauseSubscription,
3594
+ payCycle2 as payCycle,
3595
+ previewSubscriptionCharges2 as previewSubscriptionCharges,
3596
+ previewSubscriptionsCharges2 as previewSubscriptionsCharges,
3597
+ querySubscriptions2 as querySubscriptions,
3598
+ resumeSubscription2 as resumeSubscription,
3599
+ searchSubscriptions2 as searchSubscriptions,
3600
+ turnOffSubscriptionAutoRenewal2 as turnOffSubscriptionAutoRenewal,
3601
+ turnOnSubscriptionAutoRenewal2 as turnOnSubscriptionAutoRenewal,
3602
+ updateSubscriptionBillingDate2 as updateSubscriptionBillingDate,
3603
+ updateSubscriptionPaymentMethod2 as updateSubscriptionPaymentMethod
3604
+ };
3605
+ //# sourceMappingURL=meta.mjs.map