@claudexor/schema 4.2.0 → 4.3.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.
Files changed (122) hide show
  1. package/dist/account-resources.d.ts +3957 -662
  2. package/dist/account-resources.d.ts.map +1 -1
  3. package/dist/account-resources.js +32 -0
  4. package/dist/account-resources.js.map +1 -1
  5. package/dist/account-routing-evidence.d.ts +166 -0
  6. package/dist/account-routing-evidence.d.ts.map +1 -1
  7. package/dist/agent-capabilities.js +1 -1
  8. package/dist/agent-capabilities.js.map +1 -1
  9. package/dist/attempt-execution.d.ts +5 -0
  10. package/dist/attempt-execution.d.ts.map +1 -1
  11. package/dist/budget.d.ts +16 -0
  12. package/dist/budget.d.ts.map +1 -1
  13. package/dist/budget.js +13 -1
  14. package/dist/budget.js.map +1 -1
  15. package/dist/config.d.ts +12 -12
  16. package/dist/config.d.ts.map +1 -1
  17. package/dist/config.js +2 -1
  18. package/dist/config.js.map +1 -1
  19. package/dist/control-operation-responses.d.ts +27 -24
  20. package/dist/control-operation-responses.d.ts.map +1 -1
  21. package/dist/control-run-detail.d.ts +61 -42
  22. package/dist/control-run-detail.d.ts.map +1 -1
  23. package/dist/control.d.ts +45 -39
  24. package/dist/control.d.ts.map +1 -1
  25. package/dist/control.js +9 -21
  26. package/dist/control.js.map +1 -1
  27. package/dist/credential-profile-snapshot.d.ts +332 -0
  28. package/dist/credential-profile-snapshot.d.ts.map +1 -1
  29. package/dist/decision.d.ts +5 -0
  30. package/dist/decision.d.ts.map +1 -1
  31. package/dist/decision.js +9 -2
  32. package/dist/decision.js.map +1 -1
  33. package/dist/events.d.ts +4 -4
  34. package/dist/events.d.ts.map +1 -1
  35. package/dist/events.js +6 -0
  36. package/dist/events.js.map +1 -1
  37. package/dist/harness-input.d.ts +11 -0
  38. package/dist/harness-input.d.ts.map +1 -1
  39. package/dist/harness-input.js +7 -0
  40. package/dist/harness-input.js.map +1 -1
  41. package/dist/harness.d.ts +32 -4
  42. package/dist/harness.d.ts.map +1 -1
  43. package/dist/harness.js +5 -4
  44. package/dist/harness.js.map +1 -1
  45. package/dist/index.d.ts +1 -0
  46. package/dist/index.d.ts.map +1 -1
  47. package/dist/index.js +1 -0
  48. package/dist/index.js.map +1 -1
  49. package/dist/mcp-run-result.d.ts +19 -0
  50. package/dist/mcp-run-result.d.ts.map +1 -1
  51. package/dist/model-image.d.ts +7 -0
  52. package/dist/model-image.d.ts.map +1 -1
  53. package/dist/model-operation.d.ts +26 -0
  54. package/dist/model-operation.d.ts.map +1 -1
  55. package/dist/model-operation.js +3 -1
  56. package/dist/model-operation.js.map +1 -1
  57. package/dist/processing.d.ts +56 -0
  58. package/dist/processing.d.ts.map +1 -1
  59. package/dist/processing.js +15 -0
  60. package/dist/processing.js.map +1 -1
  61. package/dist/quota-read.d.ts +3 -3
  62. package/dist/quota-read.js +1 -1
  63. package/dist/quota-read.js.map +1 -1
  64. package/dist/run-continuation.d.ts +6 -6
  65. package/dist/run-continuity.d.ts +7 -7
  66. package/dist/run-continuity.d.ts.map +1 -1
  67. package/dist/run-continuity.js +2 -1
  68. package/dist/run-continuity.js.map +1 -1
  69. package/dist/run-time-limit.d.ts +81 -0
  70. package/dist/run-time-limit.d.ts.map +1 -0
  71. package/dist/run-time-limit.js +36 -0
  72. package/dist/run-time-limit.js.map +1 -0
  73. package/dist/surface-run-controls.d.ts.map +1 -1
  74. package/dist/surface-run-controls.js +9 -0
  75. package/dist/surface-run-controls.js.map +1 -1
  76. package/dist/telemetry.d.ts +12 -0
  77. package/dist/telemetry.d.ts.map +1 -1
  78. package/generated/AgentCapabilityCatalog.schema.json +1 -1
  79. package/generated/AttemptExecutionEvidence.schema.json +6 -1
  80. package/generated/BudgetLease.schema.json +5 -0
  81. package/generated/ControlAccountResetResponse.schema.json +51 -0
  82. package/generated/ControlAccountResourcesFreshnessResponse.schema.json +1016 -0
  83. package/generated/ControlAccountResourcesResponse.schema.json +71 -20
  84. package/generated/ControlCredentialProfilesQueryResponse.schema.json +72 -21
  85. package/generated/ControlCredentialProfilesResourcesResponse.schema.json +72 -21
  86. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +1 -1
  87. package/generated/ControlHarnessListResponse.schema.json +1 -1
  88. package/generated/ControlModelAccountCatalogResponse.schema.json +2 -1
  89. package/generated/ControlModelCatalogQueryResponse.schema.json +2 -1
  90. package/generated/ControlModelCatalogResponse.schema.json +2 -1
  91. package/generated/ControlModelOperationDetail.schema.json +5 -0
  92. package/generated/ControlQuotaQueryResponse.schema.json +131 -20
  93. package/generated/ControlQuotaReadRequest.schema.json +2 -1
  94. package/generated/ControlRetainedEnvelope.schema.json +2 -1
  95. package/generated/ControlRunAgainDraft.schema.json +9 -1
  96. package/generated/ControlRunDetail.schema.json +25 -4
  97. package/generated/ControlRunListResponse.schema.json +2 -1
  98. package/generated/ControlRunStartRequest.schema.json +9 -1
  99. package/generated/ControlRunSummary.schema.json +2 -1
  100. package/generated/ControlSettingsSnapshot.schema.json +10 -3
  101. package/generated/ControlThreadTurnRequest.schema.json +9 -1
  102. package/generated/DecisionRecord.schema.json +8 -1
  103. package/generated/EnvelopeCustody.schema.json +2 -1
  104. package/generated/GlobalConfig.schema.json +10 -3
  105. package/generated/HarnessEvent.schema.json +24 -0
  106. package/generated/HarnessManifest.schema.json +1 -1
  107. package/generated/HarnessStatusDto.schema.json +1 -1
  108. package/generated/ImageCallResult.schema.json +5 -0
  109. package/generated/McpAccountsToolResult.schema.json +72 -21
  110. package/generated/McpRunHandleResult.schema.json +15 -2
  111. package/generated/McpRunToolResult.schema.json +6 -1
  112. package/generated/ModelCallResult.schema.json +5 -0
  113. package/generated/ProcessingCostBasis.schema.json +5 -0
  114. package/generated/RunContinuityReceipt.schema.json +2 -1
  115. package/generated/RunEvent.schema.json +1 -0
  116. package/generated/RunProcessingIntent.schema.json +117 -0
  117. package/generated/RunResumable.schema.json +2 -1
  118. package/generated/RunTelemetry.schema.json +6 -1
  119. package/generated/RunTimeLimitRequest.schema.json +92 -0
  120. package/generated/RunTimeLimitSnapshot.schema.json +61 -0
  121. package/generated/UsageCostSummary.schema.json +1 -1
  122. package/package.json +2 -2
