@wix/auto_sdk_subscription_subscriptions 1.0.47 → 1.0.49

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 (37) hide show
  1. package/build/cjs/index.d.ts +3 -11
  2. package/build/cjs/index.js +402 -142
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +2020 -1771
  5. package/build/cjs/index.typings.js +338 -97
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +1991 -1762
  8. package/build/cjs/meta.js +291 -92
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +3 -11
  11. package/build/es/index.mjs +396 -141
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +2020 -1771
  14. package/build/es/index.typings.mjs +332 -96
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +1991 -1762
  17. package/build/es/meta.mjs +285 -91
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +28 -10
  20. package/build/internal/cjs/index.typings.d.ts +1713 -1383
  21. package/build/internal/cjs/meta.d.ts +2124 -1783
  22. package/build/internal/es/index.d.mts +28 -10
  23. package/build/internal/es/index.typings.d.mts +1713 -1383
  24. package/build/internal/es/meta.d.mts +2124 -1783
  25. package/package.json +4 -4
  26. package/build/internal/cjs/index.js +0 -6659
  27. package/build/internal/cjs/index.js.map +0 -1
  28. package/build/internal/cjs/index.typings.js +0 -5629
  29. package/build/internal/cjs/index.typings.js.map +0 -1
  30. package/build/internal/cjs/meta.js +0 -4712
  31. package/build/internal/cjs/meta.js.map +0 -1
  32. package/build/internal/es/index.mjs +0 -6543
  33. package/build/internal/es/index.mjs.map +0 -1
  34. package/build/internal/es/index.typings.mjs +0 -5526
  35. package/build/internal/es/index.typings.mjs.map +0 -1
  36. package/build/internal/es/meta.mjs +0 -4606
  37. package/build/internal/es/meta.mjs.map +0 -1
