@talqing/sdk 0.7.0 → 0.8.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.
@@ -551,8 +551,9 @@ class Batches extends HeyApiClient {
551
551
  *
552
552
  * List outbound calling batches, newest first, with live progress.
553
553
  *
554
- * `counts` breaks the recipient list down by outcome and `next_dial_at` says
555
- * when a batch that is not dialling will start again — the clock, not a fault.
554
+ * `counts` breaks the recipient list down by outcome; `next_dial_at` and
555
+ * `next_dial_reason` say when a batch that is not dialling will start again and
556
+ * why — its start time, its window or today's limit, not a fault.
556
557
  * A `failed` batch carries `failure_reason`: the circuit breaker stopped it
557
558
  * after ten consecutive setup failures.
558
559
  */
@@ -588,8 +589,9 @@ class Batches extends HeyApiClient {
588
589
  * greeting. A number that appears twice is refused with both row numbers.
589
590
  *
590
591
  * `start_at` and `calling_window` schedule it in the timezone you give;
591
- * `max_concurrency` and `max_attempts` pace it. A number that was reached is
592
- * never called twice.
592
+ * `max_concurrency`, `max_attempts`, `dial_gap_seconds` and `dial_daily_cap`
593
+ * (a fixed limit or a ramp) pace it. A number that was reached is never
594
+ * called twice.
593
595
  *
594
596
  * Two things you would otherwise learn from an invoice:
595
597
  *
@@ -2251,7 +2253,8 @@ class Sends extends HeyApiClient {
2251
2253
  * drafting runs. It cannot be live beside another send of the batch (409).
2252
2254
  *
2253
2255
  * `start_at` schedules it, `window` holds it to business hours, and
2254
- * `send_gap_seconds` and `send_daily_cap` pace the whole batch. Everything
2256
+ * `send_gap_seconds` and `send_daily_cap` (a fixed limit or a ramp) pace the
2257
+ * whole batch. Everything
2255
2258
  * omitted comes from the batch. Cancelling it leaves the unsent rows as drafts.
2256
2259
  */
2257
2260
  create(parameters, options) {
@@ -2488,7 +2491,7 @@ class Batches2 extends HeyApiClient {
2488
2491
  * One batch: its policy, its per-status counts and what drafting has cost.
2489
2492
  *
2490
2493
  * `drafted_versions` says which published version of the task wrote how many
2491
- * rows, and `sent_today` how much of `send_daily_cap` is left today.
2494
+ * rows, and `sent_today` how much of `send_daily_cap_today` is left.
2492
2495
  */
2493
2496
  get(parameters, options) {
2494
2497
  const params = (0, index_js_1.buildClientParams)([parameters], [{ args: [{ in: 'path', key: 'batch_id' }] }]);
@@ -5022,8 +5025,8 @@ class Batches3 extends HeyApiClient {
5022
5025
  * Send every ready row. **This messages real people and cannot be undone.**
5023
5026
  *
5024
5027
  * `start_at` schedules it, `window` holds it to business hours, and
5025
- * `send_daily_cap` (default 250, Meta's lowest tier) and `send_gap_seconds`
5026
- * pace it.
5028
+ * `send_daily_cap` (default a fixed 250, Meta's lowest tier; or a ramp) and
5029
+ * `send_gap_seconds` pace it.
5027
5030
  */
5028
5031
  send(parameters, options) {
5029
5032
  const params = (0, index_js_1.buildClientParams)([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'sendWhatsAppBatchRequest', map: 'body' }] }]);