@openmeter/sdk 1.0.0-beta.23 → 1.0.0-beta.231
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/README.md +234 -146
- package/dist/cjs/index.cjs +18 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/cjs/index.d.cts +1 -0
- package/dist/cjs/src/client/addons.cjs +105 -0
- package/dist/cjs/src/client/addons.cjs.map +1 -0
- package/dist/cjs/src/client/addons.d.cts +152 -0
- package/dist/cjs/src/client/apps.cjs +247 -0
- package/dist/cjs/src/client/apps.cjs.map +1 -0
- package/dist/cjs/src/client/apps.d.cts +327 -0
- package/dist/cjs/src/client/billing.cjs +375 -0
- package/dist/cjs/src/client/billing.cjs.map +1 -0
- package/dist/cjs/src/client/billing.d.cts +563 -0
- package/dist/cjs/src/client/common.cjs +47 -0
- package/dist/cjs/src/client/common.cjs.map +1 -0
- package/dist/cjs/src/client/common.d.cts +30 -0
- package/dist/cjs/src/client/customers.cjs +469 -0
- package/dist/cjs/src/client/customers.cjs.map +1 -0
- package/dist/cjs/src/client/customers.d.cts +620 -0
- package/dist/cjs/src/client/debug.cjs +27 -0
- package/dist/cjs/src/client/debug.cjs.map +1 -0
- package/dist/cjs/src/client/debug.d.cts +17 -0
- package/dist/cjs/src/client/entitlements.cjs +372 -0
- package/dist/cjs/src/client/entitlements.cjs.map +1 -0
- package/dist/cjs/src/client/entitlements.d.cts +670 -0
- package/dist/cjs/src/client/events.cjs +113 -0
- package/dist/cjs/src/client/events.cjs.map +1 -0
- package/dist/cjs/src/client/events.d.cts +48 -0
- package/dist/cjs/src/client/features.cjs +78 -0
- package/dist/cjs/src/client/features.cjs.map +1 -0
- package/dist/cjs/src/client/features.d.cts +90 -0
- package/dist/cjs/src/client/index.cjs +122 -0
- package/dist/cjs/src/client/index.cjs.map +1 -0
- package/dist/cjs/src/client/index.d.cts +54 -0
- package/dist/cjs/src/client/info.cjs +42 -0
- package/dist/cjs/src/client/info.cjs.map +1 -0
- package/dist/cjs/src/client/info.d.cts +34 -0
- package/dist/cjs/src/client/meters.cjs +160 -0
- package/dist/cjs/src/client/meters.cjs.map +1 -0
- package/dist/cjs/src/client/meters.d.cts +220 -0
- package/dist/cjs/src/client/notifications.cjs +269 -0
- package/dist/cjs/src/client/notifications.cjs.map +1 -0
- package/dist/cjs/src/client/notifications.d.cts +412 -0
- package/dist/cjs/src/client/plans.cjs +204 -0
- package/dist/cjs/src/client/plans.cjs.map +1 -0
- package/dist/cjs/src/client/plans.d.cts +252 -0
- package/dist/cjs/src/client/portal.cjs +55 -0
- package/dist/cjs/src/client/portal.cjs.map +1 -0
- package/dist/cjs/src/client/portal.d.cts +48 -0
- package/dist/cjs/src/client/schemas.cjs +3 -0
- package/dist/cjs/src/client/schemas.cjs.map +1 -0
- package/dist/cjs/src/client/schemas.d.cts +28002 -0
- package/dist/cjs/src/client/subjects.cjs +76 -0
- package/dist/cjs/src/client/subjects.cjs.map +1 -0
- package/dist/cjs/src/client/subjects.d.cts +79 -0
- package/dist/cjs/src/client/subscription-addons.cjs +70 -0
- package/dist/cjs/src/client/subscription-addons.cjs.map +1 -0
- package/dist/cjs/src/client/subscription-addons.d.cts +123 -0
- package/dist/cjs/src/client/subscriptions.cjs +132 -0
- package/dist/cjs/src/client/subscriptions.cjs.map +1 -0
- package/dist/cjs/src/client/subscriptions.d.cts +180 -0
- package/dist/cjs/src/client/utils.cjs +67 -0
- package/dist/cjs/src/client/utils.cjs.map +1 -0
- package/dist/cjs/src/client/utils.d.cts +12 -0
- package/dist/cjs/src/portal/index.cjs +89 -0
- package/dist/cjs/src/portal/index.cjs.map +1 -0
- package/dist/cjs/src/portal/index.d.cts +43 -0
- package/dist/cjs/src/react/context.cjs +35 -0
- package/dist/cjs/src/react/context.cjs.map +1 -0
- package/dist/cjs/src/react/context.d.cts +9 -0
- package/dist/cjs/src/zod/index.cjs +13679 -0
- package/dist/cjs/src/zod/index.cjs.map +1 -0
- package/dist/cjs/src/zod/index.d.cts +6360 -0
- package/dist/index.d.ts +1 -14
- package/dist/index.js +2 -15
- package/dist/index.js.map +1 -0
- package/dist/src/client/addons.d.ts +152 -0
- package/dist/src/client/addons.js +101 -0
- package/dist/src/client/addons.js.map +1 -0
- package/dist/src/client/apps.d.ts +327 -0
- package/dist/src/client/apps.js +240 -0
- package/dist/src/client/apps.js.map +1 -0
- package/dist/src/client/billing.d.ts +563 -0
- package/dist/src/client/billing.js +368 -0
- package/dist/src/client/billing.js.map +1 -0
- package/dist/src/client/common.d.ts +30 -0
- package/dist/src/client/common.js +42 -0
- package/dist/src/client/common.js.map +1 -0
- package/dist/src/client/customers.d.ts +620 -0
- package/dist/src/client/customers.js +461 -0
- package/dist/src/client/customers.js.map +1 -0
- package/dist/src/client/debug.d.ts +17 -0
- package/dist/src/client/debug.js +23 -0
- package/dist/src/client/debug.js.map +1 -0
- package/dist/src/client/entitlements.d.ts +670 -0
- package/dist/src/client/entitlements.js +365 -0
- package/dist/src/client/entitlements.js.map +1 -0
- package/dist/src/client/events.d.ts +48 -0
- package/dist/src/client/events.js +108 -0
- package/dist/src/client/events.js.map +1 -0
- package/dist/src/client/features.d.ts +90 -0
- package/dist/src/client/features.js +74 -0
- package/dist/src/client/features.js.map +1 -0
- package/dist/src/client/index.d.ts +54 -0
- package/dist/src/client/index.js +82 -0
- package/dist/src/client/index.js.map +1 -0
- package/dist/src/client/info.d.ts +34 -0
- package/dist/src/client/info.js +38 -0
- package/dist/src/client/info.js.map +1 -0
- package/dist/src/client/meters.d.ts +220 -0
- package/dist/src/client/meters.js +156 -0
- package/dist/src/client/meters.js.map +1 -0
- package/dist/src/client/notifications.d.ts +412 -0
- package/dist/src/client/notifications.js +262 -0
- package/dist/src/client/notifications.js.map +1 -0
- package/dist/src/client/plans.d.ts +252 -0
- package/dist/src/client/plans.js +199 -0
- package/dist/src/client/plans.js.map +1 -0
- package/dist/src/client/portal.d.ts +48 -0
- package/dist/src/client/portal.js +51 -0
- package/dist/src/client/portal.js.map +1 -0
- package/dist/src/client/schemas.d.ts +28002 -0
- package/dist/src/client/schemas.js +2 -0
- package/dist/src/client/schemas.js.map +1 -0
- package/dist/src/client/subjects.d.ts +79 -0
- package/dist/src/client/subjects.js +72 -0
- package/dist/src/client/subjects.js.map +1 -0
- package/dist/src/client/subscription-addons.d.ts +123 -0
- package/dist/src/client/subscription-addons.js +66 -0
- package/dist/src/client/subscription-addons.js.map +1 -0
- package/dist/src/client/subscriptions.d.ts +180 -0
- package/dist/src/client/subscriptions.js +128 -0
- package/dist/src/client/subscriptions.js.map +1 -0
- package/dist/src/client/utils.d.ts +12 -0
- package/dist/src/client/utils.js +61 -0
- package/dist/src/client/utils.js.map +1 -0
- package/dist/src/portal/index.d.ts +43 -0
- package/dist/src/portal/index.js +52 -0
- package/dist/src/portal/index.js.map +1 -0
- package/dist/src/react/context.d.ts +9 -0
- package/dist/src/react/context.js +16 -0
- package/dist/src/react/context.js.map +1 -0
- package/dist/src/zod/index.d.ts +6360 -0
- package/dist/src/zod/index.js +13615 -0
- package/dist/src/zod/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +82 -40
- package/dist/clients/client.d.ts +0 -40
- package/dist/clients/client.js +0 -104
- package/dist/clients/event.d.ts +0 -79
- package/dist/clients/event.js +0 -53
- package/dist/clients/meter.d.ts +0 -71
- package/dist/clients/meter.js +0 -64
- package/dist/clients/portal.d.ts +0 -23
- package/dist/clients/portal.js +0 -37
- package/dist/next.d.ts +0 -15
- package/dist/next.js +0 -46
- package/dist/schemas/openapi.d.ts +0 -460
- package/dist/schemas/openapi.js +0 -5
- package/dist/test/agent.d.ts +0 -2
- package/dist/test/agent.js +0 -178
- package/dist/test/mocks.d.ts +0 -12
- package/dist/test/mocks.js +0 -32
- package/index.ts +0 -22
- package/next.ts +0 -76
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Subjects = void 0;
|
|
4
|
+
const utils_js_1 = require("./utils.cjs");
|
|
5
|
+
/**
|
|
6
|
+
* Subjects
|
|
7
|
+
* @description Subjects are entities that consume resources you wish to meter. These can range from users, servers, and services to devices. The design of subjects is intentionally generic, enabling flexible application across various metering scenarios. Meters are aggregating events for each subject..
|
|
8
|
+
*/
|
|
9
|
+
class Subjects {
|
|
10
|
+
client;
|
|
11
|
+
constructor(client) {
|
|
12
|
+
this.client = client;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Upsert one or multiple subjects
|
|
16
|
+
* If the subject does not exist, it will be created, otherwise it will be updated.
|
|
17
|
+
*
|
|
18
|
+
* @param subjects - The subjects to upsert
|
|
19
|
+
* @param signal - An optional abort signal
|
|
20
|
+
* @returns The upserted subjects
|
|
21
|
+
*/
|
|
22
|
+
async upsert(subjects, options) {
|
|
23
|
+
const resp = await this.client.POST('/api/v1/subjects', {
|
|
24
|
+
body: Array.isArray(subjects) ? subjects : [subjects],
|
|
25
|
+
...options,
|
|
26
|
+
});
|
|
27
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Get a subject by ID or key
|
|
31
|
+
* @param idOrKey - The ID or key of the subject
|
|
32
|
+
* @param signal - An optional abort signal
|
|
33
|
+
* @returns The subject
|
|
34
|
+
*/
|
|
35
|
+
async get(idOrKey, options) {
|
|
36
|
+
const resp = await this.client.GET('/api/v1/subjects/{subjectIdOrKey}', {
|
|
37
|
+
params: {
|
|
38
|
+
path: {
|
|
39
|
+
subjectIdOrKey: idOrKey,
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
...options,
|
|
43
|
+
});
|
|
44
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* List subjects
|
|
48
|
+
* @param signal - An optional abort signal
|
|
49
|
+
* @returns The subjects
|
|
50
|
+
*/
|
|
51
|
+
async list(options) {
|
|
52
|
+
const resp = await this.client.GET('/api/v1/subjects', {
|
|
53
|
+
...options,
|
|
54
|
+
});
|
|
55
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Delete a subject by ID or key
|
|
59
|
+
* @param idOrKey - The ID or key of the subject
|
|
60
|
+
* @param signal - An optional abort signal
|
|
61
|
+
* @returns The deleted subject
|
|
62
|
+
*/
|
|
63
|
+
async delete(idOrKey, options) {
|
|
64
|
+
const resp = await this.client.DELETE('/api/v1/subjects/{subjectIdOrKey}', {
|
|
65
|
+
params: {
|
|
66
|
+
path: {
|
|
67
|
+
subjectIdOrKey: idOrKey,
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
...options,
|
|
71
|
+
});
|
|
72
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.Subjects = Subjects;
|
|
76
|
+
//# sourceMappingURL=subjects.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subjects.cjs","names":[],"sources":["../../../../src/client/subjects.ts"],"sourcesContent":[null],"mappings":[[],[],[],[[0,0,3,0],[1,0,3,0],[2,0,3,0],[3,0,3,0],[4,0,3,0],[5,0,3,0],[6,0,3,0],[7,0,3,0],[8,0,3,0],[9,0,3,0],[10,0,3,0],[11,0,3,0],[12,0,3,0],[13,0,3,0],[14,0,3,0],[15,0,3,0],[16,0,3,0],[17,0,3,0],[18,0,3,0],[19,0,3,0],[20,0,3,0],[21,0,3,0],[22,0,3,0],[23,0,3,0],[24,0,3,0],[25,0,3,0],[26,0,3,0],[27,0,3,0],[28,0,3,0],[39,0,3,0],[40,0,3,0],[41,0,3,0]],[[0,0,5,0],[1,0,5,0],[2,0,5,0]],[],[],[],[[0,0,9,0],[1,0,9,0],[2,0,9,0],[3,0,9,0],[4,0,9,0],[5,0,9,0],[6,0,9,13],[7,0,9,13],[8,0,9,13],[9,0,9,13],[10,0,9,13],[11,0,9,13],[12,0,9,13],[13,0,9,13],[14,0,9,21],[15,0,9,21]],[[4,0,10,22],[5,0,10,22],[6,0,10,22],[7,0,10,22],[8,0,10,22],[9,0,10,22],[10,0,10,22]],[[4,0,10,2],[5,0,10,2],[6,0,10,2],[7,0,10,2],[8,0,10,2],[9,0,10,2],[10,0,10,2],[11,0,10,2],[12,0,10,2],[13,0,10,2],[14,0,10,2],[15,0,10,2],[16,0,10,22],[17,0,10,22],[18,0,10,22],[19,0,10,22],[20,0,10,22],[21,0,10,22],[22,0,10,66],[23,0,10,66],[24,0,10,66]],[[8,0,10,22],[9,0,10,22],[10,0,10,22],[11,0,10,22],[12,0,10,22],[13,0,10,22],[14,0,10,22],[15,0,10,22],[16,0,10,22],[17,0,10,22],[18,0,10,22],[19,0,10,28],[20,0,10,28],[21,0,10,28],[22,0,10,22],[23,0,10,22],[24,0,10,22],[25,0,10,22],[26,0,10,22],[27,0,10,22],[28,0,10,28]],[[4,0,10,69]],[[4,0,12,2],[5,0,12,2],[6,0,12,2]],[],[],[],[],[],[],[],[[4,0,20,9],[5,0,20,9],[6,0,20,9],[7,0,20,9],[8,0,20,9],[9,0,20,14],[10,0,20,15],[11,0,20,15],[12,0,20,15],[13,0,20,15],[14,0,20,15],[15,0,20,15],[16,0,20,21],[17,0,21,4],[18,0,21,4],[19,0,21,4],[20,0,21,4],[21,0,21,4],[22,0,21,4],[23,0,21,4],[24,0,21,4],[25,0,21,45],[26,0,21,45],[27,0,22,4],[28,0,22,4],[29,0,22,4],[30,0,22,4],[31,0,22,4],[32,0,22,4],[33,0,22,4],[34,0,22,28],[35,0,22,28],[36,0,22,28]],[[8,0,24,4],[9,0,24,4],[10,0,24,4],[11,0,24,4],[12,0,24,4],[13,0,24,4],[14,0,24,10],[15,0,24,10],[16,0,24,10],[17,0,24,10],[18,0,24,14],[19,0,24,14],[20,0,24,14],[21,0,24,17],[22,0,24,17],[23,0,24,17],[24,0,24,17],[25,0,24,17],[26,0,24,17],[27,0,24,23],[28,0,24,23],[29,0,24,23],[30,0,24,23],[31,0,24,27],[32,0,24,28],[33,0,24,28],[34,0,24,28],[35,0,24,28],[36,0,24,28],[37,0,24,28],[38,0,24,34],[39,0,24,35],[40,0,24,35],[41,0,24,35],[42,0,24,35],[43,0,24,39],[44,0,24,40],[45,0,24,40],[46,0,24,40],[47,0,24,40],[48,0,24,40],[49,0,24,40],[50,0,24,40],[51,0,24,40],[52,0,24,40],[53,0,24,40],[54,0,24,40],[55,0,24,40],[56,0,24,40],[57,0,24,40],[58,0,24,40],[59,0,24,40],[60,0,24,40],[61,0,24,40],[62,0,24,58],[63,0,24,58],[64,0,24,60]],[[12,0,25,6],[13,0,25,6],[14,0,25,6],[15,0,25,6],[16,0,25,10],[17,0,25,10],[18,0,25,12],[19,0,25,12],[20,0,25,12],[21,0,25,12],[22,0,25,12],[23,0,25,17],[24,0,25,18],[25,0,25,18],[26,0,25,18],[27,0,25,18],[28,0,25,18],[29,0,25,18],[30,0,25,18],[31,0,25,25],[32,0,25,26],[33,0,25,26],[34,0,25,26],[35,0,25,26],[36,0,25,26],[37,0,25,26],[38,0,25,26],[39,0,25,26],[40,0,25,34],[41,0,25,35],[42,0,25,36],[43,0,25,37],[44,0,25,38],[45,0,25,38],[46,0,25,38],[47,0,25,38],[48,0,25,38],[49,0,25,38],[50,0,25,38],[51,0,25,38],[52,0,25,46],[53,0,25,47],[54,0,25,48],[55,0,25,49],[56,0,25,50],[57,0,25,50],[58,0,25,50],[59,0,25,50],[60,0,25,50],[61,0,25,50],[62,0,25,50],[63,0,25,50],[64,0,25,58],[65,0,25,59]],[[12,0,26,6],[13,0,26,6],[14,0,26,6],[15,0,26,9],[16,0,26,9],[17,0,26,9],[18,0,26,9],[19,0,26,9],[20,0,26,9],[21,0,26,9],[22,0,26,16]],[[9,0,27,5],[10,0,27,6]],[[8,0,29,4],[9,0,29,4],[10,0,29,4],[11,0,29,4],[12,0,29,4],[13,0,29,4],[14,0,29,4],[15,0,29,11],[16,0,29,11],[17,0,29,11],[18,0,29,11],[19,0,29,11],[20,0,29,11],[21,0,29,11],[22,0,29,11],[23,0,29,11],[24,0,29,11],[25,0,29,11],[26,0,29,11],[27,0,29,11],[28,0,29,11],[29,0,29,11],[30,0,29,11],[31,0,29,11],[32,0,29,11],[33,0,29,11],[34,0,29,11],[35,0,29,11],[36,0,29,11],[37,0,29,11],[38,0,29,11],[39,0,29,11],[40,0,29,11],[41,0,29,11],[42,0,29,11],[43,0,29,11],[44,0,29,11],[45,0,29,11],[46,0,29,11],[47,0,29,28],[48,0,29,28],[49,0,29,29],[50,0,29,29],[51,0,29,29],[52,0,29,29],[53,0,29,33],[54,0,29,34]],[[4,0,30,2]],[[4,0,32,2],[5,0,32,2],[6,0,32,2]],[],[],[],[],[],[[4,0,38,9],[5,0,38,9],[6,0,38,9],[7,0,38,9],[8,0,38,9],[9,0,38,14],[10,0,38,15],[11,0,38,15],[12,0,38,15],[13,0,38,18],[14,0,39,4],[15,0,39,4],[16,0,39,4],[17,0,39,4],[18,0,39,4],[19,0,39,4],[20,0,39,4],[21,0,39,77],[22,0,39,77],[23,0,40,4],[24,0,40,4],[25,0,40,4],[26,0,40,4],[27,0,40,4],[28,0,40,4],[29,0,40,4],[30,0,40,28],[31,0,40,28],[32,0,40,28]],[[8,0,42,4],[9,0,42,4],[10,0,42,4],[11,0,42,4],[12,0,42,4],[13,0,42,4],[14,0,42,10],[15,0,42,10],[16,0,42,10],[17,0,42,10],[18,0,42,14],[19,0,42,14],[20,0,42,14],[21,0,42,17],[22,0,42,17],[23,0,42,17],[24,0,42,17],[25,0,42,17],[26,0,42,17],[27,0,42,23],[28,0,42,23],[29,0,42,23],[30,0,42,23],[31,0,42,27],[32,0,42,28],[33,0,42,28],[34,0,42,28],[35,0,42,28],[36,0,42,28],[37,0,42,28],[38,0,42,34],[39,0,42,35],[40,0,42,35],[41,0,42,35],[42,0,42,38],[43,0,42,39],[44,0,42,39],[45,0,42,39],[46,0,42,39],[47,0,42,39],[48,0,42,39],[49,0,42,39],[50,0,42,39],[51,0,42,39],[52,0,42,39],[53,0,42,39],[54,0,42,39],[55,0,42,39],[56,0,42,39],[57,0,42,39],[58,0,42,39],[59,0,42,39],[60,0,42,39],[61,0,42,39],[62,0,42,39],[63,0,42,39],[64,0,42,39],[65,0,42,39],[66,0,42,39],[67,0,42,39],[68,0,42,39],[69,0,42,39],[70,0,42,39],[71,0,42,39],[72,0,42,39],[73,0,42,39],[74,0,42,39],[75,0,42,39],[76,0,42,39],[77,0,42,39],[78,0,42,74],[79,0,42,74],[80,0,42,76]],[[12,0,43,6],[13,0,43,6],[14,0,43,6],[15,0,43,6],[16,0,43,6],[17,0,43,6],[18,0,43,12],[19,0,43,12],[20,0,43,14]],[[16,0,44,8],[17,0,44,8],[18,0,44,8],[19,0,44,8],[20,0,44,12],[21,0,44,12],[22,0,44,14]],[[20,0,45,10],[21,0,45,10],[22,0,45,10],[23,0,45,10],[24,0,45,10],[25,0,45,10],[26,0,45,10],[27,0,45,10],[28,0,45,10],[29,0,45,10],[30,0,45,10],[31,0,45,10],[32,0,45,10],[33,0,45,10],[34,0,45,24],[35,0,45,24],[36,0,45,26],[37,0,45,26],[38,0,45,26],[39,0,45,26],[40,0,45,26],[41,0,45,26],[42,0,45,26],[43,0,45,33]],[[17,0,46,9]],[[13,0,47,7]],[[12,0,48,6],[13,0,48,6],[14,0,48,6],[15,0,48,9],[16,0,48,9],[17,0,48,9],[18,0,48,9],[19,0,48,9],[20,0,48,9],[21,0,48,9],[22,0,48,16]],[[9,0,49,5],[10,0,49,6]],[[8,0,51,4],[9,0,51,4],[10,0,51,4],[11,0,51,4],[12,0,51,4],[13,0,51,4],[14,0,51,4],[15,0,51,11],[16,0,51,11],[17,0,51,11],[18,0,51,11],[19,0,51,11],[20,0,51,11],[21,0,51,11],[22,0,51,11],[23,0,51,11],[24,0,51,11],[25,0,51,11],[26,0,51,11],[27,0,51,11],[28,0,51,11],[29,0,51,11],[30,0,51,11],[31,0,51,11],[32,0,51,11],[33,0,51,11],[34,0,51,11],[35,0,51,11],[36,0,51,11],[37,0,51,11],[38,0,51,11],[39,0,51,11],[40,0,51,11],[41,0,51,11],[42,0,51,11],[43,0,51,11],[44,0,51,11],[45,0,51,11],[46,0,51,11],[47,0,51,28],[48,0,51,28],[49,0,51,29],[50,0,51,29],[51,0,51,29],[52,0,51,29],[53,0,51,33],[54,0,51,34]],[[4,0,52,2]],[[4,0,54,2],[5,0,54,2],[6,0,54,2]],[],[],[],[],[[4,0,59,9],[5,0,59,9],[6,0,59,9],[7,0,59,9],[8,0,59,9],[9,0,59,14],[10,0,59,15],[11,0,59,15],[12,0,59,15],[13,0,59,15],[14,0,59,19],[15,0,59,20],[16,0,59,20],[17,0,59,20],[18,0,59,20],[19,0,59,20],[20,0,59,20],[21,0,59,20],[22,0,59,44],[23,0,59,44],[24,0,59,44]],[[8,0,60,4],[9,0,60,4],[10,0,60,4],[11,0,60,4],[12,0,60,4],[13,0,60,4],[14,0,60,10],[15,0,60,10],[16,0,60,10],[17,0,60,10],[18,0,60,14],[19,0,60,14],[20,0,60,14],[21,0,60,17],[22,0,60,17],[23,0,60,17],[24,0,60,17],[25,0,60,17],[26,0,60,17],[27,0,60,23],[28,0,60,23],[29,0,60,23],[30,0,60,23],[31,0,60,27],[32,0,60,28],[33,0,60,28],[34,0,60,28],[35,0,60,28],[36,0,60,28],[37,0,60,28],[38,0,60,34],[39,0,60,35],[40,0,60,35],[41,0,60,35],[42,0,60,38],[43,0,60,39],[44,0,60,39],[45,0,60,39],[46,0,60,39],[47,0,60,39],[48,0,60,39],[49,0,60,39],[50,0,60,39],[51,0,60,39],[52,0,60,39],[53,0,60,39],[54,0,60,39],[55,0,60,39],[56,0,60,39],[57,0,60,39],[58,0,60,39],[59,0,60,39],[60,0,60,39],[61,0,60,57],[62,0,60,57],[63,0,60,59]],[[12,0,61,6],[13,0,61,6],[14,0,61,6],[15,0,61,9],[16,0,61,9],[17,0,61,9],[18,0,61,9],[19,0,61,9],[20,0,61,9],[21,0,61,9],[22,0,61,16]],[[9,0,62,5],[10,0,62,6]],[[8,0,64,4],[9,0,64,4],[10,0,64,4],[11,0,64,4],[12,0,64,4],[13,0,64,4],[14,0,64,4],[15,0,64,11],[16,0,64,11],[17,0,64,11],[18,0,64,11],[19,0,64,11],[20,0,64,11],[21,0,64,11],[22,0,64,11],[23,0,64,11],[24,0,64,11],[25,0,64,11],[26,0,64,11],[27,0,64,11],[28,0,64,11],[29,0,64,11],[30,0,64,11],[31,0,64,11],[32,0,64,11],[33,0,64,11],[34,0,64,11],[35,0,64,11],[36,0,64,11],[37,0,64,11],[38,0,64,11],[39,0,64,11],[40,0,64,11],[41,0,64,11],[42,0,64,11],[43,0,64,11],[44,0,64,11],[45,0,64,11],[46,0,64,11],[47,0,64,28],[48,0,64,28],[49,0,64,29],[50,0,64,29],[51,0,64,29],[52,0,64,29],[53,0,64,33],[54,0,64,34]],[[4,0,65,2]],[[4,0,67,2],[5,0,67,2],[6,0,67,2]],[],[],[],[],[],[[4,0,73,9],[5,0,73,9],[6,0,73,9],[7,0,73,9],[8,0,73,9],[9,0,73,14],[10,0,73,15],[11,0,73,15],[12,0,73,15],[13,0,73,15],[14,0,73,15],[15,0,73,15],[16,0,73,21],[17,0,74,4],[18,0,74,4],[19,0,74,4],[20,0,74,4],[21,0,74,4],[22,0,74,4],[23,0,74,4],[24,0,74,80],[25,0,74,80],[26,0,75,4],[27,0,75,4],[28,0,75,4],[29,0,75,4],[30,0,75,4],[31,0,75,4],[32,0,75,4],[33,0,75,28],[34,0,75,28],[35,0,75,28]],[[8,0,77,4],[9,0,77,4],[10,0,77,4],[11,0,77,4],[12,0,77,4],[13,0,77,4],[14,0,77,10],[15,0,77,10],[16,0,77,10],[17,0,77,10],[18,0,77,14],[19,0,77,14],[20,0,77,14],[21,0,77,17],[22,0,77,17],[23,0,77,17],[24,0,77,17],[25,0,77,17],[26,0,77,17],[27,0,77,23],[28,0,77,23],[29,0,77,23],[30,0,77,23],[31,0,77,27],[32,0,77,28],[33,0,77,28],[34,0,77,28],[35,0,77,28],[36,0,77,28],[37,0,77,28],[38,0,77,34],[39,0,77,35],[40,0,77,35],[41,0,77,35],[42,0,77,35],[43,0,77,35],[44,0,77,35],[45,0,77,41],[46,0,77,42],[47,0,77,42],[48,0,77,42],[49,0,77,42],[50,0,77,42],[51,0,77,42],[52,0,77,42],[53,0,77,42],[54,0,77,42],[55,0,77,42],[56,0,77,42],[57,0,77,42],[58,0,77,42],[59,0,77,42],[60,0,77,42],[61,0,77,42],[62,0,77,42],[63,0,77,42],[64,0,77,42],[65,0,77,42],[66,0,77,42],[67,0,77,42],[68,0,77,42],[69,0,77,42],[70,0,77,42],[71,0,77,42],[72,0,77,42],[73,0,77,42],[74,0,77,42],[75,0,77,42],[76,0,77,42],[77,0,77,42],[78,0,77,42],[79,0,77,42],[80,0,77,42],[81,0,77,77],[82,0,77,77],[83,0,77,79]],[[12,0,78,6],[13,0,78,6],[14,0,78,6],[15,0,78,6],[16,0,78,6],[17,0,78,6],[18,0,78,12],[19,0,78,12],[20,0,78,14]],[[16,0,79,8],[17,0,79,8],[18,0,79,8],[19,0,79,8],[20,0,79,12],[21,0,79,12],[22,0,79,14]],[[20,0,80,10],[21,0,80,10],[22,0,80,10],[23,0,80,10],[24,0,80,10],[25,0,80,10],[26,0,80,10],[27,0,80,10],[28,0,80,10],[29,0,80,10],[30,0,80,10],[31,0,80,10],[32,0,80,10],[33,0,80,10],[34,0,80,24],[35,0,80,24],[36,0,80,26],[37,0,80,26],[38,0,80,26],[39,0,80,26],[40,0,80,26],[41,0,80,26],[42,0,80,26],[43,0,80,33]],[[17,0,81,9]],[[13,0,82,7]],[[12,0,83,6],[13,0,83,6],[14,0,83,6],[15,0,83,9],[16,0,83,9],[17,0,83,9],[18,0,83,9],[19,0,83,9],[20,0,83,9],[21,0,83,9],[22,0,83,16]],[[9,0,84,5],[10,0,84,6]],[[8,0,86,4],[9,0,86,4],[10,0,86,4],[11,0,86,4],[12,0,86,4],[13,0,86,4],[14,0,86,4],[15,0,86,11],[16,0,86,11],[17,0,86,11],[18,0,86,11],[19,0,86,11],[20,0,86,11],[21,0,86,11],[22,0,86,11],[23,0,86,11],[24,0,86,11],[25,0,86,11],[26,0,86,11],[27,0,86,11],[28,0,86,11],[29,0,86,11],[30,0,86,11],[31,0,86,11],[32,0,86,11],[33,0,86,11],[34,0,86,11],[35,0,86,11],[36,0,86,11],[37,0,86,11],[38,0,86,11],[39,0,86,11],[40,0,86,11],[41,0,86,11],[42,0,86,11],[43,0,86,11],[44,0,86,11],[45,0,86,11],[46,0,86,11],[47,0,86,28],[48,0,86,28],[49,0,86,29],[50,0,86,29],[51,0,86,29],[52,0,86,29],[53,0,86,33],[54,0,86,34]],[[4,0,87,2]],[],[[0,0,9,0],[1,0,9,0],[2,0,9,0],[3,0,9,0],[4,0,9,0],[5,0,9,0],[6,0,9,0],[7,0,9,0],[8,0,9,0],[9,0,9,0],[10,0,9,0],[11,0,9,0],[12,0,9,0],[13,0,9,0],[14,0,9,0],[15,0,9,0],[16,0,9,0],[17,0,9,0],[18,0,9,0],[19,0,9,0],[20,0,9,0],[21,0,9,0],[22,0,9,0],[23,0,9,0],[24,0,9,0],[25,0,9,0],[26,0,9,0],[27,0,9,0]]],"ignoreList":[]}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import type { Client } from 'openapi-fetch';
|
|
2
|
+
import type { RequestOptions } from './common.cjs';
|
|
3
|
+
import type { operations, paths, SubjectUpsert } from './schemas.cjs';
|
|
4
|
+
/**
|
|
5
|
+
* Subjects
|
|
6
|
+
* @description Subjects are entities that consume resources you wish to meter. These can range from users, servers, and services to devices. The design of subjects is intentionally generic, enabling flexible application across various metering scenarios. Meters are aggregating events for each subject..
|
|
7
|
+
*/
|
|
8
|
+
export declare class Subjects {
|
|
9
|
+
private client;
|
|
10
|
+
constructor(client: Client<paths, `${string}/${string}`>);
|
|
11
|
+
/**
|
|
12
|
+
* Upsert one or multiple subjects
|
|
13
|
+
* If the subject does not exist, it will be created, otherwise it will be updated.
|
|
14
|
+
*
|
|
15
|
+
* @param subjects - The subjects to upsert
|
|
16
|
+
* @param signal - An optional abort signal
|
|
17
|
+
* @returns The upserted subjects
|
|
18
|
+
*/
|
|
19
|
+
upsert(subjects: SubjectUpsert | SubjectUpsert[], options?: RequestOptions): Promise<{
|
|
20
|
+
readonly createdAt: Date;
|
|
21
|
+
readonly updatedAt: Date;
|
|
22
|
+
readonly deletedAt?: Date;
|
|
23
|
+
readonly id: string;
|
|
24
|
+
key: string;
|
|
25
|
+
displayName?: string | null;
|
|
26
|
+
metadata?: {
|
|
27
|
+
[key: string]: unknown;
|
|
28
|
+
} | null;
|
|
29
|
+
currentPeriodStart?: Date;
|
|
30
|
+
currentPeriodEnd?: Date;
|
|
31
|
+
stripeCustomerId?: string | null;
|
|
32
|
+
}[] | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Get a subject by ID or key
|
|
35
|
+
* @param idOrKey - The ID or key of the subject
|
|
36
|
+
* @param signal - An optional abort signal
|
|
37
|
+
* @returns The subject
|
|
38
|
+
*/
|
|
39
|
+
get(idOrKey: operations['getSubject']['parameters']['path']['subjectIdOrKey'], options?: RequestOptions): Promise<{
|
|
40
|
+
readonly createdAt: Date;
|
|
41
|
+
readonly updatedAt: Date;
|
|
42
|
+
readonly deletedAt?: Date;
|
|
43
|
+
readonly id: string;
|
|
44
|
+
key: string;
|
|
45
|
+
displayName?: string | null;
|
|
46
|
+
metadata?: {
|
|
47
|
+
[key: string]: unknown;
|
|
48
|
+
} | null;
|
|
49
|
+
currentPeriodStart?: Date;
|
|
50
|
+
currentPeriodEnd?: Date;
|
|
51
|
+
stripeCustomerId?: string | null;
|
|
52
|
+
} | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* List subjects
|
|
55
|
+
* @param signal - An optional abort signal
|
|
56
|
+
* @returns The subjects
|
|
57
|
+
*/
|
|
58
|
+
list(options?: RequestOptions): Promise<{
|
|
59
|
+
readonly createdAt: Date;
|
|
60
|
+
readonly updatedAt: Date;
|
|
61
|
+
readonly deletedAt?: Date;
|
|
62
|
+
readonly id: string;
|
|
63
|
+
key: string;
|
|
64
|
+
displayName?: string | null;
|
|
65
|
+
metadata?: {
|
|
66
|
+
[key: string]: unknown;
|
|
67
|
+
} | null;
|
|
68
|
+
currentPeriodStart?: Date;
|
|
69
|
+
currentPeriodEnd?: Date;
|
|
70
|
+
stripeCustomerId?: string | null;
|
|
71
|
+
}[] | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* Delete a subject by ID or key
|
|
74
|
+
* @param idOrKey - The ID or key of the subject
|
|
75
|
+
* @param signal - An optional abort signal
|
|
76
|
+
* @returns The deleted subject
|
|
77
|
+
*/
|
|
78
|
+
delete(idOrKey: operations['deleteSubject']['parameters']['path']['subjectIdOrKey'], options?: RequestOptions): Promise<undefined>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SubscriptionAddons = void 0;
|
|
4
|
+
const utils_js_1 = require("./utils.cjs");
|
|
5
|
+
class SubscriptionAddons {
|
|
6
|
+
client;
|
|
7
|
+
constructor(client) {
|
|
8
|
+
this.client = client;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Create a new subscription addon
|
|
12
|
+
* @param subscriptionId - The ID of the subscription
|
|
13
|
+
* @param addon - The subscription addon to create
|
|
14
|
+
* @param options - Optional request options
|
|
15
|
+
* @returns The created subscription addon
|
|
16
|
+
*/
|
|
17
|
+
async create(subscriptionId, addon, options) {
|
|
18
|
+
const resp = await this.client.POST('/api/v1/subscriptions/{subscriptionId}/addons', {
|
|
19
|
+
body: addon,
|
|
20
|
+
params: { path: { subscriptionId } },
|
|
21
|
+
...options,
|
|
22
|
+
});
|
|
23
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* List all addons of a subscription
|
|
27
|
+
* @param subscriptionId - The ID of the subscription
|
|
28
|
+
* @param options - Optional request options
|
|
29
|
+
* @returns A list of subscription addons
|
|
30
|
+
*/
|
|
31
|
+
async list(subscriptionId, options) {
|
|
32
|
+
const resp = await this.client.GET('/api/v1/subscriptions/{subscriptionId}/addons', {
|
|
33
|
+
params: { path: { subscriptionId } },
|
|
34
|
+
...options,
|
|
35
|
+
});
|
|
36
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Get a subscription addon by id
|
|
40
|
+
* @param subscriptionId - The ID of the subscription
|
|
41
|
+
* @param subscriptionAddonId - The ID of the subscription addon
|
|
42
|
+
* @param options - Optional request options
|
|
43
|
+
* @returns The subscription addon
|
|
44
|
+
*/
|
|
45
|
+
async get(subscriptionId, subscriptionAddonId, options) {
|
|
46
|
+
const resp = await this.client.GET('/api/v1/subscriptions/{subscriptionId}/addons/{subscriptionAddonId}', {
|
|
47
|
+
params: { path: { subscriptionAddonId, subscriptionId } },
|
|
48
|
+
...options,
|
|
49
|
+
});
|
|
50
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Updates a subscription addon
|
|
54
|
+
* @param subscriptionId - The ID of the subscription
|
|
55
|
+
* @param subscriptionAddonId - The ID of the subscription addon to update
|
|
56
|
+
* @param addon - The subscription addon data to update
|
|
57
|
+
* @param options - Optional request options
|
|
58
|
+
* @returns The updated subscription addon
|
|
59
|
+
*/
|
|
60
|
+
async update(subscriptionId, subscriptionAddonId, addon, options) {
|
|
61
|
+
const resp = await this.client.PATCH('/api/v1/subscriptions/{subscriptionId}/addons/{subscriptionAddonId}', {
|
|
62
|
+
body: addon,
|
|
63
|
+
params: { path: { subscriptionAddonId, subscriptionId } },
|
|
64
|
+
...options,
|
|
65
|
+
});
|
|
66
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.SubscriptionAddons = SubscriptionAddons;
|
|
70
|
+
//# sourceMappingURL=subscription-addons.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription-addons.cjs","names":[],"sources":["../../../../src/client/subscription-addons.ts"],"sourcesContent":[null],"mappings":[[],[],[],[[0,0,3,0],[1,0,3,0],[2,0,3,0],[3,0,3,0],[4,0,3,0],[5,0,3,0],[6,0,3,0],[7,0,3,0],[8,0,3,0],[9,0,3,0],[10,0,3,0],[11,0,3,0],[12,0,3,0],[13,0,3,0],[14,0,3,0],[15,0,3,0],[16,0,3,0],[17,0,3,0],[18,0,3,0],[19,0,3,0],[20,0,3,0],[21,0,3,0],[22,0,3,0],[23,0,3,0],[24,0,3,0],[25,0,3,0],[26,0,3,0],[27,0,3,0],[28,0,3,0],[39,0,3,0],[40,0,3,0],[41,0,3,0]],[[0,0,5,0],[1,0,5,0],[2,0,5,0],[3,0,5,0],[4,0,5,0],[5,0,5,0],[6,0,5,13],[7,0,5,13],[8,0,5,13],[9,0,5,13],[10,0,5,13],[11,0,5,13],[12,0,5,13],[13,0,5,13],[14,0,5,13],[15,0,5,13],[16,0,5,13],[17,0,5,13],[18,0,5,13],[19,0,5,13],[20,0,5,13],[21,0,5,13],[22,0,5,13],[23,0,5,13],[24,0,5,31],[25,0,5,31]],[[4,0,6,22],[5,0,6,22],[6,0,6,22],[7,0,6,22],[8,0,6,22],[9,0,6,22],[10,0,6,22]],[[4,0,6,2],[5,0,6,2],[6,0,6,2],[7,0,6,2],[8,0,6,2],[9,0,6,2],[10,0,6,2],[11,0,6,2],[12,0,6,2],[13,0,6,2],[14,0,6,2],[15,0,6,2],[16,0,6,22],[17,0,6,22],[18,0,6,22],[19,0,6,22],[20,0,6,22],[21,0,6,22],[22,0,6,66],[23,0,6,66],[24,0,6,66]],[[8,0,6,22],[9,0,6,22],[10,0,6,22],[11,0,6,22],[12,0,6,22],[13,0,6,22],[14,0,6,22],[15,0,6,22],[16,0,6,22],[17,0,6,22],[18,0,6,22],[19,0,6,28],[20,0,6,28],[21,0,6,28],[22,0,6,22],[23,0,6,22],[24,0,6,22],[25,0,6,22],[26,0,6,22],[27,0,6,22],[28,0,6,28]],[[4,0,6,69]],[[4,0,8,2],[5,0,8,2],[6,0,8,2]],[],[],[],[],[],[],[[4,0,15,9],[5,0,15,9],[6,0,15,9],[7,0,15,9],[8,0,15,9],[9,0,15,14],[10,0,15,15],[11,0,15,15],[12,0,15,15],[13,0,15,15],[14,0,15,15],[15,0,15,15],[16,0,15,21],[17,0,16,4],[18,0,16,4],[19,0,16,4],[20,0,16,4],[21,0,16,4],[22,0,16,4],[23,0,16,4],[24,0,16,4],[25,0,16,4],[26,0,16,4],[27,0,16,4],[28,0,16,4],[29,0,16,4],[30,0,16,4],[31,0,16,26],[32,0,16,26],[33,0,17,4],[34,0,17,4],[35,0,17,4],[36,0,17,4],[37,0,17,4],[38,0,17,94],[39,0,17,94],[40,0,18,4],[41,0,18,4],[42,0,18,4],[43,0,18,4],[44,0,18,4],[45,0,18,4],[46,0,18,4],[47,0,18,28],[48,0,18,28],[49,0,18,28]],[[8,0,20,4],[9,0,20,4],[10,0,20,4],[11,0,20,4],[12,0,20,4],[13,0,20,4],[14,0,20,10],[15,0,20,10],[16,0,20,10],[17,0,20,10],[18,0,20,14],[19,0,20,14],[20,0,20,14],[21,0,20,17],[22,0,20,17],[23,0,20,17],[24,0,20,17],[25,0,20,17],[26,0,20,17],[27,0,20,23],[28,0,20,23],[29,0,20,23],[30,0,20,23],[31,0,20,27],[32,0,20,28],[33,0,20,28],[34,0,20,28],[35,0,20,28],[36,0,20,28],[37,0,20,28],[38,0,20,34],[39,0,20,35],[40,0,20,35],[41,0,20,35],[42,0,20,35],[43,0,20,39],[44,0,21,6],[45,0,21,6],[46,0,21,6],[47,0,21,6],[48,0,21,6],[49,0,21,6],[50,0,21,6],[51,0,21,6],[52,0,21,6],[53,0,21,6],[54,0,21,6],[55,0,21,6],[56,0,21,6],[57,0,21,6],[58,0,21,6],[59,0,21,6],[60,0,21,6],[61,0,21,6],[62,0,21,6],[63,0,21,6],[64,0,21,6],[65,0,21,6],[66,0,21,6],[67,0,21,6],[68,0,21,6],[69,0,21,6],[70,0,21,6],[71,0,21,6],[72,0,21,6],[73,0,21,6],[74,0,21,6],[75,0,21,6],[76,0,21,6],[77,0,21,6],[78,0,21,6],[79,0,21,6],[80,0,21,6],[81,0,21,6],[82,0,21,6],[83,0,21,6],[84,0,21,6],[85,0,21,6],[86,0,21,6],[87,0,21,6],[88,0,21,6],[89,0,21,6],[90,0,21,6],[91,0,21,53],[92,0,21,53],[93,0,22,6]],[[12,0,23,8],[13,0,23,8],[14,0,23,8],[15,0,23,8],[16,0,23,12],[17,0,23,12],[18,0,23,14],[19,0,23,14],[20,0,23,14],[21,0,23,14],[22,0,23,14],[23,0,23,19]],[[12,0,24,8],[13,0,24,8],[14,0,24,8],[15,0,24,8],[16,0,24,8],[17,0,24,8],[18,0,24,14],[19,0,24,14],[20,0,24,16],[21,0,24,16],[22,0,24,18],[23,0,24,18],[24,0,24,18],[25,0,24,18],[26,0,24,22],[27,0,24,22],[28,0,24,24],[29,0,24,24],[30,0,24,26],[31,0,24,26],[32,0,24,26],[33,0,24,26],[34,0,24,26],[35,0,24,26],[36,0,24,26],[37,0,24,26],[38,0,24,26],[39,0,24,26],[40,0,24,26],[41,0,24,26],[42,0,24,26],[43,0,24,26],[44,0,24,40],[45,0,24,40],[46,0,24,42],[47,0,24,42],[48,0,24,44]],[[12,0,25,8],[13,0,25,8],[14,0,25,8],[15,0,25,11],[16,0,25,11],[17,0,25,11],[18,0,25,11],[19,0,25,11],[20,0,25,11],[21,0,25,11],[22,0,25,18]],[[9,0,26,7],[10,0,27,5]],[[8,0,29,4],[9,0,29,4],[10,0,29,4],[11,0,29,4],[12,0,29,4],[13,0,29,4],[14,0,29,4],[15,0,29,11],[16,0,29,11],[17,0,29,11],[18,0,29,11],[19,0,29,11],[20,0,29,11],[21,0,29,11],[22,0,29,11],[23,0,29,11],[24,0,29,11],[25,0,29,11],[26,0,29,11],[27,0,29,11],[28,0,29,11],[29,0,29,11],[30,0,29,11],[31,0,29,11],[32,0,29,11],[33,0,29,11],[34,0,29,11],[35,0,29,11],[36,0,29,11],[37,0,29,11],[38,0,29,11],[39,0,29,11],[40,0,29,11],[41,0,29,11],[42,0,29,11],[43,0,29,11],[44,0,29,11],[45,0,29,11],[46,0,29,11],[47,0,29,28],[48,0,29,28],[49,0,29,29],[50,0,29,29],[51,0,29,29],[52,0,29,29],[53,0,29,33],[54,0,29,34]],[[4,0,30,2]],[[4,0,32,2],[5,0,32,2],[6,0,32,2]],[],[],[],[],[],[[4,0,38,9],[5,0,38,9],[6,0,38,9],[7,0,38,9],[8,0,38,9],[9,0,38,14],[10,0,38,15],[11,0,38,15],[12,0,38,15],[13,0,38,15],[14,0,38,19],[15,0,38,20],[16,0,38,20],[17,0,38,20],[18,0,38,20],[19,0,38,20],[20,0,38,20],[21,0,38,20],[22,0,38,20],[23,0,38,20],[24,0,38,20],[25,0,38,20],[26,0,38,20],[27,0,38,20],[28,0,38,20],[29,0,38,42],[30,0,38,42],[31,0,38,44],[32,0,38,44],[33,0,38,44],[34,0,38,44],[35,0,38,44],[36,0,38,44],[37,0,38,44],[38,0,38,68],[39,0,38,68],[40,0,38,68]],[[8,0,39,4],[9,0,39,4],[10,0,39,4],[11,0,39,4],[12,0,39,4],[13,0,39,4],[14,0,39,10],[15,0,39,10],[16,0,39,10],[17,0,39,10],[18,0,39,14],[19,0,39,14],[20,0,39,14],[21,0,39,17],[22,0,39,17],[23,0,39,17],[24,0,39,17],[25,0,39,17],[26,0,39,17],[27,0,39,23],[28,0,39,23],[29,0,39,23],[30,0,39,23],[31,0,39,27],[32,0,39,28],[33,0,39,28],[34,0,39,28],[35,0,39,28],[36,0,39,28],[37,0,39,28],[38,0,39,34],[39,0,39,35],[40,0,39,35],[41,0,39,35],[42,0,39,38],[43,0,40,6],[44,0,40,6],[45,0,40,6],[46,0,40,6],[47,0,40,6],[48,0,40,6],[49,0,40,6],[50,0,40,6],[51,0,40,6],[52,0,40,6],[53,0,40,6],[54,0,40,6],[55,0,40,6],[56,0,40,6],[57,0,40,6],[58,0,40,6],[59,0,40,6],[60,0,40,6],[61,0,40,6],[62,0,40,6],[63,0,40,6],[64,0,40,6],[65,0,40,6],[66,0,40,6],[67,0,40,6],[68,0,40,6],[69,0,40,6],[70,0,40,6],[71,0,40,6],[72,0,40,6],[73,0,40,6],[74,0,40,6],[75,0,40,6],[76,0,40,6],[77,0,40,6],[78,0,40,6],[79,0,40,6],[80,0,40,6],[81,0,40,6],[82,0,40,6],[83,0,40,6],[84,0,40,6],[85,0,40,6],[86,0,40,6],[87,0,40,6],[88,0,40,6],[89,0,40,6],[90,0,40,53],[91,0,40,53],[92,0,41,6]],[[12,0,42,8],[13,0,42,8],[14,0,42,8],[15,0,42,8],[16,0,42,8],[17,0,42,8],[18,0,42,14],[19,0,42,14],[20,0,42,16],[21,0,42,16],[22,0,42,18],[23,0,42,18],[24,0,42,18],[25,0,42,18],[26,0,42,22],[27,0,42,22],[28,0,42,24],[29,0,42,24],[30,0,42,26],[31,0,42,26],[32,0,42,26],[33,0,42,26],[34,0,42,26],[35,0,42,26],[36,0,42,26],[37,0,42,26],[38,0,42,26],[39,0,42,26],[40,0,42,26],[41,0,42,26],[42,0,42,26],[43,0,42,26],[44,0,42,40],[45,0,42,40],[46,0,42,42],[47,0,42,42],[48,0,42,44]],[[12,0,43,8],[13,0,43,8],[14,0,43,8],[15,0,43,11],[16,0,43,11],[17,0,43,11],[18,0,43,11],[19,0,43,11],[20,0,43,11],[21,0,43,11],[22,0,43,18]],[[9,0,44,7],[10,0,45,5]],[[8,0,47,4],[9,0,47,4],[10,0,47,4],[11,0,47,4],[12,0,47,4],[13,0,47,4],[14,0,47,4],[15,0,47,11],[16,0,47,11],[17,0,47,11],[18,0,47,11],[19,0,47,11],[20,0,47,11],[21,0,47,11],[22,0,47,11],[23,0,47,11],[24,0,47,11],[25,0,47,11],[26,0,47,11],[27,0,47,11],[28,0,47,11],[29,0,47,11],[30,0,47,11],[31,0,47,11],[32,0,47,11],[33,0,47,11],[34,0,47,11],[35,0,47,11],[36,0,47,11],[37,0,47,11],[38,0,47,11],[39,0,47,11],[40,0,47,11],[41,0,47,11],[42,0,47,11],[43,0,47,11],[44,0,47,11],[45,0,47,11],[46,0,47,11],[47,0,47,28],[48,0,47,28],[49,0,47,29],[50,0,47,29],[51,0,47,29],[52,0,47,29],[53,0,47,33],[54,0,47,34]],[[4,0,48,2]],[[4,0,50,2],[5,0,50,2],[6,0,50,2]],[],[],[],[],[],[],[[4,0,57,9],[5,0,57,9],[6,0,57,9],[7,0,57,9],[8,0,57,9],[9,0,57,14],[10,0,57,15],[11,0,57,15],[12,0,57,15],[13,0,57,18],[14,0,58,4],[15,0,58,4],[16,0,58,4],[17,0,58,4],[18,0,58,4],[19,0,58,4],[20,0,58,4],[21,0,58,4],[22,0,58,4],[23,0,58,4],[24,0,58,4],[25,0,58,4],[26,0,58,4],[27,0,58,4],[28,0,58,26],[29,0,58,26],[30,0,59,4],[31,0,59,4],[32,0,59,4],[33,0,59,4],[34,0,59,4],[35,0,59,4],[36,0,59,4],[37,0,59,4],[38,0,59,4],[39,0,59,4],[40,0,59,4],[41,0,59,4],[42,0,59,4],[43,0,59,4],[44,0,59,4],[45,0,59,4],[46,0,59,4],[47,0,59,4],[48,0,59,4],[49,0,59,31],[50,0,59,31],[51,0,60,4],[52,0,60,4],[53,0,60,4],[54,0,60,4],[55,0,60,4],[56,0,60,4],[57,0,60,4],[58,0,60,28],[59,0,60,28],[60,0,60,28]],[[8,0,62,4],[9,0,62,4],[10,0,62,4],[11,0,62,4],[12,0,62,4],[13,0,62,4],[14,0,62,10],[15,0,62,10],[16,0,62,10],[17,0,62,10],[18,0,62,14],[19,0,62,14],[20,0,62,14],[21,0,62,17],[22,0,62,17],[23,0,62,17],[24,0,62,17],[25,0,62,17],[26,0,62,17],[27,0,62,23],[28,0,62,23],[29,0,62,23],[30,0,62,23],[31,0,62,27],[32,0,62,28],[33,0,62,28],[34,0,62,28],[35,0,62,28],[36,0,62,28],[37,0,62,28],[38,0,62,34],[39,0,62,35],[40,0,62,35],[41,0,62,35],[42,0,62,38],[43,0,63,6],[44,0,63,6],[45,0,63,6],[46,0,63,6],[47,0,63,6],[48,0,63,6],[49,0,63,6],[50,0,63,6],[51,0,63,6],[52,0,63,6],[53,0,63,6],[54,0,63,6],[55,0,63,6],[56,0,63,6],[57,0,63,6],[58,0,63,6],[59,0,63,6],[60,0,63,6],[61,0,63,6],[62,0,63,6],[63,0,63,6],[64,0,63,6],[65,0,63,6],[66,0,63,6],[67,0,63,6],[68,0,63,6],[69,0,63,6],[70,0,63,6],[71,0,63,6],[72,0,63,6],[73,0,63,6],[74,0,63,6],[75,0,63,6],[76,0,63,6],[77,0,63,6],[78,0,63,6],[79,0,63,6],[80,0,63,6],[81,0,63,6],[82,0,63,6],[83,0,63,6],[84,0,63,6],[85,0,63,6],[86,0,63,6],[87,0,63,6],[88,0,63,6],[89,0,63,6],[90,0,63,6],[91,0,63,6],[92,0,63,6],[93,0,63,6],[94,0,63,6],[95,0,63,6],[96,0,63,6],[97,0,63,6],[98,0,63,6],[99,0,63,6],[100,0,63,6],[101,0,63,6],[102,0,63,6],[103,0,63,6],[104,0,63,6],[105,0,63,6],[106,0,63,6],[107,0,63,6],[108,0,63,6],[109,0,63,6],[110,0,63,6],[111,0,63,6],[112,0,63,75],[113,0,63,75],[114,0,64,6]],[[12,0,65,8],[13,0,65,8],[14,0,65,8],[15,0,65,8],[16,0,65,8],[17,0,65,8],[18,0,65,14],[19,0,65,14],[20,0,65,16],[21,0,65,16],[22,0,65,18],[23,0,65,18],[24,0,65,18],[25,0,65,18],[26,0,65,22],[27,0,65,22],[28,0,65,24],[29,0,65,24],[30,0,65,26],[31,0,65,26],[32,0,65,26],[33,0,65,26],[34,0,65,26],[35,0,65,26],[36,0,65,26],[37,0,65,26],[38,0,65,26],[39,0,65,26],[40,0,65,26],[41,0,65,26],[42,0,65,26],[43,0,65,26],[44,0,65,26],[45,0,65,26],[46,0,65,26],[47,0,65,26],[48,0,65,26],[49,0,65,45],[50,0,65,45],[51,0,65,47],[52,0,65,47],[53,0,65,47],[54,0,65,47],[55,0,65,47],[56,0,65,47],[57,0,65,47],[58,0,65,47],[59,0,65,47],[60,0,65,47],[61,0,65,47],[62,0,65,47],[63,0,65,47],[64,0,65,47],[65,0,65,61],[66,0,65,61],[67,0,65,63],[68,0,65,63],[69,0,65,65]],[[12,0,66,8],[13,0,66,8],[14,0,66,8],[15,0,66,11],[16,0,66,11],[17,0,66,11],[18,0,66,11],[19,0,66,11],[20,0,66,11],[21,0,66,11],[22,0,66,18]],[[9,0,67,7],[10,0,68,5]],[[8,0,70,4],[9,0,70,4],[10,0,70,4],[11,0,70,4],[12,0,70,4],[13,0,70,4],[14,0,70,4],[15,0,70,11],[16,0,70,11],[17,0,70,11],[18,0,70,11],[19,0,70,11],[20,0,70,11],[21,0,70,11],[22,0,70,11],[23,0,70,11],[24,0,70,11],[25,0,70,11],[26,0,70,11],[27,0,70,11],[28,0,70,11],[29,0,70,11],[30,0,70,11],[31,0,70,11],[32,0,70,11],[33,0,70,11],[34,0,70,11],[35,0,70,11],[36,0,70,11],[37,0,70,11],[38,0,70,11],[39,0,70,11],[40,0,70,11],[41,0,70,11],[42,0,70,11],[43,0,70,11],[44,0,70,11],[45,0,70,11],[46,0,70,11],[47,0,70,28],[48,0,70,28],[49,0,70,29],[50,0,70,29],[51,0,70,29],[52,0,70,29],[53,0,70,33],[54,0,70,34]],[[4,0,71,2]],[[4,0,73,2],[5,0,73,2],[6,0,73,2]],[],[],[],[],[],[],[],[[4,0,81,9],[5,0,81,9],[6,0,81,9],[7,0,81,9],[8,0,81,9],[9,0,81,14],[10,0,81,15],[11,0,81,15],[12,0,81,15],[13,0,81,15],[14,0,81,15],[15,0,81,15],[16,0,81,21],[17,0,82,4],[18,0,82,4],[19,0,82,4],[20,0,82,4],[21,0,82,4],[22,0,82,4],[23,0,82,4],[24,0,82,4],[25,0,82,4],[26,0,82,4],[27,0,82,4],[28,0,82,4],[29,0,82,4],[30,0,82,4],[31,0,82,26],[32,0,82,26],[33,0,83,4],[34,0,83,4],[35,0,83,4],[36,0,83,4],[37,0,83,4],[38,0,83,4],[39,0,83,4],[40,0,83,4],[41,0,83,4],[42,0,83,4],[43,0,83,4],[44,0,83,4],[45,0,83,4],[46,0,83,4],[47,0,83,4],[48,0,83,4],[49,0,83,4],[50,0,83,4],[51,0,83,4],[52,0,83,31],[53,0,83,31],[54,0,84,4],[55,0,84,4],[56,0,84,4],[57,0,84,4],[58,0,84,4],[59,0,84,94],[60,0,84,94],[61,0,85,4],[62,0,85,4],[63,0,85,4],[64,0,85,4],[65,0,85,4],[66,0,85,4],[67,0,85,4],[68,0,85,28],[69,0,85,28],[70,0,85,28]],[[8,0,87,4],[9,0,87,4],[10,0,87,4],[11,0,87,4],[12,0,87,4],[13,0,87,4],[14,0,87,10],[15,0,87,10],[16,0,87,10],[17,0,87,10],[18,0,87,14],[19,0,87,14],[20,0,87,14],[21,0,87,17],[22,0,87,17],[23,0,87,17],[24,0,87,17],[25,0,87,17],[26,0,87,17],[27,0,87,23],[28,0,87,23],[29,0,87,23],[30,0,87,23],[31,0,87,27],[32,0,87,28],[33,0,87,28],[34,0,87,28],[35,0,87,28],[36,0,87,28],[37,0,87,28],[38,0,87,34],[39,0,87,35],[40,0,87,35],[41,0,87,35],[42,0,87,35],[43,0,87,35],[44,0,87,40],[45,0,88,6],[46,0,88,6],[47,0,88,6],[48,0,88,6],[49,0,88,6],[50,0,88,6],[51,0,88,6],[52,0,88,6],[53,0,88,6],[54,0,88,6],[55,0,88,6],[56,0,88,6],[57,0,88,6],[58,0,88,6],[59,0,88,6],[60,0,88,6],[61,0,88,6],[62,0,88,6],[63,0,88,6],[64,0,88,6],[65,0,88,6],[66,0,88,6],[67,0,88,6],[68,0,88,6],[69,0,88,6],[70,0,88,6],[71,0,88,6],[72,0,88,6],[73,0,88,6],[74,0,88,6],[75,0,88,6],[76,0,88,6],[77,0,88,6],[78,0,88,6],[79,0,88,6],[80,0,88,6],[81,0,88,6],[82,0,88,6],[83,0,88,6],[84,0,88,6],[85,0,88,6],[86,0,88,6],[87,0,88,6],[88,0,88,6],[89,0,88,6],[90,0,88,6],[91,0,88,6],[92,0,88,6],[93,0,88,6],[94,0,88,6],[95,0,88,6],[96,0,88,6],[97,0,88,6],[98,0,88,6],[99,0,88,6],[100,0,88,6],[101,0,88,6],[102,0,88,6],[103,0,88,6],[104,0,88,6],[105,0,88,6],[106,0,88,6],[107,0,88,6],[108,0,88,6],[109,0,88,6],[110,0,88,6],[111,0,88,6],[112,0,88,6],[113,0,88,6],[114,0,88,75],[115,0,88,75],[116,0,89,6]],[[12,0,90,8],[13,0,90,8],[14,0,90,8],[15,0,90,8],[16,0,90,12],[17,0,90,12],[18,0,90,14],[19,0,90,14],[20,0,90,14],[21,0,90,14],[22,0,90,14],[23,0,90,19]],[[12,0,91,8],[13,0,91,8],[14,0,91,8],[15,0,91,8],[16,0,91,8],[17,0,91,8],[18,0,91,14],[19,0,91,14],[20,0,91,16],[21,0,91,16],[22,0,91,18],[23,0,91,18],[24,0,91,18],[25,0,91,18],[26,0,91,22],[27,0,91,22],[28,0,91,24],[29,0,91,24],[30,0,91,26],[31,0,91,26],[32,0,91,26],[33,0,91,26],[34,0,91,26],[35,0,91,26],[36,0,91,26],[37,0,91,26],[38,0,91,26],[39,0,91,26],[40,0,91,26],[41,0,91,26],[42,0,91,26],[43,0,91,26],[44,0,91,26],[45,0,91,26],[46,0,91,26],[47,0,91,26],[48,0,91,26],[49,0,91,45],[50,0,91,45],[51,0,91,47],[52,0,91,47],[53,0,91,47],[54,0,91,47],[55,0,91,47],[56,0,91,47],[57,0,91,47],[58,0,91,47],[59,0,91,47],[60,0,91,47],[61,0,91,47],[62,0,91,47],[63,0,91,47],[64,0,91,47],[65,0,91,61],[66,0,91,61],[67,0,91,63],[68,0,91,63],[69,0,91,65]],[[12,0,92,8],[13,0,92,8],[14,0,92,8],[15,0,92,11],[16,0,92,11],[17,0,92,11],[18,0,92,11],[19,0,92,11],[20,0,92,11],[21,0,92,11],[22,0,92,18]],[[9,0,93,7],[10,0,94,5]],[[8,0,96,4],[9,0,96,4],[10,0,96,4],[11,0,96,4],[12,0,96,4],[13,0,96,4],[14,0,96,4],[15,0,96,11],[16,0,96,11],[17,0,96,11],[18,0,96,11],[19,0,96,11],[20,0,96,11],[21,0,96,11],[22,0,96,11],[23,0,96,11],[24,0,96,11],[25,0,96,11],[26,0,96,11],[27,0,96,11],[28,0,96,11],[29,0,96,11],[30,0,96,11],[31,0,96,11],[32,0,96,11],[33,0,96,11],[34,0,96,11],[35,0,96,11],[36,0,96,11],[37,0,96,11],[38,0,96,11],[39,0,96,11],[40,0,96,11],[41,0,96,11],[42,0,96,11],[43,0,96,11],[44,0,96,11],[45,0,96,11],[46,0,96,11],[47,0,96,28],[48,0,96,28],[49,0,96,29],[50,0,96,29],[51,0,96,29],[52,0,96,29],[53,0,96,33],[54,0,96,34]],[[4,0,97,2]],[],[[0,0,5,0],[1,0,5,0],[2,0,5,0],[3,0,5,0],[4,0,5,0],[5,0,5,0],[6,0,5,0],[7,0,5,0],[8,0,5,0],[9,0,5,0],[10,0,5,0],[11,0,5,0],[12,0,5,0],[13,0,5,0],[14,0,5,0],[15,0,5,0],[16,0,5,0],[17,0,5,0],[18,0,5,0],[19,0,5,0],[20,0,5,0],[21,0,5,0],[22,0,5,0],[23,0,5,0],[24,0,5,0],[25,0,5,0],[26,0,5,0],[27,0,5,0],[28,0,5,0],[29,0,5,0],[30,0,5,0],[31,0,5,0],[32,0,5,0],[33,0,5,0],[34,0,5,0],[35,0,5,0],[36,0,5,0],[37,0,5,0],[38,0,5,0],[39,0,5,0],[40,0,5,0],[41,0,5,0],[42,0,5,0],[43,0,5,0],[44,0,5,0],[45,0,5,0],[46,0,5,0],[47,0,5,0]]],"ignoreList":[]}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import type { Client } from 'openapi-fetch';
|
|
2
|
+
import type { RequestOptions } from './common.cjs';
|
|
3
|
+
import type { operations, paths } from './schemas.cjs';
|
|
4
|
+
export declare class SubscriptionAddons {
|
|
5
|
+
private client;
|
|
6
|
+
constructor(client: Client<paths, `${string}/${string}`>);
|
|
7
|
+
/**
|
|
8
|
+
* Create a new subscription addon
|
|
9
|
+
* @param subscriptionId - The ID of the subscription
|
|
10
|
+
* @param addon - The subscription addon to create
|
|
11
|
+
* @param options - Optional request options
|
|
12
|
+
* @returns The created subscription addon
|
|
13
|
+
*/
|
|
14
|
+
create(subscriptionId: string, addon: operations['createSubscriptionAddon']['requestBody']['content']['application/json'], options?: RequestOptions): Promise<{
|
|
15
|
+
readonly id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
|
|
19
|
+
readonly createdAt: Date;
|
|
20
|
+
readonly updatedAt: Date;
|
|
21
|
+
readonly deletedAt?: Date;
|
|
22
|
+
readonly activeFrom: Date;
|
|
23
|
+
readonly activeTo?: Date;
|
|
24
|
+
addon: {
|
|
25
|
+
id: string;
|
|
26
|
+
readonly key: string;
|
|
27
|
+
readonly version: number;
|
|
28
|
+
readonly instanceType: import("./schemas.cjs").components["schemas"]["AddonInstanceType"];
|
|
29
|
+
};
|
|
30
|
+
readonly quantityAt: Date;
|
|
31
|
+
quantity: number;
|
|
32
|
+
readonly timeline: import("./schemas.cjs").components["schemas"]["SubscriptionAddonTimelineSegment"][];
|
|
33
|
+
readonly subscriptionId: string;
|
|
34
|
+
readonly rateCards: import("./schemas.cjs").components["schemas"]["SubscriptionAddonRateCard"][];
|
|
35
|
+
} | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* List all addons of a subscription
|
|
38
|
+
* @param subscriptionId - The ID of the subscription
|
|
39
|
+
* @param options - Optional request options
|
|
40
|
+
* @returns A list of subscription addons
|
|
41
|
+
*/
|
|
42
|
+
list(subscriptionId: string, options?: RequestOptions): Promise<{
|
|
43
|
+
readonly id: string;
|
|
44
|
+
name: string;
|
|
45
|
+
description?: string;
|
|
46
|
+
metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
|
|
47
|
+
readonly createdAt: Date;
|
|
48
|
+
readonly updatedAt: Date;
|
|
49
|
+
readonly deletedAt?: Date;
|
|
50
|
+
readonly activeFrom: Date;
|
|
51
|
+
readonly activeTo?: Date;
|
|
52
|
+
addon: {
|
|
53
|
+
id: string;
|
|
54
|
+
readonly key: string;
|
|
55
|
+
readonly version: number;
|
|
56
|
+
readonly instanceType: import("./schemas.cjs").components["schemas"]["AddonInstanceType"];
|
|
57
|
+
};
|
|
58
|
+
readonly quantityAt: Date;
|
|
59
|
+
quantity: number;
|
|
60
|
+
readonly timeline: import("./schemas.cjs").components["schemas"]["SubscriptionAddonTimelineSegment"][];
|
|
61
|
+
readonly subscriptionId: string;
|
|
62
|
+
readonly rateCards: import("./schemas.cjs").components["schemas"]["SubscriptionAddonRateCard"][];
|
|
63
|
+
}[] | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* Get a subscription addon by id
|
|
66
|
+
* @param subscriptionId - The ID of the subscription
|
|
67
|
+
* @param subscriptionAddonId - The ID of the subscription addon
|
|
68
|
+
* @param options - Optional request options
|
|
69
|
+
* @returns The subscription addon
|
|
70
|
+
*/
|
|
71
|
+
get(subscriptionId: string, subscriptionAddonId: string, options?: RequestOptions): Promise<{
|
|
72
|
+
readonly id: string;
|
|
73
|
+
name: string;
|
|
74
|
+
description?: string;
|
|
75
|
+
metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
|
|
76
|
+
readonly createdAt: Date;
|
|
77
|
+
readonly updatedAt: Date;
|
|
78
|
+
readonly deletedAt?: Date;
|
|
79
|
+
readonly activeFrom: Date;
|
|
80
|
+
readonly activeTo?: Date;
|
|
81
|
+
addon: {
|
|
82
|
+
id: string;
|
|
83
|
+
readonly key: string;
|
|
84
|
+
readonly version: number;
|
|
85
|
+
readonly instanceType: import("./schemas.cjs").components["schemas"]["AddonInstanceType"];
|
|
86
|
+
};
|
|
87
|
+
readonly quantityAt: Date;
|
|
88
|
+
quantity: number;
|
|
89
|
+
readonly timeline: import("./schemas.cjs").components["schemas"]["SubscriptionAddonTimelineSegment"][];
|
|
90
|
+
readonly subscriptionId: string;
|
|
91
|
+
readonly rateCards: import("./schemas.cjs").components["schemas"]["SubscriptionAddonRateCard"][];
|
|
92
|
+
} | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* Updates a subscription addon
|
|
95
|
+
* @param subscriptionId - The ID of the subscription
|
|
96
|
+
* @param subscriptionAddonId - The ID of the subscription addon to update
|
|
97
|
+
* @param addon - The subscription addon data to update
|
|
98
|
+
* @param options - Optional request options
|
|
99
|
+
* @returns The updated subscription addon
|
|
100
|
+
*/
|
|
101
|
+
update(subscriptionId: string, subscriptionAddonId: string, addon: operations['updateSubscriptionAddon']['requestBody']['content']['application/json'], options?: RequestOptions): Promise<{
|
|
102
|
+
readonly id: string;
|
|
103
|
+
name: string;
|
|
104
|
+
description?: string;
|
|
105
|
+
metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
|
|
106
|
+
readonly createdAt: Date;
|
|
107
|
+
readonly updatedAt: Date;
|
|
108
|
+
readonly deletedAt?: Date;
|
|
109
|
+
readonly activeFrom: Date;
|
|
110
|
+
readonly activeTo?: Date;
|
|
111
|
+
addon: {
|
|
112
|
+
id: string;
|
|
113
|
+
readonly key: string;
|
|
114
|
+
readonly version: number;
|
|
115
|
+
readonly instanceType: import("./schemas.cjs").components["schemas"]["AddonInstanceType"];
|
|
116
|
+
};
|
|
117
|
+
readonly quantityAt: Date;
|
|
118
|
+
quantity: number;
|
|
119
|
+
readonly timeline: import("./schemas.cjs").components["schemas"]["SubscriptionAddonTimelineSegment"][];
|
|
120
|
+
readonly subscriptionId: string;
|
|
121
|
+
readonly rateCards: import("./schemas.cjs").components["schemas"]["SubscriptionAddonRateCard"][];
|
|
122
|
+
} | undefined>;
|
|
123
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Subscriptions = void 0;
|
|
4
|
+
const utils_js_1 = require("./utils.cjs");
|
|
5
|
+
/**
|
|
6
|
+
* Subscriptions
|
|
7
|
+
*/
|
|
8
|
+
class Subscriptions {
|
|
9
|
+
client;
|
|
10
|
+
constructor(client) {
|
|
11
|
+
this.client = client;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Create a subscription
|
|
15
|
+
* @param body - The subscription to create
|
|
16
|
+
* @param signal - An optional abort signal
|
|
17
|
+
* @returns The created subscription
|
|
18
|
+
*/
|
|
19
|
+
async create(body, options) {
|
|
20
|
+
const resp = await this.client.POST('/api/v1/subscriptions', {
|
|
21
|
+
body,
|
|
22
|
+
...options,
|
|
23
|
+
});
|
|
24
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Get a subscription
|
|
28
|
+
* @param id - The subscription ID
|
|
29
|
+
* @param signal - An optional abort signal
|
|
30
|
+
* @returns The subscription
|
|
31
|
+
*/
|
|
32
|
+
async get(id, options) {
|
|
33
|
+
const resp = await this.client.GET('/api/v1/subscriptions/{subscriptionId}', {
|
|
34
|
+
params: { path: { subscriptionId: id } },
|
|
35
|
+
...options,
|
|
36
|
+
});
|
|
37
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Edit a subscription
|
|
41
|
+
* @param id - The subscription ID
|
|
42
|
+
* @param body - The subscription to edit
|
|
43
|
+
* @param signal - An optional abort signal
|
|
44
|
+
* @returns The edited subscription
|
|
45
|
+
*/
|
|
46
|
+
async edit(id, body, options) {
|
|
47
|
+
const resp = await this.client.PATCH('/api/v1/subscriptions/{subscriptionId}', {
|
|
48
|
+
body,
|
|
49
|
+
params: { path: { subscriptionId: id } },
|
|
50
|
+
...options,
|
|
51
|
+
});
|
|
52
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Cancel a subscription
|
|
56
|
+
* @param id - The subscription ID
|
|
57
|
+
* @param body - The subscription to cancel
|
|
58
|
+
* @param signal - An optional abort signal
|
|
59
|
+
* @returns The canceled subscription
|
|
60
|
+
*/
|
|
61
|
+
async cancel(id, body, options) {
|
|
62
|
+
const resp = await this.client.POST('/api/v1/subscriptions/{subscriptionId}/cancel', {
|
|
63
|
+
body,
|
|
64
|
+
params: { path: { subscriptionId: id } },
|
|
65
|
+
...options,
|
|
66
|
+
});
|
|
67
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Change a subscription
|
|
71
|
+
* @description Closes a running subscription and starts a new one according to the specification. Can be used for upgrades, downgrades, and plan changes.
|
|
72
|
+
* @param id - The subscription ID
|
|
73
|
+
* @param body - The subscription to change
|
|
74
|
+
* @param signal - An optional abort signal
|
|
75
|
+
* @returns The changed subscription
|
|
76
|
+
*/
|
|
77
|
+
async change(id, body, options) {
|
|
78
|
+
const resp = await this.client.POST('/api/v1/subscriptions/{subscriptionId}/change', {
|
|
79
|
+
body,
|
|
80
|
+
params: { path: { subscriptionId: id } },
|
|
81
|
+
...options,
|
|
82
|
+
});
|
|
83
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Migrate a subscription
|
|
87
|
+
* @description Migrates the subscripiton to the provided version of the current plan.
|
|
88
|
+
* @param id - The subscription ID
|
|
89
|
+
* @param body - The subscription to migrate
|
|
90
|
+
* @param signal - An optional abort signal
|
|
91
|
+
* @returns The migrated subscription
|
|
92
|
+
*/
|
|
93
|
+
async migrate(id, body, options) {
|
|
94
|
+
const resp = await this.client.POST('/api/v1/subscriptions/{subscriptionId}/migrate', {
|
|
95
|
+
body,
|
|
96
|
+
params: { path: { subscriptionId: id } },
|
|
97
|
+
...options,
|
|
98
|
+
});
|
|
99
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Unschedule a cancelation
|
|
103
|
+
* @param id - The subscription ID
|
|
104
|
+
* @param signal - An optional abort signal
|
|
105
|
+
* @returns The unscheduled subscription
|
|
106
|
+
*/
|
|
107
|
+
async unscheduleCancelation(id, options) {
|
|
108
|
+
const resp = await this.client.POST('/api/v1/subscriptions/{subscriptionId}/unschedule-cancelation', {
|
|
109
|
+
params: { path: { subscriptionId: id } },
|
|
110
|
+
...options,
|
|
111
|
+
});
|
|
112
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Delete subscription
|
|
116
|
+
* @description Deletes a subscription. Only scheduled subscriptions can be deleted.
|
|
117
|
+
* @param subscriptionId - The ID of the subscription to delete
|
|
118
|
+
* @param options - Optional request options
|
|
119
|
+
* @returns void or standard error response structure
|
|
120
|
+
*/
|
|
121
|
+
async delete(subscriptionId, options) {
|
|
122
|
+
const resp = await this.client.DELETE('/api/v1/subscriptions/{subscriptionId}', {
|
|
123
|
+
params: {
|
|
124
|
+
path: { subscriptionId },
|
|
125
|
+
},
|
|
126
|
+
...options,
|
|
127
|
+
});
|
|
128
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
exports.Subscriptions = Subscriptions;
|
|
132
|
+
//# sourceMappingURL=subscriptions.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriptions.cjs","names":[],"sources":["../../../../src/client/subscriptions.ts"],"sourcesContent":[null],"mappings":[[],[],[],[[0,0,9,0],[1,0,9,0],[2,0,9,0],[3,0,9,0],[4,0,9,0],[5,0,9,0],[6,0,9,0],[7,0,9,0],[8,0,9,0],[9,0,9,0],[10,0,9,0],[11,0,9,0],[12,0,9,0],[13,0,9,0],[14,0,9,0],[15,0,9,0],[16,0,9,0],[17,0,9,0],[18,0,9,0],[19,0,9,0],[20,0,9,0],[21,0,9,0],[22,0,9,0],[23,0,9,0],[24,0,9,0],[25,0,9,0],[26,0,9,0],[27,0,9,0],[28,0,9,0],[39,0,9,0],[40,0,9,0],[41,0,9,0]],[[0,0,11,0],[1,0,11,0],[2,0,11,0]],[],[],[[0,0,14,0],[1,0,14,0],[2,0,14,0],[3,0,14,0],[4,0,14,0],[5,0,14,0],[6,0,14,13],[7,0,14,13],[8,0,14,13],[9,0,14,13],[10,0,14,13],[11,0,14,13],[12,0,14,13],[13,0,14,13],[14,0,14,13],[15,0,14,13],[16,0,14,13],[17,0,14,13],[18,0,14,13],[19,0,14,26],[20,0,14,26]],[[4,0,15,31],[5,0,15,31],[6,0,15,31],[7,0,15,31],[8,0,15,31],[9,0,15,31],[10,0,15,31]],[[4,0,15,2],[5,0,15,2],[6,0,15,2],[7,0,15,2],[8,0,15,2],[9,0,15,2],[10,0,15,2],[11,0,15,2],[12,0,15,2],[13,0,15,2],[14,0,15,2],[15,0,15,2],[16,0,15,31],[17,0,15,31],[18,0,15,31],[19,0,15,31],[20,0,15,31],[21,0,15,31],[22,0,15,75],[23,0,15,75],[24,0,15,75]],[[8,0,15,31],[9,0,15,31],[10,0,15,31],[11,0,15,31],[12,0,15,31],[13,0,15,31],[14,0,15,31],[15,0,15,31],[16,0,15,31],[17,0,15,31],[18,0,15,31],[19,0,15,37],[20,0,15,37],[21,0,15,37],[22,0,15,31],[23,0,15,31],[24,0,15,31],[25,0,15,31],[26,0,15,31],[27,0,15,31],[28,0,15,37]],[[4,0,15,78]],[[4,0,17,2],[5,0,17,2],[6,0,17,2]],[],[],[],[],[],[[4,0,23,9],[5,0,23,9],[6,0,23,9],[7,0,23,9],[8,0,23,9],[9,0,23,14],[10,0,23,15],[11,0,23,15],[12,0,23,15],[13,0,23,15],[14,0,23,15],[15,0,23,15],[16,0,23,21],[17,0,23,22],[18,0,23,22],[19,0,23,22],[20,0,23,22],[21,0,23,46],[22,0,23,46],[23,0,23,48],[24,0,23,48],[25,0,23,48],[26,0,23,48],[27,0,23,48],[28,0,23,48],[29,0,23,48],[30,0,23,72],[31,0,23,72],[32,0,23,72]],[[8,0,24,4],[9,0,24,4],[10,0,24,4],[11,0,24,4],[12,0,24,4],[13,0,24,4],[14,0,24,10],[15,0,24,10],[16,0,24,10],[17,0,24,10],[18,0,24,14],[19,0,24,14],[20,0,24,14],[21,0,24,17],[22,0,24,17],[23,0,24,17],[24,0,24,17],[25,0,24,17],[26,0,24,17],[27,0,24,23],[28,0,24,23],[29,0,24,23],[30,0,24,23],[31,0,24,27],[32,0,24,28],[33,0,24,28],[34,0,24,28],[35,0,24,28],[36,0,24,28],[37,0,24,28],[38,0,24,34],[39,0,24,35],[40,0,24,35],[41,0,24,35],[42,0,24,35],[43,0,24,39],[44,0,24,40],[45,0,24,40],[46,0,24,40],[47,0,24,40],[48,0,24,40],[49,0,24,40],[50,0,24,40],[51,0,24,40],[52,0,24,40],[53,0,24,40],[54,0,24,40],[55,0,24,40],[56,0,24,40],[57,0,24,40],[58,0,24,40],[59,0,24,40],[60,0,24,40],[61,0,24,40],[62,0,24,40],[63,0,24,40],[64,0,24,40],[65,0,24,40],[66,0,24,40],[67,0,24,63],[68,0,24,63],[69,0,24,65]],[[12,0,25,6],[13,0,25,6],[14,0,25,6],[15,0,25,6],[16,0,25,10]],[[12,0,26,6],[13,0,26,6],[14,0,26,6],[15,0,26,9],[16,0,26,9],[17,0,26,9],[18,0,26,9],[19,0,26,9],[20,0,26,9],[21,0,26,9],[22,0,26,16]],[[9,0,27,5],[10,0,27,6]],[[8,0,29,4],[9,0,29,4],[10,0,29,4],[11,0,29,4],[12,0,29,4],[13,0,29,4],[14,0,29,4],[15,0,29,11],[16,0,29,11],[17,0,29,11],[18,0,29,11],[19,0,29,11],[20,0,29,11],[21,0,29,11],[22,0,29,11],[23,0,29,11],[24,0,29,11],[25,0,29,11],[26,0,29,11],[27,0,29,11],[28,0,29,11],[29,0,29,11],[30,0,29,11],[31,0,29,11],[32,0,29,11],[33,0,29,11],[34,0,29,11],[35,0,29,11],[36,0,29,11],[37,0,29,11],[38,0,29,11],[39,0,29,11],[40,0,29,11],[41,0,29,11],[42,0,29,11],[43,0,29,11],[44,0,29,11],[45,0,29,11],[46,0,29,11],[47,0,29,28],[48,0,29,28],[49,0,29,29],[50,0,29,29],[51,0,29,29],[52,0,29,29],[53,0,29,33],[54,0,29,34]],[[4,0,30,2]],[[4,0,32,2],[5,0,32,2],[6,0,32,2]],[],[],[],[],[],[[4,0,38,9],[5,0,38,9],[6,0,38,9],[7,0,38,9],[8,0,38,9],[9,0,38,14],[10,0,38,15],[11,0,38,15],[12,0,38,15],[13,0,38,18],[14,0,39,4],[15,0,39,4],[16,0,39,77],[17,0,39,77],[18,0,40,4],[19,0,40,4],[20,0,40,4],[21,0,40,4],[22,0,40,4],[23,0,40,4],[24,0,40,4],[25,0,40,28],[26,0,40,28],[27,0,40,28]],[[8,0,42,4],[9,0,42,4],[10,0,42,4],[11,0,42,4],[12,0,42,4],[13,0,42,4],[14,0,42,10],[15,0,42,10],[16,0,42,10],[17,0,42,10],[18,0,42,14],[19,0,42,14],[20,0,42,14],[21,0,42,17],[22,0,42,17],[23,0,42,17],[24,0,42,17],[25,0,42,17],[26,0,42,17],[27,0,42,23],[28,0,42,23],[29,0,42,23],[30,0,42,23],[31,0,42,27],[32,0,42,28],[33,0,42,28],[34,0,42,28],[35,0,42,28],[36,0,42,28],[37,0,42,28],[38,0,42,34],[39,0,42,35],[40,0,42,35],[41,0,42,35],[42,0,42,38],[43,0,43,6],[44,0,43,6],[45,0,43,6],[46,0,43,6],[47,0,43,6],[48,0,43,6],[49,0,43,6],[50,0,43,6],[51,0,43,6],[52,0,43,6],[53,0,43,6],[54,0,43,6],[55,0,43,6],[56,0,43,6],[57,0,43,6],[58,0,43,6],[59,0,43,6],[60,0,43,6],[61,0,43,6],[62,0,43,6],[63,0,43,6],[64,0,43,6],[65,0,43,6],[66,0,43,6],[67,0,43,6],[68,0,43,6],[69,0,43,6],[70,0,43,6],[71,0,43,6],[72,0,43,6],[73,0,43,6],[74,0,43,6],[75,0,43,6],[76,0,43,6],[77,0,43,6],[78,0,43,6],[79,0,43,6],[80,0,43,6],[81,0,43,6],[82,0,43,6],[83,0,43,46],[84,0,43,46],[85,0,44,6]],[[12,0,45,8],[13,0,45,8],[14,0,45,8],[15,0,45,8],[16,0,45,8],[17,0,45,8],[18,0,45,14],[19,0,45,14],[20,0,45,16],[21,0,45,16],[22,0,45,18],[23,0,45,18],[24,0,45,18],[25,0,45,18],[26,0,45,22],[27,0,45,22],[28,0,45,24],[29,0,45,24],[30,0,45,26],[31,0,45,26],[32,0,45,26],[33,0,45,26],[34,0,45,26],[35,0,45,26],[36,0,45,26],[37,0,45,26],[38,0,45,26],[39,0,45,26],[40,0,45,26],[41,0,45,26],[42,0,45,26],[43,0,45,26],[44,0,45,40],[45,0,45,40],[46,0,45,42],[47,0,45,42],[48,0,45,44],[49,0,45,44],[50,0,45,46],[51,0,45,46],[52,0,45,48]],[[12,0,46,8],[13,0,46,8],[14,0,46,8],[15,0,46,11],[16,0,46,11],[17,0,46,11],[18,0,46,11],[19,0,46,11],[20,0,46,11],[21,0,46,11],[22,0,46,18]],[[9,0,47,7],[10,0,48,5]],[[8,0,50,4],[9,0,50,4],[10,0,50,4],[11,0,50,4],[12,0,50,4],[13,0,50,4],[14,0,50,4],[15,0,50,11],[16,0,50,11],[17,0,50,11],[18,0,50,11],[19,0,50,11],[20,0,50,11],[21,0,50,11],[22,0,50,11],[23,0,50,11],[24,0,50,11],[25,0,50,11],[26,0,50,11],[27,0,50,11],[28,0,50,11],[29,0,50,11],[30,0,50,11],[31,0,50,11],[32,0,50,11],[33,0,50,11],[34,0,50,11],[35,0,50,11],[36,0,50,11],[37,0,50,11],[38,0,50,11],[39,0,50,11],[40,0,50,11],[41,0,50,11],[42,0,50,11],[43,0,50,11],[44,0,50,11],[45,0,50,11],[46,0,50,11],[47,0,50,28],[48,0,50,28],[49,0,50,29],[50,0,50,29],[51,0,50,29],[52,0,50,29],[53,0,50,33],[54,0,50,34]],[[4,0,51,2]],[[4,0,53,2],[5,0,53,2],[6,0,53,2]],[],[],[],[],[],[],[[4,0,60,9],[5,0,60,9],[6,0,60,9],[7,0,60,9],[8,0,60,9],[9,0,60,14],[10,0,60,15],[11,0,60,15],[12,0,60,15],[13,0,60,15],[14,0,60,19],[15,0,61,4],[16,0,61,4],[17,0,61,78],[18,0,61,78],[19,0,62,4],[20,0,62,4],[21,0,62,4],[22,0,62,4],[23,0,62,26],[24,0,62,26],[25,0,63,4],[26,0,63,4],[27,0,63,4],[28,0,63,4],[29,0,63,4],[30,0,63,4],[31,0,63,4],[32,0,63,28],[33,0,63,28],[34,0,63,28]],[[8,0,65,4],[9,0,65,4],[10,0,65,4],[11,0,65,4],[12,0,65,4],[13,0,65,4],[14,0,65,10],[15,0,65,10],[16,0,65,10],[17,0,65,10],[18,0,65,14],[19,0,65,14],[20,0,65,14],[21,0,65,17],[22,0,65,17],[23,0,65,17],[24,0,65,17],[25,0,65,17],[26,0,65,17],[27,0,65,23],[28,0,65,23],[29,0,65,23],[30,0,65,23],[31,0,65,27],[32,0,65,28],[33,0,65,28],[34,0,65,28],[35,0,65,28],[36,0,65,28],[37,0,65,28],[38,0,65,34],[39,0,65,35],[40,0,65,35],[41,0,65,35],[42,0,65,35],[43,0,65,35],[44,0,65,40],[45,0,66,6],[46,0,66,6],[47,0,66,6],[48,0,66,6],[49,0,66,6],[50,0,66,6],[51,0,66,6],[52,0,66,6],[53,0,66,6],[54,0,66,6],[55,0,66,6],[56,0,66,6],[57,0,66,6],[58,0,66,6],[59,0,66,6],[60,0,66,6],[61,0,66,6],[62,0,66,6],[63,0,66,6],[64,0,66,6],[65,0,66,6],[66,0,66,6],[67,0,66,6],[68,0,66,6],[69,0,66,6],[70,0,66,6],[71,0,66,6],[72,0,66,6],[73,0,66,6],[74,0,66,6],[75,0,66,6],[76,0,66,6],[77,0,66,6],[78,0,66,6],[79,0,66,6],[80,0,66,6],[81,0,66,6],[82,0,66,6],[83,0,66,6],[84,0,66,6],[85,0,66,46],[86,0,66,46],[87,0,67,6]],[[12,0,68,8],[13,0,68,8],[14,0,68,8],[15,0,68,8],[16,0,68,12]],[[12,0,69,8],[13,0,69,8],[14,0,69,8],[15,0,69,8],[16,0,69,8],[17,0,69,8],[18,0,69,14],[19,0,69,14],[20,0,69,16],[21,0,69,16],[22,0,69,18],[23,0,69,18],[24,0,69,18],[25,0,69,18],[26,0,69,22],[27,0,69,22],[28,0,69,24],[29,0,69,24],[30,0,69,26],[31,0,69,26],[32,0,69,26],[33,0,69,26],[34,0,69,26],[35,0,69,26],[36,0,69,26],[37,0,69,26],[38,0,69,26],[39,0,69,26],[40,0,69,26],[41,0,69,26],[42,0,69,26],[43,0,69,26],[44,0,69,40],[45,0,69,40],[46,0,69,42],[47,0,69,42],[48,0,69,44],[49,0,69,44],[50,0,69,46],[51,0,69,46],[52,0,69,48]],[[12,0,70,8],[13,0,70,8],[14,0,70,8],[15,0,70,11],[16,0,70,11],[17,0,70,11],[18,0,70,11],[19,0,70,11],[20,0,70,11],[21,0,70,11],[22,0,70,18]],[[9,0,71,7],[10,0,72,5]],[[8,0,74,4],[9,0,74,4],[10,0,74,4],[11,0,74,4],[12,0,74,4],[13,0,74,4],[14,0,74,4],[15,0,74,11],[16,0,74,11],[17,0,74,11],[18,0,74,11],[19,0,74,11],[20,0,74,11],[21,0,74,11],[22,0,74,11],[23,0,74,11],[24,0,74,11],[25,0,74,11],[26,0,74,11],[27,0,74,11],[28,0,74,11],[29,0,74,11],[30,0,74,11],[31,0,74,11],[32,0,74,11],[33,0,74,11],[34,0,74,11],[35,0,74,11],[36,0,74,11],[37,0,74,11],[38,0,74,11],[39,0,74,11],[40,0,74,11],[41,0,74,11],[42,0,74,11],[43,0,74,11],[44,0,74,11],[45,0,74,11],[46,0,74,11],[47,0,74,28],[48,0,74,28],[49,0,74,29],[50,0,74,29],[51,0,74,29],[52,0,74,29],[53,0,74,33],[54,0,74,34]],[[4,0,75,2]],[[4,0,77,2],[5,0,77,2],[6,0,77,2]],[],[],[],[],[],[],[[4,0,84,9],[5,0,84,9],[6,0,84,9],[7,0,84,9],[8,0,84,9],[9,0,84,14],[10,0,84,15],[11,0,84,15],[12,0,84,15],[13,0,84,15],[14,0,84,15],[15,0,84,15],[16,0,84,21],[17,0,85,4],[18,0,85,4],[19,0,85,80],[20,0,85,80],[21,0,86,4],[22,0,86,4],[23,0,86,4],[24,0,86,4],[25,0,86,88],[26,0,86,88],[27,0,87,4],[28,0,87,4],[29,0,87,4],[30,0,87,4],[31,0,87,4],[32,0,87,4],[33,0,87,4],[34,0,87,28],[35,0,87,28],[36,0,87,28]],[[8,0,89,4],[9,0,89,4],[10,0,89,4],[11,0,89,4],[12,0,89,4],[13,0,89,4],[14,0,89,10],[15,0,89,10],[16,0,89,10],[17,0,89,10],[18,0,89,14],[19,0,89,14],[20,0,89,14],[21,0,89,17],[22,0,89,17],[23,0,89,17],[24,0,89,17],[25,0,89,17],[26,0,89,17],[27,0,89,23],[28,0,89,23],[29,0,89,23],[30,0,89,23],[31,0,89,27],[32,0,89,28],[33,0,89,28],[34,0,89,28],[35,0,89,28],[36,0,89,28],[37,0,89,28],[38,0,89,34],[39,0,89,35],[40,0,89,35],[41,0,89,35],[42,0,89,35],[43,0,89,39],[44,0,90,6],[45,0,90,6],[46,0,90,6],[47,0,90,6],[48,0,90,6],[49,0,90,6],[50,0,90,6],[51,0,90,6],[52,0,90,6],[53,0,90,6],[54,0,90,6],[55,0,90,6],[56,0,90,6],[57,0,90,6],[58,0,90,6],[59,0,90,6],[60,0,90,6],[61,0,90,6],[62,0,90,6],[63,0,90,6],[64,0,90,6],[65,0,90,6],[66,0,90,6],[67,0,90,6],[68,0,90,6],[69,0,90,6],[70,0,90,6],[71,0,90,6],[72,0,90,6],[73,0,90,6],[74,0,90,6],[75,0,90,6],[76,0,90,6],[77,0,90,6],[78,0,90,6],[79,0,90,6],[80,0,90,6],[81,0,90,6],[82,0,90,6],[83,0,90,6],[84,0,90,6],[85,0,90,6],[86,0,90,6],[87,0,90,6],[88,0,90,6],[89,0,90,6],[90,0,90,6],[91,0,90,53],[92,0,90,53],[93,0,91,6]],[[12,0,92,8],[13,0,92,8],[14,0,92,8],[15,0,92,8],[16,0,92,12]],[[12,0,93,8],[13,0,93,8],[14,0,93,8],[15,0,93,8],[16,0,93,8],[17,0,93,8],[18,0,93,14],[19,0,93,14],[20,0,93,16],[21,0,93,16],[22,0,93,18],[23,0,93,18],[24,0,93,18],[25,0,93,18],[26,0,93,22],[27,0,93,22],[28,0,93,24],[29,0,93,24],[30,0,93,26],[31,0,93,26],[32,0,93,26],[33,0,93,26],[34,0,93,26],[35,0,93,26],[36,0,93,26],[37,0,93,26],[38,0,93,26],[39,0,93,26],[40,0,93,26],[41,0,93,26],[42,0,93,26],[43,0,93,26],[44,0,93,40],[45,0,93,40],[46,0,93,42],[47,0,93,42],[48,0,93,44],[49,0,93,44],[50,0,93,46],[51,0,93,46],[52,0,93,48]],[[12,0,94,8],[13,0,94,8],[14,0,94,8],[15,0,94,11],[16,0,94,11],[17,0,94,11],[18,0,94,11],[19,0,94,11],[20,0,94,11],[21,0,94,11],[22,0,94,18]],[[9,0,95,7],[10,0,96,5]],[[8,0,98,4],[9,0,98,4],[10,0,98,4],[11,0,98,4],[12,0,98,4],[13,0,98,4],[14,0,98,4],[15,0,98,11],[16,0,98,11],[17,0,98,11],[18,0,98,11],[19,0,98,11],[20,0,98,11],[21,0,98,11],[22,0,98,11],[23,0,98,11],[24,0,98,11],[25,0,98,11],[26,0,98,11],[27,0,98,11],[28,0,98,11],[29,0,98,11],[30,0,98,11],[31,0,98,11],[32,0,98,11],[33,0,98,11],[34,0,98,11],[35,0,98,11],[36,0,98,11],[37,0,98,11],[38,0,98,11],[39,0,98,11],[40,0,98,11],[41,0,98,11],[42,0,98,11],[43,0,98,11],[44,0,98,11],[45,0,98,11],[46,0,98,11],[47,0,98,28],[48,0,98,28],[49,0,98,29],[50,0,98,29],[51,0,98,29],[52,0,98,29],[53,0,98,33],[54,0,98,34]],[[4,0,99,2]],[[4,0,101,2],[5,0,101,2],[6,0,101,2]],[],[],[],[],[],[],[],[[4,0,109,9],[5,0,109,9],[6,0,109,9],[7,0,109,9],[8,0,109,9],[9,0,109,14],[10,0,109,15],[11,0,109,15],[12,0,109,15],[13,0,109,15],[14,0,109,15],[15,0,109,15],[16,0,109,21],[17,0,110,4],[18,0,110,4],[19,0,110,80],[20,0,110,80],[21,0,111,4],[22,0,111,4],[23,0,111,4],[24,0,111,4],[25,0,111,28],[26,0,111,28],[27,0,112,4],[28,0,112,4],[29,0,112,4],[30,0,112,4],[31,0,112,4],[32,0,112,4],[33,0,112,4],[34,0,112,28],[35,0,112,28],[36,0,112,28]],[[8,0,114,4],[9,0,114,4],[10,0,114,4],[11,0,114,4],[12,0,114,4],[13,0,114,4],[14,0,114,10],[15,0,114,10],[16,0,114,10],[17,0,114,10],[18,0,114,14],[19,0,114,14],[20,0,114,14],[21,0,114,17],[22,0,114,17],[23,0,114,17],[24,0,114,17],[25,0,114,17],[26,0,114,17],[27,0,114,23],[28,0,114,23],[29,0,114,23],[30,0,114,23],[31,0,114,27],[32,0,114,28],[33,0,114,28],[34,0,114,28],[35,0,114,28],[36,0,114,28],[37,0,114,28],[38,0,114,34],[39,0,114,35],[40,0,114,35],[41,0,114,35],[42,0,114,35],[43,0,114,39],[44,0,115,6],[45,0,115,6],[46,0,115,6],[47,0,115,6],[48,0,115,6],[49,0,115,6],[50,0,115,6],[51,0,115,6],[52,0,115,6],[53,0,115,6],[54,0,115,6],[55,0,115,6],[56,0,115,6],[57,0,115,6],[58,0,115,6],[59,0,115,6],[60,0,115,6],[61,0,115,6],[62,0,115,6],[63,0,115,6],[64,0,115,6],[65,0,115,6],[66,0,115,6],[67,0,115,6],[68,0,115,6],[69,0,115,6],[70,0,115,6],[71,0,115,6],[72,0,115,6],[73,0,115,6],[74,0,115,6],[75,0,115,6],[76,0,115,6],[77,0,115,6],[78,0,115,6],[79,0,115,6],[80,0,115,6],[81,0,115,6],[82,0,115,6],[83,0,115,6],[84,0,115,6],[85,0,115,6],[86,0,115,6],[87,0,115,6],[88,0,115,6],[89,0,115,6],[90,0,115,6],[91,0,115,53],[92,0,115,53],[93,0,116,6]],[[12,0,117,8],[13,0,117,8],[14,0,117,8],[15,0,117,8],[16,0,117,12]],[[12,0,118,8],[13,0,118,8],[14,0,118,8],[15,0,118,8],[16,0,118,8],[17,0,118,8],[18,0,118,14],[19,0,118,14],[20,0,118,16],[21,0,118,16],[22,0,118,18],[23,0,118,18],[24,0,118,18],[25,0,118,18],[26,0,118,22],[27,0,118,22],[28,0,118,24],[29,0,118,24],[30,0,118,26],[31,0,118,26],[32,0,118,26],[33,0,118,26],[34,0,118,26],[35,0,118,26],[36,0,118,26],[37,0,118,26],[38,0,118,26],[39,0,118,26],[40,0,118,26],[41,0,118,26],[42,0,118,26],[43,0,118,26],[44,0,118,40],[45,0,118,40],[46,0,118,42],[47,0,118,42],[48,0,118,44],[49,0,118,44],[50,0,118,46],[51,0,118,46],[52,0,118,48]],[[12,0,119,8],[13,0,119,8],[14,0,119,8],[15,0,119,11],[16,0,119,11],[17,0,119,11],[18,0,119,11],[19,0,119,11],[20,0,119,11],[21,0,119,11],[22,0,119,18]],[[9,0,120,7],[10,0,121,5]],[[8,0,123,4],[9,0,123,4],[10,0,123,4],[11,0,123,4],[12,0,123,4],[13,0,123,4],[14,0,123,4],[15,0,123,11],[16,0,123,11],[17,0,123,11],[18,0,123,11],[19,0,123,11],[20,0,123,11],[21,0,123,11],[22,0,123,11],[23,0,123,11],[24,0,123,11],[25,0,123,11],[26,0,123,11],[27,0,123,11],[28,0,123,11],[29,0,123,11],[30,0,123,11],[31,0,123,11],[32,0,123,11],[33,0,123,11],[34,0,123,11],[35,0,123,11],[36,0,123,11],[37,0,123,11],[38,0,123,11],[39,0,123,11],[40,0,123,11],[41,0,123,11],[42,0,123,11],[43,0,123,11],[44,0,123,11],[45,0,123,11],[46,0,123,11],[47,0,123,28],[48,0,123,28],[49,0,123,29],[50,0,123,29],[51,0,123,29],[52,0,123,29],[53,0,123,33],[54,0,123,34]],[[4,0,124,2]],[[4,0,126,2],[5,0,126,2],[6,0,126,2]],[],[],[],[],[],[],[],[[4,0,134,9],[5,0,134,9],[6,0,134,9],[7,0,134,9],[8,0,134,9],[9,0,134,14],[10,0,134,15],[11,0,134,15],[12,0,134,15],[13,0,134,15],[14,0,134,15],[15,0,134,15],[16,0,134,15],[17,0,134,22],[18,0,135,4],[19,0,135,4],[20,0,135,81],[21,0,135,81],[22,0,136,4],[23,0,136,4],[24,0,136,4],[25,0,136,4],[26,0,136,89],[27,0,136,89],[28,0,137,4],[29,0,137,4],[30,0,137,4],[31,0,137,4],[32,0,137,4],[33,0,137,4],[34,0,137,4],[35,0,137,28],[36,0,137,28],[37,0,137,28]],[[8,0,139,4],[9,0,139,4],[10,0,139,4],[11,0,139,4],[12,0,139,4],[13,0,139,4],[14,0,139,10],[15,0,139,10],[16,0,139,10],[17,0,139,10],[18,0,139,14],[19,0,139,14],[20,0,139,14],[21,0,139,17],[22,0,139,17],[23,0,139,17],[24,0,139,17],[25,0,139,17],[26,0,139,17],[27,0,139,23],[28,0,139,23],[29,0,139,23],[30,0,139,23],[31,0,139,27],[32,0,139,28],[33,0,139,28],[34,0,139,28],[35,0,139,28],[36,0,139,28],[37,0,139,28],[38,0,139,34],[39,0,139,35],[40,0,139,35],[41,0,139,35],[42,0,139,35],[43,0,139,39],[44,0,140,6],[45,0,140,6],[46,0,140,6],[47,0,140,6],[48,0,140,6],[49,0,140,6],[50,0,140,6],[51,0,140,6],[52,0,140,6],[53,0,140,6],[54,0,140,6],[55,0,140,6],[56,0,140,6],[57,0,140,6],[58,0,140,6],[59,0,140,6],[60,0,140,6],[61,0,140,6],[62,0,140,6],[63,0,140,6],[64,0,140,6],[65,0,140,6],[66,0,140,6],[67,0,140,6],[68,0,140,6],[69,0,140,6],[70,0,140,6],[71,0,140,6],[72,0,140,6],[73,0,140,6],[74,0,140,6],[75,0,140,6],[76,0,140,6],[77,0,140,6],[78,0,140,6],[79,0,140,6],[80,0,140,6],[81,0,140,6],[82,0,140,6],[83,0,140,6],[84,0,140,6],[85,0,140,6],[86,0,140,6],[87,0,140,6],[88,0,140,6],[89,0,140,6],[90,0,140,6],[91,0,140,6],[92,0,140,54],[93,0,140,54],[94,0,141,6]],[[12,0,142,8],[13,0,142,8],[14,0,142,8],[15,0,142,8],[16,0,142,12]],[[12,0,143,8],[13,0,143,8],[14,0,143,8],[15,0,143,8],[16,0,143,8],[17,0,143,8],[18,0,143,14],[19,0,143,14],[20,0,143,16],[21,0,143,16],[22,0,143,18],[23,0,143,18],[24,0,143,18],[25,0,143,18],[26,0,143,22],[27,0,143,22],[28,0,143,24],[29,0,143,24],[30,0,143,26],[31,0,143,26],[32,0,143,26],[33,0,143,26],[34,0,143,26],[35,0,143,26],[36,0,143,26],[37,0,143,26],[38,0,143,26],[39,0,143,26],[40,0,143,26],[41,0,143,26],[42,0,143,26],[43,0,143,26],[44,0,143,40],[45,0,143,40],[46,0,143,42],[47,0,143,42],[48,0,143,44],[49,0,143,44],[50,0,143,46],[51,0,143,46],[52,0,143,48]],[[12,0,144,8],[13,0,144,8],[14,0,144,8],[15,0,144,11],[16,0,144,11],[17,0,144,11],[18,0,144,11],[19,0,144,11],[20,0,144,11],[21,0,144,11],[22,0,144,18]],[[9,0,145,7],[10,0,146,5]],[[8,0,148,4],[9,0,148,4],[10,0,148,4],[11,0,148,4],[12,0,148,4],[13,0,148,4],[14,0,148,4],[15,0,148,11],[16,0,148,11],[17,0,148,11],[18,0,148,11],[19,0,148,11],[20,0,148,11],[21,0,148,11],[22,0,148,11],[23,0,148,11],[24,0,148,11],[25,0,148,11],[26,0,148,11],[27,0,148,11],[28,0,148,11],[29,0,148,11],[30,0,148,11],[31,0,148,11],[32,0,148,11],[33,0,148,11],[34,0,148,11],[35,0,148,11],[36,0,148,11],[37,0,148,11],[38,0,148,11],[39,0,148,11],[40,0,148,11],[41,0,148,11],[42,0,148,11],[43,0,148,11],[44,0,148,11],[45,0,148,11],[46,0,148,11],[47,0,148,28],[48,0,148,28],[49,0,148,29],[50,0,148,29],[51,0,148,29],[52,0,148,29],[53,0,148,33],[54,0,148,34]],[[4,0,149,2]],[[4,0,151,2],[5,0,151,2],[6,0,151,2]],[],[],[],[],[],[[4,0,157,9],[5,0,157,9],[6,0,157,9],[7,0,157,9],[8,0,157,9],[9,0,157,14],[10,0,157,15],[11,0,157,15],[12,0,157,15],[13,0,157,15],[14,0,157,15],[15,0,157,15],[16,0,157,15],[17,0,157,15],[18,0,157,15],[19,0,157,15],[20,0,157,15],[21,0,157,15],[22,0,157,15],[23,0,157,15],[24,0,157,15],[25,0,157,15],[26,0,157,15],[27,0,157,15],[28,0,157,15],[29,0,157,15],[30,0,157,15],[31,0,157,36],[32,0,158,4],[33,0,158,4],[34,0,158,83],[35,0,158,83],[36,0,159,4],[37,0,159,4],[38,0,159,4],[39,0,159,4],[40,0,159,4],[41,0,159,4],[42,0,159,4],[43,0,159,28],[44,0,159,28],[45,0,159,28]],[[8,0,161,4],[9,0,161,4],[10,0,161,4],[11,0,161,4],[12,0,161,4],[13,0,161,4],[14,0,161,10],[15,0,161,10],[16,0,161,10],[17,0,161,10],[18,0,161,14],[19,0,161,14],[20,0,161,14],[21,0,161,17],[22,0,161,17],[23,0,161,17],[24,0,161,17],[25,0,161,17],[26,0,161,17],[27,0,161,23],[28,0,161,23],[29,0,161,23],[30,0,161,23],[31,0,161,27],[32,0,161,28],[33,0,161,28],[34,0,161,28],[35,0,161,28],[36,0,161,28],[37,0,161,28],[38,0,161,34],[39,0,161,35],[40,0,161,35],[41,0,161,35],[42,0,161,35],[43,0,161,39],[44,0,162,6],[45,0,162,6],[46,0,162,6],[47,0,162,6],[48,0,162,6],[49,0,162,6],[50,0,162,6],[51,0,162,6],[52,0,162,6],[53,0,162,6],[54,0,162,6],[55,0,162,6],[56,0,162,6],[57,0,162,6],[58,0,162,6],[59,0,162,6],[60,0,162,6],[61,0,162,6],[62,0,162,6],[63,0,162,6],[64,0,162,6],[65,0,162,6],[66,0,162,6],[67,0,162,6],[68,0,162,6],[69,0,162,6],[70,0,162,6],[71,0,162,6],[72,0,162,6],[73,0,162,6],[74,0,162,6],[75,0,162,6],[76,0,162,6],[77,0,162,6],[78,0,162,6],[79,0,162,6],[80,0,162,6],[81,0,162,6],[82,0,162,6],[83,0,162,6],[84,0,162,6],[85,0,162,6],[86,0,162,6],[87,0,162,6],[88,0,162,6],[89,0,162,6],[90,0,162,6],[91,0,162,6],[92,0,162,6],[93,0,162,6],[94,0,162,6],[95,0,162,6],[96,0,162,6],[97,0,162,6],[98,0,162,6],[99,0,162,6],[100,0,162,6],[101,0,162,6],[102,0,162,6],[103,0,162,6],[104,0,162,6],[105,0,162,6],[106,0,162,6],[107,0,162,69],[108,0,162,69],[109,0,163,6]],[[12,0,164,8],[13,0,164,8],[14,0,164,8],[15,0,164,8],[16,0,164,8],[17,0,164,8],[18,0,164,14],[19,0,164,14],[20,0,164,16],[21,0,164,16],[22,0,164,18],[23,0,164,18],[24,0,164,18],[25,0,164,18],[26,0,164,22],[27,0,164,22],[28,0,164,24],[29,0,164,24],[30,0,164,26],[31,0,164,26],[32,0,164,26],[33,0,164,26],[34,0,164,26],[35,0,164,26],[36,0,164,26],[37,0,164,26],[38,0,164,26],[39,0,164,26],[40,0,164,26],[41,0,164,26],[42,0,164,26],[43,0,164,26],[44,0,164,40],[45,0,164,40],[46,0,164,42],[47,0,164,42],[48,0,164,44],[49,0,164,44],[50,0,164,46],[51,0,164,46],[52,0,164,48]],[[12,0,165,8],[13,0,165,8],[14,0,165,8],[15,0,165,11],[16,0,165,11],[17,0,165,11],[18,0,165,11],[19,0,165,11],[20,0,165,11],[21,0,165,11],[22,0,165,18]],[[9,0,166,7],[10,0,167,5]],[[8,0,169,4],[9,0,169,4],[10,0,169,4],[11,0,169,4],[12,0,169,4],[13,0,169,4],[14,0,169,4],[15,0,169,11],[16,0,169,11],[17,0,169,11],[18,0,169,11],[19,0,169,11],[20,0,169,11],[21,0,169,11],[22,0,169,11],[23,0,169,11],[24,0,169,11],[25,0,169,11],[26,0,169,11],[27,0,169,11],[28,0,169,11],[29,0,169,11],[30,0,169,11],[31,0,169,11],[32,0,169,11],[33,0,169,11],[34,0,169,11],[35,0,169,11],[36,0,169,11],[37,0,169,11],[38,0,169,11],[39,0,169,11],[40,0,169,11],[41,0,169,11],[42,0,169,11],[43,0,169,11],[44,0,169,11],[45,0,169,11],[46,0,169,11],[47,0,169,28],[48,0,169,28],[49,0,169,29],[50,0,169,29],[51,0,169,29],[52,0,169,29],[53,0,169,33],[54,0,169,34]],[[4,0,170,2]],[[4,0,172,2],[5,0,172,2],[6,0,172,2]],[],[],[],[],[],[],[[4,0,179,9],[5,0,179,9],[6,0,179,9],[7,0,179,9],[8,0,179,9],[9,0,179,14],[10,0,179,15],[11,0,179,15],[12,0,179,15],[13,0,179,15],[14,0,179,15],[15,0,179,15],[16,0,179,21],[17,0,180,4],[18,0,180,4],[19,0,180,4],[20,0,180,4],[21,0,180,4],[22,0,180,4],[23,0,180,4],[24,0,180,4],[25,0,180,4],[26,0,180,4],[27,0,180,4],[28,0,180,4],[29,0,180,4],[30,0,180,4],[31,0,180,92],[32,0,180,92],[33,0,181,4],[34,0,181,4],[35,0,181,4],[36,0,181,4],[37,0,181,4],[38,0,181,4],[39,0,181,4],[40,0,181,28],[41,0,181,28],[42,0,181,28]],[[8,0,183,4],[9,0,183,4],[10,0,183,4],[11,0,183,4],[12,0,183,4],[13,0,183,4],[14,0,183,10],[15,0,183,10],[16,0,183,10],[17,0,183,10],[18,0,183,14],[19,0,183,14],[20,0,183,14],[21,0,183,17],[22,0,183,17],[23,0,183,17],[24,0,183,17],[25,0,183,17],[26,0,183,17],[27,0,183,23],[28,0,183,23],[29,0,183,23],[30,0,183,23],[31,0,183,27],[32,0,183,28],[33,0,183,28],[34,0,183,28],[35,0,183,28],[36,0,183,28],[37,0,183,28],[38,0,183,34],[39,0,183,35],[40,0,183,35],[41,0,183,35],[42,0,183,35],[43,0,183,35],[44,0,183,35],[45,0,183,41],[46,0,184,6],[47,0,184,6],[48,0,184,6],[49,0,184,6],[50,0,184,6],[51,0,184,6],[52,0,184,6],[53,0,184,6],[54,0,184,6],[55,0,184,6],[56,0,184,6],[57,0,184,6],[58,0,184,6],[59,0,184,6],[60,0,184,6],[61,0,184,6],[62,0,184,6],[63,0,184,6],[64,0,184,6],[65,0,184,6],[66,0,184,6],[67,0,184,6],[68,0,184,6],[69,0,184,6],[70,0,184,6],[71,0,184,6],[72,0,184,6],[73,0,184,6],[74,0,184,6],[75,0,184,6],[76,0,184,6],[77,0,184,6],[78,0,184,6],[79,0,184,6],[80,0,184,6],[81,0,184,6],[82,0,184,6],[83,0,184,6],[84,0,184,6],[85,0,184,6],[86,0,184,46],[87,0,184,46],[88,0,185,6]],[[12,0,186,8],[13,0,186,8],[14,0,186,8],[15,0,186,8],[16,0,186,8],[17,0,186,8],[18,0,186,14],[19,0,186,14],[20,0,186,16]],[[16,0,187,10],[17,0,187,10],[18,0,187,10],[19,0,187,10],[20,0,187,14],[21,0,187,14],[22,0,187,16],[23,0,187,16],[24,0,187,18],[25,0,187,18],[26,0,187,18],[27,0,187,18],[28,0,187,18],[29,0,187,18],[30,0,187,18],[31,0,187,18],[32,0,187,18],[33,0,187,18],[34,0,187,18],[35,0,187,18],[36,0,187,18],[37,0,187,18],[38,0,187,32],[39,0,187,32],[40,0,187,34]],[[13,0,188,9]],[[12,0,189,8],[13,0,189,8],[14,0,189,8],[15,0,189,11],[16,0,189,11],[17,0,189,11],[18,0,189,11],[19,0,189,11],[20,0,189,11],[21,0,189,11],[22,0,189,18]],[[9,0,190,7],[10,0,191,5]],[[8,0,193,4],[9,0,193,4],[10,0,193,4],[11,0,193,4],[12,0,193,4],[13,0,193,4],[14,0,193,4],[15,0,193,11],[16,0,193,11],[17,0,193,11],[18,0,193,11],[19,0,193,11],[20,0,193,11],[21,0,193,11],[22,0,193,11],[23,0,193,11],[24,0,193,11],[25,0,193,11],[26,0,193,11],[27,0,193,11],[28,0,193,11],[29,0,193,11],[30,0,193,11],[31,0,193,11],[32,0,193,11],[33,0,193,11],[34,0,193,11],[35,0,193,11],[36,0,193,11],[37,0,193,11],[38,0,193,11],[39,0,193,11],[40,0,193,11],[41,0,193,11],[42,0,193,11],[43,0,193,11],[44,0,193,11],[45,0,193,11],[46,0,193,11],[47,0,193,28],[48,0,193,28],[49,0,193,29],[50,0,193,29],[51,0,193,29],[52,0,193,29],[53,0,193,33],[54,0,193,34]],[[4,0,194,2]],[],[[0,0,14,0],[1,0,14,0],[2,0,14,0],[3,0,14,0],[4,0,14,0],[5,0,14,0],[6,0,14,0],[7,0,14,0],[8,0,14,0],[9,0,14,0],[10,0,14,0],[11,0,14,0],[12,0,14,0],[13,0,14,0],[14,0,14,0],[15,0,14,0],[16,0,14,0],[17,0,14,0],[18,0,14,0],[19,0,14,0],[20,0,14,0],[21,0,14,0],[22,0,14,0],[23,0,14,0],[24,0,14,0],[25,0,14,0],[26,0,14,0],[27,0,14,0],[28,0,14,0],[29,0,14,0],[30,0,14,0],[31,0,14,0],[32,0,14,0],[33,0,14,0],[34,0,14,0],[35,0,14,0],[36,0,14,0],[37,0,14,0]]],"ignoreList":[]}
|