@teemill/projects 1.12.1 → 1.12.4

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 (117) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +2 -2
  4. package/dist/apis/ProjectsApi.d.ts +4 -4
  5. package/dist/apis/ProjectsApi.js +517 -927
  6. package/dist/esm/apis/ProjectsApi.d.ts +241 -0
  7. package/dist/esm/apis/ProjectsApi.js +701 -0
  8. package/dist/esm/apis/index.d.ts +1 -0
  9. package/dist/esm/apis/index.js +3 -0
  10. package/dist/esm/index.d.ts +3 -0
  11. package/dist/esm/index.js +5 -0
  12. package/dist/esm/models/ApiError.d.ts +37 -0
  13. package/dist/esm/models/ApiError.js +42 -0
  14. package/dist/esm/models/CreateInviteRequest.d.ts +31 -0
  15. package/dist/esm/models/CreateInviteRequest.js +40 -0
  16. package/dist/esm/models/CreateProjectRequest.d.ts +43 -0
  17. package/dist/esm/models/CreateProjectRequest.js +44 -0
  18. package/dist/esm/models/CreateUserRequest.d.ts +56 -0
  19. package/dist/esm/models/CreateUserRequest.js +55 -0
  20. package/dist/esm/models/CreateUserRequestAvatar.d.ts +31 -0
  21. package/dist/esm/models/CreateUserRequestAvatar.js +43 -0
  22. package/dist/esm/models/InstallTemplateRequest.d.ts +31 -0
  23. package/dist/esm/models/InstallTemplateRequest.js +38 -0
  24. package/dist/esm/models/Integration.d.ts +49 -0
  25. package/dist/esm/models/Integration.js +47 -0
  26. package/dist/esm/models/IntegrationInfo.d.ts +49 -0
  27. package/dist/esm/models/IntegrationInfo.js +52 -0
  28. package/dist/esm/models/IntegrationsResponse.d.ts +32 -0
  29. package/dist/esm/models/IntegrationsResponse.js +41 -0
  30. package/dist/esm/models/Project.d.ts +50 -0
  31. package/dist/esm/models/Project.js +51 -0
  32. package/dist/esm/models/ProjectInvite.d.ts +56 -0
  33. package/dist/esm/models/ProjectInvite.js +57 -0
  34. package/dist/esm/models/ProjectInvites.d.ts +38 -0
  35. package/dist/esm/models/ProjectInvites.js +45 -0
  36. package/dist/esm/models/ProjectLogo.d.ts +37 -0
  37. package/dist/esm/models/ProjectLogo.js +40 -0
  38. package/dist/esm/models/ProjectUser.d.ts +83 -0
  39. package/dist/esm/models/ProjectUser.js +75 -0
  40. package/dist/esm/models/ProjectUserAvatar.d.ts +31 -0
  41. package/dist/esm/models/ProjectUserAvatar.js +38 -0
  42. package/dist/esm/models/ProjectUsers.d.ts +38 -0
  43. package/dist/esm/models/ProjectUsers.js +45 -0
  44. package/dist/esm/models/ProjectsResponse.d.ts +32 -0
  45. package/dist/esm/models/ProjectsResponse.js +41 -0
  46. package/dist/esm/models/SetupIntegrationRequest.d.ts +31 -0
  47. package/dist/esm/models/SetupIntegrationRequest.js +40 -0
  48. package/dist/esm/models/UpdateProjectRequest.d.ts +31 -0
  49. package/dist/esm/models/UpdateProjectRequest.js +38 -0
  50. package/dist/esm/models/UpdateUserRequest.d.ts +56 -0
  51. package/dist/esm/models/UpdateUserRequest.js +52 -0
  52. package/dist/esm/models/UpdateUserRequestAvatar.d.ts +31 -0
  53. package/dist/esm/models/UpdateUserRequestAvatar.js +43 -0
  54. package/dist/esm/models/index.d.ts +16 -0
  55. package/dist/esm/models/index.js +18 -0
  56. package/dist/esm/runtime.d.ts +187 -0
  57. package/dist/esm/runtime.js +333 -0
  58. package/dist/models/ApiError.d.ts +1 -1
  59. package/dist/models/ApiError.js +1 -1
  60. package/dist/models/CreateInviteRequest.d.ts +1 -1
  61. package/dist/models/CreateInviteRequest.js +1 -1
  62. package/dist/models/CreateProjectRequest.d.ts +1 -1
  63. package/dist/models/CreateProjectRequest.js +1 -1
  64. package/dist/models/CreateUserRequest.js +3 -3
  65. package/dist/models/CreateUserRequestAvatar.js +2 -2
  66. package/dist/models/InstallTemplateRequest.d.ts +1 -1
  67. package/dist/models/InstallTemplateRequest.js +1 -1
  68. package/dist/models/Integration.d.ts +2 -2
  69. package/dist/models/Integration.js +1 -1
  70. package/dist/models/IntegrationInfo.js +1 -1
  71. package/dist/models/IntegrationsResponse.d.ts +1 -1
  72. package/dist/models/IntegrationsResponse.js +2 -2
  73. package/dist/models/Project.d.ts +2 -2
  74. package/dist/models/Project.js +2 -2
  75. package/dist/models/ProjectInvite.d.ts +1 -1
  76. package/dist/models/ProjectInvite.js +2 -2
  77. package/dist/models/ProjectInvites.d.ts +1 -1
  78. package/dist/models/ProjectInvites.js +2 -2
  79. package/dist/models/ProjectLogo.d.ts +1 -1
  80. package/dist/models/ProjectLogo.js +1 -1
  81. package/dist/models/ProjectUser.d.ts +1 -1
  82. package/dist/models/ProjectUser.js +2 -2
  83. package/dist/models/ProjectUserAvatar.d.ts +1 -1
  84. package/dist/models/ProjectUserAvatar.js +1 -1
  85. package/dist/models/ProjectUsers.d.ts +1 -1
  86. package/dist/models/ProjectUsers.js +2 -2
  87. package/dist/models/ProjectsResponse.d.ts +1 -1
  88. package/dist/models/ProjectsResponse.js +2 -2
  89. package/dist/models/SetupIntegrationRequest.d.ts +1 -1
  90. package/dist/models/SetupIntegrationRequest.js +1 -1
  91. package/dist/models/UpdateProjectRequest.d.ts +1 -1
  92. package/dist/models/UpdateProjectRequest.js +1 -1
  93. package/dist/models/UpdateUserRequest.js +3 -3
  94. package/dist/models/UpdateUserRequestAvatar.js +2 -2
  95. package/dist/runtime.d.ts +1 -1
  96. package/dist/runtime.js +223 -439
  97. package/package.json +4 -2
  98. package/src/apis/ProjectsApi.ts +6 -8
  99. package/src/models/ApiError.ts +1 -1
  100. package/src/models/CreateInviteRequest.ts +1 -1
  101. package/src/models/CreateProjectRequest.ts +1 -1
  102. package/src/models/InstallTemplateRequest.ts +1 -1
  103. package/src/models/Integration.ts +2 -2
  104. package/src/models/IntegrationsResponse.ts +1 -1
  105. package/src/models/Project.ts +2 -2
  106. package/src/models/ProjectInvite.ts +1 -1
  107. package/src/models/ProjectInvites.ts +1 -1
  108. package/src/models/ProjectLogo.ts +1 -1
  109. package/src/models/ProjectUser.ts +1 -1
  110. package/src/models/ProjectUserAvatar.ts +1 -1
  111. package/src/models/ProjectUsers.ts +1 -1
  112. package/src/models/ProjectsResponse.ts +1 -1
  113. package/src/models/SetupIntegrationRequest.ts +1 -1
  114. package/src/models/UpdateProjectRequest.ts +1 -1
  115. package/src/runtime.ts +1 -1
  116. package/tsconfig.esm.json +7 -0
  117. package/tsconfig.json +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/projects",
