@dvina/sdk 3.3.124 → 3.3.139
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/_generated_documents-AODD423G.js +4 -0
- package/dist/{_generated_documents-DF34ZUJ3.js.map → _generated_documents-AODD423G.js.map} +1 -1
- package/dist/_generated_documents-HTHWTLGT.cjs +1685 -0
- package/dist/{_generated_documents-W4RHWJ4B.cjs.map → _generated_documents-HTHWTLGT.cjs.map} +1 -1
- package/dist/adapters/angular/index.cjs +5 -5
- package/dist/adapters/angular/index.d.cts +3 -3
- package/dist/adapters/angular/index.d.ts +3 -3
- package/dist/adapters/angular/index.js +3 -3
- package/dist/billing/index.cjs +5 -5
- package/dist/billing/index.js +1 -1
- package/dist/{chunk-7JUBGIQ2.js → chunk-2SDQPYT6.js} +343 -633
- package/dist/chunk-2SDQPYT6.js.map +1 -0
- package/dist/{chunk-OAAZZUYL.cjs → chunk-57QJNKRV.cjs} +464 -843
- package/dist/chunk-57QJNKRV.cjs.map +1 -0
- package/dist/{chunk-DHUFVGJR.cjs → chunk-5HODZTE2.cjs} +3971 -6163
- package/dist/chunk-5HODZTE2.cjs.map +1 -0
- package/dist/{chunk-KG3GNTYI.js → chunk-5TAY5I34.js} +6 -2
- package/dist/chunk-5TAY5I34.js.map +1 -0
- package/dist/{chunk-GDK2HJTF.cjs → chunk-BL3GFOZR.cjs} +6 -2
- package/dist/chunk-BL3GFOZR.cjs.map +1 -0
- package/dist/{chunk-RFBLNKW6.js → chunk-HHR27PDE.js} +3969 -6075
- package/dist/chunk-HHR27PDE.js.map +1 -0
- package/dist/{client-9Rwj21T9.d.cts → client-BX57zzHy.d.cts} +2 -2
- package/dist/{client-CLhQragb.d.cts → client-Bb2gD6Iz.d.cts} +42 -0
- package/dist/{client-CLhQragb.d.ts → client-Bb2gD6Iz.d.ts} +42 -0
- package/dist/{client-Bskq7sc_.d.ts → client-DiPeOA1R.d.ts} +2 -2
- package/dist/{index-BrGSfyXq.d.cts → index-DFP4l9XY.d.cts} +1 -1
- package/dist/{index-zPcVLagO.d.ts → index-x3esSuE9.d.ts} +1 -1
- package/dist/index.cjs +495 -839
- package/dist/index.d.cts +2104 -4462
- package/dist/index.d.ts +2104 -4462
- package/dist/index.js +3 -3
- package/dist/inference/index.d.cts +1 -1
- package/dist/inference/index.d.ts +1 -1
- package/dist/package.json +86 -0
- package/dist/pagination/index.d.cts +2 -2
- package/dist/pagination/index.d.ts +2 -2
- package/dist/{sync-engine-cLwTqdjv.d.ts → sync-engine-BXCeW3GE.d.ts} +44 -5
- package/dist/{sync-engine-DVKQO-1-.d.cts → sync-engine-DHWuexPR.d.cts} +44 -5
- package/package.json +2 -2
- package/dist/_generated_documents-DF34ZUJ3.js +0 -4
- package/dist/_generated_documents-W4RHWJ4B.cjs +0 -2041
- package/dist/chunk-7JUBGIQ2.js.map +0 -1
- package/dist/chunk-DHUFVGJR.cjs.map +0 -1
- package/dist/chunk-GDK2HJTF.cjs.map +0 -1
- package/dist/chunk-KG3GNTYI.js.map +0 -1
- package/dist/chunk-OAAZZUYL.cjs.map +0 -1
- package/dist/chunk-RFBLNKW6.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { D as DvinaError } from './error-CsVoUTY8.cjs';
|
|
2
2
|
import { a as DvinaRequest, b as DvinaSubscribe } from './types-2RotD0Ab.cjs';
|
|
3
|
-
import { S as SyncEngine } from './sync-engine-
|
|
4
|
-
import { I as InferenceClient } from './client-
|
|
3
|
+
import { S as SyncEngine } from './sync-engine-DHWuexPR.cjs';
|
|
4
|
+
import { I as InferenceClient } from './client-Bb2gD6Iz.cjs';
|
|
5
5
|
import { BillingClient } from './billing/index.cjs';
|
|
6
6
|
|
|
7
7
|
interface DvinaSdkBaseOptions {
|
|
@@ -182,11 +182,53 @@ interface ChatCompletionChunk {
|
|
|
182
182
|
/**
|
|
183
183
|
* A model object returned by the models endpoint.
|
|
184
184
|
*/
|
|
185
|
+
interface ModelCost {
|
|
186
|
+
input: number;
|
|
187
|
+
output: number;
|
|
188
|
+
cache_read?: number;
|
|
189
|
+
cache_write?: number;
|
|
190
|
+
context_over_200k?: {
|
|
191
|
+
input: number;
|
|
192
|
+
output: number;
|
|
193
|
+
cache_read?: number;
|
|
194
|
+
cache_write?: number;
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
interface ModelLimit {
|
|
198
|
+
context: number;
|
|
199
|
+
input?: number;
|
|
200
|
+
output: number;
|
|
201
|
+
}
|
|
202
|
+
interface ModelModalities {
|
|
203
|
+
input: Array<'text' | 'audio' | 'image' | 'video' | 'pdf'>;
|
|
204
|
+
output: Array<'text' | 'audio' | 'image' | 'video' | 'pdf'>;
|
|
205
|
+
}
|
|
185
206
|
interface Model {
|
|
186
207
|
id: string;
|
|
187
208
|
object: 'model';
|
|
188
209
|
created: number;
|
|
189
210
|
owned_by: string;
|
|
211
|
+
name?: string;
|
|
212
|
+
family?: string;
|
|
213
|
+
release_date?: string;
|
|
214
|
+
attachment?: boolean;
|
|
215
|
+
reasoning?: boolean;
|
|
216
|
+
temperature?: boolean;
|
|
217
|
+
tool_call?: boolean;
|
|
218
|
+
interleaved?: true | {
|
|
219
|
+
field: 'reasoning_content' | 'reasoning_details';
|
|
220
|
+
};
|
|
221
|
+
cost?: ModelCost;
|
|
222
|
+
limit?: ModelLimit;
|
|
223
|
+
modalities?: ModelModalities;
|
|
224
|
+
experimental?: boolean;
|
|
225
|
+
status?: 'alpha' | 'beta' | 'deprecated';
|
|
226
|
+
options?: Record<string, unknown>;
|
|
227
|
+
headers?: Record<string, string>;
|
|
228
|
+
provider?: {
|
|
229
|
+
npm: string;
|
|
230
|
+
};
|
|
231
|
+
variants?: Record<string, Record<string, unknown>>;
|
|
190
232
|
}
|
|
191
233
|
/**
|
|
192
234
|
* Response from GET /models.
|
|
@@ -182,11 +182,53 @@ interface ChatCompletionChunk {
|
|
|
182
182
|
/**
|
|
183
183
|
* A model object returned by the models endpoint.
|
|
184
184
|
*/
|
|
185
|
+
interface ModelCost {
|
|
186
|
+
input: number;
|
|
187
|
+
output: number;
|
|
188
|
+
cache_read?: number;
|
|
189
|
+
cache_write?: number;
|
|
190
|
+
context_over_200k?: {
|
|
191
|
+
input: number;
|
|
192
|
+
output: number;
|
|
193
|
+
cache_read?: number;
|
|
194
|
+
cache_write?: number;
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
interface ModelLimit {
|
|
198
|
+
context: number;
|
|
199
|
+
input?: number;
|
|
200
|
+
output: number;
|
|
201
|
+
}
|
|
202
|
+
interface ModelModalities {
|
|
203
|
+
input: Array<'text' | 'audio' | 'image' | 'video' | 'pdf'>;
|
|
204
|
+
output: Array<'text' | 'audio' | 'image' | 'video' | 'pdf'>;
|
|
205
|
+
}
|
|
185
206
|
interface Model {
|
|
186
207
|
id: string;
|
|
187
208
|
object: 'model';
|
|
188
209
|
created: number;
|
|
189
210
|
owned_by: string;
|
|
211
|
+
name?: string;
|
|
212
|
+
family?: string;
|
|
213
|
+
release_date?: string;
|
|
214
|
+
attachment?: boolean;
|
|
215
|
+
reasoning?: boolean;
|
|
216
|
+
temperature?: boolean;
|
|
217
|
+
tool_call?: boolean;
|
|
218
|
+
interleaved?: true | {
|
|
219
|
+
field: 'reasoning_content' | 'reasoning_details';
|
|
220
|
+
};
|
|
221
|
+
cost?: ModelCost;
|
|
222
|
+
limit?: ModelLimit;
|
|
223
|
+
modalities?: ModelModalities;
|
|
224
|
+
experimental?: boolean;
|
|
225
|
+
status?: 'alpha' | 'beta' | 'deprecated';
|
|
226
|
+
options?: Record<string, unknown>;
|
|
227
|
+
headers?: Record<string, string>;
|
|
228
|
+
provider?: {
|
|
229
|
+
npm: string;
|
|
230
|
+
};
|
|
231
|
+
variants?: Record<string, Record<string, unknown>>;
|
|
190
232
|
}
|
|
191
233
|
/**
|
|
192
234
|
* Response from GET /models.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { D as DvinaError } from './error-CsVoUTY8.js';
|
|
2
2
|
import { a as DvinaRequest, b as DvinaSubscribe } from './types-2RotD0Ab.js';
|
|
3
|
-
import { S as SyncEngine } from './sync-engine-
|
|
4
|
-
import { I as InferenceClient } from './client-
|
|
3
|
+
import { S as SyncEngine } from './sync-engine-BXCeW3GE.js';
|
|
4
|
+
import { I as InferenceClient } from './client-Bb2gD6Iz.js';
|
|
5
5
|
import { BillingClient } from './billing/index.js';
|
|
6
6
|
|
|
7
7
|
interface DvinaSdkBaseOptions {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as DvinaRequest, b as DvinaSubscribe, P as PageInfoData, C as ConnectionVariables, F as FetchOptions } from './types-2RotD0Ab.cjs';
|
|
2
|
-
import { S as SyncEngine } from './sync-engine-
|
|
2
|
+
import { S as SyncEngine } from './sync-engine-DHWuexPR.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Base class that holds the transport functions.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as DvinaRequest, b as DvinaSubscribe, P as PageInfoData, C as ConnectionVariables, F as FetchOptions } from './types-2RotD0Ab.js';
|
|
2
|
-
import { S as SyncEngine } from './sync-engine-
|
|
2
|
+
import { S as SyncEngine } from './sync-engine-BXCeW3GE.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Base class that holds the transport functions.
|