twilio 5.0.1 → 5.0.3

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 (44) hide show
  1. package/lib/rest/Twilio.d.ts +0 -5
  2. package/lib/rest/Twilio.js +0 -5
  3. package/lib/rest/api/v2010/account/call/payment.d.ts +1 -1
  4. package/lib/rest/api/v2010/account/call.d.ts +22 -22
  5. package/lib/rest/api/v2010/account/conference/participant.d.ts +6 -0
  6. package/lib/rest/api/v2010/account/conference/participant.js +2 -0
  7. package/lib/rest/api/v2010/account/conference.d.ts +22 -22
  8. package/lib/rest/content/v1/content/approvalCreate.d.ts +3 -3
  9. package/lib/rest/content/v1/content/approvalCreate.js +7 -7
  10. package/lib/rest/content/v1/content/approvalFetch.d.ts +5 -5
  11. package/lib/rest/content/v1/content/approvalFetch.js +14 -14
  12. package/lib/rest/conversations/v1/conversation.d.ts +6 -6
  13. package/lib/rest/conversations/v1/service/conversation.d.ts +6 -6
  14. package/lib/rest/flexApi/v1/plugin/pluginVersions.d.ts +4 -0
  15. package/lib/rest/flexApi/v1/plugin/pluginVersions.js +4 -0
  16. package/lib/rest/lookups/v2/phoneNumber.d.ts +9 -1
  17. package/lib/rest/lookups/v2/phoneNumber.js +4 -0
  18. package/lib/rest/messaging/v1/service.d.ts +6 -0
  19. package/lib/rest/messaging/v1/service.js +2 -0
  20. package/lib/rest/numbers/v1/portingPortInFetch.d.ts +6 -0
  21. package/lib/rest/numbers/v1/portingPortInFetch.js +2 -0
  22. package/lib/rest/oauth/v1/token.d.ts +8 -4
  23. package/lib/rest/oauth/v1/token.js +7 -6
  24. package/lib/rest/trusthub/v1/complianceRegistrationInquiries.d.ts +84 -10
  25. package/lib/rest/trusthub/v1/complianceRegistrationInquiries.js +92 -28
  26. package/lib/rest/trusthub/v1/trustProducts.d.ts +16 -16
  27. package/lib/rest/verify/v2/service.d.ts +11 -0
  28. package/lib/rest/verify/v2/service.js +10 -0
  29. package/lib/twiml/VoiceResponse.d.ts +3 -3
  30. package/package.json +1 -1
  31. package/lib/rest/Media.d.ts +0 -4
  32. package/lib/rest/Media.js +0 -8
  33. package/lib/rest/MediaBase.d.ts +0 -13
  34. package/lib/rest/MediaBase.js +0 -31
  35. package/lib/rest/media/V1.d.ts +0 -25
  36. package/lib/rest/media/V1.js +0 -51
  37. package/lib/rest/media/v1/mediaProcessor.d.ts +0 -317
  38. package/lib/rest/media/v1/mediaProcessor.js +0 -256
  39. package/lib/rest/media/v1/mediaRecording.d.ts +0 -309
  40. package/lib/rest/media/v1/mediaRecording.js +0 -226
  41. package/lib/rest/media/v1/playerStreamer/playbackGrant.d.ts +0 -151
  42. package/lib/rest/media/v1/playerStreamer/playbackGrant.js +0 -146
  43. package/lib/rest/media/v1/playerStreamer.d.ts +0 -327
  44. package/lib/rest/media/v1/playerStreamer.js +0 -264
@@ -12,7 +12,6 @@ import Insights from "./Insights";
12
12
  import Intelligence from "./Intelligence";
13
13
  import IpMessaging from "./IpMessaging";
14
14
  import Lookups from "./Lookups";
15
- import Media from "./Media";
16
15
  import PreviewMessaging from "./PreviewMessaging";
17
16
  import Messaging from "./Messaging";
18
17
  import Microvisor from "./Microvisor";
