@devopness/sdk-js 2.13.0 → 2.14.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.
@@ -25,6 +25,7 @@ import { ResourceEventService } from './services/ResourceEventService';
25
25
  import { ActionService } from './services/ActionService';
26
26
  import { PipelineService } from './services/PipelineService';
27
27
  import { RoleService } from './services/RoleService';
28
+ import { TeamInvitationService } from './services/TeamInvitationService';
28
29
  export declare class DevopnessApiClient {
29
30
  actions: ActionService;
30
31
  applications: ApplicationService;
@@ -50,6 +51,7 @@ export declare class DevopnessApiClient {
50
51
  sslCertificates: SslCertificateService;
51
52
  static: StaticService;
52
53
  teams: TeamService;
54
+ teamInvitations: TeamInvitationService;
53
55
  users: UserService;
54
56
  variables: VariableService;
55
57
  constructor(options?: ConfigurationOptions);
@@ -28,6 +28,7 @@ const ResourceEventService_1 = require("./services/ResourceEventService");
28
28
  const ActionService_1 = require("./services/ActionService");
29
29
  const PipelineService_1 = require("./services/PipelineService");
30
30
  const RoleService_1 = require("./services/RoleService");
31
+ const TeamInvitationService_1 = require("./services/TeamInvitationService");
31
32
  class DevopnessApiClient {
32
33
  constructor(options) {
33
34
  ApiBaseService_1.ApiBaseService.configuration = new ApiBaseService_1.Configuration(options || {});
@@ -58,6 +59,7 @@ class DevopnessApiClient {
58
59
  this.sslCertificates = new SslCertificateService_1.SslCertificateService();
59
60
  this.static = new StaticService_1.StaticService();
60
61
  this.teams = new TeamService_1.TeamService();
62
+ this.teamInvitations = new TeamInvitationService_1.TeamInvitationService();
61
63
  this.users = new UserService_1.UserService();
62
64
  this.variables = new VariableService_1.VariableService();
63
65
  }
@@ -0,0 +1,24 @@
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
+ import { ApiBaseService } from "../../../services/ApiBaseService";
13
+ import { ApiResponse } from "../../../common/ApiResponse";
14
+ /**
15
+ * TeamInvitationsApiService - Auto-generated
16
+ */
17
+ export declare class TeamInvitationsApiService extends ApiBaseService {
18
+ /**
19
+ *
20
+ * @summary Accept a pending team invitation
21
+ * @param {string} teamInvitationId The ID of the team invitation.
22
+ */
23
+ acceptTeamInvitation(teamInvitationId: string): Promise<ApiResponse<void>>;
24
+ }
@@ -0,0 +1,49 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ Object.defineProperty(exports, "__esModule", { value: true });
24
+ exports.TeamInvitationsApiService = void 0;
25
+ const ApiBaseService_1 = require("../../../services/ApiBaseService");
26
+ const ApiResponse_1 = require("../../../common/ApiResponse");
27
+ const Exceptions_1 = require("../../../common/Exceptions");
28
+ /**
29
+ * TeamInvitationsApiService - Auto-generated
30
+ */
31
+ class TeamInvitationsApiService extends ApiBaseService_1.ApiBaseService {
32
+ /**
33
+ *
34
+ * @summary Accept a pending team invitation
35
+ * @param {string} teamInvitationId The ID of the team invitation.
36
+ */
37
+ acceptTeamInvitation(teamInvitationId) {
38
+ return __awaiter(this, void 0, void 0, function* () {
39
+ if (teamInvitationId === null || teamInvitationId === undefined) {
40
+ throw new Exceptions_1.ArgumentNullException('teamInvitationId', 'acceptTeamInvitation');
41
+ }
42
+ let queryString = '';
43
+ const requestUrl = '/team-invitations/{team_invitation_id}/accept' + (queryString ? `?${queryString}` : '');
44
+ const response = yield this.post(requestUrl.replace(`{${"team_invitation_id"}}`, encodeURIComponent(String(teamInvitationId))));
45
+ return new ApiResponse_1.ApiResponse(response);
46
+ });
47
+ }
48
+ }
49
+ exports.TeamInvitationsApiService = TeamInvitationsApiService;
@@ -11,25 +11,26 @@
11
11
  */
12
12
  import { ApiBaseService } from "../../../services/ApiBaseService";
13
13
  import { ApiResponse } from "../../../common/ApiResponse";
14
- import { TeamInvitation } from '../../generated/models';
15
- import { TeamInvitationCreate } from '../../generated/models';
14
+ import { Invitation } from '../../generated/models';
15
+ import { InvitationCreate } from '../../generated/models';
16
+ import { InvitationRelation } from '../../generated/models';
16
17
  /**
17
18
  * TeamsInvitationsApiService - Auto-generated
18
19
  */
19
20
  export declare class TeamsInvitationsApiService extends ApiBaseService {
20
21
  /**
21
22
  *
22
- * @summary Returns a list of pending invitations belonging to a team
23
- * @param {number} teamId Numeric ID of the team to get pending invitations from
24
- * @param {number} [page] Number of the page to be retrieved
25
- * @param {number} [perPage] Number of items returned per page
23
+ * @summary Send invitation to user email to participate to a team
24
+ * @param {number} teamId The ID of the team.
25
+ * @param {InvitationCreate} invitationCreate A JSON object containing the resource data
26
26
  */
27
- listTeamInvitations(teamId: number, page?: number, perPage?: number): Promise<ApiResponse<Array<TeamInvitation>>>;
27
+ addTeamInvitation(teamId: number, invitationCreate: InvitationCreate): Promise<ApiResponse<Invitation>>;
28
28
  /**
29
29
  *
30
- * @summary Send invitation to user email to participate to a team
31
- * @param {number} teamId Numeric ID of the team to invite an user
32
- * @param {TeamInvitationCreate} teamInvitationCreate A JSON object containing the email to send the invitation
30
+ * @summary Return a list of pending invitations belonging to a team
31
+ * @param {number} teamId The ID of the team.
32
+ * @param {number} [page] Number of the page to be retrieved
33
+ * @param {number} [perPage] Number of items returned per page
33
34
  */
34
- sendTeamInvitation(teamId: number, teamInvitationCreate: TeamInvitationCreate): Promise<ApiResponse<TeamInvitation>>;
35
+ listTeamInvitations(teamId: number, page?: number, perPage?: number): Promise<ApiResponse<Array<InvitationRelation>>>;
35
36
  }
@@ -31,8 +31,28 @@ const Exceptions_1 = require("../../../common/Exceptions");
31
31
  class TeamsInvitationsApiService extends ApiBaseService_1.ApiBaseService {
32
32
  /**
33
33
  *
34
- * @summary Returns a list of pending invitations belonging to a team
35
- * @param {number} teamId Numeric ID of the team to get pending invitations from
34
+ * @summary Send invitation to user email to participate to a team
35
+ * @param {number} teamId The ID of the team.
36
+ * @param {InvitationCreate} invitationCreate A JSON object containing the resource data
37
+ */
38
+ addTeamInvitation(teamId, invitationCreate) {
39
+ return __awaiter(this, void 0, void 0, function* () {
40
+ if (teamId === null || teamId === undefined) {
41
+ throw new Exceptions_1.ArgumentNullException('teamId', 'addTeamInvitation');
42
+ }
43
+ if (invitationCreate === null || invitationCreate === undefined) {
44
+ throw new Exceptions_1.ArgumentNullException('invitationCreate', 'addTeamInvitation');
45
+ }
46
+ let queryString = '';
47
+ const requestUrl = '/teams/{team_id}/invitations' + (queryString ? `?${queryString}` : '');
48
+ const response = yield this.post(requestUrl.replace(`{${"team_id"}}`, encodeURIComponent(String(teamId))), invitationCreate);
49
+ return new ApiResponse_1.ApiResponse(response);
50
+ });
51
+ }
52
+ /**
53
+ *
54
+ * @summary Return a list of pending invitations belonging to a team
55
+ * @param {number} teamId The ID of the team.
36
56
  * @param {number} [page] Number of the page to be retrieved
37
57
  * @param {number} [perPage] Number of items returned per page
38
58
  */
@@ -54,25 +74,5 @@ class TeamsInvitationsApiService extends ApiBaseService_1.ApiBaseService {
54
74
  return new ApiResponse_1.ApiResponse(response);
55
75
  });
56
76
  }
57
- /**
58
- *
59
- * @summary Send invitation to user email to participate to a team
60
- * @param {number} teamId Numeric ID of the team to invite an user
61
- * @param {TeamInvitationCreate} teamInvitationCreate A JSON object containing the email to send the invitation
62
- */
63
- sendTeamInvitation(teamId, teamInvitationCreate) {
64
- return __awaiter(this, void 0, void 0, function* () {
65
- if (teamId === null || teamId === undefined) {
66
- throw new Exceptions_1.ArgumentNullException('teamId', 'sendTeamInvitation');
67
- }
68
- if (teamInvitationCreate === null || teamInvitationCreate === undefined) {
69
- throw new Exceptions_1.ArgumentNullException('teamInvitationCreate', 'sendTeamInvitation');
70
- }
71
- let queryString = '';
72
- const requestUrl = '/teams/{team_id}/invitations' + (queryString ? `?${queryString}` : '');
73
- const response = yield this.post(requestUrl.replace(`{${"team_id"}}`, encodeURIComponent(String(teamId))), teamInvitationCreate);
74
- return new ApiResponse_1.ApiResponse(response);
75
- });
76
- }
77
77
  }
78
78
  exports.TeamsInvitationsApiService = TeamsInvitationsApiService;
@@ -11,16 +11,16 @@
11
11
  */
12
12
  import { ApiBaseService } from "../../../services/ApiBaseService";
13
13
  import { ApiResponse } from "../../../common/ApiResponse";
14
- import { TeamInvitation } from '../../generated/models';
14
+ import { TeamInvitationRelation } from '../../generated/models';
15
15
  /**
16
16
  * UsersTeamInvitationsApiService - Auto-generated
17
17
  */
18
18
  export declare class UsersTeamInvitationsApiService extends ApiBaseService {
19
19
  /**
20
20
  *
21
- * @summary Returns a list of all pending team invitations for the authenticated user
21
+ * @summary Return a list of all pending team invitations for the authenticated user
22
22
  * @param {number} [page] Number of the page to be retrieved
23
23
  * @param {number} [perPage] Number of items returned per page
24
24
  */
25
- listUserTeamInvitations(page?: number, perPage?: number): Promise<ApiResponse<Array<TeamInvitation>>>;
25
+ listUserTeamInvitations(page?: number, perPage?: number): Promise<ApiResponse<Array<TeamInvitationRelation>>>;
26
26
  }
@@ -30,7 +30,7 @@ const ApiResponse_1 = require("../../../common/ApiResponse");
30
30
  class UsersTeamInvitationsApiService extends ApiBaseService_1.ApiBaseService {
31
31
  /**
32
32
  *
33
- * @summary Returns a list of all pending team invitations for the authenticated user
33
+ * @summary Return a list of all pending team invitations for the authenticated user
34
34
  * @param {number} [page] Number of the page to be retrieved
35
35
  * @param {number} [perPage] Number of items returned per page
36
36
  */
@@ -44,7 +44,7 @@ class UsersTeamInvitationsApiService extends ApiBaseService_1.ApiBaseService {
44
44
  }
45
45
  queryString += (queryString ? '&' : '') + `${key}=${encodeURI(queryParams[key])}`;
46
46
  }
47
- const requestUrl = '/users/teams/invitations' + (queryString ? `?${queryString}` : '');
47
+ const requestUrl = '/users/team-invitations' + (queryString ? `?${queryString}` : '');
48
48
  const response = yield this.get(requestUrl);
49
49
  return new ApiResponse_1.ApiResponse(response);
50
50
  });
