@smplkit/sdk 3.0.44 → 3.0.45

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
@@ -402,6 +402,13 @@ interface components$1 {
402
402
  /** Errors */
403
403
  errors: components$1["schemas"]["Error"][];
404
404
  };
405
+ /**
406
+ * ListMeta
407
+ * @description Top-level ``meta`` block included on every JSON:API list response.
408
+ */
409
+ ListMeta: {
410
+ pagination: components$1["schemas"]["PaginationMeta"];
411
+ };
405
412
  /**
406
413
  * LogGroup
407
414
  * @description A named collection of loggers that share a level configuration.
@@ -462,6 +469,7 @@ interface components$1 {
462
469
  LogGroupListResponse: {
463
470
  /** Data */
464
471
  data: components$1["schemas"]["LogGroupResource"][];
472
+ meta: components$1["schemas"]["ListMeta"];
465
473
  };
466
474
  /**
467
475
  * LogGroupRequest
@@ -675,6 +683,7 @@ interface components$1 {
675
683
  LoggerListResponse: {
676
684
  /** Data */
677
685
  data: components$1["schemas"]["LoggerResource"][];
686
+ meta: components$1["schemas"]["ListMeta"];
678
687
  };
679
688
  /**
680
689
  * LoggerRequest
@@ -794,6 +803,7 @@ interface components$1 {
794
803
  LoggerSourceListResponse: {
795
804
  /** Data */
796
805
  data: components$1["schemas"]["LoggerSourceResource"][];
806
+ meta: components$1["schemas"]["ListMeta"];
797
807
  };
798
808
  /**
799
809
  * LoggerSourceResource
@@ -822,6 +832,37 @@ interface components$1 {
822
832
  type: "logger_source";
823
833
  attributes: components$1["schemas"]["LoggerSource"];
824
834
  };
835
+ /**
836
+ * PaginationMeta
837
+ * @description Pagination block returned inside ``meta`` on every list response.
838
+ *
839
+ * ``page`` and ``size`` are always present and echo the parameters that
840
+ * served the response (their defaults when the client omitted them).
841
+ * ``total`` and ``total_pages`` are present only when the request included
842
+ * ``meta[total]=true``.
843
+ */
844
+ PaginationMeta: {
845
+ /**
846
+ * Page
847
+ * @description 1-based page number returned.
848
+ */
849
+ page: number;
850
+ /**
851
+ * Size
852
+ * @description Number of items per page.
853
+ */
854
+ size: number;
855
+ /**
856
+ * Total
857
+ * @description Total number of matching items across all pages. Present only when the request included `meta[total]=true`.
858
+ */
859
+ total?: number | null;
860
+ /**
861
+ * Total Pages
862
+ * @description Total number of pages at the requested page size. Present only when the request included `meta[total]=true`.
863
+ */
864
+ total_pages?: number | null;
865
+ };
825
866
  /**
826
867
  * ServiceAttributes
827
868
  * @description A discovered service has no attributes beyond its name (the `id`).
@@ -834,6 +875,7 @@ interface components$1 {
834
875
  ServiceListResponse: {
835
876
  /** Data */
836
877
  data: components$1["schemas"]["ServiceResource"][];
878
+ meta: components$1["schemas"]["ListMeta"];
837
879
  };
838
880
  /**
839
881
  * ServiceResource
@@ -910,6 +952,7 @@ interface components$1 {
910
952
  UsageListResponse: {
911
953
  /** Data */
912
954
  data: components$1["schemas"]["UsageResource"][];
955
+ meta: components$1["schemas"]["ListMeta"];
913
956
  };
914
957
  /**
915
958
  * UsageResource
package/dist/index.d.ts CHANGED
@@ -402,6 +402,13 @@ interface components$1 {
402
402
  /** Errors */
403
403
  errors: components$1["schemas"]["Error"][];
404
404
  };
405
+ /**
406
+ * ListMeta
407
+ * @description Top-level ``meta`` block included on every JSON:API list response.
408
+ */
409
+ ListMeta: {
410
+ pagination: components$1["schemas"]["PaginationMeta"];
411
+ };
405
412
  /**
406
413
  * LogGroup
407
414
  * @description A named collection of loggers that share a level configuration.
@@ -462,6 +469,7 @@ interface components$1 {
462
469
  LogGroupListResponse: {
463
470
  /** Data */
464
471
  data: components$1["schemas"]["LogGroupResource"][];
472
+ meta: components$1["schemas"]["ListMeta"];
465
473
  };
466
474
  /**
467
475
  * LogGroupRequest
@@ -675,6 +683,7 @@ interface components$1 {
675
683
  LoggerListResponse: {
676
684
  /** Data */
677
685
  data: components$1["schemas"]["LoggerResource"][];
686
+ meta: components$1["schemas"]["ListMeta"];
678
687
  };
679
688
  /**
680
689
  * LoggerRequest
@@ -794,6 +803,7 @@ interface components$1 {
794
803
  LoggerSourceListResponse: {
795
804
  /** Data */
796
805
  data: components$1["schemas"]["LoggerSourceResource"][];
806
+ meta: components$1["schemas"]["ListMeta"];
797
807
  };
798
808
  /**
799
809
  * LoggerSourceResource
@@ -822,6 +832,37 @@ interface components$1 {
822
832
  type: "logger_source";
823
833
  attributes: components$1["schemas"]["LoggerSource"];
824
834
  };
835
+ /**
836
+ * PaginationMeta
837
+ * @description Pagination block returned inside ``meta`` on every list response.
838
+ *
839
+ * ``page`` and ``size`` are always present and echo the parameters that
840
+ * served the response (their defaults when the client omitted them).
841
+ * ``total`` and ``total_pages`` are present only when the request included
842
+ * ``meta[total]=true``.
843
+ */
844
+ PaginationMeta: {
845
+ /**
846
+ * Page
847
+ * @description 1-based page number returned.
848
+ */
849
+ page: number;
850
+ /**
851
+ * Size
852
+ * @description Number of items per page.
853
+ */
854
+ size: number;
855
+ /**
856
+ * Total
857
+ * @description Total number of matching items across all pages. Present only when the request included `meta[total]=true`.
858
+ */
859
+ total?: number | null;
860
+ /**
861
+ * Total Pages
862
+ * @description Total number of pages at the requested page size. Present only when the request included `meta[total]=true`.
863
+ */
864
+ total_pages?: number | null;
865
+ };
825
866
  /**
826
867
  * ServiceAttributes
827
868
  * @description A discovered service has no attributes beyond its name (the `id`).
@@ -834,6 +875,7 @@ interface components$1 {
834
875
  ServiceListResponse: {
835
876
  /** Data */
836
877
  data: components$1["schemas"]["ServiceResource"][];
878
+ meta: components$1["schemas"]["ListMeta"];
837
879
  };
838
880
  /**
839
881
  * ServiceResource
@@ -910,6 +952,7 @@ interface components$1 {
910
952
  UsageListResponse: {
911
953
  /** Data */
912
954
  data: components$1["schemas"]["UsageResource"][];
955
+ meta: components$1["schemas"]["ListMeta"];
913
956
  };
914
957
  /**
915
958
  * UsageResource
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smplkit/sdk",
3
- "version": "3.0.44",
3
+ "version": "3.0.45",
4
4
  "type": "module",
5
5
  "description": "Official TypeScript SDK for the smplkit platform",
6
6
  "main": "./dist/index.cjs",