@deliverart/sdk-js-image 2.4.14 → 2.4.16
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 +75 -5
- package/dist/index.d.cts +146 -1
- package/dist/index.d.ts +146 -1
- package/dist/index.js +67 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -23,16 +23,23 @@ __export(index_exports, {
|
|
|
23
23
|
DeleteImage: () => DeleteImage,
|
|
24
24
|
GetImageDetails: () => GetImageDetails,
|
|
25
25
|
GetImages: () => GetImages,
|
|
26
|
+
GetImagesFromPointOfSale: () => GetImagesFromPointOfSale,
|
|
27
|
+
UpdateImage: () => UpdateImage,
|
|
26
28
|
deleteImageInputSchema: () => deleteImageInputSchema,
|
|
27
29
|
deleteImageResponseSchema: () => deleteImageResponseSchema,
|
|
28
30
|
getImageDetailsInputSchema: () => getImageDetailsInputSchema,
|
|
29
31
|
getImageDetailsResponseSchema: () => getImageDetailsResponseSchema,
|
|
32
|
+
getImagesFromPointOfSaleInputSchema: () => getImagesFromPointOfSaleInputSchema,
|
|
33
|
+
getImagesFromPointOfSaleQuerySchema: () => getImagesFromPointOfSaleQuerySchema,
|
|
34
|
+
getImagesFromPointOfSaleResponseSchema: () => getImagesFromPointOfSaleResponseSchema,
|
|
30
35
|
getImagesInputSchema: () => getImagesInputSchema,
|
|
31
36
|
getImagesQuerySchema: () => getImagesQuerySchema,
|
|
32
37
|
getImagesResponseSchema: () => getImagesResponseSchema,
|
|
33
38
|
imageIriSchema: () => imageIriSchema,
|
|
34
39
|
imageNullableIriSchema: () => imageNullableIriSchema,
|
|
35
|
-
imageSchema: () => imageSchema
|
|
40
|
+
imageSchema: () => imageSchema,
|
|
41
|
+
updateImageInputSchema: () => updateImageInputSchema,
|
|
42
|
+
updateImageResponseSchema: () => updateImageResponseSchema
|
|
36
43
|
});
|
|
37
44
|
module.exports = __toCommonJS(index_exports);
|
|
38
45
|
|
|
@@ -11188,6 +11195,7 @@ var baseImageSchema = external_exports.object({
|
|
|
11188
11195
|
variant: external_exports.string().nullable(),
|
|
11189
11196
|
contentUrl: external_exports.url(),
|
|
11190
11197
|
filePath: external_exports.string(),
|
|
11198
|
+
tags: external_exports.array(external_exports.string()).default([]),
|
|
11191
11199
|
createdAt: import_sdk_js_global_types.datetimeSchema,
|
|
11192
11200
|
updatedAt: import_sdk_js_global_types.datetimeSchema
|
|
11193
11201
|
});
|
|
@@ -11269,23 +11277,85 @@ var GetImages = class extends import_sdk_js_core3.AbstractApiRequest {
|
|
|
11269
11277
|
}
|
|
11270
11278
|
};
|
|
11271
11279
|
|
|
11272
|
-
// src/
|
|
11280
|
+
// src/requests/GetImagesFromPointOfSale.ts
|
|
11281
|
+
var import_sdk_js_core4 = require("@deliverart/sdk-js-core");
|
|
11273
11282
|
var import_sdk_js_global_types4 = require("@deliverart/sdk-js-global-types");
|
|
11274
|
-
var
|
|
11275
|
-
|
|
11283
|
+
var getImagesFromPointOfSaleQuerySchema = external_exports.object({
|
|
11284
|
+
page: external_exports.coerce.number().optional()
|
|
11285
|
+
});
|
|
11286
|
+
var getImagesFromPointOfSaleInputSchema = external_exports.undefined();
|
|
11287
|
+
var getImagesFromPointOfSaleResponseSchema = (0, import_sdk_js_global_types4.createPaginatedSchema)(imageSchema);
|
|
11288
|
+
var GetImagesFromPointOfSale = class extends import_sdk_js_core4.AbstractApiRequest {
|
|
11289
|
+
constructor(pointOfSaleId, options) {
|
|
11290
|
+
super(void 0, options);
|
|
11291
|
+
this.method = "GET";
|
|
11292
|
+
this.contentType = "application/json";
|
|
11293
|
+
this.accept = "application/json";
|
|
11294
|
+
this.inputSchema = getImagesFromPointOfSaleInputSchema;
|
|
11295
|
+
this.outputSchema = getImagesFromPointOfSaleResponseSchema;
|
|
11296
|
+
this.querySchema = getImagesFromPointOfSaleQuerySchema;
|
|
11297
|
+
this.headersSchema = void 0;
|
|
11298
|
+
this.pointOfSaleId = pointOfSaleId;
|
|
11299
|
+
}
|
|
11300
|
+
getPath() {
|
|
11301
|
+
return `/point_of_sales/${this.pointOfSaleId}/images`;
|
|
11302
|
+
}
|
|
11303
|
+
parseResponse(data, rawResponse) {
|
|
11304
|
+
const images = external_exports.array(imageSchema).parse(data);
|
|
11305
|
+
return this.validateOutput({
|
|
11306
|
+
data: images,
|
|
11307
|
+
pagination: (0, import_sdk_js_global_types4.responseToPagination)(rawResponse)
|
|
11308
|
+
});
|
|
11309
|
+
}
|
|
11310
|
+
};
|
|
11311
|
+
|
|
11312
|
+
// src/requests/UpdateImage.ts
|
|
11313
|
+
var import_sdk_js_core5 = require("@deliverart/sdk-js-core");
|
|
11314
|
+
var updateImageInputSchema = imageSchema.pick({
|
|
11315
|
+
tags: true
|
|
11316
|
+
}).partial();
|
|
11317
|
+
var updateImageResponseSchema = imageSchema;
|
|
11318
|
+
var UpdateImage = class extends import_sdk_js_core5.AbstractApiRequest {
|
|
11319
|
+
constructor(imageId, input) {
|
|
11320
|
+
super(input);
|
|
11321
|
+
this.method = "PATCH";
|
|
11322
|
+
this.contentType = "application/merge-patch+json";
|
|
11323
|
+
this.accept = "application/json";
|
|
11324
|
+
this.inputSchema = updateImageInputSchema;
|
|
11325
|
+
this.outputSchema = updateImageResponseSchema;
|
|
11326
|
+
this.querySchema = void 0;
|
|
11327
|
+
this.headersSchema = void 0;
|
|
11328
|
+
this.imageId = imageId;
|
|
11329
|
+
}
|
|
11330
|
+
getPath() {
|
|
11331
|
+
return `/images/${this.imageId}`;
|
|
11332
|
+
}
|
|
11333
|
+
};
|
|
11334
|
+
|
|
11335
|
+
// src/types.ts
|
|
11336
|
+
var import_sdk_js_global_types5 = require("@deliverart/sdk-js-global-types");
|
|
11337
|
+
var imageIriSchema = (0, import_sdk_js_global_types5.iriSchema)("/images/:id");
|
|
11338
|
+
var imageNullableIriSchema = (0, import_sdk_js_global_types5.iriNullableSchema)("/images/:id");
|
|
11276
11339
|
// Annotate the CommonJS export names for ESM import in node:
|
|
11277
11340
|
0 && (module.exports = {
|
|
11278
11341
|
DeleteImage,
|
|
11279
11342
|
GetImageDetails,
|
|
11280
11343
|
GetImages,
|
|
11344
|
+
GetImagesFromPointOfSale,
|
|
11345
|
+
UpdateImage,
|
|
11281
11346
|
deleteImageInputSchema,
|
|
11282
11347
|
deleteImageResponseSchema,
|
|
11283
11348
|
getImageDetailsInputSchema,
|
|
11284
11349
|
getImageDetailsResponseSchema,
|
|
11350
|
+
getImagesFromPointOfSaleInputSchema,
|
|
11351
|
+
getImagesFromPointOfSaleQuerySchema,
|
|
11352
|
+
getImagesFromPointOfSaleResponseSchema,
|
|
11285
11353
|
getImagesInputSchema,
|
|
11286
11354
|
getImagesQuerySchema,
|
|
11287
11355
|
getImagesResponseSchema,
|
|
11288
11356
|
imageIriSchema,
|
|
11289
11357
|
imageNullableIriSchema,
|
|
11290
|
-
imageSchema
|
|
11358
|
+
imageSchema,
|
|
11359
|
+
updateImageInputSchema,
|
|
11360
|
+
updateImageResponseSchema
|
|
11291
11361
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -8,6 +8,7 @@ declare const imageSchema: z.ZodObject<{
|
|
|
8
8
|
variant: z.ZodNullable<z.ZodString>;
|
|
9
9
|
contentUrl: z.ZodURL;
|
|
10
10
|
filePath: z.ZodString;
|
|
11
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
11
12
|
createdAt: z.ZodString;
|
|
12
13
|
updatedAt: z.ZodString;
|
|
13
14
|
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -15,6 +16,7 @@ declare const imageSchema: z.ZodObject<{
|
|
|
15
16
|
variant: z.ZodNullable<z.ZodString>;
|
|
16
17
|
contentUrl: z.ZodURL;
|
|
17
18
|
filePath: z.ZodString;
|
|
19
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
18
20
|
createdAt: z.ZodString;
|
|
19
21
|
updatedAt: z.ZodString;
|
|
20
22
|
}, z.core.$strip>>>;
|
|
@@ -43,6 +45,7 @@ declare const getImageDetailsResponseSchema: z.ZodObject<{
|
|
|
43
45
|
variant: z.ZodNullable<z.ZodString>;
|
|
44
46
|
contentUrl: z.ZodURL;
|
|
45
47
|
filePath: z.ZodString;
|
|
48
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
46
49
|
createdAt: z.ZodString;
|
|
47
50
|
updatedAt: z.ZodString;
|
|
48
51
|
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -50,6 +53,7 @@ declare const getImageDetailsResponseSchema: z.ZodObject<{
|
|
|
50
53
|
variant: z.ZodNullable<z.ZodString>;
|
|
51
54
|
contentUrl: z.ZodURL;
|
|
52
55
|
filePath: z.ZodString;
|
|
56
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
53
57
|
createdAt: z.ZodString;
|
|
54
58
|
updatedAt: z.ZodString;
|
|
55
59
|
}, z.core.$strip>>>;
|
|
@@ -65,6 +69,7 @@ declare class GetImageDetails extends AbstractApiRequest<typeof getImageDetailsI
|
|
|
65
69
|
variant: z.ZodNullable<z.ZodString>;
|
|
66
70
|
contentUrl: z.ZodURL;
|
|
67
71
|
filePath: z.ZodString;
|
|
72
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
68
73
|
createdAt: z.ZodString;
|
|
69
74
|
updatedAt: z.ZodString;
|
|
70
75
|
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -72,6 +77,7 @@ declare class GetImageDetails extends AbstractApiRequest<typeof getImageDetailsI
|
|
|
72
77
|
variant: z.ZodNullable<z.ZodString>;
|
|
73
78
|
contentUrl: z.ZodURL;
|
|
74
79
|
filePath: z.ZodString;
|
|
80
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
75
81
|
createdAt: z.ZodString;
|
|
76
82
|
updatedAt: z.ZodString;
|
|
77
83
|
}, z.core.$strip>>>;
|
|
@@ -95,6 +101,7 @@ declare const getImagesResponseSchema: z.ZodObject<{
|
|
|
95
101
|
variant: z.ZodNullable<z.ZodString>;
|
|
96
102
|
contentUrl: z.ZodURL;
|
|
97
103
|
filePath: z.ZodString;
|
|
104
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
98
105
|
createdAt: z.ZodString;
|
|
99
106
|
updatedAt: z.ZodString;
|
|
100
107
|
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -102,6 +109,7 @@ declare const getImagesResponseSchema: z.ZodObject<{
|
|
|
102
109
|
variant: z.ZodNullable<z.ZodString>;
|
|
103
110
|
contentUrl: z.ZodURL;
|
|
104
111
|
filePath: z.ZodString;
|
|
112
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
105
113
|
createdAt: z.ZodString;
|
|
106
114
|
updatedAt: z.ZodString;
|
|
107
115
|
}, z.core.$strip>>>;
|
|
@@ -127,6 +135,7 @@ declare class GetImages extends AbstractApiRequest<typeof getImagesInputSchema,
|
|
|
127
135
|
variant: z.ZodNullable<z.ZodString>;
|
|
128
136
|
contentUrl: z.ZodURL;
|
|
129
137
|
filePath: z.ZodString;
|
|
138
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
130
139
|
createdAt: z.ZodString;
|
|
131
140
|
updatedAt: z.ZodString;
|
|
132
141
|
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -134,6 +143,7 @@ declare class GetImages extends AbstractApiRequest<typeof getImagesInputSchema,
|
|
|
134
143
|
variant: z.ZodNullable<z.ZodString>;
|
|
135
144
|
contentUrl: z.ZodURL;
|
|
136
145
|
filePath: z.ZodString;
|
|
146
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
137
147
|
createdAt: z.ZodString;
|
|
138
148
|
updatedAt: z.ZodString;
|
|
139
149
|
}, z.core.$strip>>>;
|
|
@@ -158,9 +168,144 @@ declare class GetImages extends AbstractApiRequest<typeof getImagesInputSchema,
|
|
|
158
168
|
parseResponse(data: unknown, rawResponse: Response): Paginated<Image>;
|
|
159
169
|
}
|
|
160
170
|
|
|
171
|
+
declare const getImagesFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
172
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
173
|
+
}, z.core.$strip>;
|
|
174
|
+
type GetImagesFromPointOfSaleQueryParams = z.infer<typeof getImagesFromPointOfSaleQuerySchema>;
|
|
175
|
+
declare const getImagesFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
176
|
+
type GetImagesFromPointOfSaleInput = z.infer<typeof getImagesFromPointOfSaleInputSchema>;
|
|
177
|
+
declare const getImagesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
178
|
+
data: z.ZodArray<z.ZodObject<{
|
|
179
|
+
id: z.ZodString;
|
|
180
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
181
|
+
contentUrl: z.ZodURL;
|
|
182
|
+
filePath: z.ZodString;
|
|
183
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
184
|
+
createdAt: z.ZodString;
|
|
185
|
+
updatedAt: z.ZodString;
|
|
186
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
187
|
+
id: z.ZodString;
|
|
188
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
189
|
+
contentUrl: z.ZodURL;
|
|
190
|
+
filePath: z.ZodString;
|
|
191
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
192
|
+
createdAt: z.ZodString;
|
|
193
|
+
updatedAt: z.ZodString;
|
|
194
|
+
}, z.core.$strip>>>;
|
|
195
|
+
}, z.core.$strip>>;
|
|
196
|
+
pagination: z.ZodObject<{
|
|
197
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
198
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
199
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
200
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
201
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
202
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
203
|
+
}, z.core.$strip>;
|
|
204
|
+
}, z.core.$strip>;
|
|
205
|
+
type GetImagesFromPointOfSaleResponse = z.infer<typeof getImagesFromPointOfSaleResponseSchema>;
|
|
206
|
+
declare class GetImagesFromPointOfSale extends AbstractApiRequest<typeof getImagesFromPointOfSaleInputSchema, typeof getImagesFromPointOfSaleResponseSchema, GetImagesFromPointOfSaleQueryParams> {
|
|
207
|
+
readonly method = "GET";
|
|
208
|
+
readonly contentType = "application/json";
|
|
209
|
+
readonly accept = "application/json";
|
|
210
|
+
readonly inputSchema: z.ZodUndefined;
|
|
211
|
+
readonly outputSchema: z.ZodObject<{
|
|
212
|
+
data: z.ZodArray<z.ZodObject<{
|
|
213
|
+
id: z.ZodString;
|
|
214
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
215
|
+
contentUrl: z.ZodURL;
|
|
216
|
+
filePath: z.ZodString;
|
|
217
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
218
|
+
createdAt: z.ZodString;
|
|
219
|
+
updatedAt: z.ZodString;
|
|
220
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
221
|
+
id: z.ZodString;
|
|
222
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
223
|
+
contentUrl: z.ZodURL;
|
|
224
|
+
filePath: z.ZodString;
|
|
225
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
226
|
+
createdAt: z.ZodString;
|
|
227
|
+
updatedAt: z.ZodString;
|
|
228
|
+
}, z.core.$strip>>>;
|
|
229
|
+
}, z.core.$strip>>;
|
|
230
|
+
pagination: z.ZodObject<{
|
|
231
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
232
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
233
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
234
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
235
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
236
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
237
|
+
}, z.core.$strip>;
|
|
238
|
+
}, z.core.$strip>;
|
|
239
|
+
readonly querySchema: z.ZodObject<{
|
|
240
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
241
|
+
}, z.core.$strip>;
|
|
242
|
+
readonly headersSchema: undefined;
|
|
243
|
+
private readonly pointOfSaleId;
|
|
244
|
+
constructor(pointOfSaleId: string, options?: {
|
|
245
|
+
query?: GetImagesFromPointOfSaleQueryParams;
|
|
246
|
+
});
|
|
247
|
+
getPath(): string;
|
|
248
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<Image>;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
declare const updateImageInputSchema: z.ZodObject<{
|
|
252
|
+
tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
253
|
+
}, z.core.$strip>;
|
|
254
|
+
type UpdateImageInput = z.input<typeof updateImageInputSchema>;
|
|
255
|
+
declare const updateImageResponseSchema: z.ZodObject<{
|
|
256
|
+
id: z.ZodString;
|
|
257
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
258
|
+
contentUrl: z.ZodURL;
|
|
259
|
+
filePath: z.ZodString;
|
|
260
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
261
|
+
createdAt: z.ZodString;
|
|
262
|
+
updatedAt: z.ZodString;
|
|
263
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
264
|
+
id: z.ZodString;
|
|
265
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
266
|
+
contentUrl: z.ZodURL;
|
|
267
|
+
filePath: z.ZodString;
|
|
268
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
269
|
+
createdAt: z.ZodString;
|
|
270
|
+
updatedAt: z.ZodString;
|
|
271
|
+
}, z.core.$strip>>>;
|
|
272
|
+
}, z.core.$strip>;
|
|
273
|
+
type UpdateImageResponse = z.infer<typeof updateImageResponseSchema>;
|
|
274
|
+
declare class UpdateImage extends AbstractApiRequest<typeof updateImageInputSchema, typeof updateImageResponseSchema> {
|
|
275
|
+
readonly method = "PATCH";
|
|
276
|
+
readonly contentType = "application/merge-patch+json";
|
|
277
|
+
readonly accept = "application/json";
|
|
278
|
+
readonly inputSchema: z.ZodObject<{
|
|
279
|
+
tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
280
|
+
}, z.core.$strip>;
|
|
281
|
+
readonly outputSchema: z.ZodObject<{
|
|
282
|
+
id: z.ZodString;
|
|
283
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
284
|
+
contentUrl: z.ZodURL;
|
|
285
|
+
filePath: z.ZodString;
|
|
286
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
287
|
+
createdAt: z.ZodString;
|
|
288
|
+
updatedAt: z.ZodString;
|
|
289
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
290
|
+
id: z.ZodString;
|
|
291
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
292
|
+
contentUrl: z.ZodURL;
|
|
293
|
+
filePath: z.ZodString;
|
|
294
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
295
|
+
createdAt: z.ZodString;
|
|
296
|
+
updatedAt: z.ZodString;
|
|
297
|
+
}, z.core.$strip>>>;
|
|
298
|
+
}, z.core.$strip>;
|
|
299
|
+
readonly querySchema: undefined;
|
|
300
|
+
readonly headersSchema: undefined;
|
|
301
|
+
private readonly imageId;
|
|
302
|
+
constructor(imageId: string, input: UpdateImageInput);
|
|
303
|
+
getPath(): string;
|
|
304
|
+
}
|
|
305
|
+
|
|
161
306
|
declare const imageIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>;
|
|
162
307
|
type imageIri = z.infer<typeof imageIriSchema>;
|
|
163
308
|
declare const imageNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown>>;
|
|
164
309
|
type imageNullableIri = z.infer<typeof imageNullableIriSchema>;
|
|
165
310
|
|
|
166
|
-
export { DeleteImage, GetImageDetails, type GetImageDetailsInput, type GetImageDetailsResponse, GetImages, type GetImagesInput, type GetImagesQueryParams, type GetImagesResponse, type Image, deleteImageInputSchema, deleteImageResponseSchema, getImageDetailsInputSchema, getImageDetailsResponseSchema, getImagesInputSchema, getImagesQuerySchema, getImagesResponseSchema, type imageIri, imageIriSchema, type imageNullableIri, imageNullableIriSchema, imageSchema };
|
|
311
|
+
export { DeleteImage, GetImageDetails, type GetImageDetailsInput, type GetImageDetailsResponse, GetImages, GetImagesFromPointOfSale, type GetImagesFromPointOfSaleInput, type GetImagesFromPointOfSaleQueryParams, type GetImagesFromPointOfSaleResponse, type GetImagesInput, type GetImagesQueryParams, type GetImagesResponse, type Image, UpdateImage, type UpdateImageInput, type UpdateImageResponse, deleteImageInputSchema, deleteImageResponseSchema, getImageDetailsInputSchema, getImageDetailsResponseSchema, getImagesFromPointOfSaleInputSchema, getImagesFromPointOfSaleQuerySchema, getImagesFromPointOfSaleResponseSchema, getImagesInputSchema, getImagesQuerySchema, getImagesResponseSchema, type imageIri, imageIriSchema, type imageNullableIri, imageNullableIriSchema, imageSchema, updateImageInputSchema, updateImageResponseSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ declare const imageSchema: z.ZodObject<{
|
|
|
8
8
|
variant: z.ZodNullable<z.ZodString>;
|
|
9
9
|
contentUrl: z.ZodURL;
|
|
10
10
|
filePath: z.ZodString;
|
|
11
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
11
12
|
createdAt: z.ZodString;
|
|
12
13
|
updatedAt: z.ZodString;
|
|
13
14
|
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -15,6 +16,7 @@ declare const imageSchema: z.ZodObject<{
|
|
|
15
16
|
variant: z.ZodNullable<z.ZodString>;
|
|
16
17
|
contentUrl: z.ZodURL;
|
|
17
18
|
filePath: z.ZodString;
|
|
19
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
18
20
|
createdAt: z.ZodString;
|
|
19
21
|
updatedAt: z.ZodString;
|
|
20
22
|
}, z.core.$strip>>>;
|
|
@@ -43,6 +45,7 @@ declare const getImageDetailsResponseSchema: z.ZodObject<{
|
|
|
43
45
|
variant: z.ZodNullable<z.ZodString>;
|
|
44
46
|
contentUrl: z.ZodURL;
|
|
45
47
|
filePath: z.ZodString;
|
|
48
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
46
49
|
createdAt: z.ZodString;
|
|
47
50
|
updatedAt: z.ZodString;
|
|
48
51
|
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -50,6 +53,7 @@ declare const getImageDetailsResponseSchema: z.ZodObject<{
|
|
|
50
53
|
variant: z.ZodNullable<z.ZodString>;
|
|
51
54
|
contentUrl: z.ZodURL;
|
|
52
55
|
filePath: z.ZodString;
|
|
56
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
53
57
|
createdAt: z.ZodString;
|
|
54
58
|
updatedAt: z.ZodString;
|
|
55
59
|
}, z.core.$strip>>>;
|
|
@@ -65,6 +69,7 @@ declare class GetImageDetails extends AbstractApiRequest<typeof getImageDetailsI
|
|
|
65
69
|
variant: z.ZodNullable<z.ZodString>;
|
|
66
70
|
contentUrl: z.ZodURL;
|
|
67
71
|
filePath: z.ZodString;
|
|
72
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
68
73
|
createdAt: z.ZodString;
|
|
69
74
|
updatedAt: z.ZodString;
|
|
70
75
|
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -72,6 +77,7 @@ declare class GetImageDetails extends AbstractApiRequest<typeof getImageDetailsI
|
|
|
72
77
|
variant: z.ZodNullable<z.ZodString>;
|
|
73
78
|
contentUrl: z.ZodURL;
|
|
74
79
|
filePath: z.ZodString;
|
|
80
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
75
81
|
createdAt: z.ZodString;
|
|
76
82
|
updatedAt: z.ZodString;
|
|
77
83
|
}, z.core.$strip>>>;
|
|
@@ -95,6 +101,7 @@ declare const getImagesResponseSchema: z.ZodObject<{
|
|
|
95
101
|
variant: z.ZodNullable<z.ZodString>;
|
|
96
102
|
contentUrl: z.ZodURL;
|
|
97
103
|
filePath: z.ZodString;
|
|
104
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
98
105
|
createdAt: z.ZodString;
|
|
99
106
|
updatedAt: z.ZodString;
|
|
100
107
|
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -102,6 +109,7 @@ declare const getImagesResponseSchema: z.ZodObject<{
|
|
|
102
109
|
variant: z.ZodNullable<z.ZodString>;
|
|
103
110
|
contentUrl: z.ZodURL;
|
|
104
111
|
filePath: z.ZodString;
|
|
112
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
105
113
|
createdAt: z.ZodString;
|
|
106
114
|
updatedAt: z.ZodString;
|
|
107
115
|
}, z.core.$strip>>>;
|
|
@@ -127,6 +135,7 @@ declare class GetImages extends AbstractApiRequest<typeof getImagesInputSchema,
|
|
|
127
135
|
variant: z.ZodNullable<z.ZodString>;
|
|
128
136
|
contentUrl: z.ZodURL;
|
|
129
137
|
filePath: z.ZodString;
|
|
138
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
130
139
|
createdAt: z.ZodString;
|
|
131
140
|
updatedAt: z.ZodString;
|
|
132
141
|
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -134,6 +143,7 @@ declare class GetImages extends AbstractApiRequest<typeof getImagesInputSchema,
|
|
|
134
143
|
variant: z.ZodNullable<z.ZodString>;
|
|
135
144
|
contentUrl: z.ZodURL;
|
|
136
145
|
filePath: z.ZodString;
|
|
146
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
137
147
|
createdAt: z.ZodString;
|
|
138
148
|
updatedAt: z.ZodString;
|
|
139
149
|
}, z.core.$strip>>>;
|
|
@@ -158,9 +168,144 @@ declare class GetImages extends AbstractApiRequest<typeof getImagesInputSchema,
|
|
|
158
168
|
parseResponse(data: unknown, rawResponse: Response): Paginated<Image>;
|
|
159
169
|
}
|
|
160
170
|
|
|
171
|
+
declare const getImagesFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
172
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
173
|
+
}, z.core.$strip>;
|
|
174
|
+
type GetImagesFromPointOfSaleQueryParams = z.infer<typeof getImagesFromPointOfSaleQuerySchema>;
|
|
175
|
+
declare const getImagesFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
176
|
+
type GetImagesFromPointOfSaleInput = z.infer<typeof getImagesFromPointOfSaleInputSchema>;
|
|
177
|
+
declare const getImagesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
178
|
+
data: z.ZodArray<z.ZodObject<{
|
|
179
|
+
id: z.ZodString;
|
|
180
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
181
|
+
contentUrl: z.ZodURL;
|
|
182
|
+
filePath: z.ZodString;
|
|
183
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
184
|
+
createdAt: z.ZodString;
|
|
185
|
+
updatedAt: z.ZodString;
|
|
186
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
187
|
+
id: z.ZodString;
|
|
188
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
189
|
+
contentUrl: z.ZodURL;
|
|
190
|
+
filePath: z.ZodString;
|
|
191
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
192
|
+
createdAt: z.ZodString;
|
|
193
|
+
updatedAt: z.ZodString;
|
|
194
|
+
}, z.core.$strip>>>;
|
|
195
|
+
}, z.core.$strip>>;
|
|
196
|
+
pagination: z.ZodObject<{
|
|
197
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
198
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
199
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
200
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
201
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
202
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
203
|
+
}, z.core.$strip>;
|
|
204
|
+
}, z.core.$strip>;
|
|
205
|
+
type GetImagesFromPointOfSaleResponse = z.infer<typeof getImagesFromPointOfSaleResponseSchema>;
|
|
206
|
+
declare class GetImagesFromPointOfSale extends AbstractApiRequest<typeof getImagesFromPointOfSaleInputSchema, typeof getImagesFromPointOfSaleResponseSchema, GetImagesFromPointOfSaleQueryParams> {
|
|
207
|
+
readonly method = "GET";
|
|
208
|
+
readonly contentType = "application/json";
|
|
209
|
+
readonly accept = "application/json";
|
|
210
|
+
readonly inputSchema: z.ZodUndefined;
|
|
211
|
+
readonly outputSchema: z.ZodObject<{
|
|
212
|
+
data: z.ZodArray<z.ZodObject<{
|
|
213
|
+
id: z.ZodString;
|
|
214
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
215
|
+
contentUrl: z.ZodURL;
|
|
216
|
+
filePath: z.ZodString;
|
|
217
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
218
|
+
createdAt: z.ZodString;
|
|
219
|
+
updatedAt: z.ZodString;
|
|
220
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
221
|
+
id: z.ZodString;
|
|
222
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
223
|
+
contentUrl: z.ZodURL;
|
|
224
|
+
filePath: z.ZodString;
|
|
225
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
226
|
+
createdAt: z.ZodString;
|
|
227
|
+
updatedAt: z.ZodString;
|
|
228
|
+
}, z.core.$strip>>>;
|
|
229
|
+
}, z.core.$strip>>;
|
|
230
|
+
pagination: z.ZodObject<{
|
|
231
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
232
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
233
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
234
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
235
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
236
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
237
|
+
}, z.core.$strip>;
|
|
238
|
+
}, z.core.$strip>;
|
|
239
|
+
readonly querySchema: z.ZodObject<{
|
|
240
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
241
|
+
}, z.core.$strip>;
|
|
242
|
+
readonly headersSchema: undefined;
|
|
243
|
+
private readonly pointOfSaleId;
|
|
244
|
+
constructor(pointOfSaleId: string, options?: {
|
|
245
|
+
query?: GetImagesFromPointOfSaleQueryParams;
|
|
246
|
+
});
|
|
247
|
+
getPath(): string;
|
|
248
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<Image>;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
declare const updateImageInputSchema: z.ZodObject<{
|
|
252
|
+
tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
253
|
+
}, z.core.$strip>;
|
|
254
|
+
type UpdateImageInput = z.input<typeof updateImageInputSchema>;
|
|
255
|
+
declare const updateImageResponseSchema: z.ZodObject<{
|
|
256
|
+
id: z.ZodString;
|
|
257
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
258
|
+
contentUrl: z.ZodURL;
|
|
259
|
+
filePath: z.ZodString;
|
|
260
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
261
|
+
createdAt: z.ZodString;
|
|
262
|
+
updatedAt: z.ZodString;
|
|
263
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
264
|
+
id: z.ZodString;
|
|
265
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
266
|
+
contentUrl: z.ZodURL;
|
|
267
|
+
filePath: z.ZodString;
|
|
268
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
269
|
+
createdAt: z.ZodString;
|
|
270
|
+
updatedAt: z.ZodString;
|
|
271
|
+
}, z.core.$strip>>>;
|
|
272
|
+
}, z.core.$strip>;
|
|
273
|
+
type UpdateImageResponse = z.infer<typeof updateImageResponseSchema>;
|
|
274
|
+
declare class UpdateImage extends AbstractApiRequest<typeof updateImageInputSchema, typeof updateImageResponseSchema> {
|
|
275
|
+
readonly method = "PATCH";
|
|
276
|
+
readonly contentType = "application/merge-patch+json";
|
|
277
|
+
readonly accept = "application/json";
|
|
278
|
+
readonly inputSchema: z.ZodObject<{
|
|
279
|
+
tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
280
|
+
}, z.core.$strip>;
|
|
281
|
+
readonly outputSchema: z.ZodObject<{
|
|
282
|
+
id: z.ZodString;
|
|
283
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
284
|
+
contentUrl: z.ZodURL;
|
|
285
|
+
filePath: z.ZodString;
|
|
286
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
287
|
+
createdAt: z.ZodString;
|
|
288
|
+
updatedAt: z.ZodString;
|
|
289
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
290
|
+
id: z.ZodString;
|
|
291
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
292
|
+
contentUrl: z.ZodURL;
|
|
293
|
+
filePath: z.ZodString;
|
|
294
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
295
|
+
createdAt: z.ZodString;
|
|
296
|
+
updatedAt: z.ZodString;
|
|
297
|
+
}, z.core.$strip>>>;
|
|
298
|
+
}, z.core.$strip>;
|
|
299
|
+
readonly querySchema: undefined;
|
|
300
|
+
readonly headersSchema: undefined;
|
|
301
|
+
private readonly imageId;
|
|
302
|
+
constructor(imageId: string, input: UpdateImageInput);
|
|
303
|
+
getPath(): string;
|
|
304
|
+
}
|
|
305
|
+
|
|
161
306
|
declare const imageIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>;
|
|
162
307
|
type imageIri = z.infer<typeof imageIriSchema>;
|
|
163
308
|
declare const imageNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id"> | null, unknown>>;
|
|
164
309
|
type imageNullableIri = z.infer<typeof imageNullableIriSchema>;
|
|
165
310
|
|
|
166
|
-
export { DeleteImage, GetImageDetails, type GetImageDetailsInput, type GetImageDetailsResponse, GetImages, type GetImagesInput, type GetImagesQueryParams, type GetImagesResponse, type Image, deleteImageInputSchema, deleteImageResponseSchema, getImageDetailsInputSchema, getImageDetailsResponseSchema, getImagesInputSchema, getImagesQuerySchema, getImagesResponseSchema, type imageIri, imageIriSchema, type imageNullableIri, imageNullableIriSchema, imageSchema };
|
|
311
|
+
export { DeleteImage, GetImageDetails, type GetImageDetailsInput, type GetImageDetailsResponse, GetImages, GetImagesFromPointOfSale, type GetImagesFromPointOfSaleInput, type GetImagesFromPointOfSaleQueryParams, type GetImagesFromPointOfSaleResponse, type GetImagesInput, type GetImagesQueryParams, type GetImagesResponse, type Image, UpdateImage, type UpdateImageInput, type UpdateImageResponse, deleteImageInputSchema, deleteImageResponseSchema, getImageDetailsInputSchema, getImageDetailsResponseSchema, getImagesFromPointOfSaleInputSchema, getImagesFromPointOfSaleQuerySchema, getImagesFromPointOfSaleResponseSchema, getImagesInputSchema, getImagesQuerySchema, getImagesResponseSchema, type imageIri, imageIriSchema, type imageNullableIri, imageNullableIriSchema, imageSchema, updateImageInputSchema, updateImageResponseSchema };
|
package/dist/index.js
CHANGED
|
@@ -11156,6 +11156,7 @@ var baseImageSchema = external_exports.object({
|
|
|
11156
11156
|
variant: external_exports.string().nullable(),
|
|
11157
11157
|
contentUrl: external_exports.url(),
|
|
11158
11158
|
filePath: external_exports.string(),
|
|
11159
|
+
tags: external_exports.array(external_exports.string()).default([]),
|
|
11159
11160
|
createdAt: datetimeSchema,
|
|
11160
11161
|
updatedAt: datetimeSchema
|
|
11161
11162
|
});
|
|
@@ -11240,6 +11241,64 @@ var GetImages = class extends AbstractApiRequest3 {
|
|
|
11240
11241
|
}
|
|
11241
11242
|
};
|
|
11242
11243
|
|
|
11244
|
+
// src/requests/GetImagesFromPointOfSale.ts
|
|
11245
|
+
import { AbstractApiRequest as AbstractApiRequest4 } from "@deliverart/sdk-js-core";
|
|
11246
|
+
import {
|
|
11247
|
+
createPaginatedSchema as createPaginatedSchema2,
|
|
11248
|
+
responseToPagination as responseToPagination2
|
|
11249
|
+
} from "@deliverart/sdk-js-global-types";
|
|
11250
|
+
var getImagesFromPointOfSaleQuerySchema = external_exports.object({
|
|
11251
|
+
page: external_exports.coerce.number().optional()
|
|
11252
|
+
});
|
|
11253
|
+
var getImagesFromPointOfSaleInputSchema = external_exports.undefined();
|
|
11254
|
+
var getImagesFromPointOfSaleResponseSchema = createPaginatedSchema2(imageSchema);
|
|
11255
|
+
var GetImagesFromPointOfSale = class extends AbstractApiRequest4 {
|
|
11256
|
+
constructor(pointOfSaleId, options) {
|
|
11257
|
+
super(void 0, options);
|
|
11258
|
+
this.method = "GET";
|
|
11259
|
+
this.contentType = "application/json";
|
|
11260
|
+
this.accept = "application/json";
|
|
11261
|
+
this.inputSchema = getImagesFromPointOfSaleInputSchema;
|
|
11262
|
+
this.outputSchema = getImagesFromPointOfSaleResponseSchema;
|
|
11263
|
+
this.querySchema = getImagesFromPointOfSaleQuerySchema;
|
|
11264
|
+
this.headersSchema = void 0;
|
|
11265
|
+
this.pointOfSaleId = pointOfSaleId;
|
|
11266
|
+
}
|
|
11267
|
+
getPath() {
|
|
11268
|
+
return `/point_of_sales/${this.pointOfSaleId}/images`;
|
|
11269
|
+
}
|
|
11270
|
+
parseResponse(data, rawResponse) {
|
|
11271
|
+
const images = external_exports.array(imageSchema).parse(data);
|
|
11272
|
+
return this.validateOutput({
|
|
11273
|
+
data: images,
|
|
11274
|
+
pagination: responseToPagination2(rawResponse)
|
|
11275
|
+
});
|
|
11276
|
+
}
|
|
11277
|
+
};
|
|
11278
|
+
|
|
11279
|
+
// src/requests/UpdateImage.ts
|
|
11280
|
+
import { AbstractApiRequest as AbstractApiRequest5 } from "@deliverart/sdk-js-core";
|
|
11281
|
+
var updateImageInputSchema = imageSchema.pick({
|
|
11282
|
+
tags: true
|
|
11283
|
+
}).partial();
|
|
11284
|
+
var updateImageResponseSchema = imageSchema;
|
|
11285
|
+
var UpdateImage = class extends AbstractApiRequest5 {
|
|
11286
|
+
constructor(imageId, input) {
|
|
11287
|
+
super(input);
|
|
11288
|
+
this.method = "PATCH";
|
|
11289
|
+
this.contentType = "application/merge-patch+json";
|
|
11290
|
+
this.accept = "application/json";
|
|
11291
|
+
this.inputSchema = updateImageInputSchema;
|
|
11292
|
+
this.outputSchema = updateImageResponseSchema;
|
|
11293
|
+
this.querySchema = void 0;
|
|
11294
|
+
this.headersSchema = void 0;
|
|
11295
|
+
this.imageId = imageId;
|
|
11296
|
+
}
|
|
11297
|
+
getPath() {
|
|
11298
|
+
return `/images/${this.imageId}`;
|
|
11299
|
+
}
|
|
11300
|
+
};
|
|
11301
|
+
|
|
11243
11302
|
// src/types.ts
|
|
11244
11303
|
import { iriNullableSchema, iriSchema } from "@deliverart/sdk-js-global-types";
|
|
11245
11304
|
var imageIriSchema = iriSchema("/images/:id");
|
|
@@ -11248,14 +11307,21 @@ export {
|
|
|
11248
11307
|
DeleteImage,
|
|
11249
11308
|
GetImageDetails,
|
|
11250
11309
|
GetImages,
|
|
11310
|
+
GetImagesFromPointOfSale,
|
|
11311
|
+
UpdateImage,
|
|
11251
11312
|
deleteImageInputSchema,
|
|
11252
11313
|
deleteImageResponseSchema,
|
|
11253
11314
|
getImageDetailsInputSchema,
|
|
11254
11315
|
getImageDetailsResponseSchema,
|
|
11316
|
+
getImagesFromPointOfSaleInputSchema,
|
|
11317
|
+
getImagesFromPointOfSaleQuerySchema,
|
|
11318
|
+
getImagesFromPointOfSaleResponseSchema,
|
|
11255
11319
|
getImagesInputSchema,
|
|
11256
11320
|
getImagesQuerySchema,
|
|
11257
11321
|
getImagesResponseSchema,
|
|
11258
11322
|
imageIriSchema,
|
|
11259
11323
|
imageNullableIriSchema,
|
|
11260
|
-
imageSchema
|
|
11324
|
+
imageSchema,
|
|
11325
|
+
updateImageInputSchema,
|
|
11326
|
+
updateImageResponseSchema
|
|
11261
11327
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-image",
|
|
3
3
|
"description": "Deliverart JavaScript SDK for Image Management",
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.16",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@deliverart/sdk-js-
|
|
22
|
-
"@deliverart/sdk-js-point-of-sale": "2.4.
|
|
23
|
-
"@deliverart/sdk-js-
|
|
21
|
+
"@deliverart/sdk-js-core": "2.4.16",
|
|
22
|
+
"@deliverart/sdk-js-point-of-sale": "2.4.16",
|
|
23
|
+
"@deliverart/sdk-js-global-types": "2.4.16"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|