@lessly/sdk-app 99.9.0 → 99.10.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 +20 -10
- 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 +347 -0
- package/dist/chunk-UJS32PCC.js +11950 -0
- package/dist/chunk-UJS32PCC.js.map +1 -0
- package/dist/index.cjs +228 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +22 -11775
- 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 +393 -0
|
@@ -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
|
@@ -87139,6 +87139,7 @@ export interface DeploymentDeploymentCancelOutput {
|
|
|
87139
87139
|
id: string
|
|
87140
87140
|
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
87141
87141
|
builtAt: (string | null)
|
|
87142
|
+
trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null)
|
|
87142
87143
|
imageRef: (string | null)
|
|
87143
87144
|
commitSha: (string | null)
|
|
87144
87145
|
createdAt: string
|
|
@@ -87167,6 +87168,7 @@ export interface DeploymentDeploymentGetOutput {
|
|
|
87167
87168
|
id: string
|
|
87168
87169
|
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
87169
87170
|
builtAt: (string | null)
|
|
87171
|
+
trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null)
|
|
87170
87172
|
imageRef: (string | null)
|
|
87171
87173
|
commitSha: (string | null)
|
|
87172
87174
|
createdAt: string
|
|
@@ -87195,6 +87197,7 @@ export type DeploymentDeploymentListOutput = {
|
|
|
87195
87197
|
id: string
|
|
87196
87198
|
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
87197
87199
|
builtAt: (string | null)
|
|
87200
|
+
trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null)
|
|
87198
87201
|
imageRef: (string | null)
|
|
87199
87202
|
commitSha: (string | null)
|
|
87200
87203
|
createdAt: string
|
|
@@ -87241,6 +87244,12 @@ hostname: string
|
|
|
87241
87244
|
createdAt: string
|
|
87242
87245
|
tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
87243
87246
|
updatedAt: string
|
|
87247
|
+
managedDns?: ({
|
|
87248
|
+
mode: "external"
|
|
87249
|
+
note: string
|
|
87250
|
+
tool: "organization_domains_set-mode"
|
|
87251
|
+
governanceDomainId: string
|
|
87252
|
+
} | null)
|
|
87244
87253
|
lastProbeAt: (string | null)
|
|
87245
87254
|
redirectWww: boolean
|
|
87246
87255
|
wwwTlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
|
|
@@ -87767,6 +87776,7 @@ createdAt: string
|
|
|
87767
87776
|
expiresAt: (string | null)
|
|
87768
87777
|
updatedAt: string
|
|
87769
87778
|
isProduction: boolean
|
|
87779
|
+
repoFullName: (string | null)
|
|
87770
87780
|
lastErrorMessage: (string | null)
|
|
87771
87781
|
baseEnvironmentId: (string | null)
|
|
87772
87782
|
}
|
|
@@ -87797,6 +87807,7 @@ createdAt: string
|
|
|
87797
87807
|
expiresAt: (string | null)
|
|
87798
87808
|
updatedAt: string
|
|
87799
87809
|
isProduction: boolean
|
|
87810
|
+
repoFullName: (string | null)
|
|
87800
87811
|
lastErrorMessage: (string | null)
|
|
87801
87812
|
baseEnvironmentId: (string | null)
|
|
87802
87813
|
}
|
|
@@ -87817,6 +87828,7 @@ createdAt: string
|
|
|
87817
87828
|
expiresAt: (string | null)
|
|
87818
87829
|
updatedAt: string
|
|
87819
87830
|
isProduction: boolean
|
|
87831
|
+
repoFullName: (string | null)
|
|
87820
87832
|
lastErrorMessage: (string | null)
|
|
87821
87833
|
baseEnvironmentId: (string | null)
|
|
87822
87834
|
}
|
|
@@ -87837,6 +87849,7 @@ createdAt: string
|
|
|
87837
87849
|
expiresAt: (string | null)
|
|
87838
87850
|
updatedAt: string
|
|
87839
87851
|
isProduction: boolean
|
|
87852
|
+
repoFullName: (string | null)
|
|
87840
87853
|
lastErrorMessage: (string | null)
|
|
87841
87854
|
baseEnvironmentId: (string | null)
|
|
87842
87855
|
}[]
|
|
@@ -87858,6 +87871,7 @@ createdAt: string
|
|
|
87858
87871
|
expiresAt: (string | null)
|
|
87859
87872
|
updatedAt: string
|
|
87860
87873
|
isProduction: boolean
|
|
87874
|
+
repoFullName: (string | null)
|
|
87861
87875
|
lastErrorMessage: (string | null)
|
|
87862
87876
|
baseEnvironmentId: (string | null)
|
|
87863
87877
|
}
|
|
@@ -87879,6 +87893,7 @@ createdAt: string
|
|
|
87879
87893
|
expiresAt: (string | null)
|
|
87880
87894
|
updatedAt: string
|
|
87881
87895
|
isProduction: boolean
|
|
87896
|
+
repoFullName: (string | null)
|
|
87882
87897
|
lastErrorMessage: (string | null)
|
|
87883
87898
|
baseEnvironmentId: (string | null)
|
|
87884
87899
|
}
|
|
@@ -88352,6 +88367,7 @@ stepSeconds: number
|
|
|
88352
88367
|
export interface DeploymentPreviewEnvironmentCreateInput {
|
|
88353
88368
|
prBranch?: string
|
|
88354
88369
|
prNumber: number
|
|
88370
|
+
repoFullName?: string
|
|
88355
88371
|
baseEnvironmentId: string
|
|
88356
88372
|
}
|
|
88357
88373
|
|
|
@@ -88367,6 +88383,7 @@ createdAt: string
|
|
|
88367
88383
|
expiresAt: (string | null)
|
|
88368
88384
|
updatedAt: string
|
|
88369
88385
|
isProduction: boolean
|
|
88386
|
+
repoFullName: (string | null)
|
|
88370
88387
|
lastErrorMessage: (string | null)
|
|
88371
88388
|
baseEnvironmentId: (string | null)
|
|
88372
88389
|
}
|
|
@@ -88395,6 +88412,7 @@ createdAt: string
|
|
|
88395
88412
|
expiresAt: (string | null)
|
|
88396
88413
|
updatedAt: string
|
|
88397
88414
|
isProduction: boolean
|
|
88415
|
+
repoFullName: (string | null)
|
|
88398
88416
|
lastErrorMessage: (string | null)
|
|
88399
88417
|
baseEnvironmentId: (string | null)
|
|
88400
88418
|
}[]
|
|
@@ -88828,6 +88846,7 @@ export interface DeploymentServiceRedeployOutput {
|
|
|
88828
88846
|
id: string
|
|
88829
88847
|
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
88830
88848
|
builtAt: (string | null)
|
|
88849
|
+
trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null)
|
|
88831
88850
|
imageRef: (string | null)
|
|
88832
88851
|
commitSha: (string | null)
|
|
88833
88852
|
createdAt: string
|
|
@@ -88865,6 +88884,7 @@ export interface DeploymentServiceRollbackOutput {
|
|
|
88865
88884
|
id: string
|
|
88866
88885
|
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
88867
88886
|
builtAt: (string | null)
|
|
88887
|
+
trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null)
|
|
88868
88888
|
imageRef: (string | null)
|
|
88869
88889
|
commitSha: (string | null)
|
|
88870
88890
|
createdAt: string
|
|
@@ -89229,6 +89249,7 @@ export interface DeploymentStaticDeployOutput {
|
|
|
89229
89249
|
id: string
|
|
89230
89250
|
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
89231
89251
|
builtAt: (string | null)
|
|
89252
|
+
trigger: (("manual" | "push" | "preview" | "fork" | "watchdog" | "rollback" | "static_upload") | null)
|
|
89232
89253
|
imageRef: (string | null)
|
|
89233
89254
|
commitSha: (string | null)
|
|
89234
89255
|
createdAt: string
|
|
@@ -105801,6 +105822,378 @@ export interface OrganizationYoutubeInstallOutput {
|
|
|
105801
105822
|
url: string
|
|
105802
105823
|
}
|
|
105803
105824
|
|
|
105825
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
105826
|
+
/**
|
|
105827
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
105828
|
+
*/
|
|
105829
|
+
limit?: number
|
|
105830
|
+
}
|
|
105831
|
+
|
|
105832
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
105833
|
+
ok: boolean
|
|
105834
|
+
minted: boolean
|
|
105835
|
+
overview?: unknown
|
|
105836
|
+
http_status: number
|
|
105837
|
+
}
|
|
105838
|
+
|
|
105839
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
105840
|
+
|
|
105841
|
+
}
|
|
105842
|
+
|
|
105843
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
105844
|
+
ok: boolean
|
|
105845
|
+
minted: boolean
|
|
105846
|
+
http_status: number
|
|
105847
|
+
entitlements?: unknown
|
|
105848
|
+
}
|
|
105849
|
+
|
|
105850
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
105851
|
+
/**
|
|
105852
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
105853
|
+
*/
|
|
105854
|
+
value?: number
|
|
105855
|
+
}
|
|
105856
|
+
|
|
105857
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
105858
|
+
minted: boolean
|
|
105859
|
+
accepted: (number | null)
|
|
105860
|
+
recorded: boolean
|
|
105861
|
+
duplicates: (number | null)
|
|
105862
|
+
http_status: number
|
|
105863
|
+
}
|
|
105864
|
+
|
|
105865
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
105866
|
+
/**
|
|
105867
|
+
* Task title; defaults to a fixture label
|
|
105868
|
+
*/
|
|
105869
|
+
name?: string
|
|
105870
|
+
/**
|
|
105871
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
105872
|
+
*/
|
|
105873
|
+
listId?: string
|
|
105874
|
+
}
|
|
105875
|
+
|
|
105876
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
105877
|
+
minted: boolean
|
|
105878
|
+
task_id: (string | null)
|
|
105879
|
+
list_status: number
|
|
105880
|
+
vend_status: number
|
|
105881
|
+
clickup_status: number
|
|
105882
|
+
installation_count: number
|
|
105883
|
+
}
|
|
105884
|
+
|
|
105885
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
105886
|
+
|
|
105887
|
+
}
|
|
105888
|
+
|
|
105889
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
105890
|
+
payload: string
|
|
105891
|
+
event_id: string
|
|
105892
|
+
provider: string
|
|
105893
|
+
verified: boolean
|
|
105894
|
+
product_id: string
|
|
105895
|
+
occurred_at: string
|
|
105896
|
+
connector_id: string
|
|
105897
|
+
clickup_event: (string | null)
|
|
105898
|
+
receipt_count: number
|
|
105899
|
+
} | {
|
|
105900
|
+
found: false
|
|
105901
|
+
})
|
|
105902
|
+
|
|
105903
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
105904
|
+
|
|
105905
|
+
}
|
|
105906
|
+
|
|
105907
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
105908
|
+
team: ({
|
|
105909
|
+
teamId: string
|
|
105910
|
+
teamName: string
|
|
105911
|
+
} | null)
|
|
105912
|
+
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
105913
|
+
tasks: {
|
|
105914
|
+
id: string
|
|
105915
|
+
name: string
|
|
105916
|
+
status: (string | null)
|
|
105917
|
+
}[]
|
|
105918
|
+
minted: boolean
|
|
105919
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
105920
|
+
list_status: number
|
|
105921
|
+
vend_status: number
|
|
105922
|
+
lists_status: number
|
|
105923
|
+
tasks_status: number
|
|
105924
|
+
spaces_status: number
|
|
105925
|
+
folders_status: number
|
|
105926
|
+
installation_count: number
|
|
105927
|
+
}
|
|
105928
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
105929
|
+
id: string
|
|
105930
|
+
name: string
|
|
105931
|
+
}
|
|
105932
|
+
|
|
105933
|
+
export interface PlaygroundEchoPingInput {
|
|
105934
|
+
/**
|
|
105935
|
+
* The text to echo back, 1–1024 characters
|
|
105936
|
+
*/
|
|
105937
|
+
message: string
|
|
105938
|
+
}
|
|
105939
|
+
|
|
105940
|
+
export interface PlaygroundEchoPingOutput {
|
|
105941
|
+
/**
|
|
105942
|
+
* The message exactly as it was received
|
|
105943
|
+
*/
|
|
105944
|
+
message: string
|
|
105945
|
+
/**
|
|
105946
|
+
* The product the call was resolved to
|
|
105947
|
+
*/
|
|
105948
|
+
productId: string
|
|
105949
|
+
/**
|
|
105950
|
+
* ISO-8601 instant (UTC) at which the call reached the service
|
|
105951
|
+
*/
|
|
105952
|
+
receivedAt: string
|
|
105953
|
+
}
|
|
105954
|
+
|
|
105955
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
105956
|
+
|
|
105957
|
+
}
|
|
105958
|
+
|
|
105959
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
105960
|
+
file_id: string
|
|
105961
|
+
removed: boolean
|
|
105962
|
+
file_name: (string | null)
|
|
105963
|
+
mime_type: (string | null)
|
|
105964
|
+
product_id: string
|
|
105965
|
+
occurred_at: string
|
|
105966
|
+
connector_id: string
|
|
105967
|
+
resource_state: string
|
|
105968
|
+
} | {
|
|
105969
|
+
found: false
|
|
105970
|
+
})
|
|
105971
|
+
|
|
105972
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
105973
|
+
/**
|
|
105974
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
105975
|
+
*/
|
|
105976
|
+
fileId?: string
|
|
105977
|
+
}
|
|
105978
|
+
|
|
105979
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
105980
|
+
minted: boolean
|
|
105981
|
+
file_id: (string | null)
|
|
105982
|
+
file_name: (string | null)
|
|
105983
|
+
mime_type: (string | null)
|
|
105984
|
+
file_count: number
|
|
105985
|
+
get_status: number
|
|
105986
|
+
list_status: number
|
|
105987
|
+
vend_status: number
|
|
105988
|
+
content_bytes: (number | null)
|
|
105989
|
+
}
|
|
105990
|
+
|
|
105991
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
105992
|
+
|
|
105993
|
+
}
|
|
105994
|
+
|
|
105995
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
105996
|
+
minted: boolean
|
|
105997
|
+
vended: boolean
|
|
105998
|
+
customer_id: (string | null)
|
|
105999
|
+
vend_status: number
|
|
106000
|
+
result_count: number
|
|
106001
|
+
search_status: number
|
|
106002
|
+
login_customer_id: (string | null)
|
|
106003
|
+
}
|
|
106004
|
+
|
|
106005
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
106006
|
+
|
|
106007
|
+
}
|
|
106008
|
+
|
|
106009
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
106010
|
+
blocked: boolean
|
|
106011
|
+
archived: boolean
|
|
106012
|
+
productId: string
|
|
106013
|
+
lastBlockTransition: ({
|
|
106014
|
+
eventId: string
|
|
106015
|
+
eventName: string
|
|
106016
|
+
productId: string
|
|
106017
|
+
occurredAt: string
|
|
106018
|
+
recordedAt: string
|
|
106019
|
+
receiptCount: number
|
|
106020
|
+
organizationId: string
|
|
106021
|
+
cascadedFromOrg: boolean
|
|
106022
|
+
} | null)
|
|
106023
|
+
lastArchiveTransition: ({
|
|
106024
|
+
eventId: string
|
|
106025
|
+
eventName: string
|
|
106026
|
+
productId: string
|
|
106027
|
+
occurredAt: string
|
|
106028
|
+
recordedAt: string
|
|
106029
|
+
receiptCount: number
|
|
106030
|
+
organizationId: string
|
|
106031
|
+
cascadedFromOrg: boolean
|
|
106032
|
+
} | null)
|
|
106033
|
+
}
|
|
106034
|
+
|
|
106035
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
106036
|
+
|
|
106037
|
+
}
|
|
106038
|
+
|
|
106039
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
106040
|
+
eventId: string
|
|
106041
|
+
eventName: string
|
|
106042
|
+
productId: string
|
|
106043
|
+
occurredAt: string
|
|
106044
|
+
recordedAt: string
|
|
106045
|
+
receiptCount: number
|
|
106046
|
+
organizationId: string
|
|
106047
|
+
cascadedFromOrg: boolean
|
|
106048
|
+
}[]
|
|
106049
|
+
|
|
106050
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
106051
|
+
|
|
106052
|
+
}
|
|
106053
|
+
|
|
106054
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
106055
|
+
payload?: unknown
|
|
106056
|
+
event_id: string
|
|
106057
|
+
provider: string
|
|
106058
|
+
verified: boolean
|
|
106059
|
+
product_id: string
|
|
106060
|
+
occurred_at: string
|
|
106061
|
+
connector_id: string
|
|
106062
|
+
delivery_count: number
|
|
106063
|
+
} | {
|
|
106064
|
+
found: false
|
|
106065
|
+
})
|
|
106066
|
+
|
|
106067
|
+
export interface PlaygroundWorkflowEchoInput {
|
|
106068
|
+
/**
|
|
106069
|
+
* The text to store, 1–1024 characters
|
|
106070
|
+
*/
|
|
106071
|
+
note: string
|
|
106072
|
+
/**
|
|
106073
|
+
* Optional labels stored alongside the note, at most 20
|
|
106074
|
+
*
|
|
106075
|
+
* @maxItems 20
|
|
106076
|
+
*/
|
|
106077
|
+
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]
|
|
106078
|
+
}
|
|
106079
|
+
|
|
106080
|
+
export interface PlaygroundWorkflowEchoOutput {
|
|
106081
|
+
/**
|
|
106082
|
+
* Identifier of the stored echo
|
|
106083
|
+
*/
|
|
106084
|
+
id: string
|
|
106085
|
+
/**
|
|
106086
|
+
* The note exactly as it was received
|
|
106087
|
+
*/
|
|
106088
|
+
note: string
|
|
106089
|
+
/**
|
|
106090
|
+
* The tags exactly as they were received
|
|
106091
|
+
*/
|
|
106092
|
+
tags: string[]
|
|
106093
|
+
/**
|
|
106094
|
+
* 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.
|
|
106095
|
+
*/
|
|
106096
|
+
echo_id: string
|
|
106097
|
+
/**
|
|
106098
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
106099
|
+
*/
|
|
106100
|
+
received_at: string
|
|
106101
|
+
}
|
|
106102
|
+
|
|
106103
|
+
export interface PlaygroundWorkflowEchoListInput {
|
|
106104
|
+
|
|
106105
|
+
}
|
|
106106
|
+
|
|
106107
|
+
export type PlaygroundWorkflowEchoListOutput = {
|
|
106108
|
+
/**
|
|
106109
|
+
* Identifier of the stored echo
|
|
106110
|
+
*/
|
|
106111
|
+
id: string
|
|
106112
|
+
/**
|
|
106113
|
+
* The note exactly as it was received
|
|
106114
|
+
*/
|
|
106115
|
+
note: string
|
|
106116
|
+
/**
|
|
106117
|
+
* The tags exactly as they were received
|
|
106118
|
+
*/
|
|
106119
|
+
tags: string[]
|
|
106120
|
+
/**
|
|
106121
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
106122
|
+
*/
|
|
106123
|
+
received_at: string
|
|
106124
|
+
}[]
|
|
106125
|
+
|
|
106126
|
+
export interface PlaygroundWorkflowPingInput {
|
|
106127
|
+
/**
|
|
106128
|
+
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
106129
|
+
*/
|
|
106130
|
+
kind?: string
|
|
106131
|
+
}
|
|
106132
|
+
|
|
106133
|
+
export interface PlaygroundWorkflowPingOutput {
|
|
106134
|
+
/**
|
|
106135
|
+
* 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.
|
|
106136
|
+
*/
|
|
106137
|
+
id: string
|
|
106138
|
+
/**
|
|
106139
|
+
* The name of the event that was published
|
|
106140
|
+
*/
|
|
106141
|
+
event: string
|
|
106142
|
+
}
|
|
106143
|
+
|
|
106144
|
+
export interface PlaygroundWorkflowSubjectsListInput {
|
|
106145
|
+
/**
|
|
106146
|
+
* How many subjects to return, 1–100. Defaults to 25.
|
|
106147
|
+
*/
|
|
106148
|
+
limit?: number
|
|
106149
|
+
/**
|
|
106150
|
+
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
106151
|
+
*/
|
|
106152
|
+
cursor?: string
|
|
106153
|
+
/**
|
|
106154
|
+
* 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.
|
|
106155
|
+
*/
|
|
106156
|
+
last_activity_after?: string
|
|
106157
|
+
/**
|
|
106158
|
+
* 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.
|
|
106159
|
+
*/
|
|
106160
|
+
last_activity_before?: string
|
|
106161
|
+
}
|
|
106162
|
+
|
|
106163
|
+
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
106164
|
+
/**
|
|
106165
|
+
* This page of subjects, most recently active first
|
|
106166
|
+
*/
|
|
106167
|
+
items: {
|
|
106168
|
+
/**
|
|
106169
|
+
* 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.
|
|
106170
|
+
*/
|
|
106171
|
+
subject_key: string
|
|
106172
|
+
/**
|
|
106173
|
+
* Human-readable name of the subject
|
|
106174
|
+
*/
|
|
106175
|
+
display_name: string
|
|
106176
|
+
/**
|
|
106177
|
+
* ISO-8601 instant (UTC) of the subject last activity
|
|
106178
|
+
*/
|
|
106179
|
+
last_activity_at: string
|
|
106180
|
+
}[]
|
|
106181
|
+
/**
|
|
106182
|
+
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
106183
|
+
*/
|
|
106184
|
+
has_more: boolean
|
|
106185
|
+
/**
|
|
106186
|
+
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
106187
|
+
*/
|
|
106188
|
+
next_cursor: (string | null)
|
|
106189
|
+
}
|
|
106190
|
+
|
|
106191
|
+
export interface PlaygroundWsEchoInput {
|
|
106192
|
+
|
|
106193
|
+
}
|
|
106194
|
+
|
|
106195
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
106196
|
+
|
|
105804
106197
|
export interface RealtimeArchiveExportInput {
|
|
105805
106198
|
/**
|
|
105806
106199
|
* Only entries with ts <= to_ts (epoch ms)
|