@lessly/sdk-app 58.0.0 → 59.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/_types/gen/brain/index.d.ts +1 -1
- package/dist/_types/gen/brain/queryOptions.gen.d.ts +5 -1
- package/dist/_types/gen/client.gen.d.ts +4 -29
- package/dist/_types/gen/manifest.gen.d.ts +1 -1
- package/dist/_types/gen/types.gen.d.ts +95 -193
- package/dist/brain/index.cjs +5 -0
- package/dist/brain/index.cjs.map +1 -1
- package/dist/brain/index.js +5 -1
- package/dist/brain/index.js.map +1 -1
- package/dist/index.cjs +13 -104
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9018 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -12
- package/src/gen/bindings.gen.ts +14 -113
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +7 -0
- package/src/gen/client.gen.ts +5 -52
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/types.gen.ts +97 -228
- package/dist/_types/gen/playground/connect.gen.d.ts +0 -3
- package/dist/_types/gen/playground/index.d.ts +0 -3
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +0 -50
- package/dist/chunk-4RJR4UQ3.js +0 -9121
- package/dist/chunk-4RJR4UQ3.js.map +0 -1
- package/dist/playground/index.cjs +0 -81
- package/dist/playground/index.cjs.map +0 -1
- package/dist/playground/index.d.cts +0 -1
- package/dist/playground/index.d.ts +0 -1
- package/dist/playground/index.js +0 -58
- package/dist/playground/index.js.map +0 -1
- package/src/gen/playground/connect.gen.ts +0 -9
- package/src/gen/playground/index.ts +0 -4
- package/src/gen/playground/queryOptions.gen.ts +0 -86
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lessly/sdk-app",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "59.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"engines": {
|
|
@@ -125,16 +125,6 @@
|
|
|
125
125
|
"default": "./dist/organization/index.cjs"
|
|
126
126
|
}
|
|
127
127
|
},
|
|
128
|
-
"./playground": {
|
|
129
|
-
"import": {
|
|
130
|
-
"types": "./dist/playground/index.d.ts",
|
|
131
|
-
"default": "./dist/playground/index.js"
|
|
132
|
-
},
|
|
133
|
-
"require": {
|
|
134
|
-
"types": "./dist/playground/index.d.cts",
|
|
135
|
-
"default": "./dist/playground/index.cjs"
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
128
|
"./realtime": {
|
|
139
129
|
"import": {
|
|
140
130
|
"types": "./dist/realtime/index.d.ts",
|
|
@@ -186,5 +176,5 @@
|
|
|
186
176
|
}
|
|
187
177
|
}
|
|
188
178
|
},
|
|
189
|
-
"sdkContentHash": "sha256:
|
|
179
|
+
"sdkContentHash": "sha256:fc58e5854a171da02f43a8d15697d084e9b273f421154581cb89fb0365998714"
|
|
190
180
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -1094,6 +1094,19 @@ export const bindings: BindingsMap = {
|
|
|
1094
1094
|
"path": "/brain/restores/:restoreId",
|
|
1095
1095
|
"readOnly": true
|
|
1096
1096
|
}
|
|
1097
|
+
},
|
|
1098
|
+
"usage": {
|
|
1099
|
+
"report": {
|
|
1100
|
+
"method": "GET",
|
|
1101
|
+
"params": [
|
|
1102
|
+
{
|
|
1103
|
+
"in": "query",
|
|
1104
|
+
"name": "days"
|
|
1105
|
+
}
|
|
1106
|
+
],
|
|
1107
|
+
"path": "/brain/usage/report",
|
|
1108
|
+
"readOnly": true
|
|
1109
|
+
}
|
|
1097
1110
|
}
|
|
1098
1111
|
},
|
|
1099
1112
|
"consent": {
|
|
@@ -6142,110 +6155,6 @@ export const bindings: BindingsMap = {
|
|
|
6142
6155
|
}
|
|
6143
6156
|
}
|
|
6144
6157
|
},
|
|
6145
|
-
"playground": {
|
|
6146
|
-
"analytics": {
|
|
6147
|
-
"overview": {
|
|
6148
|
-
"method": "POST",
|
|
6149
|
-
"params": [
|
|
6150
|
-
{
|
|
6151
|
-
"in": "body",
|
|
6152
|
-
"name": "limit"
|
|
6153
|
-
}
|
|
6154
|
-
],
|
|
6155
|
-
"path": "/playground/analytics/overview",
|
|
6156
|
-
"readOnly": true
|
|
6157
|
-
}
|
|
6158
|
-
},
|
|
6159
|
-
"billing": {
|
|
6160
|
-
"entitlements": {
|
|
6161
|
-
"method": "POST",
|
|
6162
|
-
"path": "/playground/billing/entitlements",
|
|
6163
|
-
"readOnly": true
|
|
6164
|
-
},
|
|
6165
|
-
"record-usage": {
|
|
6166
|
-
"method": "POST",
|
|
6167
|
-
"params": [
|
|
6168
|
-
{
|
|
6169
|
-
"in": "body",
|
|
6170
|
-
"name": "value"
|
|
6171
|
-
}
|
|
6172
|
-
],
|
|
6173
|
-
"path": "/playground/billing/usage",
|
|
6174
|
-
"readOnly": false
|
|
6175
|
-
}
|
|
6176
|
-
},
|
|
6177
|
-
"clickup": {
|
|
6178
|
-
"create-task": {
|
|
6179
|
-
"method": "POST",
|
|
6180
|
-
"params": [
|
|
6181
|
-
{
|
|
6182
|
-
"in": "body",
|
|
6183
|
-
"name": "listId"
|
|
6184
|
-
},
|
|
6185
|
-
{
|
|
6186
|
-
"in": "body",
|
|
6187
|
-
"name": "name"
|
|
6188
|
-
}
|
|
6189
|
-
],
|
|
6190
|
-
"path": "/playground/clickup/tasks",
|
|
6191
|
-
"readOnly": false
|
|
6192
|
-
},
|
|
6193
|
-
"get-last-webhook": {
|
|
6194
|
-
"method": "GET",
|
|
6195
|
-
"path": "/playground/clickup/webhooks/last",
|
|
6196
|
-
"readOnly": true
|
|
6197
|
-
},
|
|
6198
|
-
"get-overview": {
|
|
6199
|
-
"method": "GET",
|
|
6200
|
-
"path": "/playground/clickup/overview",
|
|
6201
|
-
"readOnly": true
|
|
6202
|
-
}
|
|
6203
|
-
},
|
|
6204
|
-
"gdrive": {
|
|
6205
|
-
"get-last-change": {
|
|
6206
|
-
"method": "GET",
|
|
6207
|
-
"path": "/playground/gdrive/changes/last",
|
|
6208
|
-
"readOnly": true
|
|
6209
|
-
},
|
|
6210
|
-
"read-file": {
|
|
6211
|
-
"method": "POST",
|
|
6212
|
-
"params": [
|
|
6213
|
-
{
|
|
6214
|
-
"in": "body",
|
|
6215
|
-
"name": "fileId"
|
|
6216
|
-
}
|
|
6217
|
-
],
|
|
6218
|
-
"path": "/playground/gdrive/file",
|
|
6219
|
-
"readOnly": true
|
|
6220
|
-
}
|
|
6221
|
-
},
|
|
6222
|
-
"googleads": {
|
|
6223
|
-
"read-customer": {
|
|
6224
|
-
"method": "POST",
|
|
6225
|
-
"path": "/playground/googleads/customer",
|
|
6226
|
-
"readOnly": true
|
|
6227
|
-
}
|
|
6228
|
-
},
|
|
6229
|
-
"lifecycle": {
|
|
6230
|
-
"get-state": {
|
|
6231
|
-
"method": "GET",
|
|
6232
|
-
"path": "/playground/lifecycle/state",
|
|
6233
|
-
"readOnly": true
|
|
6234
|
-
},
|
|
6235
|
-
"list-events": {
|
|
6236
|
-
"method": "GET",
|
|
6237
|
-
"path": "/playground/lifecycle/events",
|
|
6238
|
-
"readOnly": true
|
|
6239
|
-
}
|
|
6240
|
-
},
|
|
6241
|
-
"webhook": {
|
|
6242
|
-
"get-last": {
|
|
6243
|
-
"method": "GET",
|
|
6244
|
-
"path": "/playground/webhooks/last",
|
|
6245
|
-
"readOnly": true
|
|
6246
|
-
}
|
|
6247
|
-
}
|
|
6248
|
-
},
|
|
6249
6158
|
"realtime": {
|
|
6250
6159
|
"archive": {
|
|
6251
6160
|
"export": {
|
|
@@ -9109,12 +9018,4 @@ export const bindings: BindingsMap = {
|
|
|
9109
9018
|
}
|
|
9110
9019
|
};
|
|
9111
9020
|
|
|
9112
|
-
export const wsBindings: WsBindingsMap = {
|
|
9113
|
-
"playground": {
|
|
9114
|
-
"ws": {
|
|
9115
|
-
"echo": {
|
|
9116
|
-
"path": "/playground/ws/echo"
|
|
9117
|
-
}
|
|
9118
|
-
}
|
|
9119
|
-
}
|
|
9120
|
-
};
|
|
9021
|
+
export const wsBindings: WsBindingsMap = {};
|
package/src/gen/brain/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
export type { BrainBackupCreateInput, BrainBackupCreateOutput, BrainBackupRestoreInput, BrainBackupRestoreOutput, BrainBackupStatusInput, BrainBackupStatusOutput, BrainBackupsListInput, BrainBackupsListOutput, BrainClickupChannelsListInput, BrainClickupChannelsListOutput, BrainClickupConnectionsListInput, BrainClickupConnectionsListOutput, BrainClickupListsListInput, BrainClickupListsListOutput, BrainClickupSpacesListInput, BrainClickupSpacesListOutput, BrainCognitionDigestInput, BrainCognitionDigestOutput, BrainCognitionStatusInput, BrainCognitionStatusOutput, BrainCognitionSweepInput, BrainCognitionSweepOutput, BrainConnectorBranchesListInput, BrainConnectorBranchesListOutput, BrainConnectorConnectionsListInput, BrainConnectorConnectionsListOutput, BrainConnectorReposListInput, BrainConnectorReposListOutput, BrainDaemonBatchStatusInput, BrainDaemonBatchStatusOutput, BrainDaemonCreateInput, BrainDaemonCreateOutput, BrainDaemonGetInput, BrainDaemonGetOutput, BrainDaemonReingestInput, BrainDaemonReingestOutput, BrainDaemonRemoveInput, BrainDaemonRemoveOutput, BrainDaemonRunInput, BrainDaemonRunItemsInput, BrainDaemonRunItemsOutput, BrainDaemonRunOutput, BrainDaemonRunsInput, BrainDaemonRunsOutput, BrainDaemonStatusInput, BrainDaemonStatusOutput, BrainDaemonUpdateInput, BrainDaemonUpdateOutput, BrainDaemonsListInput, BrainDaemonsListOutput, BrainGdriveConnectionsListInput, BrainGdriveConnectionsListOutput, BrainKnowledgeEntityMemoriesInput, BrainKnowledgeEntityMemoriesOutput, BrainKnowledgeGraphInput, BrainKnowledgeGraphOutput, BrainKnowledgeNeighborhoodInput, BrainKnowledgeNeighborhoodOutput, BrainKnowledgeRelationsInput, BrainKnowledgeRelationsOutput, BrainKnowledgeSearchInput, BrainKnowledgeSearchOutput, BrainMemoryAddInput, BrainMemoryAddOutput, BrainMemoryDeleteInput, BrainMemoryDeleteOutput, BrainMemoryGetInput, BrainMemoryGetOutput, BrainMemoryListInput, BrainMemoryListOutput, BrainMemorySearchInput, BrainMemorySearchOutput, BrainMemoryStatsInput, BrainMemoryStatsOutput, BrainMemoryUpdateInput, BrainMemoryUpdateOutput, BrainProductSharedMemoryResetInput, BrainProductSharedMemoryResetOutput, BrainRestoreStatusInput, BrainRestoreStatusOutput } from '../types.gen';
|
|
3
|
+
export type { BrainBackupCreateInput, BrainBackupCreateOutput, BrainBackupRestoreInput, BrainBackupRestoreOutput, BrainBackupStatusInput, BrainBackupStatusOutput, BrainBackupsListInput, BrainBackupsListOutput, BrainClickupChannelsListInput, BrainClickupChannelsListOutput, BrainClickupConnectionsListInput, BrainClickupConnectionsListOutput, BrainClickupListsListInput, BrainClickupListsListOutput, BrainClickupSpacesListInput, BrainClickupSpacesListOutput, BrainCognitionDigestInput, BrainCognitionDigestOutput, BrainCognitionStatusInput, BrainCognitionStatusOutput, BrainCognitionSweepInput, BrainCognitionSweepOutput, BrainConnectorBranchesListInput, BrainConnectorBranchesListOutput, BrainConnectorConnectionsListInput, BrainConnectorConnectionsListOutput, BrainConnectorReposListInput, BrainConnectorReposListOutput, BrainDaemonBatchStatusInput, BrainDaemonBatchStatusOutput, BrainDaemonCreateInput, BrainDaemonCreateOutput, BrainDaemonGetInput, BrainDaemonGetOutput, BrainDaemonReingestInput, BrainDaemonReingestOutput, BrainDaemonRemoveInput, BrainDaemonRemoveOutput, BrainDaemonRunInput, BrainDaemonRunItemsInput, BrainDaemonRunItemsOutput, BrainDaemonRunOutput, BrainDaemonRunsInput, BrainDaemonRunsOutput, BrainDaemonStatusInput, BrainDaemonStatusOutput, BrainDaemonUpdateInput, BrainDaemonUpdateOutput, BrainDaemonsListInput, BrainDaemonsListOutput, BrainGdriveConnectionsListInput, BrainGdriveConnectionsListOutput, BrainKnowledgeEntityMemoriesInput, BrainKnowledgeEntityMemoriesOutput, BrainKnowledgeGraphInput, BrainKnowledgeGraphOutput, BrainKnowledgeNeighborhoodInput, BrainKnowledgeNeighborhoodOutput, BrainKnowledgeRelationsInput, BrainKnowledgeRelationsOutput, BrainKnowledgeSearchInput, BrainKnowledgeSearchOutput, BrainMemoryAddInput, BrainMemoryAddOutput, BrainMemoryDeleteInput, BrainMemoryDeleteOutput, BrainMemoryGetInput, BrainMemoryGetOutput, BrainMemoryListInput, BrainMemoryListOutput, BrainMemorySearchInput, BrainMemorySearchOutput, BrainMemoryStatsInput, BrainMemoryStatsOutput, BrainMemoryUpdateInput, BrainMemoryUpdateOutput, BrainProductSharedMemoryResetInput, BrainProductSharedMemoryResetOutput, BrainRestoreStatusInput, BrainRestoreStatusOutput, BrainUsageReportInput, BrainUsageReportOutput } from '../types.gen';
|
|
@@ -68,6 +68,8 @@ import type {
|
|
|
68
68
|
BrainProductSharedMemoryResetInput,
|
|
69
69
|
BrainRestoreStatusInput,
|
|
70
70
|
BrainRestoreStatusOutput,
|
|
71
|
+
BrainUsageReportInput,
|
|
72
|
+
BrainUsageReportOutput,
|
|
71
73
|
} from '../types.gen';
|
|
72
74
|
|
|
73
75
|
export const brainBackupCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
@@ -269,3 +271,8 @@ export const brainRestoreStatusQueryOptions = (sdk: GeneratedClient, input: Brai
|
|
|
269
271
|
queryKey: ['brain', 'restore', 'status', input] as const,
|
|
270
272
|
queryFn: () => sdk['brain']['restore']['status'](input),
|
|
271
273
|
});
|
|
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
|
@@ -116,6 +116,8 @@ import type {
|
|
|
116
116
|
BrainProductSharedMemoryResetOutput,
|
|
117
117
|
BrainRestoreStatusInput,
|
|
118
118
|
BrainRestoreStatusOutput,
|
|
119
|
+
BrainUsageReportInput,
|
|
120
|
+
BrainUsageReportOutput,
|
|
119
121
|
ConsentConfigCookieDomainUpsertInput,
|
|
120
122
|
ConsentConfigCookieDomainUpsertOutput,
|
|
121
123
|
ConsentConfigCustomizationUpsertInput,
|
|
@@ -740,30 +742,6 @@ import type {
|
|
|
740
742
|
OrganizationSupportThreadReplyOutput,
|
|
741
743
|
OrganizationSupportThreadsListInput,
|
|
742
744
|
OrganizationSupportThreadsListOutput,
|
|
743
|
-
PlaygroundAnalyticsOverviewInput,
|
|
744
|
-
PlaygroundAnalyticsOverviewOutput,
|
|
745
|
-
PlaygroundBillingEntitlementsInput,
|
|
746
|
-
PlaygroundBillingEntitlementsOutput,
|
|
747
|
-
PlaygroundBillingRecordUsageInput,
|
|
748
|
-
PlaygroundBillingRecordUsageOutput,
|
|
749
|
-
PlaygroundClickupCreateTaskInput,
|
|
750
|
-
PlaygroundClickupCreateTaskOutput,
|
|
751
|
-
PlaygroundClickupGetLastWebhookInput,
|
|
752
|
-
PlaygroundClickupGetLastWebhookOutput,
|
|
753
|
-
PlaygroundClickupGetOverviewInput,
|
|
754
|
-
PlaygroundClickupGetOverviewOutput,
|
|
755
|
-
PlaygroundGdriveGetLastChangeInput,
|
|
756
|
-
PlaygroundGdriveGetLastChangeOutput,
|
|
757
|
-
PlaygroundGdriveReadFileInput,
|
|
758
|
-
PlaygroundGdriveReadFileOutput,
|
|
759
|
-
PlaygroundGoogleadsReadCustomerInput,
|
|
760
|
-
PlaygroundGoogleadsReadCustomerOutput,
|
|
761
|
-
PlaygroundLifecycleGetStateInput,
|
|
762
|
-
PlaygroundLifecycleGetStateOutput,
|
|
763
|
-
PlaygroundLifecycleListEventsInput,
|
|
764
|
-
PlaygroundLifecycleListEventsOutput,
|
|
765
|
-
PlaygroundWebhookGetLastInput,
|
|
766
|
-
PlaygroundWebhookGetLastOutput,
|
|
767
745
|
RealtimeArchiveExportInput,
|
|
768
746
|
RealtimeArchiveExportOutput,
|
|
769
747
|
RealtimeArchiveExportStatusInput,
|
|
@@ -1202,6 +1180,9 @@ export interface GeneratedClient {
|
|
|
1202
1180
|
restore: {
|
|
1203
1181
|
status(input: BrainRestoreStatusInput): Promise<BrainRestoreStatusOutput>;
|
|
1204
1182
|
};
|
|
1183
|
+
usage: {
|
|
1184
|
+
report(input: BrainUsageReportInput): Promise<BrainUsageReportOutput>;
|
|
1185
|
+
};
|
|
1205
1186
|
};
|
|
1206
1187
|
consent: {
|
|
1207
1188
|
'config-cookie-domain': {
|
|
@@ -1747,34 +1728,6 @@ export interface GeneratedClient {
|
|
|
1747
1728
|
list(input: OrganizationSupportThreadsListInput): Promise<OrganizationSupportThreadsListOutput>;
|
|
1748
1729
|
};
|
|
1749
1730
|
};
|
|
1750
|
-
playground: {
|
|
1751
|
-
analytics: {
|
|
1752
|
-
overview(input: PlaygroundAnalyticsOverviewInput): Promise<PlaygroundAnalyticsOverviewOutput>;
|
|
1753
|
-
};
|
|
1754
|
-
billing: {
|
|
1755
|
-
entitlements(input: PlaygroundBillingEntitlementsInput): Promise<PlaygroundBillingEntitlementsOutput>;
|
|
1756
|
-
'record-usage'(input: PlaygroundBillingRecordUsageInput): Promise<PlaygroundBillingRecordUsageOutput>;
|
|
1757
|
-
};
|
|
1758
|
-
clickup: {
|
|
1759
|
-
'create-task'(input: PlaygroundClickupCreateTaskInput): Promise<PlaygroundClickupCreateTaskOutput>;
|
|
1760
|
-
'get-last-webhook'(input: PlaygroundClickupGetLastWebhookInput): Promise<PlaygroundClickupGetLastWebhookOutput>;
|
|
1761
|
-
'get-overview'(input: PlaygroundClickupGetOverviewInput): Promise<PlaygroundClickupGetOverviewOutput>;
|
|
1762
|
-
};
|
|
1763
|
-
gdrive: {
|
|
1764
|
-
'get-last-change'(input: PlaygroundGdriveGetLastChangeInput): Promise<PlaygroundGdriveGetLastChangeOutput>;
|
|
1765
|
-
'read-file'(input: PlaygroundGdriveReadFileInput): Promise<PlaygroundGdriveReadFileOutput>;
|
|
1766
|
-
};
|
|
1767
|
-
googleads: {
|
|
1768
|
-
'read-customer'(input: PlaygroundGoogleadsReadCustomerInput): Promise<PlaygroundGoogleadsReadCustomerOutput>;
|
|
1769
|
-
};
|
|
1770
|
-
lifecycle: {
|
|
1771
|
-
'get-state'(input: PlaygroundLifecycleGetStateInput): Promise<PlaygroundLifecycleGetStateOutput>;
|
|
1772
|
-
'list-events'(input: PlaygroundLifecycleListEventsInput): Promise<PlaygroundLifecycleListEventsOutput>;
|
|
1773
|
-
};
|
|
1774
|
-
webhook: {
|
|
1775
|
-
'get-last'(input: PlaygroundWebhookGetLastInput): Promise<PlaygroundWebhookGetLastOutput>;
|
|
1776
|
-
};
|
|
1777
|
-
};
|
|
1778
1731
|
realtime: {
|
|
1779
1732
|
archive: {
|
|
1780
1733
|
export(input: RealtimeArchiveExportInput): Promise<RealtimeArchiveExportOutput>;
|
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', 'content', 'deployment', 'mail', 'observe', 'organization', '
|
|
2
|
+
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'realtime', 'support', 'tracking', 'users', 'waitlist'] as const;
|
package/src/gen/types.gen.ts
CHANGED
|
@@ -65975,6 +65975,7 @@ skippedUnchanged: number
|
|
|
65975
65975
|
}
|
|
65976
65976
|
|
|
65977
65977
|
export interface BrainDaemonUpdateInput {
|
|
65978
|
+
id: string
|
|
65978
65979
|
name?: (string | null)
|
|
65979
65980
|
model?: (string | null)
|
|
65980
65981
|
branch?: string
|
|
@@ -66539,6 +66540,98 @@ snapshotId: string
|
|
|
66539
66540
|
preRestoreSnapshotId: (string | null)
|
|
66540
66541
|
} | null)
|
|
66541
66542
|
|
|
66543
|
+
export interface BrainUsageReportInput {
|
|
66544
|
+
/**
|
|
66545
|
+
* How many UTC days of this product's ledger to return, ending today (default 30, max 90)
|
|
66546
|
+
*/
|
|
66547
|
+
days?: number
|
|
66548
|
+
}
|
|
66549
|
+
|
|
66550
|
+
export interface BrainUsageReportOutput {
|
|
66551
|
+
note: string
|
|
66552
|
+
/**
|
|
66553
|
+
* Brain's own ledger, for THIS product only
|
|
66554
|
+
*/
|
|
66555
|
+
product: {
|
|
66556
|
+
/**
|
|
66557
|
+
* Inclusive UTC end of the window (today), YYYY-MM-DD
|
|
66558
|
+
*/
|
|
66559
|
+
to: string
|
|
66560
|
+
/**
|
|
66561
|
+
* The window actually used, after clamping
|
|
66562
|
+
*/
|
|
66563
|
+
days: number
|
|
66564
|
+
/**
|
|
66565
|
+
* Inclusive UTC start of the window, YYYY-MM-DD
|
|
66566
|
+
*/
|
|
66567
|
+
from: string
|
|
66568
|
+
rows: {
|
|
66569
|
+
/**
|
|
66570
|
+
* 'sync' | 'batch'; '' when the push carried none
|
|
66571
|
+
*/
|
|
66572
|
+
mode: string
|
|
66573
|
+
/**
|
|
66574
|
+
* Manifest meter slug, e.g. llm-tokens
|
|
66575
|
+
*/
|
|
66576
|
+
meter: string
|
|
66577
|
+
/**
|
|
66578
|
+
* Model dimension; '' when the push carried none
|
|
66579
|
+
*/
|
|
66580
|
+
model: string
|
|
66581
|
+
/**
|
|
66582
|
+
* How many record() calls landed in this slice
|
|
66583
|
+
*/
|
|
66584
|
+
events: number
|
|
66585
|
+
/**
|
|
66586
|
+
* Tokens we metered for this slice, delivered or not
|
|
66587
|
+
*/
|
|
66588
|
+
tokens: number
|
|
66589
|
+
/**
|
|
66590
|
+
* Purpose dimension; '' when the push carried none
|
|
66591
|
+
*/
|
|
66592
|
+
purpose: string
|
|
66593
|
+
/**
|
|
66594
|
+
* UTC calendar day, YYYY-MM-DD
|
|
66595
|
+
*/
|
|
66596
|
+
usage_date: string
|
|
66597
|
+
/**
|
|
66598
|
+
* Of those events, how many billing did not accept
|
|
66599
|
+
*/
|
|
66600
|
+
delivery_failed: number
|
|
66601
|
+
}[]
|
|
66602
|
+
/**
|
|
66603
|
+
* The rows rolled up per meter across the whole window
|
|
66604
|
+
*/
|
|
66605
|
+
totals: {
|
|
66606
|
+
meter: string
|
|
66607
|
+
events: number
|
|
66608
|
+
tokens: number
|
|
66609
|
+
delivery_failed: number
|
|
66610
|
+
}[]
|
|
66611
|
+
product_id: string
|
|
66612
|
+
}
|
|
66613
|
+
/**
|
|
66614
|
+
* The platform billing aggregate for the whole ORG; null if it could not be read
|
|
66615
|
+
*/
|
|
66616
|
+
platform: ({
|
|
66617
|
+
plan: string
|
|
66618
|
+
scope: "org"
|
|
66619
|
+
meters: {
|
|
66620
|
+
unit?: string
|
|
66621
|
+
used?: number
|
|
66622
|
+
limit?: (number | null)
|
|
66623
|
+
remaining?: (number | null)
|
|
66624
|
+
unlimited?: boolean
|
|
66625
|
+
meter_slug: string
|
|
66626
|
+
}[]
|
|
66627
|
+
org_id: string
|
|
66628
|
+
} | null)
|
|
66629
|
+
/**
|
|
66630
|
+
* Why the platform aggregate is null; null when it was read successfully
|
|
66631
|
+
*/
|
|
66632
|
+
platform_error: (string | null)
|
|
66633
|
+
}
|
|
66634
|
+
|
|
66542
66635
|
export interface ConsentConfigCookieDomainUpsertInput {
|
|
66543
66636
|
cookieDomain: ("" | null | string)
|
|
66544
66637
|
}
|
|
@@ -66592,7 +66685,6 @@ dangerColor?: string
|
|
|
66592
66685
|
successColor?: string
|
|
66593
66686
|
warningColor?: string
|
|
66594
66687
|
backgroundColor?: string
|
|
66595
|
-
primaryTextColor?: string
|
|
66596
66688
|
}
|
|
66597
66689
|
brandColor?: string
|
|
66598
66690
|
}
|
|
@@ -78348,6 +78440,10 @@ id: string
|
|
|
78348
78440
|
html: string
|
|
78349
78441
|
name: string
|
|
78350
78442
|
text: (string | null)
|
|
78443
|
+
usage: {
|
|
78444
|
+
email_count: number
|
|
78445
|
+
last_sent_at: (string | null)
|
|
78446
|
+
}
|
|
78351
78447
|
status: string
|
|
78352
78448
|
subject: string
|
|
78353
78449
|
createdAt: string
|
|
@@ -85031,7 +85127,6 @@ displayName: (string | null)
|
|
|
85031
85127
|
orgRoles: {
|
|
85032
85128
|
id: string
|
|
85033
85129
|
name: string
|
|
85034
|
-
description: (string | null)
|
|
85035
85130
|
}[]
|
|
85036
85131
|
canManage: boolean
|
|
85037
85132
|
inherited: {
|
|
@@ -85428,232 +85523,6 @@ lastMessagePreview: (string | null)
|
|
|
85428
85523
|
}[]
|
|
85429
85524
|
}
|
|
85430
85525
|
|
|
85431
|
-
export interface PlaygroundAnalyticsOverviewInput {
|
|
85432
|
-
/**
|
|
85433
|
-
* Max records per entity in recent[]; omit for the endpoint default
|
|
85434
|
-
*/
|
|
85435
|
-
limit?: number
|
|
85436
|
-
}
|
|
85437
|
-
|
|
85438
|
-
export interface PlaygroundAnalyticsOverviewOutput {
|
|
85439
|
-
ok: boolean
|
|
85440
|
-
minted: boolean
|
|
85441
|
-
overview?: unknown
|
|
85442
|
-
http_status: number
|
|
85443
|
-
}
|
|
85444
|
-
|
|
85445
|
-
export interface PlaygroundBillingEntitlementsInput {
|
|
85446
|
-
|
|
85447
|
-
}
|
|
85448
|
-
|
|
85449
|
-
export interface PlaygroundBillingEntitlementsOutput {
|
|
85450
|
-
ok: boolean
|
|
85451
|
-
minted: boolean
|
|
85452
|
-
http_status: number
|
|
85453
|
-
entitlements?: unknown
|
|
85454
|
-
}
|
|
85455
|
-
|
|
85456
|
-
export interface PlaygroundBillingRecordUsageInput {
|
|
85457
|
-
/**
|
|
85458
|
-
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
85459
|
-
*/
|
|
85460
|
-
value?: number
|
|
85461
|
-
}
|
|
85462
|
-
|
|
85463
|
-
export interface PlaygroundBillingRecordUsageOutput {
|
|
85464
|
-
minted: boolean
|
|
85465
|
-
accepted: (number | null)
|
|
85466
|
-
recorded: boolean
|
|
85467
|
-
duplicates: (number | null)
|
|
85468
|
-
http_status: number
|
|
85469
|
-
}
|
|
85470
|
-
|
|
85471
|
-
export interface PlaygroundClickupCreateTaskInput {
|
|
85472
|
-
/**
|
|
85473
|
-
* Task title; defaults to a fixture label
|
|
85474
|
-
*/
|
|
85475
|
-
name?: string
|
|
85476
|
-
/**
|
|
85477
|
-
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
85478
|
-
*/
|
|
85479
|
-
listId?: string
|
|
85480
|
-
}
|
|
85481
|
-
|
|
85482
|
-
export interface PlaygroundClickupCreateTaskOutput {
|
|
85483
|
-
minted: boolean
|
|
85484
|
-
task_id: (string | null)
|
|
85485
|
-
list_status: number
|
|
85486
|
-
vend_status: number
|
|
85487
|
-
clickup_status: number
|
|
85488
|
-
installation_count: number
|
|
85489
|
-
}
|
|
85490
|
-
|
|
85491
|
-
export interface PlaygroundClickupGetLastWebhookInput {
|
|
85492
|
-
|
|
85493
|
-
}
|
|
85494
|
-
|
|
85495
|
-
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
85496
|
-
payload: string
|
|
85497
|
-
event_id: string
|
|
85498
|
-
provider: string
|
|
85499
|
-
verified: boolean
|
|
85500
|
-
product_id: string
|
|
85501
|
-
occurred_at: string
|
|
85502
|
-
connector_id: string
|
|
85503
|
-
clickup_event: (string | null)
|
|
85504
|
-
receipt_count: number
|
|
85505
|
-
} | {
|
|
85506
|
-
found: false
|
|
85507
|
-
})
|
|
85508
|
-
|
|
85509
|
-
export interface PlaygroundClickupGetOverviewInput {
|
|
85510
|
-
|
|
85511
|
-
}
|
|
85512
|
-
|
|
85513
|
-
export interface PlaygroundClickupGetOverviewOutput {
|
|
85514
|
-
team: ({
|
|
85515
|
-
teamId: string
|
|
85516
|
-
teamName: string
|
|
85517
|
-
} | null)
|
|
85518
|
-
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
85519
|
-
tasks: {
|
|
85520
|
-
id: string
|
|
85521
|
-
name: string
|
|
85522
|
-
status: (string | null)
|
|
85523
|
-
}[]
|
|
85524
|
-
minted: boolean
|
|
85525
|
-
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
85526
|
-
list_status: number
|
|
85527
|
-
vend_status: number
|
|
85528
|
-
lists_status: number
|
|
85529
|
-
tasks_status: number
|
|
85530
|
-
spaces_status: number
|
|
85531
|
-
folders_status: number
|
|
85532
|
-
installation_count: number
|
|
85533
|
-
}
|
|
85534
|
-
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
85535
|
-
id: string
|
|
85536
|
-
name: string
|
|
85537
|
-
}
|
|
85538
|
-
|
|
85539
|
-
export interface PlaygroundGdriveGetLastChangeInput {
|
|
85540
|
-
|
|
85541
|
-
}
|
|
85542
|
-
|
|
85543
|
-
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
85544
|
-
file_id: string
|
|
85545
|
-
removed: boolean
|
|
85546
|
-
file_name: (string | null)
|
|
85547
|
-
mime_type: (string | null)
|
|
85548
|
-
product_id: string
|
|
85549
|
-
occurred_at: string
|
|
85550
|
-
connector_id: string
|
|
85551
|
-
resource_state: string
|
|
85552
|
-
} | {
|
|
85553
|
-
found: false
|
|
85554
|
-
})
|
|
85555
|
-
|
|
85556
|
-
export interface PlaygroundGdriveReadFileInput {
|
|
85557
|
-
/**
|
|
85558
|
-
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
85559
|
-
*/
|
|
85560
|
-
fileId?: string
|
|
85561
|
-
}
|
|
85562
|
-
|
|
85563
|
-
export interface PlaygroundGdriveReadFileOutput {
|
|
85564
|
-
minted: boolean
|
|
85565
|
-
file_id: (string | null)
|
|
85566
|
-
file_name: (string | null)
|
|
85567
|
-
mime_type: (string | null)
|
|
85568
|
-
file_count: number
|
|
85569
|
-
get_status: number
|
|
85570
|
-
list_status: number
|
|
85571
|
-
vend_status: number
|
|
85572
|
-
content_bytes: (number | null)
|
|
85573
|
-
}
|
|
85574
|
-
|
|
85575
|
-
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
85576
|
-
|
|
85577
|
-
}
|
|
85578
|
-
|
|
85579
|
-
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
85580
|
-
minted: boolean
|
|
85581
|
-
vended: boolean
|
|
85582
|
-
customer_id: (string | null)
|
|
85583
|
-
vend_status: number
|
|
85584
|
-
result_count: number
|
|
85585
|
-
search_status: number
|
|
85586
|
-
login_customer_id: (string | null)
|
|
85587
|
-
}
|
|
85588
|
-
|
|
85589
|
-
export interface PlaygroundLifecycleGetStateInput {
|
|
85590
|
-
|
|
85591
|
-
}
|
|
85592
|
-
|
|
85593
|
-
export interface PlaygroundLifecycleGetStateOutput {
|
|
85594
|
-
blocked: boolean
|
|
85595
|
-
archived: boolean
|
|
85596
|
-
productId: string
|
|
85597
|
-
lastBlockTransition: ({
|
|
85598
|
-
eventId: string
|
|
85599
|
-
eventName: string
|
|
85600
|
-
productId: string
|
|
85601
|
-
occurredAt: string
|
|
85602
|
-
recordedAt: string
|
|
85603
|
-
receiptCount: number
|
|
85604
|
-
organizationId: string
|
|
85605
|
-
cascadedFromOrg: boolean
|
|
85606
|
-
} | null)
|
|
85607
|
-
lastArchiveTransition: ({
|
|
85608
|
-
eventId: string
|
|
85609
|
-
eventName: string
|
|
85610
|
-
productId: string
|
|
85611
|
-
occurredAt: string
|
|
85612
|
-
recordedAt: string
|
|
85613
|
-
receiptCount: number
|
|
85614
|
-
organizationId: string
|
|
85615
|
-
cascadedFromOrg: boolean
|
|
85616
|
-
} | null)
|
|
85617
|
-
}
|
|
85618
|
-
|
|
85619
|
-
export interface PlaygroundLifecycleListEventsInput {
|
|
85620
|
-
|
|
85621
|
-
}
|
|
85622
|
-
|
|
85623
|
-
export type PlaygroundLifecycleListEventsOutput = {
|
|
85624
|
-
eventId: string
|
|
85625
|
-
eventName: string
|
|
85626
|
-
productId: string
|
|
85627
|
-
occurredAt: string
|
|
85628
|
-
recordedAt: string
|
|
85629
|
-
receiptCount: number
|
|
85630
|
-
organizationId: string
|
|
85631
|
-
cascadedFromOrg: boolean
|
|
85632
|
-
}[]
|
|
85633
|
-
|
|
85634
|
-
export interface PlaygroundWebhookGetLastInput {
|
|
85635
|
-
|
|
85636
|
-
}
|
|
85637
|
-
|
|
85638
|
-
export type PlaygroundWebhookGetLastOutput = ({
|
|
85639
|
-
payload?: unknown
|
|
85640
|
-
event_id: string
|
|
85641
|
-
provider: string
|
|
85642
|
-
verified: boolean
|
|
85643
|
-
product_id: string
|
|
85644
|
-
occurred_at: string
|
|
85645
|
-
connector_id: string
|
|
85646
|
-
delivery_count: number
|
|
85647
|
-
} | {
|
|
85648
|
-
found: false
|
|
85649
|
-
})
|
|
85650
|
-
|
|
85651
|
-
export interface PlaygroundWsEchoInput {
|
|
85652
|
-
|
|
85653
|
-
}
|
|
85654
|
-
|
|
85655
|
-
export type PlaygroundWsEchoOutput = unknown;
|
|
85656
|
-
|
|
85657
85526
|
export interface RealtimeArchiveExportInput {
|
|
85658
85527
|
/**
|
|
85659
85528
|
* Only entries with ts <= to_ts (epoch ms)
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './queryOptions.gen.js';
|
|
2
|
-
export * from './connect.gen.js';
|
|
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, PlaygroundWsEchoInput } from '../types.gen.js';
|