@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.
Files changed (210) hide show
  1. package/.openapi-generator/FILES +189 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +5 -0
  4. package/LICENSE +21 -0
  5. package/README.md +25 -0
  6. package/api.ts +21719 -0
  7. package/base.ts +62 -0
  8. package/common.ts +127 -0
  9. package/configuration.ts +121 -0
  10. package/dist/api.d.ts +12770 -0
  11. package/dist/api.js +15923 -0
  12. package/dist/base.d.ts +42 -0
  13. package/dist/base.js +46 -0
  14. package/dist/common.d.ts +34 -0
  15. package/dist/common.js +139 -0
  16. package/dist/configuration.d.ts +98 -0
  17. package/dist/configuration.js +44 -0
  18. package/dist/esm/api.d.ts +12770 -0
  19. package/dist/esm/api.js +15835 -0
  20. package/dist/esm/base.d.ts +42 -0
  21. package/dist/esm/base.js +41 -0
  22. package/dist/esm/common.d.ts +34 -0
  23. package/dist/esm/common.js +126 -0
  24. package/dist/esm/configuration.d.ts +98 -0
  25. package/dist/esm/configuration.js +40 -0
  26. package/dist/esm/index.d.ts +13 -0
  27. package/dist/esm/index.js +15 -0
  28. package/dist/index.d.ts +13 -0
  29. package/dist/index.js +31 -0
  30. package/docs/AccessGrantTargetDTO.md +25 -0
  31. package/docs/AppBarDTO.md +55 -0
  32. package/docs/AppBarIframeSessionRequest.md +29 -0
  33. package/docs/AppBarIframeSessionValidateRequest.md +21 -0
  34. package/docs/AppBarIframeSessionsApi.md +119 -0
  35. package/docs/AppBarTriggerRequest.md +31 -0
  36. package/docs/AppBarVisibilityEntry.md +22 -0
  37. package/docs/AppBarsApi.md +130 -0
  38. package/docs/AppDTO.md +101 -0
  39. package/docs/AppDetailsDTO.md +63 -0
  40. package/docs/AppPricingDTO.md +55 -0
  41. package/docs/AppPublishDTO.md +51 -0
  42. package/docs/AppRequest.md +21 -0
  43. package/docs/AppSettingFieldMappingStructure.md +22 -0
  44. package/docs/AppSettingFieldMappingStructureItem.md +32 -0
  45. package/docs/AppSettingFieldSchema.md +40 -0
  46. package/docs/AppSettingOptionsSource.md +28 -0
  47. package/docs/AppTierDTO.md +49 -0
  48. package/docs/ApplicationsApi.md +1422 -0
  49. package/docs/AutomationsApi.md +54 -0
  50. package/docs/BillingSettingsDTO.md +51 -0
  51. package/docs/CaraerErrorType.md +24 -0
  52. package/docs/CaraerObjectDTO.md +65 -0
  53. package/docs/CompanyApi.md +538 -0
  54. package/docs/CompanyDTO.md +47 -0
  55. package/docs/CompanyDetailsDTO.md +75 -0
  56. package/docs/CopyPropertiesToObjectRequest.md +20 -0
  57. package/docs/CopyPropertyToEnvironmentsRequest.md +28 -0
  58. package/docs/CreateCompanyRequest.md +29 -0
  59. package/docs/CreateOrUpdateEnvironmentRequest.md +22 -0
  60. package/docs/CreatePrivateAppRequest.md +27 -0
  61. package/docs/CreateResponse.md +23 -0
  62. package/docs/CreateResponseSignedUrlResultDTO.md +23 -0
  63. package/docs/CreateSignedUrlRequest.md +20 -0
  64. package/docs/Currency.md +18 -0
  65. package/docs/CurrencyRange.md +18 -0
  66. package/docs/CursorLocation.md +25 -0
  67. package/docs/CustomFontDTO.md +22 -0
  68. package/docs/Date.md +18 -0
  69. package/docs/DeleteResponse.md +23 -0
  70. package/docs/DeleteResponseString.md +23 -0
  71. package/docs/DigitalIdentityDTO.md +115 -0
  72. package/docs/Duration.md +18 -0
  73. package/docs/Email.md +18 -0
  74. package/docs/EngagementBatchRequest.md +24 -0
  75. package/docs/ErrorResponse.md +31 -0
  76. package/docs/FeedDTO.md +66 -0
  77. package/docs/FeedsApi.md +58 -0
  78. package/docs/File.md +18 -0
  79. package/docs/FileManagementApi.md +228 -0
  80. package/docs/FilledProperty.md +28 -0
  81. package/docs/Filter.md +21 -0
  82. package/docs/FilterApi.md +286 -0
  83. package/docs/FilterGroup.md +21 -0
  84. package/docs/FilterItem.md +33 -0
  85. package/docs/FontVariantDTO.md +24 -0
  86. package/docs/FormDTO.md +59 -0
  87. package/docs/FormItemDTO.md +31 -0
  88. package/docs/FormRelationDTO.md +31 -0
  89. package/docs/FormWithAiPromptDTO.md +61 -0
  90. package/docs/FormsApi.md +864 -0
  91. package/docs/GridItemDTO.md +31 -0
  92. package/docs/GridItemSettingsDTO.md +49 -0
  93. package/docs/HasAppDTO.md +37 -0
  94. package/docs/InstallAppRequest.md +29 -0
  95. package/docs/Leadscore.md +37 -0
  96. package/docs/LinkedProperty.md +20 -0
  97. package/docs/LoadAppSettingOptionsRequest.md +27 -0
  98. package/docs/LoginRequest.md +22 -0
  99. package/docs/MappingDTO.md +50 -0
  100. package/docs/MappingItemDTO.md +46 -0
  101. package/docs/ModuleApi.md +561 -0
  102. package/docs/MorphRecordRequest.md +21 -0
  103. package/docs/MultiLine.md +18 -0
  104. package/docs/MultiSelect.md +18 -0
  105. package/docs/MultiValueMapStringString.md +22 -0
  106. package/docs/NotFoundError.md +42 -0
  107. package/docs/NotFoundErrorCause.md +24 -0
  108. package/docs/NotFoundErrorCauseStackTraceInner.md +34 -0
  109. package/docs/NotificationsApi.md +211 -0
  110. package/docs/Number.md +18 -0
  111. package/docs/NumberRange.md +18 -0
  112. package/docs/ObjectAccessGrantCandidatesDTO.md +25 -0
  113. package/docs/ObjectAccessGrantRequestDTO.md +25 -0
  114. package/docs/ObjectAccessGrantSectionDTO.md +25 -0
  115. package/docs/ObjectsApi.md +878 -0
  116. package/docs/PageContentDTO.md +73 -0
  117. package/docs/PageContentSettingsDTO.md +111 -0
  118. package/docs/PageContentStylingDTO.md +26 -0
  119. package/docs/PaginationResponse.md +31 -0
  120. package/docs/PaginationResponsePreviewDTO.md +31 -0
  121. package/docs/PaginationResponseWebpageAccessGrantDTO.md +31 -0
  122. package/docs/Phone.md +18 -0
  123. package/docs/PreviewDTO.md +77 -0
  124. package/docs/PreviewItemDTO.md +43 -0
  125. package/docs/PreviewItemSettingsDTO.md +43 -0
  126. package/docs/PreviewRelatedObjectDTO.md +23 -0
  127. package/docs/PropertyApi.md +803 -0
  128. package/docs/PropertyDTO.md +77 -0
  129. package/docs/PropertyDTOFormat.md +35 -0
  130. package/docs/PropertyFormat.md +32 -0
  131. package/docs/PropertyOption.md +30 -0
  132. package/docs/PublicUserDTO.md +36 -0
  133. package/docs/Record.md +48 -0
  134. package/docs/RecordDTO.md +45 -0
  135. package/docs/RecordRelationRequestDTO.md +33 -0
  136. package/docs/RecordsApi.md +948 -0
  137. package/docs/Reference.md +26 -0
  138. package/docs/RegisterRequest.md +26 -0
  139. package/docs/RelationDTO.md +47 -0
  140. package/docs/RelationsApi.md +627 -0
  141. package/docs/ResetPasswordRequest.md +24 -0
  142. package/docs/RestoreResponse.md +23 -0
  143. package/docs/RestoreResponseCaraerObjectDTO.md +23 -0
  144. package/docs/RestoreResponseSavedFilterDTO.md +23 -0
  145. package/docs/RestoreResponseTeamDTO.md +23 -0
  146. package/docs/RestoreResponseViewDTO.md +23 -0
  147. package/docs/ReviewRequest.md +25 -0
  148. package/docs/SavePropertyDTO.md +71 -0
  149. package/docs/SavedFilterDTO.md +45 -0
  150. package/docs/SendNotificationRequest.md +35 -0
  151. package/docs/ServerlessFunctionDTO.md +45 -0
  152. package/docs/ServerlessFunctionsApi.md +298 -0
  153. package/docs/SettingField.md +40 -0
  154. package/docs/SettingOption.md +24 -0
  155. package/docs/ShowItem.md +35 -0
  156. package/docs/ShowResponse.md +23 -0
  157. package/docs/ShowResponseObjectAccessGrantCandidatesDTO.md +23 -0
  158. package/docs/ShowResponseWebpageProtectionInfoDTO.md +23 -0
  159. package/docs/SignedUrlResultDTO.md +27 -0
  160. package/docs/SimplePublicCompanyDTO.md +69 -0
  161. package/docs/SingleCheckbox.md +18 -0
  162. package/docs/SingleLine.md +18 -0
  163. package/docs/SingleSelect.md +18 -0
  164. package/docs/SortItem.md +27 -0
  165. package/docs/SseEmitter.md +20 -0
  166. package/docs/Structure.md +18 -0
  167. package/docs/StyleSetDTO.md +502 -0
  168. package/docs/SubscribeWebhookDTO.md +79 -0
  169. package/docs/SuccessResponse.md +23 -0
  170. package/docs/SuccessResponseString.md +23 -0
  171. package/docs/SuccessResponseVoid.md +23 -0
  172. package/docs/SyncApi.md +344 -0
  173. package/docs/SyncDTO.md +40 -0
  174. package/docs/Tag.md +18 -0
  175. package/docs/Team.md +52 -0
  176. package/docs/TeamDTO.md +48 -0
  177. package/docs/TemplateWebpageDTO.md +69 -0
  178. package/docs/TestServerlessFunctionRequest.md +25 -0
  179. package/docs/TestWebhookRequest.md +27 -0
  180. package/docs/TrackingEventRequest.md +72 -0
  181. package/docs/TrackingSessionUpsertRequest.md +22 -0
  182. package/docs/TraitsApi.md +236 -0
  183. package/docs/Tuple2LongLong.md +22 -0
  184. package/docs/UpdateLifecyclePropertiesDTO.md +21 -0
  185. package/docs/UpdateResponse.md +23 -0
  186. package/docs/Url.md +18 -0
  187. package/docs/UsedInResult.md +22 -0
  188. package/docs/UserRecordResponseDTO.md +47 -0
  189. package/docs/UserWithCursorLocationDTO.md +33 -0
  190. package/docs/ValidationError.md +36 -0
  191. package/docs/ViewDTO.md +72 -0
  192. package/docs/ViewShareRequest.md +24 -0
  193. package/docs/ViewsApi.md +412 -0
  194. package/docs/WebMenuDTO.md +53 -0
  195. package/docs/WebMenuItem.md +26 -0
  196. package/docs/WebMenusApi.md +336 -0
  197. package/docs/WebpageAccessGrantDTO.md +51 -0
  198. package/docs/WebpageDTO.md +69 -0
  199. package/docs/WebpageEditingStatusDTO.md +25 -0
  200. package/docs/WebpageOptionsDTO.md +41 -0
  201. package/docs/WebpageProtectionInfoDTO.md +27 -0
  202. package/docs/WebpagePublicRecordDTO.md +25 -0
  203. package/docs/WebpageUnlockRequest.md +20 -0
  204. package/docs/WebpagesApi.md +2009 -0
  205. package/docs/WebsiteSettingsDTO.md +321 -0
  206. package/git_push.sh +57 -0
  207. package/index.ts +18 -0
  208. package/package.json +37 -0
  209. package/tsconfig.esm.json +7 -0
  210. package/tsconfig.json +18 -0
