@gooday_corp/gooday-api-client 1.0.13 → 1.0.15-beta

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 (2) hide show
  1. package/api.ts +47 -3
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -89,7 +89,7 @@ export interface AssistantEntity {
89
89
  * @type {Array<string>}
90
90
  * @memberof AssistantEntity
91
91
  */
92
- 'availablity': Array<string>;
92
+ 'availability': Array<string>;
93
93
  /**
94
94
  * Configuration object for the assistant
95
95
  * @type {object}
@@ -98,10 +98,10 @@ export interface AssistantEntity {
98
98
  'configuration': object;
99
99
  /**
100
100
  * Attributes object for the assistant
101
- * @type {object}
101
+ * @type {AttributesDto}
102
102
  * @memberof AssistantEntity
103
103
  */
104
- 'attributes': object;
104
+ 'attributes': AttributesDto;
105
105
  }
106
106
  /**
107
107
  *
@@ -122,6 +122,31 @@ export interface AssistantListResponse {
122
122
  */
123
123
  'data': Array<AssistantEntity>;
124
124
  }
125
+ /**
126
+ *
127
+ * @export
128
+ * @interface AttributesDto
129
+ */
130
+ export interface AttributesDto {
131
+ /**
132
+ * List of skills with their titles and values
133
+ * @type {Array<SkillDto>}
134
+ * @memberof AttributesDto
135
+ */
136
+ 'skills': Array<SkillDto>;
137
+ /**
138
+ * List of Liking of assistants
139
+ * @type {Array<string>}
140
+ * @memberof AttributesDto
141
+ */
142
+ 'likes': Array<string>;
143
+ /**
144
+ * List of disliking of assistants
145
+ * @type {Array<string>}
146
+ * @memberof AttributesDto
147
+ */
148
+ 'dislikes': Array<string>;
149
+ }
125
150
  /**
126
151
  *
127
152
  * @export
@@ -767,6 +792,25 @@ export interface SignupResponseDto {
767
792
  */
768
793
  'data': SignupResponse;
769
794
  }
795
+ /**
796
+ *
797
+ * @export
798
+ * @interface SkillDto
799
+ */
800
+ export interface SkillDto {
801
+ /**
802
+ * Title of the skill
803
+ * @type {string}
804
+ * @memberof SkillDto
805
+ */
806
+ 'title': string;
807
+ /**
808
+ * Value or rating of the skill out of 1
809
+ * @type {number}
810
+ * @memberof SkillDto
811
+ */
812
+ 'weightage': number;
813
+ }
770
814
  /**
771
815
  *
772
816
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.0.13",
3
+ "version": "1.0.15beta",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},