stigg 0.1.0.pre.beta.28 → 0.1.0.pre.beta.30

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.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/README.md +1 -1
  4. data/lib/stigg/models/v1/addons/addon_package_entitlement.rb +11 -1
  5. data/lib/stigg/models/v1/addons/entitlement_create_params.rb +11 -1
  6. data/lib/stigg/models/v1/addons/entitlement_create_response.rb +11 -1
  7. data/lib/stigg/models/v1/addons/entitlement_list_response.rb +11 -1
  8. data/lib/stigg/models/v1/addons/entitlement_update_params.rb +11 -1
  9. data/lib/stigg/models/v1/plans/entitlement_create_params.rb +11 -1
  10. data/lib/stigg/models/v1/plans/entitlement_create_response.rb +11 -1
  11. data/lib/stigg/models/v1/plans/entitlement_list_response.rb +11 -1
  12. data/lib/stigg/models/v1/plans/entitlement_update_params.rb +11 -1
  13. data/lib/stigg/models/v1/plans/plan_entitlement.rb +11 -1
  14. data/lib/stigg/models/v1/subscription_update_params.rb +9 -1
  15. data/lib/stigg/resources/v1/subscriptions.rb +3 -1
  16. data/lib/stigg/version.rb +1 -1
  17. data/rbi/stigg/models/v1/addons/addon_package_entitlement.rbi +12 -0
  18. data/rbi/stigg/models/v1/addons/entitlement_create_params.rbi +15 -0
  19. data/rbi/stigg/models/v1/addons/entitlement_create_response.rbi +12 -0
  20. data/rbi/stigg/models/v1/addons/entitlement_list_response.rbi +12 -0
  21. data/rbi/stigg/models/v1/addons/entitlement_update_params.rbi +15 -0
  22. data/rbi/stigg/models/v1/plans/entitlement_create_params.rbi +15 -0
  23. data/rbi/stigg/models/v1/plans/entitlement_create_response.rbi +12 -0
  24. data/rbi/stigg/models/v1/plans/entitlement_list_response.rbi +12 -0
  25. data/rbi/stigg/models/v1/plans/entitlement_update_params.rbi +15 -0
  26. data/rbi/stigg/models/v1/plans/plan_entitlement.rbi +12 -0
  27. data/rbi/stigg/models/v1/subscription_update_params.rbi +8 -0
  28. data/rbi/stigg/resources/v1/subscriptions.rbi +3 -0
  29. data/sig/stigg/models/v1/addons/addon_package_entitlement.rbs +5 -0
  30. data/sig/stigg/models/v1/addons/entitlement_create_params.rbs +7 -0
  31. data/sig/stigg/models/v1/addons/entitlement_create_response.rbs +5 -0
  32. data/sig/stigg/models/v1/addons/entitlement_list_response.rbs +5 -0
  33. data/sig/stigg/models/v1/addons/entitlement_update_params.rbs +7 -0
  34. data/sig/stigg/models/v1/plans/entitlement_create_params.rbs +7 -0
  35. data/sig/stigg/models/v1/plans/entitlement_create_response.rbs +5 -0
  36. data/sig/stigg/models/v1/plans/entitlement_list_response.rbs +5 -0
  37. data/sig/stigg/models/v1/plans/entitlement_update_params.rbs +7 -0
  38. data/sig/stigg/models/v1/plans/plan_entitlement.rbs +5 -0
  39. data/sig/stigg/models/v1/subscription_update_params.rbs +5 -0
  40. data/sig/stigg/resources/v1/subscriptions.rbs +1 -0
  41. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c73c17cef006ecff9fbb39d3a535e95dcea78f6707793928877b380668f1e94
4
- data.tar.gz: ea0f64fd84cbff248818bf637243fe53da323d16c5b55988d62edd1cf44d5b53
3
+ metadata.gz: 6e6feb55427e00181b58f2936f8f6620b2949b6d89c3658ae65a924db35dd1cd
4
+ data.tar.gz: e412e91ba4d6119240b0a543a4ee3d6996d153b115b8a54aa4ffa3bf62c13169
5
5
  SHA512:
