@seamapi/types 1.1100.0 → 1.1101.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.
@@ -333,6 +333,19 @@ export declare const access_method_pending_mutations: z.ZodDiscriminatedUnion<"m
333
333
  starts_at: string | null;
334
334
  ends_at: string | null;
335
335
  };
336
+ }>, z.ZodObject<{
337
+ created_at: z.ZodString;
338
+ message: z.ZodString;
339
+ } & {
340
+ mutation_code: z.ZodLiteral<"waiting_for_access_on_acs_system">;
341
+ }, "strip", z.ZodTypeAny, {
342
+ message: string;
343
+ created_at: string;
344
+ mutation_code: "waiting_for_access_on_acs_system";
345
+ }, {
346
+ message: string;
347
+ created_at: string;
348
+ mutation_code: "waiting_for_access_on_acs_system";
336
349
  }>]>;
337
350
  export type AccessMethodPendingMutation = z.infer<typeof access_method_pending_mutations>;
338
351
  declare const _access_method_pending_mutations_map: z.ZodObject<{
@@ -483,6 +496,20 @@ declare const _access_method_pending_mutations_map: z.ZodObject<{
483
496
  mutation_code: "notifying_connector";
484
497
  provider_data: Record<string, any>;
485
498
  }>>>;
499
+ waiting_for_access_on_acs_system: z.ZodNullable<z.ZodOptional<z.ZodObject<{
500
+ created_at: z.ZodString;
501
+ message: z.ZodString;
502
+ } & {
503
+ mutation_code: z.ZodLiteral<"waiting_for_access_on_acs_system">;
504
+ }, "strip", z.ZodTypeAny, {
505
+ message: string;
506
+ created_at: string;
507
+ mutation_code: "waiting_for_access_on_acs_system";
508
+ }, {
509
+ message: string;
510
+ created_at: string;
511
+ mutation_code: "waiting_for_access_on_acs_system";
512
+ }>>>;
486
513
  }, "strip", z.ZodTypeAny, {
487
514
  updating_access_times?: {
488
515
  message: string;
@@ -525,6 +552,11 @@ declare const _access_method_pending_mutations_map: z.ZodObject<{
525
552
  mutation_code: "notifying_connector";
526
553
  provider_data: Record<string, any>;
527
554
  } | null | undefined;
555
+ waiting_for_access_on_acs_system?: {
556
+ message: string;
557
+ created_at: string;
558
+ mutation_code: "waiting_for_access_on_acs_system";
559
+ } | null | undefined;
528
560
  }, {
529
561
  updating_access_times?: {
530
562
  message: string;
@@ -567,6 +599,11 @@ declare const _access_method_pending_mutations_map: z.ZodObject<{
567
599
  mutation_code: "notifying_connector";
568
600
  provider_data: Record<string, any>;
569
601
  } | null | undefined;
602
+ waiting_for_access_on_acs_system?: {
603
+ message: string;
604
+ created_at: string;
605
+ mutation_code: "waiting_for_access_on_acs_system";
606
+ } | null | undefined;
570
607
  }>;
571
608
  export type AccessMethodPendingMutationsMap = z.infer<typeof _access_method_pending_mutations_map>;
572
609
  export declare const access_method: z.ZodObject<{
@@ -821,6 +858,19 @@ export declare const access_method: z.ZodObject<{
821
858
  starts_at: string | null;
822
859
  ends_at: string | null;
823
860
  };
861
+ }>, z.ZodObject<{
862
+ created_at: z.ZodString;
863
+ message: z.ZodString;
864
+ } & {
865
+ mutation_code: z.ZodLiteral<"waiting_for_access_on_acs_system">;
866
+ }, "strip", z.ZodTypeAny, {
867
+ message: string;
868
+ created_at: string;
869
+ mutation_code: "waiting_for_access_on_acs_system";
870
+ }, {
871
+ message: string;
872
+ created_at: string;
873
+ mutation_code: "waiting_for_access_on_acs_system";
824
874
  }>]>, "many">;
825
875
  customization_profile_id: z.ZodOptional<z.ZodString>;
826
876
  }, "strip", z.ZodTypeAny, {
@@ -895,6 +945,10 @@ export declare const access_method: z.ZodObject<{
895
945
  starts_at: string | null;
896
946
  ends_at: string | null;
897
947
  };
948
+ } | {
949
+ message: string;
950
+ created_at: string;
951
+ mutation_code: "waiting_for_access_on_acs_system";
898
952
  })[];
