@lessly/sdk-app 120.3.0 → 121.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.
@@ -0,0 +1,119 @@
1
+ // AUTOGENERATED by scripts/generate.ts — do not edit.
2
+ import type { GeneratedClient } from '../client.gen';
3
+ import type {
4
+ PlaygroundAnalyticsOverviewInput,
5
+ PlaygroundAnalyticsOverviewOutput,
6
+ PlaygroundBillingEntitlementsInput,
7
+ PlaygroundBillingEntitlementsOutput,
8
+ PlaygroundBillingRecordUsageInput,
9
+ PlaygroundClickupCreateTaskInput,
10
+ PlaygroundClickupGetLastWebhookInput,
11
+ PlaygroundClickupGetLastWebhookOutput,
12
+ PlaygroundClickupGetOverviewInput,
13
+ PlaygroundClickupGetOverviewOutput,
14
+ PlaygroundEchoPingInput,
15
+ PlaygroundEchoPingOutput,
16
+ PlaygroundGdriveGetLastChangeInput,
17
+ PlaygroundGdriveGetLastChangeOutput,
18
+ PlaygroundGdriveReadFileInput,
19
+ PlaygroundGdriveReadFileOutput,
20
+ PlaygroundGoogleadsReadCustomerInput,
21
+ PlaygroundGoogleadsReadCustomerOutput,
22
+ PlaygroundLifecycleGetStateInput,
23
+ PlaygroundLifecycleGetStateOutput,
24
+ PlaygroundLifecycleListEventsInput,
25
+ PlaygroundLifecycleListEventsOutput,
26
+ PlaygroundWebhookGetLastInput,
27
+ PlaygroundWebhookGetLastOutput,
28
+ PlaygroundWorkflowEchoInput,
29
+ PlaygroundWorkflowEchoListInput,
30
+ PlaygroundWorkflowEchoListOutput,
31
+ PlaygroundWorkflowPingInput,
32
+ PlaygroundWorkflowSubjectsListInput,
33
+ PlaygroundWorkflowSubjectsListOutput,
34
+ } from '../types.gen';
35
+
36
+ export const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({
37
+ queryKey: ['playground', 'analytics', 'overview', input] as const,
38
+ queryFn: () => sdk['playground']['analytics']['overview'](input),
39
+ });
40
+
41
+ export const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({
42
+ queryKey: ['playground', 'billing', 'entitlements', input] as const,
43
+ queryFn: () => sdk['playground']['billing']['entitlements'](input),
44
+ });
45
+
46
+ export const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({
47
+ mutationKey: ['playground', 'billing', 'record-usage'],
48
+ mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),
49
+ });
50
+
51
+ export const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({
52
+ mutationKey: ['playground', 'clickup', 'create-task'],
53
+ mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),
54
+ });
55
+
56
+ export const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({
57
+ queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,
58
+ queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),
59
+ });
60
+
61
+ export const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({
62
+ queryKey: ['playground', 'clickup', 'get-overview', input] as const,
63
+ queryFn: () => sdk['playground']['clickup']['get-overview'](input),
64
+ });
65
+
66
+ export const playgroundEchoPingQueryOptions = (sdk: GeneratedClient, input: PlaygroundEchoPingInput) => ({
67
+ queryKey: ['playground', 'echo', 'ping', input] as const,
68
+ queryFn: () => sdk['playground']['echo']['ping'](input),
69
+ });
70
+
71
+ export const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({
72
+ queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,
73
+ queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),
74
+ });
75
+
76
+ export const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({
77
+ queryKey: ['playground', 'gdrive', 'read-file', input] as const,
78
+ queryFn: () => sdk['playground']['gdrive']['read-file'](input),
79
+ });
80
+
81
+ export const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({
82
+ queryKey: ['playground', 'googleads', 'read-customer', input] as const,
83
+ queryFn: () => sdk['playground']['googleads']['read-customer'](input),
84
+ });
85
+
86
+ export const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({
87
+ queryKey: ['playground', 'lifecycle', 'get-state', input] as const,
88
+ queryFn: () => sdk['playground']['lifecycle']['get-state'](input),
89
+ });
90
+
91
+ export const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({
92
+ queryKey: ['playground', 'lifecycle', 'list-events', input] as const,
93
+ queryFn: () => sdk['playground']['lifecycle']['list-events'](input),
94
+ });
95
+
96
+ export const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({
97
+ queryKey: ['playground', 'webhook', 'get-last', input] as const,
98
+ queryFn: () => sdk['playground']['webhook']['get-last'](input),
99
+ });
100
+
101
+ export const playgroundWorkflowEchoMutationOptions = (sdk: GeneratedClient) => ({
102
+ mutationKey: ['playground', 'workflow', 'echo'],
103
+ mutationFn: (input: PlaygroundWorkflowEchoInput) => sdk['playground']['workflow']['echo'](input),
104
+ });
105
+
106
+ export const playgroundWorkflowEchoListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowEchoListInput) => ({
107
+ queryKey: ['playground', 'workflow', 'echo-list', input] as const,
108
+ queryFn: () => sdk['playground']['workflow']['echo-list'](input),
109
+ });
110
+
111
+ export const playgroundWorkflowPingMutationOptions = (sdk: GeneratedClient) => ({
112
+ mutationKey: ['playground', 'workflow', 'ping'],
113
+ mutationFn: (input: PlaygroundWorkflowPingInput) => sdk['playground']['workflow']['ping'](input),
114
+ });
115
+
116
+ export const playgroundWorkflowSubjectsListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowSubjectsListInput) => ({
117
+ queryKey: ['playground', 'workflow', 'subjects-list', input] as const,
118
+ queryFn: () => sdk['playground']['workflow']['subjects-list'](input),
119
+ });
@@ -340016,7 +340016,7 @@ kind: ("digest" | "sweep")
340016
340016
  error: (string | null)
