pingram 1.0.27 → 1.0.28-alpha.1422
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/dist/src/client.js
CHANGED
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
8
8
|
exports.Pingram = void 0;
|
|
9
9
|
const src_1 = require("../generated/src");
|
|
10
10
|
// SDK version for User-Agent header (injected at codegen time)
|
|
11
|
-
const SDK_VERSION = '1.0.
|
|
11
|
+
const SDK_VERSION = '1.0.28';
|
|
12
12
|
const USER_AGENT = `pingram-node/${SDK_VERSION}`;
|
|
13
13
|
const src_2 = require("../generated/src");
|
|
14
14
|
const src_3 = require("../generated/src");
|
package/package.json
CHANGED