@careevolution/mydatahelps-js 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/MyDataHelps.d.ts +1 -1
- package/package.json +1 -1
- package/types.d.ts +11 -22
package/MyDataHelps.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export declare class MyDataHelps {
|
|
|
29
29
|
getProjectInfo(): Promise<Model.ProjectInfo>;
|
|
30
30
|
queryDeviceData(queryParameters: Model.DeviceDataPointQuery): Promise<Model.DeviceDataPointsPage>;
|
|
31
31
|
persistDeviceData(deviceDataPoints: Model.PersistableDeviceDataPoint[]): Promise<void>;
|
|
32
|
-
getExternalAccountProviders(search: string, category: string, pageSize: number, pageNumber: number): Promise<Model.ExternalAccountProvidersPage>;
|
|
32
|
+
getExternalAccountProviders(search: string | null, category: string | null, pageSize: number, pageNumber: number): Promise<Model.ExternalAccountProvidersPage>;
|
|
33
33
|
connectExternalAccount(externalAccountProviderID: number): void;
|
|
34
34
|
getExternalAccounts(): Promise<Model.ExternalAccount[]>;
|
|
35
35
|
refreshExternalAccount(accountID: number): Promise<void>;
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -47,15 +47,11 @@ export interface ProjectInfo {
|
|
|
47
47
|
learnMoreTitle: string;
|
|
48
48
|
}
|
|
49
49
|
export interface DeviceInfo {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
properties: {
|
|
55
|
-
[key: string]: string;
|
|
56
|
-
};
|
|
50
|
+
identifier: Guid;
|
|
51
|
+
platform: string;
|
|
52
|
+
properties: {
|
|
53
|
+
[key: string]: string;
|
|
57
54
|
};
|
|
58
|
-
timeZone: string;
|
|
59
55
|
}
|
|
60
56
|
export interface ParticipantInfo {
|
|
61
57
|
participantID: Guid;
|
|
@@ -101,8 +97,6 @@ export interface NotificationsPage {
|
|
|
101
97
|
}
|
|
102
98
|
export interface Notification {
|
|
103
99
|
id: Guid;
|
|
104
|
-
participantID: Guid;
|
|
105
|
-
participantIdentifier: string;
|
|
106
100
|
identifier: string;
|
|
107
101
|
contentVersion?: number;
|
|
108
102
|
sentDate: string;
|
|
@@ -123,18 +117,16 @@ export interface SurveyTaskQueryParameters extends QueryParameters {
|
|
|
123
117
|
sortOrder?: SortOrder;
|
|
124
118
|
}
|
|
125
119
|
export interface SurveyTasksPage {
|
|
126
|
-
|
|
120
|
+
surveyTasks: SurveyTask[];
|
|
127
121
|
nextPageID?: Guid;
|
|
128
122
|
}
|
|
129
123
|
export interface SurveyTask {
|
|
130
124
|
id: Guid;
|
|
131
|
-
participantID: Guid;
|
|
132
|
-
participantIdentifier: string;
|
|
133
125
|
linkIdentifier: string;
|
|
134
126
|
surveyID: Guid;
|
|
135
|
-
surveyName
|
|
136
|
-
surveyDisplayName
|
|
137
|
-
surveyDescription
|
|
127
|
+
surveyName: string;
|
|
128
|
+
surveyDisplayName?: string;
|
|
129
|
+
surveyDescription?: string;
|
|
138
130
|
startDate?: string;
|
|
139
131
|
endDate?: string;
|
|
140
132
|
status: SurveyTaskStatus;
|
|
@@ -154,8 +146,6 @@ export interface DeviceDataPointsPage {
|
|
|
154
146
|
nextPageID?: Guid;
|
|
155
147
|
}
|
|
156
148
|
export interface PersistableDeviceDataPoint {
|
|
157
|
-
participantID?: Guid;
|
|
158
|
-
participantIdentifier: string;
|
|
159
149
|
identifier: string;
|
|
160
150
|
type: string;
|
|
161
151
|
value: string;
|
|
@@ -169,14 +159,14 @@ export interface PersistableDeviceDataPoint {
|
|
|
169
159
|
[key: string]: any;
|
|
170
160
|
};
|
|
171
161
|
};
|
|
172
|
-
startDate?:
|
|
173
|
-
observationDate?:
|
|
162
|
+
startDate?: string;
|
|
163
|
+
observationDate?: string;
|
|
174
164
|
}
|
|
175
165
|
export interface DeviceDataPoint extends PersistableDeviceDataPoint {
|
|
176
166
|
id: Guid;
|
|
177
167
|
namespace: DeviceDataNamespace;
|
|
178
168
|
limit?: number;
|
|
179
|
-
deviceDataContextID
|
|
169
|
+
deviceDataContextID?: string;
|
|
180
170
|
insertedDate: string;
|
|
181
171
|
modifiedDate: string;
|
|
182
172
|
}
|
|
@@ -206,7 +196,6 @@ export interface SurveyAnswersPage {
|
|
|
206
196
|
}
|
|
207
197
|
export interface SurveyAnswer {
|
|
208
198
|
id: Guid;
|
|
209
|
-
participantID: Guid;
|
|
210
199
|
surveyResultID: Guid;
|
|
211
200
|
surveyID: Guid;
|
|
212
201
|
surveyVersion: number;
|