@@ -101,6 +101,9 @@ export * from './hook-request-relation';
101
101
  export * from './hook-type';
102
102
  export * from './hook-variable';
103
103
  export * from './hook-variable-type';
104
+ export * from './invitation';
105
+ export * from './invitation-create';
106
+ export * from './invitation-relation';
104
107
  export * from './language';
105
108
  export * from './language-runtime';
106
109
  export * from './language-runtime-framework';
@@ -190,6 +193,7 @@ export * from './team';
190
193
  export * from './team-create';
191
194
  export * from './team-invitation';
192
195
  export * from './team-invitation-create';
196
+ export * from './team-invitation-relation';
193
197
  export * from './team-invitation-status';
194
198
  export * from './team-relation';
195
199
  export * from './team-update';
@@ -117,6 +117,9 @@ __exportStar(require("./hook-request-relation"), exports);
117
117
  __exportStar(require("./hook-type"), exports);
118
118
  __exportStar(require("./hook-variable"), exports);
119
119
  __exportStar(require("./hook-variable-type"), exports);
120
+ __exportStar(require("./invitation"), exports);
121
+ __exportStar(require("./invitation-create"), exports);
122
+ __exportStar(require("./invitation-relation"), exports);
120
123
  __exportStar(require("./language"), exports);
121
124
  __exportStar(require("./language-runtime"), exports);
