@seamapi/types 1.76.1 → 1.78.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.
@@ -5565,6 +5565,7 @@ export interface Routes {
5565
5565
  nfc_capability?: boolean;
5566
5566
  application_version?: string;
5567
5567
  seos_applet_version?: string;
5568
+ seos_tsm_endpoint_id?: number;
5568
5569
  };
5569
5570
  };
5570
5571
  commonParams: {};
@@ -8013,7 +8014,28 @@ export interface Routes {
8013
8014
  commonParams: {};
8014
8015
  formData: {};
8015
8016
  jsonResponse: {
8016
- message: string;
8017
+ action_attempt: {
8018
+ status: 'success';
8019
+ action_type: string;
8020
+ action_attempt_id: string;
8021
+ result?: any;
8022
+ error: null;
8023
+ } | {
8024
+ status: 'pending';
8025
+ action_type: string;
8026
+ action_attempt_id: string;
8027
+ result: null;
8028
+ error: null;
8029
+ } | {
8030
+ status: 'error';
8031
+ action_type: string;
8032
+ action_attempt_id: string;
8033
+ result: null;
8034
+ error: {
8035
+ type: string;
8036
+ message: string;
8037
+ };
8038
+ };
8017
8039
  };
8018
8040
  };
8019
8041
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.76.1",
3
+ "version": "1.78.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -9828,6 +9828,7 @@ export default {
9828
9828
  hce_capability: { default: false, type: 'boolean' },
9829
9829
  nfc_capability: { default: false, type: 'boolean' },
9830
9830
  seos_applet_version: { default: '1.0.0', type: 'string' },
9831
+ seos_tsm_endpoint_id: { default: 1, type: 'number' },
9831
9832
  },
9832
9833
  type: 'object',
9833
9834
  },
@@ -12220,10 +12221,12 @@ export default {
12220
12221
  'application/json': {
12221
12222
  schema: {
12222
12223
  properties: {
12223
- message: { type: 'string' },
12224
+ action_attempt: {
12225
+ $ref: '#/components/schemas/action_attempt',
12226
+ },
12224
12227
  ok: { type: 'boolean' },
12225
12228
  },
12226
- required: ['message', 'ok'],
12229
+ required: ['action_attempt', 'ok'],
12227
12230
  type: 'object',
12228
12231
  },
12229
12232
  },
@@ -7659,6 +7659,7 @@ export interface Routes {
7659
7659
  nfc_capability?: boolean
7660
7660
  application_version?: string
7661
7661
  seos_applet_version?: string
7662
+ seos_tsm_endpoint_id?: number
7662
7663
  }
7663
7664
  }
7664
7665
  commonParams: {}
@@ -11001,7 +11002,31 @@ export interface Routes {
11001
11002
  commonParams: {}
11002
11003
  formData: {}
11003
11004
  jsonResponse: {
11004
- message: string
11005
+ action_attempt:
11006
+ | {
11007
+ status: 'success'
11008
+ action_type: string
11009
+ action_attempt_id: string
11010
+ result?: any
11011
+ error: null
11012
+ }
11013
+ | {
11014
+ status: 'pending'
11015
+ action_type: string
11016
+ action_attempt_id: string
11017
+ result: null
11018
+ error: null
11019
+ }
11020
+ | {
11021
+ status: 'error'
11022
+ action_type: string
11023
+ action_attempt_id: string
11024
+ result: null
11025
+ error: {
11026
+ type: string
11027
+ message: string
11028
+ }
11029
+ }
11005
11030
  }
11006
11031
  }
11007
11032
  }