@coscine/api-client 1.5.0 → 2.0.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 (110) hide show
  1. package/README.md +1 -0
  2. package/dist/index.js +240 -251
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.umd.js +240 -251
  5. package/dist/index.umd.js.map +1 -1
  6. package/dist/lib/Coscine.Api.ActivatedFeatures/base.js +1 -1
  7. package/dist/lib/Coscine.Api.Admin/api.js +13 -13
  8. package/dist/lib/Coscine.Api.Admin/base.js +2 -2
  9. package/dist/lib/Coscine.Api.Admin/common.js +1 -1
  10. package/dist/lib/Coscine.Api.Admin/configuration.js +1 -1
  11. package/dist/lib/Coscine.Api.Admin/index.js +1 -1
  12. package/dist/lib/Coscine.Api.Blob/api.js +1 -1
  13. package/dist/lib/Coscine.Api.Blob/base.js +2 -2
  14. package/dist/lib/Coscine.Api.Blob/common.js +1 -1
  15. package/dist/lib/Coscine.Api.Blob/configuration.js +1 -1
  16. package/dist/lib/Coscine.Api.Blob/index.js +1 -1
  17. package/dist/lib/Coscine.Api.Metadata/api.js +1 -1
  18. package/dist/lib/Coscine.Api.Metadata/base.js +2 -2
  19. package/dist/lib/Coscine.Api.Metadata/common.js +1 -1
  20. package/dist/lib/Coscine.Api.Metadata/configuration.js +1 -1
  21. package/dist/lib/Coscine.Api.Metadata/index.js +1 -1
  22. package/dist/lib/Coscine.Api.Notices/api.js +1 -1
  23. package/dist/lib/Coscine.Api.Notices/base.js +2 -2
  24. package/dist/lib/Coscine.Api.Notices/common.js +1 -1
  25. package/dist/lib/Coscine.Api.Notices/configuration.js +1 -1
  26. package/dist/lib/Coscine.Api.Notices/index.js +1 -1
  27. package/dist/lib/Coscine.Api.Organization/base.js +1 -1
  28. package/dist/lib/Coscine.Api.Project/api.js +206 -248
  29. package/dist/lib/Coscine.Api.Project/api.js.map +1 -1
  30. package/dist/lib/Coscine.Api.Project/base.js +1 -1
  31. package/dist/lib/Coscine.Api.Quota/api.js +1 -1
  32. package/dist/lib/Coscine.Api.Quota/base.js +2 -2
  33. package/dist/lib/Coscine.Api.Quota/common.js +1 -1
  34. package/dist/lib/Coscine.Api.Quota/configuration.js +1 -1
  35. package/dist/lib/Coscine.Api.Quota/index.js +1 -1
  36. package/dist/lib/Coscine.Api.Resources/api.js +1 -1
  37. package/dist/lib/Coscine.Api.Resources/base.js +2 -2
  38. package/dist/lib/Coscine.Api.Resources/common.js +1 -1
  39. package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
  40. package/dist/lib/Coscine.Api.Resources/index.js +1 -1
  41. package/dist/lib/Coscine.Api.Search/api.js +1 -1
  42. package/dist/lib/Coscine.Api.Search/base.js +2 -2
  43. package/dist/lib/Coscine.Api.Search/common.js +1 -1
  44. package/dist/lib/Coscine.Api.Search/configuration.js +1 -1
  45. package/dist/lib/Coscine.Api.Search/index.js +1 -1
  46. package/dist/lib/Coscine.Api.Token/api.js +58 -0
  47. package/dist/lib/Coscine.Api.Token/api.js.map +1 -1
  48. package/dist/lib/Coscine.Api.Token/base.js +1 -1
  49. package/dist/lib/Coscine.Api.Tree/api.js +1 -1
  50. package/dist/lib/Coscine.Api.Tree/base.js +2 -2
  51. package/dist/lib/Coscine.Api.Tree/common.js +1 -1
  52. package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
  53. package/dist/lib/Coscine.Api.Tree/index.js +1 -1
  54. package/dist/lib/Coscine.Api.User/api.js +1 -1
  55. package/dist/lib/Coscine.Api.User/base.js +2 -2
  56. package/dist/lib/Coscine.Api.User/common.js +1 -1
  57. package/dist/lib/Coscine.Api.User/configuration.js +1 -1
  58. package/dist/lib/Coscine.Api.User/index.js +1 -1
  59. package/dist/lib/axios-basic.js +5 -30
  60. package/dist/lib/axios-basic.js.map +1 -1
  61. package/dist/types/Coscine.Api.Admin/api.d.ts +13 -13
  62. package/dist/types/Coscine.Api.Admin/base.d.ts +1 -1
  63. package/dist/types/Coscine.Api.Admin/common.d.ts +1 -1
  64. package/dist/types/Coscine.Api.Admin/configuration.d.ts +1 -1
  65. package/dist/types/Coscine.Api.Admin/index.d.ts +1 -1
  66. package/dist/types/Coscine.Api.Blob/api.d.ts +1 -1
  67. package/dist/types/Coscine.Api.Blob/base.d.ts +1 -1
  68. package/dist/types/Coscine.Api.Blob/common.d.ts +1 -1
  69. package/dist/types/Coscine.Api.Blob/configuration.d.ts +1 -1
  70. package/dist/types/Coscine.Api.Blob/index.d.ts +1 -1
  71. package/dist/types/Coscine.Api.Metadata/api.d.ts +1 -1
  72. package/dist/types/Coscine.Api.Metadata/base.d.ts +1 -1
  73. package/dist/types/Coscine.Api.Metadata/common.d.ts +1 -1
  74. package/dist/types/Coscine.Api.Metadata/configuration.d.ts +1 -1
  75. package/dist/types/Coscine.Api.Metadata/index.d.ts +1 -1
  76. package/dist/types/Coscine.Api.Notices/api.d.ts +1 -1
  77. package/dist/types/Coscine.Api.Notices/base.d.ts +1 -1
  78. package/dist/types/Coscine.Api.Notices/common.d.ts +1 -1
  79. package/dist/types/Coscine.Api.Notices/configuration.d.ts +1 -1
  80. package/dist/types/Coscine.Api.Notices/index.d.ts +1 -1
  81. package/dist/types/Coscine.Api.Project/api.d.ts +366 -1717
  82. package/dist/types/Coscine.Api.Quota/api.d.ts +1 -1
  83. package/dist/types/Coscine.Api.Quota/base.d.ts +1 -1
  84. package/dist/types/Coscine.Api.Quota/common.d.ts +1 -1
  85. package/dist/types/Coscine.Api.Quota/configuration.d.ts +1 -1
  86. package/dist/types/Coscine.Api.Quota/index.d.ts +1 -1
  87. package/dist/types/Coscine.Api.Resources/api.d.ts +1 -1
  88. package/dist/types/Coscine.Api.Resources/base.d.ts +1 -1
  89. package/dist/types/Coscine.Api.Resources/common.d.ts +1 -1
  90. package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
  91. package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
  92. package/dist/types/Coscine.Api.Search/api.d.ts +1 -1
  93. package/dist/types/Coscine.Api.Search/base.d.ts +1 -1
  94. package/dist/types/Coscine.Api.Search/common.d.ts +1 -1
  95. package/dist/types/Coscine.Api.Search/configuration.d.ts +1 -1
  96. package/dist/types/Coscine.Api.Search/index.d.ts +1 -1
  97. package/dist/types/Coscine.Api.Token/api.d.ts +48 -0
  98. package/dist/types/Coscine.Api.Tree/api.d.ts +1 -1
  99. package/dist/types/Coscine.Api.Tree/base.d.ts +1 -1
  100. package/dist/types/Coscine.Api.Tree/common.d.ts +1 -1
  101. package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
  102. package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
  103. package/dist/types/Coscine.Api.User/api.d.ts +1 -1
  104. package/dist/types/Coscine.Api.User/base.d.ts +1 -1
  105. package/dist/types/Coscine.Api.User/common.d.ts +1 -1
  106. package/dist/types/Coscine.Api.User/configuration.d.ts +1 -1
  107. package/dist/types/Coscine.Api.User/index.d.ts +1 -1
  108. package/dist/types/apis.d.ts +9 -9
  109. package/dist/types/index.d.ts +18 -18
  110. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Quota
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.3.0
5
+ * The version of the OpenAPI document: 2.5.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Quota
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.3.0
5
+ * The version of the OpenAPI document: 2.5.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Quota
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.3.0
5
+ * The version of the OpenAPI document: 2.5.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Quota
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.3.0
5
+ * The version of the OpenAPI document: 2.5.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Quota
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.3.0
5
+ * The version of the OpenAPI document: 2.5.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Resources
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.6.1
5
+ * The version of the OpenAPI document: 2.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Resources
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.6.1
5
+ * The version of the OpenAPI document: 2.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Resources
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.6.1
5
+ * The version of the OpenAPI document: 2.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Resources
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.6.1
5
+ * The version of the OpenAPI document: 2.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Resources
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.6.1
5
+ * The version of the OpenAPI document: 2.7.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Search
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.1.0
5
+ * The version of the OpenAPI document: 1.2.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Search
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.1.0
5
+ * The version of the OpenAPI document: 1.2.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Search
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.1.0
5
+ * The version of the OpenAPI document: 1.2.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Search
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.1.0
5
+ * The version of the OpenAPI document: 1.2.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Search
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.1.0
5
+ * The version of the OpenAPI document: 1.2.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -112,6 +112,25 @@ export interface CreatedApiTokenObjectAllOf {
112
112
  */
113
113
  token?: string | null;
114
114
  }
