run402 2.35.0 → 2.36.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.
package/package.json
CHANGED
|
@@ -276,7 +276,7 @@ export declare class Admin {
|
|
|
276
276
|
* `reactivated: true`.
|
|
277
277
|
*
|
|
278
278
|
* Platform-admin only. Calls
|
|
279
|
-
* `POST /billing
|
|
279
|
+
* `POST /billing/v1/admin/accounts/:account_id/lease-perpetual`.
|
|
280
280
|
*/
|
|
281
281
|
setLeasePerpetual(billingAccountId: string, perpetual: boolean): Promise<SetLeasePerpetualResult>;
|
|
282
282
|
/**
|
|
@@ -153,10 +153,10 @@ export class Admin {
|
|
|
153
153
|
* `reactivated: true`.
|
|
154
154
|
*
|
|
155
155
|
* Platform-admin only. Calls
|
|
156
|
-
* `POST /billing
|
|
156
|
+
* `POST /billing/v1/admin/accounts/:account_id/lease-perpetual`.
|
|
157
157
|
*/
|
|
158
158
|
async setLeasePerpetual(billingAccountId, perpetual) {
|
|
159
|
-
return this.client.request(`/billing
|
|
159
|
+
return this.client.request(`/billing/v1/admin/accounts/${encodeURIComponent(billingAccountId)}/lease-perpetual`, {
|
|
160
160
|
method: "POST",
|
|
161
161
|
headers: { "X-Admin-Mode": "1" },
|
|
162
162
|
body: { lease_perpetual: perpetual },
|