@caraer/client 2.0.601 → 2.0.602
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 +104 -9
- package/dist/api.d.ts +58 -6
- package/dist/api.js +98 -7
- package/dist/esm/api.d.ts +58 -6
- package/dist/esm/api.js +98 -7
- package/docs/AppInstallationRuntimeApi.md +67 -2
- package/docs/ExistingWidgetSummary.md +2 -2
- package/docs/SettingField.md +2 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2773,8 +2773,8 @@ export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof t
|
|
|
2773
2773
|
|
|
2774
2774
|
export interface ExistingWidgetSummary {
|
|
2775
2775
|
'ymetric'?: string;
|
|
2776
|
-
'yproperty'?: string;
|
|
2777
2776
|
'xproperty'?: string;
|
|
2777
|
+
'yproperty'?: string;
|
|
2778
2778
|
'title'?: string;
|
|
2779
2779
|
'chartType'?: string;
|
|
2780
2780
|
'xProperty'?: string;
|
|
@@ -5897,8 +5897,8 @@ export interface SettingField {
|
|
|
5897
5897
|
'hidden'?: boolean;
|
|
5898
5898
|
'disabled'?: boolean;
|
|
5899
5899
|
'options'?: Array<SettingOption>;
|
|
5900
|
-
'defaultValue'?: any;
|
|
5901
5900
|
'value'?: any;
|
|
5901
|
+
'defaultValue'?: any;
|
|
5902
5902
|
}
|
|
5903
5903
|
|
|
5904
5904
|
export const SettingFieldTypeEnum = {
|
|
@@ -9469,10 +9469,11 @@ export const AppInstallationRuntimeApiAxiosParamCreator = function (configuratio
|
|
|
9469
9469
|
* @param {string} appUuid
|
|
9470
9470
|
* @param {string} provider
|
|
9471
9471
|
* @param {string} [redirectUri]
|
|
9472
|
+
* @param {string} [connectionId]
|
|
9472
9473
|
* @param {*} [options] Override http request option.
|
|
9473
9474
|
* @throws {RequiredError}
|
|
9474
9475
|
*/
|
|
9475
|
-
startOAuth: async (appUuid: string, provider: string, redirectUri?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9476
|
+
startOAuth: async (appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9476
9477
|
// verify required parameter 'appUuid' is not null or undefined
|
|
9477
9478
|
assertParamExists('startOAuth', 'appUuid', appUuid)
|
|
9478
9479
|
// verify required parameter 'provider' is not null or undefined
|
|
@@ -9499,6 +9500,10 @@ export const AppInstallationRuntimeApiAxiosParamCreator = function (configuratio
|
|
|
9499
9500
|
localVarQueryParameter['redirectUri'] = redirectUri;
|
|
9500
9501
|
}
|
|
9501
9502
|
|
|
9503
|
+
if (connectionId !== undefined) {
|
|
9504
|
+
localVarQueryParameter['connectionId'] = connectionId;
|
|
9505
|
+
}
|
|
9506
|
+
|
|
9502
9507
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
9503
9508
|
|
|
9504
9509
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -9547,6 +9552,53 @@ export const AppInstallationRuntimeApiAxiosParamCreator = function (configuratio
|
|
|
9547
9552
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9548
9553
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9549
9554
|
|
|
9555
|
+
return {
|
|
9556
|
+
url: toPathString(localVarUrlObj),
|
|
9557
|
+
options: localVarRequestOptions,
|
|
9558
|
+
};
|
|
9559
|
+
},
|
|
9560
|
+
/**
|
|
9561
|
+
*
|
|
9562
|
+
* @summary Update an external OAuth connection display label
|
|
9563
|
+
* @param {string} appUuid
|
|
9564
|
+
* @param {string} connectionId
|
|
9565
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
9566
|
+
* @param {*} [options] Override http request option.
|
|
9567
|
+
* @throws {RequiredError}
|
|
9568
|
+
*/
|
|
9569
|
+
updateConnectionLabel: async (appUuid: string, connectionId: string, requestBody: { [key: string]: string; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9570
|
+
// verify required parameter 'appUuid' is not null or undefined
|
|
9571
|
+
assertParamExists('updateConnectionLabel', 'appUuid', appUuid)
|
|
9572
|
+
// verify required parameter 'connectionId' is not null or undefined
|
|
9573
|
+
assertParamExists('updateConnectionLabel', 'connectionId', connectionId)
|
|
9574
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
9575
|
+
assertParamExists('updateConnectionLabel', 'requestBody', requestBody)
|
|
9576
|
+
const localVarPath = `/api/v2/apps/{appUuid}/installation/connections/{connectionId}`
|
|
9577
|
+
.replace('{appUuid}', encodeURIComponent(String(appUuid)))
|
|
9578
|
+
.replace('{connectionId}', encodeURIComponent(String(connectionId)));
|
|
9579
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9580
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9581
|
+
let baseOptions;
|
|
9582
|
+
if (configuration) {
|
|
9583
|
+
baseOptions = configuration.baseOptions;
|
|
9584
|
+
}
|
|
9585
|
+
|
|
9586
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
9587
|
+
const localVarHeaderParameter = {} as any;
|
|
9588
|
+
const localVarQueryParameter = {} as any;
|
|
9589
|
+
|
|
9590
|
+
// authentication bearerAuth required
|
|
9591
|
+
// http bearer authentication required
|
|
9592
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9593
|
+
|
|
9594
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9595
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
9596
|
+
|
|
9597
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9598
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9599
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9600
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
9601
|
+
|
|
9550
9602
|
return {
|
|
9551
9603
|
url: toPathString(localVarUrlObj),
|
|
9552
9604
|
options: localVarRequestOptions,
|
|
@@ -9776,11 +9828,12 @@ export const AppInstallationRuntimeApiFp = function(configuration?: Configuratio
|
|
|
9776
9828
|
* @param {string} appUuid
|
|
9777
9829
|
* @param {string} provider
|
|
9778
9830
|
* @param {string} [redirectUri]
|
|
9831
|
+
* @param {string} [connectionId]
|
|
9779
9832
|
* @param {*} [options] Override http request option.
|
|
9780
9833
|
* @throws {RequiredError}
|
|
9781
9834
|
*/
|
|
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);
|
|
9835
|
+
async startOAuth(appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseAppOAuthStartResponseDTO>> {
|
|
9836
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.startOAuth(appUuid, provider, redirectUri, connectionId, options);
|
|
9784
9837
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9785
9838
|
const localVarOperationServerBasePath = operationServerMap['AppInstallationRuntimeApi.startOAuth']?.[localVarOperationServerIndex]?.url;
|
|
9786
9839
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -9799,6 +9852,21 @@ export const AppInstallationRuntimeApiFp = function(configuration?: Configuratio
|
|
|
9799
9852
|
const localVarOperationServerBasePath = operationServerMap['AppInstallationRuntimeApi.triggerSettingAction']?.[localVarOperationServerIndex]?.url;
|
|
9800
9853
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9801
9854
|
},
|
|
9855
|
+
/**
|
|
9856
|
+
*
|
|
9857
|
+
* @summary Update an external OAuth connection display label
|
|
9858
|
+
* @param {string} appUuid
|
|
9859
|
+
* @param {string} connectionId
|
|
9860
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
9861
|
+
* @param {*} [options] Override http request option.
|
|
9862
|
+
* @throws {RequiredError}
|
|
9863
|
+
*/
|
|
9864
|
+
async updateConnectionLabel(appUuid: string, connectionId: string, requestBody: { [key: string]: string; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseVoid>> {
|
|
9865
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateConnectionLabel(appUuid, connectionId, requestBody, options);
|
|
9866
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9867
|
+
const localVarOperationServerBasePath = operationServerMap['AppInstallationRuntimeApi.updateConnectionLabel']?.[localVarOperationServerIndex]?.url;
|
|
9868
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9869
|
+
},
|
|
9802
9870
|
}
|
|
9803
9871
|
};
|
|
9804
9872
|
|
|
@@ -9978,11 +10046,12 @@ export const AppInstallationRuntimeApiFactory = function (configuration?: Config
|
|
|
9978
10046
|
* @param {string} appUuid
|
|
9979
10047
|
* @param {string} provider
|
|
9980
10048
|
* @param {string} [redirectUri]
|
|
10049
|
+
* @param {string} [connectionId]
|
|
9981
10050
|
* @param {*} [options] Override http request option.
|
|
9982
10051
|
* @throws {RequiredError}
|
|
9983
10052
|
*/
|
|
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));
|
|
10053
|
+
startOAuth(appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseAppOAuthStartResponseDTO> {
|
|
10054
|
+
return localVarFp.startOAuth(appUuid, provider, redirectUri, connectionId, options).then((request) => request(axios, basePath));
|
|
9986
10055
|
},
|
|
9987
10056
|
/**
|
|
9988
10057
|
*
|
|
@@ -9995,6 +10064,18 @@ export const AppInstallationRuntimeApiFactory = function (configuration?: Config
|
|
|
9995
10064
|
triggerSettingAction(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject> {
|
|
9996
10065
|
return localVarFp.triggerSettingAction(appUuid, fieldName, options).then((request) => request(axios, basePath));
|
|
9997
10066
|
},
|
|
10067
|
+
/**
|
|
10068
|
+
*
|
|
10069
|
+
* @summary Update an external OAuth connection display label
|
|
10070
|
+
* @param {string} appUuid
|
|
10071
|
+
* @param {string} connectionId
|
|
10072
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
10073
|
+
* @param {*} [options] Override http request option.
|
|
10074
|
+
* @throws {RequiredError}
|
|
10075
|
+
*/
|
|
10076
|
+
updateConnectionLabel(appUuid: string, connectionId: string, requestBody: { [key: string]: string; }, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseVoid> {
|
|
10077
|
+
return localVarFp.updateConnectionLabel(appUuid, connectionId, requestBody, options).then((request) => request(axios, basePath));
|
|
10078
|
+
},
|
|
9998
10079
|
};
|
|
9999
10080
|
};
|
|
10000
10081
|
|
|
@@ -10187,11 +10268,12 @@ export class AppInstallationRuntimeApi extends BaseAPI {
|
|
|
10187
10268
|
* @param {string} appUuid
|
|
10188
10269
|
* @param {string} provider
|
|
10189
10270
|
* @param {string} [redirectUri]
|
|
10271
|
+
* @param {string} [connectionId]
|
|
10190
10272
|
* @param {*} [options] Override http request option.
|
|
10191
10273
|
* @throws {RequiredError}
|
|
10192
10274
|
*/
|
|
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));
|
|
10275
|
+
public startOAuth(appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options?: RawAxiosRequestConfig) {
|
|
10276
|
+
return AppInstallationRuntimeApiFp(this.configuration).startOAuth(appUuid, provider, redirectUri, connectionId, options).then((request) => request(this.axios, this.basePath));
|
|
10195
10277
|
}
|
|
10196
10278
|
|
|
10197
10279
|
/**
|
|
@@ -10205,6 +10287,19 @@ export class AppInstallationRuntimeApi extends BaseAPI {
|
|
|
10205
10287
|
public triggerSettingAction(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig) {
|
|
10206
10288
|
return AppInstallationRuntimeApiFp(this.configuration).triggerSettingAction(appUuid, fieldName, options).then((request) => request(this.axios, this.basePath));
|
|
10207
10289
|
}
|
|
10290
|
+
|
|
10291
|
+
/**
|
|
10292
|
+
*
|
|
10293
|
+
* @summary Update an external OAuth connection display label
|
|
10294
|
+
* @param {string} appUuid
|
|
10295
|
+
* @param {string} connectionId
|
|
10296
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
10297
|
+
* @param {*} [options] Override http request option.
|
|
10298
|
+
* @throws {RequiredError}
|
|
10299
|
+
*/
|
|
10300
|
+
public updateConnectionLabel(appUuid: string, connectionId: string, requestBody: { [key: string]: string; }, options?: RawAxiosRequestConfig) {
|
|
10301
|
+
return AppInstallationRuntimeApiFp(this.configuration).updateConnectionLabel(appUuid, connectionId, requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
10302
|
+
}
|
|
10208
10303
|
}
|
|
10209
10304
|
|
|
10210
10305
|
|
package/dist/api.d.ts
CHANGED
|
@@ -2766,8 +2766,8 @@ export declare const EventRsvpRequestScopeEnum: {
|
|
|
2766
2766
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2767
2767
|
export interface ExistingWidgetSummary {
|
|
2768
2768
|
'ymetric'?: string;
|
|
2769
|
-
'yproperty'?: string;
|
|
2770
2769
|
'xproperty'?: string;
|
|
2770
|
+
'yproperty'?: string;
|
|
2771
2771
|
'title'?: string;
|
|
2772
2772
|
'chartType'?: string;
|
|
2773
2773
|
'xProperty'?: string;
|
|
@@ -5950,8 +5950,8 @@ export interface SettingField {
|
|
|
5950
5950
|
'hidden'?: boolean;
|
|
5951
5951
|
'disabled'?: boolean;
|
|
5952
5952
|
'options'?: Array<SettingOption>;
|
|
5953
|
-
'defaultValue'?: any;
|
|
5954
5953
|
'value'?: any;
|
|
5954
|
+
'defaultValue'?: any;
|
|
5955
5955
|
}
|
|
5956
5956
|
export declare const SettingFieldTypeEnum: {
|
|
5957
5957
|
readonly String: "STRING";
|
|
@@ -8894,10 +8894,11 @@ export declare const AppInstallationRuntimeApiAxiosParamCreator: (configuration?
|
|
|
8894
8894
|
* @param {string} appUuid
|
|
8895
8895
|
* @param {string} provider
|
|
8896
8896
|
* @param {string} [redirectUri]
|
|
8897
|
+
* @param {string} [connectionId]
|
|
8897
8898
|
* @param {*} [options] Override http request option.
|
|
8898
8899
|
* @throws {RequiredError}
|
|
8899
8900
|
*/
|
|
8900
|
-
startOAuth: (appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8901
|
+
startOAuth: (appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8901
8902
|
/**
|
|
8902
8903
|
*
|
|
8903
8904
|
* @summary Trigger an ACTION setting without saving settings
|
|
@@ -8907,6 +8908,18 @@ export declare const AppInstallationRuntimeApiAxiosParamCreator: (configuration?
|
|
|
8907
8908
|
* @throws {RequiredError}
|
|
8908
8909
|
*/
|
|
8909
8910
|
triggerSettingAction: (appUuid: string, fieldName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8911
|
+
/**
|
|
8912
|
+
*
|
|
8913
|
+
* @summary Update an external OAuth connection display label
|
|
8914
|
+
* @param {string} appUuid
|
|
8915
|
+
* @param {string} connectionId
|
|
8916
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
8917
|
+
* @param {*} [options] Override http request option.
|
|
8918
|
+
* @throws {RequiredError}
|
|
8919
|
+
*/
|
|
8920
|
+
updateConnectionLabel: (appUuid: string, connectionId: string, requestBody: {
|
|
8921
|
+
[key: string]: string;
|
|
8922
|
+
}, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8910
8923
|
};
|
|
8911
8924
|
/**
|
|
8912
8925
|
* AppInstallationRuntimeApi - functional programming interface
|
|
@@ -9060,10 +9073,11 @@ export declare const AppInstallationRuntimeApiFp: (configuration?: Configuration
|
|
|
9060
9073
|
* @param {string} appUuid
|
|
9061
9074
|
* @param {string} provider
|
|
9062
9075
|
* @param {string} [redirectUri]
|
|
9076
|
+
* @param {string} [connectionId]
|
|
9063
9077
|
* @param {*} [options] Override http request option.
|
|
9064
9078
|
* @throws {RequiredError}
|
|
9065
9079
|
*/
|
|
9066
|
-
startOAuth(appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseAppOAuthStartResponseDTO>>;
|
|
9080
|
+
startOAuth(appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseAppOAuthStartResponseDTO>>;
|
|
9067
9081
|
/**
|
|
9068
9082
|
*
|
|
9069
9083
|
* @summary Trigger an ACTION setting without saving settings
|
|
@@ -9073,6 +9087,18 @@ export declare const AppInstallationRuntimeApiFp: (configuration?: Configuration
|
|
|
9073
9087
|
* @throws {RequiredError}
|
|
9074
9088
|
*/
|
|
9075
9089
|
triggerSettingAction(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>>;
|
|
9090
|
+
/**
|
|
9091
|
+
*
|
|
9092
|
+
* @summary Update an external OAuth connection display label
|
|
9093
|
+
* @param {string} appUuid
|
|
9094
|
+
* @param {string} connectionId
|
|
9095
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
9096
|
+
* @param {*} [options] Override http request option.
|
|
9097
|
+
* @throws {RequiredError}
|
|
9098
|
+
*/
|
|
9099
|
+
updateConnectionLabel(appUuid: string, connectionId: string, requestBody: {
|
|
9100
|
+
[key: string]: string;
|
|
9101
|
+
}, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseVoid>>;
|
|
9076
9102
|
};
|
|
9077
9103
|
/**
|
|
9078
9104
|
* AppInstallationRuntimeApi - factory interface
|
|
@@ -9226,10 +9252,11 @@ export declare const AppInstallationRuntimeApiFactory: (configuration?: Configur
|
|
|
9226
9252
|
* @param {string} appUuid
|
|
9227
9253
|
* @param {string} provider
|
|
9228
9254
|
* @param {string} [redirectUri]
|
|
9255
|
+
* @param {string} [connectionId]
|
|
9229
9256
|
* @param {*} [options] Override http request option.
|
|
9230
9257
|
* @throws {RequiredError}
|
|
9231
9258
|
*/
|
|
9232
|
-
startOAuth(appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseAppOAuthStartResponseDTO>;
|
|
9259
|
+
startOAuth(appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseAppOAuthStartResponseDTO>;
|
|
9233
9260
|
/**
|
|
9234
9261
|
*
|
|
9235
9262
|
* @summary Trigger an ACTION setting without saving settings
|
|
@@ -9239,6 +9266,18 @@ export declare const AppInstallationRuntimeApiFactory: (configuration?: Configur
|
|
|
9239
9266
|
* @throws {RequiredError}
|
|
9240
9267
|
*/
|
|
9241
9268
|
triggerSettingAction(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject>;
|
|
9269
|
+
/**
|
|
9270
|
+
*
|
|
9271
|
+
* @summary Update an external OAuth connection display label
|
|
9272
|
+
* @param {string} appUuid
|
|
9273
|
+
* @param {string} connectionId
|
|
9274
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
9275
|
+
* @param {*} [options] Override http request option.
|
|
9276
|
+
* @throws {RequiredError}
|
|
9277
|
+
*/
|
|
9278
|
+
updateConnectionLabel(appUuid: string, connectionId: string, requestBody: {
|
|
9279
|
+
[key: string]: string;
|
|
9280
|
+
}, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseVoid>;
|
|
9242
9281
|
};
|
|
9243
9282
|
/**
|
|
9244
9283
|
* AppInstallationRuntimeApi - object-oriented interface
|
|
@@ -9392,10 +9431,11 @@ export declare class AppInstallationRuntimeApi extends BaseAPI {
|
|
|
9392
9431
|
* @param {string} appUuid
|
|
9393
9432
|
* @param {string} provider
|
|
9394
9433
|
* @param {string} [redirectUri]
|
|
9434
|
+
* @param {string} [connectionId]
|
|
9395
9435
|
* @param {*} [options] Override http request option.
|
|
9396
9436
|
* @throws {RequiredError}
|
|
9397
9437
|
*/
|
|
9398
|
-
startOAuth(appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseAppOAuthStartResponseDTO, any, {}>>;
|
|
9438
|
+
startOAuth(appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseAppOAuthStartResponseDTO, any, {}>>;
|
|
9399
9439
|
/**
|
|
9400
9440
|
*
|
|
9401
9441
|
* @summary Trigger an ACTION setting without saving settings
|
|
@@ -9405,6 +9445,18 @@ export declare class AppInstallationRuntimeApi extends BaseAPI {
|
|
|
9405
9445
|
* @throws {RequiredError}
|
|
9406
9446
|
*/
|
|
9407
9447
|
triggerSettingAction(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseMapStringObject, any, {}>>;
|
|
9448
|
+
/**
|
|
9449
|
+
*
|
|
9450
|
+
* @summary Update an external OAuth connection display label
|
|
9451
|
+
* @param {string} appUuid
|
|
9452
|
+
* @param {string} connectionId
|
|
9453
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
9454
|
+
* @param {*} [options] Override http request option.
|
|
9455
|
+
* @throws {RequiredError}
|
|
9456
|
+
*/
|
|
9457
|
+
updateConnectionLabel(appUuid: string, connectionId: string, requestBody: {
|
|
9458
|
+
[key: string]: string;
|
|
9459
|
+
}, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseVoid, any, {}>>;
|
|
9408
9460
|
}
|
|
9409
9461
|
/**
|
|
9410
9462
|
* ApplicationsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -1089,10 +1089,11 @@ const AppInstallationRuntimeApiAxiosParamCreator = function (configuration) {
|
|
|
1089
1089
|
* @param {string} appUuid
|
|
1090
1090
|
* @param {string} provider
|
|
1091
1091
|
* @param {string} [redirectUri]
|
|
1092
|
+
* @param {string} [connectionId]
|
|
1092
1093
|
* @param {*} [options] Override http request option.
|
|
1093
1094
|
* @throws {RequiredError}
|
|
1094
1095
|
*/
|
|
1095
|
-
startOAuth: (appUuid_1, provider_1, redirectUri_1, ...args_1) => __awaiter(this, [appUuid_1, provider_1, redirectUri_1, ...args_1], void 0, function* (appUuid, provider, redirectUri, options = {}) {
|
|
1096
|
+
startOAuth: (appUuid_1, provider_1, redirectUri_1, connectionId_1, ...args_1) => __awaiter(this, [appUuid_1, provider_1, redirectUri_1, connectionId_1, ...args_1], void 0, function* (appUuid, provider, redirectUri, connectionId, options = {}) {
|
|
1096
1097
|
// verify required parameter 'appUuid' is not null or undefined
|
|
1097
1098
|
(0, common_1.assertParamExists)('startOAuth', 'appUuid', appUuid);
|
|
1098
1099
|
// verify required parameter 'provider' is not null or undefined
|
|
@@ -1115,6 +1116,9 @@ const AppInstallationRuntimeApiAxiosParamCreator = function (configuration) {
|
|
|
1115
1116
|
if (redirectUri !== undefined) {
|
|
1116
1117
|
localVarQueryParameter['redirectUri'] = redirectUri;
|
|
1117
1118
|
}
|
|
1119
|
+
if (connectionId !== undefined) {
|
|
1120
|
+
localVarQueryParameter['connectionId'] = connectionId;
|
|
1121
|
+
}
|
|
1118
1122
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1119
1123
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1120
1124
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1161,6 +1165,48 @@ const AppInstallationRuntimeApiAxiosParamCreator = function (configuration) {
|
|
|
1161
1165
|
options: localVarRequestOptions,
|
|
1162
1166
|
};
|
|
1163
1167
|
}),
|
|
1168
|
+
/**
|
|
1169
|
+
*
|
|
1170
|
+
* @summary Update an external OAuth connection display label
|
|
1171
|
+
* @param {string} appUuid
|
|
1172
|
+
* @param {string} connectionId
|
|
1173
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
1174
|
+
* @param {*} [options] Override http request option.
|
|
1175
|
+
* @throws {RequiredError}
|
|
1176
|
+
*/
|
|
1177
|
+
updateConnectionLabel: (appUuid_1, connectionId_1, requestBody_1, ...args_1) => __awaiter(this, [appUuid_1, connectionId_1, requestBody_1, ...args_1], void 0, function* (appUuid, connectionId, requestBody, options = {}) {
|
|
1178
|
+
// verify required parameter 'appUuid' is not null or undefined
|
|
1179
|
+
(0, common_1.assertParamExists)('updateConnectionLabel', 'appUuid', appUuid);
|
|
1180
|
+
// verify required parameter 'connectionId' is not null or undefined
|
|
1181
|
+
(0, common_1.assertParamExists)('updateConnectionLabel', 'connectionId', connectionId);
|
|
1182
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
1183
|
+
(0, common_1.assertParamExists)('updateConnectionLabel', 'requestBody', requestBody);
|
|
1184
|
+
const localVarPath = `/api/v2/apps/{appUuid}/installation/connections/{connectionId}`
|
|
1185
|
+
.replace('{appUuid}', encodeURIComponent(String(appUuid)))
|
|
1186
|
+
.replace('{connectionId}', encodeURIComponent(String(connectionId)));
|
|
1187
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1188
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1189
|
+
let baseOptions;
|
|
1190
|
+
if (configuration) {
|
|
1191
|
+
baseOptions = configuration.baseOptions;
|
|
1192
|
+
}
|
|
1193
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1194
|
+
const localVarHeaderParameter = {};
|
|
1195
|
+
const localVarQueryParameter = {};
|
|
1196
|
+
// authentication bearerAuth required
|
|
1197
|
+
// http bearer authentication required
|
|
1198
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1199
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1200
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1201
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1202
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1203
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1204
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
1205
|
+
return {
|
|
1206
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1207
|
+
options: localVarRequestOptions,
|
|
1208
|
+
};
|
|
1209
|
+
}),
|
|
1164
1210
|
};
|
|
1165
1211
|
};
|
|
1166
1212
|
exports.AppInstallationRuntimeApiAxiosParamCreator = AppInstallationRuntimeApiAxiosParamCreator;
|
|
@@ -1430,13 +1476,14 @@ const AppInstallationRuntimeApiFp = function (configuration) {
|
|
|
1430
1476
|
* @param {string} appUuid
|
|
1431
1477
|
* @param {string} provider
|
|
1432
1478
|
* @param {string} [redirectUri]
|
|
1479
|
+
* @param {string} [connectionId]
|
|
1433
1480
|
* @param {*} [options] Override http request option.
|
|
1434
1481
|
* @throws {RequiredError}
|
|
1435
1482
|
*/
|
|
1436
|
-
startOAuth(appUuid, provider, redirectUri, options) {
|
|
1483
|
+
startOAuth(appUuid, provider, redirectUri, connectionId, options) {
|
|
1437
1484
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1438
1485
|
var _a, _b, _c;
|
|
1439
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.startOAuth(appUuid, provider, redirectUri, options);
|
|
1486
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.startOAuth(appUuid, provider, redirectUri, connectionId, options);
|
|
1440
1487
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1441
1488
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AppInstallationRuntimeApi.startOAuth']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1442
1489
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1459,6 +1506,24 @@ const AppInstallationRuntimeApiFp = function (configuration) {
|
|
|
1459
1506
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1460
1507
|
});
|
|
1461
1508
|
},
|
|
1509
|
+
/**
|
|
1510
|
+
*
|
|
1511
|
+
* @summary Update an external OAuth connection display label
|
|
1512
|
+
* @param {string} appUuid
|
|
1513
|
+
* @param {string} connectionId
|
|
1514
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
1515
|
+
* @param {*} [options] Override http request option.
|
|
1516
|
+
* @throws {RequiredError}
|
|
1517
|
+
*/
|
|
1518
|
+
updateConnectionLabel(appUuid, connectionId, requestBody, options) {
|
|
1519
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1520
|
+
var _a, _b, _c;
|
|
1521
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateConnectionLabel(appUuid, connectionId, requestBody, options);
|
|
1522
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1523
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AppInstallationRuntimeApi.updateConnectionLabel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1524
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1525
|
+
});
|
|
1526
|
+
},
|
|
1462
1527
|
};
|
|
1463
1528
|
};
|
|
1464
1529
|
exports.AppInstallationRuntimeApiFp = AppInstallationRuntimeApiFp;
|
|
@@ -1638,11 +1703,12 @@ const AppInstallationRuntimeApiFactory = function (configuration, basePath, axio
|
|
|
1638
1703
|
* @param {string} appUuid
|
|
1639
1704
|
* @param {string} provider
|
|
1640
1705
|
* @param {string} [redirectUri]
|
|
1706
|
+
* @param {string} [connectionId]
|
|
1641
1707
|
* @param {*} [options] Override http request option.
|
|
1642
1708
|
* @throws {RequiredError}
|
|
1643
1709
|
*/
|
|
1644
|
-
startOAuth(appUuid, provider, redirectUri, options) {
|
|
1645
|
-
return localVarFp.startOAuth(appUuid, provider, redirectUri, options).then((request) => request(axios, basePath));
|
|
1710
|
+
startOAuth(appUuid, provider, redirectUri, connectionId, options) {
|
|
1711
|
+
return localVarFp.startOAuth(appUuid, provider, redirectUri, connectionId, options).then((request) => request(axios, basePath));
|
|
1646
1712
|
},
|
|
1647
1713
|
/**
|
|
1648
1714
|
*
|
|
@@ -1655,6 +1721,18 @@ const AppInstallationRuntimeApiFactory = function (configuration, basePath, axio
|
|
|
1655
1721
|
triggerSettingAction(appUuid, fieldName, options) {
|
|
1656
1722
|
return localVarFp.triggerSettingAction(appUuid, fieldName, options).then((request) => request(axios, basePath));
|
|
1657
1723
|
},
|
|
1724
|
+
/**
|
|
1725
|
+
*
|
|
1726
|
+
* @summary Update an external OAuth connection display label
|
|
1727
|
+
* @param {string} appUuid
|
|
1728
|
+
* @param {string} connectionId
|
|
1729
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
1730
|
+
* @param {*} [options] Override http request option.
|
|
1731
|
+
* @throws {RequiredError}
|
|
1732
|
+
*/
|
|
1733
|
+
updateConnectionLabel(appUuid, connectionId, requestBody, options) {
|
|
1734
|
+
return localVarFp.updateConnectionLabel(appUuid, connectionId, requestBody, options).then((request) => request(axios, basePath));
|
|
1735
|
+
},
|
|
1658
1736
|
};
|
|
1659
1737
|
};
|
|
1660
1738
|
exports.AppInstallationRuntimeApiFactory = AppInstallationRuntimeApiFactory;
|
|
@@ -1832,11 +1910,12 @@ class AppInstallationRuntimeApi extends base_1.BaseAPI {
|
|
|
1832
1910
|
* @param {string} appUuid
|
|
1833
1911
|
* @param {string} provider
|
|
1834
1912
|
* @param {string} [redirectUri]
|
|
1913
|
+
* @param {string} [connectionId]
|
|
1835
1914
|
* @param {*} [options] Override http request option.
|
|
1836
1915
|
* @throws {RequiredError}
|
|
1837
1916
|
*/
|
|
1838
|
-
startOAuth(appUuid, provider, redirectUri, options) {
|
|
1839
|
-
return (0, exports.AppInstallationRuntimeApiFp)(this.configuration).startOAuth(appUuid, provider, redirectUri, options).then((request) => request(this.axios, this.basePath));
|
|
1917
|
+
startOAuth(appUuid, provider, redirectUri, connectionId, options) {
|
|
1918
|
+
return (0, exports.AppInstallationRuntimeApiFp)(this.configuration).startOAuth(appUuid, provider, redirectUri, connectionId, options).then((request) => request(this.axios, this.basePath));
|
|
1840
1919
|
}
|
|
1841
1920
|
/**
|
|
1842
1921
|
*
|
|
@@ -1849,6 +1928,18 @@ class AppInstallationRuntimeApi extends base_1.BaseAPI {
|
|
|
1849
1928
|
triggerSettingAction(appUuid, fieldName, options) {
|
|
1850
1929
|
return (0, exports.AppInstallationRuntimeApiFp)(this.configuration).triggerSettingAction(appUuid, fieldName, options).then((request) => request(this.axios, this.basePath));
|
|
1851
1930
|
}
|
|
1931
|
+
/**
|
|
1932
|
+
*
|
|
1933
|
+
* @summary Update an external OAuth connection display label
|
|
1934
|
+
* @param {string} appUuid
|
|
1935
|
+
* @param {string} connectionId
|
|
1936
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
1937
|
+
* @param {*} [options] Override http request option.
|
|
1938
|
+
* @throws {RequiredError}
|
|
1939
|
+
*/
|
|
1940
|
+
updateConnectionLabel(appUuid, connectionId, requestBody, options) {
|
|
1941
|
+
return (0, exports.AppInstallationRuntimeApiFp)(this.configuration).updateConnectionLabel(appUuid, connectionId, requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1942
|
+
}
|
|
1852
1943
|
}
|
|
1853
1944
|
exports.AppInstallationRuntimeApi = AppInstallationRuntimeApi;
|
|
1854
1945
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2766,8 +2766,8 @@ export declare const EventRsvpRequestScopeEnum: {
|
|
|
2766
2766
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2767
2767
|
export interface ExistingWidgetSummary {
|
|
2768
2768
|
'ymetric'?: string;
|
|
2769
|
-
'yproperty'?: string;
|
|
2770
2769
|
'xproperty'?: string;
|
|
2770
|
+
'yproperty'?: string;
|
|
2771
2771
|
'title'?: string;
|
|
2772
2772
|
'chartType'?: string;
|
|
2773
2773
|
'xProperty'?: string;
|
|
@@ -5950,8 +5950,8 @@ export interface SettingField {
|
|
|
5950
5950
|
'hidden'?: boolean;
|
|
5951
5951
|
'disabled'?: boolean;
|
|
5952
5952
|
'options'?: Array<SettingOption>;
|
|
5953
|
-
'defaultValue'?: any;
|
|
5954
5953
|
'value'?: any;
|
|
5954
|
+
'defaultValue'?: any;
|
|
5955
5955
|
}
|
|
5956
5956
|
export declare const SettingFieldTypeEnum: {
|
|
5957
5957
|
readonly String: "STRING";
|
|
@@ -8894,10 +8894,11 @@ export declare const AppInstallationRuntimeApiAxiosParamCreator: (configuration?
|
|
|
8894
8894
|
* @param {string} appUuid
|
|
8895
8895
|
* @param {string} provider
|
|
8896
8896
|
* @param {string} [redirectUri]
|
|
8897
|
+
* @param {string} [connectionId]
|
|
8897
8898
|
* @param {*} [options] Override http request option.
|
|
8898
8899
|
* @throws {RequiredError}
|
|
8899
8900
|
*/
|
|
8900
|
-
startOAuth: (appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8901
|
+
startOAuth: (appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8901
8902
|
/**
|
|
8902
8903
|
*
|
|
8903
8904
|
* @summary Trigger an ACTION setting without saving settings
|
|
@@ -8907,6 +8908,18 @@ export declare const AppInstallationRuntimeApiAxiosParamCreator: (configuration?
|
|
|
8907
8908
|
* @throws {RequiredError}
|
|
8908
8909
|
*/
|
|
8909
8910
|
triggerSettingAction: (appUuid: string, fieldName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8911
|
+
/**
|
|
8912
|
+
*
|
|
8913
|
+
* @summary Update an external OAuth connection display label
|
|
8914
|
+
* @param {string} appUuid
|
|
8915
|
+
* @param {string} connectionId
|
|
8916
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
8917
|
+
* @param {*} [options] Override http request option.
|
|
8918
|
+
* @throws {RequiredError}
|
|
8919
|
+
*/
|
|
8920
|
+
updateConnectionLabel: (appUuid: string, connectionId: string, requestBody: {
|
|
8921
|
+
[key: string]: string;
|
|
8922
|
+
}, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8910
8923
|
};
|
|
8911
8924
|
/**
|
|
8912
8925
|
* AppInstallationRuntimeApi - functional programming interface
|
|
@@ -9060,10 +9073,11 @@ export declare const AppInstallationRuntimeApiFp: (configuration?: Configuration
|
|
|
9060
9073
|
* @param {string} appUuid
|
|
9061
9074
|
* @param {string} provider
|
|
9062
9075
|
* @param {string} [redirectUri]
|
|
9076
|
+
* @param {string} [connectionId]
|
|
9063
9077
|
* @param {*} [options] Override http request option.
|
|
9064
9078
|
* @throws {RequiredError}
|
|
9065
9079
|
*/
|
|
9066
|
-
startOAuth(appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseAppOAuthStartResponseDTO>>;
|
|
9080
|
+
startOAuth(appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseAppOAuthStartResponseDTO>>;
|
|
9067
9081
|
/**
|
|
9068
9082
|
*
|
|
9069
9083
|
* @summary Trigger an ACTION setting without saving settings
|
|
@@ -9073,6 +9087,18 @@ export declare const AppInstallationRuntimeApiFp: (configuration?: Configuration
|
|
|
9073
9087
|
* @throws {RequiredError}
|
|
9074
9088
|
*/
|
|
9075
9089
|
triggerSettingAction(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>>;
|
|
9090
|
+
/**
|
|
9091
|
+
*
|
|
9092
|
+
* @summary Update an external OAuth connection display label
|
|
9093
|
+
* @param {string} appUuid
|
|
9094
|
+
* @param {string} connectionId
|
|
9095
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
9096
|
+
* @param {*} [options] Override http request option.
|
|
9097
|
+
* @throws {RequiredError}
|
|
9098
|
+
*/
|
|
9099
|
+
updateConnectionLabel(appUuid: string, connectionId: string, requestBody: {
|
|
9100
|
+
[key: string]: string;
|
|
9101
|
+
}, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseVoid>>;
|
|
9076
9102
|
};
|
|
9077
9103
|
/**
|
|
9078
9104
|
* AppInstallationRuntimeApi - factory interface
|
|
@@ -9226,10 +9252,11 @@ export declare const AppInstallationRuntimeApiFactory: (configuration?: Configur
|
|
|
9226
9252
|
* @param {string} appUuid
|
|
9227
9253
|
* @param {string} provider
|
|
9228
9254
|
* @param {string} [redirectUri]
|
|
9255
|
+
* @param {string} [connectionId]
|
|
9229
9256
|
* @param {*} [options] Override http request option.
|
|
9230
9257
|
* @throws {RequiredError}
|
|
9231
9258
|
*/
|
|
9232
|
-
startOAuth(appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseAppOAuthStartResponseDTO>;
|
|
9259
|
+
startOAuth(appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseAppOAuthStartResponseDTO>;
|
|
9233
9260
|
/**
|
|
9234
9261
|
*
|
|
9235
9262
|
* @summary Trigger an ACTION setting without saving settings
|
|
@@ -9239,6 +9266,18 @@ export declare const AppInstallationRuntimeApiFactory: (configuration?: Configur
|
|
|
9239
9266
|
* @throws {RequiredError}
|
|
9240
9267
|
*/
|
|
9241
9268
|
triggerSettingAction(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject>;
|
|
9269
|
+
/**
|
|
9270
|
+
*
|
|
9271
|
+
* @summary Update an external OAuth connection display label
|
|
9272
|
+
* @param {string} appUuid
|
|
9273
|
+
* @param {string} connectionId
|
|
9274
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
9275
|
+
* @param {*} [options] Override http request option.
|
|
9276
|
+
* @throws {RequiredError}
|
|
9277
|
+
*/
|
|
9278
|
+
updateConnectionLabel(appUuid: string, connectionId: string, requestBody: {
|
|
9279
|
+
[key: string]: string;
|
|
9280
|
+
}, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseVoid>;
|
|
9242
9281
|
};
|
|
9243
9282
|
/**
|
|
9244
9283
|
* AppInstallationRuntimeApi - object-oriented interface
|
|
@@ -9392,10 +9431,11 @@ export declare class AppInstallationRuntimeApi extends BaseAPI {
|
|
|
9392
9431
|
* @param {string} appUuid
|
|
9393
9432
|
* @param {string} provider
|
|
9394
9433
|
* @param {string} [redirectUri]
|
|
9434
|
+
* @param {string} [connectionId]
|
|
9395
9435
|
* @param {*} [options] Override http request option.
|
|
9396
9436
|
* @throws {RequiredError}
|
|
9397
9437
|
*/
|
|
9398
|
-
startOAuth(appUuid: string, provider: string, redirectUri?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseAppOAuthStartResponseDTO, any, {}>>;
|
|
9438
|
+
startOAuth(appUuid: string, provider: string, redirectUri?: string, connectionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseAppOAuthStartResponseDTO, any, {}>>;
|
|
9399
9439
|
/**
|
|
9400
9440
|
*
|
|
9401
9441
|
* @summary Trigger an ACTION setting without saving settings
|
|
@@ -9405,6 +9445,18 @@ export declare class AppInstallationRuntimeApi extends BaseAPI {
|
|
|
9405
9445
|
* @throws {RequiredError}
|
|
9406
9446
|
*/
|
|
9407
9447
|
triggerSettingAction(appUuid: string, fieldName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseMapStringObject, any, {}>>;
|
|
9448
|
+
/**
|
|
9449
|
+
*
|
|
9450
|
+
* @summary Update an external OAuth connection display label
|
|
9451
|
+
* @param {string} appUuid
|
|
9452
|
+
* @param {string} connectionId
|
|
9453
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
9454
|
+
* @param {*} [options] Override http request option.
|
|
9455
|
+
* @throws {RequiredError}
|
|
9456
|
+
*/
|
|
9457
|
+
updateConnectionLabel(appUuid: string, connectionId: string, requestBody: {
|
|
9458
|
+
[key: string]: string;
|
|
9459
|
+
}, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseVoid, any, {}>>;
|
|
9408
9460
|
}
|
|
9409
9461
|
/**
|
|
9410
9462
|
* ApplicationsApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -1075,10 +1075,11 @@ export const AppInstallationRuntimeApiAxiosParamCreator = function (configuratio
|
|
|
1075
1075
|
* @param {string} appUuid
|
|
1076
1076
|
* @param {string} provider
|
|
1077
1077
|
* @param {string} [redirectUri]
|
|
1078
|
+
* @param {string} [connectionId]
|
|
1078
1079
|
* @param {*} [options] Override http request option.
|
|
1079
1080
|
* @throws {RequiredError}
|
|
1080
1081
|
*/
|
|
1081
|
-
startOAuth: (appUuid_1, provider_1, redirectUri_1, ...args_1) => __awaiter(this, [appUuid_1, provider_1, redirectUri_1, ...args_1], void 0, function* (appUuid, provider, redirectUri, options = {}) {
|
|
1082
|
+
startOAuth: (appUuid_1, provider_1, redirectUri_1, connectionId_1, ...args_1) => __awaiter(this, [appUuid_1, provider_1, redirectUri_1, connectionId_1, ...args_1], void 0, function* (appUuid, provider, redirectUri, connectionId, options = {}) {
|
|
1082
1083
|
// verify required parameter 'appUuid' is not null or undefined
|
|
1083
1084
|
assertParamExists('startOAuth', 'appUuid', appUuid);
|
|
1084
1085
|
// verify required parameter 'provider' is not null or undefined
|
|
@@ -1101,6 +1102,9 @@ export const AppInstallationRuntimeApiAxiosParamCreator = function (configuratio
|
|
|
1101
1102
|
if (redirectUri !== undefined) {
|
|
1102
1103
|
localVarQueryParameter['redirectUri'] = redirectUri;
|
|
1103
1104
|
}
|
|
1105
|
+
if (connectionId !== undefined) {
|
|
1106
|
+
localVarQueryParameter['connectionId'] = connectionId;
|
|
1107
|
+
}
|
|
1104
1108
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1105
1109
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1106
1110
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1147,6 +1151,48 @@ export const AppInstallationRuntimeApiAxiosParamCreator = function (configuratio
|
|
|
1147
1151
|
options: localVarRequestOptions,
|
|
1148
1152
|
};
|
|
1149
1153
|
}),
|
|
1154
|
+
/**
|
|
1155
|
+
*
|
|
1156
|
+
* @summary Update an external OAuth connection display label
|
|
1157
|
+
* @param {string} appUuid
|
|
1158
|
+
* @param {string} connectionId
|
|
1159
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
1160
|
+
* @param {*} [options] Override http request option.
|
|
1161
|
+
* @throws {RequiredError}
|
|
1162
|
+
*/
|
|
1163
|
+
updateConnectionLabel: (appUuid_1, connectionId_1, requestBody_1, ...args_1) => __awaiter(this, [appUuid_1, connectionId_1, requestBody_1, ...args_1], void 0, function* (appUuid, connectionId, requestBody, options = {}) {
|
|
1164
|
+
// verify required parameter 'appUuid' is not null or undefined
|
|
1165
|
+
assertParamExists('updateConnectionLabel', 'appUuid', appUuid);
|
|
1166
|
+
// verify required parameter 'connectionId' is not null or undefined
|
|
1167
|
+
assertParamExists('updateConnectionLabel', 'connectionId', connectionId);
|
|
1168
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
1169
|
+
assertParamExists('updateConnectionLabel', 'requestBody', requestBody);
|
|
1170
|
+
const localVarPath = `/api/v2/apps/{appUuid}/installation/connections/{connectionId}`
|
|
1171
|
+
.replace('{appUuid}', encodeURIComponent(String(appUuid)))
|
|
1172
|
+
.replace('{connectionId}', encodeURIComponent(String(connectionId)));
|
|
1173
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1174
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1175
|
+
let baseOptions;
|
|
1176
|
+
if (configuration) {
|
|
1177
|
+
baseOptions = configuration.baseOptions;
|
|
1178
|
+
}
|
|
1179
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1180
|
+
const localVarHeaderParameter = {};
|
|
1181
|
+
const localVarQueryParameter = {};
|
|
1182
|
+
// authentication bearerAuth required
|
|
1183
|
+
// http bearer authentication required
|
|
1184
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1185
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1186
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1187
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1188
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1189
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1190
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
|
|
1191
|
+
return {
|
|
1192
|
+
url: toPathString(localVarUrlObj),
|
|
1193
|
+
options: localVarRequestOptions,
|
|
1194
|
+
};
|
|
1195
|
+
}),
|
|
1150
1196
|
};
|
|
1151
1197
|
};
|
|
1152
1198
|
/**
|
|
@@ -1415,13 +1461,14 @@ export const AppInstallationRuntimeApiFp = function (configuration) {
|
|
|
1415
1461
|
* @param {string} appUuid
|
|
1416
1462
|
* @param {string} provider
|
|
1417
1463
|
* @param {string} [redirectUri]
|
|
1464
|
+
* @param {string} [connectionId]
|
|
1418
1465
|
* @param {*} [options] Override http request option.
|
|
1419
1466
|
* @throws {RequiredError}
|
|
1420
1467
|
*/
|
|
1421
|
-
startOAuth(appUuid, provider, redirectUri, options) {
|
|
1468
|
+
startOAuth(appUuid, provider, redirectUri, connectionId, options) {
|
|
1422
1469
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1423
1470
|
var _a, _b, _c;
|
|
1424
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.startOAuth(appUuid, provider, redirectUri, options);
|
|
1471
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.startOAuth(appUuid, provider, redirectUri, connectionId, options);
|
|
1425
1472
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1426
1473
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AppInstallationRuntimeApi.startOAuth']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1427
1474
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1444,6 +1491,24 @@ export const AppInstallationRuntimeApiFp = function (configuration) {
|
|
|
1444
1491
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1445
1492
|
});
|
|
1446
1493
|
},
|
|
1494
|
+
/**
|
|
1495
|
+
*
|
|
1496
|
+
* @summary Update an external OAuth connection display label
|
|
1497
|
+
* @param {string} appUuid
|
|
1498
|
+
* @param {string} connectionId
|
|
1499
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
1500
|
+
* @param {*} [options] Override http request option.
|
|
1501
|
+
* @throws {RequiredError}
|
|
1502
|
+
*/
|
|
1503
|
+
updateConnectionLabel(appUuid, connectionId, requestBody, options) {
|
|
1504
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1505
|
+
var _a, _b, _c;
|
|
1506
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateConnectionLabel(appUuid, connectionId, requestBody, options);
|
|
1507
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1508
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AppInstallationRuntimeApi.updateConnectionLabel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1509
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1510
|
+
});
|
|
1511
|
+
},
|
|
1447
1512
|
};
|
|
1448
1513
|
};
|
|
1449
1514
|
/**
|
|
@@ -1622,11 +1687,12 @@ export const AppInstallationRuntimeApiFactory = function (configuration, basePat
|
|
|
1622
1687
|
* @param {string} appUuid
|
|
1623
1688
|
* @param {string} provider
|
|
1624
1689
|
* @param {string} [redirectUri]
|
|
1690
|
+
* @param {string} [connectionId]
|
|
1625
1691
|
* @param {*} [options] Override http request option.
|
|
1626
1692
|
* @throws {RequiredError}
|
|
1627
1693
|
*/
|
|
1628
|
-
startOAuth(appUuid, provider, redirectUri, options) {
|
|
1629
|
-
return localVarFp.startOAuth(appUuid, provider, redirectUri, options).then((request) => request(axios, basePath));
|
|
1694
|
+
startOAuth(appUuid, provider, redirectUri, connectionId, options) {
|
|
1695
|
+
return localVarFp.startOAuth(appUuid, provider, redirectUri, connectionId, options).then((request) => request(axios, basePath));
|
|
1630
1696
|
},
|
|
1631
1697
|
/**
|
|
1632
1698
|
*
|
|
@@ -1639,6 +1705,18 @@ export const AppInstallationRuntimeApiFactory = function (configuration, basePat
|
|
|
1639
1705
|
triggerSettingAction(appUuid, fieldName, options) {
|
|
1640
1706
|
return localVarFp.triggerSettingAction(appUuid, fieldName, options).then((request) => request(axios, basePath));
|
|
1641
1707
|
},
|
|
1708
|
+
/**
|
|
1709
|
+
*
|
|
1710
|
+
* @summary Update an external OAuth connection display label
|
|
1711
|
+
* @param {string} appUuid
|
|
1712
|
+
* @param {string} connectionId
|
|
1713
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
1714
|
+
* @param {*} [options] Override http request option.
|
|
1715
|
+
* @throws {RequiredError}
|
|
1716
|
+
*/
|
|
1717
|
+
updateConnectionLabel(appUuid, connectionId, requestBody, options) {
|
|
1718
|
+
return localVarFp.updateConnectionLabel(appUuid, connectionId, requestBody, options).then((request) => request(axios, basePath));
|
|
1719
|
+
},
|
|
1642
1720
|
};
|
|
1643
1721
|
};
|
|
1644
1722
|
/**
|
|
@@ -1815,11 +1893,12 @@ export class AppInstallationRuntimeApi extends BaseAPI {
|
|
|
1815
1893
|
* @param {string} appUuid
|
|
1816
1894
|
* @param {string} provider
|
|
1817
1895
|
* @param {string} [redirectUri]
|
|
1896
|
+
* @param {string} [connectionId]
|
|
1818
1897
|
* @param {*} [options] Override http request option.
|
|
1819
1898
|
* @throws {RequiredError}
|
|
1820
1899
|
*/
|
|
1821
|
-
startOAuth(appUuid, provider, redirectUri, options) {
|
|
1822
|
-
return AppInstallationRuntimeApiFp(this.configuration).startOAuth(appUuid, provider, redirectUri, options).then((request) => request(this.axios, this.basePath));
|
|
1900
|
+
startOAuth(appUuid, provider, redirectUri, connectionId, options) {
|
|
1901
|
+
return AppInstallationRuntimeApiFp(this.configuration).startOAuth(appUuid, provider, redirectUri, connectionId, options).then((request) => request(this.axios, this.basePath));
|
|
1823
1902
|
}
|
|
1824
1903
|
/**
|
|
1825
1904
|
*
|
|
@@ -1832,6 +1911,18 @@ export class AppInstallationRuntimeApi extends BaseAPI {
|
|
|
1832
1911
|
triggerSettingAction(appUuid, fieldName, options) {
|
|
1833
1912
|
return AppInstallationRuntimeApiFp(this.configuration).triggerSettingAction(appUuid, fieldName, options).then((request) => request(this.axios, this.basePath));
|
|
1834
1913
|
}
|
|
1914
|
+
/**
|
|
1915
|
+
*
|
|
1916
|
+
* @summary Update an external OAuth connection display label
|
|
1917
|
+
* @param {string} appUuid
|
|
1918
|
+
* @param {string} connectionId
|
|
1919
|
+
* @param {{ [key: string]: string; }} requestBody
|
|
1920
|
+
* @param {*} [options] Override http request option.
|
|
1921
|
+
* @throws {RequiredError}
|
|
1922
|
+
*/
|
|
1923
|
+
updateConnectionLabel(appUuid, connectionId, requestBody, options) {
|
|
1924
|
+
return AppInstallationRuntimeApiFp(this.configuration).updateConnectionLabel(appUuid, connectionId, requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1925
|
+
}
|
|
1835
1926
|
}
|
|
1836
1927
|
/**
|
|
1837
1928
|
* ApplicationsApi - axios parameter creator
|
|
@@ -21,6 +21,7 @@ All URIs are relative to *https://v2.api.caraer.com*
|
|
|
21
21
|
|[**saveUserSettings**](#saveusersettings) | **PUT** /api/v2/apps/{appUuid}/installation/settings/user | Save USER-scoped installation settings for the current user|
|
|
22
22
|
|[**startOAuth**](#startoauth) | **POST** /api/v2/apps/{appUuid}/installation/oauth/{provider}/start | Start external OAuth authorize (returns provider authorize URL)|
|
|
23
23
|
|[**triggerSettingAction**](#triggersettingaction) | **POST** /api/v2/apps/{appUuid}/installation/settings/{fieldName}/trigger | Trigger an ACTION setting without saving settings|
|
|
24
|
+
|[**updateConnectionLabel**](#updateconnectionlabel) | **PATCH** /api/v2/apps/{appUuid}/installation/connections/{connectionId} | Update an external OAuth connection display label|
|
|
24
25
|
|
|
25
26
|
# **deleteSecret**
|
|
26
27
|
> DeleteResponseVoid deleteSecret()
|
|
@@ -892,11 +893,13 @@ const apiInstance = new AppInstallationRuntimeApi(configuration);
|
|
|
892
893
|
let appUuid: string; // (default to undefined)
|
|
893
894
|
let provider: string; // (default to undefined)
|
|
894
895
|
let redirectUri: string; // (optional) (default to undefined)
|
|
896
|
+
let connectionId: string; // (optional) (default to undefined)
|
|
895
897
|
|
|
896
898
|
const { status, data } = await apiInstance.startOAuth(
|
|
897
899
|
appUuid,
|
|
898
900
|
provider,
|
|
899
|
-
redirectUri
|
|
901
|
+
redirectUri,
|
|
902
|
+
connectionId
|
|
900
903
|
);
|
|
901
904
|
```
|
|
902
905
|
|
|
@@ -907,6 +910,7 @@ const { status, data } = await apiInstance.startOAuth(
|
|
|
907
910
|
| **appUuid** | [**string**] | | defaults to undefined|
|
|
908
911
|
| **provider** | [**string**] | | defaults to undefined|
|
|
909
912
|
| **redirectUri** | [**string**] | | (optional) defaults to undefined|
|
|
913
|
+
| **connectionId** | [**string**] | | (optional) defaults to undefined|
|
|
910
914
|
|
|
911
915
|
|
|
912
916
|
### Return type
|
|
@@ -983,7 +987,8 @@ const { status, data } = await apiInstance.triggerSettingAction(
|
|
|
983
987
|
### HTTP response details
|
|
984
988
|
| Status code | Description | Response headers |
|
|
985
989
|
|-------------|-------------|------------------|
|
|
986
|
-
|**
|
|
990
|
+
|**200** | Action completed; data.result contains the function response | - |
|
|
991
|
+
|**202** | Action queued | - |
|
|
987
992
|
|**400** | Bad Request | - |
|
|
988
993
|
|**404** | Not Found | - |
|
|
989
994
|
|**401** | Authentication is required or the token is invalid. | - |
|
|
@@ -992,3 +997,63 @@ const { status, data } = await apiInstance.triggerSettingAction(
|
|
|
992
997
|
|
|
993
998
|
[[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)
|
|
994
999
|
|
|
1000
|
+
# **updateConnectionLabel**
|
|
1001
|
+
> SuccessResponseVoid updateConnectionLabel(requestBody)
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
### Example
|
|
1005
|
+
|
|
1006
|
+
```typescript
|
|
1007
|
+
import {
|
|
1008
|
+
AppInstallationRuntimeApi,
|
|
1009
|
+
Configuration
|
|
1010
|
+
} from '@caraer/client';
|
|
1011
|
+
|
|
1012
|
+
const configuration = new Configuration();
|
|
1013
|
+
const apiInstance = new AppInstallationRuntimeApi(configuration);
|
|
1014
|
+
|
|
1015
|
+
let appUuid: string; // (default to undefined)
|
|
1016
|
+
let connectionId: string; // (default to undefined)
|
|
1017
|
+
let requestBody: { [key: string]: string; }; //
|
|
1018
|
+
|
|
1019
|
+
const { status, data } = await apiInstance.updateConnectionLabel(
|
|
1020
|
+
appUuid,
|
|
1021
|
+
connectionId,
|
|
1022
|
+
requestBody
|
|
1023
|
+
);
|
|
1024
|
+
```
|
|
1025
|
+
|
|
1026
|
+
### Parameters
|
|
1027
|
+
|
|
1028
|
+
|Name | Type | Description | Notes|
|
|
1029
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1030
|
+
| **requestBody** | **{ [key: string]: string; }**| | |
|
|
1031
|
+
| **appUuid** | [**string**] | | defaults to undefined|
|
|
1032
|
+
| **connectionId** | [**string**] | | defaults to undefined|
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
### Return type
|
|
1036
|
+
|
|
1037
|
+
**SuccessResponseVoid**
|
|
1038
|
+
|
|
1039
|
+
### Authorization
|
|
1040
|
+
|
|
1041
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1042
|
+
|
|
1043
|
+
### HTTP request headers
|
|
1044
|
+
|
|
1045
|
+
- **Content-Type**: application/json
|
|
1046
|
+
- **Accept**: application/json
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
### HTTP response details
|
|
1050
|
+
| Status code | Description | Response headers |
|
|
1051
|
+
|-------------|-------------|------------------|
|
|
1052
|
+
|**200** | OK | - |
|
|
1053
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
1054
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
1055
|
+
|**404** | The requested resource was not found. | - |
|
|
1056
|
+
|**500** | An internal server error occurred. | - |
|
|
1057
|
+
|
|
1058
|
+
[[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)
|
|
1059
|
+
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**ymetric** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**yproperty** | **string** | | [optional] [default to undefined]
|
|
10
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]
|
|
@@ -21,8 +21,8 @@ import { ExistingWidgetSummary } from '@caraer/client';
|
|
|
21
21
|
|
|
22
22
|
const instance: ExistingWidgetSummary = {
|
|
23
23
|
ymetric,
|
|
24
|
-
yproperty,
|
|
25
24
|
xproperty,
|
|
25
|
+
yproperty,
|
|
26
26
|
title,
|
|
27
27
|
chartType,
|
|
28
28
|
xProperty,
|
package/docs/SettingField.md
CHANGED
|
@@ -14,8 +14,8 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**hidden** | **boolean** | | [optional] [default to undefined]
|
|
15
15
|
**disabled** | **boolean** | | [optional] [default to undefined]
|
|
16
16
|
**_options** | [**Array<SettingOption>**](SettingOption.md) | | [optional] [default to undefined]
|
|
17
|
-
**defaultValue** | **any** | | [optional] [default to undefined]
|
|
18
17
|
**value** | **any** | | [optional] [default to undefined]
|
|
18
|
+
**defaultValue** | **any** | | [optional] [default to undefined]
|
|
19
19
|
|
|
20
20
|
## Example
|
|
21
21
|
|
|
@@ -32,8 +32,8 @@ const instance: SettingField = {
|
|
|
32
32
|
hidden,
|
|
33
33
|
disabled,
|
|
34
34
|
_options,
|
|
35
|
-
defaultValue,
|
|
36
35
|
value,
|
|
36
|
+
defaultValue,
|
|
37
37
|
};
|
|
38
38
|
```
|
|
39
39
|
|