Skip to content

Commit

Permalink
fix: Encoding a card does not require the acs_system_id
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot authored Oct 24, 2024
1 parent 5d81fbb commit 531109e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 66 deletions.
58 changes: 12 additions & 46 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8214,34 +8214,12 @@ export default {
content: {
'application/json': {
schema: {
oneOf: [
{
properties: {
acs_credential_id: { format: 'uuid', type: 'string' },
acs_system_id: { format: 'uuid', type: 'string' },
device_name: { type: 'string' },
},
required: [
'acs_system_id',
'device_name',
'acs_credential_id',
],
type: 'object',
},
{
properties: {
acs_credential_id: { format: 'uuid', type: 'string' },
acs_system_id: { format: 'uuid', type: 'string' },
device_id: { format: 'uuid', type: 'string' },
},
required: [
'acs_system_id',
'device_id',
'acs_credential_id',
],
type: 'object',
},
],
properties: {
acs_credential_id: { format: 'uuid', type: 'string' },
device_id: { format: 'uuid', type: 'string' },
},
required: ['device_id', 'acs_credential_id'],
type: 'object',
},
},
},
Expand Down Expand Up @@ -8374,24 +8352,12 @@ export default {
content: {
'application/json': {
schema: {
oneOf: [
{
properties: {
acs_system_id: { format: 'uuid', type: 'string' },
device_name: { type: 'string' },
},
required: ['acs_system_id', 'device_name'],
type: 'object',
},
{
properties: {
acs_system_id: { format: 'uuid', type: 'string' },
device_id: { format: 'uuid', type: 'string' },
},
required: ['acs_system_id', 'device_id'],
type: 'object',
},
],
properties: {
acs_system_id: { format: 'uuid', type: 'string' },
device_id: { format: 'uuid', type: 'string' },
},
required: ['acs_system_id', 'device_id'],
type: 'object',
},
},
},
Expand Down
28 changes: 8 additions & 20 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4742,17 +4742,10 @@ export interface Routes {
method: 'POST'
queryParams: {}
jsonBody: {}
commonParams:
| {
acs_system_id: string
device_name: string
acs_credential_id: string
}
| {
acs_system_id: string
device_id: string
acs_credential_id: string
}
commonParams: {
device_id: string
acs_credential_id: string
}
formData: {}
jsonResponse: {
action_attempt:
Expand Down Expand Up @@ -6148,15 +6141,10 @@ export interface Routes {
method: 'POST'
queryParams: {}
jsonBody: {}
commonParams:
| {
acs_system_id: string
device_name: string
}
| {
acs_system_id: string
device_id: string
}
commonParams: {
acs_system_id: string
device_id: string
}
formData: {}
jsonResponse: {
action_attempt:
Expand Down

0 comments on commit 531109e

Please sign in to comment.