@seamapi/types 1.1170.0 → 1.1172.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.1172.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -43235,6 +43235,11 @@ const openapi: OpenAPISpec = {
43235
43235
  scheme: 'bearer',
43236
43236
  type: 'http',
43237
43237
  },
43238
+ internal_billing_service_account: {
43239
+ bearerFormat: 'Seam Internal Billing Service Account Key',
43240
+ scheme: 'bearer',
43241
+ type: 'http',
43242
+ },
43238
43243
  internal_service_agent: {
43239
43244
  bearerFormat: 'Internal Service Agent Key',
43240
43245
  scheme: 'bearer',
@@ -61894,6 +61899,44 @@ const openapi: OpenAPISpec = {
61894
61899
  type: 'object',
61895
61900
  },
61896
61901
  is_test_mode: { type: 'boolean' },
61902
+ trial: {
61903
+ nullable: true,
61904
+ properties: {
61905
+ is_active: { type: 'boolean' },
61906
+ is_credits_used_up: { type: 'boolean' },
61907
+ is_suspended: { type: 'boolean' },
61908
+ remaining_credits: {
61909
+ format: 'float',
61910
+ nullable: true,
61911
+ type: 'number',
61912
+ },
61913
+ trial_credits: { format: 'float', type: 'number' },
61914
+ trial_ends_at: {
61915
+ format: 'date-time',
61916
+ type: 'string',
61917
+ },
61918
+ trial_started_at: {
61919
+ format: 'date-time',
61920
+ type: 'string',
61921
+ },
61922
+ used_credits: {
61923
+ format: 'float',
61924
+ nullable: true,
61925
+ type: 'number',
61926
+ },
61927
+ },
61928
+ required: [
61929
+ 'trial_started_at',
61930
+ 'trial_ends_at',
61931
+ 'is_active',
61932
+ 'is_suspended',
61933
+ 'trial_credits',
61934
+ 'used_credits',
61935
+ 'remaining_credits',
61936
+ 'is_credits_used_up',
61937
+ ],
61938
+ type: 'object',
61939
+ },
61897
61940
  usage: {
61898
61941
  nullable: true,
61899
61942
  properties: {
@@ -61987,6 +62030,7 @@ const openapi: OpenAPISpec = {
61987
62030
  required: [
61988
62031
  'is_test_mode',
61989
62032
  'credit_subscription',
62033
+ 'trial',
61990
62034
  'usage',
61991
62035
  ],
61992
62036
  type: 'object',
@@ -62162,13 +62206,17 @@ const openapi: OpenAPISpec = {
62162
62206
  },
62163
62207
  recommendation_basis: {
62164
62208
  properties: {
62209
+ is_projected_from_trial: { type: 'boolean' },
62165
62210
  trailing_30_day_tokens: {
62166
62211
  format: 'float',
62167
62212
  nullable: true,
62168
62213
  type: 'number',
62169
62214
  },
62170
62215
  },
62171
- required: ['trailing_30_day_tokens'],
62216
+ required: [
62217
+ 'trailing_30_day_tokens',
62218
+ 'is_projected_from_trial',
62219
+ ],
62172
62220
  type: 'object',
62173
62221
  },
62174
62222
  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