@seamapi/types 1.789.0 → 1.791.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.
@@ -2755,14 +2755,14 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2755
2755
  message: string;
2756
2756
  type: "encoding_interrupted";
2757
2757
  }>, z.ZodObject<{
2758
- type: z.ZodLiteral<"credential_being_deleted">;
2758
+ type: z.ZodLiteral<"credential_deleted">;
2759
2759
  message: z.ZodString;
2760
2760
  }, "strip", z.ZodTypeAny, {
2761
2761
  message: string;
2762
- type: "credential_being_deleted";
2762
+ type: "credential_deleted";
2763
2763
  }, {
2764
2764
  message: string;
2765
- type: "credential_being_deleted";
2765
+ type: "credential_deleted";
2766
2766
  }>]>;
2767
2767
  }, "strip", z.ZodTypeAny, {
2768
2768
  status: "error";
@@ -2796,7 +2796,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2796
2796
  type: "encoding_interrupted";
2797
2797
  } | {
2798
2798
  message: string;
2799
- type: "credential_being_deleted";
2799
+ type: "credential_deleted";
2800
2800
  };
2801
2801
  result: null;
2802
2802
  action_type: "ENCODE_CREDENTIAL";
@@ -2832,7 +2832,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
2832
2832
  type: "encoding_interrupted";
2833
2833
  } | {
2834
2834
  message: string;
2835
- type: "credential_being_deleted";
2835
+ type: "credential_deleted";
2836
2836
  };
2837
2837
  result: null;
2838
2838
  action_type: "ENCODE_CREDENTIAL";
@@ -1034,14 +1034,14 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
1034
1034
  message: string;
1035
1035
  type: "encoding_interrupted";
1036
1036
  }>, z.ZodObject<{
1037
- type: z.ZodLiteral<"credential_being_deleted">;
1037
+ type: z.ZodLiteral<"credential_deleted">;
1038
1038
  message: z.ZodString;
1039
1039
  }, "strip", z.ZodTypeAny, {
1040
1040
  message: string;
1041
- type: "credential_being_deleted";
1041
+ type: "credential_deleted";
1042
1042
  }, {
1043
1043
  message: string;
1044
- type: "credential_being_deleted";
1044
+ type: "credential_deleted";
1045
1045
  }>]>;
1046
1046
  }, "strip", z.ZodTypeAny, {
1047
1047
  status: "error";
@@ -1075,7 +1075,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
1075
1075
  type: "encoding_interrupted";
1076
1076
  } | {
1077
1077
  message: string;
1078
- type: "credential_being_deleted";
1078
+ type: "credential_deleted";
1079
1079
  };
1080
1080
  result: null;
1081
1081
  action_type: "ENCODE_CREDENTIAL";
@@ -1111,7 +1111,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
1111
1111
  type: "encoding_interrupted";
1112
1112
  } | {
1113
1113
  message: string;
1114
- type: "credential_being_deleted";
1114
+ type: "credential_deleted";
1115
1115
  };
1116
1116
  result: null;
1117
1117
  action_type: "ENCODE_CREDENTIAL";
@@ -74,16 +74,16 @@ const encoding_interrupted_error = z
74
74
  .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
75
75
  })
76
76
  .describe('Error to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete.');
77
- const credential_being_deleted_error = z
77
+ const credential_deleted_error = z
78
78
  .object({
79
79
  type: z
80
- .literal('credential_being_deleted')
81
- .describe('Error type to indicate that the credential is being deleted and can no longer be encoded.'),
80
+ .literal('credential_deleted')
81
+ .describe('Error type to indicate that the credential was deleted and can no longer be encoded.'),
82
82
  message: z
83
83
  .string()
84
84
  .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
85
85
  })
