@scanlab/api-types 0.0.1 → 0.0.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/scanlab-api.d.ts +21 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scanlab/api-types",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "TypeScript types for the ScanLab API",
5
5
  "main": "scanlab-api.d.ts",
6
6
  "types": "scanlab-api.d.ts",
package/scanlab-api.d.ts CHANGED
@@ -95,17 +95,34 @@ export interface components {
95
95
  */
96
96
  createdAt: string;
97
97
  /**
98
- * Format: float
99
- * @description Price of the order (optional)
100
- * @example 15.99
98
+ * Format: date-time
99
+ * @description ISO 8601 timestamp of when the order was updated
100
+ * @example 2025-04-05T10:30:00Z
101
101
  */
102
- price?: number;
102
+ updatedAt?: string;
103
103
  /**
104
104
  * Format: date-time
105
105
  * @description ISO 8601 timestamp of payment (optional)
106
106
  * @example 2025-04-10T14:00:00Z
107
107
  */
108
108
  paidAt?: string;
109
+ /**
110
+ * Format: float
111
+ * @description Price of the order (optional)
112
+ * @example 15.99
113
+ */
114
+ price?: number;
115
+ /**
116
+ * @description Number of images in the order (optional)
117
+ * @example 5
118
+ */
119
+ imageCount?: number;
120
+ /**
121
+ * Format: uri
122
+ * @description Link to download the digitalized images
123
+ * @example https://example.com/download/ATX-B2C
124
+ */
125
+ downloadLink?: string | null;
109
126
  };
110
127
  /** @description Data Transfer Object for an order's status history */
111
128
  OrderStatusHistoryDto: {