diff --git a/packages/elastic-sip-trunking/src/models/v1/sip-endpoint/sip-endpoint.ts b/packages/elastic-sip-trunking/src/models/v1/sip-endpoint/sip-endpoint.ts index abb45c38..156253fa 100644 --- a/packages/elastic-sip-trunking/src/models/v1/sip-endpoint/sip-endpoint.ts +++ b/packages/elastic-sip-trunking/src/models/v1/sip-endpoint/sip-endpoint.ts @@ -21,5 +21,5 @@ export interface SipEndpoint { /** The date and time that the SIP endpoint was created. */ createTime?: Date; /** The date and time that the SIP endpoint was last modified. */ - updateTime?: Date; + updateTime?: Date | null; } diff --git a/packages/elastic-sip-trunking/src/models/v1/sip-trunk/sip-trunk.ts b/packages/elastic-sip-trunking/src/models/v1/sip-trunk/sip-trunk.ts index 8bd1cc9b..31f9122d 100644 --- a/packages/elastic-sip-trunking/src/models/v1/sip-trunk/sip-trunk.ts +++ b/packages/elastic-sip-trunking/src/models/v1/sip-trunk/sip-trunk.ts @@ -21,7 +21,7 @@ export interface SipTrunk { /** The date and time that the SIP trunk was created. */ createTime?: Date; /** The date and time that the SIP trunk was last modified. */ - updateTime?: Date; + updateTime?: Date | null; /** The ID of the account. */ projectId?: string; } diff --git a/packages/elastic-sip-trunking/src/rest/v1/sip-trunks/sip-trunks-api.ts b/packages/elastic-sip-trunking/src/rest/v1/sip-trunks/sip-trunks-api.ts index 7b59645b..22c32b60 100644 --- a/packages/elastic-sip-trunking/src/rest/v1/sip-trunks/sip-trunks-api.ts +++ b/packages/elastic-sip-trunking/src/rest/v1/sip-trunks/sip-trunks-api.ts @@ -243,7 +243,7 @@ export class SipTrunksApi extends ElasticSipTrunkingDomainApi { pagination: PaginationEnum.PAGE2, apiName: this.apiName, operationId: 'GetSipTrunks', - dataKey: 'sipTrunks', + dataKey: 'trunks', }; // Create the promise containing the response wrapped as a PageResult