@caraer/client 2.0.381 → 2.0.382

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 (117) hide show
  1. package/.openapi-generator/FILES +72 -1
  2. package/api.ts +7888 -2480
  3. package/apps.ts +122 -0
  4. package/dist/api.d.ts +3806 -637
  5. package/dist/api.js +6088 -1935
  6. package/dist/apps.d.ts +111 -0
  7. package/dist/apps.js +9 -0
  8. package/dist/esm/api.d.ts +3806 -637
  9. package/dist/esm/api.js +6019 -1883
  10. package/dist/esm/apps.d.ts +111 -0
  11. package/dist/esm/apps.js +8 -0
  12. package/dist/esm/index.d.ts +1 -0
  13. package/dist/esm/index.js +1 -0
  14. package/dist/index.d.ts +1 -0
  15. package/dist/index.js +1 -0
  16. package/docs/AdvancedRecordQueryPlan.md +50 -0
  17. package/docs/AdvancedRecordQueryRequest.md +43 -0
  18. package/docs/AdvancedRecordQueryResponse.md +39 -0
  19. package/docs/AdvancedRecordQueryResultItem.md +32 -0
  20. package/docs/AggregateBatchRequest.md +21 -0
  21. package/docs/AggregateRequest.md +43 -0
  22. package/docs/AnalyticsAxisConfig.md +32 -0
  23. package/docs/AnalyticsComparisonMetric.md +28 -0
  24. package/docs/AnalyticsDashboardConfig.md +24 -0
  25. package/docs/AnalyticsPropertyRef.md +24 -0
  26. package/docs/AnalyticsReferenceLine.md +24 -0
  27. package/docs/AnalyticsSeriesConfig.md +20 -0
  28. package/docs/AnalyticsTrendConfig.md +22 -0
  29. package/docs/AnalyticsWidgetConfig.md +54 -0
  30. package/docs/AnalyticsWidgetStyle.md +32 -0
  31. package/docs/AppConnectionStatusDTO.md +38 -0
  32. package/docs/AppDTO.md +19 -1
  33. package/docs/AppExternalOAuthProviderDTO.md +59 -0
  34. package/docs/AppExternalOAuthProviderSummaryDTO.md +27 -0
  35. package/docs/AppInboundRouteDTO.md +49 -0
  36. package/docs/AppInstallationRuntimeApi.md +764 -0
  37. package/docs/AppOAuthStartResponseDTO.md +20 -0
  38. package/docs/AppPublishDTO.md +1 -1
  39. package/docs/AppScheduleDTO.md +47 -0
  40. package/docs/AppSettingFieldSchema.md +4 -0
  41. package/docs/AppSettingOptionsSource.md +2 -0
  42. package/docs/ApplicationsApi.md +228 -0
  43. package/docs/BillingApi.md +101 -0
  44. package/docs/BulkDeleteRecordsData.md +21 -0
  45. package/docs/BulkDeleteRecordsRequest.md +23 -0
  46. package/docs/BulkDeleteRecordsResponse.md +25 -0
  47. package/docs/BulkEditRecordErrorItem.md +27 -0
  48. package/docs/BulkEditRecordItem.md +25 -0
  49. package/docs/BulkEditRecordResultItem.md +25 -0
  50. package/docs/BulkEditRecordsData.md +21 -0
  51. package/docs/BulkEditRecordsRequest.md +21 -0
  52. package/docs/BulkEditRecordsResponse.md +25 -0
  53. package/docs/CompanyApi.md +157 -0
  54. package/docs/CreateDeveloperProjectRequest.md +25 -0
  55. package/docs/CreateDeveloperSandboxRequest.md +23 -0
  56. package/docs/CreatePrivateAppRequest.md +4 -0
  57. package/docs/CreateProjectBuildRequest.md +29 -0
  58. package/docs/CreateResponseAppExternalOAuthProviderDTO.md +23 -0
  59. package/docs/CreateResponseAppInboundRouteDTO.md +23 -0
  60. package/docs/CreateResponseAppScheduleDTO.md +23 -0
  61. package/docs/CriterionScore.md +30 -0
  62. package/docs/CrossObjectRecordSearchRequest.md +37 -0
  63. package/docs/DeleteResponseVoid.md +23 -0
  64. package/docs/DeployBuildRequest.md +23 -0
  65. package/docs/DeveloperProjectsApi.md +387 -0
  66. package/docs/DeveloperSandboxesApi.md +158 -0
  67. package/docs/DeviceApproveRequest.md +21 -0
  68. package/docs/DevicePollRequest.md +21 -0
  69. package/docs/ErrorResponse.md +2 -0
  70. package/docs/EventRsvpRequest.md +22 -0
  71. package/docs/ExistingWidgetSummary.md +34 -0
  72. package/docs/{MorphRecordRequest.md → ExtendRecordRequest.md} +5 -5
  73. package/docs/FilterItem.md +4 -0
  74. package/docs/GraphPathEvidence.md +28 -0
  75. package/docs/GraphTraversalSpec.md +32 -0
  76. package/docs/Leadscore.md +4 -0
  77. package/docs/MigrateAppToV2Request.md +21 -0
  78. package/docs/ObjectsApi.md +6 -6
  79. package/docs/PreviewDTO.md +2 -0
  80. package/docs/Progress.md +20 -0
  81. package/docs/PropertyDTO.md +4 -0
  82. package/docs/PropertyDTOFormat.md +2 -0
  83. package/docs/PropertyOption.md +2 -0
  84. package/docs/QueryEvidence.md +40 -0
  85. package/docs/Record.md +2 -2
  86. package/docs/RecordDTO.md +1 -1
  87. package/docs/RecordRelationRequestDTO.md +2 -0
  88. package/docs/RecordsApi.md +671 -75
  89. package/docs/Recurrence.md +18 -0
  90. package/docs/RefreshTokenRequest.md +21 -0
  91. package/docs/RelationEdgeRequestDTO.md +23 -0
  92. package/docs/SamplePayloadRequest.md +23 -0
  93. package/docs/SavePropertyDTO.md +5 -1
  94. package/docs/ScoreBreakdown.md +34 -0
  95. package/docs/ServerlessFunctionDTO.md +2 -0
  96. package/docs/ServerlessFunctionRefDTO.md +25 -0
  97. package/docs/ServerlessFunctionsApi.md +184 -8
  98. package/docs/ShowItem.md +2 -0
  99. package/docs/ShowResponseAppExternalOAuthProviderDTO.md +23 -0
  100. package/docs/ShowResponseAppInboundRouteDTO.md +23 -0
  101. package/docs/ShowResponseAppOAuthStartResponseDTO.md +23 -0
  102. package/docs/ShowResponseAppScheduleDTO.md +23 -0
  103. package/docs/ShowResponseListAppConnectionStatusDTO.md +23 -0
  104. package/docs/ShowResponseListString.md +23 -0
  105. package/docs/ShowResponseMapStringObject.md +23 -0
  106. package/docs/ShowResponseObject.md +23 -0
  107. package/docs/SortItem.md +2 -0
  108. package/docs/SuccessResponseListAppExternalOAuthProviderDTO.md +23 -0
  109. package/docs/SuccessResponseListAppInboundRouteDTO.md +23 -0
  110. package/docs/SuccessResponseListAppScheduleDTO.md +23 -0
  111. package/docs/SuggestAnalyticsWidgetsRequest.md +24 -0
  112. package/docs/Team.md +2 -2
  113. package/docs/TraitsApi.md +272 -0
  114. package/docs/UserRecordResponseDTO.md +1 -1
  115. package/docs/ViewDTO.md +12 -0
  116. package/index.ts +2 -0
  117. package/package.json +1 -1