@@ -1,4712 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // meta.ts
21
- var meta_exports = {};
22
- __export(meta_exports, {
23
- ActionInitiatorOriginal: () => ActionInitiator,
24
- ActionTypeOriginal: () => ActionType,
25
- AdditionalFeeTriggerOriginal: () => AdditionalFeeTrigger,
26
- CancellationInitiatorOriginal: () => CancellationInitiator,
27
- ChangeEffectiveTimeOriginal: () => ChangeEffectiveTime,
28
- CollectionMethodEnumCollectionMethodOriginal: () => CollectionMethodEnumCollectionMethod,
29
- CollectionMethodOriginal: () => CollectionMethod,
30
- CreationModeOriginal: () => CreationMode,
31
- DurationUnitOriginal: () => DurationUnit,
32
- ExtendPolicyTypeOriginal: () => ExtendPolicyType,
33
- HistoryActionInitiatorOriginal: () => HistoryActionInitiator,
34
- HistoryViewModeOriginal: () => HistoryViewMode,
35
- IdentityTypeOriginal: () => IdentityType,
36
- InvoiceStatusOriginal: () => InvoiceStatus,
37
- ItemCategoryOriginal: () => ItemCategory,
38
- OrderMethodOriginal: () => OrderMethod,
39
- PauseAtOriginal: () => PauseAt,
40
- PausePolicyOriginal: () => PausePolicy,
41
- PaymentAttemptStatusOriginal: () => PaymentAttemptStatus,
42
- PaymentModeOriginal: () => PaymentMode,
43
- PaymentSettlementMethodOriginal: () => PaymentSettlementMethod,
44
- PaymentStatusEnumPaymentStatusOriginal: () => PaymentStatusEnumPaymentStatus,
45
- PaymentStatusOriginal: () => PaymentStatus,
46
- PaymentTestModeOriginal: () => PaymentTestMode,
47
- PriceAdjustmentReasonOriginal: () => PriceAdjustmentReason,
48
- ProrationActionOriginal: () => ProrationAction,
49
- ProrationBehaviorOriginal: () => ProrationBehavior,
50
- RefundReasonOriginal: () => RefundReason,
51
- RequestedFieldsOriginal: () => RequestedFields,
52
- ResumeAtOriginal: () => ResumeAt,
53
- RevivePolicyOriginal: () => RevivePolicy,
54
- SortOrderOriginal: () => SortOrder,
55
- StatusOriginal: () => Status,
56
- SubscriptionFrequencyOriginal: () => SubscriptionFrequency,
57
- SubscriptionStatusEnumSubscriptionStatusOriginal: () => SubscriptionStatusEnumSubscriptionStatus,
58
- SubscriptionStatusGroupOriginal: () => SubscriptionStatusGroup,
59
- SubscriptionTypeOriginal: () => SubscriptionType,
60
- TaxableAddressTypeOriginal: () => TaxableAddressType,
61
- UpdateActionOriginal: () => UpdateAction,
62
- V1SubscriptionStatusEnumSubscriptionStatusOriginal: () => V1SubscriptionStatusEnumSubscriptionStatus,
63
- WebhookIdentityTypeOriginal: () => WebhookIdentityType,
64
- allowedActions: () => allowedActions2,
65
- cancelSubscription: () => cancelSubscription2,
66
- countSubscriptions: () => countSubscriptions2,
67
- customerAllowedActions: () => customerAllowedActions2,
68
- customerCancelScheduledPause: () => customerCancelScheduledPause2,
69
- customerCancelScheduledSkip: () => customerCancelScheduledSkip2,
70
- customerCancelSubscription: () => customerCancelSubscription2,
71
- customerExtendSubscription: () => customerExtendSubscription2,
72
- customerGetSubscription: () => customerGetSubscription2,
73
- customerInitiatePaymentMethodSetup: () => customerInitiatePaymentMethodSetup2,
74
- customerListUpcomingCharges: () => customerListUpcomingCharges2,
75
- customerPauseSubscription: () => customerPauseSubscription2,
76
- customerQuerySubscriptions: () => customerQuerySubscriptions2,
77
- customerResumeSubscription: () => customerResumeSubscription2,
78
- customerSkipCycle: () => customerSkipCycle2,
79
- customerTurnOffSubscriptionAutoRenewal: () => customerTurnOffSubscriptionAutoRenewal2,
80
- customerTurnOnSubscriptionAutoRenewal: () => customerTurnOnSubscriptionAutoRenewal2,
81
- customerUpdateBillingDate: () => customerUpdateBillingDate2,
82
- customerUpdateSubscriptionPaymentMethod: () => customerUpdateSubscriptionPaymentMethod2,
83
- extendSubscription: () => extendSubscription2,
84
- getSubscription: () => getSubscription2,
85
- getSubscriptionsStats: () => getSubscriptionsStats2,
86
- initiatePaymentMethodSetup: () => initiatePaymentMethodSetup2,
87
- listSubscriptionHistory: () => listSubscriptionHistory2,
88
- listUpcomingCharges: () => listUpcomingCharges2,
89
- markBillingCycleAsPaid: () => markBillingCycleAsPaid2,
90
- markLatestInvoiceAsPaid: () => markLatestInvoiceAsPaid2,
91
- pauseSubscription: () => pauseSubscription2,
92
- payCycle: () => payCycle2,
93
- previewSubscriptionCharges: () => previewSubscriptionCharges2,
94
- previewSubscriptionsCharges: () => previewSubscriptionsCharges2,
95
- querySubscriptions: () => querySubscriptions2,
96
- resumeSubscription: () => resumeSubscription2,
97
- reviseSubscription: () => reviseSubscription2,
98
- searchSubscriptions: () => searchSubscriptions2,
99
- turnOffSubscriptionAutoRenewal: () => turnOffSubscriptionAutoRenewal2,
100
- turnOnSubscriptionAutoRenewal: () => turnOnSubscriptionAutoRenewal2,
101
- updateSubscriptionBillingDate: () => updateSubscriptionBillingDate2,
102
- updateSubscriptionPaymentMethod: () => updateSubscriptionPaymentMethod2
103
- });
104
- module.exports = __toCommonJS(meta_exports);
105
-
106
- // src/billing-v1-subscription-subscriptions.http.ts
107
- var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
108
- var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
109
- var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
110
- var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
111
- var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
112
- function resolveComWixpressBillingSubscriptionsApiV1SubscriptionHistoryServiceUrl(opts) {
113
- const domainToMappings = {
114
- "www._base_domain_": [
115
- {
116
- srcPath: "/_api/billing-subscriptions",
117
- destPath: ""
118
- }
119
- ],
120
- _: [
121
- {
122
- srcPath: "/_api/billing-subscriptions",
123
- destPath: ""
124
- }
125
- ],
126
- "*.dev.wix-code.com": [
127
- {
128
- srcPath: "/_api/billing-subscriptions",
129
- destPath: ""
130
- }
131
- ],
132
- "*.pub.wix-code.com": [
133
- {
134
- srcPath: "/_api/billing-subscriptions",
135
- destPath: ""
136
- }
137
- ],
138
- "manage._base_domain_": [
139
- {
140
- srcPath: "/_api/billing-subscriptions",
141
- destPath: ""
142
- }
143
- ],
144
- "payments.base44.com": [
145
- {
146
- srcPath: "/_api/billing-subscriptions",
147
- destPath: ""
148
- }
149
- ]
150
- };
151
- return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
152
- }
153
- function resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl(opts) {
154
- const domainToMappings = {
155
- "www._base_domain_": [
156
- {
157
- srcPath: "/_api/billing-subscriptions",
158
- destPath: ""
159
- }
160
- ],
161
- _: [
162
- {
163
- srcPath: "/_api/billing-subscriptions",
164
- destPath: ""
165
- }
166
- ],
167
- "*.dev.wix-code.com": [
168
- {
169
- srcPath: "/_api/billing-subscriptions",
170
- destPath: ""
171
- }
172
- ],
173
- "*.pub.wix-code.com": [
174
- {
175
- srcPath: "/_api/billing-subscriptions",
176
- destPath: ""
177
- }
178
- ],
179
- "manage._base_domain_": [
180
- {
181
- srcPath: "/_api/billing-subscriptions",
182
- destPath: ""
183
- }
184
- ],
185
- "payments.base44.com": [
186
- {
187
- srcPath: "/_api/billing-subscriptions",
188
- destPath: ""
189
- }
190
- ]
191
- };
192
- return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
193
- }
194
- function resolveComWixpressBillingSubscriptionsApiV1SubscriptionsBackOfficeServiceUrl(opts) {
195
- const domainToMappings = {
196
- "www._base_domain_": [
197
- {
198
- srcPath: "/_api/billing-subscriptions",
199
- destPath: ""
200
- }
201
- ],
202
- _: [
203
- {
204
- srcPath: "/_api/billing-subscriptions",
205
- destPath: ""
206
- }
207
- ],
208
- "*.dev.wix-code.com": [
209
- {
210
- srcPath: "/_api/billing-subscriptions",
211
- destPath: ""
212
- }
213
- ],
214
- "*.pub.wix-code.com": [
215
- {
216
- srcPath: "/_api/billing-subscriptions",
217
- destPath: ""
218
- }
219
- ],
220
- "manage._base_domain_": [
221
- {
222
- srcPath: "/_api/billing-subscriptions",
223
- destPath: ""
224
- }
225
- ],
226
- "payments.base44.com": [
227
- {
228
- srcPath: "/_api/billing-subscriptions",
229
- destPath: ""
230
- }
231
- ]
232
- };
233
- return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
234
- }
235
- function resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(opts) {
236
- const domainToMappings = {
237
- "www._base_domain_": [
238
- {
239
- srcPath: "/_api/billing-subscriptions",
240
- destPath: ""
241
- }
242
- ],
243
- _: [
244
- {
245
- srcPath: "/_api/billing-subscriptions",
246
- destPath: ""
247
- }
248
- ],
249
- "*.dev.wix-code.com": [
250
- {
251
- srcPath: "/_api/billing-subscriptions",
252
- destPath: ""
253
- }
254
- ],
255
- "*.pub.wix-code.com": [
256
- {
257
- srcPath: "/_api/billing-subscriptions",
258
- destPath: ""
259
- }
260
- ],
261
- "manage._base_domain_": [
262
- {
263
- srcPath: "/_api/billing-subscriptions",
264
- destPath: ""
265
- }
266
- ],
267
- "payments.base44.com": [
268
- {
269
- srcPath: "/_api/billing-subscriptions",
270
- destPath: ""
271
- }
272
- ]
273
- };
274
- return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
275
- }
276
- var PACKAGE_NAME = "@wix/auto_sdk_subscription_subscriptions";
277
- function customerGetSubscription(payload) {
278
- function __customerGetSubscription({ host }) {
279
- const metadata = {
280
- entityFqdn: "wix.billing.v1.subscription",
281
- method: "GET",
282
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.GetSubscription",
283
- packageName: PACKAGE_NAME,
284
- migrationOptions: {
285
- optInTransformResponse: true
286
- },
287
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
288
- { protoPath: "/v1/customer_subscriptions/{id}", data: payload, host }
289
- ),
290
- params: (0, import_rest_modules.toURLSearchParams)(payload),
291
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
292
- {
293
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
294
- paths: [
295
- { path: "subscription.createdDate" },
296
- { path: "subscription.updatedDate" },
297
- { path: "subscription.startDate" },
298
- { path: "subscription.endDate" },
299
- { path: "subscription.billingStatus.nextBillingDate" },
300
- { path: "subscription.billingStatus.previousBillingDate" },
301
- {
302
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
303
- },
304
- { path: "subscription.billingStatus.freeTrialData.startDate" },
305
- { path: "subscription.billingStatus.freeTrialData.endDate" },
306
- {
307
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
308
- },
309
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
310
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
311
- { path: "subscription.pauseInfo.startDate" },
312
- { path: "subscription.pauseInfo.resumeDate" },
313
- { path: "subscription.cancellationInfo.cancellationDate" },
314
- {
315
- path: "subscription.specificDatePendingUpdateData.executionDate"
316
- }
317
- ]
318
- }
319
- ])
320
- };
321
- return metadata;
322
- }
323
- return __customerGetSubscription;
324
- }
325
- function customerCancelSubscription(payload) {
326
- function __customerCancelSubscription({ host }) {
327
- const metadata = {
328
- entityFqdn: "wix.billing.v1.subscription",
329
- method: "POST",
330
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.CancelSubscription",
331
- packageName: PACKAGE_NAME,
332
- migrationOptions: {
333
- optInTransformResponse: true
334
- },
335
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
336
- {
337
- protoPath: "/v1/customer_subscriptions/{id}/cancel",
338
- data: payload,
339
- host
340
- }
341
- ),
342
- data: payload,
343
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
344
- {
345
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
346
- paths: [
347
- { path: "subscription.createdDate" },
348
- { path: "subscription.updatedDate" },
349
- { path: "subscription.startDate" },
350
- { path: "subscription.endDate" },
351
- { path: "subscription.billingStatus.nextBillingDate" },
352
- { path: "subscription.billingStatus.previousBillingDate" },
353
- {
354
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
355
- },
356
- { path: "subscription.billingStatus.freeTrialData.startDate" },
357
- { path: "subscription.billingStatus.freeTrialData.endDate" },
358
- {
359
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
360
- },
361
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
362
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
363
- { path: "subscription.pauseInfo.startDate" },
364
- { path: "subscription.pauseInfo.resumeDate" },
365
- { path: "subscription.cancellationInfo.cancellationDate" },
366
- {
367
- path: "subscription.specificDatePendingUpdateData.executionDate"
368
- }
369
- ]
370
- }
371
- ])
372
- };
373
- return metadata;
374
- }
375
- return __customerCancelSubscription;
376
- }
377
- function customerTurnOnSubscriptionAutoRenewal(payload) {
378
- function __customerTurnOnSubscriptionAutoRenewal({ host }) {
379
- const metadata = {
380
- entityFqdn: "wix.billing.v1.subscription",
381
- method: "POST",
382
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.TurnOnSubscriptionAutoRenewal",
383
- packageName: PACKAGE_NAME,
384
- migrationOptions: {
385
- optInTransformResponse: true
386
- },
387
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
388
- {
389
- protoPath: "/v1/customer_subscriptions/{id}/turn_on_auto_renewal",
390
- data: payload,
391
- host
392
- }
393
- ),
394
- data: payload,
395
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
396
- {
397
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
398
- paths: [
399
- { path: "subscription.createdDate" },
400
- { path: "subscription.updatedDate" },
401
- { path: "subscription.startDate" },
402
- { path: "subscription.endDate" },
403
- { path: "subscription.billingStatus.nextBillingDate" },
404
- { path: "subscription.billingStatus.previousBillingDate" },
405
- {
406
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
407
- },
408
- { path: "subscription.billingStatus.freeTrialData.startDate" },
409
- { path: "subscription.billingStatus.freeTrialData.endDate" },
410
- {
411
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
412
- },
413
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
414
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
415
- { path: "subscription.pauseInfo.startDate" },
416
- { path: "subscription.pauseInfo.resumeDate" },
417
- { path: "subscription.cancellationInfo.cancellationDate" },
418
- {
419
- path: "subscription.specificDatePendingUpdateData.executionDate"
420
- }
421
- ]
422
- }
423
- ])
424
- };
425
- return metadata;
426
- }
427
- return __customerTurnOnSubscriptionAutoRenewal;
428
- }
429
- function customerTurnOffSubscriptionAutoRenewal(payload) {
430
- function __customerTurnOffSubscriptionAutoRenewal({ host }) {
431
- const metadata = {
432
- entityFqdn: "wix.billing.v1.subscription",
433
- method: "POST",
434
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.TurnOffSubscriptionAutoRenewal",
435
- packageName: PACKAGE_NAME,
436
- migrationOptions: {
437
- optInTransformResponse: true
438
- },
439
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
440
- {
441
- protoPath: "/v1/customer_subscriptions/{id}/turn_off_auto_renewal",
442
- data: payload,
443
- host
444
- }
445
- ),
446
- data: payload,
447
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
448
- {
449
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
450
- paths: [
451
- { path: "subscription.createdDate" },
452
- { path: "subscription.updatedDate" },
453
- { path: "subscription.startDate" },
454
- { path: "subscription.endDate" },
455
- { path: "subscription.billingStatus.nextBillingDate" },
456
- { path: "subscription.billingStatus.previousBillingDate" },
457
- {
458
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
459
- },
460
- { path: "subscription.billingStatus.freeTrialData.startDate" },
461
- { path: "subscription.billingStatus.freeTrialData.endDate" },
462
- {
463
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
464
- },
465
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
466
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
467
- { path: "subscription.pauseInfo.startDate" },
468
- { path: "subscription.pauseInfo.resumeDate" },
469
- { path: "subscription.cancellationInfo.cancellationDate" },
470
- {
471
- path: "subscription.specificDatePendingUpdateData.executionDate"
472
- }
473
- ]
474
- }
475
- ])
476
- };
477
- return metadata;
478
- }
479
- return __customerTurnOffSubscriptionAutoRenewal;
480
- }
481
- function customerExtendSubscription(payload) {
482
- function __customerExtendSubscription({ host }) {
483
- const metadata = {
484
- entityFqdn: "wix.billing.v1.subscription",
485
- method: "PATCH",
486
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.ExtendSubscription",
487
- packageName: PACKAGE_NAME,
488
- migrationOptions: {
489
- optInTransformResponse: true
490
- },
491
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
492
- {
493
- protoPath: "/v1/customer_subscriptions/{id}/extend",
494
- data: payload,
495
- host
496
- }
497
- ),
498
- data: payload,
499
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
500
- {
501
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
502
- paths: [
503
- { path: "subscription.createdDate" },
504
- { path: "subscription.updatedDate" },
505
- { path: "subscription.startDate" },
506
- { path: "subscription.endDate" },
507
- { path: "subscription.billingStatus.nextBillingDate" },
508
- { path: "subscription.billingStatus.previousBillingDate" },
509
- {
510
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
511
- },
512
- { path: "subscription.billingStatus.freeTrialData.startDate" },
513
- { path: "subscription.billingStatus.freeTrialData.endDate" },
514
- {
515
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
516
- },
517
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
518
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
519
- { path: "subscription.pauseInfo.startDate" },
520
- { path: "subscription.pauseInfo.resumeDate" },
521
- { path: "subscription.cancellationInfo.cancellationDate" },
522
- {
523
- path: "subscription.specificDatePendingUpdateData.executionDate"
524
- }
525
- ]
526
- }
527
- ])
528
- };
529
- return metadata;
530
- }
531
- return __customerExtendSubscription;
532
- }
533
- function customerQuerySubscriptions(payload) {
534
- function __customerQuerySubscriptions({ host }) {
535
- const metadata = {
536
- entityFqdn: "wix.billing.v1.subscription",
537
- method: "POST",
538
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.QuerySubscriptions",
539
- packageName: PACKAGE_NAME,
540
- migrationOptions: {
541
- optInTransformResponse: true
542
- },
543
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
544
- { protoPath: "/v1/customer_subscriptions/query", data: payload, host }
545
- ),
546
- data: payload,
547
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
548
- {
549
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
550
- paths: [
551
- { path: "subscriptions.createdDate" },
552
- { path: "subscriptions.updatedDate" },
553
- { path: "subscriptions.startDate" },
554
- { path: "subscriptions.endDate" },
555
- { path: "subscriptions.billingStatus.nextBillingDate" },
556
- { path: "subscriptions.billingStatus.previousBillingDate" },
557
- {
558
- path: "subscriptions.billingStatus.latestPaymentData.initialFailedPaymentDate"
559
- },
560
- { path: "subscriptions.billingStatus.freeTrialData.startDate" },
561
- { path: "subscriptions.billingStatus.freeTrialData.endDate" },
562
- {
563
- path: "subscriptions.billingStatus.updateBillingDateData.paidUntil"
564
- },
565
- { path: "subscriptions.billingStatus.gracePeriodData.startDate" },
566
- { path: "subscriptions.billingStatus.gracePeriodData.endDate" },
567
- { path: "subscriptions.pauseInfo.startDate" },
568
- { path: "subscriptions.pauseInfo.resumeDate" },
569
- { path: "subscriptions.cancellationInfo.cancellationDate" },
570
- {
571
- path: "subscriptions.specificDatePendingUpdateData.executionDate"
572
- }
573
- ]
574
- }
575
- ])
576
- };
577
- return metadata;
578
- }
579
- return __customerQuerySubscriptions;
580
- }
581
- function customerUpdateSubscriptionPaymentMethod(payload) {
582
- function __customerUpdateSubscriptionPaymentMethod({ host }) {
583
- const metadata = {
584
- entityFqdn: "wix.billing.v1.subscription",
585
- method: "PATCH",
586
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.UpdateSubscriptionPaymentMethod",
587
- packageName: PACKAGE_NAME,
588
- migrationOptions: {
589
- optInTransformResponse: true
590
- },
591
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
592
- {
593
- protoPath: "/v1/customer_subscriptions/{id}/payment_method",
594
- data: payload,
595
- host
596
- }
597
- ),
598
- data: payload,
599
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
600
- {
601
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
602
- paths: [
603
- { path: "subscription.createdDate" },
604
- { path: "subscription.updatedDate" },
605
- { path: "subscription.startDate" },
606
- { path: "subscription.endDate" },
607
- { path: "subscription.billingStatus.nextBillingDate" },
608
- { path: "subscription.billingStatus.previousBillingDate" },
609
- {
610
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
611
- },
612
- { path: "subscription.billingStatus.freeTrialData.startDate" },
613
- { path: "subscription.billingStatus.freeTrialData.endDate" },
614
- {
615
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
616
- },
617
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
618
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
619
- { path: "subscription.pauseInfo.startDate" },
620
- { path: "subscription.pauseInfo.resumeDate" },
621
- { path: "subscription.cancellationInfo.cancellationDate" },
622
- {
623
- path: "subscription.specificDatePendingUpdateData.executionDate"
624
- }
625
- ]
626
- }
627
- ])
628
- };
629
- return metadata;
630
- }
631
- return __customerUpdateSubscriptionPaymentMethod;
632
- }
633
- function customerAllowedActions(payload) {
634
- function __customerAllowedActions({ host }) {
635
- const metadata = {
636
- entityFqdn: "wix.billing.v1.subscription",
637
- method: "GET",
638
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.AllowedActions",
639
- packageName: PACKAGE_NAME,
640
- migrationOptions: {
641
- optInTransformResponse: true
642
- },
643
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
644
- {
645
- protoPath: "/v1/customer_subscriptions/{id}/allowed_actions",
646
- data: payload,
647
- host
648
- }
649
- ),
650
- params: (0, import_rest_modules.toURLSearchParams)(payload)
651
- };
652
- return metadata;
653
- }
654
- return __customerAllowedActions;
655
- }
656
- function customerListUpcomingCharges(payload) {
657
- function __customerListUpcomingCharges({ host }) {
658
- const metadata = {
659
- entityFqdn: "wix.billing.v1.subscription",
660
- method: "GET",
661
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.ListUpcomingCharges",
662
- packageName: PACKAGE_NAME,
663
- migrationOptions: {
664
- optInTransformResponse: true
665
- },
666
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
667
- {
668
- protoPath: "/v1/customer_subscriptions/{id}/upcoming_charges",
669
- data: payload,
670
- host
671
- }
672
- ),
673
- params: (0, import_rest_modules.toURLSearchParams)(payload),
674
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
675
- {
676
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
677
- paths: [{ path: "upcomingCharge.billingDate" }]
678
- }
679
- ])
680
- };
681
- return metadata;
682
- }
683
- return __customerListUpcomingCharges;
684
- }
685
- function customerInitiatePaymentMethodSetup(payload) {
686
- function __customerInitiatePaymentMethodSetup({ host }) {
687
- const metadata = {
688
- entityFqdn: "wix.billing.v1.subscription",
689
- method: "POST",
690
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.InitiatePaymentMethodSetup",
691
- packageName: PACKAGE_NAME,
692
- migrationOptions: {
693
- optInTransformResponse: true
694
- },
695
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
696
- {
697
- protoPath: "/v1/customer_subscriptions/{id}/payment_method_setup",
698
- data: payload,
699
- host
700
- }
701
- ),
702
- data: payload
703
- };
704
- return metadata;
705
- }
706
- return __customerInitiatePaymentMethodSetup;
707
- }
708
- function customerSkipCycle(payload) {
709
- function __customerSkipCycle({ host }) {
710
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
711
- {
712
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
713
- paths: [
714
- { path: "pauseAtSchedule.specificDate" },
715
- { path: "autoResumeAtSchedule.specificDate" }
716
- ]
717
- }
718
- ]);
719
- const metadata = {
720
- entityFqdn: "wix.billing.v1.subscription",
721
- method: "POST",
722
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.CustomerSkipCycle",
723
- packageName: PACKAGE_NAME,
724
- migrationOptions: {
725
- optInTransformResponse: true
726
- },
727
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
728
- {
729
- protoPath: "/v1/customer_subscriptions/{id}/skip_cycle",
730
- data: serializedData,
731
- host
732
- }
733
- ),
734
- data: serializedData,
735
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
736
- {
737
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
738
- paths: [
739
- { path: "subscription.createdDate" },
740
- { path: "subscription.updatedDate" },
741
- { path: "subscription.startDate" },
742
- { path: "subscription.endDate" },
743
- { path: "subscription.billingStatus.nextBillingDate" },
744
- { path: "subscription.billingStatus.previousBillingDate" },
745
- {
746
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
747
- },
748
- { path: "subscription.billingStatus.freeTrialData.startDate" },
749
- { path: "subscription.billingStatus.freeTrialData.endDate" },
750
- {
751
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
752
- },
753
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
754
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
755
- { path: "subscription.pauseInfo.startDate" },
756
- { path: "subscription.pauseInfo.resumeDate" },
757
- { path: "subscription.cancellationInfo.cancellationDate" },
758
- {
759
- path: "subscription.specificDatePendingUpdateData.executionDate"
760
- }
761
- ]
762
- }
763
- ])
764
- };
765
- return metadata;
766
- }
767
- return __customerSkipCycle;
768
- }
769
- function customerCancelScheduledSkip(payload) {
770
- function __customerCancelScheduledSkip({ host }) {
771
- const metadata = {
772
- entityFqdn: "wix.billing.v1.subscription",
773
- method: "POST",
774
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.CustomerCancelScheduledSkip",
775
- packageName: PACKAGE_NAME,
776
- migrationOptions: {
777
- optInTransformResponse: true
778
- },
779
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
780
- {
781
- protoPath: "/v1/customer_subscriptions/{id}/cancel_scheduled_skip",
782
- data: payload,
783
- host
784
- }
785
- ),
786
- data: payload,
787
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
788
- {
789
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
790
- paths: [
791
- { path: "subscription.createdDate" },
792
- { path: "subscription.updatedDate" },
793
- { path: "subscription.startDate" },
794
- { path: "subscription.endDate" },
795
- { path: "subscription.billingStatus.nextBillingDate" },
796
- { path: "subscription.billingStatus.previousBillingDate" },
797
- {
798
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
799
- },
800
- { path: "subscription.billingStatus.freeTrialData.startDate" },
801
- { path: "subscription.billingStatus.freeTrialData.endDate" },
802
- {
803
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
804
- },
805
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
806
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
807
- { path: "subscription.pauseInfo.startDate" },
808
- { path: "subscription.pauseInfo.resumeDate" },
809
- { path: "subscription.cancellationInfo.cancellationDate" },
810
- {
811
- path: "subscription.specificDatePendingUpdateData.executionDate"
812
- }
813
- ]
814
- }
815
- ])
816
- };
817
- return metadata;
818
- }
819
- return __customerCancelScheduledSkip;
820
- }
821
- function customerPauseSubscription(payload) {
822
- function __customerPauseSubscription({ host }) {
823
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
824
- {
825
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
826
- paths: [
827
- { path: "pauseAtSchedule.specificDate" },
828
- { path: "autoResumeAtSchedule.specificDate" }
829
- ]
830
- }
831
- ]);
832
- const metadata = {
833
- entityFqdn: "wix.billing.v1.subscription",
834
- method: "POST",
835
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.CustomerPauseSubscription",
836
- packageName: PACKAGE_NAME,
837
- migrationOptions: {
838
- optInTransformResponse: true
839
- },
840
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
841
- {
842
- protoPath: "/v1/customer_subscriptions/{id}/pause",
843
- data: serializedData,
844
- host
845
- }
846
- ),
847
- data: serializedData,
848
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
849
- {
850
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
851
- paths: [
852
- { path: "subscription.createdDate" },
853
- { path: "subscription.updatedDate" },
854
- { path: "subscription.startDate" },
855
- { path: "subscription.endDate" },
856
- { path: "subscription.billingStatus.nextBillingDate" },
857
- { path: "subscription.billingStatus.previousBillingDate" },
858
- {
859
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
860
- },
861
- { path: "subscription.billingStatus.freeTrialData.startDate" },
862
- { path: "subscription.billingStatus.freeTrialData.endDate" },
863
- {
864
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
865
- },
866
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
867
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
868
- { path: "subscription.pauseInfo.startDate" },
869
- { path: "subscription.pauseInfo.resumeDate" },
870
- { path: "subscription.cancellationInfo.cancellationDate" },
871
- {
872
- path: "subscription.specificDatePendingUpdateData.executionDate"
873
- }
874
- ]
875
- }
876
- ])
877
- };
878
- return metadata;
879
- }
880
- return __customerPauseSubscription;
881
- }
882
- function customerResumeSubscription(payload) {
883
- function __customerResumeSubscription({ host }) {
884
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
885
- {
886
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
887
- paths: [{ path: "resumeAtSchedule.specificDate" }]
888
- }
889
- ]);
890
- const metadata = {
891
- entityFqdn: "wix.billing.v1.subscription",
892
- method: "POST",
893
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.CustomerResumeSubscription",
894
- packageName: PACKAGE_NAME,
895
- migrationOptions: {
896
- optInTransformResponse: true
897
- },
898
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
899
- {
900
- protoPath: "/v1/customer_subscriptions/{id}/resume",
901
- data: serializedData,
902
- host
903
- }
904
- ),
905
- data: serializedData,
906
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
907
- {
908
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
909
- paths: [
910
- { path: "subscription.createdDate" },
911
- { path: "subscription.updatedDate" },
912
- { path: "subscription.startDate" },
913
- { path: "subscription.endDate" },
914
- { path: "subscription.billingStatus.nextBillingDate" },
915
- { path: "subscription.billingStatus.previousBillingDate" },
916
- {
917
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
918
- },
919
- { path: "subscription.billingStatus.freeTrialData.startDate" },
920
- { path: "subscription.billingStatus.freeTrialData.endDate" },
921
- {
922
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
923
- },
924
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
925
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
926
- { path: "subscription.pauseInfo.startDate" },
927
- { path: "subscription.pauseInfo.resumeDate" },
928
- { path: "subscription.cancellationInfo.cancellationDate" },
929
- {
930
- path: "subscription.specificDatePendingUpdateData.executionDate"
931
- }
932
- ]
933
- }
934
- ])
935
- };
936
- return metadata;
937
- }
938
- return __customerResumeSubscription;
939
- }
940
- function customerCancelScheduledPause(payload) {
941
- function __customerCancelScheduledPause({ host }) {
942
- const metadata = {
943
- entityFqdn: "wix.billing.v1.subscription",
944
- method: "POST",
945
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.CustomerCancelScheduledPause",
946
- packageName: PACKAGE_NAME,
947
- migrationOptions: {
948
- optInTransformResponse: true
949
- },
950
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
951
- {
952
- protoPath: "/v1/customer_subscriptions/{id}/cancel_scheduled_pause",
953
- data: payload,
954
- host
955
- }
956
- ),
957
- data: payload,
958
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
959
- {
960
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
961
- paths: [
962
- { path: "subscription.createdDate" },
963
- { path: "subscription.updatedDate" },
964
- { path: "subscription.startDate" },
965
- { path: "subscription.endDate" },
966
- { path: "subscription.billingStatus.nextBillingDate" },
967
- { path: "subscription.billingStatus.previousBillingDate" },
968
- {
969
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
970
- },
971
- { path: "subscription.billingStatus.freeTrialData.startDate" },
972
- { path: "subscription.billingStatus.freeTrialData.endDate" },
973
- {
974
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
975
- },
976
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
977
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
978
- { path: "subscription.pauseInfo.startDate" },
979
- { path: "subscription.pauseInfo.resumeDate" },
980
- { path: "subscription.cancellationInfo.cancellationDate" },
981
- {
982
- path: "subscription.specificDatePendingUpdateData.executionDate"
983
- }
984
- ]
985
- }
986
- ])
987
- };
988
- return metadata;
989
- }
990
- return __customerCancelScheduledPause;
991
- }
992
- function customerUpdateBillingDate(payload) {
993
- function __customerUpdateBillingDate({ host }) {
994
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
995
- {
996
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
997
- paths: [{ path: "billingDate" }]
998
- }
999
- ]);
1000
- const metadata = {
1001
- entityFqdn: "wix.billing.v1.subscription",
1002
- method: "POST",
1003
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.CustomerUpdateBillingDate",
1004
- packageName: PACKAGE_NAME,
1005
- migrationOptions: {
1006
- optInTransformResponse: true
1007
- },
1008
- url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
1009
- {
1010
- protoPath: "/v1/customer_subscriptions/{id}/update_billing_date",
1011
- data: serializedData,
1012
- host
1013
- }
1014
- ),
1015
- data: serializedData,
1016
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1017
- {
1018
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1019
- paths: [
1020
- { path: "subscription.createdDate" },
1021
- { path: "subscription.updatedDate" },
1022
- { path: "subscription.startDate" },
1023
- { path: "subscription.endDate" },
1024
- { path: "subscription.billingStatus.nextBillingDate" },
1025
- { path: "subscription.billingStatus.previousBillingDate" },
1026
- {
1027
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1028
- },
1029
- { path: "subscription.billingStatus.freeTrialData.startDate" },
1030
- { path: "subscription.billingStatus.freeTrialData.endDate" },
1031
- {
1032
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
1033
- },
1034
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
1035
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
1036
- { path: "subscription.pauseInfo.startDate" },
1037
- { path: "subscription.pauseInfo.resumeDate" },
1038
- { path: "subscription.cancellationInfo.cancellationDate" },
1039
- {
1040
- path: "subscription.specificDatePendingUpdateData.executionDate"
1041
- }
1042
- ]
1043
- }
1044
- ])
1045
- };
1046
- return metadata;
1047
- }
1048
- return __customerUpdateBillingDate;
1049
- }
1050
- function payCycle(payload) {
1051
- function __payCycle({ host }) {
1052
- const metadata = {
1053
- entityFqdn: "wix.billing.v1.subscription",
1054
- method: "POST",
1055
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsBackOfficeService.PayCycle",
1056
- packageName: PACKAGE_NAME,
1057
- migrationOptions: {
1058
- optInTransformResponse: true
1059
- },
1060
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsBackOfficeServiceUrl(
1061
- {
1062
- protoPath: "/v1/subscriptions-bo/{subscriptionId}/pay-cycle",
1063
- data: payload,
1064
- host
1065
- }
1066
- ),
1067
- data: payload,
1068
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1069
- {
1070
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1071
- paths: [
1072
- { path: "subscription.createdDate" },
1073
- { path: "subscription.updatedDate" },
1074
- { path: "subscription.startDate" },
1075
- { path: "subscription.endDate" },
1076
- { path: "subscription.billingStatus.nextBillingDate" },
1077
- { path: "subscription.billingStatus.previousBillingDate" },
1078
- {
1079
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1080
- },
1081
- { path: "subscription.billingStatus.freeTrialData.startDate" },
1082
- { path: "subscription.billingStatus.freeTrialData.endDate" },
1083
- {
1084
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
1085
- },
1086
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
1087
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
1088
- { path: "subscription.pauseInfo.startDate" },
1089
- { path: "subscription.pauseInfo.resumeDate" },
1090
- { path: "subscription.cancellationInfo.cancellationDate" },
1091
- {
1092
- path: "subscription.specificDatePendingUpdateData.executionDate"
1093
- }
1094
- ]
1095
- }
1096
- ])
1097
- };
1098
- return metadata;
1099
- }
1100
- return __payCycle;
1101
- }
1102
- function getSubscription(payload) {
1103
- function __getSubscription({ host }) {
1104
- const metadata = {
1105
- entityFqdn: "wix.billing.v1.subscription",
1106
- method: "GET",
1107
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.GetSubscription",
1108
- packageName: PACKAGE_NAME,
1109
- migrationOptions: {
1110
- optInTransformResponse: true
1111
- },
1112
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1113
- protoPath: "/v1/subscriptions/{id}",
1114
- data: payload,
1115
- host
1116
- }),
1117
- params: (0, import_rest_modules.toURLSearchParams)(payload),
1118
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1119
- {
1120
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1121
- paths: [
1122
- { path: "subscription.createdDate" },
1123
- { path: "subscription.updatedDate" },
1124
- { path: "subscription.startDate" },
1125
- { path: "subscription.endDate" },
1126
- { path: "subscription.billingStatus.nextBillingDate" },
1127
- { path: "subscription.billingStatus.previousBillingDate" },
1128
- {
1129
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1130
- },
1131
- { path: "subscription.billingStatus.freeTrialData.startDate" },
1132
- { path: "subscription.billingStatus.freeTrialData.endDate" },
1133
- {
1134
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
1135
- },
1136
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
1137
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
1138
- { path: "subscription.pauseInfo.startDate" },
1139
- { path: "subscription.pauseInfo.resumeDate" },
1140
- { path: "subscription.cancellationInfo.cancellationDate" },
1141
- {
1142
- path: "subscription.specificDatePendingUpdateData.executionDate"
1143
- }
1144
- ]
1145
- }
1146
- ])
1147
- };
1148
- return metadata;
1149
- }
1150
- return __getSubscription;
1151
- }
1152
- function updateSubscriptionPaymentMethod(payload) {
1153
- function __updateSubscriptionPaymentMethod({ host }) {
1154
- const metadata = {
1155
- entityFqdn: "wix.billing.v1.subscription",
1156
- method: "PATCH",
1157
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.UpdateSubscriptionPaymentMethod",
1158
- packageName: PACKAGE_NAME,
1159
- migrationOptions: {
1160
- optInTransformResponse: true
1161
- },
1162
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1163
- protoPath: "/v1/subscriptions/{id}/payment_method",
1164
- data: payload,
1165
- host
1166
- }),
1167
- data: payload,
1168
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1169
- {
1170
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1171
- paths: [
1172
- { path: "subscription.createdDate" },
1173
- { path: "subscription.updatedDate" },
1174
- { path: "subscription.startDate" },
1175
- { path: "subscription.endDate" },
1176
- { path: "subscription.billingStatus.nextBillingDate" },
1177
- { path: "subscription.billingStatus.previousBillingDate" },
1178
- {
1179
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1180
- },
1181
- { path: "subscription.billingStatus.freeTrialData.startDate" },
1182
- { path: "subscription.billingStatus.freeTrialData.endDate" },
1183
- {
1184
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
1185
- },
1186
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
1187
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
1188
- { path: "subscription.pauseInfo.startDate" },
1189
- { path: "subscription.pauseInfo.resumeDate" },
1190
- { path: "subscription.cancellationInfo.cancellationDate" },
1191
- {
1192
- path: "subscription.specificDatePendingUpdateData.executionDate"
1193
- }
1194
- ]
1195
- }
1196
- ])
1197
- };
1198
- return metadata;
1199
- }
1200
- return __updateSubscriptionPaymentMethod;
1201
- }
1202
- function updateSubscriptionBillingDate(payload) {
1203
- function __updateSubscriptionBillingDate({ host }) {
1204
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
1205
- {
1206
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
1207
- paths: [{ path: "billingDate" }]
1208
- }
1209
- ]);
1210
- const metadata = {
1211
- entityFqdn: "wix.billing.v1.subscription",
1212
- method: "PATCH",
1213
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.UpdateSubscriptionBillingDate",
1214
- packageName: PACKAGE_NAME,
1215
- migrationOptions: {
1216
- optInTransformResponse: true
1217
- },
1218
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1219
- protoPath: "/v1/subscriptions/{id}/update-billing-date",
1220
- data: serializedData,
1221
- host
1222
- }),
1223
- data: serializedData,
1224
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1225
- {
1226
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1227
- paths: [
1228
- { path: "subscription.createdDate" },
1229
- { path: "subscription.updatedDate" },
1230
- { path: "subscription.startDate" },
1231
- { path: "subscription.endDate" },
1232
- { path: "subscription.billingStatus.nextBillingDate" },
1233
- { path: "subscription.billingStatus.previousBillingDate" },
1234
- {
1235
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1236
- },
1237
- { path: "subscription.billingStatus.freeTrialData.startDate" },
1238
- { path: "subscription.billingStatus.freeTrialData.endDate" },
1239
- {
1240
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
1241
- },
1242
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
1243
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
1244
- { path: "subscription.pauseInfo.startDate" },
1245
- { path: "subscription.pauseInfo.resumeDate" },
1246
- { path: "subscription.cancellationInfo.cancellationDate" },
1247
- {
1248
- path: "subscription.specificDatePendingUpdateData.executionDate"
1249
- }
1250
- ]
1251
- }
1252
- ])
1253
- };
1254
- return metadata;
1255
- }
1256
- return __updateSubscriptionBillingDate;
1257
- }
1258
- function reviseSubscription(payload) {
1259
- function __reviseSubscription({ host }) {
1260
- const metadata = {
1261
- entityFqdn: "wix.billing.v1.subscription",
1262
- method: "POST",
1263
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.ReviseSubscription",
1264
- packageName: PACKAGE_NAME,
1265
- migrationOptions: {
1266
- optInTransformResponse: true
1267
- },
1268
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1269
- protoPath: "/v1/subscriptions/{id}",
1270
- data: payload,
1271
- host
1272
- }),
1273
- data: payload,
1274
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1275
- {
1276
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1277
- paths: [
1278
- { path: "subscription.createdDate" },
1279
- { path: "subscription.updatedDate" },
1280
- { path: "subscription.startDate" },
1281
- { path: "subscription.endDate" },
1282
- { path: "subscription.billingStatus.nextBillingDate" },
1283
- { path: "subscription.billingStatus.previousBillingDate" },
1284
- {
1285
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1286
- },
1287
- { path: "subscription.billingStatus.freeTrialData.startDate" },
1288
- { path: "subscription.billingStatus.freeTrialData.endDate" },
1289
- {
1290
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
1291
- },
1292
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
1293
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
1294
- { path: "subscription.pauseInfo.startDate" },
1295
- { path: "subscription.pauseInfo.resumeDate" },
1296
- { path: "subscription.cancellationInfo.cancellationDate" },
1297
- {
1298
- path: "subscription.specificDatePendingUpdateData.executionDate"
1299
- }
1300
- ]
1301
- }
1302
- ])
1303
- };
1304
- return metadata;
1305
- }
1306
- return __reviseSubscription;
1307
- }
1308
- function cancelSubscription(payload) {
1309
- function __cancelSubscription({ host }) {
1310
- const metadata = {
1311
- entityFqdn: "wix.billing.v1.subscription",
1312
- method: "POST",
1313
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.CancelSubscription",
1314
- packageName: PACKAGE_NAME,
1315
- migrationOptions: {
1316
- optInTransformResponse: true
1317
- },
1318
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1319
- protoPath: "/v1/subscriptions/{id}/cancel",
1320
- data: payload,
1321
- host
1322
- }),
1323
- data: payload,
1324
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1325
- {
1326
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1327
- paths: [
1328
- { path: "subscription.createdDate" },
1329
- { path: "subscription.updatedDate" },
1330
- { path: "subscription.startDate" },
1331
- { path: "subscription.endDate" },
1332
- { path: "subscription.billingStatus.nextBillingDate" },
1333
- { path: "subscription.billingStatus.previousBillingDate" },
1334
- {
1335
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1336
- },
1337
- { path: "subscription.billingStatus.freeTrialData.startDate" },
1338
- { path: "subscription.billingStatus.freeTrialData.endDate" },
1339
- {
1340
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
1341
- },
1342
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
1343
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
1344
- { path: "subscription.pauseInfo.startDate" },
1345
- { path: "subscription.pauseInfo.resumeDate" },
1346
- { path: "subscription.cancellationInfo.cancellationDate" },
1347
- {
1348
- path: "subscription.specificDatePendingUpdateData.executionDate"
1349
- }
1350
- ]
1351
- }
1352
- ])
1353
- };
1354
- return metadata;
1355
- }
1356
- return __cancelSubscription;
1357
- }
1358
- function pauseSubscription(payload) {
1359
- function __pauseSubscription({ host }) {
1360
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
1361
- {
1362
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
1363
- paths: [
1364
- { path: "pauseAtSchedule.specificDate" },
1365
- { path: "autoResumeAtSchedule.specificDate" }
1366
- ]
1367
- }
1368
- ]);
1369
- const metadata = {
1370
- entityFqdn: "wix.billing.v1.subscription",
1371
- method: "POST",
1372
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.PauseSubscription",
1373
- packageName: PACKAGE_NAME,
1374
- migrationOptions: {
1375
- optInTransformResponse: true
1376
- },
1377
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1378
- protoPath: "/v1/subscriptions/{id}/pause",
1379
- data: serializedData,
1380
- host
1381
- }),
1382
- data: serializedData,
1383
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1384
- {
1385
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1386
- paths: [
1387
- { path: "subscription.createdDate" },
1388
- { path: "subscription.updatedDate" },
1389
- { path: "subscription.startDate" },
1390
- { path: "subscription.endDate" },
1391
- { path: "subscription.billingStatus.nextBillingDate" },
1392
- { path: "subscription.billingStatus.previousBillingDate" },
1393
- {
1394
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1395
- },
1396
- { path: "subscription.billingStatus.freeTrialData.startDate" },
1397
- { path: "subscription.billingStatus.freeTrialData.endDate" },
1398
- {
1399
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
1400
- },
1401
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
1402
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
1403
- { path: "subscription.pauseInfo.startDate" },
1404
- { path: "subscription.pauseInfo.resumeDate" },
1405
- { path: "subscription.cancellationInfo.cancellationDate" },
1406
- {
1407
- path: "subscription.specificDatePendingUpdateData.executionDate"
1408
- }
1409
- ]
1410
- }
1411
- ])
1412
- };
1413
- return metadata;
1414
- }
1415
- return __pauseSubscription;
1416
- }
1417
- function resumeSubscription(payload) {
1418
- function __resumeSubscription({ host }) {
1419
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
1420
- {
1421
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
1422
- paths: [{ path: "resumeAtSchedule.specificDate" }]
1423
- }
1424
- ]);
1425
- const metadata = {
1426
- entityFqdn: "wix.billing.v1.subscription",
1427
- method: "POST",
1428
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.ResumeSubscription",
1429
- packageName: PACKAGE_NAME,
1430
- migrationOptions: {
1431
- optInTransformResponse: true
1432
- },
1433
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1434
- protoPath: "/v1/subscriptions/{id}/resume",
1435
- data: serializedData,
1436
- host
1437
- }),
1438
- data: serializedData,
1439
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1440
- {
1441
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1442
- paths: [
1443
- { path: "subscription.createdDate" },
1444
- { path: "subscription.updatedDate" },
1445
- { path: "subscription.startDate" },
1446
- { path: "subscription.endDate" },
1447
- { path: "subscription.billingStatus.nextBillingDate" },
1448
- { path: "subscription.billingStatus.previousBillingDate" },
1449
- {
1450
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1451
- },
1452
- { path: "subscription.billingStatus.freeTrialData.startDate" },
1453
- { path: "subscription.billingStatus.freeTrialData.endDate" },
1454
- {
1455
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
1456
- },
1457
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
1458
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
1459
- { path: "subscription.pauseInfo.startDate" },
1460
- { path: "subscription.pauseInfo.resumeDate" },
1461
- { path: "subscription.cancellationInfo.cancellationDate" },
1462
- {
1463
- path: "subscription.specificDatePendingUpdateData.executionDate"
1464
- }
1465
- ]
1466
- }
1467
- ])
1468
- };
1469
- return metadata;
1470
- }
1471
- return __resumeSubscription;
1472
- }
1473
- function querySubscriptions(payload) {
1474
- function __querySubscriptions({ host }) {
1475
- const metadata = {
1476
- entityFqdn: "wix.billing.v1.subscription",
1477
- method: "POST",
1478
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.QuerySubscriptions",
1479
- packageName: PACKAGE_NAME,
1480
- migrationOptions: {
1481
- optInTransformResponse: true
1482
- },
1483
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1484
- protoPath: "/v1/subscriptions/query",
1485
- data: payload,
1486
- host
1487
- }),
1488
- data: payload,
1489
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1490
- {
1491
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1492
- paths: [
1493
- { path: "subscriptions.createdDate" },
1494
- { path: "subscriptions.updatedDate" },
1495
- { path: "subscriptions.startDate" },
1496
- { path: "subscriptions.endDate" },
1497
- { path: "subscriptions.billingStatus.nextBillingDate" },
1498
- { path: "subscriptions.billingStatus.previousBillingDate" },
1499
- {
1500
- path: "subscriptions.billingStatus.latestPaymentData.initialFailedPaymentDate"
1501
- },
1502
- { path: "subscriptions.billingStatus.freeTrialData.startDate" },
1503
- { path: "subscriptions.billingStatus.freeTrialData.endDate" },
1504
- {
1505
- path: "subscriptions.billingStatus.updateBillingDateData.paidUntil"
1506
- },
1507
- { path: "subscriptions.billingStatus.gracePeriodData.startDate" },
1508
- { path: "subscriptions.billingStatus.gracePeriodData.endDate" },
1509
- { path: "subscriptions.pauseInfo.startDate" },
1510
- { path: "subscriptions.pauseInfo.resumeDate" },
1511
- { path: "subscriptions.cancellationInfo.cancellationDate" },
1512
- {
1513
- path: "subscriptions.specificDatePendingUpdateData.executionDate"
1514
- }
1515
- ]
1516
- }
1517
- ])
1518
- };
1519
- return metadata;
1520
- }
1521
- return __querySubscriptions;
1522
- }
1523
- function searchSubscriptions(payload) {
1524
- function __searchSubscriptions({ host }) {
1525
- const metadata = {
1526
- entityFqdn: "wix.billing.v1.subscription",
1527
- method: "POST",
1528
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.SearchSubscriptions",
1529
- packageName: PACKAGE_NAME,
1530
- migrationOptions: {
1531
- optInTransformResponse: true
1532
- },
1533
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1534
- protoPath: "/v1/subscriptions/search",
1535
- data: payload,
1536
- host
1537
- }),
1538
- data: payload,
1539
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1540
- {
1541
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1542
- paths: [
1543
- { path: "subscriptions.createdDate" },
1544
- { path: "subscriptions.updatedDate" },
1545
- { path: "subscriptions.startDate" },
1546
- { path: "subscriptions.endDate" },
1547
- { path: "subscriptions.billingStatus.nextBillingDate" },
1548
- { path: "subscriptions.billingStatus.previousBillingDate" },
1549
- {
1550
- path: "subscriptions.billingStatus.latestPaymentData.initialFailedPaymentDate"
1551
- },
1552
- { path: "subscriptions.billingStatus.freeTrialData.startDate" },
1553
- { path: "subscriptions.billingStatus.freeTrialData.endDate" },
1554
- {
1555
- path: "subscriptions.billingStatus.updateBillingDateData.paidUntil"
1556
- },
1557
- { path: "subscriptions.billingStatus.gracePeriodData.startDate" },
1558
- { path: "subscriptions.billingStatus.gracePeriodData.endDate" },
1559
- { path: "subscriptions.pauseInfo.startDate" },
1560
- { path: "subscriptions.pauseInfo.resumeDate" },
1561
- { path: "subscriptions.cancellationInfo.cancellationDate" },
1562
- {
1563
- path: "subscriptions.specificDatePendingUpdateData.executionDate"
1564
- }
1565
- ]
1566
- }
1567
- ])
1568
- };
1569
- return metadata;
1570
- }
1571
- return __searchSubscriptions;
1572
- }
1573
- function countSubscriptions(payload) {
1574
- function __countSubscriptions({ host }) {
1575
- const metadata = {
1576
- entityFqdn: "wix.billing.v1.subscription",
1577
- method: "POST",
1578
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.CountSubscriptions",
1579
- packageName: PACKAGE_NAME,
1580
- migrationOptions: {
1581
- optInTransformResponse: true
1582
- },
1583
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1584
- protoPath: "/v1/subscriptions/count",
1585
- data: payload,
1586
- host
1587
- }),
1588
- data: payload
1589
- };
1590
- return metadata;
1591
- }
1592
- return __countSubscriptions;
1593
- }
1594
- function turnOnSubscriptionAutoRenewal(payload) {
1595
- function __turnOnSubscriptionAutoRenewal({ host }) {
1596
- const metadata = {
1597
- entityFqdn: "wix.billing.v1.subscription",
1598
- method: "PATCH",
1599
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.TurnOnSubscriptionAutoRenewal",
1600
- packageName: PACKAGE_NAME,
1601
- migrationOptions: {
1602
- optInTransformResponse: true
1603
- },
1604
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1605
- protoPath: "/v1/subscriptions/{id}/turn_on_auto_renewal",
1606
- data: payload,
1607
- host
1608
- }),
1609
- data: payload,
1610
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1611
- {
1612
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1613
- paths: [
1614
- { path: "subscription.createdDate" },
1615
- { path: "subscription.updatedDate" },
1616
- { path: "subscription.startDate" },
1617
- { path: "subscription.endDate" },
1618
- { path: "subscription.billingStatus.nextBillingDate" },
1619
- { path: "subscription.billingStatus.previousBillingDate" },
1620
- {
1621
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1622
- },
1623
- { path: "subscription.billingStatus.freeTrialData.startDate" },
1624
- { path: "subscription.billingStatus.freeTrialData.endDate" },
1625
- {
1626
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
1627
- },
1628
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
1629
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
1630
- { path: "subscription.pauseInfo.startDate" },
1631
- { path: "subscription.pauseInfo.resumeDate" },
1632
- { path: "subscription.cancellationInfo.cancellationDate" },
1633
- {
1634
- path: "subscription.specificDatePendingUpdateData.executionDate"
1635
- }
1636
- ]
1637
- }
1638
- ])
1639
- };
1640
- return metadata;
1641
- }
1642
- return __turnOnSubscriptionAutoRenewal;
1643
- }
1644
- function turnOffSubscriptionAutoRenewal(payload) {
1645
- function __turnOffSubscriptionAutoRenewal({ host }) {
1646
- const metadata = {
1647
- entityFqdn: "wix.billing.v1.subscription",
1648
- method: "PATCH",
1649
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.TurnOffSubscriptionAutoRenewal",
1650
- packageName: PACKAGE_NAME,
1651
- migrationOptions: {
1652
- optInTransformResponse: true
1653
- },
1654
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1655
- protoPath: "/v1/subscriptions/{id}/turn_off_auto_renewal",
1656
- data: payload,
1657
- host
1658
- }),
1659
- data: payload,
1660
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1661
- {
1662
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1663
- paths: [
1664
- { path: "subscription.createdDate" },
1665
- { path: "subscription.updatedDate" },
1666
- { path: "subscription.startDate" },
1667
- { path: "subscription.endDate" },
1668
- { path: "subscription.billingStatus.nextBillingDate" },
1669
- { path: "subscription.billingStatus.previousBillingDate" },
1670
- {
1671
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1672
- },
1673
- { path: "subscription.billingStatus.freeTrialData.startDate" },
1674
- { path: "subscription.billingStatus.freeTrialData.endDate" },
1675
- {
1676
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
1677
- },
1678
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
1679
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
1680
- { path: "subscription.pauseInfo.startDate" },
1681
- { path: "subscription.pauseInfo.resumeDate" },
1682
- { path: "subscription.cancellationInfo.cancellationDate" },
1683
- {
1684
- path: "subscription.specificDatePendingUpdateData.executionDate"
1685
- }
1686
- ]
1687
- }
1688
- ])
1689
- };
1690
- return metadata;
1691
- }
1692
- return __turnOffSubscriptionAutoRenewal;
1693
- }
1694
- function markLatestInvoiceAsPaid(payload) {
1695
- function __markLatestInvoiceAsPaid({ host }) {
1696
- const metadata = {
1697
- entityFqdn: "wix.billing.v1.subscription",
1698
- method: "POST",
1699
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.MarkLatestInvoiceAsPaid",
1700
- packageName: PACKAGE_NAME,
1701
- migrationOptions: {
1702
- optInTransformResponse: true
1703
- },
1704
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1705
- protoPath: "/v1/subscriptions/{subscriptionId}/mark-latest-invoice-as-paid",
1706
- data: payload,
1707
- host
1708
- }),
1709
- data: payload,
1710
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1711
- {
1712
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1713
- paths: [
1714
- { path: "subscription.createdDate" },
1715
- { path: "subscription.updatedDate" },
1716
- { path: "subscription.startDate" },
1717
- { path: "subscription.endDate" },
1718
- { path: "subscription.billingStatus.nextBillingDate" },
1719
- { path: "subscription.billingStatus.previousBillingDate" },
1720
- {
1721
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1722
- },
1723
- { path: "subscription.billingStatus.freeTrialData.startDate" },
1724
- { path: "subscription.billingStatus.freeTrialData.endDate" },
1725
- {
1726
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
1727
- },
1728
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
1729
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
1730
- { path: "subscription.pauseInfo.startDate" },
1731
- { path: "subscription.pauseInfo.resumeDate" },
1732
- { path: "subscription.cancellationInfo.cancellationDate" },
1733
- {
1734
- path: "subscription.specificDatePendingUpdateData.executionDate"
1735
- }
1736
- ]
1737
- }
1738
- ])
1739
- };
1740
- return metadata;
1741
- }
1742
- return __markLatestInvoiceAsPaid;
1743
- }
1744
- function markBillingCycleAsPaid(payload) {
1745
- function __markBillingCycleAsPaid({ host }) {
1746
- const metadata = {
1747
- entityFqdn: "wix.billing.v1.subscription",
1748
- method: "POST",
1749
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.MarkBillingCycleAsPaid",
1750
- packageName: PACKAGE_NAME,
1751
- migrationOptions: {
1752
- optInTransformResponse: true
1753
- },
1754
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1755
- protoPath: "/v1/subscriptions/{subscriptionId}/mark-cycle-as-paid",
1756
- data: payload,
1757
- host
1758
- }),
1759
- data: payload,
1760
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1761
- {
1762
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1763
- paths: [
1764
- { path: "subscription.createdDate" },
1765
- { path: "subscription.updatedDate" },
1766
- { path: "subscription.startDate" },
1767
- { path: "subscription.endDate" },
1768
- { path: "subscription.billingStatus.nextBillingDate" },
1769
- { path: "subscription.billingStatus.previousBillingDate" },
1770
- {
1771
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1772
- },
1773
- { path: "subscription.billingStatus.freeTrialData.startDate" },
1774
- { path: "subscription.billingStatus.freeTrialData.endDate" },
1775
- {
1776
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
1777
- },
1778
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
1779
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
1780
- { path: "subscription.pauseInfo.startDate" },
1781
- { path: "subscription.pauseInfo.resumeDate" },
1782
- { path: "subscription.cancellationInfo.cancellationDate" },
1783
- {
1784
- path: "subscription.specificDatePendingUpdateData.executionDate"
1785
- }
1786
- ]
1787
- }
1788
- ])
1789
- };
1790
- return metadata;
1791
- }
1792
- return __markBillingCycleAsPaid;
1793
- }
1794
- function getSubscriptionsStats(payload) {
1795
- function __getSubscriptionsStats({ host }) {
1796
- const metadata = {
1797
- entityFqdn: "wix.billing.v1.subscription",
1798
- method: "GET",
1799
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.GetSubscriptionsStats",
1800
- packageName: PACKAGE_NAME,
1801
- migrationOptions: {
1802
- optInTransformResponse: true
1803
- },
1804
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1805
- protoPath: "/v1/subscriptions/stats",
1806
- data: payload,
1807
- host
1808
- }),
1809
- params: (0, import_rest_modules.toURLSearchParams)(payload)
1810
- };
1811
- return metadata;
1812
- }
1813
- return __getSubscriptionsStats;
1814
- }
1815
- function extendSubscription(payload) {
1816
- function __extendSubscription({ host }) {
1817
- const metadata = {
1818
- entityFqdn: "wix.billing.v1.subscription",
1819
- method: "PATCH",
1820
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.ExtendSubscription",
1821
- packageName: PACKAGE_NAME,
1822
- migrationOptions: {
1823
- optInTransformResponse: true
1824
- },
1825
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1826
- protoPath: "/v1/subscriptions/{id}/extend",
1827
- data: payload,
1828
- host
1829
- }),
1830
- data: payload,
1831
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1832
- {
1833
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1834
- paths: [
1835
- { path: "subscription.createdDate" },
1836
- { path: "subscription.updatedDate" },
1837
- { path: "subscription.startDate" },
1838
- { path: "subscription.endDate" },
1839
- { path: "subscription.billingStatus.nextBillingDate" },
1840
- { path: "subscription.billingStatus.previousBillingDate" },
1841
- {
1842
- path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
1843
- },
1844
- { path: "subscription.billingStatus.freeTrialData.startDate" },
1845
- { path: "subscription.billingStatus.freeTrialData.endDate" },
1846
- {
1847
- path: "subscription.billingStatus.updateBillingDateData.paidUntil"
1848
- },
1849
- { path: "subscription.billingStatus.gracePeriodData.startDate" },
1850
- { path: "subscription.billingStatus.gracePeriodData.endDate" },
1851
- { path: "subscription.pauseInfo.startDate" },
1852
- { path: "subscription.pauseInfo.resumeDate" },
1853
- { path: "subscription.cancellationInfo.cancellationDate" },
1854
- {
1855
- path: "subscription.specificDatePendingUpdateData.executionDate"
1856
- }
1857
- ]
1858
- }
1859
- ])
1860
- };
1861
- return metadata;
1862
- }
1863
- return __extendSubscription;
1864
- }
1865
- function allowedActions(payload) {
1866
- function __allowedActions({ host }) {
1867
- const metadata = {
1868
- entityFqdn: "wix.billing.v1.subscription",
1869
- method: "GET",
1870
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.AllowedActions",
1871
- packageName: PACKAGE_NAME,
1872
- migrationOptions: {
1873
- optInTransformResponse: true
1874
- },
1875
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1876
- protoPath: "/v1/subscriptions/{id}/allowed_actions",
1877
- data: payload,
1878
- host
1879
- }),
1880
- params: (0, import_rest_modules.toURLSearchParams)(payload)
1881
- };
1882
- return metadata;
1883
- }
1884
- return __allowedActions;
1885
- }
1886
- function listUpcomingCharges(payload) {
1887
- function __listUpcomingCharges({ host }) {
1888
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
1889
- {
1890
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
1891
- paths: [{ path: "nextBillingDate" }]
1892
- }
1893
- ]);
1894
- const metadata = {
1895
- entityFqdn: "wix.billing.v1.subscription",
1896
- method: "GET",
1897
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.ListUpcomingCharges",
1898
- packageName: PACKAGE_NAME,
1899
- migrationOptions: {
1900
- optInTransformResponse: true
1901
- },
1902
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1903
- protoPath: "/v1/subscriptions/{subscriptionId}/upcoming_charges",
1904
- data: serializedData,
1905
- host
1906
- }),
1907
- params: (0, import_rest_modules.toURLSearchParams)(serializedData),
1908
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1909
- {
1910
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1911
- paths: [{ path: "upcomingCharges.billingDate" }]
1912
- }
1913
- ])
1914
- };
1915
- return metadata;
1916
- }
1917
- return __listUpcomingCharges;
1918
- }
1919
- function previewSubscriptionCharges(payload) {
1920
- function __previewSubscriptionCharges({ host }) {
1921
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
1922
- {
1923
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
1924
- paths: [{ path: "subscriptionInfo.startDate" }]
1925
- }
1926
- ]);
1927
- const metadata = {
1928
- entityFqdn: "wix.billing.v1.subscription",
1929
- method: "GET",
1930
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.PreviewSubscriptionCharges",
1931
- packageName: PACKAGE_NAME,
1932
- migrationOptions: {
1933
- optInTransformResponse: true
1934
- },
1935
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1936
- protoPath: "/v1/subscriptions/preview_charges",
1937
- data: serializedData,
1938
- host
1939
- }),
1940
- params: (0, import_rest_modules.toURLSearchParams)(serializedData, true),
1941
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1942
- {
1943
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1944
- paths: [{ path: "charges.cycleBillingDate" }]
1945
- }
1946
- ])
1947
- };
1948
- return metadata;
1949
- }
1950
- return __previewSubscriptionCharges;
1951
- }
1952
- function previewSubscriptionsCharges(payload) {
1953
- function __previewSubscriptionsCharges({ host }) {
1954
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
1955
- {
1956
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
1957
- paths: [{ path: "subscriptionsBillingDetails.startDate" }]
1958
- }
1959
- ]);
1960
- const metadata = {
1961
- entityFqdn: "wix.billing.v1.subscription",
1962
- method: "GET",
1963
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.PreviewSubscriptionsCharges",
1964
- packageName: PACKAGE_NAME,
1965
- migrationOptions: {
1966
- optInTransformResponse: true
1967
- },
1968
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1969
- protoPath: "/v1/subscriptions/preview-subscriptions-charges",
1970
- data: serializedData,
1971
- host
1972
- }),
1973
- params: (0, import_rest_modules.toURLSearchParams)(serializedData, true),
1974
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1975
- {
1976
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1977
- paths: [{ path: "subscriptionsCharges.charges.cycleBillingDate" }]
1978
- }
1979
- ])
1980
- };
1981
- return metadata;
1982
- }
1983
- return __previewSubscriptionsCharges;
1984
- }
1985
- function initiatePaymentMethodSetup(payload) {
1986
- function __initiatePaymentMethodSetup({ host }) {
1987
- const metadata = {
1988
- entityFqdn: "wix.billing.v1.subscription",
1989
- method: "POST",
1990
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionsService.InitiatePaymentMethodSetup",
1991
- packageName: PACKAGE_NAME,
1992
- migrationOptions: {
1993
- optInTransformResponse: true
1994
- },
1995
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl({
1996
- protoPath: "/v1/subscriptions/{id}/payment_method_setup",
1997
- data: payload,
1998
- host
1999
- }),
2000
- data: payload
2001
- };
2002
- return metadata;
2003
- }
2004
- return __initiatePaymentMethodSetup;
2005
- }
2006
- function listSubscriptionHistory(payload) {
2007
- function __listSubscriptionHistory({ host }) {
2008
- const metadata = {
2009
- entityFqdn: "wix.billing.v1.subscription",
2010
- method: "GET",
2011
- methodFqn: "com.wixpress.billing.subscriptions.api.v1.SubscriptionHistoryService.ListSubscriptionHistory",
2012
- packageName: PACKAGE_NAME,
2013
- migrationOptions: {
2014
- optInTransformResponse: true
2015
- },
2016
- url: resolveComWixpressBillingSubscriptionsApiV1SubscriptionHistoryServiceUrl(
2017
- {
2018
- protoPath: "/v1/subscriptions/{subscriptionId}/history",
2019
- data: payload,
2020
- host
2021
- }
2022
- ),
2023
- params: (0, import_rest_modules.toURLSearchParams)(payload),
2024
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
2025
- {
2026
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
2027
- paths: [
2028
- { path: "historyEntries.entryTime" },
2029
- { path: "historyEntries.event.created.subscription.createdDate" },
2030
- { path: "historyEntries.event.created.subscription.updatedDate" },
2031
- { path: "historyEntries.event.created.subscription.startDate" },
2032
- { path: "historyEntries.event.created.subscription.endDate" },
2033
- {
2034
- path: "historyEntries.event.created.subscription.billingStatus.nextBillingDate"
2035
- },
2036
- {
2037
- path: "historyEntries.event.created.subscription.billingStatus.previousBillingDate"
2038
- },
2039
- {
2040
- path: "historyEntries.event.created.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2041
- },
2042
- {
2043
- path: "historyEntries.event.created.subscription.billingStatus.freeTrialData.startDate"
2044
- },
2045
- {
2046
- path: "historyEntries.event.created.subscription.billingStatus.freeTrialData.endDate"
2047
- },
2048
- {
2049
- path: "historyEntries.event.created.subscription.billingStatus.updateBillingDateData.paidUntil"
2050
- },
2051
- {
2052
- path: "historyEntries.event.created.subscription.billingStatus.gracePeriodData.startDate"
2053
- },
2054
- {
2055
- path: "historyEntries.event.created.subscription.billingStatus.gracePeriodData.endDate"
2056
- },
2057
- {
2058
- path: "historyEntries.event.created.subscription.pauseInfo.startDate"
2059
- },
2060
- {
2061
- path: "historyEntries.event.created.subscription.pauseInfo.resumeDate"
2062
- },
2063
- {
2064
- path: "historyEntries.event.created.subscription.cancellationInfo.cancellationDate"
2065
- },
2066
- {
2067
- path: "historyEntries.event.created.subscription.specificDatePendingUpdateData.executionDate"
2068
- },
2069
- { path: "historyEntries.event.updated.current.createdDate" },
2070
- { path: "historyEntries.event.updated.current.updatedDate" },
2071
- { path: "historyEntries.event.updated.current.startDate" },
2072
- { path: "historyEntries.event.updated.current.endDate" },
2073
- {
2074
- path: "historyEntries.event.updated.current.billingStatus.nextBillingDate"
2075
- },
2076
- {
2077
- path: "historyEntries.event.updated.current.billingStatus.previousBillingDate"
2078
- },
2079
- {
2080
- path: "historyEntries.event.updated.current.billingStatus.latestPaymentData.initialFailedPaymentDate"
2081
- },
2082
- {
2083
- path: "historyEntries.event.updated.current.billingStatus.freeTrialData.startDate"
2084
- },
2085
- {
2086
- path: "historyEntries.event.updated.current.billingStatus.freeTrialData.endDate"
2087
- },
2088
- {
2089
- path: "historyEntries.event.updated.current.billingStatus.updateBillingDateData.paidUntil"
2090
- },
2091
- {
2092
- path: "historyEntries.event.updated.current.billingStatus.gracePeriodData.startDate"
2093
- },
2094
- {
2095
- path: "historyEntries.event.updated.current.billingStatus.gracePeriodData.endDate"
2096
- },
2097
- {
2098
- path: "historyEntries.event.updated.current.pauseInfo.startDate"
2099
- },
2100
- {
2101
- path: "historyEntries.event.updated.current.pauseInfo.resumeDate"
2102
- },
2103
- {
2104
- path: "historyEntries.event.updated.current.cancellationInfo.cancellationDate"
2105
- },
2106
- {
2107
- path: "historyEntries.event.updated.current.specificDatePendingUpdateData.executionDate"
2108
- },
2109
- { path: "historyEntries.event.updated.previous.createdDate" },
2110
- { path: "historyEntries.event.updated.previous.updatedDate" },
2111
- { path: "historyEntries.event.updated.previous.startDate" },
2112
- { path: "historyEntries.event.updated.previous.endDate" },
2113
- {
2114
- path: "historyEntries.event.updated.previous.billingStatus.nextBillingDate"
2115
- },
2116
- {
2117
- path: "historyEntries.event.updated.previous.billingStatus.previousBillingDate"
2118
- },
2119
- {
2120
- path: "historyEntries.event.updated.previous.billingStatus.latestPaymentData.initialFailedPaymentDate"
2121
- },
2122
- {
2123
- path: "historyEntries.event.updated.previous.billingStatus.freeTrialData.startDate"
2124
- },
2125
- {
2126
- path: "historyEntries.event.updated.previous.billingStatus.freeTrialData.endDate"
2127
- },
2128
- {
2129
- path: "historyEntries.event.updated.previous.billingStatus.updateBillingDateData.paidUntil"
2130
- },
2131
- {
2132
- path: "historyEntries.event.updated.previous.billingStatus.gracePeriodData.startDate"
2133
- },
2134
- {
2135
- path: "historyEntries.event.updated.previous.billingStatus.gracePeriodData.endDate"
2136
- },
2137
- {
2138
- path: "historyEntries.event.updated.previous.pauseInfo.startDate"
2139
- },
2140
- {
2141
- path: "historyEntries.event.updated.previous.pauseInfo.resumeDate"
2142
- },
2143
- {
2144
- path: "historyEntries.event.updated.previous.cancellationInfo.cancellationDate"
2145
- },
2146
- {
2147
- path: "historyEntries.event.updated.previous.specificDatePendingUpdateData.executionDate"
2148
- },
2149
- {
2150
- path: "historyEntries.event.activated.subscription.createdDate"
2151
- },
2152
- {
2153
- path: "historyEntries.event.activated.subscription.updatedDate"
2154
- },
2155
- { path: "historyEntries.event.activated.subscription.startDate" },
2156
- { path: "historyEntries.event.activated.subscription.endDate" },
2157
- {
2158
- path: "historyEntries.event.activated.subscription.billingStatus.nextBillingDate"
2159
- },
2160
- {
2161
- path: "historyEntries.event.activated.subscription.billingStatus.previousBillingDate"
2162
- },
2163
- {
2164
- path: "historyEntries.event.activated.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2165
- },
2166
- {
2167
- path: "historyEntries.event.activated.subscription.billingStatus.freeTrialData.startDate"
2168
- },
2169
- {
2170
- path: "historyEntries.event.activated.subscription.billingStatus.freeTrialData.endDate"
2171
- },
2172
- {
2173
- path: "historyEntries.event.activated.subscription.billingStatus.updateBillingDateData.paidUntil"
2174
- },
2175
- {
2176
- path: "historyEntries.event.activated.subscription.billingStatus.gracePeriodData.startDate"
2177
- },
2178
- {
2179
- path: "historyEntries.event.activated.subscription.billingStatus.gracePeriodData.endDate"
2180
- },
2181
- {
2182
- path: "historyEntries.event.activated.subscription.pauseInfo.startDate"
2183
- },
2184
- {
2185
- path: "historyEntries.event.activated.subscription.pauseInfo.resumeDate"
2186
- },
2187
- {
2188
- path: "historyEntries.event.activated.subscription.cancellationInfo.cancellationDate"
2189
- },
2190
- {
2191
- path: "historyEntries.event.activated.subscription.specificDatePendingUpdateData.executionDate"
2192
- },
2193
- { path: "historyEntries.event.ended.subscription.createdDate" },
2194
- { path: "historyEntries.event.ended.subscription.updatedDate" },
2195
- { path: "historyEntries.event.ended.subscription.startDate" },
2196
- { path: "historyEntries.event.ended.subscription.endDate" },
2197
- {
2198
- path: "historyEntries.event.ended.subscription.billingStatus.nextBillingDate"
2199
- },
2200
- {
2201
- path: "historyEntries.event.ended.subscription.billingStatus.previousBillingDate"
2202
- },
2203
- {
2204
- path: "historyEntries.event.ended.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2205
- },
2206
- {
2207
- path: "historyEntries.event.ended.subscription.billingStatus.freeTrialData.startDate"
2208
- },
2209
- {
2210
- path: "historyEntries.event.ended.subscription.billingStatus.freeTrialData.endDate"
2211
- },
2212
- {
2213
- path: "historyEntries.event.ended.subscription.billingStatus.updateBillingDateData.paidUntil"
2214
- },
2215
- {
2216
- path: "historyEntries.event.ended.subscription.billingStatus.gracePeriodData.startDate"
2217
- },
2218
- {
2219
- path: "historyEntries.event.ended.subscription.billingStatus.gracePeriodData.endDate"
2220
- },
2221
- {
2222
- path: "historyEntries.event.ended.subscription.pauseInfo.startDate"
2223
- },
2224
- {
2225
- path: "historyEntries.event.ended.subscription.pauseInfo.resumeDate"
2226
- },
2227
- {
2228
- path: "historyEntries.event.ended.subscription.cancellationInfo.cancellationDate"
2229
- },
2230
- {
2231
- path: "historyEntries.event.ended.subscription.specificDatePendingUpdateData.executionDate"
2232
- },
2233
- {
2234
- path: "historyEntries.event.canceled.subscription.createdDate"
2235
- },
2236
- {
2237
- path: "historyEntries.event.canceled.subscription.updatedDate"
2238
- },
2239
- { path: "historyEntries.event.canceled.subscription.startDate" },
2240
- { path: "historyEntries.event.canceled.subscription.endDate" },
2241
- {
2242
- path: "historyEntries.event.canceled.subscription.billingStatus.nextBillingDate"
2243
- },
2244
- {
2245
- path: "historyEntries.event.canceled.subscription.billingStatus.previousBillingDate"
2246
- },
2247
- {
2248
- path: "historyEntries.event.canceled.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2249
- },
2250
- {
2251
- path: "historyEntries.event.canceled.subscription.billingStatus.freeTrialData.startDate"
2252
- },
2253
- {
2254
- path: "historyEntries.event.canceled.subscription.billingStatus.freeTrialData.endDate"
2255
- },
2256
- {
2257
- path: "historyEntries.event.canceled.subscription.billingStatus.updateBillingDateData.paidUntil"
2258
- },
2259
- {
2260
- path: "historyEntries.event.canceled.subscription.billingStatus.gracePeriodData.startDate"
2261
- },
2262
- {
2263
- path: "historyEntries.event.canceled.subscription.billingStatus.gracePeriodData.endDate"
2264
- },
2265
- {
2266
- path: "historyEntries.event.canceled.subscription.pauseInfo.startDate"
2267
- },
2268
- {
2269
- path: "historyEntries.event.canceled.subscription.pauseInfo.resumeDate"
2270
- },
2271
- {
2272
- path: "historyEntries.event.canceled.subscription.cancellationInfo.cancellationDate"
2273
- },
2274
- {
2275
- path: "historyEntries.event.canceled.subscription.specificDatePendingUpdateData.executionDate"
2276
- },
2277
- { path: "historyEntries.event.paused.subscription.createdDate" },
2278
- { path: "historyEntries.event.paused.subscription.updatedDate" },
2279
- { path: "historyEntries.event.paused.subscription.startDate" },
2280
- { path: "historyEntries.event.paused.subscription.endDate" },
2281
- {
2282
- path: "historyEntries.event.paused.subscription.billingStatus.nextBillingDate"
2283
- },
2284
- {
2285
- path: "historyEntries.event.paused.subscription.billingStatus.previousBillingDate"
2286
- },
2287
- {
2288
- path: "historyEntries.event.paused.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2289
- },
2290
- {
2291
- path: "historyEntries.event.paused.subscription.billingStatus.freeTrialData.startDate"
2292
- },
2293
- {
2294
- path: "historyEntries.event.paused.subscription.billingStatus.freeTrialData.endDate"
2295
- },
2296
- {
2297
- path: "historyEntries.event.paused.subscription.billingStatus.updateBillingDateData.paidUntil"
2298
- },
2299
- {
2300
- path: "historyEntries.event.paused.subscription.billingStatus.gracePeriodData.startDate"
2301
- },
2302
- {
2303
- path: "historyEntries.event.paused.subscription.billingStatus.gracePeriodData.endDate"
2304
- },
2305
- {
2306
- path: "historyEntries.event.paused.subscription.pauseInfo.startDate"
2307
- },
2308
- {
2309
- path: "historyEntries.event.paused.subscription.pauseInfo.resumeDate"
2310
- },
2311
- {
2312
- path: "historyEntries.event.paused.subscription.cancellationInfo.cancellationDate"
2313
- },
2314
- {
2315
- path: "historyEntries.event.paused.subscription.specificDatePendingUpdateData.executionDate"
2316
- },
2317
- { path: "historyEntries.event.resumed.subscription.createdDate" },
2318
- { path: "historyEntries.event.resumed.subscription.updatedDate" },
2319
- { path: "historyEntries.event.resumed.subscription.startDate" },
2320
- { path: "historyEntries.event.resumed.subscription.endDate" },
2321
- {
2322
- path: "historyEntries.event.resumed.subscription.billingStatus.nextBillingDate"
2323
- },
2324
- {
2325
- path: "historyEntries.event.resumed.subscription.billingStatus.previousBillingDate"
2326
- },
2327
- {
2328
- path: "historyEntries.event.resumed.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2329
- },
2330
- {
2331
- path: "historyEntries.event.resumed.subscription.billingStatus.freeTrialData.startDate"
2332
- },
2333
- {
2334
- path: "historyEntries.event.resumed.subscription.billingStatus.freeTrialData.endDate"
2335
- },
2336
- {
2337
- path: "historyEntries.event.resumed.subscription.billingStatus.updateBillingDateData.paidUntil"
2338
- },
2339
- {
2340
- path: "historyEntries.event.resumed.subscription.billingStatus.gracePeriodData.startDate"
2341
- },
2342
- {
2343
- path: "historyEntries.event.resumed.subscription.billingStatus.gracePeriodData.endDate"
2344
- },
2345
- {
2346
- path: "historyEntries.event.resumed.subscription.pauseInfo.startDate"
2347
- },
2348
- {
2349
- path: "historyEntries.event.resumed.subscription.pauseInfo.resumeDate"
2350
- },
2351
- {
2352
- path: "historyEntries.event.resumed.subscription.cancellationInfo.cancellationDate"
2353
- },
2354
- {
2355
- path: "historyEntries.event.resumed.subscription.specificDatePendingUpdateData.executionDate"
2356
- },
2357
- { path: "historyEntries.event.resumed.pauseInfo.startDate" },
2358
- { path: "historyEntries.event.resumed.pauseInfo.resumeDate" },
2359
- {
2360
- path: "historyEntries.event.pauseRequested.subscription.createdDate"
2361
- },
2362
- {
2363
- path: "historyEntries.event.pauseRequested.subscription.updatedDate"
2364
- },
2365
- {
2366
- path: "historyEntries.event.pauseRequested.subscription.startDate"
2367
- },
2368
- {
2369
- path: "historyEntries.event.pauseRequested.subscription.endDate"
2370
- },
2371
- {
2372
- path: "historyEntries.event.pauseRequested.subscription.billingStatus.nextBillingDate"
2373
- },
2374
- {
2375
- path: "historyEntries.event.pauseRequested.subscription.billingStatus.previousBillingDate"
2376
- },
2377
- {
2378
- path: "historyEntries.event.pauseRequested.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2379
- },
2380
- {
2381
- path: "historyEntries.event.pauseRequested.subscription.billingStatus.freeTrialData.startDate"
2382
- },
2383
- {
2384
- path: "historyEntries.event.pauseRequested.subscription.billingStatus.freeTrialData.endDate"
2385
- },
2386
- {
2387
- path: "historyEntries.event.pauseRequested.subscription.billingStatus.updateBillingDateData.paidUntil"
2388
- },
2389
- {
2390
- path: "historyEntries.event.pauseRequested.subscription.billingStatus.gracePeriodData.startDate"
2391
- },
2392
- {
2393
- path: "historyEntries.event.pauseRequested.subscription.billingStatus.gracePeriodData.endDate"
2394
- },
2395
- {
2396
- path: "historyEntries.event.pauseRequested.subscription.pauseInfo.startDate"
2397
- },
2398
- {
2399
- path: "historyEntries.event.pauseRequested.subscription.pauseInfo.resumeDate"
2400
- },
2401
- {
2402
- path: "historyEntries.event.pauseRequested.subscription.cancellationInfo.cancellationDate"
2403
- },
2404
- {
2405
- path: "historyEntries.event.pauseRequested.subscription.specificDatePendingUpdateData.executionDate"
2406
- },
2407
- {
2408
- path: "historyEntries.event.resumeRequested.subscription.createdDate"
2409
- },
2410
- {
2411
- path: "historyEntries.event.resumeRequested.subscription.updatedDate"
2412
- },
2413
- {
2414
- path: "historyEntries.event.resumeRequested.subscription.startDate"
2415
- },
2416
- {
2417
- path: "historyEntries.event.resumeRequested.subscription.endDate"
2418
- },
2419
- {
2420
- path: "historyEntries.event.resumeRequested.subscription.billingStatus.nextBillingDate"
2421
- },
2422
- {
2423
- path: "historyEntries.event.resumeRequested.subscription.billingStatus.previousBillingDate"
2424
- },
2425
- {
2426
- path: "historyEntries.event.resumeRequested.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2427
- },
2428
- {
2429
- path: "historyEntries.event.resumeRequested.subscription.billingStatus.freeTrialData.startDate"
2430
- },
2431
- {
2432
- path: "historyEntries.event.resumeRequested.subscription.billingStatus.freeTrialData.endDate"
2433
- },
2434
- {
2435
- path: "historyEntries.event.resumeRequested.subscription.billingStatus.updateBillingDateData.paidUntil"
2436
- },
2437
- {
2438
- path: "historyEntries.event.resumeRequested.subscription.billingStatus.gracePeriodData.startDate"
2439
- },
2440
- {
2441
- path: "historyEntries.event.resumeRequested.subscription.billingStatus.gracePeriodData.endDate"
2442
- },
2443
- {
2444
- path: "historyEntries.event.resumeRequested.subscription.pauseInfo.startDate"
2445
- },
2446
- {
2447
- path: "historyEntries.event.resumeRequested.subscription.pauseInfo.resumeDate"
2448
- },
2449
- {
2450
- path: "historyEntries.event.resumeRequested.subscription.cancellationInfo.cancellationDate"
2451
- },
2452
- {
2453
- path: "historyEntries.event.resumeRequested.subscription.specificDatePendingUpdateData.executionDate"
2454
- },
2455
- {
2456
- path: "historyEntries.event.scheduledPauseCanceled.subscription.createdDate"
2457
- },
2458
- {
2459
- path: "historyEntries.event.scheduledPauseCanceled.subscription.updatedDate"
2460
- },
2461
- {
2462
- path: "historyEntries.event.scheduledPauseCanceled.subscription.startDate"
2463
- },
2464
- {
2465
- path: "historyEntries.event.scheduledPauseCanceled.subscription.endDate"
2466
- },
2467
- {
2468
- path: "historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.nextBillingDate"
2469
- },
2470
- {
2471
- path: "historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.previousBillingDate"
2472
- },
2473
- {
2474
- path: "historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2475
- },
2476
- {
2477
- path: "historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.freeTrialData.startDate"
2478
- },
2479
- {
2480
- path: "historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.freeTrialData.endDate"
2481
- },
2482
- {
2483
- path: "historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.updateBillingDateData.paidUntil"
2484
- },
2485
- {
2486
- path: "historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.gracePeriodData.startDate"
2487
- },
2488
- {
2489
- path: "historyEntries.event.scheduledPauseCanceled.subscription.billingStatus.gracePeriodData.endDate"
2490
- },
2491
- {
2492
- path: "historyEntries.event.scheduledPauseCanceled.subscription.pauseInfo.startDate"
2493
- },
2494
- {
2495
- path: "historyEntries.event.scheduledPauseCanceled.subscription.pauseInfo.resumeDate"
2496
- },
2497
- {
2498
- path: "historyEntries.event.scheduledPauseCanceled.subscription.cancellationInfo.cancellationDate"
2499
- },
2500
- {
2501
- path: "historyEntries.event.scheduledPauseCanceled.subscription.specificDatePendingUpdateData.executionDate"
2502
- },
2503
- {
2504
- path: "historyEntries.event.scheduledResumeCanceled.subscription.createdDate"
2505
- },
2506
- {
2507
- path: "historyEntries.event.scheduledResumeCanceled.subscription.updatedDate"
2508
- },
2509
- {
2510
- path: "historyEntries.event.scheduledResumeCanceled.subscription.startDate"
2511
- },
2512
- {
2513
- path: "historyEntries.event.scheduledResumeCanceled.subscription.endDate"
2514
- },
2515
- {
2516
- path: "historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.nextBillingDate"
2517
- },
2518
- {
2519
- path: "historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.previousBillingDate"
2520
- },
2521
- {
2522
- path: "historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2523
- },
2524
- {
2525
- path: "historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.freeTrialData.startDate"
2526
- },
2527
- {
2528
- path: "historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.freeTrialData.endDate"
2529
- },
2530
- {
2531
- path: "historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.updateBillingDateData.paidUntil"
2532
- },
2533
- {
2534
- path: "historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.gracePeriodData.startDate"
2535
- },
2536
- {
2537
- path: "historyEntries.event.scheduledResumeCanceled.subscription.billingStatus.gracePeriodData.endDate"
2538
- },
2539
- {
2540
- path: "historyEntries.event.scheduledResumeCanceled.subscription.pauseInfo.startDate"
2541
- },
2542
- {
2543
- path: "historyEntries.event.scheduledResumeCanceled.subscription.pauseInfo.resumeDate"
2544
- },
2545
- {
2546
- path: "historyEntries.event.scheduledResumeCanceled.subscription.cancellationInfo.cancellationDate"
2547
- },
2548
- {
2549
- path: "historyEntries.event.scheduledResumeCanceled.subscription.specificDatePendingUpdateData.executionDate"
2550
- },
2551
- {
2552
- path: "historyEntries.event.billingCycleStarted.subscription.createdDate"
2553
- },
2554
- {
2555
- path: "historyEntries.event.billingCycleStarted.subscription.updatedDate"
2556
- },
2557
- {
2558
- path: "historyEntries.event.billingCycleStarted.subscription.startDate"
2559
- },
2560
- {
2561
- path: "historyEntries.event.billingCycleStarted.subscription.endDate"
2562
- },
2563
- {
2564
- path: "historyEntries.event.billingCycleStarted.subscription.billingStatus.nextBillingDate"
2565
- },
2566
- {
2567
- path: "historyEntries.event.billingCycleStarted.subscription.billingStatus.previousBillingDate"
2568
- },
2569
- {
2570
- path: "historyEntries.event.billingCycleStarted.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2571
- },
2572
- {
2573
- path: "historyEntries.event.billingCycleStarted.subscription.billingStatus.freeTrialData.startDate"
2574
- },
2575
- {
2576
- path: "historyEntries.event.billingCycleStarted.subscription.billingStatus.freeTrialData.endDate"
2577
- },
2578
- {
2579
- path: "historyEntries.event.billingCycleStarted.subscription.billingStatus.updateBillingDateData.paidUntil"
2580
- },
2581
- {
2582
- path: "historyEntries.event.billingCycleStarted.subscription.billingStatus.gracePeriodData.startDate"
2583
- },
2584
- {
2585
- path: "historyEntries.event.billingCycleStarted.subscription.billingStatus.gracePeriodData.endDate"
2586
- },
2587
- {
2588
- path: "historyEntries.event.billingCycleStarted.subscription.pauseInfo.startDate"
2589
- },
2590
- {
2591
- path: "historyEntries.event.billingCycleStarted.subscription.pauseInfo.resumeDate"
2592
- },
2593
- {
2594
- path: "historyEntries.event.billingCycleStarted.subscription.cancellationInfo.cancellationDate"
2595
- },
2596
- {
2597
- path: "historyEntries.event.billingCycleStarted.subscription.specificDatePendingUpdateData.executionDate"
2598
- },
2599
- {
2600
- path: "historyEntries.event.autoRenewalTurnedOn.subscription.createdDate"
2601
- },
2602
- {
2603
- path: "historyEntries.event.autoRenewalTurnedOn.subscription.updatedDate"
2604
- },
2605
- {
2606
- path: "historyEntries.event.autoRenewalTurnedOn.subscription.startDate"
2607
- },
2608
- {
2609
- path: "historyEntries.event.autoRenewalTurnedOn.subscription.endDate"
2610
- },
2611
- {
2612
- path: "historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.nextBillingDate"
2613
- },
2614
- {
2615
- path: "historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.previousBillingDate"
2616
- },
2617
- {
2618
- path: "historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2619
- },
2620
- {
2621
- path: "historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.freeTrialData.startDate"
2622
- },
2623
- {
2624
- path: "historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.freeTrialData.endDate"
2625
- },
2626
- {
2627
- path: "historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.updateBillingDateData.paidUntil"
2628
- },
2629
- {
2630
- path: "historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.gracePeriodData.startDate"
2631
- },
2632
- {
2633
- path: "historyEntries.event.autoRenewalTurnedOn.subscription.billingStatus.gracePeriodData.endDate"
2634
- },
2635
- {
2636
- path: "historyEntries.event.autoRenewalTurnedOn.subscription.pauseInfo.startDate"
2637
- },
2638
- {
2639
- path: "historyEntries.event.autoRenewalTurnedOn.subscription.pauseInfo.resumeDate"
2640
- },
2641
- {
2642
- path: "historyEntries.event.autoRenewalTurnedOn.subscription.cancellationInfo.cancellationDate"
2643
- },
2644
- {
2645
- path: "historyEntries.event.autoRenewalTurnedOn.subscription.specificDatePendingUpdateData.executionDate"
2646
- },
2647
- {
2648
- path: "historyEntries.event.autoRenewalTurnedOff.subscription.createdDate"
2649
- },
2650
- {
2651
- path: "historyEntries.event.autoRenewalTurnedOff.subscription.updatedDate"
2652
- },
2653
- {
2654
- path: "historyEntries.event.autoRenewalTurnedOff.subscription.startDate"
2655
- },
2656
- {
2657
- path: "historyEntries.event.autoRenewalTurnedOff.subscription.endDate"
2658
- },
2659
- {
2660
- path: "historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.nextBillingDate"
2661
- },
2662
- {
2663
- path: "historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.previousBillingDate"
2664
- },
2665
- {
2666
- path: "historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2667
- },
2668
- {
2669
- path: "historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.freeTrialData.startDate"
2670
- },
2671
- {
2672
- path: "historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.freeTrialData.endDate"
2673
- },
2674
- {
2675
- path: "historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.updateBillingDateData.paidUntil"
2676
- },
2677
- {
2678
- path: "historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.gracePeriodData.startDate"
2679
- },
2680
- {
2681
- path: "historyEntries.event.autoRenewalTurnedOff.subscription.billingStatus.gracePeriodData.endDate"
2682
- },
2683
- {
2684
- path: "historyEntries.event.autoRenewalTurnedOff.subscription.pauseInfo.startDate"
2685
- },
2686
- {
2687
- path: "historyEntries.event.autoRenewalTurnedOff.subscription.pauseInfo.resumeDate"
2688
- },
2689
- {
2690
- path: "historyEntries.event.autoRenewalTurnedOff.subscription.cancellationInfo.cancellationDate"
2691
- },
2692
- {
2693
- path: "historyEntries.event.autoRenewalTurnedOff.subscription.specificDatePendingUpdateData.executionDate"
2694
- },
2695
- {
2696
- path: "historyEntries.event.cycleReadyToPay.subscription.createdDate"
2697
- },
2698
- {
2699
- path: "historyEntries.event.cycleReadyToPay.subscription.updatedDate"
2700
- },
2701
- {
2702
- path: "historyEntries.event.cycleReadyToPay.subscription.startDate"
2703
- },
2704
- {
2705
- path: "historyEntries.event.cycleReadyToPay.subscription.endDate"
2706
- },
2707
- {
2708
- path: "historyEntries.event.cycleReadyToPay.subscription.billingStatus.nextBillingDate"
2709
- },
2710
- {
2711
- path: "historyEntries.event.cycleReadyToPay.subscription.billingStatus.previousBillingDate"
2712
- },
2713
- {
2714
- path: "historyEntries.event.cycleReadyToPay.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2715
- },
2716
- {
2717
- path: "historyEntries.event.cycleReadyToPay.subscription.billingStatus.freeTrialData.startDate"
2718
- },
2719
- {
2720
- path: "historyEntries.event.cycleReadyToPay.subscription.billingStatus.freeTrialData.endDate"
2721
- },
2722
- {
2723
- path: "historyEntries.event.cycleReadyToPay.subscription.billingStatus.updateBillingDateData.paidUntil"
2724
- },
2725
- {
2726
- path: "historyEntries.event.cycleReadyToPay.subscription.billingStatus.gracePeriodData.startDate"
2727
- },
2728
- {
2729
- path: "historyEntries.event.cycleReadyToPay.subscription.billingStatus.gracePeriodData.endDate"
2730
- },
2731
- {
2732
- path: "historyEntries.event.cycleReadyToPay.subscription.pauseInfo.startDate"
2733
- },
2734
- {
2735
- path: "historyEntries.event.cycleReadyToPay.subscription.pauseInfo.resumeDate"
2736
- },
2737
- {
2738
- path: "historyEntries.event.cycleReadyToPay.subscription.cancellationInfo.cancellationDate"
2739
- },
2740
- {
2741
- path: "historyEntries.event.cycleReadyToPay.subscription.specificDatePendingUpdateData.executionDate"
2742
- },
2743
- {
2744
- path: "historyEntries.event.extended.subscription.createdDate"
2745
- },
2746
- {
2747
- path: "historyEntries.event.extended.subscription.updatedDate"
2748
- },
2749
- { path: "historyEntries.event.extended.subscription.startDate" },
2750
- { path: "historyEntries.event.extended.subscription.endDate" },
2751
- {
2752
- path: "historyEntries.event.extended.subscription.billingStatus.nextBillingDate"
2753
- },
2754
- {
2755
- path: "historyEntries.event.extended.subscription.billingStatus.previousBillingDate"
2756
- },
2757
- {
2758
- path: "historyEntries.event.extended.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2759
- },
2760
- {
2761
- path: "historyEntries.event.extended.subscription.billingStatus.freeTrialData.startDate"
2762
- },
2763
- {
2764
- path: "historyEntries.event.extended.subscription.billingStatus.freeTrialData.endDate"
2765
- },
2766
- {
2767
- path: "historyEntries.event.extended.subscription.billingStatus.updateBillingDateData.paidUntil"
2768
- },
2769
- {
2770
- path: "historyEntries.event.extended.subscription.billingStatus.gracePeriodData.startDate"
2771
- },
2772
- {
2773
- path: "historyEntries.event.extended.subscription.billingStatus.gracePeriodData.endDate"
2774
- },
2775
- {
2776
- path: "historyEntries.event.extended.subscription.pauseInfo.startDate"
2777
- },
2778
- {
2779
- path: "historyEntries.event.extended.subscription.pauseInfo.resumeDate"
2780
- },
2781
- {
2782
- path: "historyEntries.event.extended.subscription.cancellationInfo.cancellationDate"
2783
- },
2784
- {
2785
- path: "historyEntries.event.extended.subscription.specificDatePendingUpdateData.executionDate"
2786
- },
2787
- {
2788
- path: "historyEntries.event.initialPurchaseCompleted.subscription.createdDate"
2789
- },
2790
- {
2791
- path: "historyEntries.event.initialPurchaseCompleted.subscription.updatedDate"
2792
- },
2793
- {
2794
- path: "historyEntries.event.initialPurchaseCompleted.subscription.startDate"
2795
- },
2796
- {
2797
- path: "historyEntries.event.initialPurchaseCompleted.subscription.endDate"
2798
- },
2799
- {
2800
- path: "historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.nextBillingDate"
2801
- },
2802
- {
2803
- path: "historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.previousBillingDate"
2804
- },
2805
- {
2806
- path: "historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2807
- },
2808
- {
2809
- path: "historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.freeTrialData.startDate"
2810
- },
2811
- {
2812
- path: "historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.freeTrialData.endDate"
2813
- },
2814
- {
2815
- path: "historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.updateBillingDateData.paidUntil"
2816
- },
2817
- {
2818
- path: "historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.gracePeriodData.startDate"
2819
- },
2820
- {
2821
- path: "historyEntries.event.initialPurchaseCompleted.subscription.billingStatus.gracePeriodData.endDate"
2822
- },
2823
- {
2824
- path: "historyEntries.event.initialPurchaseCompleted.subscription.pauseInfo.startDate"
2825
- },
2826
- {
2827
- path: "historyEntries.event.initialPurchaseCompleted.subscription.pauseInfo.resumeDate"
2828
- },
2829
- {
2830
- path: "historyEntries.event.initialPurchaseCompleted.subscription.cancellationInfo.cancellationDate"
2831
- },
2832
- {
2833
- path: "historyEntries.event.initialPurchaseCompleted.subscription.specificDatePendingUpdateData.executionDate"
2834
- },
2835
- {
2836
- path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.createdDate"
2837
- },
2838
- {
2839
- path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.updatedDate"
2840
- },
2841
- {
2842
- path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.startDate"
2843
- },
2844
- {
2845
- path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.endDate"
2846
- },
2847
- {
2848
- path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.nextBillingDate"
2849
- },
2850
- {
2851
- path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.previousBillingDate"
2852
- },
2853
- {
2854
- path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2855
- },
2856
- {
2857
- path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.freeTrialData.startDate"
2858
- },
2859
- {
2860
- path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.freeTrialData.endDate"
2861
- },
2862
- {
2863
- path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.updateBillingDateData.paidUntil"
2864
- },
2865
- {
2866
- path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.gracePeriodData.startDate"
2867
- },
2868
- {
2869
- path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.billingStatus.gracePeriodData.endDate"
2870
- },
2871
- {
2872
- path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.pauseInfo.startDate"
2873
- },
2874
- {
2875
- path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.pauseInfo.resumeDate"
2876
- },
2877
- {
2878
- path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.cancellationInfo.cancellationDate"
2879
- },
2880
- {
2881
- path: "historyEntries.event.latestInvoiceMarkedAsPaid.subscription.specificDatePendingUpdateData.executionDate"
2882
- },
2883
- { path: "historyEntries.event.revived.subscription.createdDate" },
2884
- { path: "historyEntries.event.revived.subscription.updatedDate" },
2885
- { path: "historyEntries.event.revived.subscription.startDate" },
2886
- { path: "historyEntries.event.revived.subscription.endDate" },
2887
- {
2888
- path: "historyEntries.event.revived.subscription.billingStatus.nextBillingDate"
2889
- },
2890
- {
2891
- path: "historyEntries.event.revived.subscription.billingStatus.previousBillingDate"
2892
- },
2893
- {
2894
- path: "historyEntries.event.revived.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2895
- },
2896
- {
2897
- path: "historyEntries.event.revived.subscription.billingStatus.freeTrialData.startDate"
2898
- },
2899
- {
2900
- path: "historyEntries.event.revived.subscription.billingStatus.freeTrialData.endDate"
2901
- },
2902
- {
2903
- path: "historyEntries.event.revived.subscription.billingStatus.updateBillingDateData.paidUntil"
2904
- },
2905
- {
2906
- path: "historyEntries.event.revived.subscription.billingStatus.gracePeriodData.startDate"
2907
- },
2908
- {
2909
- path: "historyEntries.event.revived.subscription.billingStatus.gracePeriodData.endDate"
2910
- },
2911
- {
2912
- path: "historyEntries.event.revived.subscription.pauseInfo.startDate"
2913
- },
2914
- {
2915
- path: "historyEntries.event.revived.subscription.pauseInfo.resumeDate"
2916
- },
2917
- {
2918
- path: "historyEntries.event.revived.subscription.cancellationInfo.cancellationDate"
2919
- },
2920
- {
2921
- path: "historyEntries.event.revived.subscription.specificDatePendingUpdateData.executionDate"
2922
- },
2923
- { path: "historyEntries.event.billingDateUpdated.billingDate" },
2924
- {
2925
- path: "historyEntries.event.billingDateUpdated.subscription.createdDate"
2926
- },
2927
- {
2928
- path: "historyEntries.event.billingDateUpdated.subscription.updatedDate"
2929
- },
2930
- {
2931
- path: "historyEntries.event.billingDateUpdated.subscription.startDate"
2932
- },
2933
- {
2934
- path: "historyEntries.event.billingDateUpdated.subscription.endDate"
2935
- },
2936
- {
2937
- path: "historyEntries.event.billingDateUpdated.subscription.billingStatus.nextBillingDate"
2938
- },
2939
- {
2940
- path: "historyEntries.event.billingDateUpdated.subscription.billingStatus.previousBillingDate"
2941
- },
2942
- {
2943
- path: "historyEntries.event.billingDateUpdated.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2944
- },
2945
- {
2946
- path: "historyEntries.event.billingDateUpdated.subscription.billingStatus.freeTrialData.startDate"
2947
- },
2948
- {
2949
- path: "historyEntries.event.billingDateUpdated.subscription.billingStatus.freeTrialData.endDate"
2950
- },
2951
- {
2952
- path: "historyEntries.event.billingDateUpdated.subscription.billingStatus.updateBillingDateData.paidUntil"
2953
- },
2954
- {
2955
- path: "historyEntries.event.billingDateUpdated.subscription.billingStatus.gracePeriodData.startDate"
2956
- },
2957
- {
2958
- path: "historyEntries.event.billingDateUpdated.subscription.billingStatus.gracePeriodData.endDate"
2959
- },
2960
- {
2961
- path: "historyEntries.event.billingDateUpdated.subscription.pauseInfo.startDate"
2962
- },
2963
- {
2964
- path: "historyEntries.event.billingDateUpdated.subscription.pauseInfo.resumeDate"
2965
- },
2966
- {
2967
- path: "historyEntries.event.billingDateUpdated.subscription.cancellationInfo.cancellationDate"
2968
- },
2969
- {
2970
- path: "historyEntries.event.billingDateUpdated.subscription.specificDatePendingUpdateData.executionDate"
2971
- },
2972
- {
2973
- path: "historyEntries.event.futureUpdatesRequested.subscription.createdDate"
2974
- },
2975
- {
2976
- path: "historyEntries.event.futureUpdatesRequested.subscription.updatedDate"
2977
- },
2978
- {
2979
- path: "historyEntries.event.futureUpdatesRequested.subscription.startDate"
2980
- },
2981
- {
2982
- path: "historyEntries.event.futureUpdatesRequested.subscription.endDate"
2983
- },
2984
- {
2985
- path: "historyEntries.event.futureUpdatesRequested.subscription.billingStatus.nextBillingDate"
2986
- },
2987
- {
2988
- path: "historyEntries.event.futureUpdatesRequested.subscription.billingStatus.previousBillingDate"
2989
- },
2990
- {
2991
- path: "historyEntries.event.futureUpdatesRequested.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
2992
- },
2993
- {
2994
- path: "historyEntries.event.futureUpdatesRequested.subscription.billingStatus.freeTrialData.startDate"
2995
- },
2996
- {
2997
- path: "historyEntries.event.futureUpdatesRequested.subscription.billingStatus.freeTrialData.endDate"
2998
- },
2999
- {
3000
- path: "historyEntries.event.futureUpdatesRequested.subscription.billingStatus.updateBillingDateData.paidUntil"
3001
- },
3002
- {
3003
- path: "historyEntries.event.futureUpdatesRequested.subscription.billingStatus.gracePeriodData.startDate"
3004
- },
3005
- {
3006
- path: "historyEntries.event.futureUpdatesRequested.subscription.billingStatus.gracePeriodData.endDate"
3007
- },
3008
- {
3009
- path: "historyEntries.event.futureUpdatesRequested.subscription.pauseInfo.startDate"
3010
- },
3011
- {
3012
- path: "historyEntries.event.futureUpdatesRequested.subscription.pauseInfo.resumeDate"
3013
- },
3014
- {
3015
- path: "historyEntries.event.futureUpdatesRequested.subscription.cancellationInfo.cancellationDate"
3016
- },
3017
- {
3018
- path: "historyEntries.event.futureUpdatesRequested.subscription.specificDatePendingUpdateData.executionDate"
3019
- },
3020
- {
3021
- path: "historyEntries.event.updatesApplied.subscription.createdDate"
3022
- },
3023
- {
3024
- path: "historyEntries.event.updatesApplied.subscription.updatedDate"
3025
- },
3026
- {
3027
- path: "historyEntries.event.updatesApplied.subscription.startDate"
3028
- },
3029
- {
3030
- path: "historyEntries.event.updatesApplied.subscription.endDate"
3031
- },
3032
- {
3033
- path: "historyEntries.event.updatesApplied.subscription.billingStatus.nextBillingDate"
3034
- },
3035
- {
3036
- path: "historyEntries.event.updatesApplied.subscription.billingStatus.previousBillingDate"
3037
- },
3038
- {
3039
- path: "historyEntries.event.updatesApplied.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
3040
- },
3041
- {
3042
- path: "historyEntries.event.updatesApplied.subscription.billingStatus.freeTrialData.startDate"
3043
- },
3044
- {
3045
- path: "historyEntries.event.updatesApplied.subscription.billingStatus.freeTrialData.endDate"
3046
- },
3047
- {
3048
- path: "historyEntries.event.updatesApplied.subscription.billingStatus.updateBillingDateData.paidUntil"
3049
- },
3050
- {
3051
- path: "historyEntries.event.updatesApplied.subscription.billingStatus.gracePeriodData.startDate"
3052
- },
3053
- {
3054
- path: "historyEntries.event.updatesApplied.subscription.billingStatus.gracePeriodData.endDate"
3055
- },
3056
- {
3057
- path: "historyEntries.event.updatesApplied.subscription.pauseInfo.startDate"
3058
- },
3059
- {
3060
- path: "historyEntries.event.updatesApplied.subscription.pauseInfo.resumeDate"
3061
- },
3062
- {
3063
- path: "historyEntries.event.updatesApplied.subscription.cancellationInfo.cancellationDate"
3064
- },
3065
- {
3066
- path: "historyEntries.event.updatesApplied.subscription.specificDatePendingUpdateData.executionDate"
3067
- },
3068
- {
3069
- path: "historyEntries.event.resetPendingUpdates.subscription.createdDate"
3070
- },
3071
- {
3072
- path: "historyEntries.event.resetPendingUpdates.subscription.updatedDate"
3073
- },
3074
- {
3075
- path: "historyEntries.event.resetPendingUpdates.subscription.startDate"
3076
- },
3077
- {
3078
- path: "historyEntries.event.resetPendingUpdates.subscription.endDate"
3079
- },
3080
- {
3081
- path: "historyEntries.event.resetPendingUpdates.subscription.billingStatus.nextBillingDate"
3082
- },
3083
- {
3084
- path: "historyEntries.event.resetPendingUpdates.subscription.billingStatus.previousBillingDate"
3085
- },
3086
- {
3087
- path: "historyEntries.event.resetPendingUpdates.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
3088
- },
3089
- {
3090
- path: "historyEntries.event.resetPendingUpdates.subscription.billingStatus.freeTrialData.startDate"
3091
- },
3092
- {
3093
- path: "historyEntries.event.resetPendingUpdates.subscription.billingStatus.freeTrialData.endDate"
3094
- },
3095
- {
3096
- path: "historyEntries.event.resetPendingUpdates.subscription.billingStatus.updateBillingDateData.paidUntil"
3097
- },
3098
- {
3099
- path: "historyEntries.event.resetPendingUpdates.subscription.billingStatus.gracePeriodData.startDate"
3100
- },
3101
- {
3102
- path: "historyEntries.event.resetPendingUpdates.subscription.billingStatus.gracePeriodData.endDate"
3103
- },
3104
- {
3105
- path: "historyEntries.event.resetPendingUpdates.subscription.pauseInfo.startDate"
3106
- },
3107
- {
3108
- path: "historyEntries.event.resetPendingUpdates.subscription.pauseInfo.resumeDate"
3109
- },
3110
- {
3111
- path: "historyEntries.event.resetPendingUpdates.subscription.cancellationInfo.cancellationDate"
3112
- },
3113
- {
3114
- path: "historyEntries.event.resetPendingUpdates.subscription.specificDatePendingUpdateData.executionDate"
3115
- },
3116
- {
3117
- path: "historyEntries.event.gracePeriodStarted.subscription.createdDate"
3118
- },
3119
- {
3120
- path: "historyEntries.event.gracePeriodStarted.subscription.updatedDate"
3121
- },
3122
- {
3123
- path: "historyEntries.event.gracePeriodStarted.subscription.startDate"
3124
- },
3125
- {
3126
- path: "historyEntries.event.gracePeriodStarted.subscription.endDate"
3127
- },
3128
- {
3129
- path: "historyEntries.event.gracePeriodStarted.subscription.billingStatus.nextBillingDate"
3130
- },
3131
- {
3132
- path: "historyEntries.event.gracePeriodStarted.subscription.billingStatus.previousBillingDate"
3133
- },
3134
- {
3135
- path: "historyEntries.event.gracePeriodStarted.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
3136
- },
3137
- {
3138
- path: "historyEntries.event.gracePeriodStarted.subscription.billingStatus.freeTrialData.startDate"
3139
- },
3140
- {
3141
- path: "historyEntries.event.gracePeriodStarted.subscription.billingStatus.freeTrialData.endDate"
3142
- },
3143
- {
3144
- path: "historyEntries.event.gracePeriodStarted.subscription.billingStatus.updateBillingDateData.paidUntil"
3145
- },
3146
- {
3147
- path: "historyEntries.event.gracePeriodStarted.subscription.billingStatus.gracePeriodData.startDate"
3148
- },
3149
- {
3150
- path: "historyEntries.event.gracePeriodStarted.subscription.billingStatus.gracePeriodData.endDate"
3151
- },
3152
- {
3153
- path: "historyEntries.event.gracePeriodStarted.subscription.pauseInfo.startDate"
3154
- },
3155
- {
3156
- path: "historyEntries.event.gracePeriodStarted.subscription.pauseInfo.resumeDate"
3157
- },
3158
- {
3159
- path: "historyEntries.event.gracePeriodStarted.subscription.cancellationInfo.cancellationDate"
3160
- },
3161
- {
3162
- path: "historyEntries.event.gracePeriodStarted.subscription.specificDatePendingUpdateData.executionDate"
3163
- },
3164
- {
3165
- path: "historyEntries.event.gracePeriodEnded.subscription.createdDate"
3166
- },
3167
- {
3168
- path: "historyEntries.event.gracePeriodEnded.subscription.updatedDate"
3169
- },
3170
- {
3171
- path: "historyEntries.event.gracePeriodEnded.subscription.startDate"
3172
- },
3173
- {
3174
- path: "historyEntries.event.gracePeriodEnded.subscription.endDate"
3175
- },
3176
- {
3177
- path: "historyEntries.event.gracePeriodEnded.subscription.billingStatus.nextBillingDate"
3178
- },
3179
- {
3180
- path: "historyEntries.event.gracePeriodEnded.subscription.billingStatus.previousBillingDate"
3181
- },
3182
- {
3183
- path: "historyEntries.event.gracePeriodEnded.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
3184
- },
3185
- {
3186
- path: "historyEntries.event.gracePeriodEnded.subscription.billingStatus.freeTrialData.startDate"
3187
- },
3188
- {
3189
- path: "historyEntries.event.gracePeriodEnded.subscription.billingStatus.freeTrialData.endDate"
3190
- },
3191
- {
3192
- path: "historyEntries.event.gracePeriodEnded.subscription.billingStatus.updateBillingDateData.paidUntil"
3193
- },
3194
- {
3195
- path: "historyEntries.event.gracePeriodEnded.subscription.billingStatus.gracePeriodData.startDate"
3196
- },
3197
- {
3198
- path: "historyEntries.event.gracePeriodEnded.subscription.billingStatus.gracePeriodData.endDate"
3199
- },
3200
- {
3201
- path: "historyEntries.event.gracePeriodEnded.subscription.pauseInfo.startDate"
3202
- },
3203
- {
3204
- path: "historyEntries.event.gracePeriodEnded.subscription.pauseInfo.resumeDate"
3205
- },
3206
- {
3207
- path: "historyEntries.event.gracePeriodEnded.subscription.cancellationInfo.cancellationDate"
3208
- },
3209
- {
3210
- path: "historyEntries.event.gracePeriodEnded.subscription.specificDatePendingUpdateData.executionDate"
3211
- },
3212
- {
3213
- path: "historyEntries.event.paymentMethodUpdated.subscription.createdDate"
3214
- },
3215
- {
3216
- path: "historyEntries.event.paymentMethodUpdated.subscription.updatedDate"
3217
- },
3218
- {
3219
- path: "historyEntries.event.paymentMethodUpdated.subscription.startDate"
3220
- },
3221
- {
3222
- path: "historyEntries.event.paymentMethodUpdated.subscription.endDate"
3223
- },
3224
- {
3225
- path: "historyEntries.event.paymentMethodUpdated.subscription.billingStatus.nextBillingDate"
3226
- },
3227
- {
3228
- path: "historyEntries.event.paymentMethodUpdated.subscription.billingStatus.previousBillingDate"
3229
- },
3230
- {
3231
- path: "historyEntries.event.paymentMethodUpdated.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
3232
- },
3233
- {
3234
- path: "historyEntries.event.paymentMethodUpdated.subscription.billingStatus.freeTrialData.startDate"
3235
- },
3236
- {
3237
- path: "historyEntries.event.paymentMethodUpdated.subscription.billingStatus.freeTrialData.endDate"
3238
- },
3239
- {
3240
- path: "historyEntries.event.paymentMethodUpdated.subscription.billingStatus.updateBillingDateData.paidUntil"
3241
- },
3242
- {
3243
- path: "historyEntries.event.paymentMethodUpdated.subscription.billingStatus.gracePeriodData.startDate"
3244
- },
3245
- {
3246
- path: "historyEntries.event.paymentMethodUpdated.subscription.billingStatus.gracePeriodData.endDate"
3247
- },
3248
- {
3249
- path: "historyEntries.event.paymentMethodUpdated.subscription.pauseInfo.startDate"
3250
- },
3251
- {
3252
- path: "historyEntries.event.paymentMethodUpdated.subscription.pauseInfo.resumeDate"
3253
- },
3254
- {
3255
- path: "historyEntries.event.paymentMethodUpdated.subscription.cancellationInfo.cancellationDate"
3256
- },
3257
- {
3258
- path: "historyEntries.event.paymentMethodUpdated.subscription.specificDatePendingUpdateData.executionDate"
3259
- },
3260
- {
3261
- path: "historyEntries.event.collectionMethodUpdated.subscription.createdDate"
3262
- },
3263
- {
3264
- path: "historyEntries.event.collectionMethodUpdated.subscription.updatedDate"
3265
- },
3266
- {
3267
- path: "historyEntries.event.collectionMethodUpdated.subscription.startDate"
3268
- },
3269
- {
3270
- path: "historyEntries.event.collectionMethodUpdated.subscription.endDate"
3271
- },
3272
- {
3273
- path: "historyEntries.event.collectionMethodUpdated.subscription.billingStatus.nextBillingDate"
3274
- },
3275
- {
3276
- path: "historyEntries.event.collectionMethodUpdated.subscription.billingStatus.previousBillingDate"
3277
- },
3278
- {
3279
- path: "historyEntries.event.collectionMethodUpdated.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
3280
- },
3281
- {
3282
- path: "historyEntries.event.collectionMethodUpdated.subscription.billingStatus.freeTrialData.startDate"
3283
- },
3284
- {
3285
- path: "historyEntries.event.collectionMethodUpdated.subscription.billingStatus.freeTrialData.endDate"
3286
- },
3287
- {
3288
- path: "historyEntries.event.collectionMethodUpdated.subscription.billingStatus.updateBillingDateData.paidUntil"
3289
- },
3290
- {
3291
- path: "historyEntries.event.collectionMethodUpdated.subscription.billingStatus.gracePeriodData.startDate"
3292
- },
3293
- {
3294
- path: "historyEntries.event.collectionMethodUpdated.subscription.billingStatus.gracePeriodData.endDate"
3295
- },
3296
- {
3297
- path: "historyEntries.event.collectionMethodUpdated.subscription.pauseInfo.startDate"
3298
- },
3299
- {
3300
- path: "historyEntries.event.collectionMethodUpdated.subscription.pauseInfo.resumeDate"
3301
- },
3302
- {
3303
- path: "historyEntries.event.collectionMethodUpdated.subscription.cancellationInfo.cancellationDate"
3304
- },
3305
- {
3306
- path: "historyEntries.event.collectionMethodUpdated.subscription.specificDatePendingUpdateData.executionDate"
3307
- },
3308
- {
3309
- path: "historyEntries.event.freeTrailStarted.subscription.createdDate"
3310
- },
3311
- {
3312
- path: "historyEntries.event.freeTrailStarted.subscription.updatedDate"
3313
- },
3314
- {
3315
- path: "historyEntries.event.freeTrailStarted.subscription.startDate"
3316
- },
3317
- {
3318
- path: "historyEntries.event.freeTrailStarted.subscription.endDate"
3319
- },
3320
- {
3321
- path: "historyEntries.event.freeTrailStarted.subscription.billingStatus.nextBillingDate"
3322
- },
3323
- {
3324
- path: "historyEntries.event.freeTrailStarted.subscription.billingStatus.previousBillingDate"
3325
- },
3326
- {
3327
- path: "historyEntries.event.freeTrailStarted.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
3328
- },
3329
- {
3330
- path: "historyEntries.event.freeTrailStarted.subscription.billingStatus.freeTrialData.startDate"
3331
- },
3332
- {
3333
- path: "historyEntries.event.freeTrailStarted.subscription.billingStatus.freeTrialData.endDate"
3334
- },
3335
- {
3336
- path: "historyEntries.event.freeTrailStarted.subscription.billingStatus.updateBillingDateData.paidUntil"
3337
- },
3338
- {
3339
- path: "historyEntries.event.freeTrailStarted.subscription.billingStatus.gracePeriodData.startDate"
3340
- },
3341
- {
3342
- path: "historyEntries.event.freeTrailStarted.subscription.billingStatus.gracePeriodData.endDate"
3343
- },
3344
- {
3345
- path: "historyEntries.event.freeTrailStarted.subscription.pauseInfo.startDate"
3346
- },
3347
- {
3348
- path: "historyEntries.event.freeTrailStarted.subscription.pauseInfo.resumeDate"
3349
- },
3350
- {
3351
- path: "historyEntries.event.freeTrailStarted.subscription.cancellationInfo.cancellationDate"
3352
- },
3353
- {
3354
- path: "historyEntries.event.freeTrailStarted.subscription.specificDatePendingUpdateData.executionDate"
3355
- },
3356
- {
3357
- path: "historyEntries.event.freeTrailEnded.subscription.createdDate"
3358
- },
3359
- {
3360
- path: "historyEntries.event.freeTrailEnded.subscription.updatedDate"
3361
- },
3362
- {
3363
- path: "historyEntries.event.freeTrailEnded.subscription.startDate"
3364
- },
3365
- {
3366
- path: "historyEntries.event.freeTrailEnded.subscription.endDate"
3367
- },
3368
- {
3369
- path: "historyEntries.event.freeTrailEnded.subscription.billingStatus.nextBillingDate"
3370
- },
3371
- {
3372
- path: "historyEntries.event.freeTrailEnded.subscription.billingStatus.previousBillingDate"
3373
- },
3374
- {
3375
- path: "historyEntries.event.freeTrailEnded.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
3376
- },
3377
- {
3378
- path: "historyEntries.event.freeTrailEnded.subscription.billingStatus.freeTrialData.startDate"
3379
- },
3380
- {
3381
- path: "historyEntries.event.freeTrailEnded.subscription.billingStatus.freeTrialData.endDate"
3382
- },
3383
- {
3384
- path: "historyEntries.event.freeTrailEnded.subscription.billingStatus.updateBillingDateData.paidUntil"
3385
- },
3386
- {
3387
- path: "historyEntries.event.freeTrailEnded.subscription.billingStatus.gracePeriodData.startDate"
3388
- },
3389
- {
3390
- path: "historyEntries.event.freeTrailEnded.subscription.billingStatus.gracePeriodData.endDate"
3391
- },
3392
- {
3393
- path: "historyEntries.event.freeTrailEnded.subscription.pauseInfo.startDate"
3394
- },
3395
- {
3396
- path: "historyEntries.event.freeTrailEnded.subscription.pauseInfo.resumeDate"
3397
- },
3398
- {
3399
- path: "historyEntries.event.freeTrailEnded.subscription.cancellationInfo.cancellationDate"
3400
- },
3401
- {
3402
- path: "historyEntries.event.freeTrailEnded.subscription.specificDatePendingUpdateData.executionDate"
3403
- },
3404
- {
3405
- path: "historyEntries.event.billingCyclePaid.subscription.createdDate"
3406
- },
3407
- {
3408
- path: "historyEntries.event.billingCyclePaid.subscription.updatedDate"
3409
- },
3410
- {
3411
- path: "historyEntries.event.billingCyclePaid.subscription.startDate"
3412
- },
3413
- {
3414
- path: "historyEntries.event.billingCyclePaid.subscription.endDate"
3415
- },
3416
- {
3417
- path: "historyEntries.event.billingCyclePaid.subscription.billingStatus.nextBillingDate"
3418
- },
3419
- {
3420
- path: "historyEntries.event.billingCyclePaid.subscription.billingStatus.previousBillingDate"
3421
- },
3422
- {
3423
- path: "historyEntries.event.billingCyclePaid.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
3424
- },
3425
- {
3426
- path: "historyEntries.event.billingCyclePaid.subscription.billingStatus.freeTrialData.startDate"
3427
- },
3428
- {
3429
- path: "historyEntries.event.billingCyclePaid.subscription.billingStatus.freeTrialData.endDate"
3430
- },
3431
- {
3432
- path: "historyEntries.event.billingCyclePaid.subscription.billingStatus.updateBillingDateData.paidUntil"
3433
- },
3434
- {
3435
- path: "historyEntries.event.billingCyclePaid.subscription.billingStatus.gracePeriodData.startDate"
3436
- },
3437
- {
3438
- path: "historyEntries.event.billingCyclePaid.subscription.billingStatus.gracePeriodData.endDate"
3439
- },
3440
- {
3441
- path: "historyEntries.event.billingCyclePaid.subscription.pauseInfo.startDate"
3442
- },
3443
- {
3444
- path: "historyEntries.event.billingCyclePaid.subscription.pauseInfo.resumeDate"
3445
- },
3446
- {
3447
- path: "historyEntries.event.billingCyclePaid.subscription.cancellationInfo.cancellationDate"
3448
- },
3449
- {
3450
- path: "historyEntries.event.billingCyclePaid.subscription.specificDatePendingUpdateData.executionDate"
3451
- },
3452
- {
3453
- path: "historyEntries.event.initiatePaymentMethodSetup.subscription.createdDate"
3454
- },
3455
- {
3456
- path: "historyEntries.event.initiatePaymentMethodSetup.subscription.updatedDate"
3457
- },
3458
- {
3459
- path: "historyEntries.event.initiatePaymentMethodSetup.subscription.startDate"
3460
- },
3461
- {
3462
- path: "historyEntries.event.initiatePaymentMethodSetup.subscription.endDate"
3463
- },
3464
- {
3465
- path: "historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.nextBillingDate"
3466
- },
3467
- {
3468
- path: "historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.previousBillingDate"
3469
- },
3470
- {
3471
- path: "historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
3472
- },
3473
- {
3474
- path: "historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.freeTrialData.startDate"
3475
- },
3476
- {
3477
- path: "historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.freeTrialData.endDate"
3478
- },
3479
- {
3480
- path: "historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.updateBillingDateData.paidUntil"
3481
- },
3482
- {
3483
- path: "historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.gracePeriodData.startDate"
3484
- },
3485
- {
3486
- path: "historyEntries.event.initiatePaymentMethodSetup.subscription.billingStatus.gracePeriodData.endDate"
3487
- },
3488
- {
3489
- path: "historyEntries.event.initiatePaymentMethodSetup.subscription.pauseInfo.startDate"
3490
- },
3491
- {
3492
- path: "historyEntries.event.initiatePaymentMethodSetup.subscription.pauseInfo.resumeDate"
3493
- },
3494
- {
3495
- path: "historyEntries.event.initiatePaymentMethodSetup.subscription.cancellationInfo.cancellationDate"
3496
- },
3497
- {
3498
- path: "historyEntries.event.initiatePaymentMethodSetup.subscription.specificDatePendingUpdateData.executionDate"
3499
- },
3500
- {
3501
- path: "historyEntries.event.futurePriceUpdatesRequested.subscription.createdDate"
3502
- },
3503
- {
3504
- path: "historyEntries.event.futurePriceUpdatesRequested.subscription.updatedDate"
3505
- },
3506
- {
3507
- path: "historyEntries.event.futurePriceUpdatesRequested.subscription.startDate"
3508
- },
3509
- {
3510
- path: "historyEntries.event.futurePriceUpdatesRequested.subscription.endDate"
3511
- },
3512
- {
3513
- path: "historyEntries.event.futurePriceUpdatesRequested.subscription.billingStatus.nextBillingDate"
3514
- },
3515
- {
3516
- path: "historyEntries.event.futurePriceUpdatesRequested.subscription.billingStatus.previousBillingDate"
3517
- },
3518
- {
3519
- path: "historyEntries.event.futurePriceUpdatesRequested.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
3520
- },
3521
- {
3522
- path: "historyEntries.event.futurePriceUpdatesRequested.subscription.billingStatus.freeTrialData.startDate"
3523
- },
3524
- {
3525
- path: "historyEntries.event.futurePriceUpdatesRequested.subscription.billingStatus.freeTrialData.endDate"
3526
- },
3527
- {
3528
- path: "historyEntries.event.futurePriceUpdatesRequested.subscription.billingStatus.updateBillingDateData.paidUntil"
3529
- },
3530
- {
3531
- path: "historyEntries.event.futurePriceUpdatesRequested.subscription.billingStatus.gracePeriodData.startDate"
3532
- },
3533
- {
3534
- path: "historyEntries.event.futurePriceUpdatesRequested.subscription.billingStatus.gracePeriodData.endDate"
3535
- },
3536
- {
3537
- path: "historyEntries.event.futurePriceUpdatesRequested.subscription.pauseInfo.startDate"
3538
- },
3539
- {
3540
- path: "historyEntries.event.futurePriceUpdatesRequested.subscription.pauseInfo.resumeDate"
3541
- },
3542
- {
3543
- path: "historyEntries.event.futurePriceUpdatesRequested.subscription.cancellationInfo.cancellationDate"
3544
- },
3545
- {
3546
- path: "historyEntries.event.futurePriceUpdatesRequested.subscription.specificDatePendingUpdateData.executionDate"
3547
- },
3548
- {
3549
- path: "historyEntries.event.subscriptionBoAction.subscription.createdDate"
3550
- },
3551
- {
3552
- path: "historyEntries.event.subscriptionBoAction.subscription.updatedDate"
3553
- },
3554
- {
3555
- path: "historyEntries.event.subscriptionBoAction.subscription.startDate"
3556
- },
3557
- {
3558
- path: "historyEntries.event.subscriptionBoAction.subscription.endDate"
3559
- },
3560
- {
3561
- path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.nextBillingDate"
3562
- },
3563
- {
3564
- path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.previousBillingDate"
3565
- },
3566
- {
3567
- path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
3568
- },
3569
- {
3570
- path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.freeTrialData.startDate"
3571
- },
3572
- {
3573
- path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.freeTrialData.endDate"
3574
- },
3575
- {
3576
- path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.updateBillingDateData.paidUntil"
3577
- },
3578
- {
3579
- path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.gracePeriodData.startDate"
3580
- },
3581
- {
3582
- path: "historyEntries.event.subscriptionBoAction.subscription.billingStatus.gracePeriodData.endDate"
3583
- },
3584
- {
3585
- path: "historyEntries.event.subscriptionBoAction.subscription.pauseInfo.startDate"
3586
- },
3587
- {
3588
- path: "historyEntries.event.subscriptionBoAction.subscription.pauseInfo.resumeDate"
3589
- },
3590
- {
3591
- path: "historyEntries.event.subscriptionBoAction.subscription.cancellationInfo.cancellationDate"
3592
- },
3593
- {
3594
- path: "historyEntries.event.subscriptionBoAction.subscription.specificDatePendingUpdateData.executionDate"
3595
- }
3596
- ]
3597
- }
3598
- ])
3599
- };
3600
- return metadata;
3601
- }
3602
- return __listSubscriptionHistory;
3603
- }
3604
-
3605
- // src/billing-v1-subscription-subscriptions.types.ts
3606
- var SubscriptionStatusEnumSubscriptionStatus = /* @__PURE__ */ ((SubscriptionStatusEnumSubscriptionStatus2) => {
3607
- SubscriptionStatusEnumSubscriptionStatus2["UNKNOWN"] = "UNKNOWN";
3608
- SubscriptionStatusEnumSubscriptionStatus2["DRAFT"] = "DRAFT";
3609
- SubscriptionStatusEnumSubscriptionStatus2["PENDING"] = "PENDING";
3610
- SubscriptionStatusEnumSubscriptionStatus2["ACTIVE"] = "ACTIVE";
3611
- SubscriptionStatusEnumSubscriptionStatus2["PAUSED"] = "PAUSED";
3612
- SubscriptionStatusEnumSubscriptionStatus2["ENDED"] = "ENDED";
3613
- SubscriptionStatusEnumSubscriptionStatus2["CANCELED"] = "CANCELED";
3614
- return SubscriptionStatusEnumSubscriptionStatus2;
3615
- })(SubscriptionStatusEnumSubscriptionStatus || {});
3616
- var CollectionMethodEnumCollectionMethod = /* @__PURE__ */ ((CollectionMethodEnumCollectionMethod2) => {
3617
- CollectionMethodEnumCollectionMethod2["UNKNOWN"] = "UNKNOWN";
3618
- CollectionMethodEnumCollectionMethod2["AUTO_CHARGE"] = "AUTO_CHARGE";
3619
- CollectionMethodEnumCollectionMethod2["OFFLINE"] = "OFFLINE";
3620
- CollectionMethodEnumCollectionMethod2["SEND_INVOICE"] = "SEND_INVOICE";
3621
- CollectionMethodEnumCollectionMethod2["EXTERNAL"] = "EXTERNAL";
3622
- CollectionMethodEnumCollectionMethod2["FREE"] = "FREE";
3623
- return CollectionMethodEnumCollectionMethod2;
3624
- })(CollectionMethodEnumCollectionMethod || {});
3625
- var DurationUnit = /* @__PURE__ */ ((DurationUnit2) => {
3626
- DurationUnit2["UNKNOWN"] = "UNKNOWN";
3627
- DurationUnit2["DAY"] = "DAY";
3628
- DurationUnit2["WEEK"] = "WEEK";
3629
- DurationUnit2["MONTH"] = "MONTH";
3630
- DurationUnit2["YEAR"] = "YEAR";
3631
- return DurationUnit2;
3632
- })(DurationUnit || {});
3633
- var AdditionalFeeTrigger = /* @__PURE__ */ ((AdditionalFeeTrigger2) => {
3634
- AdditionalFeeTrigger2["UNKNOWN"] = "UNKNOWN";
3635
- AdditionalFeeTrigger2["FIRST_PAYMENT"] = "FIRST_PAYMENT";
3636
- return AdditionalFeeTrigger2;
3637
- })(AdditionalFeeTrigger || {});
3638
- var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
3639
- TaxableAddressType2["UNKNOWN"] = "UNKNOWN";
3640
- TaxableAddressType2["BUSINESS"] = "BUSINESS";
3641
- TaxableAddressType2["BILLING"] = "BILLING";
3642
- TaxableAddressType2["SHIPPING"] = "SHIPPING";
3643
- return TaxableAddressType2;
3644
- })(TaxableAddressType || {});
3645
- var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {
3646
- PaymentStatus2["UNKNOWN"] = "UNKNOWN";
3647
- PaymentStatus2["UNPAID"] = "UNPAID";
3648
- PaymentStatus2["PAID"] = "PAID";
3649
- PaymentStatus2["FAILED"] = "FAILED";
3650
- return PaymentStatus2;
3651
- })(PaymentStatus || {});
3652
- var PausePolicy = /* @__PURE__ */ ((PausePolicy2) => {
3653
- PausePolicy2["NONE"] = "NONE";
3654
- PausePolicy2["SERVICE_AND_PAYMENTS"] = "SERVICE_AND_PAYMENTS";
3655
- PausePolicy2["SERVICE_ONLY"] = "SERVICE_ONLY";
3656
- return PausePolicy2;
3657
- })(PausePolicy || {});
3658
- var PauseAt = /* @__PURE__ */ ((PauseAt2) => {
3659
- PauseAt2["NONE"] = "NONE";
3660
- PauseAt2["IMMEDIATELY"] = "IMMEDIATELY";
3661
- PauseAt2["NEXT_BILLING_DATE"] = "NEXT_BILLING_DATE";
3662
- PauseAt2["SPECIFIC_DATE"] = "SPECIFIC_DATE";
3663
- PauseAt2["NUMBER_OF_CYCLES_FROM_TODAY"] = "NUMBER_OF_CYCLES_FROM_TODAY";
3664
- PauseAt2["NUMBER_OF_CYCLES_FROM_NEXT_BILLING_DATE"] = "NUMBER_OF_CYCLES_FROM_NEXT_BILLING_DATE";
3665
- return PauseAt2;
3666
- })(PauseAt || {});
3667
- var ResumeAt = /* @__PURE__ */ ((ResumeAt2) => {
3668
- ResumeAt2["NONE"] = "NONE";
3669
- ResumeAt2["IMMEDIATELY"] = "IMMEDIATELY";
3670
- ResumeAt2["NEXT_BILLING_DATE"] = "NEXT_BILLING_DATE";
3671
- ResumeAt2["SPECIFIC_DATE"] = "SPECIFIC_DATE";
3672
- ResumeAt2["NUMBER_OF_CYCLES_FROM_PAUSE_START"] = "NUMBER_OF_CYCLES_FROM_PAUSE_START";
3673
- return ResumeAt2;
3674
- })(ResumeAt || {});
3675
- var HistoryActionInitiator = /* @__PURE__ */ ((HistoryActionInitiator2) => {
3676
- HistoryActionInitiator2["UNDEFINED"] = "UNDEFINED";
3677
- HistoryActionInitiator2["BUSINESS"] = "BUSINESS";
3678
- HistoryActionInitiator2["CUSTOMER"] = "CUSTOMER";
3679
- HistoryActionInitiator2["SYSTEM"] = "SYSTEM";
3680
- HistoryActionInitiator2["PAYMENT_FAILURE"] = "PAYMENT_FAILURE";
3681
- return HistoryActionInitiator2;
3682
- })(HistoryActionInitiator || {});
3683
- var ItemCategory = /* @__PURE__ */ ((ItemCategory2) => {
3684
- ItemCategory2["UNKNOWN"] = "UNKNOWN";
3685
- ItemCategory2["PHYSICAL"] = "PHYSICAL";
3686
- ItemCategory2["DIGITAL"] = "DIGITAL";
3687
- return ItemCategory2;
3688
- })(ItemCategory || {});
3689
- var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
3690
- SortOrder2["ASC"] = "ASC";
3691
- SortOrder2["DESC"] = "DESC";
3692
- return SortOrder2;
3693
- })(SortOrder || {});
3694
- var SubscriptionStatusGroup = /* @__PURE__ */ ((SubscriptionStatusGroup2) => {
3695
- SubscriptionStatusGroup2["ALL"] = "ALL";
3696
- SubscriptionStatusGroup2["LIVE"] = "LIVE";
3697
- return SubscriptionStatusGroup2;
3698
- })(SubscriptionStatusGroup || {});
3699
- var ActionType = /* @__PURE__ */ ((ActionType2) => {
3700
- ActionType2["NONE"] = "NONE";
3701
- ActionType2["CREATION"] = "CREATION";
3702
- ActionType2["CANCEL"] = "CANCEL";
3703
- ActionType2["CYCLE_AUTO_RENEW_ON"] = "CYCLE_AUTO_RENEW_ON";
3704
- ActionType2["CYCLE_AUTO_RENEW_OFF"] = "CYCLE_AUTO_RENEW_OFF";
3705
- ActionType2["PAUSE"] = "PAUSE";
3706
- ActionType2["RESUME"] = "RESUME";
3707
- ActionType2["MARK_AS_PAID"] = "MARK_AS_PAID";
3708
- ActionType2["EXTEND"] = "EXTEND";
3709
- ActionType2["UPDATE"] = "UPDATE";
3710
- ActionType2["UPDATE_START_DATE"] = "UPDATE_START_DATE";
3711
- ActionType2["UPM"] = "UPM";
3712
- ActionType2["UPDATE_BILLING_DATE"] = "UPDATE_BILLING_DATE";
3713
- ActionType2["UPDATE_COLLECTION_METHOD"] = "UPDATE_COLLECTION_METHOD";
3714
- ActionType2["SKIP_CYCLE"] = "SKIP_CYCLE";
3715
- ActionType2["CUSTOMER_UPDATE_BILLING_DATE"] = "CUSTOMER_UPDATE_BILLING_DATE";
3716
- return ActionType2;
3717
- })(ActionType || {});
3718
- var ExtendPolicyType = /* @__PURE__ */ ((ExtendPolicyType2) => {
3719
- ExtendPolicyType2["PERIOD"] = "PERIOD";
3720
- ExtendPolicyType2["BILLING_CYCLE"] = "BILLING_CYCLE";
3721
- return ExtendPolicyType2;
3722
- })(ExtendPolicyType || {});
3723
- var PaymentMode = /* @__PURE__ */ ((PaymentMode2) => {
3724
- PaymentMode2["NONE"] = "NONE";
3725
- PaymentMode2["CHARGE"] = "CHARGE";
3726
- PaymentMode2["AUTHORIZATION"] = "AUTHORIZATION";
3727
- return PaymentMode2;
3728
- })(PaymentMode || {});
3729
- var OrderMethod = /* @__PURE__ */ ((OrderMethod2) => {
3730
- OrderMethod2["UNKNOWN"] = "UNKNOWN";
3731
- OrderMethod2["MOTO"] = "MOTO";
3732
- OrderMethod2["NOT_MOTO"] = "NOT_MOTO";
3733
- return OrderMethod2;
3734
- })(OrderMethod || {});
3735
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
3736
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
3737
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
3738
- WebhookIdentityType2["MEMBER"] = "MEMBER";
3739
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
3740
- WebhookIdentityType2["APP"] = "APP";
3741
- return WebhookIdentityType2;
3742
- })(WebhookIdentityType || {});
3743
- var PaymentTestMode = /* @__PURE__ */ ((PaymentTestMode2) => {
3744
- PaymentTestMode2["REGULAR"] = "REGULAR";
3745
- PaymentTestMode2["FAIL_TECHNICAL"] = "FAIL_TECHNICAL";
3746
- PaymentTestMode2["FAIL_DECLINE"] = "FAIL_DECLINE";
3747
- PaymentTestMode2["FAIL_RETRYABLE_DECLINE"] = "FAIL_RETRYABLE_DECLINE";
3748
- return PaymentTestMode2;
3749
- })(PaymentTestMode || {});
3750
- var RevivePolicy = /* @__PURE__ */ ((RevivePolicy2) => {
3751
- RevivePolicy2["SIMPLE"] = "SIMPLE";
3752
- RevivePolicy2["RESUME"] = "RESUME";
3753
- return RevivePolicy2;
3754
- })(RevivePolicy || {});
3755
- var ActionInitiator = /* @__PURE__ */ ((ActionInitiator2) => {
3756
- ActionInitiator2["UNDEFINED"] = "UNDEFINED";
3757
- ActionInitiator2["BUSINESS"] = "BUSINESS";
3758
- ActionInitiator2["CUSTOMER"] = "CUSTOMER";
3759
- ActionInitiator2["SYSTEM"] = "SYSTEM";
3760
- return ActionInitiator2;
3761
- })(ActionInitiator || {});
3762
- var UpdateAction = /* @__PURE__ */ ((UpdateAction2) => {
3763
- UpdateAction2["NONE"] = "NONE";
3764
- UpdateAction2["IMMEDIATELY"] = "IMMEDIATELY";
3765
- UpdateAction2["NEXT_BILLING_CYCLE"] = "NEXT_BILLING_CYCLE";
3766
- UpdateAction2["RESET_PENDING_UPDATES"] = "RESET_PENDING_UPDATES";
3767
- UpdateAction2["SPECIFIC_DATE"] = "SPECIFIC_DATE";
3768
- return UpdateAction2;
3769
- })(UpdateAction || {});
3770
- var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
3771
- RequestedFields2["UNSUPPORTED_ACTION"] = "UNSUPPORTED_ACTION";
3772
- return RequestedFields2;
3773
- })(RequestedFields || {});
3774
- var InvoiceStatus = /* @__PURE__ */ ((InvoiceStatus2) => {
3775
- InvoiceStatus2["UNKNOWN"] = "UNKNOWN";
3776
- InvoiceStatus2["OPEN"] = "OPEN";
3777
- InvoiceStatus2["PAID"] = "PAID";
3778
- InvoiceStatus2["FAILED"] = "FAILED";
3779
- InvoiceStatus2["ATTEMPT_FAILED"] = "ATTEMPT_FAILED";
3780
- InvoiceStatus2["CANCELED"] = "CANCELED";
3781
- InvoiceStatus2["REFUNDED"] = "REFUNDED";
3782
- InvoiceStatus2["CHARGEBACKED"] = "CHARGEBACKED";
3783
- return InvoiceStatus2;
3784
- })(InvoiceStatus || {});
3785
- var CollectionMethod = /* @__PURE__ */ ((CollectionMethod2) => {
3786
- CollectionMethod2["UNKNOWN"] = "UNKNOWN";
3787
- CollectionMethod2["AUTO_CHARGE"] = "AUTO_CHARGE";
3788
- CollectionMethod2["OFFLINE"] = "OFFLINE";
3789
- CollectionMethod2["SEND_INVOICE"] = "SEND_INVOICE";
3790
- return CollectionMethod2;
3791
- })(CollectionMethod || {});
3792
- var CreationMode = /* @__PURE__ */ ((CreationMode2) => {
3793
- CreationMode2["UNKNOWN"] = "UNKNOWN";
3794
- CreationMode2["SYSTEM"] = "SYSTEM";
3795
- CreationMode2["MANUAL"] = "MANUAL";
3796
- return CreationMode2;
3797
- })(CreationMode || {});
3798
- var PaymentAttemptStatus = /* @__PURE__ */ ((PaymentAttemptStatus2) => {
3799
- PaymentAttemptStatus2["UNKNOWN"] = "UNKNOWN";
3800
- PaymentAttemptStatus2["SCHEDULED"] = "SCHEDULED";
3801
- PaymentAttemptStatus2["IN_PROGRESS"] = "IN_PROGRESS";
3802
- PaymentAttemptStatus2["PAID"] = "PAID";
3803
- PaymentAttemptStatus2["DECLINED"] = "DECLINED";
3804
- PaymentAttemptStatus2["TECHNICAL_FAILURE"] = "TECHNICAL_FAILURE";
3805
- PaymentAttemptStatus2["CANCELED"] = "CANCELED";
3806
- PaymentAttemptStatus2["PENDING"] = "PENDING";
3807
- PaymentAttemptStatus2["REFUNDED"] = "REFUNDED";
3808
- PaymentAttemptStatus2["CHARGEBACKED"] = "CHARGEBACKED";
3809
- return PaymentAttemptStatus2;
3810
- })(PaymentAttemptStatus || {});
3811
- var PriceAdjustmentReason = /* @__PURE__ */ ((PriceAdjustmentReason2) => {
3812
- PriceAdjustmentReason2["PRICE_ADJUSTMENT_REASON_UNSPECIFIED"] = "PRICE_ADJUSTMENT_REASON_UNSPECIFIED";
3813
- PriceAdjustmentReason2["BILLING_DATE_CHANGE"] = "BILLING_DATE_CHANGE";
3814
- PriceAdjustmentReason2["PLAN_CHANGE_PRORATION"] = "PLAN_CHANGE_PRORATION";
3815
- PriceAdjustmentReason2["CYCLE_CHANGE_PRORATION"] = "CYCLE_CHANGE_PRORATION";
3816
- PriceAdjustmentReason2["QUANTITY_CHANGE_PRORATION"] = "QUANTITY_CHANGE_PRORATION";
3817
- PriceAdjustmentReason2["CUSTOM_PRICE_ADJUSTMENT"] = "CUSTOM_PRICE_ADJUSTMENT";
3818
- return PriceAdjustmentReason2;
3819
- })(PriceAdjustmentReason || {});
3820
- var RefundReason = /* @__PURE__ */ ((RefundReason2) => {
3821
- RefundReason2["DUPLICATE_CHARGE"] = "DUPLICATE_CHARGE";
3822
- RefundReason2["FRAUDULENT"] = "FRAUDULENT";
3823
- RefundReason2["CUSTOMER_REQUEST"] = "CUSTOMER_REQUEST";
3824
- RefundReason2["PROVISION_FAILED"] = "PROVISION_FAILED";
3825
- RefundReason2["OTHER"] = "OTHER";
3826
- return RefundReason2;
3827
- })(RefundReason || {});
3828
- var ChangeEffectiveTime = /* @__PURE__ */ ((ChangeEffectiveTime2) => {
3829
- ChangeEffectiveTime2["UNKNOWN"] = "UNKNOWN";
3830
- ChangeEffectiveTime2["IMMEDIATELY"] = "IMMEDIATELY";
3831
- ChangeEffectiveTime2["AT_NEXT_RENEWAL"] = "AT_NEXT_RENEWAL";
3832
- return ChangeEffectiveTime2;
3833
- })(ChangeEffectiveTime || {});
3834
- var ProrationBehavior = /* @__PURE__ */ ((ProrationBehavior2) => {
3835
- ProrationBehavior2["UNKNOWN"] = "UNKNOWN";
3836
- ProrationBehavior2["PRORATE_AND_CHARGE"] = "PRORATE_AND_CHARGE";
3837
- ProrationBehavior2["PRORATE_AND_REFUND"] = "PRORATE_AND_REFUND";
3838
- ProrationBehavior2["PRORATE_AND_EXTEND"] = "PRORATE_AND_EXTEND";
3839
- ProrationBehavior2["NO_PRORATION"] = "NO_PRORATION";
3840
- return ProrationBehavior2;
3841
- })(ProrationBehavior || {});
3842
- var ProrationAction = /* @__PURE__ */ ((ProrationAction2) => {
3843
- ProrationAction2["UNKNOWN"] = "UNKNOWN";
3844
- ProrationAction2["CHARGE"] = "CHARGE";
3845
- ProrationAction2["REFUND"] = "REFUND";
3846
- ProrationAction2["EXTEND_PERIOD"] = "EXTEND_PERIOD";
3847
- ProrationAction2["NO_CHANGE"] = "NO_CHANGE";
3848
- return ProrationAction2;
3849
- })(ProrationAction || {});
3850
- var IdentityType = /* @__PURE__ */ ((IdentityType2) => {
3851
- IdentityType2["UNDEFINED"] = "UNDEFINED";
3852
- IdentityType2["MEMBER"] = "MEMBER";
3853
- IdentityType2["CONTACT"] = "CONTACT";
3854
- return IdentityType2;
3855
- })(IdentityType || {});
3856
- var SubscriptionType = /* @__PURE__ */ ((SubscriptionType2) => {
3857
- SubscriptionType2["UNDEFINED"] = "UNDEFINED";
3858
- SubscriptionType2["ONLINE"] = "ONLINE";
3859
- SubscriptionType2["OFFLINE"] = "OFFLINE";
3860
- return SubscriptionType2;
3861
- })(SubscriptionType || {});
3862
- var V1SubscriptionStatusEnumSubscriptionStatus = /* @__PURE__ */ ((V1SubscriptionStatusEnumSubscriptionStatus2) => {
3863
- V1SubscriptionStatusEnumSubscriptionStatus2["UNDEFINED"] = "UNDEFINED";
3864
- V1SubscriptionStatusEnumSubscriptionStatus2["DRAFT"] = "DRAFT";
3865
- V1SubscriptionStatusEnumSubscriptionStatus2["PENDING"] = "PENDING";
3866
- V1SubscriptionStatusEnumSubscriptionStatus2["ACTIVE"] = "ACTIVE";
3867
- V1SubscriptionStatusEnumSubscriptionStatus2["EXPIRED"] = "EXPIRED";
3868
- V1SubscriptionStatusEnumSubscriptionStatus2["CANCELED"] = "CANCELED";
3869
- V1SubscriptionStatusEnumSubscriptionStatus2["PENDING_CANCELLATION"] = "PENDING_CANCELLATION";
3870
- V1SubscriptionStatusEnumSubscriptionStatus2["SUSPENDED"] = "SUSPENDED";
3871
- return V1SubscriptionStatusEnumSubscriptionStatus2;
3872
- })(V1SubscriptionStatusEnumSubscriptionStatus || {});
3873
- var PaymentStatusEnumPaymentStatus = /* @__PURE__ */ ((PaymentStatusEnumPaymentStatus2) => {
3874
- PaymentStatusEnumPaymentStatus2["UNDEFINED"] = "UNDEFINED";
3875
- PaymentStatusEnumPaymentStatus2["PAID"] = "PAID";
3876
- PaymentStatusEnumPaymentStatus2["REFUNDED"] = "REFUNDED";
3877
- PaymentStatusEnumPaymentStatus2["FAILED"] = "FAILED";
3878
- PaymentStatusEnumPaymentStatus2["UNPAID"] = "UNPAID";
3879
- PaymentStatusEnumPaymentStatus2["PENDING"] = "PENDING";
3880
- return PaymentStatusEnumPaymentStatus2;
3881
- })(PaymentStatusEnumPaymentStatus || {});
3882
- var SubscriptionFrequency = /* @__PURE__ */ ((SubscriptionFrequency2) => {
3883
- SubscriptionFrequency2["UNDEFINED"] = "UNDEFINED";
3884
- SubscriptionFrequency2["DAY"] = "DAY";
3885
- SubscriptionFrequency2["WEEK"] = "WEEK";
3886
- SubscriptionFrequency2["MONTH"] = "MONTH";
3887
- SubscriptionFrequency2["YEAR"] = "YEAR";
3888
- return SubscriptionFrequency2;
3889
- })(SubscriptionFrequency || {});
3890
- var CancellationInitiator = /* @__PURE__ */ ((CancellationInitiator2) => {
3891
- CancellationInitiator2["UNDEFINED"] = "UNDEFINED";
3892
- CancellationInitiator2["OWNER"] = "OWNER";
3893
- CancellationInitiator2["MEMBER"] = "MEMBER";
3894
- CancellationInitiator2["PAYMENT_FAILURE"] = "PAYMENT_FAILURE";
3895
- CancellationInitiator2["SETUP_FAILURE"] = "SETUP_FAILURE";
3896
- return CancellationInitiator2;
3897
- })(CancellationInitiator || {});
3898
- var Status = /* @__PURE__ */ ((Status2) => {
3899
- Status2["UNDEFINED"] = "UNDEFINED";
3900
- Status2["ACTIVE"] = "ACTIVE";
3901
- Status2["ENDED"] = "ENDED";
3902
- return Status2;
3903
- })(Status || {});
3904
- var HistoryViewMode = /* @__PURE__ */ ((HistoryViewMode2) => {
3905
- HistoryViewMode2["UNKNOWN"] = "UNKNOWN";
3906
- HistoryViewMode2["BACKOFFICE"] = "BACKOFFICE";
3907
- HistoryViewMode2["USER"] = "USER";
3908
- return HistoryViewMode2;
3909
- })(HistoryViewMode || {});
3910
- var PaymentSettlementMethod = /* @__PURE__ */ ((PaymentSettlementMethod2) => {
3911
- PaymentSettlementMethod2["UNKNOWN"] = "UNKNOWN";
3912
- PaymentSettlementMethod2["SYSTEM"] = "SYSTEM";
3913
- PaymentSettlementMethod2["MARK_AS_PAID"] = "MARK_AS_PAID";
3914
- PaymentSettlementMethod2["CUSTOMER_PAY_NOW"] = "CUSTOMER_PAY_NOW";
3915
- return PaymentSettlementMethod2;
3916
- })(PaymentSettlementMethod || {});
3917
-
3918
- // src/billing-v1-subscription-subscriptions.meta.ts
3919
- function customerGetSubscription2() {
3920
- const payload = { id: ":id" };
3921
- const getRequestOptions = customerGetSubscription(payload);
3922
- const getUrl = (context) => {
3923
- const { url } = getRequestOptions(context);
3924
- return url;
3925
- };
3926
- return {
3927
- getUrl,
3928
- httpMethod: "GET",
3929
- path: "/v1/customer_subscriptions/{id}",
3930
- pathParams: { id: "id" },
3931
- __requestType: null,
3932
- __originalRequestType: null,
3933
- __responseType: null,
3934
- __originalResponseType: null
3935
- };
3936
- }
3937
- function customerCancelSubscription2() {
3938
- const payload = { id: ":id" };
3939
- const getRequestOptions = customerCancelSubscription(payload);
3940
- const getUrl = (context) => {
3941
- const { url } = getRequestOptions(context);
3942
- return url;
3943
- };
3944
- return {
3945
- getUrl,
3946
- httpMethod: "POST",
3947
- path: "/v1/customer_subscriptions/{id}/cancel",
3948
- pathParams: { id: "id" },
3949
- __requestType: null,
3950
- __originalRequestType: null,
3951
- __responseType: null,
3952
- __originalResponseType: null
3953
- };
3954
- }
3955
- function customerTurnOnSubscriptionAutoRenewal2() {
3956
- const payload = { id: ":id" };
3957
- const getRequestOptions = customerTurnOnSubscriptionAutoRenewal(
3958
- payload
3959
- );
3960
- const getUrl = (context) => {
3961
- const { url } = getRequestOptions(context);
3962
- return url;
3963
- };
3964
- return {
3965
- getUrl,
3966
- httpMethod: "POST",
3967
- path: "/v1/customer_subscriptions/{id}/turn_on_auto_renewal",
3968
- pathParams: { id: "id" },
3969
- __requestType: null,
3970
- __originalRequestType: null,
3971
- __responseType: null,
3972
- __originalResponseType: null
3973
- };
3974
- }
3975
- function customerTurnOffSubscriptionAutoRenewal2() {
3976
- const payload = { id: ":id" };
3977
- const getRequestOptions = customerTurnOffSubscriptionAutoRenewal(
3978
- payload
3979
- );
3980
- const getUrl = (context) => {
3981
- const { url } = getRequestOptions(context);
3982
- return url;
3983
- };
3984
- return {
3985
- getUrl,
3986
- httpMethod: "POST",
3987
- path: "/v1/customer_subscriptions/{id}/turn_off_auto_renewal",
3988
- pathParams: { id: "id" },
3989
- __requestType: null,
3990
- __originalRequestType: null,
3991
- __responseType: null,
3992
- __originalResponseType: null
3993
- };
3994
- }
3995
- function customerExtendSubscription2() {
3996
- const payload = { id: ":id" };
3997
- const getRequestOptions = customerExtendSubscription(payload);
3998
- const getUrl = (context) => {
3999
- const { url } = getRequestOptions(context);
4000
- return url;
4001
- };
4002
- return {
4003
- getUrl,
4004
- httpMethod: "PATCH",
4005
- path: "/v1/customer_subscriptions/{id}/extend",
4006
- pathParams: { id: "id" },
4007
- __requestType: null,
4008
- __originalRequestType: null,
4009
- __responseType: null,
4010
- __originalResponseType: null
4011
- };
4012
- }
4013
- function customerQuerySubscriptions2() {
4014
- const payload = {};
4015
- const getRequestOptions = customerQuerySubscriptions(payload);
4016
- const getUrl = (context) => {
4017
- const { url } = getRequestOptions(context);
4018
- return url;
4019
- };
4020
- return {
4021
- getUrl,
4022
- httpMethod: "POST",
4023
- path: "/v1/customer_subscriptions/query",
4024
- pathParams: {},
4025
- __requestType: null,
4026
- __originalRequestType: null,
4027
- __responseType: null,
4028
- __originalResponseType: null
4029
- };
4030
- }
4031
- function customerUpdateSubscriptionPaymentMethod2() {
4032
- const payload = { id: ":id" };
4033
- const getRequestOptions = customerUpdateSubscriptionPaymentMethod(
4034
- payload
4035
- );
4036
- const getUrl = (context) => {
4037
- const { url } = getRequestOptions(context);
4038
- return url;
4039
- };
4040
- return {
4041
- getUrl,
4042
- httpMethod: "PATCH",
4043
- path: "/v1/customer_subscriptions/{id}/payment_method",
4044
- pathParams: { id: "id" },
4045
- __requestType: null,
4046
- __originalRequestType: null,
4047
- __responseType: null,
4048
- __originalResponseType: null
4049
- };
4050
- }
4051
- function customerAllowedActions2() {
4052
- const payload = { id: ":id" };
4053
- const getRequestOptions = customerAllowedActions(payload);
4054
- const getUrl = (context) => {
4055
- const { url } = getRequestOptions(context);
4056
- return url;
4057
- };
4058
- return {
4059
- getUrl,
4060
- httpMethod: "GET",
4061
- path: "/v1/customer_subscriptions/{id}/allowed_actions",
4062
- pathParams: { id: "id" },
4063
- __requestType: null,
4064
- __originalRequestType: null,
4065
- __responseType: null,
4066
- __originalResponseType: null
4067
- };
4068
- }
4069
- function customerListUpcomingCharges2() {
4070
- const payload = { id: ":id" };
4071
- const getRequestOptions = customerListUpcomingCharges(payload);
4072
- const getUrl = (context) => {
4073
- const { url } = getRequestOptions(context);
4074
- return url;
4075
- };
4076
- return {
4077
- getUrl,
4078
- httpMethod: "GET",
4079
- path: "/v1/customer_subscriptions/{id}/upcoming_charges",
4080
- pathParams: { id: "id" },
4081
- __requestType: null,
4082
- __originalRequestType: null,
4083
- __responseType: null,
4084
- __originalResponseType: null
4085
- };
4086
- }
4087
- function customerInitiatePaymentMethodSetup2() {
4088
- const payload = { id: ":id" };
4089
- const getRequestOptions = customerInitiatePaymentMethodSetup(
4090
- payload
4091
- );
4092
- const getUrl = (context) => {
4093
- const { url } = getRequestOptions(context);
4094
- return url;
4095
- };
4096
- return {
4097
- getUrl,
4098
- httpMethod: "POST",
4099
- path: "/v1/customer_subscriptions/{id}/payment_method_setup",
4100
- pathParams: { id: "id" },
4101
- __requestType: null,
4102
- __originalRequestType: null,
4103
- __responseType: null,
4104
- __originalResponseType: null
4105
- };
4106
- }
4107
- function customerSkipCycle2() {
4108
- const payload = { id: ":id" };
4109
- const getRequestOptions = customerSkipCycle(payload);
4110
- const getUrl = (context) => {
4111
- const { url } = getRequestOptions(context);
4112
- return url;
4113
- };
4114
- return {
4115
- getUrl,
4116
- httpMethod: "POST",
4117
- path: "/v1/customer_subscriptions/{id}/skip_cycle",
4118
- pathParams: { id: "id" },
4119
- __requestType: null,
4120
- __originalRequestType: null,
4121
- __responseType: null,
4122
- __originalResponseType: null
4123
- };
4124
- }
4125
- function customerCancelScheduledSkip2() {
4126
- const payload = { id: ":id" };
4127
- const getRequestOptions = customerCancelScheduledSkip(payload);
4128
- const getUrl = (context) => {
4129
- const { url } = getRequestOptions(context);
4130
- return url;
4131
- };
4132
- return {
4133
- getUrl,
4134
- httpMethod: "POST",
4135
- path: "/v1/customer_subscriptions/{id}/cancel_scheduled_skip",
4136
- pathParams: { id: "id" },
4137
- __requestType: null,
4138
- __originalRequestType: null,
4139
- __responseType: null,
4140
- __originalResponseType: null
4141
- };
4142
- }
4143
- function customerPauseSubscription2() {
4144
- const payload = { id: ":id" };
4145
- const getRequestOptions = customerPauseSubscription(payload);
4146
- const getUrl = (context) => {
4147
- const { url } = getRequestOptions(context);
4148
- return url;
4149
- };
4150
- return {
4151
- getUrl,
4152
- httpMethod: "POST",
4153
- path: "/v1/customer_subscriptions/{id}/pause",
4154
- pathParams: { id: "id" },
4155
- __requestType: null,
4156
- __originalRequestType: null,
4157
- __responseType: null,
4158
- __originalResponseType: null
4159
- };
4160
- }
4161
- function customerResumeSubscription2() {
4162
- const payload = { id: ":id" };
4163
- const getRequestOptions = customerResumeSubscription(payload);
4164
- const getUrl = (context) => {
4165
- const { url } = getRequestOptions(context);
4166
- return url;
4167
- };
4168
- return {
4169
- getUrl,
4170
- httpMethod: "POST",
4171
- path: "/v1/customer_subscriptions/{id}/resume",
4172
- pathParams: { id: "id" },
4173
- __requestType: null,
4174
- __originalRequestType: null,
4175
- __responseType: null,
4176
- __originalResponseType: null
4177
- };
4178
- }
4179
- function customerCancelScheduledPause2() {
4180
- const payload = { id: ":id" };
4181
- const getRequestOptions = customerCancelScheduledPause(payload);
4182
- const getUrl = (context) => {
4183
- const { url } = getRequestOptions(context);
4184
- return url;
4185
- };
4186
- return {
4187
- getUrl,
4188
- httpMethod: "POST",
4189
- path: "/v1/customer_subscriptions/{id}/cancel_scheduled_pause",
4190
- pathParams: { id: "id" },
4191
- __requestType: null,
4192
- __originalRequestType: null,
4193
- __responseType: null,
4194
- __originalResponseType: null
4195
- };
4196
- }
4197
- function customerUpdateBillingDate2() {
4198
- const payload = { id: ":id" };
4199
- const getRequestOptions = customerUpdateBillingDate(payload);
4200
- const getUrl = (context) => {
4201
- const { url } = getRequestOptions(context);
4202
- return url;
4203
- };
4204
- return {
4205
- getUrl,
4206
- httpMethod: "POST",
4207
- path: "/v1/customer_subscriptions/{id}/update_billing_date",
4208
- pathParams: { id: "id" },
4209
- __requestType: null,
4210
- __originalRequestType: null,
4211
- __responseType: null,
4212
- __originalResponseType: null
4213
- };
4214
- }
4215
- function payCycle2() {
4216
- const payload = { subscriptionId: ":subscriptionId" };
4217
- const getRequestOptions = payCycle(payload);
4218
- const getUrl = (context) => {
4219
- const { url } = getRequestOptions(context);
4220
- return url;
4221
- };
4222
- return {
4223
- getUrl,
4224
- httpMethod: "POST",
4225
- path: "/v1/subscriptions-bo/{subscriptionId}/pay-cycle",
4226
- pathParams: { subscriptionId: "subscriptionId" },
4227
- __requestType: null,
4228
- __originalRequestType: null,
4229
- __responseType: null,
4230
- __originalResponseType: null
4231
- };
4232
- }
4233
- function getSubscription2() {
4234
- const payload = { id: ":id" };
4235
- const getRequestOptions = getSubscription(payload);
4236
- const getUrl = (context) => {
4237
- const { url } = getRequestOptions(context);
4238
- return url;
4239
- };
4240
- return {
4241
- getUrl,
4242
- httpMethod: "GET",
4243
- path: "/v1/subscriptions/{id}",
4244
- pathParams: { id: "id" },
4245
- __requestType: null,
4246
- __originalRequestType: null,
4247
- __responseType: null,
4248
- __originalResponseType: null
4249
- };
4250
- }
4251
- function updateSubscriptionPaymentMethod2() {
4252
- const payload = { id: ":id" };
4253
- const getRequestOptions = updateSubscriptionPaymentMethod(payload);
4254
- const getUrl = (context) => {
4255
- const { url } = getRequestOptions(context);
4256
- return url;
4257
- };
4258
- return {
4259
- getUrl,
4260
- httpMethod: "PATCH",
4261
- path: "/v1/subscriptions/{id}/payment_method",
4262
- pathParams: { id: "id" },
4263
- __requestType: null,
4264
- __originalRequestType: null,
4265
- __responseType: null,
4266
- __originalResponseType: null
4267
- };
4268
- }
4269
- function updateSubscriptionBillingDate2() {
4270
- const payload = { id: ":id" };
4271
- const getRequestOptions = updateSubscriptionBillingDate(payload);
4272
- const getUrl = (context) => {
4273
- const { url } = getRequestOptions(context);
4274
- return url;
4275
- };
4276
- return {
4277
- getUrl,
4278
- httpMethod: "PATCH",
4279
- path: "/v1/subscriptions/{id}/update-billing-date",
4280
- pathParams: { id: "id" },
4281
- __requestType: null,
4282
- __originalRequestType: null,
4283
- __responseType: null,
4284
- __originalResponseType: null
4285
- };
4286
- }
4287
- function reviseSubscription2() {
4288
- const payload = { id: ":id" };
4289
- const getRequestOptions = reviseSubscription(payload);
4290
- const getUrl = (context) => {
4291
- const { url } = getRequestOptions(context);
4292
- return url;
4293
- };
4294
- return {
4295
- getUrl,
4296
- httpMethod: "POST",
4297
- path: "/v1/subscriptions/{id}",
4298
- pathParams: { id: "id" },
4299
- __requestType: null,
4300
- __originalRequestType: null,
4301
- __responseType: null,
4302
- __originalResponseType: null
4303
- };
4304
- }
4305
- function cancelSubscription2() {
4306
- const payload = { id: ":id" };
4307
- const getRequestOptions = cancelSubscription(payload);
4308
- const getUrl = (context) => {
4309
- const { url } = getRequestOptions(context);
4310
- return url;
4311
- };
4312
- return {
4313
- getUrl,
4314
- httpMethod: "POST",
4315
- path: "/v1/subscriptions/{id}/cancel",
4316
- pathParams: { id: "id" },
4317
- __requestType: null,
4318
- __originalRequestType: null,
4319
- __responseType: null,
4320
- __originalResponseType: null
4321
- };
4322
- }
4323
- function pauseSubscription2() {
4324
- const payload = { id: ":id" };
4325
- const getRequestOptions = pauseSubscription(payload);
4326
- const getUrl = (context) => {
4327
- const { url } = getRequestOptions(context);
4328
- return url;
4329
- };
4330
- return {
4331
- getUrl,
4332
- httpMethod: "POST",
4333
- path: "/v1/subscriptions/{id}/pause",
4334
- pathParams: { id: "id" },
4335
- __requestType: null,
4336
- __originalRequestType: null,
4337
- __responseType: null,
4338
- __originalResponseType: null
4339
- };
4340
- }
4341
- function resumeSubscription2() {
4342
- const payload = { id: ":id" };
4343
- const getRequestOptions = resumeSubscription(payload);
4344
- const getUrl = (context) => {
4345
- const { url } = getRequestOptions(context);
4346
- return url;
4347
- };
4348
- return {
4349
- getUrl,
4350
- httpMethod: "POST",
4351
- path: "/v1/subscriptions/{id}/resume",
4352
- pathParams: { id: "id" },
4353
- __requestType: null,
4354
- __originalRequestType: null,
4355
- __responseType: null,
4356
- __originalResponseType: null
4357
- };
4358
- }
4359
- function querySubscriptions2() {
4360
- const payload = {};
4361
- const getRequestOptions = querySubscriptions(payload);
4362
- const getUrl = (context) => {
4363
- const { url } = getRequestOptions(context);
4364
- return url;
4365
- };
4366
- return {
4367
- getUrl,
4368
- httpMethod: "POST",
4369
- path: "/v1/subscriptions/query",
4370
- pathParams: {},
4371
- __requestType: null,
4372
- __originalRequestType: null,
4373
- __responseType: null,
4374
- __originalResponseType: null
4375
- };
4376
- }
4377
- function searchSubscriptions2() {
4378
- const payload = {};
4379
- const getRequestOptions = searchSubscriptions(payload);
4380
- const getUrl = (context) => {
4381
- const { url } = getRequestOptions(context);
4382
- return url;
4383
- };
4384
- return {
4385
- getUrl,
4386
- httpMethod: "POST",
4387
- path: "/v1/subscriptions/search",
4388
- pathParams: {},
4389
- __requestType: null,
4390
- __originalRequestType: null,
4391
- __responseType: null,
4392
- __originalResponseType: null
4393
- };
4394
- }
4395
- function countSubscriptions2() {
4396
- const payload = {};
4397
- const getRequestOptions = countSubscriptions(payload);
4398
- const getUrl = (context) => {
4399
- const { url } = getRequestOptions(context);
4400
- return url;
4401
- };
4402
- return {
4403
- getUrl,
4404
- httpMethod: "POST",
4405
- path: "/v1/subscriptions/count",
4406
- pathParams: {},
4407
- __requestType: null,
4408
- __originalRequestType: null,
4409
- __responseType: null,
4410
- __originalResponseType: null
4411
- };
4412
- }
4413
- function turnOnSubscriptionAutoRenewal2() {
4414
- const payload = { id: ":id" };
4415
- const getRequestOptions = turnOnSubscriptionAutoRenewal(payload);
4416
- const getUrl = (context) => {
4417
- const { url } = getRequestOptions(context);
4418
- return url;
4419
- };
4420
- return {
4421
- getUrl,
4422
- httpMethod: "PATCH",
4423
- path: "/v1/subscriptions/{id}/turn_on_auto_renewal",
4424
- pathParams: { id: "id" },
4425
- __requestType: null,
4426
- __originalRequestType: null,
4427
- __responseType: null,
4428
- __originalResponseType: null
4429
- };
4430
- }
4431
- function turnOffSubscriptionAutoRenewal2() {
4432
- const payload = { id: ":id" };
4433
- const getRequestOptions = turnOffSubscriptionAutoRenewal(payload);
4434
- const getUrl = (context) => {
4435
- const { url } = getRequestOptions(context);
4436
- return url;
4437
- };
4438
- return {
4439
- getUrl,
4440
- httpMethod: "PATCH",
4441
- path: "/v1/subscriptions/{id}/turn_off_auto_renewal",
4442
- pathParams: { id: "id" },
4443
- __requestType: null,
4444
- __originalRequestType: null,
4445
- __responseType: null,
4446
- __originalResponseType: null
4447
- };
4448
- }
4449
- function markLatestInvoiceAsPaid2() {
4450
- const payload = { subscriptionId: ":subscriptionId" };
4451
- const getRequestOptions = markLatestInvoiceAsPaid(payload);
4452
- const getUrl = (context) => {
4453
- const { url } = getRequestOptions(context);
4454
- return url;
4455
- };
4456
- return {
4457
- getUrl,
4458
- httpMethod: "POST",
4459
- path: "/v1/subscriptions/{subscriptionId}/mark-latest-invoice-as-paid",
4460
- pathParams: { subscriptionId: "subscriptionId" },
4461
- __requestType: null,
4462
- __originalRequestType: null,
4463
- __responseType: null,
4464
- __originalResponseType: null
4465
- };
4466
- }
4467
- function markBillingCycleAsPaid2() {
4468
- const payload = { subscriptionId: ":subscriptionId" };
4469
- const getRequestOptions = markBillingCycleAsPaid(payload);
4470
- const getUrl = (context) => {
4471
- const { url } = getRequestOptions(context);
4472
- return url;
4473
- };
4474
- return {
4475
- getUrl,
4476
- httpMethod: "POST",
4477
- path: "/v1/subscriptions/{subscriptionId}/mark-cycle-as-paid",
4478
- pathParams: { subscriptionId: "subscriptionId" },
4479
- __requestType: null,
4480
- __originalRequestType: null,
4481
- __responseType: null,
4482
- __originalResponseType: null
4483
- };
4484
- }
4485
- function getSubscriptionsStats2() {
4486
- const payload = {};
4487
- const getRequestOptions = getSubscriptionsStats(payload);
4488
- const getUrl = (context) => {
4489
- const { url } = getRequestOptions(context);
4490
- return url;
4491
- };
4492
- return {
4493
- getUrl,
4494
- httpMethod: "GET",
4495
- path: "/v1/subscriptions/stats",
4496
- pathParams: {},
4497
- __requestType: null,
4498
- __originalRequestType: null,
4499
- __responseType: null,
4500
- __originalResponseType: null
4501
- };
4502
- }
4503
- function extendSubscription2() {
4504
- const payload = { id: ":id" };
4505
- const getRequestOptions = extendSubscription(payload);
4506
- const getUrl = (context) => {
4507
- const { url } = getRequestOptions(context);
4508
- return url;
4509
- };
4510
- return {
4511
- getUrl,
4512
- httpMethod: "PATCH",
4513
- path: "/v1/subscriptions/{id}/extend",
4514
- pathParams: { id: "id" },
4515
- __requestType: null,
4516
- __originalRequestType: null,
4517
- __responseType: null,
4518
- __originalResponseType: null
4519
- };
4520
- }
4521
- function allowedActions2() {
4522
- const payload = { id: ":id" };
4523
- const getRequestOptions = allowedActions(payload);
4524
- const getUrl = (context) => {
4525
- const { url } = getRequestOptions(context);
4526
- return url;
4527
- };
4528
- return {
4529
- getUrl,
4530
- httpMethod: "GET",
4531
- path: "/v1/subscriptions/{id}/allowed_actions",
4532
- pathParams: { id: "id" },
4533
- __requestType: null,
4534
- __originalRequestType: null,
4535
- __responseType: null,
4536
- __originalResponseType: null
4537
- };
4538
- }
4539
- function listUpcomingCharges2() {
4540
- const payload = { subscriptionId: ":subscriptionId" };
4541
- const getRequestOptions = listUpcomingCharges(payload);
4542
- const getUrl = (context) => {
4543
- const { url } = getRequestOptions(context);
4544
- return url;
4545
- };
4546
- return {
4547
- getUrl,
4548
- httpMethod: "GET",
4549
- path: "/v1/subscriptions/{subscriptionId}/upcoming_charges",
4550
- pathParams: { subscriptionId: "subscriptionId" },
4551
- __requestType: null,
4552
- __originalRequestType: null,
4553
- __responseType: null,
4554
- __originalResponseType: null
4555
- };
4556
- }
4557
- function previewSubscriptionCharges2() {
4558
- const payload = {};
4559
- const getRequestOptions = previewSubscriptionCharges(payload);
4560
- const getUrl = (context) => {
4561
- const { url } = getRequestOptions(context);
4562
- return url;
4563
- };
4564
- return {
4565
- getUrl,
4566
- httpMethod: "GET",
4567
- path: "/v1/subscriptions/preview_charges",
4568
- pathParams: {},
4569
- __requestType: null,
4570
- __originalRequestType: null,
4571
- __responseType: null,
4572
- __originalResponseType: null
4573
- };
4574
- }
4575
- function previewSubscriptionsCharges2() {
4576
- const payload = {};
4577
- const getRequestOptions = previewSubscriptionsCharges(payload);
4578
- const getUrl = (context) => {
4579
- const { url } = getRequestOptions(context);
4580
- return url;
4581
- };
4582
- return {
4583
- getUrl,
4584
- httpMethod: "GET",
4585
- path: "/v1/subscriptions/preview-subscriptions-charges",
4586
- pathParams: {},
4587
- __requestType: null,
4588
- __originalRequestType: null,
4589
- __responseType: null,
4590
- __originalResponseType: null
4591
- };
4592
- }
4593
- function initiatePaymentMethodSetup2() {
4594
- const payload = { id: ":id" };
4595
- const getRequestOptions = initiatePaymentMethodSetup(payload);
4596
- const getUrl = (context) => {
4597
- const { url } = getRequestOptions(context);
4598
- return url;
4599
- };
4600
- return {
4601
- getUrl,
4602
- httpMethod: "POST",
4603
- path: "/v1/subscriptions/{id}/payment_method_setup",
4604
- pathParams: { id: "id" },
4605
- __requestType: null,
4606
- __originalRequestType: null,
4607
- __responseType: null,
4608
- __originalResponseType: null
4609
- };
4610
- }
4611
- function listSubscriptionHistory2() {
4612
- const payload = { subscriptionId: ":subscriptionId" };
4613
- const getRequestOptions = listSubscriptionHistory(payload);
4614
- const getUrl = (context) => {
4615
- const { url } = getRequestOptions(context);
4616
- return url;
4617
- };
4618
- return {
4619
- getUrl,
4620
- httpMethod: "GET",
4621
- path: "/v1/subscriptions/{subscriptionId}/history",
4622
- pathParams: { subscriptionId: "subscriptionId" },
4623
- __requestType: null,
4624
- __originalRequestType: null,
4625
- __responseType: null,
4626
- __originalResponseType: null
4627
- };
4628
- }
4629
- // Annotate the CommonJS export names for ESM import in node:
4630
- 0 && (module.exports = {
4631
- ActionInitiatorOriginal,
4632
- ActionTypeOriginal,
4633
- AdditionalFeeTriggerOriginal,
4634
- CancellationInitiatorOriginal,
4635
- ChangeEffectiveTimeOriginal,
4636
- CollectionMethodEnumCollectionMethodOriginal,
4637
- CollectionMethodOriginal,
4638
- CreationModeOriginal,
4639
- DurationUnitOriginal,
4640
- ExtendPolicyTypeOriginal,
4641
- HistoryActionInitiatorOriginal,
4642
- HistoryViewModeOriginal,
4643
- IdentityTypeOriginal,
4644
- InvoiceStatusOriginal,
4645
- ItemCategoryOriginal,
4646
- OrderMethodOriginal,
4647
- PauseAtOriginal,
4648
- PausePolicyOriginal,
4649
- PaymentAttemptStatusOriginal,
4650
- PaymentModeOriginal,
4651
- PaymentSettlementMethodOriginal,
4652
- PaymentStatusEnumPaymentStatusOriginal,
4653
- PaymentStatusOriginal,
4654
- PaymentTestModeOriginal,
4655
- PriceAdjustmentReasonOriginal,
4656
- ProrationActionOriginal,
4657
- ProrationBehaviorOriginal,
4658
- RefundReasonOriginal,
4659
- RequestedFieldsOriginal,
4660
- ResumeAtOriginal,
4661
- RevivePolicyOriginal,
4662
- SortOrderOriginal,
4663
- StatusOriginal,
4664
- SubscriptionFrequencyOriginal,
4665
- SubscriptionStatusEnumSubscriptionStatusOriginal,
4666
- SubscriptionStatusGroupOriginal,
4667
- SubscriptionTypeOriginal,
4668
- TaxableAddressTypeOriginal,
4669
- UpdateActionOriginal,
4670
- V1SubscriptionStatusEnumSubscriptionStatusOriginal,
4671
- WebhookIdentityTypeOriginal,
4672
- allowedActions,
4673
- cancelSubscription,
4674
- countSubscriptions,
4675
- customerAllowedActions,
4676
- customerCancelScheduledPause,
4677
- customerCancelScheduledSkip,
4678
- customerCancelSubscription,
4679
- customerExtendSubscription,
4680
- customerGetSubscription,
4681
- customerInitiatePaymentMethodSetup,
4682
- customerListUpcomingCharges,
4683
- customerPauseSubscription,
4684
- customerQuerySubscriptions,
4685
- customerResumeSubscription,
4686
- customerSkipCycle,
4687
- customerTurnOffSubscriptionAutoRenewal,
4688
- customerTurnOnSubscriptionAutoRenewal,
4689
- customerUpdateBillingDate,
4690
- customerUpdateSubscriptionPaymentMethod,
4691
- extendSubscription,
4692
- getSubscription,
4693
- getSubscriptionsStats,
4694
- initiatePaymentMethodSetup,
4695
- listSubscriptionHistory,
4696
- listUpcomingCharges,
4697
- markBillingCycleAsPaid,
4698
- markLatestInvoiceAsPaid,
4699
- pauseSubscription,
4700
- payCycle,
4701
- previewSubscriptionCharges,
4702
- previewSubscriptionsCharges,
4703
- querySubscriptions,
4704
- resumeSubscription,
4705
- reviseSubscription,
4706
- searchSubscriptions,
4707
- turnOffSubscriptionAutoRenewal,
4708
- turnOnSubscriptionAutoRenewal,
4709
- updateSubscriptionBillingDate,
4710
- updateSubscriptionPaymentMethod
4711
- });
4712
- //# sourceMappingURL=meta.js.map