@deliverart/sdk-js-order 2.31.4 → 2.32.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 +221 -82
- package/dist/index.d.cts +504 -1
- package/dist/index.d.ts +504 -1
- package/dist/index.js +216 -80
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -2722,6 +2722,8 @@ declare const orderIntegrationExportSchema: z.ZodObject<{
|
|
|
2722
2722
|
succeededAt: z.ZodNullable<z.ZodString>;
|
|
2723
2723
|
remoteIdentifier: z.ZodNullable<z.ZodString>;
|
|
2724
2724
|
importedFromLegacy: z.ZodBoolean;
|
|
2725
|
+
assignedAt: z.ZodNullable<z.ZodString>;
|
|
2726
|
+
assignedTo: z.ZodNullable<z.ZodString>;
|
|
2725
2727
|
createdAt: z.ZodString;
|
|
2726
2728
|
updatedAt: z.ZodString;
|
|
2727
2729
|
}, z.core.$strip>;
|
|
@@ -2773,6 +2775,8 @@ declare const orderIntegrationExportDetailsSchema: z.ZodObject<{
|
|
|
2773
2775
|
succeededAt: z.ZodNullable<z.ZodString>;
|
|
2774
2776
|
remoteIdentifier: z.ZodNullable<z.ZodString>;
|
|
2775
2777
|
importedFromLegacy: z.ZodBoolean;
|
|
2778
|
+
assignedAt: z.ZodNullable<z.ZodString>;
|
|
2779
|
+
assignedTo: z.ZodNullable<z.ZodString>;
|
|
2776
2780
|
createdAt: z.ZodString;
|
|
2777
2781
|
updatedAt: z.ZodString;
|
|
2778
2782
|
attemptHistory: z.ZodArray<z.ZodObject<{
|
|
@@ -18149,6 +18153,357 @@ declare class UpdateOrderRating extends AbstractApiRequest<typeof updateOrderRat
|
|
|
18149
18153
|
getPath(): string;
|
|
18150
18154
|
}
|
|
18151
18155
|
|
|
18156
|
+
declare const inputSchema$4: z.ZodObject<{
|
|
18157
|
+
note: z.ZodString;
|
|
18158
|
+
}, z.core.$strip>;
|
|
18159
|
+
declare const outputSchema: z.ZodUndefined;
|
|
18160
|
+
declare class AddOrderIntegrationExportNote extends AbstractApiRequest<typeof inputSchema$4, typeof outputSchema> {
|
|
18161
|
+
private readonly exportId;
|
|
18162
|
+
readonly method: "POST";
|
|
18163
|
+
readonly contentType: "application/json";
|
|
18164
|
+
readonly accept: "application/json";
|
|
18165
|
+
readonly inputSchema: z.ZodObject<{
|
|
18166
|
+
note: z.ZodString;
|
|
18167
|
+
}, z.core.$strip>;
|
|
18168
|
+
readonly outputSchema: z.ZodUndefined;
|
|
18169
|
+
readonly querySchema: undefined;
|
|
18170
|
+
readonly headersSchema: undefined;
|
|
18171
|
+
constructor(exportId: string, input: z.input<typeof inputSchema$4>);
|
|
18172
|
+
getPath(): string;
|
|
18173
|
+
}
|
|
18174
|
+
|
|
18175
|
+
declare const inputSchema$3: z.ZodUndefined;
|
|
18176
|
+
declare class ClaimOrderIntegrationExport extends AbstractApiRequest<typeof inputSchema$3, typeof orderIntegrationExportSchema> {
|
|
18177
|
+
private readonly exportId;
|
|
18178
|
+
readonly method: "PATCH";
|
|
18179
|
+
readonly contentType: "application/merge-patch+json";
|
|
18180
|
+
readonly accept: "application/json";
|
|
18181
|
+
readonly inputSchema: z.ZodUndefined;
|
|
18182
|
+
readonly outputSchema: z.ZodObject<{
|
|
18183
|
+
id: z.ZodString;
|
|
18184
|
+
order: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/:id">, unknown>>;
|
|
18185
|
+
integration: z.ZodPipe<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
18186
|
+
iri: z.ZodString;
|
|
18187
|
+
params: z.ZodRecord<z.ZodString, z.ZodUUID>;
|
|
18188
|
+
}, z.core.$strip>, z.ZodCustom<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id" | "/integrations/ecommerce/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id" | "/integrations/tilby/:id" | "/integrations/cassa_in_cloud/:id" | "/integrations/elephant/:id" | "/integrations/kitchen/:id">, _deliverart_sdk_js_global_types.IriObject<"/integrations/:id" | "/integrations/ecommerce/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id" | "/integrations/tilby/:id" | "/integrations/cassa_in_cloud/:id" | "/integrations/elephant/:id" | "/integrations/kitchen/:id">>]>, z.ZodNull]>, z.ZodTransform<_deliverart_sdk_js_global_types.IriObject<string> | null, string | _deliverart_sdk_js_global_types.IriObject<"/integrations/:id" | "/integrations/ecommerce/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id" | "/integrations/tilby/:id" | "/integrations/cassa_in_cloud/:id" | "/integrations/elephant/:id" | "/integrations/kitchen/:id"> | {
|
|
18189
|
+
iri: string;
|
|
18190
|
+
params: Record<string, string>;
|
|
18191
|
+
} | null>>;
|
|
18192
|
+
serviceSnapshot: z.ZodString;
|
|
18193
|
+
integrationIdentifierSnapshot: z.ZodString;
|
|
18194
|
+
status: z.ZodEnum<{
|
|
18195
|
+
pending: "pending";
|
|
18196
|
+
failed: "failed";
|
|
18197
|
+
processing: "processing";
|
|
18198
|
+
retry_scheduled: "retry_scheduled";
|
|
18199
|
+
outcome_unknown: "outcome_unknown";
|
|
18200
|
+
succeeded: "succeeded";
|
|
18201
|
+
manual_action: "manual_action";
|
|
18202
|
+
skipped: "skipped";
|
|
18203
|
+
cancelled: "cancelled";
|
|
18204
|
+
}>;
|
|
18205
|
+
phase: z.ZodEnum<{
|
|
18206
|
+
eligibility: "eligibility";
|
|
18207
|
+
catalog_preparation: "catalog_preparation";
|
|
18208
|
+
payload_validation: "payload_validation";
|
|
18209
|
+
sending: "sending";
|
|
18210
|
+
reconciling: "reconciling";
|
|
18211
|
+
completed: "completed";
|
|
18212
|
+
}>;
|
|
18213
|
+
attempts: z.ZodCoercedNumber<unknown>;
|
|
18214
|
+
generation: z.ZodCoercedNumber<unknown>;
|
|
18215
|
+
desiredPayloadFingerprint: z.ZodString;
|
|
18216
|
+
processedPayloadFingerprint: z.ZodNullable<z.ZodString>;
|
|
18217
|
+
remoteIdempotencyKey: z.ZodNullable<z.ZodString>;
|
|
18218
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
18219
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
18220
|
+
errorContext: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>, z.ZodTransform<Record<string, unknown> | null, Record<string, unknown> | null | undefined>>;
|
|
18221
|
+
technicalError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18222
|
+
nextRetryAt: z.ZodNullable<z.ZodString>;
|
|
18223
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
18224
|
+
preparedAt: z.ZodNullable<z.ZodString>;
|
|
18225
|
+
heartbeatAt: z.ZodNullable<z.ZodString>;
|
|
18226
|
+
succeededAt: z.ZodNullable<z.ZodString>;
|
|
18227
|
+
remoteIdentifier: z.ZodNullable<z.ZodString>;
|
|
18228
|
+
importedFromLegacy: z.ZodBoolean;
|
|
18229
|
+
assignedAt: z.ZodNullable<z.ZodString>;
|
|
18230
|
+
assignedTo: z.ZodNullable<z.ZodString>;
|
|
18231
|
+
createdAt: z.ZodString;
|
|
18232
|
+
updatedAt: z.ZodString;
|
|
18233
|
+
}, z.core.$strip>;
|
|
18234
|
+
readonly querySchema: undefined;
|
|
18235
|
+
readonly headersSchema: undefined;
|
|
18236
|
+
constructor(exportId: string);
|
|
18237
|
+
getPath(): string;
|
|
18238
|
+
}
|
|
18239
|
+
|
|
18240
|
+
declare const getAdminOrderIntegrationExportsQuerySchema: z.ZodObject<{
|
|
18241
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
18242
|
+
pending: "pending";
|
|
18243
|
+
failed: "failed";
|
|
18244
|
+
processing: "processing";
|
|
18245
|
+
retry_scheduled: "retry_scheduled";
|
|
18246
|
+
outcome_unknown: "outcome_unknown";
|
|
18247
|
+
succeeded: "succeeded";
|
|
18248
|
+
manual_action: "manual_action";
|
|
18249
|
+
skipped: "skipped";
|
|
18250
|
+
cancelled: "cancelled";
|
|
18251
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
18252
|
+
pending: "pending";
|
|
18253
|
+
failed: "failed";
|
|
18254
|
+
processing: "processing";
|
|
18255
|
+
retry_scheduled: "retry_scheduled";
|
|
18256
|
+
outcome_unknown: "outcome_unknown";
|
|
18257
|
+
succeeded: "succeeded";
|
|
18258
|
+
manual_action: "manual_action";
|
|
18259
|
+
skipped: "skipped";
|
|
18260
|
+
cancelled: "cancelled";
|
|
18261
|
+
}>>]>>;
|
|
18262
|
+
serviceSnapshot: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
18263
|
+
integration: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
18264
|
+
order: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
18265
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
18266
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
18267
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
18268
|
+
asc: "asc";
|
|
18269
|
+
desc: "desc";
|
|
18270
|
+
}>>;
|
|
18271
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
18272
|
+
asc: "asc";
|
|
18273
|
+
desc: "desc";
|
|
18274
|
+
}>>;
|
|
18275
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
18276
|
+
itemsPerPage: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
18277
|
+
}, z.core.$strip>;
|
|
18278
|
+
type GetAdminOrderIntegrationExportsQueryParams = z.infer<typeof getAdminOrderIntegrationExportsQuerySchema>;
|
|
18279
|
+
declare const inputSchema$2: z.ZodUndefined;
|
|
18280
|
+
declare const getAdminOrderIntegrationExportsResponseSchema: z.ZodObject<{
|
|
18281
|
+
data: z.ZodArray<z.ZodObject<{
|
|
18282
|
+
id: z.ZodString;
|
|
18283
|
+
order: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/:id">, unknown>>;
|
|
18284
|
+
integration: z.ZodPipe<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
18285
|
+
iri: z.ZodString;
|
|
18286
|
+
params: z.ZodRecord<z.ZodString, z.ZodUUID>;
|
|
18287
|
+
}, z.core.$strip>, z.ZodCustom<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id" | "/integrations/ecommerce/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id" | "/integrations/tilby/:id" | "/integrations/cassa_in_cloud/:id" | "/integrations/elephant/:id" | "/integrations/kitchen/:id">, _deliverart_sdk_js_global_types.IriObject<"/integrations/:id" | "/integrations/ecommerce/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id" | "/integrations/tilby/:id" | "/integrations/cassa_in_cloud/:id" | "/integrations/elephant/:id" | "/integrations/kitchen/:id">>]>, z.ZodNull]>, z.ZodTransform<_deliverart_sdk_js_global_types.IriObject<string> | null, string | _deliverart_sdk_js_global_types.IriObject<"/integrations/:id" | "/integrations/ecommerce/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id" | "/integrations/tilby/:id" | "/integrations/cassa_in_cloud/:id" | "/integrations/elephant/:id" | "/integrations/kitchen/:id"> | {
|
|
18288
|
+
iri: string;
|
|
18289
|
+
params: Record<string, string>;
|
|
18290
|
+
} | null>>;
|
|
18291
|
+
serviceSnapshot: z.ZodString;
|
|
18292
|
+
integrationIdentifierSnapshot: z.ZodString;
|
|
18293
|
+
status: z.ZodEnum<{
|
|
18294
|
+
pending: "pending";
|
|
18295
|
+
failed: "failed";
|
|
18296
|
+
processing: "processing";
|
|
18297
|
+
retry_scheduled: "retry_scheduled";
|
|
18298
|
+
outcome_unknown: "outcome_unknown";
|
|
18299
|
+
succeeded: "succeeded";
|
|
18300
|
+
manual_action: "manual_action";
|
|
18301
|
+
skipped: "skipped";
|
|
18302
|
+
cancelled: "cancelled";
|
|
18303
|
+
}>;
|
|
18304
|
+
phase: z.ZodEnum<{
|
|
18305
|
+
eligibility: "eligibility";
|
|
18306
|
+
catalog_preparation: "catalog_preparation";
|
|
18307
|
+
payload_validation: "payload_validation";
|
|
18308
|
+
sending: "sending";
|
|
18309
|
+
reconciling: "reconciling";
|
|
18310
|
+
completed: "completed";
|
|
18311
|
+
}>;
|
|
18312
|
+
attempts: z.ZodCoercedNumber<unknown>;
|
|
18313
|
+
generation: z.ZodCoercedNumber<unknown>;
|
|
18314
|
+
desiredPayloadFingerprint: z.ZodString;
|
|
18315
|
+
processedPayloadFingerprint: z.ZodNullable<z.ZodString>;
|
|
18316
|
+
remoteIdempotencyKey: z.ZodNullable<z.ZodString>;
|
|
18317
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
18318
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
18319
|
+
errorContext: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>, z.ZodTransform<Record<string, unknown> | null, Record<string, unknown> | null | undefined>>;
|
|
18320
|
+
technicalError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18321
|
+
nextRetryAt: z.ZodNullable<z.ZodString>;
|
|
18322
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
18323
|
+
preparedAt: z.ZodNullable<z.ZodString>;
|
|
18324
|
+
heartbeatAt: z.ZodNullable<z.ZodString>;
|
|
18325
|
+
succeededAt: z.ZodNullable<z.ZodString>;
|
|
18326
|
+
remoteIdentifier: z.ZodNullable<z.ZodString>;
|
|
18327
|
+
importedFromLegacy: z.ZodBoolean;
|
|
18328
|
+
assignedAt: z.ZodNullable<z.ZodString>;
|
|
18329
|
+
assignedTo: z.ZodNullable<z.ZodString>;
|
|
18330
|
+
createdAt: z.ZodString;
|
|
18331
|
+
updatedAt: z.ZodString;
|
|
18332
|
+
}, z.core.$strip>>;
|
|
18333
|
+
pagination: z.ZodObject<{
|
|
18334
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
18335
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
18336
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
18337
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
18338
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
18339
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
18340
|
+
}, z.core.$strip>;
|
|
18341
|
+
}, z.core.$strip>;
|
|
18342
|
+
declare class GetAdminOrderIntegrationExports extends AbstractApiRequest<typeof inputSchema$2, typeof getAdminOrderIntegrationExportsResponseSchema, GetAdminOrderIntegrationExportsQueryParams> {
|
|
18343
|
+
readonly method: "GET";
|
|
18344
|
+
readonly contentType: "application/json";
|
|
18345
|
+
readonly accept: "application/json";
|
|
18346
|
+
readonly inputSchema: z.ZodUndefined;
|
|
18347
|
+
readonly outputSchema: z.ZodObject<{
|
|
18348
|
+
data: z.ZodArray<z.ZodObject<{
|
|
18349
|
+
id: z.ZodString;
|
|
18350
|
+
order: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/:id">, unknown>>;
|
|
18351
|
+
integration: z.ZodPipe<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
18352
|
+
iri: z.ZodString;
|
|
18353
|
+
params: z.ZodRecord<z.ZodString, z.ZodUUID>;
|
|
18354
|
+
}, z.core.$strip>, z.ZodCustom<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id" | "/integrations/ecommerce/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id" | "/integrations/tilby/:id" | "/integrations/cassa_in_cloud/:id" | "/integrations/elephant/:id" | "/integrations/kitchen/:id">, _deliverart_sdk_js_global_types.IriObject<"/integrations/:id" | "/integrations/ecommerce/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id" | "/integrations/tilby/:id" | "/integrations/cassa_in_cloud/:id" | "/integrations/elephant/:id" | "/integrations/kitchen/:id">>]>, z.ZodNull]>, z.ZodTransform<_deliverart_sdk_js_global_types.IriObject<string> | null, string | _deliverart_sdk_js_global_types.IriObject<"/integrations/:id" | "/integrations/ecommerce/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id" | "/integrations/tilby/:id" | "/integrations/cassa_in_cloud/:id" | "/integrations/elephant/:id" | "/integrations/kitchen/:id"> | {
|
|
18355
|
+
iri: string;
|
|
18356
|
+
params: Record<string, string>;
|
|
18357
|
+
} | null>>;
|
|
18358
|
+
serviceSnapshot: z.ZodString;
|
|
18359
|
+
integrationIdentifierSnapshot: z.ZodString;
|
|
18360
|
+
status: z.ZodEnum<{
|
|
18361
|
+
pending: "pending";
|
|
18362
|
+
failed: "failed";
|
|
18363
|
+
processing: "processing";
|
|
18364
|
+
retry_scheduled: "retry_scheduled";
|
|
18365
|
+
outcome_unknown: "outcome_unknown";
|
|
18366
|
+
succeeded: "succeeded";
|
|
18367
|
+
manual_action: "manual_action";
|
|
18368
|
+
skipped: "skipped";
|
|
18369
|
+
cancelled: "cancelled";
|
|
18370
|
+
}>;
|
|
18371
|
+
phase: z.ZodEnum<{
|
|
18372
|
+
eligibility: "eligibility";
|
|
18373
|
+
catalog_preparation: "catalog_preparation";
|
|
18374
|
+
payload_validation: "payload_validation";
|
|
18375
|
+
sending: "sending";
|
|
18376
|
+
reconciling: "reconciling";
|
|
18377
|
+
completed: "completed";
|
|
18378
|
+
}>;
|
|
18379
|
+
attempts: z.ZodCoercedNumber<unknown>;
|
|
18380
|
+
generation: z.ZodCoercedNumber<unknown>;
|
|
18381
|
+
desiredPayloadFingerprint: z.ZodString;
|
|
18382
|
+
processedPayloadFingerprint: z.ZodNullable<z.ZodString>;
|
|
18383
|
+
remoteIdempotencyKey: z.ZodNullable<z.ZodString>;
|
|
18384
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
18385
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
18386
|
+
errorContext: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>, z.ZodTransform<Record<string, unknown> | null, Record<string, unknown> | null | undefined>>;
|
|
18387
|
+
technicalError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18388
|
+
nextRetryAt: z.ZodNullable<z.ZodString>;
|
|
18389
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
18390
|
+
preparedAt: z.ZodNullable<z.ZodString>;
|
|
18391
|
+
heartbeatAt: z.ZodNullable<z.ZodString>;
|
|
18392
|
+
succeededAt: z.ZodNullable<z.ZodString>;
|
|
18393
|
+
remoteIdentifier: z.ZodNullable<z.ZodString>;
|
|
18394
|
+
importedFromLegacy: z.ZodBoolean;
|
|
18395
|
+
assignedAt: z.ZodNullable<z.ZodString>;
|
|
18396
|
+
assignedTo: z.ZodNullable<z.ZodString>;
|
|
18397
|
+
createdAt: z.ZodString;
|
|
18398
|
+
updatedAt: z.ZodString;
|
|
18399
|
+
}, z.core.$strip>>;
|
|
18400
|
+
pagination: z.ZodObject<{
|
|
18401
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
18402
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
18403
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
18404
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
18405
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
18406
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
18407
|
+
}, z.core.$strip>;
|
|
18408
|
+
}, z.core.$strip>;
|
|
18409
|
+
readonly querySchema: z.ZodObject<{
|
|
18410
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
18411
|
+
pending: "pending";
|
|
18412
|
+
failed: "failed";
|
|
18413
|
+
processing: "processing";
|
|
18414
|
+
retry_scheduled: "retry_scheduled";
|
|
18415
|
+
outcome_unknown: "outcome_unknown";
|
|
18416
|
+
succeeded: "succeeded";
|
|
18417
|
+
manual_action: "manual_action";
|
|
18418
|
+
skipped: "skipped";
|
|
18419
|
+
cancelled: "cancelled";
|
|
18420
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
18421
|
+
pending: "pending";
|
|
18422
|
+
failed: "failed";
|
|
18423
|
+
processing: "processing";
|
|
18424
|
+
retry_scheduled: "retry_scheduled";
|
|
18425
|
+
outcome_unknown: "outcome_unknown";
|
|
18426
|
+
succeeded: "succeeded";
|
|
18427
|
+
manual_action: "manual_action";
|
|
18428
|
+
skipped: "skipped";
|
|
18429
|
+
cancelled: "cancelled";
|
|
18430
|
+
}>>]>>;
|
|
18431
|
+
serviceSnapshot: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
18432
|
+
integration: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
18433
|
+
order: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
18434
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
18435
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
18436
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
18437
|
+
asc: "asc";
|
|
18438
|
+
desc: "desc";
|
|
18439
|
+
}>>;
|
|
18440
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
18441
|
+
asc: "asc";
|
|
18442
|
+
desc: "desc";
|
|
18443
|
+
}>>;
|
|
18444
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
18445
|
+
itemsPerPage: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
18446
|
+
}, z.core.$strip>;
|
|
18447
|
+
readonly headersSchema: undefined;
|
|
18448
|
+
readonly listItemSchema: z.ZodObject<{
|
|
18449
|
+
id: z.ZodString;
|
|
18450
|
+
order: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/:id">, unknown>>;
|
|
18451
|
+
integration: z.ZodPipe<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
18452
|
+
iri: z.ZodString;
|
|
18453
|
+
params: z.ZodRecord<z.ZodString, z.ZodUUID>;
|
|
18454
|
+
}, z.core.$strip>, z.ZodCustom<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id" | "/integrations/ecommerce/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id" | "/integrations/tilby/:id" | "/integrations/cassa_in_cloud/:id" | "/integrations/elephant/:id" | "/integrations/kitchen/:id">, _deliverart_sdk_js_global_types.IriObject<"/integrations/:id" | "/integrations/ecommerce/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id" | "/integrations/tilby/:id" | "/integrations/cassa_in_cloud/:id" | "/integrations/elephant/:id" | "/integrations/kitchen/:id">>]>, z.ZodNull]>, z.ZodTransform<_deliverart_sdk_js_global_types.IriObject<string> | null, string | _deliverart_sdk_js_global_types.IriObject<"/integrations/:id" | "/integrations/ecommerce/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id" | "/integrations/tilby/:id" | "/integrations/cassa_in_cloud/:id" | "/integrations/elephant/:id" | "/integrations/kitchen/:id"> | {
|
|
18455
|
+
iri: string;
|
|
18456
|
+
params: Record<string, string>;
|
|
18457
|
+
} | null>>;
|
|
18458
|
+
serviceSnapshot: z.ZodString;
|
|
18459
|
+
integrationIdentifierSnapshot: z.ZodString;
|
|
18460
|
+
status: z.ZodEnum<{
|
|
18461
|
+
pending: "pending";
|
|
18462
|
+
failed: "failed";
|
|
18463
|
+
processing: "processing";
|
|
18464
|
+
retry_scheduled: "retry_scheduled";
|
|
18465
|
+
outcome_unknown: "outcome_unknown";
|
|
18466
|
+
succeeded: "succeeded";
|
|
18467
|
+
manual_action: "manual_action";
|
|
18468
|
+
skipped: "skipped";
|
|
18469
|
+
cancelled: "cancelled";
|
|
18470
|
+
}>;
|
|
18471
|
+
phase: z.ZodEnum<{
|
|
18472
|
+
eligibility: "eligibility";
|
|
18473
|
+
catalog_preparation: "catalog_preparation";
|
|
18474
|
+
payload_validation: "payload_validation";
|
|
18475
|
+
sending: "sending";
|
|
18476
|
+
reconciling: "reconciling";
|
|
18477
|
+
completed: "completed";
|
|
18478
|
+
}>;
|
|
18479
|
+
attempts: z.ZodCoercedNumber<unknown>;
|
|
18480
|
+
generation: z.ZodCoercedNumber<unknown>;
|
|
18481
|
+
desiredPayloadFingerprint: z.ZodString;
|
|
18482
|
+
processedPayloadFingerprint: z.ZodNullable<z.ZodString>;
|
|
18483
|
+
remoteIdempotencyKey: z.ZodNullable<z.ZodString>;
|
|
18484
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
18485
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
18486
|
+
errorContext: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>, z.ZodTransform<Record<string, unknown> | null, Record<string, unknown> | null | undefined>>;
|
|
18487
|
+
technicalError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18488
|
+
nextRetryAt: z.ZodNullable<z.ZodString>;
|
|
18489
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
18490
|
+
preparedAt: z.ZodNullable<z.ZodString>;
|
|
18491
|
+
heartbeatAt: z.ZodNullable<z.ZodString>;
|
|
18492
|
+
succeededAt: z.ZodNullable<z.ZodString>;
|
|
18493
|
+
remoteIdentifier: z.ZodNullable<z.ZodString>;
|
|
18494
|
+
importedFromLegacy: z.ZodBoolean;
|
|
18495
|
+
assignedAt: z.ZodNullable<z.ZodString>;
|
|
18496
|
+
assignedTo: z.ZodNullable<z.ZodString>;
|
|
18497
|
+
createdAt: z.ZodString;
|
|
18498
|
+
updatedAt: z.ZodString;
|
|
18499
|
+
}, z.core.$strip>;
|
|
18500
|
+
readonly paginationDefaultEnabled = true;
|
|
18501
|
+
constructor(options?: {
|
|
18502
|
+
query?: GetAdminOrderIntegrationExportsQueryParams;
|
|
18503
|
+
});
|
|
18504
|
+
getPath(): string;
|
|
18505
|
+
}
|
|
18506
|
+
|
|
18152
18507
|
declare const getOrderIntegrationExportDetailsInputSchema: z.ZodUndefined;
|
|
18153
18508
|
type GetOrderIntegrationExportDetailsInput = z.infer<typeof getOrderIntegrationExportDetailsInputSchema>;
|
|
18154
18509
|
declare const getOrderIntegrationExportDetailsResponseSchema: z.ZodObject<{
|
|
@@ -18198,6 +18553,8 @@ declare const getOrderIntegrationExportDetailsResponseSchema: z.ZodObject<{
|
|
|
18198
18553
|
succeededAt: z.ZodNullable<z.ZodString>;
|
|
18199
18554
|
remoteIdentifier: z.ZodNullable<z.ZodString>;
|
|
18200
18555
|
importedFromLegacy: z.ZodBoolean;
|
|
18556
|
+
assignedAt: z.ZodNullable<z.ZodString>;
|
|
18557
|
+
assignedTo: z.ZodNullable<z.ZodString>;
|
|
18201
18558
|
createdAt: z.ZodString;
|
|
18202
18559
|
updatedAt: z.ZodString;
|
|
18203
18560
|
attemptHistory: z.ZodArray<z.ZodObject<{
|
|
@@ -18292,6 +18649,8 @@ declare class GetOrderIntegrationExportDetails extends AbstractApiRequest<typeof
|
|
|
18292
18649
|
succeededAt: z.ZodNullable<z.ZodString>;
|
|
18293
18650
|
remoteIdentifier: z.ZodNullable<z.ZodString>;
|
|
18294
18651
|
importedFromLegacy: z.ZodBoolean;
|
|
18652
|
+
assignedAt: z.ZodNullable<z.ZodString>;
|
|
18653
|
+
assignedTo: z.ZodNullable<z.ZodString>;
|
|
18295
18654
|
createdAt: z.ZodString;
|
|
18296
18655
|
updatedAt: z.ZodString;
|
|
18297
18656
|
attemptHistory: z.ZodArray<z.ZodObject<{
|
|
@@ -18390,6 +18749,8 @@ declare const getOrderIntegrationExportsResponseSchema: z.ZodObject<{
|
|
|
18390
18749
|
succeededAt: z.ZodNullable<z.ZodString>;
|
|
18391
18750
|
remoteIdentifier: z.ZodNullable<z.ZodString>;
|
|
18392
18751
|
importedFromLegacy: z.ZodBoolean;
|
|
18752
|
+
assignedAt: z.ZodNullable<z.ZodString>;
|
|
18753
|
+
assignedTo: z.ZodNullable<z.ZodString>;
|
|
18393
18754
|
createdAt: z.ZodString;
|
|
18394
18755
|
updatedAt: z.ZodString;
|
|
18395
18756
|
}, z.core.$strip>>;
|
|
@@ -18456,6 +18817,8 @@ declare class GetOrderIntegrationExports extends AbstractApiRequest<typeof getOr
|
|
|
18456
18817
|
succeededAt: z.ZodNullable<z.ZodString>;
|
|
18457
18818
|
remoteIdentifier: z.ZodNullable<z.ZodString>;
|
|
18458
18819
|
importedFromLegacy: z.ZodBoolean;
|
|
18820
|
+
assignedAt: z.ZodNullable<z.ZodString>;
|
|
18821
|
+
assignedTo: z.ZodNullable<z.ZodString>;
|
|
18459
18822
|
createdAt: z.ZodString;
|
|
18460
18823
|
updatedAt: z.ZodString;
|
|
18461
18824
|
}, z.core.$strip>>;
|
|
@@ -18517,6 +18880,8 @@ declare class GetOrderIntegrationExports extends AbstractApiRequest<typeof getOr
|
|
|
18517
18880
|
succeededAt: z.ZodNullable<z.ZodString>;
|
|
18518
18881
|
remoteIdentifier: z.ZodNullable<z.ZodString>;
|
|
18519
18882
|
importedFromLegacy: z.ZodBoolean;
|
|
18883
|
+
assignedAt: z.ZodNullable<z.ZodString>;
|
|
18884
|
+
assignedTo: z.ZodNullable<z.ZodString>;
|
|
18520
18885
|
createdAt: z.ZodString;
|
|
18521
18886
|
updatedAt: z.ZodString;
|
|
18522
18887
|
}, z.core.$strip>;
|
|
@@ -18526,6 +18891,140 @@ declare class GetOrderIntegrationExports extends AbstractApiRequest<typeof getOr
|
|
|
18526
18891
|
getPath(): string;
|
|
18527
18892
|
}
|
|
18528
18893
|
|
|
18894
|
+
declare const inputSchema$1: z.ZodUndefined;
|
|
18895
|
+
declare class ReleaseOrderIntegrationExport extends AbstractApiRequest<typeof inputSchema$1, typeof orderIntegrationExportSchema> {
|
|
18896
|
+
private readonly exportId;
|
|
18897
|
+
readonly method: "PATCH";
|
|
18898
|
+
readonly contentType: "application/merge-patch+json";
|
|
18899
|
+
readonly accept: "application/json";
|
|
18900
|
+
readonly inputSchema: z.ZodUndefined;
|
|
18901
|
+
readonly outputSchema: z.ZodObject<{
|
|
18902
|
+
id: z.ZodString;
|
|
18903
|
+
order: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/:id">, unknown>>;
|
|
18904
|
+
integration: z.ZodPipe<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
18905
|
+
iri: z.ZodString;
|
|
18906
|
+
params: z.ZodRecord<z.ZodString, z.ZodUUID>;
|
|
18907
|
+
}, z.core.$strip>, z.ZodCustom<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id" | "/integrations/ecommerce/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id" | "/integrations/tilby/:id" | "/integrations/cassa_in_cloud/:id" | "/integrations/elephant/:id" | "/integrations/kitchen/:id">, _deliverart_sdk_js_global_types.IriObject<"/integrations/:id" | "/integrations/ecommerce/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id" | "/integrations/tilby/:id" | "/integrations/cassa_in_cloud/:id" | "/integrations/elephant/:id" | "/integrations/kitchen/:id">>]>, z.ZodNull]>, z.ZodTransform<_deliverart_sdk_js_global_types.IriObject<string> | null, string | _deliverart_sdk_js_global_types.IriObject<"/integrations/:id" | "/integrations/ecommerce/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id" | "/integrations/tilby/:id" | "/integrations/cassa_in_cloud/:id" | "/integrations/elephant/:id" | "/integrations/kitchen/:id"> | {
|
|
18908
|
+
iri: string;
|
|
18909
|
+
params: Record<string, string>;
|
|
18910
|
+
} | null>>;
|
|
18911
|
+
serviceSnapshot: z.ZodString;
|
|
18912
|
+
integrationIdentifierSnapshot: z.ZodString;
|
|
18913
|
+
status: z.ZodEnum<{
|
|
18914
|
+
pending: "pending";
|
|
18915
|
+
failed: "failed";
|
|
18916
|
+
processing: "processing";
|
|
18917
|
+
retry_scheduled: "retry_scheduled";
|
|
18918
|
+
outcome_unknown: "outcome_unknown";
|
|
18919
|
+
succeeded: "succeeded";
|
|
18920
|
+
manual_action: "manual_action";
|
|
18921
|
+
skipped: "skipped";
|
|
18922
|
+
cancelled: "cancelled";
|
|
18923
|
+
}>;
|
|
18924
|
+
phase: z.ZodEnum<{
|
|
18925
|
+
eligibility: "eligibility";
|
|
18926
|
+
catalog_preparation: "catalog_preparation";
|
|
18927
|
+
payload_validation: "payload_validation";
|
|
18928
|
+
sending: "sending";
|
|
18929
|
+
reconciling: "reconciling";
|
|
18930
|
+
completed: "completed";
|
|
18931
|
+
}>;
|
|
18932
|
+
attempts: z.ZodCoercedNumber<unknown>;
|
|
18933
|
+
generation: z.ZodCoercedNumber<unknown>;
|
|
18934
|
+
desiredPayloadFingerprint: z.ZodString;
|
|
18935
|
+
processedPayloadFingerprint: z.ZodNullable<z.ZodString>;
|
|
18936
|
+
remoteIdempotencyKey: z.ZodNullable<z.ZodString>;
|
|
18937
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
18938
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
18939
|
+
errorContext: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>, z.ZodTransform<Record<string, unknown> | null, Record<string, unknown> | null | undefined>>;
|
|
18940
|
+
technicalError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18941
|
+
nextRetryAt: z.ZodNullable<z.ZodString>;
|
|
18942
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
18943
|
+
preparedAt: z.ZodNullable<z.ZodString>;
|
|
18944
|
+
heartbeatAt: z.ZodNullable<z.ZodString>;
|
|
18945
|
+
succeededAt: z.ZodNullable<z.ZodString>;
|
|
18946
|
+
remoteIdentifier: z.ZodNullable<z.ZodString>;
|
|
18947
|
+
importedFromLegacy: z.ZodBoolean;
|
|
18948
|
+
assignedAt: z.ZodNullable<z.ZodString>;
|
|
18949
|
+
assignedTo: z.ZodNullable<z.ZodString>;
|
|
18950
|
+
createdAt: z.ZodString;
|
|
18951
|
+
updatedAt: z.ZodString;
|
|
18952
|
+
}, z.core.$strip>;
|
|
18953
|
+
readonly querySchema: undefined;
|
|
18954
|
+
readonly headersSchema: undefined;
|
|
18955
|
+
constructor(exportId: string);
|
|
18956
|
+
getPath(): string;
|
|
18957
|
+
}
|
|
18958
|
+
|
|
18959
|
+
declare const inputSchema: z.ZodObject<{
|
|
18960
|
+
assignee: z.ZodString;
|
|
18961
|
+
}, z.core.$strip>;
|
|
18962
|
+
declare class ReassignOrderIntegrationExport extends AbstractApiRequest<typeof inputSchema, typeof orderIntegrationExportSchema> {
|
|
18963
|
+
private readonly exportId;
|
|
18964
|
+
readonly method: "PATCH";
|
|
18965
|
+
readonly contentType: "application/merge-patch+json";
|
|
18966
|
+
readonly accept: "application/json";
|
|
18967
|
+
readonly inputSchema: z.ZodObject<{
|
|
18968
|
+
assignee: z.ZodString;
|
|
18969
|
+
}, z.core.$strip>;
|
|
18970
|
+
readonly outputSchema: z.ZodObject<{
|
|
18971
|
+
id: z.ZodString;
|
|
18972
|
+
order: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/:id">, unknown>>;
|
|
18973
|
+
integration: z.ZodPipe<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
18974
|
+
iri: z.ZodString;
|
|
18975
|
+
params: z.ZodRecord<z.ZodString, z.ZodUUID>;
|
|
18976
|
+
}, z.core.$strip>, z.ZodCustom<_deliverart_sdk_js_global_types.IriObject<"/integrations/:id" | "/integrations/ecommerce/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id" | "/integrations/tilby/:id" | "/integrations/cassa_in_cloud/:id" | "/integrations/elephant/:id" | "/integrations/kitchen/:id">, _deliverart_sdk_js_global_types.IriObject<"/integrations/:id" | "/integrations/ecommerce/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id" | "/integrations/tilby/:id" | "/integrations/cassa_in_cloud/:id" | "/integrations/elephant/:id" | "/integrations/kitchen/:id">>]>, z.ZodNull]>, z.ZodTransform<_deliverart_sdk_js_global_types.IriObject<string> | null, string | _deliverart_sdk_js_global_types.IriObject<"/integrations/:id" | "/integrations/ecommerce/:id" | "/integrations/deliveroo/:id" | "/integrations/justeat/:id" | "/integrations/glovo/:id" | "/integrations/tilby/:id" | "/integrations/cassa_in_cloud/:id" | "/integrations/elephant/:id" | "/integrations/kitchen/:id"> | {
|
|
18977
|
+
iri: string;
|
|
18978
|
+
params: Record<string, string>;
|
|
18979
|
+
} | null>>;
|
|
18980
|
+
serviceSnapshot: z.ZodString;
|
|
18981
|
+
integrationIdentifierSnapshot: z.ZodString;
|
|
18982
|
+
status: z.ZodEnum<{
|
|
18983
|
+
pending: "pending";
|
|
18984
|
+
failed: "failed";
|
|
18985
|
+
processing: "processing";
|
|
18986
|
+
retry_scheduled: "retry_scheduled";
|
|
18987
|
+
outcome_unknown: "outcome_unknown";
|
|
18988
|
+
succeeded: "succeeded";
|
|
18989
|
+
manual_action: "manual_action";
|
|
18990
|
+
skipped: "skipped";
|
|
18991
|
+
cancelled: "cancelled";
|
|
18992
|
+
}>;
|
|
18993
|
+
phase: z.ZodEnum<{
|
|
18994
|
+
eligibility: "eligibility";
|
|
18995
|
+
catalog_preparation: "catalog_preparation";
|
|
18996
|
+
payload_validation: "payload_validation";
|
|
18997
|
+
sending: "sending";
|
|
18998
|
+
reconciling: "reconciling";
|
|
18999
|
+
completed: "completed";
|
|
19000
|
+
}>;
|
|
19001
|
+
attempts: z.ZodCoercedNumber<unknown>;
|
|
19002
|
+
generation: z.ZodCoercedNumber<unknown>;
|
|
19003
|
+
desiredPayloadFingerprint: z.ZodString;
|
|
19004
|
+
processedPayloadFingerprint: z.ZodNullable<z.ZodString>;
|
|
19005
|
+
remoteIdempotencyKey: z.ZodNullable<z.ZodString>;
|
|
19006
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
19007
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
19008
|
+
errorContext: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>, z.ZodTransform<Record<string, unknown> | null, Record<string, unknown> | null | undefined>>;
|
|
19009
|
+
technicalError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19010
|
+
nextRetryAt: z.ZodNullable<z.ZodString>;
|
|
19011
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
19012
|
+
preparedAt: z.ZodNullable<z.ZodString>;
|
|
19013
|
+
heartbeatAt: z.ZodNullable<z.ZodString>;
|
|
19014
|
+
succeededAt: z.ZodNullable<z.ZodString>;
|
|
19015
|
+
remoteIdentifier: z.ZodNullable<z.ZodString>;
|
|
19016
|
+
importedFromLegacy: z.ZodBoolean;
|
|
19017
|
+
assignedAt: z.ZodNullable<z.ZodString>;
|
|
19018
|
+
assignedTo: z.ZodNullable<z.ZodString>;
|
|
19019
|
+
createdAt: z.ZodString;
|
|
19020
|
+
updatedAt: z.ZodString;
|
|
19021
|
+
}, z.core.$strip>;
|
|
19022
|
+
readonly querySchema: undefined;
|
|
19023
|
+
readonly headersSchema: undefined;
|
|
19024
|
+
constructor(exportId: string, input: z.input<typeof inputSchema>);
|
|
19025
|
+
getPath(): string;
|
|
19026
|
+
}
|
|
19027
|
+
|
|
18529
19028
|
declare const retryOrderIntegrationExportInputSchema: z.ZodUndefined;
|
|
18530
19029
|
type RetryOrderIntegrationExportInput = z.infer<typeof retryOrderIntegrationExportInputSchema>;
|
|
18531
19030
|
declare const retryOrderIntegrationExportResponseSchema: z.ZodObject<{
|
|
@@ -18575,6 +19074,8 @@ declare const retryOrderIntegrationExportResponseSchema: z.ZodObject<{
|
|
|
18575
19074
|
succeededAt: z.ZodNullable<z.ZodString>;
|
|
18576
19075
|
remoteIdentifier: z.ZodNullable<z.ZodString>;
|
|
18577
19076
|
importedFromLegacy: z.ZodBoolean;
|
|
19077
|
+
assignedAt: z.ZodNullable<z.ZodString>;
|
|
19078
|
+
assignedTo: z.ZodNullable<z.ZodString>;
|
|
18578
19079
|
createdAt: z.ZodString;
|
|
18579
19080
|
updatedAt: z.ZodString;
|
|
18580
19081
|
attemptHistory: z.ZodArray<z.ZodObject<{
|
|
@@ -18669,6 +19170,8 @@ declare class RetryOrderIntegrationExport extends AbstractApiRequest<typeof retr
|
|
|
18669
19170
|
succeededAt: z.ZodNullable<z.ZodString>;
|
|
18670
19171
|
remoteIdentifier: z.ZodNullable<z.ZodString>;
|
|
18671
19172
|
importedFromLegacy: z.ZodBoolean;
|
|
19173
|
+
assignedAt: z.ZodNullable<z.ZodString>;
|
|
19174
|
+
assignedTo: z.ZodNullable<z.ZodString>;
|
|
18672
19175
|
createdAt: z.ZodString;
|
|
18673
19176
|
updatedAt: z.ZodString;
|
|
18674
19177
|
attemptHistory: z.ZodArray<z.ZodObject<{
|
|
@@ -36727,4 +37230,4 @@ type BundleIri = z.infer<typeof bundleIriSchema>;
|
|
|
36727
37230
|
declare const bundleNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown>>;
|
|
36728
37231
|
type BundleNullableIri = z.infer<typeof bundleNullableIriSchema>;
|
|
36729
37232
|
|
|
36730
|
-
export { AdvanceOrderPreparationStatus, type AdvanceOrderPreparationStatusInput, type AdvanceOrderPreparationStatusResponse, type Bundle, type BundleDetails, type BundleIri, type BundleNullableIri, type BundlesQueryParams, CalculateOrderFees, type CalculateOrderFeesInput, type CalculateOrderFeesResponse, type CollectionOrder, type CollectionOrderDetails, ConfirmOrder, type ConfirmOrderInput, type ConfirmOrderResponse, CreateBundle, type CreateBundleInput, type CreateBundleResponse, CreateOrder, type CreateOrderInput, CreateOrderRating, type CreateOrderRatingInput, type CreateOrderRatingResponse, type CreateOrderResponse, DeleteBundle, DeleteOrder, type DeliveryOrder, type DeliveryOrderDetails, type FeeSimulation, type ForcedBundle, type ForcedBundleDetails, GenerateOrderBundle, type GenerateOrderBundleInput, type GenerateOrderBundleResponse, GetBundleDetails, type GetBundleDetailsInput, type GetBundleDetailsResponse, GetBundles, GetBundlesFromPointOfSale, type GetBundlesFromPointOfSaleInput, type GetBundlesFromPointOfSaleQueryParams, type GetBundlesFromPointOfSaleResponse, type GetBundlesInput, type GetBundlesQueryParams, type GetBundlesResponse, GetCustomerOrders, type GetCustomerOrdersInput, type GetCustomerOrdersQueryParams, type GetCustomerOrdersResponse, GetOrderDetails, type GetOrderDetailsInput, type GetOrderDetailsResponse, GetOrderIntegrationExportDetails, type GetOrderIntegrationExportDetailsInput, type GetOrderIntegrationExportDetailsResponse, GetOrderIntegrationExports, type GetOrderIntegrationExportsInput, type GetOrderIntegrationExportsResponse, GetOrderMenuItemDetails, type GetOrderMenuItemDetailsInput, type GetOrderMenuItemDetailsResponse, GetOrderMenuItemModifierDetails, type GetOrderMenuItemModifierDetailsInput, type GetOrderMenuItemModifierDetailsResponse, GetOrderMenuItemModifierModifierDetails, GetOrderMenuItemModifiers, type GetOrderMenuItemModifiersInput, type GetOrderMenuItemModifiersQueryParams, type GetOrderMenuItemModifiersResponse, GetOrderMenuItems, type GetOrderMenuItemsInput, type GetOrderMenuItemsQueryParams, type GetOrderMenuItemsResponse, GetOrderRatingDetails, type GetOrderRatingDetailsInput, type GetOrderRatingDetailsResponse, GetOrderRescheduleOptions, type GetOrderRescheduleOptionsInput, type GetOrderRescheduleOptionsQuery, type GetOrderRescheduleOptionsResponse, GetOrders, type GetOrdersInput, type GetOrdersQueryParams, type GetOrdersResponse, GetPointOfSaleOrders, type GetPointOfSaleOrdersInput, type GetPointOfSaleOrdersQueryParams, type GetPointOfSaleOrdersResponse, type KitchenOrder, type KitchenOrderDetails, MarkOrderAsCollected, type MarkOrderAsCollectedInput, type MarkOrderAsCollectedResponse, MarkOrderAsRead, type MarkOrderAsReadInput, type MarkOrderAsReadResponse, type NewOrderRating, type Order, type OrderAddressType, type OrderBillingInfo, type OrderCustomerInfo, type OrderDetails, type OrderExportFailureKind, type OrderFeeDto, type OrderIntegrationExport, type OrderIntegrationExportAttempt, type OrderIntegrationExportAttemptResult, type OrderIntegrationExportDetails, type OrderIntegrationExportErrorContext, type OrderIntegrationExportPhase, type OrderIntegrationExportStatus, type OrderIri, type OrderMenuItem, type OrderMenuItemDetails, type OrderMenuItemIri, type OrderMenuItemModifier, type OrderMenuItemModifierDetails, type OrderMenuItemModifierIri, type OrderMenuItemModifierNullableIri, type OrderMenuItemModifiersQueryParams, type OrderMenuItemNullableIri, type OrderMenuItemsQueryParams, type OrderNullableIri, type OrderRating, type OrderRescheduleOption, type OrderRescheduleOptionsQuery, type OrderRescheduleReferenceBundle, type OrderRescheduleWindow, type OrdersQueryParams, PayOrder, type PayOrderInput, type PayOrderResponse, type RegularBundle, type RegularBundleDetails, RejectOrder, type RejectOrderInput, type RejectOrderResponse, RetryOrderIntegrationExport, type RetryOrderIntegrationExportInput, type RetryOrderIntegrationExportResponse, type TakeAwayOrder, type TakeAwayOrderDetails, UpdateBundle, type UpdateBundleInput, type UpdateBundleResponse, UpdateOrder, type UpdateOrderInput, UpdateOrderRating, type UpdateOrderRatingInput, type UpdateOrderRatingResponse, type UpdateOrderResponse, type WritableBundle, type WritableCollectionOrder, type WritableDeliveryOrder, type WritableKitchenOrder, type WritableOrder, type WritableOrderMenuItem, type WritableOrderMenuItemModifier, type WritableOrderRating, type WritableOrderRatingUpdate, type WritableTakeAwayOrder, type WritableUpdateOrder, advanceOrderPreparationStatusInputSchema, advanceOrderPreparationStatusResponseSchema, bundleDetailsSchema, bundleIriSchema, bundleNullableIriSchema, bundleSchema, bundlesQuerySchema, calculateOrderFeesInputSchema, calculateOrderFeesResponseSchema, collectionOrderDetailsSchema, collectionOrderSchema, confirmOrderInputSchema, confirmOrderResponseSchema, createBundleInputSchema, createBundleResponseSchema, createOrderInputSchema, createOrderRatingInputSchema, createOrderRatingResponseSchema, createOrderRatingSchema, createOrderResponseSchema, deleteBundleInputSchema, deleteBundleResponseSchema, deleteOrderInputSchema, deleteOrderResponseSchema, deliveryOrderDetailsSchema, deliveryOrderSchema, feeSimulationSchema, forcedBundleDetailsSchema, forcedBundleSchema, generateOrderBundleInputSchema, generateOrderBundleResponseSchema, getBundleDetailsInputSchema, getBundleDetailsResponseSchema, getBundlesFromPointOfSaleInputSchema, getBundlesFromPointOfSaleQuerySchema, getBundlesFromPointOfSaleResponseSchema, getBundlesInputSchema, getBundlesQuerySchema, getBundlesResponseSchema, getCustomerOrdersInputSchema, getCustomerOrdersQuerySchema, getCustomerOrdersResponseSchema, getOrderDetailsInputSchema, getOrderDetailsResponseSchema, getOrderIntegrationExportDetailsInputSchema, getOrderIntegrationExportDetailsResponseSchema, getOrderIntegrationExportsInputSchema, getOrderIntegrationExportsResponseSchema, getOrderMenuItemDetailsInputSchema, getOrderMenuItemDetailsResponseSchema, getOrderMenuItemModifierDetailsInputSchema, getOrderMenuItemModifierDetailsResponseSchema, getOrderMenuItemModifiersInputSchema, getOrderMenuItemModifiersQuerySchema, getOrderMenuItemModifiersResponseSchema, getOrderMenuItemsInputSchema, getOrderMenuItemsQuerySchema, getOrderMenuItemsResponseSchema, getOrderRatingDetailsInputSchema, getOrderRatingDetailsResponseSchema, getOrderRescheduleOptionsInputSchema, getOrderRescheduleOptionsQuerySchema, getOrderRescheduleOptionsResponseSchema, getOrdersInputSchema, getOrdersQuerySchema, getOrdersResponseSchema, getPointOfSaleOrdersInputSchema, getPointOfSaleOrdersQuerySchema, getPointOfSaleOrdersResponseSchema, kitchenOrderDetailsSchema, kitchenOrderSchema, localeItemSchema, markOrderAsCollectedInputSchema, markOrderAsCollectedResponseSchema, markOrderAsReadInputSchema, markOrderAsReadResponseSchema, orderAddressSchema, orderBillingInfoSchema, orderCustomerInfoSchema, orderDetailsSchema, orderExportFailureKindSchema, orderExportFailureKinds, orderFeeDtoSchema, orderIntegrationExportAttemptResultSchema, orderIntegrationExportAttemptResults, orderIntegrationExportAttemptSchema, orderIntegrationExportDetailsSchema, orderIntegrationExportErrorContextSchema, orderIntegrationExportPhaseSchema, orderIntegrationExportPhases, orderIntegrationExportSchema, orderIntegrationExportStatusSchema, orderIntegrationExportStatuses, orderIriSchema, orderMenuItemDetailsSchema, orderMenuItemIriSchema, orderMenuItemModifierDetailsSchema, orderMenuItemModifierIriSchema, orderMenuItemModifierNullableIriSchema, orderMenuItemModifierSchema, orderMenuItemModifiersQuerySchema, orderMenuItemNullableIriSchema, orderMenuItemSchema, orderMenuItemsQuerySchema, orderNullableIriSchema, orderRatingSchema, orderRescheduleOptionSchema, orderRescheduleOptionsQuerySchema, orderRescheduleReferenceBundleSchema, orderRescheduleWindowSchema, orderSchema, ordersQuerySchema, payOrderInputSchema, payOrderResponseSchema, regularBundleDetailsSchema, regularBundleSchema, rejectOrderInputSchema, rejectOrderResponseSchema, retryOrderIntegrationExportInputSchema, retryOrderIntegrationExportResponseSchema, takeAwayOrderDetailsSchema, takeAwayOrderSchema, updateBundleInputSchema, updateBundleResponseSchema, updateOrderInputSchema, updateOrderRatingInputSchema, updateOrderRatingResponseSchema, updateOrderRatingSchema, updateOrderResponseSchema, writableBundleSchema, writableCollectionOrderSchema, writableDeliveryOrderSchema, writableKitchenOrderSchema, writableOrderMenuItemModifierSchema, writableOrderMenuItemSchema, writableOrderRatingSchema, writableOrderSchema, writableTakeAwayOrderSchema, writableUpdateOrderSchema };
|
|
37233
|
+
export { AddOrderIntegrationExportNote, AdvanceOrderPreparationStatus, type AdvanceOrderPreparationStatusInput, type AdvanceOrderPreparationStatusResponse, type Bundle, type BundleDetails, type BundleIri, type BundleNullableIri, type BundlesQueryParams, CalculateOrderFees, type CalculateOrderFeesInput, type CalculateOrderFeesResponse, ClaimOrderIntegrationExport, type CollectionOrder, type CollectionOrderDetails, ConfirmOrder, type ConfirmOrderInput, type ConfirmOrderResponse, CreateBundle, type CreateBundleInput, type CreateBundleResponse, CreateOrder, type CreateOrderInput, CreateOrderRating, type CreateOrderRatingInput, type CreateOrderRatingResponse, type CreateOrderResponse, DeleteBundle, DeleteOrder, type DeliveryOrder, type DeliveryOrderDetails, type FeeSimulation, type ForcedBundle, type ForcedBundleDetails, GenerateOrderBundle, type GenerateOrderBundleInput, type GenerateOrderBundleResponse, GetAdminOrderIntegrationExports, type GetAdminOrderIntegrationExportsQueryParams, GetBundleDetails, type GetBundleDetailsInput, type GetBundleDetailsResponse, GetBundles, GetBundlesFromPointOfSale, type GetBundlesFromPointOfSaleInput, type GetBundlesFromPointOfSaleQueryParams, type GetBundlesFromPointOfSaleResponse, type GetBundlesInput, type GetBundlesQueryParams, type GetBundlesResponse, GetCustomerOrders, type GetCustomerOrdersInput, type GetCustomerOrdersQueryParams, type GetCustomerOrdersResponse, GetOrderDetails, type GetOrderDetailsInput, type GetOrderDetailsResponse, GetOrderIntegrationExportDetails, type GetOrderIntegrationExportDetailsInput, type GetOrderIntegrationExportDetailsResponse, GetOrderIntegrationExports, type GetOrderIntegrationExportsInput, type GetOrderIntegrationExportsResponse, GetOrderMenuItemDetails, type GetOrderMenuItemDetailsInput, type GetOrderMenuItemDetailsResponse, GetOrderMenuItemModifierDetails, type GetOrderMenuItemModifierDetailsInput, type GetOrderMenuItemModifierDetailsResponse, GetOrderMenuItemModifierModifierDetails, GetOrderMenuItemModifiers, type GetOrderMenuItemModifiersInput, type GetOrderMenuItemModifiersQueryParams, type GetOrderMenuItemModifiersResponse, GetOrderMenuItems, type GetOrderMenuItemsInput, type GetOrderMenuItemsQueryParams, type GetOrderMenuItemsResponse, GetOrderRatingDetails, type GetOrderRatingDetailsInput, type GetOrderRatingDetailsResponse, GetOrderRescheduleOptions, type GetOrderRescheduleOptionsInput, type GetOrderRescheduleOptionsQuery, type GetOrderRescheduleOptionsResponse, GetOrders, type GetOrdersInput, type GetOrdersQueryParams, type GetOrdersResponse, GetPointOfSaleOrders, type GetPointOfSaleOrdersInput, type GetPointOfSaleOrdersQueryParams, type GetPointOfSaleOrdersResponse, type KitchenOrder, type KitchenOrderDetails, MarkOrderAsCollected, type MarkOrderAsCollectedInput, type MarkOrderAsCollectedResponse, MarkOrderAsRead, type MarkOrderAsReadInput, type MarkOrderAsReadResponse, type NewOrderRating, type Order, type OrderAddressType, type OrderBillingInfo, type OrderCustomerInfo, type OrderDetails, type OrderExportFailureKind, type OrderFeeDto, type OrderIntegrationExport, type OrderIntegrationExportAttempt, type OrderIntegrationExportAttemptResult, type OrderIntegrationExportDetails, type OrderIntegrationExportErrorContext, type OrderIntegrationExportPhase, type OrderIntegrationExportStatus, type OrderIri, type OrderMenuItem, type OrderMenuItemDetails, type OrderMenuItemIri, type OrderMenuItemModifier, type OrderMenuItemModifierDetails, type OrderMenuItemModifierIri, type OrderMenuItemModifierNullableIri, type OrderMenuItemModifiersQueryParams, type OrderMenuItemNullableIri, type OrderMenuItemsQueryParams, type OrderNullableIri, type OrderRating, type OrderRescheduleOption, type OrderRescheduleOptionsQuery, type OrderRescheduleReferenceBundle, type OrderRescheduleWindow, type OrdersQueryParams, PayOrder, type PayOrderInput, type PayOrderResponse, ReassignOrderIntegrationExport, type RegularBundle, type RegularBundleDetails, RejectOrder, type RejectOrderInput, type RejectOrderResponse, ReleaseOrderIntegrationExport, RetryOrderIntegrationExport, type RetryOrderIntegrationExportInput, type RetryOrderIntegrationExportResponse, type TakeAwayOrder, type TakeAwayOrderDetails, UpdateBundle, type UpdateBundleInput, type UpdateBundleResponse, UpdateOrder, type UpdateOrderInput, UpdateOrderRating, type UpdateOrderRatingInput, type UpdateOrderRatingResponse, type UpdateOrderResponse, type WritableBundle, type WritableCollectionOrder, type WritableDeliveryOrder, type WritableKitchenOrder, type WritableOrder, type WritableOrderMenuItem, type WritableOrderMenuItemModifier, type WritableOrderRating, type WritableOrderRatingUpdate, type WritableTakeAwayOrder, type WritableUpdateOrder, advanceOrderPreparationStatusInputSchema, advanceOrderPreparationStatusResponseSchema, bundleDetailsSchema, bundleIriSchema, bundleNullableIriSchema, bundleSchema, bundlesQuerySchema, calculateOrderFeesInputSchema, calculateOrderFeesResponseSchema, collectionOrderDetailsSchema, collectionOrderSchema, confirmOrderInputSchema, confirmOrderResponseSchema, createBundleInputSchema, createBundleResponseSchema, createOrderInputSchema, createOrderRatingInputSchema, createOrderRatingResponseSchema, createOrderRatingSchema, createOrderResponseSchema, deleteBundleInputSchema, deleteBundleResponseSchema, deleteOrderInputSchema, deleteOrderResponseSchema, deliveryOrderDetailsSchema, deliveryOrderSchema, feeSimulationSchema, forcedBundleDetailsSchema, forcedBundleSchema, generateOrderBundleInputSchema, generateOrderBundleResponseSchema, getAdminOrderIntegrationExportsQuerySchema, getAdminOrderIntegrationExportsResponseSchema, getBundleDetailsInputSchema, getBundleDetailsResponseSchema, getBundlesFromPointOfSaleInputSchema, getBundlesFromPointOfSaleQuerySchema, getBundlesFromPointOfSaleResponseSchema, getBundlesInputSchema, getBundlesQuerySchema, getBundlesResponseSchema, getCustomerOrdersInputSchema, getCustomerOrdersQuerySchema, getCustomerOrdersResponseSchema, getOrderDetailsInputSchema, getOrderDetailsResponseSchema, getOrderIntegrationExportDetailsInputSchema, getOrderIntegrationExportDetailsResponseSchema, getOrderIntegrationExportsInputSchema, getOrderIntegrationExportsResponseSchema, getOrderMenuItemDetailsInputSchema, getOrderMenuItemDetailsResponseSchema, getOrderMenuItemModifierDetailsInputSchema, getOrderMenuItemModifierDetailsResponseSchema, getOrderMenuItemModifiersInputSchema, getOrderMenuItemModifiersQuerySchema, getOrderMenuItemModifiersResponseSchema, getOrderMenuItemsInputSchema, getOrderMenuItemsQuerySchema, getOrderMenuItemsResponseSchema, getOrderRatingDetailsInputSchema, getOrderRatingDetailsResponseSchema, getOrderRescheduleOptionsInputSchema, getOrderRescheduleOptionsQuerySchema, getOrderRescheduleOptionsResponseSchema, getOrdersInputSchema, getOrdersQuerySchema, getOrdersResponseSchema, getPointOfSaleOrdersInputSchema, getPointOfSaleOrdersQuerySchema, getPointOfSaleOrdersResponseSchema, kitchenOrderDetailsSchema, kitchenOrderSchema, localeItemSchema, markOrderAsCollectedInputSchema, markOrderAsCollectedResponseSchema, markOrderAsReadInputSchema, markOrderAsReadResponseSchema, orderAddressSchema, orderBillingInfoSchema, orderCustomerInfoSchema, orderDetailsSchema, orderExportFailureKindSchema, orderExportFailureKinds, orderFeeDtoSchema, orderIntegrationExportAttemptResultSchema, orderIntegrationExportAttemptResults, orderIntegrationExportAttemptSchema, orderIntegrationExportDetailsSchema, orderIntegrationExportErrorContextSchema, orderIntegrationExportPhaseSchema, orderIntegrationExportPhases, orderIntegrationExportSchema, orderIntegrationExportStatusSchema, orderIntegrationExportStatuses, orderIriSchema, orderMenuItemDetailsSchema, orderMenuItemIriSchema, orderMenuItemModifierDetailsSchema, orderMenuItemModifierIriSchema, orderMenuItemModifierNullableIriSchema, orderMenuItemModifierSchema, orderMenuItemModifiersQuerySchema, orderMenuItemNullableIriSchema, orderMenuItemSchema, orderMenuItemsQuerySchema, orderNullableIriSchema, orderRatingSchema, orderRescheduleOptionSchema, orderRescheduleOptionsQuerySchema, orderRescheduleReferenceBundleSchema, orderRescheduleWindowSchema, orderSchema, ordersQuerySchema, payOrderInputSchema, payOrderResponseSchema, regularBundleDetailsSchema, regularBundleSchema, rejectOrderInputSchema, rejectOrderResponseSchema, retryOrderIntegrationExportInputSchema, retryOrderIntegrationExportResponseSchema, takeAwayOrderDetailsSchema, takeAwayOrderSchema, updateBundleInputSchema, updateBundleResponseSchema, updateOrderInputSchema, updateOrderRatingInputSchema, updateOrderRatingResponseSchema, updateOrderRatingSchema, updateOrderResponseSchema, writableBundleSchema, writableCollectionOrderSchema, writableDeliveryOrderSchema, writableKitchenOrderSchema, writableOrderMenuItemModifierSchema, writableOrderMenuItemSchema, writableOrderRatingSchema, writableOrderSchema, writableTakeAwayOrderSchema, writableUpdateOrderSchema };
|