dub 0.3.0 → 0.6.3
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.
Potentially problematic release.
This version of dub might be problematic. Click here for more details.
- data/.gitignore +8 -0
 - data/History.txt +37 -0
 - data/LICENSE +20 -0
 - data/README.rdoc +48 -0
 - data/Rakefile +58 -0
 - data/dub.gemspec +197 -0
 - data/lib/dub/argument.rb +275 -0
 - data/lib/dub/entities_unescape.rb +16 -0
 - data/lib/dub/function.rb +163 -0
 - data/lib/dub/function_group.rb +72 -0
 - data/lib/dub/generator.rb +15 -0
 - data/lib/dub/group.rb +24 -0
 - data/lib/dub/klass.rb +232 -0
 - data/lib/dub/lua/class.cpp.erb +83 -0
 - data/lib/dub/lua/class_gen.rb +97 -0
 - data/lib/dub/lua/function.cpp.erb +18 -0
 - data/lib/dub/lua/function_gen.rb +258 -0
 - data/lib/dub/lua/group.cpp.erb +9 -0
 - data/lib/dub/lua/lua_cpp_helper.h +141 -0
 - data/lib/dub/lua/namespace.cpp.erb +40 -0
 - data/lib/dub/lua/namespace_gen.rb +88 -0
 - data/lib/dub/lua.rb +24 -0
 - data/lib/dub/member_extraction.rb +92 -0
 - data/lib/dub/namespace.rb +277 -0
 - data/lib/dub/parser.rb +46 -0
 - data/lib/dub/templates/lua_template.erb +21 -0
 - data/lib/dub/version.rb +3 -0
 - data/lib/dub.rb +23 -24
 - data/test/argument_test.rb +547 -0
 - data/test/fixtures/app/CMakeLists.txt +54 -0
 - data/test/fixtures/app/Doxyfile +1600 -0
 - data/test/fixtures/app/bindings/all_lua.cpp +299 -0
 - data/test/fixtures/app/include/matrix.h +153 -0
 - data/test/fixtures/app/make_lua_bindings.rb +13 -0
 - data/test/fixtures/app/vendor/lua/CMakeLists.txt +25 -0
 - data/test/fixtures/app/vendor/lua/COPYRIGHT +34 -0
 - data/test/fixtures/app/vendor/lua/HISTORY +183 -0
 - data/test/fixtures/app/vendor/lua/INSTALL +99 -0
 - data/test/fixtures/app/vendor/lua/Makefile +183 -0
 - data/test/fixtures/app/vendor/lua/README +37 -0
 - data/test/fixtures/app/vendor/lua/lapi.c +1080 -0
 - data/test/fixtures/app/vendor/lua/lapi.h +16 -0
 - data/test/fixtures/app/vendor/lua/lauxlib.c +653 -0
 - data/test/fixtures/app/vendor/lua/lauxlib.h +174 -0
 - data/test/fixtures/app/vendor/lua/lbaselib.c +643 -0
 - data/test/fixtures/app/vendor/lua/lcode.c +839 -0
 - data/test/fixtures/app/vendor/lua/lcode.h +76 -0
 - data/test/fixtures/app/vendor/lua/ldblib.c +397 -0
 - data/test/fixtures/app/vendor/lua/ldebug.c +622 -0
 - data/test/fixtures/app/vendor/lua/ldebug.h +33 -0
 - data/test/fixtures/app/vendor/lua/ldo.c +516 -0
 - data/test/fixtures/app/vendor/lua/ldo.h +57 -0
 - data/test/fixtures/app/vendor/lua/ldump.c +164 -0
 - data/test/fixtures/app/vendor/lua/lfunc.c +174 -0
 - data/test/fixtures/app/vendor/lua/lfunc.h +34 -0
 - data/test/fixtures/app/vendor/lua/lgc.c +711 -0
 - data/test/fixtures/app/vendor/lua/lgc.h +110 -0
 - data/test/fixtures/app/vendor/lua/liblua.a +0 -0
 - data/test/fixtures/app/vendor/lua/linit.c +38 -0
 - data/test/fixtures/app/vendor/lua/liolib.c +532 -0
 - data/test/fixtures/app/vendor/lua/llex.c +461 -0
 - data/test/fixtures/app/vendor/lua/llex.h +81 -0
 - data/test/fixtures/app/vendor/lua/llimits.h +128 -0
 - data/test/fixtures/app/vendor/lua/lmathlib.c +263 -0
 - data/test/fixtures/app/vendor/lua/lmem.c +86 -0
 - data/test/fixtures/app/vendor/lua/lmem.h +49 -0
 - data/test/fixtures/app/vendor/lua/loadlib.c +664 -0
 - data/test/fixtures/app/vendor/lua/lobject.c +214 -0
 - data/test/fixtures/app/vendor/lua/lobject.h +381 -0
 - data/test/fixtures/app/vendor/lua/lopcodes.c +102 -0
 - data/test/fixtures/app/vendor/lua/lopcodes.h +268 -0
 - data/test/fixtures/app/vendor/lua/loslib.c +244 -0
 - data/test/fixtures/app/vendor/lua/lparser.c +1337 -0
 - data/test/fixtures/app/vendor/lua/lparser.h +82 -0
 - data/test/fixtures/app/vendor/lua/lstate.c +214 -0
 - data/test/fixtures/app/vendor/lua/lstate.h +168 -0
 - data/test/fixtures/app/vendor/lua/lstring.c +111 -0
 - data/test/fixtures/app/vendor/lua/lstring.h +31 -0
 - data/test/fixtures/app/vendor/lua/lstrlib.c +868 -0
 - data/test/fixtures/app/vendor/lua/ltable.c +588 -0
 - data/test/fixtures/app/vendor/lua/ltable.h +40 -0
 - data/test/fixtures/app/vendor/lua/ltablib.c +278 -0
 - data/test/fixtures/app/vendor/lua/ltm.c +75 -0
 - data/test/fixtures/app/vendor/lua/ltm.h +54 -0
 - data/test/fixtures/app/vendor/lua/lua.c +695 -0
 - data/test/fixtures/app/vendor/lua/lua.h +385 -0
 - data/test/fixtures/app/vendor/lua/lua_dub_helper.h +77 -0
 - data/test/fixtures/app/vendor/lua/luac +0 -0
 - data/test/fixtures/app/vendor/lua/luac.c +200 -0
 - data/test/fixtures/app/vendor/lua/luaconf.h +762 -0
 - data/test/fixtures/app/vendor/lua/lualib.h +53 -0
 - data/test/fixtures/app/vendor/lua/lundump.c +223 -0
 - data/test/fixtures/app/vendor/lua/lundump.h +36 -0
 - data/test/fixtures/app/vendor/lua/lvm.c +765 -0
 - data/test/fixtures/app/vendor/lua/lvm.h +36 -0
 - data/test/fixtures/app/vendor/lua/lzio.c +82 -0
 - data/test/fixtures/app/vendor/lua/lzio.h +67 -0
 - data/test/fixtures/app/vendor/lua/matrix.h +102 -0
 - data/test/fixtures/app/vendor/lua/print.c +227 -0
 - data/test/fixtures/app/vendor/lua/test/README +26 -0
 - data/test/fixtures/app/vendor/lua/test/bisect.lua +27 -0
 - data/test/fixtures/app/vendor/lua/test/cf.lua +16 -0
 - data/test/fixtures/app/vendor/lua/test/echo.lua +5 -0
 - data/test/fixtures/app/vendor/lua/test/env.lua +7 -0
 - data/test/fixtures/app/vendor/lua/test/factorial.lua +32 -0
 - data/test/fixtures/app/vendor/lua/test/fib.lua +40 -0
 - data/test/fixtures/app/vendor/lua/test/fibfor.lua +13 -0
 - data/test/fixtures/app/vendor/lua/test/globals.lua +13 -0
 - data/test/fixtures/app/vendor/lua/test/hello.lua +3 -0
 - data/test/fixtures/app/vendor/lua/test/life.lua +111 -0
 - data/test/fixtures/app/vendor/lua/test/luac.lua +7 -0
 - data/test/fixtures/app/vendor/lua/test/printf.lua +7 -0
 - data/test/fixtures/app/vendor/lua/test/readonly.lua +12 -0
 - data/test/fixtures/app/vendor/lua/test/sieve.lua +29 -0
 - data/test/fixtures/app/vendor/lua/test/sort.lua +66 -0
 - data/test/fixtures/app/vendor/lua/test/table.lua +12 -0
 - data/test/fixtures/app/vendor/lua/test/trace-calls.lua +32 -0
 - data/test/fixtures/app/vendor/lua/test/trace-globals.lua +38 -0
 - data/test/fixtures/app/vendor/lua/test/xd.lua +14 -0
 - data/test/fixtures/app/xml/classdub_1_1_matrix.xml +313 -0
 - data/test/fixtures/app/xml/classdub_1_1_t_mat.xml +252 -0
 - data/test/fixtures/app/xml/combine.xslt +15 -0
 - data/test/fixtures/app/xml/compound.xsd +814 -0
 - data/test/fixtures/app/xml/dir_53661a2bdeb1d55e60581a7e15deb763.xml +12 -0
 - data/test/fixtures/app/xml/index.xml +47 -0
 - data/test/fixtures/app/xml/index.xsd +66 -0
 - data/test/fixtures/app/xml/matrix_8h.xml +175 -0
 - data/test/fixtures/app/xml/namespacedub.xml +41 -0
 - data/test/fixtures/classcv_1_1_mat.xml +1996 -0
 - data/test/fixtures/classcv_1_1_point__.xml +341 -0
 - data/test/fixtures/classcv_1_1_scalar__.xml +269 -0
 - data/test/fixtures/classcv_1_1_size__.xml +270 -0
 - data/test/fixtures/dummy_class.cpp.erb +1 -0
 - data/test/fixtures/dummy_function.cpp.erb +1 -0
 - data/test/fixtures/group___magic_type.xml +406 -0
 - data/test/fixtures/namespacecv.xml +12659 -0
 - data/test/function_group_test.rb +24 -0
 - data/test/function_test.rb +395 -0
 - data/test/group_test.rb +155 -0
 - data/test/helper.rb +34 -0
 - data/test/klass_test.rb +395 -0
 - data/test/lua_function_gen_test.rb +195 -0
 - data/test/namespace_test.rb +220 -0
 - data/test/parser_test.rb +36 -0
 - metadata +211 -458
 - checksums.yaml +0 -7
 - data/lib/crystalline/metadata_fields.rb +0 -163
 - data/lib/crystalline/t.rb +0 -59
 - data/lib/crystalline/utils.rb +0 -65
 - data/lib/crystalline.rb +0 -12
 - data/lib/open_api_sdk/analytics.rb +0 -154
 - data/lib/open_api_sdk/commissions.rb +0 -298
 - data/lib/open_api_sdk/customers.rb +0 -709
 - data/lib/open_api_sdk/domains.rb +0 -839
 - data/lib/open_api_sdk/dub.rb +0 -99
 - data/lib/open_api_sdk/embed_tokens.rb +0 -163
 - data/lib/open_api_sdk/events.rb +0 -154
 - data/lib/open_api_sdk/folders.rb +0 -570
 - data/lib/open_api_sdk/links.rb +0 -1377
 - data/lib/open_api_sdk/models/operations/accesslevel.rb +0 -18
 - data/lib/open_api_sdk/models/operations/bulkcreatelinks_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/bulkcreatelinks_testvariants.rb +0 -27
 - data/lib/open_api_sdk/models/operations/bulkdeletelinks_request.rb +0 -24
 - data/lib/open_api_sdk/models/operations/bulkdeletelinks_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/bulkdeletelinks_responsebody.rb +0 -24
 - data/lib/open_api_sdk/models/operations/bulkupdatelinks_requestbody.rb +0 -30
 - data/lib/open_api_sdk/models/operations/bulkupdatelinks_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/bulkupdatelinks_testvariants.rb +0 -27
 - data/lib/open_api_sdk/models/operations/checkdomainstatus_request.rb +0 -24
 - data/lib/open_api_sdk/models/operations/checkdomainstatus_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/click.rb +0 -24
 - data/lib/open_api_sdk/models/operations/color.rb +0 -23
 - data/lib/open_api_sdk/models/operations/country.rb +0 -266
 - data/lib/open_api_sdk/models/operations/createcustomer_discount.rb +0 -48
 - data/lib/open_api_sdk/models/operations/createcustomer_link.rb +0 -39
 - data/lib/open_api_sdk/models/operations/createcustomer_partner.rb +0 -33
 - data/lib/open_api_sdk/models/operations/createcustomer_requestbody.rb +0 -33
 - data/lib/open_api_sdk/models/operations/createcustomer_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/createcustomer_responsebody.rb +0 -60
 - data/lib/open_api_sdk/models/operations/createcustomer_type.rb +0 -18
 - data/lib/open_api_sdk/models/operations/createdomain_requestbody.rb +0 -45
 - data/lib/open_api_sdk/models/operations/createdomain_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/createfolder_requestbody.rb +0 -27
 - data/lib/open_api_sdk/models/operations/createfolder_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/createlink_requestbody.rb +0 -145
 - data/lib/open_api_sdk/models/operations/createlink_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/createpartner_link.rb +0 -48
 - data/lib/open_api_sdk/models/operations/createpartner_requestbody.rb +0 -45
 - data/lib/open_api_sdk/models/operations/createpartner_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/createpartner_responsebody.rb +0 -104
 - data/lib/open_api_sdk/models/operations/createpartner_status.rb +0 -23
 - data/lib/open_api_sdk/models/operations/createpartner_testvariants.rb +0 -27
 - data/lib/open_api_sdk/models/operations/createpartnerlink_linkprops.rb +0 -111
 - data/lib/open_api_sdk/models/operations/createpartnerlink_requestbody.rb +0 -39
 - data/lib/open_api_sdk/models/operations/createpartnerlink_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/createpartnerlink_testvariants.rb +0 -27
 - data/lib/open_api_sdk/models/operations/createreferralsembedtoken_country.rb +0 -266
 - data/lib/open_api_sdk/models/operations/createreferralsembedtoken_linkprops.rb +0 -111
 - data/lib/open_api_sdk/models/operations/createreferralsembedtoken_requestbody.rb +0 -30
 - data/lib/open_api_sdk/models/operations/createreferralsembedtoken_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/createreferralsembedtoken_responsebody.rb +0 -27
 - data/lib/open_api_sdk/models/operations/createreferralsembedtoken_testvariants.rb +0 -27
 - data/lib/open_api_sdk/models/operations/createtag_requestbody.rb +0 -32
 - data/lib/open_api_sdk/models/operations/createtag_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/customer.rb +0 -33
 - data/lib/open_api_sdk/models/operations/data.rb +0 -130
 - data/lib/open_api_sdk/models/operations/deletecustomer_request.rb +0 -24
 - data/lib/open_api_sdk/models/operations/deletecustomer_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/deletecustomer_responsebody.rb +0 -24
 - data/lib/open_api_sdk/models/operations/deletedomain_request.rb +0 -24
 - data/lib/open_api_sdk/models/operations/deletedomain_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/deletedomain_responsebody.rb +0 -24
 - data/lib/open_api_sdk/models/operations/deletefolder_request.rb +0 -24
 - data/lib/open_api_sdk/models/operations/deletefolder_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/deletefolder_responsebody.rb +0 -24
 - data/lib/open_api_sdk/models/operations/deletelink_request.rb +0 -24
 - data/lib/open_api_sdk/models/operations/deletelink_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/deletelink_responsebody.rb +0 -24
 - data/lib/open_api_sdk/models/operations/deletetag_request.rb +0 -24
 - data/lib/open_api_sdk/models/operations/deletetag_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/deletetag_responsebody.rb +0 -24
 - data/lib/open_api_sdk/models/operations/discount.rb +0 -48
 - data/lib/open_api_sdk/models/operations/event.rb +0 -20
 - data/lib/open_api_sdk/models/operations/getcustomer_discount.rb +0 -48
 - data/lib/open_api_sdk/models/operations/getcustomer_link.rb +0 -39
 - data/lib/open_api_sdk/models/operations/getcustomer_partner.rb +0 -33
 - data/lib/open_api_sdk/models/operations/getcustomer_request.rb +0 -27
 - data/lib/open_api_sdk/models/operations/getcustomer_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/getcustomer_responsebody.rb +0 -60
 - data/lib/open_api_sdk/models/operations/getcustomer_type.rb +0 -18
 - data/lib/open_api_sdk/models/operations/getcustomers_link.rb +0 -39
 - data/lib/open_api_sdk/models/operations/getcustomers_partner.rb +0 -33
 - data/lib/open_api_sdk/models/operations/getcustomers_queryparam_sortby.rb +0 -18
 - data/lib/open_api_sdk/models/operations/getcustomers_queryparam_sortorder.rb +0 -18
 - data/lib/open_api_sdk/models/operations/getcustomers_request.rb +0 -51
 - data/lib/open_api_sdk/models/operations/getcustomers_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/getcustomers_responsebody.rb +0 -60
 - data/lib/open_api_sdk/models/operations/getcustomers_type.rb +0 -18
 - data/lib/open_api_sdk/models/operations/getlinkinfo_request.rb +0 -33
 - data/lib/open_api_sdk/models/operations/getlinkinfo_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/getlinks_request.rb +0 -66
 - data/lib/open_api_sdk/models/operations/getlinks_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/getlinkscount_request.rb +0 -54
 - data/lib/open_api_sdk/models/operations/getlinkscount_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/getqrcode_request.rb +0 -48
 - data/lib/open_api_sdk/models/operations/getqrcode_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/gettags_queryparam_sortby.rb +0 -18
 - data/lib/open_api_sdk/models/operations/gettags_queryparam_sortorder.rb +0 -18
 - data/lib/open_api_sdk/models/operations/gettags_request.rb +0 -39
 - data/lib/open_api_sdk/models/operations/gettags_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/getworkspace_request.rb +0 -24
 - data/lib/open_api_sdk/models/operations/getworkspace_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/groupby.rb +0 -37
 - data/lib/open_api_sdk/models/operations/interval.rb +0 -25
 - data/lib/open_api_sdk/models/operations/level.rb +0 -20
 - data/lib/open_api_sdk/models/operations/link.rb +0 -48
 - data/lib/open_api_sdk/models/operations/linkprops.rb +0 -111
 - data/lib/open_api_sdk/models/operations/listcommissions_queryparam_interval.rb +0 -25
 - data/lib/open_api_sdk/models/operations/listcommissions_queryparam_sortby.rb +0 -18
 - data/lib/open_api_sdk/models/operations/listcommissions_queryparam_sortorder.rb +0 -18
 - data/lib/open_api_sdk/models/operations/listcommissions_request.rb +0 -60
 - data/lib/open_api_sdk/models/operations/listcommissions_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/listcommissions_responsebody.rb +0 -51
 - data/lib/open_api_sdk/models/operations/listcommissions_status.rb +0 -23
 - data/lib/open_api_sdk/models/operations/listcommissions_type.rb +0 -20
 - data/lib/open_api_sdk/models/operations/listdomains_request.rb +0 -33
 - data/lib/open_api_sdk/models/operations/listdomains_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/listevents_request.rb +0 -138
 - data/lib/open_api_sdk/models/operations/listevents_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/listfolders_request.rb +0 -30
 - data/lib/open_api_sdk/models/operations/listfolders_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/mode.rb +0 -18
 - data/lib/open_api_sdk/models/operations/order.rb +0 -20
 - data/lib/open_api_sdk/models/operations/partner.rb +0 -45
 - data/lib/open_api_sdk/models/operations/paymentprocessor.rb +0 -21
 - data/lib/open_api_sdk/models/operations/queryparam_event.rb +0 -19
 - data/lib/open_api_sdk/models/operations/queryparam_groupby.rb +0 -19
 - data/lib/open_api_sdk/models/operations/queryparam_interval.rb +0 -25
 - data/lib/open_api_sdk/models/operations/queryparam_sortby.rb +0 -17
 - data/lib/open_api_sdk/models/operations/queryparam_sortorder.rb +0 -18
 - data/lib/open_api_sdk/models/operations/queryparam_status.rb +0 -23
 - data/lib/open_api_sdk/models/operations/queryparam_trigger.rb +0 -18
 - data/lib/open_api_sdk/models/operations/registerdomain_requestbody.rb +0 -24
 - data/lib/open_api_sdk/models/operations/registerdomain_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/registerdomain_responsebody.rb +0 -30
 - data/lib/open_api_sdk/models/operations/requestbody.rb +0 -145
 - data/lib/open_api_sdk/models/operations/responsebody.rb +0 -33
 - data/lib/open_api_sdk/models/operations/retrieveanalytics_request.rb +0 -126
 - data/lib/open_api_sdk/models/operations/retrieveanalytics_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/retrievelinks_request.rb +0 -27
 - data/lib/open_api_sdk/models/operations/retrievelinks_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/retrievepartneranalytics_queryparam_interval.rb +0 -25
 - data/lib/open_api_sdk/models/operations/retrievepartneranalytics_request.rb +0 -42
 - data/lib/open_api_sdk/models/operations/retrievepartneranalytics_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/sale.rb +0 -36
 - data/lib/open_api_sdk/models/operations/sort.rb +0 -22
 - data/lib/open_api_sdk/models/operations/sortby.rb +0 -20
 - data/lib/open_api_sdk/models/operations/sortorder.rb +0 -18
 - data/lib/open_api_sdk/models/operations/status.rb +0 -20
 - data/lib/open_api_sdk/models/operations/testvariants.rb +0 -27
 - data/lib/open_api_sdk/models/operations/tracklead_requestbody.rb +0 -48
 - data/lib/open_api_sdk/models/operations/tracklead_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/tracklead_responsebody.rb +0 -27
 - data/lib/open_api_sdk/models/operations/tracksale_customer.rb +0 -36
 - data/lib/open_api_sdk/models/operations/tracksale_requestbody.rb +0 -45
 - data/lib/open_api_sdk/models/operations/tracksale_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/tracksale_responsebody.rb +0 -30
 - data/lib/open_api_sdk/models/operations/trigger.rb +0 -18
 - data/lib/open_api_sdk/models/operations/type.rb +0 -20
 - data/lib/open_api_sdk/models/operations/updatecommission_request.rb +0 -27
 - data/lib/open_api_sdk/models/operations/updatecommission_requestbody.rb +0 -33
 - data/lib/open_api_sdk/models/operations/updatecommission_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/updatecommission_responsebody.rb +0 -51
 - data/lib/open_api_sdk/models/operations/updatecommission_status.rb +0 -23
 - data/lib/open_api_sdk/models/operations/updatecommission_type.rb +0 -20
 - data/lib/open_api_sdk/models/operations/updatecustomer_discount.rb +0 -48
 - data/lib/open_api_sdk/models/operations/updatecustomer_link.rb +0 -39
 - data/lib/open_api_sdk/models/operations/updatecustomer_partner.rb +0 -33
 - data/lib/open_api_sdk/models/operations/updatecustomer_request.rb +0 -30
 - data/lib/open_api_sdk/models/operations/updatecustomer_requestbody.rb +0 -33
 - data/lib/open_api_sdk/models/operations/updatecustomer_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/updatecustomer_responsebody.rb +0 -60
 - data/lib/open_api_sdk/models/operations/updatecustomer_type.rb +0 -18
 - data/lib/open_api_sdk/models/operations/updatedomain_request.rb +0 -27
 - data/lib/open_api_sdk/models/operations/updatedomain_requestbody.rb +0 -45
 - data/lib/open_api_sdk/models/operations/updatedomain_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/updatefolder_accesslevel.rb +0 -18
 - data/lib/open_api_sdk/models/operations/updatefolder_request.rb +0 -27
 - data/lib/open_api_sdk/models/operations/updatefolder_requestbody.rb +0 -27
 - data/lib/open_api_sdk/models/operations/updatefolder_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/updatelink_request.rb +0 -27
 - data/lib/open_api_sdk/models/operations/updatelink_requestbody.rb +0 -139
 - data/lib/open_api_sdk/models/operations/updatelink_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/updatelink_testvariants.rb +0 -27
 - data/lib/open_api_sdk/models/operations/updatetag_color.rb +0 -23
 - data/lib/open_api_sdk/models/operations/updatetag_request.rb +0 -27
 - data/lib/open_api_sdk/models/operations/updatetag_requestbody.rb +0 -32
 - data/lib/open_api_sdk/models/operations/updatetag_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/updateworkspace_request.rb +0 -27
 - data/lib/open_api_sdk/models/operations/updateworkspace_requestbody.rb +0 -36
 - data/lib/open_api_sdk/models/operations/updateworkspace_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/upsertlink_requestbody.rb +0 -145
 - data/lib/open_api_sdk/models/operations/upsertlink_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/upsertlink_testvariants.rb +0 -27
 - data/lib/open_api_sdk/models/operations/upsertpartnerlink_linkprops.rb +0 -111
 - data/lib/open_api_sdk/models/operations/upsertpartnerlink_requestbody.rb +0 -39
 - data/lib/open_api_sdk/models/operations/upsertpartnerlink_response.rb +0 -60
 - data/lib/open_api_sdk/models/operations/upsertpartnerlink_testvariants.rb +0 -27
 - data/lib/open_api_sdk/models/operations.rb +0 -198
 - data/lib/open_api_sdk/models/shared/accesslevel.rb +0 -18
 - data/lib/open_api_sdk/models/shared/badrequest.rb +0 -24
 - data/lib/open_api_sdk/models/shared/code.rb +0 -17
 - data/lib/open_api_sdk/models/shared/color.rb +0 -23
 - data/lib/open_api_sdk/models/shared/conflict.rb +0 -24
 - data/lib/open_api_sdk/models/shared/conflict_code.rb +0 -17
 - data/lib/open_api_sdk/models/shared/conflict_error.rb +0 -30
 - data/lib/open_api_sdk/models/shared/continentcode.rb +0 -23
 - data/lib/open_api_sdk/models/shared/countrycode.rb +0 -266
 - data/lib/open_api_sdk/models/shared/domains.rb +0 -30
 - data/lib/open_api_sdk/models/shared/domainschema.rb +0 -63
 - data/lib/open_api_sdk/models/shared/error.rb +0 -30
 - data/lib/open_api_sdk/models/shared/folderschema.rb +0 -39
 - data/lib/open_api_sdk/models/shared/forbidden.rb +0 -24
 - data/lib/open_api_sdk/models/shared/forbidden_code.rb +0 -17
 - data/lib/open_api_sdk/models/shared/forbidden_error.rb +0 -30
 - data/lib/open_api_sdk/models/shared/geo.rb +0 -771
 - data/lib/open_api_sdk/models/shared/internalservererror.rb +0 -24
 - data/lib/open_api_sdk/models/shared/internalservererror_code.rb +0 -17
 - data/lib/open_api_sdk/models/shared/internalservererror_error.rb +0 -30
 - data/lib/open_api_sdk/models/shared/inviteexpired.rb +0 -24
 - data/lib/open_api_sdk/models/shared/inviteexpired_code.rb +0 -17
 - data/lib/open_api_sdk/models/shared/inviteexpired_error.rb +0 -30
 - data/lib/open_api_sdk/models/shared/linkgeotargeting.rb +0 -771
 - data/lib/open_api_sdk/models/shared/linkschema.rb +0 -172
 - data/lib/open_api_sdk/models/shared/notfound.rb +0 -24
 - data/lib/open_api_sdk/models/shared/notfound_code.rb +0 -17
 - data/lib/open_api_sdk/models/shared/notfound_error.rb +0 -30
 - data/lib/open_api_sdk/models/shared/plan.rb +0 -24
 - data/lib/open_api_sdk/models/shared/ratelimitexceeded.rb +0 -24
 - data/lib/open_api_sdk/models/shared/ratelimitexceeded_code.rb +0 -17
 - data/lib/open_api_sdk/models/shared/ratelimitexceeded_error.rb +0 -30
 - data/lib/open_api_sdk/models/shared/registereddomain.rb +0 -30
 - data/lib/open_api_sdk/models/shared/role.rb +0 -18
 - data/lib/open_api_sdk/models/shared/security.rb +0 -24
 - data/lib/open_api_sdk/models/shared/tagschema.rb +0 -30
 - data/lib/open_api_sdk/models/shared/testvariants.rb +0 -27
 - data/lib/open_api_sdk/models/shared/type.rb +0 -18
 - data/lib/open_api_sdk/models/shared/unauthorized.rb +0 -24
 - data/lib/open_api_sdk/models/shared/unauthorized_code.rb +0 -17
 - data/lib/open_api_sdk/models/shared/unauthorized_error.rb +0 -30
 - data/lib/open_api_sdk/models/shared/unprocessableentity.rb +0 -24
 - data/lib/open_api_sdk/models/shared/unprocessableentity_code.rb +0 -17
 - data/lib/open_api_sdk/models/shared/unprocessableentity_error.rb +0 -30
 - data/lib/open_api_sdk/models/shared/users.rb +0 -27
 - data/lib/open_api_sdk/models/shared/workspaceschema.rb +0 -123
 - data/lib/open_api_sdk/models/shared.rb +0 -55
 - data/lib/open_api_sdk/partners.rb +0 -701
 - data/lib/open_api_sdk/qr_codes.rb +0 -151
 - data/lib/open_api_sdk/sdk_hooks/hooks.rb +0 -103
 - data/lib/open_api_sdk/sdk_hooks/registration.rb +0 -35
 - data/lib/open_api_sdk/sdk_hooks/types.rb +0 -152
 - data/lib/open_api_sdk/sdkconfiguration.rb +0 -75
 - data/lib/open_api_sdk/tags.rb +0 -570
 - data/lib/open_api_sdk/track.rb +0 -302
 - data/lib/open_api_sdk/utils/retries.rb +0 -95
 - data/lib/open_api_sdk/utils/utils.rb +0 -738
 - data/lib/open_api_sdk/workspaces.rb +0 -301
 