899
953
  mode: "code" | "card" | "mobile_key" | "cloud_key";
900
954
  access_method_id: string;
@@ -980,6 +1034,10 @@ export declare const access_method: z.ZodObject<{
980
1034
  starts_at: string | null;
981
1035
  ends_at: string | null;
982
1036
  };
1037
+ } | {
1038
+ message: string;
1039
+ created_at: string;
1040
+ mutation_code: "waiting_for_access_on_acs_system";
983
1041
  })[];
984
1042
  mode: "code" | "card" | "mobile_key" | "cloud_key";
985
1043
  access_method_id: string;
@@ -1247,6 +1305,19 @@ export declare const unmanaged_access_method: z.ZodObject<Omit<{
1247
1305
  starts_at: string | null;
1248
1306
  ends_at: string | null;
1249
1307
  };
1308
+ }>, z.ZodObject<{
1309
+ created_at: z.ZodString;
1310
+ message: z.ZodString;
1311
+ } & {
1312
+ mutation_code: z.ZodLiteral<"waiting_for_access_on_acs_system">;
1313
+ }, "strip", z.ZodTypeAny, {
1314
+ message: string;
1315
+ created_at: string;
1316
+ mutation_code: "waiting_for_access_on_acs_system";
1317
+ }, {
1318
+ message: string;
1319
+ created_at: string;
1320
+ mutation_code: "waiting_for_access_on_acs_system";
1250
1321
  }>]>, "many">;
1251
1322
  customization_profile_id: z.ZodOptional<z.ZodString>;
1252
1323
  }, "client_session_token" | "instant_key_url" | "customization_profile_id">, "strip", z.ZodTypeAny, {
@@ -1321,6 +1392,10 @@ export declare const unmanaged_access_method: z.ZodObject<Omit<{
1321
1392
  starts_at: string | null;
1322
1393
  ends_at: string | null;
1323
1394
  };
1395
+ } | {
1396
+ message: string;
1397
+ created_at: string;
1398
+ mutation_code: "waiting_for_access_on_acs_system";
1324
1399
  })[];
1325
1400
  mode: "code" | "card" | "mobile_key" | "cloud_key";
1326
1401
  access_method_id: string;
@@ -1403,6 +1478,10 @@ export declare const unmanaged_access_method: z.ZodObject<Omit<{
1403
1478
  starts_at: string | null;
1404
1479
  ends_at: string | null;
1405
1480
  };
1481
+ } | {
1482
+ message: string;
1483
+ created_at: string;
1484
+ mutation_code: "waiting_for_access_on_acs_system";
1406
1485
  })[];
1407
1486
  mode: "code" | "card" | "mobile_key" | "cloud_key";
1408
1487
  access_method_id: string;
@@ -186,16 +186,27 @@ const notifying_connector_mutation = common_pending_mutation
186
186
  .describe('Provider-specific data needed to notify the connector.'),
187
187
  })
188
188
  .describe("Seam is in the process of notifying the connector about this access method's issuance.");
189
+ const waiting_for_access_on_acs_system_mutation = common_pending_mutation
190
+ .extend({
191
+ mutation_code: z
192
+ .literal('waiting_for_access_on_acs_system')
193
+ .describe('Mutation code to indicate that the access system has not yet received all the access this card needs, so the card is not ready to be encoded.'),
194
+ })
195
+ .describe('The access system has not yet received all the access this card needs. A card encoded now would carry only the access the system already has, so wait until this clears before encoding.');
189
196
  export const access_method_pending_mutations = z.discriminatedUnion('mutation_code', [
190
197
  provisioning_access_mutation,
191
198
  revoking_access_mutation,
192
199
  updating_access_times_mutation,
200
+ waiting_for_access_on_acs_system_mutation,
193
201
  ]);
194
202
  const _access_method_pending_mutations_map = z.object({
195
203
  provisioning_access: provisioning_access_mutation.optional().nullable(),
196
204
  revoking_access: revoking_access_mutation.optional().nullable(),
197
205
  updating_access_times: updating_access_times_mutation.optional().nullable(),
198
206
  notifying_connector: notifying_connector_mutation.optional().nullable(),
207
+ waiting_for_access_on_acs_system: waiting_for_access_on_acs_system_mutation
208
+ .optional()
209
+ .nullable(),
199
210
  });
