@wix/auto_sdk_online-programs_quizzes 1.0.14 → 1.0.16
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/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +60 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +59 -13
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +60 -14
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +59 -13
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.typings.d.ts +60 -14
- package/build/internal/cjs/meta.d.ts +59 -13
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.typings.d.mts +60 -14
- package/build/internal/es/meta.d.mts +59 -13
- package/package.json +4 -11
- package/build/cjs/schemas.d.ts +0 -748
- package/build/cjs/schemas.js +0 -1074
- package/build/cjs/schemas.js.map +0 -1
- package/build/es/schemas.d.mts +0 -748
- package/build/es/schemas.mjs +0 -1024
- package/build/es/schemas.mjs.map +0 -1
- package/build/internal/cjs/index.js +0 -594
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.js +0 -531
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.js +0 -482
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/schemas.d.ts +0 -748
- package/build/internal/cjs/schemas.js +0 -1074
- package/build/internal/cjs/schemas.js.map +0 -1
- package/build/internal/es/index.mjs +0 -562
- package/build/internal/es/index.mjs.map +0 -1
- package/build/internal/es/index.typings.mjs +0 -499
- package/build/internal/es/index.typings.mjs.map +0 -1
- package/build/internal/es/meta.mjs +0 -447
- package/build/internal/es/meta.mjs.map +0 -1
- package/build/internal/es/schemas.d.mts +0 -748
- package/build/internal/es/schemas.mjs +0 -1024
- package/build/internal/es/schemas.mjs.map +0 -1
- package/schemas/package.json +0 -3
|
@@ -179,7 +179,7 @@ interface FileUploadField {
|
|
|
179
179
|
/**
|
|
180
180
|
* Formats of files that can be uploaded
|
|
181
181
|
* @minSize 1
|
|
182
|
-
* @maxSize
|
|
182
|
+
* @maxSize 5
|
|
183
183
|
*/
|
|
184
184
|
fileFormats?: FileFormatWithLiterals[];
|
|
185
185
|
}
|
|
@@ -205,6 +205,7 @@ interface CloneQuizResponse {
|
|
|
205
205
|
interface BulkCreateQuizRequest {
|
|
206
206
|
/**
|
|
207
207
|
* Quizzes to be created
|
|
208
|
+
* @minSize 1
|
|
208
209
|
* @maxSize 30
|
|
209
210
|
*/
|
|
210
211
|
quizzes: Quiz[];
|
|
@@ -213,15 +214,15 @@ interface BulkCreateQuizRequest {
|
|
|
213
214
|
}
|
|
214
215
|
interface BulkCreateQuizResponse {
|
|
215
216
|
/** Created quizzes with metadata */
|
|
216
|
-
results?:
|
|
217
|
+
results?: V1BulkQuizResult[];
|
|
217
218
|
}
|
|
218
|
-
interface
|
|
219
|
-
/**
|
|
220
|
-
itemMetadata?:
|
|
221
|
-
/**
|
|
219
|
+
interface V1BulkQuizResult {
|
|
220
|
+
/** Metadata for the processed quiz. */
|
|
221
|
+
itemMetadata?: CommonItemMetadata;
|
|
222
|
+
/** Processed quiz. Empty when `return_entity` is `false`. */
|
|
222
223
|
item?: Quiz;
|
|
223
224
|
}
|
|
224
|
-
interface
|
|
225
|
+
interface CommonItemMetadata {
|
|
225
226
|
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
226
227
|
_id?: string | null;
|
|
227
228
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
@@ -239,14 +240,14 @@ interface ApplicationError {
|
|
|
239
240
|
/** Data related to the error. */
|
|
240
241
|
data?: Record<string, any> | null;
|
|
241
242
|
}
|
|
242
|
-
interface
|
|
243
|
+
interface BulkCloneQuizzesRequest {
|
|
243
244
|
/**
|
|
244
245
|
* IDs of the quizzes to clone.
|
|
245
246
|
* @minSize 1
|
|
246
247
|
* @maxSize 30
|
|
247
248
|
* @format GUID
|
|
248
249
|
*/
|
|
249
|
-
quizIds
|
|
250
|
+
quizIds?: string[];
|
|
250
251
|
/**
|
|
251
252
|
* Whether to return the cloned quizzes in the response.
|
|
252
253
|
*
|
|
@@ -254,12 +255,28 @@ interface BulkCloneQuizRequest {
|
|
|
254
255
|
*/
|
|
255
256
|
returnEntity?: boolean;
|
|
256
257
|
}
|
|
257
|
-
interface
|
|
258
|
+
interface BulkCloneQuizzesResponse {
|
|
258
259
|
/** Results of the bulk clone operation, including cloned quizzes and metadata. */
|
|
259
260
|
results?: BulkQuizResult[];
|
|
260
261
|
/** Metadata about the bulk operation. */
|
|
261
262
|
bulkActionMetadata?: BulkActionMetadata;
|
|
262
263
|
}
|
|
264
|
+
interface ItemMetadata {
|
|
265
|
+
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
266
|
+
_id?: string | null;
|
|
267
|
+
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
268
|
+
originalIndex?: number;
|
|
269
|
+
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
270
|
+
success?: boolean;
|
|
271
|
+
/** Details about the error in case of failure. */
|
|
272
|
+
error?: ApplicationError;
|
|
273
|
+
}
|
|
274
|
+
interface BulkQuizResult {
|
|
275
|
+
/** Metadata for the cloned quiz. */
|
|
276
|
+
itemMetadata?: ItemMetadata;
|
|
277
|
+
/** Cloned quiz. Empty when `return_entity` is `false`. */
|
|
278
|
+
item?: Quiz;
|
|
279
|
+
}
|
|
263
280
|
interface BulkActionMetadata {
|
|
264
281
|
/** Number of items that were successfully processed. */
|
|
265
282
|
totalSuccesses?: number;
|
|
@@ -268,6 +285,35 @@ interface BulkActionMetadata {
|
|
|
268
285
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
269
286
|
undetailedFailures?: number;
|
|
270
287
|
}
|
|
288
|
+
interface BulkCloneQuizRequest {
|
|
289
|
+
/**
|
|
290
|
+
* IDs of the quizzes to clone.
|
|
291
|
+
* @minSize 1
|
|
292
|
+
* @maxSize 30
|
|
293
|
+
* @format GUID
|
|
294
|
+
*/
|
|
295
|
+
quizIds: string[];
|
|
296
|
+
/**
|
|
297
|
+
* Whether to return the cloned quizzes in the response.
|
|
298
|
+
*
|
|
299
|
+
* Default: `false`
|
|
300
|
+
*/
|
|
301
|
+
returnEntity?: boolean;
|
|
302
|
+
}
|
|
303
|
+
interface BulkCloneQuizResponse {
|
|
304
|
+
/** Results of the bulk clone operation, including cloned quizzes and metadata. */
|
|
305
|
+
results?: V1BulkQuizResult[];
|
|
306
|
+
/** Metadata about the bulk operation. */
|
|
307
|
+
bulkActionMetadata?: CommonBulkActionMetadata;
|
|
308
|
+
}
|
|
309
|
+
interface CommonBulkActionMetadata {
|
|
310
|
+
/** Number of items that were successfully processed. */
|
|
311
|
+
totalSuccesses?: number;
|
|
312
|
+
/** Number of items that couldn't be processed. */
|
|
313
|
+
totalFailures?: number;
|
|
314
|
+
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
315
|
+
undetailedFailures?: number;
|
|
316
|
+
}
|
|
271
317
|
interface GetQuizRequest {
|
|
272
318
|
/**
|
|
273
319
|
* ID of the quiz
|
|
@@ -318,9 +364,9 @@ interface BulkDeleteQuizResponse {
|
|
|
318
364
|
* @minSize 1
|
|
319
365
|
* @maxSize 100
|
|
320
366
|
*/
|
|
321
|
-
results?:
|
|
367
|
+
results?: V1BulkQuizResult[];
|
|
322
368
|
/** Metadata about the bulk operation. */
|
|
323
|
-
bulkActionMetadata?:
|
|
369
|
+
bulkActionMetadata?: CommonBulkActionMetadata;
|
|
324
370
|
}
|
|
325
371
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
326
372
|
createdEvent?: EntityCreatedEvent;
|
|
@@ -525,7 +571,7 @@ interface BulkCreateQuizOptions {
|
|
|
525
571
|
returnEntity?: boolean;
|
|
526
572
|
}
|
|
527
573
|
/**
|
|
528
|
-
* Clones quizzes
|
|
574
|
+
* Clones quizzes.
|
|
529
575
|
* @param quizIds - IDs of the quizzes to clone.
|
|
530
576
|
* @public
|
|
531
577
|
* @documentationMaturity preview
|
|
@@ -576,4 +622,4 @@ declare function deleteQuiz(quizId: string): Promise<NonNullablePaths<DeleteQuiz
|
|
|
576
622
|
*/
|
|
577
623
|
declare function bulkDeleteQuiz(quizIds: string[]): Promise<NonNullablePaths<BulkDeleteQuizResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
578
624
|
|
|
579
|
-
export { type AccountInfo, type ActionEvent, type ApplicationError, type BulkActionMetadata, type BulkCloneQuizOptions, type BulkCloneQuizRequest, type BulkCloneQuizResponse, type BulkCreateQuizOptions, type BulkCreateQuizRequest, type BulkCreateQuizResponse, type BulkDeleteQuizRequest, type BulkDeleteQuizResponse, type BulkQuizResult, type CloneQuizRequest, type CloneQuizResponse, type CreateQuizRequest, type CreateQuizResponse, type DeleteQuizRequest, type DeleteQuizResponse, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, FileFormat, type FileFormatWithLiterals, type FileUploadField, type GetQuizRequest, type GetQuizResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type LongTextField, type MessageEnvelope, type MultiChoiceField, type NumericField, type Quiz, type QuizField, type QuizFieldFieldTypeOneOf, type QuizSettings, type RestoreInfo, type ShortTextField, type SingleChoiceField, type UpdateQuizRequest, type UpdateQuizResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkCloneQuiz, bulkCreateQuiz, bulkDeleteQuiz, cloneQuiz, createQuiz, deleteQuiz, getQuiz };
|
|
625
|
+
export { type AccountInfo, type ActionEvent, type ApplicationError, type BulkActionMetadata, type BulkCloneQuizOptions, type BulkCloneQuizRequest, type BulkCloneQuizResponse, type BulkCloneQuizzesRequest, type BulkCloneQuizzesResponse, type BulkCreateQuizOptions, type BulkCreateQuizRequest, type BulkCreateQuizResponse, type BulkDeleteQuizRequest, type BulkDeleteQuizResponse, type BulkQuizResult, type CloneQuizRequest, type CloneQuizResponse, type CommonBulkActionMetadata, type CommonItemMetadata, type CreateQuizRequest, type CreateQuizResponse, type DeleteQuizRequest, type DeleteQuizResponse, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, FileFormat, type FileFormatWithLiterals, type FileUploadField, type GetQuizRequest, type GetQuizResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type LongTextField, type MessageEnvelope, type MultiChoiceField, type NumericField, type Quiz, type QuizField, type QuizFieldFieldTypeOneOf, type QuizSettings, type RestoreInfo, type ShortTextField, type SingleChoiceField, type UpdateQuizRequest, type UpdateQuizResponse, type V1BulkQuizResult, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkCloneQuiz, bulkCreateQuiz, bulkDeleteQuiz, cloneQuiz, createQuiz, deleteQuiz, getQuiz };
|
|
@@ -180,7 +180,7 @@ interface FileUploadField {
|
|
|
180
180
|
/**
|
|
181
181
|
* Formats of files that can be uploaded
|
|
182
182
|
* @minSize 1
|
|
183
|
-
* @maxSize
|
|
183
|
+
* @maxSize 5
|
|
184
184
|
*/
|
|
185
185
|
fileFormats?: FileFormatWithLiterals[];
|
|
186
186
|
}
|
|
@@ -206,6 +206,7 @@ interface CloneQuizResponse {
|
|
|
206
206
|
interface BulkCreateQuizRequest {
|
|
207
207
|
/**
|
|
208
208
|
* Quizzes to be created
|
|
209
|
+
* @minSize 1
|
|
209
210
|
* @maxSize 30
|
|
210
211
|
*/
|
|
211
212
|
quizzes: Quiz[];
|
|
@@ -214,15 +215,15 @@ interface BulkCreateQuizRequest {
|
|
|
214
215
|
}
|
|
215
216
|
interface BulkCreateQuizResponse {
|
|
216
217
|
/** Created quizzes with metadata */
|
|
217
|
-
results?:
|
|
218
|
+
results?: V1BulkQuizResult[];
|
|
218
219
|
}
|
|
219
|
-
interface
|
|
220
|
-
/**
|
|
221
|
-
itemMetadata?:
|
|
222
|
-
/**
|
|
220
|
+
interface V1BulkQuizResult {
|
|
221
|
+
/** Metadata for the processed quiz. */
|
|
222
|
+
itemMetadata?: CommonItemMetadata;
|
|
223
|
+
/** Processed quiz. Empty when `return_entity` is `false`. */
|
|
223
224
|
item?: Quiz;
|
|
224
225
|
}
|
|
225
|
-
interface
|
|
226
|
+
interface CommonItemMetadata {
|
|
226
227
|
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
227
228
|
id?: string | null;
|
|
228
229
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
@@ -240,14 +241,14 @@ interface ApplicationError {
|
|
|
240
241
|
/** Data related to the error. */
|
|
241
242
|
data?: Record<string, any> | null;
|
|
242
243
|
}
|
|
243
|
-
interface
|
|
244
|
+
interface BulkCloneQuizzesRequest {
|
|
244
245
|
/**
|
|
245
246
|
* IDs of the quizzes to clone.
|
|
246
247
|
* @minSize 1
|
|
247
248
|
* @maxSize 30
|
|
248
249
|
* @format GUID
|
|
249
250
|
*/
|
|
250
|
-
quizIds
|
|
251
|
+
quizIds?: string[];
|
|
251
252
|
/**
|
|
252
253
|
* Whether to return the cloned quizzes in the response.
|
|
253
254
|
*
|
|
@@ -255,12 +256,28 @@ interface BulkCloneQuizRequest {
|
|
|
255
256
|
*/
|
|
256
257
|
returnEntity?: boolean;
|
|
257
258
|
}
|
|
258
|
-
interface
|
|
259
|
+
interface BulkCloneQuizzesResponse {
|
|
259
260
|
/** Results of the bulk clone operation, including cloned quizzes and metadata. */
|
|
260
261
|
results?: BulkQuizResult[];
|
|
261
262
|
/** Metadata about the bulk operation. */
|
|
262
263
|
bulkActionMetadata?: BulkActionMetadata;
|
|
263
264
|
}
|
|
265
|
+
interface ItemMetadata {
|
|
266
|
+
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
267
|
+
id?: string | null;
|
|
268
|
+
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
269
|
+
originalIndex?: number;
|
|
270
|
+
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
271
|
+
success?: boolean;
|
|
272
|
+
/** Details about the error in case of failure. */
|
|
273
|
+
error?: ApplicationError;
|
|
274
|
+
}
|
|
275
|
+
interface BulkQuizResult {
|
|
276
|
+
/** Metadata for the cloned quiz. */
|
|
277
|
+
itemMetadata?: ItemMetadata;
|
|
278
|
+
/** Cloned quiz. Empty when `return_entity` is `false`. */
|
|
279
|
+
item?: Quiz;
|
|
280
|
+
}
|
|
264
281
|
interface BulkActionMetadata {
|
|
265
282
|
/** Number of items that were successfully processed. */
|
|
266
283
|
totalSuccesses?: number;
|
|
@@ -269,6 +286,35 @@ interface BulkActionMetadata {
|
|
|
269
286
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
270
287
|
undetailedFailures?: number;
|
|
271
288
|
}
|
|
289
|
+
interface BulkCloneQuizRequest {
|
|
290
|
+
/**
|
|
291
|
+
* IDs of the quizzes to clone.
|
|
292
|
+
* @minSize 1
|
|
293
|
+
* @maxSize 30
|
|
294
|
+
* @format GUID
|
|
295
|
+
*/
|
|
296
|
+
quizIds: string[];
|
|
297
|
+
/**
|
|
298
|
+
* Whether to return the cloned quizzes in the response.
|
|
299
|
+
*
|
|
300
|
+
* Default: `false`
|
|
301
|
+
*/
|
|
302
|
+
returnEntity?: boolean;
|
|
303
|
+
}
|
|
304
|
+
interface BulkCloneQuizResponse {
|
|
305
|
+
/** Results of the bulk clone operation, including cloned quizzes and metadata. */
|
|
306
|
+
results?: V1BulkQuizResult[];
|
|
307
|
+
/** Metadata about the bulk operation. */
|
|
308
|
+
bulkActionMetadata?: CommonBulkActionMetadata;
|
|
309
|
+
}
|
|
310
|
+
interface CommonBulkActionMetadata {
|
|
311
|
+
/** Number of items that were successfully processed. */
|
|
312
|
+
totalSuccesses?: number;
|
|
313
|
+
/** Number of items that couldn't be processed. */
|
|
314
|
+
totalFailures?: number;
|
|
315
|
+
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
316
|
+
undetailedFailures?: number;
|
|
317
|
+
}
|
|
272
318
|
interface GetQuizRequest {
|
|
273
319
|
/**
|
|
274
320
|
* ID of the quiz
|
|
@@ -319,9 +365,9 @@ interface BulkDeleteQuizResponse {
|
|
|
319
365
|
* @minSize 1
|
|
320
366
|
* @maxSize 100
|
|
321
367
|
*/
|
|
322
|
-
results?:
|
|
368
|
+
results?: V1BulkQuizResult[];
|
|
323
369
|
/** Metadata about the bulk operation. */
|
|
324
|
-
bulkActionMetadata?:
|
|
370
|
+
bulkActionMetadata?: CommonBulkActionMetadata;
|
|
325
371
|
}
|
|
326
372
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
327
373
|
createdEvent?: EntityCreatedEvent;
|
|
@@ -545,4 +591,4 @@ declare function deleteQuiz(): __PublicMethodMetaInfo<'DELETE', {
|
|
|
545
591
|
}, DeleteQuizRequest$1, DeleteQuizRequest, DeleteQuizResponse$1, DeleteQuizResponse>;
|
|
546
592
|
declare function bulkDeleteQuiz(): __PublicMethodMetaInfo<'POST', {}, BulkDeleteQuizRequest$1, BulkDeleteQuizRequest, BulkDeleteQuizResponse$1, BulkDeleteQuizResponse>;
|
|
547
593
|
|
|
548
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCloneQuizRequest as BulkCloneQuizRequestOriginal, type BulkCloneQuizResponse as BulkCloneQuizResponseOriginal, type BulkCreateQuizRequest as BulkCreateQuizRequestOriginal, type BulkCreateQuizResponse as BulkCreateQuizResponseOriginal, type BulkDeleteQuizRequest as BulkDeleteQuizRequestOriginal, type BulkDeleteQuizResponse as BulkDeleteQuizResponseOriginal, type BulkQuizResult as BulkQuizResultOriginal, type CloneQuizRequest as CloneQuizRequestOriginal, type CloneQuizResponse as CloneQuizResponseOriginal, type CreateQuizRequest as CreateQuizRequestOriginal, type CreateQuizResponse as CreateQuizResponseOriginal, type DeleteQuizRequest as DeleteQuizRequestOriginal, type DeleteQuizResponse as DeleteQuizResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, FileFormat as FileFormatOriginal, type FileFormatWithLiterals as FileFormatWithLiteralsOriginal, type FileUploadField as FileUploadFieldOriginal, type GetQuizRequest as GetQuizRequestOriginal, type GetQuizResponse as GetQuizResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ItemMetadata as ItemMetadataOriginal, type LongTextField as LongTextFieldOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MultiChoiceField as MultiChoiceFieldOriginal, type NumericField as NumericFieldOriginal, type QuizFieldFieldTypeOneOf as QuizFieldFieldTypeOneOfOriginal, type QuizField as QuizFieldOriginal, type Quiz as QuizOriginal, type QuizSettings as QuizSettingsOriginal, type RestoreInfo as RestoreInfoOriginal, type ShortTextField as ShortTextFieldOriginal, type SingleChoiceField as SingleChoiceFieldOriginal, type UpdateQuizRequest as UpdateQuizRequestOriginal, type UpdateQuizResponse as UpdateQuizResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCloneQuiz, bulkCreateQuiz, bulkDeleteQuiz, cloneQuiz, createQuiz, deleteQuiz, getQuiz };
|
|
594
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCloneQuizRequest as BulkCloneQuizRequestOriginal, type BulkCloneQuizResponse as BulkCloneQuizResponseOriginal, type BulkCloneQuizzesRequest as BulkCloneQuizzesRequestOriginal, type BulkCloneQuizzesResponse as BulkCloneQuizzesResponseOriginal, type BulkCreateQuizRequest as BulkCreateQuizRequestOriginal, type BulkCreateQuizResponse as BulkCreateQuizResponseOriginal, type BulkDeleteQuizRequest as BulkDeleteQuizRequestOriginal, type BulkDeleteQuizResponse as BulkDeleteQuizResponseOriginal, type BulkQuizResult as BulkQuizResultOriginal, type CloneQuizRequest as CloneQuizRequestOriginal, type CloneQuizResponse as CloneQuizResponseOriginal, type CommonBulkActionMetadata as CommonBulkActionMetadataOriginal, type CommonItemMetadata as CommonItemMetadataOriginal, type CreateQuizRequest as CreateQuizRequestOriginal, type CreateQuizResponse as CreateQuizResponseOriginal, type DeleteQuizRequest as DeleteQuizRequestOriginal, type DeleteQuizResponse as DeleteQuizResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, FileFormat as FileFormatOriginal, type FileFormatWithLiterals as FileFormatWithLiteralsOriginal, type FileUploadField as FileUploadFieldOriginal, type GetQuizRequest as GetQuizRequestOriginal, type GetQuizResponse as GetQuizResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ItemMetadata as ItemMetadataOriginal, type LongTextField as LongTextFieldOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MultiChoiceField as MultiChoiceFieldOriginal, type NumericField as NumericFieldOriginal, type QuizFieldFieldTypeOneOf as QuizFieldFieldTypeOneOfOriginal, type QuizField as QuizFieldOriginal, type Quiz as QuizOriginal, type QuizSettings as QuizSettingsOriginal, type RestoreInfo as RestoreInfoOriginal, type ShortTextField as ShortTextFieldOriginal, type SingleChoiceField as SingleChoiceFieldOriginal, type UpdateQuizRequest as UpdateQuizRequestOriginal, type UpdateQuizResponse as UpdateQuizResponseOriginal, type V1BulkQuizResult as V1BulkQuizResultOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCloneQuiz, bulkCreateQuiz, bulkDeleteQuiz, cloneQuiz, createQuiz, deleteQuiz, getQuiz };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { Quiz, CloneQuizResponse, BulkCreateQuizOptions, BulkCreateQuizResponse, BulkCloneQuizOptions, BulkCloneQuizResponse, DeleteQuizResponse, BulkDeleteQuizResponse } from './index.typings.mjs';
|
|
3
|
-
export { AccountInfo, ActionEvent, ApplicationError, BulkActionMetadata, BulkCloneQuizRequest, BulkCreateQuizRequest, BulkDeleteQuizRequest, BulkQuizResult, CloneQuizRequest, CreateQuizRequest, CreateQuizResponse, DeleteQuizRequest, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, FileFormat, FileFormatWithLiterals, FileUploadField, GetQuizRequest, GetQuizResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, LongTextField, MessageEnvelope, MultiChoiceField, NumericField, QuizField, QuizFieldFieldTypeOneOf, QuizSettings, RestoreInfo, ShortTextField, SingleChoiceField, UpdateQuizRequest, UpdateQuizResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, ActionEvent, ApplicationError, BulkActionMetadata, BulkCloneQuizRequest, BulkCloneQuizzesRequest, BulkCloneQuizzesResponse, BulkCreateQuizRequest, BulkDeleteQuizRequest, BulkQuizResult, CloneQuizRequest, CommonBulkActionMetadata, CommonItemMetadata, CreateQuizRequest, CreateQuizResponse, DeleteQuizRequest, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, FileFormat, FileFormatWithLiterals, FileUploadField, GetQuizRequest, GetQuizResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, LongTextField, MessageEnvelope, MultiChoiceField, NumericField, QuizField, QuizFieldFieldTypeOneOf, QuizSettings, RestoreInfo, ShortTextField, SingleChoiceField, UpdateQuizRequest, UpdateQuizResponse, V1BulkQuizResult, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createQuiz$1(httpClient: HttpClient): CreateQuizSignature;
|
|
6
6
|
interface CreateQuizSignature {
|
|
@@ -30,7 +30,7 @@ interface BulkCreateQuizSignature {
|
|
|
30
30
|
declare function bulkCloneQuiz$1(httpClient: HttpClient): BulkCloneQuizSignature;
|
|
31
31
|
interface BulkCloneQuizSignature {
|
|
32
32
|
/**
|
|
33
|
-
* Clones quizzes
|
|
33
|
+
* Clones quizzes.
|
|
34
34
|
* @param - IDs of the quizzes to clone.
|
|
35
35
|
*/
|
|
36
36
|
(quizIds: string[], options?: BulkCloneQuizOptions): Promise<NonNullablePaths<BulkCloneQuizResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
@@ -179,7 +179,7 @@ interface FileUploadField {
|
|
|
179
179
|
/**
|
|
180
180
|
* Formats of files that can be uploaded
|
|
181
181
|
* @minSize 1
|
|
182
|
-
* @maxSize
|
|
182
|
+
* @maxSize 5
|
|
183
183
|
*/
|
|
184
184
|
fileFormats?: FileFormatWithLiterals[];
|
|
185
185
|
}
|
|
@@ -205,6 +205,7 @@ interface CloneQuizResponse {
|
|
|
205
205
|
interface BulkCreateQuizRequest {
|
|
206
206
|
/**
|
|
207
207
|
* Quizzes to be created
|
|
208
|
+
* @minSize 1
|
|
208
209
|
* @maxSize 30
|
|
209
210
|
*/
|
|
210
211
|
quizzes: Quiz[];
|
|
@@ -213,15 +214,15 @@ interface BulkCreateQuizRequest {
|
|
|
213
214
|
}
|
|
214
215
|
interface BulkCreateQuizResponse {
|
|
215
216
|
/** Created quizzes with metadata */
|
|
216
|
-
results?:
|
|
217
|
+
results?: V1BulkQuizResult[];
|
|
217
218
|
}
|
|
218
|
-
interface
|
|
219
|
-
/**
|
|
220
|
-
itemMetadata?:
|
|
221
|
-
/**
|
|
219
|
+
interface V1BulkQuizResult {
|
|
220
|
+
/** Metadata for the processed quiz. */
|
|
221
|
+
itemMetadata?: CommonItemMetadata;
|
|
222
|
+
/** Processed quiz. Empty when `return_entity` is `false`. */
|
|
222
223
|
item?: Quiz;
|
|
223
224
|
}
|
|
224
|
-
interface
|
|
225
|
+
interface CommonItemMetadata {
|
|
225
226
|
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
226
227
|
_id?: string | null;
|
|
227
228
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
@@ -239,14 +240,14 @@ interface ApplicationError {
|
|
|
239
240
|
/** Data related to the error. */
|
|
240
241
|
data?: Record<string, any> | null;
|
|
241
242
|
}
|
|
242
|
-
interface
|
|
243
|
+
interface BulkCloneQuizzesRequest {
|
|
243
244
|
/**
|
|
244
245
|
* IDs of the quizzes to clone.
|
|
245
246
|
* @minSize 1
|
|
246
247
|
* @maxSize 30
|
|
247
248
|
* @format GUID
|
|
248
249
|
*/
|
|
249
|
-
quizIds
|
|
250
|
+
quizIds?: string[];
|
|
250
251
|
/**
|
|
251
252
|
* Whether to return the cloned quizzes in the response.
|
|
252
253
|
*
|
|
@@ -254,12 +255,28 @@ interface BulkCloneQuizRequest {
|
|
|
254
255
|
*/
|
|
255
256
|
returnEntity?: boolean;
|
|
256
257
|
}
|
|
257
|
-
interface
|
|
258
|
+
interface BulkCloneQuizzesResponse {
|
|
258
259
|
/** Results of the bulk clone operation, including cloned quizzes and metadata. */
|
|
259
260
|
results?: BulkQuizResult[];
|
|
260
261
|
/** Metadata about the bulk operation. */
|
|
261
262
|
bulkActionMetadata?: BulkActionMetadata;
|
|
262
263
|
}
|
|
264
|
+
interface ItemMetadata {
|
|
265
|
+
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
266
|
+
_id?: string | null;
|
|
267
|
+
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
268
|
+
originalIndex?: number;
|
|
269
|
+
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
270
|
+
success?: boolean;
|
|
271
|
+
/** Details about the error in case of failure. */
|
|
272
|
+
error?: ApplicationError;
|
|
273
|
+
}
|
|
274
|
+
interface BulkQuizResult {
|
|
275
|
+
/** Metadata for the cloned quiz. */
|
|
276
|
+
itemMetadata?: ItemMetadata;
|
|
277
|
+
/** Cloned quiz. Empty when `return_entity` is `false`. */
|
|
278
|
+
item?: Quiz;
|
|
279
|
+
}
|
|
263
280
|
interface BulkActionMetadata {
|
|
264
281
|
/** Number of items that were successfully processed. */
|
|
265
282
|
totalSuccesses?: number;
|
|
@@ -268,6 +285,35 @@ interface BulkActionMetadata {
|
|
|
268
285
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
269
286
|
undetailedFailures?: number;
|
|
270
287
|
}
|
|
288
|
+
interface BulkCloneQuizRequest {
|
|
289
|
+
/**
|
|
290
|
+
* IDs of the quizzes to clone.
|
|
291
|
+
* @minSize 1
|
|
292
|
+
* @maxSize 30
|
|
293
|
+
* @format GUID
|
|
294
|
+
*/
|
|
295
|
+
quizIds: string[];
|
|
296
|
+
/**
|
|
297
|
+
* Whether to return the cloned quizzes in the response.
|
|
298
|
+
*
|
|
299
|
+
* Default: `false`
|
|
300
|
+
*/
|
|
301
|
+
returnEntity?: boolean;
|
|
302
|
+
}
|
|
303
|
+
interface BulkCloneQuizResponse {
|
|
304
|
+
/** Results of the bulk clone operation, including cloned quizzes and metadata. */
|
|
305
|
+
results?: V1BulkQuizResult[];
|
|
306
|
+
/** Metadata about the bulk operation. */
|
|
307
|
+
bulkActionMetadata?: CommonBulkActionMetadata;
|
|
308
|
+
}
|
|
309
|
+
interface CommonBulkActionMetadata {
|
|
310
|
+
/** Number of items that were successfully processed. */
|
|
311
|
+
totalSuccesses?: number;
|
|
312
|
+
/** Number of items that couldn't be processed. */
|
|
313
|
+
totalFailures?: number;
|
|
314
|
+
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
315
|
+
undetailedFailures?: number;
|
|
316
|
+
}
|
|
271
317
|
interface GetQuizRequest {
|
|
272
318
|
/**
|
|
273
319
|
* ID of the quiz
|
|
@@ -318,9 +364,9 @@ interface BulkDeleteQuizResponse {
|
|
|
318
364
|
* @minSize 1
|
|
319
365
|
* @maxSize 100
|
|
320
366
|
*/
|
|
321
|
-
results?:
|
|
367
|
+
results?: V1BulkQuizResult[];
|
|
322
368
|
/** Metadata about the bulk operation. */
|
|
323
|
-
bulkActionMetadata?:
|
|
369
|
+
bulkActionMetadata?: CommonBulkActionMetadata;
|
|
324
370
|
}
|
|
325
371
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
326
372
|
createdEvent?: EntityCreatedEvent;
|
|
@@ -525,7 +571,7 @@ interface BulkCreateQuizOptions {
|
|
|
525
571
|
returnEntity?: boolean;
|
|
526
572
|
}
|
|
527
573
|
/**
|
|
528
|
-
* Clones quizzes
|
|
574
|
+
* Clones quizzes.
|
|
529
575
|
* @param quizIds - IDs of the quizzes to clone.
|
|
530
576
|
* @public
|
|
531
577
|
* @documentationMaturity preview
|
|
@@ -576,4 +622,4 @@ declare function deleteQuiz(quizId: string): Promise<NonNullablePaths<DeleteQuiz
|
|
|
576
622
|
*/
|
|
577
623
|
declare function bulkDeleteQuiz(quizIds: string[]): Promise<NonNullablePaths<BulkDeleteQuizResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
578
624
|
|
|
579
|
-
export { type AccountInfo, type ActionEvent, type ApplicationError, type BulkActionMetadata, type BulkCloneQuizOptions, type BulkCloneQuizRequest, type BulkCloneQuizResponse, type BulkCreateQuizOptions, type BulkCreateQuizRequest, type BulkCreateQuizResponse, type BulkDeleteQuizRequest, type BulkDeleteQuizResponse, type BulkQuizResult, type CloneQuizRequest, type CloneQuizResponse, type CreateQuizRequest, type CreateQuizResponse, type DeleteQuizRequest, type DeleteQuizResponse, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, FileFormat, type FileFormatWithLiterals, type FileUploadField, type GetQuizRequest, type GetQuizResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type LongTextField, type MessageEnvelope, type MultiChoiceField, type NumericField, type Quiz, type QuizField, type QuizFieldFieldTypeOneOf, type QuizSettings, type RestoreInfo, type ShortTextField, type SingleChoiceField, type UpdateQuizRequest, type UpdateQuizResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkCloneQuiz, bulkCreateQuiz, bulkDeleteQuiz, cloneQuiz, createQuiz, deleteQuiz, getQuiz };
|
|
625
|
+
export { type AccountInfo, type ActionEvent, type ApplicationError, type BulkActionMetadata, type BulkCloneQuizOptions, type BulkCloneQuizRequest, type BulkCloneQuizResponse, type BulkCloneQuizzesRequest, type BulkCloneQuizzesResponse, type BulkCreateQuizOptions, type BulkCreateQuizRequest, type BulkCreateQuizResponse, type BulkDeleteQuizRequest, type BulkDeleteQuizResponse, type BulkQuizResult, type CloneQuizRequest, type CloneQuizResponse, type CommonBulkActionMetadata, type CommonItemMetadata, type CreateQuizRequest, type CreateQuizResponse, type DeleteQuizRequest, type DeleteQuizResponse, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, FileFormat, type FileFormatWithLiterals, type FileUploadField, type GetQuizRequest, type GetQuizResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type LongTextField, type MessageEnvelope, type MultiChoiceField, type NumericField, type Quiz, type QuizField, type QuizFieldFieldTypeOneOf, type QuizSettings, type RestoreInfo, type ShortTextField, type SingleChoiceField, type UpdateQuizRequest, type UpdateQuizResponse, type V1BulkQuizResult, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkCloneQuiz, bulkCreateQuiz, bulkDeleteQuiz, cloneQuiz, createQuiz, deleteQuiz, getQuiz };
|
|
@@ -180,7 +180,7 @@ interface FileUploadField {
|
|
|
180
180
|
/**
|
|
181
181
|
* Formats of files that can be uploaded
|
|
182
182
|
* @minSize 1
|
|
183
|
-
* @maxSize
|
|
183
|
+
* @maxSize 5
|
|
184
184
|
*/
|
|
185
185
|
fileFormats?: FileFormatWithLiterals[];
|
|
186
186
|
}
|
|
@@ -206,6 +206,7 @@ interface CloneQuizResponse {
|
|
|
206
206
|
interface BulkCreateQuizRequest {
|
|
207
207
|
/**
|
|
208
208
|
* Quizzes to be created
|
|
209
|
+
* @minSize 1
|
|
209
210
|
* @maxSize 30
|
|
210
211
|
*/
|
|
211
212
|
quizzes: Quiz[];
|
|
@@ -214,15 +215,15 @@ interface BulkCreateQuizRequest {
|
|
|
214
215
|
}
|
|
215
216
|
interface BulkCreateQuizResponse {
|
|
216
217
|
/** Created quizzes with metadata */
|
|
217
|
-
results?:
|
|
218
|
+
results?: V1BulkQuizResult[];
|
|
218
219
|
}
|
|
219
|
-
interface
|
|
220
|
-
/**
|
|
221
|
-
itemMetadata?:
|
|
222
|
-
/**
|
|
220
|
+
interface V1BulkQuizResult {
|
|
221
|
+
/** Metadata for the processed quiz. */
|
|
222
|
+
itemMetadata?: CommonItemMetadata;
|
|
223
|
+
/** Processed quiz. Empty when `return_entity` is `false`. */
|
|
223
224
|
item?: Quiz;
|
|
224
225
|
}
|
|
225
|
-
interface
|
|
226
|
+
interface CommonItemMetadata {
|
|
226
227
|
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
227
228
|
id?: string | null;
|
|
228
229
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
@@ -240,14 +241,14 @@ interface ApplicationError {
|
|
|
240
241
|
/** Data related to the error. */
|
|
241
242
|
data?: Record<string, any> | null;
|
|
242
243
|
}
|
|
243
|
-
interface
|
|
244
|
+
interface BulkCloneQuizzesRequest {
|
|
244
245
|
/**
|
|
245
246
|
* IDs of the quizzes to clone.
|
|
246
247
|
* @minSize 1
|
|
247
248
|
* @maxSize 30
|
|
248
249
|
* @format GUID
|
|
249
250
|
*/
|
|
250
|
-
quizIds
|
|
251
|
+
quizIds?: string[];
|
|
251
252
|
/**
|
|
252
253
|
* Whether to return the cloned quizzes in the response.
|
|
253
254
|
*
|
|
@@ -255,12 +256,28 @@ interface BulkCloneQuizRequest {
|
|
|
255
256
|
*/
|
|
256
257
|
returnEntity?: boolean;
|
|
257
258
|
}
|
|
258
|
-
interface
|
|
259
|
+
interface BulkCloneQuizzesResponse {
|
|
259
260
|
/** Results of the bulk clone operation, including cloned quizzes and metadata. */
|
|
260
261
|
results?: BulkQuizResult[];
|
|
261
262
|
/** Metadata about the bulk operation. */
|
|
262
263
|
bulkActionMetadata?: BulkActionMetadata;
|
|
263
264
|
}
|
|
265
|
+
interface ItemMetadata {
|
|
266
|
+
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
|
267
|
+
id?: string | null;
|
|
268
|
+
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
269
|
+
originalIndex?: number;
|
|
270
|
+
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
271
|
+
success?: boolean;
|
|
272
|
+
/** Details about the error in case of failure. */
|
|
273
|
+
error?: ApplicationError;
|
|
274
|
+
}
|
|
275
|
+
interface BulkQuizResult {
|
|
276
|
+
/** Metadata for the cloned quiz. */
|
|
277
|
+
itemMetadata?: ItemMetadata;
|
|
278
|
+
/** Cloned quiz. Empty when `return_entity` is `false`. */
|
|
279
|
+
item?: Quiz;
|
|
280
|
+
}
|
|
264
281
|
interface BulkActionMetadata {
|
|
265
282
|
/** Number of items that were successfully processed. */
|
|
266
283
|
totalSuccesses?: number;
|
|
@@ -269,6 +286,35 @@ interface BulkActionMetadata {
|
|
|
269
286
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
270
287
|
undetailedFailures?: number;
|
|
271
288
|
}
|
|
289
|
+
interface BulkCloneQuizRequest {
|
|
290
|
+
/**
|
|
291
|
+
* IDs of the quizzes to clone.
|
|
292
|
+
* @minSize 1
|
|
293
|
+
* @maxSize 30
|
|
294
|
+
* @format GUID
|
|
295
|
+
*/
|
|
296
|
+
quizIds: string[];
|
|
297
|
+
/**
|
|
298
|
+
* Whether to return the cloned quizzes in the response.
|
|
299
|
+
*
|
|
300
|
+
* Default: `false`
|
|
301
|
+
*/
|
|
302
|
+
returnEntity?: boolean;
|
|
303
|
+
}
|
|
304
|
+
interface BulkCloneQuizResponse {
|
|
305
|
+
/** Results of the bulk clone operation, including cloned quizzes and metadata. */
|
|
306
|
+
results?: V1BulkQuizResult[];
|
|
307
|
+
/** Metadata about the bulk operation. */
|
|
308
|
+
bulkActionMetadata?: CommonBulkActionMetadata;
|
|
309
|
+
}
|
|
310
|
+
interface CommonBulkActionMetadata {
|
|
311
|
+
/** Number of items that were successfully processed. */
|
|
312
|
+
totalSuccesses?: number;
|
|
313
|
+
/** Number of items that couldn't be processed. */
|
|
314
|
+
totalFailures?: number;
|
|
315
|
+
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
316
|
+
undetailedFailures?: number;
|
|
317
|
+
}
|
|
272
318
|
interface GetQuizRequest {
|
|
273
319
|
/**
|
|
274
320
|
* ID of the quiz
|
|
@@ -319,9 +365,9 @@ interface BulkDeleteQuizResponse {
|
|
|
319
365
|
* @minSize 1
|
|
320
366
|
* @maxSize 100
|
|
321
367
|
*/
|
|
322
|
-
results?:
|
|
368
|
+
results?: V1BulkQuizResult[];
|
|
323
369
|
/** Metadata about the bulk operation. */
|
|
324
|
-
bulkActionMetadata?:
|
|
370
|
+
bulkActionMetadata?: CommonBulkActionMetadata;
|
|
325
371
|
}
|
|
326
372
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
327
373
|
createdEvent?: EntityCreatedEvent;
|
|
@@ -545,4 +591,4 @@ declare function deleteQuiz(): __PublicMethodMetaInfo<'DELETE', {
|
|
|
545
591
|
}, DeleteQuizRequest$1, DeleteQuizRequest, DeleteQuizResponse$1, DeleteQuizResponse>;
|
|
546
592
|
declare function bulkDeleteQuiz(): __PublicMethodMetaInfo<'POST', {}, BulkDeleteQuizRequest$1, BulkDeleteQuizRequest, BulkDeleteQuizResponse$1, BulkDeleteQuizResponse>;
|
|
547
593
|
|
|
548
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCloneQuizRequest as BulkCloneQuizRequestOriginal, type BulkCloneQuizResponse as BulkCloneQuizResponseOriginal, type BulkCreateQuizRequest as BulkCreateQuizRequestOriginal, type BulkCreateQuizResponse as BulkCreateQuizResponseOriginal, type BulkDeleteQuizRequest as BulkDeleteQuizRequestOriginal, type BulkDeleteQuizResponse as BulkDeleteQuizResponseOriginal, type BulkQuizResult as BulkQuizResultOriginal, type CloneQuizRequest as CloneQuizRequestOriginal, type CloneQuizResponse as CloneQuizResponseOriginal, type CreateQuizRequest as CreateQuizRequestOriginal, type CreateQuizResponse as CreateQuizResponseOriginal, type DeleteQuizRequest as DeleteQuizRequestOriginal, type DeleteQuizResponse as DeleteQuizResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, FileFormat as FileFormatOriginal, type FileFormatWithLiterals as FileFormatWithLiteralsOriginal, type FileUploadField as FileUploadFieldOriginal, type GetQuizRequest as GetQuizRequestOriginal, type GetQuizResponse as GetQuizResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ItemMetadata as ItemMetadataOriginal, type LongTextField as LongTextFieldOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MultiChoiceField as MultiChoiceFieldOriginal, type NumericField as NumericFieldOriginal, type QuizFieldFieldTypeOneOf as QuizFieldFieldTypeOneOfOriginal, type QuizField as QuizFieldOriginal, type Quiz as QuizOriginal, type QuizSettings as QuizSettingsOriginal, type RestoreInfo as RestoreInfoOriginal, type ShortTextField as ShortTextFieldOriginal, type SingleChoiceField as SingleChoiceFieldOriginal, type UpdateQuizRequest as UpdateQuizRequestOriginal, type UpdateQuizResponse as UpdateQuizResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCloneQuiz, bulkCreateQuiz, bulkDeleteQuiz, cloneQuiz, createQuiz, deleteQuiz, getQuiz };
|
|
594
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCloneQuizRequest as BulkCloneQuizRequestOriginal, type BulkCloneQuizResponse as BulkCloneQuizResponseOriginal, type BulkCloneQuizzesRequest as BulkCloneQuizzesRequestOriginal, type BulkCloneQuizzesResponse as BulkCloneQuizzesResponseOriginal, type BulkCreateQuizRequest as BulkCreateQuizRequestOriginal, type BulkCreateQuizResponse as BulkCreateQuizResponseOriginal, type BulkDeleteQuizRequest as BulkDeleteQuizRequestOriginal, type BulkDeleteQuizResponse as BulkDeleteQuizResponseOriginal, type BulkQuizResult as BulkQuizResultOriginal, type CloneQuizRequest as CloneQuizRequestOriginal, type CloneQuizResponse as CloneQuizResponseOriginal, type CommonBulkActionMetadata as CommonBulkActionMetadataOriginal, type CommonItemMetadata as CommonItemMetadataOriginal, type CreateQuizRequest as CreateQuizRequestOriginal, type CreateQuizResponse as CreateQuizResponseOriginal, type DeleteQuizRequest as DeleteQuizRequestOriginal, type DeleteQuizResponse as DeleteQuizResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, FileFormat as FileFormatOriginal, type FileFormatWithLiterals as FileFormatWithLiteralsOriginal, type FileUploadField as FileUploadFieldOriginal, type GetQuizRequest as GetQuizRequestOriginal, type GetQuizResponse as GetQuizResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ItemMetadata as ItemMetadataOriginal, type LongTextField as LongTextFieldOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MultiChoiceField as MultiChoiceFieldOriginal, type NumericField as NumericFieldOriginal, type QuizFieldFieldTypeOneOf as QuizFieldFieldTypeOneOfOriginal, type QuizField as QuizFieldOriginal, type Quiz as QuizOriginal, type QuizSettings as QuizSettingsOriginal, type RestoreInfo as RestoreInfoOriginal, type ShortTextField as ShortTextFieldOriginal, type SingleChoiceField as SingleChoiceFieldOriginal, type UpdateQuizRequest as UpdateQuizRequestOriginal, type UpdateQuizResponse as UpdateQuizResponseOriginal, type V1BulkQuizResult as V1BulkQuizResultOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCloneQuiz, bulkCreateQuiz, bulkDeleteQuiz, cloneQuiz, createQuiz, deleteQuiz, getQuiz };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_online-programs_quizzes",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -21,23 +21,16 @@
|
|
|
21
21
|
"import": "./build/es/meta.mjs",
|
|
22
22
|
"require": "./build/cjs/meta.js",
|
|
23
23
|
"types": "./build/es/meta.d.mts"
|
|
24
|
-
},
|
|
25
|
-
"./schemas": {
|
|
26
|
-
"import": "./build/es/schemas.mjs",
|
|
27
|
-
"require": "./build/cjs/schemas.js",
|
|
28
|
-
"types": "./build/es/schemas.d.mts"
|
|
29
24
|
}
|
|
30
25
|
},
|
|
31
26
|
"files": [
|
|
32
27
|
"build",
|
|
33
28
|
"meta",
|
|
34
|
-
"service-plugins"
|
|
35
|
-
"schemas"
|
|
29
|
+
"service-plugins"
|
|
36
30
|
],
|
|
37
31
|
"dependencies": {
|
|
38
32
|
"@wix/sdk-runtime": "^1.0.24",
|
|
39
|
-
"@wix/sdk-types": "^1.17.11"
|
|
40
|
-
"zod": "^4.3.6"
|
|
33
|
+
"@wix/sdk-types": "^1.17.11"
|
|
41
34
|
},
|
|
42
35
|
"devDependencies": {
|
|
43
36
|
"tsup": "^8.4.0",
|
|
@@ -57,5 +50,5 @@
|
|
|
57
50
|
"fqdn": "wix.achievements.quizzes.v1.quiz"
|
|
58
51
|
}
|
|
59
52
|
},
|
|
60
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "bde2268fb5e0386dcfbbcd37cbd140f395582d88b4007080f809d2c4"
|
|
61
54
|
}
|