@lessly/sdk-app 105.2.0 → 105.4.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 +5 -19
- 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 +371 -8
- package/dist/chunk-VIZWAA4F.js +12093 -0
- package/dist/chunk-VIZWAA4F.js.map +1 -0
- package/dist/index.cjs +228 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +22 -11918
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs +106 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +1 -0
- package/dist/playground/index.d.ts +1 -0
- package/dist/playground/index.js +78 -0
- package/dist/playground/index.js.map +1 -0
- package/package.json +12 -2
- package/src/gen/bindings.gen.ts +217 -46
- package/src/gen/client.gen.ts +71 -0
- package/src/gen/manifest.gen.ts +21 -1
- package/src/gen/playground/connect.gen.ts +9 -0
- package/src/gen/playground/index.ts +4 -0
- package/src/gen/playground/queryOptions.gen.ts +119 -0
- package/src/gen/types.gen.ts +417 -8
|
@@ -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
|
@@ -30,12 +30,6 @@ propertiesColumn: (string | null)
|
|
|
30
30
|
}[]
|
|
31
31
|
product_id: string
|
|
32
32
|
generated_at: string
|
|
33
|
-
dropped_metrics?: {
|
|
34
|
-
type: string
|
|
35
|
-
metric: string
|
|
36
|
-
reason: ("type_unknown" | "aggregate_unknown" | "column_missing")
|
|
37
|
-
view_name: string
|
|
38
|
-
}[]
|
|
39
33
|
}
|
|
40
34
|
|
|
41
35
|
export interface AnalyticsDashboardCreateInput {
|
|
@@ -111687,6 +111681,378 @@ export interface OrganizationYoutubeInstallOutput {
|
|
|
111687
111681
|
url: string
|
|
111688
111682
|
}
|
|
111689
111683
|
|
|
111684
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
111685
|
+
/**
|
|
111686
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
111687
|
+
*/
|
|
111688
|
+
limit?: number
|
|
111689
|
+
}
|
|
111690
|
+
|
|
111691
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
111692
|
+
ok: boolean
|
|
111693
|
+
minted: boolean
|
|
111694
|
+
overview?: unknown
|
|
111695
|
+
http_status: number
|
|
111696
|
+
}
|
|
111697
|
+
|
|
111698
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
111699
|
+
|
|
111700
|
+
}
|
|
111701
|
+
|
|
111702
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
111703
|
+
ok: boolean
|
|
111704
|
+
minted: boolean
|
|
111705
|
+
http_status: number
|
|
111706
|
+
entitlements?: unknown
|
|
111707
|
+
}
|
|
111708
|
+
|
|
111709
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
111710
|
+
/**
|
|
111711
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
111712
|
+
*/
|
|
111713
|
+
value?: number
|
|
111714
|
+
}
|
|
111715
|
+
|
|
111716
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
111717
|
+
minted: boolean
|
|
111718
|
+
accepted: (number | null)
|
|
111719
|
+
recorded: boolean
|
|
111720
|
+
duplicates: (number | null)
|
|
111721
|
+
http_status: number
|
|
111722
|
+
}
|
|
111723
|
+
|
|
111724
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
111725
|
+
/**
|
|
111726
|
+
* Task title; defaults to a fixture label
|
|
111727
|
+
*/
|
|
111728
|
+
name?: string
|
|
111729
|
+
/**
|
|
111730
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
111731
|
+
*/
|
|
111732
|
+
listId?: string
|
|
111733
|
+
}
|
|
111734
|
+
|
|
111735
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
111736
|
+
minted: boolean
|
|
111737
|
+
task_id: (string | null)
|
|
111738
|
+
list_status: number
|
|
111739
|
+
vend_status: number
|
|
111740
|
+
clickup_status: number
|
|
111741
|
+
installation_count: number
|
|
111742
|
+
}
|
|
111743
|
+
|
|
111744
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
111745
|
+
|
|
111746
|
+
}
|
|
111747
|
+
|
|
111748
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
111749
|
+
payload: string
|
|
111750
|
+
event_id: string
|
|
111751
|
+
provider: string
|
|
111752
|
+
verified: boolean
|
|
111753
|
+
product_id: string
|
|
111754
|
+
occurred_at: string
|
|
111755
|
+
connector_id: string
|
|
111756
|
+
clickup_event: (string | null)
|
|
111757
|
+
receipt_count: number
|
|
111758
|
+
} | {
|
|
111759
|
+
found: false
|
|
111760
|
+
})
|
|
111761
|
+
|
|
111762
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
111763
|
+
|
|
111764
|
+
}
|
|
111765
|
+
|
|
111766
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
111767
|
+
team: ({
|
|
111768
|
+
teamId: string
|
|
111769
|
+
teamName: string
|
|
111770
|
+
} | null)
|
|
111771
|
+
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
111772
|
+
tasks: {
|
|
111773
|
+
id: string
|
|
111774
|
+
name: string
|
|
111775
|
+
status: (string | null)
|
|
111776
|
+
}[]
|
|
111777
|
+
minted: boolean
|
|
111778
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
111779
|
+
list_status: number
|
|
111780
|
+
vend_status: number
|
|
111781
|
+
lists_status: number
|
|
111782
|
+
tasks_status: number
|
|
111783
|
+
spaces_status: number
|
|
111784
|
+
folders_status: number
|
|
111785
|
+
installation_count: number
|
|
111786
|
+
}
|
|
111787
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
111788
|
+
id: string
|
|
111789
|
+
name: string
|
|
111790
|
+
}
|
|
111791
|
+
|
|
111792
|
+
export interface PlaygroundEchoPingInput {
|
|
111793
|
+
/**
|
|
111794
|
+
* The text to echo back, 1–1024 characters
|
|
111795
|
+
*/
|
|
111796
|
+
message: string
|
|
111797
|
+
}
|
|
111798
|
+
|
|
111799
|
+
export interface PlaygroundEchoPingOutput {
|
|
111800
|
+
/**
|
|
111801
|
+
* The message exactly as it was received
|
|
111802
|
+
*/
|
|
111803
|
+
message: string
|
|
111804
|
+
/**
|
|
111805
|
+
* The product the call was resolved to
|
|
111806
|
+
*/
|
|
111807
|
+
productId: string
|
|
111808
|
+
/**
|
|
111809
|
+
* ISO-8601 instant (UTC) at which the call reached the service
|
|
111810
|
+
*/
|
|
111811
|
+
receivedAt: string
|
|
111812
|
+
}
|
|
111813
|
+
|
|
111814
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
111815
|
+
|
|
111816
|
+
}
|
|
111817
|
+
|
|
111818
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
111819
|
+
file_id: string
|
|
111820
|
+
removed: boolean
|
|
111821
|
+
file_name: (string | null)
|
|
111822
|
+
mime_type: (string | null)
|
|
111823
|
+
product_id: string
|
|
111824
|
+
occurred_at: string
|
|
111825
|
+
connector_id: string
|
|
111826
|
+
resource_state: string
|
|
111827
|
+
} | {
|
|
111828
|
+
found: false
|
|
111829
|
+
})
|
|
111830
|
+
|
|
111831
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
111832
|
+
/**
|
|
111833
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
111834
|
+
*/
|
|
111835
|
+
fileId?: string
|
|
111836
|
+
}
|
|
111837
|
+
|
|
111838
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
111839
|
+
minted: boolean
|
|
111840
|
+
file_id: (string | null)
|
|
111841
|
+
file_name: (string | null)
|
|
111842
|
+
mime_type: (string | null)
|
|
111843
|
+
file_count: number
|
|
111844
|
+
get_status: number
|
|
111845
|
+
list_status: number
|
|
111846
|
+
vend_status: number
|
|
111847
|
+
content_bytes: (number | null)
|
|
111848
|
+
}
|
|
111849
|
+
|
|
111850
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
111851
|
+
|
|
111852
|
+
}
|
|
111853
|
+
|
|
111854
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
111855
|
+
minted: boolean
|
|
111856
|
+
vended: boolean
|
|
111857
|
+
customer_id: (string | null)
|
|
111858
|
+
vend_status: number
|
|
111859
|
+
result_count: number
|
|
111860
|
+
search_status: number
|
|
111861
|
+
login_customer_id: (string | null)
|
|
111862
|
+
}
|
|
111863
|
+
|
|
111864
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
111865
|
+
|
|
111866
|
+
}
|
|
111867
|
+
|
|
111868
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
111869
|
+
blocked: boolean
|
|
111870
|
+
archived: boolean
|
|
111871
|
+
productId: string
|
|
111872
|
+
lastBlockTransition: ({
|
|
111873
|
+
eventId: string
|
|
111874
|
+
eventName: string
|
|
111875
|
+
productId: string
|
|
111876
|
+
occurredAt: string
|
|
111877
|
+
recordedAt: string
|
|
111878
|
+
receiptCount: number
|
|
111879
|
+
organizationId: string
|
|
111880
|
+
cascadedFromOrg: boolean
|
|
111881
|
+
} | null)
|
|
111882
|
+
lastArchiveTransition: ({
|
|
111883
|
+
eventId: string
|
|
111884
|
+
eventName: string
|
|
111885
|
+
productId: string
|
|
111886
|
+
occurredAt: string
|
|
111887
|
+
recordedAt: string
|
|
111888
|
+
receiptCount: number
|
|
111889
|
+
organizationId: string
|
|
111890
|
+
cascadedFromOrg: boolean
|
|
111891
|
+
} | null)
|
|
111892
|
+
}
|
|
111893
|
+
|
|
111894
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
111895
|
+
|
|
111896
|
+
}
|
|
111897
|
+
|
|
111898
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
111899
|
+
eventId: string
|
|
111900
|
+
eventName: string
|
|
111901
|
+
productId: string
|
|
111902
|
+
occurredAt: string
|
|
111903
|
+
recordedAt: string
|
|
111904
|
+
receiptCount: number
|
|
111905
|
+
organizationId: string
|
|
111906
|
+
cascadedFromOrg: boolean
|
|
111907
|
+
}[]
|
|
111908
|
+
|
|
111909
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
111910
|
+
|
|
111911
|
+
}
|
|
111912
|
+
|
|
111913
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
111914
|
+
payload?: unknown
|
|
111915
|
+
event_id: string
|
|
111916
|
+
provider: string
|
|
111917
|
+
verified: boolean
|
|
111918
|
+
product_id: string
|
|
111919
|
+
occurred_at: string
|
|
111920
|
+
connector_id: string
|
|
111921
|
+
delivery_count: number
|
|
111922
|
+
} | {
|
|
111923
|
+
found: false
|
|
111924
|
+
})
|
|
111925
|
+
|
|
111926
|
+
export interface PlaygroundWorkflowEchoInput {
|
|
111927
|
+
/**
|
|
111928
|
+
* The text to store, 1–1024 characters
|
|
111929
|
+
*/
|
|
111930
|
+
note: string
|
|
111931
|
+
/**
|
|
111932
|
+
* Optional labels stored alongside the note, at most 20
|
|
111933
|
+
*
|
|
111934
|
+
* @maxItems 20
|
|
111935
|
+
*/
|
|
111936
|
+
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]
|
|
111937
|
+
}
|
|
111938
|
+
|
|
111939
|
+
export interface PlaygroundWorkflowEchoOutput {
|
|
111940
|
+
/**
|
|
111941
|
+
* Identifier of the stored echo
|
|
111942
|
+
*/
|
|
111943
|
+
id: string
|
|
111944
|
+
/**
|
|
111945
|
+
* The note exactly as it was received
|
|
111946
|
+
*/
|
|
111947
|
+
note: string
|
|
111948
|
+
/**
|
|
111949
|
+
* The tags exactly as they were received
|
|
111950
|
+
*/
|
|
111951
|
+
tags: string[]
|
|
111952
|
+
/**
|
|
111953
|
+
* 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.
|
|
111954
|
+
*/
|
|
111955
|
+
echo_id: string
|
|
111956
|
+
/**
|
|
111957
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
111958
|
+
*/
|
|
111959
|
+
received_at: string
|
|
111960
|
+
}
|
|
111961
|
+
|
|
111962
|
+
export interface PlaygroundWorkflowEchoListInput {
|
|
111963
|
+
|
|
111964
|
+
}
|
|
111965
|
+
|
|
111966
|
+
export type PlaygroundWorkflowEchoListOutput = {
|
|
111967
|
+
/**
|
|
111968
|
+
* Identifier of the stored echo
|
|
111969
|
+
*/
|
|
111970
|
+
id: string
|
|
111971
|
+
/**
|
|
111972
|
+
* The note exactly as it was received
|
|
111973
|
+
*/
|
|
111974
|
+
note: string
|
|
111975
|
+
/**
|
|
111976
|
+
* The tags exactly as they were received
|
|
111977
|
+
*/
|
|
111978
|
+
tags: string[]
|
|
111979
|
+
/**
|
|
111980
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
111981
|
+
*/
|
|
111982
|
+
received_at: string
|
|
111983
|
+
}[]
|
|
111984
|
+
|
|
111985
|
+
export interface PlaygroundWorkflowPingInput {
|
|
111986
|
+
/**
|
|
111987
|
+
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
111988
|
+
*/
|
|
111989
|
+
kind?: string
|
|
111990
|
+
}
|
|
111991
|
+
|
|
111992
|
+
export interface PlaygroundWorkflowPingOutput {
|
|
111993
|
+
/**
|
|
111994
|
+
* 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.
|
|
111995
|
+
*/
|
|
111996
|
+
id: string
|
|
111997
|
+
/**
|
|
111998
|
+
* The name of the event that was published
|
|
111999
|
+
*/
|
|
112000
|
+
event: string
|
|
112001
|
+
}
|
|
112002
|
+
|
|
112003
|
+
export interface PlaygroundWorkflowSubjectsListInput {
|
|
112004
|
+
/**
|
|
112005
|
+
* How many subjects to return, 1–100. Defaults to 25.
|
|
112006
|
+
*/
|
|
112007
|
+
limit?: number
|
|
112008
|
+
/**
|
|
112009
|
+
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
112010
|
+
*/
|
|
112011
|
+
cursor?: string
|
|
112012
|
+
/**
|
|
112013
|
+
* 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.
|
|
112014
|
+
*/
|
|
112015
|
+
last_activity_after?: string
|
|
112016
|
+
/**
|
|
112017
|
+
* 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.
|
|
112018
|
+
*/
|
|
112019
|
+
last_activity_before?: string
|
|
112020
|
+
}
|
|
112021
|
+
|
|
112022
|
+
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
112023
|
+
/**
|
|
112024
|
+
* This page of subjects, most recently active first
|
|
112025
|
+
*/
|
|
112026
|
+
items: {
|
|
112027
|
+
/**
|
|
112028
|
+
* 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.
|
|
112029
|
+
*/
|
|
112030
|
+
subject_key: string
|
|
112031
|
+
/**
|
|
112032
|
+
* Human-readable name of the subject
|
|
112033
|
+
*/
|
|
112034
|
+
display_name: string
|
|
112035
|
+
/**
|
|
112036
|
+
* ISO-8601 instant (UTC) of the subject last activity
|
|
112037
|
+
*/
|
|
112038
|
+
last_activity_at: string
|
|
112039
|
+
}[]
|
|
112040
|
+
/**
|
|
112041
|
+
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
112042
|
+
*/
|
|
112043
|
+
has_more: boolean
|
|
112044
|
+
/**
|
|
112045
|
+
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
112046
|
+
*/
|
|
112047
|
+
next_cursor: (string | null)
|
|
112048
|
+
}
|
|
112049
|
+
|
|
112050
|
+
export interface PlaygroundWsEchoInput {
|
|
112051
|
+
|
|
112052
|
+
}
|
|
112053
|
+
|
|
112054
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
112055
|
+
|
|
111690
112056
|
export interface RealtimeArchiveExportInput {
|
|
111691
112057
|
/**
|
|
111692
112058
|
* Only entries with ts <= to_ts (epoch ms)
|
|
@@ -135540,6 +135906,12 @@ export interface TrackingRecordingSettingsGetInput {
|
|
|
135540
135906
|
}
|
|
135541
135907
|
|
|
135542
135908
|
export interface TrackingRecordingSettingsGetOutput {
|
|
135909
|
+
/**
|
|
135910
|
+
* Exact hostnames whose pages are recorded, e.g. ["example.com", "www.example.com"]; pages on any other host are never recorded. Bare hosts only — no scheme, port, path or wildcard; www and each subdomain are separate hosts. Up to 20. Recording on with no hosts records nothing.
|
|
135911
|
+
*
|
|
135912
|
+
* @maxItems 20
|
|
135913
|
+
*/
|
|
135914
|
+
hosts: []|[string]|[string, string]|[string, string, string]|[string, string, string, string]|[string, string, string, string, string]|[string, string, string, string, string, string]|[string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]
|
|
135543
135915
|
/**
|
|
135544
135916
|
* Whether session recording is on. Only visitors in full tracking mode (statistics consent, or no consent banner) are recorded.
|
|
135545
135917
|
*/
|
|
@@ -135548,9 +135920,19 @@ enabled: boolean
|
|
|
135548
135920
|
* Percent of sessions recorded, 1 to 100 when on (e.g. 25); 0 is allowed only when off.
|
|
135549
135921
|
*/
|
|
135550
135922
|
sampleRate: number
|
|
135923
|
+
/**
|
|
135924
|
+
* Hosts to choose from when setting hosts: the stored hosts, the product’s install domains, then hosts its tracked pages were on in the last 30 days. A suggestion list, not a filter.
|
|
135925
|
+
*/
|
|
135926
|
+
candidateHosts: string[]
|
|
135551
135927
|
}
|
|
135552
135928
|
|
|
135553
135929
|
export interface TrackingRecordingSettingsSetInput {
|
|
135930
|
+
/**
|
|
135931
|
+
* Exact hostnames whose pages are recorded, e.g. ["example.com", "www.example.com"]; pages on any other host are never recorded. Bare hosts only — no scheme, port, path or wildcard; www and each subdomain are separate hosts. Up to 20. Recording on with no hosts records nothing. Required, at least one, when enabled is true; when turning recording off it may be left out to keep the stored list.
|
|
135932
|
+
*
|
|
135933
|
+
* @maxItems 20
|
|
135934
|
+
*/
|
|
135935
|
+
hosts?: []|[string]|[string, string]|[string, string, string]|[string, string, string, string]|[string, string, string, string, string]|[string, string, string, string, string, string]|[string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]
|
|
135554
135936
|
/**
|
|
135555
135937
|
* Whether session recording is on. Only visitors in full tracking mode (statistics consent, or no consent banner) are recorded.
|
|
135556
135938
|
*/
|
|
@@ -135562,6 +135944,12 @@ sampleRate: number
|
|
|
135562
135944
|
}
|
|
135563
135945
|
|
|
135564
135946
|
export interface TrackingRecordingSettingsSetOutput {
|
|
135947
|
+
/**
|
|
135948
|
+
* Exact hostnames whose pages are recorded, e.g. ["example.com", "www.example.com"]; pages on any other host are never recorded. Bare hosts only — no scheme, port, path or wildcard; www and each subdomain are separate hosts. Up to 20. Recording on with no hosts records nothing.
|
|
135949
|
+
*
|
|
135950
|
+
* @maxItems 20
|
|
135951
|
+
*/
|
|
135952
|
+
hosts: []|[string]|[string, string]|[string, string, string]|[string, string, string, string]|[string, string, string, string, string]|[string, string, string, string, string, string]|[string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]
|
|
135565
135953
|
/**
|
|
135566
135954
|
* Whether session recording is on. Only visitors in full tracking mode (statistics consent, or no consent banner) are recorded.
|
|
135567
135955
|
*/
|
|
@@ -135636,7 +136024,7 @@ id: string
|
|
|
135636
136024
|
*/
|
|
135637
136025
|
device: (string | null)
|
|
135638
136026
|
/**
|
|
135639
|
-
* Tracker events of the
|
|
136027
|
+
* Tracker events of the recording itself — pages on the recording's hosts, from 5 s before its start to 5 s after its end — oldest first, at most 2000.
|
|
135640
136028
|
*/
|
|
135641
136029
|
events: {
|
|
135642
136030
|
/**
|
|
@@ -135756,9 +136144,30 @@ segmentCount: number
|
|
|
135756
136144
|
*/
|
|
135757
136145
|
clockOffsetMs: number
|
|
135758
136146
|
/**
|
|
135759
|
-
* True when the
|
|
136147
|
+
* True when the recording had more than 2000 events and the rest were left out.
|
|
135760
136148
|
*/
|
|
135761
136149
|
eventsTruncated: boolean
|
|
136150
|
+
/**
|
|
136151
|
+
* The first conversion of the same session that is not in events: after the recording ended (up to 24 h later), or during it on a host the recording has no page of. Any host. Compare at with the span of the recording to tell which. Null when there is none.
|
|
136152
|
+
*/
|
|
136153
|
+
laterConversion: ({
|
|
136154
|
+
/**
|
|
136155
|
+
* When it happened, ISO 8601, browser clock.
|
|
136156
|
+
*/
|
|
136157
|
+
at: string
|
|
136158
|
+
/**
|
|
136159
|
+
* Event name of the conversion.
|
|
136160
|
+
*/
|
|
136161
|
+
name: string
|
|
136162
|
+
/**
|
|
136163
|
+
* ISO 4217 code. Null when none.
|
|
136164
|
+
*/
|
|
136165
|
+
currency: (string | null)
|
|
136166
|
+
/**
|
|
136167
|
+
* Amount in minor units. Null when the event carried none.
|
|
136168
|
+
*/
|
|
136169
|
+
amountMinor: (number | null)
|
|
136170
|
+
} | null)
|
|
135762
136171
|
}
|
|
135763
136172
|
|
|
135764
136173
|
export interface TrackingRecordingsListInput {
|