3
- "version": "1.12.1",
3
+ "version": "1.12.4",
4
4
  "description": "OpenAPI client for @teemill/projects",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -9,8 +9,10 @@
9
9
  },
10
10
  "main": "./dist/index.js",
11
11
  "typings": "./dist/index.d.ts",
12
+ "module": "./dist/esm/index.js",
13
+ "sideEffects": false,
12
14
  "scripts": {
13
- "build": "tsc",
15
+ "build": "tsc && tsc -p tsconfig.esm.json",
14
16
  "prepare": "npm run build"
15
17
  },
16
18
  "devDependencies": {
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.12.1
7
+ * The version of the OpenAPI document: 1.12.4
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -85,7 +85,7 @@ export interface GetIntegrationRequest {
85
85
 
86
86
  export interface GetIntegrationsRequest {
87
87
  project: string;
88
- withUninstalled?: boolean;
88
+ withUninstalled?: string;
89
89
  }
90
90
 
91
91
  export interface GetInvitesRequest {
@@ -302,7 +302,7 @@ export class ProjectsApi extends runtime.BaseAPI {
302
302
  * Delete a project
303
303
  * Delete project
304
304
  */
305
- async deleteProjectRaw(requestParameters: DeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Project>> {
305
+ async deleteProjectRaw(requestParameters: DeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
306
306
  if (requestParameters.project === null || requestParameters.project === undefined) {
307
307
  throw new runtime.RequiredError('project','Required parameter requestParameters.project was null or undefined when calling deleteProject.');
308
308
  }
@@ -327,7 +327,7 @@ export class ProjectsApi extends runtime.BaseAPI {
327
327
  query: queryParameters,
328
328
  }, initOverrides);
329
329
 
330
- return new runtime.JSONApiResponse(response, (jsonValue) => ProjectFromJSON(jsonValue));
330
+ return new runtime.VoidApiResponse(response);
331
331
  }
332
332
 
333
333
  /**
@@ -337,15 +337,13 @@ export class ProjectsApi extends runtime.BaseAPI {
337
337
  async deleteProject(
338
338
  project: string,
339
339
  initOverrides?: RequestInit | runtime.InitOverrideFunction
340
- ): Promise<Project> {
341
- const response = await this.deleteProjectRaw(
340
+ ): Promise<void> {
341
+ await this.deleteProjectRaw(
342
342
  {
343
343
  project: project,
344
344
  },
345
345
  initOverrides
346
346
  );
347
-
348
- return await response.value();
349
347
  }
350
348
 
351
349
  /**
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.12.1
7
+ * The version of the OpenAPI document: 1.12.4
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.12.1
7
+ * The version of the OpenAPI document: 1.12.4
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.12.1
7
+ * The version of the OpenAPI document: 1.12.4
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.12.1
7
+ * The version of the OpenAPI document: 1.12.4
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.12.1
7
+ * The version of the OpenAPI document: 1.12.4
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -71,7 +71,7 @@ export function IntegrationFromJSONTyped(json: any, ignoreDiscriminator: boolean
71
71
  };
72
72
  }
73
73
 
74
- export function IntegrationToJSON(value?: Integration | null): any {
74
+ export function IntegrationToJSON(value?: Omit<Integration, 'id'> | null): any {
75
75
  if (value == null) {
76
76
  return value;
77
77
  }
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.12.1
7
+ * The version of the OpenAPI document: 1.12.4
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.12.1
7
+ * The version of the OpenAPI document: 1.12.4
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -43,7 +43,7 @@ export interface Project {
43
43
  * @type {ProjectLogo}
44
44
  * @memberof Project
45
45
  */
46
- logo: ProjectLogo;
46
+ logo: ProjectLogo | null;
47
47
  /**
48
48
  *
49
49
  * @type {Array<string>}
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.12.1
7
+ * The version of the OpenAPI document: 1.12.4
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.12.1
7
+ * The version of the OpenAPI document: 1.12.4
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.12.1
7
+ * The version of the OpenAPI document: 1.12.4
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.12.1
7
+ * The version of the OpenAPI document: 1.12.4
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.12.1
7
+ * The version of the OpenAPI document: 1.12.4
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.12.1
7
+ * The version of the OpenAPI document: 1.12.4
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.12.1
7
+ * The version of the OpenAPI document: 1.12.4
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.12.1
7
+ * The version of the OpenAPI document: 1.12.4
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.12.1
7
+ * The version of the OpenAPI document: 1.12.4
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/src/runtime.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Projects API
5
5
  * Manage Teemill Projects For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
6
6
  *
7
- * The version of the OpenAPI document: 1.12.1
7
+ * The version of the OpenAPI document: 1.12.4
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,7 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "module": "esnext",
5
+ "outDir": "dist/esm"
6
+ }
7
+ }
package/tsconfig.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "declaration": true,
4
- "target": "es5",
4
+ "target": "es6",
5
5
  "module": "commonjs",
6
6
  "moduleResolution": "node",
7
7
  "outDir": "dist",
8
8
  "lib": [
9
- "es6",
9
+ "esnext",
10
10
  "dom"
11
11
  ],
12
12
  "typeRoots": [