Skip to content

Commit 430eb7c

Browse files
bizon-bottusbar
andauthored
feat(schemas): update schemas as of 2026-01-29 (#1685)
Co-authored-by: tusbar <166147+tusbar@users.noreply.github.com>
1 parent 94aa5b5 commit 430eb7c

File tree

2 files changed

+34
-42
lines changed

2 files changed

+34
-42
lines changed

packages/schemas/src/notifications/any-offer-changed-notification.ts

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const anyOfferChangedNotification = {
88
default: {},
99
examples: [
1010
{
11-
NotificatonTionVersion: '1.0',
11+
NotificationVersion: '1.0',
1212
NotificationType: 'ANY_OFFER_CHANGED',
1313
PayloadVersion: '1.0',
1414
EventTime: '2020-07-13T19:42:04.284Z',
@@ -26,7 +26,7 @@ export const anyOfferChangedNotification = {
2626
ASIN: '123',
2727
ItemCondition: 'New',
2828
TimeOfOfferChange: '2020-07-13T19:42:04.284Z',
29-
OfferChangeType: 'New',
29+
OfferChangeType: 'Internal',
3030
},
3131
Summary: {
3232
NumberOfOffers: [
@@ -36,7 +36,7 @@ export const anyOfferChangedNotification = {
3636
OfferCount: 10,
3737
},
3838
{
39-
Condition: 'old',
39+
Condition: 'used',
4040
FulfillmentChannel: 'Amazon',
4141
OfferCount: 21,
4242
},
@@ -59,7 +59,7 @@ export const anyOfferChangedNotification = {
5959
},
6060
},
6161
{
62-
Condition: 'old',
62+
Condition: 'used',
6363
FulfillmentChannel: 'Amazon',
6464
LandedPrice: {
6565
Amount: 11,
@@ -95,7 +95,7 @@ export const anyOfferChangedNotification = {
9595
},
9696
},
9797
{
98-
Condition: 'old',
98+
Condition: 'used',
9999
LandedPrice: {
100100
Amount: 11,
101101
CurrencyCode: 'USD',
@@ -143,7 +143,7 @@ export const anyOfferChangedNotification = {
143143
OfferCount: 23,
144144
},
145145
{
146-
Condition: 'old',
146+
Condition: 'used',
147147
FulfillmentChannel: 'Amazon',
148148
OfferCount: 54,
149149
},
@@ -198,7 +198,7 @@ export const anyOfferChangedNotification = {
198198
},
199199
],
200200
required: [
201-
'NotificatonTionVersion',
201+
'NotificationVersion',
202202
'NotificationType',
203203
'PayloadVersion',
204204
'EventTime',
@@ -207,10 +207,10 @@ export const anyOfferChangedNotification = {
207207
],
208208
additionalProperties: true,
209209
properties: {
210-
NotificatonTionVersion: {
211-
$id: '#/properties/NotificatonTionVersion',
210+
NotificationVersion: {
211+
$id: '#/properties/NotificationVersion',
212212
type: 'string',
213-
title: 'The NotificatonTionVersion schema',
213+
title: 'The NotificationVersion schema',
214214
description: 'An explanation about the purpose of this instance.',
215215
default: '',
216216
examples: ['1.0'],
@@ -305,7 +305,7 @@ export const anyOfferChangedNotification = {
305305
ASIN: '123',
306306
ItemCondition: 'New',
307307
TimeOfOfferChange: '2020-07-13T19:42:04.284Z',
308-
OfferChangeType: 'New',
308+
OfferChangeType: 'Internal',
309309
},
310310
Summary: {
311311
NumberOfOffers: [
@@ -315,7 +315,7 @@ export const anyOfferChangedNotification = {
315315
OfferCount: 10,
316316
},
317317
{
318-
Condition: 'old',
318+
Condition: 'used',
319319
FulfillmentChannel: 'Amazon',
320320
OfferCount: 21,
321321
},
@@ -338,7 +338,7 @@ export const anyOfferChangedNotification = {
338338
},
339339
},
340340
{
341-
Condition: 'old',
341+
Condition: 'used',
342342
FulfillmentChannel: 'Amazon',
343343
LandedPrice: {
344344
Amount: 11,
@@ -374,7 +374,7 @@ export const anyOfferChangedNotification = {
374374
},
375375
},
376376
{
377-
Condition: 'old',
377+
Condition: 'used',
378378
LandedPrice: {
379379
Amount: 11,
380380
CurrencyCode: 'USD',
@@ -422,7 +422,7 @@ export const anyOfferChangedNotification = {
422422
OfferCount: 23,
423423
},
424424
{
425-
Condition: 'old',
425+
Condition: 'used',
426426
FulfillmentChannel: 'Amazon',
427427
OfferCount: 54,
428428
},
@@ -492,7 +492,7 @@ export const anyOfferChangedNotification = {
492492
ASIN: '123',
493493
ItemCondition: 'New',
494494
TimeOfOfferChange: '2020-07-13T19:42:04.284Z',
495-
OfferChangeType: 'New',
495+
OfferChangeType: 'Internal',
496496
},
497497
Summary: {
498498
NumberOfOffers: [
@@ -502,7 +502,7 @@ export const anyOfferChangedNotification = {
502502
OfferCount: 10,
503503
},
504504
{
505-
Condition: 'old',
505+
Condition: 'used',
506506
FulfillmentChannel: 'Amazon',
507507
OfferCount: 21,
508508
},
@@ -525,7 +525,7 @@ export const anyOfferChangedNotification = {
525525
},
526526
},
527527
{
528-
Condition: 'old',
528+
Condition: 'used',
529529
FulfillmentChannel: 'Amazon',
530530
LandedPrice: {
531531
Amount: 11,
@@ -561,7 +561,7 @@ export const anyOfferChangedNotification = {
561561
},
562562
},
563563
{
564-
Condition: 'old',
564+
Condition: 'used',
565565
LandedPrice: {
566566
Amount: 11,
567567
CurrencyCode: 'USD',
@@ -609,7 +609,7 @@ export const anyOfferChangedNotification = {
609609
OfferCount: 23,
610610
},
611611
{
612-
Condition: 'old',
612+
Condition: 'used',
613613
FulfillmentChannel: 'Amazon',
614614
OfferCount: 54,
615615
},
@@ -684,7 +684,7 @@ export const anyOfferChangedNotification = {
684684
ASIN: '123',
685685
ItemCondition: 'New',
686686
TimeOfOfferChange: '2020-07-13T19:42:04.284Z',
687-
OfferChangeType: 'New',
687+
OfferChangeType: 'Internal',
688688
},
689689
],
690690
required: [
@@ -734,7 +734,7 @@ export const anyOfferChangedNotification = {
734734
title: 'The OfferChangeType schema',
735735
description: 'An explanation about the purpose of this instance.',
736736
default: '',
737-
examples: ['New'],
737+
examples: ['Internal', 'External', 'FeaturedOffer'],
738738
},
739739
},
740740
},
@@ -753,7 +753,7 @@ export const anyOfferChangedNotification = {
753753
OfferCount: 10,
754754
},
755755
{
756-
Condition: 'old',
756+
Condition: 'used',
757757
FulfillmentChannel: 'Amazon',
758758
OfferCount: 21,
759759
},
@@ -776,7 +776,7 @@ export const anyOfferChangedNotification = {
776776
},
777777
},
778778
{
779-
Condition: 'old',
779+
Condition: 'used',
780780
FulfillmentChannel: 'Amazon',
781781
LandedPrice: {
782782
Amount: 11,
@@ -812,7 +812,7 @@ export const anyOfferChangedNotification = {
812812
},
813813
},
814814
{
815-
Condition: 'old',
815+
Condition: 'used',
816816
LandedPrice: {
817817
Amount: 11,
818818
CurrencyCode: 'USD',
@@ -860,7 +860,7 @@ export const anyOfferChangedNotification = {
860860
OfferCount: 23,
861861
},
862862
{
863-
Condition: 'old',
863+
Condition: 'used',
864864
FulfillmentChannel: 'Amazon',
865865
OfferCount: 54,
866866
},
@@ -899,7 +899,7 @@ export const anyOfferChangedNotification = {
899899
OfferCount: 10,
900900
},
901901
{
902-
Condition: 'old',
902+
Condition: 'used',
903903
FulfillmentChannel: 'Amazon',
904904
OfferCount: 21,
905905
},
@@ -979,7 +979,7 @@ export const anyOfferChangedNotification = {
979979
},
980980
},
981981
{
982-
Condition: 'old',
982+
Condition: 'used',
983983
FulfillmentChannel: 'Amazon',
984984
LandedPrice: {
985985
Amount: 11,
@@ -1160,7 +1160,7 @@ export const anyOfferChangedNotification = {
11601160
default: {},
11611161
examples: [
11621162
{
1163-
Condition: 'old',
1163+
Condition: 'used',
11641164
FulfillmentChannel: 'Amazon',
11651165
LandedPrice: {
11661166
Amount: 11,
@@ -1195,7 +1195,7 @@ export const anyOfferChangedNotification = {
11951195
title: 'The Condition schema',
11961196
description: 'An explanation about the purpose of this instance.',
11971197
default: '',
1198-
examples: ['old'],
1198+
examples: ['new', 'used'],
11991199
},
12001200
FulfillmentChannel: {
12011201
$id: '#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/LowestPrices/items/anyOf/1/properties/FulfillmentChannel',
@@ -1358,7 +1358,7 @@ export const anyOfferChangedNotification = {
13581358
},
13591359
},
13601360
{
1361-
Condition: 'old',
1361+
Condition: 'used',
13621362
LandedPrice: {
13631363
Amount: 11,
13641364
CurrencyCode: 'USD',
@@ -1523,7 +1523,7 @@ export const anyOfferChangedNotification = {
15231523
default: {},
15241524
examples: [
15251525
{
1526-
Condition: 'old',
1526+
Condition: 'used',
15271527
LandedPrice: {
15281528
Amount: 11,
15291529
CurrencyCode: 'USD',
@@ -1556,7 +1556,7 @@ export const anyOfferChangedNotification = {
15561556
title: 'The Condition schema',
15571557
description: 'An explanation about the purpose of this instance.',
15581558
default: '',
1559-
examples: ['old'],
1559+
examples: ['new', 'used'],
15601560
},
15611561
LandedPrice: {
15621562
$id: '#/properties/Payload/properties/AnyOfferChangedNotification/properties/Summary/properties/BuyBoxPrices/items/anyOf/1/properties/LandedPrice',
@@ -1866,7 +1866,7 @@ export const anyOfferChangedNotification = {
18661866
OfferCount: 23,
18671867
},
18681868
{
1869-
Condition: 'old',
1869+
Condition: 'used',
18701870
FulfillmentChannel: 'Amazon',
18711871
OfferCount: 54,
18721872
},

packages/schemas/src/notifications/index.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,7 @@ export {
6363
listingsItemStatusChangeNotification,
6464
type ListingsItemStatusChangeNotification,
6565
} from './listings-item-status-change-notification'
66-
export {
67-
mfnOrderStatusChangeNotification,
68-
type MfnOrderStatusChangeNotification,
69-
} from './mfn-order-status-change-notification'
7066
export {orderChangeNotification, type OrderChangeNotification} from './order-change-notification'
71-
export {
72-
orderStatusChangeNotification,
73-
type OrderStatusChangeNotification,
74-
} from './order-status-change-notification'
7567
export {
7668
pricingHealthNotification,
7769
type PricingHealthNotification,

0 commit comments

Comments
 (0)