ding_sdk 0.8.9 → 0.8.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 95d785aee3f813775a99c30951c45821b198e208e0ac40fda2dd41822ef4fc98
4
- data.tar.gz: fa9703b7ca1412bd320babdebe89f7a59b38db5029d1cea7e465dc1b970b8e32
3
+ metadata.gz: 0f5a8703f66bacc09444eef8fc5e2a89cffbc65b73b049344d968eb2377353d0
4
+ data.tar.gz: 9468d1bbf4541810dc2eb2ed17818fd37935dc50fa274dc0cb62f1f9593aeae5
5
5
  SHA512:
6
- metadata.gz: e0ce99f60368a77ae3f4a5928c735537a3529ba2e8a1f68f5dd5cb022ba8382c038fd1eda50a53dd1cc0db1e106cabe353ff7940b74355669b8b96f92130654d
7
- data.tar.gz: e85b6cea13f00082a6314354602562b0ebc33797a9645e31b90f5953cf92c0e1b494cc4c6895b622a27c58deaeb7763cd0f6641664e5cd2782d5a309f894d158
6
+ metadata.gz: 206730e6400fbf9c23855660021ad0218f9daaa085de055cd46458909ff182ece8c9956e66a1d63d1dca0d95eea14a90eb8ea2012ff7448e0a3cf8653db0fd75
7
+ data.tar.gz: f60f161f5972652f8a51d248e4e0c0187d7f5ded2b99fbcef587b5ee5cb4bf12cdbdc9c5e0f9ed00a48fef047728dca4cd067f9ff7b26483b55aa9560820028b
@@ -21,6 +21,8 @@ module DingSDK
21
21
  field :app_version, T.nilable(::String), { 'format_json': { 'letter_case': ::DingSDK::Utils.field_name('app_version') } }
22
22
  # A webhook URL to which delivery statuses will be sent.
23
23
  field :callback_url, T.nilable(::String), { 'format_json': { 'letter_case': ::DingSDK::Utils.field_name('callback_url') } }
24
+ # A unique, user-defined identifier that will be included in webhook events
25
+ field :correlation_id, T.nilable(::String), { 'format_json': { 'letter_case': ::DingSDK::Utils.field_name('correlation_id') } }
24
26
  # Unique identifier for the user's device. For Android, this corresponds to the `ANDROID_ID` and for iOS, this corresponds to the `identifierForVendor`.
25
27
  field :device_id, T.nilable(::String), { 'format_json': { 'letter_case': ::DingSDK::Utils.field_name('device_id') } }
26
28
  # The model of the user's device.
@@ -37,13 +39,14 @@ module DingSDK
37
39
  field :template_id, T.nilable(::String), { 'format_json': { 'letter_case': ::DingSDK::Utils.field_name('template_id') } }
38
40
 
39
41
 
40
- sig { params(customer_uuid: ::String, phone_number: ::String, app_realm: T.nilable(::String), app_version: T.nilable(::String), callback_url: T.nilable(::String), device_id: T.nilable(::String), device_model: T.nilable(::String), device_type: T.nilable(::DingSDK::Shared::DeviceType), ip: T.nilable(::String), is_returning_user: T.nilable(T::Boolean), os_version: T.nilable(::String), template_id: T.nilable(::String)).void }
41
- def initialize(customer_uuid: nil, phone_number: nil, app_realm: nil, app_version: nil, callback_url: nil, device_id: nil, device_model: nil, device_type: nil, ip: nil, is_returning_user: nil, os_version: nil, template_id: nil)
42
+ sig { params(customer_uuid: ::String, phone_number: ::String, app_realm: T.nilable(::String), app_version: T.nilable(::String), callback_url: T.nilable(::String), correlation_id: T.nilable(::String), device_id: T.nilable(::String), device_model: T.nilable(::String), device_type: T.nilable(::DingSDK::Shared::DeviceType), ip: T.nilable(::String), is_returning_user: T.nilable(T::Boolean), os_version: T.nilable(::String), template_id: T.nilable(::String)).void }
43
+ def initialize(customer_uuid: nil, phone_number: nil, app_realm: nil, app_version: nil, callback_url: nil, correlation_id: nil, device_id: nil, device_model: nil, device_type: nil, ip: nil, is_returning_user: nil, os_version: nil, template_id: nil)
42
44
  @customer_uuid = customer_uuid
43
45
  @phone_number = phone_number
44
46
  @app_realm = app_realm
45
47
  @app_version = app_version
46
48
  @callback_url = callback_url
49
+ @correlation_id = correlation_id
47
50
  @device_id = device_id
48
51
  @device_model = device_model
49
52
  @device_type = device_type
@@ -38,9 +38,9 @@ module DingSDK
38
38
  @security = security
39
39
  @language = 'ruby'
40
40
  @openapi_doc_version = '1.0.0'
41
- @sdk_version = '0.8.9'
42
- @gen_version = '2.333.3'
43
- @user_agent = 'speakeasy-sdk/ruby 0.8.9 2.333.3 1.0.0 ding_sdk'
41
+ @sdk_version = '0.8.10'
42
+ @gen_version = '2.338.1'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.8.10 2.338.1 1.0.0 ding_sdk'
44
44
  end
45
45
 
46
46
  sig { returns([String, T::Hash[Symbol, String]]) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ding_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.9
4
+ version: 0.8.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ding
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-22 00:00:00.000000000 Z
11
+ date: 2024-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday