TB.One - Messages

type: incoming-configuration

identifier: tradebyte-returns

description: Subscribe Return Messages from TB.One

prototype: http-subscriber

client: tradebyte

uri: /messages/

method: get

prototype: form-urlencoded

payloadType: data

prototype: xml

readMethod: wholeFile


TradeByte

type: http-client

identifier: tradebyte

prototype: base-uri

prototype: logger

formatter: full

prototype: basic


TB.One - Message - Filter Message Type

type: list-transformer

identifier: tbone-message-filter-message-type

description: TB.One - Message - Filter Message Type

prototype: chain

prototype: conditional

prototype: value-condition

prototype: pattern

prototype: empty

prototype: data

prototype: pattern-move

prototype: node

prototype: one-of


TB.One - Message - Order by Group

identifier: tbone-message-order-by-group

description: TB.One - Message - Order by Group

prototype: group-by

destination: MESSAGES

prototype: key-filter

prototype: list-mapper

prototype: list-values

pattern: MESSAGES

prototype: pattern-copy

prototype: list-intersect-keys

prototype: key


TB.One - Message - Brancher

identifier: tbone-message-brancher

description: TB.One - Message - Brancher

prototype: brancher

entityType: tbone-return-schemaorg


TB.One - Return (Schema.org)

type: entity

identifier: tbone-return-schemaorg

description: TB.One - Return (Schema.org)


TB.One - Message - Fetch Order Data

identifier: tbone-message-fetch-order-data

description: TB.One - Message - Fetch Order Data

prototype: merger

ORDER: &{ORDER}

prototype: http-transformer

prototype: json

prototype: xml


name: TB.One - Order - Map to Schema.org Standard Entity

prototype: chain

prototype: value-mapper

prototype: dictionary-map

map: zade Zalando

map: zadk Zalando

map: zafi Zalando

map: zase Zalando

map: lade Limango

map: mydk MyToys

comparator: equals

prototype: pattern

map: zade EUR

map: zafi EUR

map: lade EUR

map: gala EUR

map: mydk EUR

map: zase SEK

map: zadk DKK

prototype: conditional

prototype: value-condition

prototype: not-empty

prototype: list-extend-with

@type: Order

@type: Person

@type: Invoice

@type: PostalAddress

prototype: value-setter

key: orderStatus

value: APPROVED


name: TB.One - Order - Map Order Items to Schema.org Standard Entity

prototype: data

prototype: empty

prototype: pattern-move

prototype: node

prototype: list-mapper

prototype: list-inherit-from

@type: OrderItem

sku: &{SKU}

@type: Product

@type: Offer

@type: PriceSpecification

productID: &{EAN}

orderQuantity: &{QUANTITY}

prototype: operator

operator: subtraction

prototype: format-number

prototype: cast-float

prototype: pattern-copy

pattern: orderedItem

root: orderedItem


TB.One - Order - Adjust Order as Return

identifier: tbone-order-adjust-order-as-return

description: TB.One - Order - Adjust Order as Return

prototype: chain

prototype: value-mapper

prototype: string-append

append: -GS

pattern: identifier

replacement: MESSAGES

prototype: key-filter

prototype: list-flip

prototype: group-by

destination: orderedItemNew

left: orderedItemNew

operator: array-intersect-keys

prototype: list-values

prototype: key

operator: multiplication

pattern: orderQuantity

keys: tax price basePrice

replacement: orderedItem

prototype: list-intersect-keys


TB.One - Order - Clean Up Payload

identifier: tbone-order-filter-keys

description: TB.One - Order - Clean Up Payload

prototype: data

prototype: serialize

prototype: json


identifier: tbone-return-filter-processed-return

name: TB.One - Return - Filter Processed Return

prototype: stored-identity-filter

storage: tbone-processed-returns


TB.One - Processed Returns

type: storage

identifier: tbone-processed-returns

description: TB.One - Processed Returns

prototype: directory

path: tbone-processed-returns