@sentdm/sentdm 0.45.0 → 0.46.0

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.
Files changed (149) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/client.d.mts +3 -10
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +3 -10
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -10
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -10
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/channels/channels.d.mts +2 -2
  12. package/resources/channels/channels.d.mts.map +1 -1
  13. package/resources/channels/channels.d.ts +2 -2
  14. package/resources/channels/channels.d.ts.map +1 -1
  15. package/resources/channels/channels.js.map +1 -1
  16. package/resources/channels/channels.mjs.map +1 -1
  17. package/resources/channels/index.d.mts +1 -1
  18. package/resources/channels/index.d.mts.map +1 -1
  19. package/resources/channels/index.d.ts +1 -1
  20. package/resources/channels/index.d.ts.map +1 -1
  21. package/resources/channels/index.js.map +1 -1
  22. package/resources/channels/index.mjs.map +1 -1
  23. package/resources/channels/voice.d.mts +13 -105
  24. package/resources/channels/voice.d.mts.map +1 -1
  25. package/resources/channels/voice.d.ts +13 -105
  26. package/resources/channels/voice.d.ts.map +1 -1
  27. package/resources/channels/voice.js +12 -41
  28. package/resources/channels/voice.js.map +1 -1
  29. package/resources/channels/voice.mjs +12 -41
  30. package/resources/channels/voice.mjs.map +1 -1
  31. package/resources/index.d.mts +1 -1
  32. package/resources/index.d.mts.map +1 -1
  33. package/resources/index.d.ts +1 -1
  34. package/resources/index.d.ts.map +1 -1
  35. package/resources/index.js +3 -3
  36. package/resources/index.js.map +1 -1
  37. package/resources/index.mjs +1 -1
  38. package/resources/index.mjs.map +1 -1
  39. package/resources/messages.d.mts +8 -1
  40. package/resources/messages.d.mts.map +1 -1
  41. package/resources/messages.d.ts +8 -1
  42. package/resources/messages.d.ts.map +1 -1
  43. package/resources/templates.d.mts +14 -13
  44. package/resources/templates.d.mts.map +1 -1
  45. package/resources/templates.d.ts +14 -13
  46. package/resources/templates.d.ts.map +1 -1
  47. package/resources/{calls → voice/calls}/calls.d.mts +17 -12
  48. package/resources/voice/calls/calls.d.mts.map +1 -0
  49. package/resources/{calls → voice/calls}/calls.d.ts +17 -12
  50. package/resources/voice/calls/calls.d.ts.map +1 -0
  51. package/resources/{calls → voice/calls}/calls.js +17 -17
  52. package/resources/voice/calls/calls.js.map +1 -0
  53. package/resources/{calls → voice/calls}/calls.mjs +16 -16
  54. package/resources/voice/calls/calls.mjs.map +1 -0
  55. package/resources/voice/calls/index.d.mts.map +1 -0
  56. package/resources/voice/calls/index.d.ts.map +1 -0
  57. package/resources/voice/calls/index.js.map +1 -0
  58. package/resources/voice/calls/index.mjs.map +1 -0
  59. package/resources/{calls → voice/calls}/participants.d.mts +14 -14
  60. package/resources/voice/calls/participants.d.mts.map +1 -0
  61. package/resources/{calls → voice/calls}/participants.d.ts +14 -14
  62. package/resources/voice/calls/participants.d.ts.map +1 -0
  63. package/resources/{calls → voice/calls}/participants.js +17 -17
  64. package/resources/voice/calls/participants.js.map +1 -0
  65. package/resources/{calls → voice/calls}/participants.mjs +17 -17
  66. package/resources/voice/calls/participants.mjs.map +1 -0
  67. package/resources/voice/calls.d.mts.map +1 -0
  68. package/resources/voice/calls.d.ts.map +1 -0
  69. package/resources/{calls.js → voice/calls.js} +1 -1
  70. package/resources/voice/calls.js.map +1 -0
  71. package/resources/voice/calls.mjs.map +1 -0
  72. package/resources/voice/index.d.mts +4 -0
  73. package/resources/{calls → voice}/index.d.mts.map +1 -1
  74. package/resources/voice/index.d.ts +4 -0
  75. package/resources/{calls → voice}/index.d.ts.map +1 -1
  76. package/resources/voice/index.js +11 -0
  77. package/resources/voice/index.js.map +1 -0
  78. package/resources/voice/index.mjs +5 -0
  79. package/resources/voice/index.mjs.map +1 -0
  80. package/resources/voice/tokens.d.mts +109 -0
  81. package/resources/voice/tokens.d.mts.map +1 -0
  82. package/resources/voice/tokens.d.ts +109 -0
  83. package/resources/voice/tokens.d.ts.map +1 -0
  84. package/resources/voice/tokens.js +45 -0
  85. package/resources/voice/tokens.js.map +1 -0
  86. package/resources/voice/tokens.mjs +41 -0
  87. package/resources/voice/tokens.mjs.map +1 -0
  88. package/resources/voice/voice.d.mts +14 -0
  89. package/resources/voice/voice.d.mts.map +1 -0
  90. package/resources/voice/voice.d.ts +14 -0
  91. package/resources/voice/voice.d.ts.map +1 -0
  92. package/resources/voice/voice.js +21 -0
  93. package/resources/voice/voice.js.map +1 -0
  94. package/resources/voice/voice.mjs +16 -0
  95. package/resources/voice/voice.mjs.map +1 -0
  96. package/resources/voice.d.mts +2 -0
  97. package/resources/voice.d.mts.map +1 -0
  98. package/resources/voice.d.ts +2 -0
  99. package/resources/voice.d.ts.map +1 -0
  100. package/resources/voice.js +6 -0
  101. package/resources/voice.js.map +1 -0
  102. package/resources/voice.mjs +3 -0
  103. package/resources/voice.mjs.map +1 -0
  104. package/resources/webhooks.d.mts +3 -2
  105. package/resources/webhooks.d.mts.map +1 -1
  106. package/resources/webhooks.d.ts +3 -2
  107. package/resources/webhooks.d.ts.map +1 -1
  108. package/src/client.ts +4 -45
  109. package/src/resources/channels/channels.ts +0 -6
  110. package/src/resources/channels/index.ts +0 -3
  111. package/src/resources/channels/voice.ts +12 -135
  112. package/src/resources/index.ts +1 -18
  113. package/src/resources/messages.ts +8 -1
  114. package/src/resources/templates.ts +14 -13
  115. package/src/resources/{calls → voice/calls}/calls.ts +25 -19
  116. package/src/resources/{calls → voice/calls}/participants.ts +21 -21
  117. package/src/resources/voice/index.ts +22 -0
  118. package/src/resources/voice/tokens.ts +144 -0
  119. package/src/resources/voice/voice.ts +60 -0
  120. package/src/resources/voice.ts +3 -0
  121. package/src/resources/webhooks.ts +3 -2
  122. package/src/version.ts +1 -1
  123. package/version.d.mts +1 -1
  124. package/version.d.ts +1 -1
  125. package/version.js +1 -1
  126. package/version.mjs +1 -1
  127. package/resources/calls/calls.d.mts.map +0 -1
  128. package/resources/calls/calls.d.ts.map +0 -1
  129. package/resources/calls/calls.js.map +0 -1
  130. package/resources/calls/calls.mjs.map +0 -1
  131. package/resources/calls/index.js.map +0 -1
  132. package/resources/calls/index.mjs.map +0 -1
  133. package/resources/calls/participants.d.mts.map +0 -1
  134. package/resources/calls/participants.d.ts.map +0 -1
  135. package/resources/calls/participants.js.map +0 -1
  136. package/resources/calls/participants.mjs.map +0 -1
  137. package/resources/calls.d.mts.map +0 -1
  138. package/resources/calls.d.ts.map +0 -1
  139. package/resources/calls.js.map +0 -1
  140. package/resources/calls.mjs.map +0 -1
  141. /package/resources/{calls → voice/calls}/index.d.mts +0 -0
  142. /package/resources/{calls → voice/calls}/index.d.ts +0 -0
  143. /package/resources/{calls → voice/calls}/index.js +0 -0
  144. /package/resources/{calls → voice/calls}/index.mjs +0 -0
  145. /package/resources/{calls.d.mts → voice/calls.d.mts} +0 -0
  146. /package/resources/{calls.d.ts → voice/calls.d.ts} +0 -0
  147. /package/resources/{calls.mjs → voice/calls.mjs} +0 -0
  148. /package/src/resources/{calls → voice/calls}/index.ts +0 -0
  149. /package/src/resources/{calls.ts → voice/calls.ts} +0 -0
@@ -1,16 +1,16 @@
1
- import { APIResource } from "../../core/resource.js";
2
- import * as WebhooksAPI from "../webhooks.js";
1
+ import { APIResource } from "../../../core/resource.js";
2
+ import * as WebhooksAPI from "../../webhooks.js";
3
3
  import * as ParticipantsAPI from "./participants.js";
4
4
  import { APIResponseOfListOfCallParticipant, CallParticipant, CallParticipantTarget, ParticipantAddParams, ParticipantListParams, ParticipantRemoveAllParams, ParticipantRemoveParams, ParticipantUpdateParams, Participants } from "./participants.js";
5
- import { APIPromise } from "../../core/api-promise.js";
6
- import { CallsPage, type CallsPageParams, PagePromise } from "../../core/pagination.js";
7
- import { RequestOptions } from "../../internal/request-options.js";
5
+ import { APIPromise } from "../../../core/api-promise.js";
6
+ import { CallsPage, type CallsPageParams, PagePromise } from "../../../core/pagination.js";
7
+ import { RequestOptions } from "../../../internal/request-options.js";
8
8
  /**
9
9
  * Phone calls from the numbers you hold, driven by your own callback URL.
10
10
  *
11
- * `POST /v3/channels/voice` enables a number for calls, with the callback URL Sent asks what to do with each call on it, and `POST /v3/channels/voice/tokens` mints a short-lived token that lets a user of your app place and receive calls as that number. When a call arrives or a caller presses a key, a signed question is POSTed to the callback URL and the answer decides the call; `POST /v3/channels/voice/{number}/test` checks the URL answers the way we need before a real call reaches it, and `POST /v3/channels/voice/{number}/rotate-secret` replaces the signing secret. The call events themselves (`call.completed` and the rest) arrive through your webhooks.
11
+ * `POST /v3/channels/voice` enables a number for calls, with the callback URL Sent asks what to do with each call on it, and `POST /v3/voice/tokens` mints a short-lived token that lets a user of your app place and receive calls as that number. When a call arrives or a caller presses a key, a signed question is POSTed to the callback URL and the answer decides the call; `POST /v3/channels/voice/{number}/test` checks the URL answers the way we need before a real call reaches it, and `POST /v3/channels/voice/{number}/rotate-secret` replaces the signing secret. The call events themselves (`call.completed` and the rest) arrive through your webhooks.
12
12
  *
13
- * Every call is a record under `/v3/calls`: read it, list its recordings once one is ready, hang it up, start or stop recording, and add, mute or remove conference participants while it is live. A leg to a phone number runs for at most what your balance affords at the destination's rate.
13
+ * Every call is a record under `/v3/voice/calls`: read it, list its recordings once one is ready, hang it up, start or stop recording, and add, mute or remove conference participants while it is live. A leg to a phone number runs for at most what your balance affords at the destination's rate.
14
14
  */
15
15
  export declare class Calls extends APIResource {
16
16
  participants: ParticipantsAPI.Participants;
@@ -21,7 +21,7 @@ export declare class Calls extends APIResource {
21
21
  *
22
22
  * @example
23
23
  * ```ts
24
- * const apiResponseOfCall = await client.calls.retrieve(
24
+ * const apiResponseOfCall = await client.voice.calls.retrieve(
25
25
  * 'call_9f2ab000-0000-4000-8000-000000000001',
26
26
  * );
27
27
  * ```
@@ -36,7 +36,7 @@ export declare class Calls extends APIResource {
36
36
  * @example
37
37
  * ```ts
38
38
  * // Automatically fetches more pages as needed.
39
- * for await (const call of client.calls.list()) {
39
+ * for await (const call of client.voice.calls.list()) {
40
40
  * // ...
41
41
  * }
42
42
  * ```
@@ -51,7 +51,7 @@ export declare class Calls extends APIResource {
51
51
  *
52
52
  * @example
53
53
  * ```ts
54
- * await client.calls.hangup(
54
+ * await client.voice.calls.hangup(
55
55
  * 'call_9f2ab000-0000-4000-8000-000000000001',
56
56
  * );
57
57
  * ```
@@ -69,7 +69,7 @@ export declare class Calls extends APIResource {
69
69
  * @example
70
70
  * ```ts
71
71
  * const apiResponseOfCallRecordings =
72
- * await client.calls.listRecordings(
72
+ * await client.voice.calls.listRecordings(
73
73
  * 'call_9f2ab000-0000-4000-8000-000000000001',
74
74
  * );
75
75
  * ```
@@ -84,7 +84,7 @@ export declare class Calls extends APIResource {
84
84
  *
85
85
  * @example
86
86
  * ```ts
87
- * await client.calls.record(
87
+ * await client.voice.calls.record(
88
88
  * 'call_9f2ab000-0000-4000-8000-000000000001',
89
89
  * );
90
90
  * ```
@@ -193,6 +193,11 @@ export interface Call {
193
193
  * One end of a call
194
194
  */
195
195
  from?: CallParty;
196
+ /**
197
+ * The calling mode: inapp for a call between people in your app and phone numbers,
198
+ * routed by your number's callback URL
199
+ */
200
+ mode?: string;
196
201
  /**
197
202
  * Your number that owns the call, in E.164 format: the dialed number for an
198
203
  * inbound call, the caller's bound number for a call placed from your app
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calls.d.ts","sourceRoot":"","sources":["../../../src/resources/voice/calls/calls.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,WAAW,0BAAuB;AAC9C,OAAO,KAAK,eAAe,0BAAuB;AAClD,OAAO,EACL,kCAAkC,EAClC,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,0BAA0B,EAC1B,uBAAuB,EACvB,uBAAuB,EACvB,YAAY,EACb,0BAAuB;AACxB,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,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Ac,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
@@ -2,19 +2,19 @@
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Calls = void 0;
5
- const tslib_1 = require("../../internal/tslib.js");
6
- const resource_1 = require("../../core/resource.js");
5
+ const tslib_1 = require("../../../internal/tslib.js");
6
+ const resource_1 = require("../../../core/resource.js");
7
7
  const ParticipantsAPI = tslib_1.__importStar(require("./participants.js"));
8
8
  const participants_1 = require("./participants.js");
9
- const pagination_1 = require("../../core/pagination.js");
10
- const headers_1 = require("../../internal/headers.js");
11
- const path_1 = require("../../internal/utils/path.js");
9
+ const pagination_1 = require("../../../core/pagination.js");
10
+ const headers_1 = require("../../../internal/headers.js");
11
+ const path_1 = require("../../../internal/utils/path.js");
12
12
  /**
13
13
  * Phone calls from the numbers you hold, driven by your own callback URL.
14
14
  *
15
- * `POST /v3/channels/voice` enables a number for calls, with the callback URL Sent asks what to do with each call on it, and `POST /v3/channels/voice/tokens` mints a short-lived token that lets a user of your app place and receive calls as that number. When a call arrives or a caller presses a key, a signed question is POSTed to the callback URL and the answer decides the call; `POST /v3/channels/voice/{number}/test` checks the URL answers the way we need before a real call reaches it, and `POST /v3/channels/voice/{number}/rotate-secret` replaces the signing secret. The call events themselves (`call.completed` and the rest) arrive through your webhooks.
15
+ * `POST /v3/channels/voice` enables a number for calls, with the callback URL Sent asks what to do with each call on it, and `POST /v3/voice/tokens` mints a short-lived token that lets a user of your app place and receive calls as that number. When a call arrives or a caller presses a key, a signed question is POSTed to the callback URL and the answer decides the call; `POST /v3/channels/voice/{number}/test` checks the URL answers the way we need before a real call reaches it, and `POST /v3/channels/voice/{number}/rotate-secret` replaces the signing secret. The call events themselves (`call.completed` and the rest) arrive through your webhooks.
16
16
  *
17
- * Every call is a record under `/v3/calls`: read it, list its recordings once one is ready, hang it up, start or stop recording, and add, mute or remove conference participants while it is live. A leg to a phone number runs for at most what your balance affords at the destination's rate.
17
+ * Every call is a record under `/v3/voice/calls`: read it, list its recordings once one is ready, hang it up, start or stop recording, and add, mute or remove conference participants while it is live. A leg to a phone number runs for at most what your balance affords at the destination's rate.
18
18
  */
19
19
  class Calls extends resource_1.APIResource {
20
20
  constructor() {
@@ -28,14 +28,14 @@ class Calls extends resource_1.APIResource {
28
28
  *
29
29
  * @example
30
30
  * ```ts
31
- * const apiResponseOfCall = await client.calls.retrieve(
31
+ * const apiResponseOfCall = await client.voice.calls.retrieve(
32
32
  * 'call_9f2ab000-0000-4000-8000-000000000001',
33
33
  * );
34
34
  * ```
35
35
  */
36
36
  retrieve(id, params = {}, options) {
37
37
  const { 'x-profile-id': xProfileID } = params ?? {};
38
- return this._client.get((0, path_1.path) `/v3/calls/${id}`, {
38
+ return this._client.get((0, path_1.path) `/v3/voice/calls/${id}`, {
39
39
  ...options,
40
40
  headers: (0, headers_1.buildHeaders)([
41
41
  { ...(xProfileID != null ? { 'x-profile-id': xProfileID } : undefined) },
@@ -52,14 +52,14 @@ class Calls extends resource_1.APIResource {
52
52
  * @example
53
53
  * ```ts
54
54
  * // Automatically fetches more pages as needed.
55
- * for await (const call of client.calls.list()) {
55
+ * for await (const call of client.voice.calls.list()) {
56
56
  * // ...
57
57
  * }
58
58
  * ```
59
59
  */
60
60
  list(params = {}, options) {
61
61
  const { 'x-profile-id': xProfileID, ...query } = params ?? {};
62
- return this._client.getAPIList('/v3/calls', (pagination_1.CallsPage), {
62
+ return this._client.getAPIList('/v3/voice/calls', (pagination_1.CallsPage), {
63
63
  query,
64
64
  ...options,
65
65
  headers: (0, headers_1.buildHeaders)([
@@ -77,14 +77,14 @@ class Calls extends resource_1.APIResource {
77
77
  *
78
78
  * @example
79
79
  * ```ts
80
- * await client.calls.hangup(
80
+ * await client.voice.calls.hangup(
81
81
  * 'call_9f2ab000-0000-4000-8000-000000000001',
82
82
  * );
83
83
  * ```
84
84
  */
85
85
  hangup(id, params, options) {
86
86
  const { 'Idempotency-Key': idempotencyKey, 'x-profile-id': xProfileID, ...body } = params;
87
- return this._client.post((0, path_1.path) `/v3/calls/${id}/hangup`, {
87
+ return this._client.post((0, path_1.path) `/v3/voice/calls/${id}/hangup`, {
88
88
  body,
89
89
  ...options,
90
90
  headers: (0, headers_1.buildHeaders)([
@@ -109,14 +109,14 @@ class Calls extends resource_1.APIResource {
109
109
  * @example
110
110
  * ```ts
111
111
  * const apiResponseOfCallRecordings =
112
- * await client.calls.listRecordings(
112
+ * await client.voice.calls.listRecordings(
113
113
  * 'call_9f2ab000-0000-4000-8000-000000000001',
114
114
  * );
115
115
  * ```
116
116
  */
117
117
  listRecordings(id, params = {}, options) {
118
118
  const { 'x-profile-id': xProfileID } = params ?? {};
119
- return this._client.get((0, path_1.path) `/v3/calls/${id}/recordings`, {
119
+ return this._client.get((0, path_1.path) `/v3/voice/calls/${id}/recordings`, {
120
120
  ...options,
121
121
  headers: (0, headers_1.buildHeaders)([
122
122
  { ...(xProfileID != null ? { 'x-profile-id': xProfileID } : undefined) },
@@ -133,14 +133,14 @@ class Calls extends resource_1.APIResource {
133
133
  *
134
134
  * @example
135
135
  * ```ts
136
- * await client.calls.record(
136
+ * await client.voice.calls.record(
137
137
  * 'call_9f2ab000-0000-4000-8000-000000000001',
138
138
  * );
139
139
  * ```
140
140
  */
141
141
  record(id, params, options) {
142
142
  const { 'Idempotency-Key': idempotencyKey, 'x-profile-id': xProfileID, ...body } = params;
143
- return this._client.post((0, path_1.path) `/v3/calls/${id}/recordings`, {
143
+ return this._client.post((0, path_1.path) `/v3/voice/calls/${id}/recordings`, {
144
144
  body,
145
145
  ...options,
146
146
  headers: (0, headers_1.buildHeaders)([
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calls.js","sourceRoot":"","sources":["../../../src/resources/voice/calls/calls.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,2EAAkD;AAClD,oDAUwB;AAExB,4DAAwF;AACxF,0DAAyD;AAEzD,0DAAoD;AAEpD;;;;;;GAMG;AACH,MAAa,KAAM,SAAQ,sBAAW;IAAtC;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqJ9F,CAAC;IAnJC;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAU,EACV,SAAgD,EAAE,EAClD,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,EAAE,EAAE;YACnD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACxE,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,SAA4C,EAAE,EAC9C,OAAwB;QAExB,MAAM,EAAE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M,IAAI,EAAE,CAAC;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,aAAa,EAAE;YAC9D,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;gBACxE,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAU,EAAE,MAAwB,EAAE,OAAwB;QACnE,MAAM,EAAE,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC1F,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,aAAa,EAAE;YAC/D,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,MAAM,EAAE,KAAK;oBACb,GAAG,CAAC,cAAc,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;oBAC/E,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACrE;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AAtJD,sBAsJC;AA8VD,KAAK,CAAC,YAAY,GAAG,2BAAY,CAAC"}
@@ -1,16 +1,16 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../core/resource.mjs";
2
+ import { APIResource } from "../../../core/resource.mjs";
3
3
  import * as ParticipantsAPI from "./participants.mjs";
4
4
  import { Participants, } from "./participants.mjs";
5
- import { CallsPage } from "../../core/pagination.mjs";
6
- import { buildHeaders } from "../../internal/headers.mjs";
7
- import { path } from "../../internal/utils/path.mjs";
5
+ import { CallsPage } from "../../../core/pagination.mjs";
6
+ import { buildHeaders } from "../../../internal/headers.mjs";
7
+ import { path } from "../../../internal/utils/path.mjs";
8
8
  /**
9
9
  * Phone calls from the numbers you hold, driven by your own callback URL.
10
10
  *
11
- * `POST /v3/channels/voice` enables a number for calls, with the callback URL Sent asks what to do with each call on it, and `POST /v3/channels/voice/tokens` mints a short-lived token that lets a user of your app place and receive calls as that number. When a call arrives or a caller presses a key, a signed question is POSTed to the callback URL and the answer decides the call; `POST /v3/channels/voice/{number}/test` checks the URL answers the way we need before a real call reaches it, and `POST /v3/channels/voice/{number}/rotate-secret` replaces the signing secret. The call events themselves (`call.completed` and the rest) arrive through your webhooks.
11
+ * `POST /v3/channels/voice` enables a number for calls, with the callback URL Sent asks what to do with each call on it, and `POST /v3/voice/tokens` mints a short-lived token that lets a user of your app place and receive calls as that number. When a call arrives or a caller presses a key, a signed question is POSTed to the callback URL and the answer decides the call; `POST /v3/channels/voice/{number}/test` checks the URL answers the way we need before a real call reaches it, and `POST /v3/channels/voice/{number}/rotate-secret` replaces the signing secret. The call events themselves (`call.completed` and the rest) arrive through your webhooks.
12
12
  *
13
- * Every call is a record under `/v3/calls`: read it, list its recordings once one is ready, hang it up, start or stop recording, and add, mute or remove conference participants while it is live. A leg to a phone number runs for at most what your balance affords at the destination's rate.
13
+ * Every call is a record under `/v3/voice/calls`: read it, list its recordings once one is ready, hang it up, start or stop recording, and add, mute or remove conference participants while it is live. A leg to a phone number runs for at most what your balance affords at the destination's rate.
14
14
  */
15
15
  export class Calls extends APIResource {
16
16
  constructor() {
@@ -24,14 +24,14 @@ export class Calls extends APIResource {
24
24
  *
25
25
  * @example
26
26
  * ```ts
27
- * const apiResponseOfCall = await client.calls.retrieve(
27
+ * const apiResponseOfCall = await client.voice.calls.retrieve(
28
28
  * 'call_9f2ab000-0000-4000-8000-000000000001',
29
29
  * );
30
30
  * ```
31
31
  */
32
32
  retrieve(id, params = {}, options) {
33
33
  const { 'x-profile-id': xProfileID } = params ?? {};
34
- return this._client.get(path `/v3/calls/${id}`, {
34
+ return this._client.get(path `/v3/voice/calls/${id}`, {
35
35
  ...options,
36
36
  headers: buildHeaders([
37
37
  { ...(xProfileID != null ? { 'x-profile-id': xProfileID } : undefined) },
@@ -48,14 +48,14 @@ export class Calls extends APIResource {
48
48
  * @example
49
49
  * ```ts
50
50
  * // Automatically fetches more pages as needed.
51
- * for await (const call of client.calls.list()) {
51
+ * for await (const call of client.voice.calls.list()) {
52
52
  * // ...
53
53
  * }
54
54
  * ```
55
55
  */
56
56
  list(params = {}, options) {
57
57
  const { 'x-profile-id': xProfileID, ...query } = params ?? {};
58
- return this._client.getAPIList('/v3/calls', (CallsPage), {
58
+ return this._client.getAPIList('/v3/voice/calls', (CallsPage), {
59
59
  query,
60
60
  ...options,
61
61
  headers: buildHeaders([
@@ -73,14 +73,14 @@ export class Calls extends APIResource {
73
73
  *
74
74
  * @example
75
75
  * ```ts
76
- * await client.calls.hangup(
76
+ * await client.voice.calls.hangup(
77
77
  * 'call_9f2ab000-0000-4000-8000-000000000001',
78
78
  * );
79
79
  * ```
80
80
  */
81
81
  hangup(id, params, options) {
82
82
  const { 'Idempotency-Key': idempotencyKey, 'x-profile-id': xProfileID, ...body } = params;
83
- return this._client.post(path `/v3/calls/${id}/hangup`, {
83
+ return this._client.post(path `/v3/voice/calls/${id}/hangup`, {
84
84
  body,
85
85
  ...options,
86
86
  headers: buildHeaders([
@@ -105,14 +105,14 @@ export class Calls extends APIResource {
105
105
  * @example
106
106
  * ```ts
107
107
  * const apiResponseOfCallRecordings =
108
- * await client.calls.listRecordings(
108
+ * await client.voice.calls.listRecordings(
109
109
  * 'call_9f2ab000-0000-4000-8000-000000000001',
110
110
  * );
111
111
  * ```
112
112
  */
113
113
  listRecordings(id, params = {}, options) {
114
114
  const { 'x-profile-id': xProfileID } = params ?? {};
115
- return this._client.get(path `/v3/calls/${id}/recordings`, {
115
+ return this._client.get(path `/v3/voice/calls/${id}/recordings`, {
116
116
  ...options,
117
117
  headers: buildHeaders([
118
118
  { ...(xProfileID != null ? { 'x-profile-id': xProfileID } : undefined) },
@@ -129,14 +129,14 @@ export class Calls extends APIResource {
129
129
  *
130
130
  * @example
131
131
  * ```ts
132
- * await client.calls.record(
132
+ * await client.voice.calls.record(
133
133
  * 'call_9f2ab000-0000-4000-8000-000000000001',
134
134
  * );
135
135
  * ```
136
136
  */
137
137
  record(id, params, options) {
138
138
  const { 'Idempotency-Key': idempotencyKey, 'x-profile-id': xProfileID, ...body } = params;
139
- return this._client.post(path `/v3/calls/${id}/recordings`, {
139
+ return this._client.post(path `/v3/voice/calls/${id}/recordings`, {
140
140
  body,
141
141
  ...options,
142
142
  headers: buildHeaders([
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calls.mjs","sourceRoot":"","sources":["../../../src/resources/voice/calls/calls.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,KAAK,eAAe,2BAAuB;AAClD,OAAO,EASL,YAAY,GACb,2BAAuB;AAExB,OAAO,EAAE,SAAS,EAAqC,qCAAiC;AACxF,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;;;;;GAMG;AACH,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqJ9F,CAAC;IAnJC;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAU,EACV,SAAgD,EAAE,EAClD,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,GAAG,MAAM,I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AC/E,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACrE;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AA8VD,KAAK,CAAC,YAAY,GAAG,YAAY,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/voice/calls/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,EACL,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,sBAAsB,EAC3B,KAAK,IAAI,EACT,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB,oBAAgB;AACjB,OAAO,EACL,YAAY,EACZ,KAAK,kCAAkC,EACvC,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,GAChC,2BAAuB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/voice/calls/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,EACL,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,sBAAsB,EAC3B,KAAK,IAAI,EACT,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB,mBAAgB;AACjB,OAAO,EACL,YAAY,EACZ,KAAK,kCAAkC,EACvC,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,GAChC,0BAAuB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/voice/calls/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAiBiB;AAhBf,8FAAA,KAAK,OAAA;AAiBP,kDAUwB;AATtB,4GAAA,YAAY,OAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/voice/calls/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,KAAK,GAgBN,oBAAgB;AACjB,OAAO,EACL,YAAY,GASb,2BAAuB"}
@@ -1,14 +1,14 @@
1
- import { APIResource } from "../../core/resource.mjs";
2
- import * as WebhooksAPI from "../webhooks.mjs";
1
+ import { APIResource } from "../../../core/resource.mjs";
2
+ import * as WebhooksAPI from "../../webhooks.mjs";
3
3
  import * as CallsAPI from "./calls.mjs";
4
- import { APIPromise } from "../../core/api-promise.mjs";
5
- import { RequestOptions } from "../../internal/request-options.mjs";
4
+ import { APIPromise } from "../../../core/api-promise.mjs";
5
+ import { RequestOptions } from "../../../internal/request-options.mjs";
6
6
  /**
7
7
  * Phone calls from the numbers you hold, driven by your own callback URL.
8
8
  *
9
- * `POST /v3/channels/voice` enables a number for calls, with the callback URL Sent asks what to do with each call on it, and `POST /v3/channels/voice/tokens` mints a short-lived token that lets a user of your app place and receive calls as that number. When a call arrives or a caller presses a key, a signed question is POSTed to the callback URL and the answer decides the call; `POST /v3/channels/voice/{number}/test` checks the URL answers the way we need before a real call reaches it, and `POST /v3/channels/voice/{number}/rotate-secret` replaces the signing secret. The call events themselves (`call.completed` and the rest) arrive through your webhooks.
9
+ * `POST /v3/channels/voice` enables a number for calls, with the callback URL Sent asks what to do with each call on it, and `POST /v3/voice/tokens` mints a short-lived token that lets a user of your app place and receive calls as that number. When a call arrives or a caller presses a key, a signed question is POSTed to the callback URL and the answer decides the call; `POST /v3/channels/voice/{number}/test` checks the URL answers the way we need before a real call reaches it, and `POST /v3/channels/voice/{number}/rotate-secret` replaces the signing secret. The call events themselves (`call.completed` and the rest) arrive through your webhooks.
10
10
  *
11
- * Every call is a record under `/v3/calls`: read it, list its recordings once one is ready, hang it up, start or stop recording, and add, mute or remove conference participants while it is live. A leg to a phone number runs for at most what your balance affords at the destination's rate.
11
+ * Every call is a record under `/v3/voice/calls`: read it, list its recordings once one is ready, hang it up, start or stop recording, and add, mute or remove conference participants while it is live. A leg to a phone number runs for at most what your balance affords at the destination's rate.
12
12
  */
13
13
  export declare class Participants extends APIResource {
14
14
  /**
@@ -21,7 +21,7 @@ export declare class Participants extends APIResource {
21
21
  *
22
22
  * @example
23
23
  * ```ts
24
- * await client.calls.participants.update(
24
+ * await client.voice.calls.participants.update(
25
25
  * 'call_9f2ab000-0000-4000-8000-000000000002',
26
26
  * { id: 'call_9f2ab000-0000-4000-8000-000000000001' },
27
27
  * );
@@ -33,13 +33,13 @@ export declare class Participants extends APIResource {
33
33
  * participant's own call id, who they are, whether the room mutes them, and how
34
34
  * long they have been connected. The call itself is one of the participants. Use a
35
35
  * participant's id to mute or remove them; it is also a call id, so GET
36
- * /v3/calls/{id} accepts it. A call that has ended answers 409, as does a call
37
- * that is not in a conference.
36
+ * /v3/voice/calls/{id} accepts it. A call that has ended answers 409, as does a
37
+ * call that is not in a conference.
38
38
  *
39
39
  * @example
40
40
  * ```ts
41
41
  * const apiResponseOfListOfCallParticipant =
42
- * await client.calls.participants.list(
42
+ * await client.voice.calls.participants.list(
43
43
  * 'call_9f2ab000-0000-4000-8000-000000000001',
44
44
  * );
45
45
  * ```
@@ -59,7 +59,7 @@ export declare class Participants extends APIResource {
59
59
  * @example
60
60
  * ```ts
61
61
  * const apiResponseOfCall =
62
- * await client.calls.participants.add(
62
+ * await client.voice.calls.participants.add(
63
63
  * 'call_9f2ab000-0000-4000-8000-000000000001',
64
64
  * );
65
65
  * ```
@@ -74,7 +74,7 @@ export declare class Participants extends APIResource {
74
74
  *
75
75
  * @example
76
76
  * ```ts
77
- * await client.calls.participants.remove(
77
+ * await client.voice.calls.participants.remove(
78
78
  * 'call_9f2ab000-0000-4000-8000-000000000002',
79
79
  * { id: 'call_9f2ab000-0000-4000-8000-000000000001' },
80
80
  * );
@@ -89,7 +89,7 @@ export declare class Participants extends APIResource {
89
89
  *
90
90
  * @example
91
91
  * ```ts
92
- * await client.calls.participants.removeAll(
92
+ * await client.voice.calls.participants.removeAll(
93
93
  * 'call_9f2ab000-0000-4000-8000-000000000001',
94
94
  * );
95
95
  * ```
@@ -123,7 +123,7 @@ export interface APIResponseOfListOfCallParticipant {
123
123
  export interface CallParticipant {
124
124
  /**
125
125
  * The participant's own call id: what the mute and remove endpoints take, and what
126
- * GET /v3/calls/{id} accepts
126
+ * GET /v3/voice/calls/{id} accepts
127
127
  */
128
128
  id?: string;
129
129
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"participants.d.mts","sourceRoot":"","sources":["../../../src/resources/voice/calls/participants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,WAAW,2BAAuB;AAC9C,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;;;;;GAMG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CA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C,EAC7E,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
@@ -1,14 +1,14 @@
1
- import { APIResource } from "../../core/resource.js";
2
- import * as WebhooksAPI from "../webhooks.js";
1
+ import { APIResource } from "../../../core/resource.js";
2
+ import * as WebhooksAPI from "../../webhooks.js";
3
3
  import * as CallsAPI from "./calls.js";
4
- import { APIPromise } from "../../core/api-promise.js";
5
- import { RequestOptions } from "../../internal/request-options.js";
4
+ import { APIPromise } from "../../../core/api-promise.js";
5
+ import { RequestOptions } from "../../../internal/request-options.js";
6
6
  /**
7
7
  * Phone calls from the numbers you hold, driven by your own callback URL.
8
8
  *
9
- * `POST /v3/channels/voice` enables a number for calls, with the callback URL Sent asks what to do with each call on it, and `POST /v3/channels/voice/tokens` mints a short-lived token that lets a user of your app place and receive calls as that number. When a call arrives or a caller presses a key, a signed question is POSTed to the callback URL and the answer decides the call; `POST /v3/channels/voice/{number}/test` checks the URL answers the way we need before a real call reaches it, and `POST /v3/channels/voice/{number}/rotate-secret` replaces the signing secret. The call events themselves (`call.completed` and the rest) arrive through your webhooks.
9
+ * `POST /v3/channels/voice` enables a number for calls, with the callback URL Sent asks what to do with each call on it, and `POST /v3/voice/tokens` mints a short-lived token that lets a user of your app place and receive calls as that number. When a call arrives or a caller presses a key, a signed question is POSTed to the callback URL and the answer decides the call; `POST /v3/channels/voice/{number}/test` checks the URL answers the way we need before a real call reaches it, and `POST /v3/channels/voice/{number}/rotate-secret` replaces the signing secret. The call events themselves (`call.completed` and the rest) arrive through your webhooks.
10
10
  *
11
- * Every call is a record under `/v3/calls`: read it, list its recordings once one is ready, hang it up, start or stop recording, and add, mute or remove conference participants while it is live. A leg to a phone number runs for at most what your balance affords at the destination's rate.
11
+ * Every call is a record under `/v3/voice/calls`: read it, list its recordings once one is ready, hang it up, start or stop recording, and add, mute or remove conference participants while it is live. A leg to a phone number runs for at most what your balance affords at the destination's rate.
12
12
  */
13
13
  export declare class Participants extends APIResource {
14
14
  /**
@@ -21,7 +21,7 @@ export declare class Participants extends APIResource {
21
21
  *
22
22
  * @example
23
23
  * ```ts
24
- * await client.calls.participants.update(
24
+ * await client.voice.calls.participants.update(
25
25
  * 'call_9f2ab000-0000-4000-8000-000000000002',
26
26
  * { id: 'call_9f2ab000-0000-4000-8000-000000000001' },
27
27
  * );
@@ -33,13 +33,13 @@ export declare class Participants extends APIResource {
33
33
  * participant's own call id, who they are, whether the room mutes them, and how
34
34
  * long they have been connected. The call itself is one of the participants. Use a
35
35
  * participant's id to mute or remove them; it is also a call id, so GET
36
- * /v3/calls/{id} accepts it. A call that has ended answers 409, as does a call
37
- * that is not in a conference.
36
+ * /v3/voice/calls/{id} accepts it. A call that has ended answers 409, as does a
37
+ * call that is not in a conference.
38
38
  *
39
39
  * @example
40
40
  * ```ts
41
41
  * const apiResponseOfListOfCallParticipant =
42
- * await client.calls.participants.list(
42
+ * await client.voice.calls.participants.list(
43
43
  * 'call_9f2ab000-0000-4000-8000-000000000001',
44
44
  * );
45
45
  * ```
@@ -59,7 +59,7 @@ export declare class Participants extends APIResource {
59
59
  * @example
60
60
  * ```ts
61
61
  * const apiResponseOfCall =
62
- * await client.calls.participants.add(
62
+ * await client.voice.calls.participants.add(
63
63
  * 'call_9f2ab000-0000-4000-8000-000000000001',
64
64
  * );
65
65
  * ```
@@ -74,7 +74,7 @@ export declare class Participants extends APIResource {
74
74
  *
75
75
  * @example
76
76
  * ```ts
77
- * await client.calls.participants.remove(
77
+ * await client.voice.calls.participants.remove(
78
78
  * 'call_9f2ab000-0000-4000-8000-000000000002',
79
79
  * { id: 'call_9f2ab000-0000-4000-8000-000000000001' },
80
80
  * );
@@ -89,7 +89,7 @@ export declare class Participants extends APIResource {
89
89
  *
90
90
  * @example
91
91
  * ```ts
92
- * await client.calls.participants.removeAll(
92
+ * await client.voice.calls.participants.removeAll(
93
93
  * 'call_9f2ab000-0000-4000-8000-000000000001',
94
94
  * );
95
95
  * ```
@@ -123,7 +123,7 @@ export interface APIResponseOfListOfCallParticipant {
123
123
  export interface CallParticipant {
124
124
  /**
125
125
  * The participant's own call id: what the mute and remove endpoints take, and what
126
- * GET /v3/calls/{id} accepts
126
+ * GET /v3/voice/calls/{id} accepts
127
127
  */
128
128
  id?: string;
129
129
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"participants.d.ts","sourceRoot":"","sources":["../../../src/resources/voice/calls/participants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,WAAW,0BAAuB;AAC9C,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;;;;;GAMG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAgB1G;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CACF,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kCAAkC,CAAC;IAWjD;;;;;;;;;;;;;;;;;;OAkBG;IACH,GAAG,CACD,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,QAAQ,CAAC,iBAAiB,CAAC;IAezC;;;;;;;;;;;;;;OAcG;IACH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