@paynow-gg/typescript-sdk 1.0.52 → 1.0.53
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.
|
@@ -378,7 +378,11 @@ export interface paths {
|
|
|
378
378
|
path?: never;
|
|
379
379
|
cookie?: never;
|
|
380
380
|
};
|
|
381
|
-
|
|
381
|
+
/**
|
|
382
|
+
* Get all delivery items
|
|
383
|
+
* @description Retrieves all delivery items associated with this store (paginated)
|
|
384
|
+
*/
|
|
385
|
+
get: operations["Delivery_GetStoreDeliveryItems"];
|
|
382
386
|
put?: never;
|
|
383
387
|
/**
|
|
384
388
|
* Assign delivery items in bulk
|
|
@@ -7382,6 +7386,55 @@ export interface operations {
|
|
|
7382
7386
|
};
|
|
7383
7387
|
};
|
|
7384
7388
|
};
|
|
7389
|
+
Delivery_GetStoreDeliveryItems: {
|
|
7390
|
+
parameters: {
|
|
7391
|
+
query?: {
|
|
7392
|
+
/** @description The maximum number of items to return in a single request. */
|
|
7393
|
+
limit?: number;
|
|
7394
|
+
/**
|
|
7395
|
+
* @description Returns items after the specified ID.
|
|
7396
|
+
* Used for forward pagination through results.
|
|
7397
|
+
* @example null
|
|
7398
|
+
*/
|
|
7399
|
+
after?: components["schemas"]["FlakeId"];
|
|
7400
|
+
/**
|
|
7401
|
+
* @description Returns items before the specified ID.
|
|
7402
|
+
* Used for backward pagination through results.
|
|
7403
|
+
* @example null
|
|
7404
|
+
*/
|
|
7405
|
+
before?: components["schemas"]["FlakeId"];
|
|
7406
|
+
/** @description Determines the sort order of returned items.
|
|
7407
|
+
* When true, items are returned in ascending order.
|
|
7408
|
+
* When false, items are returned in descending order. */
|
|
7409
|
+
asc?: boolean;
|
|
7410
|
+
activeOnly?: boolean;
|
|
7411
|
+
};
|
|
7412
|
+
header?: never;
|
|
7413
|
+
path?: never;
|
|
7414
|
+
cookie?: never;
|
|
7415
|
+
};
|
|
7416
|
+
requestBody?: never;
|
|
7417
|
+
responses: {
|
|
7418
|
+
/** @description OK */
|
|
7419
|
+
200: {
|
|
7420
|
+
headers: {
|
|
7421
|
+
[name: string]: unknown;
|
|
7422
|
+
};
|
|
7423
|
+
content: {
|
|
7424
|
+
"application/json": components["schemas"]["DeliveryItemDto"][];
|
|
7425
|
+
};
|
|
7426
|
+
};
|
|
7427
|
+
/** @description Error response */
|
|
7428
|
+
default: {
|
|
7429
|
+
headers: {
|
|
7430
|
+
[name: string]: unknown;
|
|
7431
|
+
};
|
|
7432
|
+
content: {
|
|
7433
|
+
"application/json": components["schemas"]["PayNowError"];
|
|
7434
|
+
};
|
|
7435
|
+
};
|
|
7436
|
+
};
|
|
7437
|
+
};
|
|
7385
7438
|
Delivery_AssignDeliveryItemsBulk: {
|
|
7386
7439
|
parameters: {
|
|
7387
7440
|
query?: never;
|
|
@@ -11529,6 +11582,10 @@ export declare const operationMappings: {
|
|
|
11529
11582
|
readonly method: "GET";
|
|
11530
11583
|
readonly path: "/v1/stores/{storeId}/orders/{orderId}/delivery/items";
|
|
11531
11584
|
};
|
|
11585
|
+
readonly Delivery_GetStoreDeliveryItems: {
|
|
11586
|
+
readonly method: "GET";
|
|
11587
|
+
readonly path: "/v1/stores/{storeId}/delivery/items";
|
|
11588
|
+
};
|
|
11532
11589
|
readonly Delivery_AssignDeliveryItemsBulk: {
|
|
11533
11590
|
readonly method: "POST";
|
|
11534
11591
|
readonly path: "/v1/stores/{storeId}/delivery/items";
|