stigg 0.1.0.pre.alpha.13 → 0.1.0.pre.alpha.14

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: cc615a933fdfb8860430c32e0d8431476b0bf2b395e4e9f0af4df7083b9eb78e
4
- data.tar.gz: cd8c85ba83dfdcf1d4496b7c5b609ab6788fa481926ba6c9ff9ff68c8442ff9d
3
+ metadata.gz: a609c3874048f817a7b4dc65f28da8d3cb666520616c75961f117d84a291a873
4
+ data.tar.gz: d232644052a023b74aa9e759c74386d5027d2649f4ba60b5201f9a1593abbe14
5
5
  SHA512:
6
- metadata.gz: f7062302c2519632f2900efb20aed6e231d4a7c507bd5969958395299610786bea20714b6250943e821fd2954468214944f11ed13d24f58fbc9879d9bde5f1c3
7
- data.tar.gz: 1c0acb84a28a5ed9530fe7f90789a87639e6f583d0d4f6a3c4e247d58a4fc717fb9c3bb5646c67d465a86c2bdd74283c0e2c58c76d0ecd0f84a46523b0ff65f1
6
+ metadata.gz: b71278d08503949246261620957314759b5152eb49576ba8a2b6c05f7bcf6e509214011a44752bce82dbcb857a41d5029818dd29cce80dca6fa5a26cea079a97
7
+ data.tar.gz: 94e3f3d464ad767ec5b7479312ddec7c3322b4541fe0e27b589cef85e8510cfcffa081217d0c11a0232b8c722d8be97593528e0730ec380235af38da0c8ec51b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.14 (2026-03-05)
4
+
5
+ Full Changelog: [v0.1.0-alpha.13...v0.1.0-alpha.14](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-alpha.13...v0.1.0-alpha.14)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([e2698c6](https://github.com/stiggio/stigg-ruby/commit/e2698c6d2e1d1df0d8bdcde8d3fe4cc62c0fa5d6))
10
+
3
11
  ## 0.1.0-alpha.13 (2026-03-04)
4
12
 
5
13
  Full Changelog: [v0.1.0-alpha.12...v0.1.0-alpha.13](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-alpha.12...v0.1.0-alpha.13)
data/README.md CHANGED
@@ -24,7 +24,7 @@ To use this gem, install via Bundler by adding the following to your application
24
24
  <!-- x-release-please-start-version -->
25
25
 
26
26
  ```ruby
27
- gem "stigg", "~> 0.1.0.pre.alpha.13"
27
+ gem "stigg", "~> 0.1.0.pre.alpha.14"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -44,7 +44,13 @@ module Stigg
44
44
  # @return [Hash{Symbol=>String}, nil]
45
45
  optional :metadata, Stigg::Internal::Type::HashOf[String]
46
46
 
47
- # @!method initialize(billing_id: nil, dependencies: nil, description: nil, display_name: nil, max_quantity: nil, metadata: nil, request_options: {})
47
+ # @!attribute status
48
+ # The status of the package
49
+ #
50
+ # @return [Symbol, Stigg::Models::V1::AddonUpdateParams::Status, nil]
51
+ optional :status, enum: -> { Stigg::V1::AddonUpdateParams::Status }
52
+
53
+ # @!method initialize(billing_id: nil, dependencies: nil, description: nil, display_name: nil, max_quantity: nil, metadata: nil, status: nil, request_options: {})
48
54
  # @param billing_id [String, nil] The unique identifier for the entity in the billing provider
49
55
  #
50
56
  # @param dependencies [Array<String>, nil] List of addons the addon is dependant on
@@ -57,7 +63,21 @@ module Stigg
57
63
  #
58
64
  # @param metadata [Hash{Symbol=>String}] Metadata associated with the entity
59
65
  #
66
+ # @param status [Symbol, Stigg::Models::V1::AddonUpdateParams::Status] The status of the package
67
+ #
60
68
  # @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
69
+
70
+ # The status of the package
71
+ module Status
72
+ extend Stigg::Internal::Type::Enum
73
+
74
+ DRAFT = :DRAFT
75
+ PUBLISHED = :PUBLISHED
76
+ ARCHIVED = :ARCHIVED
77
+
78
+ # @!method self.values
79
+ # @return [Array<Symbol>]
80
+ end
61
81
  end
62
82
  end
63
83
  end
@@ -70,7 +70,7 @@ module Stigg
70
70
  # Updates an existing addon's properties such as display name, description, and
71
71
  # metadata.
72
72
  #
73
- # @overload update(id, billing_id: nil, dependencies: nil, description: nil, display_name: nil, max_quantity: nil, metadata: nil, request_options: {})
73
+ # @overload update(id, billing_id: nil, dependencies: nil, description: nil, display_name: nil, max_quantity: nil, metadata: nil, status: nil, request_options: {})
74
74
  #
75
75
  # @param id [String] The unique identifier of the entity
76
76
  #
@@ -86,6 +86,8 @@ module Stigg
86
86
  #
87
87
  # @param metadata [Hash{Symbol=>String}] Metadata associated with the entity
88
88
  #
89
+ # @param status [Symbol, Stigg::Models::V1::AddonUpdateParams::Status] The status of the package
90
+ #
89
91
  # @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}, nil]
90
92
  #
91
93
  # @return [Stigg::Models::V1::Addon]
data/lib/stigg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "0.1.0.pre.alpha.13"
4
+ VERSION = "0.1.0.pre.alpha.14"
5
5
  end
@@ -42,6 +42,17 @@ module Stigg
42
42
  sig { params(metadata: T::Hash[Symbol, String]).void }
43
43
  attr_writer :metadata
44
44
 
45
+ # The status of the package
46
+ sig do
47
+ returns(T.nilable(Stigg::V1::AddonUpdateParams::Status::OrSymbol))
48
+ end
49
+ attr_reader :status
50
+
51
+ sig do
52
+ params(status: Stigg::V1::AddonUpdateParams::Status::OrSymbol).void
53
+ end
54
+ attr_writer :status
55
+
45
56
  sig do
46
57
  params(
47
58
  billing_id: T.nilable(String),
@@ -50,6 +61,7 @@ module Stigg
50
61
  display_name: String,
51
62
  max_quantity: T.nilable(Integer),
52
63
  metadata: T::Hash[Symbol, String],
64
+ status: Stigg::V1::AddonUpdateParams::Status::OrSymbol,
53
65
  request_options: Stigg::RequestOptions::OrHash
54
66
  ).returns(T.attached_class)
55
67
  end
@@ -66,6 +78,8 @@ module Stigg
66
78
  max_quantity: nil,
67
79
  # Metadata associated with the entity
68
80
  metadata: nil,
81
+ # The status of the package
82
+ status: nil,
69
83
  request_options: {}
70
84
  )
71
85
  end
@@ -79,12 +93,40 @@ module Stigg
79
93
  display_name: String,
80
94
  max_quantity: T.nilable(Integer),
81
95
  metadata: T::Hash[Symbol, String],
96
+ status: Stigg::V1::AddonUpdateParams::Status::OrSymbol,
82
97
  request_options: Stigg::RequestOptions
83
98
  }
84
99
  )
85
100
  end
86
101
  def to_hash
87
102
  end
103
+
104
+ # The status of the package
105
+ module Status
106
+ extend Stigg::Internal::Type::Enum
107
+
108
+ TaggedSymbol =
109
+ T.type_alias { T.all(Symbol, Stigg::V1::AddonUpdateParams::Status) }
110
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
111
+
112
+ DRAFT =
113
+ T.let(:DRAFT, Stigg::V1::AddonUpdateParams::Status::TaggedSymbol)
114
+ PUBLISHED =
115
+ T.let(
116
+ :PUBLISHED,
117
+ Stigg::V1::AddonUpdateParams::Status::TaggedSymbol
118
+ )
119
+ ARCHIVED =
120
+ T.let(:ARCHIVED, Stigg::V1::AddonUpdateParams::Status::TaggedSymbol)
121
+
122
+ sig do
123
+ override.returns(
124
+ T::Array[Stigg::V1::AddonUpdateParams::Status::TaggedSymbol]
125
+ )
126
+ end
127
+ def self.values
128
+ end
129
+ end
88
130
  end
89
131
  end
90
132
  end
@@ -73,6 +73,7 @@ module Stigg
73
73
  display_name: String,
74
74
  max_quantity: T.nilable(Integer),
75
75
  metadata: T::Hash[Symbol, String],
76
+ status: Stigg::V1::AddonUpdateParams::Status::OrSymbol,
76
77
  request_options: Stigg::RequestOptions::OrHash
77
78
  ).returns(Stigg::V1::Addon)
78
79
  end
@@ -91,6 +92,8 @@ module Stigg
91
92
  max_quantity: nil,
92
93
  # Metadata associated with the entity
93
94
  metadata: nil,
95
+ # The status of the package
96
+ status: nil,
94
97
  request_options: {}
95
98
  )
96
99
  end
@@ -8,7 +8,8 @@ module Stigg
8
8
  description: String?,
9
9
  display_name: String,
10
10
  max_quantity: Integer?,
11
- metadata: ::Hash[Symbol, String]
11
+ metadata: ::Hash[Symbol, String],
12
+ status: Stigg::Models::V1::AddonUpdateParams::status
12
13
  }
13
14
  & Stigg::Internal::Type::request_parameters
14
15
 
@@ -32,6 +33,12 @@ module Stigg
32
33
 
33
34
  def metadata=: (::Hash[Symbol, String]) -> ::Hash[Symbol, String]
34
35
 
36
+ attr_reader status: Stigg::Models::V1::AddonUpdateParams::status?
37
+
38
+ def status=: (
39
+ Stigg::Models::V1::AddonUpdateParams::status
40
+ ) -> Stigg::Models::V1::AddonUpdateParams::status
41
+
35
42
  def initialize: (
36
43
  ?billing_id: String?,
37
44
  ?dependencies: ::Array[String]?,
@@ -39,6 +46,7 @@ module Stigg
39
46
  ?display_name: String,
40
47
  ?max_quantity: Integer?,
41
48
  ?metadata: ::Hash[Symbol, String],
49
+ ?status: Stigg::Models::V1::AddonUpdateParams::status,
42
50
  ?request_options: Stigg::request_opts
43
51
  ) -> void
44
52
 
@@ -49,8 +57,21 @@ module Stigg
49
57
  display_name: String,
50
58
  max_quantity: Integer?,
51
59
  metadata: ::Hash[Symbol, String],
60
+ status: Stigg::Models::V1::AddonUpdateParams::status,
52
61
  request_options: Stigg::RequestOptions
53
62
  }
63
+
64
+ type status = :DRAFT | :PUBLISHED | :ARCHIVED
65
+
66
+ module Status
67
+ extend Stigg::Internal::Type::Enum
68
+
69
+ DRAFT: :DRAFT
70
+ PUBLISHED: :PUBLISHED
71
+ ARCHIVED: :ARCHIVED
72
+
73
+ def self?.values: -> ::Array[Stigg::Models::V1::AddonUpdateParams::status]
74
+ end
54
75
  end
55
76
  end
56
77
  end
@@ -30,6 +30,7 @@ module Stigg
30
30
  ?display_name: String,
31
31
  ?max_quantity: Integer?,
32
32
  ?metadata: ::Hash[Symbol, String],
33
+ ?status: Stigg::Models::V1::AddonUpdateParams::status,
33
34
  ?request_options: Stigg::request_opts
34
35
  ) -> Stigg::V1::Addon
35
36
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stigg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.alpha.13
4
+ version: 0.1.0.pre.alpha.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-04 00:00:00.000000000 Z
11
+ date: 2026-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi