@xemahq/llm-registry-operator-api-client 0.5.1 → 0.5.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/LICENSE CHANGED
@@ -9,7 +9,7 @@ Parameters
9
9
 
10
10
  Licensor: Neuralchowder Inc.
11
11
 
12
- Licensed Work: Xema. The Licensed Work is (c) 2026 Neuralchowder Inc..
12
+ Licensed Work: Xema. The Licensed Work is (c) 2026 Neuralchowder Inc.
13
13
 
14
14
  The Licensed Work includes, without limitation, Xema Core, Xema Runtime,
15
15
  Xema Kernel, Xema control plane, Xema application runtime, Xema biome
@@ -116,6 +116,7 @@ the interpretation of, the Additional Use Grant set out above.
116
116
  and effect. The Licensor reserves all rights not expressly granted
117
117
  by this License.
118
118
 
119
+
119
120
  Change Date: Four years from the date the specific version of the Licensed
120
121
  Work is first publicly released by Licensor.
121
122
 
@@ -12,7 +12,7 @@ exports.getAdminProvidersControllerListSystemProvidersUrl = getAdminProvidersCon
12
12
  const adminProvidersControllerListSystemProviders = async (options) => {
13
13
  return (0, custom_fetch_1.customFetch)((0, exports.getAdminProvidersControllerListSystemProvidersUrl)(), {
14
14
  ...options,
15
- method: 'GET',
15
+ method: 'GET'
16
16
  });
17
17
  };
18
18
  exports.adminProvidersControllerListSystemProviders = adminProvidersControllerListSystemProviders;
@@ -28,7 +28,7 @@ const adminProvidersControllerCreateSystemProvider = async (createSystemProvider
28
28
  ...options,
29
29
  method: 'POST',
30
30
  headers: { 'Content-Type': 'application/json', ...options?.headers },
31
- body: JSON.stringify(createSystemProviderDto),
31
+ body: JSON.stringify(createSystemProviderDto)
32
32
  });
33
33
  };
34
34
  exports.adminProvidersControllerCreateSystemProvider = adminProvidersControllerCreateSystemProvider;
@@ -42,7 +42,7 @@ exports.getAdminProvidersControllerGetSystemProviderUrl = getAdminProvidersContr
42
42
  const adminProvidersControllerGetSystemProvider = async (id, options) => {
43
43
  return (0, custom_fetch_1.customFetch)((0, exports.getAdminProvidersControllerGetSystemProviderUrl)(id), {
44
44
  ...options,
45
- method: 'GET',
45
+ method: 'GET'
46
46
  });
47
47
  };
48
48
  exports.adminProvidersControllerGetSystemProvider = adminProvidersControllerGetSystemProvider;
@@ -58,7 +58,7 @@ const adminProvidersControllerUpdateSystemProvider = async (id, updateSystemProv
58
58
  ...options,
59
59
  method: 'PATCH',
60
60
  headers: { 'Content-Type': 'application/json', ...options?.headers },
61
- body: JSON.stringify(updateSystemProviderDto),
61
+ body: JSON.stringify(updateSystemProviderDto)
62
62
  });
63
63
  };
64
64
  exports.adminProvidersControllerUpdateSystemProvider = adminProvidersControllerUpdateSystemProvider;
@@ -72,7 +72,7 @@ exports.getAdminProvidersControllerDeleteSystemProviderUrl = getAdminProvidersCo
72
72
  const adminProvidersControllerDeleteSystemProvider = async (id, options) => {
73
73
  return (0, custom_fetch_1.customFetch)((0, exports.getAdminProvidersControllerDeleteSystemProviderUrl)(id), {
74
74
  ...options,
75
- method: 'DELETE',
75
+ method: 'DELETE'
76
76
  });
77
77
  };
78
78
  exports.adminProvidersControllerDeleteSystemProvider = adminProvidersControllerDeleteSystemProvider;
