@seamapi/types 1.1170.0 → 1.1171.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.
@@ -91570,6 +91570,16 @@ export type Routes = {
91570
91570
  hosted_invoice_url: string | null;
91571
91571
  } | null;
91572
91572
  } | null;
91573
+ trial: {
91574
+ trial_started_at: string;
91575
+ trial_ends_at: string;
91576
+ is_active: boolean;
91577
+ is_suspended: boolean;
91578
+ trial_credits: number;
91579
+ used_credits: number | null;
91580
+ remaining_credits: number | null;
91581
+ is_credits_used_up: boolean;
91582
+ } | null;
91573
91583
  usage: {
91574
91584
  as_of: string;
91575
91585
  period_started_at: string;
@@ -91642,6 +91652,7 @@ export type Routes = {
91642
91652
  recommended_package_quantity: number;
91643
91653
  recommendation_basis: {
91644
91654
  trailing_30_day_tokens: number | null;
91655
+ is_projected_from_trial: boolean;
91645
91656
  };
91646
91657
  };
91647
91658
  maxDuration: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1170.0",
3
+ "version": "1.1171.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -61894,6 +61894,44 @@ const openapi: OpenAPISpec = {
61894
61894
  type: 'object',
61895
61895
  },
61896
61896
  is_test_mode: { type: 'boolean' },
61897
+ trial: {
61898
+ nullable: true,
61899
+ properties: {
61900
+ is_active: { type: 'boolean' },
61901
+ is_credits_used_up: { type: 'boolean' },
61902
+ is_suspended: { type: 'boolean' },
61903
+ remaining_credits: {
61904
+ format: 'float',
61905
+ nullable: true,
61906
+ type: 'number',
61907
+ },
61908
+ trial_credits: { format: 'float', type: 'number' },
61909
+ trial_ends_at: {
61910
+ format: 'date-time',
61911
+ type: 'string',
61912
+ },
61913
+ trial_started_at: {
61914
+ format: 'date-time',
61915
+ type: 'string',
61916
+ },
61917
+ used_credits: {
61918
+ format: 'float',
61919
+ nullable: true,
61920
+ type: 'number',
61921
+ },
61922
+ },
61923
+ required: [
61924
+ 'trial_started_at',
61925
+ 'trial_ends_at',
61926
+ 'is_active',
61927
+ 'is_suspended',
61928
+ 'trial_credits',
61929
+ 'used_credits',
61930
+ 'remaining_credits',
61931
+ 'is_credits_used_up',
61932
+ ],
61933
+ type: 'object',
61934
+ },
61897
61935
  usage: {
61898
61936
  nullable: true,
61899
61937
  properties: {
@@ -61987,6 +62025,7 @@ const openapi: OpenAPISpec = {
61987
62025
  required: [
61988
62026
  'is_test_mode',
61989
62027
  'credit_subscription',
62028
+ 'trial',
61990
62029
  'usage',
61991
62030
  ],
61992
62031
  type: 'object',
@@ -62162,13 +62201,17 @@ const openapi: OpenAPISpec = {
62162
62201
  },
62163
62202
  recommendation_basis: {
62164
62203
  properties: {
62204
+ is_projected_from_trial: { type: 'boolean' },
62165
62205
  trailing_30_day_tokens: {
62166
62206
  format: 'float',
62167
62207
  nullable: true,
62168
62208
  type: 'number',
62169
62209
  },
62170
62210
  },
62171
- required: ['trailing_30_day_tokens'],
62211
+ required: [
62212
+ 'trailing_30_day_tokens',
62213
+ 'is_projected_from_trial',
62214
+ ],
62172
62215
  type: 'object',
62173
62216
  },
62174
62217
  recommended_package_quantity: {
@@ -109429,6 +109429,16 @@ export type Routes = {
109429
109429
  hosted_invoice_url: string | null
109430
109430
  } | null
109431
109431
  } | null
109432
+ trial: {
109433
+ trial_started_at: string
109434
+ trial_ends_at: string
109435
+ is_active: boolean
109436
+ is_suspended: boolean
109437
+ trial_credits: number
109438
+ used_credits: number | null
109439
+ remaining_credits: number | null
109440
+ is_credits_used_up: boolean
109441
+ } | null
109432
109442
  usage: {
109433
109443
  as_of: string
109434
109444
  period_started_at: string
@@ -109501,6 +109511,7 @@ export type Routes = {
109501
109511
  recommended_package_quantity: number
109502
109512
  recommendation_basis: {
109503
109513
  trailing_30_day_tokens: number | null
109514
+ is_projected_from_trial: boolean
109504
109515
  }
109505
109516
  }
109506
109517
  maxDuration: undefined