340017
340017
  result?: unknown
340018
340018
  run_id: string
340019
- status: string
340019
+ status: ("running" | "done" | "failed")
340020
340020
  started_at: string
340021
340021
  finished_at: (string | null)
340022
340022
  } | null)
@@ -340025,7 +340025,7 @@ kind: ("digest" | "sweep")
340025
340025
  error: (string | null)
340026
340026
  result?: unknown
340027
340027
  run_id: string
340028
- status: string
340028
+ status: ("running" | "done" | "failed")
340029
340029
  started_at: string
340030
340030
  finished_at: (string | null)
340031
340031
  } | null)
@@ -341416,6 +341416,10 @@ content: string
341416
341416
  metadata?: {
341417
341417
  [k: string]: unknown
341418
341418
  }
341419
+ /**
341420
+ * Reuse this key when retrying a connection error; the same request returns its original response for 48 hours
341421
+ */
341422
+ idempotency_key?: string
341419
341423
  /**
341420
341424
  * Source authority (highest→lowest): policy > official > team > informal. Omit to default to official; an unrecognized value is rejected.
341421
341425
  */
@@ -341460,6 +341464,10 @@ error_message?: string
341460
341464
  * Engine request id for this call — quote it when reporting a problem
341461
341465
  */
341462
341466
  request_id: string
341467
+ /**
341468
+ * True when an unkeyed add matched one completed in the last 10 minutes; no new memory was written
341469
+ */
341470
+ deduplicated?: boolean
341463
341471
  }
341464
341472
 
