@lepsto/sdk-app 89.2.0 → 89.3.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 -15
- 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 +348 -14
- package/dist/chunk-IWBH5QNX.js +11406 -0
- package/dist/chunk-IWBH5QNX.js.map +1 -0
- package/dist/index.cjs +231 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +24 -11189
- 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 +218 -3
- package/src/gen/client.gen.ts +71 -0
- package/src/gen/manifest.gen.ts +23 -3
- 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 +394 -14
|
@@ -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
|
@@ -90576,6 +90576,378 @@ export interface OrganizationYoutubeInstallOutput {
|
|
|
90576
90576
|
url: string
|
|
90577
90577
|
}
|
|
90578
90578
|
|
|
90579
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
90580
|
+
/**
|
|
90581
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
90582
|
+
*/
|
|
90583
|
+
limit?: number
|
|
90584
|
+
}
|
|
90585
|
+
|
|
90586
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
90587
|
+
ok: boolean
|
|
90588
|
+
minted: boolean
|
|
90589
|
+
overview?: unknown
|
|
90590
|
+
http_status: number
|
|
90591
|
+
}
|
|
90592
|
+
|
|
90593
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
90594
|
+
|
|
90595
|
+
}
|
|
90596
|
+
|
|
90597
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
90598
|
+
ok: boolean
|
|
90599
|
+
minted: boolean
|
|
90600
|
+
http_status: number
|
|
90601
|
+
entitlements?: unknown
|
|
90602
|
+
}
|
|
90603
|
+
|
|
90604
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
90605
|
+
/**
|
|
90606
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
90607
|
+
*/
|
|
90608
|
+
value?: number
|
|
90609
|
+
}
|
|
90610
|
+
|
|
90611
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
90612
|
+
minted: boolean
|
|
90613
|
+
accepted: (number | null)
|
|
90614
|
+
recorded: boolean
|
|
90615
|
+
duplicates: (number | null)
|
|
90616
|
+
http_status: number
|
|
90617
|
+
}
|
|
90618
|
+
|
|
90619
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
90620
|
+
/**
|
|
90621
|
+
* Task title; defaults to a fixture label
|
|
90622
|
+
*/
|
|
90623
|
+
name?: string
|
|
90624
|
+
/**
|
|
90625
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
90626
|
+
*/
|
|
90627
|
+
listId?: string
|
|
90628
|
+
}
|
|
90629
|
+
|
|
90630
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
90631
|
+
minted: boolean
|
|
90632
|
+
task_id: (string | null)
|
|
90633
|
+
list_status: number
|
|
90634
|
+
vend_status: number
|
|
90635
|
+
clickup_status: number
|
|
90636
|
+
installation_count: number
|
|
90637
|
+
}
|
|
90638
|
+
|
|
90639
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
90640
|
+
|
|
90641
|
+
}
|
|
90642
|
+
|
|
90643
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
90644
|
+
payload: string
|
|
90645
|
+
event_id: string
|
|
90646
|
+
provider: string
|
|
90647
|
+
verified: boolean
|
|
90648
|
+
product_id: string
|
|
90649
|
+
occurred_at: string
|
|
90650
|
+
connector_id: string
|
|
90651
|
+
clickup_event: (string | null)
|
|
90652
|
+
receipt_count: number
|
|
90653
|
+
} | {
|
|
90654
|
+
found: false
|
|
90655
|
+
})
|
|
90656
|
+
|
|
90657
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
90658
|
+
|
|
90659
|
+
}
|
|
90660
|
+
|
|
90661
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
90662
|
+
team: ({
|
|
90663
|
+
teamId: string
|
|
90664
|
+
teamName: string
|
|
90665
|
+
} | null)
|
|
90666
|
+
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
90667
|
+
tasks: {
|
|
90668
|
+
id: string
|
|
90669
|
+
name: string
|
|
90670
|
+
status: (string | null)
|
|
90671
|
+
}[]
|
|
90672
|
+
minted: boolean
|
|
90673
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
90674
|
+
list_status: number
|
|
90675
|
+
vend_status: number
|
|
90676
|
+
lists_status: number
|
|
90677
|
+
tasks_status: number
|
|
90678
|
+
spaces_status: number
|
|
90679
|
+
folders_status: number
|
|
90680
|
+
installation_count: number
|
|
90681
|
+
}
|
|
90682
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
90683
|
+
id: string
|
|
90684
|
+
name: string
|
|
90685
|
+
}
|
|
90686
|
+
|
|
90687
|
+
export interface PlaygroundEchoPingInput {
|
|
90688
|
+
/**
|
|
90689
|
+
* The text to echo back, 1–1024 characters
|
|
90690
|
+
*/
|
|
90691
|
+
message: string
|
|
90692
|
+
}
|
|
90693
|
+
|
|
90694
|
+
export interface PlaygroundEchoPingOutput {
|
|
90695
|
+
/**
|
|
90696
|
+
* The message exactly as it was received
|
|
90697
|
+
*/
|
|
90698
|
+
message: string
|
|
90699
|
+
/**
|
|
90700
|
+
* The product the call was resolved to
|
|
90701
|
+
*/
|
|
90702
|
+
productId: string
|
|
90703
|
+
/**
|
|
90704
|
+
* ISO-8601 instant (UTC) at which the call reached the service
|
|
90705
|
+
*/
|
|
90706
|
+
receivedAt: string
|
|
90707
|
+
}
|
|
90708
|
+
|
|
90709
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
90710
|
+
|
|
90711
|
+
}
|
|
90712
|
+
|
|
90713
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
90714
|
+
file_id: string
|
|
90715
|
+
removed: boolean
|
|
90716
|
+
file_name: (string | null)
|
|
90717
|
+
mime_type: (string | null)
|
|
90718
|
+
product_id: string
|
|
90719
|
+
occurred_at: string
|
|
90720
|
+
connector_id: string
|
|
90721
|
+
resource_state: string
|
|
90722
|
+
} | {
|
|
90723
|
+
found: false
|
|
90724
|
+
})
|
|
90725
|
+
|
|
90726
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
90727
|
+
/**
|
|
90728
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
90729
|
+
*/
|
|
90730
|
+
fileId?: string
|
|
90731
|
+
}
|
|
90732
|
+
|
|
90733
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
90734
|
+
minted: boolean
|
|
90735
|
+
file_id: (string | null)
|
|
90736
|
+
file_name: (string | null)
|
|
90737
|
+
mime_type: (string | null)
|
|
90738
|
+
file_count: number
|
|
90739
|
+
get_status: number
|
|
90740
|
+
list_status: number
|
|
90741
|
+
vend_status: number
|
|
90742
|
+
content_bytes: (number | null)
|
|
90743
|
+
}
|
|
90744
|
+
|
|
90745
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
90746
|
+
|
|
90747
|
+
}
|
|
90748
|
+
|
|
90749
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
90750
|
+
minted: boolean
|
|
90751
|
+
vended: boolean
|
|
90752
|
+
customer_id: (string | null)
|
|
90753
|
+
vend_status: number
|
|
90754
|
+
result_count: number
|
|
90755
|
+
search_status: number
|
|
90756
|
+
login_customer_id: (string | null)
|
|
90757
|
+
}
|
|
90758
|
+
|
|
90759
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
90760
|
+
|
|
90761
|
+
}
|
|
90762
|
+
|
|
90763
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
90764
|
+
blocked: boolean
|
|
90765
|
+
archived: boolean
|
|
90766
|
+
productId: string
|
|
90767
|
+
lastBlockTransition: ({
|
|
90768
|
+
eventId: string
|
|
90769
|
+
eventName: string
|
|
90770
|
+
productId: string
|
|
90771
|
+
occurredAt: string
|
|
90772
|
+
recordedAt: string
|
|
90773
|
+
receiptCount: number
|
|
90774
|
+
organizationId: string
|
|
90775
|
+
cascadedFromOrg: boolean
|
|
90776
|
+
} | null)
|
|
90777
|
+
lastArchiveTransition: ({
|
|
90778
|
+
eventId: string
|
|
90779
|
+
eventName: string
|
|
90780
|
+
productId: string
|
|
90781
|
+
occurredAt: string
|
|
90782
|
+
recordedAt: string
|
|
90783
|
+
receiptCount: number
|
|
90784
|
+
organizationId: string
|
|
90785
|
+
cascadedFromOrg: boolean
|
|
90786
|
+
} | null)
|
|
90787
|
+
}
|
|
90788
|
+
|
|
90789
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
90790
|
+
|
|
90791
|
+
}
|
|
90792
|
+
|
|
90793
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
90794
|
+
eventId: string
|
|
90795
|
+
eventName: string
|
|
90796
|
+
productId: string
|
|
90797
|
+
occurredAt: string
|
|
90798
|
+
recordedAt: string
|
|
90799
|
+
receiptCount: number
|
|
90800
|
+
organizationId: string
|
|
90801
|
+
cascadedFromOrg: boolean
|
|
90802
|
+
}[]
|
|
90803
|
+
|
|
90804
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
90805
|
+
|
|
90806
|
+
}
|
|
90807
|
+
|
|
90808
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
90809
|
+
payload?: unknown
|
|
90810
|
+
event_id: string
|
|
90811
|
+
provider: string
|
|
90812
|
+
verified: boolean
|
|
90813
|
+
product_id: string
|
|
90814
|
+
occurred_at: string
|
|
90815
|
+
connector_id: string
|
|
90816
|
+
delivery_count: number
|
|
90817
|
+
} | {
|
|
90818
|
+
found: false
|
|
90819
|
+
})
|
|
90820
|
+
|
|
90821
|
+
export interface PlaygroundWorkflowEchoInput {
|
|
90822
|
+
/**
|
|
90823
|
+
* The text to store, 1–1024 characters
|
|
90824
|
+
*/
|
|
90825
|
+
note: string
|
|
90826
|
+
/**
|
|
90827
|
+
* Optional labels stored alongside the note, at most 20
|
|
90828
|
+
*
|
|
90829
|
+
* @maxItems 20
|
|
90830
|
+
*/
|
|
90831
|
+
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]
|
|
90832
|
+
}
|
|
90833
|
+
|
|
90834
|
+
export interface PlaygroundWorkflowEchoOutput {
|
|
90835
|
+
/**
|
|
90836
|
+
* Identifier of the stored echo
|
|
90837
|
+
*/
|
|
90838
|
+
id: string
|
|
90839
|
+
/**
|
|
90840
|
+
* The note exactly as it was received
|
|
90841
|
+
*/
|
|
90842
|
+
note: string
|
|
90843
|
+
/**
|
|
90844
|
+
* The tags exactly as they were received
|
|
90845
|
+
*/
|
|
90846
|
+
tags: string[]
|
|
90847
|
+
/**
|
|
90848
|
+
* 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.
|
|
90849
|
+
*/
|
|
90850
|
+
echo_id: string
|
|
90851
|
+
/**
|
|
90852
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
90853
|
+
*/
|
|
90854
|
+
received_at: string
|
|
90855
|
+
}
|
|
90856
|
+
|
|
90857
|
+
export interface PlaygroundWorkflowEchoListInput {
|
|
90858
|
+
|
|
90859
|
+
}
|
|
90860
|
+
|
|
90861
|
+
export type PlaygroundWorkflowEchoListOutput = {
|
|
90862
|
+
/**
|
|
90863
|
+
* Identifier of the stored echo
|
|
90864
|
+
*/
|
|
90865
|
+
id: string
|
|
90866
|
+
/**
|
|
90867
|
+
* The note exactly as it was received
|
|
90868
|
+
*/
|
|
90869
|
+
note: string
|
|
90870
|
+
/**
|
|
90871
|
+
* The tags exactly as they were received
|
|
90872
|
+
*/
|
|
90873
|
+
tags: string[]
|
|
90874
|
+
/**
|
|
90875
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
90876
|
+
*/
|
|
90877
|
+
received_at: string
|
|
90878
|
+
}[]
|
|
90879
|
+
|
|
90880
|
+
export interface PlaygroundWorkflowPingInput {
|
|
90881
|
+
/**
|
|
90882
|
+
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
90883
|
+
*/
|
|
90884
|
+
kind?: string
|
|
90885
|
+
}
|
|
90886
|
+
|
|
90887
|
+
export interface PlaygroundWorkflowPingOutput {
|
|
90888
|
+
/**
|
|
90889
|
+
* 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.
|
|
90890
|
+
*/
|
|
90891
|
+
id: string
|
|
90892
|
+
/**
|
|
90893
|
+
* The name of the event that was published
|
|
90894
|
+
*/
|
|
90895
|
+
event: string
|
|
90896
|
+
}
|
|
90897
|
+
|
|
90898
|
+
export interface PlaygroundWorkflowSubjectsListInput {
|
|
90899
|
+
/**
|
|
90900
|
+
* How many subjects to return, 1–100. Defaults to 25.
|
|
90901
|
+
*/
|
|
90902
|
+
limit?: number
|
|
90903
|
+
/**
|
|
90904
|
+
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
90905
|
+
*/
|
|
90906
|
+
cursor?: string
|
|
90907
|
+
/**
|
|
90908
|
+
* 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.
|
|
90909
|
+
*/
|
|
90910
|
+
last_activity_after?: string
|
|
90911
|
+
/**
|
|
90912
|
+
* 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.
|
|
90913
|
+
*/
|
|
90914
|
+
last_activity_before?: string
|
|
90915
|
+
}
|
|
90916
|
+
|
|
90917
|
+
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
90918
|
+
/**
|
|
90919
|
+
* This page of subjects, most recently active first
|
|
90920
|
+
*/
|
|
90921
|
+
items: {
|
|
90922
|
+
/**
|
|
90923
|
+
* 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.
|
|
90924
|
+
*/
|
|
90925
|
+
subject_key: string
|
|
90926
|
+
/**
|
|
90927
|
+
* Human-readable name of the subject
|
|
90928
|
+
*/
|
|
90929
|
+
display_name: string
|
|
90930
|
+
/**
|
|
90931
|
+
* ISO-8601 instant (UTC) of the subject last activity
|
|
90932
|
+
*/
|
|
90933
|
+
last_activity_at: string
|
|
90934
|
+
}[]
|
|
90935
|
+
/**
|
|
90936
|
+
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
90937
|
+
*/
|
|
90938
|
+
has_more: boolean
|
|
90939
|
+
/**
|
|
90940
|
+
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
90941
|
+
*/
|
|
90942
|
+
next_cursor: (string | null)
|
|
90943
|
+
}
|
|
90944
|
+
|
|
90945
|
+
export interface PlaygroundWsEchoInput {
|
|
90946
|
+
|
|
90947
|
+
}
|
|
90948
|
+
|
|
90949
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
90950
|
+
|
|
90579
90951
|
export interface RealtimeArchiveExportInput {
|
|
90580
90952
|
/**
|
|
90581
90953
|
* Only entries with ts <= to_ts (epoch ms)
|
|
@@ -91511,7 +91883,7 @@ avatarUrl?: string
|
|
|
91511
91883
|
*/
|
|
91512
91884
|
displayName: string
|
|
91513
91885
|
/**
|
|
91514
|
-
*
|
|
91886
|
+
* Lepsto identity to bind this profile to, stored verbatim as an opaque string. It is never resolved, validated against the platform or enriched. Omit it for a bot or a backend profile. At most one agent per product may claim a given Lepsto user
|
|
91515
91887
|
*/
|
|
91516
91888
|
lesslyUserId?: string
|
|
91517
91889
|
}
|
|
@@ -91546,7 +91918,7 @@ updatedAt: string
|
|
|
91546
91918
|
*/
|
|
91547
91919
|
displayName: string
|
|
91548
91920
|
/**
|
|
91549
|
-
* Bound
|
|
91921
|
+
* Bound Lepsto identity, stored verbatim and resolved by nobody. Null for an unbound profile — a bot or the client's own backend, which replies just like anyone else
|
|
91550
91922
|
*/
|
|
91551
91923
|
lesslyUserId: (string | null)
|
|
91552
91924
|
}
|
|
@@ -91588,7 +91960,7 @@ updatedAt: string
|
|
|
91588
91960
|
*/
|
|
91589
91961
|
displayName: string
|
|
91590
91962
|
/**
|
|
91591
|
-
* Bound
|
|
91963
|
+
* Bound Lepsto identity, stored verbatim and resolved by nobody. Null for an unbound profile — a bot or the client's own backend, which replies just like anyone else
|
|
91592
91964
|
*/
|
|
91593
91965
|
lesslyUserId: (string | null)
|
|
91594
91966
|
}
|
|
@@ -91634,7 +92006,7 @@ updatedAt: string
|
|
|
91634
92006
|
*/
|
|
91635
92007
|
displayName: string
|
|
91636
92008
|
/**
|
|
91637
|
-
* Bound
|
|
92009
|
+
* Bound Lepsto identity, stored verbatim and resolved by nobody. Null for an unbound profile — a bot or the client's own backend, which replies just like anyone else
|
|
91638
92010
|
*/
|
|
91639
92011
|
lesslyUserId: (string | null)
|
|
91640
92012
|
}[]
|
|
@@ -91662,7 +92034,7 @@ avatarUrl?: (string | null)
|
|
|
91662
92034
|
*/
|
|
91663
92035
|
displayName?: string
|
|
91664
92036
|
/**
|
|
91665
|
-
*
|
|
92037
|
+
* Lepsto identity to bind, or null to unbind. Stored verbatim, resolved by nobody
|
|
91666
92038
|
*/
|
|
91667
92039
|
lesslyUserId?: (string | null)
|
|
91668
92040
|
}
|
|
@@ -91697,7 +92069,7 @@ updatedAt: string
|
|
|
91697
92069
|
*/
|
|
91698
92070
|
displayName: string
|
|
91699
92071
|
/**
|
|
91700
|
-
* Bound
|
|
92072
|
+
* Bound Lepsto identity, stored verbatim and resolved by nobody. Null for an unbound profile — a bot or the client's own backend, which replies just like anyone else
|
|
91701
92073
|
*/
|
|
91702
92074
|
lesslyUserId: (string | null)
|
|
91703
92075
|
}
|
|
@@ -92022,7 +92394,7 @@ attachmentCount: number
|
|
|
92022
92394
|
*/
|
|
92023
92395
|
authorExternalId: (string | null)
|
|
92024
92396
|
/**
|
|
92025
|
-
* The
|
|
92397
|
+
* The Lepsto identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
|
|
92026
92398
|
*/
|
|
92027
92399
|
createdByIdentityId: (string | null)
|
|
92028
92400
|
}
|
|
@@ -92113,7 +92485,7 @@ attachmentCount: number
|
|
|
92113
92485
|
*/
|
|
92114
92486
|
authorExternalId: (string | null)
|
|
92115
92487
|
/**
|
|
92116
|
-
* The
|
|
92488
|
+
* The Lepsto identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
|
|
92117
92489
|
*/
|
|
92118
92490
|
createdByIdentityId: (string | null)
|
|
92119
92491
|
}
|
|
@@ -92204,7 +92576,7 @@ attachmentCount: number
|
|
|
92204
92576
|
*/
|
|
92205
92577
|
authorExternalId: (string | null)
|
|
92206
92578
|
/**
|
|
92207
|
-
* The
|
|
92579
|
+
* The Lepsto identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
|
|
92208
92580
|
*/
|
|
92209
92581
|
createdByIdentityId: (string | null)
|
|
92210
92582
|
}
|
|
@@ -92295,7 +92667,7 @@ attachmentCount: number
|
|
|
92295
92667
|
*/
|
|
92296
92668
|
authorExternalId: (string | null)
|
|
92297
92669
|
/**
|
|
92298
|
-
* The
|
|
92670
|
+
* The Lepsto identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
|
|
92299
92671
|
*/
|
|
92300
92672
|
createdByIdentityId: (string | null)
|
|
92301
92673
|
}
|
|
@@ -92422,7 +92794,7 @@ attachmentCount: number
|
|
|
92422
92794
|
*/
|
|
92423
92795
|
authorExternalId: (string | null)
|
|
92424
92796
|
/**
|
|
92425
|
-
* The
|
|
92797
|
+
* The Lepsto identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
|
|
92426
92798
|
*/
|
|
92427
92799
|
createdByIdentityId: (string | null)
|
|
92428
92800
|
}[]
|
|
@@ -92461,7 +92833,7 @@ createdAt: string
|
|
|
92461
92833
|
*/
|
|
92462
92834
|
messageId: string
|
|
92463
92835
|
/**
|
|
92464
|
-
* The
|
|
92836
|
+
* The Lepsto identity that made the edit
|
|
92465
92837
|
*/
|
|
92466
92838
|
editedByIdentityId: (string | null)
|
|
92467
92839
|
}[]
|
|
@@ -92557,7 +92929,7 @@ attachmentCount: number
|
|
|
92557
92929
|
*/
|
|
92558
92930
|
authorExternalId: (string | null)
|
|
92559
92931
|
/**
|
|
92560
|
-
* The
|
|
92932
|
+
* The Lepsto identity that posted the message — the one allowed to edit or delete it. Null for a message from the public edge or from before authorship was recorded: nobody owns those, and only support_message_delete_any removes them
|
|
92561
92933
|
*/
|
|
92562
92934
|
createdByIdentityId: (string | null)
|
|
92563
92935
|
}
|
|
@@ -111163,7 +111535,7 @@ metadata?: {
|
|
|
111163
111535
|
*/
|
|
111164
111536
|
authorDisplay?: string
|
|
111165
111537
|
/**
|
|
111166
|
-
* Opaque identifier of the external end user in the client's own user base. Stored verbatim: never resolved, normalised or enriched, and it is not a
|
|
111538
|
+
* Opaque identifier of the external end user in the client's own user base. Stored verbatim: never resolved, normalised or enriched, and it is not a Lepsto identity
|
|
111167
111539
|
*/
|
|
111168
111540
|
authorExternalId: string
|
|
111169
111541
|
}
|
|
@@ -118908,6 +119280,10 @@ export interface WorkflowConfigListOutput {
|
|
|
118908
119280
|
items: {
|
|
118909
119281
|
key: string
|
|
118910
119282
|
is_secret: boolean
|
|
119283
|
+
/**
|
|
119284
|
+
* Present when the key still resolves but no longer does anything. Its value is kept; nothing reads it.
|
|
119285
|
+
*/
|
|
119286
|
+
deprecated?: true
|
|
118911
119287
|
updated_at: string
|
|
118912
119288
|
}[]
|
|
118913
119289
|
next_cursor: (string | null)
|
|
@@ -118931,6 +119307,10 @@ secret: boolean
|
|
|
118931
119307
|
export interface WorkflowConfigSetOutput {
|
|
118932
119308
|
key: string
|
|
118933
119309
|
is_secret: boolean
|
|
119310
|
+
/**
|
|
119311
|
+
* Present when the key still resolves but no longer does anything. Its value is kept; nothing reads it.
|
|
119312
|
+
*/
|
|
119313
|
+
deprecated?: true
|
|
118934
119314
|
updated_at: string
|
|
118935
119315
|
}
|
|
118936
119316
|
|