@postrun/js 0.2.0 → 1.1.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-VGR3BQCT.js → chunk-4AAUQJXR.js} +41 -2
- package/dist/chunk-4AAUQJXR.js.map +1 -0
- package/dist/{chunk-H2IIX5BP.js → chunk-YMVIGQGW.js} +3 -3
- package/dist/{chunk-H2IIX5BP.js.map → chunk-YMVIGQGW.js.map} +1 -1
- package/dist/index.cjs +39 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/schemas/index.cjs +39 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +39 -0
- package/dist/schemas/index.d.ts +39 -0
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +39 -0
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +2 -2
- package/dist/{types.gen-lbiXwxGS.d.cts → types.gen-BHE-5ice.d.cts} +40 -0
- package/dist/{types.gen-lbiXwxGS.d.ts → types.gen-BHE-5ice.d.ts} +40 -0
- package/package.json +1 -1
- package/dist/chunk-VGR3BQCT.js.map +0 -1
package/dist/server.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cG as TokensMintData, fa as PostrunClient, ft as TokensMintResponse } from './types.gen-
|
|
1
|
+
import { cG as TokensMintData, fa as PostrunClient, ft as TokensMintResponse } from './types.gen-BHE-5ice.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The body for minting a scoped token — the generated request shape (snake_case,
|
package/dist/server.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cG as TokensMintData, fa as PostrunClient, ft as TokensMintResponse } from './types.gen-
|
|
1
|
+
import { cG as TokensMintData, fa as PostrunClient, ft as TokensMintResponse } from './types.gen-BHE-5ice.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The body for minting a scoped token — the generated request shape (snake_case,
|
package/dist/server.js
CHANGED
|
@@ -3456,6 +3456,18 @@ type ConnectionsConnectResponses = {
|
|
|
3456
3456
|
* Short-lived scoped token (connections read/write on this profile) the hosted page uses to drive the public discover/select API.
|
|
3457
3457
|
*/
|
|
3458
3458
|
connect_token: string;
|
|
3459
|
+
/**
|
|
3460
|
+
* The raw Nango connect-session token to pass to `nango.auth()` for the embedded (no-redirect) flow. ~30-min short-lived scoped bearer — keep in client memory, never log.
|
|
3461
|
+
*/
|
|
3462
|
+
connect_session_token: string;
|
|
3463
|
+
/**
|
|
3464
|
+
* The Nango integration id for the platform, the first argument to `nango.auth()` (e.g. `facebook` for Meta, `twitter-v2` for X).
|
|
3465
|
+
*/
|
|
3466
|
+
provider_config_key: string;
|
|
3467
|
+
/**
|
|
3468
|
+
* The Nango host the embedded SDK constructs its client with (`new Nango({ host, connectSessionToken })`).
|
|
3469
|
+
*/
|
|
3470
|
+
nango_host: string;
|
|
3459
3471
|
/**
|
|
3460
3472
|
* ISO-8601 time when the session token expires.
|
|
3461
3473
|
*/
|
|
@@ -3731,6 +3743,13 @@ type MediaListResponses = {
|
|
|
3731
3743
|
*/
|
|
3732
3744
|
content_type: string | null;
|
|
3733
3745
|
status: 'uploading' | 'processing' | 'ready' | 'failed';
|
|
3746
|
+
/**
|
|
3747
|
+
* In-pipeline progress: the current step (stage) and a 0–100 bar (percent). Read `status` for the outcome; `percent` can regress on a transient retry.
|
|
3748
|
+
*/
|
|
3749
|
+
progress: {
|
|
3750
|
+
stage: 'queued' | 'analyzing' | 'transcoding' | 'done';
|
|
3751
|
+
percent: number;
|
|
3752
|
+
};
|
|
3734
3753
|
raw: boolean;
|
|
3735
3754
|
/**
|
|
3736
3755
|
* Asset-wide failure (the original itself is unusable, so no platform can succeed); null otherwise.
|
|
@@ -4079,6 +4098,13 @@ type MediaCreateResponses = {
|
|
|
4079
4098
|
*/
|
|
4080
4099
|
content_type: string | null;
|
|
4081
4100
|
status: 'uploading' | 'processing' | 'ready' | 'failed';
|
|
4101
|
+
/**
|
|
4102
|
+
* In-pipeline progress: the current step (stage) and a 0–100 bar (percent). Read `status` for the outcome; `percent` can regress on a transient retry.
|
|
4103
|
+
*/
|
|
4104
|
+
progress: {
|
|
4105
|
+
stage: 'queued' | 'analyzing' | 'transcoding' | 'done';
|
|
4106
|
+
percent: number;
|
|
4107
|
+
};
|
|
4082
4108
|
raw: boolean;
|
|
4083
4109
|
/**
|
|
4084
4110
|
* Asset-wide failure (the original itself is unusable, so no platform can succeed); null otherwise.
|
|
@@ -4615,6 +4641,13 @@ type MediaGetResponses = {
|
|
|
4615
4641
|
*/
|
|
4616
4642
|
content_type: string | null;
|
|
4617
4643
|
status: 'uploading' | 'processing' | 'ready' | 'failed';
|
|
4644
|
+
/**
|
|
4645
|
+
* In-pipeline progress: the current step (stage) and a 0–100 bar (percent). Read `status` for the outcome; `percent` can regress on a transient retry.
|
|
4646
|
+
*/
|
|
4647
|
+
progress: {
|
|
4648
|
+
stage: 'queued' | 'analyzing' | 'transcoding' | 'done';
|
|
4649
|
+
percent: number;
|
|
4650
|
+
};
|
|
4618
4651
|
raw: boolean;
|
|
4619
4652
|
/**
|
|
4620
4653
|
* Asset-wide failure (the original itself is unusable, so no platform can succeed); null otherwise.
|
|
@@ -4928,6 +4961,13 @@ type MediaUpdateResponses = {
|
|
|
4928
4961
|
*/
|
|
4929
4962
|
content_type: string | null;
|
|
4930
4963
|
status: 'uploading' | 'processing' | 'ready' | 'failed';
|
|
4964
|
+
/**
|
|
4965
|
+
* In-pipeline progress: the current step (stage) and a 0–100 bar (percent). Read `status` for the outcome; `percent` can regress on a transient retry.
|
|
4966
|
+
*/
|
|
4967
|
+
progress: {
|
|
4968
|
+
stage: 'queued' | 'analyzing' | 'transcoding' | 'done';
|
|
4969
|
+
percent: number;
|
|
4970
|
+
};
|
|
4931
4971
|
raw: boolean;
|
|
4932
4972
|
/**
|
|
4933
4973
|
* Asset-wide failure (the original itself is unusable, so no platform can succeed); null otherwise.
|
|
@@ -3456,6 +3456,18 @@ type ConnectionsConnectResponses = {
|
|
|
3456
3456
|
* Short-lived scoped token (connections read/write on this profile) the hosted page uses to drive the public discover/select API.
|
|
3457
3457
|
*/
|
|
3458
3458
|
connect_token: string;
|
|
3459
|
+
/**
|
|
3460
|
+
* The raw Nango connect-session token to pass to `nango.auth()` for the embedded (no-redirect) flow. ~30-min short-lived scoped bearer — keep in client memory, never log.
|
|
3461
|
+
*/
|
|
3462
|
+
connect_session_token: string;
|
|
3463
|
+
/**
|
|
3464
|
+
* The Nango integration id for the platform, the first argument to `nango.auth()` (e.g. `facebook` for Meta, `twitter-v2` for X).
|
|
3465
|
+
*/
|
|
3466
|
+
provider_config_key: string;
|
|
3467
|
+
/**
|
|
3468
|
+
* The Nango host the embedded SDK constructs its client with (`new Nango({ host, connectSessionToken })`).
|
|
3469
|
+
*/
|
|
3470
|
+
nango_host: string;
|
|
3459
3471
|
/**
|
|
3460
3472
|
* ISO-8601 time when the session token expires.
|
|
3461
3473
|
*/
|
|
@@ -3731,6 +3743,13 @@ type MediaListResponses = {
|
|
|
3731
3743
|
*/
|
|
3732
3744
|
content_type: string | null;
|
|
3733
3745
|
status: 'uploading' | 'processing' | 'ready' | 'failed';
|
|
3746
|
+
/**
|
|
3747
|
+
* In-pipeline progress: the current step (stage) and a 0–100 bar (percent). Read `status` for the outcome; `percent` can regress on a transient retry.
|
|
3748
|
+
*/
|
|
3749
|
+
progress: {
|
|
3750
|
+
stage: 'queued' | 'analyzing' | 'transcoding' | 'done';
|
|
3751
|
+
percent: number;
|
|
3752
|
+
};
|
|
3734
3753
|
raw: boolean;
|
|
3735
3754
|
/**
|
|
3736
3755
|
* Asset-wide failure (the original itself is unusable, so no platform can succeed); null otherwise.
|
|
@@ -4079,6 +4098,13 @@ type MediaCreateResponses = {
|
|
|
4079
4098
|
*/
|
|
4080
4099
|
content_type: string | null;
|
|
4081
4100
|
status: 'uploading' | 'processing' | 'ready' | 'failed';
|
|
4101
|
+
/**
|
|
4102
|
+
* In-pipeline progress: the current step (stage) and a 0–100 bar (percent). Read `status` for the outcome; `percent` can regress on a transient retry.
|
|
4103
|
+
*/
|
|
4104
|
+
progress: {
|
|
4105
|
+
stage: 'queued' | 'analyzing' | 'transcoding' | 'done';
|
|
4106
|
+
percent: number;
|
|
4107
|
+
};
|
|
4082
4108
|
raw: boolean;
|
|
4083
4109
|
/**
|
|
4084
4110
|
* Asset-wide failure (the original itself is unusable, so no platform can succeed); null otherwise.
|
|
@@ -4615,6 +4641,13 @@ type MediaGetResponses = {
|
|
|
4615
4641
|
*/
|
|
4616
4642
|
content_type: string | null;
|
|
4617
4643
|
status: 'uploading' | 'processing' | 'ready' | 'failed';
|
|
4644
|
+
/**
|
|
4645
|
+
* In-pipeline progress: the current step (stage) and a 0–100 bar (percent). Read `status` for the outcome; `percent` can regress on a transient retry.
|
|
4646
|
+
*/
|
|
4647
|
+
progress: {
|
|
4648
|
+
stage: 'queued' | 'analyzing' | 'transcoding' | 'done';
|
|
4649
|
+
percent: number;
|
|
4650
|
+
};
|
|
4618
4651
|
raw: boolean;
|
|
4619
4652
|
/**
|
|
4620
4653
|
* Asset-wide failure (the original itself is unusable, so no platform can succeed); null otherwise.
|
|
@@ -4928,6 +4961,13 @@ type MediaUpdateResponses = {
|
|
|
4928
4961
|
*/
|
|
4929
4962
|
content_type: string | null;
|
|
4930
4963
|
status: 'uploading' | 'processing' | 'ready' | 'failed';
|
|
4964
|
+
/**
|
|
4965
|
+
* In-pipeline progress: the current step (stage) and a 0–100 bar (percent). Read `status` for the outcome; `percent` can regress on a transient retry.
|
|
4966
|
+
*/
|
|
4967
|
+
progress: {
|
|
4968
|
+
stage: 'queued' | 'analyzing' | 'transcoding' | 'done';
|
|
4969
|
+
percent: number;
|
|
4970
|
+
};
|
|
4931
4971
|
raw: boolean;
|
|
4932
4972
|
/**
|
|
4933
4973
|
* Asset-wide failure (the original itself is unusable, so no platform can succeed); null otherwise.
|