@seamapi/types 1.77.0 → 1.79.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.
@@ -1157,7 +1157,8 @@ export interface Routes {
1157
1157
  queryParams: {};
1158
1158
  jsonBody: {};
1159
1159
  commonParams: {
1160
- acs_system_id: string;
1160
+ user_identity_id?: string | undefined;
1161
+ acs_system_id?: string | undefined;
1161
1162
  };
1162
1163
  formData: {};
1163
1164
  jsonResponse: {
@@ -8014,7 +8015,28 @@ export interface Routes {
8014
8015
  commonParams: {};
8015
8016
  formData: {};
8016
8017
  jsonResponse: {
8017
- message: string;
8018
+ action_attempt: {
8019
+ status: 'success';
8020
+ action_type: string;
8021
+ action_attempt_id: string;
8022
+ result?: any;
8023
+ error: null;
8024
+ } | {
8025
+ status: 'pending';
8026
+ action_type: string;
8027
+ action_attempt_id: string;
8028
+ result: null;
8029
+ error: null;
8030
+ } | {
8031
+ status: 'error';
8032
+ action_type: string;
8033
+ action_attempt_id: string;
8034
+ result: null;
8035
+ error: {
8036
+ type: string;
8037
+ message: string;
8038
+ };
8039
+ };
8018
8040
  };
8019
8041
  };
8020
8042
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.77.0",
3
+ "version": "1.79.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -6317,8 +6317,8 @@ export default {
6317
6317
  schema: {
6318
6318
  properties: {
6319
6319
  acs_system_id: { format: 'uuid', type: 'string' },
6320
+ user_identity_id: { format: 'uuid', type: 'string' },
6320
6321
  },
6321
- required: ['acs_system_id'],
6322
6322
  type: 'object',
6323
6323
  },
6324
6324
  },
@@ -12221,10 +12221,12 @@ export default {
12221
12221
  'application/json': {
12222
12222
  schema: {
12223
12223
  properties: {
12224
- message: { type: 'string' },
12224
+ action_attempt: {
12225
+ $ref: '#/components/schemas/action_attempt',
12226
+ },
12225
12227
  ok: { type: 'boolean' },
12226
12228
  },
12227
- required: ['message', 'ok'],
12229
+ required: ['action_attempt', 'ok'],
12228
12230
  type: 'object',
12229
12231
  },
12230
12232
  },
@@ -1294,7 +1294,8 @@ export interface Routes {
1294
1294
  queryParams: {}
1295
1295
  jsonBody: {}
1296
1296
  commonParams: {
1297
- acs_system_id: string
1297
+ user_identity_id?: string | undefined
1298
+ acs_system_id?: string | undefined
1298
1299
  }
1299
1300
  formData: {}
1300
1301
  jsonResponse: {
@@ -11002,7 +11003,31 @@ export interface Routes {
11002
11003
  commonParams: {}
11003
11004
  formData: {}
11004
11005
  jsonResponse: {
11005
- message: string
11006
+ action_attempt:
11007
+ | {
11008
+ status: 'success'
11009
+ action_type: string
11010
+ action_attempt_id: string
11011
+ result?: any
11012
+ error: null
11013
+ }
11014
+ | {
11015
+ status: 'pending'
11016
+ action_type: string
11017
+ action_attempt_id: string
11018
+ result: null
11019
+ error: null
11020
+ }
11021
+ | {
11022
+ status: 'error'
11023
+ action_type: string
11024
+ action_attempt_id: string
11025
+ result: null
11026
+ error: {
11027
+ type: string
11028
+ message: string
11029
+ }
11030
+ }
11006
11031
  }
11007
11032
  }
11008
11033
  }