86
- .describe('Error to indicate that the credential is being deleted and can no longer be encoded.');
86
+ .describe('Error to indicate that the credential was deleted and can no longer be encoded.');
87
87
  const error = z.union([
88
88
  ...common_action_attempt_errors,
89
89
  no_credential_on_encoder_error,
@@ -93,7 +93,7 @@ const error = z.union([
93
93
  encoder_communication_timeout,
94
94
  bridge_disconnected_error,
95
95
  encoding_interrupted_error,
96
- credential_being_deleted_error,
96
+ credential_deleted_error,
97
97
  ]);
98
98
  const result = acs_credential
99
99
  .or(unmanaged_acs_credential)
@@ -1 +1 @@
1
- {"version":3,"file":"encode-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,cAAc,EACd,wBAAwB,GACzB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,mBAAmB,CAAC;KAC5B,QAAQ,CACP,uGAAuG,CACxG,CAAA;AAEH,MAAM,8BAA8B,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,0BAA0B,CAAC;SACnC,QAAQ,CACP,oEAAoE,CACrE;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,+DAA+D,CAAC,CAAA;AAE5E,MAAM,8BAA8B,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,0BAA0B,CAAC;SACnC,QAAQ,CAAC,qDAAqD,CAAC;IAClE,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,gDAAgD,CAAC,CAAA;AAE7D,MAAM,6BAA6B,GAAG,CAAC;KACpC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,+BAA+B,CAAC;SACxC,QAAQ,CACP,yEAAyE,CAC1E;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG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AC5F;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CACP,sFAAsF,CACvF,CAAA;AAEH,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;IACpB,GAAG,4BAA4B;IAC/B,8BAA8B;IAC9B,8BAA8B;IAC9B,6BAA6B;IAC7B,wBAAwB;IACxB,6BAA6B;IAC7B,yBAAyB;IACzB,0BAA0B;IAC1B,8BAA8B;CAC/B,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,cAAc;KAC1B,EAAE,CAAC,wBAAwB,CAAC;KAC5B,QAAQ,CACP,4HAA4H,CAC7H,CAAA;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IAC7E,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CACP,4EAA4E,CAC7E;IACH,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CACP,2EAA2E,CAC5E;IACH,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CACP,wEAAwE,CACzE;CACJ,CAAC,CAAA"}
1
+ {"version":3,"file":"encode-credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,cAAc,EACd,wBAAwB,GACzB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC;KAClB,OAAO,CAAC,mBAAmB,CAAC;KAC5B,QAAQ,CACP,uGAAuG,CACxG,CA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AkB,CAAC,QAAQ,EAAE;IAC7E,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CACP,4EAA4E,CAC7E;IACH,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CACP,2EAA2E,CAC5E;IACH,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CACP,wEAAwE,CACzE;CACJ,CAAC,CAAA"}
@@ -10334,14 +10334,14 @@ export declare const batch: z.ZodObject<{
10334
10334
  message: string;
10335
10335
  type: "encoding_interrupted";
10336
10336
  }>, z.ZodObject<{
10337
- type: z.ZodLiteral<"credential_being_deleted">;
10337
+ type: z.ZodLiteral<"credential_deleted">;
10338
10338
  message: z.ZodString;
10339
10339
  }, "strip", z.ZodTypeAny, {
10340
10340
  message: string;
10341
- type: "credential_being_deleted";
10341
+ type: "credential_deleted";
10342
10342
  }, {
10343
10343
  message: string;
10344
- type: "credential_being_deleted";
10344
+ type: "credential_deleted";
10345
10345
  }>]>;
10346
10346
  }, "strip", z.ZodTypeAny, {
10347
10347
  status: "error";
@@ -10375,7 +10375,7 @@ export declare const batch: z.ZodObject<{
10375
10375
  type: "encoding_interrupted";
10376
10376
  } | {
10377
10377
  message: string;
10378
- type: "credential_being_deleted";
10378
+ type: "credential_deleted";
10379
10379
  };
10380
10380
  result: null;
10381
10381
  action_type: "ENCODE_CREDENTIAL";
@@ -10411,7 +10411,7 @@ export declare const batch: z.ZodObject<{
10411
10411
  type: "encoding_interrupted";
10412
10412
  } | {
10413
10413
  message: string;
10414
- type: "credential_being_deleted";
10414
+ type: "credential_deleted";
10415
10415
  };
10416
10416
  result: null;
10417
10417
  action_type: "ENCODE_CREDENTIAL";
@@ -27253,7 +27253,7 @@ export declare const batch: z.ZodObject<{
27253
27253
  type: "encoding_interrupted";
27254
27254
  } | {
27255
27255
  message: string;
27256
- type: "credential_being_deleted";
27256
+ type: "credential_deleted";
27257
27257
  };
27258
27258
  result: null;
27259
27259
  action_type: "ENCODE_CREDENTIAL";
@@ -32131,7 +32131,7 @@ export declare const batch: z.ZodObject<{
32131
32131
  type: "encoding_interrupted";
32132
32132
  } | {
32133
32133
  message: string;
32134
- type: "credential_being_deleted";
32134
+ type: "credential_deleted";
32135
32135
  };
32136
32136
  result: null;
32137
32137
  action_type: "ENCODE_CREDENTIAL";
@@ -7132,15 +7132,15 @@ export default {
7132
7132
  type: 'object',
7133
7133
  },
7134
7134
  {
7135
- description: 'Error to indicate that the credential is being deleted and can no longer be encoded.',
7135
+ description: 'Error to indicate that the credential was deleted and can no longer be encoded.',
7136
7136
  properties: {
7137
7137
  message: {
7138
7138
  description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
7139
7139
  type: 'string',
7140
7140
  },
7141
7141
  type: {
7142
- description: 'Error type to indicate that the credential is being deleted and can no longer be encoded.',
7143
- enum: ['credential_being_deleted'],
7142
+ description: 'Error type to indicate that the credential was deleted and can no longer be encoded.',
7143
+ enum: ['credential_deleted'],
7144
7144
  type: 'string',
7145
7145
  },
7146
7146
  },