@seamapi/types 1.1164.0 → 1.1166.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.
@@ -47768,6 +47768,8 @@ export type Routes = {
47768
47768
  queryParams: {};
47769
47769
  jsonBody: {};
47770
47770
  commonParams: {
47771
+ /** Customer key for which you want to list client sessions. */
47772
+ customer_key?: string | undefined;
47771
47773
  /** ID of the client session that you want to retrieve. */
47772
47774
  client_session_id?: string | undefined;
47773
47775
  /** Your user ID for the user by which you want to filter client sessions. */
@@ -47778,6 +47780,10 @@ export type Routes = {
47778
47780
  without_user_identifier_key?: boolean | undefined;
47779
47781
  /** ID of the [user identity](https://www.seam.co/docs/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to retrieve client sessions. Specify `null` to retrieve client sessions that are not associated with a user identity. */
47780
47782
  user_identity_id?: (string | null) | undefined;
47783
+ /** Maximum number of records to return per page. */
47784
+ limit?: number;
47785
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
47786
+ page_cursor?: (string | undefined) | null;
47781
47787
  };
47782
47788
  formData: {};
47783
47789
  jsonResponse: {
@@ -47808,6 +47814,15 @@ export type Routes = {
47808
47814
  /** ID of the [user identity](https://www.seam.co/docs/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with the client session. */
47809
47815
  user_identity_id?: string | undefined;
47810
47816
  }[];
47817
+ /** Information about the current page of results. */
47818
+ pagination: {
47819
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
47820
+ next_page_cursor: string | null;
47821
+ /** Indicates whether there is another page of results after this one. */
47822
+ has_next_page: boolean;
47823
+ /** URL to get the next page of results. */
47824
+ next_page_url: string | null;
47825
+ };
47811
47826
  };
47812
47827
  maxDuration: undefined;
47813
47828
  };
@@ -91616,7 +91631,7 @@ export type Routes = {
91616
91631
  }[];
91617
91632
  recommended_package_quantity: number;
91618
91633
  recommendation_basis: {
91619
- trailing_30_day_tokens: number;
91634
+ trailing_30_day_tokens: number | null;
91620
91635
  };
91621
91636
  };
91622
91637
  maxDuration: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1164.0",
3
+ "version": "1.1166.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -51728,6 +51728,16 @@ const openapi: OpenAPISpec = {
51728
51728
  'Returns a list of all [client sessions](https://www.seam.co/docs/core-concepts/authentication/client-session-tokens).',
51729
51729
  operationId: 'clientSessionsListGet',
51730
51730
  parameters: [
51731
+ {
51732
+ in: 'query',
51733
+ name: 'customer_key',
51734
+ schema: {
51735
+ description:
51736
+ 'Customer key for which you want to list client sessions.',
51737
+ minLength: 1,
51738
+ type: 'string',
51739
+ },
51740
+ },
51731
51741
  {
51732
51742
  in: 'query',
51733
51743
  name: 'client_session_id',
@@ -51777,6 +51787,27 @@ const openapi: OpenAPISpec = {
51777
51787
  type: 'string',
51778
51788
  },
51779
51789
  },
51790
+ {
51791
+ in: 'query',
51792
+ name: 'limit',
51793
+ schema: {
51794
+ default: 50_000,
51795
+ description: 'Maximum number of records to return per page.',
51796
+ exclusiveMinimum: true,
51797
+ minimum: 0,
51798
+ type: 'integer',
51799
+ },
51800
+ },
51801
+ {
51802
+ in: 'query',
51803
+ name: 'page_cursor',
51804
+ schema: {
51805
+ description:
51806
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
51807
+ nullable: true,
51808
+ type: 'string',
51809
+ },
51810
+ },
51780
51811
  ],
51781
51812
  responses: {
51782
51813
  '200': {
@@ -51789,8 +51820,9 @@ const openapi: OpenAPISpec = {
51789
51820
  type: 'array',
51790
51821
  },
51791
51822
  ok: { type: 'boolean' },
51823
+ pagination: { $ref: '#/components/schemas/pagination' },
51792
51824
  },
51793
- required: ['client_sessions', 'ok'],
51825
+ required: ['client_sessions', 'pagination', 'ok'],
51794
51826
  type: 'object',
51795
51827
  },
51796
51828
  },
@@ -62082,6 +62114,7 @@ const openapi: OpenAPISpec = {
62082
62114
  properties: {
62083
62115
  trailing_30_day_tokens: {
62084
62116
  format: 'float',
62117
+ nullable: true,
62085
62118
  type: 'number',
62086
62119
  },
62087
62120
  },
@@ -55592,6 +55592,8 @@ export type Routes = {
55592
55592
  queryParams: {}
55593
55593
  jsonBody: {}
55594
55594
  commonParams: {
55595
+ /** Customer key for which you want to list client sessions. */
55596
+ customer_key?: string | undefined
55595
55597
  /** ID of the client session that you want to retrieve. */
55596
55598
  client_session_id?: string | undefined
55597
55599
  /** Your user ID for the user by which you want to filter client sessions. */
@@ -55602,6 +55604,10 @@ export type Routes = {
55602
55604
  without_user_identifier_key?: boolean | undefined
55603
55605
  /** ID of the [user identity](https://www.seam.co/docs/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to retrieve client sessions. Specify `null` to retrieve client sessions that are not associated with a user identity. */
55604
55606
  user_identity_id?: (string | null) | undefined
55607
+ /** Maximum number of records to return per page. */
55608
+ limit?: number
55609
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
55610
+ page_cursor?: (string | undefined) | null
55605
55611
  }
55606
55612
  formData: {}
55607
55613
  jsonResponse: {
@@ -55632,6 +55638,15 @@ export type Routes = {
55632
55638
  /** ID of the [user identity](https://www.seam.co/docs/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with the client session. */
55633
55639
  user_identity_id?: string | undefined
55634
55640
  }[]
55641
+ /** Information about the current page of results. */
55642
+ pagination: {
55643
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
55644
+ next_page_cursor: string | null
55645
+ /** Indicates whether there is another page of results after this one. */
55646
+ has_next_page: boolean
55647
+ /** URL to get the next page of results. */
55648
+ next_page_url: string | null
55649
+ }
55635
55650
  }
55636
55651
  maxDuration: undefined
55637
55652
  }
@@ -109475,7 +109490,7 @@ export type Routes = {
109475
109490
  }[]
109476
109491
  recommended_package_quantity: number
109477
109492
  recommendation_basis: {
109478
- trailing_30_day_tokens: number
109493
+ trailing_30_day_tokens: number | null
109479
109494
  }
109480
109495
  }
109481
109496
  maxDuration: undefined