@@ -3580,6 +3580,19 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3580
3580
  }>;
3581
3581
  balances: z.ZodObject<{
3582
3582
  value: z.ZodNullable<z.ZodArray<z.ZodObject<{
3583
+ scope: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
3584
+ usage_kind: z.ZodOptional<z.ZodEnum<["included", "bonus", "on_demand", "total"]>>;
3585
+ period: z.ZodOptional<z.ZodObject<{
3586
+ starts_at: z.ZodNullable<z.ZodString>;
3587
+ ends_at: z.ZodNullable<z.ZodString>;
3588
+ }, "strict", z.ZodTypeAny, {
3589
+ starts_at: string | null;
3590
+ ends_at: string | null;
3591
+ }, {
3592
+ starts_at: string | null;
3593
+ ends_at: string | null;
3594
+ }>>;
3595
+ fee_included: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3583
3596
  id: z.ZodString;
3584
3597
  label: z.ZodString;
3585
3598
  amount: z.ZodNullable<z.ZodString>;
@@ -3589,6 +3602,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3589
3602
  has_balance: z.ZodNullable<z.ZodBoolean>;
3590
3603
  unlimited: z.ZodNullable<z.ZodBoolean>;
3591
3604
  }, "strict", z.ZodTypeAny, {
3605
+ scope?: "personal" | "team" | undefined;
3606
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
3607
+ period?: {
3608
+ starts_at: string | null;
3609
+ ends_at: string | null;
3610
+ } | undefined;
3611
+ fee_included?: boolean | null | undefined;
3592
3612
  id: string;
3593
3613
  label: string;
3594
3614
  amount: string | null;
@@ -3598,6 +3618,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3598
3618
  has_balance: boolean | null;
3599
3619
  unlimited: boolean | null;
3600
3620
  }, {
3621
+ scope?: "personal" | "team" | undefined;
3622
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
3623
+ period?: {
3624
+ starts_at: string | null;
3625
+ ends_at: string | null;
3626
+ } | undefined;
3627
+ fee_included?: boolean | null | undefined;
3601
3628
  id: string;
3602
3629
  label: string;
3603
3630
  amount: string | null;
@@ -3614,6 +3641,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3614
3641
  last_error: z.ZodNullable<z.ZodString>;
3615
3642
  }, "strict", z.ZodTypeAny, {
3616
3643
  value: {
3644
+ scope?: "personal" | "team" | undefined;
3645
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
3646
+ period?: {
3647
+ starts_at: string | null;
3648
+ ends_at: string | null;
3649
+ } | undefined;
3650
+ fee_included?: boolean | null | undefined;
3617
3651
  id: string;
3618
3652
  label: string;
3619
3653
  amount: string | null;
@@ -3630,6 +3664,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3630
3664
  last_error: string | null;
3631
3665
  }, {
3632
3666
  value: {
3667
+ scope?: "personal" | "team" | undefined;
3668
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
3669
+ period?: {
3670
+ starts_at: string | null;
3671
+ ends_at: string | null;
3672
+ } | undefined;
3673
+ fee_included?: boolean | null | undefined;
3633
3674
  id: string;
3634
3675
  label: string;
3635
3676
  amount: string | null;
@@ -3647,6 +3688,19 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3647
3688
  }>;
3648
3689
  spending: z.ZodObject<{
3649
3690
  value: z.ZodNullable<z.ZodArray<z.ZodObject<{
3691
+ scope: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
3692
+ usage_kind: z.ZodOptional<z.ZodEnum<["included", "bonus", "on_demand", "total"]>>;
3693
+ period: z.ZodOptional<z.ZodObject<{
3694
+ starts_at: z.ZodNullable<z.ZodString>;
3695
+ ends_at: z.ZodNullable<z.ZodString>;
3696
+ }, "strict", z.ZodTypeAny, {
3697
+ starts_at: string | null;
3698
+ ends_at: string | null;
3699
+ }, {
3700
+ starts_at: string | null;
3701
+ ends_at: string | null;
3702
+ }>>;
3703
+ fee_included: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3650
3704
  id: z.ZodString;
3651
3705
  label: z.ZodString;
3652
3706
  enabled: z.ZodNullable<z.ZodBoolean>;
@@ -3658,6 +3712,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3658
3712
  resets_at: z.ZodNullable<z.ZodString>;
3659
3713
  reason: z.ZodNullable<z.ZodString>;
3660
3714
  }, "strict", z.ZodTypeAny, {
3715
+ scope?: "personal" | "team" | undefined;
3716
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
3717
+ period?: {
3718
+ starts_at: string | null;
3719
+ ends_at: string | null;
3720
+ } | undefined;
3721
+ fee_included?: boolean | null | undefined;
3661
3722
  id: string;
3662
3723
  label: string;
3663
3724
  enabled: boolean | null;
@@ -3669,6 +3730,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3669
3730
  resets_at: string | null;
3670
3731
  reason: string | null;
3671
3732
  }, {
3733
+ scope?: "personal" | "team" | undefined;
3734
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
3735
+ period?: {
3736
+ starts_at: string | null;
3737
+ ends_at: string | null;
3738
+ } | undefined;
3739
+ fee_included?: boolean | null | undefined;
3672
3740
  id: string;
3673
3741
  label: string;
3674
3742
  enabled: boolean | null;
@@ -3687,6 +3755,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3687
3755
  last_error: z.ZodNullable<z.ZodString>;
3688
3756
  }, "strict", z.ZodTypeAny, {
3689
3757
  value: {
3758
+ scope?: "personal" | "team" | undefined;
3759
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
3760
+ period?: {
3761
+ starts_at: string | null;
3762
+ ends_at: string | null;
3763
+ } | undefined;
3764
+ fee_included?: boolean | null | undefined;
3690
3765
  id: string;
3691
3766
  label: string;
3692
3767
  enabled: boolean | null;
@@ -3705,6 +3780,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3705
3780
  last_error: string | null;
3706
3781
  }, {
3707
3782
  value: {
3783
+ scope?: "personal" | "team" | undefined;
3784
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
3785
+ period?: {
3786
+ starts_at: string | null;
3787
+ ends_at: string | null;
3788
+ } | undefined;
3789
+ fee_included?: boolean | null | undefined;
3708
3790
  id: string;
3709
3791
  label: string;
3710
3792
  enabled: boolean | null;
@@ -3918,6 +4000,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3918
4000
  };
3919
4001
  balances: {
3920
4002
  value: {
4003
+ scope?: "personal" | "team" | undefined;
4004
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
4005
+ period?: {
4006
+ starts_at: string | null;
4007
+ ends_at: string | null;
4008
+ } | undefined;
4009
+ fee_included?: boolean | null | undefined;
3921
4010
  id: string;
3922
4011
  label: string;
3923
4012
  amount: string | null;
@@ -3935,6 +4024,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
3935
4024
  };
3936
4025
  spending: {
3937
4026
  value: {
4027
+ scope?: "personal" | "team" | undefined;
4028
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
4029
+ period?: {
4030
+ starts_at: string | null;
4031
+ ends_at: string | null;
4032
+ } | undefined;
4033
+ fee_included?: boolean | null | undefined;
3938
4034
  id: string;
3939
4035
  label: string;
3940
4036
  enabled: boolean | null;
@@ -4000,6 +4096,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4000
4096
  };
4001
4097
  balances: {
4002
4098
  value: {
4099
+ scope?: "personal" | "team" | undefined;
4100
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
4101
+ period?: {
4102
+ starts_at: string | null;
4103
+ ends_at: string | null;
4104
+ } | undefined;
4105
+ fee_included?: boolean | null | undefined;
4003
4106
  id: string;
4004
4107
  label: string;
4005
4108
  amount: string | null;
@@ -4017,6 +4120,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4017
4120
  };
4018
4121
  spending: {
4019
4122
  value: {
4123
+ scope?: "personal" | "team" | undefined;
4124
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
4125
+ period?: {
4126
+ starts_at: string | null;
4127
+ ends_at: string | null;
4128
+ } | undefined;
4129
+ fee_included?: boolean | null | undefined;
4020
4130
  id: string;
4021
4131
  label: string;
4022
4132
  enabled: boolean | null;
@@ -4142,6 +4252,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4142
4252
  };
4143
4253
  balances: {
4144
4254
  value: {
4255
+ scope?: "personal" | "team" | undefined;
4256
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
4257
+ period?: {
4258
+ starts_at: string | null;
4259
+ ends_at: string | null;
4260
+ } | undefined;
4261
+ fee_included?: boolean | null | undefined;
4145
4262
  id: string;
4146
4263
  label: string;
4147
4264
  amount: string | null;
@@ -4159,6 +4276,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4159
4276
  };
4160
4277
  spending: {
4161
4278
  value: {
4279
+ scope?: "personal" | "team" | undefined;
4280
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
4281
+ period?: {
4282
+ starts_at: string | null;
4283
+ ends_at: string | null;
4284
+ } | undefined;
4285
+ fee_included?: boolean | null | undefined;
4162
4286
  id: string;
4163
4287
  label: string;
4164
4288
  enabled: boolean | null;
@@ -4284,6 +4408,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4284
4408
  };
4285
4409
  balances: {
4286
4410
  value: {
4411
+ scope?: "personal" | "team" | undefined;
4412
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
4413
+ period?: {
4414
+ starts_at: string | null;
4415
+ ends_at: string | null;
4416
+ } | undefined;
4417
+ fee_included?: boolean | null | undefined;
4287
4418
  id: string;
4288
4419
  label: string;
4289
4420
  amount: string | null;
@@ -4301,6 +4432,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4301
4432
  };
4302
4433
  spending: {
4303
4434
  value: {
4435
+ scope?: "personal" | "team" | undefined;
4436
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
4437
+ period?: {
4438
+ starts_at: string | null;
4439
+ ends_at: string | null;
4440
+ } | undefined;
4441
+ fee_included?: boolean | null | undefined;
4304
4442
  id: string;
4305
4443
  label: string;
4306
4444
  enabled: boolean | null;
@@ -4623,6 +4761,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4623
4761
  };
4624
4762
  balances: {
4625
4763
  value: {
4764
+ scope?: "personal" | "team" | undefined;
4765
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
4766
+ period?: {
4767
+ starts_at: string | null;
4768
+ ends_at: string | null;
4769
+ } | undefined;
4770
+ fee_included?: boolean | null | undefined;
4626
4771
  id: string;
4627
4772
  label: string;
4628
4773
  amount: string | null;
@@ -4640,6 +4785,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4640
4785
  };
4641
4786
  spending: {
4642
4787
  value: {
4788
+ scope?: "personal" | "team" | undefined;
4789
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
4790
+ period?: {
4791
+ starts_at: string | null;
4792
+ ends_at: string | null;
4793
+ } | undefined;
4794
+ fee_included?: boolean | null | undefined;
4643
4795
  id: string;
4644
4796
  label: string;
4645
4797
  enabled: boolean | null;
@@ -4962,6 +5114,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4962
5114
  };
4963
5115
  balances: {
4964
5116
  value: {
5117
+ scope?: "personal" | "team" | undefined;
5118
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
5119
+ period?: {
5120
+ starts_at: string | null;
5121
+ ends_at: string | null;
5122
+ } | undefined;
5123
+ fee_included?: boolean | null | undefined;
4965
5124
  id: string;
4966
5125
  label: string;
4967
5126
  amount: string | null;
@@ -4979,6 +5138,13 @@ export declare const ControlCredentialProfilesResourcesResponse: z.ZodObject<{
4979
5138
  };
4980
5139
  spending: {
4981
5140
  value: {
5141
+ scope?: "personal" | "team" | undefined;
5142
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
5143
+ period?: {
5144
+ starts_at: string | null;
5145
+ ends_at: string | null;
5146
+ } | undefined;
5147
+ fee_included?: boolean | null | undefined;
4982
5148
  id: string;
4983
5149
  label: string;
4984
5150
  enabled: boolean | null;
@@ -9016,6 +9182,19 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9016
9182
  }>;
9017
9183
  balances: z.ZodObject<{
9018
9184
  value: z.ZodNullable<z.ZodArray<z.ZodObject<{
9185
+ scope: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
9186
+ usage_kind: z.ZodOptional<z.ZodEnum<["included", "bonus", "on_demand", "total"]>>;
9187
+ period: z.ZodOptional<z.ZodObject<{
9188
+ starts_at: z.ZodNullable<z.ZodString>;
9189
+ ends_at: z.ZodNullable<z.ZodString>;
9190
+ }, "strict", z.ZodTypeAny, {
9191
+ starts_at: string | null;
9192
+ ends_at: string | null;
9193
+ }, {
9194
+ starts_at: string | null;
9195
+ ends_at: string | null;
9196
+ }>>;
9197
+ fee_included: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
9019
9198
  id: z.ZodString;
9020
9199
  label: z.ZodString;
9021
9200
  amount: z.ZodNullable<z.ZodString>;
@@ -9025,6 +9204,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9025
9204
  has_balance: z.ZodNullable<z.ZodBoolean>;
9026
9205
  unlimited: z.ZodNullable<z.ZodBoolean>;
9027
9206
  }, "strict", z.ZodTypeAny, {
9207
+ scope?: "personal" | "team" | undefined;
9208
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
9209
+ period?: {
9210
+ starts_at: string | null;
9211
+ ends_at: string | null;
9212
+ } | undefined;
9213
+ fee_included?: boolean | null | undefined;
9028
9214
  id: string;
9029
9215
  label: string;
9030
9216
  amount: string | null;
@@ -9034,6 +9220,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9034
9220
  has_balance: boolean | null;
9035
9221
  unlimited: boolean | null;
9036
9222
  }, {
9223
+ scope?: "personal" | "team" | undefined;
9224
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
9225
+ period?: {
9226
+ starts_at: string | null;
9227
+ ends_at: string | null;
9228
+ } | undefined;
9229
+ fee_included?: boolean | null | undefined;
9037
9230
  id: string;
9038
9231
  label: string;
9039
9232
  amount: string | null;
@@ -9050,6 +9243,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9050
9243
  last_error: z.ZodNullable<z.ZodString>;
9051
9244
  }, "strict", z.ZodTypeAny, {
9052
9245
  value: {
9246
+ scope?: "personal" | "team" | undefined;
9247
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
9248
+ period?: {
9249
+ starts_at: string | null;
9250
+ ends_at: string | null;
9251
+ } | undefined;
9252
+ fee_included?: boolean | null | undefined;
9053
9253
  id: string;
9054
9254
  label: string;
9055
9255
  amount: string | null;
@@ -9066,6 +9266,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9066
9266
  last_error: string | null;
9067
9267
  }, {
9068
9268
  value: {
9269
+ scope?: "personal" | "team" | undefined;
9270
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
9271
+ period?: {
9272
+ starts_at: string | null;
9273
+ ends_at: string | null;
9274
+ } | undefined;
9275
+ fee_included?: boolean | null | undefined;
9069
9276
  id: string;
9070
9277
  label: string;
9071
9278
  amount: string | null;
@@ -9083,6 +9290,19 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9083
9290
  }>;
9084
9291
  spending: z.ZodObject<{
9085
9292
  value: z.ZodNullable<z.ZodArray<z.ZodObject<{
9293
+ scope: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
9294
+ usage_kind: z.ZodOptional<z.ZodEnum<["included", "bonus", "on_demand", "total"]>>;
9295
+ period: z.ZodOptional<z.ZodObject<{
9296
+ starts_at: z.ZodNullable<z.ZodString>;
9297
+ ends_at: z.ZodNullable<z.ZodString>;
9298
+ }, "strict", z.ZodTypeAny, {
9299
+ starts_at: string | null;
9300
+ ends_at: string | null;
9301
+ }, {
9302
+ starts_at: string | null;
9303
+ ends_at: string | null;
9304
+ }>>;
9305
+ fee_included: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
9086
9306
  id: z.ZodString;
9087
9307
  label: z.ZodString;
9088
9308
  enabled: z.ZodNullable<z.ZodBoolean>;
@@ -9094,6 +9314,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9094
9314
  resets_at: z.ZodNullable<z.ZodString>;
9095
9315
  reason: z.ZodNullable<z.ZodString>;
9096
9316
  }, "strict", z.ZodTypeAny, {
9317
+ scope?: "personal" | "team" | undefined;
9318
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
9319
+ period?: {
9320
+ starts_at: string | null;
9321
+ ends_at: string | null;
9322
+ } | undefined;
9323
+ fee_included?: boolean | null | undefined;
9097
9324
  id: string;
9098
9325
  label: string;
9099
9326
  enabled: boolean | null;
@@ -9105,6 +9332,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9105
9332
  resets_at: string | null;
9106
9333
  reason: string | null;
9107
9334
  }, {
9335
+ scope?: "personal" | "team" | undefined;
9336
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
9337
+ period?: {
9338
+ starts_at: string | null;
9339
+ ends_at: string | null;
9340
+ } | undefined;
9341
+ fee_included?: boolean | null | undefined;
9108
9342
  id: string;
9109
9343
  label: string;
9110
9344
  enabled: boolean | null;
@@ -9123,6 +9357,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9123
9357
  last_error: z.ZodNullable<z.ZodString>;
9124
9358
  }, "strict", z.ZodTypeAny, {
9125
9359
  value: {
9360
+ scope?: "personal" | "team" | undefined;
9361
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
9362
+ period?: {
9363
+ starts_at: string | null;
9364
+ ends_at: string | null;
9365
+ } | undefined;
9366
+ fee_included?: boolean | null | undefined;
9126
9367
  id: string;
9127
9368
  label: string;
9128
9369
  enabled: boolean | null;
@@ -9141,6 +9382,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9141
9382
  last_error: string | null;
9142
9383
  }, {
9143
9384
  value: {
9385
+ scope?: "personal" | "team" | undefined;
9386
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
9387
+ period?: {
9388
+ starts_at: string | null;
9389
+ ends_at: string | null;
9390
+ } | undefined;
9391
+ fee_included?: boolean | null | undefined;
9144
9392
  id: string;
9145
9393
  label: string;
9146
9394
  enabled: boolean | null;
@@ -9354,6 +9602,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9354
9602
  };
9355
9603
  balances: {
9356
9604
  value: {
9605
+ scope?: "personal" | "team" | undefined;
9606
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
9607
+ period?: {
9608
+ starts_at: string | null;
9609
+ ends_at: string | null;
9610
+ } | undefined;
9611
+ fee_included?: boolean | null | undefined;
9357
9612
  id: string;
9358
9613
  label: string;
9359
9614
  amount: string | null;
@@ -9371,6 +9626,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9371
9626
  };
9372
9627
  spending: {
9373
9628
  value: {
9629
+ scope?: "personal" | "team" | undefined;
9630
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
9631
+ period?: {
9632
+ starts_at: string | null;
9633
+ ends_at: string | null;
9634
+ } | undefined;
9635
+ fee_included?: boolean | null | undefined;
9374
9636
  id: string;
9375
9637
  label: string;
9376
9638
  enabled: boolean | null;
@@ -9436,6 +9698,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9436
9698
  };
9437
9699
  balances: {
9438
9700
  value: {
9701
+ scope?: "personal" | "team" | undefined;
9702
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
9703
+ period?: {
9704
+ starts_at: string | null;
9705
+ ends_at: string | null;
9706
+ } | undefined;
9707
+ fee_included?: boolean | null | undefined;
9439
9708
  id: string;
9440
9709
  label: string;
9441
9710
  amount: string | null;
@@ -9453,6 +9722,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9453
9722
  };
9454
9723
  spending: {
9455
9724
  value: {
9725
+ scope?: "personal" | "team" | undefined;
9726
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
9727
+ period?: {
9728
+ starts_at: string | null;
9729
+ ends_at: string | null;
9730
+ } | undefined;
9731
+ fee_included?: boolean | null | undefined;
9456
9732
  id: string;
9457
9733
  label: string;
9458
9734
  enabled: boolean | null;
@@ -9578,6 +9854,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9578
9854
  };
9579
9855
  balances: {
9580
9856
  value: {
9857
+ scope?: "personal" | "team" | undefined;
9858
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
9859
+ period?: {
9860
+ starts_at: string | null;
9861
+ ends_at: string | null;
9862
+ } | undefined;
9863
+ fee_included?: boolean | null | undefined;
9581
9864
  id: string;
9582
9865
  label: string;
9583
9866
  amount: string | null;
@@ -9595,6 +9878,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9595
9878
  };
9596
9879
  spending: {
9597
9880
  value: {
9881
+ scope?: "personal" | "team" | undefined;
9882
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
9883
+ period?: {
9884
+ starts_at: string | null;
9885
+ ends_at: string | null;
9886
+ } | undefined;
9887
+ fee_included?: boolean | null | undefined;
9598
9888
  id: string;
9599
9889
  label: string;
9600
9890
  enabled: boolean | null;
@@ -9720,6 +10010,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9720
10010
  };
9721
10011
  balances: {
9722
10012
  value: {
10013
+ scope?: "personal" | "team" | undefined;
10014
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
10015
+ period?: {
10016
+ starts_at: string | null;
10017
+ ends_at: string | null;
10018
+ } | undefined;
10019
+ fee_included?: boolean | null | undefined;
9723
10020
  id: string;
9724
10021
  label: string;
9725
10022
  amount: string | null;
@@ -9737,6 +10034,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
9737
10034
  };
9738
10035
  spending: {
9739
10036
  value: {
10037
+ scope?: "personal" | "team" | undefined;
10038
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
10039
+ period?: {
10040
+ starts_at: string | null;
10041
+ ends_at: string | null;
10042
+ } | undefined;
10043
+ fee_included?: boolean | null | undefined;
9740
10044
  id: string;
9741
10045
  label: string;
9742
10046
  enabled: boolean | null;
@@ -10059,6 +10363,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
10059
10363
  };
10060
10364
  balances: {
10061
10365
  value: {
10366
+ scope?: "personal" | "team" | undefined;
10367
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
10368
+ period?: {
10369
+ starts_at: string | null;
10370
+ ends_at: string | null;
10371
+ } | undefined;
10372
+ fee_included?: boolean | null | undefined;
10062
10373
  id: string;
10063
10374
  label: string;
10064
10375
  amount: string | null;
@@ -10076,6 +10387,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
10076
10387
  };
10077
10388
  spending: {
10078
10389
  value: {
10390
+ scope?: "personal" | "team" | undefined;
10391
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
10392
+ period?: {
10393
+ starts_at: string | null;
10394
+ ends_at: string | null;
10395
+ } | undefined;
10396
+ fee_included?: boolean | null | undefined;
10079
10397
  id: string;
10080
10398
  label: string;
10081
10399
  enabled: boolean | null;
@@ -10398,6 +10716,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
10398
10716
  };
10399
10717
  balances: {
10400
10718
  value: {
10719
+ scope?: "personal" | "team" | undefined;
10720
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
10721
+ period?: {
10722
+ starts_at: string | null;
10723
+ ends_at: string | null;
10724
+ } | undefined;
10725
+ fee_included?: boolean | null | undefined;
10401
10726
  id: string;
10402
10727
  label: string;
10403
10728
  amount: string | null;
@@ -10415,6 +10740,13 @@ export declare const ControlCredentialProfilesQueryResponse: z.ZodUnion<[z.ZodOb
10415
10740
  };
10416
10741
  spending: {
10417
10742
  value: {
10743
+ scope?: "personal" | "team" | undefined;
10744
+ usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
10745
+ period?: {
10746
+ starts_at: string | null;
10747
+ ends_at: string | null;
10748
+ } | undefined;
10749
+ fee_included?: boolean | null | undefined;
10418
10750
  id: string;
10419
10751
  label: string;
10420
10752
  enabled: boolean | null;