200
211
  export const access_method = z.object({
201
212
  workspace_id: z
@@ -233,7 +244,7 @@ export const access_method = z.object({
233
244
  is_ready_for_encoding: z
234
245
  .boolean()
235
246
  .optional()
236
- .describe('Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.'),
247
+ .describe('Indicates whether the access method is ready to be encoded. This is true when the card has not yet been issued and the access system has received all the access the card needs. While it is false, `pending_mutations` contains `waiting_for_access_on_acs_system`.'),
237
248
  is_assignment_required: z
238
249
  .boolean()
239
250
  .optional()
@@ -1 +1 @@
1
- {"version":3,"file":"access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-method.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,kDAAkD,CACnD;IACD,OAAO,EAAE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C5B,QAAQ,CACP,4HAA4H,CAC7H;IACH,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,mBAAmB,CAAC;SAC1B,QAAQ,CACP,0HAA0H,CAC3H;IACH,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,+BAA+B,CAAC;SACtC,QAAQ,CACP,oKAAoK,CACrK;IACH,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,oEAAoE,CACrE;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,uBAAuB,GAAG,aAAa,CAAC,IAAI,CAAC;IACxD,eAAe,EAAE,IAAI;IACrB,oBAAoB,EAAE,IAAI;IAC1B,wBAAwB,EAAE,IAAI;CAC/B,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
1
+ {"version":3,"file":"access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-method.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,kDAAkD,CACnD;IACD,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,0GAA0G,CAC3G;CACJ,CAAC,CAAA;AAEF,MAAM,wBAAwB,GAC5B,sGAAsG,CAAA;AAExG,MAAM,aAAa,GAAG,4BAA4B;KAC/C,MAAM,CAAC;IACN,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,QAAQ,CAAC,wBAAwB,CAAC;CAC5E,CAAC;KACD,QAAQ,CACP,mIAAmI,CACpI,CAAA;AAEH,MAAM,6BAA6B,GAAG,4BAA4B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CAAC,mBAAmB,CAAC;SAC1B,QAAQ,CACP,0HAA0H,CAC3H;IACH,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,+BAA+B,CAAC;SACtC,QAAQ,CACP,oKAAoK,CACrK;IACH,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,oEAAoE,CACrE;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,uBAAuB,GAAG,aAAa,CAAC,IAAI,CAAC;IACxD,eAAe,EAAE,IAAI;IACrB,oBAAoB,EAAE,IAAI;IAC1B,wBAAwB,EAAE,IAAI;CAC/B,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
@@ -4058,6 +4058,19 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
4058
4058
  starts_at: string | null;
4059
4059
  ends_at: string | null;
4060
4060
  };
4061
+ }>, z.ZodObject<{
4062
+ created_at: z.ZodString;
4063
+ message: z.ZodString;
4064
+ } & {
4065
+ mutation_code: z.ZodLiteral<"waiting_for_access_on_acs_system">;
4066
+ }, "strip", z.ZodTypeAny, {
4067
+ message: string;
4068
+ created_at: string;
4069
+ mutation_code: "waiting_for_access_on_acs_system";
4070
+ }, {
4071
+ message: string;
4072
+ created_at: string;
4073
+ mutation_code: "waiting_for_access_on_acs_system";
4061
4074
  }>]>, "many">;
4062
4075
  customization_profile_id: z.ZodOptional<z.ZodString>;
4063
4076
  }, "strip", z.ZodTypeAny, {
@@ -4132,6 +4145,10 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
4132
4145
  starts_at: string | null;
4133
4146
  ends_at: string | null;
4134
4147
  };
4148
+ } | {
4149
+ message: string;
4150
+ created_at: string;
4151
+ mutation_code: "waiting_for_access_on_acs_system";
4135
4152
  })[];
4136
4153
  mode: "code" | "card" | "mobile_key" | "cloud_key";
4137
4154
  access_method_id: string;
@@ -4217,6 +4234,10 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
4217
4234
  starts_at: string | null;
4218
4235
  ends_at: string | null;
4219
4236
  };
4237
+ } | {
4238
+ message: string;
4239
+ created_at: string;
4240
+ mutation_code: "waiting_for_access_on_acs_system";
4220
4241
  })[];
4221
4242
  mode: "code" | "card" | "mobile_key" | "cloud_key";
4222
4243
  access_method_id: string;
