@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
package/dist/connect.cjs
CHANGED
|
@@ -43732,6 +43732,7 @@ var openapi_default = {
|
|
|
43732
43732
|
},
|
|
43733
43733
|
ends_at: {
|
|
43734
43734
|
description: "Ending date and time for the access grant.",
|
|
43735
|
+
format: "date-time",
|
|
43735
43736
|
type: "string"
|
|
43736
43737
|
},
|
|
43737
43738
|
facility_keys: {
|
|
@@ -43777,6 +43778,7 @@ var openapi_default = {
|
|
|
43777
43778
|
},
|
|
43778
43779
|
starts_at: {
|
|
43779
43780
|
description: "Starting date and time for the access grant.",
|
|
43781
|
+
format: "date-time",
|
|
43780
43782
|
type: "string"
|
|
43781
43783
|
},
|
|
43782
43784
|
tenant_key: {
|
|
@@ -43823,6 +43825,7 @@ var openapi_default = {
|
|
|
43823
43825
|
},
|
|
43824
43826
|
ends_at: {
|
|
43825
43827
|
description: "Ending date and time for the access grant.",
|
|
43828
|
+
format: "date-time",
|
|
43826
43829
|
type: "string"
|
|
43827
43830
|
},
|
|
43828
43831
|
facility_keys: {
|
|
@@ -43868,6 +43871,7 @@ var openapi_default = {
|
|
|
43868
43871
|
},
|
|
43869
43872
|
starts_at: {
|
|
43870
43873
|
description: "Starting date and time for the access grant.",
|
|
43874
|
+
format: "date-time",
|
|
43871
43875
|
type: "string"
|
|
43872
43876
|
},
|
|
43873
43877
|
tenant_key: {
|
|
@@ -44060,6 +44064,7 @@ var openapi_default = {
|
|
|
44060
44064
|
},
|
|
44061
44065
|
ends_at: {
|
|
44062
44066
|
description: "Ending date and time for the access grant.",
|
|
44067
|
+
format: "date-time",
|
|
44063
44068
|
type: "string"
|
|
44064
44069
|
},
|
|
44065
44070
|
facility_keys: {
|
|
@@ -44110,6 +44115,7 @@ var openapi_default = {
|
|
|
44110
44115
|
},
|
|
44111
44116
|
starts_at: {
|
|
44112
44117
|
description: "Starting date and time for the access grant.",
|
|
44118
|
+
format: "date-time",
|
|
44113
44119
|
type: "string"
|
|
44114
44120
|
},
|
|
44115
44121
|
tenant_key: {
|
|
@@ -44825,6 +44831,7 @@ var openapi_default = {
|
|
|
44825
44831
|
},
|
|
44826
44832
|
ends_at: {
|
|
44827
44833
|
description: "Ending date and time for the access grant.",
|
|
44834
|
+
format: "date-time",
|
|
44828
44835
|
type: "string"
|
|
44829
44836
|
},
|
|
44830
44837
|
facility_keys: {
|
|
@@ -44870,6 +44877,7 @@ var openapi_default = {
|
|
|
44870
44877
|
},
|
|
44871
44878
|
starts_at: {
|
|
44872
44879
|
description: "Starting date and time for the access grant.",
|
|
44880
|
+
format: "date-time",
|
|
44873
44881
|
type: "string"
|
|
44874
44882
|
},
|
|
44875
44883
|
tenant_key: {
|
|
@@ -44916,6 +44924,7 @@ var openapi_default = {
|
|
|
44916
44924
|
},
|
|
44917
44925
|
ends_at: {
|
|
44918
44926
|
description: "Ending date and time for the access grant.",
|
|
44927
|
+
format: "date-time",
|
|
44919
44928
|
type: "string"
|
|
44920
44929
|
},
|
|
44921
44930
|
facility_keys: {
|
|
@@ -44961,6 +44970,7 @@ var openapi_default = {
|
|
|
44961
44970
|
},
|
|
44962
44971
|
starts_at: {
|
|
44963
44972
|
description: "Starting date and time for the access grant.",
|
|
44973
|
+
format: "date-time",
|
|
44964
44974
|
type: "string"
|
|
44965
44975
|
},
|
|
44966
44976
|
tenant_key: {
|
|
@@ -45153,6 +45163,7 @@ var openapi_default = {
|
|
|
45153
45163
|
},
|
|
45154
45164
|
ends_at: {
|
|
45155
45165
|
description: "Ending date and time for the access grant.",
|
|
45166
|
+
format: "date-time",
|
|
45156
45167
|
type: "string"
|
|
45157
45168
|
},
|
|
45158
45169
|
facility_keys: {
|
|
@@ -45203,6 +45214,7 @@ var openapi_default = {
|
|
|
45203
45214
|
},
|
|
45204
45215
|
starts_at: {
|
|
45205
45216
|
description: "Starting date and time for the access grant.",
|
|
45217
|
+
format: "date-time",
|
|
45206
45218
|
type: "string"
|
|
45207
45219
|
},
|
|
45208
45220
|
tenant_key: {
|
|
@@ -54470,9 +54482,151 @@ var openapi_default = {
|
|
|
54470
54482
|
"x-undocumented": "Internal endpoint for customer portals."
|
|
54471
54483
|
}
|
|
54472
54484
|
},
|
|
54485
|
+
"/seam/customer/v1/connectors/connector_types": {
|
|
54486
|
+
get: {
|
|
54487
|
+
description: "Lists all available connector types and their required instance configuration schemas.",
|
|
54488
|
+
operationId: "seamCustomerV1ConnectorsConnectorTypesGet",
|
|
54489
|
+
responses: {
|
|
54490
|
+
200: {
|
|
54491
|
+
content: {
|
|
54492
|
+
"application/json": {
|
|
54493
|
+
schema: {
|
|
54494
|
+
properties: {
|
|
54495
|
+
connector_types: {
|
|
54496
|
+
items: {
|
|
54497
|
+
properties: {
|
|
54498
|
+
connector_type: { type: "string" },
|
|
54499
|
+
description: { type: "string" },
|
|
54500
|
+
display_name: { type: "string" },
|
|
54501
|
+
instance_config_schema: {
|
|
54502
|
+
$ref: "#/components/schemas/access_code"
|
|
54503
|
+
},
|
|
54504
|
+
static_config: {
|
|
54505
|
+
properties: {
|
|
54506
|
+
base_api_url: { type: "string" },
|
|
54507
|
+
polling_enabled: { type: "boolean" },
|
|
54508
|
+
polling_frequency_minutes: {
|
|
54509
|
+
format: "float",
|
|
54510
|
+
type: "number"
|
|
54511
|
+
}
|
|
54512
|
+
},
|
|
54513
|
+
required: [
|
|
54514
|
+
"base_api_url",
|
|
54515
|
+
"polling_enabled",
|
|
54516
|
+
"polling_frequency_minutes"
|
|
54517
|
+
],
|
|
54518
|
+
type: "object"
|
|
54519
|
+
}
|
|
54520
|
+
},
|
|
54521
|
+
required: [
|
|
54522
|
+
"connector_type",
|
|
54523
|
+
"display_name",
|
|
54524
|
+
"static_config"
|
|
54525
|
+
],
|
|
54526
|
+
type: "object"
|
|
54527
|
+
},
|
|
54528
|
+
type: "array"
|
|
54529
|
+
},
|
|
54530
|
+
ok: { type: "boolean" }
|
|
54531
|
+
},
|
|
54532
|
+
required: ["connector_types", "ok"],
|
|
54533
|
+
type: "object"
|
|
54534
|
+
}
|
|
54535
|
+
}
|
|
54536
|
+
},
|
|
54537
|
+
description: "OK"
|
|
54538
|
+
},
|
|
54539
|
+
400: { description: "Bad Request" },
|
|
54540
|
+
401: { description: "Unauthorized" }
|
|
54541
|
+
},
|
|
54542
|
+
security: [
|
|
54543
|
+
{ api_key: [] },
|
|
54544
|
+
{ client_session: [] },
|
|
54545
|
+
{ console_session_with_workspace: [] }
|
|
54546
|
+
],
|
|
54547
|
+
summary: "/seam/customer/v1/connectors/connector_types",
|
|
54548
|
+
tags: [],
|
|
54549
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "connectors"],
|
|
54550
|
+
"x-fern-sdk-method-name": "connector_types",
|
|
54551
|
+
"x-fern-sdk-return-value": "connector_types",
|
|
54552
|
+
"x-response-key": "connector_types",
|
|
54553
|
+
"x-title": "List Connector Types",
|
|
54554
|
+
"x-undocumented": "Internal endpoint for Console."
|
|
54555
|
+
},
|
|
54556
|
+
post: {
|
|
54557
|
+
description: "Lists all available connector types and their required instance configuration schemas.",
|
|
54558
|
+
operationId: "seamCustomerV1ConnectorsConnectorTypesPost",
|
|
54559
|
+
responses: {
|
|
54560
|
+
200: {
|
|
54561
|
+
content: {
|
|
54562
|
+
"application/json": {
|
|
54563
|
+
schema: {
|
|
54564
|
+
properties: {
|
|
54565
|
+
connector_types: {
|
|
54566
|
+
items: {
|
|
54567
|
+
properties: {
|
|
54568
|
+
connector_type: { type: "string" },
|
|
54569
|
+
description: { type: "string" },
|
|
54570
|
+
display_name: { type: "string" },
|
|
54571
|
+
instance_config_schema: {
|
|
54572
|
+
$ref: "#/components/schemas/access_code"
|
|
54573
|
+
},
|
|
54574
|
+
static_config: {
|
|
54575
|
+
properties: {
|
|
54576
|
+
base_api_url: { type: "string" },
|
|
54577
|
+
polling_enabled: { type: "boolean" },
|
|
54578
|
+
polling_frequency_minutes: {
|
|
54579
|
+
format: "float",
|
|
54580
|
+
type: "number"
|
|
54581
|
+
}
|
|
54582
|
+
},
|
|
54583
|
+
required: [
|
|
54584
|
+
"base_api_url",
|
|
54585
|
+
"polling_enabled",
|
|
54586
|
+
"polling_frequency_minutes"
|
|
54587
|
+
],
|
|
54588
|
+
type: "object"
|
|
54589
|
+
}
|
|
54590
|
+
},
|
|
54591
|
+
required: [
|
|
54592
|
+
"connector_type",
|
|
54593
|
+
"display_name",
|
|
54594
|
+
"static_config"
|
|
54595
|
+
],
|
|
54596
|
+
type: "object"
|
|
54597
|
+
},
|
|
54598
|
+
type: "array"
|
|
54599
|
+
},
|
|
54600
|
+
ok: { type: "boolean" }
|
|
54601
|
+
},
|
|
54602
|
+
required: ["connector_types", "ok"],
|
|
54603
|
+
type: "object"
|
|
54604
|
+
}
|
|
54605
|
+
}
|
|
54606
|
+
},
|
|
54607
|
+
description: "OK"
|
|
54608
|
+
},
|
|
54609
|
+
400: { description: "Bad Request" },
|
|
54610
|
+
401: { description: "Unauthorized" }
|
|
54611
|
+
},
|
|
54612
|
+
security: [
|
|
54613
|
+
{ api_key: [] },
|
|
54614
|
+
{ client_session: [] },
|
|
54615
|
+
{ console_session_with_workspace: [] }
|
|
54616
|
+
],
|
|
54617
|
+
summary: "/seam/customer/v1/connectors/connector_types",
|
|
54618
|
+
tags: [],
|
|
54619
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "connectors"],
|
|
54620
|
+
"x-fern-sdk-method-name": "connector_types",
|
|
54621
|
+
"x-fern-sdk-return-value": "connector_types",
|
|
54622
|
+
"x-response-key": "connector_types",
|
|
54623
|
+
"x-title": "List Connector Types",
|
|
54624
|
+
"x-undocumented": "Internal endpoint for Console."
|
|
54625
|
+
}
|
|
54626
|
+
},
|
|
54473
54627
|
"/seam/customer/v1/connectors/create": {
|
|
54474
54628
|
post: {
|
|
54475
|
-
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
|
|
54629
|
+
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.",
|
|
54476
54630
|
operationId: "seamCustomerV1ConnectorsCreatePost",
|
|
54477
54631
|
requestBody: {
|
|
54478
54632
|
content: {
|
|
@@ -54480,31 +54634,13 @@ var openapi_default = {
|
|
|
54480
54634
|
schema: {
|
|
54481
54635
|
properties: {
|
|
54482
54636
|
config: {
|
|
54637
|
+
additionalProperties: {},
|
|
54483
54638
|
description: "Instance-specific configuration for the connector",
|
|
54484
|
-
|
|
54485
|
-
{
|
|
54486
|
-
properties: {
|
|
54487
|
-
access_token: { minLength: 1, type: "string" },
|
|
54488
|
-
client: {
|
|
54489
|
-
default: "seam",
|
|
54490
|
-
minLength: 1,
|
|
54491
|
-
type: "string"
|
|
54492
|
-
},
|
|
54493
|
-
client_token: { minLength: 1, type: "string" },
|
|
54494
|
-
enterprise_id: { format: "uuid", type: "string" },
|
|
54495
|
-
enterprise_ids: {
|
|
54496
|
-
items: { format: "uuid", type: "string" },
|
|
54497
|
-
type: "array"
|
|
54498
|
-
}
|
|
54499
|
-
},
|
|
54500
|
-
type: "object"
|
|
54501
|
-
},
|
|
54502
|
-
{ properties: {}, type: "object" }
|
|
54503
|
-
]
|
|
54639
|
+
type: "object"
|
|
54504
54640
|
},
|
|
54505
54641
|
connector_type: {
|
|
54506
54642
|
description: "Type of connector to create",
|
|
54507
|
-
enum: ["mews", "
|
|
54643
|
+
enum: ["mock", "mews", "rms"],
|
|
54508
54644
|
type: "string"
|
|
54509
54645
|
},
|
|
54510
54646
|
customer_key: {
|
|
@@ -54852,6 +54988,7 @@ var openapi_default = {
|
|
|
54852
54988
|
config: {
|
|
54853
54989
|
description: "Instance-specific configuration for the connector",
|
|
54854
54990
|
oneOf: [
|
|
54991
|
+
{ properties: {}, type: "object" },
|
|
54855
54992
|
{
|
|
54856
54993
|
properties: {
|
|
54857
54994
|
access_token: { minLength: 1, type: "string" },
|
|
@@ -54861,15 +54998,37 @@ var openapi_default = {
|
|
|
54861
54998
|
type: "string"
|
|
54862
54999
|
},
|
|
54863
55000
|
client_token: { minLength: 1, type: "string" },
|
|
54864
|
-
enterprise_id: {
|
|
55001
|
+
enterprise_id: { type: "string" },
|
|
54865
55002
|
enterprise_ids: {
|
|
54866
|
-
items: {
|
|
55003
|
+
items: { type: "string" },
|
|
54867
55004
|
type: "array"
|
|
54868
55005
|
}
|
|
54869
55006
|
},
|
|
54870
55007
|
type: "object"
|
|
54871
55008
|
},
|
|
54872
|
-
{
|
|
55009
|
+
{
|
|
55010
|
+
properties: {
|
|
55011
|
+
client_id: {
|
|
55012
|
+
description: "RMS client ID for authentication",
|
|
55013
|
+
minLength: 1,
|
|
55014
|
+
type: "string"
|
|
55015
|
+
},
|
|
55016
|
+
client_password: {
|
|
55017
|
+
description: "RMS client password for authentication",
|
|
55018
|
+
minLength: 1,
|
|
55019
|
+
type: "string"
|
|
55020
|
+
},
|
|
55021
|
+
property_id: {
|
|
55022
|
+
description: "Optional property ID for single-property connectors",
|
|
55023
|
+
oneOf: [
|
|
55024
|
+
{ type: "string" },
|
|
55025
|
+
{ format: "float", type: "number" }
|
|
55026
|
+
]
|
|
55027
|
+
}
|
|
55028
|
+
},
|
|
55029
|
+
required: ["client_id", "client_password"],
|
|
55030
|
+
type: "object"
|
|
55031
|
+
}
|
|
54873
55032
|
]
|
|
54874
55033
|
},
|
|
54875
55034
|
connector_id: {
|