// This is Generated Source. import GetExtensionGrantListResponse from "../definitions/GetExtensionGrantListResponse"; import PathSegment from "../PathSegment"; export default class Grant extends PathSegment { constructor(prv: PathSegment, id?: string, service?) { super("grant", id, prv, service); } /** *

Returns the list of extension grants.

Required Permissions

PermissionDescription
ReadAccountsViewing user account info (including name, business name, address and phone number/account number)

Usage Plan Group

Light

*/ list(query?: ListQuery): Promise { return this._send({ body: undefined, ignoreId: false, method: "get", query: query, }).then((res) => { return res.json(); }); } /** *

Returns the list of extension grants.

Required Permissions

PermissionDescription
ReadAccountsViewing user account info (including name, business name, address and phone number/account number)

Usage Plan Group

Light

* return {ApiResponse} */ listRaw(query?: ListQuery): Promise { return this._send({ body: undefined, ignoreId: false, method: "get", query: query, }); } } export interface ListQuery { /** * Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' */ page?: number; /** * Indicates the page size (number of items). If not specified, the value is '100' by default */ perPage?: number; }