didit-sdk 2.29.0 → 2.31.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/lib/didit/resources/authentication_setup.rb +25 -4
- data/lib/didit/resources/bank.rb +782 -0
- data/lib/didit/resources/pricing.rb +3 -3
- data/lib/didit/resources/travel_rule.rb +2 -2
- data/lib/didit/types/authentication_setup.rb +9 -0
- data/lib/didit/types/bank.rb +126 -0
- data/lib/didit/types/components.rb +995 -1
- data/lib/didit/types.rb +113 -0
- data/lib/didit/version.rb +1 -1
- data/sig/didit/resources/authentication_setup.rbs +1 -1
- data/sig/didit/resources/bank.rbs +19 -0
- data/sig/didit/types/authentication_setup.rbs +8 -0
- data/sig/didit/types/bank.rbs +115 -0
- data/sig/didit/types/components.rbs +888 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c9b9fe57b1e954e24e8b10a4655cb91a88826f91b8e3fd01f5771a85a7ea9539
|
|
4
|
+
data.tar.gz: 7b8b02bb528aa50f60d67def59093d7dccabc9e4efda60bce30cdb02d2364cdc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abb3032b80f9b03a907fba8b4a75bc339c11dd5883a976f6a287f52b3bd22aaaa5397c292a482be06364bcb0760f6a8c084f66aa5f233e15c5bc976fb0ffb297
|
|
7
|
+
data.tar.gz: c8dee5b0542a74af89f14ac8d2c07dbca2b47640e94501c9afabd2ad195610eac62538bd1fafcc49d68b3be362b1c17c48fc9d5d42f023a703a174129ab7d5cc
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.31.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.30.0...v2.31.0) (2026-11-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **spec:** sync API spec 2026-11-22 ([326263f](https://github.com/didit-protocol/sdk-ruby/commit/326263fc429c237e2424cb0d417fdb0b223c8cf5))
|
|
9
|
+
|
|
10
|
+
## [2.30.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.29.0...v2.30.0) (2026-11-22)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **spec:** sync API spec 2026-11-22 ([25908ef](https://github.com/didit-protocol/sdk-ruby/commit/25908ef35bcfd60bbaf2beaf7b9679d923bfdb81))
|
|
16
|
+
|
|
3
17
|
## [2.29.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.28.0...v2.29.0) (2026-11-22)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -109,9 +109,10 @@ module Didit
|
|
|
109
109
|
# Preview a sign-in email
|
|
110
110
|
#
|
|
111
111
|
# Returns one email as it renders, with sample codes and links. An invitation preview uses a sample organization
|
|
112
|
-
# for a grant or named key
|
|
113
|
-
#
|
|
114
|
-
#
|
|
112
|
+
# for a grant or named key, or the `organization` and `role` you pass. `agentoff` is the email a person receives
|
|
113
|
+
# when your team ends an agent's access with a notification; `agent` names the agent. A console session can see
|
|
114
|
+
# a customer organization's name. The address of a console member is left out for a grant or a key, which have
|
|
115
|
+
# no mailbox. An email Authentication does not send answers `{"error": "email_not_sent_by_authentication"}`.
|
|
115
116
|
#
|
|
116
117
|
# +GET /organizations/{organization_id}/applications/{application_id}/authentication/emails/{key}/+
|
|
117
118
|
#
|
|
@@ -119,13 +120,33 @@ module Didit
|
|
|
119
120
|
# @param application_id [String] UUID of the application: live or sandbox. A named key configures its own
|
|
120
121
|
# application only.
|
|
121
122
|
# @param key [String] The email: `code`, `magic`, `reset`, `device`, `invite`, `org`, `agent` or `agentoff`.
|
|
123
|
+
# @param organization [String] For `org` only: the organization the invitation is for, so the preview shows it
|
|
124
|
+
# as it will be sent. At most 200 characters, the longest organization name an application holds. Without it, a
|
|
125
|
+
# sample organization (a console session sees the application's first customer organization).
|
|
126
|
+
# @param role [String] For `org` only: the role the invitation grants.
|
|
127
|
+
# @param agent [String] For `agentoff` only: the name of the agent whose access ends. At most 200 characters,
|
|
128
|
+
# the longest agent name an application registers. Without it, the agent of the application's latest agent
|
|
129
|
+
# client in a console session, or a sample name.
|
|
122
130
|
# @param request_options [Hash, nil] :timeout, :max_retries, :extra_headers, :extra_query, :extra_body
|
|
123
131
|
# @return [Didit::Types::SetupEmail]
|
|
124
|
-
def get_email(
|
|
132
|
+
def get_email(
|
|
133
|
+
organization_id,
|
|
134
|
+
application_id,
|
|
135
|
+
key,
|
|
136
|
+
organization: OMIT,
|
|
137
|
+
role: OMIT,
|
|
138
|
+
agent: OMIT,
|
|
139
|
+
request_options: nil
|
|
140
|
+
)
|
|
125
141
|
@client.request(
|
|
126
142
|
:get,
|
|
127
143
|
"/organizations/{organization_id}/applications/{application_id}/authentication/emails/{key}/",
|
|
128
144
|
path_params: { "organization_id" => organization_id, "application_id" => application_id, "key" => key },
|
|
145
|
+
query: {
|
|
146
|
+
"organization" => organization,
|
|
147
|
+
"role" => role,
|
|
148
|
+
"agent" => agent
|
|
149
|
+
},
|
|
129
150
|
api: :account,
|
|
130
151
|
response: Types::SetupEmail,
|
|
131
152
|
request_options: request_options
|