@managespace/sdk 0.0.50 → 0.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/extensibility/functions/project/billing.d.ts +0 -6
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/extensibility/functions/project/billing.js +4 -5
- package/dist/generated/apis/default-api.d.ts +27 -13
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +93 -41
- package/dist/generated/models/custom-update-extensibility-repo.d.ts +63 -0
- package/dist/generated/models/custom-update-extensibility-repo.d.ts.map +1 -0
- package/dist/generated/models/custom-update-extensibility-repo.js +71 -0
- package/dist/generated/models/index.d.ts +1 -1
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +1 -1
- package/dist/generated/models/project-version-response.d.ts +6 -0
- package/dist/generated/models/project-version-response.d.ts.map +1 -1
- package/dist/generated/models/project-version-response.js +4 -0
- package/package.json +2 -2
- package/src/extensibility/functions/project/billing.ts +4 -4
- package/src/generated/.openapi-generator/FILES +1 -1
- package/src/generated/apis/default-api.ts +140 -70
- package/src/generated/models/custom-update-extensibility-repo.ts +111 -0
- package/src/generated/models/index.ts +1 -1
- package/src/generated/models/project-version-response.ts +9 -0
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* ManageSpace V2 Auth API
|
|
5
|
+
* ManageSpace Auth API Documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
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 CustomUpdateExtensibilityRepo
|
|
20
|
+
*/
|
|
21
|
+
export interface CustomUpdateExtensibilityRepo {
|
|
22
|
+
/**
|
|
23
|
+
* The GitHub personal access token
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CustomUpdateExtensibilityRepo
|
|
26
|
+
*/
|
|
27
|
+
authToken: string;
|
|
28
|
+
/**
|
|
29
|
+
* The name of the organization that owns the repository
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CustomUpdateExtensibilityRepo
|
|
32
|
+
*/
|
|
33
|
+
orgName: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* The name of the repository
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof CustomUpdateExtensibilityRepo
|
|
38
|
+
*/
|
|
39
|
+
repoName: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* The branch of the repository
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof CustomUpdateExtensibilityRepo
|
|
44
|
+
*/
|
|
45
|
+
branchName: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* The latest commit on the branch
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof CustomUpdateExtensibilityRepo
|
|
50
|
+
*/
|
|
51
|
+
latestCommit: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* What changed in this version
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof CustomUpdateExtensibilityRepo
|
|
56
|
+
*/
|
|
57
|
+
message: string;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the CustomUpdateExtensibilityRepo interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfCustomUpdateExtensibilityRepo(value: object): value is CustomUpdateExtensibilityRepo {
|
|
64
|
+
if (!('authToken' in value) || value['authToken'] === undefined) return false;
|
|
65
|
+
if (!('orgName' in value) || value['orgName'] === undefined) return false;
|
|
66
|
+
if (!('repoName' in value) || value['repoName'] === undefined) return false;
|
|
67
|
+
if (!('branchName' in value) || value['branchName'] === undefined) return false;
|
|
68
|
+
if (!('latestCommit' in value) || value['latestCommit'] === undefined) return false;
|
|
69
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function CustomUpdateExtensibilityRepoFromJSON(json: any): CustomUpdateExtensibilityRepo {
|
|
74
|
+
return CustomUpdateExtensibilityRepoFromJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function CustomUpdateExtensibilityRepoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomUpdateExtensibilityRepo {
|
|
78
|
+
if (json == null) {
|
|
79
|
+
return json;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'authToken': json['authToken'],
|
|
84
|
+
'orgName': json['orgName'],
|
|
85
|
+
'repoName': json['repoName'],
|
|
86
|
+
'branchName': json['branchName'],
|
|
87
|
+
'latestCommit': json['latestCommit'],
|
|
88
|
+
'message': json['message'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function CustomUpdateExtensibilityRepoToJSON(json: any): CustomUpdateExtensibilityRepo {
|
|
93
|
+
return CustomUpdateExtensibilityRepoToJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function CustomUpdateExtensibilityRepoToJSONTyped(value?: CustomUpdateExtensibilityRepo | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
+
if (value == null) {
|
|
98
|
+
return value;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return {
|
|
102
|
+
|
|
103
|
+
'authToken': value['authToken'],
|
|
104
|
+
'orgName': value['orgName'],
|
|
105
|
+
'repoName': value['repoName'],
|
|
106
|
+
'branchName': value['branchName'],
|
|
107
|
+
'latestCommit': value['latestCommit'],
|
|
108
|
+
'message': value['message'],
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
@@ -56,6 +56,7 @@ export * from './custom-create-customer';
|
|
|
56
56
|
export * from './custom-create-plan';
|
|
57
57
|
export * from './custom-create-user';
|
|
58
58
|
export * from './custom-update-customer';
|
|
59
|
+
export * from './custom-update-extensibility-repo';
|
|
59
60
|
export * from './custom-update-task-template';
|
|
60
61
|
export * from './customer-response';
|
|
61
62
|
export * from './document-signed';
|
|
@@ -164,7 +165,6 @@ export * from './update-asset-category';
|
|
|
164
165
|
export * from './update-asset-feature';
|
|
165
166
|
export * from './update-checklist-task-template';
|
|
166
167
|
export * from './update-configuration-setting';
|
|
167
|
-
export * from './update-extensibility-repo';
|
|
168
168
|
export * from './update-map-feature';
|
|
169
169
|
export * from './update-note';
|
|
170
170
|
export * from './update-org';
|
|
@@ -78,6 +78,12 @@ export interface ProjectVersionResponse {
|
|
|
78
78
|
* @memberof ProjectVersionResponse
|
|
79
79
|
*/
|
|
80
80
|
active: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* What changed in this version
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof ProjectVersionResponse
|
|
85
|
+
*/
|
|
86
|
+
message: string;
|
|
81
87
|
/**
|
|
82
88
|
*
|
|
83
89
|
* @type {OrgResponse}
|
|
@@ -131,6 +137,7 @@ export function instanceOfProjectVersionResponse(value: object): value is Projec
|
|
|
131
137
|
if (!('isPublic' in value) || value['isPublic'] === undefined) return false;
|
|
132
138
|
if (!('price' in value) || value['price'] === undefined) return false;
|
|
133
139
|
if (!('active' in value) || value['active'] === undefined) return false;
|
|
140
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
134
141
|
if (!('orgId' in value) || value['orgId'] === undefined) return false;
|
|
135
142
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
136
143
|
if (!('projectId' in value) || value['projectId'] === undefined) return false;
|
|
@@ -152,6 +159,7 @@ export function ProjectVersionResponseFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
152
159
|
'isPublic': json['isPublic'],
|
|
153
160
|
'price': json['price'],
|
|
154
161
|
'active': json['active'],
|
|
162
|
+
'message': json['message'],
|
|
155
163
|
'org': json['org'] == null ? undefined : OrgResponseFromJSON(json['org']),
|
|
156
164
|
'orgId': json['orgId'],
|
|
157
165
|
'createdAt': (new Date(json['createdAt'])),
|
|
@@ -178,6 +186,7 @@ export function ProjectVersionResponseToJSONTyped(value?: ProjectVersionResponse
|
|
|
178
186
|
'isPublic': value['isPublic'],
|
|
179
187
|
'price': value['price'],
|
|
180
188
|
'active': value['active'],
|
|
189
|
+
'message': value['message'],
|
|
181
190
|
'org': OrgResponseToJSON(value['org']),
|
|
182
191
|
'orgId': value['orgId'],
|
|
183
192
|
'createdAt': ((value['createdAt']).toISOString()),
|