@caraer/client 2.0.601 → 2.0.603
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 +1 -0
- package/api.ts +192 -11
- package/dist/api.d.ts +103 -8
- package/dist/api.js +174 -7
- package/dist/esm/api.d.ts +103 -8
- package/dist/esm/api.js +174 -7
- package/docs/AppInstallationRuntimeApi.md +125 -2
- package/docs/AppSettingContentSource.md +24 -0
- package/docs/AppSettingFieldSchema.md +6 -2
- package/docs/ExistingWidgetSummary.md +4 -4
- package/docs/SettingField.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -42,6 +42,7 @@ docs/AppRequest.md
|
|
|
42
42
|
docs/AppScheduleDTO.md
|
|
43
43
|
docs/AppSettingActionSource.md
|
|
44
44
|
docs/AppSettingCondition.md
|
|
45
|
+
docs/AppSettingContentSource.md
|
|
45
46
|
docs/AppSettingFieldMappingStructure.md
|
|
46
47
|
docs/AppSettingFieldMappingStructureItem.md
|
|
47
48
|
docs/AppSettingFieldSchema.md
|
package/api.ts
CHANGED
|
@@ -950,6 +950,11 @@ export interface AppSettingCondition {
|
|
|
950
950
|
'operator'?: string;
|
|
951
951
|
'value'?: any;
|
|
952
952
|
}
|
|
953
|
+
export interface AppSettingContentSource {
|
|
954
|
+
'type'?: string;
|
|
955
|
+
'serverlessFunctionUuid'?: string;
|
|
956
|
+
'serverlessFunctionName'?: string;
|
|
957
|
+
}
|
|
953
958
|
export interface AppSettingFieldMappingStructure {
|
|
954
959
|
'objectName'?: string;
|
|
955
960
|
'targetKind'?: string;
|
|
@@ -982,6 +987,8 @@ export interface AppSettingFieldSchema {
|
|
|
982
987
|
'options'?: Array<SettingOption>;
|
|
983
988
|
'optionsSource'?: AppSettingOptionsSource;
|
|
984
989
|
'actionSource'?: AppSettingActionSource;
|
|
990
|
+
'contentSource'?: AppSettingContentSource;
|
|
991
|
+
'refreshIntervalSeconds'?: number;
|
|
985
992
|
'defaultValue'?: any;
|
|
986
993
|
'hidden'?: boolean;
|
|
987
994
|
'advanced'?: boolean;
|
|
@@ -998,8 +1005,8 @@ export interface AppSettingFieldSchema {
|
|
|
998
1005
|
'clearValue'?: boolean;
|
|
999
1006
|
'mappingValue'?: AppSettingFieldMappingStructure;
|
|
1000
1007
|
'valueScope'?: string;
|
|
1001
|
-
'action'?: boolean;
|
|
1002
1008
|
'settingsGroup'?: boolean;
|
|
1009
|
+
'action'?: boolean;
|
|
1003
1010
|
'filterPropertyTypes'?: Array<string>;
|
|
1004
1011
|
'filterPropertyFormats'?: Array<string>;
|
|
1005
1012
|
}
|
|
@@ -2772,9 +2779,9 @@ export const EventRsvpRequestScopeEnum = {
|
|
|
2772
2779
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2773
2780
|
|
|
2774
2781
|
export interface ExistingWidgetSummary {
|
|
2775
|
-
'ymetric'?: string;
|
|
2776
|
-
'yproperty'?: string;
|
|
2777
2782
|
'xproperty'?: string;
|
|
2783
|
+
'yproperty'?: string;
|
|
2784
|
+
'ymetric'?: string;
|
|
2778
2785
|
'title'?: string;
|
|
2779
2786
|
'chartType'?: string;
|
|
2780
2787
|
'xProperty'?: string;
|
|
@@ -5897,8 +5904,8 @@ export interface SettingField {
|
|
|
5897
5904
|
'hidden'?: boolean;
|
|
5898
5905
|
'disabled'?: boolean;
|
|
5899
5906
|
'options'?: Array<SettingOption>;
|
|
5900
|
-
'defaultValue'?: any;
|
|
5901
5907
|
'value'?: any;
|
|
5908
|
+
'defaultValue'?: any;
|
|
5902
5909
|
}
|
|
5903
5910
|
|
|
5904
5911
|
export const SettingFieldTypeEnum = {
|
|
@@ -8999,6 +9006,48 @@ export const AppInstallationRuntimeApiAxiosParamCreator = function (configuratio
|
|
|
8999
9006
|
options: localVarRequestOptions,
|
|
9000
9007
|
};
|
|
9001
9008
|
},
|
|
9009
|
+
/**
|
|
9010
|
+
*
|
|
9011
|
+
* @summary Load read-only Markdown content for a setting
|
|
9012
|
+
* @param {string} appUuid
|
|
9013
|
+
* @param {string} fieldName
|
|
9014
|
+
* @param {*} [options] Override http request option.
|
|
9015
|
+
* @throws {RequiredError}
|
|
9016
|
+
*/
|
|
9017
|
+
getSettingContent: async (appUuid: string, fieldName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9018
|
+
// verify required parameter 'appUuid' is not null or undefined
|
|
9019
|
+
assertParamExists('getSettingContent', 'appUuid', appUuid)
|
|
9020
|
+
// verify required parameter 'fieldName' is not null or undefined
|
|
9021
|
+
assertParamExists('getSettingContent', 'fieldName', fieldName)
|
|
9022
|
+
const localVarPath = `/api/v2/apps/{appUuid}/installation/settings/{fieldName}/content`
|
|
9023
|
+
.replace('{appUuid}', encodeURIComponent(String(appUuid)))
|
|
9024
|
+
.replace('{fieldName}', encodeURIComponent(String(fieldName)));
|
|
9025
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9026
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9027
|
+
let baseOptions;
|
|
9028
|
+
if (configuration) {
|
|
9029
|
+
baseOptions = configuration.baseOptions;
|
|
9030
|
+
}
|
|
9031
|
+
|
|
9032
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9033
|
+
const localVarHeaderParameter = {} as any;
|
|
9034
|
+
const localVarQueryParameter = {} as any;
|
|
9035
|
+
|
|
9036
|
+
// authentication bearerAuth required
|
|
9037
|
+
// http bearer authentication required
|
|
9038
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9039
|
+
|
|
9040
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
9041
|
+
|
|
9042
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9043
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9044
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9045
|
+
|
|
9046
|
+
return {
|
|
9047
|
+
url: toPathString(localVarUrlObj),
|
|
9048
|
+
options: localVarRequestOptions,
|
|
9049
|
+
};
|
|
9050
|
+
},
|
|
9002
9051
|
/**
|
|
9003
9052
|
*
|
|
9004
9053
|
* @summary Get installation state map
|
|
@@ -9469,10 +9518,11 @@ export const AppInstallationRuntimeApiAxiosParamCreator = function (configuratio
|
|
|
9469
9518
|
* @param {string} appUuid
|
|
9470
9519
|
* @param {string} provider
|
|
9471
9520
|
* @param {string} [redirectUri]
|
|
9521
|
+
* @param {string} [connectionId]
|
|
9472
9522
|
* @param {*} [options] Override http request option.
|
|
9473
9523
|
* @throws {RequiredError}
|
|
9474
9524
|
*/
|
|
9475
|
-
startOAuth: async (appUuid: string, provider: string, redirectUri?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9525
|
+
startOAuth: async (appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9476
9526
|
// verify required parameter 'appUuid' is not null or undefined
|
|
9477
9527
|
assertParamExists('startOAuth', 'appUuid', appUuid)
|
|
9478
9528
|
// verify required parameter 'provider' is not null or undefined
|
|
@@ -9499,6 +9549,10 @@ export const AppInstallationRuntimeApiAxiosParamCreator = function (configuratio
|
|
|
9499
9549
|
localVarQueryParameter['redirectUri'] = redirectUri;
|
|
9500
9550
|
}
|
|
9501
9551
|
|
|
9552
|
+
if (connectionId !== undefined) {
|
|
9553
|
+
localVarQueryParameter['connectionId'] = connectionId;
|
|
9554
|
+
}
|
|
9555
|
+
|
|
9502
9556
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
9503
9557
|
|
|
9504
9558
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -9547,6 +9601,53 @@ export const AppInstallationRuntimeApiAxiosParamCreator = function (configuratio
|
|
|
9547
9601
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9548
9602
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9549
9603
|
|
|
9604
|
+
return {
|
|
9605
|
+
url: toPathString(localVarUrlObj),
|
|
9606
|
+
options: localVarRequestOptions,
|
|
9607
|
+
};
|
|
9608
|
+
},
|
|
9609
|
+
/**
|
|
9610
|
+
*
|
|
9611
|
+
* @summary Update an external OAuth connection display label
|
|
9612
|
+
* @param {string} appUuid
|
|
9613
|
+
* @param {string} connectionId
|
|
9614
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
9615
|
+
* @param {*} [options] Override http request option.
|
|
9616
|
+
* @throws {RequiredError}
|
|
9617
|
+
*/
|
|
9618
|
+
updateConnectionLabel: async (appUuid: string, connectionId: string, requestBody: { [key: string]: string; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9619
|
+
// verify required parameter 'appUuid' is not null or undefined
|
|
9620
|
+
assertParamExists('updateConnectionLabel', 'appUuid', appUuid)
|
|
9621
|
+
// verify required parameter 'connectionId' is not null or undefined
|
|
9622
|
+
assertParamExists('updateConnectionLabel', 'connectionId', connectionId)
|
|
9623
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
9624
|
+
assertParamExists('updateConnectionLabel', 'requestBody', requestBody)
|
|
9625
|
+
const localVarPath = `/api/v2/apps/{appUuid}/installation/connections/{connectionId}`
|
|
9626
|
+
.replace('{appUuid}', encodeURIComponent(String(appUuid)))
|
|
9627
|
+
.replace('{connectionId}', encodeURIComponent(String(connectionId)));
|
|
9628
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9629
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9630
|
+
let baseOptions;
|
|
9631
|
+
if (configuration) {
|
|
9632
|
+
baseOptions = configuration.baseOptions;
|
|
9633
|
+
}
|
|
9634
|
+
|
|
9635
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
9636
|
+
const localVarHeaderParameter = {} as any;
|
|
9637
|
+
const localVarQueryParameter = {} as any;
|
|
9638
|
+
|
|
9639
|
+
// authentication bearerAuth required
|
|
9640
|
+
// http bearer authentication required
|
|
9641
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9642
|
+
|
|
9643
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9644
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
9645
|
+
|
|
9646
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9647
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9648
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9649
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
9650
|
+
|
|
9550
9651
|
return {
|
|
9551
9652
|
url: toPathString(localVarUrlObj),
|
|
9552
9653
|
options: localVarRequestOptions,
|
|
@@ -9617,6 +9718,20 @@ export const AppInstallationRuntimeApiFp = function(configuration?: Configuratio
|
|
|
9617
9718
|
const localVarOperationServerBasePath = operationServerMap['AppInstallationRuntimeApi.getJob']?.[localVarOperationServerIndex]?.url;
|
|
9618
9719
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9619
9720
|
},
|
|
9721
|
+
/**
|
|
9722
|
+
*
|
|
9723
|
+
* @summary Load read-only Markdown content for a setting
|
|
9724
|
+
* @param {string} appUuid
|
|
9725
|
+
* @param {string} fieldName
|
|
9726
|
+
* @param {*} [options] Override http request option.
|
|
9727
|
+
* @throws {RequiredError}
|
|
9728
|
+
*/
|
|
9729
|
+
async getSettingContent(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringString>> {
|
|
9730
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSettingContent(appUuid, fieldName, options);
|
|
9731
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9732
|
+
const localVarOperationServerBasePath = operationServerMap['AppInstallationRuntimeApi.getSettingContent']?.[localVarOperationServerIndex]?.url;
|
|
9733
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9734
|
+
},
|
|
9620
9735
|
/**
|
|
9621
9736
|
*
|
|
9622
9737
|
* @summary Get installation state map
|
|
@@ -9776,11 +9891,12 @@ export const AppInstallationRuntimeApiFp = function(configuration?: Configuratio
|
|
|
9776
9891
|
* @param {string} appUuid
|
|
9777
9892
|
* @param {string} provider
|
|
9778
9893
|
* @param {string} [redirectUri]
|
|
9894
|
+
* @param {string} [connectionId]
|
|
9779
9895
|
* @param {*} [options] Override http request option.
|
|
9780
9896
|
* @throws {RequiredError}
|
|
9781
9897
|
*/
|
|
9782
|
-
async startOAuth(appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseAppOAuthStartResponseDTO>> {
|
|
9783
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.startOAuth(appUuid, provider, redirectUri, options);
|
|
9898
|
+
async startOAuth(appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseAppOAuthStartResponseDTO>> {
|
|
9899
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.startOAuth(appUuid, provider, redirectUri, connectionId, options);
|
|
9784
9900
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9785
9901
|
const localVarOperationServerBasePath = operationServerMap['AppInstallationRuntimeApi.startOAuth']?.[localVarOperationServerIndex]?.url;
|
|
9786
9902
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -9799,6 +9915,21 @@ export const AppInstallationRuntimeApiFp = function(configuration?: Configuratio
|
|
|
9799
9915
|
const localVarOperationServerBasePath = operationServerMap['AppInstallationRuntimeApi.triggerSettingAction']?.[localVarOperationServerIndex]?.url;
|
|
9800
9916
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9801
9917
|
},
|
|
9918
|
+
/**
|
|
9919
|
+
*
|
|
9920
|
+
* @summary Update an external OAuth connection display label
|
|
9921
|
+
* @param {string} appUuid
|
|
9922
|
+
* @param {string} connectionId
|
|
9923
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
9924
|
+
* @param {*} [options] Override http request option.
|
|
9925
|
+
* @throws {RequiredError}
|
|
9926
|
+
*/
|
|
9927
|
+
async updateConnectionLabel(appUuid: string, connectionId: string, requestBody: { [key: string]: string; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseVoid>> {
|
|
9928
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateConnectionLabel(appUuid, connectionId, requestBody, options);
|
|
9929
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9930
|
+
const localVarOperationServerBasePath = operationServerMap['AppInstallationRuntimeApi.updateConnectionLabel']?.[localVarOperationServerIndex]?.url;
|
|
9931
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9932
|
+
},
|
|
9802
9933
|
}
|
|
9803
9934
|
};
|
|
9804
9935
|
|
|
@@ -9852,6 +9983,17 @@ export const AppInstallationRuntimeApiFactory = function (configuration?: Config
|
|
|
9852
9983
|
getJob(appUuid: string, jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject> {
|
|
9853
9984
|
return localVarFp.getJob(appUuid, jobId, options).then((request) => request(axios, basePath));
|
|
9854
9985
|
},
|
|
9986
|
+
/**
|
|
9987
|
+
*
|
|
9988
|
+
* @summary Load read-only Markdown content for a setting
|
|
9989
|
+
* @param {string} appUuid
|
|
9990
|
+
* @param {string} fieldName
|
|
9991
|
+
* @param {*} [options] Override http request option.
|
|
9992
|
+
* @throws {RequiredError}
|
|
9993
|
+
*/
|
|
9994
|
+
getSettingContent(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringString> {
|
|
9995
|
+
return localVarFp.getSettingContent(appUuid, fieldName, options).then((request) => request(axios, basePath));
|
|
9996
|
+
},
|
|
9855
9997
|
/**
|
|
9856
9998
|
*
|
|
9857
9999
|
* @summary Get installation state map
|
|
@@ -9978,11 +10120,12 @@ export const AppInstallationRuntimeApiFactory = function (configuration?: Config
|
|
|
9978
10120
|
* @param {string} appUuid
|
|
9979
10121
|
* @param {string} provider
|
|
9980
10122
|
* @param {string} [redirectUri]
|
|
10123
|
+
* @param {string} [connectionId]
|
|
9981
10124
|
* @param {*} [options] Override http request option.
|
|
9982
10125
|
* @throws {RequiredError}
|
|
9983
10126
|
*/
|
|
9984
|
-
startOAuth(appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseAppOAuthStartResponseDTO> {
|
|
9985
|
-
return localVarFp.startOAuth(appUuid, provider, redirectUri, options).then((request) => request(axios, basePath));
|
|
10127
|
+
startOAuth(appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseAppOAuthStartResponseDTO> {
|
|
10128
|
+
return localVarFp.startOAuth(appUuid, provider, redirectUri, connectionId, options).then((request) => request(axios, basePath));
|
|
9986
10129
|
},
|
|
9987
10130
|
/**
|
|
9988
10131
|
*
|
|
@@ -9995,6 +10138,18 @@ export const AppInstallationRuntimeApiFactory = function (configuration?: Config
|
|
|
9995
10138
|
triggerSettingAction(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject> {
|
|
9996
10139
|
return localVarFp.triggerSettingAction(appUuid, fieldName, options).then((request) => request(axios, basePath));
|
|
9997
10140
|
},
|
|
10141
|
+
/**
|
|
10142
|
+
*
|
|
10143
|
+
* @summary Update an external OAuth connection display label
|
|
10144
|
+
* @param {string} appUuid
|
|
10145
|
+
* @param {string} connectionId
|
|
10146
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
10147
|
+
* @param {*} [options] Override http request option.
|
|
10148
|
+
* @throws {RequiredError}
|
|
10149
|
+
*/
|
|
10150
|
+
updateConnectionLabel(appUuid: string, connectionId: string, requestBody: { [key: string]: string; }, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseVoid> {
|
|
10151
|
+
return localVarFp.updateConnectionLabel(appUuid, connectionId, requestBody, options).then((request) => request(axios, basePath));
|
|
10152
|
+
},
|
|
9998
10153
|
};
|
|
9999
10154
|
};
|
|
10000
10155
|
|
|
@@ -10050,6 +10205,18 @@ export class AppInstallationRuntimeApi extends BaseAPI {
|
|
|
10050
10205
|
return AppInstallationRuntimeApiFp(this.configuration).getJob(appUuid, jobId, options).then((request) => request(this.axios, this.basePath));
|
|
10051
10206
|
}
|
|
10052
10207
|
|
|
10208
|
+
/**
|
|
10209
|
+
*
|
|
10210
|
+
* @summary Load read-only Markdown content for a setting
|
|
10211
|
+
* @param {string} appUuid
|
|
10212
|
+
* @param {string} fieldName
|
|
10213
|
+
* @param {*} [options] Override http request option.
|
|
10214
|
+
* @throws {RequiredError}
|
|
10215
|
+
*/
|
|
10216
|
+
public getSettingContent(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig) {
|
|
10217
|
+
return AppInstallationRuntimeApiFp(this.configuration).getSettingContent(appUuid, fieldName, options).then((request) => request(this.axios, this.basePath));
|
|
10218
|
+
}
|
|
10219
|
+
|
|
10053
10220
|
/**
|
|
10054
10221
|
*
|
|
10055
10222
|
* @summary Get installation state map
|
|
@@ -10187,11 +10354,12 @@ export class AppInstallationRuntimeApi extends BaseAPI {
|
|
|
10187
10354
|
* @param {string} appUuid
|
|
10188
10355
|
* @param {string} provider
|
|
10189
10356
|
* @param {string} [redirectUri]
|
|
10357
|
+
* @param {string} [connectionId]
|
|
10190
10358
|
* @param {*} [options] Override http request option.
|
|
10191
10359
|
* @throws {RequiredError}
|
|
10192
10360
|
*/
|
|
10193
|
-
public startOAuth(appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig) {
|
|
10194
|
-
return AppInstallationRuntimeApiFp(this.configuration).startOAuth(appUuid, provider, redirectUri, options).then((request) => request(this.axios, this.basePath));
|
|
10361
|
+
public startOAuth(appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options?: RawAxiosRequestConfig) {
|
|
10362
|
+
return AppInstallationRuntimeApiFp(this.configuration).startOAuth(appUuid, provider, redirectUri, connectionId, options).then((request) => request(this.axios, this.basePath));
|
|
10195
10363
|
}
|
|
10196
10364
|
|
|
10197
10365
|
/**
|
|
@@ -10205,6 +10373,19 @@ export class AppInstallationRuntimeApi extends BaseAPI {
|
|
|
10205
10373
|
public triggerSettingAction(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig) {
|
|
10206
10374
|
return AppInstallationRuntimeApiFp(this.configuration).triggerSettingAction(appUuid, fieldName, options).then((request) => request(this.axios, this.basePath));
|
|
10207
10375
|
}
|
|
10376
|
+
|
|
10377
|
+
/**
|
|
10378
|
+
*
|
|
10379
|
+
* @summary Update an external OAuth connection display label
|
|
10380
|
+
* @param {string} appUuid
|
|
10381
|
+
* @param {string} connectionId
|
|
10382
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
10383
|
+
* @param {*} [options] Override http request option.
|
|
10384
|
+
* @throws {RequiredError}
|
|
10385
|
+
*/
|
|
10386
|
+
public updateConnectionLabel(appUuid: string, connectionId: string, requestBody: { [key: string]: string; }, options?: RawAxiosRequestConfig) {
|
|
10387
|
+
return AppInstallationRuntimeApiFp(this.configuration).updateConnectionLabel(appUuid, connectionId, requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
10388
|
+
}
|
|
10208
10389
|
}
|
|
10209
10390
|
|
|
10210
10391
|
|
package/dist/api.d.ts
CHANGED
|
@@ -940,6 +940,11 @@ export interface AppSettingCondition {
|
|
|
940
940
|
'operator'?: string;
|
|
941
941
|
'value'?: any;
|
|
942
942
|
}
|
|
943
|
+
export interface AppSettingContentSource {
|
|
944
|
+
'type'?: string;
|
|
945
|
+
'serverlessFunctionUuid'?: string;
|
|
946
|
+
'serverlessFunctionName'?: string;
|
|
947
|
+
}
|
|
943
948
|
export interface AppSettingFieldMappingStructure {
|
|
944
949
|
'objectName'?: string;
|
|
945
950
|
'targetKind'?: string;
|
|
@@ -972,6 +977,8 @@ export interface AppSettingFieldSchema {
|
|
|
972
977
|
'options'?: Array<SettingOption>;
|
|
973
978
|
'optionsSource'?: AppSettingOptionsSource;
|
|
974
979
|
'actionSource'?: AppSettingActionSource;
|
|
980
|
+
'contentSource'?: AppSettingContentSource;
|
|
981
|
+
'refreshIntervalSeconds'?: number;
|
|
975
982
|
'defaultValue'?: any;
|
|
976
983
|
'hidden'?: boolean;
|
|
977
984
|
'advanced'?: boolean;
|
|
@@ -988,8 +995,8 @@ export interface AppSettingFieldSchema {
|
|
|
988
995
|
'clearValue'?: boolean;
|
|
989
996
|
'mappingValue'?: AppSettingFieldMappingStructure;
|
|
990
997
|
'valueScope'?: string;
|
|
991
|
-
'action'?: boolean;
|
|
992
998
|
'settingsGroup'?: boolean;
|
|
999
|
+
'action'?: boolean;
|
|
993
1000
|
'filterPropertyTypes'?: Array<string>;
|
|
994
1001
|
'filterPropertyFormats'?: Array<string>;
|
|
995
1002
|
}
|
|
@@ -2765,9 +2772,9 @@ export declare const EventRsvpRequestScopeEnum: {
|
|
|
2765
2772
|
};
|
|
2766
2773
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2767
2774
|
export interface ExistingWidgetSummary {
|
|
2768
|
-
'ymetric'?: string;
|
|
2769
|
-
'yproperty'?: string;
|
|
2770
2775
|
'xproperty'?: string;
|
|
2776
|
+
'yproperty'?: string;
|
|
2777
|
+
'ymetric'?: string;
|
|
2771
2778
|
'title'?: string;
|
|
2772
2779
|
'chartType'?: string;
|
|
2773
2780
|
'xProperty'?: string;
|
|
@@ -5950,8 +5957,8 @@ export interface SettingField {
|
|
|
5950
5957
|
'hidden'?: boolean;
|
|
5951
5958
|
'disabled'?: boolean;
|
|
5952
5959
|
'options'?: Array<SettingOption>;
|
|
5953
|
-
'defaultValue'?: any;
|
|
5954
5960
|
'value'?: any;
|
|
5961
|
+
'defaultValue'?: any;
|
|
5955
5962
|
}
|
|
5956
5963
|
export declare const SettingFieldTypeEnum: {
|
|
5957
5964
|
readonly String: "STRING";
|
|
@@ -8784,6 +8791,15 @@ export declare const AppInstallationRuntimeApiAxiosParamCreator: (configuration?
|
|
|
8784
8791
|
* @throws {RequiredError}
|
|
8785
8792
|
*/
|
|
8786
8793
|
getJob: (appUuid: string, jobId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8794
|
+
/**
|
|
8795
|
+
*
|
|
8796
|
+
* @summary Load read-only Markdown content for a setting
|
|
8797
|
+
* @param {string} appUuid
|
|
8798
|
+
* @param {string} fieldName
|
|
8799
|
+
* @param {*} [options] Override http request option.
|
|
8800
|
+
* @throws {RequiredError}
|
|
8801
|
+
*/
|
|
8802
|
+
getSettingContent: (appUuid: string, fieldName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8787
8803
|
/**
|
|
8788
8804
|
*
|
|
8789
8805
|
* @summary Get installation state map
|
|
@@ -8894,10 +8910,11 @@ export declare const AppInstallationRuntimeApiAxiosParamCreator: (configuration?
|
|
|
8894
8910
|
* @param {string} appUuid
|
|
8895
8911
|
* @param {string} provider
|
|
8896
8912
|
* @param {string} [redirectUri]
|
|
8913
|
+
* @param {string} [connectionId]
|
|
8897
8914
|
* @param {*} [options] Override http request option.
|
|
8898
8915
|
* @throws {RequiredError}
|
|
8899
8916
|
*/
|
|
8900
|
-
startOAuth: (appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8917
|
+
startOAuth: (appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8901
8918
|
/**
|
|
8902
8919
|
*
|
|
8903
8920
|
* @summary Trigger an ACTION setting without saving settings
|
|
@@ -8907,6 +8924,18 @@ export declare const AppInstallationRuntimeApiAxiosParamCreator: (configuration?
|
|
|
8907
8924
|
* @throws {RequiredError}
|
|
8908
8925
|
*/
|
|
8909
8926
|
triggerSettingAction: (appUuid: string, fieldName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8927
|
+
/**
|
|
8928
|
+
*
|
|
8929
|
+
* @summary Update an external OAuth connection display label
|
|
8930
|
+
* @param {string} appUuid
|
|
8931
|
+
* @param {string} connectionId
|
|
8932
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
8933
|
+
* @param {*} [options] Override http request option.
|
|
8934
|
+
* @throws {RequiredError}
|
|
8935
|
+
*/
|
|
8936
|
+
updateConnectionLabel: (appUuid: string, connectionId: string, requestBody: {
|
|
8937
|
+
[key: string]: string;
|
|
8938
|
+
}, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8910
8939
|
};
|
|
8911
8940
|
/**
|
|
8912
8941
|
* AppInstallationRuntimeApi - functional programming interface
|
|
@@ -8950,6 +8979,15 @@ export declare const AppInstallationRuntimeApiFp: (configuration?: Configuration
|
|
|
8950
8979
|
* @throws {RequiredError}
|
|
8951
8980
|
*/
|
|
8952
8981
|
getJob(appUuid: string, jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>>;
|
|
8982
|
+
/**
|
|
8983
|
+
*
|
|
8984
|
+
* @summary Load read-only Markdown content for a setting
|
|
8985
|
+
* @param {string} appUuid
|
|
8986
|
+
* @param {string} fieldName
|
|
8987
|
+
* @param {*} [options] Override http request option.
|
|
8988
|
+
* @throws {RequiredError}
|
|
8989
|
+
*/
|
|
8990
|
+
getSettingContent(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringString>>;
|
|
8953
8991
|
/**
|
|
8954
8992
|
*
|
|
8955
8993
|
* @summary Get installation state map
|
|
@@ -9060,10 +9098,11 @@ export declare const AppInstallationRuntimeApiFp: (configuration?: Configuration
|
|
|
9060
9098
|
* @param {string} appUuid
|
|
9061
9099
|
* @param {string} provider
|
|
9062
9100
|
* @param {string} [redirectUri]
|
|
9101
|
+
* @param {string} [connectionId]
|
|
9063
9102
|
* @param {*} [options] Override http request option.
|
|
9064
9103
|
* @throws {RequiredError}
|
|
9065
9104
|
*/
|
|
9066
|
-
startOAuth(appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseAppOAuthStartResponseDTO>>;
|
|
9105
|
+
startOAuth(appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseAppOAuthStartResponseDTO>>;
|
|
9067
9106
|
/**
|
|
9068
9107
|
*
|
|
9069
9108
|
* @summary Trigger an ACTION setting without saving settings
|
|
@@ -9073,6 +9112,18 @@ export declare const AppInstallationRuntimeApiFp: (configuration?: Configuration
|
|
|
9073
9112
|
* @throws {RequiredError}
|
|
9074
9113
|
*/
|
|
9075
9114
|
triggerSettingAction(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>>;
|
|
9115
|
+
/**
|
|
9116
|
+
*
|
|
9117
|
+
* @summary Update an external OAuth connection display label
|
|
9118
|
+
* @param {string} appUuid
|
|
9119
|
+
* @param {string} connectionId
|
|
9120
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
9121
|
+
* @param {*} [options] Override http request option.
|
|
9122
|
+
* @throws {RequiredError}
|
|
9123
|
+
*/
|
|
9124
|
+
updateConnectionLabel(appUuid: string, connectionId: string, requestBody: {
|
|
9125
|
+
[key: string]: string;
|
|
9126
|
+
}, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseVoid>>;
|
|
9076
9127
|
};
|
|
9077
9128
|
/**
|
|
9078
9129
|
* AppInstallationRuntimeApi - factory interface
|
|
@@ -9116,6 +9167,15 @@ export declare const AppInstallationRuntimeApiFactory: (configuration?: Configur
|
|
|
9116
9167
|
* @throws {RequiredError}
|
|
9117
9168
|
*/
|
|
9118
9169
|
getJob(appUuid: string, jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject>;
|
|
9170
|
+
/**
|
|
9171
|
+
*
|
|
9172
|
+
* @summary Load read-only Markdown content for a setting
|
|
9173
|
+
* @param {string} appUuid
|
|
9174
|
+
* @param {string} fieldName
|
|
9175
|
+
* @param {*} [options] Override http request option.
|
|
9176
|
+
* @throws {RequiredError}
|
|
9177
|
+
*/
|
|
9178
|
+
getSettingContent(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringString>;
|
|
9119
9179
|
/**
|
|
9120
9180
|
*
|
|
9121
9181
|
* @summary Get installation state map
|
|
@@ -9226,10 +9286,11 @@ export declare const AppInstallationRuntimeApiFactory: (configuration?: Configur
|
|
|
9226
9286
|
* @param {string} appUuid
|
|
9227
9287
|
* @param {string} provider
|
|
9228
9288
|
* @param {string} [redirectUri]
|
|
9289
|
+
* @param {string} [connectionId]
|
|
9229
9290
|
* @param {*} [options] Override http request option.
|
|
9230
9291
|
* @throws {RequiredError}
|
|
9231
9292
|
*/
|
|
9232
|
-
startOAuth(appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseAppOAuthStartResponseDTO>;
|
|
9293
|
+
startOAuth(appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseAppOAuthStartResponseDTO>;
|
|
9233
9294
|
/**
|
|
9234
9295
|
*
|
|
9235
9296
|
* @summary Trigger an ACTION setting without saving settings
|
|
@@ -9239,6 +9300,18 @@ export declare const AppInstallationRuntimeApiFactory: (configuration?: Configur
|
|
|
9239
9300
|
* @throws {RequiredError}
|
|
9240
9301
|
*/
|
|
9241
9302
|
triggerSettingAction(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject>;
|
|
9303
|
+
/**
|
|
9304
|
+
*
|
|
9305
|
+
* @summary Update an external OAuth connection display label
|
|
9306
|
+
* @param {string} appUuid
|
|
9307
|
+
* @param {string} connectionId
|
|
9308
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
9309
|
+
* @param {*} [options] Override http request option.
|
|
9310
|
+
* @throws {RequiredError}
|
|
9311
|
+
*/
|
|
9312
|
+
updateConnectionLabel(appUuid: string, connectionId: string, requestBody: {
|
|
9313
|
+
[key: string]: string;
|
|
9314
|
+
}, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseVoid>;
|
|
9242
9315
|
};
|
|
9243
9316
|
/**
|
|
9244
9317
|
* AppInstallationRuntimeApi - object-oriented interface
|
|
@@ -9282,6 +9355,15 @@ export declare class AppInstallationRuntimeApi extends BaseAPI {
|
|
|
9282
9355
|
* @throws {RequiredError}
|
|
9283
9356
|
*/
|
|
9284
9357
|
getJob(appUuid: string, jobId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseMapStringObject, any, {}>>;
|
|
9358
|
+
/**
|
|
9359
|
+
*
|
|
9360
|
+
* @summary Load read-only Markdown content for a setting
|
|
9361
|
+
* @param {string} appUuid
|
|
9362
|
+
* @param {string} fieldName
|
|
9363
|
+
* @param {*} [options] Override http request option.
|
|
9364
|
+
* @throws {RequiredError}
|
|
9365
|
+
*/
|
|
9366
|
+
getSettingContent(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseMapStringString, any, {}>>;
|
|
9285
9367
|
/**
|
|
9286
9368
|
*
|
|
9287
9369
|
* @summary Get installation state map
|
|
@@ -9392,10 +9474,11 @@ export declare class AppInstallationRuntimeApi extends BaseAPI {
|
|
|
9392
9474
|
* @param {string} appUuid
|
|
9393
9475
|
* @param {string} provider
|
|
9394
9476
|
* @param {string} [redirectUri]
|
|
9477
|
+
* @param {string} [connectionId]
|
|
9395
9478
|
* @param {*} [options] Override http request option.
|
|
9396
9479
|
* @throws {RequiredError}
|
|
9397
9480
|
*/
|
|
9398
|
-
startOAuth(appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseAppOAuthStartResponseDTO, any, {}>>;
|
|
9481
|
+
startOAuth(appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseAppOAuthStartResponseDTO, any, {}>>;
|
|
9399
9482
|
/**
|
|
9400
9483
|
*
|
|
9401
9484
|
* @summary Trigger an ACTION setting without saving settings
|
|
@@ -9405,6 +9488,18 @@ export declare class AppInstallationRuntimeApi extends BaseAPI {
|
|
|
9405
9488
|
* @throws {RequiredError}
|
|
9406
9489
|
*/
|
|
9407
9490
|
triggerSettingAction(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseMapStringObject, any, {}>>;
|
|
9491
|
+
/**
|
|
9492
|
+
*
|
|
9493
|
+
* @summary Update an external OAuth connection display label
|
|
9494
|
+
* @param {string} appUuid
|
|
9495
|
+
* @param {string} connectionId
|
|
9496
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
9497
|
+
* @param {*} [options] Override http request option.
|
|
9498
|
+
* @throws {RequiredError}
|
|
9499
|
+
*/
|
|
9500
|
+
updateConnectionLabel(appUuid: string, connectionId: string, requestBody: {
|
|
9501
|
+
[key: string]: string;
|
|
9502
|
+
}, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseVoid, any, {}>>;
|
|
9408
9503
|
}
|
|
9409
9504
|
/**
|
|
9410
9505
|
* ApplicationsApi - axios parameter creator
|