@caraer/client 2.0.347
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 +189 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +5 -0
- package/LICENSE +21 -0
- package/README.md +25 -0
- package/api.ts +21719 -0
- package/base.ts +62 -0
- package/common.ts +127 -0
- package/configuration.ts +121 -0
- package/dist/api.d.ts +12770 -0
- package/dist/api.js +15923 -0
- package/dist/base.d.ts +42 -0
- package/dist/base.js +46 -0
- package/dist/common.d.ts +34 -0
- package/dist/common.js +139 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +44 -0
- package/dist/esm/api.d.ts +12770 -0
- package/dist/esm/api.js +15835 -0
- package/dist/esm/base.d.ts +42 -0
- package/dist/esm/base.js +41 -0
- package/dist/esm/common.d.ts +34 -0
- package/dist/esm/common.js +126 -0
- package/dist/esm/configuration.d.ts +98 -0
- package/dist/esm/configuration.js +40 -0
- package/dist/esm/index.d.ts +13 -0
- package/dist/esm/index.js +15 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +31 -0
- package/docs/AccessGrantTargetDTO.md +25 -0
- package/docs/AppBarDTO.md +55 -0
- package/docs/AppBarIframeSessionRequest.md +29 -0
- package/docs/AppBarIframeSessionValidateRequest.md +21 -0
- package/docs/AppBarIframeSessionsApi.md +119 -0
- package/docs/AppBarTriggerRequest.md +31 -0
- package/docs/AppBarVisibilityEntry.md +22 -0
- package/docs/AppBarsApi.md +130 -0
- package/docs/AppDTO.md +101 -0
- package/docs/AppDetailsDTO.md +63 -0
- package/docs/AppPricingDTO.md +55 -0
- package/docs/AppPublishDTO.md +51 -0
- package/docs/AppRequest.md +21 -0
- package/docs/AppSettingFieldMappingStructure.md +22 -0
- package/docs/AppSettingFieldMappingStructureItem.md +32 -0
- package/docs/AppSettingFieldSchema.md +40 -0
- package/docs/AppSettingOptionsSource.md +28 -0
- package/docs/AppTierDTO.md +49 -0
- package/docs/ApplicationsApi.md +1422 -0
- package/docs/AutomationsApi.md +54 -0
- package/docs/BillingSettingsDTO.md +51 -0
- package/docs/CaraerErrorType.md +24 -0
- package/docs/CaraerObjectDTO.md +65 -0
- package/docs/CompanyApi.md +538 -0
- package/docs/CompanyDTO.md +47 -0
- package/docs/CompanyDetailsDTO.md +75 -0
- package/docs/CopyPropertiesToObjectRequest.md +20 -0
- package/docs/CopyPropertyToEnvironmentsRequest.md +28 -0
- package/docs/CreateCompanyRequest.md +29 -0
- package/docs/CreateOrUpdateEnvironmentRequest.md +22 -0
- package/docs/CreatePrivateAppRequest.md +27 -0
- package/docs/CreateResponse.md +23 -0
- package/docs/CreateResponseSignedUrlResultDTO.md +23 -0
- package/docs/CreateSignedUrlRequest.md +20 -0
- package/docs/Currency.md +18 -0
- package/docs/CurrencyRange.md +18 -0
- package/docs/CursorLocation.md +25 -0
- package/docs/CustomFontDTO.md +22 -0
- package/docs/Date.md +18 -0
- package/docs/DeleteResponse.md +23 -0
- package/docs/DeleteResponseString.md +23 -0
- package/docs/DigitalIdentityDTO.md +115 -0
- package/docs/Duration.md +18 -0
- package/docs/Email.md +18 -0
- package/docs/EngagementBatchRequest.md +24 -0
- package/docs/ErrorResponse.md +31 -0
- package/docs/FeedDTO.md +66 -0
- package/docs/FeedsApi.md +58 -0
- package/docs/File.md +18 -0
- package/docs/FileManagementApi.md +228 -0
- package/docs/FilledProperty.md +28 -0
- package/docs/Filter.md +21 -0
- package/docs/FilterApi.md +286 -0
- package/docs/FilterGroup.md +21 -0
- package/docs/FilterItem.md +33 -0
- package/docs/FontVariantDTO.md +24 -0
- package/docs/FormDTO.md +59 -0
- package/docs/FormItemDTO.md +31 -0
- package/docs/FormRelationDTO.md +31 -0
- package/docs/FormWithAiPromptDTO.md +61 -0
- package/docs/FormsApi.md +864 -0
- package/docs/GridItemDTO.md +31 -0
- package/docs/GridItemSettingsDTO.md +49 -0
- package/docs/HasAppDTO.md +37 -0
- package/docs/InstallAppRequest.md +29 -0
- package/docs/Leadscore.md +37 -0
- package/docs/LinkedProperty.md +20 -0
- package/docs/LoadAppSettingOptionsRequest.md +27 -0
- package/docs/LoginRequest.md +22 -0
- package/docs/MappingDTO.md +50 -0
- package/docs/MappingItemDTO.md +46 -0
- package/docs/ModuleApi.md +561 -0
- package/docs/MorphRecordRequest.md +21 -0
- package/docs/MultiLine.md +18 -0
- package/docs/MultiSelect.md +18 -0
- package/docs/MultiValueMapStringString.md +22 -0
- package/docs/NotFoundError.md +42 -0
- package/docs/NotFoundErrorCause.md +24 -0
- package/docs/NotFoundErrorCauseStackTraceInner.md +34 -0
- package/docs/NotificationsApi.md +211 -0
- package/docs/Number.md +18 -0
- package/docs/NumberRange.md +18 -0
- package/docs/ObjectAccessGrantCandidatesDTO.md +25 -0
- package/docs/ObjectAccessGrantRequestDTO.md +25 -0
- package/docs/ObjectAccessGrantSectionDTO.md +25 -0
- package/docs/ObjectsApi.md +878 -0
- package/docs/PageContentDTO.md +73 -0
- package/docs/PageContentSettingsDTO.md +111 -0
- package/docs/PageContentStylingDTO.md +26 -0
- package/docs/PaginationResponse.md +31 -0
- package/docs/PaginationResponsePreviewDTO.md +31 -0
- package/docs/PaginationResponseWebpageAccessGrantDTO.md +31 -0
- package/docs/Phone.md +18 -0
- package/docs/PreviewDTO.md +77 -0
- package/docs/PreviewItemDTO.md +43 -0
- package/docs/PreviewItemSettingsDTO.md +43 -0
- package/docs/PreviewRelatedObjectDTO.md +23 -0
- package/docs/PropertyApi.md +803 -0
- package/docs/PropertyDTO.md +77 -0
- package/docs/PropertyDTOFormat.md +35 -0
- package/docs/PropertyFormat.md +32 -0
- package/docs/PropertyOption.md +30 -0
- package/docs/PublicUserDTO.md +36 -0
- package/docs/Record.md +48 -0
- package/docs/RecordDTO.md +45 -0
- package/docs/RecordRelationRequestDTO.md +33 -0
- package/docs/RecordsApi.md +948 -0
- package/docs/Reference.md +26 -0
- package/docs/RegisterRequest.md +26 -0
- package/docs/RelationDTO.md +47 -0
- package/docs/RelationsApi.md +627 -0
- package/docs/ResetPasswordRequest.md +24 -0
- package/docs/RestoreResponse.md +23 -0
- package/docs/RestoreResponseCaraerObjectDTO.md +23 -0
- package/docs/RestoreResponseSavedFilterDTO.md +23 -0
- package/docs/RestoreResponseTeamDTO.md +23 -0
- package/docs/RestoreResponseViewDTO.md +23 -0
- package/docs/ReviewRequest.md +25 -0
- package/docs/SavePropertyDTO.md +71 -0
- package/docs/SavedFilterDTO.md +45 -0
- package/docs/SendNotificationRequest.md +35 -0
- package/docs/ServerlessFunctionDTO.md +45 -0
- package/docs/ServerlessFunctionsApi.md +298 -0
- package/docs/SettingField.md +40 -0
- package/docs/SettingOption.md +24 -0
- package/docs/ShowItem.md +35 -0
- package/docs/ShowResponse.md +23 -0
- package/docs/ShowResponseObjectAccessGrantCandidatesDTO.md +23 -0
- package/docs/ShowResponseWebpageProtectionInfoDTO.md +23 -0
- package/docs/SignedUrlResultDTO.md +27 -0
- package/docs/SimplePublicCompanyDTO.md +69 -0
- package/docs/SingleCheckbox.md +18 -0
- package/docs/SingleLine.md +18 -0
- package/docs/SingleSelect.md +18 -0
- package/docs/SortItem.md +27 -0
- package/docs/SseEmitter.md +20 -0
- package/docs/Structure.md +18 -0
- package/docs/StyleSetDTO.md +502 -0
- package/docs/SubscribeWebhookDTO.md +79 -0
- package/docs/SuccessResponse.md +23 -0
- package/docs/SuccessResponseString.md +23 -0
- package/docs/SuccessResponseVoid.md +23 -0
- package/docs/SyncApi.md +344 -0
- package/docs/SyncDTO.md +40 -0
- package/docs/Tag.md +18 -0
- package/docs/Team.md +52 -0
- package/docs/TeamDTO.md +48 -0
- package/docs/TemplateWebpageDTO.md +69 -0
- package/docs/TestServerlessFunctionRequest.md +25 -0
- package/docs/TestWebhookRequest.md +27 -0
- package/docs/TrackingEventRequest.md +72 -0
- package/docs/TrackingSessionUpsertRequest.md +22 -0
- package/docs/TraitsApi.md +236 -0
- package/docs/Tuple2LongLong.md +22 -0
- package/docs/UpdateLifecyclePropertiesDTO.md +21 -0
- package/docs/UpdateResponse.md +23 -0
- package/docs/Url.md +18 -0
- package/docs/UsedInResult.md +22 -0
- package/docs/UserRecordResponseDTO.md +47 -0
- package/docs/UserWithCursorLocationDTO.md +33 -0
- package/docs/ValidationError.md +36 -0
- package/docs/ViewDTO.md +72 -0
- package/docs/ViewShareRequest.md +24 -0
- package/docs/ViewsApi.md +412 -0
- package/docs/WebMenuDTO.md +53 -0
- package/docs/WebMenuItem.md +26 -0
- package/docs/WebMenusApi.md +336 -0
- package/docs/WebpageAccessGrantDTO.md +51 -0
- package/docs/WebpageDTO.md +69 -0
- package/docs/WebpageEditingStatusDTO.md +25 -0
- package/docs/WebpageOptionsDTO.md +41 -0
- package/docs/WebpageProtectionInfoDTO.md +27 -0
- package/docs/WebpagePublicRecordDTO.md +25 -0
- package/docs/WebpageUnlockRequest.md +20 -0
- package/docs/WebpagesApi.md +2009 -0
- package/docs/WebsiteSettingsDTO.md +321 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +37 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1,1422 @@
|
|
|
1
|
+
# ApplicationsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://v2.api.caraer.com*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**createAppWebhookForApp**](#createappwebhookforapp) | **POST** /api/v2/apps/{appUuid}/webhooks | Create a webhook for an app (app-scoped path)|
|
|
8
|
+
|[**createPrivateApp**](#createprivateapp) | **POST** /api/v2/apps/private | Create a private app|
|
|
9
|
+
|[**createPublicApp**](#createpublicapp) | **POST** /api/v2/apps/public | Create a public app|
|
|
10
|
+
|[**deleteAppWebhook**](#deleteappwebhook) | **DELETE** /api/v2/apps/{appUuid}/webhooks/{webhookUuid} | Delete a webhook for an app|
|
|
11
|
+
|[**getApp**](#getapp) | **GET** /api/v2/apps/{uuid} | Retrieve application details by UUID|
|
|
12
|
+
|[**getAppWebhooks**](#getappwebhooks) | **POST** /api/v2/apps/{appUuid}/webhooks/index | Retrieve a paginated list of webhooks for an app|
|
|
13
|
+
|[**getApps**](#getapps) | **POST** /api/v2/apps/index | Retrieve a paginated list of applications|
|
|
14
|
+
|[**getCompanyInformation**](#getcompanyinformation) | **GET** /api/v2/apps/{appUuid}/me | Get current user\'s company information|
|
|
15
|
+
|[**getMyCreatedApps**](#getmycreatedapps) | **POST** /api/v2/apps/my/index | Retrieve apps created by the logged-in user\'s selected company|
|
|
16
|
+
|[**getPublicApp**](#getpublicapp) | **GET** /api/v2/apps/public/{uuid} | Get a public app (creator view)|
|
|
17
|
+
|[**getWebhookEvents**](#getwebhookevents) | **GET** /api/v2/apps/{appUuid}/webhooks/events | Get available webhook record events|
|
|
18
|
+
|[**getWebhookFormats**](#getwebhookformats) | **GET** /api/v2/apps/{appUuid}/webhooks/formats | Get available webhook formats|
|
|
19
|
+
|[**getWebhookPropertyTopics**](#getwebhookpropertytopics) | **GET** /api/v2/apps/{appUuid}/webhooks/property-topics | Get webhook property topic options|
|
|
20
|
+
|[**installApp**](#installapp) | **POST** /api/v2/apps/{uuid}/install | Install an application|
|
|
21
|
+
|[**listAppCategories**](#listappcategories) | **GET** /api/v2/apps/categories | List predefined marketplace app categories|
|
|
22
|
+
|[**loadSettingOptions**](#loadsettingoptions) | **POST** /api/v2/apps/{uuid}/settings-schema/options | Load dynamic options for a setting select field|
|
|
23
|
+
|[**reviewPublicApp**](#reviewpublicapp) | **POST** /api/v2/apps/public/{uuid}/review | Review a public app|
|
|
24
|
+
|[**rotateApp**](#rotateapp) | **POST** /api/v2/apps/{uuid}/rotate | Rotate application configurations|
|
|
25
|
+
|[**submitPublicApp**](#submitpublicapp) | **POST** /api/v2/apps/public/{uuid}/submit | Submit a public app for review|
|
|
26
|
+
|[**testAppWebhook**](#testappwebhook) | **POST** /api/v2/apps/{appUuid}/webhooks/test/{webhookUuid}/{recordUuid}/{eventType} | Test a webhook for an app|
|
|
27
|
+
|[**testAppWebhookAuto**](#testappwebhookauto) | **POST** /api/v2/apps/{appUuid}/webhooks/test/{webhookUuid} | Test a webhook for an app (auto-resolve)|
|
|
28
|
+
|[**testAppWebhookUnsaved**](#testappwebhookunsaved) | **POST** /api/v2/apps/{appUuid}/webhooks/test | Test an unsaved webhook for an app|
|
|
29
|
+
|[**uninstallApp**](#uninstallapp) | **POST** /api/v2/apps/{uuid}/uninstall | Uninstall an application|
|
|
30
|
+
|[**updateAppWebhookForApp**](#updateappwebhookforapp) | **PUT** /api/v2/apps/{appUuid}/webhooks/{webhookUuid} | Update a webhook for an app|
|
|
31
|
+
|[**updatePublicApp**](#updatepublicapp) | **PUT** /api/v2/apps/public/{uuid} | Update a public app (creator edit)|
|
|
32
|
+
|
|
33
|
+
# **createAppWebhookForApp**
|
|
34
|
+
> CreateResponse createAppWebhookForApp(subscribeWebhookDTO)
|
|
35
|
+
|
|
36
|
+
Creates a new webhook for the specified app using normal bearer authentication. The app must be installed for the authenticated user\'s selected company. This endpoint is an app-scoped equivalent of the generic webhook creation endpoint.
|
|
37
|
+
|
|
38
|
+
### Example
|
|
39
|
+
|
|
40
|
+
```typescript
|
|
41
|
+
import {
|
|
42
|
+
ApplicationsApi,
|
|
43
|
+
Configuration,
|
|
44
|
+
SubscribeWebhookDTO
|
|
45
|
+
} from '@caraer/client';
|
|
46
|
+
|
|
47
|
+
const configuration = new Configuration();
|
|
48
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
49
|
+
|
|
50
|
+
let appUuid: string; //UUID of the app to create the webhook for (default to undefined)
|
|
51
|
+
let subscribeWebhookDTO: SubscribeWebhookDTO; //Webhook details
|
|
52
|
+
|
|
53
|
+
const { status, data } = await apiInstance.createAppWebhookForApp(
|
|
54
|
+
appUuid,
|
|
55
|
+
subscribeWebhookDTO
|
|
56
|
+
);
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Parameters
|
|
60
|
+
|
|
61
|
+
|Name | Type | Description | Notes|
|
|
62
|
+
|------------- | ------------- | ------------- | -------------|
|
|
63
|
+
| **subscribeWebhookDTO** | **SubscribeWebhookDTO**| Webhook details | |
|
|
64
|
+
| **appUuid** | [**string**] | UUID of the app to create the webhook for | defaults to undefined|
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
### Return type
|
|
68
|
+
|
|
69
|
+
**CreateResponse**
|
|
70
|
+
|
|
71
|
+
### Authorization
|
|
72
|
+
|
|
73
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
74
|
+
|
|
75
|
+
### HTTP request headers
|
|
76
|
+
|
|
77
|
+
- **Content-Type**: application/json
|
|
78
|
+
- **Accept**: application/json
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
### HTTP response details
|
|
82
|
+
| Status code | Description | Response headers |
|
|
83
|
+
|-------------|-------------|------------------|
|
|
84
|
+
|**200** | Webhook created successfully | - |
|
|
85
|
+
|**400** | Invalid input provided or app not installed | - |
|
|
86
|
+
|**404** | App not found | - |
|
|
87
|
+
|**500** | Internal server error | - |
|
|
88
|
+
|
|
89
|
+
[[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)
|
|
90
|
+
|
|
91
|
+
# **createPrivateApp**
|
|
92
|
+
> CreateResponse createPrivateApp(createPrivateAppRequest)
|
|
93
|
+
|
|
94
|
+
Creates a new private app with the provided label and optional description. Private apps are automatically installed for the creating user\'s company. Returns the created app details as a CreateResponse wrapping an AppDTO.
|
|
95
|
+
|
|
96
|
+
### Example
|
|
97
|
+
|
|
98
|
+
```typescript
|
|
99
|
+
import {
|
|
100
|
+
ApplicationsApi,
|
|
101
|
+
Configuration,
|
|
102
|
+
CreatePrivateAppRequest
|
|
103
|
+
} from '@caraer/client';
|
|
104
|
+
|
|
105
|
+
const configuration = new Configuration();
|
|
106
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
107
|
+
|
|
108
|
+
let createPrivateAppRequest: CreatePrivateAppRequest; //
|
|
109
|
+
|
|
110
|
+
const { status, data } = await apiInstance.createPrivateApp(
|
|
111
|
+
createPrivateAppRequest
|
|
112
|
+
);
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Parameters
|
|
116
|
+
|
|
117
|
+
|Name | Type | Description | Notes|
|
|
118
|
+
|------------- | ------------- | ------------- | -------------|
|
|
119
|
+
| **createPrivateAppRequest** | **CreatePrivateAppRequest**| | |
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
### Return type
|
|
123
|
+
|
|
124
|
+
**CreateResponse**
|
|
125
|
+
|
|
126
|
+
### Authorization
|
|
127
|
+
|
|
128
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
129
|
+
|
|
130
|
+
### HTTP request headers
|
|
131
|
+
|
|
132
|
+
- **Content-Type**: application/json
|
|
133
|
+
- **Accept**: application/json
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
### HTTP response details
|
|
137
|
+
| Status code | Description | Response headers |
|
|
138
|
+
|-------------|-------------|------------------|
|
|
139
|
+
|**200** | Successfully created the private app | - |
|
|
140
|
+
|**400** | Invalid request data | - |
|
|
141
|
+
|**401** | Unauthorized access | - |
|
|
142
|
+
|**500** | Internal server error | - |
|
|
143
|
+
|
|
144
|
+
[[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)
|
|
145
|
+
|
|
146
|
+
# **createPublicApp**
|
|
147
|
+
> CreateResponse createPublicApp(appDTO)
|
|
148
|
+
|
|
149
|
+
Creates a new public app with the provided label and optional description. Public apps are automatically published for the creating user\'s company. Returns the created app details as a CreateResponse wrapping an AppDTO.
|
|
150
|
+
|
|
151
|
+
### Example
|
|
152
|
+
|
|
153
|
+
```typescript
|
|
154
|
+
import {
|
|
155
|
+
ApplicationsApi,
|
|
156
|
+
Configuration,
|
|
157
|
+
AppDTO
|
|
158
|
+
} from '@caraer/client';
|
|
159
|
+
|
|
160
|
+
const configuration = new Configuration();
|
|
161
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
162
|
+
|
|
163
|
+
let appDTO: AppDTO; //
|
|
164
|
+
|
|
165
|
+
const { status, data } = await apiInstance.createPublicApp(
|
|
166
|
+
appDTO
|
|
167
|
+
);
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### Parameters
|
|
171
|
+
|
|
172
|
+
|Name | Type | Description | Notes|
|
|
173
|
+
|------------- | ------------- | ------------- | -------------|
|
|
174
|
+
| **appDTO** | **AppDTO**| | |
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
### Return type
|
|
178
|
+
|
|
179
|
+
**CreateResponse**
|
|
180
|
+
|
|
181
|
+
### Authorization
|
|
182
|
+
|
|
183
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
184
|
+
|
|
185
|
+
### HTTP request headers
|
|
186
|
+
|
|
187
|
+
- **Content-Type**: application/json
|
|
188
|
+
- **Accept**: application/json
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
### HTTP response details
|
|
192
|
+
| Status code | Description | Response headers |
|
|
193
|
+
|-------------|-------------|------------------|
|
|
194
|
+
|**200** | Successfully created the public app | - |
|
|
195
|
+
|**400** | Invalid request data | - |
|
|
196
|
+
|**401** | Unauthorized access | - |
|
|
197
|
+
|**500** | Internal server error | - |
|
|
198
|
+
|
|
199
|
+
[[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)
|
|
200
|
+
|
|
201
|
+
# **deleteAppWebhook**
|
|
202
|
+
> DeleteResponse deleteAppWebhook()
|
|
203
|
+
|
|
204
|
+
Deletes a webhook that belongs to the specified app and the authenticated user\'s selected company.
|
|
205
|
+
|
|
206
|
+
### Example
|
|
207
|
+
|
|
208
|
+
```typescript
|
|
209
|
+
import {
|
|
210
|
+
ApplicationsApi,
|
|
211
|
+
Configuration
|
|
212
|
+
} from '@caraer/client';
|
|
213
|
+
|
|
214
|
+
const configuration = new Configuration();
|
|
215
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
216
|
+
|
|
217
|
+
let appUuid: string; //UUID of the app that owns the webhook (default to undefined)
|
|
218
|
+
let webhookUuid: string; //UUID of the webhook to delete (default to undefined)
|
|
219
|
+
|
|
220
|
+
const { status, data } = await apiInstance.deleteAppWebhook(
|
|
221
|
+
appUuid,
|
|
222
|
+
webhookUuid
|
|
223
|
+
);
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### Parameters
|
|
227
|
+
|
|
228
|
+
|Name | Type | Description | Notes|
|
|
229
|
+
|------------- | ------------- | ------------- | -------------|
|
|
230
|
+
| **appUuid** | [**string**] | UUID of the app that owns the webhook | defaults to undefined|
|
|
231
|
+
| **webhookUuid** | [**string**] | UUID of the webhook to delete | defaults to undefined|
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
### Return type
|
|
235
|
+
|
|
236
|
+
**DeleteResponse**
|
|
237
|
+
|
|
238
|
+
### Authorization
|
|
239
|
+
|
|
240
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
241
|
+
|
|
242
|
+
### HTTP request headers
|
|
243
|
+
|
|
244
|
+
- **Content-Type**: Not defined
|
|
245
|
+
- **Accept**: application/json
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
### HTTP response details
|
|
249
|
+
| Status code | Description | Response headers |
|
|
250
|
+
|-------------|-------------|------------------|
|
|
251
|
+
|**200** | Webhook deleted successfully | - |
|
|
252
|
+
|**404** | Webhook not found for the specified app or company | - |
|
|
253
|
+
|**500** | Internal server error | - |
|
|
254
|
+
|
|
255
|
+
[[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)
|
|
256
|
+
|
|
257
|
+
# **getApp**
|
|
258
|
+
> ShowResponse getApp()
|
|
259
|
+
|
|
260
|
+
Fetches details about an application specified by its UUID. Returns the application details as a ShowResponse wrapping an AppDetailDTO.
|
|
261
|
+
|
|
262
|
+
### Example
|
|
263
|
+
|
|
264
|
+
```typescript
|
|
265
|
+
import {
|
|
266
|
+
ApplicationsApi,
|
|
267
|
+
Configuration
|
|
268
|
+
} from '@caraer/client';
|
|
269
|
+
|
|
270
|
+
const configuration = new Configuration();
|
|
271
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
272
|
+
|
|
273
|
+
let uuid: string; //UUID of the application to retrieve (default to undefined)
|
|
274
|
+
|
|
275
|
+
const { status, data } = await apiInstance.getApp(
|
|
276
|
+
uuid
|
|
277
|
+
);
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
### Parameters
|
|
281
|
+
|
|
282
|
+
|Name | Type | Description | Notes|
|
|
283
|
+
|------------- | ------------- | ------------- | -------------|
|
|
284
|
+
| **uuid** | [**string**] | UUID of the application to retrieve | defaults to undefined|
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
### Return type
|
|
288
|
+
|
|
289
|
+
**ShowResponse**
|
|
290
|
+
|
|
291
|
+
### Authorization
|
|
292
|
+
|
|
293
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
294
|
+
|
|
295
|
+
### HTTP request headers
|
|
296
|
+
|
|
297
|
+
- **Content-Type**: Not defined
|
|
298
|
+
- **Accept**: application/json
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
### HTTP response details
|
|
302
|
+
| Status code | Description | Response headers |
|
|
303
|
+
|-------------|-------------|------------------|
|
|
304
|
+
|**200** | Successfully retrieved application details | - |
|
|
305
|
+
|**404** | Application not found | - |
|
|
306
|
+
|**500** | Internal server error | - |
|
|
307
|
+
|
|
308
|
+
[[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
|
+
|
|
310
|
+
# **getAppWebhooks**
|
|
311
|
+
> PaginationResponse getAppWebhooks(body)
|
|
312
|
+
|
|
313
|
+
Fetches a paginated and optionally filtered list of webhooks associated with the specified app and the authenticated user\'s selected company.
|
|
314
|
+
|
|
315
|
+
### Example
|
|
316
|
+
|
|
317
|
+
```typescript
|
|
318
|
+
import {
|
|
319
|
+
ApplicationsApi,
|
|
320
|
+
Configuration
|
|
321
|
+
} from '@caraer/client';
|
|
322
|
+
|
|
323
|
+
const configuration = new Configuration();
|
|
324
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
325
|
+
|
|
326
|
+
let appUuid: string; //UUID of the application for which to retrieve webhooks (default to undefined)
|
|
327
|
+
let body: any; //
|
|
328
|
+
|
|
329
|
+
const { status, data } = await apiInstance.getAppWebhooks(
|
|
330
|
+
appUuid,
|
|
331
|
+
body
|
|
332
|
+
);
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
### Parameters
|
|
336
|
+
|
|
337
|
+
|Name | Type | Description | Notes|
|
|
338
|
+
|------------- | ------------- | ------------- | -------------|
|
|
339
|
+
| **body** | **any**| | |
|
|
340
|
+
| **appUuid** | [**string**] | UUID of the application for which to retrieve webhooks | defaults to undefined|
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
### Return type
|
|
344
|
+
|
|
345
|
+
**PaginationResponse**
|
|
346
|
+
|
|
347
|
+
### Authorization
|
|
348
|
+
|
|
349
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
350
|
+
|
|
351
|
+
### HTTP request headers
|
|
352
|
+
|
|
353
|
+
- **Content-Type**: application/json
|
|
354
|
+
- **Accept**: application/json
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
### HTTP response details
|
|
358
|
+
| Status code | Description | Response headers |
|
|
359
|
+
|-------------|-------------|------------------|
|
|
360
|
+
|**200** | Successfully retrieved the list of webhooks for the app | - |
|
|
361
|
+
|**400** | Invalid request data or app not installed for company | - |
|
|
362
|
+
|**401** | Unauthorized access | - |
|
|
363
|
+
|**404** | Application not found | - |
|
|
364
|
+
|**500** | Internal server error | - |
|
|
365
|
+
|
|
366
|
+
[[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)
|
|
367
|
+
|
|
368
|
+
# **getApps**
|
|
369
|
+
> PaginationResponse getApps(body)
|
|
370
|
+
|
|
371
|
+
Fetches a paginated and optionally filtered list of applications. The list is sorted alphabetically by category and name. On success, returns a PaginationResponse containing AppSummaryDTO objects.
|
|
372
|
+
|
|
373
|
+
### Example
|
|
374
|
+
|
|
375
|
+
```typescript
|
|
376
|
+
import {
|
|
377
|
+
ApplicationsApi,
|
|
378
|
+
Configuration
|
|
379
|
+
} from '@caraer/client';
|
|
380
|
+
|
|
381
|
+
const configuration = new Configuration();
|
|
382
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
383
|
+
|
|
384
|
+
let body: any; //
|
|
385
|
+
let type: string; // (optional) (default to '')
|
|
386
|
+
let installedOnly: boolean; // (optional) (default to false)
|
|
387
|
+
|
|
388
|
+
const { status, data } = await apiInstance.getApps(
|
|
389
|
+
body,
|
|
390
|
+
type,
|
|
391
|
+
installedOnly
|
|
392
|
+
);
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
### Parameters
|
|
396
|
+
|
|
397
|
+
|Name | Type | Description | Notes|
|
|
398
|
+
|------------- | ------------- | ------------- | -------------|
|
|
399
|
+
| **body** | **any**| | |
|
|
400
|
+
| **type** | [**string**] | | (optional) defaults to ''|
|
|
401
|
+
| **installedOnly** | [**boolean**] | | (optional) defaults to false|
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
### Return type
|
|
405
|
+
|
|
406
|
+
**PaginationResponse**
|
|
407
|
+
|
|
408
|
+
### Authorization
|
|
409
|
+
|
|
410
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
411
|
+
|
|
412
|
+
### HTTP request headers
|
|
413
|
+
|
|
414
|
+
- **Content-Type**: application/json
|
|
415
|
+
- **Accept**: application/json
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
### HTTP response details
|
|
419
|
+
| Status code | Description | Response headers |
|
|
420
|
+
|-------------|-------------|------------------|
|
|
421
|
+
|**200** | Successfully retrieved the list of applications | - |
|
|
422
|
+
|**400** | Invalid request data | - |
|
|
423
|
+
|**401** | Unauthorized access | - |
|
|
424
|
+
|**500** | Internal server error | - |
|
|
425
|
+
|
|
426
|
+
[[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)
|
|
427
|
+
|
|
428
|
+
# **getCompanyInformation**
|
|
429
|
+
> SimplePublicCompanyDTO getCompanyInformation()
|
|
430
|
+
|
|
431
|
+
Retrieves the company information of the authenticated user. The response includes public details of the user\'s selected company.
|
|
432
|
+
|
|
433
|
+
### Example
|
|
434
|
+
|
|
435
|
+
```typescript
|
|
436
|
+
import {
|
|
437
|
+
ApplicationsApi,
|
|
438
|
+
Configuration
|
|
439
|
+
} from '@caraer/client';
|
|
440
|
+
|
|
441
|
+
const configuration = new Configuration();
|
|
442
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
443
|
+
|
|
444
|
+
let appUuid: string; //UUID of the app to get the company information for (default to undefined)
|
|
445
|
+
|
|
446
|
+
const { status, data } = await apiInstance.getCompanyInformation(
|
|
447
|
+
appUuid
|
|
448
|
+
);
|
|
449
|
+
```
|
|
450
|
+
|
|
451
|
+
### Parameters
|
|
452
|
+
|
|
453
|
+
|Name | Type | Description | Notes|
|
|
454
|
+
|------------- | ------------- | ------------- | -------------|
|
|
455
|
+
| **appUuid** | [**string**] | UUID of the app to get the company information for | defaults to undefined|
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
### Return type
|
|
459
|
+
|
|
460
|
+
**SimplePublicCompanyDTO**
|
|
461
|
+
|
|
462
|
+
### Authorization
|
|
463
|
+
|
|
464
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
465
|
+
|
|
466
|
+
### HTTP request headers
|
|
467
|
+
|
|
468
|
+
- **Content-Type**: Not defined
|
|
469
|
+
- **Accept**: application/json
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
### HTTP response details
|
|
473
|
+
| Status code | Description | Response headers |
|
|
474
|
+
|-------------|-------------|------------------|
|
|
475
|
+
|**200** | Successfully retrieved company information | - |
|
|
476
|
+
|**500** | Internal server error | - |
|
|
477
|
+
|
|
478
|
+
[[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)
|
|
479
|
+
|
|
480
|
+
# **getMyCreatedApps**
|
|
481
|
+
> PaginationResponse getMyCreatedApps(body)
|
|
482
|
+
|
|
483
|
+
Fetches a paginated and optionally filtered list of apps where the selected company is the creator. Returns a PaginationResponse containing AppDTO objects.
|
|
484
|
+
|
|
485
|
+
### Example
|
|
486
|
+
|
|
487
|
+
```typescript
|
|
488
|
+
import {
|
|
489
|
+
ApplicationsApi,
|
|
490
|
+
Configuration
|
|
491
|
+
} from '@caraer/client';
|
|
492
|
+
|
|
493
|
+
const configuration = new Configuration();
|
|
494
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
495
|
+
|
|
496
|
+
let body: any; //
|
|
497
|
+
|
|
498
|
+
const { status, data } = await apiInstance.getMyCreatedApps(
|
|
499
|
+
body
|
|
500
|
+
);
|
|
501
|
+
```
|
|
502
|
+
|
|
503
|
+
### Parameters
|
|
504
|
+
|
|
505
|
+
|Name | Type | Description | Notes|
|
|
506
|
+
|------------- | ------------- | ------------- | -------------|
|
|
507
|
+
| **body** | **any**| | |
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
### Return type
|
|
511
|
+
|
|
512
|
+
**PaginationResponse**
|
|
513
|
+
|
|
514
|
+
### Authorization
|
|
515
|
+
|
|
516
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
517
|
+
|
|
518
|
+
### HTTP request headers
|
|
519
|
+
|
|
520
|
+
- **Content-Type**: application/json
|
|
521
|
+
- **Accept**: application/json
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
### HTTP response details
|
|
525
|
+
| Status code | Description | Response headers |
|
|
526
|
+
|-------------|-------------|------------------|
|
|
527
|
+
|**200** | Successfully retrieved creator apps | - |
|
|
528
|
+
|**400** | Invalid request data | - |
|
|
529
|
+
|**401** | Unauthorized access | - |
|
|
530
|
+
|**500** | Internal server error | - |
|
|
531
|
+
|
|
532
|
+
[[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)
|
|
533
|
+
|
|
534
|
+
# **getPublicApp**
|
|
535
|
+
> ShowResponse getPublicApp()
|
|
536
|
+
|
|
537
|
+
Gets the full app for the creator, including appPublish, appBars, details, and pricing. Returns AppCreatorDTO with everything under App.
|
|
538
|
+
|
|
539
|
+
### Example
|
|
540
|
+
|
|
541
|
+
```typescript
|
|
542
|
+
import {
|
|
543
|
+
ApplicationsApi,
|
|
544
|
+
Configuration
|
|
545
|
+
} from '@caraer/client';
|
|
546
|
+
|
|
547
|
+
const configuration = new Configuration();
|
|
548
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
549
|
+
|
|
550
|
+
let uuid: string; //UUID of the public app to retrieve (default to undefined)
|
|
551
|
+
|
|
552
|
+
const { status, data } = await apiInstance.getPublicApp(
|
|
553
|
+
uuid
|
|
554
|
+
);
|
|
555
|
+
```
|
|
556
|
+
|
|
557
|
+
### Parameters
|
|
558
|
+
|
|
559
|
+
|Name | Type | Description | Notes|
|
|
560
|
+
|------------- | ------------- | ------------- | -------------|
|
|
561
|
+
| **uuid** | [**string**] | UUID of the public app to retrieve | defaults to undefined|
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
### Return type
|
|
565
|
+
|
|
566
|
+
**ShowResponse**
|
|
567
|
+
|
|
568
|
+
### Authorization
|
|
569
|
+
|
|
570
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
571
|
+
|
|
572
|
+
### HTTP request headers
|
|
573
|
+
|
|
574
|
+
- **Content-Type**: Not defined
|
|
575
|
+
- **Accept**: application/json
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
### HTTP response details
|
|
579
|
+
| Status code | Description | Response headers |
|
|
580
|
+
|-------------|-------------|------------------|
|
|
581
|
+
|**200** | Successfully retrieved the public app | - |
|
|
582
|
+
|**404** | Public app not found | - |
|
|
583
|
+
|**500** | Internal server error | - |
|
|
584
|
+
|
|
585
|
+
[[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
|
+
|
|
587
|
+
# **getWebhookEvents**
|
|
588
|
+
> getWebhookEvents()
|
|
589
|
+
|
|
590
|
+
Returns all supported record webhook events with their details.
|
|
591
|
+
|
|
592
|
+
### Example
|
|
593
|
+
|
|
594
|
+
```typescript
|
|
595
|
+
import {
|
|
596
|
+
ApplicationsApi,
|
|
597
|
+
Configuration
|
|
598
|
+
} from '@caraer/client';
|
|
599
|
+
|
|
600
|
+
const configuration = new Configuration();
|
|
601
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
602
|
+
|
|
603
|
+
let appUuid: string; //UUID of the app to get the webhook events for (default to undefined)
|
|
604
|
+
|
|
605
|
+
const { status, data } = await apiInstance.getWebhookEvents(
|
|
606
|
+
appUuid
|
|
607
|
+
);
|
|
608
|
+
```
|
|
609
|
+
|
|
610
|
+
### Parameters
|
|
611
|
+
|
|
612
|
+
|Name | Type | Description | Notes|
|
|
613
|
+
|------------- | ------------- | ------------- | -------------|
|
|
614
|
+
| **appUuid** | [**string**] | UUID of the app to get the webhook events for | defaults to undefined|
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
### Return type
|
|
618
|
+
|
|
619
|
+
void (empty response body)
|
|
620
|
+
|
|
621
|
+
### Authorization
|
|
622
|
+
|
|
623
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
624
|
+
|
|
625
|
+
### HTTP request headers
|
|
626
|
+
|
|
627
|
+
- **Content-Type**: Not defined
|
|
628
|
+
- **Accept**: application/json
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
### HTTP response details
|
|
632
|
+
| Status code | Description | Response headers |
|
|
633
|
+
|-------------|-------------|------------------|
|
|
634
|
+
|**200** | List of available webhook record events | - |
|
|
635
|
+
|
|
636
|
+
[[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)
|
|
637
|
+
|
|
638
|
+
# **getWebhookFormats**
|
|
639
|
+
> getWebhookFormats()
|
|
640
|
+
|
|
641
|
+
Returns all supported webhook payload formats with their details.
|
|
642
|
+
|
|
643
|
+
### Example
|
|
644
|
+
|
|
645
|
+
```typescript
|
|
646
|
+
import {
|
|
647
|
+
ApplicationsApi,
|
|
648
|
+
Configuration
|
|
649
|
+
} from '@caraer/client';
|
|
650
|
+
|
|
651
|
+
const configuration = new Configuration();
|
|
652
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
653
|
+
|
|
654
|
+
let appUuid: string; //UUID of the app to get the webhook formats for (default to undefined)
|
|
655
|
+
|
|
656
|
+
const { status, data } = await apiInstance.getWebhookFormats(
|
|
657
|
+
appUuid
|
|
658
|
+
);
|
|
659
|
+
```
|
|
660
|
+
|
|
661
|
+
### Parameters
|
|
662
|
+
|
|
663
|
+
|Name | Type | Description | Notes|
|
|
664
|
+
|------------- | ------------- | ------------- | -------------|
|
|
665
|
+
| **appUuid** | [**string**] | UUID of the app to get the webhook formats for | defaults to undefined|
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
### Return type
|
|
669
|
+
|
|
670
|
+
void (empty response body)
|
|
671
|
+
|
|
672
|
+
### Authorization
|
|
673
|
+
|
|
674
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
675
|
+
|
|
676
|
+
### HTTP request headers
|
|
677
|
+
|
|
678
|
+
- **Content-Type**: Not defined
|
|
679
|
+
- **Accept**: application/json
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
### HTTP response details
|
|
683
|
+
| Status code | Description | Response headers |
|
|
684
|
+
|-------------|-------------|------------------|
|
|
685
|
+
|**200** | List of available webhook formats | - |
|
|
686
|
+
|
|
687
|
+
[[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)
|
|
688
|
+
|
|
689
|
+
# **getWebhookPropertyTopics**
|
|
690
|
+
> getWebhookPropertyTopics()
|
|
691
|
+
|
|
692
|
+
Returns property names on an object that can be used in 4-part property_changed webhook topics.
|
|
693
|
+
|
|
694
|
+
### Example
|
|
695
|
+
|
|
696
|
+
```typescript
|
|
697
|
+
import {
|
|
698
|
+
ApplicationsApi,
|
|
699
|
+
Configuration
|
|
700
|
+
} from '@caraer/client';
|
|
701
|
+
|
|
702
|
+
const configuration = new Configuration();
|
|
703
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
704
|
+
|
|
705
|
+
let appUuid: string; //UUID of the app (default to undefined)
|
|
706
|
+
let object: string; //Object name (e.g. contact) (default to undefined)
|
|
707
|
+
|
|
708
|
+
const { status, data } = await apiInstance.getWebhookPropertyTopics(
|
|
709
|
+
appUuid,
|
|
710
|
+
object
|
|
711
|
+
);
|
|
712
|
+
```
|
|
713
|
+
|
|
714
|
+
### Parameters
|
|
715
|
+
|
|
716
|
+
|Name | Type | Description | Notes|
|
|
717
|
+
|------------- | ------------- | ------------- | -------------|
|
|
718
|
+
| **appUuid** | [**string**] | UUID of the app | defaults to undefined|
|
|
719
|
+
| **object** | [**string**] | Object name (e.g. contact) | defaults to undefined|
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
### Return type
|
|
723
|
+
|
|
724
|
+
void (empty response body)
|
|
725
|
+
|
|
726
|
+
### Authorization
|
|
727
|
+
|
|
728
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
729
|
+
|
|
730
|
+
### HTTP request headers
|
|
731
|
+
|
|
732
|
+
- **Content-Type**: Not defined
|
|
733
|
+
- **Accept**: application/json
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
### HTTP response details
|
|
737
|
+
| Status code | Description | Response headers |
|
|
738
|
+
|-------------|-------------|------------------|
|
|
739
|
+
|**200** | List of property names | - |
|
|
740
|
+
|
|
741
|
+
[[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)
|
|
742
|
+
|
|
743
|
+
# **installApp**
|
|
744
|
+
> ShowResponse installApp()
|
|
745
|
+
|
|
746
|
+
Installs the application specified by its UUID with optional initial configuration settings. Returns the updated application details as a ShowResponse wrapping an AppDTO.
|
|
747
|
+
|
|
748
|
+
### Example
|
|
749
|
+
|
|
750
|
+
```typescript
|
|
751
|
+
import {
|
|
752
|
+
ApplicationsApi,
|
|
753
|
+
Configuration,
|
|
754
|
+
InstallAppRequest
|
|
755
|
+
} from '@caraer/client';
|
|
756
|
+
|
|
757
|
+
const configuration = new Configuration();
|
|
758
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
759
|
+
|
|
760
|
+
let uuid: string; //UUID of the application to install (default to undefined)
|
|
761
|
+
let installAppRequest: InstallAppRequest; // (optional)
|
|
762
|
+
|
|
763
|
+
const { status, data } = await apiInstance.installApp(
|
|
764
|
+
uuid,
|
|
765
|
+
installAppRequest
|
|
766
|
+
);
|
|
767
|
+
```
|
|
768
|
+
|
|
769
|
+
### Parameters
|
|
770
|
+
|
|
771
|
+
|Name | Type | Description | Notes|
|
|
772
|
+
|------------- | ------------- | ------------- | -------------|
|
|
773
|
+
| **installAppRequest** | **InstallAppRequest**| | |
|
|
774
|
+
| **uuid** | [**string**] | UUID of the application to install | defaults to undefined|
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
### Return type
|
|
778
|
+
|
|
779
|
+
**ShowResponse**
|
|
780
|
+
|
|
781
|
+
### Authorization
|
|
782
|
+
|
|
783
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
784
|
+
|
|
785
|
+
### HTTP request headers
|
|
786
|
+
|
|
787
|
+
- **Content-Type**: application/json
|
|
788
|
+
- **Accept**: application/json
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
### HTTP response details
|
|
792
|
+
| Status code | Description | Response headers |
|
|
793
|
+
|-------------|-------------|------------------|
|
|
794
|
+
|**200** | Successfully installed the application | - |
|
|
795
|
+
|**404** | Application not found | - |
|
|
796
|
+
|**500** | Internal server error | - |
|
|
797
|
+
|
|
798
|
+
[[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)
|
|
799
|
+
|
|
800
|
+
# **listAppCategories**
|
|
801
|
+
> listAppCategories()
|
|
802
|
+
|
|
803
|
+
Returns the allowed category keys and labels for public app marketplace listings.
|
|
804
|
+
|
|
805
|
+
### Example
|
|
806
|
+
|
|
807
|
+
```typescript
|
|
808
|
+
import {
|
|
809
|
+
ApplicationsApi,
|
|
810
|
+
Configuration
|
|
811
|
+
} from '@caraer/client';
|
|
812
|
+
|
|
813
|
+
const configuration = new Configuration();
|
|
814
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
815
|
+
|
|
816
|
+
const { status, data } = await apiInstance.listAppCategories();
|
|
817
|
+
```
|
|
818
|
+
|
|
819
|
+
### Parameters
|
|
820
|
+
This endpoint does not have any parameters.
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
### Return type
|
|
824
|
+
|
|
825
|
+
void (empty response body)
|
|
826
|
+
|
|
827
|
+
### Authorization
|
|
828
|
+
|
|
829
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
830
|
+
|
|
831
|
+
### HTTP request headers
|
|
832
|
+
|
|
833
|
+
- **Content-Type**: Not defined
|
|
834
|
+
- **Accept**: application/json
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
### HTTP response details
|
|
838
|
+
| Status code | Description | Response headers |
|
|
839
|
+
|-------------|-------------|------------------|
|
|
840
|
+
|**200** | Successfully retrieved app categories | - |
|
|
841
|
+
|
|
842
|
+
[[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)
|
|
843
|
+
|
|
844
|
+
# **loadSettingOptions**
|
|
845
|
+
> ShowResponse loadSettingOptions(loadAppSettingOptionsRequest)
|
|
846
|
+
|
|
847
|
+
Invokes the app serverless function configured on the field\'s optionsSource and returns options for SINGLE_SELECT / MULTI_SELECT fields. Uses the draft settingsSchema from the installer UI so credentials entered in other fields are available to the loader.
|
|
848
|
+
|
|
849
|
+
### Example
|
|
850
|
+
|
|
851
|
+
```typescript
|
|
852
|
+
import {
|
|
853
|
+
ApplicationsApi,
|
|
854
|
+
Configuration,
|
|
855
|
+
LoadAppSettingOptionsRequest
|
|
856
|
+
} from '@caraer/client';
|
|
857
|
+
|
|
858
|
+
const configuration = new Configuration();
|
|
859
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
860
|
+
|
|
861
|
+
let uuid: string; //UUID of the application (default to undefined)
|
|
862
|
+
let loadAppSettingOptionsRequest: LoadAppSettingOptionsRequest; //Field name, optional query, and draft settings schema
|
|
863
|
+
|
|
864
|
+
const { status, data } = await apiInstance.loadSettingOptions(
|
|
865
|
+
uuid,
|
|
866
|
+
loadAppSettingOptionsRequest
|
|
867
|
+
);
|
|
868
|
+
```
|
|
869
|
+
|
|
870
|
+
### Parameters
|
|
871
|
+
|
|
872
|
+
|Name | Type | Description | Notes|
|
|
873
|
+
|------------- | ------------- | ------------- | -------------|
|
|
874
|
+
| **loadAppSettingOptionsRequest** | **LoadAppSettingOptionsRequest**| Field name, optional query, and draft settings schema | |
|
|
875
|
+
| **uuid** | [**string**] | UUID of the application | defaults to undefined|
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
### Return type
|
|
879
|
+
|
|
880
|
+
**ShowResponse**
|
|
881
|
+
|
|
882
|
+
### Authorization
|
|
883
|
+
|
|
884
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
885
|
+
|
|
886
|
+
### HTTP request headers
|
|
887
|
+
|
|
888
|
+
- **Content-Type**: application/json
|
|
889
|
+
- **Accept**: application/json
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
### HTTP response details
|
|
893
|
+
| Status code | Description | Response headers |
|
|
894
|
+
|-------------|-------------|------------------|
|
|
895
|
+
|**200** | Options loaded successfully | - |
|
|
896
|
+
|**400** | Invalid request or dependsOn not satisfied | - |
|
|
897
|
+
|**403** | App not accessible | - |
|
|
898
|
+
|**404** | App, field, or serverless function not found | - |
|
|
899
|
+
|**502** | Serverless function failed or returned invalid response | - |
|
|
900
|
+
|
|
901
|
+
[[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
|
+
|
|
903
|
+
# **reviewPublicApp**
|
|
904
|
+
> ShowResponse reviewPublicApp(reviewRequest)
|
|
905
|
+
|
|
906
|
+
Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
907
|
+
|
|
908
|
+
### Example
|
|
909
|
+
|
|
910
|
+
```typescript
|
|
911
|
+
import {
|
|
912
|
+
ApplicationsApi,
|
|
913
|
+
Configuration,
|
|
914
|
+
ReviewRequest
|
|
915
|
+
} from '@caraer/client';
|
|
916
|
+
|
|
917
|
+
const configuration = new Configuration();
|
|
918
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
919
|
+
|
|
920
|
+
let uuid: string; //UUID of the public app to review (default to undefined)
|
|
921
|
+
let reviewRequest: ReviewRequest; //
|
|
922
|
+
|
|
923
|
+
const { status, data } = await apiInstance.reviewPublicApp(
|
|
924
|
+
uuid,
|
|
925
|
+
reviewRequest
|
|
926
|
+
);
|
|
927
|
+
```
|
|
928
|
+
|
|
929
|
+
### Parameters
|
|
930
|
+
|
|
931
|
+
|Name | Type | Description | Notes|
|
|
932
|
+
|------------- | ------------- | ------------- | -------------|
|
|
933
|
+
| **reviewRequest** | **ReviewRequest**| | |
|
|
934
|
+
| **uuid** | [**string**] | UUID of the public app to review | defaults to undefined|
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
### Return type
|
|
938
|
+
|
|
939
|
+
**ShowResponse**
|
|
940
|
+
|
|
941
|
+
### Authorization
|
|
942
|
+
|
|
943
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
944
|
+
|
|
945
|
+
### HTTP request headers
|
|
946
|
+
|
|
947
|
+
- **Content-Type**: application/json
|
|
948
|
+
- **Accept**: application/json
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
### HTTP response details
|
|
952
|
+
| Status code | Description | Response headers |
|
|
953
|
+
|-------------|-------------|------------------|
|
|
954
|
+
|**200** | Successfully reviewed the public app | - |
|
|
955
|
+
|**404** | Public app not found | - |
|
|
956
|
+
|**500** | Internal server error | - |
|
|
957
|
+
|
|
958
|
+
[[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)
|
|
959
|
+
|
|
960
|
+
# **rotateApp**
|
|
961
|
+
> ShowResponse rotateApp()
|
|
962
|
+
|
|
963
|
+
Rotates the configuration or settings for the specified application by UUID. On success, returns the updated application details as a ShowResponse wrapping an AppDTO.
|
|
964
|
+
|
|
965
|
+
### Example
|
|
966
|
+
|
|
967
|
+
```typescript
|
|
968
|
+
import {
|
|
969
|
+
ApplicationsApi,
|
|
970
|
+
Configuration
|
|
971
|
+
} from '@caraer/client';
|
|
972
|
+
|
|
973
|
+
const configuration = new Configuration();
|
|
974
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
975
|
+
|
|
976
|
+
let uuid: string; //UUID of the application to rotate configurations (default to undefined)
|
|
977
|
+
|
|
978
|
+
const { status, data } = await apiInstance.rotateApp(
|
|
979
|
+
uuid
|
|
980
|
+
);
|
|
981
|
+
```
|
|
982
|
+
|
|
983
|
+
### Parameters
|
|
984
|
+
|
|
985
|
+
|Name | Type | Description | Notes|
|
|
986
|
+
|------------- | ------------- | ------------- | -------------|
|
|
987
|
+
| **uuid** | [**string**] | UUID of the application to rotate configurations | defaults to undefined|
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
### Return type
|
|
991
|
+
|
|
992
|
+
**ShowResponse**
|
|
993
|
+
|
|
994
|
+
### Authorization
|
|
995
|
+
|
|
996
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
997
|
+
|
|
998
|
+
### HTTP request headers
|
|
999
|
+
|
|
1000
|
+
- **Content-Type**: Not defined
|
|
1001
|
+
- **Accept**: application/json
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
### HTTP response details
|
|
1005
|
+
| Status code | Description | Response headers |
|
|
1006
|
+
|-------------|-------------|------------------|
|
|
1007
|
+
|**200** | Successfully rotated application configurations | - |
|
|
1008
|
+
|**404** | Application not found | - |
|
|
1009
|
+
|**500** | Internal server error | - |
|
|
1010
|
+
|
|
1011
|
+
[[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
|
+
|
|
1013
|
+
# **submitPublicApp**
|
|
1014
|
+
> ShowResponse submitPublicApp()
|
|
1015
|
+
|
|
1016
|
+
Submits a public app specified by its UUID for review. Returns the submitted app details as a ShowResponse wrapping an AppDTO.
|
|
1017
|
+
|
|
1018
|
+
### Example
|
|
1019
|
+
|
|
1020
|
+
```typescript
|
|
1021
|
+
import {
|
|
1022
|
+
ApplicationsApi,
|
|
1023
|
+
Configuration
|
|
1024
|
+
} from '@caraer/client';
|
|
1025
|
+
|
|
1026
|
+
const configuration = new Configuration();
|
|
1027
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
1028
|
+
|
|
1029
|
+
let uuid: string; //UUID of the public app to submit for review (default to undefined)
|
|
1030
|
+
|
|
1031
|
+
const { status, data } = await apiInstance.submitPublicApp(
|
|
1032
|
+
uuid
|
|
1033
|
+
);
|
|
1034
|
+
```
|
|
1035
|
+
|
|
1036
|
+
### Parameters
|
|
1037
|
+
|
|
1038
|
+
|Name | Type | Description | Notes|
|
|
1039
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1040
|
+
| **uuid** | [**string**] | UUID of the public app to submit for review | defaults to undefined|
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
### Return type
|
|
1044
|
+
|
|
1045
|
+
**ShowResponse**
|
|
1046
|
+
|
|
1047
|
+
### Authorization
|
|
1048
|
+
|
|
1049
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1050
|
+
|
|
1051
|
+
### HTTP request headers
|
|
1052
|
+
|
|
1053
|
+
- **Content-Type**: Not defined
|
|
1054
|
+
- **Accept**: application/json
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
### HTTP response details
|
|
1058
|
+
| Status code | Description | Response headers |
|
|
1059
|
+
|-------------|-------------|------------------|
|
|
1060
|
+
|**200** | Successfully submitted the public app for review | - |
|
|
1061
|
+
|**404** | Public app not found | - |
|
|
1062
|
+
|**500** | Internal server error | - |
|
|
1063
|
+
|
|
1064
|
+
[[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)
|
|
1065
|
+
|
|
1066
|
+
# **testAppWebhook**
|
|
1067
|
+
> testAppWebhook()
|
|
1068
|
+
|
|
1069
|
+
Generates a test webhook payload for a specific record and event type. Uses the same payload generation logic as live webhook delivery.
|
|
1070
|
+
|
|
1071
|
+
### Example
|
|
1072
|
+
|
|
1073
|
+
```typescript
|
|
1074
|
+
import {
|
|
1075
|
+
ApplicationsApi,
|
|
1076
|
+
Configuration
|
|
1077
|
+
} from '@caraer/client';
|
|
1078
|
+
|
|
1079
|
+
const configuration = new Configuration();
|
|
1080
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
1081
|
+
|
|
1082
|
+
let appUuid: string; //UUID of the app that owns the webhook (default to undefined)
|
|
1083
|
+
let webhookUuid: string; //UUID of the webhook to test (default to undefined)
|
|
1084
|
+
let recordUuid: string; //UUID of the record to include in the webhook payload (default to undefined)
|
|
1085
|
+
let eventType: string; //Type of event to simulate. Supported values are the entries returned by /webhooks/events, or property_changed for property webhooks. (default to undefined)
|
|
1086
|
+
let propertyName: string; //Property name when simulating property_changed (optional) (default to undefined)
|
|
1087
|
+
|
|
1088
|
+
const { status, data } = await apiInstance.testAppWebhook(
|
|
1089
|
+
appUuid,
|
|
1090
|
+
webhookUuid,
|
|
1091
|
+
recordUuid,
|
|
1092
|
+
eventType,
|
|
1093
|
+
propertyName
|
|
1094
|
+
);
|
|
1095
|
+
```
|
|
1096
|
+
|
|
1097
|
+
### Parameters
|
|
1098
|
+
|
|
1099
|
+
|Name | Type | Description | Notes|
|
|
1100
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1101
|
+
| **appUuid** | [**string**] | UUID of the app that owns the webhook | defaults to undefined|
|
|
1102
|
+
| **webhookUuid** | [**string**] | UUID of the webhook to test | defaults to undefined|
|
|
1103
|
+
| **recordUuid** | [**string**] | UUID of the record to include in the webhook payload | defaults to undefined|
|
|
1104
|
+
| **eventType** | [**string**] | Type of event to simulate. Supported values are the entries returned by /webhooks/events, or property_changed for property webhooks. | defaults to undefined|
|
|
1105
|
+
| **propertyName** | [**string**] | Property name when simulating property_changed | (optional) defaults to undefined|
|
|
1106
|
+
|
|
1107
|
+
|
|
1108
|
+
### Return type
|
|
1109
|
+
|
|
1110
|
+
void (empty response body)
|
|
1111
|
+
|
|
1112
|
+
### Authorization
|
|
1113
|
+
|
|
1114
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1115
|
+
|
|
1116
|
+
### HTTP request headers
|
|
1117
|
+
|
|
1118
|
+
- **Content-Type**: Not defined
|
|
1119
|
+
- **Accept**: application/json
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
### HTTP response details
|
|
1123
|
+
| Status code | Description | Response headers |
|
|
1124
|
+
|-------------|-------------|------------------|
|
|
1125
|
+
|**200** | Webhook test payload generated successfully | - |
|
|
1126
|
+
|**400** | Invalid event type or app not installed | - |
|
|
1127
|
+
|**404** | Webhook not found for the specified app or company | - |
|
|
1128
|
+
|**500** | Internal server error | - |
|
|
1129
|
+
|
|
1130
|
+
[[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)
|
|
1131
|
+
|
|
1132
|
+
# **testAppWebhookAuto**
|
|
1133
|
+
> testAppWebhookAuto()
|
|
1134
|
+
|
|
1135
|
+
Generates a test webhook payload using the latest updated record for the webhook topic object and the event type from the webhook topic (uses updated when the topic action is all).
|
|
1136
|
+
|
|
1137
|
+
### Example
|
|
1138
|
+
|
|
1139
|
+
```typescript
|
|
1140
|
+
import {
|
|
1141
|
+
ApplicationsApi,
|
|
1142
|
+
Configuration
|
|
1143
|
+
} from '@caraer/client';
|
|
1144
|
+
|
|
1145
|
+
const configuration = new Configuration();
|
|
1146
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
1147
|
+
|
|
1148
|
+
let appUuid: string; //UUID of the app that owns the webhook (default to undefined)
|
|
1149
|
+
let webhookUuid: string; //UUID of the webhook to test (default to undefined)
|
|
1150
|
+
|
|
1151
|
+
const { status, data } = await apiInstance.testAppWebhookAuto(
|
|
1152
|
+
appUuid,
|
|
1153
|
+
webhookUuid
|
|
1154
|
+
);
|
|
1155
|
+
```
|
|
1156
|
+
|
|
1157
|
+
### Parameters
|
|
1158
|
+
|
|
1159
|
+
|Name | Type | Description | Notes|
|
|
1160
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1161
|
+
| **appUuid** | [**string**] | UUID of the app that owns the webhook | defaults to undefined|
|
|
1162
|
+
| **webhookUuid** | [**string**] | UUID of the webhook to test | defaults to undefined|
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
### Return type
|
|
1166
|
+
|
|
1167
|
+
void (empty response body)
|
|
1168
|
+
|
|
1169
|
+
### Authorization
|
|
1170
|
+
|
|
1171
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1172
|
+
|
|
1173
|
+
### HTTP request headers
|
|
1174
|
+
|
|
1175
|
+
- **Content-Type**: Not defined
|
|
1176
|
+
- **Accept**: application/json
|
|
1177
|
+
|
|
1178
|
+
|
|
1179
|
+
### HTTP response details
|
|
1180
|
+
| Status code | Description | Response headers |
|
|
1181
|
+
|-------------|-------------|------------------|
|
|
1182
|
+
|**200** | Webhook test payload generated successfully | - |
|
|
1183
|
+
|**400** | Webhook topic cannot be used for record testing | - |
|
|
1184
|
+
|**404** | Webhook not found or no records available for the topic object | - |
|
|
1185
|
+
|**500** | Internal server error | - |
|
|
1186
|
+
|
|
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)
|
|
1188
|
+
|
|
1189
|
+
# **testAppWebhookUnsaved**
|
|
1190
|
+
> testAppWebhookUnsaved(testWebhookRequest)
|
|
1191
|
+
|
|
1192
|
+
Generates a test webhook payload from webhook configuration supplied in the request body without persisting the webhook. When recordUuid is omitted, auto-resolves the record and event from the webhook topic (same as the saved-webhook auto test endpoint).
|
|
1193
|
+
|
|
1194
|
+
### Example
|
|
1195
|
+
|
|
1196
|
+
```typescript
|
|
1197
|
+
import {
|
|
1198
|
+
ApplicationsApi,
|
|
1199
|
+
Configuration,
|
|
1200
|
+
TestWebhookRequest
|
|
1201
|
+
} from '@caraer/client';
|
|
1202
|
+
|
|
1203
|
+
const configuration = new Configuration();
|
|
1204
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
1205
|
+
|
|
1206
|
+
let appUuid: string; //UUID of the app the webhook belongs to (default to undefined)
|
|
1207
|
+
let testWebhookRequest: TestWebhookRequest; //Webhook configuration and optional test event parameters
|
|
1208
|
+
|
|
1209
|
+
const { status, data } = await apiInstance.testAppWebhookUnsaved(
|
|
1210
|
+
appUuid,
|
|
1211
|
+
testWebhookRequest
|
|
1212
|
+
);
|
|
1213
|
+
```
|
|
1214
|
+
|
|
1215
|
+
### Parameters
|
|
1216
|
+
|
|
1217
|
+
|Name | Type | Description | Notes|
|
|
1218
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1219
|
+
| **testWebhookRequest** | **TestWebhookRequest**| Webhook configuration and optional test event parameters | |
|
|
1220
|
+
| **appUuid** | [**string**] | UUID of the app the webhook belongs to | defaults to undefined|
|
|
1221
|
+
|
|
1222
|
+
|
|
1223
|
+
### Return type
|
|
1224
|
+
|
|
1225
|
+
void (empty response body)
|
|
1226
|
+
|
|
1227
|
+
### Authorization
|
|
1228
|
+
|
|
1229
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1230
|
+
|
|
1231
|
+
### HTTP request headers
|
|
1232
|
+
|
|
1233
|
+
- **Content-Type**: application/json
|
|
1234
|
+
- **Accept**: application/json
|
|
1235
|
+
|
|
1236
|
+
|
|
1237
|
+
### HTTP response details
|
|
1238
|
+
| Status code | Description | Response headers |
|
|
1239
|
+
|-------------|-------------|------------------|
|
|
1240
|
+
|**200** | Webhook test payload generated successfully | - |
|
|
1241
|
+
|**400** | Invalid webhook configuration or event parameters | - |
|
|
1242
|
+
|**404** | App not found or no records available for auto-resolve | - |
|
|
1243
|
+
|**500** | Internal server error | - |
|
|
1244
|
+
|
|
1245
|
+
[[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)
|
|
1246
|
+
|
|
1247
|
+
# **uninstallApp**
|
|
1248
|
+
> ShowResponse uninstallApp(appRequest)
|
|
1249
|
+
|
|
1250
|
+
Removes the installed application specified by its UUID using the provided settings. The request body should contain an AppRequest with the uninstallation settings. Returns the updated application details as a ShowResponse wrapping an AppDTO.
|
|
1251
|
+
|
|
1252
|
+
### Example
|
|
1253
|
+
|
|
1254
|
+
```typescript
|
|
1255
|
+
import {
|
|
1256
|
+
ApplicationsApi,
|
|
1257
|
+
Configuration,
|
|
1258
|
+
AppRequest
|
|
1259
|
+
} from '@caraer/client';
|
|
1260
|
+
|
|
1261
|
+
const configuration = new Configuration();
|
|
1262
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
1263
|
+
|
|
1264
|
+
let uuid: string; //UUID of the application to uninstall (default to undefined)
|
|
1265
|
+
let appRequest: AppRequest; //
|
|
1266
|
+
|
|
1267
|
+
const { status, data } = await apiInstance.uninstallApp(
|
|
1268
|
+
uuid,
|
|
1269
|
+
appRequest
|
|
1270
|
+
);
|
|
1271
|
+
```
|
|
1272
|
+
|
|
1273
|
+
### Parameters
|
|
1274
|
+
|
|
1275
|
+
|Name | Type | Description | Notes|
|
|
1276
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1277
|
+
| **appRequest** | **AppRequest**| | |
|
|
1278
|
+
| **uuid** | [**string**] | UUID of the application to uninstall | defaults to undefined|
|
|
1279
|
+
|
|
1280
|
+
|
|
1281
|
+
### Return type
|
|
1282
|
+
|
|
1283
|
+
**ShowResponse**
|
|
1284
|
+
|
|
1285
|
+
### Authorization
|
|
1286
|
+
|
|
1287
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1288
|
+
|
|
1289
|
+
### HTTP request headers
|
|
1290
|
+
|
|
1291
|
+
- **Content-Type**: application/json
|
|
1292
|
+
- **Accept**: application/json
|
|
1293
|
+
|
|
1294
|
+
|
|
1295
|
+
### HTTP response details
|
|
1296
|
+
| Status code | Description | Response headers |
|
|
1297
|
+
|-------------|-------------|------------------|
|
|
1298
|
+
|**200** | Successfully uninstalled the application | - |
|
|
1299
|
+
|**404** | Application not found | - |
|
|
1300
|
+
|**500** | Internal server error | - |
|
|
1301
|
+
|
|
1302
|
+
[[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)
|
|
1303
|
+
|
|
1304
|
+
# **updateAppWebhookForApp**
|
|
1305
|
+
> CreateResponse updateAppWebhookForApp(subscribeWebhookDTO)
|
|
1306
|
+
|
|
1307
|
+
Updates an existing webhook that belongs to the specified app and the authenticated user\'s selected company.
|
|
1308
|
+
|
|
1309
|
+
### Example
|
|
1310
|
+
|
|
1311
|
+
```typescript
|
|
1312
|
+
import {
|
|
1313
|
+
ApplicationsApi,
|
|
1314
|
+
Configuration,
|
|
1315
|
+
SubscribeWebhookDTO
|
|
1316
|
+
} from '@caraer/client';
|
|
1317
|
+
|
|
1318
|
+
const configuration = new Configuration();
|
|
1319
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
1320
|
+
|
|
1321
|
+
let appUuid: string; //UUID of the app that owns the webhook (default to undefined)
|
|
1322
|
+
let webhookUuid: string; //UUID of the webhook to update (default to undefined)
|
|
1323
|
+
let subscribeWebhookDTO: SubscribeWebhookDTO; //
|
|
1324
|
+
|
|
1325
|
+
const { status, data } = await apiInstance.updateAppWebhookForApp(
|
|
1326
|
+
appUuid,
|
|
1327
|
+
webhookUuid,
|
|
1328
|
+
subscribeWebhookDTO
|
|
1329
|
+
);
|
|
1330
|
+
```
|
|
1331
|
+
|
|
1332
|
+
### Parameters
|
|
1333
|
+
|
|
1334
|
+
|Name | Type | Description | Notes|
|
|
1335
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1336
|
+
| **subscribeWebhookDTO** | **SubscribeWebhookDTO**| | |
|
|
1337
|
+
| **appUuid** | [**string**] | UUID of the app that owns the webhook | defaults to undefined|
|
|
1338
|
+
| **webhookUuid** | [**string**] | UUID of the webhook to update | defaults to undefined|
|
|
1339
|
+
|
|
1340
|
+
|
|
1341
|
+
### Return type
|
|
1342
|
+
|
|
1343
|
+
**CreateResponse**
|
|
1344
|
+
|
|
1345
|
+
### Authorization
|
|
1346
|
+
|
|
1347
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1348
|
+
|
|
1349
|
+
### HTTP request headers
|
|
1350
|
+
|
|
1351
|
+
- **Content-Type**: application/json
|
|
1352
|
+
- **Accept**: application/json
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
### HTTP response details
|
|
1356
|
+
| Status code | Description | Response headers |
|
|
1357
|
+
|-------------|-------------|------------------|
|
|
1358
|
+
|**200** | Webhook updated successfully | - |
|
|
1359
|
+
|**400** | Invalid input provided or app not installed | - |
|
|
1360
|
+
|**404** | Webhook not found for the specified app or company | - |
|
|
1361
|
+
|**500** | Internal server error | - |
|
|
1362
|
+
|
|
1363
|
+
[[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)
|
|
1364
|
+
|
|
1365
|
+
# **updatePublicApp**
|
|
1366
|
+
> ShowResponse updatePublicApp(appDTO)
|
|
1367
|
+
|
|
1368
|
+
Updates a public app with the full creator payload (label, description, details, pricing, settingsSchema, appBars). Send the entire AppCreatorDTO as returned by GET. Returns the updated app as AppCreatorDTO.
|
|
1369
|
+
|
|
1370
|
+
### Example
|
|
1371
|
+
|
|
1372
|
+
```typescript
|
|
1373
|
+
import {
|
|
1374
|
+
ApplicationsApi,
|
|
1375
|
+
Configuration,
|
|
1376
|
+
AppDTO
|
|
1377
|
+
} from '@caraer/client';
|
|
1378
|
+
|
|
1379
|
+
const configuration = new Configuration();
|
|
1380
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
1381
|
+
|
|
1382
|
+
let uuid: string; //UUID of the public app to update (default to undefined)
|
|
1383
|
+
let appDTO: AppDTO; //
|
|
1384
|
+
|
|
1385
|
+
const { status, data } = await apiInstance.updatePublicApp(
|
|
1386
|
+
uuid,
|
|
1387
|
+
appDTO
|
|
1388
|
+
);
|
|
1389
|
+
```
|
|
1390
|
+
|
|
1391
|
+
### Parameters
|
|
1392
|
+
|
|
1393
|
+
|Name | Type | Description | Notes|
|
|
1394
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1395
|
+
| **appDTO** | **AppDTO**| | |
|
|
1396
|
+
| **uuid** | [**string**] | UUID of the public app to update | defaults to undefined|
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
### Return type
|
|
1400
|
+
|
|
1401
|
+
**ShowResponse**
|
|
1402
|
+
|
|
1403
|
+
### Authorization
|
|
1404
|
+
|
|
1405
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1406
|
+
|
|
1407
|
+
### HTTP request headers
|
|
1408
|
+
|
|
1409
|
+
- **Content-Type**: application/json
|
|
1410
|
+
- **Accept**: application/json
|
|
1411
|
+
|
|
1412
|
+
|
|
1413
|
+
### HTTP response details
|
|
1414
|
+
| Status code | Description | Response headers |
|
|
1415
|
+
|-------------|-------------|------------------|
|
|
1416
|
+
|**200** | Successfully updated the public app | - |
|
|
1417
|
+
|**404** | Public app not found | - |
|
|
1418
|
+
|**403** | You are not allowed to update this app | - |
|
|
1419
|
+
|**500** | Internal server error | - |
|
|
1420
|
+
|
|
1421
|
+
[[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)
|
|
1422
|
+
|