@coscine/api-client 1.4.0 → 1.5.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.
Files changed (31) hide show
  1. package/dist/index.js +83 -29
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.umd.js +82 -30
  4. package/dist/index.umd.js.map +1 -1
  5. package/dist/lib/Coscine.Api.Project/api.js +74 -9
  6. package/dist/lib/Coscine.Api.Project/api.js.map +1 -1
  7. package/dist/lib/Coscine.Api.Project/base.js +2 -2
  8. package/dist/lib/Coscine.Api.Project/common.js +1 -1
  9. package/dist/lib/Coscine.Api.Project/configuration.js +1 -1
  10. package/dist/lib/Coscine.Api.Project/index.js +1 -1
  11. package/dist/lib/Coscine.Api.Resources/api.js +29 -29
  12. package/dist/lib/Coscine.Api.Resources/api.js.map +1 -1
  13. package/dist/lib/Coscine.Api.Resources/base.js +1 -1
  14. package/dist/lib/Coscine.Api.Resources/common.js +1 -1
  15. package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
  16. package/dist/lib/Coscine.Api.Resources/index.js +1 -1
  17. package/dist/lib/index.js +1 -3
  18. package/dist/lib/index.js.map +1 -1
  19. package/dist/types/Coscine.Api.Project/api.d.ts +45 -12
  20. package/dist/types/Coscine.Api.Project/base.d.ts +1 -1
  21. package/dist/types/Coscine.Api.Project/common.d.ts +1 -1
  22. package/dist/types/Coscine.Api.Project/configuration.d.ts +1 -1
  23. package/dist/types/Coscine.Api.Project/index.d.ts +1 -1
  24. package/dist/types/Coscine.Api.Resources/api.d.ts +176 -38
  25. package/dist/types/Coscine.Api.Resources/base.d.ts +1 -1
  26. package/dist/types/Coscine.Api.Resources/common.d.ts +1 -1
  27. package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
  28. package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
  29. package/dist/types/apis.d.ts +5 -4
  30. package/dist/types/index.d.ts +10 -11
  31. package/package.json +1 -1
package/dist/index.umd.js CHANGED
@@ -4041,7 +4041,7 @@
4041
4041
  };
4042
4042
 
4043
4043
  /* tslint:disable */
4044
- const BASE_PATH$6 = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, "");
4044
+ const BASE_PATH$6 = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Project".replace(/\/+$/, "");
4045
4045
  /**
4046
4046
  *
4047
4047
  * @export
@@ -4293,6 +4293,37 @@
4293
4293
  */
4294
4294
  const ProjectApiAxiosParamCreator = function (configuration) {
4295
4295
  return {
4296
+ /**
4297
+ *
4298
+ * @summary Call to analytics logger.
4299
+ * @param {string} projectId Project id of the project
4300
+ * @param {*} [options] Override http request option.
4301
+ * @throws {RequiredError}
4302
+ */
4303
+ projectCreateApplicationProfile: (projectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
4304
+ // verify required parameter 'projectId' is not null or undefined
4305
+ assertParamExists$5('projectCreateApplicationProfile', 'projectId', projectId);
4306
+ const localVarPath = `/Project/{projectId}/-/create-profile`
4307
+ .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
4308
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4309
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$6);
4310
+ let baseOptions;
4311
+ if (configuration) {
4312
+ baseOptions = configuration.baseOptions;
4313
+ }
4314
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4315
+ const localVarHeaderParameter = {};
4316
+ const localVarQueryParameter = {};
4317
+ // authentication JWT token required
4318
+ yield setApiKeyToObject$6(localVarHeaderParameter, "Authorization", configuration);
4319
+ setSearchParams$6(localVarUrlObj, localVarQueryParameter, options.query);
4320
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4321
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4322
+ return {
4323
+ url: toPathString$6(localVarUrlObj),
4324
+ options: localVarRequestOptions,
4325
+ };
4326
+ }),
4296
4327
  /**
4297
4328
  *
4298
4329
  * @summary Deletes the selected project
@@ -4357,8 +4388,8 @@
4357
4388
  }),
4358
4389
  /**
4359
4390
  *
4360
- * @summary This returns the the project if the user has access to it
4361
- * @param {string} id Id of the resource
4391
+ * @summary This returns the project if the user has access to it
4392
+ * @param {string} id Id of the project
4362
4393
  * @param {*} [options] Override http request option.
4363
4394
  * @throws {RequiredError}
4364
4395
  */
