@seamapi/types 1.607.0 → 1.609.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 +14 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +24 -0
- package/dist/index.cjs +14 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-credentials/index.d.ts +1 -0
- package/lib/seam/connect/models/acs/acs-credentials/index.js +2 -0
- package/lib/seam/connect/models/acs/acs-credentials/index.js.map +1 -0
- package/lib/seam/connect/models/acs/acs-credentials/pending-mutations.d.ts +83 -0
- package/lib/seam/connect/models/acs/acs-credentials/pending-mutations.js +28 -0
- package/lib/seam/connect/models/acs/acs-credentials/pending-mutations.js.map +1 -0
- package/lib/seam/connect/models/acs/index.d.ts +1 -0
- package/lib/seam/connect/models/acs/index.js +1 -0
- package/lib/seam/connect/models/acs/index.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +22 -0
- package/lib/seam/connect/openapi.js +14 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credentials/index.ts +1 -0
- package/src/lib/seam/connect/models/acs/acs-credentials/pending-mutations.ts +51 -0
- package/src/lib/seam/connect/models/acs/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +16 -0
- package/src/lib/seam/connect/route-types.ts +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './pending-mutations.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/acs-credentials/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const acs_credential_pending_mutations: z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
|
|
3
|
+
created_at: z.ZodString;
|
|
4
|
+
message: z.ZodString;
|
|
5
|
+
} & {
|
|
6
|
+
mutation_code: z.ZodLiteral<"creating">;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
message: string;
|
|
9
|
+
created_at: string;
|
|
10
|
+
mutation_code: "creating";
|
|
11
|
+
}, {
|
|
12
|
+
message: string;
|
|
13
|
+
created_at: string;
|
|
14
|
+
mutation_code: "creating";
|
|
15
|
+
}>, z.ZodObject<{
|
|
16
|
+
created_at: z.ZodString;
|
|
17
|
+
message: z.ZodString;
|
|
18
|
+
} & {
|
|
19
|
+
mutation_code: z.ZodLiteral<"deleting">;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
message: string;
|
|
22
|
+
created_at: string;
|
|
23
|
+
mutation_code: "deleting";
|
|
24
|
+
}, {
|
|
25
|
+
message: string;
|
|
26
|
+
created_at: string;
|
|
27
|
+
mutation_code: "deleting";
|
|
28
|
+
}>]>;
|
|
29
|
+
export type AcsCredentialPendingMutation = z.infer<typeof acs_credential_pending_mutations>;
|
|
30
|
+
declare const _acs_credential_pending_mutations_map: z.ZodObject<{
|
|
31
|
+
creating: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
32
|
+
created_at: z.ZodString;
|
|
33
|
+
message: z.ZodString;
|
|
34
|
+
} & {
|
|
35
|
+
mutation_code: z.ZodLiteral<"creating">;
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
message: string;
|
|
38
|
+
created_at: string;
|
|
39
|
+
mutation_code: "creating";
|
|
40
|
+
}, {
|
|
41
|
+
message: string;
|
|
42
|
+
created_at: string;
|
|
43
|
+
mutation_code: "creating";
|
|
44
|
+
}>>>;
|
|
45
|
+
deleting: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
46
|
+
created_at: z.ZodString;
|
|
47
|
+
message: z.ZodString;
|
|
48
|
+
} & {
|
|
49
|
+
mutation_code: z.ZodLiteral<"deleting">;
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
message: string;
|
|
52
|
+
created_at: string;
|
|
53
|
+
mutation_code: "deleting";
|
|
54
|
+
}, {
|
|
55
|
+
message: string;
|
|
56
|
+
created_at: string;
|
|
57
|
+
mutation_code: "deleting";
|
|
58
|
+
}>>>;
|
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
creating?: {
|
|
61
|
+
message: string;
|
|
62
|
+
created_at: string;
|
|
63
|
+
mutation_code: "creating";
|
|
64
|
+
} | null | undefined;
|
|
65
|
+
deleting?: {
|
|
66
|
+
message: string;
|
|
67
|
+
created_at: string;
|
|
68
|
+
mutation_code: "deleting";
|
|
69
|
+
} | null | undefined;
|
|
70
|
+
}, {
|
|
71
|
+
creating?: {
|
|
72
|
+
message: string;
|
|
73
|
+
created_at: string;
|
|
74
|
+
mutation_code: "creating";
|
|
75
|
+
} | null | undefined;
|
|
76
|
+
deleting?: {
|
|
77
|
+
message: string;
|
|
78
|
+
created_at: string;
|
|
79
|
+
mutation_code: "deleting";
|
|
80
|
+
} | null | undefined;
|
|
81
|
+
}>;
|
|
82
|
+
export type AcsCredentialPendingMutationsMap = z.infer<typeof _acs_credential_pending_mutations_map>;
|
|
83
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
const common_pending_mutation = z.object({
|
|
3
|
+
created_at: z
|
|
4
|
+
.string()
|
|
5
|
+
.datetime()
|
|
6
|
+
.describe('Date and time at which the mutation was created.'),
|
|
7
|
+
message: z.string().describe('Detailed description of the mutation.'),
|
|
8
|
+
});
|
|
9
|
+
const creating = common_pending_mutation
|
|
10
|
+
.extend({
|
|
11
|
+
mutation_code: z
|
|
12
|
+
.literal('creating')
|
|
13
|
+
.describe('Mutation code to indicate that Seam is in the process of pushing a credential creation to the integrated access system.'),
|
|
14
|
+
})
|
|
15
|
+
.describe('Seam is in the process of pushing a credential creation to the integrated access system.');
|
|
16
|
+
const deleting = common_pending_mutation
|
|
17
|
+
.extend({
|
|
18
|
+
mutation_code: z
|
|
19
|
+
.literal('deleting')
|
|
20
|
+
.describe('Mutation code to indicate that Seam is in the process of pushing a credential deletion to the integrated access system.'),
|
|
21
|
+
})
|
|
22
|
+
.describe('Seam is in the process of pushing a credential deletion to the integrated access system.');
|
|
23
|
+
export const acs_credential_pending_mutations = z.discriminatedUnion('mutation_code', [creating, deleting]);
|
|
24
|
+
const _acs_credential_pending_mutations_map = z.object({
|
|
25
|
+
creating: creating.optional().nullable(),
|
|
26
|
+
deleting: deleting.optional().nullable(),
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=pending-mutations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pending-mutations.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/acs-credentials/pending-mutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,uCAAuC,CAAC;CACtE,CAAC,CAAA;AAEF,MAAM,QAAQ,GAAG,uBAAuB;KACrC,MAAM,CAAC;IACN,aAAa,EAAE,CAAC;SACb,OAAO,CAAC,UAAU,CAAC;SACnB,QAAQ,CACP,yHAAyH,CAC1H;CACJ,CAAC;KACD,QAAQ,CACP,0FAA0F,CAC3F,CAAA;AAEH,MAAM,QAAQ,GAAG,uBAAuB;KACrC,MAAM,CAAC;IACN,aAAa,EAAE,CAAC;SACb,OAAO,CAAC,UAAU,CAAC;SACnB,QAAQ,CACP,yHAAyH,CAC1H;CACJ,CAAC;KACD,QAAQ,CACP,0FAA0F,CAC3F,CAAA;AAEH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,kBAAkB,CAClE,eAAe,EACf,CAAC,QAAQ,EAAE,QAAQ,CAAC,CACrB,CAAA;AAMD,MAAM,qCAAqC,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,QAAQ,EAAE,QAAQ,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACxC,QAAQ,EAAE,QAAQ,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAA"}
|
|
@@ -2,6 +2,7 @@ export * from './acs-access-group.js';
|
|
|
2
2
|
export * from './acs-credential.js';
|
|
3
3
|
export * from './acs-credential-pool.js';
|
|
4
4
|
export * from './acs-credential-provisioning-automation.js';
|
|
5
|
+
export * from './acs-credentials/index.js';
|
|
5
6
|
export * from './acs-encoder.js';
|
|
6
7
|
export * from './acs-entrance.js';
|
|
7
8
|
export * from './acs-system.js';
|
|
@@ -2,6 +2,7 @@ export * from './acs-access-group.js';
|
|
|
2
2
|
export * from './acs-credential.js';
|
|
3
3
|
export * from './acs-credential-pool.js';
|
|
4
4
|
export * from './acs-credential-provisioning-automation.js';
|
|
5
|
+
export * from './acs-credentials/index.js';
|
|
5
6
|
export * from './acs-encoder.js';
|
|
6
7
|
export * from './acs-entrance.js';
|
|
7
8
|
export * from './acs-system.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,0BAA0B,CAAA;AACxC,cAAc,6CAA6C,CAAA;AAC3D,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,0BAA0B,CAAA;AACxC,cAAc,6CAA6C,CAAA;AAC3D,cAAc,4BAA4B,CAAA;AAC1C,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA"}
|
|
@@ -43890,6 +43890,7 @@ declare const _default: {
|
|
|
43890
43890
|
default?: never;
|
|
43891
43891
|
exclusiveMinimum?: never;
|
|
43892
43892
|
minimum?: never;
|
|
43893
|
+
minLength?: never;
|
|
43893
43894
|
nullable?: never;
|
|
43894
43895
|
};
|
|
43895
43896
|
} | {
|
|
@@ -43902,6 +43903,7 @@ declare const _default: {
|
|
|
43902
43903
|
default?: never;
|
|
43903
43904
|
exclusiveMinimum?: never;
|
|
43904
43905
|
minimum?: never;
|
|
43906
|
+
minLength?: never;
|
|
43905
43907
|
nullable?: never;
|
|
43906
43908
|
};
|
|
43907
43909
|
} | {
|
|
@@ -43914,6 +43916,20 @@ declare const _default: {
|
|
|
43914
43916
|
minimum: number;
|
|
43915
43917
|
type: string;
|
|
43916
43918
|
format?: never;
|
|
43919
|
+
minLength?: never;
|
|
43920
|
+
nullable?: never;
|
|
43921
|
+
};
|
|
43922
|
+
} | {
|
|
43923
|
+
in: string;
|
|
43924
|
+
name: string;
|
|
43925
|
+
schema: {
|
|
43926
|
+
description: string;
|
|
43927
|
+
minLength: number;
|
|
43928
|
+
type: string;
|
|
43929
|
+
format?: never;
|
|
43930
|
+
default?: never;
|
|
43931
|
+
exclusiveMinimum?: never;
|
|
43932
|
+
minimum?: never;
|
|
43917
43933
|
nullable?: never;
|
|
43918
43934
|
};
|
|
43919
43935
|
} | {
|
|
@@ -43927,6 +43943,7 @@ declare const _default: {
|
|
|
43927
43943
|
default?: never;
|
|
43928
43944
|
exclusiveMinimum?: never;
|
|
43929
43945
|
minimum?: never;
|
|
43946
|
+
minLength?: never;
|
|
43930
43947
|
};
|
|
43931
43948
|
})[];
|
|
43932
43949
|
responses: {
|
|
@@ -44057,6 +44074,11 @@ declare const _default: {
|
|
|
44057
44074
|
nullable: boolean;
|
|
44058
44075
|
type: string;
|
|
44059
44076
|
};
|
|
44077
|
+
search: {
|
|
44078
|
+
description: string;
|
|
44079
|
+
minLength: number;
|
|
44080
|
+
type: string;
|
|
44081
|
+
};
|
|
44060
44082
|
space_id: {
|
|
44061
44083
|
description: string;
|
|
44062
44084
|
format: string;
|
|
@@ -49095,6 +49095,15 @@ export default {
|
|
|
49095
49095
|
type: 'string',
|
|
49096
49096
|
},
|
|
49097
49097
|
},
|
|
49098
|
+
{
|
|
49099
|
+
in: 'query',
|
|
49100
|
+
name: 'search',
|
|
49101
|
+
schema: {
|
|
49102
|
+
description: 'String for which to search. Filters returned reservations to include all records that satisfy a partial match using `reservation_id`, `reservation_key`, `name`, `guest_name`, or space names.',
|
|
49103
|
+
minLength: 1,
|
|
49104
|
+
type: 'string',
|
|
49105
|
+
},
|
|
49106
|
+
},
|
|
49098
49107
|
{
|
|
49099
49108
|
in: 'query',
|
|
49100
49109
|
name: 'page_cursor',
|
|
@@ -49211,6 +49220,11 @@ export default {
|
|
|
49211
49220
|
nullable: true,
|
|
49212
49221
|
type: 'string',
|
|
49213
49222
|
},
|
|
49223
|
+
search: {
|
|
49224
|
+
description: 'String for which to search. Filters returned reservations to include all records that satisfy a partial match using `reservation_id`, `reservation_key`, `name`, `guest_name`, or space names.',
|
|
49225
|
+
minLength: 1,
|
|
49226
|
+
type: 'string',
|
|
49227
|
+
},
|
|
49214
49228
|
space_id: {
|
|
49215
49229
|
description: 'Filter reservations by space ID (UUID).',
|
|
49216
49230
|
format: 'uuid',
|