@seamapi/types 1.1165.0 → 1.1167.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.
@@ -91609,6 +91609,8 @@ export type Routes = {
91609
91609
  status: string;
91610
91610
  hosted_invoice_url: string | null;
91611
91611
  issued_at: string;
91612
+ package_quantity: number | null;
91613
+ kind: 'package' | 'usage' | 'other';
91612
91614
  }[];
91613
91615
  };
91614
91616
  maxDuration: undefined;
@@ -91631,7 +91633,7 @@ export type Routes = {
91631
91633
  }[];
91632
91634
  recommended_package_quantity: number;
91633
91635
  recommendation_basis: {
91634
- trailing_30_day_tokens: number;
91636
+ trailing_30_day_tokens: number | null;
91635
91637
  };
91636
91638
  };
91637
91639
  maxDuration: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1165.0",
3
+ "version": "1.1167.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -62008,6 +62008,15 @@ const openapi: OpenAPISpec = {
62008
62008
  },
62009
62009
  invoice_id: { type: 'string' },
62010
62010
  issued_at: { format: 'date-time', type: 'string' },
62011
+ kind: {
62012
+ enum: ['package', 'usage', 'other'],
62013
+ type: 'string',
62014
+ },
62015
+ package_quantity: {
62016
+ format: 'float',
62017
+ nullable: true,
62018
+ type: 'number',
62019
+ },
62011
62020
  period_ends_at: {
62012
62021
  format: 'date-time',
62013
62022
  type: 'string',
@@ -62027,6 +62036,8 @@ const openapi: OpenAPISpec = {
62027
62036
  'status',
62028
62037
  'hosted_invoice_url',
62029
62038
  'issued_at',
62039
+ 'package_quantity',
62040
+ 'kind',
62030
62041
  ],
62031
62042
  type: 'object',
62032
62043
  },
@@ -62114,6 +62125,7 @@ const openapi: OpenAPISpec = {
62114
62125
  properties: {
62115
62126
  trailing_30_day_tokens: {
62116
62127
  format: 'float',
62128
+ nullable: true,
62117
62129
  type: 'number',
62118
62130
  },
62119
62131
  },
@@ -109468,6 +109468,8 @@ export type Routes = {
109468
109468
  status: string
109469
109469
  hosted_invoice_url: string | null
109470
109470
  issued_at: string
109471
+ package_quantity: number | null
109472
+ kind: 'package' | 'usage' | 'other'
109471
109473
  }[]
109472
109474
  }
109473
109475
  maxDuration: undefined
@@ -109490,7 +109492,7 @@ export type Routes = {
109490
109492
  }[]
109491
109493
  recommended_package_quantity: number
109492
109494
  recommendation_basis: {
109493
- trailing_30_day_tokens: number
109495
+ trailing_30_day_tokens: number | null
109494
109496
  }
109495
109497
  }
109496
109498
  maxDuration: undefined