@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,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Events = void 0;
|
|
4
|
+
exports.setDefaultsForEvent = setDefaultsForEvent;
|
|
5
|
+
const utils_js_1 = require("./utils.cjs");
|
|
6
|
+
/**
|
|
7
|
+
* Events are used to track usage of your product or service.
|
|
8
|
+
* Events are processed asynchronously by the meters, so they may not be immediately available for querying.
|
|
9
|
+
*/
|
|
10
|
+
class Events {
|
|
11
|
+
client;
|
|
12
|
+
constructor(client) {
|
|
13
|
+
this.client = client;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Ingests an event or batch of events
|
|
17
|
+
* @param events - The events to ingest
|
|
18
|
+
* @param signal - An optional abort signal
|
|
19
|
+
* @returns The ingested events
|
|
20
|
+
*/
|
|
21
|
+
async ingest(events, options) {
|
|
22
|
+
const body = await Promise.all((Array.isArray(events) ? events : [events]).map(setDefaultsForEvent));
|
|
23
|
+
const resp = await this.client.POST('/api/v1/events', {
|
|
24
|
+
body,
|
|
25
|
+
headers: {
|
|
26
|
+
'Content-Type': 'application/cloudevents-batch+json',
|
|
27
|
+
},
|
|
28
|
+
...options,
|
|
29
|
+
});
|
|
30
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* List events
|
|
34
|
+
* @param params - The query parameters
|
|
35
|
+
* @param options - Optional request options
|
|
36
|
+
* @returns The events
|
|
37
|
+
*/
|
|
38
|
+
async list(params, options) {
|
|
39
|
+
const resp = await this.client.GET('/api/v1/events', {
|
|
40
|
+
params: { query: params },
|
|
41
|
+
...options,
|
|
42
|
+
});
|
|
43
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* List events (V2)
|
|
47
|
+
* @description List ingested events with advanced filtering and cursor pagination.
|
|
48
|
+
* @param params - The query parameters
|
|
49
|
+
* @param options - Optional request options
|
|
50
|
+
* @returns The events
|
|
51
|
+
*/
|
|
52
|
+
async listV2(params, options) {
|
|
53
|
+
const resp = await this.client.GET('/api/v2/events', {
|
|
54
|
+
params: { query: params },
|
|
55
|
+
...options,
|
|
56
|
+
});
|
|
57
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.Events = Events;
|
|
61
|
+
/**
|
|
62
|
+
* Sets the defaults for an event
|
|
63
|
+
* @param ev - The event to set the defaults for
|
|
64
|
+
* @returns The event with the defaults set
|
|
65
|
+
*/
|
|
66
|
+
async function setDefaultsForEvent(ev) {
|
|
67
|
+
return {
|
|
68
|
+
...ev,
|
|
69
|
+
id: ev.id ?? (await generateId()),
|
|
70
|
+
source: ev.source ?? '@openmeter/sdk',
|
|
71
|
+
specversion: ev.specversion ?? '1.0',
|
|
72
|
+
time: ev.time ?? new Date(),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
let _randomUUID;
|
|
76
|
+
// One-off attempt to load node:crypto and capture randomUUID (if present)
|
|
77
|
+
async function loadUUIDProvider() {
|
|
78
|
+
if (_randomUUID !== undefined) {
|
|
79
|
+
// already tried
|
|
80
|
+
return _randomUUID;
|
|
81
|
+
}
|
|
82
|
+
try {
|
|
83
|
+
const c = await import('node:crypto');
|
|
84
|
+
if (typeof c.randomUUID === 'function') {
|
|
85
|
+
// available
|
|
86
|
+
_randomUUID = c.randomUUID.bind(c);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
catch {
|
|
90
|
+
// not-available
|
|
91
|
+
}
|
|
92
|
+
return _randomUUID;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Generates a random ID
|
|
96
|
+
* @returns A random ID
|
|
97
|
+
*/
|
|
98
|
+
async function generateId() {
|
|
99
|
+
const randomUUID = await loadUUIDProvider();
|
|
100
|
+
if (randomUUID) {
|
|
101
|
+
return randomUUID();
|
|
102
|
+
}
|
|
103
|
+
// Fallback to semi-random ID
|
|
104
|
+
const bytes = new Uint8Array(16);
|
|
105
|
+
for (let i = 0; i < 16; i++) {
|
|
106
|
+
bytes[i] = (Math.random() * 256) | 0;
|
|
107
|
+
}
|
|
108
|
+
bytes[6] = (bytes[6] & 0x0f) | 0x40;
|
|
109
|
+
bytes[8] = (bytes[8] & 0x3f) | 0x80;
|
|
110
|
+
const hex = [...bytes].map((b) => b.toString(16).padStart(2, '0')).join('');
|
|
111
|
+
return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}-${hex.slice(16, 20)}-${hex.slice(20)}`;
|
|
112
|
+
}
|
|
113
|
+
//# sourceMappingURL=events.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.cjs","names":[],"sources":["../../../../src/client/events.ts"],"sourcesContent":[null],"mappings":[[],[],[],[[0,0,77,0],[1,0,77,0],[2,0,77,0],[3,0,77,0],[4,0,77,0],[5,0,77,0],[6,0,77,0],[7,0,77,0],[8,0,77,0],[9,0,77,0],[10,0,77,0],[11,0,77,0],[12,0,77,0],[13,0,77,0],[14,0,77,0],[15,0,77,0],[16,0,77,0],[17,0,77,0],[18,0,77,0],[19,0,77,0],[20,0,77,0],[21,0,77,0],[22,0,77,0],[23,0,77,0],[24,0,77,0],[25,0,77,0],[26,0,77,0],[27,0,77,0],[28,0,77,0],[29,0,77,0],[30,0,77,0],[31,0,77,0],[32,0,77,0],[33,0,77,0],[34,0,77,0],[35,0,77,0],[36,0,77,0],[37,0,77,0],[38,0,77,0],[39,0,77,0],[40,0,77,0],[41,0,77,0],[42,0,77,0],[43,0,77,0],[44,0,77,0],[45,0,77,0],[46,0,77,0],[47,0,77,0],[48,0,77,0],[49,0,77,0]],[[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,19],[13,0,9,19]],[[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,18,9],[5,0,18,9],[6,0,18,9],[7,0,18,9],[8,0,18,9],[9,0,18,14],[10,0,18,15],[11,0,18,15],[12,0,18,15],[13,0,18,15],[14,0,18,15],[15,0,18,15],[16,0,18,21],[17,0,18,22],[18,0,18,22],[19,0,18,22],[20,0,18,22],[21,0,18,22],[22,0,18,22],[23,0,18,45],[24,0,18,45],[25,0,18,47],[26,0,18,47],[27,0,18,47],[28,0,18,47],[29,0,18,47],[30,0,18,47],[31,0,18,47],[32,0,18,71],[33,0,18,71],[34,0,18,71]],[[8,0,19,4],[9,0,19,4],[10,0,19,4],[11,0,19,4],[12,0,19,4],[13,0,19,4],[14,0,19,10],[15,0,19,10],[16,0,19,10],[17,0,19,10],[18,0,19,14],[19,0,19,14],[20,0,19,14],[21,0,19,17],[22,0,19,17],[23,0,19,17],[24,0,19,17],[25,0,19,17],[26,0,19,17],[27,0,19,23],[28,0,19,23],[29,0,19,23],[30,0,19,23],[31,0,19,23],[32,0,19,23],[33,0,19,23],[34,0,19,30],[35,0,19,31],[36,0,19,31],[37,0,19,31],[38,0,19,34],[39,0,20,6],[40,0,20,7],[41,0,20,7],[42,0,20,7],[43,0,20,7],[44,0,20,7],[45,0,20,12],[46,0,20,13],[47,0,20,13],[48,0,20,13],[49,0,20,13],[50,0,20,13],[51,0,20,13],[52,0,20,13],[53,0,20,20],[54,0,20,21],[55,0,20,21],[56,0,20,21],[57,0,20,21],[58,0,20,21],[59,0,20,21],[60,0,20,27],[61,0,20,28],[62,0,20,29],[63,0,20,30],[64,0,20,31],[65,0,20,31],[66,0,20,31],[67,0,20,31],[68,0,20,31],[69,0,20,31],[70,0,20,37],[71,0,20,38],[72,0,20,39],[73,0,20,40],[74,0,20,41],[75,0,20,41],[76,0,20,41],[77,0,20,41],[78,0,20,41],[79,0,20,41],[80,0,20,47],[81,0,20,48],[82,0,20,49],[83,0,20,50],[84,0,20,50],[85,0,20,50],[86,0,20,53],[87,0,20,54],[88,0,20,54],[89,0,20,54],[90,0,20,54],[91,0,20,54],[92,0,20,54],[93,0,20,54],[94,0,20,54],[95,0,20,54],[96,0,20,54],[97,0,20,54],[98,0,20,54],[99,0,20,54],[100,0,20,54],[101,0,20,54],[102,0,20,54],[103,0,20,54],[104,0,20,54],[105,0,20,54],[106,0,20,73],[107,0,20,74],[108,0,21,5]],[[8,0,23,4],[9,0,23,4],[10,0,23,4],[11,0,23,4],[12,0,23,4],[13,0,23,4],[14,0,23,10],[15,0,23,10],[16,0,23,10],[17,0,23,10],[18,0,23,14],[19,0,23,14],[20,0,23,14],[21,0,23,17],[22,0,23,17],[23,0,23,17],[24,0,23,17],[25,0,23,17],[26,0,23,17],[27,0,23,23],[28,0,23,23],[29,0,23,23],[30,0,23,23],[31,0,23,27],[32,0,23,28],[33,0,23,28],[34,0,23,28],[35,0,23,28],[36,0,23,28],[37,0,23,28],[38,0,23,34],[39,0,23,35],[40,0,23,35],[41,0,23,35],[42,0,23,35],[43,0,23,39],[44,0,23,40],[45,0,23,40],[46,0,23,40],[47,0,23,40],[48,0,23,40],[49,0,23,40],[50,0,23,40],[51,0,23,40],[52,0,23,40],[53,0,23,40],[54,0,23,40],[55,0,23,40],[56,0,23,40],[57,0,23,40],[58,0,23,40],[59,0,23,40],[60,0,23,56],[61,0,23,56],[62,0,23,58]],[[12,0,24,6],[13,0,24,6],[14,0,24,6],[15,0,24,6],[16,0,24,10]],[[12,0,25,6],[13,0,25,6],[14,0,25,6],[15,0,25,6],[16,0,25,6],[17,0,25,6],[18,0,25,6],[19,0,25,13],[20,0,25,13],[21,0,25,15]],[[16,0,26,8],[17,0,26,8],[18,0,26,8],[19,0,26,8],[20,0,26,8],[21,0,26,8],[22,0,26,8],[23,0,26,8],[24,0,26,8],[25,0,26,8],[26,0,26,8],[27,0,26,8],[28,0,26,8],[29,0,26,8],[30,0,26,22],[31,0,26,22],[32,0,26,24],[33,0,26,24],[34,0,26,24],[35,0,26,24],[36,0,26,24],[37,0,26,24],[38,0,26,24],[39,0,26,24],[40,0,26,24],[41,0,26,24],[42,0,26,24],[43,0,26,24],[44,0,26,24],[45,0,26,24],[46,0,26,24],[47,0,26,24],[48,0,26,24],[49,0,26,24],[50,0,26,24],[51,0,26,24],[52,0,26,24],[53,0,26,24],[54,0,26,24],[55,0,26,24],[56,0,26,24],[57,0,26,24],[58,0,26,24],[59,0,26,24],[60,0,26,24],[61,0,26,24],[62,0,26,24],[63,0,26,24],[64,0,26,24],[65,0,26,24],[66,0,26,24],[67,0,26,24],[68,0,26,60]],[[13,0,27,7]],[[12,0,28,6],[13,0,28,6],[14,0,28,6],[15,0,28,9],[16,0,28,9],[17,0,28,9],[18,0,28,9],[19,0,28,9],[20,0,28,9],[21,0,28,9],[22,0,28,16]],[[9,0,29,5],[10,0,29,6]],[[8,0,31,4],[9,0,31,4],[10,0,31,4],[11,0,31,4],[12,0,31,4],[13,0,31,4],[14,0,31,4],[15,0,31,11],[16,0,31,11],[17,0,31,11],[18,0,31,11],[19,0,31,11],[20,0,31,11],[21,0,31,11],[22,0,31,11],[23,0,31,11],[24,0,31,11],[25,0,31,11],[26,0,31,11],[27,0,31,11],[28,0,31,11],[29,0,31,11],[30,0,31,11],[31,0,31,11],[32,0,31,11],[33,0,31,11],[34,0,31,11],[35,0,31,11],[36,0,31,11],[37,0,31,11],[38,0,31,11],[39,0,31,11],[40,0,31,11],[41,0,31,11],[42,0,31,11],[43,0,31,11],[44,0,31,11],[45,0,31,11],[46,0,31,11],[47,0,31,28],[48,0,31,28],[49,0,31,29],[50,0,31,29],[51,0,31,29],[52,0,31,29],[53,0,31,33],[54,0,31,34]],[[4,0,32,2]],[[4,0,34,2],[5,0,34,2],[6,0,34,2]],[],[],[],[],[],[[4,0,40,9],[5,0,40,9],[6,0,40,9],[7,0,40,9],[8,0,40,9],[9,0,40,14],[10,0,40,15],[11,0,40,15],[12,0,40,15],[13,0,40,15],[14,0,40,19],[15,0,41,4],[16,0,41,4],[17,0,41,4],[18,0,41,4],[19,0,41,4],[20,0,41,4],[21,0,41,60],[22,0,41,60],[23,0,42,4],[24,0,42,4],[25,0,42,4],[26,0,42,4],[27,0,42,4],[28,0,42,4],[29,0,42,4],[30,0,42,28],[31,0,42,28],[32,0,42,28]],[[8,0,44,4],[9,0,44,4],[10,0,44,4],[11,0,44,4],[12,0,44,4],[13,0,44,4],[14,0,44,10],[15,0,44,10],[16,0,44,10],[17,0,44,10],[18,0,44,14],[19,0,44,14],[20,0,44,14],[21,0,44,17],[22,0,44,17],[23,0,44,17],[24,0,44,17],[25,0,44,17],[26,0,44,17],[27,0,44,23],[28,0,44,23],[29,0,44,23],[30,0,44,23],[31,0,44,27],[32,0,44,28],[33,0,44,28],[34,0,44,28],[35,0,44,28],[36,0,44,28],[37,0,44,28],[38,0,44,34],[39,0,44,35],[40,0,44,35],[41,0,44,35],[42,0,44,38],[43,0,44,39],[44,0,44,39],[45,0,44,39],[46,0,44,39],[47,0,44,39],[48,0,44,39],[49,0,44,39],[50,0,44,39],[51,0,44,39],[52,0,44,39],[53,0,44,39],[54,0,44,39],[55,0,44,39],[56,0,44,39],[57,0,44,39],[58,0,44,39],[59,0,44,55],[60,0,44,55],[61,0,44,57]],[[12,0,45,6],[13,0,45,6],[14,0,45,6],[15,0,45,6],[16,0,45,6],[17,0,45,6],[18,0,45,12],[19,0,45,12],[20,0,45,14],[21,0,45,14],[22,0,45,16],[23,0,45,16],[24,0,45,16],[25,0,45,16],[26,0,45,16],[27,0,45,21],[28,0,45,21],[29,0,45,23],[30,0,45,23],[31,0,45,23],[32,0,45,23],[33,0,45,23],[34,0,45,23],[35,0,45,29],[36,0,45,29],[37,0,45,31]],[[12,0,46,6],[13,0,46,6],[14,0,46,6],[15,0,46,9],[16,0,46,9],[17,0,46,9],[18,0,46,9],[19,0,46,9],[20,0,46,9],[21,0,46,9],[22,0,46,16]],[[9,0,47,5],[10,0,47,6]],[[8,0,49,4],[9,0,49,4],[10,0,49,4],[11,0,49,4],[12,0,49,4],[13,0,49,4],[14,0,49,4],[15,0,49,11],[16,0,49,11],[17,0,49,11],[18,0,49,11],[19,0,49,11],[20,0,49,11],[21,0,49,11],[22,0,49,11],[23,0,49,11],[24,0,49,11],[25,0,49,11],[26,0,49,11],[27,0,49,11],[28,0,49,11],[29,0,49,11],[30,0,49,11],[31,0,49,11],[32,0,49,11],[33,0,49,11],[34,0,49,11],[35,0,49,11],[36,0,49,11],[37,0,49,11],[38,0,49,11],[39,0,49,11],[40,0,49,11],[41,0,49,11],[42,0,49,11],[43,0,49,11],[44,0,49,11],[45,0,49,11],[46,0,49,11],[47,0,49,28],[48,0,49,28],[49,0,49,29],[50,0,49,29],[51,0,49,29],[52,0,49,29],[53,0,49,33],[54,0,49,34]],[[4,0,50,2]],[[4,0,52,2],[5,0,52,2],[6,0,52,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,15],[15,0,59,15],[16,0,59,21],[17,0,60,4],[18,0,60,4],[19,0,60,4],[20,0,60,4],[21,0,60,4],[22,0,60,4],[23,0,60,62],[24,0,60,62],[25,0,61,4],[26,0,61,4],[27,0,61,4],[28,0,61,4],[29,0,61,4],[30,0,61,4],[31,0,61,4],[32,0,61,28],[33,0,61,28],[34,0,61,28]],[[8,0,63,4],[9,0,63,4],[10,0,63,4],[11,0,63,4],[12,0,63,4],[13,0,63,4],[14,0,63,10],[15,0,63,10],[16,0,63,10],[17,0,63,10],[18,0,63,14],[19,0,63,14],[20,0,63,14],[21,0,63,17],[22,0,63,17],[23,0,63,17],[24,0,63,17],[25,0,63,17],[26,0,63,17],[27,0,63,23],[28,0,63,23],[29,0,63,23],[30,0,63,23],[31,0,63,27],[32,0,63,28],[33,0,63,28],[34,0,63,28],[35,0,63,28],[36,0,63,28],[37,0,63,28],[38,0,63,34],[39,0,63,35],[40,0,63,35],[41,0,63,35],[42,0,63,38],[43,0,63,39],[44,0,63,39],[45,0,63,39],[46,0,63,39],[47,0,63,39],[48,0,63,39],[49,0,63,39],[50,0,63,39],[51,0,63,39],[52,0,63,39],[53,0,63,39],[54,0,63,39],[55,0,63,39],[56,0,63,39],[57,0,63,39],[58,0,63,39],[59,0,63,55],[60,0,63,55],[61,0,63,57]],[[12,0,64,6],[13,0,64,6],[14,0,64,6],[15,0,64,6],[16,0,64,6],[17,0,64,6],[18,0,64,12],[19,0,64,12],[20,0,64,14],[21,0,64,14],[22,0,64,16],[23,0,64,16],[24,0,64,16],[25,0,64,16],[26,0,64,16],[27,0,64,21],[28,0,64,21],[29,0,64,23],[30,0,64,23],[31,0,64,23],[32,0,64,23],[33,0,64,23],[34,0,64,23],[35,0,64,29],[36,0,64,29],[37,0,64,31]],[[12,0,65,6],[13,0,65,6],[14,0,65,6],[15,0,65,9],[16,0,65,9],[17,0,65,9],[18,0,65,9],[19,0,65,9],[20,0,65,9],[21,0,65,9],[22,0,65,16]],[[9,0,66,5],[10,0,66,6]],[[8,0,68,4],[9,0,68,4],[10,0,68,4],[11,0,68,4],[12,0,68,4],[13,0,68,4],[14,0,68,4],[15,0,68,11],[16,0,68,11],[17,0,68,11],[18,0,68,11],[19,0,68,11],[20,0,68,11],[21,0,68,11],[22,0,68,11],[23,0,68,11],[24,0,68,11],[25,0,68,11],[26,0,68,11],[27,0,68,11],[28,0,68,11],[29,0,68,11],[30,0,68,11],[31,0,68,11],[32,0,68,11],[33,0,68,11],[34,0,68,11],[35,0,68,11],[36,0,68,11],[37,0,68,11],[38,0,68,11],[39,0,68,11],[40,0,68,11],[41,0,68,11],[42,0,68,11],[43,0,68,11],[44,0,68,11],[45,0,68,11],[46,0,68,11],[47,0,68,28],[48,0,68,28],[49,0,68,29],[50,0,68,29],[51,0,68,29],[52,0,68,29],[53,0,68,33],[54,0,68,34]],[[4,0,69,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]],[[0,0,72,0],[1,0,72,0],[2,0,72,0]],[],[],[],[],[[0,0,77,7],[1,0,77,7],[2,0,77,7],[3,0,77,7],[4,0,77,7],[5,0,77,12],[6,0,77,12],[7,0,77,12],[8,0,77,12],[9,0,77,12],[10,0,77,12],[11,0,77,12],[12,0,77,12],[13,0,77,12],[14,0,77,12],[15,0,77,22],[16,0,77,22],[17,0,77,22],[18,0,77,22],[19,0,77,22],[20,0,77,22],[21,0,77,22],[22,0,77,22],[23,0,77,22],[24,0,77,22],[25,0,77,22],[26,0,77,22],[27,0,77,22],[28,0,77,22],[29,0,77,22],[30,0,77,22],[31,0,77,22],[32,0,77,22],[33,0,77,22],[34,0,77,41],[35,0,77,42],[36,0,77,42],[37,0,77,51],[38,0,77,51],[39,0,77,51]],[[4,0,78,2],[5,0,78,2],[6,0,78,2],[7,0,78,2],[8,0,78,2],[9,0,78,2],[10,0,78,2],[11,0,78,9]],[[8,0,79,4],[9,0,79,4],[10,0,79,4],[11,0,79,7],[12,0,79,7],[13,0,79,9]],[[8,0,80,4],[9,0,80,4],[10,0,80,6],[11,0,80,6],[12,0,80,8],[13,0,80,8],[14,0,80,10],[15,0,80,11],[16,0,80,11],[17,0,80,13],[18,0,80,13],[19,0,80,13],[20,0,80,13],[21,0,80,17],[22,0,80,18],[23,0,80,18],[24,0,80,18],[25,0,80,18],[26,0,80,18],[27,0,80,18],[28,0,80,24],[29,0,80,24],[30,0,80,24],[31,0,80,24],[32,0,80,24],[33,0,80,24],[34,0,80,24],[35,0,80,24],[36,0,80,24],[37,0,80,24],[38,0,80,34],[39,0,80,34],[40,0,80,36],[41,0,80,37]],[[8,0,81,4],[9,0,81,4],[10,0,81,4],[11,0,81,4],[12,0,81,4],[13,0,81,4],[14,0,81,10],[15,0,81,10],[16,0,81,12],[17,0,81,12],[18,0,81,14],[19,0,81,15],[20,0,81,15],[21,0,81,15],[22,0,81,15],[23,0,81,15],[24,0,81,15],[25,0,81,21],[26,0,81,21],[27,0,81,21],[28,0,81,21],[29,0,81,25],[30,0,81,25],[31,0,81,25],[32,0,81,25],[33,0,81,25],[34,0,81,25],[35,0,81,25],[36,0,81,25],[37,0,81,25],[38,0,81,25],[39,0,81,25],[40,0,81,25],[41,0,81,25],[42,0,81,25],[43,0,81,25],[44,0,81,25],[45,0,81,41]],[[8,0,82,4],[9,0,82,4],[10,0,82,4],[11,0,82,4],[12,0,82,4],[13,0,82,4],[14,0,82,4],[15,0,82,4],[16,0,82,4],[17,0,82,4],[18,0,82,4],[19,0,82,15],[20,0,82,15],[21,0,82,17],[22,0,82,17],[23,0,82,19],[24,0,82,20],[25,0,82,20],[26,0,82,20],[27,0,82,20],[28,0,82,20],[29,0,82,20],[30,0,82,20],[31,0,82,20],[32,0,82,20],[33,0,82,20],[34,0,82,20],[35,0,82,31],[36,0,82,31],[37,0,82,31],[38,0,82,31],[39,0,82,35],[40,0,82,35],[41,0,82,35],[42,0,82,35],[43,0,82,35],[44,0,82,40]],[[8,0,83,4],[9,0,83,4],[10,0,83,4],[11,0,83,4],[12,0,83,8],[13,0,83,8],[14,0,83,10],[15,0,83,10],[16,0,83,12],[17,0,83,13],[18,0,83,13],[19,0,83,13],[20,0,83,13],[21,0,83,17],[22,0,83,17],[23,0,83,17],[24,0,83,17],[25,0,83,21],[26,0,83,21],[27,0,83,21],[28,0,83,21],[29,0,83,25],[30,0,83,25],[31,0,83,25],[32,0,83,25],[33,0,83,29],[34,0,83,29],[35,0,83,31]],[[5,0,84,3]],[[0,0,85,0]],[[0,0,87,0],[1,0,87,0],[2,0,87,0],[3,0,87,0],[4,0,87,4],[5,0,87,4],[6,0,87,4],[7,0,87,4],[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,4],[15,0,87,43]],[[0,0,89,0],[1,0,89,0],[2,0,89,0],[3,0,89,0],[4,0,89,0],[5,0,89,0],[6,0,89,0],[7,0,89,0],[8,0,89,0],[9,0,89,0],[10,0,89,0],[11,0,89,0],[12,0,89,0],[13,0,89,0],[14,0,89,0],[15,0,89,0],[16,0,89,0],[17,0,89,0],[18,0,89,0],[19,0,89,0],[20,0,89,0],[21,0,89,0],[22,0,89,0],[23,0,89,0],[24,0,89,0],[25,0,89,0],[26,0,89,0],[27,0,89,0],[28,0,89,0],[29,0,89,0],[30,0,89,0],[31,0,89,0],[32,0,89,0],[33,0,89,0],[34,0,89,0],[35,0,89,0],[36,0,89,0],[37,0,89,0],[38,0,89,0],[39,0,89,0],[40,0,89,0],[41,0,89,0],[42,0,89,0],[43,0,89,0],[44,0,89,0],[45,0,89,0],[46,0,89,0],[47,0,89,0],[48,0,89,0],[49,0,89,0],[50,0,89,0],[51,0,89,0],[52,0,89,0],[53,0,89,0],[54,0,89,0],[55,0,89,0],[56,0,89,0],[57,0,89,0],[58,0,89,0],[59,0,89,0],[60,0,89,0],[61,0,89,0],[62,0,89,0],[63,0,89,0],[64,0,89,0],[65,0,89,0],[66,0,89,0],[67,0,89,0],[68,0,89,0],[69,0,89,0],[70,0,89,0],[71,0,89,0],[72,0,89,0],[73,0,89,0]],[[0,0,90,0],[1,0,90,0],[2,0,90,0],[3,0,90,0],[4,0,90,0],[5,0,90,5],[6,0,90,5],[7,0,90,5],[8,0,90,5],[9,0,90,5],[10,0,90,5],[11,0,90,5],[12,0,90,5],[13,0,90,5],[14,0,90,5],[15,0,90,15],[16,0,90,15],[17,0,90,15],[18,0,90,15],[19,0,90,15],[20,0,90,15],[21,0,90,15],[22,0,90,15],[23,0,90,15],[24,0,90,15],[25,0,90,15],[26,0,90,15],[27,0,90,15],[28,0,90,15],[29,0,90,15],[30,0,90,15],[31,0,90,31],[32,0,90,31],[33,0,90,31],[34,0,90,31]],[[4,0,91,2],[5,0,91,2],[6,0,91,2],[7,0,91,2],[8,0,91,6],[9,0,91,6],[10,0,91,6],[11,0,91,6],[12,0,91,6],[13,0,91,6],[14,0,91,6],[15,0,91,6],[16,0,91,6],[17,0,91,6],[18,0,91,6],[19,0,91,17],[20,0,91,17],[21,0,91,17],[22,0,91,17],[23,0,91,17],[24,0,91,22],[25,0,91,22],[26,0,91,22],[27,0,91,22],[28,0,91,22],[29,0,91,22],[30,0,91,22],[31,0,91,22],[32,0,91,22],[33,0,91,31],[34,0,91,31],[35,0,91,33]],[[8,0,92,4],[9,0,92,4],[10,0,92,4],[11,0,92,4],[12,0,92,4],[13,0,92,4],[14,0,92,4],[15,0,92,4],[16,0,92,4],[17,0,92,4],[18,0,92,4],[19,0,92,4],[20,0,92,4],[21,0,92,4],[22,0,92,4],[23,0,92,4]],[[8,0,93,4],[9,0,93,4],[10,0,93,4],[11,0,93,4],[12,0,93,4],[13,0,93,4],[14,0,93,4],[15,0,93,11],[16,0,93,11],[17,0,93,11],[18,0,93,11],[19,0,93,11],[20,0,93,11],[21,0,93,11],[22,0,93,11],[23,0,93,11],[24,0,93,11],[25,0,93,11],[26,0,93,22]],[[4,0,94,2]],[[4,0,96,2],[5,0,96,2],[6,0,96,2],[7,0,96,2],[8,0,96,6]],[[8,0,97,4],[9,0,97,4],[10,0,97,4],[11,0,97,4],[12,0,97,4],[13,0,97,4],[14,0,97,10],[15,0,97,11],[16,0,97,11],[17,0,97,11],[18,0,97,14],[19,0,97,14],[20,0,97,14],[21,0,97,14],[22,0,97,14],[23,0,97,14],[24,0,97,20],[25,0,97,20],[26,0,97,20],[27,0,97,20],[28,0,97,20],[29,0,97,20],[30,0,97,26],[31,0,97,27],[32,0,97,27],[33,0,97,27],[34,0,97,27],[35,0,97,27],[36,0,97,27],[37,0,97,27],[38,0,97,27],[39,0,97,27],[40,0,97,27],[41,0,97,27],[42,0,97,27],[43,0,97,27],[44,0,97,40],[45,0,97,41]],[[8,0,98,4],[9,0,98,4],[10,0,98,4],[11,0,98,4],[12,0,98,8],[13,0,98,8],[14,0,98,8],[15,0,98,8],[16,0,98,8],[17,0,98,8],[18,0,98,8],[19,0,98,15],[20,0,98,16],[21,0,98,17],[22,0,98,17],[23,0,98,17],[24,0,98,17],[25,0,98,17],[26,0,98,17],[27,0,98,17],[28,0,98,17],[29,0,98,17],[30,0,98,17],[31,0,98,27],[32,0,98,27],[33,0,98,27],[34,0,98,27],[35,0,98,27],[36,0,98,32],[37,0,98,32],[38,0,98,32],[39,0,98,32],[40,0,98,32],[41,0,98,32],[42,0,98,32],[43,0,98,32],[44,0,98,32],[45,0,98,32],[46,0,98,42],[47,0,98,42],[48,0,98,44]],[[12,0,99,6],[13,0,99,6],[14,0,99,6],[15,0,99,6],[16,0,99,6],[17,0,99,6],[18,0,99,6],[19,0,99,6],[20,0,99,6],[21,0,99,6],[22,0,99,6],[23,0,99,6]],[[12,0,100,6],[13,0,100,6],[14,0,100,6],[15,0,100,6],[16,0,100,6],[17,0,100,6],[18,0,100,6],[19,0,100,6],[20,0,100,6],[21,0,100,6],[22,0,100,6],[23,0,100,17],[24,0,100,17],[25,0,100,17],[26,0,100,20],[27,0,100,21],[28,0,100,22],[29,0,100,22],[30,0,100,22],[31,0,100,22],[32,0,100,22],[33,0,100,22],[34,0,100,22],[35,0,100,22],[36,0,100,22],[37,0,100,22],[38,0,100,32],[39,0,100,33],[40,0,100,33],[41,0,100,33],[42,0,100,33],[43,0,100,37],[44,0,100,38],[45,0,100,39],[46,0,100,40]],[[8,0,101,4]],[[4,0,102,2]],[[4,0,102,4],[5,0,102,4],[6,0,102,4],[7,0,102,4],[8,0,102,4],[9,0,102,4],[10,0,102,10]],[[8,0,103,4],[9,0,103,4],[10,0,103,4],[11,0,103,4],[12,0,103,4],[13,0,103,4],[14,0,103,4],[15,0,103,4],[16,0,103,4],[17,0,103,4],[18,0,103,4],[19,0,103,4],[20,0,103,4],[21,0,103,4],[22,0,103,4],[23,0,103,4]],[[4,0,104,2]],[[4,0,106,2],[5,0,106,2],[6,0,106,2],[7,0,106,2],[8,0,106,2],[9,0,106,2],[10,0,106,2],[11,0,106,9],[12,0,106,9],[13,0,106,9],[14,0,106,9],[15,0,106,9],[16,0,106,9],[17,0,106,9],[18,0,106,9],[19,0,106,9],[20,0,106,9],[21,0,106,9],[22,0,106,20]],[[0,0,107,0]],[[0,0,109,0],[1,0,109,0],[2,0,109,0]],[],[],[],[[0,0,113,0],[1,0,113,0],[2,0,113,0],[3,0,113,0],[4,0,113,0],[5,0,113,5],[6,0,113,5],[7,0,113,5],[8,0,113,5],[9,0,113,5],[10,0,113,5],[11,0,113,5],[12,0,113,5],[13,0,113,5],[14,0,113,5],[15,0,113,15],[16,0,113,15],[17,0,113,15],[18,0,113,15],[19,0,113,15],[20,0,113,15],[21,0,113,15],[22,0,113,15],[23,0,113,15],[24,0,113,15],[25,0,113,25],[26,0,113,25],[27,0,113,25],[28,0,113,25]],[[4,0,114,2],[5,0,114,2],[6,0,114,2],[7,0,114,2],[8,0,114,2],[9,0,114,2],[10,0,114,8],[11,0,114,8],[12,0,114,8],[13,0,114,8],[14,0,114,8],[15,0,114,8],[16,0,114,8],[17,0,114,8],[18,0,114,8],[19,0,114,8],[20,0,114,18],[21,0,114,18],[22,0,114,18],[23,0,114,21],[24,0,114,21],[25,0,114,21],[26,0,114,21],[27,0,114,21],[28,0,114,21],[29,0,114,27],[30,0,114,27],[31,0,114,27],[32,0,114,27],[33,0,114,27],[34,0,114,27],[35,0,114,27],[36,0,114,27],[37,0,114,27],[38,0,114,27],[39,0,114,27],[40,0,114,27],[41,0,114,27],[42,0,114,27],[43,0,114,27],[44,0,114,27],[45,0,114,43],[46,0,114,43],[47,0,114,45]],[[4,0,115,2],[5,0,115,2],[6,0,115,2],[7,0,115,2],[8,0,115,6],[9,0,115,6],[10,0,115,6],[11,0,115,6],[12,0,115,6],[13,0,115,6],[14,0,115,6],[15,0,115,6],[16,0,115,6],[17,0,115,6],[18,0,115,16],[19,0,115,16],[20,0,115,18]],[[8,0,116,4],[9,0,116,4],[10,0,116,4],[11,0,116,4],[12,0,116,4],[13,0,116,4],[14,0,116,4],[15,0,116,11],[16,0,116,11],[17,0,116,11],[18,0,116,11],[19,0,116,11],[20,0,116,11],[21,0,116,11],[22,0,116,11],[23,0,116,11],[24,0,116,11],[25,0,116,21],[26,0,116,21],[27,0,116,23]],[[4,0,117,2]],[[4,0,119,2],[5,0,119,2],[6,0,119,2],[7,0,119,2],[8,0,119,2],[9,0,119,2],[10,0,119,2],[11,0,119,2],[12,0,119,2],[13,0,119,2],[14,0,119,2],[15,0,119,2],[16,0,119,2],[17,0,119,2],[18,0,119,2],[19,0,119,2],[20,0,119,2],[21,0,119,2],[22,0,119,2],[23,0,119,2],[24,0,119,2],[25,0,119,2],[26,0,119,2],[27,0,119,2],[28,0,119,2],[29,0,119,2],[30,0,119,2],[31,0,119,2],[32,0,119,2]],[[4,0,120,2],[5,0,120,2],[6,0,120,2],[7,0,120,2],[8,0,120,2],[9,0,120,2],[10,0,120,8],[11,0,120,8],[12,0,120,8],[13,0,120,8],[14,0,120,8],[15,0,120,13],[16,0,120,13],[17,0,120,13],[18,0,120,16],[19,0,120,16],[20,0,120,16],[21,0,120,16],[22,0,120,20],[23,0,120,20],[24,0,120,20],[25,0,120,20],[26,0,120,20],[27,0,120,20],[28,0,120,20],[29,0,120,20],[30,0,120,20],[31,0,120,20],[32,0,120,30],[33,0,120,31],[34,0,120,31],[35,0,120,33],[36,0,120,34]],[[4,0,121,2],[5,0,121,2],[6,0,121,2],[7,0,121,2],[8,0,121,2],[9,0,121,7],[10,0,121,7],[11,0,121,7],[12,0,121,7],[13,0,121,11],[14,0,121,12],[15,0,121,12],[16,0,121,12],[17,0,121,15],[18,0,121,16],[19,0,121,16],[20,0,121,18],[21,0,121,19],[22,0,121,19],[23,0,121,19],[24,0,121,22],[25,0,121,22],[26,0,121,24],[27,0,121,24],[28,0,121,26],[29,0,121,27],[30,0,121,27],[31,0,121,29],[32,0,121,29],[33,0,121,31]],[[8,0,122,4],[9,0,122,4],[10,0,122,4],[11,0,122,4],[12,0,122,4],[13,0,122,9],[14,0,122,10],[15,0,122,11],[16,0,122,12],[17,0,122,12],[18,0,122,12],[19,0,122,15],[20,0,122,16],[21,0,122,16],[22,0,122,16],[23,0,122,16],[24,0,122,20],[25,0,122,21],[26,0,122,21],[27,0,122,21],[28,0,122,21],[29,0,122,21],[30,0,122,21],[31,0,122,27],[32,0,122,27],[33,0,122,29],[34,0,122,29],[35,0,122,29],[36,0,122,32],[37,0,122,32],[38,0,122,32],[39,0,122,35],[40,0,122,36],[41,0,122,36],[42,0,122,36],[43,0,122,39],[44,0,122,40]],[[4,0,123,2]],[[4,0,125,2],[5,0,125,2],[6,0,125,2],[7,0,125,2],[8,0,125,2],[9,0,125,7],[10,0,125,8],[11,0,125,9],[12,0,125,10],[13,0,125,10],[14,0,125,10],[15,0,125,13],[16,0,125,14],[17,0,125,14],[18,0,125,14],[19,0,125,14],[20,0,125,14],[21,0,125,19],[22,0,125,20],[23,0,125,21],[24,0,125,22],[25,0,125,22],[26,0,125,22],[27,0,125,25],[28,0,125,25],[29,0,125,25],[30,0,125,25],[31,0,125,29],[32,0,125,30],[33,0,125,30],[34,0,125,30],[35,0,125,33],[36,0,125,33],[37,0,125,33],[38,0,125,33],[39,0,125,37]],[[4,0,126,2],[5,0,126,2],[6,0,126,2],[7,0,126,2],[8,0,126,2],[9,0,126,7],[10,0,126,8],[11,0,126,9],[12,0,126,10],[13,0,126,10],[14,0,126,10],[15,0,126,13],[16,0,126,14],[17,0,126,14],[18,0,126,14],[19,0,126,14],[20,0,126,14],[21,0,126,19],[22,0,126,20],[23,0,126,21],[24,0,126,22],[25,0,126,22],[26,0,126,22],[27,0,126,25],[28,0,126,25],[29,0,126,25],[30,0,126,25],[31,0,126,29],[32,0,126,30],[33,0,126,30],[34,0,126,30],[35,0,126,33],[36,0,126,33],[37,0,126,33],[38,0,126,33],[39,0,126,37]],[[4,0,128,2],[5,0,128,2],[6,0,128,2],[7,0,128,2],[8,0,128,2],[9,0,128,2],[10,0,128,8],[11,0,128,8],[12,0,128,8],[13,0,128,11],[14,0,128,11],[15,0,128,11],[16,0,128,14],[17,0,128,15],[18,0,128,15],[19,0,128,15],[20,0,128,18],[21,0,128,18],[22,0,128,18],[23,0,128,18],[24,0,128,18],[25,0,128,23],[26,0,128,24],[27,0,128,25],[28,0,128,25],[29,0,128,25],[30,0,128,28],[31,0,128,29],[32,0,128,30],[33,0,128,31],[34,0,128,31],[35,0,128,33],[36,0,128,33],[37,0,128,35],[38,0,128,36],[39,0,128,37],[40,0,128,38],[41,0,128,38],[42,0,128,38],[43,0,128,38],[44,0,128,38],[45,0,128,38],[46,0,128,38],[47,0,128,38],[48,0,128,46],[49,0,128,47],[50,0,128,47],[51,0,128,49],[52,0,128,50],[53,0,128,51],[54,0,128,51],[55,0,128,51],[56,0,128,51],[57,0,128,51],[58,0,128,51],[59,0,128,51],[60,0,128,51],[61,0,128,59],[62,0,128,60],[63,0,128,61],[64,0,128,61],[65,0,128,63],[66,0,128,63],[67,0,128,63],[68,0,128,66],[69,0,128,67],[70,0,128,68],[71,0,128,69],[72,0,128,69],[73,0,128,69],[74,0,128,69],[75,0,128,73],[76,0,128,74],[77,0,128,74],[78,0,128,76],[79,0,128,77]],[[4,0,129,2],[5,0,129,2],[6,0,129,2],[7,0,129,2],[8,0,129,2],[9,0,129,2],[10,0,129,2],[11,0,129,9],[12,0,129,9],[13,0,129,9],[14,0,129,12],[15,0,129,12],[16,0,129,12],[17,0,129,15],[18,0,129,16],[19,0,129,16],[20,0,129,16],[21,0,129,16],[22,0,129,16],[23,0,129,21],[24,0,129,22],[25,0,129,23],[26,0,129,23],[27,0,129,25],[28,0,129,26],[29,0,129,27],[30,0,129,27],[31,0,129,27],[32,0,129,27],[33,0,129,31],[34,0,129,31],[35,0,129,31],[36,0,129,34],[37,0,129,35],[38,0,129,35],[39,0,129,35],[40,0,129,35],[41,0,129,35],[42,0,129,40],[43,0,129,41],[44,0,129,42],[45,0,129,42],[46,0,129,44],[47,0,129,44],[48,0,129,46],[49,0,129,47],[50,0,129,47],[51,0,129,47],[52,0,129,47],[53,0,129,51],[54,0,129,51],[55,0,129,51],[56,0,129,54],[57,0,129,55],[58,0,129,55],[59,0,129,55],[60,0,129,55],[61,0,129,55],[62,0,129,60],[63,0,129,61],[64,0,129,61],[65,0,129,63],[66,0,129,63],[67,0,129,65],[68,0,129,65],[69,0,129,67],[70,0,129,68],[71,0,129,68],[72,0,129,68],[73,0,129,68],[74,0,129,72],[75,0,129,72],[76,0,129,72],[77,0,129,75],[78,0,129,76],[79,0,129,76],[80,0,129,76],[81,0,129,76],[82,0,129,76],[83,0,129,81],[84,0,129,82],[85,0,129,82],[86,0,129,84],[87,0,129,84],[88,0,129,86],[89,0,129,86],[90,0,129,88],[91,0,129,89],[92,0,129,89],[93,0,129,89],[94,0,129,89],[95,0,129,93],[96,0,129,93],[97,0,129,93],[98,0,129,96],[99,0,129,97],[100,0,129,97],[101,0,129,97],[102,0,129,97],[103,0,129,97],[104,0,129,102],[105,0,129,103],[106,0,129,103],[107,0,129,105],[108,0,129,106],[109,0,129,106],[110,0,129,108]],[[0,0,130,0]]],"ignoreList":[]}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { Client } from 'openapi-fetch';
|
|
2
|
+
import type { RequestOptions } from './common.cjs';
|
|
3
|
+
import type { Event, operations, paths } from './schemas.cjs';
|
|
4
|
+
/**
|
|
5
|
+
* Events are used to track usage of your product or service.
|
|
6
|
+
* Events are processed asynchronously by the meters, so they may not be immediately available for querying.
|
|
7
|
+
*/
|
|
8
|
+
export declare class Events {
|
|
9
|
+
private client;
|
|
10
|
+
constructor(client: Client<paths, `${string}/${string}`>);
|
|
11
|
+
/**
|
|
12
|
+
* Ingests an event or batch of events
|
|
13
|
+
* @param events - The events to ingest
|
|
14
|
+
* @param signal - An optional abort signal
|
|
15
|
+
* @returns The ingested events
|
|
16
|
+
*/
|
|
17
|
+
ingest(events: Event | Event[], options?: RequestOptions): Promise<undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* List events
|
|
20
|
+
* @param params - The query parameters
|
|
21
|
+
* @param options - Optional request options
|
|
22
|
+
* @returns The events
|
|
23
|
+
*/
|
|
24
|
+
list(params?: operations['listEvents']['parameters']['query'], options?: RequestOptions): Promise<{
|
|
25
|
+
event: import("./schemas.cjs").components["schemas"]["Event"];
|
|
26
|
+
customerId?: string;
|
|
27
|
+
validationError?: string;
|
|
28
|
+
ingestedAt: Date;
|
|
29
|
+
storedAt: Date;
|
|
30
|
+
}[] | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* List events (V2)
|
|
33
|
+
* @description List ingested events with advanced filtering and cursor pagination.
|
|
34
|
+
* @param params - The query parameters
|
|
35
|
+
* @param options - Optional request options
|
|
36
|
+
* @returns The events
|
|
37
|
+
*/
|
|
38
|
+
listV2(params?: operations['listEventsV2']['parameters']['query'], options?: RequestOptions): Promise<{
|
|
39
|
+
items: import("./schemas.cjs").components["schemas"]["IngestedEvent"][];
|
|
40
|
+
nextCursor?: string;
|
|
41
|
+
} | undefined>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Sets the defaults for an event
|
|
45
|
+
* @param ev - The event to set the defaults for
|
|
46
|
+
* @returns The event with the defaults set
|
|
47
|
+
*/
|
|
48
|
+
export declare function setDefaultsForEvent(ev: Event): Promise<Event>;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Features = void 0;
|
|
4
|
+
const utils_js_1 = require("./utils.cjs");
|
|
5
|
+
/**
|
|
6
|
+
* Features
|
|
7
|
+
* @description Features are the building blocks of your application. They represent the capabilities or services that your application offers.
|
|
8
|
+
*/
|
|
9
|
+
class Features {
|
|
10
|
+
client;
|
|
11
|
+
constructor(client) {
|
|
12
|
+
this.client = client;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Create a feature
|
|
16
|
+
* @param feature - The feature to create
|
|
17
|
+
* @param signal - An optional abort signal
|
|
18
|
+
* @returns The created feature
|
|
19
|
+
*/
|
|
20
|
+
async create(feature, options) {
|
|
21
|
+
const resp = await this.client.POST('/api/v1/features', {
|
|
22
|
+
body: feature,
|
|
23
|
+
...options,
|
|
24
|
+
});
|
|
25
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Get a feature by ID
|
|
29
|
+
* @param id - The ID of the feature
|
|
30
|
+
* @param signal - An optional abort signal
|
|
31
|
+
* @returns The feature
|
|
32
|
+
*/
|
|
33
|
+
async get(id, options) {
|
|
34
|
+
const resp = await this.client.GET('/api/v1/features/{featureId}', {
|
|
35
|
+
params: {
|
|
36
|
+
path: {
|
|
37
|
+
featureId: id,
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
...options,
|
|
41
|
+
});
|
|
42
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* List features
|
|
46
|
+
* @param query - The query parameters
|
|
47
|
+
* @param signal - An optional abort signal
|
|
48
|
+
* @returns The features
|
|
49
|
+
*/
|
|
50
|
+
async list(query, options) {
|
|
51
|
+
const resp = await this.client.GET('/api/v1/features', {
|
|
52
|
+
params: {
|
|
53
|
+
query,
|
|
54
|
+
},
|
|
55
|
+
...options,
|
|
56
|
+
});
|
|
57
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Delete a feature by ID
|
|
61
|
+
* @param id - The ID of the feature
|
|
62
|
+
* @param signal - An optional abort signal
|
|
63
|
+
* @returns The deleted feature
|
|
64
|
+
*/
|
|
65
|
+
async delete(id, options) {
|
|
66
|
+
const resp = await this.client.DELETE('/api/v1/features/{featureId}', {
|
|
67
|
+
params: {
|
|
68
|
+
path: {
|
|
69
|
+
featureId: id,
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
...options,
|
|
73
|
+
});
|
|
74
|
+
return (0, utils_js_1.transformResponse)(resp);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.Features = Features;
|
|
78
|
+
//# sourceMappingURL=features.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"features.cjs","names":[],"sources":["../../../../src/client/features.ts"],"sourcesContent":[null],"mappings":[[],[],[],[[0,0,8,0],[1,0,8,0],[2,0,8,0],[3,0,8,0],[4,0,8,0],[5,0,8,0],[6,0,8,0],[7,0,8,0],[8,0,8,0],[9,0,8,0],[10,0,8,0],[11,0,8,0],[12,0,8,0],[13,0,8,0],[14,0,8,0],[15,0,8,0],[16,0,8,0],[17,0,8,0],[18,0,8,0],[19,0,8,0],[20,0,8,0],[21,0,8,0],[22,0,8,0],[23,0,8,0],[24,0,8,0],[25,0,8,0],[26,0,8,0],[27,0,8,0],[28,0,8,0],[39,0,8,0],[40,0,8,0],[41,0,8,0]],[[0,0,10,0],[1,0,10,0],[2,0,10,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,21],[15,0,14,21]],[[4,0,15,22],[5,0,15,22],[6,0,15,22],[7,0,15,22],[8,0,15,22],[9,0,15,22],[10,0,15,22]],[[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,22],[17,0,15,22],[18,0,15,22],[19,0,15,22],[20,0,15,22],[21,0,15,22],[22,0,15,66],[23,0,15,66],[24,0,15,66]],[[8,0,15,22],[9,0,15,22],[10,0,15,22],[11,0,15,22],[12,0,15,22],[13,0,15,22],[14,0,15,22],[15,0,15,22],[16,0,15,22],[17,0,15,22],[18,0,15,22],[19,0,15,28],[20,0,15,28],[21,0,15,28],[22,0,15,22],[23,0,15,22],[24,0,15,22],[25,0,15,22],[26,0,15,22],[27,0,15,22],[28,0,15,28]],[[4,0,15,69]],[[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,22],[22,0,23,22],[23,0,23,22],[24,0,23,50],[25,0,23,50],[26,0,23,52],[27,0,23,52],[28,0,23,52],[29,0,23,52],[30,0,23,52],[31,0,23,52],[32,0,23,52],[33,0,23,76],[34,0,23,76],[35,0,23,76]],[[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,12],[24,0,25,12],[25,0,25,19]],[[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,67],[17,0,39,67],[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,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,69],[74,0,42,69],[75,0,42,71]],[[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,19],[30,0,45,19],[31,0,45,21],[32,0,45,21],[33,0,45,23]],[[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,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,4],[18,0,61,4],[19,0,61,4],[20,0,64,5],[21,0,64,5],[22,0,65,4],[23,0,65,4],[24,0,65,4],[25,0,65,4],[26,0,65,4],[27,0,65,4],[28,0,65,4],[29,0,65,28],[30,0,65,28],[31,0,65,28]],[[8,0,67,4],[9,0,67,4],[10,0,67,4],[11,0,67,4],[12,0,67,4],[13,0,67,4],[14,0,67,10],[15,0,67,10],[16,0,67,10],[17,0,67,10],[18,0,67,14],[19,0,67,14],[20,0,67,14],[21,0,67,17],[22,0,67,17],[23,0,67,17],[24,0,67,17],[25,0,67,17],[26,0,67,17],[27,0,67,23],[28,0,67,23],[29,0,67,23],[30,0,67,23],[31,0,67,27],[32,0,67,28],[33,0,67,28],[34,0,67,28],[35,0,67,28],[36,0,67,28],[37,0,67,28],[38,0,67,34],[39,0,67,35],[40,0,67,35],[41,0,67,35],[42,0,67,38],[43,0,67,39],[44,0,67,39],[45,0,67,39],[46,0,67,39],[47,0,67,39],[48,0,67,39],[49,0,67,39],[50,0,67,39],[51,0,67,39],[52,0,67,39],[53,0,67,39],[54,0,67,39],[55,0,67,39],[56,0,67,39],[57,0,67,39],[58,0,67,39],[59,0,67,39],[60,0,67,39],[61,0,67,57],[62,0,67,57],[63,0,67,59]],[[12,0,68,6],[13,0,68,6],[14,0,68,6],[15,0,68,6],[16,0,68,6],[17,0,68,6],[18,0,68,12],[19,0,68,12],[20,0,68,14]],[[16,0,69,8],[17,0,69,8],[18,0,69,8],[19,0,69,8],[20,0,69,8],[21,0,69,13]],[[13,0,70,7]],[[12,0,71,6],[13,0,71,6],[14,0,71,6],[15,0,71,9],[16,0,71,9],[17,0,71,9],[18,0,71,9],[19,0,71,9],[20,0,71,9],[21,0,71,9],[22,0,71,16]],[[9,0,72,5],[10,0,72,6]],[[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,47]],[[4,0,75,2]],[[4,0,77,2],[5,0,77,2],[6,0,77,2]],[],[],[],[],[],[[4,0,83,9],[5,0,83,9],[6,0,83,9],[7,0,83,9],[8,0,83,9],[9,0,83,14],[10,0,83,15],[11,0,83,15],[12,0,83,15],[13,0,83,15],[14,0,83,15],[15,0,83,15],[16,0,83,21],[17,0,84,4],[18,0,84,4],[19,0,84,70],[20,0,84,70],[21,0,85,4],[22,0,85,4],[23,0,85,4],[24,0,85,4],[25,0,85,4],[26,0,85,4],[27,0,85,4],[28,0,85,28],[29,0,85,28],[30,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,35],[45,0,87,41],[46,0,87,42],[47,0,87,42],[48,0,87,42],[49,0,87,42],[50,0,87,42],[51,0,87,42],[52,0,87,42],[53,0,87,42],[54,0,87,42],[55,0,87,42],[56,0,87,42],[57,0,87,42],[58,0,87,42],[59,0,87,42],[60,0,87,42],[61,0,87,42],[62,0,87,42],[63,0,87,42],[64,0,87,42],[65,0,87,42],[66,0,87,42],[67,0,87,42],[68,0,87,42],[69,0,87,42],[70,0,87,42],[71,0,87,42],[72,0,87,42],[73,0,87,42],[74,0,87,42],[75,0,87,42],[76,0,87,72],[77,0,87,72],[78,0,87,74]],[[12,0,88,6],[13,0,88,6],[14,0,88,6],[15,0,88,6],[16,0,88,6],[17,0,88,6],[18,0,88,12],[19,0,88,12],[20,0,88,14]],[[16,0,89,8],[17,0,89,8],[18,0,89,8],[19,0,89,8],[20,0,89,12],[21,0,89,12],[22,0,89,14]],[[20,0,90,10],[21,0,90,10],[22,0,90,10],[23,0,90,10],[24,0,90,10],[25,0,90,10],[26,0,90,10],[27,0,90,10],[28,0,90,10],[29,0,90,19],[30,0,90,19],[31,0,90,21],[32,0,90,21],[33,0,90,23]],[[17,0,91,9]],[[13,0,92,7]],[[12,0,93,6],[13,0,93,6],[14,0,93,6],[15,0,93,9],[16,0,93,9],[17,0,93,9],[18,0,93,9],[19,0,93,9],[20,0,93,9],[21,0,93,9],[22,0,93,16]],[[9,0,94,5],[10,0,94,6]],[[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,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]]],"ignoreList":[]}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import type { Client } from 'openapi-fetch';
|
|
2
|
+
import type { RequestOptions } from './common.cjs';
|
|
3
|
+
import type { FeatureCreateInputs, operations, paths } from './schemas.cjs';
|
|
4
|
+
/**
|
|
5
|
+
* Features
|
|
6
|
+
* @description Features are the building blocks of your application. They represent the capabilities or services that your application offers.
|
|
7
|
+
*/
|
|
8
|
+
export declare class Features {
|
|
9
|
+
private client;
|
|
10
|
+
constructor(client: Client<paths, `${string}/${string}`>);
|
|
11
|
+
/**
|
|
12
|
+
* Create a feature
|
|
13
|
+
* @param feature - The feature to create
|
|
14
|
+
* @param signal - An optional abort signal
|
|
15
|
+
* @returns The created feature
|
|
16
|
+
*/
|
|
17
|
+
create(feature: FeatureCreateInputs, options?: RequestOptions): Promise<{
|
|
18
|
+
readonly createdAt: Date;
|
|
19
|
+
readonly updatedAt: Date;
|
|
20
|
+
readonly deletedAt?: Date;
|
|
21
|
+
readonly archivedAt?: Date;
|
|
22
|
+
key: string;
|
|
23
|
+
name: string;
|
|
24
|
+
metadata?: import("./schemas.cjs").components["schemas"]["Metadata"];
|
|
25
|
+
meterSlug?: string;
|
|
26
|
+
meterGroupByFilters?: {
|
|
27
|
+
[key: string]: string;
|
|
28
|
+
};
|
|
29
|
+
advancedMeterGroupByFilters?: {
|
|
30
|
+
[key: string]: import("./schemas.cjs").components["schemas"]["FilterString"];
|
|
31
|
+
};
|
|
32
|
+
unitCost?: import("./schemas.cjs").components["schemas"]["FeatureUnitCost"];
|
|
33
|
+
readonly id: string;
|
|
34
|
+
} | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Get a feature by ID
|
|
37
|
+
* @param id - The ID of the feature
|
|
38
|
+
* @param signal - An optional abort signal
|
|
39
|
+
* @returns The feature
|
|
40
|
+
*/
|
|
41
|
+
get(id: operations['getFeature']['parameters']['path']['featureId'], options?: RequestOptions): Promise<{
|
|
42
|
+
readonly createdAt: Date;
|
|
43
|
+
readonly updatedAt: Date;
|
|
44
|
+
readonly deletedAt?: Date;
|
|
45
|
+
readonly archivedAt?: Date;
|
|
46
|
+
key: string;
|
|
47
|
+
name: string;
|
|
48
|
+
metadata?: import("./schemas.cjs").components["schemas"]["Metadata"];
|
|
49
|
+
meterSlug?: string;
|
|
50
|
+
meterGroupByFilters?: {
|
|
51
|
+
[key: string]: string;
|
|
52
|
+
};
|
|
53
|
+
advancedMeterGroupByFilters?: {
|
|
54
|
+
[key: string]: import("./schemas.cjs").components["schemas"]["FilterString"];
|
|
55
|
+
};
|
|
56
|
+
unitCost?: import("./schemas.cjs").components["schemas"]["FeatureUnitCost"];
|
|
57
|
+
readonly id: string;
|
|
58
|
+
} | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* List features
|
|
61
|
+
* @param query - The query parameters
|
|
62
|
+
* @param signal - An optional abort signal
|
|
63
|
+
* @returns The features
|
|
64
|
+
*/
|
|
65
|
+
list(query?: Omit<operations['listFeatures']['parameters']['query'], 'page' | 'pageSize'>, options?: RequestOptions): Promise<{
|
|
66
|
+
readonly createdAt: Date;
|
|
67
|
+
readonly updatedAt: Date;
|
|
68
|
+
readonly deletedAt?: Date;
|
|
69
|
+
readonly archivedAt?: Date;
|
|
70
|
+
key: string;
|
|
71
|
+
name: string;
|
|
72
|
+
metadata?: import("./schemas.cjs").components["schemas"]["Metadata"];
|
|
73
|
+
meterSlug?: string;
|
|
74
|
+
meterGroupByFilters?: {
|
|
75
|
+
[key: string]: string;
|
|
76
|
+
};
|
|
77
|
+
advancedMeterGroupByFilters?: {
|
|
78
|
+
[key: string]: import("./schemas.cjs").components["schemas"]["FilterString"];
|
|
79
|
+
};
|
|
80
|
+
unitCost?: import("./schemas.cjs").components["schemas"]["FeatureUnitCost"];
|
|
81
|
+
readonly id: string;
|
|
82
|
+
}[]>;
|
|
83
|
+
/**
|
|
84
|
+
* Delete a feature by ID
|
|
85
|
+
* @param id - The ID of the feature
|
|
86
|
+
* @param signal - An optional abort signal
|
|
87
|
+
* @returns The deleted feature
|
|
88
|
+
*/
|
|
89
|
+
delete(id: operations['deleteFeature']['parameters']['path']['featureId'], options?: RequestOptions): Promise<undefined>;
|
|
90
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.OpenMeter = void 0;
|
|
40
|
+
const openapi_fetch_1 = __importStar(require("openapi-fetch"));
|
|
41
|
+
const addons_js_1 = require("./addons.cjs");
|
|
42
|
+
const apps_js_1 = require("./apps.cjs");
|
|
43
|
+
const billing_js_1 = require("./billing.cjs");
|
|
44
|
+
const customers_js_1 = require("./customers.cjs");
|
|
45
|
+
const debug_js_1 = require("./debug.cjs");
|
|
46
|
+
const entitlements_js_1 = require("./entitlements.cjs");
|
|
47
|
+
const events_js_1 = require("./events.cjs");
|
|
48
|
+
const features_js_1 = require("./features.cjs");
|
|
49
|
+
const info_js_1 = require("./info.cjs");
|
|
50
|
+
const meters_js_1 = require("./meters.cjs");
|
|
51
|
+
const notifications_js_1 = require("./notifications.cjs");
|
|
52
|
+
const plans_js_1 = require("./plans.cjs");
|
|
53
|
+
const portal_js_1 = require("./portal.cjs");
|
|
54
|
+
const subjects_js_1 = require("./subjects.cjs");
|
|
55
|
+
const subscription_addons_js_1 = require("./subscription-addons.cjs");
|
|
56
|
+
const subscriptions_js_1 = require("./subscriptions.cjs");
|
|
57
|
+
const utils_js_1 = require("./utils.cjs");
|
|
58
|
+
__exportStar(require("./common.cjs"), exports);
|
|
59
|
+
__exportStar(require("./schemas.cjs"), exports);
|
|
60
|
+
/**
|
|
61
|
+
* OpenMeter Client
|
|
62
|
+
*/
|
|
63
|
+
class OpenMeter {
|
|
64
|
+
config;
|
|
65
|
+
client;
|
|
66
|
+
addons;
|
|
67
|
+
apps;
|
|
68
|
+
billing;
|
|
69
|
+
customers;
|
|
70
|
+
debug;
|
|
71
|
+
entitlementsV1;
|
|
72
|
+
entitlements;
|
|
73
|
+
events;
|
|
74
|
+
features;
|
|
75
|
+
info;
|
|
76
|
+
meters;
|
|
77
|
+
notifications;
|
|
78
|
+
plans;
|
|
79
|
+
portal;
|
|
80
|
+
subjects;
|
|
81
|
+
subscriptionAddons;
|
|
82
|
+
subscriptions;
|
|
83
|
+
constructor(config) {
|
|
84
|
+
this.config = config;
|
|
85
|
+
this.client = (0, openapi_fetch_1.default)({
|
|
86
|
+
...config,
|
|
87
|
+
headers: {
|
|
88
|
+
...config.headers,
|
|
89
|
+
Authorization: config.apiKey ? `Bearer ${config.apiKey}` : undefined,
|
|
90
|
+
},
|
|
91
|
+
querySerializer: (q) => (0, openapi_fetch_1.createQuerySerializer)({
|
|
92
|
+
array: {
|
|
93
|
+
explode: true,
|
|
94
|
+
style: 'form',
|
|
95
|
+
},
|
|
96
|
+
object: {
|
|
97
|
+
explode: true,
|
|
98
|
+
style: 'deepObject',
|
|
99
|
+
},
|
|
100
|
+
})((0, utils_js_1.encodeDates)(q)),
|
|
101
|
+
});
|
|
102
|
+
this.addons = new addons_js_1.Addons(this.client);
|
|
103
|
+
this.apps = new apps_js_1.Apps(this.client);
|
|
104
|
+
this.billing = new billing_js_1.Billing(this.client);
|
|
105
|
+
this.customers = new customers_js_1.Customers(this.client);
|
|
106
|
+
this.debug = new debug_js_1.Debug(this.client);
|
|
107
|
+
this.entitlementsV1 = new entitlements_js_1.Entitlements(this.client);
|
|
108
|
+
this.entitlements = new entitlements_js_1.EntitlementsV2(this.client);
|
|
109
|
+
this.events = new events_js_1.Events(this.client);
|
|
110
|
+
this.features = new features_js_1.Features(this.client);
|
|
111
|
+
this.info = new info_js_1.Info(this.client);
|
|
112
|
+
this.meters = new meters_js_1.Meters(this.client);
|
|
113
|
+
this.notifications = new notifications_js_1.Notifications(this.client);
|
|
114
|
+
this.plans = new plans_js_1.Plans(this.client);
|
|
115
|
+
this.portal = new portal_js_1.Portal(this.client);
|
|
116
|
+
this.subjects = new subjects_js_1.Subjects(this.client);
|
|
117
|
+
this.subscriptionAddons = new subscription_addons_js_1.SubscriptionAddons(this.client);
|
|
118
|
+
this.subscriptions = new subscriptions_js_1.Subscriptions(this.client);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.OpenMeter = OpenMeter;
|
|
122
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","names":[],"sources":["../../../../src/client/index.ts"],"sourcesContent":[null],"mappings":[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[[0,0,0,0],[1,0,0,0],[2,0,0,0],[3,0,0,0],[4,0,0,0],[5,0,0,0],[6,0,0,0],[7,0,0,0],[8,0,0,0],[9,0,0,0],[10,0,0,0],[11,0,0,0],[12,0,0,0],[13,0,0,0],[14,0,0,0],[15,0,0,0],[16,0,0,0],[17,0,0,0],[18,0,0,0],[19,0,0,0],[20,0,0,0],[21,0,0,0],[22,0,0,0],[23,0,0,0],[24,0,0,0],[25,0,0,0],[26,0,0,0],[27,0,0,0],[28,0,0,0],[29,0,0,0],[30,0,0,0],[31,0,0,0],[32,0,0,0],[33,0,0,0],[34,0,0,0],[35,0,0,0],[36,0,0,0],[37,0,0,0],[38,0,0,0],[39,0,0,0],[40,0,0,0],[41,0,0,0],[42,0,0,0],[43,0,0,0],[44,0,0,0],[45,0,0,0],[46,0,0,0],[47,0,0,0],[48,0,0,0],[49,0,0,0],[50,0,0,0],[51,0,0,0],[52,0,0,0],[53,0,0,0],[54,0,0,0],[55,0,0,0],[56,0,0,0],[57,0,0,0],[58,0,0,0],[59,0,0,0],[60,0,0,0],[61,0,0,0],[62,0,0,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,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],[41,0,5,0],[42,0,5,0],[43,0,5,0]],[[0,0,6,0],[1,0,6,0],[2,0,6,0],[3,0,6,0],[4,0,6,0],[5,0,6,0],[6,0,6,0],[7,0,6,0],[8,0,6,0],[9,0,6,0],[10,0,6,0],[11,0,6,0],[12,0,6,0],[13,0,6,0],[14,0,6,0],[15,0,6,0],[16,0,6,0],[17,0,6,0],[18,0,6,0],[19,0,6,0],[20,0,6,0],[21,0,6,0],[22,0,6,0],[23,0,6,0],[24,0,6,0],[25,0,6,0],[26,0,6,0],[27,0,6,0],[37,0,6,0],[38,0,6,0],[39,0,6,0]],[[0,0,7,0],[1,0,7,0],[2,0,7,0],[3,0,7,0],[4,0,7,0],[5,0,7,0],[6,0,7,0],[7,0,7,0],[8,0,7,0],[9,0,7,0],[10,0,7,0],[11,0,7,0],[12,0,7,0],[13,0,7,0],[14,0,7,0],[15,0,7,0],[16,0,7,0],[17,0,7,0],[18,0,7,0],[19,0,7,0],[20,0,7,0],[21,0,7,0],[22,0,7,0],[23,0,7,0],[24,0,7,0],[25,0,7,0],[26,0,7,0],[27,0,7,0],[28,0,7,0],[29,0,7,0],[30,0,7,0],[43,0,7,0],[44,0,7,0],[45,0,7,0]],[[0,0,8,0],[1,0,8,0],[2,0,8,0],[3,0,8,0],[4,0,8,0],[5,0,8,0],[6,0,8,0],[7,0,8,0],[8,0,8,0],[9,0,8,0],[10,0,8,0],[11,0,8,0],[12,0,8,0],[13,0,8,0],[14,0,8,0],[15,0,8,0],[16,0,8,0],[17,0,8,0],[18,0,8,0],[19,0,8,0],[20,0,8,0],[21,0,8,0],[22,0,8,0],[23,0,8,0],[24,0,8,0],[25,0,8,0],[26,0,8,0],[27,0,8,0],[28,0,8,0],[29,0,8,0],[30,0,8,0],[31,0,8,0],[32,0,8,0],[47,0,8,0],[48,0,8,0],[49,0,8,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,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,10,0],[1,0,10,0],[2,0,10,0],[3,0,10,0],[4,0,10,0],[5,0,10,0],[6,0,10,0],[7,0,10,0],[8,0,10,0],[9,0,10,0],[10,0,10,0],[11,0,10,0],[12,0,10,0],[13,0,10,0],[14,0,10,0],[15,0,10,0],[16,0,10,0],[17,0,10,0],[18,0,10,0],[19,0,10,0],[20,0,10,0],[21,0,10,0],[22,0,10,0],[23,0,10,0],[24,0,10,0],[25,0,10,0],[26,0,10,0],[27,0,10,0],[28,0,10,0],[29,0,10,0],[30,0,10,0],[31,0,10,0],[32,0,10,0],[33,0,10,0],[34,0,10,0],[35,0,10,0],[53,0,10,0],[54,0,10,0],[55,0,10,0]],[[0,0,11,0],[1,0,11,0],[2,0,11,0],[3,0,11,0],[4,0,11,0],[5,0,11,0],[6,0,11,0],[7,0,11,0],[8,0,11,0],[9,0,11,0],[10,0,11,0],[11,0,11,0],[12,0,11,0],[13,0,11,0],[14,0,11,0],[15,0,11,0],[16,0,11,0],[17,0,11,0],[18,0,11,0],[19,0,11,0],[20,0,11,0],[21,0,11,0],[22,0,11,0],[23,0,11,0],[24,0,11,0],[25,0,11,0],[26,0,11,0],[27,0,11,0],[28,0,11,0],[29,0,11,0],[41,0,11,0],[42,0,11,0],[43,0,11,0]],[[0,0,12,0],[1,0,12,0],[2,0,12,0],[3,0,12,0],[4,0,12,0],[5,0,12,0],[6,0,12,0],[7,0,12,0],[8,0,12,0],[9,0,12,0],[10,0,12,0],[11,0,12,0],[12,0,12,0],[13,0,12,0],[14,0,12,0],[15,0,12,0],[16,0,12,0],[17,0,12,0],[18,0,12,0],[19,0,12,0],[20,0,12,0],[21,0,12,0],[22,0,12,0],[23,0,12,0],[24,0,12,0],[25,0,12,0],[26,0,12,0],[27,0,12,0],[28,0,12,0],[29,0,12,0],[30,0,12,0],[31,0,12,0],[45,0,12,0],[46,0,12,0],[47,0,12,0]],[[0,0,13,0],[1,0,13,0],[2,0,13,0],[3,0,13,0],[4,0,13,0],[5,0,13,0],[6,0,13,0],[7,0,13,0],[8,0,13,0],[9,0,13,0],[10,0,13,0],[11,0,13,0],[12,0,13,0],[13,0,13,0],[14,0,13,0],[15,0,13,0],[16,0,13,0],[17,0,13,0],[18,0,13,0],[19,0,13,0],[20,0,13,0],[21,0,13,0],[22,0,13,0],[23,0,13,0],[24,0,13,0],[25,0,13,0],[26,0,13,0],[27,0,13,0],[37,0,13,0],[38,0,13,0],[39,0,13,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,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],[41,0,14,0],[42,0,14,0],[43,0,14,0]],[[0,0,15,0],[1,0,15,0],[2,0,15,0],[3,0,15,0],[4,0,15,0],[5,0,15,0],[6,0,15,0],[7,0,15,0],[8,0,15,0],[9,0,15,0],[10,0,15,0],[11,0,15,0],[12,0,15,0],[13,0,15,0],[14,0,15,0],[15,0,15,0],[16,0,15,0],[17,0,15,0],[18,0,15,0],[19,0,15,0],[20,0,15,0],[21,0,15,0],[22,0,15,0],[23,0,15,0],[24,0,15,0],[25,0,15,0],[26,0,15,0],[27,0,15,0],[28,0,15,0],[29,0,15,0],[30,0,15,0],[31,0,15,0],[32,0,15,0],[33,0,15,0],[34,0,15,0],[35,0,15,0],[36,0,15,0],[55,0,15,0],[56,0,15,0],[57,0,15,0]],[[0,0,16,0],[1,0,16,0],[2,0,16,0],[3,0,16,0],[4,0,16,0],[5,0,16,0],[6,0,16,0],[7,0,16,0],[8,0,16,0],[9,0,16,0],[10,0,16,0],[11,0,16,0],[12,0,16,0],[13,0,16,0],[14,0,16,0],[15,0,16,0],[16,0,16,0],[17,0,16,0],[18,0,16,0],[19,0,16,0],[20,0,16,0],[21,0,16,0],[22,0,16,0],[23,0,16,0],[24,0,16,0],[25,0,16,0],[26,0,16,0],[27,0,16,0],[28,0,16,0],[39,0,16,0],[40,0,16,0],[41,0,16,0]],[[0,0,17,0],[1,0,17,0],[2,0,17,0],[3,0,17,0],[4,0,17,0],[5,0,17,0],[6,0,17,0],[7,0,17,0],[8,0,17,0],[9,0,17,0],[10,0,17,0],[11,0,17,0],[12,0,17,0],[13,0,17,0],[14,0,17,0],[15,0,17,0],[16,0,17,0],[17,0,17,0],[18,0,17,0],[19,0,17,0],[20,0,17,0],[21,0,17,0],[22,0,17,0],[23,0,17,0],[24,0,17,0],[25,0,17,0],[26,0,17,0],[27,0,17,0],[28,0,17,0],[29,0,17,0],[41,0,17,0],[42,0,17,0],[43,0,17,0]],[[0,0,19,0],[1,0,19,0],[2,0,19,0],[3,0,19,0],[4,0,19,0],[5,0,19,0],[6,0,19,0],[7,0,19,0],[8,0,19,0],[9,0,19,0],[10,0,19,0],[11,0,19,0],[12,0,19,0],[13,0,19,0],[14,0,19,0],[15,0,19,0],[16,0,19,0],[17,0,19,0],[18,0,19,0],[19,0,19,0],[20,0,19,0],[21,0,19,0],[22,0,19,0],[23,0,19,0],[24,0,19,0],[25,0,19,0],[26,0,19,0],[27,0,19,0],[28,0,19,0],[29,0,19,0],[30,0,19,0],[31,0,19,0],[45,0,19,0],[46,0,19,0],[47,0,19,0]],[[0,0,20,0],[1,0,20,0],[2,0,20,0],[3,0,20,0],[4,0,20,0],[5,0,20,0],[6,0,20,0],[7,0,20,0],[8,0,20,0],[9,0,20,0],[10,0,20,0],[11,0,20,0],[12,0,20,0],[13,0,20,0],[14,0,20,0],[15,0,20,0],[16,0,20,0],[17,0,20,0],[18,0,20,0],[19,0,20,0],[20,0,20,0],[21,0,20,0],[22,0,20,0],[23,0,20,0],[24,0,20,0],[25,0,20,0],[26,0,20,0],[27,0,20,0],[28,0,20,0],[29,0,20,0],[30,0,20,0],[31,0,20,0],[32,0,20,0],[33,0,20,0],[34,0,20,0],[35,0,20,0],[36,0,20,0],[37,0,20,0],[38,0,20,0],[39,0,20,0],[40,0,20,0],[41,0,20,0],[42,0,20,0],[67,0,20,0],[68,0,20,0],[69,0,20,0]],[[0,0,21,0],[1,0,21,0],[2,0,21,0],[3,0,21,0],[4,0,21,0],[5,0,21,0],[6,0,21,0],[7,0,21,0],[8,0,21,0],[9,0,21,0],[10,0,21,0],[11,0,21,0],[12,0,21,0],[13,0,21,0],[14,0,21,0],[15,0,21,0],[16,0,21,0],[17,0,21,0],[18,0,21,0],[19,0,21,0],[20,0,21,0],[21,0,21,0],[22,0,21,0],[23,0,21,0],[24,0,21,0],[25,0,21,0],[26,0,21,0],[27,0,21,0],[28,0,21,0],[29,0,21,0],[30,0,21,0],[31,0,21,0],[32,0,21,0],[33,0,21,0],[34,0,21,0],[35,0,21,0],[36,0,21,0],[55,0,21,0],[56,0,21,0],[57,0,21,0]],[[0,0,22,0],[1,0,22,0],[2,0,22,0],[3,0,22,0],[4,0,22,0],[5,0,22,0],[6,0,22,0],[7,0,22,0],[8,0,22,0],[9,0,22,0],[10,0,22,0],[11,0,22,0],[12,0,22,0],[13,0,22,0],[14,0,22,0],[15,0,22,0],[16,0,22,0],[17,0,22,0],[18,0,22,0],[19,0,22,0],[20,0,22,0],[21,0,22,0],[22,0,22,0],[23,0,22,0],[24,0,22,0],[25,0,22,0],[26,0,22,0],[27,0,22,0],[28,0,22,0],[39,0,22,0],[40,0,22,0],[41,0,22,0]],[[0,0,24,0],[1,0,24,0],[2,0,24,0],[3,0,24,0],[4,0,24,0],[5,0,24,0],[6,0,24,0],[7,0,24,0],[8,0,24,0],[9,0,24,0],[10,0,24,0],[11,0,24,0],[12,0,24,0],[13,0,24,0],[14,0,24,0],[15,0,24,0],[16,0,24,0],[17,0,24,0],[18,0,24,0],[19,0,24,0],[20,0,24,0],[21,0,24,0],[22,0,24,0],[34,0,24,0],[35,0,24,0],[36,0,24,0],[37,0,24,0],[38,0,24,0],[39,0,24,0],[40,0,24,0],[41,0,24,0],[42,0,24,0],[43,0,24,0],[44,0,24,0],[45,0,24,0],[46,0,24,0]],[[0,0,25,0],[1,0,25,0],[2,0,25,0],[3,0,25,0],[4,0,25,0],[5,0,25,0],[6,0,25,0],[7,0,25,0],[8,0,25,0],[9,0,25,0],[10,0,25,0],[11,0,25,0],[12,0,25,0],[13,0,25,0],[14,0,25,0],[15,0,25,0],[16,0,25,0],[17,0,25,0],[18,0,25,0],[19,0,25,0],[20,0,25,0],[21,0,25,0],[22,0,25,0],[35,0,25,0],[36,0,25,0],[37,0,25,0],[38,0,25,0],[39,0,25,0],[40,0,25,0],[41,0,25,0],[42,0,25,0],[43,0,25,0],[44,0,25,0],[45,0,25,0],[46,0,25,0],[47,0,25,0]],[[0,0,44,0],[1,0,44,0],[2,0,44,0]],[],[],[[0,0,47,0],[1,0,47,0],[2,0,47,0],[3,0,47,0],[4,0,47,0],[5,0,47,0],[6,0,47,13],[7,0,47,13],[8,0,47,13],[9,0,47,13],[10,0,47,13],[11,0,47,13],[12,0,47,13],[13,0,47,13],[14,0,47,13],[15,0,47,22],[16,0,47,22]],[[4,0,68,21],[5,0,68,21],[6,0,68,21],[7,0,68,21],[8,0,68,21],[9,0,68,21],[10,0,68,21]],[[4,0,48,9],[5,0,48,9],[6,0,48,9],[7,0,48,9],[8,0,48,9],[9,0,48,9],[10,0,48,15]],[[4,0,50,9],[5,0,50,9],[6,0,50,9],[7,0,50,9],[8,0,50,9],[9,0,50,9],[10,0,50,15]],[[4,0,51,9],[5,0,51,9],[6,0,51,9],[7,0,51,9],[8,0,51,13]],[[4,0,52,9],[5,0,52,9],[6,0,52,9],[7,0,52,9],[8,0,52,9],[9,0,52,9],[10,0,52,9],[11,0,52,16]],[[4,0,53,9],[5,0,53,9],[6,0,53,9],[7,0,53,9],[8,0,53,9],[9,0,53,9],[10,0,53,9],[11,0,53,9],[12,0,53,9],[13,0,53,18]],[[4,0,54,9],[5,0,54,9],[6,0,54,9],[7,0,54,9],[8,0,54,9],[9,0,54,14]],[[4,0,55,9],[5,0,55,9],[6,0,55,9],[7,0,55,9],[8,0,55,9],[9,0,55,9],[10,0,55,9],[11,0,55,9],[12,0,55,9],[13,0,55,9],[14,0,55,9],[15,0,55,9],[16,0,55,9],[17,0,55,9],[18,0,55,23]],[[4,0,56,9],[5,0,56,9],[6,0,56,9],[7,0,56,9],[8,0,56,9],[9,0,56,9],[10,0,56,9],[11,0,56,9],[12,0,56,9],[13,0,56,9],[14,0,56,9],[15,0,56,9],[16,0,56,21]],[[4,0,57,9],[5,0,57,9],[6,0,57,9],[7,0,57,9],[8,0,57,9],[9,0,57,9],[10,0,57,15]],[[4,0,58,9],[5,0,58,9],[6,0,58,9],[7,0,58,9],[8,0,58,9],[9,0,58,9],[10,0,58,9],[11,0,58,9],[12,0,58,17]],[[4,0,59,9],[5,0,59,9],[6,0,59,9],[7,0,59,9],[8,0,59,13]],[[4,0,60,9],[5,0,60,9],[6,0,60,9],[7,0,60,9],[8,0,60,9],[9,0,60,9],[10,0,60,15]],[[4,0,61,9],[5,0,61,9],[6,0,61,9],[7,0,61,9],[8,0,61,9],[9,0,61,9],[10,0,61,9],[11,0,61,9],[12,0,61,9],[13,0,61,9],[14,0,61,9],[15,0,61,9],[16,0,61,9],[17,0,61,22]],[[4,0,62,9],[5,0,62,9],[6,0,62,9],[7,0,62,9],[8,0,62,9],[9,0,62,14]],[[4,0,63,9],[5,0,63,9],[6,0,63,9],[7,0,63,9],[8,0,63,9],[9,0,63,9],[10,0,63,15]],[[4,0,64,9],[5,0,64,9],[6,0,64,9],[7,0,64,9],[8,0,64,9],[9,0,64,9],[10,0,64,9],[11,0,64,9],[12,0,64,17]],[[4,0,65,9],[5,0,65,9],[6,0,65,9],[7,0,65,9],[8,0,65,9],[9,0,65,9],[10,0,65,9],[11,0,65,9],[12,0,65,9],[13,0,65,9],[14,0,65,9],[15,0,65,9],[16,0,65,9],[17,0,65,9],[18,0,65,9],[19,0,65,9],[20,0,65,9],[21,0,65,9],[22,0,65,27]],[[4,0,66,9],[5,0,66,9],[6,0,66,9],[7,0,66,9],[8,0,66,9],[9,0,66,9],[10,0,66,9],[11,0,66,9],[12,0,66,9],[13,0,66,9],[14,0,66,9],[15,0,66,9],[16,0,66,9],[17,0,66,22]],[[4,0,68,2],[5,0,68,2],[6,0,68,2],[7,0,68,2],[8,0,68,2],[9,0,68,2],[10,0,68,2],[11,0,68,2],[12,0,68,2],[13,0,68,2],[14,0,68,2],[15,0,68,2],[16,0,68,21],[17,0,68,21],[18,0,68,21],[19,0,68,21],[20,0,68,21],[21,0,68,21],[22,0,68,35],[23,0,68,35],[24,0,68,35]],[[8,0,68,21],[9,0,68,21],[10,0,68,21],[11,0,68,21],[12,0,68,21],[13,0,68,21],[14,0,68,21],[15,0,68,21],[16,0,68,21],[17,0,68,21],[18,0,68,21],[19,0,68,27],[20,0,68,27],[21,0,68,27],[22,0,68,21],[23,0,68,21],[24,0,68,21],[25,0,68,21],[26,0,68,21],[27,0,68,21],[28,0,68,27]],[[8,0,69,4],[9,0,69,4],[10,0,69,4],[11,0,69,4],[12,0,69,8],[13,0,69,9],[14,0,69,9],[15,0,69,9],[16,0,69,9],[17,0,69,9],[18,0,69,9],[19,0,69,15],[20,0,69,15],[21,0,69,15],[22,0,69,18],[23,0,69,18],[24,0,69,18],[25,0,69,18],[26,0,69,18],[27,0,69,18],[28,0,69,18],[29,0,69,18],[30,0,69,18],[31,0,69,18],[32,0,69,18],[33,0,69,18],[34,0,69,18],[35,0,69,18],[36,0,69,18],[37,0,69,18],[38,0,69,18],[39,0,69,18],[40,0,69,18],[41,0,69,18],[42,0,69,18],[43,0,69,18],[44,0,69,18],[45,0,69,18],[46,0,69,18],[47,0,69,18],[48,0,69,18],[49,0,69,30],[50,0,69,30],[51,0,69,38]],[[12,0,70,6],[13,0,70,6],[14,0,70,6],[15,0,70,9],[16,0,70,9],[17,0,70,9],[18,0,70,9],[19,0,70,9],[20,0,70,9],[21,0,70,15]],[[12,0,71,6],[13,0,71,6],[14,0,71,6],[15,0,71,6],[16,0,71,6],[17,0,71,6],[18,0,71,6],[19,0,71,13],[20,0,71,13],[21,0,71,15]],[[16,0,72,8],[17,0,72,8],[18,0,72,8],[19,0,72,11],[20,0,72,11],[21,0,72,11],[22,0,72,11],[23,0,72,11],[24,0,72,11],[25,0,72,17],[26,0,72,18],[27,0,72,18],[28,0,72,18],[29,0,72,18],[30,0,72,18],[31,0,72,18],[32,0,72,18],[33,0,72,25]],[[16,0,73,8],[17,0,73,8],[18,0,73,8],[19,0,73,8],[20,0,73,8],[21,0,73,8],[22,0,73,8],[23,0,73,8],[24,0,73,8],[25,0,73,8],[26,0,73,8],[27,0,73,8],[28,0,73,8],[29,0,73,21],[30,0,73,21],[31,0,73,23],[32,0,73,23],[33,0,73,23],[34,0,73,23],[35,0,73,23],[36,0,73,23],[37,0,73,29],[38,0,73,30],[39,0,73,30],[40,0,73,30],[41,0,73,30],[42,0,73,30],[43,0,73,30],[44,0,73,36],[45,0,73,37],[46,0,73,38],[47,0,73,39],[48,0,73,39],[49,0,73,39],[50,0,73,39],[51,0,73,39],[52,0,73,39],[53,0,73,39],[54,0,73,39],[55,0,73,39],[56,0,73,39],[57,0,73,49],[58,0,73,49],[59,0,73,49],[60,0,73,49],[61,0,73,49],[62,0,73,49],[63,0,73,55],[64,0,73,56],[65,0,73,56],[66,0,73,56],[67,0,73,56],[68,0,73,56],[69,0,73,56],[70,0,73,62],[71,0,73,62],[72,0,73,64],[73,0,73,65],[74,0,73,66],[75,0,73,67],[76,0,73,67],[77,0,73,67],[78,0,73,67],[79,0,73,67],[80,0,73,67],[81,0,73,67],[82,0,73,67],[83,0,73,67],[84,0,73,76]],[[13,0,74,7]],[[12,0,75,6],[13,0,75,6],[14,0,75,6],[15,0,75,6],[16,0,75,6],[17,0,75,6],[18,0,75,6],[19,0,75,6],[20,0,75,6],[21,0,75,6],[22,0,75,6],[23,0,75,6],[24,0,75,6],[25,0,75,6],[26,0,75,6],[27,0,75,21],[28,0,75,21],[29,0,75,23],[30,0,75,24],[31,0,75,25],[32,0,75,25],[33,0,75,27],[34,0,75,27],[35,0,75,29],[36,0,76,8],[37,0,76,8],[38,0,76,8],[39,0,76,8],[40,0,76,8],[41,0,76,8],[42,0,76,8],[43,0,76,8],[44,0,76,8],[45,0,76,8],[46,0,76,8],[47,0,76,8],[48,0,76,8],[49,0,76,8],[50,0,76,8],[51,0,76,8],[52,0,76,8],[53,0,76,8],[54,0,76,8],[55,0,76,8],[56,0,76,8],[57,0,76,8],[58,0,76,8],[59,0,76,8],[60,0,76,8],[61,0,76,8],[62,0,76,8],[63,0,76,8],[64,0,76,8],[65,0,76,8],[66,0,76,8],[67,0,76,8],[68,0,76,8],[69,0,76,8],[70,0,76,8],[71,0,76,8],[72,0,76,8],[73,0,76,8],[74,0,76,8],[75,0,76,8],[76,0,76,8],[77,0,76,29],[78,0,76,29],[79,0,76,30]],[[16,0,77,10],[17,0,77,10],[18,0,77,10],[19,0,77,10],[20,0,77,10],[21,0,77,15],[22,0,77,15],[23,0,77,17]],[[20,0,78,12],[21,0,78,12],[22,0,78,12],[23,0,78,12],[24,0,78,12],[25,0,78,12],[26,0,78,12],[27,0,78,19],[28,0,78,19],[29,0,78,21],[30,0,78,21],[31,0,78,21],[32,0,78,21],[33,0,78,25]],[[20,0,79,12],[21,0,79,12],[22,0,79,12],[23,0,79,12],[24,0,79,12],[25,0,79,17],[26,0,79,17],[27,0,79,19],[28,0,79,19],[29,0,79,19],[30,0,79,19],[31,0,79,19],[32,0,79,19],[33,0,79,25]],[[17,0,80,11]],[[16,0,81,10],[17,0,81,10],[18,0,81,10],[19,0,81,10],[20,0,81,10],[21,0,81,10],[22,0,81,16],[23,0,81,16],[24,0,81,18]],[[20,0,82,12],[21,0,82,12],[22,0,82,12],[23,0,82,12],[24,0,82,12],[25,0,82,12],[26,0,82,12],[27,0,82,19],[28,0,82,19],[29,0,82,21],[30,0,82,21],[31,0,82,21],[32,0,82,21],[33,0,82,25]],[[20,0,83,12],[21,0,83,12],[22,0,83,12],[23,0,83,12],[24,0,83,12],[25,0,83,17],[26,0,83,17],[27,0,83,19],[28,0,83,19],[29,0,83,19],[30,0,83,19],[31,0,83,19],[32,0,83,19],[33,0,83,19],[34,0,83,19],[35,0,83,19],[36,0,83,19],[37,0,83,19],[38,0,83,19],[39,0,83,31]],[[17,0,84,11]],[[13,0,85,9],[14,0,85,10],[15,0,85,11],[16,0,85,11],[17,0,85,11],[18,0,85,11],[19,0,85,11],[20,0,85,11],[21,0,85,11],[22,0,85,11],[23,0,85,11],[24,0,85,11],[25,0,85,11],[26,0,85,11],[27,0,85,11],[28,0,85,11],[29,0,85,11],[30,0,85,11],[31,0,85,11],[32,0,85,11],[33,0,85,11],[34,0,85,11],[35,0,85,11],[36,0,85,11],[37,0,85,11],[38,0,85,11],[39,0,85,11],[40,0,85,11],[41,0,85,22],[42,0,85,22],[43,0,85,23],[44,0,85,24],[45,0,85,25],[46,0,85,26]],[[9,0,86,5],[10,0,86,6]],[[8,0,88,4],[9,0,88,4],[10,0,88,4],[11,0,88,4],[12,0,88,8],[13,0,88,9],[14,0,88,9],[15,0,88,9],[16,0,88,9],[17,0,88,9],[18,0,88,9],[19,0,88,15],[20,0,88,15],[21,0,88,15],[22,0,88,18],[23,0,88,18],[24,0,88,18],[25,0,88,18],[26,0,88,22],[27,0,88,22],[28,0,88,22],[29,0,88,22],[30,0,88,22],[31,0,88,22],[32,0,88,22],[33,0,88,22],[34,0,88,22],[35,0,88,22],[36,0,88,22],[37,0,88,22],[38,0,88,22],[39,0,88,22],[40,0,88,22],[41,0,88,22],[42,0,88,22],[43,0,88,22],[44,0,88,28],[45,0,88,29],[46,0,88,29],[47,0,88,29],[48,0,88,29],[49,0,88,33],[50,0,88,34],[51,0,88,34],[52,0,88,34],[53,0,88,34],[54,0,88,34],[55,0,88,34],[56,0,88,40],[57,0,88,41]],[[8,0,89,4],[9,0,89,4],[10,0,89,4],[11,0,89,4],[12,0,89,8],[13,0,89,9],[14,0,89,9],[15,0,89,9],[16,0,89,9],[17,0,89,13],[18,0,89,13],[19,0,89,13],[20,0,89,16],[21,0,89,16],[22,0,89,16],[23,0,89,16],[24,0,89,20],[25,0,89,20],[26,0,89,20],[27,0,89,20],[28,0,89,20],[29,0,89,20],[30,0,89,20],[31,0,89,20],[32,0,89,20],[33,0,89,20],[34,0,89,20],[35,0,89,20],[36,0,89,20],[37,0,89,20],[38,0,89,24],[39,0,89,25],[40,0,89,25],[41,0,89,25],[42,0,89,25],[43,0,89,29],[44,0,89,30],[45,0,89,30],[46,0,89,30],[47,0,89,30],[48,0,89,30],[49,0,89,30],[50,0,89,36],[51,0,89,37]],[[8,0,90,4],[9,0,90,4],[10,0,90,4],[11,0,90,4],[12,0,90,8],[13,0,90,9],[14,0,90,9],[15,0,90,9],[16,0,90,9],[17,0,90,9],[18,0,90,9],[19,0,90,9],[20,0,90,16],[21,0,90,16],[22,0,90,16],[23,0,90,19],[24,0,90,19],[25,0,90,19],[26,0,90,19],[27,0,90,23],[28,0,90,23],[29,0,90,23],[30,0,90,23],[31,0,90,23],[32,0,90,23],[33,0,90,23],[34,0,90,23],[35,0,90,23],[36,0,90,23],[37,0,90,23],[38,0,90,23],[39,0,90,23],[40,0,90,23],[41,0,90,23],[42,0,90,23],[43,0,90,23],[44,0,90,23],[45,0,90,23],[46,0,90,23],[47,0,90,30],[48,0,90,31],[49,0,90,31],[50,0,90,31],[51,0,90,31],[52,0,90,35],[53,0,90,36],[54,0,90,36],[55,0,90,36],[56,0,90,36],[57,0,90,36],[58,0,90,36],[59,0,90,42],[60,0,90,43]],[[8,0,91,4],[9,0,91,4],[10,0,91,4],[11,0,91,4],[12,0,91,8],[13,0,91,9],[14,0,91,9],[15,0,91,9],[16,0,91,9],[17,0,91,9],[18,0,91,9],[19,0,91,9],[20,0,91,9],[21,0,91,9],[22,0,91,18],[23,0,91,18],[24,0,91,18],[25,0,91,21],[26,0,91,21],[27,0,91,21],[28,0,91,21],[29,0,91,25],[30,0,91,25],[31,0,91,25],[32,0,91,25],[33,0,91,25],[34,0,91,25],[35,0,91,25],[36,0,91,25],[37,0,91,25],[38,0,91,25],[39,0,91,25],[40,0,91,25],[41,0,91,25],[42,0,91,25],[43,0,91,25],[44,0,91,25],[45,0,91,25],[46,0,91,25],[47,0,91,25],[48,0,91,25],[49,0,91,25],[50,0,91,25],[51,0,91,25],[52,0,91,25],[53,0,91,34],[54,0,91,35],[55,0,91,35],[56,0,91,35],[57,0,91,35],[58,0,91,39],[59,0,91,40],[60,0,91,40],[61,0,91,40],[62,0,91,40],[63,0,91,40],[64,0,91,40],[65,0,91,46],[66,0,91,47]],[[8,0,92,4],[9,0,92,4],[10,0,92,4],[11,0,92,4],[12,0,92,8],[13,0,92,9],[14,0,92,9],[15,0,92,9],[16,0,92,9],[17,0,92,9],[18,0,92,14],[19,0,92,14],[20,0,92,14],[21,0,92,17],[22,0,92,17],[23,0,92,17],[24,0,92,17],[25,0,92,21],[26,0,92,21],[27,0,92,21],[28,0,92,21],[29,0,92,21],[30,0,92,21],[31,0,92,21],[32,0,92,21],[33,0,92,21],[34,0,92,21],[35,0,92,21],[36,0,92,21],[37,0,92,21],[38,0,92,21],[39,0,92,21],[40,0,92,21],[41,0,92,26],[42,0,92,27],[43,0,92,27],[44,0,92,27],[45,0,92,27],[46,0,92,31],[47,0,92,32],[48,0,92,32],[49,0,92,32],[50,0,92,32],[51,0,92,32],[52,0,92,32],[53,0,92,38],[54,0,92,39]],[[8,0,93,4],[9,0,93,4],[10,0,93,4],[11,0,93,4],[12,0,93,8],[13,0,93,9],[14,0,93,9],[15,0,93,9],[16,0,93,9],[17,0,93,9],[18,0,93,9],[19,0,93,9],[20,0,93,9],[21,0,93,9],[22,0,93,9],[23,0,93,9],[24,0,93,9],[25,0,93,9],[26,0,93,9],[27,0,93,23],[28,0,93,23],[29,0,93,23],[30,0,93,26],[31,0,93,26],[32,0,93,26],[33,0,93,26],[34,0,93,30],[35,0,93,30],[36,0,93,30],[37,0,93,30],[38,0,93,30],[39,0,93,30],[40,0,93,30],[41,0,93,30],[42,0,93,30],[43,0,93,30],[44,0,93,30],[45,0,93,30],[46,0,93,30],[47,0,93,30],[48,0,93,30],[49,0,93,30],[50,0,93,30],[51,0,93,30],[52,0,93,30],[53,0,93,30],[54,0,93,30],[55,0,93,30],[56,0,93,30],[57,0,93,30],[58,0,93,30],[59,0,93,30],[60,0,93,30],[61,0,93,30],[62,0,93,30],[63,0,93,30],[64,0,93,42],[65,0,93,43],[66,0,93,43],[67,0,93,43],[68,0,93,43],[69,0,93,47],[70,0,93,48],[71,0,93,48],[72,0,93,48],[73,0,93,48],[74,0,93,48],[75,0,93,48],[76,0,93,54],[77,0,93,55]],[[8,0,94,4],[9,0,94,4],[10,0,94,4],[11,0,94,4],[12,0,94,8],[13,0,94,9],[14,0,94,9],[15,0,94,9],[16,0,94,9],[17,0,94,9],[18,0,94,9],[19,0,94,9],[20,0,94,9],[21,0,94,9],[22,0,94,9],[23,0,94,9],[24,0,94,9],[25,0,94,21],[26,0,94,21],[27,0,94,21],[28,0,94,24],[29,0,94,24],[30,0,94,24],[31,0,94,24],[32,0,94,28],[33,0,94,28],[34,0,94,28],[35,0,94,28],[36,0,94,28],[37,0,94,28],[38,0,94,28],[39,0,94,28],[40,0,94,28],[41,0,94,28],[42,0,94,28],[43,0,94,28],[44,0,94,28],[45,0,94,28],[46,0,94,28],[47,0,94,28],[48,0,94,28],[49,0,94,28],[50,0,94,28],[51,0,94,28],[52,0,94,28],[53,0,94,28],[54,0,94,28],[55,0,94,28],[56,0,94,28],[57,0,94,28],[58,0,94,28],[59,0,94,28],[60,0,94,28],[61,0,94,28],[62,0,94,28],[63,0,94,28],[64,0,94,42],[65,0,94,43],[66,0,94,43],[67,0,94,43],[68,0,94,43],[69,0,94,47],[70,0,94,48],[71,0,94,48],[72,0,94,48],[73,0,94,48],[74,0,94,48],[75,0,94,48],[76,0,94,54],[77,0,94,55]],[[8,0,95,4],[9,0,95,4],[10,0,95,4],[11,0,95,4],[12,0,95,8],[13,0,95,9],[14,0,95,9],[15,0,95,9],[16,0,95,9],[17,0,95,9],[18,0,95,9],[19,0,95,15],[20,0,95,15],[21,0,95,15],[22,0,95,18],[23,0,95,18],[24,0,95,18],[25,0,95,18],[26,0,95,22],[27,0,95,22],[28,0,95,22],[29,0,95,22],[30,0,95,22],[31,0,95,22],[32,0,95,22],[33,0,95,22],[34,0,95,22],[35,0,95,22],[36,0,95,22],[37,0,95,22],[38,0,95,22],[39,0,95,22],[40,0,95,22],[41,0,95,22],[42,0,95,22],[43,0,95,22],[44,0,95,28],[45,0,95,29],[46,0,95,29],[47,0,95,29],[48,0,95,29],[49,0,95,33],[50,0,95,34],[51,0,95,34],[52,0,95,34],[53,0,95,34],[54,0,95,34],[55,0,95,34],[56,0,95,40],[57,0,95,41]],[[8,0,96,4],[9,0,96,4],[10,0,96,4],[11,0,96,4],[12,0,96,8],[13,0,96,9],[14,0,96,9],[15,0,96,9],[16,0,96,9],[17,0,96,9],[18,0,96,9],[19,0,96,9],[20,0,96,9],[21,0,96,17],[22,0,96,17],[23,0,96,17],[24,0,96,20],[25,0,96,20],[26,0,96,20],[27,0,96,20],[28,0,96,24],[29,0,96,24],[30,0,96,24],[31,0,96,24],[32,0,96,24],[33,0,96,24],[34,0,96,24],[35,0,96,24],[36,0,96,24],[37,0,96,24],[38,0,96,24],[39,0,96,24],[40,0,96,24],[41,0,96,24],[42,0,96,24],[43,0,96,24],[44,0,96,24],[45,0,96,24],[46,0,96,24],[47,0,96,24],[48,0,96,24],[49,0,96,24],[50,0,96,32],[51,0,96,33],[52,0,96,33],[53,0,96,33],[54,0,96,33],[55,0,96,37],[56,0,96,38],[57,0,96,38],[58,0,96,38],[59,0,96,38],[60,0,96,38],[61,0,96,38],[62,0,96,44],[63,0,96,45]],[[8,0,97,4],[9,0,97,4],[10,0,97,4],[11,0,97,4],[12,0,97,8],[13,0,97,9],[14,0,97,9],[15,0,97,9],[16,0,97,9],[17,0,97,13],[18,0,97,13],[19,0,97,13],[20,0,97,16],[21,0,97,16],[22,0,97,16],[23,0,97,16],[24,0,97,20],[25,0,97,20],[26,0,97,20],[27,0,97,20],[28,0,97,20],[29,0,97,20],[30,0,97,20],[31,0,97,20],[32,0,97,20],[33,0,97,20],[34,0,97,20],[35,0,97,20],[36,0,97,20],[37,0,97,20],[38,0,97,24],[39,0,97,25],[40,0,97,25],[41,0,97,25],[42,0,97,25],[43,0,97,29],[44,0,97,30],[45,0,97,30],[46,0,97,30],[47,0,97,30],[48,0,97,30],[49,0,97,30],[50,0,97,36],[51,0,97,37]],[[8,0,98,4],[9,0,98,4],[10,0,98,4],[11,0,98,4],[12,0,98,8],[13,0,98,9],[14,0,98,9],[15,0,98,9],[16,0,98,9],[17,0,98,9],[18,0,98,9],[19,0,98,15],[20,0,98,15],[21,0,98,15],[22,0,98,18],[23,0,98,18],[24,0,98,18],[25,0,98,18],[26,0,98,22],[27,0,98,22],[28,0,98,22],[29,0,98,22],[30,0,98,22],[31,0,98,22],[32,0,98,22],[33,0,98,22],[34,0,98,22],[35,0,98,22],[36,0,98,22],[37,0,98,22],[38,0,98,22],[39,0,98,22],[40,0,98,22],[41,0,98,22],[42,0,98,22],[43,0,98,22],[44,0,98,28],[45,0,98,29],[46,0,98,29],[47,0,98,29],[48,0,98,29],[49,0,98,33],[50,0,98,34],[51,0,98,34],[52,0,98,34],[53,0,98,34],[54,0,98,34],[55,0,98,34],[56,0,98,40],[57,0,98,41]],[[8,0,99,4],[9,0,99,4],[10,0,99,4],[11,0,99,4],[12,0,99,8],[13,0,99,9],[14,0,99,9],[15,0,99,9],[16,0,99,9],[17,0,99,9],[18,0,99,9],[19,0,99,9],[20,0,99,9],[21,0,99,9],[22,0,99,9],[23,0,99,9],[24,0,99,9],[25,0,99,9],[26,0,99,22],[27,0,99,22],[28,0,99,22],[29,0,99,25],[30,0,99,25],[31,0,99,25],[32,0,99,25],[33,0,99,29],[34,0,99,29],[35,0,99,29],[36,0,99,29],[37,0,99,29],[38,0,99,29],[39,0,99,29],[40,0,99,29],[41,0,99,29],[42,0,99,29],[43,0,99,29],[44,0,99,29],[45,0,99,29],[46,0,99,29],[47,0,99,29],[48,0,99,29],[49,0,99,29],[50,0,99,29],[51,0,99,29],[52,0,99,29],[53,0,99,29],[54,0,99,29],[55,0,99,29],[56,0,99,29],[57,0,99,29],[58,0,99,29],[59,0,99,29],[60,0,99,29],[61,0,99,29],[62,0,99,29],[63,0,99,29],[64,0,99,29],[65,0,99,42],[66,0,99,43],[67,0,99,43],[68,0,99,43],[69,0,99,43],[70,0,99,47],[71,0,99,48],[72,0,99,48],[73,0,99,48],[74,0,99,48],[75,0,99,48],[76,0,99,48],[77,0,99,54],[78,0,99,55]],[[8,0,100,4],[9,0,100,4],[10,0,100,4],[11,0,100,4],[12,0,100,8],[13,0,100,9],[14,0,100,9],[15,0,100,9],[16,0,100,9],[17,0,100,9],[18,0,100,14],[19,0,100,14],[20,0,100,14],[21,0,100,17],[22,0,100,17],[23,0,100,17],[24,0,100,17],[25,0,100,21],[26,0,100,21],[27,0,100,21],[28,0,100,21],[29,0,100,21],[30,0,100,21],[31,0,100,21],[32,0,100,21],[33,0,100,21],[34,0,100,21],[35,0,100,21],[36,0,100,21],[37,0,100,21],[38,0,100,21],[39,0,100,21],[40,0,100,21],[41,0,100,26],[42,0,100,27],[43,0,100,27],[44,0,100,27],[45,0,100,27],[46,0,100,31],[47,0,100,32],[48,0,100,32],[49,0,100,32],[50,0,100,32],[51,0,100,32],[52,0,100,32],[53,0,100,38],[54,0,100,39]],[[8,0,101,4],[9,0,101,4],[10,0,101,4],[11,0,101,4],[12,0,101,8],[13,0,101,9],[14,0,101,9],[15,0,101,9],[16,0,101,9],[17,0,101,9],[18,0,101,9],[19,0,101,15],[20,0,101,15],[21,0,101,15],[22,0,101,18],[23,0,101,18],[24,0,101,18],[25,0,101,18],[26,0,101,22],[27,0,101,22],[28,0,101,22],[29,0,101,22],[30,0,101,22],[31,0,101,22],[32,0,101,22],[33,0,101,22],[34,0,101,22],[35,0,101,22],[36,0,101,22],[37,0,101,22],[38,0,101,22],[39,0,101,22],[40,0,101,22],[41,0,101,22],[42,0,101,22],[43,0,101,22],[44,0,101,28],[45,0,101,29],[46,0,101,29],[47,0,101,29],[48,0,101,29],[49,0,101,33],[50,0,101,34],[51,0,101,34],[52,0,101,34],[53,0,101,34],[54,0,101,34],[55,0,101,34],[56,0,101,40],[57,0,101,41]],[[8,0,102,4],[9,0,102,4],[10,0,102,4],[11,0,102,4],[12,0,102,8],[13,0,102,9],[14,0,102,9],[15,0,102,9],[16,0,102,9],[17,0,102,9],[18,0,102,9],[19,0,102,9],[20,0,102,9],[21,0,102,17],[22,0,102,17],[23,0,102,17],[24,0,102,20],[25,0,102,20],[26,0,102,20],[27,0,102,20],[28,0,102,24],[29,0,102,24],[30,0,102,24],[31,0,102,24],[32,0,102,24],[33,0,102,24],[34,0,102,24],[35,0,102,24],[36,0,102,24],[37,0,102,24],[38,0,102,24],[39,0,102,24],[40,0,102,24],[41,0,102,24],[42,0,102,24],[43,0,102,24],[44,0,102,24],[45,0,102,24],[46,0,102,24],[47,0,102,24],[48,0,102,24],[49,0,102,24],[50,0,102,32],[51,0,102,33],[52,0,102,33],[53,0,102,33],[54,0,102,33],[55,0,102,37],[56,0,102,38],[57,0,102,38],[58,0,102,38],[59,0,102,38],[60,0,102,38],[61,0,102,38],[62,0,102,44],[63,0,102,45]],[[8,0,103,4],[9,0,103,4],[10,0,103,4],[11,0,103,4],[12,0,103,8],[13,0,103,9],[14,0,103,9],[15,0,103,9],[16,0,103,9],[17,0,103,9],[18,0,103,9],[19,0,103,9],[20,0,103,9],[21,0,103,9],[22,0,103,9],[23,0,103,9],[24,0,103,9],[25,0,103,9],[26,0,103,9],[27,0,103,9],[28,0,103,9],[29,0,103,9],[30,0,103,9],[31,0,103,27],[32,0,103,27],[33,0,103,27],[34,0,103,30],[35,0,103,30],[36,0,103,30],[37,0,103,30],[38,0,103,34],[39,0,103,34],[40,0,103,34],[41,0,103,34],[42,0,103,34],[43,0,103,34],[44,0,103,34],[45,0,103,34],[46,0,103,34],[47,0,103,34],[48,0,103,34],[49,0,103,34],[50,0,103,34],[51,0,103,34],[52,0,103,34],[53,0,103,34],[54,0,103,34],[55,0,103,34],[56,0,103,34],[57,0,103,34],[58,0,103,34],[59,0,103,34],[60,0,103,34],[61,0,103,34],[62,0,103,34],[63,0,103,34],[64,0,103,34],[65,0,103,34],[66,0,103,34],[67,0,103,34],[68,0,103,34],[69,0,103,34],[70,0,103,34],[71,0,103,34],[72,0,103,34],[73,0,103,34],[74,0,103,34],[75,0,103,34],[76,0,103,34],[77,0,103,34],[78,0,103,34],[79,0,103,34],[80,0,103,34],[81,0,103,52],[82,0,103,53],[83,0,103,53],[84,0,103,53],[85,0,103,53],[86,0,103,57],[87,0,103,58],[88,0,103,58],[89,0,103,58],[90,0,103,58],[91,0,103,58],[92,0,103,58],[93,0,103,64],[94,0,103,65]],[[8,0,104,4],[9,0,104,4],[10,0,104,4],[11,0,104,4],[12,0,104,8],[13,0,104,9],[14,0,104,9],[15,0,104,9],[16,0,104,9],[17,0,104,9],[18,0,104,9],[19,0,104,9],[20,0,104,9],[21,0,104,9],[22,0,104,9],[23,0,104,9],[24,0,104,9],[25,0,104,9],[26,0,104,22],[27,0,104,22],[28,0,104,22],[29,0,104,25],[30,0,104,25],[31,0,104,25],[32,0,104,25],[33,0,104,29],[34,0,104,29],[35,0,104,29],[36,0,104,29],[37,0,104,29],[38,0,104,29],[39,0,104,29],[40,0,104,29],[41,0,104,29],[42,0,104,29],[43,0,104,29],[44,0,104,29],[45,0,104,29],[46,0,104,29],[47,0,104,29],[48,0,104,29],[49,0,104,29],[50,0,104,29],[51,0,104,29],[52,0,104,29],[53,0,104,29],[54,0,104,29],[55,0,104,29],[56,0,104,29],[57,0,104,29],[58,0,104,29],[59,0,104,29],[60,0,104,29],[61,0,104,29],[62,0,104,29],[63,0,104,29],[64,0,104,29],[65,0,104,42],[66,0,104,43],[67,0,104,43],[68,0,104,43],[69,0,104,43],[70,0,104,47],[71,0,104,48],[72,0,104,48],[73,0,104,48],[74,0,104,48],[75,0,104,48],[76,0,104,48],[77,0,104,54],[78,0,104,55]],[[4,0,105,2]],[],[[0,0,47,0],[1,0,47,0],[2,0,47,0],[3,0,47,0],[4,0,47,0],[5,0,47,0],[6,0,47,0],[7,0,47,0],[8,0,47,0],[9,0,47,0],[10,0,47,0],[11,0,47,0],[12,0,47,0],[13,0,47,0],[14,0,47,0],[15,0,47,0],[16,0,47,0],[17,0,47,0],[18,0,47,0],[19,0,47,0],[20,0,47,0],[21,0,47,0],[22,0,47,0],[23,0,47,0],[24,0,47,0],[25,0,47,0],[26,0,47,0],[27,0,47,0],[28,0,47,0],[29,0,47,0]]],"ignoreList":[]}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { type Client, type ClientOptions } from 'openapi-fetch';
|
|
2
|
+
import { Addons } from './addons.cjs';
|
|
3
|
+
import { Apps } from './apps.cjs';
|
|
4
|
+
import { Billing } from './billing.cjs';
|
|
5
|
+
import { Customers } from './customers.cjs';
|
|
6
|
+
import { Debug } from './debug.cjs';
|
|
7
|
+
import { Entitlements, EntitlementsV2 } from './entitlements.cjs';
|
|
8
|
+
import { Events } from './events.cjs';
|
|
9
|
+
import { Features } from './features.cjs';
|
|
10
|
+
import { Info } from './info.cjs';
|
|
11
|
+
import { Meters } from './meters.cjs';
|
|
12
|
+
import { Notifications } from './notifications.cjs';
|
|
13
|
+
import { Plans } from './plans.cjs';
|
|
14
|
+
import { Portal } from './portal.cjs';
|
|
15
|
+
import type { paths } from './schemas.cjs';
|
|
16
|
+
import { Subjects } from './subjects.cjs';
|
|
17
|
+
import { SubscriptionAddons } from './subscription-addons.cjs';
|
|
18
|
+
import { Subscriptions } from './subscriptions.cjs';
|
|
19
|
+
export * from './common.cjs';
|
|
20
|
+
export * from './schemas.cjs';
|
|
21
|
+
/**
|
|
22
|
+
* OpenMeter Config
|
|
23
|
+
*/
|
|
24
|
+
export type Config = Pick<ClientOptions, 'baseUrl' | 'headers' | 'fetch' | 'Request' | 'requestInitExt'> & ({
|
|
25
|
+
apiKey?: string;
|
|
26
|
+
} | {
|
|
27
|
+
baseUrl: 'https://openmeter.cloud';
|
|
28
|
+
apiKey: string;
|
|
29
|
+
});
|
|
30
|
+
/**
|
|
31
|
+
* OpenMeter Client
|
|
32
|
+
*/
|
|
33
|
+
export declare class OpenMeter {
|
|
34
|
+
config: Config;
|
|
35
|
+
client: Client<paths, `${string}/${string}`>;
|
|
36
|
+
addons: Addons;
|
|
37
|
+
apps: Apps;
|
|
38
|
+
billing: Billing;
|
|
39
|
+
customers: Customers;
|
|
40
|
+
debug: Debug;
|
|
41
|
+
entitlementsV1: Entitlements;
|
|
42
|
+
entitlements: EntitlementsV2;
|
|
43
|
+
events: Events;
|
|
44
|
+
features: Features;
|
|
45
|
+
info: Info;
|
|
46
|
+
meters: Meters;
|
|
47
|
+
notifications: Notifications;
|
|
48
|
+
plans: Plans;
|
|
49
|
+
portal: Portal;
|
|
50
|
+
subjects: Subjects;
|
|
51
|
+
subscriptionAddons: SubscriptionAddons;
|
|
52
|
+
subscriptions: Subscriptions;
|
|
53
|
+
constructor(config: Config);
|
|
54
|
+
}
|