tuix-subscription-service-client 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +22 -0
- package/apis/ClientApi.js +262 -0
- package/apis/ClientApi.js.map +1 -1
- package/apis/ClientApi.ts +431 -0
- package/docs/APIKeyDTO.md +40 -0
- package/docs/AccountDTO.md +34 -0
- package/docs/ApplicationDTO.md +42 -0
- package/docs/ApplicationWithApplicationCountDTO.md +44 -0
- package/docs/ClientApi.md +655 -0
- package/docs/CreateAPIKeyRequestDTO.md +34 -0
- package/docs/CreateAPIKeyResponseDTO.md +42 -0
- package/docs/CreateAccountDTO.md +36 -0
- package/docs/CreateApplicationDTO.md +36 -0
- package/docs/GetAPIKeysResponseDTO.md +42 -0
- package/docs/PaginatedApplicationsDTO.md +42 -0
- package/docs/UpdateApplicationDTO.md +36 -0
- package/models/APIKeyDTO.js +55 -0
- package/models/APIKeyDTO.js.map +1 -0
- package/models/APIKeyDTO.ts +89 -0
- package/models/AccountDTO.js +49 -0
- package/models/AccountDTO.js.map +1 -0
- package/models/AccountDTO.ts +65 -0
- package/models/ApplicationDTO.js +57 -0
- package/models/ApplicationDTO.js.map +1 -0
- package/models/ApplicationDTO.ts +97 -0
- package/models/ApplicationWithApplicationCountDTO.js +59 -0
- package/models/ApplicationWithApplicationCountDTO.js.map +1 -0
- package/models/ApplicationWithApplicationCountDTO.ts +105 -0
- package/models/CreateAPIKeyRequestDTO.js +51 -0
- package/models/CreateAPIKeyRequestDTO.js.map +1 -0
- package/models/CreateAPIKeyRequestDTO.ts +66 -0
- package/models/CreateAPIKeyResponseDTO.js +57 -0
- package/models/CreateAPIKeyResponseDTO.js.map +1 -0
- package/models/CreateAPIKeyResponseDTO.ts +97 -0
- package/models/CreateAccountDTO.js +55 -0
- package/models/CreateAccountDTO.js.map +1 -0
- package/models/CreateAccountDTO.ts +75 -0
- package/models/CreateApplicationDTO.js +55 -0
- package/models/CreateApplicationDTO.js.map +1 -0
- package/models/CreateApplicationDTO.ts +75 -0
- package/models/GetAPIKeysResponseDTO.js +58 -0
- package/models/GetAPIKeysResponseDTO.js.map +1 -0
- package/models/GetAPIKeysResponseDTO.ts +105 -0
- package/models/PaginatedApplicationsDTO.js +68 -0
- package/models/PaginatedApplicationsDTO.js.map +1 -0
- package/models/PaginatedApplicationsDTO.ts +110 -0
- package/models/UpdateApplicationDTO.js +51 -0
- package/models/UpdateApplicationDTO.js.map +1 -0
- package/models/UpdateApplicationDTO.ts +73 -0
- package/models/index.js +11 -0
- package/models/index.js.map +1 -1
- package/models/index.ts +11 -0
- package/package.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tuix Subscriptions Service
|
|
5
|
+
* Service to manage Tuix Subscriptions
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.0.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface CreateApplicationDTO
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateApplicationDTO {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CreateApplicationDTO
|
|
26
|
+
*/
|
|
27
|
+
description: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CreateApplicationDTO
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the CreateApplicationDTO interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfCreateApplicationDTO(value: object): value is CreateApplicationDTO {
|
|
40
|
+
if (!('description' in value) || value['description'] === undefined) return false;
|
|
41
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function CreateApplicationDTOFromJSON(json: any): CreateApplicationDTO {
|
|
46
|
+
return CreateApplicationDTOFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function CreateApplicationDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateApplicationDTO {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'description': json['description'],
|
|
56
|
+
'name': json['name'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function CreateApplicationDTOToJSON(json: any): CreateApplicationDTO {
|
|
61
|
+
return CreateApplicationDTOToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function CreateApplicationDTOToJSONTyped(value?: CreateApplicationDTO | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'description': value['description'],
|
|
72
|
+
'name': value['name'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tuix Subscriptions Service
|
|
6
|
+
* Service to manage Tuix Subscriptions
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
*
|
|
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.instanceOfGetAPIKeysResponseDTO = instanceOfGetAPIKeysResponseDTO;
|
|
17
|
+
exports.GetAPIKeysResponseDTOFromJSON = GetAPIKeysResponseDTOFromJSON;
|
|
18
|
+
exports.GetAPIKeysResponseDTOFromJSONTyped = GetAPIKeysResponseDTOFromJSONTyped;
|
|
19
|
+
exports.GetAPIKeysResponseDTOToJSON = GetAPIKeysResponseDTOToJSON;
|
|
20
|
+
exports.GetAPIKeysResponseDTOToJSONTyped = GetAPIKeysResponseDTOToJSONTyped;
|
|
21
|
+
const APIKeyDTO_1 = require("./APIKeyDTO");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GetAPIKeysResponseDTO interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGetAPIKeysResponseDTO(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function GetAPIKeysResponseDTOFromJSON(json) {
|
|
29
|
+
return GetAPIKeysResponseDTOFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function GetAPIKeysResponseDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'items': json['items'] == null ? undefined : (json['items'].map(APIKeyDTO_1.APIKeyDTOFromJSON)),
|
|
37
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
38
|
+
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
39
|
+
'totalItems': json['totalItems'] == null ? undefined : json['totalItems'],
|
|
40
|
+
'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function GetAPIKeysResponseDTOToJSON(json) {
|
|
44
|
+
return GetAPIKeysResponseDTOToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GetAPIKeysResponseDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'items': value['items'] == null ? undefined : (value['items'].map(APIKeyDTO_1.APIKeyDTOToJSON)),
|
|
52
|
+
'page': value['page'],
|
|
53
|
+
'pageSize': value['pageSize'],
|
|
54
|
+
'totalItems': value['totalItems'],
|
|
55
|
+
'totalPages': value['totalPages'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=GetAPIKeysResponseDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetAPIKeysResponseDTO.js","sourceRoot":"","sources":["GetAPIKeysResponseDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAoDH,0EAEC;AAED,sEAEC;AAED,gFAYC;AAED,kEAEC;AAED,4EAaC;AAvFD,2CAKqB;AAwCrB;;GAEG;AACH,SAAgB,+BAA+B,CAAC,KAAa;IACzD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS,EAAE,mBAA4B;IACtF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,6BAAiB,CAAC,CAAC;QACnG,MAAM,EAAE,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uix Subscriptions
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.0.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { APIKeyDTO } from './APIKeyDTO';
|
|
17
|
+
import {
|
|
18
|
+
APIKeyDTOFromJSON,
|
|
19
|
+
APIKeyDTOFromJSONTyped,
|
|
20
|
+
APIKeyDTOToJSON,
|
|
21
|
+
APIKeyDTOToJSONTyped,
|
|
22
|
+
} from './APIKeyDTO';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface GetAPIKeysResponseDTO
|
|
28
|
+
*/
|
|
29
|
+
export interface GetAPIKeysResponseDTO {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<APIKeyDTO>}
|
|
33
|
+
* @memberof GetAPIKeysResponseDTO
|
|
34
|
+
*/
|
|
35
|
+
items?: Array<APIKeyDTO>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetAPIKeysResponseDTO
|
|
40
|
+
*/
|
|
41
|
+
page?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof GetAPIKeysResponseDTO
|
|
46
|
+
*/
|
|
47
|
+
pageSize?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof GetAPIKeysResponseDTO
|
|
52
|
+
*/
|
|
53
|
+
totalItems?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof GetAPIKeysResponseDTO
|
|
58
|
+
*/
|
|
59
|
+
totalPages?: number;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the GetAPIKeysResponseDTO interface.
|
|
64
|
+
*/
|
|
65
|
+
export function instanceOfGetAPIKeysResponseDTO(value: object): value is GetAPIKeysResponseDTO {
|
|
66
|
+
return true;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function GetAPIKeysResponseDTOFromJSON(json: any): GetAPIKeysResponseDTO {
|
|
70
|
+
return GetAPIKeysResponseDTOFromJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function GetAPIKeysResponseDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAPIKeysResponseDTO {
|
|
74
|
+
if (json == null) {
|
|
75
|
+
return json;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'items': json['items'] == null ? undefined : ((json['items'] as Array<any>).map(APIKeyDTOFromJSON)),
|
|
80
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
81
|
+
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
82
|
+
'totalItems': json['totalItems'] == null ? undefined : json['totalItems'],
|
|
83
|
+
'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function GetAPIKeysResponseDTOToJSON(json: any): GetAPIKeysResponseDTO {
|
|
88
|
+
return GetAPIKeysResponseDTOToJSONTyped(json, false);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function GetAPIKeysResponseDTOToJSONTyped(value?: GetAPIKeysResponseDTO | null, ignoreDiscriminator: boolean = false): any {
|
|
92
|
+
if (value == null) {
|
|
93
|
+
return value;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
return {
|
|
97
|
+
|
|
98
|
+
'items': value['items'] == null ? undefined : ((value['items'] as Array<any>).map(APIKeyDTOToJSON)),
|
|
99
|
+
'page': value['page'],
|
|
100
|
+
'pageSize': value['pageSize'],
|
|
101
|
+
'totalItems': value['totalItems'],
|
|
102
|
+
'totalPages': value['totalPages'],
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tuix Subscriptions Service
|
|
6
|
+
* Service to manage Tuix Subscriptions
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
*
|
|
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.instanceOfPaginatedApplicationsDTO = instanceOfPaginatedApplicationsDTO;
|
|
17
|
+
exports.PaginatedApplicationsDTOFromJSON = PaginatedApplicationsDTOFromJSON;
|
|
18
|
+
exports.PaginatedApplicationsDTOFromJSONTyped = PaginatedApplicationsDTOFromJSONTyped;
|
|
19
|
+
exports.PaginatedApplicationsDTOToJSON = PaginatedApplicationsDTOToJSON;
|
|
20
|
+
exports.PaginatedApplicationsDTOToJSONTyped = PaginatedApplicationsDTOToJSONTyped;
|
|
21
|
+
const ApplicationWithApplicationCountDTO_1 = require("./ApplicationWithApplicationCountDTO");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PaginatedApplicationsDTO interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPaginatedApplicationsDTO(value) {
|
|
26
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('page' in value) || value['page'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('pageSize' in value) || value['pageSize'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('totalItems' in value) || value['totalItems'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('totalPages' in value) || value['totalPages'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function PaginatedApplicationsDTOFromJSON(json) {
|
|
39
|
+
return PaginatedApplicationsDTOFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function PaginatedApplicationsDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'items': (json['items'].map(ApplicationWithApplicationCountDTO_1.ApplicationWithApplicationCountDTOFromJSON)),
|
|
47
|
+
'page': json['page'],
|
|
48
|
+
'pageSize': json['pageSize'],
|
|
49
|
+
'totalItems': json['totalItems'],
|
|
50
|
+
'totalPages': json['totalPages'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function PaginatedApplicationsDTOToJSON(json) {
|
|
54
|
+
return PaginatedApplicationsDTOToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function PaginatedApplicationsDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'items': (value['items'].map(ApplicationWithApplicationCountDTO_1.ApplicationWithApplicationCountDTOToJSON)),
|
|
62
|
+
'page': value['page'],
|
|
63
|
+
'pageSize': value['pageSize'],
|
|
64
|
+
'totalItems': value['totalItems'],
|
|
65
|
+
'totalPages': value['totalPages'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=PaginatedApplicationsDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaginatedApplicationsDTO.js","sourceRoot":"","sources":["PaginatedApplicationsDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAA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E,IAAI,CAAC,YAAY,CAAC;KACnC,CAAC;AACN,CAAC;AAED,SAAgB,8BAA8B,CAAC,IAAS;IACpD,OAAO,mCAAmC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED,SAAgB,mCAAmC,CAAC,KAAuC,EAAE,sBAA+B,KAAK;IAC7H,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,OAAO,EAAE,CAAE,KAAK,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,6EAAwC,CAAC,CAAC;QACvF,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tuix Subscriptions Service
|
|
5
|
+
* Service to manage Tuix Subscriptions
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.0.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ApplicationWithApplicationCountDTO } from './ApplicationWithApplicationCountDTO';
|
|
17
|
+
import {
|
|
18
|
+
ApplicationWithApplicationCountDTOFromJSON,
|
|
19
|
+
ApplicationWithApplicationCountDTOFromJSONTyped,
|
|
20
|
+
ApplicationWithApplicationCountDTOToJSON,
|
|
21
|
+
ApplicationWithApplicationCountDTOToJSONTyped,
|
|
22
|
+
} from './ApplicationWithApplicationCountDTO';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface PaginatedApplicationsDTO
|
|
28
|
+
*/
|
|
29
|
+
export interface PaginatedApplicationsDTO {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<ApplicationWithApplicationCountDTO>}
|
|
33
|
+
* @memberof PaginatedApplicationsDTO
|
|
34
|
+
*/
|
|
35
|
+
items: Array<ApplicationWithApplicationCountDTO>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof PaginatedApplicationsDTO
|
|
40
|
+
*/
|
|
41
|
+
page: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PaginatedApplicationsDTO
|
|
46
|
+
*/
|
|
47
|
+
pageSize: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PaginatedApplicationsDTO
|
|
52
|
+
*/
|
|
53
|
+
totalItems: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof PaginatedApplicationsDTO
|
|
58
|
+
*/
|
|
59
|
+
totalPages: number;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the PaginatedApplicationsDTO interface.
|
|
64
|
+
*/
|
|
65
|
+
export function instanceOfPaginatedApplicationsDTO(value: object): value is PaginatedApplicationsDTO {
|
|
66
|
+
if (!('items' in value) || value['items'] === undefined) return false;
|
|
67
|
+
if (!('page' in value) || value['page'] === undefined) return false;
|
|
68
|
+
if (!('pageSize' in value) || value['pageSize'] === undefined) return false;
|
|
69
|
+
if (!('totalItems' in value) || value['totalItems'] === undefined) return false;
|
|
70
|
+
if (!('totalPages' in value) || value['totalPages'] === undefined) return false;
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function PaginatedApplicationsDTOFromJSON(json: any): PaginatedApplicationsDTO {
|
|
75
|
+
return PaginatedApplicationsDTOFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function PaginatedApplicationsDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedApplicationsDTO {
|
|
79
|
+
if (json == null) {
|
|
80
|
+
return json;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'items': ((json['items'] as Array<any>).map(ApplicationWithApplicationCountDTOFromJSON)),
|
|
85
|
+
'page': json['page'],
|
|
86
|
+
'pageSize': json['pageSize'],
|
|
87
|
+
'totalItems': json['totalItems'],
|
|
88
|
+
'totalPages': json['totalPages'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function PaginatedApplicationsDTOToJSON(json: any): PaginatedApplicationsDTO {
|
|
93
|
+
return PaginatedApplicationsDTOToJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function PaginatedApplicationsDTOToJSONTyped(value?: PaginatedApplicationsDTO | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
+
if (value == null) {
|
|
98
|
+
return value;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return {
|
|
102
|
+
|
|
103
|
+
'items': ((value['items'] as Array<any>).map(ApplicationWithApplicationCountDTOToJSON)),
|
|
104
|
+
'page': value['page'],
|
|
105
|
+
'pageSize': value['pageSize'],
|
|
106
|
+
'totalItems': value['totalItems'],
|
|
107
|
+
'totalPages': value['totalPages'],
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tuix Subscriptions Service
|
|
6
|
+
* Service to manage Tuix Subscriptions
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.1
|
|
9
|
+
*
|
|
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.instanceOfUpdateApplicationDTO = instanceOfUpdateApplicationDTO;
|
|
17
|
+
exports.UpdateApplicationDTOFromJSON = UpdateApplicationDTOFromJSON;
|
|
18
|
+
exports.UpdateApplicationDTOFromJSONTyped = UpdateApplicationDTOFromJSONTyped;
|
|
19
|
+
exports.UpdateApplicationDTOToJSON = UpdateApplicationDTOToJSON;
|
|
20
|
+
exports.UpdateApplicationDTOToJSONTyped = UpdateApplicationDTOToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateApplicationDTO interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateApplicationDTO(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function UpdateApplicationDTOFromJSON(json) {
|
|
28
|
+
return UpdateApplicationDTOFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function UpdateApplicationDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
36
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function UpdateApplicationDTOToJSON(json) {
|
|
40
|
+
return UpdateApplicationDTOToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function UpdateApplicationDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'description': value['description'],
|
|
48
|
+
'name': value['name'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=UpdateApplicationDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateApplicationDTO.js","sourceRoot":"","sources":["UpdateApplicationDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,wEAEC;AAED,oEAEC;AAED,8EASC;AAED,gEAEC;AAED,0EAUC;AApCD;;GAEG;AACH,SAAgB,8BAA8B,CAAC,KAAa;IACxD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAED,SAAgB,iCAAiC,CAAC,IAAS,EAAE,mBAA4B;IACrF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;QAC5E,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;KAC1D,CAAC;AACN,CAAC;AAED,SAAgB,0BAA0B,CAAC,IAAS;IAChD,OAAO,+BAA+B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxD,CAAC;AAED,SAAgB,+BAA+B,CAAC,KAAmC,EAAE,sBAA+B,KAAK;IACrH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tuix Subscriptions Service
|
|
5
|
+
* Service to manage Tuix Subscriptions
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.0.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UpdateApplicationDTO
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateApplicationDTO {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdateApplicationDTO
|
|
26
|
+
*/
|
|
27
|
+
description?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateApplicationDTO
|
|
32
|
+
*/
|
|
33
|
+
name?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the UpdateApplicationDTO interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfUpdateApplicationDTO(value: object): value is UpdateApplicationDTO {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function UpdateApplicationDTOFromJSON(json: any): UpdateApplicationDTO {
|
|
44
|
+
return UpdateApplicationDTOFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function UpdateApplicationDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateApplicationDTO {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
|
|
53
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
54
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function UpdateApplicationDTOToJSON(json: any): UpdateApplicationDTO {
|
|
59
|
+
return UpdateApplicationDTOToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function UpdateApplicationDTOToJSONTyped(value?: UpdateApplicationDTO | null, ignoreDiscriminator: boolean = false): any {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'description': value['description'],
|
|
70
|
+
'name': value['name'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
package/models/index.js
CHANGED
|
@@ -16,10 +16,21 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./APIKeyDTO"), exports);
|
|
20
|
+
__exportStar(require("./AccountDTO"), exports);
|
|
21
|
+
__exportStar(require("./ApplicationDTO"), exports);
|
|
22
|
+
__exportStar(require("./ApplicationWithApplicationCountDTO"), exports);
|
|
23
|
+
__exportStar(require("./CreateAPIKeyRequestDTO"), exports);
|
|
24
|
+
__exportStar(require("./CreateAPIKeyResponseDTO"), exports);
|
|
25
|
+
__exportStar(require("./CreateAccountDTO"), exports);
|
|
26
|
+
__exportStar(require("./CreateApplicationDTO"), exports);
|
|
19
27
|
__exportStar(require("./CreateSubscriptionDTO"), exports);
|
|
20
28
|
__exportStar(require("./ErrorDTO"), exports);
|
|
29
|
+
__exportStar(require("./GetAPIKeysResponseDTO"), exports);
|
|
30
|
+
__exportStar(require("./PaginatedApplicationsDTO"), exports);
|
|
21
31
|
__exportStar(require("./SendNewsletterDTO"), exports);
|
|
22
32
|
__exportStar(require("./SubscriptionDTO"), exports);
|
|
23
33
|
__exportStar(require("./SubscriptionSentDTO"), exports);
|
|
24
34
|
__exportStar(require("./SubscriptionsSentResponseDTO"), exports);
|
|
35
|
+
__exportStar(require("./UpdateApplicationDTO"), exports);
|
|
25
36
|
//# sourceMappingURL=index.js.map
|
package/models/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,0DAAwC;AACxC,6CAA2B;AAC3B,sDAAoC;AACpC,oDAAkC;AAClC,wDAAsC;AACtC,iEAA+C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,8CAA4B;AAC5B,+CAA6B;AAC7B,mDAAiC;AACjC,uEAAqD;AACrD,2DAAyC;AACzC,4DAA0C;AAC1C,qDAAmC;AACnC,yDAAuC;AACvC,0DAAwC;AACxC,6CAA2B;AAC3B,0DAAwC;AACxC,6DAA2C;AAC3C,sDAAoC;AACpC,oDAAkC;AAClC,wDAAsC;AACtC,iEAA+C;AAC/C,yDAAuC"}
|
package/models/index.ts
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export * from './APIKeyDTO';
|
|
4
|
+
export * from './AccountDTO';
|
|
5
|
+
export * from './ApplicationDTO';
|
|
6
|
+
export * from './ApplicationWithApplicationCountDTO';
|
|
7
|
+
export * from './CreateAPIKeyRequestDTO';
|
|
8
|
+
export * from './CreateAPIKeyResponseDTO';
|
|
9
|
+
export * from './CreateAccountDTO';
|
|
10
|
+
export * from './CreateApplicationDTO';
|
|
3
11
|
export * from './CreateSubscriptionDTO';
|
|
4
12
|
export * from './ErrorDTO';
|
|
13
|
+
export * from './GetAPIKeysResponseDTO';
|
|
14
|
+
export * from './PaginatedApplicationsDTO';
|
|
5
15
|
export * from './SendNewsletterDTO';
|
|
6
16
|
export * from './SubscriptionDTO';
|
|
7
17
|
export * from './SubscriptionSentDTO';
|
|
8
18
|
export * from './SubscriptionsSentResponseDTO';
|
|
19
|
+
export * from './UpdateApplicationDTO';
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["./index.ts","./runtime.ts","./apis/ClientApi.ts","./apis/index.ts","./models/CreateSubscriptionDTO.ts","./models/ErrorDTO.ts","./models/SendNewsletterDTO.ts","./models/SubscriptionDTO.ts","./models/SubscriptionSentDTO.ts","./models/SubscriptionsSentResponseDTO.ts","./models/index.ts"],"version":"5.9.3"}
|
|
1
|
+
{"root":["./index.ts","./runtime.ts","./apis/ClientApi.ts","./apis/index.ts","./models/APIKeyDTO.ts","./models/AccountDTO.ts","./models/ApplicationDTO.ts","./models/ApplicationWithApplicationCountDTO.ts","./models/CreateAPIKeyRequestDTO.ts","./models/CreateAPIKeyResponseDTO.ts","./models/CreateAccountDTO.ts","./models/CreateApplicationDTO.ts","./models/CreateSubscriptionDTO.ts","./models/ErrorDTO.ts","./models/GetAPIKeysResponseDTO.ts","./models/PaginatedApplicationsDTO.ts","./models/SendNewsletterDTO.ts","./models/SubscriptionDTO.ts","./models/SubscriptionSentDTO.ts","./models/SubscriptionsSentResponseDTO.ts","./models/UpdateApplicationDTO.ts","./models/index.ts"],"version":"5.9.3"}
|