spartera_api_sdk 1.0.68 → 1.0.69
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.
- checksums.yaml +4 -4
- data/config.json +1 -1
- data/docs/APIKeysApi.md +20 -20
- data/docs/AlertsApi.md +28 -28
- data/docs/AssetPriceHistoryApi.md +32 -32
- data/docs/AssetsApi.md +52 -52
- data/docs/CloudProvidersApi.md +8 -8
- data/docs/CompaniesApi.md +36 -36
- data/docs/CompaniesCompanyIdApiKeysGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdDelete200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdDelete200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPatch200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdAssetsGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsPost200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsPost200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdConnectionsConnectionIdDelete200Response.md +20 -0
- data/docs/CompaniesCompanyIdConnectionsConnectionIdDelete200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdConnectionsConnectionIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdConnectionsConnectionIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdConnectionsConnectionIdPatch200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdConnectionsGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdConnectionsPost200Response.md +20 -0
- data/docs/CompaniesCompanyIdConnectionsPost200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersPost200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersPost200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdDelete200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdDelete200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdPatch200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsPost200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsPost200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdDelete200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdDelete200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdDelete200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdDelete200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdPatch200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesPost200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesPost200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdPatch200ResponseData.md +18 -0
- data/docs/ConnectionsApi.md +28 -28
- data/docs/FavoritesApi.md +32 -32
- data/docs/MeGet200Response.md +36 -0
- data/docs/MeGet200ResponseApiKeyInfo.md +20 -0
- data/docs/MeGet200ResponseProfile.md +36 -0
- data/docs/MeGet200ResponseTokenMetadata.md +24 -0
- data/docs/StorageEnginesApi.md +8 -8
- data/docs/UsersApi.md +87 -20
- data/lib/spartera_api_sdk/api/alerts_api.rb +21 -21
- data/lib/spartera_api_sdk/api/api_keys_api.rb +15 -15
- data/lib/spartera_api_sdk/api/asset_price_history_api.rb +24 -24
- data/lib/spartera_api_sdk/api/assets_api.rb +46 -46
- data/lib/spartera_api_sdk/api/cloud_providers_api.rb +6 -6
- data/lib/spartera_api_sdk/api/companies_api.rb +27 -27
- data/lib/spartera_api_sdk/api/connections_api.rb +21 -21
- data/lib/spartera_api_sdk/api/favorites_api.rb +24 -24
- data/lib/spartera_api_sdk/api/storage_engines_api.rb +6 -6
- data/lib/spartera_api_sdk/api/users_api.rb +70 -15
- data/lib/spartera_api_sdk/models/companies_company_id_api_keys_get200_response.rb +248 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_delete200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_delete200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_post200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_post200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_delete200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_delete200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_post200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_post200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_post200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_post200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_post200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_post200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_delete200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_delete200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_post200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_post200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/me_get200_response.rb +417 -0
- data/lib/spartera_api_sdk/models/me_get200_response_api_key_info.rb +232 -0
- data/lib/spartera_api_sdk/models/me_get200_response_profile.rb +345 -0
- data/lib/spartera_api_sdk/models/me_get200_response_token_metadata.rb +252 -0
- data/lib/spartera_api_sdk/version.rb +1 -1
- data/lib/spartera_api_sdk.rb +45 -0
- data/spec/api/alerts_api_spec.rb +7 -7
- data/spec/api/api_keys_api_spec.rb +5 -5
- data/spec/api/asset_price_history_api_spec.rb +8 -8
- data/spec/api/assets_api_spec.rb +13 -13
- data/spec/api/cloud_providers_api_spec.rb +2 -2
- data/spec/api/companies_api_spec.rb +9 -9
- data/spec/api/connections_api_spec.rb +7 -7
- data/spec/api/favorites_api_spec.rb +8 -8
- data/spec/api/storage_engines_api_spec.rb +2 -2
- data/spec/api/users_api_spec.rb +15 -5
- data/spec/models/companies_company_id_api_keys_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_asset_id_delete200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_assets_asset_id_delete200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_asset_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_asset_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_assets_asset_id_patch200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_post200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_assets_post200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_connections_connection_id_delete200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_connections_connection_id_delete200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_connections_connection_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_connections_connection_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_connections_connection_id_patch200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_connections_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_connections_post200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_connections_post200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_post200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_post200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_alerts_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_alerts_post200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_alerts_post200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_delete200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_delete200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_favorites_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_favorites_post200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_favorites_post200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_patch200_response_spec.rb +42 -0
- data/spec/models/me_get200_response_api_key_info_spec.rb +42 -0
- data/spec/models/me_get200_response_profile_spec.rb +94 -0
- data/spec/models/me_get200_response_spec.rb +94 -0
- data/spec/models/me_get200_response_token_metadata_spec.rb +54 -0
- metadata +181 -1
data/docs/ConnectionsApi.md
CHANGED
@@ -15,7 +15,7 @@ All URIs are relative to *https://api.spartera.com*
|
|
15
15
|
|
16
16
|
## companies_company_id_connections_connection_id_delete
|
17
17
|
|
18
|
-
>
|
18
|
+
> <CompaniesCompanyIdConnectionsConnectionIdDelete200Response> companies_company_id_connections_connection_id_delete(company_id, connection_id)
|
19
19
|
|
20
20
|
Delete single connection by ID
|
21
21
|
|
@@ -49,7 +49,7 @@ end
|
|
49
49
|
|
50
50
|
This returns an Array which contains the response data, status code and headers.
|
51
51
|
|
52
|
-
> <Array(
|
52
|
+
> <Array(<CompaniesCompanyIdConnectionsConnectionIdDelete200Response>, Integer, Hash)> companies_company_id_connections_connection_id_delete_with_http_info(company_id, connection_id)
|
53
53
|
|
54
54
|
```ruby
|
55
55
|
begin
|
@@ -57,7 +57,7 @@ begin
|
|
57
57
|
data, status_code, headers = api_instance.companies_company_id_connections_connection_id_delete_with_http_info(company_id, connection_id)
|
58
58
|
p status_code # => 2xx
|
59
59
|
p headers # => { ... }
|
60
|
-
p data # =>
|
60
|
+
p data # => <CompaniesCompanyIdConnectionsConnectionIdDelete200Response>
|
61
61
|
rescue SparteraApiSdk::ApiError => e
|
62
62
|
puts "Error when calling ConnectionsApi->companies_company_id_connections_connection_id_delete_with_http_info: #{e}"
|
63
63
|
end
|
@@ -72,7 +72,7 @@ end
|
|
72
72
|
|
73
73
|
### Return type
|
74
74
|
|
75
|
-
**
|
75
|
+
[**CompaniesCompanyIdConnectionsConnectionIdDelete200Response**](CompaniesCompanyIdConnectionsConnectionIdDelete200Response.md)
|
76
76
|
|
77
77
|
### Authorization
|
78
78
|
|
@@ -86,7 +86,7 @@ end
|
|
86
86
|
|
87
87
|
## companies_company_id_connections_connection_id_get
|
88
88
|
|
89
|
-
>
|
89
|
+
> <CompaniesCompanyIdConnectionsConnectionIdGet200Response> companies_company_id_connections_connection_id_get(company_id, connection_id)
|
90
90
|
|
91
91
|
Get single connection by ID
|
92
92
|
|
@@ -120,7 +120,7 @@ end
|
|
120
120
|
|
121
121
|
This returns an Array which contains the response data, status code and headers.
|
122
122
|
|
123
|
-
> <Array(
|
123
|
+
> <Array(<CompaniesCompanyIdConnectionsConnectionIdGet200Response>, Integer, Hash)> companies_company_id_connections_connection_id_get_with_http_info(company_id, connection_id)
|
124
124
|
|
125
125
|
```ruby
|
126
126
|
begin
|
@@ -128,7 +128,7 @@ begin
|
|
128
128
|
data, status_code, headers = api_instance.companies_company_id_connections_connection_id_get_with_http_info(company_id, connection_id)
|
129
129
|
p status_code # => 2xx
|
130
130
|
p headers # => { ... }
|
131
|
-
p data # =>
|
131
|
+
p data # => <CompaniesCompanyIdConnectionsConnectionIdGet200Response>
|
132
132
|
rescue SparteraApiSdk::ApiError => e
|
133
133
|
puts "Error when calling ConnectionsApi->companies_company_id_connections_connection_id_get_with_http_info: #{e}"
|
134
134
|
end
|
@@ -143,7 +143,7 @@ end
|
|
143
143
|
|
144
144
|
### Return type
|
145
145
|
|
146
|
-
**
|
146
|
+
[**CompaniesCompanyIdConnectionsConnectionIdGet200Response**](CompaniesCompanyIdConnectionsConnectionIdGet200Response.md)
|
147
147
|
|
148
148
|
### Authorization
|
149
149
|
|
@@ -157,7 +157,7 @@ end
|
|
157
157
|
|
158
158
|
## companies_company_id_connections_connection_id_infoschema_get
|
159
159
|
|
160
|
-
>
|
160
|
+
> <CompaniesCompanyIdConnectionsGet200Response> companies_company_id_connections_connection_id_infoschema_get(company_id, connection_id)
|
161
161
|
|
162
162
|
Retrieve the information schema for the specified connection
|
163
163
|
|
@@ -191,7 +191,7 @@ end
|
|
191
191
|
|
192
192
|
This returns an Array which contains the response data, status code and headers.
|
193
193
|
|
194
|
-
> <Array(
|
194
|
+
> <Array(<CompaniesCompanyIdConnectionsGet200Response>, Integer, Hash)> companies_company_id_connections_connection_id_infoschema_get_with_http_info(company_id, connection_id)
|
195
195
|
|
196
196
|
```ruby
|
197
197
|
begin
|
@@ -199,7 +199,7 @@ begin
|
|
199
199
|
data, status_code, headers = api_instance.companies_company_id_connections_connection_id_infoschema_get_with_http_info(company_id, connection_id)
|
200
200
|
p status_code # => 2xx
|
201
201
|
p headers # => { ... }
|
202
|
-
p data # =>
|
202
|
+
p data # => <CompaniesCompanyIdConnectionsGet200Response>
|
203
203
|
rescue SparteraApiSdk::ApiError => e
|
204
204
|
puts "Error when calling ConnectionsApi->companies_company_id_connections_connection_id_infoschema_get_with_http_info: #{e}"
|
205
205
|
end
|
@@ -214,7 +214,7 @@ end
|
|
214
214
|
|
215
215
|
### Return type
|
216
216
|
|
217
|
-
**
|
217
|
+
[**CompaniesCompanyIdConnectionsGet200Response**](CompaniesCompanyIdConnectionsGet200Response.md)
|
218
218
|
|
219
219
|
### Authorization
|
220
220
|
|
@@ -228,7 +228,7 @@ end
|
|
228
228
|
|
229
229
|
## companies_company_id_connections_connection_id_patch
|
230
230
|
|
231
|
-
>
|
231
|
+
> <CompaniesCompanyIdConnectionsConnectionIdPatch200Response> companies_company_id_connections_connection_id_patch(company_id, connection_id, connection)
|
232
232
|
|
233
233
|
Update an existing connection by ID
|
234
234
|
|
@@ -263,7 +263,7 @@ end
|
|
263
263
|
|
264
264
|
This returns an Array which contains the response data, status code and headers.
|
265
265
|
|
266
|
-
> <Array(
|
266
|
+
> <Array(<CompaniesCompanyIdConnectionsConnectionIdPatch200Response>, Integer, Hash)> companies_company_id_connections_connection_id_patch_with_http_info(company_id, connection_id, connection)
|
267
267
|
|
268
268
|
```ruby
|
269
269
|
begin
|
@@ -271,7 +271,7 @@ begin
|
|
271
271
|
data, status_code, headers = api_instance.companies_company_id_connections_connection_id_patch_with_http_info(company_id, connection_id, connection)
|
272
272
|
p status_code # => 2xx
|
273
273
|
p headers # => { ... }
|
274
|
-
p data # =>
|
274
|
+
p data # => <CompaniesCompanyIdConnectionsConnectionIdPatch200Response>
|
275
275
|
rescue SparteraApiSdk::ApiError => e
|
276
276
|
puts "Error when calling ConnectionsApi->companies_company_id_connections_connection_id_patch_with_http_info: #{e}"
|
277
277
|
end
|
@@ -287,7 +287,7 @@ end
|
|
287
287
|
|
288
288
|
### Return type
|
289
289
|
|
290
|
-
**
|
290
|
+
[**CompaniesCompanyIdConnectionsConnectionIdPatch200Response**](CompaniesCompanyIdConnectionsConnectionIdPatch200Response.md)
|
291
291
|
|
292
292
|
### Authorization
|
293
293
|
|
@@ -301,7 +301,7 @@ end
|
|
301
301
|
|
302
302
|
## companies_company_id_connections_connection_id_test_get
|
303
303
|
|
304
|
-
>
|
304
|
+
> <CompaniesCompanyIdConnectionsGet200Response> companies_company_id_connections_connection_id_test_get(company_id, connection_id)
|
305
305
|
|
306
306
|
Test the specified connection
|
307
307
|
|
@@ -335,7 +335,7 @@ end
|
|
335
335
|
|
336
336
|
This returns an Array which contains the response data, status code and headers.
|
337
337
|
|
338
|
-
> <Array(
|
338
|
+
> <Array(<CompaniesCompanyIdConnectionsGet200Response>, Integer, Hash)> companies_company_id_connections_connection_id_test_get_with_http_info(company_id, connection_id)
|
339
339
|
|
340
340
|
```ruby
|
341
341
|
begin
|
@@ -343,7 +343,7 @@ begin
|
|
343
343
|
data, status_code, headers = api_instance.companies_company_id_connections_connection_id_test_get_with_http_info(company_id, connection_id)
|
344
344
|
p status_code # => 2xx
|
345
345
|
p headers # => { ... }
|
346
|
-
p data # =>
|
346
|
+
p data # => <CompaniesCompanyIdConnectionsGet200Response>
|
347
347
|
rescue SparteraApiSdk::ApiError => e
|
348
348
|
puts "Error when calling ConnectionsApi->companies_company_id_connections_connection_id_test_get_with_http_info: #{e}"
|
349
349
|
end
|
@@ -358,7 +358,7 @@ end
|
|
358
358
|
|
359
359
|
### Return type
|
360
360
|
|
361
|
-
**
|
361
|
+
[**CompaniesCompanyIdConnectionsGet200Response**](CompaniesCompanyIdConnectionsGet200Response.md)
|
362
362
|
|
363
363
|
### Authorization
|
364
364
|
|
@@ -372,7 +372,7 @@ end
|
|
372
372
|
|
373
373
|
## companies_company_id_connections_get
|
374
374
|
|
375
|
-
>
|
375
|
+
> <CompaniesCompanyIdConnectionsGet200Response> companies_company_id_connections_get(company_id)
|
376
376
|
|
377
377
|
Get all connections for a specific company
|
378
378
|
|
@@ -405,7 +405,7 @@ end
|
|
405
405
|
|
406
406
|
This returns an Array which contains the response data, status code and headers.
|
407
407
|
|
408
|
-
> <Array(
|
408
|
+
> <Array(<CompaniesCompanyIdConnectionsGet200Response>, Integer, Hash)> companies_company_id_connections_get_with_http_info(company_id)
|
409
409
|
|
410
410
|
```ruby
|
411
411
|
begin
|
@@ -413,7 +413,7 @@ begin
|
|
413
413
|
data, status_code, headers = api_instance.companies_company_id_connections_get_with_http_info(company_id)
|
414
414
|
p status_code # => 2xx
|
415
415
|
p headers # => { ... }
|
416
|
-
p data # =>
|
416
|
+
p data # => <CompaniesCompanyIdConnectionsGet200Response>
|
417
417
|
rescue SparteraApiSdk::ApiError => e
|
418
418
|
puts "Error when calling ConnectionsApi->companies_company_id_connections_get_with_http_info: #{e}"
|
419
419
|
end
|
@@ -427,7 +427,7 @@ end
|
|
427
427
|
|
428
428
|
### Return type
|
429
429
|
|
430
|
-
**
|
430
|
+
[**CompaniesCompanyIdConnectionsGet200Response**](CompaniesCompanyIdConnectionsGet200Response.md)
|
431
431
|
|
432
432
|
### Authorization
|
433
433
|
|
@@ -441,7 +441,7 @@ end
|
|
441
441
|
|
442
442
|
## companies_company_id_connections_post
|
443
443
|
|
444
|
-
>
|
444
|
+
> <CompaniesCompanyIdConnectionsPost200Response> companies_company_id_connections_post(company_id, connection)
|
445
445
|
|
446
446
|
Create a new connection by ID
|
447
447
|
|
@@ -475,7 +475,7 @@ end
|
|
475
475
|
|
476
476
|
This returns an Array which contains the response data, status code and headers.
|
477
477
|
|
478
|
-
> <Array(
|
478
|
+
> <Array(<CompaniesCompanyIdConnectionsPost200Response>, Integer, Hash)> companies_company_id_connections_post_with_http_info(company_id, connection)
|
479
479
|
|
480
480
|
```ruby
|
481
481
|
begin
|
@@ -483,7 +483,7 @@ begin
|
|
483
483
|
data, status_code, headers = api_instance.companies_company_id_connections_post_with_http_info(company_id, connection)
|
484
484
|
p status_code # => 2xx
|
485
485
|
p headers # => { ... }
|
486
|
-
p data # =>
|
486
|
+
p data # => <CompaniesCompanyIdConnectionsPost200Response>
|
487
487
|
rescue SparteraApiSdk::ApiError => e
|
488
488
|
puts "Error when calling ConnectionsApi->companies_company_id_connections_post_with_http_info: #{e}"
|
489
489
|
end
|
@@ -498,7 +498,7 @@ end
|
|
498
498
|
|
499
499
|
### Return type
|
500
500
|
|
501
|
-
**
|
501
|
+
[**CompaniesCompanyIdConnectionsPost200Response**](CompaniesCompanyIdConnectionsPost200Response.md)
|
502
502
|
|
503
503
|
### Authorization
|
504
504
|
|
data/docs/FavoritesApi.md
CHANGED
@@ -16,7 +16,7 @@ All URIs are relative to *https://api.spartera.com*
|
|
16
16
|
|
17
17
|
## companies_company_id_users_user_id_favorites_category_category_get
|
18
18
|
|
19
|
-
>
|
19
|
+
> <CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response> companies_company_id_users_user_id_favorites_category_category_get(company_id, user_id, category)
|
20
20
|
|
21
21
|
Get all favorites for the specified user in a specific category
|
22
22
|
|
@@ -51,7 +51,7 @@ end
|
|
51
51
|
|
52
52
|
This returns an Array which contains the response data, status code and headers.
|
53
53
|
|
54
|
-
> <Array(
|
54
|
+
> <Array(<CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response>, Integer, Hash)> companies_company_id_users_user_id_favorites_category_category_get_with_http_info(company_id, user_id, category)
|
55
55
|
|
56
56
|
```ruby
|
57
57
|
begin
|
@@ -59,7 +59,7 @@ begin
|
|
59
59
|
data, status_code, headers = api_instance.companies_company_id_users_user_id_favorites_category_category_get_with_http_info(company_id, user_id, category)
|
60
60
|
p status_code # => 2xx
|
61
61
|
p headers # => { ... }
|
62
|
-
p data # =>
|
62
|
+
p data # => <CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response>
|
63
63
|
rescue SparteraApiSdk::ApiError => e
|
64
64
|
puts "Error when calling FavoritesApi->companies_company_id_users_user_id_favorites_category_category_get_with_http_info: #{e}"
|
65
65
|
end
|
@@ -75,7 +75,7 @@ end
|
|
75
75
|
|
76
76
|
### Return type
|
77
77
|
|
78
|
-
**
|
78
|
+
[**CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response**](CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response.md)
|
79
79
|
|
80
80
|
### Authorization
|
81
81
|
|
@@ -89,7 +89,7 @@ end
|
|
89
89
|
|
90
90
|
## companies_company_id_users_user_id_favorites_check_asset_id_get
|
91
91
|
|
92
|
-
>
|
92
|
+
> <CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response> companies_company_id_users_user_id_favorites_check_asset_id_get(company_id, user_id, asset_id)
|
93
93
|
|
94
94
|
Check if the specified user has favorited a specific asset
|
95
95
|
|
@@ -124,7 +124,7 @@ end
|
|
124
124
|
|
125
125
|
This returns an Array which contains the response data, status code and headers.
|
126
126
|
|
127
|
-
> <Array(
|
127
|
+
> <Array(<CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response>, Integer, Hash)> companies_company_id_users_user_id_favorites_check_asset_id_get_with_http_info(company_id, user_id, asset_id)
|
128
128
|
|
129
129
|
```ruby
|
130
130
|
begin
|
@@ -132,7 +132,7 @@ begin
|
|
132
132
|
data, status_code, headers = api_instance.companies_company_id_users_user_id_favorites_check_asset_id_get_with_http_info(company_id, user_id, asset_id)
|
133
133
|
p status_code # => 2xx
|
134
134
|
p headers # => { ... }
|
135
|
-
p data # =>
|
135
|
+
p data # => <CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response>
|
136
136
|
rescue SparteraApiSdk::ApiError => e
|
137
137
|
puts "Error when calling FavoritesApi->companies_company_id_users_user_id_favorites_check_asset_id_get_with_http_info: #{e}"
|
138
138
|
end
|
@@ -148,7 +148,7 @@ end
|
|
148
148
|
|
149
149
|
### Return type
|
150
150
|
|
151
|
-
**
|
151
|
+
[**CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response**](CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response.md)
|
152
152
|
|
153
153
|
### Authorization
|
154
154
|
|
@@ -162,7 +162,7 @@ end
|
|
162
162
|
|
163
163
|
## companies_company_id_users_user_id_favorites_favorite_id_delete
|
164
164
|
|
165
|
-
>
|
165
|
+
> <CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdDelete200Response> companies_company_id_users_user_id_favorites_favorite_id_delete(company_id, user_id, favorite_id)
|
166
166
|
|
167
167
|
Delete single favorite by ID (unfavorite an asset)
|
168
168
|
|
@@ -197,7 +197,7 @@ end
|
|
197
197
|
|
198
198
|
This returns an Array which contains the response data, status code and headers.
|
199
199
|
|
200
|
-
> <Array(
|
200
|
+
> <Array(<CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdDelete200Response>, Integer, Hash)> companies_company_id_users_user_id_favorites_favorite_id_delete_with_http_info(company_id, user_id, favorite_id)
|
201
201
|
|
202
202
|
```ruby
|
203
203
|
begin
|
@@ -205,7 +205,7 @@ begin
|
|
205
205
|
data, status_code, headers = api_instance.companies_company_id_users_user_id_favorites_favorite_id_delete_with_http_info(company_id, user_id, favorite_id)
|
206
206
|
p status_code # => 2xx
|
207
207
|
p headers # => { ... }
|
208
|
-
p data # =>
|
208
|
+
p data # => <CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdDelete200Response>
|
209
209
|
rescue SparteraApiSdk::ApiError => e
|
210
210
|
puts "Error when calling FavoritesApi->companies_company_id_users_user_id_favorites_favorite_id_delete_with_http_info: #{e}"
|
211
211
|
end
|
@@ -221,7 +221,7 @@ end
|
|
221
221
|
|
222
222
|
### Return type
|
223
223
|
|
224
|
-
**
|
224
|
+
[**CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdDelete200Response**](CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdDelete200Response.md)
|
225
225
|
|
226
226
|
### Authorization
|
227
227
|
|
@@ -235,7 +235,7 @@ end
|
|
235
235
|
|
236
236
|
## companies_company_id_users_user_id_favorites_favorite_id_get
|
237
237
|
|
238
|
-
>
|
238
|
+
> <CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response> companies_company_id_users_user_id_favorites_favorite_id_get(company_id, user_id, favorite_id)
|
239
239
|
|
240
240
|
Get single favorite by ID
|
241
241
|
|
@@ -270,7 +270,7 @@ end
|
|
270
270
|
|
271
271
|
This returns an Array which contains the response data, status code and headers.
|
272
272
|
|
273
|
-
> <Array(
|
273
|
+
> <Array(<CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response>, Integer, Hash)> companies_company_id_users_user_id_favorites_favorite_id_get_with_http_info(company_id, user_id, favorite_id)
|
274
274
|
|
275
275
|
```ruby
|
276
276
|
begin
|
@@ -278,7 +278,7 @@ begin
|
|
278
278
|
data, status_code, headers = api_instance.companies_company_id_users_user_id_favorites_favorite_id_get_with_http_info(company_id, user_id, favorite_id)
|
279
279
|
p status_code # => 2xx
|
280
280
|
p headers # => { ... }
|
281
|
-
p data # =>
|
281
|
+
p data # => <CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response>
|
282
282
|
rescue SparteraApiSdk::ApiError => e
|
283
283
|
puts "Error when calling FavoritesApi->companies_company_id_users_user_id_favorites_favorite_id_get_with_http_info: #{e}"
|
284
284
|
end
|
@@ -294,7 +294,7 @@ end
|
|
294
294
|
|
295
295
|
### Return type
|
296
296
|
|
297
|
-
**
|
297
|
+
[**CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response**](CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response.md)
|
298
298
|
|
299
299
|
### Authorization
|
300
300
|
|
@@ -308,7 +308,7 @@ end
|
|
308
308
|
|
309
309
|
## companies_company_id_users_user_id_favorites_favorite_id_patch
|
310
310
|
|
311
|
-
>
|
311
|
+
> <CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdPatch200Response> companies_company_id_users_user_id_favorites_favorite_id_patch(company_id, user_id, favorite_id, favorite)
|
312
312
|
|
313
313
|
Update an existing favorite by ID
|
314
314
|
|
@@ -344,7 +344,7 @@ end
|
|
344
344
|
|
345
345
|
This returns an Array which contains the response data, status code and headers.
|
346
346
|
|
347
|
-
> <Array(
|
347
|
+
> <Array(<CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdPatch200Response>, Integer, Hash)> companies_company_id_users_user_id_favorites_favorite_id_patch_with_http_info(company_id, user_id, favorite_id, favorite)
|
348
348
|
|
349
349
|
```ruby
|
350
350
|
begin
|
@@ -352,7 +352,7 @@ begin
|
|
352
352
|
data, status_code, headers = api_instance.companies_company_id_users_user_id_favorites_favorite_id_patch_with_http_info(company_id, user_id, favorite_id, favorite)
|
353
353
|
p status_code # => 2xx
|
354
354
|
p headers # => { ... }
|
355
|
-
p data # =>
|
355
|
+
p data # => <CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdPatch200Response>
|
356
356
|
rescue SparteraApiSdk::ApiError => e
|
357
357
|
puts "Error when calling FavoritesApi->companies_company_id_users_user_id_favorites_favorite_id_patch_with_http_info: #{e}"
|
358
358
|
end
|
@@ -369,7 +369,7 @@ end
|
|
369
369
|
|
370
370
|
### Return type
|
371
371
|
|
372
|
-
**
|
372
|
+
[**CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdPatch200Response**](CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdPatch200Response.md)
|
373
373
|
|
374
374
|
### Authorization
|
375
375
|
|
@@ -383,7 +383,7 @@ end
|
|
383
383
|
|
384
384
|
## companies_company_id_users_user_id_favorites_get
|
385
385
|
|
386
|
-
>
|
386
|
+
> <CompaniesCompanyIdUsersUserIdFavoritesGet200Response> companies_company_id_users_user_id_favorites_get(company_id, user_id)
|
387
387
|
|
388
388
|
Get a list of all favorites for a specific user
|
389
389
|
|
@@ -417,7 +417,7 @@ end
|
|
417
417
|
|
418
418
|
This returns an Array which contains the response data, status code and headers.
|
419
419
|
|
420
|
-
> <Array(
|
420
|
+
> <Array(<CompaniesCompanyIdUsersUserIdFavoritesGet200Response>, Integer, Hash)> companies_company_id_users_user_id_favorites_get_with_http_info(company_id, user_id)
|
421
421
|
|
422
422
|
```ruby
|
423
423
|
begin
|
@@ -425,7 +425,7 @@ begin
|
|
425
425
|
data, status_code, headers = api_instance.companies_company_id_users_user_id_favorites_get_with_http_info(company_id, user_id)
|
426
426
|
p status_code # => 2xx
|
427
427
|
p headers # => { ... }
|
428
|
-
p data # =>
|
428
|
+
p data # => <CompaniesCompanyIdUsersUserIdFavoritesGet200Response>
|
429
429
|
rescue SparteraApiSdk::ApiError => e
|
430
430
|
puts "Error when calling FavoritesApi->companies_company_id_users_user_id_favorites_get_with_http_info: #{e}"
|
431
431
|
end
|
@@ -440,7 +440,7 @@ end
|
|
440
440
|
|
441
441
|
### Return type
|
442
442
|
|
443
|
-
**
|
443
|
+
[**CompaniesCompanyIdUsersUserIdFavoritesGet200Response**](CompaniesCompanyIdUsersUserIdFavoritesGet200Response.md)
|
444
444
|
|
445
445
|
### Authorization
|
446
446
|
|
@@ -454,7 +454,7 @@ end
|
|
454
454
|
|
455
455
|
## companies_company_id_users_user_id_favorites_post
|
456
456
|
|
457
|
-
>
|
457
|
+
> <CompaniesCompanyIdUsersUserIdFavoritesPost200Response> companies_company_id_users_user_id_favorites_post(company_id, user_id, favorite)
|
458
458
|
|
459
459
|
POST /companies/{company_id}/users/{user_id}/favorites
|
460
460
|
|
@@ -489,7 +489,7 @@ end
|
|
489
489
|
|
490
490
|
This returns an Array which contains the response data, status code and headers.
|
491
491
|
|
492
|
-
> <Array(
|
492
|
+
> <Array(<CompaniesCompanyIdUsersUserIdFavoritesPost200Response>, Integer, Hash)> companies_company_id_users_user_id_favorites_post_with_http_info(company_id, user_id, favorite)
|
493
493
|
|
494
494
|
```ruby
|
495
495
|
begin
|
@@ -497,7 +497,7 @@ begin
|
|
497
497
|
data, status_code, headers = api_instance.companies_company_id_users_user_id_favorites_post_with_http_info(company_id, user_id, favorite)
|
498
498
|
p status_code # => 2xx
|
499
499
|
p headers # => { ... }
|
500
|
-
p data # =>
|
500
|
+
p data # => <CompaniesCompanyIdUsersUserIdFavoritesPost200Response>
|
501
501
|
rescue SparteraApiSdk::ApiError => e
|
502
502
|
puts "Error when calling FavoritesApi->companies_company_id_users_user_id_favorites_post_with_http_info: #{e}"
|
503
503
|
end
|
@@ -513,7 +513,7 @@ end
|
|
513
513
|
|
514
514
|
### Return type
|
515
515
|
|
516
|
-
**
|
516
|
+
[**CompaniesCompanyIdUsersUserIdFavoritesPost200Response**](CompaniesCompanyIdUsersUserIdFavoritesPost200Response.md)
|
517
517
|
|
518
518
|
### Authorization
|
519
519
|
|
@@ -527,7 +527,7 @@ end
|
|
527
527
|
|
528
528
|
## companies_company_id_users_user_id_favorites_uncategorized_get
|
529
529
|
|
530
|
-
>
|
530
|
+
> <CompaniesCompanyIdUsersUserIdFavoritesGet200Response> companies_company_id_users_user_id_favorites_uncategorized_get(company_id, user_id)
|
531
531
|
|
532
532
|
Get all favorites for the specified user that don't have a category
|
533
533
|
|
@@ -561,7 +561,7 @@ end
|
|
561
561
|
|
562
562
|
This returns an Array which contains the response data, status code and headers.
|
563
563
|
|
564
|
-
> <Array(
|
564
|
+
> <Array(<CompaniesCompanyIdUsersUserIdFavoritesGet200Response>, Integer, Hash)> companies_company_id_users_user_id_favorites_uncategorized_get_with_http_info(company_id, user_id)
|
565
565
|
|
566
566
|
```ruby
|
567
567
|
begin
|
@@ -569,7 +569,7 @@ begin
|
|
569
569
|
data, status_code, headers = api_instance.companies_company_id_users_user_id_favorites_uncategorized_get_with_http_info(company_id, user_id)
|
570
570
|
p status_code # => 2xx
|
571
571
|
p headers # => { ... }
|
572
|
-
p data # =>
|
572
|
+
p data # => <CompaniesCompanyIdUsersUserIdFavoritesGet200Response>
|
573
573
|
rescue SparteraApiSdk::ApiError => e
|
574
574
|
puts "Error when calling FavoritesApi->companies_company_id_users_user_id_favorites_uncategorized_get_with_http_info: #{e}"
|
575
575
|
end
|
@@ -584,7 +584,7 @@ end
|
|
584
584
|
|
585
585
|
### Return type
|
586
586
|
|
587
|
-
**
|
587
|
+
[**CompaniesCompanyIdUsersUserIdFavoritesGet200Response**](CompaniesCompanyIdUsersUserIdFavoritesGet200Response.md)
|
588
588
|
|
589
589
|
### Authorization
|
590
590
|
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# SparteraApiSdk::MeGet200Response
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **user_id** | **String** | Firebase user ID | |
|
8
|
+
| **email** | **String** | User email address | [optional] |
|
9
|
+
| **auth_method** | **String** | Authentication method used | |
|
10
|
+
| **platform** | **String** | Platform origin | [optional] |
|
11
|
+
| **origin_domain** | **String** | Request origin domain | [optional] |
|
12
|
+
| **profile** | [**MeGet200ResponseProfile**](MeGet200ResponseProfile.md) | | |
|
13
|
+
| **company_id** | **String** | Company ID from authentication claims | |
|
14
|
+
| **role_id** | **Integer** | Role ID from authentication claims | |
|
15
|
+
| **token_metadata** | [**MeGet200ResponseTokenMetadata**](MeGet200ResponseTokenMetadata.md) | | [optional] |
|
16
|
+
| **api_key_info** | [**MeGet200ResponseApiKeyInfo**](MeGet200ResponseApiKeyInfo.md) | | [optional] |
|
17
|
+
|
18
|
+
## Example
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'spartera_api_sdk'
|
22
|
+
|
23
|
+
instance = SparteraApiSdk::MeGet200Response.new(
|
24
|
+
user_id: null,
|
25
|
+
email: null,
|
26
|
+
auth_method: null,
|
27
|
+
platform: null,
|
28
|
+
origin_domain: null,
|
29
|
+
profile: null,
|
30
|
+
company_id: null,
|
31
|
+
role_id: null,
|
32
|
+
token_metadata: null,
|
33
|
+
api_key_info: null
|
34
|
+
)
|
35
|
+
```
|
36
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# SparteraApiSdk::MeGet200ResponseApiKeyInfo
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **api_key_id** | **String** | API key ID | [optional] |
|
8
|
+
| **api_key_name** | **String** | API key name | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'spartera_api_sdk'
|
14
|
+
|
15
|
+
instance = SparteraApiSdk::MeGet200ResponseApiKeyInfo.new(
|
16
|
+
api_key_id: null,
|
17
|
+
api_key_name: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# SparteraApiSdk::MeGet200ResponseProfile
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | User ID (primary key) | [optional] |
|
8
|
+
| **type** | **String** | Profile type | [optional] |
|
9
|
+
| **company_id** | **String** | Company ID | [optional] |
|
10
|
+
| **function_id** | **Integer** | User function/role ID | [optional] |
|
11
|
+
| **status** | **String** | User status | [optional] |
|
12
|
+
| **email_address** | **String** | User email address | [optional] |
|
13
|
+
| **timezone** | **String** | User timezone | [optional] |
|
14
|
+
| **date_created** | **Time** | Account creation date | [optional] |
|
15
|
+
| **last_updated** | **Time** | Last profile update | [optional] |
|
16
|
+
| **active** | **Boolean** | Account active status | [optional] |
|
17
|
+
|
18
|
+
## Example
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'spartera_api_sdk'
|
22
|
+
|
23
|
+
instance = SparteraApiSdk::MeGet200ResponseProfile.new(
|
24
|
+
id: null,
|
25
|
+
type: null,
|
26
|
+
company_id: null,
|
27
|
+
function_id: null,
|
28
|
+
status: null,
|
29
|
+
email_address: null,
|
30
|
+
timezone: null,
|
31
|
+
date_created: null,
|
32
|
+
last_updated: null,
|
33
|
+
active: null
|
34
|
+
)
|
35
|
+
```
|
36
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# SparteraApiSdk::MeGet200ResponseTokenMetadata
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **issuer** | **String** | Token issuer | [optional] |
|
8
|
+
| **auth_time** | **Integer** | Authentication time | [optional] |
|
9
|
+
| **issued_at** | **Integer** | Token issued timestamp | [optional] |
|
10
|
+
| **expires_at** | **Integer** | Token expiration timestamp | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'spartera_api_sdk'
|
16
|
+
|
17
|
+
instance = SparteraApiSdk::MeGet200ResponseTokenMetadata.new(
|
18
|
+
issuer: null,
|
19
|
+
auth_time: null,
|
20
|
+
issued_at: null,
|
21
|
+
expires_at: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|