| 
         @@ -1,60 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            # typed: true
         
     | 
| 
       4 
     | 
    
         
            -
            # frozen_string_literal: true
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            module OpenApiSDK
         
     | 
| 
       8 
     | 
    
         
            -
              module Operations
         
     | 
| 
       9 
     | 
    
         
            -
              
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
                class TrackLeadResponse < ::Crystalline::FieldAugmented
         
     | 
| 
       12 
     | 
    
         
            -
                  extend T::Sig
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
                  # HTTP response content type for this operation
         
     | 
| 
       15 
     | 
    
         
            -
                  field :content_type, ::String
         
     | 
| 
       16 
     | 
    
         
            -
                  # Raw HTTP response; suitable for custom response parsing
         
     | 
| 
       17 
     | 
    
         
            -
                  field :raw_response, ::Faraday::Response
         
     | 
| 
       18 
     | 
    
         
            -
                  # HTTP response status code for this operation
         
     | 
| 
       19 
     | 
    
         
            -
                  field :status_code, ::Integer
         
     | 
| 
       20 
     | 
    
         
            -
                  # The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
         
     | 
| 
       21 
     | 
    
         
            -
                  field :bad_request, T.nilable(::OpenApiSDK::Shared::BadRequest)
         
     | 
| 
       22 
     | 
    
         
            -
                  # This response is sent when a request conflicts with the current state of the server.
         
     | 
| 
       23 
     | 
    
         
            -
                  field :conflict, T.nilable(::OpenApiSDK::Shared::Conflict)
         
     | 
| 
       24 
     | 
    
         
            -
                  # The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401 Unauthorized, the client's identity is known to the server.
         
     | 
| 
       25 
     | 
    
         
            -
                  field :forbidden, T.nilable(::OpenApiSDK::Shared::Forbidden)
         
     | 
| 
       26 
     | 
    
         
            -
                  # The server has encountered a situation it does not know how to handle.
         
     | 
| 
       27 
     | 
    
         
            -
                  field :internal_server_error, T.nilable(::OpenApiSDK::Shared::InternalServerError)
         
     | 
| 
       28 
     | 
    
         
            -
                  # This response is sent when the requested content has been permanently deleted from server, with no forwarding address.
         
     | 
| 
       29 
     | 
    
         
            -
                  field :invite_expired, T.nilable(::OpenApiSDK::Shared::InviteExpired)
         
     | 
| 
       30 
     | 
    
         
            -
                  # The server cannot find the requested resource.
         
     | 
| 
       31 
     | 
    
         
            -
                  field :not_found, T.nilable(::OpenApiSDK::Shared::NotFound)
         
     | 
| 
       32 
     | 
    
         
            -
                  # A lead was tracked.
         
     | 
| 
       33 
     | 
    
         
            -
                  field :object, T.nilable(::OpenApiSDK::Operations::TrackLeadResponseBody)
         
     | 
| 
       34 
     | 
    
         
            -
                  # The user has sent too many requests in a given amount of time ("rate limiting")
         
     | 
| 
       35 
     | 
    
         
            -
                  field :rate_limit_exceeded, T.nilable(::OpenApiSDK::Shared::RateLimitExceeded)
         
     | 
| 
       36 
     | 
    
         
            -
                  # Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
         
     | 
| 
       37 
     | 
    
         
            -
                  field :unauthorized, T.nilable(::OpenApiSDK::Shared::Unauthorized)
         
     | 
| 
       38 
     | 
    
         
            -
                  # The request was well-formed but was unable to be followed due to semantic errors.
         
     | 
| 
       39 
     | 
    
         
            -
                  field :unprocessable_entity, T.nilable(::OpenApiSDK::Shared::UnprocessableEntity)
         
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
       42 
     | 
    
         
            -
                  sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, bad_request: T.nilable(::OpenApiSDK::Shared::BadRequest), conflict: T.nilable(::OpenApiSDK::Shared::Conflict), forbidden: T.nilable(::OpenApiSDK::Shared::Forbidden), internal_server_error: T.nilable(::OpenApiSDK::Shared::InternalServerError), invite_expired: T.nilable(::OpenApiSDK::Shared::InviteExpired), not_found: T.nilable(::OpenApiSDK::Shared::NotFound), object: T.nilable(::OpenApiSDK::Operations::TrackLeadResponseBody), rate_limit_exceeded: T.nilable(::OpenApiSDK::Shared::RateLimitExceeded), unauthorized: T.nilable(::OpenApiSDK::Shared::Unauthorized), unprocessable_entity: T.nilable(::OpenApiSDK::Shared::UnprocessableEntity)).void }
         
     | 
| 
       43 
     | 
    
         
            -
                  def initialize(content_type: nil, raw_response: nil, status_code: nil, bad_request: nil, conflict: nil, forbidden: nil, internal_server_error: nil, invite_expired: nil, not_found: nil, object: nil, rate_limit_exceeded: nil, unauthorized: nil, unprocessable_entity: nil)
         
     | 
| 
       44 
     | 
    
         
            -
                    @content_type = content_type
         
     | 
| 
       45 
     | 
    
         
            -
                    @raw_response = raw_response
         
     | 
| 
       46 
     | 
    
         
            -
                    @status_code = status_code
         
     | 
| 
       47 
     | 
    
         
            -
                    @bad_request = bad_request
         
     | 
| 
       48 
     | 
    
         
            -
                    @conflict = conflict
         
     | 
| 
       49 
     | 
    
         
            -
                    @forbidden = forbidden
         
     | 
| 
       50 
     | 
    
         
            -
                    @internal_server_error = internal_server_error
         
     | 
| 
       51 
     | 
    
         
            -
                    @invite_expired = invite_expired
         
     | 
| 
       52 
     | 
    
         
            -
                    @not_found = not_found
         
     | 
| 
       53 
     | 
    
         
            -
                    @object = object
         
     | 
| 
       54 
     | 
    
         
            -
                    @rate_limit_exceeded = rate_limit_exceeded
         
     | 
| 
       55 
     | 
    
         
            -
                    @unauthorized = unauthorized
         
     | 
| 
       56 
     | 
    
         
            -
                    @unprocessable_entity = unprocessable_entity
         
     | 
| 
       57 
     | 
    
         
            -
                  end
         
     | 
| 
       58 
     | 
    
         
            -
                end
         
     | 
| 
       59 
     | 
    
         
            -
              end
         
     | 
| 
       60 
     | 
    
         
            -
            end
         
     | 
| 
         @@ -1,27 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            # typed: true
         
     | 
| 
       4 
     | 
    
         
            -
            # frozen_string_literal: true
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            module OpenApiSDK
         
     | 
| 
       8 
     | 
    
         
            -
              module Operations
         
     | 
| 
       9 
     | 
    
         
            -
              
         
     | 
| 
       10 
     | 
    
         
            -
                # A lead was tracked.
         
     | 
| 
       11 
     | 
    
         
            -
                class TrackLeadResponseBody < ::Crystalline::FieldAugmented
         
     | 
| 
       12 
     | 
    
         
            -
                  extend T::Sig
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
                  field :click, ::OpenApiSDK::Operations::Click, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('click') } }
         
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
                  field :customer, ::OpenApiSDK::Operations::Customer, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('customer') } }
         
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
                  sig { params(click: ::OpenApiSDK::Operations::Click, customer: ::OpenApiSDK::Operations::Customer).void }
         
     | 
| 
       21 
     | 
    
         
            -
                  def initialize(click: nil, customer: nil)
         
     | 
| 
       22 
     | 
    
         
            -
                    @click = click
         
     | 
| 
       23 
     | 
    
         
            -
                    @customer = customer
         
     | 
| 
       24 
     | 
    
         
            -
                  end
         
     | 
| 
       25 
     | 
    
         
            -
                end
         
     | 
| 
       26 
     | 
    
         
            -
              end
         
     | 
| 
       27 
     | 
    
         
            -
            end
         
     | 
| 
         @@ -1,36 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            # typed: true
         
     | 
| 
       4 
     | 
    
         
            -
            # frozen_string_literal: true
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            module OpenApiSDK
         
     | 
| 
       8 
     | 
    
         
            -
              module Operations
         
     | 
| 
       9 
     | 
    
         
            -
              
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
                class TrackSaleCustomer < ::Crystalline::FieldAugmented
         
     | 
| 
       12 
     | 
    
         
            -
                  extend T::Sig
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
                  field :avatar, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('avatar') } }
         
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
                  field :email, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('email') } }
         
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
                  field :external_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('externalId') } }
         
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
                  field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
         
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
                  field :name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }
         
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
                  sig { params(avatar: ::String, email: ::String, external_id: ::String, id: ::String, name: ::String).void }
         
     | 
| 
       27 
     | 
    
         
            -
                  def initialize(avatar: nil, email: nil, external_id: nil, id: nil, name: nil)
         
     | 
