@vertexvis/api-client-node 0.16.0 → 0.17.2

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/dist/esm/api.d.ts CHANGED
@@ -511,6 +511,13 @@ export interface BoundingBox {
511
511
  */
512
512
  max: Vector3;
513
513
  }
514
+ /**
515
+ * Describes the options for configuring a CAD file export.
516
+ * @export
517
+ * @interface CADExportConfig
518
+ */
519
+ export interface CADExportConfig extends ExportConfig {
520
+ }
514
521
  /**
515
522
  * Fit camera in 3D space based on items in scene.
516
523
  * @export
@@ -814,6 +821,76 @@ export interface CreateBatchRequest {
814
821
  */
815
822
  'vertexvis/batch:operations': Array<BatchOperation>;
816
823
  }
824
+ /**
825
+ *
826
+ * @export
827
+ * @interface CreateExportRequest
828
+ */
829
+ export interface CreateExportRequest {
830
+ /**
831
+ *
832
+ * @type {CreateExportRequestData}
833
+ * @memberof CreateExportRequest
834
+ */
835
+ data: CreateExportRequestData;
836
+ }
837
+ /**
838
+ *
839
+ * @export
840
+ * @interface CreateExportRequestData
841
+ */
842
+ export interface CreateExportRequestData {
843
+ /**
844
+ * Resource object type.
845
+ * @type {string}
846
+ * @memberof CreateExportRequestData
847
+ */
848
+ type: string;
849
+ /**
850
+ *
851
+ * @type {CreateExportRequestDataAttributes}
852
+ * @memberof CreateExportRequestData
853
+ */
854
+ attributes: CreateExportRequestDataAttributes;
855
+ /**
856
+ *
857
+ * @type {CreateExportRequestDataRelationships}
858
+ * @memberof CreateExportRequestData
859
+ */
860
+ relationships: CreateExportRequestDataRelationships;
861
+ }
862
+ /**
863
+ *
864
+ * @export
865
+ * @interface CreateExportRequestDataAttributes
866
+ */
867
+ export interface CreateExportRequestDataAttributes {
868
+ /**
869
+ * Specifies the export format and options to configure the export.
870
+ * @type {CADExportConfig}
871
+ * @memberof CreateExportRequestDataAttributes
872
+ */
873
+ config: CADExportConfig;
874
+ }
875
+ /**
876
+ *
877
+ * @export
878
+ * @interface CreateExportRequestDataRelationships
879
+ */
880
+ export interface CreateExportRequestDataRelationships {
881
+ /**
882
+ *
883
+ * @type {ExportRelationship}
884
+ * @memberof CreateExportRequestDataRelationships
885
+ */
886
+ source: ExportRelationship;
887
+ /**
888
+ *
889
+ * @type {ExportStateRelationship}
890
+ * @memberof CreateExportRequestDataRelationships
891
+ */
892
+ state?: ExportStateRelationship;
893
+ }
817
894
  /**
818
895
  *
819
896
  * @export
@@ -1779,6 +1856,164 @@ export interface Dimensions {
1779
1856
  */
1780
1857
  width: number;
1781
1858
  }
