@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,77 @@
|
|
|
1
|
+
# PropertyDTO
|
|
2
|
+
|
|
3
|
+
Data transfer object representing a property with its configuration and metadata
|
|
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 identifier of the property | [optional] [default to undefined]
|
|
11
|
+
**label** | **string** | Display label for the property | [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
|
+
**description** | **string** | Detailed description of the property\'s purpose and usage | [optional] [default to undefined]
|
|
20
|
+
**type** | **string** | The data type of the property (e.g., \'string\', \'number\', \'date\', etc.) | [optional] [default to undefined]
|
|
21
|
+
**_options** | [**Array<PropertyOption>**](PropertyOption.md) | List of predefined options for properties that support selection | [optional] [default to undefined]
|
|
22
|
+
**group** | **string** | Group name for organizing related properties | [optional] [default to undefined]
|
|
23
|
+
**format** | [**PropertyDTOFormat**](PropertyDTOFormat.md) | | [optional] [default to undefined]
|
|
24
|
+
**rules** | **Array<string>** | Collection of validation rules applied to the property | [optional] [default to undefined]
|
|
25
|
+
**immutable** | **boolean** | Indicates if the property value cannot be modified after initial creation | [optional] [default to undefined]
|
|
26
|
+
**hidden** | **boolean** | Indicates if the property should be hidden from view | [optional] [default to undefined]
|
|
27
|
+
**lifecycleActive** | **boolean** | When true, property value changes are tracked as lifecycle records | [optional] [default to undefined]
|
|
28
|
+
**nonPublic** | **boolean** | Indicates if the property should be excluded from public APIs | [optional] [default to undefined]
|
|
29
|
+
**indexed** | **boolean** | Indicates if the property should be indexed for searching | [optional] [default to undefined]
|
|
30
|
+
**editable** | **boolean** | Indicates if the property value can be modified | [optional] [default to undefined]
|
|
31
|
+
**formatSettings** | **{ [key: string]: any | null; }** | Additional format-specific settings for the property | [optional] [default to undefined]
|
|
32
|
+
**usedIn** | [**UsedInResult**](UsedInResult.md) | Information about where this property is used in the system | [optional] [default to undefined]
|
|
33
|
+
**icon** | **string** | Icon identifier for visual representation of the property | [optional] [default to undefined]
|
|
34
|
+
**webpagePublic** | **boolean** | Indicates if the property can be used in webpages | [optional] [default to undefined]
|
|
35
|
+
**embeddable** | **boolean** | Indicates if the property can be embedded in other properties | [optional] [default to undefined]
|
|
36
|
+
**minAndMaxValue** | [**Tuple2LongLong**](Tuple2LongLong.md) | The minimum and maximum value of the property | [optional] [default to undefined]
|
|
37
|
+
**pinned** | **boolean** | Indicates if the property is pinned by the logged-in user | [optional] [default to undefined]
|
|
38
|
+
|
|
39
|
+
## Example
|
|
40
|
+
|
|
41
|
+
```typescript
|
|
42
|
+
import { PropertyDTO } from '@caraer/client';
|
|
43
|
+
|
|
44
|
+
const instance: PropertyDTO = {
|
|
45
|
+
uuid,
|
|
46
|
+
name,
|
|
47
|
+
label,
|
|
48
|
+
createdAt,
|
|
49
|
+
createdBy,
|
|
50
|
+
updatedAt,
|
|
51
|
+
updatedBy,
|
|
52
|
+
deletedAt,
|
|
53
|
+
deletedBy,
|
|
54
|
+
index,
|
|
55
|
+
description,
|
|
56
|
+
type,
|
|
57
|
+
_options,
|
|
58
|
+
group,
|
|
59
|
+
format,
|
|
60
|
+
rules,
|
|
61
|
+
immutable,
|
|
62
|
+
hidden,
|
|
63
|
+
lifecycleActive,
|
|
64
|
+
nonPublic,
|
|
65
|
+
indexed,
|
|
66
|
+
editable,
|
|
67
|
+
formatSettings,
|
|
68
|
+
usedIn,
|
|
69
|
+
icon,
|
|
70
|
+
webpagePublic,
|
|
71
|
+
embeddable,
|
|
72
|
+
minAndMaxValue,
|
|
73
|
+
pinned,
|
|
74
|
+
};
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
[[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,35 @@
|
|
|
1
|
+
# PropertyDTOFormat
|
|
2
|
+
|
|
3
|
+
Format configuration for the property\'s display and validation
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**label** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**icon** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**settings** | [**Array<SettingField>**](SettingField.md) | | [optional] [default to undefined]
|
|
14
|
+
**filters** | **Array<string>** | | [optional] [default to undefined]
|
|
15
|
+
**rules** | **Array<string>** | | [optional] [default to undefined]
|
|
16
|
+
**linkedProperty** | [**PropertyDTO**](PropertyDTO.md) | | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { PropertyDTOFormat } from '@caraer/client';
|
|
22
|
+
|
|
23
|
+
const instance: PropertyDTOFormat = {
|
|
24
|
+
label,
|
|
25
|
+
name,
|
|
26
|
+
icon,
|
|
27
|
+
type,
|
|
28
|
+
settings,
|
|
29
|
+
filters,
|
|
30
|
+
rules,
|
|
31
|
+
linkedProperty,
|
|
32
|
+
};
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
[[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,32 @@
|
|
|
1
|
+
# PropertyFormat
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**label** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**icon** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**settings** | [**Array<SettingField>**](SettingField.md) | | [optional] [default to undefined]
|
|
13
|
+
**filters** | **Array<string>** | | [optional] [default to undefined]
|
|
14
|
+
**rules** | **Array<string>** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { PropertyFormat } from '@caraer/client';
|
|
20
|
+
|
|
21
|
+
const instance: PropertyFormat = {
|
|
22
|
+
label,
|
|
23
|
+
name,
|
|
24
|
+
icon,
|
|
25
|
+
type,
|
|
26
|
+
settings,
|
|
27
|
+
filters,
|
|
28
|
+
rules,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# PropertyOption
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**label** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**icon** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**color** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**disabled** | **boolean** | | [optional] [default to undefined]
|
|
13
|
+
**usedIn** | [**UsedInResult**](UsedInResult.md) | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { PropertyOption } from '@caraer/client';
|
|
19
|
+
|
|
20
|
+
const instance: PropertyOption = {
|
|
21
|
+
name,
|
|
22
|
+
label,
|
|
23
|
+
icon,
|
|
24
|
+
color,
|
|
25
|
+
disabled,
|
|
26
|
+
usedIn,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[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,36 @@
|
|
|
1
|
+
# PublicUserDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**uuid** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**firstname** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**lastname** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**initials** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**scopes** | **Array<string>** | | [optional] [default to undefined]
|
|
14
|
+
**filters** | [**{ [key: string]: Filter; }**](Filter.md) | | [optional] [default to undefined]
|
|
15
|
+
**role** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**record** | [**ModelRecord**](ModelRecord.md) | | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { PublicUserDTO } from '@caraer/client';
|
|
22
|
+
|
|
23
|
+
const instance: PublicUserDTO = {
|
|
24
|
+
uuid,
|
|
25
|
+
email,
|
|
26
|
+
firstname,
|
|
27
|
+
lastname,
|
|
28
|
+
initials,
|
|
29
|
+
scopes,
|
|
30
|
+
filters,
|
|
31
|
+
role,
|
|
32
|
+
record,
|
|
33
|
+
};
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/Record.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# ModelRecord
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [default to undefined]
|
|
9
|
+
**label** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**createdAt** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**updatedAt** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**deletedAt** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**createdByUuid** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**updatedByUuid** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**deletedByUuid** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**index** | **number** | | [optional] [default to undefined]
|
|
17
|
+
**deleted** | **boolean** | | [optional] [default to undefined]
|
|
18
|
+
**complete** | **boolean** | | [optional] [default to undefined]
|
|
19
|
+
**uuid** | **string** | | [default to undefined]
|
|
20
|
+
**properties** | [**Array<FilledProperty>**](FilledProperty.md) | | [optional] [default to undefined]
|
|
21
|
+
**objects** | **{ [key: string]: any | null; }** | | [optional] [default to undefined]
|
|
22
|
+
**user** | [**PublicUserDTO**](PublicUserDTO.md) | | [optional] [default to undefined]
|
|
23
|
+
|
|
24
|
+
## Example
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import { ModelRecord } from '@caraer/client';
|
|
28
|
+
|
|
29
|
+
const instance: ModelRecord = {
|
|
30
|
+
name,
|
|
31
|
+
label,
|
|
32
|
+
createdAt,
|
|
33
|
+
updatedAt,
|
|
34
|
+
deletedAt,
|
|
35
|
+
createdByUuid,
|
|
36
|
+
updatedByUuid,
|
|
37
|
+
deletedByUuid,
|
|
38
|
+
index,
|
|
39
|
+
deleted,
|
|
40
|
+
complete,
|
|
41
|
+
uuid,
|
|
42
|
+
properties,
|
|
43
|
+
objects,
|
|
44
|
+
user,
|
|
45
|
+
};
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
[[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,45 @@
|
|
|
1
|
+
# RecordDTO
|
|
2
|
+
|
|
3
|
+
Data Transfer Object for representing a record with dynamic properties.
|
|
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
|
+
**properties** | **{ [key: string]: any | null; }** | A map of property names to their corresponding values for this record. | [optional] [default to undefined]
|
|
20
|
+
**user** | [**PublicUserDTO**](PublicUserDTO.md) | The user of the record if the user trait is enabled. | [optional] [default to undefined]
|
|
21
|
+
**relations** | [**Array<RecordRelationRequestDTO>**](RecordRelationRequestDTO.md) | Relations to create or merge after the record is saved. Each item links to an existing record (uuid) or creates a nested record first. | [optional] [default to undefined]
|
|
22
|
+
|
|
23
|
+
## Example
|
|
24
|
+
|
|
25
|
+
```typescript
|
|
26
|
+
import { RecordDTO } from '@caraer/client';
|
|
27
|
+
|
|
28
|
+
const instance: RecordDTO = {
|
|
29
|
+
uuid,
|
|
30
|
+
name,
|
|
31
|
+
label,
|
|
32
|
+
createdAt,
|
|
33
|
+
createdBy,
|
|
34
|
+
updatedAt,
|
|
35
|
+
updatedBy,
|
|
36
|
+
deletedAt,
|
|
37
|
+
deletedBy,
|
|
38
|
+
index,
|
|
39
|
+
properties,
|
|
40
|
+
user,
|
|
41
|
+
relations,
|
|
42
|
+
};
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
[[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,33 @@
|
|
|
1
|
+
# RecordRelationRequestDTO
|
|
2
|
+
|
|
3
|
+
Relation to create when saving a record
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**relationName** | **string** | Name of the relation type | [default to undefined]
|
|
10
|
+
**uuid** | **string** | UUID of an existing record to link to | [optional] [default to undefined]
|
|
11
|
+
**properties** | **{ [key: string]: any | null; }** | Properties to update on the existing record referenced by uuid before linking | [optional] [default to undefined]
|
|
12
|
+
**record** | [**RecordDTO**](RecordDTO.md) | Nested record to create before linking, or update first when record.uuid is provided | [optional] [default to undefined]
|
|
13
|
+
**objectName** | **string** | Object name for nested record create when relation allows multiple target types | [optional] [default to undefined]
|
|
14
|
+
**primary** | **boolean** | When true, marks this relation edge as primary | [optional] [default to undefined]
|
|
15
|
+
**merge** | **boolean** | When true, MERGE relation edge instead of CREATE | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { RecordRelationRequestDTO } from '@caraer/client';
|
|
21
|
+
|
|
22
|
+
const instance: RecordRelationRequestDTO = {
|
|
23
|
+
relationName,
|
|
24
|
+
uuid,
|
|
25
|
+
properties,
|
|
26
|
+
record,
|
|
27
|
+
objectName,
|
|
28
|
+
primary,
|
|
29
|
+
merge,
|
|
30
|
+
};
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|