@epcc-sdk/sdks-shopper 0.10.1 → 0.12.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/client/@tanstack/react-query.gen.cjs +79 -0
- package/dist/client/@tanstack/react-query.gen.cjs.map +1 -1
- package/dist/client/@tanstack/react-query.gen.d.cts +153 -6
- package/dist/client/@tanstack/react-query.gen.d.ts +153 -6
- package/dist/client/@tanstack/react-query.gen.mjs +77 -0
- package/dist/client/@tanstack/react-query.gen.mjs.map +1 -1
- package/dist/client/index.cjs +10 -0
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.d.cts +2 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.mjs +10 -0
- package/dist/client/index.mjs.map +1 -1
- package/dist/client/sdk.gen.cjs +73 -0
- package/dist/client/sdk.gen.cjs.map +1 -1
- package/dist/client/sdk.gen.d.cts +80 -5
- package/dist/client/sdk.gen.d.ts +80 -5
- package/dist/client/sdk.gen.mjs +68 -0
- package/dist/client/sdk.gen.mjs.map +1 -1
- package/dist/client/types.gen.cjs.map +1 -1
- package/dist/client/types.gen.d.cts +460 -94
- package/dist/client/types.gen.d.ts +460 -94
- package/dist/client/zod.gen.cjs +287 -30
- package/dist/client/zod.gen.cjs.map +1 -1
- package/dist/client/zod.gen.d.cts +880 -203
- package/dist/client/zod.gen.d.ts +880 -203
- package/dist/client/zod.gen.mjs +268 -30
- package/dist/client/zod.gen.mjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/react-query.d.cts +1 -1
- package/dist/react-query.d.ts +1 -1
- package/dist/zod.d.cts +1 -1
- package/dist/zod.d.ts +1 -1
- package/package.json +1 -1
package/dist/client/zod.gen.mjs
CHANGED
|
@@ -1561,15 +1561,9 @@ const zResponsePageLinks = z.object({
|
|
|
1561
1561
|
first: z.string().register(z.globalRegistry, {
|
|
1562
1562
|
description: "Always the first page."
|
|
1563
1563
|
}).optional(),
|
|
1564
|
-
last: z.string().
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
next: z.string().register(z.globalRegistry, {
|
|
1568
|
-
description: "If there is only one page, it is `null`."
|
|
1569
|
-
}).optional(),
|
|
1570
|
-
prev: z.string().register(z.globalRegistry, {
|
|
1571
|
-
description: "if the user is on the first page, it is `null`."
|
|
1572
|
-
}).optional()
|
|
1564
|
+
last: z.string().nullish(),
|
|
1565
|
+
next: z.string().nullish(),
|
|
1566
|
+
prev: z.string().nullish()
|
|
1573
1567
|
});
|
|
1574
1568
|
const zResponsePaginationPage = z.object({
|
|
1575
1569
|
current: z.int().register(z.globalRegistry, {
|
|
@@ -2387,6 +2381,9 @@ const zShippingGroupResponse = z.object({
|
|
|
2387
2381
|
}).optional(),
|
|
2388
2382
|
address: zShippingAddress.optional(),
|
|
2389
2383
|
delivery_estimate: zDeliveryEstimate.optional(),
|
|
2384
|
+
anonymized: z.boolean().register(z.globalRegistry, {
|
|
2385
|
+
description: "Specifies if the shipping group is anonymized. A shipping group is anonymized together with its order, which redacts the shipping group's address and tracking reference."
|
|
2386
|
+
}).optional(),
|
|
2390
2387
|
created_at: z.iso.datetime().optional(),
|
|
2391
2388
|
updated_at: z.iso.datetime().optional(),
|
|
2392
2389
|
relationships: z.object({
|
|
@@ -2680,14 +2677,11 @@ const zResponseMetaOrders = z.object({
|
|
|
2680
2677
|
});
|
|
2681
2678
|
const zOrdersAddressData = z.object({
|
|
2682
2679
|
type: z.string().register(z.globalRegistry, {
|
|
2683
|
-
description:
|
|
2680
|
+
description: "The type of the resource. You must use `order`."
|
|
2684
2681
|
}),
|
|
2685
2682
|
order_number: z.string().register(z.globalRegistry, {
|
|
2686
2683
|
description: "Specifies a user-managed, optional field used as an alternative to the existing order_id. If provided, the order-number will be sent to Authorize.net instead of the order_id, and will appear as the invoice number in Authorize.net transactions."
|
|
2687
2684
|
}).optional(),
|
|
2688
|
-
external_ref: z.string().register(z.globalRegistry, {
|
|
2689
|
-
description: "Represents an optional external ID reference for an order. It can contain alphanumeric characters, special characters, and spaces, and is not required to be unique. The maximum allowed length is 64 characters. It can be used to include an external reference from a separate company system."
|
|
2690
|
-
}).optional(),
|
|
2691
2685
|
shipping_address: z.object({
|
|
2692
2686
|
first_name: z.string().register(z.globalRegistry, {
|
|
2693
2687
|
description: "Specifies the first name of the address holder."
|
|
@@ -2731,33 +2725,34 @@ const zOrdersAddressData = z.object({
|
|
|
2731
2725
|
})
|
|
2732
2726
|
});
|
|
2733
2727
|
const zOrdersCancelData = z.object({
|
|
2734
|
-
status: z.string().register(z.globalRegistry, {
|
|
2735
|
-
description: "The status of the order. You can only update the status to `cancelled`."
|
|
2736
|
-
}),
|
|
2737
2728
|
type: z.string().register(z.globalRegistry, {
|
|
2738
|
-
description: "The type of the resource. You must use order
|
|
2729
|
+
description: "The type of the resource. You must use `order`."
|
|
2739
2730
|
}),
|
|
2740
|
-
|
|
2741
|
-
description: "
|
|
2742
|
-
})
|
|
2731
|
+
status: z.string().register(z.globalRegistry, {
|
|
2732
|
+
description: "The status of the order. You can only update the status to `cancelled`."
|
|
2733
|
+
})
|
|
2743
2734
|
});
|
|
2744
2735
|
const zOrdersFulfilledData = z.object({
|
|
2745
|
-
shipping: z.string().register(z.globalRegistry, {
|
|
2746
|
-
description: "The shipping status of the order. You can only update the shipping status to `fulfilled`."
|
|
2747
|
-
}),
|
|
2748
2736
|
type: z.string().register(z.globalRegistry, {
|
|
2749
|
-
description: "The type of the resource. You must use order
|
|
2737
|
+
description: "The type of the resource. You must use `order`."
|
|
2750
2738
|
}),
|
|
2751
|
-
|
|
2752
|
-
description: "
|
|
2753
|
-
})
|
|
2739
|
+
shipping: z.string().register(z.globalRegistry, {
|
|
2740
|
+
description: "The shipping status of the order. You can only update the shipping status to `fulfilled`."
|
|
2741
|
+
})
|
|
2754
2742
|
});
|
|
2755
2743
|
const zOrdersUpdateRequest = z.object({
|
|
2756
|
-
data: z.
|
|
2744
|
+
data: z.intersection(
|
|
2745
|
+
z.union([zOrdersAddressData, zOrdersCancelData, zOrdersFulfilledData]),
|
|
2746
|
+
z.object({
|
|
2747
|
+
external_ref: z.string().register(z.globalRegistry, {
|
|
2748
|
+
description: "Represents an optional external ID reference for an order. It can contain alphanumeric characters, special characters, and spaces, and is not required to be unique. The maximum allowed length is 64 characters. It can be used to include an external reference from a separate company system."
|
|
2749
|
+
}).optional()
|
|
2750
|
+
})
|
|
2751
|
+
).optional()
|
|
2757
2752
|
});
|
|
2758
2753
|
const zOrdersAnonymizeData = z.object({
|
|
2759
|
-
order_ids: z.array(z.string()).register(z.globalRegistry, {
|
|
2760
|
-
description: "The unique identifiers of the orders to be anonymized. You can anonymize
|
|
2754
|
+
order_ids: z.array(z.string()).min(1).max(25).register(z.globalRegistry, {
|
|
2755
|
+
description: "The unique identifiers of the orders to be anonymized. You can anonymize up to 25 orders in one request; split larger sets across requests."
|
|
2761
2756
|
}).optional()
|
|
2762
2757
|
});
|
|
2763
2758
|
const zOrdersAnonymizeRequest = z.object({
|
|
@@ -2971,6 +2966,51 @@ const zOrdersTransactionsCancelRequest = z.object({
|
|
|
2971
2966
|
}).optional()
|
|
2972
2967
|
}).optional()
|
|
2973
2968
|
});
|
|
2969
|
+
const zTransactionNoteResponse = z.object({
|
|
2970
|
+
type: z.literal("note").optional(),
|
|
2971
|
+
id: z.string().optional(),
|
|
2972
|
+
text: z.string().max(250).optional(),
|
|
2973
|
+
relationships: z.object({
|
|
2974
|
+
transaction: z.object({
|
|
2975
|
+
data: z.object({
|
|
2976
|
+
type: z.literal("transaction").optional(),
|
|
2977
|
+
id: z.string().optional()
|
|
2978
|
+
}).optional()
|
|
2979
|
+
}).optional()
|
|
2980
|
+
}).optional(),
|
|
2981
|
+
meta: z.object({
|
|
2982
|
+
timestamps: z.object({
|
|
2983
|
+
created_at: z.iso.datetime().optional(),
|
|
2984
|
+
updated_at: z.iso.datetime().optional()
|
|
2985
|
+
}).optional(),
|
|
2986
|
+
created_by: z.string().register(z.globalRegistry, {
|
|
2987
|
+
description: "The ID of the Commerce Manager user who created the note. Empty when the note was not created by a user, for example with a client credentials token."
|
|
2988
|
+
}).optional(),
|
|
2989
|
+
updated_by: z.string().register(z.globalRegistry, {
|
|
2990
|
+
description: "The ID of the Commerce Manager user who last edited the note. Empty when the last edit was not made by a user, for example with a client credentials token."
|
|
2991
|
+
}).optional()
|
|
2992
|
+
}).optional()
|
|
2993
|
+
});
|
|
2994
|
+
const zResponseMetaNotes = z.object({
|
|
2995
|
+
page: zResponsePaginationPage.optional(),
|
|
2996
|
+
results: zResponsePaginationResults.optional()
|
|
2997
|
+
});
|
|
2998
|
+
const zCreateTransactionNoteRequest = z.object({
|
|
2999
|
+
data: z.object({
|
|
3000
|
+
type: z.literal("note"),
|
|
3001
|
+
text: z.string().min(1).max(250).register(z.globalRegistry, {
|
|
3002
|
+
description: "The note's text content."
|
|
3003
|
+
})
|
|
3004
|
+
})
|
|
3005
|
+
});
|
|
3006
|
+
const zUpdateTransactionNoteRequest = z.object({
|
|
3007
|
+
data: z.object({
|
|
3008
|
+
type: z.literal("note"),
|
|
3009
|
+
text: z.string().min(1).max(250).register(z.globalRegistry, {
|
|
3010
|
+
description: "The note's new text content, replacing the existing text."
|
|
3011
|
+
})
|
|
3012
|
+
})
|
|
3013
|
+
});
|
|
2974
3014
|
const zUpdateOrderShippingGroupRequest = z.object({
|
|
2975
3015
|
data: z.object({
|
|
2976
3016
|
type: z.literal("shipping_group").optional(),
|
|
@@ -3212,6 +3252,52 @@ const zCartItemResponse = z.object({
|
|
|
3212
3252
|
}).readonly().optional(),
|
|
3213
3253
|
custom_attributes: zCustomAttributes.readonly().optional()
|
|
3214
3254
|
});
|
|
3255
|
+
const zCartItemListResponse = z.object({
|
|
3256
|
+
data: z.array(zCartItemResponse),
|
|
3257
|
+
included: z.object({
|
|
3258
|
+
custom_discounts: z.array(zCustomDiscountResponse).optional(),
|
|
3259
|
+
promotions: z.array(
|
|
3260
|
+
z.object({
|
|
3261
|
+
automatic: z.boolean().optional(),
|
|
3262
|
+
description: z.string().optional(),
|
|
3263
|
+
end: z.iso.datetime().optional(),
|
|
3264
|
+
id: z.uuid().optional(),
|
|
3265
|
+
name: z.string().optional(),
|
|
3266
|
+
promotion_type: z.string().optional(),
|
|
3267
|
+
promotion_source: z.string().register(z.globalRegistry, {
|
|
3268
|
+
description: "The source of the promotion"
|
|
3269
|
+
}).optional(),
|
|
3270
|
+
start: z.iso.datetime().optional(),
|
|
3271
|
+
type: z.literal("promotion").optional()
|
|
3272
|
+
})
|
|
3273
|
+
).optional(),
|
|
3274
|
+
tax_items: z.array(zTaxItemResponse).register(z.globalRegistry, {
|
|
3275
|
+
description: "Array of tax items included in the response."
|
|
3276
|
+
}).optional()
|
|
3277
|
+
}).register(z.globalRegistry, {
|
|
3278
|
+
description: "Related objects that are included in the response."
|
|
3279
|
+
}).optional(),
|
|
3280
|
+
meta: z.object({
|
|
3281
|
+
display_price: z.object({
|
|
3282
|
+
with_tax: zFormattedPriceData.optional(),
|
|
3283
|
+
without_tax: zFormattedPriceData.optional(),
|
|
3284
|
+
tax: zFormattedPriceData.optional(),
|
|
3285
|
+
discount: zFormattedPriceData.optional(),
|
|
3286
|
+
without_discount: zFormattedPriceData.optional(),
|
|
3287
|
+
shipping: zFormattedPriceData.optional(),
|
|
3288
|
+
shipping_discount: zFormattedPriceData.optional(),
|
|
3289
|
+
authorized: zFormattedPriceData.optional(),
|
|
3290
|
+
balance_owing: zFormattedPriceData.optional(),
|
|
3291
|
+
paid: zFormattedPriceData.optional()
|
|
3292
|
+
}).optional(),
|
|
3293
|
+
timestamps: zCartTimestamps.optional()
|
|
3294
|
+
}).register(z.globalRegistry, {
|
|
3295
|
+
description: "Additional meta information about the cart items collection."
|
|
3296
|
+
}).optional(),
|
|
3297
|
+
errors: z.array(zResponseErrorItem).register(z.globalRegistry, {
|
|
3298
|
+
description: "Array of error objects, if any errors occurred."
|
|
3299
|
+
}).optional()
|
|
3300
|
+
});
|
|
3215
3301
|
const zCartItemCollectionResponse = z.object({
|
|
3216
3302
|
data: z.array(zCartItemResponse),
|
|
3217
3303
|
included: z.object({
|
|
@@ -7897,6 +7983,52 @@ const zTaxItemResponseWritable = z.object({
|
|
|
7897
7983
|
description: "The tax amount in the smallest currency unit."
|
|
7898
7984
|
}).optional()
|
|
7899
7985
|
});
|
|
7986
|
+
const zCartItemListResponseWritable = z.object({
|
|
7987
|
+
data: z.array(zCartItemResponseWritable),
|
|
7988
|
+
included: z.object({
|
|
7989
|
+
custom_discounts: z.array(zCustomDiscountResponse).optional(),
|
|
7990
|
+
promotions: z.array(
|
|
7991
|
+
z.object({
|
|
7992
|
+
automatic: z.boolean().optional(),
|
|
7993
|
+
description: z.string().optional(),
|
|
7994
|
+
end: z.iso.datetime().optional(),
|
|
7995
|
+
id: z.uuid().optional(),
|
|
7996
|
+
name: z.string().optional(),
|
|
7997
|
+
promotion_type: z.string().optional(),
|
|
7998
|
+
promotion_source: z.string().register(z.globalRegistry, {
|
|
7999
|
+
description: "The source of the promotion"
|
|
8000
|
+
}).optional(),
|
|
8001
|
+
start: z.iso.datetime().optional(),
|
|
8002
|
+
type: z.literal("promotion").optional()
|
|
8003
|
+
})
|
|
8004
|
+
).optional(),
|
|
8005
|
+
tax_items: z.array(zTaxItemResponseWritable).register(z.globalRegistry, {
|
|
8006
|
+
description: "Array of tax items included in the response."
|
|
8007
|
+
}).optional()
|
|
8008
|
+
}).register(z.globalRegistry, {
|
|
8009
|
+
description: "Related objects that are included in the response."
|
|
8010
|
+
}).optional(),
|
|
8011
|
+
meta: z.object({
|
|
8012
|
+
display_price: z.object({
|
|
8013
|
+
with_tax: zFormattedPriceData.optional(),
|
|
8014
|
+
without_tax: zFormattedPriceData.optional(),
|
|
8015
|
+
tax: zFormattedPriceData.optional(),
|
|
8016
|
+
discount: zFormattedPriceData.optional(),
|
|
8017
|
+
without_discount: zFormattedPriceData.optional(),
|
|
8018
|
+
shipping: zFormattedPriceData.optional(),
|
|
8019
|
+
shipping_discount: zFormattedPriceData.optional(),
|
|
8020
|
+
authorized: zFormattedPriceData.optional(),
|
|
8021
|
+
balance_owing: zFormattedPriceData.optional(),
|
|
8022
|
+
paid: zFormattedPriceData.optional()
|
|
8023
|
+
}).optional(),
|
|
8024
|
+
timestamps: zCartTimestamps.optional()
|
|
8025
|
+
}).register(z.globalRegistry, {
|
|
8026
|
+
description: "Additional meta information about the cart items collection."
|
|
8027
|
+
}).optional(),
|
|
8028
|
+
errors: z.array(zResponseErrorItem).register(z.globalRegistry, {
|
|
8029
|
+
description: "Array of error objects, if any errors occurred."
|
|
8030
|
+
}).optional()
|
|
8031
|
+
});
|
|
7900
8032
|
const zCartItemCollectionResponseWritable = z.object({
|
|
7901
8033
|
data: z.array(zCartItemResponseWritable),
|
|
7902
8034
|
included: z.object({
|
|
@@ -10421,6 +10553,9 @@ const zGetCustomerOrdersQuery = z.object({
|
|
|
10421
10553
|
}).optional(),
|
|
10422
10554
|
filter: z.string().register(z.globalRegistry, {
|
|
10423
10555
|
description: "For the general syntax, see [**Filtering**](/guides/Getting-Started/filtering), but you must go to a specific endpoint documentation to understand the attributes and operators an endpoint supports.\n"
|
|
10556
|
+
}).optional(),
|
|
10557
|
+
sort: z.string().register(z.globalRegistry, {
|
|
10558
|
+
description: "The attribute to sort results by, ascending. Prefix the attribute name with `-` to sort descending, for example `sort=-created_at`. Supported attributes are `status`, `payment`, `shipping`, `name`, `email`, `customer_id`, `shipping_postcode`, `billing_postcode`, `created_at`, `updated_at` and `currency`. The default sort is `-created_at`. Only one attribute can be specified, otherwise the default is applied."
|
|
10424
10559
|
}).optional()
|
|
10425
10560
|
});
|
|
10426
10561
|
const zGetCustomerOrdersResponse = zOrderCollectionResponse;
|
|
@@ -10525,6 +10660,90 @@ const zCancelATransactionPath = z.object({
|
|
|
10525
10660
|
})
|
|
10526
10661
|
});
|
|
10527
10662
|
const zCancelATransactionResponse = zTransactionEntityResponse;
|
|
10663
|
+
const zGetTransactionNotesPath = z.object({
|
|
10664
|
+
orderID: z.string().register(z.globalRegistry, {
|
|
10665
|
+
description: "The ID of the order"
|
|
10666
|
+
}),
|
|
10667
|
+
transactionID: z.string().register(z.globalRegistry, {
|
|
10668
|
+
description: "The ID of the transaction"
|
|
10669
|
+
})
|
|
10670
|
+
});
|
|
10671
|
+
const zGetTransactionNotesQuery = z.object({
|
|
10672
|
+
"page[limit]": z.int().gte(1).lte(100).register(z.globalRegistry, {
|
|
10673
|
+
description: "The maximum number of records per page."
|
|
10674
|
+
}).optional(),
|
|
10675
|
+
"page[offset]": z.int().gte(0).lte(1e4).register(z.globalRegistry, {
|
|
10676
|
+
description: "The number of records to offset the results by."
|
|
10677
|
+
}).optional().default(0)
|
|
10678
|
+
});
|
|
10679
|
+
const zGetTransactionNotesResponse = z.object({
|
|
10680
|
+
data: z.array(zTransactionNoteResponse).optional(),
|
|
10681
|
+
links: zResponsePageLinks.optional(),
|
|
10682
|
+
meta: zResponseMetaNotes.optional()
|
|
10683
|
+
}).register(z.globalRegistry, {
|
|
10684
|
+
description: "A list of transaction notes"
|
|
10685
|
+
});
|
|
10686
|
+
const zCreateTransactionNoteBody = zCreateTransactionNoteRequest;
|
|
10687
|
+
const zCreateTransactionNotePath = z.object({
|
|
10688
|
+
orderID: z.string().register(z.globalRegistry, {
|
|
10689
|
+
description: "The ID of the order"
|
|
10690
|
+
}),
|
|
10691
|
+
transactionID: z.string().register(z.globalRegistry, {
|
|
10692
|
+
description: "The ID of the transaction"
|
|
10693
|
+
})
|
|
10694
|
+
});
|
|
10695
|
+
const zCreateTransactionNoteResponse = z.object({
|
|
10696
|
+
data: zTransactionNoteResponse.optional()
|
|
10697
|
+
}).register(z.globalRegistry, {
|
|
10698
|
+
description: "Note created"
|
|
10699
|
+
});
|
|
10700
|
+
const zDeleteTransactionNotePath = z.object({
|
|
10701
|
+
orderID: z.string().register(z.globalRegistry, {
|
|
10702
|
+
description: "The ID of the order"
|
|
10703
|
+
}),
|
|
10704
|
+
transactionID: z.string().register(z.globalRegistry, {
|
|
10705
|
+
description: "The ID of the transaction"
|
|
10706
|
+
}),
|
|
10707
|
+
noteID: z.string().register(z.globalRegistry, {
|
|
10708
|
+
description: "The ID of the note to delete"
|
|
10709
|
+
})
|
|
10710
|
+
});
|
|
10711
|
+
const zDeleteTransactionNoteResponse = z.void().register(z.globalRegistry, {
|
|
10712
|
+
description: "Successfully deleted the note"
|
|
10713
|
+
});
|
|
10714
|
+
const zGetTransactionNotePath = z.object({
|
|
10715
|
+
orderID: z.string().register(z.globalRegistry, {
|
|
10716
|
+
description: "The ID of the order"
|
|
10717
|
+
}),
|
|
10718
|
+
transactionID: z.string().register(z.globalRegistry, {
|
|
10719
|
+
description: "The ID of the transaction"
|
|
10720
|
+
}),
|
|
10721
|
+
noteID: z.string().register(z.globalRegistry, {
|
|
10722
|
+
description: "The ID of the note"
|
|
10723
|
+
})
|
|
10724
|
+
});
|
|
10725
|
+
const zGetTransactionNoteResponse = z.object({
|
|
10726
|
+
data: zTransactionNoteResponse.optional()
|
|
10727
|
+
}).register(z.globalRegistry, {
|
|
10728
|
+
description: "Transaction note details"
|
|
10729
|
+
});
|
|
10730
|
+
const zUpdateTransactionNoteBody = zUpdateTransactionNoteRequest;
|
|
10731
|
+
const zUpdateTransactionNotePath = z.object({
|
|
10732
|
+
orderID: z.string().register(z.globalRegistry, {
|
|
10733
|
+
description: "The ID of the order"
|
|
10734
|
+
}),
|
|
10735
|
+
transactionID: z.string().register(z.globalRegistry, {
|
|
10736
|
+
description: "The ID of the transaction"
|
|
10737
|
+
}),
|
|
10738
|
+
noteID: z.string().register(z.globalRegistry, {
|
|
10739
|
+
description: "The ID of the note"
|
|
10740
|
+
})
|
|
10741
|
+
});
|
|
10742
|
+
const zUpdateTransactionNoteResponse = z.object({
|
|
10743
|
+
data: zTransactionNoteResponse.optional()
|
|
10744
|
+
}).register(z.globalRegistry, {
|
|
10745
|
+
description: "Note updated successfully"
|
|
10746
|
+
});
|
|
10528
10747
|
const zGetOrderShippingGroupsPath = z.object({
|
|
10529
10748
|
orderID: z.string().register(z.globalRegistry, {
|
|
10530
10749
|
description: "The ID of the order"
|
|
@@ -12051,6 +12270,8 @@ export {
|
|
|
12051
12270
|
zCartItemCollectionResponse,
|
|
12052
12271
|
zCartItemCollectionResponseWritable,
|
|
12053
12272
|
zCartItemFormattedPriceData,
|
|
12273
|
+
zCartItemListResponse,
|
|
12274
|
+
zCartItemListResponseWritable,
|
|
12054
12275
|
zCartItemObject,
|
|
12055
12276
|
zCartItemObjectData,
|
|
12056
12277
|
zCartItemObjectRequest,
|
|
@@ -12175,6 +12396,10 @@ export {
|
|
|
12175
12396
|
zCreateSubscriptionStatePath,
|
|
12176
12397
|
zCreateSubscriptionStateResponse,
|
|
12177
12398
|
zCreateSynonymSetRequest,
|
|
12399
|
+
zCreateTransactionNoteBody,
|
|
12400
|
+
zCreateTransactionNotePath,
|
|
12401
|
+
zCreateTransactionNoteRequest,
|
|
12402
|
+
zCreateTransactionNoteResponse,
|
|
12178
12403
|
zCurrencies,
|
|
12179
12404
|
zCurrency,
|
|
12180
12405
|
zCurrencyIdentifier,
|
|
@@ -12241,6 +12466,8 @@ export {
|
|
|
12241
12466
|
zDeleteRuleByIdResponse,
|
|
12242
12467
|
zDeleteTaxItemFromCartItemComponentPath,
|
|
12243
12468
|
zDeleteTaxItemFromCartItemComponentResponse,
|
|
12469
|
+
zDeleteTransactionNotePath,
|
|
12470
|
+
zDeleteTransactionNoteResponse,
|
|
12244
12471
|
zDeleteV2AccountAddressPath,
|
|
12245
12472
|
zDeleteV2AccountAddressResponse,
|
|
12246
12473
|
zDeliveryEstimate,
|
|
@@ -12499,6 +12726,11 @@ export {
|
|
|
12499
12726
|
zGetSubscriptionResponse,
|
|
12500
12727
|
zGetSubscriptionStatePath,
|
|
12501
12728
|
zGetSubscriptionStateResponse,
|
|
12729
|
+
zGetTransactionNotePath,
|
|
12730
|
+
zGetTransactionNoteResponse,
|
|
12731
|
+
zGetTransactionNotesPath,
|
|
12732
|
+
zGetTransactionNotesQuery,
|
|
12733
|
+
zGetTransactionNotesResponse,
|
|
12502
12734
|
zGetV2AccountAddressPath,
|
|
12503
12735
|
zGetV2AccountAddressResponse,
|
|
12504
12736
|
zGetV2AccountAddressesPath,
|
|
@@ -12919,6 +13151,7 @@ export {
|
|
|
12919
13151
|
zResponseErrorResponse,
|
|
12920
13152
|
zResponseMetaCarts,
|
|
12921
13153
|
zResponseMetaCurrency,
|
|
13154
|
+
zResponseMetaNotes,
|
|
12922
13155
|
zResponseMetaOrders,
|
|
12923
13156
|
zResponsePageLinks,
|
|
12924
13157
|
zResponsePaginationPage,
|
|
@@ -13139,6 +13372,7 @@ export {
|
|
|
13139
13372
|
zTransactionEntityResponseWritable,
|
|
13140
13373
|
zTransactionListResponse,
|
|
13141
13374
|
zTransactionListResponseWritable,
|
|
13375
|
+
zTransactionNoteResponse,
|
|
13142
13376
|
zTransactionResponse,
|
|
13143
13377
|
zTransactionResponseAttributes,
|
|
13144
13378
|
zTransactionResponseWritable,
|
|
@@ -13191,6 +13425,10 @@ export {
|
|
|
13191
13425
|
zUpdateTaxItemFromCartItemComponentBody,
|
|
13192
13426
|
zUpdateTaxItemFromCartItemComponentPath,
|
|
13193
13427
|
zUpdateTaxItemFromCartItemComponentResponse,
|
|
13428
|
+
zUpdateTransactionNoteBody,
|
|
13429
|
+
zUpdateTransactionNotePath,
|
|
13430
|
+
zUpdateTransactionNoteRequest,
|
|
13431
|
+
zUpdateTransactionNoteResponse,
|
|
13194
13432
|
zUserAuthenticationInfo,
|
|
13195
13433
|
zUserAuthenticationInfoResponse,
|
|
13196
13434
|
zUserAuthenticationInfoUpdateInput,
|