Skip to content

Commit b21b2ee

Browse files
authored
Merge pull request #79 from FreeClimbAPI/VCSWP-23060
Vcswp 23060
2 parents 6bd75da + af895d3 commit b21b2ee

25 files changed

+65
-64
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
99

1010
None
1111

12+
<a name="3.8.0"></a>
13+
14+
## [3.8.0] - 2024-09-26
15+
16+
### Fixed
17+
- All models containing `_from` updated to use `from`
18+
1219
<a name="3.7.1"></a>
1320

1421
## [3.7.1] - 2024-09-12

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ For more information, please visit [https://www.freeclimb.com/support/](https://
1414
## Installing
1515

1616
```sh
17-
npm install @freeclimb/sdk@3.7.1
17+
npm install @freeclimb/sdk@3.8.0
1818
or
19-
yarn add @freeclimb/sdk@3.7.1
19+
yarn add @freeclimb/sdk@3.8.0
2020
```
2121

2222
## Getting Started

__tests__/DefaultApi.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -292,20 +292,20 @@ describe('DefaultAPI', () => {
292292

293293
test('#listSmsMessages', async () => {
294294
const to = "to_example"
295-
const _from = "from_example"
295+
const from = "from_example"
296296
const beginTime = "beginTime_example"
297297
const endTime = "endTime_example"
298298
const direction = MessageDirection.INBOUND
299299
const campaignId = "CX56XX4"
300300
const brandId = "BX56XX4"
301301
const is10DLC = true
302-
let data = await apiInstance.listSmsMessages(to, _from, beginTime, endTime, direction)
302+
let data = await apiInstance.listSmsMessages(to, from, beginTime, endTime, direction)
303303
expect(data).toBeInstanceOf(MessagesList)
304304
});
305305

306306
test('#makeACall', async () => {
307307
const request = {
308-
_from: "_from_example",
308+
from: "from_example",
309309
to: "to_example",
310310
applicationId: "applicationId_example",
311311
sendDigits: "sendDigits_example",
@@ -330,7 +330,7 @@ describe('DefaultAPI', () => {
330330

331331
test('#sendAnSmsMessage', async () => {
332332
const request = {
333-
_from: "_from_example",
333+
from: "from_example",
334334
to: "to_example",
335335
text: "Example Text"
336336
}
@@ -442,7 +442,7 @@ describe('DefaultAPI', () => {
442442
test('#makeAWebrtcJwt', async () => {
443443
const createWebrtcToken: freeclimb.CreateWebRTCToken = {
444444
to: "to_example",
445-
_from: "from_example",
445+
from: "from_example",
446446
uses: 1,
447447
}
448448
let data = await apiInstance.makeAWebrtcJwt(createWebrtcToken)

__tests__/generatedTests/CallResult.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe('CallResult', () => {
1010
callId: "test_callId",
1111
parentCallId: "test_parentCallId",
1212
accountId: "test_accountId",
13-
_from: "test_from",
13+
from: "test_from",
1414
to: "test_to",
1515
phoneNumberId: "test_phoneNumberId",
1616

@@ -76,7 +76,7 @@ describe('CallResult', () => {
7676
describe(".from", () => {
7777
it('resolves to particular value on initialization', () => {
7878
const value = "test_from"
79-
expect(model._from).toStrictEqual(value)
79+
expect(model.from).toBe(value)
8080
})
8181
})
8282
describe(".to", () => {

__tests__/generatedTests/CallResultAllOf.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ describe('CallResultAllOf', () => {
66
callId: "test_callId",
77
parentCallId: "test_parentCallId",
88
accountId: "test_accountId",
9-
_from: "test_from",
9+
from: "test_from",
1010
to: "test_to",
1111
phoneNumberId: "test_phoneNumberId",
1212

@@ -48,7 +48,7 @@ describe('CallResultAllOf', () => {
4848
describe(".from", () => {
4949
it('resolves to particular value on initialization', () => {
5050
const value = "test_from"
51-
expect(model._from).toStrictEqual(value)
51+
expect(model.from).toBe(value)
5252
})
5353
})
5454
describe(".to", () => {

__tests__/generatedTests/CreateWebRTCToken.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { describe, expect, it } from "@jest/globals";
44
describe('CreateWebRTCToken', () => {
55
let model: freeclimb.CreateWebRTCToken = new freeclimb.CreateWebRTCToken({
66
to: "test_to",
7-
_from: "test_from",
7+
from: "test_from",
88
uses: 1,
99
})
1010
describe("CreateWebRTCToken class test", () => {
@@ -21,7 +21,7 @@ describe('CreateWebRTCToken', () => {
2121
describe(".from", () => {
2222
it('resolves to particular value on initialization', () => {
2323
const value = "test_from"
24-
expect(model._from).toStrictEqual(value)
24+
expect(model.from).toBe(value)
2525
})
2626
})
2727
describe(".uses", () => {

__tests__/generatedTests/MakeCallRequest.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { describe, expect, it } from "@jest/globals";
33

44
describe('MakeCallRequest', () => {
55
let model: freeclimb.MakeCallRequest = new freeclimb.MakeCallRequest({
6-
_from: "test_from",
6+
from: "test_from",
77
to: "test_to",
88
applicationId: "test_applicationId",
99
sendDigits: "test_sendDigits",
@@ -22,7 +22,7 @@ describe('MakeCallRequest', () => {
2222
describe(".from", () => {
2323
it('resolves to particular value on initialization', () => {
2424
const value = "test_from"
25-
expect(model._from).toStrictEqual(value)
25+
expect(model.from).toBe(value)
2626
})
2727
})
2828
describe(".to", () => {

__tests__/generatedTests/MessageRequest.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe('MessageRequest', () => {
77
dateCreated: "test_dateCreated",
88
dateUpdated: "test_dateUpdated",
99
revision: 1,
10-
_from: "test_from",
10+
from: "test_from",
1111
to: "test_to",
1212
text: "test_text",
1313
notificationUrl: "test_notificationUrl",
@@ -45,7 +45,7 @@ describe('MessageRequest', () => {
4545
describe(".from", () => {
4646
it('resolves to particular value on initialization', () => {
4747
const value = "test_from"
48-
expect(model._from).toStrictEqual(value)
48+
expect(model.from).toBe(value)
4949
})
5050
})
5151
describe(".to", () => {

__tests__/generatedTests/MessageRequestAllOf.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { describe, expect, it } from "@jest/globals";
33

44
describe('MessageRequestAllOf', () => {
55
let model: freeclimb.MessageRequestAllOf = new freeclimb.MessageRequestAllOf({
6-
_from: "test_from",
6+
from: "test_from",
77
to: "test_to",
88
text: "test_text",
99
notificationUrl: "test_notificationUrl",
@@ -17,7 +17,7 @@ describe('MessageRequestAllOf', () => {
1717
describe(".from", () => {
1818
it('resolves to particular value on initialization', () => {
1919
const value = "test_from"
20-
expect(model._from).toStrictEqual(value)
20+
expect(model.from).toBe(value)
2121
})
2222
})
2323
describe(".to", () => {

__tests__/generatedTests/MessageResult.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe('MessageResult', () => {
1111
messageId: "test_messageId",
1212

1313
status: freeclimb.MessageStatus.NEW,
14-
_from: "test_from",
14+
from: "test_from",
1515
to: "test_to",
1616
text: "test_text",
1717
direction: "test_direction",
@@ -72,7 +72,7 @@ describe('MessageResult', () => {
7272
describe(".from", () => {
7373
it('resolves to particular value on initialization', () => {
7474
const value = "test_from"
75-
expect(model._from).toStrictEqual(value)
75+
expect(model.from).toBe(value)
7676
})
7777
})
7878
describe(".to", () => {

0 commit comments

Comments
 (0)