@seamapi/types 1.914.0 → 1.915.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 +12 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +24 -0
- package/dist/index.cjs +12 -6
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/events/access-codes.js +24 -12
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/openapi.js +6 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +24 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/access-codes.ts +32 -20
- package/src/lib/seam/connect/openapi.ts +6 -0
- package/src/lib/seam/connect/route-types.ts +24 -0
package/dist/connect.d.cts
CHANGED
|
@@ -74435,10 +74435,12 @@ type Routes = {
|
|
|
74435
74435
|
[x: string]: string | boolean;
|
|
74436
74436
|
} | undefined;
|
|
74437
74437
|
event_type: 'access_code.name_changed';
|
|
74438
|
+
/** Previous access code name configuration. */
|
|
74438
74439
|
from: {
|
|
74439
74440
|
/** Previous name of the access code. */
|
|
74440
74441
|
name: string | null;
|
|
74441
74442
|
};
|
|
74443
|
+
/** New access code name configuration. */
|
|
74442
74444
|
to: {
|
|
74443
74445
|
/** New name of the access code. */
|
|
74444
74446
|
name: string | null;
|
|
@@ -74469,10 +74471,12 @@ type Routes = {
|
|
|
74469
74471
|
[x: string]: string | boolean;
|
|
74470
74472
|
} | undefined;
|
|
74471
74473
|
event_type: 'access_code.code_changed';
|
|
74474
|
+
/** Previous pin code configuration. */
|
|
74472
74475
|
from: {
|
|
74473
74476
|
/** Previous pin code. */
|
|
74474
74477
|
code: string | null;
|
|
74475
74478
|
};
|
|
74479
|
+
/** New pin code configuration. */
|
|
74476
74480
|
to: {
|
|
74477
74481
|
/** New pin code. */
|
|
74478
74482
|
code: string | null;
|
|
@@ -74503,12 +74507,14 @@ type Routes = {
|
|
|
74503
74507
|
[x: string]: string | boolean;
|
|
74504
74508
|
} | undefined;
|
|
74505
74509
|
event_type: 'access_code.time_frame_changed';
|
|
74510
|
+
/** Previous time frame configuration. */
|
|
74506
74511
|
from: {
|
|
74507
74512
|
/** Previous start time. */
|
|
74508
74513
|
starts_at: string | null;
|
|
74509
74514
|
/** Previous end time. */
|
|
74510
74515
|
ends_at: string | null;
|
|
74511
74516
|
};
|
|
74517
|
+
/** New time frame configuration. */
|
|
74512
74518
|
to: {
|
|
74513
74519
|
/** New start time. */
|
|
74514
74520
|
starts_at: string | null;
|
|
@@ -77400,10 +77406,12 @@ type Routes = {
|
|
|
77400
77406
|
[x: string]: string | boolean;
|
|
77401
77407
|
} | undefined;
|
|
77402
77408
|
event_type: 'access_code.name_changed';
|
|
77409
|
+
/** Previous access code name configuration. */
|
|
77403
77410
|
from: {
|
|
77404
77411
|
/** Previous name of the access code. */
|
|
77405
77412
|
name: string | null;
|
|
77406
77413
|
};
|
|
77414
|
+
/** New access code name configuration. */
|
|
77407
77415
|
to: {
|
|
77408
77416
|
/** New name of the access code. */
|
|
77409
77417
|
name: string | null;
|
|
@@ -77434,10 +77442,12 @@ type Routes = {
|
|
|
77434
77442
|
[x: string]: string | boolean;
|
|
77435
77443
|
} | undefined;
|
|
77436
77444
|
event_type: 'access_code.code_changed';
|
|
77445
|
+
/** Previous pin code configuration. */
|
|
77437
77446
|
from: {
|
|
77438
77447
|
/** Previous pin code. */
|
|
77439
77448
|
code: string | null;
|
|
77440
77449
|
};
|
|
77450
|
+
/** New pin code configuration. */
|
|
77441
77451
|
to: {
|
|
77442
77452
|
/** New pin code. */
|
|
77443
77453
|
code: string | null;
|
|
@@ -77468,12 +77478,14 @@ type Routes = {
|
|
|
77468
77478
|
[x: string]: string | boolean;
|
|
77469
77479
|
} | undefined;
|
|
77470
77480
|
event_type: 'access_code.time_frame_changed';
|
|
77481
|
+
/** Previous time frame configuration. */
|
|
77471
77482
|
from: {
|
|
77472
77483
|
/** Previous start time. */
|
|
77473
77484
|
starts_at: string | null;
|
|
77474
77485
|
/** Previous end time. */
|
|
77475
77486
|
ends_at: string | null;
|
|
77476
77487
|
};
|
|
77488
|
+
/** New time frame configuration. */
|
|
77477
77489
|
to: {
|
|
77478
77490
|
/** New start time. */
|
|
77479
77491
|
starts_at: string | null;
|
|
@@ -105997,10 +106009,12 @@ type Routes = {
|
|
|
105997
106009
|
[x: string]: string | boolean;
|
|
105998
106010
|
} | undefined;
|
|
105999
106011
|
event_type: 'access_code.name_changed';
|
|
106012
|
+
/** Previous access code name configuration. */
|
|
106000
106013
|
from: {
|
|
106001
106014
|
/** Previous name of the access code. */
|
|
106002
106015
|
name: string | null;
|
|
106003
106016
|
};
|
|
106017
|
+
/** New access code name configuration. */
|
|
106004
106018
|
to: {
|
|
106005
106019
|
/** New name of the access code. */
|
|
106006
106020
|
name: string | null;
|
|
@@ -106031,10 +106045,12 @@ type Routes = {
|
|
|
106031
106045
|
[x: string]: string | boolean;
|
|
106032
106046
|
} | undefined;
|
|
106033
106047
|
event_type: 'access_code.code_changed';
|
|
106048
|
+
/** Previous pin code configuration. */
|
|
106034
106049
|
from: {
|
|
106035
106050
|
/** Previous pin code. */
|
|
106036
106051
|
code: string | null;
|
|
106037
106052
|
};
|
|
106053
|
+
/** New pin code configuration. */
|
|
106038
106054
|
to: {
|
|
106039
106055
|
/** New pin code. */
|
|
106040
106056
|
code: string | null;
|
|
@@ -106065,12 +106081,14 @@ type Routes = {
|
|
|
106065
106081
|
[x: string]: string | boolean;
|
|
106066
106082
|
} | undefined;
|
|
106067
106083
|
event_type: 'access_code.time_frame_changed';
|
|
106084
|
+
/** Previous time frame configuration. */
|
|
106068
106085
|
from: {
|
|
106069
106086
|
/** Previous start time. */
|
|
106070
106087
|
starts_at: string | null;
|
|
106071
106088
|
/** Previous end time. */
|
|
106072
106089
|
ends_at: string | null;
|
|
106073
106090
|
};
|
|
106091
|
+
/** New time frame configuration. */
|
|
106074
106092
|
to: {
|
|
106075
106093
|
/** New start time. */
|
|
106076
106094
|
starts_at: string | null;
|
|
@@ -142826,10 +142844,12 @@ type Routes = {
|
|
|
142826
142844
|
[x: string]: string | boolean;
|
|
142827
142845
|
} | undefined;
|
|
142828
142846
|
event_type: 'access_code.name_changed';
|
|
142847
|
+
/** Previous access code name configuration. */
|
|
142829
142848
|
from: {
|
|
142830
142849
|
/** Previous name of the access code. */
|
|
142831
142850
|
name: string | null;
|
|
142832
142851
|
};
|
|
142852
|
+
/** New access code name configuration. */
|
|
142833
142853
|
to: {
|
|
142834
142854
|
/** New name of the access code. */
|
|
142835
142855
|
name: string | null;
|
|
@@ -142860,10 +142880,12 @@ type Routes = {
|
|
|
142860
142880
|
[x: string]: string | boolean;
|
|
142861
142881
|
} | undefined;
|
|
142862
142882
|
event_type: 'access_code.code_changed';
|
|
142883
|
+
/** Previous pin code configuration. */
|
|
142863
142884
|
from: {
|
|
142864
142885
|
/** Previous pin code. */
|
|
142865
142886
|
code: string | null;
|
|
142866
142887
|
};
|
|
142888
|
+
/** New pin code configuration. */
|
|
142867
142889
|
to: {
|
|
142868
142890
|
/** New pin code. */
|
|
142869
142891
|
code: string | null;
|
|
@@ -142894,12 +142916,14 @@ type Routes = {
|
|
|
142894
142916
|
[x: string]: string | boolean;
|
|
142895
142917
|
} | undefined;
|
|
142896
142918
|
event_type: 'access_code.time_frame_changed';
|
|
142919
|
+
/** Previous time frame configuration. */
|
|
142897
142920
|
from: {
|
|
142898
142921
|
/** Previous start time. */
|
|
142899
142922
|
starts_at: string | null;
|
|
142900
142923
|
/** Previous end time. */
|
|
142901
142924
|
ends_at: string | null;
|
|
142902
142925
|
};
|
|
142926
|
+
/** New time frame configuration. */
|
|
142903
142927
|
to: {
|
|
142904
142928
|
/** New start time. */
|
|
142905
142929
|
starts_at: string | null;
|
package/dist/index.cjs
CHANGED
|
@@ -5398,10 +5398,10 @@ var access_code_name_changed_event = access_code_event.extend({
|
|
|
5398
5398
|
event_type: zod.z.literal("access_code.name_changed"),
|
|
5399
5399
|
from: zod.z.object({
|
|
5400
5400
|
name: zod.z.string().nullable().describe("Previous name of the access code.")
|
|
5401
|
-
}),
|
|
5401
|
+
}).describe("Previous access code name configuration."),
|
|
5402
5402
|
to: zod.z.object({
|
|
5403
5403
|
name: zod.z.string().nullable().describe("New name of the access code.")
|
|
5404
|
-
}),
|
|
5404
|
+
}).describe("New access code name configuration."),
|
|
5405
5405
|
description: zod.z.string().describe("Human-readable description of the change and its source.")
|
|
5406
5406
|
}).describe(`
|
|
5407
5407
|
---
|
|
@@ -5413,10 +5413,10 @@ var access_code_code_changed_event = access_code_event.extend({
|
|
|
5413
5413
|
event_type: zod.z.literal("access_code.code_changed"),
|
|
5414
5414
|
from: zod.z.object({
|
|
5415
5415
|
code: zod.z.string().nullable().describe("Previous pin code.")
|
|
5416
|
-
}),
|
|
5416
|
+
}).describe("Previous pin code configuration."),
|
|
5417
5417
|
to: zod.z.object({
|
|
5418
5418
|
code: zod.z.string().nullable().describe("New pin code.")
|
|
5419
|
-
}),
|
|
5419
|
+
}).describe("New pin code configuration."),
|
|
5420
5420
|
description: zod.z.string().describe("Human-readable description of the change and its source.")
|
|
5421
5421
|
}).describe(`
|
|
5422
5422
|
---
|
|
@@ -5429,11 +5429,11 @@ var access_code_time_frame_changed_event = access_code_event.extend({
|
|
|
5429
5429
|
from: zod.z.object({
|
|
5430
5430
|
starts_at: zod.z.string().nullable().describe("Previous start time."),
|
|
5431
5431
|
ends_at: zod.z.string().nullable().describe("Previous end time.")
|
|
5432
|
-
}),
|
|
5432
|
+
}).describe("Previous time frame configuration."),
|
|
5433
5433
|
to: zod.z.object({
|
|
5434
5434
|
starts_at: zod.z.string().nullable().describe("New start time."),
|
|
5435
5435
|
ends_at: zod.z.string().nullable().describe("New end time.")
|
|
5436
|
-
}),
|
|
5436
|
+
}).describe("New time frame configuration."),
|
|
5437
5437
|
description: zod.z.string().describe("Human-readable description of the change and its source.")
|
|
5438
5438
|
}).describe(`
|
|
5439
5439
|
---
|
|
@@ -22692,6 +22692,7 @@ var openapi = {
|
|
|
22692
22692
|
type: "string"
|
|
22693
22693
|
},
|
|
22694
22694
|
from: {
|
|
22695
|
+
description: "Previous access code name configuration.",
|
|
22695
22696
|
properties: {
|
|
22696
22697
|
name: {
|
|
22697
22698
|
description: "Previous name of the access code.",
|
|
@@ -22708,6 +22709,7 @@ var openapi = {
|
|
|
22708
22709
|
type: "string"
|
|
22709
22710
|
},
|
|
22710
22711
|
to: {
|
|
22712
|
+
description: "New access code name configuration.",
|
|
22711
22713
|
properties: {
|
|
22712
22714
|
name: {
|
|
22713
22715
|
description: "New name of the access code.",
|
|
@@ -22791,6 +22793,7 @@ var openapi = {
|
|
|
22791
22793
|
type: "string"
|
|
22792
22794
|
},
|
|
22793
22795
|
from: {
|
|
22796
|
+
description: "Previous pin code configuration.",
|
|
22794
22797
|
properties: {
|
|
22795
22798
|
code: {
|
|
22796
22799
|
description: "Previous pin code.",
|
|
@@ -22807,6 +22810,7 @@ var openapi = {
|
|
|
22807
22810
|
type: "string"
|
|
22808
22811
|
},
|
|
22809
22812
|
to: {
|
|
22813
|
+
description: "New pin code configuration.",
|
|
22810
22814
|
properties: {
|
|
22811
22815
|
code: {
|
|
22812
22816
|
description: "New pin code.",
|
|
@@ -22890,6 +22894,7 @@ var openapi = {
|
|
|
22890
22894
|
type: "string"
|
|
22891
22895
|
},
|
|
22892
22896
|
from: {
|
|
22897
|
+
description: "Previous time frame configuration.",
|
|
22893
22898
|
properties: {
|
|
22894
22899
|
ends_at: {
|
|
22895
22900
|
description: "Previous end time.",
|
|
@@ -22911,6 +22916,7 @@ var openapi = {
|
|
|
22911
22916
|
type: "string"
|
|
22912
22917
|
},
|
|
22913
22918
|
to: {
|
|
22919
|
+
description: "New time frame configuration.",
|
|
22914
22920
|
properties: {
|
|
22915
22921
|
ends_at: {
|
|
22916
22922
|
description: "New end time.",
|