@lessly/sdk-app 40.0.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-wYeMoSpE.d.cts → client.gen-CMLEyXO3.d.cts} +322 -95
- package/dist/{client.gen-wYeMoSpE.d.ts → client.gen-CMLEyXO3.d.ts} +322 -95
- 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 +140 -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 +140 -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 +140 -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 +325 -93
- package/src/gen/users/index.ts +1 -1
- package/src/gen/users/queryOptions.gen.ts +13 -0
|
@@ -68,8 +68,6 @@ import type {
|
|
|
68
68
|
BrainProductSharedMemoryResetInput,
|
|
69
69
|
BrainRestoreStatusInput,
|
|
70
70
|
BrainRestoreStatusOutput,
|
|
71
|
-
BrainUsageReportInput,
|
|
72
|
-
BrainUsageReportOutput,
|
|
73
71
|
} from '../types.gen';
|
|
74
72
|
|
|
75
73
|
export const brainBackupCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
@@ -271,8 +269,3 @@ export const brainRestoreStatusQueryOptions = (sdk: GeneratedClient, input: Brai
|
|
|
271
269
|
queryKey: ['brain', 'restore', 'status', input] as const,
|
|
272
270
|
queryFn: () => sdk['brain']['restore']['status'](input),
|
|
273
271
|
});
|
|
274
|
-
|
|
275
|
-
export const brainUsageReportQueryOptions = (sdk: GeneratedClient, input: BrainUsageReportInput) => ({
|
|
276
|
-
queryKey: ['brain', 'usage', 'report', input] as const,
|
|
277
|
-
queryFn: () => sdk['brain']['usage']['report'](input),
|
|
278
|
-
});
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -82,8 +82,6 @@ import type {
|
|
|
82
82
|
BrainProductSharedMemoryResetOutput,
|
|
83
83
|
BrainRestoreStatusInput,
|
|
84
84
|
BrainRestoreStatusOutput,
|
|
85
|
-
BrainUsageReportInput,
|
|
86
|
-
BrainUsageReportOutput,
|
|
87
85
|
ConsentConfigCookieDomainUpsertInput,
|
|
88
86
|
ConsentConfigCookieDomainUpsertOutput,
|
|
89
87
|
ConsentConfigCustomizationUpsertInput,
|
|
@@ -632,6 +630,30 @@ import type {
|
|
|
632
630
|
OrganizationSupportThreadReplyOutput,
|
|
633
631
|
OrganizationSupportThreadsListInput,
|
|
634
632
|
OrganizationSupportThreadsListOutput,
|
|
633
|
+
PlaygroundAnalyticsOverviewInput,
|
|
634
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
635
|
+
PlaygroundBillingEntitlementsInput,
|
|
636
|
+
PlaygroundBillingEntitlementsOutput,
|
|
637
|
+
PlaygroundBillingRecordUsageInput,
|
|
638
|
+
PlaygroundBillingRecordUsageOutput,
|
|
639
|
+
PlaygroundClickupCreateTaskInput,
|
|
640
|
+
PlaygroundClickupCreateTaskOutput,
|
|
641
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
642
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
643
|
+
PlaygroundClickupGetOverviewInput,
|
|
644
|
+
PlaygroundClickupGetOverviewOutput,
|
|
645
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
646
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
647
|
+
PlaygroundGdriveReadFileInput,
|
|
648
|
+
PlaygroundGdriveReadFileOutput,
|
|
649
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
650
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
651
|
+
PlaygroundLifecycleGetStateInput,
|
|
652
|
+
PlaygroundLifecycleGetStateOutput,
|
|
653
|
+
PlaygroundLifecycleListEventsInput,
|
|
654
|
+
PlaygroundLifecycleListEventsOutput,
|
|
655
|
+
PlaygroundWebhookGetLastInput,
|
|
656
|
+
PlaygroundWebhookGetLastOutput,
|
|
635
657
|
RealtimeArchiveExportInput,
|
|
636
658
|
RealtimeArchiveExportOutput,
|
|
637
659
|
RealtimeArchiveExportStatusInput,
|
|
@@ -874,6 +896,10 @@ import type {
|
|
|
874
896
|
UsersOpsRetentionGetOutput,
|
|
875
897
|
UsersOpsSloGetInput,
|
|
876
898
|
UsersOpsSloGetOutput,
|
|
899
|
+
UsersPasskeysListInput,
|
|
900
|
+
UsersPasskeysListOutput,
|
|
901
|
+
UsersPasskeysRevokeInput,
|
|
902
|
+
UsersPasskeysRevokeOutput,
|
|
877
903
|
UsersSessionsGetInput,
|
|
878
904
|
UsersSessionsGetOutput,
|
|
879
905
|
UsersSessionsImpersonateInput,
|
|
@@ -1035,9 +1061,6 @@ export interface GeneratedClient {
|
|
|
1035
1061
|
restore: {
|
|
1036
1062
|
status(input: BrainRestoreStatusInput): Promise<BrainRestoreStatusOutput>;
|
|
1037
1063
|
};
|
|
1038
|
-
usage: {
|
|
1039
|
-
report(input: BrainUsageReportInput): Promise<BrainUsageReportOutput>;
|
|
1040
|
-
};
|
|
1041
1064
|
};
|
|
1042
1065
|
consent: {
|
|
1043
1066
|
'config-cookie-domain': {
|
|
@@ -1519,6 +1542,34 @@ export interface GeneratedClient {
|
|
|
1519
1542
|
list(input: OrganizationSupportThreadsListInput): Promise<OrganizationSupportThreadsListOutput>;
|
|
1520
1543
|
};
|
|
1521
1544
|
};
|
|
1545
|
+
playground: {
|
|
1546
|
+
analytics: {
|
|
1547
|
+
overview(input: PlaygroundAnalyticsOverviewInput): Promise<PlaygroundAnalyticsOverviewOutput>;
|
|
1548
|
+
};
|
|
1549
|
+
billing: {
|
|
1550
|
+
entitlements(input: PlaygroundBillingEntitlementsInput): Promise<PlaygroundBillingEntitlementsOutput>;
|
|
1551
|
+
'record-usage'(input: PlaygroundBillingRecordUsageInput): Promise<PlaygroundBillingRecordUsageOutput>;
|
|
1552
|
+
};
|
|
1553
|
+
clickup: {
|
|
1554
|
+
'create-task'(input: PlaygroundClickupCreateTaskInput): Promise<PlaygroundClickupCreateTaskOutput>;
|
|
1555
|
+
'get-last-webhook'(input: PlaygroundClickupGetLastWebhookInput): Promise<PlaygroundClickupGetLastWebhookOutput>;
|
|
1556
|
+
'get-overview'(input: PlaygroundClickupGetOverviewInput): Promise<PlaygroundClickupGetOverviewOutput>;
|
|
1557
|
+
};
|
|
1558
|
+
gdrive: {
|
|
1559
|
+
'get-last-change'(input: PlaygroundGdriveGetLastChangeInput): Promise<PlaygroundGdriveGetLastChangeOutput>;
|
|
1560
|
+
'read-file'(input: PlaygroundGdriveReadFileInput): Promise<PlaygroundGdriveReadFileOutput>;
|
|
1561
|
+
};
|
|
1562
|
+
googleads: {
|
|
1563
|
+
'read-customer'(input: PlaygroundGoogleadsReadCustomerInput): Promise<PlaygroundGoogleadsReadCustomerOutput>;
|
|
1564
|
+
};
|
|
1565
|
+
lifecycle: {
|
|
1566
|
+
'get-state'(input: PlaygroundLifecycleGetStateInput): Promise<PlaygroundLifecycleGetStateOutput>;
|
|
1567
|
+
'list-events'(input: PlaygroundLifecycleListEventsInput): Promise<PlaygroundLifecycleListEventsOutput>;
|
|
1568
|
+
};
|
|
1569
|
+
webhook: {
|
|
1570
|
+
'get-last'(input: PlaygroundWebhookGetLastInput): Promise<PlaygroundWebhookGetLastOutput>;
|
|
1571
|
+
};
|
|
1572
|
+
};
|
|
1522
1573
|
realtime: {
|
|
1523
1574
|
archive: {
|
|
1524
1575
|
export(input: RealtimeArchiveExportInput): Promise<RealtimeArchiveExportOutput>;
|
|
@@ -1753,6 +1804,10 @@ export interface GeneratedClient {
|
|
|
1753
1804
|
'ops-slo': {
|
|
1754
1805
|
get(input: UsersOpsSloGetInput): Promise<UsersOpsSloGetOutput>;
|
|
1755
1806
|
};
|
|
1807
|
+
passkeys: {
|
|
1808
|
+
list(input: UsersPasskeysListInput): Promise<UsersPasskeysListOutput>;
|
|
1809
|
+
revoke(input: UsersPasskeysRevokeInput): Promise<UsersPasskeysRevokeOutput>;
|
|
1810
|
+
};
|
|
1756
1811
|
sessions: {
|
|
1757
1812
|
get(input: UsersSessionsGetInput): Promise<UsersSessionsGetOutput>;
|
|
1758
1813
|
impersonate(input: UsersSessionsImpersonateInput): Promise<UsersSessionsImpersonateOutput>;
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
-
export const namespaces = ['analytics', 'brain', 'consent', 'deployment', 'mail', 'observe', 'organization', 'realtime', 'support', 'tracking', 'users', 'waitlist'] as const;
|
|
2
|
+
export const namespaces = ['analytics', 'brain', 'consent', 'deployment', 'mail', 'observe', 'organization', 'playground', 'realtime', 'support', 'tracking', 'users', 'waitlist'] as const;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
export * from './queryOptions.gen';
|
|
3
|
+
export type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput } from '../types.gen';
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import type { GeneratedClient } from '../client.gen';
|
|
3
|
+
import type {
|
|
4
|
+
PlaygroundAnalyticsOverviewInput,
|
|
5
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
6
|
+
PlaygroundBillingEntitlementsInput,
|
|
7
|
+
PlaygroundBillingEntitlementsOutput,
|
|
8
|
+
PlaygroundBillingRecordUsageInput,
|
|
9
|
+
PlaygroundClickupCreateTaskInput,
|
|
10
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
11
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
12
|
+
PlaygroundClickupGetOverviewInput,
|
|
13
|
+
PlaygroundClickupGetOverviewOutput,
|
|
14
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
15
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
16
|
+
PlaygroundGdriveReadFileInput,
|
|
17
|
+
PlaygroundGdriveReadFileOutput,
|
|
18
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
19
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
20
|
+
PlaygroundLifecycleGetStateInput,
|
|
21
|
+
PlaygroundLifecycleGetStateOutput,
|
|
22
|
+
PlaygroundLifecycleListEventsInput,
|
|
23
|
+
PlaygroundLifecycleListEventsOutput,
|
|
24
|
+
PlaygroundWebhookGetLastInput,
|
|
25
|
+
PlaygroundWebhookGetLastOutput,
|
|
26
|
+
} from '../types.gen';
|
|
27
|
+
|
|
28
|
+
export const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({
|
|
29
|
+
queryKey: ['playground', 'analytics', 'overview', input] as const,
|
|
30
|
+
queryFn: () => sdk['playground']['analytics']['overview'](input),
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({
|
|
34
|
+
queryKey: ['playground', 'billing', 'entitlements', input] as const,
|
|
35
|
+
queryFn: () => sdk['playground']['billing']['entitlements'](input),
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({
|
|
39
|
+
mutationKey: ['playground', 'billing', 'record-usage'],
|
|
40
|
+
mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
export const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({
|
|
44
|
+
mutationKey: ['playground', 'clickup', 'create-task'],
|
|
45
|
+
mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
export const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({
|
|
49
|
+
queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,
|
|
50
|
+
queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
export const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({
|
|
54
|
+
queryKey: ['playground', 'clickup', 'get-overview', input] as const,
|
|
55
|
+
queryFn: () => sdk['playground']['clickup']['get-overview'](input),
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
export const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({
|
|
59
|
+
queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,
|
|
60
|
+
queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
export const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({
|
|
64
|
+
queryKey: ['playground', 'gdrive', 'read-file', input] as const,
|
|
65
|
+
queryFn: () => sdk['playground']['gdrive']['read-file'](input),
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
export const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({
|
|
69
|
+
queryKey: ['playground', 'googleads', 'read-customer', input] as const,
|
|
70
|
+
queryFn: () => sdk['playground']['googleads']['read-customer'](input),
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
export const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({
|
|
74
|
+
queryKey: ['playground', 'lifecycle', 'get-state', input] as const,
|
|
75
|
+
queryFn: () => sdk['playground']['lifecycle']['get-state'](input),
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
export const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({
|
|
79
|
+
queryKey: ['playground', 'lifecycle', 'list-events', input] as const,
|
|
80
|
+
queryFn: () => sdk['playground']['lifecycle']['list-events'](input),
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
export const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({
|
|
84
|
+
queryKey: ['playground', 'webhook', 'get-last', input] as const,
|
|
85
|
+
queryFn: () => sdk['playground']['webhook']['get-last'](input),
|
|
86
|
+
});
|
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
|
}
|
|
@@ -15053,6 +14961,7 @@ displayName: (string | null)
|
|
|
15053
14961
|
orgRoles: {
|
|
15054
14962
|
id: string
|
|
15055
14963
|
name: string
|
|
14964
|
+
description: (string | null)
|
|
15056
14965
|
}[]
|
|
15057
14966
|
canManage: boolean
|
|
15058
14967
|
inherited: {
|
|
@@ -15449,6 +15358,226 @@ lastMessagePreview: (string | null)
|
|
|
15449
15358
|
}[]
|
|
15450
15359
|
}
|
|
15451
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
|
+
|
|
15452
15581
|
export interface RealtimeArchiveExportInput {
|
|
15453
15582
|
/**
|
|
15454
15583
|
* Only entries with ts <= to_ts (epoch ms)
|
|
@@ -37660,6 +37789,24 @@ siteKey: (string | null)
|
|
|
37660
37789
|
provider: "turnstile"
|
|
37661
37790
|
riskElevated: boolean
|
|
37662
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
|
+
}
|
|
37663
37810
|
recovery: {
|
|
37664
37811
|
/**
|
|
37665
37812
|
* Offer the password-recovery flow at all. Default true.
|
|
@@ -37971,6 +38118,27 @@ secretKey?: (string | null)
|
|
|
37971
38118
|
*/
|
|
37972
38119
|
riskElevated?: boolean
|
|
37973
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
|
+
}
|
|
37974
38142
|
/**
|
|
37975
38143
|
* Password-recovery settings (whether it is offered, how long a reset link lives). Merged field-by-field.
|
|
37976
38144
|
*/
|
|
@@ -38299,6 +38467,24 @@ siteKey: (string | null)
|
|
|
38299
38467
|
provider: "turnstile"
|
|
38300
38468
|
riskElevated: boolean
|
|
38301
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
|
+
}
|
|
38302
38488
|
recovery: {
|
|
38303
38489
|
/**
|
|
38304
38490
|
* Offer the password-recovery flow at all. Default true.
|
|
@@ -38491,7 +38677,7 @@ userId: string
|
|
|
38491
38677
|
|
|
38492
38678
|
export interface UsersFactorsListOutput {
|
|
38493
38679
|
factors: {
|
|
38494
|
-
type: ("totp" | "backup_codes")
|
|
38680
|
+
type: ("totp" | "backup_codes" | "webauthn")
|
|
38495
38681
|
status: ("unverified" | "verified")
|
|
38496
38682
|
createdAt: string
|
|
38497
38683
|
remaining: (number | null)
|
|
@@ -38808,6 +38994,52 @@ signInFailureBaseline: (number | null)
|
|
|
38808
38994
|
}
|
|
38809
38995
|
}
|
|
38810
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
|
+
|
|
38811
39043
|
export interface UsersSessionsGetInput {
|
|
38812
39044
|
/**
|
|
38813
39045
|
* The session to read.
|