@@ -4307,6 +4328,10 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
4307
4328
  starts_at: string | null;
4308
4329
  ends_at: string | null;
4309
4330
  };
4331
+ } | {
4332
+ message: string;
4333
+ created_at: string;
4334
+ mutation_code: "waiting_for_access_on_acs_system";
4310
4335
  })[];
4311
4336
  mode: "code" | "card" | "mobile_key" | "cloud_key";
4312
4337
  access_method_id: string;
@@ -4398,6 +4423,10 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
4398
4423
  starts_at: string | null;
4399
4424
  ends_at: string | null;
4400
4425
  };
4426
+ } | {
4427
+ message: string;
4428
+ created_at: string;
4429
+ mutation_code: "waiting_for_access_on_acs_system";
4401
4430
  })[];
4402
4431
  mode: "code" | "card" | "mobile_key" | "cloud_key";
4403
4432
  access_method_id: string;
@@ -278,6 +278,19 @@ export declare const assign_credential_action_attempt: z.ZodDiscriminatedUnion<"
278
278
  starts_at: string | null;
279
279
  ends_at: string | null;
280
280
  };
281
+ }>, z.ZodObject<{
282
+ created_at: z.ZodString;
283
+ message: z.ZodString;
284
+ } & {
285
+ mutation_code: z.ZodLiteral<"waiting_for_access_on_acs_system">;
286
+ }, "strip", z.ZodTypeAny, {
287
+ message: string;
288
+ created_at: string;
289
+ mutation_code: "waiting_for_access_on_acs_system";
290
+ }, {
291
+ message: string;
292
+ created_at: string;
293
+ mutation_code: "waiting_for_access_on_acs_system";
281
294
  }>]>, "many">;
282
295
  customization_profile_id: z.ZodOptional<z.ZodString>;
283
296
  }, "strip", z.ZodTypeAny, {
@@ -352,6 +365,10 @@ export declare const assign_credential_action_attempt: z.ZodDiscriminatedUnion<"
352
365
  starts_at: string | null;
353
366
  ends_at: string | null;
354
367
  };
368
+ } | {
369
+ message: string;
370
+ created_at: string;
371
+ mutation_code: "waiting_for_access_on_acs_system";
355
372
  })[];
356
373
  mode: "code" | "card" | "mobile_key" | "cloud_key";
357
374
  access_method_id: string;
@@ -437,6 +454,10 @@ export declare const assign_credential_action_attempt: z.ZodDiscriminatedUnion<"
437
454
  starts_at: string | null;
438
455
  ends_at: string | null;
439
456
  };
457
+ } | {
458
+ message: string;
459
+ created_at: string;
460
+ mutation_code: "waiting_for_access_on_acs_system";
440
461
  })[];
441
462
  mode: "code" | "card" | "mobile_key" | "cloud_key";
442
463
  access_method_id: string;
@@ -527,6 +548,10 @@ export declare const assign_credential_action_attempt: z.ZodDiscriminatedUnion<"
527
548
  starts_at: string | null;
528
549
  ends_at: string | null;
529
550
  };
551
+ } | {
552
+ message: string;
553
+ created_at: string;
554
+ mutation_code: "waiting_for_access_on_acs_system";
530
555
  })[];
531
556
  mode: "code" | "card" | "mobile_key" | "cloud_key";
532
557
  access_method_id: string;
@@ -618,6 +643,10 @@ export declare const assign_credential_action_attempt: z.ZodDiscriminatedUnion<"
618
643
  starts_at: string | null;
619
644
  ends_at: string | null;
620
645
  };
646
+ } | {
647
+ message: string;
648
+ created_at: string;
649
+ mutation_code: "waiting_for_access_on_acs_system";
621
650
  })[];
622
651
  mode: "code" | "card" | "mobile_key" | "cloud_key";
623
652
  access_method_id: string;
@@ -2256,7 +2256,7 @@ const openapi = {
2256
2256
  type: 'boolean',
2257
2257
  },
2258
2258
  is_ready_for_encoding: {
2259
- description: 'Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.',
2259
+ description: 'Indicates whether the access method is ready to be encoded. This is true when the card has not yet been issued and the access system has received all the access the card needs. While it is false, `pending_mutations` contains `waiting_for_access_on_acs_system`.',
2260
2260
  type: 'boolean',
2261
2261
  },
