pingram 1.0.16-alpha.1225 → 1.0.16-alpha.1227

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.
@@ -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
  }
@@ -77,7 +77,7 @@ export interface SendEmailRequest {
77
77
  */
78
78
  bccAddresses?: Array<string>;
79
79
  /**
80
- * The attachments of the email.
80
+ * URL-based file attachments. Up to 20 MB per file.
81
81
  * @type {Array<SendEmailRequestAttachmentsInner>}
82
82
  * @memberof SendEmailRequest
83
83
  */
@@ -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
  }
@@ -47,7 +47,7 @@ export interface SenderPostBodyOptionsEmail {
47
47
  */
48
48
  fromName?: string;
49
49
  /**
50
- * File attachments (by URL or inline base64 content).
50
+ * File attachments (by URL or inline base64 content). Inline `content`: ~4 MB raw per file (413 if exceeded). URL `url`: up to 20 MB per file.
51
51
  * @type {Array<SenderPostBodyOptionsEmailAttachmentsInner>}
52
52
  * @memberof SenderPostBodyOptionsEmail
53
53
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pingram",
3
- "version": "1.0.16-alpha.1225",
3
+ "version": "1.0.16-alpha.1227",
4
4
  "description": "Official Node.js SDK for Pingram - Send notifications via Email, SMS, Push, In-App, and more",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",