@@ -0,0 +1,20 @@
1
+ # AppOAuthStartResponseDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **authorizeUrl** | **string** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { AppOAuthStartResponseDTO } from '@caraer/client';
14
+
15
+ const instance: AppOAuthStartResponseDTO = {
16
+ authorizeUrl,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -21,7 +21,7 @@ Name | Type | Description | Notes
21
21
  **reviewedAt** | **number** | Timestamp when review was completed | [optional] [default to undefined]
22
22
  **publishedAt** | **number** | Timestamp when app went live in marketplace | [optional] [default to undefined]
23
23
  **feedback** | **string** | Feedback shown to developer (e.g. rejection reason) | [optional] [default to undefined]
24
- **reviewerNotes** | **string** | Internal reviewer notes (admin only, not exposed to developer) | [optional] [default to undefined]
24
+ **reviewerNotes** | **string** | Internal reviewer notes. Only returned for SUPER_ADMIN callers; never exposed to app creators. | [optional] [default to undefined]
25
25
 
26
26
  ## Example
27
27
 
@@ -0,0 +1,47 @@
1
+ # AppScheduleDTO
2
+
3
+ App schedule definition (cron → function)
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **uuid** | **string** | Unique identifier for the entity | [default to undefined]
10
+ **name** | **string** | The name of the entity | [default to undefined]
11
+ **label** | **string** | Display label for the entity, can be different from name | [optional] [default to undefined]
12
+ **createdAt** | **number** | Unix timestamp when the entity was created | [optional] [default to undefined]
13
+ **createdBy** | [**ModelRecord**](ModelRecord.md) | Identifier of the user who created the entity | [optional] [default to undefined]
14
+ **updatedAt** | **number** | Unix timestamp when the entity was last updated | [optional] [default to undefined]
15
+ **updatedBy** | [**ModelRecord**](ModelRecord.md) | Identifier of the user who last updated the entity | [optional] [default to undefined]
16
+ **deletedAt** | **number** | Unix timestamp when the entity was deleted (null if not deleted) | [optional] [default to undefined]
17
+ **deletedBy** | [**ModelRecord**](ModelRecord.md) | Identifier of the user who deleted the entity | [optional] [default to undefined]
18
+ **index** | **number** | Index number for ordering entities | [optional] [default to undefined]
19
+ **schedule** | **string** | | [optional] [default to undefined]
20
+ **enabled** | **boolean** | | [optional] [default to undefined]
21
+ **payloadTemplate** | **string** | | [optional] [default to undefined]
22
+ **serverlessFunction** | [**ServerlessFunctionRefDTO**](ServerlessFunctionRefDTO.md) | | [optional] [default to undefined]
23
+
24
+ ## Example
25
+
26
+ ```typescript
27
+ import { AppScheduleDTO } from '@caraer/client';
28
+
29
+ const instance: AppScheduleDTO = {
30
+ uuid,
31
+ name,
32
+ label,
33
+ createdAt,
34
+ createdBy,
35
+ updatedAt,
36
+ updatedBy,
37
+ deletedAt,
38
+ deletedBy,
39
+ index,
40
+ schedule,
41
+ enabled,
42
+ payloadTemplate,
43
+ serverlessFunction,
44
+ };
45
+ ```
46
+
47
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -15,7 +15,9 @@ Name | Type | Description | Notes
15
15
  **defaultValue** | **any** | | [optional] [default to undefined]
16
16
  **hidden** | **boolean** | | [optional] [default to undefined]
17
17
  **value** | **any** | | [optional] [default to undefined]
18
+ **hasValue** | **boolean** | | [optional] [default to undefined]
18
19
  **mappingValue** | [**AppSettingFieldMappingStructure**](AppSettingFieldMappingStructure.md) | | [optional] [default to undefined]
20
+ **valueScope** | **string** | | [optional] [default to undefined]
19
21
 
20
22
  ## Example
21
23
 
@@ -33,7 +35,9 @@ const instance: AppSettingFieldSchema = {
33
35
  defaultValue,
34
36
  hidden,
35
37
  value,
38
+ hasValue,
36
39
  mappingValue,
40
+ valueScope,
37
41
  };
38
42
  ```
39
43
 
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **type** | **string** | | [optional] [default to undefined]
9
9
  **serverlessFunctionUuid** | **string** | | [optional] [default to undefined]
10
+ **serverlessFunctionName** | **string** | | [optional] [default to undefined]
10
11
  **dependsOn** | **Array<string>** | | [optional] [default to undefined]
11
12
  **searchable** | **boolean** | | [optional] [default to undefined]
12
13
  **minQueryLength** | **number** | | [optional] [default to undefined]
@@ -19,6 +20,7 @@ import { AppSettingOptionsSource } from '@caraer/client';
19
20
  const instance: AppSettingOptionsSource = {
20
21
  type,
21
22
  serverlessFunctionUuid,
23
+ serverlessFunctionName,
22
24
  dependsOn,
23
25
  searchable,
24
26
  minQueryLength,
@@ -9,19 +9,23 @@ All URIs are relative to *https://v2.api.caraer.com*
9
9
  |[**createPublicApp**](#createpublicapp) | **POST** /api/v2/apps/public | Create a public app|
10
10
  |[**deleteAppWebhook**](#deleteappwebhook) | **DELETE** /api/v2/apps/{appUuid}/webhooks/{webhookUuid} | Delete a webhook for an app|
11
11
  |[**getApp**](#getapp) | **GET** /api/v2/apps/{uuid} | Retrieve application details by UUID|
12
+ |[**getAppWebhook**](#getappwebhook) | **GET** /api/v2/apps/{appUuid}/webhooks/{webhookUuid} | Get a webhook for an app|
12
13
  |[**getAppWebhooks**](#getappwebhooks) | **POST** /api/v2/apps/{appUuid}/webhooks/index | Retrieve a paginated list of webhooks for an app|
13
14
  |[**getApps**](#getapps) | **POST** /api/v2/apps/index | Retrieve a paginated list of applications|
14
15
  |[**getCompanyInformation**](#getcompanyinformation) | **GET** /api/v2/apps/{appUuid}/me | Get current user\'s company information|
15
16
  |[**getMyCreatedApps**](#getmycreatedapps) | **POST** /api/v2/apps/my/index | Retrieve apps created by the logged-in user\'s selected company|
16
17
  |[**getPublicApp**](#getpublicapp) | **GET** /api/v2/apps/public/{uuid} | Get a public app (creator view)|
18
+ |[**getRuntimeLogs**](#getruntimelogs) | **GET** /api/v2/apps/{appUuid}/runtime/logs | Get app runtime logs|
17
19
  |[**getWebhookEvents**](#getwebhookevents) | **GET** /api/v2/apps/{appUuid}/webhooks/events | Get available webhook record events|
18
20
  |[**getWebhookFormats**](#getwebhookformats) | **GET** /api/v2/apps/{appUuid}/webhooks/formats | Get available webhook formats|
19
21
  |[**getWebhookPropertyTopics**](#getwebhookpropertytopics) | **GET** /api/v2/apps/{appUuid}/webhooks/property-topics | Get webhook property topic options|
20
22
  |[**installApp**](#installapp) | **POST** /api/v2/apps/{uuid}/install | Install an application|
21
23
  |[**listAppCategories**](#listappcategories) | **GET** /api/v2/apps/categories | List predefined marketplace app categories|
22
24
  |[**loadSettingOptions**](#loadsettingoptions) | **POST** /api/v2/apps/{uuid}/settings-schema/options | Load dynamic options for a setting select field|
25
+ |[**migrateToV2**](#migratetov2) | **POST** /api/v2/apps/{uuid}/migrate-v2 | Migrate an app from platform V1 to V2|
23
26
  |[**reviewPublicApp**](#reviewpublicapp) | **POST** /api/v2/apps/public/{uuid}/review | Review a public app|
24
27
  |[**rotateApp**](#rotateapp) | **POST** /api/v2/apps/{uuid}/rotate | Rotate application configurations|
28
+ |[**streamRuntimeLogs**](#streamruntimelogs) | **GET** /api/v2/apps/{appUuid}/runtime/logs/stream | Stream app runtime logs (SSE)|
25
29
  |[**submitPublicApp**](#submitpublicapp) | **POST** /api/v2/apps/public/{uuid}/submit | Submit a public app for review|
26
30
  |[**testAppWebhook**](#testappwebhook) | **POST** /api/v2/apps/{appUuid}/webhooks/test/{webhookUuid}/{recordUuid}/{eventType} | Test a webhook for an app|
27
31
  |[**testAppWebhookAuto**](#testappwebhookauto) | **POST** /api/v2/apps/{appUuid}/webhooks/test/{webhookUuid} | Test a webhook for an app (auto-resolve)|
@@ -307,6 +311,62 @@ const { status, data } = await apiInstance.getApp(
307
311
 
308
312
  [[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)
309
313
 
314
+ # **getAppWebhook**
315
+ > ShowResponse getAppWebhook()
316
+
317
+ Fetches a single webhook that belongs to the specified app.
318
+
319
+ ### Example
320
+
321
+ ```typescript
322
+ import {
323
+ ApplicationsApi,
324
+ Configuration
325
+ } from '@caraer/client';
326
+
327
+ const configuration = new Configuration();
328
+ const apiInstance = new ApplicationsApi(configuration);
329
+
330
+ let appUuid: string; //UUID of the app that owns the webhook (default to undefined)
331
+ let webhookUuid: string; //UUID of the webhook to fetch (default to undefined)
332
+
333
+ const { status, data } = await apiInstance.getAppWebhook(
334
+ appUuid,
335
+ webhookUuid
336
+ );
337
+ ```
338
+
339
+ ### Parameters
340
+
341
+ |Name | Type | Description | Notes|
342
+ |------------- | ------------- | ------------- | -------------|
343
+ | **appUuid** | [**string**] | UUID of the app that owns the webhook | defaults to undefined|
344
+ | **webhookUuid** | [**string**] | UUID of the webhook to fetch | defaults to undefined|
345
+
346
+
347
+ ### Return type
348
+
349
+ **ShowResponse**
350
+
351
+ ### Authorization
352
+
353
+ [bearerAuth](../README.md#bearerAuth)
354
+
355
+ ### HTTP request headers
356
+
357
+ - **Content-Type**: Not defined
358
+ - **Accept**: application/json
359
+
360
+
361
+ ### HTTP response details
362
+ | Status code | Description | Response headers |
363
+ |-------------|-------------|------------------|
364
+ |**200** | Webhook retrieved successfully | - |
365
+ |**404** | Webhook not found for the specified app or company | - |
366
+ |**500** | Internal server error | - |
367
+
368
+ [[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)
369
+
310
370
  # **getAppWebhooks**
311
371
  > PaginationResponse getAppWebhooks(body)
312
372
 
@@ -584,6 +644,64 @@ const { status, data } = await apiInstance.getPublicApp(
584
644
 
585
645
  [[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)
586
646
 
647
+ # **getRuntimeLogs**
648
+ > SuccessResponse getRuntimeLogs()
649
+
650
+ Queries Cloud Logging for the shared V2 app container (app-{uuid}) without filtering to a single function.
651
+
652
+ ### Example
653
+
654
+ ```typescript
655
+ import {
656
+ ApplicationsApi,
657
+ Configuration
658
+ } from '@caraer/client';
659
+
660
+ const configuration = new Configuration();
661
+ const apiInstance = new ApplicationsApi(configuration);
662
+
663
+ let appUuid: string; //UUID of the app (default to undefined)
664
+ let since: string; //Lookback window, e.g. 15m, 1h, 24h (optional) (default to '1h')
665
+ let limit: number; //Maximum number of log entries to return (optional) (default to 100)
666
+
667
+ const { status, data } = await apiInstance.getRuntimeLogs(
668
+ appUuid,
669
+ since,
670
+ limit
671
+ );
672
+ ```
673
+
674
+ ### Parameters
675
+
676
+ |Name | Type | Description | Notes|
677
+ |------------- | ------------- | ------------- | -------------|
678
+ | **appUuid** | [**string**] | UUID of the app | defaults to undefined|
679
+ | **since** | [**string**] | Lookback window, e.g. 15m, 1h, 24h | (optional) defaults to '1h'|
680
+ | **limit** | [**number**] | Maximum number of log entries to return | (optional) defaults to 100|
681
+
682
+
683
+ ### Return type
684
+
685
+ **SuccessResponse**
686
+
687
+ ### Authorization
688
+
689
+ [bearerAuth](../README.md#bearerAuth)
690
+
691
+ ### HTTP request headers
692
+
693
+ - **Content-Type**: Not defined
694
+ - **Accept**: application/json
695
+
696
+
697
+ ### HTTP response details
698
+ | Status code | Description | Response headers |
699
+ |-------------|-------------|------------------|
700
+ |**200** | Successfully retrieved logs (may be empty if logging is unavailable) | - |
701
+ |**404** | App not found | - |
702
+
703
+ [[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)
704
+
587
705
  # **getWebhookEvents**
588
706
  > getWebhookEvents()
589
707
 
@@ -900,6 +1018,64 @@ const { status, data } = await apiInstance.loadSettingOptions(
900
1018
 
901
1019
  [[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)
902
1020
 
1021
+ # **migrateToV2**
1022
+ > SuccessResponse migrateToV2()
1023
+
1024
+ Opt-in in-place migration to the shared container runtime. Validates a single runtime, sets platformVersion=2, schedules an async rebuild, and keeps invoking via legacy gcpReference until runtimeStatus is READY.
1025
+
1026
+ ### Example
1027
+
1028
+ ```typescript
1029
+ import {
1030
+ ApplicationsApi,
1031
+ Configuration,
1032
+ MigrateAppToV2Request
1033
+ } from '@caraer/client';
1034
+
1035
+ const configuration = new Configuration();
1036
+ const apiInstance = new ApplicationsApi(configuration);
1037
+
1038
+ let uuid: string; //UUID of the app to migrate (default to undefined)
1039
+ let migrateAppToV2Request: MigrateAppToV2Request; // (optional)
1040
+
1041
+ const { status, data } = await apiInstance.migrateToV2(
1042
+ uuid,
1043
+ migrateAppToV2Request
1044
+ );
1045
+ ```
1046
+
1047
+ ### Parameters
1048
+
1049
+ |Name | Type | Description | Notes|
1050
+ |------------- | ------------- | ------------- | -------------|
1051
+ | **migrateAppToV2Request** | **MigrateAppToV2Request**| | |
1052
+ | **uuid** | [**string**] | UUID of the app to migrate | defaults to undefined|
1053
+
1054
+
1055
+ ### Return type
1056
+
1057
+ **SuccessResponse**
1058
+
1059
+ ### Authorization
1060
+
1061
+ [bearerAuth](../README.md#bearerAuth)
1062
+
1063
+ ### HTTP request headers
1064
+
1065
+ - **Content-Type**: application/json
1066
+ - **Accept**: application/json
1067
+
1068
+
1069
+ ### HTTP response details
1070
+ | Status code | Description | Response headers |
1071
+ |-------------|-------------|------------------|
1072
+ |**200** | Migration started or already in progress | - |
1073
+ |**400** | Mixed/missing runtimes or invalid request | - |
1074
+ |**403** | Not allowed to migrate this app | - |
1075
+ |**404** | App not found | - |
1076
+
1077
+ [[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)
1078
+
903
1079
  # **reviewPublicApp**
904
1080
  > ShowResponse reviewPublicApp(reviewRequest)
905
1081
 
@@ -1010,6 +1186,58 @@ const { status, data } = await apiInstance.rotateApp(
1010
1186
 
1011
1187
  [[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)
1012
1188
 
1189
+ # **streamRuntimeLogs**
1190
+ > SseEmitter streamRuntimeLogs()
1191
+
1192
+ Server-Sent Events stream of Cloud Logging entries for the shared V2 app container. Polls every ~2.5s and stops after 5 minutes or client disconnect.
1193
+
1194
+ ### Example
1195
+
1196
+ ```typescript
1197
+ import {
1198
+ ApplicationsApi,
1199
+ Configuration
1200
+ } from '@caraer/client';
1201
+
1202
+ const configuration = new Configuration();
1203
+ const apiInstance = new ApplicationsApi(configuration);
1204
+
1205
+ let appUuid: string; //UUID of the app (default to undefined)
1206
+
1207
+ const { status, data } = await apiInstance.streamRuntimeLogs(
1208
+ appUuid
1209
+ );
1210
+ ```
1211
+
1212
+ ### Parameters
1213
+
1214
+ |Name | Type | Description | Notes|
1215
+ |------------- | ------------- | ------------- | -------------|
1216
+ | **appUuid** | [**string**] | UUID of the app | defaults to undefined|
1217
+
1218
+
1219
+ ### Return type
1220
+
1221
+ **SseEmitter**
1222
+
1223
+ ### Authorization
1224
+
1225
+ [bearerAuth](../README.md#bearerAuth)
1226
+
1227
+ ### HTTP request headers
1228
+
1229
+ - **Content-Type**: Not defined
1230
+ - **Accept**: text/event-stream
1231
+
1232
+
1233
+ ### HTTP response details
1234
+ | Status code | Description | Response headers |
1235
+ |-------------|-------------|------------------|
1236
+ |**200** | SSE stream of log entries | - |
1237
+ |**404** | App not found | - |
1238
+
1239
+ [[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)
1240
+
1013
1241
  # **submitPublicApp**
1014
1242
  > ShowResponse submitPublicApp()
1015
1243
 
@@ -0,0 +1,101 @@
1
+ # BillingApi
2
+
3
+ All URIs are relative to *https://v2.api.caraer.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getStatus**](#getstatus) | **GET** /api/v2/billing/status | Get billing enforcement status|
8
+ |[**sendSetupEmail**](#sendsetupemail) | **POST** /api/v2/billing/setup-email | Send billing setup email|
9
+
10
+ # **getStatus**
11
+ > ShowResponse getStatus()
12
+
13
+ Returns whether the selected company should see no UI, a billing banner, or a non-dismissible lockout, based on Caraer BV CRM billing fields.
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ BillingApi,
20
+ Configuration
21
+ } from '@caraer/client';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new BillingApi(configuration);
25
+
26
+ const { status, data } = await apiInstance.getStatus();
27
+ ```
28
+
29
+ ### Parameters
30
+ This endpoint does not have any parameters.
31
+
32
+
33
+ ### Return type
34
+
35
+ **ShowResponse**
36
+
37
+ ### Authorization
38
+
39
+ [bearerAuth](../README.md#bearerAuth)
40
+
41
+ ### HTTP request headers
42
+
43
+ - **Content-Type**: Not defined
44
+ - **Accept**: application/json
45
+
46
+
47
+ ### HTTP response details
48
+ | Status code | Description | Response headers |
49
+ |-------------|-------------|------------------|
50
+ |**200** | Billing status | - |
51
+ |**401** | Unauthorized | - |
52
+
53
+ [[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)
54
+
55
+ # **sendSetupEmail**
56
+ > ShowResponse sendSetupEmail()
57
+
58
+ Triggers Jortt to email the linked customer a direct-debit authorization payment link.
59
+
60
+ ### Example
61
+
62
+ ```typescript
63
+ import {
64
+ BillingApi,
65
+ Configuration
66
+ } from '@caraer/client';
67
+
68
+ const configuration = new Configuration();
69
+ const apiInstance = new BillingApi(configuration);
70
+
71
+ const { status, data } = await apiInstance.sendSetupEmail();
72
+ ```
73
+
74
+ ### Parameters
75
+ This endpoint does not have any parameters.
76
+
77
+
78
+ ### Return type
79
+
80
+ **ShowResponse**
81
+
82
+ ### Authorization
83
+
84
+ [bearerAuth](../README.md#bearerAuth)
85
+
86
+ ### HTTP request headers
87
+
88
+ - **Content-Type**: Not defined
89
+ - **Accept**: application/json
90
+
91
+
92
+ ### HTTP response details
93
+ | Status code | Description | Response headers |
94
+ |-------------|-------------|------------------|
95
+ |**200** | Email requested | - |
96
+ |**400** | Missing CRM link, Jortt customer id, or already accepted | - |
97
+ |**401** | Unauthorized | - |
98
+ |**503** | Jortt or CRM not configured | - |
99
+
100
+ [[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)
101
+
@@ -0,0 +1,21 @@
1
+ # BulkDeleteRecordsData
2
+
3
+ Payload of a bulk delete records response.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **uuids** | **Array<string>** | UUIDs that were successfully deleted. | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BulkDeleteRecordsData } from '@caraer/client';
15
+
16
+ const instance: BulkDeleteRecordsData = {
17
+ uuids,
18
+ };
19
+ ```
20
+
21
+ [[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,23 @@
1
+ # BulkDeleteRecordsRequest
2
+
3
+ Request to archive, anonymize, or permanently delete multiple records.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **uuids** | **Array<string>** | Record UUIDs to delete. | [default to undefined]
10
+ **mode** | **string** | Deletion mode: \'archive\', \'anonymize\', or \'delete\'. | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { BulkDeleteRecordsRequest } from '@caraer/client';
16
+
17
+ const instance: BulkDeleteRecordsRequest = {
18
+ uuids,
19
+ mode,
20
+ };
21
+ ```
22
+
23
+ [[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,25 @@
1
+ # BulkDeleteRecordsResponse
2
+
3
+ Response for a bulk delete records operation.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **message** | **string** | Result message. | [optional] [default to undefined]
10
+ **data** | [**BulkDeleteRecordsData**](BulkDeleteRecordsData.md) | Successfully deleted record UUIDs. | [optional] [default to undefined]
11
+ **errors** | [**Array<BulkEditRecordErrorItem>**](BulkEditRecordErrorItem.md) | Per-record errors when one or more items failed. | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { BulkDeleteRecordsResponse } from '@caraer/client';
17
+
18
+ const instance: BulkDeleteRecordsResponse = {
19
+ message,
20
+ data,
21
+ errors,
22
+ };
23
+ ```
24
+
25
+ [[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,27 @@
1
+ # BulkEditRecordErrorItem
2
+
3
+ Validation or processing errors for a single record in a bulk edit operation.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **uuid** | **string** | UUID of the record that failed, if known. | [optional] [default to undefined]
10
+ **clientRef** | **string** | Client reference echoed from the request, if provided. | [optional] [default to undefined]
11
+ **message** | **string** | Summary message for this record\'s failure. | [optional] [default to undefined]
12
+ **errors** | [**Array<CaraerErrorType>**](CaraerErrorType.md) | Field-level validation errors. | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { BulkEditRecordErrorItem } from '@caraer/client';
18
+
19
+ const instance: BulkEditRecordErrorItem = {
20
+ uuid,
21
+ clientRef,
22
+ message,
23
+ errors,
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,25 @@
1
+ # BulkEditRecordItem
2
+
3
+ A single record to create or update in a bulk edit request.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **uuid** | **string** | UUID of an existing record to update. Omit to create a new record. | [optional] [default to undefined]
10
+ **clientRef** | **string** | Client-side reference for matching the item back after create (e.g. row-3). | [optional] [default to undefined]
11
+ **properties** | **{ [key: string]: any | null; }** | Property values to set on the record. | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { BulkEditRecordItem } from '@caraer/client';
17
+
18
+ const instance: BulkEditRecordItem = {
19
+ uuid,
20
+ clientRef,
21
+ properties,
22
+ };
23
+ ```
24
+
25
+ [[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,25 @@
1
+ # BulkEditRecordResultItem
2
+
3
+ A successfully saved record from a bulk edit operation.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **uuid** | **string** | UUID of the saved record. | [optional] [default to undefined]
10
+ **clientRef** | **string** | Client reference echoed from the request, if provided. | [optional] [default to undefined]
11
+ **created** | **boolean** | True when the record was created; false when updated. | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { BulkEditRecordResultItem } from '@caraer/client';
17
+
18
+ const instance: BulkEditRecordResultItem = {
19
+ uuid,
20
+ clientRef,
21
+ created,
22
+ };
23
+ ```
24
+
25
+ [[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,21 @@
1
+ # BulkEditRecordsData
2
+
3
+ Payload of a bulk edit records response.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **records** | [**Array<BulkEditRecordResultItem>**](BulkEditRecordResultItem.md) | Successfully saved records. | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BulkEditRecordsData } from '@caraer/client';
15
+
16
+ const instance: BulkEditRecordsData = {
17
+ records,
18
+ };
19
+ ```
20
+
21
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)