@smplkit/sdk 3.0.47 → 3.0.48

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.cts CHANGED
@@ -1239,6 +1239,7 @@ interface components {
1239
1239
  FlagListResponse: {
1240
1240
  /** Data */
1241
1241
  data: components["schemas"]["FlagResource"][];
1242
+ meta: components["schemas"]["ListMeta"];
1242
1243
  };
1243
1244
  /**
1244
1245
  * FlagRequest
@@ -1399,6 +1400,7 @@ interface components {
1399
1400
  FlagSourceListResponse: {
1400
1401
  /** Data */
1401
1402
  data: components["schemas"]["FlagSourceResource"][];
1403
+ meta: components["schemas"]["ListMeta"];
1402
1404
  };
1403
1405
  /**
1404
1406
  * FlagSourceResource
@@ -1448,6 +1450,13 @@ interface components {
1448
1450
  */
1449
1451
  value: unknown;
1450
1452
  };
1453
+ /**
1454
+ * ListMeta
1455
+ * @description Top-level ``meta`` block included on every JSON:API list response.
1456
+ */
1457
+ ListMeta: {
1458
+ pagination: components["schemas"]["PaginationMeta"];
1459
+ };
1451
1460
  /**
1452
1461
  * ManualReviewItem
1453
1462
  * @description A flag rule that could not be safely modified by the bulk
@@ -1475,6 +1484,37 @@ interface components {
1475
1484
  */
1476
1485
  reason: string;
1477
1486
  };
1487
+ /**
1488
+ * PaginationMeta
1489
+ * @description Pagination block returned inside ``meta`` on every list response.
1490
+ *
1491
+ * ``page`` and ``size`` are always present and echo the parameters that
1492
+ * served the response (their defaults when the client omitted them).
1493
+ * ``total`` and ``total_pages`` are present only when the request included
1494
+ * ``meta[total]=true``.
1495
+ */
1496
+ PaginationMeta: {
1497
+ /**
1498
+ * Page
1499
+ * @description 1-based page number returned.
1500
+ */
1501
+ page: number;
1502
+ /**
1503
+ * Size
1504
+ * @description Number of items per page.
1505
+ */
1506
+ size: number;
1507
+ /**
1508
+ * Total
1509
+ * @description Total number of matching items across all pages. Present only when the request included `meta[total]=true`.
1510
+ */
1511
+ total?: number | null;
1512
+ /**
1513
+ * Total Pages
1514
+ * @description Total number of pages at the requested page size. Present only when the request included `meta[total]=true`.
1515
+ */
1516
+ total_pages?: number | null;
1517
+ };
1478
1518
  /**
1479
1519
  * RemoveReferencesAttributes
1480
1520
  * @description Counts and follow-ups returned by the remove-references action.
@@ -1594,6 +1634,7 @@ interface components {
1594
1634
  UsageListResponse: {
1595
1635
  /** Data */
1596
1636
  data: components["schemas"]["UsageResource"][];
1637
+ meta: components["schemas"]["ListMeta"];
1597
1638
  };
1598
1639
  /**
1599
1640
  * UsageResource
package/dist/index.d.ts CHANGED
@@ -1239,6 +1239,7 @@ interface components {
1239
1239
  FlagListResponse: {
1240
1240
  /** Data */
1241
1241
  data: components["schemas"]["FlagResource"][];
1242
+ meta: components["schemas"]["ListMeta"];
1242
1243
  };
1243
1244
  /**
1244
1245
  * FlagRequest
@@ -1399,6 +1400,7 @@ interface components {
1399
1400
  FlagSourceListResponse: {
1400
1401
  /** Data */
1401
1402
  data: components["schemas"]["FlagSourceResource"][];
1403
+ meta: components["schemas"]["ListMeta"];
1402
1404
  };
1403
1405
  /**
1404
1406
  * FlagSourceResource
@@ -1448,6 +1450,13 @@ interface components {
1448
1450
  */
1449
1451
  value: unknown;
1450
1452
  };
1453
+ /**
1454
+ * ListMeta
1455
+ * @description Top-level ``meta`` block included on every JSON:API list response.
1456
+ */
1457
+ ListMeta: {
1458
+ pagination: components["schemas"]["PaginationMeta"];
1459
+ };
1451
1460
  /**
1452
1461
  * ManualReviewItem
1453
1462
  * @description A flag rule that could not be safely modified by the bulk
@@ -1475,6 +1484,37 @@ interface components {
1475
1484
  */
1476
1485
  reason: string;
1477
1486
  };
1487
+ /**
1488
+ * PaginationMeta
1489
+ * @description Pagination block returned inside ``meta`` on every list response.
1490
+ *
1491
+ * ``page`` and ``size`` are always present and echo the parameters that
1492
+ * served the response (their defaults when the client omitted them).
1493
+ * ``total`` and ``total_pages`` are present only when the request included
1494
+ * ``meta[total]=true``.
1495
+ */
1496
+ PaginationMeta: {
1497
+ /**
1498
+ * Page
1499
+ * @description 1-based page number returned.
1500
+ */
1501
+ page: number;
1502
+ /**
1503
+ * Size
1504
+ * @description Number of items per page.
1505
+ */
1506
+ size: number;
1507
+ /**
1508
+ * Total
1509
+ * @description Total number of matching items across all pages. Present only when the request included `meta[total]=true`.
1510
+ */
1511
+ total?: number | null;
1512
+ /**
1513
+ * Total Pages
1514
+ * @description Total number of pages at the requested page size. Present only when the request included `meta[total]=true`.
1515
+ */
1516
+ total_pages?: number | null;
1517
+ };
1478
1518
  /**
1479
1519
  * RemoveReferencesAttributes
1480
1520
  * @description Counts and follow-ups returned by the remove-references action.
@@ -1594,6 +1634,7 @@ interface components {
1594
1634
  UsageListResponse: {
1595
1635
  /** Data */
1596
1636
  data: components["schemas"]["UsageResource"][];
1637
+ meta: components["schemas"]["ListMeta"];
1597
1638
  };
1598
1639
  /**
1599
1640
  * UsageResource
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smplkit/sdk",
3
- "version": "3.0.47",
3
+ "version": "3.0.48",
4
4
  "type": "module",
5
5
  "description": "Official TypeScript SDK for the smplkit platform",
6
6
  "main": "./dist/index.cjs",