| 
       28 
     | 
    
         
            -
                    @avatar = avatar
         
     | 
| 
       29 
     | 
    
         
            -
                    @email = email
         
     | 
| 
       30 
     | 
    
         
            -
                    @external_id = external_id
         
     | 
| 
       31 
     | 
    
         
            -
                    @id = id
         
     | 
| 
       32 
     | 
    
         
            -
                    @name = name
         
     | 
| 
       33 
     | 
    
         
            -
                  end
         
     | 
| 
       34 
     | 
    
         
            -
                end
         
     | 
| 
       35 
     | 
    
         
            -
              end
         
     | 
| 
       36 
     | 
    
         
            -
            end
         
     | 
| 
         @@ -1,45 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            # typed: true
         
     | 
| 
       4 
     | 
    
         
            -
            # frozen_string_literal: true
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            module OpenApiSDK
         
     | 
| 
       8 
     | 
    
         
            -
              module Operations
         
     | 
| 
       9 
     | 
    
         
            -
              
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
                class TrackSaleRequestBody < ::Crystalline::FieldAugmented
         
     | 
| 
       12 
     | 
    
         
            -
                  extend T::Sig
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
                  # The amount of the sale in cents (for all two-decimal currencies). If the sale is in a zero-decimal currency, pass the full integer value (e.g. `1437` JPY). Learn more: https://d.to/currency
         
     | 
| 
       15 
     | 
    
         
            -
                  field :amount, ::Integer, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('amount') } }
         
     | 
| 
       16 
     | 
    
         
            -
                  # The unique ID of the customer in your system. Will be used to identify and attribute all future events to this customer.
         
     | 
| 
       17 
     | 
    
         
            -
                  field :customer_external_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('customerExternalId') } }
         
     | 
| 
       18 
     | 
    
         
            -
                  # The payment processor via which the sale was made.
         
     | 
| 
       19 
     | 
    
         
            -
                  field :payment_processor, ::OpenApiSDK::Operations::PaymentProcessor, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('paymentProcessor'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Operations::PaymentProcessor, false) } }
         
     | 
| 
       20 
     | 
    
         
            -
                  # The currency of the sale. Accepts ISO 4217 currency codes. Sales will be automatically converted and stored as USD at the latest exchange rates. Learn more: https://d.to/currency
         
     | 
| 
       21 
     | 
    
         
            -
                  field :currency, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('currency') } }
         
     | 
| 
       22 
     | 
    
         
            -
                  # The name of the sale event. Recommended format: `Invoice paid` or `Subscription created`.
         
     | 
| 
       23 
     | 
    
         
            -
                  field :event_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('eventName') } }
         
     | 
| 
       24 
     | 
    
         
            -
                  # The invoice ID of the sale. Can be used as a idempotency key – only one sale event can be recorded for a given invoice ID.
         
     | 
| 
       25 
     | 
    
         
            -
                  field :invoice_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('invoiceId') } }
         
     | 
| 
       26 
     | 
    
         
            -
                  # The name of the lead event that occurred before the sale (case-sensitive). This is used to associate the sale event with a particular lead event (instead of the latest lead event for a link-customer combination, which is the default behavior).
         
     | 
| 
       27 
     | 
    
         
            -
                  field :lead_event_name, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('leadEventName') } }
         
     | 
| 
       28 
     | 
    
         
            -
                  # Additional metadata to be stored with the sale event. Max 10,000 characters when stringified.
         
     | 
| 
       29 
     | 
    
         
            -
                  field :metadata, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('metadata') } }
         
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
             
     | 
| 
       32 
     | 
    
         
            -
                  sig { params(amount: ::Integer, customer_external_id: ::String, payment_processor: ::OpenApiSDK::Operations::PaymentProcessor, currency: T.nilable(::String), event_name: T.nilable(::String), invoice_id: T.nilable(::String), lead_event_name: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::Object])).void }
         
     | 
| 
       33 
     | 
    
         
            -
                  def initialize(amount: nil, customer_external_id: nil, payment_processor: nil, currency: nil, event_name: nil, invoice_id: nil, lead_event_name: nil, metadata: nil)
         
     | 
| 
       34 
     | 
    
         
            -
                    @amount = amount
         
     | 
| 
       35 
     | 
    
         
            -
                    @customer_external_id = customer_external_id
         
     | 
| 
       36 
     | 
    
         
            -
                    @payment_processor = payment_processor
         
     | 
| 
       37 
     | 
    
         
            -
                    @currency = currency
         
     | 
| 
       38 
     | 
    
         
            -
                    @event_name = event_name
         
     | 
| 
       39 
     | 
    
         
            -
                    @invoice_id = invoice_id
         
     | 
| 
       40 
     | 
    
         
            -
                    @lead_event_name = lead_event_name
         
     | 
| 
       41 
     | 
    
         
            -
                    @metadata = metadata
         
     | 
| 
       42 
     | 
    
         
            -
                  end
         
     | 
| 
       43 
     | 
    
         
            -
                end
         
     | 
| 
       44 
     | 
    
         
            -
              end
         
     | 
| 
       45 
     | 
    
         
            -
            end
         
     | 
| 
         @@ -1,60 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            # typed: true
         
     | 
| 
       4 
     | 
    
         
            -
            # frozen_string_literal: true
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            module OpenApiSDK
         
     | 
| 
       8 
     | 
    
         
            -
              module Operations
         
     | 
| 
       9 
     | 
    
         
            -
              
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
                class TrackSaleResponse < ::Crystalline::FieldAugmented
         
     | 
| 
       12 
     | 
    
         
            -
                  extend T::Sig
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
                  # HTTP response content type for this operation
         
     | 
| 
       15 
     | 
    
         
            -
                  field :content_type, ::String
         
     | 
| 
       16 
     | 
    
         
            -
                  # Raw HTTP response; suitable for custom response parsing
         
     | 
| 
       17 
     | 
    
         
            -
                  field :raw_response, ::Faraday::Response
         
     | 
| 
       18 
     | 
    
         
            -
                  # HTTP response status code for this operation
         
     | 
| 
       19 
     | 
    
         
            -
                  field :status_code, ::Integer
         
     | 
| 
       20 
     | 
    
         
            -
                  # The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
         
     | 
| 
       21 
     | 
    
         
            -
                  field :bad_request, T.nilable(::OpenApiSDK::Shared::BadRequest)
         
     | 
| 
       22 
     | 
    
         
            -
                  # This response is sent when a request conflicts with the current state of the server.
         
     | 
| 
       23 
     | 
    
         
            -
                  field :conflict, T.nilable(::OpenApiSDK::Shared::Conflict)
         
     | 
| 
       24 
     | 
    
         
            -
                  # The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401 Unauthorized, the client's identity is known to the server.
         
     | 
| 
       25 
     | 
    
         
            -
                  field :forbidden, T.nilable(::OpenApiSDK::Shared::Forbidden)
         
     | 
| 
       26 
     | 
    
         
            -
                  # The server has encountered a situation it does not know how to handle.
         
     | 
| 
       27 
     | 
    
         
            -
                  field :internal_server_error, T.nilable(::OpenApiSDK::Shared::InternalServerError)
         
     | 
| 
       28 
     | 
    
         
            -
                  # This response is sent when the requested content has been permanently deleted from server, with no forwarding address.
         
     | 
| 
       29 
     | 
    
         
            -
                  field :invite_expired, T.nilable(::OpenApiSDK::Shared::InviteExpired)
         
     | 
| 
       30 
     | 
    
         
            -
                  # The server cannot find the requested resource.
         
     | 
| 
       31 
     | 
    
         
            -
                  field :not_found, T.nilable(::OpenApiSDK::Shared::NotFound)
         
     | 
| 
       32 
     | 
    
         
            -
                  # A sale was tracked.
         
     | 
| 
       33 
     | 
    
         
            -
                  field :object, T.nilable(::OpenApiSDK::Operations::TrackSaleResponseBody)
         
     | 
| 
       34 
     | 
    
         
            -
                  # The user has sent too many requests in a given amount of time ("rate limiting")
         
     | 
| 
       35 
     | 
    
         
            -
                  field :rate_limit_exceeded, T.nilable(::OpenApiSDK::Shared::RateLimitExceeded)
         
     | 
| 
       36 
     | 
    
         
            -
                  # Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
         
     | 
| 
       37 
     | 
    
         
            -
                  field :unauthorized, T.nilable(::OpenApiSDK::Shared::Unauthorized)
         
     | 
| 
       38 
     | 
    
         
            -
                  # The request was well-formed but was unable to be followed due to semantic errors.
         
     | 
| 
       39 
     | 
    
         
            -
                  field :unprocessable_entity, T.nilable(::OpenApiSDK::Shared::UnprocessableEntity)
         
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
       42 
     | 
    
         
            -
                  sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, bad_request: T.nilable(::OpenApiSDK::Shared::BadRequest), conflict: T.nilable(::OpenApiSDK::Shared::Conflict), forbidden: T.nilable(::OpenApiSDK::Shared::Forbidden), internal_server_error: T.nilable(::OpenApiSDK::Shared::InternalServerError), invite_expired: T.nilable(::OpenApiSDK::Shared::InviteExpired), not_found: T.nilable(::OpenApiSDK::Shared::NotFound), object: T.nilable(::OpenApiSDK::Operations::TrackSaleResponseBody), rate_limit_exceeded: T.nilable(::OpenApiSDK::Shared::RateLimitExceeded), unauthorized: T.nilable(::OpenApiSDK::Shared::Unauthorized), unprocessable_entity: T.nilable(::OpenApiSDK::Shared::UnprocessableEntity)).void }
         
     | 
| 
       43 
     | 
    
         
            -
                  def initialize(content_type: nil, raw_response: nil, status_code: nil, bad_request: nil, conflict: nil, forbidden: nil, internal_server_error: nil, invite_expired: nil, not_found: nil, object: nil, rate_limit_exceeded: nil, unauthorized: nil, unprocessable_entity: nil)
         
     | 
