@seamapi/types 1.694.0 → 1.695.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/dist/connect.cjs +54 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +101 -0
- package/dist/index.cjs +54 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +70 -0
- package/lib/seam/connect/openapi.js +54 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +31 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +55 -0
- package/src/lib/seam/connect/route-types.ts +31 -0
|
@@ -45862,6 +45862,76 @@ declare const _default: {
|
|
|
45862
45862
|
'x-undocumented': string;
|
|
45863
45863
|
};
|
|
45864
45864
|
};
|
|
45865
|
+
'/seam/customer/v1/customers/open_portal': {
|
|
45866
|
+
post: {
|
|
45867
|
+
description: string;
|
|
45868
|
+
operationId: string;
|
|
45869
|
+
requestBody: {
|
|
45870
|
+
content: {
|
|
45871
|
+
'application/json': {
|
|
45872
|
+
schema: {
|
|
45873
|
+
properties: {
|
|
45874
|
+
customer_key: {
|
|
45875
|
+
description: string;
|
|
45876
|
+
type: string;
|
|
45877
|
+
};
|
|
45878
|
+
};
|
|
45879
|
+
required: string[];
|
|
45880
|
+
type: string;
|
|
45881
|
+
};
|
|
45882
|
+
};
|
|
45883
|
+
};
|
|
45884
|
+
};
|
|
45885
|
+
responses: {
|
|
45886
|
+
200: {
|
|
45887
|
+
content: {
|
|
45888
|
+
'application/json': {
|
|
45889
|
+
schema: {
|
|
45890
|
+
properties: {
|
|
45891
|
+
magic_link: {
|
|
45892
|
+
$ref: string;
|
|
45893
|
+
};
|
|
45894
|
+
ok: {
|
|
45895
|
+
type: string;
|
|
45896
|
+
};
|
|
45897
|
+
};
|
|
45898
|
+
required: string[];
|
|
45899
|
+
type: string;
|
|
45900
|
+
};
|
|
45901
|
+
};
|
|
45902
|
+
};
|
|
45903
|
+
description: string;
|
|
45904
|
+
};
|
|
45905
|
+
400: {
|
|
45906
|
+
description: string;
|
|
45907
|
+
};
|
|
45908
|
+
401: {
|
|
45909
|
+
description: string;
|
|
45910
|
+
};
|
|
45911
|
+
};
|
|
45912
|
+
security: ({
|
|
45913
|
+
pat_with_workspace: never[];
|
|
45914
|
+
console_session_with_workspace?: never;
|
|
45915
|
+
api_key?: never;
|
|
45916
|
+
} | {
|
|
45917
|
+
console_session_with_workspace: never[];
|
|
45918
|
+
pat_with_workspace?: never;
|
|
45919
|
+
api_key?: never;
|
|
45920
|
+
} | {
|
|
45921
|
+
api_key: never[];
|
|
45922
|
+
pat_with_workspace?: never;
|
|
45923
|
+
console_session_with_workspace?: never;
|
|
45924
|
+
})[];
|
|
45925
|
+
summary: string;
|
|
45926
|
+
tags: never[];
|
|
45927
|
+
'x-fern-sdk-group-name': string[];
|
|
45928
|
+
'x-fern-sdk-method-name': string;
|
|
45929
|
+
'x-fern-sdk-return-value': string;
|
|
45930
|
+
'x-response-key': string;
|
|
45931
|
+
'x-title': string;
|
|
45932
|
+
'x-undocumented': string;
|
|
45933
|
+
};
|
|
45934
|
+
};
|
|
45865
45935
|
'/seam/customer/v1/events/list': {
|
|
45866
45936
|
get: {
|
|
45867
45937
|
description: string;
|
|
@@ -50640,6 +50640,60 @@ export default {
|
|
|
50640
50640
|
'x-undocumented': 'Internal endpoint for Console.',
|
|
50641
50641
|
},
|
|
50642
50642
|
},
|
|
50643
|
+
'/seam/customer/v1/customers/open_portal': {
|
|
50644
|
+
post: {
|
|
50645
|
+
description: 'Opens an existing customer portal or creates a new one if the previous portal has expired.\nReturns an error if no portal was ever created for this customer.',
|
|
50646
|
+
operationId: 'seamCustomerV1CustomersOpenPortalPost',
|
|
50647
|
+
requestBody: {
|
|
50648
|
+
content: {
|
|
50649
|
+
'application/json': {
|
|
50650
|
+
schema: {
|
|
50651
|
+
properties: {
|
|
50652
|
+
customer_key: {
|
|
50653
|
+
description: 'The customer key to open a portal for.',
|
|
50654
|
+
type: 'string',
|
|
50655
|
+
},
|
|
50656
|
+
},
|
|
50657
|
+
required: ['customer_key'],
|
|
50658
|
+
type: 'object',
|
|
50659
|
+
},
|
|
50660
|
+
},
|
|
50661
|
+
},
|
|
50662
|
+
},
|
|
50663
|
+
responses: {
|
|
50664
|
+
200: {
|
|
50665
|
+
content: {
|
|
50666
|
+
'application/json': {
|
|
50667
|
+
schema: {
|
|
50668
|
+
properties: {
|
|
50669
|
+
magic_link: { $ref: '#/components/schemas/magic_link' },
|
|
50670
|
+
ok: { type: 'boolean' },
|
|
50671
|
+
},
|
|
50672
|
+
required: ['magic_link', 'ok'],
|
|
50673
|
+
type: 'object',
|
|
50674
|
+
},
|
|
50675
|
+
},
|
|
50676
|
+
},
|
|
50677
|
+
description: 'OK',
|
|
50678
|
+
},
|
|
50679
|
+
400: { description: 'Bad Request' },
|
|
50680
|
+
401: { description: 'Unauthorized' },
|
|
50681
|
+
},
|
|
50682
|
+
security: [
|
|
50683
|
+
{ pat_with_workspace: [] },
|
|
50684
|
+
{ console_session_with_workspace: [] },
|
|
50685
|
+
{ api_key: [] },
|
|
50686
|
+
],
|
|
50687
|
+
summary: '/seam/customer/v1/customers/open_portal',
|
|
50688
|
+
tags: [],
|
|
50689
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'customers'],
|
|
50690
|
+
'x-fern-sdk-method-name': 'open_portal',
|
|
50691
|
+
'x-fern-sdk-return-value': 'magic_link',
|
|
50692
|
+
'x-response-key': 'magic_link',
|
|
50693
|
+
'x-title': 'Open Customer Portal',
|
|
50694
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
50695
|
+
},
|
|
50696
|
+
},
|
|
50643
50697
|
'/seam/customer/v1/events/list': {
|
|
50644
50698
|
get: {
|
|
50645
50699
|
description: 'Returns a list of events for devices in a specific space. This endpoint is designed for customer portals and only supports filtering by space_id.',
|