@opusdns/api 1.78.0 → 1.80.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/package.json +1 -1
- package/src/helpers/constants.ts +22 -13
- package/src/helpers/keys.ts +53 -53
- package/src/helpers/requests.d.ts +12 -10
- package/src/helpers/responses.d.ts +16 -16
- package/src/helpers/schemas.d.ts +6 -5
- package/src/openapi.yaml +255 -224
- package/src/schema.d.ts +235 -213
package/src/schema.d.ts
CHANGED
|
@@ -1925,46 +1925,6 @@ export interface paths {
|
|
|
1925
1925
|
patch?: never;
|
|
1926
1926
|
trace?: never;
|
|
1927
1927
|
};
|
|
1928
|
-
"/v1/organizations/ai-usage": {
|
|
1929
|
-
parameters: {
|
|
1930
|
-
query?: never;
|
|
1931
|
-
header?: never;
|
|
1932
|
-
path?: never;
|
|
1933
|
-
cookie?: never;
|
|
1934
|
-
};
|
|
1935
|
-
/**
|
|
1936
|
-
* AI usage over time
|
|
1937
|
-
* @description Retrieves the current organization's AI token usage as a time series, bucketed by the requested granularity and broken down per model. Reports token counts and request volumes only.
|
|
1938
|
-
*/
|
|
1939
|
-
get: operations["get_ai_usage_series_v1_organizations_ai_usage_get"];
|
|
1940
|
-
put?: never;
|
|
1941
|
-
post?: never;
|
|
1942
|
-
delete?: never;
|
|
1943
|
-
options?: never;
|
|
1944
|
-
head?: never;
|
|
1945
|
-
patch?: never;
|
|
1946
|
-
trace?: never;
|
|
1947
|
-
};
|
|
1948
|
-
"/v1/organizations/ai-usage/summary": {
|
|
1949
|
-
parameters: {
|
|
1950
|
-
query?: never;
|
|
1951
|
-
header?: never;
|
|
1952
|
-
path?: never;
|
|
1953
|
-
cookie?: never;
|
|
1954
|
-
};
|
|
1955
|
-
/**
|
|
1956
|
-
* AI usage summary
|
|
1957
|
-
* @description Retrieves the current organization's total AI token usage over a date range, broken down per model. Reports token counts and request volumes only.
|
|
1958
|
-
*/
|
|
1959
|
-
get: operations["get_ai_usage_summary_v1_organizations_ai_usage_summary_get"];
|
|
1960
|
-
put?: never;
|
|
1961
|
-
post?: never;
|
|
1962
|
-
delete?: never;
|
|
1963
|
-
options?: never;
|
|
1964
|
-
head?: never;
|
|
1965
|
-
patch?: never;
|
|
1966
|
-
trace?: never;
|
|
1967
|
-
};
|
|
1968
1928
|
"/v1/organizations/attributes": {
|
|
1969
1929
|
parameters: {
|
|
1970
1930
|
query?: never;
|
|
@@ -2279,6 +2239,46 @@ export interface paths {
|
|
|
2279
2239
|
patch?: never;
|
|
2280
2240
|
trace?: never;
|
|
2281
2241
|
};
|
|
2242
|
+
"/v1/organizations/{organization_id}/usage/{product}": {
|
|
2243
|
+
parameters: {
|
|
2244
|
+
query?: never;
|
|
2245
|
+
header?: never;
|
|
2246
|
+
path?: never;
|
|
2247
|
+
cookie?: never;
|
|
2248
|
+
};
|
|
2249
|
+
/**
|
|
2250
|
+
* Usage over time
|
|
2251
|
+
* @description Retrieves the organization's usage of a metered product as a time series, bucketed by the requested granularity and grouped per sub-metric. Reports usage quantities only.
|
|
2252
|
+
*/
|
|
2253
|
+
get: operations["get_usage_series_v1_organizations__organization_id__usage__product__get"];
|
|
2254
|
+
put?: never;
|
|
2255
|
+
post?: never;
|
|
2256
|
+
delete?: never;
|
|
2257
|
+
options?: never;
|
|
2258
|
+
head?: never;
|
|
2259
|
+
patch?: never;
|
|
2260
|
+
trace?: never;
|
|
2261
|
+
};
|
|
2262
|
+
"/v1/organizations/{organization_id}/usage/{product}/summary": {
|
|
2263
|
+
parameters: {
|
|
2264
|
+
query?: never;
|
|
2265
|
+
header?: never;
|
|
2266
|
+
path?: never;
|
|
2267
|
+
cookie?: never;
|
|
2268
|
+
};
|
|
2269
|
+
/**
|
|
2270
|
+
* Usage summary
|
|
2271
|
+
* @description Retrieves the organization's total usage of a metered product over a date range, grouped per sub-metric. Reports usage quantities only.
|
|
2272
|
+
*/
|
|
2273
|
+
get: operations["get_usage_summary_v1_organizations__organization_id__usage__product__summary_get"];
|
|
2274
|
+
put?: never;
|
|
2275
|
+
post?: never;
|
|
2276
|
+
delete?: never;
|
|
2277
|
+
options?: never;
|
|
2278
|
+
head?: never;
|
|
2279
|
+
patch?: never;
|
|
2280
|
+
trace?: never;
|
|
2281
|
+
};
|
|
2282
2282
|
"/v1/parking": {
|
|
2283
2283
|
parameters: {
|
|
2284
2284
|
query?: never;
|
|
@@ -2906,17 +2906,22 @@ export interface paths {
|
|
|
2906
2906
|
export type webhooks = Record<string, never>;
|
|
2907
2907
|
export interface components {
|
|
2908
2908
|
schemas: {
|
|
2909
|
+
/** AiInferenceUsageBucket */
|
|
2910
|
+
AiInferenceUsageBucket: {
|
|
2911
|
+
/** Groups */
|
|
2912
|
+
groups: components["schemas"]["AiInferenceUsageGroup"][];
|
|
2913
|
+
/**
|
|
2914
|
+
* Period Start
|
|
2915
|
+
* Format: date
|
|
2916
|
+
*/
|
|
2917
|
+
period_start: string;
|
|
2918
|
+
};
|
|
2909
2919
|
/**
|
|
2910
|
-
*
|
|
2911
|
-
* @
|
|
2912
|
-
*/
|
|
2913
|
-
AiUsageGranularity: "day" | "week" | "month";
|
|
2914
|
-
/**
|
|
2915
|
-
* AiUsageModelBreakdown
|
|
2916
|
-
* @description Public per-model AI token usage. Deliberately excludes billing-gateway's
|
|
2920
|
+
* AiInferenceUsageGroup
|
|
2921
|
+
* @description Public per-model AI inference usage. Deliberately excludes billing-gateway's
|
|
2917
2922
|
* internal COGS fields (cost_amount, per-million rates, has_rate).
|
|
2918
2923
|
*/
|
|
2919
|
-
|
|
2924
|
+
AiInferenceUsageGroup: {
|
|
2920
2925
|
/** Cache Read Tokens */
|
|
2921
2926
|
cache_read_tokens: number;
|
|
2922
2927
|
/** Cache Write Tokens */
|
|
@@ -2930,46 +2935,48 @@ export interface components {
|
|
|
2930
2935
|
/** Request Count */
|
|
2931
2936
|
request_count: number;
|
|
2932
2937
|
};
|
|
2933
|
-
/**
|
|
2934
|
-
|
|
2938
|
+
/** AiInferenceUsageSeriesResponse */
|
|
2939
|
+
AiInferenceUsageSeriesResponse: {
|
|
2935
2940
|
/** Buckets */
|
|
2936
|
-
buckets: components["schemas"]["
|
|
2941
|
+
buckets: components["schemas"]["AiInferenceUsageBucket"][];
|
|
2937
2942
|
/**
|
|
2938
2943
|
* End Date
|
|
2939
2944
|
* Format: date
|
|
2940
2945
|
*/
|
|
2941
2946
|
end_date: string;
|
|
2942
|
-
granularity: components["schemas"]["
|
|
2947
|
+
granularity: components["schemas"]["UsageGranularity"];
|
|
2948
|
+
/**
|
|
2949
|
+
* Product
|
|
2950
|
+
* @default ai_inference
|
|
2951
|
+
* @constant
|
|
2952
|
+
*/
|
|
2953
|
+
product: "ai_inference";
|
|
2943
2954
|
/**
|
|
2944
2955
|
* Start Date
|
|
2945
2956
|
* Format: date
|
|
2946
2957
|
*/
|
|
2947
2958
|
start_date: string;
|
|
2948
2959
|
};
|
|
2949
|
-
/**
|
|
2950
|
-
|
|
2951
|
-
/** By Model */
|
|
2952
|
-
by_model: components["schemas"]["AiUsageModelBreakdown"][];
|
|
2960
|
+
/** AiInferenceUsageSummaryResponse */
|
|
2961
|
+
AiInferenceUsageSummaryResponse: {
|
|
2953
2962
|
/**
|
|
2954
2963
|
* End Date
|
|
2955
2964
|
* Format: date
|
|
2956
2965
|
*/
|
|
2957
2966
|
end_date: string;
|
|
2967
|
+
/** Groups */
|
|
2968
|
+
groups: components["schemas"]["AiInferenceUsageGroup"][];
|
|
2958
2969
|
/**
|
|
2959
|
-
*
|
|
2960
|
-
*
|
|
2970
|
+
* Product
|
|
2971
|
+
* @default ai_inference
|
|
2972
|
+
* @constant
|
|
2961
2973
|
*/
|
|
2962
|
-
|
|
2963
|
-
};
|
|
2964
|
-
/** AiUsageTimeBucket */
|
|
2965
|
-
AiUsageTimeBucket: {
|
|
2966
|
-
/** By Model */
|
|
2967
|
-
by_model: components["schemas"]["AiUsageModelBreakdown"][];
|
|
2974
|
+
product: "ai_inference";
|
|
2968
2975
|
/**
|
|
2969
|
-
*
|
|
2976
|
+
* Start Date
|
|
2970
2977
|
* Format: date
|
|
2971
2978
|
*/
|
|
2972
|
-
|
|
2979
|
+
start_date: string;
|
|
2973
2980
|
};
|
|
2974
2981
|
/**
|
|
2975
2982
|
* AllocationMethodType
|
|
@@ -7840,10 +7847,6 @@ export interface components {
|
|
|
7840
7847
|
ExecutingEntity: "user" | "organization" | "system";
|
|
7841
7848
|
/** Footer */
|
|
7842
7849
|
Footer: {
|
|
7843
|
-
/** Contact Email */
|
|
7844
|
-
contact_email?: string | null;
|
|
7845
|
-
/** Disclaimer */
|
|
7846
|
-
disclaimer?: string | null;
|
|
7847
7850
|
/** Legal Entity */
|
|
7848
7851
|
legal_entity?: string | null;
|
|
7849
7852
|
/** Lines */
|
|
@@ -11547,6 +11550,16 @@ export interface components {
|
|
|
11547
11550
|
*/
|
|
11548
11551
|
transfer_time?: string | null;
|
|
11549
11552
|
};
|
|
11553
|
+
/**
|
|
11554
|
+
* UsageGranularity
|
|
11555
|
+
* @enum {string}
|
|
11556
|
+
*/
|
|
11557
|
+
UsageGranularity: "day" | "week" | "month";
|
|
11558
|
+
/**
|
|
11559
|
+
* UsageProduct
|
|
11560
|
+
* @enum {string}
|
|
11561
|
+
*/
|
|
11562
|
+
UsageProduct: "ai_inference";
|
|
11550
11563
|
/** User */
|
|
11551
11564
|
User: {
|
|
11552
11565
|
/**
|
|
@@ -22506,149 +22519,6 @@ export interface operations {
|
|
|
22506
22519
|
};
|
|
22507
22520
|
};
|
|
22508
22521
|
};
|
|
22509
|
-
get_ai_usage_series_v1_organizations_ai_usage_get: {
|
|
22510
|
-
parameters: {
|
|
22511
|
-
query: {
|
|
22512
|
-
start_date: string;
|
|
22513
|
-
end_date: string;
|
|
22514
|
-
model?: string | null;
|
|
22515
|
-
granularity?: components["schemas"]["AiUsageGranularity"];
|
|
22516
|
-
};
|
|
22517
|
-
header?: {
|
|
22518
|
-
/**
|
|
22519
|
-
* @description Opt in to RFC 3339 datetime serialization. When set to `rfc3339`, response datetimes are normalized to UTC and serialized with a `Z` suffix. This is opt-in until the announced default cutover date, after which RFC 3339 becomes the default and this header is accepted as a no-op. Any other value or omission uses the current default serialization.
|
|
22520
|
-
* @example rfc3339
|
|
22521
|
-
*/
|
|
22522
|
-
"X-Datetime-Format"?: components["parameters"]["DatetimeFormatHeader"];
|
|
22523
|
-
};
|
|
22524
|
-
path?: never;
|
|
22525
|
-
cookie?: never;
|
|
22526
|
-
};
|
|
22527
|
-
requestBody?: never;
|
|
22528
|
-
responses: {
|
|
22529
|
-
/** @description Successful Response */
|
|
22530
|
-
200: {
|
|
22531
|
-
headers: {
|
|
22532
|
-
[name: string]: unknown;
|
|
22533
|
-
};
|
|
22534
|
-
content: {
|
|
22535
|
-
"application/json": components["schemas"]["AiUsageSeriesResponse"];
|
|
22536
|
-
};
|
|
22537
|
-
};
|
|
22538
|
-
/** @description Unauthorized */
|
|
22539
|
-
401: {
|
|
22540
|
-
headers: {
|
|
22541
|
-
[name: string]: unknown;
|
|
22542
|
-
};
|
|
22543
|
-
content: {
|
|
22544
|
-
/** @example {
|
|
22545
|
-
* "code": "ERROR_AUTHENTICATION",
|
|
22546
|
-
* "detail": "Additional error context.",
|
|
22547
|
-
* "status": 401,
|
|
22548
|
-
* "title": "Authentication Error",
|
|
22549
|
-
* "type": "authentication"
|
|
22550
|
-
* } */
|
|
22551
|
-
"application/problem+json": components["schemas"]["Problem"];
|
|
22552
|
-
};
|
|
22553
|
-
};
|
|
22554
|
-
/** @description Forbidden */
|
|
22555
|
-
403: {
|
|
22556
|
-
headers: {
|
|
22557
|
-
[name: string]: unknown;
|
|
22558
|
-
};
|
|
22559
|
-
content: {
|
|
22560
|
-
/** @example {
|
|
22561
|
-
* "code": "ERROR_PERMISSION_DENIED",
|
|
22562
|
-
* "detail": "Insufficient permissions to perform this action",
|
|
22563
|
-
* "status": 403,
|
|
22564
|
-
* "title": "Permission Denied",
|
|
22565
|
-
* "type": "permission-denied"
|
|
22566
|
-
* } */
|
|
22567
|
-
"application/problem+json": components["schemas"]["Problem"];
|
|
22568
|
-
};
|
|
22569
|
-
};
|
|
22570
|
-
/** @description Validation Error */
|
|
22571
|
-
422: {
|
|
22572
|
-
headers: {
|
|
22573
|
-
[name: string]: unknown;
|
|
22574
|
-
};
|
|
22575
|
-
content: {
|
|
22576
|
-
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
22577
|
-
};
|
|
22578
|
-
};
|
|
22579
|
-
};
|
|
22580
|
-
};
|
|
22581
|
-
get_ai_usage_summary_v1_organizations_ai_usage_summary_get: {
|
|
22582
|
-
parameters: {
|
|
22583
|
-
query: {
|
|
22584
|
-
start_date: string;
|
|
22585
|
-
end_date: string;
|
|
22586
|
-
model?: string | null;
|
|
22587
|
-
};
|
|
22588
|
-
header?: {
|
|
22589
|
-
/**
|
|
22590
|
-
* @description Opt in to RFC 3339 datetime serialization. When set to `rfc3339`, response datetimes are normalized to UTC and serialized with a `Z` suffix. This is opt-in until the announced default cutover date, after which RFC 3339 becomes the default and this header is accepted as a no-op. Any other value or omission uses the current default serialization.
|
|
22591
|
-
* @example rfc3339
|
|
22592
|
-
*/
|
|
22593
|
-
"X-Datetime-Format"?: components["parameters"]["DatetimeFormatHeader"];
|
|
22594
|
-
};
|
|
22595
|
-
path?: never;
|
|
22596
|
-
cookie?: never;
|
|
22597
|
-
};
|
|
22598
|
-
requestBody?: never;
|
|
22599
|
-
responses: {
|
|
22600
|
-
/** @description Successful Response */
|
|
22601
|
-
200: {
|
|
22602
|
-
headers: {
|
|
22603
|
-
[name: string]: unknown;
|
|
22604
|
-
};
|
|
22605
|
-
content: {
|
|
22606
|
-
"application/json": components["schemas"]["AiUsageSummaryResponse"];
|
|
22607
|
-
};
|
|
22608
|
-
};
|
|
22609
|
-
/** @description Unauthorized */
|
|
22610
|
-
401: {
|
|
22611
|
-
headers: {
|
|
22612
|
-
[name: string]: unknown;
|
|
22613
|
-
};
|
|
22614
|
-
content: {
|
|
22615
|
-
/** @example {
|
|
22616
|
-
* "code": "ERROR_AUTHENTICATION",
|
|
22617
|
-
* "detail": "Additional error context.",
|
|
22618
|
-
* "status": 401,
|
|
22619
|
-
* "title": "Authentication Error",
|
|
22620
|
-
* "type": "authentication"
|
|
22621
|
-
* } */
|
|
22622
|
-
"application/problem+json": components["schemas"]["Problem"];
|
|
22623
|
-
};
|
|
22624
|
-
};
|
|
22625
|
-
/** @description Forbidden */
|
|
22626
|
-
403: {
|
|
22627
|
-
headers: {
|
|
22628
|
-
[name: string]: unknown;
|
|
22629
|
-
};
|
|
22630
|
-
content: {
|
|
22631
|
-
/** @example {
|
|
22632
|
-
* "code": "ERROR_PERMISSION_DENIED",
|
|
22633
|
-
* "detail": "Insufficient permissions to perform this action",
|
|
22634
|
-
* "status": 403,
|
|
22635
|
-
* "title": "Permission Denied",
|
|
22636
|
-
* "type": "permission-denied"
|
|
22637
|
-
* } */
|
|
22638
|
-
"application/problem+json": components["schemas"]["Problem"];
|
|
22639
|
-
};
|
|
22640
|
-
};
|
|
22641
|
-
/** @description Validation Error */
|
|
22642
|
-
422: {
|
|
22643
|
-
headers: {
|
|
22644
|
-
[name: string]: unknown;
|
|
22645
|
-
};
|
|
22646
|
-
content: {
|
|
22647
|
-
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
22648
|
-
};
|
|
22649
|
-
};
|
|
22650
|
-
};
|
|
22651
|
-
};
|
|
22652
22522
|
get_current_organization_attributes_v1_organizations_attributes_get: {
|
|
22653
22523
|
parameters: {
|
|
22654
22524
|
query?: {
|
|
@@ -24345,6 +24215,158 @@ export interface operations {
|
|
|
24345
24215
|
};
|
|
24346
24216
|
};
|
|
24347
24217
|
};
|
|
24218
|
+
get_usage_series_v1_organizations__organization_id__usage__product__get: {
|
|
24219
|
+
parameters: {
|
|
24220
|
+
query: {
|
|
24221
|
+
/** @description Inclusive start date (YYYY-MM-DD) */
|
|
24222
|
+
start_date: string;
|
|
24223
|
+
/** @description Inclusive end date (YYYY-MM-DD) */
|
|
24224
|
+
end_date: string;
|
|
24225
|
+
/** @description Time-bucket size */
|
|
24226
|
+
granularity?: components["schemas"]["UsageGranularity"];
|
|
24227
|
+
};
|
|
24228
|
+
header?: {
|
|
24229
|
+
/**
|
|
24230
|
+
* @description Opt in to RFC 3339 datetime serialization. When set to `rfc3339`, response datetimes are normalized to UTC and serialized with a `Z` suffix. This is opt-in until the announced default cutover date, after which RFC 3339 becomes the default and this header is accepted as a no-op. Any other value or omission uses the current default serialization.
|
|
24231
|
+
* @example rfc3339
|
|
24232
|
+
*/
|
|
24233
|
+
"X-Datetime-Format"?: components["parameters"]["DatetimeFormatHeader"];
|
|
24234
|
+
};
|
|
24235
|
+
path: {
|
|
24236
|
+
organization_id: TypeId<"organization">;
|
|
24237
|
+
product: components["schemas"]["UsageProduct"];
|
|
24238
|
+
};
|
|
24239
|
+
cookie?: never;
|
|
24240
|
+
};
|
|
24241
|
+
requestBody?: never;
|
|
24242
|
+
responses: {
|
|
24243
|
+
/** @description Successful Response */
|
|
24244
|
+
200: {
|
|
24245
|
+
headers: {
|
|
24246
|
+
[name: string]: unknown;
|
|
24247
|
+
};
|
|
24248
|
+
content: {
|
|
24249
|
+
"application/json": components["schemas"]["AiInferenceUsageSeriesResponse"];
|
|
24250
|
+
};
|
|
24251
|
+
};
|
|
24252
|
+
/** @description Unauthorized */
|
|
24253
|
+
401: {
|
|
24254
|
+
headers: {
|
|
24255
|
+
[name: string]: unknown;
|
|
24256
|
+
};
|
|
24257
|
+
content: {
|
|
24258
|
+
/** @example {
|
|
24259
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
24260
|
+
* "detail": "Additional error context.",
|
|
24261
|
+
* "status": 401,
|
|
24262
|
+
* "title": "Authentication Error",
|
|
24263
|
+
* "type": "authentication"
|
|
24264
|
+
* } */
|
|
24265
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
24266
|
+
};
|
|
24267
|
+
};
|
|
24268
|
+
/** @description Forbidden */
|
|
24269
|
+
403: {
|
|
24270
|
+
headers: {
|
|
24271
|
+
[name: string]: unknown;
|
|
24272
|
+
};
|
|
24273
|
+
content: {
|
|
24274
|
+
/** @example {
|
|
24275
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
24276
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
24277
|
+
* "status": 403,
|
|
24278
|
+
* "title": "Permission Denied",
|
|
24279
|
+
* "type": "permission-denied"
|
|
24280
|
+
* } */
|
|
24281
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
24282
|
+
};
|
|
24283
|
+
};
|
|
24284
|
+
/** @description Validation Error */
|
|
24285
|
+
422: {
|
|
24286
|
+
headers: {
|
|
24287
|
+
[name: string]: unknown;
|
|
24288
|
+
};
|
|
24289
|
+
content: {
|
|
24290
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
24291
|
+
};
|
|
24292
|
+
};
|
|
24293
|
+
};
|
|
24294
|
+
};
|
|
24295
|
+
get_usage_summary_v1_organizations__organization_id__usage__product__summary_get: {
|
|
24296
|
+
parameters: {
|
|
24297
|
+
query: {
|
|
24298
|
+
/** @description Inclusive start date (YYYY-MM-DD) */
|
|
24299
|
+
start_date: string;
|
|
24300
|
+
/** @description Inclusive end date (YYYY-MM-DD) */
|
|
24301
|
+
end_date: string;
|
|
24302
|
+
};
|
|
24303
|
+
header?: {
|
|
24304
|
+
/**
|
|
24305
|
+
* @description Opt in to RFC 3339 datetime serialization. When set to `rfc3339`, response datetimes are normalized to UTC and serialized with a `Z` suffix. This is opt-in until the announced default cutover date, after which RFC 3339 becomes the default and this header is accepted as a no-op. Any other value or omission uses the current default serialization.
|
|
24306
|
+
* @example rfc3339
|
|
24307
|
+
*/
|
|
24308
|
+
"X-Datetime-Format"?: components["parameters"]["DatetimeFormatHeader"];
|
|
24309
|
+
};
|
|
24310
|
+
path: {
|
|
24311
|
+
organization_id: TypeId<"organization">;
|
|
24312
|
+
product: components["schemas"]["UsageProduct"];
|
|
24313
|
+
};
|
|
24314
|
+
cookie?: never;
|
|
24315
|
+
};
|
|
24316
|
+
requestBody?: never;
|
|
24317
|
+
responses: {
|
|
24318
|
+
/** @description Successful Response */
|
|
24319
|
+
200: {
|
|
24320
|
+
headers: {
|
|
24321
|
+
[name: string]: unknown;
|
|
24322
|
+
};
|
|
24323
|
+
content: {
|
|
24324
|
+
"application/json": components["schemas"]["AiInferenceUsageSummaryResponse"];
|
|
24325
|
+
};
|
|
24326
|
+
};
|
|
24327
|
+
/** @description Unauthorized */
|
|
24328
|
+
401: {
|
|
24329
|
+
headers: {
|
|
24330
|
+
[name: string]: unknown;
|
|
24331
|
+
};
|
|
24332
|
+
content: {
|
|
24333
|
+
/** @example {
|
|
24334
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
24335
|
+
* "detail": "Additional error context.",
|
|
24336
|
+
* "status": 401,
|
|
24337
|
+
* "title": "Authentication Error",
|
|
24338
|
+
* "type": "authentication"
|
|
24339
|
+
* } */
|
|
24340
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
24341
|
+
};
|
|
24342
|
+
};
|
|
24343
|
+
/** @description Forbidden */
|
|
24344
|
+
403: {
|
|
24345
|
+
headers: {
|
|
24346
|
+
[name: string]: unknown;
|
|
24347
|
+
};
|
|
24348
|
+
content: {
|
|
24349
|
+
/** @example {
|
|
24350
|
+
* "code": "ERROR_PERMISSION_DENIED",
|
|
24351
|
+
* "detail": "Insufficient permissions to perform this action",
|
|
24352
|
+
* "status": 403,
|
|
24353
|
+
* "title": "Permission Denied",
|
|
24354
|
+
* "type": "permission-denied"
|
|
24355
|
+
* } */
|
|
24356
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
24357
|
+
};
|
|
24358
|
+
};
|
|
24359
|
+
/** @description Validation Error */
|
|
24360
|
+
422: {
|
|
24361
|
+
headers: {
|
|
24362
|
+
[name: string]: unknown;
|
|
24363
|
+
};
|
|
24364
|
+
content: {
|
|
24365
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
24366
|
+
};
|
|
24367
|
+
};
|
|
24368
|
+
};
|
|
24369
|
+
};
|
|
24348
24370
|
list_parking_v1_parking_get: {
|
|
24349
24371
|
parameters: {
|
|
24350
24372
|
query?: {
|