@cosmotech/api-ts 2.0.13-dev → 2.1.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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @cosmotech/api-ts@2.0.13-dev
1
+ ## @cosmotech/api-ts@2.1.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @cosmotech/api-ts@2.0.13-dev --save
39
+ npm install @cosmotech/api-ts@2.1.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Cosmo Tech Plaform API
5
5
  * Cosmo Tech Platform API
6
6
  *
7
- * The version of the OpenAPI document: 2.0.13-dev
7
+ * The version of the OpenAPI document: 2.1.0
8
8
  * Contact: platform@cosmotech.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2018,6 +2018,75 @@ export interface Solution {
2018
2018
  */
2019
2019
  'runTemplates'?: Array<RunTemplate>;
2020
2020
  }
2021
+ /**
2022
+ * a twin graph import info
2023
+ * @export
2024
+ * @interface TwinGraphImport
2025
+ */
2026
+ export interface TwinGraphImport {
2027
+ /**
2028
+ * the storage path containing the files to import
2029
+ * @type {string}
2030
+ * @memberof TwinGraphImport
2031
+ */
2032
+ 'storagePath': string;
2033
+ /**
2034
+ * the graph name to import to
2035
+ * @type {string}
2036
+ * @memberof TwinGraphImport
2037
+ */
2038
+ 'graphName': string;
2039
+ /**
2040
+ * The version of the graph to import to. When not set, the last version before import is upgraded by 1. When set, the targeted graph is replaced
2041
+ * @type {string}
2042
+ * @memberof TwinGraphImport
2043
+ */
2044
+ 'version'?: string;
2045
+ }
2046
+ /**
2047
+ * a twin graph query in cypher language
2048
+ * @export
2049
+ * @interface TwinGraphImportInfo
2050
+ */
2051
+ export interface TwinGraphImportInfo {
2052
+ /**
2053
+ * the import job id
2054
+ * @type {string}
2055
+ * @memberof TwinGraphImportInfo
2056
+ */
2057
+ 'jobId'?: string;
2058
+ /**
2059
+ * the twin graph name
2060
+ * @type {string}
2061
+ * @memberof TwinGraphImportInfo
2062
+ */
2063
+ 'graphName'?: string;
2064
+ }
2065
+ /**
2066
+ * a twin graph query in cypher language
2067
+ * @export
2068
+ * @interface TwinGraphQuery
2069
+ */
2070
+ export interface TwinGraphQuery {
2071
+ /**
2072
+ * Twin graph name
2073
+ * @type {string}
2074
+ * @memberof TwinGraphQuery
2075
+ */
2076
+ 'graphId'?: string;
2077
+ /**
2078
+ * Twin graph version
2079
+ * @type {string}
2080
+ * @memberof TwinGraphQuery
2081
+ */
2082
+ 'version'?: string;
2083
+ /**
2084
+ * the query in cypher language
2085
+ * @type {string}
2086
+ * @memberof TwinGraphQuery
2087
+ */
2088
+ 'query'?: string;
2089
+ }
2021
2090
  /**
2022
2091
  * a User
2023
2092
  * @export
@@ -9263,6 +9332,270 @@ export class SolutionApi extends BaseAPI {
9263
9332
  }
9264
9333
 
9265
9334
 
9335
+ /**
9336
+ * TwingraphApi - axios parameter creator
9337
+ * @export
9338
+ */
9339
+ export const TwingraphApiAxiosParamCreator = function (configuration?: Configuration) {
9340
+ return {
9341
+ /**
9342
+ * Launch a mass delete job
9343
+ * @param {string} organizationId the Organization identifier
9344
+ * @param {string} graphId the Graph Identifier
9345
+ * @param {*} [options] Override http request option.
9346
+ * @throws {RequiredError}
9347
+ */
9348
+ _delete: async (organizationId: string, graphId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9349
+ // verify required parameter 'organizationId' is not null or undefined
9350
+ assertParamExists('_delete', 'organizationId', organizationId)
9351
+ // verify required parameter 'graphId' is not null or undefined
9352
+ assertParamExists('_delete', 'graphId', graphId)
9353
+ const localVarPath = `/organizations/{organization_id}/delete/{graphId}`
9354
+ .replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
9355
+ .replace(`{${"graphId"}}`, encodeURIComponent(String(graphId)));
9356
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9357
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9358
+ let baseOptions;
9359
+ if (configuration) {
9360
+ baseOptions = configuration.baseOptions;
9361
+ }
9362
+
9363
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
9364
+ const localVarHeaderParameter = {} as any;
9365
+ const localVarQueryParameter = {} as any;
9366
+
9367
+ // authentication oAuth2AuthCode required
9368
+ // oauth required
9369
+ await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
9370
+
9371
+
9372
+
9373
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9374
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9375
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9376
+
9377
+ return {
9378
+ url: toPathString(localVarUrlObj),
9379
+ options: localVarRequestOptions,
9380
+ };
9381
+ },
9382
+ /**
9383
+ * Import a new version of a twin graph
9384
+ * @param {string} organizationId the Organization identifier
9385
+ * @param {TwinGraphImport} twinGraphImport the graph to import
9386
+ * @param {*} [options] Override http request option.
9387
+ * @throws {RequiredError}
9388
+ */
9389
+ importGraph: async (organizationId: string, twinGraphImport: TwinGraphImport, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9390
+ // verify required parameter 'organizationId' is not null or undefined
9391
+ assertParamExists('importGraph', 'organizationId', organizationId)
9392
+ // verify required parameter 'twinGraphImport' is not null or undefined
9393
+ assertParamExists('importGraph', 'twinGraphImport', twinGraphImport)
9394
+ const localVarPath = `/organizations/{organization_id}/import`
9395
+ .replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)));
9396
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9397
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9398
+ let baseOptions;
9399
+ if (configuration) {
9400
+ baseOptions = configuration.baseOptions;
9401
+ }
9402
+
9403
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9404
+ const localVarHeaderParameter = {} as any;
9405
+ const localVarQueryParameter = {} as any;
9406
+
9407
+ // authentication oAuth2AuthCode required
9408
+ // oauth required
9409
+ await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
9410
+
9411
+
9412
+
9413
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9414
+
9415
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9416
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9417
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9418
+ localVarRequestOptions.data = serializeDataIfNeeded(twinGraphImport, localVarRequestOptions, configuration)
9419
+
9420
+ return {
9421
+ url: toPathString(localVarUrlObj),
9422
+ options: localVarRequestOptions,
9423
+ };
9424
+ },
9425
+ /**
9426
+ * Run a query on a graph instance
9427
+ * @param {string} organizationId the Organization identifier
9428
+ * @param {TwinGraphQuery} twinGraphQuery the query to run
9429
+ * @param {*} [options] Override http request option.
9430
+ * @throws {RequiredError}
9431
+ */
9432
+ query: async (organizationId: string, twinGraphQuery: TwinGraphQuery, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
9433
+ // verify required parameter 'organizationId' is not null or undefined
9434
+ assertParamExists('query', 'organizationId', organizationId)
9435
+ // verify required parameter 'twinGraphQuery' is not null or undefined
9436
+ assertParamExists('query', 'twinGraphQuery', twinGraphQuery)
9437
+ const localVarPath = `/organizations/{organization_id}/query`
9438
+ .replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)));
9439
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9440
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9441
+ let baseOptions;
9442
+ if (configuration) {
9443
+ baseOptions = configuration.baseOptions;
9444
+ }
9445
+
9446
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9447
+ const localVarHeaderParameter = {} as any;
9448
+ const localVarQueryParameter = {} as any;
9449
+
9450
+ // authentication oAuth2AuthCode required
9451
+ // oauth required
9452
+ await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
9453
+
9454
+
9455
+
9456
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9457
+
9458
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9459
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9460
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9461
+ localVarRequestOptions.data = serializeDataIfNeeded(twinGraphQuery, localVarRequestOptions, configuration)
9462
+
9463
+ return {
9464
+ url: toPathString(localVarUrlObj),
9465
+ options: localVarRequestOptions,
9466
+ };
9467
+ },
9468
+ }
9469
+ };
9470
+
9471
+ /**
9472
+ * TwingraphApi - functional programming interface
9473
+ * @export
9474
+ */
9475
+ export const TwingraphApiFp = function(configuration?: Configuration) {
9476
+ const localVarAxiosParamCreator = TwingraphApiAxiosParamCreator(configuration)
9477
+ return {
9478
+ /**
9479
+ * Launch a mass delete job
9480
+ * @param {string} organizationId the Organization identifier
9481
+ * @param {string} graphId the Graph Identifier
9482
+ * @param {*} [options] Override http request option.
9483
+ * @throws {RequiredError}
9484
+ */
9485
+ async _delete(organizationId: string, graphId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
9486
+ const localVarAxiosArgs = await localVarAxiosParamCreator._delete(organizationId, graphId, options);
9487
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9488
+ },
9489
+ /**
9490
+ * Import a new version of a twin graph
9491
+ * @param {string} organizationId the Organization identifier
9492
+ * @param {TwinGraphImport} twinGraphImport the graph to import
9493
+ * @param {*} [options] Override http request option.
9494
+ * @throws {RequiredError}
9495
+ */
9496
+ async importGraph(organizationId: string, twinGraphImport: TwinGraphImport, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TwinGraphImportInfo>> {
9497
+ const localVarAxiosArgs = await localVarAxiosParamCreator.importGraph(organizationId, twinGraphImport, options);
9498
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9499
+ },
9500
+ /**
9501
+ * Run a query on a graph instance
9502
+ * @param {string} organizationId the Organization identifier
9503
+ * @param {TwinGraphQuery} twinGraphQuery the query to run
9504
+ * @param {*} [options] Override http request option.
9505
+ * @throws {RequiredError}
9506
+ */
9507
+ async query(organizationId: string, twinGraphQuery: TwinGraphQuery, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
9508
+ const localVarAxiosArgs = await localVarAxiosParamCreator.query(organizationId, twinGraphQuery, options);
9509
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9510
+ },
9511
+ }
9512
+ };
9513
+
9514
+ /**
9515
+ * TwingraphApi - factory interface
9516
+ * @export
9517
+ */
9518
+ export const TwingraphApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
9519
+ const localVarFp = TwingraphApiFp(configuration)
9520
+ return {
9521
+ /**
9522
+ * Launch a mass delete job
9523
+ * @param {string} organizationId the Organization identifier
9524
+ * @param {string} graphId the Graph Identifier
9525
+ * @param {*} [options] Override http request option.
9526
+ * @throws {RequiredError}
9527
+ */
9528
+ _delete(organizationId: string, graphId: string, options?: any): AxiosPromise<void> {
9529
+ return localVarFp._delete(organizationId, graphId, options).then((request) => request(axios, basePath));
9530
+ },
9531
+ /**
9532
+ * Import a new version of a twin graph
9533
+ * @param {string} organizationId the Organization identifier
9534
+ * @param {TwinGraphImport} twinGraphImport the graph to import
9535
+ * @param {*} [options] Override http request option.
9536
+ * @throws {RequiredError}
9537
+ */
9538
+ importGraph(organizationId: string, twinGraphImport: TwinGraphImport, options?: any): AxiosPromise<TwinGraphImportInfo> {
9539
+ return localVarFp.importGraph(organizationId, twinGraphImport, options).then((request) => request(axios, basePath));
9540
+ },
9541
+ /**
9542
+ * Run a query on a graph instance
9543
+ * @param {string} organizationId the Organization identifier
9544
+ * @param {TwinGraphQuery} twinGraphQuery the query to run
9545
+ * @param {*} [options] Override http request option.
9546
+ * @throws {RequiredError}
9547
+ */
9548
+ query(organizationId: string, twinGraphQuery: TwinGraphQuery, options?: any): AxiosPromise<string> {
9549
+ return localVarFp.query(organizationId, twinGraphQuery, options).then((request) => request(axios, basePath));
9550
+ },
9551
+ };
9552
+ };
9553
+
9554
+ /**
9555
+ * TwingraphApi - object-oriented interface
9556
+ * @export
9557
+ * @class TwingraphApi
9558
+ * @extends {BaseAPI}
9559
+ */
9560
+ export class TwingraphApi extends BaseAPI {
9561
+ /**
9562
+ * Launch a mass delete job
9563
+ * @param {string} organizationId the Organization identifier
9564
+ * @param {string} graphId the Graph Identifier
9565
+ * @param {*} [options] Override http request option.
9566
+ * @throws {RequiredError}
9567
+ * @memberof TwingraphApi
9568
+ */
9569
+ public _delete(organizationId: string, graphId: string, options?: AxiosRequestConfig) {
9570
+ return TwingraphApiFp(this.configuration)._delete(organizationId, graphId, options).then((request) => request(this.axios, this.basePath));
9571
+ }
9572
+
9573
+ /**
9574
+ * Import a new version of a twin graph
9575
+ * @param {string} organizationId the Organization identifier
9576
+ * @param {TwinGraphImport} twinGraphImport the graph to import
9577
+ * @param {*} [options] Override http request option.
9578
+ * @throws {RequiredError}
9579
+ * @memberof TwingraphApi
9580
+ */
9581
+ public importGraph(organizationId: string, twinGraphImport: TwinGraphImport, options?: AxiosRequestConfig) {
9582
+ return TwingraphApiFp(this.configuration).importGraph(organizationId, twinGraphImport, options).then((request) => request(this.axios, this.basePath));
9583
+ }
9584
+
9585
+ /**
9586
+ * Run a query on a graph instance
9587
+ * @param {string} organizationId the Organization identifier
9588
+ * @param {TwinGraphQuery} twinGraphQuery the query to run
9589
+ * @param {*} [options] Override http request option.
9590
+ * @throws {RequiredError}
9591
+ * @memberof TwingraphApi
9592
+ */
9593
+ public query(organizationId: string, twinGraphQuery: TwinGraphQuery, options?: AxiosRequestConfig) {
9594
+ return TwingraphApiFp(this.configuration).query(organizationId, twinGraphQuery, options).then((request) => request(this.axios, this.basePath));
9595
+ }
9596
+ }
9597
+
9598
+
9266
9599
  /**
9267
9600
  * UserApi - axios parameter creator
9268
9601
  * @export
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Cosmo Tech Plaform API
5
5
  * Cosmo Tech Platform API
6
6
  *
7
- * The version of the OpenAPI document: 2.0.13-dev
7
+ * The version of the OpenAPI document: 2.1.0
8
8
  * Contact: platform@cosmotech.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Cosmo Tech Plaform API
5
5
  * Cosmo Tech Platform API
6
6
  *
7
- * The version of the OpenAPI document: 2.0.13-dev
7
+ * The version of the OpenAPI document: 2.1.0
8
8
  * Contact: platform@cosmotech.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Cosmo Tech Plaform API
5
5
  * Cosmo Tech Platform API
6
6
  *
7
- * The version of the OpenAPI document: 2.0.13-dev
7
+ * The version of the OpenAPI document: 2.1.0
8
8
  * Contact: platform@cosmotech.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Cosmo Tech Plaform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 2.0.13-dev
5
+ * The version of the OpenAPI document: 2.1.0
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2009,6 +2009,75 @@ export interface Solution {
2009
2009
  */
2010
2010
  'runTemplates'?: Array<RunTemplate>;
2011
2011
  }
2012
+ /**
2013
+ * a twin graph import info
2014
+ * @export
2015
+ * @interface TwinGraphImport
2016
+ */
2017
+ export interface TwinGraphImport {
2018
+ /**
2019
+ * the storage path containing the files to import
2020
+ * @type {string}
2021
+ * @memberof TwinGraphImport
2022
+ */
2023
+ 'storagePath': string;
2024
+ /**
2025
+ * the graph name to import to
2026
+ * @type {string}
2027
+ * @memberof TwinGraphImport
2028
+ */
2029
+ 'graphName': string;
2030
+ /**
2031
+ * The version of the graph to import to. When not set, the last version before import is upgraded by 1. When set, the targeted graph is replaced
2032
+ * @type {string}
2033
+ * @memberof TwinGraphImport
2034
+ */
2035
+ 'version'?: string;
2036
+ }
2037
+ /**
2038
+ * a twin graph query in cypher language
2039
+ * @export
2040
+ * @interface TwinGraphImportInfo
2041
+ */
2042
+ export interface TwinGraphImportInfo {
2043
+ /**
2044
+ * the import job id
2045
+ * @type {string}
2046
+ * @memberof TwinGraphImportInfo
2047
+ */
2048
+ 'jobId'?: string;
2049
+ /**
2050
+ * the twin graph name
2051
+ * @type {string}
2052
+ * @memberof TwinGraphImportInfo
2053
+ */
2054
+ 'graphName'?: string;
2055
+ }
2056
+ /**
2057
+ * a twin graph query in cypher language
2058
+ * @export
2059
+ * @interface TwinGraphQuery
2060
+ */
2061
+ export interface TwinGraphQuery {
2062
+ /**
2063
+ * Twin graph name
2064
+ * @type {string}
2065
+ * @memberof TwinGraphQuery
2066
+ */
2067
+ 'graphId'?: string;
2068
+ /**
2069
+ * Twin graph version
2070
+ * @type {string}
2071
+ * @memberof TwinGraphQuery
2072
+ */
2073
+ 'version'?: string;
2074
+ /**
2075
+ * the query in cypher language
2076
+ * @type {string}
2077
+ * @memberof TwinGraphQuery
2078
+ */
2079
+ 'query'?: string;
2080
+ }
2012
2081
  /**
2013
2082
  * a User
2014
2083
  * @export
@@ -5718,6 +5787,131 @@ export declare class SolutionApi extends BaseAPI {
5718
5787
  */
