leal 0.0.15 → 0.0.16
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/.fern/metadata.json +2 -2
- data/lib/leal/cards/types/create_cards_request_card.rb +6 -0
- data/lib/leal/cards/types/create_cards_request_card_apple_pass_style.rb +14 -0
- data/lib/leal/cards/types/create_cards_request_card_google_logo_style.rb +14 -0
- data/lib/leal/cards/types/create_cards_response.rb +8 -0
- data/lib/leal/cards/types/create_cards_response_google_wallet.rb +15 -0
- data/lib/leal/cards/types/get_cards_response.rb +8 -0
- data/lib/leal/cards/types/get_cards_response_google_wallet.rb +15 -0
- data/lib/leal/cards/types/list_cards_response_item.rb +8 -0
- data/lib/leal/cards/types/list_cards_response_item_google_wallet.rb +15 -0
- data/lib/leal/cards/types/update_cards_request_card.rb +6 -0
- data/lib/leal/cards/types/update_cards_request_card_apple_pass_style.rb +14 -0
- data/lib/leal/cards/types/update_cards_request_card_google_logo_style.rb +14 -0
- data/lib/leal/cards/types/update_cards_response.rb +8 -0
- data/lib/leal/cards/types/update_cards_response_google_wallet.rb +15 -0
- data/lib/leal/client.rb +1 -1
- data/lib/leal/version.rb +1 -1
- data/lib/leal.rb +8 -0
- metadata +10 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ab248518f3c556c6ac1aafedc457af484853dfe8a2db9fb2432fb50a7b89111f
|
|
4
|
+
data.tar.gz: 7b0f88ddedbe2a1121032e8205cc67f75b0f40ac7792a0246582dabb35d65502
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 71a5b90219299a2a78bdf50e69777aff998f166c9feff39f207e214a9555808ffe1f20039125983b1ca9aee1bb3d4cf1a8525b4de6aab603e511e65657b8864f
|
|
7
|
+
data.tar.gz: dc8861f2f04a7cc0a3c0e1802b6090fb93a9530d36a41766fa83246380f715dfa7dc5c3e255d354e3492b8d3c6bbe38cc810cafea706dac28f4f037e00a707bd
|
data/.fern/metadata.json
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"cliVersion": "5.102.0",
|
|
3
3
|
"generatorName": "fernapi/fern-ruby-sdk",
|
|
4
4
|
"generatorVersion": "1.23.2",
|
|
5
|
-
"originGitCommit": "
|
|
5
|
+
"originGitCommit": "c03884d025c65aea35e127adc0c37730010aac3f",
|
|
6
6
|
"originGitCommitIsDirty": false,
|
|
7
7
|
"invokedBy": "ci",
|
|
8
8
|
"ciProvider": "github",
|
|
9
|
-
"sdkVersion": "0.0.
|
|
9
|
+
"sdkVersion": "0.0.16"
|
|
10
10
|
}
|
|
@@ -4,12 +4,18 @@ module Leal
|
|
|
4
4
|
module Cards
|
|
5
5
|
module Types
|
|
6
6
|
class CreateCardsRequestCard < Internal::Types::Model
|
|
7
|
+
field :apple_pass_style, -> { Leal::Cards::Types::CreateCardsRequestCardApplePassStyle }, optional: true, nullable: false
|
|
8
|
+
|
|
7
9
|
field :auxiliary_fields, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
8
10
|
|
|
9
11
|
field :card_color, -> { String }, optional: true, nullable: false
|
|
10
12
|
|
|
11
13
|
field :expires_at, -> { String }, optional: true, nullable: false
|
|
12
14
|
|
|
15
|
+
field :featured_actions, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
16
|
+
|
|
17
|
+
field :google_logo_style, -> { Leal::Cards::Types::CreateCardsRequestCardGoogleLogoStyle }, optional: true, nullable: false
|
|
18
|
+
|
|
13
19
|
field :header_text, -> { String }, optional: true, nullable: false
|
|
14
20
|
|
|
15
21
|
field :initial_stamps, -> { Integer }, optional: true, nullable: false
|
|
@@ -4,6 +4,8 @@ module Leal
|
|
|
4
4
|
module Cards
|
|
5
5
|
module Types
|
|
6
6
|
class CreateCardsResponse < Internal::Types::Model
|
|
7
|
+
field :apple_pass_style, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
7
9
|
field :archived_at, -> { String }, optional: false, nullable: false
|
|
8
10
|
|
|
9
11
|
field :auxiliary_fields, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
@@ -16,6 +18,12 @@ module Leal
|
|
|
16
18
|
|
|
17
19
|
field :expires_at, -> { String }, optional: false, nullable: false
|
|
18
20
|
|
|
21
|
+
field :featured_actions, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
22
|
+
|
|
23
|
+
field :google_logo_style, -> { String }, optional: false, nullable: false
|
|
24
|
+
|
|
25
|
+
field :google_wallet, -> { Leal::Cards::Types::CreateCardsResponseGoogleWallet }, optional: false, nullable: false
|
|
26
|
+
|
|
19
27
|
field :header_text, -> { String }, optional: false, nullable: false
|
|
20
28
|
|
|
21
29
|
field :id, -> { Integer }, optional: false, nullable: false
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Leal
|
|
4
|
+
module Cards
|
|
5
|
+
module Types
|
|
6
|
+
class CreateCardsResponseGoogleWallet < Internal::Types::Model
|
|
7
|
+
field :hero_image, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :text_color, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :warnings, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -4,6 +4,8 @@ module Leal
|
|
|
4
4
|
module Cards
|
|
5
5
|
module Types
|
|
6
6
|
class GetCardsResponse < Internal::Types::Model
|
|
7
|
+
field :apple_pass_style, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
7
9
|
field :archived_at, -> { String }, optional: false, nullable: false
|
|
8
10
|
|
|
9
11
|
field :auxiliary_fields, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
@@ -16,6 +18,12 @@ module Leal
|
|
|
16
18
|
|
|
17
19
|
field :expires_at, -> { String }, optional: false, nullable: false
|
|
18
20
|
|
|
21
|
+
field :featured_actions, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
22
|
+
|
|
23
|
+
field :google_logo_style, -> { String }, optional: false, nullable: false
|
|
24
|
+
|
|
25
|
+
field :google_wallet, -> { Leal::Cards::Types::GetCardsResponseGoogleWallet }, optional: false, nullable: false
|
|
26
|
+
|
|
19
27
|
field :header_text, -> { String }, optional: false, nullable: false
|
|
20
28
|
|
|
21
29
|
field :id, -> { Integer }, optional: false, nullable: false
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Leal
|
|
4
|
+
module Cards
|
|
5
|
+
module Types
|
|
6
|
+
class GetCardsResponseGoogleWallet < Internal::Types::Model
|
|
7
|
+
field :hero_image, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :text_color, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :warnings, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -4,6 +4,8 @@ module Leal
|
|
|
4
4
|
module Cards
|
|
5
5
|
module Types
|
|
6
6
|
class ListCardsResponseItem < Internal::Types::Model
|
|
7
|
+
field :apple_pass_style, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
7
9
|
field :archived_at, -> { String }, optional: false, nullable: false
|
|
8
10
|
|
|
9
11
|
field :auxiliary_fields, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
@@ -16,6 +18,12 @@ module Leal
|
|
|
16
18
|
|
|
17
19
|
field :expires_at, -> { String }, optional: false, nullable: false
|
|
18
20
|
|
|
21
|
+
field :featured_actions, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
22
|
+
|
|
23
|
+
field :google_logo_style, -> { String }, optional: false, nullable: false
|
|
24
|
+
|
|
25
|
+
field :google_wallet, -> { Leal::Cards::Types::ListCardsResponseItemGoogleWallet }, optional: false, nullable: false
|
|
26
|
+
|
|
19
27
|
field :header_text, -> { String }, optional: false, nullable: false
|
|
20
28
|
|
|
21
29
|
field :id, -> { Integer }, optional: false, nullable: false
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Leal
|
|
4
|
+
module Cards
|
|
5
|
+
module Types
|
|
6
|
+
class ListCardsResponseItemGoogleWallet < Internal::Types::Model
|
|
7
|
+
field :hero_image, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :text_color, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :warnings, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -4,12 +4,18 @@ module Leal
|
|
|
4
4
|
module Cards
|
|
5
5
|
module Types
|
|
6
6
|
class UpdateCardsRequestCard < Internal::Types::Model
|
|
7
|
+
field :apple_pass_style, -> { Leal::Cards::Types::UpdateCardsRequestCardApplePassStyle }, optional: true, nullable: false
|
|
8
|
+
|
|
7
9
|
field :auxiliary_fields, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
8
10
|
|
|
9
11
|
field :card_color, -> { String }, optional: true, nullable: false
|
|
10
12
|
|
|
11
13
|
field :expires_at, -> { String }, optional: true, nullable: false
|
|
12
14
|
|
|
15
|
+
field :featured_actions, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
16
|
+
|
|
17
|
+
field :google_logo_style, -> { Leal::Cards::Types::UpdateCardsRequestCardGoogleLogoStyle }, optional: true, nullable: false
|
|
18
|
+
|
|
13
19
|
field :header_text, -> { String }, optional: true, nullable: false
|
|
14
20
|
|
|
15
21
|
field :initial_stamps, -> { Integer }, optional: true, nullable: false
|
|
@@ -4,6 +4,8 @@ module Leal
|
|
|
4
4
|
module Cards
|
|
5
5
|
module Types
|
|
6
6
|
class UpdateCardsResponse < Internal::Types::Model
|
|
7
|
+
field :apple_pass_style, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
7
9
|
field :archived_at, -> { String }, optional: false, nullable: false
|
|
8
10
|
|
|
9
11
|
field :auxiliary_fields, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
@@ -16,6 +18,12 @@ module Leal
|
|
|
16
18
|
|
|
17
19
|
field :expires_at, -> { String }, optional: false, nullable: false
|
|
18
20
|
|
|
21
|
+
field :featured_actions, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
22
|
+
|
|
23
|
+
field :google_logo_style, -> { String }, optional: false, nullable: false
|
|
24
|
+
|
|
25
|
+
field :google_wallet, -> { Leal::Cards::Types::UpdateCardsResponseGoogleWallet }, optional: false, nullable: false
|
|
26
|
+
|
|
19
27
|
field :header_text, -> { String }, optional: false, nullable: false
|
|
20
28
|
|
|
21
29
|
field :id, -> { Integer }, optional: false, nullable: false
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Leal
|
|
4
|
+
module Cards
|
|
5
|
+
module Types
|
|
6
|
+
class UpdateCardsResponseGoogleWallet < Internal::Types::Model
|
|
7
|
+
field :hero_image, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :text_color, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :warnings, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
data/lib/leal/client.rb
CHANGED
|
@@ -11,7 +11,7 @@ module Leal
|
|
|
11
11
|
@raw_client = Leal::Internal::Http::RawClient.new(
|
|
12
12
|
base_url: base_url || Leal::Environment::PRODUCTION,
|
|
13
13
|
headers: {
|
|
14
|
-
"User-Agent" => "leal/0.0.
|
|
14
|
+
"User-Agent" => "leal/0.0.16",
|
|
15
15
|
"X-Fern-Language" => "Ruby",
|
|
16
16
|
Authorization: "Bearer #{token}"
|
|
17
17
|
},
|
data/lib/leal/version.rb
CHANGED
data/lib/leal.rb
CHANGED
|
@@ -39,13 +39,21 @@ require_relative "leal/stores/types/list_stores_response_item"
|
|
|
39
39
|
require_relative "leal/stores/types/get_stores_response"
|
|
40
40
|
require_relative "leal/stores/types/update_stores_request_account"
|
|
41
41
|
require_relative "leal/stores/types/update_stores_response"
|
|
42
|
+
require_relative "leal/cards/types/list_cards_response_item_google_wallet"
|
|
42
43
|
require_relative "leal/cards/types/list_cards_response_item"
|
|
44
|
+
require_relative "leal/cards/types/create_cards_request_card_apple_pass_style"
|
|
45
|
+
require_relative "leal/cards/types/create_cards_request_card_google_logo_style"
|
|
43
46
|
require_relative "leal/cards/types/create_cards_request_card_qr_style"
|
|
44
47
|
require_relative "leal/cards/types/create_cards_request_card"
|
|
48
|
+
require_relative "leal/cards/types/create_cards_response_google_wallet"
|
|
45
49
|
require_relative "leal/cards/types/create_cards_response"
|
|
50
|
+
require_relative "leal/cards/types/get_cards_response_google_wallet"
|
|
46
51
|
require_relative "leal/cards/types/get_cards_response"
|
|
52
|
+
require_relative "leal/cards/types/update_cards_request_card_apple_pass_style"
|
|
53
|
+
require_relative "leal/cards/types/update_cards_request_card_google_logo_style"
|
|
47
54
|
require_relative "leal/cards/types/update_cards_request_card_qr_style"
|
|
48
55
|
require_relative "leal/cards/types/update_cards_request_card"
|
|
56
|
+
require_relative "leal/cards/types/update_cards_response_google_wallet"
|
|
49
57
|
require_relative "leal/cards/types/update_cards_response"
|
|
50
58
|
require_relative "leal/customers/types/list_customers_response_pagination"
|
|
51
59
|
require_relative "leal/customers/types/list_customers_response"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: leal
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Leal
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: The Leal Ruby library provides convenient access to the Leal API from
|
|
14
14
|
Ruby.
|
|
@@ -29,16 +29,24 @@ files:
|
|
|
29
29
|
- lib/leal/cards/client.rb
|
|
30
30
|
- lib/leal/cards/types/create_cards_request.rb
|
|
31
31
|
- lib/leal/cards/types/create_cards_request_card.rb
|
|
32
|
+
- lib/leal/cards/types/create_cards_request_card_apple_pass_style.rb
|
|
33
|
+
- lib/leal/cards/types/create_cards_request_card_google_logo_style.rb
|
|
32
34
|
- lib/leal/cards/types/create_cards_request_card_qr_style.rb
|
|
33
35
|
- lib/leal/cards/types/create_cards_response.rb
|
|
36
|
+
- lib/leal/cards/types/create_cards_response_google_wallet.rb
|
|
34
37
|
- lib/leal/cards/types/get_cards_request.rb
|
|
35
38
|
- lib/leal/cards/types/get_cards_response.rb
|
|
39
|
+
- lib/leal/cards/types/get_cards_response_google_wallet.rb
|
|
36
40
|
- lib/leal/cards/types/list_cards_request.rb
|
|
37
41
|
- lib/leal/cards/types/list_cards_response_item.rb
|
|
42
|
+
- lib/leal/cards/types/list_cards_response_item_google_wallet.rb
|
|
38
43
|
- lib/leal/cards/types/update_cards_request.rb
|
|
39
44
|
- lib/leal/cards/types/update_cards_request_card.rb
|
|
45
|
+
- lib/leal/cards/types/update_cards_request_card_apple_pass_style.rb
|
|
46
|
+
- lib/leal/cards/types/update_cards_request_card_google_logo_style.rb
|
|
40
47
|
- lib/leal/cards/types/update_cards_request_card_qr_style.rb
|
|
41
48
|
- lib/leal/cards/types/update_cards_response.rb
|
|
49
|
+
- lib/leal/cards/types/update_cards_response_google_wallet.rb
|
|
42
50
|
- lib/leal/client.rb
|
|
43
51
|
- lib/leal/customer_cards/client.rb
|
|
44
52
|
- lib/leal/customer_cards/types/get_customer_cards_request.rb
|