@lessly/sdk-app 70.0.0 → 70.2.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 +3 -40
- package/dist/_types/gen/manifest.gen.d.ts +1 -1
- package/dist/_types/gen/organization/index.d.ts +1 -1
- package/dist/_types/gen/organization/queryOptions.gen.d.ts +1 -13
- package/dist/_types/gen/types.gen.d.ts +51 -380
- package/dist/_types/gen/users/index.d.ts +1 -1
- package/dist/_types/gen/users/queryOptions.gen.d.ts +9 -1
- package/dist/index.cjs +49 -348
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11053 -75
- package/dist/index.js.map +1 -1
- package/dist/organization/index.cjs +0 -15
- package/dist/organization/index.cjs.map +1 -1
- package/dist/organization/index.js +1 -13
- package/dist/organization/index.js.map +1 -1
- package/dist/users/index.cjs +10 -0
- package/dist/users/index.cjs.map +1 -1
- package/dist/users/index.js +9 -1
- package/dist/users/index.js.map +1 -1
- package/package.json +2 -12
- package/src/gen/bindings.gen.ts +37 -284
- package/src/gen/client.gen.ts +6 -77
- package/src/gen/manifest.gen.ts +14 -74
- package/src/gen/organization/index.ts +1 -1
- package/src/gen/organization/queryOptions.gen.ts +0 -19
- package/src/gen/types.gen.ts +55 -430
- package/src/gen/users/index.ts +1 -1
- package/src/gen/users/queryOptions.gen.ts +12 -0
- package/dist/_types/gen/playground/connect.gen.d.ts +0 -3
- package/dist/_types/gen/playground/index.d.ts +0 -3
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +0 -66
- package/dist/chunk-GFP6RQ7Z.js +0 -11291
- package/dist/chunk-GFP6RQ7Z.js.map +0 -1
- package/dist/playground/index.cjs +0 -101
- package/dist/playground/index.cjs.map +0 -1
- package/dist/playground/index.d.cts +0 -1
- package/dist/playground/index.d.ts +0 -1
- package/dist/playground/index.js +0 -74
- package/dist/playground/index.js.map +0 -1
- package/src/gen/playground/connect.gen.ts +0 -9
- package/src/gen/playground/index.ts +0 -4
- package/src/gen/playground/queryOptions.gen.ts +0 -112
package/src/gen/types.gen.ts
CHANGED
|
@@ -66113,7 +66113,7 @@ request_id: string
|
|
|
66113
66113
|
|
|
66114
66114
|
export interface BrainKnowledgeGraphInput {
|
|
66115
66115
|
/**
|
|
66116
|
-
* Max nodes (default 5000). When the cap applies
|
|
66116
|
+
* Max nodes (default 5000). When the cap applies the HIGHEST-DEGREE nodes are kept, so a small limit (e.g. 100) returns the hub concepts — that is usually what you want
|
|
66117
66117
|
*/
|
|
66118
66118
|
limit?: number
|
|
66119
66119
|
/**
|
|
@@ -85220,83 +85220,6 @@ display_name: string
|
|
|
85220
85220
|
}[]
|
|
85221
85221
|
}
|
|
85222
85222
|
|
|
85223
|
-
export interface OrganizationPrincipalGrantsApproveInput {
|
|
85224
|
-
/**
|
|
85225
|
-
* @minItems 1
|
|
85226
|
-
* @maxItems 200
|
|
85227
|
-
*/
|
|
85228
|
-
tools: [string, ...(string)[]]
|
|
85229
|
-
productId: string
|
|
85230
|
-
principalId: string
|
|
85231
|
-
principalKind: "workflow"
|
|
85232
|
-
}
|
|
85233
|
-
|
|
85234
|
-
export interface OrganizationPrincipalGrantsApproveOutput {
|
|
85235
|
-
grants: {
|
|
85236
|
-
reason: (string | null)
|
|
85237
|
-
status: string
|
|
85238
|
-
sponsor: ({
|
|
85239
|
-
userId: (string | null)
|
|
85240
|
-
memberId: string
|
|
85241
|
-
} | null)
|
|
85242
|
-
toolKey: string
|
|
85243
|
-
approvedAt: (string | null)
|
|
85244
|
-
}[]
|
|
85245
|
-
pending: string[]
|
|
85246
|
-
effective: string[]
|
|
85247
|
-
productId: string
|
|
85248
|
-
principalId: string
|
|
85249
|
-
needsSponsor: string[]
|
|
85250
|
-
principalKind: "workflow"
|
|
85251
|
-
notSponsorable: string[]
|
|
85252
|
-
}
|
|
85253
|
-
|
|
85254
|
-
export interface OrganizationPrincipalGrantsListInput {
|
|
85255
|
-
productId: string
|
|
85256
|
-
principalKind?: "workflow"
|
|
85257
|
-
}
|
|
85258
|
-
|
|
85259
|
-
export interface OrganizationPrincipalGrantsListOutput {
|
|
85260
|
-
principals: {
|
|
85261
|
-
pending: string[]
|
|
85262
|
-
effective: string[]
|
|
85263
|
-
principalId: string
|
|
85264
|
-
needsSponsor: string[]
|
|
85265
|
-
principalKind: "workflow"
|
|
85266
|
-
}[]
|
|
85267
|
-
}
|
|
85268
|
-
|
|
85269
|
-
export interface OrganizationPrincipalGrantsRevokeInput {
|
|
85270
|
-
/**
|
|
85271
|
-
* @minItems 1
|
|
85272
|
-
* @maxItems 200
|
|
85273
|
-
*/
|
|
85274
|
-
tools?: [string, ...(string)[]]
|
|
85275
|
-
reason?: string
|
|
85276
|
-
productId: string
|
|
85277
|
-
principalId: string
|
|
85278
|
-
principalKind: "workflow"
|
|
85279
|
-
}
|
|
85280
|
-
|
|
85281
|
-
export interface OrganizationPrincipalGrantsRevokeOutput {
|
|
85282
|
-
grants: {
|
|
85283
|
-
reason: (string | null)
|
|
85284
|
-
status: string
|
|
85285
|
-
sponsor: ({
|
|
85286
|
-
userId: (string | null)
|
|
85287
|
-
memberId: string
|
|
85288
|
-
} | null)
|
|
85289
|
-
toolKey: string
|
|
85290
|
-
approvedAt: (string | null)
|
|
85291
|
-
}[]
|
|
85292
|
-
pending: string[]
|
|
85293
|
-
effective: string[]
|
|
85294
|
-
productId: string
|
|
85295
|
-
principalId: string
|
|
85296
|
-
needsSponsor: string[]
|
|
85297
|
-
principalKind: "workflow"
|
|
85298
|
-
}
|
|
85299
|
-
|
|
85300
85223
|
export interface OrganizationProductCreateInput {
|
|
85301
85224
|
name: string
|
|
85302
85225
|
region?: "eu"
|
|
@@ -85804,356 +85727,6 @@ export interface OrganizationYoutubeInstallOutput {
|
|
|
85804
85727
|
url: string
|
|
85805
85728
|
}
|
|
85806
85729
|
|
|
85807
|
-
export interface PlaygroundAnalyticsOverviewInput {
|
|
85808
|
-
/**
|
|
85809
|
-
* Max records per entity in recent[]; omit for the endpoint default
|
|
85810
|
-
*/
|
|
85811
|
-
limit?: number
|
|
85812
|
-
}
|
|
85813
|
-
|
|
85814
|
-
export interface PlaygroundAnalyticsOverviewOutput {
|
|
85815
|
-
ok: boolean
|
|
85816
|
-
minted: boolean
|
|
85817
|
-
overview?: unknown
|
|
85818
|
-
http_status: number
|
|
85819
|
-
}
|
|
85820
|
-
|
|
85821
|
-
export interface PlaygroundBillingEntitlementsInput {
|
|
85822
|
-
|
|
85823
|
-
}
|
|
85824
|
-
|
|
85825
|
-
export interface PlaygroundBillingEntitlementsOutput {
|
|
85826
|
-
ok: boolean
|
|
85827
|
-
minted: boolean
|
|
85828
|
-
http_status: number
|
|
85829
|
-
entitlements?: unknown
|
|
85830
|
-
}
|
|
85831
|
-
|
|
85832
|
-
export interface PlaygroundBillingRecordUsageInput {
|
|
85833
|
-
/**
|
|
85834
|
-
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
85835
|
-
*/
|
|
85836
|
-
value?: number
|
|
85837
|
-
}
|
|
85838
|
-
|
|
85839
|
-
export interface PlaygroundBillingRecordUsageOutput {
|
|
85840
|
-
minted: boolean
|
|
85841
|
-
accepted: (number | null)
|
|
85842
|
-
recorded: boolean
|
|
85843
|
-
duplicates: (number | null)
|
|
85844
|
-
http_status: number
|
|
85845
|
-
}
|
|
85846
|
-
|
|
85847
|
-
export interface PlaygroundClickupCreateTaskInput {
|
|
85848
|
-
/**
|
|
85849
|
-
* Task title; defaults to a fixture label
|
|
85850
|
-
*/
|
|
85851
|
-
name?: string
|
|
85852
|
-
/**
|
|
85853
|
-
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
85854
|
-
*/
|
|
85855
|
-
listId?: string
|
|
85856
|
-
}
|
|
85857
|
-
|
|
85858
|
-
export interface PlaygroundClickupCreateTaskOutput {
|
|
85859
|
-
minted: boolean
|
|
85860
|
-
task_id: (string | null)
|
|
85861
|
-
list_status: number
|
|
85862
|
-
vend_status: number
|
|
85863
|
-
clickup_status: number
|
|
85864
|
-
installation_count: number
|
|
85865
|
-
}
|
|
85866
|
-
|
|
85867
|
-
export interface PlaygroundClickupGetLastWebhookInput {
|
|
85868
|
-
|
|
85869
|
-
}
|
|
85870
|
-
|
|
85871
|
-
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
85872
|
-
payload: string
|
|
85873
|
-
event_id: string
|
|
85874
|
-
provider: string
|
|
85875
|
-
verified: boolean
|
|
85876
|
-
product_id: string
|
|
85877
|
-
occurred_at: string
|
|
85878
|
-
connector_id: string
|
|
85879
|
-
clickup_event: (string | null)
|
|
85880
|
-
receipt_count: number
|
|
85881
|
-
} | {
|
|
85882
|
-
found: false
|
|
85883
|
-
})
|
|
85884
|
-
|
|
85885
|
-
export interface PlaygroundClickupGetOverviewInput {
|
|
85886
|
-
|
|
85887
|
-
}
|
|
85888
|
-
|
|
85889
|
-
export interface PlaygroundClickupGetOverviewOutput {
|
|
85890
|
-
team: ({
|
|
85891
|
-
teamId: string
|
|
85892
|
-
teamName: string
|
|
85893
|
-
} | null)
|
|
85894
|
-
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
85895
|
-
tasks: {
|
|
85896
|
-
id: string
|
|
85897
|
-
name: string
|
|
85898
|
-
status: (string | null)
|
|
85899
|
-
}[]
|
|
85900
|
-
minted: boolean
|
|
85901
|
-
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
85902
|
-
list_status: number
|
|
85903
|
-
vend_status: number
|
|
85904
|
-
lists_status: number
|
|
85905
|
-
tasks_status: number
|
|
85906
|
-
spaces_status: number
|
|
85907
|
-
folders_status: number
|
|
85908
|
-
installation_count: number
|
|
85909
|
-
}
|
|
85910
|
-
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
85911
|
-
id: string
|
|
85912
|
-
name: string
|
|
85913
|
-
}
|
|
85914
|
-
|
|
85915
|
-
export interface PlaygroundGdriveGetLastChangeInput {
|
|
85916
|
-
|
|
85917
|
-
}
|
|
85918
|
-
|
|
85919
|
-
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
85920
|
-
file_id: string
|
|
85921
|
-
removed: boolean
|
|
85922
|
-
file_name: (string | null)
|
|
85923
|
-
mime_type: (string | null)
|
|
85924
|
-
product_id: string
|
|
85925
|
-
occurred_at: string
|
|
85926
|
-
connector_id: string
|
|
85927
|
-
resource_state: string
|
|
85928
|
-
} | {
|
|
85929
|
-
found: false
|
|
85930
|
-
})
|
|
85931
|
-
|
|
85932
|
-
export interface PlaygroundGdriveReadFileInput {
|
|
85933
|
-
/**
|
|
85934
|
-
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
85935
|
-
*/
|
|
85936
|
-
fileId?: string
|
|
85937
|
-
}
|
|
85938
|
-
|
|
85939
|
-
export interface PlaygroundGdriveReadFileOutput {
|
|
85940
|
-
minted: boolean
|
|
85941
|
-
file_id: (string | null)
|
|
85942
|
-
file_name: (string | null)
|
|
85943
|
-
mime_type: (string | null)
|
|
85944
|
-
file_count: number
|
|
85945
|
-
get_status: number
|
|
85946
|
-
list_status: number
|
|
85947
|
-
vend_status: number
|
|
85948
|
-
content_bytes: (number | null)
|
|
85949
|
-
}
|
|
85950
|
-
|
|
85951
|
-
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
85952
|
-
|
|
85953
|
-
}
|
|
85954
|
-
|
|
85955
|
-
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
85956
|
-
minted: boolean
|
|
85957
|
-
vended: boolean
|
|
85958
|
-
customer_id: (string | null)
|
|
85959
|
-
vend_status: number
|
|
85960
|
-
result_count: number
|
|
85961
|
-
search_status: number
|
|
85962
|
-
login_customer_id: (string | null)
|
|
85963
|
-
}
|
|
85964
|
-
|
|
85965
|
-
export interface PlaygroundLifecycleGetStateInput {
|
|
85966
|
-
|
|
85967
|
-
}
|
|
85968
|
-
|
|
85969
|
-
export interface PlaygroundLifecycleGetStateOutput {
|
|
85970
|
-
blocked: boolean
|
|
85971
|
-
archived: boolean
|
|
85972
|
-
productId: string
|
|
85973
|
-
lastBlockTransition: ({
|
|
85974
|
-
eventId: string
|
|
85975
|
-
eventName: string
|
|
85976
|
-
productId: string
|
|
85977
|
-
occurredAt: string
|
|
85978
|
-
recordedAt: string
|
|
85979
|
-
receiptCount: number
|
|
85980
|
-
organizationId: string
|
|
85981
|
-
cascadedFromOrg: boolean
|
|
85982
|
-
} | null)
|
|
85983
|
-
lastArchiveTransition: ({
|
|
85984
|
-
eventId: string
|
|
85985
|
-
eventName: string
|
|
85986
|
-
productId: string
|
|
85987
|
-
occurredAt: string
|
|
85988
|
-
recordedAt: string
|
|
85989
|
-
receiptCount: number
|
|
85990
|
-
organizationId: string
|
|
85991
|
-
cascadedFromOrg: boolean
|
|
85992
|
-
} | null)
|
|
85993
|
-
}
|
|
85994
|
-
|
|
85995
|
-
export interface PlaygroundLifecycleListEventsInput {
|
|
85996
|
-
|
|
85997
|
-
}
|
|
85998
|
-
|
|
85999
|
-
export type PlaygroundLifecycleListEventsOutput = {
|
|
86000
|
-
eventId: string
|
|
86001
|
-
eventName: string
|
|
86002
|
-
productId: string
|
|
86003
|
-
occurredAt: string
|
|
86004
|
-
recordedAt: string
|
|
86005
|
-
receiptCount: number
|
|
86006
|
-
organizationId: string
|
|
86007
|
-
cascadedFromOrg: boolean
|
|
86008
|
-
}[]
|
|
86009
|
-
|
|
86010
|
-
export interface PlaygroundWebhookGetLastInput {
|
|
86011
|
-
|
|
86012
|
-
}
|
|
86013
|
-
|
|
86014
|
-
export type PlaygroundWebhookGetLastOutput = ({
|
|
86015
|
-
payload?: unknown
|
|
86016
|
-
event_id: string
|
|
86017
|
-
provider: string
|
|
86018
|
-
verified: boolean
|
|
86019
|
-
product_id: string
|
|
86020
|
-
occurred_at: string
|
|
86021
|
-
connector_id: string
|
|
86022
|
-
delivery_count: number
|
|
86023
|
-
} | {
|
|
86024
|
-
found: false
|
|
86025
|
-
})
|
|
86026
|
-
|
|
86027
|
-
export interface PlaygroundWorkflowEchoInput {
|
|
86028
|
-
/**
|
|
86029
|
-
* The text to store, 1–1024 characters
|
|
86030
|
-
*/
|
|
86031
|
-
note: string
|
|
86032
|
-
/**
|
|
86033
|
-
* Optional labels stored alongside the note, at most 20
|
|
86034
|
-
*
|
|
86035
|
-
* @maxItems 20
|
|
86036
|
-
*/
|
|
86037
|
-
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]
|
|
86038
|
-
}
|
|
86039
|
-
|
|
86040
|
-
export interface PlaygroundWorkflowEchoOutput {
|
|
86041
|
-
/**
|
|
86042
|
-
* Identifier of the stored echo
|
|
86043
|
-
*/
|
|
86044
|
-
id: string
|
|
86045
|
-
/**
|
|
86046
|
-
* The note exactly as it was received
|
|
86047
|
-
*/
|
|
86048
|
-
note: string
|
|
86049
|
-
/**
|
|
86050
|
-
* The tags exactly as they were received
|
|
86051
|
-
*/
|
|
86052
|
-
tags: string[]
|
|
86053
|
-
/**
|
|
86054
|
-
* 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.
|
|
86055
|
-
*/
|
|
86056
|
-
echo_id: string
|
|
86057
|
-
/**
|
|
86058
|
-
* ISO-8601 instant (UTC) at which the echo was stored
|
|
86059
|
-
*/
|
|
86060
|
-
received_at: string
|
|
86061
|
-
}
|
|
86062
|
-
|
|
86063
|
-
export interface PlaygroundWorkflowEchoListInput {
|
|
86064
|
-
|
|
86065
|
-
}
|
|
86066
|
-
|
|
86067
|
-
export type PlaygroundWorkflowEchoListOutput = {
|
|
86068
|
-
/**
|
|
86069
|
-
* Identifier of the stored echo
|
|
86070
|
-
*/
|
|
86071
|
-
id: string
|
|
86072
|
-
/**
|
|
86073
|
-
* The note exactly as it was received
|
|
86074
|
-
*/
|
|
86075
|
-
note: string
|
|
86076
|
-
/**
|
|
86077
|
-
* The tags exactly as they were received
|
|
86078
|
-
*/
|
|
86079
|
-
tags: string[]
|
|
86080
|
-
/**
|
|
86081
|
-
* ISO-8601 instant (UTC) at which the echo was stored
|
|
86082
|
-
*/
|
|
86083
|
-
received_at: string
|
|
86084
|
-
}[]
|
|
86085
|
-
|
|
86086
|
-
export interface PlaygroundWorkflowPingInput {
|
|
86087
|
-
/**
|
|
86088
|
-
* Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
|
|
86089
|
-
*/
|
|
86090
|
-
kind?: string
|
|
86091
|
-
}
|
|
86092
|
-
|
|
86093
|
-
export interface PlaygroundWorkflowPingOutput {
|
|
86094
|
-
/**
|
|
86095
|
-
* 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.
|
|
86096
|
-
*/
|
|
86097
|
-
id: string
|
|
86098
|
-
/**
|
|
86099
|
-
* The name of the event that was published
|
|
86100
|
-
*/
|
|
86101
|
-
event: string
|
|
86102
|
-
}
|
|
86103
|
-
|
|
86104
|
-
export interface PlaygroundWorkflowSubjectsListInput {
|
|
86105
|
-
/**
|
|
86106
|
-
* How many subjects to return, 1–100. Defaults to 25.
|
|
86107
|
-
*/
|
|
86108
|
-
limit?: number
|
|
86109
|
-
/**
|
|
86110
|
-
* The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
|
|
86111
|
-
*/
|
|
86112
|
-
cursor?: string
|
|
86113
|
-
/**
|
|
86114
|
-
* 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.
|
|
86115
|
-
*/
|
|
86116
|
-
last_activity_after?: string
|
|
86117
|
-
/**
|
|
86118
|
-
* 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.
|
|
86119
|
-
*/
|
|
86120
|
-
last_activity_before?: string
|
|
86121
|
-
}
|
|
86122
|
-
|
|
86123
|
-
export interface PlaygroundWorkflowSubjectsListOutput {
|
|
86124
|
-
/**
|
|
86125
|
-
* This page of subjects, most recently active first
|
|
86126
|
-
*/
|
|
86127
|
-
items: {
|
|
86128
|
-
/**
|
|
86129
|
-
* 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.
|
|
86130
|
-
*/
|
|
86131
|
-
subject_key: string
|
|
86132
|
-
/**
|
|
86133
|
-
* Human-readable name of the subject
|
|
86134
|
-
*/
|
|
86135
|
-
display_name: string
|
|
86136
|
-
/**
|
|
86137
|
-
* ISO-8601 instant (UTC) of the subject last activity
|
|
86138
|
-
*/
|
|
86139
|
-
last_activity_at: string
|
|
86140
|
-
}[]
|
|
86141
|
-
/**
|
|
86142
|
-
* Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
|
|
86143
|
-
*/
|
|
86144
|
-
has_more: boolean
|
|
86145
|
-
/**
|
|
86146
|
-
* Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
|
|
86147
|
-
*/
|
|
86148
|
-
next_cursor: (string | null)
|
|
86149
|
-
}
|
|
86150
|
-
|
|
86151
|
-
export interface PlaygroundWsEchoInput {
|
|
86152
|
-
|
|
86153
|
-
}
|
|
86154
|
-
|
|
86155
|
-
export type PlaygroundWsEchoOutput = unknown;
|
|
86156
|
-
|
|
86157
85730
|
export interface RealtimeArchiveExportInput {
|
|
86158
85731
|
/**
|
|
86159
85732
|
* Only entries with ts <= to_ts (epoch ms)
|
|
@@ -107788,6 +107361,7 @@ ok: true
|
|
|
107788
107361
|
archive: {
|
|
107789
107362
|
note: string
|
|
107790
107363
|
status: "gap_flagged"
|
|
107364
|
+
erasureRequestId: string
|
|
107791
107365
|
}
|
|
107792
107366
|
deleted: {
|
|
107793
107367
|
events: number
|
|
@@ -109886,7 +109460,7 @@ name?: string
|
|
|
109886
109460
|
*/
|
|
109887
109461
|
imageUrl?: string
|
|
109888
109462
|
/**
|
|
109889
|
-
*
|
|
109463
|
+
* Optional credential to store for this user. Hashes only — this toolkit never accepts a plaintext password. Nothing verifies it until Phase 2.
|
|
109890
109464
|
*/
|
|
109891
109465
|
password?: {
|
|
109892
109466
|
/**
|
|
@@ -109894,7 +109468,7 @@ password?: {
|
|
|
109894
109468
|
*/
|
|
109895
109469
|
phcHash?: string
|
|
109896
109470
|
/**
|
|
109897
|
-
* An imported hash from another system, to be lazily rehashed on the first successful sign-in.
|
|
109471
|
+
* An imported hash from another system, to be lazily rehashed on the first successful sign-in (Phase 2).
|
|
109898
109472
|
*/
|
|
109899
109473
|
foreignHash?: string
|
|
109900
109474
|
/**
|
|
@@ -110049,6 +109623,46 @@ export interface UsersUsersDeleteOutputPublicMetadata {
|
|
|
110049
109623
|
[k: string]: unknown
|
|
110050
109624
|
}
|
|
110051
109625
|
|
|
109626
|
+
export interface UsersUsersEraseInput {
|
|
109627
|
+
/**
|
|
109628
|
+
* The opaque user id returned by users_users_create or _list.
|
|
109629
|
+
*/
|
|
109630
|
+
userId: string
|
|
109631
|
+
}
|
|
109632
|
+
|
|
109633
|
+
export interface UsersUsersEraseOutput {
|
|
109634
|
+
id: string
|
|
109635
|
+
name: (string | null)
|
|
109636
|
+
bannedAt: (string | null)
|
|
109637
|
+
erasedAt: (string | null)
|
|
109638
|
+
imageUrl: (string | null)
|
|
109639
|
+
testUser: boolean
|
|
109640
|
+
createdAt: string
|
|
109641
|
+
deletedAt: (string | null)
|
|
109642
|
+
productId: string
|
|
109643
|
+
updatedAt: string
|
|
109644
|
+
waitlisted: boolean
|
|
109645
|
+
identifiers: {
|
|
109646
|
+
id: string
|
|
109647
|
+
type: "email"
|
|
109648
|
+
value: string
|
|
109649
|
+
isPrimary: boolean
|
|
109650
|
+
verifiedAt: (string | null)
|
|
109651
|
+
valueCanonical: string
|
|
109652
|
+
verificationStatus: ("unverified" | "verified" | "expired")
|
|
109653
|
+
}[]
|
|
109654
|
+
lockedUntil: (string | null)
|
|
109655
|
+
lastSignInAt: (string | null)
|
|
109656
|
+
requiresReset: boolean
|
|
109657
|
+
publicMetadata: UsersUsersEraseOutputPublicMetadata
|
|
109658
|
+
unsafeMetadata: UsersUsersEraseOutputPublicMetadata
|
|
109659
|
+
privateMetadata: UsersUsersEraseOutputPublicMetadata
|
|
109660
|
+
emailChangeLockedUntil: (string | null)
|
|
109661
|
+
}
|
|
109662
|
+
export interface UsersUsersEraseOutputPublicMetadata {
|
|
109663
|
+
[k: string]: unknown
|
|
109664
|
+
}
|
|
109665
|
+
|
|
110052
109666
|
export interface UsersUsersExportInput {
|
|
110053
109667
|
/**
|
|
110054
109668
|
* Rows per page, 1-500. Default 100.
|
|
@@ -110410,6 +110024,17 @@ export interface UsersUsersUpdateOutputPublicMetadata {
|
|
|
110410
110024
|
[k: string]: unknown
|
|
110411
110025
|
}
|
|
110412
110026
|
|
|
110027
|
+
export interface UsersWaitlistEraseInput {
|
|
110028
|
+
/**
|
|
110029
|
+
* The waitlisted user whose entry and directory row to erase.
|
|
110030
|
+
*/
|
|
110031
|
+
userId: string
|
|
110032
|
+
}
|
|
110033
|
+
|
|
110034
|
+
export interface UsersWaitlistEraseOutput {
|
|
110035
|
+
erased: boolean
|
|
110036
|
+
}
|
|
110037
|
+
|
|
110413
110038
|
export interface UsersWaitlistFunnelInput {
|
|
110414
110039
|
|
|
110415
110040
|
}
|
package/src/gen/users/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
export type { UsersApikeysCreateInput, UsersApikeysCreateOutput, UsersApikeysListInput, UsersApikeysListOutput, UsersApikeysRevokeInput, UsersApikeysRevokeOutput, UsersAuditListInput, UsersAuditListOutput, UsersConfigGetInput, UsersConfigGetOutput, UsersConfigUpsertInput, UsersConfigUpsertOutput, UsersFactorsListInput, UsersFactorsListOutput, UsersFactorsResetInput, UsersFactorsResetOutput, UsersKeysListInput, UsersKeysListOutput, UsersKeysRevokeInput, UsersKeysRevokeOutput, UsersKeysRotateInput, UsersKeysRotateOutput, UsersOpsRetentionGetInput, UsersOpsRetentionGetOutput, UsersOpsSloGetInput, UsersOpsSloGetOutput, UsersPasskeysListInput, UsersPasskeysListOutput, UsersPasskeysRevokeInput, UsersPasskeysRevokeOutput, UsersSessionsGetInput, UsersSessionsGetOutput, UsersSessionsImpersonateInput, UsersSessionsImpersonateOutput, UsersSessionsListInput, UsersSessionsListOutput, UsersSessionsRevokeInput, UsersSessionsRevokeOutput, UsersStatsGetInput, UsersStatsGetOutput, UsersUsersBanInput, UsersUsersBanOutput, UsersUsersCreateInput, UsersUsersCreateOutput, UsersUsersDeleteInput, UsersUsersDeleteOutput, UsersUsersExportInput, UsersUsersExportOutput, UsersUsersGetInput, UsersUsersGetOutput, UsersUsersImportInput, UsersUsersImportOutput, UsersUsersInviteInput, UsersUsersInviteOutput, UsersUsersListInput, UsersUsersListOutput, UsersUsersSetPrimaryIdentifierInput, UsersUsersSetPrimaryIdentifierOutput, UsersUsersUnbanInput, UsersUsersUnbanOutput, UsersUsersUpdateInput, UsersUsersUpdateOutput, UsersWaitlistFunnelInput, UsersWaitlistFunnelOutput, UsersWaitlistImportInput, UsersWaitlistImportOutput, UsersWaitlistInviteInput, UsersWaitlistInviteOutput, UsersWaitlistListInput, UsersWaitlistListOutput, UsersWebhooksCreateInput, UsersWebhooksCreateOutput, UsersWebhooksDeleteInput, UsersWebhooksDeleteOutput, UsersWebhooksDeliveriesListInput, UsersWebhooksDeliveriesListOutput, UsersWebhooksGetInput, UsersWebhooksGetOutput, UsersWebhooksListInput, UsersWebhooksListOutput, UsersWebhooksRotateSecretInput, UsersWebhooksRotateSecretOutput, UsersWebhooksUpdateInput, UsersWebhooksUpdateOutput } from '../types.gen';
|
|
3
|
+
export type { UsersApikeysCreateInput, UsersApikeysCreateOutput, UsersApikeysListInput, UsersApikeysListOutput, UsersApikeysRevokeInput, UsersApikeysRevokeOutput, UsersAuditListInput, UsersAuditListOutput, UsersConfigGetInput, UsersConfigGetOutput, UsersConfigUpsertInput, UsersConfigUpsertOutput, UsersFactorsListInput, UsersFactorsListOutput, UsersFactorsResetInput, UsersFactorsResetOutput, UsersKeysListInput, UsersKeysListOutput, UsersKeysRevokeInput, UsersKeysRevokeOutput, UsersKeysRotateInput, UsersKeysRotateOutput, UsersOpsRetentionGetInput, UsersOpsRetentionGetOutput, UsersOpsSloGetInput, UsersOpsSloGetOutput, UsersPasskeysListInput, UsersPasskeysListOutput, UsersPasskeysRevokeInput, UsersPasskeysRevokeOutput, UsersSessionsGetInput, UsersSessionsGetOutput, UsersSessionsImpersonateInput, UsersSessionsImpersonateOutput, UsersSessionsListInput, UsersSessionsListOutput, UsersSessionsRevokeInput, UsersSessionsRevokeOutput, UsersStatsGetInput, UsersStatsGetOutput, UsersUsersBanInput, UsersUsersBanOutput, UsersUsersCreateInput, UsersUsersCreateOutput, UsersUsersDeleteInput, UsersUsersDeleteOutput, UsersUsersEraseInput, UsersUsersEraseOutput, UsersUsersExportInput, UsersUsersExportOutput, UsersUsersGetInput, UsersUsersGetOutput, UsersUsersImportInput, UsersUsersImportOutput, UsersUsersInviteInput, UsersUsersInviteOutput, UsersUsersListInput, UsersUsersListOutput, UsersUsersSetPrimaryIdentifierInput, UsersUsersSetPrimaryIdentifierOutput, UsersUsersUnbanInput, UsersUsersUnbanOutput, UsersUsersUpdateInput, UsersUsersUpdateOutput, UsersWaitlistEraseInput, UsersWaitlistEraseOutput, UsersWaitlistFunnelInput, UsersWaitlistFunnelOutput, UsersWaitlistImportInput, UsersWaitlistImportOutput, UsersWaitlistInviteInput, UsersWaitlistInviteOutput, UsersWaitlistListInput, UsersWaitlistListOutput, UsersWebhooksCreateInput, UsersWebhooksCreateOutput, UsersWebhooksDeleteInput, UsersWebhooksDeleteOutput, UsersWebhooksDeliveriesListInput, UsersWebhooksDeliveriesListOutput, UsersWebhooksGetInput, UsersWebhooksGetOutput, UsersWebhooksListInput, UsersWebhooksListOutput, UsersWebhooksRotateSecretInput, UsersWebhooksRotateSecretOutput, UsersWebhooksUpdateInput, UsersWebhooksUpdateOutput } from '../types.gen';
|
|
@@ -32,6 +32,7 @@ import type {
|
|
|
32
32
|
UsersUsersBanInput,
|
|
33
33
|
UsersUsersCreateInput,
|
|
34
34
|
UsersUsersDeleteInput,
|
|
35
|
+
UsersUsersEraseInput,
|
|
35
36
|
UsersUsersExportInput,
|
|
36
37
|
UsersUsersGetInput,
|
|
37
38
|
UsersUsersGetOutput,
|
|
@@ -42,6 +43,7 @@ import type {
|
|
|
42
43
|
UsersUsersSetPrimaryIdentifierInput,
|
|
43
44
|
UsersUsersUnbanInput,
|
|
44
45
|
UsersUsersUpdateInput,
|
|
46
|
+
UsersWaitlistEraseInput,
|
|
45
47
|
UsersWaitlistFunnelInput,
|
|
46
48
|
UsersWaitlistImportInput,
|
|
47
49
|
UsersWaitlistInviteInput,
|
|
@@ -173,6 +175,11 @@ export const usersUsersDeleteMutationOptions = (sdk: GeneratedClient) => ({
|
|
|
173
175
|
mutationFn: (input: UsersUsersDeleteInput) => sdk['users']['users']['delete'](input),
|
|
174
176
|
});
|
|
175
177
|
|
|
178
|
+
export const usersUsersEraseMutationOptions = (sdk: GeneratedClient) => ({
|
|
179
|
+
mutationKey: ['users', 'users', 'erase'],
|
|
180
|
+
mutationFn: (input: UsersUsersEraseInput) => sdk['users']['users']['erase'](input),
|
|
181
|
+
});
|
|
182
|
+
|
|
176
183
|
export const usersUsersExportMutationOptions = (sdk: GeneratedClient) => ({
|
|
177
184
|
mutationKey: ['users', 'users', 'export'],
|
|
178
185
|
mutationFn: (input: UsersUsersExportInput) => sdk['users']['users']['export'](input),
|
|
@@ -213,6 +220,11 @@ export const usersUsersUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
|
213
220
|
mutationFn: (input: UsersUsersUpdateInput) => sdk['users']['users']['update'](input),
|
|
214
221
|
});
|
|
215
222
|
|
|
223
|
+
export const usersWaitlistEraseMutationOptions = (sdk: GeneratedClient) => ({
|
|
224
|
+
mutationKey: ['users', 'waitlist', 'erase'],
|
|
225
|
+
mutationFn: (input: UsersWaitlistEraseInput) => sdk['users']['waitlist']['erase'](input),
|
|
226
|
+
});
|
|
227
|
+
|
|
216
228
|
export const usersWaitlistFunnelMutationOptions = (sdk: GeneratedClient) => ({
|
|
217
229
|
mutationKey: ['users', 'waitlist', 'funnel'],
|
|
218
230
|
mutationFn: (input: UsersWaitlistFunnelInput) => sdk['users']['waitlist']['funnel'](input),
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './queryOptions.gen.js';
|
|
2
|
-
export * from './connect.gen.js';
|
|
3
|
-
export type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowEchoOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowPingOutput, PlaygroundWorkflowSubjectsListInput, PlaygroundWorkflowSubjectsListOutput, PlaygroundWsEchoInput } from '../types.gen.js';
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import type { GeneratedClient } from '../client.gen.js';
|
|
2
|
-
import type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundClickupCreateTaskInput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowSubjectsListInput, PlaygroundWorkflowSubjectsListOutput } from '../types.gen.js';
|
|
3
|
-
export declare const playgroundAnalyticsOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => {
|
|
4
|
-
queryKey: readonly ["playground", "analytics", "overview", PlaygroundAnalyticsOverviewInput];
|
|
5
|
-
queryFn: () => Promise<PlaygroundAnalyticsOverviewOutput>;
|
|
6
|
-
};
|
|
7
|
-
export declare const playgroundBillingEntitlementsQueryOptions: (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => {
|
|
8
|
-
queryKey: readonly ["playground", "billing", "entitlements", PlaygroundBillingEntitlementsInput];
|
|
9
|
-
queryFn: () => Promise<PlaygroundBillingEntitlementsOutput>;
|
|
10
|
-
};
|
|
11
|
-
export declare const playgroundBillingRecordUsageMutationOptions: (sdk: GeneratedClient) => {
|
|
12
|
-
mutationKey: string[];
|
|
13
|
-
mutationFn: (input: PlaygroundBillingRecordUsageInput) => Promise<import(".").PlaygroundBillingRecordUsageOutput>;
|
|
14
|
-
};
|
|
15
|
-
export declare const playgroundClickupCreateTaskMutationOptions: (sdk: GeneratedClient) => {
|
|
16
|
-
mutationKey: string[];
|
|
17
|
-
mutationFn: (input: PlaygroundClickupCreateTaskInput) => Promise<import(".").PlaygroundClickupCreateTaskOutput>;
|
|
18
|
-
};
|
|
19
|
-
export declare const playgroundClickupGetLastWebhookQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => {
|
|
20
|
-
queryKey: readonly ["playground", "clickup", "get-last-webhook", PlaygroundClickupGetLastWebhookInput];
|
|
21
|
-
queryFn: () => Promise<PlaygroundClickupGetLastWebhookOutput>;
|
|
22
|
-
};
|
|
23
|
-
export declare const playgroundClickupGetOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => {
|
|
24
|
-
queryKey: readonly ["playground", "clickup", "get-overview", PlaygroundClickupGetOverviewInput];
|
|
25
|
-
queryFn: () => Promise<PlaygroundClickupGetOverviewOutput>;
|
|
26
|
-
};
|
|
27
|
-
export declare const playgroundGdriveGetLastChangeQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => {
|
|
28
|
-
queryKey: readonly ["playground", "gdrive", "get-last-change", PlaygroundGdriveGetLastChangeInput];
|
|
29
|
-
queryFn: () => Promise<PlaygroundGdriveGetLastChangeOutput>;
|
|
30
|
-
};
|
|
31
|
-
export declare const playgroundGdriveReadFileQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => {
|
|
32
|
-
queryKey: readonly ["playground", "gdrive", "read-file", PlaygroundGdriveReadFileInput];
|
|
33
|
-
queryFn: () => Promise<PlaygroundGdriveReadFileOutput>;
|
|
34
|
-
};
|
|
35
|
-
export declare const playgroundGoogleadsReadCustomerQueryOptions: (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => {
|
|
36
|
-
queryKey: readonly ["playground", "googleads", "read-customer", PlaygroundGoogleadsReadCustomerInput];
|
|
37
|
-
queryFn: () => Promise<PlaygroundGoogleadsReadCustomerOutput>;
|
|
38
|
-
};
|
|
39
|
-
export declare const playgroundLifecycleGetStateQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => {
|
|
40
|
-
queryKey: readonly ["playground", "lifecycle", "get-state", PlaygroundLifecycleGetStateInput];
|
|
41
|
-
queryFn: () => Promise<PlaygroundLifecycleGetStateOutput>;
|
|
42
|
-
};
|
|
43
|
-
export declare const playgroundLifecycleListEventsQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => {
|
|
44
|
-
queryKey: readonly ["playground", "lifecycle", "list-events", PlaygroundLifecycleListEventsInput];
|
|
45
|
-
queryFn: () => Promise<PlaygroundLifecycleListEventsOutput>;
|
|
46
|
-
};
|
|
47
|
-
export declare const playgroundWebhookGetLastQueryOptions: (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => {
|
|
48
|
-
queryKey: readonly ["playground", "webhook", "get-last", PlaygroundWebhookGetLastInput];
|
|
49
|
-
queryFn: () => Promise<PlaygroundWebhookGetLastOutput>;
|
|
50
|
-
};
|
|
51
|
-
export declare const playgroundWorkflowEchoMutationOptions: (sdk: GeneratedClient) => {
|
|
52
|
-
mutationKey: string[];
|
|
53
|
-
mutationFn: (input: PlaygroundWorkflowEchoInput) => Promise<import(".").PlaygroundWorkflowEchoOutput>;
|
|
54
|
-
};
|
|
55
|
-
export declare const playgroundWorkflowEchoListQueryOptions: (sdk: GeneratedClient, input: PlaygroundWorkflowEchoListInput) => {
|
|
56
|
-
queryKey: readonly ["playground", "workflow", "echo-list", PlaygroundWorkflowEchoListInput];
|
|
57
|
-
queryFn: () => Promise<PlaygroundWorkflowEchoListOutput>;
|
|
58
|
-
};
|
|
59
|
-
export declare const playgroundWorkflowPingMutationOptions: (sdk: GeneratedClient) => {
|
|
60
|
-
mutationKey: string[];
|
|
61
|
-
mutationFn: (input: PlaygroundWorkflowPingInput) => Promise<import(".").PlaygroundWorkflowPingOutput>;
|
|
62
|
-
};
|
|
63
|
-
export declare const playgroundWorkflowSubjectsListQueryOptions: (sdk: GeneratedClient, input: PlaygroundWorkflowSubjectsListInput) => {
|
|
64
|
-
queryKey: readonly ["playground", "workflow", "subjects-list", PlaygroundWorkflowSubjectsListInput];
|
|
65
|
-
queryFn: () => Promise<PlaygroundWorkflowSubjectsListOutput>;
|
|
66
|
-
};
|