g-ten-security-sdk 1.0.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/dist/auth/authenticate.d.ts +30 -0
- package/dist/auth/authenticate.js +52 -0
- package/dist/auth/interceptor.d.ts +13 -0
- package/dist/auth/interceptor.js +74 -0
- package/dist/auth/tokenStore.d.ts +17 -0
- package/dist/auth/tokenStore.js +36 -0
- package/dist/client.d.ts +109 -0
- package/dist/client.js +157 -0
- package/dist/generated/src/apis/AuthApi.d.ts +139 -0
- package/dist/generated/src/apis/AuthApi.js +429 -0
- package/dist/generated/src/apis/BranchesApi.d.ts +77 -0
- package/dist/generated/src/apis/BranchesApi.js +228 -0
- package/dist/generated/src/apis/ChatApi.d.ts +34 -0
- package/dist/generated/src/apis/ChatApi.js +92 -0
- package/dist/generated/src/apis/DataApi.d.ts +112 -0
- package/dist/generated/src/apis/DataApi.js +297 -0
- package/dist/generated/src/apis/DefaultApi.d.ts +109 -0
- package/dist/generated/src/apis/DefaultApi.js +306 -0
- package/dist/generated/src/apis/DemoApi.d.ts +46 -0
- package/dist/generated/src/apis/DemoApi.js +129 -0
- package/dist/generated/src/apis/FraudApi.d.ts +311 -0
- package/dist/generated/src/apis/FraudApi.js +809 -0
- package/dist/generated/src/apis/HealthApi.d.ts +31 -0
- package/dist/generated/src/apis/HealthApi.js +92 -0
- package/dist/generated/src/apis/SchemaApi.d.ts +31 -0
- package/dist/generated/src/apis/SchemaApi.js +92 -0
- package/dist/generated/src/apis/WorkflowApi.d.ts +94 -0
- package/dist/generated/src/apis/WorkflowApi.js +269 -0
- package/dist/generated/src/apis/index.d.ts +10 -0
- package/dist/generated/src/apis/index.js +28 -0
- package/dist/generated/src/index.d.ts +3 -0
- package/dist/generated/src/index.js +21 -0
- package/dist/generated/src/models/Account.d.ts +122 -0
- package/dist/generated/src/models/Account.js +92 -0
- package/dist/generated/src/models/AlertStatusUpdate.d.ts +32 -0
- package/dist/generated/src/models/AlertStatusUpdate.js +50 -0
- package/dist/generated/src/models/AssignRequest.d.ts +32 -0
- package/dist/generated/src/models/AssignRequest.js +48 -0
- package/dist/generated/src/models/BranchCreate.d.ts +44 -0
- package/dist/generated/src/models/BranchCreate.js +56 -0
- package/dist/generated/src/models/BranchUpdate.d.ts +38 -0
- package/dist/generated/src/models/BranchUpdate.js +50 -0
- package/dist/generated/src/models/ChatRequest.d.ts +39 -0
- package/dist/generated/src/models/ChatRequest.js +53 -0
- package/dist/generated/src/models/ChatResponse.d.ts +32 -0
- package/dist/generated/src/models/ChatResponse.js +50 -0
- package/dist/generated/src/models/HTTPValidationError.d.ts +33 -0
- package/dist/generated/src/models/HTTPValidationError.js +49 -0
- package/dist/generated/src/models/HistoryTurn.d.ts +38 -0
- package/dist/generated/src/models/HistoryTurn.js +54 -0
- package/dist/generated/src/models/InjectPatternRequest.d.ts +32 -0
- package/dist/generated/src/models/InjectPatternRequest.js +50 -0
- package/dist/generated/src/models/LocationInner.d.ts +26 -0
- package/dist/generated/src/models/LocationInner.js +38 -0
- package/dist/generated/src/models/NarrativeRequest.d.ts +44 -0
- package/dist/generated/src/models/NarrativeRequest.js +52 -0
- package/dist/generated/src/models/NoteCreate.d.ts +38 -0
- package/dist/generated/src/models/NoteCreate.js +52 -0
- package/dist/generated/src/models/PasswordUpdate.d.ts +32 -0
- package/dist/generated/src/models/PasswordUpdate.js +50 -0
- package/dist/generated/src/models/StreamConfigRequest.d.ts +32 -0
- package/dist/generated/src/models/StreamConfigRequest.js +50 -0
- package/dist/generated/src/models/Token.d.ts +46 -0
- package/dist/generated/src/models/Token.js +58 -0
- package/dist/generated/src/models/Transaction.d.ts +74 -0
- package/dist/generated/src/models/Transaction.js +78 -0
- package/dist/generated/src/models/UserCreate.d.ts +56 -0
- package/dist/generated/src/models/UserCreate.js +62 -0
- package/dist/generated/src/models/UserOut.d.ts +62 -0
- package/dist/generated/src/models/UserOut.js +66 -0
- package/dist/generated/src/models/ValidationError.d.ts +57 -0
- package/dist/generated/src/models/ValidationError.js +63 -0
- package/dist/generated/src/models/index.d.ts +20 -0
- package/dist/generated/src/models/index.js +38 -0
- package/dist/generated/src/runtime.d.ts +184 -0
- package/dist/generated/src/runtime.js +353 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +40 -0
- package/dist/types/index.d.ts +85 -0
- package/dist/types/index.js +5 -0
- package/dist/utils/errors.d.ts +33 -0
- package/dist/utils/errors.js +52 -0
- package/dist/utils/validators.d.ts +10 -0
- package/dist/utils/validators.js +26 -0
- package/dist/wrappers/alerts.d.ts +29 -0
- package/dist/wrappers/alerts.js +52 -0
- package/dist/wrappers/analytics.d.ts +8 -0
- package/dist/wrappers/analytics.js +15 -0
- package/dist/wrappers/copilot.d.ts +8 -0
- package/dist/wrappers/copilot.js +20 -0
- package/dist/wrappers/data.d.ts +55 -0
- package/dist/wrappers/data.js +127 -0
- package/dist/wrappers/fraud.d.ts +46 -0
- package/dist/wrappers/fraud.js +84 -0
- package/dist/wrappers/investigation.d.ts +31 -0
- package/dist/wrappers/investigation.js +77 -0
- package/package.json +18 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* G-TEN
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
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 ChatResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface ChatResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ChatResponse
|
|
22
|
+
*/
|
|
23
|
+
response: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ChatResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfChatResponse(value: object): value is ChatResponse;
|
|
29
|
+
export declare function ChatResponseFromJSON(json: any): ChatResponse;
|
|
30
|
+
export declare function ChatResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChatResponse;
|
|
31
|
+
export declare function ChatResponseToJSON(json: any): ChatResponse;
|
|
32
|
+
export declare function ChatResponseToJSONTyped(value?: ChatResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* G-TEN
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfChatResponse = instanceOfChatResponse;
|
|
17
|
+
exports.ChatResponseFromJSON = ChatResponseFromJSON;
|
|
18
|
+
exports.ChatResponseFromJSONTyped = ChatResponseFromJSONTyped;
|
|
19
|
+
exports.ChatResponseToJSON = ChatResponseToJSON;
|
|
20
|
+
exports.ChatResponseToJSONTyped = ChatResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ChatResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfChatResponse(value) {
|
|
25
|
+
if (!('response' in value) || value['response'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ChatResponseFromJSON(json) {
|
|
30
|
+
return ChatResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ChatResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'response': json['response'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ChatResponseToJSON(json) {
|
|
41
|
+
return ChatResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ChatResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'response': value['response'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* G-TEN
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
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 { ValidationError } from './ValidationError';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface HTTPValidationError
|
|
17
|
+
*/
|
|
18
|
+
export interface HTTPValidationError {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ValidationError>}
|
|
22
|
+
* @memberof HTTPValidationError
|
|
23
|
+
*/
|
|
24
|
+
detail?: Array<ValidationError>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the HTTPValidationError interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfHTTPValidationError(value: object): value is HTTPValidationError;
|
|
30
|
+
export declare function HTTPValidationErrorFromJSON(json: any): HTTPValidationError;
|
|
31
|
+
export declare function HTTPValidationErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): HTTPValidationError;
|
|
32
|
+
export declare function HTTPValidationErrorToJSON(json: any): HTTPValidationError;
|
|
33
|
+
export declare function HTTPValidationErrorToJSONTyped(value?: HTTPValidationError | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* G-TEN
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfHTTPValidationError = instanceOfHTTPValidationError;
|
|
17
|
+
exports.HTTPValidationErrorFromJSON = HTTPValidationErrorFromJSON;
|
|
18
|
+
exports.HTTPValidationErrorFromJSONTyped = HTTPValidationErrorFromJSONTyped;
|
|
19
|
+
exports.HTTPValidationErrorToJSON = HTTPValidationErrorToJSON;
|
|
20
|
+
exports.HTTPValidationErrorToJSONTyped = HTTPValidationErrorToJSONTyped;
|
|
21
|
+
const ValidationError_1 = require("./ValidationError");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the HTTPValidationError interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfHTTPValidationError(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function HTTPValidationErrorFromJSON(json) {
|
|
29
|
+
return HTTPValidationErrorFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function HTTPValidationErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'detail': json['detail'] == null ? undefined : (json['detail'].map(ValidationError_1.ValidationErrorFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function HTTPValidationErrorToJSON(json) {
|
|
40
|
+
return HTTPValidationErrorToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function HTTPValidationErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'detail': value['detail'] == null ? undefined : (value['detail'].map(ValidationError_1.ValidationErrorToJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* G-TEN
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
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 HistoryTurn
|
|
16
|
+
*/
|
|
17
|
+
export interface HistoryTurn {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HistoryTurn
|
|
22
|
+
*/
|
|
23
|
+
role: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof HistoryTurn
|
|
28
|
+
*/
|
|
29
|
+
content: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the HistoryTurn interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfHistoryTurn(value: object): value is HistoryTurn;
|
|
35
|
+
export declare function HistoryTurnFromJSON(json: any): HistoryTurn;
|
|
36
|
+
export declare function HistoryTurnFromJSONTyped(json: any, ignoreDiscriminator: boolean): HistoryTurn;
|
|
37
|
+
export declare function HistoryTurnToJSON(json: any): HistoryTurn;
|
|
38
|
+
export declare function HistoryTurnToJSONTyped(value?: HistoryTurn | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* G-TEN
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfHistoryTurn = instanceOfHistoryTurn;
|
|
17
|
+
exports.HistoryTurnFromJSON = HistoryTurnFromJSON;
|
|
18
|
+
exports.HistoryTurnFromJSONTyped = HistoryTurnFromJSONTyped;
|
|
19
|
+
exports.HistoryTurnToJSON = HistoryTurnToJSON;
|
|
20
|
+
exports.HistoryTurnToJSONTyped = HistoryTurnToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the HistoryTurn interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfHistoryTurn(value) {
|
|
25
|
+
if (!('role' in value) || value['role'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function HistoryTurnFromJSON(json) {
|
|
32
|
+
return HistoryTurnFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function HistoryTurnFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'role': json['role'],
|
|
40
|
+
'content': json['content'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function HistoryTurnToJSON(json) {
|
|
44
|
+
return HistoryTurnToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function HistoryTurnToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'role': value['role'],
|
|
52
|
+
'content': value['content'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* G-TEN
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
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 InjectPatternRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface InjectPatternRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InjectPatternRequest
|
|
22
|
+
*/
|
|
23
|
+
pattern: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the InjectPatternRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfInjectPatternRequest(value: object): value is InjectPatternRequest;
|
|
29
|
+
export declare function InjectPatternRequestFromJSON(json: any): InjectPatternRequest;
|
|
30
|
+
export declare function InjectPatternRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): InjectPatternRequest;
|
|
31
|
+
export declare function InjectPatternRequestToJSON(json: any): InjectPatternRequest;
|
|
32
|
+
export declare function InjectPatternRequestToJSONTyped(value?: InjectPatternRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* G-TEN
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfInjectPatternRequest = instanceOfInjectPatternRequest;
|
|
17
|
+
exports.InjectPatternRequestFromJSON = InjectPatternRequestFromJSON;
|
|
18
|
+
exports.InjectPatternRequestFromJSONTyped = InjectPatternRequestFromJSONTyped;
|
|
19
|
+
exports.InjectPatternRequestToJSON = InjectPatternRequestToJSON;
|
|
20
|
+
exports.InjectPatternRequestToJSONTyped = InjectPatternRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the InjectPatternRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfInjectPatternRequest(value) {
|
|
25
|
+
if (!('pattern' in value) || value['pattern'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function InjectPatternRequestFromJSON(json) {
|
|
30
|
+
return InjectPatternRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function InjectPatternRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'pattern': json['pattern'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function InjectPatternRequestToJSON(json) {
|
|
41
|
+
return InjectPatternRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function InjectPatternRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'pattern': value['pattern'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* G-TEN
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
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 LocationInner
|
|
16
|
+
*/
|
|
17
|
+
export interface LocationInner {
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the LocationInner interface.
|
|
21
|
+
*/
|
|
22
|
+
export declare function instanceOfLocationInner(value: object): value is LocationInner;
|
|
23
|
+
export declare function LocationInnerFromJSON(json: any): LocationInner;
|
|
24
|
+
export declare function LocationInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): LocationInner;
|
|
25
|
+
export declare function LocationInnerToJSON(json: any): LocationInner;
|
|
26
|
+
export declare function LocationInnerToJSONTyped(value?: LocationInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* G-TEN
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfLocationInner = instanceOfLocationInner;
|
|
17
|
+
exports.LocationInnerFromJSON = LocationInnerFromJSON;
|
|
18
|
+
exports.LocationInnerFromJSONTyped = LocationInnerFromJSONTyped;
|
|
19
|
+
exports.LocationInnerToJSON = LocationInnerToJSON;
|
|
20
|
+
exports.LocationInnerToJSONTyped = LocationInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LocationInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLocationInner(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function LocationInnerFromJSON(json) {
|
|
28
|
+
return LocationInnerFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function LocationInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
function LocationInnerToJSON(json) {
|
|
34
|
+
return LocationInnerToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function LocationInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* G-TEN
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
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 NarrativeRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface NarrativeRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NarrativeRequest
|
|
22
|
+
*/
|
|
23
|
+
focusedPattern?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<any>}
|
|
27
|
+
* @memberof NarrativeRequest
|
|
28
|
+
*/
|
|
29
|
+
allPatterns?: Array<any>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<any>}
|
|
33
|
+
* @memberof NarrativeRequest
|
|
34
|
+
*/
|
|
35
|
+
shapFeatures?: Array<any>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the NarrativeRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfNarrativeRequest(value: object): value is NarrativeRequest;
|
|
41
|
+
export declare function NarrativeRequestFromJSON(json: any): NarrativeRequest;
|
|
42
|
+
export declare function NarrativeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): NarrativeRequest;
|
|
43
|
+
export declare function NarrativeRequestToJSON(json: any): NarrativeRequest;
|
|
44
|
+
export declare function NarrativeRequestToJSONTyped(value?: NarrativeRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* G-TEN
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfNarrativeRequest = instanceOfNarrativeRequest;
|
|
17
|
+
exports.NarrativeRequestFromJSON = NarrativeRequestFromJSON;
|
|
18
|
+
exports.NarrativeRequestFromJSONTyped = NarrativeRequestFromJSONTyped;
|
|
19
|
+
exports.NarrativeRequestToJSON = NarrativeRequestToJSON;
|
|
20
|
+
exports.NarrativeRequestToJSONTyped = NarrativeRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the NarrativeRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfNarrativeRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function NarrativeRequestFromJSON(json) {
|
|
28
|
+
return NarrativeRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function NarrativeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'focusedPattern': json['focused_pattern'] == null ? undefined : json['focused_pattern'],
|
|
36
|
+
'allPatterns': json['all_patterns'] == null ? undefined : json['all_patterns'],
|
|
37
|
+
'shapFeatures': json['shap_features'] == null ? undefined : json['shap_features'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function NarrativeRequestToJSON(json) {
|
|
41
|
+
return NarrativeRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function NarrativeRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'focused_pattern': value['focusedPattern'],
|
|
49
|
+
'all_patterns': value['allPatterns'],
|
|
50
|
+
'shap_features': value['shapFeatures'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* G-TEN
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
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 NoteCreate
|
|
16
|
+
*/
|
|
17
|
+
export interface NoteCreate {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NoteCreate
|
|
22
|
+
*/
|
|
23
|
+
author?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof NoteCreate
|
|
28
|
+
*/
|
|
29
|
+
content: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the NoteCreate interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfNoteCreate(value: object): value is NoteCreate;
|
|
35
|
+
export declare function NoteCreateFromJSON(json: any): NoteCreate;
|
|
36
|
+
export declare function NoteCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): NoteCreate;
|
|
37
|
+
export declare function NoteCreateToJSON(json: any): NoteCreate;
|
|
38
|
+
export declare function NoteCreateToJSONTyped(value?: NoteCreate | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* G-TEN
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfNoteCreate = instanceOfNoteCreate;
|
|
17
|
+
exports.NoteCreateFromJSON = NoteCreateFromJSON;
|
|
18
|
+
exports.NoteCreateFromJSONTyped = NoteCreateFromJSONTyped;
|
|
19
|
+
exports.NoteCreateToJSON = NoteCreateToJSON;
|
|
20
|
+
exports.NoteCreateToJSONTyped = NoteCreateToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the NoteCreate interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfNoteCreate(value) {
|
|
25
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function NoteCreateFromJSON(json) {
|
|
30
|
+
return NoteCreateFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function NoteCreateFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'author': json['author'] == null ? undefined : json['author'],
|
|
38
|
+
'content': json['content'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function NoteCreateToJSON(json) {
|
|
42
|
+
return NoteCreateToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function NoteCreateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'author': value['author'],
|
|
50
|
+
'content': value['content'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* G-TEN
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
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 PasswordUpdate
|
|
16
|
+
*/
|
|
17
|
+
export interface PasswordUpdate {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PasswordUpdate
|
|
22
|
+
*/
|
|
23
|
+
newPassword: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PasswordUpdate interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPasswordUpdate(value: object): value is PasswordUpdate;
|
|
29
|
+
export declare function PasswordUpdateFromJSON(json: any): PasswordUpdate;
|
|
30
|
+
export declare function PasswordUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordUpdate;
|
|
31
|
+
export declare function PasswordUpdateToJSON(json: any): PasswordUpdate;
|
|
32
|
+
export declare function PasswordUpdateToJSONTyped(value?: PasswordUpdate | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* G-TEN
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPasswordUpdate = instanceOfPasswordUpdate;
|
|
17
|
+
exports.PasswordUpdateFromJSON = PasswordUpdateFromJSON;
|
|
18
|
+
exports.PasswordUpdateFromJSONTyped = PasswordUpdateFromJSONTyped;
|
|
19
|
+
exports.PasswordUpdateToJSON = PasswordUpdateToJSON;
|
|
20
|
+
exports.PasswordUpdateToJSONTyped = PasswordUpdateToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PasswordUpdate interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPasswordUpdate(value) {
|
|
25
|
+
if ((!('newPassword' in value) && !('new_password' in value)) || (value['newPassword'] === undefined && value['new_password'] === undefined))
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function PasswordUpdateFromJSON(json) {
|
|
30
|
+
return PasswordUpdateFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function PasswordUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'newPassword': json['new_password'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function PasswordUpdateToJSON(json) {
|
|
41
|
+
return PasswordUpdateToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function PasswordUpdateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'new_password': value['newPassword'],
|
|
49
|
+
};
|
|
50
|
+
}
|