@getlatedev/node 0.2.397 → 0.2.398

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/index.d.mts CHANGED
@@ -123,8 +123,8 @@ declare class Zernio {
123
123
  * Reddit API - Search and feed
124
124
  */
125
125
  reddit: {
126
- searchReddit: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SearchRedditData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SearchRedditResponse, unknown, ThrowOnError>;
127
- getRedditFeed: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetRedditFeedData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetRedditFeedResponse, unknown, ThrowOnError>;
126
+ searchReddit: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SearchRedditData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SearchRedditResponse, SearchRedditError, ThrowOnError>;
127
+ getRedditFeed: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetRedditFeedData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetRedditFeedResponse, GetRedditFeedError, ThrowOnError>;
128
128
  };
129
129
  /**
130
130
  * Usage API - Get usage statistics
@@ -9226,7 +9226,7 @@ type SearchRedditResponse = ({
9226
9226
  after?: (string) | null;
9227
9227
  before?: (string) | null;
9228
9228
  });
9229
- type SearchRedditError = (unknown | {
9229
+ type SearchRedditError = (ErrorResponse | {
9230
9230
  error?: string;
9231
9231
  });
9232
9232
  type GetRedditFeedData = {
@@ -9244,7 +9244,7 @@ type GetRedditFeedResponse = ({
9244
9244
  after?: (string) | null;
9245
9245
  before?: (string) | null;
9246
9246
  });
9247
- type GetRedditFeedError = (unknown | {
9247
+ type GetRedditFeedError = (ErrorResponse | {
9248
9248
  error?: string;
9249
9249
  });
9250
9250
  type GetBillingResponse = (BillingSnapshot);
@@ -18034,6 +18034,10 @@ type ListSmsRegistrationsResponse = ({
18034
18034
  */
18035
18035
  campaignId?: (string) | null;
18036
18036
  declineReason?: (string) | null;
18037
+ /**
18038
+ * Toll-free only: when the carrier requested changes ("Waiting For Customer"). The request must be resubmitted within 7 days of this timestamp or it expires.
18039
+ */
18040
+ tfActionRequiredAt?: (string) | null;
18037
18041
  phoneNumbers?: Array<(string)>;
18038
18042
  /**
18039
18043
  * Sole-prop 10DLC only; the OTP step is still pending.
package/dist/index.d.ts CHANGED
@@ -123,8 +123,8 @@ declare class Zernio {
123
123
  * Reddit API - Search and feed
124
124
  */
125
125
  reddit: {
126
- searchReddit: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SearchRedditData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SearchRedditResponse, unknown, ThrowOnError>;
127
- getRedditFeed: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetRedditFeedData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetRedditFeedResponse, unknown, ThrowOnError>;
126
+ searchReddit: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SearchRedditData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SearchRedditResponse, SearchRedditError, ThrowOnError>;
127
+ getRedditFeed: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetRedditFeedData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetRedditFeedResponse, GetRedditFeedError, ThrowOnError>;
128
128
  };
129
129
  /**
130
130
  * Usage API - Get usage statistics
@@ -9226,7 +9226,7 @@ type SearchRedditResponse = ({
9226
9226
  after?: (string) | null;
9227
9227
  before?: (string) | null;
9228
9228
  });
9229
- type SearchRedditError = (unknown | {
9229
+ type SearchRedditError = (ErrorResponse | {
9230
9230
  error?: string;
9231
9231
  });
9232
9232
  type GetRedditFeedData = {
@@ -9244,7 +9244,7 @@ type GetRedditFeedResponse = ({
9244
9244
  after?: (string) | null;
9245
9245
  before?: (string) | null;
9246
9246
  });
9247
- type GetRedditFeedError = (unknown | {
9247
+ type GetRedditFeedError = (ErrorResponse | {
9248
9248
  error?: string;
9249
9249
  });
9250
9250
  type GetBillingResponse = (BillingSnapshot);
@@ -18034,6 +18034,10 @@ type ListSmsRegistrationsResponse = ({
18034
18034
  */
18035
18035
  campaignId?: (string) | null;
18036
18036
  declineReason?: (string) | null;
18037
+ /**
18038
+ * Toll-free only: when the carrier requested changes ("Waiting For Customer"). The request must be resubmitted within 7 days of this timestamp or it expires.
18039
+ */
18040
+ tfActionRequiredAt?: (string) | null;
18037
18041
  phoneNumbers?: Array<(string)>;
18038
18042
  /**
18039
18043
  * Sole-prop 10DLC only; the OTP step is still pending.
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.397",
39
+ version: "0.2.398",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.397",
8
+ version: "0.2.398",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.397",
3
+ "version": "0.2.398",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -8694,7 +8694,7 @@ export type SearchRedditResponse = ({
8694
8694
  before?: (string) | null;
8695
8695
  });
8696
8696
 
8697
- export type SearchRedditError = (unknown | {
8697
+ export type SearchRedditError = (ErrorResponse | {
8698
8698
  error?: string;
8699
8699
  });
8700
8700
 
@@ -8715,7 +8715,7 @@ export type GetRedditFeedResponse = ({
8715
8715
  before?: (string) | null;
8716
8716
  });
8717
8717
 
8718
- export type GetRedditFeedError = (unknown | {
8718
+ export type GetRedditFeedError = (ErrorResponse | {
8719
8719
  error?: string;
8720
8720
  });
8721
8721
 
@@ -18161,6 +18161,10 @@ export type ListSmsRegistrationsResponse = ({
18161
18161
  */
18162
18162
  campaignId?: (string) | null;
18163
18163
  declineReason?: (string) | null;
18164
+ /**
18165
+ * Toll-free only: when the carrier requested changes ("Waiting For Customer"). The request must be resubmitted within 7 days of this timestamp or it expires.
18166
+ */
18167
+ tfActionRequiredAt?: (string) | null;
18164
18168
  phoneNumbers?: Array<(string)>;
18165
18169
  /**
18166
18170
  * Sole-prop 10DLC only; the OTP step is still pending.