@madewithremy/admin 0.1.35 → 0.1.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -4
- package/dist/index.js.map +1 -1
- package/dist/prod.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3548,7 +3548,7 @@ declare function get$7(ctx: AdminContext, params: JobIdParams): Promise<DataSour
|
|
|
3548
3548
|
*
|
|
3549
3549
|
* @throws AdminApiError `job_not_found` (404), `invalid_transition` (422),
|
|
3550
3550
|
* `plan_requires_dedicated` (422), `plan_exceeds_capacity` (422),
|
|
3551
|
-
* `insufficient_credits
|
|
3551
|
+
* `insufficient_credits/*` (402).
|
|
3552
3552
|
*/
|
|
3553
3553
|
declare function approve(ctx: AdminContext, params: JobIdParams & {
|
|
3554
3554
|
/** Batches in flight from here on (max 128); the plan was made at the job's current value. */
|
|
@@ -5566,7 +5566,7 @@ interface ProvisionParams {
|
|
|
5566
5566
|
* within a minute or so. Use `waitForPhase` to block on that.
|
|
5567
5567
|
*
|
|
5568
5568
|
* @throws AdminApiError `offering_not_found` (400), `offering_retired` (422),
|
|
5569
|
-
* `provisioning_unavailable` (422), `insufficient_credits
|
|
5569
|
+
* `provisioning_unavailable` (422), `insufficient_credits/*` (402).
|
|
5570
5570
|
* @example
|
|
5571
5571
|
* const { resource } = await admin.infra.provision({ offeringId: 'retrieval.small' });
|
|
5572
5572
|
*/
|
|
@@ -5620,7 +5620,7 @@ interface ResizeParams {
|
|
|
5620
5620
|
* @throws AdminApiError `resource_not_found` (404), `offering_not_found`
|
|
5621
5621
|
* (400), `offering_retired` (422), `same_offering` (400),
|
|
5622
5622
|
* `offering_kind_mismatch` (400), `resize_pending` (422), `resize_too_small`
|
|
5623
|
-
* (422), `insufficient_credits
|
|
5623
|
+
* (422), `insufficient_credits/*` (402), `invalid_transition` (422).
|
|
5624
5624
|
* @example
|
|
5625
5625
|
* await admin.infra.resize({ id, offeringId: 'retrieval.medium' });
|
|
5626
5626
|
*/
|
|
@@ -8175,7 +8175,7 @@ interface NumbersBuyParams {
|
|
|
8175
8175
|
* @throws AdminApiError `invalid_phone_number` (400) — not a valid +1 E.164
|
|
8176
8176
|
* US number; `number_already_assigned` (422) — this app already has a live
|
|
8177
8177
|
* number; `number_unavailable` (422) — the number is no longer available;
|
|
8178
|
-
* `insufficient_credits
|
|
8178
|
+
* `insufficient_credits/*` (402) — the workspace can't cover it;
|
|
8179
8179
|
* `telnyx_not_configured` (422) — phone numbers unavailable on this host.
|
|
8180
8180
|
* @example
|
|
8181
8181
|
* const { number } = await admin.voice.numbersBuy({
|