341465
341473
  export interface BrainMemoryDeleteInput {
@@ -341467,6 +341475,10 @@ export interface BrainMemoryDeleteInput {
341467
341475
  * Engine memory id
341468
341476
  */
341469
341477
  memory_id: string
341478
+ /**
341479
+ * Reuse this key when retrying a connection error; the same request returns its original response for 48 hours
341480
+ */
341481
+ idempotency_key?: string
341470
341482
  }
341471
341483
 
341472
341484
  export interface BrainMemoryDeleteOutput {
@@ -341479,7 +341491,7 @@ success: true
341479
341491
  */
341480
341492
  request_id: string
341481
341493
  /**
341482
- * How many memory rows the engine removed for this id; 0 when it was already gone
341494
+ * 1 when the engine removed this memory from vector or graph storage; 0 when it was already gone
341483
341495
  */
341484
341496
  deleted_count: number
341485
341497
  }
@@ -341518,6 +341530,10 @@ status: string
341518
341530
  * The memory text itself
341519
341531
  */
341520
341532
  content: string
341533
+ /**
341534
+ * True when this memory was machine-extracted from a raw memory
341535
+ */
341536
+ derived: boolean
341521
341537
  /**
341522
341538
  * Engine user namespace the memory was written under
341523
341539
  */
@@ -341630,6 +341646,10 @@ status: string
341630
341646
  * The memory text itself
341631
341647
  */
341632
341648
  content: string
341649
+ /**
341650
+ * True when this memory was machine-extracted from a raw memory
341651
+ */
341652
+ derived: boolean
341633
341653
  /**
341634
341654
  * Engine user namespace the memory was written under
341635
341655
  */
@@ -341715,10 +341735,31 @@ layer: ("l6_schema" | "l7_intention" | "l4_identity" | "l0_basic_info" | "l2_fac
341715
341735
  * How closely this hit matches the query — higher is closer. An engine-internal scale, not a percentage; compare hits against each other, never against a fixed threshold.
341716
341736
  */
341717
341737
  score: number
341738
+ /**
341739
+ * Readable raw memory for verification; null when missing or outside your scope
341740
+ */
341741
+ source: ({
341742
+ /**
341743
+ * Raw memory text, at most 2000 Unicode characters
341744
+ */
341745
+ content: string
341746
+ /**
341747
+ * Id of the raw memory this item was extracted from
341748
+ */
341749
+ memory_id: string
341750
+ /**
341751
+ * True when the raw memory text was longer than 2000 Unicode characters
341752
+ */
341753
+ truncated: boolean
341754
+ } | null)
341718
341755
  /**
341719
341756
  * The memory text itself
341720
341757
  */
341721
341758
  content: string
341759
+ /**
341760
+ * True when this memory was machine-extracted from a raw memory; extracted content can be wrong
341761
+ */
341762
+ derived: boolean
341722
341763
  /**
341723
341764
  * When the remembered EVENT happened, epoch milliseconds; null when the writer stated no time
341724
341765
  */
@@ -341837,6 +341878,10 @@ content: string
341837
341878
  * Engine memory id
341838
341879
  */
341839
341880
  memory_id: string
341881
+ /**
341882
+ * Reuse this key when retrying a connection error; the same request returns its original response for 48 hours
341883
+ */
341884
+ idempotency_key?: string
341840
341885
  }
341841
341886
 
341842
341887
  export interface BrainMemoryUpdateOutput {
@@ -381877,6 +381922,378 @@ export interface OrganizationYoutubeInstallOutput {
381877
381922
  url: string
381878
381923
  }
381879
381924
 
381925
+ export interface PlaygroundAnalyticsOverviewInput {
381926
+ /**
381927
+ * Max records per entity in recent[]; omit for the endpoint default
381928
+ */
381929
+ limit?: number
381930
+ }
381931
+
381932
+ export interface PlaygroundAnalyticsOverviewOutput {
381933
+ ok: boolean
381934
+ minted: boolean
381935
+ overview?: unknown
381936
+ http_status: number
381937
+ }
381938
+
381939
+ export interface PlaygroundBillingEntitlementsInput {
381940
+
381941
+ }
381942
+
381943
+ export interface PlaygroundBillingEntitlementsOutput {
381944
+ ok: boolean
381945
+ minted: boolean
381946
+ http_status: number
381947
+ entitlements?: unknown
381948
+ }
381949
+
381950
+ export interface PlaygroundBillingRecordUsageInput {
381951
+ /**
381952
+ * Quantity of events to record against playground-events (SUM); defaults to 1
381953
+ */
381954
+ value?: number
381955
+ }
381956
+
381957
+ export interface PlaygroundBillingRecordUsageOutput {
381958
+ minted: boolean
381959
+ accepted: (number | null)
381960
+ recorded: boolean
381961
+ duplicates: (number | null)
381962
+ http_status: number
381963
+ }
381964
+
381965
+ export interface PlaygroundClickupCreateTaskInput {
381966
+ /**
381967
+ * Task title; defaults to a fixture label
381968
+ */
381969
+ name?: string
381970
+ /**
381971
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
381972
+ */
381973
+ listId?: string
381974
+ }
381975
+
381976
+ export interface PlaygroundClickupCreateTaskOutput {
381977
+ minted: boolean
381978
+ task_id: (string | null)
381979
+ list_status: number
381980
+ vend_status: number
381981
+ clickup_status: number
381982
+ installation_count: number
381983
+ }
381984
+
381985
+ export interface PlaygroundClickupGetLastWebhookInput {
381986
+
381987
+ }
381988
+
381989
+ export type PlaygroundClickupGetLastWebhookOutput = ({
381990
+ payload: string
381991
+ event_id: string
381992
+ provider: string
381993
+ verified: boolean
381994
+ product_id: string
381995
+ occurred_at: string
381996
+ connector_id: string
381997
+ clickup_event: (string | null)
381998
+ receipt_count: number
381999
+ } | {
382000
+ found: false
382001
+ })
382002
+
382003
+ export interface PlaygroundClickupGetOverviewInput {
382004
+
382005
+ }
382006
+
382007
+ export interface PlaygroundClickupGetOverviewOutput {
382008
+ team: ({
382009
+ teamId: string
382010
+ teamName: string
382011
+ } | null)
382012
+ lists: PlaygroundClickupGetOverviewOutputItems[]
382013
+ tasks: {
382014
+ id: string
382015
+ name: string
382016
+ status: (string | null)
382017
+ }[]
382018
+ minted: boolean
382019
+ spaces: PlaygroundClickupGetOverviewOutputItems[]
382020
+ list_status: number
382021
+ vend_status: number
382022
+ lists_status: number
382023
+ tasks_status: number
382024
+ spaces_status: number
382025
+ folders_status: number
382026
+ installation_count: number
382027
+ }
382028
+ export interface PlaygroundClickupGetOverviewOutputItems {
382029
+ id: string
382030
+ name: string
382031
+ }
382032
+
382033
+ export interface PlaygroundEchoPingInput {
382034
+ /**
382035
+ * The text to echo back, 1–1024 characters
382036
+ */
382037
+ message: string
382038
+ }
382039
+
382040
+ export interface PlaygroundEchoPingOutput {
382041
+ /**
382042
+ * The message exactly as it was received
382043
+ */
382044
+ message: string
382045
+ /**
382046
+ * The product the call was resolved to
382047
+ */
382048
+ productId: string
382049
+ /**
382050
+ * ISO-8601 instant (UTC) at which the call reached the service
382051
+ */
382052
+ receivedAt: string
382053
+ }
382054
+
382055
+ export interface PlaygroundGdriveGetLastChangeInput {
382056
+
382057
+ }
382058
+
382059
+ export type PlaygroundGdriveGetLastChangeOutput = ({
382060
+ file_id: string
382061
+ removed: boolean
382062
+ file_name: (string | null)
382063
+ mime_type: (string | null)
382064
+ product_id: string
382065
+ occurred_at: string
382066
+ connector_id: string
382067
+ resource_state: string
382068
+ } | {
382069
+ found: false
382070
+ })
382071
+
382072
+ export interface PlaygroundGdriveReadFileInput {
382073
+ /**
382074
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
382075
+ */
382076
+ fileId?: string
382077
+ }
382078
+
382079
+ export interface PlaygroundGdriveReadFileOutput {
382080
+ minted: boolean
382081
+ file_id: (string | null)
382082
+ file_name: (string | null)
382083
+ mime_type: (string | null)
382084
+ file_count: number
382085
+ get_status: number
382086
+ list_status: number
382087
+ vend_status: number
382088
+ content_bytes: (number | null)
382089
+ }
382090
+
382091
+ export interface PlaygroundGoogleadsReadCustomerInput {
382092
+
382093
+ }
382094
+
382095
+ export interface PlaygroundGoogleadsReadCustomerOutput {
382096
+ minted: boolean
382097
+ vended: boolean
382098
+ customer_id: (string | null)
382099
+ vend_status: number
382100
+ result_count: number
382101
+ search_status: number
382102
+ login_customer_id: (string | null)
382103
+ }
382104
+
382105
+ export interface PlaygroundLifecycleGetStateInput {
382106
+
382107
+ }
382108
+
382109
+ export interface PlaygroundLifecycleGetStateOutput {
382110
+ blocked: boolean
382111
+ archived: boolean
382112
+ productId: string
382113
+ lastBlockTransition: ({
382114
+ eventId: string
382115
+ eventName: string
382116
+ productId: string
382117
+ occurredAt: string
382118
+ recordedAt: string
382119
+ receiptCount: number
382120
+ organizationId: string
382121
+ cascadedFromOrg: boolean
382122
+ } | null)
382123
+ lastArchiveTransition: ({
382124
+ eventId: string
382125
+ eventName: string
382126
+ productId: string
382127
+ occurredAt: string
382128
+ recordedAt: string
382129
+ receiptCount: number
382130
+ organizationId: string
382131
+ cascadedFromOrg: boolean
382132
+ } | null)
382133
+ }
382134
+
382135
+ export interface PlaygroundLifecycleListEventsInput {
382136
+
382137
+ }
382138
+
382139
+ export type PlaygroundLifecycleListEventsOutput = {
382140
+ eventId: string
382141
+ eventName: string
382142
+ productId: string
382143
+ occurredAt: string
382144
+ recordedAt: string
382145
+ receiptCount: number
382146
+ organizationId: string
382147
+ cascadedFromOrg: boolean
382148
+ }[]
382149
+
382150
+ export interface PlaygroundWebhookGetLastInput {
382151
+
382152
+ }
382153
+
382154
+ export type PlaygroundWebhookGetLastOutput = ({
382155
+ payload?: unknown
382156
+ event_id: string
382157
+ provider: string
382158
+ verified: boolean
382159
+ product_id: string
382160
+ occurred_at: string
382161
+ connector_id: string
382162
+ delivery_count: number
382163
+ } | {
382164
+ found: false
382165
+ })
382166
+
382167
+ export interface PlaygroundWorkflowEchoInput {
382168
+ /**
382169
+ * The text to store, 1–1024 characters
382170
+ */
382171
+ note: string
382172
+ /**
382173
+ * Optional labels stored alongside the note, at most 20
382174
+ *
382175
+ * @maxItems 20
382176
+ */
382177
+ 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]
382178
+ }
382179
+
382180
+ export interface PlaygroundWorkflowEchoOutput {
382181
+ /**
382182
+ * Identifier of the stored echo
382183
+ */
382184
+ id: string
382185
+ /**
382186
+ * The note exactly as it was received
382187
+ */
382188
+ note: string
382189
+ /**
382190
+ * The tags exactly as they were received
382191
+ */
382192
+ tags: string[]
382193
+ /**
382194
+ * 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.
382195
+ */
382196
+ echo_id: string
382197
+ /**
382198
+ * ISO-8601 instant (UTC) at which the echo was stored
382199
+ */
382200
+ received_at: string
382201
+ }
382202
+
382203
+ export interface PlaygroundWorkflowEchoListInput {
382204
+
382205
+ }
382206
+
382207
+ export type PlaygroundWorkflowEchoListOutput = {
382208
+ /**
382209
+ * Identifier of the stored echo
382210
+ */
382211
+ id: string
382212
+ /**
382213
+ * The note exactly as it was received
382214
+ */
382215
+ note: string
382216
+ /**
382217
+ * The tags exactly as they were received
382218
+ */
382219
+ tags: string[]
382220
+ /**
382221
+ * ISO-8601 instant (UTC) at which the echo was stored
382222
+ */
382223
+ received_at: string
382224
+ }[]
382225
+
382226
+ export interface PlaygroundWorkflowPingInput {
382227
+ /**
382228
+ * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
382229
+ */
382230
+ kind?: string
382231
+ }
382232
+
382233
+ export interface PlaygroundWorkflowPingOutput {
382234
+ /**
382235
+ * 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.
382236
+ */
382237
+ id: string
382238
+ /**
382239
+ * The name of the event that was published
382240
+ */
382241
+ event: string
382242
+ }
382243
+
382244
+ export interface PlaygroundWorkflowSubjectsListInput {
382245
+ /**
382246
+ * How many subjects to return, 1–100. Defaults to 25.
382247
+ */
382248
+ limit?: number
382249
+ /**
382250
+ * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
382251
+ */
382252
+ cursor?: string
382253
+ /**
382254
+ * 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.
382255
+ */
382256
+ last_activity_after?: string
382257
+ /**
382258
+ * 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.
382259
+ */
382260
+ last_activity_before?: string
382261
+ }
382262
+
382263
+ export interface PlaygroundWorkflowSubjectsListOutput {
382264
+ /**
382265
+ * This page of subjects, most recently active first
382266
+ */
382267
+ items: {
382268
+ /**
382269
+ * 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.
382270
+ */
382271
+ subject_key: string
382272
+ /**
382273
+ * Human-readable name of the subject
382274
+ */
382275
+ display_name: string
382276
+ /**
382277
+ * ISO-8601 instant (UTC) of the subject last activity
382278
+ */
382279
+ last_activity_at: string
382280
+ }[]
382281
+ /**
382282
+ * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
382283
+ */
382284
+ has_more: boolean
382285
+ /**
382286
+ * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
382287
+ */
382288
+ next_cursor: (string | null)
382289
+ }
382290
+
382291
+ export interface PlaygroundWsEchoInput {
382292
+
382293
+ }
382294
+
382295
+ export type PlaygroundWsEchoOutput = unknown;
382296
+
381880
382297
  export interface RealtimeArchiveExportInput {
381881
382298
  /**
381882
382299
  * Only entries with ts <= to_ts (epoch ms)