5719
5788
  uploadRunTemplateHandler(organizationId: string, solutionId: string, runTemplateId: string, handlerId: RunTemplateHandlerId, body: any, overwrite?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
5720
5789
  }
5790
+ /**
5791
+ * TwingraphApi - axios parameter creator
5792
+ * @export
5793
+ */
5794
+ export declare const TwingraphApiAxiosParamCreator: (configuration?: Configuration) => {
5795
+ /**
5796
+ * Launch a mass delete job
5797
+ * @param {string} organizationId the Organization identifier
5798
+ * @param {string} graphId the Graph Identifier
5799
+ * @param {*} [options] Override http request option.
5800
+ * @throws {RequiredError}
5801
+ */
5802
+ _delete: (organizationId: string, graphId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5803
+ /**
5804
+ * Import a new version of a twin graph
5805
+ * @param {string} organizationId the Organization identifier
5806
+ * @param {TwinGraphImport} twinGraphImport the graph to import
5807
+ * @param {*} [options] Override http request option.
5808
+ * @throws {RequiredError}
5809
+ */
5810
+ importGraph: (organizationId: string, twinGraphImport: TwinGraphImport, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5811
+ /**
5812
+ * Run a query on a graph instance
5813
+ * @param {string} organizationId the Organization identifier
5814
+ * @param {TwinGraphQuery} twinGraphQuery the query to run
5815
+ * @param {*} [options] Override http request option.
5816
+ * @throws {RequiredError}
5817
+ */
5818
+ query: (organizationId: string, twinGraphQuery: TwinGraphQuery, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5819
+ };
5820
+ /**
5821
+ * TwingraphApi - functional programming interface
5822
+ * @export
5823
+ */
5824
+ export declare const TwingraphApiFp: (configuration?: Configuration) => {
5825
+ /**
5826
+ * Launch a mass delete job
5827
+ * @param {string} organizationId the Organization identifier
5828
+ * @param {string} graphId the Graph Identifier
5829
+ * @param {*} [options] Override http request option.
5830
+ * @throws {RequiredError}
5831
+ */
5832
+ _delete(organizationId: string, graphId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5833
+ /**
5834
+ * Import a new version of a twin graph
5835
+ * @param {string} organizationId the Organization identifier
5836
+ * @param {TwinGraphImport} twinGraphImport the graph to import
5837
+ * @param {*} [options] Override http request option.
5838
+ * @throws {RequiredError}
5839
+ */
5840
+ importGraph(organizationId: string, twinGraphImport: TwinGraphImport, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TwinGraphImportInfo>>;
5841
+ /**
5842
+ * Run a query on a graph instance
5843
+ * @param {string} organizationId the Organization identifier
5844
+ * @param {TwinGraphQuery} twinGraphQuery the query to run
5845
+ * @param {*} [options] Override http request option.
5846
+ * @throws {RequiredError}
5847
+ */
5848
+ query(organizationId: string, twinGraphQuery: TwinGraphQuery, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
5849
+ };
5850
+ /**
5851
+ * TwingraphApi - factory interface
5852
+ * @export
5853
+ */
5854
+ export declare const TwingraphApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5855
+ /**
5856
+ * Launch a mass delete job
5857
+ * @param {string} organizationId the Organization identifier
5858
+ * @param {string} graphId the Graph Identifier
5859
+ * @param {*} [options] Override http request option.
5860
+ * @throws {RequiredError}
5861
+ */
5862
+ _delete(organizationId: string, graphId: string, options?: any): AxiosPromise<void>;
5863
+ /**
5864
+ * Import a new version of a twin graph
5865
+ * @param {string} organizationId the Organization identifier
5866
+ * @param {TwinGraphImport} twinGraphImport the graph to import
5867
+ * @param {*} [options] Override http request option.
5868
+ * @throws {RequiredError}
5869
+ */
5870
+ importGraph(organizationId: string, twinGraphImport: TwinGraphImport, options?: any): AxiosPromise<TwinGraphImportInfo>;
5871
+ /**
5872
+ * Run a query on a graph instance
5873
+ * @param {string} organizationId the Organization identifier
5874
+ * @param {TwinGraphQuery} twinGraphQuery the query to run
5875
+ * @param {*} [options] Override http request option.
5876
+ * @throws {RequiredError}
5877
+ */
5878
+ query(organizationId: string, twinGraphQuery: TwinGraphQuery, options?: any): AxiosPromise<string>;
5879
+ };
5880
+ /**
5881
+ * TwingraphApi - object-oriented interface
5882
+ * @export
5883
+ * @class TwingraphApi
5884
+ * @extends {BaseAPI}
5885
+ */
5886
+ export declare class TwingraphApi extends BaseAPI {
5887
+ /**
5888
+ * Launch a mass delete job
5889
+ * @param {string} organizationId the Organization identifier
5890
+ * @param {string} graphId the Graph Identifier
5891
+ * @param {*} [options] Override http request option.
5892
+ * @throws {RequiredError}
5893
+ * @memberof TwingraphApi
5894
+ */
5895
+ _delete(organizationId: string, graphId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
5896
+ /**
5897
+ * Import a new version of a twin graph
5898
+ * @param {string} organizationId the Organization identifier
5899
+ * @param {TwinGraphImport} twinGraphImport the graph to import
5900
+ * @param {*} [options] Override http request option.
5901
+ * @throws {RequiredError}
5902
+ * @memberof TwingraphApi
5903
+ */
5904
+ importGraph(organizationId: string, twinGraphImport: TwinGraphImport, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TwinGraphImportInfo>>;
5905
+ /**
5906
+ * Run a query on a graph instance
5907
+ * @param {string} organizationId the Organization identifier
5908
+ * @param {TwinGraphQuery} twinGraphQuery the query to run
5909
+ * @param {*} [options] Override http request option.
5910
+ * @throws {RequiredError}
5911
+ * @memberof TwingraphApi
5912
+ */
5913
+ query(organizationId: string, twinGraphQuery: TwinGraphQuery, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string>>;
5914
+ }
5721
5915
  /**
5722
5916
  * UserApi - axios parameter creator
5723
5917
  * @export
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Cosmo Tech Plaform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 2.0.13-dev
8
+ * The version of the OpenAPI document: 2.1.0
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -73,7 +73,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
73
73
  }
74
74
  };
75
75
  Object.defineProperty(exports, "__esModule", { value: true });
76
- exports.WorkspaceApi = exports.WorkspaceApiFactory = exports.WorkspaceApiFp = exports.WorkspaceApiAxiosParamCreator = exports.ValidatorApi = exports.ValidatorApiFactory = exports.ValidatorApiFp = exports.ValidatorApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SolutionApi = exports.SolutionApiFactory = exports.SolutionApiFp = exports.SolutionApiAxiosParamCreator = exports.ScenariorunApi = exports.ScenariorunApiFactory = exports.ScenariorunApiFp = exports.ScenariorunApiAxiosParamCreator = exports.ScenarioApi = exports.ScenarioApiFactory = exports.ScenarioApiFp = exports.ScenarioApiAxiosParamCreator = exports.OrganizationApi = exports.OrganizationApiFactory = exports.OrganizationApiFp = exports.OrganizationApiAxiosParamCreator = exports.DatasetApi = exports.DatasetApiFactory = exports.DatasetApiFp = exports.DatasetApiAxiosParamCreator = exports.ConnectorApi = exports.ConnectorApiFactory = exports.ConnectorApiFp = exports.ConnectorApiAxiosParamCreator = exports.ValidatorRunStateEnum = exports.UserPlatformRolesEnum = exports.ScenarioValidationStatus = exports.ScenarioRunState = exports.ScenarioRunSearchStateEnum = exports.ScenarioJobState = exports.RunTemplateStepSource = exports.RunTemplateHandlerId = exports.ConnectorIoTypesEnum = void 0;
76
+ exports.WorkspaceApi = exports.WorkspaceApiFactory = exports.WorkspaceApiFp = exports.WorkspaceApiAxiosParamCreator = exports.ValidatorApi = exports.ValidatorApiFactory = exports.ValidatorApiFp = exports.ValidatorApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TwingraphApi = exports.TwingraphApiFactory = exports.TwingraphApiFp = exports.TwingraphApiAxiosParamCreator = exports.SolutionApi = exports.SolutionApiFactory = exports.SolutionApiFp = exports.SolutionApiAxiosParamCreator = exports.ScenariorunApi = exports.ScenariorunApiFactory = exports.ScenariorunApiFp = exports.ScenariorunApiAxiosParamCreator = exports.ScenarioApi = exports.ScenarioApiFactory = exports.ScenarioApiFp = exports.ScenarioApiAxiosParamCreator = exports.OrganizationApi = exports.OrganizationApiFactory = exports.OrganizationApiFp = exports.OrganizationApiAxiosParamCreator = exports.DatasetApi = exports.DatasetApiFactory = exports.DatasetApiFp = exports.DatasetApiAxiosParamCreator = exports.ConnectorApi = exports.ConnectorApiFactory = exports.ConnectorApiFp = exports.ConnectorApiAxiosParamCreator = exports.ValidatorRunStateEnum = exports.UserPlatformRolesEnum = exports.ScenarioValidationStatus = exports.ScenarioRunState = exports.ScenarioRunSearchStateEnum = exports.ScenarioJobState = exports.RunTemplateStepSource = exports.RunTemplateHandlerId = exports.ConnectorIoTypesEnum = void 0;
77
77
  var axios_1 = require("axios");
78
78
  // Some imports not used depending on template conditions
79
79
  // @ts-ignore
@@ -8118,6 +8118,313 @@ var SolutionApi = /** @class */ (function (_super) {
8118
8118
  return SolutionApi;
8119
8119
  }(base_1.BaseAPI));
8120
8120
  exports.SolutionApi = SolutionApi;
8121
+ /**
8122
+ * TwingraphApi - axios parameter creator
8123
+ * @export
8124
+ */
8125
+ exports.TwingraphApiAxiosParamCreator = function (configuration) {
8126
+ var _this = this;
8127
+ return {
8128
+ /**
8129
+ * Launch a mass delete job
8130
+ * @param {string} organizationId the Organization identifier
8131
+ * @param {string} graphId the Graph Identifier
8132
+ * @param {*} [options] Override http request option.
8133
+ * @throws {RequiredError}
8134
+ */
8135
+ _delete: function (organizationId, graphId, options) {
8136
+ if (options === void 0) { options = {}; }
8137
+ return __awaiter(_this, void 0, void 0, function () {
8138
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
8139
+ return __generator(this, function (_a) {
8140
+ switch (_a.label) {
8141
+ case 0:
8142
+ // verify required parameter 'organizationId' is not null or undefined
8143
+ common_1.assertParamExists('_delete', 'organizationId', organizationId);
8144
+ // verify required parameter 'graphId' is not null or undefined
8145
+ common_1.assertParamExists('_delete', 'graphId', graphId);
8146
+ localVarPath = "/organizations/{organization_id}/delete/{graphId}"
8147
+ .replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
8148
+ .replace("{" + "graphId" + "}", encodeURIComponent(String(graphId)));
8149
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8150
+ if (configuration) {
8151
+ baseOptions = configuration.baseOptions;
8152
+ }
8153
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
8154
+ localVarHeaderParameter = {};
8155
+ localVarQueryParameter = {};
8156
+ // authentication oAuth2AuthCode required
8157
+ // oauth required
8158
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
8159
+ case 1:
8160
+ // authentication oAuth2AuthCode required
8161
+ // oauth required
8162
+ _a.sent();
8163
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
8164
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8165
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8166
+ return [2 /*return*/, {
8167
+ url: common_1.toPathString(localVarUrlObj),
8168
+ options: localVarRequestOptions,
8169
+ }];
8170
+ }
8171
+ });
8172
+ });
8173
+ },
8174
+ /**
8175
+ * Import a new version of a twin graph
8176
+ * @param {string} organizationId the Organization identifier
8177
+ * @param {TwinGraphImport} twinGraphImport the graph to import
8178
+ * @param {*} [options] Override http request option.
8179
+ * @throws {RequiredError}
8180
+ */
8181
+ importGraph: function (organizationId, twinGraphImport, options) {
8182
+ if (options === void 0) { options = {}; }
8183
+ return __awaiter(_this, void 0, void 0, function () {
8184
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
8185
+ return __generator(this, function (_a) {
8186
+ switch (_a.label) {
8187
+ case 0:
8188
+ // verify required parameter 'organizationId' is not null or undefined
8189
+ common_1.assertParamExists('importGraph', 'organizationId', organizationId);
8190
+ // verify required parameter 'twinGraphImport' is not null or undefined
8191
+ common_1.assertParamExists('importGraph', 'twinGraphImport', twinGraphImport);
8192
+ localVarPath = "/organizations/{organization_id}/import"
8193
+ .replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)));
8194
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8195
+ if (configuration) {
8196
+ baseOptions = configuration.baseOptions;
8197
+ }
8198
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
8199
+ localVarHeaderParameter = {};
8200
+ localVarQueryParameter = {};
8201
+ // authentication oAuth2AuthCode required
8202
+ // oauth required
8203
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
8204
+ case 1:
8205
+ // authentication oAuth2AuthCode required
8206
+ // oauth required
8207
+ _a.sent();
8208
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8209
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
8210
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8211
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8212
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(twinGraphImport, localVarRequestOptions, configuration);
8213
+ return [2 /*return*/, {
8214
+ url: common_1.toPathString(localVarUrlObj),
8215
+ options: localVarRequestOptions,
8216
+ }];
8217
+ }
8218
+ });
8219
+ });
8220
+ },
8221
+ /**
8222
+ * Run a query on a graph instance
8223
+ * @param {string} organizationId the Organization identifier
8224
+ * @param {TwinGraphQuery} twinGraphQuery the query to run
8225
+ * @param {*} [options] Override http request option.
8226
+ * @throws {RequiredError}
8227
+ */
8228
+ query: function (organizationId, twinGraphQuery, options) {
8229
+ if (options === void 0) { options = {}; }
8230
+ return __awaiter(_this, void 0, void 0, function () {
8231
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
8232
+ return __generator(this, function (_a) {
8233
+ switch (_a.label) {
8234
+ case 0:
8235
+ // verify required parameter 'organizationId' is not null or undefined
8236
+ common_1.assertParamExists('query', 'organizationId', organizationId);
8237
+ // verify required parameter 'twinGraphQuery' is not null or undefined
8238
+ common_1.assertParamExists('query', 'twinGraphQuery', twinGraphQuery);
8239
+ localVarPath = "/organizations/{organization_id}/query"
8240
+ .replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)));
8241
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8242
+ if (configuration) {
8243
+ baseOptions = configuration.baseOptions;
8244
+ }
8245
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
8246
+ localVarHeaderParameter = {};
8247
+ localVarQueryParameter = {};
8248
+ // authentication oAuth2AuthCode required
8249
+ // oauth required
8250
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
8251
+ case 1:
8252
+ // authentication oAuth2AuthCode required
8253
+ // oauth required
8254
+ _a.sent();
8255
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8256
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
8257
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8258
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8259
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(twinGraphQuery, localVarRequestOptions, configuration);
8260
+ return [2 /*return*/, {
8261
+ url: common_1.toPathString(localVarUrlObj),
8262
+ options: localVarRequestOptions,
8263
+ }];
8264
+ }
8265
+ });
8266
+ });
8267
+ },
8268
+ };
8269
+ };
8270
+ /**
8271
+ * TwingraphApi - functional programming interface
8272
+ * @export
8273
+ */
8274
+ exports.TwingraphApiFp = function (configuration) {
8275
+ var localVarAxiosParamCreator = exports.TwingraphApiAxiosParamCreator(configuration);
8276
+ return {
8277
+ /**
8278
+ * Launch a mass delete job
8279
+ * @param {string} organizationId the Organization identifier
8280
+ * @param {string} graphId the Graph Identifier
8281
+ * @param {*} [options] Override http request option.
8282
+ * @throws {RequiredError}
8283
+ */
8284
+ _delete: function (organizationId, graphId, options) {
8285
+ return __awaiter(this, void 0, void 0, function () {
8286
+ var localVarAxiosArgs;
8287
+ return __generator(this, function (_a) {
8288
+ switch (_a.label) {
8289
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator._delete(organizationId, graphId, options)];
8290
+ case 1:
8291
+ localVarAxiosArgs = _a.sent();
8292
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
8293
+ }
8294
+ });
8295
+ });
8296
+ },
8297
+ /**
8298
+ * Import a new version of a twin graph
8299
+ * @param {string} organizationId the Organization identifier
8300
+ * @param {TwinGraphImport} twinGraphImport the graph to import
8301
+ * @param {*} [options] Override http request option.
8302
+ * @throws {RequiredError}
8303
+ */
8304
+ importGraph: function (organizationId, twinGraphImport, options) {
8305
+ return __awaiter(this, void 0, void 0, function () {
8306
+ var localVarAxiosArgs;
8307
+ return __generator(this, function (_a) {
8308
+ switch (_a.label) {
8309
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.importGraph(organizationId, twinGraphImport, options)];
8310
+ case 1:
8311
+ localVarAxiosArgs = _a.sent();
8312
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
8313
+ }
8314
+ });
8315
+ });
8316
+ },
8317
+ /**
8318
+ * Run a query on a graph instance
8319
+ * @param {string} organizationId the Organization identifier
8320
+ * @param {TwinGraphQuery} twinGraphQuery the query to run
8321
+ * @param {*} [options] Override http request option.
8322
+ * @throws {RequiredError}
8323
+ */
8324
+ query: function (organizationId, twinGraphQuery, options) {
8325
+ return __awaiter(this, void 0, void 0, function () {
8326
+ var localVarAxiosArgs;
8327
+ return __generator(this, function (_a) {
8328
+ switch (_a.label) {
8329
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.query(organizationId, twinGraphQuery, options)];
8330
+ case 1:
8331
+ localVarAxiosArgs = _a.sent();
8332
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
8333
+ }
8334
+ });
8335
+ });
8336
+ },
8337
+ };
8338
+ };
8339
+ /**
8340
+ * TwingraphApi - factory interface
8341
+ * @export
8342
+ */
8343
+ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
8344
+ var localVarFp = exports.TwingraphApiFp(configuration);
8345
+ return {
8346
+ /**
8347
+ * Launch a mass delete job
8348
+ * @param {string} organizationId the Organization identifier
8349
+ * @param {string} graphId the Graph Identifier
8350
+ * @param {*} [options] Override http request option.
8351
+ * @throws {RequiredError}
8352
+ */
8353
+ _delete: function (organizationId, graphId, options) {
8354
+ return localVarFp._delete(organizationId, graphId, options).then(function (request) { return request(axios, basePath); });
8355
+ },
8356
+ /**
8357
+ * Import a new version of a twin graph
8358
+ * @param {string} organizationId the Organization identifier
8359
+ * @param {TwinGraphImport} twinGraphImport the graph to import
8360
+ * @param {*} [options] Override http request option.
8361
+ * @throws {RequiredError}
8362
+ */
8363
+ importGraph: function (organizationId, twinGraphImport, options) {
8364
+ return localVarFp.importGraph(organizationId, twinGraphImport, options).then(function (request) { return request(axios, basePath); });
8365
+ },
8366
+ /**
8367
+ * Run a query on a graph instance
8368
+ * @param {string} organizationId the Organization identifier
8369
+ * @param {TwinGraphQuery} twinGraphQuery the query to run
8370
+ * @param {*} [options] Override http request option.
8371
+ * @throws {RequiredError}
8372
+ */
8373
+ query: function (organizationId, twinGraphQuery, options) {
8374
+ return localVarFp.query(organizationId, twinGraphQuery, options).then(function (request) { return request(axios, basePath); });
8375
+ },
8376
+ };
8377
+ };
8378
+ /**
8379
+ * TwingraphApi - object-oriented interface
8380
+ * @export
8381
+ * @class TwingraphApi
8382
+ * @extends {BaseAPI}
8383
+ */
8384
+ var TwingraphApi = /** @class */ (function (_super) {
8385
+ __extends(TwingraphApi, _super);
8386
+ function TwingraphApi() {
8387
+ return _super !== null && _super.apply(this, arguments) || this;
8388
+ }
8389
+ /**
8390
+ * Launch a mass delete job
8391
+ * @param {string} organizationId the Organization identifier
8392
+ * @param {string} graphId the Graph Identifier
8393
+ * @param {*} [options] Override http request option.
8394
+ * @throws {RequiredError}
8395
+ * @memberof TwingraphApi
8396
+ */
8397
+ TwingraphApi.prototype._delete = function (organizationId, graphId, options) {
8398
+ var _this = this;
8399
+ return exports.TwingraphApiFp(this.configuration)._delete(organizationId, graphId, options).then(function (request) { return request(_this.axios, _this.basePath); });
8400
+ };
8401
+ /**
8402
+ * Import a new version of a twin graph
8403
+ * @param {string} organizationId the Organization identifier
8404
+ * @param {TwinGraphImport} twinGraphImport the graph to import
8405
+ * @param {*} [options] Override http request option.
8406
+ * @throws {RequiredError}
8407
+ * @memberof TwingraphApi
8408
+ */
8409
+ TwingraphApi.prototype.importGraph = function (organizationId, twinGraphImport, options) {
8410
+ var _this = this;
8411
+ return exports.TwingraphApiFp(this.configuration).importGraph(organizationId, twinGraphImport, options).then(function (request) { return request(_this.axios, _this.basePath); });
8412
+ };
8413
+ /**
8414
+ * Run a query on a graph instance
8415
+ * @param {string} organizationId the Organization identifier
8416
+ * @param {TwinGraphQuery} twinGraphQuery the query to run
8417
+ * @param {*} [options] Override http request option.
8418
+ * @throws {RequiredError}
8419
+ * @memberof TwingraphApi
8420
+ */
8421
+ TwingraphApi.prototype.query = function (organizationId, twinGraphQuery, options) {
8422
+ var _this = this;
8423
+ return exports.TwingraphApiFp(this.configuration).query(organizationId, twinGraphQuery, options).then(function (request) { return request(_this.axios, _this.basePath); });
8424
+ };
8425
+ return TwingraphApi;
8426
+ }(base_1.BaseAPI));
8427
+ exports.TwingraphApi = TwingraphApi;
8121
8428
  /**
8122
8429
  * UserApi - axios parameter creator
8123
8430
  * @export
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Cosmo Tech Plaform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 2.0.13-dev
5
+ * The version of the OpenAPI document: 2.1.0
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Cosmo Tech Plaform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 2.0.13-dev
8
+ * The version of the OpenAPI document: 2.1.0
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Cosmo Tech Plaform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 2.0.13-dev
5
+ * The version of the OpenAPI document: 2.1.0
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Cosmo Tech Plaform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 2.0.13-dev
8
+ * The version of the OpenAPI document: 2.1.0
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Cosmo Tech Plaform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 2.0.13-dev
5
+ * The version of the OpenAPI document: 2.1.0
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Cosmo Tech Plaform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 2.0.13-dev
8
+ * The version of the OpenAPI document: 2.1.0
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Cosmo Tech Plaform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 2.0.13-dev
5
+ * The version of the OpenAPI document: 2.1.0
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Cosmo Tech Plaform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 2.0.13-dev
8
+ * The version of the OpenAPI document: 2.1.0
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Cosmo Tech Plaform API
5
5
  * Cosmo Tech Platform API
6
6
  *
7
- * The version of the OpenAPI document: 2.0.13-dev
7
+ * The version of the OpenAPI document: 2.1.0
8
8
  * Contact: platform@cosmotech.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmotech/api-ts",
3
- "version": "2.0.13-dev",
3
+ "version": "2.1.0",
4
4
  "description": "OpenAPI client for @cosmotech/api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [