summary: "" description: "" value: modules: - id: j value: lock: |- { "dependencies": {} } //bun.lock type: rawscript content: | // import * as wmill from "windmill-client" export async function main(x: any) { return x } language: bun input_transforms: x: expr: flow_input.debug_me type: javascript failure_module: id: failure value: type: rawscript content: > export async function main(message: string, name: string, step_id: string) { const flow_id = process.env.WM_ROOT_FLOW_JOB_ID console.log("message", message) console.log("name",name) console.log("step_id", step_id) return { message, flow_id, step_id, recover: false } } language: bun input_transforms: message: type: javascript expr: error.message name: type: javascript expr: error.name step_id: type: javascript expr: error.step_id schema: $schema: https://json-schema.org/draft/2020-12/schema properties: enableVendorResponse: default: false type: boolean title: Skip Replay and Reply to Vendor description: Skips the order reprocessing steps and replys to Vendor responseReceived: default: false type: boolean description: "" debugPayload: default: itemList: [] deliveryTarget: "" requirePO: false orderRef: "" suspendOrder: false customShipping: false deliveryInfo: location: "" contactNumber: "" territory: "" roadway: "" nation: "" roadway2: "" contactName: "" zipCode: "" privateNotes: "" suppressAlerts: false format: jsonschema-f/org_sync/otherorgorder_json_schema type: object description: "" orderDetail: required: [] type: object description: "" properties: id: type: string default: "" description: "" orderDate: type: string orderRef: type: string status: type: string error_msg: type: string error_source: type: string created_at: type: string deliverySpeed: type: string updated_at: type: string systemOrderId: type: string fulfillmentMethod: type: string enum: - DROPSHIP - CASTLEGATE default: "" description: "" disableCreate: true enumLabels: DROPSHIP: DROPSHIP CASTLEGATE: CASTLEGATE vendorProfile: type: string order: - id - orderDate - orderRef - status - error_msg - error_source - created_at - deliverySpeed - updated_at - systemOrderId - fulfillmentMethod - vendorProfile vendorInfo: default: currency: "" environment: "" stockAllocation: "" apiCredential: "" destinationCode: "" platformName: "" format: jsonschema-f/folder/suppliers_json_schema type: object description: "" vendorOrderData: default: itemList: [] deliveryTarget: "" requirePO: false orderRef: "" suspendOrder: false customShipping: false deliveryInfo: location: "" contactNumber: "" territory: "" roadway: "" nation: "" roadway2: "" contactName: "" zipCode: "" privateNotes: "" suppressAlerts: false nullable: false format: jsonschema-f/org_sync/otherorgorder_json_schema type: object description: "" outputItems: default: [] items: type: object properties: Mat: type: object properties: Colour: type: array additionalProperties: false description: "" order: - Colour Bleed: type: object properties: Size: type: number additionalProperties: false Media: type: string Plant: type: string Title: type: string Width: type: number Framed: type: boolean Height: type: integer Inside: type: boolean OrderID: type: string Partner: type: string Quantity: type: integer SiteName: type: string ImageFile: type: string OrderDate: type: string PrintName: type: string ProfileID: type: integer Substrate: type: string ItemNumber: type: integer ItemsTotal: type: integer Orientation: type: string SiteOrderID: type: string type: array description: "" metaInfo: default: [] items: type: object properties: mpn: type: string bleed: type: string glass: type: "null" width: type: integer active: type: boolean length: type: integer floater: type: string image_id: type: string media_sku: type: string no_in_set: type: string artist_sku: type: string custom_sku: type: string print_name: type: string artist_name: type: string matt_colour: type: string inventory_ga: type: integer inventory_la: type: integer inventory_on: type: integer product_type: type: string retail_price: type: number supplier_ids: type: array items: type: string auction_title: type: string classification: type: string moulding_width: type: number paper_or_canvas: type: string artist_copyright: type: string artist_frame_sku: type: string inventory_number: type: string matt_included_type: type: string sap_inside_or_outside: type: string stretcher_orientation: type: string matt_included_size_top: type: string matt_included_size_left: type: string matt_includded_size_right: type: string matt_included_size_bottom: type: string nullable: false type: array description: "" approvedItemsInput: default: [] items: type: object properties: quantity: type: string unitPrice: type: number partNumber: type: string estimatedShipDate: type: string format: date-time type: array description: "" orderRequest: required: [] type: object description: "" properties: id: type: integer description: "" orderDate: type: string destination: type: object properties: city: type: string name: type: string state: type: string country: type: string address1: type: string address2: type: string address3: type: "null" postalCode: type: string phoneNumber: type: string additionalProperties: false order: - city - name - state - country - address1 - address2 - address3 - postalCode - phoneNumber orderId: type: integer orderRef: type: string products: type: array items: type: object properties: name: type: string event: type: - "null" price: type: number weight: type: - "null" fillDate: type: - "null" quantity: type: string totalCost: type: number partNumber: type: string pieceCount: type: integer estShipDate: type: - "null" totalWeight: type: integer additionalProperties: false requestType: type: "null" facility: type: object properties: id: type: string name: type: string address: type: object properties: city: type: string name: type: string state: type: string country: type: string address1: type: string address2: type: string address3: type: string postalCode: type: string phoneNumber: type: "null" additionalProperties: false order: - city - name - state - country - address1 - address2 - address3 - postalCode - phoneNumber vendor: type: object properties: id: type: string name: type: string scopes: type: array status: type: string currency: type: string shortName: type: string websiteURL: type: string additionalProperties: false order: - id - name - scopes - status - currency - shortName - websiteURL additionalProperties: false order: - id - name - address - vendor clientLocation: type: string clientName: type: string deliveryDetails: type: object properties: transportSpeed: type: string serviceProvider: type: string additionalProperties: false order: - transportSpeed - serviceProvider clientEmail: type: string format: email clientTerritory: type: string clientNation: type: string clientRoadway1: type: string clientRoadway2: type: string channelName: type: string expectedDispatchDate: type: string clientZipCode: type: string plannedDeliveryDate: type: "null" order: - id - orderDate - destination - orderId - orderRef - products - requestType - facility - clientLocation - clientName - deliveryDetails - clientEmail - clientTerritory - clientNation - clientRoadway1 - clientRoadway2 - channelName - expectedDispatchDate - clientZipCode - plannedDeliveryDate required: - fullReplay - staleOrders type: object order: - enableVendorResponse - responseReceived - debugPayload - orderDetail - vendorInfo - vendorOrderData - outputItems - metaInfo - approvedItemsInput - orderRequest x-windmill-dyn-select-code: |- // you can use filterText to filter the results from the backend // you can refer to other args directly as parameters (e.g. foobar: string) export function printableItems(filterText: string) { return [ { label: 'Foo', value: 'foo' }, { label: 'Bar', value: 'bar' } ]; } x-windmill-dyn-select-lang: bun