@lessly/sdk-app 112.0.0 → 113.0.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 +7 -8
- 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 +336 -10
- package/dist/chunk-GTBSBXG4.js +12357 -0
- package/dist/chunk-GTBSBXG4.js.map +1 -0
- package/dist/index.cjs +224 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +22 -12186
- 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 +382 -10
|
@@ -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
|
@@ -40113,7 +40113,7 @@ from: string
|
|
|
40113
40113
|
} | {
|
|
40114
40114
|
relative: ("last_7d" | "last_30d" | "last_90d" | "cycle")
|
|
40115
40115
|
})
|
|
40116
|
-
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot")
|
|
40116
|
+
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot" | "facts")
|
|
40117
40117
|
formula?: (string | null)
|
|
40118
40118
|
/**
|
|
40119
40119
|
* Up to four named formulas over the series keys, each its own column or line; use instead of formula
|
|
@@ -77922,7 +77922,7 @@ from: string
|
|
|
77922
77922
|
} | {
|
|
77923
77923
|
relative: ("last_7d" | "last_30d" | "last_90d" | "cycle")
|
|
77924
77924
|
})
|
|
77925
|
-
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot")
|
|
77925
|
+
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot" | "facts")
|
|
77926
77926
|
formula?: (string | null)
|
|
77927
77927
|
/**
|
|
77928
77928
|
* Up to four named formulas over the series keys, each its own column or line; use instead of formula
|
|
@@ -117367,9 +117367,9 @@ from: string
|
|
|
117367
117367
|
relative: ("last_7d" | "last_30d" | "last_90d" | "cycle")
|
|
117368
117368
|
})
|
|
117369
117369
|
/**
|
|
117370
|
-
* How to show the insight. Defaults to steps for a funnel insight, line otherwise. steps is for a funnel only; pivot is a table of rows per group value across series
|
|
117370
|
+
* How to show the insight. Defaults to steps for a funnel insight, line otherwise. steps is for a funnel only; facts is for kind number only; pivot is a table of rows per group value across series
|
|
117371
117371
|
*/
|
|
117372
|
-
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot")
|
|
117372
|
+
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot" | "facts")
|
|
117373
117373
|
formula?: (string | null)
|
|
117374
117374
|
/**
|
|
117375
117375
|
* Up to four named formulas over the series keys, each its own column or line; use instead of formula
|
|
@@ -154400,7 +154400,7 @@ from: string
|
|
|
154400
154400
|
} | {
|
|
154401
154401
|
relative: ("last_7d" | "last_30d" | "last_90d" | "cycle")
|
|
154402
154402
|
})
|
|
154403
|
-
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot")
|
|
154403
|
+
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot" | "facts")
|
|
154404
154404
|
formula?: (string | null)
|
|
154405
154405
|
/**
|
|
154406
154406
|
* Up to four named formulas over the series keys, each its own column or line; use instead of formula
|
|
@@ -191459,7 +191459,7 @@ from: string
|
|
|
191459
191459
|
} | {
|
|
191460
191460
|
relative: ("last_7d" | "last_30d" | "last_90d" | "cycle")
|
|
191461
191461
|
})
|
|
191462
|
-
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot")
|
|
191462
|
+
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot" | "facts")
|
|
191463
191463
|
formula?: (string | null)
|
|
191464
191464
|
/**
|
|
191465
191465
|
* Up to four named formulas over the series keys, each its own column or line; use instead of formula
|
|
@@ -228506,7 +228506,7 @@ from: string
|
|
|
228506
228506
|
} | {
|
|
228507
228507
|
relative: ("last_7d" | "last_30d" | "last_90d" | "cycle")
|
|
228508
228508
|
})
|
|
228509
|
-
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot")
|
|
228509
|
+
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot" | "facts")
|
|
228510
228510
|
formula?: (string | null)
|
|
228511
228511
|
/**
|
|
228512
228512
|
* Up to four named formulas over the series keys, each its own column or line; use instead of formula
|
|
@@ -265365,7 +265365,7 @@ from: string
|
|
|
265365
265365
|
} | {
|
|
265366
265366
|
relative: ("last_7d" | "last_30d" | "last_90d" | "cycle")
|
|
265367
265367
|
})
|
|
265368
|
-
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot")
|
|
265368
|
+
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot" | "facts")
|
|
265369
265369
|
formula?: (string | null)
|
|
265370
265370
|
/**
|
|
265371
265371
|
* Up to four named formulas over the series keys, each its own column or line; use instead of formula
|
|
@@ -302167,7 +302167,7 @@ from: string
|
|
|
302167
302167
|
} | {
|
|
302168
302168
|
relative: ("last_7d" | "last_30d" | "last_90d" | "cycle")
|
|
302169
302169
|
})
|
|
302170
|
-
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot")
|
|
302170
|
+
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot" | "facts")
|
|
302171
302171
|
formula?: (string | null)
|
|
302172
302172
|
/**
|
|
302173
302173
|
* Up to four named formulas over the series keys, each its own column or line; use instead of formula
|
|
@@ -339195,7 +339195,7 @@ from: string
|
|
|
339195
339195
|
} | {
|
|
339196
339196
|
relative: ("last_7d" | "last_30d" | "last_90d" | "cycle")
|
|
339197
339197
|
})
|
|
339198
|
-
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot")
|
|
339198
|
+
display?: ("line" | "bar" | "bold_number" | "table" | "steps" | "pivot" | "facts")
|
|
339199
339199
|
formula?: (string | null)
|
|
339200
339200
|
/**
|
|
339201
339201
|
* Up to four named formulas over the series keys, each its own column or line; use instead of formula
|
|
@@ -381118,6 +381118,378 @@ export interface OrganizationYoutubeInstallOutput {
|
|
|
381118
381118
|
url: string
|
|
381119
381119
|
}
|
|
381120
381120
|
|
|
381121
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
381122
|
+
/**
|
|
381123
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
381124
|
+
*/
|
|
381125
|
+
limit?: number
|
|
381126
|
+
}
|
|
381127
|
+
|
|
381128
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
381129
|
+
ok: boolean
|
|
381130
|
+
minted: boolean
|
|
381131
|
+
overview?: unknown
|
|
381132
|
+
http_status: number
|
|
381133
|
+
}
|
|
381134
|
+
|
|
381135
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
381136
|
+
|
|
381137
|
+
}
|
|
381138
|
+
|
|
381139
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
381140
|
+
ok: boolean
|
|
381141
|
+
minted: boolean
|
|
381142
|
+
http_status: number
|
|
381143
|
+
entitlements?: unknown
|
|
381144
|
+
}
|
|
381145
|
+
|
|
381146
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
381147
|
+
/**
|
|
381148
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
381149
|
+
*/
|
|
381150
|
+
value?: number
|
|
381151
|
+
}
|
|
381152
|
+
|
|
381153
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
381154
|
+
minted: boolean
|
|
381155
|
+
accepted: (number | null)
|
|
381156
|
+
recorded: boolean
|
|
381157
|
+
duplicates: (number | null)
|
|
381158
|
+
http_status: number
|
|
381159
|
+
}
|
|
381160
|
+
|
|
381161
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
381162
|
+
/**
|
|
381163
|
+
* Task title; defaults to a fixture label
|
|
381164
|
+
*/
|
|
381165
|
+
name?: string
|
|
381166
|
+
/**
|
|
381167
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
381168
|
+
*/
|
|
381169
|
+
listId?: string
|
|
381170
|
+
}
|
|
381171
|
+
|
|
381172
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
381173
|
+
minted: boolean
|
|
381174
|
+
task_id: (string | null)
|
|
381175
|
+
list_status: number
|
|
381176
|
+
vend_status: number
|
|
381177
|
+
clickup_status: number
|
|
381178
|
+
installation_count: number
|
|
381179
|
+
}
|
|
381180
|
+
|
|
381181
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
381182
|
+
|
|
381183
|
+
}
|
|
381184
|
+
|
|
381185
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
381186
|
+
payload: string
|
|
381187
|
+
event_id: string
|
|
381188
|
+
provider: string
|
|
381189
|
+
verified: boolean
|
|
381190
|
+
product_id: string
|
|
381191
|
+
occurred_at: string
|
|
381192
|
+
connector_id: string
|
|
381193
|
+
clickup_event: (string | null)
|
|
381194
|
+
receipt_count: number
|
|
381195
|
+
} | {
|
|
381196
|
+
found: false
|
|
381197
|
+
})
|
|
381198
|
+
|
|
381199
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
381200
|
+
|
|
381201
|
+
}
|
|
381202
|
+
|
|
381203
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
381204
|
+
team: ({
|
|
381205
|
+
teamId: string
|
|
381206
|
+
teamName: string
|
|
381207
|
+
} | null)
|
|
381208
|
+
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
381209
|
+
tasks: {
|
|
381210
|
+
id: string
|
|
381211
|
+
name: string
|
|
381212
|
+
status: (string | null)
|
|
381213
|
+
}[]
|
|
381214
|
+
minted: boolean
|
|
381215
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
381216
|
+
list_status: number
|
|
381217
|
+
vend_status: number
|
|
381218
|
+
lists_status: number
|
|
381219
|
+
tasks_status: number
|
|
381220
|
+
spaces_status: number
|
|
381221
|
+
folders_status: number
|
|
381222
|
+
installation_count: number
|
|
381223
|
+
}
|
|
381224
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
381225
|
+
id: string
|
|
381226
|
+
name: string
|
|
381227
|
+
}
|
|
381228
|
+
|
|
381229
|
+
export interface PlaygroundEchoPingInput {
|
|
381230
|
+
/**
|
|
381231
|
+
* The text to echo back, 1–1024 characters
|
|
381232
|
+
*/
|
|
381233
|
+
message: string
|
|
381234
|
+
}
|
|
381235
|
+
|
|
381236
|
+
export interface PlaygroundEchoPingOutput {
|
|
381237
|
+
/**
|
|
381238
|
+
* The message exactly as it was received
|
|
381239
|
+
*/
|
|
381240
|
+
message: string
|
|
381241
|
+
/**
|
|
381242
|
+
* The product the call was resolved to
|
|
381243
|
+
*/
|
|
381244
|
+
productId: string
|
|
381245
|
+
/**
|
|
381246
|
+
* ISO-8601 instant (UTC) at which the call reached the service
|
|
381247
|
+
*/
|
|
381248
|
+
receivedAt: string
|
|
381249
|
+
}
|
|
381250
|
+
|
|
381251
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
381252
|
+
|
|
381253
|
+
}
|
|
381254
|
+
|
|
381255
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
381256
|
+
file_id: string
|
|
381257
|
+
removed: boolean
|
|
381258
|
+
file_name: (string | null)
|
|
381259
|
+
mime_type: (string | null)
|
|
381260
|
+
product_id: string
|
|
381261
|
+
occurred_at: string
|
|
381262
|
+
connector_id: string
|
|
381263
|
+
resource_state: string
|
|
381264
|
+
} | {
|
|
381265
|
+
found: false
|
|
381266
|
+
})
|
|
381267
|
+
|
|
381268
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
381269
|
+
/**
|
|
381270
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
381271
|
+
*/
|
|
381272
|
+
fileId?: string
|
|
381273
|
+
}
|
|
381274
|
+
|
|
381275
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
381276
|
+
minted: boolean
|
|
381277
|
+
file_id: (string | null)
|
|
381278
|
+
file_name: (string | null)
|
|
381279
|
+
mime_type: (string | null)
|
|
381280
|
+
file_count: number
|
|
381281
|
+
get_status: number
|
|
381282
|
+
list_status: number
|
|
381283
|
+
vend_status: number
|
|
381284
|
+
content_bytes: (number | null)
|
|
381285
|
+
}
|
|
381286
|
+
|
|
381287
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
381288
|
+
|
|
381289
|
+
}
|
|
381290
|
+
|
|
381291
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
381292
|
+
minted: boolean
|
|
381293
|
+
vended: boolean
|
|
381294
|
+
customer_id: (string | null)
|
|
381295
|
+
vend_status: number
|
|
381296
|
+
result_count: number
|
|
381297
|
+
search_status: number
|
|
381298
|
+
login_customer_id: (string | null)
|
|
381299
|
+
}
|
|
381300
|
+
|
|
381301
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
381302
|
+
|
|
381303
|
+
}
|
|
381304
|
+
|
|
381305
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
381306
|
+
blocked: boolean
|
|
381307
|
+
archived: boolean
|
|
381308
|
+
productId: string
|
|
381309
|
+
lastBlockTransition: ({
|
|
381310
|
+
eventId: string
|
|
381311
|
+
eventName: string
|
|
381312
|
+
productId: string
|
|
381313
|
+
occurredAt: string
|
|
381314
|
+
recordedAt: string
|
|
381315
|
+
receiptCount: number
|
|
381316
|
+
organizationId: string
|
|
381317
|
+
cascadedFromOrg: boolean
|
|
381318
|
+
} | null)
|
|
381319
|
+
lastArchiveTransition: ({
|
|
381320
|
+
eventId: string
|
|
381321
|
+
eventName: string
|
|
381322
|
+
productId: string
|
|
381323
|
+
occurredAt: string
|
|
381324
|
+
recordedAt: string
|
|
381325
|
+
receiptCount: number
|
|
381326
|
+
organizationId: string
|
|
381327
|
+
cascadedFromOrg: boolean
|
|
381328
|
+
} | null)
|
|
381329
|
+
}
|
|
381330
|
+
|
|
381331
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
381332
|
+
|
|
381333
|
+
}
|
|
381334
|
+
|
|
381335
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
381336
|
+
eventId: string
|
|
381337
|
+
eventName: string
|
|
381338
|
+
productId: string
|
|
381339
|
+
occurredAt: string
|
|
381340
|
+
recordedAt: string
|
|
381341
|
+
receiptCount: number
|
|
381342
|
+
organizationId: string
|
|
381343
|
+
cascadedFromOrg: boolean
|
|
381344
|
+
}[]
|
|
381345
|
+
|
|
381346
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
381347
|
+
|
|
381348
|
+
}
|
|
381349
|
+
|
|
381350
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
381351
|
+
payload?: unknown
|
|
381352
|
+
event_id: string
|
|
381353
|
+
provider: string
|
|
381354
|
+
verified: boolean
|
|
381355
|
+
product_id: string
|
|
381356
|
+
occurred_at: string
|
|
381357
|
+
connector_id: string
|
|
381358
|
+
delivery_count: number
|
|
381359
|
+
} | {
|
|
381360
|
+
found: false
|
|
381361
|
+
})
|
|
381362
|
+
|
|
381363
|
+
export interface PlaygroundWorkflowEchoInput {
|
|
381364
|
+
/**
|
|
381365
|
+
* The text to store, 1–1024 characters
|
|
381366
|
+
*/
|
|
381367
|
+
note: string
|
|
381368
|
+
/**
|
|
381369
|
+
* Optional labels stored alongside the note, at most 20
|
|
381370
|
+
*
|
|
381371
|
+
* @maxItems 20
|
|
381372
|
+
*/
|
|
381373
|
+
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]
|
|
381374
|
+
}
|
|
381375
|
+
|
|
381376
|
+
export interface PlaygroundWorkflowEchoOutput {
|
|
381377
|
+
/**
|
|
381378
|
+
* Identifier of the stored echo
|
|
381379
|
+
*/
|
|
381380
|
+
id: string
|
|
381381
|
+
/**
|
|
381382
|
+
* The note exactly as it was received
|
|
381383
|
+
*/
|
|
381384
|
+
note: string
|
|
381385
|
+
/**
|
|
381386
|
+
* The tags exactly as they were received
|
|
381387
|
+
*/
|
|
381388
|
+
tags: string[]
|
|
381389
|
+
/**
|
|
381390
|
+
* 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.
|
|
381391
|
+
*/
|
|
381392
|
+
echo_id: string
|
|
381393
|
+
/**
|
|
381394
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
381395
|
+
*/
|
|
381396
|
+
received_at: string
|
|
381397
|
+
}
|
|
381398
|
+
|
|
381399
|
+
export interface PlaygroundWorkflowEchoListInput {
|
|
381400
|
+
|
|
381401
|
+
}
|
|
381402
|
+
|
|
381403
|
+
export type PlaygroundWorkflowEchoListOutput = {
|
|
381404
|
+
/**
|
|
381405
|
+
* Identifier of the stored echo
|
|
381406
|
+
*/
|
|
381407
|
+
id: string
|
|
381408
|
+
/**
|
|
381409
|
+
* The note exactly as it was received
|
|
381410
|
+
*/
|
|
381411
|
+
note: string
|
|
381412
|
+
/**
|
|
381413
|
+
* The tags exactly as they were received
|
|
381414
|
+
*/
|
|
381415
|
+
tags: string[]
|
|
381416
|
+
/**
|
|
381417
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
381418
|
+
*/
|
|
381419
|
+
received_at: string
|
|
381420
|
+
}[]
|
|
381421
|
+
|
|
381422
|
+
export interface PlaygroundWorkflowPingInput {
|
|
381423
|
+
/**
|
|
381424
|
+
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
381425
|
+
*/
|
|
381426
|
+
kind?: string
|
|
381427
|
+
}
|
|
381428
|
+
|
|
381429
|
+
export interface PlaygroundWorkflowPingOutput {
|
|
381430
|
+
/**
|
|
381431
|
+
* 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.
|
|
381432
|
+
*/
|
|
381433
|
+
id: string
|
|
381434
|
+
/**
|
|
381435
|
+
* The name of the event that was published
|
|
381436
|
+
*/
|
|
381437
|
+
event: string
|
|
381438
|
+
}
|
|
381439
|
+
|
|
381440
|
+
export interface PlaygroundWorkflowSubjectsListInput {
|
|
381441
|
+
/**
|
|
381442
|
+
* How many subjects to return, 1–100. Defaults to 25.
|
|
381443
|
+
*/
|
|
381444
|
+
limit?: number
|
|
381445
|
+
/**
|
|
381446
|
+
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
381447
|
+
*/
|
|
381448
|
+
cursor?: string
|
|
381449
|
+
/**
|
|
381450
|
+
* 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.
|
|
381451
|
+
*/
|
|
381452
|
+
last_activity_after?: string
|
|
381453
|
+
/**
|
|
381454
|
+
* 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.
|
|
381455
|
+
*/
|
|
381456
|
+
last_activity_before?: string
|
|
381457
|
+
}
|
|
381458
|
+
|
|
381459
|
+
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
381460
|
+
/**
|
|
381461
|
+
* This page of subjects, most recently active first
|
|
381462
|
+
*/
|
|
381463
|
+
items: {
|
|
381464
|
+
/**
|
|
381465
|
+
* 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.
|
|
381466
|
+
*/
|
|
381467
|
+
subject_key: string
|
|
381468
|
+
/**
|
|
381469
|
+
* Human-readable name of the subject
|
|
381470
|
+
*/
|
|
381471
|
+
display_name: string
|
|
381472
|
+
/**
|
|
381473
|
+
* ISO-8601 instant (UTC) of the subject last activity
|
|
381474
|
+
*/
|
|
381475
|
+
last_activity_at: string
|
|
381476
|
+
}[]
|
|
381477
|
+
/**
|
|
381478
|
+
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
381479
|
+
*/
|
|
381480
|
+
has_more: boolean
|
|
381481
|
+
/**
|
|
381482
|
+
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
381483
|
+
*/
|
|
381484
|
+
next_cursor: (string | null)
|
|
381485
|
+
}
|
|
381486
|
+
|
|
381487
|
+
export interface PlaygroundWsEchoInput {
|
|
381488
|
+
|
|
381489
|
+
}
|
|
381490
|
+
|
|
381491
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
381492
|
+
|
|
381121
381493
|
export interface RealtimeArchiveExportInput {
|
|
381122
381494
|
/**
|
|
381123
381495
|
* Only entries with ts <= to_ts (epoch ms)
|