@lepsto/sdk-app 87.3.0 → 87.3.1
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/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 +340 -14
- package/dist/chunk-EMK3O6JA.js +11397 -0
- package/dist/chunk-EMK3O6JA.js.map +1 -0
- package/dist/index.cjs +231 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +24 -11180
- 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 +386 -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
|
@@ -90532,6 +90532,378 @@ export interface OrganizationYoutubeInstallOutput {
|
|
|
90532
90532
|
url: string
|
|
90533
90533
|
}
|
|
90534
90534
|
|
|
90535
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
90536
|
+
/**
|
|
90537
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
90538
|
+
*/
|
|
90539
|
+
limit?: number
|
|
90540
|
+
}
|
|
90541
|
+
|
|
90542
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
90543
|
+
ok: boolean
|
|
90544
|
+
minted: boolean
|
|
90545
|
+
overview?: unknown
|
|
90546
|
+
http_status: number
|
|
90547
|
+
}
|
|
90548
|
+
|
|
90549
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
90550
|
+
|
|
90551
|
+
}
|
|
90552
|
+
|
|
90553
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
90554
|
+
ok: boolean
|
|
90555
|
+
minted: boolean
|
|
90556
|
+
http_status: number
|
|
90557
|
+
entitlements?: unknown
|
|
90558
|
+
}
|
|
90559
|
+
|
|
90560
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
90561
|
+
/**
|
|
90562
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
90563
|
+
*/
|
|
90564
|
+
value?: number
|
|
90565
|
+
}
|
|
90566
|
+
|
|
90567
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
90568
|
+
minted: boolean
|
|
90569
|
+
accepted: (number | null)
|
|
90570
|
+
recorded: boolean
|
|
90571
|
+
duplicates: (number | null)
|
|
90572
|
+
http_status: number
|
|
90573
|
+
}
|
|
90574
|
+
|
|
90575
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
90576
|
+
/**
|
|
90577
|
+
* Task title; defaults to a fixture label
|
|
90578
|
+
*/
|
|
90579
|
+
name?: string
|
|
90580
|
+
/**
|
|
90581
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
90582
|
+
*/
|
|
90583
|
+
listId?: string
|
|
90584
|
+
}
|
|
90585
|
+
|
|
90586
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
90587
|
+
minted: boolean
|
|
90588
|
+
task_id: (string | null)
|
|
90589
|
+
list_status: number
|
|
90590
|
+
vend_status: number
|
|
90591
|
+
clickup_status: number
|
|
90592
|
+
installation_count: number
|
|
90593
|
+
}
|
|
90594
|
+
|
|
90595
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
90596
|
+
|
|
90597
|
+
}
|
|
90598
|
+
|
|
90599
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
90600
|
+
payload: string
|
|
90601
|
+
event_id: string
|
|
90602
|
+
provider: string
|
|
90603
|
+
verified: boolean
|
|
90604
|
+
product_id: string
|
|
90605
|
+
occurred_at: string
|
|
90606
|
+
connector_id: string
|
|
90607
|
+
clickup_event: (string | null)
|
|
90608
|
+
receipt_count: number
|
|
90609
|
+
} | {
|
|
90610
|
+
found: false
|
|
90611
|
+
})
|
|
90612
|
+
|
|
90613
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
90614
|
+
|
|
90615
|
+
}
|
|
90616
|
+
|
|
90617
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
90618
|
+
team: ({
|
|
90619
|
+
teamId: string
|
|
90620
|
+
teamName: string
|
|
90621
|
+
} | null)
|
|
90622
|
+
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
90623
|
+
tasks: {
|
|
90624
|
+
id: string
|
|
90625
|
+
name: string
|
|
90626
|
+
status: (string | null)
|
|
90627
|
+
}[]
|
|
90628
|
+
minted: boolean
|
|
90629
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
90630
|
+
list_status: number
|
|
90631
|
+
vend_status: number
|
|
90632
|
+
lists_status: number
|
|
90633
|
+
tasks_status: number
|
|
90634
|
+
spaces_status: number
|
|
90635
|
+
folders_status: number
|
|
90636
|
+
installation_count: number
|
|
90637
|
+
}
|
|
90638
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
90639
|
+
id: string
|
|
90640
|
+
name: string
|
|
90641
|
+
}
|
|
90642
|
+
|
|
90643
|
+
export interface PlaygroundEchoPingInput {
|
|
90644
|
+
/**
|
|
90645
|
+
* The text to echo back, 1–1024 characters
|
|
90646
|
+
*/
|
|
90647
|
+
message: string
|
|
90648
|
+
}
|
|
90649
|
+
|
|
90650
|
+
export interface PlaygroundEchoPingOutput {
|
|
90651
|
+
/**
|
|
90652
|
+
* The message exactly as it was received
|
|
90653
|
+
*/
|
|
90654
|
+
message: string
|
|
90655
|
+
/**
|
|
90656
|
+
* The product the call was resolved to
|
|
90657
|
+
*/
|
|
90658
|
+
productId: string
|
|
90659
|
+
/**
|
|
90660
|
+
* ISO-8601 instant (UTC) at which the call reached the service
|
|
90661
|
+
*/
|
|
90662
|
+
receivedAt: string
|
|
90663
|
+
}
|
|
90664
|
+
|
|
90665
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
90666
|
+
|
|
90667
|
+
}
|
|
90668
|
+
|
|
90669
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
90670
|
+
file_id: string
|
|
90671
|
+
removed: boolean
|
|
90672
|
+
file_name: (string | null)
|
|
90673
|
+
mime_type: (string | null)
|
|
90674
|
+
product_id: string
|
|
90675
|
+
occurred_at: string
|
|
90676
|
+
connector_id: string
|
|
90677
|
+
resource_state: string
|
|
90678
|
+
} | {
|
|
90679
|
+
found: false
|
|
90680
|
+
})
|
|
90681
|
+
|
|
90682
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
90683
|
+
/**
|
|
90684
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
90685
|
+
*/
|
|
90686
|
+
fileId?: string
|
|
90687
|
+
}
|
|
90688
|
+
|
|
90689
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
90690
|
+
minted: boolean
|
|
90691
|
+
file_id: (string | null)
|
|
90692
|
+
file_name: (string | null)
|
|
90693
|
+
mime_type: (string | null)
|
|
90694
|
+
file_count: number
|
|
90695
|
+
get_status: number
|
|
90696
|
+
list_status: number
|
|
90697
|
+
vend_status: number
|
|
90698
|
+
content_bytes: (number | null)
|
|
90699
|
+
}
|
|
90700
|
+
|
|
90701
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
90702
|
+
|
|
90703
|
+
}
|
|
90704
|
+
|
|
90705
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
90706
|
+
minted: boolean
|
|
90707
|
+
vended: boolean
|
|
90708
|
+
customer_id: (string | null)
|
|
90709
|
+
vend_status: number
|
|
90710
|
+
result_count: number
|
|
90711
|
+
search_status: number
|
|
90712
|
+
login_customer_id: (string | null)
|
|
90713
|
+
}
|
|
90714
|
+
|
|
90715
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
90716
|
+
|
|
90717
|
+
}
|
|
90718
|
+
|
|
90719
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
90720
|
+
blocked: boolean
|
|
90721
|
+
archived: boolean
|
|
90722
|
+
productId: string
|
|
90723
|
+
lastBlockTransition: ({
|
|
90724
|
+
eventId: string
|
|
90725
|
+
eventName: string
|
|
90726
|
+
productId: string
|
|
90727
|
+
occurredAt: string
|
|
90728
|
+
recordedAt: string
|
|
90729
|
+
receiptCount: number
|
|
90730
|
+
organizationId: string
|
|
90731
|
+
cascadedFromOrg: boolean
|
|
90732
|
+
} | null)
|
|
90733
|
+
lastArchiveTransition: ({
|
|
90734
|
+
eventId: string
|
|
90735
|
+
eventName: string
|
|
90736
|
+
productId: string
|
|
90737
|
+
occurredAt: string
|
|
90738
|
+
recordedAt: string
|
|
90739
|
+
receiptCount: number
|
|
90740
|
+
organizationId: string
|
|
90741
|
+
cascadedFromOrg: boolean
|
|
90742
|
+
} | null)
|
|
90743
|
+
}
|
|
90744
|
+
|
|
90745
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
90746
|
+
|
|
90747
|
+
}
|
|
90748
|
+
|
|
90749
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
90750
|
+
eventId: string
|
|
90751
|
+
eventName: string
|
|
90752
|
+
productId: string
|
|
90753
|
+
occurredAt: string
|
|
90754
|
+
recordedAt: string
|
|
90755
|
+
receiptCount: number
|
|
90756
|
+
organizationId: string
|
|
90757
|
+
cascadedFromOrg: boolean
|
|
90758
|
+
}[]
|
|
90759
|
+
|
|
90760
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
90761
|
+
|
|
90762
|
+
}
|
|
90763
|
+
|
|
90764
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
90765
|
+
payload?: unknown
|
|
90766
|
+
event_id: string
|
|
90767
|
+
provider: string
|
|
90768
|
+
verified: boolean
|
|
90769
|
+
product_id: string
|
|
90770
|
+
occurred_at: string
|
|
90771
|
+
connector_id: string
|
|
90772
|
+
delivery_count: number
|
|
90773
|
+
} | {
|
|
90774
|
+
found: false
|
|
90775
|
+
})
|
|
90776
|
+
|
|
90777
|
+
export interface PlaygroundWorkflowEchoInput {
|
|
90778
|
+
/**
|
|
90779
|
+
* The text to store, 1–1024 characters
|
|
90780
|
+
*/
|
|
90781
|
+
note: string
|
|
90782
|
+
/**
|
|
90783
|
+
* Optional labels stored alongside the note, at most 20
|
|
90784
|
+
*
|
|
90785
|
+
* @maxItems 20
|
|
90786
|
+
*/
|
|
90787
|
+
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]
|
|
90788
|
+
}
|
|
90789
|
+
|
|
90790
|
+
export interface PlaygroundWorkflowEchoOutput {
|
|
90791
|
+
/**
|
|
90792
|
+
* Identifier of the stored echo
|
|
90793
|
+
*/
|
|
90794
|
+
id: string
|
|
90795
|
+
/**
|
|
90796
|
+
* The note exactly as it was received
|
|
90797
|
+
*/
|
|
90798
|
+
note: string
|
|
90799
|
+
/**
|
|
90800
|
+
* The tags exactly as they were received
|
|
90801
|
+
*/
|
|
90802
|
+
tags: string[]
|
|
90803
|
+
/**
|
|
90804
|
+
* 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.
|
|
90805
|
+
*/
|
|
90806
|
+
echo_id: string
|
|
90807
|
+
/**
|
|
90808
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
90809
|
+
*/
|
|
90810
|
+
received_at: string
|
|
90811
|
+
}
|
|
90812
|
+
|
|
90813
|
+
export interface PlaygroundWorkflowEchoListInput {
|
|
90814
|
+
|
|
90815
|
+
}
|
|
90816
|
+
|
|
90817
|
+
export type PlaygroundWorkflowEchoListOutput = {
|
|
90818
|
+
/**
|
|
90819
|
+
* Identifier of the stored echo
|
|
90820
|
+
*/
|
|
90821
|
+
id: string
|
|
90822
|
+
/**
|
|
90823
|
+
* The note exactly as it was received
|
|
90824
|
+
*/
|
|
90825
|
+
note: string
|
|
90826
|
+
/**
|
|
90827
|
+
* The tags exactly as they were received
|
|
90828
|
+
*/
|
|
90829
|
+
tags: string[]
|
|
90830
|
+
/**
|
|
90831
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
90832
|
+
*/
|
|
90833
|
+
received_at: string
|
|
90834
|
+
}[]
|
|
90835
|
+
|
|
90836
|
+
export interface PlaygroundWorkflowPingInput {
|
|
90837
|
+
/**
|
|
90838
|
+
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
90839
|
+
*/
|
|
90840
|
+
kind?: string
|
|
90841
|
+
}
|
|
90842
|
+
|
|
90843
|
+
export interface PlaygroundWorkflowPingOutput {
|
|
90844
|
+
/**
|
|
90845
|
+
* 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.
|
|
90846
|
+
*/
|
|
90847
|
+
id: string
|
|
90848
|
+
/**
|
|
90849
|
+
* The name of the event that was published
|
|
90850
|
+
*/
|
|
90851
|
+
event: string
|
|
90852
|
+
}
|
|
90853
|
+
|
|
90854
|
+
export interface PlaygroundWorkflowSubjectsListInput {
|
|
90855
|
+
/**
|
|
90856
|
+
* How many subjects to return, 1–100. Defaults to 25.
|
|
90857
|
+
*/
|
|
90858
|
+
limit?: number
|
|
90859
|
+
/**
|
|
90860
|
+
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
90861
|
+
*/
|
|
90862
|
+
cursor?: string
|
|
90863
|
+
/**
|
|
90864
|
+
* 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.
|
|
90865
|
+
*/
|
|
90866
|
+
last_activity_after?: string
|
|
90867
|
+
/**
|
|
90868
|
+
* 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.
|
|
90869
|
+
*/
|
|
90870
|
+
last_activity_before?: string
|
|
90871
|
+
}
|
|
90872
|
+
|
|
90873
|
+
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
90874
|
+
/**
|
|
90875
|
+
* This page of subjects, most recently active first
|
|
90876
|
+
*/
|
|
90877
|
+
items: {
|
|
90878
|
+
/**
|
|
90879
|
+
* 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.
|
|
90880
|
+
*/
|
|
90881
|
+
subject_key: string
|
|
90882
|
+
/**
|
|
90883
|
+
* Human-readable name of the subject
|
|
90884
|
+
*/
|
|
90885
|
+
display_name: string
|
|
90886
|
+
/**
|
|
90887
|
+
* ISO-8601 instant (UTC) of the subject last activity
|
|
90888
|
+
*/
|
|
90889
|
+
last_activity_at: string
|
|
90890
|
+
}[]
|
|
90891
|
+
/**
|
|
90892
|
+
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
90893
|
+
*/
|
|
90894
|
+
has_more: boolean
|
|
90895
|
+
/**
|
|
90896
|
+
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
90897
|
+
*/
|
|
90898
|
+
next_cursor: (string | null)
|
|
90899
|
+
}
|
|
90900
|
+
|
|
90901
|
+
export interface PlaygroundWsEchoInput {
|
|
90902
|
+
|
|
90903
|
+
}
|
|
90904
|
+
|
|
90905
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
90906
|
+
|
|
90535
90907
|
export interface RealtimeArchiveExportInput {
|
|
90536
90908
|
/**
|
|
90537
90909
|
* Only entries with ts <= to_ts (epoch ms)
|
|
@@ -91467,7 +91839,7 @@ avatarUrl?: string
|
|
|
91467
91839
|
*/
|
|
91468
91840
|
displayName: string
|
|
91469
91841
|
/**
|
|
91470
|
-
*
|
|
91842
|
+
* 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
|
|
91471
91843
|
*/
|
|
91472
91844
|
lesslyUserId?: string
|
|
91473
91845
|
}
|
|
@@ -91502,7 +91874,7 @@ updatedAt: string
|
|
|
91502
91874
|
*/
|
|
91503
91875
|
displayName: string
|
|
91504
91876
|
/**
|
|
91505
|
-
* Bound
|
|
91877
|
+
* 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
|
|
91506
91878
|
*/
|
|
91507
91879
|
lesslyUserId: (string | null)
|
|
91508
91880
|
}
|
|
@@ -91544,7 +91916,7 @@ updatedAt: string
|
|
|
91544
91916
|
*/
|
|
91545
91917
|
displayName: string
|
|
91546
91918
|
/**
|
|
91547
|
-
* Bound
|
|
91919
|
+
* 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
|
|
91548
91920
|
*/
|
|
91549
91921
|
lesslyUserId: (string | null)
|
|
91550
91922
|
}
|
|
@@ -91590,7 +91962,7 @@ updatedAt: string
|
|
|
91590
91962
|
*/
|
|
91591
91963
|
displayName: string
|
|
91592
91964
|
/**
|
|
91593
|
-
* Bound
|
|
91965
|
+
* 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
|
|
91594
91966
|
*/
|
|
91595
91967
|
lesslyUserId: (string | null)
|
|
91596
91968
|
}[]
|
|
@@ -91618,7 +91990,7 @@ avatarUrl?: (string | null)
|
|
|
91618
91990
|
*/
|
|
91619
91991
|
displayName?: string
|
|
91620
91992
|
/**
|
|
91621
|
-
*
|
|
91993
|
+
* Lepsto identity to bind, or null to unbind. Stored verbatim, resolved by nobody
|
|
91622
91994
|
*/
|
|
91623
91995
|
lesslyUserId?: (string | null)
|
|
91624
91996
|
}
|
|
@@ -91653,7 +92025,7 @@ updatedAt: string
|
|
|
91653
92025
|
*/
|
|
91654
92026
|
displayName: string
|
|
91655
92027
|
/**
|
|
91656
|
-
* Bound
|
|
92028
|
+
* 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
|
|
91657
92029
|
*/
|
|
91658
92030
|
lesslyUserId: (string | null)
|
|
91659
92031
|
}
|
|
@@ -91978,7 +92350,7 @@ attachmentCount: number
|
|
|
91978
92350
|
*/
|
|
91979
92351
|
authorExternalId: (string | null)
|
|
91980
92352
|
/**
|
|
91981
|
-
* The
|
|
92353
|
+
* 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
|
|
91982
92354
|
*/
|
|
91983
92355
|
createdByIdentityId: (string | null)
|
|
91984
92356
|
}
|
|
@@ -92069,7 +92441,7 @@ attachmentCount: number
|
|
|
92069
92441
|
*/
|
|
92070
92442
|
authorExternalId: (string | null)
|
|
92071
92443
|
/**
|
|
92072
|
-
* The
|
|
92444
|
+
* 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
|
|
92073
92445
|
*/
|
|
92074
92446
|
createdByIdentityId: (string | null)
|
|
92075
92447
|
}
|
|
@@ -92160,7 +92532,7 @@ attachmentCount: number
|
|
|
92160
92532
|
*/
|
|
92161
92533
|
authorExternalId: (string | null)
|
|
92162
92534
|
/**
|
|
92163
|
-
* The
|
|
92535
|
+
* 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
|
|
92164
92536
|
*/
|
|
92165
92537
|
createdByIdentityId: (string | null)
|
|
92166
92538
|
}
|
|
@@ -92251,7 +92623,7 @@ attachmentCount: number
|
|
|
92251
92623
|
*/
|
|
92252
92624
|
authorExternalId: (string | null)
|
|
92253
92625
|
/**
|
|
92254
|
-
* The
|
|
92626
|
+
* 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
|
|
92255
92627
|
*/
|
|
92256
92628
|
createdByIdentityId: (string | null)
|
|
92257
92629
|
}
|
|
@@ -92378,7 +92750,7 @@ attachmentCount: number
|
|
|
92378
92750
|
*/
|
|
92379
92751
|
authorExternalId: (string | null)
|
|
92380
92752
|
/**
|
|
92381
|
-
* The
|
|
92753
|
+
* 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
|
|
92382
92754
|
*/
|
|
92383
92755
|
createdByIdentityId: (string | null)
|
|
92384
92756
|
}[]
|
|
@@ -92417,7 +92789,7 @@ createdAt: string
|
|
|
92417
92789
|
*/
|
|
92418
92790
|
messageId: string
|
|
92419
92791
|
/**
|
|
92420
|
-
* The
|
|
92792
|
+
* The Lepsto identity that made the edit
|
|
92421
92793
|
*/
|
|
92422
92794
|
editedByIdentityId: (string | null)
|
|
92423
92795
|
}[]
|
|
@@ -92513,7 +92885,7 @@ attachmentCount: number
|
|
|
92513
92885
|
*/
|
|
92514
92886
|
authorExternalId: (string | null)
|
|
92515
92887
|
/**
|
|
92516
|
-
* The
|
|
92888
|
+
* 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
|
|
92517
92889
|
*/
|
|
92518
92890
|
createdByIdentityId: (string | null)
|
|
92519
92891
|
}
|
|
@@ -111119,7 +111491,7 @@ metadata?: {
|
|
|
111119
111491
|
*/
|
|
111120
111492
|
authorDisplay?: string
|
|
111121
111493
|
/**
|
|
111122
|
-
* 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
|
|
111494
|
+
* 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
|
|
111123
111495
|
*/
|
|
111124
111496
|
authorExternalId: string
|
|
111125
111497
|
}
|