stigg 0.1.0.pre.alpha.6 → 0.1.0.pre.alpha.7
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/CHANGELOG.md +13 -0
- data/README.md +1 -1
- data/lib/stigg/models/v1/events/addon_archive_addon_response.rb +11 -3
- data/lib/stigg/models/v1/events/addon_create_addon_params.rb +11 -10
- data/lib/stigg/models/v1/events/addon_create_addon_response.rb +11 -3
- data/lib/stigg/models/v1/events/addon_list_addons_params.rb +2 -2
- data/lib/stigg/models/v1/events/addon_list_addons_response.rb +11 -3
- data/lib/stigg/models/v1/events/addon_retrieve_addon_response.rb +11 -3
- data/lib/stigg/models/v1/events/addon_update_addon_response.rb +11 -3
- data/lib/stigg/models/v1/events/addons/draft_create_addon_draft_response.rb +11 -3
- data/lib/stigg/models/v1/events/plan_create_params.rb +117 -0
- data/lib/stigg/models/v1/events/plan_create_response.rb +204 -0
- data/lib/stigg/models/v1/events/plan_list_params.rb +103 -0
- data/lib/stigg/models/v1/events/plan_list_response.rb +190 -0
- data/lib/stigg/models/v1/events/plan_retrieve_params.rb +18 -0
- data/lib/stigg/models/v1/events/plan_retrieve_response.rb +204 -0
- data/lib/stigg/models/v1/subscription_provision_response.rb +44 -44
- data/lib/stigg/resources/v1/events/addons.rb +6 -6
- data/lib/stigg/resources/v1/events/plans.rb +110 -0
- data/lib/stigg/resources/v1/events.rb +4 -0
- data/lib/stigg/version.rb +1 -1
- data/lib/stigg.rb +7 -0
- data/rbi/stigg/models/v1/events/addon_archive_addon_response.rbi +10 -2
- data/rbi/stigg/models/v1/events/addon_create_addon_params.rbi +18 -31
- data/rbi/stigg/models/v1/events/addon_create_addon_response.rbi +10 -2
- data/rbi/stigg/models/v1/events/addon_list_addons_params.rbi +2 -2
- data/rbi/stigg/models/v1/events/addon_list_addons_response.rbi +10 -2
- data/rbi/stigg/models/v1/events/addon_retrieve_addon_response.rbi +10 -2
- data/rbi/stigg/models/v1/events/addon_update_addon_response.rbi +10 -2
- data/rbi/stigg/models/v1/events/addons/draft_create_addon_draft_response.rbi +10 -2
- data/rbi/stigg/models/v1/events/plan_create_params.rbi +214 -0
- data/rbi/stigg/models/v1/events/plan_create_response.rbi +382 -0
- data/rbi/stigg/models/v1/events/plan_list_params.rbi +173 -0
- data/rbi/stigg/models/v1/events/plan_list_response.rbi +339 -0
- data/rbi/stigg/models/v1/events/plan_retrieve_params.rbi +34 -0
- data/rbi/stigg/models/v1/events/plan_retrieve_response.rbi +384 -0
- data/rbi/stigg/models/v1/subscription_provision_response.rbi +94 -94
- data/rbi/stigg/resources/v1/events/addons.rbi +8 -6
- data/rbi/stigg/resources/v1/events/plans.rbi +105 -0
- data/rbi/stigg/resources/v1/events.rbi +3 -0
- data/sig/stigg/models/v1/events/addon_archive_addon_response.rbs +5 -0
- data/sig/stigg/models/v1/events/addon_create_addon_params.rbs +16 -26
- data/sig/stigg/models/v1/events/addon_create_addon_response.rbs +5 -0
- data/sig/stigg/models/v1/events/addon_list_addons_response.rbs +5 -0
- data/sig/stigg/models/v1/events/addon_retrieve_addon_response.rbs +5 -0
- data/sig/stigg/models/v1/events/addon_update_addon_response.rbs +5 -0
- data/sig/stigg/models/v1/events/addons/draft_create_addon_draft_response.rbs +5 -0
- data/sig/stigg/models/v1/events/plan_create_params.rbs +100 -0
- data/sig/stigg/models/v1/events/plan_create_response.rbs +161 -0
- data/sig/stigg/models/v1/events/plan_list_params.rbs +98 -0
- data/sig/stigg/models/v1/events/plan_list_response.rbs +146 -0
- data/sig/stigg/models/v1/events/plan_retrieve_params.rbs +19 -0
- data/sig/stigg/models/v1/events/plan_retrieve_response.rbs +161 -0
- data/sig/stigg/models/v1/subscription_provision_response.rbs +51 -51
- data/sig/stigg/resources/v1/events/addons.rbs +4 -4
- data/sig/stigg/resources/v1/events/plans.rbs +39 -0
- data/sig/stigg/resources/v1/events.rbs +2 -0
- metadata +22 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 96f5c510e171274cab358e5e13619ffb232e333ddca06cdcfb2baa0f270ec685
|
|
4
|
+
data.tar.gz: 7f1d1a48a0cd4a6f89f4a733105ac4fb0aad9b811e3fb173b7451305090ef15e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a70f93598538260c0239c726d980deb3f44cc8ab8a0a02e6b9fa019c6be1974531e08195143a80b41a95e51ec6e9d566919e9b30c5aa701d0acc1635880a184
|
|
7
|
+
data.tar.gz: c612b37abc22eebae80e6e637a13de1ffbc40f3cb25a5ccaa7acf6f19781ab7f4d985b71f6691b2ed0c350d8a6464b4ee5d65df8f1263f07bd9923ee3610ad4d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.7 (2026-02-18)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.6...v0.1.0-alpha.7](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-alpha.6...v0.1.0-alpha.7)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** Add missing endpoints ([5718d7d](https://github.com/stiggio/stigg-ruby/commit/5718d7d4d7fc34062a4ec6989ded44e4a1e372f2))
|
|
10
|
+
* **api:** add plans endpoints, add product_id to addons, update addon/product params ([c11e306](https://github.com/stiggio/stigg-ruby/commit/c11e306ebd5075e7bb2cbbf0263352b73f7a2728))
|
|
11
|
+
* **api:** add plans resource, product_id to addon types, remove product duplicate body_id ([e7051c5](https://github.com/stiggio/stigg-ruby/commit/e7051c5680f295dec6db02b169e8d2ab87421c76))
|
|
12
|
+
* **api:** api update ([9cca141](https://github.com/stiggio/stigg-ruby/commit/9cca141fa0fe6d740a6b8877b098fb37968ac2a0))
|
|
13
|
+
* **api:** api update ([1c17067](https://github.com/stiggio/stigg-ruby/commit/1c17067799ce2cb13ee0783ce7d26223c7023173))
|
|
14
|
+
* **api:** api update ([1d6a841](https://github.com/stiggio/stigg-ruby/commit/1d6a8414e23883cdfd8ec0016d4e5e28e4eb87e8))
|
|
15
|
+
|
|
3
16
|
## 0.1.0-alpha.6 (2026-02-18)
|
|
4
17
|
|
|
5
18
|
Full Changelog: [v0.1.0-alpha.5...v0.1.0-alpha.6](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-alpha.5...v0.1.0-alpha.6)
|
data/README.md
CHANGED
|
@@ -56,7 +56,7 @@ module Stigg
|
|
|
56
56
|
required :display_name, String, api_name: :displayName
|
|
57
57
|
|
|
58
58
|
# @!attribute entitlements
|
|
59
|
-
# List of entitlements
|
|
59
|
+
# List of entitlements of the package
|
|
60
60
|
#
|
|
61
61
|
# @return [Array<Stigg::Models::V1::Events::AddonArchiveAddonResponse::Data::Entitlement>]
|
|
62
62
|
required :entitlements,
|
|
@@ -89,6 +89,12 @@ module Stigg
|
|
|
89
89
|
api_name: :pricingType,
|
|
90
90
|
nil?: true
|
|
91
91
|
|
|
92
|
+
# @!attribute product_id
|
|
93
|
+
# The product id of the package
|
|
94
|
+
#
|
|
95
|
+
# @return [String]
|
|
96
|
+
required :product_id, String, api_name: :productId
|
|
97
|
+
|
|
92
98
|
# @!attribute status
|
|
93
99
|
# The status of the package
|
|
94
100
|
#
|
|
@@ -107,7 +113,7 @@ module Stigg
|
|
|
107
113
|
# @return [Integer]
|
|
108
114
|
required :version_number, Integer, api_name: :versionNumber
|
|
109
115
|
|
|
110
|
-
# @!method initialize(id:, billing_id:, created_at:, dependencies:, description:, display_name:, entitlements:, is_latest:, max_quantity:, metadata:, pricing_type:, status:, updated_at:, version_number:)
|
|
116
|
+
# @!method initialize(id:, billing_id:, created_at:, dependencies:, description:, display_name:, entitlements:, is_latest:, max_quantity:, metadata:, pricing_type:, product_id:, status:, updated_at:, version_number:)
|
|
111
117
|
# Addon configuration object
|
|
112
118
|
#
|
|
113
119
|
# @param id [String] The unique identifier for the entity
|
|
@@ -122,7 +128,7 @@ module Stigg
|
|
|
122
128
|
#
|
|
123
129
|
# @param display_name [String] The display name of the package
|
|
124
130
|
#
|
|
125
|
-
# @param entitlements [Array<Stigg::Models::V1::Events::AddonArchiveAddonResponse::Data::Entitlement>] List of entitlements
|
|
131
|
+
# @param entitlements [Array<Stigg::Models::V1::Events::AddonArchiveAddonResponse::Data::Entitlement>] List of entitlements of the package
|
|
126
132
|
#
|
|
127
133
|
# @param is_latest [Boolean, nil] Indicates if the package is the latest version
|
|
128
134
|
#
|
|
@@ -132,6 +138,8 @@ module Stigg
|
|
|
132
138
|
#
|
|
133
139
|
# @param pricing_type [Symbol, Stigg::Models::V1::Events::AddonArchiveAddonResponse::Data::PricingType, nil] The pricing type of the package
|
|
134
140
|
#
|
|
141
|
+
# @param product_id [String] The product id of the package
|
|
142
|
+
#
|
|
135
143
|
# @param status [Symbol, Stigg::Models::V1::Events::AddonArchiveAddonResponse::Data::Status] The status of the package
|
|
136
144
|
#
|
|
137
145
|
# @param updated_at [Time] Timestamp of when the record was last updated
|
|
@@ -22,7 +22,7 @@ module Stigg
|
|
|
22
22
|
required :display_name, String, api_name: :displayName
|
|
23
23
|
|
|
24
24
|
# @!attribute product_id
|
|
25
|
-
# The product
|
|
25
|
+
# The product id of the package
|
|
26
26
|
#
|
|
27
27
|
# @return [String]
|
|
28
28
|
required :product_id, String, api_name: :productId
|
|
@@ -31,19 +31,19 @@ module Stigg
|
|
|
31
31
|
# The unique identifier for the entity in the billing provider
|
|
32
32
|
#
|
|
33
33
|
# @return [String, nil]
|
|
34
|
-
optional :billing_id, String, api_name: :billingId
|
|
34
|
+
optional :billing_id, String, api_name: :billingId, nil?: true
|
|
35
35
|
|
|
36
36
|
# @!attribute description
|
|
37
37
|
# The description of the package
|
|
38
38
|
#
|
|
39
39
|
# @return [String, nil]
|
|
40
|
-
optional :description, String
|
|
40
|
+
optional :description, String, nil?: true
|
|
41
41
|
|
|
42
42
|
# @!attribute max_quantity
|
|
43
43
|
# The maximum quantity of this addon that can be added to a subscription
|
|
44
44
|
#
|
|
45
45
|
# @return [Integer, nil]
|
|
46
|
-
optional :max_quantity, Integer, api_name: :maxQuantity
|
|
46
|
+
optional :max_quantity, Integer, api_name: :maxQuantity, nil?: true
|
|
47
47
|
|
|
48
48
|
# @!attribute metadata
|
|
49
49
|
# Metadata associated with the entity
|
|
@@ -57,7 +57,8 @@ module Stigg
|
|
|
57
57
|
# @return [Symbol, Stigg::Models::V1::Events::AddonCreateAddonParams::PricingType, nil]
|
|
58
58
|
optional :pricing_type,
|
|
59
59
|
enum: -> { Stigg::V1::Events::AddonCreateAddonParams::PricingType },
|
|
60
|
-
api_name: :pricingType
|
|
60
|
+
api_name: :pricingType,
|
|
61
|
+
nil?: true
|
|
61
62
|
|
|
62
63
|
# @!attribute status
|
|
63
64
|
# The status of the package
|
|
@@ -70,17 +71,17 @@ module Stigg
|
|
|
70
71
|
#
|
|
71
72
|
# @param display_name [String] The display name of the package
|
|
72
73
|
#
|
|
73
|
-
# @param product_id [String] The product
|
|
74
|
+
# @param product_id [String] The product id of the package
|
|
74
75
|
#
|
|
75
|
-
# @param billing_id [String] The unique identifier for the entity in the billing provider
|
|
76
|
+
# @param billing_id [String, nil] The unique identifier for the entity in the billing provider
|
|
76
77
|
#
|
|
77
|
-
# @param description [String] The description of the package
|
|
78
|
+
# @param description [String, nil] The description of the package
|
|
78
79
|
#
|
|
79
|
-
# @param max_quantity [Integer] The maximum quantity of this addon that can be added to a subscription
|
|
80
|
+
# @param max_quantity [Integer, nil] The maximum quantity of this addon that can be added to a subscription
|
|
80
81
|
#
|
|
81
82
|
# @param metadata [Hash{Symbol=>String}] Metadata associated with the entity
|
|
82
83
|
#
|
|
83
|
-
# @param pricing_type [Symbol, Stigg::Models::V1::Events::AddonCreateAddonParams::PricingType] The pricing type of the package
|
|
84
|
+
# @param pricing_type [Symbol, Stigg::Models::V1::Events::AddonCreateAddonParams::PricingType, nil] The pricing type of the package
|
|
84
85
|
#
|
|
85
86
|
# @param status [Symbol, Stigg::Models::V1::Events::AddonCreateAddonParams::Status] The status of the package
|
|
86
87
|
#
|
|
@@ -56,7 +56,7 @@ module Stigg
|
|
|
56
56
|
required :display_name, String, api_name: :displayName
|
|
57
57
|
|
|
58
58
|
# @!attribute entitlements
|
|
59
|
-
# List of entitlements
|
|
59
|
+
# List of entitlements of the package
|
|
60
60
|
#
|
|
61
61
|
# @return [Array<Stigg::Models::V1::Events::AddonCreateAddonResponse::Data::Entitlement>]
|
|
62
62
|
required :entitlements,
|
|
@@ -89,6 +89,12 @@ module Stigg
|
|
|
89
89
|
api_name: :pricingType,
|
|
90
90
|
nil?: true
|
|
91
91
|
|
|
92
|
+
# @!attribute product_id
|
|
93
|
+
# The product id of the package
|
|
94
|
+
#
|
|
95
|
+
# @return [String]
|
|
96
|
+
required :product_id, String, api_name: :productId
|
|
97
|
+
|
|
92
98
|
# @!attribute status
|
|
93
99
|
# The status of the package
|
|
94
100
|
#
|
|
@@ -107,7 +113,7 @@ module Stigg
|
|
|
107
113
|
# @return [Integer]
|
|
108
114
|
required :version_number, Integer, api_name: :versionNumber
|
|
109
115
|
|
|
110
|
-
# @!method initialize(id:, billing_id:, created_at:, dependencies:, description:, display_name:, entitlements:, is_latest:, max_quantity:, metadata:, pricing_type:, status:, updated_at:, version_number:)
|
|
116
|
+
# @!method initialize(id:, billing_id:, created_at:, dependencies:, description:, display_name:, entitlements:, is_latest:, max_quantity:, metadata:, pricing_type:, product_id:, status:, updated_at:, version_number:)
|
|
111
117
|
# Addon configuration object
|
|
112
118
|
#
|
|
113
119
|
# @param id [String] The unique identifier for the entity
|
|
@@ -122,7 +128,7 @@ module Stigg
|
|
|
122
128
|
#
|
|
123
129
|
# @param display_name [String] The display name of the package
|
|
124
130
|
#
|
|
125
|
-
# @param entitlements [Array<Stigg::Models::V1::Events::AddonCreateAddonResponse::Data::Entitlement>] List of entitlements
|
|
131
|
+
# @param entitlements [Array<Stigg::Models::V1::Events::AddonCreateAddonResponse::Data::Entitlement>] List of entitlements of the package
|
|
126
132
|
#
|
|
127
133
|
# @param is_latest [Boolean, nil] Indicates if the package is the latest version
|
|
128
134
|
#
|
|
@@ -132,6 +138,8 @@ module Stigg
|
|
|
132
138
|
#
|
|
133
139
|
# @param pricing_type [Symbol, Stigg::Models::V1::Events::AddonCreateAddonResponse::Data::PricingType, nil] The pricing type of the package
|
|
134
140
|
#
|
|
141
|
+
# @param product_id [String] The product id of the package
|
|
142
|
+
#
|
|
135
143
|
# @param status [Symbol, Stigg::Models::V1::Events::AddonCreateAddonResponse::Data::Status] The status of the package
|
|
136
144
|
#
|
|
137
145
|
# @param updated_at [Time] Timestamp of when the record was last updated
|
|
@@ -40,7 +40,7 @@ module Stigg
|
|
|
40
40
|
optional :product_id, String
|
|
41
41
|
|
|
42
42
|
# @!attribute status
|
|
43
|
-
# Filter by
|
|
43
|
+
# Filter by status. Supports comma-separated values for multiple statuses
|
|
44
44
|
#
|
|
45
45
|
# @return [String, nil]
|
|
46
46
|
optional :status, String
|
|
@@ -56,7 +56,7 @@ module Stigg
|
|
|
56
56
|
#
|
|
57
57
|
# @param product_id [String] Filter by product ID
|
|
58
58
|
#
|
|
59
|
-
# @param status [String] Filter by
|
|
59
|
+
# @param status [String] Filter by status. Supports comma-separated values for multiple statuses
|
|
60
60
|
#
|
|
61
61
|
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
|
|
62
62
|
|
|
@@ -43,7 +43,7 @@ module Stigg
|
|
|
43
43
|
required :display_name, String, api_name: :displayName
|
|
44
44
|
|
|
45
45
|
# @!attribute entitlements
|
|
46
|
-
# List of entitlements
|
|
46
|
+
# List of entitlements of the package
|
|
47
47
|
#
|
|
48
48
|
# @return [Array<Stigg::Models::V1::Events::AddonListAddonsResponse::Entitlement>]
|
|
49
49
|
required :entitlements,
|
|
@@ -76,6 +76,12 @@ module Stigg
|
|
|
76
76
|
api_name: :pricingType,
|
|
77
77
|
nil?: true
|
|
78
78
|
|
|
79
|
+
# @!attribute product_id
|
|
80
|
+
# The product id of the package
|
|
81
|
+
#
|
|
82
|
+
# @return [String]
|
|
83
|
+
required :product_id, String, api_name: :productId
|
|
84
|
+
|
|
79
85
|
# @!attribute status
|
|
80
86
|
# The status of the package
|
|
81
87
|
#
|
|
@@ -94,7 +100,7 @@ module Stigg
|
|
|
94
100
|
# @return [Integer]
|
|
95
101
|
required :version_number, Integer, api_name: :versionNumber
|
|
96
102
|
|
|
97
|
-
# @!method initialize(id:, billing_id:, created_at:, dependencies:, description:, display_name:, entitlements:, is_latest:, max_quantity:, metadata:, pricing_type:, status:, updated_at:, version_number:)
|
|
103
|
+
# @!method initialize(id:, billing_id:, created_at:, dependencies:, description:, display_name:, entitlements:, is_latest:, max_quantity:, metadata:, pricing_type:, product_id:, status:, updated_at:, version_number:)
|
|
98
104
|
# Addon configuration object
|
|
99
105
|
#
|
|
100
106
|
# @param id [String] The unique identifier for the entity
|
|
@@ -109,7 +115,7 @@ module Stigg
|
|
|
109
115
|
#
|
|
110
116
|
# @param display_name [String] The display name of the package
|
|
111
117
|
#
|
|
112
|
-
# @param entitlements [Array<Stigg::Models::V1::Events::AddonListAddonsResponse::Entitlement>] List of entitlements
|
|
118
|
+
# @param entitlements [Array<Stigg::Models::V1::Events::AddonListAddonsResponse::Entitlement>] List of entitlements of the package
|
|
113
119
|
#
|
|
114
120
|
# @param is_latest [Boolean, nil] Indicates if the package is the latest version
|
|
115
121
|
#
|
|
@@ -119,6 +125,8 @@ module Stigg
|
|
|
119
125
|
#
|
|
120
126
|
# @param pricing_type [Symbol, Stigg::Models::V1::Events::AddonListAddonsResponse::PricingType, nil] The pricing type of the package
|
|
121
127
|
#
|
|
128
|
+
# @param product_id [String] The product id of the package
|
|
129
|
+
#
|
|
122
130
|
# @param status [Symbol, Stigg::Models::V1::Events::AddonListAddonsResponse::Status] The status of the package
|
|
123
131
|
#
|
|
124
132
|
# @param updated_at [Time] Timestamp of when the record was last updated
|
|
@@ -56,7 +56,7 @@ module Stigg
|
|
|
56
56
|
required :display_name, String, api_name: :displayName
|
|
57
57
|
|
|
58
58
|
# @!attribute entitlements
|
|
59
|
-
# List of entitlements
|
|
59
|
+
# List of entitlements of the package
|
|
60
60
|
#
|
|
61
61
|
# @return [Array<Stigg::Models::V1::Events::AddonRetrieveAddonResponse::Data::Entitlement>]
|
|
62
62
|
required :entitlements,
|
|
@@ -89,6 +89,12 @@ module Stigg
|
|
|
89
89
|
api_name: :pricingType,
|
|
90
90
|
nil?: true
|
|
91
91
|
|
|
92
|
+
# @!attribute product_id
|
|
93
|
+
# The product id of the package
|
|
94
|
+
#
|
|
95
|
+
# @return [String]
|
|
96
|
+
required :product_id, String, api_name: :productId
|
|
97
|
+
|
|
92
98
|
# @!attribute status
|
|
93
99
|
# The status of the package
|
|
94
100
|
#
|
|
@@ -107,7 +113,7 @@ module Stigg
|
|
|
107
113
|
# @return [Integer]
|
|
108
114
|
required :version_number, Integer, api_name: :versionNumber
|
|
109
115
|
|
|
110
|
-
# @!method initialize(id:, billing_id:, created_at:, dependencies:, description:, display_name:, entitlements:, is_latest:, max_quantity:, metadata:, pricing_type:, status:, updated_at:, version_number:)
|
|
116
|
+
# @!method initialize(id:, billing_id:, created_at:, dependencies:, description:, display_name:, entitlements:, is_latest:, max_quantity:, metadata:, pricing_type:, product_id:, status:, updated_at:, version_number:)
|
|
111
117
|
# Addon configuration object
|
|
112
118
|
#
|
|
113
119
|
# @param id [String] The unique identifier for the entity
|
|
@@ -122,7 +128,7 @@ module Stigg
|
|
|
122
128
|
#
|
|
123
129
|
# @param display_name [String] The display name of the package
|
|
124
130
|
#
|
|
125
|
-
# @param entitlements [Array<Stigg::Models::V1::Events::AddonRetrieveAddonResponse::Data::Entitlement>] List of entitlements
|
|
131
|
+
# @param entitlements [Array<Stigg::Models::V1::Events::AddonRetrieveAddonResponse::Data::Entitlement>] List of entitlements of the package
|
|
126
132
|
#
|
|
127
133
|
# @param is_latest [Boolean, nil] Indicates if the package is the latest version
|
|
128
134
|
#
|
|
@@ -132,6 +138,8 @@ module Stigg
|
|
|
132
138
|
#
|
|
133
139
|
# @param pricing_type [Symbol, Stigg::Models::V1::Events::AddonRetrieveAddonResponse::Data::PricingType, nil] The pricing type of the package
|
|
134
140
|
#
|
|
141
|
+
# @param product_id [String] The product id of the package
|
|
142
|
+
#
|
|
135
143
|
# @param status [Symbol, Stigg::Models::V1::Events::AddonRetrieveAddonResponse::Data::Status] The status of the package
|
|
136
144
|
#
|
|
137
145
|
# @param updated_at [Time] Timestamp of when the record was last updated
|
|
@@ -56,7 +56,7 @@ module Stigg
|
|
|
56
56
|
required :display_name, String, api_name: :displayName
|
|
57
57
|
|
|
58
58
|
# @!attribute entitlements
|
|
59
|
-
# List of entitlements
|
|
59
|
+
# List of entitlements of the package
|
|
60
60
|
#
|
|
61
61
|
# @return [Array<Stigg::Models::V1::Events::AddonUpdateAddonResponse::Data::Entitlement>]
|
|
62
62
|
required :entitlements,
|
|
@@ -89,6 +89,12 @@ module Stigg
|
|
|
89
89
|
api_name: :pricingType,
|
|
90
90
|
nil?: true
|
|
91
91
|
|
|
92
|
+
# @!attribute product_id
|
|
93
|
+
# The product id of the package
|
|
94
|
+
#
|
|
95
|
+
# @return [String]
|
|
96
|
+
required :product_id, String, api_name: :productId
|
|
97
|
+
|
|
92
98
|
# @!attribute status
|
|
93
99
|
# The status of the package
|
|
94
100
|
#
|
|
@@ -107,7 +113,7 @@ module Stigg
|
|
|
107
113
|
# @return [Integer]
|
|
108
114
|
required :version_number, Integer, api_name: :versionNumber
|
|
109
115
|
|
|
110
|
-
# @!method initialize(id:, billing_id:, created_at:, dependencies:, description:, display_name:, entitlements:, is_latest:, max_quantity:, metadata:, pricing_type:, status:, updated_at:, version_number:)
|
|
116
|
+
# @!method initialize(id:, billing_id:, created_at:, dependencies:, description:, display_name:, entitlements:, is_latest:, max_quantity:, metadata:, pricing_type:, product_id:, status:, updated_at:, version_number:)
|
|
111
117
|
# Addon configuration object
|
|
112
118
|
#
|
|
113
119
|
# @param id [String] The unique identifier for the entity
|
|
@@ -122,7 +128,7 @@ module Stigg
|
|
|
122
128
|
#
|
|
123
129
|
# @param display_name [String] The display name of the package
|
|
124
130
|
#
|
|
125
|
-
# @param entitlements [Array<Stigg::Models::V1::Events::AddonUpdateAddonResponse::Data::Entitlement>] List of entitlements
|
|
131
|
+
# @param entitlements [Array<Stigg::Models::V1::Events::AddonUpdateAddonResponse::Data::Entitlement>] List of entitlements of the package
|
|
126
132
|
#
|
|
127
133
|
# @param is_latest [Boolean, nil] Indicates if the package is the latest version
|
|
128
134
|
#
|
|
@@ -132,6 +138,8 @@ module Stigg
|
|
|
132
138
|
#
|
|
133
139
|
# @param pricing_type [Symbol, Stigg::Models::V1::Events::AddonUpdateAddonResponse::Data::PricingType, nil] The pricing type of the package
|
|
134
140
|
#
|
|
141
|
+
# @param product_id [String] The product id of the package
|
|
142
|
+
#
|
|
135
143
|
# @param status [Symbol, Stigg::Models::V1::Events::AddonUpdateAddonResponse::Data::Status] The status of the package
|
|
136
144
|
#
|
|
137
145
|
# @param updated_at [Time] Timestamp of when the record was last updated
|
|
@@ -57,7 +57,7 @@ module Stigg
|
|
|
57
57
|
required :display_name, String, api_name: :displayName
|
|
58
58
|
|
|
59
59
|
# @!attribute entitlements
|
|
60
|
-
# List of entitlements
|
|
60
|
+
# List of entitlements of the package
|
|
61
61
|
#
|
|
62
62
|
# @return [Array<Stigg::Models::V1::Events::Addons::DraftCreateAddonDraftResponse::Data::Entitlement>]
|
|
63
63
|
required :entitlements,
|
|
@@ -90,6 +90,12 @@ module Stigg
|
|
|
90
90
|
api_name: :pricingType,
|
|
91
91
|
nil?: true
|
|
92
92
|
|
|
93
|
+
# @!attribute product_id
|
|
94
|
+
# The product id of the package
|
|
95
|
+
#
|
|
96
|
+
# @return [String]
|
|
97
|
+
required :product_id, String, api_name: :productId
|
|
98
|
+
|
|
93
99
|
# @!attribute status
|
|
94
100
|
# The status of the package
|
|
95
101
|
#
|
|
@@ -109,7 +115,7 @@ module Stigg
|
|
|
109
115
|
# @return [Integer]
|
|
110
116
|
required :version_number, Integer, api_name: :versionNumber
|
|
111
117
|
|
|
112
|
-
# @!method initialize(id:, billing_id:, created_at:, dependencies:, description:, display_name:, entitlements:, is_latest:, max_quantity:, metadata:, pricing_type:, status:, updated_at:, version_number:)
|
|
118
|
+
# @!method initialize(id:, billing_id:, created_at:, dependencies:, description:, display_name:, entitlements:, is_latest:, max_quantity:, metadata:, pricing_type:, product_id:, status:, updated_at:, version_number:)
|
|
113
119
|
# Addon configuration object
|
|
114
120
|
#
|
|
115
121
|
# @param id [String] The unique identifier for the entity
|
|
@@ -124,7 +130,7 @@ module Stigg
|
|
|
124
130
|
#
|
|
125
131
|
# @param display_name [String] The display name of the package
|
|
126
132
|
#
|
|
127
|
-
# @param entitlements [Array<Stigg::Models::V1::Events::Addons::DraftCreateAddonDraftResponse::Data::Entitlement>] List of entitlements
|
|
133
|
+
# @param entitlements [Array<Stigg::Models::V1::Events::Addons::DraftCreateAddonDraftResponse::Data::Entitlement>] List of entitlements of the package
|
|
128
134
|
#
|
|
129
135
|
# @param is_latest [Boolean, nil] Indicates if the package is the latest version
|
|
130
136
|
#
|
|
@@ -134,6 +140,8 @@ module Stigg
|
|
|
134
140
|
#
|
|
135
141
|
# @param pricing_type [Symbol, Stigg::Models::V1::Events::Addons::DraftCreateAddonDraftResponse::Data::PricingType, nil] The pricing type of the package
|
|
136
142
|
#
|
|
143
|
+
# @param product_id [String] The product id of the package
|
|
144
|
+
#
|
|
137
145
|
# @param status [Symbol, Stigg::Models::V1::Events::Addons::DraftCreateAddonDraftResponse::Data::Status] The status of the package
|
|
138
146
|
#
|
|
139
147
|
# @param updated_at [Time] Timestamp of when the record was last updated
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Stigg
|
|
4
|
+
module Models
|
|
5
|
+
module V1
|
|
6
|
+
module Events
|
|
7
|
+
# @see Stigg::Resources::V1::Events::Plans#create
|
|
8
|
+
class PlanCreateParams < Stigg::Internal::Type::BaseModel
|
|
9
|
+
extend Stigg::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Stigg::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
# @!attribute id
|
|
13
|
+
# The unique identifier for the entity
|
|
14
|
+
#
|
|
15
|
+
# @return [String]
|
|
16
|
+
required :id, String
|
|
17
|
+
|
|
18
|
+
# @!attribute display_name
|
|
19
|
+
# The display name of the package
|
|
20
|
+
#
|
|
21
|
+
# @return [String]
|
|
22
|
+
required :display_name, String, api_name: :displayName
|
|
23
|
+
|
|
24
|
+
# @!attribute product_id
|
|
25
|
+
# The product ID to associate the plan with
|
|
26
|
+
#
|
|
27
|
+
# @return [String]
|
|
28
|
+
required :product_id, String, api_name: :productId
|
|
29
|
+
|
|
30
|
+
# @!attribute billing_id
|
|
31
|
+
# The unique identifier for the entity in the billing provider
|
|
32
|
+
#
|
|
33
|
+
# @return [String, nil]
|
|
34
|
+
optional :billing_id, String, api_name: :billingId, nil?: true
|
|
35
|
+
|
|
36
|
+
# @!attribute description
|
|
37
|
+
# The description of the package
|
|
38
|
+
#
|
|
39
|
+
# @return [String, nil]
|
|
40
|
+
optional :description, String, nil?: true
|
|
41
|
+
|
|
42
|
+
# @!attribute metadata
|
|
43
|
+
# Metadata associated with the entity
|
|
44
|
+
#
|
|
45
|
+
# @return [Hash{Symbol=>String}, nil]
|
|
46
|
+
optional :metadata, Stigg::Internal::Type::HashOf[String]
|
|
47
|
+
|
|
48
|
+
# @!attribute parent_plan_id
|
|
49
|
+
# The ID of the parent plan, if applicable
|
|
50
|
+
#
|
|
51
|
+
# @return [String, nil]
|
|
52
|
+
optional :parent_plan_id, String, api_name: :parentPlanId, nil?: true
|
|
53
|
+
|
|
54
|
+
# @!attribute pricing_type
|
|
55
|
+
# The pricing type of the package
|
|
56
|
+
#
|
|
57
|
+
# @return [Symbol, Stigg::Models::V1::Events::PlanCreateParams::PricingType, nil]
|
|
58
|
+
optional :pricing_type,
|
|
59
|
+
enum: -> { Stigg::V1::Events::PlanCreateParams::PricingType },
|
|
60
|
+
api_name: :pricingType,
|
|
61
|
+
nil?: true
|
|
62
|
+
|
|
63
|
+
# @!attribute status
|
|
64
|
+
# The status of the package
|
|
65
|
+
#
|
|
66
|
+
# @return [Symbol, Stigg::Models::V1::Events::PlanCreateParams::Status, nil]
|
|
67
|
+
optional :status, enum: -> { Stigg::V1::Events::PlanCreateParams::Status }
|
|
68
|
+
|
|
69
|
+
# @!method initialize(id:, display_name:, product_id:, billing_id: nil, description: nil, metadata: nil, parent_plan_id: nil, pricing_type: nil, status: nil, request_options: {})
|
|
70
|
+
# @param id [String] The unique identifier for the entity
|
|
71
|
+
#
|
|
72
|
+
# @param display_name [String] The display name of the package
|
|
73
|
+
#
|
|
74
|
+
# @param product_id [String] The product ID to associate the plan with
|
|
75
|
+
#
|
|
76
|
+
# @param billing_id [String, nil] The unique identifier for the entity in the billing provider
|
|
77
|
+
#
|
|
78
|
+
# @param description [String, nil] The description of the package
|
|
79
|
+
#
|
|
80
|
+
# @param metadata [Hash{Symbol=>String}] Metadata associated with the entity
|
|
81
|
+
#
|
|
82
|
+
# @param parent_plan_id [String, nil] The ID of the parent plan, if applicable
|
|
83
|
+
#
|
|
84
|
+
# @param pricing_type [Symbol, Stigg::Models::V1::Events::PlanCreateParams::PricingType, nil] The pricing type of the package
|
|
85
|
+
#
|
|
86
|
+
# @param status [Symbol, Stigg::Models::V1::Events::PlanCreateParams::Status] The status of the package
|
|
87
|
+
#
|
|
88
|
+
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
|
|
89
|
+
|
|
90
|
+
# The pricing type of the package
|
|
91
|
+
module PricingType
|
|
92
|
+
extend Stigg::Internal::Type::Enum
|
|
93
|
+
|
|
94
|
+
FREE = :FREE
|
|
95
|
+
PAID = :PAID
|
|
96
|
+
CUSTOM = :CUSTOM
|
|
97
|
+
|
|
98
|
+
# @!method self.values
|
|
99
|
+
# @return [Array<Symbol>]
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
# The status of the package
|
|
103
|
+
module Status
|
|
104
|
+
extend Stigg::Internal::Type::Enum
|
|
105
|
+
|
|
106
|
+
DRAFT = :DRAFT
|
|
107
|
+
PUBLISHED = :PUBLISHED
|
|
108
|
+
ARCHIVED = :ARCHIVED
|
|
109
|
+
|
|
110
|
+
# @!method self.values
|
|
111
|
+
# @return [Array<Symbol>]
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
end
|