@devrev/typescript-sdk 1.1.5 → 1.1.7
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.
|
@@ -543,6 +543,13 @@ export type DevUser = UserBase & {
|
|
|
543
543
|
};
|
|
544
544
|
/** dev-user-summary */
|
|
545
545
|
export type DevUserSummary = UserBaseSummary;
|
|
546
|
+
/**
|
|
547
|
+
* dev-users-get-response
|
|
548
|
+
* The response to getting the information for the Dev user.
|
|
549
|
+
*/
|
|
550
|
+
export interface DevUsersGetResponse {
|
|
551
|
+
dev_user: DevUser;
|
|
552
|
+
}
|
|
546
553
|
/**
|
|
547
554
|
* dev-users-list-response
|
|
548
555
|
* The response to listing the Dev users.
|
|
@@ -1530,6 +1537,14 @@ export type TimelineEntryBase = AtomBase & {
|
|
|
1530
1537
|
object: string;
|
|
1531
1538
|
/** The type of object that the Timeline entry belongs to. */
|
|
1532
1539
|
object_type?: TimelineEntryObjectType;
|
|
1540
|
+
/**
|
|
1541
|
+
* The visibility of the entry. If 'private', then the entry is only
|
|
1542
|
+
* visible to the creator, 'internal' is visible with the Dev
|
|
1543
|
+
* organization, 'external' is visible to the Dev organzation and Rev
|
|
1544
|
+
* users, and 'public' is visible to all. If not set, then the default
|
|
1545
|
+
* visibility is 'external'.
|
|
1546
|
+
*/
|
|
1547
|
+
visibility?: TimelineEntryVisibility;
|
|
1533
1548
|
};
|
|
1534
1549
|
/** The type of object that the Timeline entry belongs to. */
|
|
1535
1550
|
export declare enum TimelineEntryObjectType {
|
|
@@ -1976,7 +1991,7 @@ export interface WorksListResponse {
|
|
|
1976
1991
|
/** works-update-request */
|
|
1977
1992
|
export type WorksUpdateRequest = (WorksUpdateRequestIssue | WorksUpdateRequestTicket) & {
|
|
1978
1993
|
/**
|
|
1979
|
-
* Updates the part that the work applies to.
|
|
1994
|
+
* Updates the part that the work item applies to.
|
|
1980
1995
|
* @example "don:core:<partition>:devo/<dev-org-id>:<part-type>/<part-id>"
|
|
1981
1996
|
*/
|
|
1982
1997
|
applies_to_part?: string;
|
|
@@ -2261,6 +2276,18 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
2261
2276
|
* @secure
|
|
2262
2277
|
*/
|
|
2263
2278
|
devOrgAuthConnectionsUpdate: (data: DevOrgAuthConnectionsUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<DevOrgAuthConnectionsUpdateResponse, any>>;
|
|
2279
|
+
/**
|
|
2280
|
+
* @description Gets the requested user's information.
|
|
2281
|
+
*
|
|
2282
|
+
* @tags dev-users
|
|
2283
|
+
* @name DevUsersGet
|
|
2284
|
+
* @request GET:/dev-users.get
|
|
2285
|
+
* @secure
|
|
2286
|
+
*/
|
|
2287
|
+
devUsersGet: (query: {
|
|
2288
|
+
/** User ID of the requested Dev user. */
|
|
2289
|
+
id: string;
|
|
2290
|
+
}, params?: RequestParams) => Promise<AxiosResponse<DevUsersGetResponse, any>>;
|
|
2264
2291
|
/**
|
|
2265
2292
|
* @description Lists users within your organization.
|
|
2266
2293
|
*
|
|
@@ -508,6 +508,15 @@ class Api extends HttpClient {
|
|
|
508
508
|
* @secure
|
|
509
509
|
*/
|
|
510
510
|
this.devOrgAuthConnectionsUpdate = (data, params = {}) => this.request(Object.assign({ path: `/dev-orgs.auth-connections.update`, method: 'POST', body: data, secure: true, type: ContentType.Json, format: 'json' }, params));
|
|
511
|
+
/**
|
|
512
|
+
* @description Gets the requested user's information.
|
|
513
|
+
*
|
|
514
|
+
* @tags dev-users
|
|
515
|
+
* @name DevUsersGet
|
|
516
|
+
* @request GET:/dev-users.get
|
|
517
|
+
* @secure
|
|
518
|
+
*/
|
|
519
|
+
this.devUsersGet = (query, params = {}) => this.request(Object.assign({ path: `/dev-users.get`, method: 'GET', query: query, secure: true, format: 'json' }, params));
|
|
511
520
|
/**
|
|
512
521
|
* @description Lists users within your organization.
|
|
513
522
|
*
|