@caraer/client 2.0.696 → 2.0.701

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 (61) hide show
  1. package/.openapi-generator/FILES +38 -0
  2. package/api.ts +1839 -204
  3. package/dist/api.d.ts +997 -31
  4. package/dist/api.js +1280 -84
  5. package/dist/esm/api.d.ts +997 -31
  6. package/dist/esm/api.js +1268 -80
  7. package/docs/ApiTokenDTO.md +22 -0
  8. package/docs/AppBarDTO.md +6 -0
  9. package/docs/AppBarIframeSessionRequest.md +4 -0
  10. package/docs/AppBarsApi.md +4 -1
  11. package/docs/AppDTO.md +4 -0
  12. package/docs/AppDetailsDTO.md +2 -0
  13. package/docs/AppSettingFieldSchema.md +2 -2
  14. package/docs/BrowserAuthExchangeRequest.md +24 -0
  15. package/docs/BrowserAuthSessionResponse.md +28 -0
  16. package/docs/BrowserAuthStartRequest.md +28 -0
  17. package/docs/BrowserAuthStartResponse.md +22 -0
  18. package/docs/BrowserAuthenticationApi.md +176 -0
  19. package/docs/BulkEditRecordErrorItem.md +2 -0
  20. package/docs/CreatePrivateAppRequest.md +4 -0
  21. package/docs/EnsureRelationDTO.md +27 -0
  22. package/docs/ErrorResponse.md +2 -0
  23. package/docs/ExistingWidgetSummary.md +2 -2
  24. package/docs/FavoriteViewDTO.md +22 -0
  25. package/docs/NavigationApi.md +280 -0
  26. package/docs/NavigationDTO.md +27 -0
  27. package/docs/NavigationObjectDTO.md +38 -0
  28. package/docs/NavigationViewDTO.md +44 -0
  29. package/docs/NotificationDeviceReceipt.md +26 -0
  30. package/docs/NotificationDeviceRegistration.md +28 -0
  31. package/docs/NotificationsApi.md +172 -0
  32. package/docs/ObjectReferenceDTO.md +32 -0
  33. package/docs/ObjectsApi.md +5 -2
  34. package/docs/Palette.md +22 -0
  35. package/docs/Record.md +2 -2
  36. package/docs/RecordsApi.md +119 -0
  37. package/docs/RelationCapabilities.md +26 -0
  38. package/docs/RelationCapabilityEdge.md +22 -0
  39. package/docs/RelationCapabilityEdges.md +22 -0
  40. package/docs/RelationCapabilityOperation.md +22 -0
  41. package/docs/RelationCapabilityPair.md +22 -0
  42. package/docs/RelationCapabilityPairCapability.md +34 -0
  43. package/docs/RelationCapabilityPrimary.md +22 -0
  44. package/docs/RelationCapabilityRequest.md +22 -0
  45. package/docs/SettingField.md +2 -2
  46. package/docs/ShowResponseBrowserAuthSessionResponse.md +23 -0
  47. package/docs/ShowResponseBrowserAuthStartResponse.md +23 -0
  48. package/docs/ShowResponseItem.md +23 -0
  49. package/docs/ShowResponseNotificationDeviceReceipt.md +23 -0
  50. package/docs/ShowResponseRelationCapabilities.md +23 -0
  51. package/docs/ShowResponseWebpageEditorDefaultsDTO.md +23 -0
  52. package/docs/SimpleCompanyDTO.md +22 -0
  53. package/docs/SuccessResponseEnsureRelationDTO.md +23 -0
  54. package/docs/SuccessResponseListFavoriteViewDTO.md +23 -0
  55. package/docs/SuccessResponseListNavigationViewDTO.md +23 -0
  56. package/docs/SuccessResponseNavigationDTO.md +23 -0
  57. package/docs/UserDTO.md +46 -0
  58. package/docs/ViewNavigationPreferencesRequest.md +23 -0
  59. package/docs/WebpageEditorDefaultsDTO.md +25 -0
  60. package/docs/WebpagesApi.md +118 -0
  61. package/package.json +1 -1
