moov_ruby 0.1.14 → 0.1.15

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 740c07a01c7f674fdb6b1aded294137a93863134c3fdc02660ff5303a0e96b6e
4
- data.tar.gz: 2910dd9eaa32481cd8d48dfd0b61be41b6acc01b1f8d1e4b20e31723024cebc1
3
+ metadata.gz: 614dde4763942268dc24e9e0688532d7690e43ea4e59268fdd2ab22cabef4091
4
+ data.tar.gz: 87290d19ae3f351d42033da1f2bca45bd44829b76899aad777b60e9c83d2601d
5
5
  SHA512:
6
- metadata.gz: 4a4a873d8e67d479c7da5e987b34fb855fbd95f5ca494bc3e987d38028657ecd74f3dfac3f33ff61e64b6d60b8242ce87e3967803dd8e903484c0d72e8e016fd
7
- data.tar.gz: 28952af92e732269e76a0fc2b0744bccd55b92a043d75812f41441761476e93d30b26a7e222d5bc2b2669ee924460398fb2b801036a576ffadb3068c2c398711
6
+ metadata.gz: e76971e1dd45687dcd4585ca49977f04216fc95b05810bb81c5862dcc06ddd81de874a8f49d285a954db9aef83204d814f933ccf6e9a66dfa19899e0d3700ec9
7
+ data.tar.gz: '008771f0cda93888593d9197d1ca3fcee429585173410483723280d2400ea3760347f080eb7b37ae1793580a2cb726aa996fe8a56461341038d36faa68a13a80'
@@ -20,11 +20,17 @@ module Moov
20
20
 
21
21
  field :contact, Models::Components::TicketContact, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('contact'), required: true } }
22
22
 
23
- sig { params(title: ::String, body: ::String, contact: Models::Components::TicketContact).void }
24
- def initialize(title:, body:, contact:)
23
+ field :author, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('author') } }
24
+
25
+ field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
26
+
27
+ sig { params(title: ::String, body: ::String, contact: Models::Components::TicketContact, author: T.nilable(::String), foreign_id: T.nilable(::String)).void }
28
+ def initialize(title:, body:, contact:, author: nil, foreign_id: nil)
25
29
  @title = title
26
30
  @body = body
27
31
  @contact = contact
32
+ @author = author
33
+ @foreign_id = foreign_id
28
34
  end
29
35
 
30
36
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -33,6 +39,8 @@ module Moov
33
39
  return false unless @title == other.title
34
40
  return false unless @body == other.body
35
41
  return false unless @contact == other.contact
42
+ return false unless @author == other.author
43
+ return false unless @foreign_id == other.foreign_id
36
44
  true
37
45
  end
38
46
  end
@@ -14,4 +14,8 @@ class Moov::Models::Components::CreateTicket
14
14
  def body=(str_); end
15
15
  def contact(); end
16
16
  def contact=(str_); end
17
+ def author(); end
18
+ def author=(str_); end
19
+ def foreign_id(); end
20
+ def foreign_id=(str_); end
17
21
  end
@@ -32,8 +32,10 @@ module Moov
32
32
 
33
33
  field :closed_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('closedOn'), 'decoder': Utils.datetime_from_iso_format(true) } }
34
34
 
35
- sig { params(ticket_id: ::String, number: ::Integer, title: ::String, contact: Models::Components::TicketContact, status: Models::Components::TicketStatus, created_on: ::DateTime, updated_on: ::DateTime, latest_message_on: T.nilable(::DateTime), closed_on: T.nilable(::DateTime)).void }
36
- def initialize(ticket_id:, number:, title:, contact:, status:, created_on:, updated_on:, latest_message_on: nil, closed_on: nil)
35
+ field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
36
+
37
+ sig { params(ticket_id: ::String, number: ::Integer, title: ::String, contact: Models::Components::TicketContact, status: Models::Components::TicketStatus, created_on: ::DateTime, updated_on: ::DateTime, latest_message_on: T.nilable(::DateTime), closed_on: T.nilable(::DateTime), foreign_id: T.nilable(::String)).void }
38
+ def initialize(ticket_id:, number:, title:, contact:, status:, created_on:, updated_on:, latest_message_on: nil, closed_on: nil, foreign_id: nil)
37
39
  @ticket_id = ticket_id
38
40
  @number = number
39
41
  @title = title
@@ -43,6 +45,7 @@ module Moov
43
45
  @updated_on = updated_on
44
46
  @latest_message_on = latest_message_on
45
47
  @closed_on = closed_on
48
+ @foreign_id = foreign_id
46
49
  end
47
50
 
48
51
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -57,6 +60,7 @@ module Moov
57
60
  return false unless @updated_on == other.updated_on
58
61
  return false unless @latest_message_on == other.latest_message_on
59
62
  return false unless @closed_on == other.closed_on
63
+ return false unless @foreign_id == other.foreign_id
60
64
  true
