@cosmotech/api-ts 2.4.2 → 2.4.5-private

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/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Cosmo Tech Platform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 2.4.2-dev
5
+ * The version of the OpenAPI document: 2.4.5-private
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6178,8 +6178,8 @@ export declare class SolutionApi extends BaseAPI {
6178
6178
  */
6179
6179
  export declare const TwingraphApiAxiosParamCreator: (configuration?: Configuration) => {
6180
6180
  /**
6181
- * Launch a mass delete job
6182
- * @summary Launch a mass delete job
6181
+ * Delete all versions of a graph and his metadatas
6182
+ * @summary Delete all versions of a graph and his metadatas
6183
6183
  * @param {string} organizationId the Organization identifier
6184
6184
  * @param {string} graphId the Graph Identifier
6185
6185
  * @param {*} [options] Override http request option.
@@ -6212,14 +6212,14 @@ export declare const TwingraphApiAxiosParamCreator: (configuration?: Configurati
6212
6212
  * @summary Create new entities in a graph instance
6213
6213
  * @param {string} organizationId the Organization identifier
6214
6214
  * @param {string} graphId the Graph Identifier
6215
- * @param {'node' | 'relationship'} modelType the entity model type
6215
+ * @param {'node' | 'relationship'} type the entity model type
6216
6216
  * @param {Array<GraphProperties>} graphProperties the entities to create
6217
6217
  * @param {*} [options] Override http request option.
6218
6218
  * @throws {RequiredError}
6219
6219
  */
6220
- createEntities: (organizationId: string, graphId: string, modelType: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6220
+ createEntities: (organizationId: string, graphId: string, type: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6221
6221
  /**
6222
- * Create a new graph
6222
+ * To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = \'Id\'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * Id those colomns represent * The source of the edge * The target of the edge * The Id of the edge All following columns content are up to you.
6223
6223
  * @summary Create a new graph
6224
6224
  * @param {string} organizationId the Organization identifier
6225
6225
  * @param {string} graphId the Graph Identifier
@@ -6233,12 +6233,12 @@ export declare const TwingraphApiAxiosParamCreator: (configuration?: Configurati
6233
6233
  * @summary Delete entities in a graph instance
6234
6234
  * @param {string} organizationId the Organization identifier
6235
6235
  * @param {string} graphId the Graph Identifier
6236
- * @param {'node' | 'relationship'} modelType the entity model type
6236
+ * @param {'node' | 'relationship'} type the entity model type
6237
6237
  * @param {Array<string>} ids the entities to delete
6238
6238
  * @param {*} [options] Override http request option.
6239
6239
  * @throws {RequiredError}
6240
6240
  */
6241
- deleteEntities: (organizationId: string, graphId: string, modelType: 'node' | 'relationship', ids: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6241
+ deleteEntities: (organizationId: string, graphId: string, type: 'node' | 'relationship', ids: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6242
6242
  /**
6243
6243
  * Download a graph compressed in a zip file
6244
6244
  * @summary Download a graph compressed in a zip file
@@ -6261,12 +6261,12 @@ export declare const TwingraphApiAxiosParamCreator: (configuration?: Configurati
6261
6261
  * @summary Get entities in a graph instance
6262
6262
  * @param {string} organizationId the Organization identifier
6263
6263
  * @param {string} graphId the Graph Identifier
6264
- * @param {'node' | 'relationship'} modelType the entity model type
6264
+ * @param {'node' | 'relationship'} type the entity model type
6265
6265
  * @param {Array<string>} ids the entities to get
6266
6266
  * @param {*} [options] Override http request option.
6267
6267
  * @throws {RequiredError}
6268
6268
  */
6269
- getEntities: (organizationId: string, graphId: string, modelType: 'node' | 'relationship', ids: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6269
+ getEntities: (organizationId: string, graphId: string, type: 'node' | 'relationship', ids: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6270
6270
  /**
6271
6271
  * Return the metaData of the specified graph
6272
6272
  * @summary Return the metaData of the specified graph
@@ -6309,12 +6309,12 @@ export declare const TwingraphApiAxiosParamCreator: (configuration?: Configurati
6309
6309
  * @summary Update entities in a graph instance
6310
6310
  * @param {string} organizationId the Organization identifier
6311
6311
  * @param {string} graphId the Graph Identifier
6312
- * @param {'node' | 'relationship'} modelType the entity model type
6312
+ * @param {'node' | 'relationship'} type the entity model type
6313
6313
  * @param {Array<GraphProperties>} graphProperties the entities to update
6314
6314
  * @param {*} [options] Override http request option.
6315
6315
  * @throws {RequiredError}
6316
6316
  */
6317
- updateEntities: (organizationId: string, graphId: string, modelType: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6317
+ updateEntities: (organizationId: string, graphId: string, type: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6318
6318
  /**
6319
6319
  * Update the metaData of the specified graph
6320
6320
  * @summary Update the metaData of the specified graph
@@ -6334,8 +6334,8 @@ export declare const TwingraphApiAxiosParamCreator: (configuration?: Configurati
6334
6334
  */
6335
6335
  export declare const TwingraphApiFp: (configuration?: Configuration) => {
6336
6336
  /**
6337
- * Launch a mass delete job
6338
- * @summary Launch a mass delete job
6337
+ * Delete all versions of a graph and his metadatas
6338
+ * @summary Delete all versions of a graph and his metadatas
6339
6339
  * @param {string} organizationId the Organization identifier
6340
6340
  * @param {string} graphId the Graph Identifier
6341
6341
  * @param {*} [options] Override http request option.
@@ -6368,14 +6368,14 @@ export declare const TwingraphApiFp: (configuration?: Configuration) => {
6368
6368
  * @summary Create new entities in a graph instance
6369
6369
  * @param {string} organizationId the Organization identifier
6370
6370
  * @param {string} graphId the Graph Identifier
6371
- * @param {'node' | 'relationship'} modelType the entity model type
6371
+ * @param {'node' | 'relationship'} type the entity model type
6372
6372
  * @param {Array<GraphProperties>} graphProperties the entities to create
6373
6373
  * @param {*} [options] Override http request option.
6374
6374
  * @throws {RequiredError}
6375
6375
  */
6376
- createEntities(organizationId: string, graphId: string, modelType: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<object>>>;
6376
+ createEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
6377
6377
  /**
6378
- * Create a new graph
6378
+ * To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = \'Id\'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * Id those colomns represent * The source of the edge * The target of the edge * The Id of the edge All following columns content are up to you.
6379
6379
  * @summary Create a new graph
6380
6380
  * @param {string} organizationId the Organization identifier
6381
6381
  * @param {string} graphId the Graph Identifier
@@ -6389,12 +6389,12 @@ export declare const TwingraphApiFp: (configuration?: Configuration) => {
6389
6389
  * @summary Delete entities in a graph instance
6390
6390
  * @param {string} organizationId the Organization identifier
6391
6391
  * @param {string} graphId the Graph Identifier
6392
- * @param {'node' | 'relationship'} modelType the entity model type
6392
+ * @param {'node' | 'relationship'} type the entity model type
6393
6393
  * @param {Array<string>} ids the entities to delete
6394
6394
  * @param {*} [options] Override http request option.
6395
6395
  * @throws {RequiredError}
6396
6396
  */
6397
- deleteEntities(organizationId: string, graphId: string, modelType: 'node' | 'relationship', ids: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6397
+ deleteEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', ids: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6398
6398
  /**
6399
6399
  * Download a graph compressed in a zip file
6400
6400
  * @summary Download a graph compressed in a zip file
@@ -6417,12 +6417,12 @@ export declare const TwingraphApiFp: (configuration?: Configuration) => {
6417
6417
  * @summary Get entities in a graph instance
6418
6418
  * @param {string} organizationId the Organization identifier
6419
6419
  * @param {string} graphId the Graph Identifier
6420
- * @param {'node' | 'relationship'} modelType the entity model type
6420
+ * @param {'node' | 'relationship'} type the entity model type
6421
6421
  * @param {Array<string>} ids the entities to get
6422
6422
  * @param {*} [options] Override http request option.
6423
6423
  * @throws {RequiredError}
6424
6424
  */
6425
- getEntities(organizationId: string, graphId: string, modelType: 'node' | 'relationship', ids: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<object>>>;
6425
+ getEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', ids: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
6426
6426
  /**
6427
6427
  * Return the metaData of the specified graph
6428
6428
  * @summary Return the metaData of the specified graph
@@ -6465,12 +6465,12 @@ export declare const TwingraphApiFp: (configuration?: Configuration) => {
6465
6465
  * @summary Update entities in a graph instance
6466
6466
  * @param {string} organizationId the Organization identifier
6467
6467
  * @param {string} graphId the Graph Identifier
6468
- * @param {'node' | 'relationship'} modelType the entity model type
6468
+ * @param {'node' | 'relationship'} type the entity model type
6469
6469
  * @param {Array<GraphProperties>} graphProperties the entities to update
6470
6470
  * @param {*} [options] Override http request option.
6471
6471
  * @throws {RequiredError}
6472
6472
  */
6473
- updateEntities(organizationId: string, graphId: string, modelType: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<object>>>;
6473
+ updateEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
6474
6474
  /**
6475
6475
  * Update the metaData of the specified graph
6476
6476
  * @summary Update the metaData of the specified graph
@@ -6490,8 +6490,8 @@ export declare const TwingraphApiFp: (configuration?: Configuration) => {
6490
6490
  */
6491
6491
  export declare const TwingraphApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
6492
6492
  /**
6493
- * Launch a mass delete job
6494
- * @summary Launch a mass delete job
6493
+ * Delete all versions of a graph and his metadatas
6494
+ * @summary Delete all versions of a graph and his metadatas
6495
6495
  * @param {string} organizationId the Organization identifier
6496
6496
  * @param {string} graphId the Graph Identifier
6497
6497
  * @param {*} [options] Override http request option.
@@ -6524,14 +6524,14 @@ export declare const TwingraphApiFactory: (configuration?: Configuration, basePa
6524
6524
  * @summary Create new entities in a graph instance
6525
6525
  * @param {string} organizationId the Organization identifier
6526
6526
  * @param {string} graphId the Graph Identifier
6527
- * @param {'node' | 'relationship'} modelType the entity model type
6527
+ * @param {'node' | 'relationship'} type the entity model type
6528
6528
  * @param {Array<GraphProperties>} graphProperties the entities to create
6529
6529
  * @param {*} [options] Override http request option.
6530
6530
  * @throws {RequiredError}
6531
6531
  */
6532
- createEntities(organizationId: string, graphId: string, modelType: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: any): AxiosPromise<Array<object>>;
6532
+ createEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: any): AxiosPromise<string>;
6533
6533
  /**
6534
- * Create a new graph
6534
+ * To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = \'Id\'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * Id those colomns represent * The source of the edge * The target of the edge * The Id of the edge All following columns content are up to you.
6535
6535
  * @summary Create a new graph
6536
6536
  * @param {string} organizationId the Organization identifier
6537
6537
  * @param {string} graphId the Graph Identifier
@@ -6545,12 +6545,12 @@ export declare const TwingraphApiFactory: (configuration?: Configuration, basePa
6545
6545
  * @summary Delete entities in a graph instance
6546
6546
  * @param {string} organizationId the Organization identifier
6547
6547
  * @param {string} graphId the Graph Identifier
6548
- * @param {'node' | 'relationship'} modelType the entity model type
6548
+ * @param {'node' | 'relationship'} type the entity model type
6549
6549
  * @param {Array<string>} ids the entities to delete
6550
6550
  * @param {*} [options] Override http request option.
6551
6551
  * @throws {RequiredError}
6552
6552
  */
6553
- deleteEntities(organizationId: string, graphId: string, modelType: 'node' | 'relationship', ids: Array<string>, options?: any): AxiosPromise<void>;
6553
+ deleteEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', ids: Array<string>, options?: any): AxiosPromise<void>;
6554
6554
  /**
6555
6555
  * Download a graph compressed in a zip file
6556
6556
  * @summary Download a graph compressed in a zip file
@@ -6573,12 +6573,12 @@ export declare const TwingraphApiFactory: (configuration?: Configuration, basePa
6573
6573
  * @summary Get entities in a graph instance
6574
6574
  * @param {string} organizationId the Organization identifier
6575
6575
  * @param {string} graphId the Graph Identifier
6576
- * @param {'node' | 'relationship'} modelType the entity model type
6576
+ * @param {'node' | 'relationship'} type the entity model type
6577
6577
  * @param {Array<string>} ids the entities to get
6578
6578
  * @param {*} [options] Override http request option.
6579
6579
  * @throws {RequiredError}
6580
6580
  */
6581
- getEntities(organizationId: string, graphId: string, modelType: 'node' | 'relationship', ids: Array<string>, options?: any): AxiosPromise<Array<object>>;
6581
+ getEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', ids: Array<string>, options?: any): AxiosPromise<string>;
6582
6582
  /**
6583
6583
  * Return the metaData of the specified graph
6584
6584
  * @summary Return the metaData of the specified graph
@@ -6621,12 +6621,12 @@ export declare const TwingraphApiFactory: (configuration?: Configuration, basePa
6621
6621
  * @summary Update entities in a graph instance
6622
6622
  * @param {string} organizationId the Organization identifier
6623
6623
  * @param {string} graphId the Graph Identifier
6624
- * @param {'node' | 'relationship'} modelType the entity model type
6624
+ * @param {'node' | 'relationship'} type the entity model type
6625
6625
  * @param {Array<GraphProperties>} graphProperties the entities to update
6626
6626
  * @param {*} [options] Override http request option.
6627
6627
  * @throws {RequiredError}
6628
6628
  */
6629
- updateEntities(organizationId: string, graphId: string, modelType: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: any): AxiosPromise<Array<object>>;
6629
+ updateEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: any): AxiosPromise<string>;
6630
6630
  /**
6631
6631
  * Update the metaData of the specified graph
6632
6632
  * @summary Update the metaData of the specified graph
@@ -6648,8 +6648,8 @@ export declare const TwingraphApiFactory: (configuration?: Configuration, basePa
6648
6648
  */
6649
6649
  export declare class TwingraphApi extends BaseAPI {
6650
6650
  /**
6651
- * Launch a mass delete job
6652
- * @summary Launch a mass delete job
6651
+ * Delete all versions of a graph and his metadatas
6652
+ * @summary Delete all versions of a graph and his metadatas
6653
6653
  * @param {string} organizationId the Organization identifier
6654
6654
  * @param {string} graphId the Graph Identifier
6655
6655
  * @param {*} [options] Override http request option.
@@ -6685,15 +6685,15 @@ export declare class TwingraphApi extends BaseAPI {
6685
6685
  * @summary Create new entities in a graph instance
6686
6686
  * @param {string} organizationId the Organization identifier
6687
6687
  * @param {string} graphId the Graph Identifier
6688
- * @param {'node' | 'relationship'} modelType the entity model type
6688
+ * @param {'node' | 'relationship'} type the entity model type
6689
6689
  * @param {Array<GraphProperties>} graphProperties the entities to create
6690
6690
  * @param {*} [options] Override http request option.
6691
6691
  * @throws {RequiredError}
6692
6692
  * @memberof TwingraphApi
6693
6693
  */
6694
- createEntities(organizationId: string, graphId: string, modelType: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object[]>>;
6694
+ createEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string>>;
6695
6695
  /**
6696
- * Create a new graph
6696
+ * To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = \'Id\'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * Id those colomns represent * The source of the edge * The target of the edge * The Id of the edge All following columns content are up to you.
6697
6697
  * @summary Create a new graph
6698
6698
  * @param {string} organizationId the Organization identifier
6699
6699
  * @param {string} graphId the Graph Identifier
@@ -6708,13 +6708,13 @@ export declare class TwingraphApi extends BaseAPI {
6708
6708
  * @summary Delete entities in a graph instance
6709
6709
  * @param {string} organizationId the Organization identifier
6710
6710
  * @param {string} graphId the Graph Identifier
6711
- * @param {'node' | 'relationship'} modelType the entity model type
6711
+ * @param {'node' | 'relationship'} type the entity model type
6712
6712
  * @param {Array<string>} ids the entities to delete
6713
6713
  * @param {*} [options] Override http request option.
6714
6714
  * @throws {RequiredError}
6715
6715
  * @memberof TwingraphApi
6716
6716
  */
6717
- deleteEntities(organizationId: string, graphId: string, modelType: 'node' | 'relationship', ids: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
6717
+ deleteEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', ids: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
6718
6718
  /**
6719
6719
  * Download a graph compressed in a zip file
6720
6720
  * @summary Download a graph compressed in a zip file
@@ -6739,13 +6739,13 @@ export declare class TwingraphApi extends BaseAPI {
6739
6739
  * @summary Get entities in a graph instance
6740
6740
  * @param {string} organizationId the Organization identifier
6741
6741
  * @param {string} graphId the Graph Identifier
6742
- * @param {'node' | 'relationship'} modelType the entity model type
6742
+ * @param {'node' | 'relationship'} type the entity model type
6743
6743
  * @param {Array<string>} ids the entities to get
6744
6744
  * @param {*} [options] Override http request option.
6745
6745
  * @throws {RequiredError}
6746
6746
  * @memberof TwingraphApi
6747
6747
  */
6748
- getEntities(organizationId: string, graphId: string, modelType: 'node' | 'relationship', ids: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object[]>>;
6748
+ getEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', ids: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string>>;
6749
6749
  /**
6750
6750
  * Return the metaData of the specified graph
6751
6751
  * @summary Return the metaData of the specified graph
@@ -6792,13 +6792,13 @@ export declare class TwingraphApi extends BaseAPI {
6792
6792
  * @summary Update entities in a graph instance
6793
6793
  * @param {string} organizationId the Organization identifier
6794
6794
  * @param {string} graphId the Graph Identifier
6795
- * @param {'node' | 'relationship'} modelType the entity model type
6795
+ * @param {'node' | 'relationship'} type the entity model type
6796
6796
  * @param {Array<GraphProperties>} graphProperties the entities to update
6797
6797
  * @param {*} [options] Override http request option.
6798
6798
  * @throws {RequiredError}
6799
6799
  * @memberof TwingraphApi
6800
6800
  */
6801
- updateEntities(organizationId: string, graphId: string, modelType: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object[]>>;
6801
+ updateEntities(organizationId: string, graphId: string, type: 'node' | 'relationship', graphProperties: Array<GraphProperties>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string>>;
6802
6802
  /**
6803
6803
  * Update the metaData of the specified graph
6804
6804
  * @summary Update the metaData of the specified graph