keplar-api 0.0.8 → 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.
Files changed (57) hide show
  1. package/.openapi-generator/FILES +13 -0
  2. package/README.md +2 -2
  3. package/dist/apis/DefaultApi.d.ts +15 -1
  4. package/dist/apis/DefaultApi.js +65 -0
  5. package/dist/models/Attribute.d.ts +65 -0
  6. package/dist/models/Attribute.js +68 -0
  7. package/dist/models/AttributeFilterGroupSchemaInner.d.ts +23 -0
  8. package/dist/models/AttributeFilterGroupSchemaInner.js +58 -0
  9. package/dist/models/AttributeKind.d.ts +76 -0
  10. package/dist/models/AttributeKind.js +75 -0
  11. package/dist/models/AttributeSource.d.ts +25 -0
  12. package/dist/models/AttributeSource.js +51 -0
  13. package/dist/models/AttributeStatsSchemaInner.d.ts +40 -0
  14. package/dist/models/AttributeStatsSchemaInner.js +57 -0
  15. package/dist/models/AttributeStatsSchemaInnerKind.d.ts +57 -0
  16. package/dist/models/AttributeStatsSchemaInnerKind.js +64 -0
  17. package/dist/models/AttributeStatsSchemaInnerValuesInner.d.ts +38 -0
  18. package/dist/models/AttributeStatsSchemaInnerValuesInner.js +55 -0
  19. package/dist/models/AttributeValueKind.d.ts +26 -0
  20. package/dist/models/AttributeValueKind.js +52 -0
  21. package/dist/models/InviteResponse.d.ts +7 -0
  22. package/dist/models/InviteResponse.js +3 -0
  23. package/dist/models/InviteResponseAttribute.d.ts +71 -0
  24. package/dist/models/InviteResponseAttribute.js +74 -0
  25. package/dist/models/NumberFilterSchema.d.ts +57 -0
  26. package/dist/models/NumberFilterSchema.js +66 -0
  27. package/dist/models/Participant.d.ts +7 -0
  28. package/dist/models/Participant.js +3 -0
  29. package/dist/models/ParticipantAttribute.d.ts +77 -0
  30. package/dist/models/ParticipantAttribute.js +78 -0
  31. package/dist/models/RepDataSurveyStatusLegacy.d.ts +3 -3
  32. package/dist/models/RepDataSurveyStatusLegacy.js +3 -3
  33. package/dist/models/SelectFilterSchema.d.ts +45 -0
  34. package/dist/models/SelectFilterSchema.js +60 -0
  35. package/dist/models/SelectFilterSchemaKind.d.ts +26 -0
  36. package/dist/models/SelectFilterSchemaKind.js +39 -0
  37. package/dist/models/index.d.ts +13 -0
  38. package/dist/models/index.js +13 -0
  39. package/package.json +1 -1
  40. package/src/apis/DefaultApi.ts +67 -0
  41. package/src/models/Attribute.ts +130 -0
  42. package/src/models/AttributeFilterGroupSchemaInner.ts +76 -0
  43. package/src/models/AttributeKind.ts +143 -0
  44. package/src/models/AttributeSource.ts +53 -0
  45. package/src/models/AttributeStatsSchemaInner.ts +90 -0
  46. package/src/models/AttributeStatsSchemaInnerKind.ts +110 -0
  47. package/src/models/AttributeStatsSchemaInnerValuesInner.ts +75 -0
  48. package/src/models/AttributeValueKind.ts +54 -0
  49. package/src/models/InviteResponse.ts +15 -0
  50. package/src/models/InviteResponseAttribute.ts +142 -0
  51. package/src/models/NumberFilterSchema.ts +101 -0
  52. package/src/models/Participant.ts +15 -0
  53. package/src/models/ParticipantAttribute.ts +151 -0
  54. package/src/models/RepDataSurveyStatusLegacy.ts +3 -3
  55. package/src/models/SelectFilterSchema.ts +92 -0
  56. package/src/models/SelectFilterSchemaKind.ts +46 -0
  57. package/src/models/index.ts +13 -0
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { Call } from './Call';
13
13
  import type { Org } from './Org';