1859
+ /**
1860
+ *
1861
+ * @export
1862
+ * @interface Export
1863
+ */
1864
+ export interface Export {
1865
+ /**
1866
+ *
1867
+ * @type {ExportData}
1868
+ * @memberof Export
1869
+ */
1870
+ data: ExportData;
1871
+ /**
1872
+ *
1873
+ * @type {{ [key: string]: Link; }}
1874
+ * @memberof Export
1875
+ */
1876
+ links?: {
1877
+ [key: string]: Link;
1878
+ };
1879
+ }
1880
+ /**
1881
+ * Describes the options for configuring a file export.
1882
+ * @export
1883
+ * @interface ExportConfig
1884
+ */
1885
+ export interface ExportConfig {
1886
+ /**
1887
+ *
1888
+ * @type {string}
1889
+ * @memberof ExportConfig
1890
+ */
1891
+ format: string;
1892
+ }
1893
+ /**
1894
+ *
1895
+ * @export
1896
+ * @interface ExportData
1897
+ */
1898
+ export interface ExportData {
1899
+ /**
1900
+ *
1901
+ * @type {string}
1902
+ * @memberof ExportData
1903
+ */
1904
+ type: string;
1905
+ /**
1906
+ * ID of the resource.
1907
+ * @type {string}
1908
+ * @memberof ExportData
1909
+ */
1910
+ id: string;
1911
+ /**
1912
+ *
1913
+ * @type {ExportDataAttributes}
1914
+ * @memberof ExportData
1915
+ */
1916
+ attributes: ExportDataAttributes;
1917
+ /**
1918
+ *
1919
+ * @type {{ [key: string]: Link; }}
1920
+ * @memberof ExportData
1921
+ */
1922
+ links?: {
1923
+ [key: string]: Link;
1924
+ };
1925
+ }
1926
+ /**
1927
+ *
1928
+ * @export
1929
+ * @interface ExportDataAttributes
1930
+ */
1931
+ export interface ExportDataAttributes {
1932
+ /**
1933
+ *
1934
+ * @type {string}
1935
+ * @memberof ExportDataAttributes
1936
+ */
1937
+ created: string;
1938
+ /**
1939
+ *
1940
+ * @type {string}
1941
+ * @memberof ExportDataAttributes
1942
+ */
1943
+ downloadUrl: string;
1944
+ }
1945
+ /**
1946
+ * Relationship to an `export`.
1947
+ * @export
1948
+ * @interface ExportRelationship
1949
+ */
1950
+ export interface ExportRelationship {
1951
+ /**
1952
+ *
1953
+ * @type {ExportRelationshipData}
1954
+ * @memberof ExportRelationship
1955
+ */
1956
+ data: ExportRelationshipData;
1957
+ }
1958
+ /**
1959
+ *
1960
+ * @export
1961
+ * @interface ExportRelationshipData
1962
+ */
1963
+ export interface ExportRelationshipData {
1964
+ /**
1965
+ * Resource object type.
1966
+ * @type {string}
1967
+ * @memberof ExportRelationshipData
1968
+ */
1969
+ type: ExportRelationshipDataTypeEnum;
1970
+ /**
1971
+ * ID of the resource.
1972
+ * @type {string}
1973
+ * @memberof ExportRelationshipData
1974
+ */
1975
+ id: string;
1976
+ }
1977
+ export declare const ExportRelationshipDataTypeEnum: {
1978
+ readonly Scene: "scene";
1979
+ };
1980
+ export declare type ExportRelationshipDataTypeEnum = typeof ExportRelationshipDataTypeEnum[keyof typeof ExportRelationshipDataTypeEnum];
1981
+ /**
1982
+ * Relationship to an `export`.
1983
+ * @export
1984
+ * @interface ExportStateRelationship
1985
+ */
1986
+ export interface ExportStateRelationship {
1987
+ /**
1988
+ *
1989
+ * @type {ExportStateRelationshipData}
1990
+ * @memberof ExportStateRelationship
1991
+ */
1992
+ data: ExportStateRelationshipData;
1993
+ }
1994
+ /**
1995
+ *
1996
+ * @export
1997
+ * @interface ExportStateRelationshipData
1998
+ */
1999
+ export interface ExportStateRelationshipData {
2000
+ /**
2001
+ * Resource object type.
2002
+ * @type {string}
2003
+ * @memberof ExportStateRelationshipData
2004
+ */
2005
+ type: ExportStateRelationshipDataTypeEnum;
2006
+ /**
2007
+ * ID of the resource.
2008
+ * @type {string}
2009
+ * @memberof ExportStateRelationshipData
2010
+ */
2011
+ id: string;
2012
+ }
2013
+ export declare const ExportStateRelationshipDataTypeEnum: {
2014
+ readonly SceneViewState: "scene-view-state";
2015
+ };
2016
+ export declare type ExportStateRelationshipDataTypeEnum = typeof ExportStateRelationshipDataTypeEnum[keyof typeof ExportStateRelationshipDataTypeEnum];
1782
2017
  /**
1783
2018
  *
1784
2019
  * @export
@@ -1808,6 +2043,25 @@ export interface Failure {
1808
2043
  [key: string]: Link;
1809
2044
  };
1810
2045
  }
2046
+ /**
2047
+ *
2048
+ * @export
2049
+ * @interface FeatureLines
2050
+ */
2051
+ export interface FeatureLines {
2052
+ /**
2053
+ *
2054
+ * @type {Color3}
2055
+ * @memberof FeatureLines
2056
+ */
2057
+ color: Color3;
2058
+ /**
2059
+ *
2060
+ * @type {number}
2061
+ * @memberof FeatureLines
2062
+ */
2063
+ width: number;
2064
+ }
1811
2065
  /**
1812
2066
  *
1813
2067
  * @export
@@ -4024,6 +4278,12 @@ export interface SceneViewStateDataAttributes {
4024
4278
  * @memberof SceneViewStateDataAttributes
4025
4279
  */
