@openmeter/sdk 1.0.0-beta.114 → 1.0.0-beta.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/clients/entitlement.cjs +3 -1
- package/dist/cjs/clients/entitlement.d.cts +3 -1
- package/dist/cjs/clients/entitlement.js.map +1 -1
- package/dist/cjs/clients/feature.cjs +7 -2
- package/dist/cjs/clients/feature.d.cts +7 -2
- package/dist/cjs/clients/feature.js.map +1 -1
- package/dist/cjs/clients/grant.cjs +14 -0
- package/dist/cjs/clients/grant.d.cts +8 -0
- package/dist/cjs/clients/grant.js.map +1 -1
- package/dist/cjs/clients/subject.cjs +21 -5
- package/dist/cjs/clients/subject.d.cts +12 -4
- package/dist/cjs/clients/subject.js.map +1 -1
- package/dist/cjs/schemas/openapi.d.cts +156 -88
- package/dist/cjs/{tsconfig.3368605f.tsbuildinfo → tsconfig.92a3aff3.tsbuildinfo} +1 -1
- package/dist/cjs/{tsconfig.660c8e61.tsbuildinfo → tsconfig.eb28b404.tsbuildinfo} +1 -1
- package/dist/clients/entitlement.d.ts +3 -1
- package/dist/clients/entitlement.js +3 -1
- package/dist/clients/entitlement.js.map +1 -1
- package/dist/clients/feature.d.ts +7 -2
- package/dist/clients/feature.js +7 -2
- package/dist/clients/feature.js.map +1 -1
- package/dist/clients/grant.d.ts +8 -0
- package/dist/clients/grant.js +14 -0
- package/dist/clients/grant.js.map +1 -1
- package/dist/clients/subject.d.ts +12 -4
- package/dist/clients/subject.js +21 -5
- package/dist/clients/subject.js.map +1 -1
- package/dist/schemas/openapi.d.ts +156 -88
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,9 @@ class EntitlementClient extends client_js_1.BaseClient {
|
|
|
7
7
|
super(config);
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* List entitlements
|
|
10
|
+
* List all entitlements regardless of subject.
|
|
11
|
+
* @description
|
|
12
|
+
* Most useful for administrative purposes.
|
|
11
13
|
* @example
|
|
12
14
|
* const entitlement = await openmeter.entitlements.list()
|
|
13
15
|
*/
|
|
@@ -17,7 +17,9 @@ export type GetEntitlementHistoryQueryParams = operations['getEntitlementHistory
|
|
|
17
17
|
export declare class EntitlementClient extends BaseClient {
|
|
18
18
|
constructor(config: OpenMeterConfig);
|
|
19
19
|
/**
|
|
20
|
-
* List entitlements
|
|
20
|
+
* List all entitlements regardless of subject.
|
|
21
|
+
* @description
|
|
22
|
+
* Most useful for administrative purposes.
|
|
21
23
|
* @example
|
|
22
24
|
* const entitlement = await openmeter.entitlements.list()
|
|
23
25
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entitlement.js","sourceRoot":"","sources":["../../../clients/entitlement.ts"],"names":[],"mappings":";;;AACA,2CAAyE;AA8BzE,MAAa,iBAAkB,SAAQ,sBAAU;IAC/C,YAAY,MAAuB;QACjC,KAAK,CAAC,MAAM,CAAC,CAAA;IACf,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"entitlement.js","sourceRoot":"","sources":["../../../clients/entitlement.ts"],"names":[],"mappings":";;;AACA,2CAAyE;AA8BzE,MAAa,iBAAkB,SAAQ,sBAAU;IAC/C,YAAY,MAAuB;QACjC,KAAK,CAAC,MAAM,CAAC,CAAA;IACf,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,IAAI,CACf,MAAmC,EACnC,OAAwB;QAExB,MAAM,YAAY,GAAG,MAAM;YACzB,CAAC,CAAC,sBAAU,CAAC,iBAAiB,CAAC,MAAM,CAAC;YACtC,CAAC,CAAC,SAAS,CAAA;QACb,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC;YACxB,IAAI,EAAE,sBAAsB;YAC5B,MAAM,EAAE,KAAK;YACb,YAAY;YACZ,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;CACF;AA1BD,8CA0BC"}
|
|
@@ -7,8 +7,11 @@ class FeatureClient extends client_js_1.BaseClient {
|
|
|
7
7
|
super(config);
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Create Feature
|
|
11
10
|
* Features are the building blocks of your entitlements, part of your product offering.
|
|
11
|
+
* @description
|
|
12
|
+
* Features are either metered or static. A feature is metered if meterSlug is provided at creation. For metered features you can pass additional filters that will be applied when calculating feature usage, based on the meter's groupBy fields. Only meters with SUM and COUNT aggregation are supported for features.
|
|
13
|
+
*
|
|
14
|
+
* Features cannot be updated later, only archived.
|
|
12
15
|
*
|
|
13
16
|
* @example
|
|
14
17
|
* const feature = await openmeter.features.create({
|
|
@@ -59,7 +62,9 @@ class FeatureClient extends client_js_1.BaseClient {
|
|
|
59
62
|
});
|
|
60
63
|
}
|
|
61
64
|
/**
|
|
62
|
-
*
|
|
65
|
+
* Archive a feature by ID or Key.
|
|
66
|
+
* @description
|
|
67
|
+
* Once a feature is archived it cannot be unarchived. If a feature is archived, new entitlements cannot be created for it, but archiving the feature does not affect existing entitlements.
|
|
63
68
|
* @example
|
|
64
69
|
* await openmeter.delete('ai_tokens')
|
|
65
70
|
*/
|
|
@@ -6,8 +6,11 @@ export type ListFeatureQueryParams = operations['listFeatures']['parameters']['q
|
|
|
6
6
|
export declare class FeatureClient extends BaseClient {
|
|
7
7
|
constructor(config: OpenMeterConfig);
|
|
8
8
|
/**
|
|
9
|
-
* Create Feature
|
|
10
9
|
* Features are the building blocks of your entitlements, part of your product offering.
|
|
10
|
+
* @description
|
|
11
|
+
* Features are either metered or static. A feature is metered if meterSlug is provided at creation. For metered features you can pass additional filters that will be applied when calculating feature usage, based on the meter's groupBy fields. Only meters with SUM and COUNT aggregation are supported for features.
|
|
12
|
+
*
|
|
13
|
+
* Features cannot be updated later, only archived.
|
|
11
14
|
*
|
|
12
15
|
* @example
|
|
13
16
|
* const feature = await openmeter.features.create({
|
|
@@ -32,7 +35,9 @@ export declare class FeatureClient extends BaseClient {
|
|
|
32
35
|
*/
|
|
33
36
|
list(params?: ListFeatureQueryParams, options?: RequestOptions): Promise<Feature[]>;
|
|
34
37
|
/**
|
|
35
|
-
*
|
|
38
|
+
* Archive a feature by ID or Key.
|
|
39
|
+
* @description
|
|
40
|
+
* Once a feature is archived it cannot be unarchived. If a feature is archived, new entitlements cannot be created for it, but archiving the feature does not affect existing entitlements.
|
|
36
41
|
* @example
|
|
37
42
|
* await openmeter.delete('ai_tokens')
|
|
38
43
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature.js","sourceRoot":"","sources":["../../../clients/feature.ts"],"names":[],"mappings":";;;AACA,2CAAyE;AAOzE,MAAa,aAAc,SAAQ,sBAAU;IAC3C,YAAY,MAAuB;QACjC,KAAK,CAAC,MAAM,CAAC,CAAA;IACf,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"feature.js","sourceRoot":"","sources":["../../../clients/feature.ts"],"names":[],"mappings":";;;AACA,2CAAyE;AAOzE,MAAa,aAAc,SAAQ,sBAAU;IAC3C,YAAY,MAAuB;QACjC,KAAK,CAAC,MAAM,CAAC,CAAA;IACf,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACI,KAAK,CAAC,MAAM,CACjB,KAA0B,EAC1B,OAAwB;QAExB,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC;YACxB,IAAI,EAAE,kBAAkB;YACxB,MAAM,EAAE,MAAM;YACd,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACnC;YACD,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;YAC3B,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,GAAG,CACd,OAAe,EACf,OAAwB;QAExB,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC;YACxB,IAAI,EAAE,oBAAoB,OAAO,EAAE;YACnC,MAAM,EAAE,KAAK;YACb,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,IAAI,CACf,MAA+B,EAC/B,OAAwB;QAExB,MAAM,YAAY,GAAG,MAAM;YACzB,CAAC,CAAC,sBAAU,CAAC,iBAAiB,CAAC,MAAM,CAAC;YACtC,CAAC,CAAC,SAAS,CAAA;QACb,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC;YACxB,IAAI,EAAE,kBAAkB;YACxB,MAAM,EAAE,KAAK;YACb,YAAY;YACZ,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,MAAM,CACjB,OAAe,EACf,OAAwB;QAExB,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC;YACxB,IAAI,EAAE,oBAAoB,OAAO,EAAE;YACnC,MAAM,EAAE,QAAQ;YAChB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;CACF;AAzFD,sCAyFC"}
|
|
@@ -22,6 +22,20 @@ class GrantClient extends client_js_1.BaseClient {
|
|
|
22
22
|
options,
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Void a grant
|
|
27
|
+
* @description
|
|
28
|
+
* Voiding a grant means it is no longer valid, it doesn't take part in further balance calculations. Voiding a grant does not retroactively take effect, meaning any usage that has already been attributed to the grant will remain, but future usage cannot be burnt down from the grant.
|
|
29
|
+
* @example
|
|
30
|
+
* const grant = await openmeter.grants.list()
|
|
31
|
+
*/
|
|
32
|
+
async delete(id, options) {
|
|
33
|
+
return await this.request({
|
|
34
|
+
method: 'DELETE',
|
|
35
|
+
path: `/api/v1/grants/${id}`,
|
|
36
|
+
options,
|
|
37
|
+
});
|
|
38
|
+
}
|
|
25
39
|
}
|
|
26
40
|
exports.GrantClient = GrantClient;
|
|
27
41
|
//# sourceMappingURL=grant.js.map
|
|
@@ -12,4 +12,12 @@ export declare class GrantClient extends BaseClient {
|
|
|
12
12
|
* const grant = await openmeter.grants.list()
|
|
13
13
|
*/
|
|
14
14
|
list(params?: ListGrantQueryParams, options?: RequestOptions): Promise<EntitlementGrant[]>;
|
|
15
|
+
/**
|
|
16
|
+
* Void a grant
|
|
17
|
+
* @description
|
|
18
|
+
* Voiding a grant means it is no longer valid, it doesn't take part in further balance calculations. Voiding a grant does not retroactively take effect, meaning any usage that has already been attributed to the grant will remain, but future usage cannot be burnt down from the grant.
|
|
19
|
+
* @example
|
|
20
|
+
* const grant = await openmeter.grants.list()
|
|
21
|
+
*/
|
|
22
|
+
delete(id: string, options?: RequestOptions): Promise<EntitlementGrant[]>;
|
|
15
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grant.js","sourceRoot":"","sources":["../../../clients/grant.ts"],"names":[],"mappings":";;;AACA,2CAAyE;AAUzE,MAAa,WAAY,SAAQ,sBAAU;IACzC,YAAY,MAAuB;QACjC,KAAK,CAAC,MAAM,CAAC,CAAA;IACf,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,IAAI,CACf,MAA6B,EAC7B,OAAwB;QAExB,MAAM,YAAY,GAAG,MAAM;YACzB,CAAC,CAAC,sBAAU,CAAC,iBAAiB,CAAC,MAAM,CAAC;YACtC,CAAC,CAAC,SAAS,CAAA;QACb,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC;YACxB,IAAI,EAAE,gBAAgB;YACtB,MAAM,EAAE,KAAK;YACb,YAAY;YACZ,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;CACF;
|
|
1
|
+
{"version":3,"file":"grant.js","sourceRoot":"","sources":["../../../clients/grant.ts"],"names":[],"mappings":";;;AACA,2CAAyE;AAUzE,MAAa,WAAY,SAAQ,sBAAU;IACzC,YAAY,MAAuB;QACjC,KAAK,CAAC,MAAM,CAAC,CAAA;IACf,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,IAAI,CACf,MAA6B,EAC7B,OAAwB;QAExB,MAAM,YAAY,GAAG,MAAM;YACzB,CAAC,CAAC,sBAAU,CAAC,iBAAiB,CAAC,MAAM,CAAC;YACtC,CAAC,CAAC,SAAS,CAAA;QACb,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC;YACxB,IAAI,EAAE,gBAAgB;YACtB,MAAM,EAAE,KAAK;YACb,YAAY;YACZ,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,MAAM,CACjB,EAAU,EACV,OAAwB;QAExB,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC;YACxB,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,kBAAkB,EAAE,EAAE;YAC5B,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;CACF;AA1CD,kCA0CC"}
|
|
@@ -59,7 +59,8 @@ class SubjectClient extends client_js_1.BaseClient {
|
|
|
59
59
|
/**
|
|
60
60
|
* Create Entitlement
|
|
61
61
|
* Entitlements allows you to manage subject feature access, balances, and usage limits.
|
|
62
|
-
*
|
|
62
|
+
* @remarks
|
|
63
|
+
* Input should be either `EntitlementMeteredCreateInputs`, `EntitlementStaticCreateInputs`, or `EntitlementBooleanCreateInputs`
|
|
63
64
|
* @example
|
|
64
65
|
* // Issue 10,000,000 tokens every month
|
|
65
66
|
* const entitlement = await openmeter.subjects.createEntitlement('customer-1', {
|
|
@@ -83,7 +84,7 @@ class SubjectClient extends client_js_1.BaseClient {
|
|
|
83
84
|
});
|
|
84
85
|
}
|
|
85
86
|
/**
|
|
86
|
-
* List entitlements
|
|
87
|
+
* List entitlements of a subject
|
|
87
88
|
* @example
|
|
88
89
|
* const entitlement = await openmeter.subjects.listEntitlements('customer-1')
|
|
89
90
|
*/
|
|
@@ -124,18 +125,33 @@ class SubjectClient extends client_js_1.BaseClient {
|
|
|
124
125
|
});
|
|
125
126
|
}
|
|
126
127
|
/**
|
|
127
|
-
* Get entitlement value by ID by Feature
|
|
128
|
+
* Get entitlement value by ID by Feature Key
|
|
128
129
|
*
|
|
129
130
|
* @example
|
|
130
131
|
* const value = await openmeter.subjects.getEntitlementValue('customer-1', 'ai_tokens')
|
|
131
132
|
*/
|
|
132
|
-
async getEntitlementValue(subjectIdOrKey,
|
|
133
|
+
async getEntitlementValue(subjectIdOrKey, entitlementIdOrFeatureKey, options) {
|
|
133
134
|
return await this.request({
|
|
134
|
-
path: `/api/v1/subjects/${subjectIdOrKey}/entitlements/${
|
|
135
|
+
path: `/api/v1/subjects/${subjectIdOrKey}/entitlements/${entitlementIdOrFeatureKey}/value`,
|
|
135
136
|
method: 'GET',
|
|
136
137
|
options,
|
|
137
138
|
});
|
|
138
139
|
}
|
|
140
|
+
/**
|
|
141
|
+
* Get entitlement value at a specific time.
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* const value = await openmeter.subjects.getEntitlementValueAt('customer-1', 'ai_tokens')
|
|
145
|
+
*/
|
|
146
|
+
async getEntitlementValueAt(subjectIdOrKey, entitlementIdOrFeatureKey, at, options) {
|
|
147
|
+
const searchParams = client_js_1.BaseClient.toURLSearchParams({ time: at });
|
|
148
|
+
return await this.request({
|
|
149
|
+
path: `/api/v1/subjects/${subjectIdOrKey}/entitlements/${entitlementIdOrFeatureKey}/value`,
|
|
150
|
+
method: 'GET',
|
|
151
|
+
options,
|
|
152
|
+
searchParams,
|
|
153
|
+
});
|
|
154
|
+
}
|
|
139
155
|
/**
|
|
140
156
|
* Get entitlement history by ID by Feature ID or by Feature Key
|
|
141
157
|
* @example
|
|
@@ -30,7 +30,8 @@ export declare class SubjectClient extends BaseClient {
|
|
|
30
30
|
/**
|
|
31
31
|
* Create Entitlement
|
|
32
32
|
* Entitlements allows you to manage subject feature access, balances, and usage limits.
|
|
33
|
-
*
|
|
33
|
+
* @remarks
|
|
34
|
+
* Input should be either `EntitlementMeteredCreateInputs`, `EntitlementStaticCreateInputs`, or `EntitlementBooleanCreateInputs`
|
|
34
35
|
* @example
|
|
35
36
|
* // Issue 10,000,000 tokens every month
|
|
36
37
|
* const entitlement = await openmeter.subjects.createEntitlement('customer-1', {
|
|
@@ -44,7 +45,7 @@ export declare class SubjectClient extends BaseClient {
|
|
|
44
45
|
*/
|
|
45
46
|
createEntitlement(subjectIdOrKey: string, input: EntitlementCreateInputs, options?: RequestOptions): Promise<Entitlement>;
|
|
46
47
|
/**
|
|
47
|
-
* List entitlements
|
|
48
|
+
* List entitlements of a subject
|
|
48
49
|
* @example
|
|
49
50
|
* const entitlement = await openmeter.subjects.listEntitlements('customer-1')
|
|
50
51
|
*/
|
|
@@ -63,12 +64,19 @@ export declare class SubjectClient extends BaseClient {
|
|
|
63
64
|
*/
|
|
64
65
|
deleteEntitlement(subjectIdOrKey: string, entitlementIdOrFeatureIdOrFeatureKey: string, options?: RequestOptions): Promise<void>;
|
|
65
66
|
/**
|
|
66
|
-
* Get entitlement value by ID by Feature
|
|
67
|
+
* Get entitlement value by ID by Feature Key
|
|
67
68
|
*
|
|
68
69
|
* @example
|
|
69
70
|
* const value = await openmeter.subjects.getEntitlementValue('customer-1', 'ai_tokens')
|
|
70
71
|
*/
|
|
71
|
-
getEntitlementValue(subjectIdOrKey: string,
|
|
72
|
+
getEntitlementValue(subjectIdOrKey: string, entitlementIdOrFeatureKey: string, options?: RequestOptions): Promise<EntitlementValue>;
|
|
73
|
+
/**
|
|
74
|
+
* Get entitlement value at a specific time.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* const value = await openmeter.subjects.getEntitlementValueAt('customer-1', 'ai_tokens')
|
|
78
|
+
*/
|
|
79
|
+
getEntitlementValueAt(subjectIdOrKey: string, entitlementIdOrFeatureKey: string, at: Date, options?: RequestOptions): Promise<EntitlementValue>;
|
|
72
80
|
/**
|
|
73
81
|
* Get entitlement history by ID by Feature ID or by Feature Key
|
|
74
82
|
* @example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subject.js","sourceRoot":"","sources":["../../../clients/subject.ts"],"names":[],"mappings":";;;AACA,2CAAyE;AAkBzE,MAAa,aAAc,SAAQ,sBAAU;IAC3C,YAAY,MAAuB;QACjC,KAAK,CAAC,MAAM,CAAC,CAAA;IACf,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,MAAM,CACjB,OAA8B,EAC9B,OAAwB;QAExB,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC;YACxB,IAAI,EAAE,kBAAkB;YACxB,MAAM,EAAE,MAAM;YACd,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACnC;YACD,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;YAC7B,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,GAAG,CACd,OAAe,EACf,OAAwB;QAExB,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC;YACxB,IAAI,EAAE,oBAAoB,OAAO,EAAE;YACnC,MAAM,EAAE,KAAK;YACb,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CAAC,OAAwB;QACxC,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC;YACxB,IAAI,EAAE,kBAAkB;YACxB,MAAM,EAAE,KAAK;YACb,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,MAAM,CACjB,OAAe,EACf,OAAwB;QAExB,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC;YACxB,IAAI,EAAE,oBAAoB,OAAO,EAAE;YACnC,MAAM,EAAE,QAAQ;YAChB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED,oBAAoB;IAEpB
|
|
1
|
+
{"version":3,"file":"subject.js","sourceRoot":"","sources":["../../../clients/subject.ts"],"names":[],"mappings":";;;AACA,2CAAyE;AAkBzE,MAAa,aAAc,SAAQ,sBAAU;IAC3C,YAAY,MAAuB;QACjC,KAAK,CAAC,MAAM,CAAC,CAAA;IACf,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,MAAM,CACjB,OAA8B,EAC9B,OAAwB;QAExB,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC;YACxB,IAAI,EAAE,kBAAkB;YACxB,MAAM,EAAE,MAAM;YACd,OAA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