@@ -88,7 +88,7 @@ const adminProvidersControllerRotateKey = async (id, rotateKeyDto, options) => {
88
88
  ...options,
89
89
  method: 'PATCH',
90
90
  headers: { 'Content-Type': 'application/json', ...options?.headers },
91
- body: JSON.stringify(rotateKeyDto),
91
+ body: JSON.stringify(rotateKeyDto)
92
92
  });
93
93
  };
94
94
  exports.adminProvidersControllerRotateKey = adminProvidersControllerRotateKey;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { configureClient, getClientConfig, ClientError, customFetch, type ClientConfig, } from './custom-fetch';
1
+ export { configureClient, getClientConfig, ClientError, customFetch, type ClientConfig } from './custom-fetch';
2
2
  export * from './models';
3
3
  export * from './endpoints/admin-platform-providers/admin-platform-providers';
@@ -20,8 +20,8 @@ export interface CreateSystemProviderDto {
20
20
  /** Whether this provider is active immediately */
21
21
  isActive?: boolean;
22
22
  /**
23
- * Maximum concurrent requests allowed to this provider. Null = unlimited.
24
- * @minimum 1
25
- */
23
+ * Maximum concurrent requests allowed to this provider. Null = unlimited.
24
+ * @minimum 1
25
+ */
26
26
  maxConcurrentRequests?: number;
27
27
  }
@@ -5,7 +5,7 @@
5
5
  * Central registry for LLM providers, models, and per-project model configuration
6
6
  * OpenAPI spec version: 0.1.3
7
7
  */