@@ -4773,6 +4804,19 @@
4773
4804
  const ProjectApiFp = function (configuration) {
4774
4805
  const localVarAxiosParamCreator = ProjectApiAxiosParamCreator(configuration);
4775
4806
  return {
4807
+ /**
4808
+ *
4809
+ * @summary Call to analytics logger.
4810
+ * @param {string} projectId Project id of the project
4811
+ * @param {*} [options] Override http request option.
4812
+ * @throws {RequiredError}
4813
+ */
4814
+ projectCreateApplicationProfile(projectId, options) {
4815
+ return __awaiter(this, void 0, void 0, function* () {
4816
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.projectCreateApplicationProfile(projectId, options);
4817
+ return createRequestFunction$6(localVarAxiosArgs, axios, BASE_PATH$6, configuration);
4818
+ });
4819
+ },
4776
4820
  /**
4777
4821
  *
4778
4822
  * @summary Deletes the selected project
@@ -4801,8 +4845,8 @@
4801
4845
  },
4802
4846
  /**
4803
4847
  *
4804
- * @summary This returns the the project if the user has access to it
4805
- * @param {string} id Id of the resource
4848
+ * @summary This returns the project if the user has access to it
4849
+ * @param {string} id Id of the project
4806
4850
  * @param {*} [options] Override http request option.
4807
4851
  * @throws {RequiredError}
4808
4852
  */
@@ -4978,6 +5022,16 @@
4978
5022
  const ProjectApiFactory = function (configuration, basePath, axios) {
4979
5023
  const localVarFp = ProjectApiFp(configuration);
4980
5024
  return {
5025
+ /**
5026
+ *
5027
+ * @summary Call to analytics logger.
5028
+ * @param {string} projectId Project id of the project
5029
+ * @param {*} [options] Override http request option.
5030
+ * @throws {RequiredError}
5031
+ */
5032
+ projectCreateApplicationProfile(projectId, options) {
5033
+ return localVarFp.projectCreateApplicationProfile(projectId, options).then((request) => request(axios, basePath));
5034
+ },
4981
5035
  /**
4982
5036
  *
4983
5037
  * @summary Deletes the selected project
@@ -5000,8 +5054,8 @@
5000
5054
  },
5001
5055
  /**
5002
5056
  *
5003
- * @summary This returns the the project if the user has access to it
5004
- * @param {string} id Id of the resource
5057
+ * @summary This returns the project if the user has access to it
5058
+ * @param {string} id Id of the project
5005
5059
  * @param {*} [options] Override http request option.
5006
5060
  * @throws {RequiredError}
5007
5061
  */
@@ -6367,7 +6421,7 @@
6367
6421
  /**
6368
6422
  *
6369
6423
  * @summary This deletes the specified resource.
6370
- * @param {string} id A guid as a string that identifies the resource.
6424
+ * @param {string} id A GUID as a string that identifies the resource.
6371
6425
  * @param {*} [options] Override http request option.
6372
6426
  * @throws {RequiredError}
6373
6427
  */
@@ -6398,7 +6452,7 @@
6398
6452
  /**
6399
6453
  *
6400
6454
  * @summary This returns the resource for the specified id.
6401
- * @param {string} id A guid as a string that identifies the resource.
6455
+ * @param {string} id A GUID as a string that identifies the resource.
6402
6456
  * @param {*} [options] Override http request option.
6403
6457
  * @throws {RequiredError}
6404
6458
  */
@@ -6456,7 +6510,7 @@
6456
6510
  /**
6457
6511
  *
6458
6512
  * @summary This returns if the current user is the creator of the specified resource.
6459
- * @param {string} id A guid as a string that identifies the resource.
6513
+ * @param {string} id A GUID as a string that identifies the resource.
6460
6514
  * @param {*} [options] Override http request option.
6461
6515
  * @throws {RequiredError}
6462
6516
  */
@@ -6486,8 +6540,8 @@
6486
6540
  }),
6487
6541
  /**
6488
6542
  *
6489
- * @summary This returns the readonly status of the given resource.
6490
- * @param {string} id A guid as a string that identifies the resource.
6543
+ * @summary This returns the read only status of the given resource.
6544
+ * @param {string} id A GUID as a string that identifies the resource.
6491
6545
  * @param {boolean} [status] A boolean value that specifies if the resource is archived.
6492
6546
  * @param {*} [options] Override http request option.
6493
6547
  * @throws {RequiredError}
@@ -6522,7 +6576,7 @@
6522
6576
  /**
6523
6577
  *
6524
6578
  * @summary This stores the provided resource object for the specified project.
6525
- * @param {string} projectId A guid as a string that identifies the resource.
6579
+ * @param {string} projectId A GUID as a string that identifies the resource.
6526
6580
  * @param {ResourceObject} resourceObject Entry representing the user
6527
6581
  * @param {*} [options] Override http request option.
6528
6582
  * @throws {RequiredError}
@@ -6558,7 +6612,7 @@
6558
6612
  /**
6559
6613
  *
6560
6614
  * @summary This returns if the current user is the creator of the specified resource.
6561
- * @param {string} id A guid as a string that identifies the resource.
6615
+ * @param {string} id A GUID as a string that identifies the resource.
6562
6616
  * @param {ResourceObject} resourceObject Entry representing the user
6563
6617
  * @param {*} [options] Override http request option.
6564
6618
  * @throws {RequiredError}
@@ -6603,7 +6657,7 @@
6603
6657
  /**
6604
6658
  *
6605
6659
  * @summary This deletes the specified resource.
6606
- * @param {string} id A guid as a string that identifies the resource.
6660
+ * @param {string} id A GUID as a string that identifies the resource.
6607
6661
  * @param {*} [options] Override http request option.
6608
6662
  * @throws {RequiredError}
6609
6663
  */
@@ -6616,7 +6670,7 @@
6616
6670
  /**
6617
6671
  *
6618
6672
  * @summary This returns the resource for the specified id.
6619
- * @param {string} id A guid as a string that identifies the resource.
6673
+ * @param {string} id A GUID as a string that identifies the resource.
6620
6674
  * @param {*} [options] Override http request option.
6621
6675
  * @throws {RequiredError}
6622
6676
  */
@@ -6641,7 +6695,7 @@
6641
6695
  /**
6642
6696
  *
6643
6697
  * @summary This returns if the current user is the creator of the specified resource.
6644
- * @param {string} id A guid as a string that identifies the resource.
6698
+ * @param {string} id A GUID as a string that identifies the resource.
6645
6699
  * @param {*} [options] Override http request option.
6646
6700
  * @throws {RequiredError}
6647
6701
  */
@@ -6653,8 +6707,8 @@
6653
6707
  },
6654
6708
  /**
6655
6709
  *
6656
- * @summary This returns the readonly status of the given resource.
6657
- * @param {string} id A guid as a string that identifies the resource.
6710
+ * @summary This returns the read only status of the given resource.
6711
+ * @param {string} id A GUID as a string that identifies the resource.
6658
6712
  * @param {boolean} [status] A boolean value that specifies if the resource is archived.
6659
6713
  * @param {*} [options] Override http request option.
6660
6714
  * @throws {RequiredError}
@@ -6668,7 +6722,7 @@
6668
6722
  /**
6669
6723
  *
6670
6724
  * @summary This stores the provided resource object for the specified project.
6671
- * @param {string} projectId A guid as a string that identifies the resource.
6725
+ * @param {string} projectId A GUID as a string that identifies the resource.
6672
6726
  * @param {ResourceObject} resourceObject Entry representing the user
6673
6727
  * @param {*} [options] Override http request option.
6674
6728
  * @throws {RequiredError}
@@ -6682,7 +6736,7 @@
6682
6736
  /**
6683
6737
  *
6684
6738
  * @summary This returns if the current user is the creator of the specified resource.
6685
- * @param {string} id A guid as a string that identifies the resource.
6739
+ * @param {string} id A GUID as a string that identifies the resource.
6686
6740
  * @param {ResourceObject} resourceObject Entry representing the user
6687
6741
  * @param {*} [options] Override http request option.
6688
6742
  * @throws {RequiredError}
@@ -6705,7 +6759,7 @@
6705
6759
  /**
6706
6760
  *
6707
6761
  * @summary This deletes the specified resource.
6708
- * @param {string} id A guid as a string that identifies the resource.
6762
+ * @param {string} id A GUID as a string that identifies the resource.
6709
6763
  * @param {*} [options] Override http request option.
6710
6764
  * @throws {RequiredError}
6711
6765
  */
@@ -6715,7 +6769,7 @@
6715
6769
  /**
6716
6770
  *
6717
6771
  * @summary This returns the resource for the specified id.
6718
- * @param {string} id A guid as a string that identifies the resource.
6772
+ * @param {string} id A GUID as a string that identifies the resource.
6719
6773
  * @param {*} [options] Override http request option.
6720
6774
  * @throws {RequiredError}
6721
6775
  */
@@ -6734,7 +6788,7 @@
6734
6788
  /**
6735
6789
  *
6736
6790
  * @summary This returns if the current user is the creator of the specified resource.
6737
- * @param {string} id A guid as a string that identifies the resource.
6791
+ * @param {string} id A GUID as a string that identifies the resource.
6738
6792
  * @param {*} [options] Override http request option.
6739
6793
  * @throws {RequiredError}
6740
6794
  */
@@ -6743,8 +6797,8 @@
6743
6797
  },
