@lessly/sdk-app 23.1.0 → 24.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 (53) hide show
  1. package/dist/analytics/index.d.cts +1 -1
  2. package/dist/analytics/index.d.ts +1 -1
  3. package/dist/brain/index.cjs +5 -0
  4. package/dist/brain/index.cjs.map +1 -1
  5. package/dist/brain/index.d.cts +6 -2
  6. package/dist/brain/index.d.ts +6 -2
  7. package/dist/brain/index.js +5 -1
  8. package/dist/brain/index.js.map +1 -1
  9. package/dist/{client.gen-DqpzhA8m.d.cts → client.gen-MqVL6l3Y.d.cts} +130 -372
  10. package/dist/{client.gen-DqpzhA8m.d.ts → client.gen-MqVL6l3Y.d.ts} +130 -372
  11. package/dist/consent/index.d.cts +1 -1
  12. package/dist/consent/index.d.ts +1 -1
  13. package/dist/deployment/index.d.cts +1 -1
  14. package/dist/deployment/index.d.ts +1 -1
  15. package/dist/index.cjs +25 -98
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +25 -98
  20. package/dist/index.js.map +1 -1
  21. package/dist/mail/index.d.cts +2 -2
  22. package/dist/mail/index.d.ts +2 -2
  23. package/dist/organization/index.d.cts +1 -1
  24. package/dist/organization/index.d.ts +1 -1
  25. package/dist/realtime/index.cjs +15 -5
  26. package/dist/realtime/index.cjs.map +1 -1
  27. package/dist/realtime/index.d.cts +14 -6
  28. package/dist/realtime/index.d.ts +14 -6
  29. package/dist/realtime/index.js +13 -5
  30. package/dist/realtime/index.js.map +1 -1
  31. package/dist/tracking/index.d.cts +1 -1
  32. package/dist/tracking/index.d.ts +1 -1
  33. package/dist/users/index.d.cts +1 -1
  34. package/dist/users/index.d.ts +1 -1
  35. package/dist/waitlist/index.d.cts +1 -1
  36. package/dist/waitlist/index.d.ts +1 -1
  37. package/package.json +2 -7
  38. package/src/gen/bindings.gen.ts +25 -98
  39. package/src/gen/brain/index.ts +1 -1
  40. package/src/gen/brain/queryOptions.gen.ts +7 -0
  41. package/src/gen/client.gen.ts +16 -57
  42. package/src/gen/manifest.gen.ts +1 -1
  43. package/src/gen/realtime/index.ts +1 -1
  44. package/src/gen/realtime/queryOptions.gen.ts +19 -7
  45. package/src/gen/types.gen.ts +120 -365
  46. package/dist/playground/index.cjs +0 -66
  47. package/dist/playground/index.cjs.map +0 -1
  48. package/dist/playground/index.d.cts +0 -52
  49. package/dist/playground/index.d.ts +0 -52
  50. package/dist/playground/index.js +0 -53
  51. package/dist/playground/index.js.map +0 -1
  52. package/src/gen/playground/index.ts +0 -3
  53. package/src/gen/playground/queryOptions.gen.ts +0 -86
@@ -1028,6 +1028,98 @@ 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
+
1031
1123
  export interface ConsentConfigCookieDomainUpsertInput {
1032
1124
  cookieDomain: ("" | null | string)
1033
1125
  }
@@ -2627,7 +2719,7 @@ baseEnvironmentId: (string | null)
2627
2719
  }
2628
2720
 
2629
2721
  export interface DeploymentEventsListByEnvironmentInput {
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")
2722
+ 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" | "service.sleep-enable-failed")
2631
2723
  limit?: number
2632
2724
  since?: string
2633
2725
  until?: string
@@ -2636,7 +2728,7 @@ environmentId: string
2636
2728
 
2637
2729
  export type DeploymentEventsListByEnvironmentOutput = {
2638
2730
  id: string
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")
2731
+ 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" | "service.sleep-enable-failed")
2640
2732
  payload: {
2641
2733
  [k: string]: unknown
2642
2734
  }
@@ -2649,7 +2741,7 @@ environmentId: (string | null)
2649
2741
  }[]
2650
2742
 
2651
2743
  export interface DeploymentEventsListByServiceInput {
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")
2744
+ 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" | "service.sleep-enable-failed")
2653
2745
  limit?: number
2654
2746
  since?: string
2655
2747
  until?: string
@@ -2659,7 +2751,7 @@ deploymentId?: string
2659
2751
 
2660
2752
  export type DeploymentEventsListByServiceOutput = {
2661
2753
  id: string
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")
2754
+ 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" | "service.sleep-enable-failed")
2663
2755
  payload: {
2664
2756
  [k: string]: unknown
2665
2757
  }
@@ -13474,226 +13566,53 @@ name: string
13474
13566
  activeProductId: (string | null)
13475
13567
  }
13476
13568
 
13477
- export interface PlaygroundAnalyticsOverviewInput {
13569
+ export interface RealtimeApikeyCreateInput {
13478
13570
  /**
13479
- * Max records per entity in recent[]; omit for the endpoint default
13571
+ * Human-readable label for the key, e.g. "production backend"
13480
13572
  */
13481
- limit?: number
13482
- }
13483
-
13484
- export interface PlaygroundAnalyticsOverviewOutput {
13485
- ok: boolean
13486
- minted: boolean
13487
- overview?: unknown
13488
- http_status: number
13489
- }
13490
-
13491
- export interface PlaygroundBillingEntitlementsInput {
13492
-
13493
- }
13494
-
13495
- export interface PlaygroundBillingEntitlementsOutput {
13496
- ok: boolean
13497
- minted: boolean
13498
- http_status: number
13499
- entitlements?: unknown
13500
- }
13501
-
13502
- export interface PlaygroundBillingRecordUsageInput {
13503
- /**
13504
- * Quantity of events to record against playground-events (SUM); defaults to 1
13505
- */
13506
- value?: number
13507
- }
13508
-
13509
- export interface PlaygroundBillingRecordUsageOutput {
13510
- minted: boolean
13511
- accepted: (number | null)
13512
- recorded: boolean
13513
- duplicates: (number | null)
13514
- http_status: number
13573
+ name: string
13515
13574
  }
13516
13575
 
13517
- export interface PlaygroundClickupCreateTaskInput {
13576
+ export interface RealtimeApikeyCreateOutput {
13518
13577
  /**
13519
- * Task title; defaults to a fixture label
13578
+ * The full rtk_ secret. Shown once — it cannot be retrieved again.
13520
13579
  */
13521
- name?: string
13522
- /**
13523
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
13524
- */
13525
- listId?: string
13526
- }
13527
-
13528
- export interface PlaygroundClickupCreateTaskOutput {
13529
- minted: boolean
13530
- task_id: (string | null)
13531
- list_status: number
13532
- vend_status: number
13533
- clickup_status: number
13534
- installation_count: number
13580
+ key: string
13581
+ apiKey: {
13582
+ id: string
13583
+ name: string
13584
+ prefix: string
13585
+ createdAt: string
13586
+ revokedAt: (string | null)
13535
13587
  }
13536
-
13537
- export interface PlaygroundClickupGetLastWebhookInput {
13538
-
13539
13588
  }
13540
13589
 
13541
- export type PlaygroundClickupGetLastWebhookOutput = ({
13542
- payload: string
13543
- event_id: string
13544
- provider: string
13545
- verified: boolean
13546
- product_id: string
13547
- occurred_at: string
13548
- connector_id: string
13549
- clickup_event: (string | null)
13550
- receipt_count: number
13551
- } | {
13552
- found: false
13553
- })
13554
-
13555
- export interface PlaygroundClickupGetOverviewInput {
13590
+ export interface RealtimeApikeyListInput {
13556
13591
 
13557
13592
  }
13558
13593
 
13559
- export interface PlaygroundClickupGetOverviewOutput {
13560
- team: ({
13561
- teamId: string
13562
- teamName: string
13563
- } | null)
13564
- lists: PlaygroundClickupGetOverviewOutputItems[]
13565
- tasks: {
13594
+ export interface RealtimeApikeyListOutput {
13595
+ keys: {
13566
13596
  id: string
13567
13597
  name: string
13568
- status: (string | null)
13598
+ prefix: string
13599
+ createdAt: string
13600
+ revokedAt: (string | null)
13569
13601
  }[]
13570
- minted: boolean
13571
- spaces: PlaygroundClickupGetOverviewOutputItems[]
13572
- list_status: number
13573
- vend_status: number
13574
- lists_status: number
13575
- tasks_status: number
13576
- spaces_status: number
13577
- folders_status: number
13578
- installation_count: number
13579
- }
13580
- export interface PlaygroundClickupGetOverviewOutputItems {
13581
- id: string
13582
- name: string
13583
13602
  }
13584
13603
 
13585
- export interface PlaygroundGdriveGetLastChangeInput {
13586
-
13587
- }
13588
-
13589
- export type PlaygroundGdriveGetLastChangeOutput = ({
13590
- file_id: string
13591
- removed: boolean
13592
- file_name: (string | null)
13593
- mime_type: (string | null)
13594
- product_id: string
13595
- occurred_at: string
13596
- connector_id: string
13597
- resource_state: string
13598
- } | {
13599
- found: false
13600
- })
13601
-
13602
- export interface PlaygroundGdriveReadFileInput {
13604
+ export interface RealtimeApikeyRevokeInput {
13603
13605
  /**
13604
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
13606
+ * Api key id to revoke
13605
13607
  */
13606
- fileId?: string
13607
- }
13608
-
13609
- export interface PlaygroundGdriveReadFileOutput {
13610
- minted: boolean
13611
- file_id: (string | null)
13612
- file_name: (string | null)
13613
- mime_type: (string | null)
13614
- file_count: number
13615
- get_status: number
13616
- list_status: number
13617
- vend_status: number
13618
- content_bytes: (number | null)
13619
- }
13620
-
13621
- export interface PlaygroundGoogleadsReadCustomerInput {
13622
-
13623
- }
13624
-
13625
- export interface PlaygroundGoogleadsReadCustomerOutput {
13626
- minted: boolean
13627
- vended: boolean
13628
- customer_id: (string | null)
13629
- vend_status: number
13630
- result_count: number
13631
- search_status: number
13632
- login_customer_id: (string | null)
13633
- }
13634
-
13635
- export interface PlaygroundLifecycleGetStateInput {
13636
-
13637
- }
13638
-
13639
- export interface PlaygroundLifecycleGetStateOutput {
13640
- blocked: boolean
13641
- archived: boolean
13642
- productId: string
13643
- lastBlockTransition: ({
13644
- eventId: string
13645
- eventName: string
13646
- productId: string
13647
- occurredAt: string
13648
- recordedAt: string
13649
- receiptCount: number
13650
- organizationId: string
13651
- cascadedFromOrg: boolean
13652
- } | null)
13653
- lastArchiveTransition: ({
13654
- eventId: string
13655
- eventName: string
13656
- productId: string
13657
- occurredAt: string
13658
- recordedAt: string
13659
- receiptCount: number
13660
- organizationId: string
13661
- cascadedFromOrg: boolean
13662
- } | null)
13663
- }
13664
-
13665
- export interface PlaygroundLifecycleListEventsInput {
13666
-
13608
+ id: string
13667
13609
  }
13668
13610
 
13669
- export type PlaygroundLifecycleListEventsOutput = {
13670
- eventId: string
13671
- eventName: string
13672
- productId: string
13673
- occurredAt: string
13674
- recordedAt: string
13675
- receiptCount: number
13676
- organizationId: string
13677
- cascadedFromOrg: boolean
13678
- }[]
13679
-
13680
- export interface PlaygroundWebhookGetLastInput {
13681
-
13611
+ export interface RealtimeApikeyRevokeOutput {
13612
+ id: string
13613
+ revokedAt: string
13682
13614
  }
13683
13615
 
13684
- export type PlaygroundWebhookGetLastOutput = ({
13685
- payload?: unknown
13686
- event_id: string
13687
- provider: string
13688
- verified: boolean
13689
- product_id: string
13690
- occurred_at: string
13691
- connector_id: string
13692
- delivery_count: number
13693
- } | {
13694
- found: false
13695
- })
13696
-
13697
13616
  export interface RealtimeArchiveExportInput {
13698
13617
  /**
13699
13618
  * Only entries with ts <= to_ts (epoch ms)
@@ -14342,17 +14261,6 @@ connections: number
14342
14261
  channel: string
14343
14262
  }
14344
14263
 
14345
- export interface RealtimePublicAccessStatusInput {
14346
-
14347
- }
14348
-
14349
- export interface RealtimePublicAccessStatusOutput {
14350
- /**
14351
- * Whether this product has created a public key yet (an onboarding hint, not a gate)
14352
- */
14353
- exists: boolean
14354
- }
14355
-
14356
14264
  export interface RealtimeStatusGetInput {
14357
14265
 
14358
14266
  }
@@ -15799,56 +15707,6 @@ github: UsersConfigGetOutputGoogle
15799
15707
  google: UsersConfigGetOutputGoogle
15800
15708
  }
15801
15709
  }
15802
- hosted: {
15803
- /**
15804
- * Serve the hosted sign-in, sign-up and recovery pages for this product. Default true. False answers those routes with a refusal page instead — for a product that ships its own frontend and wants no second front door.
15805
- */
15806
- enabled: boolean
15807
- /**
15808
- * Absolute https URL of a logo rendered above the form. Null renders no logo.
15809
- */
15810
- logoUrl: (string | null)
15811
- /**
15812
- * Terms link rendered in the footer. Null renders no link.
15813
- */
15814
- termsUrl: (string | null)
15815
- /**
15816
- * CSS colour of the body text.
15817
- */
15818
- textColor: string
15819
- /**
15820
- * One line under the card. Null renders no footer.
15821
- */
15822
- footerText: (string | null)
15823
- /**
15824
- * Privacy-policy link rendered in the footer. Null renders no link.
15825
- */
15826
- privacyUrl: (string | null)
15827
- /**
15828
- * CSS colour for the submit button, the links and the focus ring.
15829
- */
15830
- accentColor: string
15831
- /**
15832
- * Shown in the heading and the page title. Default "This product".
15833
- */
15834
- productName: string
15835
- /**
15836
- * CSS length for the card and its controls, e.g. "12px".
15837
- */
15838
- borderRadius: string
15839
- /**
15840
- * CSS colour of the card itself.
15841
- */
15842
- surfaceColor: string
15843
- /**
15844
- * CSS colour of secondary text and hints.
15845
- */
15846
- mutedTextColor: string
15847
- /**
15848
- * CSS colour of the page behind the card.
15849
- */
15850
- backgroundColor: string
15851
- }
15852
15710
  invite: {
15853
15711
  /**
15854
15712
  * How long an invite link stays usable, in days. Default 14.
@@ -16143,59 +16001,6 @@ clientId?: (string | null)
16143
16001
  clientSecret?: (string | null)
16144
16002
  }
16145
16003
  }
16146
- /**
16147
- * The hosted sign-in / sign-up / recovery pages: whether they are served, and the product name, logo, colours and footer links they render with. Merged field-by-field, so setting one colour leaves the rest alone.
16148
- */
16149
- hosted?: {
16150
- /**
16151
- * Serve the hosted sign-in, sign-up and recovery pages for this product. Default true. False answers those routes with a refusal page instead — for a product that ships its own frontend and wants no second front door.
16152
- */
16153
- enabled?: boolean
16154
- /**
16155
- * Absolute https URL of a logo rendered above the form. Null renders no logo.
16156
- */
16157
- logoUrl?: (string | null)
16158
- /**
16159
- * Terms link rendered in the footer. Null renders no link.
16160
- */
16161
- termsUrl?: (string | null)
16162
- /**
16163
- * CSS colour of the body text.
16164
- */
16165
- textColor?: string
16166
- /**
16167
- * One line under the card. Null renders no footer.
16168
- */
16169
- footerText?: (string | null)
16170
- /**
16171
- * Privacy-policy link rendered in the footer. Null renders no link.
16172
- */
16173
- privacyUrl?: (string | null)
16174
- /**
16175
- * CSS colour for the submit button, the links and the focus ring.
16176
- */
16177
- accentColor?: string
16178
- /**
16179
- * Shown in the heading and the page title. Default "This product".
16180
- */
16181
- productName?: string
16182
- /**
16183
- * CSS length for the card and its controls, e.g. "12px".
16184
- */
16185
- borderRadius?: string
16186
- /**
16187
- * CSS colour of the card itself.
16188
- */
16189
- surfaceColor?: string
16190
- /**
16191
- * CSS colour of secondary text and hints.
16192
- */
16193
- mutedTextColor?: string
16194
- /**
16195
- * CSS colour of the page behind the card.
16196
- */
16197
- backgroundColor?: string
16198
- }
16199
16004
  /**
16200
16005
  * Invite lifetime and re-invite cooldown. Merged field-by-field.
16201
16006
  */
@@ -16541,56 +16346,6 @@ github: UsersConfigUpsertOutputGoogle
16541
16346
  google: UsersConfigUpsertOutputGoogle
16542
16347
  }
16543
16348
  }
16544
- hosted: {
16545
- /**
16546
- * Serve the hosted sign-in, sign-up and recovery pages for this product. Default true. False answers those routes with a refusal page instead — for a product that ships its own frontend and wants no second front door.
16547
- */
16548
- enabled: boolean
16549
- /**
16550
- * Absolute https URL of a logo rendered above the form. Null renders no logo.
16551
- */
16552
- logoUrl: (string | null)
16553
- /**
16554
- * Terms link rendered in the footer. Null renders no link.
16555
- */
16556
- termsUrl: (string | null)
16557
- /**
16558
- * CSS colour of the body text.
16559
- */
16560
- textColor: string
16561
- /**
16562
- * One line under the card. Null renders no footer.
16563
- */
16564
- footerText: (string | null)
16565
- /**
16566
- * Privacy-policy link rendered in the footer. Null renders no link.
16567
- */
16568
- privacyUrl: (string | null)
16569
- /**
16570
- * CSS colour for the submit button, the links and the focus ring.
16571
- */
16572
- accentColor: string
16573
- /**
16574
- * Shown in the heading and the page title. Default "This product".
16575
- */
16576
- productName: string
16577
- /**
16578
- * CSS length for the card and its controls, e.g. "12px".
16579
- */
16580
- borderRadius: string
16581
- /**
16582
- * CSS colour of the card itself.
16583
- */
16584
- surfaceColor: string
16585
- /**
16586
- * CSS colour of secondary text and hints.
16587
- */
16588
- mutedTextColor: string
16589
- /**
16590
- * CSS colour of the page behind the card.
16591
- */
16592
- backgroundColor: string
16593
- }
16594
16349
  invite: {
16595
16350
  /**
16596
16351
  * How long an invite link stays usable, in days. Default 14.
@@ -1,66 +0,0 @@
1
- 'use strict';
2
-
3
- // src/gen/playground/queryOptions.gen.ts
4
- var playgroundAnalyticsOverviewQueryOptions = (sdk, input) => ({
5
- queryKey: ["playground", "analytics", "overview", input],
6
- queryFn: () => sdk["playground"]["analytics"]["overview"](input)
7
- });
8
- var playgroundBillingEntitlementsQueryOptions = (sdk, input) => ({
9
- queryKey: ["playground", "billing", "entitlements", input],
10
- queryFn: () => sdk["playground"]["billing"]["entitlements"](input)
11
- });
12
- var playgroundBillingRecordUsageMutationOptions = (sdk) => ({
13
- mutationKey: ["playground", "billing", "record-usage"],
14
- mutationFn: (input) => sdk["playground"]["billing"]["record-usage"](input)
15
- });
16
- var playgroundClickupCreateTaskMutationOptions = (sdk) => ({
17
- mutationKey: ["playground", "clickup", "create-task"],
18
- mutationFn: (input) => sdk["playground"]["clickup"]["create-task"](input)
19
- });
20
- var playgroundClickupGetLastWebhookQueryOptions = (sdk, input) => ({
21
- queryKey: ["playground", "clickup", "get-last-webhook", input],
22
- queryFn: () => sdk["playground"]["clickup"]["get-last-webhook"](input)
23
- });
24
- var playgroundClickupGetOverviewQueryOptions = (sdk, input) => ({
25
- queryKey: ["playground", "clickup", "get-overview", input],
26
- queryFn: () => sdk["playground"]["clickup"]["get-overview"](input)
27
- });
28
- var playgroundGdriveGetLastChangeQueryOptions = (sdk, input) => ({
29
- queryKey: ["playground", "gdrive", "get-last-change", input],
30
- queryFn: () => sdk["playground"]["gdrive"]["get-last-change"](input)
31
- });
32
- var playgroundGdriveReadFileQueryOptions = (sdk, input) => ({
33
- queryKey: ["playground", "gdrive", "read-file", input],
34
- queryFn: () => sdk["playground"]["gdrive"]["read-file"](input)
35
- });
36
- var playgroundGoogleadsReadCustomerQueryOptions = (sdk, input) => ({
37
- queryKey: ["playground", "googleads", "read-customer", input],
38
- queryFn: () => sdk["playground"]["googleads"]["read-customer"](input)
39
- });
40
- var playgroundLifecycleGetStateQueryOptions = (sdk, input) => ({
41
- queryKey: ["playground", "lifecycle", "get-state", input],
42
- queryFn: () => sdk["playground"]["lifecycle"]["get-state"](input)
43
- });
44
- var playgroundLifecycleListEventsQueryOptions = (sdk, input) => ({
45
- queryKey: ["playground", "lifecycle", "list-events", input],
46
- queryFn: () => sdk["playground"]["lifecycle"]["list-events"](input)
47
- });
48
- var playgroundWebhookGetLastQueryOptions = (sdk, input) => ({
49
- queryKey: ["playground", "webhook", "get-last", input],
50
- queryFn: () => sdk["playground"]["webhook"]["get-last"](input)
51
- });
52
-
53
- exports.playgroundAnalyticsOverviewQueryOptions = playgroundAnalyticsOverviewQueryOptions;
54
- exports.playgroundBillingEntitlementsQueryOptions = playgroundBillingEntitlementsQueryOptions;
55
- exports.playgroundBillingRecordUsageMutationOptions = playgroundBillingRecordUsageMutationOptions;
56
- exports.playgroundClickupCreateTaskMutationOptions = playgroundClickupCreateTaskMutationOptions;
57
- exports.playgroundClickupGetLastWebhookQueryOptions = playgroundClickupGetLastWebhookQueryOptions;
58
- exports.playgroundClickupGetOverviewQueryOptions = playgroundClickupGetOverviewQueryOptions;
59
- exports.playgroundGdriveGetLastChangeQueryOptions = playgroundGdriveGetLastChangeQueryOptions;
60
- exports.playgroundGdriveReadFileQueryOptions = playgroundGdriveReadFileQueryOptions;
61
- exports.playgroundGoogleadsReadCustomerQueryOptions = playgroundGoogleadsReadCustomerQueryOptions;
62
- exports.playgroundLifecycleGetStateQueryOptions = playgroundLifecycleGetStateQueryOptions;
63
- exports.playgroundLifecycleListEventsQueryOptions = playgroundLifecycleListEventsQueryOptions;
64
- exports.playgroundWebhookGetLastQueryOptions = playgroundWebhookGetLastQueryOptions;
65
- //# sourceMappingURL=index.cjs.map
66
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/gen/playground/queryOptions.gen.ts"],"names":[],"mappings":";;;AA2BO,IAAM,uCAAA,GAA0C,CAAC,GAAA,EAAsB,KAAA,MAA6C;AAAA,EACzH,QAAA,EAAU,CAAC,YAAA,EAAc,WAAA,EAAa,YAAY,KAAK,CAAA;AAAA,EACvD,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,WAAW,CAAA,CAAE,UAAU,CAAA,CAAE,KAAK;AACjE,CAAA;AAEO,IAAM,yCAAA,GAA4C,CAAC,GAAA,EAAsB,KAAA,MAA+C;AAAA,EAC7H,QAAA,EAAU,CAAC,YAAA,EAAc,SAAA,EAAW,gBAAgB,KAAK,CAAA;AAAA,EACzD,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,cAAc,CAAA,CAAE,KAAK;AACnE,CAAA;AAEO,IAAM,2CAAA,GAA8C,CAAC,GAAA,MAA0B;AAAA,EACpF,WAAA,EAAa,CAAC,YAAA,EAAc,SAAA,EAAW,cAAc,CAAA;AAAA,EACrD,UAAA,EAAY,CAAC,KAAA,KAA6C,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,cAAc,CAAA,CAAE,KAAK;AAC9G,CAAA;AAEO,IAAM,0CAAA,GAA6C,CAAC,GAAA,MAA0B;AAAA,EACnF,WAAA,EAAa,CAAC,YAAA,EAAc,SAAA,EAAW,aAAa,CAAA;AAAA,EACpD,UAAA,EAAY,CAAC,KAAA,KAA4C,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,aAAa,CAAA,CAAE,KAAK;AAC5G,CAAA;AAEO,IAAM,2CAAA,GAA8C,CAAC,GAAA,EAAsB,KAAA,MAAiD;AAAA,EACjI,QAAA,EAAU,CAAC,YAAA,EAAc,SAAA,EAAW,oBAAoB,KAAK,CAAA;AAAA,EAC7D,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,kBAAkB,CAAA,CAAE,KAAK;AACvE,CAAA;AAEO,IAAM,wCAAA,GAA2C,CAAC,GAAA,EAAsB,KAAA,MAA8C;AAAA,EAC3H,QAAA,EAAU,CAAC,YAAA,EAAc,SAAA,EAAW,gBAAgB,KAAK,CAAA;AAAA,EACzD,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,cAAc,CAAA,CAAE,KAAK;AACnE,CAAA;AAEO,IAAM,yCAAA,GAA4C,CAAC,GAAA,EAAsB,KAAA,MAA+C;AAAA,EAC7H,QAAA,EAAU,CAAC,YAAA,EAAc,QAAA,EAAU,mBAAmB,KAAK,CAAA;AAAA,EAC3D,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,QAAQ,CAAA,CAAE,iBAAiB,CAAA,CAAE,KAAK;AACrE,CAAA;AAEO,IAAM,oCAAA,GAAuC,CAAC,GAAA,EAAsB,KAAA,MAA0C;AAAA,EACnH,QAAA,EAAU,CAAC,YAAA,EAAc,QAAA,EAAU,aAAa,KAAK,CAAA;AAAA,EACrD,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,QAAQ,CAAA,CAAE,WAAW,CAAA,CAAE,KAAK;AAC/D,CAAA;AAEO,IAAM,2CAAA,GAA8C,CAAC,GAAA,EAAsB,KAAA,MAAiD;AAAA,EACjI,QAAA,EAAU,CAAC,YAAA,EAAc,WAAA,EAAa,iBAAiB,KAAK,CAAA;AAAA,EAC5D,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,WAAW,CAAA,CAAE,eAAe,CAAA,CAAE,KAAK;AACtE,CAAA;AAEO,IAAM,uCAAA,GAA0C,CAAC,GAAA,EAAsB,KAAA,MAA6C;AAAA,EACzH,QAAA,EAAU,CAAC,YAAA,EAAc,WAAA,EAAa,aAAa,KAAK,CAAA;AAAA,EACxD,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,WAAW,CAAA,CAAE,WAAW,CAAA,CAAE,KAAK;AAClE,CAAA;AAEO,IAAM,yCAAA,GAA4C,CAAC,GAAA,EAAsB,KAAA,MAA+C;AAAA,EAC7H,QAAA,EAAU,CAAC,YAAA,EAAc,WAAA,EAAa,eAAe,KAAK,CAAA;AAAA,EAC1D,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,WAAW,CAAA,CAAE,aAAa,CAAA,CAAE,KAAK;AACpE,CAAA;AAEO,IAAM,oCAAA,GAAuC,CAAC,GAAA,EAAsB,KAAA,MAA0C;AAAA,EACnH,QAAA,EAAU,CAAC,YAAA,EAAc,SAAA,EAAW,YAAY,KAAK,CAAA;AAAA,EACrD,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,UAAU,CAAA,CAAE,KAAK;AAC/D,CAAA","file":"index.cjs","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n PlaygroundAnalyticsOverviewInput,\n PlaygroundAnalyticsOverviewOutput,\n PlaygroundBillingEntitlementsInput,\n PlaygroundBillingEntitlementsOutput,\n PlaygroundBillingRecordUsageInput,\n PlaygroundClickupCreateTaskInput,\n PlaygroundClickupGetLastWebhookInput,\n PlaygroundClickupGetLastWebhookOutput,\n PlaygroundClickupGetOverviewInput,\n PlaygroundClickupGetOverviewOutput,\n PlaygroundGdriveGetLastChangeInput,\n PlaygroundGdriveGetLastChangeOutput,\n PlaygroundGdriveReadFileInput,\n PlaygroundGdriveReadFileOutput,\n PlaygroundGoogleadsReadCustomerInput,\n PlaygroundGoogleadsReadCustomerOutput,\n PlaygroundLifecycleGetStateInput,\n PlaygroundLifecycleGetStateOutput,\n PlaygroundLifecycleListEventsInput,\n PlaygroundLifecycleListEventsOutput,\n PlaygroundWebhookGetLastInput,\n PlaygroundWebhookGetLastOutput,\n} from '../types.gen';\n\nexport const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({\n queryKey: ['playground', 'analytics', 'overview', input] as const,\n queryFn: () => sdk['playground']['analytics']['overview'](input),\n});\n\nexport const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({\n queryKey: ['playground', 'billing', 'entitlements', input] as const,\n queryFn: () => sdk['playground']['billing']['entitlements'](input),\n});\n\nexport const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'billing', 'record-usage'],\n mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),\n});\n\nexport const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'clickup', 'create-task'],\n mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),\n});\n\nexport const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({\n queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),\n});\n\nexport const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({\n queryKey: ['playground', 'clickup', 'get-overview', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-overview'](input),\n});\n\nexport const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({\n queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,\n queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),\n});\n\nexport const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({\n queryKey: ['playground', 'gdrive', 'read-file', input] as const,\n queryFn: () => sdk['playground']['gdrive']['read-file'](input),\n});\n\nexport const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({\n queryKey: ['playground', 'googleads', 'read-customer', input] as const,\n queryFn: () => sdk['playground']['googleads']['read-customer'](input),\n});\n\nexport const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({\n queryKey: ['playground', 'lifecycle', 'get-state', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['get-state'](input),\n});\n\nexport const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({\n queryKey: ['playground', 'lifecycle', 'list-events', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['list-events'](input),\n});\n\nexport const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({\n queryKey: ['playground', 'webhook', 'get-last', input] as const,\n queryFn: () => sdk['playground']['webhook']['get-last'](input),\n});\n"]}