@seamapi/types 1.663.0 → 1.665.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 +160 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +220 -1
- package/dist/index.cjs +160 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customer/customer-portal.d.ts +14 -0
- package/lib/seam/connect/models/customer/customer-portal.js +5 -0
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +187 -0
- package/lib/seam/connect/openapi.js +159 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +33 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/customer-portal.ts +7 -0
- package/src/lib/seam/connect/openapi.ts +169 -1
- package/src/lib/seam/connect/route-types.ts +34 -1
|
@@ -47,14 +47,17 @@ export declare const portal_configuration_base: z.ZodObject<{
|
|
|
47
47
|
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
48
48
|
} & {
|
|
49
49
|
allow_access_automation_rule_customization: z.ZodDefault<z.ZodBoolean>;
|
|
50
|
+
allow_climate_automation_rule_customization: z.ZodDefault<z.ZodBoolean>;
|
|
50
51
|
allow_instant_key_customization: z.ZodDefault<z.ZodBoolean>;
|
|
51
52
|
}, "strip", z.ZodTypeAny, {
|
|
52
53
|
exclude: boolean;
|
|
53
54
|
allow_access_automation_rule_customization: boolean;
|
|
55
|
+
allow_climate_automation_rule_customization: boolean;
|
|
54
56
|
allow_instant_key_customization: boolean;
|
|
55
57
|
}, {
|
|
56
58
|
exclude?: boolean | undefined;
|
|
57
59
|
allow_access_automation_rule_customization?: boolean | undefined;
|
|
60
|
+
allow_climate_automation_rule_customization?: boolean | undefined;
|
|
58
61
|
allow_instant_key_customization?: boolean | undefined;
|
|
59
62
|
}>>;
|
|
60
63
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -77,6 +80,7 @@ export declare const portal_configuration_base: z.ZodObject<{
|
|
|
77
80
|
configure: {
|
|
78
81
|
exclude: boolean;
|
|
79
82
|
allow_access_automation_rule_customization: boolean;
|
|
83
|
+
allow_climate_automation_rule_customization: boolean;
|
|
80
84
|
allow_instant_key_customization: boolean;
|
|
81
85
|
};
|
|
82
86
|
}, {
|
|
@@ -99,6 +103,7 @@ export declare const portal_configuration_base: z.ZodObject<{
|
|
|
99
103
|
configure?: {
|
|
100
104
|
exclude?: boolean | undefined;
|
|
101
105
|
allow_access_automation_rule_customization?: boolean | undefined;
|
|
106
|
+
allow_climate_automation_rule_customization?: boolean | undefined;
|
|
102
107
|
allow_instant_key_customization?: boolean | undefined;
|
|
103
108
|
} | undefined;
|
|
104
109
|
}>>;
|
|
@@ -263,6 +268,7 @@ export declare const portal_configuration_base: z.ZodObject<{
|
|
|
263
268
|
configure: {
|
|
264
269
|
exclude: boolean;
|
|
265
270
|
allow_access_automation_rule_customization: boolean;
|
|
271
|
+
allow_climate_automation_rule_customization: boolean;
|
|
266
272
|
allow_instant_key_customization: boolean;
|
|
267
273
|
};
|
|
268
274
|
};
|
|
@@ -319,6 +325,7 @@ export declare const portal_configuration_base: z.ZodObject<{
|
|
|
319
325
|
configure?: {
|
|
320
326
|
exclude?: boolean | undefined;
|
|
321
327
|
allow_access_automation_rule_customization?: boolean | undefined;
|
|
328
|
+
allow_climate_automation_rule_customization?: boolean | undefined;
|
|
322
329
|
allow_instant_key_customization?: boolean | undefined;
|
|
323
330
|
} | undefined;
|
|
324
331
|
} | undefined;
|
|
@@ -403,14 +410,17 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
403
410
|
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
404
411
|
} & {
|
|
405
412
|
allow_access_automation_rule_customization: z.ZodDefault<z.ZodBoolean>;
|
|
413
|
+
allow_climate_automation_rule_customization: z.ZodDefault<z.ZodBoolean>;
|
|
406
414
|
allow_instant_key_customization: z.ZodDefault<z.ZodBoolean>;
|
|
407
415
|
}, "strip", z.ZodTypeAny, {
|
|
408
416
|
exclude: boolean;
|
|
409
417
|
allow_access_automation_rule_customization: boolean;
|
|
418
|
+
allow_climate_automation_rule_customization: boolean;
|
|
410
419
|
allow_instant_key_customization: boolean;
|
|
411
420
|
}, {
|
|
412
421
|
exclude?: boolean | undefined;
|
|
413
422
|
allow_access_automation_rule_customization?: boolean | undefined;
|
|
423
|
+
allow_climate_automation_rule_customization?: boolean | undefined;
|
|
414
424
|
allow_instant_key_customization?: boolean | undefined;
|
|
415
425
|
}>>;
|
|
416
426
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -433,6 +443,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
433
443
|
configure: {
|
|
434
444
|
exclude: boolean;
|
|
435
445
|
allow_access_automation_rule_customization: boolean;
|
|
446
|
+
allow_climate_automation_rule_customization: boolean;
|
|
436
447
|
allow_instant_key_customization: boolean;
|
|
437
448
|
};
|
|
438
449
|
}, {
|
|
@@ -455,6 +466,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
455
466
|
configure?: {
|
|
456
467
|
exclude?: boolean | undefined;
|
|
457
468
|
allow_access_automation_rule_customization?: boolean | undefined;
|
|
469
|
+
allow_climate_automation_rule_customization?: boolean | undefined;
|
|
458
470
|
allow_instant_key_customization?: boolean | undefined;
|
|
459
471
|
} | undefined;
|
|
460
472
|
}>>;
|
|
@@ -619,6 +631,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
619
631
|
configure: {
|
|
620
632
|
exclude: boolean;
|
|
621
633
|
allow_access_automation_rule_customization: boolean;
|
|
634
|
+
allow_climate_automation_rule_customization: boolean;
|
|
622
635
|
allow_instant_key_customization: boolean;
|
|
623
636
|
};
|
|
624
637
|
};
|
|
@@ -675,6 +688,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
675
688
|
configure?: {
|
|
676
689
|
exclude?: boolean | undefined;
|
|
677
690
|
allow_access_automation_rule_customization?: boolean | undefined;
|
|
691
|
+
allow_climate_automation_rule_customization?: boolean | undefined;
|
|
678
692
|
allow_instant_key_customization?: boolean | undefined;
|
|
679
693
|
} | undefined;
|
|
680
694
|
} | undefined;
|
|
@@ -34,6 +34,10 @@ const base_configure_feature = base_feature.extend({
|
|
|
34
34
|
.boolean()
|
|
35
35
|
.default(false)
|
|
36
36
|
.describe('Indicates whether the customer can customize the access automation rules for their properties.'),
|
|
37
|
+
allow_climate_automation_rule_customization: z
|
|
38
|
+
.boolean()
|
|
39
|
+
.default(false)
|
|
40
|
+
.describe('Indicates whether the customer can customize the climate automation rules for their properties.'),
|
|
37
41
|
allow_instant_key_customization: z
|
|
38
42
|
.boolean()
|
|
39
43
|
.default(false)
|
|
@@ -100,6 +104,7 @@ export const portal_configuration = portal_configuration_base
|
|
|
100
104
|
exclude: false,
|
|
101
105
|
allow_instant_key_customization: false, // default
|
|
102
106
|
allow_access_automation_rule_customization: false, // default
|
|
107
|
+
allow_climate_automation_rule_customization: false, // default
|
|
103
108
|
},
|
|
104
109
|
},
|
|
105
110
|
is_embedded: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer-portal.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer-portal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAA;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAE9D,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,OAAO,EAAE,CAAC;SACP,OAAO,EAAE;SACT,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CAAC,kDAAkD,CAAC;CAChE,CAAC,CAAA;AAEF,MAAM,oBAAoB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC/C,kBA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f;QACD,SAAS,EAAE;YACT,OAAO,EAAE,KAAK;YACd,+BAA+B,EAAE,KAAK,EAAE,UAAU;YAClD,0CAA0C,EAAE,KAAK,EAAE,UAAU;
|
|
1
|
+
{"version":3,"file":"customer-portal.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer-portal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAA;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAE9D,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,OAAO,EAAE,CAAC;SACP,OAAO,EAAE;SACT,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CAAC,kDAAkD,CAAC;CAChE,CAAC,CAAA;AAEF,MAAM,oBAAoB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC/C,kBAAkB,EAAE,CAAC;SAClB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CACP,sIAAsI,CACvI;IACH,kBAAkB,EAAE,CAAC;SAClB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CACP,6IAA6I,CAC9I;CACJ,CAAC,CAAA;AACF,MAAM,2BAA2B,GAAG,YAAY,CAAA;AAEhD,MAAM,mBAAmB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC9C,8BAA8B,EAAE,CAAC;SAC9B,OAAO,EAAE;SACT,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CACP,8EAA8E,CAC/E;IACH,wBAAwB,EAAE,CAAC;SACxB,OAAO,EAAE;SACT,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CACP,uEAAuE,CACxE;CACJ,CAAC,CAAA;AAEF,MAAM,qBAAqB,GAAG,YAAY,CAAA;AAE1C,MA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AAC,CAAC;aACvD,QAAQ,EAAE;KACd,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CAAC,2DAA2D,CAAC;IACxE,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SACnD,QAAQ,EAAE;SACV,QAAQ,CAAC,mCAAmC,CAAC;IAChD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,4DAA4D,CAAC;CAC1E,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,yBAAyB;KAC1D,OAAO,CAAC;IACP,QAAQ,EAAE;QACR,OAAO,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;QAC3B,QAAQ,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;QAC5B,MAAM,EAAE;YACN,OAAO,EAAE,KAAK;YACd,8BAA8B,EAAE,KAAK;YACrC,wBAAwB,EAAE,KAAK;SAChC;QACD,cAAc,EAAE;YACd,OAAO,EAAE,KAAK;SACf;QACD,SAAS,EAAE;YACT,OAAO,EAAE,KAAK;YACd,+BAA+B,EAAE,KAAK,EAAE,UAAU;YAClD,0CAA0C,EAAE,KAAK,EAAE,UAAU;YAC7D,2CAA2C,EAAE,KAAK,EAAE,UAAU;SAC/D;KACF;IACD,WAAW,EAAE,KAAK;IAClB,MAAM,EAAE,SAAS;CAClB,CAAC;KACD,QAAQ,CAAC,qCAAqC,CAAC,CAAA"}
|
|
@@ -32339,6 +32339,7 @@ declare const _default: {
|
|
|
32339
32339
|
features: {
|
|
32340
32340
|
configure: {
|
|
32341
32341
|
allow_access_automation_rule_customization: boolean;
|
|
32342
|
+
allow_climate_automation_rule_customization: boolean;
|
|
32342
32343
|
allow_instant_key_customization: boolean;
|
|
32343
32344
|
exclude: boolean;
|
|
32344
32345
|
};
|
|
@@ -32378,6 +32379,11 @@ declare const _default: {
|
|
|
32378
32379
|
description: string;
|
|
32379
32380
|
type: string;
|
|
32380
32381
|
};
|
|
32382
|
+
allow_climate_automation_rule_customization: {
|
|
32383
|
+
default: boolean;
|
|
32384
|
+
description: string;
|
|
32385
|
+
type: string;
|
|
32386
|
+
};
|
|
32381
32387
|
allow_instant_key_customization: {
|
|
32382
32388
|
default: boolean;
|
|
32383
32389
|
description: string;
|
|
@@ -43794,6 +43800,138 @@ declare const _default: {
|
|
|
43794
43800
|
'x-undocumented': string;
|
|
43795
43801
|
};
|
|
43796
43802
|
};
|
|
43803
|
+
'/seam/customer/v1/connectors/authorize': {
|
|
43804
|
+
get: {
|
|
43805
|
+
description: string;
|
|
43806
|
+
operationId: string;
|
|
43807
|
+
parameters: {
|
|
43808
|
+
in: string;
|
|
43809
|
+
name: string;
|
|
43810
|
+
required: boolean;
|
|
43811
|
+
schema: {
|
|
43812
|
+
description: string;
|
|
43813
|
+
minLength: number;
|
|
43814
|
+
type: string;
|
|
43815
|
+
};
|
|
43816
|
+
}[];
|
|
43817
|
+
responses: {
|
|
43818
|
+
200: {
|
|
43819
|
+
content: {
|
|
43820
|
+
'application/json': {
|
|
43821
|
+
schema: {
|
|
43822
|
+
properties: {
|
|
43823
|
+
connector_authorize: {
|
|
43824
|
+
properties: {
|
|
43825
|
+
authorize_url: {
|
|
43826
|
+
format: string;
|
|
43827
|
+
type: string;
|
|
43828
|
+
};
|
|
43829
|
+
connector_type: {
|
|
43830
|
+
type: string;
|
|
43831
|
+
};
|
|
43832
|
+
};
|
|
43833
|
+
required: string[];
|
|
43834
|
+
type: string;
|
|
43835
|
+
};
|
|
43836
|
+
ok: {
|
|
43837
|
+
type: string;
|
|
43838
|
+
};
|
|
43839
|
+
};
|
|
43840
|
+
required: string[];
|
|
43841
|
+
type: string;
|
|
43842
|
+
};
|
|
43843
|
+
};
|
|
43844
|
+
};
|
|
43845
|
+
description: string;
|
|
43846
|
+
};
|
|
43847
|
+
400: {
|
|
43848
|
+
description: string;
|
|
43849
|
+
};
|
|
43850
|
+
401: {
|
|
43851
|
+
description: string;
|
|
43852
|
+
};
|
|
43853
|
+
};
|
|
43854
|
+
summary: string;
|
|
43855
|
+
tags: never[];
|
|
43856
|
+
'x-fern-sdk-group-name': string[];
|
|
43857
|
+
'x-fern-sdk-method-name': string;
|
|
43858
|
+
'x-fern-sdk-return-value': string;
|
|
43859
|
+
'x-response-key': string;
|
|
43860
|
+
'x-title': string;
|
|
43861
|
+
'x-undocumented': string;
|
|
43862
|
+
};
|
|
43863
|
+
post: {
|
|
43864
|
+
description: string;
|
|
43865
|
+
operationId: string;
|
|
43866
|
+
requestBody: {
|
|
43867
|
+
content: {
|
|
43868
|
+
'application/json': {
|
|
43869
|
+
schema: {
|
|
43870
|
+
properties: {
|
|
43871
|
+
connector_name: {
|
|
43872
|
+
description: string;
|
|
43873
|
+
minLength: number;
|
|
43874
|
+
type: string;
|
|
43875
|
+
};
|
|
43876
|
+
workspace_slug: {
|
|
43877
|
+
description: string;
|
|
43878
|
+
minLength: number;
|
|
43879
|
+
type: string;
|
|
43880
|
+
};
|
|
43881
|
+
};
|
|
43882
|
+
required: string[];
|
|
43883
|
+
type: string;
|
|
43884
|
+
};
|
|
43885
|
+
};
|
|
43886
|
+
};
|
|
43887
|
+
};
|
|
43888
|
+
responses: {
|
|
43889
|
+
200: {
|
|
43890
|
+
content: {
|
|
43891
|
+
'application/json': {
|
|
43892
|
+
schema: {
|
|
43893
|
+
properties: {
|
|
43894
|
+
connector_authorize: {
|
|
43895
|
+
properties: {
|
|
43896
|
+
authorize_url: {
|
|
43897
|
+
format: string;
|
|
43898
|
+
type: string;
|
|
43899
|
+
};
|
|
43900
|
+
connector_type: {
|
|
43901
|
+
type: string;
|
|
43902
|
+
};
|
|
43903
|
+
};
|
|
43904
|
+
required: string[];
|
|
43905
|
+
type: string;
|
|
43906
|
+
};
|
|
43907
|
+
ok: {
|
|
43908
|
+
type: string;
|
|
43909
|
+
};
|
|
43910
|
+
};
|
|
43911
|
+
required: string[];
|
|
43912
|
+
type: string;
|
|
43913
|
+
};
|
|
43914
|
+
};
|
|
43915
|
+
};
|
|
43916
|
+
description: string;
|
|
43917
|
+
};
|
|
43918
|
+
400: {
|
|
43919
|
+
description: string;
|
|
43920
|
+
};
|
|
43921
|
+
401: {
|
|
43922
|
+
description: string;
|
|
43923
|
+
};
|
|
43924
|
+
};
|
|
43925
|
+
summary: string;
|
|
43926
|
+
tags: never[];
|
|
43927
|
+
'x-fern-sdk-group-name': string[];
|
|
43928
|
+
'x-fern-sdk-method-name': string;
|
|
43929
|
+
'x-fern-sdk-return-value': string;
|
|
43930
|
+
'x-response-key': string;
|
|
43931
|
+
'x-title': string;
|
|
43932
|
+
'x-undocumented': string;
|
|
43933
|
+
};
|
|
43934
|
+
};
|
|
43797
43935
|
'/seam/customer/v1/connectors/connector_types': {
|
|
43798
43936
|
get: {
|
|
43799
43937
|
description: string;
|
|
@@ -44440,10 +44578,12 @@ declare const _default: {
|
|
|
44440
44578
|
client_token?: never;
|
|
44441
44579
|
enterprise_id?: never;
|
|
44442
44580
|
enterprise_ids?: never;
|
|
44581
|
+
is_demo?: never;
|
|
44443
44582
|
auth_token?: never;
|
|
44444
44583
|
client_id?: never;
|
|
44445
44584
|
client_password?: never;
|
|
44446
44585
|
property_id?: never;
|
|
44586
|
+
refresh_token?: never;
|
|
44447
44587
|
};
|
|
44448
44588
|
type: string;
|
|
44449
44589
|
required?: never;
|
|
@@ -44452,6 +44592,7 @@ declare const _default: {
|
|
|
44452
44592
|
access_token: {
|
|
44453
44593
|
minLength: number;
|
|
44454
44594
|
type: string;
|
|
44595
|
+
description?: never;
|
|
44455
44596
|
};
|
|
44456
44597
|
client: {
|
|
44457
44598
|
default: string;
|
|
@@ -44471,10 +44612,15 @@ declare const _default: {
|
|
|
44471
44612
|
};
|
|
44472
44613
|
type: string;
|
|
44473
44614
|
};
|
|
44615
|
+
is_demo: {
|
|
44616
|
+
default: boolean;
|
|
44617
|
+
type: string;
|
|
44618
|
+
};
|
|
44474
44619
|
auth_token?: never;
|
|
44475
44620
|
client_id?: never;
|
|
44476
44621
|
client_password?: never;
|
|
44477
44622
|
property_id?: never;
|
|
44623
|
+
refresh_token?: never;
|
|
44478
44624
|
};
|
|
44479
44625
|
type: string;
|
|
44480
44626
|
required?: never;
|
|
@@ -44502,15 +44648,46 @@ declare const _default: {
|
|
|
44502
44648
|
format: string;
|
|
44503
44649
|
type: string;
|
|
44504
44650
|
})[];
|
|
44651
|
+
type?: never;
|
|
44505
44652
|
};
|
|
44506
44653
|
access_token?: never;
|
|
44507
44654
|
client?: never;
|
|
44508
44655
|
client_token?: never;
|
|
44509
44656
|
enterprise_id?: never;
|
|
44510
44657
|
enterprise_ids?: never;
|
|
44658
|
+
is_demo?: never;
|
|
44659
|
+
refresh_token?: never;
|
|
44511
44660
|
};
|
|
44512
44661
|
required: string[];
|
|
44513
44662
|
type: string;
|
|
44663
|
+
} | {
|
|
44664
|
+
properties: {
|
|
44665
|
+
access_token: {
|
|
44666
|
+
description: string;
|
|
44667
|
+
minLength: number;
|
|
44668
|
+
type: string;
|
|
44669
|
+
};
|
|
44670
|
+
property_id: {
|
|
44671
|
+
description: string;
|
|
44672
|
+
type: string;
|
|
44673
|
+
oneOf?: never;
|
|
44674
|
+
};
|
|
44675
|
+
refresh_token: {
|
|
44676
|
+
description: string;
|
|
44677
|
+
minLength: number;
|
|
44678
|
+
type: string;
|
|
44679
|
+
};
|
|
44680
|
+
client?: never;
|
|
44681
|
+
client_token?: never;
|
|
44682
|
+
enterprise_id?: never;
|
|
44683
|
+
enterprise_ids?: never;
|
|
44684
|
+
is_demo?: never;
|
|
44685
|
+
auth_token?: never;
|
|
44686
|
+
client_id?: never;
|
|
44687
|
+
client_password?: never;
|
|
44688
|
+
};
|
|
44689
|
+
type: string;
|
|
44690
|
+
required?: never;
|
|
44514
44691
|
})[];
|
|
44515
44692
|
};
|
|
44516
44693
|
connector_id: {
|
|
@@ -44912,6 +45089,11 @@ declare const _default: {
|
|
|
44912
45089
|
description: string;
|
|
44913
45090
|
type: string;
|
|
44914
45091
|
};
|
|
45092
|
+
allow_climate_automation_rule_customization: {
|
|
45093
|
+
default: boolean;
|
|
45094
|
+
description: string;
|
|
45095
|
+
type: string;
|
|
45096
|
+
};
|
|
44915
45097
|
allow_instant_key_customization: {
|
|
44916
45098
|
default: boolean;
|
|
44917
45099
|
description: string;
|
|
@@ -45318,6 +45500,11 @@ declare const _default: {
|
|
|
45318
45500
|
description: string;
|
|
45319
45501
|
type: string;
|
|
45320
45502
|
};
|
|
45503
|
+
allow_climate_automation_rule_customization: {
|
|
45504
|
+
default: boolean;
|
|
45505
|
+
description: string;
|
|
45506
|
+
type: string;
|
|
45507
|
+
};
|
|
45321
45508
|
allow_instant_key_customization: {
|
|
45322
45509
|
default: boolean;
|
|
45323
45510
|
description: string;
|
|
@@ -37604,6 +37604,7 @@ export default {
|
|
|
37604
37604
|
features: {
|
|
37605
37605
|
configure: {
|
|
37606
37606
|
allow_access_automation_rule_customization: false,
|
|
37607
|
+
allow_climate_automation_rule_customization: false,
|
|
37607
37608
|
allow_instant_key_customization: false,
|
|
37608
37609
|
exclude: false,
|
|
37609
37610
|
},
|
|
@@ -37637,6 +37638,11 @@ export default {
|
|
|
37637
37638
|
description: 'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
37638
37639
|
type: 'boolean',
|
|
37639
37640
|
},
|
|
37641
|
+
allow_climate_automation_rule_customization: {
|
|
37642
|
+
default: false,
|
|
37643
|
+
description: 'Indicates whether the customer can customize the climate automation rules for their properties.',
|
|
37644
|
+
type: 'boolean',
|
|
37645
|
+
},
|
|
37640
37646
|
allow_instant_key_customization: {
|
|
37641
37647
|
default: false,
|
|
37642
37648
|
description: 'Indicates whether the customer can customize the Instant Key profile for their properties.',
|
|
@@ -48620,6 +48626,128 @@ export default {
|
|
|
48620
48626
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
48621
48627
|
},
|
|
48622
48628
|
},
|
|
48629
|
+
'/seam/customer/v1/connectors/authorize': {
|
|
48630
|
+
get: {
|
|
48631
|
+
description: 'Returns the OAuth authorization URL for a global connector.\nThis endpoint only works for global connectors (connectors that support multiple customers).',
|
|
48632
|
+
operationId: 'seamCustomerV1ConnectorsAuthorizeGet',
|
|
48633
|
+
parameters: [
|
|
48634
|
+
{
|
|
48635
|
+
in: 'query',
|
|
48636
|
+
name: 'workspace_slug',
|
|
48637
|
+
required: true,
|
|
48638
|
+
schema: {
|
|
48639
|
+
description: 'Workspace slug',
|
|
48640
|
+
minLength: 1,
|
|
48641
|
+
type: 'string',
|
|
48642
|
+
},
|
|
48643
|
+
},
|
|
48644
|
+
{
|
|
48645
|
+
in: 'query',
|
|
48646
|
+
name: 'connector_name',
|
|
48647
|
+
required: false,
|
|
48648
|
+
schema: {
|
|
48649
|
+
description: 'Connector name/type. If not provided, workspace_slug will be used as connector_name',
|
|
48650
|
+
minLength: 1,
|
|
48651
|
+
type: 'string',
|
|
48652
|
+
},
|
|
48653
|
+
},
|
|
48654
|
+
],
|
|
48655
|
+
responses: {
|
|
48656
|
+
200: {
|
|
48657
|
+
content: {
|
|
48658
|
+
'application/json': {
|
|
48659
|
+
schema: {
|
|
48660
|
+
properties: {
|
|
48661
|
+
connector_authorize: {
|
|
48662
|
+
properties: {
|
|
48663
|
+
authorize_url: { format: 'uri', type: 'string' },
|
|
48664
|
+
connector_type: { type: 'string' },
|
|
48665
|
+
},
|
|
48666
|
+
required: ['authorize_url', 'connector_type'],
|
|
48667
|
+
type: 'object',
|
|
48668
|
+
},
|
|
48669
|
+
ok: { type: 'boolean' },
|
|
48670
|
+
},
|
|
48671
|
+
required: ['connector_authorize', 'ok'],
|
|
48672
|
+
type: 'object',
|
|
48673
|
+
},
|
|
48674
|
+
},
|
|
48675
|
+
},
|
|
48676
|
+
description: 'OK',
|
|
48677
|
+
},
|
|
48678
|
+
400: { description: 'Bad Request' },
|
|
48679
|
+
401: { description: 'Unauthorized' },
|
|
48680
|
+
},
|
|
48681
|
+
summary: '/seam/customer/v1/connectors/authorize',
|
|
48682
|
+
tags: [],
|
|
48683
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'connectors'],
|
|
48684
|
+
'x-fern-sdk-method-name': 'authorize',
|
|
48685
|
+
'x-fern-sdk-return-value': 'connector_authorize',
|
|
48686
|
+
'x-response-key': 'connector_authorize',
|
|
48687
|
+
'x-title': 'Get OAuth Authorization URL for Global Connector',
|
|
48688
|
+
'x-undocumented': 'Internal endpoint for OAuth authorization.',
|
|
48689
|
+
},
|
|
48690
|
+
post: {
|
|
48691
|
+
description: 'Returns the OAuth authorization URL for a global connector.\nThis endpoint only works for global connectors (connectors that support multiple customers).',
|
|
48692
|
+
operationId: 'seamCustomerV1ConnectorsAuthorizePost',
|
|
48693
|
+
requestBody: {
|
|
48694
|
+
content: {
|
|
48695
|
+
'application/json': {
|
|
48696
|
+
schema: {
|
|
48697
|
+
properties: {
|
|
48698
|
+
connector_name: {
|
|
48699
|
+
description: 'Connector name/type. If not provided, workspace_slug will be used as connector_name',
|
|
48700
|
+
minLength: 1,
|
|
48701
|
+
type: 'string',
|
|
48702
|
+
},
|
|
48703
|
+
workspace_slug: {
|
|
48704
|
+
description: 'Workspace slug',
|
|
48705
|
+
minLength: 1,
|
|
48706
|
+
type: 'string',
|
|
48707
|
+
},
|
|
48708
|
+
},
|
|
48709
|
+
required: ['workspace_slug'],
|
|
48710
|
+
type: 'object',
|
|
48711
|
+
},
|
|
48712
|
+
},
|
|
48713
|
+
},
|
|
48714
|
+
},
|
|
48715
|
+
responses: {
|
|
48716
|
+
200: {
|
|
48717
|
+
content: {
|
|
48718
|
+
'application/json': {
|
|
48719
|
+
schema: {
|
|
48720
|
+
properties: {
|
|
48721
|
+
connector_authorize: {
|
|
48722
|
+
properties: {
|
|
48723
|
+
authorize_url: { format: 'uri', type: 'string' },
|
|
48724
|
+
connector_type: { type: 'string' },
|
|
48725
|
+
},
|
|
48726
|
+
required: ['authorize_url', 'connector_type'],
|
|
48727
|
+
type: 'object',
|
|
48728
|
+
},
|
|
48729
|
+
ok: { type: 'boolean' },
|
|
48730
|
+
},
|
|
48731
|
+
required: ['connector_authorize', 'ok'],
|
|
48732
|
+
type: 'object',
|
|
48733
|
+
},
|
|
48734
|
+
},
|
|
48735
|
+
},
|
|
48736
|
+
description: 'OK',
|
|
48737
|
+
},
|
|
48738
|
+
400: { description: 'Bad Request' },
|
|
48739
|
+
401: { description: 'Unauthorized' },
|
|
48740
|
+
},
|
|
48741
|
+
summary: '/seam/customer/v1/connectors/authorize',
|
|
48742
|
+
tags: [],
|
|
48743
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'connectors'],
|
|
48744
|
+
'x-fern-sdk-method-name': 'authorize',
|
|
48745
|
+
'x-fern-sdk-return-value': 'connector_authorize',
|
|
48746
|
+
'x-response-key': 'connector_authorize',
|
|
48747
|
+
'x-title': 'Get OAuth Authorization URL for Global Connector',
|
|
48748
|
+
'x-undocumented': 'Internal endpoint for OAuth authorization.',
|
|
48749
|
+
},
|
|
48750
|
+
},
|
|
48623
48751
|
'/seam/customer/v1/connectors/connector_types': {
|
|
48624
48752
|
get: {
|
|
48625
48753
|
description: 'Lists all available connector types and their editable fields for UI input.',
|
|
@@ -48796,7 +48924,7 @@ export default {
|
|
|
48796
48924
|
},
|
|
48797
48925
|
connector_type: {
|
|
48798
48926
|
description: 'Type of connector to create',
|
|
48799
|
-
enum: ['mock', 'mews', 'rms'],
|
|
48927
|
+
enum: ['mock', 'mews', 'rms', 'cloudbeds'],
|
|
48800
48928
|
type: 'string',
|
|
48801
48929
|
},
|
|
48802
48930
|
customer_key: {
|
|
@@ -49159,6 +49287,7 @@ export default {
|
|
|
49159
49287
|
items: { type: 'string' },
|
|
49160
49288
|
type: 'array',
|
|
49161
49289
|
},
|
|
49290
|
+
is_demo: { default: true, type: 'boolean' },
|
|
49162
49291
|
},
|
|
49163
49292
|
type: 'object',
|
|
49164
49293
|
},
|
|
@@ -49186,6 +49315,25 @@ export default {
|
|
|
49186
49315
|
required: ['client_id', 'client_password'],
|
|
49187
49316
|
type: 'object',
|
|
49188
49317
|
},
|
|
49318
|
+
{
|
|
49319
|
+
properties: {
|
|
49320
|
+
access_token: {
|
|
49321
|
+
description: 'OAuth2 access token for authentication',
|
|
49322
|
+
minLength: 1,
|
|
49323
|
+
type: 'string',
|
|
49324
|
+
},
|
|
49325
|
+
property_id: {
|
|
49326
|
+
description: 'Optional property ID for single-property connectors',
|
|
49327
|
+
type: 'string',
|
|
49328
|
+
},
|
|
49329
|
+
refresh_token: {
|
|
49330
|
+
description: 'OAuth2 refresh token for token refresh',
|
|
49331
|
+
minLength: 1,
|
|
49332
|
+
type: 'string',
|
|
49333
|
+
},
|
|
49334
|
+
},
|
|
49335
|
+
type: 'object',
|
|
49336
|
+
},
|
|
49189
49337
|
],
|
|
49190
49338
|
},
|
|
49191
49339
|
connector_id: {
|
|
@@ -49898,6 +50046,11 @@ export default {
|
|
|
49898
50046
|
description: 'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
49899
50047
|
type: 'boolean',
|
|
49900
50048
|
},
|
|
50049
|
+
allow_climate_automation_rule_customization: {
|
|
50050
|
+
default: false,
|
|
50051
|
+
description: 'Indicates whether the customer can customize the climate automation rules for their properties.',
|
|
50052
|
+
type: 'boolean',
|
|
50053
|
+
},
|
|
49901
50054
|
allow_instant_key_customization: {
|
|
49902
50055
|
default: false,
|
|
49903
50056
|
description: 'Indicates whether the customer can customize the Instant Key profile for their properties.',
|
|
@@ -50194,6 +50347,11 @@ export default {
|
|
|
50194
50347
|
description: 'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
50195
50348
|
type: 'boolean',
|
|
50196
50349
|
},
|
|
50350
|
+
allow_climate_automation_rule_customization: {
|
|
50351
|
+
default: false,
|
|
50352
|
+
description: 'Indicates whether the customer can customize the climate automation rules for their properties.',
|
|
50353
|
+
type: 'boolean',
|
|
50354
|
+
},
|
|
50197
50355
|
allow_instant_key_customization: {
|
|
50198
50356
|
default: false,
|
|
50199
50357
|
description: 'Indicates whether the customer can customize the Instant Key profile for their properties.',
|