@quantcdn/quant-client 4.19.0 → 4.21.1

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/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * QuantCDN API
3
3
  * Unified API for QuantCDN Admin and QuantCloud Platform services
4
4
  *
5
- * The version of the OpenAPI document: 4.19.0
5
+ * The version of the OpenAPI document: 4.21.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -249,6 +249,12 @@ export interface Application {
249
249
  * @memberof Application
250
250
  */
251
251
  'filesystem'?: ApplicationFilesystem | null;
252
+ /**
253
+ *
254
+ * @type {ApplicationCache}
255
+ * @memberof Application
256
+ */
257
+ 'cache'?: ApplicationCache | null;
252
258
  /**
253
259
  *
254
260
  * @type {Compose}
@@ -310,6 +316,31 @@ export interface Application {
310
316
  */
311
317
  'environmentNames'?: Array<string> | null;
312
318
  }
319
+ /**
320
+ * Managed Valkey cache configuration
321
+ * @export
322
+ * @interface ApplicationCache
323
+ */
324
+ export interface ApplicationCache {
325
+ /**
326
+ * Cache cluster endpoint
327
+ * @type {string}
328
+ * @memberof ApplicationCache
329
+ */
330
+ 'cacheEndpoint'?: string | null;
331
+ /**
332
+ * Cache cluster identifier
333
+ * @type {string}
334
+ * @memberof ApplicationCache
335
+ */
336
+ 'cacheIdentifier'?: string | null;
337
+ /**
338
+ * Maximum cache storage in GB
339
+ * @type {number}
340
+ * @memberof ApplicationCache
341
+ */
342
+ 'dataStorageMaxGb'?: number | null;
343
+ }
313
344
  /**
314
345
  * Database configuration
315
346
  * @export
@@ -1575,6 +1606,18 @@ export interface Compose {
1575
1606
  * @memberof Compose
1576
1607
  */
1577
1608
  'maxCapacity'?: number;
1609
+ /**
1610
+ * Optional. Forces single-task mode for data-safe applications (max one running task). When true: capacity is locked to 1. When false: explicitly allows scaling. When omitted: the platform auto-detects stateful containers and enables single-task mode if found.
1611
+ * @type {boolean}
1612
+ * @memberof Compose
1613
+ */
1614
+ 'singleTaskOnly'?: boolean | null;
1615
+ /**
1616
+ * Optional. Seconds the load balancer waits after a task starts before an unhealthy health check can replace it (applied as the ECS service\'s healthCheckGracePeriodSeconds when a load balancer is attached). Raise for apps that are slow to boot, e.g. run migrations on startup. Tasks that become healthy sooner still enter service immediately. Defaults to 120 when omitted.
1617
+ * @type {number}
1618
+ * @memberof Compose
1619
+ */
1620
+ 'startupGracePeriodSeconds'?: number | null;
1578
1621
  /**
1579
1622
  *
1580
1623
  * @type {SpotConfiguration}
@@ -2328,7 +2371,13 @@ export interface CreateCommandRequest {
2328
2371
  * @type {string}
2329
2372
  * @memberof CreateCommandRequest
2330
2373
  */
2331
- 'command'?: string;
2374
+ 'command': string;
2375
+ /**
2376
+ * Target container (defaults to the first container in the task definition)
2377
+ * @type {string}
2378
+ * @memberof CreateCommandRequest
2379
+ */
2380
+ 'containerName'?: string | null;
2332
2381
  }
2333
2382
  /**
2334
2383
  *
@@ -2531,6 +2580,18 @@ export interface CreateEnvironmentRequest {
2531
2580
  * @memberof CreateEnvironmentRequest
2532
2581
  */
2533
2582
  'maxCapacity'?: number;
2583
+ /**
2584
+ * Optional. Forces single-task mode (max one running task). When omitted, the platform auto-detects stateful containers.
2585
+ * @type {boolean}
2586
+ * @memberof CreateEnvironmentRequest
2587
+ */
2588
+ 'singleTaskOnly'?: boolean | null;
2589
+ /**
2590
+ * Optional. Seconds the load balancer waits after a task starts before an unhealthy health check can replace it. If not set, the value from composeDefinition (or default 120) is used.
2591
+ * @type {number}
2592
+ * @memberof CreateEnvironmentRequest
2593
+ */
2594
+ 'startupGracePeriodSeconds'?: number | null;
2534
2595
  /**
2535
2596
  * Clone configuration from an existing environment
2536
2597
  * @type {string}
@@ -5382,6 +5443,26 @@ export interface GetGovernanceConfig200ResponseSpendLimits {
5382
5443
  'userOverrides'?: {
5383
5444
  [key: string]: GetGovernanceConfig200ResponseSpendLimitsUserOverridesValue;
5384
5445
  };
5446
+ /**
5447
+ * Flat monthly cap in cents applied to every API token without a named override
5448
+ * @type {number}
5449
+ * @memberof GetGovernanceConfig200ResponseSpendLimits
5450
+ */
5451
+ 'perTokenMonthlyBudgetCents'?: number | null;
5452
+ /**
5453
+ * Flat daily cap in cents applied to every API token without a named override
5454
+ * @type {number}
5455
+ * @memberof GetGovernanceConfig200ResponseSpendLimits
5456
+ */
5457
+ 'perTokenDailyBudgetCents'?: number | null;
5458
+ /**
5459
+ * Per-token budget overrides keyed by API token id. Replaces the flat per-token budget for that token; unlimited=true exempts it.
5460
+ * @type {{ [key: string]: GetGovernanceConfig200ResponseSpendLimitsUserOverridesValue; }}
5461
+ * @memberof GetGovernanceConfig200ResponseSpendLimits
5462
+ */
5463
+ 'tokenOverrides'?: {
5464
+ [key: string]: GetGovernanceConfig200ResponseSpendLimitsUserOverridesValue;
5465
+ };
5385
5466
  }