| 
       44 
     | 
    
         
            -
                    @content_type = content_type
         
     | 
| 
       45 
     | 
    
         
            -
                    @raw_response = raw_response
         
     | 
| 
       46 
     | 
    
         
            -
                    @status_code = status_code
         
     | 
| 
       47 
     | 
    
         
            -
                    @bad_request = bad_request
         
     | 
| 
       48 
     | 
    
         
            -
                    @conflict = conflict
         
     | 
| 
       49 
     | 
    
         
            -
                    @forbidden = forbidden
         
     | 
| 
       50 
     | 
    
         
            -
                    @internal_server_error = internal_server_error
         
     | 
| 
       51 
     | 
    
         
            -
                    @invite_expired = invite_expired
         
     | 
| 
       52 
     | 
    
         
            -
                    @not_found = not_found
         
     | 
| 
       53 
     | 
    
         
            -
                    @object = object
         
     | 
| 
       54 
     | 
    
         
            -
                    @rate_limit_exceeded = rate_limit_exceeded
         
     | 
| 
       55 
     | 
    
         
            -
                    @unauthorized = unauthorized
         
     | 
| 
       56 
     | 
    
         
            -
                    @unprocessable_entity = unprocessable_entity
         
     | 
| 
       57 
     | 
    
         
            -
                  end
         
     | 
| 
       58 
     | 
    
         
            -
                end
         
     | 
| 
       59 
     | 
    
         
            -
              end
         
     | 
| 
       60 
     | 
    
         
            -
            end
         
     | 
| 
         @@ -1,30 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            # typed: true
         
     | 
| 
       4 
     | 
    
         
            -
            # frozen_string_literal: true
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            module OpenApiSDK
         
     | 
| 
       8 
     | 
    
         
            -
              module Operations
         
     | 
| 
       9 
     | 
    
         
            -
              
         
     | 
| 
       10 
     | 
    
         
            -
                # A sale was tracked.
         
     | 
| 
       11 
     | 
    
         
            -
                class TrackSaleResponseBody < ::Crystalline::FieldAugmented
         
     | 
| 
       12 
     | 
    
         
            -
                  extend T::Sig
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
                  field :customer, ::OpenApiSDK::Operations::TrackSaleCustomer, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('customer') } }
         
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
                  field :event_name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('eventName') } }
         
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
                  field :sale, ::OpenApiSDK::Operations::Sale, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('sale') } }
         
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
                  sig { params(customer: ::OpenApiSDK::Operations::TrackSaleCustomer, event_name: ::String, sale: ::OpenApiSDK::Operations::Sale).void }
         
     | 
| 
       23 
     | 
    
         
            -
                  def initialize(customer: nil, event_name: nil, sale: nil)
         
     | 
| 
       24 
     | 
    
         
            -
                    @customer = customer
         
     | 
| 
       25 
     | 
    
         
            -
                    @event_name = event_name
         
     | 
| 
       26 
     | 
    
         
            -
                    @sale = sale
         
     | 
| 
       27 
     | 
    
         
            -
                  end
         
     | 
| 
       28 
     | 
    
         
            -
                end
         
     | 
| 
       29 
     | 
    
         
            -
              end
         
     | 
| 
       30 
     | 
    
         
            -
            end
         
     | 
| 
         @@ -1,18 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            # typed: true
         
     | 
| 
       4 
     | 
    
         
            -
            # frozen_string_literal: true
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            module OpenApiSDK
         
     | 
| 
       8 
     | 
    
         
            -
              module Operations
         
     | 
| 
       9 
     | 
    
         
            -
              
         
     | 
| 
       10 
     | 
    
         
            -
                # Trigger - The trigger to retrieve analytics for. If undefined, return both QR and link clicks.
         
     | 
| 
       11 
     | 
    
         
            -
                class Trigger < T::Enum
         
     | 
| 
       12 
     | 
    
         
            -
                  enums do
         
     | 
| 
       13 
     | 
    
         
            -
                    QR = new('qr')
         
     | 
| 
       14 
     | 
    
         
            -
                    LINK = new('link')
         
     | 
| 
       15 
     | 
    
         
            -
                  end
         
     | 
| 
       16 
     | 
    
         
            -
                end
         
     | 
| 
       17 
     | 
    
         
            -
              end
         
     | 
| 
       18 
     | 
    
         
            -
            end
         
     | 
| 
         @@ -1,20 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            # typed: true
         
     | 
| 
       4 
     | 
    
         
            -
            # frozen_string_literal: true
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            module OpenApiSDK
         
     | 
| 
       8 
     | 
    
         
            -
              module Operations
         
     | 
| 
       9 
     | 
    
         
            -
              
         
     | 
| 
       10 
     | 
    
         
            -
                # Type
         
     | 
| 
       11 
     | 
    
         
            -
                class Type < T::Enum
         
     | 
| 
       12 
     | 
    
         
            -
                  enums do
         
     | 
| 
       13 
     | 
    
         
            -
                    CLICK = new('click')
         
     | 
| 
       14 
     | 
    
         
            -
                    LEAD = new('lead')
         
     | 
| 
       15 
     | 
    
         
            -
                    SALE = new('sale')
         
     | 
| 
       16 
     | 
    
         
            -
                    CUSTOM = new('custom')
         
     | 
| 
       17 
     | 
    
         
            -
                  end
         
     | 
| 
       18 
     | 
    
         
            -
                end
         
     | 
| 
       19 
     | 
    
         
            -
              end
         
     | 
| 
       20 
     | 
    
         
            -
            end
         
     | 
| 
         @@ -1,27 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            # typed: true
         
     | 
| 
       4 
     | 
    
         
            -
            # frozen_string_literal: true
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            module OpenApiSDK
         
     | 
| 
       8 
     | 
    
         
            -
              module Operations
         
     | 
| 
       9 
     | 
    
         
            -
              
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
                class UpdateCommissionRequest < ::Crystalline::FieldAugmented
         
     | 
| 
       12 
     | 
    
         
            -
                  extend T::Sig
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
                  # The commission's unique ID on Dub.
         
     | 
| 
       15 
     | 
    
         
            -
                  field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
         
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
                  field :request_body, T.nilable(::OpenApiSDK::Operations::UpdateCommissionRequestBody), { 'request': { 'media_type': 'application/json' } }
         
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
                  sig { params(id: ::String, request_body: T.nilable(::OpenApiSDK::Operations::UpdateCommissionRequestBody)).void }
         
     | 
| 
       21 
     | 
    
         
            -
                  def initialize(id: nil, request_body: nil)
         
     | 
| 
       22 
     | 
    
         
            -
                    @id = id
         
     | 
| 
       23 
     | 
    
         
            -
                    @request_body = request_body
         
     | 
| 
       24 
     | 
    
         
            -
                  end
         
     | 
| 
       25 
     | 
    
         
            -
                end
         
     | 
| 
       26 
     | 
    
         
            -
              end
         
     | 
| 
       27 
     | 
    
         
            -
            end
         
     | 
| 
         @@ -1,33 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            # typed: true
         
     | 
| 
       4 
     | 
    
         
            -
            # frozen_string_literal: true
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            module OpenApiSDK
         
     | 
| 
       8 
     | 
    
         
            -
              module Operations
         
     | 
| 
       9 
     | 
    
         
            -
              
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
                class UpdateCommissionRequestBody < ::Crystalline::FieldAugmented
         
     | 
| 
       12 
     | 
    
         
            -
                  extend T::Sig
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
                  # The new absolute amount for the sale. Paid commissions cannot be updated.
         
     | 
| 
       15 
     | 
    
         
            -
                  field :amount, T.nilable(::Float), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('amount') } }
         
     | 
| 
       16 
     | 
    
         
            -
                  # The currency of the sale amount to update. Accepts ISO 4217 currency codes.
         
     | 
| 
       17 
     | 
    
         
            -
                  field :currency, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('currency') } }
         
     | 
| 
       18 
     | 
    
         
            -
                  # Modify the current sale amount: use positive values to increase the amount, negative values to decrease it. Takes precedence over `amount`. Paid commissions cannot be updated.
         
     | 
| 
       19 
     | 
    
         
            -
                  field :modify_amount, T.nilable(::Float), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('modifyAmount') } }
         
     | 
| 
       20 
     | 
    
         
            -
                  # Useful for marking a commission as refunded, duplicate, canceled, or fraudulent. Takes precedence over `amount` and `modifyAmount`. When a commission is marked as refunded, duplicate, canceled, or fraudulent, it will be omitted from the payout, and the payout amount will be recalculated accordingly. Paid commissions cannot be updated.
         
     | 
| 
       21 
     | 
    
         
            -
                  field :status, T.nilable(::OpenApiSDK::Operations::Status), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('status'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Operations::Status, true) } }
         
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
                  sig { params(amount: T.nilable(::Float), currency: T.nilable(::String), modify_amount: T.nilable(::Float), status: T.nilable(::OpenApiSDK::Operations::Status)).void }
         
     | 
| 
       25 
     | 
    
         
            -
                  def initialize(amount: nil, currency: nil, modify_amount: nil, status: nil)
         
     | 
| 
       26 
     | 
    
         
            -
                    @amount = amount
         
     | 
| 
       27 
     | 
    
         
            -
                    @currency = currency
         
     | 
| 
       28 
     | 
    
         
            -
                    @modify_amount = modify_amount
         
     | 
| 
       29 
     | 
    
         
            -
                    @status = status
         
     | 
| 
       30 
     | 
    
         
            -
                  end
         
     | 
| 
       31 
     | 
    
         
            -
                end
         
     | 
| 
       32 
     | 
    
         
            -
              end
         
     | 
