@seamapi/types 1.1063.0 → 1.1065.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.
- package/lib/seam/connect/models/customer/customer-portal.d.ts +30 -0
- package/lib/seam/connect/models/customer/customer-portal.js +4 -0
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/openapi.js +96 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +28 -0
- package/package.json +2 -2
- package/src/lib/seam/connect/models/customer/customer-portal.ts +4 -0
- package/src/lib/seam/connect/openapi.ts +97 -0
- package/src/lib/seam/connect/route-types.ts +31 -0
|
@@ -42790,6 +42790,9 @@ export type Routes = {
|
|
|
42790
42790
|
} | {
|
|
42791
42791
|
resource_type: 'device';
|
|
42792
42792
|
resource_id: string;
|
|
42793
|
+
} | {
|
|
42794
|
+
resource_type: 'acs_entrance';
|
|
42795
|
+
resource_id: string;
|
|
42793
42796
|
}) | undefined;
|
|
42794
42797
|
/** Whether the portal is in developer mode. Only available for Seam employees. */
|
|
42795
42798
|
_dev?: boolean;
|
|
@@ -87200,6 +87203,9 @@ export type Routes = {
|
|
|
87200
87203
|
} | {
|
|
87201
87204
|
resource_type: 'device';
|
|
87202
87205
|
resource_id: string;
|
|
87206
|
+
} | {
|
|
87207
|
+
resource_type: 'acs_entrance';
|
|
87208
|
+
resource_id: string;
|
|
87203
87209
|
}) | undefined;
|
|
87204
87210
|
/** Business vertical of the customer portal. */
|
|
87205
87211
|
business_vertical?: ('neutral' | 'short_term_rental' | 'hospitality' | 'multi_family' | 'gym_management' | 'property_tours') | undefined;
|
|
@@ -87348,6 +87354,9 @@ export type Routes = {
|
|
|
87348
87354
|
} | {
|
|
87349
87355
|
resource_type: 'device';
|
|
87350
87356
|
resource_id: string;
|
|
87357
|
+
} | {
|
|
87358
|
+
resource_type: 'acs_entrance';
|
|
87359
|
+
resource_id: string;
|
|
87351
87360
|
}) | undefined) | undefined;
|
|
87352
87361
|
};
|
|
87353
87362
|
};
|
|
@@ -89095,6 +89104,25 @@ export type Routes = {
|
|
|
89095
89104
|
jsonResponse: {};
|
|
89096
89105
|
maxDuration: undefined;
|
|
89097
89106
|
};
|
|
89107
|
+
'/seam/wizard/v1/events': {
|
|
89108
|
+
route: '/seam/wizard/v1/events';
|
|
89109
|
+
method: 'POST';
|
|
89110
|
+
queryParams: {};
|
|
89111
|
+
jsonBody: {
|
|
89112
|
+
events: {
|
|
89113
|
+
event: string;
|
|
89114
|
+
distinct_id: string;
|
|
89115
|
+
timestamp: string;
|
|
89116
|
+
properties?: {
|
|
89117
|
+
[x: string]: any;
|
|
89118
|
+
};
|
|
89119
|
+
}[];
|
|
89120
|
+
};
|
|
89121
|
+
commonParams: {};
|
|
89122
|
+
formData: {};
|
|
89123
|
+
jsonResponse: {};
|
|
89124
|
+
maxDuration: undefined;
|
|
89125
|
+
};
|
|
89098
89126
|
'/seam/wizard/v1/session': {
|
|
89099
89127
|
route: '/seam/wizard/v1/session';
|
|
89100
89128
|
method: 'POST';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seamapi/types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1065.0",
|
|
4
4
|
"description": "TypeScript types for the Seam API.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@seamapi/blueprint": "^1.
|
|
80
|
+
"@seamapi/blueprint": "^1.12.0",
|
|
81
81
|
"@types/node": "^24.10.9",
|
|
82
82
|
"concurrently": "^9.2.0",
|
|
83
83
|
"del-cli": "^7.0.0",
|
|
@@ -222,6 +222,10 @@ export const portal_configuration_base = z.object({
|
|
|
222
222
|
resource_type: z.literal('device'),
|
|
223
223
|
resource_id: z.string(),
|
|
224
224
|
}),
|
|
225
|
+
z.object({
|
|
226
|
+
resource_type: z.literal('acs_entrance'),
|
|
227
|
+
resource_id: z.string(),
|
|
228
|
+
}),
|
|
225
229
|
])
|
|
226
230
|
.optional().describe(`
|
|
227
231
|
---
|
|
@@ -47844,6 +47844,17 @@ const openapi: OpenAPISpec = {
|
|
|
47844
47844
|
required: ['resource_type', 'resource_id'],
|
|
47845
47845
|
type: 'object',
|
|
47846
47846
|
},
|
|
47847
|
+
{
|
|
47848
|
+
properties: {
|
|
47849
|
+
resource_id: { type: 'string' },
|
|
47850
|
+
resource_type: {
|
|
47851
|
+
enum: ['acs_entrance'],
|
|
47852
|
+
type: 'string',
|
|
47853
|
+
},
|
|
47854
|
+
},
|
|
47855
|
+
required: ['resource_type', 'resource_id'],
|
|
47856
|
+
type: 'object',
|
|
47857
|
+
},
|
|
47847
47858
|
],
|
|
47848
47859
|
'x-undocumented':
|
|
47849
47860
|
'Internal endpoint for customer portals.',
|
|
@@ -61874,6 +61885,17 @@ const openapi: OpenAPISpec = {
|
|
|
61874
61885
|
required: ['resource_type', 'resource_id'],
|
|
61875
61886
|
type: 'object',
|
|
61876
61887
|
},
|
|
61888
|
+
{
|
|
61889
|
+
properties: {
|
|
61890
|
+
resource_id: { type: 'string' },
|
|
61891
|
+
resource_type: {
|
|
61892
|
+
enum: ['acs_entrance'],
|
|
61893
|
+
type: 'string',
|
|
61894
|
+
},
|
|
61895
|
+
},
|
|
61896
|
+
required: ['resource_type', 'resource_id'],
|
|
61897
|
+
type: 'object',
|
|
61898
|
+
},
|
|
61877
61899
|
],
|
|
61878
61900
|
'x-undocumented':
|
|
61879
61901
|
'Internal endpoint for customer portals.',
|
|
@@ -62341,6 +62363,17 @@ const openapi: OpenAPISpec = {
|
|
|
62341
62363
|
required: ['resource_type', 'resource_id'],
|
|
62342
62364
|
type: 'object',
|
|
62343
62365
|
},
|
|
62366
|
+
{
|
|
62367
|
+
properties: {
|
|
62368
|
+
resource_id: { type: 'string' },
|
|
62369
|
+
resource_type: {
|
|
62370
|
+
enum: ['acs_entrance'],
|
|
62371
|
+
type: 'string',
|
|
62372
|
+
},
|
|
62373
|
+
},
|
|
62374
|
+
required: ['resource_type', 'resource_id'],
|
|
62375
|
+
type: 'object',
|
|
62376
|
+
},
|
|
62344
62377
|
],
|
|
62345
62378
|
'x-undocumented':
|
|
62346
62379
|
'Internal endpoint for customer portals.',
|
|
@@ -64997,6 +65030,70 @@ const openapi: OpenAPISpec = {
|
|
|
64997
65030
|
'x-undocumented': 'Internal endpoint for inbound provider webhooks',
|
|
64998
65031
|
},
|
|
64999
65032
|
},
|
|
65033
|
+
'/seam/wizard/v1/events': {
|
|
65034
|
+
post: {
|
|
65035
|
+
description:
|
|
65036
|
+
"Records a batch of usage analytics events from the Seam Wizard CLI, which\nreports the screens a run reached and the choices made along the way, and\nforwards them to PostHog.\n\nUnauthenticated: the run's earliest events happen before the developer has\nconnected a Seam API key at all, so requiring a credential would blind the\ndrop-off this measures. Send a wizard session token as the bearer to have the\nworkspace attribution verified.",
|
|
65037
|
+
operationId: 'seamWizardV1EventsPost',
|
|
65038
|
+
requestBody: {
|
|
65039
|
+
content: {
|
|
65040
|
+
'application/json': {
|
|
65041
|
+
schema: {
|
|
65042
|
+
properties: {
|
|
65043
|
+
events: {
|
|
65044
|
+
items: {
|
|
65045
|
+
properties: {
|
|
65046
|
+
distinct_id: { format: 'uuid', type: 'string' },
|
|
65047
|
+
event: {
|
|
65048
|
+
pattern: '^wizard_[a-z0-9_]{1,60}$',
|
|
65049
|
+
type: 'string',
|
|
65050
|
+
},
|
|
65051
|
+
properties: {
|
|
65052
|
+
additionalProperties: {},
|
|
65053
|
+
default: {},
|
|
65054
|
+
type: 'object',
|
|
65055
|
+
},
|
|
65056
|
+
timestamp: { format: 'date-time', type: 'string' },
|
|
65057
|
+
},
|
|
65058
|
+
required: ['event', 'distinct_id', 'timestamp'],
|
|
65059
|
+
type: 'object',
|
|
65060
|
+
},
|
|
65061
|
+
maxItems: 200,
|
|
65062
|
+
minItems: 1,
|
|
65063
|
+
type: 'array',
|
|
65064
|
+
},
|
|
65065
|
+
},
|
|
65066
|
+
required: ['events'],
|
|
65067
|
+
type: 'object',
|
|
65068
|
+
},
|
|
65069
|
+
},
|
|
65070
|
+
},
|
|
65071
|
+
},
|
|
65072
|
+
responses: {
|
|
65073
|
+
'200': {
|
|
65074
|
+
content: {
|
|
65075
|
+
'application/json': {
|
|
65076
|
+
schema: {
|
|
65077
|
+
properties: { ok: { type: 'boolean' } },
|
|
65078
|
+
required: ['ok'],
|
|
65079
|
+
type: 'object',
|
|
65080
|
+
},
|
|
65081
|
+
},
|
|
65082
|
+
},
|
|
65083
|
+
description: 'OK',
|
|
65084
|
+
},
|
|
65085
|
+
'400': { description: 'Bad Request' },
|
|
65086
|
+
'401': { description: 'Unauthorized' },
|
|
65087
|
+
},
|
|
65088
|
+
summary: '/seam/wizard/v1/events',
|
|
65089
|
+
tags: ['/events'],
|
|
65090
|
+
'x-fern-sdk-group-name': ['seam', 'wizard', 'v1'],
|
|
65091
|
+
'x-fern-sdk-method-name': 'events',
|
|
65092
|
+
'x-response-key': null,
|
|
65093
|
+
'x-title': 'Record Wizard Events',
|
|
65094
|
+
'x-undocumented': 'Seam Wizard CLI only.',
|
|
65095
|
+
},
|
|
65096
|
+
},
|
|
65000
65097
|
'/seam/wizard/v1/session': {
|
|
65001
65098
|
post: {
|
|
65002
65099
|
description:
|
|
@@ -50179,6 +50179,10 @@ export type Routes = {
|
|
|
50179
50179
|
resource_type: 'device'
|
|
50180
50180
|
resource_id: string
|
|
50181
50181
|
}
|
|
50182
|
+
| {
|
|
50183
|
+
resource_type: 'acs_entrance'
|
|
50184
|
+
resource_id: string
|
|
50185
|
+
}
|
|
50182
50186
|
)
|
|
50183
50187
|
| undefined
|
|
50184
50188
|
/** Whether the portal is in developer mode. Only available for Seam employees. */
|
|
@@ -104657,6 +104661,10 @@ export type Routes = {
|
|
|
104657
104661
|
resource_type: 'device'
|
|
104658
104662
|
resource_id: string
|
|
104659
104663
|
}
|
|
104664
|
+
| {
|
|
104665
|
+
resource_type: 'acs_entrance'
|
|
104666
|
+
resource_id: string
|
|
104667
|
+
}
|
|
104660
104668
|
)
|
|
104661
104669
|
| undefined
|
|
104662
104670
|
/** Business vertical of the customer portal. */
|
|
@@ -104875,6 +104883,10 @@ export type Routes = {
|
|
|
104875
104883
|
resource_type: 'device'
|
|
104876
104884
|
resource_id: string
|
|
104877
104885
|
}
|
|
104886
|
+
| {
|
|
104887
|
+
resource_type: 'acs_entrance'
|
|
104888
|
+
resource_id: string
|
|
104889
|
+
}
|
|
104878
104890
|
)
|
|
104879
104891
|
| undefined
|
|
104880
104892
|
)
|
|
@@ -106836,6 +106848,25 @@ export type Routes = {
|
|
|
106836
106848
|
jsonResponse: {}
|
|
106837
106849
|
maxDuration: undefined
|
|
106838
106850
|
}
|
|
106851
|
+
'/seam/wizard/v1/events': {
|
|
106852
|
+
route: '/seam/wizard/v1/events'
|
|
106853
|
+
method: 'POST'
|
|
106854
|
+
queryParams: {}
|
|
106855
|
+
jsonBody: {
|
|
106856
|
+
events: {
|
|
106857
|
+
event: string
|
|
106858
|
+
distinct_id: string
|
|
106859
|
+
timestamp: string
|
|
106860
|
+
properties?: {
|
|
106861
|
+
[x: string]: any
|
|
106862
|
+
}
|
|
106863
|
+
}[]
|
|
106864
|
+
}
|
|
106865
|
+
commonParams: {}
|
|
106866
|
+
formData: {}
|
|
106867
|
+
jsonResponse: {}
|
|
106868
|
+
maxDuration: undefined
|
|
106869
|
+
}
|
|
106839
106870
|
'/seam/wizard/v1/session': {
|
|
106840
106871
|
route: '/seam/wizard/v1/session'
|
|
106841
106872
|
method: 'POST'
|