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
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
|
-
import type { ChangePasswordRequest, LoginRequest, RefreshRequest, RegisterRequest, SuccessAuthProvidersResponse, SuccessLoginResponse, SuccessMessageResponse } from '../models/index.js';
|
|
13
|
+
import type { ChangePasswordRequest, DeviceLoginPollRequest, LoginRequest, RefreshRequest, RegisterRequest, SuccessAuthProvidersResponse, SuccessDeviceLoginPollResponse, SuccessDeviceLoginStartResponse, SuccessLoginResponse, SuccessMessageResponse } from '../models/index.js';
|
|
14
14
|
export interface AuthChangePasswordPostRequest {
|
|
15
15
|
changePasswordRequest: ChangePasswordRequest;
|
|
16
16
|
}
|
|
@@ -22,6 +22,13 @@ export interface AuthOidcProviderCallbackGetRequest {
|
|
|
22
22
|
code: string;
|
|
23
23
|
state: string;
|
|
24
24
|
}
|
|
25
|
+
export interface AuthOidcProviderDevicePollPostRequest {
|
|
26
|
+
provider: string;
|
|
27
|
+
deviceLoginPollRequest: DeviceLoginPollRequest;
|
|
28
|
+
}
|
|
29
|
+
export interface AuthOidcProviderDeviceStartPostRequest {
|
|
30
|
+
provider: string;
|
|
31
|
+
}
|
|
25
32
|
export interface AuthOidcProviderLoginGetRequest {
|
|
26
33
|
provider: string;
|
|
27
34
|
returnUrl?: string;
|
|
@@ -68,6 +75,22 @@ export declare class AuthApi extends runtime.BaseAPI {
|
|
|
68
75
|
* OIDC callback
|
|
69
76
|
*/
|
|
70
77
|
authOidcProviderCallbackGet(requestParameters: AuthOidcProviderCallbackGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessLoginResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* Poll OIDC device login
|
|
80
|
+
*/
|
|
81
|
+
authOidcProviderDevicePollPostRaw(requestParameters: AuthOidcProviderDevicePollPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessDeviceLoginPollResponse>>;
|
|
82
|
+
/**
|
|
83
|
+
* Poll OIDC device login
|
|
84
|
+
*/
|
|
85
|
+
authOidcProviderDevicePollPost(requestParameters: AuthOidcProviderDevicePollPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessDeviceLoginPollResponse>;
|
|
86
|
+
/**
|
|
87
|
+
* Start OIDC device login
|
|
88
|
+
*/
|
|
89
|
+
authOidcProviderDeviceStartPostRaw(requestParameters: AuthOidcProviderDeviceStartPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessDeviceLoginStartResponse>>;
|
|
90
|
+
/**
|
|
91
|
+
* Start OIDC device login
|
|
92
|
+
*/
|
|
93
|
+
authOidcProviderDeviceStartPost(requestParameters: AuthOidcProviderDeviceStartPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessDeviceLoginStartResponse>;
|
|
71
94
|
/**
|
|
72
95
|
* Initiate OIDC login
|
|
73
96
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthApi.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/apis/AuthApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,qBAAqB,
|
|
1
|
+
{"version":3,"file":"AuthApi.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/apis/AuthApi.ts"],"names":[],"mappings":"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"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime.js';
|
|
15
|
-
import { ChangePasswordRequestToJSON, LoginRequestToJSON, RefreshRequestToJSON, RegisterRequestToJSON, SuccessAuthProvidersResponseFromJSON, SuccessLoginResponseFromJSON, SuccessMessageResponseFromJSON, } from '../models/index.js';
|
|
15
|
+
import { ChangePasswordRequestToJSON, DeviceLoginPollRequestToJSON, LoginRequestToJSON, RefreshRequestToJSON, RegisterRequestToJSON, SuccessAuthProvidersResponseFromJSON, SuccessDeviceLoginPollResponseFromJSON, SuccessDeviceLoginStartResponseFromJSON, SuccessLoginResponseFromJSON, SuccessMessageResponseFromJSON, } from '../models/index.js';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
@@ -145,6 +145,63 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
145
145
|
const response = await this.authOidcProviderCallbackGetRaw(requestParameters, initOverrides);
|
|
146
146
|
return await response.value();
|
|
147
147
|
}
|
|
148
|
+
/**
|
|
149
|
+
* Poll OIDC device login
|
|
150
|
+
*/
|
|
151
|
+
async authOidcProviderDevicePollPostRaw(requestParameters, initOverrides) {
|
|
152
|
+
if (requestParameters['provider'] == null) {
|
|
153
|
+
throw new runtime.RequiredError('provider', 'Required parameter "provider" was null or undefined when calling authOidcProviderDevicePollPost().');
|
|
154
|
+
}
|
|
155
|
+
if (requestParameters['deviceLoginPollRequest'] == null) {
|
|
156
|
+
throw new runtime.RequiredError('deviceLoginPollRequest', 'Required parameter "deviceLoginPollRequest" was null or undefined when calling authOidcProviderDevicePollPost().');
|
|
157
|
+
}
|
|
158
|
+
const queryParameters = {};
|
|
159
|
+
const headerParameters = {};
|
|
160
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
161
|
+
let urlPath = `/auth/oidc/{provider}/device/poll`;
|
|
162
|
+
urlPath = urlPath.replace(`{${"provider"}}`, encodeURIComponent(String(requestParameters['provider'])));
|
|
163
|
+
const response = await this.request({
|
|
164
|
+
path: urlPath,
|
|
165
|
+
method: 'POST',
|
|
166
|
+
headers: headerParameters,
|
|
167
|
+
query: queryParameters,
|
|
168
|
+
body: DeviceLoginPollRequestToJSON(requestParameters['deviceLoginPollRequest']),
|
|
169
|
+
}, initOverrides);
|
|
170
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SuccessDeviceLoginPollResponseFromJSON(jsonValue));
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Poll OIDC device login
|
|
174
|
+
*/
|
|
175
|
+
async authOidcProviderDevicePollPost(requestParameters, initOverrides) {
|
|
176
|
+
const response = await this.authOidcProviderDevicePollPostRaw(requestParameters, initOverrides);
|
|
177
|
+
return await response.value();
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Start OIDC device login
|
|
181
|
+
*/
|
|
182
|
+
async authOidcProviderDeviceStartPostRaw(requestParameters, initOverrides) {
|
|
183
|
+
if (requestParameters['provider'] == null) {
|
|
184
|
+
throw new runtime.RequiredError('provider', 'Required parameter "provider" was null or undefined when calling authOidcProviderDeviceStartPost().');
|
|
185
|
+
}
|
|
186
|
+
const queryParameters = {};
|
|
187
|
+
const headerParameters = {};
|
|
188
|
+
let urlPath = `/auth/oidc/{provider}/device/start`;
|
|
189
|
+
urlPath = urlPath.replace(`{${"provider"}}`, encodeURIComponent(String(requestParameters['provider'])));
|
|
190
|
+
const response = await this.request({
|
|
191
|
+
path: urlPath,
|
|
192
|
+
method: 'POST',
|
|
193
|
+
headers: headerParameters,
|
|
194
|
+
query: queryParameters,
|
|
195
|
+
}, initOverrides);
|
|
196
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SuccessDeviceLoginStartResponseFromJSON(jsonValue));
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Start OIDC device login
|
|
200
|
+
*/
|
|
201
|
+
async authOidcProviderDeviceStartPost(requestParameters, initOverrides) {
|
|
202
|
+
const response = await this.authOidcProviderDeviceStartPostRaw(requestParameters, initOverrides);
|
|
203
|
+
return await response.value();
|
|
204
|
+
}
|
|
148
205
|
/**
|
|
149
206
|
* Initiate OIDC login
|
|
150
207
|
*/
|
|
@@ -11,7 +11,6 @@ export * from './SandboxesApi.js';
|
|
|
11
11
|
export * from './SnapshotsApi.js';
|
|
12
12
|
export * from './TeamsApi.js';
|
|
13
13
|
export * from './TemplatesApi.js';
|
|
14
|
-
export * from './TenantApi.js';
|
|
15
14
|
export * from './UsersApi.js';
|
|
16
15
|
export * from './VolumeSyncApi.js';
|
|
17
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC"}
|
|
@@ -40,6 +40,18 @@ export interface AuthProvider {
|
|
|
40
40
|
* @memberof AuthProvider
|
|
41
41
|
*/
|
|
42
42
|
externalAuthPortalUrl?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof AuthProvider
|
|
47
|
+
*/
|
|
48
|
+
browserLoginEnabled: boolean;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof AuthProvider
|
|
53
|
+
*/
|
|
54
|
+
deviceLoginEnabled: boolean;
|
|
43
55
|
}
|
|
44
56
|
/**
|
|
45
57
|
* Check if a given object implements the AuthProvider interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthProvider.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/AuthProvider.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"AuthProvider.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/AuthProvider.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,mBAAmB,EAAE,OAAO,CAAC;IAC7B;;;;OAIG;IACH,kBAAkB,EAAE,OAAO,CAAC;CAC/B;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAO3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAa/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAc9G"}
|
|
@@ -21,6 +21,10 @@ export function instanceOfAuthProvider(value) {
|
|
|
21
21
|
return false;
|
|
22
22
|
if (!('type' in value) || value['type'] === undefined)
|
|
23
23
|
return false;
|
|
24
|
+
if (!('browserLoginEnabled' in value) || value['browserLoginEnabled'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('deviceLoginEnabled' in value) || value['deviceLoginEnabled'] === undefined)
|
|
27
|
+
return false;
|
|
24
28
|
return true;
|
|
25
29
|
}
|
|
26
30
|
export function AuthProviderFromJSON(json) {
|
|
@@ -35,6 +39,8 @@ export function AuthProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
39
|
'name': json['name'],
|
|
36
40
|
'type': json['type'],
|
|
37
41
|
'externalAuthPortalUrl': json['external_auth_portal_url'] == null ? undefined : json['external_auth_portal_url'],
|
|
42
|
+
'browserLoginEnabled': json['browser_login_enabled'],
|
|
43
|
+
'deviceLoginEnabled': json['device_login_enabled'],
|
|
38
44
|
};
|
|
39
45
|
}
|
|
40
46
|
export function AuthProviderToJSON(json) {
|
|
@@ -49,5 +55,7 @@ export function AuthProviderToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
49
55
|
'name': value['name'],
|
|
50
56
|
'type': value['type'],
|
|
51
57
|
'external_auth_portal_url': value['externalAuthPortalUrl'],
|
|
58
|
+
'browser_login_enabled': value['browserLoginEnabled'],
|
|
59
|
+
'device_login_enabled': value['deviceLoginEnabled'],
|
|
52
60
|
};
|
|
53
61
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 DeviceLoginPollRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface DeviceLoginPollRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DeviceLoginPollRequest
|
|
22
|
+
*/
|
|
23
|
+
deviceLoginId: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the DeviceLoginPollRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfDeviceLoginPollRequest(value: object): value is DeviceLoginPollRequest;
|
|
29
|
+
export declare function DeviceLoginPollRequestFromJSON(json: any): DeviceLoginPollRequest;
|
|
30
|
+
export declare function DeviceLoginPollRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeviceLoginPollRequest;
|
|
31
|
+
export declare function DeviceLoginPollRequestToJSON(json: any): DeviceLoginPollRequest;
|
|
32
|
+
export declare function DeviceLoginPollRequestToJSONTyped(value?: DeviceLoginPollRequest | null, ignoreDiscriminator?: boolean): any;
|
|
33
|
+
//# sourceMappingURL=DeviceLoginPollRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeviceLoginPollRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/DeviceLoginPollRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAG/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAQnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CASlI"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 DeviceLoginPollRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfDeviceLoginPollRequest(value) {
|
|
18
|
+
if (!('deviceLoginId' in value) || value['deviceLoginId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function DeviceLoginPollRequestFromJSON(json) {
|
|
23
|
+
return DeviceLoginPollRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function DeviceLoginPollRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'deviceLoginId': json['device_login_id'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function DeviceLoginPollRequestToJSON(json) {
|
|
34
|
+
return DeviceLoginPollRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function DeviceLoginPollRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'device_login_id': value['deviceLoginId'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 { LoginResponse } from './LoginResponse.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DeviceLoginPollResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface DeviceLoginPollResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof DeviceLoginPollResponse
|
|
23
|
+
*/
|
|
24
|
+
status: DeviceLoginPollResponseStatusEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof DeviceLoginPollResponse
|
|
29
|
+
*/
|
|
30
|
+
intervalSeconds?: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof DeviceLoginPollResponse
|
|
35
|
+
*/
|
|
36
|
+
expiresAt?: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {LoginResponse}
|
|
40
|
+
* @memberof DeviceLoginPollResponse
|
|
41
|
+
*/
|
|
42
|
+
login?: LoginResponse;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export declare const DeviceLoginPollResponseStatusEnum: {
|
|
48
|
+
readonly Pending: "pending";
|
|
49
|
+
readonly SlowDown: "slow_down";
|
|
50
|
+
readonly Completed: "completed";
|
|
51
|
+
};
|
|
52
|
+
export type DeviceLoginPollResponseStatusEnum = typeof DeviceLoginPollResponseStatusEnum[keyof typeof DeviceLoginPollResponseStatusEnum];
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the DeviceLoginPollResponse interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfDeviceLoginPollResponse(value: object): value is DeviceLoginPollResponse;
|
|
57
|
+
export declare function DeviceLoginPollResponseFromJSON(json: any): DeviceLoginPollResponse;
|
|
58
|
+
export declare function DeviceLoginPollResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeviceLoginPollResponse;
|
|
59
|
+
export declare function DeviceLoginPollResponseToJSON(json: any): DeviceLoginPollResponse;
|
|
60
|
+
export declare function DeviceLoginPollResponseToJSONTyped(value?: DeviceLoginPollResponse | null, ignoreDiscriminator?: boolean): any;
|
|
61
|
+
//# sourceMappingURL=DeviceLoginPollResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeviceLoginPollResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/DeviceLoginPollResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,MAAM,EAAE,iCAAiC,CAAC;IAC1C;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;CACzB;AAGD;;GAEG;AACH,eAAO,MAAM,iCAAiC;;;;CAIpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,OAAO,iCAAiC,CAAC,MAAM,OAAO,iCAAiC,CAAC,CAAC;AAGzI;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAGjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAWrH;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,CAYpI"}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 { LoginResponseFromJSON, LoginResponseToJSON, } from './LoginResponse.js';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const DeviceLoginPollResponseStatusEnum = {
|
|
19
|
+
Pending: 'pending',
|
|
20
|
+
SlowDown: 'slow_down',
|
|
21
|
+
Completed: 'completed'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the DeviceLoginPollResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfDeviceLoginPollResponse(value) {
|
|
27
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function DeviceLoginPollResponseFromJSON(json) {
|
|
32
|
+
return DeviceLoginPollResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function DeviceLoginPollResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'status': json['status'],
|
|
40
|
+
'intervalSeconds': json['interval_seconds'] == null ? undefined : json['interval_seconds'],
|
|
41
|
+
'expiresAt': json['expires_at'] == null ? undefined : json['expires_at'],
|
|
42
|
+
'login': json['login'] == null ? undefined : LoginResponseFromJSON(json['login']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function DeviceLoginPollResponseToJSON(json) {
|
|
46
|
+
return DeviceLoginPollResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function DeviceLoginPollResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'status': value['status'],
|
|
54
|
+
'interval_seconds': value['intervalSeconds'],
|
|
55
|
+
'expires_at': value['expiresAt'],
|
|
56
|
+
'login': LoginResponseToJSON(value['login']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 DeviceLoginStartResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface DeviceLoginStartResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DeviceLoginStartResponse
|
|
22
|
+
*/
|
|
23
|
+
deviceLoginId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DeviceLoginStartResponse
|
|
28
|
+
*/
|
|
29
|
+
userCode: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DeviceLoginStartResponse
|
|
34
|
+
*/
|
|
35
|
+
verificationUri: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof DeviceLoginStartResponse
|
|
40
|
+
*/
|
|
41
|
+
verificationUriComplete?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof DeviceLoginStartResponse
|
|
46
|
+
*/
|
|
47
|
+
expiresAt: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof DeviceLoginStartResponse
|
|
52
|
+
*/
|
|
53
|
+
intervalSeconds: number;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the DeviceLoginStartResponse interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfDeviceLoginStartResponse(value: object): value is DeviceLoginStartResponse;
|
|
59
|
+
export declare function DeviceLoginStartResponseFromJSON(json: any): DeviceLoginStartResponse;
|
|
60
|
+
export declare function DeviceLoginStartResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeviceLoginStartResponse;
|
|
61
|
+
export declare function DeviceLoginStartResponseToJSON(json: any): DeviceLoginStartResponse;
|
|
62
|
+
export declare function DeviceLoginStartResponseToJSONTyped(value?: DeviceLoginStartResponse | null, ignoreDiscriminator?: boolean): any;
|
|
63
|
+
//# sourceMappingURL=DeviceLoginStartResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeviceLoginStartResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/DeviceLoginStartResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wBAAwB,CAOnG;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAavH;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAElF;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CActI"}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 DeviceLoginStartResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfDeviceLoginStartResponse(value) {
|
|
18
|
+
if (!('deviceLoginId' in value) || value['deviceLoginId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('userCode' in value) || value['userCode'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('verificationUri' in value) || value['verificationUri'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('expiresAt' in value) || value['expiresAt'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('intervalSeconds' in value) || value['intervalSeconds'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function DeviceLoginStartResponseFromJSON(json) {
|
|
31
|
+
return DeviceLoginStartResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function DeviceLoginStartResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'deviceLoginId': json['device_login_id'],
|
|
39
|
+
'userCode': json['user_code'],
|
|
40
|
+
'verificationUri': json['verification_uri'],
|
|
41
|
+
'verificationUriComplete': json['verification_uri_complete'] == null ? undefined : json['verification_uri_complete'],
|
|
42
|
+
'expiresAt': json['expires_at'],
|
|
43
|
+
'intervalSeconds': json['interval_seconds'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function DeviceLoginStartResponseToJSON(json) {
|
|
47
|
+
return DeviceLoginStartResponseToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function DeviceLoginStartResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'device_login_id': value['deviceLoginId'],
|
|
55
|
+
'user_code': value['userCode'],
|
|
56
|
+
'verification_uri': value['verificationUri'],
|
|
57
|
+
'verification_uri_complete': value['verificationUriComplete'],
|
|
58
|
+
'expires_at': value['expiresAt'],
|
|
59
|
+
'interval_seconds': value['intervalSeconds'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { User } from './User.js';
|
|
13
|
-
import type { RegionalSession } from './RegionalSession.js';
|
|
14
13
|
/**
|
|
15
14
|
*
|
|
16
15
|
* @export
|
|
@@ -41,12 +40,6 @@ export interface LoginResponse {
|
|
|
41
40
|
* @memberof LoginResponse
|
|
42
41
|
*/
|
|
43
42
|
user: User;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {RegionalSession}
|
|
47
|
-
* @memberof LoginResponse
|
|
48
|
-
*/
|
|
49
|
-
regionalSession?: RegionalSession;
|
|
50
43
|
}
|
|
51
44
|
/**
|
|
52
45
|
* Check if a given object implements the LoginResponse interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoginResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/LoginResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"LoginResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/LoginResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAQnC;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,EAAE,IAAI,CAAC;CACd;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAM7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAWjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYhH"}
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { UserFromJSON, UserToJSON, } from './User.js';
|
|
15
|
-
import { RegionalSessionFromJSON, RegionalSessionToJSON, } from './RegionalSession.js';
|
|
16
15
|
/**
|
|
17
16
|
* Check if a given object implements the LoginResponse interface.
|
|
18
17
|
*/
|
|
@@ -39,7 +38,6 @@ export function LoginResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
38
|
'refreshToken': json['refresh_token'],
|
|
40
39
|
'expiresAt': json['expires_at'],
|
|
41
40
|
'user': UserFromJSON(json['user']),
|
|
42
|
-
'regionalSession': json['regional_session'] == null ? undefined : RegionalSessionFromJSON(json['regional_session']),
|
|
43
41
|
};
|
|
44
42
|
}
|
|
45
43
|
export function LoginResponseToJSON(json) {
|
|
@@ -54,6 +52,5 @@ export function LoginResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
54
52
|
'refresh_token': value['refreshToken'],
|
|
55
53
|
'expires_at': value['expiresAt'],
|
|
56
54
|
'user': UserToJSON(value['user']),
|
|
57
|
-
'regional_session': RegionalSessionToJSON(value['regionalSession']),
|
|
58
55
|
};
|
|
59
56
|
}
|
|
@@ -34,7 +34,7 @@ export interface RegisterRequest {
|
|
|
34
34
|
*/
|
|
35
35
|
name: string;
|
|
36
36
|
/**
|
|
37
|
-
* Required in global-gateway mode because registration creates the user's
|
|
37
|
+
* Required in global-gateway mode because registration creates the user's initial team.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof RegisterRequest
|
|
40
40
|
*/
|
|
@@ -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 { DeviceLoginPollResponse } from './DeviceLoginPollResponse.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SuccessDeviceLoginPollResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SuccessDeviceLoginPollResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof SuccessDeviceLoginPollResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {DeviceLoginPollResponse}
|
|
28
|
+
* @memberof SuccessDeviceLoginPollResponse
|
|
29
|
+
*/
|
|
30
|
+
data?: DeviceLoginPollResponse;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SuccessDeviceLoginPollResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSuccessDeviceLoginPollResponse(value: object): value is SuccessDeviceLoginPollResponse;
|
|
36
|
+
export declare function SuccessDeviceLoginPollResponseFromJSON(json: any): SuccessDeviceLoginPollResponse;
|
|
37
|
+
export declare function SuccessDeviceLoginPollResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessDeviceLoginPollResponse;
|
|
38
|
+
export declare function SuccessDeviceLoginPollResponseToJSON(json: any): SuccessDeviceLoginPollResponse;
|
|
39
|
+
export declare function SuccessDeviceLoginPollResponseToJSONTyped(value?: SuccessDeviceLoginPollResponse | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=SuccessDeviceLoginPollResponse.d.ts.map
|