ding_sdk 0.8.9 → 0.8.11

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: 6a04aaf58b0bf923ce7ed92996a689b747edcf732998ac0d5bd0f2bfd5847e34
4
+ data.tar.gz: ff8470a3b32ac0f23c8386d68696f27cab746ecc2662c1bb669a15aa146a7ab4
5
5
  SHA512:
6
- metadata.gz: e0ce99f60368a77ae3f4a5928c735537a3529ba2e8a1f68f5dd5cb022ba8382c038fd1eda50a53dd1cc0db1e106cabe353ff7940b74355669b8b96f92130654d
7
- data.tar.gz: e85b6cea13f00082a6314354602562b0ebc33797a9645e31b90f5953cf92c0e1b494cc4c6895b622a27c58deaeb7763cd0f6641664e5cd2782d5a309f894d158
6
+ metadata.gz: d61140e4e3c1c50424f9aaaf9506cb3f84a7a60a8cb53c4f26c135894581cf82c5da0f68c8f1f0c8ff0044c2c4fd4230e22e60db068d32134fddfb9afbd5235d
7
+ data.tar.gz: 3c4c08094f4e0fea9e56b53ce98c247ebd3864489ef6a4bae5ea78185f13c1f903e1b5408e2946e21afd57333e12b65829a32f31f13b25f50b7d1e8ccf93571d
@@ -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.11'
42
+ @gen_version = '2.373.2'
43
+ @user_agent = 'speakeasy-sdk/ruby 0.8.11 2.373.2 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.11
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-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday