@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
@@ -1,3048 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.listSubscriptionHistory = exports.initiatePaymentMethodSetup = exports.previewSubscriptionsCharges = exports.previewSubscriptionCharges = exports.listUpcomingCharges = exports.allowedActions = exports.extendSubscription = exports.getSubscriptionsStats = exports.markBillingCycleAsPaid = exports.markLatestInvoiceAsPaid = exports.turnOffSubscriptionAutoRenewal = exports.turnOnSubscriptionAutoRenewal = exports.countSubscriptions = exports.searchSubscriptions = exports.querySubscriptions = exports.resumeSubscription = exports.pauseSubscription = exports.cancelSubscription = exports.updateSubscriptionBillingDate = exports.updateSubscriptionPaymentMethod = exports.getSubscription = exports.payCycle = exports.customerInitiatePaymentMethodSetup = exports.customerListUpcomingCharges = exports.customerAllowedActions = exports.customerUpdateSubscriptionPaymentMethod = exports.customerQuerySubscriptions = exports.customerExtendSubscription = exports.customerTurnOffSubscriptionAutoRenewal = exports.customerTurnOnSubscriptionAutoRenewal = exports.customerCancelSubscription = exports.customerGetSubscription = void 0;
4
- const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
5
- const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
6
- const timestamp_2 = require("@wix/sdk-runtime/transformations/timestamp");
7
- const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
8
- const rest_modules_2 = require("@wix/sdk-runtime/rest-modules");
9
- function resolveComWixpressBillingSubscriptionsApiV1SubscriptionHistoryServiceUrl(opts) {
10
- const domainToMappings = {
11
- 'www._base_domain_': [
12
- {
13
- srcPath: '/_api/billing-subscriptions',
14
- destPath: '',
15
- },
16
- ],
17
- _: [
18
- {
19
- srcPath: '/_api/billing-subscriptions',
20
- destPath: '',
21
- },
22
- ],
23
- '*.dev.wix-code.com': [
24
- {
25
- srcPath: '/_api/billing-subscriptions',
26
- destPath: '',
27
- },
28
- ],
29
- '*.pub.wix-code.com': [
30
- {
31
- srcPath: '/_api/billing-subscriptions',
32
- destPath: '',
33
- },
34
- ],
35
- 'manage._base_domain_': [
36
- {
37
- srcPath: '/_api/billing-subscriptions',
38
- destPath: '',
39
- },
40
- ],
41
- };
42
- return (0, rest_modules_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
43
- }
44
- function resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl(opts) {
45
- const domainToMappings = {
46
- 'www._base_domain_': [
47
- {
48
- srcPath: '/_api/billing-subscriptions',
49
- destPath: '',
50
- },
51
- ],
52
- _: [
53
- {
54
- srcPath: '/_api/billing-subscriptions',
55
- destPath: '',
56
- },
57
- ],
58
- '*.dev.wix-code.com': [
59
- {
60
- srcPath: '/_api/billing-subscriptions',
61
- destPath: '',
62
- },
63
- ],
64
- '*.pub.wix-code.com': [
65
- {
66
- srcPath: '/_api/billing-subscriptions',
67
- destPath: '',
68
- },
69
- ],
70
- 'manage._base_domain_': [
71
- {
72
- srcPath: '/_api/billing-subscriptions',
73
- destPath: '',
74
- },
75
- ],
76
- };
77
- return (0, rest_modules_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
78
- }
79
- function resolveComWixpressBillingSubscriptionsApiV1SubscriptionsBackOfficeServiceUrl(opts) {
80
- const domainToMappings = {
81
- 'www._base_domain_': [
82
- {
83
- srcPath: '/_api/billing-subscriptions',
84
- destPath: '',
85
- },
86
- ],
87
- _: [
88
- {
89
- srcPath: '/_api/billing-subscriptions',
90
- destPath: '',
91
- },
92
- ],
93
- '*.dev.wix-code.com': [
94
- {
95
- srcPath: '/_api/billing-subscriptions',
96
- destPath: '',
97
- },
98
- ],
99
- '*.pub.wix-code.com': [
100
- {
101
- srcPath: '/_api/billing-subscriptions',
102
- destPath: '',
103
- },
104
- ],
105
- 'manage._base_domain_': [
106
- {
107
- srcPath: '/_api/billing-subscriptions',
108
- destPath: '',
109
- },
110
- ],
111
- };
112
- return (0, rest_modules_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
113
- }
114
- function resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(opts) {
115
- const domainToMappings = {
116
- 'www._base_domain_': [
117
- {
118
- srcPath: '/_api/billing-subscriptions',
119
- destPath: '',
120
- },
121
- ],
122
- _: [
123
- {
124
- srcPath: '/_api/billing-subscriptions',
125
- destPath: '',
126
- },
127
- ],
128
- '*.dev.wix-code.com': [
129
- {
130
- srcPath: '/_api/billing-subscriptions',
131
- destPath: '',
132
- },
133
- ],
134
- '*.pub.wix-code.com': [
135
- {
136
- srcPath: '/_api/billing-subscriptions',
137
- destPath: '',
138
- },
139
- ],
140
- 'manage._base_domain_': [
141
- {
142
- srcPath: '/_api/billing-subscriptions',
143
- destPath: '',
144
- },
145
- ],
146
- };
147
- return (0, rest_modules_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
148
- }
149
- const PACKAGE_NAME = '@wix/auto_sdk_subscription_subscriptions';
150
- /** Identity must be a site member and customer subscription belongs to */
151
- function customerGetSubscription(payload) {
152
- function __customerGetSubscription({ host }) {
153
- const metadata = {
154
- entityFqdn: 'wix.billing.v1.subscription',
155
- method: 'GET',
156
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.GetSubscription',
157
- packageName: PACKAGE_NAME,
158
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl({ protoPath: '/v1/customer_subscriptions/{id}', data: payload, host }),
159
- params: (0, rest_modules_1.toURLSearchParams)(payload),
160
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
161
- {
162
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
163
- paths: [
164
- { path: 'subscription.createdDate' },
165
- { path: 'subscription.updatedDate' },
166
- { path: 'subscription.startDate' },
167
- { path: 'subscription.endDate' },
168
- { path: 'subscription.billingStatus.nextBillingDate' },
169
- { path: 'subscription.billingStatus.previousBillingDate' },
170
- {
171
- path: 'subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
172
- },
173
- { path: 'subscription.billingStatus.freeTrialData.startDate' },
174
- { path: 'subscription.billingStatus.freeTrialData.endDate' },
175
- {
176
- path: 'subscription.billingStatus.updateBillingDateData.paidUntil',
177
- },
178
- { path: 'subscription.billingStatus.gracePeriodData.startDate' },
179
- { path: 'subscription.billingStatus.gracePeriodData.endDate' },
180
- { path: 'subscription.pauseInfo.startDate' },
181
- { path: 'subscription.pauseInfo.resumeDate' },
182
- { path: 'subscription.cancellationInfo.cancellationDate' },
183
- {
184
- path: 'subscription.specificDatePendingUpdateData.executionDate',
185
- },
186
- ],
187
- },
188
- ]),
189
- };
190
- return metadata;
191
- }
192
- return __customerGetSubscription;
193
- }
194
- exports.customerGetSubscription = customerGetSubscription;
195
- /** Identity must be a site member and customer subscription belongs to */
196
- function customerCancelSubscription(payload) {
197
- function __customerCancelSubscription({ host }) {
198
- const metadata = {
199
- entityFqdn: 'wix.billing.v1.subscription',
200
- method: 'POST',
201
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.CancelSubscription',
202
- packageName: PACKAGE_NAME,
203
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl({
204
- protoPath: '/v1/customer_subscriptions/{id}/cancel',
205
- data: payload,
206
- host,
207
- }),
208
- data: payload,
209
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
210
- {
211
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
212
- paths: [
213
- { path: 'subscription.createdDate' },
214
- { path: 'subscription.updatedDate' },
215
- { path: 'subscription.startDate' },
216
- { path: 'subscription.endDate' },
217
- { path: 'subscription.billingStatus.nextBillingDate' },
218
- { path: 'subscription.billingStatus.previousBillingDate' },
219
- {
220
- path: 'subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
221
- },
222
- { path: 'subscription.billingStatus.freeTrialData.startDate' },
223
- { path: 'subscription.billingStatus.freeTrialData.endDate' },
224
- {
225
- path: 'subscription.billingStatus.updateBillingDateData.paidUntil',
226
- },
227
- { path: 'subscription.billingStatus.gracePeriodData.startDate' },
228
- { path: 'subscription.billingStatus.gracePeriodData.endDate' },
229
- { path: 'subscription.pauseInfo.startDate' },
230
- { path: 'subscription.pauseInfo.resumeDate' },
231
- { path: 'subscription.cancellationInfo.cancellationDate' },
232
- {
233
- path: 'subscription.specificDatePendingUpdateData.executionDate',
234
- },
235
- ],
236
- },
237
- ]),
238
- };
239
- return metadata;
240
- }
241
- return __customerCancelSubscription;
242
- }
243
- exports.customerCancelSubscription = customerCancelSubscription;
244
- /** Identity must be a site member and customer subscription belongs to */
245
- function customerTurnOnSubscriptionAutoRenewal(payload) {
246
- function __customerTurnOnSubscriptionAutoRenewal({ host }) {
247
- const metadata = {
248
- entityFqdn: 'wix.billing.v1.subscription',
249
- method: 'POST',
250
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.TurnOnSubscriptionAutoRenewal',
251
- packageName: PACKAGE_NAME,
252
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl({
253
- protoPath: '/v1/customer_subscriptions/{id}/turn_on_auto_renewal',
254
- data: payload,
255
- host,
256
- }),
257
- data: payload,
258
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
259
- {
260
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
261
- paths: [
262
- { path: 'subscription.createdDate' },
263
- { path: 'subscription.updatedDate' },
264
- { path: 'subscription.startDate' },
265
- { path: 'subscription.endDate' },
266
- { path: 'subscription.billingStatus.nextBillingDate' },
267
- { path: 'subscription.billingStatus.previousBillingDate' },
268
- {
269
- path: 'subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
270
- },
271
- { path: 'subscription.billingStatus.freeTrialData.startDate' },
272
- { path: 'subscription.billingStatus.freeTrialData.endDate' },
273
- {
274
- path: 'subscription.billingStatus.updateBillingDateData.paidUntil',
275
- },
276
- { path: 'subscription.billingStatus.gracePeriodData.startDate' },
277
- { path: 'subscription.billingStatus.gracePeriodData.endDate' },
278
- { path: 'subscription.pauseInfo.startDate' },
279
- { path: 'subscription.pauseInfo.resumeDate' },
280
- { path: 'subscription.cancellationInfo.cancellationDate' },
281
- {
282
- path: 'subscription.specificDatePendingUpdateData.executionDate',
283
- },
284
- ],
285
- },
286
- ]),
287
- };
288
- return metadata;
289
- }
290
- return __customerTurnOnSubscriptionAutoRenewal;
291
- }
292
- exports.customerTurnOnSubscriptionAutoRenewal = customerTurnOnSubscriptionAutoRenewal;
293
- /** Identity must be a site member and customer subscription belongs to */
294
- function customerTurnOffSubscriptionAutoRenewal(payload) {
295
- function __customerTurnOffSubscriptionAutoRenewal({ host }) {
296
- const metadata = {
297
- entityFqdn: 'wix.billing.v1.subscription',
298
- method: 'POST',
299
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.TurnOffSubscriptionAutoRenewal',
300
- packageName: PACKAGE_NAME,
301
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl({
302
- protoPath: '/v1/customer_subscriptions/{id}/turn_off_auto_renewal',
303
- data: payload,
304
- host,
305
- }),
306
- data: payload,
307
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
308
- {
309
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
310
- paths: [
311
- { path: 'subscription.createdDate' },
312
- { path: 'subscription.updatedDate' },
313
- { path: 'subscription.startDate' },
314
- { path: 'subscription.endDate' },
315
- { path: 'subscription.billingStatus.nextBillingDate' },
316
- { path: 'subscription.billingStatus.previousBillingDate' },
317
- {
318
- path: 'subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
319
- },
320
- { path: 'subscription.billingStatus.freeTrialData.startDate' },
321
- { path: 'subscription.billingStatus.freeTrialData.endDate' },
322
- {
323
- path: 'subscription.billingStatus.updateBillingDateData.paidUntil',
324
- },
325
- { path: 'subscription.billingStatus.gracePeriodData.startDate' },
326
- { path: 'subscription.billingStatus.gracePeriodData.endDate' },
327
- { path: 'subscription.pauseInfo.startDate' },
328
- { path: 'subscription.pauseInfo.resumeDate' },
329
- { path: 'subscription.cancellationInfo.cancellationDate' },
330
- {
331
- path: 'subscription.specificDatePendingUpdateData.executionDate',
332
- },
333
- ],
334
- },
335
- ]),
336
- };
337
- return metadata;
338
- }
339
- return __customerTurnOffSubscriptionAutoRenewal;
340
- }
341
- exports.customerTurnOffSubscriptionAutoRenewal = customerTurnOffSubscriptionAutoRenewal;
342
- function customerExtendSubscription(payload) {
343
- function __customerExtendSubscription({ host }) {
344
- const metadata = {
345
- entityFqdn: 'wix.billing.v1.subscription',
346
- method: 'PATCH',
347
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.ExtendSubscription',
348
- packageName: PACKAGE_NAME,
349
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl({
350
- protoPath: '/v1/customer_subscriptions/{id}/extend',
351
- data: payload,
352
- host,
353
- }),
354
- data: payload,
355
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
356
- {
357
- transformFn: timestamp_2.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
- exports.customerExtendSubscription = customerExtendSubscription;
390
- /** identity must be a site member */
391
- function customerQuerySubscriptions(payload) {
392
- function __customerQuerySubscriptions({ host }) {
393
- const metadata = {
394
- entityFqdn: 'wix.billing.v1.subscription',
395
- method: 'POST',
396
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.QuerySubscriptions',
397
- packageName: PACKAGE_NAME,
398
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl({ protoPath: '/v1/customer_subscriptions/query', data: payload, host }),
399
- data: payload,
400
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
401
- {
402
- transformFn: timestamp_2.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
- exports.customerQuerySubscriptions = customerQuerySubscriptions;
435
- /**
436
- * Update subscription's payment method.
437
- * Supported only for recurring subscriptions or one time subscriptions during free trial.
438
- */
439
- function customerUpdateSubscriptionPaymentMethod(payload) {
440
- function __customerUpdateSubscriptionPaymentMethod({ host }) {
441
- const metadata = {
442
- entityFqdn: 'wix.billing.v1.subscription',
443
- method: 'PATCH',
444
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.UpdateSubscriptionPaymentMethod',
445
- packageName: PACKAGE_NAME,
446
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl({
447
- protoPath: '/v1/customer_subscriptions/{id}/payment_method',
448
- data: payload,
449
- host,
450
- }),
451
- data: payload,
452
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
453
- {
454
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
455
- paths: [
456
- { path: 'subscription.createdDate' },
457
- { path: 'subscription.updatedDate' },
458
- { path: 'subscription.startDate' },
459
- { path: 'subscription.endDate' },
460
- { path: 'subscription.billingStatus.nextBillingDate' },
461
- { path: 'subscription.billingStatus.previousBillingDate' },
462
- {
463
- path: 'subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
464
- },
465
- { path: 'subscription.billingStatus.freeTrialData.startDate' },
466
- { path: 'subscription.billingStatus.freeTrialData.endDate' },
467
- {
468
- path: 'subscription.billingStatus.updateBillingDateData.paidUntil',
469
- },
470
- { path: 'subscription.billingStatus.gracePeriodData.startDate' },
471
- { path: 'subscription.billingStatus.gracePeriodData.endDate' },
472
- { path: 'subscription.pauseInfo.startDate' },
473
- { path: 'subscription.pauseInfo.resumeDate' },
474
- { path: 'subscription.cancellationInfo.cancellationDate' },
475
- {
476
- path: 'subscription.specificDatePendingUpdateData.executionDate',
477
- },
478
- ],
479
- },
480
- ]),
481
- };
482
- return metadata;
483
- }
484
- return __customerUpdateSubscriptionPaymentMethod;
485
- }
486
- exports.customerUpdateSubscriptionPaymentMethod = customerUpdateSubscriptionPaymentMethod;
487
- function customerAllowedActions(payload) {
488
- function __customerAllowedActions({ host }) {
489
- const metadata = {
490
- entityFqdn: 'wix.billing.v1.subscription',
491
- method: 'GET',
492
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.AllowedActions',
493
- packageName: PACKAGE_NAME,
494
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl({
495
- protoPath: '/v1/customer_subscriptions/{id}/allowed_actions',
496
- data: payload,
497
- host,
498
- }),
499
- params: (0, rest_modules_1.toURLSearchParams)(payload),
500
- };
501
- return metadata;
502
- }
503
- return __customerAllowedActions;
504
- }
505
- exports.customerAllowedActions = customerAllowedActions;
506
- /** List future subscriptions charges. */
507
- function customerListUpcomingCharges(payload) {
508
- function __customerListUpcomingCharges({ host }) {
509
- const metadata = {
510
- entityFqdn: 'wix.billing.v1.subscription',
511
- method: 'GET',
512
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.ListUpcomingCharges',
513
- packageName: PACKAGE_NAME,
514
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl({
515
- protoPath: '/v1/customer_subscriptions/{id}/upcoming_charges',
516
- data: payload,
517
- host,
518
- }),
519
- params: (0, rest_modules_1.toURLSearchParams)(payload),
520
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
521
- {
522
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
523
- paths: [{ path: 'upcomingCharge.billingDate' }],
524
- },
525
- ]),
526
- };
527
- return metadata;
528
- }
529
- return __customerListUpcomingCharges;
530
- }
531
- exports.customerListUpcomingCharges = customerListUpcomingCharges;
532
- /** Creates auto-charge order that can be paid by customer */
533
- function customerInitiatePaymentMethodSetup(payload) {
534
- function __customerInitiatePaymentMethodSetup({ host }) {
535
- const metadata = {
536
- entityFqdn: 'wix.billing.v1.subscription',
537
- method: 'POST',
538
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.InitiatePaymentMethodSetup',
539
- packageName: PACKAGE_NAME,
540
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl({
541
- protoPath: '/v1/customer_subscriptions/{id}/payment_method_setup',
542
- data: payload,
543
- host,
544
- }),
545
- data: payload,
546
- };
547
- return metadata;
548
- }
549
- return __customerInitiatePaymentMethodSetup;
550
- }
551
- exports.customerInitiatePaymentMethodSetup = customerInitiatePaymentMethodSetup;
552
- /** This used only for automation and permitted tenants (QA & testing) */
553
- function payCycle(payload) {
554
- function __payCycle({ host }) {
555
- const metadata = {
556
- entityFqdn: 'wix.billing.v1.subscription',
557
- method: 'POST',
558
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsBackOfficeService.PayCycle',
559
- packageName: PACKAGE_NAME,
560
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsBackOfficeServiceUrl({
561
- protoPath: '/v1/subscriptions-bo/{subscriptionId}/pay-cycle',
562
- data: payload,
563
- host,
564
- }),
565
- data: payload,
566
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
567
- {
568
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
569
- paths: [
570
- { path: 'subscription.createdDate' },
571
- { path: 'subscription.updatedDate' },
572
- { path: 'subscription.startDate' },
573
- { path: 'subscription.endDate' },
574
- { path: 'subscription.billingStatus.nextBillingDate' },
575
- { path: 'subscription.billingStatus.previousBillingDate' },
576
- {
577
- path: 'subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
578
- },
579
- { path: 'subscription.billingStatus.freeTrialData.startDate' },
580
- { path: 'subscription.billingStatus.freeTrialData.endDate' },
581
- {
582
- path: 'subscription.billingStatus.updateBillingDateData.paidUntil',
583
- },
584
- { path: 'subscription.billingStatus.gracePeriodData.startDate' },
585
- { path: 'subscription.billingStatus.gracePeriodData.endDate' },
586
- { path: 'subscription.pauseInfo.startDate' },
587
- { path: 'subscription.pauseInfo.resumeDate' },
588
- { path: 'subscription.cancellationInfo.cancellationDate' },
589
- {
590
- path: 'subscription.specificDatePendingUpdateData.executionDate',
591
- },
592
- ],
593
- },
594
- ]),
595
- };
596
- return metadata;
597
- }
598
- return __payCycle;
599
- }
600
- exports.payCycle = payCycle;
601
- /** Returns a single subscription by its id */
602
- function getSubscription(payload) {
603
- function __getSubscription({ host }) {
604
- const metadata = {
605
- entityFqdn: 'wix.billing.v1.subscription',
606
- method: 'GET',
607
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.GetSubscription',
608
- packageName: PACKAGE_NAME,
609
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
610
- protoPath: '/v1/subscriptions/{id}',
611
- data: payload,
612
- host,
613
- }),
614
- params: (0, rest_modules_1.toURLSearchParams)(payload),
615
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
616
- {
617
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
618
- paths: [
619
- { path: 'subscription.createdDate' },
620
- { path: 'subscription.updatedDate' },
621
- { path: 'subscription.startDate' },
622
- { path: 'subscription.endDate' },
623
- { path: 'subscription.billingStatus.nextBillingDate' },
624
- { path: 'subscription.billingStatus.previousBillingDate' },
625
- {
626
- path: 'subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
627
- },
628
- { path: 'subscription.billingStatus.freeTrialData.startDate' },
629
- { path: 'subscription.billingStatus.freeTrialData.endDate' },
630
- {
631
- path: 'subscription.billingStatus.updateBillingDateData.paidUntil',
632
- },
633
- { path: 'subscription.billingStatus.gracePeriodData.startDate' },
634
- { path: 'subscription.billingStatus.gracePeriodData.endDate' },
635
- { path: 'subscription.pauseInfo.startDate' },
636
- { path: 'subscription.pauseInfo.resumeDate' },
637
- { path: 'subscription.cancellationInfo.cancellationDate' },
638
- {
639
- path: 'subscription.specificDatePendingUpdateData.executionDate',
640
- },
641
- ],
642
- },
643
- ]),
644
- };
645
- return metadata;
646
- }
647
- return __getSubscription;
648
- }
649
- exports.getSubscription = getSubscription;
650
- /**
651
- * Update subscription's payment method.
652
- * Supported only for recurring subscriptions or one time subscriptions during free trial.
653
- */
654
- function updateSubscriptionPaymentMethod(payload) {
655
- function __updateSubscriptionPaymentMethod({ host }) {
656
- const metadata = {
657
- entityFqdn: 'wix.billing.v1.subscription',
658
- method: 'PATCH',
659
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.UpdateSubscriptionPaymentMethod',
660
- packageName: PACKAGE_NAME,
661
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
662
- protoPath: '/v1/subscriptions/{id}/payment_method',
663
- data: payload,
664
- host,
665
- }),
666
- data: payload,
667
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
668
- {
669
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
670
- paths: [
671
- { path: 'subscription.createdDate' },
672
- { path: 'subscription.updatedDate' },
673
- { path: 'subscription.startDate' },
674
- { path: 'subscription.endDate' },
675
- { path: 'subscription.billingStatus.nextBillingDate' },
676
- { path: 'subscription.billingStatus.previousBillingDate' },
677
- {
678
- path: 'subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
679
- },
680
- { path: 'subscription.billingStatus.freeTrialData.startDate' },
681
- { path: 'subscription.billingStatus.freeTrialData.endDate' },
682
- {
683
- path: 'subscription.billingStatus.updateBillingDateData.paidUntil',
684
- },
685
- { path: 'subscription.billingStatus.gracePeriodData.startDate' },
686
- { path: 'subscription.billingStatus.gracePeriodData.endDate' },
687
- { path: 'subscription.pauseInfo.startDate' },
688
- { path: 'subscription.pauseInfo.resumeDate' },
689
- { path: 'subscription.cancellationInfo.cancellationDate' },
690
- {
691
- path: 'subscription.specificDatePendingUpdateData.executionDate',
692
- },
693
- ],
694
- },
695
- ]),
696
- };
697
- return metadata;
698
- }
699
- return __updateSubscriptionPaymentMethod;
700
- }
701
- exports.updateSubscriptionPaymentMethod = updateSubscriptionPaymentMethod;
702
- /**
703
- * Updates the next billing date for a subscription.
704
- *
705
- *
706
- * Updating the billing date may add a proration charge or credit to the next
707
- * invoice. The customer must pay more in case you extend the current billing
708
- * cycle. They pay less in case you shorten the current billing cycle. You can
709
- * choose whether BASS automatically calculates the proration amount based on
710
- * the number of days added to or removed from the current billing cycle.
711
- * Alternatively, you can pass a proration amount based on your own custom
712
- * calculation. The custom proration amount can't exceed the total of the
713
- * current billing cycle.
714
- */
715
- function updateSubscriptionBillingDate(payload) {
716
- function __updateSubscriptionBillingDate({ host }) {
717
- const serializedData = (0, transform_paths_1.transformPaths)(payload, [
718
- {
719
- transformFn: timestamp_1.transformSDKTimestampToRESTTimestamp,
720
- paths: [{ path: 'billingDate' }],
721
- },
722
- ]);
723
- const metadata = {
724
- entityFqdn: 'wix.billing.v1.subscription',
725
- method: 'PATCH',
726
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.UpdateSubscriptionBillingDate',
727
- packageName: PACKAGE_NAME,
728
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
729
- protoPath: '/v1/subscriptions/{id}/update-billing-date',
730
- data: serializedData,
731
- host,
732
- }),
733
- data: serializedData,
734
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
735
- {
736
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
737
- paths: [
738
- { path: 'subscription.createdDate' },
739
- { path: 'subscription.updatedDate' },
740
- { path: 'subscription.startDate' },
741
- { path: 'subscription.endDate' },
742
- { path: 'subscription.billingStatus.nextBillingDate' },
743
- { path: 'subscription.billingStatus.previousBillingDate' },
744
- {
745
- path: 'subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
746
- },
747
- { path: 'subscription.billingStatus.freeTrialData.startDate' },
748
- { path: 'subscription.billingStatus.freeTrialData.endDate' },
749
- {
750
- path: 'subscription.billingStatus.updateBillingDateData.paidUntil',
751
- },
752
- { path: 'subscription.billingStatus.gracePeriodData.startDate' },
753
- { path: 'subscription.billingStatus.gracePeriodData.endDate' },
754
- { path: 'subscription.pauseInfo.startDate' },
755
- { path: 'subscription.pauseInfo.resumeDate' },
756
- { path: 'subscription.cancellationInfo.cancellationDate' },
757
- {
758
- path: 'subscription.specificDatePendingUpdateData.executionDate',
759
- },
760
- ],
761
- },
762
- ]),
763
- };
764
- return metadata;
765
- }
766
- return __updateSubscriptionBillingDate;
767
- }
768
- exports.updateSubscriptionBillingDate = updateSubscriptionBillingDate;
769
- /**
770
- * Cancels subscription immediately. Can be canceled by member if subscription policy allows it
771
- * Only PENDING, ACTIVE or PAUSED subscriptions can be canceled
772
- */
773
- function cancelSubscription(payload) {
774
- function __cancelSubscription({ host }) {
775
- const metadata = {
776
- entityFqdn: 'wix.billing.v1.subscription',
777
- method: 'POST',
778
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.CancelSubscription',
779
- packageName: PACKAGE_NAME,
780
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
781
- protoPath: '/v1/subscriptions/{id}/cancel',
782
- data: payload,
783
- host,
784
- }),
785
- data: payload,
786
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
787
- {
788
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
789
- paths: [
790
- { path: 'subscription.createdDate' },
791
- { path: 'subscription.updatedDate' },
792
- { path: 'subscription.startDate' },
793
- { path: 'subscription.endDate' },
794
- { path: 'subscription.billingStatus.nextBillingDate' },
795
- { path: 'subscription.billingStatus.previousBillingDate' },
796
- {
797
- path: 'subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
798
- },
799
- { path: 'subscription.billingStatus.freeTrialData.startDate' },
800
- { path: 'subscription.billingStatus.freeTrialData.endDate' },
801
- {
802
- path: 'subscription.billingStatus.updateBillingDateData.paidUntil',
803
- },
804
- { path: 'subscription.billingStatus.gracePeriodData.startDate' },
805
- { path: 'subscription.billingStatus.gracePeriodData.endDate' },
806
- { path: 'subscription.pauseInfo.startDate' },
807
- { path: 'subscription.pauseInfo.resumeDate' },
808
- { path: 'subscription.cancellationInfo.cancellationDate' },
809
- {
810
- path: 'subscription.specificDatePendingUpdateData.executionDate',
811
- },
812
- ],
813
- },
814
- ]),
815
- };
816
- return metadata;
817
- }
818
- return __cancelSubscription;
819
- }
820
- exports.cancelSubscription = cancelSubscription;
821
- /** Pauses subscription now or in future. Possible to pause also payments schedule. */
822
- function pauseSubscription(payload) {
823
- function __pauseSubscription({ host }) {
824
- const serializedData = (0, transform_paths_1.transformPaths)(payload, [
825
- {
826
- transformFn: timestamp_1.transformSDKTimestampToRESTTimestamp,
827
- paths: [
828
- { path: 'pauseAtSchedule.specificDate' },
829
- { path: 'autoResumeAtSchedule.specificDate' },
830
- ],
831
- },
832
- ]);
833
- const metadata = {
834
- entityFqdn: 'wix.billing.v1.subscription',
835
- method: 'POST',
836
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.PauseSubscription',
837
- packageName: PACKAGE_NAME,
838
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
839
- protoPath: '/v1/subscriptions/{id}/pause',
840
- data: serializedData,
841
- host,
842
- }),
843
- data: serializedData,
844
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
845
- {
846
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
847
- paths: [
848
- { path: 'subscription.createdDate' },
849
- { path: 'subscription.updatedDate' },
850
- { path: 'subscription.startDate' },
851
- { path: 'subscription.endDate' },
852
- { path: 'subscription.billingStatus.nextBillingDate' },
853
- { path: 'subscription.billingStatus.previousBillingDate' },
854
- {
855
- path: 'subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
856
- },
857
- { path: 'subscription.billingStatus.freeTrialData.startDate' },
858
- { path: 'subscription.billingStatus.freeTrialData.endDate' },
859
- {
860
- path: 'subscription.billingStatus.updateBillingDateData.paidUntil',
861
- },
862
- { path: 'subscription.billingStatus.gracePeriodData.startDate' },
863
- { path: 'subscription.billingStatus.gracePeriodData.endDate' },
864
- { path: 'subscription.pauseInfo.startDate' },
865
- { path: 'subscription.pauseInfo.resumeDate' },
866
- { path: 'subscription.cancellationInfo.cancellationDate' },
867
- {
868
- path: 'subscription.specificDatePendingUpdateData.executionDate',
869
- },
870
- ],
871
- },
872
- ]),
873
- };
874
- return metadata;
875
- }
876
- return __pauseSubscription;
877
- }
878
- exports.pauseSubscription = pauseSubscription;
879
- /** Resumes paused subscription now or in future. */
880
- function resumeSubscription(payload) {
881
- function __resumeSubscription({ host }) {
882
- const serializedData = (0, transform_paths_1.transformPaths)(payload, [
883
- {
884
- transformFn: timestamp_1.transformSDKTimestampToRESTTimestamp,
885
- paths: [{ path: 'resumeAtSchedule.specificDate' }],
886
- },
887
- ]);
888
- const metadata = {
889
- entityFqdn: 'wix.billing.v1.subscription',
890
- method: 'POST',
891
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.ResumeSubscription',
892
- packageName: PACKAGE_NAME,
893
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
894
- protoPath: '/v1/subscriptions/{id}/resume',
895
- data: serializedData,
896
- host,
897
- }),
898
- data: serializedData,
899
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
900
- {
901
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
902
- paths: [
903
- { path: 'subscription.createdDate' },
904
- { path: 'subscription.updatedDate' },
905
- { path: 'subscription.startDate' },
906
- { path: 'subscription.endDate' },
907
- { path: 'subscription.billingStatus.nextBillingDate' },
908
- { path: 'subscription.billingStatus.previousBillingDate' },
909
- {
910
- path: 'subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
911
- },
912
- { path: 'subscription.billingStatus.freeTrialData.startDate' },
913
- { path: 'subscription.billingStatus.freeTrialData.endDate' },
914
- {
915
- path: 'subscription.billingStatus.updateBillingDateData.paidUntil',
916
- },
917
- { path: 'subscription.billingStatus.gracePeriodData.startDate' },
918
- { path: 'subscription.billingStatus.gracePeriodData.endDate' },
919
- { path: 'subscription.pauseInfo.startDate' },
920
- { path: 'subscription.pauseInfo.resumeDate' },
921
- { path: 'subscription.cancellationInfo.cancellationDate' },
922
- {
923
- path: 'subscription.specificDatePendingUpdateData.executionDate',
924
- },
925
- ],
926
- },
927
- ]),
928
- };
929
- return metadata;
930
- }
931
- return __resumeSubscription;
932
- }
933
- exports.resumeSubscription = resumeSubscription;
934
- /**
935
- * Lists subscriptions based on specified filters.
936
- * By default non-draft subscriptions returned.
937
- */
938
- function querySubscriptions(payload) {
939
- function __querySubscriptions({ host }) {
940
- const metadata = {
941
- entityFqdn: 'wix.billing.v1.subscription',
942
- method: 'POST',
943
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.QuerySubscriptions',
944
- packageName: PACKAGE_NAME,
945
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
946
- protoPath: '/v1/subscriptions/query',
947
- data: payload,
948
- host,
949
- }),
950
- data: payload,
951
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
952
- {
953
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
954
- paths: [
955
- { path: 'subscriptions.createdDate' },
956
- { path: 'subscriptions.updatedDate' },
957
- { path: 'subscriptions.startDate' },
958
- { path: 'subscriptions.endDate' },
959
- { path: 'subscriptions.billingStatus.nextBillingDate' },
960
- { path: 'subscriptions.billingStatus.previousBillingDate' },
961
- {
962
- path: 'subscriptions.billingStatus.latestPaymentData.initialFailedPaymentDate',
963
- },
964
- { path: 'subscriptions.billingStatus.freeTrialData.startDate' },
965
- { path: 'subscriptions.billingStatus.freeTrialData.endDate' },
966
- {
967
- path: 'subscriptions.billingStatus.updateBillingDateData.paidUntil',
968
- },
969
- { path: 'subscriptions.billingStatus.gracePeriodData.startDate' },
970
- { path: 'subscriptions.billingStatus.gracePeriodData.endDate' },
971
- { path: 'subscriptions.pauseInfo.startDate' },
972
- { path: 'subscriptions.pauseInfo.resumeDate' },
973
- { path: 'subscriptions.cancellationInfo.cancellationDate' },
974
- {
975
- path: 'subscriptions.specificDatePendingUpdateData.executionDate',
976
- },
977
- ],
978
- },
979
- ]),
980
- };
981
- return metadata;
982
- }
983
- return __querySubscriptions;
984
- }
985
- exports.querySubscriptions = querySubscriptions;
986
- function searchSubscriptions(payload) {
987
- function __searchSubscriptions({ host }) {
988
- const metadata = {
989
- entityFqdn: 'wix.billing.v1.subscription',
990
- method: 'POST',
991
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.SearchSubscriptions',
992
- packageName: PACKAGE_NAME,
993
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
994
- protoPath: '/v1/subscriptions/search',
995
- data: payload,
996
- host,
997
- }),
998
- data: payload,
999
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
1000
- {
1001
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
1002
- paths: [
1003
- { path: 'subscriptions.createdDate' },
1004
- { path: 'subscriptions.updatedDate' },
1005
- { path: 'subscriptions.startDate' },
1006
- { path: 'subscriptions.endDate' },
1007
- { path: 'subscriptions.billingStatus.nextBillingDate' },
1008
- { path: 'subscriptions.billingStatus.previousBillingDate' },
1009
- {
1010
- path: 'subscriptions.billingStatus.latestPaymentData.initialFailedPaymentDate',
1011
- },
1012
- { path: 'subscriptions.billingStatus.freeTrialData.startDate' },
1013
- { path: 'subscriptions.billingStatus.freeTrialData.endDate' },
1014
- {
1015
- path: 'subscriptions.billingStatus.updateBillingDateData.paidUntil',
1016
- },
1017
- { path: 'subscriptions.billingStatus.gracePeriodData.startDate' },
1018
- { path: 'subscriptions.billingStatus.gracePeriodData.endDate' },
1019
- { path: 'subscriptions.pauseInfo.startDate' },
1020
- { path: 'subscriptions.pauseInfo.resumeDate' },
1021
- { path: 'subscriptions.cancellationInfo.cancellationDate' },
1022
- {
1023
- path: 'subscriptions.specificDatePendingUpdateData.executionDate',
1024
- },
1025
- ],
1026
- },
1027
- ]),
1028
- };
1029
- return metadata;
1030
- }
1031
- return __searchSubscriptions;
1032
- }
1033
- exports.searchSubscriptions = searchSubscriptions;
1034
- /**
1035
- * Counts subscriptions given the provided filters. Returns the total number
1036
- * of subscriptions matching the filters and a count per status.
1037
- *
1038
- *
1039
- * You can either pass a list of statuses or a `statusGroup`, which is a
1040
- * pre-defined combination of statuses.
1041
- *
1042
- * If you don't provide any filters, all subscription statuses with the
1043
- * exception of `"DRAFT"` are counted.
1044
- *
1045
- * You may also specify a `customerId` as filter. Then, only subscriptions for
1046
- * this customer are counted. When providing a `customerId`, you must also
1047
- * specify a `paymentMethodId`.
1048
- */
1049
- function countSubscriptions(payload) {
1050
- function __countSubscriptions({ host }) {
1051
- const metadata = {
1052
- entityFqdn: 'wix.billing.v1.subscription',
1053
- method: 'POST',
1054
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.CountSubscriptions',
1055
- packageName: PACKAGE_NAME,
1056
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1057
- protoPath: '/v1/subscriptions/count',
1058
- data: payload,
1059
- host,
1060
- }),
1061
- data: payload,
1062
- };
1063
- return metadata;
1064
- }
1065
- return __countSubscriptions;
1066
- }
1067
- exports.countSubscriptions = countSubscriptions;
1068
- /**
1069
- * Turn on auto-renew subscription in case auto-renew was turned off. The operation changes back cycle_auto_renew
1070
- * to true, which will ensure subscription billing will continue. Also cancellation info holding information about
1071
- * auto renew off will be cleared.
1072
- */
1073
- function turnOnSubscriptionAutoRenewal(payload) {
1074
- function __turnOnSubscriptionAutoRenewal({ host }) {
1075
- const metadata = {
1076
- entityFqdn: 'wix.billing.v1.subscription',
1077
- method: 'PATCH',
1078
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.TurnOnSubscriptionAutoRenewal',
1079
- packageName: PACKAGE_NAME,
1080
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1081
- protoPath: '/v1/subscriptions/{id}/turn_on_auto_renewal',
1082
- data: payload,
1083
- host,
1084
- }),
1085
- data: payload,
1086
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
1087
- {
1088
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
1089
- paths: [
1090
- { path: 'subscription.createdDate' },
1091
- { path: 'subscription.updatedDate' },
1092
- { path: 'subscription.startDate' },
1093
- { path: 'subscription.endDate' },
1094
- { path: 'subscription.billingStatus.nextBillingDate' },
1095
- { path: 'subscription.billingStatus.previousBillingDate' },
1096
- {
1097
- path: 'subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
1098
- },
1099
- { path: 'subscription.billingStatus.freeTrialData.startDate' },
1100
- { path: 'subscription.billingStatus.freeTrialData.endDate' },
1101
- {
1102
- path: 'subscription.billingStatus.updateBillingDateData.paidUntil',
1103
- },
1104
- { path: 'subscription.billingStatus.gracePeriodData.startDate' },
1105
- { path: 'subscription.billingStatus.gracePeriodData.endDate' },
1106
- { path: 'subscription.pauseInfo.startDate' },
1107
- { path: 'subscription.pauseInfo.resumeDate' },
1108
- { path: 'subscription.cancellationInfo.cancellationDate' },
1109
- {
1110
- path: 'subscription.specificDatePendingUpdateData.executionDate',
1111
- },
1112
- ],
1113
- },
1114
- ]),
1115
- };
1116
- return metadata;
1117
- }
1118
- return __turnOnSubscriptionAutoRenewal;
1119
- }
1120
- exports.turnOnSubscriptionAutoRenewal = turnOnSubscriptionAutoRenewal;
1121
- /**
1122
- * Turn off auto-renew of subscription. At next billing date subscription will be canceled.
1123
- * Billing settings flag cycle_auto_renew is set to false and information about this operation stored
1124
- * in cancellation info for future usage in cancellation.
1125
- */
1126
- function turnOffSubscriptionAutoRenewal(payload) {
1127
- function __turnOffSubscriptionAutoRenewal({ host }) {
1128
- const metadata = {
1129
- entityFqdn: 'wix.billing.v1.subscription',
1130
- method: 'PATCH',
1131
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.TurnOffSubscriptionAutoRenewal',
1132
- packageName: PACKAGE_NAME,
1133
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1134
- protoPath: '/v1/subscriptions/{id}/turn_off_auto_renewal',
1135
- data: payload,
1136
- host,
1137
- }),
1138
- data: payload,
1139
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
1140
- {
1141
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
1142
- paths: [
1143
- { path: 'subscription.createdDate' },
1144
- { path: 'subscription.updatedDate' },
1145
- { path: 'subscription.startDate' },
1146
- { path: 'subscription.endDate' },
1147
- { path: 'subscription.billingStatus.nextBillingDate' },
1148
- { path: 'subscription.billingStatus.previousBillingDate' },
1149
- {
1150
- path: 'subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
1151
- },
1152
- { path: 'subscription.billingStatus.freeTrialData.startDate' },
1153
- { path: 'subscription.billingStatus.freeTrialData.endDate' },
1154
- {
1155
- path: 'subscription.billingStatus.updateBillingDateData.paidUntil',
1156
- },
1157
- { path: 'subscription.billingStatus.gracePeriodData.startDate' },
1158
- { path: 'subscription.billingStatus.gracePeriodData.endDate' },
1159
- { path: 'subscription.pauseInfo.startDate' },
1160
- { path: 'subscription.pauseInfo.resumeDate' },
1161
- { path: 'subscription.cancellationInfo.cancellationDate' },
1162
- {
1163
- path: 'subscription.specificDatePendingUpdateData.executionDate',
1164
- },
1165
- ],
1166
- },
1167
- ]),
1168
- };
1169
- return metadata;
1170
- }
1171
- return __turnOffSubscriptionAutoRenewal;
1172
- }
1173
- exports.turnOffSubscriptionAutoRenewal = turnOffSubscriptionAutoRenewal;
1174
- /**
1175
- * Marks the last invoice as paid used for the following scenarios:
1176
- * * Offline subscriptions.
1177
- * * Online subscriptions during grace period. The operation will convert invoice to offline, remove grace period
1178
- * and will send BillingCycleStarted event after invoice closing.
1179
- * * Online one time payment subscription with total price of zero during purchase flow.
1180
- * Activated event will be sent after invoice closing and subscription will be activated.
1181
- * @deprecated It has been replaced with com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.MarkInvoiceAsPaid(), and will be removed on 2025-09-30.
1182
- */
1183
- function markLatestInvoiceAsPaid(payload) {
1184
- function __markLatestInvoiceAsPaid({ host }) {
1185
- const metadata = {
1186
- entityFqdn: 'wix.billing.v1.subscription',
1187
- method: 'POST',
1188
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.MarkLatestInvoiceAsPaid',
1189
- packageName: PACKAGE_NAME,
1190
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1191
- protoPath: '/v1/subscriptions/{subscriptionId}/mark-latest-invoice-as-paid',
1192
- data: payload,
1193
- host,
1194
- }),
1195
- data: payload,
1196
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
1197
- {
1198
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
1199
- paths: [
1200
- { path: 'subscription.createdDate' },
1201
- { path: 'subscription.updatedDate' },
1202
- { path: 'subscription.startDate' },
1203
- { path: 'subscription.endDate' },
1204
- { path: 'subscription.billingStatus.nextBillingDate' },
1205
- { path: 'subscription.billingStatus.previousBillingDate' },
1206
- {
1207
- path: 'subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
1208
- },
1209
- { path: 'subscription.billingStatus.freeTrialData.startDate' },
1210
- { path: 'subscription.billingStatus.freeTrialData.endDate' },
1211
- {
1212
- path: 'subscription.billingStatus.updateBillingDateData.paidUntil',
1213
- },
1214
- { path: 'subscription.billingStatus.gracePeriodData.startDate' },
1215
- { path: 'subscription.billingStatus.gracePeriodData.endDate' },
1216
- { path: 'subscription.pauseInfo.startDate' },
1217
- { path: 'subscription.pauseInfo.resumeDate' },
1218
- { path: 'subscription.cancellationInfo.cancellationDate' },
1219
- {
1220
- path: 'subscription.specificDatePendingUpdateData.executionDate',
1221
- },
1222
- ],
1223
- },
1224
- ]),
1225
- };
1226
- return metadata;
1227
- }
1228
- return __markLatestInvoiceAsPaid;
1229
- }
1230
- exports.markLatestInvoiceAsPaid = markLatestInvoiceAsPaid;
1231
- /**
1232
- * Marks the invoice associated with given subscription cycle as paid for the following scenarios:
1233
- * If `paid_cycle` is left empty, the most recent invoice will be marked as paid.
1234
- * If the invoice contains items other than subscription items, an error will be thrown.
1235
- *
1236
- * Marks the invoice as paid for the following scenarios:
1237
- * 1. Offline subscriptions.
1238
- * 2. Online subscriptions during the grace period.
1239
- * This operation will convert the invoice to offline, remove the grace period,
1240
- * and send a BillingCycleStarted event after the invoice is closed.
1241
- * 3. Online one-time payment subscriptions with a total price of zero during the purchase flow.
1242
- * An Activated event will be sent after the invoice is closed, and the subscription will be activated.
1243
- * 4. For external subscriptions, where the payment occurs outside of BASS, an invoice is created and marked as paid
1244
- */
1245
- function markBillingCycleAsPaid(payload) {
1246
- function __markBillingCycleAsPaid({ host }) {
1247
- const metadata = {
1248
- entityFqdn: 'wix.billing.v1.subscription',
1249
- method: 'POST',
1250
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.MarkBillingCycleAsPaid',
1251
- packageName: PACKAGE_NAME,
1252
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1253
- protoPath: '/v1/subscriptions/{subscriptionId}/mark-cycle-as-paid',
1254
- data: payload,
1255
- host,
1256
- }),
1257
- data: payload,
1258
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
1259
- {
1260
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
1261
- paths: [
1262
- { path: 'subscription.createdDate' },
1263
- { path: 'subscription.updatedDate' },
1264
- { path: 'subscription.startDate' },
1265
- { path: 'subscription.endDate' },
1266
- { path: 'subscription.billingStatus.nextBillingDate' },
1267
- { path: 'subscription.billingStatus.previousBillingDate' },
1268
- {
1269
- path: 'subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
1270
- },
1271
- { path: 'subscription.billingStatus.freeTrialData.startDate' },
1272
- { path: 'subscription.billingStatus.freeTrialData.endDate' },
1273
- {
1274
- path: 'subscription.billingStatus.updateBillingDateData.paidUntil',
1275
- },
1276
- { path: 'subscription.billingStatus.gracePeriodData.startDate' },
1277
- { path: 'subscription.billingStatus.gracePeriodData.endDate' },
1278
- { path: 'subscription.pauseInfo.startDate' },
1279
- { path: 'subscription.pauseInfo.resumeDate' },
1280
- { path: 'subscription.cancellationInfo.cancellationDate' },
1281
- {
1282
- path: 'subscription.specificDatePendingUpdateData.executionDate',
1283
- },
1284
- ],
1285
- },
1286
- ]),
1287
- };
1288
- return metadata;
1289
- }
1290
- return __markBillingCycleAsPaid;
1291
- }
1292
- exports.markBillingCycleAsPaid = markBillingCycleAsPaid;
1293
- /** Returns number of subscriptions in each state. */
1294
- function getSubscriptionsStats(payload) {
1295
- function __getSubscriptionsStats({ host }) {
1296
- const metadata = {
1297
- entityFqdn: 'wix.billing.v1.subscription',
1298
- method: 'GET',
1299
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.GetSubscriptionsStats',
1300
- packageName: PACKAGE_NAME,
1301
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1302
- protoPath: '/v1/subscriptions/stats',
1303
- data: payload,
1304
- host,
1305
- }),
1306
- params: (0, rest_modules_1.toURLSearchParams)(payload),
1307
- };
1308
- return metadata;
1309
- }
1310
- return __getSubscriptionsStats;
1311
- }
1312
- exports.getSubscriptionsStats = getSubscriptionsStats;
1313
- /** Extends subscription by moving end date with or without billing cycles addition. */
1314
- function extendSubscription(payload) {
1315
- function __extendSubscription({ host }) {
1316
- const metadata = {
1317
- entityFqdn: 'wix.billing.v1.subscription',
1318
- method: 'PATCH',
1319
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.ExtendSubscription',
1320
- packageName: PACKAGE_NAME,
1321
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1322
- protoPath: '/v1/subscriptions/{id}/extend',
1323
- data: payload,
1324
- host,
1325
- }),
1326
- data: payload,
1327
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
1328
- {
1329
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
1330
- paths: [
1331
- { path: 'subscription.createdDate' },
1332
- { path: 'subscription.updatedDate' },
1333
- { path: 'subscription.startDate' },
1334
- { path: 'subscription.endDate' },
1335
- { path: 'subscription.billingStatus.nextBillingDate' },
1336
- { path: 'subscription.billingStatus.previousBillingDate' },
1337
- {
1338
- path: 'subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
1339
- },
1340
- { path: 'subscription.billingStatus.freeTrialData.startDate' },
1341
- { path: 'subscription.billingStatus.freeTrialData.endDate' },
1342
- {
1343
- path: 'subscription.billingStatus.updateBillingDateData.paidUntil',
1344
- },
1345
- { path: 'subscription.billingStatus.gracePeriodData.startDate' },
1346
- { path: 'subscription.billingStatus.gracePeriodData.endDate' },
1347
- { path: 'subscription.pauseInfo.startDate' },
1348
- { path: 'subscription.pauseInfo.resumeDate' },
1349
- { path: 'subscription.cancellationInfo.cancellationDate' },
1350
- {
1351
- path: 'subscription.specificDatePendingUpdateData.executionDate',
1352
- },
1353
- ],
1354
- },
1355
- ]),
1356
- };
1357
- return metadata;
1358
- }
1359
- return __extendSubscription;
1360
- }
1361
- exports.extendSubscription = extendSubscription;
1362
- function allowedActions(payload) {
1363
- function __allowedActions({ host }) {
1364
- const metadata = {
1365
- entityFqdn: 'wix.billing.v1.subscription',
1366
- method: 'GET',
1367
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.AllowedActions',
1368
- packageName: PACKAGE_NAME,
1369
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1370
- protoPath: '/v1/subscriptions/{id}/allowed_actions',
1371
- data: payload,
1372
- host,
1373
- }),
1374
- params: (0, rest_modules_1.toURLSearchParams)(payload),
1375
- };
1376
- return metadata;
1377
- }
1378
- return __allowedActions;
1379
- }
1380
- exports.allowedActions = allowedActions;
1381
- /** List future subscriptions charges */
1382
- function listUpcomingCharges(payload) {
1383
- function __listUpcomingCharges({ host }) {
1384
- const serializedData = (0, transform_paths_1.transformPaths)(payload, [
1385
- {
1386
- transformFn: timestamp_1.transformSDKTimestampToRESTTimestamp,
1387
- paths: [{ path: 'nextBillingDate' }],
1388
- },
1389
- ]);
1390
- const metadata = {
1391
- entityFqdn: 'wix.billing.v1.subscription',
1392
- method: 'GET',
1393
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.ListUpcomingCharges',
1394
- packageName: PACKAGE_NAME,
1395
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1396
- protoPath: '/v1/subscriptions/{subscriptionId}/upcoming_charges',
1397
- data: serializedData,
1398
- host,
1399
- }),
1400
- params: (0, rest_modules_1.toURLSearchParams)(serializedData),
1401
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
1402
- {
1403
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
1404
- paths: [{ path: 'upcomingCharges.billingDate' }],
1405
- },
1406
- ]),
1407
- };
1408
- return metadata;
1409
- }
1410
- return __listUpcomingCharges;
1411
- }
1412
- exports.listUpcomingCharges = listUpcomingCharges;
1413
- /**
1414
- * Retrieves the preview of subscription charges.
1415
- * Returns all the charges applicable to a subscription based on the provided subscription information.
1416
- * @deprecated It has been replaced with com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.PreviewSubscriptionsCharges(), and will be removed on 2025-06-30.
1417
- */
1418
- function previewSubscriptionCharges(payload) {
1419
- function __previewSubscriptionCharges({ host }) {
1420
- const serializedData = (0, transform_paths_1.transformPaths)(payload, [
1421
- {
1422
- transformFn: timestamp_1.transformSDKTimestampToRESTTimestamp,
1423
- paths: [{ path: 'subscriptionInfo.startDate' }],
1424
- },
1425
- ]);
1426
- const metadata = {
1427
- entityFqdn: 'wix.billing.v1.subscription',
1428
- method: 'GET',
1429
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.PreviewSubscriptionCharges',
1430
- packageName: PACKAGE_NAME,
1431
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1432
- protoPath: '/v1/subscriptions/preview_charges',
1433
- data: serializedData,
1434
- host,
1435
- }),
1436
- params: (0, rest_modules_1.toURLSearchParams)(serializedData),
1437
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
1438
- {
1439
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
1440
- paths: [{ path: 'charges.cycleBillingDate' }],
1441
- },
1442
- ]),
1443
- };
1444
- return metadata;
1445
- }
1446
- return __previewSubscriptionCharges;
1447
- }
1448
- exports.previewSubscriptionCharges = previewSubscriptionCharges;
1449
- /**
1450
- * Retrieves the preview of subscription charges for a bulk of subscriptions.
1451
- * Returns all the charges applicable to all subscriptions, based on the provided subscriptions information.
1452
- */
1453
- function previewSubscriptionsCharges(payload) {
1454
- function __previewSubscriptionsCharges({ host }) {
1455
- const serializedData = (0, transform_paths_1.transformPaths)(payload, [
1456
- {
1457
- transformFn: timestamp_1.transformSDKTimestampToRESTTimestamp,
1458
- paths: [{ path: 'subscriptionsBillingDetails.startDate' }],
1459
- },
1460
- ]);
1461
- const metadata = {
1462
- entityFqdn: 'wix.billing.v1.subscription',
1463
- method: 'GET',
1464
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.PreviewSubscriptionsCharges',
1465
- packageName: PACKAGE_NAME,
1466
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1467
- protoPath: '/v1/subscriptions/preview-subscriptions-charges',
1468
- data: serializedData,
1469
- host,
1470
- }),
1471
- params: (0, rest_modules_1.toURLSearchParams)(serializedData),
1472
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
1473
- {
1474
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
1475
- paths: [{ path: 'subscriptionsCharges.charges.cycleBillingDate' }],
1476
- },
1477
- ]),
1478
- };
1479
- return metadata;
1480
- }
1481
- return __previewSubscriptionsCharges;
1482
- }
1483
- exports.previewSubscriptionsCharges = previewSubscriptionsCharges;
1484
- /** Creates authorization invoice with Moto settings in order to create */
1485
- function initiatePaymentMethodSetup(payload) {
1486
- function __initiatePaymentMethodSetup({ host }) {
1487
- const metadata = {
1488
- entityFqdn: 'wix.billing.v1.subscription',
1489
- method: 'POST',
1490
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.InitiatePaymentMethodSetup',
1491
- packageName: PACKAGE_NAME,
1492
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1493
- protoPath: '/v1/subscriptions/{id}/payment_method_setup',
1494
- data: payload,
1495
- host,
1496
- }),
1497
- data: payload,
1498
- };
1499
- return metadata;
1500
- }
1501
- return __initiatePaymentMethodSetup;
1502
- }
1503
- exports.initiatePaymentMethodSetup = initiatePaymentMethodSetup;
1504
- function listSubscriptionHistory(payload) {
1505
- function __listSubscriptionHistory({ host }) {
1506
- const metadata = {
1507
- entityFqdn: 'wix.billing.v1.subscription',
1508
- method: 'GET',
1509
- methodFqn: 'com.wixpress.billing.subscriptions.api.v1.SubscriptionHistoryService.ListSubscriptionHistory',
1510
- packageName: PACKAGE_NAME,
1511
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionHistoryServiceUrl({
1512
- protoPath: '/v1/subscriptions/{subscriptionId}/history',
1513
- data: payload,
1514
- host,
1515
- }),
1516
- params: (0, rest_modules_1.toURLSearchParams)(payload),
1517
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
1518
- {
1519
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
1520
- paths: [
1521
- { path: 'historyEntries.entryTime' },
1522
- { path: 'historyEntries.event.created.subscription.createdDate' },
1523
- { path: 'historyEntries.event.created.subscription.updatedDate' },
1524
- { path: 'historyEntries.event.created.subscription.startDate' },
1525
- { path: 'historyEntries.event.created.subscription.endDate' },
1526
- {
1527
- path: 'historyEntries.event.created.subscription.billingStatus.nextBillingDate',
1528
- },
1529
- {
1530
- path: 'historyEntries.event.created.subscription.billingStatus.previousBillingDate',
1531
- },
1532
- {
1533
- path: 'historyEntries.event.created.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
1534
- },
1535
- {
1536
- path: 'historyEntries.event.created.subscription.billingStatus.freeTrialData.startDate',
1537
- },
1538
- {
1539
- path: 'historyEntries.event.created.subscription.billingStatus.freeTrialData.endDate',
1540
- },
1541
- {
1542
- path: 'historyEntries.event.created.subscription.billingStatus.updateBillingDateData.paidUntil',
1543
- },
1544
- {
1545
- path: 'historyEntries.event.created.subscription.billingStatus.gracePeriodData.startDate',
1546
- },
1547
- {
1548
- path: 'historyEntries.event.created.subscription.billingStatus.gracePeriodData.endDate',
1549
- },
1550
- {
1551
- path: 'historyEntries.event.created.subscription.pauseInfo.startDate',
1552
- },
1553
- {
1554
- path: 'historyEntries.event.created.subscription.pauseInfo.resumeDate',
1555
- },
1556
- {
1557
- path: 'historyEntries.event.created.subscription.cancellationInfo.cancellationDate',
1558
- },
1559
- {
1560
- path: 'historyEntries.event.created.subscription.specificDatePendingUpdateData.executionDate',
1561
- },
1562
- { path: 'historyEntries.event.updated.current.createdDate' },
1563
- { path: 'historyEntries.event.updated.current.updatedDate' },
1564
- { path: 'historyEntries.event.updated.current.startDate' },
1565
- { path: 'historyEntries.event.updated.current.endDate' },
1566
- {
1567
- path: 'historyEntries.event.updated.current.billingStatus.nextBillingDate',
1568
- },
1569
- {
1570
- path: 'historyEntries.event.updated.current.billingStatus.previousBillingDate',
1571
- },
1572
- {
1573
- path: 'historyEntries.event.updated.current.billingStatus.latestPaymentData.initialFailedPaymentDate',
1574
- },
1575
- {
1576
- path: 'historyEntries.event.updated.current.billingStatus.freeTrialData.startDate',
1577
- },
1578
- {
1579
- path: 'historyEntries.event.updated.current.billingStatus.freeTrialData.endDate',
1580
- },
1581
- {
1582
- path: 'historyEntries.event.updated.current.billingStatus.updateBillingDateData.paidUntil',
1583
- },
1584
- {
1585
- path: 'historyEntries.event.updated.current.billingStatus.gracePeriodData.startDate',
1586
- },
1587
- {
1588
- path: 'historyEntries.event.updated.current.billingStatus.gracePeriodData.endDate',
1589
- },
1590
- {
1591
- path: 'historyEntries.event.updated.current.pauseInfo.startDate',
1592
- },
1593
- {
1594
- path: 'historyEntries.event.updated.current.pauseInfo.resumeDate',
1595
- },
1596
- {
1597
- path: 'historyEntries.event.updated.current.cancellationInfo.cancellationDate',
1598
- },
1599
- {
1600
- path: 'historyEntries.event.updated.current.specificDatePendingUpdateData.executionDate',
1601
- },
1602
- { path: 'historyEntries.event.updated.previous.createdDate' },
1603
- { path: 'historyEntries.event.updated.previous.updatedDate' },
1604
- { path: 'historyEntries.event.updated.previous.startDate' },
1605
- { path: 'historyEntries.event.updated.previous.endDate' },
1606
- {
1607
- path: 'historyEntries.event.updated.previous.billingStatus.nextBillingDate',
1608
- },
1609
- {
1610
- path: 'historyEntries.event.updated.previous.billingStatus.previousBillingDate',
1611
- },
1612
- {
1613
- path: 'historyEntries.event.updated.previous.billingStatus.latestPaymentData.initialFailedPaymentDate',
1614
- },
1615
- {
1616
- path: 'historyEntries.event.updated.previous.billingStatus.freeTrialData.startDate',
1617
- },
1618
- {
1619
- path: 'historyEntries.event.updated.previous.billingStatus.freeTrialData.endDate',
1620
- },
1621
- {
1622
- path: 'historyEntries.event.updated.previous.billingStatus.updateBillingDateData.paidUntil',
1623
- },
1624
- {
1625
- path: 'historyEntries.event.updated.previous.billingStatus.gracePeriodData.startDate',
1626
- },
1627
- {
1628
- path: 'historyEntries.event.updated.previous.billingStatus.gracePeriodData.endDate',
1629
- },
1630
- {
1631
- path: 'historyEntries.event.updated.previous.pauseInfo.startDate',
1632
- },
1633
- {
1634
- path: 'historyEntries.event.updated.previous.pauseInfo.resumeDate',
1635
- },
1636
- {
1637
- path: 'historyEntries.event.updated.previous.cancellationInfo.cancellationDate',
1638
- },
1639
- {
1640
- path: 'historyEntries.event.updated.previous.specificDatePendingUpdateData.executionDate',
1641
- },
1642
- {
1643
- path: 'historyEntries.event.activated.subscription.createdDate',
1644
- },
1645
- {
1646
- path: 'historyEntries.event.activated.subscription.updatedDate',
1647
- },
1648
- { path: 'historyEntries.event.activated.subscription.startDate' },
1649
- { path: 'historyEntries.event.activated.subscription.endDate' },
1650
- {
1651
- path: 'historyEntries.event.activated.subscription.billingStatus.nextBillingDate',
1652
- },
1653
- {
1654
- path: 'historyEntries.event.activated.subscription.billingStatus.previousBillingDate',
1655
- },
1656
- {
1657
- path: 'historyEntries.event.activated.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
1658
- },
1659
- {
1660
- path: 'historyEntries.event.activated.subscription.billingStatus.freeTrialData.startDate',
1661
- },
1662
- {
1663
- path: 'historyEntries.event.activated.subscription.billingStatus.freeTrialData.endDate',
1664
- },
1665
- {
1666
- path: 'historyEntries.event.activated.subscription.billingStatus.updateBillingDateData.paidUntil',
1667
- },
1668
- {
1669
- path: 'historyEntries.event.activated.subscription.billingStatus.gracePeriodData.startDate',
1670
- },
1671
- {
1672
- path: 'historyEntries.event.activated.subscription.billingStatus.gracePeriodData.endDate',
1673
- },
1674
- {
1675
- path: 'historyEntries.event.activated.subscription.pauseInfo.startDate',
1676
- },
1677
- {
1678
- path: 'historyEntries.event.activated.subscription.pauseInfo.resumeDate',
1679
- },
1680
- {
1681
- path: 'historyEntries.event.activated.subscription.cancellationInfo.cancellationDate',
1682
- },
1683
- {
1684
- path: 'historyEntries.event.activated.subscription.specificDatePendingUpdateData.executionDate',
1685
- },
1686
- { path: 'historyEntries.event.ended.subscription.createdDate' },
1687
- { path: 'historyEntries.event.ended.subscription.updatedDate' },
1688
- { path: 'historyEntries.event.ended.subscription.startDate' },
1689
- { path: 'historyEntries.event.ended.subscription.endDate' },
1690
- {
1691
- path: 'historyEntries.event.ended.subscription.billingStatus.nextBillingDate',
1692
- },
1693
- {
1694
- path: 'historyEntries.event.ended.subscription.billingStatus.previousBillingDate',
1695
- },
1696
- {
1697
- path: 'historyEntries.event.ended.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
1698
- },
1699
- {
1700
- path: 'historyEntries.event.ended.subscription.billingStatus.freeTrialData.startDate',
1701
- },
1702
- {
1703
- path: 'historyEntries.event.ended.subscription.billingStatus.freeTrialData.endDate',
1704
- },
1705
- {
1706
- path: 'historyEntries.event.ended.subscription.billingStatus.updateBillingDateData.paidUntil',
1707
- },
1708
- {
1709
- path: 'historyEntries.event.ended.subscription.billingStatus.gracePeriodData.startDate',
1710
- },
1711
- {
1712
- path: 'historyEntries.event.ended.subscription.billingStatus.gracePeriodData.endDate',
1713
- },
1714
- {
1715
- path: 'historyEntries.event.ended.subscription.pauseInfo.startDate',
1716
- },
1717
- {
1718
- path: 'historyEntries.event.ended.subscription.pauseInfo.resumeDate',
1719
- },
1720
- {
1721
- path: 'historyEntries.event.ended.subscription.cancellationInfo.cancellationDate',
1722
- },
1723
- {
1724
- path: 'historyEntries.event.ended.subscription.specificDatePendingUpdateData.executionDate',
1725
- },
1726
- {
1727
- path: 'historyEntries.event.canceled.subscription.createdDate',
1728
- },
1729
- {
1730
- path: 'historyEntries.event.canceled.subscription.updatedDate',
1731
- },
1732
- { path: 'historyEntries.event.canceled.subscription.startDate' },
1733
- { path: 'historyEntries.event.canceled.subscription.endDate' },
1734
- {
1735
- path: 'historyEntries.event.canceled.subscription.billingStatus.nextBillingDate',
1736
- },
1737
- {
1738
- path: 'historyEntries.event.canceled.subscription.billingStatus.previousBillingDate',
1739
- },
1740
- {
1741
- path: 'historyEntries.event.canceled.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
1742
- },
1743
- {
1744
- path: 'historyEntries.event.canceled.subscription.billingStatus.freeTrialData.startDate',
1745
- },
1746
- {
1747
- path: 'historyEntries.event.canceled.subscription.billingStatus.freeTrialData.endDate',
1748
- },
1749
- {
1750
- path: 'historyEntries.event.canceled.subscription.billingStatus.updateBillingDateData.paidUntil',
1751
- },
1752
- {
1753
- path: 'historyEntries.event.canceled.subscription.billingStatus.gracePeriodData.startDate',
1754
- },
1755
- {
1756
- path: 'historyEntries.event.canceled.subscription.billingStatus.gracePeriodData.endDate',
1757
- },
1758
- {
1759
- path: 'historyEntries.event.canceled.subscription.pauseInfo.startDate',
1760
- },
1761
- {
1762
- path: 'historyEntries.event.canceled.subscription.pauseInfo.resumeDate',
1763
- },
1764
- {
1765
- path: 'historyEntries.event.canceled.subscription.cancellationInfo.cancellationDate',
1766
- },
1767
- {
1768
- path: 'historyEntries.event.canceled.subscription.specificDatePendingUpdateData.executionDate',
1769
- },
1770
- { path: 'historyEntries.event.paused.subscription.createdDate' },
1771
- { path: 'historyEntries.event.paused.subscription.updatedDate' },
1772
- { path: 'historyEntries.event.paused.subscription.startDate' },
1773
- { path: 'historyEntries.event.paused.subscription.endDate' },
1774
- {
1775
- path: 'historyEntries.event.paused.subscription.billingStatus.nextBillingDate',
1776
- },
1777
- {
1778
- path: 'historyEntries.event.paused.subscription.billingStatus.previousBillingDate',
1779
- },
1780
- {
1781
- path: 'historyEntries.event.paused.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
1782
- },
1783
- {
1784
- path: 'historyEntries.event.paused.subscription.billingStatus.freeTrialData.startDate',
1785
- },
1786
- {
1787
- path: 'historyEntries.event.paused.subscription.billingStatus.freeTrialData.endDate',
1788
- },
1789
- {
1790
- path: 'historyEntries.event.paused.subscription.billingStatus.updateBillingDateData.paidUntil',
1791
- },
1792
- {
1793
- path: 'historyEntries.event.paused.subscription.billingStatus.gracePeriodData.startDate',
1794
- },
1795
- {
1796
- path: 'historyEntries.event.paused.subscription.billingStatus.gracePeriodData.endDate',
1797
- },
1798
- {
1799
- path: 'historyEntries.event.paused.subscription.pauseInfo.startDate',
1800
- },
1801
- {
1802
- path: 'historyEntries.event.paused.subscription.pauseInfo.resumeDate',
1803
- },
1804
- {
1805
- path: 'historyEntries.event.paused.subscription.cancellationInfo.cancellationDate',
1806
- },
1807
- {
1808
- path: 'historyEntries.event.paused.subscription.specificDatePendingUpdateData.executionDate',
1809
- },
1810
- { path: 'historyEntries.event.resumed.subscription.createdDate' },
1811
- { path: 'historyEntries.event.resumed.subscription.updatedDate' },
1812
- { path: 'historyEntries.event.resumed.subscription.startDate' },
1813
- { path: 'historyEntries.event.resumed.subscription.endDate' },
1814
- {
1815
- path: 'historyEntries.event.resumed.subscription.billingStatus.nextBillingDate',
1816
- },
1817
- {
1818
- path: 'historyEntries.event.resumed.subscription.billingStatus.previousBillingDate',
1819
- },
1820
- {
1821
- path: 'historyEntries.event.resumed.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
1822
- },
1823
- {
1824
- path: 'historyEntries.event.resumed.subscription.billingStatus.freeTrialData.startDate',
1825
- },
1826
- {
1827
- path: 'historyEntries.event.resumed.subscription.billingStatus.freeTrialData.endDate',
1828
- },
1829
- {
1830
- path: 'historyEntries.event.resumed.subscription.billingStatus.updateBillingDateData.paidUntil',
1831
- },
1832
- {
1833
- path: 'historyEntries.event.resumed.subscription.billingStatus.gracePeriodData.startDate',
1834
- },
1835
- {
1836
- path: 'historyEntries.event.resumed.subscription.billingStatus.gracePeriodData.endDate',
1837
- },
1838
- {
1839
- path: 'historyEntries.event.resumed.subscription.pauseInfo.startDate',
1840
- },
1841
- {
1842
- path: 'historyEntries.event.resumed.subscription.pauseInfo.resumeDate',
1843
- },
1844
- {
1845
- path: 'historyEntries.event.resumed.subscription.cancellationInfo.cancellationDate',
1846
- },
1847
- {
1848
- path: 'historyEntries.event.resumed.subscription.specificDatePendingUpdateData.executionDate',
1849
- },
1850
- {
1851
- path: 'historyEntries.event.pauseRequested.subscription.createdDate',
1852
- },
1853
- {
1854
- path: 'historyEntries.event.pauseRequested.subscription.updatedDate',
1855
- },
1856
- {
1857
- path: 'historyEntries.event.pauseRequested.subscription.startDate',
1858
- },
1859
- {
1860
- path: 'historyEntries.event.pauseRequested.subscription.endDate',
1861
- },
1862
- {
1863
- path: 'historyEntries.event.pauseRequested.subscription.billingStatus.nextBillingDate',
1864
- },
1865
- {
1866
- path: 'historyEntries.event.pauseRequested.subscription.billingStatus.previousBillingDate',
1867
- },
1868
- {
1869
- path: 'historyEntries.event.pauseRequested.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
1870
- },
1871
- {
1872
- path: 'historyEntries.event.pauseRequested.subscription.billingStatus.freeTrialData.startDate',
1873
- },
1874
- {
1875
- path: 'historyEntries.event.pauseRequested.subscription.billingStatus.freeTrialData.endDate',
1876
- },
1877
- {
1878
- path: 'historyEntries.event.pauseRequested.subscription.billingStatus.updateBillingDateData.paidUntil',
1879
- },
1880
- {
1881
- path: 'historyEntries.event.pauseRequested.subscription.billingStatus.gracePeriodData.startDate',
1882
- },
1883
- {
1884
- path: 'historyEntries.event.pauseRequested.subscription.billingStatus.gracePeriodData.endDate',
1885
- },
1886
- {
1887
- path: 'historyEntries.event.pauseRequested.subscription.pauseInfo.startDate',
1888
- },
1889
- {
1890
- path: 'historyEntries.event.pauseRequested.subscription.pauseInfo.resumeDate',
1891
- },
1892
- {
1893
- path: 'historyEntries.event.pauseRequested.subscription.cancellationInfo.cancellationDate',
1894
- },
1895
- {
1896
- path: 'historyEntries.event.pauseRequested.subscription.specificDatePendingUpdateData.executionDate',
1897
- },
1898
- {
1899
- path: 'historyEntries.event.resumeRequested.subscription.createdDate',
1900
- },
1901
- {
1902
- path: 'historyEntries.event.resumeRequested.subscription.updatedDate',
1903
- },
1904
- {
1905
- path: 'historyEntries.event.resumeRequested.subscription.startDate',
1906
- },
1907
- {
1908
- path: 'historyEntries.event.resumeRequested.subscription.endDate',
1909
- },
1910
- {
1911
- path: 'historyEntries.event.resumeRequested.subscription.billingStatus.nextBillingDate',
1912
- },
1913
- {
1914
- path: 'historyEntries.event.resumeRequested.subscription.billingStatus.previousBillingDate',
1915
- },
1916
- {
1917
- path: 'historyEntries.event.resumeRequested.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
1918
- },
1919
- {
1920
- path: 'historyEntries.event.resumeRequested.subscription.billingStatus.freeTrialData.startDate',
1921
- },
1922
- {
1923
- path: 'historyEntries.event.resumeRequested.subscription.billingStatus.freeTrialData.endDate',
1924
- },
1925
- {
1926
- path: 'historyEntries.event.resumeRequested.subscription.billingStatus.updateBillingDateData.paidUntil',
1927
- },
1928
- {
1929
- path: 'historyEntries.event.resumeRequested.subscription.billingStatus.gracePeriodData.startDate',
1930
- },
1931
- {
1932
- path: 'historyEntries.event.resumeRequested.subscription.billingStatus.gracePeriodData.endDate',
1933
- },
1934
- {
1935
- path: 'historyEntries.event.resumeRequested.subscription.pauseInfo.startDate',
1936
- },
1937
- {
1938
- path: 'historyEntries.event.resumeRequested.subscription.pauseInfo.resumeDate',
1939
- },
1940
- {
1941
- path: 'historyEntries.event.resumeRequested.subscription.cancellationInfo.cancellationDate',
1942
- },
1943
- {
1944
- path: 'historyEntries.event.resumeRequested.subscription.specificDatePendingUpdateData.executionDate',
1945
- },
1946
- {
1947
- path: 'historyEntries.event.scheduledPauseCanceled.subscription.createdDate',
1948
- },
1949
- {
1950
- path: 'historyEntries.event.scheduledPauseCanceled.subscription.updatedDate',
1951
- },
1952
- {
1953
- path: 'historyEntries.event.scheduledPauseCanceled.subscription.startDate',
1954
- },
1955
- {
1956
- path: 'historyEntries.event.scheduledPauseCanceled.subscription.endDate',
1957
- },
1958
- {
1959
- path: 'historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.nextBillingDate',
1960
- },
1961
- {
1962
- path: 'historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.previousBillingDate',
1963
- },
1964
- {
1965
- path: 'historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
1966
- },
1967
- {
1968
- path: 'historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.freeTrialData.startDate',
1969
- },
1970
- {
1971
- path: 'historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.freeTrialData.endDate',
1972
- },
1973
- {
1974
- path: 'historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.updateBillingDateData.paidUntil',
1975
- },
1976
- {
1977
- path: 'historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.gracePeriodData.startDate',
1978
- },
1979
- {
1980
- path: 'historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.gracePeriodData.endDate',
1981
- },
1982
- {
1983
- path: 'historyEntries.event.scheduledPauseCanceled.subscription.pauseInfo.startDate',
1984
- },
1985
- {
1986
- path: 'historyEntries.event.scheduledPauseCanceled.subscription.pauseInfo.resumeDate',
1987
- },
1988
- {
1989
- path: 'historyEntries.event.scheduledPauseCanceled.subscription.cancellationInfo.cancellationDate',
1990
- },
1991
- {
1992
- path: 'historyEntries.event.scheduledPauseCanceled.subscription.specificDatePendingUpdateData.executionDate',
1993
- },
1994
- {
1995
- path: 'historyEntries.event.scheduledResumeCanceled.subscription.createdDate',
1996
- },
1997
- {
1998
- path: 'historyEntries.event.scheduledResumeCanceled.subscription.updatedDate',
1999
- },
2000
- {
2001
- path: 'historyEntries.event.scheduledResumeCanceled.subscription.startDate',
2002
- },
2003
- {
2004
- path: 'historyEntries.event.scheduledResumeCanceled.subscription.endDate',
2005
- },
2006
- {
2007
- path: 'historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.nextBillingDate',
2008
- },
2009
- {
2010
- path: 'historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.previousBillingDate',
2011
- },
2012
- {
2013
- path: 'historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2014
- },
2015
- {
2016
- path: 'historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.freeTrialData.startDate',
2017
- },
2018
- {
2019
- path: 'historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.freeTrialData.endDate',
2020
- },
2021
- {
2022
- path: 'historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.updateBillingDateData.paidUntil',
2023
- },
2024
- {
2025
- path: 'historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.gracePeriodData.startDate',
2026
- },
2027
- {
2028
- path: 'historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.gracePeriodData.endDate',
2029
- },
2030
- {
2031
- path: 'historyEntries.event.scheduledResumeCanceled.subscription.pauseInfo.startDate',
2032
- },
2033
- {
2034
- path: 'historyEntries.event.scheduledResumeCanceled.subscription.pauseInfo.resumeDate',
2035
- },
2036
- {
2037
- path: 'historyEntries.event.scheduledResumeCanceled.subscription.cancellationInfo.cancellationDate',
2038
- },
2039
- {
2040
- path: 'historyEntries.event.scheduledResumeCanceled.subscription.specificDatePendingUpdateData.executionDate',
2041
- },
2042
- {
2043
- path: 'historyEntries.event.billingCycleStarted.subscription.createdDate',
2044
- },
2045
- {
2046
- path: 'historyEntries.event.billingCycleStarted.subscription.updatedDate',
2047
- },
2048
- {
2049
- path: 'historyEntries.event.billingCycleStarted.subscription.startDate',
2050
- },
2051
- {
2052
- path: 'historyEntries.event.billingCycleStarted.subscription.endDate',
2053
- },
2054
- {
2055
- path: 'historyEntries.event.billingCycleStarted.subscription.billingStatus.nextBillingDate',
2056
- },
2057
- {
2058
- path: 'historyEntries.event.billingCycleStarted.subscription.billingStatus.previousBillingDate',
2059
- },
2060
- {
2061
- path: 'historyEntries.event.billingCycleStarted.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2062
- },
2063
- {
2064
- path: 'historyEntries.event.billingCycleStarted.subscription.billingStatus.freeTrialData.startDate',
2065
- },
2066
- {
2067
- path: 'historyEntries.event.billingCycleStarted.subscription.billingStatus.freeTrialData.endDate',
2068
- },
2069
- {
2070
- path: 'historyEntries.event.billingCycleStarted.subscription.billingStatus.updateBillingDateData.paidUntil',
2071
- },
2072
- {
2073
- path: 'historyEntries.event.billingCycleStarted.subscription.billingStatus.gracePeriodData.startDate',
2074
- },
2075
- {
2076
- path: 'historyEntries.event.billingCycleStarted.subscription.billingStatus.gracePeriodData.endDate',
2077
- },
2078
- {
2079
- path: 'historyEntries.event.billingCycleStarted.subscription.pauseInfo.startDate',
2080
- },
2081
- {
2082
- path: 'historyEntries.event.billingCycleStarted.subscription.pauseInfo.resumeDate',
2083
- },
2084
- {
2085
- path: 'historyEntries.event.billingCycleStarted.subscription.cancellationInfo.cancellationDate',
2086
- },
2087
- {
2088
- path: 'historyEntries.event.billingCycleStarted.subscription.specificDatePendingUpdateData.executionDate',
2089
- },
2090
- {
2091
- path: 'historyEntries.event.autoRenewalTurnedOn.subscription.createdDate',
2092
- },
2093
- {
2094
- path: 'historyEntries.event.autoRenewalTurnedOn.subscription.updatedDate',
2095
- },
2096
- {
2097
- path: 'historyEntries.event.autoRenewalTurnedOn.subscription.startDate',
2098
- },
2099
- {
2100
- path: 'historyEntries.event.autoRenewalTurnedOn.subscription.endDate',
2101
- },
2102
- {
2103
- path: 'historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.nextBillingDate',
2104
- },
2105
- {
2106
- path: 'historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.previousBillingDate',
2107
- },
2108
- {
2109
- path: 'historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2110
- },
2111
- {
2112
- path: 'historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.freeTrialData.startDate',
2113
- },
2114
- {
2115
- path: 'historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.freeTrialData.endDate',
2116
- },
2117
- {
2118
- path: 'historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.updateBillingDateData.paidUntil',
2119
- },
2120
- {
2121
- path: 'historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.gracePeriodData.startDate',
2122
- },
2123
- {
2124
- path: 'historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.gracePeriodData.endDate',
2125
- },
2126
- {
2127
- path: 'historyEntries.event.autoRenewalTurnedOn.subscription.pauseInfo.startDate',
2128
- },
2129
- {
2130
- path: 'historyEntries.event.autoRenewalTurnedOn.subscription.pauseInfo.resumeDate',
2131
- },
2132
- {
2133
- path: 'historyEntries.event.autoRenewalTurnedOn.subscription.cancellationInfo.cancellationDate',
2134
- },
2135
- {
2136
- path: 'historyEntries.event.autoRenewalTurnedOn.subscription.specificDatePendingUpdateData.executionDate',
2137
- },
2138
- {
2139
- path: 'historyEntries.event.autoRenewalTurnedOff.subscription.createdDate',
2140
- },
2141
- {
2142
- path: 'historyEntries.event.autoRenewalTurnedOff.subscription.updatedDate',
2143
- },
2144
- {
2145
- path: 'historyEntries.event.autoRenewalTurnedOff.subscription.startDate',
2146
- },
2147
- {
2148
- path: 'historyEntries.event.autoRenewalTurnedOff.subscription.endDate',
2149
- },
2150
- {
2151
- path: 'historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.nextBillingDate',
2152
- },
2153
- {
2154
- path: 'historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.previousBillingDate',
2155
- },
2156
- {
2157
- path: 'historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2158
- },
2159
- {
2160
- path: 'historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.freeTrialData.startDate',
2161
- },
2162
- {
2163
- path: 'historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.freeTrialData.endDate',
2164
- },
2165
- {
2166
- path: 'historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.updateBillingDateData.paidUntil',
2167
- },
2168
- {
2169
- path: 'historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.gracePeriodData.startDate',
2170
- },
2171
- {
2172
- path: 'historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.gracePeriodData.endDate',
2173
- },
2174
- {
2175
- path: 'historyEntries.event.autoRenewalTurnedOff.subscription.pauseInfo.startDate',
2176
- },
2177
- {
2178
- path: 'historyEntries.event.autoRenewalTurnedOff.subscription.pauseInfo.resumeDate',
2179
- },
2180
- {
2181
- path: 'historyEntries.event.autoRenewalTurnedOff.subscription.cancellationInfo.cancellationDate',
2182
- },
2183
- {
2184
- path: 'historyEntries.event.autoRenewalTurnedOff.subscription.specificDatePendingUpdateData.executionDate',
2185
- },
2186
- {
2187
- path: 'historyEntries.event.cycleReadyToPay.subscription.createdDate',
2188
- },
2189
- {
2190
- path: 'historyEntries.event.cycleReadyToPay.subscription.updatedDate',
2191
- },
2192
- {
2193
- path: 'historyEntries.event.cycleReadyToPay.subscription.startDate',
2194
- },
2195
- {
2196
- path: 'historyEntries.event.cycleReadyToPay.subscription.endDate',
2197
- },
2198
- {
2199
- path: 'historyEntries.event.cycleReadyToPay.subscription.billingStatus.nextBillingDate',
2200
- },
2201
- {
2202
- path: 'historyEntries.event.cycleReadyToPay.subscription.billingStatus.previousBillingDate',
2203
- },
2204
- {
2205
- path: 'historyEntries.event.cycleReadyToPay.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2206
- },
2207
- {
2208
- path: 'historyEntries.event.cycleReadyToPay.subscription.billingStatus.freeTrialData.startDate',
2209
- },
2210
- {
2211
- path: 'historyEntries.event.cycleReadyToPay.subscription.billingStatus.freeTrialData.endDate',
2212
- },
2213
- {
2214
- path: 'historyEntries.event.cycleReadyToPay.subscription.billingStatus.updateBillingDateData.paidUntil',
2215
- },
2216
- {
2217
- path: 'historyEntries.event.cycleReadyToPay.subscription.billingStatus.gracePeriodData.startDate',
2218
- },
2219
- {
2220
- path: 'historyEntries.event.cycleReadyToPay.subscription.billingStatus.gracePeriodData.endDate',
2221
- },
2222
- {
2223
- path: 'historyEntries.event.cycleReadyToPay.subscription.pauseInfo.startDate',
2224
- },
2225
- {
2226
- path: 'historyEntries.event.cycleReadyToPay.subscription.pauseInfo.resumeDate',
2227
- },
2228
- {
2229
- path: 'historyEntries.event.cycleReadyToPay.subscription.cancellationInfo.cancellationDate',
2230
- },
2231
- {
2232
- path: 'historyEntries.event.cycleReadyToPay.subscription.specificDatePendingUpdateData.executionDate',
2233
- },
2234
- {
2235
- path: 'historyEntries.event.extended.subscription.createdDate',
2236
- },
2237
- {
2238
- path: 'historyEntries.event.extended.subscription.updatedDate',
2239
- },
2240
- { path: 'historyEntries.event.extended.subscription.startDate' },
2241
- { path: 'historyEntries.event.extended.subscription.endDate' },
2242
- {
2243
- path: 'historyEntries.event.extended.subscription.billingStatus.nextBillingDate',
2244
- },
2245
- {
2246
- path: 'historyEntries.event.extended.subscription.billingStatus.previousBillingDate',
2247
- },
2248
- {
2249
- path: 'historyEntries.event.extended.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2250
- },
2251
- {
2252
- path: 'historyEntries.event.extended.subscription.billingStatus.freeTrialData.startDate',
2253
- },
2254
- {
2255
- path: 'historyEntries.event.extended.subscription.billingStatus.freeTrialData.endDate',
2256
- },
2257
- {
2258
- path: 'historyEntries.event.extended.subscription.billingStatus.updateBillingDateData.paidUntil',
2259
- },
2260
- {
2261
- path: 'historyEntries.event.extended.subscription.billingStatus.gracePeriodData.startDate',
2262
- },
2263
- {
2264
- path: 'historyEntries.event.extended.subscription.billingStatus.gracePeriodData.endDate',
2265
- },
2266
- {
2267
- path: 'historyEntries.event.extended.subscription.pauseInfo.startDate',
2268
- },
2269
- {
2270
- path: 'historyEntries.event.extended.subscription.pauseInfo.resumeDate',
2271
- },
2272
- {
2273
- path: 'historyEntries.event.extended.subscription.cancellationInfo.cancellationDate',
2274
- },
2275
- {
2276
- path: 'historyEntries.event.extended.subscription.specificDatePendingUpdateData.executionDate',
2277
- },
2278
- {
2279
- path: 'historyEntries.event.initialPurchaseCompleted.subscription.createdDate',
2280
- },
2281
- {
2282
- path: 'historyEntries.event.initialPurchaseCompleted.subscription.updatedDate',
2283
- },
2284
- {
2285
- path: 'historyEntries.event.initialPurchaseCompleted.subscription.startDate',
2286
- },
2287
- {
2288
- path: 'historyEntries.event.initialPurchaseCompleted.subscription.endDate',
2289
- },
2290
- {
2291
- path: 'historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.nextBillingDate',
2292
- },
2293
- {
2294
- path: 'historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.previousBillingDate',
2295
- },
2296
- {
2297
- path: 'historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2298
- },
2299
- {
2300
- path: 'historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.freeTrialData.startDate',
2301
- },
2302
- {
2303
- path: 'historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.freeTrialData.endDate',
2304
- },
2305
- {
2306
- path: 'historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.updateBillingDateData.paidUntil',
2307
- },
2308
- {
2309
- path: 'historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.gracePeriodData.startDate',
2310
- },
2311
- {
2312
- path: 'historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.gracePeriodData.endDate',
2313
- },
2314
- {
2315
- path: 'historyEntries.event.initialPurchaseCompleted.subscription.pauseInfo.startDate',
2316
- },
2317
- {
2318
- path: 'historyEntries.event.initialPurchaseCompleted.subscription.pauseInfo.resumeDate',
2319
- },
2320
- {
2321
- path: 'historyEntries.event.initialPurchaseCompleted.subscription.cancellationInfo.cancellationDate',
2322
- },
2323
- {
2324
- path: 'historyEntries.event.initialPurchaseCompleted.subscription.specificDatePendingUpdateData.executionDate',
2325
- },
2326
- {
2327
- path: 'historyEntries.event.latestInvoiceMarkedAsPaid.subscription.createdDate',
2328
- },
2329
- {
2330
- path: 'historyEntries.event.latestInvoiceMarkedAsPaid.subscription.updatedDate',
2331
- },
2332
- {
2333
- path: 'historyEntries.event.latestInvoiceMarkedAsPaid.subscription.startDate',
2334
- },
2335
- {
2336
- path: 'historyEntries.event.latestInvoiceMarkedAsPaid.subscription.endDate',
2337
- },
2338
- {
2339
- path: 'historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.nextBillingDate',
2340
- },
2341
- {
2342
- path: 'historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.previousBillingDate',
2343
- },
2344
- {
2345
- path: 'historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2346
- },
2347
- {
2348
- path: 'historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.freeTrialData.startDate',
2349
- },
2350
- {
2351
- path: 'historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.freeTrialData.endDate',
2352
- },
2353
- {
2354
- path: 'historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.updateBillingDateData.paidUntil',
2355
- },
2356
- {
2357
- path: 'historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.gracePeriodData.startDate',
2358
- },
2359
- {
2360
- path: 'historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.gracePeriodData.endDate',
2361
- },
2362
- {
2363
- path: 'historyEntries.event.latestInvoiceMarkedAsPaid.subscription.pauseInfo.startDate',
2364
- },
2365
- {
2366
- path: 'historyEntries.event.latestInvoiceMarkedAsPaid.subscription.pauseInfo.resumeDate',
2367
- },
2368
- {
2369
- path: 'historyEntries.event.latestInvoiceMarkedAsPaid.subscription.cancellationInfo.cancellationDate',
2370
- },
2371
- {
2372
- path: 'historyEntries.event.latestInvoiceMarkedAsPaid.subscription.specificDatePendingUpdateData.executionDate',
2373
- },
2374
- { path: 'historyEntries.event.revived.subscription.createdDate' },
2375
- { path: 'historyEntries.event.revived.subscription.updatedDate' },
2376
- { path: 'historyEntries.event.revived.subscription.startDate' },
2377
- { path: 'historyEntries.event.revived.subscription.endDate' },
2378
- {
2379
- path: 'historyEntries.event.revived.subscription.billingStatus.nextBillingDate',
2380
- },
2381
- {
2382
- path: 'historyEntries.event.revived.subscription.billingStatus.previousBillingDate',
2383
- },
2384
- {
2385
- path: 'historyEntries.event.revived.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2386
- },
2387
- {
2388
- path: 'historyEntries.event.revived.subscription.billingStatus.freeTrialData.startDate',
2389
- },
2390
- {
2391
- path: 'historyEntries.event.revived.subscription.billingStatus.freeTrialData.endDate',
2392
- },
2393
- {
2394
- path: 'historyEntries.event.revived.subscription.billingStatus.updateBillingDateData.paidUntil',
2395
- },
2396
- {
2397
- path: 'historyEntries.event.revived.subscription.billingStatus.gracePeriodData.startDate',
2398
- },
2399
- {
2400
- path: 'historyEntries.event.revived.subscription.billingStatus.gracePeriodData.endDate',
2401
- },
2402
- {
2403
- path: 'historyEntries.event.revived.subscription.pauseInfo.startDate',
2404
- },
2405
- {
2406
- path: 'historyEntries.event.revived.subscription.pauseInfo.resumeDate',
2407
- },
2408
- {
2409
- path: 'historyEntries.event.revived.subscription.cancellationInfo.cancellationDate',
2410
- },
2411
- {
2412
- path: 'historyEntries.event.revived.subscription.specificDatePendingUpdateData.executionDate',
2413
- },
2414
- { path: 'historyEntries.event.billingDateUpdated.billingDate' },
2415
- {
2416
- path: 'historyEntries.event.billingDateUpdated.subscription.createdDate',
2417
- },
2418
- {
2419
- path: 'historyEntries.event.billingDateUpdated.subscription.updatedDate',
2420
- },
2421
- {
2422
- path: 'historyEntries.event.billingDateUpdated.subscription.startDate',
2423
- },
2424
- {
2425
- path: 'historyEntries.event.billingDateUpdated.subscription.endDate',
2426
- },
2427
- {
2428
- path: 'historyEntries.event.billingDateUpdated.subscription.billingStatus.nextBillingDate',
2429
- },
2430
- {
2431
- path: 'historyEntries.event.billingDateUpdated.subscription.billingStatus.previousBillingDate',
2432
- },
2433
- {
2434
- path: 'historyEntries.event.billingDateUpdated.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2435
- },
2436
- {
2437
- path: 'historyEntries.event.billingDateUpdated.subscription.billingStatus.freeTrialData.startDate',
2438
- },
2439
- {
2440
- path: 'historyEntries.event.billingDateUpdated.subscription.billingStatus.freeTrialData.endDate',
2441
- },
2442
- {
2443
- path: 'historyEntries.event.billingDateUpdated.subscription.billingStatus.updateBillingDateData.paidUntil',
2444
- },
2445
- {
2446
- path: 'historyEntries.event.billingDateUpdated.subscription.billingStatus.gracePeriodData.startDate',
2447
- },
2448
- {
2449
- path: 'historyEntries.event.billingDateUpdated.subscription.billingStatus.gracePeriodData.endDate',
2450
- },
2451
- {
2452
- path: 'historyEntries.event.billingDateUpdated.subscription.pauseInfo.startDate',
2453
- },
2454
- {
2455
- path: 'historyEntries.event.billingDateUpdated.subscription.pauseInfo.resumeDate',
2456
- },
2457
- {
2458
- path: 'historyEntries.event.billingDateUpdated.subscription.cancellationInfo.cancellationDate',
2459
- },
2460
- {
2461
- path: 'historyEntries.event.billingDateUpdated.subscription.specificDatePendingUpdateData.executionDate',
2462
- },
2463
- {
2464
- path: 'historyEntries.event.futureUpdatesRequested.subscription.createdDate',
2465
- },
2466
- {
2467
- path: 'historyEntries.event.futureUpdatesRequested.subscription.updatedDate',
2468
- },
2469
- {
2470
- path: 'historyEntries.event.futureUpdatesRequested.subscription.startDate',
2471
- },
2472
- {
2473
- path: 'historyEntries.event.futureUpdatesRequested.subscription.endDate',
2474
- },
2475
- {
2476
- path: 'historyEntries.event.futureUpdatesRequested.subscription.billingStatus.nextBillingDate',
2477
- },
2478
- {
2479
- path: 'historyEntries.event.futureUpdatesRequested.subscription.billingStatus.previousBillingDate',
2480
- },
2481
- {
2482
- path: 'historyEntries.event.futureUpdatesRequested.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2483
- },
2484
- {
2485
- path: 'historyEntries.event.futureUpdatesRequested.subscription.billingStatus.freeTrialData.startDate',
2486
- },
2487
- {
2488
- path: 'historyEntries.event.futureUpdatesRequested.subscription.billingStatus.freeTrialData.endDate',
2489
- },
2490
- {
2491
- path: 'historyEntries.event.futureUpdatesRequested.subscription.billingStatus.updateBillingDateData.paidUntil',
2492
- },
2493
- {
2494
- path: 'historyEntries.event.futureUpdatesRequested.subscription.billingStatus.gracePeriodData.startDate',
2495
- },
2496
- {
2497
- path: 'historyEntries.event.futureUpdatesRequested.subscription.billingStatus.gracePeriodData.endDate',
2498
- },
2499
- {
2500
- path: 'historyEntries.event.futureUpdatesRequested.subscription.pauseInfo.startDate',
2501
- },
2502
- {
2503
- path: 'historyEntries.event.futureUpdatesRequested.subscription.pauseInfo.resumeDate',
2504
- },
2505
- {
2506
- path: 'historyEntries.event.futureUpdatesRequested.subscription.cancellationInfo.cancellationDate',
2507
- },
2508
- {
2509
- path: 'historyEntries.event.futureUpdatesRequested.subscription.specificDatePendingUpdateData.executionDate',
2510
- },
2511
- {
2512
- path: 'historyEntries.event.updatesApplied.subscription.createdDate',
2513
- },
2514
- {
2515
- path: 'historyEntries.event.updatesApplied.subscription.updatedDate',
2516
- },
2517
- {
2518
- path: 'historyEntries.event.updatesApplied.subscription.startDate',
2519
- },
2520
- {
2521
- path: 'historyEntries.event.updatesApplied.subscription.endDate',
2522
- },
2523
- {
2524
- path: 'historyEntries.event.updatesApplied.subscription.billingStatus.nextBillingDate',
2525
- },
2526
- {
2527
- path: 'historyEntries.event.updatesApplied.subscription.billingStatus.previousBillingDate',
2528
- },
2529
- {
2530
- path: 'historyEntries.event.updatesApplied.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2531
- },
2532
- {
2533
- path: 'historyEntries.event.updatesApplied.subscription.billingStatus.freeTrialData.startDate',
2534
- },
2535
- {
2536
- path: 'historyEntries.event.updatesApplied.subscription.billingStatus.freeTrialData.endDate',
2537
- },
2538
- {
2539
- path: 'historyEntries.event.updatesApplied.subscription.billingStatus.updateBillingDateData.paidUntil',
2540
- },
2541
- {
2542
- path: 'historyEntries.event.updatesApplied.subscription.billingStatus.gracePeriodData.startDate',
2543
- },
2544
- {
2545
- path: 'historyEntries.event.updatesApplied.subscription.billingStatus.gracePeriodData.endDate',
2546
- },
2547
- {
2548
- path: 'historyEntries.event.updatesApplied.subscription.pauseInfo.startDate',
2549
- },
2550
- {
2551
- path: 'historyEntries.event.updatesApplied.subscription.pauseInfo.resumeDate',
2552
- },
2553
- {
2554
- path: 'historyEntries.event.updatesApplied.subscription.cancellationInfo.cancellationDate',
2555
- },
2556
- {
2557
- path: 'historyEntries.event.updatesApplied.subscription.specificDatePendingUpdateData.executionDate',
2558
- },
2559
- {
2560
- path: 'historyEntries.event.resetPendingUpdates.subscription.createdDate',
2561
- },
2562
- {
2563
- path: 'historyEntries.event.resetPendingUpdates.subscription.updatedDate',
2564
- },
2565
- {
2566
- path: 'historyEntries.event.resetPendingUpdates.subscription.startDate',
2567
- },
2568
- {
2569
- path: 'historyEntries.event.resetPendingUpdates.subscription.endDate',
2570
- },
2571
- {
2572
- path: 'historyEntries.event.resetPendingUpdates.subscription.billingStatus.nextBillingDate',
2573
- },
2574
- {
2575
- path: 'historyEntries.event.resetPendingUpdates.subscription.billingStatus.previousBillingDate',
2576
- },
2577
- {
2578
- path: 'historyEntries.event.resetPendingUpdates.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2579
- },
2580
- {
2581
- path: 'historyEntries.event.resetPendingUpdates.subscription.billingStatus.freeTrialData.startDate',
2582
- },
2583
- {
2584
- path: 'historyEntries.event.resetPendingUpdates.subscription.billingStatus.freeTrialData.endDate',
2585
- },
2586
- {
2587
- path: 'historyEntries.event.resetPendingUpdates.subscription.billingStatus.updateBillingDateData.paidUntil',
2588
- },
2589
- {
2590
- path: 'historyEntries.event.resetPendingUpdates.subscription.billingStatus.gracePeriodData.startDate',
2591
- },
2592
- {
2593
- path: 'historyEntries.event.resetPendingUpdates.subscription.billingStatus.gracePeriodData.endDate',
2594
- },
2595
- {
2596
- path: 'historyEntries.event.resetPendingUpdates.subscription.pauseInfo.startDate',
2597
- },
2598
- {
2599
- path: 'historyEntries.event.resetPendingUpdates.subscription.pauseInfo.resumeDate',
2600
- },
2601
- {
2602
- path: 'historyEntries.event.resetPendingUpdates.subscription.cancellationInfo.cancellationDate',
2603
- },
2604
- {
2605
- path: 'historyEntries.event.resetPendingUpdates.subscription.specificDatePendingUpdateData.executionDate',
2606
- },
2607
- {
2608
- path: 'historyEntries.event.gracePeriodStarted.subscription.createdDate',
2609
- },
2610
- {
2611
- path: 'historyEntries.event.gracePeriodStarted.subscription.updatedDate',
2612
- },
2613
- {
2614
- path: 'historyEntries.event.gracePeriodStarted.subscription.startDate',
2615
- },
2616
- {
2617
- path: 'historyEntries.event.gracePeriodStarted.subscription.endDate',
2618
- },
2619
- {
2620
- path: 'historyEntries.event.gracePeriodStarted.subscription.billingStatus.nextBillingDate',
2621
- },
2622
- {
2623
- path: 'historyEntries.event.gracePeriodStarted.subscription.billingStatus.previousBillingDate',
2624
- },
2625
- {
2626
- path: 'historyEntries.event.gracePeriodStarted.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2627
- },
2628
- {
2629
- path: 'historyEntries.event.gracePeriodStarted.subscription.billingStatus.freeTrialData.startDate',
2630
- },
2631
- {
2632
- path: 'historyEntries.event.gracePeriodStarted.subscription.billingStatus.freeTrialData.endDate',
2633
- },
2634
- {
2635
- path: 'historyEntries.event.gracePeriodStarted.subscription.billingStatus.updateBillingDateData.paidUntil',
2636
- },
2637
- {
2638
- path: 'historyEntries.event.gracePeriodStarted.subscription.billingStatus.gracePeriodData.startDate',
2639
- },
2640
- {
2641
- path: 'historyEntries.event.gracePeriodStarted.subscription.billingStatus.gracePeriodData.endDate',
2642
- },
2643
- {
2644
- path: 'historyEntries.event.gracePeriodStarted.subscription.pauseInfo.startDate',
2645
- },
2646
- {
2647
- path: 'historyEntries.event.gracePeriodStarted.subscription.pauseInfo.resumeDate',
2648
- },
2649
- {
2650
- path: 'historyEntries.event.gracePeriodStarted.subscription.cancellationInfo.cancellationDate',
2651
- },
2652
- {
2653
- path: 'historyEntries.event.gracePeriodStarted.subscription.specificDatePendingUpdateData.executionDate',
2654
- },
2655
- {
2656
- path: 'historyEntries.event.gracePeriodEnded.subscription.createdDate',
2657
- },
2658
- {
2659
- path: 'historyEntries.event.gracePeriodEnded.subscription.updatedDate',
2660
- },
2661
- {
2662
- path: 'historyEntries.event.gracePeriodEnded.subscription.startDate',
2663
- },
2664
- {
2665
- path: 'historyEntries.event.gracePeriodEnded.subscription.endDate',
2666
- },
2667
- {
2668
- path: 'historyEntries.event.gracePeriodEnded.subscription.billingStatus.nextBillingDate',
2669
- },
2670
- {
2671
- path: 'historyEntries.event.gracePeriodEnded.subscription.billingStatus.previousBillingDate',
2672
- },
2673
- {
2674
- path: 'historyEntries.event.gracePeriodEnded.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2675
- },
2676
- {
2677
- path: 'historyEntries.event.gracePeriodEnded.subscription.billingStatus.freeTrialData.startDate',
2678
- },
2679
- {
2680
- path: 'historyEntries.event.gracePeriodEnded.subscription.billingStatus.freeTrialData.endDate',
2681
- },
2682
- {
2683
- path: 'historyEntries.event.gracePeriodEnded.subscription.billingStatus.updateBillingDateData.paidUntil',
2684
- },
2685
- {
2686
- path: 'historyEntries.event.gracePeriodEnded.subscription.billingStatus.gracePeriodData.startDate',
2687
- },
2688
- {
2689
- path: 'historyEntries.event.gracePeriodEnded.subscription.billingStatus.gracePeriodData.endDate',
2690
- },
2691
- {
2692
- path: 'historyEntries.event.gracePeriodEnded.subscription.pauseInfo.startDate',
2693
- },
2694
- {
2695
- path: 'historyEntries.event.gracePeriodEnded.subscription.pauseInfo.resumeDate',
2696
- },
2697
- {
2698
- path: 'historyEntries.event.gracePeriodEnded.subscription.cancellationInfo.cancellationDate',
2699
- },
2700
- {
2701
- path: 'historyEntries.event.gracePeriodEnded.subscription.specificDatePendingUpdateData.executionDate',
2702
- },
2703
- {
2704
- path: 'historyEntries.event.paymentMethodUpdated.subscription.createdDate',
2705
- },
2706
- {
2707
- path: 'historyEntries.event.paymentMethodUpdated.subscription.updatedDate',
2708
- },
2709
- {
2710
- path: 'historyEntries.event.paymentMethodUpdated.subscription.startDate',
2711
- },
2712
- {
2713
- path: 'historyEntries.event.paymentMethodUpdated.subscription.endDate',
2714
- },
2715
- {
2716
- path: 'historyEntries.event.paymentMethodUpdated.subscription.billingStatus.nextBillingDate',
2717
- },
2718
- {
2719
- path: 'historyEntries.event.paymentMethodUpdated.subscription.billingStatus.previousBillingDate',
2720
- },
2721
- {
2722
- path: 'historyEntries.event.paymentMethodUpdated.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2723
- },
2724
- {
2725
- path: 'historyEntries.event.paymentMethodUpdated.subscription.billingStatus.freeTrialData.startDate',
2726
- },
2727
- {
2728
- path: 'historyEntries.event.paymentMethodUpdated.subscription.billingStatus.freeTrialData.endDate',
2729
- },
2730
- {
2731
- path: 'historyEntries.event.paymentMethodUpdated.subscription.billingStatus.updateBillingDateData.paidUntil',
2732
- },
2733
- {
2734
- path: 'historyEntries.event.paymentMethodUpdated.subscription.billingStatus.gracePeriodData.startDate',
2735
- },
2736
- {
2737
- path: 'historyEntries.event.paymentMethodUpdated.subscription.billingStatus.gracePeriodData.endDate',
2738
- },
2739
- {
2740
- path: 'historyEntries.event.paymentMethodUpdated.subscription.pauseInfo.startDate',
2741
- },
2742
- {
2743
- path: 'historyEntries.event.paymentMethodUpdated.subscription.pauseInfo.resumeDate',
2744
- },
2745
- {
2746
- path: 'historyEntries.event.paymentMethodUpdated.subscription.cancellationInfo.cancellationDate',
2747
- },
2748
- {
2749
- path: 'historyEntries.event.paymentMethodUpdated.subscription.specificDatePendingUpdateData.executionDate',
2750
- },
2751
- {
2752
- path: 'historyEntries.event.collectionMethodUpdated.subscription.createdDate',
2753
- },
2754
- {
2755
- path: 'historyEntries.event.collectionMethodUpdated.subscription.updatedDate',
2756
- },
2757
- {
2758
- path: 'historyEntries.event.collectionMethodUpdated.subscription.startDate',
2759
- },
2760
- {
2761
- path: 'historyEntries.event.collectionMethodUpdated.subscription.endDate',
2762
- },
2763
- {
2764
- path: 'historyEntries.event.collectionMethodUpdated.subscription.billingStatus.nextBillingDate',
2765
- },
2766
- {
2767
- path: 'historyEntries.event.collectionMethodUpdated.subscription.billingStatus.previousBillingDate',
2768
- },
2769
- {
2770
- path: 'historyEntries.event.collectionMethodUpdated.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2771
- },
2772
- {
2773
- path: 'historyEntries.event.collectionMethodUpdated.subscription.billingStatus.freeTrialData.startDate',
2774
- },
2775
- {
2776
- path: 'historyEntries.event.collectionMethodUpdated.subscription.billingStatus.freeTrialData.endDate',
2777
- },
2778
- {
2779
- path: 'historyEntries.event.collectionMethodUpdated.subscription.billingStatus.updateBillingDateData.paidUntil',
2780
- },
2781
- {
2782
- path: 'historyEntries.event.collectionMethodUpdated.subscription.billingStatus.gracePeriodData.startDate',
2783
- },
2784
- {
2785
- path: 'historyEntries.event.collectionMethodUpdated.subscription.billingStatus.gracePeriodData.endDate',
2786
- },
2787
- {
2788
- path: 'historyEntries.event.collectionMethodUpdated.subscription.pauseInfo.startDate',
2789
- },
2790
- {
2791
- path: 'historyEntries.event.collectionMethodUpdated.subscription.pauseInfo.resumeDate',
2792
- },
2793
- {
2794
- path: 'historyEntries.event.collectionMethodUpdated.subscription.cancellationInfo.cancellationDate',
2795
- },
2796
- {
2797
- path: 'historyEntries.event.collectionMethodUpdated.subscription.specificDatePendingUpdateData.executionDate',
2798
- },
2799
- {
2800
- path: 'historyEntries.event.freeTrailStarted.subscription.createdDate',
2801
- },
2802
- {
2803
- path: 'historyEntries.event.freeTrailStarted.subscription.updatedDate',
2804
- },
2805
- {
2806
- path: 'historyEntries.event.freeTrailStarted.subscription.startDate',
2807
- },
2808
- {
2809
- path: 'historyEntries.event.freeTrailStarted.subscription.endDate',
2810
- },
2811
- {
2812
- path: 'historyEntries.event.freeTrailStarted.subscription.billingStatus.nextBillingDate',
2813
- },
2814
- {
2815
- path: 'historyEntries.event.freeTrailStarted.subscription.billingStatus.previousBillingDate',
2816
- },
2817
- {
2818
- path: 'historyEntries.event.freeTrailStarted.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2819
- },
2820
- {
2821
- path: 'historyEntries.event.freeTrailStarted.subscription.billingStatus.freeTrialData.startDate',
2822
- },
2823
- {
2824
- path: 'historyEntries.event.freeTrailStarted.subscription.billingStatus.freeTrialData.endDate',
2825
- },
2826
- {
2827
- path: 'historyEntries.event.freeTrailStarted.subscription.billingStatus.updateBillingDateData.paidUntil',
2828
- },
2829
- {
2830
- path: 'historyEntries.event.freeTrailStarted.subscription.billingStatus.gracePeriodData.startDate',
2831
- },
2832
- {
2833
- path: 'historyEntries.event.freeTrailStarted.subscription.billingStatus.gracePeriodData.endDate',
2834
- },
2835
- {
2836
- path: 'historyEntries.event.freeTrailStarted.subscription.pauseInfo.startDate',
2837
- },
2838
- {
2839
- path: 'historyEntries.event.freeTrailStarted.subscription.pauseInfo.resumeDate',
2840
- },
2841
- {
2842
- path: 'historyEntries.event.freeTrailStarted.subscription.cancellationInfo.cancellationDate',
2843
- },
2844
- {
2845
- path: 'historyEntries.event.freeTrailStarted.subscription.specificDatePendingUpdateData.executionDate',
2846
- },
2847
- {
2848
- path: 'historyEntries.event.freeTrailEnded.subscription.createdDate',
2849
- },
2850
- {
2851
- path: 'historyEntries.event.freeTrailEnded.subscription.updatedDate',
2852
- },
2853
- {
2854
- path: 'historyEntries.event.freeTrailEnded.subscription.startDate',
2855
- },
2856
- {
2857
- path: 'historyEntries.event.freeTrailEnded.subscription.endDate',
2858
- },
2859
- {
2860
- path: 'historyEntries.event.freeTrailEnded.subscription.billingStatus.nextBillingDate',
2861
- },
2862
- {
2863
- path: 'historyEntries.event.freeTrailEnded.subscription.billingStatus.previousBillingDate',
2864
- },
2865
- {
2866
- path: 'historyEntries.event.freeTrailEnded.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2867
- },
2868
- {
2869
- path: 'historyEntries.event.freeTrailEnded.subscription.billingStatus.freeTrialData.startDate',
2870
- },
2871
- {
2872
- path: 'historyEntries.event.freeTrailEnded.subscription.billingStatus.freeTrialData.endDate',
2873
- },
2874
- {
2875
- path: 'historyEntries.event.freeTrailEnded.subscription.billingStatus.updateBillingDateData.paidUntil',
2876
- },
2877
- {
2878
- path: 'historyEntries.event.freeTrailEnded.subscription.billingStatus.gracePeriodData.startDate',
2879
- },
2880
- {
2881
- path: 'historyEntries.event.freeTrailEnded.subscription.billingStatus.gracePeriodData.endDate',
2882
- },
2883
- {
2884
- path: 'historyEntries.event.freeTrailEnded.subscription.pauseInfo.startDate',
2885
- },
2886
- {
2887
- path: 'historyEntries.event.freeTrailEnded.subscription.pauseInfo.resumeDate',
2888
- },
2889
- {
2890
- path: 'historyEntries.event.freeTrailEnded.subscription.cancellationInfo.cancellationDate',
2891
- },
2892
- {
2893
- path: 'historyEntries.event.freeTrailEnded.subscription.specificDatePendingUpdateData.executionDate',
2894
- },
2895
- {
2896
- path: 'historyEntries.event.billingCyclePaid.subscription.createdDate',
2897
- },
2898
- {
2899
- path: 'historyEntries.event.billingCyclePaid.subscription.updatedDate',
2900
- },
2901
- {
2902
- path: 'historyEntries.event.billingCyclePaid.subscription.startDate',
2903
- },
2904
- {
2905
- path: 'historyEntries.event.billingCyclePaid.subscription.endDate',
2906
- },
2907
- {
2908
- path: 'historyEntries.event.billingCyclePaid.subscription.billingStatus.nextBillingDate',
2909
- },
2910
- {
2911
- path: 'historyEntries.event.billingCyclePaid.subscription.billingStatus.previousBillingDate',
2912
- },
2913
- {
2914
- path: 'historyEntries.event.billingCyclePaid.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2915
- },
2916
- {
2917
- path: 'historyEntries.event.billingCyclePaid.subscription.billingStatus.freeTrialData.startDate',
2918
- },
2919
- {
2920
- path: 'historyEntries.event.billingCyclePaid.subscription.billingStatus.freeTrialData.endDate',
2921
- },
2922
- {
2923
- path: 'historyEntries.event.billingCyclePaid.subscription.billingStatus.updateBillingDateData.paidUntil',
2924
- },
2925
- {
2926
- path: 'historyEntries.event.billingCyclePaid.subscription.billingStatus.gracePeriodData.startDate',
2927
- },
2928
- {
2929
- path: 'historyEntries.event.billingCyclePaid.subscription.billingStatus.gracePeriodData.endDate',
2930
- },
2931
- {
2932
- path: 'historyEntries.event.billingCyclePaid.subscription.pauseInfo.startDate',
2933
- },
2934
- {
2935
- path: 'historyEntries.event.billingCyclePaid.subscription.pauseInfo.resumeDate',
2936
- },
2937
- {
2938
- path: 'historyEntries.event.billingCyclePaid.subscription.cancellationInfo.cancellationDate',
2939
- },
2940
- {
2941
- path: 'historyEntries.event.billingCyclePaid.subscription.specificDatePendingUpdateData.executionDate',
2942
- },
2943
- {
2944
- path: 'historyEntries.event.initiatePaymentMethodSetup.subscription.createdDate',
2945
- },
2946
- {
2947
- path: 'historyEntries.event.initiatePaymentMethodSetup.subscription.updatedDate',
2948
- },
2949
- {
2950
- path: 'historyEntries.event.initiatePaymentMethodSetup.subscription.startDate',
2951
- },
2952
- {
2953
- path: 'historyEntries.event.initiatePaymentMethodSetup.subscription.endDate',
2954
- },
2955
- {
2956
- path: 'historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.nextBillingDate',
2957
- },
2958
- {
2959
- path: 'historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.previousBillingDate',
2960
- },
2961
- {
2962
- path: 'historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
2963
- },
2964
- {
2965
- path: 'historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.freeTrialData.startDate',
2966
- },
2967
- {
2968
- path: 'historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.freeTrialData.endDate',
2969
- },
2970
- {
2971
- path: 'historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.updateBillingDateData.paidUntil',
2972
- },
2973
- {
2974
- path: 'historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.gracePeriodData.startDate',
2975
- },
2976
- {
2977
- path: 'historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.gracePeriodData.endDate',
2978
- },
2979
- {
2980
- path: 'historyEntries.event.initiatePaymentMethodSetup.subscription.pauseInfo.startDate',
2981
- },
2982
- {
2983
- path: 'historyEntries.event.initiatePaymentMethodSetup.subscription.pauseInfo.resumeDate',
2984
- },
2985
- {
2986
- path: 'historyEntries.event.initiatePaymentMethodSetup.subscription.cancellationInfo.cancellationDate',
2987
- },
2988
- {
2989
- path: 'historyEntries.event.initiatePaymentMethodSetup.subscription.specificDatePendingUpdateData.executionDate',
2990
- },
2991
- {
2992
- path: 'historyEntries.event.subscriptionBoAction.subscription.createdDate',
2993
- },
2994
- {
2995
- path: 'historyEntries.event.subscriptionBoAction.subscription.updatedDate',
2996
- },
2997
- {
2998
- path: 'historyEntries.event.subscriptionBoAction.subscription.startDate',
2999
- },
3000
- {
3001
- path: 'historyEntries.event.subscriptionBoAction.subscription.endDate',
3002
- },
3003
- {
3004
- path: 'historyEntries.event.subscriptionBoAction.subscription.billingStatus.nextBillingDate',
3005
- },
3006
- {
3007
- path: 'historyEntries.event.subscriptionBoAction.subscription.billingStatus.previousBillingDate',
3008
- },
3009
- {
3010
- path: 'historyEntries.event.subscriptionBoAction.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate',
3011
- },
3012
- {
3013
- path: 'historyEntries.event.subscriptionBoAction.subscription.billingStatus.freeTrialData.startDate',
3014
- },
3015
- {
3016
- path: 'historyEntries.event.subscriptionBoAction.subscription.billingStatus.freeTrialData.endDate',
3017
- },
3018
- {
3019
- path: 'historyEntries.event.subscriptionBoAction.subscription.billingStatus.updateBillingDateData.paidUntil',
3020
- },
3021
- {
3022
- path: 'historyEntries.event.subscriptionBoAction.subscription.billingStatus.gracePeriodData.startDate',
3023
- },
3024
- {
3025
- path: 'historyEntries.event.subscriptionBoAction.subscription.billingStatus.gracePeriodData.endDate',
3026
- },
3027
- {
3028
- path: 'historyEntries.event.subscriptionBoAction.subscription.pauseInfo.startDate',
3029
- },
3030
- {
3031
- path: 'historyEntries.event.subscriptionBoAction.subscription.pauseInfo.resumeDate',
3032
- },
3033
- {
3034
- path: 'historyEntries.event.subscriptionBoAction.subscription.cancellationInfo.cancellationDate',
3035
- },
3036
- {
3037
- path: 'historyEntries.event.subscriptionBoAction.subscription.specificDatePendingUpdateData.executionDate',
3038
- },
3039
- ],
3040
- },
3041
- ]),
3042
- };
3043
- return metadata;
3044
- }
3045
- return __listSubscriptionHistory;
3046
- }
3047
- exports.listSubscriptionHistory = listSubscriptionHistory;
3048
- //# sourceMappingURL=billing-v1-subscription-subscriptions.http.js.map