@seamapi/types 1.837.0 → 1.839.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 +144 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +434 -0
- package/dist/index.cjs +144 -3
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-credentials/pending-mutations.d.ts +101 -0
- package/lib/seam/connect/models/acs/acs-credentials/pending-mutations.js +19 -1
- package/lib/seam/connect/models/acs/acs-credentials/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +118 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +101 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +30 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +158 -0
- package/lib/seam/connect/openapi.js +126 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +158 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credentials/pending-mutations.ts +24 -1
- package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +35 -0
- package/src/lib/seam/connect/openapi.ts +134 -0
- package/src/lib/seam/connect/route-types.ts +167 -0
|
@@ -6257,6 +6257,45 @@ export declare const batch: z.ZodObject<{
|
|
|
6257
6257
|
mutation_code: "deferring_group_membership_update";
|
|
6258
6258
|
variant: "removing" | "adding";
|
|
6259
6259
|
acs_access_group_id: string;
|
|
6260
|
+
}>, z.ZodObject<{
|
|
6261
|
+
created_at: z.ZodString;
|
|
6262
|
+
message: z.ZodString;
|
|
6263
|
+
} & {
|
|
6264
|
+
mutation_code: z.ZodLiteral<"updating_credential_assignment">;
|
|
6265
|
+
from: z.ZodObject<{
|
|
6266
|
+
acs_credential_id: z.ZodNullable<z.ZodString>;
|
|
6267
|
+
}, "strip", z.ZodTypeAny, {
|
|
6268
|
+
acs_credential_id: string | null;
|
|
6269
|
+
}, {
|
|
6270
|
+
acs_credential_id: string | null;
|
|
6271
|
+
}>;
|
|
6272
|
+
to: z.ZodObject<{
|
|
6273
|
+
acs_credential_id: z.ZodNullable<z.ZodString>;
|
|
6274
|
+
}, "strip", z.ZodTypeAny, {
|
|
6275
|
+
acs_credential_id: string | null;
|
|
6276
|
+
}, {
|
|
6277
|
+
acs_credential_id: string | null;
|
|
6278
|
+
}>;
|
|
6279
|
+
}, "strip", z.ZodTypeAny, {
|
|
6280
|
+
message: string;
|
|
6281
|
+
created_at: string;
|
|
6282
|
+
mutation_code: "updating_credential_assignment";
|
|
6283
|
+
from: {
|
|
6284
|
+
acs_credential_id: string | null;
|
|
6285
|
+
};
|
|
6286
|
+
to: {
|
|
6287
|
+
acs_credential_id: string | null;
|
|
6288
|
+
};
|
|
6289
|
+
}, {
|
|
6290
|
+
message: string;
|
|
6291
|
+
created_at: string;
|
|
6292
|
+
mutation_code: "updating_credential_assignment";
|
|
6293
|
+
from: {
|
|
6294
|
+
acs_credential_id: string | null;
|
|
6295
|
+
};
|
|
6296
|
+
to: {
|
|
6297
|
+
acs_credential_id: string | null;
|
|
6298
|
+
};
|
|
6260
6299
|
}>]>, "many">>;
|
|
6261
6300
|
last_successful_sync_at: z.ZodNullable<z.ZodString>;
|
|
6262
6301
|
connected_account_id: z.ZodString;
|
|
@@ -6394,6 +6433,16 @@ export declare const batch: z.ZodObject<{
|
|
|
6394
6433
|
mutation_code: "deferring_group_membership_update";
|
|
6395
6434
|
variant: "removing" | "adding";
|
|
6396
6435
|
acs_access_group_id: string;
|
|
6436
|
+
} | {
|
|
6437
|
+
message: string;
|
|
6438
|
+
created_at: string;
|
|
6439
|
+
mutation_code: "updating_credential_assignment";
|
|
6440
|
+
from: {
|
|
6441
|
+
acs_credential_id: string | null;
|
|
6442
|
+
};
|
|
6443
|
+
to: {
|
|
6444
|
+
acs_credential_id: string | null;
|
|
6445
|
+
};
|
|
6397
6446
|
})[] | undefined;
|
|
6398
6447
|
user_identity_id?: string | undefined;
|
|
6399
6448
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | "avigilon_alta_user" | undefined;
|
|
@@ -6531,6 +6580,16 @@ export declare const batch: z.ZodObject<{
|
|
|
6531
6580
|
mutation_code: "deferring_group_membership_update";
|
|
6532
6581
|
variant: "removing" | "adding";
|
|
6533
6582
|
acs_access_group_id: string;
|
|
6583
|
+
} | {
|
|
6584
|
+
message: string;
|
|
6585
|
+
created_at: string;
|
|
6586
|
+
mutation_code: "updating_credential_assignment";
|
|
6587
|
+
from: {
|
|
6588
|
+
acs_credential_id: string | null;
|
|
6589
|
+
};
|
|
6590
|
+
to: {
|
|
6591
|
+
acs_credential_id: string | null;
|
|
6592
|
+
};
|
|
6534
6593
|
})[] | undefined;
|
|
6535
6594
|
user_identity_id?: string | undefined;
|
|
6536
6595
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | "avigilon_alta_user" | undefined;
|
|
@@ -12139,6 +12198,45 @@ export declare const batch: z.ZodObject<{
|
|
|
12139
12198
|
mutation_code: "deferring_group_membership_update";
|
|
12140
12199
|
variant: "removing" | "adding";
|
|
12141
12200
|
acs_access_group_id: string;
|
|
12201
|
+
}>, z.ZodObject<{
|
|
12202
|
+
created_at: z.ZodString;
|
|
12203
|
+
message: z.ZodString;
|
|
12204
|
+
} & {
|
|
12205
|
+
mutation_code: z.ZodLiteral<"updating_credential_assignment">;
|
|
12206
|
+
from: z.ZodObject<{
|
|
12207
|
+
acs_credential_id: z.ZodNullable<z.ZodString>;
|
|
12208
|
+
}, "strip", z.ZodTypeAny, {
|
|
12209
|
+
acs_credential_id: string | null;
|
|
12210
|
+
}, {
|
|
12211
|
+
acs_credential_id: string | null;
|
|
12212
|
+
}>;
|
|
12213
|
+
to: z.ZodObject<{
|
|
12214
|
+
acs_credential_id: z.ZodNullable<z.ZodString>;
|
|
12215
|
+
}, "strip", z.ZodTypeAny, {
|
|
12216
|
+
acs_credential_id: string | null;
|
|
12217
|
+
}, {
|
|
12218
|
+
acs_credential_id: string | null;
|
|
12219
|
+
}>;
|
|
12220
|
+
}, "strip", z.ZodTypeAny, {
|
|
12221
|
+
message: string;
|
|
12222
|
+
created_at: string;
|
|
12223
|
+
mutation_code: "updating_credential_assignment";
|
|
12224
|
+
from: {
|
|
12225
|
+
acs_credential_id: string | null;
|
|
12226
|
+
};
|
|
12227
|
+
to: {
|
|
12228
|
+
acs_credential_id: string | null;
|
|
12229
|
+
};
|
|
12230
|
+
}, {
|
|
12231
|
+
message: string;
|
|
12232
|
+
created_at: string;
|
|
12233
|
+
mutation_code: "updating_credential_assignment";
|
|
12234
|
+
from: {
|
|
12235
|
+
acs_credential_id: string | null;
|
|
12236
|
+
};
|
|
12237
|
+
to: {
|
|
12238
|
+
acs_credential_id: string | null;
|
|
12239
|
+
};
|
|
12142
12240
|
}>]>, "many">>;
|
|
12143
12241
|
last_successful_sync_at: z.ZodNullable<z.ZodString>;
|
|
12144
12242
|
connected_account_id: z.ZodString;
|
|
@@ -12276,6 +12374,16 @@ export declare const batch: z.ZodObject<{
|
|
|
12276
12374
|
mutation_code: "deferring_group_membership_update";
|
|
12277
12375
|
variant: "removing" | "adding";
|
|
12278
12376
|
acs_access_group_id: string;
|
|
12377
|
+
} | {
|
|
12378
|
+
message: string;
|
|
12379
|
+
created_at: string;
|
|
12380
|
+
mutation_code: "updating_credential_assignment";
|
|
12381
|
+
from: {
|
|
12382
|
+
acs_credential_id: string | null;
|
|
12383
|
+
};
|
|
12384
|
+
to: {
|
|
12385
|
+
acs_credential_id: string | null;
|
|
12386
|
+
};
|
|
12279
12387
|
})[] | undefined;
|
|
12280
12388
|
user_identity_id?: string | undefined;
|
|
12281
12389
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | "avigilon_alta_user" | undefined;
|
|
@@ -12413,6 +12521,16 @@ export declare const batch: z.ZodObject<{
|
|
|
12413
12521
|
mutation_code: "deferring_group_membership_update";
|
|
12414
12522
|
variant: "removing" | "adding";
|
|
12415
12523
|
acs_access_group_id: string;
|
|
12524
|
+
} | {
|
|
12525
|
+
message: string;
|
|
12526
|
+
created_at: string;
|
|
12527
|
+
mutation_code: "updating_credential_assignment";
|
|
12528
|
+
from: {
|
|
12529
|
+
acs_credential_id: string | null;
|
|
12530
|
+
};
|
|
12531
|
+
to: {
|
|
12532
|
+
acs_credential_id: string | null;
|
|
12533
|
+
};
|
|
12416
12534
|
})[] | undefined;
|
|
12417
12535
|
user_identity_id?: string | undefined;
|
|
12418
12536
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | "avigilon_alta_user" | undefined;
|
|
@@ -27167,6 +27285,16 @@ export declare const batch: z.ZodObject<{
|
|
|
27167
27285
|
mutation_code: "deferring_group_membership_update";
|
|
27168
27286
|
variant: "removing" | "adding";
|
|
27169
27287
|
acs_access_group_id: string;
|
|
27288
|
+
} | {
|
|
27289
|
+
message: string;
|
|
27290
|
+
created_at: string;
|
|
27291
|
+
mutation_code: "updating_credential_assignment";
|
|
27292
|
+
from: {
|
|
27293
|
+
acs_credential_id: string | null;
|
|
27294
|
+
};
|
|
27295
|
+
to: {
|
|
27296
|
+
acs_credential_id: string | null;
|
|
27297
|
+
};
|
|
27170
27298
|
})[] | undefined;
|
|
27171
27299
|
user_identity_id?: string | undefined;
|
|
27172
27300
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | "avigilon_alta_user" | undefined;
|
|
@@ -28340,6 +28468,16 @@ export declare const batch: z.ZodObject<{
|
|
|
28340
28468
|
mutation_code: "deferring_group_membership_update";
|
|
28341
28469
|
variant: "removing" | "adding";
|
|
28342
28470
|
acs_access_group_id: string;
|
|
28471
|
+
} | {
|
|
28472
|
+
message: string;
|
|
28473
|
+
created_at: string;
|
|
28474
|
+
mutation_code: "updating_credential_assignment";
|
|
28475
|
+
from: {
|
|
28476
|
+
acs_credential_id: string | null;
|
|
28477
|
+
};
|
|
28478
|
+
to: {
|
|
28479
|
+
acs_credential_id: string | null;
|
|
28480
|
+
};
|
|
28343
28481
|
})[] | undefined;
|
|
28344
28482
|
user_identity_id?: string | undefined;
|
|
28345
28483
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | "avigilon_alta_user" | undefined;
|
|
@@ -32147,6 +32285,16 @@ export declare const batch: z.ZodObject<{
|
|
|
32147
32285
|
mutation_code: "deferring_group_membership_update";
|
|
32148
32286
|
variant: "removing" | "adding";
|
|
32149
32287
|
acs_access_group_id: string;
|
|
32288
|
+
} | {
|
|
32289
|
+
message: string;
|
|
32290
|
+
created_at: string;
|
|
32291
|
+
mutation_code: "updating_credential_assignment";
|
|
32292
|
+
from: {
|
|
32293
|
+
acs_credential_id: string | null;
|
|
32294
|
+
};
|
|
32295
|
+
to: {
|
|
32296
|
+
acs_credential_id: string | null;
|
|
32297
|
+
};
|
|
32150
32298
|
})[] | undefined;
|
|
32151
32299
|
user_identity_id?: string | undefined;
|
|
32152
32300
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | "avigilon_alta_user" | undefined;
|
|
@@ -33320,6 +33468,16 @@ export declare const batch: z.ZodObject<{
|
|
|
33320
33468
|
mutation_code: "deferring_group_membership_update";
|
|
33321
33469
|
variant: "removing" | "adding";
|
|
33322
33470
|
acs_access_group_id: string;
|
|
33471
|
+
} | {
|
|
33472
|
+
message: string;
|
|
33473
|
+
created_at: string;
|
|
33474
|
+
mutation_code: "updating_credential_assignment";
|
|
33475
|
+
from: {
|
|
33476
|
+
acs_credential_id: string | null;
|
|
33477
|
+
};
|
|
33478
|
+
to: {
|
|
33479
|
+
acs_credential_id: string | null;
|
|
33480
|
+
};
|
|
33323
33481
|
})[] | undefined;
|
|
33324
33482
|
user_identity_id?: string | undefined;
|
|
33325
33483
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | "avigilon_alta_user" | undefined;
|
|
@@ -5036,6 +5036,59 @@ const openapi = {
|
|
|
5036
5036
|
],
|
|
5037
5037
|
type: 'object',
|
|
5038
5038
|
},
|
|
5039
|
+
{
|
|
5040
|
+
description: 'Seam is in the process of assigning or unassigning a credential to the user on the integrated access system.',
|
|
5041
|
+
properties: {
|
|
5042
|
+
created_at: {
|
|
5043
|
+
description: 'Date and time at which the mutation was created.',
|
|
5044
|
+
format: 'date-time',
|
|
5045
|
+
type: 'string',
|
|
5046
|
+
},
|
|
5047
|
+
from: {
|
|
5048
|
+
description: 'Previous credential assignment.',
|
|
5049
|
+
properties: {
|
|
5050
|
+
acs_credential_id: {
|
|
5051
|
+
description: 'Previous credential ID.',
|
|
5052
|
+
format: 'uuid',
|
|
5053
|
+
nullable: true,
|
|
5054
|
+
type: 'string',
|
|
5055
|
+
},
|
|
5056
|
+
},
|
|
5057
|
+
required: ['acs_credential_id'],
|
|
5058
|
+
type: 'object',
|
|
5059
|
+
},
|
|
5060
|
+
message: {
|
|
5061
|
+
description: 'Detailed description of the mutation.',
|
|
5062
|
+
type: 'string',
|
|
5063
|
+
},
|
|
5064
|
+
mutation_code: {
|
|
5065
|
+
description: 'Mutation code to indicate that Seam is in the process of assigning or unassigning a credential to the user on the integrated access system.',
|
|
5066
|
+
enum: ['updating_credential_assignment'],
|
|
5067
|
+
type: 'string',
|
|
5068
|
+
},
|
|
5069
|
+
to: {
|
|
5070
|
+
description: 'New credential assignment.',
|
|
5071
|
+
properties: {
|
|
5072
|
+
acs_credential_id: {
|
|
5073
|
+
description: 'New credential ID.',
|
|
5074
|
+
format: 'uuid',
|
|
5075
|
+
nullable: true,
|
|
5076
|
+
type: 'string',
|
|
5077
|
+
},
|
|
5078
|
+
},
|
|
5079
|
+
required: ['acs_credential_id'],
|
|
5080
|
+
type: 'object',
|
|
5081
|
+
},
|
|
5082
|
+
},
|
|
5083
|
+
required: [
|
|
5084
|
+
'created_at',
|
|
5085
|
+
'message',
|
|
5086
|
+
'mutation_code',
|
|
5087
|
+
'from',
|
|
5088
|
+
'to',
|
|
5089
|
+
],
|
|
5090
|
+
type: 'object',
|
|
5091
|
+
},
|
|
5039
5092
|
],
|
|
5040
5093
|
},
|
|
5041
5094
|
type: 'array',
|
|
@@ -26691,6 +26744,59 @@ const openapi = {
|
|
|
26691
26744
|
],
|
|
26692
26745
|
type: 'object',
|
|
26693
26746
|
},
|
|
26747
|
+
{
|
|
26748
|
+
description: 'Seam is in the process of assigning or unassigning a credential to the user on the integrated access system.',
|
|
26749
|
+
properties: {
|
|
26750
|
+
created_at: {
|
|
26751
|
+
description: 'Date and time at which the mutation was created.',
|
|
26752
|
+
format: 'date-time',
|
|
26753
|
+
type: 'string',
|
|
26754
|
+
},
|
|
26755
|
+
from: {
|
|
26756
|
+
description: 'Previous credential assignment.',
|
|
26757
|
+
properties: {
|
|
26758
|
+
acs_credential_id: {
|
|
26759
|
+
description: 'Previous credential ID.',
|
|
26760
|
+
format: 'uuid',
|
|
26761
|
+
nullable: true,
|
|
26762
|
+
type: 'string',
|
|
26763
|
+
},
|
|
26764
|
+
},
|
|
26765
|
+
required: ['acs_credential_id'],
|
|
26766
|
+
type: 'object',
|
|
26767
|
+
},
|
|
26768
|
+
message: {
|
|
26769
|
+
description: 'Detailed description of the mutation.',
|
|
26770
|
+
type: 'string',
|
|
26771
|
+
},
|
|
26772
|
+
mutation_code: {
|
|
26773
|
+
description: 'Mutation code to indicate that Seam is in the process of assigning or unassigning a credential to the user on the integrated access system.',
|
|
26774
|
+
enum: ['updating_credential_assignment'],
|
|
26775
|
+
type: 'string',
|
|
26776
|
+
},
|
|
26777
|
+
to: {
|
|
26778
|
+
description: 'New credential assignment.',
|
|
26779
|
+
properties: {
|
|
26780
|
+
acs_credential_id: {
|
|
26781
|
+
description: 'New credential ID.',
|
|
26782
|
+
format: 'uuid',
|
|
26783
|
+
nullable: true,
|
|
26784
|
+
type: 'string',
|
|
26785
|
+
},
|
|
26786
|
+
},
|
|
26787
|
+
required: ['acs_credential_id'],
|
|
26788
|
+
type: 'object',
|
|
26789
|
+
},
|
|
26790
|
+
},
|
|
26791
|
+
required: [
|
|
26792
|
+
'created_at',
|
|
26793
|
+
'message',
|
|
26794
|
+
'mutation_code',
|
|
26795
|
+
'from',
|
|
26796
|
+
'to',
|
|
26797
|
+
],
|
|
26798
|
+
type: 'object',
|
|
26799
|
+
},
|
|
26694
26800
|
],
|
|
26695
26801
|
},
|
|
26696
26802
|
type: 'array',
|
|
@@ -66273,6 +66379,11 @@ const openapi = {
|
|
|
66273
66379
|
items: { format: 'uuid', type: 'string' },
|
|
66274
66380
|
type: 'array',
|
|
66275
66381
|
},
|
|
66382
|
+
connected_account_ids: {
|
|
66383
|
+
description: 'IDs of connected accounts (third-party accounts) to associate with the new space. Persisted on seam.location_third_party_account so the UI can show which provider account a space came from.',
|
|
66384
|
+
items: { format: 'uuid', type: 'string' },
|
|
66385
|
+
type: 'array',
|
|
66386
|
+
},
|
|
66276
66387
|
device_ids: {
|
|
66277
66388
|
description: 'IDs of the devices that you want to add to the new space.',
|
|
66278
66389
|
items: { format: 'uuid', type: 'string' },
|
|
@@ -67823,6 +67934,10 @@ const openapi = {
|
|
|
67823
67934
|
},
|
|
67824
67935
|
type: 'array',
|
|
67825
67936
|
},
|
|
67937
|
+
connected_account_ids: {
|
|
67938
|
+
items: { format: 'uuid', type: 'string' },
|
|
67939
|
+
type: 'array',
|
|
67940
|
+
},
|
|
67826
67941
|
devices: {
|
|
67827
67942
|
items: {
|
|
67828
67943
|
properties: {
|
|
@@ -67856,6 +67971,7 @@ const openapi = {
|
|
|
67856
67971
|
'partner_resource_key',
|
|
67857
67972
|
'devices',
|
|
67858
67973
|
'acs_entrances',
|
|
67974
|
+
'connected_account_ids',
|
|
67859
67975
|
],
|
|
67860
67976
|
type: 'object',
|
|
67861
67977
|
},
|
|
@@ -67951,6 +68067,10 @@ const openapi = {
|
|
|
67951
68067
|
},
|
|
67952
68068
|
type: 'array',
|
|
67953
68069
|
},
|
|
68070
|
+
connected_account_ids: {
|
|
68071
|
+
items: { format: 'uuid', type: 'string' },
|
|
68072
|
+
type: 'array',
|
|
68073
|
+
},
|
|
67954
68074
|
devices: {
|
|
67955
68075
|
items: {
|
|
67956
68076
|
properties: {
|
|
@@ -67984,6 +68104,7 @@ const openapi = {
|
|
|
67984
68104
|
'partner_resource_key',
|
|
67985
68105
|
'devices',
|
|
67986
68106
|
'acs_entrances',
|
|
68107
|
+
'connected_account_ids',
|
|
67987
68108
|
],
|
|
67988
68109
|
type: 'object',
|
|
67989
68110
|
},
|
|
@@ -68369,6 +68490,11 @@ const openapi = {
|
|
|
68369
68490
|
items: { format: 'uuid', type: 'string' },
|
|
68370
68491
|
type: 'array',
|
|
68371
68492
|
},
|
|
68493
|
+
connected_account_ids: {
|
|
68494
|
+
description: 'IDs of connected accounts to associate with the new space. Persisted on seam.location_third_party_account so the UI can show which provider account(s) a space came from.',
|
|
68495
|
+
items: { format: 'uuid', type: 'string' },
|
|
68496
|
+
type: 'array',
|
|
68497
|
+
},
|
|
68372
68498
|
customer_data: {
|
|
68373
68499
|
description: 'Reservation/stay-related defaults for the space.',
|
|
68374
68500
|
properties: {
|