@lessly/sdk-app 99.6.0 → 99.7.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 +6 -45
- 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 +338 -0
- package/dist/chunk-AUAST275.js +11946 -0
- package/dist/chunk-AUAST275.js.map +1 -0
- package/dist/index.cjs +224 -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 +213 -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 +384 -0
|
@@ -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
|
+
});
|
package/src/gen/types.gen.ts
CHANGED
|
@@ -105801,6 +105801,378 @@ export interface OrganizationYoutubeInstallOutput {
|
|
|
105801
105801
|
url: string
|
|
105802
105802
|
}
|
|
105803
105803
|
|
|
105804
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
105805
|
+
/**
|
|
105806
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
105807
|
+
*/
|
|
105808
|
+
limit?: number
|
|
105809
|
+
}
|
|
105810
|
+
|
|
105811
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
105812
|
+
ok: boolean
|
|
105813
|
+
minted: boolean
|
|
105814
|
+
overview?: unknown
|
|
105815
|
+
http_status: number
|
|
105816
|
+
}
|
|
105817
|
+
|
|
105818
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
105819
|
+
|
|
105820
|
+
}
|
|
105821
|
+
|
|
105822
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
105823
|
+
ok: boolean
|
|
105824
|
+
minted: boolean
|
|
105825
|
+
http_status: number
|
|
105826
|
+
entitlements?: unknown
|
|
105827
|
+
}
|
|
105828
|
+
|
|
105829
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
105830
|
+
/**
|
|
105831
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
105832
|
+
*/
|
|
105833
|
+
value?: number
|
|
105834
|
+
}
|
|
105835
|
+
|
|
105836
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
105837
|
+
minted: boolean
|
|
105838
|
+
accepted: (number | null)
|
|
105839
|
+
recorded: boolean
|
|
105840
|
+
duplicates: (number | null)
|
|
105841
|
+
http_status: number
|
|
105842
|
+
}
|
|
105843
|
+
|
|
105844
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
105845
|
+
/**
|
|
105846
|
+
* Task title; defaults to a fixture label
|
|
105847
|
+
*/
|
|
105848
|
+
name?: string
|
|
105849
|
+
/**
|
|
105850
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
105851
|
+
*/
|
|
105852
|
+
listId?: string
|
|
105853
|
+
}
|
|
105854
|
+
|
|
105855
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
105856
|
+
minted: boolean
|
|
105857
|
+
task_id: (string | null)
|
|
105858
|
+
list_status: number
|
|
105859
|
+
vend_status: number
|
|
105860
|
+
clickup_status: number
|
|
105861
|
+
installation_count: number
|
|
105862
|
+
}
|
|
105863
|
+
|
|
105864
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
105865
|
+
|
|
105866
|
+
}
|
|
105867
|
+
|
|
105868
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
105869
|
+
payload: string
|
|
105870
|
+
event_id: string
|
|
105871
|
+
provider: string
|
|
105872
|
+
verified: boolean
|
|
105873
|
+
product_id: string
|
|
105874
|
+
occurred_at: string
|
|
105875
|
+
connector_id: string
|
|
105876
|
+
clickup_event: (string | null)
|
|
105877
|
+
receipt_count: number
|
|
105878
|
+
} | {
|
|
105879
|
+
found: false
|
|
105880
|
+
})
|
|
105881
|
+
|
|
105882
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
105883
|
+
|
|
105884
|
+
}
|
|
105885
|
+
|
|
105886
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
105887
|
+
team: ({
|
|
105888
|
+
teamId: string
|
|
105889
|
+
teamName: string
|
|
105890
|
+
} | null)
|
|
105891
|
+
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
105892
|
+
tasks: {
|
|
105893
|
+
id: string
|
|
105894
|
+
name: string
|
|
105895
|
+
status: (string | null)
|
|
105896
|
+
}[]
|
|
105897
|
+
minted: boolean
|
|
105898
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
105899
|
+
list_status: number
|
|
105900
|
+
vend_status: number
|
|
105901
|
+
lists_status: number
|
|
105902
|
+
tasks_status: number
|
|
105903
|
+
spaces_status: number
|
|
105904
|
+
folders_status: number
|
|
105905
|
+
installation_count: number
|
|
105906
|
+
}
|
|
105907
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
105908
|
+
id: string
|
|
105909
|
+
name: string
|
|
105910
|
+
}
|
|
105911
|
+
|
|
105912
|
+
export interface PlaygroundEchoPingInput {
|
|
105913
|
+
/**
|
|
105914
|
+
* The text to echo back, 1–1024 characters
|
|
105915
|
+
*/
|
|
105916
|
+
message: string
|
|
105917
|
+
}
|
|
105918
|
+
|
|
105919
|
+
export interface PlaygroundEchoPingOutput {
|
|
105920
|
+
/**
|
|
105921
|
+
* The message exactly as it was received
|
|
105922
|
+
*/
|
|
105923
|
+
message: string
|
|
105924
|
+
/**
|
|
105925
|
+
* The product the call was resolved to
|
|
105926
|
+
*/
|
|
105927
|
+
productId: string
|
|
105928
|
+
/**
|
|
105929
|
+
* ISO-8601 instant (UTC) at which the call reached the service
|
|
105930
|
+
*/
|
|
105931
|
+
receivedAt: string
|
|
105932
|
+
}
|
|
105933
|
+
|
|
105934
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
105935
|
+
|
|
105936
|
+
}
|
|
105937
|
+
|
|
105938
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
105939
|
+
file_id: string
|
|
105940
|
+
removed: boolean
|
|
105941
|
+
file_name: (string | null)
|
|
105942
|
+
mime_type: (string | null)
|
|
105943
|
+
product_id: string
|
|
105944
|
+
occurred_at: string
|
|
105945
|
+
connector_id: string
|
|
105946
|
+
resource_state: string
|
|
105947
|
+
} | {
|
|
105948
|
+
found: false
|
|
105949
|
+
})
|
|
105950
|
+
|
|
105951
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
105952
|
+
/**
|
|
105953
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
105954
|
+
*/
|
|
105955
|
+
fileId?: string
|
|
105956
|
+
}
|
|
105957
|
+
|
|
105958
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
105959
|
+
minted: boolean
|
|
105960
|
+
file_id: (string | null)
|
|
105961
|
+
file_name: (string | null)
|
|
105962
|
+
mime_type: (string | null)
|
|
105963
|
+
file_count: number
|
|
105964
|
+
get_status: number
|
|
105965
|
+
list_status: number
|
|
105966
|
+
vend_status: number
|
|
105967
|
+
content_bytes: (number | null)
|
|
105968
|
+
}
|
|
105969
|
+
|
|
105970
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
105971
|
+
|
|
105972
|
+
}
|
|
105973
|
+
|
|
105974
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
105975
|
+
minted: boolean
|
|
105976
|
+
vended: boolean
|
|
105977
|
+
customer_id: (string | null)
|
|
105978
|
+
vend_status: number
|
|
105979
|
+
result_count: number
|
|
105980
|
+
search_status: number
|
|
105981
|
+
login_customer_id: (string | null)
|
|
105982
|
+
}
|
|
105983
|
+
|
|
105984
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
105985
|
+
|
|
105986
|
+
}
|
|
105987
|
+
|
|
105988
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
105989
|
+
blocked: boolean
|
|
105990
|
+
archived: boolean
|
|
105991
|
+
productId: string
|
|
105992
|
+
lastBlockTransition: ({
|
|
105993
|
+
eventId: string
|
|
105994
|
+
eventName: string
|
|
105995
|
+
productId: string
|
|
105996
|
+
occurredAt: string
|
|
105997
|
+
recordedAt: string
|
|
105998
|
+
receiptCount: number
|
|
105999
|
+
organizationId: string
|
|
106000
|
+
cascadedFromOrg: boolean
|
|
106001
|
+
} | null)
|
|
106002
|
+
lastArchiveTransition: ({
|
|
106003
|
+
eventId: string
|
|
106004
|
+
eventName: string
|
|
106005
|
+
productId: string
|
|
106006
|
+
occurredAt: string
|
|
106007
|
+
recordedAt: string
|
|
106008
|
+
receiptCount: number
|
|
106009
|
+
organizationId: string
|
|
106010
|
+
cascadedFromOrg: boolean
|
|
106011
|
+
} | null)
|
|
106012
|
+
}
|
|
106013
|
+
|
|
106014
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
106015
|
+
|
|
106016
|
+
}
|
|
106017
|
+
|
|
106018
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
106019
|
+
eventId: string
|
|
106020
|
+
eventName: string
|
|
106021
|
+
productId: string
|
|
106022
|
+
occurredAt: string
|
|
106023
|
+
recordedAt: string
|
|
106024
|
+
receiptCount: number
|
|
106025
|
+
organizationId: string
|
|
106026
|
+
cascadedFromOrg: boolean
|
|
106027
|
+
}[]
|
|
106028
|
+
|
|
106029
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
106030
|
+
|
|
106031
|
+
}
|
|
106032
|
+
|
|
106033
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
106034
|
+
payload?: unknown
|
|
106035
|
+
event_id: string
|
|
106036
|
+
provider: string
|
|
106037
|
+
verified: boolean
|
|
106038
|
+
product_id: string
|
|
106039
|
+
occurred_at: string
|
|
106040
|
+
connector_id: string
|
|
106041
|
+
delivery_count: number
|
|
106042
|
+
} | {
|
|
106043
|
+
found: false
|
|
106044
|
+
})
|
|
106045
|
+
|
|
106046
|
+
export interface PlaygroundWorkflowEchoInput {
|
|
106047
|
+
/**
|
|
106048
|
+
* The text to store, 1–1024 characters
|
|
106049
|
+
*/
|
|
106050
|
+
note: string
|
|
106051
|
+
/**
|
|
106052
|
+
* Optional labels stored alongside the note, at most 20
|
|
106053
|
+
*
|
|
106054
|
+
* @maxItems 20
|
|
106055
|
+
*/
|
|
106056
|
+
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]
|
|
106057
|
+
}
|
|
106058
|
+
|
|
106059
|
+
export interface PlaygroundWorkflowEchoOutput {
|
|
106060
|
+
/**
|
|
106061
|
+
* Identifier of the stored echo
|
|
106062
|
+
*/
|
|
106063
|
+
id: string
|
|
106064
|
+
/**
|
|
106065
|
+
* The note exactly as it was received
|
|
106066
|
+
*/
|
|
106067
|
+
note: string
|
|
106068
|
+
/**
|
|
106069
|
+
* The tags exactly as they were received
|
|
106070
|
+
*/
|
|
106071
|
+
tags: string[]
|
|
106072
|
+
/**
|
|
106073
|
+
* 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.
|
|
106074
|
+
*/
|
|
106075
|
+
echo_id: string
|
|
106076
|
+
/**
|
|
106077
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
106078
|
+
*/
|
|
106079
|
+
received_at: string
|
|
106080
|
+
}
|
|
106081
|
+
|
|
106082
|
+
export interface PlaygroundWorkflowEchoListInput {
|
|
106083
|
+
|
|
106084
|
+
}
|
|
106085
|
+
|
|
106086
|
+
export type PlaygroundWorkflowEchoListOutput = {
|
|
106087
|
+
/**
|
|
106088
|
+
* Identifier of the stored echo
|
|
106089
|
+
*/
|
|
106090
|
+
id: string
|
|
106091
|
+
/**
|
|
106092
|
+
* The note exactly as it was received
|
|
106093
|
+
*/
|
|
106094
|
+
note: string
|
|
106095
|
+
/**
|
|
106096
|
+
* The tags exactly as they were received
|
|
106097
|
+
*/
|
|
106098
|
+
tags: string[]
|
|
106099
|
+
/**
|
|
106100
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
106101
|
+
*/
|
|
106102
|
+
received_at: string
|
|
106103
|
+
}[]
|
|
106104
|
+
|
|
106105
|
+
export interface PlaygroundWorkflowPingInput {
|
|
106106
|
+
/**
|
|
106107
|
+
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
106108
|
+
*/
|
|
106109
|
+
kind?: string
|
|
106110
|
+
}
|
|
106111
|
+
|
|
106112
|
+
export interface PlaygroundWorkflowPingOutput {
|
|
106113
|
+
/**
|
|
106114
|
+
* 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.
|
|
106115
|
+
*/
|
|
106116
|
+
id: string
|
|
106117
|
+
/**
|
|
106118
|
+
* The name of the event that was published
|
|
106119
|
+
*/
|
|
106120
|
+
event: string
|
|
106121
|
+
}
|
|
106122
|
+
|
|
106123
|
+
export interface PlaygroundWorkflowSubjectsListInput {
|
|
106124
|
+
/**
|
|
106125
|
+
* How many subjects to return, 1–100. Defaults to 25.
|
|
106126
|
+
*/
|
|
106127
|
+
limit?: number
|
|
106128
|
+
/**
|
|
106129
|
+
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
106130
|
+
*/
|
|
106131
|
+
cursor?: string
|
|
106132
|
+
/**
|
|
106133
|
+
* 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.
|
|
106134
|
+
*/
|
|
106135
|
+
last_activity_after?: string
|
|
106136
|
+
/**
|
|
106137
|
+
* 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.
|
|
106138
|
+
*/
|
|
106139
|
+
last_activity_before?: string
|
|
106140
|
+
}
|
|
106141
|
+
|
|
106142
|
+
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
106143
|
+
/**
|
|
106144
|
+
* This page of subjects, most recently active first
|
|
106145
|
+
*/
|
|
106146
|
+
items: {
|
|
106147
|
+
/**
|
|
106148
|
+
* 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.
|
|
106149
|
+
*/
|
|
106150
|
+
subject_key: string
|
|
106151
|
+
/**
|
|
106152
|
+
* Human-readable name of the subject
|
|
106153
|
+
*/
|
|
106154
|
+
display_name: string
|
|
106155
|
+
/**
|
|
106156
|
+
* ISO-8601 instant (UTC) of the subject last activity
|
|
106157
|
+
*/
|
|
106158
|
+
last_activity_at: string
|
|
106159
|
+
}[]
|
|
106160
|
+
/**
|
|
106161
|
+
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
106162
|
+
*/
|
|
106163
|
+
has_more: boolean
|
|
106164
|
+
/**
|
|
106165
|
+
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
106166
|
+
*/
|
|
106167
|
+
next_cursor: (string | null)
|
|
106168
|
+
}
|
|
106169
|
+
|
|
106170
|
+
export interface PlaygroundWsEchoInput {
|
|
106171
|
+
|
|
106172
|
+
}
|
|
106173
|
+
|
|
106174
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
106175
|
+
|
|
105804
106176
|
export interface RealtimeArchiveExportInput {
|
|
105805
106177
|
/**
|
|
105806
106178
|
* Only entries with ts <= to_ts (epoch ms)
|
|
@@ -130463,6 +130835,10 @@ resendDailyCap: number
|
|
|
130463
130835
|
* Wrong-code entries allowed per token before it is spent. Default 5.
|
|
130464
130836
|
*/
|
|
130465
130837
|
maxCodeAttempts: number
|
|
130838
|
+
/**
|
|
130839
|
+
* Require a verified email before any session is issued. While true, a user whose primary email is unverified gets no session from a password, OAuth or passkey sign-in (or a password sign-up): the flow emails a confirmation code and answers `needs_first_factor` with `strategy: "email_code"`, and the sign-in completes once the code is entered. Needs `email.from` set and `email.codeEnabled` true, and is refused otherwise. Turning it on does not end sessions that already exist. Default false.
|
|
130840
|
+
*/
|
|
130841
|
+
requireVerified: boolean
|
|
130466
130842
|
/**
|
|
130467
130843
|
* Minimum seconds between two auth emails to one address. Floor of 60 is enforced regardless. Default 60.
|
|
130468
130844
|
*/
|
|
@@ -130758,6 +131134,10 @@ resendDailyCap?: number
|
|
|
130758
131134
|
* Wrong-code entries allowed per token before it is spent. Default 5.
|
|
130759
131135
|
*/
|
|
130760
131136
|
maxCodeAttempts?: number
|
|
131137
|
+
/**
|
|
131138
|
+
* Require a verified email before any session is issued. While true, a user whose primary email is unverified gets no session from a password, OAuth or passkey sign-in (or a password sign-up): the flow emails a confirmation code and answers `needs_first_factor` with `strategy: "email_code"`, and the sign-in completes once the code is entered. Needs `email.from` set and `email.codeEnabled` true, and is refused otherwise. Turning it on does not end sessions that already exist. Default false.
|
|
131139
|
+
*/
|
|
131140
|
+
requireVerified?: boolean
|
|
130761
131141
|
/**
|
|
130762
131142
|
* Minimum seconds between two auth emails to one address. Floor of 60 is enforced regardless. Default 60.
|
|
130763
131143
|
*/
|
|
@@ -131141,6 +131521,10 @@ resendDailyCap: number
|
|
|
131141
131521
|
* Wrong-code entries allowed per token before it is spent. Default 5.
|
|
131142
131522
|
*/
|
|
131143
131523
|
maxCodeAttempts: number
|
|
131524
|
+
/**
|
|
131525
|
+
* Require a verified email before any session is issued. While true, a user whose primary email is unverified gets no session from a password, OAuth or passkey sign-in (or a password sign-up): the flow emails a confirmation code and answers `needs_first_factor` with `strategy: "email_code"`, and the sign-in completes once the code is entered. Needs `email.from` set and `email.codeEnabled` true, and is refused otherwise. Turning it on does not end sessions that already exist. Default false.
|
|
131526
|
+
*/
|
|
131527
|
+
requireVerified: boolean
|
|
131144
131528
|
/**
|
|
131145
131529
|
* Minimum seconds between two auth emails to one address. Floor of 60 is enforced regardless. Default 60.
|
|
131146
131530
|
*/
|