6744
6798
  /**
6745
6799
  *
6746
- * @summary This returns the readonly status of the given resource.
6747
- * @param {string} id A guid as a string that identifies the resource.
6800
+ * @summary This returns the read only status of the given resource.
6801
+ * @param {string} id A GUID as a string that identifies the resource.
6748
6802
  * @param {boolean} [status] A boolean value that specifies if the resource is archived.
6749
6803
  * @param {*} [options] Override http request option.
6750
6804
  * @throws {RequiredError}
@@ -6755,7 +6809,7 @@
6755
6809
  /**
6756
6810
  *
6757
6811
  * @summary This stores the provided resource object for the specified project.
6758
- * @param {string} projectId A guid as a string that identifies the resource.
6812
+ * @param {string} projectId A GUID as a string that identifies the resource.
6759
6813
  * @param {ResourceObject} resourceObject Entry representing the user
6760
6814
  * @param {*} [options] Override http request option.
6761
6815
  * @throws {RequiredError}
@@ -6766,7 +6820,7 @@
6766
6820
  /**
6767
6821
  *
6768
6822
  * @summary This returns if the current user is the creator of the specified resource.
6769
- * @param {string} id A guid as a string that identifies the resource.
6823
+ * @param {string} id A GUID as a string that identifies the resource.
6770
6824
  * @param {ResourceObject} resourceObject Entry representing the user
6771
6825
  * @param {*} [options] Override http request option.
6772
6826
  * @throws {RequiredError}
@@ -8647,8 +8701,6 @@
8647
8701
  exports.TreeApi = TreeApi;
8648
8702
  exports.UserApi = UserApi;
8649
8703
  exports.VisibilityApi = VisibilityApi;
8650
- exports.apiImplementations = implementations;
8651
- exports.axiosInstance = instance;
8652
8704
  exports["default"] = apis;
8653
8705
 
8654
8706
  Object.defineProperty(exports, '__esModule', { value: true });