Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
timzolleis committed Jul 5, 2024
2 parents 1bd1040 + d5c8359 commit 78020ee
Show file tree
Hide file tree
Showing 14 changed files with 1,889 additions and 1,389 deletions.
7 changes: 7 additions & 0 deletions packages/dashboard-node/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# @triargos/dashboard-node [1.1.0](https://github.com/triargos/sdks/compare/@triargos/dashboard-node@1.0.1...@triargos/dashboard-node@1.1.0) (2024-06-28)


### Features

* **api:** update definitions ([0cbaab1](https://github.com/triargos/sdks/commit/0cbaab1d6e052034368d86a14fbc068e4fbbdfcb))

## @triargos/dashboard-node [1.0.1](https://github.com/triargos/sdks/compare/@triargos/dashboard-node@1.0.0...@triargos/dashboard-node@1.0.1) (2024-05-17)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class CancelablePromise {
});
}
get [Symbol.toStringTag]() {
return 'Cancellable Promise';
return "Cancellable Promise";
}
then(onFulfilled, onRejected) {
return this.promise.then(onFulfilled, onRejected);
Expand Down
4 changes: 2 additions & 2 deletions packages/dashboard-node/dist/client/core/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const getQueryString = (params) => {
append(key, value.toISOString());
}
else if (Array.isArray(value)) {
value.forEach((v) => encodePair(key, v));
value.forEach(v => encodePair(key, v));
}
else if (typeof value === 'object') {
Object.entries(value).forEach(([k, v]) => encodePair(`${key}[${k}]`, v));
Expand Down Expand Up @@ -101,7 +101,7 @@ const getFormData = (options) => {
.filter(([, value]) => value !== undefined && value !== null)
.forEach(([key, value]) => {
if (Array.isArray(value)) {
value.forEach((v) => process(key, v));
value.forEach(v => process(key, v));
}
else {
process(key, value);
Expand Down
12 changes: 11 additions & 1 deletion packages/dashboard-node/dist/client/services.gen.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,19 @@ export declare class GroupsService {
* Get a group within an organization by ID
* @param data The data for the request.
* @param data.organizationId The organization's ID.
* @param data.groupId The group's ID.
* @param data.groupId
* @returns unknown A group
* @throws ApiError
*/
getGroup(data: $OpenApiTs['/v1/organizations/{organizationId}/groups/{groupId}']['get']['req']): CancelablePromise<$OpenApiTs['/v1/organizations/{organizationId}/groups/{groupId}']['get']['res'][200]>;
/**
* Get group members by ID
* Get a groups members within an organization by ID
* @param data The data for the request.
* @param data.organizationId The organization's ID.
* @param data.groupId
* @returns unknown All group members
* @throws ApiError
*/
getGroupMembers(data: $OpenApiTs['/v1/organizations/{organizationId}/groups/{groupId}/members']['get']['req']): CancelablePromise<$OpenApiTs['/v1/organizations/{organizationId}/groups/{groupId}/members']['get']['res'][200]>;
}
70 changes: 50 additions & 20 deletions packages/dashboard-node/dist/client/services.gen.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ class OrganizationsService {
410: 'This response is sent when the requested content has been permanently deleted from server, with no forwarding address.',
422: 'The request was well-formed but was unable to be followed due to semantic errors.',
429: 'The user has sent too many requests in a given amount of time ("rate limiting")',
500: 'The server has encountered a situation it does not know how to handle.',
},
500: 'The server has encountered a situation it does not know how to handle.'
}
});
}
/**
Expand All @@ -42,7 +42,7 @@ class OrganizationsService {
method: 'GET',
url: '/v1/organizations/{organizationId}',
path: {
organizationId: data.organizationId,
organizationId: data.organizationId
},
errors: {
400: 'The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).',
Expand All @@ -53,8 +53,8 @@ class OrganizationsService {
410: 'This response is sent when the requested content has been permanently deleted from server, with no forwarding address.',
422: 'The request was well-formed but was unable to be followed due to semantic errors.',
429: 'The user has sent too many requests in a given amount of time ("rate limiting")',
500: 'The server has encountered a situation it does not know how to handle.',
},
500: 'The server has encountered a situation it does not know how to handle.'
}
});
}
}
Expand All @@ -76,7 +76,7 @@ class PersonsService {
method: 'GET',
url: '/v1/organizations/{organizationId}/persons',
path: {
organizationId: data.organizationId,
organizationId: data.organizationId
},
errors: {
400: 'The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).',
Expand All @@ -87,8 +87,8 @@ class PersonsService {
410: 'This response is sent when the requested content has been permanently deleted from server, with no forwarding address.',
422: 'The request was well-formed but was unable to be followed due to semantic errors.',
429: 'The user has sent too many requests in a given amount of time ("rate limiting")',
500: 'The server has encountered a situation it does not know how to handle.',
},
500: 'The server has encountered a situation it does not know how to handle.'
}
});
}
/**
Expand All @@ -106,7 +106,7 @@ class PersonsService {
url: '/v1/organizations/{organizationId}/persons/{personId}',
path: {
organizationId: data.organizationId,
personId: data.personId,
personId: data.personId
},
errors: {
400: 'The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).',
Expand All @@ -117,8 +117,8 @@ class PersonsService {
410: 'This response is sent when the requested content has been permanently deleted from server, with no forwarding address.',
422: 'The request was well-formed but was unable to be followed due to semantic errors.',
429: 'The user has sent too many requests in a given amount of time ("rate limiting")',
500: 'The server has encountered a situation it does not know how to handle.',
},
500: 'The server has encountered a situation it does not know how to handle.'
}
});
}
/**
Expand All @@ -136,7 +136,7 @@ class PersonsService {
url: '/v1/organizations/{organizationId}/persons/{personId}/relationships',
path: {
organizationId: data.organizationId,
personId: data.personId,
personId: data.personId
},
errors: {
400: 'The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).',
Expand All @@ -147,8 +147,8 @@ class PersonsService {
410: 'This response is sent when the requested content has been permanently deleted from server, with no forwarding address.',
422: 'The request was well-formed but was unable to be followed due to semantic errors.',
429: 'The user has sent too many requests in a given amount of time ("rate limiting")',
500: 'The server has encountered a situation it does not know how to handle.',
},
500: 'The server has encountered a situation it does not know how to handle.'
}
});
}
}
Expand All @@ -170,7 +170,7 @@ class GroupsService {
method: 'GET',
url: '/v1/organizations/{organizationId}/groups',
path: {
organizationId: data.organizationId,
organizationId: data.organizationId
},
errors: {
400: 'The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).',
Expand All @@ -181,16 +181,16 @@ class GroupsService {
410: 'This response is sent when the requested content has been permanently deleted from server, with no forwarding address.',
422: 'The request was well-formed but was unable to be followed due to semantic errors.',
429: 'The user has sent too many requests in a given amount of time ("rate limiting")',
500: 'The server has encountered a situation it does not know how to handle.',
},
500: 'The server has encountered a situation it does not know how to handle.'
}
});
}
/**
* Get group by ID
* Get a group within an organization by ID
* @param data The data for the request.
* @param data.organizationId The organization's ID.
* @param data.groupId The group's ID.
* @param data.groupId
* @returns unknown A group
* @throws ApiError
*/
Expand All @@ -200,7 +200,7 @@ class GroupsService {
url: '/v1/organizations/{organizationId}/groups/{groupId}',
path: {
organizationId: data.organizationId,
groupId: data.groupId,
groupId: data.groupId
},
errors: {
400: 'The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).',
Expand All @@ -211,8 +211,38 @@ class GroupsService {
410: 'This response is sent when the requested content has been permanently deleted from server, with no forwarding address.',
422: 'The request was well-formed but was unable to be followed due to semantic errors.',
429: 'The user has sent too many requests in a given amount of time ("rate limiting")',
500: 'The server has encountered a situation it does not know how to handle.',
500: 'The server has encountered a situation it does not know how to handle.'
}
});
}
/**
* Get group members by ID
* Get a groups members within an organization by ID
* @param data The data for the request.
* @param data.organizationId The organization's ID.
* @param data.groupId
* @returns unknown All group members
* @throws ApiError
*/
getGroupMembers(data) {
return this.httpRequest.request({
method: 'GET',
url: '/v1/organizations/{organizationId}/groups/{groupId}/members',
path: {
organizationId: data.organizationId,
groupId: data.groupId
},
errors: {
400: 'The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).',
401: 'Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.',
403: "The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401 Unauthorized, the client's identity is known to the server.",
404: 'The server cannot find the requested resource.',
409: 'This response is sent when a request conflicts with the current state of the server.',
410: 'This response is sent when the requested content has been permanently deleted from server, with no forwarding address.',
422: 'The request was well-formed but was unable to be followed due to semantic errors.',
429: 'The user has sent too many requests in a given amount of time ("rate limiting")',
500: 'The server has encountered a situation it does not know how to handle.'
}
});
}
}
Expand Down
Loading

0 comments on commit 78020ee

Please sign in to comment.