@@ -89,8 +88,6 @@ declare class Twilio extends Client {
89
88
  _ipMessaging?: IpMessaging;
90
89
  /** (Twilio.Lookups) - lookups domain */
91
90
  _lookups?: Lookups;
92
- /** (Twilio.Media) - media domain */
93
- _media?: Media;
94
91
  /** (Twilio.PreviewMessaging) - previewMessaging domain */
95
92
  _previewMessaging?: PreviewMessaging;
96
93
  /** (Twilio.Messaging) - messaging domain */
@@ -173,8 +170,6 @@ declare class Twilio extends Client {
173
170
  get ipMessaging(): IpMessaging;
174
171
  /** Getter for (Twilio.Lookups) domain */
175
172
  get lookups(): Lookups;
176
- /** Getter for (Twilio.Media) domain */
177
- get media(): Media;
178
173
  /** Getter for (Twilio.PreviewMessaging) domain */
179
174
  get previewMessaging(): PreviewMessaging;
180
175
  /** Getter for (Twilio.Messaging) domain */
@@ -45,7 +45,6 @@ class Twilio extends BaseTwilio_1.Client {
45
45
  this.intelligence;
46
46
  this.ipMessaging;
47
47
  this.lookups;
48
- this.media;
49
48
  this.previewMessaging;
50
49
  this.messaging;
51
50
  this.microvisor;
@@ -128,10 +127,6 @@ class Twilio extends BaseTwilio_1.Client {
128
127
  get lookups() {
129
128
  return this._lookups ?? (this._lookups = new (require("./Lookups"))(this));
130
129
  }
131
- /** Getter for (Twilio.Media) domain */
132
- get media() {
133
- return this._media ?? (this._media = new (require("./Media"))(this));
134
- }
135
130
  /** Getter for (Twilio.PreviewMessaging) domain */
136
131
  get previewMessaging() {
137
132
  return (this._previewMessaging ??
@@ -5,7 +5,7 @@ export type PaymentBankAccountType = "consumer-checking" | "consumer-savings" |
5
5
  export type PaymentCapture = "payment-card-number" | "expiration-date" | "security-code" | "postal-code" | "bank-routing-number" | "bank-account-number";
6
6
  export type PaymentPaymentMethod = "credit-card" | "ach-debit";
7
7
  export type PaymentStatus = "complete" | "cancel";
8
- export type PaymentTokenType = "one-time" | "reusable";
8
+ export type PaymentTokenType = "one-time" | "reusable" | "payment-method";
9
9
  /**
10
10
  * Options to pass to update a PaymentInstance
11
11
  */
@@ -124,17 +124,17 @@ export interface CallListInstanceEachOptions {
124
124
  parentCallSid?: string;
125
125
  /** The status of the calls to include. Can be: `queued`, `ringing`, `in-progress`, `canceled`, `completed`, `failed`, `busy`, or `no-answer`. */
126
126
  status?: CallStatus;
127
- /** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
127
+ /** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
128
128
  startTime?: Date;
129
- /** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
129
+ /** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
130
130
  startTimeBefore?: Date;
131
- /** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
131
+ /** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
132
132
  startTimeAfter?: Date;
133
- /** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
133
+ /** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
134
134
  endTime?: Date;
135
- /** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
135
+ /** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
136
136
  endTimeBefore?: Date;
137
- /** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
137
+ /** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
138
138
  endTimeAfter?: Date;
139
139
  /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
140
140
  pageSize?: number;
@@ -157,17 +157,17 @@ export interface CallListInstanceOptions {
157
157
  parentCallSid?: string;
158
158
  /** The status of the calls to include. Can be: `queued`, `ringing`, `in-progress`, `canceled`, `completed`, `failed`, `busy`, or `no-answer`. */
159
159
  status?: CallStatus;
160
- /** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
160
+ /** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
161
161
  startTime?: Date;
162
- /** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
162
+ /** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
163
163
  startTimeBefore?: Date;
164
- /** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
164
+ /** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
165
165
  startTimeAfter?: Date;
166
- /** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
166
+ /** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
167
167
  endTime?: Date;
168
- /** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
168
+ /** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
169
169
  endTimeBefore?: Date;
170
- /** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
170
+ /** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
171
171
  endTimeAfter?: Date;
172
172
  /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
173
173
  pageSize?: number;
@@ -186,17 +186,17 @@ export interface CallListInstancePageOptions {
186
186
  parentCallSid?: string;
187
187
  /** The status of the calls to include. Can be: `queued`, `ringing`, `in-progress`, `canceled`, `completed`, `failed`, `busy`, or `no-answer`. */
188
188
  status?: CallStatus;
189
- /** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
189
+ /** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
190
190
  startTime?: Date;
191
- /** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
191
+ /** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
192
192
  startTimeBefore?: Date;
193
- /** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
193
+ /** Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date. */
194
194
  startTimeAfter?: Date;
195
- /** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
195
+ /** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
196
196
  endTime?: Date;
197
- /** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
197
+ /** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
198
198
  endTimeBefore?: Date;
199
- /** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
199
+ /** Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date. */
200
200
  endTimeAfter?: Date;
201
201
  /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
202
202
  pageSize?: number;
@@ -330,11 +330,11 @@ export declare class CallInstance {
330
330
  */
331
331
  sid: string;
332
332
  /**
333
- * The date and time in GMT that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
333
+ * The date and time in UTC that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
334
334
  */
335
335
  dateCreated: Date;
336
336
  /**
337
- * The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
337
+ * The date and time in UTC that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
338
338
  */
339
339
  dateUpdated: Date;
340
340
  /**
@@ -367,11 +367,11 @@ export declare class CallInstance {
367
367
  phoneNumberSid: string;
368
368
  status: CallStatus;
369
369
  /**
370
- * The start time of the call, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format. Empty if the call has not yet been dialed.
370
+ * The start time of the call, given as UTC in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format. Empty if the call has not yet been dialed.
371
371
  */
372
372
  startTime: Date;
373
373
  /**
374
- * The time the call ended, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format. Empty if the call did not complete successfully.
374
+ * The time the call ended, given as UTC in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format. Empty if the call did not complete successfully.
375
375
  */
376
376
  endTime: Date;
377
377
  /**
@@ -263,6 +263,7 @@ interface ParticipantResource {
263
263
  hold: boolean;
264
264
  start_conference_on_enter: boolean;
265
265
  status: ParticipantStatus;
266
+ queue_time: string;
266
267
  uri: string;
267
268
  }
268
269
  export declare class ParticipantInstance {
@@ -319,6 +320,10 @@ export declare class ParticipantInstance {
319
320
  */
320
321
  startConferenceOnEnter: boolean;
321
322
  status: ParticipantStatus;
323
+ /**
324
+ * The wait time in milliseconds before participant\'s call is placed. Only available in the response to a create participant request.
325
+ */
326
+ queueTime: string;
322
327
  /**
323
328
  * The URI of the resource, relative to `https://api.twilio.com`.
324
329
  */
@@ -376,6 +381,7 @@ export declare class ParticipantInstance {
376
381
  hold: boolean;
377
382
  startConferenceOnEnter: boolean;
378
383
  status: ParticipantStatus;
384
+ queueTime: string;
379
385
  uri: string;
380
386
  };
381
387
  [inspect.custom](_depth: any, options: InspectOptions): string;
@@ -131,6 +131,7 @@ class ParticipantInstance {
131
131
  this.hold = payload.hold;
132
132
  this.startConferenceOnEnter = payload.start_conference_on_enter;
133
133
  this.status = payload.status;
134
+ this.queueTime = payload.queue_time;
134
135
  this.uri = payload.uri;
135
136
  this._solution = {
136
137
  accountSid,
@@ -187,6 +188,7 @@ class ParticipantInstance {
187
188
  hold: this.hold,
188
189
  startConferenceOnEnter: this.startConferenceOnEnter,
189
190
  status: this.status,
191
+ queueTime: this.queueTime,
190
192
  uri: this.uri,
191
193
  };
192
194
  }
@@ -23,17 +23,17 @@ export interface ConferenceContextUpdateOptions {
23
23
  * Options to pass to each
24
24
  */
25
25
  export interface ConferenceListInstanceEachOptions {
26
- /** The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`. */
26
+ /** Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date. */
27
27
  dateCreated?: Date;
28
- /** The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`. */
28
+ /** Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date. */
29
29
  dateCreatedBefore?: Date;
30
- /** The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`. */
30
+ /** Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date. */
31
31
  dateCreatedAfter?: Date;
32
- /** The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`. */
32
+ /** Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date. */
33
33
  dateUpdated?: Date;
34
- /** The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`. */
34
+ /** Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date. */
35
35
  dateUpdatedBefore?: Date;
36
- /** The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`. */
36
+ /** Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date. */
37
37
  dateUpdatedAfter?: Date;
38
38
  /** The string that identifies the Conference resources to read. */
39
39
  friendlyName?: string;
@@ -52,17 +52,17 @@ export interface ConferenceListInstanceEachOptions {
52
52
  * Options to pass to list
53
53
  */
54
54
  export interface ConferenceListInstanceOptions {
55
- /** The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`. */
55
+ /** Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date. */
56
56
  dateCreated?: Date;
57
- /** The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`. */
57
+ /** Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date. */
58
58
  dateCreatedBefore?: Date;
59
- /** The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`. */
59
+ /** Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date. */
60
60
  dateCreatedAfter?: Date;
61
- /** The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`. */
61
+ /** Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date. */
62
62
  dateUpdated?: Date;
63
- /** The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`. */
63
+ /** Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date. */
64
64
  dateUpdatedBefore?: Date;
65
- /** The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`. */
65
+ /** Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date. */
66
66
  dateUpdatedAfter?: Date;
67
67
  /** The string that identifies the Conference resources to read. */
68
68
  friendlyName?: string;
@@ -77,17 +77,17 @@ export interface ConferenceListInstanceOptions {
77
77
  * Options to pass to page
78
78
  */
79
79
  export interface ConferenceListInstancePageOptions {
80
- /** The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`. */
80
+ /** Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date. */
81
81
  dateCreated?: Date;
82
- /** The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`. */
82
+ /** Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date. */
83
83
  dateCreatedBefore?: Date;
84
- /** The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`. */
84
+ /** Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date. */
85
85
  dateCreatedAfter?: Date;
86
- /** The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`. */
86
+ /** Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date. */
87
87
  dateUpdated?: Date;
88
- /** The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`. */
88
+ /** Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date. */
89
89
  dateUpdatedBefore?: Date;
90
- /** The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`. */
90
+ /** Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date. */
91
91
  dateUpdatedAfter?: Date;
92
92
  /** The string that identifies the Conference resources to read. */
93
93
  friendlyName?: string;
@@ -184,11 +184,11 @@ export declare class ConferenceInstance {
184
184
  */
185
185
  accountSid: string;
186
186
  /**
187
- * The date and time in GMT that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
187
+ * The date and time in UTC that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
188
188
  */
189
189
  dateCreated: Date;
190
190
  /**
191
- * The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
191
+ * The date and time in UTC that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
192
192
  */
193
193
  dateUpdated: Date;
194
194
  /**
@@ -196,7 +196,7 @@ export declare class ConferenceInstance {
196
196
  */
197
197
  apiVersion: string;
198
198
  /**
199
- * A string that you assigned to describe this conference room. Maxiumum length is 128 characters.
199
+ * A string that you assigned to describe this conference room. Maximum length is 128 characters.
200
200
  */
201
201
  friendlyName: string;
202
202
  /**
@@ -204,7 +204,7 @@ export declare class ConferenceInstance {
204
204
  */
205
205
  region: string;
206
206
  /**
207
- * The unique string that that we created to identify this Conference resource.
207
+ * The unique, Twilio-provided string used to identify this Conference resource.
208
208
  */
209
209
  sid: string;
210
210
  status: ConferenceStatus;
@@ -22,7 +22,7 @@ export interface ApprovalCreateListInstanceCreateOptions {
22
22
  contentApprovalRequest: ContentApprovalRequest;
23
23
  }
24
24
  export interface ApprovalCreateSolution {
25
- sid: string;
25
+ contentSid: string;
26
26
  }
27
27
  export interface ApprovalCreateListInstance {
28
28
  _version: V1;
@@ -43,7 +43,7 @@ export interface ApprovalCreateListInstance {
43
43
  toJSON(): any;
44
44
  [inspect.custom](_depth: any, options: InspectOptions): any;
45
45
  }
46
- export declare function ApprovalCreateListInstance(version: V1, sid: string): ApprovalCreateListInstance;
46
+ export declare function ApprovalCreateListInstance(version: V1, contentSid: string): ApprovalCreateListInstance;
47
47
  interface ApprovalCreateResource {
48
48
  name: string;
49
49
  category: string;
@@ -54,7 +54,7 @@ interface ApprovalCreateResource {
54
54
  }
55
55
  export declare class ApprovalCreateInstance {
56
56
  protected _version: V1;
57
- constructor(_version: V1, payload: ApprovalCreateResource, sid: string);
57
+ constructor(_version: V1, payload: ApprovalCreateResource, contentSid: string);
58
58
  name: string;
59
59
  category: string;
60
60
  contentType: string;
@@ -24,14 +24,14 @@ const utility_1 = require("../../../../base/utility");
24
24
  class ContentApprovalRequest {
25
25
  }
26
26
  exports.ContentApprovalRequest = ContentApprovalRequest;
27
- function ApprovalCreateListInstance(version, sid) {
28
- if (!(0, utility_1.isValidPathParam)(sid)) {
29
- throw new Error("Parameter 'sid' is not valid.");
27
+ function ApprovalCreateListInstance(version, contentSid) {
28
+ if (!(0, utility_1.isValidPathParam)(contentSid)) {
29
+ throw new Error("Parameter 'contentSid' is not valid.");
30
30
  }
31
31
  const instance = {};
32
32
  instance._version = version;
33
- instance._solution = { sid };
34
- instance._uri = `/Content/${sid}/ApprovalRequests/whatsapp`;
33
+ instance._solution = { contentSid };
34
+ instance._uri = `/Content/${contentSid}/ApprovalRequests/whatsapp`;
35
35
  instance.create = function create(params, callback) {
36
36
  if (params === null || params === undefined) {
37
37
  throw new Error('Required parameter "params" missing.');
@@ -46,7 +46,7 @@ function ApprovalCreateListInstance(version, sid) {
46
46
  data,
47
47
  headers,
48
48
  });
49
- operationPromise = operationPromise.then((payload) => new ApprovalCreateInstance(operationVersion, payload, instance._solution.sid));
49
+ operationPromise = operationPromise.then((payload) => new ApprovalCreateInstance(operationVersion, payload, instance._solution.contentSid));
50
50
  operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
51
51
  return operationPromise;
52
52
  };
@@ -60,7 +60,7 @@ function ApprovalCreateListInstance(version, sid) {
60
60
  }
61
61
  exports.ApprovalCreateListInstance = ApprovalCreateListInstance;
62
62
  class ApprovalCreateInstance {
63
- constructor(_version, payload, sid) {
63
+ constructor(_version, payload, contentSid) {
64
64
  this._version = _version;
65
65
  this.name = payload.name;
66
66
  this.category = payload.category;
@@ -17,13 +17,13 @@ export interface ApprovalFetchContext {
17
17
  [inspect.custom](_depth: any, options: InspectOptions): any;
18
18
  }
19
19
  export interface ApprovalFetchContextSolution {
20
- sid: string;
20
+ contentSid: string;
21
21
  }
22
22
  export declare class ApprovalFetchContextImpl implements ApprovalFetchContext {
23
23
  protected _version: V1;
24
24
  protected _solution: ApprovalFetchContextSolution;
25
25
  protected _uri: string;
26
- constructor(_version: V1, sid: string);
26
+ constructor(_version: V1, contentSid: string);
27
27
  fetch(callback?: (error: Error | null, item?: ApprovalFetchInstance) => any): Promise<ApprovalFetchInstance>;
28
28
  /**
29
29
  * Provide a user-friendly representation
@@ -43,7 +43,7 @@ export declare class ApprovalFetchInstance {
43
43
  protected _version: V1;
44
44
  protected _solution: ApprovalFetchContextSolution;
45
45
  protected _context?: ApprovalFetchContext;
46
- constructor(_version: V1, payload: ApprovalFetchResource, sid: string);
46
+ constructor(_version: V1, payload: ApprovalFetchResource, contentSid: string);
47
47
  /**
48
48
  * The unique string that that we created to identify the Content resource.
49
49
  */
@@ -83,7 +83,7 @@ export declare class ApprovalFetchInstance {
83
83
  [inspect.custom](_depth: any, options: InspectOptions): string;
84
84
  }
85
85
  export interface ApprovalFetchSolution {
86
- sid: string;
86
+ contentSid: string;
87
87
  }
88
88
  export interface ApprovalFetchListInstance {
89
89
  _version: V1;
@@ -97,5 +97,5 @@ export interface ApprovalFetchListInstance {
97
97
  toJSON(): any;
98
98
  [inspect.custom](_depth: any, options: InspectOptions): any;
99
99
  }
100
- export declare function ApprovalFetchListInstance(version: V1, sid: string): ApprovalFetchListInstance;
100
+ export declare function ApprovalFetchListInstance(version: V1, contentSid: string): ApprovalFetchListInstance;
101
101
  export {};
@@ -19,13 +19,13 @@ const deserialize = require("../../../../base/deserialize");
19
19
  const serialize = require("../../../../base/serialize");
20
20
  const utility_1 = require("../../../../base/utility");
21
21
  class ApprovalFetchContextImpl {
22
- constructor(_version, sid) {
22
+ constructor(_version, contentSid) {
23
23
  this._version = _version;
24
- if (!(0, utility_1.isValidPathParam)(sid)) {
25
- throw new Error("Parameter 'sid' is not valid.");
24
+ if (!(0, utility_1.isValidPathParam)(contentSid)) {
25
+ throw new Error("Parameter 'contentSid' is not valid.");
26
26
  }
27
- this._solution = { sid };
28
- this._uri = `/Content/${sid}/ApprovalRequests`;
27
+ this._solution = { contentSid };
28
+ this._uri = `/Content/${contentSid}/ApprovalRequests`;
29
29
  }
30
30
  fetch(callback) {
31
31
  const instance = this;
@@ -33,7 +33,7 @@ class ApprovalFetchContextImpl {
33
33
  uri: instance._uri,
34
34
  method: "get",
35
35
  });
36
- operationPromise = operationPromise.then((payload) => new ApprovalFetchInstance(operationVersion, payload, instance._solution.sid));
36
+ operationPromise = operationPromise.then((payload) => new ApprovalFetchInstance(operationVersion, payload, instance._solution.contentSid));
37
37
  operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
38
38
  return operationPromise;
39
39
  }
@@ -51,18 +51,18 @@ class ApprovalFetchContextImpl {
51
51
  }
52
52
  exports.ApprovalFetchContextImpl = ApprovalFetchContextImpl;
53
53
  class ApprovalFetchInstance {
54
- constructor(_version, payload, sid) {
54
+ constructor(_version, payload, contentSid) {
55
55
  this._version = _version;
56
56
  this.sid = payload.sid;
57
57
  this.accountSid = payload.account_sid;
58
58
  this.whatsapp = payload.whatsapp;
59
59
  this.url = payload.url;
60
- this._solution = { sid };
60
+ this._solution = { contentSid };
61
61
  }
62
62
  get _proxy() {
63
63
  this._context =
64
64
  this._context ||
65
- new ApprovalFetchContextImpl(this._version, this._solution.sid);
65
+ new ApprovalFetchContextImpl(this._version, this._solution.contentSid);
66
66
  return this._context;
67
67
  }
68
68
  /**
@@ -93,16 +93,16 @@ class ApprovalFetchInstance {
93
93
  }
94
94
  }
95
95
  exports.ApprovalFetchInstance = ApprovalFetchInstance;
96
- function ApprovalFetchListInstance(version, sid) {
97
- if (!(0, utility_1.isValidPathParam)(sid)) {
98
- throw new Error("Parameter 'sid' is not valid.");
96
+ function ApprovalFetchListInstance(version, contentSid) {
97
+ if (!(0, utility_1.isValidPathParam)(contentSid)) {
98
+ throw new Error("Parameter 'contentSid' is not valid.");
99
99
  }
100
100
  const instance = (() => instance.get());
101
101
  instance.get = function get() {
102
- return new ApprovalFetchContextImpl(version, sid);
102
+ return new ApprovalFetchContextImpl(version, contentSid);
103
103
  };
104
104
  instance._version = version;
105
- instance._solution = { sid };
105
+ instance._solution = { contentSid };
106
106
  instance._uri = ``;
107
107
  instance.toJSON = function toJSON() {
108
108
  return instance._solution;
@@ -77,9 +77,9 @@ export interface ConversationListInstanceCreateOptions {
77
77
  * Options to pass to each
78
78
  */
79
79
  export interface ConversationListInstanceEachOptions {
80
- /** Start date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the start time of the date is used (YYYY-MM-DDT00:00:00Z). Can be combined with other filters. */
80
+ /** Specifies the beginning of the date range for filtering Conversations based on their creation date. Conversations that were created on or after this date will be included in the results. The date must be in ISO8601 format, specifically starting at the beginning of the specified date (YYYY-MM-DDT00:00:00Z), for precise filtering. This parameter can be combined with other filters. If this filter is used, the returned list is sorted by latest conversation creation date in descending order. */
81
81
  startDate?: string;
82
- /** End date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the end time of the date is used (YYYY-MM-DDT23:59:59Z). Can be combined with other filters. */
82
+ /** Defines the end of the date range for filtering conversations by their creation date. Only conversations that were created on or before this date will appear in the results. The date must be in ISO8601 format, specifically capturing up to the end of the specified date (YYYY-MM-DDT23:59:59Z), to ensure that conversations from the entire end day are included. This parameter can be combined with other filters. If this filter is used, the returned list is sorted by latest conversation creation date in descending order. */
83
83
  endDate?: string;
84
84
  /** State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed` */
85
85
  state?: ConversationState;
@@ -96,9 +96,9 @@ export interface ConversationListInstanceEachOptions {
96
96
  * Options to pass to list
97
97
  */
98
98
  export interface ConversationListInstanceOptions {
99
- /** Start date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the start time of the date is used (YYYY-MM-DDT00:00:00Z). Can be combined with other filters. */
99
+ /** Specifies the beginning of the date range for filtering Conversations based on their creation date. Conversations that were created on or after this date will be included in the results. The date must be in ISO8601 format, specifically starting at the beginning of the specified date (YYYY-MM-DDT00:00:00Z), for precise filtering. This parameter can be combined with other filters. If this filter is used, the returned list is sorted by latest conversation creation date in descending order. */
100
100
  startDate?: string;
101
- /** End date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the end time of the date is used (YYYY-MM-DDT23:59:59Z). Can be combined with other filters. */
101
+ /** Defines the end of the date range for filtering conversations by their creation date. Only conversations that were created on or before this date will appear in the results. The date must be in ISO8601 format, specifically capturing up to the end of the specified date (YYYY-MM-DDT23:59:59Z), to ensure that conversations from the entire end day are included. This parameter can be combined with other filters. If this filter is used, the returned list is sorted by latest conversation creation date in descending order. */
102
102
  endDate?: string;
103
103
  /** State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed` */
104
104
  state?: ConversationState;
@@ -111,9 +111,9 @@ export interface ConversationListInstanceOptions {
111
111
  * Options to pass to page
112
112
  */
113
113
  export interface ConversationListInstancePageOptions {
114
- /** Start date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the start time of the date is used (YYYY-MM-DDT00:00:00Z). Can be combined with other filters. */
114
+ /** Specifies the beginning of the date range for filtering Conversations based on their creation date. Conversations that were created on or after this date will be included in the results. The date must be in ISO8601 format, specifically starting at the beginning of the specified date (YYYY-MM-DDT00:00:00Z), for precise filtering. This parameter can be combined with other filters. If this filter is used, the returned list is sorted by latest conversation creation date in descending order. */
115
115
  startDate?: string;
116
- /** End date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the end time of the date is used (YYYY-MM-DDT23:59:59Z). Can be combined with other filters. */
116
+ /** Defines the end of the date range for filtering conversations by their creation date. Only conversations that were created on or before this date will appear in the results. The date must be in ISO8601 format, specifically capturing up to the end of the specified date (YYYY-MM-DDT23:59:59Z), to ensure that conversations from the entire end day are included. This parameter can be combined with other filters. If this filter is used, the returned list is sorted by latest conversation creation date in descending order. */
117
117
  endDate?: string;
118
118
  /** State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed` */
119
119
  state?: ConversationState;