@quantcdn/quant-client 4.10.0 → 4.11.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/api.ts +375 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +234 -1
- package/dist/api.js +263 -3
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +234 -1
- package/dist/esm/api.js +257 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +2 -2
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.
|
|
5
|
+
* The version of the OpenAPI document: 4.11.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -623,6 +623,12 @@ export interface ChatInferenceRequest {
|
|
|
623
623
|
* @memberof ChatInferenceRequest
|
|
624
624
|
*/
|
|
625
625
|
'guardrails'?: ChatInferenceRequestGuardrails;
|
|
626
|
+
/**
|
|
627
|
+
* Enable 1M context window support regardless of token estimation. Use when sending large payloads (>200K tokens).
|
|
628
|
+
* @type {boolean}
|
|
629
|
+
* @memberof ChatInferenceRequest
|
|
630
|
+
*/
|
|
631
|
+
'longContext'?: boolean;
|
|
626
632
|
}
|
|
627
633
|
/**
|
|
628
634
|
* AWS Bedrock guardrails configuration for content filtering and safety.
|
|
@@ -1047,6 +1053,12 @@ export interface ChatInferenceStreamRequest {
|
|
|
1047
1053
|
* @memberof ChatInferenceStreamRequest
|
|
1048
1054
|
*/
|
|
1049
1055
|
'guardrails'?: ChatInferenceRequestGuardrails;
|
|
1056
|
+
/**
|
|
1057
|
+
* Enable 1M context window support regardless of token estimation. Use when sending large payloads (>200K tokens).
|
|
1058
|
+
* @type {boolean}
|
|
1059
|
+
* @memberof ChatInferenceStreamRequest
|
|
1060
|
+
*/
|
|
1061
|
+
'longContext'?: boolean;
|
|
1050
1062
|
}
|
|
1051
1063
|
/**
|
|
1052
1064
|
*
|
|
@@ -2347,6 +2359,12 @@ export interface CreateOrchestrationRequest {
|
|
|
2347
2359
|
* @memberof CreateOrchestrationRequest
|
|
2348
2360
|
*/
|
|
2349
2361
|
'assignedSkills'?: Array<string>;
|
|
2362
|
+
/**
|
|
2363
|
+
* Optional context merged into each item before processing (e.g. shared credentials or endpoints)
|
|
2364
|
+
* @type {object}
|
|
2365
|
+
* @memberof CreateOrchestrationRequest
|
|
2366
|
+
*/
|
|
2367
|
+
'context'?: object | null;
|
|
2350
2368
|
/**
|
|
2351
2369
|
* Whether to start immediately
|
|
2352
2370
|
* @type {boolean}
|
|
@@ -6676,6 +6694,88 @@ export interface SyncToEnvironmentRequest {
|
|
|
6676
6694
|
*/
|
|
6677
6695
|
'sourceEnvironment'?: string;
|
|
6678
6696
|
}
|
|
6697
|
+
/**
|
|
6698
|
+
*
|
|
6699
|
+
* @export
|
|
6700
|
+
* @interface TokensCreate201Response
|
|
6701
|
+
*/
|
|
6702
|
+
export interface TokensCreate201Response {
|
|
6703
|
+
/**
|
|
6704
|
+
* The plain text token (shown once)
|
|
6705
|
+
* @type {string}
|
|
6706
|
+
* @memberof TokensCreate201Response
|
|
6707
|
+
*/
|
|
6708
|
+
'token'?: string;
|
|
6709
|
+
/**
|
|
6710
|
+
*
|
|
6711
|
+
* @type {string}
|
|
6712
|
+
* @memberof TokensCreate201Response
|
|
6713
|
+
*/
|
|
6714
|
+
'name'?: string;
|
|
6715
|
+
/**
|
|
6716
|
+
*
|
|
6717
|
+
* @type {string}
|
|
6718
|
+
* @memberof TokensCreate201Response
|
|
6719
|
+
*/
|
|
6720
|
+
'created_at'?: string;
|
|
6721
|
+
}
|
|
6722
|
+
/**
|
|
6723
|
+
*
|
|
6724
|
+
* @export
|
|
6725
|
+
* @interface TokensCreateRequest
|
|
6726
|
+
*/
|
|
6727
|
+
export interface TokensCreateRequest {
|
|
6728
|
+
/**
|
|
6729
|
+
* Name for the token
|
|
6730
|
+
* @type {string}
|
|
6731
|
+
* @memberof TokensCreateRequest
|
|
6732
|
+
*/
|
|
6733
|
+
'name': string;
|
|
6734
|
+
}
|
|
6735
|
+
/**
|
|
6736
|
+
*
|
|
6737
|
+
* @export
|
|
6738
|
+
* @interface TokensDelete200Response
|
|
6739
|
+
*/
|
|
6740
|
+
export interface TokensDelete200Response {
|
|
6741
|
+
/**
|
|
6742
|
+
*
|
|
6743
|
+
* @type {string}
|
|
6744
|
+
* @memberof TokensDelete200Response
|
|
6745
|
+
*/
|
|
6746
|
+
'message'?: string;
|
|
6747
|
+
}
|
|
6748
|
+
/**
|
|
6749
|
+
*
|
|
6750
|
+
* @export
|
|
6751
|
+
* @interface TokensList200ResponseInner
|
|
6752
|
+
*/
|
|
6753
|
+
export interface TokensList200ResponseInner {
|
|
6754
|
+
/**
|
|
6755
|
+
*
|
|
6756
|
+
* @type {number}
|
|
6757
|
+
* @memberof TokensList200ResponseInner
|
|
6758
|
+
*/
|
|
6759
|
+
'id'?: number;
|
|
6760
|
+
/**
|
|
6761
|
+
*
|
|
6762
|
+
* @type {string}
|
|
6763
|
+
* @memberof TokensList200ResponseInner
|
|
6764
|
+
*/
|
|
6765
|
+
'name'?: string;
|
|
6766
|
+
/**
|
|
6767
|
+
*
|
|
6768
|
+
* @type {string}
|
|
6769
|
+
* @memberof TokensList200ResponseInner
|
|
6770
|
+
*/
|
|
6771
|
+
'last_used'?: string | null;
|
|
6772
|
+
/**
|
|
6773
|
+
*
|
|
6774
|
+
* @type {string}
|
|
6775
|
+
* @memberof TokensList200ResponseInner
|
|
6776
|
+
*/
|
|
6777
|
+
'created_at'?: string;
|
|
6778
|
+
}
|
|
6679
6779
|
/**
|
|
6680
6780
|
*
|
|
6681
6781
|
* @export
|
|
@@ -21370,6 +21470,139 @@ export declare class ScalingPolicyApi extends BaseAPI {
|
|
|
21370
21470
|
*/
|
|
21371
21471
|
updateScalingPolicy(organisation: string, application: string, environment: string, scalingPolicy: ScalingPolicy, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
21372
21472
|
}
|
|
21473
|
+
/**
|
|
21474
|
+
* TokensApi - axios parameter creator
|
|
21475
|
+
* @export
|
|
21476
|
+
*/
|
|
21477
|
+
export declare const TokensApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21478
|
+
/**
|
|
21479
|
+
*
|
|
21480
|
+
* @summary Create a new API token scoped to this organization
|
|
21481
|
+
* @param {string} organization Organization identifier
|
|
21482
|
+
* @param {TokensCreateRequest} tokensCreateRequest
|
|
21483
|
+
* @param {*} [options] Override http request option.
|
|
21484
|
+
* @throws {RequiredError}
|
|
21485
|
+
*/
|
|
21486
|
+
tokensCreate: (organization: string, tokensCreateRequest: TokensCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21487
|
+
/**
|
|
21488
|
+
*
|
|
21489
|
+
* @summary Revoke an API token
|
|
21490
|
+
* @param {string} organization Organization identifier
|
|
21491
|
+
* @param {number} tokenId Token ID to revoke
|
|
21492
|
+
* @param {*} [options] Override http request option.
|
|
21493
|
+
* @throws {RequiredError}
|
|
21494
|
+
*/
|
|
21495
|
+
tokensDelete: (organization: string, tokenId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21496
|
+
/**
|
|
21497
|
+
*
|
|
21498
|
+
* @summary List API tokens scoped to this organization
|
|
21499
|
+
* @param {string} organization Organization identifier
|
|
21500
|
+
* @param {*} [options] Override http request option.
|
|
21501
|
+
* @throws {RequiredError}
|
|
21502
|
+
*/
|
|
21503
|
+
tokensList: (organization: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21504
|
+
};
|
|
21505
|
+
/**
|
|
21506
|
+
* TokensApi - functional programming interface
|
|
21507
|
+
* @export
|
|
21508
|
+
*/
|
|
21509
|
+
export declare const TokensApiFp: (configuration?: Configuration) => {
|
|
21510
|
+
/**
|
|
21511
|
+
*
|
|
21512
|
+
* @summary Create a new API token scoped to this organization
|
|
21513
|
+
* @param {string} organization Organization identifier
|
|
21514
|
+
* @param {TokensCreateRequest} tokensCreateRequest
|
|
21515
|
+
* @param {*} [options] Override http request option.
|
|
21516
|
+
* @throws {RequiredError}
|
|
21517
|
+
*/
|
|
21518
|
+
tokensCreate(organization: string, tokensCreateRequest: TokensCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TokensCreate201Response>>;
|
|
21519
|
+
/**
|
|
21520
|
+
*
|
|
21521
|
+
* @summary Revoke an API token
|
|
21522
|
+
* @param {string} organization Organization identifier
|
|
21523
|
+
* @param {number} tokenId Token ID to revoke
|
|
21524
|
+
* @param {*} [options] Override http request option.
|
|
21525
|
+
* @throws {RequiredError}
|
|
21526
|
+
*/
|
|
21527
|
+
tokensDelete(organization: string, tokenId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TokensDelete200Response>>;
|
|
21528
|
+
/**
|
|
21529
|
+
*
|
|
21530
|
+
* @summary List API tokens scoped to this organization
|
|
21531
|
+
* @param {string} organization Organization identifier
|
|
21532
|
+
* @param {*} [options] Override http request option.
|
|
21533
|
+
* @throws {RequiredError}
|
|
21534
|
+
*/
|
|
21535
|
+
tokensList(organization: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TokensList200ResponseInner>>>;
|
|
21536
|
+
};
|
|
21537
|
+
/**
|
|
21538
|
+
* TokensApi - factory interface
|
|
21539
|
+
* @export
|
|
21540
|
+
*/
|
|
21541
|
+
export declare const TokensApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
21542
|
+
/**
|
|
21543
|
+
*
|
|
21544
|
+
* @summary Create a new API token scoped to this organization
|
|
21545
|
+
* @param {string} organization Organization identifier
|
|
21546
|
+
* @param {TokensCreateRequest} tokensCreateRequest
|
|
21547
|
+
* @param {*} [options] Override http request option.
|
|
21548
|
+
* @throws {RequiredError}
|
|
21549
|
+
*/
|
|
21550
|
+
tokensCreate(organization: string, tokensCreateRequest: TokensCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<TokensCreate201Response>;
|
|
21551
|
+
/**
|
|
21552
|
+
*
|
|
21553
|
+
* @summary Revoke an API token
|
|
21554
|
+
* @param {string} organization Organization identifier
|
|
21555
|
+
* @param {number} tokenId Token ID to revoke
|
|
21556
|
+
* @param {*} [options] Override http request option.
|
|
21557
|
+
* @throws {RequiredError}
|
|
21558
|
+
*/
|
|
21559
|
+
tokensDelete(organization: string, tokenId: number, options?: RawAxiosRequestConfig): AxiosPromise<TokensDelete200Response>;
|
|
21560
|
+
/**
|
|
21561
|
+
*
|
|
21562
|
+
* @summary List API tokens scoped to this organization
|
|
21563
|
+
* @param {string} organization Organization identifier
|
|
21564
|
+
* @param {*} [options] Override http request option.
|
|
21565
|
+
* @throws {RequiredError}
|
|
21566
|
+
*/
|
|
21567
|
+
tokensList(organization: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<TokensList200ResponseInner>>;
|
|
21568
|
+
};
|
|
21569
|
+
/**
|
|
21570
|
+
* TokensApi - object-oriented interface
|
|
21571
|
+
* @export
|
|
21572
|
+
* @class TokensApi
|
|
21573
|
+
* @extends {BaseAPI}
|
|
21574
|
+
*/
|
|
21575
|
+
export declare class TokensApi extends BaseAPI {
|
|
21576
|
+
/**
|
|
21577
|
+
*
|
|
21578
|
+
* @summary Create a new API token scoped to this organization
|
|
21579
|
+
* @param {string} organization Organization identifier
|
|
21580
|
+
* @param {TokensCreateRequest} tokensCreateRequest
|
|
21581
|
+
* @param {*} [options] Override http request option.
|
|
21582
|
+
* @throws {RequiredError}
|
|
21583
|
+
* @memberof TokensApi
|
|
21584
|
+
*/
|
|
21585
|
+
tokensCreate(organization: string, tokensCreateRequest: TokensCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TokensCreate201Response, any, {}>>;
|
|
21586
|
+
/**
|
|
21587
|
+
*
|
|
21588
|
+
* @summary Revoke an API token
|
|
21589
|
+
* @param {string} organization Organization identifier
|
|
21590
|
+
* @param {number} tokenId Token ID to revoke
|
|
21591
|
+
* @param {*} [options] Override http request option.
|
|
21592
|
+
* @throws {RequiredError}
|
|
21593
|
+
* @memberof TokensApi
|
|
21594
|
+
*/
|
|
21595
|
+
tokensDelete(organization: string, tokenId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TokensDelete200Response, any, {}>>;
|
|
21596
|
+
/**
|
|
21597
|
+
*
|
|
21598
|
+
* @summary List API tokens scoped to this organization
|
|
21599
|
+
* @param {string} organization Organization identifier
|
|
21600
|
+
* @param {*} [options] Override http request option.
|
|
21601
|
+
* @throws {RequiredError}
|
|
21602
|
+
* @memberof TokensApi
|
|
21603
|
+
*/
|
|
21604
|
+
tokensList(organization: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TokensList200ResponseInner[], any, {}>>;
|
|
21605
|
+
}
|
|
21373
21606
|
/**
|
|
21374
21607
|
* VariablesApi - axios parameter creator
|
|
21375
21608
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* QuantCDN API
|
|
6
6
|
* Unified API for QuantCDN Admin and QuantCloud Platform services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 4.
|
|
8
|
+
* The version of the OpenAPI document: 4.11.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,8 +25,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
25
25
|
exports.V1TransitionStateEnum = exports.UpdateTaskRequestStatusEnum = exports.UpdateAISessionRequestNewMessagesInnerRoleEnum = exports.UpdateAISessionRequestStatusEnum = exports.SpotConfigurationStrategyEnum = exports.ScalingPolicyMetricEnum = exports.QueryVectorCollectionRequestSortOrderEnum = exports.QueryVectorCollectionRequestSortByEnum = exports.QueryVectorCollection200ResponsePaginationSortOrderEnum = exports.QueryVectorCollection200ResponsePaginationSortByEnum = exports.QueryVectorCollection200ResponseSearchModeEnum = exports.PatchEnvironmentComposeRequestSpotConfigurationStrategyEnum = exports.ListTasks200ResponseTasksInnerStatusEnum = exports.ListOrchestrationBatches200ResponseBatchesInnerStatusEnum = exports.ImageGenerationRequestTextToImageParamsControlModeEnum = exports.ImageGenerationRequestTextToImageParamsStyleEnum = exports.ImageGenerationRequestOutPaintingParamsOutPaintingModeEnum = exports.ImageGenerationRequestImageGenerationConfigQualityEnum = exports.ImageGenerationRequestRegionEnum = exports.ImageGenerationRequestTaskTypeEnum = exports.GetTask200ResponseStatusEnum = exports.GetDurableExecutionStatus200ResponseStatusEnum = exports.GetAIOrchestrationStatus200ResponseToolsInnerStatusEnum = exports.GetAIOrchestrationStatus200ResponseStatusEnum = exports.EnvironmentSummaryDeploymentStatusEnum = exports.EnvironmentResponseDeploymentStatusEnum = exports.EmbeddingsRequestDimensionsEnum = exports.CronRunStatusEnum = exports.CronRunRunTypeEnum = exports.CreateTaskRequestStatusEnum = exports.CreateOrchestrationRequestStopConditionTypeEnum = exports.CreateOrchestrationRequestInputSourceTypeEnum = exports.CreateApplicationRequestDatabaseEngineEnum = exports.CreateAISessionRequestInitialMessagesInnerRoleEnum = exports.CreateAISession201ResponseStatusEnum = exports.ContainerImageReferenceTypeEnum = exports.ContainerDependsOnInnerConditionEnum = exports.ChatWithAIAgent202ResponseStatusEnum = exports.ChatInferenceStreamRequestMessagesInnerRoleEnum = exports.ChatInferenceRequestResponseFormatTypeEnum = exports.ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf3DocumentFormatEnum = exports.ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf2VideoFormatEnum = exports.ChatInferenceRequestMessagesInnerContentOneOfInnerOneOf1ImageFormatEnum = exports.ChatInferenceRequestMessagesInnerRoleEnum = exports.ChatInferenceRequestGuardrailsTraceEnum = exports.ChatInference202ResponseStatusEnum = exports.ChatInference200ResponseResponseRoleEnum = exports.ChatInference200ResponseFinishReasonEnum = exports.ApplicationImageReferenceTypeEnum = exports.ApplicationDatabaseRdsInstanceEngineEnum = void 0;
|
|
26
26
|
exports.ListAIToolExecutionsStatusEnum = exports.AIToolsApi = exports.AIToolsApiFactory = exports.AIToolsApiFp = exports.AIToolsApiAxiosParamCreator = exports.ListTasksStatusEnum = exports.AITaskManagementApi = exports.AITaskManagementApiFactory = exports.AITaskManagementApiFp = exports.AITaskManagementApiAxiosParamCreator = exports.AISessionsApi = exports.AISessionsApiFactory = exports.AISessionsApiFp = exports.AISessionsApiAxiosParamCreator = exports.ListOrchestrationsStatusEnum = exports.AIOrchestrationsApi = exports.AIOrchestrationsApiFactory = exports.AIOrchestrationsApiFp = exports.AIOrchestrationsApiAxiosParamCreator = exports.AIMonitoringApi = exports.AIMonitoringApiFactory = exports.AIMonitoringApiFp = exports.AIMonitoringApiAxiosParamCreator = exports.ListAIModelsFeatureEnum = exports.AIModelsApi = exports.AIModelsApiFactory = exports.AIModelsApiFp = exports.AIModelsApiAxiosParamCreator = exports.AIInferenceApi = exports.AIInferenceApiFactory = exports.AIInferenceApiFp = exports.AIInferenceApiAxiosParamCreator = exports.AIFileStorageApi = exports.AIFileStorageApiFactory = exports.AIFileStorageApiFp = exports.AIFileStorageApiAxiosParamCreator = exports.AICustomToolsApi = exports.AICustomToolsApiFactory = exports.AICustomToolsApiFp = exports.AICustomToolsApiAxiosParamCreator = exports.AIAgentsApi = exports.AIAgentsApiFactory = exports.AIAgentsApiFp = exports.AIAgentsApiAxiosParamCreator = exports.WafConfigThresholdsInnerModeEnum = exports.WafConfigThresholdsInnerTypeEnum = exports.WafConfigModeEnum = exports.V2RuleProxyActionNotifyEnum = exports.V2MetricsMetaGranularityEnum = exports.V2MetricsMetaPeriodEnum = void 0;
|
|
27
27
|
exports.DomainsApiAxiosParamCreator = exports.CronApi = exports.CronApiFactory = exports.CronApiFp = exports.CronApiAxiosParamCreator = exports.CrawlersApi = exports.CrawlersApiFactory = exports.CrawlersApiFp = exports.CrawlersApiAxiosParamCreator = exports.CrawlerSchedulesApi = exports.CrawlerSchedulesApiFactory = exports.CrawlerSchedulesApiFp = exports.CrawlerSchedulesApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ComposeApi = exports.ComposeApiFactory = exports.ComposeApiFp = exports.ComposeApiAxiosParamCreator = exports.CommandsApi = exports.CommandsApiFactory = exports.CommandsApiFp = exports.CommandsApiAxiosParamCreator = exports.GetMonthlyMetricsTimestampFormatEnum = exports.GetHourlyMetricsTimestampFormatEnum = exports.GetDailyMetricsTimestampFormatEnum = exports.CDNMetricsApi = exports.CDNMetricsApiFactory = exports.CDNMetricsApiFp = exports.CDNMetricsApiAxiosParamCreator = exports.ListBackupsStatusEnum = exports.ListBackupsOrderEnum = exports.ListBackupsTypeEnum = exports.DownloadBackupTypeEnum = exports.DeleteBackupTypeEnum = exports.CreateBackupTypeEnum = exports.BackupManagementApi = exports.BackupManagementApiFactory = exports.BackupManagementApiFp = exports.BackupManagementApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.AIVectorDatabaseApi = exports.AIVectorDatabaseApiFactory = exports.AIVectorDatabaseApiFp = exports.AIVectorDatabaseApiAxiosParamCreator = void 0;
|
|
28
|
-
exports.
|
|
29
|
-
exports.VolumesApi = exports.VolumesApiFactory = exports.VolumesApiFp = void 0;
|
|
28
|
+
exports.VariablesApiAxiosParamCreator = exports.TokensApi = exports.TokensApiFactory = exports.TokensApiFp = exports.TokensApiAxiosParamCreator = exports.ScalingPolicyApi = exports.ScalingPolicyApiFactory = exports.ScalingPolicyApiFp = exports.ScalingPolicyApiAxiosParamCreator = exports.SSHAccessApi = exports.SSHAccessApiFactory = exports.SSHAccessApiFp = exports.SSHAccessApiAxiosParamCreator = exports.RulesApi = exports.RulesApiFactory = exports.RulesApiFp = exports.RulesApiAxiosParamCreator = exports.PurgeApi = exports.PurgeApiFactory = exports.PurgeApiFp = exports.PurgeApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OrchestrationApi = exports.OrchestrationApiFactory = exports.OrchestrationApiFp = exports.OrchestrationApiAxiosParamCreator = exports.KVApi = exports.KVApiFactory = exports.KVApiFp = exports.KVApiAxiosParamCreator = exports.HeadersApi = exports.HeadersApiFactory = exports.HeadersApiFp = exports.HeadersApiAxiosParamCreator = exports.SyncToEnvironmentTypeEnum = exports.ListSyncOperationsTypeEnum = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.DomainsApi = exports.DomainsApiFactory = exports.DomainsApiFp = void 0;
|
|
29
|
+
exports.VolumesApi = exports.VolumesApiFactory = exports.VolumesApiFp = exports.VolumesApiAxiosParamCreator = exports.VariablesApi = exports.VariablesApiFactory = exports.VariablesApiFp = void 0;
|
|
30
30
|
const axios_1 = require("axios");
|
|
31
31
|
// Some imports not used depending on template conditions
|
|
32
32
|
// @ts-ignore
|
|
@@ -16856,6 +16856,266 @@ class ScalingPolicyApi extends base_1.BaseAPI {
|
|
|
16856
16856
|
}
|
|
16857
16857
|
}
|
|
16858
16858
|
exports.ScalingPolicyApi = ScalingPolicyApi;
|
|
16859
|
+
/**
|
|
16860
|
+
* TokensApi - axios parameter creator
|
|
16861
|
+
* @export
|
|
16862
|
+
*/
|
|
16863
|
+
const TokensApiAxiosParamCreator = function (configuration) {
|
|
16864
|
+
return {
|
|
16865
|
+
/**
|
|
16866
|
+
*
|
|
16867
|
+
* @summary Create a new API token scoped to this organization
|
|
16868
|
+
* @param {string} organization Organization identifier
|
|
16869
|
+
* @param {TokensCreateRequest} tokensCreateRequest
|
|
16870
|
+
* @param {*} [options] Override http request option.
|
|
16871
|
+
* @throws {RequiredError}
|
|
16872
|
+
*/
|
|
16873
|
+
tokensCreate: (organization_1, tokensCreateRequest_1, ...args_1) => __awaiter(this, [organization_1, tokensCreateRequest_1, ...args_1], void 0, function* (organization, tokensCreateRequest, options = {}) {
|
|
16874
|
+
// verify required parameter 'organization' is not null or undefined
|
|
16875
|
+
(0, common_1.assertParamExists)('tokensCreate', 'organization', organization);
|
|
16876
|
+
// verify required parameter 'tokensCreateRequest' is not null or undefined
|
|
16877
|
+
(0, common_1.assertParamExists)('tokensCreate', 'tokensCreateRequest', tokensCreateRequest);
|
|
16878
|
+
const localVarPath = `/api/v2/organizations/{organization}/tokens`
|
|
16879
|
+
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)));
|
|
16880
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16881
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16882
|
+
let baseOptions;
|
|
16883
|
+
if (configuration) {
|
|
16884
|
+
baseOptions = configuration.baseOptions;
|
|
16885
|
+
}
|
|
16886
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
16887
|
+
const localVarHeaderParameter = {};
|
|
16888
|
+
const localVarQueryParameter = {};
|
|
16889
|
+
// authentication BearerAuth required
|
|
16890
|
+
// http bearer authentication required
|
|
16891
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16892
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16893
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16894
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16895
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16896
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(tokensCreateRequest, localVarRequestOptions, configuration);
|
|
16897
|
+
return {
|
|
16898
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16899
|
+
options: localVarRequestOptions,
|
|
16900
|
+
};
|
|
16901
|
+
}),
|
|
16902
|
+
/**
|
|
16903
|
+
*
|
|
16904
|
+
* @summary Revoke an API token
|
|
16905
|
+
* @param {string} organization Organization identifier
|
|
16906
|
+
* @param {number} tokenId Token ID to revoke
|
|
16907
|
+
* @param {*} [options] Override http request option.
|
|
16908
|
+
* @throws {RequiredError}
|
|
16909
|
+
*/
|
|
16910
|
+
tokensDelete: (organization_1, tokenId_1, ...args_1) => __awaiter(this, [organization_1, tokenId_1, ...args_1], void 0, function* (organization, tokenId, options = {}) {
|
|
16911
|
+
// verify required parameter 'organization' is not null or undefined
|
|
16912
|
+
(0, common_1.assertParamExists)('tokensDelete', 'organization', organization);
|
|
16913
|
+
// verify required parameter 'tokenId' is not null or undefined
|
|
16914
|
+
(0, common_1.assertParamExists)('tokensDelete', 'tokenId', tokenId);
|
|
16915
|
+
const localVarPath = `/api/v2/organizations/{organization}/tokens/{token_id}`
|
|
16916
|
+
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
16917
|
+
.replace(`{${"token_id"}}`, encodeURIComponent(String(tokenId)));
|
|
16918
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16919
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16920
|
+
let baseOptions;
|
|
16921
|
+
if (configuration) {
|
|
16922
|
+
baseOptions = configuration.baseOptions;
|
|
16923
|
+
}
|
|
16924
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
16925
|
+
const localVarHeaderParameter = {};
|
|
16926
|
+
const localVarQueryParameter = {};
|
|
16927
|
+
// authentication BearerAuth required
|
|
16928
|
+
// http bearer authentication required
|
|
16929
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16930
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16931
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16932
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16933
|
+
return {
|
|
16934
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16935
|
+
options: localVarRequestOptions,
|
|
16936
|
+
};
|
|
16937
|
+
}),
|
|
16938
|
+
/**
|
|
16939
|
+
*
|
|
16940
|
+
* @summary List API tokens scoped to this organization
|
|
16941
|
+
* @param {string} organization Organization identifier
|
|
16942
|
+
* @param {*} [options] Override http request option.
|
|
16943
|
+
* @throws {RequiredError}
|
|
16944
|
+
*/
|
|
16945
|
+
tokensList: (organization_1, ...args_1) => __awaiter(this, [organization_1, ...args_1], void 0, function* (organization, options = {}) {
|
|
16946
|
+
// verify required parameter 'organization' is not null or undefined
|
|
16947
|
+
(0, common_1.assertParamExists)('tokensList', 'organization', organization);
|
|
16948
|
+
const localVarPath = `/api/v2/organizations/{organization}/tokens`
|
|
16949
|
+
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)));
|
|
16950
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16951
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16952
|
+
let baseOptions;
|
|
16953
|
+
if (configuration) {
|
|
16954
|
+
baseOptions = configuration.baseOptions;
|
|
16955
|
+
}
|
|
16956
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
16957
|
+
const localVarHeaderParameter = {};
|
|
16958
|
+
const localVarQueryParameter = {};
|
|
16959
|
+
// authentication BearerAuth required
|
|
16960
|
+
// http bearer authentication required
|
|
16961
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16962
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16963
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16964
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16965
|
+
return {
|
|
16966
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16967
|
+
options: localVarRequestOptions,
|
|
16968
|
+
};
|
|
16969
|
+
}),
|
|
16970
|
+
};
|
|
16971
|
+
};
|
|
16972
|
+
exports.TokensApiAxiosParamCreator = TokensApiAxiosParamCreator;
|
|
16973
|
+
/**
|
|
16974
|
+
* TokensApi - functional programming interface
|
|
16975
|
+
* @export
|
|
16976
|
+
*/
|
|
16977
|
+
const TokensApiFp = function (configuration) {
|
|
16978
|
+
const localVarAxiosParamCreator = (0, exports.TokensApiAxiosParamCreator)(configuration);
|
|
16979
|
+
return {
|
|
16980
|
+
/**
|
|
16981
|
+
*
|
|
16982
|
+
* @summary Create a new API token scoped to this organization
|
|
16983
|
+
* @param {string} organization Organization identifier
|
|
16984
|
+
* @param {TokensCreateRequest} tokensCreateRequest
|
|
16985
|
+
* @param {*} [options] Override http request option.
|
|
16986
|
+
* @throws {RequiredError}
|
|
16987
|
+
*/
|
|
16988
|
+
tokensCreate(organization, tokensCreateRequest, options) {
|
|
16989
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16990
|
+
var _a, _b, _c;
|
|
16991
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.tokensCreate(organization, tokensCreateRequest, options);
|
|
16992
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16993
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TokensApi.tokensCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16994
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16995
|
+
});
|
|
16996
|
+
},
|
|
16997
|
+
/**
|
|
16998
|
+
*
|
|
16999
|
+
* @summary Revoke an API token
|
|
17000
|
+
* @param {string} organization Organization identifier
|
|
17001
|
+
* @param {number} tokenId Token ID to revoke
|
|
17002
|
+
* @param {*} [options] Override http request option.
|
|
17003
|
+
* @throws {RequiredError}
|
|
17004
|
+
*/
|
|
17005
|
+
tokensDelete(organization, tokenId, options) {
|
|
17006
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17007
|
+
var _a, _b, _c;
|
|
17008
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.tokensDelete(organization, tokenId, options);
|
|
17009
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17010
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TokensApi.tokensDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17011
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17012
|
+
});
|
|
17013
|
+
},
|
|
17014
|
+
/**
|
|
17015
|
+
*
|
|
17016
|
+
* @summary List API tokens scoped to this organization
|
|
17017
|
+
* @param {string} organization Organization identifier
|
|
17018
|
+
* @param {*} [options] Override http request option.
|
|
17019
|
+
* @throws {RequiredError}
|
|
17020
|
+
*/
|
|
17021
|
+
tokensList(organization, options) {
|
|
17022
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17023
|
+
var _a, _b, _c;
|
|
17024
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.tokensList(organization, options);
|
|
17025
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17026
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TokensApi.tokensList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17027
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17028
|
+
});
|
|
17029
|
+
},
|
|
17030
|
+
};
|
|
17031
|
+
};
|
|
17032
|
+
exports.TokensApiFp = TokensApiFp;
|
|
17033
|
+
/**
|
|
17034
|
+
* TokensApi - factory interface
|
|
17035
|
+
* @export
|
|
17036
|
+
*/
|
|
17037
|
+
const TokensApiFactory = function (configuration, basePath, axios) {
|
|
17038
|
+
const localVarFp = (0, exports.TokensApiFp)(configuration);
|
|
17039
|
+
return {
|
|
17040
|
+
/**
|
|
17041
|
+
*
|
|
17042
|
+
* @summary Create a new API token scoped to this organization
|
|
17043
|
+
* @param {string} organization Organization identifier
|
|
17044
|
+
* @param {TokensCreateRequest} tokensCreateRequest
|
|
17045
|
+
* @param {*} [options] Override http request option.
|
|
17046
|
+
* @throws {RequiredError}
|
|
17047
|
+
*/
|
|
17048
|
+
tokensCreate(organization, tokensCreateRequest, options) {
|
|
17049
|
+
return localVarFp.tokensCreate(organization, tokensCreateRequest, options).then((request) => request(axios, basePath));
|
|
17050
|
+
},
|
|
17051
|
+
/**
|
|
17052
|
+
*
|
|
17053
|
+
* @summary Revoke an API token
|
|
17054
|
+
* @param {string} organization Organization identifier
|
|
17055
|
+
* @param {number} tokenId Token ID to revoke
|
|
17056
|
+
* @param {*} [options] Override http request option.
|
|
17057
|
+
* @throws {RequiredError}
|
|
17058
|
+
*/
|
|
17059
|
+
tokensDelete(organization, tokenId, options) {
|
|
17060
|
+
return localVarFp.tokensDelete(organization, tokenId, options).then((request) => request(axios, basePath));
|
|
17061
|
+
},
|
|
17062
|
+
/**
|
|
17063
|
+
*
|
|
17064
|
+
* @summary List API tokens scoped to this organization
|
|
17065
|
+
* @param {string} organization Organization identifier
|
|
17066
|
+
* @param {*} [options] Override http request option.
|
|
17067
|
+
* @throws {RequiredError}
|
|
17068
|
+
*/
|
|
17069
|
+
tokensList(organization, options) {
|
|
17070
|
+
return localVarFp.tokensList(organization, options).then((request) => request(axios, basePath));
|
|
17071
|
+
},
|
|
17072
|
+
};
|
|
17073
|
+
};
|
|
17074
|
+
exports.TokensApiFactory = TokensApiFactory;
|
|
17075
|
+
/**
|
|
17076
|
+
* TokensApi - object-oriented interface
|
|
17077
|
+
* @export
|
|
17078
|
+
* @class TokensApi
|
|
17079
|
+
* @extends {BaseAPI}
|
|
17080
|
+
*/
|
|
17081
|
+
class TokensApi extends base_1.BaseAPI {
|
|
17082
|
+
/**
|
|
17083
|
+
*
|
|
17084
|
+
* @summary Create a new API token scoped to this organization
|
|
17085
|
+
* @param {string} organization Organization identifier
|
|
17086
|
+
* @param {TokensCreateRequest} tokensCreateRequest
|
|
17087
|
+
* @param {*} [options] Override http request option.
|
|
17088
|
+
* @throws {RequiredError}
|
|
17089
|
+
* @memberof TokensApi
|
|
17090
|
+
*/
|
|
17091
|
+
tokensCreate(organization, tokensCreateRequest, options) {
|
|
17092
|
+
return (0, exports.TokensApiFp)(this.configuration).tokensCreate(organization, tokensCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17093
|
+
}
|
|
17094
|
+
/**
|
|
17095
|
+
*
|
|
17096
|
+
* @summary Revoke an API token
|
|
17097
|
+
* @param {string} organization Organization identifier
|
|
17098
|
+
* @param {number} tokenId Token ID to revoke
|
|
17099
|
+
* @param {*} [options] Override http request option.
|
|
17100
|
+
* @throws {RequiredError}
|
|
17101
|
+
* @memberof TokensApi
|
|
17102
|
+
*/
|
|
17103
|
+
tokensDelete(organization, tokenId, options) {
|
|
17104
|
+
return (0, exports.TokensApiFp)(this.configuration).tokensDelete(organization, tokenId, options).then((request) => request(this.axios, this.basePath));
|
|
17105
|
+
}
|
|
17106
|
+
/**
|
|
17107
|
+
*
|
|
17108
|
+
* @summary List API tokens scoped to this organization
|
|
17109
|
+
* @param {string} organization Organization identifier
|
|
17110
|
+
* @param {*} [options] Override http request option.
|
|
17111
|
+
* @throws {RequiredError}
|
|
17112
|
+
* @memberof TokensApi
|
|
17113
|
+
*/
|
|
17114
|
+
tokensList(organization, options) {
|
|
17115
|
+
return (0, exports.TokensApiFp)(this.configuration).tokensList(organization, options).then((request) => request(this.axios, this.basePath));
|
|
17116
|
+
}
|
|
17117
|
+
}
|
|
17118
|
+
exports.TokensApi = TokensApi;
|
|
16859
17119
|
/**
|
|
16860
17120
|
* VariablesApi - axios parameter creator
|
|
16861
17121
|
* @export
|
package/dist/common.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.
|
|
5
|
+
* The version of the OpenAPI document: 4.11.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* QuantCDN API
|
|
6
6
|
* Unified API for QuantCDN Admin and QuantCloud Platform services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 4.
|
|
8
|
+
* The version of the OpenAPI document: 4.11.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.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.
|
|
5
|
+
* The version of the OpenAPI document: 4.11.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* QuantCDN API
|
|
6
6
|
* Unified API for QuantCDN Admin and QuantCloud Platform services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 4.
|
|
8
|
+
* The version of the OpenAPI document: 4.11.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|