@wazo/sdk 0.47.2 → 0.47.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -884,10 +884,12 @@ class CallerID {
|
|
|
884
884
|
number;
|
|
885
885
|
idType;
|
|
886
886
|
type;
|
|
887
|
+
callerIdName;
|
|
887
888
|
static parse(plain) {
|
|
888
889
|
return new CallerID({
|
|
889
890
|
number: plain.number,
|
|
890
|
-
type: plain.type
|
|
891
|
+
type: plain.type,
|
|
892
|
+
callerIdName: plain.caller_id_name
|
|
891
893
|
});
|
|
892
894
|
}
|
|
893
895
|
static parseMany(plain) {
|
|
@@ -896,9 +898,10 @@ class CallerID {
|
|
|
896
898
|
static newFrom(profile) {
|
|
897
899
|
return new_from(profile, CallerID);
|
|
898
900
|
}
|
|
899
|
-
constructor({ type, number }){
|
|
901
|
+
constructor({ type, number, callerIdName }){
|
|
900
902
|
this.idType = type;
|
|
901
903
|
this.number = number;
|
|
904
|
+
this.callerIdName = callerIdName;
|
|
902
905
|
this.type = 'CallerID';
|
|
903
906
|
}
|
|
904
907
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -824,10 +824,12 @@ class CallerID {
|
|
|
824
824
|
number;
|
|
825
825
|
idType;
|
|
826
826
|
type;
|
|
827
|
+
callerIdName;
|
|
827
828
|
static parse(plain) {
|
|
828
829
|
return new CallerID({
|
|
829
830
|
number: plain.number,
|
|
830
|
-
type: plain.type
|
|
831
|
+
type: plain.type,
|
|
832
|
+
callerIdName: plain.caller_id_name
|
|
831
833
|
});
|
|
832
834
|
}
|
|
833
835
|
static parseMany(plain) {
|
|
@@ -836,9 +838,10 @@ class CallerID {
|
|
|
836
838
|
static newFrom(profile) {
|
|
837
839
|
return new_from(profile, CallerID);
|
|
838
840
|
}
|
|
839
|
-
constructor({ type, number }){
|
|
841
|
+
constructor({ type, number, callerIdName }){
|
|
840
842
|
this.idType = type;
|
|
841
843
|
this.number = number;
|
|
844
|
+
this.callerIdName = callerIdName;
|
|
842
845
|
this.type = 'CallerID';
|
|
843
846
|
}
|
|
844
847
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
type Response = {
|
|
2
2
|
number?: string;
|
|
3
3
|
type: 'main' | 'associated' | 'anonymous';
|
|
4
|
+
caller_id_name?: string;
|
|
4
5
|
};
|
|
5
6
|
type ListResponse = {
|
|
6
7
|
items: Response[];
|
|
@@ -8,15 +9,17 @@ type ListResponse = {
|
|
|
8
9
|
type Arguments = {
|
|
9
10
|
number?: string;
|
|
10
11
|
type: 'main' | 'associated' | 'anonymous';
|
|
12
|
+
callerIdName?: string;
|
|
11
13
|
};
|
|
12
14
|
export default class CallerID {
|
|
13
15
|
number?: string;
|
|
14
16
|
idType: 'main' | 'associated' | 'anonymous';
|
|
15
17
|
type: string;
|
|
18
|
+
callerIdName?: string;
|
|
16
19
|
static parse(plain: Response): CallerID;
|
|
17
20
|
static parseMany(plain: ListResponse): CallerID[];
|
|
18
21
|
static newFrom(profile: CallerID): any;
|
|
19
|
-
constructor({ type, number, }: Arguments);
|
|
22
|
+
constructor({ type, number, callerIdName, }: Arguments);
|
|
20
23
|
}
|
|
21
24
|
export {};
|
|
22
25
|
//# sourceMappingURL=CallerID.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CallerID.d.ts","sourceRoot":"","sources":["../../../src/domain/CallerID.ts"],"names":[],"mappings":"AAEA,KAAK,QAAQ,GAAG;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,GAAG,YAAY,GAAG,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"CallerID.d.ts","sourceRoot":"","sources":["../../../src/domain/CallerID.ts"],"names":[],"mappings":"AAEA,KAAK,QAAQ,GAAG;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,GAAG,YAAY,GAAG,WAAW,CAAC;IAC1C,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB,CAAC;AAEF,KAAK,SAAS,GAAG;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,GAAG,YAAY,GAAG,WAAW,CAAC;IAC1C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,QAAQ;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,EAAE,MAAM,GAAG,YAAY,GAAG,WAAW,CAAC;IAE5C,IAAI,EAAE,MAAM,CAAC;IAEb,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,QAAQ,GAAG,QAAQ;IAQvC,MAAM,CAAC,SAAS,CAAC,KAAK,EAAE,YAAY,GAAG,QAAQ,EAAE;IAIjD,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,QAAQ;gBAIpB,EACV,IAAI,EACJ,MAAM,EACN,YAAY,GACb,EAAE,SAAS;CAQb"}
|
package/dist/wazo-sdk.js
CHANGED
|
@@ -34232,10 +34232,12 @@
|
|
|
34232
34232
|
number;
|
|
34233
34233
|
idType;
|
|
34234
34234
|
type;
|
|
34235
|
+
callerIdName;
|
|
34235
34236
|
static parse(plain) {
|
|
34236
34237
|
return new CallerID({
|
|
34237
34238
|
number: plain.number,
|
|
34238
|
-
type: plain.type
|
|
34239
|
+
type: plain.type,
|
|
34240
|
+
callerIdName: plain.caller_id_name
|
|
34239
34241
|
});
|
|
34240
34242
|
}
|
|
34241
34243
|
static parseMany(plain) {
|
|
@@ -34244,9 +34246,10 @@
|
|
|
34244
34246
|
static newFrom(profile) {
|
|
34245
34247
|
return new_from(profile, CallerID);
|
|
34246
34248
|
}
|
|
34247
|
-
constructor({ type, number }){
|
|
34249
|
+
constructor({ type, number, callerIdName }){
|
|
34248
34250
|
this.idType = type;
|
|
34249
34251
|
this.number = number;
|
|
34252
|
+
this.callerIdName = callerIdName;
|
|
34250
34253
|
this.type = 'CallerID';
|
|
34251
34254
|
}
|
|
34252
34255
|
}
|