@gooddata/api-client-tiger 11.10.0-alpha.5 → 11.10.0
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.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/__version.js.map +1 -1
- package/esm/actions.d.ts.map +1 -1
- package/esm/actions.js +2 -2
- package/esm/actions.js.map +1 -1
- package/esm/api-client-tiger.d.ts +52852 -62434
- package/esm/api-endpoints/actions/index.d.ts +2 -0
- package/esm/api-endpoints/actions/index.d.ts.map +1 -0
- package/esm/api-endpoints/actions/index.js +4 -0
- package/esm/api-endpoints/actions/index.js.map +1 -0
- package/esm/api-endpoints/authActions/index.d.ts +2 -0
- package/esm/api-endpoints/authActions/index.d.ts.map +1 -0
- package/esm/api-endpoints/authActions/index.js +4 -0
- package/esm/api-endpoints/authActions/index.js.map +1 -0
- package/esm/api-endpoints/automation/index.d.ts +2 -0
- package/esm/api-endpoints/automation/index.d.ts.map +1 -0
- package/esm/api-endpoints/automation/index.js +4 -0
- package/esm/api-endpoints/automation/index.js.map +1 -0
- package/esm/api-endpoints/entitiesObjects/index.d.ts +33 -0
- package/esm/api-endpoints/entitiesObjects/index.d.ts.map +1 -0
- package/esm/api-endpoints/entitiesObjects/index.js +66 -0
- package/esm/api-endpoints/entitiesObjects/index.js.map +1 -0
- package/esm/api-endpoints/execution/index.d.ts +3 -0
- package/esm/api-endpoints/execution/index.d.ts.map +1 -0
- package/esm/api-endpoints/execution/index.js +6 -0
- package/esm/api-endpoints/execution/index.js.map +1 -0
- package/esm/api-endpoints/explain/index.d.ts +2 -0
- package/esm/api-endpoints/explain/index.d.ts.map +1 -0
- package/esm/api-endpoints/explain/index.js +4 -0
- package/esm/api-endpoints/explain/index.js.map +1 -0
- package/esm/api-endpoints/export/index.d.ts +2 -0
- package/esm/api-endpoints/export/index.d.ts.map +1 -0
- package/esm/api-endpoints/export/index.js +4 -0
- package/esm/api-endpoints/export/index.js.map +1 -0
- package/esm/api-endpoints/genAI/index.d.ts +2 -0
- package/esm/api-endpoints/genAI/index.d.ts.map +1 -0
- package/esm/api-endpoints/genAI/index.js +4 -0
- package/esm/api-endpoints/genAI/index.js.map +1 -0
- package/esm/api-endpoints/labelElements/index.d.ts +2 -0
- package/esm/api-endpoints/labelElements/index.d.ts.map +1 -0
- package/esm/api-endpoints/labelElements/index.js +4 -0
- package/esm/api-endpoints/labelElements/index.js.map +1 -0
- package/esm/api-endpoints/layout/index.d.ts +2 -0
- package/esm/api-endpoints/layout/index.d.ts.map +1 -0
- package/esm/api-endpoints/layout/index.js +4 -0
- package/esm/api-endpoints/layout/index.js.map +1 -0
- package/esm/api-endpoints/profile/index.d.ts +3 -0
- package/esm/api-endpoints/profile/index.d.ts.map +1 -0
- package/esm/api-endpoints/profile/index.js +3 -0
- package/esm/api-endpoints/profile/index.js.map +1 -0
- package/esm/api-endpoints/result/index.d.ts +2 -0
- package/esm/api-endpoints/result/index.d.ts.map +1 -0
- package/esm/api-endpoints/result/index.js +4 -0
- package/esm/api-endpoints/result/index.js.map +1 -0
- package/esm/api-endpoints/scanModel/index.d.ts +2 -0
- package/esm/api-endpoints/scanModel/index.d.ts.map +1 -0
- package/esm/api-endpoints/scanModel/index.js +4 -0
- package/esm/api-endpoints/scanModel/index.js.map +1 -0
- package/esm/api-endpoints/smartFunctions/index.d.ts +2 -0
- package/esm/api-endpoints/smartFunctions/index.d.ts.map +1 -0
- package/esm/api-endpoints/smartFunctions/index.js +4 -0
- package/esm/api-endpoints/smartFunctions/index.js.map +1 -0
- package/esm/api-endpoints/userManagement/index.d.ts +2 -0
- package/esm/api-endpoints/userManagement/index.d.ts.map +1 -0
- package/esm/api-endpoints/userManagement/index.js +4 -0
- package/esm/api-endpoints/userManagement/index.js.map +1 -0
- package/esm/api-endpoints/validDescendants/index.d.ts +2 -0
- package/esm/api-endpoints/validDescendants/index.d.ts.map +1 -0
- package/esm/api-endpoints/validDescendants/index.js +4 -0
- package/esm/api-endpoints/validDescendants/index.js.map +1 -0
- package/esm/api-endpoints/validObjects/index.d.ts +2 -0
- package/esm/api-endpoints/validObjects/index.d.ts.map +1 -0
- package/esm/api-endpoints/validObjects/index.js +4 -0
- package/esm/api-endpoints/validObjects/index.js.map +1 -0
- package/esm/authActions.d.ts.map +1 -1
- package/esm/authActions.js +2 -2
- package/esm/authActions.js.map +1 -1
- package/esm/client.d.ts +26 -2
- package/esm/client.d.ts.map +1 -1
- package/esm/client.js +21 -1
- package/esm/client.js.map +1 -1
- package/esm/entitiesObjects.d.ts.map +1 -1
- package/esm/entitiesObjects.js +2 -2
- package/esm/entitiesObjects.js.map +1 -1
- package/esm/gd-tiger-model/typeGuards.d.ts.map +1 -1
- package/esm/gd-tiger-model/typeGuards.js +8 -11
- package/esm/gd-tiger-model/typeGuards.js.map +1 -1
- package/esm/generated/afm-rest-api/api.d.ts +2527 -3252
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +3700 -4690
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/afm-rest-api/base.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/base.js +13 -1
- package/esm/generated/afm-rest-api/base.js.map +1 -1
- package/esm/generated/afm-rest-api/configuration.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/configuration.js +13 -1
- package/esm/generated/afm-rest-api/configuration.js.map +1 -1
- package/esm/generated/auth-json-api/api.d.ts +283 -395
- package/esm/generated/auth-json-api/api.d.ts.map +1 -1
- package/esm/generated/auth-json-api/api.js +703 -880
- package/esm/generated/auth-json-api/api.js.map +1 -1
- package/esm/generated/auth-json-api/base.d.ts.map +1 -1
- package/esm/generated/auth-json-api/base.js +13 -1
- package/esm/generated/auth-json-api/base.js.map +1 -1
- package/esm/generated/auth-json-api/configuration.d.ts.map +1 -1
- package/esm/generated/auth-json-api/configuration.js +13 -1
- package/esm/generated/auth-json-api/configuration.js.map +1 -1
- package/esm/generated/auth-json-api/template.d.ts +102 -0
- package/esm/generated/auth-json-api/template.d.ts.map +1 -0
- package/esm/generated/auth-json-api/template.js +154 -0
- package/esm/generated/auth-json-api/template.js.map +1 -0
- package/esm/generated/automation-json-api/api.d.ts +347 -757
- package/esm/generated/automation-json-api/api.d.ts.map +1 -1
- package/esm/generated/automation-json-api/api.js +768 -1251
- package/esm/generated/automation-json-api/api.js.map +1 -1
- package/esm/generated/automation-json-api/base.d.ts.map +1 -1
- package/esm/generated/automation-json-api/base.js +13 -1
- package/esm/generated/automation-json-api/base.js.map +1 -1
- package/esm/generated/automation-json-api/common.d.ts.map +1 -1
- package/esm/generated/automation-json-api/common.js +13 -1
- package/esm/generated/automation-json-api/common.js.map +1 -1
- package/esm/generated/automation-json-api/configuration.d.ts.map +1 -1
- package/esm/generated/automation-json-api/configuration.js +13 -1
- package/esm/generated/automation-json-api/configuration.js.map +1 -1
- package/esm/generated/automation-json-api/index.d.ts.map +1 -1
- package/esm/generated/automation-json-api/index.js +1 -1
- package/esm/generated/automation-json-api/index.js.map +1 -1
- package/esm/generated/export-json-api/api.d.ts +662 -1134
- package/esm/generated/export-json-api/api.d.ts.map +1 -1
- package/esm/generated/export-json-api/api.js +1556 -2181
- package/esm/generated/export-json-api/api.js.map +1 -1
- package/esm/generated/export-json-api/base.d.ts.map +1 -1
- package/esm/generated/export-json-api/base.js +13 -1
- package/esm/generated/export-json-api/base.js.map +1 -1
- package/esm/generated/export-json-api/configuration.d.ts.map +1 -1
- package/esm/generated/export-json-api/configuration.js +13 -1
- package/esm/generated/export-json-api/configuration.js.map +1 -1
- package/esm/generated/metadata-json-api/api.d.ts +35920 -44004
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +54041 -65836
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/base.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/base.js +13 -1
- package/esm/generated/metadata-json-api/base.js.map +1 -1
- package/esm/generated/metadata-json-api/configuration.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/configuration.js +13 -1
- package/esm/generated/metadata-json-api/configuration.js.map +1 -1
- package/esm/generated/metadata-json-api/openapi-spec.json +10318 -10318
- package/esm/generated/result-json-api/api.d.ts +290 -524
- package/esm/generated/result-json-api/api.d.ts.map +1 -1
- package/esm/generated/result-json-api/api.js +784 -1135
- package/esm/generated/result-json-api/api.js.map +1 -1
- package/esm/generated/result-json-api/base.d.ts.map +1 -1
- package/esm/generated/result-json-api/base.js +13 -1
- package/esm/generated/result-json-api/base.js.map +1 -1
- package/esm/generated/result-json-api/configuration.d.ts.map +1 -1
- package/esm/generated/result-json-api/configuration.js +13 -1
- package/esm/generated/result-json-api/configuration.js.map +1 -1
- package/esm/generated/scan-json-api/api.d.ts +243 -441
- package/esm/generated/scan-json-api/api.d.ts.map +1 -1
- package/esm/generated/scan-json-api/api.js +655 -922
- package/esm/generated/scan-json-api/api.js.map +1 -1
- package/esm/generated/scan-json-api/base.d.ts.map +1 -1
- package/esm/generated/scan-json-api/base.js +13 -1
- package/esm/generated/scan-json-api/base.js.map +1 -1
- package/esm/generated/scan-json-api/configuration.d.ts.map +1 -1
- package/esm/generated/scan-json-api/configuration.js +13 -1
- package/esm/generated/scan-json-api/configuration.js.map +1 -1
- package/esm/generated/scan-json-api/openapi-spec.json +1 -1
- package/esm/index.d.ts +4 -5
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +0 -5
- package/esm/index.js.map +1 -1
- package/esm/metadataUtilities.d.ts +21 -4
- package/esm/metadataUtilities.d.ts.map +1 -1
- package/esm/metadataUtilities.js +83 -12
- package/esm/metadataUtilities.js.map +1 -1
- package/esm/organizationUtilities.d.ts +9 -18
- package/esm/organizationUtilities.d.ts.map +1 -1
- package/esm/organizationUtilities.js +1 -17
- package/esm/organizationUtilities.js.map +1 -1
- package/esm/profile.d.ts +34 -0
- package/esm/profile.d.ts.map +1 -1
- package/esm/profile.js +26 -20
- package/esm/profile.js.map +1 -1
- package/esm/scanModel.d.ts.map +1 -1
- package/esm/scanModel.js +2 -2
- package/esm/scanModel.js.map +1 -1
- package/esm/userManagement.d.ts.map +1 -1
- package/esm/userManagement.js +2 -2
- package/esm/userManagement.js.map +1 -1
- package/package.json +25 -6
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* OpenAPI definition
|
|
4
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: v0
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
2
13
|
import globalAxios from "axios";
|
|
3
14
|
// Some imports not used depending on template conditions, we also need prettier-ignore so that the import does not get split and ts-ignore still works
|
|
4
15
|
// prettier-ignore
|
|
@@ -8,1146 +19,799 @@ import { DUMMY_BASE_URL, assertParamExists, setSearchParams, toPathString, creat
|
|
|
8
19
|
// prettier-ignore
|
|
9
20
|
// @ts-ignore
|
|
10
21
|
import { BASE_PATH, BaseAPI } from './base.js';
|
|
11
|
-
|
|
12
|
-
ATTRIBUTE: "attribute",
|
|
13
|
-
};
|
|
14
|
-
export const ExportAfmObjectIdentifierCoreIdentifierTypeEnum = {
|
|
15
|
-
ATTRIBUTE: "attribute",
|
|
16
|
-
LABEL: "label",
|
|
17
|
-
FACT: "fact",
|
|
18
|
-
METRIC: "metric",
|
|
19
|
-
};
|
|
20
|
-
export const ExportAfmObjectIdentifierDatasetIdentifierTypeEnum = {
|
|
21
|
-
DATASET: "dataset",
|
|
22
|
-
};
|
|
23
|
-
export const ExportAfmObjectIdentifierIdentifierTypeEnum = {
|
|
24
|
-
ANALYTICAL_DASHBOARD: "analyticalDashboard",
|
|
25
|
-
ATTRIBUTE: "attribute",
|
|
26
|
-
DASHBOARD_PLUGIN: "dashboardPlugin",
|
|
27
|
-
DATASET: "dataset",
|
|
28
|
-
FACT: "fact",
|
|
29
|
-
LABEL: "label",
|
|
30
|
-
METRIC: "metric",
|
|
31
|
-
PROMPT: "prompt",
|
|
32
|
-
VISUALIZATION_OBJECT: "visualizationObject",
|
|
33
|
-
FILTER_CONTEXT: "filterContext",
|
|
34
|
-
};
|
|
35
|
-
export const ExportAfmObjectIdentifierLabelIdentifierTypeEnum = {
|
|
36
|
-
LABEL: "label",
|
|
37
|
-
};
|
|
38
|
-
export const ExportArithmeticMeasureDefinitionArithmeticMeasureOperatorEnum = {
|
|
39
|
-
SUM: "SUM",
|
|
40
|
-
DIFFERENCE: "DIFFERENCE",
|
|
41
|
-
MULTIPLICATION: "MULTIPLICATION",
|
|
42
|
-
RATIO: "RATIO",
|
|
43
|
-
CHANGE: "CHANGE",
|
|
44
|
-
};
|
|
45
|
-
export const ExportBoundedFilterGranularityEnum = {
|
|
46
|
-
MINUTE: "MINUTE",
|
|
47
|
-
HOUR: "HOUR",
|
|
48
|
-
DAY: "DAY",
|
|
49
|
-
WEEK: "WEEK",
|
|
50
|
-
MONTH: "MONTH",
|
|
51
|
-
QUARTER: "QUARTER",
|
|
52
|
-
YEAR: "YEAR",
|
|
53
|
-
MINUTE_OF_HOUR: "MINUTE_OF_HOUR",
|
|
54
|
-
HOUR_OF_DAY: "HOUR_OF_DAY",
|
|
55
|
-
DAY_OF_WEEK: "DAY_OF_WEEK",
|
|
56
|
-
DAY_OF_MONTH: "DAY_OF_MONTH",
|
|
57
|
-
DAY_OF_QUARTER: "DAY_OF_QUARTER",
|
|
58
|
-
DAY_OF_YEAR: "DAY_OF_YEAR",
|
|
59
|
-
WEEK_OF_YEAR: "WEEK_OF_YEAR",
|
|
60
|
-
MONTH_OF_YEAR: "MONTH_OF_YEAR",
|
|
61
|
-
QUARTER_OF_YEAR: "QUARTER_OF_YEAR",
|
|
62
|
-
};
|
|
63
|
-
export const ExportComparisonMeasureValueFilterComparisonMeasureValueFilterOperatorEnum = {
|
|
64
|
-
GREATER_THAN: "GREATER_THAN",
|
|
65
|
-
GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",
|
|
66
|
-
LESS_THAN: "LESS_THAN",
|
|
67
|
-
LESS_THAN_OR_EQUAL_TO: "LESS_THAN_OR_EQUAL_TO",
|
|
68
|
-
EQUAL_TO: "EQUAL_TO",
|
|
69
|
-
NOT_EQUAL_TO: "NOT_EQUAL_TO",
|
|
70
|
-
};
|
|
71
|
-
export const ExportDashboardAttributeFilterAttributeFilterSelectionModeEnum = {
|
|
72
|
-
SINGLE: "single",
|
|
73
|
-
MULTI: "multi",
|
|
74
|
-
};
|
|
75
|
-
export const ExportDashboardDateFilterDateFilterTypeEnum = {
|
|
76
|
-
RELATIVE: "relative",
|
|
77
|
-
ABSOLUTE: "absolute",
|
|
78
|
-
};
|
|
79
|
-
export const ExportDashboardDateFilterDateFilterGranularityEnum = {
|
|
80
|
-
ALL_TIME_GRANULARITY: "ALL_TIME_GRANULARITY",
|
|
81
|
-
GDC_TIME_YEAR: "GDC.time.year",
|
|
82
|
-
GDC_TIME_WEEK_US: "GDC.time.week_us",
|
|
83
|
-
GDC_TIME_WEEK_IN_YEAR: "GDC.time.week_in_year",
|
|
84
|
-
GDC_TIME_WEEK_IN_QUARTER: "GDC.time.week_in_quarter",
|
|
85
|
-
GDC_TIME_WEEK: "GDC.time.week",
|
|
86
|
-
GDC_TIME_EUWEEK_IN_YEAR: "GDC.time.euweek_in_year",
|
|
87
|
-
GDC_TIME_EUWEEK_IN_QUARTER: "GDC.time.euweek_in_quarter",
|
|
88
|
-
GDC_TIME_QUARTER: "GDC.time.quarter",
|
|
89
|
-
GDC_TIME_QUARTER_IN_YEAR: "GDC.time.quarter_in_year",
|
|
90
|
-
GDC_TIME_MONTH: "GDC.time.month",
|
|
91
|
-
GDC_TIME_MONTH_IN_QUARTER: "GDC.time.month_in_quarter",
|
|
92
|
-
GDC_TIME_MONTH_IN_YEAR: "GDC.time.month_in_year",
|
|
93
|
-
GDC_TIME_DAY_IN_YEAR: "GDC.time.day_in_year",
|
|
94
|
-
GDC_TIME_DAY_IN_QUARTER: "GDC.time.day_in_quarter",
|
|
95
|
-
GDC_TIME_DAY_IN_MONTH: "GDC.time.day_in_month",
|
|
96
|
-
GDC_TIME_DAY_IN_WEEK: "GDC.time.day_in_week",
|
|
97
|
-
GDC_TIME_DAY_IN_EUWEEK: "GDC.time.day_in_euweek",
|
|
98
|
-
GDC_TIME_DATE: "GDC.time.date",
|
|
99
|
-
GDC_TIME_HOUR: "GDC.time.hour",
|
|
100
|
-
GDC_TIME_HOUR_IN_DAY: "GDC.time.hour_in_day",
|
|
101
|
-
GDC_TIME_MINUTE: "GDC.time.minute",
|
|
102
|
-
GDC_TIME_MINUTE_IN_HOUR: "GDC.time.minute_in_hour",
|
|
103
|
-
};
|
|
104
|
-
export const ExportDashboardExportSettingsPageSizeEnum = {
|
|
105
|
-
A3: "A3",
|
|
106
|
-
A4: "A4",
|
|
107
|
-
LETTER: "LETTER",
|
|
108
|
-
};
|
|
109
|
-
export const ExportDashboardExportSettingsPageOrientationEnum = {
|
|
110
|
-
PORTRAIT: "PORTRAIT",
|
|
111
|
-
LANDSCAPE: "LANDSCAPE",
|
|
112
|
-
};
|
|
113
|
-
export const ExportDashboardTabularExportRequestFormatEnum = {
|
|
114
|
-
XLSX: "XLSX",
|
|
115
|
-
PDF: "PDF",
|
|
116
|
-
};
|
|
117
|
-
export const ExportIdentifierRefIdentifierTypeEnum = {
|
|
118
|
-
ANALYTICAL_DASHBOARD: "analyticalDashboard",
|
|
119
|
-
ATTRIBUTE: "attribute",
|
|
120
|
-
ATTRIBUTE_HIERARCHY: "attributeHierarchy",
|
|
121
|
-
DASHBOARD_PLUGIN: "dashboardPlugin",
|
|
122
|
-
DATASET: "dataset",
|
|
123
|
-
FACT: "fact",
|
|
124
|
-
AGGREGATED_FACT: "aggregatedFact",
|
|
125
|
-
LABEL: "label",
|
|
126
|
-
METRIC: "metric",
|
|
127
|
-
USER_DATA_FILTER: "userDataFilter",
|
|
128
|
-
EXPORT_DEFINITION: "exportDefinition",
|
|
129
|
-
AUTOMATION: "automation",
|
|
130
|
-
AUTOMATION_RESULT: "automationResult",
|
|
131
|
-
MEMORY_ITEM: "memoryItem",
|
|
132
|
-
PROMPT: "prompt",
|
|
133
|
-
VISUALIZATION_OBJECT: "visualizationObject",
|
|
134
|
-
FILTER_CONTEXT: "filterContext",
|
|
135
|
-
WORKSPACE_SETTINGS: "workspaceSettings",
|
|
136
|
-
CUSTOM_APPLICATION_SETTING: "customApplicationSetting",
|
|
137
|
-
WORKSPACE_DATA_FILTER: "workspaceDataFilter",
|
|
138
|
-
WORKSPACE_DATA_FILTER_SETTING: "workspaceDataFilterSetting",
|
|
139
|
-
FILTER_VIEW: "filterView",
|
|
140
|
-
};
|
|
141
|
-
export const ExportImageExportRequestFormatEnum = {
|
|
142
|
-
PNG: "PNG",
|
|
143
|
-
};
|
|
144
|
-
export const ExportRangeMeasureValueFilterRangeMeasureValueFilterOperatorEnum = {
|
|
145
|
-
BETWEEN: "BETWEEN",
|
|
146
|
-
NOT_BETWEEN: "NOT_BETWEEN",
|
|
147
|
-
};
|
|
148
|
-
export const ExportRankingFilterRankingFilterOperatorEnum = {
|
|
149
|
-
TOP: "TOP",
|
|
150
|
-
BOTTOM: "BOTTOM",
|
|
151
|
-
};
|
|
152
|
-
export const ExportRawExportRequestFormatEnum = {
|
|
153
|
-
ARROW_FILE: "ARROW_FILE",
|
|
154
|
-
ARROW_STREAM: "ARROW_STREAM",
|
|
155
|
-
CSV: "CSV",
|
|
156
|
-
};
|
|
157
|
-
export const ExportRelativeBoundedDateFilterGranularityEnum = {
|
|
158
|
-
ALL_TIME_GRANULARITY: "ALL_TIME_GRANULARITY",
|
|
159
|
-
GDC_TIME_YEAR: "GDC.time.year",
|
|
160
|
-
GDC_TIME_WEEK_US: "GDC.time.week_us",
|
|
161
|
-
GDC_TIME_WEEK_IN_YEAR: "GDC.time.week_in_year",
|
|
162
|
-
GDC_TIME_WEEK_IN_QUARTER: "GDC.time.week_in_quarter",
|
|
163
|
-
GDC_TIME_WEEK: "GDC.time.week",
|
|
164
|
-
GDC_TIME_EUWEEK_IN_YEAR: "GDC.time.euweek_in_year",
|
|
165
|
-
GDC_TIME_EUWEEK_IN_QUARTER: "GDC.time.euweek_in_quarter",
|
|
166
|
-
GDC_TIME_QUARTER: "GDC.time.quarter",
|
|
167
|
-
GDC_TIME_QUARTER_IN_YEAR: "GDC.time.quarter_in_year",
|
|
168
|
-
GDC_TIME_MONTH: "GDC.time.month",
|
|
169
|
-
GDC_TIME_MONTH_IN_QUARTER: "GDC.time.month_in_quarter",
|
|
170
|
-
GDC_TIME_MONTH_IN_YEAR: "GDC.time.month_in_year",
|
|
171
|
-
GDC_TIME_DAY_IN_YEAR: "GDC.time.day_in_year",
|
|
172
|
-
GDC_TIME_DAY_IN_QUARTER: "GDC.time.day_in_quarter",
|
|
173
|
-
GDC_TIME_DAY_IN_MONTH: "GDC.time.day_in_month",
|
|
174
|
-
GDC_TIME_DAY_IN_WEEK: "GDC.time.day_in_week",
|
|
175
|
-
GDC_TIME_DAY_IN_EUWEEK: "GDC.time.day_in_euweek",
|
|
176
|
-
GDC_TIME_DATE: "GDC.time.date",
|
|
177
|
-
GDC_TIME_HOUR: "GDC.time.hour",
|
|
178
|
-
GDC_TIME_HOUR_IN_DAY: "GDC.time.hour_in_day",
|
|
179
|
-
GDC_TIME_MINUTE: "GDC.time.minute",
|
|
180
|
-
GDC_TIME_MINUTE_IN_HOUR: "GDC.time.minute_in_hour",
|
|
181
|
-
};
|
|
182
|
-
export const ExportRelativeDateFilterRelativeDateFilterGranularityEnum = {
|
|
183
|
-
MINUTE: "MINUTE",
|
|
184
|
-
HOUR: "HOUR",
|
|
185
|
-
DAY: "DAY",
|
|
186
|
-
WEEK: "WEEK",
|
|
187
|
-
MONTH: "MONTH",
|
|
188
|
-
QUARTER: "QUARTER",
|
|
189
|
-
YEAR: "YEAR",
|
|
190
|
-
MINUTE_OF_HOUR: "MINUTE_OF_HOUR",
|
|
191
|
-
HOUR_OF_DAY: "HOUR_OF_DAY",
|
|
192
|
-
DAY_OF_WEEK: "DAY_OF_WEEK",
|
|
193
|
-
DAY_OF_MONTH: "DAY_OF_MONTH",
|
|
194
|
-
DAY_OF_QUARTER: "DAY_OF_QUARTER",
|
|
195
|
-
DAY_OF_YEAR: "DAY_OF_YEAR",
|
|
196
|
-
WEEK_OF_YEAR: "WEEK_OF_YEAR",
|
|
197
|
-
MONTH_OF_YEAR: "MONTH_OF_YEAR",
|
|
198
|
-
QUARTER_OF_YEAR: "QUARTER_OF_YEAR",
|
|
199
|
-
};
|
|
200
|
-
export const ExportSettingsPageSizeEnum = {
|
|
201
|
-
A3: "A3",
|
|
202
|
-
A4: "A4",
|
|
203
|
-
LETTER: "LETTER",
|
|
204
|
-
};
|
|
205
|
-
export const ExportSettingsPageOrientationEnum = {
|
|
206
|
-
PORTRAIT: "PORTRAIT",
|
|
207
|
-
LANDSCAPE: "LANDSCAPE",
|
|
208
|
-
};
|
|
209
|
-
export const ExportSimpleMeasureDefinitionMeasureAggregationEnum = {
|
|
210
|
-
SUM: "SUM",
|
|
211
|
-
COUNT: "COUNT",
|
|
212
|
-
AVG: "AVG",
|
|
213
|
-
MIN: "MIN",
|
|
214
|
-
MAX: "MAX",
|
|
215
|
-
MEDIAN: "MEDIAN",
|
|
216
|
-
RUNSUM: "RUNSUM",
|
|
217
|
-
APPROXIMATE_COUNT: "APPROXIMATE_COUNT",
|
|
218
|
-
};
|
|
219
|
-
export const ExportSlidesExportRequestFormatEnum = {
|
|
220
|
-
PDF: "PDF",
|
|
221
|
-
PPTX: "PPTX",
|
|
222
|
-
};
|
|
223
|
-
export const ExportTabularExportRequestFormatEnum = {
|
|
224
|
-
CSV: "CSV",
|
|
225
|
-
XLSX: "XLSX",
|
|
226
|
-
HTML: "HTML",
|
|
227
|
-
PDF: "PDF",
|
|
228
|
-
};
|
|
22
|
+
// ActionsExport FP - ActionsExportAxiosParamCreator
|
|
229
23
|
/**
|
|
230
|
-
*
|
|
231
|
-
* @export
|
|
24
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly.An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
25
|
+
* @summary (EXPERIMENTAL) Create dashboard tabular export request
|
|
26
|
+
* @param {string} workspaceId
|
|
27
|
+
* @param {string} dashboardId
|
|
28
|
+
* @param {ExportDashboardTabularExportRequest} exportDashboardTabularExportRequest
|
|
29
|
+
* @param {*} [options] Override http request option.
|
|
30
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
31
|
+
* @throws {RequiredError}
|
|
232
32
|
*/
|
|
233
|
-
export
|
|
33
|
+
export async function ActionsExportAxiosParamCreator_CreateDashboardExportRequest(workspaceId, dashboardId, exportDashboardTabularExportRequest, options = {}, configuration) {
|
|
34
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
35
|
+
assertParamExists("createDashboardExportRequest", "workspaceId", workspaceId);
|
|
36
|
+
// verify required parameter 'dashboardId' is not null or undefined
|
|
37
|
+
assertParamExists("createDashboardExportRequest", "dashboardId", dashboardId);
|
|
38
|
+
// verify required parameter 'exportDashboardTabularExportRequest' is not null or undefined
|
|
39
|
+
assertParamExists("createDashboardExportRequest", "exportDashboardTabularExportRequest", exportDashboardTabularExportRequest);
|
|
40
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/export/tabular`
|
|
41
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
42
|
+
.replace(`{${"dashboardId"}}`, encodeURIComponent(String(dashboardId)));
|
|
43
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
45
|
+
let baseOptions;
|
|
46
|
+
if (configuration) {
|
|
47
|
+
baseOptions = configuration.baseOptions;
|
|
48
|
+
}
|
|
49
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
50
|
+
const localVarHeaderParameter = {};
|
|
51
|
+
const localVarQueryParameter = {};
|
|
52
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
53
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
54
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
55
|
+
localVarRequestOptions.headers = {
|
|
56
|
+
...localVarHeaderParameter,
|
|
57
|
+
...headersFromBaseOptions,
|
|
58
|
+
...options.headers,
|
|
59
|
+
};
|
|
60
|
+
const needsSerialization = typeof exportDashboardTabularExportRequest !== "string" ||
|
|
61
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
62
|
+
localVarRequestOptions.data = needsSerialization
|
|
63
|
+
? JSON.stringify(exportDashboardTabularExportRequest !== undefined ? exportDashboardTabularExportRequest : {})
|
|
64
|
+
: exportDashboardTabularExportRequest || "";
|
|
234
65
|
return {
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
* @summary (EXPERIMENTAL) Create dashboard tabular export request
|
|
238
|
-
* @param {string} workspaceId
|
|
239
|
-
* @param {string} dashboardId
|
|
240
|
-
* @param {ExportDashboardTabularExportRequest} exportDashboardTabularExportRequest
|
|
241
|
-
* @param {*} [options] Override http request option.
|
|
242
|
-
* @throws {RequiredError}
|
|
243
|
-
*/
|
|
244
|
-
createDashboardExportRequest: async (workspaceId, dashboardId, exportDashboardTabularExportRequest, options = {}) => {
|
|
245
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
246
|
-
assertParamExists("createDashboardExportRequest", "workspaceId", workspaceId);
|
|
247
|
-
// verify required parameter 'dashboardId' is not null or undefined
|
|
248
|
-
assertParamExists("createDashboardExportRequest", "dashboardId", dashboardId);
|
|
249
|
-
// verify required parameter 'exportDashboardTabularExportRequest' is not null or undefined
|
|
250
|
-
assertParamExists("createDashboardExportRequest", "exportDashboardTabularExportRequest", exportDashboardTabularExportRequest);
|
|
251
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/export/tabular`
|
|
252
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
253
|
-
.replace(`{${"dashboardId"}}`, encodeURIComponent(String(dashboardId)));
|
|
254
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
255
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
256
|
-
let baseOptions;
|
|
257
|
-
if (configuration) {
|
|
258
|
-
baseOptions = configuration.baseOptions;
|
|
259
|
-
}
|
|
260
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
261
|
-
const localVarHeaderParameter = {};
|
|
262
|
-
const localVarQueryParameter = {};
|
|
263
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
264
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
265
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
266
|
-
localVarRequestOptions.headers = {
|
|
267
|
-
...localVarHeaderParameter,
|
|
268
|
-
...headersFromBaseOptions,
|
|
269
|
-
...options.headers,
|
|
270
|
-
};
|
|
271
|
-
const needsSerialization = typeof exportDashboardTabularExportRequest !== "string" ||
|
|
272
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
273
|
-
localVarRequestOptions.data = needsSerialization
|
|
274
|
-
? JSON.stringify(exportDashboardTabularExportRequest !== undefined
|
|
275
|
-
? exportDashboardTabularExportRequest
|
|
276
|
-
: {})
|
|
277
|
-
: exportDashboardTabularExportRequest || "";
|
|
278
|
-
return {
|
|
279
|
-
url: toPathString(localVarUrlObj),
|
|
280
|
-
options: localVarRequestOptions,
|
|
281
|
-
};
|
|
282
|
-
},
|
|
283
|
-
/**
|
|
284
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. An image export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
285
|
-
* @summary (EXPERIMENTAL) Create image export request
|
|
286
|
-
* @param {string} workspaceId
|
|
287
|
-
* @param {ExportImageExportRequest} exportImageExportRequest
|
|
288
|
-
* @param {*} [options] Override http request option.
|
|
289
|
-
* @throws {RequiredError}
|
|
290
|
-
*/
|
|
291
|
-
createImageExport: async (workspaceId, exportImageExportRequest, options = {}) => {
|
|
292
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
293
|
-
assertParamExists("createImageExport", "workspaceId", workspaceId);
|
|
294
|
-
// verify required parameter 'exportImageExportRequest' is not null or undefined
|
|
295
|
-
assertParamExists("createImageExport", "exportImageExportRequest", exportImageExportRequest);
|
|
296
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/image`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
297
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
298
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
299
|
-
let baseOptions;
|
|
300
|
-
if (configuration) {
|
|
301
|
-
baseOptions = configuration.baseOptions;
|
|
302
|
-
}
|
|
303
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
304
|
-
const localVarHeaderParameter = {};
|
|
305
|
-
const localVarQueryParameter = {};
|
|
306
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
307
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
308
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
309
|
-
localVarRequestOptions.headers = {
|
|
310
|
-
...localVarHeaderParameter,
|
|
311
|
-
...headersFromBaseOptions,
|
|
312
|
-
...options.headers,
|
|
313
|
-
};
|
|
314
|
-
const needsSerialization = typeof exportImageExportRequest !== "string" ||
|
|
315
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
316
|
-
localVarRequestOptions.data = needsSerialization
|
|
317
|
-
? JSON.stringify(exportImageExportRequest !== undefined ? exportImageExportRequest : {})
|
|
318
|
-
: exportImageExportRequest || "";
|
|
319
|
-
return {
|
|
320
|
-
url: toPathString(localVarUrlObj),
|
|
321
|
-
options: localVarRequestOptions,
|
|
322
|
-
};
|
|
323
|
-
},
|
|
324
|
-
/**
|
|
325
|
-
* An visual export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
326
|
-
* @summary Create visual - pdf export request
|
|
327
|
-
* @param {string} workspaceId
|
|
328
|
-
* @param {ExportVisualExportRequest} exportVisualExportRequest
|
|
329
|
-
* @param {boolean} [xGdcDebug]
|
|
330
|
-
* @param {*} [options] Override http request option.
|
|
331
|
-
* @throws {RequiredError}
|
|
332
|
-
*/
|
|
333
|
-
createPdfExport: async (workspaceId, exportVisualExportRequest, xGdcDebug, options = {}) => {
|
|
334
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
335
|
-
assertParamExists("createPdfExport", "workspaceId", workspaceId);
|
|
336
|
-
// verify required parameter 'exportVisualExportRequest' is not null or undefined
|
|
337
|
-
assertParamExists("createPdfExport", "exportVisualExportRequest", exportVisualExportRequest);
|
|
338
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/visual`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
339
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
340
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
341
|
-
let baseOptions;
|
|
342
|
-
if (configuration) {
|
|
343
|
-
baseOptions = configuration.baseOptions;
|
|
344
|
-
}
|
|
345
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
346
|
-
const localVarHeaderParameter = {};
|
|
347
|
-
const localVarQueryParameter = {};
|
|
348
|
-
if (xGdcDebug !== undefined && xGdcDebug !== null) {
|
|
349
|
-
localVarHeaderParameter["X-Gdc-Debug"] = String(JSON.stringify(xGdcDebug));
|
|
350
|
-
}
|
|
351
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
352
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
353
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
354
|
-
localVarRequestOptions.headers = {
|
|
355
|
-
...localVarHeaderParameter,
|
|
356
|
-
...headersFromBaseOptions,
|
|
357
|
-
...options.headers,
|
|
358
|
-
};
|
|
359
|
-
const needsSerialization = typeof exportVisualExportRequest !== "string" ||
|
|
360
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
361
|
-
localVarRequestOptions.data = needsSerialization
|
|
362
|
-
? JSON.stringify(exportVisualExportRequest !== undefined ? exportVisualExportRequest : {})
|
|
363
|
-
: exportVisualExportRequest || "";
|
|
364
|
-
return {
|
|
365
|
-
url: toPathString(localVarUrlObj),
|
|
366
|
-
options: localVarRequestOptions,
|
|
367
|
-
};
|
|
368
|
-
},
|
|
369
|
-
/**
|
|
370
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly.An raw export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
371
|
-
* @summary (EXPERIMENTAL) Create raw export request
|
|
372
|
-
* @param {string} workspaceId
|
|
373
|
-
* @param {ExportRawExportRequest} exportRawExportRequest
|
|
374
|
-
* @param {*} [options] Override http request option.
|
|
375
|
-
* @throws {RequiredError}
|
|
376
|
-
*/
|
|
377
|
-
createRawExport: async (workspaceId, exportRawExportRequest, options = {}) => {
|
|
378
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
379
|
-
assertParamExists("createRawExport", "workspaceId", workspaceId);
|
|
380
|
-
// verify required parameter 'exportRawExportRequest' is not null or undefined
|
|
381
|
-
assertParamExists("createRawExport", "exportRawExportRequest", exportRawExportRequest);
|
|
382
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/raw`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
383
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
384
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
385
|
-
let baseOptions;
|
|
386
|
-
if (configuration) {
|
|
387
|
-
baseOptions = configuration.baseOptions;
|
|
388
|
-
}
|
|
389
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
390
|
-
const localVarHeaderParameter = {};
|
|
391
|
-
const localVarQueryParameter = {};
|
|
392
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
393
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
394
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
395
|
-
localVarRequestOptions.headers = {
|
|
396
|
-
...localVarHeaderParameter,
|
|
397
|
-
...headersFromBaseOptions,
|
|
398
|
-
...options.headers,
|
|
399
|
-
};
|
|
400
|
-
const needsSerialization = typeof exportRawExportRequest !== "string" ||
|
|
401
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
402
|
-
localVarRequestOptions.data = needsSerialization
|
|
403
|
-
? JSON.stringify(exportRawExportRequest !== undefined ? exportRawExportRequest : {})
|
|
404
|
-
: exportRawExportRequest || "";
|
|
405
|
-
return {
|
|
406
|
-
url: toPathString(localVarUrlObj),
|
|
407
|
-
options: localVarRequestOptions,
|
|
408
|
-
};
|
|
409
|
-
},
|
|
410
|
-
/**
|
|
411
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. A slides export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
412
|
-
* @summary (EXPERIMENTAL) Create slides export request
|
|
413
|
-
* @param {string} workspaceId
|
|
414
|
-
* @param {ExportSlidesExportRequest} exportSlidesExportRequest
|
|
415
|
-
* @param {boolean} [xGdcDebug]
|
|
416
|
-
* @param {*} [options] Override http request option.
|
|
417
|
-
* @throws {RequiredError}
|
|
418
|
-
*/
|
|
419
|
-
createSlidesExport: async (workspaceId, exportSlidesExportRequest, xGdcDebug, options = {}) => {
|
|
420
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
421
|
-
assertParamExists("createSlidesExport", "workspaceId", workspaceId);
|
|
422
|
-
// verify required parameter 'exportSlidesExportRequest' is not null or undefined
|
|
423
|
-
assertParamExists("createSlidesExport", "exportSlidesExportRequest", exportSlidesExportRequest);
|
|
424
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/slides`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
425
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
426
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
427
|
-
let baseOptions;
|
|
428
|
-
if (configuration) {
|
|
429
|
-
baseOptions = configuration.baseOptions;
|
|
430
|
-
}
|
|
431
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
432
|
-
const localVarHeaderParameter = {};
|
|
433
|
-
const localVarQueryParameter = {};
|
|
434
|
-
if (xGdcDebug !== undefined && xGdcDebug !== null) {
|
|
435
|
-
localVarHeaderParameter["X-Gdc-Debug"] = String(JSON.stringify(xGdcDebug));
|
|
436
|
-
}
|
|
437
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
438
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
439
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
440
|
-
localVarRequestOptions.headers = {
|
|
441
|
-
...localVarHeaderParameter,
|
|
442
|
-
...headersFromBaseOptions,
|
|
443
|
-
...options.headers,
|
|
444
|
-
};
|
|
445
|
-
const needsSerialization = typeof exportSlidesExportRequest !== "string" ||
|
|
446
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
447
|
-
localVarRequestOptions.data = needsSerialization
|
|
448
|
-
? JSON.stringify(exportSlidesExportRequest !== undefined ? exportSlidesExportRequest : {})
|
|
449
|
-
: exportSlidesExportRequest || "";
|
|
450
|
-
return {
|
|
451
|
-
url: toPathString(localVarUrlObj),
|
|
452
|
-
options: localVarRequestOptions,
|
|
453
|
-
};
|
|
454
|
-
},
|
|
455
|
-
/**
|
|
456
|
-
* An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
457
|
-
* @summary Create tabular export request
|
|
458
|
-
* @param {string} workspaceId
|
|
459
|
-
* @param {ExportTabularExportRequest} exportTabularExportRequest
|
|
460
|
-
* @param {*} [options] Override http request option.
|
|
461
|
-
* @throws {RequiredError}
|
|
462
|
-
*/
|
|
463
|
-
createTabularExport: async (workspaceId, exportTabularExportRequest, options = {}) => {
|
|
464
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
465
|
-
assertParamExists("createTabularExport", "workspaceId", workspaceId);
|
|
466
|
-
// verify required parameter 'exportTabularExportRequest' is not null or undefined
|
|
467
|
-
assertParamExists("createTabularExport", "exportTabularExportRequest", exportTabularExportRequest);
|
|
468
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/tabular`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
469
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
470
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
471
|
-
let baseOptions;
|
|
472
|
-
if (configuration) {
|
|
473
|
-
baseOptions = configuration.baseOptions;
|
|
474
|
-
}
|
|
475
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
476
|
-
const localVarHeaderParameter = {};
|
|
477
|
-
const localVarQueryParameter = {};
|
|
478
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
479
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
480
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
481
|
-
localVarRequestOptions.headers = {
|
|
482
|
-
...localVarHeaderParameter,
|
|
483
|
-
...headersFromBaseOptions,
|
|
484
|
-
...options.headers,
|
|
485
|
-
};
|
|
486
|
-
const needsSerialization = typeof exportTabularExportRequest !== "string" ||
|
|
487
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
488
|
-
localVarRequestOptions.data = needsSerialization
|
|
489
|
-
? JSON.stringify(exportTabularExportRequest !== undefined ? exportTabularExportRequest : {})
|
|
490
|
-
: exportTabularExportRequest || "";
|
|
491
|
-
return {
|
|
492
|
-
url: toPathString(localVarUrlObj),
|
|
493
|
-
options: localVarRequestOptions,
|
|
494
|
-
};
|
|
495
|
-
},
|
|
496
|
-
/**
|
|
497
|
-
* Returns 202 until original POST export request is not processed.Returns 200 with exported data once the export is done.
|
|
498
|
-
* @summary Retrieve exported files
|
|
499
|
-
* @param {string} workspaceId
|
|
500
|
-
* @param {string} exportId
|
|
501
|
-
* @param {*} [options] Override http request option.
|
|
502
|
-
* @throws {RequiredError}
|
|
503
|
-
*/
|
|
504
|
-
getExportedFile: async (workspaceId, exportId, options = {}) => {
|
|
505
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
506
|
-
assertParamExists("getExportedFile", "workspaceId", workspaceId);
|
|
507
|
-
// verify required parameter 'exportId' is not null or undefined
|
|
508
|
-
assertParamExists("getExportedFile", "exportId", exportId);
|
|
509
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId}`
|
|
510
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
511
|
-
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
512
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
513
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
514
|
-
let baseOptions;
|
|
515
|
-
if (configuration) {
|
|
516
|
-
baseOptions = configuration.baseOptions;
|
|
517
|
-
}
|
|
518
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
519
|
-
const localVarHeaderParameter = {};
|
|
520
|
-
const localVarQueryParameter = {};
|
|
521
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
522
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
523
|
-
localVarRequestOptions.headers = {
|
|
524
|
-
...localVarHeaderParameter,
|
|
525
|
-
...headersFromBaseOptions,
|
|
526
|
-
...options.headers,
|
|
527
|
-
};
|
|
528
|
-
return {
|
|
529
|
-
url: toPathString(localVarUrlObj),
|
|
530
|
-
options: localVarRequestOptions,
|
|
531
|
-
};
|
|
532
|
-
},
|
|
533
|
-
/**
|
|
534
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
535
|
-
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
536
|
-
* @param {string} workspaceId
|
|
537
|
-
* @param {string} exportId
|
|
538
|
-
* @param {*} [options] Override http request option.
|
|
539
|
-
* @throws {RequiredError}
|
|
540
|
-
*/
|
|
541
|
-
getImageExport: async (workspaceId, exportId, options = {}) => {
|
|
542
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
543
|
-
assertParamExists("getImageExport", "workspaceId", workspaceId);
|
|
544
|
-
// verify required parameter 'exportId' is not null or undefined
|
|
545
|
-
assertParamExists("getImageExport", "exportId", exportId);
|
|
546
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/image/{exportId}`
|
|
547
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
548
|
-
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
549
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
550
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
551
|
-
let baseOptions;
|
|
552
|
-
if (configuration) {
|
|
553
|
-
baseOptions = configuration.baseOptions;
|
|
554
|
-
}
|
|
555
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
556
|
-
const localVarHeaderParameter = {};
|
|
557
|
-
const localVarQueryParameter = {};
|
|
558
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
559
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
560
|
-
localVarRequestOptions.headers = {
|
|
561
|
-
...localVarHeaderParameter,
|
|
562
|
-
...headersFromBaseOptions,
|
|
563
|
-
...options.headers,
|
|
564
|
-
};
|
|
565
|
-
return {
|
|
566
|
-
url: toPathString(localVarUrlObj),
|
|
567
|
-
options: localVarRequestOptions,
|
|
568
|
-
};
|
|
569
|
-
},
|
|
570
|
-
/**
|
|
571
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/image endpoint. The metadata structure is not verified.
|
|
572
|
-
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
573
|
-
* @param {string} workspaceId
|
|
574
|
-
* @param {string} exportId
|
|
575
|
-
* @param {*} [options] Override http request option.
|
|
576
|
-
* @throws {RequiredError}
|
|
577
|
-
*/
|
|
578
|
-
getImageExportMetadata: async (workspaceId, exportId, options = {}) => {
|
|
579
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
580
|
-
assertParamExists("getImageExportMetadata", "workspaceId", workspaceId);
|
|
581
|
-
// verify required parameter 'exportId' is not null or undefined
|
|
582
|
-
assertParamExists("getImageExportMetadata", "exportId", exportId);
|
|
583
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/image/{exportId}/metadata`
|
|
584
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
585
|
-
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
586
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
587
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
588
|
-
let baseOptions;
|
|
589
|
-
if (configuration) {
|
|
590
|
-
baseOptions = configuration.baseOptions;
|
|
591
|
-
}
|
|
592
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
593
|
-
const localVarHeaderParameter = {};
|
|
594
|
-
const localVarQueryParameter = {};
|
|
595
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
596
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
597
|
-
localVarRequestOptions.headers = {
|
|
598
|
-
...localVarHeaderParameter,
|
|
599
|
-
...headersFromBaseOptions,
|
|
600
|
-
...options.headers,
|
|
601
|
-
};
|
|
602
|
-
return {
|
|
603
|
-
url: toPathString(localVarUrlObj),
|
|
604
|
-
options: localVarRequestOptions,
|
|
605
|
-
};
|
|
606
|
-
},
|
|
607
|
-
/**
|
|
608
|
-
* This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/visual endpoint. The metadata structure is not verified.
|
|
609
|
-
* @summary Retrieve metadata context
|
|
610
|
-
* @param {string} workspaceId
|
|
611
|
-
* @param {string} exportId
|
|
612
|
-
* @param {*} [options] Override http request option.
|
|
613
|
-
* @throws {RequiredError}
|
|
614
|
-
*/
|
|
615
|
-
getMetadata: async (workspaceId, exportId, options = {}) => {
|
|
616
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
617
|
-
assertParamExists("getMetadata", "workspaceId", workspaceId);
|
|
618
|
-
// verify required parameter 'exportId' is not null or undefined
|
|
619
|
-
assertParamExists("getMetadata", "exportId", exportId);
|
|
620
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId}/metadata`
|
|
621
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
622
|
-
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
623
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
624
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
625
|
-
let baseOptions;
|
|
626
|
-
if (configuration) {
|
|
627
|
-
baseOptions = configuration.baseOptions;
|
|
628
|
-
}
|
|
629
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
630
|
-
const localVarHeaderParameter = {};
|
|
631
|
-
const localVarQueryParameter = {};
|
|
632
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
633
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
634
|
-
localVarRequestOptions.headers = {
|
|
635
|
-
...localVarHeaderParameter,
|
|
636
|
-
...headersFromBaseOptions,
|
|
637
|
-
...options.headers,
|
|
638
|
-
};
|
|
639
|
-
return {
|
|
640
|
-
url: toPathString(localVarUrlObj),
|
|
641
|
-
options: localVarRequestOptions,
|
|
642
|
-
};
|
|
643
|
-
},
|
|
644
|
-
/**
|
|
645
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly.After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
646
|
-
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
647
|
-
* @param {string} workspaceId
|
|
648
|
-
* @param {string} exportId
|
|
649
|
-
* @param {*} [options] Override http request option.
|
|
650
|
-
* @throws {RequiredError}
|
|
651
|
-
*/
|
|
652
|
-
getRawExport: async (workspaceId, exportId, options = {}) => {
|
|
653
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
654
|
-
assertParamExists("getRawExport", "workspaceId", workspaceId);
|
|
655
|
-
// verify required parameter 'exportId' is not null or undefined
|
|
656
|
-
assertParamExists("getRawExport", "exportId", exportId);
|
|
657
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/raw/{exportId}`
|
|
658
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
659
|
-
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
660
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
661
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
662
|
-
let baseOptions;
|
|
663
|
-
if (configuration) {
|
|
664
|
-
baseOptions = configuration.baseOptions;
|
|
665
|
-
}
|
|
666
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
667
|
-
const localVarHeaderParameter = {};
|
|
668
|
-
const localVarQueryParameter = {};
|
|
669
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
670
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
671
|
-
localVarRequestOptions.headers = {
|
|
672
|
-
...localVarHeaderParameter,
|
|
673
|
-
...headersFromBaseOptions,
|
|
674
|
-
...options.headers,
|
|
675
|
-
};
|
|
676
|
-
return {
|
|
677
|
-
url: toPathString(localVarUrlObj),
|
|
678
|
-
options: localVarRequestOptions,
|
|
679
|
-
};
|
|
680
|
-
},
|
|
681
|
-
/**
|
|
682
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
683
|
-
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
684
|
-
* @param {string} workspaceId
|
|
685
|
-
* @param {string} exportId
|
|
686
|
-
* @param {*} [options] Override http request option.
|
|
687
|
-
* @throws {RequiredError}
|
|
688
|
-
*/
|
|
689
|
-
getSlidesExport: async (workspaceId, exportId, options = {}) => {
|
|
690
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
691
|
-
assertParamExists("getSlidesExport", "workspaceId", workspaceId);
|
|
692
|
-
// verify required parameter 'exportId' is not null or undefined
|
|
693
|
-
assertParamExists("getSlidesExport", "exportId", exportId);
|
|
694
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/slides/{exportId}`
|
|
695
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
696
|
-
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
697
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
698
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
699
|
-
let baseOptions;
|
|
700
|
-
if (configuration) {
|
|
701
|
-
baseOptions = configuration.baseOptions;
|
|
702
|
-
}
|
|
703
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
704
|
-
const localVarHeaderParameter = {};
|
|
705
|
-
const localVarQueryParameter = {};
|
|
706
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
707
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
708
|
-
localVarRequestOptions.headers = {
|
|
709
|
-
...localVarHeaderParameter,
|
|
710
|
-
...headersFromBaseOptions,
|
|
711
|
-
...options.headers,
|
|
712
|
-
};
|
|
713
|
-
return {
|
|
714
|
-
url: toPathString(localVarUrlObj),
|
|
715
|
-
options: localVarRequestOptions,
|
|
716
|
-
};
|
|
717
|
-
},
|
|
718
|
-
/**
|
|
719
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/slides endpoint. The metadata structure is not verified.
|
|
720
|
-
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
721
|
-
* @param {string} workspaceId
|
|
722
|
-
* @param {string} exportId
|
|
723
|
-
* @param {*} [options] Override http request option.
|
|
724
|
-
* @throws {RequiredError}
|
|
725
|
-
*/
|
|
726
|
-
getSlidesExportMetadata: async (workspaceId, exportId, options = {}) => {
|
|
727
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
728
|
-
assertParamExists("getSlidesExportMetadata", "workspaceId", workspaceId);
|
|
729
|
-
// verify required parameter 'exportId' is not null or undefined
|
|
730
|
-
assertParamExists("getSlidesExportMetadata", "exportId", exportId);
|
|
731
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/slides/{exportId}/metadata`
|
|
732
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
733
|
-
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
734
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
735
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
736
|
-
let baseOptions;
|
|
737
|
-
if (configuration) {
|
|
738
|
-
baseOptions = configuration.baseOptions;
|
|
739
|
-
}
|
|
740
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
741
|
-
const localVarHeaderParameter = {};
|
|
742
|
-
const localVarQueryParameter = {};
|
|
743
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
744
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
745
|
-
localVarRequestOptions.headers = {
|
|
746
|
-
...localVarHeaderParameter,
|
|
747
|
-
...headersFromBaseOptions,
|
|
748
|
-
...options.headers,
|
|
749
|
-
};
|
|
750
|
-
return {
|
|
751
|
-
url: toPathString(localVarUrlObj),
|
|
752
|
-
options: localVarRequestOptions,
|
|
753
|
-
};
|
|
754
|
-
},
|
|
755
|
-
/**
|
|
756
|
-
* After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
757
|
-
* @summary Retrieve exported files
|
|
758
|
-
* @param {string} workspaceId
|
|
759
|
-
* @param {string} exportId
|
|
760
|
-
* @param {*} [options] Override http request option.
|
|
761
|
-
* @throws {RequiredError}
|
|
762
|
-
*/
|
|
763
|
-
getTabularExport: async (workspaceId, exportId, options = {}) => {
|
|
764
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
765
|
-
assertParamExists("getTabularExport", "workspaceId", workspaceId);
|
|
766
|
-
// verify required parameter 'exportId' is not null or undefined
|
|
767
|
-
assertParamExists("getTabularExport", "exportId", exportId);
|
|
768
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/tabular/{exportId}`
|
|
769
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
770
|
-
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
771
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
772
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
773
|
-
let baseOptions;
|
|
774
|
-
if (configuration) {
|
|
775
|
-
baseOptions = configuration.baseOptions;
|
|
776
|
-
}
|
|
777
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
778
|
-
const localVarHeaderParameter = {};
|
|
779
|
-
const localVarQueryParameter = {};
|
|
780
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
781
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
782
|
-
localVarRequestOptions.headers = {
|
|
783
|
-
...localVarHeaderParameter,
|
|
784
|
-
...headersFromBaseOptions,
|
|
785
|
-
...options.headers,
|
|
786
|
-
};
|
|
787
|
-
return {
|
|
788
|
-
url: toPathString(localVarUrlObj),
|
|
789
|
-
options: localVarRequestOptions,
|
|
790
|
-
};
|
|
791
|
-
},
|
|
66
|
+
url: toPathString(localVarUrlObj),
|
|
67
|
+
options: localVarRequestOptions,
|
|
792
68
|
};
|
|
793
|
-
}
|
|
69
|
+
}
|
|
70
|
+
// ActionsExport FP - ActionsExportAxiosParamCreator
|
|
794
71
|
/**
|
|
795
|
-
*
|
|
796
|
-
* @export
|
|
72
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. An image export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
73
|
+
* @summary (EXPERIMENTAL) Create image export request
|
|
74
|
+
* @param {string} workspaceId
|
|
75
|
+
* @param {ExportImageExportRequest} exportImageExportRequest
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
78
|
+
* @throws {RequiredError}
|
|
797
79
|
*/
|
|
798
|
-
export
|
|
799
|
-
|
|
80
|
+
export async function ActionsExportAxiosParamCreator_CreateImageExport(workspaceId, exportImageExportRequest, options = {}, configuration) {
|
|
81
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
82
|
+
assertParamExists("createImageExport", "workspaceId", workspaceId);
|
|
83
|
+
// verify required parameter 'exportImageExportRequest' is not null or undefined
|
|
84
|
+
assertParamExists("createImageExport", "exportImageExportRequest", exportImageExportRequest);
|
|
85
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/image`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
86
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
87
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
88
|
+
let baseOptions;
|
|
89
|
+
if (configuration) {
|
|
90
|
+
baseOptions = configuration.baseOptions;
|
|
91
|
+
}
|
|
92
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
93
|
+
const localVarHeaderParameter = {};
|
|
94
|
+
const localVarQueryParameter = {};
|
|
95
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
96
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
97
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
98
|
+
localVarRequestOptions.headers = {
|
|
99
|
+
...localVarHeaderParameter,
|
|
100
|
+
...headersFromBaseOptions,
|
|
101
|
+
...options.headers,
|
|
102
|
+
};
|
|
103
|
+
const needsSerialization = typeof exportImageExportRequest !== "string" ||
|
|
104
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
105
|
+
localVarRequestOptions.data = needsSerialization
|
|
106
|
+
? JSON.stringify(exportImageExportRequest !== undefined ? exportImageExportRequest : {})
|
|
107
|
+
: exportImageExportRequest || "";
|
|
800
108
|
return {
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
* @summary (EXPERIMENTAL) Create dashboard tabular export request
|
|
804
|
-
* @param {string} workspaceId
|
|
805
|
-
* @param {string} dashboardId
|
|
806
|
-
* @param {ExportDashboardTabularExportRequest} exportDashboardTabularExportRequest
|
|
807
|
-
* @param {*} [options] Override http request option.
|
|
808
|
-
* @throws {RequiredError}
|
|
809
|
-
*/
|
|
810
|
-
async createDashboardExportRequest(workspaceId, dashboardId, exportDashboardTabularExportRequest, options) {
|
|
811
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createDashboardExportRequest(workspaceId, dashboardId, exportDashboardTabularExportRequest, options);
|
|
812
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
813
|
-
},
|
|
814
|
-
/**
|
|
815
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. An image export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
816
|
-
* @summary (EXPERIMENTAL) Create image export request
|
|
817
|
-
* @param {string} workspaceId
|
|
818
|
-
* @param {ExportImageExportRequest} exportImageExportRequest
|
|
819
|
-
* @param {*} [options] Override http request option.
|
|
820
|
-
* @throws {RequiredError}
|
|
821
|
-
*/
|
|
822
|
-
async createImageExport(workspaceId, exportImageExportRequest, options) {
|
|
823
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createImageExport(workspaceId, exportImageExportRequest, options);
|
|
824
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
825
|
-
},
|
|
826
|
-
/**
|
|
827
|
-
* An visual export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
828
|
-
* @summary Create visual - pdf export request
|
|
829
|
-
* @param {string} workspaceId
|
|
830
|
-
* @param {ExportVisualExportRequest} exportVisualExportRequest
|
|
831
|
-
* @param {boolean} [xGdcDebug]
|
|
832
|
-
* @param {*} [options] Override http request option.
|
|
833
|
-
* @throws {RequiredError}
|
|
834
|
-
*/
|
|
835
|
-
async createPdfExport(workspaceId, exportVisualExportRequest, xGdcDebug, options) {
|
|
836
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createPdfExport(workspaceId, exportVisualExportRequest, xGdcDebug, options);
|
|
837
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
838
|
-
},
|
|
839
|
-
/**
|
|
840
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly.An raw export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
841
|
-
* @summary (EXPERIMENTAL) Create raw export request
|
|
842
|
-
* @param {string} workspaceId
|
|
843
|
-
* @param {ExportRawExportRequest} exportRawExportRequest
|
|
844
|
-
* @param {*} [options] Override http request option.
|
|
845
|
-
* @throws {RequiredError}
|
|
846
|
-
*/
|
|
847
|
-
async createRawExport(workspaceId, exportRawExportRequest, options) {
|
|
848
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createRawExport(workspaceId, exportRawExportRequest, options);
|
|
849
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
850
|
-
},
|
|
851
|
-
/**
|
|
852
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. A slides export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
853
|
-
* @summary (EXPERIMENTAL) Create slides export request
|
|
854
|
-
* @param {string} workspaceId
|
|
855
|
-
* @param {ExportSlidesExportRequest} exportSlidesExportRequest
|
|
856
|
-
* @param {boolean} [xGdcDebug]
|
|
857
|
-
* @param {*} [options] Override http request option.
|
|
858
|
-
* @throws {RequiredError}
|
|
859
|
-
*/
|
|
860
|
-
async createSlidesExport(workspaceId, exportSlidesExportRequest, xGdcDebug, options) {
|
|
861
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createSlidesExport(workspaceId, exportSlidesExportRequest, xGdcDebug, options);
|
|
862
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
863
|
-
},
|
|
864
|
-
/**
|
|
865
|
-
* An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
866
|
-
* @summary Create tabular export request
|
|
867
|
-
* @param {string} workspaceId
|
|
868
|
-
* @param {ExportTabularExportRequest} exportTabularExportRequest
|
|
869
|
-
* @param {*} [options] Override http request option.
|
|
870
|
-
* @throws {RequiredError}
|
|
871
|
-
*/
|
|
872
|
-
async createTabularExport(workspaceId, exportTabularExportRequest, options) {
|
|
873
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createTabularExport(workspaceId, exportTabularExportRequest, options);
|
|
874
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
875
|
-
},
|
|
876
|
-
/**
|
|
877
|
-
* Returns 202 until original POST export request is not processed.Returns 200 with exported data once the export is done.
|
|
878
|
-
* @summary Retrieve exported files
|
|
879
|
-
* @param {string} workspaceId
|
|
880
|
-
* @param {string} exportId
|
|
881
|
-
* @param {*} [options] Override http request option.
|
|
882
|
-
* @throws {RequiredError}
|
|
883
|
-
*/
|
|
884
|
-
async getExportedFile(workspaceId, exportId, options) {
|
|
885
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getExportedFile(workspaceId, exportId, options);
|
|
886
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
887
|
-
},
|
|
888
|
-
/**
|
|
889
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
890
|
-
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
891
|
-
* @param {string} workspaceId
|
|
892
|
-
* @param {string} exportId
|
|
893
|
-
* @param {*} [options] Override http request option.
|
|
894
|
-
* @throws {RequiredError}
|
|
895
|
-
*/
|
|
896
|
-
async getImageExport(workspaceId, exportId, options) {
|
|
897
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getImageExport(workspaceId, exportId, options);
|
|
898
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
899
|
-
},
|
|
900
|
-
/**
|
|
901
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/image endpoint. The metadata structure is not verified.
|
|
902
|
-
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
903
|
-
* @param {string} workspaceId
|
|
904
|
-
* @param {string} exportId
|
|
905
|
-
* @param {*} [options] Override http request option.
|
|
906
|
-
* @throws {RequiredError}
|
|
907
|
-
*/
|
|
908
|
-
async getImageExportMetadata(workspaceId, exportId, options) {
|
|
909
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getImageExportMetadata(workspaceId, exportId, options);
|
|
910
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
911
|
-
},
|
|
912
|
-
/**
|
|
913
|
-
* This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/visual endpoint. The metadata structure is not verified.
|
|
914
|
-
* @summary Retrieve metadata context
|
|
915
|
-
* @param {string} workspaceId
|
|
916
|
-
* @param {string} exportId
|
|
917
|
-
* @param {*} [options] Override http request option.
|
|
918
|
-
* @throws {RequiredError}
|
|
919
|
-
*/
|
|
920
|
-
async getMetadata(workspaceId, exportId, options) {
|
|
921
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMetadata(workspaceId, exportId, options);
|
|
922
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
923
|
-
},
|
|
924
|
-
/**
|
|
925
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly.After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
926
|
-
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
927
|
-
* @param {string} workspaceId
|
|
928
|
-
* @param {string} exportId
|
|
929
|
-
* @param {*} [options] Override http request option.
|
|
930
|
-
* @throws {RequiredError}
|
|
931
|
-
*/
|
|
932
|
-
async getRawExport(workspaceId, exportId, options) {
|
|
933
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getRawExport(workspaceId, exportId, options);
|
|
934
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
935
|
-
},
|
|
936
|
-
/**
|
|
937
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
938
|
-
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
939
|
-
* @param {string} workspaceId
|
|
940
|
-
* @param {string} exportId
|
|
941
|
-
* @param {*} [options] Override http request option.
|
|
942
|
-
* @throws {RequiredError}
|
|
943
|
-
*/
|
|
944
|
-
async getSlidesExport(workspaceId, exportId, options) {
|
|
945
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSlidesExport(workspaceId, exportId, options);
|
|
946
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
947
|
-
},
|
|
948
|
-
/**
|
|
949
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/slides endpoint. The metadata structure is not verified.
|
|
950
|
-
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
951
|
-
* @param {string} workspaceId
|
|
952
|
-
* @param {string} exportId
|
|
953
|
-
* @param {*} [options] Override http request option.
|
|
954
|
-
* @throws {RequiredError}
|
|
955
|
-
*/
|
|
956
|
-
async getSlidesExportMetadata(workspaceId, exportId, options) {
|
|
957
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSlidesExportMetadata(workspaceId, exportId, options);
|
|
958
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
959
|
-
},
|
|
960
|
-
/**
|
|
961
|
-
* After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
962
|
-
* @summary Retrieve exported files
|
|
963
|
-
* @param {string} workspaceId
|
|
964
|
-
* @param {string} exportId
|
|
965
|
-
* @param {*} [options] Override http request option.
|
|
966
|
-
* @throws {RequiredError}
|
|
967
|
-
*/
|
|
968
|
-
async getTabularExport(workspaceId, exportId, options) {
|
|
969
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getTabularExport(workspaceId, exportId, options);
|
|
970
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
971
|
-
},
|
|
109
|
+
url: toPathString(localVarUrlObj),
|
|
110
|
+
options: localVarRequestOptions,
|
|
972
111
|
};
|
|
973
|
-
}
|
|
112
|
+
}
|
|
113
|
+
// ActionsExport FP - ActionsExportAxiosParamCreator
|
|
974
114
|
/**
|
|
975
|
-
*
|
|
976
|
-
* @export
|
|
115
|
+
* An visual export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
116
|
+
* @summary Create visual - pdf export request
|
|
117
|
+
* @param {string} workspaceId
|
|
118
|
+
* @param {ExportVisualExportRequest} exportVisualExportRequest
|
|
119
|
+
* @param {boolean} [xGdcDebug]
|
|
120
|
+
* @param {*} [options] Override http request option.
|
|
121
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
*/
|
|
124
|
+
export async function ActionsExportAxiosParamCreator_CreatePdfExport(workspaceId, exportVisualExportRequest, xGdcDebug, options = {}, configuration) {
|
|
125
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
126
|
+
assertParamExists("createPdfExport", "workspaceId", workspaceId);
|
|
127
|
+
// verify required parameter 'exportVisualExportRequest' is not null or undefined
|
|
128
|
+
assertParamExists("createPdfExport", "exportVisualExportRequest", exportVisualExportRequest);
|
|
129
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/visual`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
130
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
131
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
132
|
+
let baseOptions;
|
|
133
|
+
if (configuration) {
|
|
134
|
+
baseOptions = configuration.baseOptions;
|
|
135
|
+
}
|
|
136
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
137
|
+
const localVarHeaderParameter = {};
|
|
138
|
+
const localVarQueryParameter = {};
|
|
139
|
+
if (xGdcDebug !== undefined && xGdcDebug !== null) {
|
|
140
|
+
localVarHeaderParameter["X-Gdc-Debug"] = String(JSON.stringify(xGdcDebug));
|
|
141
|
+
}
|
|
142
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
143
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
144
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
145
|
+
localVarRequestOptions.headers = {
|
|
146
|
+
...localVarHeaderParameter,
|
|
147
|
+
...headersFromBaseOptions,
|
|
148
|
+
...options.headers,
|
|
149
|
+
};
|
|
150
|
+
const needsSerialization = typeof exportVisualExportRequest !== "string" ||
|
|
151
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
152
|
+
localVarRequestOptions.data = needsSerialization
|
|
153
|
+
? JSON.stringify(exportVisualExportRequest !== undefined ? exportVisualExportRequest : {})
|
|
154
|
+
: exportVisualExportRequest || "";
|
|
155
|
+
return {
|
|
156
|
+
url: toPathString(localVarUrlObj),
|
|
157
|
+
options: localVarRequestOptions,
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
// ActionsExport FP - ActionsExportAxiosParamCreator
|
|
161
|
+
/**
|
|
162
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly.An raw export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
163
|
+
* @summary (EXPERIMENTAL) Create raw export request
|
|
164
|
+
* @param {string} workspaceId
|
|
165
|
+
* @param {ExportRawExportRequest} exportRawExportRequest
|
|
166
|
+
* @param {*} [options] Override http request option.
|
|
167
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
*/
|
|
170
|
+
export async function ActionsExportAxiosParamCreator_CreateRawExport(workspaceId, exportRawExportRequest, options = {}, configuration) {
|
|
171
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
172
|
+
assertParamExists("createRawExport", "workspaceId", workspaceId);
|
|
173
|
+
// verify required parameter 'exportRawExportRequest' is not null or undefined
|
|
174
|
+
assertParamExists("createRawExport", "exportRawExportRequest", exportRawExportRequest);
|
|
175
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/raw`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
176
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
177
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
178
|
+
let baseOptions;
|
|
179
|
+
if (configuration) {
|
|
180
|
+
baseOptions = configuration.baseOptions;
|
|
181
|
+
}
|
|
182
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
183
|
+
const localVarHeaderParameter = {};
|
|
184
|
+
const localVarQueryParameter = {};
|
|
185
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
186
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
187
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
188
|
+
localVarRequestOptions.headers = {
|
|
189
|
+
...localVarHeaderParameter,
|
|
190
|
+
...headersFromBaseOptions,
|
|
191
|
+
...options.headers,
|
|
192
|
+
};
|
|
193
|
+
const needsSerialization = typeof exportRawExportRequest !== "string" ||
|
|
194
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
195
|
+
localVarRequestOptions.data = needsSerialization
|
|
196
|
+
? JSON.stringify(exportRawExportRequest !== undefined ? exportRawExportRequest : {})
|
|
197
|
+
: exportRawExportRequest || "";
|
|
198
|
+
return {
|
|
199
|
+
url: toPathString(localVarUrlObj),
|
|
200
|
+
options: localVarRequestOptions,
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
// ActionsExport FP - ActionsExportAxiosParamCreator
|
|
204
|
+
/**
|
|
205
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. A slides export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
206
|
+
* @summary (EXPERIMENTAL) Create slides export request
|
|
207
|
+
* @param {string} workspaceId
|
|
208
|
+
* @param {ExportSlidesExportRequest} exportSlidesExportRequest
|
|
209
|
+
* @param {boolean} [xGdcDebug]
|
|
210
|
+
* @param {*} [options] Override http request option.
|
|
211
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
212
|
+
* @throws {RequiredError}
|
|
213
|
+
*/
|
|
214
|
+
export async function ActionsExportAxiosParamCreator_CreateSlidesExport(workspaceId, exportSlidesExportRequest, xGdcDebug, options = {}, configuration) {
|
|
215
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
216
|
+
assertParamExists("createSlidesExport", "workspaceId", workspaceId);
|
|
217
|
+
// verify required parameter 'exportSlidesExportRequest' is not null or undefined
|
|
218
|
+
assertParamExists("createSlidesExport", "exportSlidesExportRequest", exportSlidesExportRequest);
|
|
219
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/slides`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
220
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
221
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
222
|
+
let baseOptions;
|
|
223
|
+
if (configuration) {
|
|
224
|
+
baseOptions = configuration.baseOptions;
|
|
225
|
+
}
|
|
226
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
227
|
+
const localVarHeaderParameter = {};
|
|
228
|
+
const localVarQueryParameter = {};
|
|
229
|
+
if (xGdcDebug !== undefined && xGdcDebug !== null) {
|
|
230
|
+
localVarHeaderParameter["X-Gdc-Debug"] = String(JSON.stringify(xGdcDebug));
|
|
231
|
+
}
|
|
232
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
233
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
234
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
235
|
+
localVarRequestOptions.headers = {
|
|
236
|
+
...localVarHeaderParameter,
|
|
237
|
+
...headersFromBaseOptions,
|
|
238
|
+
...options.headers,
|
|
239
|
+
};
|
|
240
|
+
const needsSerialization = typeof exportSlidesExportRequest !== "string" ||
|
|
241
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
242
|
+
localVarRequestOptions.data = needsSerialization
|
|
243
|
+
? JSON.stringify(exportSlidesExportRequest !== undefined ? exportSlidesExportRequest : {})
|
|
244
|
+
: exportSlidesExportRequest || "";
|
|
245
|
+
return {
|
|
246
|
+
url: toPathString(localVarUrlObj),
|
|
247
|
+
options: localVarRequestOptions,
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
// ActionsExport FP - ActionsExportAxiosParamCreator
|
|
251
|
+
/**
|
|
252
|
+
* An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
253
|
+
* @summary Create tabular export request
|
|
254
|
+
* @param {string} workspaceId
|
|
255
|
+
* @param {ExportTabularExportRequest} exportTabularExportRequest
|
|
256
|
+
* @param {*} [options] Override http request option.
|
|
257
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
258
|
+
* @throws {RequiredError}
|
|
259
|
+
*/
|
|
260
|
+
export async function ActionsExportAxiosParamCreator_CreateTabularExport(workspaceId, exportTabularExportRequest, options = {}, configuration) {
|
|
261
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
262
|
+
assertParamExists("createTabularExport", "workspaceId", workspaceId);
|
|
263
|
+
// verify required parameter 'exportTabularExportRequest' is not null or undefined
|
|
264
|
+
assertParamExists("createTabularExport", "exportTabularExportRequest", exportTabularExportRequest);
|
|
265
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/tabular`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
266
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
267
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
268
|
+
let baseOptions;
|
|
269
|
+
if (configuration) {
|
|
270
|
+
baseOptions = configuration.baseOptions;
|
|
271
|
+
}
|
|
272
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
273
|
+
const localVarHeaderParameter = {};
|
|
274
|
+
const localVarQueryParameter = {};
|
|
275
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
276
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
277
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
278
|
+
localVarRequestOptions.headers = {
|
|
279
|
+
...localVarHeaderParameter,
|
|
280
|
+
...headersFromBaseOptions,
|
|
281
|
+
...options.headers,
|
|
282
|
+
};
|
|
283
|
+
const needsSerialization = typeof exportTabularExportRequest !== "string" ||
|
|
284
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
285
|
+
localVarRequestOptions.data = needsSerialization
|
|
286
|
+
? JSON.stringify(exportTabularExportRequest !== undefined ? exportTabularExportRequest : {})
|
|
287
|
+
: exportTabularExportRequest || "";
|
|
288
|
+
return {
|
|
289
|
+
url: toPathString(localVarUrlObj),
|
|
290
|
+
options: localVarRequestOptions,
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
// ActionsExport FP - ActionsExportAxiosParamCreator
|
|
294
|
+
/**
|
|
295
|
+
* Returns 202 until original POST export request is not processed.Returns 200 with exported data once the export is done.
|
|
296
|
+
* @summary Retrieve exported files
|
|
297
|
+
* @param {string} workspaceId
|
|
298
|
+
* @param {string} exportId
|
|
299
|
+
* @param {*} [options] Override http request option.
|
|
300
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
301
|
+
* @throws {RequiredError}
|
|
302
|
+
*/
|
|
303
|
+
export async function ActionsExportAxiosParamCreator_GetExportedFile(workspaceId, exportId, options = {}, configuration) {
|
|
304
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
305
|
+
assertParamExists("getExportedFile", "workspaceId", workspaceId);
|
|
306
|
+
// verify required parameter 'exportId' is not null or undefined
|
|
307
|
+
assertParamExists("getExportedFile", "exportId", exportId);
|
|
308
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId}`
|
|
309
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
310
|
+
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
311
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
312
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
313
|
+
let baseOptions;
|
|
314
|
+
if (configuration) {
|
|
315
|
+
baseOptions = configuration.baseOptions;
|
|
316
|
+
}
|
|
317
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
318
|
+
const localVarHeaderParameter = {};
|
|
319
|
+
const localVarQueryParameter = {};
|
|
320
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
321
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
322
|
+
localVarRequestOptions.headers = {
|
|
323
|
+
...localVarHeaderParameter,
|
|
324
|
+
...headersFromBaseOptions,
|
|
325
|
+
...options.headers,
|
|
326
|
+
};
|
|
327
|
+
return {
|
|
328
|
+
url: toPathString(localVarUrlObj),
|
|
329
|
+
options: localVarRequestOptions,
|
|
330
|
+
};
|
|
331
|
+
}
|
|
332
|
+
// ActionsExport FP - ActionsExportAxiosParamCreator
|
|
333
|
+
/**
|
|
334
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
335
|
+
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
336
|
+
* @param {string} workspaceId
|
|
337
|
+
* @param {string} exportId
|
|
338
|
+
* @param {*} [options] Override http request option.
|
|
339
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
340
|
+
* @throws {RequiredError}
|
|
341
|
+
*/
|
|
342
|
+
export async function ActionsExportAxiosParamCreator_GetImageExport(workspaceId, exportId, options = {}, configuration) {
|
|
343
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
344
|
+
assertParamExists("getImageExport", "workspaceId", workspaceId);
|
|
345
|
+
// verify required parameter 'exportId' is not null or undefined
|
|
346
|
+
assertParamExists("getImageExport", "exportId", exportId);
|
|
347
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/image/{exportId}`
|
|
348
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
349
|
+
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
350
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
351
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
352
|
+
let baseOptions;
|
|
353
|
+
if (configuration) {
|
|
354
|
+
baseOptions = configuration.baseOptions;
|
|
355
|
+
}
|
|
356
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
357
|
+
const localVarHeaderParameter = {};
|
|
358
|
+
const localVarQueryParameter = {};
|
|
359
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
360
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
361
|
+
localVarRequestOptions.headers = {
|
|
362
|
+
...localVarHeaderParameter,
|
|
363
|
+
...headersFromBaseOptions,
|
|
364
|
+
...options.headers,
|
|
365
|
+
};
|
|
366
|
+
return {
|
|
367
|
+
url: toPathString(localVarUrlObj),
|
|
368
|
+
options: localVarRequestOptions,
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
// ActionsExport FP - ActionsExportAxiosParamCreator
|
|
372
|
+
/**
|
|
373
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/image endpoint. The metadata structure is not verified.
|
|
374
|
+
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
375
|
+
* @param {string} workspaceId
|
|
376
|
+
* @param {string} exportId
|
|
377
|
+
* @param {*} [options] Override http request option.
|
|
378
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
379
|
+
* @throws {RequiredError}
|
|
380
|
+
*/
|
|
381
|
+
export async function ActionsExportAxiosParamCreator_GetImageExportMetadata(workspaceId, exportId, options = {}, configuration) {
|
|
382
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
383
|
+
assertParamExists("getImageExportMetadata", "workspaceId", workspaceId);
|
|
384
|
+
// verify required parameter 'exportId' is not null or undefined
|
|
385
|
+
assertParamExists("getImageExportMetadata", "exportId", exportId);
|
|
386
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/image/{exportId}/metadata`
|
|
387
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
388
|
+
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
389
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
390
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
391
|
+
let baseOptions;
|
|
392
|
+
if (configuration) {
|
|
393
|
+
baseOptions = configuration.baseOptions;
|
|
394
|
+
}
|
|
395
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
396
|
+
const localVarHeaderParameter = {};
|
|
397
|
+
const localVarQueryParameter = {};
|
|
398
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
399
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
400
|
+
localVarRequestOptions.headers = {
|
|
401
|
+
...localVarHeaderParameter,
|
|
402
|
+
...headersFromBaseOptions,
|
|
403
|
+
...options.headers,
|
|
404
|
+
};
|
|
405
|
+
return {
|
|
406
|
+
url: toPathString(localVarUrlObj),
|
|
407
|
+
options: localVarRequestOptions,
|
|
408
|
+
};
|
|
409
|
+
}
|
|
410
|
+
// ActionsExport FP - ActionsExportAxiosParamCreator
|
|
411
|
+
/**
|
|
412
|
+
* This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/visual endpoint. The metadata structure is not verified.
|
|
413
|
+
* @summary Retrieve metadata context
|
|
414
|
+
* @param {string} workspaceId
|
|
415
|
+
* @param {string} exportId
|
|
416
|
+
* @param {*} [options] Override http request option.
|
|
417
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
418
|
+
* @throws {RequiredError}
|
|
419
|
+
*/
|
|
420
|
+
export async function ActionsExportAxiosParamCreator_GetMetadata(workspaceId, exportId, options = {}, configuration) {
|
|
421
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
422
|
+
assertParamExists("getMetadata", "workspaceId", workspaceId);
|
|
423
|
+
// verify required parameter 'exportId' is not null or undefined
|
|
424
|
+
assertParamExists("getMetadata", "exportId", exportId);
|
|
425
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId}/metadata`
|
|
426
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
427
|
+
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
428
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
429
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
430
|
+
let baseOptions;
|
|
431
|
+
if (configuration) {
|
|
432
|
+
baseOptions = configuration.baseOptions;
|
|
433
|
+
}
|
|
434
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
435
|
+
const localVarHeaderParameter = {};
|
|
436
|
+
const localVarQueryParameter = {};
|
|
437
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
438
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
439
|
+
localVarRequestOptions.headers = {
|
|
440
|
+
...localVarHeaderParameter,
|
|
441
|
+
...headersFromBaseOptions,
|
|
442
|
+
...options.headers,
|
|
443
|
+
};
|
|
444
|
+
return {
|
|
445
|
+
url: toPathString(localVarUrlObj),
|
|
446
|
+
options: localVarRequestOptions,
|
|
447
|
+
};
|
|
448
|
+
}
|
|
449
|
+
// ActionsExport FP - ActionsExportAxiosParamCreator
|
|
450
|
+
/**
|
|
451
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly.After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
452
|
+
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
453
|
+
* @param {string} workspaceId
|
|
454
|
+
* @param {string} exportId
|
|
455
|
+
* @param {*} [options] Override http request option.
|
|
456
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
457
|
+
* @throws {RequiredError}
|
|
458
|
+
*/
|
|
459
|
+
export async function ActionsExportAxiosParamCreator_GetRawExport(workspaceId, exportId, options = {}, configuration) {
|
|
460
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
461
|
+
assertParamExists("getRawExport", "workspaceId", workspaceId);
|
|
462
|
+
// verify required parameter 'exportId' is not null or undefined
|
|
463
|
+
assertParamExists("getRawExport", "exportId", exportId);
|
|
464
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/raw/{exportId}`
|
|
465
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
466
|
+
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
467
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
468
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
469
|
+
let baseOptions;
|
|
470
|
+
if (configuration) {
|
|
471
|
+
baseOptions = configuration.baseOptions;
|
|
472
|
+
}
|
|
473
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
474
|
+
const localVarHeaderParameter = {};
|
|
475
|
+
const localVarQueryParameter = {};
|
|
476
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
477
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
478
|
+
localVarRequestOptions.headers = {
|
|
479
|
+
...localVarHeaderParameter,
|
|
480
|
+
...headersFromBaseOptions,
|
|
481
|
+
...options.headers,
|
|
482
|
+
};
|
|
483
|
+
return {
|
|
484
|
+
url: toPathString(localVarUrlObj),
|
|
485
|
+
options: localVarRequestOptions,
|
|
486
|
+
};
|
|
487
|
+
}
|
|
488
|
+
// ActionsExport FP - ActionsExportAxiosParamCreator
|
|
489
|
+
/**
|
|
490
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
491
|
+
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
492
|
+
* @param {string} workspaceId
|
|
493
|
+
* @param {string} exportId
|
|
494
|
+
* @param {*} [options] Override http request option.
|
|
495
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
496
|
+
* @throws {RequiredError}
|
|
977
497
|
*/
|
|
978
|
-
export
|
|
979
|
-
|
|
498
|
+
export async function ActionsExportAxiosParamCreator_GetSlidesExport(workspaceId, exportId, options = {}, configuration) {
|
|
499
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
500
|
+
assertParamExists("getSlidesExport", "workspaceId", workspaceId);
|
|
501
|
+
// verify required parameter 'exportId' is not null or undefined
|
|
502
|
+
assertParamExists("getSlidesExport", "exportId", exportId);
|
|
503
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/slides/{exportId}`
|
|
504
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
505
|
+
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
506
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
507
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
508
|
+
let baseOptions;
|
|
509
|
+
if (configuration) {
|
|
510
|
+
baseOptions = configuration.baseOptions;
|
|
511
|
+
}
|
|
512
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
513
|
+
const localVarHeaderParameter = {};
|
|
514
|
+
const localVarQueryParameter = {};
|
|
515
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
516
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
517
|
+
localVarRequestOptions.headers = {
|
|
518
|
+
...localVarHeaderParameter,
|
|
519
|
+
...headersFromBaseOptions,
|
|
520
|
+
...options.headers,
|
|
521
|
+
};
|
|
980
522
|
return {
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
* @summary (EXPERIMENTAL) Create dashboard tabular export request
|
|
984
|
-
* @param {ActionsExportCreateDashboardExportRequestRequest} requestParameters Request parameters.
|
|
985
|
-
* @param {*} [options] Override http request option.
|
|
986
|
-
* @throws {RequiredError}
|
|
987
|
-
*/
|
|
988
|
-
createDashboardExportRequest(requestParameters, options) {
|
|
989
|
-
return localVarFp
|
|
990
|
-
.createDashboardExportRequest(requestParameters.workspaceId, requestParameters.dashboardId, requestParameters.exportDashboardTabularExportRequest, options)
|
|
991
|
-
.then((request) => request(axios, basePath));
|
|
992
|
-
},
|
|
993
|
-
/**
|
|
994
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. An image export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
995
|
-
* @summary (EXPERIMENTAL) Create image export request
|
|
996
|
-
* @param {ActionsExportCreateImageExportRequest} requestParameters Request parameters.
|
|
997
|
-
* @param {*} [options] Override http request option.
|
|
998
|
-
* @throws {RequiredError}
|
|
999
|
-
*/
|
|
1000
|
-
createImageExport(requestParameters, options) {
|
|
1001
|
-
return localVarFp
|
|
1002
|
-
.createImageExport(requestParameters.workspaceId, requestParameters.exportImageExportRequest, options)
|
|
1003
|
-
.then((request) => request(axios, basePath));
|
|
1004
|
-
},
|
|
1005
|
-
/**
|
|
1006
|
-
* An visual export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
1007
|
-
* @summary Create visual - pdf export request
|
|
1008
|
-
* @param {ActionsExportCreatePdfExportRequest} requestParameters Request parameters.
|
|
1009
|
-
* @param {*} [options] Override http request option.
|
|
1010
|
-
* @throws {RequiredError}
|
|
1011
|
-
*/
|
|
1012
|
-
createPdfExport(requestParameters, options) {
|
|
1013
|
-
return localVarFp
|
|
1014
|
-
.createPdfExport(requestParameters.workspaceId, requestParameters.exportVisualExportRequest, requestParameters.xGdcDebug, options)
|
|
1015
|
-
.then((request) => request(axios, basePath));
|
|
1016
|
-
},
|
|
1017
|
-
/**
|
|
1018
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly.An raw export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
1019
|
-
* @summary (EXPERIMENTAL) Create raw export request
|
|
1020
|
-
* @param {ActionsExportCreateRawExportRequest} requestParameters Request parameters.
|
|
1021
|
-
* @param {*} [options] Override http request option.
|
|
1022
|
-
* @throws {RequiredError}
|
|
1023
|
-
*/
|
|
1024
|
-
createRawExport(requestParameters, options) {
|
|
1025
|
-
return localVarFp
|
|
1026
|
-
.createRawExport(requestParameters.workspaceId, requestParameters.exportRawExportRequest, options)
|
|
1027
|
-
.then((request) => request(axios, basePath));
|
|
1028
|
-
},
|
|
1029
|
-
/**
|
|
1030
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. A slides export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
1031
|
-
* @summary (EXPERIMENTAL) Create slides export request
|
|
1032
|
-
* @param {ActionsExportCreateSlidesExportRequest} requestParameters Request parameters.
|
|
1033
|
-
* @param {*} [options] Override http request option.
|
|
1034
|
-
* @throws {RequiredError}
|
|
1035
|
-
*/
|
|
1036
|
-
createSlidesExport(requestParameters, options) {
|
|
1037
|
-
return localVarFp
|
|
1038
|
-
.createSlidesExport(requestParameters.workspaceId, requestParameters.exportSlidesExportRequest, requestParameters.xGdcDebug, options)
|
|
1039
|
-
.then((request) => request(axios, basePath));
|
|
1040
|
-
},
|
|
1041
|
-
/**
|
|
1042
|
-
* An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
1043
|
-
* @summary Create tabular export request
|
|
1044
|
-
* @param {ActionsExportCreateTabularExportRequest} requestParameters Request parameters.
|
|
1045
|
-
* @param {*} [options] Override http request option.
|
|
1046
|
-
* @throws {RequiredError}
|
|
1047
|
-
*/
|
|
1048
|
-
createTabularExport(requestParameters, options) {
|
|
1049
|
-
return localVarFp
|
|
1050
|
-
.createTabularExport(requestParameters.workspaceId, requestParameters.exportTabularExportRequest, options)
|
|
1051
|
-
.then((request) => request(axios, basePath));
|
|
1052
|
-
},
|
|
1053
|
-
/**
|
|
1054
|
-
* Returns 202 until original POST export request is not processed.Returns 200 with exported data once the export is done.
|
|
1055
|
-
* @summary Retrieve exported files
|
|
1056
|
-
* @param {ActionsExportGetExportedFileRequest} requestParameters Request parameters.
|
|
1057
|
-
* @param {*} [options] Override http request option.
|
|
1058
|
-
* @throws {RequiredError}
|
|
1059
|
-
*/
|
|
1060
|
-
getExportedFile(requestParameters, options) {
|
|
1061
|
-
return localVarFp
|
|
1062
|
-
.getExportedFile(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1063
|
-
.then((request) => request(axios, basePath));
|
|
1064
|
-
},
|
|
1065
|
-
/**
|
|
1066
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1067
|
-
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
1068
|
-
* @param {ActionsExportGetImageExportRequest} requestParameters Request parameters.
|
|
1069
|
-
* @param {*} [options] Override http request option.
|
|
1070
|
-
* @throws {RequiredError}
|
|
1071
|
-
*/
|
|
1072
|
-
getImageExport(requestParameters, options) {
|
|
1073
|
-
return localVarFp
|
|
1074
|
-
.getImageExport(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1075
|
-
.then((request) => request(axios, basePath));
|
|
1076
|
-
},
|
|
1077
|
-
/**
|
|
1078
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/image endpoint. The metadata structure is not verified.
|
|
1079
|
-
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
1080
|
-
* @param {ActionsExportGetImageExportMetadataRequest} requestParameters Request parameters.
|
|
1081
|
-
* @param {*} [options] Override http request option.
|
|
1082
|
-
* @throws {RequiredError}
|
|
1083
|
-
*/
|
|
1084
|
-
getImageExportMetadata(requestParameters, options) {
|
|
1085
|
-
return localVarFp
|
|
1086
|
-
.getImageExportMetadata(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1087
|
-
.then((request) => request(axios, basePath));
|
|
1088
|
-
},
|
|
1089
|
-
/**
|
|
1090
|
-
* This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/visual endpoint. The metadata structure is not verified.
|
|
1091
|
-
* @summary Retrieve metadata context
|
|
1092
|
-
* @param {ActionsExportGetMetadataRequest} requestParameters Request parameters.
|
|
1093
|
-
* @param {*} [options] Override http request option.
|
|
1094
|
-
* @throws {RequiredError}
|
|
1095
|
-
*/
|
|
1096
|
-
getMetadata(requestParameters, options) {
|
|
1097
|
-
return localVarFp
|
|
1098
|
-
.getMetadata(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1099
|
-
.then((request) => request(axios, basePath));
|
|
1100
|
-
},
|
|
1101
|
-
/**
|
|
1102
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly.After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1103
|
-
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
1104
|
-
* @param {ActionsExportGetRawExportRequest} requestParameters Request parameters.
|
|
1105
|
-
* @param {*} [options] Override http request option.
|
|
1106
|
-
* @throws {RequiredError}
|
|
1107
|
-
*/
|
|
1108
|
-
getRawExport(requestParameters, options) {
|
|
1109
|
-
return localVarFp
|
|
1110
|
-
.getRawExport(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1111
|
-
.then((request) => request(axios, basePath));
|
|
1112
|
-
},
|
|
1113
|
-
/**
|
|
1114
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1115
|
-
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
1116
|
-
* @param {ActionsExportGetSlidesExportRequest} requestParameters Request parameters.
|
|
1117
|
-
* @param {*} [options] Override http request option.
|
|
1118
|
-
* @throws {RequiredError}
|
|
1119
|
-
*/
|
|
1120
|
-
getSlidesExport(requestParameters, options) {
|
|
1121
|
-
return localVarFp
|
|
1122
|
-
.getSlidesExport(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1123
|
-
.then((request) => request(axios, basePath));
|
|
1124
|
-
},
|
|
1125
|
-
/**
|
|
1126
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/slides endpoint. The metadata structure is not verified.
|
|
1127
|
-
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
1128
|
-
* @param {ActionsExportGetSlidesExportMetadataRequest} requestParameters Request parameters.
|
|
1129
|
-
* @param {*} [options] Override http request option.
|
|
1130
|
-
* @throws {RequiredError}
|
|
1131
|
-
*/
|
|
1132
|
-
getSlidesExportMetadata(requestParameters, options) {
|
|
1133
|
-
return localVarFp
|
|
1134
|
-
.getSlidesExportMetadata(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1135
|
-
.then((request) => request(axios, basePath));
|
|
1136
|
-
},
|
|
1137
|
-
/**
|
|
1138
|
-
* After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1139
|
-
* @summary Retrieve exported files
|
|
1140
|
-
* @param {ActionsExportGetTabularExportRequest} requestParameters Request parameters.
|
|
1141
|
-
* @param {*} [options] Override http request option.
|
|
1142
|
-
* @throws {RequiredError}
|
|
1143
|
-
*/
|
|
1144
|
-
getTabularExport(requestParameters, options) {
|
|
1145
|
-
return localVarFp
|
|
1146
|
-
.getTabularExport(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1147
|
-
.then((request) => request(axios, basePath));
|
|
1148
|
-
},
|
|
523
|
+
url: toPathString(localVarUrlObj),
|
|
524
|
+
options: localVarRequestOptions,
|
|
1149
525
|
};
|
|
1150
|
-
}
|
|
526
|
+
}
|
|
527
|
+
// ActionsExport FP - ActionsExportAxiosParamCreator
|
|
528
|
+
/**
|
|
529
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/slides endpoint. The metadata structure is not verified.
|
|
530
|
+
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
531
|
+
* @param {string} workspaceId
|
|
532
|
+
* @param {string} exportId
|
|
533
|
+
* @param {*} [options] Override http request option.
|
|
534
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
535
|
+
* @throws {RequiredError}
|
|
536
|
+
*/
|
|
537
|
+
export async function ActionsExportAxiosParamCreator_GetSlidesExportMetadata(workspaceId, exportId, options = {}, configuration) {
|
|
538
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
539
|
+
assertParamExists("getSlidesExportMetadata", "workspaceId", workspaceId);
|
|
540
|
+
// verify required parameter 'exportId' is not null or undefined
|
|
541
|
+
assertParamExists("getSlidesExportMetadata", "exportId", exportId);
|
|
542
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/slides/{exportId}/metadata`
|
|
543
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
544
|
+
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
545
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
546
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
547
|
+
let baseOptions;
|
|
548
|
+
if (configuration) {
|
|
549
|
+
baseOptions = configuration.baseOptions;
|
|
550
|
+
}
|
|
551
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
552
|
+
const localVarHeaderParameter = {};
|
|
553
|
+
const localVarQueryParameter = {};
|
|
554
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
555
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
556
|
+
localVarRequestOptions.headers = {
|
|
557
|
+
...localVarHeaderParameter,
|
|
558
|
+
...headersFromBaseOptions,
|
|
559
|
+
...options.headers,
|
|
560
|
+
};
|
|
561
|
+
return {
|
|
562
|
+
url: toPathString(localVarUrlObj),
|
|
563
|
+
options: localVarRequestOptions,
|
|
564
|
+
};
|
|
565
|
+
}
|
|
566
|
+
// ActionsExport FP - ActionsExportAxiosParamCreator
|
|
567
|
+
/**
|
|
568
|
+
* After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
569
|
+
* @summary Retrieve exported files
|
|
570
|
+
* @param {string} workspaceId
|
|
571
|
+
* @param {string} exportId
|
|
572
|
+
* @param {*} [options] Override http request option.
|
|
573
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
574
|
+
* @throws {RequiredError}
|
|
575
|
+
*/
|
|
576
|
+
export async function ActionsExportAxiosParamCreator_GetTabularExport(workspaceId, exportId, options = {}, configuration) {
|
|
577
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
578
|
+
assertParamExists("getTabularExport", "workspaceId", workspaceId);
|
|
579
|
+
// verify required parameter 'exportId' is not null or undefined
|
|
580
|
+
assertParamExists("getTabularExport", "exportId", exportId);
|
|
581
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/tabular/{exportId}`
|
|
582
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
583
|
+
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
584
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
585
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
586
|
+
let baseOptions;
|
|
587
|
+
if (configuration) {
|
|
588
|
+
baseOptions = configuration.baseOptions;
|
|
589
|
+
}
|
|
590
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
591
|
+
const localVarHeaderParameter = {};
|
|
592
|
+
const localVarQueryParameter = {};
|
|
593
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
594
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
595
|
+
localVarRequestOptions.headers = {
|
|
596
|
+
...localVarHeaderParameter,
|
|
597
|
+
...headersFromBaseOptions,
|
|
598
|
+
...options.headers,
|
|
599
|
+
};
|
|
600
|
+
return {
|
|
601
|
+
url: toPathString(localVarUrlObj),
|
|
602
|
+
options: localVarRequestOptions,
|
|
603
|
+
};
|
|
604
|
+
}
|
|
605
|
+
// ActionsExport Api FP
|
|
606
|
+
/**
|
|
607
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly.An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
608
|
+
* @summary (EXPERIMENTAL) Create dashboard tabular export request
|
|
609
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
610
|
+
* @param {string} basePath Base path.
|
|
611
|
+
* @param {ActionsExportCreateDashboardExportRequestRequest} requestParameters Request parameters.
|
|
612
|
+
* @param {*} [options] Override http request option.
|
|
613
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
614
|
+
* @throws {RequiredError}
|
|
615
|
+
*/
|
|
616
|
+
export async function ActionsExport_CreateDashboardExportRequest(axios, basePath, requestParameters, options, configuration) {
|
|
617
|
+
const localVarAxiosArgs = await ActionsExportAxiosParamCreator_CreateDashboardExportRequest(requestParameters.workspaceId, requestParameters.dashboardId, requestParameters.exportDashboardTabularExportRequest, options || {}, configuration);
|
|
618
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
619
|
+
}
|
|
620
|
+
// ActionsExport Api FP
|
|
621
|
+
/**
|
|
622
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. An image export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
623
|
+
* @summary (EXPERIMENTAL) Create image export request
|
|
624
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
625
|
+
* @param {string} basePath Base path.
|
|
626
|
+
* @param {ActionsExportCreateImageExportRequest} requestParameters Request parameters.
|
|
627
|
+
* @param {*} [options] Override http request option.
|
|
628
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
629
|
+
* @throws {RequiredError}
|
|
630
|
+
*/
|
|
631
|
+
export async function ActionsExport_CreateImageExport(axios, basePath, requestParameters, options, configuration) {
|
|
632
|
+
const localVarAxiosArgs = await ActionsExportAxiosParamCreator_CreateImageExport(requestParameters.workspaceId, requestParameters.exportImageExportRequest, options || {}, configuration);
|
|
633
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
634
|
+
}
|
|
635
|
+
// ActionsExport Api FP
|
|
636
|
+
/**
|
|
637
|
+
* An visual export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
638
|
+
* @summary Create visual - pdf export request
|
|
639
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
640
|
+
* @param {string} basePath Base path.
|
|
641
|
+
* @param {ActionsExportCreatePdfExportRequest} requestParameters Request parameters.
|
|
642
|
+
* @param {*} [options] Override http request option.
|
|
643
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
644
|
+
* @throws {RequiredError}
|
|
645
|
+
*/
|
|
646
|
+
export async function ActionsExport_CreatePdfExport(axios, basePath, requestParameters, options, configuration) {
|
|
647
|
+
const localVarAxiosArgs = await ActionsExportAxiosParamCreator_CreatePdfExport(requestParameters.workspaceId, requestParameters.exportVisualExportRequest, requestParameters.xGdcDebug, options || {}, configuration);
|
|
648
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
649
|
+
}
|
|
650
|
+
// ActionsExport Api FP
|
|
651
|
+
/**
|
|
652
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly.An raw export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
653
|
+
* @summary (EXPERIMENTAL) Create raw export request
|
|
654
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
655
|
+
* @param {string} basePath Base path.
|
|
656
|
+
* @param {ActionsExportCreateRawExportRequest} requestParameters Request parameters.
|
|
657
|
+
* @param {*} [options] Override http request option.
|
|
658
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
659
|
+
* @throws {RequiredError}
|
|
660
|
+
*/
|
|
661
|
+
export async function ActionsExport_CreateRawExport(axios, basePath, requestParameters, options, configuration) {
|
|
662
|
+
const localVarAxiosArgs = await ActionsExportAxiosParamCreator_CreateRawExport(requestParameters.workspaceId, requestParameters.exportRawExportRequest, options || {}, configuration);
|
|
663
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
664
|
+
}
|
|
665
|
+
// ActionsExport Api FP
|
|
666
|
+
/**
|
|
667
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. A slides export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
668
|
+
* @summary (EXPERIMENTAL) Create slides export request
|
|
669
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
670
|
+
* @param {string} basePath Base path.
|
|
671
|
+
* @param {ActionsExportCreateSlidesExportRequest} requestParameters Request parameters.
|
|
672
|
+
* @param {*} [options] Override http request option.
|
|
673
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
674
|
+
* @throws {RequiredError}
|
|
675
|
+
*/
|
|
676
|
+
export async function ActionsExport_CreateSlidesExport(axios, basePath, requestParameters, options, configuration) {
|
|
677
|
+
const localVarAxiosArgs = await ActionsExportAxiosParamCreator_CreateSlidesExport(requestParameters.workspaceId, requestParameters.exportSlidesExportRequest, requestParameters.xGdcDebug, options || {}, configuration);
|
|
678
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
679
|
+
}
|
|
680
|
+
// ActionsExport Api FP
|
|
681
|
+
/**
|
|
682
|
+
* An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
683
|
+
* @summary Create tabular export request
|
|
684
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
685
|
+
* @param {string} basePath Base path.
|
|
686
|
+
* @param {ActionsExportCreateTabularExportRequest} requestParameters Request parameters.
|
|
687
|
+
* @param {*} [options] Override http request option.
|
|
688
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
689
|
+
* @throws {RequiredError}
|
|
690
|
+
*/
|
|
691
|
+
export async function ActionsExport_CreateTabularExport(axios, basePath, requestParameters, options, configuration) {
|
|
692
|
+
const localVarAxiosArgs = await ActionsExportAxiosParamCreator_CreateTabularExport(requestParameters.workspaceId, requestParameters.exportTabularExportRequest, options || {}, configuration);
|
|
693
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
694
|
+
}
|
|
695
|
+
// ActionsExport Api FP
|
|
696
|
+
/**
|
|
697
|
+
* Returns 202 until original POST export request is not processed.Returns 200 with exported data once the export is done.
|
|
698
|
+
* @summary Retrieve exported files
|
|
699
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
700
|
+
* @param {string} basePath Base path.
|
|
701
|
+
* @param {ActionsExportGetExportedFileRequest} requestParameters Request parameters.
|
|
702
|
+
* @param {*} [options] Override http request option.
|
|
703
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
704
|
+
* @throws {RequiredError}
|
|
705
|
+
*/
|
|
706
|
+
export async function ActionsExport_GetExportedFile(axios, basePath, requestParameters, options, configuration) {
|
|
707
|
+
const localVarAxiosArgs = await ActionsExportAxiosParamCreator_GetExportedFile(requestParameters.workspaceId, requestParameters.exportId, options || {}, configuration);
|
|
708
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
709
|
+
}
|
|
710
|
+
// ActionsExport Api FP
|
|
711
|
+
/**
|
|
712
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
713
|
+
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
714
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
715
|
+
* @param {string} basePath Base path.
|
|
716
|
+
* @param {ActionsExportGetImageExportRequest} requestParameters Request parameters.
|
|
717
|
+
* @param {*} [options] Override http request option.
|
|
718
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
719
|
+
* @throws {RequiredError}
|
|
720
|
+
*/
|
|
721
|
+
export async function ActionsExport_GetImageExport(axios, basePath, requestParameters, options, configuration) {
|
|
722
|
+
const localVarAxiosArgs = await ActionsExportAxiosParamCreator_GetImageExport(requestParameters.workspaceId, requestParameters.exportId, options || {}, configuration);
|
|
723
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
724
|
+
}
|
|
725
|
+
// ActionsExport Api FP
|
|
726
|
+
/**
|
|
727
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/image endpoint. The metadata structure is not verified.
|
|
728
|
+
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
729
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
730
|
+
* @param {string} basePath Base path.
|
|
731
|
+
* @param {ActionsExportGetImageExportMetadataRequest} requestParameters Request parameters.
|
|
732
|
+
* @param {*} [options] Override http request option.
|
|
733
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
734
|
+
* @throws {RequiredError}
|
|
735
|
+
*/
|
|
736
|
+
export async function ActionsExport_GetImageExportMetadata(axios, basePath, requestParameters, options, configuration) {
|
|
737
|
+
const localVarAxiosArgs = await ActionsExportAxiosParamCreator_GetImageExportMetadata(requestParameters.workspaceId, requestParameters.exportId, options || {}, configuration);
|
|
738
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
739
|
+
}
|
|
740
|
+
// ActionsExport Api FP
|
|
741
|
+
/**
|
|
742
|
+
* This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/visual endpoint. The metadata structure is not verified.
|
|
743
|
+
* @summary Retrieve metadata context
|
|
744
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
745
|
+
* @param {string} basePath Base path.
|
|
746
|
+
* @param {ActionsExportGetMetadataRequest} requestParameters Request parameters.
|
|
747
|
+
* @param {*} [options] Override http request option.
|
|
748
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
749
|
+
* @throws {RequiredError}
|
|
750
|
+
*/
|
|
751
|
+
export async function ActionsExport_GetMetadata(axios, basePath, requestParameters, options, configuration) {
|
|
752
|
+
const localVarAxiosArgs = await ActionsExportAxiosParamCreator_GetMetadata(requestParameters.workspaceId, requestParameters.exportId, options || {}, configuration);
|
|
753
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
754
|
+
}
|
|
755
|
+
// ActionsExport Api FP
|
|
756
|
+
/**
|
|
757
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly.After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
758
|
+
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
759
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
760
|
+
* @param {string} basePath Base path.
|
|
761
|
+
* @param {ActionsExportGetRawExportRequest} requestParameters Request parameters.
|
|
762
|
+
* @param {*} [options] Override http request option.
|
|
763
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
764
|
+
* @throws {RequiredError}
|
|
765
|
+
*/
|
|
766
|
+
export async function ActionsExport_GetRawExport(axios, basePath, requestParameters, options, configuration) {
|
|
767
|
+
const localVarAxiosArgs = await ActionsExportAxiosParamCreator_GetRawExport(requestParameters.workspaceId, requestParameters.exportId, options || {}, configuration);
|
|
768
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
769
|
+
}
|
|
770
|
+
// ActionsExport Api FP
|
|
771
|
+
/**
|
|
772
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
773
|
+
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
774
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
775
|
+
* @param {string} basePath Base path.
|
|
776
|
+
* @param {ActionsExportGetSlidesExportRequest} requestParameters Request parameters.
|
|
777
|
+
* @param {*} [options] Override http request option.
|
|
778
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
779
|
+
* @throws {RequiredError}
|
|
780
|
+
*/
|
|
781
|
+
export async function ActionsExport_GetSlidesExport(axios, basePath, requestParameters, options, configuration) {
|
|
782
|
+
const localVarAxiosArgs = await ActionsExportAxiosParamCreator_GetSlidesExport(requestParameters.workspaceId, requestParameters.exportId, options || {}, configuration);
|
|
783
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
784
|
+
}
|
|
785
|
+
// ActionsExport Api FP
|
|
786
|
+
/**
|
|
787
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/slides endpoint. The metadata structure is not verified.
|
|
788
|
+
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
789
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
790
|
+
* @param {string} basePath Base path.
|
|
791
|
+
* @param {ActionsExportGetSlidesExportMetadataRequest} requestParameters Request parameters.
|
|
792
|
+
* @param {*} [options] Override http request option.
|
|
793
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
794
|
+
* @throws {RequiredError}
|
|
795
|
+
*/
|
|
796
|
+
export async function ActionsExport_GetSlidesExportMetadata(axios, basePath, requestParameters, options, configuration) {
|
|
797
|
+
const localVarAxiosArgs = await ActionsExportAxiosParamCreator_GetSlidesExportMetadata(requestParameters.workspaceId, requestParameters.exportId, options || {}, configuration);
|
|
798
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
799
|
+
}
|
|
800
|
+
// ActionsExport Api FP
|
|
801
|
+
/**
|
|
802
|
+
* After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
803
|
+
* @summary Retrieve exported files
|
|
804
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
805
|
+
* @param {string} basePath Base path.
|
|
806
|
+
* @param {ActionsExportGetTabularExportRequest} requestParameters Request parameters.
|
|
807
|
+
* @param {*} [options] Override http request option.
|
|
808
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
809
|
+
* @throws {RequiredError}
|
|
810
|
+
*/
|
|
811
|
+
export async function ActionsExport_GetTabularExport(axios, basePath, requestParameters, options, configuration) {
|
|
812
|
+
const localVarAxiosArgs = await ActionsExportAxiosParamCreator_GetTabularExport(requestParameters.workspaceId, requestParameters.exportId, options || {}, configuration);
|
|
813
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
814
|
+
}
|
|
1151
815
|
/**
|
|
1152
816
|
* ActionsExport - object-oriented interface
|
|
1153
817
|
* @export
|
|
@@ -1164,9 +828,7 @@ export class ActionsExport extends BaseAPI {
|
|
|
1164
828
|
* @memberof ActionsExport
|
|
1165
829
|
*/
|
|
1166
830
|
createDashboardExportRequest(requestParameters, options) {
|
|
1167
|
-
return
|
|
1168
|
-
.createDashboardExportRequest(requestParameters.workspaceId, requestParameters.dashboardId, requestParameters.exportDashboardTabularExportRequest, options)
|
|
1169
|
-
.then((request) => request(this.axios, this.basePath));
|
|
831
|
+
return ActionsExport_CreateDashboardExportRequest(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1170
832
|
}
|
|
1171
833
|
/**
|
|
1172
834
|
* Note: This API is an experimental and is going to change. Please, use it accordingly. An image export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
@@ -1177,9 +839,7 @@ export class ActionsExport extends BaseAPI {
|
|
|
1177
839
|
* @memberof ActionsExport
|
|
1178
840
|
*/
|
|
1179
841
|
createImageExport(requestParameters, options) {
|
|
1180
|
-
return
|
|
1181
|
-
.createImageExport(requestParameters.workspaceId, requestParameters.exportImageExportRequest, options)
|
|
1182
|
-
.then((request) => request(this.axios, this.basePath));
|
|
842
|
+
return ActionsExport_CreateImageExport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1183
843
|
}
|
|
1184
844
|
/**
|
|
1185
845
|
* An visual export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
@@ -1190,9 +850,7 @@ export class ActionsExport extends BaseAPI {
|
|
|
1190
850
|
* @memberof ActionsExport
|
|
1191
851
|
*/
|
|
1192
852
|
createPdfExport(requestParameters, options) {
|
|
1193
|
-
return
|
|
1194
|
-
.createPdfExport(requestParameters.workspaceId, requestParameters.exportVisualExportRequest, requestParameters.xGdcDebug, options)
|
|
1195
|
-
.then((request) => request(this.axios, this.basePath));
|
|
853
|
+
return ActionsExport_CreatePdfExport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1196
854
|
}
|
|
1197
855
|
/**
|
|
1198
856
|
* Note: This API is an experimental and is going to change. Please, use it accordingly.An raw export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
@@ -1203,9 +861,7 @@ export class ActionsExport extends BaseAPI {
|
|
|
1203
861
|
* @memberof ActionsExport
|
|
1204
862
|
*/
|
|
1205
863
|
createRawExport(requestParameters, options) {
|
|
1206
|
-
return
|
|
1207
|
-
.createRawExport(requestParameters.workspaceId, requestParameters.exportRawExportRequest, options)
|
|
1208
|
-
.then((request) => request(this.axios, this.basePath));
|
|
864
|
+
return ActionsExport_CreateRawExport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1209
865
|
}
|
|
1210
866
|
/**
|
|
1211
867
|
* Note: This API is an experimental and is going to change. Please, use it accordingly. A slides export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
@@ -1216,9 +872,7 @@ export class ActionsExport extends BaseAPI {
|
|
|
1216
872
|
* @memberof ActionsExport
|
|
1217
873
|
*/
|
|
1218
874
|
createSlidesExport(requestParameters, options) {
|
|
1219
|
-
return
|
|
1220
|
-
.createSlidesExport(requestParameters.workspaceId, requestParameters.exportSlidesExportRequest, requestParameters.xGdcDebug, options)
|
|
1221
|
-
.then((request) => request(this.axios, this.basePath));
|
|
875
|
+
return ActionsExport_CreateSlidesExport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1222
876
|
}
|
|
1223
877
|
/**
|
|
1224
878
|
* An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
@@ -1229,9 +883,7 @@ export class ActionsExport extends BaseAPI {
|
|
|
1229
883
|
* @memberof ActionsExport
|
|
1230
884
|
*/
|
|
1231
885
|
createTabularExport(requestParameters, options) {
|
|
1232
|
-
return
|
|
1233
|
-
.createTabularExport(requestParameters.workspaceId, requestParameters.exportTabularExportRequest, options)
|
|
1234
|
-
.then((request) => request(this.axios, this.basePath));
|
|
886
|
+
return ActionsExport_CreateTabularExport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1235
887
|
}
|
|
1236
888
|
/**
|
|
1237
889
|
* Returns 202 until original POST export request is not processed.Returns 200 with exported data once the export is done.
|
|
@@ -1242,9 +894,7 @@ export class ActionsExport extends BaseAPI {
|
|
|
1242
894
|
* @memberof ActionsExport
|
|
1243
895
|
*/
|
|
1244
896
|
getExportedFile(requestParameters, options) {
|
|
1245
|
-
return
|
|
1246
|
-
.getExportedFile(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1247
|
-
.then((request) => request(this.axios, this.basePath));
|
|
897
|
+
return ActionsExport_GetExportedFile(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1248
898
|
}
|
|
1249
899
|
/**
|
|
1250
900
|
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
@@ -1255,9 +905,7 @@ export class ActionsExport extends BaseAPI {
|
|
|
1255
905
|
* @memberof ActionsExport
|
|
1256
906
|
*/
|
|
1257
907
|
getImageExport(requestParameters, options) {
|
|
1258
|
-
return
|
|
1259
|
-
.getImageExport(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1260
|
-
.then((request) => request(this.axios, this.basePath));
|
|
908
|
+
return ActionsExport_GetImageExport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1261
909
|
}
|
|
1262
910
|
/**
|
|
1263
911
|
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/image endpoint. The metadata structure is not verified.
|
|
@@ -1268,9 +916,7 @@ export class ActionsExport extends BaseAPI {
|
|
|
1268
916
|
* @memberof ActionsExport
|
|
1269
917
|
*/
|
|
1270
918
|
getImageExportMetadata(requestParameters, options) {
|
|
1271
|
-
return
|
|
1272
|
-
.getImageExportMetadata(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1273
|
-
.then((request) => request(this.axios, this.basePath));
|
|
919
|
+
return ActionsExport_GetImageExportMetadata(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1274
920
|
}
|
|
1275
921
|
/**
|
|
1276
922
|
* This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/visual endpoint. The metadata structure is not verified.
|
|
@@ -1281,9 +927,7 @@ export class ActionsExport extends BaseAPI {
|
|
|
1281
927
|
* @memberof ActionsExport
|
|
1282
928
|
*/
|
|
1283
929
|
getMetadata(requestParameters, options) {
|
|
1284
|
-
return
|
|
1285
|
-
.getMetadata(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1286
|
-
.then((request) => request(this.axios, this.basePath));
|
|
930
|
+
return ActionsExport_GetMetadata(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1287
931
|
}
|
|
1288
932
|
/**
|
|
1289
933
|
* Note: This API is an experimental and is going to change. Please, use it accordingly.After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
@@ -1294,9 +938,7 @@ export class ActionsExport extends BaseAPI {
|
|
|
1294
938
|
* @memberof ActionsExport
|
|
1295
939
|
*/
|
|
1296
940
|
getRawExport(requestParameters, options) {
|
|
1297
|
-
return
|
|
1298
|
-
.getRawExport(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1299
|
-
.then((request) => request(this.axios, this.basePath));
|
|
941
|
+
return ActionsExport_GetRawExport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1300
942
|
}
|
|
1301
943
|
/**
|
|
1302
944
|
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
@@ -1307,9 +949,7 @@ export class ActionsExport extends BaseAPI {
|
|
|
1307
949
|
* @memberof ActionsExport
|
|
1308
950
|
*/
|
|
1309
951
|
getSlidesExport(requestParameters, options) {
|
|
1310
|
-
return
|
|
1311
|
-
.getSlidesExport(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1312
|
-
.then((request) => request(this.axios, this.basePath));
|
|
952
|
+
return ActionsExport_GetSlidesExport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1313
953
|
}
|
|
1314
954
|
/**
|
|
1315
955
|
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/slides endpoint. The metadata structure is not verified.
|
|
@@ -1320,9 +960,7 @@ export class ActionsExport extends BaseAPI {
|
|
|
1320
960
|
* @memberof ActionsExport
|
|
1321
961
|
*/
|
|
1322
962
|
getSlidesExportMetadata(requestParameters, options) {
|
|
1323
|
-
return
|
|
1324
|
-
.getSlidesExportMetadata(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1325
|
-
.then((request) => request(this.axios, this.basePath));
|
|
963
|
+
return ActionsExport_GetSlidesExportMetadata(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1326
964
|
}
|
|
1327
965
|
/**
|
|
1328
966
|
* After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
@@ -1333,224 +971,175 @@ export class ActionsExport extends BaseAPI {
|
|
|
1333
971
|
* @memberof ActionsExport
|
|
1334
972
|
*/
|
|
1335
973
|
getTabularExport(requestParameters, options) {
|
|
1336
|
-
return
|
|
1337
|
-
.getTabularExport(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1338
|
-
.then((request) => request(this.axios, this.basePath));
|
|
974
|
+
return ActionsExport_GetTabularExport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1339
975
|
}
|
|
1340
976
|
}
|
|
977
|
+
// ImageExportExport FP - ImageExportExportAxiosParamCreator
|
|
1341
978
|
/**
|
|
1342
|
-
*
|
|
1343
|
-
* @export
|
|
979
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. An image export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
980
|
+
* @summary (EXPERIMENTAL) Create image export request
|
|
981
|
+
* @param {string} workspaceId
|
|
982
|
+
* @param {ExportImageExportRequest} exportImageExportRequest
|
|
983
|
+
* @param {*} [options] Override http request option.
|
|
984
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
985
|
+
* @throws {RequiredError}
|
|
1344
986
|
*/
|
|
1345
|
-
export
|
|
987
|
+
export async function ImageExportExportAxiosParamCreator_CreateImageExport(workspaceId, exportImageExportRequest, options = {}, configuration) {
|
|
988
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
989
|
+
assertParamExists("createImageExport", "workspaceId", workspaceId);
|
|
990
|
+
// verify required parameter 'exportImageExportRequest' is not null or undefined
|
|
991
|
+
assertParamExists("createImageExport", "exportImageExportRequest", exportImageExportRequest);
|
|
992
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/image`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
993
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
994
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
995
|
+
let baseOptions;
|
|
996
|
+
if (configuration) {
|
|
997
|
+
baseOptions = configuration.baseOptions;
|
|
998
|
+
}
|
|
999
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1000
|
+
const localVarHeaderParameter = {};
|
|
1001
|
+
const localVarQueryParameter = {};
|
|
1002
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1003
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1004
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1005
|
+
localVarRequestOptions.headers = {
|
|
1006
|
+
...localVarHeaderParameter,
|
|
1007
|
+
...headersFromBaseOptions,
|
|
1008
|
+
...options.headers,
|
|
1009
|
+
};
|
|
1010
|
+
const needsSerialization = typeof exportImageExportRequest !== "string" ||
|
|
1011
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1012
|
+
localVarRequestOptions.data = needsSerialization
|
|
1013
|
+
? JSON.stringify(exportImageExportRequest !== undefined ? exportImageExportRequest : {})
|
|
1014
|
+
: exportImageExportRequest || "";
|
|
1346
1015
|
return {
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
* @summary (EXPERIMENTAL) Create image export request
|
|
1350
|
-
* @param {string} workspaceId
|
|
1351
|
-
* @param {ExportImageExportRequest} exportImageExportRequest
|
|
1352
|
-
* @param {*} [options] Override http request option.
|
|
1353
|
-
* @throws {RequiredError}
|
|
1354
|
-
*/
|
|
1355
|
-
createImageExport: async (workspaceId, exportImageExportRequest, options = {}) => {
|
|
1356
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1357
|
-
assertParamExists("createImageExport", "workspaceId", workspaceId);
|
|
1358
|
-
// verify required parameter 'exportImageExportRequest' is not null or undefined
|
|
1359
|
-
assertParamExists("createImageExport", "exportImageExportRequest", exportImageExportRequest);
|
|
1360
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/image`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1361
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1362
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1363
|
-
let baseOptions;
|
|
1364
|
-
if (configuration) {
|
|
1365
|
-
baseOptions = configuration.baseOptions;
|
|
1366
|
-
}
|
|
1367
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1368
|
-
const localVarHeaderParameter = {};
|
|
1369
|
-
const localVarQueryParameter = {};
|
|
1370
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1371
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1372
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1373
|
-
localVarRequestOptions.headers = {
|
|
1374
|
-
...localVarHeaderParameter,
|
|
1375
|
-
...headersFromBaseOptions,
|
|
1376
|
-
...options.headers,
|
|
1377
|
-
};
|
|
1378
|
-
const needsSerialization = typeof exportImageExportRequest !== "string" ||
|
|
1379
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1380
|
-
localVarRequestOptions.data = needsSerialization
|
|
1381
|
-
? JSON.stringify(exportImageExportRequest !== undefined ? exportImageExportRequest : {})
|
|
1382
|
-
: exportImageExportRequest || "";
|
|
1383
|
-
return {
|
|
1384
|
-
url: toPathString(localVarUrlObj),
|
|
1385
|
-
options: localVarRequestOptions,
|
|
1386
|
-
};
|
|
1387
|
-
},
|
|
1388
|
-
/**
|
|
1389
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1390
|
-
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
1391
|
-
* @param {string} workspaceId
|
|
1392
|
-
* @param {string} exportId
|
|
1393
|
-
* @param {*} [options] Override http request option.
|
|
1394
|
-
* @throws {RequiredError}
|
|
1395
|
-
*/
|
|
1396
|
-
getImageExport: async (workspaceId, exportId, options = {}) => {
|
|
1397
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1398
|
-
assertParamExists("getImageExport", "workspaceId", workspaceId);
|
|
1399
|
-
// verify required parameter 'exportId' is not null or undefined
|
|
1400
|
-
assertParamExists("getImageExport", "exportId", exportId);
|
|
1401
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/image/{exportId}`
|
|
1402
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1403
|
-
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
1404
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1405
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1406
|
-
let baseOptions;
|
|
1407
|
-
if (configuration) {
|
|
1408
|
-
baseOptions = configuration.baseOptions;
|
|
1409
|
-
}
|
|
1410
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1411
|
-
const localVarHeaderParameter = {};
|
|
1412
|
-
const localVarQueryParameter = {};
|
|
1413
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1414
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1415
|
-
localVarRequestOptions.headers = {
|
|
1416
|
-
...localVarHeaderParameter,
|
|
1417
|
-
...headersFromBaseOptions,
|
|
1418
|
-
...options.headers,
|
|
1419
|
-
};
|
|
1420
|
-
return {
|
|
1421
|
-
url: toPathString(localVarUrlObj),
|
|
1422
|
-
options: localVarRequestOptions,
|
|
1423
|
-
};
|
|
1424
|
-
},
|
|
1425
|
-
/**
|
|
1426
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/image endpoint. The metadata structure is not verified.
|
|
1427
|
-
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
1428
|
-
* @param {string} workspaceId
|
|
1429
|
-
* @param {string} exportId
|
|
1430
|
-
* @param {*} [options] Override http request option.
|
|
1431
|
-
* @throws {RequiredError}
|
|
1432
|
-
*/
|
|
1433
|
-
getImageExportMetadata: async (workspaceId, exportId, options = {}) => {
|
|
1434
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1435
|
-
assertParamExists("getImageExportMetadata", "workspaceId", workspaceId);
|
|
1436
|
-
// verify required parameter 'exportId' is not null or undefined
|
|
1437
|
-
assertParamExists("getImageExportMetadata", "exportId", exportId);
|
|
1438
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/image/{exportId}/metadata`
|
|
1439
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1440
|
-
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
1441
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1442
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1443
|
-
let baseOptions;
|
|
1444
|
-
if (configuration) {
|
|
1445
|
-
baseOptions = configuration.baseOptions;
|
|
1446
|
-
}
|
|
1447
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1448
|
-
const localVarHeaderParameter = {};
|
|
1449
|
-
const localVarQueryParameter = {};
|
|
1450
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1451
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1452
|
-
localVarRequestOptions.headers = {
|
|
1453
|
-
...localVarHeaderParameter,
|
|
1454
|
-
...headersFromBaseOptions,
|
|
1455
|
-
...options.headers,
|
|
1456
|
-
};
|
|
1457
|
-
return {
|
|
1458
|
-
url: toPathString(localVarUrlObj),
|
|
1459
|
-
options: localVarRequestOptions,
|
|
1460
|
-
};
|
|
1461
|
-
},
|
|
1016
|
+
url: toPathString(localVarUrlObj),
|
|
1017
|
+
options: localVarRequestOptions,
|
|
1462
1018
|
};
|
|
1463
|
-
}
|
|
1019
|
+
}
|
|
1020
|
+
// ImageExportExport FP - ImageExportExportAxiosParamCreator
|
|
1464
1021
|
/**
|
|
1465
|
-
*
|
|
1466
|
-
* @
|
|
1022
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1023
|
+
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
1024
|
+
* @param {string} workspaceId
|
|
1025
|
+
* @param {string} exportId
|
|
1026
|
+
* @param {*} [options] Override http request option.
|
|
1027
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1028
|
+
* @throws {RequiredError}
|
|
1467
1029
|
*/
|
|
1468
|
-
export
|
|
1469
|
-
|
|
1030
|
+
export async function ImageExportExportAxiosParamCreator_GetImageExport(workspaceId, exportId, options = {}, configuration) {
|
|
1031
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1032
|
+
assertParamExists("getImageExport", "workspaceId", workspaceId);
|
|
1033
|
+
// verify required parameter 'exportId' is not null or undefined
|
|
1034
|
+
assertParamExists("getImageExport", "exportId", exportId);
|
|
1035
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/image/{exportId}`
|
|
1036
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1037
|
+
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
1038
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1039
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1040
|
+
let baseOptions;
|
|
1041
|
+
if (configuration) {
|
|
1042
|
+
baseOptions = configuration.baseOptions;
|
|
1043
|
+
}
|
|
1044
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1045
|
+
const localVarHeaderParameter = {};
|
|
1046
|
+
const localVarQueryParameter = {};
|
|
1047
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1048
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1049
|
+
localVarRequestOptions.headers = {
|
|
1050
|
+
...localVarHeaderParameter,
|
|
1051
|
+
...headersFromBaseOptions,
|
|
1052
|
+
...options.headers,
|
|
1053
|
+
};
|
|
1470
1054
|
return {
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
* @summary (EXPERIMENTAL) Create image export request
|
|
1474
|
-
* @param {string} workspaceId
|
|
1475
|
-
* @param {ExportImageExportRequest} exportImageExportRequest
|
|
1476
|
-
* @param {*} [options] Override http request option.
|
|
1477
|
-
* @throws {RequiredError}
|
|
1478
|
-
*/
|
|
1479
|
-
async createImageExport(workspaceId, exportImageExportRequest, options) {
|
|
1480
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createImageExport(workspaceId, exportImageExportRequest, options);
|
|
1481
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1482
|
-
},
|
|
1483
|
-
/**
|
|
1484
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1485
|
-
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
1486
|
-
* @param {string} workspaceId
|
|
1487
|
-
* @param {string} exportId
|
|
1488
|
-
* @param {*} [options] Override http request option.
|
|
1489
|
-
* @throws {RequiredError}
|
|
1490
|
-
*/
|
|
1491
|
-
async getImageExport(workspaceId, exportId, options) {
|
|
1492
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getImageExport(workspaceId, exportId, options);
|
|
1493
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1494
|
-
},
|
|
1495
|
-
/**
|
|
1496
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/image endpoint. The metadata structure is not verified.
|
|
1497
|
-
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
1498
|
-
* @param {string} workspaceId
|
|
1499
|
-
* @param {string} exportId
|
|
1500
|
-
* @param {*} [options] Override http request option.
|
|
1501
|
-
* @throws {RequiredError}
|
|
1502
|
-
*/
|
|
1503
|
-
async getImageExportMetadata(workspaceId, exportId, options) {
|
|
1504
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getImageExportMetadata(workspaceId, exportId, options);
|
|
1505
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1506
|
-
},
|
|
1055
|
+
url: toPathString(localVarUrlObj),
|
|
1056
|
+
options: localVarRequestOptions,
|
|
1507
1057
|
};
|
|
1508
|
-
}
|
|
1058
|
+
}
|
|
1059
|
+
// ImageExportExport FP - ImageExportExportAxiosParamCreator
|
|
1509
1060
|
/**
|
|
1510
|
-
*
|
|
1511
|
-
* @
|
|
1061
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/image endpoint. The metadata structure is not verified.
|
|
1062
|
+
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
1063
|
+
* @param {string} workspaceId
|
|
1064
|
+
* @param {string} exportId
|
|
1065
|
+
* @param {*} [options] Override http request option.
|
|
1066
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1067
|
+
* @throws {RequiredError}
|
|
1512
1068
|
*/
|
|
1513
|
-
export
|
|
1514
|
-
|
|
1069
|
+
export async function ImageExportExportAxiosParamCreator_GetImageExportMetadata(workspaceId, exportId, options = {}, configuration) {
|
|
1070
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1071
|
+
assertParamExists("getImageExportMetadata", "workspaceId", workspaceId);
|
|
1072
|
+
// verify required parameter 'exportId' is not null or undefined
|
|
1073
|
+
assertParamExists("getImageExportMetadata", "exportId", exportId);
|
|
1074
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/image/{exportId}/metadata`
|
|
1075
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1076
|
+
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
1077
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1078
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1079
|
+
let baseOptions;
|
|
1080
|
+
if (configuration) {
|
|
1081
|
+
baseOptions = configuration.baseOptions;
|
|
1082
|
+
}
|
|
1083
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1084
|
+
const localVarHeaderParameter = {};
|
|
1085
|
+
const localVarQueryParameter = {};
|
|
1086
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1087
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1088
|
+
localVarRequestOptions.headers = {
|
|
1089
|
+
...localVarHeaderParameter,
|
|
1090
|
+
...headersFromBaseOptions,
|
|
1091
|
+
...options.headers,
|
|
1092
|
+
};
|
|
1515
1093
|
return {
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
* @summary (EXPERIMENTAL) Create image export request
|
|
1519
|
-
* @param {ImageExportExportCreateImageExportRequest} requestParameters Request parameters.
|
|
1520
|
-
* @param {*} [options] Override http request option.
|
|
1521
|
-
* @throws {RequiredError}
|
|
1522
|
-
*/
|
|
1523
|
-
createImageExport(requestParameters, options) {
|
|
1524
|
-
return localVarFp
|
|
1525
|
-
.createImageExport(requestParameters.workspaceId, requestParameters.exportImageExportRequest, options)
|
|
1526
|
-
.then((request) => request(axios, basePath));
|
|
1527
|
-
},
|
|
1528
|
-
/**
|
|
1529
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1530
|
-
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
1531
|
-
* @param {ImageExportExportGetImageExportRequest} requestParameters Request parameters.
|
|
1532
|
-
* @param {*} [options] Override http request option.
|
|
1533
|
-
* @throws {RequiredError}
|
|
1534
|
-
*/
|
|
1535
|
-
getImageExport(requestParameters, options) {
|
|
1536
|
-
return localVarFp
|
|
1537
|
-
.getImageExport(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1538
|
-
.then((request) => request(axios, basePath));
|
|
1539
|
-
},
|
|
1540
|
-
/**
|
|
1541
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/image endpoint. The metadata structure is not verified.
|
|
1542
|
-
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
1543
|
-
* @param {ImageExportExportGetImageExportMetadataRequest} requestParameters Request parameters.
|
|
1544
|
-
* @param {*} [options] Override http request option.
|
|
1545
|
-
* @throws {RequiredError}
|
|
1546
|
-
*/
|
|
1547
|
-
getImageExportMetadata(requestParameters, options) {
|
|
1548
|
-
return localVarFp
|
|
1549
|
-
.getImageExportMetadata(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1550
|
-
.then((request) => request(axios, basePath));
|
|
1551
|
-
},
|
|
1094
|
+
url: toPathString(localVarUrlObj),
|
|
1095
|
+
options: localVarRequestOptions,
|
|
1552
1096
|
};
|
|
1553
|
-
}
|
|
1097
|
+
}
|
|
1098
|
+
// ImageExportExport Api FP
|
|
1099
|
+
/**
|
|
1100
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. An image export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
1101
|
+
* @summary (EXPERIMENTAL) Create image export request
|
|
1102
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1103
|
+
* @param {string} basePath Base path.
|
|
1104
|
+
* @param {ImageExportExportCreateImageExportRequest} requestParameters Request parameters.
|
|
1105
|
+
* @param {*} [options] Override http request option.
|
|
1106
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1107
|
+
* @throws {RequiredError}
|
|
1108
|
+
*/
|
|
1109
|
+
export async function ImageExportExport_CreateImageExport(axios, basePath, requestParameters, options, configuration) {
|
|
1110
|
+
const localVarAxiosArgs = await ImageExportExportAxiosParamCreator_CreateImageExport(requestParameters.workspaceId, requestParameters.exportImageExportRequest, options || {}, configuration);
|
|
1111
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1112
|
+
}
|
|
1113
|
+
// ImageExportExport Api FP
|
|
1114
|
+
/**
|
|
1115
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1116
|
+
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
1117
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1118
|
+
* @param {string} basePath Base path.
|
|
1119
|
+
* @param {ImageExportExportGetImageExportRequest} requestParameters Request parameters.
|
|
1120
|
+
* @param {*} [options] Override http request option.
|
|
1121
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1122
|
+
* @throws {RequiredError}
|
|
1123
|
+
*/
|
|
1124
|
+
export async function ImageExportExport_GetImageExport(axios, basePath, requestParameters, options, configuration) {
|
|
1125
|
+
const localVarAxiosArgs = await ImageExportExportAxiosParamCreator_GetImageExport(requestParameters.workspaceId, requestParameters.exportId, options || {}, configuration);
|
|
1126
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1127
|
+
}
|
|
1128
|
+
// ImageExportExport Api FP
|
|
1129
|
+
/**
|
|
1130
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/image endpoint. The metadata structure is not verified.
|
|
1131
|
+
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
1132
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1133
|
+
* @param {string} basePath Base path.
|
|
1134
|
+
* @param {ImageExportExportGetImageExportMetadataRequest} requestParameters Request parameters.
|
|
1135
|
+
* @param {*} [options] Override http request option.
|
|
1136
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1137
|
+
* @throws {RequiredError}
|
|
1138
|
+
*/
|
|
1139
|
+
export async function ImageExportExport_GetImageExportMetadata(axios, basePath, requestParameters, options, configuration) {
|
|
1140
|
+
const localVarAxiosArgs = await ImageExportExportAxiosParamCreator_GetImageExportMetadata(requestParameters.workspaceId, requestParameters.exportId, options || {}, configuration);
|
|
1141
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1142
|
+
}
|
|
1554
1143
|
/**
|
|
1555
1144
|
* ImageExportExport - object-oriented interface
|
|
1556
1145
|
* @export
|
|
@@ -1567,9 +1156,7 @@ export class ImageExportExport extends BaseAPI {
|
|
|
1567
1156
|
* @memberof ImageExportExport
|
|
1568
1157
|
*/
|
|
1569
1158
|
createImageExport(requestParameters, options) {
|
|
1570
|
-
return
|
|
1571
|
-
.createImageExport(requestParameters.workspaceId, requestParameters.exportImageExportRequest, options)
|
|
1572
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1159
|
+
return ImageExportExport_CreateImageExport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1573
1160
|
}
|
|
1574
1161
|
/**
|
|
1575
1162
|
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
@@ -1580,9 +1167,7 @@ export class ImageExportExport extends BaseAPI {
|
|
|
1580
1167
|
* @memberof ImageExportExport
|
|
1581
1168
|
*/
|
|
1582
1169
|
getImageExport(requestParameters, options) {
|
|
1583
|
-
return
|
|
1584
|
-
.getImageExport(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1585
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1170
|
+
return ImageExportExport_GetImageExport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1586
1171
|
}
|
|
1587
1172
|
/**
|
|
1588
1173
|
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/image endpoint. The metadata structure is not verified.
|
|
@@ -1593,163 +1178,121 @@ export class ImageExportExport extends BaseAPI {
|
|
|
1593
1178
|
* @memberof ImageExportExport
|
|
1594
1179
|
*/
|
|
1595
1180
|
getImageExportMetadata(requestParameters, options) {
|
|
1596
|
-
return
|
|
1597
|
-
.getImageExportMetadata(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1598
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1181
|
+
return ImageExportExport_GetImageExportMetadata(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1599
1182
|
}
|
|
1600
1183
|
}
|
|
1184
|
+
// RawExportExport FP - RawExportExportAxiosParamCreator
|
|
1601
1185
|
/**
|
|
1602
|
-
*
|
|
1603
|
-
* @export
|
|
1186
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly.An raw export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
1187
|
+
* @summary (EXPERIMENTAL) Create raw export request
|
|
1188
|
+
* @param {string} workspaceId
|
|
1189
|
+
* @param {ExportRawExportRequest} exportRawExportRequest
|
|
1190
|
+
* @param {*} [options] Override http request option.
|
|
1191
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1192
|
+
* @throws {RequiredError}
|
|
1604
1193
|
*/
|
|
1605
|
-
export
|
|
1194
|
+
export async function RawExportExportAxiosParamCreator_CreateRawExport(workspaceId, exportRawExportRequest, options = {}, configuration) {
|
|
1195
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1196
|
+
assertParamExists("createRawExport", "workspaceId", workspaceId);
|
|
1197
|
+
// verify required parameter 'exportRawExportRequest' is not null or undefined
|
|
1198
|
+
assertParamExists("createRawExport", "exportRawExportRequest", exportRawExportRequest);
|
|
1199
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/raw`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1200
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1201
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1202
|
+
let baseOptions;
|
|
1203
|
+
if (configuration) {
|
|
1204
|
+
baseOptions = configuration.baseOptions;
|
|
1205
|
+
}
|
|
1206
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1207
|
+
const localVarHeaderParameter = {};
|
|
1208
|
+
const localVarQueryParameter = {};
|
|
1209
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1210
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1211
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1212
|
+
localVarRequestOptions.headers = {
|
|
1213
|
+
...localVarHeaderParameter,
|
|
1214
|
+
...headersFromBaseOptions,
|
|
1215
|
+
...options.headers,
|
|
1216
|
+
};
|
|
1217
|
+
const needsSerialization = typeof exportRawExportRequest !== "string" ||
|
|
1218
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1219
|
+
localVarRequestOptions.data = needsSerialization
|
|
1220
|
+
? JSON.stringify(exportRawExportRequest !== undefined ? exportRawExportRequest : {})
|
|
1221
|
+
: exportRawExportRequest || "";
|
|
1606
1222
|
return {
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
* @summary (EXPERIMENTAL) Create raw export request
|
|
1610
|
-
* @param {string} workspaceId
|
|
1611
|
-
* @param {ExportRawExportRequest} exportRawExportRequest
|
|
1612
|
-
* @param {*} [options] Override http request option.
|
|
1613
|
-
* @throws {RequiredError}
|
|
1614
|
-
*/
|
|
1615
|
-
createRawExport: async (workspaceId, exportRawExportRequest, options = {}) => {
|
|
1616
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1617
|
-
assertParamExists("createRawExport", "workspaceId", workspaceId);
|
|
1618
|
-
// verify required parameter 'exportRawExportRequest' is not null or undefined
|
|
1619
|
-
assertParamExists("createRawExport", "exportRawExportRequest", exportRawExportRequest);
|
|
1620
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/raw`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1621
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1622
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1623
|
-
let baseOptions;
|
|
1624
|
-
if (configuration) {
|
|
1625
|
-
baseOptions = configuration.baseOptions;
|
|
1626
|
-
}
|
|
1627
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1628
|
-
const localVarHeaderParameter = {};
|
|
1629
|
-
const localVarQueryParameter = {};
|
|
1630
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1631
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1632
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1633
|
-
localVarRequestOptions.headers = {
|
|
1634
|
-
...localVarHeaderParameter,
|
|
1635
|
-
...headersFromBaseOptions,
|
|
1636
|
-
...options.headers,
|
|
1637
|
-
};
|
|
1638
|
-
const needsSerialization = typeof exportRawExportRequest !== "string" ||
|
|
1639
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1640
|
-
localVarRequestOptions.data = needsSerialization
|
|
1641
|
-
? JSON.stringify(exportRawExportRequest !== undefined ? exportRawExportRequest : {})
|
|
1642
|
-
: exportRawExportRequest || "";
|
|
1643
|
-
return {
|
|
1644
|
-
url: toPathString(localVarUrlObj),
|
|
1645
|
-
options: localVarRequestOptions,
|
|
1646
|
-
};
|
|
1647
|
-
},
|
|
1648
|
-
/**
|
|
1649
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly.After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1650
|
-
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
1651
|
-
* @param {string} workspaceId
|
|
1652
|
-
* @param {string} exportId
|
|
1653
|
-
* @param {*} [options] Override http request option.
|
|
1654
|
-
* @throws {RequiredError}
|
|
1655
|
-
*/
|
|
1656
|
-
getRawExport: async (workspaceId, exportId, options = {}) => {
|
|
1657
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1658
|
-
assertParamExists("getRawExport", "workspaceId", workspaceId);
|
|
1659
|
-
// verify required parameter 'exportId' is not null or undefined
|
|
1660
|
-
assertParamExists("getRawExport", "exportId", exportId);
|
|
1661
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/raw/{exportId}`
|
|
1662
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1663
|
-
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
1664
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1665
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1666
|
-
let baseOptions;
|
|
1667
|
-
if (configuration) {
|
|
1668
|
-
baseOptions = configuration.baseOptions;
|
|
1669
|
-
}
|
|
1670
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1671
|
-
const localVarHeaderParameter = {};
|
|
1672
|
-
const localVarQueryParameter = {};
|
|
1673
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1674
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1675
|
-
localVarRequestOptions.headers = {
|
|
1676
|
-
...localVarHeaderParameter,
|
|
1677
|
-
...headersFromBaseOptions,
|
|
1678
|
-
...options.headers,
|
|
1679
|
-
};
|
|
1680
|
-
return {
|
|
1681
|
-
url: toPathString(localVarUrlObj),
|
|
1682
|
-
options: localVarRequestOptions,
|
|
1683
|
-
};
|
|
1684
|
-
},
|
|
1223
|
+
url: toPathString(localVarUrlObj),
|
|
1224
|
+
options: localVarRequestOptions,
|
|
1685
1225
|
};
|
|
1686
|
-
}
|
|
1226
|
+
}
|
|
1227
|
+
// RawExportExport FP - RawExportExportAxiosParamCreator
|
|
1687
1228
|
/**
|
|
1688
|
-
*
|
|
1689
|
-
* @
|
|
1229
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly.After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1230
|
+
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
1231
|
+
* @param {string} workspaceId
|
|
1232
|
+
* @param {string} exportId
|
|
1233
|
+
* @param {*} [options] Override http request option.
|
|
1234
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1235
|
+
* @throws {RequiredError}
|
|
1690
1236
|
*/
|
|
1691
|
-
export
|
|
1692
|
-
|
|
1237
|
+
export async function RawExportExportAxiosParamCreator_GetRawExport(workspaceId, exportId, options = {}, configuration) {
|
|
1238
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1239
|
+
assertParamExists("getRawExport", "workspaceId", workspaceId);
|
|
1240
|
+
// verify required parameter 'exportId' is not null or undefined
|
|
1241
|
+
assertParamExists("getRawExport", "exportId", exportId);
|
|
1242
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/raw/{exportId}`
|
|
1243
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1244
|
+
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
1245
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1246
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1247
|
+
let baseOptions;
|
|
1248
|
+
if (configuration) {
|
|
1249
|
+
baseOptions = configuration.baseOptions;
|
|
1250
|
+
}
|
|
1251
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1252
|
+
const localVarHeaderParameter = {};
|
|
1253
|
+
const localVarQueryParameter = {};
|
|
1254
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1255
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1256
|
+
localVarRequestOptions.headers = {
|
|
1257
|
+
...localVarHeaderParameter,
|
|
1258
|
+
...headersFromBaseOptions,
|
|
1259
|
+
...options.headers,
|
|
1260
|
+
};
|
|
1693
1261
|
return {
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
* @summary (EXPERIMENTAL) Create raw export request
|
|
1697
|
-
* @param {string} workspaceId
|
|
1698
|
-
* @param {ExportRawExportRequest} exportRawExportRequest
|
|
1699
|
-
* @param {*} [options] Override http request option.
|
|
1700
|
-
* @throws {RequiredError}
|
|
1701
|
-
*/
|
|
1702
|
-
async createRawExport(workspaceId, exportRawExportRequest, options) {
|
|
1703
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createRawExport(workspaceId, exportRawExportRequest, options);
|
|
1704
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1705
|
-
},
|
|
1706
|
-
/**
|
|
1707
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly.After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1708
|
-
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
1709
|
-
* @param {string} workspaceId
|
|
1710
|
-
* @param {string} exportId
|
|
1711
|
-
* @param {*} [options] Override http request option.
|
|
1712
|
-
* @throws {RequiredError}
|
|
1713
|
-
*/
|
|
1714
|
-
async getRawExport(workspaceId, exportId, options) {
|
|
1715
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getRawExport(workspaceId, exportId, options);
|
|
1716
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1717
|
-
},
|
|
1262
|
+
url: toPathString(localVarUrlObj),
|
|
1263
|
+
options: localVarRequestOptions,
|
|
1718
1264
|
};
|
|
1719
|
-
}
|
|
1265
|
+
}
|
|
1266
|
+
// RawExportExport Api FP
|
|
1720
1267
|
/**
|
|
1721
|
-
*
|
|
1722
|
-
* @export
|
|
1268
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly.An raw export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
1269
|
+
* @summary (EXPERIMENTAL) Create raw export request
|
|
1270
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1271
|
+
* @param {string} basePath Base path.
|
|
1272
|
+
* @param {RawExportExportCreateRawExportRequest} requestParameters Request parameters.
|
|
1273
|
+
* @param {*} [options] Override http request option.
|
|
1274
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1275
|
+
* @throws {RequiredError}
|
|
1723
1276
|
*/
|
|
1724
|
-
export
|
|
1725
|
-
const
|
|
1726
|
-
return
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
* @param {*} [options] Override http request option.
|
|
1744
|
-
* @throws {RequiredError}
|
|
1745
|
-
*/
|
|
1746
|
-
getRawExport(requestParameters, options) {
|
|
1747
|
-
return localVarFp
|
|
1748
|
-
.getRawExport(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1749
|
-
.then((request) => request(axios, basePath));
|
|
1750
|
-
},
|
|
1751
|
-
};
|
|
1752
|
-
};
|
|
1277
|
+
export async function RawExportExport_CreateRawExport(axios, basePath, requestParameters, options, configuration) {
|
|
1278
|
+
const localVarAxiosArgs = await RawExportExportAxiosParamCreator_CreateRawExport(requestParameters.workspaceId, requestParameters.exportRawExportRequest, options || {}, configuration);
|
|
1279
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1280
|
+
}
|
|
1281
|
+
// RawExportExport Api FP
|
|
1282
|
+
/**
|
|
1283
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly.After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1284
|
+
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
1285
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1286
|
+
* @param {string} basePath Base path.
|
|
1287
|
+
* @param {RawExportExportGetRawExportRequest} requestParameters Request parameters.
|
|
1288
|
+
* @param {*} [options] Override http request option.
|
|
1289
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1290
|
+
* @throws {RequiredError}
|
|
1291
|
+
*/
|
|
1292
|
+
export async function RawExportExport_GetRawExport(axios, basePath, requestParameters, options, configuration) {
|
|
1293
|
+
const localVarAxiosArgs = await RawExportExportAxiosParamCreator_GetRawExport(requestParameters.workspaceId, requestParameters.exportId, options || {}, configuration);
|
|
1294
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1295
|
+
}
|
|
1753
1296
|
/**
|
|
1754
1297
|
* RawExportExport - object-oriented interface
|
|
1755
1298
|
* @export
|
|
@@ -1766,9 +1309,7 @@ export class RawExportExport extends BaseAPI {
|
|
|
1766
1309
|
* @memberof RawExportExport
|
|
1767
1310
|
*/
|
|
1768
1311
|
createRawExport(requestParameters, options) {
|
|
1769
|
-
return
|
|
1770
|
-
.createRawExport(requestParameters.workspaceId, requestParameters.exportRawExportRequest, options)
|
|
1771
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1312
|
+
return RawExportExport_CreateRawExport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1772
1313
|
}
|
|
1773
1314
|
/**
|
|
1774
1315
|
* Note: This API is an experimental and is going to change. Please, use it accordingly.After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
@@ -1779,229 +1320,179 @@ export class RawExportExport extends BaseAPI {
|
|
|
1779
1320
|
* @memberof RawExportExport
|
|
1780
1321
|
*/
|
|
1781
1322
|
getRawExport(requestParameters, options) {
|
|
1782
|
-
return
|
|
1783
|
-
.getRawExport(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1784
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1323
|
+
return RawExportExport_GetRawExport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
1785
1324
|
}
|
|
1786
1325
|
}
|
|
1326
|
+
// SlidesExportExport FP - SlidesExportExportAxiosParamCreator
|
|
1787
1327
|
/**
|
|
1788
|
-
*
|
|
1789
|
-
* @export
|
|
1328
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. A slides export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
1329
|
+
* @summary (EXPERIMENTAL) Create slides export request
|
|
1330
|
+
* @param {string} workspaceId
|
|
1331
|
+
* @param {ExportSlidesExportRequest} exportSlidesExportRequest
|
|
1332
|
+
* @param {boolean} [xGdcDebug]
|
|
1333
|
+
* @param {*} [options] Override http request option.
|
|
1334
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1335
|
+
* @throws {RequiredError}
|
|
1790
1336
|
*/
|
|
1791
|
-
export
|
|
1337
|
+
export async function SlidesExportExportAxiosParamCreator_CreateSlidesExport(workspaceId, exportSlidesExportRequest, xGdcDebug, options = {}, configuration) {
|
|
1338
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1339
|
+
assertParamExists("createSlidesExport", "workspaceId", workspaceId);
|
|
1340
|
+
// verify required parameter 'exportSlidesExportRequest' is not null or undefined
|
|
1341
|
+
assertParamExists("createSlidesExport", "exportSlidesExportRequest", exportSlidesExportRequest);
|
|
1342
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/slides`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1343
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1344
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1345
|
+
let baseOptions;
|
|
1346
|
+
if (configuration) {
|
|
1347
|
+
baseOptions = configuration.baseOptions;
|
|
1348
|
+
}
|
|
1349
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1350
|
+
const localVarHeaderParameter = {};
|
|
1351
|
+
const localVarQueryParameter = {};
|
|
1352
|
+
if (xGdcDebug !== undefined && xGdcDebug !== null) {
|
|
1353
|
+
localVarHeaderParameter["X-Gdc-Debug"] = String(JSON.stringify(xGdcDebug));
|
|
1354
|
+
}
|
|
1355
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1356
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1357
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1358
|
+
localVarRequestOptions.headers = {
|
|
1359
|
+
...localVarHeaderParameter,
|
|
1360
|
+
...headersFromBaseOptions,
|
|
1361
|
+
...options.headers,
|
|
1362
|
+
};
|
|
1363
|
+
const needsSerialization = typeof exportSlidesExportRequest !== "string" ||
|
|
1364
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1365
|
+
localVarRequestOptions.data = needsSerialization
|
|
1366
|
+
? JSON.stringify(exportSlidesExportRequest !== undefined ? exportSlidesExportRequest : {})
|
|
1367
|
+
: exportSlidesExportRequest || "";
|
|
1792
1368
|
return {
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
* @summary (EXPERIMENTAL) Create slides export request
|
|
1796
|
-
* @param {string} workspaceId
|
|
1797
|
-
* @param {ExportSlidesExportRequest} exportSlidesExportRequest
|
|
1798
|
-
* @param {boolean} [xGdcDebug]
|
|
1799
|
-
* @param {*} [options] Override http request option.
|
|
1800
|
-
* @throws {RequiredError}
|
|
1801
|
-
*/
|
|
1802
|
-
createSlidesExport: async (workspaceId, exportSlidesExportRequest, xGdcDebug, options = {}) => {
|
|
1803
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1804
|
-
assertParamExists("createSlidesExport", "workspaceId", workspaceId);
|
|
1805
|
-
// verify required parameter 'exportSlidesExportRequest' is not null or undefined
|
|
1806
|
-
assertParamExists("createSlidesExport", "exportSlidesExportRequest", exportSlidesExportRequest);
|
|
1807
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/slides`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1808
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1809
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1810
|
-
let baseOptions;
|
|
1811
|
-
if (configuration) {
|
|
1812
|
-
baseOptions = configuration.baseOptions;
|
|
1813
|
-
}
|
|
1814
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1815
|
-
const localVarHeaderParameter = {};
|
|
1816
|
-
const localVarQueryParameter = {};
|
|
1817
|
-
if (xGdcDebug !== undefined && xGdcDebug !== null) {
|
|
1818
|
-
localVarHeaderParameter["X-Gdc-Debug"] = String(JSON.stringify(xGdcDebug));
|
|
1819
|
-
}
|
|
1820
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1821
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1822
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1823
|
-
localVarRequestOptions.headers = {
|
|
1824
|
-
...localVarHeaderParameter,
|
|
1825
|
-
...headersFromBaseOptions,
|
|
1826
|
-
...options.headers,
|
|
1827
|
-
};
|
|
1828
|
-
const needsSerialization = typeof exportSlidesExportRequest !== "string" ||
|
|
1829
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1830
|
-
localVarRequestOptions.data = needsSerialization
|
|
1831
|
-
? JSON.stringify(exportSlidesExportRequest !== undefined ? exportSlidesExportRequest : {})
|
|
1832
|
-
: exportSlidesExportRequest || "";
|
|
1833
|
-
return {
|
|
1834
|
-
url: toPathString(localVarUrlObj),
|
|
1835
|
-
options: localVarRequestOptions,
|
|
1836
|
-
};
|
|
1837
|
-
},
|
|
1838
|
-
/**
|
|
1839
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1840
|
-
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
1841
|
-
* @param {string} workspaceId
|
|
1842
|
-
* @param {string} exportId
|
|
1843
|
-
* @param {*} [options] Override http request option.
|
|
1844
|
-
* @throws {RequiredError}
|
|
1845
|
-
*/
|
|
1846
|
-
getSlidesExport: async (workspaceId, exportId, options = {}) => {
|
|
1847
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1848
|
-
assertParamExists("getSlidesExport", "workspaceId", workspaceId);
|
|
1849
|
-
// verify required parameter 'exportId' is not null or undefined
|
|
1850
|
-
assertParamExists("getSlidesExport", "exportId", exportId);
|
|
1851
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/slides/{exportId}`
|
|
1852
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1853
|
-
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
1854
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1855
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1856
|
-
let baseOptions;
|
|
1857
|
-
if (configuration) {
|
|
1858
|
-
baseOptions = configuration.baseOptions;
|
|
1859
|
-
}
|
|
1860
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1861
|
-
const localVarHeaderParameter = {};
|
|
1862
|
-
const localVarQueryParameter = {};
|
|
1863
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1864
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1865
|
-
localVarRequestOptions.headers = {
|
|
1866
|
-
...localVarHeaderParameter,
|
|
1867
|
-
...headersFromBaseOptions,
|
|
1868
|
-
...options.headers,
|
|
1869
|
-
};
|
|
1870
|
-
return {
|
|
1871
|
-
url: toPathString(localVarUrlObj),
|
|
1872
|
-
options: localVarRequestOptions,
|
|
1873
|
-
};
|
|
1874
|
-
},
|
|
1875
|
-
/**
|
|
1876
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/slides endpoint. The metadata structure is not verified.
|
|
1877
|
-
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
1878
|
-
* @param {string} workspaceId
|
|
1879
|
-
* @param {string} exportId
|
|
1880
|
-
* @param {*} [options] Override http request option.
|
|
1881
|
-
* @throws {RequiredError}
|
|
1882
|
-
*/
|
|
1883
|
-
getSlidesExportMetadata: async (workspaceId, exportId, options = {}) => {
|
|
1884
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
1885
|
-
assertParamExists("getSlidesExportMetadata", "workspaceId", workspaceId);
|
|
1886
|
-
// verify required parameter 'exportId' is not null or undefined
|
|
1887
|
-
assertParamExists("getSlidesExportMetadata", "exportId", exportId);
|
|
1888
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/slides/{exportId}/metadata`
|
|
1889
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1890
|
-
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
1891
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1892
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1893
|
-
let baseOptions;
|
|
1894
|
-
if (configuration) {
|
|
1895
|
-
baseOptions = configuration.baseOptions;
|
|
1896
|
-
}
|
|
1897
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1898
|
-
const localVarHeaderParameter = {};
|
|
1899
|
-
const localVarQueryParameter = {};
|
|
1900
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1901
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1902
|
-
localVarRequestOptions.headers = {
|
|
1903
|
-
...localVarHeaderParameter,
|
|
1904
|
-
...headersFromBaseOptions,
|
|
1905
|
-
...options.headers,
|
|
1906
|
-
};
|
|
1907
|
-
return {
|
|
1908
|
-
url: toPathString(localVarUrlObj),
|
|
1909
|
-
options: localVarRequestOptions,
|
|
1910
|
-
};
|
|
1911
|
-
},
|
|
1369
|
+
url: toPathString(localVarUrlObj),
|
|
1370
|
+
options: localVarRequestOptions,
|
|
1912
1371
|
};
|
|
1913
|
-
}
|
|
1372
|
+
}
|
|
1373
|
+
// SlidesExportExport FP - SlidesExportExportAxiosParamCreator
|
|
1914
1374
|
/**
|
|
1915
|
-
*
|
|
1916
|
-
* @
|
|
1375
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1376
|
+
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
1377
|
+
* @param {string} workspaceId
|
|
1378
|
+
* @param {string} exportId
|
|
1379
|
+
* @param {*} [options] Override http request option.
|
|
1380
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1381
|
+
* @throws {RequiredError}
|
|
1917
1382
|
*/
|
|
1918
|
-
export
|
|
1919
|
-
|
|
1383
|
+
export async function SlidesExportExportAxiosParamCreator_GetSlidesExport(workspaceId, exportId, options = {}, configuration) {
|
|
1384
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1385
|
+
assertParamExists("getSlidesExport", "workspaceId", workspaceId);
|
|
1386
|
+
// verify required parameter 'exportId' is not null or undefined
|
|
1387
|
+
assertParamExists("getSlidesExport", "exportId", exportId);
|
|
1388
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/slides/{exportId}`
|
|
1389
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1390
|
+
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
1391
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1392
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1393
|
+
let baseOptions;
|
|
1394
|
+
if (configuration) {
|
|
1395
|
+
baseOptions = configuration.baseOptions;
|
|
1396
|
+
}
|
|
1397
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1398
|
+
const localVarHeaderParameter = {};
|
|
1399
|
+
const localVarQueryParameter = {};
|
|
1400
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1401
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1402
|
+
localVarRequestOptions.headers = {
|
|
1403
|
+
...localVarHeaderParameter,
|
|
1404
|
+
...headersFromBaseOptions,
|
|
1405
|
+
...options.headers,
|
|
1406
|
+
};
|
|
1920
1407
|
return {
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
* @summary (EXPERIMENTAL) Create slides export request
|
|
1924
|
-
* @param {string} workspaceId
|
|
1925
|
-
* @param {ExportSlidesExportRequest} exportSlidesExportRequest
|
|
1926
|
-
* @param {boolean} [xGdcDebug]
|
|
1927
|
-
* @param {*} [options] Override http request option.
|
|
1928
|
-
* @throws {RequiredError}
|
|
1929
|
-
*/
|
|
1930
|
-
async createSlidesExport(workspaceId, exportSlidesExportRequest, xGdcDebug, options) {
|
|
1931
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createSlidesExport(workspaceId, exportSlidesExportRequest, xGdcDebug, options);
|
|
1932
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1933
|
-
},
|
|
1934
|
-
/**
|
|
1935
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1936
|
-
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
1937
|
-
* @param {string} workspaceId
|
|
1938
|
-
* @param {string} exportId
|
|
1939
|
-
* @param {*} [options] Override http request option.
|
|
1940
|
-
* @throws {RequiredError}
|
|
1941
|
-
*/
|
|
1942
|
-
async getSlidesExport(workspaceId, exportId, options) {
|
|
1943
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSlidesExport(workspaceId, exportId, options);
|
|
1944
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1945
|
-
},
|
|
1946
|
-
/**
|
|
1947
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/slides endpoint. The metadata structure is not verified.
|
|
1948
|
-
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
1949
|
-
* @param {string} workspaceId
|
|
1950
|
-
* @param {string} exportId
|
|
1951
|
-
* @param {*} [options] Override http request option.
|
|
1952
|
-
* @throws {RequiredError}
|
|
1953
|
-
*/
|
|
1954
|
-
async getSlidesExportMetadata(workspaceId, exportId, options) {
|
|
1955
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSlidesExportMetadata(workspaceId, exportId, options);
|
|
1956
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1957
|
-
},
|
|
1408
|
+
url: toPathString(localVarUrlObj),
|
|
1409
|
+
options: localVarRequestOptions,
|
|
1958
1410
|
};
|
|
1959
|
-
}
|
|
1411
|
+
}
|
|
1412
|
+
// SlidesExportExport FP - SlidesExportExportAxiosParamCreator
|
|
1960
1413
|
/**
|
|
1961
|
-
*
|
|
1962
|
-
* @
|
|
1414
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/slides endpoint. The metadata structure is not verified.
|
|
1415
|
+
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
1416
|
+
* @param {string} workspaceId
|
|
1417
|
+
* @param {string} exportId
|
|
1418
|
+
* @param {*} [options] Override http request option.
|
|
1419
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1420
|
+
* @throws {RequiredError}
|
|
1963
1421
|
*/
|
|
1964
|
-
export
|
|
1965
|
-
|
|
1422
|
+
export async function SlidesExportExportAxiosParamCreator_GetSlidesExportMetadata(workspaceId, exportId, options = {}, configuration) {
|
|
1423
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1424
|
+
assertParamExists("getSlidesExportMetadata", "workspaceId", workspaceId);
|
|
1425
|
+
// verify required parameter 'exportId' is not null or undefined
|
|
1426
|
+
assertParamExists("getSlidesExportMetadata", "exportId", exportId);
|
|
1427
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/slides/{exportId}/metadata`
|
|
1428
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1429
|
+
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
1430
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1431
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1432
|
+
let baseOptions;
|
|
1433
|
+
if (configuration) {
|
|
1434
|
+
baseOptions = configuration.baseOptions;
|
|
1435
|
+
}
|
|
1436
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1437
|
+
const localVarHeaderParameter = {};
|
|
1438
|
+
const localVarQueryParameter = {};
|
|
1439
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1440
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1441
|
+
localVarRequestOptions.headers = {
|
|
1442
|
+
...localVarHeaderParameter,
|
|
1443
|
+
...headersFromBaseOptions,
|
|
1444
|
+
...options.headers,
|
|
1445
|
+
};
|
|
1966
1446
|
return {
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
* @summary (EXPERIMENTAL) Create slides export request
|
|
1970
|
-
* @param {SlidesExportExportCreateSlidesExportRequest} requestParameters Request parameters.
|
|
1971
|
-
* @param {*} [options] Override http request option.
|
|
1972
|
-
* @throws {RequiredError}
|
|
1973
|
-
*/
|
|
1974
|
-
createSlidesExport(requestParameters, options) {
|
|
1975
|
-
return localVarFp
|
|
1976
|
-
.createSlidesExport(requestParameters.workspaceId, requestParameters.exportSlidesExportRequest, requestParameters.xGdcDebug, options)
|
|
1977
|
-
.then((request) => request(axios, basePath));
|
|
1978
|
-
},
|
|
1979
|
-
/**
|
|
1980
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1981
|
-
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
1982
|
-
* @param {SlidesExportExportGetSlidesExportRequest} requestParameters Request parameters.
|
|
1983
|
-
* @param {*} [options] Override http request option.
|
|
1984
|
-
* @throws {RequiredError}
|
|
1985
|
-
*/
|
|
1986
|
-
getSlidesExport(requestParameters, options) {
|
|
1987
|
-
return localVarFp
|
|
1988
|
-
.getSlidesExport(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
1989
|
-
.then((request) => request(axios, basePath));
|
|
1990
|
-
},
|
|
1991
|
-
/**
|
|
1992
|
-
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/slides endpoint. The metadata structure is not verified.
|
|
1993
|
-
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
1994
|
-
* @param {SlidesExportExportGetSlidesExportMetadataRequest} requestParameters Request parameters.
|
|
1995
|
-
* @param {*} [options] Override http request option.
|
|
1996
|
-
* @throws {RequiredError}
|
|
1997
|
-
*/
|
|
1998
|
-
getSlidesExportMetadata(requestParameters, options) {
|
|
1999
|
-
return localVarFp
|
|
2000
|
-
.getSlidesExportMetadata(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
2001
|
-
.then((request) => request(axios, basePath));
|
|
2002
|
-
},
|
|
1447
|
+
url: toPathString(localVarUrlObj),
|
|
1448
|
+
options: localVarRequestOptions,
|
|
2003
1449
|
};
|
|
2004
|
-
}
|
|
1450
|
+
}
|
|
1451
|
+
// SlidesExportExport Api FP
|
|
1452
|
+
/**
|
|
1453
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. A slides export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
1454
|
+
* @summary (EXPERIMENTAL) Create slides export request
|
|
1455
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1456
|
+
* @param {string} basePath Base path.
|
|
1457
|
+
* @param {SlidesExportExportCreateSlidesExportRequest} requestParameters Request parameters.
|
|
1458
|
+
* @param {*} [options] Override http request option.
|
|
1459
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1460
|
+
* @throws {RequiredError}
|
|
1461
|
+
*/
|
|
1462
|
+
export async function SlidesExportExport_CreateSlidesExport(axios, basePath, requestParameters, options, configuration) {
|
|
1463
|
+
const localVarAxiosArgs = await SlidesExportExportAxiosParamCreator_CreateSlidesExport(requestParameters.workspaceId, requestParameters.exportSlidesExportRequest, requestParameters.xGdcDebug, options || {}, configuration);
|
|
1464
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1465
|
+
}
|
|
1466
|
+
// SlidesExportExport Api FP
|
|
1467
|
+
/**
|
|
1468
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1469
|
+
* @summary (EXPERIMENTAL) Retrieve exported files
|
|
1470
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1471
|
+
* @param {string} basePath Base path.
|
|
1472
|
+
* @param {SlidesExportExportGetSlidesExportRequest} requestParameters Request parameters.
|
|
1473
|
+
* @param {*} [options] Override http request option.
|
|
1474
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1475
|
+
* @throws {RequiredError}
|
|
1476
|
+
*/
|
|
1477
|
+
export async function SlidesExportExport_GetSlidesExport(axios, basePath, requestParameters, options, configuration) {
|
|
1478
|
+
const localVarAxiosArgs = await SlidesExportExportAxiosParamCreator_GetSlidesExport(requestParameters.workspaceId, requestParameters.exportId, options || {}, configuration);
|
|
1479
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1480
|
+
}
|
|
1481
|
+
// SlidesExportExport Api FP
|
|
1482
|
+
/**
|
|
1483
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/slides endpoint. The metadata structure is not verified.
|
|
1484
|
+
* @summary (EXPERIMENTAL) Retrieve metadata context
|
|
1485
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1486
|
+
* @param {string} basePath Base path.
|
|
1487
|
+
* @param {SlidesExportExportGetSlidesExportMetadataRequest} requestParameters Request parameters.
|
|
1488
|
+
* @param {*} [options] Override http request option.
|
|
1489
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1490
|
+
* @throws {RequiredError}
|
|
1491
|
+
*/
|
|
1492
|
+
export async function SlidesExportExport_GetSlidesExportMetadata(axios, basePath, requestParameters, options, configuration) {
|
|
1493
|
+
const localVarAxiosArgs = await SlidesExportExportAxiosParamCreator_GetSlidesExportMetadata(requestParameters.workspaceId, requestParameters.exportId, options || {}, configuration);
|
|
1494
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1495
|
+
}
|
|
2005
1496
|
/**
|
|
2006
1497
|
* SlidesExportExport - object-oriented interface
|
|
2007
1498
|
* @export
|
|
@@ -2018,9 +1509,7 @@ export class SlidesExportExport extends BaseAPI {
|
|
|
2018
1509
|
* @memberof SlidesExportExport
|
|
2019
1510
|
*/
|
|
2020
1511
|
createSlidesExport(requestParameters, options) {
|
|
2021
|
-
return
|
|
2022
|
-
.createSlidesExport(requestParameters.workspaceId, requestParameters.exportSlidesExportRequest, requestParameters.xGdcDebug, options)
|
|
2023
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1512
|
+
return SlidesExportExport_CreateSlidesExport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
2024
1513
|
}
|
|
2025
1514
|
/**
|
|
2026
1515
|
* Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
@@ -2031,9 +1520,7 @@ export class SlidesExportExport extends BaseAPI {
|
|
|
2031
1520
|
* @memberof SlidesExportExport
|
|
2032
1521
|
*/
|
|
2033
1522
|
getSlidesExport(requestParameters, options) {
|
|
2034
|
-
return
|
|
2035
|
-
.getSlidesExport(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
2036
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1523
|
+
return SlidesExportExport_GetSlidesExport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
2037
1524
|
}
|
|
2038
1525
|
/**
|
|
2039
1526
|
* Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/slides endpoint. The metadata structure is not verified.
|
|
@@ -2044,236 +1531,184 @@ export class SlidesExportExport extends BaseAPI {
|
|
|
2044
1531
|
* @memberof SlidesExportExport
|
|
2045
1532
|
*/
|
|
2046
1533
|
getSlidesExportMetadata(requestParameters, options) {
|
|
2047
|
-
return
|
|
2048
|
-
.getSlidesExportMetadata(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
2049
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1534
|
+
return SlidesExportExport_GetSlidesExportMetadata(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
2050
1535
|
}
|
|
2051
1536
|
}
|
|
1537
|
+
// TabularExportExport FP - TabularExportExportAxiosParamCreator
|
|
2052
1538
|
/**
|
|
2053
|
-
*
|
|
2054
|
-
* @export
|
|
1539
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly.An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
1540
|
+
* @summary (EXPERIMENTAL) Create dashboard tabular export request
|
|
1541
|
+
* @param {string} workspaceId
|
|
1542
|
+
* @param {string} dashboardId
|
|
1543
|
+
* @param {ExportDashboardTabularExportRequest} exportDashboardTabularExportRequest
|
|
1544
|
+
* @param {*} [options] Override http request option.
|
|
1545
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1546
|
+
* @throws {RequiredError}
|
|
2055
1547
|
*/
|
|
2056
|
-
export
|
|
1548
|
+
export async function TabularExportExportAxiosParamCreator_CreateDashboardExportRequest(workspaceId, dashboardId, exportDashboardTabularExportRequest, options = {}, configuration) {
|
|
1549
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1550
|
+
assertParamExists("createDashboardExportRequest", "workspaceId", workspaceId);
|
|
1551
|
+
// verify required parameter 'dashboardId' is not null or undefined
|
|
1552
|
+
assertParamExists("createDashboardExportRequest", "dashboardId", dashboardId);
|
|
1553
|
+
// verify required parameter 'exportDashboardTabularExportRequest' is not null or undefined
|
|
1554
|
+
assertParamExists("createDashboardExportRequest", "exportDashboardTabularExportRequest", exportDashboardTabularExportRequest);
|
|
1555
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/export/tabular`
|
|
1556
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1557
|
+
.replace(`{${"dashboardId"}}`, encodeURIComponent(String(dashboardId)));
|
|
1558
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1559
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1560
|
+
let baseOptions;
|
|
1561
|
+
if (configuration) {
|
|
1562
|
+
baseOptions = configuration.baseOptions;
|
|
1563
|
+
}
|
|
1564
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1565
|
+
const localVarHeaderParameter = {};
|
|
1566
|
+
const localVarQueryParameter = {};
|
|
1567
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1568
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1569
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1570
|
+
localVarRequestOptions.headers = {
|
|
1571
|
+
...localVarHeaderParameter,
|
|
1572
|
+
...headersFromBaseOptions,
|
|
1573
|
+
...options.headers,
|
|
1574
|
+
};
|
|
1575
|
+
const needsSerialization = typeof exportDashboardTabularExportRequest !== "string" ||
|
|
1576
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1577
|
+
localVarRequestOptions.data = needsSerialization
|
|
1578
|
+
? JSON.stringify(exportDashboardTabularExportRequest !== undefined ? exportDashboardTabularExportRequest : {})
|
|
1579
|
+
: exportDashboardTabularExportRequest || "";
|
|
2057
1580
|
return {
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
* @summary (EXPERIMENTAL) Create dashboard tabular export request
|
|
2061
|
-
* @param {string} workspaceId
|
|
2062
|
-
* @param {string} dashboardId
|
|
2063
|
-
* @param {ExportDashboardTabularExportRequest} exportDashboardTabularExportRequest
|
|
2064
|
-
* @param {*} [options] Override http request option.
|
|
2065
|
-
* @throws {RequiredError}
|
|
2066
|
-
*/
|
|
2067
|
-
createDashboardExportRequest: async (workspaceId, dashboardId, exportDashboardTabularExportRequest, options = {}) => {
|
|
2068
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
2069
|
-
assertParamExists("createDashboardExportRequest", "workspaceId", workspaceId);
|
|
2070
|
-
// verify required parameter 'dashboardId' is not null or undefined
|
|
2071
|
-
assertParamExists("createDashboardExportRequest", "dashboardId", dashboardId);
|
|
2072
|
-
// verify required parameter 'exportDashboardTabularExportRequest' is not null or undefined
|
|
2073
|
-
assertParamExists("createDashboardExportRequest", "exportDashboardTabularExportRequest", exportDashboardTabularExportRequest);
|
|
2074
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/export/tabular`
|
|
2075
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
2076
|
-
.replace(`{${"dashboardId"}}`, encodeURIComponent(String(dashboardId)));
|
|
2077
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2078
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2079
|
-
let baseOptions;
|
|
2080
|
-
if (configuration) {
|
|
2081
|
-
baseOptions = configuration.baseOptions;
|
|
2082
|
-
}
|
|
2083
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2084
|
-
const localVarHeaderParameter = {};
|
|
2085
|
-
const localVarQueryParameter = {};
|
|
2086
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2087
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2088
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2089
|
-
localVarRequestOptions.headers = {
|
|
2090
|
-
...localVarHeaderParameter,
|
|
2091
|
-
...headersFromBaseOptions,
|
|
2092
|
-
...options.headers,
|
|
2093
|
-
};
|
|
2094
|
-
const needsSerialization = typeof exportDashboardTabularExportRequest !== "string" ||
|
|
2095
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
2096
|
-
localVarRequestOptions.data = needsSerialization
|
|
2097
|
-
? JSON.stringify(exportDashboardTabularExportRequest !== undefined
|
|
2098
|
-
? exportDashboardTabularExportRequest
|
|
2099
|
-
: {})
|
|
2100
|
-
: exportDashboardTabularExportRequest || "";
|
|
2101
|
-
return {
|
|
2102
|
-
url: toPathString(localVarUrlObj),
|
|
2103
|
-
options: localVarRequestOptions,
|
|
2104
|
-
};
|
|
2105
|
-
},
|
|
2106
|
-
/**
|
|
2107
|
-
* An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
2108
|
-
* @summary Create tabular export request
|
|
2109
|
-
* @param {string} workspaceId
|
|
2110
|
-
* @param {ExportTabularExportRequest} exportTabularExportRequest
|
|
2111
|
-
* @param {*} [options] Override http request option.
|
|
2112
|
-
* @throws {RequiredError}
|
|
2113
|
-
*/
|
|
2114
|
-
createTabularExport: async (workspaceId, exportTabularExportRequest, options = {}) => {
|
|
2115
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
2116
|
-
assertParamExists("createTabularExport", "workspaceId", workspaceId);
|
|
2117
|
-
// verify required parameter 'exportTabularExportRequest' is not null or undefined
|
|
2118
|
-
assertParamExists("createTabularExport", "exportTabularExportRequest", exportTabularExportRequest);
|
|
2119
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/tabular`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
2120
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2121
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2122
|
-
let baseOptions;
|
|
2123
|
-
if (configuration) {
|
|
2124
|
-
baseOptions = configuration.baseOptions;
|
|
2125
|
-
}
|
|
2126
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2127
|
-
const localVarHeaderParameter = {};
|
|
2128
|
-
const localVarQueryParameter = {};
|
|
2129
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2130
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2131
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2132
|
-
localVarRequestOptions.headers = {
|
|
2133
|
-
...localVarHeaderParameter,
|
|
2134
|
-
...headersFromBaseOptions,
|
|
2135
|
-
...options.headers,
|
|
2136
|
-
};
|
|
2137
|
-
const needsSerialization = typeof exportTabularExportRequest !== "string" ||
|
|
2138
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
2139
|
-
localVarRequestOptions.data = needsSerialization
|
|
2140
|
-
? JSON.stringify(exportTabularExportRequest !== undefined ? exportTabularExportRequest : {})
|
|
2141
|
-
: exportTabularExportRequest || "";
|
|
2142
|
-
return {
|
|
2143
|
-
url: toPathString(localVarUrlObj),
|
|
2144
|
-
options: localVarRequestOptions,
|
|
2145
|
-
};
|
|
2146
|
-
},
|
|
2147
|
-
/**
|
|
2148
|
-
* After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
2149
|
-
* @summary Retrieve exported files
|
|
2150
|
-
* @param {string} workspaceId
|
|
2151
|
-
* @param {string} exportId
|
|
2152
|
-
* @param {*} [options] Override http request option.
|
|
2153
|
-
* @throws {RequiredError}
|
|
2154
|
-
*/
|
|
2155
|
-
getTabularExport: async (workspaceId, exportId, options = {}) => {
|
|
2156
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
2157
|
-
assertParamExists("getTabularExport", "workspaceId", workspaceId);
|
|
2158
|
-
// verify required parameter 'exportId' is not null or undefined
|
|
2159
|
-
assertParamExists("getTabularExport", "exportId", exportId);
|
|
2160
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/tabular/{exportId}`
|
|
2161
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
2162
|
-
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
2163
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2164
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2165
|
-
let baseOptions;
|
|
2166
|
-
if (configuration) {
|
|
2167
|
-
baseOptions = configuration.baseOptions;
|
|
2168
|
-
}
|
|
2169
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2170
|
-
const localVarHeaderParameter = {};
|
|
2171
|
-
const localVarQueryParameter = {};
|
|
2172
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2173
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2174
|
-
localVarRequestOptions.headers = {
|
|
2175
|
-
...localVarHeaderParameter,
|
|
2176
|
-
...headersFromBaseOptions,
|
|
2177
|
-
...options.headers,
|
|
2178
|
-
};
|
|
2179
|
-
return {
|
|
2180
|
-
url: toPathString(localVarUrlObj),
|
|
2181
|
-
options: localVarRequestOptions,
|
|
2182
|
-
};
|
|
2183
|
-
},
|
|
1581
|
+
url: toPathString(localVarUrlObj),
|
|
1582
|
+
options: localVarRequestOptions,
|
|
2184
1583
|
};
|
|
2185
|
-
}
|
|
1584
|
+
}
|
|
1585
|
+
// TabularExportExport FP - TabularExportExportAxiosParamCreator
|
|
2186
1586
|
/**
|
|
2187
|
-
*
|
|
2188
|
-
* @export
|
|
1587
|
+
* An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
1588
|
+
* @summary Create tabular export request
|
|
1589
|
+
* @param {string} workspaceId
|
|
1590
|
+
* @param {ExportTabularExportRequest} exportTabularExportRequest
|
|
1591
|
+
* @param {*} [options] Override http request option.
|
|
1592
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1593
|
+
* @throws {RequiredError}
|
|
2189
1594
|
*/
|
|
2190
|
-
export
|
|
2191
|
-
|
|
1595
|
+
export async function TabularExportExportAxiosParamCreator_CreateTabularExport(workspaceId, exportTabularExportRequest, options = {}, configuration) {
|
|
1596
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1597
|
+
assertParamExists("createTabularExport", "workspaceId", workspaceId);
|
|
1598
|
+
// verify required parameter 'exportTabularExportRequest' is not null or undefined
|
|
1599
|
+
assertParamExists("createTabularExport", "exportTabularExportRequest", exportTabularExportRequest);
|
|
1600
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/tabular`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1601
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1602
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1603
|
+
let baseOptions;
|
|
1604
|
+
if (configuration) {
|
|
1605
|
+
baseOptions = configuration.baseOptions;
|
|
1606
|
+
}
|
|
1607
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1608
|
+
const localVarHeaderParameter = {};
|
|
1609
|
+
const localVarQueryParameter = {};
|
|
1610
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1611
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1612
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1613
|
+
localVarRequestOptions.headers = {
|
|
1614
|
+
...localVarHeaderParameter,
|
|
1615
|
+
...headersFromBaseOptions,
|
|
1616
|
+
...options.headers,
|
|
1617
|
+
};
|
|
1618
|
+
const needsSerialization = typeof exportTabularExportRequest !== "string" ||
|
|
1619
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1620
|
+
localVarRequestOptions.data = needsSerialization
|
|
1621
|
+
? JSON.stringify(exportTabularExportRequest !== undefined ? exportTabularExportRequest : {})
|
|
1622
|
+
: exportTabularExportRequest || "";
|
|
2192
1623
|
return {
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
* @summary (EXPERIMENTAL) Create dashboard tabular export request
|
|
2196
|
-
* @param {string} workspaceId
|
|
2197
|
-
* @param {string} dashboardId
|
|
2198
|
-
* @param {ExportDashboardTabularExportRequest} exportDashboardTabularExportRequest
|
|
2199
|
-
* @param {*} [options] Override http request option.
|
|
2200
|
-
* @throws {RequiredError}
|
|
2201
|
-
*/
|
|
2202
|
-
async createDashboardExportRequest(workspaceId, dashboardId, exportDashboardTabularExportRequest, options) {
|
|
2203
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createDashboardExportRequest(workspaceId, dashboardId, exportDashboardTabularExportRequest, options);
|
|
2204
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2205
|
-
},
|
|
2206
|
-
/**
|
|
2207
|
-
* An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
2208
|
-
* @summary Create tabular export request
|
|
2209
|
-
* @param {string} workspaceId
|
|
2210
|
-
* @param {ExportTabularExportRequest} exportTabularExportRequest
|
|
2211
|
-
* @param {*} [options] Override http request option.
|
|
2212
|
-
* @throws {RequiredError}
|
|
2213
|
-
*/
|
|
2214
|
-
async createTabularExport(workspaceId, exportTabularExportRequest, options) {
|
|
2215
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createTabularExport(workspaceId, exportTabularExportRequest, options);
|
|
2216
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2217
|
-
},
|
|
2218
|
-
/**
|
|
2219
|
-
* After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
2220
|
-
* @summary Retrieve exported files
|
|
2221
|
-
* @param {string} workspaceId
|
|
2222
|
-
* @param {string} exportId
|
|
2223
|
-
* @param {*} [options] Override http request option.
|
|
2224
|
-
* @throws {RequiredError}
|
|
2225
|
-
*/
|
|
2226
|
-
async getTabularExport(workspaceId, exportId, options) {
|
|
2227
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getTabularExport(workspaceId, exportId, options);
|
|
2228
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2229
|
-
},
|
|
1624
|
+
url: toPathString(localVarUrlObj),
|
|
1625
|
+
options: localVarRequestOptions,
|
|
2230
1626
|
};
|
|
2231
|
-
}
|
|
1627
|
+
}
|
|
1628
|
+
// TabularExportExport FP - TabularExportExportAxiosParamCreator
|
|
2232
1629
|
/**
|
|
2233
|
-
*
|
|
2234
|
-
* @
|
|
1630
|
+
* After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1631
|
+
* @summary Retrieve exported files
|
|
1632
|
+
* @param {string} workspaceId
|
|
1633
|
+
* @param {string} exportId
|
|
1634
|
+
* @param {*} [options] Override http request option.
|
|
1635
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1636
|
+
* @throws {RequiredError}
|
|
2235
1637
|
*/
|
|
2236
|
-
export
|
|
2237
|
-
|
|
1638
|
+
export async function TabularExportExportAxiosParamCreator_GetTabularExport(workspaceId, exportId, options = {}, configuration) {
|
|
1639
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1640
|
+
assertParamExists("getTabularExport", "workspaceId", workspaceId);
|
|
1641
|
+
// verify required parameter 'exportId' is not null or undefined
|
|
1642
|
+
assertParamExists("getTabularExport", "exportId", exportId);
|
|
1643
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/tabular/{exportId}`
|
|
1644
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1645
|
+
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
1646
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1647
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1648
|
+
let baseOptions;
|
|
1649
|
+
if (configuration) {
|
|
1650
|
+
baseOptions = configuration.baseOptions;
|
|
1651
|
+
}
|
|
1652
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1653
|
+
const localVarHeaderParameter = {};
|
|
1654
|
+
const localVarQueryParameter = {};
|
|
1655
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1656
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1657
|
+
localVarRequestOptions.headers = {
|
|
1658
|
+
...localVarHeaderParameter,
|
|
1659
|
+
...headersFromBaseOptions,
|
|
1660
|
+
...options.headers,
|
|
1661
|
+
};
|
|
2238
1662
|
return {
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
* @summary (EXPERIMENTAL) Create dashboard tabular export request
|
|
2242
|
-
* @param {TabularExportExportCreateDashboardExportRequestRequest} requestParameters Request parameters.
|
|
2243
|
-
* @param {*} [options] Override http request option.
|
|
2244
|
-
* @throws {RequiredError}
|
|
2245
|
-
*/
|
|
2246
|
-
createDashboardExportRequest(requestParameters, options) {
|
|
2247
|
-
return localVarFp
|
|
2248
|
-
.createDashboardExportRequest(requestParameters.workspaceId, requestParameters.dashboardId, requestParameters.exportDashboardTabularExportRequest, options)
|
|
2249
|
-
.then((request) => request(axios, basePath));
|
|
2250
|
-
},
|
|
2251
|
-
/**
|
|
2252
|
-
* An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
2253
|
-
* @summary Create tabular export request
|
|
2254
|
-
* @param {TabularExportExportCreateTabularExportRequest} requestParameters Request parameters.
|
|
2255
|
-
* @param {*} [options] Override http request option.
|
|
2256
|
-
* @throws {RequiredError}
|
|
2257
|
-
*/
|
|
2258
|
-
createTabularExport(requestParameters, options) {
|
|
2259
|
-
return localVarFp
|
|
2260
|
-
.createTabularExport(requestParameters.workspaceId, requestParameters.exportTabularExportRequest, options)
|
|
2261
|
-
.then((request) => request(axios, basePath));
|
|
2262
|
-
},
|
|
2263
|
-
/**
|
|
2264
|
-
* After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
2265
|
-
* @summary Retrieve exported files
|
|
2266
|
-
* @param {TabularExportExportGetTabularExportRequest} requestParameters Request parameters.
|
|
2267
|
-
* @param {*} [options] Override http request option.
|
|
2268
|
-
* @throws {RequiredError}
|
|
2269
|
-
*/
|
|
2270
|
-
getTabularExport(requestParameters, options) {
|
|
2271
|
-
return localVarFp
|
|
2272
|
-
.getTabularExport(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
2273
|
-
.then((request) => request(axios, basePath));
|
|
2274
|
-
},
|
|
1663
|
+
url: toPathString(localVarUrlObj),
|
|
1664
|
+
options: localVarRequestOptions,
|
|
2275
1665
|
};
|
|
2276
|
-
}
|
|
1666
|
+
}
|
|
1667
|
+
// TabularExportExport Api FP
|
|
1668
|
+
/**
|
|
1669
|
+
* Note: This API is an experimental and is going to change. Please, use it accordingly.An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
1670
|
+
* @summary (EXPERIMENTAL) Create dashboard tabular export request
|
|
1671
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1672
|
+
* @param {string} basePath Base path.
|
|
1673
|
+
* @param {TabularExportExportCreateDashboardExportRequestRequest} requestParameters Request parameters.
|
|
1674
|
+
* @param {*} [options] Override http request option.
|
|
1675
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1676
|
+
* @throws {RequiredError}
|
|
1677
|
+
*/
|
|
1678
|
+
export async function TabularExportExport_CreateDashboardExportRequest(axios, basePath, requestParameters, options, configuration) {
|
|
1679
|
+
const localVarAxiosArgs = await TabularExportExportAxiosParamCreator_CreateDashboardExportRequest(requestParameters.workspaceId, requestParameters.dashboardId, requestParameters.exportDashboardTabularExportRequest, options || {}, configuration);
|
|
1680
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1681
|
+
}
|
|
1682
|
+
// TabularExportExport Api FP
|
|
1683
|
+
/**
|
|
1684
|
+
* An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
1685
|
+
* @summary Create tabular export request
|
|
1686
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1687
|
+
* @param {string} basePath Base path.
|
|
1688
|
+
* @param {TabularExportExportCreateTabularExportRequest} requestParameters Request parameters.
|
|
1689
|
+
* @param {*} [options] Override http request option.
|
|
1690
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1691
|
+
* @throws {RequiredError}
|
|
1692
|
+
*/
|
|
1693
|
+
export async function TabularExportExport_CreateTabularExport(axios, basePath, requestParameters, options, configuration) {
|
|
1694
|
+
const localVarAxiosArgs = await TabularExportExportAxiosParamCreator_CreateTabularExport(requestParameters.workspaceId, requestParameters.exportTabularExportRequest, options || {}, configuration);
|
|
1695
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1696
|
+
}
|
|
1697
|
+
// TabularExportExport Api FP
|
|
1698
|
+
/**
|
|
1699
|
+
* After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
1700
|
+
* @summary Retrieve exported files
|
|
1701
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1702
|
+
* @param {string} basePath Base path.
|
|
1703
|
+
* @param {TabularExportExportGetTabularExportRequest} requestParameters Request parameters.
|
|
1704
|
+
* @param {*} [options] Override http request option.
|
|
1705
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1706
|
+
* @throws {RequiredError}
|
|
1707
|
+
*/
|
|
1708
|
+
export async function TabularExportExport_GetTabularExport(axios, basePath, requestParameters, options, configuration) {
|
|
1709
|
+
const localVarAxiosArgs = await TabularExportExportAxiosParamCreator_GetTabularExport(requestParameters.workspaceId, requestParameters.exportId, options || {}, configuration);
|
|
1710
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1711
|
+
}
|
|
2277
1712
|
/**
|
|
2278
1713
|
* TabularExportExport - object-oriented interface
|
|
2279
1714
|
* @export
|
|
@@ -2290,9 +1725,7 @@ export class TabularExportExport extends BaseAPI {
|
|
|
2290
1725
|
* @memberof TabularExportExport
|
|
2291
1726
|
*/
|
|
2292
1727
|
createDashboardExportRequest(requestParameters, options) {
|
|
2293
|
-
return
|
|
2294
|
-
.createDashboardExportRequest(requestParameters.workspaceId, requestParameters.dashboardId, requestParameters.exportDashboardTabularExportRequest, options)
|
|
2295
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1728
|
+
return TabularExportExport_CreateDashboardExportRequest(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
2296
1729
|
}
|
|
2297
1730
|
/**
|
|
2298
1731
|
* An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
@@ -2303,9 +1736,7 @@ export class TabularExportExport extends BaseAPI {
|
|
|
2303
1736
|
* @memberof TabularExportExport
|
|
2304
1737
|
*/
|
|
2305
1738
|
createTabularExport(requestParameters, options) {
|
|
2306
|
-
return
|
|
2307
|
-
.createTabularExport(requestParameters.workspaceId, requestParameters.exportTabularExportRequest, options)
|
|
2308
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1739
|
+
return TabularExportExport_CreateTabularExport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
2309
1740
|
}
|
|
2310
1741
|
/**
|
|
2311
1742
|
* After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn\'t ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.
|
|
@@ -2316,229 +1747,179 @@ export class TabularExportExport extends BaseAPI {
|
|
|
2316
1747
|
* @memberof TabularExportExport
|
|
2317
1748
|
*/
|
|
2318
1749
|
getTabularExport(requestParameters, options) {
|
|
2319
|
-
return
|
|
2320
|
-
.getTabularExport(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
2321
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1750
|
+
return TabularExportExport_GetTabularExport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
2322
1751
|
}
|
|
2323
1752
|
}
|
|
1753
|
+
// VisualExportExport FP - VisualExportExportAxiosParamCreator
|
|
2324
1754
|
/**
|
|
2325
|
-
*
|
|
2326
|
-
* @export
|
|
1755
|
+
* An visual export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
1756
|
+
* @summary Create visual - pdf export request
|
|
1757
|
+
* @param {string} workspaceId
|
|
1758
|
+
* @param {ExportVisualExportRequest} exportVisualExportRequest
|
|
1759
|
+
* @param {boolean} [xGdcDebug]
|
|
1760
|
+
* @param {*} [options] Override http request option.
|
|
1761
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1762
|
+
* @throws {RequiredError}
|
|
2327
1763
|
*/
|
|
2328
|
-
export
|
|
1764
|
+
export async function VisualExportExportAxiosParamCreator_CreatePdfExport(workspaceId, exportVisualExportRequest, xGdcDebug, options = {}, configuration) {
|
|
1765
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1766
|
+
assertParamExists("createPdfExport", "workspaceId", workspaceId);
|
|
1767
|
+
// verify required parameter 'exportVisualExportRequest' is not null or undefined
|
|
1768
|
+
assertParamExists("createPdfExport", "exportVisualExportRequest", exportVisualExportRequest);
|
|
1769
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/visual`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1770
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1771
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1772
|
+
let baseOptions;
|
|
1773
|
+
if (configuration) {
|
|
1774
|
+
baseOptions = configuration.baseOptions;
|
|
1775
|
+
}
|
|
1776
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1777
|
+
const localVarHeaderParameter = {};
|
|
1778
|
+
const localVarQueryParameter = {};
|
|
1779
|
+
if (xGdcDebug !== undefined && xGdcDebug !== null) {
|
|
1780
|
+
localVarHeaderParameter["X-Gdc-Debug"] = String(JSON.stringify(xGdcDebug));
|
|
1781
|
+
}
|
|
1782
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1783
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1784
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1785
|
+
localVarRequestOptions.headers = {
|
|
1786
|
+
...localVarHeaderParameter,
|
|
1787
|
+
...headersFromBaseOptions,
|
|
1788
|
+
...options.headers,
|
|
1789
|
+
};
|
|
1790
|
+
const needsSerialization = typeof exportVisualExportRequest !== "string" ||
|
|
1791
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
1792
|
+
localVarRequestOptions.data = needsSerialization
|
|
1793
|
+
? JSON.stringify(exportVisualExportRequest !== undefined ? exportVisualExportRequest : {})
|
|
1794
|
+
: exportVisualExportRequest || "";
|
|
2329
1795
|
return {
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
* @summary Create visual - pdf export request
|
|
2333
|
-
* @param {string} workspaceId
|
|
2334
|
-
* @param {ExportVisualExportRequest} exportVisualExportRequest
|
|
2335
|
-
* @param {boolean} [xGdcDebug]
|
|
2336
|
-
* @param {*} [options] Override http request option.
|
|
2337
|
-
* @throws {RequiredError}
|
|
2338
|
-
*/
|
|
2339
|
-
createPdfExport: async (workspaceId, exportVisualExportRequest, xGdcDebug, options = {}) => {
|
|
2340
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
2341
|
-
assertParamExists("createPdfExport", "workspaceId", workspaceId);
|
|
2342
|
-
// verify required parameter 'exportVisualExportRequest' is not null or undefined
|
|
2343
|
-
assertParamExists("createPdfExport", "exportVisualExportRequest", exportVisualExportRequest);
|
|
2344
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/visual`.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
2345
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2346
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2347
|
-
let baseOptions;
|
|
2348
|
-
if (configuration) {
|
|
2349
|
-
baseOptions = configuration.baseOptions;
|
|
2350
|
-
}
|
|
2351
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2352
|
-
const localVarHeaderParameter = {};
|
|
2353
|
-
const localVarQueryParameter = {};
|
|
2354
|
-
if (xGdcDebug !== undefined && xGdcDebug !== null) {
|
|
2355
|
-
localVarHeaderParameter["X-Gdc-Debug"] = String(JSON.stringify(xGdcDebug));
|
|
2356
|
-
}
|
|
2357
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2358
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2359
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2360
|
-
localVarRequestOptions.headers = {
|
|
2361
|
-
...localVarHeaderParameter,
|
|
2362
|
-
...headersFromBaseOptions,
|
|
2363
|
-
...options.headers,
|
|
2364
|
-
};
|
|
2365
|
-
const needsSerialization = typeof exportVisualExportRequest !== "string" ||
|
|
2366
|
-
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
2367
|
-
localVarRequestOptions.data = needsSerialization
|
|
2368
|
-
? JSON.stringify(exportVisualExportRequest !== undefined ? exportVisualExportRequest : {})
|
|
2369
|
-
: exportVisualExportRequest || "";
|
|
2370
|
-
return {
|
|
2371
|
-
url: toPathString(localVarUrlObj),
|
|
2372
|
-
options: localVarRequestOptions,
|
|
2373
|
-
};
|
|
2374
|
-
},
|
|
2375
|
-
/**
|
|
2376
|
-
* Returns 202 until original POST export request is not processed.Returns 200 with exported data once the export is done.
|
|
2377
|
-
* @summary Retrieve exported files
|
|
2378
|
-
* @param {string} workspaceId
|
|
2379
|
-
* @param {string} exportId
|
|
2380
|
-
* @param {*} [options] Override http request option.
|
|
2381
|
-
* @throws {RequiredError}
|
|
2382
|
-
*/
|
|
2383
|
-
getExportedFile: async (workspaceId, exportId, options = {}) => {
|
|
2384
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
2385
|
-
assertParamExists("getExportedFile", "workspaceId", workspaceId);
|
|
2386
|
-
// verify required parameter 'exportId' is not null or undefined
|
|
2387
|
-
assertParamExists("getExportedFile", "exportId", exportId);
|
|
2388
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId}`
|
|
2389
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
2390
|
-
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
2391
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2392
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2393
|
-
let baseOptions;
|
|
2394
|
-
if (configuration) {
|
|
2395
|
-
baseOptions = configuration.baseOptions;
|
|
2396
|
-
}
|
|
2397
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2398
|
-
const localVarHeaderParameter = {};
|
|
2399
|
-
const localVarQueryParameter = {};
|
|
2400
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2401
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2402
|
-
localVarRequestOptions.headers = {
|
|
2403
|
-
...localVarHeaderParameter,
|
|
2404
|
-
...headersFromBaseOptions,
|
|
2405
|
-
...options.headers,
|
|
2406
|
-
};
|
|
2407
|
-
return {
|
|
2408
|
-
url: toPathString(localVarUrlObj),
|
|
2409
|
-
options: localVarRequestOptions,
|
|
2410
|
-
};
|
|
2411
|
-
},
|
|
2412
|
-
/**
|
|
2413
|
-
* This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/visual endpoint. The metadata structure is not verified.
|
|
2414
|
-
* @summary Retrieve metadata context
|
|
2415
|
-
* @param {string} workspaceId
|
|
2416
|
-
* @param {string} exportId
|
|
2417
|
-
* @param {*} [options] Override http request option.
|
|
2418
|
-
* @throws {RequiredError}
|
|
2419
|
-
*/
|
|
2420
|
-
getMetadata: async (workspaceId, exportId, options = {}) => {
|
|
2421
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
2422
|
-
assertParamExists("getMetadata", "workspaceId", workspaceId);
|
|
2423
|
-
// verify required parameter 'exportId' is not null or undefined
|
|
2424
|
-
assertParamExists("getMetadata", "exportId", exportId);
|
|
2425
|
-
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId}/metadata`
|
|
2426
|
-
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
2427
|
-
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
2428
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2429
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2430
|
-
let baseOptions;
|
|
2431
|
-
if (configuration) {
|
|
2432
|
-
baseOptions = configuration.baseOptions;
|
|
2433
|
-
}
|
|
2434
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2435
|
-
const localVarHeaderParameter = {};
|
|
2436
|
-
const localVarQueryParameter = {};
|
|
2437
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2438
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2439
|
-
localVarRequestOptions.headers = {
|
|
2440
|
-
...localVarHeaderParameter,
|
|
2441
|
-
...headersFromBaseOptions,
|
|
2442
|
-
...options.headers,
|
|
2443
|
-
};
|
|
2444
|
-
return {
|
|
2445
|
-
url: toPathString(localVarUrlObj),
|
|
2446
|
-
options: localVarRequestOptions,
|
|
2447
|
-
};
|
|
2448
|
-
},
|
|
1796
|
+
url: toPathString(localVarUrlObj),
|
|
1797
|
+
options: localVarRequestOptions,
|
|
2449
1798
|
};
|
|
2450
|
-
}
|
|
1799
|
+
}
|
|
1800
|
+
// VisualExportExport FP - VisualExportExportAxiosParamCreator
|
|
2451
1801
|
/**
|
|
2452
|
-
*
|
|
2453
|
-
* @
|
|
1802
|
+
* Returns 202 until original POST export request is not processed.Returns 200 with exported data once the export is done.
|
|
1803
|
+
* @summary Retrieve exported files
|
|
1804
|
+
* @param {string} workspaceId
|
|
1805
|
+
* @param {string} exportId
|
|
1806
|
+
* @param {*} [options] Override http request option.
|
|
1807
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1808
|
+
* @throws {RequiredError}
|
|
2454
1809
|
*/
|
|
2455
|
-
export
|
|
2456
|
-
|
|
1810
|
+
export async function VisualExportExportAxiosParamCreator_GetExportedFile(workspaceId, exportId, options = {}, configuration) {
|
|
1811
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1812
|
+
assertParamExists("getExportedFile", "workspaceId", workspaceId);
|
|
1813
|
+
// verify required parameter 'exportId' is not null or undefined
|
|
1814
|
+
assertParamExists("getExportedFile", "exportId", exportId);
|
|
1815
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId}`
|
|
1816
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1817
|
+
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
1818
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1819
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1820
|
+
let baseOptions;
|
|
1821
|
+
if (configuration) {
|
|
1822
|
+
baseOptions = configuration.baseOptions;
|
|
1823
|
+
}
|
|
1824
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1825
|
+
const localVarHeaderParameter = {};
|
|
1826
|
+
const localVarQueryParameter = {};
|
|
1827
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1828
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1829
|
+
localVarRequestOptions.headers = {
|
|
1830
|
+
...localVarHeaderParameter,
|
|
1831
|
+
...headersFromBaseOptions,
|
|
1832
|
+
...options.headers,
|
|
1833
|
+
};
|
|
2457
1834
|
return {
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
* @summary Create visual - pdf export request
|
|
2461
|
-
* @param {string} workspaceId
|
|
2462
|
-
* @param {ExportVisualExportRequest} exportVisualExportRequest
|
|
2463
|
-
* @param {boolean} [xGdcDebug]
|
|
2464
|
-
* @param {*} [options] Override http request option.
|
|
2465
|
-
* @throws {RequiredError}
|
|
2466
|
-
*/
|
|
2467
|
-
async createPdfExport(workspaceId, exportVisualExportRequest, xGdcDebug, options) {
|
|
2468
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createPdfExport(workspaceId, exportVisualExportRequest, xGdcDebug, options);
|
|
2469
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2470
|
-
},
|
|
2471
|
-
/**
|
|
2472
|
-
* Returns 202 until original POST export request is not processed.Returns 200 with exported data once the export is done.
|
|
2473
|
-
* @summary Retrieve exported files
|
|
2474
|
-
* @param {string} workspaceId
|
|
2475
|
-
* @param {string} exportId
|
|
2476
|
-
* @param {*} [options] Override http request option.
|
|
2477
|
-
* @throws {RequiredError}
|
|
2478
|
-
*/
|
|
2479
|
-
async getExportedFile(workspaceId, exportId, options) {
|
|
2480
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getExportedFile(workspaceId, exportId, options);
|
|
2481
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2482
|
-
},
|
|
2483
|
-
/**
|
|
2484
|
-
* This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/visual endpoint. The metadata structure is not verified.
|
|
2485
|
-
* @summary Retrieve metadata context
|
|
2486
|
-
* @param {string} workspaceId
|
|
2487
|
-
* @param {string} exportId
|
|
2488
|
-
* @param {*} [options] Override http request option.
|
|
2489
|
-
* @throws {RequiredError}
|
|
2490
|
-
*/
|
|
2491
|
-
async getMetadata(workspaceId, exportId, options) {
|
|
2492
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMetadata(workspaceId, exportId, options);
|
|
2493
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2494
|
-
},
|
|
1835
|
+
url: toPathString(localVarUrlObj),
|
|
1836
|
+
options: localVarRequestOptions,
|
|
2495
1837
|
};
|
|
2496
|
-
}
|
|
1838
|
+
}
|
|
1839
|
+
// VisualExportExport FP - VisualExportExportAxiosParamCreator
|
|
2497
1840
|
/**
|
|
2498
|
-
*
|
|
2499
|
-
* @
|
|
1841
|
+
* This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/visual endpoint. The metadata structure is not verified.
|
|
1842
|
+
* @summary Retrieve metadata context
|
|
1843
|
+
* @param {string} workspaceId
|
|
1844
|
+
* @param {string} exportId
|
|
1845
|
+
* @param {*} [options] Override http request option.
|
|
1846
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1847
|
+
* @throws {RequiredError}
|
|
2500
1848
|
*/
|
|
2501
|
-
export
|
|
2502
|
-
|
|
1849
|
+
export async function VisualExportExportAxiosParamCreator_GetMetadata(workspaceId, exportId, options = {}, configuration) {
|
|
1850
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1851
|
+
assertParamExists("getMetadata", "workspaceId", workspaceId);
|
|
1852
|
+
// verify required parameter 'exportId' is not null or undefined
|
|
1853
|
+
assertParamExists("getMetadata", "exportId", exportId);
|
|
1854
|
+
const localVarPath = `/api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId}/metadata`
|
|
1855
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)))
|
|
1856
|
+
.replace(`{${"exportId"}}`, encodeURIComponent(String(exportId)));
|
|
1857
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1858
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1859
|
+
let baseOptions;
|
|
1860
|
+
if (configuration) {
|
|
1861
|
+
baseOptions = configuration.baseOptions;
|
|
1862
|
+
}
|
|
1863
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1864
|
+
const localVarHeaderParameter = {};
|
|
1865
|
+
const localVarQueryParameter = {};
|
|
1866
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1867
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
1868
|
+
localVarRequestOptions.headers = {
|
|
1869
|
+
...localVarHeaderParameter,
|
|
1870
|
+
...headersFromBaseOptions,
|
|
1871
|
+
...options.headers,
|
|
1872
|
+
};
|
|
2503
1873
|
return {
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
* @summary Create visual - pdf export request
|
|
2507
|
-
* @param {VisualExportExportCreatePdfExportRequest} requestParameters Request parameters.
|
|
2508
|
-
* @param {*} [options] Override http request option.
|
|
2509
|
-
* @throws {RequiredError}
|
|
2510
|
-
*/
|
|
2511
|
-
createPdfExport(requestParameters, options) {
|
|
2512
|
-
return localVarFp
|
|
2513
|
-
.createPdfExport(requestParameters.workspaceId, requestParameters.exportVisualExportRequest, requestParameters.xGdcDebug, options)
|
|
2514
|
-
.then((request) => request(axios, basePath));
|
|
2515
|
-
},
|
|
2516
|
-
/**
|
|
2517
|
-
* Returns 202 until original POST export request is not processed.Returns 200 with exported data once the export is done.
|
|
2518
|
-
* @summary Retrieve exported files
|
|
2519
|
-
* @param {VisualExportExportGetExportedFileRequest} requestParameters Request parameters.
|
|
2520
|
-
* @param {*} [options] Override http request option.
|
|
2521
|
-
* @throws {RequiredError}
|
|
2522
|
-
*/
|
|
2523
|
-
getExportedFile(requestParameters, options) {
|
|
2524
|
-
return localVarFp
|
|
2525
|
-
.getExportedFile(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
2526
|
-
.then((request) => request(axios, basePath));
|
|
2527
|
-
},
|
|
2528
|
-
/**
|
|
2529
|
-
* This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/visual endpoint. The metadata structure is not verified.
|
|
2530
|
-
* @summary Retrieve metadata context
|
|
2531
|
-
* @param {VisualExportExportGetMetadataRequest} requestParameters Request parameters.
|
|
2532
|
-
* @param {*} [options] Override http request option.
|
|
2533
|
-
* @throws {RequiredError}
|
|
2534
|
-
*/
|
|
2535
|
-
getMetadata(requestParameters, options) {
|
|
2536
|
-
return localVarFp
|
|
2537
|
-
.getMetadata(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
2538
|
-
.then((request) => request(axios, basePath));
|
|
2539
|
-
},
|
|
1874
|
+
url: toPathString(localVarUrlObj),
|
|
1875
|
+
options: localVarRequestOptions,
|
|
2540
1876
|
};
|
|
2541
|
-
}
|
|
1877
|
+
}
|
|
1878
|
+
// VisualExportExport Api FP
|
|
1879
|
+
/**
|
|
1880
|
+
* An visual export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.
|
|
1881
|
+
* @summary Create visual - pdf export request
|
|
1882
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1883
|
+
* @param {string} basePath Base path.
|
|
1884
|
+
* @param {VisualExportExportCreatePdfExportRequest} requestParameters Request parameters.
|
|
1885
|
+
* @param {*} [options] Override http request option.
|
|
1886
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1887
|
+
* @throws {RequiredError}
|
|
1888
|
+
*/
|
|
1889
|
+
export async function VisualExportExport_CreatePdfExport(axios, basePath, requestParameters, options, configuration) {
|
|
1890
|
+
const localVarAxiosArgs = await VisualExportExportAxiosParamCreator_CreatePdfExport(requestParameters.workspaceId, requestParameters.exportVisualExportRequest, requestParameters.xGdcDebug, options || {}, configuration);
|
|
1891
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1892
|
+
}
|
|
1893
|
+
// VisualExportExport Api FP
|
|
1894
|
+
/**
|
|
1895
|
+
* Returns 202 until original POST export request is not processed.Returns 200 with exported data once the export is done.
|
|
1896
|
+
* @summary Retrieve exported files
|
|
1897
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1898
|
+
* @param {string} basePath Base path.
|
|
1899
|
+
* @param {VisualExportExportGetExportedFileRequest} requestParameters Request parameters.
|
|
1900
|
+
* @param {*} [options] Override http request option.
|
|
1901
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1902
|
+
* @throws {RequiredError}
|
|
1903
|
+
*/
|
|
1904
|
+
export async function VisualExportExport_GetExportedFile(axios, basePath, requestParameters, options, configuration) {
|
|
1905
|
+
const localVarAxiosArgs = await VisualExportExportAxiosParamCreator_GetExportedFile(requestParameters.workspaceId, requestParameters.exportId, options || {}, configuration);
|
|
1906
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1907
|
+
}
|
|
1908
|
+
// VisualExportExport Api FP
|
|
1909
|
+
/**
|
|
1910
|
+
* This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/visual endpoint. The metadata structure is not verified.
|
|
1911
|
+
* @summary Retrieve metadata context
|
|
1912
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
1913
|
+
* @param {string} basePath Base path.
|
|
1914
|
+
* @param {VisualExportExportGetMetadataRequest} requestParameters Request parameters.
|
|
1915
|
+
* @param {*} [options] Override http request option.
|
|
1916
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
1917
|
+
* @throws {RequiredError}
|
|
1918
|
+
*/
|
|
1919
|
+
export async function VisualExportExport_GetMetadata(axios, basePath, requestParameters, options, configuration) {
|
|
1920
|
+
const localVarAxiosArgs = await VisualExportExportAxiosParamCreator_GetMetadata(requestParameters.workspaceId, requestParameters.exportId, options || {}, configuration);
|
|
1921
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
1922
|
+
}
|
|
2542
1923
|
/**
|
|
2543
1924
|
* VisualExportExport - object-oriented interface
|
|
2544
1925
|
* @export
|
|
@@ -2555,9 +1936,7 @@ export class VisualExportExport extends BaseAPI {
|
|
|
2555
1936
|
* @memberof VisualExportExport
|
|
2556
1937
|
*/
|
|
2557
1938
|
createPdfExport(requestParameters, options) {
|
|
2558
|
-
return
|
|
2559
|
-
.createPdfExport(requestParameters.workspaceId, requestParameters.exportVisualExportRequest, requestParameters.xGdcDebug, options)
|
|
2560
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1939
|
+
return VisualExportExport_CreatePdfExport(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
2561
1940
|
}
|
|
2562
1941
|
/**
|
|
2563
1942
|
* Returns 202 until original POST export request is not processed.Returns 200 with exported data once the export is done.
|
|
@@ -2568,9 +1947,7 @@ export class VisualExportExport extends BaseAPI {
|
|
|
2568
1947
|
* @memberof VisualExportExport
|
|
2569
1948
|
*/
|
|
2570
1949
|
getExportedFile(requestParameters, options) {
|
|
2571
|
-
return
|
|
2572
|
-
.getExportedFile(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
2573
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1950
|
+
return VisualExportExport_GetExportedFile(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
2574
1951
|
}
|
|
2575
1952
|
/**
|
|
2576
1953
|
* This endpoint serves as a cache for user-defined metadata of the export for the front end UI to retrieve it, if one was created using the POST ../export/visual endpoint. The metadata structure is not verified.
|
|
@@ -2581,9 +1958,7 @@ export class VisualExportExport extends BaseAPI {
|
|
|
2581
1958
|
* @memberof VisualExportExport
|
|
2582
1959
|
*/
|
|
2583
1960
|
getMetadata(requestParameters, options) {
|
|
2584
|
-
return
|
|
2585
|
-
.getMetadata(requestParameters.workspaceId, requestParameters.exportId, options)
|
|
2586
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1961
|
+
return VisualExportExport_GetMetadata(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
2587
1962
|
}
|
|
2588
1963
|
}
|
|
2589
1964
|
//# sourceMappingURL=api.js.map
|