@lessly/sdk-app 39.1.0 → 41.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics/index.d.cts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/brain/index.cjs +0 -5
- package/dist/brain/index.cjs.map +1 -1
- package/dist/brain/index.d.cts +2 -6
- package/dist/brain/index.d.ts +2 -6
- package/dist/brain/index.js +1 -5
- package/dist/brain/index.js.map +1 -1
- package/dist/{client.gen-Co3x1ZjK.d.cts → client.gen-CMLEyXO3.d.cts} +340 -99
- package/dist/{client.gen-Co3x1ZjK.d.ts → client.gen-CMLEyXO3.d.ts} +340 -99
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/deployment/index.d.cts +1 -1
- package/dist/deployment/index.d.ts +1 -1
- package/dist/index.cjs +148 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +148 -13
- package/dist/index.js.map +1 -1
- package/dist/mail/index.d.cts +2 -2
- package/dist/mail/index.d.ts +2 -2
- package/dist/observe/index.d.cts +1 -1
- package/dist/observe/index.d.ts +1 -1
- package/dist/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/playground/index.cjs +66 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +52 -0
- package/dist/playground/index.d.ts +52 -0
- package/dist/playground/index.js +53 -0
- package/dist/playground/index.js.map +1 -0
- package/dist/realtime/index.d.cts +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/support/index.d.cts +1 -1
- package/dist/support/index.d.ts +1 -1
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/users/index.cjs +10 -0
- package/dist/users/index.cjs.map +1 -1
- package/dist/users/index.d.cts +10 -2
- package/dist/users/index.d.ts +10 -2
- package/dist/users/index.js +9 -1
- package/dist/users/index.js.map +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/package.json +7 -2
- package/src/gen/bindings.gen.ts +148 -13
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +0 -7
- package/src/gen/client.gen.ts +60 -5
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/playground/index.ts +3 -0
- package/src/gen/playground/queryOptions.gen.ts +86 -0
- package/src/gen/types.gen.ts +343 -97
- package/src/gen/users/index.ts +1 -1
- package/src/gen/users/queryOptions.gen.ts +13 -0
package/src/gen/types.gen.ts
CHANGED
|
@@ -1028,98 +1028,6 @@ snapshotId: string
|
|
|
1028
1028
|
preRestoreSnapshotId: (string | null)
|
|
1029
1029
|
} | null)
|
|
1030
1030
|
|
|
1031
|
-
export interface BrainUsageReportInput {
|
|
1032
|
-
/**
|
|
1033
|
-
* How many UTC days of this product's ledger to return, ending today (default 30, max 90)
|
|
1034
|
-
*/
|
|
1035
|
-
days?: number
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
export interface BrainUsageReportOutput {
|
|
1039
|
-
note: string
|
|
1040
|
-
/**
|
|
1041
|
-
* Brain's own ledger, for THIS product only
|
|
1042
|
-
*/
|
|
1043
|
-
product: {
|
|
1044
|
-
/**
|
|
1045
|
-
* Inclusive UTC end of the window (today), YYYY-MM-DD
|
|
1046
|
-
*/
|
|
1047
|
-
to: string
|
|
1048
|
-
/**
|
|
1049
|
-
* The window actually used, after clamping
|
|
1050
|
-
*/
|
|
1051
|
-
days: number
|
|
1052
|
-
/**
|
|
1053
|
-
* Inclusive UTC start of the window, YYYY-MM-DD
|
|
1054
|
-
*/
|
|
1055
|
-
from: string
|
|
1056
|
-
rows: {
|
|
1057
|
-
/**
|
|
1058
|
-
* 'sync' | 'batch'; '' when the push carried none
|
|
1059
|
-
*/
|
|
1060
|
-
mode: string
|
|
1061
|
-
/**
|
|
1062
|
-
* Manifest meter slug, e.g. llm-tokens
|
|
1063
|
-
*/
|
|
1064
|
-
meter: string
|
|
1065
|
-
/**
|
|
1066
|
-
* Model dimension; '' when the push carried none
|
|
1067
|
-
*/
|
|
1068
|
-
model: string
|
|
1069
|
-
/**
|
|
1070
|
-
* How many record() calls landed in this slice
|
|
1071
|
-
*/
|
|
1072
|
-
events: number
|
|
1073
|
-
/**
|
|
1074
|
-
* Tokens we metered for this slice, delivered or not
|
|
1075
|
-
*/
|
|
1076
|
-
tokens: number
|
|
1077
|
-
/**
|
|
1078
|
-
* Purpose dimension; '' when the push carried none
|
|
1079
|
-
*/
|
|
1080
|
-
purpose: string
|
|
1081
|
-
/**
|
|
1082
|
-
* UTC calendar day, YYYY-MM-DD
|
|
1083
|
-
*/
|
|
1084
|
-
usage_date: string
|
|
1085
|
-
/**
|
|
1086
|
-
* Of those events, how many billing did not accept
|
|
1087
|
-
*/
|
|
1088
|
-
delivery_failed: number
|
|
1089
|
-
}[]
|
|
1090
|
-
/**
|
|
1091
|
-
* The rows rolled up per meter across the whole window
|
|
1092
|
-
*/
|
|
1093
|
-
totals: {
|
|
1094
|
-
meter: string
|
|
1095
|
-
events: number
|
|
1096
|
-
tokens: number
|
|
1097
|
-
delivery_failed: number
|
|
1098
|
-
}[]
|
|
1099
|
-
product_id: string
|
|
1100
|
-
}
|
|
1101
|
-
/**
|
|
1102
|
-
* The platform billing aggregate for the whole ORG; null if it could not be read
|
|
1103
|
-
*/
|
|
1104
|
-
platform: ({
|
|
1105
|
-
plan: string
|
|
1106
|
-
scope: "org"
|
|
1107
|
-
meters: {
|
|
1108
|
-
unit?: string
|
|
1109
|
-
used?: number
|
|
1110
|
-
limit?: (number | null)
|
|
1111
|
-
remaining?: (number | null)
|
|
1112
|
-
unlimited?: boolean
|
|
1113
|
-
meter_slug: string
|
|
1114
|
-
}[]
|
|
1115
|
-
org_id: string
|
|
1116
|
-
} | null)
|
|
1117
|
-
/**
|
|
1118
|
-
* Why the platform aggregate is null; null when it was read successfully
|
|
1119
|
-
*/
|
|
1120
|
-
platform_error: (string | null)
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
1031
|
export interface ConsentConfigCookieDomainUpsertInput {
|
|
1124
1032
|
cookieDomain: ("" | null | string)
|
|
1125
1033
|
}
|
|
@@ -1749,6 +1657,7 @@ outputDir?: string
|
|
|
1749
1657
|
}
|
|
1750
1658
|
markdown?: boolean
|
|
1751
1659
|
})
|
|
1660
|
+
tracing?: string
|
|
1752
1661
|
replicas: number
|
|
1753
1662
|
createdAt: string
|
|
1754
1663
|
dependsOn: string[]
|
|
@@ -2721,7 +2630,7 @@ baseEnvironmentId: (string | null)
|
|
|
2721
2630
|
}
|
|
2722
2631
|
|
|
2723
2632
|
export interface DeploymentEventsListByEnvironmentInput {
|
|
2724
|
-
type?: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored")
|
|
2633
|
+
type?: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted")
|
|
2725
2634
|
limit?: number
|
|
2726
2635
|
since?: string
|
|
2727
2636
|
until?: string
|
|
@@ -2730,7 +2639,7 @@ environmentId: string
|
|
|
2730
2639
|
|
|
2731
2640
|
export type DeploymentEventsListByEnvironmentOutput = {
|
|
2732
2641
|
id: string
|
|
2733
|
-
type: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored")
|
|
2642
|
+
type: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted")
|
|
2734
2643
|
payload: {
|
|
2735
2644
|
[k: string]: unknown
|
|
2736
2645
|
}
|
|
@@ -2743,7 +2652,7 @@ environmentId: (string | null)
|
|
|
2743
2652
|
}[]
|
|
2744
2653
|
|
|
2745
2654
|
export interface DeploymentEventsListByServiceInput {
|
|
2746
|
-
type?: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored")
|
|
2655
|
+
type?: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted")
|
|
2747
2656
|
limit?: number
|
|
2748
2657
|
since?: string
|
|
2749
2658
|
until?: string
|
|
@@ -2753,7 +2662,7 @@ deploymentId?: string
|
|
|
2753
2662
|
|
|
2754
2663
|
export type DeploymentEventsListByServiceOutput = {
|
|
2755
2664
|
id: string
|
|
2756
|
-
type: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored")
|
|
2665
|
+
type: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted")
|
|
2757
2666
|
payload: {
|
|
2758
2667
|
[k: string]: unknown
|
|
2759
2668
|
}
|
|
@@ -3247,6 +3156,10 @@ outputDir?: string
|
|
|
3247
3156
|
}
|
|
3248
3157
|
markdown?: boolean
|
|
3249
3158
|
})
|
|
3159
|
+
/**
|
|
3160
|
+
* OTel SDK to inject into this service's pods: 'off' (none), 'node' or 'python'. Read when a deploy builds the workload — takes effect on the next deploy, running pods are untouched.
|
|
3161
|
+
*/
|
|
3162
|
+
tracing?: ("off" | "node" | "python")
|
|
3250
3163
|
replicas?: number
|
|
3251
3164
|
resources?: {
|
|
3252
3165
|
limits?: {
|
|
@@ -3302,6 +3215,7 @@ outputDir?: string
|
|
|
3302
3215
|
}
|
|
3303
3216
|
markdown?: boolean
|
|
3304
3217
|
})
|
|
3218
|
+
tracing?: string
|
|
3305
3219
|
replicas: number
|
|
3306
3220
|
createdAt: string
|
|
3307
3221
|
dependsOn: string[]
|
|
@@ -3407,6 +3321,7 @@ outputDir?: string
|
|
|
3407
3321
|
}
|
|
3408
3322
|
markdown?: boolean
|
|
3409
3323
|
})
|
|
3324
|
+
tracing?: string
|
|
3410
3325
|
replicas: number
|
|
3411
3326
|
createdAt: string
|
|
3412
3327
|
dependsOn: string[]
|
|
@@ -3479,6 +3394,7 @@ outputDir?: string
|
|
|
3479
3394
|
}
|
|
3480
3395
|
markdown?: boolean
|
|
3481
3396
|
})
|
|
3397
|
+
tracing?: string
|
|
3482
3398
|
replicas: number
|
|
3483
3399
|
createdAt: string
|
|
3484
3400
|
dependsOn: string[]
|
|
@@ -3628,6 +3544,7 @@ outputDir?: string
|
|
|
3628
3544
|
}
|
|
3629
3545
|
markdown?: boolean
|
|
3630
3546
|
})
|
|
3547
|
+
tracing?: string
|
|
3631
3548
|
replicas: number
|
|
3632
3549
|
createdAt: string
|
|
3633
3550
|
dependsOn: string[]
|
|
@@ -3695,6 +3612,10 @@ outputDir?: string
|
|
|
3695
3612
|
}
|
|
3696
3613
|
markdown?: boolean
|
|
3697
3614
|
})
|
|
3615
|
+
/**
|
|
3616
|
+
* OTel SDK to inject into this service's pods: 'off' (none), 'node' or 'python'. Read when a deploy builds the workload — takes effect on the next deploy, running pods are untouched.
|
|
3617
|
+
*/
|
|
3618
|
+
tracing?: ("off" | "node" | "python")
|
|
3698
3619
|
replicas?: number
|
|
3699
3620
|
resources?: {
|
|
3700
3621
|
limits?: {
|
|
@@ -3752,6 +3673,7 @@ outputDir?: string
|
|
|
3752
3673
|
}
|
|
3753
3674
|
markdown?: boolean
|
|
3754
3675
|
})
|
|
3676
|
+
tracing?: string
|
|
3755
3677
|
replicas: number
|
|
3756
3678
|
createdAt: string
|
|
3757
3679
|
dependsOn: string[]
|
|
@@ -15039,6 +14961,7 @@ displayName: (string | null)
|
|
|
15039
14961
|
orgRoles: {
|
|
15040
14962
|
id: string
|
|
15041
14963
|
name: string
|
|
14964
|
+
description: (string | null)
|
|
15042
14965
|
}[]
|
|
15043
14966
|
canManage: boolean
|
|
15044
14967
|
inherited: {
|
|
@@ -15435,6 +15358,226 @@ lastMessagePreview: (string | null)
|
|
|
15435
15358
|
}[]
|
|
15436
15359
|
}
|
|
15437
15360
|
|
|
15361
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
15362
|
+
/**
|
|
15363
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
15364
|
+
*/
|
|
15365
|
+
limit?: number
|
|
15366
|
+
}
|
|
15367
|
+
|
|
15368
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
15369
|
+
ok: boolean
|
|
15370
|
+
minted: boolean
|
|
15371
|
+
overview?: unknown
|
|
15372
|
+
http_status: number
|
|
15373
|
+
}
|
|
15374
|
+
|
|
15375
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
15376
|
+
|
|
15377
|
+
}
|
|
15378
|
+
|
|
15379
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
15380
|
+
ok: boolean
|
|
15381
|
+
minted: boolean
|
|
15382
|
+
http_status: number
|
|
15383
|
+
entitlements?: unknown
|
|
15384
|
+
}
|
|
15385
|
+
|
|
15386
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
15387
|
+
/**
|
|
15388
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
15389
|
+
*/
|
|
15390
|
+
value?: number
|
|
15391
|
+
}
|
|
15392
|
+
|
|
15393
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
15394
|
+
minted: boolean
|
|
15395
|
+
accepted: (number | null)
|
|
15396
|
+
recorded: boolean
|
|
15397
|
+
duplicates: (number | null)
|
|
15398
|
+
http_status: number
|
|
15399
|
+
}
|
|
15400
|
+
|
|
15401
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
15402
|
+
/**
|
|
15403
|
+
* Task title; defaults to a fixture label
|
|
15404
|
+
*/
|
|
15405
|
+
name?: string
|
|
15406
|
+
/**
|
|
15407
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
15408
|
+
*/
|
|
15409
|
+
listId?: string
|
|
15410
|
+
}
|
|
15411
|
+
|
|
15412
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
15413
|
+
minted: boolean
|
|
15414
|
+
task_id: (string | null)
|
|
15415
|
+
list_status: number
|
|
15416
|
+
vend_status: number
|
|
15417
|
+
clickup_status: number
|
|
15418
|
+
installation_count: number
|
|
15419
|
+
}
|
|
15420
|
+
|
|
15421
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
15422
|
+
|
|
15423
|
+
}
|
|
15424
|
+
|
|
15425
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
15426
|
+
payload: string
|
|
15427
|
+
event_id: string
|
|
15428
|
+
provider: string
|
|
15429
|
+
verified: boolean
|
|
15430
|
+
product_id: string
|
|
15431
|
+
occurred_at: string
|
|
15432
|
+
connector_id: string
|
|
15433
|
+
clickup_event: (string | null)
|
|
15434
|
+
receipt_count: number
|
|
15435
|
+
} | {
|
|
15436
|
+
found: false
|
|
15437
|
+
})
|
|
15438
|
+
|
|
15439
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
15440
|
+
|
|
15441
|
+
}
|
|
15442
|
+
|
|
15443
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
15444
|
+
team: ({
|
|
15445
|
+
teamId: string
|
|
15446
|
+
teamName: string
|
|
15447
|
+
} | null)
|
|
15448
|
+
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
15449
|
+
tasks: {
|
|
15450
|
+
id: string
|
|
15451
|
+
name: string
|
|
15452
|
+
status: (string | null)
|
|
15453
|
+
}[]
|
|
15454
|
+
minted: boolean
|
|
15455
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
15456
|
+
list_status: number
|
|
15457
|
+
vend_status: number
|
|
15458
|
+
lists_status: number
|
|
15459
|
+
tasks_status: number
|
|
15460
|
+
spaces_status: number
|
|
15461
|
+
folders_status: number
|
|
15462
|
+
installation_count: number
|
|
15463
|
+
}
|
|
15464
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
15465
|
+
id: string
|
|
15466
|
+
name: string
|
|
15467
|
+
}
|
|
15468
|
+
|
|
15469
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
15470
|
+
|
|
15471
|
+
}
|
|
15472
|
+
|
|
15473
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
15474
|
+
file_id: string
|
|
15475
|
+
removed: boolean
|
|
15476
|
+
file_name: (string | null)
|
|
15477
|
+
mime_type: (string | null)
|
|
15478
|
+
product_id: string
|
|
15479
|
+
occurred_at: string
|
|
15480
|
+
connector_id: string
|
|
15481
|
+
resource_state: string
|
|
15482
|
+
} | {
|
|
15483
|
+
found: false
|
|
15484
|
+
})
|
|
15485
|
+
|
|
15486
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
15487
|
+
/**
|
|
15488
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
15489
|
+
*/
|
|
15490
|
+
fileId?: string
|
|
15491
|
+
}
|
|
15492
|
+
|
|
15493
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
15494
|
+
minted: boolean
|
|
15495
|
+
file_id: (string | null)
|
|
15496
|
+
file_name: (string | null)
|
|
15497
|
+
mime_type: (string | null)
|
|
15498
|
+
file_count: number
|
|
15499
|
+
get_status: number
|
|
15500
|
+
list_status: number
|
|
15501
|
+
vend_status: number
|
|
15502
|
+
content_bytes: (number | null)
|
|
15503
|
+
}
|
|
15504
|
+
|
|
15505
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
15506
|
+
|
|
15507
|
+
}
|
|
15508
|
+
|
|
15509
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
15510
|
+
minted: boolean
|
|
15511
|
+
vended: boolean
|
|
15512
|
+
customer_id: (string | null)
|
|
15513
|
+
vend_status: number
|
|
15514
|
+
result_count: number
|
|
15515
|
+
search_status: number
|
|
15516
|
+
login_customer_id: (string | null)
|
|
15517
|
+
}
|
|
15518
|
+
|
|
15519
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
15520
|
+
|
|
15521
|
+
}
|
|
15522
|
+
|
|
15523
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
15524
|
+
blocked: boolean
|
|
15525
|
+
archived: boolean
|
|
15526
|
+
productId: string
|
|
15527
|
+
lastBlockTransition: ({
|
|
15528
|
+
eventId: string
|
|
15529
|
+
eventName: string
|
|
15530
|
+
productId: string
|
|
15531
|
+
occurredAt: string
|
|
15532
|
+
recordedAt: string
|
|
15533
|
+
receiptCount: number
|
|
15534
|
+
organizationId: string
|
|
15535
|
+
cascadedFromOrg: boolean
|
|
15536
|
+
} | null)
|
|
15537
|
+
lastArchiveTransition: ({
|
|
15538
|
+
eventId: string
|
|
15539
|
+
eventName: string
|
|
15540
|
+
productId: string
|
|
15541
|
+
occurredAt: string
|
|
15542
|
+
recordedAt: string
|
|
15543
|
+
receiptCount: number
|
|
15544
|
+
organizationId: string
|
|
15545
|
+
cascadedFromOrg: boolean
|
|
15546
|
+
} | null)
|
|
15547
|
+
}
|
|
15548
|
+
|
|
15549
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
15550
|
+
|
|
15551
|
+
}
|
|
15552
|
+
|
|
15553
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
15554
|
+
eventId: string
|
|
15555
|
+
eventName: string
|
|
15556
|
+
productId: string
|
|
15557
|
+
occurredAt: string
|
|
15558
|
+
recordedAt: string
|
|
15559
|
+
receiptCount: number
|
|
15560
|
+
organizationId: string
|
|
15561
|
+
cascadedFromOrg: boolean
|
|
15562
|
+
}[]
|
|
15563
|
+
|
|
15564
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
15565
|
+
|
|
15566
|
+
}
|
|
15567
|
+
|
|
15568
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
15569
|
+
payload?: unknown
|
|
15570
|
+
event_id: string
|
|
15571
|
+
provider: string
|
|
15572
|
+
verified: boolean
|
|
15573
|
+
product_id: string
|
|
15574
|
+
occurred_at: string
|
|
15575
|
+
connector_id: string
|
|
15576
|
+
delivery_count: number
|
|
15577
|
+
} | {
|
|
15578
|
+
found: false
|
|
15579
|
+
})
|
|
15580
|
+
|
|
15438
15581
|
export interface RealtimeArchiveExportInput {
|
|
15439
15582
|
/**
|
|
15440
15583
|
* Only entries with ts <= to_ts (epoch ms)
|
|
@@ -37646,6 +37789,24 @@ siteKey: (string | null)
|
|
|
37646
37789
|
provider: "turnstile"
|
|
37647
37790
|
riskElevated: boolean
|
|
37648
37791
|
}
|
|
37792
|
+
passkeys: {
|
|
37793
|
+
/**
|
|
37794
|
+
* The WebAuthn Relying Party ID — the product's own domain, without a scheme or port. Leave null to derive it from `allowedOrigins`, which works whenever they all sit on one host. Set it to the shared PARENT domain when they do not (`example.com` covering `app.example.com` and `www.example.com`); it must cover EVERY allowed origin or passkeys stay off. CHANGING IT ORPHANS every credential already enrolled — an authenticator only ever asserts a credential back to the RP ID it was created for.
|
|
37795
|
+
*/
|
|
37796
|
+
rpId: (string | null)
|
|
37797
|
+
/**
|
|
37798
|
+
* The user-visible relying-party name the operating system's passkey prompt shows. Defaults to the RP ID.
|
|
37799
|
+
*/
|
|
37800
|
+
rpName: (string | null)
|
|
37801
|
+
/**
|
|
37802
|
+
* Whether this product is a WebAuthn relying party: passkeys can be enrolled and offered as a sign-in strategy. Default false. Switching it on is not enough on its own — the product also needs at least one browser origin in `allowedOrigins` for the RP ID to be derived from.
|
|
37803
|
+
*/
|
|
37804
|
+
enabled: boolean
|
|
37805
|
+
/**
|
|
37806
|
+
* Whether the authenticator must verify the user (biometric, PIN) rather than merely being present. Default false, which asks for verification but accepts an assertion without it — at `aal1`. A verified assertion always mints `aal2`, whatever this says; setting it true refuses the unverified one outright.
|
|
37807
|
+
*/
|
|
37808
|
+
requireUserVerification: boolean
|
|
37809
|
+
}
|
|
37649
37810
|
recovery: {
|
|
37650
37811
|
/**
|
|
37651
37812
|
* Offer the password-recovery flow at all. Default true.
|
|
@@ -37957,6 +38118,27 @@ secretKey?: (string | null)
|
|
|
37957
38118
|
*/
|
|
37958
38119
|
riskElevated?: boolean
|
|
37959
38120
|
}
|
|
38121
|
+
/**
|
|
38122
|
+
* Passkey (WebAuthn) settings: whether this product is a relying party, the RP ID and name, and whether an assertion must be user-verified. Merged field-by-field. The `passkey` strategy is offered only when `enabled` is true AND an RP ID resolves.
|
|
38123
|
+
*/
|
|
38124
|
+
passkeys?: {
|
|
38125
|
+
/**
|
|
38126
|
+
* The WebAuthn Relying Party ID — the product's own domain, without a scheme or port. Leave null to derive it from `allowedOrigins`, which works whenever they all sit on one host. Set it to the shared PARENT domain when they do not (`example.com` covering `app.example.com` and `www.example.com`); it must cover EVERY allowed origin or passkeys stay off. CHANGING IT ORPHANS every credential already enrolled — an authenticator only ever asserts a credential back to the RP ID it was created for.
|
|
38127
|
+
*/
|
|
38128
|
+
rpId?: (string | null)
|
|
38129
|
+
/**
|
|
38130
|
+
* The user-visible relying-party name the operating system's passkey prompt shows. Defaults to the RP ID.
|
|
38131
|
+
*/
|
|
38132
|
+
rpName?: (string | null)
|
|
38133
|
+
/**
|
|
38134
|
+
* Whether this product is a WebAuthn relying party: passkeys can be enrolled and offered as a sign-in strategy. Default false. Switching it on is not enough on its own — the product also needs at least one browser origin in `allowedOrigins` for the RP ID to be derived from.
|
|
38135
|
+
*/
|
|
38136
|
+
enabled?: boolean
|
|
38137
|
+
/**
|
|
38138
|
+
* Whether the authenticator must verify the user (biometric, PIN) rather than merely being present. Default false, which asks for verification but accepts an assertion without it — at `aal1`. A verified assertion always mints `aal2`, whatever this says; setting it true refuses the unverified one outright.
|
|
38139
|
+
*/
|
|
38140
|
+
requireUserVerification?: boolean
|
|
38141
|
+
}
|
|
37960
38142
|
/**
|
|
37961
38143
|
* Password-recovery settings (whether it is offered, how long a reset link lives). Merged field-by-field.
|
|
37962
38144
|
*/
|
|
@@ -38285,6 +38467,24 @@ siteKey: (string | null)
|
|
|
38285
38467
|
provider: "turnstile"
|
|
38286
38468
|
riskElevated: boolean
|
|
38287
38469
|
}
|
|
38470
|
+
passkeys: {
|
|
38471
|
+
/**
|
|
38472
|
+
* The WebAuthn Relying Party ID — the product's own domain, without a scheme or port. Leave null to derive it from `allowedOrigins`, which works whenever they all sit on one host. Set it to the shared PARENT domain when they do not (`example.com` covering `app.example.com` and `www.example.com`); it must cover EVERY allowed origin or passkeys stay off. CHANGING IT ORPHANS every credential already enrolled — an authenticator only ever asserts a credential back to the RP ID it was created for.
|
|
38473
|
+
*/
|
|
38474
|
+
rpId: (string | null)
|
|
38475
|
+
/**
|
|
38476
|
+
* The user-visible relying-party name the operating system's passkey prompt shows. Defaults to the RP ID.
|
|
38477
|
+
*/
|
|
38478
|
+
rpName: (string | null)
|
|
38479
|
+
/**
|
|
38480
|
+
* Whether this product is a WebAuthn relying party: passkeys can be enrolled and offered as a sign-in strategy. Default false. Switching it on is not enough on its own — the product also needs at least one browser origin in `allowedOrigins` for the RP ID to be derived from.
|
|
38481
|
+
*/
|
|
38482
|
+
enabled: boolean
|
|
38483
|
+
/**
|
|
38484
|
+
* Whether the authenticator must verify the user (biometric, PIN) rather than merely being present. Default false, which asks for verification but accepts an assertion without it — at `aal1`. A verified assertion always mints `aal2`, whatever this says; setting it true refuses the unverified one outright.
|
|
38485
|
+
*/
|
|
38486
|
+
requireUserVerification: boolean
|
|
38487
|
+
}
|
|
38288
38488
|
recovery: {
|
|
38289
38489
|
/**
|
|
38290
38490
|
* Offer the password-recovery flow at all. Default true.
|
|
@@ -38477,7 +38677,7 @@ userId: string
|
|
|
38477
38677
|
|
|
38478
38678
|
export interface UsersFactorsListOutput {
|
|
38479
38679
|
factors: {
|
|
38480
|
-
type: ("totp" | "backup_codes")
|
|
38680
|
+
type: ("totp" | "backup_codes" | "webauthn")
|
|
38481
38681
|
status: ("unverified" | "verified")
|
|
38482
38682
|
createdAt: string
|
|
38483
38683
|
remaining: (number | null)
|
|
@@ -38794,6 +38994,52 @@ signInFailureBaseline: (number | null)
|
|
|
38794
38994
|
}
|
|
38795
38995
|
}
|
|
38796
38996
|
|
|
38997
|
+
export interface UsersPasskeysListInput {
|
|
38998
|
+
/**
|
|
38999
|
+
* The end user whose passkeys to list.
|
|
39000
|
+
*/
|
|
39001
|
+
userId: string
|
|
39002
|
+
}
|
|
39003
|
+
|
|
39004
|
+
export interface UsersPasskeysListOutput {
|
|
39005
|
+
passkeys: {
|
|
39006
|
+
id: string
|
|
39007
|
+
name: (string | null)
|
|
39008
|
+
aaguid: (string | null)
|
|
39009
|
+
backedUp: boolean
|
|
39010
|
+
createdAt: string
|
|
39011
|
+
signCount: number
|
|
39012
|
+
lastUsedAt: (string | null)
|
|
39013
|
+
transports: string[]
|
|
39014
|
+
}[]
|
|
39015
|
+
}
|
|
39016
|
+
|
|
39017
|
+
export interface UsersPasskeysRevokeInput {
|
|
39018
|
+
/**
|
|
39019
|
+
* Why this credential is being revoked, and under which ticket. Recorded verbatim in the audit row — this is the whole point of the tool being audited.
|
|
39020
|
+
*/
|
|
39021
|
+
reason: string
|
|
39022
|
+
/**
|
|
39023
|
+
* The end user whose passkey is being revoked.
|
|
39024
|
+
*/
|
|
39025
|
+
userId: string
|
|
39026
|
+
/**
|
|
39027
|
+
* Which credential to revoke — the `id` from `users_passkeys_list`.
|
|
39028
|
+
*/
|
|
39029
|
+
passkeyId: string
|
|
39030
|
+
}
|
|
39031
|
+
|
|
39032
|
+
export interface UsersPasskeysRevokeOutput {
|
|
39033
|
+
/**
|
|
39034
|
+
* Present when the revoke was refused — today, only because it was the last way in.
|
|
39035
|
+
*/
|
|
39036
|
+
error: ({
|
|
39037
|
+
code: string
|
|
39038
|
+
message: string
|
|
39039
|
+
} | null)
|
|
39040
|
+
status: ("deleted" | "failed")
|
|
39041
|
+
}
|
|
39042
|
+
|
|
38797
39043
|
export interface UsersSessionsGetInput {
|
|
38798
39044
|
/**
|
|
38799
39045
|
* The session to read.
|
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, 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';
|
|
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';
|
|
@@ -19,6 +19,9 @@ import type {
|
|
|
19
19
|
UsersKeysRotateInput,
|
|
20
20
|
UsersOpsRetentionGetInput,
|
|
21
21
|
UsersOpsSloGetInput,
|
|
22
|
+
UsersPasskeysListInput,
|
|
23
|
+
UsersPasskeysListOutput,
|
|
24
|
+
UsersPasskeysRevokeInput,
|
|
22
25
|
UsersSessionsGetInput,
|
|
23
26
|
UsersSessionsGetOutput,
|
|
24
27
|
UsersSessionsImpersonateInput,
|
|
@@ -122,6 +125,16 @@ export const usersOpsSloGetMutationOptions = (sdk: GeneratedClient) => ({
|
|
|
122
125
|
mutationFn: (input: UsersOpsSloGetInput) => sdk['users']['ops-slo']['get'](input),
|
|
123
126
|
});
|
|
124
127
|
|
|
128
|
+
export const usersPasskeysListQueryOptions = (sdk: GeneratedClient, input: UsersPasskeysListInput) => ({
|
|
129
|
+
queryKey: ['users', 'passkeys', 'list', input] as const,
|
|
130
|
+
queryFn: () => sdk['users']['passkeys']['list'](input),
|
|
131
|
+
});
|
|
132
|
+
|
|
133
|
+
export const usersPasskeysRevokeMutationOptions = (sdk: GeneratedClient) => ({
|
|
134
|
+
mutationKey: ['users', 'passkeys', 'revoke'],
|
|
135
|
+
mutationFn: (input: UsersPasskeysRevokeInput) => sdk['users']['passkeys']['revoke'](input),
|
|
136
|
+
});
|
|
137
|
+
|
|
125
138
|
export const usersSessionsGetQueryOptions = (sdk: GeneratedClient, input: UsersSessionsGetInput) => ({
|
|
126
139
|
queryKey: ['users', 'sessions', 'get', input] as const,
|
|
127
140
|
queryFn: () => sdk['users']['sessions']['get'](input),
|