6
- metadata.gz: 5089cbd835500a5682b8883678e4d0f47b596732669d15b9601f9e9542c7796d32e627c733d307e5a9eee842f628e15f86ec49ed0adca3d43a79aa0a28b48fef
7
- data.tar.gz: 1005f65afda7265a3e7b76431896e7f88190247aa16af7abf8567e5bfe1a4c8625c871aa1cbe3d902cb0b5346d0263d68de3c5bf24b13ef4569677be647d3f5c
6
+ metadata.gz: 6edc943aae83bc076a8c93a7faa9c514f2c1ccf80cc1f78a22c9e9198a37a3db0ced0a090c347dce1f71f3a1d64212e5741fafb32c48a60fed369f8cb47d664b
7
+ data.tar.gz: 4ce1abc4fdcb2d6f163004f5ddd01a0d61cdbb53b5a9be32b5e14f38ec5204c5d00d239ddebf61680362846135babb7594239d3496259cfb6d5ce85e2d6ba59f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-beta.30 (2026-06-23)
4
+
5
+ Full Changelog: [v0.1.0-beta.29...v0.1.0-beta.30](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.29...v0.1.0-beta.30)
6
+
7
+ ### Features
8
+
9
+ * **api:** add has_soft_limit field to credit entitlements in addons/plans ([8a6af40](https://github.com/stiggio/stigg-ruby/commit/8a6af403cc2d9d4be0baf077ac4ad3629d4ec291))
10
+
11
+ ## 0.1.0-beta.29 (2026-06-22)
12
+
13
+ Full Changelog: [v0.1.0-beta.28...v0.1.0-beta.29](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.28...v0.1.0-beta.29)
14
+
15
+ ### Features
16
+
17
+ * **api:** add salesforce_id parameter to subscription update ([4383bca](https://github.com/stiggio/stigg-ruby/commit/4383bcae2efe0749130f80967c661f33b0ed5d98))
18
+
3
19
  ## 0.1.0-beta.28 (2026-06-22)
4
20
 
5
21
  Full Changelog: [v0.1.0-beta.27...v0.1.0-beta.28](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.27...v0.1.0-beta.28)
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.beta.28"
27
+ gem "stigg", "~> 0.1.0.pre.beta.30"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -386,6 +386,14 @@ module Stigg
386
386
  # @return [String, nil]
387
387
  required :display_name_override, String, api_name: :displayNameOverride, nil?: true
388
388
 
389
+ # @!attribute has_soft_limit
390
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
391
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
392
+ # false.
393
+ #
394
+ # @return [Boolean, nil]
395
+ required :has_soft_limit, Stigg::Internal::Type::Boolean, api_name: :hasSoftLimit, nil?: true
396
+
389
397
  # @!attribute hidden_from_widgets
390
398
  # Widget types where this entitlement is hidden
391
399
  #
@@ -434,7 +442,7 @@ module Stigg
434
442
  # @return [String, nil]
435
443
  optional :dependency_feature_id, String, api_name: :dependencyFeatureId, nil?: true
436
444
 
437
- # @!method initialize(id:, amount:, behavior:, cadence:, created_at:, description:, display_name_override:, hidden_from_widgets:, is_custom:, is_granted:, order:, updated_at:, dependency_feature_id: nil, type: :CREDIT)
445
+ # @!method initialize(id:, amount:, behavior:, cadence:, created_at:, description:, display_name_override:, has_soft_limit:, hidden_from_widgets:, is_custom:, is_granted:, order:, updated_at:, dependency_feature_id: nil, type: :CREDIT)
438
446
  # Some parameter documentations has been truncated, see
439
447
  # {Stigg::Models::V1::Addons::AddonPackageEntitlement::Data::Credit} for more
440
448
  # details.
@@ -455,6 +463,8 @@ module Stigg
455
463
  #
456
464
  # @param display_name_override [String, nil] Override display name for the entitlement
457
465
  #
466
+ # @param has_soft_limit [Boolean, nil] Whether the credit wallet is soft-limited. When true, getEntitlement returns has
467
+ #
458
468
  # @param hidden_from_widgets [Array<Symbol, Stigg::Models::V1::Addons::AddonPackageEntitlement::Data::Credit::HiddenFromWidget>] Widget types where this entitlement is hidden
459
469
  #
460
470
  # @param is_custom [Boolean, nil] Whether this is a custom entitlement
@@ -407,6 +407,14 @@ module Stigg
407
407
  # @return [String, nil]
408
408
  optional :display_name_override, String, api_name: :displayNameOverride
409
409
 
410
+ # @!attribute has_soft_limit
411
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
412
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
413
+ # false.
414
+ #
415
+ # @return [Boolean, nil]
416
+ optional :has_soft_limit, Stigg::Internal::Type::Boolean, api_name: :hasSoftLimit
417
+
410
418
  # @!attribute hidden_from_widgets
411
419
  # Widget types where this entitlement is hidden
412
420
  #
@@ -435,7 +443,7 @@ module Stigg
435
443
  # @return [Float, nil]
436
444
  optional :order, Float
437
445
 
438
- # @!method initialize(id:, amount:, cadence:, behavior: nil, dependency_feature_id: nil, description: nil, display_name_override: nil, hidden_from_widgets: nil, is_custom: nil, is_granted: nil, order: nil, type: :CREDIT)
446
+ # @!method initialize(id:, amount:, cadence:, behavior: nil, dependency_feature_id: nil, description: nil, display_name_override: nil, has_soft_limit: nil, hidden_from_widgets: nil, is_custom: nil, is_granted: nil, order: nil, type: :CREDIT)
439
447
  # Some parameter documentations has been truncated, see
440
448
  # {Stigg::Models::V1::Addons::EntitlementCreateParams::Entitlement::Credit} for
441
449
  # more details.
@@ -456,6 +464,8 @@ module Stigg
456
464
  #
457
465
  # @param display_name_override [String] Override display name for the entitlement
458
466
  #
467
+ # @param has_soft_limit [Boolean] Whether the credit wallet is soft-limited. When true, getEntitlement returns has
468
+ #
459
469
  # @param hidden_from_widgets [Array<Symbol, Stigg::Models::V1::Addons::EntitlementCreateParams::Entitlement::Credit::HiddenFromWidget>] Widget types where this entitlement is hidden
460
470
  #
461
471
  # @param is_custom [Boolean] Whether this is a custom entitlement
@@ -376,6 +376,14 @@ module Stigg
376
376
  # @return [String, nil]
377
377
  required :display_name_override, String, api_name: :displayNameOverride, nil?: true
378
378
 
379
+ # @!attribute has_soft_limit
380
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
381
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
382
+ # false.
383
+ #
384
+ # @return [Boolean, nil]
385
+ required :has_soft_limit, Stigg::Internal::Type::Boolean, api_name: :hasSoftLimit, nil?: true
386
+
379
387
  # @!attribute hidden_from_widgets
380
388
  # Widget types where this entitlement is hidden
381
389
  #
@@ -422,7 +430,7 @@ module Stigg
422
430
  # @return [String, nil]
423
431
  optional :dependency_feature_id, String, api_name: :dependencyFeatureId, nil?: true
424
432
 
425
- # @!method initialize(id:, amount:, behavior:, cadence:, created_at:, description:, display_name_override:, hidden_from_widgets:, is_custom:, is_granted:, order:, updated_at:, dependency_feature_id: nil, type: :CREDIT)
433
+ # @!method initialize(id:, amount:, behavior:, cadence:, created_at:, description:, display_name_override:, has_soft_limit:, hidden_from_widgets:, is_custom:, is_granted:, order:, updated_at:, dependency_feature_id: nil, type: :CREDIT)
426
434
  # Some parameter documentations has been truncated, see
427
435
  # {Stigg::Models::V1::Addons::EntitlementCreateResponse::Data::Credit} for more
428
436
  # details.
@@ -443,6 +451,8 @@ module Stigg
443
451
  #
444
452
  # @param display_name_override [String, nil] Override display name for the entitlement
445
453
  #
454
+ # @param has_soft_limit [Boolean, nil] Whether the credit wallet is soft-limited. When true, getEntitlement returns has
455
+ #
446
456
  # @param hidden_from_widgets [Array<Symbol, Stigg::Models::V1::Addons::EntitlementCreateResponse::Data::Credit::HiddenFromWidget>] Widget types where this entitlement is hidden
447
457
  #
448
458
  # @param is_custom [Boolean, nil] Whether this is a custom entitlement
@@ -384,6 +384,14 @@ module Stigg
384
384
  # @return [String, nil]
385
385
  required :display_name_override, String, api_name: :displayNameOverride, nil?: true
386
386
 
387
+ # @!attribute has_soft_limit
388
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
389
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
390
+ # false.
391
+ #
392
+ # @return [Boolean, nil]
393
+ required :has_soft_limit, Stigg::Internal::Type::Boolean, api_name: :hasSoftLimit, nil?: true
394
+
387
395
  # @!attribute hidden_from_widgets
388
396
  # Widget types where this entitlement is hidden
389
397
  #
@@ -430,7 +438,7 @@ module Stigg
430
438
  # @return [String, nil]
431
439
  optional :dependency_feature_id, String, api_name: :dependencyFeatureId, nil?: true
432
440
 
433
- # @!method initialize(id:, amount:, behavior:, cadence:, created_at:, description:, display_name_override:, hidden_from_widgets:, is_custom:, is_granted:, order:, updated_at:, dependency_feature_id: nil, type: :CREDIT)
441
+ # @!method initialize(id:, amount:, behavior:, cadence:, created_at:, description:, display_name_override:, has_soft_limit:, hidden_from_widgets:, is_custom:, is_granted:, order:, updated_at:, dependency_feature_id: nil, type: :CREDIT)
434
442
  # Some parameter documentations has been truncated, see
435
443
  # {Stigg::Models::V1::Addons::EntitlementListResponse::Data::Credit} for more
436
444
  # details.
@@ -451,6 +459,8 @@ module Stigg
451
459
  #
452
460
  # @param display_name_override [String, nil] Override display name for the entitlement
453
461
  #
462
+ # @param has_soft_limit [Boolean, nil] Whether the credit wallet is soft-limited. When true, getEntitlement returns has
463
+ #
454
464
  # @param hidden_from_widgets [Array<Symbol, Stigg::Models::V1::Addons::EntitlementListResponse::Data::Credit::HiddenFromWidget>] Widget types where this entitlement is hidden
455
465
  #
456
466
  # @param is_custom [Boolean, nil] Whether this is a custom entitlement
@@ -396,6 +396,14 @@ module Stigg
396
396
  # @return [String, nil]
397
397
  optional :display_name_override, String, api_name: :displayNameOverride
398
398
 
399
+ # @!attribute has_soft_limit
400
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
401
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
402
+ # false.
403
+ #
404
+ # @return [Boolean, nil]
405
+ optional :has_soft_limit, Stigg::Internal::Type::Boolean, api_name: :hasSoftLimit
406
+
399
407
  # @!attribute hidden_from_widgets
400
408
  # Widget types where this entitlement is hidden
401
409
  #
@@ -424,7 +432,7 @@ module Stigg
424
432
  # @return [Float, nil]
425
433
  optional :order, Float
426
434
 
427
- # @!method initialize(amount: nil, behavior: nil, cadence: nil, dependency_feature_id: nil, description: nil, display_name_override: nil, hidden_from_widgets: nil, is_custom: nil, is_granted: nil, order: nil, type: :CREDIT)
435
+ # @!method initialize(amount: nil, behavior: nil, cadence: nil, dependency_feature_id: nil, description: nil, display_name_override: nil, has_soft_limit: nil, hidden_from_widgets: nil, is_custom: nil, is_granted: nil, order: nil, type: :CREDIT)
428
436
  # Some parameter documentations has been truncated, see
429
437
  # {Stigg::Models::V1::Addons::EntitlementUpdateParams::Body::Credit} for more
430
438
  # details.
@@ -443,6 +451,8 @@ module Stigg
443
451
  #
444
452
  # @param display_name_override [String] Override display name for the entitlement
445
453
  #
454
+ # @param has_soft_limit [Boolean] Whether the credit wallet is soft-limited. When true, getEntitlement returns has
455
+ #
446
456
  # @param hidden_from_widgets [Array<Symbol, Stigg::Models::V1::Addons::EntitlementUpdateParams::Body::Credit::HiddenFromWidget>] Widget types where this entitlement is hidden
447
457
  #
448
458
  # @param is_custom [Boolean] Whether this is a custom entitlement
@@ -406,6 +406,14 @@ module Stigg
406
406
  # @return [String, nil]
407
407
  optional :display_name_override, String, api_name: :displayNameOverride
408
408
 
409
+ # @!attribute has_soft_limit
410
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
411
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
412
+ # false.
413
+ #
414
+ # @return [Boolean, nil]
415
+ optional :has_soft_limit, Stigg::Internal::Type::Boolean, api_name: :hasSoftLimit
416
+
409
417
  # @!attribute hidden_from_widgets
410
418
  # Widget types where this entitlement is hidden
411
419
  #
@@ -434,7 +442,7 @@ module Stigg
434
442
  # @return [Float, nil]
435
443
  optional :order, Float
436
444
 
437
- # @!method initialize(id:, amount:, cadence:, behavior: nil, dependency_feature_id: nil, description: nil, display_name_override: nil, hidden_from_widgets: nil, is_custom: nil, is_granted: nil, order: nil, type: :CREDIT)
445
+ # @!method initialize(id:, amount:, cadence:, behavior: nil, dependency_feature_id: nil, description: nil, display_name_override: nil, has_soft_limit: nil, hidden_from_widgets: nil, is_custom: nil, is_granted: nil, order: nil, type: :CREDIT)
438
446
  # Some parameter documentations has been truncated, see
439
447
  # {Stigg::Models::V1::Plans::EntitlementCreateParams::Entitlement::Credit} for
440
448
  # more details.
@@ -455,6 +463,8 @@ module Stigg
455
463
  #
456
464
  # @param display_name_override [String] Override display name for the entitlement
457
465
  #
466
+ # @param has_soft_limit [Boolean] Whether the credit wallet is soft-limited. When true, getEntitlement returns has
467
+ #
458
468
  # @param hidden_from_widgets [Array<Symbol, Stigg::Models::V1::Plans::EntitlementCreateParams::Entitlement::Credit::HiddenFromWidget>] Widget types where this entitlement is hidden
459
469
  #
460
470
  # @param is_custom [Boolean] Whether this is a custom entitlement
@@ -376,6 +376,14 @@ module Stigg
376
376
  # @return [String, nil]
377
377
  required :display_name_override, String, api_name: :displayNameOverride, nil?: true
378
378
 
379
+ # @!attribute has_soft_limit
380
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
381
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
382
+ # false.
383
+ #
384
+ # @return [Boolean, nil]
385
+ required :has_soft_limit, Stigg::Internal::Type::Boolean, api_name: :hasSoftLimit, nil?: true
386
+
379
387
  # @!attribute hidden_from_widgets
380
388
  # Widget types where this entitlement is hidden
381
389
  #
@@ -422,7 +430,7 @@ module Stigg
422
430
  # @return [String, nil]
423
431
  optional :dependency_feature_id, String, api_name: :dependencyFeatureId, nil?: true
424
432
 
425
- # @!method initialize(id:, amount:, behavior:, cadence:, created_at:, description:, display_name_override:, hidden_from_widgets:, is_custom:, is_granted:, order:, updated_at:, dependency_feature_id: nil, type: :CREDIT)
433
+ # @!method initialize(id:, amount:, behavior:, cadence:, created_at:, description:, display_name_override:, has_soft_limit:, hidden_from_widgets:, is_custom:, is_granted:, order:, updated_at:, dependency_feature_id: nil, type: :CREDIT)
426
434
  # Some parameter documentations has been truncated, see
427
435
  # {Stigg::Models::V1::Plans::EntitlementCreateResponse::Data::Credit} for more
428
436
  # details.
@@ -443,6 +451,8 @@ module Stigg
443
451
  #
444
452
  # @param display_name_override [String, nil] Override display name for the entitlement
445
453
  #
454
+ # @param has_soft_limit [Boolean, nil] Whether the credit wallet is soft-limited. When true, getEntitlement returns has
455
+ #
446
456
  # @param hidden_from_widgets [Array<Symbol, Stigg::Models::V1::Plans::EntitlementCreateResponse::Data::Credit::HiddenFromWidget>] Widget types where this entitlement is hidden
447
457
  #
448
458
  # @param is_custom [Boolean, nil] Whether this is a custom entitlement
@@ -383,6 +383,14 @@ module Stigg
383
383
  # @return [String, nil]
384
384
  required :display_name_override, String, api_name: :displayNameOverride, nil?: true
385
385
 
386
+ # @!attribute has_soft_limit
387
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
388
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
389
+ # false.
390
+ #
391
+ # @return [Boolean, nil]
392
+ required :has_soft_limit, Stigg::Internal::Type::Boolean, api_name: :hasSoftLimit, nil?: true
393
+
386
394
  # @!attribute hidden_from_widgets
387
395
  # Widget types where this entitlement is hidden
388
396
  #
@@ -429,7 +437,7 @@ module Stigg
429
437
  # @return [String, nil]
430
438
  optional :dependency_feature_id, String, api_name: :dependencyFeatureId, nil?: true
431
439
 
432
- # @!method initialize(id:, amount:, behavior:, cadence:, created_at:, description:, display_name_override:, hidden_from_widgets:, is_custom:, is_granted:, order:, updated_at:, dependency_feature_id: nil, type: :CREDIT)
440
+ # @!method initialize(id:, amount:, behavior:, cadence:, created_at:, description:, display_name_override:, has_soft_limit:, hidden_from_widgets:, is_custom:, is_granted:, order:, updated_at:, dependency_feature_id: nil, type: :CREDIT)
433
441
  # Some parameter documentations has been truncated, see
434
442
  # {Stigg::Models::V1::Plans::EntitlementListResponse::Data::Credit} for more
435
443
  # details.
@@ -450,6 +458,8 @@ module Stigg
450
458
  #
451
459
  # @param display_name_override [String, nil] Override display name for the entitlement
452
460
  #
461
+ # @param has_soft_limit [Boolean, nil] Whether the credit wallet is soft-limited. When true, getEntitlement returns has
462
+ #
453
463
  # @param hidden_from_widgets [Array<Symbol, Stigg::Models::V1::Plans::EntitlementListResponse::Data::Credit::HiddenFromWidget>] Widget types where this entitlement is hidden
454
464
  #
455
465
  # @param is_custom [Boolean, nil] Whether this is a custom entitlement
@@ -396,6 +396,14 @@ module Stigg
396
396
  # @return [String, nil]
397
397
  optional :display_name_override, String, api_name: :displayNameOverride
398
398
 
399
+ # @!attribute has_soft_limit
400
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
401
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
402
+ # false.
403
+ #
404
+ # @return [Boolean, nil]
405
+ optional :has_soft_limit, Stigg::Internal::Type::Boolean, api_name: :hasSoftLimit
406
+
399
407
  # @!attribute hidden_from_widgets
400
408
  # Widget types where this entitlement is hidden
401
409
  #
@@ -424,7 +432,7 @@ module Stigg
424
432
  # @return [Float, nil]
425
433
  optional :order, Float
426
434
 
427
- # @!method initialize(amount: nil, behavior: nil, cadence: nil, dependency_feature_id: nil, description: nil, display_name_override: nil, hidden_from_widgets: nil, is_custom: nil, is_granted: nil, order: nil, type: :CREDIT)
435
+ # @!method initialize(amount: nil, behavior: nil, cadence: nil, dependency_feature_id: nil, description: nil, display_name_override: nil, has_soft_limit: nil, hidden_from_widgets: nil, is_custom: nil, is_granted: nil, order: nil, type: :CREDIT)
428
436
  # Some parameter documentations has been truncated, see
429
437
  # {Stigg::Models::V1::Plans::EntitlementUpdateParams::Body::Credit} for more
430
438
  # details.
@@ -443,6 +451,8 @@ module Stigg
443
451
  #
444
452
  # @param display_name_override [String] Override display name for the entitlement
445
453
  #
454
+ # @param has_soft_limit [Boolean] Whether the credit wallet is soft-limited. When true, getEntitlement returns has
455
+ #
446
456
  # @param hidden_from_widgets [Array<Symbol, Stigg::Models::V1::Plans::EntitlementUpdateParams::Body::Credit::HiddenFromWidget>] Widget types where this entitlement is hidden
447
457
  #
448
458
  # @param is_custom [Boolean] Whether this is a custom entitlement
@@ -388,6 +388,14 @@ module Stigg
388
388
  # @return [String, nil]
389
389
  required :display_name_override, String, api_name: :displayNameOverride, nil?: true
390
390
 
391
+ # @!attribute has_soft_limit
392
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
393
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
394
+ # false.
395
+ #
396
+ # @return [Boolean, nil]
397
+ required :has_soft_limit, Stigg::Internal::Type::Boolean, api_name: :hasSoftLimit, nil?: true
398
+
391
399
  # @!attribute hidden_from_widgets
392
400
  # Widget types where this entitlement is hidden
393
401
  #
@@ -436,7 +444,7 @@ module Stigg
436
444
  # @return [String, nil]
437
445
  optional :dependency_feature_id, String, api_name: :dependencyFeatureId, nil?: true
438
446
 
439
- # @!method initialize(id:, amount:, behavior:, cadence:, created_at:, description:, display_name_override:, hidden_from_widgets:, is_custom:, is_granted:, order:, updated_at:, dependency_feature_id: nil, type: :CREDIT)
447
+ # @!method initialize(id:, amount:, behavior:, cadence:, created_at:, description:, display_name_override:, has_soft_limit:, hidden_from_widgets:, is_custom:, is_granted:, order:, updated_at:, dependency_feature_id: nil, type: :CREDIT)
440
448
  # Some parameter documentations has been truncated, see
441
449
  # {Stigg::Models::V1::Plans::PlanEntitlement::Data::Credit} for more details.
442
450
  #
@@ -456,6 +464,8 @@ module Stigg
456
464
  #
457
465
  # @param display_name_override [String, nil] Override display name for the entitlement
458
466
  #
467
+ # @param has_soft_limit [Boolean, nil] Whether the credit wallet is soft-limited. When true, getEntitlement returns has
468
+ #
459
469
  # @param hidden_from_widgets [Array<Symbol, Stigg::Models::V1::Plans::PlanEntitlement::Data::Credit::HiddenFromWidget>] Widget types where this entitlement is hidden
460
470
  #
461
471
  # @param is_custom [Boolean, nil] Whether this is a custom entitlement
@@ -104,6 +104,12 @@ module Stigg
104
104
  # @return [String, nil]
105
105
  optional :promotion_code, String, api_name: :promotionCode
106
106
 
107
+ # @!attribute salesforce_id
108
+ # Salesforce ID
109
+ #
110
+ # @return [String, nil]
111
+ optional :salesforce_id, String, api_name: :salesforceId, nil?: true
112
+
107
113
  # @!attribute schedule_strategy
108
114
  #
109
115
  # @return [Symbol, Stigg::Models::V1::SubscriptionUpdateParams::ScheduleStrategy, nil]
@@ -127,7 +133,7 @@ module Stigg
127
133
  # @return [String, nil]
128
134
  optional :x_environment_id, String
129
135
 
130
- # @!method initialize(id:, addons: nil, applied_coupon: nil, await_payment_confirmation: nil, billing_cycle_anchor: nil, billing_information: nil, billing_period: nil, budget: nil, cancellation_date: nil, charges: nil, entitlements: nil, metadata: nil, minimum_spend: nil, price_overrides: nil, promotion_code: nil, schedule_strategy: nil, trial_end_date: nil, x_account_id: nil, x_environment_id: nil, request_options: {})
136
+ # @!method initialize(id:, addons: nil, applied_coupon: nil, await_payment_confirmation: nil, billing_cycle_anchor: nil, billing_information: nil, billing_period: nil, budget: nil, cancellation_date: nil, charges: nil, entitlements: nil, metadata: nil, minimum_spend: nil, price_overrides: nil, promotion_code: nil, salesforce_id: nil, schedule_strategy: nil, trial_end_date: nil, x_account_id: nil, x_environment_id: nil, request_options: {})
131
137
  # @param id [String]
132
138
  #
133
139
  # @param addons [Array<Stigg::Models::V1::SubscriptionUpdateParams::Addon>]
@@ -158,6 +164,8 @@ module Stigg
158
164
  #
159
165
  # @param promotion_code [String] Promotion code
160
166
  #
167
+ # @param salesforce_id [String, nil] Salesforce ID
168
+ #
161
169
  # @param schedule_strategy [Symbol, Stigg::Models::V1::SubscriptionUpdateParams::ScheduleStrategy]
162
170
  #
163
171
  # @param trial_end_date [Time] Subscription trial end date
@@ -55,7 +55,7 @@ module Stigg
55
55
  # Updates an active subscription's properties including billing period, add-ons,
56
56
  # unit quantities, and discounts.
57
57
  #
58
- # @overload update(id, addons: nil, applied_coupon: nil, await_payment_confirmation: nil, billing_cycle_anchor: nil, billing_information: nil, billing_period: nil, budget: nil, cancellation_date: nil, charges: nil, entitlements: nil, metadata: nil, minimum_spend: nil, price_overrides: nil, promotion_code: nil, schedule_strategy: nil, trial_end_date: nil, x_account_id: nil, x_environment_id: nil, request_options: {})
58
+ # @overload update(id, addons: nil, applied_coupon: nil, await_payment_confirmation: nil, billing_cycle_anchor: nil, billing_information: nil, billing_period: nil, budget: nil, cancellation_date: nil, charges: nil, entitlements: nil, metadata: nil, minimum_spend: nil, price_overrides: nil, promotion_code: nil, salesforce_id: nil, schedule_strategy: nil, trial_end_date: nil, x_account_id: nil, x_environment_id: nil, request_options: {})
59
59
  #
60
60
  # @param id [String] Path param: The unique identifier of the entity
61
61
  #
@@ -87,6 +87,8 @@ module Stigg
87
87
  #
88
88
  # @param promotion_code [String] Body param: Promotion code
89
89
  #
90
+ # @param salesforce_id [String, nil] Body param: Salesforce ID
91
+ #
90
92
  # @param schedule_strategy [Symbol, Stigg::Models::V1::SubscriptionUpdateParams::ScheduleStrategy] Body param
91
93
  #
92
94
  # @param trial_end_date [Time] Body param: Subscription trial end date
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.beta.28"
4
+ VERSION = "0.1.0.pre.beta.30"
5
5
  end
@@ -720,6 +720,12 @@ module Stigg
720
720
  sig { returns(T.nilable(String)) }
721
721
  attr_accessor :display_name_override
722
722
 
723
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
724
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
725
+ # false.
726
+ sig { returns(T.nilable(T::Boolean)) }
727
+ attr_accessor :has_soft_limit
728
+
723
729
  # Widget types where this entitlement is hidden
724
730
  sig do
725
731
  returns(
@@ -770,6 +776,7 @@ module Stigg
770
776
  created_at: Time,
771
777
  description: T.nilable(String),
772
778
  display_name_override: T.nilable(String),
779
+ has_soft_limit: T.nilable(T::Boolean),
773
780
  hidden_from_widgets:
774
781
  T::Array[
775
782
  Stigg::V1::Addons::AddonPackageEntitlement::Data::Credit::HiddenFromWidget::OrSymbol
@@ -797,6 +804,10 @@ module Stigg
797
804
  description:,
798
805
  # Override display name for the entitlement
799
806
  display_name_override:,
807
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
808
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
809
+ # false.
810
+ has_soft_limit:,
800
811
  # Widget types where this entitlement is hidden
801
812
  hidden_from_widgets:,
802
813
  # Whether this is a custom entitlement
@@ -830,6 +841,7 @@ module Stigg
830
841
  created_at: Time,
831
842
  description: T.nilable(String),
832
843
  display_name_override: T.nilable(String),
844
+ has_soft_limit: T.nilable(T::Boolean),
833
845
  hidden_from_widgets:
834
846
  T::Array[
835
847
  Stigg::V1::Addons::AddonPackageEntitlement::Data::Credit::HiddenFromWidget::TaggedSymbol
@@ -860,6 +860,15 @@ module Stigg
860
860
  sig { params(display_name_override: String).void }
861
861
  attr_writer :display_name_override
862
862
 
863
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
864
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
865
+ # false.
866
+ sig { returns(T.nilable(T::Boolean)) }
867
+ attr_reader :has_soft_limit
868
+
869
+ sig { params(has_soft_limit: T::Boolean).void }
870
+ attr_writer :has_soft_limit
871
+
863
872
  # Widget types where this entitlement is hidden
864
873
  sig do
865
874
  returns(
@@ -915,6 +924,7 @@ module Stigg
915
924
  dependency_feature_id: String,
916
925
  description: String,
917
926
  display_name_override: String,
927
+ has_soft_limit: T::Boolean,
918
928
  hidden_from_widgets:
919
929
  T::Array[
920
930
  Stigg::V1::Addons::EntitlementCreateParams::Entitlement::Credit::HiddenFromWidget::OrSymbol
@@ -941,6 +951,10 @@ module Stigg
941
951
  description: nil,
942
952
  # Override display name for the entitlement
943
953
  display_name_override: nil,
954
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
955
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
956
+ # false.
957
+ has_soft_limit: nil,
944
958
  # Widget types where this entitlement is hidden
945
959
  hidden_from_widgets: nil,
946
960
  # Whether this is a custom entitlement
@@ -967,6 +981,7 @@ module Stigg
967
981
  dependency_feature_id: String,
968
982
  description: String,
969
983
  display_name_override: String,
984
+ has_soft_limit: T::Boolean,
970
985
  hidden_from_widgets:
971
986
  T::Array[
972
987
  Stigg::V1::Addons::EntitlementCreateParams::Entitlement::Credit::HiddenFromWidget::OrSymbol
@@ -723,6 +723,12 @@ module Stigg
723
723
  sig { returns(T.nilable(String)) }
724
724
  attr_accessor :display_name_override
725
725
 
726
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
727
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
728
+ # false.
729
+ sig { returns(T.nilable(T::Boolean)) }
730
+ attr_accessor :has_soft_limit
731
+
726
732
  # Widget types where this entitlement is hidden
727
733
  sig do
728
734
  returns(
@@ -773,6 +779,7 @@ module Stigg
773
779
  created_at: Time,
774
780
  description: T.nilable(String),
775
781
  display_name_override: T.nilable(String),
782
+ has_soft_limit: T.nilable(T::Boolean),
776
783
  hidden_from_widgets:
777
784
  T::Array[
778
785
  Stigg::Models::V1::Addons::EntitlementCreateResponse::Data::Credit::HiddenFromWidget::OrSymbol
@@ -800,6 +807,10 @@ module Stigg
800
807
  description:,
801
808
  # Override display name for the entitlement
802
809
  display_name_override:,
810
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
811
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
812
+ # false.
813
+ has_soft_limit:,
803
814
  # Widget types where this entitlement is hidden
804
815
  hidden_from_widgets:,
805
816
  # Whether this is a custom entitlement
@@ -833,6 +844,7 @@ module Stigg
833
844
  created_at: Time,
834
845
  description: T.nilable(String),
835
846
  display_name_override: T.nilable(String),
847
+ has_soft_limit: T.nilable(T::Boolean),
836
848
  hidden_from_widgets:
837
849
  T::Array[
838
850
  Stigg::Models::V1::Addons::EntitlementCreateResponse::Data::Credit::HiddenFromWidget::TaggedSymbol
@@ -747,6 +747,12 @@ module Stigg
747
747
  sig { returns(T.nilable(String)) }
748
748
  attr_accessor :display_name_override
749
749
 
750
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
751
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
752
+ # false.
753
+ sig { returns(T.nilable(T::Boolean)) }
754
+ attr_accessor :has_soft_limit
755
+
750
756
  # Widget types where this entitlement is hidden
751
757
  sig do
752
758
  returns(
@@ -797,6 +803,7 @@ module Stigg
797
803
  created_at: Time,
798
804
  description: T.nilable(String),
799
805
  display_name_override: T.nilable(String),
806
+ has_soft_limit: T.nilable(T::Boolean),
800
807
  hidden_from_widgets:
801
808
  T::Array[
802
809
  Stigg::Models::V1::Addons::EntitlementListResponse::Data::Credit::HiddenFromWidget::OrSymbol
@@ -824,6 +831,10 @@ module Stigg
824
831
  description:,
825
832
  # Override display name for the entitlement
826
833
  display_name_override:,
834
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
835
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
836
+ # false.
837
+ has_soft_limit:,
827
838
  # Widget types where this entitlement is hidden
828
839
  hidden_from_widgets:,
829
840
  # Whether this is a custom entitlement
@@ -857,6 +868,7 @@ module Stigg
857
868
  created_at: Time,
858
869
  description: T.nilable(String),
859
870
  display_name_override: T.nilable(String),
871
+ has_soft_limit: T.nilable(T::Boolean),
860
872
  hidden_from_widgets:
861
873
  T::Array[
862
874
  Stigg::Models::V1::Addons::EntitlementListResponse::Data::Credit::HiddenFromWidget::TaggedSymbol
@@ -858,6 +858,15 @@ module Stigg
858
858
  sig { params(display_name_override: String).void }
859
859
  attr_writer :display_name_override
860
860
 
861
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
862
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
863
+ # false.
864
+ sig { returns(T.nilable(T::Boolean)) }
865
+ attr_reader :has_soft_limit
866
+
867
+ sig { params(has_soft_limit: T::Boolean).void }
868
+ attr_writer :has_soft_limit
869
+
861
870
  # Widget types where this entitlement is hidden
862
871
  sig do
863
872
  returns(
@@ -912,6 +921,7 @@ module Stigg
912
921
  dependency_feature_id: T.nilable(String),
913
922
  description: String,
914
923
  display_name_override: String,
924
+ has_soft_limit: T::Boolean,
915
925
  hidden_from_widgets:
916
926
  T::Array[
917
927
  Stigg::V1::Addons::EntitlementUpdateParams::Body::Credit::HiddenFromWidget::OrSymbol
@@ -936,6 +946,10 @@ module Stigg
936
946
  description: nil,
937
947
  # Override display name for the entitlement
938
948
  display_name_override: nil,
949
+ # Whether the credit wallet is soft-limited. When true, getEntitlement returns
950
+ # hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
951
+ # false.
952
+ has_soft_limit: nil,
939
953
  # Widget types where this entitlement is hidden
940
954
  hidden_from_widgets: nil,
941
955
  # Whether this is a custom entitlement
@@ -961,6 +975,7 @@ module Stigg
961
975
  dependency_feature_id: T.nilable(String),
962
976
  description: String,
963
977
  display_name_override: String,
978
+ has_soft_limit: T::Boolean,
964
979
  hidden_from_widgets:
965
980
  T::Array[
966
981
  Stigg::V1::Addons::EntitlementUpdateParams::Body::Credit::HiddenFromWidget::OrSymbol