@devopness/sdk-js 2.164.8 → 2.164.9

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.
@@ -17,26 +17,26 @@ import { ApiTokenProjectRotate } from '../../generated/models';
17
17
  import { ApiTokenRelation } from '../../generated/models';
18
18
  import { ApiTokenRotateResponse } from '../../generated/models';
19
19
  /**
20
- * ProjectsApiTokensApiService - Auto-generated
20
+ * ProjectsAPITokensApiService - Auto-generated
21
21
  */
22
- export declare class ProjectsApiTokensApiService extends ApiBaseService {
22
+ export declare class ProjectsAPITokensApiService extends ApiBaseService {
23
23
  /**
24
24
  *
25
- * @summary Create a new api token for specific project.
25
+ * @summary Create a new API token for specific project.
26
26
  * @param {number} projectId The ID of the project.
27
27
  * @param {ApiTokenProjectCreate} apiTokenProjectCreate A JSON object containing the resource data
28
28
  */
29
29
  addProjectApiToken(projectId: number, apiTokenProjectCreate: ApiTokenProjectCreate): Promise<ApiResponse<ApiToken>>;
30
30
  /**
31
31
  *
32
- * @summary Get details of a specific project api token.
32
+ * @summary Get details of a specific project API token.
33
33
  * @param {number} projectId The ID of the project.
34
34
  * @param {string} tokenId The ID of the token.
35
35
  */
36
36
  getProjectApiToken(projectId: number, tokenId: string): Promise<ApiResponse<ApiToken>>;
37
37
  /**
38
38
  *
39
- * @summary List the api tokens of specific project.
39
+ * @summary List the API tokens of specific project.
40
40
  * @param {number} projectId The ID of the project.
41
41
  * @param {number} [page] Number of the page to be retrieved
42
42
  * @param {number} [perPage] Number of items returned per page
@@ -44,14 +44,14 @@ export declare class ProjectsApiTokensApiService extends ApiBaseService {
44
44
  listProjectApiTokens(projectId: number, page?: number, perPage?: number): Promise<ApiResponse<Array<ApiTokenRelation>>>;
45
45
  /**
46
46
  *
47
- * @summary Revoke a specific project api token.
47
+ * @summary Revoke a specific project API token.
48
48
  * @param {number} projectId The ID of the project.
49
49
  * @param {string} tokenId The ID of the token.
50
50
  */
51
51
  revokeProjectApiToken(projectId: number, tokenId: string): Promise<ApiResponse<void>>;
52
52
  /**
53
53
  *
54
- * @summary Rotate a specific project api token.
54
+ * @summary Rotate a specific project API token.
55
55
  * @param {number} projectId The ID of the project.
56
56
  * @param {string} tokenId The ID of the token.
57
57
  * @param {ApiTokenProjectRotate} apiTokenProjectRotate A JSON object containing the resource data
@@ -21,17 +21,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  Object.defineProperty(exports, "__esModule", { value: true });
24
- exports.ProjectsApiTokensApiService = void 0;
24
+ exports.ProjectsAPITokensApiService = void 0;
25
25
  const ApiBaseService_1 = require("../../../services/ApiBaseService");
26
26
  const ApiResponse_1 = require("../../../common/ApiResponse");
27
27
  const Exceptions_1 = require("../../../common/Exceptions");
28
28
  /**
29
- * ProjectsApiTokensApiService - Auto-generated
29
+ * ProjectsAPITokensApiService - Auto-generated
30
30
  */
31
- class ProjectsApiTokensApiService extends ApiBaseService_1.ApiBaseService {
31
+ class ProjectsAPITokensApiService extends ApiBaseService_1.ApiBaseService {
32
32
  /**
33
33
  *
34
- * @summary Create a new api token for specific project.
34
+ * @summary Create a new API token for specific project.
35
35
  * @param {number} projectId The ID of the project.
36
36
  * @param {ApiTokenProjectCreate} apiTokenProjectCreate A JSON object containing the resource data
37
37
  */
@@ -51,7 +51,7 @@ class ProjectsApiTokensApiService extends ApiBaseService_1.ApiBaseService {
51
51
  }
52
52
  /**
53
53
  *
54
- * @summary Get details of a specific project api token.
54
+ * @summary Get details of a specific project API token.
55
55
  * @param {number} projectId The ID of the project.
56
56
  * @param {string} tokenId The ID of the token.
57
57
  */
@@ -71,7 +71,7 @@ class ProjectsApiTokensApiService extends ApiBaseService_1.ApiBaseService {
71
71
  }
72
72
  /**
73
73
  *
74
- * @summary List the api tokens of specific project.
74
+ * @summary List the API tokens of specific project.
75
75
  * @param {number} projectId The ID of the project.
76
76
  * @param {number} [page] Number of the page to be retrieved
77
77
  * @param {number} [perPage] Number of items returned per page
@@ -96,7 +96,7 @@ class ProjectsApiTokensApiService extends ApiBaseService_1.ApiBaseService {
96
96
  }
97
97
  /**
98
98
  *
99
- * @summary Revoke a specific project api token.
99
+ * @summary Revoke a specific project API token.
100
100
  * @param {number} projectId The ID of the project.
101
101
  * @param {string} tokenId The ID of the token.
102
102
  */
@@ -116,7 +116,7 @@ class ProjectsApiTokensApiService extends ApiBaseService_1.ApiBaseService {
116
116
  }
117
117
  /**
118
118
  *
119
- * @summary Rotate a specific project api token.
119
+ * @summary Rotate a specific project API token.
120
120
  * @param {number} projectId The ID of the project.
121
121
  * @param {string} tokenId The ID of the token.
122
122
  * @param {ApiTokenProjectRotate} apiTokenProjectRotate A JSON object containing the resource data
@@ -139,4 +139,4 @@ class ProjectsApiTokensApiService extends ApiBaseService_1.ApiBaseService {
139
139
  });
140
140
  }
141
141
  }
142
- exports.ProjectsApiTokensApiService = ProjectsApiTokensApiService;
142
+ exports.ProjectsAPITokensApiService = ProjectsAPITokensApiService;
@@ -1,7 +1,7 @@
1
1
  import { ApiBaseService } from "./ApiBaseService";
2
- import { ProjectsApiTokensApiService } from "../api/generated/apis/projects-api-tokens-api";
2
+ import { ProjectsAPITokensApiService } from "../api/generated/apis/projects-apitokens-api";
3
3
  import { UsersPersonalAccessTokensApiService } from "../api/generated/apis/users-personal-access-tokens-api";
4
4
  export declare class ApiTokenService extends ApiBaseService {
5
5
  }
6
- export interface ApiTokenService extends ProjectsApiTokensApiService, UsersPersonalAccessTokensApiService {
6
+ export interface ApiTokenService extends ProjectsAPITokensApiService, UsersPersonalAccessTokensApiService {
7
7
  }
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ApiTokenService = void 0;
4
4
  const ApiBaseService_1 = require("./ApiBaseService");
5
5
  const MergeSiblingClasses_1 = require("../common/MergeSiblingClasses");
6
- const projects_api_tokens_api_1 = require("../api/generated/apis/projects-api-tokens-api");
6
+ const projects_apitokens_api_1 = require("../api/generated/apis/projects-apitokens-api");
7
7
  const users_personal_access_tokens_api_1 = require("../api/generated/apis/users-personal-access-tokens-api");
8
8
  // eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging
9
9
  class ApiTokenService extends ApiBaseService_1.ApiBaseService {
10
10
  }
11
11
  exports.ApiTokenService = ApiTokenService;
12
12
  (0, MergeSiblingClasses_1.mergeSiblingClasses)(ApiTokenService, [
13
- projects_api_tokens_api_1.ProjectsApiTokensApiService,
13
+ projects_apitokens_api_1.ProjectsAPITokensApiService,
14
14
  users_personal_access_tokens_api_1.UsersPersonalAccessTokensApiService,
15
15
  ]);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@devopness/sdk-js",
4
- "version": "2.164.8",
4
+ "version": "2.164.9",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -62,7 +62,7 @@
62
62
  "eslint-plugin-n": "^17.21.3",
63
63
  "eslint-plugin-promise": "^7.2.1",
64
64
  "husky": "9.1.7",
65
- "jest": "^30.1.0",
65
+ "jest": "^30.1.1",
66
66
  "ts-jest": "^29.4.1",
67
67
  "typedoc": "^0.28.11",
68
68
  "typescript": "^5.9.2",