pingram 1.0.34 → 1.0.35-alpha.1569

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.
@@ -17,6 +17,7 @@ export interface ConfigureSupabaseSMTPRequest {
17
17
  export interface GetUsageHistoryRequest {
18
18
  startDate: string;
19
19
  endDate: string;
20
+ groupBy?: string;
20
21
  }
21
22
  export interface ListInvoicesRequest {
22
23
  limit?: number;
@@ -92,18 +93,19 @@ export interface AccountApiInterface {
92
93
  getUsage(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetUsageResponse>;
93
94
  /**
94
95
  *
95
- * @summary Get historical usage for the authenticated account over a date range.
96
+ * @summary Get historical usage for the authenticated account over a date range, summed by UTC calendar month or billing cycle from daily counts.
96
97
  * @param {string} startDate Start date (YYYY-MM-DD) for the range
97
98
  * @param {string} endDate End date (YYYY-MM-DD) for the range
99
+ * @param {string} [groupBy] calendar (UTC months, default) or billing (account billing cycles)
98
100
  * @param {*} [options] Override http request option.
99
101
  * @throws {RequiredError}
100
102
  * @memberof AccountApiInterface
101
103
  */
102
104
  getUsageHistoryRaw(requestParameters: GetUsageHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetUsageHistoryResponse>>;
103
105
  /**
104
- * Get historical usage for the authenticated account over a date range.
106
+ * Get historical usage for the authenticated account over a date range, summed by UTC calendar month or billing cycle from daily counts.
105
107
  */
106
- getUsageHistory(startDate: string, endDate: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetUsageHistoryResponse>;
108
+ getUsageHistory(startDate: string, endDate: string, groupBy?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetUsageHistoryResponse>;
107
109
  /**
108
110
  *
109
111
  * @summary List Stripe invoices for the authenticated account, newest first.
@@ -222,13 +224,13 @@ export declare class AccountApi extends runtime.BaseAPI implements AccountApiInt
222
224
  */
223
225
  getUsage(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetUsageResponse>;
224
226
  /**
225
- * Get historical usage for the authenticated account over a date range.
227
+ * Get historical usage for the authenticated account over a date range, summed by UTC calendar month or billing cycle from daily counts.
226
228
  */
227
229
  getUsageHistoryRaw(requestParameters: GetUsageHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetUsageHistoryResponse>>;
228
230
  /**
229
- * Get historical usage for the authenticated account over a date range.
231
+ * Get historical usage for the authenticated account over a date range, summed by UTC calendar month or billing cycle from daily counts.
230
232
  */
231
- getUsageHistory(startDate: string, endDate: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetUsageHistoryResponse>;
233
+ getUsageHistory(startDate: string, endDate: string, groupBy?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetUsageHistoryResponse>;
232
234
  /**
233
235
  * List Stripe invoices for the authenticated account, newest first.
234
236
  */
@@ -259,7 +259,7 @@ class AccountApi extends runtime.BaseAPI {
259
259
  return await response.value();
260
260
  }
261
261
  /**
262
- * Get historical usage for the authenticated account over a date range.
262
+ * Get historical usage for the authenticated account over a date range, summed by UTC calendar month or billing cycle from daily counts.
263
263
  */
264
264
  async getUsageHistoryRaw(requestParameters, initOverrides) {
265
265
  if (requestParameters['startDate'] == null) {
@@ -275,6 +275,9 @@ class AccountApi extends runtime.BaseAPI {
275
275
  if (requestParameters['endDate'] != null) {
276
276
  queryParameters['endDate'] = requestParameters['endDate'];
277
277
  }
278
+ if (requestParameters['groupBy'] != null) {
279
+ queryParameters['groupBy'] = requestParameters['groupBy'];
280
+ }
278
281
  const headerParameters = {};
279
282
  if (this.configuration &&
280
283
  (this.configuration.username !== undefined ||
@@ -314,10 +317,10 @@ class AccountApi extends runtime.BaseAPI {
314
317
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetUsageHistoryResponseFromJSON)(jsonValue));
315
318
  }
316
319
  /**
317
- * Get historical usage for the authenticated account over a date range.
320
+ * Get historical usage for the authenticated account over a date range, summed by UTC calendar month or billing cycle from daily counts.
318
321
  */
319
- async getUsageHistory(startDate, endDate, initOverrides) {
320
- const response = await this.getUsageHistoryRaw({ startDate: startDate, endDate: endDate }, initOverrides);
322
+ async getUsageHistory(startDate, endDate, groupBy, initOverrides) {
323
+ const response = await this.getUsageHistoryRaw({ startDate: startDate, endDate: endDate, groupBy: groupBy }, initOverrides);
321
324
  return await response.value();
322
325
  }
323
326
  /**
@@ -30,7 +30,7 @@ export interface UpdateWebhookRequest {
30
30
  export interface WebhooksApiInterface {
31
31
  /**
32
32
  *
33
- * @summary Create a webhook.
33
+ * @summary Create a webhook endpoint. Pingram POSTs signed JSON to the URL when one of the subscribed events happens. The response includes id and a signing secret starting with pingram_whsecret_. Save it and verify the X-Pingram-Signature header. Updates keep this secret. At most 10 endpoints per account. The URL must be http or https and should return 2xx.
34
34
  * @param {WebhookEndpointUpsertRequest} webhookEndpointUpsertRequest
35
35
  * @param {*} [options] Override http request option.
36
36
  * @throws {RequiredError}
@@ -38,38 +38,38 @@ export interface WebhooksApiInterface {
38
38
  */
39
39
  createWebhookRaw(requestParameters: CreateWebhookRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhookEndpoint>>;
40
40
  /**
41
- * Create a webhook.
41
+ * Create a webhook endpoint. Pingram POSTs signed JSON to the URL when one of the subscribed events happens. The response includes id and a signing secret starting with pingram_whsecret_. Save it and verify the X-Pingram-Signature header. Updates keep this secret. At most 10 endpoints per account. The URL must be http or https and should return 2xx.
42
42
  */
43
43
  createWebhook(webhookEndpointUpsertRequest: WebhookEndpointUpsertRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhookEndpoint>;
44
44
  /**
45
45
  *
46
- * @summary Delete a webhook.
47
- * @param {string} endpointId Webhook endpoint id
46
+ * @summary Delete one webhook endpoint by id from list or create. That URL stops receiving its events. Other endpoints on the account are left as they are.
47
+ * @param {string} endpointId Id of the webhook endpoint, from list or create.
48
48
  * @param {*} [options] Override http request option.
49
49
  * @throws {RequiredError}
50
50
  * @memberof WebhooksApiInterface
51
51
  */
52
52
  deleteWebhookRaw(requestParameters: DeleteWebhookRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
53
53
  /**
54
- * Delete a webhook.
54
+ * Delete one webhook endpoint by id from list or create. That URL stops receiving its events. Other endpoints on the account are left as they are.
55
55
  */
56
56
  deleteWebhook(endpointId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
57
57
  /**
58
58
  *
59
- * @summary List webhooks for the current account.
59
+ * @summary List webhook endpoints on the current account, including each id, URL, subscribed events, and signing secret. Use the id with update or delete.
60
60
  * @param {*} [options] Override http request option.
61
61
  * @throws {RequiredError}
62
62
  * @memberof WebhooksApiInterface
63
63
  */
64
64
  listWebhooksRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhookEndpointsResponse>>;
65
65
  /**
66
- * List webhooks for the current account.
66
+ * List webhook endpoints on the current account, including each id, URL, subscribed events, and signing secret. Use the id with update or delete.
67
67
  */
68
68
  listWebhooks(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhookEndpointsResponse>;
69
69
  /**
70
70
  *
71
- * @summary Update a webhook. The signing secret is preserved.
72
- * @param {string} endpointId Webhook endpoint id
71
+ * @summary Replace one webhook endpoint\'s URL and its full event subscription. endpointId comes from list or create. The signing secret stays the same. events is the complete set; omitting an event unsubscribes it. The URL must be http or https.
72
+ * @param {string} endpointId Id of the webhook endpoint, from list or create.
73
73
  * @param {WebhookEndpointUpsertRequest} webhookEndpointUpsertRequest
74
74
  * @param {*} [options] Override http request option.
75
75
  * @throws {RequiredError}
@@ -77,7 +77,7 @@ export interface WebhooksApiInterface {
77
77
  */
78
78
  updateWebhookRaw(requestParameters: UpdateWebhookRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhookEndpoint>>;
79
79
  /**
80
- * Update a webhook. The signing secret is preserved.
80
+ * Replace one webhook endpoint\'s URL and its full event subscription. endpointId comes from list or create. The signing secret stays the same. events is the complete set; omitting an event unsubscribes it. The URL must be http or https.
81
81
  */
82
82
  updateWebhook(endpointId: string, webhookEndpointUpsertRequest: WebhookEndpointUpsertRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhookEndpoint>;
83
83
  }
@@ -86,35 +86,35 @@ export interface WebhooksApiInterface {
86
86
  */
87
87
  export declare class WebhooksApi extends runtime.BaseAPI implements WebhooksApiInterface {
88
88
  /**
89
- * Create a webhook.
89
+ * Create a webhook endpoint. Pingram POSTs signed JSON to the URL when one of the subscribed events happens. The response includes id and a signing secret starting with pingram_whsecret_. Save it and verify the X-Pingram-Signature header. Updates keep this secret. At most 10 endpoints per account. The URL must be http or https and should return 2xx.
90
90
  */
91
91
  createWebhookRaw(requestParameters: CreateWebhookRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhookEndpoint>>;
92
92
  /**
93
- * Create a webhook.
93
+ * Create a webhook endpoint. Pingram POSTs signed JSON to the URL when one of the subscribed events happens. The response includes id and a signing secret starting with pingram_whsecret_. Save it and verify the X-Pingram-Signature header. Updates keep this secret. At most 10 endpoints per account. The URL must be http or https and should return 2xx.
94
94
  */
95
95
  createWebhook(webhookEndpointUpsertRequest: WebhookEndpointUpsertRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhookEndpoint>;
96
96
  /**
97
- * Delete a webhook.
97
+ * Delete one webhook endpoint by id from list or create. That URL stops receiving its events. Other endpoints on the account are left as they are.
98
98
  */
99
99
  deleteWebhookRaw(requestParameters: DeleteWebhookRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
100
100
  /**
101
- * Delete a webhook.
101
+ * Delete one webhook endpoint by id from list or create. That URL stops receiving its events. Other endpoints on the account are left as they are.
102
102
  */
103
103
  deleteWebhook(endpointId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
104
104
  /**
105
- * List webhooks for the current account.
105
+ * List webhook endpoints on the current account, including each id, URL, subscribed events, and signing secret. Use the id with update or delete.
106
106
  */
107
107
  listWebhooksRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhookEndpointsResponse>>;
108
108
  /**
109
- * List webhooks for the current account.
109
+ * List webhook endpoints on the current account, including each id, URL, subscribed events, and signing secret. Use the id with update or delete.
110
110
  */
111
111
  listWebhooks(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhookEndpointsResponse>;
112
112
  /**
113
- * Update a webhook. The signing secret is preserved.
113
+ * Replace one webhook endpoint\'s URL and its full event subscription. endpointId comes from list or create. The signing secret stays the same. events is the complete set; omitting an event unsubscribes it. The URL must be http or https.
114
114
  */
115
115
  updateWebhookRaw(requestParameters: UpdateWebhookRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhookEndpoint>>;
116
116
  /**
117
- * Update a webhook. The signing secret is preserved.
117
+ * Replace one webhook endpoint\'s URL and its full event subscription. endpointId comes from list or create. The signing secret stays the same. events is the complete set; omitting an event unsubscribes it. The URL must be http or https.
118
118
  */
119
119
  updateWebhook(endpointId: string, webhookEndpointUpsertRequest: WebhookEndpointUpsertRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhookEndpoint>;
120
120
  }
@@ -54,7 +54,7 @@ const index_1 = require("../models/index");
54
54
  */
55
55
  class WebhooksApi extends runtime.BaseAPI {
56
56
  /**
57
- * Create a webhook.
57
+ * Create a webhook endpoint. Pingram POSTs signed JSON to the URL when one of the subscribed events happens. The response includes id and a signing secret starting with pingram_whsecret_. Save it and verify the X-Pingram-Signature header. Updates keep this secret. At most 10 endpoints per account. The URL must be http or https and should return 2xx.
58
58
  */
59
59
  async createWebhookRaw(requestParameters, initOverrides) {
60
60
  if (requestParameters['webhookEndpointUpsertRequest'] == null) {
@@ -102,14 +102,14 @@ class WebhooksApi extends runtime.BaseAPI {
102
102
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.WebhookEndpointFromJSON)(jsonValue));
103
103
  }
104
104
  /**
105
- * Create a webhook.
105
+ * Create a webhook endpoint. Pingram POSTs signed JSON to the URL when one of the subscribed events happens. The response includes id and a signing secret starting with pingram_whsecret_. Save it and verify the X-Pingram-Signature header. Updates keep this secret. At most 10 endpoints per account. The URL must be http or https and should return 2xx.
106
106
  */
107
107
  async createWebhook(webhookEndpointUpsertRequest, initOverrides) {
108
108
  const response = await this.createWebhookRaw({ webhookEndpointUpsertRequest: webhookEndpointUpsertRequest }, initOverrides);
109
109
  return await response.value();
110
110
  }
111
111
  /**
112
- * Delete a webhook.
112
+ * Delete one webhook endpoint by id from list or create. That URL stops receiving its events. Other endpoints on the account are left as they are.
113
113
  */
114
114
  async deleteWebhookRaw(requestParameters, initOverrides) {
115
115
  if (requestParameters['endpointId'] == null) {
@@ -156,13 +156,13 @@ class WebhooksApi extends runtime.BaseAPI {
156
156
  return new runtime.VoidApiResponse(response);
157
157
  }
158
158
  /**
159
- * Delete a webhook.
159
+ * Delete one webhook endpoint by id from list or create. That URL stops receiving its events. Other endpoints on the account are left as they are.
160
160
  */
161
161
  async deleteWebhook(endpointId, initOverrides) {
162
162
  await this.deleteWebhookRaw({ endpointId: endpointId }, initOverrides);
163
163
  }
164
164
  /**
165
- * List webhooks for the current account.
165
+ * List webhook endpoints on the current account, including each id, URL, subscribed events, and signing secret. Use the id with update or delete.
166
166
  */
167
167
  async listWebhooksRaw(initOverrides) {
168
168
  const queryParameters = {};
@@ -205,14 +205,14 @@ class WebhooksApi extends runtime.BaseAPI {
205
205
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.WebhookEndpointsResponseFromJSON)(jsonValue));
206
206
  }
207
207
  /**
208
- * List webhooks for the current account.
208
+ * List webhook endpoints on the current account, including each id, URL, subscribed events, and signing secret. Use the id with update or delete.
209
209
  */
210
210
  async listWebhooks(initOverrides) {
211
211
  const response = await this.listWebhooksRaw(initOverrides);
212
212
  return await response.value();
213
213
  }
214
214
  /**
215
- * Update a webhook. The signing secret is preserved.
215
+ * Replace one webhook endpoint\'s URL and its full event subscription. endpointId comes from list or create. The signing secret stays the same. events is the complete set; omitting an event unsubscribes it. The URL must be http or https.
216
216
  */
217
217
  async updateWebhookRaw(requestParameters, initOverrides) {
218
218
  if (requestParameters['endpointId'] == null) {
@@ -264,7 +264,7 @@ class WebhooksApi extends runtime.BaseAPI {
264
264
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.WebhookEndpointFromJSON)(jsonValue));
265
265
  }
266
266
  /**
267
- * Update a webhook. The signing secret is preserved.
267
+ * Replace one webhook endpoint\'s URL and its full event subscription. endpointId comes from list or create. The signing secret stays the same. events is the complete set; omitting an event unsubscribes it. The URL must be http or https.
268
268
  */
269
269
  async updateWebhook(endpointId, webhookEndpointUpsertRequest, initOverrides) {
270
270
  const response = await this.updateWebhookRaw({
@@ -38,9 +38,7 @@ export declare enum CreateAccountRequestPlanTierEnum {
38
38
  BUDGET_100 = "budget_100",
39
39
  BUDGET_250 = "budget_250",
40
40
  BUDGET_500 = "budget_500",
41
- BUDGET_1000 = "budget_1000",
42
- BUDGET_2000 = "budget_2000",
43
- BUDGET_5000 = "budget_5000"
41
+ BUDGET_1000 = "budget_1000"
44
42
  }
45
43
  /**
46
44
  * Check if a given object implements the CreateAccountRequestPlan interface.
@@ -31,8 +31,6 @@ var CreateAccountRequestPlanTierEnum;
31
31
  CreateAccountRequestPlanTierEnum["BUDGET_250"] = "budget_250";
32
32
  CreateAccountRequestPlanTierEnum["BUDGET_500"] = "budget_500";
33
33
  CreateAccountRequestPlanTierEnum["BUDGET_1000"] = "budget_1000";
34
- CreateAccountRequestPlanTierEnum["BUDGET_2000"] = "budget_2000";
35
- CreateAccountRequestPlanTierEnum["BUDGET_5000"] = "budget_5000";
36
34
  })(CreateAccountRequestPlanTierEnum || (exports.CreateAccountRequestPlanTierEnum = CreateAccountRequestPlanTierEnum = {}));
37
35
  /**
38
36
  * Check if a given object implements the CreateAccountRequestPlan interface.
@@ -27,6 +27,12 @@ export interface GetUsageHistoryQuery {
27
27
  * @memberof GetUsageHistoryQuery
28
28
  */
29
29
  endDate: string;
30
+ /**
31
+ * calendar = UTC calendar months (YYYY-MM). billing = account billing cycles (YYYY-MM-DD period start). Defaults to calendar.
32
+ * @type {string}
33
+ * @memberof GetUsageHistoryQuery
34
+ */
35
+ groupBy?: string;
30
36
  }
31
37
  /**
32
38
  * Check if a given object implements the GetUsageHistoryQuery interface.
@@ -37,7 +37,8 @@ function GetUsageHistoryQueryFromJSONTyped(json, ignoreDiscriminator) {
37
37
  }
38
38
  return {
39
39
  startDate: json['startDate'],
40
- endDate: json['endDate']
40
+ endDate: json['endDate'],
41
+ groupBy: json['groupBy'] == null ? undefined : json['groupBy']
41
42
  };
42
43
  }
43
44
  function GetUsageHistoryQueryToJSON(json) {
@@ -49,6 +50,7 @@ function GetUsageHistoryQueryToJSONTyped(value, ignoreDiscriminator = false) {
49
50
  }
50
51
  return {
51
52
  startDate: value['startDate'],
52
- endDate: value['endDate']
53
+ endDate: value['endDate'],
54
+ groupBy: value['groupBy']
53
55
  };
54
56
  }
@@ -17,7 +17,7 @@ import type { GetUsageHistoryResponseItemsInner } from './GetUsageHistoryRespons
17
17
  */
18
18
  export interface GetUsageHistoryResponse {
19
19
  /**
20
- * Array of usage items, one per month in the requested range
20
+ * Array of usage items, one per calendar month or billing cycle in the range
21
21
  * @type {Array<GetUsageHistoryResponseItemsInner>}
22
22
  * @memberof GetUsageHistoryResponse
23
23
  */
@@ -17,7 +17,7 @@ import type { GetUsageHistoryResponseItemsInnerCounts } from './GetUsageHistoryR
17
17
  */
18
18
  export interface GetUsageHistoryResponseItemsInner {
19
19
  /**
20
- * Year-month (YYYY-MM) for this usage period
20
+ * YYYY-MM for calendar months, or YYYY-MM-DD billing-period start.
21
21
  * @type {string}
22
22
  * @memberof GetUsageHistoryResponseItemsInner
23
23
  */
@@ -22,19 +22,19 @@ export interface WebhookEndpoint {
22
22
  */
23
23
  id: string;
24
24
  /**
25
- * Destination URL that receives webhook event payloads.
25
+ * Destination URL that receives signed JSON event payloads.
26
26
  * @type {string}
27
27
  * @memberof WebhookEndpoint
28
28
  */
29
29
  webhook: string;
30
30
  /**
31
- * List of subscribed event types for this endpoint.
31
+ * Subscribed event types for this endpoint.
32
32
  * @type {Array<string>}
33
33
  * @memberof WebhookEndpoint
34
34
  */
35
35
  events: Array<WebhookEndpointEventsEnum>;
36
36
  /**
37
- * HMAC secret for verifying webhook signatures. Use this with your X-Pingram-Signature verification.
37
+ * HMAC secret for verifying X-Pingram-Signature. Returned on create and list; updates keep the same secret. Format: pingram_whsecret_...
38
38
  * @type {string}
39
39
  * @memberof WebhookEndpoint
40
40
  */
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface WebhookEndpointUpsertRequest {
18
18
  /**
19
- * Destination URL that receives webhook event payloads. Must be a valid http(s) URL.
19
+ * Public http or https URL that accepts POST with a JSON event body. Return 2xx to acknowledge. Requests include X-Pingram-Id, X-Pingram-Signature (v1 HMAC-SHA256), and X-Pingram-Timestamp.
20
20
  * @type {string}
21
21
  * @memberof WebhookEndpointUpsertRequest
22
22
  */
23
23
  webhook: string;
24
24
  /**
25
- * List of event types that should be forwarded to the webhook URL.
25
+ * Full set of event types to deliver to this URL. Omitting an event on update unsubscribes it. Inbound SMS to the free shared number only works when that person has already received a text from this number. Inbound SMS to a dedicated number works normally.
26
26
  * @type {Array<string>}
27
27
  * @memberof WebhookEndpointUpsertRequest
28
28
  */
@@ -22,19 +22,19 @@ export interface WebhookEndpointsResponseEndpointsInner {
22
22
  */
23
23
  id: string;
24
24
  /**
25
- * Destination URL that receives webhook event payloads.
25
+ * Destination URL that receives signed JSON event payloads.
26
26
  * @type {string}
27
27
  * @memberof WebhookEndpointsResponseEndpointsInner
28
28
  */
29
29
  webhook: string;
30
30
  /**
31
- * List of subscribed event types for this endpoint.
31
+ * Subscribed event types for this endpoint.
32
32
  * @type {Array<string>}
33
33
  * @memberof WebhookEndpointsResponseEndpointsInner
34
34
  */
35
35
  events: Array<WebhookEndpointsResponseEndpointsInnerEventsEnum>;
36
36
  /**
37
- * HMAC secret for verifying webhook signatures. Use this with your X-Pingram-Signature verification.
37
+ * HMAC secret for verifying X-Pingram-Signature. Returned on create and list; updates keep the same secret. Format: pingram_whsecret_...
38
38
  * @type {string}
39
39
  * @memberof WebhookEndpointsResponseEndpointsInner
40
40
  */
@@ -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.34';
11
+ const SDK_VERSION = '1.0.35';
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pingram",
3
- "version": "1.0.34",
3
+ "version": "1.0.35-alpha.1569",
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",