@powersync/management-client 0.0.0-dev-20260225124534 → 0.0.0-dev.6f42cb4c

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/index.d.ts CHANGED
@@ -612,6 +612,10 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
612
612
  errors: {
613
613
  level: "warning" | "fatal";
614
614
  message: string;
615
+ location?: {
616
+ start_offset: number;
617
+ end_offset: number;
618
+ } | undefined;
615
619
  ts?: string | undefined;
616
620
  }[];
617
621
  }[];
@@ -619,6 +623,10 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
619
623
  errors: {
620
624
  level: "warning" | "fatal";
621
625
  message: string;
626
+ location?: {
627
+ start_offset: number;
628
+ end_offset: number;
629
+ } | undefined;
622
630
  ts?: string | undefined;
623
631
  }[];
624
632
  connections: {
@@ -635,6 +643,10 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
635
643
  errors: {
636
644
  level: "warning" | "fatal";
637
645
  message: string;
646
+ location?: {
647
+ start_offset: number;
648
+ end_offset: number;
649
+ } | undefined;
638
650
  ts?: string | undefined;
639
651
  }[];
640
652
  pattern?: string | undefined;
@@ -650,6 +662,10 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
650
662
  errors: {
651
663
  level: "warning" | "fatal";
652
664
  message: string;
665
+ location?: {
666
+ start_offset: number;
667
+ end_offset: number;
668
+ } | undefined;
653
669
  ts?: string | undefined;
654
670
  }[];
655
671
  connections: {
@@ -666,6 +682,10 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
666
682
  errors: {
667
683
  level: "warning" | "fatal";
668
684
  message: string;
685
+ location?: {
686
+ start_offset: number;
687
+ end_offset: number;
688
+ } | undefined;
669
689
  ts?: string | undefined;
670
690
  }[];
671
691
  pattern?: string | undefined;
@@ -1007,6 +1027,10 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
1007
1027
  errors: {
1008
1028
  level: "warning" | "fatal";
1009
1029
  message: string;
1030
+ location?: {
1031
+ start_offset: number;
1032
+ end_offset: number;
1033
+ } | undefined;
1010
1034
  ts?: string | undefined;
1011
1035
  }[];
1012
1036
  schema: string;
@@ -1025,6 +1049,10 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
1025
1049
  errors: {
1026
1050
  level: "warning" | "fatal";
1027
1051
  message: string;
1052
+ location?: {
1053
+ start_offset: number;
1054
+ end_offset: number;
1055
+ } | undefined;
1028
1056
  ts?: string | undefined;
1029
1057
  }[];
1030
1058
  content?: string | undefined;
@@ -1135,6 +1163,175 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
1135
1163
  status: routes.VersionStatus;
1136
1164
  version: string;
1137
1165
  }[], C>;
1166
+ /**
1167
+ * Gets a summary of client connections for a PowerSync instance within a date range.
1168
+ *
1169
+ * @returns Promise resolving to connection summary data including total user counts and SDK breakdowns
1170
+ * @example
1171
+ * ```typescript
1172
+ * const response = await client.getConnectionsSummary({
1173
+ * org_id: 'org-123',
1174
+ * app_id: 'app-456',
1175
+ * id: 'instance-789',
1176
+ * start: '2024-01-01T00:00:00Z',
1177
+ * end: '2024-01-31T23:59:59Z'
1178
+ * });
1179
+ * console.log(response.total_users); // Total number of users
1180
+ * console.log(response.sdk_breakdown); // Array of SDK connection summaries
1181
+ * ```
1182
+ */
1183
+ getConnectionsSummary: sdk.Endpoint<{
1184
+ start: string;
1185
+ end: string;
1186
+ scrape_ttl?: {
1187
+ date: string;
1188
+ } | undefined;
1189
+ } & {
1190
+ org_id: string;
1191
+ app_id: string;
1192
+ id: string;
1193
+ }, {
1194
+ total_users: number;
1195
+ sdk_breakdown: {
1196
+ sdk: string;
1197
+ users: number;
1198
+ clients: number;
1199
+ }[];
1200
+ }, C>;
1201
+ /**
1202
+ * Gets currently connected clients for a PowerSync instance.
1203
+ *
1204
+ * @returns Promise resolving to current connection summary data including total user counts and SDK breakdowns
1205
+ * @example
1206
+ * ```typescript
1207
+ * const response = await client.getCurrentConnections({
1208
+ * org_id: 'org-123',
1209
+ * app_id: 'app-456',
1210
+ * id: 'instance-789'
1211
+ * });
1212
+ * console.log(response.total_users); // Number of currently connected users
1213
+ * console.log(response.sdk_breakdown); // Array of current SDK connection summaries
1214
+ * ```
1215
+ */
1216
+ getCurrentConnections: sdk.Endpoint<{
1217
+ id?: string | undefined;
1218
+ org_id?: string | undefined;
1219
+ app_id?: string | undefined;
1220
+ } & {
1221
+ org_id: string;
1222
+ app_id: string;
1223
+ id: string;
1224
+ }, {
1225
+ total_users: number;
1226
+ sdk_breakdown: {
1227
+ sdk: string;
1228
+ users: number;
1229
+ clients: number;
1230
+ }[];
1231
+ }, C>;
1232
+ /**
1233
+ * Gets paginated client session data for a PowerSync instance.
1234
+ * Returns connection events including connect/disconnect times, user agents, and SDK information.
1235
+ *
1236
+ * @returns Promise resolving to paginated client session events. Also includes a `paginate` method for iterating through all pages.
1237
+ * @example
1238
+ * ```typescript
1239
+ * // Single page request
1240
+ * const response = await client.getClientSessions({
1241
+ * org_id: 'org-123',
1242
+ * app_id: 'app-456',
1243
+ * id: 'instance-789',
1244
+ * date_range: {
1245
+ * start: '2024-01-01T00:00:00Z',
1246
+ * end: '2024-01-31T23:59:59Z'
1247
+ * },
1248
+ * limit: 100
1249
+ * });
1250
+ * console.log(response.items); // Array of connection events
1251
+ * console.log(response.total); // Total number of events
1252
+ * console.log(response.more); // true if there are more pages
1253
+ * console.log(response.cursor); // cursor for the next page
1254
+ *
1255
+ * // Iterate through all pages
1256
+ * for await (const page of client.getClientSessions.paginate({
1257
+ * org_id: 'org-123',
1258
+ * app_id: 'app-456',
1259
+ * id: 'instance-789',
1260
+ * date_range: {
1261
+ * start: '2024-01-01T00:00:00Z',
1262
+ * end: '2024-01-31T23:59:59Z'
1263
+ * },
1264
+ * limit: 100
1265
+ * })) {
1266
+ * console.log(page.items); // Process each page
1267
+ * }
1268
+ * ```
1269
+ */
1270
+ getClientSessions: ((params: {
1271
+ id?: string | undefined;
1272
+ org_id?: string | undefined;
1273
+ app_id?: string | undefined;
1274
+ user_id?: string | undefined;
1275
+ client_id?: string | undefined;
1276
+ date_range?: {
1277
+ start: string;
1278
+ end: string;
1279
+ } | undefined;
1280
+ } & {
1281
+ cursor?: string | undefined;
1282
+ limit?: number | undefined;
1283
+ } & {
1284
+ org_id: string;
1285
+ app_id: string;
1286
+ id: string;
1287
+ }) => Promise<{
1288
+ total: number;
1289
+ count: number;
1290
+ more: boolean;
1291
+ items: {
1292
+ user_id: string;
1293
+ sdk: string;
1294
+ client_id: string;
1295
+ connected_at: string;
1296
+ user_agent: string;
1297
+ disconnected_at?: string | undefined;
1298
+ jwt_exp?: string | undefined;
1299
+ }[];
1300
+ cursor?: string | undefined;
1301
+ }>) & {
1302
+ paginate: (params: {
1303
+ id?: string | undefined;
1304
+ org_id?: string | undefined;
1305
+ app_id?: string | undefined;
1306
+ user_id?: string | undefined;
1307
+ client_id?: string | undefined;
1308
+ date_range?: {
1309
+ start: string;
1310
+ end: string;
1311
+ } | undefined;
1312
+ } & {
1313
+ cursor?: string | undefined;
1314
+ limit?: number | undefined;
1315
+ } & {
1316
+ org_id: string;
1317
+ app_id: string;
1318
+ id: string;
1319
+ }) => AsyncGenerator<{
1320
+ total: number;
1321
+ count: number;
1322
+ more: boolean;
1323
+ items: {
1324
+ user_id: string;
1325
+ sdk: string;
1326
+ client_id: string;
1327
+ connected_at: string;
1328
+ user_agent: string;
1329
+ disconnected_at?: string | undefined;
1330
+ jwt_exp?: string | undefined;
1331
+ }[];
1332
+ cursor?: string | undefined;
1333
+ }, void, unknown>;
1334
+ };
1138
1335
  /**
1139
1336
  * Gets client connection reports for a PowerSync instance within a date range.
1140
1337
  *
@@ -1151,6 +1348,7 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
1151
1348
  * console.log(response.users); // Total number of users
1152
1349
  * console.log(response.sdks); // Array of SDK connection reports
1153
1350
  * ```
1351
+ * @deprecated Use `getConnectionsSummary` instead.
1154
1352
  */
1155
1353
  getClientConnectionReports: sdk.Endpoint<{
1156
1354
  start: string;
@@ -1165,8 +1363,8 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
1165
1363
  }, {
1166
1364
  users: number;
1167
1365
  sdks: {
1168
- users: number;
1169
1366
  sdk: string;
1367
+ users: number;
1170
1368
  clients: number;
1171
1369
  }[];
1172
1370
  }, C>;
@@ -1184,16 +1382,21 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
1184
1382
  * console.log(response.users); // Number of currently connected users
1185
1383
  * console.log(response.sdks); // Array of current SDK connections
1186
1384
  * ```
1385
+ * @deprecated Use `getCurrentConnections` instead.
1187
1386
  */
1188
1387
  getConnectedClients: sdk.Endpoint<{
1388
+ id?: string | undefined;
1389
+ org_id?: string | undefined;
1390
+ app_id?: string | undefined;
1391
+ } & {
1189
1392
  org_id: string;
1190
1393
  app_id: string;
1191
1394
  id: string;
1192
1395
  }, {
1193
1396
  users: number;
1194
1397
  sdks: {
1195
- users: number;
1196
1398
  sdk: string;
1399
+ users: number;
1197
1400
  clients: number;
1198
1401
  }[];
1199
1402
  }, C>;
@@ -1234,11 +1437,12 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
1234
1437
  * console.log(page.items); // Process each page
1235
1438
  * }
1236
1439
  * ```
1440
+ * @deprecated Use `getClientSessions` instead.
1237
1441
  */
1238
1442
  getGeneralClientConnectionAnalytics: ((params: {
1239
- id: string;
1240
- org_id: string;
1241
- app_id: string;
1443
+ id?: string | undefined;
1444
+ org_id?: string | undefined;
1445
+ app_id?: string | undefined;
1242
1446
  user_id?: string | undefined;
1243
1447
  client_id?: string | undefined;
1244
1448
  date_range?: {
@@ -1248,6 +1452,10 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
1248
1452
  } & {
1249
1453
  cursor?: string | undefined;
1250
1454
  limit?: number | undefined;
1455
+ } & {
1456
+ org_id: string;
1457
+ app_id: string;
1458
+ id: string;
1251
1459
  }) => Promise<{
1252
1460
  total: number;
1253
1461
  count: number;
@@ -1264,9 +1472,9 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
1264
1472
  cursor?: string | undefined;
1265
1473
  }>) & {
1266
1474
  paginate: (params: {
1267
- id: string;
1268
- org_id: string;
1269
- app_id: string;
1475
+ id?: string | undefined;
1476
+ org_id?: string | undefined;
1477
+ app_id?: string | undefined;
1270
1478
  user_id?: string | undefined;
1271
1479
  client_id?: string | undefined;
1272
1480
  date_range?: {
@@ -1276,6 +1484,10 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
1276
1484
  } & {
1277
1485
  cursor?: string | undefined;
1278
1486
  limit?: number | undefined;
1487
+ } & {
1488
+ org_id: string;
1489
+ app_id: string;
1490
+ id: string;
1279
1491
  }) => AsyncGenerator<{
1280
1492
  total: number;
1281
1493
  count: number;
package/dist/index.js CHANGED
@@ -344,6 +344,85 @@ export class PowerSyncManagementClient extends sdk.SDKClient {
344
344
  listVersions = this.createEndpoint({
345
345
  path: general.LIST_VERSIONS_V2
346
346
  });
347
+ /**
348
+ * Gets a summary of client connections for a PowerSync instance within a date range.
349
+ *
350
+ * @returns Promise resolving to connection summary data including total user counts and SDK breakdowns
351
+ * @example
352
+ * ```typescript
353
+ * const response = await client.getConnectionsSummary({
354
+ * org_id: 'org-123',
355
+ * app_id: 'app-456',
356
+ * id: 'instance-789',
357
+ * start: '2024-01-01T00:00:00Z',
358
+ * end: '2024-01-31T23:59:59Z'
359
+ * });
360
+ * console.log(response.total_users); // Total number of users
361
+ * console.log(response.sdk_breakdown); // Array of SDK connection summaries
362
+ * ```
363
+ */
364
+ getConnectionsSummary = this.createEndpoint({
365
+ path: report.GET_CONNECTIONS_SUMMARY
366
+ });
367
+ /**
368
+ * Gets currently connected clients for a PowerSync instance.
369
+ *
370
+ * @returns Promise resolving to current connection summary data including total user counts and SDK breakdowns
371
+ * @example
372
+ * ```typescript
373
+ * const response = await client.getCurrentConnections({
374
+ * org_id: 'org-123',
375
+ * app_id: 'app-456',
376
+ * id: 'instance-789'
377
+ * });
378
+ * console.log(response.total_users); // Number of currently connected users
379
+ * console.log(response.sdk_breakdown); // Array of current SDK connection summaries
380
+ * ```
381
+ */
382
+ getCurrentConnections = this.createEndpoint({
383
+ path: report.GET_CURRENT_CONNECTIONS
384
+ });
385
+ /**
386
+ * Gets paginated client session data for a PowerSync instance.
387
+ * Returns connection events including connect/disconnect times, user agents, and SDK information.
388
+ *
389
+ * @returns Promise resolving to paginated client session events. Also includes a `paginate` method for iterating through all pages.
390
+ * @example
391
+ * ```typescript
392
+ * // Single page request
393
+ * const response = await client.getClientSessions({
394
+ * org_id: 'org-123',
395
+ * app_id: 'app-456',
396
+ * id: 'instance-789',
397
+ * date_range: {
398
+ * start: '2024-01-01T00:00:00Z',
399
+ * end: '2024-01-31T23:59:59Z'
400
+ * },
401
+ * limit: 100
402
+ * });
403
+ * console.log(response.items); // Array of connection events
404
+ * console.log(response.total); // Total number of events
405
+ * console.log(response.more); // true if there are more pages
406
+ * console.log(response.cursor); // cursor for the next page
407
+ *
408
+ * // Iterate through all pages
409
+ * for await (const page of client.getClientSessions.paginate({
410
+ * org_id: 'org-123',
411
+ * app_id: 'app-456',
412
+ * id: 'instance-789',
413
+ * date_range: {
414
+ * start: '2024-01-01T00:00:00Z',
415
+ * end: '2024-01-31T23:59:59Z'
416
+ * },
417
+ * limit: 100
418
+ * })) {
419
+ * console.log(page.items); // Process each page
420
+ * }
421
+ * ```
422
+ */
423
+ getClientSessions = sdk.createPaginatedEndpoint(this.createEndpoint({
424
+ path: report.GET_CLIENT_SESSIONS
425
+ }));
347
426
  /**
348
427
  * Gets client connection reports for a PowerSync instance within a date range.
349
428
  *
@@ -360,9 +439,10 @@ export class PowerSyncManagementClient extends sdk.SDKClient {
360
439
  * console.log(response.users); // Total number of users
361
440
  * console.log(response.sdks); // Array of SDK connection reports
362
441
  * ```
442
+ * @deprecated Use `getConnectionsSummary` instead.
363
443
  */
364
444
  getClientConnectionReports = this.createEndpoint({
365
- path: report.GET_CLIENT_CONNECTION_DATA
445
+ path: report.DEPRECATED_GET_CLIENT_CONNECTION_DATA
366
446
  });
367
447
  /**
368
448
  * Gets currently connected clients for a PowerSync instance.
@@ -378,10 +458,9 @@ export class PowerSyncManagementClient extends sdk.SDKClient {
378
458
  * console.log(response.users); // Number of currently connected users
379
459
  * console.log(response.sdks); // Array of current SDK connections
380
460
  * ```
461
+ * @deprecated Use `getCurrentConnections` instead.
381
462
  */
382
- getConnectedClients = this.createEndpoint({
383
- path: report.GET_CURRENT_CONNECTIONS
384
- });
463
+ getConnectedClients = this.createEndpoint({ path: report.DEPRECATED_GET_CONNECTED_CLIENTS });
385
464
  /**
386
465
  * Gets paginated general client connection analytics for a PowerSync instance.
387
466
  * Returns connection events including connect/disconnect times, user agents, and SDK information.
@@ -419,9 +498,10 @@ export class PowerSyncManagementClient extends sdk.SDKClient {
419
498
  * console.log(page.items); // Process each page
420
499
  * }
421
500
  * ```
501
+ * @deprecated Use `getClientSessions` instead.
422
502
  */
423
503
  getGeneralClientConnectionAnalytics = sdk.createPaginatedEndpoint(this.createEndpoint({
424
- path: report.GET_GENERAL_CLIENT_ANALYTICS
504
+ path: report.DEPRECATED_GET_GENERAL_CLIENT_ANALYTICS
425
505
  }));
426
506
  }
427
507
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,8BAA8B,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAErD,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,CAAC;AAC9B,MAAM,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC;AACpC,MAAM,OAAO,GAAG,MAAM,CAAC,cAAc,CAAC;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACH,iBAAiB,GAAG,GAAG,CAAC,uBAAuB,CAC7C,IAAI,CAAC,cAAc,CAA+F;QAChH,IAAI,EAAE,MAAM,CAAC,mBAAmB;KACjC,CAAC,CACH,CAAC;IAEF;;;;;;;;;;;;;;;;;OAiBG;IACH,0BAA0B,GAAG,IAAI,CAAC,cAAc,CAG9C;QACA,IAAI,EAAE,MAAM,CAAC,qCAAqC;KACnD,CAAC,CAAC;IAEH;;;;;;;;;;;;;;;OAeG;IACH,mBAAmB,GAAG,IAAI,CAAC,cAAc,CAGvC,EAAE,IAAI,EAAE,MAAM,CAAC,gCAAgC,EAAE,CAAC,CAAC;IAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsCG;IACH,mCAAmC,GAAG,GAAG,CAAC,uBAAuB,CAC/D,IAAI,CAAC,cAAc,CAA+F;QAChH,IAAI,EAAE,MAAM,CAAC,uCAAuC;KACrD,CAAC,CACH,CAAC;CACH"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powersync/management-client",
3
- "version": "0.0.0-dev-20260225124534",
3
+ "version": "0.0.0-dev.6f42cb4c",
4
4
  "description": "A TypeScript client for the PowerSync Management Service API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@journeyapps-labs/common-sdk": "^1.0.2",
24
- "@powersync/management-types": "^0.0.0-dev-20260225124534"
24
+ "@powersync/management-types": "0.0.0-dev.6f42cb4c"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/json-schema": "^7.0.15"