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
package/.openapi-generator/FILES
CHANGED
|
@@ -39,6 +39,14 @@ src/models/ApiThreadsGet200Response.ts
|
|
|
39
39
|
src/models/ApiThreadsThreadIdFilesGet200Response.ts
|
|
40
40
|
src/models/ApiThreadsThreadIdPostRequest.ts
|
|
41
41
|
src/models/ApiThreadsThreadIdProjectBriefVersionsGet200Response.ts
|
|
42
|
+
src/models/Attribute.ts
|
|
43
|
+
src/models/AttributeFilterGroupSchemaInner.ts
|
|
44
|
+
src/models/AttributeKind.ts
|
|
45
|
+
src/models/AttributeSource.ts
|
|
46
|
+
src/models/AttributeStatsSchemaInner.ts
|
|
47
|
+
src/models/AttributeStatsSchemaInnerKind.ts
|
|
48
|
+
src/models/AttributeStatsSchemaInnerValuesInner.ts
|
|
49
|
+
src/models/AttributeValueKind.ts
|
|
42
50
|
src/models/BadRequestErrorResponse.ts
|
|
43
51
|
src/models/Call.ts
|
|
44
52
|
src/models/CallEvent.ts
|
|
@@ -65,6 +73,7 @@ src/models/InternalServerErrorResponse.ts
|
|
|
65
73
|
src/models/Invite.ts
|
|
66
74
|
src/models/InviteConfig.ts
|
|
67
75
|
src/models/InviteResponse.ts
|
|
76
|
+
src/models/InviteResponseAttribute.ts
|
|
68
77
|
src/models/InviteResponseData.ts
|
|
69
78
|
src/models/InviteResponseKind.ts
|
|
70
79
|
src/models/InviteResponseMetadata.ts
|
|
@@ -77,10 +86,12 @@ src/models/Moderator.ts
|
|
|
77
86
|
src/models/ModeratorVendor.ts
|
|
78
87
|
src/models/ModeratorVisibility.ts
|
|
79
88
|
src/models/NotFoundErrorResponse.ts
|
|
89
|
+
src/models/NumberFilterSchema.ts
|
|
80
90
|
src/models/OpenAiModelConfig.ts
|
|
81
91
|
src/models/OpenAiModelConfigModel.ts
|
|
82
92
|
src/models/Org.ts
|
|
83
93
|
src/models/Participant.ts
|
|
94
|
+
src/models/ParticipantAttribute.ts
|
|
84
95
|
src/models/ParticipantCreate.ts
|
|
85
96
|
src/models/ParticipantInvite.ts
|
|
86
97
|
src/models/ParticipantInviteConfig.ts
|
|
@@ -134,6 +145,8 @@ src/models/ResponseStartCallEvent.ts
|
|
|
134
145
|
src/models/ResponseSubmitEmailEvent.ts
|
|
135
146
|
src/models/ResponseSubmitScreenerEvent.ts
|
|
136
147
|
src/models/SearchProjectTranscriptsResponse.ts
|
|
148
|
+
src/models/SelectFilterSchema.ts
|
|
149
|
+
src/models/SelectFilterSchemaKind.ts
|
|
137
150
|
src/models/Thread.ts
|
|
138
151
|
src/models/ThreadCreateProjectStatus.ts
|
|
139
152
|
src/models/ThreadFile.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## keplar-api@0.0.
|
|
1
|
+
## keplar-api@0.0.9
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install keplar-api@0.0.
|
|
39
|
+
npm install keplar-api@0.0.9 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ApiCallMessagesSearchPost200ResponseInner, ApiDemosCreateDemoInvitePostRequest, ApiFilesFileIdSignedUrlPost200Response, ApiFilesFileIdSignedUrlPostRequest, ApiInviteCodeCodeGet200Response, ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response, ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest, ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest, ApiInvitesIdParticipantInvitesParticipantIdPutRequest, ApiInvitesIdParticipantInvitesPostRequest, ApiInvitesIdPutRequest, ApiInvitesIdResponsesGet200Response, ApiInvitesIdResponsesPostRequest, ApiInvitesIdResponsesResponseIdPutRequest, ApiInvitesPostRequest, ApiProjectsGet200Response, ApiProjectsPostRequest, ApiProjectsProjectIdFilesFileIdPutRequest, ApiProjectsProjectIdFilesGet200Response, ApiProjectsProjectIdFilesPostRequest, ApiProjectsProjectIdPutRequest, ApiProjectsProjectIdSearchTranscriptsPostRequest, ApiThreadsGet200Response, ApiThreadsThreadIdFilesGet200Response, ApiThreadsThreadIdPostRequest, ApiThreadsThreadIdProjectBriefVersionsGet200Response, Call, CallMetadata, CodeInviteResponse, ConversationMessage, GetParticipantInvitesResponse, GetProjectResponsesResponse, InboundCallResponse, Invite, InviteResponse, InviteResponseStatus, InviteResponseUpdateEvent, ModelFile, ParticipantInvite, PhoneCallStartResponse, Project, ProjectBrief, ProjectFile, ProjectStatus, ProjectWithAnalytics, RemainingResponsesResponse, SearchProjectTranscriptsResponse, Thread, ThreadKind, User } from '../models/index';
|
|
13
|
+
import type { ApiCallMessagesSearchPost200ResponseInner, ApiDemosCreateDemoInvitePostRequest, ApiFilesFileIdSignedUrlPost200Response, ApiFilesFileIdSignedUrlPostRequest, ApiInviteCodeCodeGet200Response, ApiInviteCodeCodeResponsesResponseIdRedirectGet200Response, ApiInviteCodeCodeResponsesResponseIdStartPhoneCallPostRequest, ApiInviteCodeCodeResponsesResponseIdUpdateCallPutRequest, ApiInvitesIdParticipantInvitesParticipantIdPutRequest, ApiInvitesIdParticipantInvitesPostRequest, ApiInvitesIdPutRequest, ApiInvitesIdResponsesGet200Response, ApiInvitesIdResponsesPostRequest, ApiInvitesIdResponsesResponseIdPutRequest, ApiInvitesPostRequest, ApiProjectsGet200Response, ApiProjectsPostRequest, ApiProjectsProjectIdFilesFileIdPutRequest, ApiProjectsProjectIdFilesGet200Response, ApiProjectsProjectIdFilesPostRequest, ApiProjectsProjectIdPutRequest, ApiProjectsProjectIdSearchTranscriptsPostRequest, ApiThreadsGet200Response, ApiThreadsThreadIdFilesGet200Response, ApiThreadsThreadIdPostRequest, ApiThreadsThreadIdProjectBriefVersionsGet200Response, AttributeStatsSchemaInner, Call, CallMetadata, CodeInviteResponse, ConversationMessage, GetParticipantInvitesResponse, GetProjectResponsesResponse, InboundCallResponse, Invite, InviteResponse, InviteResponseStatus, InviteResponseUpdateEvent, ModelFile, ParticipantInvite, PhoneCallStartResponse, Project, ProjectBrief, ProjectFile, ProjectStatus, ProjectWithAnalytics, RemainingResponsesResponse, SearchProjectTranscriptsResponse, Thread, ThreadKind, User } from '../models/index';
|
|
14
14
|
export interface ApiCallMessagesSearchPostRequest {
|
|
15
15
|
requestBody?: {
|
|
16
16
|
[key: string]: Array<number>;
|
|
@@ -205,10 +205,16 @@ export interface ApiProjectsProjectIdPutOperationRequest {
|
|
|
205
205
|
projectId: string;
|
|
206
206
|
apiProjectsProjectIdPutRequest?: ApiProjectsProjectIdPutRequest;
|
|
207
207
|
}
|
|
208
|
+
export interface ApiProjectsProjectIdResponseAttributeStatsGetRequest {
|
|
209
|
+
projectId: string;
|
|
210
|
+
inviteId?: string;
|
|
211
|
+
}
|
|
208
212
|
export interface ApiProjectsProjectIdResponsesGetRequest {
|
|
209
213
|
projectId: string;
|
|
210
214
|
page?: number;
|
|
211
215
|
limit?: number;
|
|
216
|
+
inviteId?: string;
|
|
217
|
+
filters?: string;
|
|
212
218
|
}
|
|
213
219
|
export interface ApiProjectsProjectIdSearchTranscriptsPostOperationRequest {
|
|
214
220
|
projectId: string;
|
|
@@ -704,6 +710,14 @@ export declare class DefaultApi extends runtime.BaseAPI {
|
|
|
704
710
|
* Update project
|
|
705
711
|
*/
|
|
706
712
|
apiProjectsProjectIdPut(requestParameters: ApiProjectsProjectIdPutOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectWithAnalytics>;
|
|
713
|
+
/**
|
|
714
|
+
* Get project response attribute stats
|
|
715
|
+
*/
|
|
716
|
+
apiProjectsProjectIdResponseAttributeStatsGetRaw(requestParameters: ApiProjectsProjectIdResponseAttributeStatsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<AttributeStatsSchemaInner>>>;
|
|
717
|
+
/**
|
|
718
|
+
* Get project response attribute stats
|
|
719
|
+
*/
|
|
720
|
+
apiProjectsProjectIdResponseAttributeStatsGet(requestParameters: ApiProjectsProjectIdResponseAttributeStatsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AttributeStatsSchemaInner>>;
|
|
707
721
|
/**
|
|
708
722
|
* Get project responses
|
|
709
723
|
*/
|
package/dist/apis/DefaultApi.js
CHANGED
|
@@ -3190,6 +3190,65 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
3190
3190
|
});
|
|
3191
3191
|
});
|
|
3192
3192
|
};
|
|
3193
|
+
/**
|
|
3194
|
+
* Get project response attribute stats
|
|
3195
|
+
*/
|
|
3196
|
+
DefaultApi.prototype.apiProjectsProjectIdResponseAttributeStatsGetRaw = function (requestParameters, initOverrides) {
|
|
3197
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3198
|
+
var queryParameters, headerParameters, token, tokenString, urlPath, response;
|
|
3199
|
+
return __generator(this, function (_a) {
|
|
3200
|
+
switch (_a.label) {
|
|
3201
|
+
case 0:
|
|
3202
|
+
if (requestParameters['projectId'] == null) {
|
|
3203
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling apiProjectsProjectIdResponseAttributeStatsGet().');
|
|
3204
|
+
}
|
|
3205
|
+
queryParameters = {};
|
|
3206
|
+
if (requestParameters['inviteId'] != null) {
|
|
3207
|
+
queryParameters['inviteId'] = requestParameters['inviteId'];
|
|
3208
|
+
}
|
|
3209
|
+
headerParameters = {};
|
|
3210
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
3211
|
+
token = this.configuration.accessToken;
|
|
3212
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
3213
|
+
case 1:
|
|
3214
|
+
tokenString = _a.sent();
|
|
3215
|
+
if (tokenString) {
|
|
3216
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
3217
|
+
}
|
|
3218
|
+
_a.label = 2;
|
|
3219
|
+
case 2:
|
|
3220
|
+
urlPath = "/api/projects/{projectId}/responseAttributeStats";
|
|
3221
|
+
urlPath = urlPath.replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters['projectId'])));
|
|
3222
|
+
return [4 /*yield*/, this.request({
|
|
3223
|
+
path: urlPath,
|
|
3224
|
+
method: 'GET',
|
|
3225
|
+
headers: headerParameters,
|
|
3226
|
+
query: queryParameters,
|
|
3227
|
+
}, initOverrides)];
|
|
3228
|
+
case 3:
|
|
3229
|
+
response = _a.sent();
|
|
3230
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.AttributeStatsSchemaInnerFromJSON); })];
|
|
3231
|
+
}
|
|
3232
|
+
});
|
|
3233
|
+
});
|
|
3234
|
+
};
|
|
3235
|
+
/**
|
|
3236
|
+
* Get project response attribute stats
|
|
3237
|
+
*/
|
|
3238
|
+
DefaultApi.prototype.apiProjectsProjectIdResponseAttributeStatsGet = function (requestParameters, initOverrides) {
|
|
3239
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3240
|
+
var response;
|
|
3241
|
+
return __generator(this, function (_a) {
|
|
3242
|
+
switch (_a.label) {
|
|
3243
|
+
case 0: return [4 /*yield*/, this.apiProjectsProjectIdResponseAttributeStatsGetRaw(requestParameters, initOverrides)];
|
|
3244
|
+
case 1:
|
|
3245
|
+
response = _a.sent();
|
|
3246
|
+
return [4 /*yield*/, response.value()];
|
|
3247
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
3248
|
+
}
|
|
3249
|
+
});
|
|
3250
|
+
});
|
|
3251
|
+
};
|
|
3193
3252
|
/**
|
|
3194
3253
|
* Get project responses
|
|
3195
3254
|
*/
|
|
@@ -3209,6 +3268,12 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
3209
3268
|
if (requestParameters['limit'] != null) {
|
|
3210
3269
|
queryParameters['limit'] = requestParameters['limit'];
|
|
3211
3270
|
}
|
|
3271
|
+
if (requestParameters['inviteId'] != null) {
|
|
3272
|
+
queryParameters['inviteId'] = requestParameters['inviteId'];
|
|
3273
|
+
}
|
|
3274
|
+
if (requestParameters['filters'] != null) {
|
|
3275
|
+
queryParameters['filters'] = requestParameters['filters'];
|
|
3276
|
+
}
|
|
3212
3277
|
headerParameters = {};
|
|
3213
3278
|
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
3214
3279
|
token = this.configuration.accessToken;
|
|
@@ -0,0 +1,65 @@
|
|
|
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 { InviteResponseAttribute } from './InviteResponseAttribute';
|
|
13
|
+
import type { ParticipantAttribute } from './ParticipantAttribute';
|
|
14
|
+
import type { AttributeKind } from './AttributeKind';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface Attribute
|
|
19
|
+
*/
|
|
20
|
+
export interface Attribute {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof Attribute
|
|
25
|
+
*/
|
|
26
|
+
attributeKindKey: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof Attribute
|
|
31
|
+
*/
|
|
32
|
+
value: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {Date}
|
|
36
|
+
* @memberof Attribute
|
|
37
|
+
*/
|
|
38
|
+
createdAt: Date;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {AttributeKind}
|
|
42
|
+
* @memberof Attribute
|
|
43
|
+
*/
|
|
44
|
+
attributeKind?: AttributeKind;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Array<ParticipantAttribute>}
|
|
48
|
+
* @memberof Attribute
|
|
49
|
+
*/
|
|
50
|
+
participantAttributes?: Array<ParticipantAttribute>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {Array<InviteResponseAttribute>}
|
|
54
|
+
* @memberof Attribute
|
|
55
|
+
*/
|
|
56
|
+
inviteResponseAttributes?: Array<InviteResponseAttribute>;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the Attribute interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfAttribute(value: object): value is Attribute;
|
|
62
|
+
export declare function AttributeFromJSON(json: any): Attribute;
|
|
63
|
+
export declare function AttributeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Attribute;
|
|
64
|
+
export declare function AttributeToJSON(json: any): Attribute;
|
|
65
|
+
export declare function AttributeToJSONTyped(value?: Attribute | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
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.instanceOfAttribute = instanceOfAttribute;
|
|
17
|
+
exports.AttributeFromJSON = AttributeFromJSON;
|
|
18
|
+
exports.AttributeFromJSONTyped = AttributeFromJSONTyped;
|
|
19
|
+
exports.AttributeToJSON = AttributeToJSON;
|
|
20
|
+
exports.AttributeToJSONTyped = AttributeToJSONTyped;
|
|
21
|
+
var InviteResponseAttribute_1 = require("./InviteResponseAttribute");
|
|
22
|
+
var ParticipantAttribute_1 = require("./ParticipantAttribute");
|
|
23
|
+
var AttributeKind_1 = require("./AttributeKind");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the Attribute interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfAttribute(value) {
|
|
28
|
+
if (!('attributeKindKey' in value) || value['attributeKindKey'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function AttributeFromJSON(json) {
|
|
37
|
+
return AttributeFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function AttributeFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'attributeKindKey': json['attributeKindKey'],
|
|
45
|
+
'value': json['value'],
|
|
46
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
47
|
+
'attributeKind': json['attributeKind'] == null ? undefined : (0, AttributeKind_1.AttributeKindFromJSON)(json['attributeKind']),
|
|
48
|
+
'participantAttributes': json['participantAttributes'] == null ? undefined : (json['participantAttributes'].map(ParticipantAttribute_1.ParticipantAttributeFromJSON)),
|
|
49
|
+
'inviteResponseAttributes': json['inviteResponseAttributes'] == null ? undefined : (json['inviteResponseAttributes'].map(InviteResponseAttribute_1.InviteResponseAttributeFromJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function AttributeToJSON(json) {
|
|
53
|
+
return AttributeToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function AttributeToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'attributeKindKey': value['attributeKindKey'],
|
|
62
|
+
'value': value['value'],
|
|
63
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
64
|
+
'attributeKind': (0, AttributeKind_1.AttributeKindToJSON)(value['attributeKind']),
|
|
65
|
+
'participantAttributes': value['participantAttributes'] == null ? undefined : (value['participantAttributes'].map(ParticipantAttribute_1.ParticipantAttributeToJSON)),
|
|
66
|
+
'inviteResponseAttributes': value['inviteResponseAttributes'] == null ? undefined : (value['inviteResponseAttributes'].map(InviteResponseAttribute_1.InviteResponseAttributeToJSON)),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { NumberFilterSchema } from './NumberFilterSchema';
|
|
13
|
+
import type { SelectFilterSchema } from './SelectFilterSchema';
|
|
14
|
+
/**
|
|
15
|
+
* @type AttributeFilterGroupSchemaInner
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export type AttributeFilterGroupSchemaInner = NumberFilterSchema | SelectFilterSchema;
|
|
20
|
+
export declare function AttributeFilterGroupSchemaInnerFromJSON(json: any): AttributeFilterGroupSchemaInner;
|
|
21
|
+
export declare function AttributeFilterGroupSchemaInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeFilterGroupSchemaInner;
|
|
22
|
+
export declare function AttributeFilterGroupSchemaInnerToJSON(json: any): any;
|
|
23
|
+
export declare function AttributeFilterGroupSchemaInnerToJSONTyped(value?: AttributeFilterGroupSchemaInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.AttributeFilterGroupSchemaInnerFromJSON = AttributeFilterGroupSchemaInnerFromJSON;
|
|
17
|
+
exports.AttributeFilterGroupSchemaInnerFromJSONTyped = AttributeFilterGroupSchemaInnerFromJSONTyped;
|
|
18
|
+
exports.AttributeFilterGroupSchemaInnerToJSON = AttributeFilterGroupSchemaInnerToJSON;
|
|
19
|
+
exports.AttributeFilterGroupSchemaInnerToJSONTyped = AttributeFilterGroupSchemaInnerToJSONTyped;
|
|
20
|
+
var NumberFilterSchema_1 = require("./NumberFilterSchema");
|
|
21
|
+
var SelectFilterSchema_1 = require("./SelectFilterSchema");
|
|
22
|
+
function AttributeFilterGroupSchemaInnerFromJSON(json) {
|
|
23
|
+
return AttributeFilterGroupSchemaInnerFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
function AttributeFilterGroupSchemaInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
if (typeof json !== 'object') {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
if ((0, NumberFilterSchema_1.instanceOfNumberFilterSchema)(json)) {
|
|
33
|
+
return (0, NumberFilterSchema_1.NumberFilterSchemaFromJSONTyped)(json, true);
|
|
34
|
+
}
|
|
35
|
+
if ((0, SelectFilterSchema_1.instanceOfSelectFilterSchema)(json)) {
|
|
36
|
+
return (0, SelectFilterSchema_1.SelectFilterSchemaFromJSONTyped)(json, true);
|
|
37
|
+
}
|
|
38
|
+
return {};
|
|
39
|
+
}
|
|
40
|
+
function AttributeFilterGroupSchemaInnerToJSON(json) {
|
|
41
|
+
return AttributeFilterGroupSchemaInnerToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AttributeFilterGroupSchemaInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
if (typeof value !== 'object') {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
if ((0, NumberFilterSchema_1.instanceOfNumberFilterSchema)(value)) {
|
|
52
|
+
return (0, NumberFilterSchema_1.NumberFilterSchemaToJSON)(value);
|
|
53
|
+
}
|
|
54
|
+
if ((0, SelectFilterSchema_1.instanceOfSelectFilterSchema)(value)) {
|
|
55
|
+
return (0, SelectFilterSchema_1.SelectFilterSchemaToJSON)(value);
|
|
56
|
+
}
|
|
57
|
+
return {};
|
|
58
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
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 { Attribute } from './Attribute';
|
|
13
|
+
import type { AttributeValueKind } from './AttributeValueKind';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AttributeKind
|
|
18
|
+
*/
|
|
19
|
+
export interface AttributeKind {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof AttributeKind
|
|
24
|
+
*/
|
|
25
|
+
key: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof AttributeKind
|
|
30
|
+
*/
|
|
31
|
+
label: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {AttributeValueKind}
|
|
35
|
+
* @memberof AttributeKind
|
|
36
|
+
*/
|
|
37
|
+
valueKind: AttributeValueKind;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof AttributeKind
|
|
42
|
+
*/
|
|
43
|
+
description?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof AttributeKind
|
|
48
|
+
*/
|
|
49
|
+
category?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Date}
|
|
53
|
+
* @memberof AttributeKind
|
|
54
|
+
*/
|
|
55
|
+
createdAt: Date;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Date}
|
|
59
|
+
* @memberof AttributeKind
|
|
60
|
+
*/
|
|
61
|
+
updatedAt: Date;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Array<Attribute>}
|
|
65
|
+
* @memberof AttributeKind
|
|
66
|
+
*/
|
|
67
|
+
attributes?: Array<Attribute>;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the AttributeKind interface.
|
|
71
|
+
*/
|
|
72
|
+
export declare function instanceOfAttributeKind(value: object): value is AttributeKind;
|
|
73
|
+
export declare function AttributeKindFromJSON(json: any): AttributeKind;
|
|
74
|
+
export declare function AttributeKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeKind;
|
|
75
|
+
export declare function AttributeKindToJSON(json: any): AttributeKind;
|
|
76
|
+
export declare function AttributeKindToJSONTyped(value?: AttributeKind | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,75 @@
|
|
|
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.instanceOfAttributeKind = instanceOfAttributeKind;
|
|
17
|
+
exports.AttributeKindFromJSON = AttributeKindFromJSON;
|
|
18
|
+
exports.AttributeKindFromJSONTyped = AttributeKindFromJSONTyped;
|
|
19
|
+
exports.AttributeKindToJSON = AttributeKindToJSON;
|
|
20
|
+
exports.AttributeKindToJSONTyped = AttributeKindToJSONTyped;
|
|
21
|
+
var Attribute_1 = require("./Attribute");
|
|
22
|
+
var AttributeValueKind_1 = require("./AttributeValueKind");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AttributeKind interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfAttributeKind(value) {
|
|
27
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('valueKind' in value) || value['valueKind'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function AttributeKindFromJSON(json) {
|
|
40
|
+
return AttributeKindFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AttributeKindFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'key': json['key'],
|
|
48
|
+
'label': json['label'],
|
|
49
|
+
'valueKind': (0, AttributeValueKind_1.AttributeValueKindFromJSON)(json['valueKind']),
|
|
50
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
51
|
+
'category': json['category'] == null ? undefined : json['category'],
|
|
52
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
53
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
54
|
+
'attributes': json['attributes'] == null ? undefined : (json['attributes'].map(Attribute_1.AttributeFromJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function AttributeKindToJSON(json) {
|
|
58
|
+
return AttributeKindToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function AttributeKindToJSONTyped(value, ignoreDiscriminator) {
|
|
61
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'key': value['key'],
|
|
67
|
+
'label': value['label'],
|
|
68
|
+
'valueKind': (0, AttributeValueKind_1.AttributeValueKindToJSON)(value['valueKind']),
|
|
69
|
+
'description': value['description'],
|
|
70
|
+
'category': value['category'],
|
|
71
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
72
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
73
|
+
'attributes': value['attributes'] == null ? undefined : (value['attributes'].map(Attribute_1.AttributeToJSON)),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 AttributeSource: {
|
|
17
|
+
readonly Panel: "panel";
|
|
18
|
+
readonly Generated: "generated";
|
|
19
|
+
};
|
|
20
|
+
export type AttributeSource = typeof AttributeSource[keyof typeof AttributeSource];
|
|
21
|
+
export declare function instanceOfAttributeSource(value: any): boolean;
|
|
22
|
+
export declare function AttributeSourceFromJSON(json: any): AttributeSource;
|
|
23
|
+
export declare function AttributeSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeSource;
|
|
24
|
+
export declare function AttributeSourceToJSON(value?: AttributeSource | null): any;
|
|
25
|
+
export declare function AttributeSourceToJSONTyped(value: any, ignoreDiscriminator: boolean): AttributeSource;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.AttributeSource = void 0;
|
|
17
|
+
exports.instanceOfAttributeSource = instanceOfAttributeSource;
|
|
18
|
+
exports.AttributeSourceFromJSON = AttributeSourceFromJSON;
|
|
19
|
+
exports.AttributeSourceFromJSONTyped = AttributeSourceFromJSONTyped;
|
|
20
|
+
exports.AttributeSourceToJSON = AttributeSourceToJSON;
|
|
21
|
+
exports.AttributeSourceToJSONTyped = AttributeSourceToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.AttributeSource = {
|
|
27
|
+
Panel: 'panel',
|
|
28
|
+
Generated: 'generated'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfAttributeSource(value) {
|
|
31
|
+
for (var key in exports.AttributeSource) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.AttributeSource, key)) {
|
|
33
|
+
if (exports.AttributeSource[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function AttributeSourceFromJSON(json) {
|
|
41
|
+
return AttributeSourceFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AttributeSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function AttributeSourceToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function AttributeSourceToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { AttributeStatsSchemaInnerKind } from './AttributeStatsSchemaInnerKind';
|
|
13
|
+
import type { AttributeStatsSchemaInnerValuesInner } from './AttributeStatsSchemaInnerValuesInner';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AttributeStatsSchemaInner
|
|
18
|
+
*/
|
|
19
|
+
export interface AttributeStatsSchemaInner {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {AttributeStatsSchemaInnerKind}
|
|
23
|
+
* @memberof AttributeStatsSchemaInner
|
|
24
|
+
*/
|
|
25
|
+
kind: AttributeStatsSchemaInnerKind;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<AttributeStatsSchemaInnerValuesInner>}
|
|
29
|
+
* @memberof AttributeStatsSchemaInner
|
|
30
|
+
*/
|
|
31
|
+
values: Array<AttributeStatsSchemaInnerValuesInner>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the AttributeStatsSchemaInner interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfAttributeStatsSchemaInner(value: object): value is AttributeStatsSchemaInner;
|
|
37
|
+
export declare function AttributeStatsSchemaInnerFromJSON(json: any): AttributeStatsSchemaInner;
|
|
38
|
+
export declare function AttributeStatsSchemaInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeStatsSchemaInner;
|
|
39
|
+
export declare function AttributeStatsSchemaInnerToJSON(json: any): AttributeStatsSchemaInner;
|
|
40
|
+
export declare function AttributeStatsSchemaInnerToJSONTyped(value?: AttributeStatsSchemaInner | null, ignoreDiscriminator?: boolean): any;
|