stigg-api-client 5.153.0 → 5.163.0

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.
@@ -42,6 +42,12 @@
42
42
  "isDeprecated": false,
43
43
  "deprecationReason": null
44
44
  },
45
+ {
46
+ "name": "EntitlementNotFound",
47
+ "description": "No entitlement was found for the requested feature or currency.",
48
+ "isDeprecated": false,
49
+ "deprecationReason": null
50
+ },
45
51
  {
46
52
  "name": "FeatureNotFound",
47
53
  "description": "The requested feature does not exist or is not defined in the current environment.",
@@ -3610,6 +3616,58 @@
3610
3616
  "name": "ApiKey",
3611
3617
  "description": "API key",
3612
3618
  "fields": [
3619
+ {
3620
+ "name": "description",
3621
+ "description": "The description of the API key",
3622
+ "args": [],
3623
+ "type": {
3624
+ "kind": "SCALAR",
3625
+ "name": "String",
3626
+ "ofType": null
3627
+ },
3628
+ "isDeprecated": false,
3629
+ "deprecationReason": null
3630
+ },
3631
+ {
3632
+ "name": "displayName",
3633
+ "description": "The display name of the API key",
3634
+ "args": [],
3635
+ "type": {
3636
+ "kind": "SCALAR",
3637
+ "name": "String",
3638
+ "ofType": null
3639
+ },
3640
+ "isDeprecated": false,
3641
+ "deprecationReason": null
3642
+ },
3643
+ {
3644
+ "name": "environmentId",
3645
+ "description": "The unique identifier for the environment",
3646
+ "args": [],
3647
+ "type": {
3648
+ "kind": "NON_NULL",
3649
+ "name": null,
3650
+ "ofType": {
3651
+ "kind": "SCALAR",
3652
+ "name": "UUID",
3653
+ "ofType": null
3654
+ }
3655
+ },
3656
+ "isDeprecated": false,
3657
+ "deprecationReason": null
3658
+ },
3659
+ {
3660
+ "name": "expireAt",
3661
+ "description": "The expiration date of the API key",
3662
+ "args": [],
3663
+ "type": {
3664
+ "kind": "SCALAR",
3665
+ "name": "DateTime",
3666
+ "ofType": null
3667
+ },
3668
+ "isDeprecated": false,
3669
+ "deprecationReason": null
3670
+ },
3613
3671
  {
3614
3672
  "name": "id",
3615
3673
  "description": "Unique identifier for the entity",
@@ -3664,6 +3722,65 @@
3664
3722
  "enumValues": null,
3665
3723
  "possibleTypes": null
3666
3724
  },
3725
+ {
3726
+ "kind": "OBJECT",
3727
+ "name": "ApiKeyExpired",
3728
+ "description": null,
3729
+ "fields": [
3730
+ {
3731
+ "name": "apiKeyId",
3732
+ "description": null,
3733
+ "args": [],
3734
+ "type": {
3735
+ "kind": "NON_NULL",
3736
+ "name": null,
3737
+ "ofType": {
3738
+ "kind": "SCALAR",
3739
+ "name": "String",
3740
+ "ofType": null
3741
+ }
3742
+ },
3743
+ "isDeprecated": false,
3744
+ "deprecationReason": null
3745
+ },
3746
+ {
3747
+ "name": "code",
3748
+ "description": null,
3749
+ "args": [],
3750
+ "type": {
3751
+ "kind": "NON_NULL",
3752
+ "name": null,
3753
+ "ofType": {
3754
+ "kind": "SCALAR",
3755
+ "name": "String",
3756
+ "ofType": null
3757
+ }
3758
+ },
3759
+ "isDeprecated": false,
3760
+ "deprecationReason": null
3761
+ },
3762
+ {
3763
+ "name": "isValidationError",
3764
+ "description": null,
3765
+ "args": [],
3766
+ "type": {
3767
+ "kind": "NON_NULL",
3768
+ "name": null,
3769
+ "ofType": {
3770
+ "kind": "SCALAR",
3771
+ "name": "Boolean",
3772
+ "ofType": null
3773
+ }
3774
+ },
3775
+ "isDeprecated": false,
3776
+ "deprecationReason": null
3777
+ }
3778
+ ],
3779
+ "inputFields": null,
3780
+ "interfaces": [],
3781
+ "enumValues": null,
3782
+ "possibleTypes": null
3783
+ },
3667
3784
  {
3668
3785
  "kind": "INPUT_OBJECT",
3669
3786
  "name": "ApiKeyFilter",
@@ -3727,6 +3844,124 @@
3727
3844
  "enumValues": null,
3728
3845
  "possibleTypes": null
3729
3846
  },
3847
+ {
3848
+ "kind": "OBJECT",
3849
+ "name": "ApiKeyHasExpiryDate",
3850
+ "description": null,
3851
+ "fields": [
3852
+ {
3853
+ "name": "apiKeyId",
3854
+ "description": null,
3855
+ "args": [],
3856
+ "type": {
3857
+ "kind": "NON_NULL",
3858
+ "name": null,
3859
+ "ofType": {
3860
+ "kind": "SCALAR",
3861
+ "name": "String",
3862
+ "ofType": null
3863
+ }
3864
+ },
3865
+ "isDeprecated": false,
3866
+ "deprecationReason": null
3867
+ },
3868
+ {
3869
+ "name": "code",
3870
+ "description": null,
3871
+ "args": [],
3872
+ "type": {
3873
+ "kind": "NON_NULL",
3874
+ "name": null,
3875
+ "ofType": {
3876
+ "kind": "SCALAR",
3877
+ "name": "String",
3878
+ "ofType": null
3879
+ }
3880
+ },
3881
+ "isDeprecated": false,
3882
+ "deprecationReason": null
3883
+ },
3884
+ {
3885
+ "name": "isValidationError",
3886
+ "description": null,
3887
+ "args": [],
3888
+ "type": {
3889
+ "kind": "NON_NULL",
3890
+ "name": null,
3891
+ "ofType": {
3892
+ "kind": "SCALAR",
3893
+ "name": "Boolean",
3894
+ "ofType": null
3895
+ }
3896
+ },
3897
+ "isDeprecated": false,
3898
+ "deprecationReason": null
3899
+ }
3900
+ ],
3901
+ "inputFields": null,
3902
+ "interfaces": [],
3903
+ "enumValues": null,
3904
+ "possibleTypes": null
3905
+ },
3906
+ {
3907
+ "kind": "OBJECT",
3908
+ "name": "ApiKeyNotFound",
3909
+ "description": null,
3910
+ "fields": [
3911
+ {
3912
+ "name": "code",
3913
+ "description": null,
3914
+ "args": [],
3915
+ "type": {
3916
+ "kind": "NON_NULL",
3917
+ "name": null,
3918
+ "ofType": {
3919
+ "kind": "SCALAR",
3920
+ "name": "String",
3921
+ "ofType": null
3922
+ }
3923
+ },
3924
+ "isDeprecated": false,
3925
+ "deprecationReason": null
3926
+ },
3927
+ {
3928
+ "name": "id",
3929
+ "description": null,
3930
+ "args": [],
3931
+ "type": {
3932
+ "kind": "NON_NULL",
3933
+ "name": null,
3934
+ "ofType": {
3935
+ "kind": "SCALAR",
3936
+ "name": "String",
3937
+ "ofType": null
3938
+ }
3939
+ },
3940
+ "isDeprecated": false,
3941
+ "deprecationReason": null
3942
+ },
3943
+ {
3944
+ "name": "isValidationError",
3945
+ "description": null,
3946
+ "args": [],
3947
+ "type": {
3948
+ "kind": "NON_NULL",
3949
+ "name": null,
3950
+ "ofType": {
3951
+ "kind": "SCALAR",
3952
+ "name": "Boolean",
3953
+ "ofType": null
3954
+ }
3955
+ },
3956
+ "isDeprecated": false,
3957
+ "deprecationReason": null
3958
+ }
3959
+ ],
3960
+ "inputFields": null,
3961
+ "interfaces": [],
3962
+ "enumValues": null,
3963
+ "possibleTypes": null
3964
+ },
3730
3965
  {
3731
3966
  "kind": "INPUT_OBJECT",
3732
3967
  "name": "ApiKeySort",
@@ -3821,7 +4056,7 @@
3821
4056
  },
3822
4057
  {
3823
4058
  "name": "SCOPED",
3824
- "description": null,
4059
+ "description": "Scoped API key",
3825
4060
  "isDeprecated": false,
3826
4061
  "deprecationReason": null
3827
4062
  },
@@ -4305,7 +4540,7 @@
4305
4540
  "fields": [
4306
4541
  {
4307
4542
  "name": "entitlements",
4308
- "description": "The updated entitlements",
4543
+ "description": "The list of feature entitlements granted to the customer.",
4309
4544
  "args": [],
4310
4545
  "type": {
4311
4546
  "kind": "LIST",
@@ -4320,6 +4555,26 @@
4320
4555
  }
4321
4556
  }
4322
4557
  },
4558
+ "isDeprecated": true,
4559
+ "deprecationReason": "Use 'entitlementsV2' field instead to retrieve both feature and credit entitlements."
4560
+ },
4561
+ {
4562
+ "name": "entitlementsV2",
4563
+ "description": "The list of polymorphic entitlements (feature and credit) granted to the customer.",
4564
+ "args": [],
4565
+ "type": {
4566
+ "kind": "LIST",
4567
+ "name": null,
4568
+ "ofType": {
4569
+ "kind": "NON_NULL",
4570
+ "name": null,
4571
+ "ofType": {
4572
+ "kind": "UNION",
4573
+ "name": "EntitlementUnion",
4574
+ "ofType": null
4575
+ }
4576
+ }
4577
+ },
4323
4578
  "isDeprecated": false,
4324
4579
  "deprecationReason": null
4325
4580
  },
@@ -13445,6 +13700,61 @@
13445
13700
  "enumValues": null,
13446
13701
  "possibleTypes": null
13447
13702
  },
