@caraer/client 2.0.569 → 2.0.570
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/api.ts +15 -3
- package/dist/api.d.ts +12 -3
- package/dist/api.js +8 -4
- package/dist/esm/api.d.ts +12 -3
- package/dist/esm/api.js +4 -0
- package/docs/AppSettingFieldSchema.md +2 -2
- package/docs/CreateCompanyRequest.md +2 -0
- package/docs/ExistingWidgetSummary.md +4 -4
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -996,8 +996,8 @@ export interface AppSettingFieldSchema {
|
|
|
996
996
|
'hasValue'?: boolean;
|
|
997
997
|
'mappingValue'?: AppSettingFieldMappingStructure;
|
|
998
998
|
'valueScope'?: string;
|
|
999
|
-
'settingsGroup'?: boolean;
|
|
1000
999
|
'action'?: boolean;
|
|
1000
|
+
'settingsGroup'?: boolean;
|
|
1001
1001
|
'filterPropertyTypes'?: Array<string>;
|
|
1002
1002
|
'filterPropertyFormats'?: Array<string>;
|
|
1003
1003
|
}
|
|
@@ -1706,7 +1706,19 @@ export interface CreateCompanyRequest {
|
|
|
1706
1706
|
* Whether to include records in the company.
|
|
1707
1707
|
*/
|
|
1708
1708
|
'includeRecords'?: boolean;
|
|
1709
|
+
/**
|
|
1710
|
+
* CMS version for the new company: 1 = CMS v1, 2 = CMS v2. When omitted, the server\'s configured default is used.
|
|
1711
|
+
*/
|
|
1712
|
+
'cmsVersion'?: CreateCompanyRequestCmsVersionEnum;
|
|
1709
1713
|
}
|
|
1714
|
+
|
|
1715
|
+
export const CreateCompanyRequestCmsVersionEnum = {
|
|
1716
|
+
NUMBER_1: 1,
|
|
1717
|
+
NUMBER_2: 2,
|
|
1718
|
+
} as const;
|
|
1719
|
+
|
|
1720
|
+
export type CreateCompanyRequestCmsVersionEnum = typeof CreateCompanyRequestCmsVersionEnum[keyof typeof CreateCompanyRequestCmsVersionEnum];
|
|
1721
|
+
|
|
1710
1722
|
/**
|
|
1711
1723
|
* Request body for creating (or fetching an existing) developer project for an app.
|
|
1712
1724
|
*/
|
|
@@ -2590,9 +2602,9 @@ export const EventRsvpRequestScopeEnum = {
|
|
|
2590
2602
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2591
2603
|
|
|
2592
2604
|
export interface ExistingWidgetSummary {
|
|
2593
|
-
'yproperty'?: string;
|
|
2594
|
-
'xproperty'?: string;
|
|
2595
2605
|
'ymetric'?: string;
|
|
2606
|
+
'xproperty'?: string;
|
|
2607
|
+
'yproperty'?: string;
|
|
2596
2608
|
'title'?: string;
|
|
2597
2609
|
'chartType'?: string;
|
|
2598
2610
|
'xProperty'?: string;
|
package/dist/api.d.ts
CHANGED
|
@@ -986,8 +986,8 @@ export interface AppSettingFieldSchema {
|
|
|
986
986
|
'hasValue'?: boolean;
|
|
987
987
|
'mappingValue'?: AppSettingFieldMappingStructure;
|
|
988
988
|
'valueScope'?: string;
|
|
989
|
-
'settingsGroup'?: boolean;
|
|
990
989
|
'action'?: boolean;
|
|
990
|
+
'settingsGroup'?: boolean;
|
|
991
991
|
'filterPropertyTypes'?: Array<string>;
|
|
992
992
|
'filterPropertyFormats'?: Array<string>;
|
|
993
993
|
}
|
|
@@ -1704,7 +1704,16 @@ export interface CreateCompanyRequest {
|
|
|
1704
1704
|
* Whether to include records in the company.
|
|
1705
1705
|
*/
|
|
1706
1706
|
'includeRecords'?: boolean;
|
|
1707
|
+
/**
|
|
1708
|
+
* CMS version for the new company: 1 = CMS v1, 2 = CMS v2. When omitted, the server\'s configured default is used.
|
|
1709
|
+
*/
|
|
1710
|
+
'cmsVersion'?: CreateCompanyRequestCmsVersionEnum;
|
|
1707
1711
|
}
|
|
1712
|
+
export declare const CreateCompanyRequestCmsVersionEnum: {
|
|
1713
|
+
readonly NUMBER_1: 1;
|
|
1714
|
+
readonly NUMBER_2: 2;
|
|
1715
|
+
};
|
|
1716
|
+
export type CreateCompanyRequestCmsVersionEnum = typeof CreateCompanyRequestCmsVersionEnum[keyof typeof CreateCompanyRequestCmsVersionEnum];
|
|
1708
1717
|
/**
|
|
1709
1718
|
* Request body for creating (or fetching an existing) developer project for an app.
|
|
1710
1719
|
*/
|
|
@@ -2580,9 +2589,9 @@ export declare const EventRsvpRequestScopeEnum: {
|
|
|
2580
2589
|
};
|
|
2581
2590
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2582
2591
|
export interface ExistingWidgetSummary {
|
|
2583
|
-
'yproperty'?: string;
|
|
2584
|
-
'xproperty'?: string;
|
|
2585
2592
|
'ymetric'?: string;
|
|
2593
|
+
'xproperty'?: string;
|
|
2594
|
+
'yproperty'?: string;
|
|
2586
2595
|
'title'?: string;
|
|
2587
2596
|
'chartType'?: string;
|
|
2588
2597
|
'xProperty'?: string;
|
package/dist/api.js
CHANGED
|
@@ -22,10 +22,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.WebpagesApi = exports.WebpagesApiFactory = exports.WebpagesApiFp = exports.WebpagesApiAxiosParamCreator = exports.WebMenusApi = exports.WebMenusApiFactory = exports.WebMenusApiFp = exports.WebMenusApiAxiosParamCreator = exports.ViewsApi = void 0;
|
|
25
|
+
exports.CMSV2PagesApiFactory = exports.CMSV2PagesApiFp = exports.CMSV2PagesApiAxiosParamCreator = exports.CMSV2EnvironmentsApi = exports.CMSV2EnvironmentsApiFactory = exports.CMSV2EnvironmentsApiFp = exports.CMSV2EnvironmentsApiAxiosParamCreator = exports.CMSModulesApi = exports.CMSModulesApiFactory = exports.CMSModulesApiFp = exports.CMSModulesApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.AutomationsApi = exports.AutomationsApiFactory = exports.AutomationsApiFp = exports.AutomationsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.AppInstallationRuntimeApi = exports.AppInstallationRuntimeApiFactory = exports.AppInstallationRuntimeApiFp = exports.AppInstallationRuntimeApiAxiosParamCreator = exports.ListAppBarsLocationEnum = exports.AppBarsApi = exports.AppBarsApiFactory = exports.AppBarsApiFp = exports.AppBarsApiAxiosParamCreator = exports.AppBarIframeSessionsApi = exports.AppBarIframeSessionsApiFactory = exports.AppBarIframeSessionsApiFp = exports.AppBarIframeSessionsApiAxiosParamCreator = exports.ValidationErrorTypeEnum = exports.SortItemDirectionEnum = exports.SettingFieldTypeEnum = exports.EventRsvpRequestScopeEnum = exports.EventRsvpRequestPartstatEnum = exports.ErrorResponseRolesEnum = exports.CreatePrivateAppRequestAuthMethodEnum = exports.CreateCompanyRequestCmsVersionEnum = exports.CaraerErrorTypeTypeEnum = exports.CRUDSessionTypeEnum = exports.AppDTOAuthMethodEnum = exports.AppBarDTOLocationEnum = exports.AdvancedRecordQueryRequestStrategyEnum = exports.AdvancedRecordQueryPlanStrategyEnum = void 0;
|
|
26
|
+
exports.ObjectsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.ModuleApi = exports.ModuleApiFactory = exports.ModuleApiFp = exports.ModuleApiAxiosParamCreator = exports.FormsApi = exports.FormsApiFactory = exports.FormsApiFp = exports.FormsApiAxiosParamCreator = exports.FilterApi = exports.FilterApiFactory = exports.FilterApiFp = exports.FilterApiAxiosParamCreator = exports.FileManagementApi = exports.FileManagementApiFactory = exports.FileManagementApiFp = exports.FileManagementApiAxiosParamCreator = exports.FeedsApi = exports.FeedsApiFactory = exports.FeedsApiFp = exports.FeedsApiAxiosParamCreator = exports.DeveloperSandboxesApi = exports.DeveloperSandboxesApiFactory = exports.DeveloperSandboxesApiFp = exports.DeveloperSandboxesApiAxiosParamCreator = exports.DeveloperProjectsApi = exports.DeveloperProjectsApiFactory = exports.DeveloperProjectsApiFp = exports.DeveloperProjectsApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.CalendarsApi = exports.CalendarsApiFactory = exports.CalendarsApiFp = exports.CalendarsApiAxiosParamCreator = exports.CMSV2TransferApi = exports.CMSV2TransferApiFactory = exports.CMSV2TransferApiFp = exports.CMSV2TransferApiAxiosParamCreator = exports.CMSV2PublicApi = exports.CMSV2PublicApiFactory = exports.CMSV2PublicApiFp = exports.CMSV2PublicApiAxiosParamCreator = exports.CMSV2PagesApi = void 0;
|
|
27
|
+
exports.ViewsApiFp = exports.ViewsApiAxiosParamCreator = exports.TraitsApi = exports.TraitsApiFactory = exports.TraitsApiFp = exports.TraitsApiAxiosParamCreator = exports.SyncApi = exports.SyncApiFactory = exports.SyncApiFp = exports.SyncApiAxiosParamCreator = exports.ServerlessFunctionsApi = exports.ServerlessFunctionsApiFactory = exports.ServerlessFunctionsApiFp = exports.ServerlessFunctionsApiAxiosParamCreator = exports.RelationsApi = exports.RelationsApiFactory = exports.RelationsApiFp = exports.RelationsApiAxiosParamCreator = exports.UpdateByUuidRecordReturnFormatEnum = exports.UpdateByUuidParseEnum = exports.UpdateRecordReturnFormatEnum = exports.UpdateParseEnum = exports.ShowByObjectParseEnum = exports.ShowByObjectRecordReturnFormatEnum = exports.ShowParseEnum = exports.ShowRecordReturnFormatEnum = exports.SearchCrossObjectParseEnum = exports.SearchRecordReturnFormatEnum = exports.SearchParseEnum = exports.PreviewParseEnum = exports.IndexFlowParseEnum = exports.IndexRecordReturnFormatEnum = exports.IndexParseEnum = exports.ExtendParseEnum = exports.ExtendRecordReturnFormatEnum = exports.CreateOrUpdateRecordReturnFormatEnum = exports.CreateOrUpdateParseEnum = exports.CreateRecordReturnFormatEnum = exports.CreateParseEnum = exports.RecordsApi = exports.RecordsApiFactory = exports.RecordsApiFp = exports.RecordsApiAxiosParamCreator = exports.PropertyApi = exports.PropertyApiFactory = exports.PropertyApiFp = exports.PropertyApiAxiosParamCreator = exports.ObjectsApi = exports.ObjectsApiFactory = exports.ObjectsApiFp = void 0;
|
|
28
|
+
exports.WebpagesApi = exports.WebpagesApiFactory = exports.WebpagesApiFp = exports.WebpagesApiAxiosParamCreator = exports.WebMenusApi = exports.WebMenusApiFactory = exports.WebMenusApiFp = exports.WebMenusApiAxiosParamCreator = exports.ViewsApi = exports.ViewsApiFactory = void 0;
|
|
29
29
|
const axios_1 = require("axios");
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -77,6 +77,10 @@ exports.CaraerErrorTypeTypeEnum = {
|
|
|
77
77
|
InvalidEmail: 'INVALID_EMAIL',
|
|
78
78
|
InvalidDate: 'INVALID_DATE',
|
|
79
79
|
};
|
|
80
|
+
exports.CreateCompanyRequestCmsVersionEnum = {
|
|
81
|
+
NUMBER_1: 1,
|
|
82
|
+
NUMBER_2: 2,
|
|
83
|
+
};
|
|
80
84
|
exports.CreatePrivateAppRequestAuthMethodEnum = {
|
|
81
85
|
ApiKey: 'API_KEY',
|
|
82
86
|
Oauth2: 'OAUTH2',
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -986,8 +986,8 @@ export interface AppSettingFieldSchema {
|
|
|
986
986
|
'hasValue'?: boolean;
|
|
987
987
|
'mappingValue'?: AppSettingFieldMappingStructure;
|
|
988
988
|
'valueScope'?: string;
|
|
989
|
-
'settingsGroup'?: boolean;
|
|
990
989
|
'action'?: boolean;
|
|
990
|
+
'settingsGroup'?: boolean;
|
|
991
991
|
'filterPropertyTypes'?: Array<string>;
|
|
992
992
|
'filterPropertyFormats'?: Array<string>;
|
|
993
993
|
}
|
|
@@ -1704,7 +1704,16 @@ export interface CreateCompanyRequest {
|
|
|
1704
1704
|
* Whether to include records in the company.
|
|
1705
1705
|
*/
|
|
1706
1706
|
'includeRecords'?: boolean;
|
|
1707
|
+
/**
|
|
1708
|
+
* CMS version for the new company: 1 = CMS v1, 2 = CMS v2. When omitted, the server\'s configured default is used.
|
|
1709
|
+
*/
|
|
1710
|
+
'cmsVersion'?: CreateCompanyRequestCmsVersionEnum;
|
|
1707
1711
|
}
|
|
1712
|
+
export declare const CreateCompanyRequestCmsVersionEnum: {
|
|
1713
|
+
readonly NUMBER_1: 1;
|
|
1714
|
+
readonly NUMBER_2: 2;
|
|
1715
|
+
};
|
|
1716
|
+
export type CreateCompanyRequestCmsVersionEnum = typeof CreateCompanyRequestCmsVersionEnum[keyof typeof CreateCompanyRequestCmsVersionEnum];
|
|
1708
1717
|
/**
|
|
1709
1718
|
* Request body for creating (or fetching an existing) developer project for an app.
|
|
1710
1719
|
*/
|
|
@@ -2580,9 +2589,9 @@ export declare const EventRsvpRequestScopeEnum: {
|
|
|
2580
2589
|
};
|
|
2581
2590
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2582
2591
|
export interface ExistingWidgetSummary {
|
|
2583
|
-
'yproperty'?: string;
|
|
2584
|
-
'xproperty'?: string;
|
|
2585
2592
|
'ymetric'?: string;
|
|
2593
|
+
'xproperty'?: string;
|
|
2594
|
+
'yproperty'?: string;
|
|
2586
2595
|
'title'?: string;
|
|
2587
2596
|
'chartType'?: string;
|
|
2588
2597
|
'xProperty'?: string;
|
package/dist/esm/api.js
CHANGED
|
@@ -71,6 +71,10 @@ export const CaraerErrorTypeTypeEnum = {
|
|
|
71
71
|
InvalidEmail: 'INVALID_EMAIL',
|
|
72
72
|
InvalidDate: 'INVALID_DATE',
|
|
73
73
|
};
|
|
74
|
+
export const CreateCompanyRequestCmsVersionEnum = {
|
|
75
|
+
NUMBER_1: 1,
|
|
76
|
+
NUMBER_2: 2,
|
|
77
|
+
};
|
|
74
78
|
export const CreatePrivateAppRequestAuthMethodEnum = {
|
|
75
79
|
ApiKey: 'API_KEY',
|
|
76
80
|
Oauth2: 'OAUTH2',
|
|
@@ -30,8 +30,8 @@ Name | Type | Description | Notes
|
|
|
30
30
|
**hasValue** | **boolean** | | [optional] [default to undefined]
|
|
31
31
|
**mappingValue** | [**AppSettingFieldMappingStructure**](AppSettingFieldMappingStructure.md) | | [optional] [default to undefined]
|
|
32
32
|
**valueScope** | **string** | | [optional] [default to undefined]
|
|
33
|
-
**settingsGroup** | **boolean** | | [optional] [default to undefined]
|
|
34
33
|
**action** | **boolean** | | [optional] [default to undefined]
|
|
34
|
+
**settingsGroup** | **boolean** | | [optional] [default to undefined]
|
|
35
35
|
**filterPropertyTypes** | **Array<string>** | | [optional] [default to undefined]
|
|
36
36
|
**filterPropertyFormats** | **Array<string>** | | [optional] [default to undefined]
|
|
37
37
|
|
|
@@ -66,8 +66,8 @@ const instance: AppSettingFieldSchema = {
|
|
|
66
66
|
hasValue,
|
|
67
67
|
mappingValue,
|
|
68
68
|
valueScope,
|
|
69
|
-
settingsGroup,
|
|
70
69
|
action,
|
|
70
|
+
settingsGroup,
|
|
71
71
|
filterPropertyTypes,
|
|
72
72
|
filterPropertyFormats,
|
|
73
73
|
};
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**companyName** | **string** | The company name. | [optional] [default to undefined]
|
|
12
12
|
**copyDatabaseId** | **string** | The copy database id. | [optional] [default to undefined]
|
|
13
13
|
**includeRecords** | **boolean** | Whether to include records in the company. | [optional] [default to undefined]
|
|
14
|
+
**cmsVersion** | **number** | CMS version for the new company: 1 = CMS v1, 2 = CMS v2. When omitted, the server\'s configured default is used. | [optional] [default to undefined]
|
|
14
15
|
|
|
15
16
|
## Example
|
|
16
17
|
|
|
@@ -23,6 +24,7 @@ const instance: CreateCompanyRequest = {
|
|
|
23
24
|
companyName,
|
|
24
25
|
copyDatabaseId,
|
|
25
26
|
includeRecords,
|
|
27
|
+
cmsVersion,
|
|
26
28
|
};
|
|
27
29
|
```
|
|
28
30
|
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**yproperty** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**xproperty** | **string** | | [optional] [default to undefined]
|
|
10
8
|
**ymetric** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**xproperty** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**yproperty** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**title** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**chartType** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**xProperty** | **string** | | [optional] [default to undefined]
|
|
@@ -20,9 +20,9 @@ Name | Type | Description | Notes
|
|
|
20
20
|
import { ExistingWidgetSummary } from '@caraer/client';
|
|
21
21
|
|
|
22
22
|
const instance: ExistingWidgetSummary = {
|
|
23
|
-
yproperty,
|
|
24
|
-
xproperty,
|
|
25
23
|
ymetric,
|
|
24
|
+
xproperty,
|
|
25
|
+
yproperty,
|
|
26
26
|
title,
|
|
27
27
|
chartType,
|
|
28
28
|
xProperty,
|