5386
5467
  /**
5387
5468
  *
@@ -8372,6 +8453,392 @@ export interface ListVectorCollections200ResponseCollectionsInner {
8372
8453
  */
8373
8454
  'createdAt'?: string;
8374
8455
  }
8456
+ /**
8457
+ *
8458
+ * @export
8459
+ * @interface OaiChatCompletions200Response
8460
+ */
8461
+ export interface OaiChatCompletions200Response {
8462
+ /**
8463
+ *
8464
+ * @type {string}
8465
+ * @memberof OaiChatCompletions200Response
8466
+ */
8467
+ 'id'?: string;
8468
+ /**
8469
+ *
8470
+ * @type {string}
8471
+ * @memberof OaiChatCompletions200Response
8472
+ */
8473
+ 'object'?: string;
8474
+ /**
8475
+ *
8476
+ * @type {number}
8477
+ * @memberof OaiChatCompletions200Response
8478
+ */
8479
+ 'created'?: number;
8480
+ /**
8481
+ *
8482
+ * @type {string}
8483
+ * @memberof OaiChatCompletions200Response
8484
+ */
8485
+ 'model'?: string;
8486
+ /**
8487
+ *
8488
+ * @type {Array<OaiChatCompletions200ResponseChoicesInner>}
8489
+ * @memberof OaiChatCompletions200Response
8490
+ */
8491
+ 'choices'?: Array<OaiChatCompletions200ResponseChoicesInner>;
8492
+ /**
8493
+ *
8494
+ * @type {OaiChatCompletions200ResponseUsage}
8495
+ * @memberof OaiChatCompletions200Response
8496
+ */
8497
+ 'usage'?: OaiChatCompletions200ResponseUsage;
8498
+ }
8499
+ /**
8500
+ *
8501
+ * @export
8502
+ * @interface OaiChatCompletions200ResponseChoicesInner
8503
+ */
8504
+ export interface OaiChatCompletions200ResponseChoicesInner {
8505
+ /**
8506
+ *
8507
+ * @type {number}
8508
+ * @memberof OaiChatCompletions200ResponseChoicesInner
8509
+ */
8510
+ 'index'?: number;
8511
+ /**
8512
+ *
8513
+ * @type {OaiChatCompletions200ResponseChoicesInnerMessage}
8514
+ * @memberof OaiChatCompletions200ResponseChoicesInner
8515
+ */
8516
+ 'message'?: OaiChatCompletions200ResponseChoicesInnerMessage;
8517
+ /**
8518
+ *
8519
+ * @type {string}
8520
+ * @memberof OaiChatCompletions200ResponseChoicesInner
8521
+ */
8522
+ 'finish_reason'?: OaiChatCompletions200ResponseChoicesInnerFinishReasonEnum;
8523
+ }
8524
+ export declare const OaiChatCompletions200ResponseChoicesInnerFinishReasonEnum: {
8525
+ readonly Stop: "stop";
8526
+ readonly ToolCalls: "tool_calls";
8527
+ readonly Length: "length";
8528
+ };
8529
+ export type OaiChatCompletions200ResponseChoicesInnerFinishReasonEnum = typeof OaiChatCompletions200ResponseChoicesInnerFinishReasonEnum[keyof typeof OaiChatCompletions200ResponseChoicesInnerFinishReasonEnum];
8530
+ /**
8531
+ *
8532
+ * @export
8533
+ * @interface OaiChatCompletions200ResponseChoicesInnerMessage
8534
+ */
8535
+ export interface OaiChatCompletions200ResponseChoicesInnerMessage {
8536
+ /**
8537
+ *
8538
+ * @type {string}
8539
+ * @memberof OaiChatCompletions200ResponseChoicesInnerMessage
8540
+ */
8541
+ 'role'?: string;
8542
+ /**
8543
+ *
8544
+ * @type {string}
8545
+ * @memberof OaiChatCompletions200ResponseChoicesInnerMessage
8546
+ */
8547
+ 'content'?: string | null;
8548
+ /**
8549
+ *
8550
+ * @type {Array<object>}
8551
+ * @memberof OaiChatCompletions200ResponseChoicesInnerMessage
8552
+ */
8553
+ 'tool_calls'?: Array<object>;
8554
+ }
8555
+ /**
8556
+ *
8557
+ * @export
8558
+ * @interface OaiChatCompletions200ResponseUsage
8559
+ */
8560
+ export interface OaiChatCompletions200ResponseUsage {
8561
+ /**
8562
+ *
8563
+ * @type {number}
8564
+ * @memberof OaiChatCompletions200ResponseUsage
8565
+ */
8566
+ 'prompt_tokens'?: number;
8567
+ /**
8568
+ *
8569
+ * @type {number}
8570
+ * @memberof OaiChatCompletions200ResponseUsage
8571
+ */
8572
+ 'completion_tokens'?: number;
8573
+ /**
8574
+ *
8575
+ * @type {number}
8576
+ * @memberof OaiChatCompletions200ResponseUsage
8577
+ */
8578
+ 'total_tokens'?: number;
8579
+ }
8580
+ /**
8581
+ *
8582
+ * @export
8583
+ * @interface OaiChatCompletionsRequest
8584
+ */
8585
+ export interface OaiChatCompletionsRequest {
8586
+ /**
8587
+ * A model id from GET /oai/v1/models
8588
+ * @type {string}
8589
+ * @memberof OaiChatCompletionsRequest
8590
+ */
8591
+ 'model': string;
8592
+ /**
8593
+ *
8594
+ * @type {Array<OaiChatCompletionsRequestMessagesInner>}
8595
+ * @memberof OaiChatCompletionsRequest
8596
+ */
8597
+ 'messages': Array<OaiChatCompletionsRequestMessagesInner>;
8598
+ /**
8599
+ * Stream the response as SSE chat.completion.chunk events
8600
+ * @type {boolean}
8601
+ * @memberof OaiChatCompletionsRequest
8602
+ */
8603
+ 'stream'?: boolean;
8604
+ /**
8605
+ *
8606
+ * @type {number}
8607
+ * @memberof OaiChatCompletionsRequest
8608
+ */
8609
+ 'max_tokens'?: number;
8610
+ /**
8611
+ *
8612
+ * @type {number}
8613
+ * @memberof OaiChatCompletionsRequest
8614
+ */
8615
+ 'temperature'?: number;
8616
+ /**
8617
+ *
8618
+ * @type {number}
8619
+ * @memberof OaiChatCompletionsRequest
8620
+ */
8621
+ 'top_p'?: number;
8622
+ /**
8623
+ * OpenAI function tool definitions
8624
+ * @type {Array<object>}
8625
+ * @memberof OaiChatCompletionsRequest
8626
+ */
8627
+ 'tools'?: Array<object>;
8628
+ /**
8629
+ * auto | none | required | {type:function, function:{name}}
8630
+ * @type {any}
8631
+ * @memberof OaiChatCompletionsRequest
8632
+ */
8633
+ 'tool_choice'?: any;
8634
+ /**
8635
+ * {include_usage: true} to emit a final usage chunk when streaming
8636
+ * @type {object}
8637
+ * @memberof OaiChatCompletionsRequest
8638
+ */
8639
+ 'stream_options'?: object;
8640
+ }
8641
+ /**
8642
+ *
8643
+ * @export
8644
+ * @interface OaiChatCompletionsRequestMessagesInner
8645
+ */
8646
+ export interface OaiChatCompletionsRequestMessagesInner {
8647
+ /**
8648
+ *
8649
+ * @type {string}
8650
+ * @memberof OaiChatCompletionsRequestMessagesInner
8651
+ */
8652
+ 'role'?: OaiChatCompletionsRequestMessagesInnerRoleEnum;
8653
+ /**
8654
+ *
8655
+ * @type {string}
8656
+ * @memberof OaiChatCompletionsRequestMessagesInner
8657
+ */
8658
+ 'content'?: string;
8659
+ }
8660
+ export declare const OaiChatCompletionsRequestMessagesInnerRoleEnum: {
8661
+ readonly System: "system";
8662
+ readonly User: "user";
8663
+ readonly Assistant: "assistant";
8664
+ readonly Tool: "tool";
8665
+ };
8666
+ export type OaiChatCompletionsRequestMessagesInnerRoleEnum = typeof OaiChatCompletionsRequestMessagesInnerRoleEnum[keyof typeof OaiChatCompletionsRequestMessagesInnerRoleEnum];
8667
+ /**
8668
+ *
8669
+ * @export
8670
+ * @interface OaiEmbeddings200Response
8671
+ */
8672
+ export interface OaiEmbeddings200Response {
8673
+ /**
8674
+ *
8675
+ * @type {string}
8676
+ * @memberof OaiEmbeddings200Response
8677
+ */
8678
+ 'object'?: string;
8679
+ /**
8680
+ *
8681
+ * @type {Array<OaiEmbeddings200ResponseDataInner>}
8682
+ * @memberof OaiEmbeddings200Response
8683
+ */
8684
+ 'data'?: Array<OaiEmbeddings200ResponseDataInner>;
8685
+ /**
8686
+ *
8687
+ * @type {string}
8688
+ * @memberof OaiEmbeddings200Response
8689
+ */
8690
+ 'model'?: string;
8691
+ /**
8692
+ *
8693
+ * @type {OaiEmbeddings200ResponseUsage}
8694
+ * @memberof OaiEmbeddings200Response
8695
+ */
8696
+ 'usage'?: OaiEmbeddings200ResponseUsage;
8697
+ }
8698
+ /**
8699
+ *
8700
+ * @export
8701
+ * @interface OaiEmbeddings200ResponseDataInner
8702
+ */
8703
+ export interface OaiEmbeddings200ResponseDataInner {
8704
+ /**
8705
+ *
8706
+ * @type {string}
8707
+ * @memberof OaiEmbeddings200ResponseDataInner
8708
+ */
8709
+ 'object'?: string;
8710
+ /**
8711
+ *
8712
+ * @type {number}
8713
+ * @memberof OaiEmbeddings200ResponseDataInner
8714
+ */
8715
+ 'index'?: number;
8716
+ /**
8717
+ *
8718
+ * @type {Array<number>}
8719
+ * @memberof OaiEmbeddings200ResponseDataInner
8720
+ */
8721
+ 'embedding'?: Array<number>;
8722
+ }
8723
+ /**
8724
+ *
8725
+ * @export
8726
+ * @interface OaiEmbeddings200ResponseUsage
8727
+ */
8728
+ export interface OaiEmbeddings200ResponseUsage {
8729
+ /**
8730
+ *
8731
+ * @type {number}
8732
+ * @memberof OaiEmbeddings200ResponseUsage
8733
+ */
8734
+ 'prompt_tokens'?: number;
8735
+ /**
8736
+ *
8737
+ * @type {number}
8738
+ * @memberof OaiEmbeddings200ResponseUsage
8739
+ */
8740
+ 'total_tokens'?: number;
8741
+ }
8742
+ /**
8743
+ *
8744
+ * @export
8745
+ * @interface OaiEmbeddingsRequest
8746
+ */
8747
+ export interface OaiEmbeddingsRequest {
8748
+ /**
8749
+ *
8750
+ * @type {string}
8751
+ * @memberof OaiEmbeddingsRequest
8752
+ */
8753
+ 'model': string;
8754
+ /**
8755
+ * A string or array of strings to embed
8756
+ * @type {any}
8757
+ * @memberof OaiEmbeddingsRequest
8758
+ */
8759
+ 'input': any;
8760
+ }
8761
+ /**
8762
+ *
8763
+ * @export
8764
+ * @interface OaiGetModel200Response
8765
+ */
8766
+ export interface OaiGetModel200Response {
8767
+ /**
8768
+ *
8769
+ * @type {string}
8770
+ * @memberof OaiGetModel200Response
8771
+ */
8772
+ 'id'?: string;
8773
+ /**
8774
+ *
8775
+ * @type {string}
8776
+ * @memberof OaiGetModel200Response
8777
+ */
8778
+ 'object'?: string;
8779
+ /**
8780
+ *
8781
+ * @type {number}
8782
+ * @memberof OaiGetModel200Response
8783
+ */
8784
+ 'created'?: number;
8785
+ /**
8786
+ *
8787
+ * @type {string}
8788
+ * @memberof OaiGetModel200Response
8789
+ */
8790
+ 'owned_by'?: string;
8791
+ }
8792
+ /**
8793
+ *
8794
+ * @export
8795
+ * @interface OaiListModels200Response
8796
+ */
8797
+ export interface OaiListModels200Response {
8798
+ /**
8799
+ *
8800
+ * @type {string}
8801
+ * @memberof OaiListModels200Response
8802
+ */
8803
+ 'object'?: string;
8804
+ /**
8805
+ *
8806
+ * @type {Array<OaiListModels200ResponseDataInner>}
8807
+ * @memberof OaiListModels200Response
8808
+ */
8809
+ 'data'?: Array<OaiListModels200ResponseDataInner>;
8810
+ }
8811
+ /**
8812
+ *
8813
+ * @export
8814
+ * @interface OaiListModels200ResponseDataInner
8815
+ */
8816
+ export interface OaiListModels200ResponseDataInner {
8817
+ /**
8818
+ *
8819
+ * @type {string}
8820
+ * @memberof OaiListModels200ResponseDataInner
8821
+ */
8822
+ 'id'?: string;
8823
+ /**
8824
+ *
8825
+ * @type {string}
8826
+ * @memberof OaiListModels200ResponseDataInner
8827
+ */
8828
+ 'object'?: string;
8829
+ /**
8830
+ *
8831
+ * @type {number}
8832
+ * @memberof OaiListModels200ResponseDataInner
8833
+ */
8834
+ 'created'?: number;
8835
+ /**
8836
+ *
8837
+ * @type {string}
8838
+ * @memberof OaiListModels200ResponseDataInner
8839
+ */
8840
+ 'owned_by'?: string;
8841
+ }
8375
8842
  /**
8376
8843
  *
8377
8844
  * @export
@@ -8526,6 +8993,18 @@ export interface PatchEnvironmentComposeRequest {
8526
8993
  * @memberof PatchEnvironmentComposeRequest
8527
8994
  */