13703
+ {
13704
+ "kind": "INPUT_OBJECT",
13705
+ "name": "CreateScopedApiKeyInput",
13706
+ "description": "Input for creating a new API key",
13707
+ "fields": null,
13708
+ "inputFields": [
13709
+ {
13710
+ "name": "description",
13711
+ "description": "Optional description for the API key",
13712
+ "type": {
13713
+ "kind": "SCALAR",
13714
+ "name": "String",
13715
+ "ofType": null
13716
+ },
13717
+ "defaultValue": null,
13718
+ "isDeprecated": false,
13719
+ "deprecationReason": null
13720
+ },
13721
+ {
13722
+ "name": "displayName",
13723
+ "description": "The display name for the new API key",
13724
+ "type": {
13725
+ "kind": "NON_NULL",
13726
+ "name": null,
13727
+ "ofType": {
13728
+ "kind": "SCALAR",
13729
+ "name": "String",
13730
+ "ofType": null
13731
+ }
13732
+ },
13733
+ "defaultValue": null,
13734
+ "isDeprecated": false,
13735
+ "deprecationReason": null
13736
+ },
13737
+ {
13738
+ "name": "environmentId",
13739
+ "description": "The unique identifier for the environment",
13740
+ "type": {
13741
+ "kind": "NON_NULL",
13742
+ "name": null,
13743
+ "ofType": {
13744
+ "kind": "SCALAR",
13745
+ "name": "UUID",
13746
+ "ofType": null
13747
+ }
13748
+ },
13749
+ "defaultValue": null,
13750
+ "isDeprecated": false,
13751
+ "deprecationReason": null
13752
+ }
13753
+ ],
13754
+ "interfaces": null,
13755
+ "enumValues": null,
13756
+ "possibleTypes": null
13757
+ },
13448
13758
  {
13449
13759
  "kind": "INPUT_OBJECT",
13450
13760
  "name": "CreateWorkflowTriggerInput",
@@ -14036,6 +14346,121 @@
14036
14346
  ],
14037
14347
  "possibleTypes": null
14038
14348
  },
14349
+ {
14350
+ "kind": "OBJECT",
14351
+ "name": "CreditEntitlement",
14352
+ "description": "Represents a credit-based entitlement granted to a customer.",
14353
+ "fields": [
14354
+ {
14355
+ "name": "accessDeniedReason",
14356
+ "description": "Optional message explaining why access to the feature is denied.",
14357
+ "args": [],
14358
+ "type": {
14359
+ "kind": "ENUM",
14360
+ "name": "AccessDeniedReason",
14361
+ "ofType": null
14362
+ },
14363
+ "isDeprecated": false,
14364
+ "deprecationReason": null
14365
+ },
14366
+ {
14367
+ "name": "currency",
14368
+ "description": "The custom currency associated with this credit entitlement.",
14369
+ "args": [],
14370
+ "type": {
14371
+ "kind": "NON_NULL",
14372
+ "name": null,
14373
+ "ofType": {
14374
+ "kind": "OBJECT",
14375
+ "name": "EntitlementCurrency",
14376
+ "ofType": null
14377
+ }
14378
+ },
14379
+ "isDeprecated": false,
14380
+ "deprecationReason": null
14381
+ },
14382
+ {
14383
+ "name": "currentUsage",
14384
+ "description": "The total amount of credits consumed by the customer.",
14385
+ "args": [],
14386
+ "type": {
14387
+ "kind": "SCALAR",
14388
+ "name": "Float",
14389
+ "ofType": null
14390
+ },
14391
+ "isDeprecated": false,
14392
+ "deprecationReason": null
14393
+ },
14394
+ {
14395
+ "name": "entitlementUpdatedAt",
14396
+ "description": "Timestamp of the last update to the entitlement grant or configuration.",
14397
+ "args": [],
14398
+ "type": {
14399
+ "kind": "SCALAR",
14400
+ "name": "DateTime",
14401
+ "ofType": null
14402
+ },
14403
+ "isDeprecated": false,
14404
+ "deprecationReason": null
14405
+ },
14406
+ {
14407
+ "name": "isGranted",
14408
+ "description": "Indicates whether the entitlement is currently granted to the customer.",
14409
+ "args": [],
14410
+ "type": {
14411
+ "kind": "NON_NULL",
14412
+ "name": null,
14413
+ "ofType": {
14414
+ "kind": "SCALAR",
14415
+ "name": "Boolean",
14416
+ "ofType": null
14417
+ }
14418
+ },
14419
+ "isDeprecated": false,
14420
+ "deprecationReason": null
14421
+ },
14422
+ {
14423
+ "name": "usageLimit",
14424
+ "description": "The total amount of credits granted to the customer.",
14425
+ "args": [],
14426
+ "type": {
14427
+ "kind": "SCALAR",
14428
+ "name": "Float",
14429
+ "ofType": null
14430
+ },
14431
+ "isDeprecated": false,
14432
+ "deprecationReason": null
14433
+ },
14434
+ {
14435
+ "name": "usageUpdatedAt",
14436
+ "description": "Timestamp of the last update to the credit usage.",
14437
+ "args": [],
14438
+ "type": {
14439
+ "kind": "SCALAR",
14440
+ "name": "DateTime",
14441
+ "ofType": null
14442
+ },
14443
+ "isDeprecated": false,
14444
+ "deprecationReason": null
14445
+ },
14446
+ {
14447
+ "name": "validUntil",
14448
+ "description": "The next time the entitlement should be recalculated",
14449
+ "args": [],
14450
+ "type": {
14451
+ "kind": "SCALAR",
14452
+ "name": "DateTime",
14453
+ "ofType": null
14454
+ },
14455
+ "isDeprecated": false,
14456
+ "deprecationReason": null
14457
+ }
14458
+ ],
14459
+ "inputFields": null,
14460
+ "interfaces": [],
14461
+ "enumValues": null,
14462
+ "possibleTypes": null
14463
+ },
14039
14464
  {
14040
14465
  "kind": "OBJECT",
14041
14466
  "name": "CreditGrant",
@@ -28944,6 +29369,33 @@
28944
29369
  "enumValues": null,
28945
29370
  "possibleTypes": null
28946
29371
  },
