autumn-js 1.3.73 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/backend/adapters/express.js +9 -10
- package/dist/backend/adapters/express.mjs +5 -5
- package/dist/backend/adapters/fetch.js +9 -10
- package/dist/backend/adapters/fetch.mjs +5 -5
- package/dist/backend/adapters/hono.js +9 -10
- package/dist/backend/adapters/hono.mjs +5 -5
- package/dist/backend/adapters/index.js +9 -10
- package/dist/backend/adapters/index.mjs +8 -8
- package/dist/backend/adapters/next.js +9 -10
- package/dist/backend/adapters/next.mjs +5 -5
- package/dist/backend/{chunk-QD5VNLGH.mjs → chunk-2JZN2A5Z.mjs} +1 -1
- package/dist/backend/{chunk-MIDKK6HE.mjs → chunk-572QTWBN.mjs} +1 -1
- package/dist/backend/{chunk-P46GFHFB.mjs → chunk-ETP3OECB.mjs} +1 -1
- package/dist/backend/{chunk-CFBX64LG.mjs → chunk-FJYYK3KF.mjs} +1 -1
- package/dist/backend/{chunk-5NZXLCLY.mjs → chunk-HKLICPAL.mjs} +9 -10
- package/dist/backend/{chunk-I75WCVDU.mjs → chunk-MSWCEKV6.mjs} +1 -1
- package/dist/backend/{chunk-4D2MGLMK.mjs → chunk-QQFPLVJO.mjs} +1 -1
- package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
- package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
- package/dist/backend/core/handlers/coreHandler.js +9 -10
- package/dist/backend/core/handlers/coreHandler.mjs +3 -3
- package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
- package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
- package/dist/backend/core/handlers/executeRoute.mjs +1 -1
- package/dist/backend/core/handlers/handleRouteByName.js +9 -10
- package/dist/backend/core/handlers/handleRouteByName.mjs +3 -3
- package/dist/backend/core/handlers/index.d.mts +1 -1
- package/dist/backend/core/handlers/index.d.ts +1 -1
- package/dist/backend/core/handlers/index.js +9 -10
- package/dist/backend/core/handlers/index.mjs +6 -6
- package/dist/backend/core/index.d.mts +1 -1
- package/dist/backend/core/index.d.ts +1 -1
- package/dist/backend/core/index.js +9 -10
- package/dist/backend/core/index.mjs +8 -8
- package/dist/backend/core/routes/index.d.mts +1 -1
- package/dist/backend/core/routes/index.d.ts +1 -1
- package/dist/backend/core/routes/index.mjs +1 -1
- package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
- package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.mjs +1 -1
- package/dist/backend/core/types/handlerTypes.d.mts +1 -1
- package/dist/backend/core/types/handlerTypes.d.ts +1 -1
- package/dist/backend/core/types/index.d.mts +1 -1
- package/dist/backend/core/types/index.d.ts +1 -1
- package/dist/backend/core/types/routeTypes.d.mts +1 -1
- package/dist/backend/core/types/routeTypes.d.ts +1 -1
- package/dist/backend/core/utils/index.mjs +3 -3
- package/dist/backend/index.d.mts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.js +9 -10
- package/dist/backend/index.mjs +6 -6
- package/dist/backend/{routeTypes-Bq2o3T9X.d.mts → routeTypes-C0SK3Woi.d.mts} +9 -13
- package/dist/backend/{routeTypes-B9shWqn_.d.ts → routeTypes-eswiz8Fx.d.ts} +9 -13
- package/dist/better-auth/{chunk-TOUOQM4M.mjs → chunk-HJ7J37RU.mjs} +9 -10
- package/dist/better-auth/index.js +9 -10
- package/dist/better-auth/index.mjs +1 -1
- package/dist/better-auth/utils/handleBetterAuthRoute.js +9 -10
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
- package/dist/better-auth/utils/index.js +9 -10
- package/dist/better-auth/utils/index.mjs +1 -1
- package/dist/sdk/index.d.mts +11 -16
- package/dist/sdk/index.d.ts +11 -16
- package/dist/sdk/index.js +9 -10
- package/dist/sdk/index.mjs +9 -10
- package/package.json +2 -2
package/dist/backend/index.d.mts
CHANGED
|
@@ -3,8 +3,8 @@ import { C as CustomerData } from './authTypes-TPWTIfcM.mjs';
|
|
|
3
3
|
export { A as AuthResult, a as CustomerId, R as ResolvedIdentity } from './authTypes-TPWTIfcM.mjs';
|
|
4
4
|
export { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from './core/types/handlerTypes.mjs';
|
|
5
5
|
export { BackendErrorBody, BackendResult } from './core/types/responseTypes.mjs';
|
|
6
|
-
import { R as RouteDefinition } from './routeTypes-
|
|
7
|
-
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-
|
|
6
|
+
import { R as RouteDefinition } from './routeTypes-C0SK3Woi.mjs';
|
|
7
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-C0SK3Woi.mjs';
|
|
8
8
|
export { buildRouter } from './core/routes/routeBuilder.mjs';
|
|
9
9
|
export { routeConfigs } from './core/routes/routeConfigs.mjs';
|
|
10
10
|
export { secretKeyCheck } from './core/utils/secretKeyCheck.mjs';
|
package/dist/backend/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { C as CustomerData } from './authTypes-TPWTIfcM.js';
|
|
|
3
3
|
export { A as AuthResult, a as CustomerId, R as ResolvedIdentity } from './authTypes-TPWTIfcM.js';
|
|
4
4
|
export { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from './core/types/handlerTypes.js';
|
|
5
5
|
export { BackendErrorBody, BackendResult } from './core/types/responseTypes.js';
|
|
6
|
-
import { R as RouteDefinition } from './routeTypes-
|
|
7
|
-
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-
|
|
6
|
+
import { R as RouteDefinition } from './routeTypes-eswiz8Fx.js';
|
|
7
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-eswiz8Fx.js';
|
|
8
8
|
export { buildRouter } from './core/routes/routeBuilder.js';
|
|
9
9
|
export { routeConfigs } from './core/routes/routeConfigs.js';
|
|
10
10
|
export { secretKeyCheck } from './core/utils/secretKeyCheck.js';
|
package/dist/backend/index.js
CHANGED
|
@@ -84,10 +84,10 @@ function serverURLFromOptions(options) {
|
|
|
84
84
|
}
|
|
85
85
|
var SDK_METADATA = {
|
|
86
86
|
language: "typescript",
|
|
87
|
-
openapiDocVersion: "2.
|
|
87
|
+
openapiDocVersion: "2.5.0",
|
|
88
88
|
sdkVersion: "0.10.18",
|
|
89
89
|
genVersion: "2.884.13",
|
|
90
|
-
userAgent: "speakeasy-sdk/typescript 0.10.18 2.884.13 2.
|
|
90
|
+
userAgent: "speakeasy-sdk/typescript 0.10.18 2.884.13 2.5.0 @useautumn/sdk"
|
|
91
91
|
};
|
|
92
92
|
|
|
93
93
|
// ../sdk/src/lib/http.ts
|
|
@@ -857,7 +857,7 @@ function dlv(obj, key, def, p, undef) {
|
|
|
857
857
|
// ../sdk/src/lib/env.ts
|
|
858
858
|
var envSchema = z5.object({
|
|
859
859
|
AUTUMN_SECRET_KEY: z5.optional(z5.string()),
|
|
860
|
-
AUTUMN_X_API_VERSION: z5._default(z5.string(), "2.
|
|
860
|
+
AUTUMN_X_API_VERSION: z5._default(z5.string(), "2.5.0"),
|
|
861
861
|
AUTUMN_FAIL_OPEN: z5.pipe(
|
|
862
862
|
z5._default(z5.enum(["true", "false"]), "true"),
|
|
863
863
|
z5.transform((v) => v === "true")
|
|
@@ -4206,8 +4206,7 @@ var RequestBody$outboundSchema = z16.pipe(
|
|
|
4206
4206
|
properties: z16.optional(z16.record(z16.string(), z16.any())),
|
|
4207
4207
|
idempotencyKey: z16.optional(z16.string()),
|
|
4208
4208
|
timestamp: z16.optional(z16.int()),
|
|
4209
|
-
overageBehavior: z16.optional(BatchTrackOverageBehavior$outboundSchema)
|
|
4210
|
-
async: z16.optional(z16.boolean())
|
|
4209
|
+
overageBehavior: z16.optional(BatchTrackOverageBehavior$outboundSchema)
|
|
4211
4210
|
}),
|
|
4212
4211
|
z16.transform((v) => {
|
|
4213
4212
|
return remap(v, {
|
|
@@ -66173,7 +66172,7 @@ var Autumn = class extends ClientSDK {
|
|
|
66173
66172
|
));
|
|
66174
66173
|
}
|
|
66175
66174
|
/**
|
|
66176
|
-
* Records usage for a customer feature
|
|
66175
|
+
* Records usage for a customer feature. Queued by default; pass async: false to apply it before responding with updated balances.
|
|
66177
66176
|
*
|
|
66178
66177
|
* Use this after an action happens to decrement usage, or send a negative value to credit balance back.
|
|
66179
66178
|
*
|
|
@@ -66197,9 +66196,9 @@ var Autumn = class extends ClientSDK {
|
|
|
66197
66196
|
* @param properties - Additional properties to attach to this usage event. (optional)
|
|
66198
66197
|
* @param timestamp - Unix timestamp in milliseconds to use for the usage event. Defaults to the current time. (optional)
|
|
66199
66198
|
* @param overageBehavior - How to handle usage that exceeds the available balance. "cap" (default) deducts only what fits, stopping at zero. "overflow" deducts the full value: the balance can go negative and usage limits do not clamp the deduction, though spend limits still apply. (optional)
|
|
66200
|
-
* @param async -
|
|
66199
|
+
* @param async - Defaults to true: the event is queued and the response is a 202 with balance: null. Set to false to apply the usage before responding with a 200 and the updated balance. (optional)
|
|
66201
66200
|
*
|
|
66202
|
-
* @returns The usage value recorded
|
|
66201
|
+
* @returns The usage value recorded. By default the event is queued and the API returns 202 with balance: null. With async: false it returns 200 with either a single updated balance or a map of updated balances, or 202 if Autumn is experiencing degraded service and accepted the event for replay.
|
|
66203
66202
|
*/
|
|
66204
66203
|
async track(request, options) {
|
|
66205
66204
|
return unwrapAsync(track(
|
|
@@ -66240,9 +66239,9 @@ var Autumn = class extends ClientSDK {
|
|
|
66240
66239
|
* @param properties - Additional properties to attach to this usage event. (optional)
|
|
66241
66240
|
* @param timestamp - Unix timestamp in milliseconds to use for the usage event. Defaults to the current time. (optional)
|
|
66242
66241
|
* @param overageBehavior - How to handle usage that exceeds the available balance. "cap" (default) deducts only what fits, stopping at zero. "overflow" deducts the full value: the balance can go negative and usage limits do not clamp the deduction, though spend limits still apply. (optional)
|
|
66243
|
-
* @param async -
|
|
66242
|
+
* @param async - Defaults to true: the event is queued and the response is a 202 with balance: null. Set to false to apply the usage before responding with a 200 and the updated balance. (optional)
|
|
66244
66243
|
*
|
|
66245
|
-
* @returns The dollar value recorded
|
|
66244
|
+
* @returns The dollar value recorded. By default the event is queued and the API returns 202 with balance: null. With async: false it returns 200 with the updated AI credit system balance, or 202 if Autumn is experiencing degraded service and accepted the event for replay.
|
|
66246
66245
|
*/
|
|
66247
66246
|
async trackTokens(request, options) {
|
|
66248
66247
|
return unwrapAsync(trackTokens(
|
package/dist/backend/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./chunk-WYDGEDEU.mjs";
|
|
2
2
|
import "./chunk-VXND2UDT.mjs";
|
|
3
|
-
import "./chunk-P46GFHFB.mjs";
|
|
4
3
|
import {
|
|
5
4
|
createCoreHandler
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-FJYYK3KF.mjs";
|
|
6
|
+
import "./chunk-ETP3OECB.mjs";
|
|
7
|
+
import "./chunk-HKLICPAL.mjs";
|
|
8
8
|
import "./chunk-MOHYGUMA.mjs";
|
|
9
9
|
import "./chunk-TBQ27LIK.mjs";
|
|
10
10
|
import "./chunk-J44WR3QZ.mjs";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
routeConfigs
|
|
17
17
|
} from "./chunk-WSWENEK2.mjs";
|
|
18
18
|
import "./chunk-OTXV5FY7.mjs";
|
|
19
|
-
import {
|
|
20
|
-
secretKeyCheck
|
|
21
|
-
} from "./chunk-VZIMT7AO.mjs";
|
|
22
19
|
import {
|
|
23
20
|
sanitizeBody
|
|
24
21
|
} from "./chunk-I7CD6EB6.mjs";
|
|
22
|
+
import {
|
|
23
|
+
secretKeyCheck
|
|
24
|
+
} from "./chunk-VZIMT7AO.mjs";
|
|
25
25
|
import {
|
|
26
26
|
backendError,
|
|
27
27
|
backendSuccess,
|
|
@@ -3563,10 +3563,6 @@ type RequestBody = {
|
|
|
3563
3563
|
* How to handle usage that exceeds the available balance. "cap" (default) deducts only what fits, stopping at zero. "overflow" deducts the full value: the balance can go negative and usage limits do not clamp the deduction, though spend limits still apply.
|
|
3564
3564
|
*/
|
|
3565
3565
|
overageBehavior?: BatchTrackOverageBehavior | undefined;
|
|
3566
|
-
/**
|
|
3567
|
-
* If true, enqueue the event for asynchronous processing and return 204 immediately. The response will not include balance information.
|
|
3568
|
-
*/
|
|
3569
|
-
async?: boolean | undefined;
|
|
3570
3566
|
};
|
|
3571
3567
|
/**
|
|
3572
3568
|
* Batch accepted. All items passed synchronous validation. Enqueue is best-effort: partial failures (some items enqueued, some not) are logged server-side and are NOT surfaced in the response body; clients must not retry on success. See the endpoint description for full partial-failure semantics.
|
|
@@ -54828,7 +54824,7 @@ type TrackParams = {
|
|
|
54828
54824
|
*/
|
|
54829
54825
|
overageBehavior?: TrackOverageBehavior | undefined;
|
|
54830
54826
|
/**
|
|
54831
|
-
*
|
|
54827
|
+
* Defaults to true: the event is queued and the response is a 202 with balance: null. Set to false to apply the usage before responding with a 200 and the updated balance.
|
|
54832
54828
|
*/
|
|
54833
54829
|
async?: boolean | undefined;
|
|
54834
54830
|
};
|
|
@@ -54881,7 +54877,7 @@ type TrackDeduction2 = {
|
|
|
54881
54877
|
value: number;
|
|
54882
54878
|
};
|
|
54883
54879
|
/**
|
|
54884
|
-
* Accepted.
|
|
54880
|
+
* Accepted. The event was queued and will be applied shortly, so balance is null. Returned by default unless async is false, and when Autumn is experiencing degraded service.
|
|
54885
54881
|
*/
|
|
54886
54882
|
type TrackResponseBody2 = {
|
|
54887
54883
|
/**
|
|
@@ -55071,7 +55067,7 @@ type TrackTokensParams = {
|
|
|
55071
55067
|
*/
|
|
55072
55068
|
overageBehavior?: TrackTokensOverageBehavior | undefined;
|
|
55073
55069
|
/**
|
|
55074
|
-
*
|
|
55070
|
+
* Defaults to true: the event is queued and the response is a 202 with balance: null. Set to false to apply the usage before responding with a 200 and the updated balance.
|
|
55075
55071
|
*/
|
|
55076
55072
|
async?: boolean | undefined;
|
|
55077
55073
|
};
|
|
@@ -55124,7 +55120,7 @@ type TrackTokensDeduction2 = {
|
|
|
55124
55120
|
value: number;
|
|
55125
55121
|
};
|
|
55126
55122
|
/**
|
|
55127
|
-
* Accepted.
|
|
55123
|
+
* Accepted. The token usage event was queued and will be applied shortly, so balance is null. Returned by default unless async is false, and when Autumn is experiencing degraded service.
|
|
55128
55124
|
*/
|
|
55129
55125
|
type TrackTokensResponseBody2 = {
|
|
55130
55126
|
/**
|
|
@@ -67781,7 +67777,7 @@ declare class Autumn extends ClientSDK {
|
|
|
67781
67777
|
*/
|
|
67782
67778
|
check(request: CheckParams, options?: RequestOptions): Promise<CheckResponse>;
|
|
67783
67779
|
/**
|
|
67784
|
-
* Records usage for a customer feature
|
|
67780
|
+
* Records usage for a customer feature. Queued by default; pass async: false to apply it before responding with updated balances.
|
|
67785
67781
|
*
|
|
67786
67782
|
* Use this after an action happens to decrement usage, or send a negative value to credit balance back.
|
|
67787
67783
|
*
|
|
@@ -67805,9 +67801,9 @@ declare class Autumn extends ClientSDK {
|
|
|
67805
67801
|
* @param properties - Additional properties to attach to this usage event. (optional)
|
|
67806
67802
|
* @param timestamp - Unix timestamp in milliseconds to use for the usage event. Defaults to the current time. (optional)
|
|
67807
67803
|
* @param overageBehavior - How to handle usage that exceeds the available balance. "cap" (default) deducts only what fits, stopping at zero. "overflow" deducts the full value: the balance can go negative and usage limits do not clamp the deduction, though spend limits still apply. (optional)
|
|
67808
|
-
* @param async -
|
|
67804
|
+
* @param async - Defaults to true: the event is queued and the response is a 202 with balance: null. Set to false to apply the usage before responding with a 200 and the updated balance. (optional)
|
|
67809
67805
|
*
|
|
67810
|
-
* @returns The usage value recorded
|
|
67806
|
+
* @returns The usage value recorded. By default the event is queued and the API returns 202 with balance: null. With async: false it returns 200 with either a single updated balance or a map of updated balances, or 202 if Autumn is experiencing degraded service and accepted the event for replay.
|
|
67811
67807
|
*/
|
|
67812
67808
|
track(request: TrackParams, options?: RequestOptions): Promise<TrackResponse>;
|
|
67813
67809
|
/**
|
|
@@ -67842,9 +67838,9 @@ declare class Autumn extends ClientSDK {
|
|
|
67842
67838
|
* @param properties - Additional properties to attach to this usage event. (optional)
|
|
67843
67839
|
* @param timestamp - Unix timestamp in milliseconds to use for the usage event. Defaults to the current time. (optional)
|
|
67844
67840
|
* @param overageBehavior - How to handle usage that exceeds the available balance. "cap" (default) deducts only what fits, stopping at zero. "overflow" deducts the full value: the balance can go negative and usage limits do not clamp the deduction, though spend limits still apply. (optional)
|
|
67845
|
-
* @param async -
|
|
67841
|
+
* @param async - Defaults to true: the event is queued and the response is a 202 with balance: null. Set to false to apply the usage before responding with a 200 and the updated balance. (optional)
|
|
67846
67842
|
*
|
|
67847
|
-
* @returns The dollar value recorded
|
|
67843
|
+
* @returns The dollar value recorded. By default the event is queued and the API returns 202 with balance: null. With async: false it returns 200 with the updated AI credit system balance, or 202 if Autumn is experiencing degraded service and accepted the event for replay.
|
|
67848
67844
|
*/
|
|
67849
67845
|
trackTokens(request: TrackTokensParams, options?: RequestOptions): Promise<TrackTokensResponse>;
|
|
67850
67846
|
/**
|
|
@@ -3563,10 +3563,6 @@ type RequestBody = {
|
|
|
3563
3563
|
* How to handle usage that exceeds the available balance. "cap" (default) deducts only what fits, stopping at zero. "overflow" deducts the full value: the balance can go negative and usage limits do not clamp the deduction, though spend limits still apply.
|
|
3564
3564
|
*/
|
|
3565
3565
|
overageBehavior?: BatchTrackOverageBehavior | undefined;
|
|
3566
|
-
/**
|
|
3567
|
-
* If true, enqueue the event for asynchronous processing and return 204 immediately. The response will not include balance information.
|
|
3568
|
-
*/
|
|
3569
|
-
async?: boolean | undefined;
|
|
3570
3566
|
};
|
|
3571
3567
|
/**
|
|
3572
3568
|
* Batch accepted. All items passed synchronous validation. Enqueue is best-effort: partial failures (some items enqueued, some not) are logged server-side and are NOT surfaced in the response body; clients must not retry on success. See the endpoint description for full partial-failure semantics.
|
|
@@ -54828,7 +54824,7 @@ type TrackParams = {
|
|
|
54828
54824
|
*/
|
|
54829
54825
|
overageBehavior?: TrackOverageBehavior | undefined;
|
|
54830
54826
|
/**
|
|
54831
|
-
*
|
|
54827
|
+
* Defaults to true: the event is queued and the response is a 202 with balance: null. Set to false to apply the usage before responding with a 200 and the updated balance.
|
|
54832
54828
|
*/
|
|
54833
54829
|
async?: boolean | undefined;
|
|
54834
54830
|
};
|
|
@@ -54881,7 +54877,7 @@ type TrackDeduction2 = {
|
|
|
54881
54877
|
value: number;
|
|
54882
54878
|
};
|
|
54883
54879
|
/**
|
|
54884
|
-
* Accepted.
|
|
54880
|
+
* Accepted. The event was queued and will be applied shortly, so balance is null. Returned by default unless async is false, and when Autumn is experiencing degraded service.
|
|
54885
54881
|
*/
|
|
54886
54882
|
type TrackResponseBody2 = {
|
|
54887
54883
|
/**
|
|
@@ -55071,7 +55067,7 @@ type TrackTokensParams = {
|
|
|
55071
55067
|
*/
|
|
55072
55068
|
overageBehavior?: TrackTokensOverageBehavior | undefined;
|
|
55073
55069
|
/**
|
|
55074
|
-
*
|
|
55070
|
+
* Defaults to true: the event is queued and the response is a 202 with balance: null. Set to false to apply the usage before responding with a 200 and the updated balance.
|
|
55075
55071
|
*/
|
|
55076
55072
|
async?: boolean | undefined;
|
|
55077
55073
|
};
|
|
@@ -55124,7 +55120,7 @@ type TrackTokensDeduction2 = {
|
|
|
55124
55120
|
value: number;
|
|
55125
55121
|
};
|
|
55126
55122
|
/**
|
|
55127
|
-
* Accepted.
|
|
55123
|
+
* Accepted. The token usage event was queued and will be applied shortly, so balance is null. Returned by default unless async is false, and when Autumn is experiencing degraded service.
|
|
55128
55124
|
*/
|
|
55129
55125
|
type TrackTokensResponseBody2 = {
|
|
55130
55126
|
/**
|
|
@@ -67781,7 +67777,7 @@ declare class Autumn extends ClientSDK {
|
|
|
67781
67777
|
*/
|
|
67782
67778
|
check(request: CheckParams, options?: RequestOptions): Promise<CheckResponse>;
|
|
67783
67779
|
/**
|
|
67784
|
-
* Records usage for a customer feature
|
|
67780
|
+
* Records usage for a customer feature. Queued by default; pass async: false to apply it before responding with updated balances.
|
|
67785
67781
|
*
|
|
67786
67782
|
* Use this after an action happens to decrement usage, or send a negative value to credit balance back.
|
|
67787
67783
|
*
|
|
@@ -67805,9 +67801,9 @@ declare class Autumn extends ClientSDK {
|
|
|
67805
67801
|
* @param properties - Additional properties to attach to this usage event. (optional)
|
|
67806
67802
|
* @param timestamp - Unix timestamp in milliseconds to use for the usage event. Defaults to the current time. (optional)
|
|
67807
67803
|
* @param overageBehavior - How to handle usage that exceeds the available balance. "cap" (default) deducts only what fits, stopping at zero. "overflow" deducts the full value: the balance can go negative and usage limits do not clamp the deduction, though spend limits still apply. (optional)
|
|
67808
|
-
* @param async -
|
|
67804
|
+
* @param async - Defaults to true: the event is queued and the response is a 202 with balance: null. Set to false to apply the usage before responding with a 200 and the updated balance. (optional)
|
|
67809
67805
|
*
|
|
67810
|
-
* @returns The usage value recorded
|
|
67806
|
+
* @returns The usage value recorded. By default the event is queued and the API returns 202 with balance: null. With async: false it returns 200 with either a single updated balance or a map of updated balances, or 202 if Autumn is experiencing degraded service and accepted the event for replay.
|
|
67811
67807
|
*/
|
|
67812
67808
|
track(request: TrackParams, options?: RequestOptions): Promise<TrackResponse>;
|
|
67813
67809
|
/**
|
|
@@ -67842,9 +67838,9 @@ declare class Autumn extends ClientSDK {
|
|
|
67842
67838
|
* @param properties - Additional properties to attach to this usage event. (optional)
|
|
67843
67839
|
* @param timestamp - Unix timestamp in milliseconds to use for the usage event. Defaults to the current time. (optional)
|
|
67844
67840
|
* @param overageBehavior - How to handle usage that exceeds the available balance. "cap" (default) deducts only what fits, stopping at zero. "overflow" deducts the full value: the balance can go negative and usage limits do not clamp the deduction, though spend limits still apply. (optional)
|
|
67845
|
-
* @param async -
|
|
67841
|
+
* @param async - Defaults to true: the event is queued and the response is a 202 with balance: null. Set to false to apply the usage before responding with a 200 and the updated balance. (optional)
|
|
67846
67842
|
*
|
|
67847
|
-
* @returns The dollar value recorded
|
|
67843
|
+
* @returns The dollar value recorded. By default the event is queued and the API returns 202 with balance: null. With async: false it returns 200 with the updated AI credit system balance, or 202 if Autumn is experiencing degraded service and accepted the event for replay.
|
|
67848
67844
|
*/
|
|
67849
67845
|
trackTokens(request: TrackTokensParams, options?: RequestOptions): Promise<TrackTokensResponse>;
|
|
67850
67846
|
/**
|
|
@@ -58,10 +58,10 @@ function serverURLFromOptions(options) {
|
|
|
58
58
|
}
|
|
59
59
|
var SDK_METADATA = {
|
|
60
60
|
language: "typescript",
|
|
61
|
-
openapiDocVersion: "2.
|
|
61
|
+
openapiDocVersion: "2.5.0",
|
|
62
62
|
sdkVersion: "0.10.18",
|
|
63
63
|
genVersion: "2.884.13",
|
|
64
|
-
userAgent: "speakeasy-sdk/typescript 0.10.18 2.884.13 2.
|
|
64
|
+
userAgent: "speakeasy-sdk/typescript 0.10.18 2.884.13 2.5.0 @useautumn/sdk"
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
// ../sdk/src/lib/http.ts
|
|
@@ -831,7 +831,7 @@ function dlv(obj, key, def, p, undef) {
|
|
|
831
831
|
// ../sdk/src/lib/env.ts
|
|
832
832
|
var envSchema = z5.object({
|
|
833
833
|
AUTUMN_SECRET_KEY: z5.optional(z5.string()),
|
|
834
|
-
AUTUMN_X_API_VERSION: z5._default(z5.string(), "2.
|
|
834
|
+
AUTUMN_X_API_VERSION: z5._default(z5.string(), "2.5.0"),
|
|
835
835
|
AUTUMN_FAIL_OPEN: z5.pipe(
|
|
836
836
|
z5._default(z5.enum(["true", "false"]), "true"),
|
|
837
837
|
z5.transform((v) => v === "true")
|
|
@@ -4180,8 +4180,7 @@ var RequestBody$outboundSchema = z16.pipe(
|
|
|
4180
4180
|
properties: z16.optional(z16.record(z16.string(), z16.any())),
|
|
4181
4181
|
idempotencyKey: z16.optional(z16.string()),
|
|
4182
4182
|
timestamp: z16.optional(z16.int()),
|
|
4183
|
-
overageBehavior: z16.optional(BatchTrackOverageBehavior$outboundSchema)
|
|
4184
|
-
async: z16.optional(z16.boolean())
|
|
4183
|
+
overageBehavior: z16.optional(BatchTrackOverageBehavior$outboundSchema)
|
|
4185
4184
|
}),
|
|
4186
4185
|
z16.transform((v) => {
|
|
4187
4186
|
return remap(v, {
|
|
@@ -66147,7 +66146,7 @@ var Autumn = class extends ClientSDK {
|
|
|
66147
66146
|
));
|
|
66148
66147
|
}
|
|
66149
66148
|
/**
|
|
66150
|
-
* Records usage for a customer feature
|
|
66149
|
+
* Records usage for a customer feature. Queued by default; pass async: false to apply it before responding with updated balances.
|
|
66151
66150
|
*
|
|
66152
66151
|
* Use this after an action happens to decrement usage, or send a negative value to credit balance back.
|
|
66153
66152
|
*
|
|
@@ -66171,9 +66170,9 @@ var Autumn = class extends ClientSDK {
|
|
|
66171
66170
|
* @param properties - Additional properties to attach to this usage event. (optional)
|
|
66172
66171
|
* @param timestamp - Unix timestamp in milliseconds to use for the usage event. Defaults to the current time. (optional)
|
|
66173
66172
|
* @param overageBehavior - How to handle usage that exceeds the available balance. "cap" (default) deducts only what fits, stopping at zero. "overflow" deducts the full value: the balance can go negative and usage limits do not clamp the deduction, though spend limits still apply. (optional)
|
|
66174
|
-
* @param async -
|
|
66173
|
+
* @param async - Defaults to true: the event is queued and the response is a 202 with balance: null. Set to false to apply the usage before responding with a 200 and the updated balance. (optional)
|
|
66175
66174
|
*
|
|
66176
|
-
* @returns The usage value recorded
|
|
66175
|
+
* @returns The usage value recorded. By default the event is queued and the API returns 202 with balance: null. With async: false it returns 200 with either a single updated balance or a map of updated balances, or 202 if Autumn is experiencing degraded service and accepted the event for replay.
|
|
66177
66176
|
*/
|
|
66178
66177
|
async track(request, options) {
|
|
66179
66178
|
return unwrapAsync(track(
|
|
@@ -66214,9 +66213,9 @@ var Autumn = class extends ClientSDK {
|
|
|
66214
66213
|
* @param properties - Additional properties to attach to this usage event. (optional)
|
|
66215
66214
|
* @param timestamp - Unix timestamp in milliseconds to use for the usage event. Defaults to the current time. (optional)
|
|
66216
66215
|
* @param overageBehavior - How to handle usage that exceeds the available balance. "cap" (default) deducts only what fits, stopping at zero. "overflow" deducts the full value: the balance can go negative and usage limits do not clamp the deduction, though spend limits still apply. (optional)
|
|
66217
|
-
* @param async -
|
|
66216
|
+
* @param async - Defaults to true: the event is queued and the response is a 202 with balance: null. Set to false to apply the usage before responding with a 200 and the updated balance. (optional)
|
|
66218
66217
|
*
|
|
66219
|
-
* @returns The dollar value recorded
|
|
66218
|
+
* @returns The dollar value recorded. By default the event is queued and the API returns 202 with balance: null. With async: false it returns 200 with the updated AI credit system balance, or 202 if Autumn is experiencing degraded service and accepted the event for replay.
|
|
66220
66219
|
*/
|
|
66221
66220
|
async trackTokens(request, options) {
|
|
66222
66221
|
return unwrapAsync(trackTokens(
|
|
@@ -7071,10 +7071,10 @@ function serverURLFromOptions(options) {
|
|
|
7071
7071
|
}
|
|
7072
7072
|
var SDK_METADATA = {
|
|
7073
7073
|
language: "typescript",
|
|
7074
|
-
openapiDocVersion: "2.
|
|
7074
|
+
openapiDocVersion: "2.5.0",
|
|
7075
7075
|
sdkVersion: "0.10.18",
|
|
7076
7076
|
genVersion: "2.884.13",
|
|
7077
|
-
userAgent: "speakeasy-sdk/typescript 0.10.18 2.884.13 2.
|
|
7077
|
+
userAgent: "speakeasy-sdk/typescript 0.10.18 2.884.13 2.5.0 @useautumn/sdk"
|
|
7078
7078
|
};
|
|
7079
7079
|
|
|
7080
7080
|
// ../sdk/src/lib/http.ts
|
|
@@ -7844,7 +7844,7 @@ function dlv(obj, key, def, p, undef) {
|
|
|
7844
7844
|
// ../sdk/src/lib/env.ts
|
|
7845
7845
|
var envSchema = z24.object({
|
|
7846
7846
|
AUTUMN_SECRET_KEY: z24.optional(z24.string()),
|
|
7847
|
-
AUTUMN_X_API_VERSION: z24._default(z24.string(), "2.
|
|
7847
|
+
AUTUMN_X_API_VERSION: z24._default(z24.string(), "2.5.0"),
|
|
7848
7848
|
AUTUMN_FAIL_OPEN: z24.pipe(
|
|
7849
7849
|
z24._default(z24.enum(["true", "false"]), "true"),
|
|
7850
7850
|
z24.transform((v) => v === "true")
|
|
@@ -11193,8 +11193,7 @@ var RequestBody$outboundSchema = z35.pipe(
|
|
|
11193
11193
|
properties: z35.optional(z35.record(z35.string(), z35.any())),
|
|
11194
11194
|
idempotencyKey: z35.optional(z35.string()),
|
|
11195
11195
|
timestamp: z35.optional(z35.int()),
|
|
11196
|
-
overageBehavior: z35.optional(BatchTrackOverageBehavior$outboundSchema)
|
|
11197
|
-
async: z35.optional(z35.boolean())
|
|
11196
|
+
overageBehavior: z35.optional(BatchTrackOverageBehavior$outboundSchema)
|
|
11198
11197
|
}),
|
|
11199
11198
|
z35.transform((v) => {
|
|
11200
11199
|
return remap(v, {
|
|
@@ -73160,7 +73159,7 @@ var Autumn = class extends ClientSDK {
|
|
|
73160
73159
|
));
|
|
73161
73160
|
}
|
|
73162
73161
|
/**
|
|
73163
|
-
* Records usage for a customer feature
|
|
73162
|
+
* Records usage for a customer feature. Queued by default; pass async: false to apply it before responding with updated balances.
|
|
73164
73163
|
*
|
|
73165
73164
|
* Use this after an action happens to decrement usage, or send a negative value to credit balance back.
|
|
73166
73165
|
*
|
|
@@ -73184,9 +73183,9 @@ var Autumn = class extends ClientSDK {
|
|
|
73184
73183
|
* @param properties - Additional properties to attach to this usage event. (optional)
|
|
73185
73184
|
* @param timestamp - Unix timestamp in milliseconds to use for the usage event. Defaults to the current time. (optional)
|
|
73186
73185
|
* @param overageBehavior - How to handle usage that exceeds the available balance. "cap" (default) deducts only what fits, stopping at zero. "overflow" deducts the full value: the balance can go negative and usage limits do not clamp the deduction, though spend limits still apply. (optional)
|
|
73187
|
-
* @param async -
|
|
73186
|
+
* @param async - Defaults to true: the event is queued and the response is a 202 with balance: null. Set to false to apply the usage before responding with a 200 and the updated balance. (optional)
|
|
73188
73187
|
*
|
|
73189
|
-
* @returns The usage value recorded
|
|
73188
|
+
* @returns The usage value recorded. By default the event is queued and the API returns 202 with balance: null. With async: false it returns 200 with either a single updated balance or a map of updated balances, or 202 if Autumn is experiencing degraded service and accepted the event for replay.
|
|
73190
73189
|
*/
|
|
73191
73190
|
async track(request, options) {
|
|
73192
73191
|
return unwrapAsync(track(
|
|
@@ -73227,9 +73226,9 @@ var Autumn = class extends ClientSDK {
|
|
|
73227
73226
|
* @param properties - Additional properties to attach to this usage event. (optional)
|
|
73228
73227
|
* @param timestamp - Unix timestamp in milliseconds to use for the usage event. Defaults to the current time. (optional)
|
|
73229
73228
|
* @param overageBehavior - How to handle usage that exceeds the available balance. "cap" (default) deducts only what fits, stopping at zero. "overflow" deducts the full value: the balance can go negative and usage limits do not clamp the deduction, though spend limits still apply. (optional)
|
|
73230
|
-
* @param async -
|
|
73229
|
+
* @param async - Defaults to true: the event is queued and the response is a 202 with balance: null. Set to false to apply the usage before responding with a 200 and the updated balance. (optional)
|
|
73231
73230
|
*
|
|
73232
|
-
* @returns The dollar value recorded
|
|
73231
|
+
* @returns The dollar value recorded. By default the event is queued and the API returns 202 with balance: null. With async: false it returns 200 with the updated AI credit system balance, or 202 if Autumn is experiencing degraded service and accepted the event for replay.
|
|
73233
73232
|
*/
|
|
73234
73233
|
async trackTokens(request, options) {
|
|
73235
73234
|
return unwrapAsync(trackTokens(
|
|
@@ -77,10 +77,10 @@ function serverURLFromOptions(options) {
|
|
|
77
77
|
}
|
|
78
78
|
var SDK_METADATA = {
|
|
79
79
|
language: "typescript",
|
|
80
|
-
openapiDocVersion: "2.
|
|
80
|
+
openapiDocVersion: "2.5.0",
|
|
81
81
|
sdkVersion: "0.10.18",
|
|
82
82
|
genVersion: "2.884.13",
|
|
83
|
-
userAgent: "speakeasy-sdk/typescript 0.10.18 2.884.13 2.
|
|
83
|
+
userAgent: "speakeasy-sdk/typescript 0.10.18 2.884.13 2.5.0 @useautumn/sdk"
|
|
84
84
|
};
|
|
85
85
|
|
|
86
86
|
// ../sdk/src/lib/http.ts
|
|
@@ -850,7 +850,7 @@ function dlv(obj, key, def, p, undef) {
|
|
|
850
850
|
// ../sdk/src/lib/env.ts
|
|
851
851
|
var envSchema = z5.object({
|
|
852
852
|
AUTUMN_SECRET_KEY: z5.optional(z5.string()),
|
|
853
|
-
AUTUMN_X_API_VERSION: z5._default(z5.string(), "2.
|
|
853
|
+
AUTUMN_X_API_VERSION: z5._default(z5.string(), "2.5.0"),
|
|
854
854
|
AUTUMN_FAIL_OPEN: z5.pipe(
|
|
855
855
|
z5._default(z5.enum(["true", "false"]), "true"),
|
|
856
856
|
z5.transform((v) => v === "true")
|
|
@@ -4199,8 +4199,7 @@ var RequestBody$outboundSchema = z16.pipe(
|
|
|
4199
4199
|
properties: z16.optional(z16.record(z16.string(), z16.any())),
|
|
4200
4200
|
idempotencyKey: z16.optional(z16.string()),
|
|
4201
4201
|
timestamp: z16.optional(z16.int()),
|
|
4202
|
-
overageBehavior: z16.optional(BatchTrackOverageBehavior$outboundSchema)
|
|
4203
|
-
async: z16.optional(z16.boolean())
|
|
4202
|
+
overageBehavior: z16.optional(BatchTrackOverageBehavior$outboundSchema)
|
|
4204
4203
|
}),
|
|
4205
4204
|
z16.transform((v) => {
|
|
4206
4205
|
return remap(v, {
|
|
@@ -66166,7 +66165,7 @@ var Autumn = class extends ClientSDK {
|
|
|
66166
66165
|
));
|
|
66167
66166
|
}
|
|
66168
66167
|
/**
|
|
66169
|
-
* Records usage for a customer feature
|
|
66168
|
+
* Records usage for a customer feature. Queued by default; pass async: false to apply it before responding with updated balances.
|
|
66170
66169
|
*
|
|
66171
66170
|
* Use this after an action happens to decrement usage, or send a negative value to credit balance back.
|
|
66172
66171
|
*
|
|
@@ -66190,9 +66189,9 @@ var Autumn = class extends ClientSDK {
|
|
|
66190
66189
|
* @param properties - Additional properties to attach to this usage event. (optional)
|
|
66191
66190
|
* @param timestamp - Unix timestamp in milliseconds to use for the usage event. Defaults to the current time. (optional)
|
|
66192
66191
|
* @param overageBehavior - How to handle usage that exceeds the available balance. "cap" (default) deducts only what fits, stopping at zero. "overflow" deducts the full value: the balance can go negative and usage limits do not clamp the deduction, though spend limits still apply. (optional)
|
|
66193
|
-
* @param async -
|
|
66192
|
+
* @param async - Defaults to true: the event is queued and the response is a 202 with balance: null. Set to false to apply the usage before responding with a 200 and the updated balance. (optional)
|
|
66194
66193
|
*
|
|
66195
|
-
* @returns The usage value recorded
|
|
66194
|
+
* @returns The usage value recorded. By default the event is queued and the API returns 202 with balance: null. With async: false it returns 200 with either a single updated balance or a map of updated balances, or 202 if Autumn is experiencing degraded service and accepted the event for replay.
|
|
66196
66195
|
*/
|
|
66197
66196
|
async track(request, options) {
|
|
66198
66197
|
return unwrapAsync(track(
|
|
@@ -66233,9 +66232,9 @@ var Autumn = class extends ClientSDK {
|
|
|
66233
66232
|
* @param properties - Additional properties to attach to this usage event. (optional)
|
|
66234
66233
|
* @param timestamp - Unix timestamp in milliseconds to use for the usage event. Defaults to the current time. (optional)
|
|
66235
66234
|
* @param overageBehavior - How to handle usage that exceeds the available balance. "cap" (default) deducts only what fits, stopping at zero. "overflow" deducts the full value: the balance can go negative and usage limits do not clamp the deduction, though spend limits still apply. (optional)
|
|
66236
|
-
* @param async -
|
|
66235
|
+
* @param async - Defaults to true: the event is queued and the response is a 202 with balance: null. Set to false to apply the usage before responding with a 200 and the updated balance. (optional)
|
|
66237
66236
|
*
|
|
66238
|
-
* @returns The dollar value recorded
|
|
66237
|
+
* @returns The dollar value recorded. By default the event is queued and the API returns 202 with balance: null. With async: false it returns 200 with the updated AI credit system balance, or 202 if Autumn is experiencing degraded service and accepted the event for replay.
|
|
66239
66238
|
*/
|
|
66240
66239
|
async trackTokens(request, options) {
|
|
66241
66240
|
return unwrapAsync(trackTokens(
|
|
@@ -7075,10 +7075,10 @@ function serverURLFromOptions(options) {
|
|
|
7075
7075
|
}
|
|
7076
7076
|
var SDK_METADATA = {
|
|
7077
7077
|
language: "typescript",
|
|
7078
|
-
openapiDocVersion: "2.
|
|
7078
|
+
openapiDocVersion: "2.5.0",
|
|
7079
7079
|
sdkVersion: "0.10.18",
|
|
7080
7080
|
genVersion: "2.884.13",
|
|
7081
|
-
userAgent: "speakeasy-sdk/typescript 0.10.18 2.884.13 2.
|
|
7081
|
+
userAgent: "speakeasy-sdk/typescript 0.10.18 2.884.13 2.5.0 @useautumn/sdk"
|
|
7082
7082
|
};
|
|
7083
7083
|
|
|
7084
7084
|
// ../sdk/src/lib/http.ts
|
|
@@ -7848,7 +7848,7 @@ function dlv(obj, key, def, p, undef) {
|
|
|
7848
7848
|
// ../sdk/src/lib/env.ts
|
|
7849
7849
|
var envSchema = z24.object({
|
|
7850
7850
|
AUTUMN_SECRET_KEY: z24.optional(z24.string()),
|
|
7851
|
-
AUTUMN_X_API_VERSION: z24._default(z24.string(), "2.
|
|
7851
|
+
AUTUMN_X_API_VERSION: z24._default(z24.string(), "2.5.0"),
|
|
7852
7852
|
AUTUMN_FAIL_OPEN: z24.pipe(
|
|
7853
7853
|
z24._default(z24.enum(["true", "false"]), "true"),
|
|
7854
7854
|
z24.transform((v) => v === "true")
|
|
@@ -11197,8 +11197,7 @@ var RequestBody$outboundSchema = z35.pipe(
|
|
|
11197
11197
|
properties: z35.optional(z35.record(z35.string(), z35.any())),
|
|
11198
11198
|
idempotencyKey: z35.optional(z35.string()),
|
|
11199
11199
|
timestamp: z35.optional(z35.int()),
|
|
11200
|
-
overageBehavior: z35.optional(BatchTrackOverageBehavior$outboundSchema)
|
|
11201
|
-
async: z35.optional(z35.boolean())
|
|
11200
|
+
overageBehavior: z35.optional(BatchTrackOverageBehavior$outboundSchema)
|
|
11202
11201
|
}),
|
|
11203
11202
|
z35.transform((v) => {
|
|
11204
11203
|
return remap(v, {
|
|
@@ -73164,7 +73163,7 @@ var Autumn = class extends ClientSDK {
|
|
|
73164
73163
|
));
|
|
73165
73164
|
}
|
|
73166
73165
|
/**
|
|
73167
|
-
* Records usage for a customer feature
|
|
73166
|
+
* Records usage for a customer feature. Queued by default; pass async: false to apply it before responding with updated balances.
|
|
73168
73167
|
*
|
|
73169
73168
|
* Use this after an action happens to decrement usage, or send a negative value to credit balance back.
|
|
73170
73169
|
*
|
|
@@ -73188,9 +73187,9 @@ var Autumn = class extends ClientSDK {
|
|
|
73188
73187
|
* @param properties - Additional properties to attach to this usage event. (optional)
|
|
73189
73188
|
* @param timestamp - Unix timestamp in milliseconds to use for the usage event. Defaults to the current time. (optional)
|
|
73190
73189
|
* @param overageBehavior - How to handle usage that exceeds the available balance. "cap" (default) deducts only what fits, stopping at zero. "overflow" deducts the full value: the balance can go negative and usage limits do not clamp the deduction, though spend limits still apply. (optional)
|
|
73191
|
-
* @param async -
|
|
73190
|
+
* @param async - Defaults to true: the event is queued and the response is a 202 with balance: null. Set to false to apply the usage before responding with a 200 and the updated balance. (optional)
|
|
73192
73191
|
*
|
|
73193
|
-
* @returns The usage value recorded
|
|
73192
|
+
* @returns The usage value recorded. By default the event is queued and the API returns 202 with balance: null. With async: false it returns 200 with either a single updated balance or a map of updated balances, or 202 if Autumn is experiencing degraded service and accepted the event for replay.
|
|
73194
73193
|
*/
|
|
73195
73194
|
async track(request, options) {
|
|
73196
73195
|
return unwrapAsync(track(
|
|
@@ -73231,9 +73230,9 @@ var Autumn = class extends ClientSDK {
|
|
|
73231
73230
|
* @param properties - Additional properties to attach to this usage event. (optional)
|
|
73232
73231
|
* @param timestamp - Unix timestamp in milliseconds to use for the usage event. Defaults to the current time. (optional)
|
|
73233
73232
|
* @param overageBehavior - How to handle usage that exceeds the available balance. "cap" (default) deducts only what fits, stopping at zero. "overflow" deducts the full value: the balance can go negative and usage limits do not clamp the deduction, though spend limits still apply. (optional)
|
|
73234
|
-
* @param async -
|
|
73233
|
+
* @param async - Defaults to true: the event is queued and the response is a 202 with balance: null. Set to false to apply the usage before responding with a 200 and the updated balance. (optional)
|
|
73235
73234
|
*
|
|
73236
|
-
* @returns The dollar value recorded
|
|
73235
|
+
* @returns The dollar value recorded. By default the event is queued and the API returns 202 with balance: null. With async: false it returns 200 with the updated AI credit system balance, or 202 if Autumn is experiencing degraded service and accepted the event for replay.
|
|
73237
73236
|
*/
|
|
73238
73237
|
async trackTokens(request, options) {
|
|
73239
73238
|
return unwrapAsync(trackTokens(
|