@lessly/sdk-app 105.8.0 → 105.9.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 +14 -11
- 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 +357 -13
- package/dist/chunk-YZIARYTM.js +12181 -0
- package/dist/chunk-YZIARYTM.js.map +1 -0
- package/dist/index.cjs +224 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +22 -12010
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs +106 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +1 -0
- package/dist/playground/index.d.ts +1 -0
- package/dist/playground/index.js +78 -0
- package/dist/playground/index.js.map +1 -0
- package/package.json +12 -2
- package/src/gen/bindings.gen.ts +213 -46
- package/src/gen/client.gen.ts +71 -0
- package/src/gen/manifest.gen.ts +21 -1
- package/src/gen/playground/connect.gen.ts +9 -0
- package/src/gen/playground/index.ts +4 -0
- package/src/gen/playground/queryOptions.gen.ts +119 -0
- package/src/gen/types.gen.ts +403 -13
|
@@ -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 {
|
|
@@ -73891,7 +73885,7 @@ export interface ContentChannelsBindInput {
|
|
|
73891
73885
|
*/
|
|
73892
73886
|
id: string
|
|
73893
73887
|
/**
|
|
73894
|
-
* The platform connector to publish through — the id of a connector attached to this product,
|
|
73888
|
+
* The platform connector to publish through — the id of a connector attached to this product. It must be attached and of this channel's network, and not already carried by another channel of this product, or the call is refused with connector_not_found, connector_network_mismatch or connector_already_bound. Networks with no publishing connector (instagram, facebook, tiktok, threads, pinterest, bluesky, telegram, LinkedIn company pages) are refused with no_api_provider.
|
|
73895
73889
|
*/
|
|
73896
73890
|
connectorId: string
|
|
73897
73891
|
/**
|
|
@@ -73905,6 +73899,10 @@ export interface ContentChannelsBindOutput {
|
|
|
73905
73899
|
* Channel id — pass this to content_publications_schedule.
|
|
73906
73900
|
*/
|
|
73907
73901
|
id: string
|
|
73902
|
+
/**
|
|
73903
|
+
* integration: the channel appeared by itself from an account connected on the Integrations page. manual: a seeded channel, or one bound by hand.
|
|
73904
|
+
*/
|
|
73905
|
+
origin?: ("integration" | "manual")
|
|
73908
73906
|
/**
|
|
73909
73907
|
* Social network: linkedin, x, youtube, instagram, reddit, facebook, tiktok, threads, pinterest, bluesky or telegram.
|
|
73910
73908
|
*/
|
|
@@ -73930,7 +73928,7 @@ connectorId: (string | null)
|
|
|
73930
73928
|
*/
|
|
73931
73929
|
displayName: string
|
|
73932
73930
|
/**
|
|
73933
|
-
* Why it paused: revoked (access was taken away), expired (the credential ran out), or the provider reason code from a failed publish. Null when healthy.
|
|
73931
|
+
* Why it paused: revoked (access was taken away), expired (the credential ran out), detached (the integration was detached from this product), removed (the integration was deleted), or the provider reason code from a failed publish. Null when healthy.
|
|
73934
73932
|
*/
|
|
73935
73933
|
pauseReason: (string | null)
|
|
73936
73934
|
/**
|
|
@@ -73961,6 +73959,10 @@ export interface ContentChannelsGetOutput {
|
|
|
73961
73959
|
* Channel id — pass this to content_publications_schedule.
|
|
73962
73960
|
*/
|
|
73963
73961
|
id: string
|
|
73962
|
+
/**
|
|
73963
|
+
* integration: the channel appeared by itself from an account connected on the Integrations page. manual: a seeded channel, or one bound by hand.
|
|
73964
|
+
*/
|
|
73965
|
+
origin?: ("integration" | "manual")
|
|
73964
73966
|
/**
|
|
73965
73967
|
* Social network: linkedin, x, youtube, instagram, reddit, facebook, tiktok, threads, pinterest, bluesky or telegram.
|
|
73966
73968
|
*/
|
|
@@ -73986,7 +73988,7 @@ connectorId: (string | null)
|
|
|
73986
73988
|
*/
|
|
73987
73989
|
displayName: string
|
|
73988
73990
|
/**
|
|
73989
|
-
* Why it paused: revoked (access was taken away), expired (the credential ran out), or the provider reason code from a failed publish. Null when healthy.
|
|
73991
|
+
* Why it paused: revoked (access was taken away), expired (the credential ran out), detached (the integration was detached from this product), removed (the integration was deleted), or the provider reason code from a failed publish. Null when healthy.
|
|
73990
73992
|
*/
|
|
73991
73993
|
pauseReason: (string | null)
|
|
73992
73994
|
/**
|
|
@@ -74033,6 +74035,10 @@ channels: {
|
|
|
74033
74035
|
* Channel id — pass this to content_publications_schedule.
|
|
74034
74036
|
*/
|
|
74035
74037
|
id: string
|
|
74038
|
+
/**
|
|
74039
|
+
* integration: the channel appeared by itself from an account connected on the Integrations page. manual: a seeded channel, or one bound by hand.
|
|
74040
|
+
*/
|
|
74041
|
+
origin?: ("integration" | "manual")
|
|
74036
74042
|
/**
|
|
74037
74043
|
* Social network: linkedin, x, youtube, instagram, reddit, facebook, tiktok, threads, pinterest, bluesky or telegram.
|
|
74038
74044
|
*/
|
|
@@ -74058,7 +74064,7 @@ connectorId: (string | null)
|
|
|
74058
74064
|
*/
|
|
74059
74065
|
displayName: string
|
|
74060
74066
|
/**
|
|
74061
|
-
* Why it paused: revoked (access was taken away), expired (the credential ran out), or the provider reason code from a failed publish. Null when healthy.
|
|
74067
|
+
* Why it paused: revoked (access was taken away), expired (the credential ran out), detached (the integration was detached from this product), removed (the integration was deleted), or the provider reason code from a failed publish. Null when healthy.
|
|
74062
74068
|
*/
|
|
74063
74069
|
pauseReason: (string | null)
|
|
74064
74070
|
/**
|
|
@@ -74090,6 +74096,10 @@ export interface ContentChannelsResumeOutput {
|
|
|
74090
74096
|
* Channel id — pass this to content_publications_schedule.
|
|
74091
74097
|
*/
|
|
74092
74098
|
id: string
|
|
74099
|
+
/**
|
|
74100
|
+
* integration: the channel appeared by itself from an account connected on the Integrations page. manual: a seeded channel, or one bound by hand.
|
|
74101
|
+
*/
|
|
74102
|
+
origin?: ("integration" | "manual")
|
|
74093
74103
|
/**
|
|
74094
74104
|
* Social network: linkedin, x, youtube, instagram, reddit, facebook, tiktok, threads, pinterest, bluesky or telegram.
|
|
74095
74105
|
*/
|
|
@@ -74115,7 +74125,7 @@ connectorId: (string | null)
|
|
|
74115
74125
|
*/
|
|
74116
74126
|
displayName: string
|
|
74117
74127
|
/**
|
|
74118
|
-
* Why it paused: revoked (access was taken away), expired (the credential ran out), or the provider reason code from a failed publish. Null when healthy.
|
|
74128
|
+
* Why it paused: revoked (access was taken away), expired (the credential ran out), detached (the integration was detached from this product), removed (the integration was deleted), or the provider reason code from a failed publish. Null when healthy.
|
|
74119
74129
|
*/
|
|
74120
74130
|
pauseReason: (string | null)
|
|
74121
74131
|
/**
|
|
@@ -74146,6 +74156,10 @@ export interface ContentChannelsUnbindOutput {
|
|
|
74146
74156
|
* Channel id — pass this to content_publications_schedule.
|
|
74147
74157
|
*/
|
|
74148
74158
|
id: string
|
|
74159
|
+
/**
|
|
74160
|
+
* integration: the channel appeared by itself from an account connected on the Integrations page. manual: a seeded channel, or one bound by hand.
|
|
74161
|
+
*/
|
|
74162
|
+
origin?: ("integration" | "manual")
|
|
74149
74163
|
/**
|
|
74150
74164
|
* Social network: linkedin, x, youtube, instagram, reddit, facebook, tiktok, threads, pinterest, bluesky or telegram.
|
|
74151
74165
|
*/
|
|
@@ -74171,7 +74185,7 @@ connectorId: (string | null)
|
|
|
74171
74185
|
*/
|
|
74172
74186
|
displayName: string
|
|
74173
74187
|
/**
|
|
74174
|
-
* Why it paused: revoked (access was taken away), expired (the credential ran out), or the provider reason code from a failed publish. Null when healthy.
|
|
74188
|
+
* Why it paused: revoked (access was taken away), expired (the credential ran out), detached (the integration was detached from this product), removed (the integration was deleted), or the provider reason code from a failed publish. Null when healthy.
|
|
74175
74189
|
*/
|
|
74176
74190
|
pauseReason: (string | null)
|
|
74177
74191
|
/**
|
|
@@ -74216,6 +74230,10 @@ export interface ContentChannelsUpdateOutput {
|
|
|
74216
74230
|
* Channel id — pass this to content_publications_schedule.
|
|
74217
74231
|
*/
|
|
74218
74232
|
id: string
|
|
74233
|
+
/**
|
|
74234
|
+
* integration: the channel appeared by itself from an account connected on the Integrations page. manual: a seeded channel, or one bound by hand.
|
|
74235
|
+
*/
|
|
74236
|
+
origin?: ("integration" | "manual")
|
|
74219
74237
|
/**
|
|
74220
74238
|
* Social network: linkedin, x, youtube, instagram, reddit, facebook, tiktok, threads, pinterest, bluesky or telegram.
|
|
74221
74239
|
*/
|
|
@@ -74241,7 +74259,7 @@ connectorId: (string | null)
|
|
|
74241
74259
|
*/
|
|
74242
74260
|
displayName: string
|
|
74243
74261
|
/**
|
|
74244
|
-
* Why it paused: revoked (access was taken away), expired (the credential ran out), or the provider reason code from a failed publish. Null when healthy.
|
|
74262
|
+
* Why it paused: revoked (access was taken away), expired (the credential ran out), detached (the integration was detached from this product), removed (the integration was deleted), or the provider reason code from a failed publish. Null when healthy.
|
|
74245
74263
|
*/
|
|
74246
74264
|
pauseReason: (string | null)
|
|
74247
74265
|
/**
|
|
@@ -111687,6 +111705,378 @@ export interface OrganizationYoutubeInstallOutput {
|
|
|
111687
111705
|
url: string
|
|
111688
111706
|
}
|
|
111689
111707
|
|
|
111708
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
111709
|
+
/**
|
|
111710
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
111711
|
+
*/
|
|
111712
|
+
limit?: number
|
|
111713
|
+
}
|
|
111714
|
+
|
|
111715
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
111716
|
+
ok: boolean
|
|
111717
|
+
minted: boolean
|
|
111718
|
+
overview?: unknown
|
|
111719
|
+
http_status: number
|
|
111720
|
+
}
|
|
111721
|
+
|
|
111722
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
111723
|
+
|
|
111724
|
+
}
|
|
111725
|
+
|
|
111726
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
111727
|
+
ok: boolean
|
|
111728
|
+
minted: boolean
|
|
111729
|
+
http_status: number
|
|
111730
|
+
entitlements?: unknown
|
|
111731
|
+
}
|
|
111732
|
+
|
|
111733
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
111734
|
+
/**
|
|
111735
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
111736
|
+
*/
|
|
111737
|
+
value?: number
|
|
111738
|
+
}
|
|
111739
|
+
|
|
111740
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
111741
|
+
minted: boolean
|
|
111742
|
+
accepted: (number | null)
|
|
111743
|
+
recorded: boolean
|
|
111744
|
+
duplicates: (number | null)
|
|
111745
|
+
http_status: number
|
|
111746
|
+
}
|
|
111747
|
+
|
|
111748
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
111749
|
+
/**
|
|
111750
|
+
* Task title; defaults to a fixture label
|
|
111751
|
+
*/
|
|
111752
|
+
name?: string
|
|
111753
|
+
/**
|
|
111754
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
111755
|
+
*/
|
|
111756
|
+
listId?: string
|
|
111757
|
+
}
|
|
111758
|
+
|
|
111759
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
111760
|
+
minted: boolean
|
|
111761
|
+
task_id: (string | null)
|
|
111762
|
+
list_status: number
|
|
111763
|
+
vend_status: number
|
|
111764
|
+
clickup_status: number
|
|
111765
|
+
installation_count: number
|
|
111766
|
+
}
|
|
111767
|
+
|
|
111768
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
111769
|
+
|
|
111770
|
+
}
|
|
111771
|
+
|
|
111772
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
111773
|
+
payload: string
|
|
111774
|
+
event_id: string
|
|
111775
|
+
provider: string
|
|
111776
|
+
verified: boolean
|
|
111777
|
+
product_id: string
|
|
111778
|
+
occurred_at: string
|
|
111779
|
+
connector_id: string
|
|
111780
|
+
clickup_event: (string | null)
|
|
111781
|
+
receipt_count: number
|
|
111782
|
+
} | {
|
|
111783
|
+
found: false
|
|
111784
|
+
})
|
|
111785
|
+
|
|
111786
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
111787
|
+
|
|
111788
|
+
}
|
|
111789
|
+
|
|
111790
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
111791
|
+
team: ({
|
|
111792
|
+
teamId: string
|
|
111793
|
+
teamName: string
|
|
111794
|
+
} | null)
|
|
111795
|
+
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
111796
|
+
tasks: {
|
|
111797
|
+
id: string
|
|
111798
|
+
name: string
|
|
111799
|
+
status: (string | null)
|
|
111800
|
+
}[]
|
|
111801
|
+
minted: boolean
|
|
111802
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
111803
|
+
list_status: number
|
|
111804
|
+
vend_status: number
|
|
111805
|
+
lists_status: number
|
|
111806
|
+
tasks_status: number
|
|
111807
|
+
spaces_status: number
|
|
111808
|
+
folders_status: number
|
|
111809
|
+
installation_count: number
|
|
111810
|
+
}
|
|
111811
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
111812
|
+
id: string
|
|
111813
|
+
name: string
|
|
111814
|
+
}
|
|
111815
|
+
|
|
111816
|
+
export interface PlaygroundEchoPingInput {
|
|
111817
|
+
/**
|
|
111818
|
+
* The text to echo back, 1–1024 characters
|
|
111819
|
+
*/
|
|
111820
|
+
message: string
|
|
111821
|
+
}
|
|
111822
|
+
|
|
111823
|
+
export interface PlaygroundEchoPingOutput {
|
|
111824
|
+
/**
|
|
111825
|
+
* The message exactly as it was received
|
|
111826
|
+
*/
|
|
111827
|
+
message: string
|
|
111828
|
+
/**
|
|
111829
|
+
* The product the call was resolved to
|
|
111830
|
+
*/
|
|
111831
|
+
productId: string
|
|
111832
|
+
/**
|
|
111833
|
+
* ISO-8601 instant (UTC) at which the call reached the service
|
|
111834
|
+
*/
|
|
111835
|
+
receivedAt: string
|
|
111836
|
+
}
|
|
111837
|
+
|
|
111838
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
111839
|
+
|
|
111840
|
+
}
|
|
111841
|
+
|
|
111842
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
111843
|
+
file_id: string
|
|
111844
|
+
removed: boolean
|
|
111845
|
+
file_name: (string | null)
|
|
111846
|
+
mime_type: (string | null)
|
|
111847
|
+
product_id: string
|
|
111848
|
+
occurred_at: string
|
|
111849
|
+
connector_id: string
|
|
111850
|
+
resource_state: string
|
|
111851
|
+
} | {
|
|
111852
|
+
found: false
|
|
111853
|
+
})
|
|
111854
|
+
|
|
111855
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
111856
|
+
/**
|
|
111857
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
111858
|
+
*/
|
|
111859
|
+
fileId?: string
|
|
111860
|
+
}
|
|
111861
|
+
|
|
111862
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
111863
|
+
minted: boolean
|
|
111864
|
+
file_id: (string | null)
|
|
111865
|
+
file_name: (string | null)
|
|
111866
|
+
mime_type: (string | null)
|
|
111867
|
+
file_count: number
|
|
111868
|
+
get_status: number
|
|
111869
|
+
list_status: number
|
|
111870
|
+
vend_status: number
|
|
111871
|
+
content_bytes: (number | null)
|
|
111872
|
+
}
|
|
111873
|
+
|
|
111874
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
111875
|
+
|
|
111876
|
+
}
|
|
111877
|
+
|
|
111878
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
111879
|
+
minted: boolean
|
|
111880
|
+
vended: boolean
|
|
111881
|
+
customer_id: (string | null)
|
|
111882
|
+
vend_status: number
|
|
111883
|
+
result_count: number
|
|
111884
|
+
search_status: number
|
|
111885
|
+
login_customer_id: (string | null)
|
|
111886
|
+
}
|
|
111887
|
+
|
|
111888
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
111889
|
+
|
|
111890
|
+
}
|
|
111891
|
+
|
|
111892
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
111893
|
+
blocked: boolean
|
|
111894
|
+
archived: boolean
|
|
111895
|
+
productId: string
|
|
111896
|
+
lastBlockTransition: ({
|
|
111897
|
+
eventId: string
|
|
111898
|
+
eventName: string
|
|
111899
|
+
productId: string
|
|
111900
|
+
occurredAt: string
|
|
111901
|
+
recordedAt: string
|
|
111902
|
+
receiptCount: number
|
|
111903
|
+
organizationId: string
|
|
111904
|
+
cascadedFromOrg: boolean
|
|
111905
|
+
} | null)
|
|
111906
|
+
lastArchiveTransition: ({
|
|
111907
|
+
eventId: string
|
|
111908
|
+
eventName: string
|
|
111909
|
+
productId: string
|
|
111910
|
+
occurredAt: string
|
|
111911
|
+
recordedAt: string
|
|
111912
|
+
receiptCount: number
|
|
111913
|
+
organizationId: string
|
|
111914
|
+
cascadedFromOrg: boolean
|
|
111915
|
+
} | null)
|
|
111916
|
+
}
|
|
111917
|
+
|
|
111918
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
111919
|
+
|
|
111920
|
+
}
|
|
111921
|
+
|
|
111922
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
111923
|
+
eventId: string
|
|
111924
|
+
eventName: string
|
|
111925
|
+
productId: string
|
|
111926
|
+
occurredAt: string
|
|
111927
|
+
recordedAt: string
|
|
111928
|
+
receiptCount: number
|
|
111929
|
+
organizationId: string
|
|
111930
|
+
cascadedFromOrg: boolean
|
|
111931
|
+
}[]
|
|
111932
|
+
|
|
111933
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
111934
|
+
|
|
111935
|
+
}
|
|
111936
|
+
|
|
111937
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
111938
|
+
payload?: unknown
|
|
111939
|
+
event_id: string
|
|
111940
|
+
provider: string
|
|
111941
|
+
verified: boolean
|
|
111942
|
+
product_id: string
|
|
111943
|
+
occurred_at: string
|
|
111944
|
+
connector_id: string
|
|
111945
|
+
delivery_count: number
|
|
111946
|
+
} | {
|
|
111947
|
+
found: false
|
|
111948
|
+
})
|
|
111949
|
+
|
|
111950
|
+
export interface PlaygroundWorkflowEchoInput {
|
|
111951
|
+
/**
|
|
111952
|
+
* The text to store, 1–1024 characters
|
|
111953
|
+
*/
|
|
111954
|
+
note: string
|
|
111955
|
+
/**
|
|
111956
|
+
* Optional labels stored alongside the note, at most 20
|
|
111957
|
+
*
|
|
111958
|
+
* @maxItems 20
|
|
111959
|
+
*/
|
|
111960
|
+
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]
|
|
111961
|
+
}
|
|
111962
|
+
|
|
111963
|
+
export interface PlaygroundWorkflowEchoOutput {
|
|
111964
|
+
/**
|
|
111965
|
+
* Identifier of the stored echo
|
|
111966
|
+
*/
|
|
111967
|
+
id: string
|
|
111968
|
+
/**
|
|
111969
|
+
* The note exactly as it was received
|
|
111970
|
+
*/
|
|
111971
|
+
note: string
|
|
111972
|
+
/**
|
|
111973
|
+
* The tags exactly as they were received
|
|
111974
|
+
*/
|
|
111975
|
+
tags: string[]
|
|
111976
|
+
/**
|
|
111977
|
+
* 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.
|
|
111978
|
+
*/
|
|
111979
|
+
echo_id: string
|
|
111980
|
+
/**
|
|
111981
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
111982
|
+
*/
|
|
111983
|
+
received_at: string
|
|
111984
|
+
}
|
|
111985
|
+
|
|
111986
|
+
export interface PlaygroundWorkflowEchoListInput {
|
|
111987
|
+
|
|
111988
|
+
}
|
|
111989
|
+
|
|
111990
|
+
export type PlaygroundWorkflowEchoListOutput = {
|
|
111991
|
+
/**
|
|
111992
|
+
* Identifier of the stored echo
|
|
111993
|
+
*/
|
|
111994
|
+
id: string
|
|
111995
|
+
/**
|
|
111996
|
+
* The note exactly as it was received
|
|
111997
|
+
*/
|
|
111998
|
+
note: string
|
|
111999
|
+
/**
|
|
112000
|
+
* The tags exactly as they were received
|
|
112001
|
+
*/
|
|
112002
|
+
tags: string[]
|
|
112003
|
+
/**
|
|
112004
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
112005
|
+
*/
|
|
112006
|
+
received_at: string
|
|
112007
|
+
}[]
|
|
112008
|
+
|
|
112009
|
+
export interface PlaygroundWorkflowPingInput {
|
|
112010
|
+
/**
|
|
112011
|
+
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
112012
|
+
*/
|
|
112013
|
+
kind?: string
|
|
112014
|
+
}
|
|
112015
|
+
|
|
112016
|
+
export interface PlaygroundWorkflowPingOutput {
|
|
112017
|
+
/**
|
|
112018
|
+
* 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.
|
|
112019
|
+
*/
|
|
112020
|
+
id: string
|
|
112021
|
+
/**
|
|
112022
|
+
* The name of the event that was published
|
|
112023
|
+
*/
|
|
112024
|
+
event: string
|
|
112025
|
+
}
|
|
112026
|
+
|
|
112027
|
+
export interface PlaygroundWorkflowSubjectsListInput {
|
|
112028
|
+
/**
|
|
112029
|
+
* How many subjects to return, 1–100. Defaults to 25.
|
|
112030
|
+
*/
|
|
112031
|
+
limit?: number
|
|
112032
|
+
/**
|
|
112033
|
+
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
112034
|
+
*/
|
|
112035
|
+
cursor?: string
|
|
112036
|
+
/**
|
|
112037
|
+
* 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.
|
|
112038
|
+
*/
|
|
112039
|
+
last_activity_after?: string
|
|
112040
|
+
/**
|
|
112041
|
+
* 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.
|
|
112042
|
+
*/
|
|
112043
|
+
last_activity_before?: string
|
|
112044
|
+
}
|
|
112045
|
+
|
|
112046
|
+
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
112047
|
+
/**
|
|
112048
|
+
* This page of subjects, most recently active first
|
|
112049
|
+
*/
|
|
112050
|
+
items: {
|
|
112051
|
+
/**
|
|
112052
|
+
* 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.
|
|
112053
|
+
*/
|
|
112054
|
+
subject_key: string
|
|
112055
|
+
/**
|
|
112056
|
+
* Human-readable name of the subject
|
|
112057
|
+
*/
|
|
112058
|
+
display_name: string
|
|
112059
|
+
/**
|
|
112060
|
+
* ISO-8601 instant (UTC) of the subject last activity
|
|
112061
|
+
*/
|
|
112062
|
+
last_activity_at: string
|
|
112063
|
+
}[]
|
|
112064
|
+
/**
|
|
112065
|
+
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
112066
|
+
*/
|
|
112067
|
+
has_more: boolean
|
|
112068
|
+
/**
|
|
112069
|
+
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
112070
|
+
*/
|
|
112071
|
+
next_cursor: (string | null)
|
|
112072
|
+
}
|
|
112073
|
+
|
|
112074
|
+
export interface PlaygroundWsEchoInput {
|
|
112075
|
+
|
|
112076
|
+
}
|
|
112077
|
+
|
|
112078
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
112079
|
+
|
|
111690
112080
|
export interface RealtimeArchiveExportInput {
|
|
111691
112081
|
/**
|
|
111692
112082
|
* Only entries with ts <= to_ts (epoch ms)
|