@seamapi/types 1.842.0 → 1.843.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 +127 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +18 -0
- package/dist/index.cjs +127 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.js +127 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +18 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +131 -0
- package/src/lib/seam/connect/route-types.ts +18 -0
|
@@ -64068,6 +64068,24 @@ export type Routes = {
|
|
|
64068
64068
|
};
|
|
64069
64069
|
maxDuration: undefined;
|
|
64070
64070
|
};
|
|
64071
|
+
'/seam/customer/v1/connectors/external_sites/list': {
|
|
64072
|
+
route: '/seam/customer/v1/connectors/external_sites/list';
|
|
64073
|
+
method: 'GET' | 'POST';
|
|
64074
|
+
queryParams: {};
|
|
64075
|
+
jsonBody: {};
|
|
64076
|
+
commonParams: {
|
|
64077
|
+
/** ID of the connected account to list external sites for */
|
|
64078
|
+
connected_account_id: string;
|
|
64079
|
+
};
|
|
64080
|
+
formData: {};
|
|
64081
|
+
jsonResponse: {
|
|
64082
|
+
external_sites: {
|
|
64083
|
+
key: string;
|
|
64084
|
+
name: string;
|
|
64085
|
+
}[];
|
|
64086
|
+
};
|
|
64087
|
+
maxDuration: undefined;
|
|
64088
|
+
};
|
|
64071
64089
|
'/seam/customer/v1/connectors/ical/validate-config': {
|
|
64072
64090
|
route: '/seam/customer/v1/connectors/ical/validate-config';
|
|
64073
64091
|
method: 'POST';
|
package/package.json
CHANGED
|
@@ -65779,6 +65779,137 @@ const openapi: OpenAPISpec = {
|
|
|
65779
65779
|
'x-undocumented': 'Internal endpoint for Console.',
|
|
65780
65780
|
},
|
|
65781
65781
|
},
|
|
65782
|
+
'/seam/customer/v1/connectors/external_sites/list': {
|
|
65783
|
+
get: {
|
|
65784
|
+
description:
|
|
65785
|
+
"Lists sites/properties available from the external system for a given connected account by calling the connector's live API.",
|
|
65786
|
+
operationId: 'seamCustomerV1ConnectorsExternalSitesListGet',
|
|
65787
|
+
parameters: [
|
|
65788
|
+
{
|
|
65789
|
+
in: 'query',
|
|
65790
|
+
name: 'connected_account_id',
|
|
65791
|
+
required: true,
|
|
65792
|
+
schema: {
|
|
65793
|
+
description:
|
|
65794
|
+
'ID of the connected account to list external sites for',
|
|
65795
|
+
format: 'uuid',
|
|
65796
|
+
type: 'string',
|
|
65797
|
+
},
|
|
65798
|
+
},
|
|
65799
|
+
],
|
|
65800
|
+
responses: {
|
|
65801
|
+
200: {
|
|
65802
|
+
content: {
|
|
65803
|
+
'application/json': {
|
|
65804
|
+
schema: {
|
|
65805
|
+
properties: {
|
|
65806
|
+
external_sites: {
|
|
65807
|
+
items: {
|
|
65808
|
+
properties: {
|
|
65809
|
+
key: { type: 'string' },
|
|
65810
|
+
name: { type: 'string' },
|
|
65811
|
+
},
|
|
65812
|
+
required: ['key', 'name'],
|
|
65813
|
+
type: 'object',
|
|
65814
|
+
},
|
|
65815
|
+
type: 'array',
|
|
65816
|
+
},
|
|
65817
|
+
ok: { type: 'boolean' },
|
|
65818
|
+
},
|
|
65819
|
+
required: ['external_sites', 'ok'],
|
|
65820
|
+
type: 'object',
|
|
65821
|
+
},
|
|
65822
|
+
},
|
|
65823
|
+
},
|
|
65824
|
+
description: 'OK',
|
|
65825
|
+
},
|
|
65826
|
+
400: { description: 'Bad Request' },
|
|
65827
|
+
401: { description: 'Unauthorized' },
|
|
65828
|
+
},
|
|
65829
|
+
security: [{ api_key: [] }, { console_session_with_workspace: [] }],
|
|
65830
|
+
summary: '/seam/customer/v1/connectors/external_sites/list',
|
|
65831
|
+
tags: [],
|
|
65832
|
+
'x-fern-sdk-group-name': [
|
|
65833
|
+
'seam',
|
|
65834
|
+
'customer',
|
|
65835
|
+
'v1',
|
|
65836
|
+
'connectors',
|
|
65837
|
+
'external_sites',
|
|
65838
|
+
],
|
|
65839
|
+
'x-fern-sdk-method-name': 'list',
|
|
65840
|
+
'x-fern-sdk-return-value': 'external_sites',
|
|
65841
|
+
'x-response-key': 'external_sites',
|
|
65842
|
+
'x-title': 'List External Sites for a Connected Account',
|
|
65843
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
65844
|
+
},
|
|
65845
|
+
post: {
|
|
65846
|
+
description:
|
|
65847
|
+
"Lists sites/properties available from the external system for a given connected account by calling the connector's live API.",
|
|
65848
|
+
operationId: 'seamCustomerV1ConnectorsExternalSitesListPost',
|
|
65849
|
+
requestBody: {
|
|
65850
|
+
content: {
|
|
65851
|
+
'application/json': {
|
|
65852
|
+
schema: {
|
|
65853
|
+
properties: {
|
|
65854
|
+
connected_account_id: {
|
|
65855
|
+
description:
|
|
65856
|
+
'ID of the connected account to list external sites for',
|
|
65857
|
+
format: 'uuid',
|
|
65858
|
+
type: 'string',
|
|
65859
|
+
},
|
|
65860
|
+
},
|
|
65861
|
+
required: ['connected_account_id'],
|
|
65862
|
+
type: 'object',
|
|
65863
|
+
},
|
|
65864
|
+
},
|
|
65865
|
+
},
|
|
65866
|
+
},
|
|
65867
|
+
responses: {
|
|
65868
|
+
200: {
|
|
65869
|
+
content: {
|
|
65870
|
+
'application/json': {
|
|
65871
|
+
schema: {
|
|
65872
|
+
properties: {
|
|
65873
|
+
external_sites: {
|
|
65874
|
+
items: {
|
|
65875
|
+
properties: {
|
|
65876
|
+
key: { type: 'string' },
|
|
65877
|
+
name: { type: 'string' },
|
|
65878
|
+
},
|
|
65879
|
+
required: ['key', 'name'],
|
|
65880
|
+
type: 'object',
|
|
65881
|
+
},
|
|
65882
|
+
type: 'array',
|
|
65883
|
+
},
|
|
65884
|
+
ok: { type: 'boolean' },
|
|
65885
|
+
},
|
|
65886
|
+
required: ['external_sites', 'ok'],
|
|
65887
|
+
type: 'object',
|
|
65888
|
+
},
|
|
65889
|
+
},
|
|
65890
|
+
},
|
|
65891
|
+
description: 'OK',
|
|
65892
|
+
},
|
|
65893
|
+
400: { description: 'Bad Request' },
|
|
65894
|
+
401: { description: 'Unauthorized' },
|
|
65895
|
+
},
|
|
65896
|
+
security: [{ api_key: [] }, { console_session_with_workspace: [] }],
|
|
65897
|
+
summary: '/seam/customer/v1/connectors/external_sites/list',
|
|
65898
|
+
tags: [],
|
|
65899
|
+
'x-fern-sdk-group-name': [
|
|
65900
|
+
'seam',
|
|
65901
|
+
'customer',
|
|
65902
|
+
'v1',
|
|
65903
|
+
'connectors',
|
|
65904
|
+
'external_sites',
|
|
65905
|
+
],
|
|
65906
|
+
'x-fern-sdk-method-name': 'list',
|
|
65907
|
+
'x-fern-sdk-return-value': 'external_sites',
|
|
65908
|
+
'x-response-key': 'external_sites',
|
|
65909
|
+
'x-title': 'List External Sites for a Connected Account',
|
|
65910
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
65911
|
+
},
|
|
65912
|
+
},
|
|
65782
65913
|
'/seam/customer/v1/connectors/ical/validate-config': {
|
|
65783
65914
|
post: {
|
|
65784
65915
|
description:
|
|
@@ -76588,6 +76588,24 @@ export type Routes = {
|
|
|
76588
76588
|
}
|
|
76589
76589
|
maxDuration: undefined
|
|
76590
76590
|
}
|
|
76591
|
+
'/seam/customer/v1/connectors/external_sites/list': {
|
|
76592
|
+
route: '/seam/customer/v1/connectors/external_sites/list'
|
|
76593
|
+
method: 'GET' | 'POST'
|
|
76594
|
+
queryParams: {}
|
|
76595
|
+
jsonBody: {}
|
|
76596
|
+
commonParams: {
|
|
76597
|
+
/** ID of the connected account to list external sites for */
|
|
76598
|
+
connected_account_id: string
|
|
76599
|
+
}
|
|
76600
|
+
formData: {}
|
|
76601
|
+
jsonResponse: {
|
|
76602
|
+
external_sites: {
|
|
76603
|
+
key: string
|
|
76604
|
+
name: string
|
|
76605
|
+
}[]
|
|
76606
|
+
}
|
|
76607
|
+
maxDuration: undefined
|
|
76608
|
+
}
|
|
76591
76609
|
'/seam/customer/v1/connectors/ical/validate-config': {
|
|
76592
76610
|
route: '/seam/customer/v1/connectors/ical/validate-config'
|
|
76593
76611
|
method: 'POST'
|