@stigg/typescript 0.1.0-beta.1 → 0.1.0-beta.2
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/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/resources/v1/credits/auto-recharge.d.mts +84 -0
- package/resources/v1/credits/auto-recharge.d.mts.map +1 -0
- package/resources/v1/credits/auto-recharge.d.ts +84 -0
- package/resources/v1/credits/auto-recharge.d.ts.map +1 -0
- package/resources/v1/credits/auto-recharge.js +16 -0
- package/resources/v1/credits/auto-recharge.js.map +1 -0
- package/resources/v1/credits/auto-recharge.mjs +12 -0
- package/resources/v1/credits/auto-recharge.mjs.map +1 -0
- package/resources/v1/{events/credits → credits}/credits.d.mts +11 -82
- package/resources/v1/credits/credits.d.mts.map +1 -0
- package/resources/v1/{events/credits → credits}/credits.d.ts +11 -82
- package/resources/v1/credits/credits.d.ts.map +1 -0
- package/resources/v1/{events/credits → credits}/credits.js +7 -10
- package/resources/v1/credits/credits.js.map +1 -0
- package/resources/v1/{events/credits → credits}/credits.mjs +6 -9
- package/resources/v1/credits/credits.mjs.map +1 -0
- package/resources/v1/{events/credits → credits}/custom-currencies.d.mts +12 -219
- package/resources/v1/credits/custom-currencies.d.mts.map +1 -0
- package/resources/v1/{events/credits → credits}/custom-currencies.d.ts +12 -219
- package/resources/v1/credits/custom-currencies.d.ts.map +1 -0
- package/resources/v1/{events/credits → credits}/custom-currencies.js +3 -3
- package/resources/v1/credits/custom-currencies.js.map +1 -0
- package/resources/v1/{events/credits → credits}/custom-currencies.mjs +3 -3
- package/resources/v1/credits/custom-currencies.mjs.map +1 -0
- package/resources/v1/{events/credits → credits}/grants.d.mts +4 -4
- package/resources/v1/credits/grants.d.mts.map +1 -0
- package/resources/v1/{events/credits → credits}/grants.d.ts +4 -4
- package/resources/v1/credits/grants.d.ts.map +1 -0
- package/resources/v1/{events/credits → credits}/grants.js +3 -3
- package/resources/v1/credits/grants.js.map +1 -0
- package/resources/v1/{events/credits → credits}/grants.mjs +3 -3
- package/resources/v1/credits/grants.mjs.map +1 -0
- package/resources/v1/credits/index.d.mts +5 -0
- package/resources/v1/credits/index.d.mts.map +1 -0
- package/resources/v1/credits/index.d.ts +5 -0
- package/resources/v1/credits/index.d.ts.map +1 -0
- package/resources/v1/{events/credits → credits}/index.js +3 -1
- package/resources/v1/credits/index.js.map +1 -0
- package/resources/v1/{events/credits → credits}/index.mjs +1 -0
- package/resources/v1/credits/index.mjs.map +1 -0
- package/resources/v1/credits.d.mts.map +1 -0
- package/resources/v1/credits.d.ts.map +1 -0
- package/resources/v1/{events/credits.js → credits.js} +1 -1
- package/resources/v1/credits.js.map +1 -0
- package/resources/v1/credits.mjs.map +1 -0
- package/resources/v1/events.d.mts +65 -1
- package/resources/v1/events.d.mts.map +1 -1
- package/resources/v1/events.d.ts +65 -1
- package/resources/v1/events.d.ts.map +1 -1
- package/resources/v1/events.js +15 -2
- package/resources/v1/events.js.map +1 -1
- package/resources/v1/events.mjs +13 -1
- package/resources/v1/events.mjs.map +1 -1
- package/resources/v1/index.d.mts +2 -1
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +2 -1
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js +7 -5
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs +2 -1
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/v1.d.mts +6 -2
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +6 -2
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js +6 -2
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs +6 -2
- package/resources/v1/v1.mjs.map +1 -1
- package/src/resources/v1/credits/auto-recharge.ts +109 -0
- package/src/resources/v1/{events/credits → credits}/credits.ts +20 -109
- package/src/resources/v1/{events/credits → credits}/custom-currencies.ts +13 -256
- package/src/resources/v1/{events/credits → credits}/grants.ts +5 -5
- package/src/resources/v1/{events/credits → credits}/index.ts +6 -6
- package/src/resources/v1/events.ts +75 -1
- package/src/resources/v1/index.ts +9 -1
- package/src/resources/v1/v1.ts +22 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/v1/events/credits/credits.d.mts.map +0 -1
- package/resources/v1/events/credits/credits.d.ts.map +0 -1
- package/resources/v1/events/credits/credits.js.map +0 -1
- package/resources/v1/events/credits/credits.mjs.map +0 -1
- package/resources/v1/events/credits/custom-currencies.d.mts.map +0 -1
- package/resources/v1/events/credits/custom-currencies.d.ts.map +0 -1
- package/resources/v1/events/credits/custom-currencies.js.map +0 -1
- package/resources/v1/events/credits/custom-currencies.mjs.map +0 -1
- package/resources/v1/events/credits/grants.d.mts.map +0 -1
- package/resources/v1/events/credits/grants.d.ts.map +0 -1
- package/resources/v1/events/credits/grants.js.map +0 -1
- package/resources/v1/events/credits/grants.mjs.map +0 -1
- package/resources/v1/events/credits/index.d.mts +0 -4
- package/resources/v1/events/credits/index.d.mts.map +0 -1
- package/resources/v1/events/credits/index.d.ts +0 -4
- package/resources/v1/events/credits/index.d.ts.map +0 -1
- package/resources/v1/events/credits/index.js.map +0 -1
- package/resources/v1/events/credits/index.mjs.map +0 -1
- package/resources/v1/events/credits.d.mts.map +0 -1
- package/resources/v1/events/credits.d.ts.map +0 -1
- package/resources/v1/events/credits.js.map +0 -1
- package/resources/v1/events/credits.mjs.map +0 -1
- package/resources/v1/events/events.d.mts +0 -70
- package/resources/v1/events/events.d.mts.map +0 -1
- package/resources/v1/events/events.d.ts +0 -70
- package/resources/v1/events/events.d.ts.map +0 -1
- package/resources/v1/events/events.js +0 -27
- package/resources/v1/events/events.js.map +0 -1
- package/resources/v1/events/events.mjs +0 -22
- package/resources/v1/events/events.mjs.map +0 -1
- package/resources/v1/events/index.d.mts +0 -3
- package/resources/v1/events/index.d.mts.map +0 -1
- package/resources/v1/events/index.d.ts +0 -3
- package/resources/v1/events/index.d.ts.map +0 -1
- package/resources/v1/events/index.js +0 -9
- package/resources/v1/events/index.js.map +0 -1
- package/resources/v1/events/index.mjs +0 -4
- package/resources/v1/events/index.mjs.map +0 -1
- package/src/resources/v1/events/events.ts +0 -103
- package/src/resources/v1/events/index.ts +0 -13
- /package/resources/v1/{events/credits.d.mts → credits.d.mts} +0 -0
- /package/resources/v1/{events/credits.d.ts → credits.d.ts} +0 -0
- /package/resources/v1/{events/credits.mjs → credits.mjs} +0 -0
- /package/src/resources/v1/{events/credits.ts → credits.ts} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '
|
|
4
|
-
import { APIPromise } from '
|
|
5
|
-
import { MyCursorIDPage, type MyCursorIDPageParams, PagePromise } from '
|
|
6
|
-
import { RequestOptions } from '
|
|
7
|
-
import { path } from '
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
5
|
+
import { MyCursorIDPage, type MyCursorIDPageParams, PagePromise } from '../../../core/pagination';
|
|
6
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
7
|
+
import { path } from '../../../internal/utils/path';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Operations related to custom currencies
|
|
@@ -13,10 +13,7 @@ export class CustomCurrencies extends APIResource {
|
|
|
13
13
|
/**
|
|
14
14
|
* Creates a new custom currency in the environment.
|
|
15
15
|
*/
|
|
16
|
-
create(
|
|
17
|
-
body: CustomCurrencyCreateParams,
|
|
18
|
-
options?: RequestOptions,
|
|
19
|
-
): APIPromise<CustomCurrencyCreateResponse> {
|
|
16
|
+
create(body: CustomCurrencyCreateParams, options?: RequestOptions): APIPromise<CustomCurrency> {
|
|
20
17
|
return this._client.post('/api/v1/credits/custom-currencies', { body, ...options });
|
|
21
18
|
}
|
|
22
19
|
|
|
@@ -27,7 +24,7 @@ export class CustomCurrencies extends APIResource {
|
|
|
27
24
|
currencyID: string,
|
|
28
25
|
body: CustomCurrencyUpdateParams,
|
|
29
26
|
options?: RequestOptions,
|
|
30
|
-
): APIPromise<
|
|
27
|
+
): APIPromise<CustomCurrency> {
|
|
31
28
|
return this._client.patch(path`/api/v1/credits/custom-currencies/${currencyID}`, { body, ...options });
|
|
32
29
|
}
|
|
33
30
|
|
|
@@ -52,7 +49,7 @@ export class CustomCurrencies extends APIResource {
|
|
|
52
49
|
* active plan or addon — use the associated-entities endpoint first to inspect
|
|
53
50
|
* dependencies.
|
|
54
51
|
*/
|
|
55
|
-
archive(currencyID: string, options?: RequestOptions): APIPromise<
|
|
52
|
+
archive(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrency> {
|
|
56
53
|
return this._client.post(path`/api/v1/credits/custom-currencies/${currencyID}/archive`, options);
|
|
57
54
|
}
|
|
58
55
|
|
|
@@ -74,7 +71,7 @@ export class CustomCurrencies extends APIResource {
|
|
|
74
71
|
* Restores a previously archived custom currency. Fails if another active currency
|
|
75
72
|
* with the same ID already exists.
|
|
76
73
|
*/
|
|
77
|
-
unarchive(currencyID: string, options?: RequestOptions): APIPromise<
|
|
74
|
+
unarchive(currencyID: string, options?: RequestOptions): APIPromise<CustomCurrency> {
|
|
78
75
|
return this._client.post(path`/api/v1/credits/custom-currencies/${currencyID}/unarchive`, options);
|
|
79
76
|
}
|
|
80
77
|
}
|
|
@@ -84,93 +81,14 @@ export type CustomCurrencyListResponsesMyCursorIDPage = MyCursorIDPage<CustomCur
|
|
|
84
81
|
/**
|
|
85
82
|
* Response object
|
|
86
83
|
*/
|
|
87
|
-
export interface
|
|
84
|
+
export interface CustomCurrency {
|
|
88
85
|
/**
|
|
89
86
|
* A custom currency used to denominate credit-based entitlements and pricing
|
|
90
87
|
*/
|
|
91
|
-
data:
|
|
88
|
+
data: CustomCurrency.Data;
|
|
92
89
|
}
|
|
93
90
|
|
|
94
|
-
export namespace
|
|
95
|
-
/**
|
|
96
|
-
* A custom currency used to denominate credit-based entitlements and pricing
|
|
97
|
-
*/
|
|
98
|
-
export interface Data {
|
|
99
|
-
/**
|
|
100
|
-
* The unique identifier for the custom currency
|
|
101
|
-
*/
|
|
102
|
-
id: string;
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* Timestamp of when the record was deleted
|
|
106
|
-
*/
|
|
107
|
-
archivedAt: string | null;
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Timestamp of when the record was created
|
|
111
|
-
*/
|
|
112
|
-
createdAt: string;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* Description of the currency
|
|
116
|
-
*/
|
|
117
|
-
description: string | null;
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* The display name of the custom currency
|
|
121
|
-
*/
|
|
122
|
-
displayName: string;
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* Metadata associated with the entity
|
|
126
|
-
*/
|
|
127
|
-
metadata: { [key: string]: string };
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* The symbol used to represent the custom currency
|
|
131
|
-
*/
|
|
132
|
-
symbol: string | null;
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* Singular and plural unit labels for a custom currency
|
|
136
|
-
*/
|
|
137
|
-
units: Data.Units | null;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* Timestamp of when the record was last updated
|
|
141
|
-
*/
|
|
142
|
-
updatedAt: string;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
export namespace Data {
|
|
146
|
-
/**
|
|
147
|
-
* Singular and plural unit labels for a custom currency
|
|
148
|
-
*/
|
|
149
|
-
export interface Units {
|
|
150
|
-
/**
|
|
151
|
-
* Plural form of the unit label
|
|
152
|
-
*/
|
|
153
|
-
plural: string | null;
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* Singular form of the unit label
|
|
157
|
-
*/
|
|
158
|
-
singular: string | null;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* Response object
|
|
165
|
-
*/
|
|
166
|
-
export interface CustomCurrencyUpdateResponse {
|
|
167
|
-
/**
|
|
168
|
-
* A custom currency used to denominate credit-based entitlements and pricing
|
|
169
|
-
*/
|
|
170
|
-
data: CustomCurrencyUpdateResponse.Data;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
export namespace CustomCurrencyUpdateResponse {
|
|
91
|
+
export namespace CustomCurrency {
|
|
174
92
|
/**
|
|
175
93
|
* A custom currency used to denominate credit-based entitlements and pricing
|
|
176
94
|
*/
|
|
@@ -306,85 +224,6 @@ export namespace CustomCurrencyListResponse {
|
|
|
306
224
|
}
|
|
307
225
|
}
|
|
308
226
|
|
|
309
|
-
/**
|
|
310
|
-
* Response object
|
|
311
|
-
*/
|
|
312
|
-
export interface CustomCurrencyArchiveResponse {
|
|
313
|
-
/**
|
|
314
|
-
* A custom currency used to denominate credit-based entitlements and pricing
|
|
315
|
-
*/
|
|
316
|
-
data: CustomCurrencyArchiveResponse.Data;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
export namespace CustomCurrencyArchiveResponse {
|
|
320
|
-
/**
|
|
321
|
-
* A custom currency used to denominate credit-based entitlements and pricing
|
|
322
|
-
*/
|
|
323
|
-
export interface Data {
|
|
324
|
-
/**
|
|
325
|
-
* The unique identifier for the custom currency
|
|
326
|
-
*/
|
|
327
|
-
id: string;
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* Timestamp of when the record was deleted
|
|
331
|
-
*/
|
|
332
|
-
archivedAt: string | null;
|
|
333
|
-
|
|
334
|
-
/**
|
|
335
|
-
* Timestamp of when the record was created
|
|
336
|
-
*/
|
|
337
|
-
createdAt: string;
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* Description of the currency
|
|
341
|
-
*/
|
|
342
|
-
description: string | null;
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* The display name of the custom currency
|
|
346
|
-
*/
|
|
347
|
-
displayName: string;
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
* Metadata associated with the entity
|
|
351
|
-
*/
|
|
352
|
-
metadata: { [key: string]: string };
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* The symbol used to represent the custom currency
|
|
356
|
-
*/
|
|
357
|
-
symbol: string | null;
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
* Singular and plural unit labels for a custom currency
|
|
361
|
-
*/
|
|
362
|
-
units: Data.Units | null;
|
|
363
|
-
|
|
364
|
-
/**
|
|
365
|
-
* Timestamp of when the record was last updated
|
|
366
|
-
*/
|
|
367
|
-
updatedAt: string;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
export namespace Data {
|
|
371
|
-
/**
|
|
372
|
-
* Singular and plural unit labels for a custom currency
|
|
373
|
-
*/
|
|
374
|
-
export interface Units {
|
|
375
|
-
/**
|
|
376
|
-
* Plural form of the unit label
|
|
377
|
-
*/
|
|
378
|
-
plural: string | null;
|
|
379
|
-
|
|
380
|
-
/**
|
|
381
|
-
* Singular form of the unit label
|
|
382
|
-
*/
|
|
383
|
-
singular: string | null;
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
|
|
388
227
|
/**
|
|
389
228
|
* List of entities (plans or addons) that reference a custom currency
|
|
390
229
|
*/
|
|
@@ -414,85 +253,6 @@ export namespace CustomCurrencyListAssociatedEntitiesResponse {
|
|
|
414
253
|
}
|
|
415
254
|
}
|
|
416
255
|
|
|
417
|
-
/**
|
|
418
|
-
* Response object
|
|
419
|
-
*/
|
|
420
|
-
export interface CustomCurrencyUnarchiveResponse {
|
|
421
|
-
/**
|
|
422
|
-
* A custom currency used to denominate credit-based entitlements and pricing
|
|
423
|
-
*/
|
|
424
|
-
data: CustomCurrencyUnarchiveResponse.Data;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
export namespace CustomCurrencyUnarchiveResponse {
|
|
428
|
-
/**
|
|
429
|
-
* A custom currency used to denominate credit-based entitlements and pricing
|
|
430
|
-
*/
|
|
431
|
-
export interface Data {
|
|
432
|
-
/**
|
|
433
|
-
* The unique identifier for the custom currency
|
|
434
|
-
*/
|
|
435
|
-
id: string;
|
|
436
|
-
|
|
437
|
-
/**
|
|
438
|
-
* Timestamp of when the record was deleted
|
|
439
|
-
*/
|
|
440
|
-
archivedAt: string | null;
|
|
441
|
-
|
|
442
|
-
/**
|
|
443
|
-
* Timestamp of when the record was created
|
|
444
|
-
*/
|
|
445
|
-
createdAt: string;
|
|
446
|
-
|
|
447
|
-
/**
|
|
448
|
-
* Description of the currency
|
|
449
|
-
*/
|
|
450
|
-
description: string | null;
|
|
451
|
-
|
|
452
|
-
/**
|
|
453
|
-
* The display name of the custom currency
|
|
454
|
-
*/
|
|
455
|
-
displayName: string;
|
|
456
|
-
|
|
457
|
-
/**
|
|
458
|
-
* Metadata associated with the entity
|
|
459
|
-
*/
|
|
460
|
-
metadata: { [key: string]: string };
|
|
461
|
-
|
|
462
|
-
/**
|
|
463
|
-
* The symbol used to represent the custom currency
|
|
464
|
-
*/
|
|
465
|
-
symbol: string | null;
|
|
466
|
-
|
|
467
|
-
/**
|
|
468
|
-
* Singular and plural unit labels for a custom currency
|
|
469
|
-
*/
|
|
470
|
-
units: Data.Units | null;
|
|
471
|
-
|
|
472
|
-
/**
|
|
473
|
-
* Timestamp of when the record was last updated
|
|
474
|
-
*/
|
|
475
|
-
updatedAt: string;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
export namespace Data {
|
|
479
|
-
/**
|
|
480
|
-
* Singular and plural unit labels for a custom currency
|
|
481
|
-
*/
|
|
482
|
-
export interface Units {
|
|
483
|
-
/**
|
|
484
|
-
* Plural form of the unit label
|
|
485
|
-
*/
|
|
486
|
-
plural: string | null;
|
|
487
|
-
|
|
488
|
-
/**
|
|
489
|
-
* Singular form of the unit label
|
|
490
|
-
*/
|
|
491
|
-
singular: string | null;
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
|
|
496
256
|
export interface CustomCurrencyCreateParams {
|
|
497
257
|
/**
|
|
498
258
|
* The unique identifier for the new custom currency
|
|
@@ -601,12 +361,9 @@ export interface CustomCurrencyListParams extends MyCursorIDPageParams {
|
|
|
601
361
|
|
|
602
362
|
export declare namespace CustomCurrencies {
|
|
603
363
|
export {
|
|
604
|
-
type
|
|
605
|
-
type CustomCurrencyUpdateResponse as CustomCurrencyUpdateResponse,
|
|
364
|
+
type CustomCurrency as CustomCurrency,
|
|
606
365
|
type CustomCurrencyListResponse as CustomCurrencyListResponse,
|
|
607
|
-
type CustomCurrencyArchiveResponse as CustomCurrencyArchiveResponse,
|
|
608
366
|
type CustomCurrencyListAssociatedEntitiesResponse as CustomCurrencyListAssociatedEntitiesResponse,
|
|
609
|
-
type CustomCurrencyUnarchiveResponse as CustomCurrencyUnarchiveResponse,
|
|
610
367
|
type CustomCurrencyListResponsesMyCursorIDPage as CustomCurrencyListResponsesMyCursorIDPage,
|
|
611
368
|
type CustomCurrencyCreateParams as CustomCurrencyCreateParams,
|
|
612
369
|
type CustomCurrencyUpdateParams as CustomCurrencyUpdateParams,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '
|
|
4
|
-
import { APIPromise } from '
|
|
5
|
-
import { MyCursorIDPage, type MyCursorIDPageParams, PagePromise } from '
|
|
6
|
-
import { RequestOptions } from '
|
|
7
|
-
import { path } from '
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
5
|
+
import { MyCursorIDPage, type MyCursorIDPageParams, PagePromise } from '../../../core/pagination';
|
|
6
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
7
|
+
import { path } from '../../../internal/utils/path';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Operations related to credit grants
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
export {
|
|
4
|
+
AutoRecharge,
|
|
5
|
+
type AutoRechargeGetAutoRechargeResponse,
|
|
6
|
+
type AutoRechargeGetAutoRechargeParams,
|
|
7
|
+
} from './auto-recharge';
|
|
3
8
|
export {
|
|
4
9
|
Credits,
|
|
5
|
-
type CreditGetAutoRechargeResponse,
|
|
6
10
|
type CreditGetUsageResponse,
|
|
7
11
|
type CreditListLedgerResponse,
|
|
8
|
-
type CreditGetAutoRechargeParams,
|
|
9
12
|
type CreditGetUsageParams,
|
|
10
13
|
type CreditListLedgerParams,
|
|
11
14
|
type CreditListLedgerResponsesMyCursorIDPage,
|
|
12
15
|
} from './credits';
|
|
13
16
|
export {
|
|
14
17
|
CustomCurrencies,
|
|
15
|
-
type
|
|
16
|
-
type CustomCurrencyUpdateResponse,
|
|
18
|
+
type CustomCurrency,
|
|
17
19
|
type CustomCurrencyListResponse,
|
|
18
|
-
type CustomCurrencyArchiveResponse,
|
|
19
20
|
type CustomCurrencyListAssociatedEntitiesResponse,
|
|
20
|
-
type CustomCurrencyUnarchiveResponse,
|
|
21
21
|
type CustomCurrencyCreateParams,
|
|
22
22
|
type CustomCurrencyUpdateParams,
|
|
23
23
|
type CustomCurrencyListParams,
|
|
@@ -1,3 +1,77 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Operations related to usage & metering
|
|
9
|
+
*/
|
|
10
|
+
export class Events extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Reports raw usage events for event-based metering. Events are ingested
|
|
13
|
+
* asynchronously and aggregated into usage totals.
|
|
14
|
+
*/
|
|
15
|
+
report(body: EventReportParams, options?: RequestOptions): APIPromise<EventReportResponse> {
|
|
16
|
+
return this._client.post('/api/v1/events', { body, ...options });
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Response object
|
|
22
|
+
*/
|
|
23
|
+
export interface EventReportResponse {
|
|
24
|
+
/**
|
|
25
|
+
* Empty success response confirming that events were successfully ingested and
|
|
26
|
+
* queued for processing by Stigg's metering system.
|
|
27
|
+
*/
|
|
28
|
+
data: unknown;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface EventReportParams {
|
|
32
|
+
/**
|
|
33
|
+
* A list of usage events to report
|
|
34
|
+
*/
|
|
35
|
+
events: Array<EventReportParams.Event>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export namespace EventReportParams {
|
|
39
|
+
/**
|
|
40
|
+
* Raw usage event
|
|
41
|
+
*/
|
|
42
|
+
export interface Event {
|
|
43
|
+
/**
|
|
44
|
+
* Customer id
|
|
45
|
+
*/
|
|
46
|
+
customerId: string;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* The name of the usage event
|
|
50
|
+
*/
|
|
51
|
+
eventName: string;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Idempotency key
|
|
55
|
+
*/
|
|
56
|
+
idempotencyKey: string;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Dimensions associated with the usage event
|
|
60
|
+
*/
|
|
61
|
+
dimensions?: { [key: string]: string | number | boolean };
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Resource id
|
|
65
|
+
*/
|
|
66
|
+
resourceId?: string | null;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Timestamp
|
|
70
|
+
*/
|
|
71
|
+
timestamp?: string;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export declare namespace Events {
|
|
76
|
+
export { type EventReportResponse as EventReportResponse, type EventReportParams as EventReportParams };
|
|
77
|
+
}
|
|
@@ -21,6 +21,14 @@ export {
|
|
|
21
21
|
type CouponUpdateCouponParams,
|
|
22
22
|
type CouponListResponsesMyCursorIDPage,
|
|
23
23
|
} from './coupons';
|
|
24
|
+
export {
|
|
25
|
+
Credits,
|
|
26
|
+
type CreditGetUsageResponse,
|
|
27
|
+
type CreditListLedgerResponse,
|
|
28
|
+
type CreditGetUsageParams,
|
|
29
|
+
type CreditListLedgerParams,
|
|
30
|
+
type CreditListLedgerResponsesMyCursorIDPage,
|
|
31
|
+
} from './credits/index';
|
|
24
32
|
export {
|
|
25
33
|
Customers,
|
|
26
34
|
type CustomerIntegrationResponse,
|
|
@@ -40,7 +48,7 @@ export {
|
|
|
40
48
|
type CustomerListResponsesMyCursorIDPage,
|
|
41
49
|
type CustomerListResourcesResponsesMyCursorIDPage,
|
|
42
50
|
} from './customers/index';
|
|
43
|
-
export { Events, type EventReportResponse, type EventReportParams } from './events
|
|
51
|
+
export { Events, type EventReportResponse, type EventReportParams } from './events';
|
|
44
52
|
export {
|
|
45
53
|
Features,
|
|
46
54
|
type Feature,
|
package/src/resources/v1/v1.ts
CHANGED
|
@@ -11,6 +11,8 @@ import {
|
|
|
11
11
|
CouponUpdateCouponParams,
|
|
12
12
|
Coupons,
|
|
13
13
|
} from './coupons';
|
|
14
|
+
import * as EventsAPI from './events';
|
|
15
|
+
import { EventReportParams, EventReportResponse, Events } from './events';
|
|
14
16
|
import * as FeaturesAPI from './features';
|
|
15
17
|
import {
|
|
16
18
|
Feature,
|
|
@@ -53,6 +55,15 @@ import {
|
|
|
53
55
|
AddonUpdateParams,
|
|
54
56
|
Addons,
|
|
55
57
|
} from './addons/addons';
|
|
58
|
+
import * as CreditsAPI from './credits/credits';
|
|
59
|
+
import {
|
|
60
|
+
CreditGetUsageParams,
|
|
61
|
+
CreditGetUsageResponse,
|
|
62
|
+
CreditListLedgerParams,
|
|
63
|
+
CreditListLedgerResponse,
|
|
64
|
+
CreditListLedgerResponsesMyCursorIDPage,
|
|
65
|
+
Credits,
|
|
66
|
+
} from './credits/credits';
|
|
56
67
|
import * as CustomersAPI from './customers/customers';
|
|
57
68
|
import {
|
|
58
69
|
CustomerCheckEntitlementParams,
|
|
@@ -73,8 +84,6 @@ import {
|
|
|
73
84
|
CustomerUpdateParams,
|
|
74
85
|
Customers,
|
|
75
86
|
} from './customers/customers';
|
|
76
|
-
import * as EventsAPI from './events/events';
|
|
77
|
-
import { EventReportParams, EventReportResponse, Events } from './events/events';
|
|
78
87
|
import * as PlansAPI from './plans/plans';
|
|
79
88
|
import {
|
|
80
89
|
Plan,
|
|
@@ -113,6 +122,7 @@ export class V1 extends APIResource {
|
|
|
113
122
|
subscriptions: SubscriptionsAPI.Subscriptions = new SubscriptionsAPI.Subscriptions(this._client);
|
|
114
123
|
coupons: CouponsAPI.Coupons = new CouponsAPI.Coupons(this._client);
|
|
115
124
|
events: EventsAPI.Events = new EventsAPI.Events(this._client);
|
|
125
|
+
credits: CreditsAPI.Credits = new CreditsAPI.Credits(this._client);
|
|
116
126
|
features: FeaturesAPI.Features = new FeaturesAPI.Features(this._client);
|
|
117
127
|
addons: AddonsAPI.Addons = new AddonsAPI.Addons(this._client);
|
|
118
128
|
plans: PlansAPI.Plans = new PlansAPI.Plans(this._client);
|
|
@@ -124,6 +134,7 @@ V1.Customers = Customers;
|
|
|
124
134
|
V1.Subscriptions = Subscriptions;
|
|
125
135
|
V1.Coupons = Coupons;
|
|
126
136
|
V1.Events = Events;
|
|
137
|
+
V1.Credits = Credits;
|
|
127
138
|
V1.Features = Features;
|
|
128
139
|
V1.Addons = Addons;
|
|
129
140
|
V1.Plans = Plans;
|
|
@@ -186,6 +197,15 @@ export declare namespace V1 {
|
|
|
186
197
|
type EventReportParams as EventReportParams,
|
|
187
198
|
};
|
|
188
199
|
|
|
200
|
+
export {
|
|
201
|
+
Credits as Credits,
|
|
202
|
+
type CreditGetUsageResponse as CreditGetUsageResponse,
|
|
203
|
+
type CreditListLedgerResponse as CreditListLedgerResponse,
|
|
204
|
+
type CreditListLedgerResponsesMyCursorIDPage as CreditListLedgerResponsesMyCursorIDPage,
|
|
205
|
+
type CreditGetUsageParams as CreditGetUsageParams,
|
|
206
|
+
type CreditListLedgerParams as CreditListLedgerParams,
|
|
207
|
+
};
|
|
208
|
+
|
|
189
209
|
export {
|
|
190
210
|
Features as Features,
|
|
191
211
|
type Feature as Feature,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-beta.
|
|
1
|
+
export const VERSION = '0.1.0-beta.2'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-beta.
|
|
1
|
+
export declare const VERSION = "0.1.0-beta.2";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-beta.
|
|
1
|
+
export declare const VERSION = "0.1.0-beta.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '0.1.0-beta.
|
|
4
|
+
exports.VERSION = '0.1.0-beta.2'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-beta.
|
|
1
|
+
export const VERSION = '0.1.0-beta.2'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cred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AAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"credits.d.ts","sourceRoot":"","sources":["../../../../src/resources/v1/events/credits/credits.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,EACL,gBAAgB,EAChB,6BAA6B,EAC7B,0BAA0B,EAC1B,4BAA4B,EAC5B,4CAA4C,EAC5C,wBAAwB,EACxB,0BAA0B,EAC1B,yCAAyC,EACzC,+BAA+B,EAC/B,0BAA0B,EAC1B,4BAA4B,EAC7B;OACM,KAAK,SAAS;OACd,EACL,mBAAmB,EACnB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,gCAAgC,EAChC,MAAM,EACP;OACM,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE;OAC1D,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,gBAAgB,EAAE,mBAAmB,CAAC,gBAAgB,CAEpD;IAEF;;;OAGG;IACH,eAAe,CACb,KAAK,EAAE,2BAA2B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;IAI5C;;;OAGG;IACH,QAAQ,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAInG;;OAEG;IACH,UAAU,CACR,KAAK,EAAE,sBAAsB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,uCAAuC,EAAE,wBAAwB,CAAC;CAMlF;AAED,MAAM,MAAM,uCAAuC,GAAG,cAAc,CAAC,wBAAwB,CAAC,CAAC;AAE/F;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,IAAI,EAAE,6BAA6B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CAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"credits.mjs","sourceRoot":"","sources":["../../../../src/resources/v1/events/credits/credits.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,EACL,gBAAgB,GAWjB;OACM,KAAK,SAAS;OACd,EAML,MAAM,GACP;OAEM,EAAE,cAAc,EAA0C;AAGjE,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,qBAAgB,GAAyC,IAAI,mBAAmB,CAAC,gBAAgB,CAC/F,IAAI,CAAC,OAAO,CACb,CAAC;IAiCJ,CAAC;IA/BC;;;OAGG;IACH,eAAe,CACb,KAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,+BAA+B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;IAED;;;OAGG;IACH,QAAQ,CAAC,KAA2B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;OAEG;IACH,UAAU,CACR,KAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,wBAAwB,EAAE,CAAA,cAAwC,CAAA,EAAE;YACjG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA0SD,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC;AACxB,OAAO,CAAC,gBAAgB,GAAG,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom-currencies.d.mts","sourceRoot":"","sources":["../../../../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E,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAE5C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;;OAGG;IACH,KAAK,CAAC,EAAE,0BAA0B,CAAC,KAAK,CAAC;CAC1C;AAED,yBAAiB,0BAA0B,CAAC;IAC1C;;;OAGG;IACH,UAAiB,KAAK;QACpB;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;KAClB;CACF;AAED,MAAM,WAAW,wBAAyB,SAAQ,oBAAoB;IACpE;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,UAAU,CAAC,CAAC;CACvC;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,4CAA4C,IAAI,4CAA4C,EACjG,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom-currencies.d.ts","sourceRoot":"","sources":["../../../../src/resources/v1/events/credits/custom-currencies.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE;OAC1D,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;I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1C;;;OAGG;IACH,UAAiB,KAAK;QACpB;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;KAClB;CACF;AAED,MAAM,WAAW,wBAAyB,SAAQ,oBAAoB;IACpE;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,UAAU,CAAC,CAAC;CACvC;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,4CAA4C,IAAI,4CAA4C,EACjG,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom-currencies.js","sourceRoot":"","sources":["../../../../src/resources/v1/events/credits/custom-currencies.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAAwD;AAExD,+DAAqG;AAErG,6DAAuD;AAEvD;;GAEG;AACH,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;OAEG;IACH,MAAM,CACJ,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mCAAmC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,UAAkB,EAClB,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,qCAAqC,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;IAED;;;;OAIG;IACH,IAAI,CACF,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,mCAAmC,EACnC,CAAA,2BAA0C,CAAA,EAC1C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,OAAO,CAAC,UAAkB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,qCAAqC,UAAU,UAAU,EAAE,OAAO,CAAC,CAAC;IACnG,CAAC;IAED;;;OAGG;IACH,sBAAsB,CACpB,UAAkB,EAClB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAA,WAAI,EAAA,qCAAqC,UAAU,sBAAsB,EACzE,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,SAAS,CAAC,UAAkB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,qCAAqC,UAAU,YAAY,EAAE,OAAO,CAAC,CAAC;IACrG,CAAC;CACF;AApED,4CAoEC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom-currencies.mjs","sourceRoot":"","sources":["../../../../src/resources/v1/events/credits/custom-currencies.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,cAAc,EAA0C;OAE1D,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;IACH,MAAM,CACJ,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mCAAmC,EAAE,EAAE,IAAI,EAAE,GAAG,OAA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