sandbox0 0.2.1 → 0.2.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/dist/apispec/src/apis/AuthApi.d.ts +24 -1
- package/dist/apispec/src/apis/AuthApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/AuthApi.js +58 -1
- package/dist/apispec/src/apis/index.d.ts +0 -1
- package/dist/apispec/src/apis/index.d.ts.map +1 -1
- package/dist/apispec/src/apis/index.js +0 -1
- package/dist/apispec/src/models/AuthProvider.d.ts +12 -0
- package/dist/apispec/src/models/AuthProvider.d.ts.map +1 -1
- package/dist/apispec/src/models/AuthProvider.js +8 -0
- package/dist/apispec/src/models/DeviceLoginPollRequest.d.ts +33 -0
- package/dist/apispec/src/models/DeviceLoginPollRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/DeviceLoginPollRequest.js +43 -0
- package/dist/apispec/src/models/DeviceLoginPollResponse.d.ts +61 -0
- package/dist/apispec/src/models/DeviceLoginPollResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/DeviceLoginPollResponse.js +58 -0
- package/dist/apispec/src/models/DeviceLoginStartResponse.d.ts +63 -0
- package/dist/apispec/src/models/DeviceLoginStartResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/DeviceLoginStartResponse.js +61 -0
- package/dist/apispec/src/models/LoginResponse.d.ts +0 -7
- package/dist/apispec/src/models/LoginResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/LoginResponse.js +0 -3
- package/dist/apispec/src/models/RegisterRequest.d.ts +1 -1
- package/dist/apispec/src/models/SuccessDeviceLoginPollResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessDeviceLoginPollResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessDeviceLoginPollResponse.js +46 -0
- package/dist/apispec/src/models/SuccessDeviceLoginStartResponse.d.ts +40 -0
- package/dist/apispec/src/models/{SuccessIssueRegionTokenResponse.d.ts.map → SuccessDeviceLoginStartResponse.d.ts.map} +1 -1
- package/dist/apispec/src/models/SuccessDeviceLoginStartResponse.js +46 -0
- package/dist/apispec/src/models/UpdateUserRequest.d.ts +0 -6
- package/dist/apispec/src/models/UpdateUserRequest.d.ts.map +1 -1
- package/dist/apispec/src/models/UpdateUserRequest.js +0 -2
- package/dist/apispec/src/models/User.d.ts +0 -13
- package/dist/apispec/src/models/User.d.ts.map +1 -1
- package/dist/apispec/src/models/User.js +0 -5
- package/dist/apispec/src/models/index.d.ts +5 -6
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +5 -6
- package/package.json +1 -1
- package/dist/apispec/src/apis/TenantApi.d.ts +0 -41
- package/dist/apispec/src/apis/TenantApi.d.ts.map +0 -1
- package/dist/apispec/src/apis/TenantApi.js +0 -83
- package/dist/apispec/src/models/IssueRegionTokenRequest.d.ts +0 -33
- package/dist/apispec/src/models/IssueRegionTokenRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/IssueRegionTokenRequest.js +0 -41
- package/dist/apispec/src/models/IssueRegionTokenResponse.d.ts +0 -51
- package/dist/apispec/src/models/IssueRegionTokenResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/IssueRegionTokenResponse.js +0 -53
- package/dist/apispec/src/models/RegionalSession.d.ts +0 -51
- package/dist/apispec/src/models/RegionalSession.d.ts.map +0 -1
- package/dist/apispec/src/models/RegionalSession.js +0 -53
- package/dist/apispec/src/models/SuccessIssueRegionTokenResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessIssueRegionTokenResponse.js +0 -46
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessDeviceLoginPollResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessDeviceLoginPollResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAQzE;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,uBAAuB,CAAC;CAClC;AAED;;GAEG;AACH,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,8BAA8B,CAG/G;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAEhG;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,8BAA8B,CASnI;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAE9F;AAED,wBAAgB,yCAAyC,CAAC,KAAK,CAAC,EAAE,8BAA8B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUlJ"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.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
|
+
import { DeviceLoginPollResponseFromJSON, DeviceLoginPollResponseToJSON, } from './DeviceLoginPollResponse.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessDeviceLoginPollResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessDeviceLoginPollResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessDeviceLoginPollResponseFromJSON(json) {
|
|
24
|
+
return SuccessDeviceLoginPollResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessDeviceLoginPollResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : DeviceLoginPollResponseFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessDeviceLoginPollResponseToJSON(json) {
|
|
36
|
+
return SuccessDeviceLoginPollResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessDeviceLoginPollResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': DeviceLoginPollResponseToJSON(value['data']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
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 { DeviceLoginStartResponse } from './DeviceLoginStartResponse.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessDeviceLoginStartResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessDeviceLoginStartResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessDeviceLoginStartResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {DeviceLoginStartResponse}
|
|
28
|
+
* @memberof SuccessDeviceLoginStartResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: DeviceLoginStartResponse;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessDeviceLoginStartResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessDeviceLoginStartResponse(value: object): value is SuccessDeviceLoginStartResponse;
|
|
36
|
+
export declare function SuccessDeviceLoginStartResponseFromJSON(json: any): SuccessDeviceLoginStartResponse;
|
|
37
|
+
export declare function SuccessDeviceLoginStartResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessDeviceLoginStartResponse;
|
|
38
|
+
export declare function SuccessDeviceLoginStartResponseToJSON(json: any): SuccessDeviceLoginStartResponse;
|
|
39
|
+
export declare function SuccessDeviceLoginStartResponseToJSONTyped(value?: SuccessDeviceLoginStartResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessDeviceLoginStartResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"SuccessDeviceLoginStartResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessDeviceLoginStartResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;CACnC;AAED;;GAEG;AACH,wBAAgB,yCAAyC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,+BAA+B,CAGjH;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAElG;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,+BAA+B,CASrI;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAEhG;AAED,wBAAgB,0CAA0C,CAAC,KAAK,CAAC,EAAE,+BAA+B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpJ"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.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
|
+
import { DeviceLoginStartResponseFromJSON, DeviceLoginStartResponseToJSON, } from './DeviceLoginStartResponse.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SuccessDeviceLoginStartResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSuccessDeviceLoginStartResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SuccessDeviceLoginStartResponseFromJSON(json) {
|
|
24
|
+
return SuccessDeviceLoginStartResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SuccessDeviceLoginStartResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'success': json['success'],
|
|
32
|
+
'data': json['data'] == null ? undefined : DeviceLoginStartResponseFromJSON(json['data']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SuccessDeviceLoginStartResponseToJSON(json) {
|
|
36
|
+
return SuccessDeviceLoginStartResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SuccessDeviceLoginStartResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'success': value['success'],
|
|
44
|
+
'data': DeviceLoginStartResponseToJSON(value['data']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -27,12 +27,6 @@ export interface UpdateUserRequest {
|
|
|
27
27
|
* @memberof UpdateUserRequest
|
|
28
28
|
*/
|
|
29
29
|
avatarUrl?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof UpdateUserRequest
|
|
34
|
-
*/
|
|
35
|
-
defaultTeamId?: string | null;
|
|
36
30
|
}
|
|
37
31
|
/**
|
|
38
32
|
* Check if a given object implements the UpdateUserRequest interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateUserRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/UpdateUserRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateUserRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/UpdateUserRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAErF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CASzG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxH"}
|
|
@@ -27,7 +27,6 @@ export function UpdateUserRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
return {
|
|
28
28
|
'name': json['name'] == null ? undefined : json['name'],
|
|
29
29
|
'avatarUrl': json['avatar_url'] == null ? undefined : json['avatar_url'],
|
|
30
|
-
'defaultTeamId': json['default_team_id'] == null ? undefined : json['default_team_id'],
|
|
31
30
|
};
|
|
32
31
|
}
|
|
33
32
|
export function UpdateUserRequestToJSON(json) {
|
|
@@ -40,6 +39,5 @@ export function UpdateUserRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
40
39
|
return {
|
|
41
40
|
'name': value['name'],
|
|
42
41
|
'avatar_url': value['avatarUrl'],
|
|
43
|
-
'default_team_id': value['defaultTeamId'],
|
|
44
42
|
};
|
|
45
43
|
}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Team } from './Team.js';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -40,18 +39,6 @@ export interface User {
|
|
|
40
39
|
* @memberof User
|
|
41
40
|
*/
|
|
42
41
|
avatarUrl?: string | null;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof User
|
|
47
|
-
*/
|
|
48
|
-
defaultTeamId?: string | null;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {Team}
|
|
52
|
-
* @memberof User
|
|
53
|
-
*/
|
|
54
|
-
defaultTeam?: Team | null;
|
|
55
42
|
/**
|
|
56
43
|
*
|
|
57
44
|
* @type {boolean}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/User.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH
|
|
1
|
+
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/User.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,IAAI;IACjB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,aAAa,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,IAAI,CAS3D;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAE5C;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,IAAI,CAe/E;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAE1C;AAED,wBAAgB,eAAe,CAAC,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgB9F"}
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { TeamFromJSON, TeamToJSON, } from './Team.js';
|
|
15
14
|
/**
|
|
16
15
|
* Check if a given object implements the User interface.
|
|
17
16
|
*/
|
|
@@ -44,8 +43,6 @@ export function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
43
|
'email': json['email'],
|
|
45
44
|
'name': json['name'],
|
|
46
45
|
'avatarUrl': json['avatar_url'] == null ? undefined : json['avatar_url'],
|
|
47
|
-
'defaultTeamId': json['default_team_id'] == null ? undefined : json['default_team_id'],
|
|
48
|
-
'defaultTeam': json['default_team'] == null ? undefined : TeamFromJSON(json['default_team']),
|
|
49
46
|
'emailVerified': json['email_verified'],
|
|
50
47
|
'isAdmin': json['is_admin'],
|
|
51
48
|
'createdAt': (new Date(json['created_at'])),
|
|
@@ -64,8 +61,6 @@ export function UserToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
64
61
|
'email': value['email'],
|
|
65
62
|
'name': value['name'],
|
|
66
63
|
'avatar_url': value['avatarUrl'],
|
|
67
|
-
'default_team_id': value['defaultTeamId'],
|
|
68
|
-
'default_team': TeamToJSON(value['defaultTeam']),
|
|
69
64
|
'email_verified': value['emailVerified'],
|
|
70
65
|
'is_admin': value['isAdmin'],
|
|
71
66
|
'created_at': value['createdAt'].toISOString(),
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export * from './APIKey.js';
|
|
2
|
-
export * from './ActiveTeam.js';
|
|
3
2
|
export * from './AddTeamMemberRequest.js';
|
|
4
3
|
export * from './Affinity.js';
|
|
5
4
|
export * from './ApiV1SandboxesIdFilesGet200Response.js';
|
|
@@ -41,6 +40,9 @@ export * from './CredentialSourceMetadata.js';
|
|
|
41
40
|
export * from './CredentialSourceResolverKind.js';
|
|
42
41
|
export * from './CredentialSourceWriteRequest.js';
|
|
43
42
|
export * from './CredentialSourceWriteSpec.js';
|
|
43
|
+
export * from './DeviceLoginPollRequest.js';
|
|
44
|
+
export * from './DeviceLoginPollResponse.js';
|
|
45
|
+
export * from './DeviceLoginStartResponse.js';
|
|
44
46
|
export * from './EgressAuthFailurePolicy.js';
|
|
45
47
|
export * from './EgressAuthProtocol.js';
|
|
46
48
|
export * from './EgressAuthRolloutMode.js';
|
|
@@ -68,8 +70,6 @@ export * from './HTTPGetAction.js';
|
|
|
68
70
|
export * from './HTTPHeader.js';
|
|
69
71
|
export * from './HTTPHeadersProjection.js';
|
|
70
72
|
export * from './Identity.js';
|
|
71
|
-
export * from './IssueRegionTokenRequest.js';
|
|
72
|
-
export * from './IssueRegionTokenResponse.js';
|
|
73
73
|
export * from './LabelSelector.js';
|
|
74
74
|
export * from './LabelSelectorRequirement.js';
|
|
75
75
|
export * from './LifecyclePolicy.js';
|
|
@@ -110,7 +110,6 @@ export * from './REPLReadyMode.js';
|
|
|
110
110
|
export * from './RefreshRequest.js';
|
|
111
111
|
export * from './RefreshResponse.js';
|
|
112
112
|
export * from './Region.js';
|
|
113
|
-
export * from './RegionalSession.js';
|
|
114
113
|
export * from './RegisterRequest.js';
|
|
115
114
|
export * from './RegistryCredentials.js';
|
|
116
115
|
export * from './ResizeContextRequest.js';
|
|
@@ -141,7 +140,6 @@ export * from './StaticTLSClientCertificateSourceSpec.js';
|
|
|
141
140
|
export * from './StaticUsernamePasswordSourceSpec.js';
|
|
142
141
|
export * from './SuccessAPIKeyListResponse.js';
|
|
143
142
|
export * from './SuccessAPIKeyListResponseAllOfData.js';
|
|
144
|
-
export * from './SuccessActiveTeamResponse.js';
|
|
145
143
|
export * from './SuccessAuthProvidersResponse.js';
|
|
146
144
|
export * from './SuccessAuthProvidersResponseAllOfData.js';
|
|
147
145
|
export * from './SuccessClaimResponse.js';
|
|
@@ -157,6 +155,8 @@ export * from './SuccessCredentialSourceListResponse.js';
|
|
|
157
155
|
export * from './SuccessCredentialSourceResponse.js';
|
|
158
156
|
export * from './SuccessDeletedResponse.js';
|
|
159
157
|
export * from './SuccessDeletedResponseAllOfData.js';
|
|
158
|
+
export * from './SuccessDeviceLoginPollResponse.js';
|
|
159
|
+
export * from './SuccessDeviceLoginStartResponse.js';
|
|
160
160
|
export * from './SuccessEnvelope.js';
|
|
161
161
|
export * from './SuccessExposedPortsResponse.js';
|
|
162
162
|
export * from './SuccessExposedPortsResponseAllOfData.js';
|
|
@@ -170,7 +170,6 @@ export * from './SuccessHealthResponse.js';
|
|
|
170
170
|
export * from './SuccessHealthResponseAllOfData.js';
|
|
171
171
|
export * from './SuccessIdentityListResponse.js';
|
|
172
172
|
export * from './SuccessIdentityListResponseAllOfData.js';
|
|
173
|
-
export * from './SuccessIssueRegionTokenResponse.js';
|
|
174
173
|
export * from './SuccessLoginResponse.js';
|
|
175
174
|
export * from './SuccessMessageResponse.js';
|
|
176
175
|
export * from './SuccessMessageResponseAllOfData.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,uCAAuC,CAAC;AACtD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;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AkC,CAAC;AACjD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mDAAmD,CAAC;AAClE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sDAAsD,CAAC;AACrE,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mDAAmD,CAAC;AAClE,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './APIKey.js';
|
|
4
|
-
export * from './ActiveTeam.js';
|
|
5
4
|
export * from './AddTeamMemberRequest.js';
|
|
6
5
|
export * from './Affinity.js';
|
|
7
6
|
export * from './ApiV1SandboxesIdFilesGet200Response.js';
|
|
@@ -43,6 +42,9 @@ export * from './CredentialSourceMetadata.js';
|
|
|
43
42
|
export * from './CredentialSourceResolverKind.js';
|
|
44
43
|
export * from './CredentialSourceWriteRequest.js';
|
|
45
44
|
export * from './CredentialSourceWriteSpec.js';
|
|
45
|
+
export * from './DeviceLoginPollRequest.js';
|
|
46
|
+
export * from './DeviceLoginPollResponse.js';
|
|
47
|
+
export * from './DeviceLoginStartResponse.js';
|
|
46
48
|
export * from './EgressAuthFailurePolicy.js';
|
|
47
49
|
export * from './EgressAuthProtocol.js';
|
|
48
50
|
export * from './EgressAuthRolloutMode.js';
|
|
@@ -70,8 +72,6 @@ export * from './HTTPGetAction.js';
|
|
|
70
72
|
export * from './HTTPHeader.js';
|
|
71
73
|
export * from './HTTPHeadersProjection.js';
|
|
72
74
|
export * from './Identity.js';
|
|
73
|
-
export * from './IssueRegionTokenRequest.js';
|
|
74
|
-
export * from './IssueRegionTokenResponse.js';
|
|
75
75
|
export * from './LabelSelector.js';
|
|
76
76
|
export * from './LabelSelectorRequirement.js';
|
|
77
77
|
export * from './LifecyclePolicy.js';
|
|
@@ -112,7 +112,6 @@ export * from './REPLReadyMode.js';
|
|
|
112
112
|
export * from './RefreshRequest.js';
|
|
113
113
|
export * from './RefreshResponse.js';
|
|
114
114
|
export * from './Region.js';
|
|
115
|
-
export * from './RegionalSession.js';
|
|
116
115
|
export * from './RegisterRequest.js';
|
|
117
116
|
export * from './RegistryCredentials.js';
|
|
118
117
|
export * from './ResizeContextRequest.js';
|
|
@@ -143,7 +142,6 @@ export * from './StaticTLSClientCertificateSourceSpec.js';
|
|
|
143
142
|
export * from './StaticUsernamePasswordSourceSpec.js';
|
|
144
143
|
export * from './SuccessAPIKeyListResponse.js';
|
|
145
144
|
export * from './SuccessAPIKeyListResponseAllOfData.js';
|
|
146
|
-
export * from './SuccessActiveTeamResponse.js';
|
|
147
145
|
export * from './SuccessAuthProvidersResponse.js';
|
|
148
146
|
export * from './SuccessAuthProvidersResponseAllOfData.js';
|
|
149
147
|
export * from './SuccessClaimResponse.js';
|
|
@@ -159,6 +157,8 @@ export * from './SuccessCredentialSourceListResponse.js';
|
|
|
159
157
|
export * from './SuccessCredentialSourceResponse.js';
|
|
160
158
|
export * from './SuccessDeletedResponse.js';
|
|
161
159
|
export * from './SuccessDeletedResponseAllOfData.js';
|
|
160
|
+
export * from './SuccessDeviceLoginPollResponse.js';
|
|
161
|
+
export * from './SuccessDeviceLoginStartResponse.js';
|
|
162
162
|
export * from './SuccessEnvelope.js';
|
|
163
163
|
export * from './SuccessExposedPortsResponse.js';
|
|
164
164
|
export * from './SuccessExposedPortsResponseAllOfData.js';
|
|
@@ -172,7 +172,6 @@ export * from './SuccessHealthResponse.js';
|
|
|
172
172
|
export * from './SuccessHealthResponseAllOfData.js';
|
|
173
173
|
export * from './SuccessIdentityListResponse.js';
|
|
174
174
|
export * from './SuccessIdentityListResponseAllOfData.js';
|
|
175
|
-
export * from './SuccessIssueRegionTokenResponse.js';
|
|
176
175
|
export * from './SuccessLoginResponse.js';
|
|
177
176
|
export * from './SuccessMessageResponse.js';
|
|
178
177
|
export * from './SuccessMessageResponseAllOfData.js';
|
package/package.json
CHANGED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sandbox0 API
|
|
3
|
-
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.1.0
|
|
6
|
-
*
|
|
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 * as runtime from '../runtime.js';
|
|
13
|
-
import type { IssueRegionTokenRequest, SuccessActiveTeamResponse, SuccessIssueRegionTokenResponse } from '../models/index.js';
|
|
14
|
-
export interface AuthRegionTokenPostRequest {
|
|
15
|
-
issueRegionTokenRequest?: IssueRegionTokenRequest;
|
|
16
|
-
}
|
|
17
|
-
export interface TenantActiveGetRequest {
|
|
18
|
-
teamId?: string;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export declare class TenantApi extends runtime.BaseAPI {
|
|
24
|
-
/**
|
|
25
|
-
* Exchange a global user session for a region-scoped token
|
|
26
|
-
*/
|
|
27
|
-
authRegionTokenPostRaw(requestParameters: AuthRegionTokenPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessIssueRegionTokenResponse>>;
|
|
28
|
-
/**
|
|
29
|
-
* Exchange a global user session for a region-scoped token
|
|
30
|
-
*/
|
|
31
|
-
authRegionTokenPost(requestParameters?: AuthRegionTokenPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessIssueRegionTokenResponse>;
|
|
32
|
-
/**
|
|
33
|
-
* Resolve the active team and its routing information
|
|
34
|
-
*/
|
|
35
|
-
tenantActiveGetRaw(requestParameters: TenantActiveGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessActiveTeamResponse>>;
|
|
36
|
-
/**
|
|
37
|
-
* Resolve the active team and its routing information
|
|
38
|
-
*/
|
|
39
|
-
tenantActiveGet(requestParameters?: TenantActiveGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessActiveTeamResponse>;
|
|
40
|
-
}
|
|
41
|
-
//# sourceMappingURL=TenantApi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TenantApi.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/apis/TenantApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAEV,uBAAuB,EACvB,yBAAyB,EACzB,+BAA+B,EAChC,MAAM,iBAAiB,CAAC;AAYzB,MAAM,WAAW,0BAA0B;IACvC,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;CACrD;AAED,MAAM,WAAW,sBAAsB;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,qBAAa,SAAU,SAAQ,OAAO,CAAC,OAAO;IAE1C;;OAEG;IACG,sBAAsB,CAAC,iBAAiB,EAAE,0BAA0B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,+BAA+B,CAAC,CAAC;IA6BtM;;OAEG;IACG,mBAAmB,CAAC,iBAAiB,GAAE,0BAA+B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,+BAA+B,CAAC;IAKnL;;OAEG;IACG,kBAAkB,CAAC,iBAAiB,EAAE,sBAAsB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,yBAAyB,CAAC,CAAC;IA8BxL;;OAEG;IACG,eAAe,CAAC,iBAAiB,GAAE,sBAA2B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,yBAAyB,CAAC;CAKxK"}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Sandbox0 API
|
|
5
|
-
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.1.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
|
-
import * as runtime from '../runtime.js';
|
|
15
|
-
import { IssueRegionTokenRequestToJSON, SuccessActiveTeamResponseFromJSON, SuccessIssueRegionTokenResponseFromJSON, } from '../models/index.js';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export class TenantApi extends runtime.BaseAPI {
|
|
20
|
-
/**
|
|
21
|
-
* Exchange a global user session for a region-scoped token
|
|
22
|
-
*/
|
|
23
|
-
async authRegionTokenPostRaw(requestParameters, initOverrides) {
|
|
24
|
-
const queryParameters = {};
|
|
25
|
-
const headerParameters = {};
|
|
26
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
27
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
28
|
-
const token = this.configuration.accessToken;
|
|
29
|
-
const tokenString = await token("bearerAuth", []);
|
|
30
|
-
if (tokenString) {
|
|
31
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
let urlPath = `/auth/region-token`;
|
|
35
|
-
const response = await this.request({
|
|
36
|
-
path: urlPath,
|
|
37
|
-
method: 'POST',
|
|
38
|
-
headers: headerParameters,
|
|
39
|
-
query: queryParameters,
|
|
40
|
-
body: IssueRegionTokenRequestToJSON(requestParameters['issueRegionTokenRequest']),
|
|
41
|
-
}, initOverrides);
|
|
42
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => SuccessIssueRegionTokenResponseFromJSON(jsonValue));
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Exchange a global user session for a region-scoped token
|
|
46
|
-
*/
|
|
47
|
-
async authRegionTokenPost(requestParameters = {}, initOverrides) {
|
|
48
|
-
const response = await this.authRegionTokenPostRaw(requestParameters, initOverrides);
|
|
49
|
-
return await response.value();
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Resolve the active team and its routing information
|
|
53
|
-
*/
|
|
54
|
-
async tenantActiveGetRaw(requestParameters, initOverrides) {
|
|
55
|
-
const queryParameters = {};
|
|
56
|
-
if (requestParameters['teamId'] != null) {
|
|
57
|
-
queryParameters['team_id'] = requestParameters['teamId'];
|
|
58
|
-
}
|
|
59
|
-
const headerParameters = {};
|
|
60
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
61
|
-
const token = this.configuration.accessToken;
|
|
62
|
-
const tokenString = await token("bearerAuth", []);
|
|
63
|
-
if (tokenString) {
|
|
64
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
let urlPath = `/tenant/active`;
|
|
68
|
-
const response = await this.request({
|
|
69
|
-
path: urlPath,
|
|
70
|
-
method: 'GET',
|
|
71
|
-
headers: headerParameters,
|
|
72
|
-
query: queryParameters,
|
|
73
|
-
}, initOverrides);
|
|
74
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => SuccessActiveTeamResponseFromJSON(jsonValue));
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Resolve the active team and its routing information
|
|
78
|
-
*/
|
|
79
|
-
async tenantActiveGet(requestParameters = {}, initOverrides) {
|
|
80
|
-
const response = await this.tenantActiveGetRaw(requestParameters, initOverrides);
|
|
81
|
-
return await response.value();
|
|
82
|
-
}
|
|
83
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sandbox0 API
|
|
3
|
-
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.1.0
|
|
6
|
-
*
|
|
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 IssueRegionTokenRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface IssueRegionTokenRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof IssueRegionTokenRequest
|
|
22
|
-
*/
|
|
23
|
-
teamId?: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the IssueRegionTokenRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfIssueRegionTokenRequest(value: object): value is IssueRegionTokenRequest;
|
|
29
|
-
export declare function IssueRegionTokenRequestFromJSON(json: any): IssueRegionTokenRequest;
|
|
30
|
-
export declare function IssueRegionTokenRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssueRegionTokenRequest;
|
|
31
|
-
export declare function IssueRegionTokenRequestToJSON(json: any): IssueRegionTokenRequest;
|
|
32
|
-
export declare function IssueRegionTokenRequestToJSONTyped(value?: IssueRegionTokenRequest | null, ignoreDiscriminator?: boolean): any;
|
|
33
|
-
//# sourceMappingURL=IssueRegionTokenRequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IssueRegionTokenRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/IssueRegionTokenRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAEjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAQrH;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAEhF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CASpI"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Sandbox0 API
|
|
5
|
-
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.1.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
|
-
* Check if a given object implements the IssueRegionTokenRequest interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfIssueRegionTokenRequest(value) {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
export function IssueRegionTokenRequestFromJSON(json) {
|
|
21
|
-
return IssueRegionTokenRequestFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
export function IssueRegionTokenRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json == null) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
return {
|
|
28
|
-
'teamId': json['team_id'] == null ? undefined : json['team_id'],
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
export function IssueRegionTokenRequestToJSON(json) {
|
|
32
|
-
return IssueRegionTokenRequestToJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
export function IssueRegionTokenRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
-
if (value == null) {
|
|
36
|
-
return value;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'team_id': value['teamId'],
|
|
40
|
-
};
|
|
41
|
-
}
|