@lessly/sdk-app 99.9.0 → 99.10.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 +20 -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 +347 -0
- 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 +393 -0
|
@@ -93081,6 +93081,7 @@ export interface DeploymentDeploymentCancelOutput {
|
|
|
93081
93081
|
id: string;
|
|
93082
93082
|
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
|
|
93083
93083
|
builtAt: (string | null);
|
|
93084
|
+
trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
|
|
93084
93085
|
imageRef: (string | null);
|
|
93085
93086
|
commitSha: (string | null);
|
|
93086
93087
|
createdAt: string;
|
|
@@ -93107,6 +93108,7 @@ export interface DeploymentDeploymentGetOutput {
|
|
|
93107
93108
|
id: string;
|
|
93108
93109
|
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
|
|
93109
93110
|
builtAt: (string | null);
|
|
93111
|
+
trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
|
|
93110
93112
|
imageRef: (string | null);
|
|
93111
93113
|
commitSha: (string | null);
|
|
93112
93114
|
createdAt: string;
|
|
@@ -93133,6 +93135,7 @@ export type DeploymentDeploymentListOutput = {
|
|
|
93133
93135
|
id: string;
|
|
93134
93136
|
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
|
|
93135
93137
|
builtAt: (string | null);
|
|
93138
|
+
trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
|
|
93136
93139
|
imageRef: (string | null);
|
|
93137
93140
|
commitSha: (string | null);
|
|
93138
93141
|
createdAt: string;
|
|
@@ -93177,6 +93180,12 @@ export interface DeploymentDomainAddOutput {
|
|
|
93177
93180
|
createdAt: string;
|
|
93178
93181
|
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed");
|
|
93179
93182
|
updatedAt: string;
|
|
93183
|
+
managedDns?: ({
|
|
93184
|
+
mode: "external";
|
|
93185
|
+
note: string;
|
|
93186
|
+
tool: "organization_domains_set-mode";
|
|
93187
|
+
governanceDomainId: string;
|
|
93188
|
+
} | null);
|
|
93180
93189
|
lastProbeAt: (string | null);
|
|
93181
93190
|
redirectWww: boolean;
|
|
93182
93191
|
wwwTlsStatus: ("none" | "pending" | "issuing" | "active" | "failed");
|
|
@@ -93674,6 +93683,7 @@ export interface DeploymentEnvironmentCreateOutput {
|
|
|
93674
93683
|
expiresAt: (string | null);
|
|
93675
93684
|
updatedAt: string;
|
|
93676
93685
|
isProduction: boolean;
|
|
93686
|
+
repoFullName: (string | null);
|
|
93677
93687
|
lastErrorMessage: (string | null);
|
|
93678
93688
|
baseEnvironmentId: (string | null);
|
|
93679
93689
|
}
|
|
@@ -93700,6 +93710,7 @@ export interface DeploymentEnvironmentForkOutput {
|
|
|
93700
93710
|
expiresAt: (string | null);
|
|
93701
93711
|
updatedAt: string;
|
|
93702
93712
|
isProduction: boolean;
|
|
93713
|
+
repoFullName: (string | null);
|
|
93703
93714
|
lastErrorMessage: (string | null);
|
|
93704
93715
|
baseEnvironmentId: (string | null);
|
|
93705
93716
|
}
|
|
@@ -93718,6 +93729,7 @@ export interface DeploymentEnvironmentGetOutput {
|
|
|
93718
93729
|
expiresAt: (string | null);
|
|
93719
93730
|
updatedAt: string;
|
|
93720
93731
|
isProduction: boolean;
|
|
93732
|
+
repoFullName: (string | null);
|
|
93721
93733
|
lastErrorMessage: (string | null);
|
|
93722
93734
|
baseEnvironmentId: (string | null);
|
|
93723
93735
|
}
|
|
@@ -93736,6 +93748,7 @@ export type DeploymentEnvironmentListOutput = {
|
|
|
93736
93748
|
expiresAt: (string | null);
|
|
93737
93749
|
updatedAt: string;
|
|
93738
93750
|
isProduction: boolean;
|
|
93751
|
+
repoFullName: (string | null);
|
|
93739
93752
|
lastErrorMessage: (string | null);
|
|
93740
93753
|
baseEnvironmentId: (string | null);
|
|
93741
93754
|
}[];
|
|
@@ -93755,6 +93768,7 @@ export interface DeploymentEnvironmentReconcileOutput {
|
|
|
93755
93768
|
expiresAt: (string | null);
|
|
93756
93769
|
updatedAt: string;
|
|
93757
93770
|
isProduction: boolean;
|
|
93771
|
+
repoFullName: (string | null);
|
|
93758
93772
|
lastErrorMessage: (string | null);
|
|
93759
93773
|
baseEnvironmentId: (string | null);
|
|
93760
93774
|
}
|
|
@@ -93774,6 +93788,7 @@ export interface DeploymentEnvironmentUpdateOutput {
|
|
|
93774
93788
|
expiresAt: (string | null);
|
|
93775
93789
|
updatedAt: string;
|
|
93776
93790
|
isProduction: boolean;
|
|
93791
|
+
repoFullName: (string | null);
|
|
93777
93792
|
lastErrorMessage: (string | null);
|
|
93778
93793
|
baseEnvironmentId: (string | null);
|
|
93779
93794
|
}
|
|
@@ -94205,6 +94220,7 @@ export interface DeploymentMetricsGetOutput {
|
|
|
94205
94220
|
export interface DeploymentPreviewEnvironmentCreateInput {
|
|
94206
94221
|
prBranch?: string;
|
|
94207
94222
|
prNumber: number;
|
|
94223
|
+
repoFullName?: string;
|
|
94208
94224
|
baseEnvironmentId: string;
|
|
94209
94225
|
}
|
|
94210
94226
|
export interface DeploymentPreviewEnvironmentCreateOutput {
|
|
@@ -94219,6 +94235,7 @@ export interface DeploymentPreviewEnvironmentCreateOutput {
|
|
|
94219
94235
|
expiresAt: (string | null);
|
|
94220
94236
|
updatedAt: string;
|
|
94221
94237
|
isProduction: boolean;
|
|
94238
|
+
repoFullName: (string | null);
|
|
94222
94239
|
lastErrorMessage: (string | null);
|
|
94223
94240
|
baseEnvironmentId: (string | null);
|
|
94224
94241
|
}
|
|
@@ -94242,6 +94259,7 @@ export type DeploymentPreviewEnvironmentListOutput = {
|
|
|
94242
94259
|
expiresAt: (string | null);
|
|
94243
94260
|
updatedAt: string;
|
|
94244
94261
|
isProduction: boolean;
|
|
94262
|
+
repoFullName: (string | null);
|
|
94245
94263
|
lastErrorMessage: (string | null);
|
|
94246
94264
|
baseEnvironmentId: (string | null);
|
|
94247
94265
|
}[];
|
|
@@ -94656,6 +94674,7 @@ export interface DeploymentServiceRedeployOutput {
|
|
|
94656
94674
|
id: string;
|
|
94657
94675
|
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
|
|
94658
94676
|
builtAt: (string | null);
|
|
94677
|
+
trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
|
|
94659
94678
|
imageRef: (string | null);
|
|
94660
94679
|
commitSha: (string | null);
|
|
94661
94680
|
createdAt: string;
|
|
@@ -94689,6 +94708,7 @@ export interface DeploymentServiceRollbackOutput {
|
|
|
94689
94708
|
id: string;
|
|
94690
94709
|
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
|
|
94691
94710
|
builtAt: (string | null);
|
|
94711
|
+
trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
|
|
94692
94712
|
imageRef: (string | null);
|
|
94693
94713
|
commitSha: (string | null);
|
|
94694
94714
|
createdAt: string;
|
|
@@ -95033,6 +95053,7 @@ export interface DeploymentStaticDeployOutput {
|
|
|
95033
95053
|
id: string;
|
|
95034
95054
|
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed");
|
|
95035
95055
|
builtAt: (string | null);
|
|
95056
|
+
trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null);
|
|
95036
95057
|
imageRef: (string | null);
|
|
95037
95058
|
commitSha: (string | null);
|
|
95038
95059
|
createdAt: string;
|
|
@@ -111756,6 +111777,332 @@ export interface OrganizationYoutubeInstallInput {
|
|
|
111756
111777
|
export interface OrganizationYoutubeInstallOutput {
|
|
111757
111778
|
url: string;
|
|
111758
111779
|
}
|
|
111780
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
111781
|
+
/**
|
|
111782
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
111783
|
+
*/
|
|
111784
|
+
limit?: number;
|
|
111785
|
+
}
|
|
111786
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
111787
|
+
ok: boolean;
|
|
111788
|
+
minted: boolean;
|
|
111789
|
+
overview?: unknown;
|
|
111790
|
+
http_status: number;
|
|
111791
|
+
}
|
|
111792
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
111793
|
+
}
|
|
111794
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
111795
|
+
ok: boolean;
|
|
111796
|
+
minted: boolean;
|
|
111797
|
+
http_status: number;
|
|
111798
|
+
entitlements?: unknown;
|
|
111799
|
+
}
|
|
111800
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
111801
|
+
/**
|
|
111802
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
111803
|
+
*/
|
|
111804
|
+
value?: number;
|
|
111805
|
+
}
|
|
111806
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
111807
|
+
minted: boolean;
|
|
111808
|
+
accepted: (number | null);
|
|
111809
|
+
recorded: boolean;
|
|
111810
|
+
duplicates: (number | null);
|
|
111811
|
+
http_status: number;
|
|
111812
|
+
}
|
|
111813
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
111814
|
+
/**
|
|
111815
|
+
* Task title; defaults to a fixture label
|
|
111816
|
+
*/
|
|
111817
|
+
name?: string;
|
|
111818
|
+
/**
|
|
111819
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
111820
|
+
*/
|
|
111821
|
+
listId?: string;
|
|
111822
|
+
}
|
|
111823
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
111824
|
+
minted: boolean;
|
|
111825
|
+
task_id: (string | null);
|
|
111826
|
+
list_status: number;
|
|
111827
|
+
vend_status: number;
|
|
111828
|
+
clickup_status: number;
|
|
111829
|
+
installation_count: number;
|
|
111830
|
+
}
|
|
111831
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
111832
|
+
}
|
|
111833
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
111834
|
+
payload: string;
|
|
111835
|
+
event_id: string;
|
|
111836
|
+
provider: string;
|
|
111837
|
+
verified: boolean;
|
|
111838
|
+
product_id: string;
|
|
111839
|
+
occurred_at: string;
|
|
111840
|
+
connector_id: string;
|
|
111841
|
+
clickup_event: (string | null);
|
|
111842
|
+
receipt_count: number;
|
|
111843
|
+
} | {
|
|
111844
|
+
found: false;
|
|
111845
|
+
});
|
|
111846
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
111847
|
+
}
|
|
111848
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
111849
|
+
team: ({
|
|
111850
|
+
teamId: string;
|
|
111851
|
+
teamName: string;
|
|
111852
|
+
} | null);
|
|
111853
|
+
lists: PlaygroundClickupGetOverviewOutputItems[];
|
|
111854
|
+
tasks: {
|
|
111855
|
+
id: string;
|
|
111856
|
+
name: string;
|
|
111857
|
+
status: (string | null);
|
|
111858
|
+
}[];
|
|
111859
|
+
minted: boolean;
|
|
111860
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[];
|
|
111861
|
+
list_status: number;
|
|
111862
|
+
vend_status: number;
|
|
111863
|
+
lists_status: number;
|
|
111864
|
+
tasks_status: number;
|
|
111865
|
+
spaces_status: number;
|
|
111866
|
+
folders_status: number;
|
|
111867
|
+
installation_count: number;
|
|
111868
|
+
}
|
|
111869
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
111870
|
+
id: string;
|
|
111871
|
+
name: string;
|
|
111872
|
+
}
|
|
111873
|
+
export interface PlaygroundEchoPingInput {
|
|
111874
|
+
/**
|
|
111875
|
+
* The text to echo back, 1–1024 characters
|
|
111876
|
+
*/
|
|
111877
|
+
message: string;
|
|
111878
|
+
}
|
|
111879
|
+
export interface PlaygroundEchoPingOutput {
|
|
111880
|
+
/**
|
|
111881
|
+
* The message exactly as it was received
|
|
111882
|
+
*/
|
|
111883
|
+
message: string;
|
|
111884
|
+
/**
|
|
111885
|
+
* The product the call was resolved to
|
|
111886
|
+
*/
|
|
111887
|
+
productId: string;
|
|
111888
|
+
/**
|
|
111889
|
+
* ISO-8601 instant (UTC) at which the call reached the service
|
|
111890
|
+
*/
|
|
111891
|
+
receivedAt: string;
|
|
111892
|
+
}
|
|
111893
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
111894
|
+
}
|
|
111895
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
111896
|
+
file_id: string;
|
|
111897
|
+
removed: boolean;
|
|
111898
|
+
file_name: (string | null);
|
|
111899
|
+
mime_type: (string | null);
|
|
111900
|
+
product_id: string;
|
|
111901
|
+
occurred_at: string;
|
|
111902
|
+
connector_id: string;
|
|
111903
|
+
resource_state: string;
|
|
111904
|
+
} | {
|
|
111905
|
+
found: false;
|
|
111906
|
+
});
|
|
111907
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
111908
|
+
/**
|
|
111909
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
111910
|
+
*/
|
|
111911
|
+
fileId?: string;
|
|
111912
|
+
}
|
|
111913
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
111914
|
+
minted: boolean;
|
|
111915
|
+
file_id: (string | null);
|
|
111916
|
+
file_name: (string | null);
|
|
111917
|
+
mime_type: (string | null);
|
|
111918
|
+
file_count: number;
|
|
111919
|
+
get_status: number;
|
|
111920
|
+
list_status: number;
|
|
111921
|
+
vend_status: number;
|
|
111922
|
+
content_bytes: (number | null);
|
|
111923
|
+
}
|
|
111924
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
111925
|
+
}
|
|
111926
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
111927
|
+
minted: boolean;
|
|
111928
|
+
vended: boolean;
|
|
111929
|
+
customer_id: (string | null);
|
|
111930
|
+
vend_status: number;
|
|
111931
|
+
result_count: number;
|
|
111932
|
+
search_status: number;
|
|
111933
|
+
login_customer_id: (string | null);
|
|
111934
|
+
}
|
|
111935
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
111936
|
+
}
|
|
111937
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
111938
|
+
blocked: boolean;
|
|
111939
|
+
archived: boolean;
|
|
111940
|
+
productId: string;
|
|
111941
|
+
lastBlockTransition: ({
|
|
111942
|
+
eventId: string;
|
|
111943
|
+
eventName: string;
|
|
111944
|
+
productId: string;
|
|
111945
|
+
occurredAt: string;
|
|
111946
|
+
recordedAt: string;
|
|
111947
|
+
receiptCount: number;
|
|
111948
|
+
organizationId: string;
|
|
111949
|
+
cascadedFromOrg: boolean;
|
|
111950
|
+
} | null);
|
|
111951
|
+
lastArchiveTransition: ({
|
|
111952
|
+
eventId: string;
|
|
111953
|
+
eventName: string;
|
|
111954
|
+
productId: string;
|
|
111955
|
+
occurredAt: string;
|
|
111956
|
+
recordedAt: string;
|
|
111957
|
+
receiptCount: number;
|
|
111958
|
+
organizationId: string;
|
|
111959
|
+
cascadedFromOrg: boolean;
|
|
111960
|
+
} | null);
|
|
111961
|
+
}
|
|
111962
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
111963
|
+
}
|
|
111964
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
111965
|
+
eventId: string;
|
|
111966
|
+
eventName: string;
|
|
111967
|
+
productId: string;
|
|
111968
|
+
occurredAt: string;
|
|
111969
|
+
recordedAt: string;
|
|
111970
|
+
receiptCount: number;
|
|
111971
|
+
organizationId: string;
|
|
111972
|
+
cascadedFromOrg: boolean;
|
|
111973
|
+
}[];
|
|
111974
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
111975
|
+
}
|
|
111976
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
111977
|
+
payload?: unknown;
|
|
111978
|
+
event_id: string;
|
|
111979
|
+
provider: string;
|
|
111980
|
+
verified: boolean;
|
|
111981
|
+
product_id: string;
|
|
111982
|
+
occurred_at: string;
|
|
111983
|
+
connector_id: string;
|
|
111984
|
+
delivery_count: number;
|
|
111985
|
+
} | {
|
|
111986
|
+
found: false;
|
|
111987
|
+
});
|
|
111988
|
+
export interface PlaygroundWorkflowEchoInput {
|
|
111989
|
+
/**
|
|
111990
|
+
* The text to store, 1–1024 characters
|
|
111991
|
+
*/
|
|
111992
|
+
note: string;
|
|
111993
|
+
/**
|
|
111994
|
+
* Optional labels stored alongside the note, at most 20
|
|
111995
|
+
*
|
|
111996
|
+
* @maxItems 20
|
|
111997
|
+
*/
|
|
111998
|
+
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];
|
|
111999
|
+
}
|
|
112000
|
+
export interface PlaygroundWorkflowEchoOutput {
|
|
112001
|
+
/**
|
|
112002
|
+
* Identifier of the stored echo
|
|
112003
|
+
*/
|
|
112004
|
+
id: string;
|
|
112005
|
+
/**
|
|
112006
|
+
* The note exactly as it was received
|
|
112007
|
+
*/
|
|
112008
|
+
note: string;
|
|
112009
|
+
/**
|
|
112010
|
+
* The tags exactly as they were received
|
|
112011
|
+
*/
|
|
112012
|
+
tags: string[];
|
|
112013
|
+
/**
|
|
112014
|
+
* 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.
|
|
112015
|
+
*/
|
|
112016
|
+
echo_id: string;
|
|
112017
|
+
/**
|
|
112018
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
112019
|
+
*/
|
|
112020
|
+
received_at: string;
|
|
112021
|
+
}
|
|
112022
|
+
export interface PlaygroundWorkflowEchoListInput {
|
|
112023
|
+
}
|
|
112024
|
+
export type PlaygroundWorkflowEchoListOutput = {
|
|
112025
|
+
/**
|
|
112026
|
+
* Identifier of the stored echo
|
|
112027
|
+
*/
|
|
112028
|
+
id: string;
|
|
112029
|
+
/**
|
|
112030
|
+
* The note exactly as it was received
|
|
112031
|
+
*/
|
|
112032
|
+
note: string;
|
|
112033
|
+
/**
|
|
112034
|
+
* The tags exactly as they were received
|
|
112035
|
+
*/
|
|
112036
|
+
tags: string[];
|
|
112037
|
+
/**
|
|
112038
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
112039
|
+
*/
|
|
112040
|
+
received_at: string;
|
|
112041
|
+
}[];
|
|
112042
|
+
export interface PlaygroundWorkflowPingInput {
|
|
112043
|
+
/**
|
|
112044
|
+
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
112045
|
+
*/
|
|
112046
|
+
kind?: string;
|
|
112047
|
+
}
|
|
112048
|
+
export interface PlaygroundWorkflowPingOutput {
|
|
112049
|
+
/**
|
|
112050
|
+
* 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.
|
|
112051
|
+
*/
|
|
112052
|
+
id: string;
|
|
112053
|
+
/**
|
|
112054
|
+
* The name of the event that was published
|
|
112055
|
+
*/
|
|
112056
|
+
event: string;
|
|
112057
|
+
}
|
|
112058
|
+
export interface PlaygroundWorkflowSubjectsListInput {
|
|
112059
|
+
/**
|
|
112060
|
+
* How many subjects to return, 1–100. Defaults to 25.
|
|
112061
|
+
*/
|
|
112062
|
+
limit?: number;
|
|
112063
|
+
/**
|
|
112064
|
+
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
112065
|
+
*/
|
|
112066
|
+
cursor?: string;
|
|
112067
|
+
/**
|
|
112068
|
+
* 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.
|
|
112069
|
+
*/
|
|
112070
|
+
last_activity_after?: string;
|
|
112071
|
+
/**
|
|
112072
|
+
* 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.
|
|
112073
|
+
*/
|
|
112074
|
+
last_activity_before?: string;
|
|
112075
|
+
}
|
|
112076
|
+
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
112077
|
+
/**
|
|
112078
|
+
* This page of subjects, most recently active first
|
|
112079
|
+
*/
|
|
112080
|
+
items: {
|
|
112081
|
+
/**
|
|
112082
|
+
* 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.
|
|
112083
|
+
*/
|
|
112084
|
+
subject_key: string;
|
|
112085
|
+
/**
|
|
112086
|
+
* Human-readable name of the subject
|
|
112087
|
+
*/
|
|
112088
|
+
display_name: string;
|
|
112089
|
+
/**
|
|
112090
|
+
* ISO-8601 instant (UTC) of the subject last activity
|
|
112091
|
+
*/
|
|
112092
|
+
last_activity_at: string;
|
|
112093
|
+
}[];
|
|
112094
|
+
/**
|
|
112095
|
+
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
112096
|
+
*/
|
|
112097
|
+
has_more: boolean;
|
|
112098
|
+
/**
|
|
112099
|
+
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
112100
|
+
*/
|
|
112101
|
+
next_cursor: (string | null);
|
|
112102
|
+
}
|
|
112103
|
+
export interface PlaygroundWsEchoInput {
|
|
112104
|
+
}
|
|
112105
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
111759
112106
|
export interface RealtimeArchiveExportInput {
|
|
111760
112107
|
/**
|
|
111761
112108
|
* Only entries with ts <= to_ts (epoch ms)
|