keplar-api 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +13 -0
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +15 -1
- package/dist/apis/DefaultApi.js +65 -0
- package/dist/models/Attribute.d.ts +65 -0
- package/dist/models/Attribute.js +68 -0
- package/dist/models/AttributeFilterGroupSchemaInner.d.ts +23 -0
- package/dist/models/AttributeFilterGroupSchemaInner.js +58 -0
- package/dist/models/AttributeKind.d.ts +76 -0
- package/dist/models/AttributeKind.js +75 -0
- package/dist/models/AttributeSource.d.ts +25 -0
- package/dist/models/AttributeSource.js +51 -0
- package/dist/models/AttributeStatsSchemaInner.d.ts +40 -0
- package/dist/models/AttributeStatsSchemaInner.js +57 -0
- package/dist/models/AttributeStatsSchemaInnerKind.d.ts +57 -0
- package/dist/models/AttributeStatsSchemaInnerKind.js +64 -0
- package/dist/models/AttributeStatsSchemaInnerValuesInner.d.ts +38 -0
- package/dist/models/AttributeStatsSchemaInnerValuesInner.js +55 -0
- package/dist/models/AttributeValueKind.d.ts +26 -0
- package/dist/models/AttributeValueKind.js +52 -0
- package/dist/models/InviteResponse.d.ts +7 -0
- package/dist/models/InviteResponse.js +3 -0
- package/dist/models/InviteResponseAttribute.d.ts +71 -0
- package/dist/models/InviteResponseAttribute.js +74 -0
- package/dist/models/NumberFilterSchema.d.ts +57 -0
- package/dist/models/NumberFilterSchema.js +66 -0
- package/dist/models/Participant.d.ts +7 -0
- package/dist/models/Participant.js +3 -0
- package/dist/models/ParticipantAttribute.d.ts +77 -0
- package/dist/models/ParticipantAttribute.js +78 -0
- package/dist/models/RepDataSurveyStatusLegacy.d.ts +3 -3
- package/dist/models/RepDataSurveyStatusLegacy.js +3 -3
- package/dist/models/ResponseConsentEvent.d.ts +6 -0
- package/dist/models/ResponseConsentEvent.js +2 -0
- package/dist/models/SelectFilterSchema.d.ts +45 -0
- package/dist/models/SelectFilterSchema.js +60 -0
- package/dist/models/SelectFilterSchemaKind.d.ts +26 -0
- package/dist/models/SelectFilterSchemaKind.js +39 -0
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +67 -0
- package/src/models/Attribute.ts +130 -0
- package/src/models/AttributeFilterGroupSchemaInner.ts +76 -0
- package/src/models/AttributeKind.ts +143 -0
- package/src/models/AttributeSource.ts +53 -0
- package/src/models/AttributeStatsSchemaInner.ts +90 -0
- package/src/models/AttributeStatsSchemaInnerKind.ts +110 -0
- package/src/models/AttributeStatsSchemaInnerValuesInner.ts +75 -0
- package/src/models/AttributeValueKind.ts +54 -0
- package/src/models/InviteResponse.ts +15 -0
- package/src/models/InviteResponseAttribute.ts +142 -0
- package/src/models/NumberFilterSchema.ts +101 -0
- package/src/models/Participant.ts +15 -0
- package/src/models/ParticipantAttribute.ts +151 -0
- package/src/models/RepDataSurveyStatusLegacy.ts +3 -3
- package/src/models/ResponseConsentEvent.ts +8 -0
- package/src/models/SelectFilterSchema.ts +92 -0
- package/src/models/SelectFilterSchemaKind.ts +46 -0
- package/src/models/index.ts +13 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.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.instanceOfAttributeStatsSchemaInner = instanceOfAttributeStatsSchemaInner;
|
|
17
|
+
exports.AttributeStatsSchemaInnerFromJSON = AttributeStatsSchemaInnerFromJSON;
|
|
18
|
+
exports.AttributeStatsSchemaInnerFromJSONTyped = AttributeStatsSchemaInnerFromJSONTyped;
|
|
19
|
+
exports.AttributeStatsSchemaInnerToJSON = AttributeStatsSchemaInnerToJSON;
|
|
20
|
+
exports.AttributeStatsSchemaInnerToJSONTyped = AttributeStatsSchemaInnerToJSONTyped;
|
|
21
|
+
var AttributeStatsSchemaInnerKind_1 = require("./AttributeStatsSchemaInnerKind");
|
|
22
|
+
var AttributeStatsSchemaInnerValuesInner_1 = require("./AttributeStatsSchemaInnerValuesInner");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AttributeStatsSchemaInner interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfAttributeStatsSchemaInner(value) {
|
|
27
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('values' in value) || value['values'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function AttributeStatsSchemaInnerFromJSON(json) {
|
|
34
|
+
return AttributeStatsSchemaInnerFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function AttributeStatsSchemaInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'kind': (0, AttributeStatsSchemaInnerKind_1.AttributeStatsSchemaInnerKindFromJSON)(json['kind']),
|
|
42
|
+
'values': (json['values'].map(AttributeStatsSchemaInnerValuesInner_1.AttributeStatsSchemaInnerValuesInnerFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function AttributeStatsSchemaInnerToJSON(json) {
|
|
46
|
+
return AttributeStatsSchemaInnerToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function AttributeStatsSchemaInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'kind': (0, AttributeStatsSchemaInnerKind_1.AttributeStatsSchemaInnerKindToJSON)(value['kind']),
|
|
55
|
+
'values': (value['values'].map(AttributeStatsSchemaInnerValuesInner_1.AttributeStatsSchemaInnerValuesInnerToJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 { AttributeValueKind } from './AttributeValueKind';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AttributeStatsSchemaInnerKind
|
|
17
|
+
*/
|
|
18
|
+
export interface AttributeStatsSchemaInnerKind {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AttributeStatsSchemaInnerKind
|
|
23
|
+
*/
|
|
24
|
+
key: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AttributeStatsSchemaInnerKind
|
|
29
|
+
*/
|
|
30
|
+
label: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof AttributeStatsSchemaInnerKind
|
|
35
|
+
*/
|
|
36
|
+
description?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AttributeStatsSchemaInnerKind
|
|
41
|
+
*/
|
|
42
|
+
category?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {AttributeValueKind}
|
|
46
|
+
* @memberof AttributeStatsSchemaInnerKind
|
|
47
|
+
*/
|
|
48
|
+
valueKind: AttributeValueKind;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the AttributeStatsSchemaInnerKind interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfAttributeStatsSchemaInnerKind(value: object): value is AttributeStatsSchemaInnerKind;
|
|
54
|
+
export declare function AttributeStatsSchemaInnerKindFromJSON(json: any): AttributeStatsSchemaInnerKind;
|
|
55
|
+
export declare function AttributeStatsSchemaInnerKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeStatsSchemaInnerKind;
|
|
56
|
+
export declare function AttributeStatsSchemaInnerKindToJSON(json: any): AttributeStatsSchemaInnerKind;
|
|
57
|
+
export declare function AttributeStatsSchemaInnerKindToJSONTyped(value?: AttributeStatsSchemaInnerKind | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.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.instanceOfAttributeStatsSchemaInnerKind = instanceOfAttributeStatsSchemaInnerKind;
|
|
17
|
+
exports.AttributeStatsSchemaInnerKindFromJSON = AttributeStatsSchemaInnerKindFromJSON;
|
|
18
|
+
exports.AttributeStatsSchemaInnerKindFromJSONTyped = AttributeStatsSchemaInnerKindFromJSONTyped;
|
|
19
|
+
exports.AttributeStatsSchemaInnerKindToJSON = AttributeStatsSchemaInnerKindToJSON;
|
|
20
|
+
exports.AttributeStatsSchemaInnerKindToJSONTyped = AttributeStatsSchemaInnerKindToJSONTyped;
|
|
21
|
+
var AttributeValueKind_1 = require("./AttributeValueKind");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AttributeStatsSchemaInnerKind interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAttributeStatsSchemaInnerKind(value) {
|
|
26
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('valueKind' in value) || value['valueKind'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function AttributeStatsSchemaInnerKindFromJSON(json) {
|
|
35
|
+
return AttributeStatsSchemaInnerKindFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function AttributeStatsSchemaInnerKindFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'key': json['key'],
|
|
43
|
+
'label': json['label'],
|
|
44
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
45
|
+
'category': json['category'] == null ? undefined : json['category'],
|
|
46
|
+
'valueKind': (0, AttributeValueKind_1.AttributeValueKindFromJSON)(json['valueKind']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function AttributeStatsSchemaInnerKindToJSON(json) {
|
|
50
|
+
return AttributeStatsSchemaInnerKindToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function AttributeStatsSchemaInnerKindToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'key': value['key'],
|
|
59
|
+
'label': value['label'],
|
|
60
|
+
'description': value['description'],
|
|
61
|
+
'category': value['category'],
|
|
62
|
+
'valueKind': (0, AttributeValueKind_1.AttributeValueKindToJSON)(value['valueKind']),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 AttributeStatsSchemaInnerValuesInner
|
|
16
|
+
*/
|
|
17
|
+
export interface AttributeStatsSchemaInnerValuesInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AttributeStatsSchemaInnerValuesInner
|
|
22
|
+
*/
|
|
23
|
+
value: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AttributeStatsSchemaInnerValuesInner
|
|
28
|
+
*/
|
|
29
|
+
count: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AttributeStatsSchemaInnerValuesInner interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAttributeStatsSchemaInnerValuesInner(value: object): value is AttributeStatsSchemaInnerValuesInner;
|
|
35
|
+
export declare function AttributeStatsSchemaInnerValuesInnerFromJSON(json: any): AttributeStatsSchemaInnerValuesInner;
|
|
36
|
+
export declare function AttributeStatsSchemaInnerValuesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeStatsSchemaInnerValuesInner;
|
|
37
|
+
export declare function AttributeStatsSchemaInnerValuesInnerToJSON(json: any): AttributeStatsSchemaInnerValuesInner;
|
|
38
|
+
export declare function AttributeStatsSchemaInnerValuesInnerToJSONTyped(value?: AttributeStatsSchemaInnerValuesInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.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.instanceOfAttributeStatsSchemaInnerValuesInner = instanceOfAttributeStatsSchemaInnerValuesInner;
|
|
17
|
+
exports.AttributeStatsSchemaInnerValuesInnerFromJSON = AttributeStatsSchemaInnerValuesInnerFromJSON;
|
|
18
|
+
exports.AttributeStatsSchemaInnerValuesInnerFromJSONTyped = AttributeStatsSchemaInnerValuesInnerFromJSONTyped;
|
|
19
|
+
exports.AttributeStatsSchemaInnerValuesInnerToJSON = AttributeStatsSchemaInnerValuesInnerToJSON;
|
|
20
|
+
exports.AttributeStatsSchemaInnerValuesInnerToJSONTyped = AttributeStatsSchemaInnerValuesInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AttributeStatsSchemaInnerValuesInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAttributeStatsSchemaInnerValuesInner(value) {
|
|
25
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function AttributeStatsSchemaInnerValuesInnerFromJSON(json) {
|
|
32
|
+
return AttributeStatsSchemaInnerValuesInnerFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function AttributeStatsSchemaInnerValuesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'value': json['value'],
|
|
40
|
+
'count': json['count'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function AttributeStatsSchemaInnerValuesInnerToJSON(json) {
|
|
44
|
+
return AttributeStatsSchemaInnerValuesInnerToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function AttributeStatsSchemaInnerValuesInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'value': value['value'],
|
|
53
|
+
'count': value['count'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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
|
+
*/
|
|
16
|
+
export declare const AttributeValueKind: {
|
|
17
|
+
readonly Single: "single";
|
|
18
|
+
readonly Multi: "multi";
|
|
19
|
+
readonly Numeric: "numeric";
|
|
20
|
+
};
|
|
21
|
+
export type AttributeValueKind = typeof AttributeValueKind[keyof typeof AttributeValueKind];
|
|
22
|
+
export declare function instanceOfAttributeValueKind(value: any): boolean;
|
|
23
|
+
export declare function AttributeValueKindFromJSON(json: any): AttributeValueKind;
|
|
24
|
+
export declare function AttributeValueKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeValueKind;
|
|
25
|
+
export declare function AttributeValueKindToJSON(value?: AttributeValueKind | null): any;
|
|
26
|
+
export declare function AttributeValueKindToJSONTyped(value: any, ignoreDiscriminator: boolean): AttributeValueKind;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.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.AttributeValueKind = void 0;
|
|
17
|
+
exports.instanceOfAttributeValueKind = instanceOfAttributeValueKind;
|
|
18
|
+
exports.AttributeValueKindFromJSON = AttributeValueKindFromJSON;
|
|
19
|
+
exports.AttributeValueKindFromJSONTyped = AttributeValueKindFromJSONTyped;
|
|
20
|
+
exports.AttributeValueKindToJSON = AttributeValueKindToJSON;
|
|
21
|
+
exports.AttributeValueKindToJSONTyped = AttributeValueKindToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.AttributeValueKind = {
|
|
27
|
+
Single: 'single',
|
|
28
|
+
Multi: 'multi',
|
|
29
|
+
Numeric: 'numeric'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfAttributeValueKind(value) {
|
|
32
|
+
for (var key in exports.AttributeValueKind) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.AttributeValueKind, key)) {
|
|
34
|
+
if (exports.AttributeValueKind[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function AttributeValueKindFromJSON(json) {
|
|
42
|
+
return AttributeValueKindFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AttributeValueKindFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function AttributeValueKindToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function AttributeValueKindToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { InviteResponseAttribute } from './InviteResponseAttribute';
|
|
12
13
|
import type { Call } from './Call';
|
|
13
14
|
import type { Participant } from './Participant';
|
|
14
15
|
import type { InviteResponseStatus } from './InviteResponseStatus';
|
|
@@ -100,6 +101,12 @@ export interface InviteResponse {
|
|
|
100
101
|
* @memberof InviteResponse
|
|
101
102
|
*/
|
|
102
103
|
calls?: Array<Call>;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {Array<InviteResponseAttribute>}
|
|
107
|
+
* @memberof InviteResponse
|
|
108
|
+
*/
|
|
109
|
+
inviteResponseAttributes?: Array<InviteResponseAttribute>;
|
|
103
110
|
}
|
|
104
111
|
/**
|
|
105
112
|
* Check if a given object implements the InviteResponse interface.
|
|
@@ -18,6 +18,7 @@ exports.InviteResponseFromJSON = InviteResponseFromJSON;
|
|
|
18
18
|
exports.InviteResponseFromJSONTyped = InviteResponseFromJSONTyped;
|
|
19
19
|
exports.InviteResponseToJSON = InviteResponseToJSON;
|
|
20
20
|
exports.InviteResponseToJSONTyped = InviteResponseToJSONTyped;
|
|
21
|
+
var InviteResponseAttribute_1 = require("./InviteResponseAttribute");
|
|
21
22
|
var Call_1 = require("./Call");
|
|
22
23
|
var Participant_1 = require("./Participant");
|
|
23
24
|
var InviteResponseStatus_1 = require("./InviteResponseStatus");
|
|
@@ -64,6 +65,7 @@ function InviteResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
64
65
|
'invite': json['invite'] == null ? undefined : (0, Invite_1.InviteFromJSON)(json['invite']),
|
|
65
66
|
'participant': json['participant'] == null ? undefined : (0, Participant_1.ParticipantFromJSON)(json['participant']),
|
|
66
67
|
'calls': json['calls'] == null ? undefined : (json['calls'].map(Call_1.CallFromJSON)),
|
|
68
|
+
'inviteResponseAttributes': json['inviteResponseAttributes'] == null ? undefined : (json['inviteResponseAttributes'].map(InviteResponseAttribute_1.InviteResponseAttributeFromJSON)),
|
|
67
69
|
};
|
|
68
70
|
}
|
|
69
71
|
function InviteResponseToJSON(json) {
|
|
@@ -88,5 +90,6 @@ function InviteResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
|
88
90
|
'invite': (0, Invite_1.InviteToJSON)(value['invite']),
|
|
89
91
|
'participant': (0, Participant_1.ParticipantToJSON)(value['participant']),
|
|
90
92
|
'calls': value['calls'] == null ? undefined : (value['calls'].map(Call_1.CallToJSON)),
|
|
93
|
+
'inviteResponseAttributes': value['inviteResponseAttributes'] == null ? undefined : (value['inviteResponseAttributes'].map(InviteResponseAttribute_1.InviteResponseAttributeToJSON)),
|
|
91
94
|
};
|
|
92
95
|
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 { AttributeSource } from './AttributeSource';
|
|
13
|
+
import type { Attribute } from './Attribute';
|
|
14
|
+
import type { InviteResponse } from './InviteResponse';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface InviteResponseAttribute
|
|
19
|
+
*/
|
|
20
|
+
export interface InviteResponseAttribute {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof InviteResponseAttribute
|
|
25
|
+
*/
|
|
26
|
+
inviteResponseId: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof InviteResponseAttribute
|
|
31
|
+
*/
|
|
32
|
+
attributeKindKey: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof InviteResponseAttribute
|
|
37
|
+
*/
|
|
38
|
+
attributeValue: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {AttributeSource}
|
|
42
|
+
* @memberof InviteResponseAttribute
|
|
43
|
+
*/
|
|
44
|
+
source: AttributeSource;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Date}
|
|
48
|
+
* @memberof InviteResponseAttribute
|
|
49
|
+
*/
|
|
50
|
+
createdAt: Date;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {InviteResponse}
|
|
54
|
+
* @memberof InviteResponseAttribute
|
|
55
|
+
*/
|
|
56
|
+
inviteResponse?: InviteResponse;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Attribute}
|
|
60
|
+
* @memberof InviteResponseAttribute
|
|
61
|
+
*/
|
|
62
|
+
attribute?: Attribute;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the InviteResponseAttribute interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfInviteResponseAttribute(value: object): value is InviteResponseAttribute;
|
|
68
|
+
export declare function InviteResponseAttributeFromJSON(json: any): InviteResponseAttribute;
|
|
69
|
+
export declare function InviteResponseAttributeFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteResponseAttribute;
|
|
70
|
+
export declare function InviteResponseAttributeToJSON(json: any): InviteResponseAttribute;
|
|
71
|
+
export declare function InviteResponseAttributeToJSONTyped(value?: InviteResponseAttribute | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.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.instanceOfInviteResponseAttribute = instanceOfInviteResponseAttribute;
|
|
17
|
+
exports.InviteResponseAttributeFromJSON = InviteResponseAttributeFromJSON;
|
|
18
|
+
exports.InviteResponseAttributeFromJSONTyped = InviteResponseAttributeFromJSONTyped;
|
|
19
|
+
exports.InviteResponseAttributeToJSON = InviteResponseAttributeToJSON;
|
|
20
|
+
exports.InviteResponseAttributeToJSONTyped = InviteResponseAttributeToJSONTyped;
|
|
21
|
+
var AttributeSource_1 = require("./AttributeSource");
|
|
22
|
+
var Attribute_1 = require("./Attribute");
|
|
23
|
+
var InviteResponse_1 = require("./InviteResponse");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the InviteResponseAttribute interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfInviteResponseAttribute(value) {
|
|
28
|
+
if (!('inviteResponseId' in value) || value['inviteResponseId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('attributeKindKey' in value) || value['attributeKindKey'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('attributeValue' in value) || value['attributeValue'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('source' in value) || value['source'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function InviteResponseAttributeFromJSON(json) {
|
|
41
|
+
return InviteResponseAttributeFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function InviteResponseAttributeFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'inviteResponseId': json['inviteResponseId'],
|
|
49
|
+
'attributeKindKey': json['attributeKindKey'],
|
|
50
|
+
'attributeValue': json['attributeValue'],
|
|
51
|
+
'source': (0, AttributeSource_1.AttributeSourceFromJSON)(json['source']),
|
|
52
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
53
|
+
'inviteResponse': json['inviteResponse'] == null ? undefined : (0, InviteResponse_1.InviteResponseFromJSON)(json['inviteResponse']),
|
|
54
|
+
'attribute': json['attribute'] == null ? undefined : (0, Attribute_1.AttributeFromJSON)(json['attribute']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function InviteResponseAttributeToJSON(json) {
|
|
58
|
+
return InviteResponseAttributeToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function InviteResponseAttributeToJSONTyped(value, ignoreDiscriminator) {
|
|
61
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'inviteResponseId': value['inviteResponseId'],
|
|
67
|
+
'attributeKindKey': value['attributeKindKey'],
|
|
68
|
+
'attributeValue': value['attributeValue'],
|
|
69
|
+
'source': (0, AttributeSource_1.AttributeSourceToJSON)(value['source']),
|
|
70
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
71
|
+
'inviteResponse': (0, InviteResponse_1.InviteResponseToJSON)(value['inviteResponse']),
|
|
72
|
+
'attribute': (0, Attribute_1.AttributeToJSON)(value['attribute']),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 NumberFilterSchema
|
|
16
|
+
*/
|
|
17
|
+
export interface NumberFilterSchema {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NumberFilterSchema
|
|
22
|
+
*/
|
|
23
|
+
kind: NumberFilterSchemaKindEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof NumberFilterSchema
|
|
28
|
+
*/
|
|
29
|
+
key: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof NumberFilterSchema
|
|
34
|
+
*/
|
|
35
|
+
min?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof NumberFilterSchema
|
|
40
|
+
*/
|
|
41
|
+
max?: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const NumberFilterSchemaKindEnum: {
|
|
47
|
+
readonly Numeric: "numeric";
|
|
48
|
+
};
|
|
49
|
+
export type NumberFilterSchemaKindEnum = typeof NumberFilterSchemaKindEnum[keyof typeof NumberFilterSchemaKindEnum];
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the NumberFilterSchema interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfNumberFilterSchema(value: object): value is NumberFilterSchema;
|
|
54
|
+
export declare function NumberFilterSchemaFromJSON(json: any): NumberFilterSchema;
|
|
55
|
+
export declare function NumberFilterSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): NumberFilterSchema;
|
|
56
|
+
export declare function NumberFilterSchemaToJSON(json: any): NumberFilterSchema;
|
|
57
|
+
export declare function NumberFilterSchemaToJSONTyped(value?: NumberFilterSchema | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.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.NumberFilterSchemaKindEnum = void 0;
|
|
17
|
+
exports.instanceOfNumberFilterSchema = instanceOfNumberFilterSchema;
|
|
18
|
+
exports.NumberFilterSchemaFromJSON = NumberFilterSchemaFromJSON;
|
|
19
|
+
exports.NumberFilterSchemaFromJSONTyped = NumberFilterSchemaFromJSONTyped;
|
|
20
|
+
exports.NumberFilterSchemaToJSON = NumberFilterSchemaToJSON;
|
|
21
|
+
exports.NumberFilterSchemaToJSONTyped = NumberFilterSchemaToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.NumberFilterSchemaKindEnum = {
|
|
26
|
+
Numeric: 'numeric'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the NumberFilterSchema interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfNumberFilterSchema(value) {
|
|
32
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function NumberFilterSchemaFromJSON(json) {
|
|
39
|
+
return NumberFilterSchemaFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function NumberFilterSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'kind': json['kind'],
|
|
47
|
+
'key': json['key'],
|
|
48
|
+
'min': json['min'] == null ? undefined : json['min'],
|
|
49
|
+
'max': json['max'] == null ? undefined : json['max'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function NumberFilterSchemaToJSON(json) {
|
|
53
|
+
return NumberFilterSchemaToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function NumberFilterSchemaToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'kind': value['kind'],
|
|
62
|
+
'key': value['key'],
|
|
63
|
+
'min': value['min'],
|
|
64
|
+
'max': value['max'],
|
|
65
|
+
};
|
|
66
|
+
}
|