@gooddata/api-client-tiger 10.11.0-alpha.27 → 10.11.0-alpha.28
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/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/api-client-tiger.d.ts +617 -253
- package/esm/generated/metadata-json-api/api.d.ts +602 -247
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +455 -17
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/openapi-spec.json +4308 -4224
- package/package.json +3 -3
|
@@ -1090,6 +1090,23 @@ export const JsonApiUserSettingInTypeEnum = {
|
|
|
1090
1090
|
export const JsonApiUserSettingOutTypeEnum = {
|
|
1091
1091
|
USER_SETTING: "userSetting",
|
|
1092
1092
|
};
|
|
1093
|
+
export const JsonApiUserSettingOutAttributesTypeEnum = {
|
|
1094
|
+
TIMEZONE: "TIMEZONE",
|
|
1095
|
+
ACTIVE_THEME: "ACTIVE_THEME",
|
|
1096
|
+
ACTIVE_COLOR_PALETTE: "ACTIVE_COLOR_PALETTE",
|
|
1097
|
+
WHITE_LABELING: "WHITE_LABELING",
|
|
1098
|
+
LOCALE: "LOCALE",
|
|
1099
|
+
METADATA_LOCALE: "METADATA_LOCALE",
|
|
1100
|
+
FORMAT_LOCALE: "FORMAT_LOCALE",
|
|
1101
|
+
MAPBOX_TOKEN: "MAPBOX_TOKEN",
|
|
1102
|
+
WEEK_START: "WEEK_START",
|
|
1103
|
+
SHOW_HIDDEN_CATALOG_ITEMS: "SHOW_HIDDEN_CATALOG_ITEMS",
|
|
1104
|
+
OPERATOR_OVERRIDES: "OPERATOR_OVERRIDES",
|
|
1105
|
+
TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
|
|
1106
|
+
OPENAI_CONFIG: "OPENAI_CONFIG",
|
|
1107
|
+
ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
|
|
1108
|
+
ALERT: "ALERT",
|
|
1109
|
+
};
|
|
1093
1110
|
export const JsonApiUserSettingOutWithLinksTypeEnum = {
|
|
1094
1111
|
USER_SETTING: "userSetting",
|
|
1095
1112
|
};
|
|
@@ -1178,23 +1195,6 @@ export const JsonApiWorkspaceSettingOutWithLinksTypeEnum = {
|
|
|
1178
1195
|
export const JsonApiWorkspaceSettingPatchTypeEnum = {
|
|
1179
1196
|
WORKSPACE_SETTING: "workspaceSetting",
|
|
1180
1197
|
};
|
|
1181
|
-
export const JsonApiWorkspaceSettingPatchAttributesTypeEnum = {
|
|
1182
|
-
TIMEZONE: "TIMEZONE",
|
|
1183
|
-
ACTIVE_THEME: "ACTIVE_THEME",
|
|
1184
|
-
ACTIVE_COLOR_PALETTE: "ACTIVE_COLOR_PALETTE",
|
|
1185
|
-
WHITE_LABELING: "WHITE_LABELING",
|
|
1186
|
-
LOCALE: "LOCALE",
|
|
1187
|
-
METADATA_LOCALE: "METADATA_LOCALE",
|
|
1188
|
-
FORMAT_LOCALE: "FORMAT_LOCALE",
|
|
1189
|
-
MAPBOX_TOKEN: "MAPBOX_TOKEN",
|
|
1190
|
-
WEEK_START: "WEEK_START",
|
|
1191
|
-
SHOW_HIDDEN_CATALOG_ITEMS: "SHOW_HIDDEN_CATALOG_ITEMS",
|
|
1192
|
-
OPERATOR_OVERRIDES: "OPERATOR_OVERRIDES",
|
|
1193
|
-
TIMEZONE_VALIDATION_ENABLED: "TIMEZONE_VALIDATION_ENABLED",
|
|
1194
|
-
OPENAI_CONFIG: "OPENAI_CONFIG",
|
|
1195
|
-
ENABLE_FILE_ANALYTICS: "ENABLE_FILE_ANALYTICS",
|
|
1196
|
-
ALERT: "ALERT",
|
|
1197
|
-
};
|
|
1198
1198
|
export const JsonApiWorkspaceSettingPostOptionalIdTypeEnum = {
|
|
1199
1199
|
WORKSPACE_SETTING: "workspaceSetting",
|
|
1200
1200
|
};
|
|
@@ -2978,6 +2978,104 @@ export const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
2978
2978
|
options: localVarRequestOptions,
|
|
2979
2979
|
};
|
|
2980
2980
|
},
|
|
2981
|
+
/**
|
|
2982
|
+
*
|
|
2983
|
+
* @summary Unsubscribe from all automations in all workspaces
|
|
2984
|
+
* @param {*} [options] Override http request option.
|
|
2985
|
+
* @throws {RequiredError}
|
|
2986
|
+
*/
|
|
2987
|
+
unsubscribeAllAutomations: async (options = {}) => {
|
|
2988
|
+
const localVarPath = `/api/v1/actions/organization/automations/unsubscribe`;
|
|
2989
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2990
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2991
|
+
let baseOptions;
|
|
2992
|
+
if (configuration) {
|
|
2993
|
+
baseOptions = configuration.baseOptions;
|
|
2994
|
+
}
|
|
2995
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2996
|
+
const localVarHeaderParameter = {};
|
|
2997
|
+
const localVarQueryParameter = {};
|
|
2998
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2999
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3000
|
+
localVarRequestOptions.headers = {
|
|
3001
|
+
...localVarHeaderParameter,
|
|
3002
|
+
...headersFromBaseOptions,
|
|
3003
|
+
...options.headers,
|
|
3004
|
+
};
|
|
3005
|
+
return {
|
|
3006
|
+
url: toPathString(localVarUrlObj),
|
|
3007
|
+
options: localVarRequestOptions,
|
|
3008
|
+
};
|
|
3009
|
+
},
|
|
3010
|
+
/**
|
|
3011
|
+
*
|
|
3012
|
+
* @summary Unsubscribe from an automation
|
|
3013
|
+
* @param {string} workspaceId
|
|
3014
|
+
* @param {string} automationId
|
|
3015
|
+
* @param {*} [options] Override http request option.
|
|
3016
|
+
* @throws {RequiredError}
|
|
3017
|
+
*/
|
|
3018
|
+
unsubscribeAutomation: async (workspaceId, automationId, options = {}) => {
|
|
3019
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
3020
|
+
assertParamExists("unsubscribeAutomation", "workspaceId", workspaceId);
|
|
3021
|
+
// verify required parameter 'automationId' is not null or undefined
|
|
3022
|
+
assertParamExists("unsubscribeAutomation", "automationId", automationId);
|
|
3023
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/automations/{automationId}/unsubscribe`
|
|
3024
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
3025
|
+
.replace(`{${"automationId"}}`, encodeURIComponent(String(automationId)));
|
|
3026
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3027
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3028
|
+
let baseOptions;
|
|
3029
|
+
if (configuration) {
|
|
3030
|
+
baseOptions = configuration.baseOptions;
|
|
3031
|
+
}
|
|
3032
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3033
|
+
const localVarHeaderParameter = {};
|
|
3034
|
+
const localVarQueryParameter = {};
|
|
3035
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3036
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3037
|
+
localVarRequestOptions.headers = {
|
|
3038
|
+
...localVarHeaderParameter,
|
|
3039
|
+
...headersFromBaseOptions,
|
|
3040
|
+
...options.headers,
|
|
3041
|
+
};
|
|
3042
|
+
return {
|
|
3043
|
+
url: toPathString(localVarUrlObj),
|
|
3044
|
+
options: localVarRequestOptions,
|
|
3045
|
+
};
|
|
3046
|
+
},
|
|
3047
|
+
/**
|
|
3048
|
+
*
|
|
3049
|
+
* @summary Unsubscribe from all automations in the workspace
|
|
3050
|
+
* @param {string} workspaceId
|
|
3051
|
+
* @param {*} [options] Override http request option.
|
|
3052
|
+
* @throws {RequiredError}
|
|
3053
|
+
*/
|
|
3054
|
+
unsubscribeWorkspaceAutomations: async (workspaceId, options = {}) => {
|
|
3055
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
3056
|
+
assertParamExists("unsubscribeWorkspaceAutomations", "workspaceId", workspaceId);
|
|
3057
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/automations/unsubscribe`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
3058
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3059
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3060
|
+
let baseOptions;
|
|
3061
|
+
if (configuration) {
|
|
3062
|
+
baseOptions = configuration.baseOptions;
|
|
3063
|
+
}
|
|
3064
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3065
|
+
const localVarHeaderParameter = {};
|
|
3066
|
+
const localVarQueryParameter = {};
|
|
3067
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3068
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3069
|
+
localVarRequestOptions.headers = {
|
|
3070
|
+
...localVarHeaderParameter,
|
|
3071
|
+
...headersFromBaseOptions,
|
|
3072
|
+
...options.headers,
|
|
3073
|
+
};
|
|
3074
|
+
return {
|
|
3075
|
+
url: toPathString(localVarUrlObj),
|
|
3076
|
+
options: localVarRequestOptions,
|
|
3077
|
+
};
|
|
3078
|
+
},
|
|
2981
3079
|
/**
|
|
2982
3080
|
* Resolves values for all settings in a workspace by current user, workspace, organization, or default settings.
|
|
2983
3081
|
* @summary Values for all settings.
|
|
@@ -3380,6 +3478,39 @@ export const ActionsApiFp = function (configuration) {
|
|
|
3380
3478
|
const localVarAxiosArgs = await localVarAxiosParamCreator.setTranslations(workspaceId, xliff, options);
|
|
3381
3479
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3382
3480
|
},
|
|
3481
|
+
/**
|
|
3482
|
+
*
|
|
3483
|
+
* @summary Unsubscribe from all automations in all workspaces
|
|
3484
|
+
* @param {*} [options] Override http request option.
|
|
3485
|
+
* @throws {RequiredError}
|
|
3486
|
+
*/
|
|
3487
|
+
async unsubscribeAllAutomations(options) {
|
|
3488
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unsubscribeAllAutomations(options);
|
|
3489
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3490
|
+
},
|
|
3491
|
+
/**
|
|
3492
|
+
*
|
|
3493
|
+
* @summary Unsubscribe from an automation
|
|
3494
|
+
* @param {string} workspaceId
|
|
3495
|
+
* @param {string} automationId
|
|
3496
|
+
* @param {*} [options] Override http request option.
|
|
3497
|
+
* @throws {RequiredError}
|
|
3498
|
+
*/
|
|
3499
|
+
async unsubscribeAutomation(workspaceId, automationId, options) {
|
|
3500
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unsubscribeAutomation(workspaceId, automationId, options);
|
|
3501
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3502
|
+
},
|
|
3503
|
+
/**
|
|
3504
|
+
*
|
|
3505
|
+
* @summary Unsubscribe from all automations in the workspace
|
|
3506
|
+
* @param {string} workspaceId
|
|
3507
|
+
* @param {*} [options] Override http request option.
|
|
3508
|
+
* @throws {RequiredError}
|
|
3509
|
+
*/
|
|
3510
|
+
async unsubscribeWorkspaceAutomations(workspaceId, options) {
|
|
3511
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unsubscribeWorkspaceAutomations(workspaceId, options);
|
|
3512
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3513
|
+
},
|
|
3383
3514
|
/**
|
|
3384
3515
|
* Resolves values for all settings in a workspace by current user, workspace, organization, or default settings.
|
|
3385
3516
|
* @summary Values for all settings.
|
|
@@ -3736,6 +3867,39 @@ export const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
3736
3867
|
.setTranslations(requestParameters.workspaceId, requestParameters.xliff, options)
|
|
3737
3868
|
.then((request) => request(axios, basePath));
|
|
3738
3869
|
},
|
|
3870
|
+
/**
|
|
3871
|
+
*
|
|
3872
|
+
* @summary Unsubscribe from all automations in all workspaces
|
|
3873
|
+
* @param {*} [options] Override http request option.
|
|
3874
|
+
* @throws {RequiredError}
|
|
3875
|
+
*/
|
|
3876
|
+
unsubscribeAllAutomations(options) {
|
|
3877
|
+
return localVarFp.unsubscribeAllAutomations(options).then((request) => request(axios, basePath));
|
|
3878
|
+
},
|
|
3879
|
+
/**
|
|
3880
|
+
*
|
|
3881
|
+
* @summary Unsubscribe from an automation
|
|
3882
|
+
* @param {ActionsApiUnsubscribeAutomationRequest} requestParameters Request parameters.
|
|
3883
|
+
* @param {*} [options] Override http request option.
|
|
3884
|
+
* @throws {RequiredError}
|
|
3885
|
+
*/
|
|
3886
|
+
unsubscribeAutomation(requestParameters, options) {
|
|
3887
|
+
return localVarFp
|
|
3888
|
+
.unsubscribeAutomation(requestParameters.workspaceId, requestParameters.automationId, options)
|
|
3889
|
+
.then((request) => request(axios, basePath));
|
|
3890
|
+
},
|
|
3891
|
+
/**
|
|
3892
|
+
*
|
|
3893
|
+
* @summary Unsubscribe from all automations in the workspace
|
|
3894
|
+
* @param {ActionsApiUnsubscribeWorkspaceAutomationsRequest} requestParameters Request parameters.
|
|
3895
|
+
* @param {*} [options] Override http request option.
|
|
3896
|
+
* @throws {RequiredError}
|
|
3897
|
+
*/
|
|
3898
|
+
unsubscribeWorkspaceAutomations(requestParameters, options) {
|
|
3899
|
+
return localVarFp
|
|
3900
|
+
.unsubscribeWorkspaceAutomations(requestParameters.workspaceId, options)
|
|
3901
|
+
.then((request) => request(axios, basePath));
|
|
3902
|
+
},
|
|
3739
3903
|
/**
|
|
3740
3904
|
* Resolves values for all settings in a workspace by current user, workspace, organization, or default settings.
|
|
3741
3905
|
* @summary Values for all settings.
|
|
@@ -4127,6 +4291,44 @@ export class ActionsApi extends BaseAPI {
|
|
|
4127
4291
|
.setTranslations(requestParameters.workspaceId, requestParameters.xliff, options)
|
|
4128
4292
|
.then((request) => request(this.axios, this.basePath));
|
|
4129
4293
|
}
|
|
4294
|
+
/**
|
|
4295
|
+
*
|
|
4296
|
+
* @summary Unsubscribe from all automations in all workspaces
|
|
4297
|
+
* @param {*} [options] Override http request option.
|
|
4298
|
+
* @throws {RequiredError}
|
|
4299
|
+
* @memberof ActionsApi
|
|
4300
|
+
*/
|
|
4301
|
+
unsubscribeAllAutomations(options) {
|
|
4302
|
+
return ActionsApiFp(this.configuration)
|
|
4303
|
+
.unsubscribeAllAutomations(options)
|
|
4304
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4305
|
+
}
|
|
4306
|
+
/**
|
|
4307
|
+
*
|
|
4308
|
+
* @summary Unsubscribe from an automation
|
|
4309
|
+
* @param {ActionsApiUnsubscribeAutomationRequest} requestParameters Request parameters.
|
|
4310
|
+
* @param {*} [options] Override http request option.
|
|
4311
|
+
* @throws {RequiredError}
|
|
4312
|
+
* @memberof ActionsApi
|
|
4313
|
+
*/
|
|
4314
|
+
unsubscribeAutomation(requestParameters, options) {
|
|
4315
|
+
return ActionsApiFp(this.configuration)
|
|
4316
|
+
.unsubscribeAutomation(requestParameters.workspaceId, requestParameters.automationId, options)
|
|
4317
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4318
|
+
}
|
|
4319
|
+
/**
|
|
4320
|
+
*
|
|
4321
|
+
* @summary Unsubscribe from all automations in the workspace
|
|
4322
|
+
* @param {ActionsApiUnsubscribeWorkspaceAutomationsRequest} requestParameters Request parameters.
|
|
4323
|
+
* @param {*} [options] Override http request option.
|
|
4324
|
+
* @throws {RequiredError}
|
|
4325
|
+
* @memberof ActionsApi
|
|
4326
|
+
*/
|
|
4327
|
+
unsubscribeWorkspaceAutomations(requestParameters, options) {
|
|
4328
|
+
return ActionsApiFp(this.configuration)
|
|
4329
|
+
.unsubscribeWorkspaceAutomations(requestParameters.workspaceId, options)
|
|
4330
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4331
|
+
}
|
|
4130
4332
|
/**
|
|
4131
4333
|
* Resolves values for all settings in a workspace by current user, workspace, organization, or default settings.
|
|
4132
4334
|
* @summary Values for all settings.
|
|
@@ -46726,6 +46928,242 @@ export class TranslationsApi extends BaseAPI {
|
|
|
46726
46928
|
.then((request) => request(this.axios, this.basePath));
|
|
46727
46929
|
}
|
|
46728
46930
|
}
|
|
46931
|
+
/**
|
|
46932
|
+
* UnsubscribeApi - axios parameter creator
|
|
46933
|
+
* @export
|
|
46934
|
+
*/
|
|
46935
|
+
export const UnsubscribeApiAxiosParamCreator = function (configuration) {
|
|
46936
|
+
return {
|
|
46937
|
+
/**
|
|
46938
|
+
*
|
|
46939
|
+
* @summary Unsubscribe from all automations in all workspaces
|
|
46940
|
+
* @param {*} [options] Override http request option.
|
|
46941
|
+
* @throws {RequiredError}
|
|
46942
|
+
*/
|
|
46943
|
+
unsubscribeAllAutomations: async (options = {}) => {
|
|
46944
|
+
const localVarPath = `/api/v1/actions/organization/automations/unsubscribe`;
|
|
46945
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46946
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
46947
|
+
let baseOptions;
|
|
46948
|
+
if (configuration) {
|
|
46949
|
+
baseOptions = configuration.baseOptions;
|
|
46950
|
+
}
|
|
46951
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
46952
|
+
const localVarHeaderParameter = {};
|
|
46953
|
+
const localVarQueryParameter = {};
|
|
46954
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
46955
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
46956
|
+
localVarRequestOptions.headers = {
|
|
46957
|
+
...localVarHeaderParameter,
|
|
46958
|
+
...headersFromBaseOptions,
|
|
46959
|
+
...options.headers,
|
|
46960
|
+
};
|
|
46961
|
+
return {
|
|
46962
|
+
url: toPathString(localVarUrlObj),
|
|
46963
|
+
options: localVarRequestOptions,
|
|
46964
|
+
};
|
|
46965
|
+
},
|
|
46966
|
+
/**
|
|
46967
|
+
*
|
|
46968
|
+
* @summary Unsubscribe from an automation
|
|
46969
|
+
* @param {string} workspaceId
|
|
46970
|
+
* @param {string} automationId
|
|
46971
|
+
* @param {*} [options] Override http request option.
|
|
46972
|
+
* @throws {RequiredError}
|
|
46973
|
+
*/
|
|
46974
|
+
unsubscribeAutomation: async (workspaceId, automationId, options = {}) => {
|
|
46975
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
46976
|
+
assertParamExists("unsubscribeAutomation", "workspaceId", workspaceId);
|
|
46977
|
+
// verify required parameter 'automationId' is not null or undefined
|
|
46978
|
+
assertParamExists("unsubscribeAutomation", "automationId", automationId);
|
|
46979
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/automations/{automationId}/unsubscribe`
|
|
46980
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
46981
|
+
.replace(`{${"automationId"}}`, encodeURIComponent(String(automationId)));
|
|
46982
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46983
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
46984
|
+
let baseOptions;
|
|
46985
|
+
if (configuration) {
|
|
46986
|
+
baseOptions = configuration.baseOptions;
|
|
46987
|
+
}
|
|
46988
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
46989
|
+
const localVarHeaderParameter = {};
|
|
46990
|
+
const localVarQueryParameter = {};
|
|
46991
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
46992
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
46993
|
+
localVarRequestOptions.headers = {
|
|
46994
|
+
...localVarHeaderParameter,
|
|
46995
|
+
...headersFromBaseOptions,
|
|
46996
|
+
...options.headers,
|
|
46997
|
+
};
|
|
46998
|
+
return {
|
|
46999
|
+
url: toPathString(localVarUrlObj),
|
|
47000
|
+
options: localVarRequestOptions,
|
|
47001
|
+
};
|
|
47002
|
+
},
|
|
47003
|
+
/**
|
|
47004
|
+
*
|
|
47005
|
+
* @summary Unsubscribe from all automations in the workspace
|
|
47006
|
+
* @param {string} workspaceId
|
|
47007
|
+
* @param {*} [options] Override http request option.
|
|
47008
|
+
* @throws {RequiredError}
|
|
47009
|
+
*/
|
|
47010
|
+
unsubscribeWorkspaceAutomations: async (workspaceId, options = {}) => {
|
|
47011
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
47012
|
+
assertParamExists("unsubscribeWorkspaceAutomations", "workspaceId", workspaceId);
|
|
47013
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/automations/unsubscribe`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
47014
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47015
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47016
|
+
let baseOptions;
|
|
47017
|
+
if (configuration) {
|
|
47018
|
+
baseOptions = configuration.baseOptions;
|
|
47019
|
+
}
|
|
47020
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
47021
|
+
const localVarHeaderParameter = {};
|
|
47022
|
+
const localVarQueryParameter = {};
|
|
47023
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
47024
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
47025
|
+
localVarRequestOptions.headers = {
|
|
47026
|
+
...localVarHeaderParameter,
|
|
47027
|
+
...headersFromBaseOptions,
|
|
47028
|
+
...options.headers,
|
|
47029
|
+
};
|
|
47030
|
+
return {
|
|
47031
|
+
url: toPathString(localVarUrlObj),
|
|
47032
|
+
options: localVarRequestOptions,
|
|
47033
|
+
};
|
|
47034
|
+
},
|
|
47035
|
+
};
|
|
47036
|
+
};
|
|
47037
|
+
/**
|
|
47038
|
+
* UnsubscribeApi - functional programming interface
|
|
47039
|
+
* @export
|
|
47040
|
+
*/
|
|
47041
|
+
export const UnsubscribeApiFp = function (configuration) {
|
|
47042
|
+
const localVarAxiosParamCreator = UnsubscribeApiAxiosParamCreator(configuration);
|
|
47043
|
+
return {
|
|
47044
|
+
/**
|
|
47045
|
+
*
|
|
47046
|
+
* @summary Unsubscribe from all automations in all workspaces
|
|
47047
|
+
* @param {*} [options] Override http request option.
|
|
47048
|
+
* @throws {RequiredError}
|
|
47049
|
+
*/
|
|
47050
|
+
async unsubscribeAllAutomations(options) {
|
|
47051
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unsubscribeAllAutomations(options);
|
|
47052
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
47053
|
+
},
|
|
47054
|
+
/**
|
|
47055
|
+
*
|
|
47056
|
+
* @summary Unsubscribe from an automation
|
|
47057
|
+
* @param {string} workspaceId
|
|
47058
|
+
* @param {string} automationId
|
|
47059
|
+
* @param {*} [options] Override http request option.
|
|
47060
|
+
* @throws {RequiredError}
|
|
47061
|
+
*/
|
|
47062
|
+
async unsubscribeAutomation(workspaceId, automationId, options) {
|
|
47063
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unsubscribeAutomation(workspaceId, automationId, options);
|
|
47064
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
47065
|
+
},
|
|
47066
|
+
/**
|
|
47067
|
+
*
|
|
47068
|
+
* @summary Unsubscribe from all automations in the workspace
|
|
47069
|
+
* @param {string} workspaceId
|
|
47070
|
+
* @param {*} [options] Override http request option.
|
|
47071
|
+
* @throws {RequiredError}
|
|
47072
|
+
*/
|
|
47073
|
+
async unsubscribeWorkspaceAutomations(workspaceId, options) {
|
|
47074
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unsubscribeWorkspaceAutomations(workspaceId, options);
|
|
47075
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
47076
|
+
},
|
|
47077
|
+
};
|
|
47078
|
+
};
|
|
47079
|
+
/**
|
|
47080
|
+
* UnsubscribeApi - factory interface
|
|
47081
|
+
* @export
|
|
47082
|
+
*/
|
|
47083
|
+
export const UnsubscribeApiFactory = function (configuration, basePath, axios) {
|
|
47084
|
+
const localVarFp = UnsubscribeApiFp(configuration);
|
|
47085
|
+
return {
|
|
47086
|
+
/**
|
|
47087
|
+
*
|
|
47088
|
+
* @summary Unsubscribe from all automations in all workspaces
|
|
47089
|
+
* @param {*} [options] Override http request option.
|
|
47090
|
+
* @throws {RequiredError}
|
|
47091
|
+
*/
|
|
47092
|
+
unsubscribeAllAutomations(options) {
|
|
47093
|
+
return localVarFp.unsubscribeAllAutomations(options).then((request) => request(axios, basePath));
|
|
47094
|
+
},
|
|
47095
|
+
/**
|
|
47096
|
+
*
|
|
47097
|
+
* @summary Unsubscribe from an automation
|
|
47098
|
+
* @param {UnsubscribeApiUnsubscribeAutomationRequest} requestParameters Request parameters.
|
|
47099
|
+
* @param {*} [options] Override http request option.
|
|
47100
|
+
* @throws {RequiredError}
|
|
47101
|
+
*/
|
|
47102
|
+
unsubscribeAutomation(requestParameters, options) {
|
|
47103
|
+
return localVarFp
|
|
47104
|
+
.unsubscribeAutomation(requestParameters.workspaceId, requestParameters.automationId, options)
|
|
47105
|
+
.then((request) => request(axios, basePath));
|
|
47106
|
+
},
|
|
47107
|
+
/**
|
|
47108
|
+
*
|
|
47109
|
+
* @summary Unsubscribe from all automations in the workspace
|
|
47110
|
+
* @param {UnsubscribeApiUnsubscribeWorkspaceAutomationsRequest} requestParameters Request parameters.
|
|
47111
|
+
* @param {*} [options] Override http request option.
|
|
47112
|
+
* @throws {RequiredError}
|
|
47113
|
+
*/
|
|
47114
|
+
unsubscribeWorkspaceAutomations(requestParameters, options) {
|
|
47115
|
+
return localVarFp
|
|
47116
|
+
.unsubscribeWorkspaceAutomations(requestParameters.workspaceId, options)
|
|
47117
|
+
.then((request) => request(axios, basePath));
|
|
47118
|
+
},
|
|
47119
|
+
};
|
|
47120
|
+
};
|
|
47121
|
+
/**
|
|
47122
|
+
* UnsubscribeApi - object-oriented interface
|
|
47123
|
+
* @export
|
|
47124
|
+
* @class UnsubscribeApi
|
|
47125
|
+
* @extends {BaseAPI}
|
|
47126
|
+
*/
|
|
47127
|
+
export class UnsubscribeApi extends BaseAPI {
|
|
47128
|
+
/**
|
|
47129
|
+
*
|
|
47130
|
+
* @summary Unsubscribe from all automations in all workspaces
|
|
47131
|
+
* @param {*} [options] Override http request option.
|
|
47132
|
+
* @throws {RequiredError}
|
|
47133
|
+
* @memberof UnsubscribeApi
|
|
47134
|
+
*/
|
|
47135
|
+
unsubscribeAllAutomations(options) {
|
|
47136
|
+
return UnsubscribeApiFp(this.configuration)
|
|
47137
|
+
.unsubscribeAllAutomations(options)
|
|
47138
|
+
.then((request) => request(this.axios, this.basePath));
|
|
47139
|
+
}
|
|
47140
|
+
/**
|
|
47141
|
+
*
|
|
47142
|
+
* @summary Unsubscribe from an automation
|
|
47143
|
+
* @param {UnsubscribeApiUnsubscribeAutomationRequest} requestParameters Request parameters.
|
|
47144
|
+
* @param {*} [options] Override http request option.
|
|
47145
|
+
* @throws {RequiredError}
|
|
47146
|
+
* @memberof UnsubscribeApi
|
|
47147
|
+
*/
|
|
47148
|
+
unsubscribeAutomation(requestParameters, options) {
|
|
47149
|
+
return UnsubscribeApiFp(this.configuration)
|
|
47150
|
+
.unsubscribeAutomation(requestParameters.workspaceId, requestParameters.automationId, options)
|
|
47151
|
+
.then((request) => request(this.axios, this.basePath));
|
|
47152
|
+
}
|
|
47153
|
+
/**
|
|
47154
|
+
*
|
|
47155
|
+
* @summary Unsubscribe from all automations in the workspace
|
|
47156
|
+
* @param {UnsubscribeApiUnsubscribeWorkspaceAutomationsRequest} requestParameters Request parameters.
|
|
47157
|
+
* @param {*} [options] Override http request option.
|
|
47158
|
+
* @throws {RequiredError}
|
|
47159
|
+
* @memberof UnsubscribeApi
|
|
47160
|
+
*/
|
|
47161
|
+
unsubscribeWorkspaceAutomations(requestParameters, options) {
|
|
47162
|
+
return UnsubscribeApiFp(this.configuration)
|
|
47163
|
+
.unsubscribeWorkspaceAutomations(requestParameters.workspaceId, options)
|
|
47164
|
+
.then((request) => request(this.axios, this.basePath));
|
|
47165
|
+
}
|
|
47166
|
+
}
|
|
46729
47167
|
/**
|
|
46730
47168
|
* UsageApi - axios parameter creator
|
|
46731
47169
|
* @export
|