pingram 1.0.27-alpha.1415 → 1.0.27-alpha.1417

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.
@@ -39,6 +39,12 @@ export interface CreateAccountResponse {
39
39
  * @memberof CreateAccountResponse
40
40
  */
41
41
  subscriptionStatus?: CreateAccountResponseSubscriptionStatusEnum | null;
42
+ /**
43
+ * Default secret API key for the new account (`pingram_sk_…`).
44
+ * @type {string}
45
+ * @memberof CreateAccountResponse
46
+ */
47
+ apiKey: string;
42
48
  }
43
49
  /**
44
50
  * @export
@@ -50,6 +50,8 @@ function instanceOfCreateAccountResponse(value) {
50
50
  return false;
51
51
  if (!('status' in value) || value['status'] === undefined)
52
52
  return false;
53
+ if (!('apiKey' in value) || value['apiKey'] === undefined)
54
+ return false;
53
55
  return true;
54
56
  }
55
57
  function CreateAccountResponseFromJSON(json) {
@@ -65,7 +67,8 @@ function CreateAccountResponseFromJSONTyped(json, ignoreDiscriminator) {
65
67
  status: json['status'],
66
68
  subscriptionStatus: json['subscriptionStatus'] == null
67
69
  ? undefined
68
- : json['subscriptionStatus']
70
+ : json['subscriptionStatus'],
71
+ apiKey: json['apiKey']
69
72
  };
70
73
  }
71
74
  function CreateAccountResponseToJSON(json) {
@@ -79,6 +82,7 @@ function CreateAccountResponseToJSONTyped(value, ignoreDiscriminator = false) {
79
82
  accountId: value['accountId'],
80
83
  name: value['name'],
81
84
  status: value['status'],
82
- subscriptionStatus: value['subscriptionStatus']
85
+ subscriptionStatus: value['subscriptionStatus'],
86
+ apiKey: value['apiKey']
83
87
  };
84
88
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pingram",
3
- "version": "1.0.27-alpha.1415",
3
+ "version": "1.0.27-alpha.1417",
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",