14
+ import type { ParticipantAttribute } from './ParticipantAttribute';
14
15
  import type { InviteResponse } from './InviteResponse';
15
16
  import type { ParticipantInvite } from './ParticipantInvite';
16
17
  /**
@@ -91,6 +92,12 @@ export interface Participant {
91
92
  * @memberof Participant
92
93
  */
93
94
  calls?: Array<Call>;
95
+ /**
96
+ *
97
+ * @type {Array<ParticipantAttribute>}
98
+ * @memberof Participant
99
+ */
100
+ participantAttributes?: Array<ParticipantAttribute>;
94
101
  }
95
102
  /**
96
103
  * Check if a given object implements the Participant interface.
@@ -20,6 +20,7 @@ exports.ParticipantToJSON = ParticipantToJSON;
20
20
  exports.ParticipantToJSONTyped = ParticipantToJSONTyped;
21
21
  var Call_1 = require("./Call");
22
22
  var Org_1 = require("./Org");
23
+ var ParticipantAttribute_1 = require("./ParticipantAttribute");
23
24
  var InviteResponse_1 = require("./InviteResponse");
24
25
  var ParticipantInvite_1 = require("./ParticipantInvite");
25
26
  /**
@@ -56,6 +57,7 @@ function ParticipantFromJSONTyped(json, ignoreDiscriminator) {
56
57
  'participantInvites': json['participantInvites'] == null ? undefined : (json['participantInvites'].map(ParticipantInvite_1.ParticipantInviteFromJSON)),
57
58
  'inviteResponses': json['inviteResponses'] == null ? undefined : (json['inviteResponses'].map(InviteResponse_1.InviteResponseFromJSON)),
58
59
  'calls': json['calls'] == null ? undefined : (json['calls'].map(Call_1.CallFromJSON)),
60
+ 'participantAttributes': json['participantAttributes'] == null ? undefined : (json['participantAttributes'].map(ParticipantAttribute_1.ParticipantAttributeFromJSON)),
59
61
  };
60
62
  }
61
63
  function ParticipantToJSON(json) {
@@ -79,5 +81,6 @@ function ParticipantToJSONTyped(value, ignoreDiscriminator) {
79
81
  'participantInvites': value['participantInvites'] == null ? undefined : (value['participantInvites'].map(ParticipantInvite_1.ParticipantInviteToJSON)),
80
82
  'inviteResponses': value['inviteResponses'] == null ? undefined : (value['inviteResponses'].map(InviteResponse_1.InviteResponseToJSON)),
81
83
  'calls': value['calls'] == null ? undefined : (value['calls'].map(Call_1.CallToJSON)),
84
+ 'participantAttributes': value['participantAttributes'] == null ? undefined : (value['participantAttributes'].map(ParticipantAttribute_1.ParticipantAttributeToJSON)),
82
85
  };
83
86
  }
@@ -0,0 +1,77 @@
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 { Participant } from './Participant';
14
+ import type { Attribute } from './Attribute';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface ParticipantAttribute
19
+ */
20
+ export interface ParticipantAttribute {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof ParticipantAttribute
25
+ */
26
+ participantId: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof ParticipantAttribute
31
+ */
32
+ attributeKindKey: string;
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof ParticipantAttribute
37
+ */
38
+ attributeValue: string;
39
+ /**
40
+ *
41
+ * @type {AttributeSource}
42
+ * @memberof ParticipantAttribute
43
+ */
44
+ source: AttributeSource;
45
+ /**
46
+ *
47
+ * @type {Date}
48
+ * @memberof ParticipantAttribute
49
+ */
50
+ createdAt: Date;
51
+ /**
52
+ *
53
+ * @type {Date}
54
+ * @memberof ParticipantAttribute
55
+ */
56
+ updatedAt: Date;
57
+ /**
58
+ *
59
+ * @type {Participant}
60
+ * @memberof ParticipantAttribute
61
+ */
62
+ participant?: Participant;
63
+ /**
64
+ *
65
+ * @type {Attribute}
66
+ * @memberof ParticipantAttribute
67
+ */
68
+ attribute?: Attribute;
69
+ }
70
+ /**
71
+ * Check if a given object implements the ParticipantAttribute interface.
72
+ */
73
+ export declare function instanceOfParticipantAttribute(value: object): value is ParticipantAttribute;
74
+ export declare function ParticipantAttributeFromJSON(json: any): ParticipantAttribute;
75
+ export declare function ParticipantAttributeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ParticipantAttribute;
76
+ export declare function ParticipantAttributeToJSON(json: any): ParticipantAttribute;
77
+ export declare function ParticipantAttributeToJSONTyped(value?: ParticipantAttribute | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,78 @@
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.instanceOfParticipantAttribute = instanceOfParticipantAttribute;
17
+ exports.ParticipantAttributeFromJSON = ParticipantAttributeFromJSON;
18
+ exports.ParticipantAttributeFromJSONTyped = ParticipantAttributeFromJSONTyped;
19
+ exports.ParticipantAttributeToJSON = ParticipantAttributeToJSON;
20
+ exports.ParticipantAttributeToJSONTyped = ParticipantAttributeToJSONTyped;
21
+ var AttributeSource_1 = require("./AttributeSource");
22
+ var Participant_1 = require("./Participant");
23
+ var Attribute_1 = require("./Attribute");
24
+ /**
25
+ * Check if a given object implements the ParticipantAttribute interface.
26
+ */
27
+ function instanceOfParticipantAttribute(value) {
28
+ if (!('participantId' in value) || value['participantId'] === 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
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function ParticipantAttributeFromJSON(json) {
43
+ return ParticipantAttributeFromJSONTyped(json, false);
44
+ }
45
+ function ParticipantAttributeFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'participantId': json['participantId'],
51
+ 'attributeKindKey': json['attributeKindKey'],
52
+ 'attributeValue': json['attributeValue'],
53
+ 'source': (0, AttributeSource_1.AttributeSourceFromJSON)(json['source']),
54
+ 'createdAt': (new Date(json['createdAt'])),
55
+ 'updatedAt': (new Date(json['updatedAt'])),
56
+ 'participant': json['participant'] == null ? undefined : (0, Participant_1.ParticipantFromJSON)(json['participant']),
57
+ 'attribute': json['attribute'] == null ? undefined : (0, Attribute_1.AttributeFromJSON)(json['attribute']),
58
+ };
59
+ }
60
+ function ParticipantAttributeToJSON(json) {
61
+ return ParticipantAttributeToJSONTyped(json, false);
62
+ }
63
+ function ParticipantAttributeToJSONTyped(value, ignoreDiscriminator) {
64
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+ return {
69
+ 'participantId': value['participantId'],
70
+ 'attributeKindKey': value['attributeKindKey'],
71
+ 'attributeValue': value['attributeValue'],
72
+ 'source': (0, AttributeSource_1.AttributeSourceToJSON)(value['source']),
73
+ 'createdAt': ((value['createdAt']).toISOString()),
74
+ 'updatedAt': ((value['updatedAt']).toISOString()),
75
+ 'participant': (0, Participant_1.ParticipantToJSON)(value['participant']),
76
+ 'attribute': (0, Attribute_1.AttributeToJSON)(value['attribute']),
77
+ };
78
+ }
@@ -14,9 +14,9 @@
14
14
  * @export
15
15
  */
16
16
  export declare const RepDataSurveyStatusLegacy: {
17
- readonly Live: "LIVE";
18
- readonly Draft: "DRAFT";
19
- readonly Paused: "PAUSED";
17
+ readonly Live: "Live";
18
+ readonly Draft: "Draft";
19
+ readonly Paused: "Paused";
20
20
  };
21
21
  export type RepDataSurveyStatusLegacy = typeof RepDataSurveyStatusLegacy[keyof typeof RepDataSurveyStatusLegacy];
22
22
  export declare function instanceOfRepDataSurveyStatusLegacy(value: any): boolean;
@@ -24,9 +24,9 @@ exports.RepDataSurveyStatusLegacyToJSONTyped = RepDataSurveyStatusLegacyToJSONTy
24
24
  * @export
25
25
  */
26
26
  exports.RepDataSurveyStatusLegacy = {
27
- Live: 'LIVE',
28
- Draft: 'DRAFT',
29
- Paused: 'PAUSED'
27
+ Live: 'Live',
28
+ Draft: 'Draft',
29
+ Paused: 'Paused'
30
30
  };
31
31
  function instanceOfRepDataSurveyStatusLegacy(value) {
32
32
  for (var key in exports.RepDataSurveyStatusLegacy) {
@@ -0,0 +1,45 @@
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 { SelectFilterSchemaKind } from './SelectFilterSchemaKind';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SelectFilterSchema
17
+ */
18
+ export interface SelectFilterSchema {
19
+ /**
20
+ *
21
+ * @type {SelectFilterSchemaKind}
22
+ * @memberof SelectFilterSchema
23
+ */
24
+ kind: SelectFilterSchemaKind;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof SelectFilterSchema
29
+ */
30
+ key: string;
31
+ /**
32
+ *
33
+ * @type {Array<string>}
34
+ * @memberof SelectFilterSchema
35
+ */
36
+ values: Array<string>;
37
+ }
38
+ /**
39
+ * Check if a given object implements the SelectFilterSchema interface.
40
+ */
41
+ export declare function instanceOfSelectFilterSchema(value: object): value is SelectFilterSchema;
42
+ export declare function SelectFilterSchemaFromJSON(json: any): SelectFilterSchema;
43
+ export declare function SelectFilterSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): SelectFilterSchema;
44
+ export declare function SelectFilterSchemaToJSON(json: any): SelectFilterSchema;
45
+ export declare function SelectFilterSchemaToJSONTyped(value?: SelectFilterSchema | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,60 @@
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.instanceOfSelectFilterSchema = instanceOfSelectFilterSchema;
17
+ exports.SelectFilterSchemaFromJSON = SelectFilterSchemaFromJSON;
18
+ exports.SelectFilterSchemaFromJSONTyped = SelectFilterSchemaFromJSONTyped;
19
+ exports.SelectFilterSchemaToJSON = SelectFilterSchemaToJSON;
20
+ exports.SelectFilterSchemaToJSONTyped = SelectFilterSchemaToJSONTyped;
21
+ var SelectFilterSchemaKind_1 = require("./SelectFilterSchemaKind");
22
+ /**
23
+ * Check if a given object implements the SelectFilterSchema interface.
24
+ */
25
+ function instanceOfSelectFilterSchema(value) {
26
+ if (!('kind' in value) || value['kind'] === undefined)
27
+ return false;
28
+ if (!('key' in value) || value['key'] === undefined)
29
+ return false;
30
+ if (!('values' in value) || value['values'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function SelectFilterSchemaFromJSON(json) {
35
+ return SelectFilterSchemaFromJSONTyped(json, false);
36
+ }
37
+ function SelectFilterSchemaFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'kind': (0, SelectFilterSchemaKind_1.SelectFilterSchemaKindFromJSON)(json['kind']),
43
+ 'key': json['key'],
44
+ 'values': json['values'],
45
+ };
46
+ }
47
+ function SelectFilterSchemaToJSON(json) {
48
+ return SelectFilterSchemaToJSONTyped(json, false);
49
+ }
50
+ function SelectFilterSchemaToJSONTyped(value, ignoreDiscriminator) {
51
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'kind': (0, SelectFilterSchemaKind_1.SelectFilterSchemaKindToJSON)(value['kind']),
57
+ 'key': value['key'],
58
+ 'values': value['values'],
59
+ };
60
+ }
@@ -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
+ * @interface SelectFilterSchemaKind
16
+ */
17
+ export interface SelectFilterSchemaKind {
18
+ }
19
+ /**
20
+ * Check if a given object implements the SelectFilterSchemaKind interface.
21
+ */
22
+ export declare function instanceOfSelectFilterSchemaKind(value: object): value is SelectFilterSchemaKind;
23
+ export declare function SelectFilterSchemaKindFromJSON(json: any): SelectFilterSchemaKind;
24
+ export declare function SelectFilterSchemaKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): SelectFilterSchemaKind;
25
+ export declare function SelectFilterSchemaKindToJSON(json: any): SelectFilterSchemaKind;
26
+ export declare function SelectFilterSchemaKindToJSONTyped(value?: SelectFilterSchemaKind | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,39 @@
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.instanceOfSelectFilterSchemaKind = instanceOfSelectFilterSchemaKind;
17
+ exports.SelectFilterSchemaKindFromJSON = SelectFilterSchemaKindFromJSON;
18
+ exports.SelectFilterSchemaKindFromJSONTyped = SelectFilterSchemaKindFromJSONTyped;
19
+ exports.SelectFilterSchemaKindToJSON = SelectFilterSchemaKindToJSON;
20
+ exports.SelectFilterSchemaKindToJSONTyped = SelectFilterSchemaKindToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SelectFilterSchemaKind interface.
23
+ */
24
+ function instanceOfSelectFilterSchemaKind(value) {
25
+ return true;
26
+ }
27
+ function SelectFilterSchemaKindFromJSON(json) {
28
+ return SelectFilterSchemaKindFromJSONTyped(json, false);
29
+ }
30
+ function SelectFilterSchemaKindFromJSONTyped(json, ignoreDiscriminator) {
31
+ return json;
32
+ }
33
+ function SelectFilterSchemaKindToJSON(json) {
34
+ return SelectFilterSchemaKindToJSONTyped(json, false);
35
+ }
36
+ function SelectFilterSchemaKindToJSONTyped(value, ignoreDiscriminator) {
37
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
38
+ return value;
39
+ }
@@ -31,6 +31,14 @@ export * from './ApiThreadsGet200Response';
31
31
  export * from './ApiThreadsThreadIdFilesGet200Response';
32
32
  export * from './ApiThreadsThreadIdPostRequest';
33
33
  export * from './ApiThreadsThreadIdProjectBriefVersionsGet200Response';
34
+ export * from './Attribute';
35
+ export * from './AttributeFilterGroupSchemaInner';
36
+ export * from './AttributeKind';
37
+ export * from './AttributeSource';
38
+ export * from './AttributeStatsSchemaInner';
39
+ export * from './AttributeStatsSchemaInnerKind';
40
+ export * from './AttributeStatsSchemaInnerValuesInner';
41
+ export * from './AttributeValueKind';
34
42
  export * from './BadRequestErrorResponse';
35
43
  export * from './Call';
36
44
  export * from './CallEvent';
@@ -57,6 +65,7 @@ export * from './InternalServerErrorResponse';
57
65
  export * from './Invite';
58
66
  export * from './InviteConfig';
59
67
  export * from './InviteResponse';
68
+ export * from './InviteResponseAttribute';
60
69
  export * from './InviteResponseData';
61
70
  export * from './InviteResponseKind';
62
71
  export * from './InviteResponseMetadata';
@@ -69,10 +78,12 @@ export * from './Moderator';
69
78
  export * from './ModeratorVendor';
70
79
  export * from './ModeratorVisibility';
71
80
  export * from './NotFoundErrorResponse';
81
+ export * from './NumberFilterSchema';
72
82
  export * from './OpenAiModelConfig';
73
83
  export * from './OpenAiModelConfigModel';
74
84
  export * from './Org';
75
85
  export * from './Participant';
86
+ export * from './ParticipantAttribute';
76
87
  export * from './ParticipantCreate';
77
88
  export * from './ParticipantInvite';
78
89
  export * from './ParticipantInviteConfig';
@@ -126,6 +137,8 @@ export * from './ResponseStartCallEvent';
126
137
  export * from './ResponseSubmitEmailEvent';
127
138
  export * from './ResponseSubmitScreenerEvent';
128
139
  export * from './SearchProjectTranscriptsResponse';
140
+ export * from './SelectFilterSchema';
141
+ export * from './SelectFilterSchemaKind';
129
142
  export * from './Thread';
130
143
  export * from './ThreadCreateProjectStatus';
131
144
  export * from './ThreadFile';
@@ -49,6 +49,14 @@ __exportStar(require("./ApiThreadsGet200Response"), exports);
49
49
  __exportStar(require("./ApiThreadsThreadIdFilesGet200Response"), exports);
50
50
  __exportStar(require("./ApiThreadsThreadIdPostRequest"), exports);
51
51
  __exportStar(require("./ApiThreadsThreadIdProjectBriefVersionsGet200Response"), exports);
52
+ __exportStar(require("./Attribute"), exports);
53
+ __exportStar(require("./AttributeFilterGroupSchemaInner"), exports);
54
+ __exportStar(require("./AttributeKind"), exports);
55
+ __exportStar(require("./AttributeSource"), exports);
56
+ __exportStar(require("./AttributeStatsSchemaInner"), exports);
57
+ __exportStar(require("./AttributeStatsSchemaInnerKind"), exports);
58
+ __exportStar(require("./AttributeStatsSchemaInnerValuesInner"), exports);
59
+ __exportStar(require("./AttributeValueKind"), exports);
52
60
  __exportStar(require("./BadRequestErrorResponse"), exports);
53
61
  __exportStar(require("./Call"), exports);
54
62
  __exportStar(require("./CallEvent"), exports);
@@ -75,6 +83,7 @@ __exportStar(require("./InternalServerErrorResponse"), exports);
75
83
  __exportStar(require("./Invite"), exports);
76
84
  __exportStar(require("./InviteConfig"), exports);
77
85
  __exportStar(require("./InviteResponse"), exports);
86
+ __exportStar(require("./InviteResponseAttribute"), exports);
78
87
  __exportStar(require("./InviteResponseData"), exports);
79
88
  __exportStar(require("./InviteResponseKind"), exports);
80
89
  __exportStar(require("./InviteResponseMetadata"), exports);
@@ -87,10 +96,12 @@ __exportStar(require("./Moderator"), exports);
87
96
  __exportStar(require("./ModeratorVendor"), exports);
88
97
  __exportStar(require("./ModeratorVisibility"), exports);
89
98
  __exportStar(require("./NotFoundErrorResponse"), exports);
99
+ __exportStar(require("./NumberFilterSchema"), exports);
90
100
  __exportStar(require("./OpenAiModelConfig"), exports);
91
101
  __exportStar(require("./OpenAiModelConfigModel"), exports);
92
102
  __exportStar(require("./Org"), exports);
93
103
  __exportStar(require("./Participant"), exports);
104
+ __exportStar(require("./ParticipantAttribute"), exports);
94
105
  __exportStar(require("./ParticipantCreate"), exports);
95
106
  __exportStar(require("./ParticipantInvite"), exports);
96
107
  __exportStar(require("./ParticipantInviteConfig"), exports);
@@ -144,6 +155,8 @@ __exportStar(require("./ResponseStartCallEvent"), exports);
144
155
  __exportStar(require("./ResponseSubmitEmailEvent"), exports);
145
156
  __exportStar(require("./ResponseSubmitScreenerEvent"), exports);
146
157
  __exportStar(require("./SearchProjectTranscriptsResponse"), exports);
158
+ __exportStar(require("./SelectFilterSchema"), exports);
159
+ __exportStar(require("./SelectFilterSchemaKind"), exports);
147
160
  __exportStar(require("./Thread"), exports);
148
161
  __exportStar(require("./ThreadCreateProjectStatus"), exports);
149
162
  __exportStar(require("./ThreadFile"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keplar-api",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "OpenAPI client for keplar-api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -43,6 +43,7 @@ import type {
43
43
  ApiThreadsThreadIdFilesGet200Response,
44
44
  ApiThreadsThreadIdPostRequest,
45
45
  ApiThreadsThreadIdProjectBriefVersionsGet200Response,
46
+ AttributeStatsSchemaInner,
46
47
  BadRequestErrorResponse,
47
48
  Call,
48
49
  CallMetadata,
@@ -127,6 +128,8 @@ import {
127
128
  ApiThreadsThreadIdPostRequestToJSON,
128
129
  ApiThreadsThreadIdProjectBriefVersionsGet200ResponseFromJSON,
129
130
  ApiThreadsThreadIdProjectBriefVersionsGet200ResponseToJSON,
131
+ AttributeStatsSchemaInnerFromJSON,
132
+ AttributeStatsSchemaInnerToJSON,
130
133
  BadRequestErrorResponseFromJSON,
131
134
  BadRequestErrorResponseToJSON,
132
135
  CallFromJSON,
@@ -421,10 +424,17 @@ export interface ApiProjectsProjectIdPutOperationRequest {
421
424
  apiProjectsProjectIdPutRequest?: ApiProjectsProjectIdPutRequest;
422
425
  }
423
426
 
427
+ export interface ApiProjectsProjectIdResponseAttributeStatsGetRequest {
428
+ projectId: string;
429
+ inviteId?: string;
430
+ }
431
+
424
432
  export interface ApiProjectsProjectIdResponsesGetRequest {
425
433
  projectId: string;
426
434
  page?: number;
427
435
  limit?: number;
436
+ inviteId?: string;
437
+ filters?: string;
428
438
  }
429
439
 
430
440
  export interface ApiProjectsProjectIdSearchTranscriptsPostOperationRequest {
@@ -3134,6 +3144,55 @@ export class DefaultApi extends runtime.BaseAPI {
3134
3144
  return await response.value();
3135
3145
  }
3136
3146
 
3147
+ /**
3148
+ * Get project response attribute stats
3149
+ */
3150
+ async apiProjectsProjectIdResponseAttributeStatsGetRaw(requestParameters: ApiProjectsProjectIdResponseAttributeStatsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<AttributeStatsSchemaInner>>> {
3151
+ if (requestParameters['projectId'] == null) {
3152
+ throw new runtime.RequiredError(
3153
+ 'projectId',
3154
+ 'Required parameter "projectId" was null or undefined when calling apiProjectsProjectIdResponseAttributeStatsGet().'
3155
+ );
3156
+ }
3157
+
3158
+ const queryParameters: any = {};
3159
+
3160
+ if (requestParameters['inviteId'] != null) {
3161
+ queryParameters['inviteId'] = requestParameters['inviteId'];
3162
+ }
3163
+
3164
+ const headerParameters: runtime.HTTPHeaders = {};
3165
+
3166
+ if (this.configuration && this.configuration.accessToken) {
3167
+ const token = this.configuration.accessToken;
3168
+ const tokenString = await token("bearerAuth", []);
3169
+
3170
+ if (tokenString) {
3171
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3172
+ }
3173
+ }
3174
+
3175
+ let urlPath = `/api/projects/{projectId}/responseAttributeStats`;
3176
+ urlPath = urlPath.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters['projectId'])));
3177
+
3178
+ const response = await this.request({
3179
+ path: urlPath,
3180
+ method: 'GET',
3181
+ headers: headerParameters,
3182
+ query: queryParameters,
3183
+ }, initOverrides);
3184
+
3185
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(AttributeStatsSchemaInnerFromJSON));
3186
+ }
3187
+
3188
+ /**
3189
+ * Get project response attribute stats
3190
+ */
3191
+ async apiProjectsProjectIdResponseAttributeStatsGet(requestParameters: ApiProjectsProjectIdResponseAttributeStatsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AttributeStatsSchemaInner>> {
3192
+ const response = await this.apiProjectsProjectIdResponseAttributeStatsGetRaw(requestParameters, initOverrides);
3193
+ return await response.value();
3194
+ }
3195
+
3137
3196
  /**
3138
3197
  * Get project responses
3139
3198
  */
@@ -3155,6 +3214,14 @@ export class DefaultApi extends runtime.BaseAPI {
3155
3214
  queryParameters['limit'] = requestParameters['limit'];
3156
3215
  }
3157
3216
 
3217
+ if (requestParameters['inviteId'] != null) {
3218
+ queryParameters['inviteId'] = requestParameters['inviteId'];
3219
+ }
3220
+
3221
+ if (requestParameters['filters'] != null) {
3222
+ queryParameters['filters'] = requestParameters['filters'];
3223
+ }
3224
+
3158
3225
  const headerParameters: runtime.HTTPHeaders = {};
3159
3226
 
3160
3227
  if (this.configuration && this.configuration.accessToken) {