4026
4280
  thumbnails?: Array<ThumbnailData>;
4281
+ /**
4282
+ *
4283
+ * @type {FeatureLines}
4284
+ * @memberof SceneViewStateDataAttributes
4285
+ */
4286
+ featureLines?: FeatureLines;
4027
4287
  }
4028
4288
  /**
4029
4289
  *
@@ -5860,6 +6120,158 @@ export declare class BatchesApi extends BaseAPI {
5860
6120
  */
5861
6121
  getQueuedBatch(requestParameters: BatchesApiGetQueuedBatchRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QueuedJob, any>>;
5862
6122
  }
6123
+ /**
6124
+ * ExportsApi - axios parameter creator
6125
+ * @export
6126
+ */
6127
+ export declare const ExportsApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
6128
+ /**
6129
+ * Create an `export`. This API is asynchronous, returning the location of a `queued-export`. Check the status via the getQueuedExport API.
6130
+ * @param {CreateExportRequest} createExportRequest
6131
+ * @param {*} [options] Override http request option.
6132
+ * @throws {RequiredError}
6133
+ */
6134
+ createExport: (createExportRequest: CreateExportRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6135
+ /**
6136
+ * Get an `export` by ID.
6137
+ * @param {string} id The &#x60;export&#x60; ID.
6138
+ * @param {*} [options] Override http request option.
6139
+ * @throws {RequiredError}
6140
+ */
6141
+ getExport: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6142
+ /**
6143
+ * Get a `queued-export`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `export`.
6144
+ * @param {string} id The &#x60;queued-export&#x60; ID.
6145
+ * @param {*} [options] Override http request option.
6146
+ * @throws {RequiredError}
6147
+ */
6148
+ getQueuedExport: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6149
+ };
6150
+ /**
6151
+ * ExportsApi - functional programming interface
6152
+ * @export
6153
+ */
6154
+ export declare const ExportsApiFp: (configuration?: Configuration | undefined) => {
6155
+ /**
6156
+ * Create an `export`. This API is asynchronous, returning the location of a `queued-export`. Check the status via the getQueuedExport API.
6157
+ * @param {CreateExportRequest} createExportRequest
6158
+ * @param {*} [options] Override http request option.
6159
+ * @throws {RequiredError}
6160
+ */
6161
+ createExport(createExportRequest: CreateExportRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<QueuedJob>>;
6162
+ /**
6163
+ * Get an `export` by ID.
6164
+ * @param {string} id The &#x60;export&#x60; ID.
6165
+ * @param {*} [options] Override http request option.
6166
+ * @throws {RequiredError}
6167
+ */
6168
+ getExport(id: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Export>>;
6169
+ /**
6170
+ * Get a `queued-export`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `export`.
6171
+ * @param {string} id The &#x60;queued-export&#x60; ID.
6172
+ * @param {*} [options] Override http request option.
6173
+ * @throws {RequiredError}
6174
+ */
6175
+ getQueuedExport(id: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<QueuedJob>>;
6176
+ };
6177
+ /**
6178
+ * ExportsApi - factory interface
6179
+ * @export
6180
+ */
6181
+ export declare const ExportsApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
6182
+ /**
6183
+ * Create an `export`. This API is asynchronous, returning the location of a `queued-export`. Check the status via the getQueuedExport API.
6184
+ * @param {CreateExportRequest} createExportRequest
6185
+ * @param {*} [options] Override http request option.
6186
+ * @throws {RequiredError}
6187
+ */
6188
+ createExport(createExportRequest: CreateExportRequest, options?: any): AxiosPromise<QueuedJob>;
6189
+ /**
6190
+ * Get an `export` by ID.
6191
+ * @param {string} id The &#x60;export&#x60; ID.
6192
+ * @param {*} [options] Override http request option.
6193
+ * @throws {RequiredError}
6194
+ */
6195
+ getExport(id: string, options?: any): AxiosPromise<Export>;
6196
+ /**
6197
+ * Get a `queued-export`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `export`.
6198
+ * @param {string} id The &#x60;queued-export&#x60; ID.
6199
+ * @param {*} [options] Override http request option.
6200
+ * @throws {RequiredError}
6201
+ */
6202
+ getQueuedExport(id: string, options?: any): AxiosPromise<QueuedJob>;
6203
+ };
6204
+ /**
6205
+ * Request parameters for createExport operation in ExportsApi.
6206
+ * @export
6207
+ * @interface ExportsApiCreateExportRequest
6208
+ */
6209
+ export interface ExportsApiCreateExportRequest {
6210
+ /**
6211
+ *
6212
+ * @type {CreateExportRequest}
6213
+ * @memberof ExportsApiCreateExport
6214
+ */
6215
+ readonly createExportRequest: CreateExportRequest;
6216
+ }
6217
+ /**
6218
+ * Request parameters for getExport operation in ExportsApi.
6219
+ * @export
6220
+ * @interface ExportsApiGetExportRequest
6221
+ */
6222
+ export interface ExportsApiGetExportRequest {
6223
+ /**
6224
+ * The &#x60;export&#x60; ID.
6225
+ * @type {string}
6226
+ * @memberof ExportsApiGetExport
6227
+ */
6228
+ readonly id: string;
6229
+ }
6230
+ /**
6231
+ * Request parameters for getQueuedExport operation in ExportsApi.
6232
+ * @export
6233
+ * @interface ExportsApiGetQueuedExportRequest
6234
+ */
6235
+ export interface ExportsApiGetQueuedExportRequest {
6236
+ /**
6237
+ * The &#x60;queued-export&#x60; ID.
6238
+ * @type {string}
6239
+ * @memberof ExportsApiGetQueuedExport
6240
+ */
6241
+ readonly id: string;
6242
+ }
6243
+ /**
6244
+ * ExportsApi - object-oriented interface
6245
+ * @export
6246
+ * @class ExportsApi
6247
+ * @extends {BaseAPI}
6248
+ */
6249
+ export declare class ExportsApi extends BaseAPI {
6250
+ /**
6251
+ * Create an `export`. This API is asynchronous, returning the location of a `queued-export`. Check the status via the getQueuedExport API.
6252
+ * @param {ExportsApiCreateExportRequest} requestParameters Request parameters.
6253
+ * @param {*} [options] Override http request option.
6254
+ * @throws {RequiredError}
6255
+ * @memberof ExportsApi
6256
+ */
6257
+ createExport(requestParameters: ExportsApiCreateExportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QueuedJob, any>>;
6258
+ /**
6259
+ * Get an `export` by ID.
6260
+ * @param {ExportsApiGetExportRequest} requestParameters Request parameters.
6261
+ * @param {*} [options] Override http request option.
6262
+ * @throws {RequiredError}
6263
+ * @memberof ExportsApi
6264
+ */
6265
+ getExport(requestParameters: ExportsApiGetExportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Export, any>>;
6266
+ /**
6267
+ * Get a `queued-export`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `export`.
6268
+ * @param {ExportsApiGetQueuedExportRequest} requestParameters Request parameters.
6269
+ * @param {*} [options] Override http request option.
6270
+ * @throws {RequiredError}
6271
+ * @memberof ExportsApi
6272
+ */
6273
+ getQueuedExport(requestParameters: ExportsApiGetQueuedExportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QueuedJob, any>>;
6274
+ }
5863
6275
  /**
5864
6276
  * FilesApi - axios parameter creator
5865
6277
  * @export
package/dist/esm/api.js CHANGED
@@ -54,6 +54,12 @@ export const ClearTransformOperationTypeEnum = {
54
54
  export const DeselectOperationTypeEnum = {
55
55
  Deselect: 'deselect',
56
56
  };
57
+ export const ExportRelationshipDataTypeEnum = {
58
+ Scene: 'scene',
59
+ };
60
+ export const ExportStateRelationshipDataTypeEnum = {
61
+ SceneViewState: 'scene-view-state',
62
+ };
57
63
  export const FileRelationshipDataTypeEnum = {
58
64
  File: 'file',
59
65
  };
@@ -1110,6 +1116,237 @@ export class BatchesApi extends BaseAPI {
1110
1116
  .then((request) => request(this.axios, this.basePath));
1111
1117
  }
1112
1118
  }
1119
+ /**
1120
+ * ExportsApi - axios parameter creator
1121
+ * @export
1122
+ */
1123
+ export const ExportsApiAxiosParamCreator = function (configuration) {
1124
+ return {
1125
+ /**
1126
+ * Create an `export`. This API is asynchronous, returning the location of a `queued-export`. Check the status via the getQueuedExport API.
1127
+ * @param {CreateExportRequest} createExportRequest
1128
+ * @param {*} [options] Override http request option.
1129
+ * @throws {RequiredError}
1130
+ */
1131
+ createExport: (createExportRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1132
+ // verify required parameter 'createExportRequest' is not null or undefined
1133
+ assertParamExists('createExport', 'createExportRequest', createExportRequest);
1134
+ const localVarPath = `/exports`;
1135
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1136
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1137
+ let baseOptions;
1138
+ if (configuration) {
1139
+ baseOptions = configuration.baseOptions;
1140
+ }
1141
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1142
+ const localVarHeaderParameter = {};
1143
+ const localVarQueryParameter = {};
1144
+ // authentication OAuth2 required
1145
+ // oauth required
1146
+ yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
1147
+ localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
1148
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1149
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1150
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1151
+ localVarRequestOptions.data = serializeDataIfNeeded(createExportRequest, localVarRequestOptions, configuration);
1152
+ return {
1153
+ url: toPathString(localVarUrlObj),
1154
+ options: localVarRequestOptions,
1155
+ };
1156
+ }),
1157
+ /**
1158
+ * Get an `export` by ID.
1159
+ * @param {string} id The &#x60;export&#x60; ID.
1160
+ * @param {*} [options] Override http request option.
1161
+ * @throws {RequiredError}
1162
+ */
1163
+ getExport: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
1164
+ // verify required parameter 'id' is not null or undefined
1165
+ assertParamExists('getExport', 'id', id);
1166
+ const localVarPath = `/exports/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
1167
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1168
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1169
+ let baseOptions;
1170
+ if (configuration) {
1171
+ baseOptions = configuration.baseOptions;
1172
+ }
1173
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1174
+ const localVarHeaderParameter = {};
1175
+ const localVarQueryParameter = {};
1176
+ // authentication OAuth2 required
1177
+ // oauth required
1178
+ yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
1179
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1180
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1181
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1182
+ return {
1183
+ url: toPathString(localVarUrlObj),
1184
+ options: localVarRequestOptions,
1185
+ };
1186
+ }),
1187
+ /**
1188
+ * Get a `queued-export`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `export`.
1189
+ * @param {string} id The &#x60;queued-export&#x60; ID.
1190
+ * @param {*} [options] Override http request option.
1191
+ * @throws {RequiredError}
1192
+ */
1193
+ getQueuedExport: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
1194
+ // verify required parameter 'id' is not null or undefined
1195
+ assertParamExists('getQueuedExport', 'id', id);
1196
+ const localVarPath = `/queued-exports/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
1197
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1198
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1199
+ let baseOptions;
1200
+ if (configuration) {
1201
+ baseOptions = configuration.baseOptions;
1202
+ }
1203
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1204
+ const localVarHeaderParameter = {};
1205
+ const localVarQueryParameter = {};
1206
+ // authentication OAuth2 required
1207
+ // oauth required
1208
+ yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
1209
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1210
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1211
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1212
+ return {
1213
+ url: toPathString(localVarUrlObj),
1214
+ options: localVarRequestOptions,
1215
+ };
1216
+ }),
1217
+ };
1218
+ };
1219
+ /**
1220
+ * ExportsApi - functional programming interface
1221
+ * @export
1222
+ */
1223
+ export const ExportsApiFp = function (configuration) {
1224
+ const localVarAxiosParamCreator = ExportsApiAxiosParamCreator(configuration);
1225
+ return {
1226
+ /**
1227
+ * Create an `export`. This API is asynchronous, returning the location of a `queued-export`. Check the status via the getQueuedExport API.
1228
+ * @param {CreateExportRequest} createExportRequest
1229
+ * @param {*} [options] Override http request option.
1230
+ * @throws {RequiredError}
1231
+ */
1232
+ createExport(createExportRequest, options) {
1233
+ return __awaiter(this, void 0, void 0, function* () {
1234
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createExport(createExportRequest, options);
1235
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1236
+ });
1237
+ },
1238
+ /**
1239
+ * Get an `export` by ID.
1240
+ * @param {string} id The &#x60;export&#x60; ID.
1241
+ * @param {*} [options] Override http request option.
1242
+ * @throws {RequiredError}
1243
+ */
1244
+ getExport(id, options) {
1245
+ return __awaiter(this, void 0, void 0, function* () {
1246
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getExport(id, options);
1247
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1248
+ });
1249
+ },
1250
+ /**
1251
+ * Get a `queued-export`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `export`.
1252
+ * @param {string} id The &#x60;queued-export&#x60; ID.
1253
+ * @param {*} [options] Override http request option.
1254
+ * @throws {RequiredError}
1255
+ */
1256
+ getQueuedExport(id, options) {
1257
+ return __awaiter(this, void 0, void 0, function* () {
1258
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getQueuedExport(id, options);
1259
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1260
+ });
1261
+ },
1262
+ };
1263
+ };
1264
+ /**
1265
+ * ExportsApi - factory interface
1266
+ * @export
1267
+ */
1268
+ export const ExportsApiFactory = function (configuration, basePath, axios) {
1269
+ const localVarFp = ExportsApiFp(configuration);
1270
+ return {
1271
+ /**
1272
+ * Create an `export`. This API is asynchronous, returning the location of a `queued-export`. Check the status via the getQueuedExport API.
1273
+ * @param {CreateExportRequest} createExportRequest
1274
+ * @param {*} [options] Override http request option.
1275
+ * @throws {RequiredError}
1276
+ */
1277
+ createExport(createExportRequest, options) {
1278
+ return localVarFp
1279
+ .createExport(createExportRequest, options)
1280
+ .then((request) => request(axios, basePath));
1281
+ },
1282
+ /**
1283
+ * Get an `export` by ID.
1284
+ * @param {string} id The &#x60;export&#x60; ID.
1285
+ * @param {*} [options] Override http request option.
1286
+ * @throws {RequiredError}
1287
+ */
1288
+ getExport(id, options) {
1289
+ return localVarFp
1290
+ .getExport(id, options)
1291
+ .then((request) => request(axios, basePath));
1292
+ },
1293
+ /**
1294
+ * Get a `queued-export`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `export`.
1295
+ * @param {string} id The &#x60;queued-export&#x60; ID.
1296
+ * @param {*} [options] Override http request option.
1297
+ * @throws {RequiredError}
1298
+ */
1299
+ getQueuedExport(id, options) {
1300
+ return localVarFp
1301
+ .getQueuedExport(id, options)
1302
+ .then((request) => request(axios, basePath));
1303
+ },
1304
+ };
1305
+ };
1306
+ /**
1307
+ * ExportsApi - object-oriented interface
1308
+ * @export
1309
+ * @class ExportsApi
1310
+ * @extends {BaseAPI}
1311
+ */
1312
+ export class ExportsApi extends BaseAPI {
1313
+ /**
1314
+ * Create an `export`. This API is asynchronous, returning the location of a `queued-export`. Check the status via the getQueuedExport API.
1315
+ * @param {ExportsApiCreateExportRequest} requestParameters Request parameters.
1316
+ * @param {*} [options] Override http request option.
1317
+ * @throws {RequiredError}
1318
+ * @memberof ExportsApi
1319
+ */
1320
+ createExport(requestParameters, options) {
1321
+ return ExportsApiFp(this.configuration)
1322
+ .createExport(requestParameters.createExportRequest, options)
1323
+ .then((request) => request(this.axios, this.basePath));
1324
+ }
1325
+ /**
1326
+ * Get an `export` by ID.
1327
+ * @param {ExportsApiGetExportRequest} requestParameters Request parameters.
1328
+ * @param {*} [options] Override http request option.
1329
+ * @throws {RequiredError}
1330
+ * @memberof ExportsApi
1331
+ */
1332
+ getExport(requestParameters, options) {
1333
+ return ExportsApiFp(this.configuration)
1334
+ .getExport(requestParameters.id, options)
1335
+ .then((request) => request(this.axios, this.basePath));
1336
+ }
1337
+ /**
1338
+ * Get a `queued-export`. The response is either the status if `running` or `error` or, upon completion, redirects to the created `export`.
1339
+ * @param {ExportsApiGetQueuedExportRequest} requestParameters Request parameters.
1340
+ * @param {*} [options] Override http request option.
1341
+ * @throws {RequiredError}
1342
+ * @memberof ExportsApi
1343
+ */
1344
+ getQueuedExport(requestParameters, options) {
1345
+ return ExportsApiFp(this.configuration)
1346
+ .getQueuedExport(requestParameters.id, options)
1347
+ .then((request) => request(this.axios, this.basePath));
1348
+ }
1349
+ }
1113
1350
  /**
1114
1351
  * FilesApi - axios parameter creator
1115
1352
  * @export