@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.d.cts
CHANGED
|
@@ -84746,6 +84746,7 @@ declare const _default: {
|
|
|
84746
84746
|
};
|
|
84747
84747
|
ends_at: {
|
|
84748
84748
|
description: string;
|
|
84749
|
+
format: string;
|
|
84749
84750
|
type: string;
|
|
84750
84751
|
};
|
|
84751
84752
|
facility_keys: {
|
|
@@ -84801,6 +84802,7 @@ declare const _default: {
|
|
|
84801
84802
|
};
|
|
84802
84803
|
starts_at: {
|
|
84803
84804
|
description: string;
|
|
84805
|
+
format: string;
|
|
84804
84806
|
type: string;
|
|
84805
84807
|
};
|
|
84806
84808
|
tenant_key: {
|
|
@@ -84853,6 +84855,7 @@ declare const _default: {
|
|
|
84853
84855
|
};
|
|
84854
84856
|
ends_at: {
|
|
84855
84857
|
description: string;
|
|
84858
|
+
format: string;
|
|
84856
84859
|
type: string;
|
|
84857
84860
|
};
|
|
84858
84861
|
facility_keys: {
|
|
@@ -84908,6 +84911,7 @@ declare const _default: {
|
|
|
84908
84911
|
};
|
|
84909
84912
|
starts_at: {
|
|
84910
84913
|
description: string;
|
|
84914
|
+
format: string;
|
|
84911
84915
|
type: string;
|
|
84912
84916
|
};
|
|
84913
84917
|
tenant_key: {
|
|
@@ -85106,6 +85110,7 @@ declare const _default: {
|
|
|
85106
85110
|
};
|
|
85107
85111
|
ends_at: {
|
|
85108
85112
|
description: string;
|
|
85113
|
+
format: string;
|
|
85109
85114
|
type: string;
|
|
85110
85115
|
};
|
|
85111
85116
|
facility_keys: {
|
|
@@ -85166,6 +85171,7 @@ declare const _default: {
|
|
|
85166
85171
|
};
|
|
85167
85172
|
starts_at: {
|
|
85168
85173
|
description: string;
|
|
85174
|
+
format: string;
|
|
85169
85175
|
type: string;
|
|
85170
85176
|
};
|
|
85171
85177
|
tenant_key: {
|
|
@@ -85835,6 +85841,7 @@ declare const _default: {
|
|
|
85835
85841
|
};
|
|
85836
85842
|
ends_at: {
|
|
85837
85843
|
description: string;
|
|
85844
|
+
format: string;
|
|
85838
85845
|
type: string;
|
|
85839
85846
|
};
|
|
85840
85847
|
facility_keys: {
|
|
@@ -85890,6 +85897,7 @@ declare const _default: {
|
|
|
85890
85897
|
};
|
|
85891
85898
|
starts_at: {
|
|
85892
85899
|
description: string;
|
|
85900
|
+
format: string;
|
|
85893
85901
|
type: string;
|
|
85894
85902
|
};
|
|
85895
85903
|
tenant_key: {
|
|
@@ -85942,6 +85950,7 @@ declare const _default: {
|
|
|
85942
85950
|
};
|
|
85943
85951
|
ends_at: {
|
|
85944
85952
|
description: string;
|
|
85953
|
+
format: string;
|
|
85945
85954
|
type: string;
|
|
85946
85955
|
};
|
|
85947
85956
|
facility_keys: {
|
|
@@ -85997,6 +86006,7 @@ declare const _default: {
|
|
|
85997
86006
|
};
|
|
85998
86007
|
starts_at: {
|
|
85999
86008
|
description: string;
|
|
86009
|
+
format: string;
|
|
86000
86010
|
type: string;
|
|
86001
86011
|
};
|
|
86002
86012
|
tenant_key: {
|
|
@@ -86195,6 +86205,7 @@ declare const _default: {
|
|
|
86195
86205
|
};
|
|
86196
86206
|
ends_at: {
|
|
86197
86207
|
description: string;
|
|
86208
|
+
format: string;
|
|
86198
86209
|
type: string;
|
|
86199
86210
|
};
|
|
86200
86211
|
facility_keys: {
|
|
@@ -86255,6 +86266,7 @@ declare const _default: {
|
|
|
86255
86266
|
};
|
|
86256
86267
|
starts_at: {
|
|
86257
86268
|
description: string;
|
|
86269
|
+
format: string;
|
|
86258
86270
|
type: string;
|
|
86259
86271
|
};
|
|
86260
86272
|
tenant_key: {
|
|
@@ -95789,6 +95801,180 @@ declare const _default: {
|
|
|
95789
95801
|
'x-undocumented': string;
|
|
95790
95802
|
};
|
|
95791
95803
|
};
|
|
95804
|
+
'/seam/customer/v1/connectors/connector_types': {
|
|
95805
|
+
get: {
|
|
95806
|
+
description: string;
|
|
95807
|
+
operationId: string;
|
|
95808
|
+
responses: {
|
|
95809
|
+
200: {
|
|
95810
|
+
content: {
|
|
95811
|
+
'application/json': {
|
|
95812
|
+
schema: {
|
|
95813
|
+
properties: {
|
|
95814
|
+
connector_types: {
|
|
95815
|
+
items: {
|
|
95816
|
+
properties: {
|
|
95817
|
+
connector_type: {
|
|
95818
|
+
type: string;
|
|
95819
|
+
};
|
|
95820
|
+
description: {
|
|
95821
|
+
type: string;
|
|
95822
|
+
};
|
|
95823
|
+
display_name: {
|
|
95824
|
+
type: string;
|
|
95825
|
+
};
|
|
95826
|
+
instance_config_schema: {
|
|
95827
|
+
$ref: string;
|
|
95828
|
+
};
|
|
95829
|
+
static_config: {
|
|
95830
|
+
properties: {
|
|
95831
|
+
base_api_url: {
|
|
95832
|
+
type: string;
|
|
95833
|
+
};
|
|
95834
|
+
polling_enabled: {
|
|
95835
|
+
type: string;
|
|
95836
|
+
};
|
|
95837
|
+
polling_frequency_minutes: {
|
|
95838
|
+
format: string;
|
|
95839
|
+
type: string;
|
|
95840
|
+
};
|
|
95841
|
+
};
|
|
95842
|
+
required: string[];
|
|
95843
|
+
type: string;
|
|
95844
|
+
};
|
|
95845
|
+
};
|
|
95846
|
+
required: string[];
|
|
95847
|
+
type: string;
|
|
95848
|
+
};
|
|
95849
|
+
type: string;
|
|
95850
|
+
};
|
|
95851
|
+
ok: {
|
|
95852
|
+
type: string;
|
|
95853
|
+
};
|
|
95854
|
+
};
|
|
95855
|
+
required: string[];
|
|
95856
|
+
type: string;
|
|
95857
|
+
};
|
|
95858
|
+
};
|
|
95859
|
+
};
|
|
95860
|
+
description: string;
|
|
95861
|
+
};
|
|
95862
|
+
400: {
|
|
95863
|
+
description: string;
|
|
95864
|
+
};
|
|
95865
|
+
401: {
|
|
95866
|
+
description: string;
|
|
95867
|
+
};
|
|
95868
|
+
};
|
|
95869
|
+
security: ({
|
|
95870
|
+
api_key: never[];
|
|
95871
|
+
client_session?: never;
|
|
95872
|
+
console_session_with_workspace?: never;
|
|
95873
|
+
} | {
|
|
95874
|
+
client_session: never[];
|
|
95875
|
+
api_key?: never;
|
|
95876
|
+
console_session_with_workspace?: never;
|
|
95877
|
+
} | {
|
|
95878
|
+
console_session_with_workspace: never[];
|
|
95879
|
+
api_key?: never;
|
|
95880
|
+
client_session?: never;
|
|
95881
|
+
})[];
|
|
95882
|
+
summary: string;
|
|
95883
|
+
tags: never[];
|
|
95884
|
+
'x-fern-sdk-group-name': string[];
|
|
95885
|
+
'x-fern-sdk-method-name': string;
|
|
95886
|
+
'x-fern-sdk-return-value': string;
|
|
95887
|
+
'x-response-key': string;
|
|
95888
|
+
'x-title': string;
|
|
95889
|
+
'x-undocumented': string;
|
|
95890
|
+
};
|
|
95891
|
+
post: {
|
|
95892
|
+
description: string;
|
|
95893
|
+
operationId: string;
|
|
95894
|
+
responses: {
|
|
95895
|
+
200: {
|
|
95896
|
+
content: {
|
|
95897
|
+
'application/json': {
|
|
95898
|
+
schema: {
|
|
95899
|
+
properties: {
|
|
95900
|
+
connector_types: {
|
|
95901
|
+
items: {
|
|
95902
|
+
properties: {
|
|
95903
|
+
connector_type: {
|
|
95904
|
+
type: string;
|
|
95905
|
+
};
|
|
95906
|
+
description: {
|
|
95907
|
+
type: string;
|
|
95908
|
+
};
|
|
95909
|
+
display_name: {
|
|
95910
|
+
type: string;
|
|
95911
|
+
};
|
|
95912
|
+
instance_config_schema: {
|
|
95913
|
+
$ref: string;
|
|
95914
|
+
};
|
|
95915
|
+
static_config: {
|
|
95916
|
+
properties: {
|
|
95917
|
+
base_api_url: {
|
|
95918
|
+
type: string;
|
|
95919
|
+
};
|
|
95920
|
+
polling_enabled: {
|
|
95921
|
+
type: string;
|
|
95922
|
+
};
|
|
95923
|
+
polling_frequency_minutes: {
|
|
95924
|
+
format: string;
|
|
95925
|
+
type: string;
|
|
95926
|
+
};
|
|
95927
|
+
};
|
|
95928
|
+
required: string[];
|
|
95929
|
+
type: string;
|
|
95930
|
+
};
|
|
95931
|
+
};
|
|
95932
|
+
required: string[];
|
|
95933
|
+
type: string;
|
|
95934
|
+
};
|
|
95935
|
+
type: string;
|
|
95936
|
+
};
|
|
95937
|
+
ok: {
|
|
95938
|
+
type: string;
|
|
95939
|
+
};
|
|
95940
|
+
};
|
|
95941
|
+
required: string[];
|
|
95942
|
+
type: string;
|
|
95943
|
+
};
|
|
95944
|
+
};
|
|
95945
|
+
};
|
|
95946
|
+
description: string;
|
|
95947
|
+
};
|
|
95948
|
+
400: {
|
|
95949
|
+
description: string;
|
|
95950
|
+
};
|
|
95951
|
+
401: {
|
|
95952
|
+
description: string;
|
|
95953
|
+
};
|
|
95954
|
+
};
|
|
95955
|
+
security: ({
|
|
95956
|
+
api_key: never[];
|
|
95957
|
+
client_session?: never;
|
|
95958
|
+
console_session_with_workspace?: never;
|
|
95959
|
+
} | {
|
|
95960
|
+
client_session: never[];
|
|
95961
|
+
api_key?: never;
|
|
95962
|
+
console_session_with_workspace?: never;
|
|
95963
|
+
} | {
|
|
95964
|
+
console_session_with_workspace: never[];
|
|
95965
|
+
api_key?: never;
|
|
95966
|
+
client_session?: never;
|
|
95967
|
+
})[];
|
|
95968
|
+
summary: string;
|
|
95969
|
+
tags: never[];
|
|
95970
|
+
'x-fern-sdk-group-name': string[];
|
|
95971
|
+
'x-fern-sdk-method-name': string;
|
|
95972
|
+
'x-fern-sdk-return-value': string;
|
|
95973
|
+
'x-response-key': string;
|
|
95974
|
+
'x-title': string;
|
|
95975
|
+
'x-undocumented': string;
|
|
95976
|
+
};
|
|
95977
|
+
};
|
|
95792
95978
|
'/seam/customer/v1/connectors/create': {
|
|
95793
95979
|
post: {
|
|
95794
95980
|
description: string;
|
|
@@ -95799,45 +95985,9 @@ declare const _default: {
|
|
|
95799
95985
|
schema: {
|
|
95800
95986
|
properties: {
|
|
95801
95987
|
config: {
|
|
95988
|
+
additionalProperties: {};
|
|
95802
95989
|
description: string;
|
|
95803
|
-
|
|
95804
|
-
properties: {
|
|
95805
|
-
access_token: {
|
|
95806
|
-
minLength: number;
|
|
95807
|
-
type: string;
|
|
95808
|
-
};
|
|
95809
|
-
client: {
|
|
95810
|
-
default: string;
|
|
95811
|
-
minLength: number;
|
|
95812
|
-
type: string;
|
|
95813
|
-
};
|
|
95814
|
-
client_token: {
|
|
95815
|
-
minLength: number;
|
|
95816
|
-
type: string;
|
|
95817
|
-
};
|
|
95818
|
-
enterprise_id: {
|
|
95819
|
-
format: string;
|
|
95820
|
-
type: string;
|
|
95821
|
-
};
|
|
95822
|
-
enterprise_ids: {
|
|
95823
|
-
items: {
|
|
95824
|
-
format: string;
|
|
95825
|
-
type: string;
|
|
95826
|
-
};
|
|
95827
|
-
type: string;
|
|
95828
|
-
};
|
|
95829
|
-
};
|
|
95830
|
-
type: string;
|
|
95831
|
-
} | {
|
|
95832
|
-
properties: {
|
|
95833
|
-
access_token?: never;
|
|
95834
|
-
client?: never;
|
|
95835
|
-
client_token?: never;
|
|
95836
|
-
enterprise_id?: never;
|
|
95837
|
-
enterprise_ids?: never;
|
|
95838
|
-
};
|
|
95839
|
-
type: string;
|
|
95840
|
-
})[];
|
|
95990
|
+
type: string;
|
|
95841
95991
|
};
|
|
95842
95992
|
connector_type: {
|
|
95843
95993
|
description: string;
|
|
@@ -96279,6 +96429,19 @@ declare const _default: {
|
|
|
96279
96429
|
config: {
|
|
96280
96430
|
description: string;
|
|
96281
96431
|
oneOf: ({
|
|
96432
|
+
properties: {
|
|
96433
|
+
access_token?: never;
|
|
96434
|
+
client?: never;
|
|
96435
|
+
client_token?: never;
|
|
96436
|
+
enterprise_id?: never;
|
|
96437
|
+
enterprise_ids?: never;
|
|
96438
|
+
client_id?: never;
|
|
96439
|
+
client_password?: never;
|
|
96440
|
+
property_id?: never;
|
|
96441
|
+
};
|
|
96442
|
+
type: string;
|
|
96443
|
+
required?: never;
|
|
96444
|
+
} | {
|
|
96282
96445
|
properties: {
|
|
96283
96446
|
access_token: {
|
|
96284
96447
|
minLength: number;
|
|
@@ -96294,26 +96457,49 @@ declare const _default: {
|
|
|
96294
96457
|
type: string;
|
|
96295
96458
|
};
|
|
96296
96459
|
enterprise_id: {
|
|
96297
|
-
format: string;
|
|
96298
96460
|
type: string;
|
|
96299
96461
|
};
|
|
96300
96462
|
enterprise_ids: {
|
|
96301
96463
|
items: {
|
|
96302
|
-
format: string;
|
|
96303
96464
|
type: string;
|
|
96304
96465
|
};
|
|
96305
96466
|
type: string;
|
|
96306
96467
|
};
|
|
96468
|
+
client_id?: never;
|
|
96469
|
+
client_password?: never;
|
|
96470
|
+
property_id?: never;
|
|
96307
96471
|
};
|
|
96308
96472
|
type: string;
|
|
96473
|
+
required?: never;
|
|
96309
96474
|
} | {
|
|
96310
96475
|
properties: {
|
|
96476
|
+
client_id: {
|
|
96477
|
+
description: string;
|
|
96478
|
+
minLength: number;
|
|
96479
|
+
type: string;
|
|
96480
|
+
};
|
|
96481
|
+
client_password: {
|
|
96482
|
+
description: string;
|
|
96483
|
+
minLength: number;
|
|
96484
|
+
type: string;
|
|
96485
|
+
};
|
|
96486
|
+
property_id: {
|
|
96487
|
+
description: string;
|
|
96488
|
+
oneOf: ({
|
|
96489
|
+
type: string;
|
|
96490
|
+
format?: never;
|
|
96491
|
+
} | {
|
|
96492
|
+
format: string;
|
|
96493
|
+
type: string;
|
|
96494
|
+
})[];
|
|
96495
|
+
};
|
|
96311
96496
|
access_token?: never;
|
|
96312
96497
|
client?: never;
|
|
96313
96498
|
client_token?: never;
|
|
96314
96499
|
enterprise_id?: never;
|
|
96315
96500
|
enterprise_ids?: never;
|
|
96316
96501
|
};
|
|
96502
|
+
required: string[];
|
|
96317
96503
|
type: string;
|
|
96318
96504
|
})[];
|
|
96319
96505
|
};
|
|
@@ -168930,23 +169116,40 @@ type Routes = {
|
|
|
168930
169116
|
formData: {};
|
|
168931
169117
|
jsonResponse: {};
|
|
168932
169118
|
};
|
|
169119
|
+
'/seam/customer/v1/connectors/connector_types': {
|
|
169120
|
+
route: '/seam/customer/v1/connectors/connector_types';
|
|
169121
|
+
method: 'GET' | 'POST';
|
|
169122
|
+
queryParams: {};
|
|
169123
|
+
jsonBody: {};
|
|
169124
|
+
commonParams: {};
|
|
169125
|
+
formData: {};
|
|
169126
|
+
jsonResponse: {
|
|
169127
|
+
connector_types: {
|
|
169128
|
+
connector_type: string;
|
|
169129
|
+
display_name: string;
|
|
169130
|
+
description?: string | undefined;
|
|
169131
|
+
instance_config_schema?: any;
|
|
169132
|
+
static_config: {
|
|
169133
|
+
base_api_url: string;
|
|
169134
|
+
polling_enabled: boolean;
|
|
169135
|
+
polling_frequency_minutes: number;
|
|
169136
|
+
};
|
|
169137
|
+
}[];
|
|
169138
|
+
};
|
|
169139
|
+
};
|
|
168933
169140
|
'/seam/customer/v1/connectors/create': {
|
|
168934
169141
|
route: '/seam/customer/v1/connectors/create';
|
|
168935
169142
|
method: 'POST';
|
|
168936
169143
|
queryParams: {};
|
|
168937
169144
|
jsonBody: {
|
|
168938
169145
|
/** Type of connector to create */
|
|
168939
|
-
connector_type: 'mews' | '
|
|
169146
|
+
connector_type: 'mock' | 'mews' | 'rms';
|
|
168940
169147
|
/** Key identifying the customer */
|
|
168941
169148
|
customer_key?: string | undefined;
|
|
168942
169149
|
/** Instance-specific configuration for the connector */
|
|
168943
169150
|
config: {
|
|
168944
|
-
|
|
168945
|
-
|
|
168946
|
-
client?: string;
|
|
168947
|
-
enterprise_ids?: string[] | undefined;
|
|
168948
|
-
enterprise_id?: string | undefined;
|
|
168949
|
-
} | {};
|
|
169151
|
+
[x: string]: unknown;
|
|
169152
|
+
};
|
|
168950
169153
|
};
|
|
168951
169154
|
commonParams: {};
|
|
168952
169155
|
formData: {};
|
|
@@ -169031,13 +169234,20 @@ type Routes = {
|
|
|
169031
169234
|
/** Key identifying the customer */
|
|
169032
169235
|
customer_key?: string | undefined;
|
|
169033
169236
|
/** Instance-specific configuration for the connector */
|
|
169034
|
-
config: {
|
|
169237
|
+
config: {} | {
|
|
169035
169238
|
client_token?: string | undefined;
|
|
169036
169239
|
access_token?: string | undefined;
|
|
169037
169240
|
client?: string;
|
|
169038
169241
|
enterprise_ids?: string[] | undefined;
|
|
169039
169242
|
enterprise_id?: string | undefined;
|
|
169040
|
-
} | {
|
|
169243
|
+
} | {
|
|
169244
|
+
/** RMS client ID for authentication */
|
|
169245
|
+
client_id: string;
|
|
169246
|
+
/** RMS client password for authentication */
|
|
169247
|
+
client_password: string;
|
|
169248
|
+
/** Optional property ID for single-property connectors */
|
|
169249
|
+
property_id?: (string | number) | undefined;
|
|
169250
|
+
};
|
|
169041
169251
|
};
|
|
169042
169252
|
commonParams: {};
|
|
169043
169253
|
formData: {};
|