@lessly/sdk-app 55.0.0 → 56.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.
Files changed (42) hide show
  1. package/dist/_types/gen/brain/index.d.ts +1 -1
  2. package/dist/_types/gen/brain/queryOptions.gen.d.ts +5 -1
  3. package/dist/_types/gen/client.gen.d.ts +7 -38
  4. package/dist/_types/gen/deployment/index.d.ts +1 -1
  5. package/dist/_types/gen/deployment/queryOptions.gen.d.ts +5 -13
  6. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  7. package/dist/_types/gen/types.gen.d.ts +113 -363
  8. package/dist/brain/index.cjs +5 -0
  9. package/dist/brain/index.cjs.map +1 -1
  10. package/dist/brain/index.js +5 -1
  11. package/dist/brain/index.js.map +1 -1
  12. package/dist/deployment/index.cjs +5 -15
  13. package/dist/deployment/index.cjs.map +1 -1
  14. package/dist/deployment/index.js +5 -13
  15. package/dist/deployment/index.js.map +1 -1
  16. package/dist/index.cjs +46 -199
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.js +8956 -2
  19. package/dist/index.js.map +1 -1
  20. package/package.json +2 -12
  21. package/src/gen/bindings.gen.ts +47 -208
  22. package/src/gen/brain/index.ts +1 -1
  23. package/src/gen/brain/queryOptions.gen.ts +7 -0
  24. package/src/gen/client.gen.ts +10 -67
  25. package/src/gen/deployment/index.ts +1 -1
  26. package/src/gen/deployment/queryOptions.gen.ts +7 -20
  27. package/src/gen/manifest.gen.ts +1 -1
  28. package/src/gen/types.gen.ts +117 -404
  29. package/dist/_types/gen/playground/connect.gen.d.ts +0 -3
  30. package/dist/_types/gen/playground/index.d.ts +0 -3
  31. package/dist/_types/gen/playground/queryOptions.gen.d.ts +0 -50
  32. package/dist/chunk-4RJR4UQ3.js +0 -9121
  33. package/dist/chunk-4RJR4UQ3.js.map +0 -1
  34. package/dist/playground/index.cjs +0 -81
  35. package/dist/playground/index.cjs.map +0 -1
  36. package/dist/playground/index.d.cts +0 -1
  37. package/dist/playground/index.d.ts +0 -1
  38. package/dist/playground/index.js +0 -58
  39. package/dist/playground/index.js.map +0 -1
  40. package/src/gen/playground/connect.gen.ts +0 -9
  41. package/src/gen/playground/index.ts +0 -4
  42. package/src/gen/playground/queryOptions.gen.ts +0 -86
@@ -71965,6 +71965,96 @@ export type BrainRestoreStatusOutput = ({
71965
71965
  snapshotId: string;
71966
71966
  preRestoreSnapshotId: (string | null);
71967
71967
  } | null);
71968
+ export interface BrainUsageReportInput {
71969
+ /**
71970
+ * How many UTC days of this product's ledger to return, ending today (default 30, max 90)
71971
+ */
71972
+ days?: number;
71973
+ }
71974
+ export interface BrainUsageReportOutput {
71975
+ note: string;
71976
+ /**
71977
+ * Brain's own ledger, for THIS product only
71978
+ */
71979
+ product: {
71980
+ /**
71981
+ * Inclusive UTC end of the window (today), YYYY-MM-DD
71982
+ */
71983
+ to: string;
71984
+ /**
71985
+ * The window actually used, after clamping
71986
+ */
71987
+ days: number;
71988
+ /**
71989
+ * Inclusive UTC start of the window, YYYY-MM-DD
71990
+ */
71991
+ from: string;
71992
+ rows: {
71993
+ /**
71994
+ * 'sync' | 'batch'; '' when the push carried none
71995
+ */
71996
+ mode: string;
71997
+ /**
71998
+ * Manifest meter slug, e.g. llm-tokens
71999
+ */
72000
+ meter: string;
72001
+ /**
72002
+ * Model dimension; '' when the push carried none
72003
+ */
72004
+ model: string;
72005
+ /**
72006
+ * How many record() calls landed in this slice
72007
+ */
72008
+ events: number;
72009
+ /**
72010
+ * Tokens we metered for this slice, delivered or not
72011
+ */
72012
+ tokens: number;
72013
+ /**
72014
+ * Purpose dimension; '' when the push carried none
72015
+ */
72016
+ purpose: string;
72017
+ /**
72018
+ * UTC calendar day, YYYY-MM-DD
72019
+ */
72020
+ usage_date: string;
72021
+ /**
72022
+ * Of those events, how many billing did not accept
72023
+ */
72024
+ delivery_failed: number;
72025
+ }[];
72026
+ /**
72027
+ * The rows rolled up per meter across the whole window
72028
+ */
72029
+ totals: {
72030
+ meter: string;
72031
+ events: number;
72032
+ tokens: number;
72033
+ delivery_failed: number;
72034
+ }[];
72035
+ product_id: string;
72036
+ };
72037
+ /**
72038
+ * The platform billing aggregate for the whole ORG; null if it could not be read
72039
+ */
72040
+ platform: ({
72041
+ plan: string;
72042
+ scope: "org";
72043
+ meters: {
72044
+ unit?: string;
72045
+ used?: number;
72046
+ limit?: (number | null);
72047
+ remaining?: (number | null);
72048
+ unlimited?: boolean;
72049
+ meter_slug: string;
72050
+ }[];
72051
+ org_id: string;
72052
+ } | null);
72053
+ /**
72054
+ * Why the platform aggregate is null; null when it was read successfully
72055
+ */
72056
+ platform_error: (string | null);
72057
+ }
71968
72058
  export interface ConsentConfigCookieDomainUpsertInput {
71969
72059
  cookieDomain: ("" | null | string);
71970
72060
  }
@@ -76540,6 +76630,29 @@ export interface DeploymentAnalyticsQueryOutput {
76540
76630
  truncated: boolean;
76541
76631
  explanation: string;
76542
76632
  }
76633
+ export interface DeploymentAuditListInput {
76634
+ limit?: number;
76635
+ action?: string;
76636
+ actorId?: string;
76637
+ serviceId?: string;
76638
+ entityType?: ("variable" | "domain" | "service" | "environment" | "deployment" | "managed_service" | "volume" | "cloud-sql-instance" | "cloud-sql-database" | "cloud-sql-attachment" | "ssh_key" | "ssh_session");
76639
+ environmentId: string;
76640
+ }
76641
+ export type DeploymentAuditListOutput = {
76642
+ id: string;
76643
+ action: string;
76644
+ actorId: string;
76645
+ entityId: (string | null);
76646
+ metadata: {
76647
+ [k: string]: unknown;
76648
+ };
76649
+ createdAt: string;
76650
+ productId: string;
76651
+ serviceId: (string | null);
76652
+ actorEmail: string;
76653
+ entityType: ("variable" | "domain" | "service" | "environment" | "deployment" | "managed_service" | "volume" | "cloud-sql-instance" | "cloud-sql-database" | "cloud-sql-attachment" | "ssh_key" | "ssh_session");
76654
+ environmentId: (string | null);
76655
+ }[];
76543
76656
  export interface DeploymentBuildGetInput {
76544
76657
  id: string;
76545
76658
  }
@@ -76612,7 +76725,6 @@ export interface DeploymentCanvasGetOutput {
76612
76725
  }[];
76613
76726
  services: {
76614
76727
  id: string;
76615
- mode?: string;
76616
76728
  name: string;
76617
76729
  slug: string;
76618
76730
  probes: {
@@ -76646,19 +76758,10 @@ export interface DeploymentCanvasGetOutput {
76646
76758
  };
76647
76759
  markdown?: boolean;
76648
76760
  });