29372
+ {
29373
+ "kind": "OBJECT",
29374
+ "name": "EntitlementCurrency",
29375
+ "description": "The currency associated with a credit entitlement.",
29376
+ "fields": [
29377
+ {
29378
+ "name": "currencyId",
29379
+ "description": "The unique identifier of the custom currency.",
29380
+ "args": [],
29381
+ "type": {
29382
+ "kind": "NON_NULL",
29383
+ "name": null,
29384
+ "ofType": {
29385
+ "kind": "SCALAR",
29386
+ "name": "String",
29387
+ "ofType": null
29388
+ }
29389
+ },
29390
+ "isDeprecated": false,
29391
+ "deprecationReason": null
29392
+ }
29393
+ ],
29394
+ "inputFields": null,
29395
+ "interfaces": [],
29396
+ "enumValues": null,
29397
+ "possibleTypes": null
29398
+ },
28947
29399
  {
28948
29400
  "kind": "OBJECT",
28949
29401
  "name": "EntitlementFeature",
@@ -29241,6 +29693,49 @@
29241
29693
  "enumValues": null,
29242
29694
  "possibleTypes": null
29243
29695
  },
29696
+ {
29697
+ "kind": "OBJECT",
29698
+ "name": "EntitlementReference",
29699
+ "description": "Reference to an entitlement with type discriminator and identifier",
29700
+ "fields": [
29701
+ {
29702
+ "name": "id",
29703
+ "description": "Identifier - featureId for FEATURE type, currencyId for CREDIT type",
29704
+ "args": [],
29705
+ "type": {
29706
+ "kind": "NON_NULL",
29707
+ "name": null,
29708
+ "ofType": {
29709
+ "kind": "SCALAR",
29710
+ "name": "String",
29711
+ "ofType": null
29712
+ }
29713
+ },
29714
+ "isDeprecated": false,
29715
+ "deprecationReason": null
29716
+ },
29717
+ {
29718
+ "name": "type",
29719
+ "description": "The type of entitlement (FEATURE or CREDIT)",
29720
+ "args": [],
29721
+ "type": {
29722
+ "kind": "NON_NULL",
29723
+ "name": null,
29724
+ "ofType": {
29725
+ "kind": "ENUM",
29726
+ "name": "EntitlementType",
29727
+ "ofType": null
29728
+ }
29729
+ },
29730
+ "isDeprecated": false,
29731
+ "deprecationReason": null
29732
+ }
29733
+ ],
29734
+ "inputFields": null,
29735
+ "interfaces": [],
29736
+ "enumValues": null,
29737
+ "possibleTypes": null
29738
+ },
29244
29739
  {
29245
29740
  "kind": "ENUM",
29246
29741
  "name": "EntitlementResetPeriod",
@@ -29381,6 +29876,50 @@
29381
29876
  "enumValues": null,
29382
29877
  "possibleTypes": null
29383
29878
  },
29879
+ {
29880
+ "kind": "ENUM",
29881
+ "name": "EntitlementType",
29882
+ "description": "The type of entitlement",
29883
+ "fields": null,
29884
+ "inputFields": null,
29885
+ "interfaces": null,
29886
+ "enumValues": [
29887
+ {
29888
+ "name": "CREDIT",
29889
+ "description": "A credit-based entitlement with balance management",
29890
+ "isDeprecated": false,
29891
+ "deprecationReason": null
29892
+ },
29893
+ {
29894
+ "name": "FEATURE",
29895
+ "description": "A feature-based entitlement with usage limits and access control",
29896
+ "isDeprecated": false,
29897
+ "deprecationReason": null
29898
+ }
29899
+ ],
29900
+ "possibleTypes": null
29901
+ },
29902
+ {
29903
+ "kind": "UNION",
29904
+ "name": "EntitlementUnion",
29905
+ "description": null,
29906
+ "fields": null,
29907
+ "inputFields": null,
29908
+ "interfaces": null,
29909
+ "enumValues": null,
29910
+ "possibleTypes": [
29911
+ {
29912
+ "kind": "OBJECT",
29913
+ "name": "CreditEntitlement",
29914
+ "ofType": null
29915
+ },
29916
+ {
29917
+ "kind": "OBJECT",
29918
+ "name": "FeatureEntitlement",
29919
+ "ofType": null
29920
+ }
29921
+ ]
29922
+ },
29384
29923
  {
29385
29924
  "kind": "OBJECT",
29386
29925
  "name": "EntitlementWithSummary",
@@ -29747,7 +30286,7 @@
29747
30286
  {
29748
30287
  "kind": "OBJECT",
29749
30288
  "name": "EntitlementsState",
29750
- "description": "Represents a list of entitlements granted to a customer, including its usage and reset configuration.",
30289
+ "description": "Represents a list of entitlements (both feature and credit) granted to a customer, including usage and configuration.",
29751
30290
  "fields": [
29752
30291
  {
29753
30292
  "name": "accessDeniedReason",
@@ -29763,7 +30302,7 @@
29763
30302
  },
29764
30303
  {
29765
30304
  "name": "entitlements",
29766
- "description": "The list of entitlements granted to the customer.",
30305
+ "description": "The list of feature entitlements granted to the customer.",
29767
30306
  "args": [],
29768
30307
  "type": {
29769
30308
  "kind": "NON_NULL",
@@ -29782,6 +30321,30 @@
29782
30321
  }
29783
30322
  }
29784
30323
  },
30324
+ "isDeprecated": true,
30325
+ "deprecationReason": "Use 'entitlementsV2' field instead to retrieve both feature and credit entitlements."
30326
+ },
30327
+ {
30328
+ "name": "entitlementsV2",
30329
+ "description": "The list of polymorphic entitlements (feature and credit) granted to the customer.",
30330
+ "args": [],
30331
+ "type": {
30332
+ "kind": "NON_NULL",
30333
+ "name": null,
30334
+ "ofType": {
30335
+ "kind": "LIST",
30336
+ "name": null,
30337
+ "ofType": {
30338
+ "kind": "NON_NULL",
30339
+ "name": null,
30340
+ "ofType": {
30341
+ "kind": "UNION",
30342
+ "name": "EntitlementUnion",
30343
+ "ofType": null
30344
+ }
30345
+ }
30346
+ }
30347
+ },
29785
30348
  "isDeprecated": false,
29786
30349
  "deprecationReason": null
29787
30350
  }
@@ -29927,6 +30490,113 @@
29927
30490
  "enumValues": null,
29928
30491
  "possibleTypes": null
29929
30492
  },
30493
+ {
30494
+ "kind": "OBJECT",
30495
+ "name": "EntitlementsUpdatedV2",
30496
+ "description": "Event payload for when entitlements are updated for a customer (v2 with polymorphic entitlements).",
30497
+ "fields": [
30498
+ {
30499
+ "name": "accessDeniedReason",
30500
+ "description": "The reason why access is denied.",
30501
+ "args": [],
30502
+ "type": {
30503
+ "kind": "ENUM",
30504
+ "name": "EntitlementsStateAccessDeniedReason",
30505
+ "ofType": null
30506
+ },
30507
+ "isDeprecated": false,
30508
+ "deprecationReason": null
30509
+ },
30510
+ {
30511
+ "name": "accountId",
30512
+ "description": "The unique identifier for the account",
30513
+ "args": [],
30514
+ "type": {
30515
+ "kind": "NON_NULL",
30516
+ "name": null,
30517
+ "ofType": {
30518
+ "kind": "SCALAR",
30519
+ "name": "String",
30520
+ "ofType": null
30521
+ }
30522
+ },
30523
+ "isDeprecated": false,
30524
+ "deprecationReason": null
30525
+ },
30526
+ {
30527
+ "name": "customerId",
30528
+ "description": "Identifier of the customer whose entitlements have changed.",
30529
+ "args": [],
30530
+ "type": {
30531
+ "kind": "NON_NULL",
30532
+ "name": null,
30533
+ "ofType": {
30534
+ "kind": "SCALAR",
30535
+ "name": "String",
30536
+ "ofType": null
30537
+ }
30538
+ },
30539
+ "isDeprecated": false,
30540
+ "deprecationReason": null
30541
+ },
30542
+ {
30543
+ "name": "entitlements",
30544
+ "description": "The updated list of polymorphic entitlements (feature and credit) for the customer.",
30545
+ "args": [],
30546
+ "type": {
30547
+ "kind": "NON_NULL",
30548
+ "name": null,
30549
+ "ofType": {
30550
+ "kind": "LIST",
30551
+ "name": null,
30552
+ "ofType": {
30553
+ "kind": "NON_NULL",
30554
+ "name": null,
30555
+ "ofType": {
30556
+ "kind": "UNION",
30557
+ "name": "EntitlementUnion",
30558
+ "ofType": null
30559
+ }
30560
+ }
30561
+ }
30562
+ },
30563
+ "isDeprecated": false,
30564
+ "deprecationReason": null
30565
+ },
30566
+ {
30567
+ "name": "environmentId",
30568
+ "description": "The unique identifier for the environment",
30569
+ "args": [],
30570
+ "type": {
30571
+ "kind": "NON_NULL",
30572
+ "name": null,
30573
+ "ofType": {
30574
+ "kind": "SCALAR",
30575
+ "name": "UUID",
30576
+ "ofType": null
30577
+ }
30578
+ },
30579
+ "isDeprecated": false,
30580
+ "deprecationReason": null
30581
+ },
30582
+ {
30583
+ "name": "resourceId",
30584
+ "description": "The resource the entitlement update is scoped to.",
30585
+ "args": [],
30586
+ "type": {
30587
+ "kind": "SCALAR",
30588
+ "name": "String",
30589
+ "ofType": null
30590
+ },
30591
+ "isDeprecated": false,
30592
+ "deprecationReason": null
30593
+ }
30594
+ ],
30595
+ "inputFields": null,
30596
+ "interfaces": [],
30597
+ "enumValues": null,
30598
+ "possibleTypes": null
30599
+ },
29930
30600
  {
29931
30601
  "kind": "ENUM",
29932
30602
  "name": "EntitySelectionMode",
@@ -31195,6 +31865,24 @@
31195
31865
  "isDeprecated": false,
31196
31866
  "deprecationReason": null
31197
31867
  },
31868
+ {
31869
+ "name": "ApiKeyExpired",
31870
+ "description": "API key has expired",
31871
+ "isDeprecated": false,
31872
+ "deprecationReason": null
31873
+ },
31874
+ {
31875
+ "name": "ApiKeyHasExpiry",
31876
+ "description": "API key has expiry date set",
31877
+ "isDeprecated": false,
31878
+ "deprecationReason": null
31879
+ },
31880
+ {
31881
+ "name": "ApiKeyNotFound",
31882
+ "description": "API key not found",
31883
+ "isDeprecated": false,
31884
+ "deprecationReason": null
31885
+ },
31198
31886
  {
31199
31887
  "name": "ArchivedCouponCantBeApplied",
31200
31888
  "description": null,
@@ -37416,6 +38104,237 @@
37416
38104
  "enumValues": null,
37417
38105
  "possibleTypes": null
37418
38106
  },
