@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.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Cosmo Tech Platform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 2.4.2-dev
8
+ * The version of the OpenAPI document: 2.4.5-private
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -8851,8 +8851,8 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
8851
8851
  var _this = this;
8852
8852
  return {
8853
8853
  /**
8854
- * Launch a mass delete job
8855
- * @summary Launch a mass delete job
8854
+ * Delete all versions of a graph and his metadatas
8855
+ * @summary Delete all versions of a graph and his metadatas
8856
8856
  * @param {string} organizationId the Organization identifier
8857
8857
  * @param {string} graphId the Graph Identifier
8858
8858
  * @param {*} [options] Override http request option.
@@ -9012,12 +9012,12 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
9012
9012
  * @summary Create new entities in a graph instance
9013
9013
  * @param {string} organizationId the Organization identifier
9014
9014
  * @param {string} graphId the Graph Identifier
9015
- * @param {'node' | 'relationship'} modelType the entity model type
9015
+ * @param {'node' | 'relationship'} type the entity model type
9016
9016
  * @param {Array<GraphProperties>} graphProperties the entities to create
9017
9017
  * @param {*} [options] Override http request option.
9018
9018
  * @throws {RequiredError}
9019
9019
  */
9020
- createEntities: function (organizationId, graphId, modelType, graphProperties, options) {
9020
+ createEntities: function (organizationId, graphId, type, graphProperties, options) {
9021
9021
  if (options === void 0) { options = {}; }
9022
9022
  return __awaiter(_this, void 0, void 0, function () {
9023
9023
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -9028,14 +9028,14 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
9028
9028
  common_1.assertParamExists('createEntities', 'organizationId', organizationId);
9029
9029
  // verify required parameter 'graphId' is not null or undefined
9030
9030
  common_1.assertParamExists('createEntities', 'graphId', graphId);
9031
- // verify required parameter 'modelType' is not null or undefined
9032
- common_1.assertParamExists('createEntities', 'modelType', modelType);
9031
+ // verify required parameter 'type' is not null or undefined
9032
+ common_1.assertParamExists('createEntities', 'type', type);
9033
9033
  // verify required parameter 'graphProperties' is not null or undefined
9034
9034
  common_1.assertParamExists('createEntities', 'graphProperties', graphProperties);
9035
- localVarPath = "/organizations/{organization_id}/twingraph/{graph_id}/{modelType}"
9035
+ localVarPath = "/organizations/{organization_id}/twingraph/{graph_id}/entity/{type}"
9036
9036
  .replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
9037
9037
  .replace("{" + "graph_id" + "}", encodeURIComponent(String(graphId)))
9038
- .replace("{" + "modelType" + "}", encodeURIComponent(String(modelType)));
9038
+ .replace("{" + "type" + "}", encodeURIComponent(String(type)));
9039
9039
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9040
9040
  if (configuration) {
9041
9041
  baseOptions = configuration.baseOptions;
@@ -9064,7 +9064,7 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
9064
9064
  });
9065
9065
  },
9066
9066
  /**
9067
- * Create a new graph
9067
+ * 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.
9068
9068
  * @summary Create a new graph
9069
9069
  * @param {string} organizationId the Organization identifier
9070
9070
  * @param {string} graphId the Graph Identifier
@@ -9118,12 +9118,12 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
9118
9118
  * @summary Delete entities in a graph instance
9119
9119
  * @param {string} organizationId the Organization identifier
9120
9120
  * @param {string} graphId the Graph Identifier
9121
- * @param {'node' | 'relationship'} modelType the entity model type
9121
+ * @param {'node' | 'relationship'} type the entity model type
9122
9122
  * @param {Array<string>} ids the entities to delete
9123
9123
  * @param {*} [options] Override http request option.
9124
9124
  * @throws {RequiredError}
9125
9125
  */
9126
- deleteEntities: function (organizationId, graphId, modelType, ids, options) {
9126
+ deleteEntities: function (organizationId, graphId, type, ids, options) {
9127
9127
  if (options === void 0) { options = {}; }
9128
9128
  return __awaiter(_this, void 0, void 0, function () {
9129
9129
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -9134,14 +9134,14 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
9134
9134
  common_1.assertParamExists('deleteEntities', 'organizationId', organizationId);
9135
9135
  // verify required parameter 'graphId' is not null or undefined
9136
9136
  common_1.assertParamExists('deleteEntities', 'graphId', graphId);
9137
- // verify required parameter 'modelType' is not null or undefined
9138
- common_1.assertParamExists('deleteEntities', 'modelType', modelType);
9137
+ // verify required parameter 'type' is not null or undefined
9138
+ common_1.assertParamExists('deleteEntities', 'type', type);
9139
9139
  // verify required parameter 'ids' is not null or undefined
9140
9140
  common_1.assertParamExists('deleteEntities', 'ids', ids);
9141
- localVarPath = "/organizations/{organization_id}/twingraph/{graph_id}/{modelType}"
9141
+ localVarPath = "/organizations/{organization_id}/twingraph/{graph_id}/entity/{type}"
9142
9142
  .replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
9143
9143
  .replace("{" + "graph_id" + "}", encodeURIComponent(String(graphId)))
9144
- .replace("{" + "modelType" + "}", encodeURIComponent(String(modelType)));
9144
+ .replace("{" + "type" + "}", encodeURIComponent(String(type)));
9145
9145
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9146
9146
  if (configuration) {
9147
9147
  baseOptions = configuration.baseOptions;
@@ -9189,7 +9189,7 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
9189
9189
  common_1.assertParamExists('downloadGraph', 'organizationId', organizationId);
9190
9190
  // verify required parameter 'hash' is not null or undefined
9191
9191
  common_1.assertParamExists('downloadGraph', 'hash', hash);
9192
- localVarPath = "/organizations/{organization_id}/twingraph/bulk-query/download/{hash}"
9192
+ localVarPath = "/organizations/{organization_id}/twingraph/download/{hash}"
9193
9193
  .replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
9194
9194
  .replace("{" + "hash" + "}", encodeURIComponent(String(hash)));
9195
9195
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -9265,12 +9265,12 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
9265
9265
  * @summary Get entities in a graph instance
9266
9266
  * @param {string} organizationId the Organization identifier
9267
9267
  * @param {string} graphId the Graph Identifier
9268
- * @param {'node' | 'relationship'} modelType the entity model type
9268
+ * @param {'node' | 'relationship'} type the entity model type
9269
9269
  * @param {Array<string>} ids the entities to get
9270
9270
  * @param {*} [options] Override http request option.
9271
9271
  * @throws {RequiredError}
9272
9272
  */
9273
- getEntities: function (organizationId, graphId, modelType, ids, options) {
9273
+ getEntities: function (organizationId, graphId, type, ids, options) {
9274
9274
  if (options === void 0) { options = {}; }
9275
9275
  return __awaiter(_this, void 0, void 0, function () {
9276
9276
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -9281,14 +9281,14 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
9281
9281
  common_1.assertParamExists('getEntities', 'organizationId', organizationId);
9282
9282
  // verify required parameter 'graphId' is not null or undefined
9283
9283
  common_1.assertParamExists('getEntities', 'graphId', graphId);
9284
- // verify required parameter 'modelType' is not null or undefined
9285
- common_1.assertParamExists('getEntities', 'modelType', modelType);
9284
+ // verify required parameter 'type' is not null or undefined
9285
+ common_1.assertParamExists('getEntities', 'type', type);
9286
9286
  // verify required parameter 'ids' is not null or undefined
9287
9287
  common_1.assertParamExists('getEntities', 'ids', ids);
9288
- localVarPath = "/organizations/{organization_id}/twingraph/{graph_id}/{modelType}"
9288
+ localVarPath = "/organizations/{organization_id}/twingraph/{graph_id}/entity/{type}"
9289
9289
  .replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
9290
9290
  .replace("{" + "graph_id" + "}", encodeURIComponent(String(graphId)))
9291
- .replace("{" + "modelType" + "}", encodeURIComponent(String(modelType)));
9291
+ .replace("{" + "type" + "}", encodeURIComponent(String(type)));
9292
9292
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9293
9293
  if (configuration) {
9294
9294
  baseOptions = configuration.baseOptions;
@@ -9516,12 +9516,12 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
9516
9516
  * @summary Update entities in a graph instance
9517
9517
  * @param {string} organizationId the Organization identifier
9518
9518
  * @param {string} graphId the Graph Identifier
9519
- * @param {'node' | 'relationship'} modelType the entity model type
9519
+ * @param {'node' | 'relationship'} type the entity model type
9520
9520
  * @param {Array<GraphProperties>} graphProperties the entities to update
9521
9521
  * @param {*} [options] Override http request option.
9522
9522
  * @throws {RequiredError}
9523
9523
  */
9524
- updateEntities: function (organizationId, graphId, modelType, graphProperties, options) {
9524
+ updateEntities: function (organizationId, graphId, type, graphProperties, options) {
9525
9525
  if (options === void 0) { options = {}; }
9526
9526
  return __awaiter(_this, void 0, void 0, function () {
9527
9527
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -9532,14 +9532,14 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
9532
9532
  common_1.assertParamExists('updateEntities', 'organizationId', organizationId);
9533
9533
  // verify required parameter 'graphId' is not null or undefined
9534
9534
  common_1.assertParamExists('updateEntities', 'graphId', graphId);
9535
- // verify required parameter 'modelType' is not null or undefined
9536
- common_1.assertParamExists('updateEntities', 'modelType', modelType);
9535
+ // verify required parameter 'type' is not null or undefined
9536
+ common_1.assertParamExists('updateEntities', 'type', type);
9537
9537
  // verify required parameter 'graphProperties' is not null or undefined
9538
9538
  common_1.assertParamExists('updateEntities', 'graphProperties', graphProperties);
9539
- localVarPath = "/organizations/{organization_id}/twingraph/{graph_id}/{modelType}"
9539
+ localVarPath = "/organizations/{organization_id}/twingraph/{graph_id}/entity/{type}"
9540
9540
  .replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
9541
9541
  .replace("{" + "graph_id" + "}", encodeURIComponent(String(graphId)))
9542
- .replace("{" + "modelType" + "}", encodeURIComponent(String(modelType)));
9542
+ .replace("{" + "type" + "}", encodeURIComponent(String(type)));
9543
9543
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9544
9544
  if (configuration) {
9545
9545
  baseOptions = configuration.baseOptions;
@@ -9629,8 +9629,8 @@ exports.TwingraphApiFp = function (configuration) {
9629
9629
  var localVarAxiosParamCreator = exports.TwingraphApiAxiosParamCreator(configuration);
9630
9630
  return {
9631
9631
  /**
9632
- * Launch a mass delete job
9633
- * @summary Launch a mass delete job
9632
+ * Delete all versions of a graph and his metadatas
9633
+ * @summary Delete all versions of a graph and his metadatas
9634
9634
  * @param {string} organizationId the Organization identifier
9635
9635
  * @param {string} graphId the Graph Identifier
9636
9636
  * @param {*} [options] Override http request option.
@@ -9699,17 +9699,17 @@ exports.TwingraphApiFp = function (configuration) {
9699
9699
  * @summary Create new entities in a graph instance
9700
9700
  * @param {string} organizationId the Organization identifier
9701
9701
  * @param {string} graphId the Graph Identifier
9702
- * @param {'node' | 'relationship'} modelType the entity model type
9702
+ * @param {'node' | 'relationship'} type the entity model type
9703
9703
  * @param {Array<GraphProperties>} graphProperties the entities to create
9704
9704
  * @param {*} [options] Override http request option.
9705
9705
  * @throws {RequiredError}
9706
9706
  */
9707
- createEntities: function (organizationId, graphId, modelType, graphProperties, options) {
9707
+ createEntities: function (organizationId, graphId, type, graphProperties, options) {
9708
9708
  return __awaiter(this, void 0, void 0, function () {
9709
9709
  var localVarAxiosArgs;
9710
9710
  return __generator(this, function (_a) {
9711
9711
  switch (_a.label) {
9712
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createEntities(organizationId, graphId, modelType, graphProperties, options)];
9712
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createEntities(organizationId, graphId, type, graphProperties, options)];
9713
9713
  case 1:
9714
9714
  localVarAxiosArgs = _a.sent();
9715
9715
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -9718,7 +9718,7 @@ exports.TwingraphApiFp = function (configuration) {
9718
9718
  });
9719
9719
  },
9720
9720
  /**
9721
- * Create a new graph
9721
+ * 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.
9722
9722
  * @summary Create a new graph
9723
9723
  * @param {string} organizationId the Organization identifier
9724
9724
  * @param {string} graphId the Graph Identifier
@@ -9744,17 +9744,17 @@ exports.TwingraphApiFp = function (configuration) {
9744
9744
  * @summary Delete entities in a graph instance
9745
9745
  * @param {string} organizationId the Organization identifier
9746
9746
  * @param {string} graphId the Graph Identifier
9747
- * @param {'node' | 'relationship'} modelType the entity model type
9747
+ * @param {'node' | 'relationship'} type the entity model type
9748
9748
  * @param {Array<string>} ids the entities to delete
9749
9749
  * @param {*} [options] Override http request option.
9750
9750
  * @throws {RequiredError}
9751
9751
  */
9752
- deleteEntities: function (organizationId, graphId, modelType, ids, options) {
9752
+ deleteEntities: function (organizationId, graphId, type, ids, options) {
9753
9753
  return __awaiter(this, void 0, void 0, function () {
9754
9754
  var localVarAxiosArgs;
9755
9755
  return __generator(this, function (_a) {
9756
9756
  switch (_a.label) {
9757
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteEntities(organizationId, graphId, modelType, ids, options)];
9757
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteEntities(organizationId, graphId, type, ids, options)];
9758
9758
  case 1:
9759
9759
  localVarAxiosArgs = _a.sent();
9760
9760
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -9808,17 +9808,17 @@ exports.TwingraphApiFp = function (configuration) {
9808
9808
  * @summary Get entities in a graph instance
9809
9809
  * @param {string} organizationId the Organization identifier
9810
9810
  * @param {string} graphId the Graph Identifier
9811
- * @param {'node' | 'relationship'} modelType the entity model type
9811
+ * @param {'node' | 'relationship'} type the entity model type
9812
9812
  * @param {Array<string>} ids the entities to get
9813
9813
  * @param {*} [options] Override http request option.
9814
9814
  * @throws {RequiredError}
9815
9815
  */
9816
- getEntities: function (organizationId, graphId, modelType, ids, options) {
9816
+ getEntities: function (organizationId, graphId, type, ids, options) {
9817
9817
  return __awaiter(this, void 0, void 0, function () {
9818
9818
  var localVarAxiosArgs;
9819
9819
  return __generator(this, function (_a) {
9820
9820
  switch (_a.label) {
9821
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getEntities(organizationId, graphId, modelType, ids, options)];
9821
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getEntities(organizationId, graphId, type, ids, options)];
9822
9822
  case 1:
9823
9823
  localVarAxiosArgs = _a.sent();
9824
9824
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -9916,17 +9916,17 @@ exports.TwingraphApiFp = function (configuration) {
9916
9916
  * @summary Update entities in a graph instance
9917
9917
  * @param {string} organizationId the Organization identifier
9918
9918
  * @param {string} graphId the Graph Identifier
9919
- * @param {'node' | 'relationship'} modelType the entity model type
9919
+ * @param {'node' | 'relationship'} type the entity model type
9920
9920
  * @param {Array<GraphProperties>} graphProperties the entities to update
9921
9921
  * @param {*} [options] Override http request option.
9922
9922
  * @throws {RequiredError}
9923
9923
  */
9924
- updateEntities: function (organizationId, graphId, modelType, graphProperties, options) {
9924
+ updateEntities: function (organizationId, graphId, type, graphProperties, options) {
9925
9925
  return __awaiter(this, void 0, void 0, function () {
9926
9926
  var localVarAxiosArgs;
9927
9927
  return __generator(this, function (_a) {
9928
9928
  switch (_a.label) {
9929
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateEntities(organizationId, graphId, modelType, graphProperties, options)];
9929
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateEntities(organizationId, graphId, type, graphProperties, options)];
9930
9930
  case 1:
9931
9931
  localVarAxiosArgs = _a.sent();
9932
9932
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -9966,8 +9966,8 @@ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
9966
9966
  var localVarFp = exports.TwingraphApiFp(configuration);
9967
9967
  return {
9968
9968
  /**
9969
- * Launch a mass delete job
9970
- * @summary Launch a mass delete job
9969
+ * Delete all versions of a graph and his metadatas
9970
+ * @summary Delete all versions of a graph and his metadatas
9971
9971
  * @param {string} organizationId the Organization identifier
9972
9972
  * @param {string} graphId the Graph Identifier
9973
9973
  * @param {*} [options] Override http request option.
@@ -10006,16 +10006,16 @@ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
10006
10006
  * @summary Create new entities in a graph instance
10007
10007
  * @param {string} organizationId the Organization identifier
10008
10008
  * @param {string} graphId the Graph Identifier
10009
- * @param {'node' | 'relationship'} modelType the entity model type
10009
+ * @param {'node' | 'relationship'} type the entity model type
10010
10010
  * @param {Array<GraphProperties>} graphProperties the entities to create
10011
10011
  * @param {*} [options] Override http request option.
10012
10012
  * @throws {RequiredError}
10013
10013
  */
10014
- createEntities: function (organizationId, graphId, modelType, graphProperties, options) {
10015
- return localVarFp.createEntities(organizationId, graphId, modelType, graphProperties, options).then(function (request) { return request(axios, basePath); });
10014
+ createEntities: function (organizationId, graphId, type, graphProperties, options) {
10015
+ return localVarFp.createEntities(organizationId, graphId, type, graphProperties, options).then(function (request) { return request(axios, basePath); });
10016
10016
  },
10017
10017
  /**
10018
- * Create a new graph
10018
+ * 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.
10019
10019
  * @summary Create a new graph
10020
10020
  * @param {string} organizationId the Organization identifier
10021
10021
  * @param {string} graphId the Graph Identifier
@@ -10031,13 +10031,13 @@ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
10031
10031
  * @summary Delete entities in a graph instance
10032
10032
  * @param {string} organizationId the Organization identifier
10033
10033
  * @param {string} graphId the Graph Identifier
10034
- * @param {'node' | 'relationship'} modelType the entity model type
10034
+ * @param {'node' | 'relationship'} type the entity model type
10035
10035
  * @param {Array<string>} ids the entities to delete
10036
10036
  * @param {*} [options] Override http request option.
10037
10037
  * @throws {RequiredError}
10038
10038
  */
10039
- deleteEntities: function (organizationId, graphId, modelType, ids, options) {
10040
- return localVarFp.deleteEntities(organizationId, graphId, modelType, ids, options).then(function (request) { return request(axios, basePath); });
10039
+ deleteEntities: function (organizationId, graphId, type, ids, options) {
10040
+ return localVarFp.deleteEntities(organizationId, graphId, type, ids, options).then(function (request) { return request(axios, basePath); });
10041
10041
  },
10042
10042
  /**
10043
10043
  * Download a graph compressed in a zip file
@@ -10065,13 +10065,13 @@ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
10065
10065
  * @summary Get entities in a graph instance
10066
10066
  * @param {string} organizationId the Organization identifier
10067
10067
  * @param {string} graphId the Graph Identifier
10068
- * @param {'node' | 'relationship'} modelType the entity model type
10068
+ * @param {'node' | 'relationship'} type the entity model type
10069
10069
  * @param {Array<string>} ids the entities to get
10070
10070
  * @param {*} [options] Override http request option.
10071
10071
  * @throws {RequiredError}
10072
10072
  */
10073
- getEntities: function (organizationId, graphId, modelType, ids, options) {
10074
- return localVarFp.getEntities(organizationId, graphId, modelType, ids, options).then(function (request) { return request(axios, basePath); });
10073
+ getEntities: function (organizationId, graphId, type, ids, options) {
10074
+ return localVarFp.getEntities(organizationId, graphId, type, ids, options).then(function (request) { return request(axios, basePath); });
10075
10075
  },
10076
10076
  /**
10077
10077
  * Return the metaData of the specified graph
@@ -10123,13 +10123,13 @@ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
10123
10123
  * @summary Update entities in a graph instance
10124
10124
  * @param {string} organizationId the Organization identifier
10125
10125
  * @param {string} graphId the Graph Identifier
10126
- * @param {'node' | 'relationship'} modelType the entity model type
10126
+ * @param {'node' | 'relationship'} type the entity model type
10127
10127
  * @param {Array<GraphProperties>} graphProperties the entities to update
10128
10128
  * @param {*} [options] Override http request option.
10129
10129
  * @throws {RequiredError}
10130
10130
  */
10131
- updateEntities: function (organizationId, graphId, modelType, graphProperties, options) {
10132
- return localVarFp.updateEntities(organizationId, graphId, modelType, graphProperties, options).then(function (request) { return request(axios, basePath); });
10131
+ updateEntities: function (organizationId, graphId, type, graphProperties, options) {
10132
+ return localVarFp.updateEntities(organizationId, graphId, type, graphProperties, options).then(function (request) { return request(axios, basePath); });
10133
10133
  },
10134
10134
  /**
10135
10135
  * Update the metaData of the specified graph
@@ -10157,8 +10157,8 @@ var TwingraphApi = /** @class */ (function (_super) {
10157
10157
  return _super !== null && _super.apply(this, arguments) || this;
10158
10158
  }
10159
10159
  /**
10160
- * Launch a mass delete job
10161
- * @summary Launch a mass delete job
10160
+ * Delete all versions of a graph and his metadatas
10161
+ * @summary Delete all versions of a graph and his metadatas
10162
10162
  * @param {string} organizationId the Organization identifier
10163
10163
  * @param {string} graphId the Graph Identifier
10164
10164
  * @param {*} [options] Override http request option.
@@ -10203,18 +10203,18 @@ var TwingraphApi = /** @class */ (function (_super) {
10203
10203
  * @summary Create new entities in a graph instance
10204
10204
  * @param {string} organizationId the Organization identifier
10205
10205
  * @param {string} graphId the Graph Identifier
10206
- * @param {'node' | 'relationship'} modelType the entity model type
10206
+ * @param {'node' | 'relationship'} type the entity model type
10207
10207
  * @param {Array<GraphProperties>} graphProperties the entities to create
10208
10208
  * @param {*} [options] Override http request option.
10209
10209
  * @throws {RequiredError}
10210
10210
  * @memberof TwingraphApi
10211
10211
  */
10212
- TwingraphApi.prototype.createEntities = function (organizationId, graphId, modelType, graphProperties, options) {
10212
+ TwingraphApi.prototype.createEntities = function (organizationId, graphId, type, graphProperties, options) {
10213
10213
  var _this = this;
10214
- return exports.TwingraphApiFp(this.configuration).createEntities(organizationId, graphId, modelType, graphProperties, options).then(function (request) { return request(_this.axios, _this.basePath); });
10214
+ return exports.TwingraphApiFp(this.configuration).createEntities(organizationId, graphId, type, graphProperties, options).then(function (request) { return request(_this.axios, _this.basePath); });
10215
10215
  };
10216
10216
  /**
10217
- * Create a new graph
10217
+ * 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.
10218
10218
  * @summary Create a new graph
10219
10219
  * @param {string} organizationId the Organization identifier
10220
10220
  * @param {string} graphId the Graph Identifier
@@ -10232,15 +10232,15 @@ var TwingraphApi = /** @class */ (function (_super) {
10232
10232
  * @summary Delete entities in a graph instance
10233
10233
  * @param {string} organizationId the Organization identifier
10234
10234
  * @param {string} graphId the Graph Identifier
10235
- * @param {'node' | 'relationship'} modelType the entity model type
10235
+ * @param {'node' | 'relationship'} type the entity model type
10236
10236
  * @param {Array<string>} ids the entities to delete
10237
10237
  * @param {*} [options] Override http request option.
10238
10238
  * @throws {RequiredError}
10239
10239
  * @memberof TwingraphApi
10240
10240
  */
10241
- TwingraphApi.prototype.deleteEntities = function (organizationId, graphId, modelType, ids, options) {
10241
+ TwingraphApi.prototype.deleteEntities = function (organizationId, graphId, type, ids, options) {
10242
10242
  var _this = this;
10243
- return exports.TwingraphApiFp(this.configuration).deleteEntities(organizationId, graphId, modelType, ids, options).then(function (request) { return request(_this.axios, _this.basePath); });
10243
+ return exports.TwingraphApiFp(this.configuration).deleteEntities(organizationId, graphId, type, ids, options).then(function (request) { return request(_this.axios, _this.basePath); });
10244
10244
  };
10245
10245
  /**
10246
10246
  * Download a graph compressed in a zip file
@@ -10272,15 +10272,15 @@ var TwingraphApi = /** @class */ (function (_super) {
10272
10272
  * @summary Get entities in a graph instance
10273
10273
  * @param {string} organizationId the Organization identifier
10274
10274
  * @param {string} graphId the Graph Identifier
10275
- * @param {'node' | 'relationship'} modelType the entity model type
10275
+ * @param {'node' | 'relationship'} type the entity model type
10276
10276
  * @param {Array<string>} ids the entities to get
10277
10277
  * @param {*} [options] Override http request option.
10278
10278
  * @throws {RequiredError}
10279
10279
  * @memberof TwingraphApi
10280
10280
  */
10281
- TwingraphApi.prototype.getEntities = function (organizationId, graphId, modelType, ids, options) {
10281
+ TwingraphApi.prototype.getEntities = function (organizationId, graphId, type, ids, options) {
10282
10282
  var _this = this;
10283
- return exports.TwingraphApiFp(this.configuration).getEntities(organizationId, graphId, modelType, ids, options).then(function (request) { return request(_this.axios, _this.basePath); });
10283
+ return exports.TwingraphApiFp(this.configuration).getEntities(organizationId, graphId, type, ids, options).then(function (request) { return request(_this.axios, _this.basePath); });
10284
10284
  };
10285
10285
  /**
10286
10286
  * Return the metaData of the specified graph
@@ -10340,15 +10340,15 @@ var TwingraphApi = /** @class */ (function (_super) {
10340
10340
  * @summary Update entities in a graph instance
10341
10341
  * @param {string} organizationId the Organization identifier
10342
10342
  * @param {string} graphId the Graph Identifier
10343
- * @param {'node' | 'relationship'} modelType the entity model type
10343
+ * @param {'node' | 'relationship'} type the entity model type
10344
10344
  * @param {Array<GraphProperties>} graphProperties the entities to update
10345
10345
  * @param {*} [options] Override http request option.
10346
10346
  * @throws {RequiredError}
10347
10347
  * @memberof TwingraphApi
10348
10348
  */
10349
- TwingraphApi.prototype.updateEntities = function (organizationId, graphId, modelType, graphProperties, options) {
10349
+ TwingraphApi.prototype.updateEntities = function (organizationId, graphId, type, graphProperties, options) {
10350
10350
  var _this = this;
10351
- return exports.TwingraphApiFp(this.configuration).updateEntities(organizationId, graphId, modelType, graphProperties, options).then(function (request) { return request(_this.axios, _this.basePath); });
10351
+ return exports.TwingraphApiFp(this.configuration).updateEntities(organizationId, graphId, type, graphProperties, options).then(function (request) { return request(_this.axios, _this.basePath); });
10352
10352
  };
10353
10353
  /**
10354
10354
  * Update the metaData of the specified graph
package/dist/base.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).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Cosmo Tech Platform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 2.4.2-dev
8
+ * The version of the OpenAPI document: 2.4.5-private
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 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).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Cosmo Tech Platform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 2.4.2-dev
8
+ * The version of the OpenAPI document: 2.4.5-private
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 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).
@@ -5,7 +5,7 @@
5
5
  * Cosmo Tech Platform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 2.4.2-dev
8
+ * The version of the OpenAPI document: 2.4.5-private
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 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).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Cosmo Tech Platform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 2.4.2-dev
8
+ * The version of the OpenAPI document: 2.4.5-private
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 Platform API
5
5
  * Cosmo Tech Platform API
6
6
  *
7
- * The version of the OpenAPI document: 2.4.2-dev
7
+ * The version of the OpenAPI document: 2.4.5-private
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.4.2",
3
+ "version": "2.4.5-private",
4
4
  "description": "OpenAPI client for @cosmotech/api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [