@teemill/projects 1.16.0 → 1.18.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/.openapi-generator/FILES +6 -23
- package/README.md +3 -3
- package/api.ts +2262 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +110 -0
- package/dist/api.d.ts +1400 -0
- package/dist/api.js +1374 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +65 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +161 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +43 -0
- package/dist/esm/api.d.ts +1400 -0
- package/dist/esm/api.js +1367 -0
- package/dist/esm/base.d.ts +66 -0
- package/dist/esm/base.js +60 -0
- package/dist/esm/common.d.ts +65 -0
- package/dist/esm/common.js +149 -0
- package/dist/esm/configuration.d.ts +91 -0
- package/dist/esm/configuration.js +39 -0
- package/dist/esm/index.d.ts +13 -3
- package/dist/esm/index.js +13 -3
- package/dist/index.d.ts +13 -3
- package/dist/index.js +15 -5
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +14 -2
- package/tsconfig.json +4 -6
- package/dist/apis/ProjectsApi.d.ts +0 -255
- package/dist/apis/ProjectsApi.js +0 -748
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -19
- package/dist/esm/apis/ProjectsApi.d.ts +0 -255
- package/dist/esm/apis/ProjectsApi.js +0 -744
- package/dist/esm/apis/index.d.ts +0 -1
- package/dist/esm/apis/index.js +0 -3
- package/dist/esm/models/ApiError.d.ts +0 -37
- package/dist/esm/models/ApiError.js +0 -42
- package/dist/esm/models/CreateInviteRequest.d.ts +0 -31
- package/dist/esm/models/CreateInviteRequest.js +0 -40
- package/dist/esm/models/CreateProjectRequest.d.ts +0 -43
- package/dist/esm/models/CreateProjectRequest.js +0 -44
- package/dist/esm/models/CreateUserRequest.d.ts +0 -56
- package/dist/esm/models/CreateUserRequest.js +0 -55
- package/dist/esm/models/CreateUserRequestAvatar.d.ts +0 -31
- package/dist/esm/models/CreateUserRequestAvatar.js +0 -43
- package/dist/esm/models/InstallTemplateRequest.d.ts +0 -31
- package/dist/esm/models/InstallTemplateRequest.js +0 -38
- package/dist/esm/models/Integration.d.ts +0 -49
- package/dist/esm/models/Integration.js +0 -47
- package/dist/esm/models/IntegrationInfo.d.ts +0 -49
- package/dist/esm/models/IntegrationInfo.js +0 -52
- package/dist/esm/models/IntegrationsResponse.d.ts +0 -32
- package/dist/esm/models/IntegrationsResponse.js +0 -41
- package/dist/esm/models/LegacyProjectLogo.d.ts +0 -37
- package/dist/esm/models/LegacyProjectLogo.js +0 -44
- package/dist/esm/models/Project.d.ts +0 -65
- package/dist/esm/models/Project.js +0 -59
- package/dist/esm/models/ProjectInvite.d.ts +0 -56
- package/dist/esm/models/ProjectInvite.js +0 -57
- package/dist/esm/models/ProjectInvites.d.ts +0 -38
- package/dist/esm/models/ProjectInvites.js +0 -45
- package/dist/esm/models/ProjectLogo.d.ts +0 -39
- package/dist/esm/models/ProjectLogo.js +0 -44
- package/dist/esm/models/ProjectManager.d.ts +0 -44
- package/dist/esm/models/ProjectManager.js +0 -49
- package/dist/esm/models/ProjectUser.d.ts +0 -83
- package/dist/esm/models/ProjectUser.js +0 -75
- package/dist/esm/models/ProjectUserAvatar.d.ts +0 -31
- package/dist/esm/models/ProjectUserAvatar.js +0 -38
- package/dist/esm/models/ProjectUsers.d.ts +0 -38
- package/dist/esm/models/ProjectUsers.js +0 -45
- package/dist/esm/models/ProjectsResponse.d.ts +0 -32
- package/dist/esm/models/ProjectsResponse.js +0 -41
- package/dist/esm/models/SetupIntegrationRequest.d.ts +0 -31
- package/dist/esm/models/SetupIntegrationRequest.js +0 -40
- package/dist/esm/models/UpdateProjectRequest.d.ts +0 -38
- package/dist/esm/models/UpdateProjectRequest.js +0 -41
- package/dist/esm/models/UpdateUserRequest.d.ts +0 -56
- package/dist/esm/models/UpdateUserRequest.js +0 -52
- package/dist/esm/models/UpdateUserRequestAvatar.d.ts +0 -31
- package/dist/esm/models/UpdateUserRequestAvatar.js +0 -43
- package/dist/esm/models/index.d.ts +0 -18
- package/dist/esm/models/index.js +0 -20
- package/dist/esm/runtime.d.ts +0 -187
- package/dist/esm/runtime.js +0 -333
- package/dist/models/ApiError.d.ts +0 -37
- package/dist/models/ApiError.js +0 -49
- package/dist/models/CreateInviteRequest.d.ts +0 -31
- package/dist/models/CreateInviteRequest.js +0 -47
- package/dist/models/CreateProjectRequest.d.ts +0 -43
- package/dist/models/CreateProjectRequest.js +0 -51
- package/dist/models/CreateUserRequest.d.ts +0 -56
- package/dist/models/CreateUserRequest.js +0 -62
- package/dist/models/CreateUserRequestAvatar.d.ts +0 -31
- package/dist/models/CreateUserRequestAvatar.js +0 -50
- package/dist/models/InstallTemplateRequest.d.ts +0 -31
- package/dist/models/InstallTemplateRequest.js +0 -45
- package/dist/models/Integration.d.ts +0 -49
- package/dist/models/Integration.js +0 -54
- package/dist/models/IntegrationInfo.d.ts +0 -49
- package/dist/models/IntegrationInfo.js +0 -59
- package/dist/models/IntegrationsResponse.d.ts +0 -32
- package/dist/models/IntegrationsResponse.js +0 -48
- package/dist/models/LegacyProjectLogo.d.ts +0 -37
- package/dist/models/LegacyProjectLogo.js +0 -51
- package/dist/models/Project.d.ts +0 -65
- package/dist/models/Project.js +0 -66
- package/dist/models/ProjectInvite.d.ts +0 -56
- package/dist/models/ProjectInvite.js +0 -64
- package/dist/models/ProjectInvites.d.ts +0 -38
- package/dist/models/ProjectInvites.js +0 -52
- package/dist/models/ProjectLogo.d.ts +0 -39
- package/dist/models/ProjectLogo.js +0 -51
- package/dist/models/ProjectManager.d.ts +0 -44
- package/dist/models/ProjectManager.js +0 -56
- package/dist/models/ProjectUser.d.ts +0 -83
- package/dist/models/ProjectUser.js +0 -82
- package/dist/models/ProjectUserAvatar.d.ts +0 -31
- package/dist/models/ProjectUserAvatar.js +0 -45
- package/dist/models/ProjectUsers.d.ts +0 -38
- package/dist/models/ProjectUsers.js +0 -52
- package/dist/models/ProjectsResponse.d.ts +0 -32
- package/dist/models/ProjectsResponse.js +0 -48
- package/dist/models/SetupIntegrationRequest.d.ts +0 -31
- package/dist/models/SetupIntegrationRequest.js +0 -47
- package/dist/models/UpdateProjectRequest.d.ts +0 -38
- package/dist/models/UpdateProjectRequest.js +0 -48
- package/dist/models/UpdateUserRequest.d.ts +0 -56
- package/dist/models/UpdateUserRequest.js +0 -59
- package/dist/models/UpdateUserRequestAvatar.d.ts +0 -31
- package/dist/models/UpdateUserRequestAvatar.js +0 -50
- package/dist/models/index.d.ts +0 -18
- package/dist/models/index.js +0 -36
- package/dist/runtime.d.ts +0 -187
- package/dist/runtime.js +0 -349
- package/src/apis/ProjectsApi.ts +0 -1085
- package/src/apis/index.ts +0 -3
- package/src/index.ts +0 -5
- package/src/models/ApiError.ts +0 -69
- package/src/models/CreateInviteRequest.ts +0 -61
- package/src/models/CreateProjectRequest.ts +0 -77
- package/src/models/CreateUserRequest.ts +0 -107
- package/src/models/CreateUserRequestAvatar.ts +0 -65
- package/src/models/InstallTemplateRequest.ts +0 -60
- package/src/models/Integration.ts +0 -85
- package/src/models/IntegrationInfo.ts +0 -93
- package/src/models/IntegrationsResponse.ts +0 -68
- package/src/models/LegacyProjectLogo.ts +0 -70
- package/src/models/Project.ts +0 -124
- package/src/models/ProjectInvite.ts +0 -104
- package/src/models/ProjectInvites.ts +0 -77
- package/src/models/ProjectLogo.ts +0 -70
- package/src/models/ProjectManager.ts +0 -86
- package/src/models/ProjectUser.ts +0 -142
- package/src/models/ProjectUserAvatar.ts +0 -60
- package/src/models/ProjectUsers.ts +0 -77
- package/src/models/ProjectsResponse.ts +0 -68
- package/src/models/SetupIntegrationRequest.ts +0 -61
- package/src/models/UpdateProjectRequest.ts +0 -75
- package/src/models/UpdateUserRequest.ts +0 -104
- package/src/models/UpdateUserRequestAvatar.ts +0 -65
- package/src/models/index.ts +0 -20
- package/src/runtime.ts +0 -441
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Projects API
|
|
6
|
-
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.16.0
|
|
9
|
-
* Contact: hello@teemill.com
|
|
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.UpdateProjectRequestToJSON = exports.UpdateProjectRequestFromJSONTyped = exports.UpdateProjectRequestFromJSON = exports.instanceOfUpdateProjectRequest = void 0;
|
|
17
|
-
const ProjectLogo_1 = require("./ProjectLogo");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the UpdateProjectRequest interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfUpdateProjectRequest(value) {
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
exports.instanceOfUpdateProjectRequest = instanceOfUpdateProjectRequest;
|
|
25
|
-
function UpdateProjectRequestFromJSON(json) {
|
|
26
|
-
return UpdateProjectRequestFromJSONTyped(json, false);
|
|
27
|
-
}
|
|
28
|
-
exports.UpdateProjectRequestFromJSON = UpdateProjectRequestFromJSON;
|
|
29
|
-
function UpdateProjectRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
-
if (json == null) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
return {
|
|
34
|
-
'name': json['name'] == null ? undefined : json['name'],
|
|
35
|
-
'logos': json['logos'] == null ? undefined : (json['logos'].map(ProjectLogo_1.ProjectLogoFromJSON)),
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.UpdateProjectRequestFromJSONTyped = UpdateProjectRequestFromJSONTyped;
|
|
39
|
-
function UpdateProjectRequestToJSON(value) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'name': value['name'],
|
|
45
|
-
'logos': value['logos'] == null ? undefined : (value['logos'].map(ProjectLogo_1.ProjectLogoToJSON)),
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
exports.UpdateProjectRequestToJSON = UpdateProjectRequestToJSON;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Projects API
|
|
3
|
-
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.6.1
|
|
6
|
-
* Contact: hello@teemill.com
|
|
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 { UpdateUserRequestAvatar } from './UpdateUserRequestAvatar';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface UpdateUserRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface UpdateUserRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof UpdateUserRequest
|
|
23
|
-
*/
|
|
24
|
-
firstName?: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof UpdateUserRequest
|
|
29
|
-
*/
|
|
30
|
-
lastName?: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof UpdateUserRequest
|
|
35
|
-
*/
|
|
36
|
-
username?: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof UpdateUserRequest
|
|
41
|
-
*/
|
|
42
|
-
email?: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {UpdateUserRequestAvatar}
|
|
46
|
-
* @memberof UpdateUserRequest
|
|
47
|
-
*/
|
|
48
|
-
avatar?: UpdateUserRequestAvatar;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Check if a given object implements the UpdateUserRequest interface.
|
|
52
|
-
*/
|
|
53
|
-
export declare function instanceOfUpdateUserRequest(value: object): boolean;
|
|
54
|
-
export declare function UpdateUserRequestFromJSON(json: any): UpdateUserRequest;
|
|
55
|
-
export declare function UpdateUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateUserRequest;
|
|
56
|
-
export declare function UpdateUserRequestToJSON(value?: UpdateUserRequest | null): any;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Projects API
|
|
6
|
-
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.6.1
|
|
9
|
-
* Contact: hello@teemill.com
|
|
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.UpdateUserRequestToJSON = exports.UpdateUserRequestFromJSONTyped = exports.UpdateUserRequestFromJSON = exports.instanceOfUpdateUserRequest = void 0;
|
|
17
|
-
const runtime_1 = require("../runtime");
|
|
18
|
-
const UpdateUserRequestAvatar_1 = require("./UpdateUserRequestAvatar");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the UpdateUserRequest interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfUpdateUserRequest(value) {
|
|
23
|
-
let isInstance = true;
|
|
24
|
-
return isInstance;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfUpdateUserRequest = instanceOfUpdateUserRequest;
|
|
27
|
-
function UpdateUserRequestFromJSON(json) {
|
|
28
|
-
return UpdateUserRequestFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.UpdateUserRequestFromJSON = UpdateUserRequestFromJSON;
|
|
31
|
-
function UpdateUserRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if ((json === undefined) || (json === null)) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'firstName': !(0, runtime_1.exists)(json, 'firstName') ? undefined : json['firstName'],
|
|
37
|
-
'lastName': !(0, runtime_1.exists)(json, 'lastName') ? undefined : json['lastName'],
|
|
38
|
-
'username': !(0, runtime_1.exists)(json, 'username') ? undefined : json['username'],
|
|
39
|
-
'email': !(0, runtime_1.exists)(json, 'email') ? undefined : json['email'],
|
|
40
|
-
'avatar': !(0, runtime_1.exists)(json, 'avatar') ? undefined : (0, UpdateUserRequestAvatar_1.UpdateUserRequestAvatarFromJSON)(json['avatar']),
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
exports.UpdateUserRequestFromJSONTyped = UpdateUserRequestFromJSONTyped;
|
|
44
|
-
function UpdateUserRequestToJSON(value) {
|
|
45
|
-
if (value === undefined) {
|
|
46
|
-
return undefined;
|
|
47
|
-
}
|
|
48
|
-
if (value === null) {
|
|
49
|
-
return null;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'firstName': value.firstName,
|
|
53
|
-
'lastName': value.lastName,
|
|
54
|
-
'username': value.username,
|
|
55
|
-
'email': value.email,
|
|
56
|
-
'avatar': (0, UpdateUserRequestAvatar_1.UpdateUserRequestAvatarToJSON)(value.avatar),
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
exports.UpdateUserRequestToJSON = UpdateUserRequestToJSON;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Projects API
|
|
3
|
-
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.6.1
|
|
6
|
-
* Contact: hello@teemill.com
|
|
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 UpdateUserRequestAvatar
|
|
16
|
-
*/
|
|
17
|
-
export interface UpdateUserRequestAvatar {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UpdateUserRequestAvatar
|
|
22
|
-
*/
|
|
23
|
-
original?: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the UpdateUserRequestAvatar interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfUpdateUserRequestAvatar(value: object): boolean;
|
|
29
|
-
export declare function UpdateUserRequestAvatarFromJSON(json: any): UpdateUserRequestAvatar;
|
|
30
|
-
export declare function UpdateUserRequestAvatarFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateUserRequestAvatar;
|
|
31
|
-
export declare function UpdateUserRequestAvatarToJSON(value?: UpdateUserRequestAvatar | null): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Projects API
|
|
6
|
-
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.6.1
|
|
9
|
-
* Contact: hello@teemill.com
|
|
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.UpdateUserRequestAvatarToJSON = exports.UpdateUserRequestAvatarFromJSONTyped = exports.UpdateUserRequestAvatarFromJSON = exports.instanceOfUpdateUserRequestAvatar = void 0;
|
|
17
|
-
const runtime_1 = require("../runtime");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the UpdateUserRequestAvatar interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfUpdateUserRequestAvatar(value) {
|
|
22
|
-
let isInstance = true;
|
|
23
|
-
return isInstance;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfUpdateUserRequestAvatar = instanceOfUpdateUserRequestAvatar;
|
|
26
|
-
function UpdateUserRequestAvatarFromJSON(json) {
|
|
27
|
-
return UpdateUserRequestAvatarFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.UpdateUserRequestAvatarFromJSON = UpdateUserRequestAvatarFromJSON;
|
|
30
|
-
function UpdateUserRequestAvatarFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if ((json === undefined) || (json === null)) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'original': !(0, runtime_1.exists)(json, 'original') ? undefined : json['original'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.UpdateUserRequestAvatarFromJSONTyped = UpdateUserRequestAvatarFromJSONTyped;
|
|
39
|
-
function UpdateUserRequestAvatarToJSON(value) {
|
|
40
|
-
if (value === undefined) {
|
|
41
|
-
return undefined;
|
|
42
|
-
}
|
|
43
|
-
if (value === null) {
|
|
44
|
-
return null;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'original': value.original,
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
exports.UpdateUserRequestAvatarToJSON = UpdateUserRequestAvatarToJSON;
|
package/dist/models/index.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export * from './ApiError';
|
|
2
|
-
export * from './CreateInviteRequest';
|
|
3
|
-
export * from './CreateProjectRequest';
|
|
4
|
-
export * from './InstallTemplateRequest';
|
|
5
|
-
export * from './Integration';
|
|
6
|
-
export * from './IntegrationsResponse';
|
|
7
|
-
export * from './LegacyProjectLogo';
|
|
8
|
-
export * from './Project';
|
|
9
|
-
export * from './ProjectInvite';
|
|
10
|
-
export * from './ProjectInvites';
|
|
11
|
-
export * from './ProjectLogo';
|
|
12
|
-
export * from './ProjectManager';
|
|
13
|
-
export * from './ProjectUser';
|
|
14
|
-
export * from './ProjectUserAvatar';
|
|
15
|
-
export * from './ProjectUsers';
|
|
16
|
-
export * from './ProjectsResponse';
|
|
17
|
-
export * from './SetupIntegrationRequest';
|
|
18
|
-
export * from './UpdateProjectRequest';
|
package/dist/models/index.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
/* tslint:disable */
|
|
18
|
-
/* eslint-disable */
|
|
19
|
-
__exportStar(require("./ApiError"), exports);
|
|
20
|
-
__exportStar(require("./CreateInviteRequest"), exports);
|
|
21
|
-
__exportStar(require("./CreateProjectRequest"), exports);
|
|
22
|
-
__exportStar(require("./InstallTemplateRequest"), exports);
|
|
23
|
-
__exportStar(require("./Integration"), exports);
|
|
24
|
-
__exportStar(require("./IntegrationsResponse"), exports);
|
|
25
|
-
__exportStar(require("./LegacyProjectLogo"), exports);
|
|
26
|
-
__exportStar(require("./Project"), exports);
|
|
27
|
-
__exportStar(require("./ProjectInvite"), exports);
|
|
28
|
-
__exportStar(require("./ProjectInvites"), exports);
|
|
29
|
-
__exportStar(require("./ProjectLogo"), exports);
|
|
30
|
-
__exportStar(require("./ProjectManager"), exports);
|
|
31
|
-
__exportStar(require("./ProjectUser"), exports);
|
|
32
|
-
__exportStar(require("./ProjectUserAvatar"), exports);
|
|
33
|
-
__exportStar(require("./ProjectUsers"), exports);
|
|
34
|
-
__exportStar(require("./ProjectsResponse"), exports);
|
|
35
|
-
__exportStar(require("./SetupIntegrationRequest"), exports);
|
|
36
|
-
__exportStar(require("./UpdateProjectRequest"), exports);
|
package/dist/runtime.d.ts
DELETED
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Projects API
|
|
3
|
-
* Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.16.0
|
|
6
|
-
* Contact: hello@teemill.com
|
|
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
|
-
export type OptionalProperties<T> = {
|
|
13
|
-
[K in keyof T]-?: undefined extends T[K] ? K : never;
|
|
14
|
-
}[keyof T];
|
|
15
|
-
export type OptionalOnly<T> = Partial<Pick<T, OptionalProperties<T>>>;
|
|
16
|
-
export declare const BASE_PATH: string;
|
|
17
|
-
export interface ConfigurationParameters {
|
|
18
|
-
basePath?: string;
|
|
19
|
-
fetchApi?: FetchAPI;
|
|
20
|
-
middleware?: Middleware[];
|
|
21
|
-
queryParamsStringify?: (params: HTTPQuery) => string;
|
|
22
|
-
username?: string;
|
|
23
|
-
password?: string;
|
|
24
|
-
apiKey?: string | ((name: string) => string);
|
|
25
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
|
|
26
|
-
headers?: HTTPHeaders;
|
|
27
|
-
credentials?: RequestCredentials;
|
|
28
|
-
}
|
|
29
|
-
export declare class Configuration {
|
|
30
|
-
private configuration;
|
|
31
|
-
constructor(configuration?: ConfigurationParameters);
|
|
32
|
-
set config(configuration: Configuration);
|
|
33
|
-
get basePath(): string;
|
|
34
|
-
get fetchApi(): FetchAPI | undefined;
|
|
35
|
-
get middleware(): Middleware[];
|
|
36
|
-
get queryParamsStringify(): (params: HTTPQuery) => string;
|
|
37
|
-
get username(): string | undefined;
|
|
38
|
-
get password(): string | undefined;
|
|
39
|
-
get apiKey(): ((name: string) => string) | undefined;
|
|
40
|
-
get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
|
|
41
|
-
get headers(): HTTPHeaders | undefined;
|
|
42
|
-
get credentials(): RequestCredentials | undefined;
|
|
43
|
-
}
|
|
44
|
-
export declare const DefaultConfig: Configuration;
|
|
45
|
-
/**
|
|
46
|
-
* This is the base class for all generated API classes.
|
|
47
|
-
*/
|
|
48
|
-
export declare class BaseAPI {
|
|
49
|
-
protected configuration: Configuration;
|
|
50
|
-
private static readonly jsonRegex;
|
|
51
|
-
private middleware;
|
|
52
|
-
constructor(configuration?: Configuration);
|
|
53
|
-
isResponseError(error: any): error is ResponseError;
|
|
54
|
-
withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
|
|
55
|
-
withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>): T;
|
|
56
|
-
withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
|
|
57
|
-
/**
|
|
58
|
-
* Check if the given MIME is a JSON MIME.
|
|
59
|
-
* JSON MIME examples:
|
|
60
|
-
* application/json
|
|
61
|
-
* application/json; charset=UTF8
|
|
62
|
-
* APPLICATION/JSON
|
|
63
|
-
* application/vnd.company+json
|
|
64
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
65
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
66
|
-
*/
|
|
67
|
-
protected isJsonMime(mime: string | null | undefined): boolean;
|
|
68
|
-
protected request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response>;
|
|
69
|
-
private createFetchParams;
|
|
70
|
-
private fetchApi;
|
|
71
|
-
/**
|
|
72
|
-
* Create a shallow clone of `this` by constructing a new instance
|
|
73
|
-
* and then shallow cloning data members.
|
|
74
|
-
*/
|
|
75
|
-
private clone;
|
|
76
|
-
}
|
|
77
|
-
export declare class ResponseError extends Error {
|
|
78
|
-
response: Response;
|
|
79
|
-
name: "ResponseError";
|
|
80
|
-
constructor(response: Response, msg?: string);
|
|
81
|
-
}
|
|
82
|
-
export declare class FetchError extends Error {
|
|
83
|
-
cause: Error;
|
|
84
|
-
name: "FetchError";
|
|
85
|
-
constructor(cause: Error, msg?: string);
|
|
86
|
-
}
|
|
87
|
-
export declare class RequiredError extends Error {
|
|
88
|
-
field: string;
|
|
89
|
-
name: "RequiredError";
|
|
90
|
-
constructor(field: string, msg?: string);
|
|
91
|
-
}
|
|
92
|
-
export declare const COLLECTION_FORMATS: {
|
|
93
|
-
csv: string;
|
|
94
|
-
ssv: string;
|
|
95
|
-
tsv: string;
|
|
96
|
-
pipes: string;
|
|
97
|
-
};
|
|
98
|
-
export type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
|
|
99
|
-
export type Json = any;
|
|
100
|
-
export type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
|
|
101
|
-
export type HTTPHeaders = {
|
|
102
|
-
[key: string]: string;
|
|
103
|
-
};
|
|
104
|
-
export type HTTPQuery = {
|
|
105
|
-
[key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
|
|
106
|
-
};
|
|
107
|
-
export type HTTPBody = Json | FormData | URLSearchParams;
|
|
108
|
-
export type HTTPRequestInit = {
|
|
109
|
-
headers?: HTTPHeaders;
|
|
110
|
-
method: HTTPMethod;
|
|
111
|
-
credentials?: RequestCredentials;
|
|
112
|
-
body?: HTTPBody;
|
|
113
|
-
};
|
|
114
|
-
export type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
|
|
115
|
-
export type InitOverrideFunction = (requestContext: {
|
|
116
|
-
init: HTTPRequestInit;
|
|
117
|
-
context: RequestOpts;
|
|
118
|
-
}) => Promise<RequestInit>;
|
|
119
|
-
export interface FetchParams {
|
|
120
|
-
url: string;
|
|
121
|
-
init: RequestInit;
|
|
122
|
-
}
|
|
123
|
-
export interface RequestOpts {
|
|
124
|
-
path: string;
|
|
125
|
-
method: HTTPMethod;
|
|
126
|
-
headers: HTTPHeaders;
|
|
127
|
-
query?: HTTPQuery;
|
|
128
|
-
body?: HTTPBody;
|
|
129
|
-
}
|
|
130
|
-
export declare function exists(json: any, key: string): boolean;
|
|
131
|
-
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
132
|
-
export declare function mapValues(data: any, fn: (item: any) => any): {};
|
|
133
|
-
export declare function canConsumeForm(consumes: Consume[]): boolean;
|
|
134
|
-
export interface Consume {
|
|
135
|
-
contentType: string;
|
|
136
|
-
}
|
|
137
|
-
export interface RequestContext {
|
|
138
|
-
fetch: FetchAPI;
|
|
139
|
-
url: string;
|
|
140
|
-
init: RequestInit;
|
|
141
|
-
}
|
|
142
|
-
export interface ResponseContext {
|
|
143
|
-
fetch: FetchAPI;
|
|
144
|
-
url: string;
|
|
145
|
-
init: RequestInit;
|
|
146
|
-
response: Response;
|
|
147
|
-
}
|
|
148
|
-
export interface ErrorContext {
|
|
149
|
-
fetch: FetchAPI;
|
|
150
|
-
url: string;
|
|
151
|
-
init: RequestInit;
|
|
152
|
-
error: unknown;
|
|
153
|
-
response?: Response;
|
|
154
|
-
}
|
|
155
|
-
export interface Middleware {
|
|
156
|
-
pre?(context: RequestContext): Promise<FetchParams | void>;
|
|
157
|
-
post?(context: ResponseContext): Promise<Response | void>;
|
|
158
|
-
onError?(context: ErrorContext): Promise<Response | void>;
|
|
159
|
-
}
|
|
160
|
-
export interface ApiResponse<T> {
|
|
161
|
-
raw: Response;
|
|
162
|
-
value(): Promise<T>;
|
|
163
|
-
}
|
|
164
|
-
export interface ResponseTransformer<T> {
|
|
165
|
-
(json: any): T;
|
|
166
|
-
}
|
|
167
|
-
export declare class JSONApiResponse<T> {
|
|
168
|
-
raw: Response;
|
|
169
|
-
private transformer;
|
|
170
|
-
constructor(raw: Response, transformer?: ResponseTransformer<T>);
|
|
171
|
-
value(): Promise<T>;
|
|
172
|
-
}
|
|
173
|
-
export declare class VoidApiResponse {
|
|
174
|
-
raw: Response;
|
|
175
|
-
constructor(raw: Response);
|
|
176
|
-
value(): Promise<void>;
|
|
177
|
-
}
|
|
178
|
-
export declare class BlobApiResponse {
|
|
179
|
-
raw: Response;
|
|
180
|
-
constructor(raw: Response);
|
|
181
|
-
value(): Promise<Blob>;
|
|
182
|
-
}
|
|
183
|
-
export declare class TextApiResponse {
|
|
184
|
-
raw: Response;
|
|
185
|
-
constructor(raw: Response);
|
|
186
|
-
value(): Promise<string>;
|
|
187
|
-
}
|