@quantum-hub/qhubctl 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +41 -0
- package/bin/dev.cmd +3 -0
- package/bin/dev.js +15 -0
- package/bin/run.cmd +3 -0
- package/bin/run.js +12 -0
- package/dist/client/kqh/apis/ServicePlatformApplicationsApi.d.ts +89 -0
- package/dist/client/kqh/apis/ServicePlatformApplicationsApi.js +259 -0
- package/dist/client/kqh/apis/ServicePlatformDashboardApi.d.ts +44 -0
- package/dist/client/kqh/apis/ServicePlatformDashboardApi.js +143 -0
- package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.d.ts +133 -0
- package/dist/client/kqh/apis/ServicePlatformDataPoolsApi.js +410 -0
- package/dist/client/kqh/apis/ServicePlatformJobsApi.d.ts +101 -0
- package/dist/client/kqh/apis/ServicePlatformJobsApi.js +298 -0
- package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.d.ts +48 -0
- package/dist/client/kqh/apis/ServicePlatformMarketplaceApi.js +152 -0
- package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.d.ts +29 -0
- package/dist/client/kqh/apis/ServicePlatformMeteringAPIApi.js +90 -0
- package/dist/client/kqh/apis/ServicePlatformServicesApi.d.ts +501 -0
- package/dist/client/kqh/apis/ServicePlatformServicesApi.js +1509 -0
- package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.d.ts +66 -0
- package/dist/client/kqh/apis/ServicePlatformSubscriptionsApi.js +194 -0
- package/dist/client/kqh/apis/TaxonomiesApi.d.ts +90 -0
- package/dist/client/kqh/apis/TaxonomiesApi.js +309 -0
- package/dist/client/kqh/apis/index.d.ts +9 -0
- package/dist/client/kqh/apis/index.js +27 -0
- package/dist/client/kqh/index.d.ts +3 -0
- package/dist/client/kqh/index.js +21 -0
- package/dist/client/kqh/models/AccessTokenDto.d.ts +81 -0
- package/dist/client/kqh/models/AccessTokenDto.js +66 -0
- package/dist/client/kqh/models/AmountMajorDto.d.ts +37 -0
- package/dist/client/kqh/models/AmountMajorDto.js +46 -0
- package/dist/client/kqh/models/ApiDto.d.ts +144 -0
- package/dist/client/kqh/models/ApiDto.js +99 -0
- package/dist/client/kqh/models/ApiOverviewDto.d.ts +119 -0
- package/dist/client/kqh/models/ApiOverviewDto.js +90 -0
- package/dist/client/kqh/models/ApplicationDto.d.ts +64 -0
- package/dist/client/kqh/models/ApplicationDto.js +60 -0
- package/dist/client/kqh/models/BuildJobDto.d.ts +75 -0
- package/dist/client/kqh/models/BuildJobDto.js +71 -0
- package/dist/client/kqh/models/CpuConfiguration.d.ts +38 -0
- package/dist/client/kqh/models/CpuConfiguration.js +49 -0
- package/dist/client/kqh/models/CreateApplicationRequest.d.ts +31 -0
- package/dist/client/kqh/models/CreateApplicationRequest.js +44 -0
- package/dist/client/kqh/models/CreateDataPoolRequest.d.ts +31 -0
- package/dist/client/kqh/models/CreateDataPoolRequest.js +46 -0
- package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.d.ts +46 -0
- package/dist/client/kqh/models/CreateExternalServicePricingPlanRequest.js +57 -0
- package/dist/client/kqh/models/CreateJobRequest.d.ts +62 -0
- package/dist/client/kqh/models/CreateJobRequest.js +57 -0
- package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.d.ts +73 -0
- package/dist/client/kqh/models/CreateManagedServicePricingPlanRequest.js +79 -0
- package/dist/client/kqh/models/CreateProductRequest.d.ts +43 -0
- package/dist/client/kqh/models/CreateProductRequest.js +52 -0
- package/dist/client/kqh/models/CreateSubscriptionRequest.d.ts +37 -0
- package/dist/client/kqh/models/CreateSubscriptionRequest.js +50 -0
- package/dist/client/kqh/models/CreateWorkflowServiceRequest.d.ts +37 -0
- package/dist/client/kqh/models/CreateWorkflowServiceRequest.js +48 -0
- package/dist/client/kqh/models/DataPoolDto.d.ts +166 -0
- package/dist/client/kqh/models/DataPoolDto.js +105 -0
- package/dist/client/kqh/models/DataPoolRef.d.ts +43 -0
- package/dist/client/kqh/models/DataPoolRef.js +48 -0
- package/dist/client/kqh/models/DataSourceDescriptorDto.d.ts +89 -0
- package/dist/client/kqh/models/DataSourceDescriptorDto.js +69 -0
- package/dist/client/kqh/models/FileDto.d.ts +73 -0
- package/dist/client/kqh/models/FileDto.js +51 -0
- package/dist/client/kqh/models/FileSource.d.ts +26 -0
- package/dist/client/kqh/models/FileSource.js +34 -0
- package/dist/client/kqh/models/GpuConfiguration.d.ts +49 -0
- package/dist/client/kqh/models/GpuConfiguration.js +60 -0
- package/dist/client/kqh/models/JobDto.d.ts +117 -0
- package/dist/client/kqh/models/JobDto.js +82 -0
- package/dist/client/kqh/models/JobOverviewDto.d.ts +74 -0
- package/dist/client/kqh/models/JobOverviewDto.js +67 -0
- package/dist/client/kqh/models/MemoryConfiguration.d.ts +38 -0
- package/dist/client/kqh/models/MemoryConfiguration.js +49 -0
- package/dist/client/kqh/models/MeteringRequest.d.ts +43 -0
- package/dist/client/kqh/models/MeteringRequest.js +48 -0
- package/dist/client/kqh/models/MeteringResponse.d.ts +49 -0
- package/dist/client/kqh/models/MeteringResponse.js +50 -0
- package/dist/client/kqh/models/MonthAmountDto.d.ts +51 -0
- package/dist/client/kqh/models/MonthAmountDto.js +52 -0
- package/dist/client/kqh/models/OwnerDto.d.ts +67 -0
- package/dist/client/kqh/models/OwnerDto.js +56 -0
- package/dist/client/kqh/models/PageDataPoolDto.d.ts +94 -0
- package/dist/client/kqh/models/PageDataPoolDto.js +67 -0
- package/dist/client/kqh/models/PageableObject.d.ts +62 -0
- package/dist/client/kqh/models/PageableObject.js +55 -0
- package/dist/client/kqh/models/PricingPlanDto.d.ts +52 -0
- package/dist/client/kqh/models/PricingPlanDto.js +57 -0
- package/dist/client/kqh/models/ProductAmountDto.d.ts +38 -0
- package/dist/client/kqh/models/ProductAmountDto.js +47 -0
- package/dist/client/kqh/models/ProductDto.d.ts +83 -0
- package/dist/client/kqh/models/ProductDto.js +76 -0
- package/dist/client/kqh/models/ProductGroupDto.d.ts +45 -0
- package/dist/client/kqh/models/ProductGroupDto.js +50 -0
- package/dist/client/kqh/models/ProductUsageDto.d.ts +61 -0
- package/dist/client/kqh/models/ProductUsageDto.js +54 -0
- package/dist/client/kqh/models/RegistrySource.d.ts +52 -0
- package/dist/client/kqh/models/RegistrySource.js +55 -0
- package/dist/client/kqh/models/RepositorySource.d.ts +32 -0
- package/dist/client/kqh/models/RepositorySource.js +47 -0
- package/dist/client/kqh/models/ResourceConfiguration.d.ts +31 -0
- package/dist/client/kqh/models/ResourceConfiguration.js +58 -0
- package/dist/client/kqh/models/ReviewDto.d.ts +51 -0
- package/dist/client/kqh/models/ReviewDto.js +56 -0
- package/dist/client/kqh/models/RuntimeConfiguration.d.ts +53 -0
- package/dist/client/kqh/models/RuntimeConfiguration.js +56 -0
- package/dist/client/kqh/models/ServiceDefinitionCommand.d.ts +39 -0
- package/dist/client/kqh/models/ServiceDefinitionCommand.js +52 -0
- package/dist/client/kqh/models/ServiceDefinitionDto.d.ts +180 -0
- package/dist/client/kqh/models/ServiceDefinitionDto.js +108 -0
- package/dist/client/kqh/models/ServiceDefinitionDtoSource.d.ts +23 -0
- package/dist/client/kqh/models/ServiceDefinitionDtoSource.js +54 -0
- package/dist/client/kqh/models/ServiceDefinitionOverviewDto.d.ts +79 -0
- package/dist/client/kqh/models/ServiceDefinitionOverviewDto.js +71 -0
- package/dist/client/kqh/models/ServiceDto.d.ts +59 -0
- package/dist/client/kqh/models/ServiceDto.js +59 -0
- package/dist/client/kqh/models/ServiceExecutionConsumerDto.d.ts +67 -0
- package/dist/client/kqh/models/ServiceExecutionConsumerDto.js +64 -0
- package/dist/client/kqh/models/ServiceExecutionDto.d.ts +49 -0
- package/dist/client/kqh/models/ServiceExecutionDto.js +50 -0
- package/dist/client/kqh/models/ServiceOverviewDto.d.ts +115 -0
- package/dist/client/kqh/models/ServiceOverviewDto.js +92 -0
- package/dist/client/kqh/models/ServiceSource.d.ts +31 -0
- package/dist/client/kqh/models/ServiceSource.js +58 -0
- package/dist/client/kqh/models/SortObject.d.ts +43 -0
- package/dist/client/kqh/models/SortObject.js +48 -0
- package/dist/client/kqh/models/SubscriptionDto.d.ts +58 -0
- package/dist/client/kqh/models/SubscriptionDto.js +55 -0
- package/dist/client/kqh/models/TaxonomyElement.d.ts +43 -0
- package/dist/client/kqh/models/TaxonomyElement.js +48 -0
- package/dist/client/kqh/models/UpdateDataPoolRequest.d.ts +109 -0
- package/dist/client/kqh/models/UpdateDataPoolRequest.js +72 -0
- package/dist/client/kqh/models/UpdateResourceConfigurationRequest.d.ts +23 -0
- package/dist/client/kqh/models/UpdateResourceConfigurationRequest.js +54 -0
- package/dist/client/kqh/models/UpdateVersionRequest.d.ts +44 -0
- package/dist/client/kqh/models/UpdateVersionRequest.js +49 -0
- package/dist/client/kqh/models/UpdateWorkflowServiceRequest.d.ts +31 -0
- package/dist/client/kqh/models/UpdateWorkflowServiceRequest.js +44 -0
- package/dist/client/kqh/models/ValidationResult.d.ts +52 -0
- package/dist/client/kqh/models/ValidationResult.js +57 -0
- package/dist/client/kqh/models/index.d.ts +57 -0
- package/dist/client/kqh/models/index.js +75 -0
- package/dist/client/kqh/runtime.d.ts +181 -0
- package/dist/client/kqh/runtime.js +340 -0
- package/dist/client/users/apis/AuthenticationApi.d.ts +31 -0
- package/dist/client/users/apis/AuthenticationApi.js +83 -0
- package/dist/client/users/apis/ExpertsApi.d.ts +44 -0
- package/dist/client/users/apis/ExpertsApi.js +112 -0
- package/dist/client/users/apis/SearchApi.d.ts +46 -0
- package/dist/client/users/apis/SearchApi.js +134 -0
- package/dist/client/users/apis/UserSettingsApi.d.ts +139 -0
- package/dist/client/users/apis/UserSettingsApi.js +417 -0
- package/dist/client/users/apis/UserSettingsPersonalAccessTokensApi.d.ts +64 -0
- package/dist/client/users/apis/UserSettingsPersonalAccessTokensApi.js +184 -0
- package/dist/client/users/apis/UsersApi.d.ts +70 -0
- package/dist/client/users/apis/UsersApi.js +170 -0
- package/dist/client/users/apis/index.d.ts +6 -0
- package/dist/client/users/apis/index.js +24 -0
- package/dist/client/users/index.d.ts +3 -0
- package/dist/client/users/index.js +21 -0
- package/dist/client/users/models/AccessTokenCreateRequest.d.ts +51 -0
- package/dist/client/users/models/AccessTokenCreateRequest.js +60 -0
- package/dist/client/users/models/AccessTokenDto.d.ts +75 -0
- package/dist/client/users/models/AccessTokenDto.js +68 -0
- package/dist/client/users/models/AccessTokensResponse.d.ts +38 -0
- package/dist/client/users/models/AccessTokensResponse.js +47 -0
- package/dist/client/users/models/DefaultAccessTokenResponse.d.ts +31 -0
- package/dist/client/users/models/DefaultAccessTokenResponse.js +44 -0
- package/dist/client/users/models/Language.d.ts +31 -0
- package/dist/client/users/models/Language.js +44 -0
- package/dist/client/users/models/PageUserDto.d.ts +94 -0
- package/dist/client/users/models/PageUserDto.js +67 -0
- package/dist/client/users/models/Pageable.d.ts +43 -0
- package/dist/client/users/models/Pageable.js +48 -0
- package/dist/client/users/models/PageableObject.d.ts +62 -0
- package/dist/client/users/models/PageableObject.js +55 -0
- package/dist/client/users/models/PersonalAccessTokenPrincipal.d.ts +38 -0
- package/dist/client/users/models/PersonalAccessTokenPrincipal.js +47 -0
- package/dist/client/users/models/Skill.d.ts +31 -0
- package/dist/client/users/models/Skill.js +44 -0
- package/dist/client/users/models/SortObject.d.ts +43 -0
- package/dist/client/users/models/SortObject.js +48 -0
- package/dist/client/users/models/UpdateUserRequest.d.ts +61 -0
- package/dist/client/users/models/UpdateUserRequest.js +54 -0
- package/dist/client/users/models/UserDto.d.ts +111 -0
- package/dist/client/users/models/UserDto.js +72 -0
- package/dist/client/users/models/UserOverviewDto.d.ts +67 -0
- package/dist/client/users/models/UserOverviewDto.js +56 -0
- package/dist/client/users/models/index.d.ts +14 -0
- package/dist/client/users/models/index.js +32 -0
- package/dist/client/users/runtime.d.ts +181 -0
- package/dist/client/users/runtime.js +340 -0
- package/dist/commands/compress/index.d.ts +6 -0
- package/dist/commands/compress/index.js +31 -0
- package/dist/commands/datapool/upload.d.ts +23 -0
- package/dist/commands/datapool/upload.js +266 -0
- package/dist/commands/get-context/index.d.ts +6 -0
- package/dist/commands/get-context/index.js +13 -0
- package/dist/commands/init/index.d.ts +10 -0
- package/dist/commands/init/index.js +81 -0
- package/dist/commands/list-contexts/index.d.ts +9 -0
- package/dist/commands/list-contexts/index.js +36 -0
- package/dist/commands/login/index.d.ts +10 -0
- package/dist/commands/login/index.js +68 -0
- package/dist/commands/logout/index.d.ts +6 -0
- package/dist/commands/logout/index.js +21 -0
- package/dist/commands/openapi/index.d.ts +26 -0
- package/dist/commands/openapi/index.js +313 -0
- package/dist/commands/run/index.d.ts +18 -0
- package/dist/commands/run/index.js +155 -0
- package/dist/commands/serve/index.d.ts +13 -0
- package/dist/commands/serve/index.js +93 -0
- package/dist/commands/services/index.d.ts +14 -0
- package/dist/commands/services/index.js +71 -0
- package/dist/commands/set-context/index.d.ts +17 -0
- package/dist/commands/set-context/index.js +69 -0
- package/dist/commands/up/index.d.ts +19 -0
- package/dist/commands/up/index.js +196 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -0
- package/dist/lib/command.d.ts +6 -0
- package/dist/lib/command.js +21 -0
- package/dist/lib/debug.d.ts +1 -0
- package/dist/lib/debug.js +5 -0
- package/dist/lib/entrypoint-resolver.d.ts +52 -0
- package/dist/lib/entrypoint-resolver.js +125 -0
- package/dist/lib/error.d.ts +1 -0
- package/dist/lib/error.js +20 -0
- package/dist/lib/fetch.d.ts +7 -0
- package/dist/lib/fetch.js +43 -0
- package/dist/lib/init-user-input.d.ts +18 -0
- package/dist/lib/init-user-input.js +87 -0
- package/dist/lib/random-name.d.ts +1 -0
- package/dist/lib/random-name.js +161 -0
- package/dist/lib/random-string.d.ts +1 -0
- package/dist/lib/random-string.js +12 -0
- package/dist/lib/repository.d.ts +3 -0
- package/dist/lib/repository.js +51 -0
- package/dist/lib/stream-to-blob.d.ts +2 -0
- package/dist/lib/stream-to-blob.js +27 -0
- package/dist/lib/up/get-description.d.ts +1 -0
- package/dist/lib/up/get-description.js +29 -0
- package/dist/lib/up/ignore.d.ts +1 -0
- package/dist/lib/up/ignore.js +21 -0
- package/dist/lib/up/zip.d.ts +1 -0
- package/dist/lib/up/zip.js +40 -0
- package/dist/model/account.d.ts +5 -0
- package/dist/model/account.js +2 -0
- package/dist/model/command.d.ts +12 -0
- package/dist/model/command.js +55 -0
- package/dist/model/managed-service-config.d.ts +28 -0
- package/dist/model/managed-service-config.js +16 -0
- package/dist/model/user-config.d.ts +22 -0
- package/dist/model/user-config.js +8 -0
- package/dist/service/auth-service.d.ts +9 -0
- package/dist/service/auth-service.js +38 -0
- package/dist/service/command-service.d.ts +9 -0
- package/dist/service/command-service.js +14 -0
- package/dist/service/quantum-hub-service.d.ts +24 -0
- package/dist/service/quantum-hub-service.js +222 -0
- package/dist/service/service-config-service.d.ts +3 -0
- package/dist/service/service-config-service.js +26 -0
- package/dist/service/user-config-service.d.ts +3 -0
- package/dist/service/user-config-service.js +26 -0
- package/dist/service/user-service.d.ts +9 -0
- package/dist/service/user-service.js +35 -0
- package/oclif.manifest.json +530 -0
- package/package.json +107 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Quantum Hub Platform API
|
|
3
|
+
* Part of the OpenAPI specification for the Quantum Hub Platform.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
* Contact: info@anaqor.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MeteringResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface MeteringResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof MeteringResponse
|
|
22
|
+
*/
|
|
23
|
+
testMode?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MeteringResponse
|
|
28
|
+
*/
|
|
29
|
+
productId?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof MeteringResponse
|
|
34
|
+
*/
|
|
35
|
+
count?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof MeteringResponse
|
|
40
|
+
*/
|
|
41
|
+
correlationId?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the MeteringResponse interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfMeteringResponse(value: object): value is MeteringResponse;
|
|
47
|
+
export declare function MeteringResponseFromJSON(json: any): MeteringResponse;
|
|
48
|
+
export declare function MeteringResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MeteringResponse;
|
|
49
|
+
export declare function MeteringResponseToJSON(value?: MeteringResponse | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Quantum Hub Platform API
|
|
6
|
+
* Part of the OpenAPI specification for the Quantum Hub Platform.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
* Contact: info@anaqor.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfMeteringResponse = instanceOfMeteringResponse;
|
|
17
|
+
exports.MeteringResponseFromJSON = MeteringResponseFromJSON;
|
|
18
|
+
exports.MeteringResponseFromJSONTyped = MeteringResponseFromJSONTyped;
|
|
19
|
+
exports.MeteringResponseToJSON = MeteringResponseToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the MeteringResponse interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfMeteringResponse(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function MeteringResponseFromJSON(json) {
|
|
27
|
+
return MeteringResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function MeteringResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'testMode': json['testMode'] == null ? undefined : json['testMode'],
|
|
35
|
+
'productId': json['productId'] == null ? undefined : json['productId'],
|
|
36
|
+
'count': json['count'] == null ? undefined : json['count'],
|
|
37
|
+
'correlationId': json['correlationId'] == null ? undefined : json['correlationId'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function MeteringResponseToJSON(value) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'testMode': value['testMode'],
|
|
46
|
+
'productId': value['productId'],
|
|
47
|
+
'count': value['count'],
|
|
48
|
+
'correlationId': value['correlationId'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Quantum Hub Platform API
|
|
3
|
+
* Part of the OpenAPI specification for the Quantum Hub Platform.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
* Contact: info@anaqor.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AmountMajorDto } from './AmountMajorDto';
|
|
13
|
+
import type { ProductGroupDto } from './ProductGroupDto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface MonthAmountDto
|
|
18
|
+
*/
|
|
19
|
+
export interface MonthAmountDto {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof MonthAmountDto
|
|
24
|
+
*/
|
|
25
|
+
year?: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof MonthAmountDto
|
|
30
|
+
*/
|
|
31
|
+
month?: number;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {AmountMajorDto}
|
|
35
|
+
* @memberof MonthAmountDto
|
|
36
|
+
*/
|
|
37
|
+
amountMajor?: AmountMajorDto;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {Array<ProductGroupDto>}
|
|
41
|
+
* @memberof MonthAmountDto
|
|
42
|
+
*/
|
|
43
|
+
groups?: Array<ProductGroupDto>;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the MonthAmountDto interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfMonthAmountDto(value: object): value is MonthAmountDto;
|
|
49
|
+
export declare function MonthAmountDtoFromJSON(json: any): MonthAmountDto;
|
|
50
|
+
export declare function MonthAmountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MonthAmountDto;
|
|
51
|
+
export declare function MonthAmountDtoToJSON(value?: MonthAmountDto | null): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Quantum Hub Platform API
|
|
6
|
+
* Part of the OpenAPI specification for the Quantum Hub Platform.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
* Contact: info@anaqor.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfMonthAmountDto = instanceOfMonthAmountDto;
|
|
17
|
+
exports.MonthAmountDtoFromJSON = MonthAmountDtoFromJSON;
|
|
18
|
+
exports.MonthAmountDtoFromJSONTyped = MonthAmountDtoFromJSONTyped;
|
|
19
|
+
exports.MonthAmountDtoToJSON = MonthAmountDtoToJSON;
|
|
20
|
+
const AmountMajorDto_1 = require("./AmountMajorDto");
|
|
21
|
+
const ProductGroupDto_1 = require("./ProductGroupDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the MonthAmountDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfMonthAmountDto(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function MonthAmountDtoFromJSON(json) {
|
|
29
|
+
return MonthAmountDtoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function MonthAmountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'year': json['year'] == null ? undefined : json['year'],
|
|
37
|
+
'month': json['month'] == null ? undefined : json['month'],
|
|
38
|
+
'amountMajor': json['amountMajor'] == null ? undefined : (0, AmountMajorDto_1.AmountMajorDtoFromJSON)(json['amountMajor']),
|
|
39
|
+
'groups': json['groups'] == null ? undefined : (json['groups'].map(ProductGroupDto_1.ProductGroupDtoFromJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function MonthAmountDtoToJSON(value) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'year': value['year'],
|
|
48
|
+
'month': value['month'],
|
|
49
|
+
'amountMajor': (0, AmountMajorDto_1.AmountMajorDtoToJSON)(value['amountMajor']),
|
|
50
|
+
'groups': value['groups'] == null ? undefined : (value['groups'].map(ProductGroupDto_1.ProductGroupDtoToJSON)),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Quantum Hub Platform API
|
|
3
|
+
* Part of the OpenAPI specification for the Quantum Hub Platform.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
* Contact: info@anaqor.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OwnerDto
|
|
16
|
+
*/
|
|
17
|
+
export interface OwnerDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OwnerDto
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OwnerDto
|
|
28
|
+
*/
|
|
29
|
+
firstname?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OwnerDto
|
|
34
|
+
*/
|
|
35
|
+
lastname?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof OwnerDto
|
|
40
|
+
*/
|
|
41
|
+
academicTitle?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof OwnerDto
|
|
46
|
+
*/
|
|
47
|
+
displayName?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof OwnerDto
|
|
52
|
+
*/
|
|
53
|
+
isOrganization?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof OwnerDto
|
|
58
|
+
*/
|
|
59
|
+
isExpert?: boolean;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the OwnerDto interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfOwnerDto(value: object): value is OwnerDto;
|
|
65
|
+
export declare function OwnerDtoFromJSON(json: any): OwnerDto;
|
|
66
|
+
export declare function OwnerDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): OwnerDto;
|
|
67
|
+
export declare function OwnerDtoToJSON(value?: OwnerDto | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Quantum Hub Platform API
|
|
6
|
+
* Part of the OpenAPI specification for the Quantum Hub Platform.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
* Contact: info@anaqor.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfOwnerDto = instanceOfOwnerDto;
|
|
17
|
+
exports.OwnerDtoFromJSON = OwnerDtoFromJSON;
|
|
18
|
+
exports.OwnerDtoFromJSONTyped = OwnerDtoFromJSONTyped;
|
|
19
|
+
exports.OwnerDtoToJSON = OwnerDtoToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the OwnerDto interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfOwnerDto(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function OwnerDtoFromJSON(json) {
|
|
27
|
+
return OwnerDtoFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function OwnerDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
35
|
+
'firstname': json['firstname'] == null ? undefined : json['firstname'],
|
|
36
|
+
'lastname': json['lastname'] == null ? undefined : json['lastname'],
|
|
37
|
+
'academicTitle': json['academicTitle'] == null ? undefined : json['academicTitle'],
|
|
38
|
+
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
39
|
+
'isOrganization': json['isOrganization'] == null ? undefined : json['isOrganization'],
|
|
40
|
+
'isExpert': json['isExpert'] == null ? undefined : json['isExpert'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function OwnerDtoToJSON(value) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': value['id'],
|
|
49
|
+
'firstname': value['firstname'],
|
|
50
|
+
'lastname': value['lastname'],
|
|
51
|
+
'academicTitle': value['academicTitle'],
|
|
52
|
+
'displayName': value['displayName'],
|
|
53
|
+
'isOrganization': value['isOrganization'],
|
|
54
|
+
'isExpert': value['isExpert'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Quantum Hub Platform API
|
|
3
|
+
* Part of the OpenAPI specification for the Quantum Hub Platform.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
* Contact: info@anaqor.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { PageableObject } from './PageableObject';
|
|
13
|
+
import type { SortObject } from './SortObject';
|
|
14
|
+
import type { DataPoolDto } from './DataPoolDto';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface PageDataPoolDto
|
|
19
|
+
*/
|
|
20
|
+
export interface PageDataPoolDto {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @memberof PageDataPoolDto
|
|
25
|
+
*/
|
|
26
|
+
totalPages?: number;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof PageDataPoolDto
|
|
31
|
+
*/
|
|
32
|
+
totalElements?: number;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {boolean}
|
|
36
|
+
* @memberof PageDataPoolDto
|
|
37
|
+
*/
|
|
38
|
+
first?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {number}
|
|
42
|
+
* @memberof PageDataPoolDto
|
|
43
|
+
*/
|
|
44
|
+
size?: number;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Array<DataPoolDto>}
|
|
48
|
+
* @memberof PageDataPoolDto
|
|
49
|
+
*/
|
|
50
|
+
content?: Array<DataPoolDto>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {number}
|
|
54
|
+
* @memberof PageDataPoolDto
|
|
55
|
+
*/
|
|
56
|
+
number?: number;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {SortObject}
|
|
60
|
+
* @memberof PageDataPoolDto
|
|
61
|
+
*/
|
|
62
|
+
sort?: SortObject;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {number}
|
|
66
|
+
* @memberof PageDataPoolDto
|
|
67
|
+
*/
|
|
68
|
+
numberOfElements?: number;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {PageableObject}
|
|
72
|
+
* @memberof PageDataPoolDto
|
|
73
|
+
*/
|
|
74
|
+
pageable?: PageableObject;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {boolean}
|
|
78
|
+
* @memberof PageDataPoolDto
|
|
79
|
+
*/
|
|
80
|
+
last?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {boolean}
|
|
84
|
+
* @memberof PageDataPoolDto
|
|
85
|
+
*/
|
|
86
|
+
empty?: boolean;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Check if a given object implements the PageDataPoolDto interface.
|
|
90
|
+
*/
|
|
91
|
+
export declare function instanceOfPageDataPoolDto(value: object): value is PageDataPoolDto;
|
|
92
|
+
export declare function PageDataPoolDtoFromJSON(json: any): PageDataPoolDto;
|
|
93
|
+
export declare function PageDataPoolDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageDataPoolDto;
|
|
94
|
+
export declare function PageDataPoolDtoToJSON(value?: PageDataPoolDto | null): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Quantum Hub Platform API
|
|
6
|
+
* Part of the OpenAPI specification for the Quantum Hub Platform.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
* Contact: info@anaqor.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPageDataPoolDto = instanceOfPageDataPoolDto;
|
|
17
|
+
exports.PageDataPoolDtoFromJSON = PageDataPoolDtoFromJSON;
|
|
18
|
+
exports.PageDataPoolDtoFromJSONTyped = PageDataPoolDtoFromJSONTyped;
|
|
19
|
+
exports.PageDataPoolDtoToJSON = PageDataPoolDtoToJSON;
|
|
20
|
+
const PageableObject_1 = require("./PageableObject");
|
|
21
|
+
const SortObject_1 = require("./SortObject");
|
|
22
|
+
const DataPoolDto_1 = require("./DataPoolDto");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PageDataPoolDto interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPageDataPoolDto(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function PageDataPoolDtoFromJSON(json) {
|
|
30
|
+
return PageDataPoolDtoFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function PageDataPoolDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
|
|
38
|
+
'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
|
|
39
|
+
'first': json['first'] == null ? undefined : json['first'],
|
|
40
|
+
'size': json['size'] == null ? undefined : json['size'],
|
|
41
|
+
'content': json['content'] == null ? undefined : (json['content'].map(DataPoolDto_1.DataPoolDtoFromJSON)),
|
|
42
|
+
'number': json['number'] == null ? undefined : json['number'],
|
|
43
|
+
'sort': json['sort'] == null ? undefined : (0, SortObject_1.SortObjectFromJSON)(json['sort']),
|
|
44
|
+
'numberOfElements': json['numberOfElements'] == null ? undefined : json['numberOfElements'],
|
|
45
|
+
'pageable': json['pageable'] == null ? undefined : (0, PageableObject_1.PageableObjectFromJSON)(json['pageable']),
|
|
46
|
+
'last': json['last'] == null ? undefined : json['last'],
|
|
47
|
+
'empty': json['empty'] == null ? undefined : json['empty'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function PageDataPoolDtoToJSON(value) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'totalPages': value['totalPages'],
|
|
56
|
+
'totalElements': value['totalElements'],
|
|
57
|
+
'first': value['first'],
|
|
58
|
+
'size': value['size'],
|
|
59
|
+
'content': value['content'] == null ? undefined : (value['content'].map(DataPoolDto_1.DataPoolDtoToJSON)),
|
|
60
|
+
'number': value['number'],
|
|
61
|
+
'sort': (0, SortObject_1.SortObjectToJSON)(value['sort']),
|
|
62
|
+
'numberOfElements': value['numberOfElements'],
|
|
63
|
+
'pageable': (0, PageableObject_1.PageableObjectToJSON)(value['pageable']),
|
|
64
|
+
'last': value['last'],
|
|
65
|
+
'empty': value['empty'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Quantum Hub Platform API
|
|
3
|
+
* Part of the OpenAPI specification for the Quantum Hub Platform.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
* Contact: info@anaqor.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SortObject } from './SortObject';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PageableObject
|
|
17
|
+
*/
|
|
18
|
+
export interface PageableObject {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof PageableObject
|
|
23
|
+
*/
|
|
24
|
+
offset?: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SortObject}
|
|
28
|
+
* @memberof PageableObject
|
|
29
|
+
*/
|
|
30
|
+
sort?: SortObject;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof PageableObject
|
|
35
|
+
*/
|
|
36
|
+
pageSize?: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof PageableObject
|
|
41
|
+
*/
|
|
42
|
+
pageNumber?: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof PageableObject
|
|
47
|
+
*/
|
|
48
|
+
paged?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof PageableObject
|
|
53
|
+
*/
|
|
54
|
+
unpaged?: boolean;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the PageableObject interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfPageableObject(value: object): value is PageableObject;
|
|
60
|
+
export declare function PageableObjectFromJSON(json: any): PageableObject;
|
|
61
|
+
export declare function PageableObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageableObject;
|
|
62
|
+
export declare function PageableObjectToJSON(value?: PageableObject | null): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Quantum Hub Platform API
|
|
6
|
+
* Part of the OpenAPI specification for the Quantum Hub Platform.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
* Contact: info@anaqor.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPageableObject = instanceOfPageableObject;
|
|
17
|
+
exports.PageableObjectFromJSON = PageableObjectFromJSON;
|
|
18
|
+
exports.PageableObjectFromJSONTyped = PageableObjectFromJSONTyped;
|
|
19
|
+
exports.PageableObjectToJSON = PageableObjectToJSON;
|
|
20
|
+
const SortObject_1 = require("./SortObject");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PageableObject interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPageableObject(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function PageableObjectFromJSON(json) {
|
|
28
|
+
return PageableObjectFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function PageableObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'offset': json['offset'] == null ? undefined : json['offset'],
|
|
36
|
+
'sort': json['sort'] == null ? undefined : (0, SortObject_1.SortObjectFromJSON)(json['sort']),
|
|
37
|
+
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
38
|
+
'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
|
|
39
|
+
'paged': json['paged'] == null ? undefined : json['paged'],
|
|
40
|
+
'unpaged': json['unpaged'] == null ? undefined : json['unpaged'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function PageableObjectToJSON(value) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'offset': value['offset'],
|
|
49
|
+
'sort': (0, SortObject_1.SortObjectToJSON)(value['sort']),
|
|
50
|
+
'pageSize': value['pageSize'],
|
|
51
|
+
'pageNumber': value['pageNumber'],
|
|
52
|
+
'paged': value['paged'],
|
|
53
|
+
'unpaged': value['unpaged'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Quantum Hub Platform API
|
|
3
|
+
* Part of the OpenAPI specification for the Quantum Hub Platform.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
* Contact: info@anaqor.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ProductDto } from './ProductDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PricingPlanDto
|
|
17
|
+
*/
|
|
18
|
+
export interface PricingPlanDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof PricingPlanDto
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PricingPlanDto
|
|
29
|
+
*/
|
|
30
|
+
type?: PricingPlanDtoTypeEnum;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<ProductDto>}
|
|
34
|
+
* @memberof PricingPlanDto
|
|
35
|
+
*/
|
|
36
|
+
products?: Array<ProductDto>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
export declare const PricingPlanDtoTypeEnum: {
|
|
42
|
+
readonly Free: "FREE";
|
|
43
|
+
readonly Commercial: "COMMERCIAL";
|
|
44
|
+
};
|
|
45
|
+
export type PricingPlanDtoTypeEnum = typeof PricingPlanDtoTypeEnum[keyof typeof PricingPlanDtoTypeEnum];
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the PricingPlanDto interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfPricingPlanDto(value: object): value is PricingPlanDto;
|
|
50
|
+
export declare function PricingPlanDtoFromJSON(json: any): PricingPlanDto;
|
|
51
|
+
export declare function PricingPlanDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PricingPlanDto;
|
|
52
|
+
export declare function PricingPlanDtoToJSON(value?: PricingPlanDto | null): any;
|