import * as Schema from "effect/Schema";
import { API } from "../client";
import * as T from "../traits";
// Input Schema
export const PostTaxRegistrationsInput = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    active_from: Schema.Unknown,
    country: Schema.String,
    country_options: Schema.Struct({
        ae: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        al: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        am: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        ao: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        at: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        au: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        aw: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        az: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        ba: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        bb: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        bd: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        be: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        bf: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        bg: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        bh: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        bj: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        bs: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        by: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        ca: Schema.optional(Schema.Struct({
            province_standard: Schema.optional(Schema.Struct({
                province: Schema.String,
            })),
            type: Schema.Literals([
                "province_standard",
                "simplified",
                "standard",
            ]),
        })),
        cd: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        ch: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        cl: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        cm: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        co: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        cr: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        cv: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        cy: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        cz: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        de: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        dk: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        ec: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        ee: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        eg: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        es: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        et: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        fi: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        fr: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        gb: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        ge: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        gn: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        gr: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        hr: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        hu: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        id: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        ie: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        in: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        is: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        it: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        jp: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        ke: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        kg: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        kh: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        kr: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        kz: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        la: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        lk: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        lt: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        lu: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        lv: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        ma: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        md: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        me: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        mk: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        mr: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        mt: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        mx: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        my: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        ng: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        nl: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        no: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        np: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        nz: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        om: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        pe: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        ph: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        pl: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        pt: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        ro: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        rs: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        ru: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        sa: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        se: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        sg: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        si: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        sk: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        sn: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        sr: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        th: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        tj: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        tr: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        tw: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        tz: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        ua: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        ug: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        us: Schema.optional(Schema.Struct({
            local_amusement_tax: Schema.optional(Schema.Struct({
                jurisdiction: Schema.String,
            })),
            local_lease_tax: Schema.optional(Schema.Struct({
                jurisdiction: Schema.String,
            })),
            state: Schema.String,
            state_sales_tax: Schema.optional(Schema.Struct({
                elections: Schema.Array(Schema.Struct({
                    jurisdiction: Schema.optional(Schema.String),
                    type: Schema.Literals([
                        "local_use_tax",
                        "simplified_sellers_use_tax",
                        "single_local_use_tax",
                    ]),
                })),
            })),
            type: Schema.Literals([
                "local_amusement_tax",
                "local_lease_tax",
                "state_communications_tax",
                "state_retail_delivery_fee",
                "state_sales_tax",
            ]),
        })),
        uy: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        uz: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        vn: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        za: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
        zm: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        zw: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.optional(Schema.Literals(["inbound_goods", "standard"])),
            })),
            type: Schema.Literals(["standard"]),
        })),
    }),
    expand: Schema.optional(Schema.Array(Schema.String)),
    expires_at: Schema.optional(Schema.Number),
}).pipe(T.Http({
    method: "POST",
    path: "/v1/tax/registrations",
    contentType: "form-urlencoded",
}));
// Output Schema
export const PostTaxRegistrationsOutput = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    active_from: Schema.Number,
    country: Schema.String,
    country_options: Schema.Struct({
        ae: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "standard",
                ]),
            })),
            type: Schema.Literals(["standard"]),
        })),
        al: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        am: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        ao: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        at: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        au: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "standard",
                ]),
            })),
            type: Schema.Literals(["standard"]),
        })),
        aw: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        az: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        ba: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        bb: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        bd: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        be: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        bf: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        bg: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        bh: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        bj: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        bs: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        by: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        ca: Schema.optional(Schema.Struct({
            province_standard: Schema.optional(Schema.Struct({
                province: Schema.String,
            })),
            type: Schema.Literals([
                "province_standard",
                "simplified",
                "standard",
            ]),
        })),
        cd: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        ch: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "standard",
                ]),
            })),
            type: Schema.Literals(["standard"]),
        })),
        cl: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        cm: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        co: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        cr: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        cv: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        cy: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        cz: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        de: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        dk: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        ec: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        ee: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        eg: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        es: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        et: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        fi: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        fr: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        gb: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "standard",
                ]),
            })),
            type: Schema.Literals(["standard"]),
        })),
        ge: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        gn: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        gr: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        hr: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        hu: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        id: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        ie: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        in: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        is: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        it: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        jp: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "standard",
                ]),
            })),
            type: Schema.Literals(["standard"]),
        })),
        ke: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        kg: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        kh: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        kr: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        kz: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        la: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        lk: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        lt: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        lu: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        lv: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        ma: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        md: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        me: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        mk: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        mr: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        mt: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        mx: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        my: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        ng: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        nl: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        no: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "standard",
                ]),
            })),
            type: Schema.Literals(["standard"]),
        })),
        np: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        nz: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "standard",
                ]),
            })),
            type: Schema.Literals(["standard"]),
        })),
        om: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        pe: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        ph: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        pl: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        pt: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        ro: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        rs: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        ru: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        sa: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        se: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        sg: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "standard",
                ]),
            })),
            type: Schema.Literals(["standard"]),
        })),
        si: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        sk: Schema.optional(Schema.Struct({
            standard: Schema.optional(Schema.Struct({
                place_of_supply_scheme: Schema.Literals([
                    "inbound_goods",
                    "small_seller",
                    "standard",
                ]),
            })),
            type: Schema.Literals([
                "ioss",
                "oss_non_union",
                "oss_union",
                "standard",
            ]),
        })),
        sn: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        sr: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        th: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        tj: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        tr: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        tw: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        tz: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        ua: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        ug: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        us: Schema.optional(Schema.Struct({
            local_amusement_tax: Schema.optional(Schema.Struct({
                jurisdiction: Schema.String,
            })),
            local_lease_tax: Schema.optional(Schema.Struct({
                jurisdiction: Schema.String,
            })),
            state: Schema.String,
            state_sales_tax: Schema.optional(Schema.Struct({
                elections: Schema.optional(Schema.Array(Schema.Struct({
                    jurisdiction: Schema.optional(Schema.String),
                    type: Schema.Literals([
                        "local_use_tax",
                        "simplified_sellers_use_tax",
                        "single_local_use_tax",
                    ]),
                }))),
            })),
            type: Schema.Literals([
                "local_amusement_tax",
                "local_lease_tax",
                "state_communications_tax",
                "state_retail_delivery_fee",
                "state_sales_tax",
            ]),
        })),
        uy: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        uz: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        vn: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        za: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
        zm: Schema.optional(Schema.Struct({
            type: Schema.Literals(["simplified"]),
        })),
        zw: Schema.optional(Schema.Struct({
            type: Schema.Literals(["standard"]),
        })),
    }),
    created: Schema.Number,
    expires_at: Schema.NullOr(Schema.Number),
    id: Schema.String,
    livemode: Schema.Boolean,
    object: Schema.Literals(["tax.registration"]),
    status: Schema.Literals(["active", "expired", "scheduled"]),
});
// The operation
/**
 * Create a registration
 *
 * <p>Creates a new Tax <code>Registration</code> object.</p>
 */
export const PostTaxRegistrations = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    inputSchema: PostTaxRegistrationsInput,
    outputSchema: PostTaxRegistrationsOutput,
}));
//# sourceMappingURL=PostTaxRegistrations.js.map