8
- export type CreateSystemProviderDtoApiType = (typeof CreateSystemProviderDtoApiType)[keyof typeof CreateSystemProviderDtoApiType];
8
+ export type CreateSystemProviderDtoApiType = typeof CreateSystemProviderDtoApiType[keyof typeof CreateSystemProviderDtoApiType];
9
9
  export declare const CreateSystemProviderDtoApiType: {
10
10
  readonly 'openai-compatible': "openai-compatible";
11
11
  readonly anthropic: "anthropic";
@@ -5,7 +5,7 @@
5
5
  * Central registry for LLM providers, models, and per-project model configuration
6
6
  * OpenAPI spec version: 0.1.3
7
7
  */
8
- export type CreateSystemProviderDtoAuthType = (typeof CreateSystemProviderDtoAuthType)[keyof typeof CreateSystemProviderDtoAuthType];
8
+ export type CreateSystemProviderDtoAuthType = typeof CreateSystemProviderDtoAuthType[keyof typeof CreateSystemProviderDtoAuthType];
9
9
  export declare const CreateSystemProviderDtoAuthType: {
10
10
  readonly bearer: "bearer";
11
11
  readonly 'api-key-header': "api-key-header";
@@ -8,7 +8,7 @@
8
8
  /**
9
9
  * Closed-enum input/output modalities the model serves. Empty when none declared.
10
10
  */
11
- export type ModelModality = (typeof ModelModality)[keyof typeof ModelModality];
11
+ export type ModelModality = typeof ModelModality[keyof typeof ModelModality];
12
12
  export declare const ModelModality: {
13
13
  readonly text: "text";
14
14
  readonly image: "image";
@@ -8,7 +8,7 @@
8
8
  /**
9
9
  * Operating mode of the model. Null when no signal resolved one.
10
10
  */
11
- export type ModelMode = (typeof ModelMode)[keyof typeof ModelMode];
11
+ export type ModelMode = typeof ModelMode[keyof typeof ModelMode];
12
12
  export declare const ModelMode: {
13
13
  readonly chat: "chat";
14
14
  readonly embedding: "embedding";
@@ -16,16 +16,16 @@ export interface ModelResponseDto {
16
16
  displayName: string;
17
17
  contextWindow?: ModelResponseDtoContextWindow;
18
18
  /**
19
- * Max generation/output tokens. Distinct from contextWindow (the input budget). Null when no authoritative source declares one.
20
- * @nullable
21
- */
19
+ * Max generation/output tokens. Distinct from contextWindow (the input budget). Null when no authoritative source declares one.
20
+ * @nullable
21
+ */
22
22
  maxOutputTokens?: number | null;
23
23
  /** Operating mode of the model. Null when no signal resolved one. */
24
24
  mode?: ModelMode | null;
25
25
  /**
26
- * Embedding output vector dimension (only for embedding models).
27
- * @nullable
28
- */
26
+ * Embedding output vector dimension (only for embedding models).
27
+ * @nullable
28
+ */
29
29
  embeddingDimension?: number | null;
30
30
  capabilities: string[];
31
31
  /** Closed-enum input/output modalities the model serves. Empty when none declared. */
@@ -49,49 +49,49 @@ export interface ModelResponseDto {
49
49
  /** Model has rolled out of the current window. */
50
50
  deprecated: boolean;
51
51
  /**
52
- * Retirement date (ISO 8601) when a source publishes one; null otherwise.
53
- * @nullable
54
- */
52
+ * Retirement date (ISO 8601) when a source publishes one; null otherwise.
53
+ * @nullable
54
+ */
55
55
  deprecationDate?: string | null;
56
56
  /**
57
- * Input price (USD per 1M tokens).
58
- * @nullable
59
- */
57
+ * Input price (USD per 1M tokens).
58
+ * @nullable
59
+ */
60
60
  inputPricePerMToken?: number | null;
61
61
  /**
62
- * Output price (USD per 1M tokens).
63
- * @nullable
64
- */
62
+ * Output price (USD per 1M tokens).
63
+ * @nullable
64
+ */
65
65
  outputPricePerMToken?: number | null;
66
66
  /**
67
- * Cache-read price (USD per 1M tokens).
68
- * @nullable
69
- */
67
+ * Cache-read price (USD per 1M tokens).
68
+ * @nullable
69
+ */
70
70
  cacheReadPerMToken?: number | null;
71
71
  /**
72
- * Cache-write price (USD per 1M tokens).
73
- * @nullable
74
- */
72
+ * Cache-write price (USD per 1M tokens).
73
+ * @nullable
74
+ */
75
75
  cacheWritePerMToken?: number | null;
76
76
  /**
77
- * Currency of the price columns ('USD' when any price is present, null otherwise).
78
- * @nullable
79
- */
77
+ * Currency of the price columns ('USD' when any price is present, null otherwise).
78
+ * @nullable
79
+ */
80
80
  priceCurrency?: string | null;
81
81
  /**
82
- * Context-tier pricing overlay sorted ascending by minInputTokens. Null when no tier is published.
83
- * @nullable
84
- */
82
+ * Context-tier pricing overlay sorted ascending by minInputTokens. Null when no tier is published.
83
+ * @nullable
84
+ */
85
85
  tieredPricing?: ModelPricingTierDto[] | null;
86
86
  /**
87
- * Per-input-image price (USD per unit).
88
- * @nullable
89
- */
87
+ * Per-input-image price (USD per unit).
88
+ * @nullable
89
+ */
90
90
  imageInputPerUnit?: number | null;
91
91
  /**
92
- * Per-input-audio-second price (USD per second).
93
- * @nullable
94
- */
92
+ * Per-input-audio-second price (USD per second).
93
+ * @nullable
94
+ */
95
95
  audioInputPerSecond?: number | null;
96
96
  isActive: boolean;
97
97
  createdAt: string;
@@ -21,9 +21,9 @@ export interface ProviderResponseDto {
21
21
  /** Whether the provider has credentials configured (credentials field is stripped) */
22
22
  hasCredentials: boolean;
23
23
  /**
24
- * Maximum concurrent requests allowed for this provider. Null = unlimited.
25
- * @nullable
26
- */
24
+ * Maximum concurrent requests allowed for this provider. Null = unlimited.
25
+ * @nullable
26
+ */
27
27
  maxConcurrentRequests?: number | null;
28
28
  createdAt: string;
29
29
  createdBy: string;
@@ -5,7 +5,7 @@
5
5
  * Central registry for LLM providers, models, and per-project model configuration
6
6
  * OpenAPI spec version: 0.1.3
7
7
  */
8
- export type ProviderResponseDtoApiType = (typeof ProviderResponseDtoApiType)[keyof typeof ProviderResponseDtoApiType];
8
+ export type ProviderResponseDtoApiType = typeof ProviderResponseDtoApiType[keyof typeof ProviderResponseDtoApiType];
9
9
  export declare const ProviderResponseDtoApiType: {
10
10
  readonly 'openai-compatible': "openai-compatible";
11
11
  readonly anthropic: "anthropic";
@@ -5,7 +5,7 @@
5
5
  * Central registry for LLM providers, models, and per-project model configuration
6
6
  * OpenAPI spec version: 0.1.3
7
7
  */
8
- export type ProviderResponseDtoAuthType = (typeof ProviderResponseDtoAuthType)[keyof typeof ProviderResponseDtoAuthType];
8
+ export type ProviderResponseDtoAuthType = typeof ProviderResponseDtoAuthType[keyof typeof ProviderResponseDtoAuthType];
9
9
  export declare const ProviderResponseDtoAuthType: {
10
10
  readonly bearer: "bearer";
11
11
  readonly 'api-key-header': "api-key-header";
@@ -15,8 +15,8 @@ export interface UpdateSystemProviderDto {
15
15
  authType?: UpdateSystemProviderDtoAuthType;
16
16
  isActive?: boolean;
17
17
  /**
18
- * Maximum concurrent requests. Set to null to remove the limit.
19
- * @nullable
20
- */
18
+ * Maximum concurrent requests. Set to null to remove the limit.
19
+ * @nullable
20
+ */
21
21
  maxConcurrentRequests?: number | null;
22
22
  }
@@ -5,7 +5,7 @@
5
5
  * Central registry for LLM providers, models, and per-project model configuration
6
6
  * OpenAPI spec version: 0.1.3
7
7
  */
8
- export type UpdateSystemProviderDtoApiType = (typeof UpdateSystemProviderDtoApiType)[keyof typeof UpdateSystemProviderDtoApiType];
8
+ export type UpdateSystemProviderDtoApiType = typeof UpdateSystemProviderDtoApiType[keyof typeof UpdateSystemProviderDtoApiType];
9
9
  export declare const UpdateSystemProviderDtoApiType: {
10
10
  readonly 'openai-compatible': "openai-compatible";
11
11
  readonly anthropic: "anthropic";
@@ -5,7 +5,7 @@
5
5
  * Central registry for LLM providers, models, and per-project model configuration
6
6
  * OpenAPI spec version: 0.1.3
7
7
  */
8
- export type UpdateSystemProviderDtoAuthType = (typeof UpdateSystemProviderDtoAuthType)[keyof typeof UpdateSystemProviderDtoAuthType];
8
+ export type UpdateSystemProviderDtoAuthType = typeof UpdateSystemProviderDtoAuthType[keyof typeof UpdateSystemProviderDtoAuthType];
9
9
  export declare const UpdateSystemProviderDtoAuthType: {
10
10
  readonly bearer: "bearer";
11
11
  readonly 'api-key-header': "api-key-header";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/llm-registry-operator-api-client",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -28,7 +28,7 @@
28
28
  "bugs": "https://github.com/xema-dev/xema-community/issues",
29
29
  "repository": {
30
30
  "type": "git",
31
- "url": "git+https://github.com/xema-dev/xema-community.git",
31
+ "url": "git+https://github.com/xema-dev/xema-base.git",
32
32
  "directory": "packages/clients/llm-registry-operator-api"
33
33
  },
34
34
  "description": "Generated operator API client for the Xema llm-registry-api service.",