76649
- command?: (string | null);
76650
- lastRun?: ({
76651
- id: string;
76652
- status: string;
76653
- startedAt: (string | null);
76654
- finishedAt: (string | null);
76655
- } | null);
76656
76761
  tracing?: string;
76657
76762
  replicas: number;
76658
- schedule?: (string | null);
76659
76763
  createdAt: string;
76660
76764
  dependsOn: string[];
76661
- nextRunAt?: (string | null);
76662
76765
  resources?: {
76663
76766
  limits?: {
76664
76767
  cpu?: string;
@@ -76672,10 +76775,7 @@ export interface DeploymentCanvasGetOutput {
76672
76775
  scaleToZero: boolean;
76673
76776
  containerPort: number;
76674
76777
  environmentId: string;
76675
- jobTimeoutSec?: number;
76676
- jobConcurrency?: string;
76677
76778
  buildMachineType?: (string | null);
76678
- scheduleSuspended?: boolean;
76679
76779
  suspendedByBilling?: boolean;
76680
76780
  lastReplicasRunning: number;
76681
76781
  scaleToZeroEligibility?: {
@@ -77589,58 +77689,6 @@ export type DeploymentEventsListByServiceOutput = {
77589
77689
  deploymentId: (string | null);
77590
77690
  environmentId: (string | null);
77591
77691
  }[];
77592
- export interface DeploymentJobRunInput {
77593
- serviceId: string;
77594
- }
77595
- export interface DeploymentJobRunOutput {
77596
- id: string;
77597
- status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped");
77598
- trigger: ("schedule" | "manual");
77599
- exitCode: (number | null);
77600
- createdAt: string;
77601
- serviceId: string;
77602
- startedAt: (string | null);
77603
- finishedAt: (string | null);
77604
- k8sJobName: string;
77605
- imageDigest: (string | null);
77606
- triggeredBy: (string | null);
77607
- deploymentId: (string | null);
77608
- environmentId: string;
77609
- failureReason: (string | null);
77610
- }
77611
- export interface DeploymentJobRunLogsInput {
77612
- runId: string;
77613
- serviceId: string;
77614
- }
77615
- export interface DeploymentJobRunLogsOutput {
77616
- live: boolean;
77617
- logs: string;
77618
- status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped");
77619
- }
77620
- export interface DeploymentJobRunsListInput {
77621
- limit?: number;
77622
- cursor?: string;
77623
- serviceId: string;
77624
- }
77625
- export interface DeploymentJobRunsListOutput {
77626
- items: {
77627
- id: string;
77628
- status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped");
77629
- trigger: ("schedule" | "manual");
77630
- exitCode: (number | null);
77631
- createdAt: string;
77632
- serviceId: string;
77633
- startedAt: (string | null);
77634
- finishedAt: (string | null);
77635
- k8sJobName: string;
77636
- imageDigest: (string | null);
77637
- triggeredBy: (string | null);
77638
- deploymentId: (string | null);
77639
- environmentId: string;
77640
- failureReason: (string | null);
77641
- }[];
77642
- nextCursor: (string | null);
77643
- }
77644
77692
  export interface DeploymentManagedServiceBackupInput {
77645
77693
  id: string;
77646
77694
  }
@@ -78044,10 +78092,6 @@ export interface DeploymentPreviewPolicySetOutput {
78044
78092
  baseEnvironmentId: string;
78045
78093
  }
78046
78094
  export interface DeploymentServiceCreateInput {
78047
- /**
78048
- * 'persistent' (a long-running Deployment behind a Service — the default) or 'scheduled' (a k8s CronJob: no port, no replicas, no route). Immutable after create.
78049
- */
78050
- mode?: ("persistent" | "scheduled");
78051
78095
  name: string;
78052
78096
  slug?: string;
78053
78097
  canvas?: {
@@ -78085,19 +78129,11 @@ export interface DeploymentServiceCreateInput {
78085
78129
  };
78086
78130
  markdown?: boolean;
78087
78131
  });
78088
- /**
78089
- * Shell command a scheduled run executes (`/bin/sh -c <command>`). Scheduled services only; omit it to run the image entrypoint. `null` clears a command that was set and returns the run to the image entrypoint.
78090
- */
78091
- command?: (string | null);
78092
78132
  /**
78093
78133
  * 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.
78094
78134
  */
78095
78135
  tracing?: ("off" | "node" | "python");
78096
78136
  replicas?: number;
78097
- /**
78098
- * Five-field UTC cron expression (minute hour day-of-month month day-of-week), or null for a scheduled service with no schedule yet.
78099
- */
78100
- schedule?: (string | null);
78101
78137
  resources?: {
78102
78138
  limits?: {
78103
78139
  cpu?: string;
@@ -78106,14 +78142,6 @@ export interface DeploymentServiceCreateInput {
78106
78142
  };
78107
78143
  containerPort?: number;
78108
78144
  environmentId: string;
78109
- /**
78110
- * Wall-clock budget for one run, in seconds (60..86400). Becomes the Job activeDeadlineSeconds — an overrunning run is killed, not left going.
78111
- */
78112
- jobTimeoutSec?: number;
78113
- /**
78114
- * What happens when a run is still going at the next tick: 'forbid' (skip the tick), 'allow' (run in parallel) or 'replace' (kill the running one).
78115
- */
78116
- jobConcurrency?: ("forbid" | "allow" | "replace");
78117
78145
  }
78118
78146
  export interface DeploymentServiceCreateInputReadiness {
78119
78147
  path: string;
@@ -78126,7 +78154,6 @@ export interface DeploymentServiceCreateInputReadiness {
78126
78154
  }
78127
78155
  export interface DeploymentServiceCreateOutput {
78128
78156
  id: string;
78129
- mode?: string;
78130
78157
  name: string;
78131
78158
  slug: string;
78132
78159
  probes: {
@@ -78160,19 +78187,10 @@ export interface DeploymentServiceCreateOutput {
78160
78187
  };
78161
78188
  markdown?: boolean;
78162
78189
  });
78163
- command?: (string | null);
78164
- lastRun?: ({
78165
- id: string;
78166
- status: string;
78167
- startedAt: (string | null);
78168
- finishedAt: (string | null);
78169
- } | null);
78170
78190
  tracing?: string;
78171
78191
  replicas: number;
78172
- schedule?: (string | null);
78173
78192
  createdAt: string;
78174
78193
  dependsOn: string[];
78175
- nextRunAt?: (string | null);
78176
78194
  resources?: {
78177
78195
  limits?: {
78178
78196
  cpu?: string;
@@ -78186,10 +78204,7 @@ export interface DeploymentServiceCreateOutput {
78186
78204
  scaleToZero: boolean;
78187
78205
  containerPort: number;
78188
78206
  environmentId: string;
78189
- jobTimeoutSec?: number;
78190
- jobConcurrency?: string;
78191
78207
  buildMachineType?: (string | null);
78192
- scheduleSuspended?: boolean;
78193
78208
  suspendedByBilling?: boolean;
78194
78209
  lastReplicasRunning: number;
78195
78210
  scaleToZeroEligibility?: {
@@ -78240,7 +78255,6 @@ export interface DeploymentServiceGetInput {
78240
78255
  }
78241
78256
  export interface DeploymentServiceGetOutput {
78242
78257
  id: string;
78243
- mode?: string;
78244
78258
  name: string;
78245
78259
  slug: string;
78246
78260
  probes: {
@@ -78274,19 +78288,10 @@ export interface DeploymentServiceGetOutput {
78274
78288
  };
78275
78289
  markdown?: boolean;
78276
78290
  });
78277
- command?: (string | null);
78278
- lastRun?: ({
78279
- id: string;
78280
- status: string;
78281
- startedAt: (string | null);
78282
- finishedAt: (string | null);
78283
- } | null);
78284
78291
  tracing?: string;
78285
78292
  replicas: number;
78286
- schedule?: (string | null);
78287
78293
  createdAt: string;
78288
78294
  dependsOn: string[];
78289
- nextRunAt?: (string | null);
78290
78295
  resources?: {
78291
78296
  limits?: {
78292
78297
  cpu?: string;
@@ -78300,10 +78305,7 @@ export interface DeploymentServiceGetOutput {
78300
78305
  scaleToZero: boolean;
78301
78306
  containerPort: number;
78302
78307
  environmentId: string;
78303
- jobTimeoutSec?: number;
78304
- jobConcurrency?: string;
78305
78308
  buildMachineType?: (string | null);
78306
- scheduleSuspended?: boolean;
78307
78309
  suspendedByBilling?: boolean;
78308
78310
  lastReplicasRunning: number;
78309
78311
  scaleToZeroEligibility?: {
@@ -78325,7 +78327,6 @@ export interface DeploymentServiceListInput {
78325
78327
  }
78326
78328
  export type DeploymentServiceListOutput = {
78327
78329
  id: string;
78328
- mode?: string;
78329
78330
  name: string;
78330
78331
  slug: string;
78331
78332
  probes: {
@@ -78359,19 +78360,10 @@ export type DeploymentServiceListOutput = {
78359
78360
  };
78360
78361
  markdown?: boolean;
78361
78362
  });
78362
- command?: (string | null);
78363
- lastRun?: ({
78364
- id: string;
78365
- status: string;
78366
- startedAt: (string | null);
78367
- finishedAt: (string | null);
78368
- } | null);
78369
78363
  tracing?: string;
78370
78364
  replicas: number;
78371
- schedule?: (string | null);
78372
78365
  createdAt: string;
78373
78366
  dependsOn: string[];
78374
- nextRunAt?: (string | null);
78375
78367
  resources?: {
78376
78368
  limits?: {
78377
78369
  cpu?: string;
@@ -78385,10 +78377,7 @@ export type DeploymentServiceListOutput = {
78385
78377
  scaleToZero: boolean;
78386
78378
  containerPort: number;
78387
78379
  environmentId: string;
78388
- jobTimeoutSec?: number;
78389
- jobConcurrency?: string;
78390
78380
  buildMachineType?: (string | null);
78391
- scheduleSuspended?: boolean;
78392
78381
  suspendedByBilling?: boolean;
78393
78382
  lastReplicasRunning: number;
78394
78383
  scaleToZeroEligibility?: {
@@ -78478,7 +78467,6 @@ export interface DeploymentServiceScaleInput {
78478
78467
  }
78479
78468
  export interface DeploymentServiceScaleOutput {
78480
78469
  id: string;
78481
- mode?: string;
78482
78470
  name: string;
78483
78471
  slug: string;
78484
78472
  probes: {
@@ -78512,19 +78500,10 @@ export interface DeploymentServiceScaleOutput {
78512
78500
  };
78513
78501
  markdown?: boolean;
78514
78502
  });
78515
- command?: (string | null);
78516
- lastRun?: ({
78517
- id: string;
78518
- status: string;
78519
- startedAt: (string | null);
78520
- finishedAt: (string | null);
78521
- } | null);
78522
78503
  tracing?: string;
78523
78504
  replicas: number;
78524
- schedule?: (string | null);
78525
78505
  createdAt: string;
78526
78506
  dependsOn: string[];
78527
- nextRunAt?: (string | null);
78528
78507
  resources?: {
78529
78508
  limits?: {
78530
78509
  cpu?: string;
@@ -78538,10 +78517,7 @@ export interface DeploymentServiceScaleOutput {
78538
78517
  scaleToZero: boolean;
78539
78518
  containerPort: number;
78540
78519
  environmentId: string;
78541
- jobTimeoutSec?: number;
78542
- jobConcurrency?: string;
78543
78520
  buildMachineType?: (string | null);
78544
- scheduleSuspended?: boolean;
78545
78521
  suspendedByBilling?: boolean;
78546
78522
  lastReplicasRunning: number;
78547
78523
  scaleToZeroEligibility?: {
@@ -78560,7 +78536,6 @@ export interface DeploymentServiceScaleOutputReadiness {
78560
78536
  }
78561
78537
  export interface DeploymentServiceUpdateInput {
78562
78538
  id: string;
78563
- mode?: unknown;
78564
78539
  name?: string;
78565
78540
  probes?: {
78566
78541
  liveness?: DeploymentServiceUpdateInputReadiness;
@@ -78593,19 +78568,11 @@ export interface DeploymentServiceUpdateInput {
78593
78568
  };
78594
78569
  markdown?: boolean;
78595
78570
  });
78596
- /**
78597
- * Shell command a scheduled run executes (`/bin/sh -c <command>`). Scheduled services only; omit it to run the image entrypoint. `null` clears a command that was set and returns the run to the image entrypoint.
78598
- */
78599
- command?: (string | null);
78600
78571
  /**
78601
78572
  * 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.
78602
78573
  */
78603
78574
  tracing?: ("off" | "node" | "python");
78604
78575
  replicas?: number;
78605
- /**
78606
- * Five-field UTC cron expression (minute hour day-of-month month day-of-week), or null for a scheduled service with no schedule yet.
78607
- */
78608
- schedule?: (string | null);
78609
78576
  resources?: {
78610
78577
  limits?: {
78611
78578
  cpu?: string;
@@ -78619,19 +78586,7 @@ export interface DeploymentServiceUpdateInput {
78619
78586
  idleMinutes?: number;
78620
78587
  scaleToZero?: boolean;
78621
78588
  containerPort?: number;
78622
- /**
78623
- * Wall-clock budget for one run, in seconds (60..86400). Becomes the Job activeDeadlineSeconds — an overrunning run is killed, not left going.
78624
- */
78625
- jobTimeoutSec?: number;
78626
- /**
78627
- * What happens when a run is still going at the next tick: 'forbid' (skip the tick), 'allow' (run in parallel) or 'replace' (kill the running one).
78628
- */
78629
- jobConcurrency?: ("forbid" | "allow" | "replace");
78630
78589
  buildMachineType?: (("E2_MEDIUM" | "E2_HIGHCPU_8") | null);
78631
- /**
78632
- * Pause or resume a scheduled service without losing its schedule.
78633
- */
78634
- scheduleSuspended?: boolean;
78635
78590
  }
78636
78591
  export interface DeploymentServiceUpdateInputReadiness {
78637
78592
  path: string;
@@ -78644,7 +78599,6 @@ export interface DeploymentServiceUpdateInputReadiness {
78644
78599
  }
78645
78600
  export interface DeploymentServiceUpdateOutput {
78646
78601
  id: string;
78647
- mode?: string;
78648
78602
  name: string;
78649
78603
  slug: string;
78650
78604
  probes: {
@@ -78678,19 +78632,10 @@ export interface DeploymentServiceUpdateOutput {
78678
78632
  };
78679
78633
  markdown?: boolean;
78680
78634
  });
78681
- command?: (string | null);
78682
- lastRun?: ({
78683
- id: string;
78684
- status: string;
78685
- startedAt: (string | null);
78686
- finishedAt: (string | null);
78687
- } | null);
78688
78635
  tracing?: string;
78689
78636
  replicas: number;
78690
- schedule?: (string | null);
78691
78637
  createdAt: string;
78692
78638
  dependsOn: string[];
78693
- nextRunAt?: (string | null);
78694
78639
  resources?: {
78695
78640
  limits?: {
78696
78641
  cpu?: string;
@@ -78704,10 +78649,7 @@ export interface DeploymentServiceUpdateOutput {
78704
78649
  scaleToZero: boolean;
78705
78650
  containerPort: number;
78706
78651
  environmentId: string;
78707
- jobTimeoutSec?: number;
78708
- jobConcurrency?: string;
78709
78652
  buildMachineType?: (string | null);
78710
- scheduleSuspended?: boolean;
78711
78653
  suspendedByBilling?: boolean;
78712
78654
  lastReplicasRunning: number;
78713
78655
  scaleToZeroEligibility?: {
@@ -90530,7 +90472,6 @@ export interface OrganizationProductListAccessOutput {
90530
90472
  orgRoles: {
90531
90473
  id: string;
90532
90474
  name: string;
90533
- description: (string | null);
90534
90475
  }[];
90535
90476
  canManage: boolean;
90536
90477
  inherited: {
@@ -90881,197 +90822,6 @@ export interface OrganizationSupportThreadsListOutput {
90881
90822
  lastMessagePreview: (string | null);
90882
90823
  }[];
90883
90824
  }
90884
- export interface PlaygroundAnalyticsOverviewInput {
90885
- /**
90886
- * Max records per entity in recent[]; omit for the endpoint default
90887
- */
90888
- limit?: number;
90889
- }
90890
- export interface PlaygroundAnalyticsOverviewOutput {
90891
- ok: boolean;
90892
- minted: boolean;
90893
- overview?: unknown;
90894
- http_status: number;
90895
- }
90896
- export interface PlaygroundBillingEntitlementsInput {
90897
- }
90898
- export interface PlaygroundBillingEntitlementsOutput {
90899
- ok: boolean;
90900
- minted: boolean;
90901
- http_status: number;
90902
- entitlements?: unknown;
90903
- }
90904
- export interface PlaygroundBillingRecordUsageInput {
90905
- /**
90906
- * Quantity of events to record against playground-events (SUM); defaults to 1
90907
- */
90908
- value?: number;
90909
- }
90910
- export interface PlaygroundBillingRecordUsageOutput {
90911
- minted: boolean;
90912
- accepted: (number | null);
90913
- recorded: boolean;
90914
- duplicates: (number | null);
90915
- http_status: number;
90916
- }
90917
- export interface PlaygroundClickupCreateTaskInput {
90918
- /**
90919
- * Task title; defaults to a fixture label
90920
- */
90921
- name?: string;
90922
- /**
90923
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
90924
- */
90925
- listId?: string;
90926
- }
90927
- export interface PlaygroundClickupCreateTaskOutput {
90928
- minted: boolean;
90929
- task_id: (string | null);
90930
- list_status: number;
90931
- vend_status: number;
90932
- clickup_status: number;
90933
- installation_count: number;
90934
- }
90935
- export interface PlaygroundClickupGetLastWebhookInput {
90936
- }
90937
- export type PlaygroundClickupGetLastWebhookOutput = ({
90938
- payload: string;
90939
- event_id: string;
90940
- provider: string;
90941
- verified: boolean;
90942
- product_id: string;
90943
- occurred_at: string;
90944
- connector_id: string;
90945
- clickup_event: (string | null);
90946
- receipt_count: number;
90947
- } | {
90948
- found: false;
90949
- });
90950
- export interface PlaygroundClickupGetOverviewInput {
90951
- }
90952
- export interface PlaygroundClickupGetOverviewOutput {
90953
- team: ({
90954
- teamId: string;
90955
- teamName: string;
90956
- } | null);
90957
- lists: PlaygroundClickupGetOverviewOutputItems[];
90958
- tasks: {
90959
- id: string;
90960
- name: string;
90961
- status: (string | null);
90962
- }[];
90963
- minted: boolean;
90964
- spaces: PlaygroundClickupGetOverviewOutputItems[];
90965
- list_status: number;
90966
- vend_status: number;
90967
- lists_status: number;
90968
- tasks_status: number;
90969
- spaces_status: number;
90970
- folders_status: number;
90971
- installation_count: number;
90972
- }
90973
- export interface PlaygroundClickupGetOverviewOutputItems {
90974
- id: string;
90975
- name: string;
90976
- }
90977
- export interface PlaygroundGdriveGetLastChangeInput {
90978
- }
90979
- export type PlaygroundGdriveGetLastChangeOutput = ({
90980
- file_id: string;
90981
- removed: boolean;
90982
- file_name: (string | null);
90983
- mime_type: (string | null);
90984
- product_id: string;
90985
- occurred_at: string;
90986
- connector_id: string;
90987
- resource_state: string;
90988
- } | {
90989
- found: false;
90990
- });
90991
- export interface PlaygroundGdriveReadFileInput {
90992
- /**
90993
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
90994
- */
90995
- fileId?: string;
90996
- }
90997
- export interface PlaygroundGdriveReadFileOutput {
90998
- minted: boolean;
90999
- file_id: (string | null);
91000
- file_name: (string | null);
91001
- mime_type: (string | null);
91002
- file_count: number;
91003
- get_status: number;
91004
- list_status: number;
91005
- vend_status: number;
91006
- content_bytes: (number | null);
91007
- }
91008
- export interface PlaygroundGoogleadsReadCustomerInput {
91009
- }
91010
- export interface PlaygroundGoogleadsReadCustomerOutput {
91011
- minted: boolean;
91012
- vended: boolean;
91013
- customer_id: (string | null);
91014
- vend_status: number;
91015
- result_count: number;
91016
- search_status: number;
91017
- login_customer_id: (string | null);
91018
- }
91019
- export interface PlaygroundLifecycleGetStateInput {
91020
- }
91021
- export interface PlaygroundLifecycleGetStateOutput {
91022
- blocked: boolean;
91023
- archived: boolean;
91024
- productId: string;
91025
- lastBlockTransition: ({
91026
- eventId: string;
91027
- eventName: string;
91028
- productId: string;
91029
- occurredAt: string;
91030
- recordedAt: string;
91031
- receiptCount: number;
91032
- organizationId: string;
91033
- cascadedFromOrg: boolean;
91034
- } | null);
91035
- lastArchiveTransition: ({
91036
- eventId: string;
91037
- eventName: string;
91038
- productId: string;
91039
- occurredAt: string;
91040
- recordedAt: string;
91041
- receiptCount: number;
91042
- organizationId: string;
91043
- cascadedFromOrg: boolean;
91044
- } | null);
91045
- }
91046
- export interface PlaygroundLifecycleListEventsInput {
91047
- }
91048
- export type PlaygroundLifecycleListEventsOutput = {
91049
- eventId: string;
91050
- eventName: string;
91051
- productId: string;
91052
- occurredAt: string;
91053
- recordedAt: string;
91054
- receiptCount: number;
91055
- organizationId: string;
91056
- cascadedFromOrg: boolean;
91057
- }[];
91058
- export interface PlaygroundWebhookGetLastInput {
91059
- }
91060
- export type PlaygroundWebhookGetLastOutput = ({
91061
- payload?: unknown;
91062
- event_id: string;
91063
- provider: string;
91064
- verified: boolean;
91065
- product_id: string;
91066
- occurred_at: string;
91067
- connector_id: string;
91068
- delivery_count: number;
91069
- } | {
91070
- found: false;
91071
- });
91072
- export interface PlaygroundWsEchoInput {
91073
- }
91074
- export type PlaygroundWsEchoOutput = unknown;
91075
90825
  export interface RealtimeArchiveExportInput {
91076
90826
  /**
91077
90827
  * Only entries with ts <= to_ts (epoch ms)