61
65
  end
62
66
  end
@@ -26,4 +26,6 @@ class Moov::Models::Components::Ticket
26
26
  def latest_message_on=(str_); end
27
27
  def closed_on(); end
28
28
  def closed_on=(str_); end
29
+ def foreign_id(); end
30
+ def foreign_id=(str_); end
29
31
  end
@@ -18,10 +18,13 @@ module Moov
18
18
 
19
19
  field :ticket_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('ticketID'), required: true } }
20
20
 
21
- sig { params(account_id: ::String, ticket_id: ::String).void }
22
- def initialize(account_id:, ticket_id:)
21
+ field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
22
+
23
+ sig { params(account_id: ::String, ticket_id: ::String, foreign_id: T.nilable(::String)).void }
24
+ def initialize(account_id:, ticket_id:, foreign_id: nil)
23
25
  @account_id = account_id
24
26
  @ticket_id = ticket_id
27
+ @foreign_id = foreign_id
25
28
  end
26
29
 
27
30
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -29,6 +32,7 @@ module Moov
29
32
  return false unless other.is_a? self.class
30
33
  return false unless @account_id == other.account_id
31
34
  return false unless @ticket_id == other.ticket_id
35
+ return false unless @foreign_id == other.foreign_id
32
36
  true
33
37
  end
34
38
  end
@@ -12,4 +12,6 @@ class Moov::Models::Components::WebhookDataTicketCreated
12
12
  def account_id=(str_); end
13
13
  def ticket_id(); end
14
14
  def ticket_id=(str_); end
15
+ def foreign_id(); end
16
+ def foreign_id=(str_); end
15
17
  end
@@ -18,10 +18,13 @@ module Moov
18
18
 
19
19
  field :ticket_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('ticketID'), required: true } }
20
20
 
21
- sig { params(account_id: ::String, ticket_id: ::String).void }
22
- def initialize(account_id:, ticket_id:)
21
+ field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
22
+
23
+ sig { params(account_id: ::String, ticket_id: ::String, foreign_id: T.nilable(::String)).void }
24
+ def initialize(account_id:, ticket_id:, foreign_id: nil)
23
25
  @account_id = account_id
24
26
  @ticket_id = ticket_id
27
+ @foreign_id = foreign_id
25
28
  end
26
29
 
27
30
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -29,6 +32,7 @@ module Moov
29
32
  return false unless other.is_a? self.class
30
33
  return false unless @account_id == other.account_id
31
34
  return false unless @ticket_id == other.ticket_id
35
+ return false unless @foreign_id == other.foreign_id
32
36
  true
33
37
  end
34
38
  end
@@ -12,4 +12,6 @@ class Moov::Models::Components::WebhookDataTicketMessageAdded
12
12
  def account_id=(str_); end
13
13
  def ticket_id(); end
14
14
  def ticket_id=(str_); end
15
+ def foreign_id(); end
16
+ def foreign_id=(str_); end
15
17
  end
@@ -20,11 +20,14 @@ module Moov
20
20
 
21
21
  field :status, Models::Components::TicketStatus, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), required: true, 'decoder': Utils.enum_from_string(Models::Components::TicketStatus, false) } }
22
22
 
23
- sig { params(account_id: ::String, ticket_id: ::String, status: Models::Components::TicketStatus).void }
24
- def initialize(account_id:, ticket_id:, status:)
23
+ field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
24
+
25
+ sig { params(account_id: ::String, ticket_id: ::String, status: Models::Components::TicketStatus, foreign_id: T.nilable(::String)).void }
26
+ def initialize(account_id:, ticket_id:, status:, foreign_id: nil)
25
27
  @account_id = account_id
26
28
  @ticket_id = ticket_id
27
29
  @status = status
30
+ @foreign_id = foreign_id
28
31
  end
29
32
 
30
33
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -33,6 +36,7 @@ module Moov
33
36
  return false unless @account_id == other.account_id
34
37
  return false unless @ticket_id == other.ticket_id
35
38
  return false unless @status == other.status
39
+ return false unless @foreign_id == other.foreign_id
36
40
  true
37
41
  end
38
42
  end
@@ -14,4 +14,6 @@ class Moov::Models::Components::WebhookDataTicketUpdated
14
14
  def ticket_id=(str_); end
15
15
  def status(); end
16
16
  def status=(str_); end
17
+ def foreign_id(); end
18
+ def foreign_id=(str_); end
17
19
  end
@@ -18,15 +18,21 @@ module Moov
18
18
 
19
19
  field :body, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('body') } }
20
20
 
21
+ field :author, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('author') } }
22
+
21
23
  field :contact, Crystalline::Nilable.new(Models::Components::CreateTicketContactError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('contact') } }
24
+
25
+ field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
22
26
  # Raw HTTP response; suitable for custom response parsing
23
27
  field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
24
28
 
