@vonage/client-sdk 2.5.1 → 2.6.1

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.
@@ -689,6 +689,9 @@ export declare namespace vonage {
689
689
  private constructor();
690
690
  get type(): string;
691
691
  get code(): Nullable<string>;
692
+ get source(): Nullable<string>;
693
+ get isRetriable(): boolean;
694
+ get retryAfter(): Nullable<number>;
692
695
  get kmpCause(): Nullable<Error>;
693
696
  }
694
697
  const VonageErrorTypeJsObject: {
@@ -1083,10 +1086,11 @@ export declare namespace vonage {
1083
1086
  equals(other: Nullable<any>): boolean;
1084
1087
  }
1085
1088
  class HttpClientResponseJS {
1086
- constructor(statusCode: number, body?: Nullable<string>);
1089
+ constructor(statusCode: number, body?: Nullable<string>, headers?: Nullable<Json>);
1087
1090
  get statusCode(): number;
1088
1091
  get body(): Nullable<string>;
1089
- copy(statusCode?: number, body?: Nullable<string>): vonage.HttpClientResponseJS;
1092
+ get headers(): Nullable<Json>;
1093
+ copy(statusCode?: number, body?: Nullable<string>, headers?: Nullable<Json>): vonage.HttpClientResponseJS;
1090
1094
  toString(): string;
1091
1095
  hashCode(): number;
1092
1096
  equals(other: Nullable<any>): boolean;