8528
8995
  'maxCapacity'?: number | null;
8996
+ /**
8997
+ * Forces single-task mode (max one running task). Omitted = auto-detect from stateful containers.
8998
+ * @type {boolean}
8999
+ * @memberof PatchEnvironmentComposeRequest
9000
+ */
9001
+ 'singleTaskOnly'?: boolean | null;
9002
+ /**
9003
+ * Seconds the load balancer waits after a task starts before an unhealthy health check can replace it. Default 120.
9004
+ * @type {number}
9005
+ * @memberof PatchEnvironmentComposeRequest
9006
+ */
9007
+ 'startupGracePeriodSeconds'?: number | null;
8529
9008
  /**
8530
9009
  *
8531
9010
  * @type {Array<object>}
@@ -21881,31 +22360,34 @@ export declare const CommandsApiAxiosParamCreator: (configuration?: Configuratio
21881
22360
  *
21882
22361
  * @summary Create a command for an environment
21883
22362
  * @param {string} organisation The organisation ID
22363
+ * @param {string} application The application ID
21884
22364
  * @param {string} environment The environment ID
21885
22365
  * @param {CreateCommandRequest} createCommandRequest
21886
22366
  * @param {*} [options] Override http request option.
21887
22367
  * @throws {RequiredError}
21888
22368
  */
