@lessly/sdk-app 55.0.0 → 57.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 +90 -192
- 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 +92 -227
- 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": "57.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:d57a47ead3a9281461679fa95a184e7bb82cecb224f333adf1376d42749ff149"
|
|
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
|
@@ -66539,6 +66539,98 @@ snapshotId: string
|
|
|
66539
66539
|
preRestoreSnapshotId: (string | null)
|
|
66540
66540
|
} | null)
|
|
66541
66541
|
|
|
66542
|
+
export interface BrainUsageReportInput {
|
|
66543
|
+
/**
|
|
66544
|
+
* How many UTC days of this product's ledger to return, ending today (default 30, max 90)
|
|
66545
|
+
*/
|
|
66546
|
+
days?: number
|
|
66547
|
+
}
|
|
66548
|
+
|
|
66549
|
+
export interface BrainUsageReportOutput {
|
|
66550
|
+
note: string
|
|
66551
|
+
/**
|
|
66552
|
+
* Brain's own ledger, for THIS product only
|
|
66553
|
+
*/
|
|
66554
|
+
product: {
|
|
66555
|
+
/**
|
|
66556
|
+
* Inclusive UTC end of the window (today), YYYY-MM-DD
|
|
66557
|
+
*/
|
|
66558
|
+
to: string
|
|
66559
|
+
/**
|
|
66560
|
+
* The window actually used, after clamping
|
|
66561
|
+
*/
|
|
66562
|
+
days: number
|
|
66563
|
+
/**
|
|
66564
|
+
* Inclusive UTC start of the window, YYYY-MM-DD
|
|
66565
|
+
*/
|
|
66566
|
+
from: string
|
|
66567
|
+
rows: {
|
|
66568
|
+
/**
|
|
66569
|
+
* 'sync' | 'batch'; '' when the push carried none
|
|
66570
|
+
*/
|
|
66571
|
+
mode: string
|
|
66572
|
+
/**
|
|
66573
|
+
* Manifest meter slug, e.g. llm-tokens
|
|
66574
|
+
*/
|
|
66575
|
+
meter: string
|
|
66576
|
+
/**
|
|
66577
|
+
* Model dimension; '' when the push carried none
|
|
66578
|
+
*/
|
|
66579
|
+
model: string
|
|
66580
|
+
/**
|
|
66581
|
+
* How many record() calls landed in this slice
|
|
66582
|
+
*/
|
|
66583
|
+
events: number
|
|
66584
|
+
/**
|
|
66585
|
+
* Tokens we metered for this slice, delivered or not
|
|
66586
|
+
*/
|
|
66587
|
+
tokens: number
|
|
66588
|
+
/**
|
|
66589
|
+
* Purpose dimension; '' when the push carried none
|
|
66590
|
+
*/
|
|
66591
|
+
purpose: string
|
|
66592
|
+
/**
|
|
66593
|
+
* UTC calendar day, YYYY-MM-DD
|
|
66594
|
+
*/
|
|
66595
|
+
usage_date: string
|
|
66596
|
+
/**
|
|
66597
|
+
* Of those events, how many billing did not accept
|
|
66598
|
+
*/
|
|
66599
|
+
delivery_failed: number
|
|
66600
|
+
}[]
|
|
66601
|
+
/**
|
|
66602
|
+
* The rows rolled up per meter across the whole window
|
|
66603
|
+
*/
|
|
66604
|
+
totals: {
|
|
66605
|
+
meter: string
|
|
66606
|
+
events: number
|
|
66607
|
+
tokens: number
|
|
66608
|
+
delivery_failed: number
|
|
66609
|
+
}[]
|
|
66610
|
+
product_id: string
|
|
66611
|
+
}
|
|
66612
|
+
/**
|
|
66613
|
+
* The platform billing aggregate for the whole ORG; null if it could not be read
|
|
66614
|
+
*/
|
|
66615
|
+
platform: ({
|
|
66616
|
+
plan: string
|
|
66617
|
+
scope: "org"
|
|
66618
|
+
meters: {
|
|
66619
|
+
unit?: string
|
|
66620
|
+
used?: number
|
|
66621
|
+
limit?: (number | null)
|
|
66622
|
+
remaining?: (number | null)
|
|
66623
|
+
unlimited?: boolean
|
|
66624
|
+
meter_slug: string
|
|
66625
|
+
}[]
|
|
66626
|
+
org_id: string
|
|
66627
|
+
} | null)
|
|
66628
|
+
/**
|
|
66629
|
+
* Why the platform aggregate is null; null when it was read successfully
|
|
66630
|
+
*/
|
|
66631
|
+
platform_error: (string | null)
|
|
66632
|
+
}
|
|
66633
|
+
|
|
66542
66634
|
export interface ConsentConfigCookieDomainUpsertInput {
|
|
66543
66635
|
cookieDomain: ("" | null | string)
|
|
66544
66636
|
}
|
|
@@ -85030,7 +85122,6 @@ displayName: (string | null)
|
|
|
85030
85122
|
orgRoles: {
|
|
85031
85123
|
id: string
|
|
85032
85124
|
name: string
|
|
85033
|
-
description: (string | null)
|
|
85034
85125
|
}[]
|
|
85035
85126
|
canManage: boolean
|
|
85036
85127
|
inherited: {
|
|
@@ -85427,232 +85518,6 @@ lastMessagePreview: (string | null)
|
|
|
85427
85518
|
}[]
|
|
85428
85519
|
}
|
|
85429
85520
|
|
|
85430
|
-
export interface PlaygroundAnalyticsOverviewInput {
|
|
85431
|
-
/**
|
|
85432
|
-
* Max records per entity in recent[]; omit for the endpoint default
|
|
85433
|
-
*/
|
|
85434
|
-
limit?: number
|
|
85435
|
-
}
|
|
85436
|
-
|
|
85437
|
-
export interface PlaygroundAnalyticsOverviewOutput {
|
|
85438
|
-
ok: boolean
|
|
85439
|
-
minted: boolean
|
|
85440
|
-
overview?: unknown
|
|
85441
|
-
http_status: number
|
|
85442
|
-
}
|
|
85443
|
-
|
|
85444
|
-
export interface PlaygroundBillingEntitlementsInput {
|
|
85445
|
-
|
|
85446
|
-
}
|
|
85447
|
-
|
|
85448
|
-
export interface PlaygroundBillingEntitlementsOutput {
|
|
85449
|
-
ok: boolean
|
|
85450
|
-
minted: boolean
|
|
85451
|
-
http_status: number
|
|
85452
|
-
entitlements?: unknown
|
|
85453
|
-
}
|
|
85454
|
-
|
|
85455
|
-
export interface PlaygroundBillingRecordUsageInput {
|
|
85456
|
-
/**
|
|
85457
|
-
* Quantity of events to record against playground-events (SUM); defaults to 1
|
|
85458
|
-
*/
|
|
85459
|
-
value?: number
|
|
85460
|
-
}
|
|
85461
|
-
|
|
85462
|
-
export interface PlaygroundBillingRecordUsageOutput {
|
|
85463
|
-
minted: boolean
|
|
85464
|
-
accepted: (number | null)
|
|
85465
|
-
recorded: boolean
|
|
85466
|
-
duplicates: (number | null)
|
|
85467
|
-
http_status: number
|
|
85468
|
-
}
|
|
85469
|
-
|
|
85470
|
-
export interface PlaygroundClickupCreateTaskInput {
|
|
85471
|
-
/**
|
|
85472
|
-
* Task title; defaults to a fixture label
|
|
85473
|
-
*/
|
|
85474
|
-
name?: string
|
|
85475
|
-
/**
|
|
85476
|
-
* ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
|
|
85477
|
-
*/
|
|
85478
|
-
listId?: string
|
|
85479
|
-
}
|
|
85480
|
-
|
|
85481
|
-
export interface PlaygroundClickupCreateTaskOutput {
|
|
85482
|
-
minted: boolean
|
|
85483
|
-
task_id: (string | null)
|
|
85484
|
-
list_status: number
|
|
85485
|
-
vend_status: number
|
|
85486
|
-
clickup_status: number
|
|
85487
|
-
installation_count: number
|
|
85488
|
-
}
|
|
85489
|
-
|
|
85490
|
-
export interface PlaygroundClickupGetLastWebhookInput {
|
|
85491
|
-
|
|
85492
|
-
}
|
|
85493
|
-
|
|
85494
|
-
export type PlaygroundClickupGetLastWebhookOutput = ({
|
|
85495
|
-
payload: string
|
|
85496
|
-
event_id: string
|
|
85497
|
-
provider: string
|
|
85498
|
-
verified: boolean
|
|
85499
|
-
product_id: string
|
|
85500
|
-
occurred_at: string
|
|
85501
|
-
connector_id: string
|
|
85502
|
-
clickup_event: (string | null)
|
|
85503
|
-
receipt_count: number
|
|
85504
|
-
} | {
|
|
85505
|
-
found: false
|
|
85506
|
-
})
|
|
85507
|
-
|
|
85508
|
-
export interface PlaygroundClickupGetOverviewInput {
|
|
85509
|
-
|
|
85510
|
-
}
|
|
85511
|
-
|
|
85512
|
-
export interface PlaygroundClickupGetOverviewOutput {
|
|
85513
|
-
team: ({
|
|
85514
|
-
teamId: string
|
|
85515
|
-
teamName: string
|
|
85516
|
-
} | null)
|
|
85517
|
-
lists: PlaygroundClickupGetOverviewOutputItems[]
|
|
85518
|
-
tasks: {
|
|
85519
|
-
id: string
|
|
85520
|
-
name: string
|
|
85521
|
-
status: (string | null)
|
|
85522
|
-
}[]
|
|
85523
|
-
minted: boolean
|
|
85524
|
-
spaces: PlaygroundClickupGetOverviewOutputItems[]
|
|
85525
|
-
list_status: number
|
|
85526
|
-
vend_status: number
|
|
85527
|
-
lists_status: number
|
|
85528
|
-
tasks_status: number
|
|
85529
|
-
spaces_status: number
|
|
85530
|
-
folders_status: number
|
|
85531
|
-
installation_count: number
|
|
85532
|
-
}
|
|
85533
|
-
export interface PlaygroundClickupGetOverviewOutputItems {
|
|
85534
|
-
id: string
|
|
85535
|
-
name: string
|
|
85536
|
-
}
|
|
85537
|
-
|
|
85538
|
-
export interface PlaygroundGdriveGetLastChangeInput {
|
|
85539
|
-
|
|
85540
|
-
}
|
|
85541
|
-
|
|
85542
|
-
export type PlaygroundGdriveGetLastChangeOutput = ({
|
|
85543
|
-
file_id: string
|
|
85544
|
-
removed: boolean
|
|
85545
|
-
file_name: (string | null)
|
|
85546
|
-
mime_type: (string | null)
|
|
85547
|
-
product_id: string
|
|
85548
|
-
occurred_at: string
|
|
85549
|
-
connector_id: string
|
|
85550
|
-
resource_state: string
|
|
85551
|
-
} | {
|
|
85552
|
-
found: false
|
|
85553
|
-
})
|
|
85554
|
-
|
|
85555
|
-
export interface PlaygroundGdriveReadFileInput {
|
|
85556
|
-
/**
|
|
85557
|
-
* Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
|
|
85558
|
-
*/
|
|
85559
|
-
fileId?: string
|
|
85560
|
-
}
|
|
85561
|
-
|
|
85562
|
-
export interface PlaygroundGdriveReadFileOutput {
|
|
85563
|
-
minted: boolean
|
|
85564
|
-
file_id: (string | null)
|
|
85565
|
-
file_name: (string | null)
|
|
85566
|
-
mime_type: (string | null)
|
|
85567
|
-
file_count: number
|
|
85568
|
-
get_status: number
|
|
85569
|
-
list_status: number
|
|
85570
|
-
vend_status: number
|
|
85571
|
-
content_bytes: (number | null)
|
|
85572
|
-
}
|
|
85573
|
-
|
|
85574
|
-
export interface PlaygroundGoogleadsReadCustomerInput {
|
|
85575
|
-
|
|
85576
|
-
}
|
|
85577
|
-
|
|
85578
|
-
export interface PlaygroundGoogleadsReadCustomerOutput {
|
|
85579
|
-
minted: boolean
|
|
85580
|
-
vended: boolean
|
|
85581
|
-
customer_id: (string | null)
|
|
85582
|
-
vend_status: number
|
|
85583
|
-
result_count: number
|
|
85584
|
-
search_status: number
|
|
85585
|
-
login_customer_id: (string | null)
|
|
85586
|
-
}
|
|
85587
|
-
|
|
85588
|
-
export interface PlaygroundLifecycleGetStateInput {
|
|
85589
|
-
|
|
85590
|
-
}
|
|
85591
|
-
|
|
85592
|
-
export interface PlaygroundLifecycleGetStateOutput {
|
|
85593
|
-
blocked: boolean
|
|
85594
|
-
archived: boolean
|
|
85595
|
-
productId: string
|
|
85596
|
-
lastBlockTransition: ({
|
|
85597
|
-
eventId: string
|
|
85598
|
-
eventName: string
|
|
85599
|
-
productId: string
|
|
85600
|
-
occurredAt: string
|
|
85601
|
-
recordedAt: string
|
|
85602
|
-
receiptCount: number
|
|
85603
|
-
organizationId: string
|
|
85604
|
-
cascadedFromOrg: boolean
|
|
85605
|
-
} | null)
|
|
85606
|
-
lastArchiveTransition: ({
|
|
85607
|
-
eventId: string
|
|
85608
|
-
eventName: string
|
|
85609
|
-
productId: string
|
|
85610
|
-
occurredAt: string
|
|
85611
|
-
recordedAt: string
|
|
85612
|
-
receiptCount: number
|
|
85613
|
-
organizationId: string
|
|
85614
|
-
cascadedFromOrg: boolean
|
|
85615
|
-
} | null)
|
|
85616
|
-
}
|
|
85617
|
-
|
|
85618
|
-
export interface PlaygroundLifecycleListEventsInput {
|
|
85619
|
-
|
|
85620
|
-
}
|
|
85621
|
-
|
|
85622
|
-
export type PlaygroundLifecycleListEventsOutput = {
|
|
85623
|
-
eventId: string
|
|
85624
|
-
eventName: string
|
|
85625
|
-
productId: string
|
|
85626
|
-
occurredAt: string
|
|
85627
|
-
recordedAt: string
|
|
85628
|
-
receiptCount: number
|
|
85629
|
-
organizationId: string
|
|
85630
|
-
cascadedFromOrg: boolean
|
|
85631
|
-
}[]
|
|
85632
|
-
|
|
85633
|
-
export interface PlaygroundWebhookGetLastInput {
|
|
85634
|
-
|
|
85635
|
-
}
|
|
85636
|
-
|
|
85637
|
-
export type PlaygroundWebhookGetLastOutput = ({
|
|
85638
|
-
payload?: unknown
|
|
85639
|
-
event_id: string
|
|
85640
|
-
provider: string
|
|
85641
|
-
verified: boolean
|
|
85642
|
-
product_id: string
|
|
85643
|
-
occurred_at: string
|
|
85644
|
-
connector_id: string
|
|
85645
|
-
delivery_count: number
|
|
85646
|
-
} | {
|
|
85647
|
-
found: false
|
|
85648
|
-
})
|
|
85649
|
-
|
|
85650
|
-
export interface PlaygroundWsEchoInput {
|
|
85651
|
-
|
|
85652
|
-
}
|
|
85653
|
-
|
|
85654
|
-
export type PlaygroundWsEchoOutput = unknown;
|
|
85655
|
-
|
|
85656
85521
|
export interface RealtimeArchiveExportInput {
|
|
85657
85522
|
/**
|
|
85658
85523
|
* 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';
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { GeneratedClient } from '../client.gen.js';
|
|
2
|
-
import type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundClickupCreateTaskInput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput } from '../types.gen.js';
|
|
3
|
-
export declare const playgroundAnalyticsOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => {
|
|
4
|
-
queryKey: readonly ["playground", "analytics", "overview", PlaygroundAnalyticsOverviewInput];
|
|
5
|
-
queryFn: () => Promise<PlaygroundAnalyticsOverviewOutput>;
|
|
6
|
-
};
|
|
7
|
-
export declare const playgroundBillingEntitlementsQueryOptions: (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => {
|
|
8
|
-
queryKey: readonly ["playground", "billing", "entitlements", PlaygroundBillingEntitlementsInput];
|
|
9
|
-
queryFn: () => Promise<PlaygroundBillingEntitlementsOutput>;
|
|
10
|
-
};
|
|
11
|
-
export declare const playgroundBillingRecordUsageMutationOptions: (sdk: GeneratedClient) => {
|
|
12
|
-
mutationKey: string[];
|
|
13
|
-
mutationFn: (input: PlaygroundBillingRecordUsageInput) => Promise<import(".").PlaygroundBillingRecordUsageOutput>;
|
|
14
|
-
};
|
|
15
|
-
export declare const playgroundClickupCreateTaskMutationOptions: (sdk: GeneratedClient) => {
|
|
16
|
-
mutationKey: string[];
|
|
17
|
-
mutationFn: (input: PlaygroundClickupCreateTaskInput) => Promise<import(".").PlaygroundClickupCreateTaskOutput>;
|
|
18
|
-
};
|
|
19
|
-
export declare const playgroundClickupGetLastWebhookQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => {
|
|
20
|
-
queryKey: readonly ["playground", "clickup", "get-last-webhook", PlaygroundClickupGetLastWebhookInput];
|
|
21
|
-
queryFn: () => Promise<PlaygroundClickupGetLastWebhookOutput>;
|
|
22
|
-
};
|
|
23
|
-
export declare const playgroundClickupGetOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => {
|
|
24
|
-
queryKey: readonly ["playground", "clickup", "get-overview", PlaygroundClickupGetOverviewInput];
|
|
25
|
-
queryFn: () => Promise<PlaygroundClickupGetOverviewOutput>;
|
|
26
|
-
};
|
|
27
|
-
export declare const playgroundGdriveGetLastChangeQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => {
|
|
28
|
-
queryKey: readonly ["playground", "gdrive", "get-last-change", PlaygroundGdriveGetLastChangeInput];
|
|
29
|
-
queryFn: () => Promise<PlaygroundGdriveGetLastChangeOutput>;
|
|
30
|
-
};
|
|
31
|
-
export declare const playgroundGdriveReadFileQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => {
|
|
32
|
-
queryKey: readonly ["playground", "gdrive", "read-file", PlaygroundGdriveReadFileInput];
|
|
33
|
-
queryFn: () => Promise<PlaygroundGdriveReadFileOutput>;
|
|
34
|
-
};
|
|
35
|
-
export declare const playgroundGoogleadsReadCustomerQueryOptions: (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => {
|
|
36
|
-
queryKey: readonly ["playground", "googleads", "read-customer", PlaygroundGoogleadsReadCustomerInput];
|
|
37
|
-
queryFn: () => Promise<PlaygroundGoogleadsReadCustomerOutput>;
|
|
38
|
-
};
|
|
39
|
-
export declare const playgroundLifecycleGetStateQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => {
|
|
40
|
-
queryKey: readonly ["playground", "lifecycle", "get-state", PlaygroundLifecycleGetStateInput];
|
|
41
|
-
queryFn: () => Promise<PlaygroundLifecycleGetStateOutput>;
|
|
42
|
-
};
|
|
43
|
-
export declare const playgroundLifecycleListEventsQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => {
|
|
44
|
-
queryKey: readonly ["playground", "lifecycle", "list-events", PlaygroundLifecycleListEventsInput];
|
|
45
|
-
queryFn: () => Promise<PlaygroundLifecycleListEventsOutput>;
|
|
46
|
-
};
|
|
47
|
-
export declare const playgroundWebhookGetLastQueryOptions: (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => {
|
|
48
|
-
queryKey: readonly ["playground", "webhook", "get-last", PlaygroundWebhookGetLastInput];
|
|
49
|
-
queryFn: () => Promise<PlaygroundWebhookGetLastOutput>;
|
|
50
|
-
};
|