@caraer/client 2.0.437 → 2.0.442
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/.openapi-generator/FILES +87 -2
- package/api.ts +1952 -755
- package/dist/api.d.ts +2040 -714
- package/dist/api.js +471 -465
- package/dist/esm/api.d.ts +2040 -714
- package/dist/esm/api.js +468 -462
- package/docs/AppBarIframeSessionsApi.md +10 -4
- package/docs/AppBarsApi.md +11 -4
- package/docs/AppInstallationRuntimeApi.md +58 -0
- package/docs/ApplicationsApi.md +128 -58
- package/docs/AutomationsApi.md +6 -4
- package/docs/BillingApi.md +10 -4
- package/docs/CRUD.md +24 -0
- package/docs/CompanyApi.md +44 -18
- package/docs/CreateResponseFeedDTO.md +23 -0
- package/docs/CreateResponseMapStringString.md +23 -0
- package/docs/DeleteResponseFeedDTO.md +23 -0
- package/docs/DeveloperProjectsApi.md +31 -6
- package/docs/DeveloperSandboxDTO.md +43 -0
- package/docs/DeveloperSandboxesApi.md +12 -2
- package/docs/ErrorResponse.md +3 -3
- package/docs/ExistingWidgetSummary.md +2 -2
- package/docs/FeedsApi.md +11 -6
- package/docs/FileManagementApi.md +19 -9
- package/docs/FilterApi.md +21 -8
- package/docs/FlowPaginationRequest.md +43 -0
- package/docs/FormsApi.md +95 -56
- package/docs/ModuleApi.md +61 -38
- package/docs/NotificationsApi.md +15 -2
- package/docs/ObjectsApi.md +80 -39
- package/docs/PaginationRequest.md +31 -0
- package/docs/PaginationResponseAppDTO.md +31 -0
- package/docs/PaginationResponseCaraerObjectDTO.md +31 -0
- package/docs/PaginationResponseCompanyDTO.md +31 -0
- package/docs/{PaginationResponse.md → PaginationResponseFeedDTO.md} +4 -4
- package/docs/PaginationResponseFormDTO.md +31 -0
- package/docs/PaginationResponseMapStringObject.md +31 -0
- package/docs/PaginationResponseObject.md +31 -0
- package/docs/PaginationResponsePageContentDTO.md +31 -0
- package/docs/PaginationResponsePropertyCalculationTypeDTO.md +31 -0
- package/docs/PaginationResponsePropertyDTO.md +31 -0
- package/docs/PaginationResponsePropertyFormat.md +31 -0
- package/docs/PaginationResponsePropertyOption.md +31 -0
- package/docs/PaginationResponsePublicEnvironmentDTO.md +31 -0
- package/docs/PaginationResponsePublicFormDTO.md +31 -0
- package/docs/PaginationResponseRelationDTO.md +31 -0
- package/docs/PaginationResponseSavedFilterDTO.md +31 -0
- package/docs/PaginationResponseServerlessFunctionDTO.md +31 -0
- package/docs/PaginationResponseSubscribeWebhookDTO.md +31 -0
- package/docs/PaginationResponseSyncDTO.md +31 -0
- package/docs/PaginationResponseTraitDTO.md +31 -0
- package/docs/PaginationResponseViewDTO.md +31 -0
- package/docs/PaginationResponseWebMenuDTO.md +31 -0
- package/docs/ProjectBuildDTO.md +55 -0
- package/docs/ProjectDeployDTO.md +53 -0
- package/docs/PropertyApi.md +84 -47
- package/docs/PublicFormDTO.md +55 -0
- package/docs/RecordPaginationRequest.md +37 -0
- package/docs/RecordsApi.md +141 -60
- package/docs/RelationsApi.md +82 -48
- package/docs/SearchRequest.md +29 -0
- package/docs/ServerlessFunctionsApi.md +42 -16
- package/docs/SettingField.md +2 -2
- package/docs/ShowResponse.md +3 -3
- package/docs/ShowResponseAnalyticsDashboardConfig.md +23 -0
- package/docs/ShowResponseAppBarIframeSessionContextDTO.md +23 -0
- package/docs/ShowResponseAppBarIframeSessionTokenDTO.md +23 -0
- package/docs/ShowResponseAppDTO.md +23 -0
- package/docs/ShowResponseBillingStatusDTO.md +23 -0
- package/docs/ShowResponseCaraerObjectDTO.md +23 -0
- package/docs/ShowResponseCompanyDTO.md +23 -0
- package/docs/ShowResponseDeveloperProjectDTO.md +23 -0
- package/docs/ShowResponseDigitalIdentityDTO.md +23 -0
- package/docs/ShowResponseFeedDTO.md +23 -0
- package/docs/ShowResponseFormDTO.md +23 -0
- package/docs/ShowResponseListEnvironmentDTO.md +23 -0
- package/docs/ShowResponseListFormObjectSummaryDTO.md +23 -0
- package/docs/ShowResponseListInstalledAppBarDTO.md +23 -0
- package/docs/ShowResponseListPropertyDTO.md +23 -0
- package/docs/ShowResponseListWebpagePickerItemDTO.md +23 -0
- package/docs/ShowResponseLoadAppSettingOptionsResponse.md +23 -0
- package/docs/ShowResponseMapStringAnalyticsDashboardConfig.md +23 -0
- package/docs/ShowResponseMapStringBoolean.md +23 -0
- package/docs/ShowResponseMapStringString.md +23 -0
- package/docs/ShowResponsePageContentDTO.md +23 -0
- package/docs/ShowResponsePreviewDTO.md +23 -0
- package/docs/ShowResponsePropertyDTO.md +23 -0
- package/docs/ShowResponsePublicFormDTO.md +23 -0
- package/docs/ShowResponseRelationDTO.md +23 -0
- package/docs/ShowResponseSavedFilterDTO.md +23 -0
- package/docs/ShowResponseServerlessFunctionDTO.md +23 -0
- package/docs/ShowResponseString.md +23 -0
- package/docs/ShowResponseSubscribeWebhookDTO.md +23 -0
- package/docs/ShowResponseTemplateWebpageDTO.md +23 -0
- package/docs/ShowResponseTraitDTO.md +23 -0
- package/docs/ShowResponseViewDTO.md +23 -0
- package/docs/ShowResponseWebMenuDTO.md +23 -0
- package/docs/ShowResponseWebsiteSettingsDTO.md +23 -0
- package/docs/SuccessResponseAggregateResponse.md +23 -0
- package/docs/SuccessResponseCollectionRelation.md +23 -0
- package/docs/SuccessResponseCompanyDTO.md +23 -0
- package/docs/{SuccessResponse.md → SuccessResponseFeedDTO.md} +4 -4
- package/docs/SuccessResponseFlow.md +23 -0
- package/docs/SuccessResponseListAggregateResponse.md +23 -0
- package/docs/SuccessResponseListCaraerObjectDTO.md +23 -0
- package/docs/SuccessResponseListDeveloperSandboxDTO.md +23 -0
- package/docs/SuccessResponseListMapStringObject.md +23 -0
- package/docs/SuccessResponseListProjectBuildDTO.md +23 -0
- package/docs/SuccessResponseListProjectDeployDTO.md +23 -0
- package/docs/SuccessResponseListPropertyDTO.md +23 -0
- package/docs/SuccessResponseListString.md +23 -0
- package/docs/SuccessResponseMapStringInteger.md +23 -0
- package/docs/SuccessResponseMapStringObject.md +23 -0
- package/docs/SuccessResponseObject.md +23 -0
- package/docs/SuccessResponseSuggestAnalyticsWidgetsResponse.md +23 -0
- package/docs/SuccessResponseTable.md +23 -0
- package/docs/SyncApi.md +27 -9
- package/docs/TraitsApi.md +41 -23
- package/docs/UpdateResponseFeedDTO.md +23 -0
- package/docs/ViewsApi.md +44 -26
- package/docs/WebMenusApi.md +30 -12
- package/docs/WebpagesApi.md +128 -24
- package/package.json +1 -1
package/docs/ModuleApi.md
CHANGED
|
@@ -65,7 +65,10 @@ const { status, data } = await apiInstance.createModule(
|
|
|
65
65
|
|-------------|-------------|------------------|
|
|
66
66
|
|**201** | Module created successfully | - |
|
|
67
67
|
|**400** | Invalid input data | - |
|
|
68
|
-
|**500** |
|
|
68
|
+
|**500** | An internal server error occurred. | - |
|
|
69
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
70
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
71
|
+
|**404** | The requested resource was not found. | - |
|
|
69
72
|
|
|
70
73
|
[[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)
|
|
71
74
|
|
|
@@ -119,7 +122,10 @@ const { status, data } = await apiInstance.createPersonalModule(
|
|
|
119
122
|
|-------------|-------------|------------------|
|
|
120
123
|
|**201** | Module created successfully | - |
|
|
121
124
|
|**400** | Invalid input data | - |
|
|
122
|
-
|**500** |
|
|
125
|
+
|**500** | An internal server error occurred. | - |
|
|
126
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
127
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
128
|
+
|**404** | The requested resource was not found. | - |
|
|
123
129
|
|
|
124
130
|
[[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)
|
|
125
131
|
|
|
@@ -164,15 +170,17 @@ const { status, data } = await apiInstance.deleteModule(
|
|
|
164
170
|
### HTTP request headers
|
|
165
171
|
|
|
166
172
|
- **Content-Type**: Not defined
|
|
167
|
-
- **Accept**: application/json
|
|
173
|
+
- **Accept**: application/json
|
|
168
174
|
|
|
169
175
|
|
|
170
176
|
### HTTP response details
|
|
171
177
|
| Status code | Description | Response headers |
|
|
172
178
|
|-------------|-------------|------------------|
|
|
173
179
|
|**200** | Module deleted successfully | - |
|
|
174
|
-
|**404** |
|
|
175
|
-
|**500** |
|
|
180
|
+
|**404** | The requested resource was not found. | - |
|
|
181
|
+
|**500** | An internal server error occurred. | - |
|
|
182
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
183
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
176
184
|
|
|
177
185
|
[[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)
|
|
178
186
|
|
|
@@ -217,21 +225,22 @@ const { status, data } = await apiInstance.deletePersonalModule(
|
|
|
217
225
|
### HTTP request headers
|
|
218
226
|
|
|
219
227
|
- **Content-Type**: Not defined
|
|
220
|
-
- **Accept**: application/json
|
|
228
|
+
- **Accept**: application/json
|
|
221
229
|
|
|
222
230
|
|
|
223
231
|
### HTTP response details
|
|
224
232
|
| Status code | Description | Response headers |
|
|
225
233
|
|-------------|-------------|------------------|
|
|
226
234
|
|**200** | Module deleted successfully | - |
|
|
227
|
-
|**
|
|
228
|
-
|**
|
|
229
|
-
|**
|
|
235
|
+
|**404** | The requested resource was not found. | - |
|
|
236
|
+
|**500** | An internal server error occurred. | - |
|
|
237
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
238
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
230
239
|
|
|
231
240
|
[[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)
|
|
232
241
|
|
|
233
242
|
# **getModule**
|
|
234
|
-
>
|
|
243
|
+
> ShowResponsePageContentDTO getModule()
|
|
235
244
|
|
|
236
245
|
Retrieves details of a module by its UUID.
|
|
237
246
|
|
|
@@ -262,7 +271,7 @@ const { status, data } = await apiInstance.getModule(
|
|
|
262
271
|
|
|
263
272
|
### Return type
|
|
264
273
|
|
|
265
|
-
**
|
|
274
|
+
**ShowResponsePageContentDTO**
|
|
266
275
|
|
|
267
276
|
### Authorization
|
|
268
277
|
|
|
@@ -271,20 +280,22 @@ const { status, data } = await apiInstance.getModule(
|
|
|
271
280
|
### HTTP request headers
|
|
272
281
|
|
|
273
282
|
- **Content-Type**: Not defined
|
|
274
|
-
- **Accept**: application/json
|
|
283
|
+
- **Accept**: application/json
|
|
275
284
|
|
|
276
285
|
|
|
277
286
|
### HTTP response details
|
|
278
287
|
| Status code | Description | Response headers |
|
|
279
288
|
|-------------|-------------|------------------|
|
|
280
289
|
|**200** | Module retrieved successfully | - |
|
|
281
|
-
|**404** |
|
|
282
|
-
|**500** |
|
|
290
|
+
|**404** | The requested resource was not found. | - |
|
|
291
|
+
|**500** | An internal server error occurred. | - |
|
|
292
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
293
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
283
294
|
|
|
284
295
|
[[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)
|
|
285
296
|
|
|
286
297
|
# **getModules**
|
|
287
|
-
>
|
|
298
|
+
> PaginationResponsePageContentDTO getModules(paginationRequest)
|
|
288
299
|
|
|
289
300
|
Retrieves a paginated list of modules.
|
|
290
301
|
|
|
@@ -293,16 +304,17 @@ Retrieves a paginated list of modules.
|
|
|
293
304
|
```typescript
|
|
294
305
|
import {
|
|
295
306
|
ModuleApi,
|
|
296
|
-
Configuration
|
|
307
|
+
Configuration,
|
|
308
|
+
PaginationRequest
|
|
297
309
|
} from '@caraer/client';
|
|
298
310
|
|
|
299
311
|
const configuration = new Configuration();
|
|
300
312
|
const apiInstance = new ModuleApi(configuration);
|
|
301
313
|
|
|
302
|
-
let
|
|
314
|
+
let paginationRequest: PaginationRequest; //Pagination details
|
|
303
315
|
|
|
304
316
|
const { status, data } = await apiInstance.getModules(
|
|
305
|
-
|
|
317
|
+
paginationRequest
|
|
306
318
|
);
|
|
307
319
|
```
|
|
308
320
|
|
|
@@ -310,12 +322,12 @@ const { status, data } = await apiInstance.getModules(
|
|
|
310
322
|
|
|
311
323
|
|Name | Type | Description | Notes|
|
|
312
324
|
|------------- | ------------- | ------------- | -------------|
|
|
313
|
-
| **
|
|
325
|
+
| **paginationRequest** | **PaginationRequest**| Pagination details | |
|
|
314
326
|
|
|
315
327
|
|
|
316
328
|
### Return type
|
|
317
329
|
|
|
318
|
-
**
|
|
330
|
+
**PaginationResponsePageContentDTO**
|
|
319
331
|
|
|
320
332
|
### Authorization
|
|
321
333
|
|
|
@@ -333,11 +345,14 @@ const { status, data } = await apiInstance.getModules(
|
|
|
333
345
|
|**200** | Modules fetched successfully | - |
|
|
334
346
|
|**400** | Invalid pagination request | - |
|
|
335
347
|
|**500** | Internal server error | - |
|
|
348
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
349
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
350
|
+
|**404** | The requested resource was not found. | - |
|
|
336
351
|
|
|
337
352
|
[[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)
|
|
338
353
|
|
|
339
354
|
# **getPersonalModule**
|
|
340
|
-
>
|
|
355
|
+
> ShowResponsePageContentDTO getPersonalModule()
|
|
341
356
|
|
|
342
357
|
Retrieves a personal module by UUID for the logged-in user.
|
|
343
358
|
|
|
@@ -368,7 +383,7 @@ const { status, data } = await apiInstance.getPersonalModule(
|
|
|
368
383
|
|
|
369
384
|
### Return type
|
|
370
385
|
|
|
371
|
-
**
|
|
386
|
+
**ShowResponsePageContentDTO**
|
|
372
387
|
|
|
373
388
|
### Authorization
|
|
374
389
|
|
|
@@ -377,21 +392,22 @@ const { status, data } = await apiInstance.getPersonalModule(
|
|
|
377
392
|
### HTTP request headers
|
|
378
393
|
|
|
379
394
|
- **Content-Type**: Not defined
|
|
380
|
-
- **Accept**: application/json
|
|
395
|
+
- **Accept**: application/json
|
|
381
396
|
|
|
382
397
|
|
|
383
398
|
### HTTP response details
|
|
384
399
|
| Status code | Description | Response headers |
|
|
385
400
|
|-------------|-------------|------------------|
|
|
386
401
|
|**200** | Module retrieved successfully | - |
|
|
387
|
-
|**
|
|
388
|
-
|**
|
|
389
|
-
|**
|
|
402
|
+
|**404** | The requested resource was not found. | - |
|
|
403
|
+
|**500** | An internal server error occurred. | - |
|
|
404
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
405
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
390
406
|
|
|
391
407
|
[[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)
|
|
392
408
|
|
|
393
409
|
# **getPersonalModules**
|
|
394
|
-
>
|
|
410
|
+
> PaginationResponsePageContentDTO getPersonalModules(paginationRequest)
|
|
395
411
|
|
|
396
412
|
Retrieves personal modules for the logged-in user.
|
|
397
413
|
|
|
@@ -400,16 +416,17 @@ Retrieves personal modules for the logged-in user.
|
|
|
400
416
|
```typescript
|
|
401
417
|
import {
|
|
402
418
|
ModuleApi,
|
|
403
|
-
Configuration
|
|
419
|
+
Configuration,
|
|
420
|
+
PaginationRequest
|
|
404
421
|
} from '@caraer/client';
|
|
405
422
|
|
|
406
423
|
const configuration = new Configuration();
|
|
407
424
|
const apiInstance = new ModuleApi(configuration);
|
|
408
425
|
|
|
409
|
-
let
|
|
426
|
+
let paginationRequest: PaginationRequest; //
|
|
410
427
|
|
|
411
428
|
const { status, data } = await apiInstance.getPersonalModules(
|
|
412
|
-
|
|
429
|
+
paginationRequest
|
|
413
430
|
);
|
|
414
431
|
```
|
|
415
432
|
|
|
@@ -417,12 +434,12 @@ const { status, data } = await apiInstance.getPersonalModules(
|
|
|
417
434
|
|
|
418
435
|
|Name | Type | Description | Notes|
|
|
419
436
|
|------------- | ------------- | ------------- | -------------|
|
|
420
|
-
| **
|
|
437
|
+
| **paginationRequest** | **PaginationRequest**| | |
|
|
421
438
|
|
|
422
439
|
|
|
423
440
|
### Return type
|
|
424
441
|
|
|
425
|
-
**
|
|
442
|
+
**PaginationResponsePageContentDTO**
|
|
426
443
|
|
|
427
444
|
### Authorization
|
|
428
445
|
|
|
@@ -440,6 +457,9 @@ const { status, data } = await apiInstance.getPersonalModules(
|
|
|
440
457
|
|**200** | Modules fetched successfully | - |
|
|
441
458
|
|**400** | Invalid pagination request | - |
|
|
442
459
|
|**500** | Internal server error | - |
|
|
460
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
461
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
462
|
+
|**404** | The requested resource was not found. | - |
|
|
443
463
|
|
|
444
464
|
[[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)
|
|
445
465
|
|
|
@@ -496,8 +516,10 @@ const { status, data } = await apiInstance.updateModule(
|
|
|
496
516
|
|-------------|-------------|------------------|
|
|
497
517
|
|**200** | Module updated successfully | - |
|
|
498
518
|
|**400** | Invalid input data | - |
|
|
499
|
-
|**404** |
|
|
500
|
-
|**500** |
|
|
519
|
+
|**404** | The requested resource was not found. | - |
|
|
520
|
+
|**500** | An internal server error occurred. | - |
|
|
521
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
522
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
501
523
|
|
|
502
524
|
[[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
525
|
|
|
@@ -546,16 +568,17 @@ const { status, data } = await apiInstance.updatePersonalModule(
|
|
|
546
568
|
### HTTP request headers
|
|
547
569
|
|
|
548
570
|
- **Content-Type**: application/json
|
|
549
|
-
- **Accept**: application/json
|
|
571
|
+
- **Accept**: application/json
|
|
550
572
|
|
|
551
573
|
|
|
552
574
|
### HTTP response details
|
|
553
575
|
| Status code | Description | Response headers |
|
|
554
576
|
|-------------|-------------|------------------|
|
|
555
577
|
|**200** | Module updated successfully | - |
|
|
556
|
-
|**403** |
|
|
557
|
-
|**404** |
|
|
558
|
-
|**500** |
|
|
578
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
579
|
+
|**404** | The requested resource was not found. | - |
|
|
580
|
+
|**500** | An internal server error occurred. | - |
|
|
581
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
559
582
|
|
|
560
583
|
[[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)
|
|
561
584
|
|
package/docs/NotificationsApi.md
CHANGED
|
@@ -57,6 +57,9 @@ const { status, data } = await apiInstance.dismissNotification(
|
|
|
57
57
|
|-------------|-------------|------------------|
|
|
58
58
|
|**200** | Notification dismissed | - |
|
|
59
59
|
|**404** | Notification not found | - |
|
|
60
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
61
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
62
|
+
|**500** | An internal server error occurred. | - |
|
|
60
63
|
|
|
61
64
|
[[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)
|
|
62
65
|
|
|
@@ -100,6 +103,10 @@ This endpoint does not have any parameters.
|
|
|
100
103
|
| Status code | Description | Response headers |
|
|
101
104
|
|-------------|-------------|------------------|
|
|
102
105
|
|**200** | OK | - |
|
|
106
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
107
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
108
|
+
|**404** | The requested resource was not found. | - |
|
|
109
|
+
|**500** | An internal server error occurred. | - |
|
|
103
110
|
|
|
104
111
|
[[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)
|
|
105
112
|
|
|
@@ -151,11 +158,14 @@ const { status, data } = await apiInstance.markAsRead(
|
|
|
151
158
|
|-------------|-------------|------------------|
|
|
152
159
|
|**200** | Notification marked as read | - |
|
|
153
160
|
|**404** | Notification not found | - |
|
|
161
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
162
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
163
|
+
|**500** | An internal server error occurred. | - |
|
|
154
164
|
|
|
155
165
|
[[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)
|
|
156
166
|
|
|
157
167
|
# **sendNotification**
|
|
158
|
-
> sendNotification(sendNotificationRequest)
|
|
168
|
+
> CreateResponseMapStringString sendNotification(sendNotificationRequest)
|
|
159
169
|
|
|
160
170
|
Installed apps call this endpoint after async work completes. Authenticate with the installation token (Authorization: Bearer or X-CARAER-TOKEN). The target user must belong to the app\'s company.
|
|
161
171
|
|
|
@@ -187,7 +197,7 @@ const { status, data } = await apiInstance.sendNotification(
|
|
|
187
197
|
|
|
188
198
|
### Return type
|
|
189
199
|
|
|
190
|
-
|
|
200
|
+
**CreateResponseMapStringString**
|
|
191
201
|
|
|
192
202
|
### Authorization
|
|
193
203
|
|
|
@@ -206,6 +216,9 @@ void (empty response body)
|
|
|
206
216
|
|**400** | Invalid request | - |
|
|
207
217
|
|**403** | Forbidden | - |
|
|
208
218
|
|**429** | Rate limited | - |
|
|
219
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
220
|
+
|**404** | The requested resource was not found. | - |
|
|
221
|
+
|**500** | An internal server error occurred. | - |
|
|
209
222
|
|
|
210
223
|
[[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)
|
|
211
224
|
|