dub 0.2.2 → 1.0.0
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/History.txt +92 -0
- data/LICENSE +20 -0
- data/README.rdoc +115 -0
- data/Rakefile +59 -0
- data/dub.gemspec +197 -0
- data/lib/dub/argument.rb +286 -0
- data/lib/dub/entities_unescape.rb +9 -0
- data/lib/dub/function.rb +177 -0
- data/lib/dub/function_group.rb +72 -0
- data/lib/dub/generator.rb +15 -0
- data/lib/dub/group.rb +20 -0
- data/lib/dub/klass.rb +338 -0
- data/lib/dub/lua/class.cpp.erb +114 -0
- data/lib/dub/lua/class_gen.rb +96 -0
- data/lib/dub/lua/function.cpp.erb +15 -0
- data/lib/dub/lua/function_gen.rb +329 -0
- data/lib/dub/lua/group.cpp.erb +9 -0
- data/lib/dub/lua/lua_cpp_helper.cpp +259 -0
- data/lib/dub/lua/lua_cpp_helper.h +219 -0
- data/lib/dub/lua/lua_object.cpp +158 -0
- data/lib/dub/lua/lua_object.h +69 -0
- data/lib/dub/lua/namespace.cpp.erb +42 -0
- data/lib/dub/lua/namespace_gen.rb +69 -0
- data/lib/dub/lua.rb +24 -0
- data/lib/dub/member_extraction.rb +128 -0
- data/lib/dub/namespace.rb +295 -0
- data/lib/dub/opts_parser.rb +30 -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 +24 -20
- data/test/argument_test.rb +581 -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 +283 -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_base.xml +85 -0
- data/test/fixtures/app/xml/classdub_1_1_custom_destructor.xml +67 -0
- data/test/fixtures/app/xml/classdub_1_1_deletable_out_of_lua.xml +43 -0
- data/test/fixtures/app/xml/classdub_1_1_matrix.xml +482 -0
- data/test/fixtures/app/xml/classdub_1_1_no_destructor.xml +49 -0
- data/test/fixtures/app/xml/classdub_1_1_priv_sub_base.xml +89 -0
- data/test/fixtures/app/xml/classdub_1_1_private_constr.xml +68 -0
- data/test/fixtures/app/xml/classdub_1_1_static_constr.xml +69 -0
- data/test/fixtures/app/xml/classdub_1_1_sub_base.xml +89 -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 +91 -0
- data/test/fixtures/app/xml/index.xsd +66 -0
- data/test/fixtures/app/xml/matrix_8h.xml +310 -0
- data/test/fixtures/app/xml/namespacedub.xml +48 -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 +43 -0
- data/test/function_test.rb +405 -0
- data/test/group_test.rb +241 -0
- data/test/helper.rb +34 -0
- data/test/klass_test.rb +551 -0
- data/test/lua_function_gen_test.rb +242 -0
- data/test/namespace_test.rb +220 -0
- data/test/parser_test.rb +36 -0
- metadata +229 -272
- checksums.yaml +0 -7
- data/lib/open_api_sdk/analytics.rb +0 -99
- data/lib/open_api_sdk/domains.rb +0 -353
- data/lib/open_api_sdk/dub.rb +0 -88
- data/lib/open_api_sdk/links.rb +0 -766
- data/lib/open_api_sdk/metatags.rb +0 -54
- data/lib/open_api_sdk/models/operations/bulkcreatelinks_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/bulkupdatelinks_requestbody.rb +0 -27
- data/lib/open_api_sdk/models/operations/bulkupdatelinks_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/color.rb +0 -24
- data/lib/open_api_sdk/models/operations/createdomain_requestbody.rb +0 -33
- data/lib/open_api_sdk/models/operations/createdomain_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/createlink_requestbody.rb +0 -95
- data/lib/open_api_sdk/models/operations/createlink_response.rb +0 -60
- 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/data.rb +0 -83
- 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/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/event.rb +0 -21
- 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 -51
- data/lib/open_api_sdk/models/operations/getlinks_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/getlinkscount_request.rb +0 -48
- data/lib/open_api_sdk/models/operations/getlinkscount_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/getmetatags_request.rb +0 -24
- data/lib/open_api_sdk/models/operations/getmetatags_response.rb +0 -33
- data/lib/open_api_sdk/models/operations/getmetatags_responsebody.rb +0 -30
- data/lib/open_api_sdk/models/operations/getqrcode_request.rb +0 -39
- data/lib/open_api_sdk/models/operations/getqrcode_response.rb +0 -60
- 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 -28
- data/lib/open_api_sdk/models/operations/interval.rb +0 -25
- data/lib/open_api_sdk/models/operations/level.rb +0 -21
- data/lib/open_api_sdk/models/operations/listdomains_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/paymentprocessor.rb +0 -20
- data/lib/open_api_sdk/models/operations/requestbody.rb +0 -95
- data/lib/open_api_sdk/models/operations/retrieveanalytics_request.rb +0 -81
- data/lib/open_api_sdk/models/operations/retrieveanalytics_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/sort.rb +0 -20
- data/lib/open_api_sdk/models/operations/trackcustomer_requestbody.rb +0 -33
- data/lib/open_api_sdk/models/operations/trackcustomer_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/trackcustomer_responsebody.rb +0 -33
- data/lib/open_api_sdk/models/operations/tracklead_requestbody.rb +0 -42
- data/lib/open_api_sdk/models/operations/tracklead_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/tracklead_responsebody.rb +0 -42
- data/lib/open_api_sdk/models/operations/tracksale_requestbody.rb +0 -42
- data/lib/open_api_sdk/models/operations/tracksale_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/tracksale_responsebody.rb +0 -42
- data/lib/open_api_sdk/models/operations/updatedomain_request.rb +0 -27
- data/lib/open_api_sdk/models/operations/updatedomain_requestbody.rb +0 -33
- data/lib/open_api_sdk/models/operations/updatedomain_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 -95
- data/lib/open_api_sdk/models/operations/updatelink_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/updatetag_color.rb +0 -24
- 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 -27
- data/lib/open_api_sdk/models/operations/updateworkspace_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/upsertlink_requestbody.rb +0 -95
- data/lib/open_api_sdk/models/operations/upsertlink_response.rb +0 -60
- data/lib/open_api_sdk/models/operations.rb +0 -74
- data/lib/open_api_sdk/models/shared/badrequest.rb +0 -24
- data/lib/open_api_sdk/models/shared/code.rb +0 -18
- data/lib/open_api_sdk/models/shared/color.rb +0 -24
- data/lib/open_api_sdk/models/shared/conflict.rb +0 -24
- data/lib/open_api_sdk/models/shared/conflict_code.rb +0 -18
- data/lib/open_api_sdk/models/shared/conflict_error.rb +0 -30
- data/lib/open_api_sdk/models/shared/countrycode.rb +0 -267
- data/lib/open_api_sdk/models/shared/domains.rb +0 -27
- data/lib/open_api_sdk/models/shared/domainschema.rb +0 -48
- data/lib/open_api_sdk/models/shared/error.rb +0 -30
- data/lib/open_api_sdk/models/shared/forbidden.rb +0 -24
- data/lib/open_api_sdk/models/shared/forbidden_code.rb +0 -18
- 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 -18
- 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 -18
- 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 -142
- data/lib/open_api_sdk/models/shared/notfound.rb +0 -24
- data/lib/open_api_sdk/models/shared/notfound_code.rb +0 -18
- 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 -18
- data/lib/open_api_sdk/models/shared/ratelimitexceeded_error.rb +0 -30
- data/lib/open_api_sdk/models/shared/role.rb +0 -19
- 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/unauthorized.rb +0 -24
- data/lib/open_api_sdk/models/shared/unauthorized_code.rb +0 -18
- 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 -18
- data/lib/open_api_sdk/models/shared/unprocessableentity_error.rb +0 -30
- data/lib/open_api_sdk/models/shared/users.rb +0 -24
- data/lib/open_api_sdk/models/shared/workspaceschema.rb +0 -81
- data/lib/open_api_sdk/models/shared.rb +0 -49
- data/lib/open_api_sdk/qr_codes.rb +0 -97
- data/lib/open_api_sdk/sdkconfiguration.rb +0 -52
- data/lib/open_api_sdk/tags.rb +0 -272
- data/lib/open_api_sdk/track.rb +0 -276
- data/lib/open_api_sdk/utils/metadata_fields.rb +0 -150
- data/lib/open_api_sdk/utils/t.rb +0 -59
- data/lib/open_api_sdk/utils/utils.rb +0 -772
- data/lib/open_api_sdk/workspaces.rb +0 -192
@@ -1,60 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module OpenApiSDK
|
8
|
-
module Operations
|
9
|
-
|
10
|
-
|
11
|
-
class UpsertLinkResponse < ::OpenApiSDK::Utils::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 upserted link
|
31
|
-
field :link_schema, T.nilable(::OpenApiSDK::Shared::LinkSchema)
|
32
|
-
# The server cannot find the requested resource.
|
33
|
-
field :not_found, T.nilable(::OpenApiSDK::Shared::NotFound)
|
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), link_schema: T.nilable(::OpenApiSDK::Shared::LinkSchema), not_found: T.nilable(::OpenApiSDK::Shared::NotFound), 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, link_schema: nil, not_found: 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
|
-
@link_schema = link_schema
|
53
|
-
@not_found = not_found
|
54
|
-
@rate_limit_exceeded = rate_limit_exceeded
|
55
|
-
@unauthorized = unauthorized
|
56
|
-
@unprocessable_entity = unprocessable_entity
|
57
|
-
end
|
58
|
-
end
|
59
|
-
end
|
60
|
-
end
|
@@ -1,74 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
module OpenApiSDK
|
7
|
-
module Operations
|
8
|
-
autoload :Sort, 'open_api_sdk/models/operations/sort.rb'
|
9
|
-
autoload :GetLinksRequest, 'open_api_sdk/models/operations/getlinks_request.rb'
|
10
|
-
autoload :GetLinksResponse, 'open_api_sdk/models/operations/getlinks_response.rb'
|
11
|
-
autoload :CreateLinkRequestBody, 'open_api_sdk/models/operations/createlink_requestbody.rb'
|
12
|
-
autoload :CreateLinkResponse, 'open_api_sdk/models/operations/createlink_response.rb'
|
13
|
-
autoload :GetLinksCountRequest, 'open_api_sdk/models/operations/getlinkscount_request.rb'
|
14
|
-
autoload :GetLinksCountResponse, 'open_api_sdk/models/operations/getlinkscount_response.rb'
|
15
|
-
autoload :GetLinkInfoRequest, 'open_api_sdk/models/operations/getlinkinfo_request.rb'
|
16
|
-
autoload :GetLinkInfoResponse, 'open_api_sdk/models/operations/getlinkinfo_response.rb'
|
17
|
-
autoload :DeleteLinkRequest, 'open_api_sdk/models/operations/deletelink_request.rb'
|
18
|
-
autoload :DeleteLinkResponseBody, 'open_api_sdk/models/operations/deletelink_responsebody.rb'
|
19
|
-
autoload :DeleteLinkResponse, 'open_api_sdk/models/operations/deletelink_response.rb'
|
20
|
-
autoload :UpdateLinkRequestBody, 'open_api_sdk/models/operations/updatelink_requestbody.rb'
|
21
|
-
autoload :UpdateLinkRequest, 'open_api_sdk/models/operations/updatelink_request.rb'
|
22
|
-
autoload :UpdateLinkResponse, 'open_api_sdk/models/operations/updatelink_response.rb'
|
23
|
-
autoload :RequestBody, 'open_api_sdk/models/operations/requestbody.rb'
|
24
|
-
autoload :BulkCreateLinksResponse, 'open_api_sdk/models/operations/bulkcreatelinks_response.rb'
|
25
|
-
autoload :Data, 'open_api_sdk/models/operations/data.rb'
|
26
|
-
autoload :BulkUpdateLinksRequestBody, 'open_api_sdk/models/operations/bulkupdatelinks_requestbody.rb'
|
27
|
-
autoload :BulkUpdateLinksResponse, 'open_api_sdk/models/operations/bulkupdatelinks_response.rb'
|
28
|
-
autoload :UpsertLinkRequestBody, 'open_api_sdk/models/operations/upsertlink_requestbody.rb'
|
29
|
-
autoload :UpsertLinkResponse, 'open_api_sdk/models/operations/upsertlink_response.rb'
|
30
|
-
autoload :Level, 'open_api_sdk/models/operations/level.rb'
|
31
|
-
autoload :GetQRCodeRequest, 'open_api_sdk/models/operations/getqrcode_request.rb'
|
32
|
-
autoload :GetQRCodeResponse, 'open_api_sdk/models/operations/getqrcode_response.rb'
|
33
|
-
autoload :Event, 'open_api_sdk/models/operations/event.rb'
|
34
|
-
autoload :GroupBy, 'open_api_sdk/models/operations/groupby.rb'
|
35
|
-
autoload :Interval, 'open_api_sdk/models/operations/interval.rb'
|
36
|
-
autoload :RetrieveAnalyticsRequest, 'open_api_sdk/models/operations/retrieveanalytics_request.rb'
|
37
|
-
autoload :RetrieveAnalyticsResponse, 'open_api_sdk/models/operations/retrieveanalytics_response.rb'
|
38
|
-
autoload :GetWorkspaceRequest, 'open_api_sdk/models/operations/getworkspace_request.rb'
|
39
|
-
autoload :GetWorkspaceResponse, 'open_api_sdk/models/operations/getworkspace_response.rb'
|
40
|
-
autoload :UpdateWorkspaceRequestBody, 'open_api_sdk/models/operations/updateworkspace_requestbody.rb'
|
41
|
-
autoload :UpdateWorkspaceRequest, 'open_api_sdk/models/operations/updateworkspace_request.rb'
|
42
|
-
autoload :UpdateWorkspaceResponse, 'open_api_sdk/models/operations/updateworkspace_response.rb'
|
43
|
-
autoload :GetTagsResponse, 'open_api_sdk/models/operations/gettags_response.rb'
|
44
|
-
autoload :Color, 'open_api_sdk/models/operations/color.rb'
|
45
|
-
autoload :CreateTagRequestBody, 'open_api_sdk/models/operations/createtag_requestbody.rb'
|
46
|
-
autoload :CreateTagResponse, 'open_api_sdk/models/operations/createtag_response.rb'
|
47
|
-
autoload :UpdateTagColor, 'open_api_sdk/models/operations/updatetag_color.rb'
|
48
|
-
autoload :UpdateTagRequestBody, 'open_api_sdk/models/operations/updatetag_requestbody.rb'
|
49
|
-
autoload :UpdateTagRequest, 'open_api_sdk/models/operations/updatetag_request.rb'
|
50
|
-
autoload :UpdateTagResponse, 'open_api_sdk/models/operations/updatetag_response.rb'
|
51
|
-
autoload :ListDomainsResponse, 'open_api_sdk/models/operations/listdomains_response.rb'
|
52
|
-
autoload :CreateDomainRequestBody, 'open_api_sdk/models/operations/createdomain_requestbody.rb'
|
53
|
-
autoload :CreateDomainResponse, 'open_api_sdk/models/operations/createdomain_response.rb'
|
54
|
-
autoload :DeleteDomainRequest, 'open_api_sdk/models/operations/deletedomain_request.rb'
|
55
|
-
autoload :DeleteDomainResponseBody, 'open_api_sdk/models/operations/deletedomain_responsebody.rb'
|
56
|
-
autoload :DeleteDomainResponse, 'open_api_sdk/models/operations/deletedomain_response.rb'
|
57
|
-
autoload :UpdateDomainRequestBody, 'open_api_sdk/models/operations/updatedomain_requestbody.rb'
|
58
|
-
autoload :UpdateDomainRequest, 'open_api_sdk/models/operations/updatedomain_request.rb'
|
59
|
-
autoload :UpdateDomainResponse, 'open_api_sdk/models/operations/updatedomain_response.rb'
|
60
|
-
autoload :TrackLeadRequestBody, 'open_api_sdk/models/operations/tracklead_requestbody.rb'
|
61
|
-
autoload :TrackLeadResponseBody, 'open_api_sdk/models/operations/tracklead_responsebody.rb'
|
62
|
-
autoload :TrackLeadResponse, 'open_api_sdk/models/operations/tracklead_response.rb'
|
63
|
-
autoload :PaymentProcessor, 'open_api_sdk/models/operations/paymentprocessor.rb'
|
64
|
-
autoload :TrackSaleRequestBody, 'open_api_sdk/models/operations/tracksale_requestbody.rb'
|
65
|
-
autoload :TrackSaleResponseBody, 'open_api_sdk/models/operations/tracksale_responsebody.rb'
|
66
|
-
autoload :TrackSaleResponse, 'open_api_sdk/models/operations/tracksale_response.rb'
|
67
|
-
autoload :TrackCustomerRequestBody, 'open_api_sdk/models/operations/trackcustomer_requestbody.rb'
|
68
|
-
autoload :TrackCustomerResponseBody, 'open_api_sdk/models/operations/trackcustomer_responsebody.rb'
|
69
|
-
autoload :TrackCustomerResponse, 'open_api_sdk/models/operations/trackcustomer_response.rb'
|
70
|
-
autoload :GetMetatagsRequest, 'open_api_sdk/models/operations/getmetatags_request.rb'
|
71
|
-
autoload :GetMetatagsResponseBody, 'open_api_sdk/models/operations/getmetatags_responsebody.rb'
|
72
|
-
autoload :GetMetatagsResponse, 'open_api_sdk/models/operations/getmetatags_response.rb'
|
73
|
-
end
|
74
|
-
end
|
@@ -1,24 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module OpenApiSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class BadRequest < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
|
15
|
-
field :error, ::OpenApiSDK::Shared::Error, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('error') } }
|
16
|
-
|
17
|
-
|
18
|
-
sig { params(error: ::OpenApiSDK::Shared::Error).void }
|
19
|
-
def initialize(error: nil)
|
20
|
-
@error = error
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module OpenApiSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
# Code - A short code indicating the error code returned.
|
11
|
-
class Code < T::Enum
|
12
|
-
enums do
|
13
|
-
BAD_REQUEST = new('bad_request')
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
end
|
18
|
-
end
|
@@ -1,24 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module OpenApiSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
# Color - The color of the tag.
|
11
|
-
class Color < T::Enum
|
12
|
-
enums do
|
13
|
-
RED = new('red')
|
14
|
-
YELLOW = new('yellow')
|
15
|
-
GREEN = new('green')
|
16
|
-
BLUE = new('blue')
|
17
|
-
PURPLE = new('purple')
|
18
|
-
PINK = new('pink')
|
19
|
-
BROWN = new('brown')
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
|
-
end
|
24
|
-
end
|
@@ -1,24 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module OpenApiSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class Conflict < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
|
15
|
-
field :error, ::OpenApiSDK::Shared::ConflictError, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('error') } }
|
16
|
-
|
17
|
-
|
18
|
-
sig { params(error: ::OpenApiSDK::Shared::ConflictError).void }
|
19
|
-
def initialize(error: nil)
|
20
|
-
@error = error
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module OpenApiSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
# ConflictCode - A short code indicating the error code returned.
|
11
|
-
class ConflictCode < T::Enum
|
12
|
-
enums do
|
13
|
-
CONFLICT = new('conflict')
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
end
|
18
|
-
end
|
@@ -1,30 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module OpenApiSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class ConflictError < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
# A short code indicating the error code returned.
|
15
|
-
field :code, ::OpenApiSDK::Shared::ConflictCode, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('code'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::ConflictCode, false) } }
|
16
|
-
# A human readable explanation of what went wrong.
|
17
|
-
field :message, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('message') } }
|
18
|
-
# A link to our documentation with more details about this error code
|
19
|
-
field :doc_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('doc_url') } }
|
20
|
-
|
21
|
-
|
22
|
-
sig { params(code: ::OpenApiSDK::Shared::ConflictCode, message: ::String, doc_url: T.nilable(::String)).void }
|
23
|
-
def initialize(code: nil, message: nil, doc_url: nil)
|
24
|
-
@code = code
|
25
|
-
@message = message
|
26
|
-
@doc_url = doc_url
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
@@ -1,267 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module OpenApiSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
# CountryCode - The country to retrieve analytics for.
|
11
|
-
class CountryCode < T::Enum
|
12
|
-
enums do
|
13
|
-
AF = new('AF')
|
14
|
-
AL = new('AL')
|
15
|
-
DZ = new('DZ')
|
16
|
-
AS = new('AS')
|
17
|
-
AD = new('AD')
|
18
|
-
AO = new('AO')
|
19
|
-
AI = new('AI')
|
20
|
-
AQ = new('AQ')
|
21
|
-
AG = new('AG')
|
22
|
-
AR = new('AR')
|
23
|
-
AM = new('AM')
|
24
|
-
AW = new('AW')
|
25
|
-
AU = new('AU')
|
26
|
-
AT = new('AT')
|
27
|
-
AZ = new('AZ')
|
28
|
-
BS = new('BS')
|
29
|
-
BH = new('BH')
|
30
|
-
BD = new('BD')
|
31
|
-
BB = new('BB')
|
32
|
-
BY = new('BY')
|
33
|
-
BE = new('BE')
|
34
|
-
BZ = new('BZ')
|
35
|
-
BJ = new('BJ')
|
36
|
-
BM = new('BM')
|
37
|
-
BT = new('BT')
|
38
|
-
BO = new('BO')
|
39
|
-
BA = new('BA')
|
40
|
-
BW = new('BW')
|
41
|
-
BV = new('BV')
|
42
|
-
BR = new('BR')
|
43
|
-
IO = new('IO')
|
44
|
-
BN = new('BN')
|
45
|
-
BG = new('BG')
|
46
|
-
BF = new('BF')
|
47
|
-
BI = new('BI')
|
48
|
-
KH = new('KH')
|
49
|
-
CM = new('CM')
|
50
|
-
CA = new('CA')
|
51
|
-
CV = new('CV')
|
52
|
-
KY = new('KY')
|
53
|
-
CF = new('CF')
|
54
|
-
TD = new('TD')
|
55
|
-
CL = new('CL')
|
56
|
-
CN = new('CN')
|
57
|
-
CX = new('CX')
|
58
|
-
CC = new('CC')
|
59
|
-
CO = new('CO')
|
60
|
-
KM = new('KM')
|
61
|
-
CG = new('CG')
|
62
|
-
CD = new('CD')
|
63
|
-
CK = new('CK')
|
64
|
-
CR = new('CR')
|
65
|
-
CI = new('CI')
|
66
|
-
HR = new('HR')
|
67
|
-
CU = new('CU')
|
68
|
-
CY = new('CY')
|
69
|
-
CZ = new('CZ')
|
70
|
-
DK = new('DK')
|
71
|
-
DJ = new('DJ')
|
72
|
-
DM = new('DM')
|
73
|
-
DO = new('DO')
|
74
|
-
EC = new('EC')
|
75
|
-
EG = new('EG')
|
76
|
-
SV = new('SV')
|
77
|
-
GQ = new('GQ')
|
78
|
-
ER = new('ER')
|
79
|
-
EE = new('EE')
|
80
|
-
ET = new('ET')
|
81
|
-
FK = new('FK')
|
82
|
-
FO = new('FO')
|
83
|
-
FJ = new('FJ')
|
84
|
-
FI = new('FI')
|
85
|
-
FR = new('FR')
|
86
|
-
GF = new('GF')
|
87
|
-
PF = new('PF')
|
88
|
-
TF = new('TF')
|
89
|
-
GA = new('GA')
|
90
|
-
GM = new('GM')
|
91
|
-
GE = new('GE')
|
92
|
-
DE = new('DE')
|
93
|
-
GH = new('GH')
|
94
|
-
GI = new('GI')
|
95
|
-
GR = new('GR')
|
96
|
-
GL = new('GL')
|
97
|
-
GD = new('GD')
|
98
|
-
GP = new('GP')
|
99
|
-
GU = new('GU')
|
100
|
-
GT = new('GT')
|
101
|
-
GN = new('GN')
|
102
|
-
GW = new('GW')
|
103
|
-
GY = new('GY')
|
104
|
-
HT = new('HT')
|
105
|
-
HM = new('HM')
|
106
|
-
VA = new('VA')
|
107
|
-
HN = new('HN')
|
108
|
-
HK = new('HK')
|
109
|
-
HU = new('HU')
|
110
|
-
IS = new('IS')
|
111
|
-
IN = new('IN')
|
112
|
-
ID = new('ID')
|
113
|
-
IR = new('IR')
|
114
|
-
IQ = new('IQ')
|
115
|
-
IE = new('IE')
|
116
|
-
IL = new('IL')
|
117
|
-
IT = new('IT')
|
118
|
-
JM = new('JM')
|
119
|
-
JP = new('JP')
|
120
|
-
JO = new('JO')
|
121
|
-
KZ = new('KZ')
|
122
|
-
KE = new('KE')
|
123
|
-
KI = new('KI')
|
124
|
-
KP = new('KP')
|
125
|
-
KR = new('KR')
|
126
|
-
KW = new('KW')
|
127
|
-
KG = new('KG')
|
128
|
-
LA = new('LA')
|
129
|
-
LV = new('LV')
|
130
|
-
LB = new('LB')
|
131
|
-
LS = new('LS')
|
132
|
-
LR = new('LR')
|
133
|
-
LY = new('LY')
|
134
|
-
LI = new('LI')
|
135
|
-
LT = new('LT')
|
136
|
-
LU = new('LU')
|
137
|
-
MO = new('MO')
|
138
|
-
MG = new('MG')
|
139
|
-
MW = new('MW')
|
140
|
-
MY = new('MY')
|
141
|
-
MV = new('MV')
|
142
|
-
ML = new('ML')
|
143
|
-
MT = new('MT')
|
144
|
-
MH = new('MH')
|
145
|
-
MQ = new('MQ')
|
146
|
-
MR = new('MR')
|
147
|
-
MU = new('MU')
|
148
|
-
YT = new('YT')
|
149
|
-
MX = new('MX')
|
150
|
-
FM = new('FM')
|
151
|
-
MD = new('MD')
|
152
|
-
MC = new('MC')
|
153
|
-
MN = new('MN')
|
154
|
-
MS = new('MS')
|
155
|
-
MA = new('MA')
|
156
|
-
MZ = new('MZ')
|
157
|
-
MM = new('MM')
|
158
|
-
NA = new('NA')
|
159
|
-
NR = new('NR')
|
160
|
-
NP = new('NP')
|
161
|
-
NL = new('NL')
|
162
|
-
NC = new('NC')
|
163
|
-
NZ = new('NZ')
|
164
|
-
NI = new('NI')
|
165
|
-
NE = new('NE')
|
166
|
-
NG = new('NG')
|
167
|
-
NU = new('NU')
|
168
|
-
NF = new('NF')
|
169
|
-
MK = new('MK')
|
170
|
-
MP = new('MP')
|
171
|
-
NO = new('NO')
|
172
|
-
OM = new('OM')
|
173
|
-
PK = new('PK')
|
174
|
-
PW = new('PW')
|
175
|
-
PS = new('PS')
|
176
|
-
PA = new('PA')
|
177
|
-
PG = new('PG')
|
178
|
-
PY = new('PY')
|
179
|
-
PE = new('PE')
|
180
|
-
PH = new('PH')
|
181
|
-
PN = new('PN')
|
182
|
-
PL = new('PL')
|
183
|
-
PT = new('PT')
|
184
|
-
PR = new('PR')
|
185
|
-
QA = new('QA')
|
186
|
-
RE = new('RE')
|
187
|
-
RO = new('RO')
|
188
|
-
RU = new('RU')
|
189
|
-
RW = new('RW')
|
190
|
-
SH = new('SH')
|
191
|
-
KN = new('KN')
|
192
|
-
LC = new('LC')
|
193
|
-
PM = new('PM')
|
194
|
-
VC = new('VC')
|
195
|
-
WS = new('WS')
|
196
|
-
SM = new('SM')
|
197
|
-
ST = new('ST')
|
198
|
-
SA = new('SA')
|
199
|
-
SN = new('SN')
|
200
|
-
SC = new('SC')
|
201
|
-
SL = new('SL')
|
202
|
-
SG = new('SG')
|
203
|
-
SK = new('SK')
|
204
|
-
SI = new('SI')
|
205
|
-
SB = new('SB')
|
206
|
-
SO = new('SO')
|
207
|
-
ZA = new('ZA')
|
208
|
-
GS = new('GS')
|
209
|
-
ES = new('ES')
|
210
|
-
LK = new('LK')
|
211
|
-
SD = new('SD')
|
212
|
-
SR = new('SR')
|
213
|
-
SJ = new('SJ')
|
214
|
-
SZ = new('SZ')
|
215
|
-
SE = new('SE')
|
216
|
-
CH = new('CH')
|
217
|
-
SY = new('SY')
|
218
|
-
TW = new('TW')
|
219
|
-
TJ = new('TJ')
|
220
|
-
TZ = new('TZ')
|
221
|
-
TH = new('TH')
|
222
|
-
TL = new('TL')
|
223
|
-
TG = new('TG')
|
224
|
-
TK = new('TK')
|
225
|
-
TO = new('TO')
|
226
|
-
TT = new('TT')
|
227
|
-
TN = new('TN')
|
228
|
-
TR = new('TR')
|
229
|
-
TM = new('TM')
|
230
|
-
TC = new('TC')
|
231
|
-
TV = new('TV')
|
232
|
-
UG = new('UG')
|
233
|
-
UA = new('UA')
|
234
|
-
AE = new('AE')
|
235
|
-
GB = new('GB')
|
236
|
-
US = new('US')
|
237
|
-
UM = new('UM')
|
238
|
-
UY = new('UY')
|
239
|
-
UZ = new('UZ')
|
240
|
-
VU = new('VU')
|
241
|
-
VE = new('VE')
|
242
|
-
VN = new('VN')
|
243
|
-
VG = new('VG')
|
244
|
-
VI = new('VI')
|
245
|
-
WF = new('WF')
|
246
|
-
EH = new('EH')
|
247
|
-
YE = new('YE')
|
248
|
-
ZM = new('ZM')
|
249
|
-
ZW = new('ZW')
|
250
|
-
AX = new('AX')
|
251
|
-
BQ = new('BQ')
|
252
|
-
CW = new('CW')
|
253
|
-
GG = new('GG')
|
254
|
-
IM = new('IM')
|
255
|
-
JE = new('JE')
|
256
|
-
ME = new('ME')
|
257
|
-
BL = new('BL')
|
258
|
-
MF = new('MF')
|
259
|
-
RS = new('RS')
|
260
|
-
SX = new('SX')
|
261
|
-
SS = new('SS')
|
262
|
-
XK = new('XK')
|
263
|
-
end
|
264
|
-
end
|
265
|
-
|
266
|
-
end
|
267
|
-
end
|
@@ -1,27 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module OpenApiSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class Domains < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
# Whether the domain is the primary domain for the workspace.
|
15
|
-
field :primary, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('primary') } }
|
16
|
-
# The domain name.
|
17
|
-
field :slug, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('slug') } }
|
18
|
-
|
19
|
-
|
20
|
-
sig { params(primary: T::Boolean, slug: ::String).void }
|
21
|
-
def initialize(primary: nil, slug: nil)
|
22
|
-
@primary = primary
|
23
|
-
@slug = slug
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
@@ -1,48 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module OpenApiSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class DomainSchema < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
# Whether the domain is archived.
|
15
|
-
field :archived, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('archived') } }
|
16
|
-
# The date the domain was created.
|
17
|
-
field :created_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('createdAt') } }
|
18
|
-
# The URL to redirect to when a link under this domain has expired.
|
19
|
-
field :expired_url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('expiredUrl') } }
|
20
|
-
# The unique identifier of the domain.
|
21
|
-
field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
|
22
|
-
# Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened.
|
23
|
-
field :placeholder, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('placeholder') } }
|
24
|
-
# Whether the domain is the primary domain for the workspace.
|
25
|
-
field :primary, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('primary') } }
|
26
|
-
# The domain name.
|
27
|
-
field :slug, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('slug') } }
|
28
|
-
# The date the domain was last updated.
|
29
|
-
field :updated_at, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('updatedAt') } }
|
30
|
-
# Whether the domain is verified.
|
31
|
-
field :verified, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('verified') } }
|
32
|
-
|
33
|
-
|
34
|
-
sig { params(archived: T::Boolean, created_at: ::String, expired_url: ::String, id: ::String, placeholder: ::String, primary: T::Boolean, slug: ::String, updated_at: ::String, verified: T::Boolean).void }
|
35
|
-
def initialize(archived: nil, created_at: nil, expired_url: nil, id: nil, placeholder: nil, primary: nil, slug: nil, updated_at: nil, verified: nil)
|
36
|
-
@archived = archived
|
37
|
-
@created_at = created_at
|
38
|
-
@expired_url = expired_url
|
39
|
-
@id = id
|
40
|
-
@placeholder = placeholder
|
41
|
-
@primary = primary
|
42
|
-
@slug = slug
|
43
|
-
@updated_at = updated_at
|
44
|
-
@verified = verified
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|
48
|
-
end
|
@@ -1,30 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module OpenApiSDK
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class Error < ::OpenApiSDK::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
# A short code indicating the error code returned.
|
15
|
-
field :code, ::OpenApiSDK::Shared::Code, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('code'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::Code, false) } }
|
16
|
-
# A human readable explanation of what went wrong.
|
17
|
-
field :message, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('message') } }
|
18
|
-
# A link to our documentation with more details about this error code
|
19
|
-
field :doc_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('doc_url') } }
|
20
|
-
|
21
|
-
|
22
|
-
sig { params(code: ::OpenApiSDK::Shared::Code, message: ::String, doc_url: T.nilable(::String)).void }
|
23
|
-
def initialize(code: nil, message: nil, doc_url: nil)
|
24
|
-
@code = code
|
25
|
-
@message = message
|
26
|
-
@doc_url = doc_url
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|