@deliverart/sdk-js-integration-diagnostics 2.42.0 → 2.43.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/index.cjs CHANGED
@@ -1911,6 +1911,12 @@ var diagnosticProblemSummarySchema = import_zod7.z.object({
1911
1911
  });
1912
1912
  var diagnosticOverviewSchema = import_zod7.z.object({
1913
1913
  pointOfSaleId: diagnosticIdSchema,
1914
+ daily: import_zod7.z.object({
1915
+ day: import_zod7.z.string().regex(/^\d{4}-\d{2}-\d{2}$/),
1916
+ timezone: import_zod7.z.string(),
1917
+ today: count,
1918
+ past: count
1919
+ }).nullish(),
1914
1920
  openProblems: count,
1915
1921
  affectedOperations: count,
1916
1922
  outstandingOperations: count,
@@ -2321,6 +2327,7 @@ var import_sdk_js_global_types2 = require("@deliverart/sdk-js-global-types");
2321
2327
  var import_zod19 = require("zod");
2322
2328
  var emptyInputSchema9 = import_zod19.z.undefined();
2323
2329
  var diagnosticProblemsQuerySchema = import_zod19.z.object({
2330
+ day: import_zod19.z.literal("today").optional(),
2324
2331
  page: import_zod19.z.number().int().min(1).max(1e5).optional(),
2325
2332
  itemsPerPage: import_zod19.z.number().int().min(1).max(100).optional(),
2326
2333
  state: import_zod19.z.enum(["open", "resolved", "all"]).optional(),
package/dist/index.d.cts CHANGED
@@ -1320,6 +1320,12 @@ declare const diagnosticProblemSummarySchema: z.ZodObject<{
1320
1320
  }, z.core.$strip>;
1321
1321
  declare const diagnosticOverviewSchema: z.ZodObject<{
1322
1322
  pointOfSaleId: z.ZodString;
1323
+ daily: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1324
+ day: z.ZodString;
1325
+ timezone: z.ZodString;
1326
+ today: z.ZodNumber;
1327
+ past: z.ZodNumber;
1328
+ }, z.core.$strip>>>;
1323
1329
  openProblems: z.ZodNumber;
1324
1330
  affectedOperations: z.ZodNumber;
1325
1331
  outstandingOperations: z.ZodNumber;
@@ -1941,6 +1947,12 @@ declare class GetDiagnosticOverview extends AbstractApiRequest<typeof emptyInput
1941
1947
  readonly inputSchema: z.ZodUndefined;
1942
1948
  readonly outputSchema: z.ZodObject<{
1943
1949
  pointOfSaleId: z.ZodString;
1950
+ daily: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1951
+ day: z.ZodString;
1952
+ timezone: z.ZodString;
1953
+ today: z.ZodNumber;
1954
+ past: z.ZodNumber;
1955
+ }, z.core.$strip>>>;
1944
1956
  openProblems: z.ZodNumber;
1945
1957
  affectedOperations: z.ZodNumber;
1946
1958
  outstandingOperations: z.ZodNumber;
@@ -2306,6 +2318,7 @@ declare class GetDiagnosticProblemQueue extends AbstractApiRequest<typeof emptyI
2306
2318
 
2307
2319
  declare const emptyInputSchema$3: z.ZodUndefined;
2308
2320
  declare const diagnosticProblemsQuerySchema: z.ZodObject<{
2321
+ day: z.ZodOptional<z.ZodLiteral<"today">>;
2309
2322
  page: z.ZodOptional<z.ZodNumber>;
2310
2323
  itemsPerPage: z.ZodOptional<z.ZodNumber>;
2311
2324
  state: z.ZodOptional<z.ZodEnum<{
@@ -2792,6 +2805,7 @@ declare class GetDiagnosticProblems extends AbstractApiRequest<typeof emptyInput
2792
2805
  }, z.core.$strip>;
2793
2806
  readonly paginationDefaultEnabled = true;
2794
2807
  readonly querySchema: z.ZodObject<{
2808
+ day: z.ZodOptional<z.ZodLiteral<"today">>;
2795
2809
  page: z.ZodOptional<z.ZodNumber>;
2796
2810
  itemsPerPage: z.ZodOptional<z.ZodNumber>;
2797
2811
  state: z.ZodOptional<z.ZodEnum<{
package/dist/index.d.ts CHANGED
@@ -1320,6 +1320,12 @@ declare const diagnosticProblemSummarySchema: z.ZodObject<{
1320
1320
  }, z.core.$strip>;
1321
1321
  declare const diagnosticOverviewSchema: z.ZodObject<{
1322
1322
  pointOfSaleId: z.ZodString;
1323
+ daily: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1324
+ day: z.ZodString;
1325
+ timezone: z.ZodString;
1326
+ today: z.ZodNumber;
1327
+ past: z.ZodNumber;
1328
+ }, z.core.$strip>>>;
1323
1329
  openProblems: z.ZodNumber;
1324
1330
  affectedOperations: z.ZodNumber;
1325
1331
  outstandingOperations: z.ZodNumber;
@@ -1941,6 +1947,12 @@ declare class GetDiagnosticOverview extends AbstractApiRequest<typeof emptyInput
1941
1947
  readonly inputSchema: z.ZodUndefined;
1942
1948
  readonly outputSchema: z.ZodObject<{
1943
1949
  pointOfSaleId: z.ZodString;
1950
+ daily: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1951
+ day: z.ZodString;
1952
+ timezone: z.ZodString;
1953
+ today: z.ZodNumber;
1954
+ past: z.ZodNumber;
1955
+ }, z.core.$strip>>>;
1944
1956
  openProblems: z.ZodNumber;
1945
1957
  affectedOperations: z.ZodNumber;
1946
1958
  outstandingOperations: z.ZodNumber;
@@ -2306,6 +2318,7 @@ declare class GetDiagnosticProblemQueue extends AbstractApiRequest<typeof emptyI
2306
2318
 
2307
2319
  declare const emptyInputSchema$3: z.ZodUndefined;
2308
2320
  declare const diagnosticProblemsQuerySchema: z.ZodObject<{
2321
+ day: z.ZodOptional<z.ZodLiteral<"today">>;
2309
2322
  page: z.ZodOptional<z.ZodNumber>;
2310
2323
  itemsPerPage: z.ZodOptional<z.ZodNumber>;
2311
2324
  state: z.ZodOptional<z.ZodEnum<{
@@ -2792,6 +2805,7 @@ declare class GetDiagnosticProblems extends AbstractApiRequest<typeof emptyInput
2792
2805
  }, z.core.$strip>;
2793
2806
  readonly paginationDefaultEnabled = true;
2794
2807
  readonly querySchema: z.ZodObject<{
2808
+ day: z.ZodOptional<z.ZodLiteral<"today">>;
2795
2809
  page: z.ZodOptional<z.ZodNumber>;
2796
2810
  itemsPerPage: z.ZodOptional<z.ZodNumber>;
2797
2811
  state: z.ZodOptional<z.ZodEnum<{
package/dist/index.js CHANGED
@@ -1805,6 +1805,12 @@ var diagnosticProblemSummarySchema = z7.object({
1805
1805
  });
1806
1806
  var diagnosticOverviewSchema = z7.object({
1807
1807
  pointOfSaleId: diagnosticIdSchema,
1808
+ daily: z7.object({
1809
+ day: z7.string().regex(/^\d{4}-\d{2}-\d{2}$/),
1810
+ timezone: z7.string(),
1811
+ today: count,
1812
+ past: count
1813
+ }).nullish(),
1808
1814
  openProblems: count,
1809
1815
  affectedOperations: count,
1810
1816
  outstandingOperations: count,
@@ -2215,6 +2221,7 @@ import { createPaginatedSchema as createPaginatedSchema2 } from "@deliverart/sdk
2215
2221
  import { z as z19 } from "zod";
2216
2222
  var emptyInputSchema9 = z19.undefined();
2217
2223
  var diagnosticProblemsQuerySchema = z19.object({
2224
+ day: z19.literal("today").optional(),
2218
2225
  page: z19.number().int().min(1).max(1e5).optional(),
2219
2226
  itemsPerPage: z19.number().int().min(1).max(100).optional(),
2220
2227
  state: z19.enum(["open", "resolved", "all"]).optional(),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deliverart/sdk-js-integration-diagnostics",
3
3
  "description": "Shared integration diagnostics, verification and explicit recovery contracts",
4
- "version": "2.42.0",
4
+ "version": "2.43.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -19,8 +19,8 @@
19
19
  ],
20
20
  "dependencies": {
21
21
  "zod": "4.3.5",
22
- "@deliverart/sdk-js-core": "2.42.0",
23
- "@deliverart/sdk-js-global-types": "2.42.0"
22
+ "@deliverart/sdk-js-global-types": "2.43.0",
23
+ "@deliverart/sdk-js-core": "2.43.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@vitest/coverage-v8": "4.1.11",