25
- sig { params(title: T.nilable(::String), body: T.nilable(::String), contact: T.nilable(Models::Components::CreateTicketContactError), raw_response: T.nilable(::Faraday::Response)).void }
26
- def initialize(title: nil, body: nil, contact: nil, raw_response: nil)
29
+ sig { params(title: T.nilable(::String), body: T.nilable(::String), author: T.nilable(::String), contact: T.nilable(Models::Components::CreateTicketContactError), foreign_id: T.nilable(::String), raw_response: T.nilable(::Faraday::Response)).void }
30
+ def initialize(title: nil, body: nil, author: nil, contact: nil, foreign_id: nil, raw_response: nil)
27
31
  @title = title
28
32
  @body = body
33
+ @author = author
29
34
  @contact = contact
35
+ @foreign_id = foreign_id
30
36
  @raw_response = raw_response
31
37
  end
32
38
 
@@ -35,7 +41,9 @@ module Moov
35
41
  return false unless other.is_a? self.class
36
42
  return false unless @title == other.title
37
43
  return false unless @body == other.body
44
+ return false unless @author == other.author
38
45
  return false unless @contact == other.contact
46
+ return false unless @foreign_id == other.foreign_id
39
47
  return false unless @raw_response == other.raw_response
40
48
  true
41
49
  end
@@ -12,8 +12,12 @@ class Moov::Models::Errors::CreateTicketError
12
12
  def title=(str_); end
13
13
  def body(); end
14
14
  def body=(str_); end
15
+ def author(); end
16
+ def author=(str_); end
15
17
  def contact(); end
16
18
  def contact=(str_); end
19
+ def foreign_id(); end
20
+ def foreign_id=(str_); end
17
21
  def raw_response(); end
18
22
  def raw_response=(str_); end
19
23
  end
@@ -21,6 +21,8 @@ module Moov
21
21
  field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
22
22
 
23
23
  field :status, Crystalline::Nilable.new(Models::Components::TicketStatus), { 'query_param': { 'field_name': 'status', 'style': 'form', 'explode': false } }
24
+
25
+ field :foreign_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'foreignID', 'style': 'form', 'explode': false } }
24
26
  # Specify an API version.
25
27
  #
26
28
  # API versioning follows the format `vYYYY.QQ.BB`, where
@@ -32,12 +34,13 @@ module Moov
32
34
  # The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
33
35
  field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'x-moov-version', 'style': 'simple', 'explode': false } }
34
36
 
35
- sig { params(account_id: ::String, cursor: T.nilable(::String), count: T.nilable(::Integer), status: T.nilable(Models::Components::TicketStatus), x_moov_version: T.nilable(::String)).void }
36
- def initialize(account_id:, cursor: nil, count: nil, status: nil, x_moov_version: 'v2024.01.00')
37
+ sig { params(account_id: ::String, cursor: T.nilable(::String), count: T.nilable(::Integer), status: T.nilable(Models::Components::TicketStatus), foreign_id: T.nilable(::String), x_moov_version: T.nilable(::String)).void }
38
+ def initialize(account_id:, cursor: nil, count: nil, status: nil, foreign_id: nil, x_moov_version: 'v2024.01.00')
37
39
  @account_id = account_id
38
40
  @cursor = cursor
39
41
  @count = count
40
42
  @status = status
43
+ @foreign_id = foreign_id
41
44
  @x_moov_version = x_moov_version
42
45
  end
43
46
 
@@ -48,6 +51,7 @@ module Moov
48
51
  return false unless @cursor == other.cursor
49
52
  return false unless @count == other.count
50
53
  return false unless @status == other.status
54
+ return false unless @foreign_id == other.foreign_id
51
55
  return false unless @x_moov_version == other.x_moov_version
52
56
  true
53
57
  end
@@ -16,6 +16,8 @@ class Moov::Models::Operations::ListTicketsRequest
16
16
  def count=(str_); end
17
17
  def status(); end
18
18
  def status=(str_); end
19
+ def foreign_id(); end
20
+ def foreign_id=(str_); end
19
21
  def x_moov_version(); end
20
22
  def x_moov_version=(str_); end
21
23
  end
@@ -95,9 +95,9 @@ module Moov
95
95
  @globals = globals.nil? ? {} : globals
96
96
  @language = 'ruby'
97
97
  @openapi_doc_version = 'latest'
98
- @sdk_version = '0.1.14'
98
+ @sdk_version = '0.1.15'
99
99
  @gen_version = '2.698.4'
100
- @user_agent = 'speakeasy-sdk/ruby 0.1.14 2.698.4 latest moov_ruby'
100
+ @user_agent = 'speakeasy-sdk/ruby 0.1.15 2.698.4 latest moov_ruby'
101
101
  end
102
102
 
103
103
  sig { returns([String, T::Hash[Symbol, String]]) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moov_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Speakeasy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-11 00:00:00.000000000 Z
11
+ date: 2025-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64