@cosmotech/api-ts 5.1.0-rc2 → 5.2.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 (45) hide show
  1. package/.github/workflows/publish.yaml +2 -2
  2. package/.openapi-generator/FILES +19 -0
  3. package/.openapi-generator/VERSION +1 -1
  4. package/README.md +27 -2
  5. package/api.ts +839 -16
  6. package/base.ts +1 -1
  7. package/common.ts +3 -3
  8. package/configuration.ts +2 -1
  9. package/dist/api.d.ts +620 -102
  10. package/dist/api.js +715 -5
  11. package/dist/base.d.ts +1 -1
  12. package/dist/base.js +1 -1
  13. package/dist/common.d.ts +1 -1
  14. package/dist/common.js +1 -1
  15. package/dist/configuration.d.ts +1 -1
  16. package/dist/configuration.js +2 -2
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +1 -1
  19. package/docs/DatasetApi.md +59 -0
  20. package/docs/DatasetMemberGroup.md +25 -0
  21. package/docs/DatasetMemberUser.md +23 -0
  22. package/docs/DatasetMembers.md +23 -0
  23. package/docs/IAMInfoApi.md +95 -0
  24. package/docs/MemberGroup.md +25 -0
  25. package/docs/MemberUser.md +23 -0
  26. package/docs/Members.md +23 -0
  27. package/docs/OrganizationApi.md +52 -0
  28. package/docs/OrganizationMemberGroup.md +25 -0
  29. package/docs/OrganizationMemberUser.md +23 -0
  30. package/docs/OrganizationMembers.md +23 -0
  31. package/docs/RunnerApi.md +59 -0
  32. package/docs/RunnerMemberGroup.md +25 -0
  33. package/docs/RunnerMemberUser.md +23 -0
  34. package/docs/RunnerMembers.md +23 -0
  35. package/docs/SolutionApi.md +56 -0
  36. package/docs/SolutionMemberGroup.md +25 -0
  37. package/docs/SolutionMemberUser.md +23 -0
  38. package/docs/SolutionMembers.md +23 -0
  39. package/docs/WorkspaceApi.md +56 -0
  40. package/docs/WorkspaceMemberGroup.md +25 -0
  41. package/docs/WorkspaceMemberUser.md +23 -0
  42. package/docs/WorkspaceMembers.md +23 -0
  43. package/git_push.sh +14 -17
  44. package/index.ts +1 -1
  45. package/package.json +2 -2
package/base.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: 5.1.0-rc2
7
+ * The version of the OpenAPI document: 5.2.0
8
8
  * Contact: platform@cosmotech.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Cosmo Tech Platform API
5
5
  * Cosmo Tech Platform API
6
6
  *
7
- * The version of the OpenAPI document: 5.1.0-rc2
7
+ * The version of the OpenAPI document: 5.2.0
8
8
  * Contact: platform@cosmotech.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -120,8 +120,8 @@ export const toPathString = function (url: URL) {
120
120
  }
121
121
 
122
122
  export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
123
- return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
123
+ return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH): Promise<R> => {
124
124
  const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};
125
- return axios.request<T, R>(axiosRequestArgs);
125
+ return axios.request<T, R>(axiosRequestArgs) as Promise<R>;
126
126
  };
127
127
  }
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Cosmo Tech Platform API
4
4
  * Cosmo Tech Platform API
5
5
  *
6
- * The version of the OpenAPI document: 5.1.0-rc2
6
+ * The version of the OpenAPI document: 5.2.0
7
7
  * Contact: platform@cosmotech.com
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -98,6 +98,7 @@ export class Configuration {
98
98
  this.baseOptions = {
99
99
  ...param.baseOptions,
100
100
  headers: {
101
+ 'User-Agent': "cosmotech-api-typescript/5.2.0",
101
102
  ...param.baseOptions?.headers,
102
103
  },
103
104
  };