2262
2262
  issued_at: {
@@ -2442,6 +2442,27 @@ const openapi = {
2442
2442
  ],
2443
2443
  type: 'object',
2444
2444
  },
2445
+ {
2446
+ description: 'The access system has not yet received all the access this card needs. A card encoded now would carry only the access the system already has, so wait until this clears before encoding.',
2447
+ properties: {
2448
+ created_at: {
2449
+ description: 'Date and time at which the mutation was created.',
2450
+ format: 'date-time',
2451
+ type: 'string',
2452
+ },
2453
+ message: {
2454
+ description: 'Detailed description of the mutation.',
2455
+ type: 'string',
2456
+ },
2457
+ mutation_code: {
2458
+ description: 'Mutation code to indicate that the access system has not yet received all the access this card needs, so the card is not ready to be encoded.',
2459
+ enum: ['waiting_for_access_on_acs_system'],
2460
+ type: 'string',
2461
+ },
2462
+ },
2463
+ required: ['created_at', 'message', 'mutation_code'],
2464
+ type: 'object',
2465
+ },
2445
2466
  ],
2446
2467
  },
2447
2468
  type: 'array',
@@ -8777,7 +8798,7 @@ const openapi = {
8777
8798
  type: 'boolean',
8778
8799
  },
8779
8800
  is_ready_for_encoding: {
8780
- description: 'Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.',
8801
+ description: 'Indicates whether the access method is ready to be encoded. This is true when the card has not yet been issued and the access system has received all the access the card needs. While it is false, `pending_mutations` contains `waiting_for_access_on_acs_system`.',
8781
8802
  type: 'boolean',
8782
8803
  },
8783
8804
  issued_at: {
@@ -8963,6 +8984,27 @@ const openapi = {
8963
8984
  ],
8964
8985
  type: 'object',
8965
8986
  },
8987
+ {
8988
+ description: 'The access system has not yet received all the access this card needs. A card encoded now would carry only the access the system already has, so wait until this clears before encoding.',
8989
+ properties: {
8990
+ created_at: {
8991
+ description: 'Date and time at which the mutation was created.',
8992
+ format: 'date-time',
8993
+ type: 'string',
8994
+ },
8995
+ message: {
8996
+ description: 'Detailed description of the mutation.',
8997
+ type: 'string',
8998
+ },
8999
+ mutation_code: {
9000
+ description: 'Mutation code to indicate that the access system has not yet received all the access this card needs, so the card is not ready to be encoded.',
9001
+ enum: ['waiting_for_access_on_acs_system'],
9002
+ type: 'string',
9003
+ },
9004
+ },
9005
+ required: ['created_at', 'message', 'mutation_code'],
9006
+ type: 'object',
9007
+ },
8966
9008
  ],
8967
9009
  },
8968
9010
  type: 'array',
@@ -30714,7 +30756,7 @@ const openapi = {
30714
30756
  type: 'boolean',
30715
30757
  },
30716
30758
  is_ready_for_encoding: {
30717
- description: 'Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.',
30759
+ description: 'Indicates whether the access method is ready to be encoded. This is true when the card has not yet been issued and the access system has received all the access the card needs. While it is false, `pending_mutations` contains `waiting_for_access_on_acs_system`.',
30718
30760
  type: 'boolean',
30719
30761
  },
30720
30762
  issued_at: {
@@ -30900,6 +30942,27 @@ const openapi = {
30900
30942
  ],
30901
30943
  type: 'object',
30902
30944
  },
30945
+ {
30946
+ description: 'The access system has not yet received all the access this card needs. A card encoded now would carry only the access the system already has, so wait until this clears before encoding.',
30947
+ properties: {
30948
+ created_at: {
30949
+ description: 'Date and time at which the mutation was created.',
30950
+ format: 'date-time',
30951
+ type: 'string',
30952
+ },
30953
+ message: {
30954
+ description: 'Detailed description of the mutation.',
30955
+ type: 'string',
30956
+ },
30957
+ mutation_code: {
30958
+ description: 'Mutation code to indicate that the access system has not yet received all the access this card needs, so the card is not ready to be encoded.',
30959
+ enum: ['waiting_for_access_on_acs_system'],
30960
+ type: 'string',
30961
+ },
30962
+ },
30963
+ required: ['created_at', 'message', 'mutation_code'],
30964
+ type: 'object',
30965
+ },
30903
30966
  ],
30904
30967
  },
30905
30968
  type: 'array',