@nzyme/apis 0.13.0 → 0.15.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.
@@ -1,30 +1,56 @@
1
+ /** DHL parcel pick-up point returned by the DHL ServicePoint API. */
1
2
  export interface DhlPickUpPoint {
3
+ /** Unique identifier of the pick-up point. */
2
4
  id: string;
5
+ /** Cross-system harmonised identifier used to reference this point across DHL platforms. */
3
6
  harmonisedId: string;
7
+ /** Parcel-shop finder key used internally by DHL to look up this location. */
4
8
  psfKey: string;
9
+ /** Type of pick-up location, e.g. "parcelShop", "locker", or "postOffice". */
5
10
  shopType: string;
11
+ /** Human-readable name of the pick-up point. */
6
12
  name: string;
13
+ /** Search keyword associated with this pick-up point for discovery purposes. */
7
14
  keyword: string;
15
+ /** Physical address of the pick-up point. */
8
16
  address: {
17
+ /** ISO 3166-1 alpha-2 country code. */
9
18
  countryCode: string;
19
+ /** ZIP / postal code (legacy field, prefer `postalCode`). */
10
20
  zipCode: string;
21
+ /** City name. */
11
22
  city: string;
23
+ /** Street name. */
12
24
  street: string;
25
+ /** Street / building number. */
13
26
  number: string;
27
+ /** Whether the address is a business location. */
14
28
  isBusiness: boolean;
29
+ /** Postal code of the address. */
15
30
  postalCode: string;
31
+ /** Additional address information such as floor or unit. */
16
32
  addition?: string;
17
33
  };
34
+ /** Geographic coordinates of the pick-up point. */
18
35
  geoLocation: {
36
+ /** Latitude in decimal degrees. */
19
37
  latitude: number;
38
+ /** Longitude in decimal degrees. */
20
39
  longitude: number;
21
40
  };
41
+ /** Distance from the searched location in metres. */
22
42
  distance: number;
43
+ /** Weekly opening-hours schedule for the pick-up point. */
23
44
  openingTimes: {
45
+ /** Opening time in HH:mm format. */
24
46
  timeFrom: string;
47
+ /** Closing time in HH:mm format. */
25
48
  timeTo: string;
49
+ /** Day of the week (1 = Monday, 7 = Sunday). */
26
50
  weekDay: number;
27
51
  }[];
52
+ /** Periods during which the pick-up point is closed. */
28
53
  closurePeriods: [];
54
+ /** DHL service types available at this pick-up point. */
29
55
  serviceTypes: string[];
30
56
  }
@@ -15,4 +15,4 @@ export interface DhlPickupPointGetParams {
15
15
  /**
16
16
  * Get a DHL pickup point.
17
17
  */
18
- export declare const DhlPickupPointGet: import("@nzyme/fetch-utils").Endpoint<DhlPickupPointGetParams, DhlPickUpPoint | null>;
18
+ export declare const DhlPickupPointGet: import("@nzyme/fetch-utils/defineEndpoint.js").Endpoint<DhlPickupPointGetParams, DhlPickUpPoint | null>;
@@ -1,4 +1,5 @@
1
- import { defineEndpoint, jsonNullableResponse } from '@nzyme/fetch-utils';
1
+ import { defineEndpoint } from '@nzyme/fetch-utils/defineEndpoint.js';
2
+ import { jsonNullableResponse } from '@nzyme/fetch-utils/jsonNullableResponse.js';
2
3
  /**
3
4
  * Get a DHL pickup point.
4
5
  */
@@ -6,6 +7,6 @@ export const DhlPickupPointGet = defineEndpoint({
6
7
  request: (params) => ({
7
8
  url: `https://api-gw.dhlparcel.nl/parcel-shop-locations/${params.country}/${params.id}`,
8
9
  }),
9
- response: (jsonNullableResponse),
10
+ response: jsonNullableResponse,
10
11
  });
11
12
  //# sourceMappingURL=DhlPickUpPointGet.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DhlPickUpPointGet.js","sourceRoot":"","sources":["../../src/dhl/DhlPickUpPointGet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAkB1E;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,cAAc,CAAC;IAC5C,OAAO,EAAE,CAAC,MAA+B,EAAE,EAAE,CAAC,CAAC;QAC3C,GAAG,EAAE,qDAAqD,MAAM,CAAC,OAAO,IAAI,MAAM,CAAC,EAAE,EAAE;KAC1F,CAAC;IACF,QAAQ,EAAE,CAAA,oBAAoC,CAAA;CACjD,CAAC,CAAC"}
1
+ {"version":3,"file":"DhlPickUpPointGet.js","sourceRoot":"","sources":["../../src/dhl/DhlPickUpPointGet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAkBlF;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,cAAc,CAAC;IAC5C,OAAO,EAAE,CAAC,MAA+B,EAAE,EAAE,CAAC,CAAC;QAC3C,GAAG,EAAE,qDAAqD,MAAM,CAAC,OAAO,IAAI,MAAM,CAAC,EAAE,EAAE;KAC1F,CAAC;IACF,QAAQ,EAAE,oBAAoC;CACjD,CAAC,CAAC"}
@@ -31,4 +31,4 @@ export interface DhlPickupPointListParams {
31
31
  /**
32
32
  * List DHL pickup points.
33
33
  */
34
- export declare const DhlPickupPointList: import("@nzyme/fetch-utils").Endpoint<DhlPickupPointListParams, DhlPickUpPoint[] | null>;
34
+ export declare const DhlPickupPointList: import("@nzyme/fetch-utils/defineEndpoint.js").Endpoint<DhlPickupPointListParams, DhlPickUpPoint[] | null>;
@@ -1,4 +1,5 @@
1
- import { defineEndpoint, jsonNullableResponse } from '@nzyme/fetch-utils';
1
+ import { defineEndpoint } from '@nzyme/fetch-utils/defineEndpoint.js';
2
+ import { jsonNullableResponse } from '@nzyme/fetch-utils/jsonNullableResponse.js';
2
3
  /**
3
4
  * List DHL pickup points.
4
5
  */
@@ -13,6 +14,6 @@ export const DhlPickupPointList = defineEndpoint({
13
14
  fuzzy: params.fuzzy,
14
15
  },
15
16
  }),
16
- response: (jsonNullableResponse),
17
+ response: jsonNullableResponse,
17
18
  });
