@seamapi/types 1.641.0 → 1.643.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 +184 -25
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +259 -49
- package/dist/index.cjs +184 -25
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customer/access-grant-resources.js +2 -0
- package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +226 -40
- package/lib/seam/connect/openapi.js +184 -25
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +33 -9
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/access-grant-resources.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +188 -25
- package/src/lib/seam/connect/route-types.ts +34 -11
|
@@ -37838,6 +37838,7 @@ export default {
|
|
|
37838
37838
|
},
|
|
37839
37839
|
ends_at: {
|
|
37840
37840
|
description: 'Ending date and time for the access grant.',
|
|
37841
|
+
format: 'date-time',
|
|
37841
37842
|
type: 'string',
|
|
37842
37843
|
},
|
|
37843
37844
|
facility_keys: {
|
|
@@ -37883,6 +37884,7 @@ export default {
|
|
|
37883
37884
|
},
|
|
37884
37885
|
starts_at: {
|
|
37885
37886
|
description: 'Starting date and time for the access grant.',
|
|
37887
|
+
format: 'date-time',
|
|
37886
37888
|
type: 'string',
|
|
37887
37889
|
},
|
|
37888
37890
|
tenant_key: {
|
|
@@ -37929,6 +37931,7 @@ export default {
|
|
|
37929
37931
|
},
|
|
37930
37932
|
ends_at: {
|
|
37931
37933
|
description: 'Ending date and time for the access grant.',
|
|
37934
|
+
format: 'date-time',
|
|
37932
37935
|
type: 'string',
|
|
37933
37936
|
},
|
|
37934
37937
|
facility_keys: {
|
|
@@ -37974,6 +37977,7 @@ export default {
|
|
|
37974
37977
|
},
|
|
37975
37978
|
starts_at: {
|
|
37976
37979
|
description: 'Starting date and time for the access grant.',
|
|
37980
|
+
format: 'date-time',
|
|
37977
37981
|
type: 'string',
|
|
37978
37982
|
},
|
|
37979
37983
|
tenant_key: {
|
|
@@ -38166,6 +38170,7 @@ export default {
|
|
|
38166
38170
|
},
|
|
38167
38171
|
ends_at: {
|
|
38168
38172
|
description: 'Ending date and time for the access grant.',
|
|
38173
|
+
format: 'date-time',
|
|
38169
38174
|
type: 'string',
|
|
38170
38175
|
},
|
|
38171
38176
|
facility_keys: {
|
|
@@ -38216,6 +38221,7 @@ export default {
|
|
|
38216
38221
|
},
|
|
38217
38222
|
starts_at: {
|
|
38218
38223
|
description: 'Starting date and time for the access grant.',
|
|
38224
|
+
format: 'date-time',
|
|
38219
38225
|
type: 'string',
|
|
38220
38226
|
},
|
|
38221
38227
|
tenant_key: {
|
|
@@ -38931,6 +38937,7 @@ export default {
|
|
|
38931
38937
|
},
|
|
38932
38938
|
ends_at: {
|
|
38933
38939
|
description: 'Ending date and time for the access grant.',
|
|
38940
|
+
format: 'date-time',
|
|
38934
38941
|
type: 'string',
|
|
38935
38942
|
},
|
|
38936
38943
|
facility_keys: {
|
|
@@ -38976,6 +38983,7 @@ export default {
|
|
|
38976
38983
|
},
|
|
38977
38984
|
starts_at: {
|
|
38978
38985
|
description: 'Starting date and time for the access grant.',
|
|
38986
|
+
format: 'date-time',
|
|
38979
38987
|
type: 'string',
|
|
38980
38988
|
},
|
|
38981
38989
|
tenant_key: {
|
|
@@ -39022,6 +39030,7 @@ export default {
|
|
|
39022
39030
|
},
|
|
39023
39031
|
ends_at: {
|
|
39024
39032
|
description: 'Ending date and time for the access grant.',
|
|
39033
|
+
format: 'date-time',
|
|
39025
39034
|
type: 'string',
|
|
39026
39035
|
},
|
|
39027
39036
|
facility_keys: {
|
|
@@ -39067,6 +39076,7 @@ export default {
|
|
|
39067
39076
|
},
|
|
39068
39077
|
starts_at: {
|
|
39069
39078
|
description: 'Starting date and time for the access grant.',
|
|
39079
|
+
format: 'date-time',
|
|
39070
39080
|
type: 'string',
|
|
39071
39081
|
},
|
|
39072
39082
|
tenant_key: {
|
|
@@ -39259,6 +39269,7 @@ export default {
|
|
|
39259
39269
|
},
|
|
39260
39270
|
ends_at: {
|
|
39261
39271
|
description: 'Ending date and time for the access grant.',
|
|
39272
|
+
format: 'date-time',
|
|
39262
39273
|
type: 'string',
|
|
39263
39274
|
},
|
|
39264
39275
|
facility_keys: {
|
|
@@ -39309,6 +39320,7 @@ export default {
|
|
|
39309
39320
|
},
|
|
39310
39321
|
starts_at: {
|
|
39311
39322
|
description: 'Starting date and time for the access grant.',
|
|
39323
|
+
format: 'date-time',
|
|
39312
39324
|
type: 'string',
|
|
39313
39325
|
},
|
|
39314
39326
|
tenant_key: {
|
|
@@ -48576,9 +48588,151 @@ export default {
|
|
|
48576
48588
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
48577
48589
|
},
|
|
48578
48590
|
},
|
|
48591
|
+
'/seam/customer/v1/connectors/connector_types': {
|
|
48592
|
+
get: {
|
|
48593
|
+
description: 'Lists all available connector types and their required instance configuration schemas.',
|
|
48594
|
+
operationId: 'seamCustomerV1ConnectorsConnectorTypesGet',
|
|
48595
|
+
responses: {
|
|
48596
|
+
200: {
|
|
48597
|
+
content: {
|
|
48598
|
+
'application/json': {
|
|
48599
|
+
schema: {
|
|
48600
|
+
properties: {
|
|
48601
|
+
connector_types: {
|
|
48602
|
+
items: {
|
|
48603
|
+
properties: {
|
|
48604
|
+
connector_type: { type: 'string' },
|
|
48605
|
+
description: { type: 'string' },
|
|
48606
|
+
display_name: { type: 'string' },
|
|
48607
|
+
instance_config_schema: {
|
|
48608
|
+
$ref: '#/components/schemas/access_code',
|
|
48609
|
+
},
|
|
48610
|
+
static_config: {
|
|
48611
|
+
properties: {
|
|
48612
|
+
base_api_url: { type: 'string' },
|
|
48613
|
+
polling_enabled: { type: 'boolean' },
|
|
48614
|
+
polling_frequency_minutes: {
|
|
48615
|
+
format: 'float',
|
|
48616
|
+
type: 'number',
|
|
48617
|
+
},
|
|
48618
|
+
},
|
|
48619
|
+
required: [
|
|
48620
|
+
'base_api_url',
|
|
48621
|
+
'polling_enabled',
|
|
48622
|
+
'polling_frequency_minutes',
|
|
48623
|
+
],
|
|
48624
|
+
type: 'object',
|
|
48625
|
+
},
|
|
48626
|
+
},
|
|
48627
|
+
required: [
|
|
48628
|
+
'connector_type',
|
|
48629
|
+
'display_name',
|
|
48630
|
+
'static_config',
|
|
48631
|
+
],
|
|
48632
|
+
type: 'object',
|
|
48633
|
+
},
|
|
48634
|
+
type: 'array',
|
|
48635
|
+
},
|
|
48636
|
+
ok: { type: 'boolean' },
|
|
48637
|
+
},
|
|
48638
|
+
required: ['connector_types', 'ok'],
|
|
48639
|
+
type: 'object',
|
|
48640
|
+
},
|
|
48641
|
+
},
|
|
48642
|
+
},
|
|
48643
|
+
description: 'OK',
|
|
48644
|
+
},
|
|
48645
|
+
400: { description: 'Bad Request' },
|
|
48646
|
+
401: { description: 'Unauthorized' },
|
|
48647
|
+
},
|
|
48648
|
+
security: [
|
|
48649
|
+
{ api_key: [] },
|
|
48650
|
+
{ client_session: [] },
|
|
48651
|
+
{ console_session_with_workspace: [] },
|
|
48652
|
+
],
|
|
48653
|
+
summary: '/seam/customer/v1/connectors/connector_types',
|
|
48654
|
+
tags: [],
|
|
48655
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'connectors'],
|
|
48656
|
+
'x-fern-sdk-method-name': 'connector_types',
|
|
48657
|
+
'x-fern-sdk-return-value': 'connector_types',
|
|
48658
|
+
'x-response-key': 'connector_types',
|
|
48659
|
+
'x-title': 'List Connector Types',
|
|
48660
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
48661
|
+
},
|
|
48662
|
+
post: {
|
|
48663
|
+
description: 'Lists all available connector types and their required instance configuration schemas.',
|
|
48664
|
+
operationId: 'seamCustomerV1ConnectorsConnectorTypesPost',
|
|
48665
|
+
responses: {
|
|
48666
|
+
200: {
|
|
48667
|
+
content: {
|
|
48668
|
+
'application/json': {
|
|
48669
|
+
schema: {
|
|
48670
|
+
properties: {
|
|
48671
|
+
connector_types: {
|
|
48672
|
+
items: {
|
|
48673
|
+
properties: {
|
|
48674
|
+
connector_type: { type: 'string' },
|
|
48675
|
+
description: { type: 'string' },
|
|
48676
|
+
display_name: { type: 'string' },
|
|
48677
|
+
instance_config_schema: {
|
|
48678
|
+
$ref: '#/components/schemas/access_code',
|
|
48679
|
+
},
|
|
48680
|
+
static_config: {
|
|
48681
|
+
properties: {
|
|
48682
|
+
base_api_url: { type: 'string' },
|
|
48683
|
+
polling_enabled: { type: 'boolean' },
|
|
48684
|
+
polling_frequency_minutes: {
|
|
48685
|
+
format: 'float',
|
|
48686
|
+
type: 'number',
|
|
48687
|
+
},
|
|
48688
|
+
},
|
|
48689
|
+
required: [
|
|
48690
|
+
'base_api_url',
|
|
48691
|
+
'polling_enabled',
|
|
48692
|
+
'polling_frequency_minutes',
|
|
48693
|
+
],
|
|
48694
|
+
type: 'object',
|
|
48695
|
+
},
|
|
48696
|
+
},
|
|
48697
|
+
required: [
|
|
48698
|
+
'connector_type',
|
|
48699
|
+
'display_name',
|
|
48700
|
+
'static_config',
|
|
48701
|
+
],
|
|
48702
|
+
type: 'object',
|
|
48703
|
+
},
|
|
48704
|
+
type: 'array',
|
|
48705
|
+
},
|
|
48706
|
+
ok: { type: 'boolean' },
|
|
48707
|
+
},
|
|
48708
|
+
required: ['connector_types', 'ok'],
|
|
48709
|
+
type: 'object',
|
|
48710
|
+
},
|
|
48711
|
+
},
|
|
48712
|
+
},
|
|
48713
|
+
description: 'OK',
|
|
48714
|
+
},
|
|
48715
|
+
400: { description: 'Bad Request' },
|
|
48716
|
+
401: { description: 'Unauthorized' },
|
|
48717
|
+
},
|
|
48718
|
+
security: [
|
|
48719
|
+
{ api_key: [] },
|
|
48720
|
+
{ client_session: [] },
|
|
48721
|
+
{ console_session_with_workspace: [] },
|
|
48722
|
+
],
|
|
48723
|
+
summary: '/seam/customer/v1/connectors/connector_types',
|
|
48724
|
+
tags: [],
|
|
48725
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'connectors'],
|
|
48726
|
+
'x-fern-sdk-method-name': 'connector_types',
|
|
48727
|
+
'x-fern-sdk-return-value': 'connector_types',
|
|
48728
|
+
'x-response-key': 'connector_types',
|
|
48729
|
+
'x-title': 'List Connector Types',
|
|
48730
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
48731
|
+
},
|
|
48732
|
+
},
|
|
48579
48733
|
'/seam/customer/v1/connectors/create': {
|
|
48580
48734
|
post: {
|
|
48581
|
-
description: 'Creates a new connector for a customer in a workspace. The connector will be activated and start syncing data from the external API.\nIf a connector already exists
|
|
48735
|
+
description: 'Creates a new connector for a customer in a workspace. The connector will be activated and start syncing data from the external API.\nIf a connector already exists for the same customer, it will be updated instead of creating a new one.',
|
|
48582
48736
|
operationId: 'seamCustomerV1ConnectorsCreatePost',
|
|
48583
48737
|
requestBody: {
|
|
48584
48738
|
content: {
|
|
@@ -48586,31 +48740,13 @@ export default {
|
|
|
48586
48740
|
schema: {
|
|
48587
48741
|
properties: {
|
|
48588
48742
|
config: {
|
|
48743
|
+
additionalProperties: {},
|
|
48589
48744
|
description: 'Instance-specific configuration for the connector',
|
|
48590
|
-
|
|
48591
|
-
{
|
|
48592
|
-
properties: {
|
|
48593
|
-
access_token: { minLength: 1, type: 'string' },
|
|
48594
|
-
client: {
|
|
48595
|
-
default: 'seam',
|
|
48596
|
-
minLength: 1,
|
|
48597
|
-
type: 'string',
|
|
48598
|
-
},
|
|
48599
|
-
client_token: { minLength: 1, type: 'string' },
|
|
48600
|
-
enterprise_id: { format: 'uuid', type: 'string' },
|
|
48601
|
-
enterprise_ids: {
|
|
48602
|
-
items: { format: 'uuid', type: 'string' },
|
|
48603
|
-
type: 'array',
|
|
48604
|
-
},
|
|
48605
|
-
},
|
|
48606
|
-
type: 'object',
|
|
48607
|
-
},
|
|
48608
|
-
{ properties: {}, type: 'object' },
|
|
48609
|
-
],
|
|
48745
|
+
type: 'object',
|
|
48610
48746
|
},
|
|
48611
48747
|
connector_type: {
|
|
48612
48748
|
description: 'Type of connector to create',
|
|
48613
|
-
enum: ['mews', '
|
|
48749
|
+
enum: ['mock', 'mews', 'rms'],
|
|
48614
48750
|
type: 'string',
|
|
48615
48751
|
},
|
|
48616
48752
|
customer_key: {
|
|
@@ -48958,6 +49094,7 @@ export default {
|
|
|
48958
49094
|
config: {
|
|
48959
49095
|
description: 'Instance-specific configuration for the connector',
|
|
48960
49096
|
oneOf: [
|
|
49097
|
+
{ properties: {}, type: 'object' },
|
|
48961
49098
|
{
|
|
48962
49099
|
properties: {
|
|
48963
49100
|
access_token: { minLength: 1, type: 'string' },
|
|
@@ -48967,15 +49104,37 @@ export default {
|
|
|
48967
49104
|
type: 'string',
|
|
48968
49105
|
},
|
|
48969
49106
|
client_token: { minLength: 1, type: 'string' },
|
|
48970
|
-
enterprise_id: {
|
|
49107
|
+
enterprise_id: { type: 'string' },
|
|
48971
49108
|
enterprise_ids: {
|
|
48972
|
-
items: {
|
|
49109
|
+
items: { type: 'string' },
|
|
48973
49110
|
type: 'array',
|
|
48974
49111
|
},
|
|
48975
49112
|
},
|
|
48976
49113
|
type: 'object',
|
|
48977
49114
|
},
|
|
48978
|
-
{
|
|
49115
|
+
{
|
|
49116
|
+
properties: {
|
|
49117
|
+
client_id: {
|
|
49118
|
+
description: 'RMS client ID for authentication',
|
|
49119
|
+
minLength: 1,
|
|
49120
|
+
type: 'string',
|
|
49121
|
+
},
|
|
49122
|
+
client_password: {
|
|
49123
|
+
description: 'RMS client password for authentication',
|
|
49124
|
+
minLength: 1,
|
|
49125
|
+
type: 'string',
|
|
49126
|
+
},
|
|
49127
|
+
property_id: {
|
|
49128
|
+
description: 'Optional property ID for single-property connectors',
|
|
49129
|
+
oneOf: [
|
|
49130
|
+
{ type: 'string' },
|
|
49131
|
+
{ format: 'float', type: 'number' },
|
|
49132
|
+
],
|
|
49133
|
+
},
|
|
49134
|
+
},
|
|
49135
|
+
required: ['client_id', 'client_password'],
|
|
49136
|
+
type: 'object',
|
|
49137
|
+
},
|
|
48979
49138
|
],
|
|
48980
49139
|
},
|
|
48981
49140
|
connector_id: {
|