@@ -0,0 +1,538 @@
1
+ # CompanyApi
2
+
3
+ All URIs are relative to *https://v2.api.caraer.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createCompany**](#createcompany) | **POST** /api/v2/company/ | Create a new company|
8
+ |[**getCompany**](#getcompany) | **GET** /api/v2/company/ | Get current company|
9
+ |[**getCompanyByUuid**](#getcompanybyuuid) | **GET** /api/v2/company/{uuid} | Get company by UUID|
10
+ |[**getDigitalIdentity**](#getdigitalidentity) | **GET** /api/v2/company/digital-identity | Get digital identity|
11
+ |[**getWebsiteSettings**](#getwebsitesettings) | **GET** /api/v2/company/website-settings | Get website settings|
12
+ |[**resumeWebhookDispatch**](#resumewebhookdispatch) | **POST** /api/v2/company/{companyUuid}/webhooks/resume | Resume webhook dispatch|
13
+ |[**updateCompany**](#updatecompany) | **PUT** /api/v2/company/{uuid} | Update company|
14
+ |[**updateDigitalIdentity**](#updatedigitalidentity) | **PUT** /api/v2/company/digital-identity | Update digital identity|
15
+ |[**updateWebsiteSettings**](#updatewebsitesettings) | **PUT** /api/v2/company/website-settings | Update website settings|
16
+ |[**uploadFont**](#uploadfont) | **POST** /api/v2/company/uploadFont | Upload a font file|
17
+
18
+ # **createCompany**
19
+ > SuccessResponse createCompany(createCompanyRequest)
20
+
21
+ Creates a new company based on the provided request data.
22
+
23
+ ### Example
24
+
25
+ ```typescript
26
+ import {
27
+ CompanyApi,
28
+ Configuration,
29
+ CreateCompanyRequest
30
+ } from '@caraer/client';
31
+
32
+ const configuration = new Configuration();
33
+ const apiInstance = new CompanyApi(configuration);
34
+
35
+ let createCompanyRequest: CreateCompanyRequest; //
36
+
37
+ const { status, data } = await apiInstance.createCompany(
38
+ createCompanyRequest
39
+ );
40
+ ```
41
+
42
+ ### Parameters
43
+
44
+ |Name | Type | Description | Notes|
45
+ |------------- | ------------- | ------------- | -------------|
46
+ | **createCompanyRequest** | **CreateCompanyRequest**| | |
47
+
48
+
49
+ ### Return type
50
+
51
+ **SuccessResponse**
52
+
53
+ ### Authorization
54
+
55
+ [bearerAuth](../README.md#bearerAuth)
56
+
57
+ ### HTTP request headers
58
+
59
+ - **Content-Type**: application/json
60
+ - **Accept**: application/json
61
+
62
+
63
+ ### HTTP response details
64
+ | Status code | Description | Response headers |
65
+ |-------------|-------------|------------------|
66
+ |**200** | Company created successfully | - |
67
+ |**400** | Invalid input | - |
68
+ |**401** | Unauthorized | - |
69
+ |**403** | Insufficient scope | - |
70
+
71
+ [[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)
72
+
73
+ # **getCompany**
74
+ > ShowResponse getCompany()
75
+
76
+ Returns the company currently selected by the logged-in user. Requires TOOLS_COMPANY_SETTINGS_READ scope.
77
+
78
+ ### Example
79
+
80
+ ```typescript
81
+ import {
82
+ CompanyApi,
83
+ Configuration
84
+ } from '@caraer/client';
85
+
86
+ const configuration = new Configuration();
87
+ const apiInstance = new CompanyApi(configuration);
88
+
89
+ const { status, data } = await apiInstance.getCompany();
90
+ ```
91
+
92
+ ### Parameters
93
+ This endpoint does not have any parameters.
94
+
95
+
96
+ ### Return type
97
+
98
+ **ShowResponse**
99
+
100
+ ### Authorization
101
+
102
+ [bearerAuth](../README.md#bearerAuth)
103
+
104
+ ### HTTP request headers
105
+
106
+ - **Content-Type**: Not defined
107
+ - **Accept**: application/json
108
+
109
+
110
+ ### HTTP response details
111
+ | Status code | Description | Response headers |
112
+ |-------------|-------------|------------------|
113
+ |**200** | Company returned successfully | - |
114
+ |**401** | Unauthorized | - |
115
+ |**403** | Insufficient scope | - |
116
+
117
+ [[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)
118
+
119
+ # **getCompanyByUuid**
120
+ > ShowResponse getCompanyByUuid()
121
+
122
+ Returns a company by its UUID. Requires TOOLS_COMPANY_SETTINGS_READ scope.
123
+
124
+ ### Example
125
+
126
+ ```typescript
127
+ import {
128
+ CompanyApi,
129
+ Configuration
130
+ } from '@caraer/client';
131
+
132
+ const configuration = new Configuration();
133
+ const apiInstance = new CompanyApi(configuration);
134
+
135
+ let uuid: string; // (default to undefined)
136
+
137
+ const { status, data } = await apiInstance.getCompanyByUuid(
138
+ uuid
139
+ );
140
+ ```
141
+
142
+ ### Parameters
143
+
144
+ |Name | Type | Description | Notes|
145
+ |------------- | ------------- | ------------- | -------------|
146
+ | **uuid** | [**string**] | | defaults to undefined|
147
+
148
+
149
+ ### Return type
150
+
151
+ **ShowResponse**
152
+
153
+ ### Authorization
154
+
155
+ [bearerAuth](../README.md#bearerAuth)
156
+
157
+ ### HTTP request headers
158
+
159
+ - **Content-Type**: Not defined
160
+ - **Accept**: application/json
161
+
162
+
163
+ ### HTTP response details
164
+ | Status code | Description | Response headers |
165
+ |-------------|-------------|------------------|
166
+ |**200** | Company returned successfully | - |
167
+ |**401** | Unauthorized | - |
168
+ |**403** | Insufficient scope | - |
169
+ |**404** | Company not found | - |
170
+
171
+ [[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)
172
+
173
+ # **getDigitalIdentity**
174
+ > ShowResponse getDigitalIdentity()
175
+
176
+ Returns the digital identity (branding) for the company currently selected by the logged-in user.
177
+
178
+ ### Example
179
+
180
+ ```typescript
181
+ import {
182
+ CompanyApi,
183
+ Configuration
184
+ } from '@caraer/client';
185
+
186
+ const configuration = new Configuration();
187
+ const apiInstance = new CompanyApi(configuration);
188
+
189
+ const { status, data } = await apiInstance.getDigitalIdentity();
190
+ ```
191
+
192
+ ### Parameters
193
+ This endpoint does not have any parameters.
194
+
195
+
196
+ ### Return type
197
+
198
+ **ShowResponse**
199
+
200
+ ### Authorization
201
+
202
+ [bearerAuth](../README.md#bearerAuth)
203
+
204
+ ### HTTP request headers
205
+
206
+ - **Content-Type**: Not defined
207
+ - **Accept**: application/json
208
+
209
+
210
+ ### HTTP response details
211
+ | Status code | Description | Response headers |
212
+ |-------------|-------------|------------------|
213
+ |**200** | Digital identity returned successfully | - |
214
+ |**401** | Unauthorized | - |
215
+ |**403** | Insufficient scope | - |
216
+
217
+ [[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)
218
+
219
+ # **getWebsiteSettings**
220
+ > ShowResponse getWebsiteSettings()
221
+
222
+ Returns the website settings for the company currently selected by the logged-in user.
223
+
224
+ ### Example
225
+
226
+ ```typescript
227
+ import {
228
+ CompanyApi,
229
+ Configuration
230
+ } from '@caraer/client';
231
+
232
+ const configuration = new Configuration();
233
+ const apiInstance = new CompanyApi(configuration);
234
+
235
+ const { status, data } = await apiInstance.getWebsiteSettings();
236
+ ```
237
+
238
+ ### Parameters
239
+ This endpoint does not have any parameters.
240
+
241
+
242
+ ### Return type
243
+
244
+ **ShowResponse**
245
+
246
+ ### Authorization
247
+
248
+ [bearerAuth](../README.md#bearerAuth)
249
+
250
+ ### HTTP request headers
251
+
252
+ - **Content-Type**: Not defined
253
+ - **Accept**: application/json
254
+
255
+
256
+ ### HTTP response details
257
+ | Status code | Description | Response headers |
258
+ |-------------|-------------|------------------|
259
+ |**200** | Website settings returned successfully | - |
260
+ |**401** | Unauthorized | - |
261
+ |**403** | Insufficient scope | - |
262
+
263
+ [[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)
264
+
265
+ # **resumeWebhookDispatch**
266
+ > SuccessResponse resumeWebhookDispatch()
267
+
268
+ Clears the per-company webhook circuit breaker so outbound deliveries resume immediately.
269
+
270
+ ### Example
271
+
272
+ ```typescript
273
+ import {
274
+ CompanyApi,
275
+ Configuration
276
+ } from '@caraer/client';
277
+
278
+ const configuration = new Configuration();
279
+ const apiInstance = new CompanyApi(configuration);
280
+
281
+ let companyUuid: string; // (default to undefined)
282
+
283
+ const { status, data } = await apiInstance.resumeWebhookDispatch(
284
+ companyUuid
285
+ );
286
+ ```
287
+
288
+ ### Parameters
289
+
290
+ |Name | Type | Description | Notes|
291
+ |------------- | ------------- | ------------- | -------------|
292
+ | **companyUuid** | [**string**] | | defaults to undefined|
293
+
294
+
295
+ ### Return type
296
+
297
+ **SuccessResponse**
298
+
299
+ ### Authorization
300
+
301
+ [bearerAuth](../README.md#bearerAuth)
302
+
303
+ ### HTTP request headers
304
+
305
+ - **Content-Type**: Not defined
306
+ - **Accept**: application/json
307
+
308
+
309
+ ### HTTP response details
310
+ | Status code | Description | Response headers |
311
+ |-------------|-------------|------------------|
312
+ |**200** | Circuit breaker cleared | - |
313
+ |**401** | Unauthorized | - |
314
+ |**403** | Insufficient scope | - |
315
+
316
+ [[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)
317
+
318
+ # **updateCompany**
319
+ > UpdateResponse updateCompany(companyDTO)
320
+
321
+ Updates a company by UUID. Request body should contain the company fields to update.
322
+
323
+ ### Example
324
+
325
+ ```typescript
326
+ import {
327
+ CompanyApi,
328
+ Configuration,
329
+ CompanyDTO
330
+ } from '@caraer/client';
331
+
332
+ const configuration = new Configuration();
333
+ const apiInstance = new CompanyApi(configuration);
334
+
335
+ let uuid: string; // (default to undefined)
336
+ let companyDTO: CompanyDTO; //
337
+
338
+ const { status, data } = await apiInstance.updateCompany(
339
+ uuid,
340
+ companyDTO
341
+ );
342
+ ```
343
+
344
+ ### Parameters
345
+
346
+ |Name | Type | Description | Notes|
347
+ |------------- | ------------- | ------------- | -------------|
348
+ | **companyDTO** | **CompanyDTO**| | |
349
+ | **uuid** | [**string**] | | defaults to undefined|
350
+
351
+
352
+ ### Return type
353
+
354
+ **UpdateResponse**
355
+
356
+ ### Authorization
357
+
358
+ [bearerAuth](../README.md#bearerAuth)
359
+
360
+ ### HTTP request headers
361
+
362
+ - **Content-Type**: application/json
363
+ - **Accept**: application/json
364
+
365
+
366
+ ### HTTP response details
367
+ | Status code | Description | Response headers |
368
+ |-------------|-------------|------------------|
369
+ |**200** | Company updated successfully | - |
370
+ |**401** | Unauthorized | - |
371
+ |**403** | Insufficient scope | - |
372
+ |**404** | Company not found | - |
373
+
374
+ [[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)
375
+
376
+ # **updateDigitalIdentity**
377
+ > UpdateResponse updateDigitalIdentity(digitalIdentityDTO)
378
+
379
+ Updates the digital identity (branding) for the company currently selected by the logged-in user.
380
+
381
+ ### Example
382
+
383
+ ```typescript
384
+ import {
385
+ CompanyApi,
386
+ Configuration,
387
+ DigitalIdentityDTO
388
+ } from '@caraer/client';
389
+
390
+ const configuration = new Configuration();
391
+ const apiInstance = new CompanyApi(configuration);
392
+
393
+ let digitalIdentityDTO: DigitalIdentityDTO; //
394
+
395
+ const { status, data } = await apiInstance.updateDigitalIdentity(
396
+ digitalIdentityDTO
397
+ );
398
+ ```
399
+
400
+ ### Parameters
401
+
402
+ |Name | Type | Description | Notes|
403
+ |------------- | ------------- | ------------- | -------------|
404
+ | **digitalIdentityDTO** | **DigitalIdentityDTO**| | |
405
+
406
+
407
+ ### Return type
408
+
409
+ **UpdateResponse**
410
+
411
+ ### Authorization
412
+
413
+ [bearerAuth](../README.md#bearerAuth)
414
+
415
+ ### HTTP request headers
416
+
417
+ - **Content-Type**: application/json
418
+ - **Accept**: application/json
419
+
420
+
421
+ ### HTTP response details
422
+ | Status code | Description | Response headers |
423
+ |-------------|-------------|------------------|
424
+ |**200** | Digital identity updated successfully | - |
425
+ |**401** | Unauthorized | - |
426
+ |**403** | Insufficient scope | - |
427
+ |**404** | Digital identity not found for company | - |
428
+
429
+ [[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)
430
+
431
+ # **updateWebsiteSettings**
432
+ > UpdateResponse updateWebsiteSettings(websiteSettingsDTO)
433
+
434
+ Updates the website settings for the company currently selected by the logged-in user.
435
+
436
+ ### Example
437
+
438
+ ```typescript
439
+ import {
440
+ CompanyApi,
441
+ Configuration,
442
+ WebsiteSettingsDTO
443
+ } from '@caraer/client';
444
+
445
+ const configuration = new Configuration();
446
+ const apiInstance = new CompanyApi(configuration);
447
+
448
+ let websiteSettingsDTO: WebsiteSettingsDTO; //
449
+
450
+ const { status, data } = await apiInstance.updateWebsiteSettings(
451
+ websiteSettingsDTO
452
+ );
453
+ ```
454
+
455
+ ### Parameters
456
+
457
+ |Name | Type | Description | Notes|
458
+ |------------- | ------------- | ------------- | -------------|
459
+ | **websiteSettingsDTO** | **WebsiteSettingsDTO**| | |
460
+
461
+
462
+ ### Return type
463
+
464
+ **UpdateResponse**
465
+
466
+ ### Authorization
467
+
468
+ [bearerAuth](../README.md#bearerAuth)
469
+
470
+ ### HTTP request headers
471
+
472
+ - **Content-Type**: application/json
473
+ - **Accept**: application/json
474
+
475
+
476
+ ### HTTP response details
477
+ | Status code | Description | Response headers |
478
+ |-------------|-------------|------------------|
479
+ |**200** | Website settings updated successfully | - |
480
+ |**401** | Unauthorized | - |
481
+ |**403** | Insufficient scope | - |
482
+ |**404** | Website settings not found for company | - |
483
+
484
+ [[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)
485
+
486
+ # **uploadFont**
487
+ > SuccessResponse uploadFont()
488
+
489
+ Uploads a font file to S3 storage and returns the public URL.
490
+
491
+ ### Example
492
+
493
+ ```typescript
494
+ import {
495
+ CompanyApi,
496
+ Configuration
497
+ } from '@caraer/client';
498
+
499
+ const configuration = new Configuration();
500
+ const apiInstance = new CompanyApi(configuration);
501
+
502
+ let file: File; // (default to undefined)
503
+
504
+ const { status, data } = await apiInstance.uploadFont(
505
+ file
506
+ );
507
+ ```
508
+
509
+ ### Parameters
510
+
511
+ |Name | Type | Description | Notes|
512
+ |------------- | ------------- | ------------- | -------------|
513
+ | **file** | [**File**] | | defaults to undefined|
514
+
515
+
516
+ ### Return type
517
+
518
+ **SuccessResponse**
519
+
520
+ ### Authorization
521
+
522
+ [bearerAuth](../README.md#bearerAuth)
523
+
524
+ ### HTTP request headers
525
+
526
+ - **Content-Type**: multipart/form-data
527
+ - **Accept**: application/json
528
+
529
+
530
+ ### HTTP response details
531
+ | Status code | Description | Response headers |
532
+ |-------------|-------------|------------------|
533
+ |**200** | Font uploaded successfully | - |
534
+ |**400** | Invalid file provided | - |
535
+ |**500** | Internal server error | - |
536
+
537
+ [[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)
538
+
@@ -0,0 +1,47 @@
1
+ # CompanyDTO
2
+
3
+ A DTO representing a company with its various settings and details.
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
+ **details** | [**CompanyDetailsDTO**](CompanyDetailsDTO.md) | The details of the company. | [optional] [default to undefined]
20
+ **digitalIdentity** | [**DigitalIdentityDTO**](DigitalIdentityDTO.md) | The digital identity of the company. | [optional] [default to undefined]
21
+ **websiteSettings** | [**WebsiteSettingsDTO**](WebsiteSettingsDTO.md) | The website settings of the company. | [optional] [default to undefined]
22
+ **billingSettings** | [**BillingSettingsDTO**](BillingSettingsDTO.md) | The billing settings of the company. | [optional] [default to undefined]
23
+
24
+ ## Example
25
+
26
+ ```typescript
27
+ import { CompanyDTO } from '@caraer/client';
28
+
29
+ const instance: CompanyDTO = {
30
+ uuid,
31
+ name,
32
+ label,
33
+ createdAt,
34
+ createdBy,
35
+ updatedAt,
36
+ updatedBy,
37
+ deletedAt,
38
+ deletedBy,
39
+ index,
40
+ details,
41
+ digitalIdentity,
42
+ websiteSettings,
43
+ billingSettings,
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)
@@ -0,0 +1,75 @@
1
+ # CompanyDetailsDTO
2
+
3
+ A DTO representing the details of a company.
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
+ **twitter** | **string** | The twitter/X url of the company. | [optional] [default to undefined]
20
+ **linkedIn** | **string** | The linkedin url of the company. | [optional] [default to undefined]
21
+ **facebook** | **string** | The facebook url of the company. | [optional] [default to undefined]
22
+ **youtube** | **string** | The youtube url of the company. | [optional] [default to undefined]
23
+ **instagram** | **string** | The instagram url of the company. | [optional] [default to undefined]
24
+ **address** | **string** | The address of the company. | [optional] [default to undefined]
25
+ **city** | **string** | The city of the company. | [optional] [default to undefined]
26
+ **state** | **string** | The state of the company. | [optional] [default to undefined]
27
+ **zip** | **string** | The zip code of the company. | [optional] [default to undefined]
28
+ **country** | **string** | The country of the company. | [optional] [default to undefined]
29
+ **phone** | **string** | The phone number of the company. | [optional] [default to undefined]
30
+ **email** | **string** | The email of the company. | [optional] [default to undefined]
31
+ **website** | **string** | The website of the company. | [optional] [default to undefined]
32
+ **unsubscribeLink** | **string** | The unsubscribe link of the company. | [optional] [default to undefined]
33
+ **cookiePolicy** | **string** | The cookie policy of the company. | [optional] [default to undefined]
34
+ **privacyPolicy** | **string** | The privacy policy of the company. | [optional] [default to undefined]
35
+ **termsAndConditions** | **string** | The terms and conditions of the company. | [optional] [default to undefined]
36
+ **disclaimer** | **string** | The disclaimer of the company. | [optional] [default to undefined]
37
+
38
+ ## Example
39
+
40
+ ```typescript
41
+ import { CompanyDetailsDTO } from '@caraer/client';
42
+
43
+ const instance: CompanyDetailsDTO = {
44
+ uuid,
45
+ name,
46
+ label,
47
+ createdAt,
48
+ createdBy,
49
+ updatedAt,
50
+ updatedBy,
51
+ deletedAt,
52
+ deletedBy,
53
+ index,
54
+ twitter,
55
+ linkedIn,
56
+ facebook,
57
+ youtube,
58
+ instagram,
59
+ address,
60
+ city,
61
+ state,
62
+ zip,
63
+ country,
64
+ phone,
65
+ email,
66
+ website,
67
+ unsubscribeLink,
68
+ cookiePolicy,
69
+ privacyPolicy,
70
+ termsAndConditions,
71
+ disclaimer,
72
+ };
73
+ ```
74
+
75
+ [[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,20 @@
1
+ # CopyPropertiesToObjectRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **propertyUuids** | **Array<string>** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { CopyPropertiesToObjectRequest } from '@caraer/client';
14
+
15
+ const instance: CopyPropertiesToObjectRequest = {
16
+ propertyUuids,
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)
@@ -0,0 +1,28 @@
1
+ # CopyPropertyToEnvironmentsRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **objectUuid** | **string** | | [optional] [default to undefined]
9
+ **propertyUuid** | **string** | | [optional] [default to undefined]
10
+ **propertyUuids** | **Array<string>** | | [optional] [default to undefined]
11
+ **environments** | **Array<string>** | | [optional] [default to undefined]
12
+ **fillCopiedValues** | **boolean** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { CopyPropertyToEnvironmentsRequest } from '@caraer/client';
18
+
19
+ const instance: CopyPropertyToEnvironmentsRequest = {
20
+ objectUuid,
21
+ propertyUuid,
22
+ propertyUuids,
23
+ environments,
24
+ fillCopiedValues,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)