21889
- createCommand: (organisation: string, environment: string, createCommandRequest: CreateCommandRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22369
+ createCommand: (organisation: string, application: string, environment: string, createCommandRequest: CreateCommandRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21890
22370
  /**
21891
22371
  *
21892
22372
  * @summary Get a command
21893
22373
  * @param {string} organisation The organisation ID
22374
+ * @param {string} application The application ID
21894
22375
  * @param {string} environment The environment ID
21895
- * @param {string} command The command ID
22376
+ * @param {string} command The command run ID
21896
22377
  * @param {*} [options] Override http request option.
21897
22378
  * @throws {RequiredError}
21898
22379
  */
21899
- getCommand: (organisation: string, environment: string, command: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22380
+ getCommand: (organisation: string, application: string, environment: string, command: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21900
22381
  /**
21901
22382
  *
21902
22383
  * @summary Get all commands for an environment
21903
22384
  * @param {string} organisation The organisation ID
22385
+ * @param {string} application The application ID
21904
22386
  * @param {string} environment The environment ID
21905
22387
  * @param {*} [options] Override http request option.
21906
22388
  * @throws {RequiredError}
21907
22389
  */
21908
- listCommands: (organisation: string, environment: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22390
+ listCommands: (organisation: string, application: string, environment: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21909
22391
  };
21910
22392
  /**
21911
22393
  * CommandsApi - functional programming interface
@@ -21916,31 +22398,34 @@ export declare const CommandsApiFp: (configuration?: Configuration) => {
21916
22398
  *
21917
22399
  * @summary Create a command for an environment
21918
22400
  * @param {string} organisation The organisation ID
22401
+ * @param {string} application The application ID
21919
22402
  * @param {string} environment The environment ID
21920
22403
  * @param {CreateCommandRequest} createCommandRequest
21921
22404
  * @param {*} [options] Override http request option.
21922
22405
  * @throws {RequiredError}
21923
22406
  */
21924
- createCommand(organisation: string, environment: string, createCommandRequest: CreateCommandRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Command>>;
22407
+ createCommand(organisation: string, application: string, environment: string, createCommandRequest: CreateCommandRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Command>>;
21925
22408
  /**
21926
22409
  *
21927
22410
  * @summary Get a command
21928
22411
  * @param {string} organisation The organisation ID
22412
+ * @param {string} application The application ID
21929
22413
  * @param {string} environment The environment ID
21930
- * @param {string} command The command ID
22414
+ * @param {string} command The command run ID
21931
22415
  * @param {*} [options] Override http request option.
21932
22416
  * @throws {RequiredError}
21933
22417
  */
21934
- getCommand(organisation: string, environment: string, command: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Command>>;
22418
+ getCommand(organisation: string, application: string, environment: string, command: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Command>>;
21935
22419
  /**
21936
22420
  *
21937
22421
  * @summary Get all commands for an environment
21938
22422
  * @param {string} organisation The organisation ID
22423
+ * @param {string} application The application ID
21939
22424
  * @param {string} environment The environment ID
21940
22425
  * @param {*} [options] Override http request option.
21941
22426
  * @throws {RequiredError}
21942
22427
  */
21943
- listCommands(organisation: string, environment: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Command>>;
22428
+ listCommands(organisation: string, application: string, environment: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
21944
22429
  };
21945
22430
  /**
21946
22431
  * CommandsApi - factory interface
@@ -21951,31 +22436,34 @@ export declare const CommandsApiFactory: (configuration?: Configuration, basePat
21951
22436
  *
21952
22437
  * @summary Create a command for an environment
21953
22438
  * @param {string} organisation The organisation ID
22439
+ * @param {string} application The application ID
21954
22440
  * @param {string} environment The environment ID
21955
22441
  * @param {CreateCommandRequest} createCommandRequest
21956
22442
  * @param {*} [options] Override http request option.
21957
22443
  * @throws {RequiredError}
21958
22444
  */
21959
- createCommand(organisation: string, environment: string, createCommandRequest: CreateCommandRequest, options?: RawAxiosRequestConfig): AxiosPromise<Command>;
22445
+ createCommand(organisation: string, application: string, environment: string, createCommandRequest: CreateCommandRequest, options?: RawAxiosRequestConfig): AxiosPromise<Command>;
21960
22446
  /**
21961
22447
  *
21962
22448
  * @summary Get a command
21963
22449
  * @param {string} organisation The organisation ID
22450
+ * @param {string} application The application ID
21964
22451
  * @param {string} environment The environment ID
21965
- * @param {string} command The command ID
22452
+ * @param {string} command The command run ID
21966
22453
  * @param {*} [options] Override http request option.
21967
22454
  * @throws {RequiredError}
21968
22455
  */
21969
- getCommand(organisation: string, environment: string, command: string, options?: RawAxiosRequestConfig): AxiosPromise<Command>;
22456
+ getCommand(organisation: string, application: string, environment: string, command: string, options?: RawAxiosRequestConfig): AxiosPromise<Command>;
21970
22457
  /**
21971
22458
  *
21972
22459
  * @summary Get all commands for an environment
21973
22460
  * @param {string} organisation The organisation ID
22461
+ * @param {string} application The application ID
21974
22462
  * @param {string} environment The environment ID
21975
22463
  * @param {*} [options] Override http request option.
21976
22464
  * @throws {RequiredError}
21977
22465
  */
21978
- listCommands(organisation: string, environment: string, options?: RawAxiosRequestConfig): AxiosPromise<Command>;
22466
+ listCommands(organisation: string, application: string, environment: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
21979
22467
  };
21980
22468
  /**
21981
22469
  * CommandsApi - object-oriented interface
@@ -21988,34 +22476,37 @@ export declare class CommandsApi extends BaseAPI {
21988
22476
  *
21989
22477
  * @summary Create a command for an environment
21990
22478
  * @param {string} organisation The organisation ID
22479
+ * @param {string} application The application ID
21991
22480
  * @param {string} environment The environment ID
21992
22481
  * @param {CreateCommandRequest} createCommandRequest
21993
22482
  * @param {*} [options] Override http request option.
21994
22483
  * @throws {RequiredError}
21995
22484
  * @memberof CommandsApi
21996
22485
  */
21997
- createCommand(organisation: string, environment: string, createCommandRequest: CreateCommandRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Command, any, {}>>;
22486
+ createCommand(organisation: string, application: string, environment: string, createCommandRequest: CreateCommandRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Command, any, {}>>;
21998
22487
  /**
21999
22488
  *
22000
22489
  * @summary Get a command
22001
22490
  * @param {string} organisation The organisation ID
22491
+ * @param {string} application The application ID
22002
22492
  * @param {string} environment The environment ID
22003
- * @param {string} command The command ID
22493
+ * @param {string} command The command run ID
22004
22494
  * @param {*} [options] Override http request option.
22005
22495
  * @throws {RequiredError}
22006
22496
  * @memberof CommandsApi
22007
22497
  */
22008
- getCommand(organisation: string, environment: string, command: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Command, any, {}>>;
22498
+ getCommand(organisation: string, application: string, environment: string, command: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Command, any, {}>>;
22009
22499
  /**
22010
22500
  *
22011
22501
  * @summary Get all commands for an environment
22012
22502
  * @param {string} organisation The organisation ID
22503
+ * @param {string} application The application ID
22013
22504
  * @param {string} environment The environment ID
22014
22505
  * @param {*} [options] Override http request option.
22015
22506
  * @throws {RequiredError}
22016
22507
  * @memberof CommandsApi
22017
22508
  */
22018
- listCommands(organisation: string, environment: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Command, any, {}>>;
22509
+ listCommands(organisation: string, application: string, environment: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
22019
22510
  }
22020
22511
  /**
22021
22512
  * ComposeApi - axios parameter creator
@@ -24653,6 +25144,160 @@ export declare class KVApi extends BaseAPI {
24653
25144
  */
24654
25145
  kVUnlinkFromProject(organization: string, project: string, storeId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<KVLinkToProject200Response, any, {}>>;
24655
25146
  }
25147
+ /**
25148
+ * OpenAICompatibilityApi - axios parameter creator
25149
+ * @export
25150
+ */
25151
+ export declare const OpenAICompatibilityApiAxiosParamCreator: (configuration?: Configuration) => {
25152
+ /**
25153
+ * Drop-in replacement for OpenAI\'s POST /v1/chat/completions. Point any OpenAI SDK at base_url=https://<host>/oai/v1 and use a Quant API token (qc_...) as the api_key. Set `stream: true` to receive Server-Sent Events (chat.completion.chunk objects terminated by `data: [DONE]`); otherwise a single chat.completion object is returned. Supports tool/function calling and the standard tool_choice modes.
25154
+ * @summary Create a chat completion (OpenAI-compatible)
25155
+ * @param {OaiChatCompletionsRequest} oaiChatCompletionsRequest
25156
+ * @param {*} [options] Override http request option.
25157
+ * @throws {RequiredError}
25158
+ */
25159
+ oaiChatCompletions: (oaiChatCompletionsRequest: OaiChatCompletionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25160
+ /**
25161
+ * Drop-in replacement for OpenAI\'s POST /v1/embeddings. Accepts a single string or an array of strings in `input` and returns a list of embedding objects.
25162
+ * @summary Create embeddings (OpenAI-compatible)
25163
+ * @param {OaiEmbeddingsRequest} oaiEmbeddingsRequest
25164
+ * @param {*} [options] Override http request option.
25165
+ * @throws {RequiredError}
25166
+ */
25167
+ oaiEmbeddings: (oaiEmbeddingsRequest: OaiEmbeddingsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25168
+ /**
25169
+ * Drop-in replacement for OpenAI\'s GET /v1/models/{model}.
25170
+ * @summary Retrieve a model (OpenAI-compatible)
25171
+ * @param {string} model
25172
+ * @param {*} [options] Override http request option.
25173
+ * @throws {RequiredError}
25174
+ */
25175
+ oaiGetModel: (model: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25176
+ /**
25177
+ * Drop-in replacement for OpenAI\'s GET /v1/models. Returns the model ids available to the organisation; pass one of these ids as `model` in chat/embeddings requests.
25178
+ * @summary List available models (OpenAI-compatible)
25179
+ * @param {*} [options] Override http request option.
25180
+ * @throws {RequiredError}
25181
+ */
25182
+ oaiListModels: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25183
+ };
25184
+ /**
25185
+ * OpenAICompatibilityApi - functional programming interface
25186
+ * @export
25187
+ */
25188
+ export declare const OpenAICompatibilityApiFp: (configuration?: Configuration) => {
25189
+ /**
25190
+ * Drop-in replacement for OpenAI\'s POST /v1/chat/completions. Point any OpenAI SDK at base_url=https://<host>/oai/v1 and use a Quant API token (qc_...) as the api_key. Set `stream: true` to receive Server-Sent Events (chat.completion.chunk objects terminated by `data: [DONE]`); otherwise a single chat.completion object is returned. Supports tool/function calling and the standard tool_choice modes.
25191
+ * @summary Create a chat completion (OpenAI-compatible)
25192
+ * @param {OaiChatCompletionsRequest} oaiChatCompletionsRequest
25193
+ * @param {*} [options] Override http request option.
25194
+ * @throws {RequiredError}
25195
+ */
25196
+ oaiChatCompletions(oaiChatCompletionsRequest: OaiChatCompletionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OaiChatCompletions200Response>>;
25197
+ /**
25198
+ * Drop-in replacement for OpenAI\'s POST /v1/embeddings. Accepts a single string or an array of strings in `input` and returns a list of embedding objects.
25199
+ * @summary Create embeddings (OpenAI-compatible)
25200
+ * @param {OaiEmbeddingsRequest} oaiEmbeddingsRequest
25201
+ * @param {*} [options] Override http request option.
25202
+ * @throws {RequiredError}
25203
+ */
25204
+ oaiEmbeddings(oaiEmbeddingsRequest: OaiEmbeddingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OaiEmbeddings200Response>>;
25205
+ /**
25206
+ * Drop-in replacement for OpenAI\'s GET /v1/models/{model}.
25207
+ * @summary Retrieve a model (OpenAI-compatible)
25208
+ * @param {string} model
25209
+ * @param {*} [options] Override http request option.
25210
+ * @throws {RequiredError}
25211
+ */
25212
+ oaiGetModel(model: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OaiGetModel200Response>>;
25213
+ /**
25214
+ * Drop-in replacement for OpenAI\'s GET /v1/models. Returns the model ids available to the organisation; pass one of these ids as `model` in chat/embeddings requests.
25215
+ * @summary List available models (OpenAI-compatible)
25216
+ * @param {*} [options] Override http request option.
25217
+ * @throws {RequiredError}
25218
+ */
25219
+ oaiListModels(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OaiListModels200Response>>;
25220
+ };
25221
+ /**
25222
+ * OpenAICompatibilityApi - factory interface
25223
+ * @export
25224
+ */
25225
+ export declare const OpenAICompatibilityApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
25226
+ /**
25227
+ * Drop-in replacement for OpenAI\'s POST /v1/chat/completions. Point any OpenAI SDK at base_url=https://<host>/oai/v1 and use a Quant API token (qc_...) as the api_key. Set `stream: true` to receive Server-Sent Events (chat.completion.chunk objects terminated by `data: [DONE]`); otherwise a single chat.completion object is returned. Supports tool/function calling and the standard tool_choice modes.
25228
+ * @summary Create a chat completion (OpenAI-compatible)
25229
+ * @param {OaiChatCompletionsRequest} oaiChatCompletionsRequest
25230
+ * @param {*} [options] Override http request option.
25231
+ * @throws {RequiredError}
25232
+ */
25233
+ oaiChatCompletions(oaiChatCompletionsRequest: OaiChatCompletionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<OaiChatCompletions200Response>;
25234
+ /**
25235
+ * Drop-in replacement for OpenAI\'s POST /v1/embeddings. Accepts a single string or an array of strings in `input` and returns a list of embedding objects.
25236
+ * @summary Create embeddings (OpenAI-compatible)
25237
+ * @param {OaiEmbeddingsRequest} oaiEmbeddingsRequest
25238
+ * @param {*} [options] Override http request option.
25239
+ * @throws {RequiredError}
25240
+ */
25241
+ oaiEmbeddings(oaiEmbeddingsRequest: OaiEmbeddingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<OaiEmbeddings200Response>;
25242
+ /**
25243
+ * Drop-in replacement for OpenAI\'s GET /v1/models/{model}.
25244
+ * @summary Retrieve a model (OpenAI-compatible)
25245
+ * @param {string} model
25246
+ * @param {*} [options] Override http request option.
25247
+ * @throws {RequiredError}
25248
+ */
25249
+ oaiGetModel(model: string, options?: RawAxiosRequestConfig): AxiosPromise<OaiGetModel200Response>;
25250
+ /**
25251
+ * Drop-in replacement for OpenAI\'s GET /v1/models. Returns the model ids available to the organisation; pass one of these ids as `model` in chat/embeddings requests.
25252
+ * @summary List available models (OpenAI-compatible)
25253
+ * @param {*} [options] Override http request option.
25254
+ * @throws {RequiredError}
25255
+ */
25256
+ oaiListModels(options?: RawAxiosRequestConfig): AxiosPromise<OaiListModels200Response>;
25257
+ };
25258
+ /**
25259
+ * OpenAICompatibilityApi - object-oriented interface
25260
+ * @export
25261
+ * @class OpenAICompatibilityApi
25262
+ * @extends {BaseAPI}
25263
+ */
25264
+ export declare class OpenAICompatibilityApi extends BaseAPI {
25265
+ /**
25266
+ * Drop-in replacement for OpenAI\'s POST /v1/chat/completions. Point any OpenAI SDK at base_url=https://<host>/oai/v1 and use a Quant API token (qc_...) as the api_key. Set `stream: true` to receive Server-Sent Events (chat.completion.chunk objects terminated by `data: [DONE]`); otherwise a single chat.completion object is returned. Supports tool/function calling and the standard tool_choice modes.
25267
+ * @summary Create a chat completion (OpenAI-compatible)
25268
+ * @param {OaiChatCompletionsRequest} oaiChatCompletionsRequest
25269
+ * @param {*} [options] Override http request option.
25270
+ * @throws {RequiredError}
25271
+ * @memberof OpenAICompatibilityApi
25272
+ */
25273
+ oaiChatCompletions(oaiChatCompletionsRequest: OaiChatCompletionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OaiChatCompletions200Response, any, {}>>;
25274
+ /**
25275
+ * Drop-in replacement for OpenAI\'s POST /v1/embeddings. Accepts a single string or an array of strings in `input` and returns a list of embedding objects.
25276
+ * @summary Create embeddings (OpenAI-compatible)
25277
+ * @param {OaiEmbeddingsRequest} oaiEmbeddingsRequest
25278
+ * @param {*} [options] Override http request option.
25279
+ * @throws {RequiredError}
25280
+ * @memberof OpenAICompatibilityApi
25281
+ */
25282
+ oaiEmbeddings(oaiEmbeddingsRequest: OaiEmbeddingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OaiEmbeddings200Response, any, {}>>;
25283
+ /**
25284
+ * Drop-in replacement for OpenAI\'s GET /v1/models/{model}.
25285
+ * @summary Retrieve a model (OpenAI-compatible)
25286
+ * @param {string} model
25287
+ * @param {*} [options] Override http request option.
25288
+ * @throws {RequiredError}
25289
+ * @memberof OpenAICompatibilityApi
25290
+ */
25291
+ oaiGetModel(model: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OaiGetModel200Response, any, {}>>;
25292
+ /**
25293
+ * Drop-in replacement for OpenAI\'s GET /v1/models. Returns the model ids available to the organisation; pass one of these ids as `model` in chat/embeddings requests.
25294
+ * @summary List available models (OpenAI-compatible)
25295
+ * @param {*} [options] Override http request option.
25296
+ * @throws {RequiredError}
25297
+ * @memberof OpenAICompatibilityApi
25298
+ */
25299
+ oaiListModels(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OaiListModels200Response, any, {}>>;
25300
+ }
24656
25301
  /**
24657
25302
  * OrganizationsApi - axios parameter creator
24658
25303
  * @export