@lessly/sdk-app 12.1.0 → 14.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.d.cts +1 -1
- package/dist/brain/index.d.ts +1 -1
- package/dist/{client.gen-CUGiXN_3.d.cts → client.gen-CcgqVajm.d.cts} +286 -10
- package/dist/{client.gen-CUGiXN_3.d.ts → client.gen-CcgqVajm.d.ts} +286 -10
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/deployment/index.cjs +5 -0
- package/dist/deployment/index.cjs.map +1 -1
- package/dist/deployment/index.d.cts +6 -2
- package/dist/deployment/index.d.ts +6 -2
- package/dist/deployment/index.js +5 -1
- package/dist/deployment/index.js.map +1 -1
- package/dist/index.cjs +123 -0
- 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 +123 -0
- 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/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/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +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 +123 -0
- package/src/gen/client.gen.ts +55 -0
- package/src/gen/deployment/index.ts +1 -1
- package/src/gen/deployment/queryOptions.gen.ts +6 -0
- 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 +290 -9
package/src/gen/types.gen.ts
CHANGED
|
@@ -1655,6 +1655,7 @@ build?: {
|
|
|
1655
1655
|
command?: string
|
|
1656
1656
|
outputDir?: string
|
|
1657
1657
|
}
|
|
1658
|
+
markdown?: boolean
|
|
1658
1659
|
})
|
|
1659
1660
|
replicas: number
|
|
1660
1661
|
createdAt: string
|
|
@@ -1666,9 +1667,16 @@ memory?: string
|
|
|
1666
1667
|
}
|
|
1667
1668
|
}
|
|
1668
1669
|
updatedAt: string
|
|
1670
|
+
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
1671
|
+
idleMinutes: number
|
|
1672
|
+
scaleToZero: boolean
|
|
1669
1673
|
containerPort: number
|
|
1670
1674
|
environmentId: string
|
|
1671
1675
|
lastReplicasRunning: number
|
|
1676
|
+
scaleToZeroEligibility?: {
|
|
1677
|
+
reasons: string[]
|
|
1678
|
+
eligible: boolean
|
|
1679
|
+
}
|
|
1672
1680
|
}[]
|
|
1673
1681
|
environmentId: string
|
|
1674
1682
|
}
|
|
@@ -1984,7 +1992,7 @@ deploymentId: string
|
|
|
1984
1992
|
|
|
1985
1993
|
export interface DeploymentDeploymentCancelOutput {
|
|
1986
1994
|
id: string
|
|
1987
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
1995
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
1988
1996
|
builtAt: (string | null)
|
|
1989
1997
|
imageRef: (string | null)
|
|
1990
1998
|
commitSha: (string | null)
|
|
@@ -2012,7 +2020,7 @@ id: string
|
|
|
2012
2020
|
|
|
2013
2021
|
export interface DeploymentDeploymentGetOutput {
|
|
2014
2022
|
id: string
|
|
2015
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
2023
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
2016
2024
|
builtAt: (string | null)
|
|
2017
2025
|
imageRef: (string | null)
|
|
2018
2026
|
commitSha: (string | null)
|
|
@@ -2040,7 +2048,7 @@ serviceId: string
|
|
|
2040
2048
|
|
|
2041
2049
|
export type DeploymentDeploymentListOutput = {
|
|
2042
2050
|
id: string
|
|
2043
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
2051
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
2044
2052
|
builtAt: (string | null)
|
|
2045
2053
|
imageRef: (string | null)
|
|
2046
2054
|
commitSha: (string | null)
|
|
@@ -2619,7 +2627,7 @@ baseEnvironmentId: (string | null)
|
|
|
2619
2627
|
}
|
|
2620
2628
|
|
|
2621
2629
|
export interface DeploymentEventsListByEnvironmentInput {
|
|
2622
|
-
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.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")
|
|
2630
|
+
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.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")
|
|
2623
2631
|
limit?: number
|
|
2624
2632
|
since?: string
|
|
2625
2633
|
until?: string
|
|
@@ -2628,7 +2636,7 @@ environmentId: string
|
|
|
2628
2636
|
|
|
2629
2637
|
export type DeploymentEventsListByEnvironmentOutput = {
|
|
2630
2638
|
id: string
|
|
2631
|
-
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.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")
|
|
2639
|
+
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.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")
|
|
2632
2640
|
payload: {
|
|
2633
2641
|
[k: string]: unknown
|
|
2634
2642
|
}
|
|
@@ -2641,7 +2649,7 @@ environmentId: (string | null)
|
|
|
2641
2649
|
}[]
|
|
2642
2650
|
|
|
2643
2651
|
export interface DeploymentEventsListByServiceInput {
|
|
2644
|
-
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.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")
|
|
2652
|
+
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.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")
|
|
2645
2653
|
limit?: number
|
|
2646
2654
|
since?: string
|
|
2647
2655
|
until?: string
|
|
@@ -2651,7 +2659,7 @@ deploymentId?: string
|
|
|
2651
2659
|
|
|
2652
2660
|
export type DeploymentEventsListByServiceOutput = {
|
|
2653
2661
|
id: string
|
|
2654
|
-
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.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")
|
|
2662
|
+
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.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")
|
|
2655
2663
|
payload: {
|
|
2656
2664
|
[k: string]: unknown
|
|
2657
2665
|
}
|
|
@@ -3143,6 +3151,7 @@ build?: {
|
|
|
3143
3151
|
command?: string
|
|
3144
3152
|
outputDir?: string
|
|
3145
3153
|
}
|
|
3154
|
+
markdown?: boolean
|
|
3146
3155
|
})
|
|
3147
3156
|
replicas?: number
|
|
3148
3157
|
resources?: {
|
|
@@ -3197,6 +3206,7 @@ build?: {
|
|
|
3197
3206
|
command?: string
|
|
3198
3207
|
outputDir?: string
|
|
3199
3208
|
}
|
|
3209
|
+
markdown?: boolean
|
|
3200
3210
|
})
|
|
3201
3211
|
replicas: number
|
|
3202
3212
|
createdAt: string
|
|
@@ -3208,9 +3218,16 @@ memory?: string
|
|
|
3208
3218
|
}
|
|
3209
3219
|
}
|
|
3210
3220
|
updatedAt: string
|
|
3221
|
+
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3222
|
+
idleMinutes: number
|
|
3223
|
+
scaleToZero: boolean
|
|
3211
3224
|
containerPort: number
|
|
3212
3225
|
environmentId: string
|
|
3213
3226
|
lastReplicasRunning: number
|
|
3227
|
+
scaleToZeroEligibility?: {
|
|
3228
|
+
reasons: string[]
|
|
3229
|
+
eligible: boolean
|
|
3230
|
+
}
|
|
3214
3231
|
}
|
|
3215
3232
|
export interface DeploymentServiceCreateOutputReadiness {
|
|
3216
3233
|
path: string
|
|
@@ -3292,6 +3309,7 @@ build?: {
|
|
|
3292
3309
|
command?: string
|
|
3293
3310
|
outputDir?: string
|
|
3294
3311
|
}
|
|
3312
|
+
markdown?: boolean
|
|
3295
3313
|
})
|
|
3296
3314
|
replicas: number
|
|
3297
3315
|
createdAt: string
|
|
@@ -3303,9 +3321,16 @@ memory?: string
|
|
|
3303
3321
|
}
|
|
3304
3322
|
}
|
|
3305
3323
|
updatedAt: string
|
|
3324
|
+
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3325
|
+
idleMinutes: number
|
|
3326
|
+
scaleToZero: boolean
|
|
3306
3327
|
containerPort: number
|
|
3307
3328
|
environmentId: string
|
|
3308
3329
|
lastReplicasRunning: number
|
|
3330
|
+
scaleToZeroEligibility?: {
|
|
3331
|
+
reasons: string[]
|
|
3332
|
+
eligible: boolean
|
|
3333
|
+
}
|
|
3309
3334
|
}
|
|
3310
3335
|
export interface DeploymentServiceGetOutputReadiness {
|
|
3311
3336
|
path: string
|
|
@@ -3354,6 +3379,7 @@ build?: {
|
|
|
3354
3379
|
command?: string
|
|
3355
3380
|
outputDir?: string
|
|
3356
3381
|
}
|
|
3382
|
+
markdown?: boolean
|
|
3357
3383
|
})
|
|
3358
3384
|
replicas: number
|
|
3359
3385
|
createdAt: string
|
|
@@ -3365,9 +3391,16 @@ memory?: string
|
|
|
3365
3391
|
}
|
|
3366
3392
|
}
|
|
3367
3393
|
updatedAt: string
|
|
3394
|
+
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3395
|
+
idleMinutes: number
|
|
3396
|
+
scaleToZero: boolean
|
|
3368
3397
|
containerPort: number
|
|
3369
3398
|
environmentId: string
|
|
3370
3399
|
lastReplicasRunning: number
|
|
3400
|
+
scaleToZeroEligibility?: {
|
|
3401
|
+
reasons: string[]
|
|
3402
|
+
eligible: boolean
|
|
3403
|
+
}
|
|
3371
3404
|
}[]
|
|
3372
3405
|
|
|
3373
3406
|
export interface DeploymentServiceListOutputReadiness {
|
|
@@ -3387,6 +3420,7 @@ serviceId: string
|
|
|
3387
3420
|
|
|
3388
3421
|
export interface DeploymentServiceLogsOutput {
|
|
3389
3422
|
lines: string[]
|
|
3423
|
+
sleepState?: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3390
3424
|
}
|
|
3391
3425
|
|
|
3392
3426
|
export interface DeploymentServiceRedeployInput {
|
|
@@ -3395,7 +3429,7 @@ serviceId: string
|
|
|
3395
3429
|
|
|
3396
3430
|
export interface DeploymentServiceRedeployOutput {
|
|
3397
3431
|
id: string
|
|
3398
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
3432
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
3399
3433
|
builtAt: (string | null)
|
|
3400
3434
|
imageRef: (string | null)
|
|
3401
3435
|
commitSha: (string | null)
|
|
@@ -3432,7 +3466,7 @@ deploymentId: string
|
|
|
3432
3466
|
|
|
3433
3467
|
export interface DeploymentServiceRollbackOutput {
|
|
3434
3468
|
id: string
|
|
3435
|
-
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed")
|
|
3469
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
3436
3470
|
builtAt: (string | null)
|
|
3437
3471
|
imageRef: (string | null)
|
|
3438
3472
|
commitSha: (string | null)
|
|
@@ -3492,6 +3526,7 @@ build?: {
|
|
|
3492
3526
|
command?: string
|
|
3493
3527
|
outputDir?: string
|
|
3494
3528
|
}
|
|
3529
|
+
markdown?: boolean
|
|
3495
3530
|
})
|
|
3496
3531
|
replicas: number
|
|
3497
3532
|
createdAt: string
|
|
@@ -3503,9 +3538,16 @@ memory?: string
|
|
|
3503
3538
|
}
|
|
3504
3539
|
}
|
|
3505
3540
|
updatedAt: string
|
|
3541
|
+
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3542
|
+
idleMinutes: number
|
|
3543
|
+
scaleToZero: boolean
|
|
3506
3544
|
containerPort: number
|
|
3507
3545
|
environmentId: string
|
|
3508
3546
|
lastReplicasRunning: number
|
|
3547
|
+
scaleToZeroEligibility?: {
|
|
3548
|
+
reasons: string[]
|
|
3549
|
+
eligible: boolean
|
|
3550
|
+
}
|
|
3509
3551
|
}
|
|
3510
3552
|
export interface DeploymentServiceScaleOutputReadiness {
|
|
3511
3553
|
path: string
|
|
@@ -3549,6 +3591,7 @@ build?: {
|
|
|
3549
3591
|
command?: string
|
|
3550
3592
|
outputDir?: string
|
|
3551
3593
|
}
|
|
3594
|
+
markdown?: boolean
|
|
3552
3595
|
})
|
|
3553
3596
|
replicas?: number
|
|
3554
3597
|
resources?: {
|
|
@@ -3557,6 +3600,8 @@ cpu?: string
|
|
|
3557
3600
|
memory?: string
|
|
3558
3601
|
}
|
|
3559
3602
|
}
|
|
3603
|
+
idleMinutes?: number
|
|
3604
|
+
scaleToZero?: boolean
|
|
3560
3605
|
containerPort?: number
|
|
3561
3606
|
}
|
|
3562
3607
|
export interface DeploymentServiceUpdateInputReadiness {
|
|
@@ -3602,6 +3647,7 @@ build?: {
|
|
|
3602
3647
|
command?: string
|
|
3603
3648
|
outputDir?: string
|
|
3604
3649
|
}
|
|
3650
|
+
markdown?: boolean
|
|
3605
3651
|
})
|
|
3606
3652
|
replicas: number
|
|
3607
3653
|
createdAt: string
|
|
@@ -3613,9 +3659,16 @@ memory?: string
|
|
|
3613
3659
|
}
|
|
3614
3660
|
}
|
|
3615
3661
|
updatedAt: string
|
|
3662
|
+
sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
|
|
3663
|
+
idleMinutes: number
|
|
3664
|
+
scaleToZero: boolean
|
|
3616
3665
|
containerPort: number
|
|
3617
3666
|
environmentId: string
|
|
3618
3667
|
lastReplicasRunning: number
|
|
3668
|
+
scaleToZeroEligibility?: {
|
|
3669
|
+
reasons: string[]
|
|
3670
|
+
eligible: boolean
|
|
3671
|
+
}
|
|
3619
3672
|
}
|
|
3620
3673
|
export interface DeploymentServiceUpdateOutputReadiness {
|
|
3621
3674
|
path: string
|
|
@@ -3627,6 +3680,14 @@ successThreshold?: number
|
|
|
3627
3680
|
initialDelaySeconds?: number
|
|
3628
3681
|
}
|
|
3629
3682
|
|
|
3683
|
+
export interface DeploymentServiceWakeInput {
|
|
3684
|
+
id: string
|
|
3685
|
+
}
|
|
3686
|
+
|
|
3687
|
+
export interface DeploymentServiceWakeOutput {
|
|
3688
|
+
[k: string]: unknown
|
|
3689
|
+
}
|
|
3690
|
+
|
|
3630
3691
|
export interface DeploymentSshCommandInput {
|
|
3631
3692
|
serviceId: string
|
|
3632
3693
|
}
|
|
@@ -13274,6 +13335,226 @@ name: string
|
|
|
13274
13335
|
activeProductId: (string | null)
|
|
13275
13336
|
}
|
|
13276
13337
|
|
|
13338
|
+
export interface PlaygroundAnalyticsOverviewInput {
|
|
13339
|
+
/**
|
|
13340
|
+
* Max records per entity in recent[]; omit for the endpoint default
|
|
13341
|
+
*/
|
|
13342
|
+
limit?: number
|
|
13343
|
+
}
|
|
13344
|
+
|
|
13345
|
+
export interface PlaygroundAnalyticsOverviewOutput {
|
|
13346
|
+
ok: boolean
|
|
13347
|
+
minted: boolean
|
|
13348
|
+
overview?: unknown
|
|
13349
|
+
http_status: number
|
|
13350
|
+
}
|
|
13351
|
+
|
|
13352
|
+
export interface PlaygroundBillingEntitlementsInput {
|
|
13353
|
+
|
|
13354
|
+
}
|
|
13355
|
+
|
|
13356
|
+
export interface PlaygroundBillingEntitlementsOutput {
|
|
13357
|
+
ok: boolean
|
|
13358
|
+
minted: boolean
|
|
13359
|
+
http_status: number
|
|
13360
|
+
entitlements?: unknown
|
|
13361
|
+
}
|
|
13362
|
+
|
|
13363
|
+
export interface PlaygroundBillingRecordUsageInput {
|
|
13364
|
+
/**
|
|
13365
|
+
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
13366
|
+
*/
|
|
13367
|
+
value?: number
|
|
13368
|
+
}
|
|
13369
|
+
|
|
13370
|
+
export interface PlaygroundBillingRecordUsageOutput {
|
|
13371
|
+
minted: boolean
|
|
13372
|
+
accepted: (number | null)
|
|
13373
|
+
recorded: boolean
|
|
13374
|
+
duplicates: (number | null)
|
|
13375
|
+
http_status: number
|
|
13376
|
+
}
|
|
13377
|
+
|
|
13378
|
+
export interface PlaygroundClickupCreateTaskInput {
|
|
13379
|
+
/**
|
|
13380
|
+
* Task title; defaults to a fixture label
|
|
13381
|
+
*/
|
|
13382
|
+
name?: string
|
|
13383
|
+
/**
|
|
13384
|
+
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
13385
|
+
*/
|
|
13386
|
+
listId?: string
|
|
13387
|
+
}
|
|
13388
|
+
|
|
13389
|
+
export interface PlaygroundClickupCreateTaskOutput {
|
|
13390
|
+
minted: boolean
|
|
13391
|
+
task_id: (string | null)
|
|
13392
|
+
list_status: number
|
|
13393
|
+
vend_status: number
|
|
13394
|
+
clickup_status: number
|
|
13395
|
+
installation_count: number
|
|
13396
|
+
}
|
|
13397
|
+
|
|
13398
|
+
export interface PlaygroundClickupGetLastWebhookInput {
|
|
13399
|
+
|
|
13400
|
+
}
|
|
13401
|
+
|
|
13402
|
+
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
13403
|
+
payload: string
|
|
13404
|
+
event_id: string
|
|
13405
|
+
provider: string
|
|
13406
|
+
verified: boolean
|
|
13407
|
+
product_id: string
|
|
13408
|
+
occurred_at: string
|
|
13409
|
+
connector_id: string
|
|
13410
|
+
clickup_event: (string | null)
|
|
13411
|
+
receipt_count: number
|
|
13412
|
+
} | {
|
|
13413
|
+
found: false
|
|
13414
|
+
})
|
|
13415
|
+
|
|
13416
|
+
export interface PlaygroundClickupGetOverviewInput {
|
|
13417
|
+
|
|
13418
|
+
}
|
|
13419
|
+
|
|
13420
|
+
export interface PlaygroundClickupGetOverviewOutput {
|
|
13421
|
+
team: ({
|
|
13422
|
+
teamId: string
|
|
13423
|
+
teamName: string
|
|
13424
|
+
} | null)
|
|
13425
|
+
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
13426
|
+
tasks: {
|
|
13427
|
+
id: string
|
|
13428
|
+
name: string
|
|
13429
|
+
status: (string | null)
|
|
13430
|
+
}[]
|
|
13431
|
+
minted: boolean
|
|
13432
|
+
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
13433
|
+
list_status: number
|
|
13434
|
+
vend_status: number
|
|
13435
|
+
lists_status: number
|
|
13436
|
+
tasks_status: number
|
|
13437
|
+
spaces_status: number
|
|
13438
|
+
folders_status: number
|
|
13439
|
+
installation_count: number
|
|
13440
|
+
}
|
|
13441
|
+
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
13442
|
+
id: string
|
|
13443
|
+
name: string
|
|
13444
|
+
}
|
|
13445
|
+
|
|
13446
|
+
export interface PlaygroundGdriveGetLastChangeInput {
|
|
13447
|
+
|
|
13448
|
+
}
|
|
13449
|
+
|
|
13450
|
+
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
13451
|
+
file_id: string
|
|
13452
|
+
removed: boolean
|
|
13453
|
+
file_name: (string | null)
|
|
13454
|
+
mime_type: (string | null)
|
|
13455
|
+
product_id: string
|
|
13456
|
+
occurred_at: string
|
|
13457
|
+
connector_id: string
|
|
13458
|
+
resource_state: string
|
|
13459
|
+
} | {
|
|
13460
|
+
found: false
|
|
13461
|
+
})
|
|
13462
|
+
|
|
13463
|
+
export interface PlaygroundGdriveReadFileInput {
|
|
13464
|
+
/**
|
|
13465
|
+
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
13466
|
+
*/
|
|
13467
|
+
fileId?: string
|
|
13468
|
+
}
|
|
13469
|
+
|
|
13470
|
+
export interface PlaygroundGdriveReadFileOutput {
|
|
13471
|
+
minted: boolean
|
|
13472
|
+
file_id: (string | null)
|
|
13473
|
+
file_name: (string | null)
|
|
13474
|
+
mime_type: (string | null)
|
|
13475
|
+
file_count: number
|
|
13476
|
+
get_status: number
|
|
13477
|
+
list_status: number
|
|
13478
|
+
vend_status: number
|
|
13479
|
+
content_bytes: (number | null)
|
|
13480
|
+
}
|
|
13481
|
+
|
|
13482
|
+
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
13483
|
+
|
|
13484
|
+
}
|
|
13485
|
+
|
|
13486
|
+
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
13487
|
+
minted: boolean
|
|
13488
|
+
vended: boolean
|
|
13489
|
+
customer_id: (string | null)
|
|
13490
|
+
vend_status: number
|
|
13491
|
+
result_count: number
|
|
13492
|
+
search_status: number
|
|
13493
|
+
login_customer_id: (string | null)
|
|
13494
|
+
}
|
|
13495
|
+
|
|
13496
|
+
export interface PlaygroundLifecycleGetStateInput {
|
|
13497
|
+
|
|
13498
|
+
}
|
|
13499
|
+
|
|
13500
|
+
export interface PlaygroundLifecycleGetStateOutput {
|
|
13501
|
+
blocked: boolean
|
|
13502
|
+
archived: boolean
|
|
13503
|
+
productId: string
|
|
13504
|
+
lastBlockTransition: ({
|
|
13505
|
+
eventId: string
|
|
13506
|
+
eventName: string
|
|
13507
|
+
productId: string
|
|
13508
|
+
occurredAt: string
|
|
13509
|
+
recordedAt: string
|
|
13510
|
+
receiptCount: number
|
|
13511
|
+
organizationId: string
|
|
13512
|
+
cascadedFromOrg: boolean
|
|
13513
|
+
} | null)
|
|
13514
|
+
lastArchiveTransition: ({
|
|
13515
|
+
eventId: string
|
|
13516
|
+
eventName: string
|
|
13517
|
+
productId: string
|
|
13518
|
+
occurredAt: string
|
|
13519
|
+
recordedAt: string
|
|
13520
|
+
receiptCount: number
|
|
13521
|
+
organizationId: string
|
|
13522
|
+
cascadedFromOrg: boolean
|
|
13523
|
+
} | null)
|
|
13524
|
+
}
|
|
13525
|
+
|
|
13526
|
+
export interface PlaygroundLifecycleListEventsInput {
|
|
13527
|
+
|
|
13528
|
+
}
|
|
13529
|
+
|
|
13530
|
+
export type PlaygroundLifecycleListEventsOutput = {
|
|
13531
|
+
eventId: string
|
|
13532
|
+
eventName: string
|
|
13533
|
+
productId: string
|
|
13534
|
+
occurredAt: string
|
|
13535
|
+
recordedAt: string
|
|
13536
|
+
receiptCount: number
|
|
13537
|
+
organizationId: string
|
|
13538
|
+
cascadedFromOrg: boolean
|
|
13539
|
+
}[]
|
|
13540
|
+
|
|
13541
|
+
export interface PlaygroundWebhookGetLastInput {
|
|
13542
|
+
|
|
13543
|
+
}
|
|
13544
|
+
|
|
13545
|
+
export type PlaygroundWebhookGetLastOutput = ({
|
|
13546
|
+
payload?: unknown
|
|
13547
|
+
event_id: string
|
|
13548
|
+
provider: string
|
|
13549
|
+
verified: boolean
|
|
13550
|
+
product_id: string
|
|
13551
|
+
occurred_at: string
|
|
13552
|
+
connector_id: string
|
|
13553
|
+
delivery_count: number
|
|
13554
|
+
} | {
|
|
13555
|
+
found: false
|
|
13556
|
+
})
|
|
13557
|
+
|
|
13277
13558
|
export interface RealtimeArchiveExportInput {
|
|
13278
13559
|
/**
|
|
13279
13560
|
* Only entries with ts <= to_ts (epoch ms)
|