stigg 0.1.0.pre.alpha.9 → 0.1.0.pre.alpha.10
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 +14 -0
- data/README.md +1 -1
- data/lib/stigg/models/v1/{events/addon_list_addons_response.rb → addon.rb} +30 -19
- data/lib/stigg/models/v1/addon_archive_params.rb +16 -0
- data/lib/stigg/models/v1/addon_create_draft_params.rb +16 -0
- data/lib/stigg/models/v1/addon_create_params.rb +115 -0
- data/lib/stigg/models/v1/addon_list_params.rb +101 -0
- data/lib/stigg/models/v1/addon_list_response.rb +196 -0
- data/lib/stigg/models/v1/addon_publish_params.rb +37 -0
- data/lib/stigg/models/v1/addon_publish_response.rb +32 -0
- data/lib/stigg/models/v1/addon_remove_draft_params.rb +16 -0
- data/lib/stigg/models/v1/addon_remove_draft_response.rb +32 -0
- data/lib/stigg/models/v1/addon_retrieve_params.rb +16 -0
- data/lib/stigg/models/v1/addon_set_pricing_params.rb +16 -0
- data/lib/stigg/models/v1/addon_update_params.rb +64 -0
- data/lib/stigg/models/v1/addons/addon_package_entitlement.rb +396 -0
- data/lib/stigg/models/v1/addons/entitlement_create_params.rb +471 -0
- data/lib/stigg/models/v1/addons/entitlement_create_response.rb +383 -0
- data/lib/stigg/models/v1/addons/entitlement_delete_params.rb +24 -0
- data/lib/stigg/models/v1/{events/addon_archive_addon_params.rb → addons/entitlement_list_params.rb} +3 -3
- data/lib/stigg/models/v1/addons/entitlement_list_response.rb +418 -0
- data/lib/stigg/models/v1/addons/entitlement_update_params.rb +443 -0
- data/lib/stigg/models/v1/{events/feature_list_features_response.rb → feature.rb} +40 -31
- data/lib/stigg/models/v1/feature_archive_feature_params.rb +16 -0
- data/lib/stigg/models/v1/feature_create_feature_params.rb +224 -0
- data/lib/stigg/models/v1/feature_list_features_params.rb +117 -0
- data/lib/stigg/models/v1/feature_list_features_response.rb +241 -0
- data/lib/stigg/models/v1/feature_retrieve_feature_params.rb +16 -0
- data/lib/stigg/models/v1/feature_unarchive_feature_params.rb +16 -0
- data/lib/stigg/models/v1/feature_update_feature_params.rb +265 -0
- data/lib/stigg/models/v1/{events/plan_list_response.rb → plan.rb} +46 -37
- data/lib/stigg/models/v1/plan_archive_params.rb +16 -0
- data/lib/stigg/models/v1/plan_create_draft_params.rb +16 -0
- data/lib/stigg/models/v1/plan_create_params.rb +214 -0
- data/lib/stigg/models/v1/plan_list_params.rb +101 -0
- data/lib/stigg/models/v1/plan_list_response.rb +298 -0
- data/lib/stigg/models/v1/plan_publish_params.rb +37 -0
- data/lib/stigg/models/v1/plan_publish_response.rb +32 -0
- data/lib/stigg/models/v1/plan_remove_draft_params.rb +16 -0
- data/lib/stigg/models/v1/plan_remove_draft_response.rb +32 -0
- data/lib/stigg/models/v1/plan_retrieve_params.rb +16 -0
- data/lib/stigg/models/v1/plan_set_pricing_params.rb +16 -0
- data/lib/stigg/models/v1/plan_update_params.rb +165 -0
- data/lib/stigg/models/v1/plans/entitlement_create_params.rb +470 -0
- data/lib/stigg/models/v1/plans/entitlement_create_response.rb +383 -0
- data/lib/stigg/models/v1/plans/entitlement_delete_params.rb +24 -0
- data/lib/stigg/models/v1/{events/plan_retrieve_params.rb → plans/entitlement_list_params.rb} +3 -3
- data/lib/stigg/models/v1/plans/entitlement_list_response.rb +418 -0
- data/lib/stigg/models/v1/plans/entitlement_update_params.rb +443 -0
- data/lib/stigg/models/v1/plans/plan_entitlement.rb +392 -0
- data/lib/stigg/models/v1/{product_archive_product_response.rb → product.rb} +28 -27
- data/lib/stigg/models/v1/set_package_pricing.rb +2061 -0
- data/lib/stigg/models/v1/set_package_pricing_response.rb +59 -0
- data/lib/stigg/resources/v1/addons/entitlements.rb +121 -0
- data/lib/stigg/resources/v1/addons.rb +265 -0
- data/lib/stigg/resources/v1/events.rb +0 -12
- data/lib/stigg/resources/v1/features.rb +198 -0
- data/lib/stigg/resources/v1/plans/entitlements.rb +121 -0
- data/lib/stigg/resources/v1/plans.rb +270 -0
- data/lib/stigg/resources/v1/products.rb +10 -10
- data/lib/stigg/resources/v1.rb +12 -0
- data/lib/stigg/version.rb +1 -1
- data/lib/stigg.rb +56 -43
- data/rbi/stigg/models/v1/{events/addon_list_addons_response.rbi → addon.rbi} +54 -94
- data/rbi/stigg/models/v1/addon_archive_params.rbi +29 -0
- data/rbi/stigg/models/v1/addon_create_draft_params.rbi +29 -0
- data/rbi/stigg/models/v1/addon_create_params.rbi +187 -0
- data/rbi/stigg/models/v1/addon_list_params.rbi +165 -0
- data/rbi/stigg/models/v1/addon_list_response.rbi +332 -0
- data/rbi/stigg/models/v1/addon_publish_params.rbi +79 -0
- data/rbi/stigg/models/v1/addon_publish_response.rbi +69 -0
- data/rbi/stigg/models/v1/addon_remove_draft_params.rbi +29 -0
- data/rbi/stigg/models/v1/addon_remove_draft_response.rbi +69 -0
- data/rbi/stigg/models/v1/addon_retrieve_params.rbi +29 -0
- data/rbi/stigg/models/v1/addon_set_pricing_params.rbi +29 -0
- data/rbi/stigg/models/v1/addon_update_params.rbi +91 -0
- data/rbi/stigg/models/v1/addons/addon_package_entitlement.rbi +786 -0
- data/rbi/stigg/models/v1/addons/entitlement_create_params.rbi +1096 -0
- data/rbi/stigg/models/v1/addons/entitlement_create_response.rbi +787 -0
- data/rbi/stigg/models/v1/addons/entitlement_delete_params.rbi +42 -0
- data/rbi/stigg/models/v1/{events/addon_archive_addon_params.rbi → addons/entitlement_list_params.rbi} +3 -3
- data/rbi/stigg/models/v1/addons/entitlement_list_response.rbi +851 -0
- data/rbi/stigg/models/v1/addons/entitlement_update_params.rbi +1046 -0
- data/rbi/stigg/models/v1/{events/feature_list_features_response.rbi → feature.rbi} +69 -104
- data/rbi/stigg/models/v1/feature_archive_feature_params.rbi +32 -0
- data/rbi/stigg/models/v1/feature_create_feature_params.rbi +484 -0
- data/rbi/stigg/models/v1/feature_list_features_params.rbi +194 -0
- data/rbi/stigg/models/v1/feature_list_features_response.rbi +453 -0
- data/rbi/stigg/models/v1/feature_retrieve_feature_params.rbi +32 -0
- data/rbi/stigg/models/v1/feature_unarchive_feature_params.rbi +32 -0
- data/rbi/stigg/models/v1/feature_update_feature_params.rbi +658 -0
- data/rbi/stigg/models/v1/{events/plan_list_response.rbi → plan.rbi} +78 -134
- data/rbi/stigg/models/v1/plan_archive_params.rbi +29 -0
- data/rbi/stigg/models/v1/plan_create_draft_params.rbi +29 -0
- data/rbi/stigg/models/v1/plan_create_params.rbi +404 -0
- data/rbi/stigg/models/v1/plan_list_params.rbi +165 -0
- data/rbi/stigg/models/v1/plan_list_response.rbi +562 -0
- data/rbi/stigg/models/v1/plan_publish_params.rbi +79 -0
- data/rbi/stigg/models/v1/plan_publish_response.rbi +69 -0
- data/rbi/stigg/models/v1/plan_remove_draft_params.rbi +29 -0
- data/rbi/stigg/models/v1/plan_remove_draft_response.rbi +69 -0
- data/rbi/stigg/models/v1/plan_retrieve_params.rbi +29 -0
- data/rbi/stigg/models/v1/plan_set_pricing_params.rbi +29 -0
- data/rbi/stigg/models/v1/plan_update_params.rbi +317 -0
- data/rbi/stigg/models/v1/plans/entitlement_create_params.rbi +1096 -0
- data/rbi/stigg/models/v1/plans/entitlement_create_response.rbi +787 -0
- data/rbi/stigg/models/v1/plans/entitlement_delete_params.rbi +42 -0
- data/rbi/stigg/models/v1/{events/plan_retrieve_params.rbi → plans/entitlement_list_params.rbi} +3 -3
- data/rbi/stigg/models/v1/plans/entitlement_list_response.rbi +851 -0
- data/rbi/stigg/models/v1/plans/entitlement_update_params.rbi +1045 -0
- data/rbi/stigg/models/v1/plans/plan_entitlement.rbi +775 -0
- data/rbi/stigg/models/v1/{product_create_product_response.rbi → product.rbi} +44 -86
- data/rbi/stigg/models/v1/set_package_pricing.rbi +7071 -0
- data/rbi/stigg/models/v1/set_package_pricing_response.rbi +134 -0
- data/rbi/stigg/resources/v1/addons/entitlements.rbi +92 -0
- data/rbi/stigg/resources/v1/addons.rbi +237 -0
- data/rbi/stigg/resources/v1/events.rbi +0 -9
- data/rbi/stigg/resources/v1/features.rbi +192 -0
- data/rbi/stigg/resources/v1/plans/entitlements.rbi +91 -0
- data/rbi/stigg/resources/v1/plans.rbi +247 -0
- data/rbi/stigg/resources/v1/products.rbi +5 -5
- data/rbi/stigg/resources/v1.rbi +9 -0
- data/sig/stigg/models/v1/{events/addon_list_addons_response.rbs → addon.rbs} +30 -22
- data/sig/stigg/models/v1/addon_archive_params.rbs +17 -0
- data/sig/stigg/models/v1/addon_create_draft_params.rbs +17 -0
- data/sig/stigg/models/v1/addon_create_params.rbs +98 -0
- data/sig/stigg/models/v1/addon_list_params.rbs +91 -0
- data/sig/stigg/models/v1/addon_list_response.rbs +149 -0
- data/sig/stigg/models/v1/addon_publish_params.rbs +39 -0
- data/sig/stigg/models/v1/addon_publish_response.rbs +28 -0
- data/sig/stigg/models/v1/addon_remove_draft_params.rbs +17 -0
- data/sig/stigg/models/v1/addon_remove_draft_response.rbs +30 -0
- data/sig/stigg/models/v1/addon_retrieve_params.rbs +17 -0
- data/sig/stigg/models/v1/addon_set_pricing_params.rbs +17 -0
- data/sig/stigg/models/v1/addon_update_params.rbs +57 -0
- data/sig/stigg/models/v1/addons/addon_package_entitlement.rbs +308 -0
- data/sig/stigg/models/v1/addons/entitlement_create_params.rbs +428 -0
- data/sig/stigg/models/v1/addons/entitlement_create_response.rbs +308 -0
- data/sig/stigg/models/v1/addons/entitlement_delete_params.rbs +27 -0
- data/sig/stigg/models/v1/{events/addon_archive_addon_params.rbs → addons/entitlement_list_params.rbs} +3 -3
- data/sig/stigg/models/v1/addons/entitlement_list_response.rbs +325 -0
- data/sig/stigg/models/v1/addons/entitlement_update_params.rbs +412 -0
- data/sig/stigg/models/v1/{events/feature_list_features_response.rbs → feature.rbs} +39 -31
- data/sig/stigg/models/v1/feature_archive_feature_params.rbs +17 -0
- data/sig/stigg/models/v1/feature_create_feature_params.rbs +197 -0
- data/sig/stigg/models/v1/feature_list_features_params.rbs +105 -0
- data/sig/stigg/models/v1/feature_list_features_response.rbs +173 -0
- data/sig/stigg/models/v1/feature_retrieve_feature_params.rbs +17 -0
- data/sig/stigg/models/v1/feature_unarchive_feature_params.rbs +17 -0
- data/sig/stigg/models/v1/feature_update_feature_params.rbs +291 -0
- data/sig/stigg/models/v1/{events/plan_list_response.rbs → plan.rbs} +48 -40
- data/sig/stigg/models/v1/plan_archive_params.rbs +17 -0
- data/sig/stigg/models/v1/plan_create_draft_params.rbs +17 -0
- data/sig/stigg/models/v1/plan_create_params.rbs +169 -0
- data/sig/stigg/models/v1/plan_list_params.rbs +91 -0
- data/sig/stigg/models/v1/plan_list_response.rbs +220 -0
- data/sig/stigg/models/v1/plan_publish_params.rbs +37 -0
- data/sig/stigg/models/v1/plan_publish_response.rbs +28 -0
- data/sig/stigg/models/v1/plan_remove_draft_params.rbs +17 -0
- data/sig/stigg/models/v1/plan_remove_draft_response.rbs +30 -0
- data/sig/stigg/models/v1/plan_retrieve_params.rbs +17 -0
- data/sig/stigg/models/v1/plan_set_pricing_params.rbs +17 -0
- data/sig/stigg/models/v1/plan_update_params.rbs +128 -0
- data/sig/stigg/models/v1/plans/entitlement_create_params.rbs +428 -0
- data/sig/stigg/models/v1/plans/entitlement_create_response.rbs +308 -0
- data/sig/stigg/models/v1/plans/entitlement_delete_params.rbs +27 -0
- data/sig/stigg/models/v1/{events/plan_retrieve_params.rbs → plans/entitlement_list_params.rbs} +3 -3
- data/sig/stigg/models/v1/plans/entitlement_list_response.rbs +325 -0
- data/sig/stigg/models/v1/plans/entitlement_update_params.rbs +412 -0
- data/sig/stigg/models/v1/plans/plan_entitlement.rbs +306 -0
- data/sig/stigg/models/v1/{product_update_product_response.rbs → product.rbs} +31 -36
- data/sig/stigg/models/v1/set_package_pricing.rbs +2813 -0
- data/sig/stigg/models/v1/set_package_pricing_response.rbs +52 -0
- data/sig/stigg/resources/v1/addons/entitlements.rbs +36 -0
- data/sig/stigg/resources/v1/addons.rbs +82 -0
- data/sig/stigg/resources/v1/events.rbs +0 -6
- data/sig/stigg/resources/v1/features.rbs +64 -0
- data/sig/stigg/resources/v1/plans/entitlements.rbs +36 -0
- data/sig/stigg/resources/v1/plans.rbs +84 -0
- data/sig/stigg/resources/v1/products.rbs +5 -5
- data/sig/stigg/resources/v1.rbs +6 -0
- metadata +170 -131
- data/lib/stigg/models/v1/events/addon_archive_addon_response.rb +0 -212
- data/lib/stigg/models/v1/events/addon_create_addon_params.rb +0 -117
- data/lib/stigg/models/v1/events/addon_create_addon_response.rb +0 -212
- data/lib/stigg/models/v1/events/addon_list_addons_params.rb +0 -103
- data/lib/stigg/models/v1/events/addon_publish_addon_params.rb +0 -39
- data/lib/stigg/models/v1/events/addon_publish_addon_response.rb +0 -34
- data/lib/stigg/models/v1/events/addon_retrieve_addon_params.rb +0 -18
- data/lib/stigg/models/v1/events/addon_retrieve_addon_response.rb +0 -213
- data/lib/stigg/models/v1/events/addon_update_addon_params.rb +0 -66
- data/lib/stigg/models/v1/events/addon_update_addon_response.rb +0 -212
- data/lib/stigg/models/v1/events/addons/draft_create_addon_draft_params.rb +0 -20
- data/lib/stigg/models/v1/events/addons/draft_create_addon_draft_response.rb +0 -216
- data/lib/stigg/models/v1/events/addons/draft_remove_addon_draft_params.rb +0 -20
- data/lib/stigg/models/v1/events/addons/draft_remove_addon_draft_response.rb +0 -36
- data/lib/stigg/models/v1/events/feature_archive_feature_params.rb +0 -18
- data/lib/stigg/models/v1/events/feature_archive_feature_response.rb +0 -258
- data/lib/stigg/models/v1/events/feature_create_feature_params.rb +0 -224
- data/lib/stigg/models/v1/events/feature_create_feature_response.rb +0 -258
- data/lib/stigg/models/v1/events/feature_list_features_params.rb +0 -119
- data/lib/stigg/models/v1/events/feature_retrieve_feature_params.rb +0 -18
- data/lib/stigg/models/v1/events/feature_retrieve_feature_response.rb +0 -258
- data/lib/stigg/models/v1/events/feature_unarchive_feature_params.rb +0 -18
- data/lib/stigg/models/v1/events/feature_unarchive_feature_response.rb +0 -258
- data/lib/stigg/models/v1/events/feature_update_feature_params.rb +0 -268
- data/lib/stigg/models/v1/events/feature_update_feature_response.rb +0 -258
- data/lib/stigg/models/v1/events/plan_create_params.rb +0 -220
- data/lib/stigg/models/v1/events/plan_create_response.rb +0 -317
- data/lib/stigg/models/v1/events/plan_list_params.rb +0 -103
- data/lib/stigg/models/v1/events/plan_retrieve_response.rb +0 -317
- data/lib/stigg/models/v1/product_create_product_response.rb +0 -223
- data/lib/stigg/models/v1/product_duplicate_product_response.rb +0 -223
- data/lib/stigg/models/v1/product_unarchive_product_response.rb +0 -223
- data/lib/stigg/models/v1/product_update_product_response.rb +0 -223
- data/lib/stigg/resources/v1/events/addons/draft.rb +0 -60
- data/lib/stigg/resources/v1/events/addons.rb +0 -193
- data/lib/stigg/resources/v1/events/features.rb +0 -200
- data/lib/stigg/resources/v1/events/plans.rb +0 -112
- data/rbi/stigg/models/v1/events/addon_archive_addon_response.rbi +0 -396
- data/rbi/stigg/models/v1/events/addon_create_addon_params.rbi +0 -222
- data/rbi/stigg/models/v1/events/addon_create_addon_response.rbi +0 -396
- data/rbi/stigg/models/v1/events/addon_list_addons_params.rbi +0 -180
- data/rbi/stigg/models/v1/events/addon_publish_addon_params.rbi +0 -91
- data/rbi/stigg/models/v1/events/addon_publish_addon_response.rbi +0 -77
- data/rbi/stigg/models/v1/events/addon_retrieve_addon_params.rbi +0 -34
- data/rbi/stigg/models/v1/events/addon_retrieve_addon_response.rbi +0 -397
- data/rbi/stigg/models/v1/events/addon_update_addon_params.rbi +0 -96
- data/rbi/stigg/models/v1/events/addon_update_addon_response.rbi +0 -396
- data/rbi/stigg/models/v1/events/addons/draft_create_addon_draft_params.rbi +0 -36
- data/rbi/stigg/models/v1/events/addons/draft_create_addon_draft_response.rbi +0 -401
- data/rbi/stigg/models/v1/events/addons/draft_remove_addon_draft_params.rbi +0 -36
- data/rbi/stigg/models/v1/events/addons/draft_remove_addon_draft_response.rbi +0 -82
- data/rbi/stigg/models/v1/events/feature_archive_feature_params.rbi +0 -34
- data/rbi/stigg/models/v1/events/feature_archive_feature_response.rbi +0 -505
- data/rbi/stigg/models/v1/events/feature_create_feature_params.rbi +0 -498
- data/rbi/stigg/models/v1/events/feature_create_feature_response.rbi +0 -505
- data/rbi/stigg/models/v1/events/feature_list_features_params.rbi +0 -203
- data/rbi/stigg/models/v1/events/feature_retrieve_feature_params.rbi +0 -34
- data/rbi/stigg/models/v1/events/feature_retrieve_feature_response.rbi +0 -505
- data/rbi/stigg/models/v1/events/feature_unarchive_feature_params.rbi +0 -34
- data/rbi/stigg/models/v1/events/feature_unarchive_feature_response.rbi +0 -505
- data/rbi/stigg/models/v1/events/feature_update_feature_params.rbi +0 -676
- data/rbi/stigg/models/v1/events/feature_update_feature_response.rbi +0 -505
- data/rbi/stigg/models/v1/events/plan_create_params.rbi +0 -450
- data/rbi/stigg/models/v1/events/plan_create_response.rbi +0 -626
- data/rbi/stigg/models/v1/events/plan_list_params.rbi +0 -173
- data/rbi/stigg/models/v1/events/plan_retrieve_response.rbi +0 -628
- data/rbi/stigg/models/v1/product_archive_product_response.rbi +0 -416
- data/rbi/stigg/models/v1/product_duplicate_product_response.rbi +0 -420
- data/rbi/stigg/models/v1/product_unarchive_product_response.rbi +0 -420
- data/rbi/stigg/models/v1/product_update_product_response.rbi +0 -416
- data/rbi/stigg/resources/v1/events/addons/draft.rbi +0 -50
- data/rbi/stigg/resources/v1/events/addons.rbi +0 -175
- data/rbi/stigg/resources/v1/events/features.rbi +0 -198
- data/rbi/stigg/resources/v1/events/plans.rbi +0 -111
- data/sig/stigg/models/v1/events/addon_archive_addon_response.rbs +0 -166
- data/sig/stigg/models/v1/events/addon_create_addon_params.rbs +0 -100
- data/sig/stigg/models/v1/events/addon_create_addon_response.rbs +0 -166
- data/sig/stigg/models/v1/events/addon_list_addons_params.rbs +0 -98
- data/sig/stigg/models/v1/events/addon_publish_addon_params.rbs +0 -41
- data/sig/stigg/models/v1/events/addon_publish_addon_response.rbs +0 -32
- data/sig/stigg/models/v1/events/addon_retrieve_addon_params.rbs +0 -19
- data/sig/stigg/models/v1/events/addon_retrieve_addon_response.rbs +0 -166
- data/sig/stigg/models/v1/events/addon_update_addon_params.rbs +0 -59
- data/sig/stigg/models/v1/events/addon_update_addon_response.rbs +0 -166
- data/sig/stigg/models/v1/events/addons/draft_create_addon_draft_params.rbs +0 -21
- data/sig/stigg/models/v1/events/addons/draft_create_addon_draft_response.rbs +0 -170
- data/sig/stigg/models/v1/events/addons/draft_remove_addon_draft_params.rbs +0 -21
- data/sig/stigg/models/v1/events/addons/draft_remove_addon_draft_response.rbs +0 -36
- data/sig/stigg/models/v1/events/feature_archive_feature_params.rbs +0 -19
- data/sig/stigg/models/v1/events/feature_archive_feature_response.rbs +0 -192
- data/sig/stigg/models/v1/events/feature_create_feature_params.rbs +0 -199
- data/sig/stigg/models/v1/events/feature_create_feature_response.rbs +0 -192
- data/sig/stigg/models/v1/events/feature_list_features_params.rbs +0 -112
- data/sig/stigg/models/v1/events/feature_retrieve_feature_params.rbs +0 -19
- data/sig/stigg/models/v1/events/feature_retrieve_feature_response.rbs +0 -192
- data/sig/stigg/models/v1/events/feature_unarchive_feature_params.rbs +0 -19
- data/sig/stigg/models/v1/events/feature_unarchive_feature_response.rbs +0 -192
- data/sig/stigg/models/v1/events/feature_update_feature_params.rbs +0 -293
- data/sig/stigg/models/v1/events/feature_update_feature_response.rbs +0 -192
- data/sig/stigg/models/v1/events/plan_create_params.rbs +0 -171
- data/sig/stigg/models/v1/events/plan_create_response.rbs +0 -237
- data/sig/stigg/models/v1/events/plan_list_params.rbs +0 -98
- data/sig/stigg/models/v1/events/plan_retrieve_response.rbs +0 -237
- data/sig/stigg/models/v1/product_archive_product_response.rbs +0 -172
- data/sig/stigg/models/v1/product_create_product_response.rbs +0 -172
- data/sig/stigg/models/v1/product_duplicate_product_response.rbs +0 -172
- data/sig/stigg/models/v1/product_unarchive_product_response.rbs +0 -172
- data/sig/stigg/resources/v1/events/addons/draft.rbs +0 -23
- data/sig/stigg/resources/v1/events/addons.rbs +0 -63
- data/sig/stigg/resources/v1/events/features.rbs +0 -66
- data/sig/stigg/resources/v1/events/plans.rbs +0 -40
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 36b7da9b502e8dfeb6e9424a80850e07c6539113d987697fec162e2d2eea7b2a
|
|
4
|
+
data.tar.gz: 362e8a00754278e75d377e3bc31b64750d4c6ed3fbbe52eb09e4f999c9d3d139
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '09e60c94efb4b58267780787e54f65269918393ee5bf57b228fccf46a93f9499fac127309f43789802e9728fe4c84a88702bbedd03d97010b4b0abe3c08f4607'
|
|
7
|
+
data.tar.gz: 8440168a1df4c0a42a575de358fdede814c19da3e6e71589c580303c7dd38f896e9984348a753879689c568c7f2c3ea7f712ed538d20ba728959bffd705c81c1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.10 (2026-02-27)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.9...v0.1.0-alpha.10](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-alpha.9...v0.1.0-alpha.10)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** stainless config updates ([284d27e](https://github.com/stiggio/stigg-ruby/commit/284d27e9a9aafae98308077150fd6e52a87d1f79))
|
|
10
|
+
* **api:** update endpoints and models ([d66e0ab](https://github.com/stiggio/stigg-ruby/commit/d66e0ab83327d49bf46e5176d039887fe62167b4))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* properly mock time in ruby ci tests ([d8380cf](https://github.com/stiggio/stigg-ruby/commit/d8380cf43eb12cba1abb6ce9b4ff246095bcecfd))
|
|
16
|
+
|
|
3
17
|
## 0.1.0-alpha.9 (2026-02-26)
|
|
4
18
|
|
|
5
19
|
Full Changelog: [v0.1.0-alpha.8...v0.1.0-alpha.9](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-alpha.8...v0.1.0-alpha.9)
|
data/README.md
CHANGED
|
@@ -3,9 +3,21 @@
|
|
|
3
3
|
module Stigg
|
|
4
4
|
module Models
|
|
5
5
|
module V1
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
# @see Stigg::Resources::V1::Addons#create
|
|
7
|
+
class Addon < Stigg::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute data
|
|
9
|
+
# Addon configuration object
|
|
10
|
+
#
|
|
11
|
+
# @return [Stigg::Models::V1::Addon::Data]
|
|
12
|
+
required :data, -> { Stigg::V1::Addon::Data }
|
|
13
|
+
|
|
14
|
+
# @!method initialize(data:)
|
|
15
|
+
# Response object
|
|
16
|
+
#
|
|
17
|
+
# @param data [Stigg::Models::V1::Addon::Data] Addon configuration object
|
|
18
|
+
|
|
19
|
+
# @see Stigg::Models::V1::Addon#data
|
|
20
|
+
class Data < Stigg::Internal::Type::BaseModel
|
|
9
21
|
# @!attribute id
|
|
10
22
|
# The unique identifier for the entity
|
|
11
23
|
#
|
|
@@ -45,9 +57,8 @@ module Stigg
|
|
|
45
57
|
# @!attribute entitlements
|
|
46
58
|
# List of entitlements of the package
|
|
47
59
|
#
|
|
48
|
-
# @return [Array<Stigg::Models::V1::
|
|
49
|
-
required :entitlements,
|
|
50
|
-
-> { Stigg::Internal::Type::ArrayOf[Stigg::Models::V1::Events::AddonListAddonsResponse::Entitlement] }
|
|
60
|
+
# @return [Array<Stigg::Models::V1::Addon::Data::Entitlement>]
|
|
61
|
+
required :entitlements, -> { Stigg::Internal::Type::ArrayOf[Stigg::V1::Addon::Data::Entitlement] }
|
|
51
62
|
|
|
52
63
|
# @!attribute is_latest
|
|
53
64
|
# Indicates if the package is the latest version
|
|
@@ -70,9 +81,9 @@ module Stigg
|
|
|
70
81
|
# @!attribute pricing_type
|
|
71
82
|
# The pricing type of the package
|
|
72
83
|
#
|
|
73
|
-
# @return [Symbol, Stigg::Models::V1::
|
|
84
|
+
# @return [Symbol, Stigg::Models::V1::Addon::Data::PricingType, nil]
|
|
74
85
|
required :pricing_type,
|
|
75
|
-
enum: -> { Stigg::
|
|
86
|
+
enum: -> { Stigg::V1::Addon::Data::PricingType },
|
|
76
87
|
api_name: :pricingType,
|
|
77
88
|
nil?: true
|
|
78
89
|
|
|
@@ -85,8 +96,8 @@ module Stigg
|
|
|
85
96
|
# @!attribute status
|
|
86
97
|
# The status of the package
|
|
87
98
|
#
|
|
88
|
-
# @return [Symbol, Stigg::Models::V1::
|
|
89
|
-
required :status, enum: -> { Stigg::
|
|
99
|
+
# @return [Symbol, Stigg::Models::V1::Addon::Data::Status]
|
|
100
|
+
required :status, enum: -> { Stigg::V1::Addon::Data::Status }
|
|
90
101
|
|
|
91
102
|
# @!attribute updated_at
|
|
92
103
|
# Timestamp of when the record was last updated
|
|
@@ -115,7 +126,7 @@ module Stigg
|
|
|
115
126
|
#
|
|
116
127
|
# @param display_name [String] The display name of the package
|
|
117
128
|
#
|
|
118
|
-
# @param entitlements [Array<Stigg::Models::V1::
|
|
129
|
+
# @param entitlements [Array<Stigg::Models::V1::Addon::Data::Entitlement>] List of entitlements of the package
|
|
119
130
|
#
|
|
120
131
|
# @param is_latest [Boolean, nil] Indicates if the package is the latest version
|
|
121
132
|
#
|
|
@@ -123,11 +134,11 @@ module Stigg
|
|
|
123
134
|
#
|
|
124
135
|
# @param metadata [Hash{Symbol=>String}] Metadata associated with the entity
|
|
125
136
|
#
|
|
126
|
-
# @param pricing_type [Symbol, Stigg::Models::V1::
|
|
137
|
+
# @param pricing_type [Symbol, Stigg::Models::V1::Addon::Data::PricingType, nil] The pricing type of the package
|
|
127
138
|
#
|
|
128
139
|
# @param product_id [String] The product id of the package
|
|
129
140
|
#
|
|
130
|
-
# @param status [Symbol, Stigg::Models::V1::
|
|
141
|
+
# @param status [Symbol, Stigg::Models::V1::Addon::Data::Status] The status of the package
|
|
131
142
|
#
|
|
132
143
|
# @param updated_at [Time] Timestamp of when the record was last updated
|
|
133
144
|
#
|
|
@@ -142,17 +153,17 @@ module Stigg
|
|
|
142
153
|
|
|
143
154
|
# @!attribute type
|
|
144
155
|
#
|
|
145
|
-
# @return [Symbol, Stigg::Models::V1::
|
|
146
|
-
required :type, enum: -> { Stigg::
|
|
156
|
+
# @return [Symbol, Stigg::Models::V1::Addon::Data::Entitlement::Type]
|
|
157
|
+
required :type, enum: -> { Stigg::V1::Addon::Data::Entitlement::Type }
|
|
147
158
|
|
|
148
159
|
# @!method initialize(id:, type:)
|
|
149
160
|
# Entitlement reference with type and identifier
|
|
150
161
|
#
|
|
151
162
|
# @param id [String] The unique identifier for the entity
|
|
152
163
|
#
|
|
153
|
-
# @param type [Symbol, Stigg::Models::V1::
|
|
164
|
+
# @param type [Symbol, Stigg::Models::V1::Addon::Data::Entitlement::Type]
|
|
154
165
|
|
|
155
|
-
# @see Stigg::Models::V1::
|
|
166
|
+
# @see Stigg::Models::V1::Addon::Data::Entitlement#type
|
|
156
167
|
module Type
|
|
157
168
|
extend Stigg::Internal::Type::Enum
|
|
158
169
|
|
|
@@ -166,7 +177,7 @@ module Stigg
|
|
|
166
177
|
|
|
167
178
|
# The pricing type of the package
|
|
168
179
|
#
|
|
169
|
-
# @see Stigg::Models::V1::
|
|
180
|
+
# @see Stigg::Models::V1::Addon::Data#pricing_type
|
|
170
181
|
module PricingType
|
|
171
182
|
extend Stigg::Internal::Type::Enum
|
|
172
183
|
|
|
@@ -180,7 +191,7 @@ module Stigg
|
|
|
180
191
|
|
|
181
192
|
# The status of the package
|
|
182
193
|
#
|
|
183
|
-
# @see Stigg::Models::V1::
|
|
194
|
+
# @see Stigg::Models::V1::Addon::Data#status
|
|
184
195
|
module Status
|
|
185
196
|
extend Stigg::Internal::Type::Enum
|
|
186
197
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Stigg
|
|
4
|
+
module Models
|
|
5
|
+
module V1
|
|
6
|
+
# @see Stigg::Resources::V1::Addons#archive
|
|
7
|
+
class AddonArchiveParams < Stigg::Internal::Type::BaseModel
|
|
8
|
+
extend Stigg::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Stigg::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!method initialize(request_options: {})
|
|
12
|
+
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Stigg
|
|
4
|
+
module Models
|
|
5
|
+
module V1
|
|
6
|
+
# @see Stigg::Resources::V1::Addons#create_draft
|
|
7
|
+
class AddonCreateDraftParams < Stigg::Internal::Type::BaseModel
|
|
8
|
+
extend Stigg::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Stigg::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!method initialize(request_options: {})
|
|
12
|
+
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Stigg
|
|
4
|
+
module Models
|
|
5
|
+
module V1
|
|
6
|
+
# @see Stigg::Resources::V1::Addons#create
|
|
7
|
+
class AddonCreateParams < Stigg::Internal::Type::BaseModel
|
|
8
|
+
extend Stigg::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Stigg::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute id
|
|
12
|
+
# The unique identifier for the entity
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :id, String
|
|
16
|
+
|
|
17
|
+
# @!attribute display_name
|
|
18
|
+
# The display name of the package
|
|
19
|
+
#
|
|
20
|
+
# @return [String]
|
|
21
|
+
required :display_name, String, api_name: :displayName
|
|
22
|
+
|
|
23
|
+
# @!attribute product_id
|
|
24
|
+
# The product id of the package
|
|
25
|
+
#
|
|
26
|
+
# @return [String]
|
|
27
|
+
required :product_id, String, api_name: :productId
|
|
28
|
+
|
|
29
|
+
# @!attribute billing_id
|
|
30
|
+
# The unique identifier for the entity in the billing provider
|
|
31
|
+
#
|
|
32
|
+
# @return [String, nil]
|
|
33
|
+
optional :billing_id, String, api_name: :billingId, nil?: true
|
|
34
|
+
|
|
35
|
+
# @!attribute description
|
|
36
|
+
# The description of the package
|
|
37
|
+
#
|
|
38
|
+
# @return [String, nil]
|
|
39
|
+
optional :description, String, nil?: true
|
|
40
|
+
|
|
41
|
+
# @!attribute max_quantity
|
|
42
|
+
# The maximum quantity of this addon that can be added to a subscription
|
|
43
|
+
#
|
|
44
|
+
# @return [Integer, nil]
|
|
45
|
+
optional :max_quantity, Integer, api_name: :maxQuantity, nil?: true
|
|
46
|
+
|
|
47
|
+
# @!attribute metadata
|
|
48
|
+
# Metadata associated with the entity
|
|
49
|
+
#
|
|
50
|
+
# @return [Hash{Symbol=>String}, nil]
|
|
51
|
+
optional :metadata, Stigg::Internal::Type::HashOf[String]
|
|
52
|
+
|
|
53
|
+
# @!attribute pricing_type
|
|
54
|
+
# The pricing type of the package
|
|
55
|
+
#
|
|
56
|
+
# @return [Symbol, Stigg::Models::V1::AddonCreateParams::PricingType, nil]
|
|
57
|
+
optional :pricing_type,
|
|
58
|
+
enum: -> { Stigg::V1::AddonCreateParams::PricingType },
|
|
59
|
+
api_name: :pricingType,
|
|
60
|
+
nil?: true
|
|
61
|
+
|
|
62
|
+
# @!attribute status
|
|
63
|
+
# The status of the package
|
|
64
|
+
#
|
|
65
|
+
# @return [Symbol, Stigg::Models::V1::AddonCreateParams::Status, nil]
|
|
66
|
+
optional :status, enum: -> { Stigg::V1::AddonCreateParams::Status }
|
|
67
|
+
|
|
68
|
+
# @!method initialize(id:, display_name:, product_id:, billing_id: nil, description: nil, max_quantity: nil, metadata: nil, pricing_type: nil, status: nil, request_options: {})
|
|
69
|
+
# @param id [String] The unique identifier for the entity
|
|
70
|
+
#
|
|
71
|
+
# @param display_name [String] The display name of the package
|
|
72
|
+
#
|
|
73
|
+
# @param product_id [String] The product id of the package
|
|
74
|
+
#
|
|
75
|
+
# @param billing_id [String, nil] The unique identifier for the entity in the billing provider
|
|
76
|
+
#
|
|
77
|
+
# @param description [String, nil] The description of the package
|
|
78
|
+
#
|
|
79
|
+
# @param max_quantity [Integer, nil] The maximum quantity of this addon that can be added to a subscription
|
|
80
|
+
#
|
|
81
|
+
# @param metadata [Hash{Symbol=>String}] Metadata associated with the entity
|
|
82
|
+
#
|
|
83
|
+
# @param pricing_type [Symbol, Stigg::Models::V1::AddonCreateParams::PricingType, nil] The pricing type of the package
|
|
84
|
+
#
|
|
85
|
+
# @param status [Symbol, Stigg::Models::V1::AddonCreateParams::Status] The status of the package
|
|
86
|
+
#
|
|
87
|
+
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
|
|
88
|
+
|
|
89
|
+
# The pricing type of the package
|
|
90
|
+
module PricingType
|
|
91
|
+
extend Stigg::Internal::Type::Enum
|
|
92
|
+
|
|
93
|
+
FREE = :FREE
|
|
94
|
+
PAID = :PAID
|
|
95
|
+
CUSTOM = :CUSTOM
|
|
96
|
+
|
|
97
|
+
# @!method self.values
|
|
98
|
+
# @return [Array<Symbol>]
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# The status of the package
|
|
102
|
+
module Status
|
|
103
|
+
extend Stigg::Internal::Type::Enum
|
|
104
|
+
|
|
105
|
+
DRAFT = :DRAFT
|
|
106
|
+
PUBLISHED = :PUBLISHED
|
|
107
|
+
ARCHIVED = :ARCHIVED
|
|
108
|
+
|
|
109
|
+
# @!method self.values
|
|
110
|
+
# @return [Array<Symbol>]
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
end
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Stigg
|
|
4
|
+
module Models
|
|
5
|
+
module V1
|
|
6
|
+
# @see Stigg::Resources::V1::Addons#list
|
|
7
|
+
class AddonListParams < Stigg::Internal::Type::BaseModel
|
|
8
|
+
extend Stigg::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Stigg::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute after
|
|
12
|
+
# Return items that come after this cursor
|
|
13
|
+
#
|
|
14
|
+
# @return [String, nil]
|
|
15
|
+
optional :after, String
|
|
16
|
+
|
|
17
|
+
# @!attribute before
|
|
18
|
+
# Return items that come before this cursor
|
|
19
|
+
#
|
|
20
|
+
# @return [String, nil]
|
|
21
|
+
optional :before, String
|
|
22
|
+
|
|
23
|
+
# @!attribute created_at
|
|
24
|
+
# Filter by creation date using range operators: gt, gte, lt, lte
|
|
25
|
+
#
|
|
26
|
+
# @return [Stigg::Models::V1::AddonListParams::CreatedAt, nil]
|
|
27
|
+
optional :created_at, -> { Stigg::V1::AddonListParams::CreatedAt }
|
|
28
|
+
|
|
29
|
+
# @!attribute limit
|
|
30
|
+
# Maximum number of items to return
|
|
31
|
+
#
|
|
32
|
+
# @return [Integer, nil]
|
|
33
|
+
optional :limit, Integer
|
|
34
|
+
|
|
35
|
+
# @!attribute product_id
|
|
36
|
+
# Filter by product ID
|
|
37
|
+
#
|
|
38
|
+
# @return [String, nil]
|
|
39
|
+
optional :product_id, String
|
|
40
|
+
|
|
41
|
+
# @!attribute status
|
|
42
|
+
# Filter by status. Supports comma-separated values for multiple statuses
|
|
43
|
+
#
|
|
44
|
+
# @return [String, nil]
|
|
45
|
+
optional :status, String
|
|
46
|
+
|
|
47
|
+
# @!method initialize(after: nil, before: nil, created_at: nil, limit: nil, product_id: nil, status: nil, request_options: {})
|
|
48
|
+
# @param after [String] Return items that come after this cursor
|
|
49
|
+
#
|
|
50
|
+
# @param before [String] Return items that come before this cursor
|
|
51
|
+
#
|
|
52
|
+
# @param created_at [Stigg::Models::V1::AddonListParams::CreatedAt] Filter by creation date using range operators: gt, gte, lt, lte
|
|
53
|
+
#
|
|
54
|
+
# @param limit [Integer] Maximum number of items to return
|
|
55
|
+
#
|
|
56
|
+
# @param product_id [String] Filter by product ID
|
|
57
|
+
#
|
|
58
|
+
# @param status [String] Filter by status. Supports comma-separated values for multiple statuses
|
|
59
|
+
#
|
|
60
|
+
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
|
|
61
|
+
|
|
62
|
+
class CreatedAt < Stigg::Internal::Type::BaseModel
|
|
63
|
+
# @!attribute gt
|
|
64
|
+
# Greater than the specified createdAt value
|
|
65
|
+
#
|
|
66
|
+
# @return [Time, nil]
|
|
67
|
+
optional :gt, Time
|
|
68
|
+
|
|
69
|
+
# @!attribute gte
|
|
70
|
+
# Greater than or equal to the specified createdAt value
|
|
71
|
+
#
|
|
72
|
+
# @return [Time, nil]
|
|
73
|
+
optional :gte, Time
|
|
74
|
+
|
|
75
|
+
# @!attribute lt
|
|
76
|
+
# Less than the specified createdAt value
|
|
77
|
+
#
|
|
78
|
+
# @return [Time, nil]
|
|
79
|
+
optional :lt, Time
|
|
80
|
+
|
|
81
|
+
# @!attribute lte
|
|
82
|
+
# Less than or equal to the specified createdAt value
|
|
83
|
+
#
|
|
84
|
+
# @return [Time, nil]
|
|
85
|
+
optional :lte, Time
|
|
86
|
+
|
|
87
|
+
# @!method initialize(gt: nil, gte: nil, lt: nil, lte: nil)
|
|
88
|
+
# Filter by creation date using range operators: gt, gte, lt, lte
|
|
89
|
+
#
|
|
90
|
+
# @param gt [Time] Greater than the specified createdAt value
|
|
91
|
+
#
|
|
92
|
+
# @param gte [Time] Greater than or equal to the specified createdAt value
|
|
93
|
+
#
|
|
94
|
+
# @param lt [Time] Less than the specified createdAt value
|
|
95
|
+
#
|
|
96
|
+
# @param lte [Time] Less than or equal to the specified createdAt value
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
end
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Stigg
|
|
4
|
+
module Models
|
|
5
|
+
module V1
|
|
6
|
+
# @see Stigg::Resources::V1::Addons#list
|
|
7
|
+
class AddonListResponse < Stigg::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute id
|
|
9
|
+
# The unique identifier for the entity
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
required :id, String
|
|
13
|
+
|
|
14
|
+
# @!attribute billing_id
|
|
15
|
+
# The unique identifier for the entity in the billing provider
|
|
16
|
+
#
|
|
17
|
+
# @return [String, nil]
|
|
18
|
+
required :billing_id, String, api_name: :billingId, nil?: true
|
|
19
|
+
|
|
20
|
+
# @!attribute created_at
|
|
21
|
+
# Timestamp of when the record was created
|
|
22
|
+
#
|
|
23
|
+
# @return [Time]
|
|
24
|
+
required :created_at, Time, api_name: :createdAt
|
|
25
|
+
|
|
26
|
+
# @!attribute dependencies
|
|
27
|
+
# List of addons the addon is dependant on
|
|
28
|
+
#
|
|
29
|
+
# @return [Array<String>, nil]
|
|
30
|
+
required :dependencies, Stigg::Internal::Type::ArrayOf[String], nil?: true
|
|
31
|
+
|
|
32
|
+
# @!attribute description
|
|
33
|
+
# The description of the package
|
|
34
|
+
#
|
|
35
|
+
# @return [String, nil]
|
|
36
|
+
required :description, String, nil?: true
|
|
37
|
+
|
|
38
|
+
# @!attribute display_name
|
|
39
|
+
# The display name of the package
|
|
40
|
+
#
|
|
41
|
+
# @return [String]
|
|
42
|
+
required :display_name, String, api_name: :displayName
|
|
43
|
+
|
|
44
|
+
# @!attribute entitlements
|
|
45
|
+
# List of entitlements of the package
|
|
46
|
+
#
|
|
47
|
+
# @return [Array<Stigg::Models::V1::AddonListResponse::Entitlement>]
|
|
48
|
+
required :entitlements,
|
|
49
|
+
-> { Stigg::Internal::Type::ArrayOf[Stigg::Models::V1::AddonListResponse::Entitlement] }
|
|
50
|
+
|
|
51
|
+
# @!attribute is_latest
|
|
52
|
+
# Indicates if the package is the latest version
|
|
53
|
+
#
|
|
54
|
+
# @return [Boolean, nil]
|
|
55
|
+
required :is_latest, Stigg::Internal::Type::Boolean, api_name: :isLatest, nil?: true
|
|
56
|
+
|
|
57
|
+
# @!attribute max_quantity
|
|
58
|
+
# The maximum quantity of this addon that can be added to a subscription
|
|
59
|
+
#
|
|
60
|
+
# @return [Integer, nil]
|
|
61
|
+
required :max_quantity, Integer, api_name: :maxQuantity, nil?: true
|
|
62
|
+
|
|
63
|
+
# @!attribute metadata
|
|
64
|
+
# Metadata associated with the entity
|
|
65
|
+
#
|
|
66
|
+
# @return [Hash{Symbol=>String}]
|
|
67
|
+
required :metadata, Stigg::Internal::Type::HashOf[String]
|
|
68
|
+
|
|
69
|
+
# @!attribute pricing_type
|
|
70
|
+
# The pricing type of the package
|
|
71
|
+
#
|
|
72
|
+
# @return [Symbol, Stigg::Models::V1::AddonListResponse::PricingType, nil]
|
|
73
|
+
required :pricing_type,
|
|
74
|
+
enum: -> { Stigg::Models::V1::AddonListResponse::PricingType },
|
|
75
|
+
api_name: :pricingType,
|
|
76
|
+
nil?: true
|
|
77
|
+
|
|
78
|
+
# @!attribute product_id
|
|
79
|
+
# The product id of the package
|
|
80
|
+
#
|
|
81
|
+
# @return [String]
|
|
82
|
+
required :product_id, String, api_name: :productId
|
|
83
|
+
|
|
84
|
+
# @!attribute status
|
|
85
|
+
# The status of the package
|
|
86
|
+
#
|
|
87
|
+
# @return [Symbol, Stigg::Models::V1::AddonListResponse::Status]
|
|
88
|
+
required :status, enum: -> { Stigg::Models::V1::AddonListResponse::Status }
|
|
89
|
+
|
|
90
|
+
# @!attribute updated_at
|
|
91
|
+
# Timestamp of when the record was last updated
|
|
92
|
+
#
|
|
93
|
+
# @return [Time]
|
|
94
|
+
required :updated_at, Time, api_name: :updatedAt
|
|
95
|
+
|
|
96
|
+
# @!attribute version_number
|
|
97
|
+
# The version number of the package
|
|
98
|
+
#
|
|
99
|
+
# @return [Integer]
|
|
100
|
+
required :version_number, Integer, api_name: :versionNumber
|
|
101
|
+
|
|
102
|
+
# @!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:)
|
|
103
|
+
# Addon configuration object
|
|
104
|
+
#
|
|
105
|
+
# @param id [String] The unique identifier for the entity
|
|
106
|
+
#
|
|
107
|
+
# @param billing_id [String, nil] The unique identifier for the entity in the billing provider
|
|
108
|
+
#
|
|
109
|
+
# @param created_at [Time] Timestamp of when the record was created
|
|
110
|
+
#
|
|
111
|
+
# @param dependencies [Array<String>, nil] List of addons the addon is dependant on
|
|
112
|
+
#
|
|
113
|
+
# @param description [String, nil] The description of the package
|
|
114
|
+
#
|
|
115
|
+
# @param display_name [String] The display name of the package
|
|
116
|
+
#
|
|
117
|
+
# @param entitlements [Array<Stigg::Models::V1::AddonListResponse::Entitlement>] List of entitlements of the package
|
|
118
|
+
#
|
|
119
|
+
# @param is_latest [Boolean, nil] Indicates if the package is the latest version
|
|
120
|
+
#
|
|
121
|
+
# @param max_quantity [Integer, nil] The maximum quantity of this addon that can be added to a subscription
|
|
122
|
+
#
|
|
123
|
+
# @param metadata [Hash{Symbol=>String}] Metadata associated with the entity
|
|
124
|
+
#
|
|
125
|
+
# @param pricing_type [Symbol, Stigg::Models::V1::AddonListResponse::PricingType, nil] The pricing type of the package
|
|
126
|
+
#
|
|
127
|
+
# @param product_id [String] The product id of the package
|
|
128
|
+
#
|
|
129
|
+
# @param status [Symbol, Stigg::Models::V1::AddonListResponse::Status] The status of the package
|
|
130
|
+
#
|
|
131
|
+
# @param updated_at [Time] Timestamp of when the record was last updated
|
|
132
|
+
#
|
|
133
|
+
# @param version_number [Integer] The version number of the package
|
|
134
|
+
|
|
135
|
+
class Entitlement < Stigg::Internal::Type::BaseModel
|
|
136
|
+
# @!attribute id
|
|
137
|
+
# The unique identifier for the entity
|
|
138
|
+
#
|
|
139
|
+
# @return [String]
|
|
140
|
+
required :id, String
|
|
141
|
+
|
|
142
|
+
# @!attribute type
|
|
143
|
+
#
|
|
144
|
+
# @return [Symbol, Stigg::Models::V1::AddonListResponse::Entitlement::Type]
|
|
145
|
+
required :type, enum: -> { Stigg::Models::V1::AddonListResponse::Entitlement::Type }
|
|
146
|
+
|
|
147
|
+
# @!method initialize(id:, type:)
|
|
148
|
+
# Entitlement reference with type and identifier
|
|
149
|
+
#
|
|
150
|
+
# @param id [String] The unique identifier for the entity
|
|
151
|
+
#
|
|
152
|
+
# @param type [Symbol, Stigg::Models::V1::AddonListResponse::Entitlement::Type]
|
|
153
|
+
|
|
154
|
+
# @see Stigg::Models::V1::AddonListResponse::Entitlement#type
|
|
155
|
+
module Type
|
|
156
|
+
extend Stigg::Internal::Type::Enum
|
|
157
|
+
|
|
158
|
+
FEATURE = :FEATURE
|
|
159
|
+
CREDIT = :CREDIT
|
|
160
|
+
|
|
161
|
+
# @!method self.values
|
|
162
|
+
# @return [Array<Symbol>]
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# The pricing type of the package
|
|
167
|
+
#
|
|
168
|
+
# @see Stigg::Models::V1::AddonListResponse#pricing_type
|
|
169
|
+
module PricingType
|
|
170
|
+
extend Stigg::Internal::Type::Enum
|
|
171
|
+
|
|
172
|
+
FREE = :FREE
|
|
173
|
+
PAID = :PAID
|
|
174
|
+
CUSTOM = :CUSTOM
|
|
175
|
+
|
|
176
|
+
# @!method self.values
|
|
177
|
+
# @return [Array<Symbol>]
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
# The status of the package
|
|
181
|
+
#
|
|
182
|
+
# @see Stigg::Models::V1::AddonListResponse#status
|
|
183
|
+
module Status
|
|
184
|
+
extend Stigg::Internal::Type::Enum
|
|
185
|
+
|
|
186
|
+
DRAFT = :DRAFT
|
|
187
|
+
PUBLISHED = :PUBLISHED
|
|
188
|
+
ARCHIVED = :ARCHIVED
|
|
189
|
+
|
|
190
|
+
# @!method self.values
|
|
191
|
+
# @return [Array<Symbol>]
|
|
192
|
+
end
|
|
193
|
+
end
|
|
194
|
+
end
|
|
195
|
+
end
|
|
196
|
+
end
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Stigg
|
|
4
|
+
module Models
|
|
5
|
+
module V1
|
|
6
|
+
# @see Stigg::Resources::V1::Addons#publish
|
|
7
|
+
class AddonPublishParams < Stigg::Internal::Type::BaseModel
|
|
8
|
+
extend Stigg::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Stigg::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute migration_type
|
|
12
|
+
# The migration type of the package
|
|
13
|
+
#
|
|
14
|
+
# @return [Symbol, Stigg::Models::V1::AddonPublishParams::MigrationType]
|
|
15
|
+
required :migration_type,
|
|
16
|
+
enum: -> { Stigg::V1::AddonPublishParams::MigrationType },
|
|
17
|
+
api_name: :migrationType
|
|
18
|
+
|
|
19
|
+
# @!method initialize(migration_type:, request_options: {})
|
|
20
|
+
# @param migration_type [Symbol, Stigg::Models::V1::AddonPublishParams::MigrationType] The migration type of the package
|
|
21
|
+
#
|
|
22
|
+
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
|
|
23
|
+
|
|
24
|
+
# The migration type of the package
|
|
25
|
+
module MigrationType
|
|
26
|
+
extend Stigg::Internal::Type::Enum
|
|
27
|
+
|
|
28
|
+
NEW_CUSTOMERS = :NEW_CUSTOMERS
|
|
29
|
+
ALL_CUSTOMERS = :ALL_CUSTOMERS
|
|
30
|
+
|
|
31
|
+
# @!method self.values
|
|
32
|
+
# @return [Array<Symbol>]
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Stigg
|
|
4
|
+
module Models
|
|
5
|
+
module V1
|
|
6
|
+
# @see Stigg::Resources::V1::Addons#publish
|
|
7
|
+
class AddonPublishResponse < Stigg::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute data
|
|
9
|
+
#
|
|
10
|
+
# @return [Stigg::Models::V1::AddonPublishResponse::Data]
|
|
11
|
+
required :data, -> { Stigg::Models::V1::AddonPublishResponse::Data }
|
|
12
|
+
|
|
13
|
+
# @!method initialize(data:)
|
|
14
|
+
# Response containing task ID for publish operation
|
|
15
|
+
#
|
|
16
|
+
# @param data [Stigg::Models::V1::AddonPublishResponse::Data]
|
|
17
|
+
|
|
18
|
+
# @see Stigg::Models::V1::AddonPublishResponse#data
|
|
19
|
+
class Data < Stigg::Internal::Type::BaseModel
|
|
20
|
+
# @!attribute task_id
|
|
21
|
+
# Task ID for tracking the async publish operation
|
|
22
|
+
#
|
|
23
|
+
# @return [String, nil]
|
|
24
|
+
required :task_id, String, api_name: :taskId, nil?: true
|
|
25
|
+
|
|
26
|
+
# @!method initialize(task_id:)
|
|
27
|
+
# @param task_id [String, nil] Task ID for tracking the async publish operation
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|