| 
       33 
     | 
    
         
            -
            end
         
     | 
| 
         @@ -1,60 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            # typed: true
         
     | 
| 
       4 
     | 
    
         
            -
            # frozen_string_literal: true
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            module OpenApiSDK
         
     | 
| 
       8 
     | 
    
         
            -
              module Operations
         
     | 
| 
       9 
     | 
    
         
            -
              
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
                class UpdateCommissionResponse < ::Crystalline::FieldAugmented
         
     | 
| 
       12 
     | 
    
         
            -
                  extend T::Sig
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
                  # HTTP response content type for this operation
         
     | 
| 
       15 
     | 
    
         
            -
                  field :content_type, ::String
         
     | 
| 
       16 
     | 
    
         
            -
                  # Raw HTTP response; suitable for custom response parsing
         
     | 
| 
       17 
     | 
    
         
            -
                  field :raw_response, ::Faraday::Response
         
     | 
| 
       18 
     | 
    
         
            -
                  # HTTP response status code for this operation
         
     | 
| 
       19 
     | 
    
         
            -
                  field :status_code, ::Integer
         
     | 
| 
       20 
     | 
    
         
            -
                  # The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
         
     | 
| 
       21 
     | 
    
         
            -
                  field :bad_request, T.nilable(::OpenApiSDK::Shared::BadRequest)
         
     | 
| 
       22 
     | 
    
         
            -
                  # This response is sent when a request conflicts with the current state of the server.
         
     | 
| 
       23 
     | 
    
         
            -
                  field :conflict, T.nilable(::OpenApiSDK::Shared::Conflict)
         
     | 
| 
       24 
     | 
    
         
            -
                  # The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401 Unauthorized, the client's identity is known to the server.
         
     | 
| 
       25 
     | 
    
         
            -
                  field :forbidden, T.nilable(::OpenApiSDK::Shared::Forbidden)
         
     | 
| 
       26 
     | 
    
         
            -
                  # The server has encountered a situation it does not know how to handle.
         
     | 
| 
       27 
     | 
    
         
            -
                  field :internal_server_error, T.nilable(::OpenApiSDK::Shared::InternalServerError)
         
     | 
| 
       28 
     | 
    
         
            -
                  # This response is sent when the requested content has been permanently deleted from server, with no forwarding address.
         
     | 
| 
       29 
     | 
    
         
            -
                  field :invite_expired, T.nilable(::OpenApiSDK::Shared::InviteExpired)
         
     | 
| 
       30 
     | 
    
         
            -
                  # The server cannot find the requested resource.
         
     | 
| 
       31 
     | 
    
         
            -
                  field :not_found, T.nilable(::OpenApiSDK::Shared::NotFound)
         
     | 
| 
       32 
     | 
    
         
            -
                  # The updated commission.
         
     | 
| 
       33 
     | 
    
         
            -
                  field :object, T.nilable(::OpenApiSDK::Operations::UpdateCommissionResponseBody)
         
     | 
| 
       34 
     | 
    
         
            -
                  # The user has sent too many requests in a given amount of time ("rate limiting")
         
     | 
| 
       35 
     | 
    
         
            -
                  field :rate_limit_exceeded, T.nilable(::OpenApiSDK::Shared::RateLimitExceeded)
         
     | 
| 
       36 
     | 
    
         
            -
                  # Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
         
     | 
| 
       37 
     | 
    
         
            -
                  field :unauthorized, T.nilable(::OpenApiSDK::Shared::Unauthorized)
         
     | 
| 
       38 
     | 
    
         
            -
                  # The request was well-formed but was unable to be followed due to semantic errors.
         
     | 
| 
       39 
     | 
    
         
            -
                  field :unprocessable_entity, T.nilable(::OpenApiSDK::Shared::UnprocessableEntity)
         
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
       42 
     | 
    
         
            -
                  sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, bad_request: T.nilable(::OpenApiSDK::Shared::BadRequest), conflict: T.nilable(::OpenApiSDK::Shared::Conflict), forbidden: T.nilable(::OpenApiSDK::Shared::Forbidden), internal_server_error: T.nilable(::OpenApiSDK::Shared::InternalServerError), invite_expired: T.nilable(::OpenApiSDK::Shared::InviteExpired), not_found: T.nilable(::OpenApiSDK::Shared::NotFound), object: T.nilable(::OpenApiSDK::Operations::UpdateCommissionResponseBody), rate_limit_exceeded: T.nilable(::OpenApiSDK::Shared::RateLimitExceeded), unauthorized: T.nilable(::OpenApiSDK::Shared::Unauthorized), unprocessable_entity: T.nilable(::OpenApiSDK::Shared::UnprocessableEntity)).void }
         
     | 
| 
       43 
     | 
    
         
            -
                  def initialize(content_type: nil, raw_response: nil, status_code: nil, bad_request: nil, conflict: nil, forbidden: nil, internal_server_error: nil, invite_expired: nil, not_found: nil, object: nil, rate_limit_exceeded: nil, unauthorized: nil, unprocessable_entity: nil)
         
     | 
| 
       44 
     | 
    
         
            -
                    @content_type = content_type
         
     | 
| 
       45 
     | 
    
         
            -
                    @raw_response = raw_response
         
     | 
| 
       46 
     | 
    
         
            -
                    @status_code = status_code
         
     | 
| 
       47 
     | 
    
         
            -
                    @bad_request = bad_request
         
     | 
| 
       48 
     | 
    
         
            -
                    @conflict = conflict
         
     | 
| 
       49 
     | 
    
         
            -
                    @forbidden = forbidden
         
     | 
| 
       50 
     | 
    
         
            -
                    @internal_server_error = internal_server_error
         
     | 
| 
       51 
     | 
    
         
            -
                    @invite_expired = invite_expired
         
     | 
| 
       52 
     | 
    
         
            -
                    @not_found = not_found
         
     | 
| 
       53 
     | 
    
         
            -
                    @object = object
         
     | 
| 
       54 
     | 
    
         
            -
                    @rate_limit_exceeded = rate_limit_exceeded
         
     | 
| 
       55 
     | 
    
         
            -
                    @unauthorized = unauthorized
         
     | 
| 
       56 
     | 
    
         
            -
                    @unprocessable_entity = unprocessable_entity
         
     | 
| 
       57 
     | 
    
         
            -
                  end
         
     | 
| 
       58 
     | 
    
         
            -
                end
         
     | 
| 
       59 
     | 
    
         
            -
              end
         
     | 
| 
       60 
     | 
    
         
            -
            end
         
     | 
| 
         @@ -1,51 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            # typed: true
         
     | 
| 
       4 
     | 
    
         
            -
            # frozen_string_literal: true
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            module OpenApiSDK
         
     | 
| 
       8 
     | 
    
         
            -
              module Operations
         
     | 
| 
       9 
     | 
    
         
            -
              
         
     | 
| 
       10 
     | 
    
         
            -
                # The updated commission.
         
     | 
| 
       11 
     | 
    
         
            -
                class UpdateCommissionResponseBody < ::Crystalline::FieldAugmented
         
     | 
| 
       12 
     | 
    
         
            -
                  extend T::Sig
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
                  field :amount, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('amount') } }
         
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
                  field :created_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('createdAt') } }
         
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
                  field :currency, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('currency') } }
         
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
                  field :earnings, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('earnings') } }
         
     | 
| 
       22 
     | 
    
         
            -
                  # The commission's unique ID on Dub.
         
     | 
| 
       23 
     | 
    
         
            -
                  field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
         
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
                  field :status, ::OpenApiSDK::Operations::UpdateCommissionStatus, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('status'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Operations::UpdateCommissionStatus, false) } }
         
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
                  field :updated_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('updatedAt') } }
         
     | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
       29 
     | 
    
         
            -
                  field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
         
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
                  field :invoice_id, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('invoiceId') } }
         
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
       33 
     | 
    
         
            -
                  field :type, T.nilable(::OpenApiSDK::Operations::UpdateCommissionType), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('type'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Operations::UpdateCommissionType, true) } }
         
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
                  sig { params(amount: ::Float, created_at: ::String, currency: ::String, earnings: ::Float, id: ::String, status: ::OpenApiSDK::Operations::UpdateCommissionStatus, updated_at: ::String, description: T.nilable(::String), invoice_id: T.nilable(::String), type: T.nilable(::OpenApiSDK::Operations::UpdateCommissionType)).void }
         
     | 
| 
       37 
     | 
    
         
            -
                  def initialize(amount: nil, created_at: nil, currency: nil, earnings: nil, id: nil, status: nil, updated_at: nil, description: nil, invoice_id: nil, type: nil)
         
     | 
| 
       38 
     | 
    
         
            -
                    @amount = amount
         
     | 
| 
       39 
     | 
    
         
            -
                    @created_at = created_at
         
     | 
| 
       40 
     | 
    
         
            -
                    @currency = currency
         
     | 
| 
       41 
     | 
    
         
            -
                    @earnings = earnings
         
     | 
| 
       42 
     | 
    
         
            -
                    @id = id
         
     | 
| 
       43 
     | 
    
         
            -
                    @status = status
         
     | 
| 
       44 
     | 
    
         
            -
                    @updated_at = updated_at
         
     | 
| 
       45 
     | 
    
         
            -
                    @description = description
         
     | 
| 
       46 
     | 
    
         
            -
                    @invoice_id = invoice_id
         
     | 
| 
       47 
     | 
    
         
            -
                    @type = type
         
     | 
| 
       48 
     | 
    
         
            -
                  end
         
     | 
| 
       49 
     | 
    
         
            -
                end
         
     | 
| 
       50 
     | 
    
         
            -
              end
         
     | 
| 
       51 
     | 
    
         
            -
            end
         
     | 
| 
         @@ -1,23 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            # typed: true
         
     | 
