@devopness/sdk-js 2.164.7 → 2.164.8

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.
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ApiTokenAllowedExpiration } from './api-token-allowed-expiration';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -29,9 +28,9 @@ export interface ApiTokenProjectCreate {
29
28
  */
30
29
  role_id: number;
31
30
  /**
32
- *
33
- * @type {ApiTokenAllowedExpiration}
31
+ * The date and time when the token expires. Must be a valid date. Must be a date after <code>now</code>. Must be a date before <code>now +1 year</code>.
32
+ * @type {string}
34
33
  * @memberof ApiTokenProjectCreate
35
34
  */
36
- expires_in: ApiTokenAllowedExpiration;
35
+ expires_at: string;
37
36
  }
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ApiTokenAllowedExpiration } from './api-token-allowed-expiration';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -23,9 +22,9 @@ export interface ApiTokenProjectRotate {
23
22
  */
24
23
  id: string;
25
24
  /**
26
- *
27
- * @type {ApiTokenAllowedExpiration}
25
+ * The date and time when the token expires. Must be a valid date. Must be a date after <code>now</code>. Must be a date before <code>now +1 year</code>.
26
+ * @type {string}
28
27
  * @memberof ApiTokenProjectRotate
29
28
  */
30
- expires_in: ApiTokenAllowedExpiration;
29
+ expires_at: string;
31
30
  }
@@ -15,6 +15,6 @@
15
15
  * @enum {string}
16
16
  */
17
17
  export declare enum ApiTokenType {
18
- PersonalAccessToken = "personal-access-token",
19
- ProjectApiToken = "project-api-token"
18
+ PersonalAccessToken = "personal_access_token",
19
+ ProjectApiToken = "project_api_token"
20
20
  }
@@ -20,6 +20,6 @@ exports.ApiTokenType = void 0;
20
20
  */
21
21
  var ApiTokenType;
22
22
  (function (ApiTokenType) {
23
- ApiTokenType["PersonalAccessToken"] = "personal-access-token";
24
- ApiTokenType["ProjectApiToken"] = "project-api-token";
23
+ ApiTokenType["PersonalAccessToken"] = "personal_access_token";
24
+ ApiTokenType["ProjectApiToken"] = "project_api_token";
25
25
  })(ApiTokenType || (exports.ApiTokenType = ApiTokenType = {}));
@@ -27,7 +27,6 @@ export * from './api-error';
27
27
  export * from './api-error-errors';
28
28
  export * from './api-error-errors-field-name';
29
29
  export * from './api-token';
30
- export * from './api-token-allowed-expiration';
31
30
  export * from './api-token-project-create';
32
31
  export * from './api-token-project-rotate';
33
32
  export * from './api-token-relation';
@@ -43,7 +43,6 @@ __exportStar(require("./api-error"), exports);
43
43
  __exportStar(require("./api-error-errors"), exports);
44
44
  __exportStar(require("./api-error-errors-field-name"), exports);
45
45
  __exportStar(require("./api-token"), exports);
46
- __exportStar(require("./api-token-allowed-expiration"), exports);
47
46
  __exportStar(require("./api-token-project-create"), exports);
48
47
  __exportStar(require("./api-token-project-rotate"), exports);
49
48
  __exportStar(require("./api-token-relation"), exports);
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ApiTokenAllowedExpiration } from './api-token-allowed-expiration';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -23,9 +22,9 @@ export interface PersonalAccessTokenUserCreate {
23
22
  */
24
23
  name: string;
25
24
  /**
26
- *
27
- * @type {ApiTokenAllowedExpiration}
25
+ * The date and time when the token expires. Must be a valid date. Must be a date after <code>now</code>. Must be a date before <code>now +1 year</code>.
26
+ * @type {string}
28
27
  * @memberof PersonalAccessTokenUserCreate
29
28
  */
30
- expires_in: ApiTokenAllowedExpiration;
29
+ expires_at: string;
31
30
  }
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ApiTokenAllowedExpiration } from './api-token-allowed-expiration';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -23,9 +22,9 @@ export interface PersonalAccessTokenUserRotate {
23
22
  */
24
23
  id: string;
25
24
  /**
26
- *
27
- * @type {ApiTokenAllowedExpiration}
25
+ * The date and time when the token expires. Must be a valid date. Must be a date after <code>now</code>. Must be a date before <code>now +1 year</code>.
26
+ * @type {string}
28
27
  * @memberof PersonalAccessTokenUserRotate
29
28
  */
30
- expires_in: ApiTokenAllowedExpiration;
29
+ expires_at: string;
31
30
  }
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.7",
4
+ "version": "2.164.8",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -54,7 +54,7 @@
54
54
  "@eslint/js": "^9.34.0",
55
55
  "@openapitools/openapi-generator-cli": "^2.23.1",
56
56
  "@types/jest": "^30.0.0",
57
- "@typescript-eslint/parser": "^8.40.0",
57
+ "@typescript-eslint/parser": "^8.41.0",
58
58
  "axios-mock-adapter": "^2.1.0",
59
59
  "eslint": "^9.34.0",
60
60
  "eslint-import-resolver-typescript": "^4.4.4",
@@ -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.0.5",
65
+ "jest": "^30.1.0",
66
66
  "ts-jest": "^29.4.1",
67
67
  "typedoc": "^0.28.11",
68
68
  "typescript": "^5.9.2",
@@ -1,23 +0,0 @@
1
- /**
2
- * devopness API
3
- * Devopness API - Painless essential DevOps to everyone
4
- *
5
- * The version of the OpenAPI document: latest
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * The allowed expiration times for API Tokens.
14
- * @export
15
- * @enum {string}
16
- */
17
- export declare enum ApiTokenAllowedExpiration {
18
- _7Days = "7 days",
19
- _14Days = "14 days",
20
- _30Days = "30 days",
21
- _60Days = "60 days",
22
- _90Days = "90 days"
23
- }
@@ -1,28 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- /**
4
- * devopness API
5
- * Devopness API - Painless essential DevOps to everyone
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ApiTokenAllowedExpiration = void 0;
16
- /**
17
- * The allowed expiration times for API Tokens.
18
- * @export
19
- * @enum {string}
20
- */
21
- var ApiTokenAllowedExpiration;
22
- (function (ApiTokenAllowedExpiration) {
23
- ApiTokenAllowedExpiration["_7Days"] = "7 days";
24
- ApiTokenAllowedExpiration["_14Days"] = "14 days";
25
- ApiTokenAllowedExpiration["_30Days"] = "30 days";
26
- ApiTokenAllowedExpiration["_60Days"] = "60 days";
27
- ApiTokenAllowedExpiration["_90Days"] = "90 days";
28
- })(ApiTokenAllowedExpiration || (exports.ApiTokenAllowedExpiration = ApiTokenAllowedExpiration = {}));