@seamapi/types 1.789.0 → 1.790.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 +28 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +186 -0
- package/dist/index.cjs +28 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +15 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +15 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.js +11 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +21 -0
- package/lib/seam/connect/openapi.js +16 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +150 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/encode-credential.ts +18 -0
- package/src/lib/seam/connect/openapi.ts +19 -0
- package/src/lib/seam/connect/route-types.ts +180 -0
|
@@ -2763,6 +2763,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
2763
2763
|
}, {
|
|
2764
2764
|
message: string;
|
|
2765
2765
|
type: "credential_being_deleted";
|
|
2766
|
+
}>, z.ZodObject<{
|
|
2767
|
+
type: z.ZodLiteral<"credential_deleted">;
|
|
2768
|
+
message: z.ZodString;
|
|
2769
|
+
}, "strip", z.ZodTypeAny, {
|
|
2770
|
+
message: string;
|
|
2771
|
+
type: "credential_deleted";
|
|
2772
|
+
}, {
|
|
2773
|
+
message: string;
|
|
2774
|
+
type: "credential_deleted";
|
|
2766
2775
|
}>]>;
|
|
2767
2776
|
}, "strip", z.ZodTypeAny, {
|
|
2768
2777
|
status: "error";
|
|
@@ -2797,6 +2806,9 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
2797
2806
|
} | {
|
|
2798
2807
|
message: string;
|
|
2799
2808
|
type: "credential_being_deleted";
|
|
2809
|
+
} | {
|
|
2810
|
+
message: string;
|
|
2811
|
+
type: "credential_deleted";
|
|
2800
2812
|
};
|
|
2801
2813
|
result: null;
|
|
2802
2814
|
action_type: "ENCODE_CREDENTIAL";
|
|
@@ -2833,6 +2845,9 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
2833
2845
|
} | {
|
|
2834
2846
|
message: string;
|
|
2835
2847
|
type: "credential_being_deleted";
|
|
2848
|
+
} | {
|
|
2849
|
+
message: string;
|
|
2850
|
+
type: "credential_deleted";
|
|
2836
2851
|
};
|
|
2837
2852
|
result: null;
|
|
2838
2853
|
action_type: "ENCODE_CREDENTIAL";
|
|
@@ -1042,6 +1042,15 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
1042
1042
|
}, {
|
|
1043
1043
|
message: string;
|
|
1044
1044
|
type: "credential_being_deleted";
|
|
1045
|
+
}>, z.ZodObject<{
|
|
1046
|
+
type: z.ZodLiteral<"credential_deleted">;
|
|
1047
|
+
message: z.ZodString;
|
|
1048
|
+
}, "strip", z.ZodTypeAny, {
|
|
1049
|
+
message: string;
|
|
1050
|
+
type: "credential_deleted";
|
|
1051
|
+
}, {
|
|
1052
|
+
message: string;
|
|
1053
|
+
type: "credential_deleted";
|
|
1045
1054
|
}>]>;
|
|
1046
1055
|
}, "strip", z.ZodTypeAny, {
|
|
1047
1056
|
status: "error";
|
|
@@ -1076,6 +1085,9 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
1076
1085
|
} | {
|
|
1077
1086
|
message: string;
|
|
1078
1087
|
type: "credential_being_deleted";
|
|
1088
|
+
} | {
|
|
1089
|
+
message: string;
|
|
1090
|
+
type: "credential_deleted";
|
|
1079
1091
|
};
|
|
1080
1092
|
result: null;
|
|
1081
1093
|
action_type: "ENCODE_CREDENTIAL";
|
|
@@ -1112,6 +1124,9 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
|
|
|
1112
1124
|
} | {
|
|
1113
1125
|
message: string;
|
|
1114
1126
|
type: "credential_being_deleted";
|
|
1127
|
+
} | {
|
|
1128
|
+
message: string;
|
|
1129
|
+
type: "credential_deleted";
|
|
1115
1130
|
};
|
|
1116
1131
|
result: null;
|
|
1117
1132
|
action_type: "ENCODE_CREDENTIAL";
|
|
@@ -84,6 +84,16 @@ const credential_being_deleted_error = z
|
|
|
84
84
|
.describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
|
|
85
85
|
})
|
|
86
86
|
.describe('Error to indicate that the credential is being deleted and can no longer be encoded.');
|
|
87
|
+
const credential_deleted_error = z
|
|
88
|
+
.object({
|
|
89
|
+
type: z
|
|
90
|
+
.literal('credential_deleted')
|
|
91
|
+
.describe('Error type to indicate that the credential was deleted while encoding was in progress.'),
|
|
92
|
+
message: z
|
|
93
|
+
.string()
|
|
94
|
+
.describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
|
|
95
|
+
})
|
|
96
|
+
.describe('Error to indicate that the credential was deleted while encoding was in progress.');
|
|
87
97
|
const error = z.union([
|
|
88
98
|
...common_action_attempt_errors,
|
|
89
99
|
no_credential_on_encoder_error,
|
|
@@ -94,6 +104,7 @@ const error = z.union([
|
|
|
94
104
|
bridge_disconnected_error,
|
|
95
105
|
encoding_interrupted_error,
|
|
96
106
|
credential_being_deleted_error,
|
|
107
|
+
credential_deleted_error,
|
|
97
108
|
]);
|
|
98
109
|
const result = acs_credential
|
|
99
110
|
.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,+BA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H,MAAM,wBAAwB,GAAG,CAAC;KAC/B,MAAM,CAAC;IACN,IAAI,EAAE,CAAC;SACJ,OAAO,CAAC,oBAAoB,CAAC;SAC7B,QAAQ,CACP,wFAAwF,CACzF;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CACP,mFAAmF,CACpF,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;IAC9B,wBAAwB;CACzB,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"}
|
|
@@ -10342,6 +10342,15 @@ export declare const batch: z.ZodObject<{
|
|
|
10342
10342
|
}, {
|
|
10343
10343
|
message: string;
|
|
10344
10344
|
type: "credential_being_deleted";
|
|
10345
|
+
}>, z.ZodObject<{
|
|
10346
|
+
type: z.ZodLiteral<"credential_deleted">;
|
|
10347
|
+
message: z.ZodString;
|
|
10348
|
+
}, "strip", z.ZodTypeAny, {
|
|
10349
|
+
message: string;
|
|
10350
|
+
type: "credential_deleted";
|
|
10351
|
+
}, {
|
|
10352
|
+
message: string;
|
|
10353
|
+
type: "credential_deleted";
|
|
10345
10354
|
}>]>;
|
|
10346
10355
|
}, "strip", z.ZodTypeAny, {
|
|
10347
10356
|
status: "error";
|
|
@@ -10376,6 +10385,9 @@ export declare const batch: z.ZodObject<{
|
|
|
10376
10385
|
} | {
|
|
10377
10386
|
message: string;
|
|
10378
10387
|
type: "credential_being_deleted";
|
|
10388
|
+
} | {
|
|
10389
|
+
message: string;
|
|
10390
|
+
type: "credential_deleted";
|
|
10379
10391
|
};
|
|
10380
10392
|
result: null;
|
|
10381
10393
|
action_type: "ENCODE_CREDENTIAL";
|
|
@@ -10412,6 +10424,9 @@ export declare const batch: z.ZodObject<{
|
|
|
10412
10424
|
} | {
|
|
10413
10425
|
message: string;
|
|
10414
10426
|
type: "credential_being_deleted";
|
|
10427
|
+
} | {
|
|
10428
|
+
message: string;
|
|
10429
|
+
type: "credential_deleted";
|
|
10415
10430
|
};
|
|
10416
10431
|
result: null;
|
|
10417
10432
|
action_type: "ENCODE_CREDENTIAL";
|
|
@@ -27254,6 +27269,9 @@ export declare const batch: z.ZodObject<{
|
|
|
27254
27269
|
} | {
|
|
27255
27270
|
message: string;
|
|
27256
27271
|
type: "credential_being_deleted";
|
|
27272
|
+
} | {
|
|
27273
|
+
message: string;
|
|
27274
|
+
type: "credential_deleted";
|
|
27257
27275
|
};
|
|
27258
27276
|
result: null;
|
|
27259
27277
|
action_type: "ENCODE_CREDENTIAL";
|
|
@@ -32132,6 +32150,9 @@ export declare const batch: z.ZodObject<{
|
|
|
32132
32150
|
} | {
|
|
32133
32151
|
message: string;
|
|
32134
32152
|
type: "credential_being_deleted";
|
|
32153
|
+
} | {
|
|
32154
|
+
message: string;
|
|
32155
|
+
type: "credential_deleted";
|
|
32135
32156
|
};
|
|
32136
32157
|
result: null;
|
|
32137
32158
|
action_type: "ENCODE_CREDENTIAL";
|
|
@@ -7147,6 +7147,22 @@ export default {
|
|
|
7147
7147
|
required: ['type', 'message'],
|
|
7148
7148
|
type: 'object',
|
|
7149
7149
|
},
|
|
7150
|
+
{
|
|
7151
|
+
description: 'Error to indicate that the credential was deleted while encoding was in progress.',
|
|
7152
|
+
properties: {
|
|
7153
|
+
message: {
|
|
7154
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
7155
|
+
type: 'string',
|
|
7156
|
+
},
|
|
7157
|
+
type: {
|
|
7158
|
+
description: 'Error type to indicate that the credential was deleted while encoding was in progress.',
|
|
7159
|
+
enum: ['credential_deleted'],
|
|
7160
|
+
type: 'string',
|
|
7161
|
+
},
|
|
7162
|
+
},
|
|
7163
|
+
required: ['type', 'message'],
|
|
7164
|
+
type: 'object',
|
|
7165
|
+
},
|
|
7150
7166
|
],
|
|
7151
7167
|
},
|
|
7152
7168
|
result: {
|