@lessly/sdk-app 118.0.0 → 118.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -33
- 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 +334 -8
- package/dist/chunk-LH7IJHII.js +12399 -0
- package/dist/chunk-LH7IJHII.js.map +1 -0
- package/dist/index.cjs +224 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +22 -12228
- 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 +380 -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
|
@@ -362170,7 +362170,7 @@ path?: string
|
|
|
362170
362170
|
type: "git"
|
|
362171
362171
|
build?: {
|
|
362172
362172
|
/**
|
|
362173
|
-
* Names of existing secret variables to expose to a git Docker build as BuildKit secret ids KEY and lowercase(key). Values are never included in the service response.
|
|
362173
|
+
* Names of existing secret variables to expose to a git Docker build as BuildKit secret ids KEY and lowercase(key). Values are never included in the service response. In the Dockerfile a build secret is a file only: RUN --mount=type=secret,id=<key> and read /run/secrets/<key>; env= is not supported.
|
|
362174
362174
|
*
|
|
362175
362175
|
* @maxItems 20
|
|
362176
362176
|
*/
|
|
@@ -363921,7 +363921,7 @@ path?: string
|
|
|
363921
363921
|
type: "git"
|
|
363922
363922
|
build?: {
|
|
363923
363923
|
/**
|
|
363924
|
-
* Names of existing secret variables to expose to a git Docker build as BuildKit secret ids KEY and lowercase(key). Values are never included in the service response.
|
|
363924
|
+
* Names of existing secret variables to expose to a git Docker build as BuildKit secret ids KEY and lowercase(key). Values are never included in the service response. In the Dockerfile a build secret is a file only: RUN --mount=type=secret,id=<key> and read /run/secrets/<key>; env= is not supported.
|
|
363925
363925
|
*
|
|
363926
363926
|
* @maxItems 20
|
|
363927
363927
|
*/
|
|
@@ -364024,7 +364024,7 @@ path?: string
|
|
|
364024
364024
|
type: "git"
|
|
364025
364025
|
build?: {
|
|
364026
364026
|
/**
|
|
364027
|
-
* Names of existing secret variables to expose to a git Docker build as BuildKit secret ids KEY and lowercase(key). Values are never included in the service response.
|
|
364027
|
+
* Names of existing secret variables to expose to a git Docker build as BuildKit secret ids KEY and lowercase(key). Values are never included in the service response. In the Dockerfile a build secret is a file only: RUN --mount=type=secret,id=<key> and read /run/secrets/<key>; env= is not supported.
|
|
364028
364028
|
*
|
|
364029
364029
|
* @maxItems 20
|
|
364030
364030
|
*/
|
|
@@ -364191,7 +364191,7 @@ path?: string
|
|
|
364191
364191
|
type: "git"
|
|
364192
364192
|
build?: {
|
|
364193
364193
|
/**
|
|
364194
|
-
* Names of existing secret variables to expose to a git Docker build as BuildKit secret ids KEY and lowercase(key). Values are never included in the service response.
|
|
364194
|
+
* Names of existing secret variables to expose to a git Docker build as BuildKit secret ids KEY and lowercase(key). Values are never included in the service response. In the Dockerfile a build secret is a file only: RUN --mount=type=secret,id=<key> and read /run/secrets/<key>; env= is not supported.
|
|
364195
364195
|
*
|
|
364196
364196
|
* @maxItems 20
|
|
364197
364197
|
*/
|
|
@@ -364325,7 +364325,7 @@ path?: string
|
|
|
364325
364325
|
type: "git"
|
|
364326
364326
|
build?: {
|
|
364327
364327
|
/**
|
|
364328
|
-
* Names of existing secret variables to expose to a git Docker build as BuildKit secret ids KEY and lowercase(key). Values are never included in the service response.
|
|
364328
|
+
* Names of existing secret variables to expose to a git Docker build as BuildKit secret ids KEY and lowercase(key). Values are never included in the service response. In the Dockerfile a build secret is a file only: RUN --mount=type=secret,id=<key> and read /run/secrets/<key>; env= is not supported.
|
|
364329
364329
|
*
|
|
364330
364330
|
* @maxItems 20
|
|
364331
364331
|
*/
|
|
@@ -364538,7 +364538,7 @@ path?: string
|
|
|
364538
364538
|
type: "git"
|
|
364539
364539
|
build?: {
|
|
364540
364540
|
/**
|
|
364541
|
-
* Names of existing secret variables to expose to a git Docker build as BuildKit secret ids KEY and lowercase(key). Values are never included in the service response.
|
|
364541
|
+
* Names of existing secret variables to expose to a git Docker build as BuildKit secret ids KEY and lowercase(key). Values are never included in the service response. In the Dockerfile a build secret is a file only: RUN --mount=type=secret,id=<key> and read /run/secrets/<key>; env= is not supported.
|
|
364542
364542
|
*
|
|
364543
364543
|
* @maxItems 20
|
|
364544
364544
|
*/
|
|
@@ -364667,7 +364667,7 @@ path?: string
|
|
|
364667
364667
|
type: "git"
|
|
364668
364668
|
build?: {
|
|
364669
364669
|
/**
|
|
364670
|
-
* Names of existing secret variables to expose to a git Docker build as BuildKit secret ids KEY and lowercase(key). Values are never included in the service response.
|
|
364670
|
+
* Names of existing secret variables to expose to a git Docker build as BuildKit secret ids KEY and lowercase(key). Values are never included in the service response. In the Dockerfile a build secret is a file only: RUN --mount=type=secret,id=<key> and read /run/secrets/<key>; env= is not supported.
|
|
364671
364671
|
*
|
|
364672
364672
|
* @maxItems 20
|
|
364673
364673
|
*/
|
|
@@ -364780,7 +364780,7 @@ path?: string
|
|
|
364780
364780
|
type: "git"
|
|
364781
364781
|
build?: {
|
|
364782
364782
|
/**
|
|
364783
|
-
* Names of existing secret variables to expose to a git Docker build as BuildKit secret ids KEY and lowercase(key). Values are never included in the service response.
|
|
364783
|
+
* Names of existing secret variables to expose to a git Docker build as BuildKit secret ids KEY and lowercase(key). Values are never included in the service response. In the Dockerfile a build secret is a file only: RUN --mount=type=secret,id=<key> and read /run/secrets/<key>; env= is not supported.
|
|
364784
364784
|
*
|
|
364785
364785
|
* @maxItems 20
|
|
364786
364786
|
*/
|
|
@@ -381551,6 +381551,378 @@ export interface OrganizationYoutubeInstallOutput {
|
|
|
381551
381551
|
url: string
|
|
381552
381552
|
}
|
|
381553
381553
|
|
|
381554
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
381555
|
+
/**
|
|
381556
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
381557
|
+
*/
|
|
381558
|
+
limit?: number
|
|
381559
|
+
}
|
|
381560
|
+
|
|
381561
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
381562
|
+
ok: boolean
|
|
381563
|
+
minted: boolean
|
|
381564
|
+
overview?: unknown
|
|
381565
|
+
http_status: number
|
|
381566
|
+
}
|
|
381567
|
+
|
|
381568
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
381569
|
+
|
|
381570
|
+
}
|
|
381571
|
+
|
|
381572
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
381573
|
+
ok: boolean
|
|
381574
|
+
minted: boolean
|
|
381575
|
+
http_status: number
|
|
381576
|
+
entitlements?: unknown
|
|
381577
|
+
}
|
|
381578
|
+
|
|
381579
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
381580
|
+
/**
|
|
381581
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
381582
|
+
*/
|
|
381583
|
+
value?: number
|
|
381584
|
+
}
|
|
381585
|
+
|
|
381586
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
381587
|
+
minted: boolean
|
|
381588
|
+
accepted: (number | null)
|
|
381589
|
+
recorded: boolean
|
|
381590
|
+
duplicates: (number | null)
|
|
381591
|
+
http_status: number
|
|
381592
|
+
}
|
|
381593
|
+
|
|
381594
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
381595
|
+
/**
|
|
381596
|
+
* Task title; defaults to a fixture label
|
|
381597
|
+
*/
|
|
381598
|
+
name?: string
|
|
381599
|
+
/**
|
|
381600
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
381601
|
+
*/
|
|
381602
|
+
listId?: string
|
|
381603
|
+
}
|
|
381604
|
+
|
|
381605
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
381606
|
+
minted: boolean
|
|
381607
|
+
task_id: (string | null)
|
|
381608
|
+
list_status: number
|
|
381609
|
+
vend_status: number
|
|
381610
|
+
clickup_status: number
|
|
381611
|
+
installation_count: number
|
|
381612
|
+
}
|
|
381613
|
+
|
|
381614
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
381615
|
+
|
|
381616
|
+
}
|
|
381617
|
+
|
|
381618
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
381619
|
+
payload: string
|
|
381620
|
+
event_id: string
|
|
381621
|
+
provider: string
|
|
381622
|
+
verified: boolean
|
|
381623
|
+
product_id: string
|
|
381624
|
+
occurred_at: string
|
|
381625
|
+
connector_id: string
|
|
381626
|
+
clickup_event: (string | null)
|
|
381627
|
+
receipt_count: number
|
|
381628
|
+
} | {
|
|
381629
|
+
found: false
|
|
381630
|
+
})
|
|
381631
|
+
|
|
381632
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
381633
|
+
|
|
381634
|
+
}
|
|
381635
|
+
|
|
381636
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
381637
|
+
team: ({
|
|
381638
|
+
teamId: string
|
|
381639
|
+
teamName: string
|
|
381640
|
+
} | null)
|
|
381641
|
+
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
381642
|
+
tasks: {
|
|
381643
|
+
id: string
|
|
381644
|
+
name: string
|
|
381645
|
+
status: (string | null)
|
|
381646
|
+
}[]
|
|
381647
|
+
minted: boolean
|
|
381648
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
381649
|
+
list_status: number
|
|
381650
|
+
vend_status: number
|
|
381651
|
+
lists_status: number
|
|
381652
|
+
tasks_status: number
|
|
381653
|
+
spaces_status: number
|
|
381654
|
+
folders_status: number
|
|
381655
|
+
installation_count: number
|
|
381656
|
+
}
|
|
381657
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
381658
|
+
id: string
|
|
381659
|
+
name: string
|
|
381660
|
+
}
|
|
381661
|
+
|
|
381662
|
+
export interface PlaygroundEchoPingInput {
|
|
381663
|
+
/**
|
|
381664
|
+
* The text to echo back, 1–1024 characters
|
|
381665
|
+
*/
|
|
381666
|
+
message: string
|
|
381667
|
+
}
|
|
381668
|
+
|
|
381669
|
+
export interface PlaygroundEchoPingOutput {
|
|
381670
|
+
/**
|
|
381671
|
+
* The message exactly as it was received
|
|
381672
|
+
*/
|
|
381673
|
+
message: string
|
|
381674
|
+
/**
|
|
381675
|
+
* The product the call was resolved to
|
|
381676
|
+
*/
|
|
381677
|
+
productId: string
|
|
381678
|
+
/**
|
|
381679
|
+
* ISO-8601 instant (UTC) at which the call reached the service
|
|
381680
|
+
*/
|
|
381681
|
+
receivedAt: string
|
|
381682
|
+
}
|
|
381683
|
+
|
|
381684
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
381685
|
+
|
|
381686
|
+
}
|
|
381687
|
+
|
|
381688
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
381689
|
+
file_id: string
|
|
381690
|
+
removed: boolean
|
|
381691
|
+
file_name: (string | null)
|
|
381692
|
+
mime_type: (string | null)
|
|
381693
|
+
product_id: string
|
|
381694
|
+
occurred_at: string
|
|
381695
|
+
connector_id: string
|
|
381696
|
+
resource_state: string
|
|
381697
|
+
} | {
|
|
381698
|
+
found: false
|
|
381699
|
+
})
|
|
381700
|
+
|
|
381701
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
381702
|
+
/**
|
|
381703
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
381704
|
+
*/
|
|
381705
|
+
fileId?: string
|
|
381706
|
+
}
|
|
381707
|
+
|
|
381708
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
381709
|
+
minted: boolean
|
|
381710
|
+
file_id: (string | null)
|
|
381711
|
+
file_name: (string | null)
|
|
381712
|
+
mime_type: (string | null)
|
|
381713
|
+
file_count: number
|
|
381714
|
+
get_status: number
|
|
381715
|
+
list_status: number
|
|
381716
|
+
vend_status: number
|
|
381717
|
+
content_bytes: (number | null)
|
|
381718
|
+
}
|
|
381719
|
+
|
|
381720
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
381721
|
+
|
|
381722
|
+
}
|
|
381723
|
+
|
|
381724
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
381725
|
+
minted: boolean
|
|
381726
|
+
vended: boolean
|
|
381727
|
+
customer_id: (string | null)
|
|
381728
|
+
vend_status: number
|
|
381729
|
+
result_count: number
|
|
381730
|
+
search_status: number
|
|
381731
|
+
login_customer_id: (string | null)
|
|
381732
|
+
}
|
|
381733
|
+
|
|
381734
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
381735
|
+
|
|
381736
|
+
}
|
|
381737
|
+
|
|
381738
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
381739
|
+
blocked: boolean
|
|
381740
|
+
archived: boolean
|
|
381741
|
+
productId: string
|
|
381742
|
+
lastBlockTransition: ({
|
|
381743
|
+
eventId: string
|
|
381744
|
+
eventName: string
|
|
381745
|
+
productId: string
|
|
381746
|
+
occurredAt: string
|
|
381747
|
+
recordedAt: string
|
|
381748
|
+
receiptCount: number
|
|
381749
|
+
organizationId: string
|
|
381750
|
+
cascadedFromOrg: boolean
|
|
381751
|
+
} | null)
|
|
381752
|
+
lastArchiveTransition: ({
|
|
381753
|
+
eventId: string
|
|
381754
|
+
eventName: string
|
|
381755
|
+
productId: string
|
|
381756
|
+
occurredAt: string
|
|
381757
|
+
recordedAt: string
|
|
381758
|
+
receiptCount: number
|
|
381759
|
+
organizationId: string
|
|
381760
|
+
cascadedFromOrg: boolean
|
|
381761
|
+
} | null)
|
|
381762
|
+
}
|
|
381763
|
+
|
|
381764
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
381765
|
+
|
|
381766
|
+
}
|
|
381767
|
+
|
|
381768
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
381769
|
+
eventId: string
|
|
381770
|
+
eventName: string
|
|
381771
|
+
productId: string
|
|
381772
|
+
occurredAt: string
|
|
381773
|
+
recordedAt: string
|
|
381774
|
+
receiptCount: number
|
|
381775
|
+
organizationId: string
|
|
381776
|
+
cascadedFromOrg: boolean
|
|
381777
|
+
}[]
|
|
381778
|
+
|
|
381779
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
381780
|
+
|
|
381781
|
+
}
|
|
381782
|
+
|
|
381783
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
381784
|
+
payload?: unknown
|
|
381785
|
+
event_id: string
|
|
381786
|
+
provider: string
|
|
381787
|
+
verified: boolean
|
|
381788
|
+
product_id: string
|
|
381789
|
+
occurred_at: string
|
|
381790
|
+
connector_id: string
|
|
381791
|
+
delivery_count: number
|
|
381792
|
+
} | {
|
|
381793
|
+
found: false
|
|
381794
|
+
})
|
|
381795
|
+
|
|
381796
|
+
export interface PlaygroundWorkflowEchoInput {
|
|
381797
|
+
/**
|
|
381798
|
+
* The text to store, 1–1024 characters
|
|
381799
|
+
*/
|
|
381800
|
+
note: string
|
|
381801
|
+
/**
|
|
381802
|
+
* Optional labels stored alongside the note, at most 20
|
|
381803
|
+
*
|
|
381804
|
+
* @maxItems 20
|
|
381805
|
+
*/
|
|
381806
|
+
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]
|
|
381807
|
+
}
|
|
381808
|
+
|
|
381809
|
+
export interface PlaygroundWorkflowEchoOutput {
|
|
381810
|
+
/**
|
|
381811
|
+
* Identifier of the stored echo
|
|
381812
|
+
*/
|
|
381813
|
+
id: string
|
|
381814
|
+
/**
|
|
381815
|
+
* The note exactly as it was received
|
|
381816
|
+
*/
|
|
381817
|
+
note: string
|
|
381818
|
+
/**
|
|
381819
|
+
* The tags exactly as they were received
|
|
381820
|
+
*/
|
|
381821
|
+
tags: string[]
|
|
381822
|
+
/**
|
|
381823
|
+
* 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.
|
|
381824
|
+
*/
|
|
381825
|
+
echo_id: string
|
|
381826
|
+
/**
|
|
381827
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
381828
|
+
*/
|
|
381829
|
+
received_at: string
|
|
381830
|
+
}
|
|
381831
|
+
|
|
381832
|
+
export interface PlaygroundWorkflowEchoListInput {
|
|
381833
|
+
|
|
381834
|
+
}
|
|
381835
|
+
|
|
381836
|
+
export type PlaygroundWorkflowEchoListOutput = {
|
|
381837
|
+
/**
|
|
381838
|
+
* Identifier of the stored echo
|
|
381839
|
+
*/
|
|
381840
|
+
id: string
|
|
381841
|
+
/**
|
|
381842
|
+
* The note exactly as it was received
|
|
381843
|
+
*/
|
|
381844
|
+
note: string
|
|
381845
|
+
/**
|
|
381846
|
+
* The tags exactly as they were received
|
|
381847
|
+
*/
|
|
381848
|
+
tags: string[]
|
|
381849
|
+
/**
|
|
381850
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
381851
|
+
*/
|
|
381852
|
+
received_at: string
|
|
381853
|
+
}[]
|
|
381854
|
+
|
|
381855
|
+
export interface PlaygroundWorkflowPingInput {
|
|
381856
|
+
/**
|
|
381857
|
+
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
381858
|
+
*/
|
|
381859
|
+
kind?: string
|
|
381860
|
+
}
|
|
381861
|
+
|
|
381862
|
+
export interface PlaygroundWorkflowPingOutput {
|
|
381863
|
+
/**
|
|
381864
|
+
* 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.
|
|
381865
|
+
*/
|
|
381866
|
+
id: string
|
|
381867
|
+
/**
|
|
381868
|
+
* The name of the event that was published
|
|
381869
|
+
*/
|
|
381870
|
+
event: string
|
|
381871
|
+
}
|
|
381872
|
+
|
|
381873
|
+
export interface PlaygroundWorkflowSubjectsListInput {
|
|
381874
|
+
/**
|
|
381875
|
+
* How many subjects to return, 1–100. Defaults to 25.
|
|
381876
|
+
*/
|
|
381877
|
+
limit?: number
|
|
381878
|
+
/**
|
|
381879
|
+
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
381880
|
+
*/
|
|
381881
|
+
cursor?: string
|
|
381882
|
+
/**
|
|
381883
|
+
* 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.
|
|
381884
|
+
*/
|
|
381885
|
+
last_activity_after?: string
|
|
381886
|
+
/**
|
|
381887
|
+
* 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.
|
|
381888
|
+
*/
|
|
381889
|
+
last_activity_before?: string
|
|
381890
|
+
}
|
|
381891
|
+
|
|
381892
|
+
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
381893
|
+
/**
|
|
381894
|
+
* This page of subjects, most recently active first
|
|
381895
|
+
*/
|
|
381896
|
+
items: {
|
|
381897
|
+
/**
|
|
381898
|
+
* 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.
|
|
381899
|
+
*/
|
|
381900
|
+
subject_key: string
|
|
381901
|
+
/**
|
|
381902
|
+
* Human-readable name of the subject
|
|
381903
|
+
*/
|
|
381904
|
+
display_name: string
|
|
381905
|
+
/**
|
|
381906
|
+
* ISO-8601 instant (UTC) of the subject last activity
|
|
381907
|
+
*/
|
|
381908
|
+
last_activity_at: string
|
|
381909
|
+
}[]
|
|
381910
|
+
/**
|
|
381911
|
+
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
381912
|
+
*/
|
|
381913
|
+
has_more: boolean
|
|
381914
|
+
/**
|
|
381915
|
+
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
381916
|
+
*/
|
|
381917
|
+
next_cursor: (string | null)
|
|
381918
|
+
}
|
|
381919
|
+
|
|
381920
|
+
export interface PlaygroundWsEchoInput {
|
|
381921
|
+
|
|
381922
|
+
}
|
|
381923
|
+
|
|
381924
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
381925
|
+
|
|
381554
381926
|
export interface RealtimeArchiveExportInput {
|
|
381555
381927
|
/**
|
|
381556
381928
|
* Only entries with ts <= to_ts (epoch ms)
|