38107
+ {
38108
+ "kind": "OBJECT",
38109
+ "name": "FeatureEntitlement",
38110
+ "description": "Represents a feature-based entitlement granted to a customer.",
38111
+ "fields": [
38112
+ {
38113
+ "name": "accessDeniedReason",
38114
+ "description": "Optional message explaining why access to the feature is denied.",
38115
+ "args": [],
38116
+ "type": {
38117
+ "kind": "ENUM",
38118
+ "name": "AccessDeniedReason",
38119
+ "ofType": null
38120
+ },
38121
+ "isDeprecated": false,
38122
+ "deprecationReason": null
38123
+ },
38124
+ {
38125
+ "name": "creditRate",
38126
+ "description": "The credit rate associated with this entitlement, if applicable.",
38127
+ "args": [],
38128
+ "type": {
38129
+ "kind": "OBJECT",
38130
+ "name": "CreditRate",
38131
+ "ofType": null
38132
+ },
38133
+ "isDeprecated": false,
38134
+ "deprecationReason": null
38135
+ },
38136
+ {
38137
+ "name": "currentUsage",
38138
+ "description": "The amount of the feature the customer has used so far in the current period.",
38139
+ "args": [],
38140
+ "type": {
38141
+ "kind": "SCALAR",
38142
+ "name": "Float",
38143
+ "ofType": null
38144
+ },
38145
+ "isDeprecated": false,
38146
+ "deprecationReason": null
38147
+ },
38148
+ {
38149
+ "name": "entitlementUpdatedAt",
38150
+ "description": "Timestamp of the last update to the entitlement grant or configuration.",
38151
+ "args": [],
38152
+ "type": {
38153
+ "kind": "SCALAR",
38154
+ "name": "DateTime",
38155
+ "ofType": null
38156
+ },
38157
+ "isDeprecated": false,
38158
+ "deprecationReason": null
38159
+ },
38160
+ {
38161
+ "name": "enumValues",
38162
+ "description": "List of enum values applicable to this entitlement, if it is an enum feature.",
38163
+ "args": [],
38164
+ "type": {
38165
+ "kind": "LIST",
38166
+ "name": null,
38167
+ "ofType": {
38168
+ "kind": "NON_NULL",
38169
+ "name": null,
38170
+ "ofType": {
38171
+ "kind": "SCALAR",
38172
+ "name": "String",
38173
+ "ofType": null
38174
+ }
38175
+ }
38176
+ },
38177
+ "isDeprecated": false,
38178
+ "deprecationReason": null
38179
+ },
38180
+ {
38181
+ "name": "feature",
38182
+ "description": "The feature this entitlement corresponds to.",
38183
+ "args": [],
38184
+ "type": {
38185
+ "kind": "OBJECT",
38186
+ "name": "EntitlementFeature",
38187
+ "ofType": null
38188
+ },
38189
+ "isDeprecated": false,
38190
+ "deprecationReason": null
38191
+ },
38192
+ {
38193
+ "name": "hasSoftLimit",
38194
+ "description": "Indicates whether the usage limit is soft — usage can exceed the limit, but will be tracked.",
38195
+ "args": [],
38196
+ "type": {
38197
+ "kind": "SCALAR",
38198
+ "name": "Boolean",
38199
+ "ofType": null
38200
+ },
38201
+ "isDeprecated": false,
38202
+ "deprecationReason": null
38203
+ },
38204
+ {
38205
+ "name": "hasUnlimitedUsage",
38206
+ "description": "Indicates whether this entitlement grants unlimited usage with no enforced cap.",
38207
+ "args": [],
38208
+ "type": {
38209
+ "kind": "NON_NULL",
38210
+ "name": null,
38211
+ "ofType": {
38212
+ "kind": "SCALAR",
38213
+ "name": "Boolean",
38214
+ "ofType": null
38215
+ }
38216
+ },
38217
+ "isDeprecated": false,
38218
+ "deprecationReason": null
38219
+ },
38220
+ {
38221
+ "name": "isGranted",
38222
+ "description": "Indicates whether the entitlement is currently granted to the customer.",
38223
+ "args": [],
38224
+ "type": {
38225
+ "kind": "NON_NULL",
38226
+ "name": null,
38227
+ "ofType": {
38228
+ "kind": "SCALAR",
38229
+ "name": "Boolean",
38230
+ "ofType": null
38231
+ }
38232
+ },
38233
+ "isDeprecated": false,
38234
+ "deprecationReason": null
38235
+ },
38236
+ {
38237
+ "name": "resetPeriod",
38238
+ "description": "The interval at which usage resets automatically, such as monthly or yearly.",
38239
+ "args": [],
38240
+ "type": {
38241
+ "kind": "ENUM",
38242
+ "name": "EntitlementResetPeriod",
38243
+ "ofType": null
38244
+ },
38245
+ "isDeprecated": false,
38246
+ "deprecationReason": null
38247
+ },
38248
+ {
38249
+ "name": "resetPeriodConfiguration",
38250
+ "description": "Detailed configuration object specifying the usage reset schedule.",
38251
+ "args": [],
38252
+ "type": {
38253
+ "kind": "UNION",
38254
+ "name": "ResetPeriodConfiguration",
38255
+ "ofType": null
38256
+ },
38257
+ "isDeprecated": false,
38258
+ "deprecationReason": null
38259
+ },
38260
+ {
38261
+ "name": "usageLimit",
38262
+ "description": "The maximum allowed usage for this entitlement before restrictions apply.",
38263
+ "args": [],
38264
+ "type": {
38265
+ "kind": "SCALAR",
38266
+ "name": "Float",
38267
+ "ofType": null
38268
+ },
38269
+ "isDeprecated": false,
38270
+ "deprecationReason": null
38271
+ },
38272
+ {
38273
+ "name": "usagePeriodAnchor",
38274
+ "description": "The anchor for calculating the usage period for metered entitlements with a reset period configured",
38275
+ "args": [],
38276
+ "type": {
38277
+ "kind": "SCALAR",
38278
+ "name": "DateTime",
38279
+ "ofType": null
38280
+ },
38281
+ "isDeprecated": false,
38282
+ "deprecationReason": null
38283
+ },
38284
+ {
38285
+ "name": "usagePeriodEnd",
38286
+ "description": "The end date of the usage period for metered entitlements with a reset period configured",
38287
+ "args": [],
38288
+ "type": {
38289
+ "kind": "SCALAR",
38290
+ "name": "DateTime",
38291
+ "ofType": null
38292
+ },
38293
+ "isDeprecated": false,
38294
+ "deprecationReason": null
38295
+ },
38296
+ {
38297
+ "name": "usagePeriodStart",
38298
+ "description": "The start date of the usage period for metered entitlements with a reset period configured",
38299
+ "args": [],
38300
+ "type": {
38301
+ "kind": "SCALAR",
38302
+ "name": "DateTime",
38303
+ "ofType": null
38304
+ },
38305
+ "isDeprecated": false,
38306
+ "deprecationReason": null
38307
+ },
38308
+ {
38309
+ "name": "usageUpdatedAt",
38310
+ "description": "Timestamp of the last update to the usage value.",
38311
+ "args": [],
38312
+ "type": {
38313
+ "kind": "SCALAR",
38314
+ "name": "DateTime",
38315
+ "ofType": null
38316
+ },
38317
+ "isDeprecated": false,
38318
+ "deprecationReason": null
38319
+ },
38320
+ {
38321
+ "name": "validUntil",
38322
+ "description": "The next time the entitlement should be recalculated",
38323
+ "args": [],
38324
+ "type": {
38325
+ "kind": "SCALAR",
38326
+ "name": "DateTime",
38327
+ "ofType": null
38328
+ },
38329
+ "isDeprecated": false,
38330
+ "deprecationReason": null
38331
+ }
38332
+ ],
38333
+ "inputFields": null,
38334
+ "interfaces": [],
38335
+ "enumValues": null,
38336
+ "possibleTypes": null
38337
+ },
37419
38338
  {
37420
38339
  "kind": "INPUT_OBJECT",
37421
38340
  "name": "FeatureFilter",
@@ -50440,6 +51359,39 @@
50440
51359
  "isDeprecated": false,
50441
51360
  "deprecationReason": null
50442
51361
  },