| 
       4 
     | 
    
         
            -
            # frozen_string_literal: true
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            module OpenApiSDK
         
     | 
| 
       8 
     | 
    
         
            -
              module Operations
         
     | 
| 
       9 
     | 
    
         
            -
              
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
                class UpdateCommissionStatus < T::Enum
         
     | 
| 
       12 
     | 
    
         
            -
                  enums do
         
     | 
| 
       13 
     | 
    
         
            -
                    PENDING = new('pending')
         
     | 
| 
       14 
     | 
    
         
            -
                    PROCESSED = new('processed')
         
     | 
| 
       15 
     | 
    
         
            -
                    PAID = new('paid')
         
     | 
| 
       16 
     | 
    
         
            -
                    REFUNDED = new('refunded')
         
     | 
| 
       17 
     | 
    
         
            -
                    DUPLICATE = new('duplicate')
         
     | 
| 
       18 
     | 
    
         
            -
                    FRAUD = new('fraud')
         
     | 
| 
       19 
     | 
    
         
            -
                    CANCELED = new('canceled')
         
     | 
| 
       20 
     | 
    
         
            -
                  end
         
     | 
| 
       21 
     | 
    
         
            -
                end
         
     | 
| 
       22 
     | 
    
         
            -
              end
         
     | 
| 
       23 
     | 
    
         
            -
            end
         
     | 
| 
         @@ -1,20 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            # typed: true
         
     | 
| 
       4 
     | 
    
         
            -
            # frozen_string_literal: true
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            module OpenApiSDK
         
     | 
| 
       8 
     | 
    
         
            -
              module Operations
         
     | 
| 
       9 
     | 
    
         
            -
              
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
                class UpdateCommissionType < T::Enum
         
     | 
| 
       12 
     | 
    
         
            -
                  enums do
         
     | 
| 
       13 
     | 
    
         
            -
                    CLICK = new('click')
         
     | 
| 
       14 
     | 
    
         
            -
                    LEAD = new('lead')
         
     | 
| 
       15 
     | 
    
         
            -
                    SALE = new('sale')
         
     | 
| 
       16 
     | 
    
         
            -
                    CUSTOM = new('custom')
         
     | 
| 
       17 
     | 
    
         
            -
                  end
         
     | 
| 
       18 
     | 
    
         
            -
                end
         
     | 
| 
       19 
     | 
    
         
            -
              end
         
     | 
| 
       20 
     | 
    
         
            -
            end
         
     | 
| 
         @@ -1,48 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            # typed: true
         
     | 
| 
       4 
     | 
    
         
            -
            # frozen_string_literal: true
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            module OpenApiSDK
         
     | 
| 
       8 
     | 
    
         
            -
              module Operations
         
     | 
| 
       9 
     | 
    
         
            -
              
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
                class UpdateCustomerDiscount < ::Crystalline::FieldAugmented
         
     | 
| 
       12 
     | 
    
         
            -
                  extend T::Sig
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
                  field :amount, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('amount') } }
         
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
                  field :coupon_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('couponId') } }
         
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
                  field :coupon_test_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('couponTestId') } }
         
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
                  field :default, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('default') } }
         
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
                  field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
         
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
                  field :max_duration, ::Float, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('maxDuration') } }
         
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
                  field :type, ::OpenApiSDK::Operations::UpdateCustomerType, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('type'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Operations::UpdateCustomerType, false) } }
         
     | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
       29 
     | 
    
         
            -
                  field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
         
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
                  field :partners_count, T.nilable(::Float), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('partnersCount') } }
         
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
                  sig { params(amount: ::Float, coupon_id: ::String, coupon_test_id: ::String, default: T::Boolean, id: ::String, max_duration: ::Float, type: ::OpenApiSDK::Operations::UpdateCustomerType, description: T.nilable(::String), partners_count: T.nilable(::Float)).void }
         
     | 
| 
       35 
     | 
    
         
            -
                  def initialize(amount: nil, coupon_id: nil, coupon_test_id: nil, default: nil, id: nil, max_duration: nil, type: nil, description: nil, partners_count: nil)
         
     | 
| 
       36 
     | 
    
         
            -
                    @amount = amount
         
     | 
| 
       37 
     | 
    
         
            -
                    @coupon_id = coupon_id
         
     | 
| 
       38 
     | 
    
         
            -
                    @coupon_test_id = coupon_test_id
         
     | 
| 
       39 
     | 
    
         
            -
                    @default = default
         
     | 
| 
       40 
     | 
    
         
            -
                    @id = id
         
     | 
| 
       41 
     | 
    
         
            -
                    @max_duration = max_duration
         
     | 
| 
       42 
     | 
    
         
            -
                    @type = type
         
     | 
| 
       43 
     | 
    
         
            -
                    @description = description
         
     | 
| 
       44 
     | 
    
         
            -
                    @partners_count = partners_count
         
     | 
| 
       45 
     | 
    
         
            -
                  end
         
     | 
| 
       46 
     | 
    
         
            -
                end
         
     | 
| 
       47 
     | 
    
         
            -
              end
         
     | 
| 
       48 
     | 
    
         
            -
            end
         
     | 
| 
         @@ -1,39 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            # typed: true
         
     | 
| 
       4 
     | 
    
         
            -
            # frozen_string_literal: true
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            module OpenApiSDK
         
     | 
| 
       8 
     | 
    
         
            -
              module Operations
         
     | 
| 
       9 
     | 
    
         
            -
              
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
                class UpdateCustomerLink < ::Crystalline::FieldAugmented
         
     | 
| 
       12 
     | 
    
         
            -
                  extend T::Sig
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
                  # The domain of the short link. If not provided, the primary domain for the workspace will be used (or `dub.sh` if the workspace has no domains).
         
     | 
| 
       15 
     | 
    
         
            -
                  field :domain, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('domain') } }
         
     | 
| 
       16 
     | 
    
         
            -
                  # The unique ID of the short link.
         
     | 
| 
       17 
     | 
    
         
            -
                  field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
         
     | 
| 
       18 
     | 
    
         
            -
                  # The short link slug. If not provided, a random 7-character slug will be generated.
         
     | 
| 
       19 
     | 
    
         
            -
                  field :key, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('key') } }
         
     | 
| 
       20 
     | 
    
         
            -
                  # The ID of the program the short link is associated with.
         
     | 
| 
       21 
     | 
    
         
            -
                  field :program_id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('programId') } }
         
     | 
| 
       22 
     | 
    
         
            -
                  # The full URL of the short link, including the https protocol (e.g. `https://dub.sh/try`).
         
     | 
| 
       23 
     | 
    
         
            -
                  field :short_link, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('shortLink') } }
         
     | 
| 
       24 
     | 
    
         
            -
                  # The destination URL of the short link.
         
     | 
| 
       25 
     | 
    
         
            -
                  field :url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('url') } }
         
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
                  sig { params(domain: ::String, id: ::String, key: ::String, program_id: ::String, short_link: ::String, url: ::String).void }
         
     | 
| 
       29 
     | 
    
         
            -
                  def initialize(domain: nil, id: nil, key: nil, program_id: nil, short_link: nil, url: nil)
         
     | 
| 
       30 
     | 
    
         
            -
                    @domain = domain
         
     | 
| 
       31 
     | 
    
         
            -
                    @id = id
         
     | 
| 
       32 
     | 
    
         
            -
                    @key = key
         
     | 
| 
       33 
     | 
    
         
            -
                    @program_id = program_id
         
     | 
| 
       34 
     | 
    
         
            -
                    @short_link = short_link
         
     | 
| 
       35 
     | 
    
         
            -
                    @url = url
         
     | 
| 
       36 
     | 
    
         
            -
                  end
         
     | 
| 
       37 
     | 
    
         
            -
                end
         
     | 
| 
       38 
     | 
    
         
            -
              end
         
     | 
| 
       39 
     | 
    
         
            -
            end
         
     | 
| 
         @@ -1,33 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            # typed: true
         
     | 
| 
       4 
     | 
    
         
            -
            # frozen_string_literal: true
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            module OpenApiSDK
         
     | 
| 
       8 
     | 
    
         
            -
              module Operations
         
     | 
| 
       9 
     | 
    
         
            -
              
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
                class UpdateCustomerPartner < ::Crystalline::FieldAugmented
         
     | 
| 
       12 
     | 
    
         
            -
                  extend T::Sig
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
                  # The partner's email address. Should be a unique value across Dub.
         
     | 
| 
       15 
     | 
    
         
            -
                  field :email, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('email') } }
         
     | 
| 
       16 
     | 
    
         
            -
                  # The partner's unique ID on Dub.
         
     | 
| 
       17 
     | 
    
         
            -
                  field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
         
     | 
| 
       18 
     | 
    
         
            -
                  # The partner's avatar image.
         
     | 
| 
       19 
     | 
    
         
            -
                  field :image, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('image') } }
         
     | 
| 
       20 
     | 
    
         
            -
                  # The partner's full legal name.
         
     | 
| 
       21 
     | 
    
         
            -
                  field :name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }
         
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
                  sig { params(email: ::String, id: ::String, image: ::String, name: ::String).void }
         
     | 
| 
       25 
     | 
    
         
            -
                  def initialize(email: nil, id: nil, image: nil, name: nil)
         
     | 
| 
       26 
     | 
    
         
            -
                    @email = email
         
     | 
| 
       27 
     | 
    
         
            -
                    @id = id
         
     | 
| 
       28 
     | 
    
         
            -
                    @image = image
         
     | 
| 
       29 
     | 
    
         
            -
                    @name = name
         
     | 
| 
       30 
     | 
    
         
            -
                  end
         
     | 
| 
       31 
     | 
    
         
            -
                end
         
     | 
| 
       32 
     | 
    
         
            -
              end
         
     | 
| 
       33 
     | 
    
         
            -
            end
         
     |