phonic 0.30.12 → 0.30.13

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.
@@ -50,8 +50,8 @@ class PhonicClient {
50
50
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
51
51
  "X-Fern-Language": "JavaScript",
52
52
  "X-Fern-SDK-Name": "phonic",
53
- "X-Fern-SDK-Version": "0.30.12",
54
- "User-Agent": "phonic/0.30.12",
53
+ "X-Fern-SDK-Version": "0.30.13",
54
+ "User-Agent": "phonic/0.30.13",
55
55
  "X-Fern-Runtime": core.RUNTIME.type,
56
56
  "X-Fern-Runtime-Version": core.RUNTIME.version,
57
57
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -21,10 +21,10 @@ export interface ConversationsListRequest {
21
21
  started_at_min?: string;
22
22
  /** Maximum start date/time. Valid examples: `2025-04-17`, `2025-04-17T02:48:52.708Z` */
23
23
  started_at_max?: string;
24
- /** Cursor for pagination (before). */
24
+ /** Cursor for backward pagination. Use a conversation ID from `pagination.prev_cursor` to fetch the previous page of conversations. Cannot be used with `after`. */
25
25
  before?: string;
26
- /** Cursor for pagination (after). */
26
+ /** Cursor for forward pagination. Use a conversation ID from `pagination.next_cursor` to fetch the next page of conversations. Cannot be used with `before`. */
27
27
  after?: string;
28
- /** Maximum number of conversations to return. */
28
+ /** Maximum number of conversations to return per page. */
29
29
  limit?: number;
30
30
  }
@@ -4,6 +4,10 @@
4
4
  import * as Phonic from "../../../index.js";
5
5
  export type ConversationsListResponse = {
6
6
  conversations: Phonic.Conversation[];
7
+ pagination: {
8
+ prev_cursor: string | null;
9
+ next_cursor: string | null;
10
+ };
7
11
  } | {
8
12
  conversation: Phonic.Conversation;
9
13
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.30.12";
1
+ export declare const SDK_VERSION = "0.30.13";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.30.12";
4
+ exports.SDK_VERSION = "0.30.13";
@@ -14,8 +14,8 @@ export class PhonicClient {
14
14
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
15
15
  "X-Fern-Language": "JavaScript",
16
16
  "X-Fern-SDK-Name": "phonic",
17
- "X-Fern-SDK-Version": "0.30.12",
18
- "User-Agent": "phonic/0.30.12",
17
+ "X-Fern-SDK-Version": "0.30.13",
18
+ "User-Agent": "phonic/0.30.13",
19
19
  "X-Fern-Runtime": core.RUNTIME.type,
20
20
  "X-Fern-Runtime-Version": core.RUNTIME.version,
21
21
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -21,10 +21,10 @@ export interface ConversationsListRequest {
21
21
  started_at_min?: string;
22
22
  /** Maximum start date/time. Valid examples: `2025-04-17`, `2025-04-17T02:48:52.708Z` */
23
23
  started_at_max?: string;
24
- /** Cursor for pagination (before). */
24
+ /** Cursor for backward pagination. Use a conversation ID from `pagination.prev_cursor` to fetch the previous page of conversations. Cannot be used with `after`. */
25
25
  before?: string;
26
- /** Cursor for pagination (after). */
26
+ /** Cursor for forward pagination. Use a conversation ID from `pagination.next_cursor` to fetch the next page of conversations. Cannot be used with `before`. */
27
27
  after?: string;
28
- /** Maximum number of conversations to return. */
28
+ /** Maximum number of conversations to return per page. */
29
29
  limit?: number;
30
30
  }
@@ -4,6 +4,10 @@
4
4
  import * as Phonic from "../../../index.mjs";
5
5
  export type ConversationsListResponse = {
6
6
  conversations: Phonic.Conversation[];
7
+ pagination: {
8
+ prev_cursor: string | null;
9
+ next_cursor: string | null;
10
+ };
7
11
  } | {
8
12
  conversation: Phonic.Conversation;
9
13
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.30.12";
1
+ export declare const SDK_VERSION = "0.30.13";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.30.12";
1
+ export const SDK_VERSION = "0.30.13";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phonic",
3
- "version": "0.30.12",
3
+ "version": "0.30.13",
4
4
  "private": false,
5
5
  "repository": "github:Phonic-Co/phonic-node",
6
6
  "type": "commonjs",