115
+ /**
116
+ * Contains the minimum and maximum token validity in days from today.
117
+ * @export
118
+ * @interface TokenValidityObject
119
+ */
120
+ export interface TokenValidityObject {
121
+ /**
122
+ * Object holding the specified token minumum and maximum validity in days from today.
123
+ * @type {number}
124
+ * @memberof TokenValidityObject
125
+ */
126
+ minDays?: number;
127
+ /**
128
+ *
129
+ * @type {number}
130
+ * @memberof TokenValidityObject
131
+ */
132
+ maxDays?: number;
133
+ }
115
134
  /**
116
135
  * TokenApi - axios parameter creator
117
136
  * @export
@@ -125,6 +144,13 @@ export declare const TokenApiAxiosParamCreator: (configuration?: Configuration)
125
144
  * @throws {RequiredError}
126
145
  */
127
146
  tokenAddToken: (addApiTokenParameter: AddApiTokenParameter, options?: any) => Promise<RequestArgs>;
147
+ /**
148
+ *
149
+ * @summary Get the specified token minumum and maximum validity in days.
150
+ * @param {*} [options] Override http request option.
151
+ * @throws {RequiredError}
152
+ */
153
+ tokenGetTokenValidityBounds: (options?: any) => Promise<RequestArgs>;
128
154
  /**
129
155
  *
130
156
  * @summary Get the specific token values.
@@ -162,6 +188,13 @@ export declare const TokenApiFp: (configuration?: Configuration) => {
162
188
  * @throws {RequiredError}
163
189
  */