51362
+ {
51363
+ "name": "createScopedApiKey",
51364
+ "description": "Create a new scoped API key",
51365
+ "args": [
51366
+ {
51367
+ "name": "input",
51368
+ "description": null,
51369
+ "type": {
51370
+ "kind": "NON_NULL",
51371
+ "name": null,
51372
+ "ofType": {
51373
+ "kind": "INPUT_OBJECT",
51374
+ "name": "CreateScopedApiKeyInput",
51375
+ "ofType": null
51376
+ }
51377
+ },
51378
+ "defaultValue": null,
51379
+ "isDeprecated": false,
51380
+ "deprecationReason": null
51381
+ }
51382
+ ],
51383
+ "type": {
51384
+ "kind": "NON_NULL",
51385
+ "name": null,
51386
+ "ofType": {
51387
+ "kind": "OBJECT",
51388
+ "name": "ApiKey",
51389
+ "ofType": null
51390
+ }
51391
+ },
51392
+ "isDeprecated": false,
51393
+ "deprecationReason": null
51394
+ },
50443
51395
  {
50444
51396
  "name": "createSubscription",
50445
51397
  "description": null,
@@ -52505,6 +53457,39 @@
52505
53457
  "isDeprecated": false,
52506
53458
  "deprecationReason": null
52507
53459
  },
53460
+ {
53461
+ "name": "revokeApiKey",
53462
+ "description": "Revoke an API key (soft delete)",
53463
+ "args": [
53464
+ {
53465
+ "name": "input",
53466
+ "description": null,
53467
+ "type": {
53468
+ "kind": "NON_NULL",
53469
+ "name": null,
53470
+ "ofType": {
53471
+ "kind": "INPUT_OBJECT",
53472
+ "name": "RevokeApiKeyInput",
53473
+ "ofType": null
53474
+ }
53475
+ },
53476
+ "defaultValue": null,
53477
+ "isDeprecated": false,
53478
+ "deprecationReason": null
53479
+ }
53480
+ ],
53481
+ "type": {
53482
+ "kind": "NON_NULL",
53483
+ "name": null,
53484
+ "ofType": {
53485
+ "kind": "OBJECT",
53486
+ "name": "ApiKey",
53487
+ "ofType": null
53488
+ }
53489
+ },
53490
+ "isDeprecated": false,
53491
+ "deprecationReason": null
53492
+ },
52508
53493
  {
52509
53494
  "name": "revokePromotionalEntitlement",
52510
53495
  "description": "Revoke a promotional entitlement",
@@ -52645,6 +53630,39 @@
52645
53630
  "isDeprecated": false,
52646
53631
  "deprecationReason": null
52647
53632
  },
53633
+ {
53634
+ "name": "rotateApiKey",
53635
+ "description": "Rotate an API key to generate a new token",
53636
+ "args": [
53637
+ {
53638
+ "name": "input",
53639
+ "description": null,
53640
+ "type": {
53641
+ "kind": "NON_NULL",
53642
+ "name": null,
53643
+ "ofType": {
53644
+ "kind": "INPUT_OBJECT",
53645
+ "name": "RotateApiKeyInput",
53646
+ "ofType": null
53647
+ }
53648
+ },
53649
+ "defaultValue": null,
53650
+ "isDeprecated": false,
53651
+ "deprecationReason": null
53652
+ }
53653
+ ],
53654
+ "type": {
53655
+ "kind": "NON_NULL",
53656
+ "name": null,
53657
+ "ofType": {
53658
+ "kind": "OBJECT",
53659
+ "name": "RotateApiKeyResult",
53660
+ "ofType": null
53661
+ }
53662
+ },
53663
+ "isDeprecated": false,
53664
+ "deprecationReason": null
53665
+ },
52648
53666
  {
52649
53667
  "name": "saveAutoRechargeSettings",
52650
53668
  "description": "Save (create or update) auto-recharge settings",
@@ -53783,6 +54801,39 @@
53783
54801
  "isDeprecated": false,
53784
54802
  "deprecationReason": null
53785
54803
  },
54804
+ {
54805
+ "name": "updateApiKey",
54806
+ "description": "Update an existing API key",
54807
+ "args": [
54808
+ {
54809
+ "name": "input",
54810
+ "description": null,
54811
+ "type": {
54812
+ "kind": "NON_NULL",
54813
+ "name": null,
54814
+ "ofType": {
54815
+ "kind": "INPUT_OBJECT",
54816
+ "name": "UpdateApiKeyInput",
54817
+ "ofType": null
54818
+ }
54819
+ },
54820
+ "defaultValue": null,
54821
+ "isDeprecated": false,
54822
+ "deprecationReason": null
54823
+ }
54824
+ ],
54825
+ "type": {
54826
+ "kind": "NON_NULL",
54827
+ "name": null,
54828
+ "ofType": {
54829
+ "kind": "OBJECT",
54830
+ "name": "ApiKey",
54831
+ "ofType": null
54832
+ }
54833
+ },
54834
+ "isDeprecated": false,
54835
+ "deprecationReason": null
54836
+ },
53786
54837
  {
53787
54838
  "name": "updateCreditGrant",
53788
54839
  "description": "Update an existing credit grant",
@@ -79148,7 +80199,7 @@
79148
80199
  },
79149
80200
  {
79150
80201
  "name": "entitlements",
79151
- "description": null,
80202
+ "description": "The list of feature entitlements granted to the customer.",
79152
80203
  "args": [],
79153
80204
  "type": {
79154
80205
  "kind": "LIST",
@@ -79163,6 +80214,26 @@
79163
80214
  }
79164
80215
  }
79165
80216
  },
80217
+ "isDeprecated": true,
80218
+ "deprecationReason": "Use 'entitlementsV2' field instead to retrieve both feature and credit entitlements."
80219
+ },
80220
+ {
80221
+ "name": "entitlementsV2",
80222
+ "description": "The list of polymorphic entitlements (feature and credit) granted to the customer.",
80223
+ "args": [],
80224
+ "type": {
80225
+ "kind": "LIST",
80226
+ "name": null,
80227
+ "ofType": {
80228
+ "kind": "NON_NULL",
80229
+ "name": null,
80230
+ "ofType": {
80231
+ "kind": "UNION",
80232
+ "name": "EntitlementUnion",
80233
+ "ofType": null
80234
+ }
80235
+ }
80236
+ },
79166
80237
  "isDeprecated": false,
79167
80238
  "deprecationReason": null
79168
80239
  },
@@ -79274,7 +80345,7 @@
79274
80345
  },
79275
80346
  {
79276
80347
  "name": "entitlements",
79277
- "description": "Entitlements",
80348
+ "description": "The list of feature entitlements granted to the customer.",
79278
80349
  "args": [],
79279
80350
  "type": {
79280
80351
  "kind": "LIST",
@@ -79289,6 +80360,26 @@
79289
80360
  }
79290
80361
  }
79291
80362
  },
