@tryvital/vital-node 0.3.8 → 1.0.2
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/client/Activity.ts +1 -1
- package/client/Body.ts +1 -1
- package/client/Profile.ts +25 -0
- package/client/Sleep.ts +2 -2
- package/client/Testkits.ts +11 -1
- package/client/Vitals.ts +45 -45
- package/client/Webhooks.ts +7 -58
- package/client/Workouts.ts +3 -3
- package/client/index.ts +1 -1
- package/client/models/activity.ts +7 -0
- package/client/models/body_model.ts +0 -18
- package/client/models/profile_model.ts +34 -0
- package/client/models/testkit_models.ts +9 -0
- package/dist/client/Activity.js +1 -1
- package/dist/client/Body.js +1 -1
- package/dist/client/Profile.d.ts +8 -0
- package/dist/client/{ProviderSpecific.js → Profile.js} +8 -12
- package/dist/client/Sleep.js +2 -2
- package/dist/client/Testkits.d.ts +1 -0
- package/dist/client/Testkits.js +16 -0
- package/dist/client/Vitals.d.ts +7 -6
- package/dist/client/Vitals.js +16 -41
- package/dist/client/Webhooks.d.ts +1 -7
- package/dist/client/Webhooks.js +4 -102
- package/dist/client/Workouts.d.ts +1 -1
- package/dist/client/Workouts.js +3 -3
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +3 -3
- package/dist/client/models/activity.d.ts +6 -0
- package/dist/client/models/body_model.d.ts +0 -18
- package/dist/client/models/profile_model.d.ts +33 -0
- package/dist/{swagger_client/models/client-activity-response.js → client/models/profile_model.js} +0 -0
- package/dist/client/models/testkit_models.d.ts +9 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +11 -11
- package/dist/lib/config.d.ts +0 -1
- package/dist/lib/config.js +0 -1
- package/index.ts +14 -14
- package/lib/config.ts +0 -1
- package/package.json +3 -2
- package/client/ProviderSpecific.ts +0 -31
- package/dist/client/ProviderSpecific.d.ts +0 -8
- package/dist/swagger_client/api.d.ts +0 -18
- package/dist/swagger_client/api.js +0 -32
- package/dist/swagger_client/apis/activity-api.d.ts +0 -86
- package/dist/swagger_client/apis/activity-api.js +0 -241
- package/dist/swagger_client/apis/body-api.d.ts +0 -86
- package/dist/swagger_client/apis/body-api.js +0 -241
- package/dist/swagger_client/apis/link-api.d.ts +0 -115
- package/dist/swagger_client/apis/link-api.js +0 -310
- package/dist/swagger_client/apis/provider-specific-api.d.ts +0 -90
- package/dist/swagger_client/apis/provider-specific-api.js +0 -250
- package/dist/swagger_client/apis/sleep-api.d.ts +0 -120
- package/dist/swagger_client/apis/sleep-api.js +0 -330
- package/dist/swagger_client/apis/user-api.d.ts +0 -243
- package/dist/swagger_client/apis/user-api.js +0 -657
- package/dist/swagger_client/apis/webhooks-api.d.ts +0 -138
- package/dist/swagger_client/apis/webhooks-api.js +0 -379
- package/dist/swagger_client/apis/workouts-api.d.ts +0 -120
- package/dist/swagger_client/apis/workouts-api.js +0 -330
- package/dist/swagger_client/base.d.ts +0 -55
- package/dist/swagger_client/base.js +0 -67
- package/dist/swagger_client/configuration.d.ts +0 -63
- package/dist/swagger_client/configuration.js +0 -16
- package/dist/swagger_client/index.d.ts +0 -13
- package/dist/swagger_client/index.js +0 -27
- package/dist/swagger_client/models/client-activity-response.d.ts +0 -24
- package/dist/swagger_client/models/client-body-response.d.ts +0 -24
- package/dist/swagger_client/models/client-body-response.js +0 -2
- package/dist/swagger_client/models/client-facing-activity.d.ts +0 -84
- package/dist/swagger_client/models/client-facing-activity.js +0 -2
- package/dist/swagger_client/models/client-facing-body.d.ts +0 -72
- package/dist/swagger_client/models/client-facing-body.js +0 -2
- package/dist/swagger_client/models/client-facing-sleep-stream.d.ts +0 -48
- package/dist/swagger_client/models/client-facing-sleep-stream.js +0 -2
- package/dist/swagger_client/models/client-facing-sleep.d.ts +0 -138
- package/dist/swagger_client/models/client-facing-sleep.js +0 -2
- package/dist/swagger_client/models/client-facing-source-specific.d.ts +0 -48
- package/dist/swagger_client/models/client-facing-source-specific.js +0 -2
- package/dist/swagger_client/models/client-facing-sport.d.ts +0 -30
- package/dist/swagger_client/models/client-facing-sport.js +0 -2
- package/dist/swagger_client/models/client-facing-stream.d.ts +0 -84
- package/dist/swagger_client/models/client-facing-stream.js +0 -2
- package/dist/swagger_client/models/client-facing-user.d.ts +0 -48
- package/dist/swagger_client/models/client-facing-user.js +0 -2
- package/dist/swagger_client/models/client-facing-webhook.d.ts +0 -42
- package/dist/swagger_client/models/client-facing-webhook.js +0 -2
- package/dist/swagger_client/models/client-facing-workout.d.ts +0 -150
- package/dist/swagger_client/models/client-facing-workout.js +0 -2
- package/dist/swagger_client/models/client-sleep-response.d.ts +0 -24
- package/dist/swagger_client/models/client-sleep-response.js +0 -2
- package/dist/swagger_client/models/client-source-specific-response.d.ts +0 -24
- package/dist/swagger_client/models/client-source-specific-response.js +0 -2
- package/dist/swagger_client/models/client-webhook-response.d.ts +0 -24
- package/dist/swagger_client/models/client-webhook-response.js +0 -2
- package/dist/swagger_client/models/client-workout-response.d.ts +0 -24
- package/dist/swagger_client/models/client-workout-response.js +0 -2
- package/dist/swagger_client/models/connected-source-client-facing.d.ts +0 -24
- package/dist/swagger_client/models/connected-source-client-facing.js +0 -2
- package/dist/swagger_client/models/httpvalidation-error.d.ts +0 -24
- package/dist/swagger_client/models/httpvalidation-error.js +0 -2
- package/dist/swagger_client/models/index.d.ts +0 -32
- package/dist/swagger_client/models/index.js +0 -44
- package/dist/swagger_client/models/individual-provider-data.d.ts +0 -30
- package/dist/swagger_client/models/individual-provider-data.js +0 -2
- package/dist/swagger_client/models/link-token-exchange-response.d.ts +0 -24
- package/dist/swagger_client/models/link-token-exchange-response.js +0 -2
- package/dist/swagger_client/models/link-token-exchange.d.ts +0 -30
- package/dist/swagger_client/models/link-token-exchange.js +0 -2
- package/dist/swagger_client/models/password-providers.d.ts +0 -22
- package/dist/swagger_client/models/password-providers.js +0 -28
- package/dist/swagger_client/models/provider-link-response.d.ts +0 -30
- package/dist/swagger_client/models/provider-link-response.js +0 -2
- package/dist/swagger_client/models/providers-that-require-password-auth-whoop-renpho-peloton-zwift.d.ts +0 -18
- package/dist/swagger_client/models/providers-that-require-password-auth-whoop-renpho-peloton-zwift.js +0 -2
- package/dist/swagger_client/models/providers.d.ts +0 -27
- package/dist/swagger_client/models/providers.js +0 -33
- package/dist/swagger_client/models/source-client-facing.d.ts +0 -36
- package/dist/swagger_client/models/source-client-facing.js +0 -2
- package/dist/swagger_client/models/user-create.d.ts +0 -24
- package/dist/swagger_client/models/user-create.js +0 -2
- package/dist/swagger_client/models/user-key-response.d.ts +0 -30
- package/dist/swagger_client/models/user-key-response.js +0 -2
- package/dist/swagger_client/models/user-success-response.d.ts +0 -24
- package/dist/swagger_client/models/user-success-response.js +0 -2
- package/dist/swagger_client/models/validation-error.d.ts +0 -36
- package/dist/swagger_client/models/validation-error.js +0 -2
- package/dist/swagger_client/models/webhook-register.d.ts +0 -36
- package/dist/swagger_client/models/webhook-register.js +0 -2
- package/dist/swagger_client/models/webhook-type.d.ts +0 -24
- package/dist/swagger_client/models/webhook-type.js +0 -30
- package/dist/test/data/mock_webhook.d.ts +0 -49
- package/dist/test/data/mock_webhook.js +0 -170
- package/dist/test/webhook.spec.d.ts +0 -1
- package/dist/test/webhook.spec.js +0 -160
- package/test/data/mock_webhook.ts +0 -167
- package/test/webhook.spec.ts +0 -254
@@ -1,150 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Vital
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
4
|
-
*
|
5
|
-
* OpenAPI spec version: 0.1.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*/
|
12
|
-
/**
|
13
|
-
*
|
14
|
-
* @export
|
15
|
-
* @interface ClientFacingWorkout
|
16
|
-
*/
|
17
|
-
export interface ClientFacingWorkout {
|
18
|
-
/**
|
19
|
-
*
|
20
|
-
* @type {string}
|
21
|
-
* @memberof ClientFacingWorkout
|
22
|
-
*/
|
23
|
-
id: any;
|
24
|
-
/**
|
25
|
-
* Average heart rate during workout::bpm
|
26
|
-
* @type {number}
|
27
|
-
* @memberof ClientFacingWorkout
|
28
|
-
*/
|
29
|
-
averageHr?: any;
|
30
|
-
/**
|
31
|
-
* Max heart rate during workout::bpm
|
32
|
-
* @type {number}
|
33
|
-
* @memberof ClientFacingWorkout
|
34
|
-
*/
|
35
|
-
maxHr?: any;
|
36
|
-
/**
|
37
|
-
* Cumulated distance for exercise.
|
38
|
-
* @type {number}
|
39
|
-
* @memberof ClientFacingWorkout
|
40
|
-
*/
|
41
|
-
distance?: any;
|
42
|
-
/**
|
43
|
-
* Start time of the workout::time
|
44
|
-
* @type {Date}
|
45
|
-
* @memberof ClientFacingWorkout
|
46
|
-
*/
|
47
|
-
timeStart: any;
|
48
|
-
/**
|
49
|
-
* End time of the workout::time
|
50
|
-
* @type {Date}
|
51
|
-
* @memberof ClientFacingWorkout
|
52
|
-
*/
|
53
|
-
timeEnd: any;
|
54
|
-
/**
|
55
|
-
* Calories burned during the workout::kCal
|
56
|
-
* @type {number}
|
57
|
-
* @memberof ClientFacingWorkout
|
58
|
-
*/
|
59
|
-
calories: any;
|
60
|
-
/**
|
61
|
-
*
|
62
|
-
* @type {ClientFacingSport}
|
63
|
-
* @memberof ClientFacingWorkout
|
64
|
-
*/
|
65
|
-
sport: any;
|
66
|
-
/**
|
67
|
-
*
|
68
|
-
* @type {SourceClientFacing}
|
69
|
-
* @memberof ClientFacingWorkout
|
70
|
-
*/
|
71
|
-
source: any;
|
72
|
-
/**
|
73
|
-
* Time in minutes spent in different heart rate zones <50%, 50-60%, 60-70%, 70-80%, 80-90%, 90%+::seconds
|
74
|
-
* @type {Array<number>}
|
75
|
-
* @memberof ClientFacingWorkout
|
76
|
-
*/
|
77
|
-
hrZones: any;
|
78
|
-
/**
|
79
|
-
* User key returned by vital create user key request. This key should be stored in your database against the user and used for all interactions with the vital api.
|
80
|
-
* @type {string}
|
81
|
-
* @memberof ClientFacingWorkout
|
82
|
-
*/
|
83
|
-
userId: any;
|
84
|
-
/**
|
85
|
-
* Time spent active during the workout::seconds
|
86
|
-
* @type {number}
|
87
|
-
* @memberof ClientFacingWorkout
|
88
|
-
*/
|
89
|
-
movingTime?: any;
|
90
|
-
/**
|
91
|
-
* Elevation gain during the workout::meters
|
92
|
-
* @type {number}
|
93
|
-
* @memberof ClientFacingWorkout
|
94
|
-
*/
|
95
|
-
totalElevationGain?: any;
|
96
|
-
/**
|
97
|
-
* Highest point of elevation::meters
|
98
|
-
* @type {number}
|
99
|
-
* @memberof ClientFacingWorkout
|
100
|
-
*/
|
101
|
-
elevHigh?: any;
|
102
|
-
/**
|
103
|
-
* Lowest point of elevation::meters
|
104
|
-
* @type {number}
|
105
|
-
* @memberof ClientFacingWorkout
|
106
|
-
*/
|
107
|
-
elevLow?: any;
|
108
|
-
/**
|
109
|
-
* Average speed during workout in m/s::meters/sec
|
110
|
-
* @type {number}
|
111
|
-
* @memberof ClientFacingWorkout
|
112
|
-
*/
|
113
|
-
averageSpeed?: any;
|
114
|
-
/**
|
115
|
-
* Max speed during workout in m/s::meters/sec
|
116
|
-
* @type {number}
|
117
|
-
* @memberof ClientFacingWorkout
|
118
|
-
*/
|
119
|
-
maxSpeed?: any;
|
120
|
-
/**
|
121
|
-
* Average watts burned during exercise::watts
|
122
|
-
* @type {number}
|
123
|
-
* @memberof ClientFacingWorkout
|
124
|
-
*/
|
125
|
-
averageWatts?: any;
|
126
|
-
/**
|
127
|
-
* Watts burned during exercise::watts
|
128
|
-
* @type {number}
|
129
|
-
* @memberof ClientFacingWorkout
|
130
|
-
*/
|
131
|
-
deviceWatts?: any;
|
132
|
-
/**
|
133
|
-
* Max watts burned during exercise::watts
|
134
|
-
* @type {number}
|
135
|
-
* @memberof ClientFacingWorkout
|
136
|
-
*/
|
137
|
-
maxWatts?: any;
|
138
|
-
/**
|
139
|
-
* Weighted average watts burned during exercise::watts
|
140
|
-
* @type {number}
|
141
|
-
* @memberof ClientFacingWorkout
|
142
|
-
*/
|
143
|
-
weightedAverageWatts?: any;
|
144
|
-
/**
|
145
|
-
* Map of workouts encoded as polyline
|
146
|
-
* @type {string}
|
147
|
-
* @memberof ClientFacingWorkout
|
148
|
-
*/
|
149
|
-
map?: any;
|
150
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Vital
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
4
|
-
*
|
5
|
-
* OpenAPI spec version: 0.1.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*/
|
12
|
-
/**
|
13
|
-
*
|
14
|
-
* @export
|
15
|
-
* @interface ClientSleepResponse
|
16
|
-
*/
|
17
|
-
export interface ClientSleepResponse {
|
18
|
-
/**
|
19
|
-
*
|
20
|
-
* @type {Array<ClientFacingSleep>}
|
21
|
-
* @memberof ClientSleepResponse
|
22
|
-
*/
|
23
|
-
sleep: any;
|
24
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Vital
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
4
|
-
*
|
5
|
-
* OpenAPI spec version: 0.1.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*/
|
12
|
-
/**
|
13
|
-
*
|
14
|
-
* @export
|
15
|
-
* @interface ClientSourceSpecificResponse
|
16
|
-
*/
|
17
|
-
export interface ClientSourceSpecificResponse {
|
18
|
-
/**
|
19
|
-
*
|
20
|
-
* @type {Array<ClientFacingSourceSpecific>}
|
21
|
-
* @memberof ClientSourceSpecificResponse
|
22
|
-
*/
|
23
|
-
providerSpecific: any;
|
24
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Vital
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
4
|
-
*
|
5
|
-
* OpenAPI spec version: 0.1.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*/
|
12
|
-
/**
|
13
|
-
*
|
14
|
-
* @export
|
15
|
-
* @interface ClientWebhookResponse
|
16
|
-
*/
|
17
|
-
export interface ClientWebhookResponse {
|
18
|
-
/**
|
19
|
-
*
|
20
|
-
* @type {Array<ClientFacingWebhook>}
|
21
|
-
* @memberof ClientWebhookResponse
|
22
|
-
*/
|
23
|
-
webhooks: any;
|
24
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Vital
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
4
|
-
*
|
5
|
-
* OpenAPI spec version: 0.1.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*/
|
12
|
-
/**
|
13
|
-
*
|
14
|
-
* @export
|
15
|
-
* @interface ClientWorkoutResponse
|
16
|
-
*/
|
17
|
-
export interface ClientWorkoutResponse {
|
18
|
-
/**
|
19
|
-
*
|
20
|
-
* @type {Array<ClientFacingWorkout>}
|
21
|
-
* @memberof ClientWorkoutResponse
|
22
|
-
*/
|
23
|
-
workouts: any;
|
24
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Vital
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
4
|
-
*
|
5
|
-
* OpenAPI spec version: 0.1.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*/
|
12
|
-
/**
|
13
|
-
*
|
14
|
-
* @export
|
15
|
-
* @interface ConnectedSourceClientFacing
|
16
|
-
*/
|
17
|
-
export interface ConnectedSourceClientFacing {
|
18
|
-
/**
|
19
|
-
*
|
20
|
-
* @type {SourceClientFacing}
|
21
|
-
* @memberof ConnectedSourceClientFacing
|
22
|
-
*/
|
23
|
-
source: any;
|
24
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Vital
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
4
|
-
*
|
5
|
-
* OpenAPI spec version: 0.1.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*/
|
12
|
-
/**
|
13
|
-
*
|
14
|
-
* @export
|
15
|
-
* @interface HTTPValidationError
|
16
|
-
*/
|
17
|
-
export interface HTTPValidationError {
|
18
|
-
/**
|
19
|
-
*
|
20
|
-
* @type {Array<ValidationError>}
|
21
|
-
* @memberof HTTPValidationError
|
22
|
-
*/
|
23
|
-
detail?: any;
|
24
|
-
}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
export * from './client-activity-response';
|
2
|
-
export * from './client-body-response';
|
3
|
-
export * from './client-facing-activity';
|
4
|
-
export * from './client-facing-body';
|
5
|
-
export * from './client-facing-sleep';
|
6
|
-
export * from './client-facing-sleep-stream';
|
7
|
-
export * from './client-facing-source-specific';
|
8
|
-
export * from './client-facing-sport';
|
9
|
-
export * from './client-facing-stream';
|
10
|
-
export * from './client-facing-user';
|
11
|
-
export * from './client-facing-webhook';
|
12
|
-
export * from './client-facing-workout';
|
13
|
-
export * from './client-sleep-response';
|
14
|
-
export * from './client-source-specific-response';
|
15
|
-
export * from './client-webhook-response';
|
16
|
-
export * from './client-workout-response';
|
17
|
-
export * from './connected-source-client-facing';
|
18
|
-
export * from './httpvalidation-error';
|
19
|
-
export * from './individual-provider-data';
|
20
|
-
export * from './link-token-exchange';
|
21
|
-
export * from './link-token-exchange-response';
|
22
|
-
export * from './password-providers';
|
23
|
-
export * from './provider-link-response';
|
24
|
-
export * from './providers';
|
25
|
-
export * from './providers-that-require-password-auth-whoop-renpho-peloton-zwift';
|
26
|
-
export * from './source-client-facing';
|
27
|
-
export * from './user-create';
|
28
|
-
export * from './user-key-response';
|
29
|
-
export * from './user-success-response';
|
30
|
-
export * from './validation-error';
|
31
|
-
export * from './webhook-register';
|
32
|
-
export * from './webhook-type';
|
@@ -1,44 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
5
|
-
}) : (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
o[k2] = m[k];
|
8
|
-
}));
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
10
|
-
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
11
|
-
};
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
13
|
-
__exportStar(require("./client-activity-response"), exports);
|
14
|
-
__exportStar(require("./client-body-response"), exports);
|
15
|
-
__exportStar(require("./client-facing-activity"), exports);
|
16
|
-
__exportStar(require("./client-facing-body"), exports);
|
17
|
-
__exportStar(require("./client-facing-sleep"), exports);
|
18
|
-
__exportStar(require("./client-facing-sleep-stream"), exports);
|
19
|
-
__exportStar(require("./client-facing-source-specific"), exports);
|
20
|
-
__exportStar(require("./client-facing-sport"), exports);
|
21
|
-
__exportStar(require("./client-facing-stream"), exports);
|
22
|
-
__exportStar(require("./client-facing-user"), exports);
|
23
|
-
__exportStar(require("./client-facing-webhook"), exports);
|
24
|
-
__exportStar(require("./client-facing-workout"), exports);
|
25
|
-
__exportStar(require("./client-sleep-response"), exports);
|
26
|
-
__exportStar(require("./client-source-specific-response"), exports);
|
27
|
-
__exportStar(require("./client-webhook-response"), exports);
|
28
|
-
__exportStar(require("./client-workout-response"), exports);
|
29
|
-
__exportStar(require("./connected-source-client-facing"), exports);
|
30
|
-
__exportStar(require("./httpvalidation-error"), exports);
|
31
|
-
__exportStar(require("./individual-provider-data"), exports);
|
32
|
-
__exportStar(require("./link-token-exchange"), exports);
|
33
|
-
__exportStar(require("./link-token-exchange-response"), exports);
|
34
|
-
__exportStar(require("./password-providers"), exports);
|
35
|
-
__exportStar(require("./provider-link-response"), exports);
|
36
|
-
__exportStar(require("./providers"), exports);
|
37
|
-
__exportStar(require("./providers-that-require-password-auth-whoop-renpho-peloton-zwift"), exports);
|
38
|
-
__exportStar(require("./source-client-facing"), exports);
|
39
|
-
__exportStar(require("./user-create"), exports);
|
40
|
-
__exportStar(require("./user-key-response"), exports);
|
41
|
-
__exportStar(require("./user-success-response"), exports);
|
42
|
-
__exportStar(require("./validation-error"), exports);
|
43
|
-
__exportStar(require("./webhook-register"), exports);
|
44
|
-
__exportStar(require("./webhook-type"), exports);
|
@@ -1,30 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Vital
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
4
|
-
*
|
5
|
-
* OpenAPI spec version: 0.1.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*/
|
12
|
-
/**
|
13
|
-
*
|
14
|
-
* @export
|
15
|
-
* @interface IndividualProviderData
|
16
|
-
*/
|
17
|
-
export interface IndividualProviderData {
|
18
|
-
/**
|
19
|
-
* Username for provider
|
20
|
-
* @type {string}
|
21
|
-
* @memberof IndividualProviderData
|
22
|
-
*/
|
23
|
-
username: any;
|
24
|
-
/**
|
25
|
-
* Password for provider
|
26
|
-
* @type {string}
|
27
|
-
* @memberof IndividualProviderData
|
28
|
-
*/
|
29
|
-
password: any;
|
30
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Vital
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
4
|
-
*
|
5
|
-
* OpenAPI spec version: 0.1.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*/
|
12
|
-
/**
|
13
|
-
*
|
14
|
-
* @export
|
15
|
-
* @interface LinkTokenExchangeResponse
|
16
|
-
*/
|
17
|
-
export interface LinkTokenExchangeResponse {
|
18
|
-
/**
|
19
|
-
* Link token to use to launch link widget
|
20
|
-
* @type {string}
|
21
|
-
* @memberof LinkTokenExchangeResponse
|
22
|
-
*/
|
23
|
-
linkToken: any;
|
24
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Vital
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
4
|
-
*
|
5
|
-
* OpenAPI spec version: 0.1.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*/
|
12
|
-
/**
|
13
|
-
*
|
14
|
-
* @export
|
15
|
-
* @interface LinkTokenExchange
|
16
|
-
*/
|
17
|
-
export interface LinkTokenExchange {
|
18
|
-
/**
|
19
|
-
* User key returned by vital create user key request. This key should be stored in your database against the user and used for all interactions with the vital api.
|
20
|
-
* @type {string}
|
21
|
-
* @memberof LinkTokenExchange
|
22
|
-
*/
|
23
|
-
userKey: any;
|
24
|
-
/**
|
25
|
-
* Device slug oura, fitbit, garmin
|
26
|
-
* @type {Providers}
|
27
|
-
* @memberof LinkTokenExchange
|
28
|
-
*/
|
29
|
-
provider?: any;
|
30
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Vital
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
4
|
-
*
|
5
|
-
* OpenAPI spec version: 0.1.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*/
|
12
|
-
/**
|
13
|
-
* An enumeration.
|
14
|
-
* @export
|
15
|
-
* @enum {string}
|
16
|
-
*/
|
17
|
-
export declare enum PasswordProviders {
|
18
|
-
Whoop = "whoop",
|
19
|
-
Renpho = "renpho",
|
20
|
-
Peloton = "peloton",
|
21
|
-
Zwift = "zwift"
|
22
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PasswordProviders = void 0;
|
4
|
-
/* tslint:disable */
|
5
|
-
/* eslint-disable */
|
6
|
-
/**
|
7
|
-
* Vital
|
8
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
9
|
-
*
|
10
|
-
* OpenAPI spec version: 0.1.0
|
11
|
-
*
|
12
|
-
*
|
13
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
14
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
15
|
-
* Do not edit the class manually.
|
16
|
-
*/
|
17
|
-
/**
|
18
|
-
* An enumeration.
|
19
|
-
* @export
|
20
|
-
* @enum {string}
|
21
|
-
*/
|
22
|
-
var PasswordProviders;
|
23
|
-
(function (PasswordProviders) {
|
24
|
-
PasswordProviders["Whoop"] = "whoop";
|
25
|
-
PasswordProviders["Renpho"] = "renpho";
|
26
|
-
PasswordProviders["Peloton"] = "peloton";
|
27
|
-
PasswordProviders["Zwift"] = "zwift";
|
28
|
-
})(PasswordProviders = exports.PasswordProviders || (exports.PasswordProviders = {}));
|
@@ -1,30 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Vital
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
4
|
-
*
|
5
|
-
* OpenAPI spec version: 0.1.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*/
|
12
|
-
/**
|
13
|
-
*
|
14
|
-
* @export
|
15
|
-
* @interface ProviderLinkResponse
|
16
|
-
*/
|
17
|
-
export interface ProviderLinkResponse {
|
18
|
-
/**
|
19
|
-
*
|
20
|
-
* @type {PasswordProviders}
|
21
|
-
* @memberof ProviderLinkResponse
|
22
|
-
*/
|
23
|
-
provider: any;
|
24
|
-
/**
|
25
|
-
*
|
26
|
-
* @type {boolean}
|
27
|
-
* @memberof ProviderLinkResponse
|
28
|
-
*/
|
29
|
-
connected: any;
|
30
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Vital
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
4
|
-
*
|
5
|
-
* OpenAPI spec version: 0.1.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*/
|
12
|
-
/**
|
13
|
-
*
|
14
|
-
* @export
|
15
|
-
* @interface ProvidersThatRequirePasswordAuthWhoopRenphoPelotonZwift
|
16
|
-
*/
|
17
|
-
import { PasswordProviders } from ".";
|
18
|
-
export declare type ProvidersThatRequirePasswordAuthWhoopRenphoPelotonZwift = PasswordProviders;
|
@@ -1,27 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Vital
|
3
|
-
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
4
|
-
*
|
5
|
-
* OpenAPI spec version: 0.1.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
9
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*/
|
12
|
-
/**
|
13
|
-
* An enumeration.
|
14
|
-
* @export
|
15
|
-
* @enum {string}
|
16
|
-
*/
|
17
|
-
export declare enum Providers {
|
18
|
-
Oura = "oura",
|
19
|
-
Fitbit = "fitbit",
|
20
|
-
Garmin = "garmin",
|
21
|
-
Whoop = "whoop",
|
22
|
-
Strava = "strava",
|
23
|
-
Renpho = "renpho",
|
24
|
-
Peloton = "peloton",
|
25
|
-
Wahoo = "wahoo",
|
26
|
-
Zwift = "zwift"
|
27
|
-
}
|