18
19
  //# sourceMappingURL=DhlPickUpPointList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DhlPickUpPointList.js","sourceRoot":"","sources":["../../src/dhl/DhlPickUpPointList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAkC1E;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAc,CAAC;IAC7C,OAAO,EAAE,CAAC,MAAgC,EAAE,EAAE,CAAC,CAAC;QAC5C,GAAG,EAAE,qDAAqD,MAAM,CAAC,OAAO,EAAE;QAC1E,KAAK,EAAE;YACH,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,UAAU,EAAE,MAAM,CAAC,UAAU;YAC7B,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,KAAK,EAAE,MAAM,CAAC,KAAK;SACtB;KACJ,CAAC;IACF,QAAQ,EAAE,CAAA,oBAAsC,CAAA;CACnD,CAAC,CAAC"}
1
+ {"version":3,"file":"DhlPickUpPointList.js","sourceRoot":"","sources":["../../src/dhl/DhlPickUpPointList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAkClF;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAc,CAAC;IAC7C,OAAO,EAAE,CAAC,MAAgC,EAAE,EAAE,CAAC,CAAC;QAC5C,GAAG,EAAE,qDAAqD,MAAM,CAAC,OAAO,EAAE;QAC1E,KAAK,EAAE;YACH,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,UAAU,EAAE,MAAM,CAAC,UAAU;YAC7B,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,KAAK,EAAE,MAAM,CAAC,KAAK;SACtB;KACJ,CAAC;IACF,QAAQ,EAAE,oBAAsC;CACnD,CAAC,CAAC"}
@@ -1,42 +1,76 @@
1
- import type { DateTimeISO } from '@nzyme/types';
1
+ import type { DateTimeISO } from '@nzyme/types/Date.js';
2
+ /** High-level shipment tracking status used by the DHL Tracking API. */
2
3
  export type DhlTrackingStatus = 'delivered' | 'failure' | 'pre-transit' | 'transit' | 'unknown';
4
+ /** Physical or service-point location associated with a tracking event. */
3
5
  export type DhlTrackingLocation = {
6
+ /** Street address of the location. */
4
7
  address?: {
8
+ /** City or locality name. */
5
9
  addressLocality?: string;
10
+ /** Servicing locality when it differs from the destination locality. */
6
11
  addressLocalityServicing?: string;
12
+ /** State or region name. */
7
13
  addressRegion?: string;
14
+ /** ISO 3166-1 alpha-2 country code. */
8
15
  countryCode?: string;
16
+ /** Postal code. */
9
17
  postalCode?: string;
18
+ /** Full street address line. */
10
19
  streetAddress?: string;
11
20
  };
21
+ /** DHL service point where the shipment can be collected. */
12
22
  servicePoint?: {
23
+ /** URL with details about the service point. */
13
24
  url: string;
25
+ /** Human-readable label for the service point. */
14
26
  label: string;
15
27
  };
16
28
  };
29
+ /** Single tracking event in a shipment's journey. */
17
30
  export type DhlTrackingEvent = {
31
+ /** ISO 8601 timestamp of when the event occurred. */
18
32
  timestamp: DateTimeISO;
33
+ /** Location where the event took place. */
19
34
  location: DhlTrackingLocation;
35
+ /** Machine-readable status code for this event. */
20
36
  statusCode: DhlTrackingStatus;
37
+ /** Short human-readable status label. */
21
38
  status: string;
39
+ /** Detailed description of the tracking event. */
22
40
  description: string;
41
+ /** Optional remark providing additional context. */
23
42
  remark?: string;
43
+ /** Suggested next steps for the recipient, if any. */
24
44
  nextSteps?: string;
25
45
  };
46
+ /** Root response object returned by the DHL Shipment Tracking API. */
26
47
  export type DhlTrackingInfo = {
48
+ /** List of shipments matching the tracking query. */
27
49
  shipments: {
50
+ /** Shipment tracking identifier. */
28
51
  id: string;
52
+ /** DHL service product name (e.g. "express", "parcel"). */
29
53
  service: string;
54
+ /** Origin location of the shipment. */
30
55
  origin: DhlTrackingLocation;
56
+ /** Destination location of the shipment. */
31
57
  destination: DhlTrackingLocation;
58
+ /** Most recent tracking event representing current status. */
32
59
  status: DhlTrackingEvent;
60
+ /** Additional shipment details (structure varies by service). */
33
61
  details: unknown;
62
+ /** Chronological list of all tracking events. */
34
63
  events: DhlTrackingEvent[];
35
64
  }[];
36
65
  };
66
+ /** Parameters required to call the DHL Shipment Tracking API. */
37
67
  export type DhlTrackingGetParams = {
68
+ /** DHL shipment tracking number. */
38
69
  trackingNumber: string;
70
+ /** DHL developer API key for authentication. */
39
71
  apiKey: string;
72
+ /** Base URL of the DHL Tracking API. */
40
73
  apiUrl: string;
41
74
  };
42
- export declare const DhlTrackingGet: import("@nzyme/fetch-utils").Endpoint<DhlTrackingGetParams, DhlTrackingInfo>;
75
+ /** Endpoint definition for fetching DHL shipment tracking information. */
76
+ export declare const DhlTrackingGet: import("@nzyme/fetch-utils/defineEndpoint.js").Endpoint<DhlTrackingGetParams, DhlTrackingInfo>;
@@ -1,5 +1,7 @@
1
- import { defineEndpoint, jsonResponse } from '@nzyme/fetch-utils';
1
+ import { defineEndpoint } from '@nzyme/fetch-utils/defineEndpoint.js';
2
+ import { jsonResponse } from '@nzyme/fetch-utils/jsonResponse.js';
2
3
  // https://developer.dhl.com/api-reference/shipment-tracking#reference-docs-section
4
+ /** Endpoint definition for fetching DHL shipment tracking information. */
3
5
  export const DhlTrackingGet = defineEndpoint({
4
6
  request: (params) => ({
5
7
  url: `${params.apiUrl}/track/shipments`,
@@ -8,6 +10,6 @@ export const DhlTrackingGet = defineEndpoint({
8
10
  'DHL-API-Key': params.apiKey,
9
11
  },
10
12
  }),
11
- response: (jsonResponse),
13
+ response: jsonResponse,
12
14
  });
13
15
  //# sourceMappingURL=DhlTrackingGet.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DhlTrackingGet.js","sourceRoot":"","sources":["../../src/dhl/DhlTrackingGet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAgDlE,mFAAmF;AACnF,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CAAC;IACzC,OAAO,EAAE,CAAC,MAA4B,EAAE,EAAE,CAAC,CAAC;QACxC,GAAG,EAAE,GAAG,MAAM,CAAC,MAAM,kBAAkB;QACvC,KAAK,EAAE,MAAM;QACb,OAAO,EAAE;YACL,aAAa,EAAE,MAAM,CAAC,MAAM;SAC/B;KACJ,CAAC;IACF,QAAQ,EAAE,CAAA,YAA6B,CAAA;CAC1C,CAAC,CAAC"}
1
+ {"version":3,"file":"DhlTrackingGet.js","sourceRoot":"","sources":["../../src/dhl/DhlTrackingGet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAiFlE,mFAAmF;AACnF,0EAA0E;AAC1E,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CAAC;IACzC,OAAO,EAAE,CAAC,MAA4B,EAAE,EAAE,CAAC,CAAC;QACxC,GAAG,EAAE,GAAG,MAAM,CAAC,MAAM,kBAAkB;QACvC,KAAK,EAAE,MAAM;QACb,OAAO,EAAE;YACL,aAAa,EAAE,MAAM,CAAC,MAAM;SAC/B;KACJ,CAAC;IACF,QAAQ,EAAE,YAA6B;CAC1C,CAAC,CAAC"}
@@ -106,4 +106,4 @@ export interface GeocodingInput {
106
106
  /**
107
107
  * Geocode endpoint
108
108
  */
109
- export declare const GeocodeEndpoint: import("@nzyme/fetch-utils").Endpoint<GeocodingInput, GeocodingResult>;
109
+ export declare const GeocodeEndpoint: import("@nzyme/fetch-utils/defineEndpoint.js").Endpoint<GeocodingInput, GeocodingResult>;
@@ -1,4 +1,5 @@
1
- import { defineEndpoint, jsonResponse } from '@nzyme/fetch-utils';
1
+ import { defineEndpoint } from '@nzyme/fetch-utils/defineEndpoint.js';
2
+ import { jsonResponse } from '@nzyme/fetch-utils/jsonResponse.js';
2
3
  /**
3
4
  * Geocode endpoint
4
5
  */
@@ -16,7 +17,7 @@ export const GeocodeEndpoint = defineEndpoint({
16
17
  apiKey: input.apiKey,
17
18
  },
18
19
  }),
19
- response: (jsonResponse),
20
+ response: jsonResponse,
20
21
  });
21
22
  function getQualifiedQuery(query) {
22
23
  let qq = '';
@@ -1 +1 @@
1
- {"version":3,"file":"GeocodeEndpoint.js","sourceRoot":"","sources":["../../src/heremaps/GeocodeEndpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAqHlE;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC;IAC1C,OAAO,EAAE,CAAC,KAAqB,EAAE,EAAE,CAAC,CAAC;QACjC,GAAG,EAAE,+CAA+C;QACpD,KAAK,EAAE;YACH,EAAE,EAAE,iBAAiB,CAAC;gBAClB,OAAO,EAAE,KAAK,CAAC,OAAO;gBACtB,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,UAAU,EAAE,KAAK,CAAC,UAAU;aAC/B,CAAC;YACF,CAAC,EAAE,KAAK,CAAC,MAAM;YACf,KAAK,EAAE,KAAK,CAAC,KAAK,IAAI,GAAG;YACzB,MAAM,EAAE,KAAK,CAAC,MAAM;SACvB;KACJ,CAAC;IACF,QAAQ,EAAE,CAAA,YAA6B,CAAA;CAC1C,CAAC,CAAC;AAEH,SAAS,iBAAiB,CAAC,KAAyC;IAChE,IAAI,EAAE,GAAG,EAAE,CAAC;IAEZ,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAC/C,IAAI,CAAC,KAAK,EAAE,CAAC;YACT,SAAS;QACb,CAAC;QAED,IAAI,EAAE,EAAE,CAAC;YACL,EAAE,IAAI,GAAG,CAAC;QACd,CAAC;QAED,0DAA0D;QAC1D,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;QAEzC,EAAE,IAAI,GAAG,GAAG,IAAI,OAAO,EAAE,CAAC;IAC9B,CAAC;IAED,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAClB,OAAO,SAAS,CAAC;IACrB,CAAC;IAED,OAAO,EAAE,CAAC;AACd,CAAC"}
1
+ {"version":3,"file":"GeocodeEndpoint.js","sourceRoot":"","sources":["../../src/heremaps/GeocodeEndpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAqHlE;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC;IAC1C,OAAO,EAAE,CAAC,KAAqB,EAAE,EAAE,CAAC,CAAC;QACjC,GAAG,EAAE,+CAA+C;QACpD,KAAK,EAAE;YACH,EAAE,EAAE,iBAAiB,CAAC;gBAClB,OAAO,EAAE,KAAK,CAAC,OAAO;gBACtB,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,UAAU,EAAE,KAAK,CAAC,UAAU;aAC/B,CAAC;YACF,CAAC,EAAE,KAAK,CAAC,MAAM;YACf,KAAK,EAAE,KAAK,CAAC,KAAK,IAAI,GAAG;YACzB,MAAM,EAAE,KAAK,CAAC,MAAM;SACvB;KACJ,CAAC;IACF,QAAQ,EAAE,YAA6B;CAC1C,CAAC,CAAC;AAEH,SAAS,iBAAiB,CAAC,KAAyC;IAChE,IAAI,EAAE,GAAG,EAAE,CAAC;IAEZ,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAC/C,IAAI,CAAC,KAAK,EAAE,CAAC;YACT,SAAS;QACb,CAAC;QAED,IAAI,EAAE,EAAE,CAAC;YACL,EAAE,IAAI,GAAG,CAAC;QACd,CAAC;QAED,0DAA0D;QAC1D,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;QAEzC,EAAE,IAAI,GAAG,GAAG,IAAI,OAAO,EAAE,CAAC;IAC9B,CAAC;IAED,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAClB,OAAO,SAAS,CAAC;IACrB,CAAC;IAED,OAAO,EAAE,CAAC;AACd,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export type * from './inpost.js';
2
1
  export type * from './dhl.js';
2
+ export type * from './inpost.js';
@@ -2,6 +2,6 @@ import type { InpostPointData } from './models/InpostPointData.js';
2
2
  /**
3
3
  * Get a single Inpost point by name.
4
4
  */
5
- export declare const InpostPointGet: import("@nzyme/fetch-utils").Endpoint<{
5
+ export declare const InpostPointGet: import("@nzyme/fetch-utils/defineEndpoint.js").Endpoint<{
6
6
  pointName: string;
7
7
  }, InpostPointData | null>;
@@ -1,4 +1,4 @@
1
- import { defineEndpoint } from '@nzyme/fetch-utils';
1
+ import { defineEndpoint } from '@nzyme/fetch-utils/defineEndpoint.js';
2
2
  import { INPOST_API_URL } from './constants.js';
3
3
  /**
4
4
  * Get a single Inpost point by name.
@@ -12,7 +12,7 @@ export const InpostPointGet = defineEndpoint({
12
12
  return null;
13
13
  }
14
14
  const json = (await response.json());
15
- if (json.status.toString() === '404') {
15
+ if (json.status === '404') {
16
16
  return null;
17
17
  }
18
18
  return json;
@@ -1 +1 @@
1
- {"version":3,"file":"InpostPointGet.js","sourceRoot":"","sources":["../../src/inpost/InpostPointGet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CAAC;IACzC,OAAO,EAAE,CAAC,MAA6B,EAAE,EAAE,CAAC,CAAC;QACzC,GAAG,EAAE,GAAG,cAAc,cAAc,MAAM,CAAC,SAAS,CAAC,WAAW,EAAE,EAAE;KACvE,CAAC;IACF,QAAQ,EAAE,KAAK,EAAC,QAAQ,EAAC,EAAE;QACvB,IAAI,QAAQ,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;YAC1B,OAAO,IAAI,CAAC;QAChB,CAAC;QAED,MAAM,IAAI,GAAG,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAoB,CAAC;QACxD,IAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,KAAK,KAAK,EAAE,CAAC;YACnC,OAAO,IAAI,CAAC;QAChB,CAAC;QAED,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"InpostPointGet.js","sourceRoot":"","sources":["../../src/inpost/InpostPointGet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAEtE,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,cAAc,CAAC;IACzC,OAAO,EAAE,CAAC,MAA6B,EAAE,EAAE,CAAC,CAAC;QACzC,GAAG,EAAE,GAAG,cAAc,cAAc,MAAM,CAAC,SAAS,CAAC,WAAW,EAAE,EAAE;KACvE,CAAC;IACF,QAAQ,EAAE,KAAK,EAAC,QAAQ,EAAC,EAAE;QACvB,IAAI,QAAQ,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;YAC1B,OAAO,IAAI,CAAC;QAChB,CAAC;QAED,MAAM,IAAI,GAAG,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAoB,CAAC;QACxD,IAAI,IAAI,CAAC,MAAM,KAAK,KAAK,EAAE,CAAC;YACxB,OAAO,IAAI,CAAC;QAChB,CAAC;QAED,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ,CAAC,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import type { InpostPointData } from './models/InpostPointData.js';
2
- type InpostPointFunction = 'parcel_collect' | 'parcel_send';
3
2
  /**
4
3
  * Parameters for the Inpost point list endpoint.
5
4
  */
@@ -33,10 +32,11 @@ export type InpostPointListParams = {
33
32
  */
34
33
  relativePostCode?: string;
35
34
  };
35
+ type InpostPointFunction = 'parcel_collect' | 'parcel_send';
36
36
  /**
37
37
  * Get a list of Inpost points.
38
38
  */
39
- export declare const InpostPointList: import("@nzyme/fetch-utils").Endpoint<InpostPointListParams, {
39
+ export declare const InpostPointList: import("@nzyme/fetch-utils/defineEndpoint.js").Endpoint<InpostPointListParams, {
40
40
  items: InpostPointData[];
41
41
  } | null>;
42
42
  export {};
@@ -1,4 +1,5 @@
1
- import { defineEndpoint, jsonNullableResponse } from '@nzyme/fetch-utils';
1
+ import { defineEndpoint } from '@nzyme/fetch-utils/defineEndpoint.js';
2
+ import { jsonNullableResponse } from '@nzyme/fetch-utils/jsonNullableResponse.js';
2
3
  import { INPOST_API_URL } from './constants.js';
3
4
  /**
4
5
  * Get a list of Inpost points.
@@ -16,6 +17,6 @@ export const InpostPointList = defineEndpoint({
16
17
  relative_post_code: params.relativePostCode,
17
18
  },
18
19
  }),
19
- response: (jsonNullableResponse),
20
+ response: jsonNullableResponse,
20
21
  });
21
22
  //# sourceMappingURL=InpostPointList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InpostPointList.js","sourceRoot":"","sources":["../../src/inpost/InpostPointList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1E,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAuChD;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC;IAC1C,OAAO,EAAE,CAAC,MAA6B,EAAE,EAAE,CAAC,CAAC;QACzC,GAAG,EAAE,GAAG,cAAc,YAAY;QAClC,KAAK,EAAE;YACH,UAAU,EAAE,MAAM,CAAC,SAAS;YAC5B,OAAO,EAAE,MAAM,CAAC,MAAM;YACtB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,CAAC;YAChC,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,SAAS,EAAE,MAAM,CAAC,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC;YACtC,cAAc,EAAE,MAAM,CAAC,aAAa;YACpC,kBAAkB,EAAE,MAAM,CAAC,gBAAgB;SAC9C;KACJ,CAAC;IACF,QAAQ,EAAE,CAAA,oBAAkD,CAAA;CAC/D,CAAC,CAAC"}
1
+ {"version":3,"file":"InpostPointList.js","sourceRoot":"","sources":["../../src/inpost/InpostPointList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAElF,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAuChD;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC;IAC1C,OAAO,EAAE,CAAC,MAA6B,EAAE,EAAE,CAAC,CAAC;QACzC,GAAG,EAAE,GAAG,cAAc,YAAY;QAClC,KAAK,EAAE;YACH,UAAU,EAAE,MAAM,CAAC,SAAS;YAC5B,OAAO,EAAE,MAAM,CAAC,MAAM;YACtB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,CAAC;YAChC,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,SAAS,EAAE,MAAM,CAAC,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC;YACtC,cAAc,EAAE,MAAM,CAAC,aAAa;YACpC,kBAAkB,EAAE,MAAM,CAAC,gBAAgB;SAC9C;KACJ,CAAC;IACF,QAAQ,EAAE,oBAAkD;CAC/D,CAAC,CAAC"}
@@ -2,6 +2,6 @@ import type { InpostTrackingData } from './models/InpostTrackingData.js';
2
2
  /**
3
3
  * Get Inpost tracking data by tracking number.
4
4
  */
5
- export declare const InpostTrackingGet: import("@nzyme/fetch-utils").Endpoint<{
5
+ export declare const InpostTrackingGet: import("@nzyme/fetch-utils/defineEndpoint.js").Endpoint<{
6
6
  trackingNumber: string;
7
7
  }, InpostTrackingData | null>;
@@ -1,4 +1,5 @@
1
- import { defineEndpoint, jsonNullableResponse } from '@nzyme/fetch-utils';
1
+ import { defineEndpoint } from '@nzyme/fetch-utils/defineEndpoint.js';
2
+ import { jsonNullableResponse } from '@nzyme/fetch-utils/jsonNullableResponse.js';
2
3
  import { INPOST_API_URL } from './constants.js';
3
4
  /**
4
5
  * Get Inpost tracking data by tracking number.
@@ -7,6 +8,6 @@ export const InpostTrackingGet = defineEndpoint({
7
8
  request: (params) => ({
8
9
  url: `${INPOST_API_URL}/v1/tracking/${params.trackingNumber}`,
9
10
  }),
10
- response: (jsonNullableResponse),
11
+ response: jsonNullableResponse,
11
12
  });
12
13
  //# sourceMappingURL=InpostTrackingGet.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InpostTrackingGet.js","sourceRoot":"","sources":["../../src/inpost/InpostTrackingGet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1E,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,cAAc,CAAC;IAC5C,OAAO,EAAE,CAAC,MAAkC,EAAE,EAAE,CAAC,CAAC;QAC9C,GAAG,EAAE,GAAG,cAAc,gBAAgB,MAAM,CAAC,cAAc,EAAE;KAChE,CAAC;IACF,QAAQ,EAAE,CAAA,oBAAwC,CAAA;CACrD,CAAC,CAAC"}
1
+ {"version":3,"file":"InpostTrackingGet.js","sourceRoot":"","sources":["../../src/inpost/InpostTrackingGet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAElF,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,cAAc,CAAC;IAC5C,OAAO,EAAE,CAAC,MAAkC,EAAE,EAAE,CAAC,CAAC;QAC9C,GAAG,EAAE,GAAG,cAAc,gBAAgB,MAAM,CAAC,cAAc,EAAE;KAChE,CAAC;IACF,QAAQ,EAAE,oBAAwC;CACrD,CAAC,CAAC"}
@@ -1,41 +1,78 @@
1
+ /** InPost parcel locker or pick-up point data returned by the InPost Points API. */
1
2
  export interface InpostPointData {
3
+ /** Unique machine/point name identifier (e.g. "KRA01A"). */
2
4
  name: string;
5
+ /** Structured address details of the point. */
3
6
  address_details: {
7
+ /** City where the point is located. */
4
8
  city: string;
9
+ /** Street name. */
5
10
  street: string;
6
- building_number: string | number;
7
- flat_number: string | number;
11
+ /** Building number. */
12
+ building_number: number | string;
13
+ /** Flat or unit number within the building. */
14
+ flat_number: number | string;
8
15
  };
16
+ /** Distance from the searched location in metres, or null if not applicable. */
9
17
  distance: number | null;
18
+ /** API URL for fetching full details of this point. */
10
19
  href: string;
20
+ /** Types of service available at this point (e.g. "parcel_locker", "pop"). */
11
21
  type: string[];
22
+ /** Operational status of the point (e.g. "Operating", "NonOperating"). */
12
23
  status: string;
24
+ /** Geographic coordinates of the point. */
13
25
  location: {
26
+ /** Longitude in decimal degrees. */
14
27
  longitude: number;
28
+ /** Latitude in decimal degrees. */
15
29
  latitude: number;
16
30
  };
31
+ /** Category of the physical location (e.g. "outdoor", "indoor"), or null if unknown. */
17
32
  location_type: string | null;
33
+ /** Date when the point was installed or last relocated, or null if unavailable. */
18
34
  location_date: string | null;
35
+ /** Primary description of how to find the point. */
19
36
  location_description: string | null;
37
+ /** Additional location guidance (first supplementary line). */
20
38
  location_description_1: string | null;
39
+ /** Additional location guidance (second supplementary line). */
21
40
  location_description_2: string | null;
41
+ /** Human-readable opening hours string, or null for 24/7 points. */
22
42
  opening_hours: string | null;
43
+ /** Formatted address lines for display purposes. */
23
44
  address: {
45
+ /** First address line (typically street and number). */
24
46
  line1: string | null;
47
+ /** Second address line (typically postal code and city). */
25
48
  line2: string | null;
26
49
  };
50
+ /** Contact phone number for the point, or null if unavailable. */
27
51
  phone_number: string | null;
52
+ /** Description of the associated payment point, or null if none. */
28
53
  payment_point_descr: string | null;
54
+ /** Supported functions at this point (e.g. "parcel_send", "parcel_collect"). */
29
55
  functions: string[];
56
+ /** Identifier of the partner operating this point. */
30
57
  partner_id: number;
58
+ /** Whether this is a next-generation InPost point. */
31
59
  is_next: boolean;
60
+ /** Whether payment on delivery is available at this point. */
32
61
  payment_available: boolean;
62
+ /** Payment type configuration (structure varies). */
33
63
  payment_type: unknown;
64
+ /** Virtual point identifier, or null for physical locations. */
34
65
  virtual: string | null;
66
+ /** List of recommended nearby locker machines with lower demand. */
35
67
  recommended_low_interest_box_machines_list: string[];
68
+ /** Information about doubled APM capacity (structure varies). */
36
69
  apm_doubled: unknown;
70
+ /** Whether the point operates 24 hours a day, 7 days a week. */
37
71
  location_247: boolean;
72
+ /** Extended operating hours configuration (structure varies). */
38
73
  operating_hours_extended: unknown;
74
+ /** Agency identifier if the point is operated by a third-party agent, or null. */
39
75
  agency: string | null;
76
+ /** URL to an image of the point location, or null if unavailable. */
40
77
  image_url: string | null;
41
78
  }
@@ -1 +1,2 @@
1
- export type InpostStatus = 'created' | 'offers_prepared' | 'offer_selected' | 'confirmed' | 'dispatched_by_sender' | 'collected_from_sender' | 'taken_by_courier' | 'adopted_at_source_branch' | 'sent_from_source_branch' | 'ready_to_pickup_from_pok' | 'ready_to_pickup_from_pok_registered' | 'oversized' | 'adopted_at_sorting_center' | 'sent_from_sorting_center' | 'adopted_at_target_branch' | 'out_for_delivery' | 'ready_to_pickup' | 'pickup_reminder_sent' | 'delivered' | 'pickup_time_expired' | 'avizo' | 'claimed' | 'returned_to_sender' | 'canceled' | 'other' | 'dispatched_by_sender_to_pok' | 'out_for_delivery_to_address' | 'pickup_reminder_sent_address' | 'rejected_by_receiver' | 'undelivered_wrong_address' | 'undelivered_incomplete_address' | 'undelivered_unknown_receiver' | 'undelivered_cod_cash_receiver' | 'taken_by_courier_from_pok' | 'undelivered' | 'return_pickup_confirmation_to_sender' | 'ready_to_pickup_from_branch' | 'delay_in_delivery' | 'redirect_to_box' | 'canceled_redirect_to_box' | 'readdressed' | 'undelivered_no_mailbox' | 'undelivered_not_live_address' | 'undelivered_lack_of_access_letterbox' | 'missing' | 'stack_in_customer_service_point' | 'stack_parcel_pickup_time_expired' | 'unstack_from_customer_service_point' | 'courier_avizo_in_customer_service_point' | 'taken_by_courier_from_customer_service_point' | 'stack_in_box_machine' | 'unstack_from_box_machine' | 'stack_parcel_in_box_machine_pickup_time_expired';
1
+ /** Union of all possible InPost parcel tracking status codes. */
2
+ export type InpostStatus = 'adopted_at_sorting_center' | 'adopted_at_source_branch' | 'adopted_at_target_branch' | 'avizo' | 'canceled' | 'canceled_redirect_to_box' | 'claimed' | 'collected_from_sender' | 'confirmed' | 'courier_avizo_in_customer_service_point' | 'created' | 'delay_in_delivery' | 'delivered' | 'dispatched_by_sender' | 'dispatched_by_sender_to_pok' | 'missing' | 'offer_selected' | 'offers_prepared' | 'other' | 'out_for_delivery' | 'out_for_delivery_to_address' | 'oversized' | 'pickup_reminder_sent' | 'pickup_reminder_sent_address' | 'pickup_time_expired' | 'readdressed' | 'ready_to_pickup' | 'ready_to_pickup_from_branch' | 'ready_to_pickup_from_pok' | 'ready_to_pickup_from_pok_registered' | 'redirect_to_box' | 'rejected_by_receiver' | 'return_pickup_confirmation_to_sender' | 'returned_to_sender' | 'sent_from_sorting_center' | 'sent_from_source_branch' | 'stack_in_box_machine' | 'stack_in_customer_service_point' | 'stack_parcel_in_box_machine_pickup_time_expired' | 'stack_parcel_pickup_time_expired' | 'taken_by_courier' | 'taken_by_courier_from_customer_service_point' | 'taken_by_courier_from_pok' | 'undelivered' | 'undelivered_cod_cash_receiver' | 'undelivered_incomplete_address' | 'undelivered_lack_of_access_letterbox' | 'undelivered_no_mailbox' | 'undelivered_not_live_address' | 'undelivered_unknown_receiver' | 'undelivered_wrong_address' | 'unstack_from_box_machine' | 'unstack_from_customer_service_point';
@@ -1,38 +1,68 @@
1
- import type { DateTimeISO } from '@nzyme/types';
1
+ import type { DateTimeISO } from '@nzyme/types/Date.js';
2
2
  import type { InpostStatus } from './InpostStatus.js';
3
+ /** Tracking data for an InPost parcel shipment. */
3
4
  export type InpostTrackingData = {
5
+ /** InPost parcel tracking number. */
4
6
  tracking_number: string;
7
+ /** Name of the InPost service used (e.g. "inpost_locker_standard"). */
5
8
  service: string;
9
+ /** Shipment type identifier. */
6
10
  type: string;
11
+ /** Current tracking status of the parcel. */
7
12
  status: InpostStatus;
13
+ /** Service-specific attributes for this shipment. */
8
14
  custom_attributes: {
15
+ /** Parcel size class (e.g. "A", "B", "C"). */
9
16
  size: string;
17
+ /** Identifier of the target locker machine for delivery. */
10
18
  target_machine_id: string;
19
+ /** Detailed information about the target locker machine. */
11
20
  target_machine_detail: {
21
+ /** Human-readable name of the locker machine. */
12
22
  name: string;
23
+ /** Opening hours of the locker machine. */
13
24
  opening_hours: string;
25
+ /** Description of how to find the locker machine. */
14
26
  location_description: string;
27
+ /** Geographic coordinates of the locker machine. */
15
28
  location: {
29
+ /** Latitude in decimal degrees. */
16
30
  latitude: number;
31
+ /** Longitude in decimal degrees. */
17
32
  longitude: number;
18
33
  };
34
+ /** Formatted address of the locker machine. */
19
35
  address: {
36
+ /** First address line (street and number). */
20
37
  line1: string;
38
+ /** Second address line (postal code and city). */
21
39
  line2: string;
22
40
  };
41
+ /** Types of service supported by this machine. */
23
42
  type: string[];
43
+ /** Whether the machine is accessible 24/7. */
24
44
  location247: boolean;
25
45
  };
46
+ /** Whether this parcel is scheduled for end-of-week collection. */
26
47
  end_of_week_collection: boolean;
27
48
  };
49
+ /** Chronological list of tracking events for this parcel. */
28
50
  tracking_details: {
51
+ /** Raw status string as returned by the InPost backend. */
29
52
  origin_status: string;
53
+ /** Normalised tracking status. */
30
54
  status: InpostStatus;
55
+ /** Agency handling the parcel at this stage, if applicable. */
31
56
  agency: null;
57
+ /** Location associated with this tracking event, if applicable. */
32
58
  location: null;
59
+ /** Timestamp of when this tracking event occurred. */
33
60
  datetime: DateTimeISO;
34
61
  }[];
62
+ /** Ordered list of statuses the parcel is expected to go through. */
35
63
  expected_flow: InpostStatus[];
64
+ /** Timestamp when the shipment record was created. */
36
65
  created_at: DateTimeISO;
66
+ /** Timestamp when the shipment record was last updated. */
37
67
  updated_at: DateTimeISO;
38
68
  };
package/dist/inpost.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export * from './inpost/InpostPointList.js';
2
1
  export * from './inpost/InpostPointGet.js';
2
+ export * from './inpost/InpostPointList.js';
3
3
  export * from './inpost/InpostTrackingGet.js';
4
4
  export * from './inpost/models/InpostPointData.js';
5
5
  export * from './inpost/models/InpostStatus.js';
package/dist/inpost.js CHANGED
@@ -1,5 +1,5 @@
1
- export * from './inpost/InpostPointList.js';
2
1
  export * from './inpost/InpostPointGet.js';
2
+ export * from './inpost/InpostPointList.js';
3
3
  export * from './inpost/InpostTrackingGet.js';
4
4
  export * from './inpost/models/InpostPointData.js';
5
5
  export * from './inpost/models/InpostStatus.js';
@@ -1 +1 @@
1
- {"version":3,"file":"inpost.js","sourceRoot":"","sources":["../src/inpost.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAE9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC"}
1
+ {"version":3,"file":"inpost.js","sourceRoot":"","sources":["../src/inpost.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC"}
package/package.json CHANGED
@@ -1,44 +1,20 @@
1
1
  {
2
2
  "name": "@nzyme/apis",
3
- "version": "0.13.0",
3
+ "version": "0.15.0",
4
+ "description": "Shipping carrier API clients and types (DHL, HERE Maps, InPost)",
5
+ "license": "MIT",
6
+ "author": "Michał Kędrzyński <m.kedrzynski@gmail.com>",
4
7
  "repository": {
5
8
  "type": "git",
6
9
  "url": "https://github.com/kedrzu/nzyme.git"
7
10
  },
8
- "license": "MIT",
9
- "author": "Michał Kędrzyński <m.kedrzynski@gmail.com>",
10
- "sideEffects": false,
11
+ "files": [
12
+ "dist"
13
+ ],
11
14
  "type": "module",
12
- "exports": {
13
- ".": {
14
- "import": {
15
- "types": "./dist/index.d.ts",
16
- "default": "./dist/index.js"
17
- },
18
- "require": {
19
- "types": "./dist/index.d.ts",
20
- "default": "./dist/index.cjs"
21
- },
22
- "default": {
23
- "types": "./dist/index.d.ts",
24
- "default": "./dist/index.js"
25
- }
26
- },
27
- "./*": {
28
- "import": {
29
- "types": "./dist/*.d.ts",
30
- "default": "./dist/*.js"
31
- },
32
- "require": {
33
- "types": "./dist/*.d.ts",
34
- "default": "./dist/*.cjs"
35
- },
36
- "default": {
37
- "types": "./dist/*.d.ts",
38
- "default": "./dist/*.js"
39
- }
40
- }
41
- },
15
+ "sideEffects": false,
16
+ "module": "./dist/index.js",
17
+ "types": "./dist/index.d.ts",
42
18
  "typesVersions": {
43
19
  "*": {
44
20
  "*": [
@@ -46,26 +22,32 @@
46
22
  ]
47
23
  }
48
24
  },
49
- "files": [
50
- "dist"
51
- ],
25
+ "exports": {
26
+ ".": {
27
+ "types": "./dist/index.d.ts",
28
+ "default": "./dist/index.js"
29
+ },
30
+ "./*.js": {
31
+ "types": "./dist/*.d.ts",
32
+ "import": "./dist/*.js",
33
+ "source": "./src/*.ts",
34
+ "default": "./dist/*.js"
35
+ }
36
+ },
37
+ "publishConfig": {
38
+ "access": "public"
39
+ },
52
40
  "scripts": {
53
- "lint": "eslint . --fix --cache"
41
+ "build": "tsgo --build tsconfig.esm.json",
42
+ "format": "oxfmt ./src > /dev/null"
54
43
  },
55
44
  "dependencies": {
56
- "@nzyme/fetch-utils": "^0.13.0",
57
- "@nzyme/ioc": "^0.13.0",
58
- "@nzyme/types": "^0.13.0",
59
- "@nzyme/utils": "^0.13.0",
60
- "tslib": "^2.8.1"
45
+ "@nzyme/fetch-utils": "0.15.0",
46
+ "@nzyme/types": "0.15.0"
61
47
  },
62
48
  "devDependencies": {
63
- "@nzyme/eslint": "^0.13.0",
64
- "@nzyme/tsconfig": "^0.13.0",
65
- "eslint": "^9.24.0",
66
- "typescript": "^5.8.3"
67
- },
68
- "publishConfig": {
69
- "access": "public"
49
+ "@nzyme/tsconfig": "0.15.0",
50
+ "@typescript/native-preview": "^7.0.0-dev.20260707.2",
51
+ "oxfmt": "0.71.0"
70
52
  }
71
53
  }