@createiq/backend 1.0.77 → 1.0.78
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/client/types.gen.ts +25 -1
- package/dist/index.d.cts +25 -1
- package/dist/index.d.ts +25 -1
- package/package.json +1 -1
- package/swagger.json.sha256 +1 -1
package/client/types.gen.ts
CHANGED
|
@@ -207,10 +207,24 @@ export type AccountSettingsDto = {
|
|
|
207
207
|
allowedDomains: Array<string>;
|
|
208
208
|
};
|
|
209
209
|
|
|
210
|
+
/**
|
|
211
|
+
* Authentication success response. Contains either sessionToken (OAuth flow) or interactionCode (IDX flow).
|
|
212
|
+
*/
|
|
210
213
|
export type AuthnSuccessResponseDto = {
|
|
214
|
+
/**
|
|
215
|
+
* Present when flowType is interactionCode
|
|
216
|
+
*/
|
|
217
|
+
interactionCode?: string;
|
|
218
|
+
/**
|
|
219
|
+
* Indicates the authentication flow type
|
|
220
|
+
*/
|
|
221
|
+
flowType: 'authorizationCode' | 'interactionCode';
|
|
211
222
|
expiresAt: string;
|
|
212
223
|
status: string;
|
|
213
|
-
|
|
224
|
+
/**
|
|
225
|
+
* Present when flowType is authorizationCode
|
|
226
|
+
*/
|
|
227
|
+
sessionToken?: string;
|
|
214
228
|
};
|
|
215
229
|
|
|
216
230
|
export type ValidatedEntityDto = {
|
|
@@ -296,6 +310,7 @@ export type PresetSingleWithPreviewDto = PresetSingleDto & {
|
|
|
296
310
|
export type AuthServerResponseDto = {
|
|
297
311
|
sso: boolean;
|
|
298
312
|
idpId?: string;
|
|
313
|
+
authFlowType: string;
|
|
299
314
|
};
|
|
300
315
|
|
|
301
316
|
export type SchemaUpgradeReleaseNotesDto = {
|
|
@@ -2448,9 +2463,16 @@ export type DocumentPackDto = {
|
|
|
2448
2463
|
subAccountAllowlist?: Array<string>;
|
|
2449
2464
|
};
|
|
2450
2465
|
|
|
2466
|
+
/**
|
|
2467
|
+
* Authentication request. Include code_challenge for IDX flow.
|
|
2468
|
+
*/
|
|
2451
2469
|
export type ProxiedAuthnRequestDto = {
|
|
2452
2470
|
username: string;
|
|
2453
2471
|
password: string;
|
|
2472
|
+
/**
|
|
2473
|
+
* PKCE code challenge. Include for IDX flow, omit for OAuth flow.
|
|
2474
|
+
*/
|
|
2475
|
+
code_challenge?: string;
|
|
2454
2476
|
};
|
|
2455
2477
|
|
|
2456
2478
|
export type NegotiationAuditEventsDto = {
|
|
@@ -2485,6 +2507,7 @@ export type AuthEndpointsDto = {
|
|
|
2485
2507
|
authn: string;
|
|
2486
2508
|
oauthRefresh: string;
|
|
2487
2509
|
logoutUrl: string;
|
|
2510
|
+
authFlowType?: string;
|
|
2488
2511
|
};
|
|
2489
2512
|
|
|
2490
2513
|
export type BulkSetJobCountDto = {
|
|
@@ -3362,6 +3385,7 @@ export type CancelJobCountDto = {
|
|
|
3362
3385
|
export type OneLinkAuthRequestDto = {
|
|
3363
3386
|
oneLinkId: string;
|
|
3364
3387
|
email: string;
|
|
3388
|
+
code_challenge?: string;
|
|
3365
3389
|
};
|
|
3366
3390
|
|
|
3367
3391
|
export type MajorChangeSummaryDto = {
|
package/dist/index.d.cts
CHANGED
|
@@ -184,10 +184,24 @@ type AccountSettingsDto = {
|
|
|
184
184
|
accountName: string;
|
|
185
185
|
allowedDomains: Array<string>;
|
|
186
186
|
};
|
|
187
|
+
/**
|
|
188
|
+
* Authentication success response. Contains either sessionToken (OAuth flow) or interactionCode (IDX flow).
|
|
189
|
+
*/
|
|
187
190
|
type AuthnSuccessResponseDto = {
|
|
191
|
+
/**
|
|
192
|
+
* Present when flowType is interactionCode
|
|
193
|
+
*/
|
|
194
|
+
interactionCode?: string;
|
|
195
|
+
/**
|
|
196
|
+
* Indicates the authentication flow type
|
|
197
|
+
*/
|
|
198
|
+
flowType: 'authorizationCode' | 'interactionCode';
|
|
188
199
|
expiresAt: string;
|
|
189
200
|
status: string;
|
|
190
|
-
|
|
201
|
+
/**
|
|
202
|
+
* Present when flowType is authorizationCode
|
|
203
|
+
*/
|
|
204
|
+
sessionToken?: string;
|
|
191
205
|
};
|
|
192
206
|
type ValidatedEntityDto = {
|
|
193
207
|
type: 'ValidEntityDto';
|
|
@@ -260,6 +274,7 @@ type PresetSingleWithPreviewDto = PresetSingleDto & {
|
|
|
260
274
|
type AuthServerResponseDto = {
|
|
261
275
|
sso: boolean;
|
|
262
276
|
idpId?: string;
|
|
277
|
+
authFlowType: string;
|
|
263
278
|
};
|
|
264
279
|
type SchemaUpgradeReleaseNotesDto = {
|
|
265
280
|
version: MajorMinorDto;
|
|
@@ -2116,9 +2131,16 @@ type DocumentPackDto = {
|
|
|
2116
2131
|
documentPublisherId: string;
|
|
2117
2132
|
subAccountAllowlist?: Array<string>;
|
|
2118
2133
|
};
|
|
2134
|
+
/**
|
|
2135
|
+
* Authentication request. Include code_challenge for IDX flow.
|
|
2136
|
+
*/
|
|
2119
2137
|
type ProxiedAuthnRequestDto = {
|
|
2120
2138
|
username: string;
|
|
2121
2139
|
password: string;
|
|
2140
|
+
/**
|
|
2141
|
+
* PKCE code challenge. Include for IDX flow, omit for OAuth flow.
|
|
2142
|
+
*/
|
|
2143
|
+
code_challenge?: string;
|
|
2122
2144
|
};
|
|
2123
2145
|
type NegotiationAuditEventsDto = {
|
|
2124
2146
|
auditEvents: Array<NegotiationAuditTrailEventDto>;
|
|
@@ -2146,6 +2168,7 @@ type AuthEndpointsDto = {
|
|
|
2146
2168
|
authn: string;
|
|
2147
2169
|
oauthRefresh: string;
|
|
2148
2170
|
logoutUrl: string;
|
|
2171
|
+
authFlowType?: string;
|
|
2149
2172
|
};
|
|
2150
2173
|
type BulkSetJobCountDto = {
|
|
2151
2174
|
remainingSendJobs: number;
|
|
@@ -2908,6 +2931,7 @@ type CancelJobCountDto = {
|
|
|
2908
2931
|
type OneLinkAuthRequestDto = {
|
|
2909
2932
|
oneLinkId: string;
|
|
2910
2933
|
email: string;
|
|
2934
|
+
code_challenge?: string;
|
|
2911
2935
|
};
|
|
2912
2936
|
type MajorChangeSummaryDto = {
|
|
2913
2937
|
electionId: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -184,10 +184,24 @@ type AccountSettingsDto = {
|
|
|
184
184
|
accountName: string;
|
|
185
185
|
allowedDomains: Array<string>;
|
|
186
186
|
};
|
|
187
|
+
/**
|
|
188
|
+
* Authentication success response. Contains either sessionToken (OAuth flow) or interactionCode (IDX flow).
|
|
189
|
+
*/
|
|
187
190
|
type AuthnSuccessResponseDto = {
|
|
191
|
+
/**
|
|
192
|
+
* Present when flowType is interactionCode
|
|
193
|
+
*/
|
|
194
|
+
interactionCode?: string;
|
|
195
|
+
/**
|
|
196
|
+
* Indicates the authentication flow type
|
|
197
|
+
*/
|
|
198
|
+
flowType: 'authorizationCode' | 'interactionCode';
|
|
188
199
|
expiresAt: string;
|
|
189
200
|
status: string;
|
|
190
|
-
|
|
201
|
+
/**
|
|
202
|
+
* Present when flowType is authorizationCode
|
|
203
|
+
*/
|
|
204
|
+
sessionToken?: string;
|
|
191
205
|
};
|
|
192
206
|
type ValidatedEntityDto = {
|
|
193
207
|
type: 'ValidEntityDto';
|
|
@@ -260,6 +274,7 @@ type PresetSingleWithPreviewDto = PresetSingleDto & {
|
|
|
260
274
|
type AuthServerResponseDto = {
|
|
261
275
|
sso: boolean;
|
|
262
276
|
idpId?: string;
|
|
277
|
+
authFlowType: string;
|
|
263
278
|
};
|
|
264
279
|
type SchemaUpgradeReleaseNotesDto = {
|
|
265
280
|
version: MajorMinorDto;
|
|
@@ -2116,9 +2131,16 @@ type DocumentPackDto = {
|
|
|
2116
2131
|
documentPublisherId: string;
|
|
2117
2132
|
subAccountAllowlist?: Array<string>;
|
|
2118
2133
|
};
|
|
2134
|
+
/**
|
|
2135
|
+
* Authentication request. Include code_challenge for IDX flow.
|
|
2136
|
+
*/
|
|
2119
2137
|
type ProxiedAuthnRequestDto = {
|
|
2120
2138
|
username: string;
|
|
2121
2139
|
password: string;
|
|
2140
|
+
/**
|
|
2141
|
+
* PKCE code challenge. Include for IDX flow, omit for OAuth flow.
|
|
2142
|
+
*/
|
|
2143
|
+
code_challenge?: string;
|
|
2122
2144
|
};
|
|
2123
2145
|
type NegotiationAuditEventsDto = {
|
|
2124
2146
|
auditEvents: Array<NegotiationAuditTrailEventDto>;
|
|
@@ -2146,6 +2168,7 @@ type AuthEndpointsDto = {
|
|
|
2146
2168
|
authn: string;
|
|
2147
2169
|
oauthRefresh: string;
|
|
2148
2170
|
logoutUrl: string;
|
|
2171
|
+
authFlowType?: string;
|
|
2149
2172
|
};
|
|
2150
2173
|
type BulkSetJobCountDto = {
|
|
2151
2174
|
remainingSendJobs: number;
|
|
@@ -2908,6 +2931,7 @@ type CancelJobCountDto = {
|
|
|
2908
2931
|
type OneLinkAuthRequestDto = {
|
|
2909
2932
|
oneLinkId: string;
|
|
2910
2933
|
email: string;
|
|
2934
|
+
code_challenge?: string;
|
|
2911
2935
|
};
|
|
2912
2936
|
type MajorChangeSummaryDto = {
|
|
2913
2937
|
electionId: string;
|
package/package.json
CHANGED
package/swagger.json.sha256
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
36e4d0859026529a3c83c2972fff580508c0ea8eda201555e8033a64d3645a55
|