Skip to content

Commit 88bf4bc

Browse files
committed
reverted empty object values
Signed-off-by: Sridhar G K <[email protected]>
1 parent 46f5bcf commit 88bf4bc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

direct-link/v1.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -346,11 +346,11 @@ class DirectLinkV1 extends BaseService {
346346
* @param {Object} params - The parameters to send to the service.
347347
* @param {string} params.id - Direct Link gateway identifier.
348348
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
349-
* @returns {Promise<DirectLinkV1.Response<DirectLinkV1.EmptyObject>>}
349+
* @returns {Promise<DirectLinkV1.Response<DirectLinkV1.Empty>>}
350350
*/
351351
public deleteGateway(
352352
params: DirectLinkV1.DeleteGatewayParams
353-
): Promise<DirectLinkV1.Response<DirectLinkV1.EmptyObject>> {
353+
): Promise<DirectLinkV1.Response<DirectLinkV1.Empty>> {
354354
const _params = { ...params };
355355
const requiredParams = ['id'];
356356

@@ -744,11 +744,11 @@ class DirectLinkV1 extends BaseService {
744744
* @param {NodeJS.ReadableStream | Buffer} [params.upload] - Completion notice PDF file.
745745
* @param {string} [params.uploadContentType] - The content type of upload.
746746
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
747-
* @returns {Promise<DirectLinkV1.Response<DirectLinkV1.EmptyObject>>}
747+
* @returns {Promise<DirectLinkV1.Response<DirectLinkV1.Empty>>}
748748
*/
749749
public createGatewayCompletionNotice(
750750
params: DirectLinkV1.CreateGatewayCompletionNoticeParams
751-
): Promise<DirectLinkV1.Response<DirectLinkV1.EmptyObject>> {
751+
): Promise<DirectLinkV1.Response<DirectLinkV1.Empty>> {
752752
const _params = { ...params };
753753
const requiredParams = ['id'];
754754

@@ -1410,11 +1410,11 @@ class DirectLinkV1 extends BaseService {
14101410
* @param {string} params.gatewayId - Direct Link gateway identifier.
14111411
* @param {string} params.id - The virtual connection identifier.
14121412
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
1413-
* @returns {Promise<DirectLinkV1.Response<DirectLinkV1.EmptyObject>>}
1413+
* @returns {Promise<DirectLinkV1.Response<DirectLinkV1.Empty>>}
14141414
*/
14151415
public deleteGatewayVirtualConnection(
14161416
params: DirectLinkV1.DeleteGatewayVirtualConnectionParams
1417-
): Promise<DirectLinkV1.Response<DirectLinkV1.EmptyObject>> {
1417+
): Promise<DirectLinkV1.Response<DirectLinkV1.Empty>> {
14181418
const _params = { ...params };
14191419
const requiredParams = ['gatewayId', 'id'];
14201420

@@ -1616,7 +1616,7 @@ namespace DirectLinkV1 {
16161616
export type Callback<T> = (error: any, response?: Response<T>) => void;
16171617

16181618
/** The body of a service request that returns no response data. */
1619-
export interface EmptyObject {}
1619+
export interface Empty {}
16201620

16211621
/** A standard JS object, defined to avoid the limitations of `Object` and `object` */
16221622
export interface JsonObject {

0 commit comments

Comments
 (0)