80363
+ "isDeprecated": true,
80364
+ "deprecationReason": "Use 'entitlementsV2' field instead to retrieve both feature and credit entitlements."
80365
+ },
80366
+ {
80367
+ "name": "entitlementsV2",
80368
+ "description": "The list of polymorphic entitlements (feature and credit) granted to the customer.",
80369
+ "args": [],
80370
+ "type": {
80371
+ "kind": "LIST",
80372
+ "name": null,
80373
+ "ofType": {
80374
+ "kind": "NON_NULL",
80375
+ "name": null,
80376
+ "ofType": {
80377
+ "kind": "UNION",
80378
+ "name": "EntitlementUnion",
80379
+ "ofType": null
80380
+ }
80381
+ }
80382
+ },
79292
80383
  "isDeprecated": false,
79293
80384
  "deprecationReason": null
79294
80385
  },
@@ -84002,6 +85093,33 @@
84002
85093
  "enumValues": null,
84003
85094
  "possibleTypes": null
84004
85095
  },
85096
+ {
85097
+ "kind": "INPUT_OBJECT",
85098
+ "name": "RevokeApiKeyInput",
85099
+ "description": "Input for revoking an API key",
85100
+ "fields": null,
85101
+ "inputFields": [
85102
+ {
85103
+ "name": "id",
85104
+ "description": "Unique identifier for the entity",
85105
+ "type": {
85106
+ "kind": "NON_NULL",
85107
+ "name": null,
85108
+ "ofType": {
85109
+ "kind": "SCALAR",
85110
+ "name": "UUID",
85111
+ "ofType": null
85112
+ }
85113
+ },
85114
+ "defaultValue": null,
85115
+ "isDeprecated": false,
85116
+ "deprecationReason": null
85117
+ }
85118
+ ],
85119
+ "interfaces": null,
85120
+ "enumValues": null,
85121
+ "possibleTypes": null
85122
+ },
84005
85123
  {
84006
85124
  "kind": "INPUT_OBJECT",
84007
85125
  "name": "RevokePromotionalEntitlementInput",
@@ -84171,6 +85289,84 @@
84171
85289
  "enumValues": null,
84172
85290
  "possibleTypes": null
84173
85291
  },
85292
+ {
85293
+ "kind": "INPUT_OBJECT",
85294
+ "name": "RotateApiKeyInput",
85295
+ "description": "Input for rotating an API key",
85296
+ "fields": null,
85297
+ "inputFields": [
85298
+ {
85299
+ "name": "expirationDate",
85300
+ "description": "Optional grace period expiration date for the old key, expires immediately if null",
85301
+ "type": {
85302
+ "kind": "SCALAR",
85303
+ "name": "DateTime",
85304
+ "ofType": null
85305
+ },
85306
+ "defaultValue": null,
85307
+ "isDeprecated": false,
85308
+ "deprecationReason": null
85309
+ },
85310
+ {
85311
+ "name": "id",
85312
+ "description": "Unique identifier for the entity",
85313
+ "type": {
85314
+ "kind": "NON_NULL",
85315
+ "name": null,
85316
+ "ofType": {
85317
+ "kind": "SCALAR",
85318
+ "name": "UUID",
85319
+ "ofType": null
85320
+ }
85321
+ },
85322
+ "defaultValue": null,
85323
+ "isDeprecated": false,
85324
+ "deprecationReason": null
85325
+ }
85326
+ ],
85327
+ "interfaces": null,
85328
+ "enumValues": null,
85329
+ "possibleTypes": null
85330
+ },
85331
+ {
85332
+ "kind": "OBJECT",
85333
+ "name": "RotateApiKeyResult",
85334
+ "description": "Result of rotating an API key",
85335
+ "fields": [
85336
+ {
85337
+ "name": "newApiKey",
85338
+ "description": "The newly created API key details",
85339
+ "args": [],
85340
+ "type": {
85341
+ "kind": "NON_NULL",
85342
+ "name": null,
85343
+ "ofType": {
85344
+ "kind": "OBJECT",
85345
+ "name": "ApiKey",
85346
+ "ofType": null
85347
+ }
85348
+ },
85349
+ "isDeprecated": false,
85350
+ "deprecationReason": null
85351
+ },
85352
+ {
85353
+ "name": "oldApiKey",
85354
+ "description": "The old API key that is being rotated out",
85355
+ "args": [],
85356
+ "type": {
85357
+ "kind": "OBJECT",
85358
+ "name": "ApiKey",
85359
+ "ofType": null
85360
+ },
85361
+ "isDeprecated": false,
85362
+ "deprecationReason": null
85363
+ }
85364
+ ],
85365
+ "inputFields": null,
85366
+ "interfaces": [],
85367
+ "enumValues": null,
85368
+ "possibleTypes": null
85369
+ },
84174
85370
  {
84175
85371
  "kind": "OBJECT",
84176
85372
  "name": "SalesforceCredentials",
@@ -86888,6 +88084,22 @@
86888
88084
  "ofType": null
86889
88085
  }
86890
88086
  },
88087
+ "isDeprecated": true,
88088
+ "deprecationReason": "Use 'entitlementsUpdatedV2' subscription instead to receive both feature and credit entitlements."
88089
+ },
88090
+ {
88091
+ "name": "entitlementsUpdatedV2",
88092
+ "description": "Subscribe to real-time updates when a customers entitlements change (v2 with polymorphic entitlements).",
88093
+ "args": [],
88094
+ "type": {
88095
+ "kind": "NON_NULL",
88096
+ "name": null,
88097
+ "ofType": {
88098
+ "kind": "OBJECT",
88099
+ "name": "EntitlementsUpdatedV2",
88100
+ "ofType": null
88101
+ }
88102
+ },
86891
88103
  "isDeprecated": false,
86892
88104
  "deprecationReason": null
86893
88105
  },
@@ -86920,6 +88132,22 @@
86920
88132
  "ofType": null
86921
88133
  }
86922
88134
  },
88135
+ "isDeprecated": true,
88136
+ "deprecationReason": "Use usageUpdatedV2 instead, which supports both feature and credit usage updates."
88137
+ },
88138
+ {
88139
+ "name": "usageUpdatedV2",
88140
+ "description": null,
88141
+ "args": [],
88142
+ "type": {
88143
+ "kind": "NON_NULL",
88144
+ "name": null,
88145
+ "ofType": {
88146
+ "kind": "OBJECT",
88147
+ "name": "UsageUpdatedV2",
88148
+ "ofType": null
88149
+ }
88150
+ },
86923
88151
  "isDeprecated": false,
86924
88152
  "deprecationReason": null
86925
88153
  }
@@ -102167,6 +103395,69 @@
102167
103395
  "enumValues": null,
102168
103396
  "possibleTypes": null
102169
103397
  },
