@lessly/sdk-app 99.9.0 → 100.0.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/CHANGELOG.md +15 -10
- package/dist/_types/gen/client.gen.d.ts +38 -1
- package/dist/_types/gen/manifest.gen.d.ts +1 -1
- package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
- package/dist/_types/gen/playground/index.d.ts +3 -0
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
- package/dist/_types/gen/types.gen.d.ts +392 -9
- package/dist/chunk-UJS32PCC.js +11950 -0
- package/dist/chunk-UJS32PCC.js.map +1 -0
- package/dist/index.cjs +228 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +22 -11775
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs +106 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +1 -0
- package/dist/playground/index.d.ts +1 -0
- package/dist/playground/index.js +78 -0
- package/dist/playground/index.js.map +1 -0
- package/package.json +12 -2
- package/src/gen/bindings.gen.ts +217 -46
- package/src/gen/client.gen.ts +71 -0
- package/src/gen/manifest.gen.ts +21 -1
- package/src/gen/playground/connect.gen.ts +9 -0
- package/src/gen/playground/index.ts +4 -0
- package/src/gen/playground/queryOptions.gen.ts +119 -0
- package/src/gen/types.gen.ts +438 -9
|
@@ -92737,7 +92737,7 @@ export interface DeploymentCanvasGetOutput {
|
|
|
92737
92737
|
liveness?: DeploymentCanvasGetOutputReadiness;
|
|
92738
92738
|
readiness?: DeploymentCanvasGetOutputReadiness;
|
|
92739
92739
|
};
|
|
92740
|
-
source: ({
|
|
92740
|
+
source: (({
|
|
92741
92741
|
url?: string;
|
|
92742
92742
|
path?: string;
|
|
92743
92743
|
type: "git";
|
|
@@ -92763,6 +92763,11 @@ export interface DeploymentCanvasGetOutput {
|
|
|
92763
92763
|
outputDir?: string;
|
|
92764
92764
|
};
|
|
92765
92765
|
markdown?: boolean;
|
|
92766
|
+
}) & {
|
|
92767
|
+
autoDeploy?: {
|
|
92768
|
+
reason?: string;
|
|
92769
|
+
enabled: boolean;
|
|
92770
|
+
};
|
|
92766
92771
|
});
|
|
92767
92772
|
command?: (string | null);
|
|
92768
92773
|
lastRun?: ({
|
|
@@ -93081,6 +93086,7 @@ export interface DeploymentDeploymentCancelOutput {
|
|
|
93081
93086
|
id: string;
|
|
93082
93087
|
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
|
|
93083
93088
|
builtAt: (string | null);
|
|
93089
|
+
trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
|
|
93084
93090
|
imageRef: (string | null);
|
|
93085
93091
|
commitSha: (string | null);
|
|
93086
93092
|
createdAt: string;
|
|
@@ -93107,6 +93113,7 @@ export interface DeploymentDeploymentGetOutput {
|
|
|
93107
93113
|
id: string;
|
|
93108
93114
|
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
|
|
93109
93115
|
builtAt: (string | null);
|
|
93116
|
+
trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
|
|
93110
93117
|
imageRef: (string | null);
|
|
93111
93118
|
commitSha: (string | null);
|
|
93112
93119
|
createdAt: string;
|
|
@@ -93133,6 +93140,7 @@ export type DeploymentDeploymentListOutput = {
|
|
|
93133
93140
|
id: string;
|
|
93134
93141
|
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
|
|
93135
93142
|
builtAt: (string | null);
|
|
93143
|
+
trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
|
|
93136
93144
|
imageRef: (string | null);
|
|
93137
93145
|
commitSha: (string | null);
|
|
93138
93146
|
createdAt: string;
|
|
@@ -93177,6 +93185,12 @@ export interface DeploymentDomainAddOutput {
|
|
|
93177
93185
|
createdAt: string;
|
|
93178
93186
|
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed");
|
|
93179
93187
|
updatedAt: string;
|
|
93188
|
+
managedDns?: ({
|
|
93189
|
+
mode: "external";
|
|
93190
|
+
note: string;
|
|
93191
|
+
tool: "organization_domains_set-mode";
|
|
93192
|
+
governanceDomainId: string;
|
|
93193
|
+
} | null);
|
|
93180
93194
|
lastProbeAt: (string | null);
|
|
93181
93195
|
redirectWww: boolean;
|
|
93182
93196
|
wwwTlsStatus: ("none" | "pending" | "issuing" | "active" | "failed");
|
|
@@ -93674,6 +93688,7 @@ export interface DeploymentEnvironmentCreateOutput {
|
|
|
93674
93688
|
expiresAt: (string | null);
|
|
93675
93689
|
updatedAt: string;
|
|
93676
93690
|
isProduction: boolean;
|
|
93691
|
+
repoFullName: (string | null);
|
|
93677
93692
|
lastErrorMessage: (string | null);
|
|
93678
93693
|
baseEnvironmentId: (string | null);
|
|
93679
93694
|
}
|
|
@@ -93700,6 +93715,7 @@ export interface DeploymentEnvironmentForkOutput {
|
|
|
93700
93715
|
expiresAt: (string | null);
|
|
93701
93716
|
updatedAt: string;
|
|
93702
93717
|
isProduction: boolean;
|
|
93718
|
+
repoFullName: (string | null);
|
|
93703
93719
|
lastErrorMessage: (string | null);
|
|
93704
93720
|
baseEnvironmentId: (string | null);
|
|
93705
93721
|
}
|
|
@@ -93718,6 +93734,7 @@ export interface DeploymentEnvironmentGetOutput {
|
|
|
93718
93734
|
expiresAt: (string | null);
|
|
93719
93735
|
updatedAt: string;
|
|
93720
93736
|
isProduction: boolean;
|
|
93737
|
+
repoFullName: (string | null);
|
|
93721
93738
|
lastErrorMessage: (string | null);
|
|
93722
93739
|
baseEnvironmentId: (string | null);
|
|
93723
93740
|
}
|
|
@@ -93736,6 +93753,7 @@ export type DeploymentEnvironmentListOutput = {
|
|
|
93736
93753
|
expiresAt: (string | null);
|
|
93737
93754
|
updatedAt: string;
|
|
93738
93755
|
isProduction: boolean;
|
|
93756
|
+
repoFullName: (string | null);
|
|
93739
93757
|
lastErrorMessage: (string | null);
|
|
93740
93758
|
baseEnvironmentId: (string | null);
|
|
93741
93759
|
}[];
|
|
@@ -93755,6 +93773,7 @@ export interface DeploymentEnvironmentReconcileOutput {
|
|
|
93755
93773
|
expiresAt: (string | null);
|
|
93756
93774
|
updatedAt: string;
|
|
93757
93775
|
isProduction: boolean;
|
|
93776
|
+
repoFullName: (string | null);
|
|
93758
93777
|
lastErrorMessage: (string | null);
|
|
93759
93778
|
baseEnvironmentId: (string | null);
|
|
93760
93779
|
}
|
|
@@ -93774,6 +93793,7 @@ export interface DeploymentEnvironmentUpdateOutput {
|
|
|
93774
93793
|
expiresAt: (string | null);
|
|
93775
93794
|
updatedAt: string;
|
|
93776
93795
|
isProduction: boolean;
|
|
93796
|
+
repoFullName: (string | null);
|
|
93777
93797
|
lastErrorMessage: (string | null);
|
|
93778
93798
|
baseEnvironmentId: (string | null);
|
|
93779
93799
|
}
|
|
@@ -94205,6 +94225,7 @@ export interface DeploymentMetricsGetOutput {
|
|
|
94205
94225
|
export interface DeploymentPreviewEnvironmentCreateInput {
|
|
94206
94226
|
prBranch?: string;
|
|
94207
94227
|
prNumber: number;
|
|
94228
|
+
repoFullName?: string;
|
|
94208
94229
|
baseEnvironmentId: string;
|
|
94209
94230
|
}
|
|
94210
94231
|
export interface DeploymentPreviewEnvironmentCreateOutput {
|
|
@@ -94219,6 +94240,7 @@ export interface DeploymentPreviewEnvironmentCreateOutput {
|
|
|
94219
94240
|
expiresAt: (string | null);
|
|
94220
94241
|
updatedAt: string;
|
|
94221
94242
|
isProduction: boolean;
|
|
94243
|
+
repoFullName: (string | null);
|
|
94222
94244
|
lastErrorMessage: (string | null);
|
|
94223
94245
|
baseEnvironmentId: (string | null);
|
|
94224
94246
|
}
|
|
@@ -94242,6 +94264,7 @@ export type DeploymentPreviewEnvironmentListOutput = {
|
|
|
94242
94264
|
expiresAt: (string | null);
|
|
94243
94265
|
updatedAt: string;
|
|
94244
94266
|
isProduction: boolean;
|
|
94267
|
+
repoFullName: (string | null);
|
|
94245
94268
|
lastErrorMessage: (string | null);
|
|
94246
94269
|
baseEnvironmentId: (string | null);
|
|
94247
94270
|
}[];
|
|
@@ -94366,7 +94389,7 @@ export interface DeploymentServiceCreateOutput {
|
|
|
94366
94389
|
liveness?: DeploymentServiceCreateOutputReadiness;
|
|
94367
94390
|
readiness?: DeploymentServiceCreateOutputReadiness;
|
|
94368
94391
|
};
|
|
94369
|
-
source: ({
|
|
94392
|
+
source: (({
|
|
94370
94393
|
url?: string;
|
|
94371
94394
|
path?: string;
|
|
94372
94395
|
type: "git";
|
|
@@ -94392,6 +94415,11 @@ export interface DeploymentServiceCreateOutput {
|
|
|
94392
94415
|
outputDir?: string;
|
|
94393
94416
|
};
|
|
94394
94417
|
markdown?: boolean;
|
|
94418
|
+
}) & {
|
|
94419
|
+
autoDeploy?: {
|
|
94420
|
+
reason?: string;
|
|
94421
|
+
enabled: boolean;
|
|
94422
|
+
};
|
|
94395
94423
|
});
|
|
94396
94424
|
command?: (string | null);
|
|
94397
94425
|
lastRun?: ({
|
|
@@ -94481,7 +94509,7 @@ export interface DeploymentServiceGetOutput {
|
|
|
94481
94509
|
liveness?: DeploymentServiceGetOutputReadiness;
|
|
94482
94510
|
readiness?: DeploymentServiceGetOutputReadiness;
|
|
94483
94511
|
};
|
|
94484
|
-
source: ({
|
|
94512
|
+
source: (({
|
|
94485
94513
|
url?: string;
|
|
94486
94514
|
path?: string;
|
|
94487
94515
|
type: "git";
|
|
@@ -94507,6 +94535,11 @@ export interface DeploymentServiceGetOutput {
|
|
|
94507
94535
|
outputDir?: string;
|
|
94508
94536
|
};
|
|
94509
94537
|
markdown?: boolean;
|
|
94538
|
+
}) & {
|
|
94539
|
+
autoDeploy?: {
|
|
94540
|
+
reason?: string;
|
|
94541
|
+
enabled: boolean;
|
|
94542
|
+
};
|
|
94510
94543
|
});
|
|
94511
94544
|
command?: (string | null);
|
|
94512
94545
|
lastRun?: ({
|
|
@@ -94567,7 +94600,7 @@ export type DeploymentServiceListOutput = {
|
|
|
94567
94600
|
liveness?: DeploymentServiceListOutputReadiness;
|
|
94568
94601
|
readiness?: DeploymentServiceListOutputReadiness;
|
|
94569
94602
|
};
|
|
94570
|
-
source: ({
|
|
94603
|
+
source: (({
|
|
94571
94604
|
url?: string;
|
|
94572
94605
|
path?: string;
|
|
94573
94606
|
type: "git";
|
|
@@ -94593,6 +94626,11 @@ export type DeploymentServiceListOutput = {
|
|
|
94593
94626
|
outputDir?: string;
|
|
94594
94627
|
};
|
|
94595
94628
|
markdown?: boolean;
|
|
94629
|
+
}) & {
|
|
94630
|
+
autoDeploy?: {
|
|
94631
|
+
reason?: string;
|
|
94632
|
+
enabled: boolean;
|
|
94633
|
+
};
|
|
94596
94634
|
});
|
|
94597
94635
|
command?: (string | null);
|
|
94598
94636
|
lastRun?: ({
|
|
@@ -94656,6 +94694,7 @@ export interface DeploymentServiceRedeployOutput {
|
|
|
94656
94694
|
id: string;
|
|
94657
94695
|
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
|
|
94658
94696
|
builtAt: (string | null);
|
|
94697
|
+
trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
|
|
94659
94698
|
imageRef: (string | null);
|
|
94660
94699
|
commitSha: (string | null);
|
|
94661
94700
|
createdAt: string;
|
|
@@ -94689,6 +94728,7 @@ export interface DeploymentServiceRollbackOutput {
|
|
|
94689
94728
|
id: string;
|
|
94690
94729
|
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
|
|
94691
94730
|
builtAt: (string | null);
|
|
94731
|
+
trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
|
|
94692
94732
|
imageRef: (string | null);
|
|
94693
94733
|
commitSha: (string | null);
|
|
94694
94734
|
createdAt: string;
|
|
@@ -94721,7 +94761,7 @@ export interface DeploymentServiceScaleOutput {
|
|
|
94721
94761
|
liveness?: DeploymentServiceScaleOutputReadiness;
|
|
94722
94762
|
readiness?: DeploymentServiceScaleOutputReadiness;
|
|
94723
94763
|
};
|
|
94724
|
-
source: ({
|
|
94764
|
+
source: (({
|
|
94725
94765
|
url?: string;
|
|
94726
94766
|
path?: string;
|
|
94727
94767
|
type: "git";
|
|
@@ -94747,6 +94787,11 @@ export interface DeploymentServiceScaleOutput {
|
|
|
94747
94787
|
outputDir?: string;
|
|
94748
94788
|
};
|
|
94749
94789
|
markdown?: boolean;
|
|
94790
|
+
}) & {
|
|
94791
|
+
autoDeploy?: {
|
|
94792
|
+
reason?: string;
|
|
94793
|
+
enabled: boolean;
|
|
94794
|
+
};
|
|
94750
94795
|
});
|
|
94751
94796
|
command?: (string | null);
|
|
94752
94797
|
lastRun?: ({
|
|
@@ -94892,7 +94937,7 @@ export interface DeploymentServiceUpdateOutput {
|
|
|
94892
94937
|
liveness?: DeploymentServiceUpdateOutputReadiness;
|
|
94893
94938
|
readiness?: DeploymentServiceUpdateOutputReadiness;
|
|
94894
94939
|
};
|
|
94895
|
-
source: ({
|
|
94940
|
+
source: (({
|
|
94896
94941
|
url?: string;
|
|
94897
94942
|
path?: string;
|
|
94898
94943
|
type: "git";
|
|
@@ -94918,6 +94963,11 @@ export interface DeploymentServiceUpdateOutput {
|
|
|
94918
94963
|
outputDir?: string;
|
|
94919
94964
|
};
|
|
94920
94965
|
markdown?: boolean;
|
|
94966
|
+
}) & {
|
|
94967
|
+
autoDeploy?: {
|
|
94968
|
+
reason?: string;
|
|
94969
|
+
enabled: boolean;
|
|
94970
|
+
};
|
|
94921
94971
|
});
|
|
94922
94972
|
command?: (string | null);
|
|
94923
94973
|
lastRun?: ({
|
|
@@ -95033,6 +95083,7 @@ export interface DeploymentStaticDeployOutput {
|
|
|
95033
95083
|
id: string;
|
|
95034
95084
|
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
|
|
95035
95085
|
builtAt: (string | null);
|
|
95086
|
+
trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
|
|
95036
95087
|
imageRef: (string | null);
|
|
95037
95088
|
commitSha: (string | null);
|
|
95038
95089
|
createdAt: string;
|
|
@@ -95213,9 +95264,15 @@ export interface DeploymentVcsConnectionListInput {
|
|
|
95213
95264
|
}
|
|
95214
95265
|
export type DeploymentVcsConnectionListOutput = {
|
|
95215
95266
|
status: string;
|
|
95267
|
+
provider: ("github" | "github-token");
|
|
95268
|
+
autoDeploy: {
|
|
95269
|
+
reason?: string;
|
|
95270
|
+
enabled: boolean;
|
|
95271
|
+
};
|
|
95216
95272
|
connectorId: string;
|
|
95273
|
+
needsReauth: boolean;
|
|
95217
95274
|
accountLogin: string;
|
|
95218
|
-
installationId: string;
|
|
95275
|
+
installationId: (string | null);
|
|
95219
95276
|
}[];
|
|
95220
95277
|
export interface DeploymentVcsRepoListInput {
|
|
95221
95278
|
page?: number;
|
|
@@ -95223,9 +95280,9 @@ export interface DeploymentVcsRepoListInput {
|
|
|
95223
95280
|
connectorId: string;
|
|
95224
95281
|
}
|
|
95225
95282
|
export type DeploymentVcsRepoListOutput = {
|
|
95226
|
-
private
|
|
95283
|
+
private?: boolean;
|
|
95227
95284
|
fullName: string;
|
|
95228
|
-
defaultBranch
|
|
95285
|
+
defaultBranch?: string;
|
|
95229
95286
|
}[];
|
|
95230
95287
|
export interface DeploymentVolumeCreateInput {
|
|
95231
95288
|
name: string;
|
|
@@ -111756,6 +111813,332 @@ export interface OrganizationYoutubeInstallInput {
|
|
|
111756
111813
|
export interface OrganizationYoutubeInstallOutput {
|
|
111757
111814
|
url: string;
|
|
111758
111815
|
}
|
|
111816
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
111817
|
+
/**
|
|
111818
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
111819
|
+
*/
|
|
111820
|
+
limit?: number;
|
|
111821
|
+
}
|
|
111822
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
111823
|
+
ok: boolean;
|
|
111824
|
+
minted: boolean;
|
|
111825
|
+
overview?: unknown;
|
|
111826
|
+
http_status: number;
|
|
111827
|
+
}
|
|
111828
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
111829
|
+
}
|
|
111830
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
111831
|
+
ok: boolean;
|
|
111832
|
+
minted: boolean;
|
|
111833
|
+
http_status: number;
|
|
111834
|
+
entitlements?: unknown;
|
|
111835
|
+
}
|
|
111836
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
111837
|
+
/**
|
|
111838
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
111839
|
+
*/
|
|
111840
|
+
value?: number;
|
|
111841
|
+
}
|
|
111842
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
111843
|
+
minted: boolean;
|
|
111844
|
+
accepted: (number | null);
|
|
111845
|
+
recorded: boolean;
|
|
111846
|
+
duplicates: (number | null);
|
|
111847
|
+
http_status: number;
|
|
111848
|
+
}
|
|
111849
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
111850
|
+
/**
|
|
111851
|
+
* Task title; defaults to a fixture label
|
|
111852
|
+
*/
|
|
111853
|
+
name?: string;
|
|
111854
|
+
/**
|
|
111855
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
111856
|
+
*/
|
|
111857
|
+
listId?: string;
|
|
111858
|
+
}
|
|
111859
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
111860
|
+
minted: boolean;
|
|
111861
|
+
task_id: (string | null);
|
|
111862
|
+
list_status: number;
|
|
111863
|
+
vend_status: number;
|
|
111864
|
+
clickup_status: number;
|
|
111865
|
+
installation_count: number;
|
|
111866
|
+
}
|
|
111867
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
111868
|
+
}
|
|
111869
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
111870
|
+
payload: string;
|
|
111871
|
+
event_id: string;
|
|
111872
|
+
provider: string;
|
|
111873
|
+
verified: boolean;
|
|
111874
|
+
product_id: string;
|
|
111875
|
+
occurred_at: string;
|
|
111876
|
+
connector_id: string;
|
|
111877
|
+
clickup_event: (string | null);
|
|
111878
|
+
receipt_count: number;
|
|
111879
|
+
} | {
|
|
111880
|
+
found: false;
|
|
111881
|
+
});
|
|
111882
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
111883
|
+
}
|
|
111884
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
111885
|
+
team: ({
|
|
111886
|
+
teamId: string;
|
|
111887
|
+
teamName: string;
|
|
111888
|
+
} | null);
|
|
111889
|
+
lists: PlaygroundClickupGetOverviewOutputItems[];
|
|
111890
|
+
tasks: {
|
|
111891
|
+
id: string;
|
|
111892
|
+
name: string;
|
|
111893
|
+
status: (string | null);
|
|
111894
|
+
}[];
|
|
111895
|
+
minted: boolean;
|
|
111896
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[];
|
|
111897
|
+
list_status: number;
|
|
111898
|
+
vend_status: number;
|
|
111899
|
+
lists_status: number;
|
|
111900
|
+
tasks_status: number;
|
|
111901
|
+
spaces_status: number;
|
|
111902
|
+
folders_status: number;
|
|
111903
|
+
installation_count: number;
|
|
111904
|
+
}
|
|
111905
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
111906
|
+
id: string;
|
|
111907
|
+
name: string;
|
|
111908
|
+
}
|
|
111909
|
+
export interface PlaygroundEchoPingInput {
|
|
111910
|
+
/**
|
|
111911
|
+
* The text to echo back, 1–1024 characters
|
|
111912
|
+
*/
|
|
111913
|
+
message: string;
|
|
111914
|
+
}
|
|
111915
|
+
export interface PlaygroundEchoPingOutput {
|
|
111916
|
+
/**
|
|
111917
|
+
* The message exactly as it was received
|
|
111918
|
+
*/
|
|
111919
|
+
message: string;
|
|
111920
|
+
/**
|
|
111921
|
+
* The product the call was resolved to
|
|
111922
|
+
*/
|
|
111923
|
+
productId: string;
|
|
111924
|
+
/**
|
|
111925
|
+
* ISO-8601 instant (UTC) at which the call reached the service
|
|
111926
|
+
*/
|
|
111927
|
+
receivedAt: string;
|
|
111928
|
+
}
|
|
111929
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
111930
|
+
}
|
|
111931
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
111932
|
+
file_id: string;
|
|
111933
|
+
removed: boolean;
|
|
111934
|
+
file_name: (string | null);
|
|
111935
|
+
mime_type: (string | null);
|
|
111936
|
+
product_id: string;
|
|
111937
|
+
occurred_at: string;
|
|
111938
|
+
connector_id: string;
|
|
111939
|
+
resource_state: string;
|
|
111940
|
+
} | {
|
|
111941
|
+
found: false;
|
|
111942
|
+
});
|
|
111943
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
111944
|
+
/**
|
|
111945
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
111946
|
+
*/
|
|
111947
|
+
fileId?: string;
|
|
111948
|
+
}
|
|
111949
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
111950
|
+
minted: boolean;
|
|
111951
|
+
file_id: (string | null);
|
|
111952
|
+
file_name: (string | null);
|
|
111953
|
+
mime_type: (string | null);
|
|
111954
|
+
file_count: number;
|
|
111955
|
+
get_status: number;
|
|
111956
|
+
list_status: number;
|
|
111957
|
+
vend_status: number;
|
|
111958
|
+
content_bytes: (number | null);
|
|
111959
|
+
}
|
|
111960
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
111961
|
+
}
|
|
111962
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
111963
|
+
minted: boolean;
|
|
111964
|
+
vended: boolean;
|
|
111965
|
+
customer_id: (string | null);
|
|
111966
|
+
vend_status: number;
|
|
111967
|
+
result_count: number;
|
|
111968
|
+
search_status: number;
|
|
111969
|
+
login_customer_id: (string | null);
|
|
111970
|
+
}
|
|
111971
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
111972
|
+
}
|
|
111973
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
111974
|
+
blocked: boolean;
|
|
111975
|
+
archived: boolean;
|
|
111976
|
+
productId: string;
|
|
111977
|
+
lastBlockTransition: ({
|
|
111978
|
+
eventId: string;
|
|
111979
|
+
eventName: string;
|
|
111980
|
+
productId: string;
|
|
111981
|
+
occurredAt: string;
|
|
111982
|
+
recordedAt: string;
|
|
111983
|
+
receiptCount: number;
|
|
111984
|
+
organizationId: string;
|
|
111985
|
+
cascadedFromOrg: boolean;
|
|
111986
|
+
} | null);
|
|
111987
|
+
lastArchiveTransition: ({
|
|
111988
|
+
eventId: string;
|
|
111989
|
+
eventName: string;
|
|
111990
|
+
productId: string;
|
|
111991
|
+
occurredAt: string;
|
|
111992
|
+
recordedAt: string;
|
|
111993
|
+
receiptCount: number;
|
|
111994
|
+
organizationId: string;
|
|
111995
|
+
cascadedFromOrg: boolean;
|
|
111996
|
+
} | null);
|
|
111997
|
+
}
|
|
111998
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
111999
|
+
}
|
|
112000
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
112001
|
+
eventId: string;
|
|
112002
|
+
eventName: string;
|
|
112003
|
+
productId: string;
|
|
112004
|
+
occurredAt: string;
|
|
112005
|
+
recordedAt: string;
|
|
112006
|
+
receiptCount: number;
|
|
112007
|
+
organizationId: string;
|
|
112008
|
+
cascadedFromOrg: boolean;
|
|
112009
|
+
}[];
|
|
112010
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
112011
|
+
}
|
|
112012
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
112013
|
+
payload?: unknown;
|
|
112014
|
+
event_id: string;
|
|
112015
|
+
provider: string;
|
|
112016
|
+
verified: boolean;
|
|
112017
|
+
product_id: string;
|
|
112018
|
+
occurred_at: string;
|
|
112019
|
+
connector_id: string;
|
|
112020
|
+
delivery_count: number;
|
|
112021
|
+
} | {
|
|
112022
|
+
found: false;
|
|
112023
|
+
});
|
|
112024
|
+
export interface PlaygroundWorkflowEchoInput {
|
|
112025
|
+
/**
|
|
112026
|
+
* The text to store, 1–1024 characters
|
|
112027
|
+
*/
|
|
112028
|
+
note: string;
|
|
112029
|
+
/**
|
|
112030
|
+
* Optional labels stored alongside the note, at most 20
|
|
112031
|
+
*
|
|
112032
|
+
* @maxItems 20
|
|
112033
|
+
*/
|
|
112034
|
+
tags?: [] | [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
|
|
112035
|
+
}
|
|
112036
|
+
export interface PlaygroundWorkflowEchoOutput {
|
|
112037
|
+
/**
|
|
112038
|
+
* Identifier of the stored echo
|
|
112039
|
+
*/
|
|
112040
|
+
id: string;
|
|
112041
|
+
/**
|
|
112042
|
+
* The note exactly as it was received
|
|
112043
|
+
*/
|
|
112044
|
+
note: string;
|
|
112045
|
+
/**
|
|
112046
|
+
* The tags exactly as they were received
|
|
112047
|
+
*/
|
|
112048
|
+
tags: string[];
|
|
112049
|
+
/**
|
|
112050
|
+
* Correlation id for this echo. The playground/workflow.echoed event published about two seconds later repeats it, which is how a composer matches the completion back to this step.
|
|
112051
|
+
*/
|
|
112052
|
+
echo_id: string;
|
|
112053
|
+
/**
|
|
112054
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
112055
|
+
*/
|
|
112056
|
+
received_at: string;
|
|
112057
|
+
}
|
|
112058
|
+
export interface PlaygroundWorkflowEchoListInput {
|
|
112059
|
+
}
|
|
112060
|
+
export type PlaygroundWorkflowEchoListOutput = {
|
|
112061
|
+
/**
|
|
112062
|
+
* Identifier of the stored echo
|
|
112063
|
+
*/
|
|
112064
|
+
id: string;
|
|
112065
|
+
/**
|
|
112066
|
+
* The note exactly as it was received
|
|
112067
|
+
*/
|
|
112068
|
+
note: string;
|
|
112069
|
+
/**
|
|
112070
|
+
* The tags exactly as they were received
|
|
112071
|
+
*/
|
|
112072
|
+
tags: string[];
|
|
112073
|
+
/**
|
|
112074
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
112075
|
+
*/
|
|
112076
|
+
received_at: string;
|
|
112077
|
+
}[];
|
|
112078
|
+
export interface PlaygroundWorkflowPingInput {
|
|
112079
|
+
/**
|
|
112080
|
+
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
112081
|
+
*/
|
|
112082
|
+
kind?: string;
|
|
112083
|
+
}
|
|
112084
|
+
export interface PlaygroundWorkflowPingOutput {
|
|
112085
|
+
/**
|
|
112086
|
+
* Correlation id for this ping. The emitted playground/workflow.ping event repeats it, which is how a composer matches the event back to this step.
|
|
112087
|
+
*/
|
|
112088
|
+
id: string;
|
|
112089
|
+
/**
|
|
112090
|
+
* The name of the event that was published
|
|
112091
|
+
*/
|
|
112092
|
+
event: string;
|
|
112093
|
+
}
|
|
112094
|
+
export interface PlaygroundWorkflowSubjectsListInput {
|
|
112095
|
+
/**
|
|
112096
|
+
* How many subjects to return, 1–100. Defaults to 25.
|
|
112097
|
+
*/
|
|
112098
|
+
limit?: number;
|
|
112099
|
+
/**
|
|
112100
|
+
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
112101
|
+
*/
|
|
112102
|
+
cursor?: string;
|
|
112103
|
+
/**
|
|
112104
|
+
* ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR AFTER this — the opposite question, the recently active population. Omit for no lower bound.
|
|
112105
|
+
*/
|
|
112106
|
+
last_activity_after?: string;
|
|
112107
|
+
/**
|
|
112108
|
+
* ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR BEFORE this — the "inactive for N days" question: pass now minus N days. Omit for no upper bound.
|
|
112109
|
+
*/
|
|
112110
|
+
last_activity_before?: string;
|
|
112111
|
+
}
|
|
112112
|
+
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
112113
|
+
/**
|
|
112114
|
+
* This page of subjects, most recently active first
|
|
112115
|
+
*/
|
|
112116
|
+
items: {
|
|
112117
|
+
/**
|
|
112118
|
+
* Stable identifier for the subject. This is the field a batch trigger keys on, so a subject already served in an earlier run is skipped rather than served twice.
|
|
112119
|
+
*/
|
|
112120
|
+
subject_key: string;
|
|
112121
|
+
/**
|
|
112122
|
+
* Human-readable name of the subject
|
|
112123
|
+
*/
|
|
112124
|
+
display_name: string;
|
|
112125
|
+
/**
|
|
112126
|
+
* ISO-8601 instant (UTC) of the subject last activity
|
|
112127
|
+
*/
|
|
112128
|
+
last_activity_at: string;
|
|
112129
|
+
}[];
|
|
112130
|
+
/**
|
|
112131
|
+
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
112132
|
+
*/
|
|
112133
|
+
has_more: boolean;
|
|
112134
|
+
/**
|
|
112135
|
+
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
112136
|
+
*/
|
|
112137
|
+
next_cursor: (string | null);
|
|
112138
|
+
}
|
|
112139
|
+
export interface PlaygroundWsEchoInput {
|
|
112140
|
+
}
|
|
112141
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
111759
112142
|
export interface RealtimeArchiveExportInput {
|
|
111760
112143
|
/**
|
|
111761
112144
|
* Only entries with ts <= to_ts (epoch ms)
|