@seamapi/types 1.260.0 → 1.261.1
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 +28 -29
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +133 -135
- package/lib/seam/connect/models/acs/acs-credential.d.ts +12 -12
- package/lib/seam/connect/models/acs/acs-credential.js +2 -2
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +0 -5
- package/lib/seam/connect/models/action-attempts/encode-card.js +1 -1
- package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/read-card.d.ts +0 -5
- package/lib/seam/connect/models/action-attempts/read-card.js +6 -6
- package/lib/seam/connect/models/action-attempts/read-card.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +62 -20
- package/lib/seam/connect/openapi.js +19 -24
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +59 -98
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +2 -2
- package/src/lib/seam/connect/models/action-attempts/encode-card.ts +1 -1
- package/src/lib/seam/connect/models/action-attempts/read-card.ts +6 -6
- package/src/lib/seam/connect/openapi.ts +19 -25
- package/src/lib/seam/connect/route-types.ts +59 -98
|
@@ -11,8 +11,8 @@ export declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11
11
|
display_name: z.ZodString;
|
|
12
12
|
code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
13
13
|
card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
is_issued: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
+
issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16
16
|
access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
17
17
|
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential"]>>;
|
|
18
18
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
@@ -108,8 +108,8 @@ export declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
108
108
|
acs_credential_pool_id?: string | undefined;
|
|
109
109
|
parent_acs_credential_id?: string | undefined;
|
|
110
110
|
card_number?: string | null | undefined;
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
is_issued?: boolean | undefined;
|
|
112
|
+
issued_at?: string | null | undefined;
|
|
113
113
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
114
114
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
115
115
|
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
@@ -148,8 +148,8 @@ export declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
148
148
|
acs_credential_pool_id?: string | undefined;
|
|
149
149
|
parent_acs_credential_id?: string | undefined;
|
|
150
150
|
card_number?: string | null | undefined;
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
is_issued?: boolean | undefined;
|
|
152
|
+
issued_at?: string | null | undefined;
|
|
153
153
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
154
154
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
155
155
|
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
@@ -163,8 +163,8 @@ export declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendSh
|
|
|
163
163
|
display_name: z.ZodString;
|
|
164
164
|
code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
165
165
|
card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
is_issued: z.ZodOptional<z.ZodBoolean>;
|
|
167
|
+
issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
168
168
|
access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
169
169
|
external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential"]>>;
|
|
170
170
|
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
@@ -260,8 +260,8 @@ export declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendSh
|
|
|
260
260
|
acs_credential_pool_id?: string | undefined;
|
|
261
261
|
parent_acs_credential_id?: string | undefined;
|
|
262
262
|
card_number?: string | null | undefined;
|
|
263
|
-
|
|
264
|
-
|
|
263
|
+
is_issued?: boolean | undefined;
|
|
264
|
+
issued_at?: string | null | undefined;
|
|
265
265
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
266
266
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
267
267
|
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
@@ -300,8 +300,8 @@ export declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendSh
|
|
|
300
300
|
acs_credential_pool_id?: string | undefined;
|
|
301
301
|
parent_acs_credential_id?: string | undefined;
|
|
302
302
|
card_number?: string | null | undefined;
|
|
303
|
-
|
|
304
|
-
|
|
303
|
+
is_issued?: boolean | undefined;
|
|
304
|
+
issued_at?: string | null | undefined;
|
|
305
305
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
306
306
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
307
307
|
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
@@ -22,8 +22,8 @@ const common_acs_credential = z.object({
|
|
|
22
22
|
display_name: z.string().min(1),
|
|
23
23
|
code: z.string().optional().nullable(),
|
|
24
24
|
card_number: z.string().optional().nullable(),
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
is_issued: z.boolean().optional(),
|
|
26
|
+
issued_at: z.string().datetime().optional().nullable(),
|
|
27
27
|
access_method: acs_credential_access_method_type,
|
|
28
28
|
external_type: acs_credential_external_type.optional(),
|
|
29
29
|
external_type_display_name: z.string().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,kCAAkC,EAAE,MAAM,qBAAqB,CAAA;AAExE,wEAAwE;AACxE,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,UAAU;IACV,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;IACjB,qBAAqB;CACtB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,IAAI,CAAC;IACtD,MAAM;IACN,MAAM;IACN,YAAY;CACb,CAAC,CAAA;AAMF,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACpC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACzC,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACpD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,wBAAwB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACtD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACtC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC7C,
|
|
1
|
+
{"version":3,"file":"acs-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/ac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EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;CAC7B,CAAC,CACH,CAAA"}
|
|
@@ -185,13 +185,10 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
185
185
|
}>, {
|
|
186
186
|
action_type: z.ZodLiteral<"READ_CARD">;
|
|
187
187
|
result: z.ZodObject<{
|
|
188
|
-
acs_credential_id: z.ZodNullable<z.ZodString>;
|
|
189
188
|
card_number: z.ZodNullable<z.ZodString>;
|
|
190
189
|
}, "strip", z.ZodTypeAny, {
|
|
191
|
-
acs_credential_id: string | null;
|
|
192
190
|
card_number: string | null;
|
|
193
191
|
}, {
|
|
194
|
-
acs_credential_id: string | null;
|
|
195
192
|
card_number: string | null;
|
|
196
193
|
}>;
|
|
197
194
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -199,7 +196,6 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
199
196
|
status: "success";
|
|
200
197
|
action_attempt_id: string;
|
|
201
198
|
result: {
|
|
202
|
-
acs_credential_id: string | null;
|
|
203
199
|
card_number: string | null;
|
|
204
200
|
};
|
|
205
201
|
action_type: "READ_CARD";
|
|
@@ -208,7 +204,6 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
208
204
|
status: "success";
|
|
209
205
|
action_attempt_id: string;
|
|
210
206
|
result: {
|
|
211
|
-
acs_credential_id: string | null;
|
|
212
207
|
card_number: string | null;
|
|
213
208
|
};
|
|
214
209
|
action_type: "READ_CARD";
|
|
@@ -14,7 +14,7 @@ const result = z.object({
|
|
|
14
14
|
card_number: z
|
|
15
15
|
.string()
|
|
16
16
|
.nullable()
|
|
17
|
-
.describe('A number or
|
|
17
|
+
.describe('A number or string that physically identifies this card.'),
|
|
18
18
|
// TODO visionline_metadata: visionline_credential_metadata,
|
|
19
19
|
});
|
|
20
20
|
export const encode_card_action_attempt = z.discriminatedUnion('status', [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encode-card.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAA;AAE5C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,8DAA8D;IAChF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IACtB,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;IACtE,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"encode-card.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAA;AAE5C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,8DAA8D;IAChF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IACtB,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;IACtE,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,0DAA0D,CAAC;IACvE,4DAA4D;CAC7D,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IACvE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,2CAA2C,CAAC;IACxD,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,qDAAqD,CAAC;IAClE,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,kDAAkD,CAAC;CAChE,CAAC,CAAA"}
|
|
@@ -29,13 +29,10 @@ export declare const read_card_action_attempt: z.ZodDiscriminatedUnion<"status",
|
|
|
29
29
|
}>, {
|
|
30
30
|
action_type: z.ZodLiteral<"READ_CARD">;
|
|
31
31
|
result: z.ZodObject<{
|
|
32
|
-
acs_credential_id: z.ZodNullable<z.ZodString>;
|
|
33
32
|
card_number: z.ZodNullable<z.ZodString>;
|
|
34
33
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
acs_credential_id: string | null;
|
|
36
34
|
card_number: string | null;
|
|
37
35
|
}, {
|
|
38
|
-
acs_credential_id: string | null;
|
|
39
36
|
card_number: string | null;
|
|
40
37
|
}>;
|
|
41
38
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -43,7 +40,6 @@ export declare const read_card_action_attempt: z.ZodDiscriminatedUnion<"status",
|
|
|
43
40
|
status: "success";
|
|
44
41
|
action_attempt_id: string;
|
|
45
42
|
result: {
|
|
46
|
-
acs_credential_id: string | null;
|
|
47
43
|
card_number: string | null;
|
|
48
44
|
};
|
|
49
45
|
action_type: "READ_CARD";
|
|
@@ -52,7 +48,6 @@ export declare const read_card_action_attempt: z.ZodDiscriminatedUnion<"status",
|
|
|
52
48
|
status: "success";
|
|
53
49
|
action_attempt_id: string;
|
|
54
50
|
result: {
|
|
55
|
-
acs_credential_id: string | null;
|
|
56
51
|
card_number: string | null;
|
|
57
52
|
};
|
|
58
53
|
action_type: "READ_CARD";
|
|
@@ -6,15 +6,15 @@ const error = z.object({
|
|
|
6
6
|
message: z.string(),
|
|
7
7
|
});
|
|
8
8
|
const result = z.object({
|
|
9
|
-
acs_credential_id: z
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
// TODO acs_credential_id: z
|
|
10
|
+
// .string()
|
|
11
|
+
// .uuid()
|
|
12
|
+
// .nullable()
|
|
13
|
+
// .describe("Matching acs_credential currently encoded on this card."),
|
|
14
14
|
card_number: z
|
|
15
15
|
.string()
|
|
16
16
|
.nullable()
|
|
17
|
-
.describe('A number or
|
|
17
|
+
.describe('A number or string that physically identifies this card.'),
|
|
18
18
|
// TODO visionline_metadata: visionline_credential_metadata,
|
|
19
19
|
});
|
|
20
20
|
export const read_card_action_attempt = z.discriminatedUnion('status', [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-card.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/read-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAA;AAE1C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,8DAA8D;IAChF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IACtB,
|
|
1
|
+
{"version":3,"file":"read-card.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/read-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAA;AAE1C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,8DAA8D;IAChF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IACtB,4BAA4B;IAC5B,cAAc;IACd,YAAY;IACZ,gBAAgB;IAChB,0EAA0E;IAC1E,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,0DAA0D,CAAC;IACvE,4DAA4D;CAC7D,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IACrE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,0CAA0C,CAAC;IACvD,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,oDAAoD,CAAC;IACjE,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,iDAAiD,CAAC;CAC/D,CAAC,CAAA"}
|
|
@@ -260,11 +260,6 @@ declare const _default: {
|
|
|
260
260
|
minLength: number;
|
|
261
261
|
type: string;
|
|
262
262
|
};
|
|
263
|
-
encoded_at: {
|
|
264
|
-
format: string;
|
|
265
|
-
nullable: boolean;
|
|
266
|
-
type: string;
|
|
267
|
-
};
|
|
268
263
|
ends_at: {
|
|
269
264
|
type: string;
|
|
270
265
|
};
|
|
@@ -290,7 +285,7 @@ declare const _default: {
|
|
|
290
285
|
external_type_display_name: {
|
|
291
286
|
type: string;
|
|
292
287
|
};
|
|
293
|
-
|
|
288
|
+
is_issued: {
|
|
294
289
|
type: string;
|
|
295
290
|
};
|
|
296
291
|
is_latest_desired_state_synced_with_provider: {
|
|
@@ -303,6 +298,11 @@ declare const _default: {
|
|
|
303
298
|
is_multi_phone_sync_credential: {
|
|
304
299
|
type: string;
|
|
305
300
|
};
|
|
301
|
+
issued_at: {
|
|
302
|
+
format: string;
|
|
303
|
+
nullable: boolean;
|
|
304
|
+
type: string;
|
|
305
|
+
};
|
|
306
306
|
latest_desired_state_synced_with_provider_at: {
|
|
307
307
|
format: string;
|
|
308
308
|
type: string;
|
|
@@ -944,8 +944,8 @@ declare const _default: {
|
|
|
944
944
|
};
|
|
945
945
|
result: {
|
|
946
946
|
properties: {
|
|
947
|
-
acs_credential_id?: never;
|
|
948
947
|
card_number?: never;
|
|
948
|
+
acs_credential_id?: never;
|
|
949
949
|
};
|
|
950
950
|
type: string;
|
|
951
951
|
nullable?: never;
|
|
@@ -997,6 +997,45 @@ declare const _default: {
|
|
|
997
997
|
};
|
|
998
998
|
required: string[];
|
|
999
999
|
type: string;
|
|
1000
|
+
} | {
|
|
1001
|
+
description: string;
|
|
1002
|
+
properties: {
|
|
1003
|
+
action_attempt_id: {
|
|
1004
|
+
description: string;
|
|
1005
|
+
format: string;
|
|
1006
|
+
type: string;
|
|
1007
|
+
'x-title': string;
|
|
1008
|
+
};
|
|
1009
|
+
action_type: {
|
|
1010
|
+
enum: string[];
|
|
1011
|
+
type: string;
|
|
1012
|
+
};
|
|
1013
|
+
error: {
|
|
1014
|
+
nullable: boolean;
|
|
1015
|
+
properties?: never;
|
|
1016
|
+
required?: never;
|
|
1017
|
+
type?: never;
|
|
1018
|
+
};
|
|
1019
|
+
result: {
|
|
1020
|
+
properties: {
|
|
1021
|
+
card_number: {
|
|
1022
|
+
description: string;
|
|
1023
|
+
nullable: boolean;
|
|
1024
|
+
type: string;
|
|
1025
|
+
};
|
|
1026
|
+
acs_credential_id?: never;
|
|
1027
|
+
};
|
|
1028
|
+
required: string[];
|
|
1029
|
+
type: string;
|
|
1030
|
+
nullable?: never;
|
|
1031
|
+
};
|
|
1032
|
+
status: {
|
|
1033
|
+
enum: string[];
|
|
1034
|
+
type: string;
|
|
1035
|
+
};
|
|
1036
|
+
};
|
|
1037
|
+
required: string[];
|
|
1038
|
+
type: string;
|
|
1000
1039
|
} | {
|
|
1001
1040
|
description: string;
|
|
1002
1041
|
properties: {
|
|
@@ -7343,11 +7382,6 @@ declare const _default: {
|
|
|
7343
7382
|
minLength: number;
|
|
7344
7383
|
type: string;
|
|
7345
7384
|
};
|
|
7346
|
-
encoded_at: {
|
|
7347
|
-
format: string;
|
|
7348
|
-
nullable: boolean;
|
|
7349
|
-
type: string;
|
|
7350
|
-
};
|
|
7351
7385
|
ends_at: {
|
|
7352
7386
|
type: string;
|
|
7353
7387
|
};
|
|
@@ -7373,7 +7407,7 @@ declare const _default: {
|
|
|
7373
7407
|
external_type_display_name: {
|
|
7374
7408
|
type: string;
|
|
7375
7409
|
};
|
|
7376
|
-
|
|
7410
|
+
is_issued: {
|
|
7377
7411
|
type: string;
|
|
7378
7412
|
};
|
|
7379
7413
|
is_latest_desired_state_synced_with_provider: {
|
|
@@ -7386,6 +7420,11 @@ declare const _default: {
|
|
|
7386
7420
|
is_multi_phone_sync_credential: {
|
|
7387
7421
|
type: string;
|
|
7388
7422
|
};
|
|
7423
|
+
issued_at: {
|
|
7424
|
+
format: string;
|
|
7425
|
+
nullable: boolean;
|
|
7426
|
+
type: string;
|
|
7427
|
+
};
|
|
7389
7428
|
latest_desired_state_synced_with_provider_at: {
|
|
7390
7429
|
format: string;
|
|
7391
7430
|
type: string;
|
|
@@ -7605,11 +7644,6 @@ declare const _default: {
|
|
|
7605
7644
|
minLength: number;
|
|
7606
7645
|
type: string;
|
|
7607
7646
|
};
|
|
7608
|
-
encoded_at: {
|
|
7609
|
-
format: string;
|
|
7610
|
-
nullable: boolean;
|
|
7611
|
-
type: string;
|
|
7612
|
-
};
|
|
7613
7647
|
ends_at: {
|
|
7614
7648
|
type: string;
|
|
7615
7649
|
};
|
|
@@ -7635,7 +7669,7 @@ declare const _default: {
|
|
|
7635
7669
|
external_type_display_name: {
|
|
7636
7670
|
type: string;
|
|
7637
7671
|
};
|
|
7638
|
-
|
|
7672
|
+
is_issued: {
|
|
7639
7673
|
type: string;
|
|
7640
7674
|
};
|
|
7641
7675
|
is_latest_desired_state_synced_with_provider: {
|
|
@@ -7648,6 +7682,11 @@ declare const _default: {
|
|
|
7648
7682
|
is_multi_phone_sync_credential: {
|
|
7649
7683
|
type: string;
|
|
7650
7684
|
};
|
|
7685
|
+
issued_at: {
|
|
7686
|
+
format: string;
|
|
7687
|
+
nullable: boolean;
|
|
7688
|
+
type: string;
|
|
7689
|
+
};
|
|
7651
7690
|
latest_desired_state_synced_with_provider_at: {
|
|
7652
7691
|
format: string;
|
|
7653
7692
|
type: string;
|
|
@@ -8135,11 +8174,14 @@ declare const _default: {
|
|
|
8135
8174
|
type: string;
|
|
8136
8175
|
} | {
|
|
8137
8176
|
properties: {
|
|
8177
|
+
acs_system_id: {
|
|
8178
|
+
format: string;
|
|
8179
|
+
type: string;
|
|
8180
|
+
};
|
|
8138
8181
|
device_id: {
|
|
8139
8182
|
format: string;
|
|
8140
8183
|
type: string;
|
|
8141
8184
|
};
|
|
8142
|
-
acs_system_id?: never;
|
|
8143
8185
|
device_name?: never;
|
|
8144
8186
|
};
|
|
8145
8187
|
required: string[];
|
|
@@ -233,7 +233,6 @@ export default {
|
|
|
233
233
|
code: { nullable: true, type: 'string' },
|
|
234
234
|
created_at: { format: 'date-time', type: 'string' },
|
|
235
235
|
display_name: { minLength: 1, type: 'string' },
|
|
236
|
-
encoded_at: { format: 'date-time', nullable: true, type: 'string' },
|
|
237
236
|
ends_at: { type: 'string' },
|
|
238
237
|
errors: {
|
|
239
238
|
items: {
|
|
@@ -257,10 +256,11 @@ export default {
|
|
|
257
256
|
type: 'string',
|
|
258
257
|
},
|
|
259
258
|
external_type_display_name: { type: 'string' },
|
|
260
|
-
|
|
259
|
+
is_issued: { type: 'boolean' },
|
|
261
260
|
is_latest_desired_state_synced_with_provider: { type: 'boolean' },
|
|
262
261
|
is_managed: { enum: [true], type: 'boolean' },
|
|
263
262
|
is_multi_phone_sync_credential: { type: 'boolean' },
|
|
263
|
+
issued_at: { format: 'date-time', nullable: true, type: 'string' },
|
|
264
264
|
latest_desired_state_synced_with_provider_at: {
|
|
265
265
|
format: 'date-time',
|
|
266
266
|
type: 'string',
|
|
@@ -1173,19 +1173,13 @@ export default {
|
|
|
1173
1173
|
error: { nullable: true },
|
|
1174
1174
|
result: {
|
|
1175
1175
|
properties: {
|
|
1176
|
-
acs_credential_id: {
|
|
1177
|
-
description: 'Matching acs_credential currently encoded on this card.',
|
|
1178
|
-
format: 'uuid',
|
|
1179
|
-
nullable: true,
|
|
1180
|
-
type: 'string',
|
|
1181
|
-
},
|
|
1182
1176
|
card_number: {
|
|
1183
|
-
description: 'A number or
|
|
1177
|
+
description: 'A number or string that physically identifies this card.',
|
|
1184
1178
|
nullable: true,
|
|
1185
1179
|
type: 'string',
|
|
1186
1180
|
},
|
|
1187
1181
|
},
|
|
1188
|
-
required: ['
|
|
1182
|
+
required: ['card_number'],
|
|
1189
1183
|
type: 'object',
|
|
1190
1184
|
},
|
|
1191
1185
|
status: { enum: ['success'], type: 'string' },
|
|
@@ -1272,7 +1266,7 @@ export default {
|
|
|
1272
1266
|
type: 'string',
|
|
1273
1267
|
},
|
|
1274
1268
|
card_number: {
|
|
1275
|
-
description: 'A number or
|
|
1269
|
+
description: 'A number or string that physically identifies this card.',
|
|
1276
1270
|
nullable: true,
|
|
1277
1271
|
type: 'string',
|
|
1278
1272
|
},
|
|
@@ -6931,11 +6925,6 @@ export default {
|
|
|
6931
6925
|
code: { nullable: true, type: 'string' },
|
|
6932
6926
|
created_at: { format: 'date-time', type: 'string' },
|
|
6933
6927
|
display_name: { minLength: 1, type: 'string' },
|
|
6934
|
-
encoded_at: {
|
|
6935
|
-
format: 'date-time',
|
|
6936
|
-
nullable: true,
|
|
6937
|
-
type: 'string',
|
|
6938
|
-
},
|
|
6939
6928
|
ends_at: { type: 'string' },
|
|
6940
6929
|
errors: {
|
|
6941
6930
|
items: {
|
|
@@ -6959,12 +6948,17 @@ export default {
|
|
|
6959
6948
|
type: 'string',
|
|
6960
6949
|
},
|
|
6961
6950
|
external_type_display_name: { type: 'string' },
|
|
6962
|
-
|
|
6951
|
+
is_issued: { type: 'boolean' },
|
|
6963
6952
|
is_latest_desired_state_synced_with_provider: {
|
|
6964
6953
|
type: 'boolean',
|
|
6965
6954
|
},
|
|
6966
6955
|
is_managed: { enum: [false], type: 'boolean' },
|
|
6967
6956
|
is_multi_phone_sync_credential: { type: 'boolean' },
|
|
6957
|
+
issued_at: {
|
|
6958
|
+
format: 'date-time',
|
|
6959
|
+
nullable: true,
|
|
6960
|
+
type: 'string',
|
|
6961
|
+
},
|
|
6968
6962
|
latest_desired_state_synced_with_provider_at: {
|
|
6969
6963
|
format: 'date-time',
|
|
6970
6964
|
type: 'string',
|
|
@@ -7116,11 +7110,6 @@ export default {
|
|
|
7116
7110
|
code: { nullable: true, type: 'string' },
|
|
7117
7111
|
created_at: { format: 'date-time', type: 'string' },
|
|
7118
7112
|
display_name: { minLength: 1, type: 'string' },
|
|
7119
|
-
encoded_at: {
|
|
7120
|
-
format: 'date-time',
|
|
7121
|
-
nullable: true,
|
|
7122
|
-
type: 'string',
|
|
7123
|
-
},
|
|
7124
7113
|
ends_at: { type: 'string' },
|
|
7125
7114
|
errors: {
|
|
7126
7115
|
items: {
|
|
@@ -7144,12 +7133,17 @@ export default {
|
|
|
7144
7133
|
type: 'string',
|
|
7145
7134
|
},
|
|
7146
7135
|
external_type_display_name: { type: 'string' },
|
|
7147
|
-
|
|
7136
|
+
is_issued: { type: 'boolean' },
|
|
7148
7137
|
is_latest_desired_state_synced_with_provider: {
|
|
7149
7138
|
type: 'boolean',
|
|
7150
7139
|
},
|
|
7151
7140
|
is_managed: { enum: [false], type: 'boolean' },
|
|
7152
7141
|
is_multi_phone_sync_credential: { type: 'boolean' },
|
|
7142
|
+
issued_at: {
|
|
7143
|
+
format: 'date-time',
|
|
7144
|
+
nullable: true,
|
|
7145
|
+
type: 'string',
|
|
7146
|
+
},
|
|
7153
7147
|
latest_desired_state_synced_with_provider_at: {
|
|
7154
7148
|
format: 'date-time',
|
|
7155
7149
|
type: 'string',
|
|
@@ -7499,9 +7493,10 @@ export default {
|
|
|
7499
7493
|
},
|
|
7500
7494
|
{
|
|
7501
7495
|
properties: {
|
|
7496
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
7502
7497
|
device_id: { format: 'uuid', type: 'string' },
|
|
7503
7498
|
},
|
|
7504
|
-
required: ['device_id'],
|
|
7499
|
+
required: ['acs_system_id', 'device_id'],
|
|
7505
7500
|
type: 'object',
|
|
7506
7501
|
},
|
|
7507
7502
|
],
|