Skip to content

Commit 900af2f

Browse files
authored
Merge pull request #53 from FreeClimbAPI/VCSWP-18905
Update OutDial model
2 parents efdd9f0 + 959ff83 commit 900af2f

File tree

6 files changed

+25
-17
lines changed

6 files changed

+25
-17
lines changed

CHANGELOG.md

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

1010
None
1111

12+
<a name="3.1.2"></a>
13+
14+
## [3.1.2] - 2023-02-21
15+
16+
### Changed
17+
18+
- OutDial PerCL command callingNumber and destination types fixed
19+
1220
<a name="3.1.1"></a>
1321

1422
## [3.1.1] - 2023-02-14

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/[email protected].1
17+
npm install @freeclimb/[email protected].2
1818
or
19-
yarn add @freeclimb/[email protected].1
19+
yarn add @freeclimb/[email protected].2
2020
```
2121

2222
## Getting Started

models/OutDial.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ interface AttributeType {
5252
interface ArgumentsType {
5353
'actionUrl': string;
5454
'callConnectUrl': string;
55-
'callingNumber': number;
56-
'destination': number;
55+
'callingNumber': string;
56+
'destination': string;
5757
'ifMachine'?: IfMachine;
5858
'ifMachineUrl'?: string;
5959
'sendDigits'?: string;
@@ -73,11 +73,11 @@ export class OutDial extends PerclCommand {
7373
/**
7474
* he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb.
7575
*/
76-
'callingNumber': number;
76+
'callingNumber': string;
7777
/**
7878
* E.164 representation of the phone number to Call.
7979
*/
80-
'destination': number;
80+
'destination': string;
8181
'ifMachine'?: IfMachine;
8282
/**
8383
* When the `ifMachine` flag is set to `redirect`, this attribute specifies a URL to which FreeClimb makes a POST request when an answering machine or a fax machine is detected. This URL is required if the `ifMachine` flag is set to `redirect`. Otherwise, it should not be included.
@@ -124,7 +124,7 @@ export class OutDial extends PerclCommand {
124124
{
125125
"name": "callingNumber",
126126
"baseName": "callingNumber",
127-
"type": "number",
127+
"type": "string",
128128
"format": "",
129129

130130

@@ -133,7 +133,7 @@ export class OutDial extends PerclCommand {
133133
{
134134
"name": "destination",
135135
"baseName": "destination",
136-
"type": "number",
136+
"type": "string",
137137
"format": "",
138138

139139

models/OutDialAllOf.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ interface AttributeType {
2424
interface ArgumentsType {
2525
'actionUrl': string;
2626
'callConnectUrl': string;
27-
'callingNumber': number;
28-
'destination': number;
27+
'callingNumber': string;
28+
'destination': string;
2929
'ifMachine'?: IfMachine;
3030
'ifMachineUrl'?: string;
3131
'sendDigits'?: string;
@@ -45,11 +45,11 @@ export class OutDialAllOf {
4545
/**
4646
* he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb.
4747
*/
48-
'callingNumber': number;
48+
'callingNumber': string;
4949
/**
5050
* E.164 representation of the phone number to Call.
5151
*/
52-
'destination': number;
52+
'destination': string;
5353
'ifMachine'?: IfMachine;
5454
/**
5555
* When the `ifMachine` flag is set to `redirect`, this attribute specifies a URL to which FreeClimb makes a POST request when an answering machine or a fax machine is detected. This URL is required if the `ifMachine` flag is set to `redirect`. Otherwise, it should not be included.
@@ -96,7 +96,7 @@ export class OutDialAllOf {
9696
{
9797
"name": "callingNumber",
9898
"baseName": "callingNumber",
99-
"type": "number",
99+
"type": "string",
100100
"format": "",
101101

102102

@@ -105,7 +105,7 @@ export class OutDialAllOf {
105105
{
106106
"name": "destination",
107107
"baseName": "destination",
108-
"type": "number",
108+
"type": "string",
109109
"format": "",
110110

111111

openapi.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -751,11 +751,11 @@
751751
},
752752
"callingNumber": {
753753
"description": "he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb.",
754-
"type": "number"
754+
"type": "string"
755755
},
756756
"destination": {
757757
"description": "E.164 representation of the phone number to Call. ",
758-
"type": "number"
758+
"type": "string"
759759
},
760760
"ifMachine": {
761761
"$ref": "#/components/schemas/IfMachine"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@freeclimb/sdk",
3-
"version": "3.1.1",
3+
"version": "3.1.2",
44
"description": "OpenAPI client for @freeclimb/sdk",
55
"author": "OpenAPI-Generator Contributors",
66
"keywords": [

0 commit comments

Comments
 (0)