103398
+ {
103399
+ "kind": "INPUT_OBJECT",
103400
+ "name": "UpdateApiKeyInput",
103401
+ "description": "Input for updating an API key",
103402
+ "fields": null,
103403
+ "inputFields": [
103404
+ {
103405
+ "name": "description",
103406
+ "description": "Updated description for the API key",
103407
+ "type": {
103408
+ "kind": "SCALAR",
103409
+ "name": "String",
103410
+ "ofType": null
103411
+ },
103412
+ "defaultValue": null,
103413
+ "isDeprecated": false,
103414
+ "deprecationReason": null
103415
+ },
103416
+ {
103417
+ "name": "displayName",
103418
+ "description": "Updated display name for the API key",
103419
+ "type": {
103420
+ "kind": "SCALAR",
103421
+ "name": "String",
103422
+ "ofType": null
103423
+ },
103424
+ "defaultValue": null,
103425
+ "isDeprecated": false,
103426
+ "deprecationReason": null
103427
+ },
103428
+ {
103429
+ "name": "expireAt",
103430
+ "description": "Updated expiration date for the API key",
103431
+ "type": {
103432
+ "kind": "SCALAR",
103433
+ "name": "DateTime",
103434
+ "ofType": null
103435
+ },
103436
+ "defaultValue": null,
103437
+ "isDeprecated": false,
103438
+ "deprecationReason": null
103439
+ },
103440
+ {
103441
+ "name": "id",
103442
+ "description": "Unique identifier for the entity",
103443
+ "type": {
103444
+ "kind": "NON_NULL",
103445
+ "name": null,
103446
+ "ofType": {
103447
+ "kind": "SCALAR",
103448
+ "name": "UUID",
103449
+ "ofType": null
103450
+ }
103451
+ },
103452
+ "defaultValue": null,
103453
+ "isDeprecated": false,
103454
+ "deprecationReason": null
103455
+ }
103456
+ ],
103457
+ "interfaces": null,
103458
+ "enumValues": null,
103459
+ "possibleTypes": null
103460
+ },
102170
103461
  {
102171
103462
  "kind": "INPUT_OBJECT",
102172
103463
  "name": "UpdateCouponInput",
@@ -106829,6 +108120,176 @@
106829
108120
  "enumValues": null,
106830
108121
  "possibleTypes": null
106831
108122
  },
108123
+ {
108124
+ "kind": "OBJECT",
108125
+ "name": "UsageUpdatedV2",
108126
+ "description": "Usage updated event supporting both feature and credit consumption",
108127
+ "fields": [
108128
+ {
108129
+ "name": "accountId",
108130
+ "description": "The unique identifier for the account",
108131
+ "args": [],
108132
+ "type": {
108133
+ "kind": "NON_NULL",
108134
+ "name": null,
108135
+ "ofType": {
108136
+ "kind": "SCALAR",
108137
+ "name": "String",
108138
+ "ofType": null
108139
+ }
108140
+ },
108141
+ "isDeprecated": false,
108142
+ "deprecationReason": null
108143
+ },
108144
+ {
108145
+ "name": "customerId",
108146
+ "description": "Customer id",
108147
+ "args": [],
108148
+ "type": {
108149
+ "kind": "NON_NULL",
108150
+ "name": null,
108151
+ "ofType": {
108152
+ "kind": "SCALAR",
108153
+ "name": "String",
108154
+ "ofType": null
108155
+ }
108156
+ },
108157
+ "isDeprecated": false,
108158
+ "deprecationReason": null
108159
+ },
108160
+ {
108161
+ "name": "entitlementReference",
108162
+ "description": "Reference to the entitlement whose usage was updated",
108163
+ "args": [],
108164
+ "type": {
108165
+ "kind": "NON_NULL",
108166
+ "name": null,
108167
+ "ofType": {
108168
+ "kind": "OBJECT",
108169
+ "name": "EntitlementReference",
108170
+ "ofType": null
108171
+ }
108172
+ },
108173
+ "isDeprecated": false,
108174
+ "deprecationReason": null
108175
+ },
108176
+ {
108177
+ "name": "environmentId",
108178
+ "description": "The unique identifier for the environment",
108179
+ "args": [],
108180
+ "type": {
108181
+ "kind": "NON_NULL",
108182
+ "name": null,
108183
+ "ofType": {
108184
+ "kind": "SCALAR",
108185
+ "name": "UUID",
108186
+ "ofType": null
108187
+ }
108188
+ },
108189
+ "isDeprecated": false,
108190
+ "deprecationReason": null
108191
+ },
108192
+ {
108193
+ "name": "resourceId",
108194
+ "description": "Resource id",
108195
+ "args": [],
108196
+ "type": {
108197
+ "kind": "SCALAR",
108198
+ "name": "String",
108199
+ "ofType": null
108200
+ },
108201
+ "isDeprecated": false,
108202
+ "deprecationReason": null
108203
+ },
108204
+ {
108205
+ "name": "usage",
108206
+ "description": "Usage",
108207
+ "args": [],
108208
+ "type": {
108209
+ "kind": "NON_NULL",
108210
+ "name": null,
108211
+ "ofType": {
108212
+ "kind": "OBJECT",
108213
+ "name": "UsageV2",
108214
+ "ofType": null
108215
+ }
108216
+ },
108217
+ "isDeprecated": false,
108218
+ "deprecationReason": null
108219
+ }
108220
+ ],
108221
+ "inputFields": null,
108222
+ "interfaces": [],
108223
+ "enumValues": null,
108224
+ "possibleTypes": null
108225
+ },
108226
+ {
108227
+ "kind": "OBJECT",
108228
+ "name": "UsageV2",
108229
+ "description": "Usage measurement data",
108230
+ "fields": [
108231
+ {
108232
+ "name": "currentUsage",
108233
+ "description": "The current measured usage value",
108234
+ "args": [],
108235
+ "type": {
108236
+ "kind": "NON_NULL",
108237
+ "name": null,
108238
+ "ofType": {
108239
+ "kind": "SCALAR",
108240
+ "name": "Float",
108241
+ "ofType": null
108242
+ }
108243
+ },
108244
+ "isDeprecated": false,
108245
+ "deprecationReason": null
108246
+ },
108247
+ {
108248
+ "name": "usagePeriodEnd",
108249
+ "description": "The end date of the usage period in which this measurement resides (for entitlements with a reset period)",
108250
+ "args": [],
108251
+ "type": {
108252
+ "kind": "SCALAR",
108253
+ "name": "DateTime",
108254
+ "ofType": null
108255
+ },
108256
+ "isDeprecated": false,
108257
+ "deprecationReason": null
108258
+ },
108259
+ {
108260
+ "name": "usagePeriodStart",
108261
+ "description": "The start date of the usage period in which this measurement resides (for entitlements with a reset period)",
108262
+ "args": [],
108263
+ "type": {
108264
+ "kind": "SCALAR",
108265
+ "name": "DateTime",
108266
+ "ofType": null
108267
+ },
108268
+ "isDeprecated": false,
108269
+ "deprecationReason": null
108270
+ },
108271
+ {
108272
+ "name": "usageUpdatedAt",
108273
+ "description": "Timestamp of when the usage was last updated.",
108274
+ "args": [],
108275
+ "type": {
108276
+ "kind": "NON_NULL",
108277
+ "name": null,
108278
+ "ofType": {
108279
+ "kind": "SCALAR",
108280
+ "name": "DateTime",
108281
+ "ofType": null
108282
+ }
108283
+ },
108284
+ "isDeprecated": false,
108285
+ "deprecationReason": null
108286
+ }
108287
+ ],
108288
+ "inputFields": null,
108289
+ "interfaces": [],
108290
+ "enumValues": null,
108291
+ "possibleTypes": null
108292
+ },
106832
108293
  {
106833
108294
  "kind": "OBJECT",
106834
108295
  "name": "User",