@nodaro/sdk 2.73.0 → 2.75.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/dist/{chunk-BY3XIXWC.js → chunk-3GF4VPK4.js} +2 -2
- package/dist/chunk-3GF4VPK4.js.map +1 -0
- package/dist/{chunk-6RH2SICN.cjs → chunk-4GSUIOTT.cjs} +2 -2
- package/dist/chunk-4GSUIOTT.cjs.map +1 -0
- package/dist/{chunk-INRVOUKE.js → chunk-66IQZPPW.js} +47 -3
- package/dist/chunk-66IQZPPW.js.map +1 -0
- package/dist/{chunk-C4LXPSSF.cjs → chunk-7OLINQTA.cjs} +2 -2
- package/dist/chunk-7OLINQTA.cjs.map +1 -0
- package/dist/{chunk-25IKUIM3.js → chunk-AZMUM5WG.js} +2 -2
- package/dist/chunk-AZMUM5WG.js.map +1 -0
- package/dist/{chunk-KKQKJD7K.js → chunk-DNONFO6S.js} +2 -2
- package/dist/chunk-DNONFO6S.js.map +1 -0
- package/dist/{chunk-Z3RI7CSA.cjs → chunk-DUE24QGQ.cjs} +2 -2
- package/dist/chunk-DUE24QGQ.cjs.map +1 -0
- package/dist/{chunk-ROUCXQU3.js → chunk-H77BJMV2.js} +2 -2
- package/dist/chunk-H77BJMV2.js.map +1 -0
- package/dist/{chunk-BNJUMQQ3.cjs → chunk-IKZIXM5C.cjs} +24 -8
- package/dist/{chunk-BNJUMQQ3.cjs.map → chunk-IKZIXM5C.cjs.map} +1 -1
- package/dist/{chunk-O4UXEIV6.cjs → chunk-NECPBLEM.cjs} +2 -2
- package/dist/chunk-NECPBLEM.cjs.map +1 -0
- package/dist/{chunk-UDRP64FX.js → chunk-NEGNTQLF.js} +24 -8
- package/dist/{chunk-UDRP64FX.js.map → chunk-NEGNTQLF.js.map} +1 -1
- package/dist/{chunk-JWWRUP6Z.js → chunk-O6YXG4BM.js} +3 -3
- package/dist/{chunk-JWWRUP6Z.js.map → chunk-O6YXG4BM.js.map} +1 -1
- package/dist/{chunk-NZUF5U37.cjs → chunk-QSPTSAEI.cjs} +16 -16
- package/dist/{chunk-NZUF5U37.cjs.map → chunk-QSPTSAEI.cjs.map} +1 -1
- package/dist/{chunk-47TWDFFJ.cjs → chunk-R427LDUV.cjs} +3 -3
- package/dist/{chunk-47TWDFFJ.cjs.map → chunk-R427LDUV.cjs.map} +1 -1
- package/dist/{chunk-VHHLYDF5.js → chunk-UX5SMJEI.js} +9 -9
- package/dist/{chunk-VHHLYDF5.js.map → chunk-UX5SMJEI.js.map} +1 -1
- package/dist/{chunk-YDRNPIUC.cjs → chunk-VMV5JH4U.cjs} +47 -3
- package/dist/chunk-VMV5JH4U.cjs.map +1 -0
- package/dist/{developer-apps-CMUzKpE9.d.ts → developer-apps-D59GfAnO.d.cts} +7 -0
- package/dist/{developer-apps-CMUzKpE9.d.cts → developer-apps-D59GfAnO.d.ts} +7 -0
- package/dist/entries/apps.d.cts +1 -1
- package/dist/entries/apps.d.ts +1 -1
- package/dist/entries/audio.d.cts +1 -1
- package/dist/entries/audio.d.ts +1 -1
- package/dist/entries/billing.cjs +2 -2
- package/dist/entries/billing.d.cts +94 -6
- package/dist/entries/billing.d.ts +94 -6
- package/dist/entries/billing.js +1 -1
- package/dist/entries/cast-swap.d.cts +1 -1
- package/dist/entries/cast-swap.d.ts +1 -1
- package/dist/entries/catalogs.cjs +2 -2
- package/dist/entries/catalogs.d.cts +10 -3
- package/dist/entries/catalogs.d.ts +10 -3
- package/dist/entries/catalogs.js +1 -1
- package/dist/entries/characters.d.cts +3 -3
- package/dist/entries/characters.d.ts +3 -3
- package/dist/entries/client.cjs +13 -13
- package/dist/entries/client.d.cts +5 -5
- package/dist/entries/client.d.ts +5 -5
- package/dist/entries/client.js +8 -8
- package/dist/entries/collections.d.cts +1 -1
- package/dist/entries/collections.d.ts +1 -1
- package/dist/entries/community.d.cts +1 -1
- package/dist/entries/community.d.ts +1 -1
- package/dist/entries/competitors.d.cts +1 -1
- package/dist/entries/competitors.d.ts +1 -1
- package/dist/entries/content-rights.d.cts +1 -1
- package/dist/entries/content-rights.d.ts +1 -1
- package/dist/entries/copilot.d.cts +1 -1
- package/dist/entries/copilot.d.ts +1 -1
- package/dist/entries/core.cjs +5 -5
- package/dist/entries/core.d.cts +1 -1
- package/dist/entries/core.d.ts +1 -1
- package/dist/entries/core.js +1 -1
- package/dist/entries/creatures.d.cts +3 -3
- package/dist/entries/creatures.d.ts +3 -3
- package/dist/entries/credits.cjs +2 -2
- package/dist/entries/credits.d.cts +50 -10
- package/dist/entries/credits.d.ts +50 -10
- package/dist/entries/credits.js +1 -1
- package/dist/entries/developer-apps.d.cts +1 -1
- package/dist/entries/developer-apps.d.ts +1 -1
- package/dist/entries/dubbing.d.cts +1 -1
- package/dist/entries/dubbing.d.ts +1 -1
- package/dist/entries/edit.d.cts +1 -1
- package/dist/entries/edit.d.ts +1 -1
- package/dist/entries/errors.d.cts +2 -2
- package/dist/entries/errors.d.ts +2 -2
- package/dist/entries/executions.d.cts +1 -1
- package/dist/entries/executions.d.ts +1 -1
- package/dist/entries/gallery.d.cts +1 -1
- package/dist/entries/gallery.d.ts +1 -1
- package/dist/entries/jobs.d.cts +1 -1
- package/dist/entries/jobs.d.ts +1 -1
- package/dist/entries/keepers.d.cts +1 -1
- package/dist/entries/keepers.d.ts +1 -1
- package/dist/entries/library.d.cts +1 -1
- package/dist/entries/library.d.ts +1 -1
- package/dist/entries/llm.d.cts +1 -1
- package/dist/entries/llm.d.ts +1 -1
- package/dist/entries/locations.d.cts +3 -3
- package/dist/entries/locations.d.ts +3 -3
- package/dist/entries/media.d.cts +3 -3
- package/dist/entries/media.d.ts +3 -3
- package/dist/entries/models.d.cts +1 -1
- package/dist/entries/models.d.ts +1 -1
- package/dist/entries/moodboards.d.cts +1 -1
- package/dist/entries/moodboards.d.ts +1 -1
- package/dist/entries/node-presets.cjs +2 -2
- package/dist/entries/node-presets.d.cts +8 -4
- package/dist/entries/node-presets.d.ts +8 -4
- package/dist/entries/node-presets.js +1 -1
- package/dist/entries/nodes.cjs +2 -2
- package/dist/entries/nodes.d.cts +3 -3
- package/dist/entries/nodes.d.ts +3 -3
- package/dist/entries/nodes.js +1 -1
- package/dist/entries/oauth.d.cts +1 -1
- package/dist/entries/oauth.d.ts +1 -1
- package/dist/entries/objects.d.cts +3 -3
- package/dist/entries/objects.d.ts +3 -3
- package/dist/entries/organizations.d.cts +1 -1
- package/dist/entries/organizations.d.ts +1 -1
- package/dist/entries/palettes.d.cts +1 -1
- package/dist/entries/palettes.d.ts +1 -1
- package/dist/entries/picker-catalogs.cjs +2 -2
- package/dist/entries/picker-catalogs.d.cts +10 -3
- package/dist/entries/picker-catalogs.d.ts +10 -3
- package/dist/entries/picker-catalogs.js +1 -1
- package/dist/entries/pipelines.d.cts +1 -1
- package/dist/entries/pipelines.d.ts +1 -1
- package/dist/entries/projects.d.cts +1 -1
- package/dist/entries/projects.d.ts +1 -1
- package/dist/entries/prompt-helper.d.cts +1 -1
- package/dist/entries/prompt-helper.d.ts +1 -1
- package/dist/entries/recast.d.cts +1 -1
- package/dist/entries/recast.d.ts +1 -1
- package/dist/entries/reduce.d.cts +1 -1
- package/dist/entries/reduce.d.ts +1 -1
- package/dist/entries/saved-posts.d.cts +1 -1
- package/dist/entries/saved-posts.d.ts +1 -1
- package/dist/entries/scene3d.d.cts +4 -4
- package/dist/entries/scene3d.d.ts +4 -4
- package/dist/entries/sessions.d.cts +1 -1
- package/dist/entries/sessions.d.ts +1 -1
- package/dist/entries/shots.d.cts +1 -1
- package/dist/entries/shots.d.ts +1 -1
- package/dist/entries/studio.d.cts +3 -3
- package/dist/entries/studio.d.ts +3 -3
- package/dist/entries/surface.d.cts +1 -1
- package/dist/entries/surface.d.ts +1 -1
- package/dist/entries/templates.d.cts +1 -1
- package/dist/entries/templates.d.ts +1 -1
- package/dist/entries/trash.d.cts +1 -1
- package/dist/entries/trash.d.ts +1 -1
- package/dist/entries/trend-radar.d.cts +1 -1
- package/dist/entries/trend-radar.d.ts +1 -1
- package/dist/entries/trends.d.cts +1 -1
- package/dist/entries/trends.d.ts +1 -1
- package/dist/entries/tutorials.d.cts +1 -1
- package/dist/entries/tutorials.d.ts +1 -1
- package/dist/entries/uploads.d.cts +1 -1
- package/dist/entries/uploads.d.ts +1 -1
- package/dist/entries/user-settings.d.cts +1 -1
- package/dist/entries/user-settings.d.ts +1 -1
- package/dist/entries/video-pro.d.cts +1 -1
- package/dist/entries/video-pro.d.ts +1 -1
- package/dist/entries/voices.d.cts +1 -1
- package/dist/entries/voices.d.ts +1 -1
- package/dist/entries/webhooks.d.cts +3 -3
- package/dist/entries/webhooks.d.ts +3 -3
- package/dist/entries/workflows.d.cts +1 -1
- package/dist/entries/workflows.d.ts +1 -1
- package/dist/entries/workspaces.d.cts +1 -1
- package/dist/entries/workspaces.d.ts +1 -1
- package/dist/index.cjs +20 -20
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +8 -8
- package/dist/{nodes-RenTt7e3.d.cts → nodes-DtSP2yna.d.cts} +17 -4
- package/dist/{nodes-CB5hXtZV.d.ts → nodes-HKVmoCnt.d.ts} +17 -4
- package/dist/{studio-productions-CMiS827q.d.cts → studio-productions-Cd_AEbKh.d.cts} +1 -1
- package/dist/{studio-productions-DkI51Z9M.d.ts → studio-productions-CsFExPit.d.ts} +1 -1
- package/dist/{webhooks-C2DZTK4n.d.ts → webhooks-Bbrs93kN.d.ts} +1 -1
- package/dist/{webhooks-tg3VN39V.d.cts → webhooks-CqM7KFa6.d.cts} +1 -1
- package/package.json +3 -3
- package/dist/chunk-25IKUIM3.js.map +0 -1
- package/dist/chunk-6RH2SICN.cjs.map +0 -1
- package/dist/chunk-BY3XIXWC.js.map +0 -1
- package/dist/chunk-C4LXPSSF.cjs.map +0 -1
- package/dist/chunk-INRVOUKE.js.map +0 -1
- package/dist/chunk-KKQKJD7K.js.map +0 -1
- package/dist/chunk-O4UXEIV6.cjs.map +0 -1
- package/dist/chunk-ROUCXQU3.js.map +0 -1
- package/dist/chunk-YDRNPIUC.cjs.map +0 -1
- package/dist/chunk-Z3RI7CSA.cjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NodaroClientCore } from '../developer-apps-
|
|
1
|
+
import { N as NodaroClientCore } from '../developer-apps-D59GfAnO.cjs';
|
|
2
2
|
import '@nodaro/shared/apps';
|
|
3
3
|
import '@nodaro/shared/organizations';
|
|
4
4
|
|
|
@@ -84,6 +84,8 @@ interface BillingPlansResult {
|
|
|
84
84
|
max: number;
|
|
85
85
|
currency: string;
|
|
86
86
|
};
|
|
87
|
+
/** The Stripe publishable key to mount the embedded Checkout form with (`uiMode: "embedded"`); `null` when the deployment has none: use the Checkout page. Absent on a server released before it. */
|
|
88
|
+
stripePublishableKey?: string | null;
|
|
87
89
|
}
|
|
88
90
|
/** The account's latest subscription record. */
|
|
89
91
|
interface BillingSubscription {
|
|
@@ -91,7 +93,7 @@ interface BillingSubscription {
|
|
|
91
93
|
stripe_subscription_id: string | null;
|
|
92
94
|
/** The plan id: `"basic"`, `"standard"`, … */
|
|
93
95
|
tier: string;
|
|
94
|
-
/** `"active"`, `"trialing"`, `"past_due"`, `"paused"`, `"canceled"`, `"incomplete"`, `"incomplete_expired"` or `"expired"`. */
|
|
96
|
+
/** `"active"`, `"trialing"`, `"past_due"`, `"unpaid"`, `"paused"`, `"canceled"`, `"incomplete"`, `"incomplete_expired"` or `"expired"`. */
|
|
95
97
|
status: string;
|
|
96
98
|
stripe_price_id: string | null;
|
|
97
99
|
/** ISO-8601. */
|
|
@@ -257,7 +259,29 @@ declare class BillingResource {
|
|
|
257
259
|
* plan's checkout answers `409` while the account already has a
|
|
258
260
|
* subscription: use {@link BillingResource.changePlan}. `ForbiddenError`
|
|
259
261
|
* with the code `self_serve_disabled` on a deployment that does not sell to
|
|
260
|
-
* its users.
|
|
262
|
+
* its users.
|
|
263
|
+
*
|
|
264
|
+
* With `uiMode: "embedded"` the answer is `{ url: null, clientSecret,
|
|
265
|
+
* sessionId }` for Stripe's embedded Checkout: mount it with
|
|
266
|
+
* `clientSecret` and the plans' {@link BillingPlansResult.stripePublishableKey};
|
|
267
|
+
* it never redirects, and `returnPath` / `embedded` are not used (still
|
|
268
|
+
* validated: an invalid `returnPath` is still a `400`). When it
|
|
269
|
+
* completes, poll {@link BillingResource.checkoutStatus} with `sessionId`
|
|
270
|
+
* until `granted`. A `NodaroError` with status `503` and the code
|
|
271
|
+
* `embedded_checkout_unavailable` means the deployment has no embedded
|
|
272
|
+
* form: use the page (no `uiMode`).
|
|
273
|
+
*
|
|
274
|
+
* Pass `replacesSessionId` (the embedded form's earlier `sessionId`) when
|
|
275
|
+
* this session replaces one of yours, so the two are never payable at once.
|
|
276
|
+
* With it, a `NodaroError` with `status` 409 and `code`
|
|
277
|
+
* `checkout_already_complete` means that purchase is paid, so do not ask
|
|
278
|
+
* again; `checkout_in_progress` means its payment is being confirmed, so
|
|
279
|
+
* read {@link BillingResource.checkoutStatus} and ask again once its status
|
|
280
|
+
* reads `open` with `paymentUnderWay: false`, or `expired` (it can still be
|
|
281
|
+
* refused then: ask again on the person's action, or space the retries); a
|
|
282
|
+
* `NotFoundError` (`checkout_session_not_found`) means it is not yours, or
|
|
283
|
+
* is not a session of this same purchase (the same plan checkout, pack or
|
|
284
|
+
* load amount). **Signed-in session only.**
|
|
261
285
|
*/
|
|
262
286
|
checkout(input: BillingCheckoutInput): Promise<BillingCheckoutSession>;
|
|
263
287
|
/**
|
|
@@ -265,9 +289,28 @@ declare class BillingResource {
|
|
|
265
289
|
* a whole amount (`amountUsd`, within {@link BillingPlansResult.topUpRange})
|
|
266
290
|
* as credits at the packs' rate; `credits` is what it will grant. The card
|
|
267
291
|
* is saved for auto top-up. `returnPath` as in {@link checkout}.
|
|
292
|
+
*
|
|
293
|
+
* With `uiMode: "embedded"` the answer is `{ url: null, clientSecret,
|
|
294
|
+
* sessionId, credits }` for Stripe's embedded Checkout, as in
|
|
295
|
+
* {@link checkout} (mount it with the plans' `stripePublishableKey`;
|
|
296
|
+
* `returnPath` / `embedded` are not used, but still validated; a `503`
|
|
297
|
+
* `embedded_checkout_unavailable` means use the page). `replacesSessionId`
|
|
298
|
+
* and its refusals as in {@link checkout}.
|
|
268
299
|
* **Signed-in session only.**
|
|
269
300
|
*/
|
|
270
301
|
loadCredits(input: BillingLoadInput): Promise<BillingLoadSession>;
|
|
302
|
+
/**
|
|
303
|
+
* `GET /v1/billing/checkout-session/:sessionId` → where one of your own
|
|
304
|
+
* Checkout sessions stands: `status`, `paymentStatus`, `mode`, and
|
|
305
|
+
* `granted` once its credits or plan are on the account. After Stripe's
|
|
306
|
+
* embedded form completes, poll it until `granted` is true, then read the
|
|
307
|
+
* balance again. `paymentUnderWay: true` means replacing the session
|
|
308
|
+
* (`replacesSessionId`) would be refused `checkout_in_progress`; `false`
|
|
309
|
+
* means no submitted payment is seen on it. A session that is not yours (or does not exist) is a
|
|
310
|
+
* `NotFoundError` with the code `checkout_session_not_found`; limited to
|
|
311
|
+
* 60 reads a minute per account. **Signed-in session only.**
|
|
312
|
+
*/
|
|
313
|
+
checkoutStatus(sessionId: string): Promise<BillingCheckoutStatus>;
|
|
271
314
|
/**
|
|
272
315
|
* `POST /v1/billing/manage-subscription` → a Stripe Customer Portal page
|
|
273
316
|
* (the card, the billing address, the invoices, cancelling): send the person
|
|
@@ -377,6 +420,8 @@ interface BillingAutoRechargeSaved {
|
|
|
377
420
|
thresholdCredits: number | null;
|
|
378
421
|
amountUsd: number | null;
|
|
379
422
|
}
|
|
423
|
+
/** Where a Checkout session is paid: `"hosted"` (the default) is the Stripe Checkout page; `"embedded"` is Stripe's embedded form inside your own page. */
|
|
424
|
+
type BillingUiMode = "hosted" | "embedded";
|
|
380
425
|
/** What `billing.checkout()` sends. */
|
|
381
426
|
interface BillingCheckoutInput {
|
|
382
427
|
/** A plan's monthly or yearly price id, or a credit pack's (`BillingTopUp.id`). */
|
|
@@ -387,10 +432,27 @@ interface BillingCheckoutInput {
|
|
|
387
432
|
returnPath?: string;
|
|
388
433
|
/** Set by an embedded first-party surface: return to the app's public checkout-complete page. */
|
|
389
434
|
embedded?: boolean;
|
|
435
|
+
/** `"embedded"` answers a session for Stripe's embedded form instead of a page (`returnPath` and `embedded` are then not used, but still validated: an invalid `returnPath` is still a `400`). Absent = `"hosted"`. */
|
|
436
|
+
uiMode?: BillingUiMode;
|
|
437
|
+
/**
|
|
438
|
+
* The id of an earlier Checkout session of yours that this one replaces (the embedded form's `sessionId`).
|
|
439
|
+
* With it, a `NodaroError` with `status` 409 and `code` `checkout_already_complete` means that purchase is paid,
|
|
440
|
+
* so do not ask again; `checkout_in_progress` means its payment is being confirmed, so read `checkoutStatus` and
|
|
441
|
+
* ask again once its status reads `open` with `paymentUnderWay: false`, or `expired` (it can still be refused
|
|
442
|
+
* then: ask again on the person's action, or space the retries); a `NotFoundError`
|
|
443
|
+
* (`checkout_session_not_found`) means it is not yours, or is not a session of this same purchase (the same
|
|
444
|
+
* plan checkout, pack or load amount).
|
|
445
|
+
*/
|
|
446
|
+
replacesSessionId?: string;
|
|
390
447
|
}
|
|
391
|
-
/** A Stripe Checkout page to send the person to. */
|
|
448
|
+
/** A Stripe Checkout page to send the person to, or (with `uiMode: "embedded"`) a session for Stripe's embedded form. */
|
|
392
449
|
interface BillingCheckoutSession {
|
|
450
|
+
/** The Checkout page; `null` for an embedded session. */
|
|
393
451
|
url: string | null;
|
|
452
|
+
/** An embedded session's client secret, to mount Stripe's embedded Checkout with. */
|
|
453
|
+
clientSecret?: string;
|
|
454
|
+
/** An embedded session's id, for {@link BillingResource.checkoutStatus}. */
|
|
455
|
+
sessionId?: string;
|
|
394
456
|
}
|
|
395
457
|
/** What `billing.loadCredits()` sends. */
|
|
396
458
|
interface BillingLoadInput {
|
|
@@ -399,12 +461,38 @@ interface BillingLoadInput {
|
|
|
399
461
|
/** As in {@link BillingCheckoutInput.returnPath}; wins over `embedded`. */
|
|
400
462
|
returnPath?: string;
|
|
401
463
|
embedded?: boolean;
|
|
464
|
+
/** As in {@link BillingCheckoutInput.uiMode}: with `"embedded"`, `returnPath` and `embedded` are not used, but still validated. */
|
|
465
|
+
uiMode?: BillingUiMode;
|
|
466
|
+
/** As in {@link BillingCheckoutInput.replacesSessionId}. */
|
|
467
|
+
replacesSessionId?: string;
|
|
402
468
|
}
|
|
403
|
-
/** A Stripe Checkout page for a load, and the credits it grants. */
|
|
469
|
+
/** A Stripe Checkout page (or, with `uiMode: "embedded"`, an embedded session) for a load, and the credits it grants. */
|
|
404
470
|
interface BillingLoadSession {
|
|
471
|
+
/** The Checkout page; `null` for an embedded session. */
|
|
405
472
|
url: string | null;
|
|
473
|
+
/** An embedded session's client secret, to mount Stripe's embedded Checkout with. */
|
|
474
|
+
clientSecret?: string;
|
|
475
|
+
/** An embedded session's id, for {@link BillingResource.checkoutStatus}. */
|
|
476
|
+
sessionId?: string;
|
|
406
477
|
credits: number;
|
|
407
478
|
}
|
|
479
|
+
/** What `billing.checkoutStatus()` answers: where one of your own Checkout sessions stands. */
|
|
480
|
+
interface BillingCheckoutStatus {
|
|
481
|
+
/** `"complete"` once the form was paid (or needed no payment). */
|
|
482
|
+
status: "open" | "complete" | "expired";
|
|
483
|
+
paymentStatus: "paid" | "unpaid" | "no_payment_required";
|
|
484
|
+
mode: "payment" | "subscription";
|
|
485
|
+
/** True once the purchase's credits or plan have been granted to the account. */
|
|
486
|
+
granted: boolean;
|
|
487
|
+
/**
|
|
488
|
+
* `true`: the session is open and its payment has been submitted, so a `checkout()` or `loadCredits()` naming
|
|
489
|
+
* it as `replacesSessionId` would be refused `checkout_in_progress`. `false`: no submitted payment is seen on
|
|
490
|
+
* the session (also once it is complete or expired). A replacement can still be refused then, so ask again
|
|
491
|
+
* only on the person's action, or space the retries; and a request for another purchase than the session's
|
|
492
|
+
* answers `checkout_session_not_found` whatever this reads. Absent on a platform that does not send it yet.
|
|
493
|
+
*/
|
|
494
|
+
paymentUnderWay?: boolean;
|
|
495
|
+
}
|
|
408
496
|
/** What `billing.portal()` sends. */
|
|
409
497
|
interface BillingPortalInput {
|
|
410
498
|
/** Where the portal's Back goes: a path on the calling origin; default the app's `/billing`. */
|
|
@@ -426,4 +514,4 @@ interface BillingChangePlanResult {
|
|
|
426
514
|
tier: string;
|
|
427
515
|
}
|
|
428
516
|
|
|
429
|
-
export { type BillingAccountSummary, type BillingAutoRecharge, type BillingAutoRechargeInput, type BillingAutoRechargeSaved, type BillingCard, type BillingChangePlanInput, type BillingChangePlanResult, type BillingCheckoutInput, type BillingCheckoutSession, type BillingDetails, type BillingDocument, type BillingLoadInput, type BillingLoadSession, type BillingMoney, type BillingMonthlyPrice, type BillingPaymentMethod, type BillingPlan, type BillingPlanPrices, type BillingPlansResult, type BillingPortalInput, type BillingPortalSession, type BillingPriceCredits, type BillingPurchase, BillingResource, type BillingSubscription, type BillingSubscriptionResult, type BillingSurface, type BillingTopUp, type BillingUsageCategory, type BillingYearlyPrice };
|
|
517
|
+
export { type BillingAccountSummary, type BillingAutoRecharge, type BillingAutoRechargeInput, type BillingAutoRechargeSaved, type BillingCard, type BillingChangePlanInput, type BillingChangePlanResult, type BillingCheckoutInput, type BillingCheckoutSession, type BillingCheckoutStatus, type BillingDetails, type BillingDocument, type BillingLoadInput, type BillingLoadSession, type BillingMoney, type BillingMonthlyPrice, type BillingPaymentMethod, type BillingPlan, type BillingPlanPrices, type BillingPlansResult, type BillingPortalInput, type BillingPortalSession, type BillingPriceCredits, type BillingPurchase, BillingResource, type BillingSubscription, type BillingSubscriptionResult, type BillingSurface, type BillingTopUp, type BillingUiMode, type BillingUsageCategory, type BillingYearlyPrice };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NodaroClientCore } from '../developer-apps-
|
|
1
|
+
import { N as NodaroClientCore } from '../developer-apps-D59GfAnO.js';
|
|
2
2
|
import '@nodaro/shared/apps';
|
|
3
3
|
import '@nodaro/shared/organizations';
|
|
4
4
|
|
|
@@ -84,6 +84,8 @@ interface BillingPlansResult {
|
|
|
84
84
|
max: number;
|
|
85
85
|
currency: string;
|
|
86
86
|
};
|
|
87
|
+
/** The Stripe publishable key to mount the embedded Checkout form with (`uiMode: "embedded"`); `null` when the deployment has none: use the Checkout page. Absent on a server released before it. */
|
|
88
|
+
stripePublishableKey?: string | null;
|
|
87
89
|
}
|
|
88
90
|
/** The account's latest subscription record. */
|
|
89
91
|
interface BillingSubscription {
|
|
@@ -91,7 +93,7 @@ interface BillingSubscription {
|
|
|
91
93
|
stripe_subscription_id: string | null;
|
|
92
94
|
/** The plan id: `"basic"`, `"standard"`, … */
|
|
93
95
|
tier: string;
|
|
94
|
-
/** `"active"`, `"trialing"`, `"past_due"`, `"paused"`, `"canceled"`, `"incomplete"`, `"incomplete_expired"` or `"expired"`. */
|
|
96
|
+
/** `"active"`, `"trialing"`, `"past_due"`, `"unpaid"`, `"paused"`, `"canceled"`, `"incomplete"`, `"incomplete_expired"` or `"expired"`. */
|
|
95
97
|
status: string;
|
|
96
98
|
stripe_price_id: string | null;
|
|
97
99
|
/** ISO-8601. */
|
|
@@ -257,7 +259,29 @@ declare class BillingResource {
|
|
|
257
259
|
* plan's checkout answers `409` while the account already has a
|
|
258
260
|
* subscription: use {@link BillingResource.changePlan}. `ForbiddenError`
|
|
259
261
|
* with the code `self_serve_disabled` on a deployment that does not sell to
|
|
260
|
-
* its users.
|
|
262
|
+
* its users.
|
|
263
|
+
*
|
|
264
|
+
* With `uiMode: "embedded"` the answer is `{ url: null, clientSecret,
|
|
265
|
+
* sessionId }` for Stripe's embedded Checkout: mount it with
|
|
266
|
+
* `clientSecret` and the plans' {@link BillingPlansResult.stripePublishableKey};
|
|
267
|
+
* it never redirects, and `returnPath` / `embedded` are not used (still
|
|
268
|
+
* validated: an invalid `returnPath` is still a `400`). When it
|
|
269
|
+
* completes, poll {@link BillingResource.checkoutStatus} with `sessionId`
|
|
270
|
+
* until `granted`. A `NodaroError` with status `503` and the code
|
|
271
|
+
* `embedded_checkout_unavailable` means the deployment has no embedded
|
|
272
|
+
* form: use the page (no `uiMode`).
|
|
273
|
+
*
|
|
274
|
+
* Pass `replacesSessionId` (the embedded form's earlier `sessionId`) when
|
|
275
|
+
* this session replaces one of yours, so the two are never payable at once.
|
|
276
|
+
* With it, a `NodaroError` with `status` 409 and `code`
|
|
277
|
+
* `checkout_already_complete` means that purchase is paid, so do not ask
|
|
278
|
+
* again; `checkout_in_progress` means its payment is being confirmed, so
|
|
279
|
+
* read {@link BillingResource.checkoutStatus} and ask again once its status
|
|
280
|
+
* reads `open` with `paymentUnderWay: false`, or `expired` (it can still be
|
|
281
|
+
* refused then: ask again on the person's action, or space the retries); a
|
|
282
|
+
* `NotFoundError` (`checkout_session_not_found`) means it is not yours, or
|
|
283
|
+
* is not a session of this same purchase (the same plan checkout, pack or
|
|
284
|
+
* load amount). **Signed-in session only.**
|
|
261
285
|
*/
|
|
262
286
|
checkout(input: BillingCheckoutInput): Promise<BillingCheckoutSession>;
|
|
263
287
|
/**
|
|
@@ -265,9 +289,28 @@ declare class BillingResource {
|
|
|
265
289
|
* a whole amount (`amountUsd`, within {@link BillingPlansResult.topUpRange})
|
|
266
290
|
* as credits at the packs' rate; `credits` is what it will grant. The card
|
|
267
291
|
* is saved for auto top-up. `returnPath` as in {@link checkout}.
|
|
292
|
+
*
|
|
293
|
+
* With `uiMode: "embedded"` the answer is `{ url: null, clientSecret,
|
|
294
|
+
* sessionId, credits }` for Stripe's embedded Checkout, as in
|
|
295
|
+
* {@link checkout} (mount it with the plans' `stripePublishableKey`;
|
|
296
|
+
* `returnPath` / `embedded` are not used, but still validated; a `503`
|
|
297
|
+
* `embedded_checkout_unavailable` means use the page). `replacesSessionId`
|
|
298
|
+
* and its refusals as in {@link checkout}.
|
|
268
299
|
* **Signed-in session only.**
|
|
269
300
|
*/
|
|
270
301
|
loadCredits(input: BillingLoadInput): Promise<BillingLoadSession>;
|
|
302
|
+
/**
|
|
303
|
+
* `GET /v1/billing/checkout-session/:sessionId` → where one of your own
|
|
304
|
+
* Checkout sessions stands: `status`, `paymentStatus`, `mode`, and
|
|
305
|
+
* `granted` once its credits or plan are on the account. After Stripe's
|
|
306
|
+
* embedded form completes, poll it until `granted` is true, then read the
|
|
307
|
+
* balance again. `paymentUnderWay: true` means replacing the session
|
|
308
|
+
* (`replacesSessionId`) would be refused `checkout_in_progress`; `false`
|
|
309
|
+
* means no submitted payment is seen on it. A session that is not yours (or does not exist) is a
|
|
310
|
+
* `NotFoundError` with the code `checkout_session_not_found`; limited to
|
|
311
|
+
* 60 reads a minute per account. **Signed-in session only.**
|
|
312
|
+
*/
|
|
313
|
+
checkoutStatus(sessionId: string): Promise<BillingCheckoutStatus>;
|
|
271
314
|
/**
|
|
272
315
|
* `POST /v1/billing/manage-subscription` → a Stripe Customer Portal page
|
|
273
316
|
* (the card, the billing address, the invoices, cancelling): send the person
|
|
@@ -377,6 +420,8 @@ interface BillingAutoRechargeSaved {
|
|
|
377
420
|
thresholdCredits: number | null;
|
|
378
421
|
amountUsd: number | null;
|
|
379
422
|
}
|
|
423
|
+
/** Where a Checkout session is paid: `"hosted"` (the default) is the Stripe Checkout page; `"embedded"` is Stripe's embedded form inside your own page. */
|
|
424
|
+
type BillingUiMode = "hosted" | "embedded";
|
|
380
425
|
/** What `billing.checkout()` sends. */
|
|
381
426
|
interface BillingCheckoutInput {
|
|
382
427
|
/** A plan's monthly or yearly price id, or a credit pack's (`BillingTopUp.id`). */
|
|
@@ -387,10 +432,27 @@ interface BillingCheckoutInput {
|
|
|
387
432
|
returnPath?: string;
|
|
388
433
|
/** Set by an embedded first-party surface: return to the app's public checkout-complete page. */
|
|
389
434
|
embedded?: boolean;
|
|
435
|
+
/** `"embedded"` answers a session for Stripe's embedded form instead of a page (`returnPath` and `embedded` are then not used, but still validated: an invalid `returnPath` is still a `400`). Absent = `"hosted"`. */
|
|
436
|
+
uiMode?: BillingUiMode;
|
|
437
|
+
/**
|
|
438
|
+
* The id of an earlier Checkout session of yours that this one replaces (the embedded form's `sessionId`).
|
|
439
|
+
* With it, a `NodaroError` with `status` 409 and `code` `checkout_already_complete` means that purchase is paid,
|
|
440
|
+
* so do not ask again; `checkout_in_progress` means its payment is being confirmed, so read `checkoutStatus` and
|
|
441
|
+
* ask again once its status reads `open` with `paymentUnderWay: false`, or `expired` (it can still be refused
|
|
442
|
+
* then: ask again on the person's action, or space the retries); a `NotFoundError`
|
|
443
|
+
* (`checkout_session_not_found`) means it is not yours, or is not a session of this same purchase (the same
|
|
444
|
+
* plan checkout, pack or load amount).
|
|
445
|
+
*/
|
|
446
|
+
replacesSessionId?: string;
|
|
390
447
|
}
|
|
391
|
-
/** A Stripe Checkout page to send the person to. */
|
|
448
|
+
/** A Stripe Checkout page to send the person to, or (with `uiMode: "embedded"`) a session for Stripe's embedded form. */
|
|
392
449
|
interface BillingCheckoutSession {
|
|
450
|
+
/** The Checkout page; `null` for an embedded session. */
|
|
393
451
|
url: string | null;
|
|
452
|
+
/** An embedded session's client secret, to mount Stripe's embedded Checkout with. */
|
|
453
|
+
clientSecret?: string;
|
|
454
|
+
/** An embedded session's id, for {@link BillingResource.checkoutStatus}. */
|
|
455
|
+
sessionId?: string;
|
|
394
456
|
}
|
|
395
457
|
/** What `billing.loadCredits()` sends. */
|
|
396
458
|
interface BillingLoadInput {
|
|
@@ -399,12 +461,38 @@ interface BillingLoadInput {
|
|
|
399
461
|
/** As in {@link BillingCheckoutInput.returnPath}; wins over `embedded`. */
|
|
400
462
|
returnPath?: string;
|
|
401
463
|
embedded?: boolean;
|
|
464
|
+
/** As in {@link BillingCheckoutInput.uiMode}: with `"embedded"`, `returnPath` and `embedded` are not used, but still validated. */
|
|
465
|
+
uiMode?: BillingUiMode;
|
|
466
|
+
/** As in {@link BillingCheckoutInput.replacesSessionId}. */
|
|
467
|
+
replacesSessionId?: string;
|
|
402
468
|
}
|
|
403
|
-
/** A Stripe Checkout page for a load, and the credits it grants. */
|
|
469
|
+
/** A Stripe Checkout page (or, with `uiMode: "embedded"`, an embedded session) for a load, and the credits it grants. */
|
|
404
470
|
interface BillingLoadSession {
|
|
471
|
+
/** The Checkout page; `null` for an embedded session. */
|
|
405
472
|
url: string | null;
|
|
473
|
+
/** An embedded session's client secret, to mount Stripe's embedded Checkout with. */
|
|
474
|
+
clientSecret?: string;
|
|
475
|
+
/** An embedded session's id, for {@link BillingResource.checkoutStatus}. */
|
|
476
|
+
sessionId?: string;
|
|
406
477
|
credits: number;
|
|
407
478
|
}
|
|
479
|
+
/** What `billing.checkoutStatus()` answers: where one of your own Checkout sessions stands. */
|
|
480
|
+
interface BillingCheckoutStatus {
|
|
481
|
+
/** `"complete"` once the form was paid (or needed no payment). */
|
|
482
|
+
status: "open" | "complete" | "expired";
|
|
483
|
+
paymentStatus: "paid" | "unpaid" | "no_payment_required";
|
|
484
|
+
mode: "payment" | "subscription";
|
|
485
|
+
/** True once the purchase's credits or plan have been granted to the account. */
|
|
486
|
+
granted: boolean;
|
|
487
|
+
/**
|
|
488
|
+
* `true`: the session is open and its payment has been submitted, so a `checkout()` or `loadCredits()` naming
|
|
489
|
+
* it as `replacesSessionId` would be refused `checkout_in_progress`. `false`: no submitted payment is seen on
|
|
490
|
+
* the session (also once it is complete or expired). A replacement can still be refused then, so ask again
|
|
491
|
+
* only on the person's action, or space the retries; and a request for another purchase than the session's
|
|
492
|
+
* answers `checkout_session_not_found` whatever this reads. Absent on a platform that does not send it yet.
|
|
493
|
+
*/
|
|
494
|
+
paymentUnderWay?: boolean;
|
|
495
|
+
}
|
|
408
496
|
/** What `billing.portal()` sends. */
|
|
409
497
|
interface BillingPortalInput {
|
|
410
498
|
/** Where the portal's Back goes: a path on the calling origin; default the app's `/billing`. */
|
|
@@ -426,4 +514,4 @@ interface BillingChangePlanResult {
|
|
|
426
514
|
tier: string;
|
|
427
515
|
}
|
|
428
516
|
|
|
429
|
-
export { type BillingAccountSummary, type BillingAutoRecharge, type BillingAutoRechargeInput, type BillingAutoRechargeSaved, type BillingCard, type BillingChangePlanInput, type BillingChangePlanResult, type BillingCheckoutInput, type BillingCheckoutSession, type BillingDetails, type BillingDocument, type BillingLoadInput, type BillingLoadSession, type BillingMoney, type BillingMonthlyPrice, type BillingPaymentMethod, type BillingPlan, type BillingPlanPrices, type BillingPlansResult, type BillingPortalInput, type BillingPortalSession, type BillingPriceCredits, type BillingPurchase, BillingResource, type BillingSubscription, type BillingSubscriptionResult, type BillingSurface, type BillingTopUp, type BillingUsageCategory, type BillingYearlyPrice };
|
|
517
|
+
export { type BillingAccountSummary, type BillingAutoRecharge, type BillingAutoRechargeInput, type BillingAutoRechargeSaved, type BillingCard, type BillingChangePlanInput, type BillingChangePlanResult, type BillingCheckoutInput, type BillingCheckoutSession, type BillingCheckoutStatus, type BillingDetails, type BillingDocument, type BillingLoadInput, type BillingLoadSession, type BillingMoney, type BillingMonthlyPrice, type BillingPaymentMethod, type BillingPlan, type BillingPlanPrices, type BillingPlansResult, type BillingPortalInput, type BillingPortalSession, type BillingPriceCredits, type BillingPurchase, BillingResource, type BillingSubscription, type BillingSubscriptionResult, type BillingSurface, type BillingTopUp, type BillingUiMode, type BillingUsageCategory, type BillingYearlyPrice };
|
package/dist/entries/billing.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-43NO4SGC.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk7OLINQTA_cjs = require('../chunk-7OLINQTA.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "CatalogsResource", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk7OLINQTA_cjs.CatalogsResource; }
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=catalogs.cjs.map
|
|
13
13
|
//# sourceMappingURL=catalogs.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NodaroClientCore } from '../developer-apps-
|
|
1
|
+
import { N as NodaroClientCore } from '../developer-apps-D59GfAnO.cjs';
|
|
2
2
|
import '@nodaro/shared/apps';
|
|
3
3
|
import '@nodaro/shared/organizations';
|
|
4
4
|
|
|
@@ -27,11 +27,18 @@ interface ProjectedCatalogOption {
|
|
|
27
27
|
* Cloud only) rendered look preview — on the installation's own host, or the
|
|
28
28
|
* Nodaro CDN for look previews. Absent when the option has no picture. Use it
|
|
29
29
|
* as given: file names carry a content hash, so it can be cached for good.
|
|
30
|
+
*
|
|
31
|
+
* On a deployment that shows its own pictures (`catalogs.images: "own"`) it
|
|
32
|
+
* is the deployment's picture: an absolute URL on its media host, or a path
|
|
33
|
+
* on the deployment's own site (`/brand/…`). Resolve a path against the
|
|
34
|
+
* address you call the API at (`new URL(imageUrl, baseUrl)`); a page served
|
|
35
|
+
* by that site can use it as it is.
|
|
30
36
|
*/
|
|
31
37
|
imageUrl?: string;
|
|
32
38
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
39
|
+
* The option's enlarged picture (an absolute URL or a path on the site, like
|
|
40
|
+
* `imageUrl`): the larger version to show where your picker shows the
|
|
41
|
+
* option big (hover, zoom, a detail view).
|
|
35
42
|
* Present only on a deployment that shows its own pictures (its surface
|
|
36
43
|
* profile's `catalogs.images: "own"`) and gave one for this option; absent
|
|
37
44
|
* everywhere else, so draw `imageUrl` there instead.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as NodaroClientCore } from '../developer-apps-
|
|
1
|
+
import { N as NodaroClientCore } from '../developer-apps-D59GfAnO.js';
|
|
2
2
|
import '@nodaro/shared/apps';
|
|
3
3
|
import '@nodaro/shared/organizations';
|
|
4
4
|
|
|
@@ -27,11 +27,18 @@ interface ProjectedCatalogOption {
|
|
|
27
27
|
* Cloud only) rendered look preview — on the installation's own host, or the
|
|
28
28
|
* Nodaro CDN for look previews. Absent when the option has no picture. Use it
|
|
29
29
|
* as given: file names carry a content hash, so it can be cached for good.
|
|
30
|
+
*
|
|
31
|
+
* On a deployment that shows its own pictures (`catalogs.images: "own"`) it
|
|
32
|
+
* is the deployment's picture: an absolute URL on its media host, or a path
|
|
33
|
+
* on the deployment's own site (`/brand/…`). Resolve a path against the
|
|
34
|
+
* address you call the API at (`new URL(imageUrl, baseUrl)`); a page served
|
|
35
|
+
* by that site can use it as it is.
|
|
30
36
|
*/
|
|
31
37
|
imageUrl?: string;
|
|
32
38
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
39
|
+
* The option's enlarged picture (an absolute URL or a path on the site, like
|
|
40
|
+
* `imageUrl`): the larger version to show where your picker shows the
|
|
41
|
+
* option big (hover, zoom, a detail view).
|
|
35
42
|
* Present only on a deployment that shows its own pictures (its surface
|
|
36
43
|
* profile's `catalogs.images: "own"`) and gave one for this option; absent
|
|
37
44
|
* everywhere else, so draw `imageUrl` there instead.
|
package/dist/entries/catalogs.js
CHANGED
|
@@ -3,8 +3,8 @@ export { PEOPLE, PERSON_DIMENSION_LABELS, PERSON_DIMENSION_ORDER, PersonValue, b
|
|
|
3
3
|
import { EntityStyle, CharacterAspectRatio, CharacterAttachColumn } from '@nodaro/shared/entities';
|
|
4
4
|
export { CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_STYLES, CharacterAspectRatio, EntityStyle } from '@nodaro/shared/entities';
|
|
5
5
|
import { TtsProvider } from '@nodaro/shared/models';
|
|
6
|
-
import { N as NodaroClientCore } from '../developer-apps-
|
|
7
|
-
import { l as GenerationSessionParams, a4 as Subject } from '../nodes-
|
|
6
|
+
import { N as NodaroClientCore } from '../developer-apps-D59GfAnO.cjs';
|
|
7
|
+
import { l as GenerationSessionParams, a4 as Subject } from '../nodes-DtSP2yna.cjs';
|
|
8
8
|
import { SetKeeperCatalogInput, SetKeeperCatalogResult } from './keepers.cjs';
|
|
9
9
|
import '@nodaro/shared/apps';
|
|
10
10
|
import '@nodaro/shared/organizations';
|
|
@@ -18,7 +18,7 @@ import '@nodaro/shared/credits';
|
|
|
18
18
|
import '@nodaro/shared/llm-models';
|
|
19
19
|
import './jobs.cjs';
|
|
20
20
|
import './errors.cjs';
|
|
21
|
-
import '../studio-productions-
|
|
21
|
+
import '../studio-productions-Cd_AEbKh.cjs';
|
|
22
22
|
import '@nodaro/shared/model-catalog';
|
|
23
23
|
import '@nodaro/prompts/prompt-builder';
|
|
24
24
|
|
|
@@ -3,8 +3,8 @@ export { PEOPLE, PERSON_DIMENSION_LABELS, PERSON_DIMENSION_ORDER, PersonValue, b
|
|
|
3
3
|
import { EntityStyle, CharacterAspectRatio, CharacterAttachColumn } from '@nodaro/shared/entities';
|
|
4
4
|
export { CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_STYLES, CharacterAspectRatio, EntityStyle } from '@nodaro/shared/entities';
|
|
5
5
|
import { TtsProvider } from '@nodaro/shared/models';
|
|
6
|
-
import { N as NodaroClientCore } from '../developer-apps-
|
|
7
|
-
import { l as GenerationSessionParams, a4 as Subject } from '../nodes-
|
|
6
|
+
import { N as NodaroClientCore } from '../developer-apps-D59GfAnO.js';
|
|
7
|
+
import { l as GenerationSessionParams, a4 as Subject } from '../nodes-HKVmoCnt.js';
|
|
8
8
|
import { SetKeeperCatalogInput, SetKeeperCatalogResult } from './keepers.js';
|
|
9
9
|
import '@nodaro/shared/apps';
|
|
10
10
|
import '@nodaro/shared/organizations';
|
|
@@ -18,7 +18,7 @@ import '@nodaro/shared/credits';
|
|
|
18
18
|
import '@nodaro/shared/llm-models';
|
|
19
19
|
import './jobs.js';
|
|
20
20
|
import './errors.js';
|
|
21
|
-
import '../studio-productions-
|
|
21
|
+
import '../studio-productions-CsFExPit.js';
|
|
22
22
|
import '@nodaro/shared/model-catalog';
|
|
23
23
|
import '@nodaro/prompts/prompt-builder';
|
|
24
24
|
|
package/dist/entries/client.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQSPTSAEI_cjs = require('../chunk-QSPTSAEI.cjs');
|
|
4
4
|
require('../chunk-WKNWJDF6.cjs');
|
|
5
5
|
require('../chunk-3B47IHB3.cjs');
|
|
6
6
|
require('../chunk-WUM6CWTE.cjs');
|
|
@@ -25,7 +25,7 @@ require('../chunk-GVIFLUYZ.cjs');
|
|
|
25
25
|
require('../chunk-57GANTLV.cjs');
|
|
26
26
|
require('../chunk-J5LGGCAS.cjs');
|
|
27
27
|
require('../chunk-NBVARNVA.cjs');
|
|
28
|
-
require('../chunk-
|
|
28
|
+
require('../chunk-NECPBLEM.cjs');
|
|
29
29
|
require('../chunk-G4AFHCNA.cjs');
|
|
30
30
|
require('../chunk-LAWYFC4G.cjs');
|
|
31
31
|
require('../chunk-TCLNSVYA.cjs');
|
|
@@ -35,8 +35,8 @@ require('../chunk-MIXRL6I2.cjs');
|
|
|
35
35
|
require('../chunk-VTHHSO2K.cjs');
|
|
36
36
|
require('../chunk-K7G4OYDH.cjs');
|
|
37
37
|
require('../chunk-ZCWKX4V6.cjs');
|
|
38
|
-
require('../chunk-
|
|
39
|
-
require('../chunk-
|
|
38
|
+
require('../chunk-DUE24QGQ.cjs');
|
|
39
|
+
require('../chunk-4GSUIOTT.cjs');
|
|
40
40
|
require('../chunk-A3S55XGF.cjs');
|
|
41
41
|
require('../chunk-KKH7QQAR.cjs');
|
|
42
42
|
require('../chunk-CLBLAWH3.cjs');
|
|
@@ -50,38 +50,38 @@ require('../chunk-YFS2LMG4.cjs');
|
|
|
50
50
|
require('../chunk-4DCXJ77J.cjs');
|
|
51
51
|
require('../chunk-TQLOD7OL.cjs');
|
|
52
52
|
require('../chunk-EJJIA765.cjs');
|
|
53
|
-
var
|
|
53
|
+
var chunkR427LDUV_cjs = require('../chunk-R427LDUV.cjs');
|
|
54
54
|
require('../chunk-4AD3CBDK.cjs');
|
|
55
55
|
require('../chunk-A3XA6UNM.cjs');
|
|
56
|
-
require('../chunk-
|
|
56
|
+
require('../chunk-IKZIXM5C.cjs');
|
|
57
57
|
require('../chunk-7BMKQ36V.cjs');
|
|
58
58
|
require('../chunk-CAM74LQ2.cjs');
|
|
59
|
-
require('../chunk-
|
|
59
|
+
require('../chunk-VMV5JH4U.cjs');
|
|
60
60
|
require('../chunk-GU3YOOCK.cjs');
|
|
61
|
-
require('../chunk-
|
|
61
|
+
require('../chunk-7OLINQTA.cjs');
|
|
62
62
|
require('../chunk-XZQ6Z4T6.cjs');
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
Object.defineProperty(exports, "NodaroClient", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkQSPTSAEI_cjs.NodaroClient; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "createClient", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkQSPTSAEI_cjs.createClient; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "CallbackAuth", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkR427LDUV_cjs.CallbackAuth; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "StaticTokenAuth", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkR427LDUV_cjs.StaticTokenAuth; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "supabaseAuth", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkR427LDUV_cjs.supabaseAuth; }
|
|
85
85
|
});
|
|
86
86
|
//# sourceMappingURL=client.cjs.map
|
|
87
87
|
//# sourceMappingURL=client.cjs.map
|
|
@@ -5,12 +5,12 @@ import { TrashResource } from './trash.cjs';
|
|
|
5
5
|
import { JobsResource } from './jobs.cjs';
|
|
6
6
|
import { VideoProResource } from './video-pro.cjs';
|
|
7
7
|
import { ExecutionsResource } from './executions.cjs';
|
|
8
|
-
import { t as NodesResource } from '../nodes-
|
|
8
|
+
import { t as NodesResource } from '../nodes-DtSP2yna.cjs';
|
|
9
9
|
import { Scene3DResource } from './scene3d.cjs';
|
|
10
|
-
import { N as NodaroClientCore, h as DeveloperAppsResource, a as ClientOptions } from '../developer-apps-
|
|
11
|
-
export { A as Auth, C as CallbackAuth, b as ConnectedApp, S as StaticTokenAuth, i as UserIdentity, s as supabaseAuth } from '../developer-apps-
|
|
10
|
+
import { N as NodaroClientCore, h as DeveloperAppsResource, a as ClientOptions } from '../developer-apps-D59GfAnO.cjs';
|
|
11
|
+
export { A as Auth, C as CallbackAuth, b as ConnectedApp, S as StaticTokenAuth, i as UserIdentity, s as supabaseAuth } from '../developer-apps-D59GfAnO.cjs';
|
|
12
12
|
import { OAuthResource } from './oauth.cjs';
|
|
13
|
-
import { i as WebhooksResource } from '../webhooks-
|
|
13
|
+
import { i as WebhooksResource } from '../webhooks-CqM7KFa6.cjs';
|
|
14
14
|
import { AppsResource } from './apps.cjs';
|
|
15
15
|
import { CharactersResource } from './characters.cjs';
|
|
16
16
|
import { LocationsResource } from './locations.cjs';
|
|
@@ -68,7 +68,7 @@ import '@nodaro/shared/credits';
|
|
|
68
68
|
import '@nodaro/shared/entities';
|
|
69
69
|
import '@nodaro/shared/llm-models';
|
|
70
70
|
import './errors.cjs';
|
|
71
|
-
import '../studio-productions-
|
|
71
|
+
import '../studio-productions-Cd_AEbKh.cjs';
|
|
72
72
|
import '@nodaro/shared/model-catalog';
|
|
73
73
|
import '@nodaro/prompts/prompt-builder';
|
|
74
74
|
import '@nodaro/shared/apps';
|
package/dist/entries/client.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ import { TrashResource } from './trash.js';
|
|
|
5
5
|
import { JobsResource } from './jobs.js';
|
|
6
6
|
import { VideoProResource } from './video-pro.js';
|
|
7
7
|
import { ExecutionsResource } from './executions.js';
|
|
8
|
-
import { t as NodesResource } from '../nodes-
|
|
8
|
+
import { t as NodesResource } from '../nodes-HKVmoCnt.js';
|
|
9
9
|
import { Scene3DResource } from './scene3d.js';
|
|
10
|
-
import { N as NodaroClientCore, h as DeveloperAppsResource, a as ClientOptions } from '../developer-apps-
|
|
11
|
-
export { A as Auth, C as CallbackAuth, b as ConnectedApp, S as StaticTokenAuth, i as UserIdentity, s as supabaseAuth } from '../developer-apps-
|
|
10
|
+
import { N as NodaroClientCore, h as DeveloperAppsResource, a as ClientOptions } from '../developer-apps-D59GfAnO.js';
|
|
11
|
+
export { A as Auth, C as CallbackAuth, b as ConnectedApp, S as StaticTokenAuth, i as UserIdentity, s as supabaseAuth } from '../developer-apps-D59GfAnO.js';
|
|
12
12
|
import { OAuthResource } from './oauth.js';
|
|
13
|
-
import { i as WebhooksResource } from '../webhooks-
|
|
13
|
+
import { i as WebhooksResource } from '../webhooks-Bbrs93kN.js';
|
|
14
14
|
import { AppsResource } from './apps.js';
|
|
15
15
|
import { CharactersResource } from './characters.js';
|
|
16
16
|
import { LocationsResource } from './locations.js';
|
|
@@ -68,7 +68,7 @@ import '@nodaro/shared/credits';
|
|
|
68
68
|
import '@nodaro/shared/entities';
|
|
69
69
|
import '@nodaro/shared/llm-models';
|
|
70
70
|
import './errors.js';
|
|
71
|
-
import '../studio-productions-
|
|
71
|
+
import '../studio-productions-CsFExPit.js';
|
|
72
72
|
import '@nodaro/shared/model-catalog';
|
|
73
73
|
import '@nodaro/prompts/prompt-builder';
|
|
74
74
|
import '@nodaro/shared/apps';
|