@@ -0,0 +1,280 @@
1
+ # NavigationApi
2
+
3
+ All URIs are relative to *https://v2.api.caraer.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**favorites**](#favorites) | **GET** /api/v2/navigation/favorites | Read authorized favorite views|
8
+ |[**navigation**](#navigation) | **GET** /api/v2/navigation | Read authorized navigation|
9
+ |[**preferences**](#preferences) | **PUT** /api/v2/navigation/objects/{objectUuid}/view-preferences | Set personal view navigation preferences|
10
+ |[**scopes**](#scopes) | **GET** /api/v2/access/scopes | Read available access scopes|
11
+ |[**views**](#views) | **GET** /api/v2/navigation/objects/{objectUuid}/views | Read authorized view navigation summaries|
12
+
13
+ # **favorites**
14
+ > SuccessResponseListFavoriteViewDTO favorites()
15
+
16
+ Selected-company favorites across objects. Archived readable favorites require includeArchived=true. Each result carries only object identity/capability names and view navigation metadata.
17
+
18
+ ### Example
19
+
20
+ ```typescript
21
+ import {
22
+ NavigationApi,
23
+ Configuration
24
+ } from '@caraer/client';
25
+
26
+ const configuration = new Configuration();
27
+ const apiInstance = new NavigationApi(configuration);
28
+
29
+ let includeArchived: boolean; // (optional) (default to false)
30
+
31
+ const { status, data } = await apiInstance.favorites(
32
+ includeArchived
33
+ );
34
+ ```
35
+
36
+ ### Parameters
37
+
38
+ |Name | Type | Description | Notes|
39
+ |------------- | ------------- | ------------- | -------------|
40
+ | **includeArchived** | [**boolean**] | | (optional) defaults to false|
41
+
42
+
43
+ ### Return type
44
+
45
+ **SuccessResponseListFavoriteViewDTO**
46
+
47
+ ### Authorization
48
+
49
+ [bearerAuth](../README.md#bearerAuth)
50
+
51
+ ### HTTP request headers
52
+
53
+ - **Content-Type**: Not defined
54
+ - **Accept**: */*, application/json
55
+
56
+
57
+ ### HTTP response details
58
+ | Status code | Description | Response headers |
59
+ |-------------|-------------|------------------|
60
+ |**200** | OK | - |
61
+ |**401** | Authentication is required or the token is invalid. | - |
62
+ |**403** | The caller is missing a required role or scope. | - |
63
+ |**404** | The requested resource was not found. | - |
64
+ |**500** | An internal server error occurred. | - |
65
+
66
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
67
+
68
+ # **navigation**
69
+ > SuccessResponseNavigationDTO navigation()
70
+
71
+ Selected-company object and view summaries with permission-gated menus. Does not load schemas, users, scopes, branding or dashboards.
72
+
73
+ ### Example
74
+
75
+ ```typescript
76
+ import {
77
+ NavigationApi,
78
+ Configuration
79
+ } from '@caraer/client';
80
+
81
+ const configuration = new Configuration();
82
+ const apiInstance = new NavigationApi(configuration);
83
+
84
+ const { status, data } = await apiInstance.navigation();
85
+ ```
86
+
87
+ ### Parameters
88
+ This endpoint does not have any parameters.
89
+
90
+
91
+ ### Return type
92
+
93
+ **SuccessResponseNavigationDTO**
94
+
95
+ ### Authorization
96
+
97
+ [bearerAuth](../README.md#bearerAuth)
98
+
99
+ ### HTTP request headers
100
+
101
+ - **Content-Type**: Not defined
102
+ - **Accept**: */*, application/json
103
+
104
+
105
+ ### HTTP response details
106
+ | Status code | Description | Response headers |
107
+ |-------------|-------------|------------------|
108
+ |**200** | OK | - |
109
+ |**401** | Authentication is required or the token is invalid. | - |
110
+ |**403** | The caller is missing a required role or scope. | - |
111
+ |**404** | The requested resource was not found. | - |
112
+ |**500** | An internal server error occurred. | - |
113
+
114
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
115
+
116
+ # **preferences**
117
+ > SuccessResponseListNavigationViewDTO preferences(viewNavigationPreferencesRequest)
118
+
119
+ Atomic user/company-scoped index and favorite overrides for readable views of this object. Omission preserves; null clears to the legacy default. Does not create sharing edges or change authorization. Requires an actual selected-company user record.
120
+
121
+ ### Example
122
+
123
+ ```typescript
124
+ import {
125
+ NavigationApi,
126
+ Configuration,
127
+ ViewNavigationPreferencesRequest
128
+ } from '@caraer/client';
129
+
130
+ const configuration = new Configuration();
131
+ const apiInstance = new NavigationApi(configuration);
132
+
133
+ let objectUuid: string; // (default to undefined)
134
+ let viewNavigationPreferencesRequest: ViewNavigationPreferencesRequest; //
135
+
136
+ const { status, data } = await apiInstance.preferences(
137
+ objectUuid,
138
+ viewNavigationPreferencesRequest
139
+ );
140
+ ```
141
+
142
+ ### Parameters
143
+
144
+ |Name | Type | Description | Notes|
145
+ |------------- | ------------- | ------------- | -------------|
146
+ | **viewNavigationPreferencesRequest** | **ViewNavigationPreferencesRequest**| | |
147
+ | **objectUuid** | [**string**] | | defaults to undefined|
148
+
149
+
150
+ ### Return type
151
+
152
+ **SuccessResponseListNavigationViewDTO**
153
+
154
+ ### Authorization
155
+
156
+ [bearerAuth](../README.md#bearerAuth)
157
+
158
+ ### HTTP request headers
159
+
160
+ - **Content-Type**: application/json
161
+ - **Accept**: */*, application/json
162
+
163
+
164
+ ### HTTP response details
165
+ | Status code | Description | Response headers |
166
+ |-------------|-------------|------------------|
167
+ |**200** | OK | - |
168
+ |**401** | Authentication is required or the token is invalid. | - |
169
+ |**403** | The caller is missing a required role or scope. | - |
170
+ |**404** | The requested resource was not found. | - |
171
+ |**500** | An internal server error occurred. | - |
172
+
173
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
174
+
175
+ # **scopes**
176
+ > SuccessResponseListString scopes()
177
+
178
+ Scope catalog for managing selected-company user and team permissions. Requires user-management read or app-management write access. App-only callers discover record scopes only for readable objects. This is not a list of the caller\'s granted scopes.
179
+
180
+ ### Example
181
+
182
+ ```typescript
183
+ import {
184
+ NavigationApi,
185
+ Configuration
186
+ } from '@caraer/client';
187
+
188
+ const configuration = new Configuration();
189
+ const apiInstance = new NavigationApi(configuration);
190
+
191
+ const { status, data } = await apiInstance.scopes();
192
+ ```
193
+
194
+ ### Parameters
195
+ This endpoint does not have any parameters.
196
+
197
+
198
+ ### Return type
199
+
200
+ **SuccessResponseListString**
201
+
202
+ ### Authorization
203
+
204
+ [bearerAuth](../README.md#bearerAuth)
205
+
206
+ ### HTTP request headers
207
+
208
+ - **Content-Type**: Not defined
209
+ - **Accept**: */*, application/json
210
+
211
+
212
+ ### HTTP response details
213
+ | Status code | Description | Response headers |
214
+ |-------------|-------------|------------------|
215
+ |**200** | OK | - |
216
+ |**401** | Authentication is required or the token is invalid. | - |
217
+ |**403** | The caller is missing a required role or scope. | - |
218
+ |**404** | The requested resource was not found. | - |
219
+ |**500** | An internal server error occurred. | - |
220
+
221
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
222
+
223
+ # **views**
224
+ > SuccessResponseListNavigationViewDTO views()
225
+
226
+ Intent-loaded selected-company metadata. Archived readable views are included only with includeArchived=true; no filters, schemas or sharing grants are returned.
227
+
228
+ ### Example
229
+
230
+ ```typescript
231
+ import {
232
+ NavigationApi,
233
+ Configuration
234
+ } from '@caraer/client';
235
+
236
+ const configuration = new Configuration();
237
+ const apiInstance = new NavigationApi(configuration);
238
+
239
+ let objectUuid: string; // (default to undefined)
240
+ let includeArchived: boolean; // (optional) (default to false)
241
+
242
+ const { status, data } = await apiInstance.views(
243
+ objectUuid,
244
+ includeArchived
245
+ );
246
+ ```
247
+
248
+ ### Parameters
249
+
250
+ |Name | Type | Description | Notes|
251
+ |------------- | ------------- | ------------- | -------------|
252
+ | **objectUuid** | [**string**] | | defaults to undefined|
253
+ | **includeArchived** | [**boolean**] | | (optional) defaults to false|
254
+
255
+
256
+ ### Return type
257
+
258
+ **SuccessResponseListNavigationViewDTO**
259
+
260
+ ### Authorization
261
+
262
+ [bearerAuth](../README.md#bearerAuth)
263
+
264
+ ### HTTP request headers
265
+
266
+ - **Content-Type**: Not defined
267
+ - **Accept**: */*, application/json
268
+
269
+
270
+ ### HTTP response details
271
+ | Status code | Description | Response headers |
272
+ |-------------|-------------|------------------|
273
+ |**200** | OK | - |
274
+ |**401** | Authentication is required or the token is invalid. | - |
275
+ |**403** | The caller is missing a required role or scope. | - |
276
+ |**404** | The requested resource was not found. | - |
277
+ |**500** | An internal server error occurred. | - |
278
+
279
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
280
+
@@ -0,0 +1,27 @@
1
+ # NavigationDTO
2
+
3
+ Authorized application navigation for the currently selected company. Contains no record schema or user configuration.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **objects** | [**Array<NavigationObjectDTO>**](NavigationObjectDTO.md) | | [optional] [default to undefined]
10
+ **suites** | **Array<string>** | | [optional] [default to undefined]
11
+ **tools** | [**WebMenuDTO**](WebMenuDTO.md) | | [optional] [default to undefined]
12
+ **settings** | [**WebMenuDTO**](WebMenuDTO.md) | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { NavigationDTO } from '@caraer/client';
18
+
19
+ const instance: NavigationDTO = {
20
+ objects,
21
+ suites,
22
+ tools,
23
+ settings,
24
+ };
25
+ ```
26
+
27
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,38 @@
1
+ # NavigationObjectDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **uuid** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **label** | **string** | | [optional] [default to undefined]
11
+ **plural** | **string** | | [optional] [default to undefined]
12
+ **icon** | **string** | | [optional] [default to undefined]
13
+ **defaultTrait** | **string** | | [optional] [default to undefined]
14
+ **index** | **number** | | [optional] [default to undefined]
15
+ **suites** | **Array<string>** | | [optional] [default to undefined]
16
+ **views** | [**Array<NavigationViewDTO>**](NavigationViewDTO.md) | | [optional] [default to undefined]
17
+ **traits** | **Array<string>** | | [optional] [default to undefined]
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import { NavigationObjectDTO } from '@caraer/client';
23
+
24
+ const instance: NavigationObjectDTO = {
25
+ uuid,
26
+ name,
27
+ label,
28
+ plural,
29
+ icon,
30
+ defaultTrait,
31
+ index,
32
+ suites,
33
+ views,
34
+ traits,
35
+ };
36
+ ```
37
+
38
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,44 @@
1
+ # NavigationViewDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **uuid** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **label** | **string** | | [optional] [default to undefined]
11
+ **icon** | **string** | | [optional] [default to undefined]
12
+ **trait** | **string** | | [optional] [default to undefined]
13
+ **defaultView** | **boolean** | | [optional] [default to undefined]
14
+ **index** | **number** | | [optional] [default to undefined]
15
+ **favorite** | **boolean** | | [optional] [default to undefined]
16
+ **personal** | **boolean** | | [optional] [default to undefined]
17
+ **shared** | **boolean** | | [optional] [default to undefined]
18
+ **team** | **boolean** | | [optional] [default to undefined]
19
+ **isInternallyPublic** | **boolean** | | [optional] [default to undefined]
20
+ **deletedAt** | **number** | | [optional] [default to undefined]
21
+
22
+ ## Example
23
+
24
+ ```typescript
25
+ import { NavigationViewDTO } from '@caraer/client';
26
+
27
+ const instance: NavigationViewDTO = {
28
+ uuid,
29
+ name,
30
+ label,
31
+ icon,
32
+ trait,
33
+ defaultView,
34
+ index,
35
+ favorite,
36
+ personal,
37
+ shared,
38
+ team,
39
+ isInternallyPublic,
40
+ deletedAt,
41
+ };
42
+ ```
43
+
44
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # NotificationDeviceReceipt
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **installationId** | **string** | | [optional] [default to undefined]
9
+ **platform** | **string** | | [optional] [default to undefined]
10
+ **applicationId** | **string** | | [optional] [default to undefined]
11
+ **permission** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { NotificationDeviceReceipt } from '@caraer/client';
17
+
18
+ const instance: NotificationDeviceReceipt = {
19
+ installationId,
20
+ platform,
21
+ applicationId,
22
+ permission,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,28 @@
1
+ # NotificationDeviceRegistration
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **platform** | **string** | | [optional] [default to undefined]
9
+ **applicationId** | **string** | | [optional] [default to undefined]
10
+ **registrationKind** | **string** | | [optional] [default to undefined]
11
+ **registration** | **string** | | [optional] [default to undefined]
12
+ **permission** | **string** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { NotificationDeviceRegistration } from '@caraer/client';
18
+
19
+ const instance: NotificationDeviceRegistration = {
20
+ platform,
21
+ applicationId,
22
+ registrationKind,
23
+ registration,
24
+ permission,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -6,10 +6,13 @@ All URIs are relative to *https://v2.api.caraer.com*
6
6
  |------------- | ------------- | -------------|
7
7
  |[**dismissNotification**](#dismissnotification) | **DELETE** /api/v2/notifications/{notificationId} | Dismiss a notification|
8
8
  |[**firebaseToken**](#firebasetoken) | **GET** /api/v2/notifications/firebase-token | Mint a Firebase custom token so the app can listen to its inbox|
9
+ |[**getNotification**](#getnotification) | **GET** /api/v2/notifications/{notificationId} | Get an authoritative notification by ID|
9
10
  |[**listNotifications**](#listnotifications) | **GET** /api/v2/notifications | List in-app notifications for the logged-in user|
10
11
  |[**markAllAsRead**](#markallasread) | **PATCH** /api/v2/notifications/read-all | Mark all notifications as read|
11
12
  |[**markAsRead**](#markasread) | **PATCH** /api/v2/notifications/{notificationId}/read | Mark a notification as read|
13
+ |[**registerDevice**](#registerdevice) | **PUT** /api/v2/notifications/devices/{deviceInstallationId} | Register this user\'s native notification device|
12
14
  |[**sendNotification**](#sendnotification) | **POST** /api/v2/notifications | Send a notification (app token)|
15
+ |[**unregisterDevice**](#unregisterdevice) | **DELETE** /api/v2/notifications/devices/{deviceInstallationId} | Unregister this user\'s native notification device|
13
16
 
14
17
  # **dismissNotification**
15
18
  > DeleteResponseString dismissNotification()
@@ -101,6 +104,61 @@ This endpoint does not have any parameters.
101
104
  - **Accept**: application/json
102
105
 
103
106
 
107
+ ### HTTP response details
108
+ | Status code | Description | Response headers |
109
+ |-------------|-------------|------------------|
110
+ |**200** | OK | - |
111
+ |**401** | Authentication is required or the token is invalid. | - |
112
+ |**403** | The caller is missing a required role or scope. | - |
113
+ |**404** | The requested resource was not found. | - |
114
+ |**500** | An internal server error occurred. | - |
115
+
116
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
117
+
118
+ # **getNotification**
119
+ > ShowResponseItem getNotification()
120
+
121
+ Returns an inbox entry only for its human recipient in the authorized selected company, including entries outside the inbox page.
122
+
123
+ ### Example
124
+
125
+ ```typescript
126
+ import {
127
+ NotificationsApi,
128
+ Configuration
129
+ } from '@caraer/client';
130
+
131
+ const configuration = new Configuration();
132
+ const apiInstance = new NotificationsApi(configuration);
133
+
134
+ let notificationId: string; // (default to undefined)
135
+
136
+ const { status, data } = await apiInstance.getNotification(
137
+ notificationId
138
+ );
139
+ ```
140
+
141
+ ### Parameters
142
+
143
+ |Name | Type | Description | Notes|
144
+ |------------- | ------------- | ------------- | -------------|
145
+ | **notificationId** | [**string**] | | defaults to undefined|
146
+
147
+
148
+ ### Return type
149
+
150
+ **ShowResponseItem**
151
+
152
+ ### Authorization
153
+
154
+ [bearerAuth](../README.md#bearerAuth)
155
+
156
+ ### HTTP request headers
157
+
158
+ - **Content-Type**: Not defined
159
+ - **Accept**: application/json
160
+
161
+
104
162
  ### HTTP response details
105
163
  | Status code | Description | Response headers |
106
164
  |-------------|-------------|------------------|
@@ -271,6 +329,65 @@ const { status, data } = await apiInstance.markAsRead(
271
329
 
272
330
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
273
331
 
332
+ # **registerDevice**
333
+ > ShowResponseNotificationDeviceReceipt registerDevice(notificationDeviceRegistration)
334
+
335
+ Idempotently registers an allowed native application. Human authentication required. Does not accept a target user or company. Rotate the registration when moving between accounts.
336
+
337
+ ### Example
338
+
339
+ ```typescript
340
+ import {
341
+ NotificationsApi,
342
+ Configuration,
343
+ NotificationDeviceRegistration
344
+ } from '@caraer/client';
345
+
346
+ const configuration = new Configuration();
347
+ const apiInstance = new NotificationsApi(configuration);
348
+
349
+ let deviceInstallationId: string; // (default to undefined)
350
+ let notificationDeviceRegistration: NotificationDeviceRegistration; //
351
+
352
+ const { status, data } = await apiInstance.registerDevice(
353
+ deviceInstallationId,
354
+ notificationDeviceRegistration
355
+ );
356
+ ```
357
+
358
+ ### Parameters
359
+
360
+ |Name | Type | Description | Notes|
361
+ |------------- | ------------- | ------------- | -------------|
362
+ | **notificationDeviceRegistration** | **NotificationDeviceRegistration**| | |
363
+ | **deviceInstallationId** | [**string**] | | defaults to undefined|
364
+
365
+
366
+ ### Return type
367
+
368
+ **ShowResponseNotificationDeviceReceipt**
369
+
370
+ ### Authorization
371
+
372
+ [bearerAuth](../README.md#bearerAuth)
373
+
374
+ ### HTTP request headers
375
+
376
+ - **Content-Type**: application/json
377
+ - **Accept**: application/json
378
+
379
+
380
+ ### HTTP response details
381
+ | Status code | Description | Response headers |
382
+ |-------------|-------------|------------------|
383
+ |**200** | OK | - |
384
+ |**401** | Authentication is required or the token is invalid. | - |
385
+ |**403** | The caller is missing a required role or scope. | - |
386
+ |**404** | The requested resource was not found. | - |
387
+ |**500** | An internal server error occurred. | - |
388
+
389
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
390
+
274
391
  # **sendNotification**
275
392
  > CreateResponseMapStringString sendNotification(sendNotificationRequest)
276
393
 
@@ -329,3 +446,58 @@ const { status, data } = await apiInstance.sendNotification(
329
446
 
330
447
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
331
448
 
449
+ # **unregisterDevice**
450
+ > SuccessResponseString unregisterDevice()
451
+
452
+ Idempotent. Call before logout; other users\' device registrations are inaccessible.
453
+
454
+ ### Example
455
+
456
+ ```typescript
457
+ import {
458
+ NotificationsApi,
459
+ Configuration
460
+ } from '@caraer/client';
461
+
462
+ const configuration = new Configuration();
463
+ const apiInstance = new NotificationsApi(configuration);
464
+
465
+ let deviceInstallationId: string; // (default to undefined)
466
+
467
+ const { status, data } = await apiInstance.unregisterDevice(
468
+ deviceInstallationId
469
+ );
470
+ ```
471
+
472
+ ### Parameters
473
+
474
+ |Name | Type | Description | Notes|
475
+ |------------- | ------------- | ------------- | -------------|
476
+ | **deviceInstallationId** | [**string**] | | defaults to undefined|
477
+
478
+
479
+ ### Return type
480
+
481
+ **SuccessResponseString**
482
+
483
+ ### Authorization
484
+
485
+ [bearerAuth](../README.md#bearerAuth)
486
+
487
+ ### HTTP request headers
488
+
489
+ - **Content-Type**: Not defined
490
+ - **Accept**: application/json
491
+
492
+
493
+ ### HTTP response details
494
+ | Status code | Description | Response headers |
495
+ |-------------|-------------|------------------|
496
+ |**200** | OK | - |
497
+ |**401** | Authentication is required or the token is invalid. | - |
498
+ |**403** | The caller is missing a required role or scope. | - |
499
+ |**404** | The requested resource was not found. | - |
500
+ |**500** | An internal server error occurred. | - |
501
+
502
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
503
+
@@ -0,0 +1,32 @@
1
+ # ObjectReferenceDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **uuid** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **label** | **string** | | [optional] [default to undefined]
11
+ **plural** | **string** | | [optional] [default to undefined]
12
+ **icon** | **string** | | [optional] [default to undefined]
13
+ **defaultTrait** | **string** | | [optional] [default to undefined]
14
+ **traits** | **Array<string>** | | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { ObjectReferenceDTO } from '@caraer/client';
20
+
21
+ const instance: ObjectReferenceDTO = {
22
+ uuid,
23
+ name,
24
+ label,
25
+ plural,
26
+ icon,
27
+ defaultTrait,
28
+ traits,
29
+ };
30
+ ```
31
+
32
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)