@seamapi/types 1.77.0 → 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.
@@ -16354,8 +16354,8 @@ declare const _default: {
16354
16354
  'application/json': {
16355
16355
  schema: {
16356
16356
  properties: {
16357
- message: {
16358
- type: string;
16357
+ action_attempt: {
16358
+ $ref: string;
16359
16359
  };
16360
16360
  ok: {
16361
16361
  type: string;
@@ -24424,7 +24424,28 @@ interface Routes {
24424
24424
  commonParams: {};
24425
24425
  formData: {};
24426
24426
  jsonResponse: {
24427
- message: string;
24427
+ action_attempt: {
24428
+ status: 'success';
24429
+ action_type: string;
24430
+ action_attempt_id: string;
24431
+ result?: any;
24432
+ error: null;
24433
+ } | {
24434
+ status: 'pending';
24435
+ action_type: string;
24436
+ action_attempt_id: string;
24437
+ result: null;
24438
+ error: null;
24439
+ } | {
24440
+ status: 'error';
24441
+ action_type: string;
24442
+ action_attempt_id: string;
24443
+ result: null;
24444
+ error: {
24445
+ type: string;
24446
+ message: string;
24447
+ };
24448
+ };
24428
24449
  };
24429
24450
  };
24430
24451
  }
@@ -16280,8 +16280,8 @@ declare const _default: {
16280
16280
  'application/json': {
16281
16281
  schema: {
16282
16282
  properties: {
16283
- message: {
16284
- type: string;
16283
+ action_attempt: {
16284
+ $ref: string;
16285
16285
  };
16286
16286
  ok: {
16287
16287
  type: string;
@@ -12131,10 +12131,12 @@ export default {
12131
12131
  'application/json': {
12132
12132
  schema: {
12133
12133
  properties: {
12134
- message: { type: 'string' },
12134
+ action_attempt: {
12135
+ $ref: '#/components/schemas/action_attempt',
12136
+ },
12135
12137
  ok: { type: 'boolean' },
12136
12138
  },
12137
- required: ['message', 'ok'],
12139
+ required: ['action_attempt', 'ok'],
12138
12140
  type: 'object',
12139
12141
  },
12140
12142
  },