164
190
  tokenAddToken(addApiTokenParameter: AddApiTokenParameter, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatedApiTokenObject>>;
191
+ /**
192
+ *
193
+ * @summary Get the specified token minumum and maximum validity in days.
194
+ * @param {*} [options] Override http request option.
195
+ * @throws {RequiredError}
196
+ */
197
+ tokenGetTokenValidityBounds(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TokenValidityObject>>;
165
198
  /**
166
199
  *
167
200
  * @summary Get the specific token values.
@@ -199,6 +232,13 @@ export declare const TokenApiFactory: (configuration?: Configuration, basePath?:
199
232
  * @throws {RequiredError}
200
233
  */
201
234
  tokenAddToken(addApiTokenParameter: AddApiTokenParameter, options?: any): AxiosPromise<CreatedApiTokenObject>;
235
+ /**
236
+ *
237
+ * @summary Get the specified token minumum and maximum validity in days.
238
+ * @param {*} [options] Override http request option.
239
+ * @throws {RequiredError}
240
+ */
241
+ tokenGetTokenValidityBounds(options?: any): AxiosPromise<TokenValidityObject>;
202
242
  /**
203
243
  *
204
244
  * @summary Get the specific token values.
@@ -239,6 +279,14 @@ export declare class TokenApi extends BaseAPI {
239
279
  * @memberof TokenApi
240
280
  */
241
281
  tokenAddToken(addApiTokenParameter: AddApiTokenParameter, options?: any): Promise<import("axios").AxiosResponse<CreatedApiTokenObject>>;
282
+ /**
283
+ *
284
+ * @summary Get the specified token minumum and maximum validity in days.
285
+ * @param {*} [options] Override http request option.
286
+ * @throws {RequiredError}
287
+ * @memberof TokenApi
288
+ */
289
+ tokenGetTokenValidityBounds(options?: any): Promise<import("axios").AxiosResponse<TokenValidityObject>>;
242
290
  /**
243
291
  *
244
292
  * @summary Get the specific token values.
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Tree
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.4.3
5
+ * The version of the OpenAPI document: 2.5.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Tree
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.4.3
5
+ * The version of the OpenAPI document: 2.5.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Tree
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.4.3
5
+ * The version of the OpenAPI document: 2.5.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Tree
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.4.3
5
+ * The version of the OpenAPI document: 2.5.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.Tree
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.4.3
5
+ * The version of the OpenAPI document: 2.5.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.User
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.1.3
5
+ * The version of the OpenAPI document: 2.2.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.User
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.1.3
5
+ * The version of the OpenAPI document: 2.2.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.User
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.1.3
5
+ * The version of the OpenAPI document: 2.2.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.User
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.1.3
5
+ * The version of the OpenAPI document: 2.2.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Coscine.Api.User
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 2.1.3
5
+ * The version of the OpenAPI document: 2.2.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -57,18 +57,19 @@ declare function implementations(axios?: AxiosInstance): {
57
57
  projectDelete(id: string, options?: any): import("axios").AxiosPromise<any>;
58
58
  projectDeleteInvitation(invitationId: string, options?: any): import("axios").AxiosPromise<any>;
59
59
  projectGet(id: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").ProjectObject>;
60
- projectGetQuotaMax(projectId: string, resourceTypeId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").MaxProjectQuota>;
60
+ projectGetBySlug(slug: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").ProjectObject>;
61
+ projectGetQuotaMax(id: string, resourceTypeId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").MaxProjectQuota>;
61
62
  projectGetResources(id: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").ResourceObject[]>;
62
63
  projectGetTopLevelProjects(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").ProjectObject[]>;
63
64
  projectIndex(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").ProjectObject[]>;
64
65
  projectListInvitations(projectId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").InvitationReturnObject[]>;
65
- projectQuota(projectId: string, resourceTypeId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").ProjectQuotaReturnObject>;
66
- projectQuotas(projectId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").ProjectQuotaReturnObject[]>;
67
- projectResolveInvitation(token: string, options?: any): import("axios").AxiosPromise<any>;
66
+ projectQuota(id: string, resourceTypeId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").ProjectQuotaReturnObject>;
67
+ projectQuotas(id: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").ProjectQuotaReturnObject[]>;
68
+ projectResolveInvitation(invitationToken: string, options?: any): import("axios").AxiosPromise<any>;
68
69
  projectSendInvitation(sendInvitationObject: import("./Coscine.Api.Project/api").SendInvitationObject, options?: any): import("axios").AxiosPromise<any>;
69
- projectStore(options?: any): import("axios").AxiosPromise<any>;
70
- projectUpdate(id: string, options?: any): import("axios").AxiosPromise<any>;
71
- projectUpdateQuota(projectId: string, resourceTypeId: string, updateProjectQuotaObject: import("./Coscine.Api.Project/api").UpdateProjectQuotaObject, options?: any): import("axios").AxiosPromise<any>;
70
+ projectStore(projectObject: import("./Coscine.Api.Project/api").ProjectObject, options?: any): import("axios").AxiosPromise<any>;
71
+ projectUpdate(id: string, projectObject: import("./Coscine.Api.Project/api").ProjectObject, options?: any): import("axios").AxiosPromise<any>;
72
+ projectUpdateQuota(id: string, resourceTypeId: string, updateProjectQuotaObject: import("./Coscine.Api.Project/api").UpdateProjectQuotaObject, options?: any): import("axios").AxiosPromise<any>;
72
73
  };
73
74
  ProjectRoleApi: {
74
75
  projectRoleDelete(projectId: string, userId: string, roleId: string, options?: any): import("axios").AxiosPromise<any>;
@@ -101,9 +102,7 @@ declare function implementations(axios?: AxiosInstance): {
101
102
  };
102
103
  SearchApi: {
103
104
  searchSearch(encodedSearchWord: string, options?: any): import("axios").AxiosPromise<any>;
104
- searchSearchNoFilter(options?: any): import("axios").AxiosPromise<any>;
105
105
  searchSearchProject(projectId: string, encodedSearchWord: string, options?: any): import("axios").AxiosPromise<any>;
106
- searchSearchProjectNoFilter(projectId: string, options?: any): import("axios").AxiosPromise<any>;
107
106
  };
108
107
  SemanticSearchApi: {
109
108
  semanticSearchSearch(query?: string, user?: boolean, adv?: boolean, languages?: string[], options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Search/api").SearchResult[]>;
@@ -117,6 +116,7 @@ declare function implementations(axios?: AxiosInstance): {
117
116
  };
118
117
  TokenApi: {
119
118
  tokenAddToken(addApiTokenParameter: import("./Coscine.Api.Token/api").AddApiTokenParameter, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Token/api").CreatedApiTokenObject>;
119
+ tokenGetTokenValidityBounds(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Token/api").TokenValidityObject>;
120
120
  tokenGetUserToken(tokenId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Token/api").ApiTokenObject>;
121
121
  tokenGetUserTokens(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Token/api").ApiTokenObject[]>;
122
122
  tokenRevokeToken(tokenId: string, options?: any): import("axios").AxiosPromise<any>;
@@ -56,18 +56,19 @@ declare const apis: {
56
56
  projectDelete(id: string, options?: any): import("axios").AxiosPromise<any>;
57
57
  projectDeleteInvitation(invitationId: string, options?: any): import("axios").AxiosPromise<any>;
58
58
  projectGet(id: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectObject>;
59
- projectGetQuotaMax(projectId: string, resourceTypeId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").MaxProjectQuota>;
59
+ projectGetBySlug(slug: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectObject>;
60
+ projectGetQuotaMax(id: string, resourceTypeId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").MaxProjectQuota>;
60
61
  projectGetResources(id: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ResourceObject[]>;
61
62
  projectGetTopLevelProjects(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectObject[]>;
62
63
  projectIndex(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectObject[]>;
63
64
  projectListInvitations(projectId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").InvitationReturnObject[]>;
64
- projectQuota(projectId: string, resourceTypeId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectQuotaReturnObject>;
65
- projectQuotas(projectId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectQuotaReturnObject[]>;
66
- projectResolveInvitation(token: string, options?: any): import("axios").AxiosPromise<any>;
65
+ projectQuota(id: string, resourceTypeId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectQuotaReturnObject>;
66
+ projectQuotas(id: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectQuotaReturnObject[]>;
67
+ projectResolveInvitation(invitationToken: string, options?: any): import("axios").AxiosPromise<any>;
67
68
  projectSendInvitation(sendInvitationObject: import("./Coscine.Api.Project").SendInvitationObject, options?: any): import("axios").AxiosPromise<any>;
68
- projectStore(options?: any): import("axios").AxiosPromise<any>;
69
- projectUpdate(id: string, options?: any): import("axios").AxiosPromise<any>;
70
- projectUpdateQuota(projectId: string, resourceTypeId: string, updateProjectQuotaObject: import("./Coscine.Api.Project").UpdateProjectQuotaObject, options?: any): import("axios").AxiosPromise<any>;
69
+ projectStore(projectObject: import("./Coscine.Api.Project").ProjectObject, options?: any): import("axios").AxiosPromise<any>;
70
+ projectUpdate(id: string, projectObject: import("./Coscine.Api.Project").ProjectObject, options?: any): import("axios").AxiosPromise<any>;
71
+ projectUpdateQuota(id: string, resourceTypeId: string, updateProjectQuotaObject: import("./Coscine.Api.Project").UpdateProjectQuotaObject, options?: any): import("axios").AxiosPromise<any>;
71
72
  };
72
73
  ProjectRoleApi: {
73
74
  projectRoleDelete(projectId: string, userId: string, roleId: string, options?: any): import("axios").AxiosPromise<any>;
@@ -100,9 +101,7 @@ declare const apis: {
100
101
  };
101
102
  SearchApi: {
102
103
  searchSearch(encodedSearchWord: string, options?: any): import("axios").AxiosPromise<any>;
103
- searchSearchNoFilter(options?: any): import("axios").AxiosPromise<any>;
104
104
  searchSearchProject(projectId: string, encodedSearchWord: string, options?: any): import("axios").AxiosPromise<any>;
105
- searchSearchProjectNoFilter(projectId: string, options?: any): import("axios").AxiosPromise<any>;
106
105
  };
107
106
  SemanticSearchApi: {
108
107
  semanticSearchSearch(query?: string, user?: boolean, adv?: boolean, languages?: string[], options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Search").SearchResult[]>;
@@ -116,6 +115,7 @@ declare const apis: {
116
115
  };
117
116
  TokenApi: {
118
117
  tokenAddToken(addApiTokenParameter: import("./Coscine.Api.Token").AddApiTokenParameter, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Token").CreatedApiTokenObject>;
118
+ tokenGetTokenValidityBounds(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Token").TokenValidityObject>;
119
119
  tokenGetUserToken(tokenId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Token").ApiTokenObject>;
120
120
  tokenGetUserTokens(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Token").ApiTokenObject[]>;
121
121
  tokenRevokeToken(tokenId: string, options?: any): import("axios").AxiosPromise<any>;
@@ -195,18 +195,19 @@ export declare const ProjectApi: {
195
195
  projectDelete(id: string, options?: any): import("axios").AxiosPromise<any>;
196
196
  projectDeleteInvitation(invitationId: string, options?: any): import("axios").AxiosPromise<any>;
197
197
  projectGet(id: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectObject>;
198
- projectGetQuotaMax(projectId: string, resourceTypeId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").MaxProjectQuota>;
198
+ projectGetBySlug(slug: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectObject>;
199
+ projectGetQuotaMax(id: string, resourceTypeId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").MaxProjectQuota>;
199
200
  projectGetResources(id: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ResourceObject[]>;
200
201
  projectGetTopLevelProjects(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectObject[]>;
201
202
  projectIndex(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectObject[]>;
202
203
  projectListInvitations(projectId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").InvitationReturnObject[]>;
203
- projectQuota(projectId: string, resourceTypeId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectQuotaReturnObject>;
204
- projectQuotas(projectId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectQuotaReturnObject[]>;
205
- projectResolveInvitation(token: string, options?: any): import("axios").AxiosPromise<any>;
204
+ projectQuota(id: string, resourceTypeId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectQuotaReturnObject>;
205
+ projectQuotas(id: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").ProjectQuotaReturnObject[]>;
206
+ projectResolveInvitation(invitationToken: string, options?: any): import("axios").AxiosPromise<any>;
206
207
  projectSendInvitation(sendInvitationObject: import("./Coscine.Api.Project").SendInvitationObject, options?: any): import("axios").AxiosPromise<any>;
207
- projectStore(options?: any): import("axios").AxiosPromise<any>;
208
- projectUpdate(id: string, options?: any): import("axios").AxiosPromise<any>;
209
- projectUpdateQuota(projectId: string, resourceTypeId: string, updateProjectQuotaObject: import("./Coscine.Api.Project").UpdateProjectQuotaObject, options?: any): import("axios").AxiosPromise<any>;
208
+ projectStore(projectObject: import("./Coscine.Api.Project").ProjectObject, options?: any): import("axios").AxiosPromise<any>;
209
+ projectUpdate(id: string, projectObject: import("./Coscine.Api.Project").ProjectObject, options?: any): import("axios").AxiosPromise<any>;
210
+ projectUpdateQuota(id: string, resourceTypeId: string, updateProjectQuotaObject: import("./Coscine.Api.Project").UpdateProjectQuotaObject, options?: any): import("axios").AxiosPromise<any>;
210
211
  };
211
212
  export declare const ProjectRoleApi: {
212
213
  projectRoleDelete(projectId: string, userId: string, roleId: string, options?: any): import("axios").AxiosPromise<any>;
@@ -239,9 +240,7 @@ export declare const RoleApi: {
239
240
  };
240
241
  export declare const SearchApi: {
241
242
  searchSearch(encodedSearchWord: string, options?: any): import("axios").AxiosPromise<any>;
242
- searchSearchNoFilter(options?: any): import("axios").AxiosPromise<any>;
243
243
  searchSearchProject(projectId: string, encodedSearchWord: string, options?: any): import("axios").AxiosPromise<any>;
244
- searchSearchProjectNoFilter(projectId: string, options?: any): import("axios").AxiosPromise<any>;
245
244
  };
246
245
  export declare const SemanticSearchApi: {
247
246
  semanticSearchSearch(query?: string, user?: boolean, adv?: boolean, languages?: string[], options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Search").SearchResult[]>;
@@ -255,6 +254,7 @@ export declare const TitleApi: {
255
254
  };
256
255
  export declare const TokenApi: {
257
256
  tokenAddToken(addApiTokenParameter: import("./Coscine.Api.Token").AddApiTokenParameter, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Token").CreatedApiTokenObject>;
257
+ tokenGetTokenValidityBounds(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Token").TokenValidityObject>;
258
258
  tokenGetUserToken(tokenId: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Token").ApiTokenObject>;
259
259
  tokenGetUserTokens(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Token").ApiTokenObject[]>;
260
260
  tokenRevokeToken(tokenId: string, options?: any): import("axios").AxiosPromise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coscine/api-client",
3
- "version": "1.5.0",
3
+ "version": "2.0.0",
4
4
  "description": "This project contains the generated api connection classes.",
5
5
  "keywords": [
6
6
  "coscine",