pingram 1.0.16-alpha.1225 → 1.0.16-alpha.1226
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/generated/src/models/ApiErrorBody.d.ts +0 -12
- package/dist/generated/src/models/ApiErrorBody.js +2 -6
- package/dist/generated/src/models/SendEmailApiResponseAnyOf1Error.d.ts +0 -12
- package/dist/generated/src/models/SendEmailApiResponseAnyOf1Error.js +2 -6
- package/dist/generated/src/models/SendSmsResponseAnyOf1Error.d.ts +0 -12
- package/dist/generated/src/models/SendSmsResponseAnyOf1Error.js +2 -6
- package/package.json +1 -1
|
@@ -33,18 +33,6 @@ export interface ApiErrorBody {
|
|
|
33
33
|
* @memberof ApiErrorBody
|
|
34
34
|
*/
|
|
35
35
|
fix?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Provider that caused the error (e.g. telnyx, ses).
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof ApiErrorBody
|
|
40
|
-
*/
|
|
41
|
-
provider?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Provider-specific error code.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof ApiErrorBody
|
|
46
|
-
*/
|
|
47
|
-
providerCode?: string;
|
|
48
36
|
}
|
|
49
37
|
/**
|
|
50
38
|
* Check if a given object implements the ApiErrorBody interface.
|
|
@@ -38,9 +38,7 @@ function ApiErrorBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
return {
|
|
39
39
|
code: json['code'],
|
|
40
40
|
message: json['message'],
|
|
41
|
-
fix: json['fix'] == null ? undefined : json['fix']
|
|
42
|
-
provider: json['provider'] == null ? undefined : json['provider'],
|
|
43
|
-
providerCode: json['providerCode'] == null ? undefined : json['providerCode']
|
|
41
|
+
fix: json['fix'] == null ? undefined : json['fix']
|
|
44
42
|
};
|
|
45
43
|
}
|
|
46
44
|
function ApiErrorBodyToJSON(json) {
|
|
@@ -53,8 +51,6 @@ function ApiErrorBodyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
53
51
|
return {
|
|
54
52
|
code: value['code'],
|
|
55
53
|
message: value['message'],
|
|
56
|
-
fix: value['fix']
|
|
57
|
-
provider: value['provider'],
|
|
58
|
-
providerCode: value['providerCode']
|
|
54
|
+
fix: value['fix']
|
|
59
55
|
};
|
|
60
56
|
}
|
|
@@ -33,18 +33,6 @@ export interface SendEmailApiResponseAnyOf1Error {
|
|
|
33
33
|
* @memberof SendEmailApiResponseAnyOf1Error
|
|
34
34
|
*/
|
|
35
35
|
fix?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Provider that rejected the message (e.g. 'ses').
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof SendEmailApiResponseAnyOf1Error
|
|
40
|
-
*/
|
|
41
|
-
provider?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Provider-specific error code.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof SendEmailApiResponseAnyOf1Error
|
|
46
|
-
*/
|
|
47
|
-
providerCode?: string;
|
|
48
36
|
}
|
|
49
37
|
/**
|
|
50
38
|
* Check if a given object implements the SendEmailApiResponseAnyOf1Error interface.
|
|
@@ -38,9 +38,7 @@ function SendEmailApiResponseAnyOf1ErrorFromJSONTyped(json, ignoreDiscriminator)
|
|
|
38
38
|
return {
|
|
39
39
|
code: json['code'],
|
|
40
40
|
message: json['message'],
|
|
41
|
-
fix: json['fix'] == null ? undefined : json['fix']
|
|
42
|
-
provider: json['provider'] == null ? undefined : json['provider'],
|
|
43
|
-
providerCode: json['providerCode'] == null ? undefined : json['providerCode']
|
|
41
|
+
fix: json['fix'] == null ? undefined : json['fix']
|
|
44
42
|
};
|
|
45
43
|
}
|
|
46
44
|
function SendEmailApiResponseAnyOf1ErrorToJSON(json) {
|
|
@@ -53,8 +51,6 @@ function SendEmailApiResponseAnyOf1ErrorToJSONTyped(value, ignoreDiscriminator =
|
|
|
53
51
|
return {
|
|
54
52
|
code: value['code'],
|
|
55
53
|
message: value['message'],
|
|
56
|
-
fix: value['fix']
|
|
57
|
-
provider: value['provider'],
|
|
58
|
-
providerCode: value['providerCode']
|
|
54
|
+
fix: value['fix']
|
|
59
55
|
};
|
|
60
56
|
}
|
|
@@ -33,18 +33,6 @@ export interface SendSmsResponseAnyOf1Error {
|
|
|
33
33
|
* @memberof SendSmsResponseAnyOf1Error
|
|
34
34
|
*/
|
|
35
35
|
fix?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Provider that rejected the message (e.g. 'telnyx').
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof SendSmsResponseAnyOf1Error
|
|
40
|
-
*/
|
|
41
|
-
provider?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Provider-specific error code.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof SendSmsResponseAnyOf1Error
|
|
46
|
-
*/
|
|
47
|
-
providerCode?: string;
|
|
48
36
|
}
|
|
49
37
|
/**
|
|
50
38
|
* Check if a given object implements the SendSmsResponseAnyOf1Error interface.
|
|
@@ -38,9 +38,7 @@ function SendSmsResponseAnyOf1ErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
return {
|
|
39
39
|
code: json['code'],
|
|
40
40
|
message: json['message'],
|
|
41
|
-
fix: json['fix'] == null ? undefined : json['fix']
|
|
42
|
-
provider: json['provider'] == null ? undefined : json['provider'],
|
|
43
|
-
providerCode: json['providerCode'] == null ? undefined : json['providerCode']
|
|
41
|
+
fix: json['fix'] == null ? undefined : json['fix']
|
|
44
42
|
};
|
|
45
43
|
}
|
|
46
44
|
function SendSmsResponseAnyOf1ErrorToJSON(json) {
|
|
@@ -53,8 +51,6 @@ function SendSmsResponseAnyOf1ErrorToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
53
51
|
return {
|
|
54
52
|
code: value['code'],
|
|
55
53
|
message: value['message'],
|
|
56
|
-
fix: value['fix']
|
|
57
|
-
provider: value['provider'],
|
|
58
|
-
providerCode: value['providerCode']
|
|
54
|
+
fix: value['fix']
|
|
59
55
|
};
|
|
60
56
|
}
|
package/package.json
CHANGED