122
125
  __exportStar(require("./language-runtime-framework"), exports);
@@ -206,6 +209,7 @@ __exportStar(require("./team"), exports);
206
209
  __exportStar(require("./team-create"), exports);
207
210
  __exportStar(require("./team-invitation"), exports);
208
211
  __exportStar(require("./team-invitation-create"), exports);
212
+ __exportStar(require("./team-invitation-relation"), exports);
209
213
  __exportStar(require("./team-invitation-status"), exports);
210
214
  __exportStar(require("./team-relation"), exports);
211
215
  __exportStar(require("./team-update"), exports);
@@ -0,0 +1,24 @@
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
+ *
14
+ * @export
15
+ * @interface InvitationCreate
16
+ */
17
+ export interface InvitationCreate {
18
+ /**
19
+ * The user email to send the invitation. Must be a valid email address.
20
+ * @type {string}
21
+ * @memberof InvitationCreate
22
+ */
23
+ email: string;
24
+ }
@@ -0,0 +1,14 @@
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 });
@@ -0,0 +1,100 @@
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
+ import { ProjectRelation } from './project-relation';
13
+ import { TeamInvitationStatus } from './team-invitation-status';
14
+ import { TeamRelation } from './team-relation';
15
+ import { UserRelation } from './user-relation';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface InvitationRelation
20
+ */
21
+ export interface InvitationRelation {
22
+ /**
23
+ * The unique UUID of the given invitation
24
+ * @type {string}
25
+ * @memberof InvitationRelation
26
+ */
27
+ id: string;
28
+ /**
29
+ * The email of the user that has been invited to team
30
+ * @type {string}
31
+ * @memberof InvitationRelation
32
+ */
33
+ email: string;
34
+ /**
35
+ *
36
+ * @type {TeamInvitationStatus}
37
+ * @memberof InvitationRelation
38
+ */
39
+ status: TeamInvitationStatus;
40
+ /**
41
+ * Human readable version of the invitation status
42
+ * @type {string}
43
+ * @memberof InvitationRelation
44
+ */
45
+ status_human_readable: string;
46
+ /**
47
+ * The IP of the user who accepted the invitation
48
+ * @type {string}
49
+ * @memberof InvitationRelation
50
+ */
51
+ accepted_from_ip: string | null;
52
+ /**
53
+ *
54
+ * @type {UserRelation}
55
+ * @memberof InvitationRelation
56
+ */
57
+ created_by_user: UserRelation;
58
+ /**
59
+ *
60
+ * @type {UserRelation}
61
+ * @memberof InvitationRelation
62
+ */
63
+ user: UserRelation;
64
+ /**
65
+ *
66
+ * @type {TeamRelation}
67
+ * @memberof InvitationRelation
68
+ */
69
+ team: TeamRelation;
70
+ /**
71
+ *
72
+ * @type {ProjectRelation}
73
+ * @memberof InvitationRelation
74
+ */
75
+ project: ProjectRelation;
76
+ /**
77
+ * The date and time when the invitation was accepted
78
+ * @type {string}
79
+ * @memberof InvitationRelation
80
+ */
81
+ accepted_at: string | null;
82
+ /**
83
+ * The date and time when the invitation will expire
84
+ * @type {string}
85
+ * @memberof InvitationRelation
86
+ */
87
+ expires_at: string;
88
+ /**
89
+ * The date and time when the record was created
90
+ * @type {string}
91
+ * @memberof InvitationRelation
92
+ */
93
+ created_at: string;
94
+ /**
95
+ * The date and time when the record was last updated
96
+ * @type {string}
97
+ * @memberof InvitationRelation
98
+ */
99
+ updated_at: string;
100
+ }
@@ -0,0 +1,14 @@
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 });
@@ -0,0 +1,93 @@
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
+ import { TeamInvitationStatus } from './team-invitation-status';
13
+ import { TeamRelation } from './team-relation';
14
+ import { UserRelation } from './user-relation';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface Invitation
19
+ */
20
+ export interface Invitation {
21
+ /**
22
+ * The unique UUID of the given invitation
23
+ * @type {string}
24
+ * @memberof Invitation
25
+ */
26
+ id: string;
27
+ /**
28
+ * The email of the user that has been invited to team
29
+ * @type {string}
30
+ * @memberof Invitation
31
+ */
32
+ email: string;
33
+ /**
34
+ *
35
+ * @type {TeamInvitationStatus}
36
+ * @memberof Invitation
37
+ */
38
+ status: TeamInvitationStatus;
39
+ /**
40
+ * Human readable version of the invitation status
41
+ * @type {string}
42
+ * @memberof Invitation
43
+ */
44
+ status_human_readable: string;
45
+ /**
46
+ * The IP of the user who accepted the invitation
47
+ * @type {string}
48
+ * @memberof Invitation
49
+ */
50
+ accepted_from_ip: string | null;
51
+ /**
52
+ *
53
+ * @type {UserRelation}
54
+ * @memberof Invitation
55
+ */
56
+ created_by_user: UserRelation;
57
+ /**
58
+ *
59
+ * @type {UserRelation}
60
+ * @memberof Invitation
61
+ */
62
+ user: UserRelation;
63
+ /**
64
+ *
65
+ * @type {TeamRelation}
66
+ * @memberof Invitation
67
+ */
68
+ team: TeamRelation;
69
+ /**
70
+ * The date and time when the invitation was accepted
71
+ * @type {string}
72
+ * @memberof Invitation
73
+ */
74
+ accepted_at: string | null;
75
+ /**
76
+ * The date and time when the invitation will expire
77
+ * @type {string}
78
+ * @memberof Invitation
79
+ */
80
+ expires_at: string;
81
+ /**
82
+ * The date and time when the record was created
83
+ * @type {string}
84
+ * @memberof Invitation
85
+ */
86
+ created_at: string;
87
+ /**
88
+ * The date and time when the record was last updated
89
+ * @type {string}
90
+ * @memberof Invitation
91
+ */
92
+ updated_at: string;
93
+ }
@@ -0,0 +1,14 @@
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 });
@@ -0,0 +1,100 @@
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
+ import { ProjectRelation } from './project-relation';
13
+ import { TeamInvitationStatus } from './team-invitation-status';
14
+ import { TeamRelation } from './team-relation';
15
+ import { UserRelation } from './user-relation';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface TeamInvitationRelation
20
+ */
21
+ export interface TeamInvitationRelation {
22
+ /**
23
+ * The unique UUID of the given invitation
24
+ * @type {string}
25
+ * @memberof TeamInvitationRelation
26
+ */
27
+ id: string;
28
+ /**
29
+ * The email of the user that has been invited to team
30
+ * @type {string}
31
+ * @memberof TeamInvitationRelation
32
+ */
33
+ email: string;
34
+ /**
35
+ *
36
+ * @type {TeamInvitationStatus}
37
+ * @memberof TeamInvitationRelation
38
+ */
39
+ status: TeamInvitationStatus;
40
+ /**
41
+ * Human readable version of the invitation status
42
+ * @type {string}
43
+ * @memberof TeamInvitationRelation
44
+ */
45
+ status_human_readable: string;
46
+ /**
47
+ * The IP of the user who accepted the invitation
48
+ * @type {string}
49
+ * @memberof TeamInvitationRelation
50
+ */
51
+ accepted_from_ip: string | null;
52
+ /**
53
+ *
54
+ * @type {UserRelation}
55
+ * @memberof TeamInvitationRelation
56
+ */
57
+ created_by_user: UserRelation;
58
+ /**
59
+ *
60
+ * @type {UserRelation}
61
+ * @memberof TeamInvitationRelation
62
+ */
63
+ user: UserRelation;
64
+ /**
65
+ *
66
+ * @type {TeamRelation}
67
+ * @memberof TeamInvitationRelation
68
+ */
69
+ team: TeamRelation;
70
+ /**
71
+ *
72
+ * @type {ProjectRelation}
73
+ * @memberof TeamInvitationRelation
74
+ */
75
+ project: ProjectRelation;
76
+ /**
77
+ * The date and time when the invitation was accepted
78
+ * @type {string}
79
+ * @memberof TeamInvitationRelation
80
+ */
81
+ accepted_at: string | null;
82
+ /**
83
+ * The date and time when the invitation will expire
84
+ * @type {string}
85
+ * @memberof TeamInvitationRelation
86
+ */
87
+ expires_at: string;
88
+ /**
89
+ * The date and time when the record was created
90
+ * @type {string}
91
+ * @memberof TeamInvitationRelation
92
+ */
93
+ created_at: string;
94
+ /**
95
+ * The date and time when the record was last updated
96
+ * @type {string}
97
+ * @memberof TeamInvitationRelation
98
+ */
99
+ updated_at: string;
100
+ }
@@ -0,0 +1,14 @@
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 });
@@ -0,0 +1,3 @@
1
+ import { TeamInvitationsApiService } from '../api/generated/apis/team-invitations-api';
2
+ export declare class TeamInvitationService extends TeamInvitationsApiService {
3
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TeamInvitationService = void 0;
4
+ const team_invitations_api_1 = require("../api/generated/apis/team-invitations-api");
5
+ class TeamInvitationService extends team_invitations_api_1.TeamInvitationsApiService {
6
+ }
7
+ exports.TeamInvitationService = TeamInvitationService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.13.0",
3
+ "version": "2.14.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },