@lessly/sdk-app 74.7.0 → 74.8.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/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 +330 -4
- package/dist/chunk-5RJ6WKNG.js +11404 -0
- package/dist/chunk-5RJ6WKNG.js.map +1 -0
- package/dist/index.cjs +227 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +22 -11185
- 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 +216 -1
- 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 +376 -4
package/src/gen/types.gen.ts
CHANGED
|
@@ -85879,9 +85879,9 @@ activeProductId: (string | null)
|
|
|
85879
85879
|
|
|
85880
85880
|
export interface OrganizationSupportThreadCreateInput {
|
|
85881
85881
|
/**
|
|
85882
|
-
* The first message, 1-50000 characters.
|
|
85882
|
+
* The first message, 1-50000 characters. May be OMITTED only on a message that carries at least one attachment — a thread opened on screenshots alone is a support request. Omit the field entirely; an empty string is refused. The title is never optional.
|
|
85883
85883
|
*/
|
|
85884
|
-
body
|
|
85884
|
+
body?: string
|
|
85885
85885
|
/**
|
|
85886
85886
|
* Subject of the request, 1-500 characters.
|
|
85887
85887
|
*/
|
|
@@ -86810,9 +86810,9 @@ export interface OrganizationSupportThreadReplyInput {
|
|
|
86810
86810
|
*/
|
|
86811
86811
|
id: string
|
|
86812
86812
|
/**
|
|
86813
|
-
* The reply text, 1-50000 characters.
|
|
86813
|
+
* The reply text, 1-50000 characters. May be OMITTED only on a message that carries at least one attachment — a reply of files alone is a reply. Omit the field entirely; an empty string is refused.
|
|
86814
86814
|
*/
|
|
86815
|
-
body
|
|
86815
|
+
body?: string
|
|
86816
86816
|
/**
|
|
86817
86817
|
* Files to attach, base64-encoded. Up to 10 per message, each up to 26214400 bytes (25 MiB) decoded, and at most 26214400 bytes decoded across all of them in one call. Screenshots and logs are the intended use; the whole call travels as one request.
|
|
86818
86818
|
*
|
|
@@ -87694,6 +87694,378 @@ export interface OrganizationYoutubeInstallOutput {
|
|
|
87694
87694
|
url: string
|
|
87695
87695
|
}
|
|
87696
87696
|
|
|
87697
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
87698
|
+
/**
|
|
87699
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
87700
|
+
*/
|
|
87701
|
+
limit?: number
|
|
87702
|
+
}
|
|
87703
|
+
|
|
87704
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
87705
|
+
ok: boolean
|
|
87706
|
+
minted: boolean
|
|
87707
|
+
overview?: unknown
|
|
87708
|
+
http_status: number
|
|
87709
|
+
}
|
|
87710
|
+
|
|
87711
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
87712
|
+
|
|
87713
|
+
}
|
|
87714
|
+
|
|
87715
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
87716
|
+
ok: boolean
|
|
87717
|
+
minted: boolean
|
|
87718
|
+
http_status: number
|
|
87719
|
+
entitlements?: unknown
|
|
87720
|
+
}
|
|
87721
|
+
|
|
87722
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
87723
|
+
/**
|
|
87724
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
87725
|
+
*/
|
|
87726
|
+
value?: number
|
|
87727
|
+
}
|
|
87728
|
+
|
|
87729
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
87730
|
+
minted: boolean
|
|
87731
|
+
accepted: (number | null)
|
|
87732
|
+
recorded: boolean
|
|
87733
|
+
duplicates: (number | null)
|
|
87734
|
+
http_status: number
|
|
87735
|
+
}
|
|
87736
|
+
|
|
87737
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
87738
|
+
/**
|
|
87739
|
+
* Task title; defaults to a fixture label
|
|
87740
|
+
*/
|
|
87741
|
+
name?: string
|
|
87742
|
+
/**
|
|
87743
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
87744
|
+
*/
|
|
87745
|
+
listId?: string
|
|
87746
|
+
}
|
|
87747
|
+
|
|
87748
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
87749
|
+
minted: boolean
|
|
87750
|
+
task_id: (string | null)
|
|
87751
|
+
list_status: number
|
|
87752
|
+
vend_status: number
|
|
87753
|
+
clickup_status: number
|
|
87754
|
+
installation_count: number
|
|
87755
|
+
}
|
|
87756
|
+
|
|
87757
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
87758
|
+
|
|
87759
|
+
}
|
|
87760
|
+
|
|
87761
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
87762
|
+
payload: string
|
|
87763
|
+
event_id: string
|
|
87764
|
+
provider: string
|
|
87765
|
+
verified: boolean
|
|
87766
|
+
product_id: string
|
|
87767
|
+
occurred_at: string
|
|
87768
|
+
connector_id: string
|
|
87769
|
+
clickup_event: (string | null)
|
|
87770
|
+
receipt_count: number
|
|
87771
|
+
} | {
|
|
87772
|
+
found: false
|
|
87773
|
+
})
|
|
87774
|
+
|
|
87775
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
87776
|
+
|
|
87777
|
+
}
|
|
87778
|
+
|
|
87779
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
87780
|
+
team: ({
|
|
87781
|
+
teamId: string
|
|
87782
|
+
teamName: string
|
|
87783
|
+
} | null)
|
|
87784
|
+
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
87785
|
+
tasks: {
|
|
87786
|
+
id: string
|
|
87787
|
+
name: string
|
|
87788
|
+
status: (string | null)
|
|
87789
|
+
}[]
|
|
87790
|
+
minted: boolean
|
|
87791
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
87792
|
+
list_status: number
|
|
87793
|
+
vend_status: number
|
|
87794
|
+
lists_status: number
|
|
87795
|
+
tasks_status: number
|
|
87796
|
+
spaces_status: number
|
|
87797
|
+
folders_status: number
|
|
87798
|
+
installation_count: number
|
|
87799
|
+
}
|
|
87800
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
87801
|
+
id: string
|
|
87802
|
+
name: string
|
|
87803
|
+
}
|
|
87804
|
+
|
|
87805
|
+
export interface PlaygroundEchoPingInput {
|
|
87806
|
+
/**
|
|
87807
|
+
* The text to echo back, 1–1024 characters
|
|
87808
|
+
*/
|
|
87809
|
+
message: string
|
|
87810
|
+
}
|
|
87811
|
+
|
|
87812
|
+
export interface PlaygroundEchoPingOutput {
|
|
87813
|
+
/**
|
|
87814
|
+
* The message exactly as it was received
|
|
87815
|
+
*/
|
|
87816
|
+
message: string
|
|
87817
|
+
/**
|
|
87818
|
+
* The product the call was resolved to
|
|
87819
|
+
*/
|
|
87820
|
+
productId: string
|
|
87821
|
+
/**
|
|
87822
|
+
* ISO-8601 instant (UTC) at which the call reached the service
|
|
87823
|
+
*/
|
|
87824
|
+
receivedAt: string
|
|
87825
|
+
}
|
|
87826
|
+
|
|
87827
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
87828
|
+
|
|
87829
|
+
}
|
|
87830
|
+
|
|
87831
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
87832
|
+
file_id: string
|
|
87833
|
+
removed: boolean
|
|
87834
|
+
file_name: (string | null)
|
|
87835
|
+
mime_type: (string | null)
|
|
87836
|
+
product_id: string
|
|
87837
|
+
occurred_at: string
|
|
87838
|
+
connector_id: string
|
|
87839
|
+
resource_state: string
|
|
87840
|
+
} | {
|
|
87841
|
+
found: false
|
|
87842
|
+
})
|
|
87843
|
+
|
|
87844
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
87845
|
+
/**
|
|
87846
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
87847
|
+
*/
|
|
87848
|
+
fileId?: string
|
|
87849
|
+
}
|
|
87850
|
+
|
|
87851
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
87852
|
+
minted: boolean
|
|
87853
|
+
file_id: (string | null)
|
|
87854
|
+
file_name: (string | null)
|
|
87855
|
+
mime_type: (string | null)
|
|
87856
|
+
file_count: number
|
|
87857
|
+
get_status: number
|
|
87858
|
+
list_status: number
|
|
87859
|
+
vend_status: number
|
|
87860
|
+
content_bytes: (number | null)
|
|
87861
|
+
}
|
|
87862
|
+
|
|
87863
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
87864
|
+
|
|
87865
|
+
}
|
|
87866
|
+
|
|
87867
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
87868
|
+
minted: boolean
|
|
87869
|
+
vended: boolean
|
|
87870
|
+
customer_id: (string | null)
|
|
87871
|
+
vend_status: number
|
|
87872
|
+
result_count: number
|
|
87873
|
+
search_status: number
|
|
87874
|
+
login_customer_id: (string | null)
|
|
87875
|
+
}
|
|
87876
|
+
|
|
87877
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
87878
|
+
|
|
87879
|
+
}
|
|
87880
|
+
|
|
87881
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
87882
|
+
blocked: boolean
|
|
87883
|
+
archived: boolean
|
|
87884
|
+
productId: string
|
|
87885
|
+
lastBlockTransition: ({
|
|
87886
|
+
eventId: string
|
|
87887
|
+
eventName: string
|
|
87888
|
+
productId: string
|
|
87889
|
+
occurredAt: string
|
|
87890
|
+
recordedAt: string
|
|
87891
|
+
receiptCount: number
|
|
87892
|
+
organizationId: string
|
|
87893
|
+
cascadedFromOrg: boolean
|
|
87894
|
+
} | null)
|
|
87895
|
+
lastArchiveTransition: ({
|
|
87896
|
+
eventId: string
|
|
87897
|
+
eventName: string
|
|
87898
|
+
productId: string
|
|
87899
|
+
occurredAt: string
|
|
87900
|
+
recordedAt: string
|
|
87901
|
+
receiptCount: number
|
|
87902
|
+
organizationId: string
|
|
87903
|
+
cascadedFromOrg: boolean
|
|
87904
|
+
} | null)
|
|
87905
|
+
}
|
|
87906
|
+
|
|
87907
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
87908
|
+
|
|
87909
|
+
}
|
|
87910
|
+
|
|
87911
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
87912
|
+
eventId: string
|
|
87913
|
+
eventName: string
|
|
87914
|
+
productId: string
|
|
87915
|
+
occurredAt: string
|
|
87916
|
+
recordedAt: string
|
|
87917
|
+
receiptCount: number
|
|
87918
|
+
organizationId: string
|
|
87919
|
+
cascadedFromOrg: boolean
|
|
87920
|
+
}[]
|
|
87921
|
+
|
|
87922
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
87923
|
+
|
|
87924
|
+
}
|
|
87925
|
+
|
|
87926
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
87927
|
+
payload?: unknown
|
|
87928
|
+
event_id: string
|
|
87929
|
+
provider: string
|
|
87930
|
+
verified: boolean
|
|
87931
|
+
product_id: string
|
|
87932
|
+
occurred_at: string
|
|
87933
|
+
connector_id: string
|
|
87934
|
+
delivery_count: number
|
|
87935
|
+
} | {
|
|
87936
|
+
found: false
|
|
87937
|
+
})
|
|
87938
|
+
|
|
87939
|
+
export interface PlaygroundWorkflowEchoInput {
|
|
87940
|
+
/**
|
|
87941
|
+
* The text to store, 1–1024 characters
|
|
87942
|
+
*/
|
|
87943
|
+
note: string
|
|
87944
|
+
/**
|
|
87945
|
+
* Optional labels stored alongside the note, at most 20
|
|
87946
|
+
*
|
|
87947
|
+
* @maxItems 20
|
|
87948
|
+
*/
|
|
87949
|
+
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]
|
|
87950
|
+
}
|
|
87951
|
+
|
|
87952
|
+
export interface PlaygroundWorkflowEchoOutput {
|
|
87953
|
+
/**
|
|
87954
|
+
* Identifier of the stored echo
|
|
87955
|
+
*/
|
|
87956
|
+
id: string
|
|
87957
|
+
/**
|
|
87958
|
+
* The note exactly as it was received
|
|
87959
|
+
*/
|
|
87960
|
+
note: string
|
|
87961
|
+
/**
|
|
87962
|
+
* The tags exactly as they were received
|
|
87963
|
+
*/
|
|
87964
|
+
tags: string[]
|
|
87965
|
+
/**
|
|
87966
|
+
* 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.
|
|
87967
|
+
*/
|
|
87968
|
+
echo_id: string
|
|
87969
|
+
/**
|
|
87970
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
87971
|
+
*/
|
|
87972
|
+
received_at: string
|
|
87973
|
+
}
|
|
87974
|
+
|
|
87975
|
+
export interface PlaygroundWorkflowEchoListInput {
|
|
87976
|
+
|
|
87977
|
+
}
|
|
87978
|
+
|
|
87979
|
+
export type PlaygroundWorkflowEchoListOutput = {
|
|
87980
|
+
/**
|
|
87981
|
+
* Identifier of the stored echo
|
|
87982
|
+
*/
|
|
87983
|
+
id: string
|
|
87984
|
+
/**
|
|
87985
|
+
* The note exactly as it was received
|
|
87986
|
+
*/
|
|
87987
|
+
note: string
|
|
87988
|
+
/**
|
|
87989
|
+
* The tags exactly as they were received
|
|
87990
|
+
*/
|
|
87991
|
+
tags: string[]
|
|
87992
|
+
/**
|
|
87993
|
+
* ISO-8601 instant (UTC) at which the echo was stored
|
|
87994
|
+
*/
|
|
87995
|
+
received_at: string
|
|
87996
|
+
}[]
|
|
87997
|
+
|
|
87998
|
+
export interface PlaygroundWorkflowPingInput {
|
|
87999
|
+
/**
|
|
88000
|
+
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
88001
|
+
*/
|
|
88002
|
+
kind?: string
|
|
88003
|
+
}
|
|
88004
|
+
|
|
88005
|
+
export interface PlaygroundWorkflowPingOutput {
|
|
88006
|
+
/**
|
|
88007
|
+
* 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.
|
|
88008
|
+
*/
|
|
88009
|
+
id: string
|
|
88010
|
+
/**
|
|
88011
|
+
* The name of the event that was published
|
|
88012
|
+
*/
|
|
88013
|
+
event: string
|
|
88014
|
+
}
|
|
88015
|
+
|
|
88016
|
+
export interface PlaygroundWorkflowSubjectsListInput {
|
|
88017
|
+
/**
|
|
88018
|
+
* How many subjects to return, 1–100. Defaults to 25.
|
|
88019
|
+
*/
|
|
88020
|
+
limit?: number
|
|
88021
|
+
/**
|
|
88022
|
+
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
88023
|
+
*/
|
|
88024
|
+
cursor?: string
|
|
88025
|
+
/**
|
|
88026
|
+
* 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.
|
|
88027
|
+
*/
|
|
88028
|
+
last_activity_after?: string
|
|
88029
|
+
/**
|
|
88030
|
+
* 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.
|
|
88031
|
+
*/
|
|
88032
|
+
last_activity_before?: string
|
|
88033
|
+
}
|
|
88034
|
+
|
|
88035
|
+
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
88036
|
+
/**
|
|
88037
|
+
* This page of subjects, most recently active first
|
|
88038
|
+
*/
|
|
88039
|
+
items: {
|
|
88040
|
+
/**
|
|
88041
|
+
* 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.
|
|
88042
|
+
*/
|
|
88043
|
+
subject_key: string
|
|
88044
|
+
/**
|
|
88045
|
+
* Human-readable name of the subject
|
|
88046
|
+
*/
|
|
88047
|
+
display_name: string
|
|
88048
|
+
/**
|
|
88049
|
+
* ISO-8601 instant (UTC) of the subject last activity
|
|
88050
|
+
*/
|
|
88051
|
+
last_activity_at: string
|
|
88052
|
+
}[]
|
|
88053
|
+
/**
|
|
88054
|
+
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
88055
|
+
*/
|
|
88056
|
+
has_more: boolean
|
|
88057
|
+
/**
|
|
88058
|
+
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
88059
|
+
*/
|
|
88060
|
+
next_cursor: (string | null)
|
|
88061
|
+
}
|
|
88062
|
+
|
|
88063
|
+
export interface PlaygroundWsEchoInput {
|
|
88064
|
+
|
|
88065
|
+
}
|
|
88066
|
+
|
|
88067
|
+
export type PlaygroundWsEchoOutput = unknown;
|
|
88068
|
+
|
|
87697
88069
|
export interface RealtimeArchiveExportInput {
|
|
87698
88070
|
/**
|
|
87699
88071
|
* Only entries with ts <= to_ts (epoch ms)
|