@replit/revenuecat-sdk 4.0.0

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.
package/dist/index.js ADDED
@@ -0,0 +1,1324 @@
1
+ import {
2
+ createClient,
3
+ createConfig
4
+ } from "./chunk-Q5QGVPKF.js";
5
+
6
+ // revenuecat-sdk/client.gen.ts
7
+ var client = createClient(createConfig({ baseUrl: "https://api.revenuecat.com/v2" }));
8
+
9
+ // revenuecat-sdk/transformers.gen.ts
10
+ var overviewMetricSchemaResponseTransformer = (data) => {
11
+ if (data.last_updated_at_iso8601) {
12
+ data.last_updated_at_iso8601 = new Date(data.last_updated_at_iso8601);
13
+ }
14
+ return data;
15
+ };
16
+ var overviewMetricsSchemaResponseTransformer = (data) => {
17
+ data.metrics = data.metrics.map((item) => overviewMetricSchemaResponseTransformer(item));
18
+ return data;
19
+ };
20
+ var getOverviewMetricsResponseTransformer = async (data) => {
21
+ data = overviewMetricsSchemaResponseTransformer(data);
22
+ return data;
23
+ };
24
+
25
+ // revenuecat-sdk/sdk.gen.ts
26
+ var listPaywalls = (options) => (options.client ?? client).get({
27
+ security: [{ scheme: "bearer", type: "http" }],
28
+ url: "/projects/{project_id}/paywalls",
29
+ ...options
30
+ });
31
+ var createPaywall = (options) => (options.client ?? client).post({
32
+ security: [{ scheme: "bearer", type: "http" }],
33
+ url: "/projects/{project_id}/paywalls",
34
+ ...options,
35
+ headers: {
36
+ "Content-Type": "application/json",
37
+ ...options.headers
38
+ }
39
+ });
40
+ var deletePaywall = (options) => (options.client ?? client).delete({
41
+ security: [{ scheme: "bearer", type: "http" }],
42
+ url: "/projects/{project_id}/paywalls/{paywall_id}",
43
+ ...options
44
+ });
45
+ var getPaywall = (options) => (options.client ?? client).get({
46
+ security: [{ scheme: "bearer", type: "http" }],
47
+ url: "/projects/{project_id}/paywalls/{paywall_id}",
48
+ ...options
49
+ });
50
+ var listAppPublicApiKeys = (options) => (options.client ?? client).get({
51
+ security: [{ scheme: "bearer", type: "http" }],
52
+ url: "/projects/{project_id}/apps/{app_id}/public_api_keys",
53
+ ...options
54
+ });
55
+ var listProjects = (options) => (options?.client ?? client).get({
56
+ security: [{ scheme: "bearer", type: "http" }],
57
+ url: "/projects",
58
+ ...options
59
+ });
60
+ var createProject = (options) => (options.client ?? client).post({
61
+ security: [{ scheme: "bearer", type: "http" }],
62
+ url: "/projects",
63
+ ...options,
64
+ headers: {
65
+ "Content-Type": "application/json",
66
+ ...options.headers
67
+ }
68
+ });
69
+ var listApps = (options) => (options.client ?? client).get({
70
+ security: [{ scheme: "bearer", type: "http" }],
71
+ url: "/projects/{project_id}/apps",
72
+ ...options
73
+ });
74
+ var createApp = (options) => (options.client ?? client).post({
75
+ security: [{ scheme: "bearer", type: "http" }],
76
+ url: "/projects/{project_id}/apps",
77
+ ...options,
78
+ headers: {
79
+ "Content-Type": "application/json",
80
+ ...options.headers
81
+ }
82
+ });
83
+ var deleteApp = (options) => (options.client ?? client).delete({
84
+ security: [{ scheme: "bearer", type: "http" }],
85
+ url: "/projects/{project_id}/apps/{app_id}",
86
+ ...options
87
+ });
88
+ var getApp = (options) => (options.client ?? client).get({
89
+ security: [{ scheme: "bearer", type: "http" }],
90
+ url: "/projects/{project_id}/apps/{app_id}",
91
+ ...options
92
+ });
93
+ var updateApp = (options) => (options.client ?? client).post({
94
+ security: [{ scheme: "bearer", type: "http" }],
95
+ url: "/projects/{project_id}/apps/{app_id}",
96
+ ...options,
97
+ headers: {
98
+ "Content-Type": "application/json",
99
+ ...options.headers
100
+ }
101
+ });
102
+ var getAppStorekitConfig = (options) => (options.client ?? client).get({
103
+ security: [{ scheme: "bearer", type: "http" }],
104
+ url: "/projects/{project_id}/apps/{app_id}/store_kit_config",
105
+ ...options
106
+ });
107
+ var listAuditLogs = (options) => (options.client ?? client).get({
108
+ security: [{ scheme: "bearer", type: "http" }],
109
+ url: "/projects/{project_id}/audit_logs",
110
+ ...options
111
+ });
112
+ var listCollaborators = (options) => (options.client ?? client).get({
113
+ security: [{ scheme: "bearer", type: "http" }],
114
+ url: "/projects/{project_id}/collaborators",
115
+ ...options
116
+ });
117
+ var listCustomers = (options) => (options.client ?? client).get({
118
+ security: [{ scheme: "bearer", type: "http" }],
119
+ url: "/projects/{project_id}/customers",
120
+ ...options
121
+ });
122
+ var createCustomer = (options) => (options.client ?? client).post({
123
+ security: [{ scheme: "bearer", type: "http" }],
124
+ url: "/projects/{project_id}/customers",
125
+ ...options,
126
+ headers: {
127
+ "Content-Type": "application/json",
128
+ ...options.headers
129
+ }
130
+ });
131
+ var deleteCustomer = (options) => (options.client ?? client).delete({
132
+ security: [{ scheme: "bearer", type: "http" }],
133
+ url: "/projects/{project_id}/customers/{customer_id}",
134
+ ...options
135
+ });
136
+ var getCustomer = (options) => (options.client ?? client).get({
137
+ security: [{ scheme: "bearer", type: "http" }],
138
+ url: "/projects/{project_id}/customers/{customer_id}",
139
+ ...options
140
+ });
141
+ var transferCustomerData = (options) => (options.client ?? client).post({
142
+ security: [{ scheme: "bearer", type: "http" }],
143
+ url: "/projects/{project_id}/customers/{customer_id}/actions/transfer",
144
+ ...options,
145
+ headers: {
146
+ "Content-Type": "application/json",
147
+ ...options.headers
148
+ }
149
+ });
150
+ var grantCustomerEntitlement = (options) => (options.client ?? client).post({
151
+ security: [{ scheme: "bearer", type: "http" }],
152
+ url: "/projects/{project_id}/customers/{customer_id}/actions/grant_entitlement",
153
+ ...options,
154
+ headers: {
155
+ "Content-Type": "application/json",
156
+ ...options.headers
157
+ }
158
+ });
159
+ var revokeCustomerGrantedEntitlement = (options) => (options.client ?? client).post({
160
+ security: [{ scheme: "bearer", type: "http" }],
161
+ url: "/projects/{project_id}/customers/{customer_id}/actions/revoke_granted_entitlement",
162
+ ...options,
163
+ headers: {
164
+ "Content-Type": "application/json",
165
+ ...options.headers
166
+ }
167
+ });
168
+ var assignCustomerOffering = (options) => (options.client ?? client).post({
169
+ security: [{ scheme: "bearer", type: "http" }],
170
+ url: "/projects/{project_id}/customers/{customer_id}/actions/assign_offering",
171
+ ...options,
172
+ headers: {
173
+ "Content-Type": "application/json",
174
+ ...options.headers
175
+ }
176
+ });
177
+ var listWebhookIntegrations = (options) => (options.client ?? client).get({
178
+ security: [{ scheme: "bearer", type: "http" }],
179
+ url: "/projects/{project_id}/integrations/webhooks",
180
+ ...options
181
+ });
182
+ var createWebhookIntegration = (options) => (options.client ?? client).post({
183
+ security: [{ scheme: "bearer", type: "http" }],
184
+ url: "/projects/{project_id}/integrations/webhooks",
185
+ ...options,
186
+ headers: {
187
+ "Content-Type": "application/json",
188
+ ...options.headers
189
+ }
190
+ });
191
+ var deleteWebhookIntegration = (options) => (options.client ?? client).delete({
192
+ security: [{ scheme: "bearer", type: "http" }],
193
+ url: "/projects/{project_id}/integrations/webhooks/{webhook_integration_id}",
194
+ ...options
195
+ });
196
+ var getWebhookIntegration = (options) => (options.client ?? client).get({
197
+ security: [{ scheme: "bearer", type: "http" }],
198
+ url: "/projects/{project_id}/integrations/webhooks/{webhook_integration_id}",
199
+ ...options
200
+ });
201
+ var updateWebhookIntegration = (options) => (options.client ?? client).post({
202
+ security: [{ scheme: "bearer", type: "http" }],
203
+ url: "/projects/{project_id}/integrations/webhooks/{webhook_integration_id}",
204
+ ...options,
205
+ headers: {
206
+ "Content-Type": "application/json",
207
+ ...options.headers
208
+ }
209
+ });
210
+ var deleteProduct = (options) => (options.client ?? client).delete({
211
+ security: [{ scheme: "bearer", type: "http" }],
212
+ url: "/projects/{project_id}/products/{product_id}",
213
+ ...options
214
+ });
215
+ var getProduct = (options) => (options.client ?? client).get({
216
+ security: [{ scheme: "bearer", type: "http" }],
217
+ url: "/projects/{project_id}/products/{product_id}",
218
+ ...options
219
+ });
220
+ var updateProduct = (options) => (options.client ?? client).post({
221
+ security: [{ scheme: "bearer", type: "http" }],
222
+ url: "/projects/{project_id}/products/{product_id}",
223
+ ...options,
224
+ headers: {
225
+ "Content-Type": "application/json",
226
+ ...options.headers
227
+ }
228
+ });
229
+ var archiveProduct = (options) => (options.client ?? client).post({
230
+ security: [{ scheme: "bearer", type: "http" }],
231
+ url: "/projects/{project_id}/products/{product_id}/actions/archive",
232
+ ...options
233
+ });
234
+ var unarchiveProduct = (options) => (options.client ?? client).post({
235
+ security: [{ scheme: "bearer", type: "http" }],
236
+ url: "/projects/{project_id}/products/{product_id}/actions/unarchive",
237
+ ...options
238
+ });
239
+ var createProductInStore = (options) => (options.client ?? client).post({
240
+ security: [{ scheme: "bearer", type: "http" }],
241
+ url: "/projects/{project_id}/products/{product_id}/create_in_store",
242
+ ...options,
243
+ headers: {
244
+ "Content-Type": "application/json",
245
+ ...options.headers
246
+ }
247
+ });
248
+ var listProducts = (options) => (options.client ?? client).get({
249
+ security: [{ scheme: "bearer", type: "http" }],
250
+ url: "/projects/{project_id}/products",
251
+ ...options
252
+ });
253
+ var createProduct = (options) => (options.client ?? client).post({
254
+ security: [{ scheme: "bearer", type: "http" }],
255
+ url: "/projects/{project_id}/products",
256
+ ...options,
257
+ headers: {
258
+ "Content-Type": "application/json",
259
+ ...options.headers
260
+ }
261
+ });
262
+ var listVirtualCurrencies = (options) => (options.client ?? client).get({
263
+ security: [{ scheme: "bearer", type: "http" }],
264
+ url: "/projects/{project_id}/virtual_currencies",
265
+ ...options
266
+ });
267
+ var createVirtualCurrency = (options) => (options.client ?? client).post({
268
+ security: [{ scheme: "bearer", type: "http" }],
269
+ url: "/projects/{project_id}/virtual_currencies",
270
+ ...options,
271
+ headers: {
272
+ "Content-Type": "application/json",
273
+ ...options.headers
274
+ }
275
+ });
276
+ var deleteVirtualCurrency = (options) => (options.client ?? client).delete({
277
+ security: [{ scheme: "bearer", type: "http" }],
278
+ url: "/projects/{project_id}/virtual_currencies/{virtual_currency_code}",
279
+ ...options
280
+ });
281
+ var getVirtualCurrency = (options) => (options.client ?? client).get({
282
+ security: [{ scheme: "bearer", type: "http" }],
283
+ url: "/projects/{project_id}/virtual_currencies/{virtual_currency_code}",
284
+ ...options
285
+ });
286
+ var updateVirtualCurrency = (options) => (options.client ?? client).post({
287
+ security: [{ scheme: "bearer", type: "http" }],
288
+ url: "/projects/{project_id}/virtual_currencies/{virtual_currency_code}",
289
+ ...options,
290
+ headers: {
291
+ "Content-Type": "application/json",
292
+ ...options.headers
293
+ }
294
+ });
295
+ var archiveVirtualCurrency = (options) => (options.client ?? client).post({
296
+ security: [{ scheme: "bearer", type: "http" }],
297
+ url: "/projects/{project_id}/virtual_currencies/{virtual_currency_code}/actions/archive",
298
+ ...options
299
+ });
300
+ var unarchiveVirtualCurrency = (options) => (options.client ?? client).post({
301
+ security: [{ scheme: "bearer", type: "http" }],
302
+ url: "/projects/{project_id}/virtual_currencies/{virtual_currency_code}/actions/unarchive",
303
+ ...options
304
+ });
305
+ var deleteEntitlement = (options) => (options.client ?? client).delete({
306
+ security: [{ scheme: "bearer", type: "http" }],
307
+ url: "/projects/{project_id}/entitlements/{entitlement_id}",
308
+ ...options
309
+ });
310
+ var getEntitlement = (options) => (options.client ?? client).get({
311
+ security: [{ scheme: "bearer", type: "http" }],
312
+ url: "/projects/{project_id}/entitlements/{entitlement_id}",
313
+ ...options
314
+ });
315
+ var updateEntitlement = (options) => (options.client ?? client).post({
316
+ security: [{ scheme: "bearer", type: "http" }],
317
+ url: "/projects/{project_id}/entitlements/{entitlement_id}",
318
+ ...options,
319
+ headers: {
320
+ "Content-Type": "application/json",
321
+ ...options.headers
322
+ }
323
+ });
324
+ var listEntitlements = (options) => (options.client ?? client).get({
325
+ security: [{ scheme: "bearer", type: "http" }],
326
+ url: "/projects/{project_id}/entitlements",
327
+ ...options
328
+ });
329
+ var createEntitlement = (options) => (options.client ?? client).post({
330
+ security: [{ scheme: "bearer", type: "http" }],
331
+ url: "/projects/{project_id}/entitlements",
332
+ ...options,
333
+ headers: {
334
+ "Content-Type": "application/json",
335
+ ...options.headers
336
+ }
337
+ });
338
+ var getProductsFromEntitlement = (options) => (options.client ?? client).get({
339
+ security: [{ scheme: "bearer", type: "http" }],
340
+ url: "/projects/{project_id}/entitlements/{entitlement_id}/products",
341
+ ...options
342
+ });
343
+ var archiveEntitlement = (options) => (options.client ?? client).post({
344
+ security: [{ scheme: "bearer", type: "http" }],
345
+ url: "/projects/{project_id}/entitlements/{entitlement_id}/actions/archive",
346
+ ...options
347
+ });
348
+ var unarchiveEntitlement = (options) => (options.client ?? client).post({
349
+ security: [{ scheme: "bearer", type: "http" }],
350
+ url: "/projects/{project_id}/entitlements/{entitlement_id}/actions/unarchive",
351
+ ...options
352
+ });
353
+ var attachProductsToEntitlement = (options) => (options.client ?? client).post({
354
+ security: [{ scheme: "bearer", type: "http" }],
355
+ url: "/projects/{project_id}/entitlements/{entitlement_id}/actions/attach_products",
356
+ ...options,
357
+ headers: {
358
+ "Content-Type": "application/json",
359
+ ...options.headers
360
+ }
361
+ });
362
+ var detachProductsFromEntitlement = (options) => (options.client ?? client).post({
363
+ security: [{ scheme: "bearer", type: "http" }],
364
+ url: "/projects/{project_id}/entitlements/{entitlement_id}/actions/detach_products",
365
+ ...options,
366
+ headers: {
367
+ "Content-Type": "application/json",
368
+ ...options.headers
369
+ }
370
+ });
371
+ var deleteOffering = (options) => (options.client ?? client).delete({
372
+ security: [{ scheme: "bearer", type: "http" }],
373
+ url: "/projects/{project_id}/offerings/{offering_id}",
374
+ ...options
375
+ });
376
+ var getOffering = (options) => (options.client ?? client).get({
377
+ security: [{ scheme: "bearer", type: "http" }],
378
+ url: "/projects/{project_id}/offerings/{offering_id}",
379
+ ...options
380
+ });
381
+ var updateOffering = (options) => (options.client ?? client).post({
382
+ security: [{ scheme: "bearer", type: "http" }],
383
+ url: "/projects/{project_id}/offerings/{offering_id}",
384
+ ...options,
385
+ headers: {
386
+ "Content-Type": "application/json",
387
+ ...options.headers
388
+ }
389
+ });
390
+ var archiveOffering = (options) => (options.client ?? client).post({
391
+ security: [{ scheme: "bearer", type: "http" }],
392
+ url: "/projects/{project_id}/offerings/{offering_id}/actions/archive",
393
+ ...options
394
+ });
395
+ var unarchiveOffering = (options) => (options.client ?? client).post({
396
+ security: [{ scheme: "bearer", type: "http" }],
397
+ url: "/projects/{project_id}/offerings/{offering_id}/actions/unarchive",
398
+ ...options,
399
+ headers: {
400
+ "Content-Type": "application/json",
401
+ ...options.headers
402
+ }
403
+ });
404
+ var listOfferings = (options) => (options.client ?? client).get({
405
+ security: [{ scheme: "bearer", type: "http" }],
406
+ url: "/projects/{project_id}/offerings",
407
+ ...options
408
+ });
409
+ var createOffering = (options) => (options.client ?? client).post({
410
+ security: [{ scheme: "bearer", type: "http" }],
411
+ url: "/projects/{project_id}/offerings",
412
+ ...options,
413
+ headers: {
414
+ "Content-Type": "application/json",
415
+ ...options.headers
416
+ }
417
+ });
418
+ var deletePackageFromOffering = (options) => (options.client ?? client).delete({
419
+ security: [{ scheme: "bearer", type: "http" }],
420
+ url: "/projects/{project_id}/packages/{package_id}",
421
+ ...options
422
+ });
423
+ var getPackage = (options) => (options.client ?? client).get({
424
+ security: [{ scheme: "bearer", type: "http" }],
425
+ url: "/projects/{project_id}/packages/{package_id}",
426
+ ...options
427
+ });
428
+ var updatePackage = (options) => (options.client ?? client).post({
429
+ security: [{ scheme: "bearer", type: "http" }],
430
+ url: "/projects/{project_id}/packages/{package_id}",
431
+ ...options,
432
+ headers: {
433
+ "Content-Type": "application/json",
434
+ ...options.headers
435
+ }
436
+ });
437
+ var listPackages = (options) => (options.client ?? client).get({
438
+ security: [{ scheme: "bearer", type: "http" }],
439
+ url: "/projects/{project_id}/offerings/{offering_id}/packages",
440
+ ...options
441
+ });
442
+ var createPackages = (options) => (options.client ?? client).post({
443
+ security: [{ scheme: "bearer", type: "http" }],
444
+ url: "/projects/{project_id}/offerings/{offering_id}/packages",
445
+ ...options,
446
+ headers: {
447
+ "Content-Type": "application/json",
448
+ ...options.headers
449
+ }
450
+ });
451
+ var getProductsFromPackage = (options) => (options.client ?? client).get({
452
+ security: [{ scheme: "bearer", type: "http" }],
453
+ url: "/projects/{project_id}/packages/{package_id}/products",
454
+ ...options
455
+ });
456
+ var attachProductsToPackage = (options) => (options.client ?? client).post({
457
+ security: [{ scheme: "bearer", type: "http" }],
458
+ url: "/projects/{project_id}/packages/{package_id}/actions/attach_products",
459
+ ...options,
460
+ headers: {
461
+ "Content-Type": "application/json",
462
+ ...options.headers
463
+ }
464
+ });
465
+ var detachProductsFromPackage = (options) => (options.client ?? client).post({
466
+ security: [{ scheme: "bearer", type: "http" }],
467
+ url: "/projects/{project_id}/packages/{package_id}/actions/detach_products",
468
+ ...options,
469
+ headers: {
470
+ "Content-Type": "application/json",
471
+ ...options.headers
472
+ }
473
+ });
474
+ var getSubscription = (options) => (options.client ?? client).get({
475
+ security: [{ scheme: "bearer", type: "http" }],
476
+ url: "/projects/{project_id}/subscriptions/{subscription_id}",
477
+ ...options
478
+ });
479
+ var getPlayStoreOrAppStoreSubscriptionTransactions = (options) => (options.client ?? client).get({
480
+ security: [{ scheme: "bearer", type: "http" }],
481
+ url: "/projects/{project_id}/subscriptions/{subscription_id}/transactions",
482
+ ...options
483
+ });
484
+ var refundPlayStoreSubscriptionTransaction = (options) => (options.client ?? client).post({
485
+ security: [{ scheme: "bearer", type: "http" }],
486
+ url: "/projects/{project_id}/subscriptions/{subscription_id}/transactions/{transaction_id}/actions/refund",
487
+ ...options
488
+ });
489
+ var listSubscriptionEntitlements = (options) => (options.client ?? client).get({
490
+ security: [{ scheme: "bearer", type: "http" }],
491
+ url: "/projects/{project_id}/subscriptions/{subscription_id}/entitlements",
492
+ ...options
493
+ });
494
+ var cancelSubscription = (options) => (options.client ?? client).post({
495
+ security: [{ scheme: "bearer", type: "http" }],
496
+ url: "/projects/{project_id}/subscriptions/{subscription_id}/actions/cancel",
497
+ ...options
498
+ });
499
+ var refundSubscription = (options) => (options.client ?? client).post({
500
+ security: [{ scheme: "bearer", type: "http" }],
501
+ url: "/projects/{project_id}/subscriptions/{subscription_id}/actions/refund",
502
+ ...options
503
+ });
504
+ var getAuthorizedSubscriptionManagementUrl = (options) => (options.client ?? client).get({
505
+ security: [{ scheme: "bearer", type: "http" }],
506
+ url: "/projects/{project_id}/subscriptions/{subscription_id}/authenticated_management_url",
507
+ ...options
508
+ });
509
+ var listSubscriptions = (options) => (options.client ?? client).get({
510
+ security: [{ scheme: "bearer", type: "http" }],
511
+ url: "/projects/{project_id}/customers/{customer_id}/subscriptions",
512
+ ...options
513
+ });
514
+ var getPurchase = (options) => (options.client ?? client).get({
515
+ security: [{ scheme: "bearer", type: "http" }],
516
+ url: "/projects/{project_id}/purchases/{purchase_id}",
517
+ ...options
518
+ });
519
+ var listPurchaseEntitlements = (options) => (options.client ?? client).get({
520
+ security: [{ scheme: "bearer", type: "http" }],
521
+ url: "/projects/{project_id}/purchases/{purchase_id}/entitlements",
522
+ ...options
523
+ });
524
+ var refundPurchase = (options) => (options.client ?? client).post({
525
+ security: [{ scheme: "bearer", type: "http" }],
526
+ url: "/projects/{project_id}/purchases/{purchase_id}/actions/refund",
527
+ ...options
528
+ });
529
+ var listPurchases = (options) => (options.client ?? client).get({
530
+ security: [{ scheme: "bearer", type: "http" }],
531
+ url: "/projects/{project_id}/customers/{customer_id}/purchases",
532
+ ...options
533
+ });
534
+ var listCustomerActiveEntitlements = (options) => (options.client ?? client).get({
535
+ security: [{ scheme: "bearer", type: "http" }],
536
+ url: "/projects/{project_id}/customers/{customer_id}/active_entitlements",
537
+ ...options
538
+ });
539
+ var listCustomerAliases = (options) => (options.client ?? client).get({
540
+ security: [{ scheme: "bearer", type: "http" }],
541
+ url: "/projects/{project_id}/customers/{customer_id}/aliases",
542
+ ...options
543
+ });
544
+ var listVirtualCurrenciesBalances = (options) => (options.client ?? client).get({
545
+ security: [{ scheme: "bearer", type: "http" }],
546
+ url: "/projects/{project_id}/customers/{customer_id}/virtual_currencies",
547
+ ...options
548
+ });
549
+ var createVirtualCurrenciesTransaction = (options) => (options.client ?? client).post({
550
+ security: [{ scheme: "bearer", type: "http" }],
551
+ url: "/projects/{project_id}/customers/{customer_id}/virtual_currencies/transactions",
552
+ ...options,
553
+ headers: {
554
+ "Content-Type": "application/json",
555
+ ...options.headers
556
+ }
557
+ });
558
+ var updateVirtualCurrenciesBalance = (options) => (options.client ?? client).post({
559
+ security: [{ scheme: "bearer", type: "http" }],
560
+ url: "/projects/{project_id}/customers/{customer_id}/virtual_currencies/update_balance",
561
+ ...options,
562
+ headers: {
563
+ "Content-Type": "application/json",
564
+ ...options.headers
565
+ }
566
+ });
567
+ var listCustomerAttributes = (options) => (options.client ?? client).get({
568
+ security: [{ scheme: "bearer", type: "http" }],
569
+ url: "/projects/{project_id}/customers/{customer_id}/attributes",
570
+ ...options
571
+ });
572
+ var setCustomerAttributes = (options) => (options.client ?? client).post({
573
+ security: [{ scheme: "bearer", type: "http" }],
574
+ url: "/projects/{project_id}/customers/{customer_id}/attributes",
575
+ ...options,
576
+ headers: {
577
+ "Content-Type": "application/json",
578
+ ...options.headers
579
+ }
580
+ });
581
+ var listCustomerInvoices = (options) => (options.client ?? client).get({
582
+ security: [{ scheme: "bearer", type: "http" }],
583
+ url: "/projects/{project_id}/customers/{customer_id}/invoices",
584
+ ...options
585
+ });
586
+ var getInvoice = (options) => (options.client ?? client).get({
587
+ security: [{ scheme: "bearer", type: "http" }],
588
+ url: "/projects/{project_id}/customers/{customer_id}/invoices/{invoice_id}/file",
589
+ ...options
590
+ });
591
+ var getOverviewMetrics = (options) => (options.client ?? client).get({
592
+ responseTransformer: getOverviewMetricsResponseTransformer,
593
+ security: [{ scheme: "bearer", type: "http" }],
594
+ url: "/projects/{project_id}/metrics/overview",
595
+ ...options
596
+ });
597
+ var getChartData = (options) => (options.client ?? client).get({
598
+ querySerializer: { parameters: { aggregate: { array: { explode: false } } } },
599
+ security: [{ scheme: "bearer", type: "http" }],
600
+ url: "/projects/{project_id}/charts/{chart_name}",
601
+ ...options
602
+ });
603
+ var getChartOptions = (options) => (options.client ?? client).get({
604
+ security: [{ scheme: "bearer", type: "http" }],
605
+ url: "/projects/{project_id}/charts/{chart_name}/options",
606
+ ...options
607
+ });
608
+ var searchSubscriptions = (options) => (options.client ?? client).get({
609
+ security: [{ scheme: "bearer", type: "http" }],
610
+ url: "/projects/{project_id}/subscriptions",
611
+ ...options
612
+ });
613
+ var searchPurchases = (options) => (options.client ?? client).get({
614
+ security: [{ scheme: "bearer", type: "http" }],
615
+ url: "/projects/{project_id}/purchases",
616
+ ...options
617
+ });
618
+ var getProductStoreState = (options) => (options.client ?? client).get({
619
+ security: [{ scheme: "bearer", type: "http" }],
620
+ url: "/projects/{project_id}/products/{product_id}/store_state",
621
+ ...options
622
+ });
623
+ var setProductStoreState = (options) => (options.client ?? client).post({
624
+ security: [{ scheme: "bearer", type: "http" }],
625
+ url: "/projects/{project_id}/products/{product_id}/store_state",
626
+ ...options,
627
+ headers: {
628
+ "Content-Type": "application/json",
629
+ ...options.headers
630
+ }
631
+ });
632
+ var getProductStoreStateOperation = (options) => (options.client ?? client).get({
633
+ security: [{ scheme: "bearer", type: "http" }],
634
+ url: "/projects/{project_id}/products/{product_id}/store_state/{operation_id}",
635
+ ...options
636
+ });
637
+ var uploadProductStoreStateScreenshot = (options) => (options.client ?? client).post({
638
+ security: [{ scheme: "bearer", type: "http" }],
639
+ url: "/projects/{project_id}/products/{product_id}/store_state/screenshot_upload",
640
+ ...options,
641
+ headers: {
642
+ "Content-Type": "application/json",
643
+ ...options.headers
644
+ }
645
+ });
646
+
647
+ // revenuecat-sdk/types.gen.ts
648
+ var Country = {
649
+ NULL: null,
650
+ AF: "AF",
651
+ AL: "AL",
652
+ DZ: "DZ",
653
+ AS: "AS",
654
+ AD: "AD",
655
+ AO: "AO",
656
+ AI: "AI",
657
+ AQ: "AQ",
658
+ AG: "AG",
659
+ AR: "AR",
660
+ AM: "AM",
661
+ AW: "AW",
662
+ AU: "AU",
663
+ AT: "AT",
664
+ AZ: "AZ",
665
+ BS: "BS",
666
+ BH: "BH",
667
+ BD: "BD",
668
+ BB: "BB",
669
+ BY: "BY",
670
+ BE: "BE",
671
+ BZ: "BZ",
672
+ BJ: "BJ",
673
+ BM: "BM",
674
+ BT: "BT",
675
+ BO: "BO",
676
+ BQ: "BQ",
677
+ BA: "BA",
678
+ BW: "BW",
679
+ BV: "BV",
680
+ BR: "BR",
681
+ IO: "IO",
682
+ BN: "BN",
683
+ BG: "BG",
684
+ BF: "BF",
685
+ BI: "BI",
686
+ CV: "CV",
687
+ KH: "KH",
688
+ CM: "CM",
689
+ CA: "CA",
690
+ KY: "KY",
691
+ CF: "CF",
692
+ TD: "TD",
693
+ CL: "CL",
694
+ CN: "CN",
695
+ CX: "CX",
696
+ CC: "CC",
697
+ CO: "CO",
698
+ KM: "KM",
699
+ CD: "CD",
700
+ CG: "CG",
701
+ CK: "CK",
702
+ CR: "CR",
703
+ HR: "HR",
704
+ CU: "CU",
705
+ CW: "CW",
706
+ CY: "CY",
707
+ CZ: "CZ",
708
+ CI: "CI",
709
+ DK: "DK",
710
+ DJ: "DJ",
711
+ DM: "DM",
712
+ DO: "DO",
713
+ EC: "EC",
714
+ EG: "EG",
715
+ SV: "SV",
716
+ GQ: "GQ",
717
+ ER: "ER",
718
+ EE: "EE",
719
+ SZ: "SZ",
720
+ ET: "ET",
721
+ FK: "FK",
722
+ FO: "FO",
723
+ FJ: "FJ",
724
+ FI: "FI",
725
+ FR: "FR",
726
+ GF: "GF",
727
+ PF: "PF",
728
+ TF: "TF",
729
+ GA: "GA",
730
+ GM: "GM",
731
+ GE: "GE",
732
+ DE: "DE",
733
+ GH: "GH",
734
+ GI: "GI",
735
+ GR: "GR",
736
+ GL: "GL",
737
+ GD: "GD",
738
+ GP: "GP",
739
+ GU: "GU",
740
+ GT: "GT",
741
+ GG: "GG",
742
+ GN: "GN",
743
+ GW: "GW",
744
+ GY: "GY",
745
+ HT: "HT",
746
+ HM: "HM",
747
+ VA: "VA",
748
+ HN: "HN",
749
+ HK: "HK",
750
+ HU: "HU",
751
+ IS: "IS",
752
+ IN: "IN",
753
+ ID: "ID",
754
+ IR: "IR",
755
+ IQ: "IQ",
756
+ IE: "IE",
757
+ IM: "IM",
758
+ IL: "IL",
759
+ IT: "IT",
760
+ JM: "JM",
761
+ JP: "JP",
762
+ JE: "JE",
763
+ JO: "JO",
764
+ KZ: "KZ",
765
+ KE: "KE",
766
+ KI: "KI",
767
+ KP: "KP",
768
+ KR: "KR",
769
+ KW: "KW",
770
+ KG: "KG",
771
+ LA: "LA",
772
+ LV: "LV",
773
+ LB: "LB",
774
+ LS: "LS",
775
+ LR: "LR",
776
+ LY: "LY",
777
+ LI: "LI",
778
+ LT: "LT",
779
+ LU: "LU",
780
+ MO: "MO",
781
+ MG: "MG",
782
+ MW: "MW",
783
+ MY: "MY",
784
+ MV: "MV",
785
+ ML: "ML",
786
+ MT: "MT",
787
+ MH: "MH",
788
+ MQ: "MQ",
789
+ MR: "MR",
790
+ MU: "MU",
791
+ YT: "YT",
792
+ MX: "MX",
793
+ FM: "FM",
794
+ MD: "MD",
795
+ MC: "MC",
796
+ MN: "MN",
797
+ ME: "ME",
798
+ MS: "MS",
799
+ MA: "MA",
800
+ MZ: "MZ",
801
+ MM: "MM",
802
+ NA: "NA",
803
+ NR: "NR",
804
+ NP: "NP",
805
+ NL: "NL",
806
+ NC: "NC",
807
+ NZ: "NZ",
808
+ NI: "NI",
809
+ NE: "NE",
810
+ NG: "NG",
811
+ NU: "NU",
812
+ NF: "NF",
813
+ MP: "MP",
814
+ NO: "NO",
815
+ OM: "OM",
816
+ PK: "PK",
817
+ PW: "PW",
818
+ PS: "PS",
819
+ PA: "PA",
820
+ PG: "PG",
821
+ PY: "PY",
822
+ PE: "PE",
823
+ PH: "PH",
824
+ PN: "PN",
825
+ PL: "PL",
826
+ PT: "PT",
827
+ PR: "PR",
828
+ QA: "QA",
829
+ MK: "MK",
830
+ RO: "RO",
831
+ RU: "RU",
832
+ RW: "RW",
833
+ RE: "RE",
834
+ BL: "BL",
835
+ SH: "SH",
836
+ KN: "KN",
837
+ LC: "LC",
838
+ MF: "MF",
839
+ PM: "PM",
840
+ VC: "VC",
841
+ WS: "WS",
842
+ SM: "SM",
843
+ ST: "ST",
844
+ SA: "SA",
845
+ SN: "SN",
846
+ RS: "RS",
847
+ SC: "SC",
848
+ SL: "SL",
849
+ SG: "SG",
850
+ SX: "SX",
851
+ SK: "SK",
852
+ SI: "SI",
853
+ SB: "SB",
854
+ SO: "SO",
855
+ ZA: "ZA",
856
+ GS: "GS",
857
+ SS: "SS",
858
+ ES: "ES",
859
+ LK: "LK",
860
+ SD: "SD",
861
+ SR: "SR",
862
+ SJ: "SJ",
863
+ SE: "SE",
864
+ CH: "CH",
865
+ SY: "SY",
866
+ TW: "TW",
867
+ TJ: "TJ",
868
+ TZ: "TZ",
869
+ TH: "TH",
870
+ TL: "TL",
871
+ TG: "TG",
872
+ TK: "TK",
873
+ TO: "TO",
874
+ TT: "TT",
875
+ TN: "TN",
876
+ TR: "TR",
877
+ TM: "TM",
878
+ TC: "TC",
879
+ TV: "TV",
880
+ UG: "UG",
881
+ UA: "UA",
882
+ AE: "AE",
883
+ GB: "GB",
884
+ UM: "UM",
885
+ US: "US",
886
+ UY: "UY",
887
+ UZ: "UZ",
888
+ VU: "VU",
889
+ VE: "VE",
890
+ VN: "VN",
891
+ VG: "VG",
892
+ VI: "VI",
893
+ WF: "WF",
894
+ EH: "EH",
895
+ YE: "YE",
896
+ ZM: "ZM",
897
+ ZW: "ZW",
898
+ AX: "AX"
899
+ };
900
+ var Currency = {
901
+ AED: "AED",
902
+ AFN: "AFN",
903
+ ALL: "ALL",
904
+ AMD: "AMD",
905
+ ANG: "ANG",
906
+ AOA: "AOA",
907
+ ARS: "ARS",
908
+ AUD: "AUD",
909
+ AWG: "AWG",
910
+ AZN: "AZN",
911
+ BAM: "BAM",
912
+ BBD: "BBD",
913
+ BDT: "BDT",
914
+ BGN: "BGN",
915
+ BHD: "BHD",
916
+ BIF: "BIF",
917
+ BMD: "BMD",
918
+ BND: "BND",
919
+ BOB: "BOB",
920
+ BRL: "BRL",
921
+ BSD: "BSD",
922
+ BTC: "BTC",
923
+ BTN: "BTN",
924
+ BWP: "BWP",
925
+ BYN: "BYN",
926
+ BZD: "BZD",
927
+ CAD: "CAD",
928
+ CDF: "CDF",
929
+ CHF: "CHF",
930
+ CLF: "CLF",
931
+ CLP: "CLP",
932
+ CNH: "CNH",
933
+ CNY: "CNY",
934
+ COP: "COP",
935
+ CRC: "CRC",
936
+ CUC: "CUC",
937
+ CUP: "CUP",
938
+ CVE: "CVE",
939
+ CZK: "CZK",
940
+ DJF: "DJF",
941
+ DKK: "DKK",
942
+ DOP: "DOP",
943
+ DZD: "DZD",
944
+ EGP: "EGP",
945
+ ERN: "ERN",
946
+ ETB: "ETB",
947
+ EUR: "EUR",
948
+ FJD: "FJD",
949
+ FKP: "FKP",
950
+ GBP: "GBP",
951
+ GEL: "GEL",
952
+ GGP: "GGP",
953
+ GHS: "GHS",
954
+ GIP: "GIP",
955
+ GMD: "GMD",
956
+ GNF: "GNF",
957
+ GTQ: "GTQ",
958
+ GYD: "GYD",
959
+ HKD: "HKD",
960
+ HNL: "HNL",
961
+ HRK: "HRK",
962
+ HTG: "HTG",
963
+ HUF: "HUF",
964
+ IDR: "IDR",
965
+ ILS: "ILS",
966
+ IMP: "IMP",
967
+ INR: "INR",
968
+ IQD: "IQD",
969
+ IRR: "IRR",
970
+ ISK: "ISK",
971
+ JEP: "JEP",
972
+ JMD: "JMD",
973
+ JOD: "JOD",
974
+ JPY: "JPY",
975
+ KES: "KES",
976
+ KGS: "KGS",
977
+ KHR: "KHR",
978
+ KMF: "KMF",
979
+ KPW: "KPW",
980
+ KRW: "KRW",
981
+ KWD: "KWD",
982
+ KYD: "KYD",
983
+ KZT: "KZT",
984
+ LAK: "LAK",
985
+ LBP: "LBP",
986
+ LKR: "LKR",
987
+ LRD: "LRD",
988
+ LSL: "LSL",
989
+ LYD: "LYD",
990
+ MAD: "MAD",
991
+ MDL: "MDL",
992
+ MGA: "MGA",
993
+ MKD: "MKD",
994
+ MMK: "MMK",
995
+ MNT: "MNT",
996
+ MOP: "MOP",
997
+ MRU: "MRU",
998
+ MUR: "MUR",
999
+ MVR: "MVR",
1000
+ MWK: "MWK",
1001
+ MXN: "MXN",
1002
+ MYR: "MYR",
1003
+ MZN: "MZN",
1004
+ NAD: "NAD",
1005
+ NGN: "NGN",
1006
+ NIO: "NIO",
1007
+ NOK: "NOK",
1008
+ NPR: "NPR",
1009
+ NZD: "NZD",
1010
+ OMR: "OMR",
1011
+ PAB: "PAB",
1012
+ PEN: "PEN",
1013
+ PGK: "PGK",
1014
+ PHP: "PHP",
1015
+ PKR: "PKR",
1016
+ PLN: "PLN",
1017
+ PYG: "PYG",
1018
+ QAR: "QAR",
1019
+ RON: "RON",
1020
+ RSD: "RSD",
1021
+ RUB: "RUB",
1022
+ RWF: "RWF",
1023
+ SAR: "SAR",
1024
+ SBD: "SBD",
1025
+ SCR: "SCR",
1026
+ SDG: "SDG",
1027
+ SEK: "SEK",
1028
+ SGD: "SGD",
1029
+ SHP: "SHP",
1030
+ SLL: "SLL",
1031
+ SOS: "SOS",
1032
+ SRD: "SRD",
1033
+ SSP: "SSP",
1034
+ STD: "STD",
1035
+ STN: "STN",
1036
+ SVC: "SVC",
1037
+ SYP: "SYP",
1038
+ SZL: "SZL",
1039
+ THB: "THB",
1040
+ TJS: "TJS",
1041
+ TMT: "TMT",
1042
+ TND: "TND",
1043
+ TOP: "TOP",
1044
+ TRY: "TRY",
1045
+ TTD: "TTD",
1046
+ TWD: "TWD",
1047
+ TZS: "TZS",
1048
+ UAH: "UAH",
1049
+ UGX: "UGX",
1050
+ USD: "USD",
1051
+ UYU: "UYU",
1052
+ UZS: "UZS",
1053
+ VEF: "VEF",
1054
+ VES: "VES",
1055
+ VND: "VND",
1056
+ VUV: "VUV",
1057
+ WST: "WST",
1058
+ XAF: "XAF",
1059
+ XAG: "XAG",
1060
+ XAU: "XAU",
1061
+ XCD: "XCD",
1062
+ XDR: "XDR",
1063
+ XOF: "XOF",
1064
+ XPD: "XPD",
1065
+ XPF: "XPF",
1066
+ XPT: "XPT",
1067
+ YER: "YER",
1068
+ ZAR: "ZAR",
1069
+ ZMW: "ZMW",
1070
+ ZWL: "ZWL"
1071
+ };
1072
+ var CustomerAttributeReservedName = {
1073
+ $AD: "$ad",
1074
+ $AD_GROUP: "$adGroup",
1075
+ $ADJUST_ID: "$adjustId",
1076
+ $AIRBRIDGE_DEVICE_ID: "$airbridgeDeviceId",
1077
+ $AIRSHIP_CHANNEL_ID: "$airshipChannelId",
1078
+ $AMAZON_AD_ID: "$amazonAdId",
1079
+ $AMPLITUDE_DEVICE_ID: "$amplitudeDeviceId",
1080
+ $AMPLITUDE_USER_ID: "$amplitudeUserId",
1081
+ $APPLE_REFUND_HANDLING_PREFERENCE: "$appleRefundHandlingPreference",
1082
+ $APPLE_ADS_AD_GROUP_ID: "$appleAdsAdGroupId",
1083
+ $APPLE_ADS_CAMPAIGN_ID: "$appleAdsCampaignId",
1084
+ $APPLE_ADS_KEYWORD_ID: "$appleAdsKeywordId",
1085
+ $APNS_TOKENS: "$apnsTokens",
1086
+ $APPSFLYER_ID: "$appsflyerId",
1087
+ $APPSFLYER_SHARING_FILTER: "$appsflyerSharingFilter",
1088
+ $ATT_CONSENT_STATUS: "$attConsentStatus",
1089
+ $BRANCH_ID: "$branchId",
1090
+ $BRAZE_ALIAS_LABEL: "$brazeAliasLabel",
1091
+ $BRAZE_ALIAS_NAME: "$brazeAliasName",
1092
+ $CAMPAIGN: "$campaign",
1093
+ $CLEVERTAP_ID: "$clevertapId",
1094
+ $CREATIVE: "$creative",
1095
+ $CUSTOMERIO_ID: "$customerioId",
1096
+ $DISPLAY_NAME: "$displayName",
1097
+ $EMAIL: "$email",
1098
+ $FB_ANON_ID: "$fbAnonId",
1099
+ $FCM_TOKENS: "$fcmTokens",
1100
+ $FIREBASE_APP_INSTANCE_ID: "$firebaseAppInstanceId",
1101
+ $GPS_AD_ID: "$gpsAdId",
1102
+ $IDFA: "$idfa",
1103
+ $IDFV: "$idfv",
1104
+ $IP: "$ip",
1105
+ $ITERABLE_CAMPAIGN_ID: "$iterableCampaignId",
1106
+ $ITERABLE_TEMPLATE_ID: "$iterableTemplateId",
1107
+ $ITERABLE_USER_ID: "$iterableUserId",
1108
+ $KEYWORD: "$keyword",
1109
+ $KOCHAVA_DEVICE_ID: "$kochavaDeviceId",
1110
+ $MEDIA_SOURCE: "$mediaSource",
1111
+ $MIXPANEL_DISTINCT_ID: "$mixpanelDistinctId",
1112
+ $MPARTICLE_ID: "$mparticleId",
1113
+ $ONESIGNAL_ID: "$onesignalId",
1114
+ $ONESIGNAL_USER_ID: "$onesignalUserId",
1115
+ $PHONE_NUMBER: "$phoneNumber",
1116
+ $POSTHOG_USER_ID: "$posthogUserId",
1117
+ $TELEMETRY_DECK_USER_ID: "$telemetryDeckUserId",
1118
+ $TELEMETRY_DECK_APP_ID: "$telemetryDeckAppId",
1119
+ TELEMETRY_DECK_USER_ID: "telemetry_deck_user_id",
1120
+ TELEMETRY_DECK_APP_ID: "telemetry_deck_app_id",
1121
+ $SEGMENT_ID: "$segmentId",
1122
+ $SOLAR_ENGINE_DISTINCT_ID: "$solarEngineDistinctId",
1123
+ $SOLAR_ENGINE_ACCOUNT_ID: "$solarEngineAccountId",
1124
+ $SOLAR_ENGINE_VISITOR_ID: "$solarEngineVisitorId",
1125
+ $TENJIN_ID: "$tenjinId",
1126
+ $DEVICE_VERSION: "$deviceVersion"
1127
+ };
1128
+ var Duration = {
1129
+ P1W: "P1W",
1130
+ P1M: "P1M",
1131
+ P2M: "P2M",
1132
+ P3M: "P3M",
1133
+ P6M: "P6M",
1134
+ P1Y: "P1Y"
1135
+ };
1136
+ var EligibilityCriteria = {
1137
+ ALL: "all",
1138
+ GOOGLE_SDK_LT_6: "google_sdk_lt_6",
1139
+ GOOGLE_SDK_GE_6: "google_sdk_ge_6"
1140
+ };
1141
+ var Environment = { PRODUCTION: "production", SANDBOX: "sandbox" };
1142
+ var Ownership = { PURCHASED: "purchased", FAMILY_SHARED: "family_shared" };
1143
+ var ProductType = {
1144
+ SUBSCRIPTION: "subscription",
1145
+ ONE_TIME: "one_time",
1146
+ CONSUMABLE: "consumable",
1147
+ NON_CONSUMABLE: "non_consumable",
1148
+ NON_RENEWING_SUBSCRIPTION: "non_renewing_subscription"
1149
+ };
1150
+ var RcBillingCurrency = {
1151
+ USD: "USD",
1152
+ EUR: "EUR",
1153
+ JPY: "JPY",
1154
+ GBP: "GBP",
1155
+ AUD: "AUD",
1156
+ CAD: "CAD",
1157
+ BRL: "BRL",
1158
+ KRW: "KRW",
1159
+ CNY: "CNY",
1160
+ MXN: "MXN",
1161
+ SEK: "SEK",
1162
+ PLN: "PLN",
1163
+ MYR: "MYR",
1164
+ PHP: "PHP",
1165
+ CHF: "CHF",
1166
+ SAR: "SAR",
1167
+ TWD: "TWD",
1168
+ NOK: "NOK",
1169
+ DKK: "DKK",
1170
+ THB: "THB",
1171
+ NZD: "NZD",
1172
+ SGD: "SGD",
1173
+ HKD: "HKD",
1174
+ CZK: "CZK",
1175
+ AED: "AED",
1176
+ CLP: "CLP",
1177
+ COP: "COP",
1178
+ CRC: "CRC",
1179
+ GEL: "GEL",
1180
+ HUF: "HUF",
1181
+ IDR: "IDR",
1182
+ ILS: "ILS",
1183
+ IQD: "IQD",
1184
+ JOD: "JOD",
1185
+ KES: "KES",
1186
+ KZT: "KZT",
1187
+ MAD: "MAD",
1188
+ PEN: "PEN",
1189
+ QAR: "QAR",
1190
+ RON: "RON",
1191
+ RSD: "RSD",
1192
+ TZS: "TZS",
1193
+ VND: "VND",
1194
+ ZAR: "ZAR",
1195
+ TRY: "TRY",
1196
+ UAH: "UAH"
1197
+ };
1198
+ var WebhookEventType = {
1199
+ INITIAL_PURCHASE: "initial_purchase",
1200
+ RENEWAL: "renewal",
1201
+ PRODUCT_CHANGE: "product_change",
1202
+ CANCELLATION: "cancellation",
1203
+ BILLING_ISSUE: "billing_issue",
1204
+ NON_RENEWING_PURCHASE: "non_renewing_purchase",
1205
+ UNCANCELLATION: "uncancellation",
1206
+ TRANSFER: "transfer",
1207
+ SUBSCRIPTION_PAUSED: "subscription_paused",
1208
+ EXPIRATION: "expiration",
1209
+ SUBSCRIPTION_EXTENDED: "subscription_extended",
1210
+ INVOICE_ISSUANCE: "invoice_issuance",
1211
+ TEMPORARY_ENTITLEMENT_GRANT: "temporary_entitlement_grant",
1212
+ REFUND_REVERSED: "refund_reversed",
1213
+ VIRTUAL_CURRENCY_TRANSACTION: "virtual_currency_transaction"
1214
+ };
1215
+ export {
1216
+ Country,
1217
+ Currency,
1218
+ CustomerAttributeReservedName,
1219
+ Duration,
1220
+ EligibilityCriteria,
1221
+ Environment,
1222
+ Ownership,
1223
+ ProductType,
1224
+ RcBillingCurrency,
1225
+ WebhookEventType,
1226
+ archiveEntitlement,
1227
+ archiveOffering,
1228
+ archiveProduct,
1229
+ archiveVirtualCurrency,
1230
+ assignCustomerOffering,
1231
+ attachProductsToEntitlement,
1232
+ attachProductsToPackage,
1233
+ cancelSubscription,
1234
+ createApp,
1235
+ createCustomer,
1236
+ createEntitlement,
1237
+ createOffering,
1238
+ createPackages,
1239
+ createPaywall,
1240
+ createProduct,
1241
+ createProductInStore,
1242
+ createProject,
1243
+ createVirtualCurrenciesTransaction,
1244
+ createVirtualCurrency,
1245
+ createWebhookIntegration,
1246
+ deleteApp,
1247
+ deleteCustomer,
1248
+ deleteEntitlement,
1249
+ deleteOffering,
1250
+ deletePackageFromOffering,
1251
+ deletePaywall,
1252
+ deleteProduct,
1253
+ deleteVirtualCurrency,
1254
+ deleteWebhookIntegration,
1255
+ detachProductsFromEntitlement,
1256
+ detachProductsFromPackage,
1257
+ getApp,
1258
+ getAppStorekitConfig,
1259
+ getAuthorizedSubscriptionManagementUrl,
1260
+ getChartData,
1261
+ getChartOptions,
1262
+ getCustomer,
1263
+ getEntitlement,
1264
+ getInvoice,
1265
+ getOffering,
1266
+ getOverviewMetrics,
1267
+ getPackage,
1268
+ getPaywall,
1269
+ getPlayStoreOrAppStoreSubscriptionTransactions,
1270
+ getProduct,
1271
+ getProductStoreState,
1272
+ getProductStoreStateOperation,
1273
+ getProductsFromEntitlement,
1274
+ getProductsFromPackage,
1275
+ getPurchase,
1276
+ getSubscription,
1277
+ getVirtualCurrency,
1278
+ getWebhookIntegration,
1279
+ grantCustomerEntitlement,
1280
+ listAppPublicApiKeys,
1281
+ listApps,
1282
+ listAuditLogs,
1283
+ listCollaborators,
1284
+ listCustomerActiveEntitlements,
1285
+ listCustomerAliases,
1286
+ listCustomerAttributes,
1287
+ listCustomerInvoices,
1288
+ listCustomers,
1289
+ listEntitlements,
1290
+ listOfferings,
1291
+ listPackages,
1292
+ listPaywalls,
1293
+ listProducts,
1294
+ listProjects,
1295
+ listPurchaseEntitlements,
1296
+ listPurchases,
1297
+ listSubscriptionEntitlements,
1298
+ listSubscriptions,
1299
+ listVirtualCurrencies,
1300
+ listVirtualCurrenciesBalances,
1301
+ listWebhookIntegrations,
1302
+ refundPlayStoreSubscriptionTransaction,
1303
+ refundPurchase,
1304
+ refundSubscription,
1305
+ revokeCustomerGrantedEntitlement,
1306
+ searchPurchases,
1307
+ searchSubscriptions,
1308
+ setCustomerAttributes,
1309
+ setProductStoreState,
1310
+ transferCustomerData,
1311
+ unarchiveEntitlement,
1312
+ unarchiveOffering,
1313
+ unarchiveProduct,
1314
+ unarchiveVirtualCurrency,
1315
+ updateApp,
1316
+ updateEntitlement,
1317
+ updateOffering,
1318
+ updatePackage,
1319
+ updateProduct,
1320
+ updateVirtualCurrenciesBalance,
1321
+ updateVirtualCurrency,
1322
+ updateWebhookIntegration,
1323
+ uploadProductStoreStateScreenshot
1324
+ };