@wix/auto_sdk_online-programs_participants 1.0.28 → 1.0.30
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 +133 -184
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +82 -105
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +10 -2
- package/build/cjs/meta.js +82 -105
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{online-programs-participants-v3-participant-participants.universal-BrdlJaIZ.d.ts → online-programs-participants-v3-participant-participants.universal-PXhlXOzv.d.ts} +9 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +132 -184
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +81 -105
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +10 -2
- package/build/es/meta.mjs +81 -105
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{online-programs-participants-v3-participant-participants.universal-BrdlJaIZ.d.mts → online-programs-participants-v3-participant-participants.universal-PXhlXOzv.d.mts} +9 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/meta.d.ts +10 -2
- package/build/internal/cjs/{online-programs-participants-v3-participant-participants.universal-02Rnv8b6.d.ts → online-programs-participants-v3-participant-participants.universal-bQwrHNX-.d.ts} +9 -1
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/meta.d.mts +10 -2
- package/build/internal/es/{online-programs-participants-v3-participant-participants.universal-02Rnv8b6.d.mts → online-programs-participants-v3-participant-participants.universal-bQwrHNX-.d.mts} +9 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { b6 as CursorSearch, S as SearchParticipantsOptions, u as SearchParticipantsResponse } from './online-programs-participants-v3-participant-participants.universal-PXhlXOzv.mjs';
|
|
2
|
+
export { bU as AccountInfo, bZ as AccountInfoMetadata, bP as ActionEvent, b8 as Aggregation, bo as AggregationData, b9 as AggregationKindOneOf, bH as AggregationResults, bI as AggregationResultsResultOneOf, bv as AggregationResultsScalarResult, a0 as AggregationType, cf as AggregationTypeWithLiterals, aw as ApplicationError, bX as BaseEventMetadata, ax as BulkActionMetadata, T as BulkActionType, c7 as BulkActionTypeWithLiterals, d as BulkCreateParticipantsApplicationErrors, e as BulkCreateParticipantsForAllMembersOptions, aI as BulkCreateParticipantsForAllMembersRequest, f as BulkCreateParticipantsForAllMembersResponse, B as BulkCreateParticipantsOptions, at as BulkCreateParticipantsRequest, c as BulkCreateParticipantsResponse, aB as BulkParticipantMigrationResult, au as BulkParticipantResult, p as BulkUpdateParticipantTagsApplicationErrors, s as BulkUpdateParticipantTagsByFilterApplicationErrors, q as BulkUpdateParticipantTagsByFilterOptions, b4 as BulkUpdateParticipantTagsByFilterRequest, r as BulkUpdateParticipantTagsByFilterResponse, n as BulkUpdateParticipantTagsOptions, b2 as BulkUpdateParticipantTagsRequest, o as BulkUpdateParticipantTagsResponse, b3 as BulkUpdateParticipantTagsResult, ay as BulkUpsertParticipantsMigrationRequest, aA as BulkUpsertParticipantsMigrationResponse, a7 as CertificateInfo, ci as CommonQueryWithEntityContext, cj as CommonSearchWithEntityContext, a as CreateParticipantApplicationErrors, C as CreateParticipantOptions, ap as CreateParticipantRequest, aq as CreateParticipantResponse, aZ as CursorPaging, bn as CursorPagingMetadata, b7 as CursorSearchPagingMethodOneOf, b0 as Cursors, bg as DateHistogramAggregation, bD as DateHistogramResult, bF as DateHistogramResults, ah as Delete, aC as DeleteAllParticipantsMigrationRequest, aD as DeleteAllParticipantsMigrationResponse, aJ as DeleteParticipantRequest, aK as DeleteParticipantResponse, bJ as DomainEvent, bK as DomainEventBodyOneOf, bQ as Empty, a9 as EnrollmentInfo, aa as EnrollmentInfoPricingTypeDetailsOneOf, M as EnrollmentStatus, c3 as EnrollmentStatusWithLiterals, bL as EntityCreatedEvent, bO as EntityDeletedEvent, bN as EntityUpdatedEvent, bY as EventMetadata, bV as ExportParticipantsStatsRequest, bW as ExportParticipantsStatsResponse, ab as ExtendedFields, a5 as FreeCouponDetails, b1 as GetAccessStatusRequest, m as GetAccessStatusResponse, i as GetCertificateDownloadUrlApplicationErrors, aM as GetCertificateDownloadUrlRequest, G as GetCertificateDownloadUrlResponse, aN as GetCompletionStatsRequest, aO as GetCompletionStatsResponse, l as GetParticipantOptions, aS as GetParticipantRequest, aT as GetParticipantResponse, aQ as GetParticipationStatsRequest, k as GetParticipationStatsResponse, aP as GetPremiumStatsRequest, j as GetPremiumStatsResponse, bk as GroupByAggregation, bl as GroupByAggregationKindOneOf, bE as GroupByValueResults, bS as IdentificationData, bT as IdentificationDataIdOneOf, bb as IncludeMissingValuesOptions, $ as Interval, ce as IntervalWithLiterals, h as IssueCertificateApplicationErrors, I as IssueCertificateOptions, aL as IssueCertificateRequest, g as IssueCertificateResponse, av as ItemMetadata, a8 as Member, bR as MessageEnvelope, Y as MissingValues, cb as MissingValuesWithLiterals, a1 as Mode, cg as ModeWithLiterals, bj as NestedAggregation, bh as NestedAggregationItem, bi as NestedAggregationItemKindOneOf, br as NestedAggregationResults, bs as NestedAggregationResultsResultOneOf, _ as NestedAggregationType, cd as NestedAggregationTypeWithLiterals, bA as NestedResultValue, bB as NestedResultValueResultOneOf, bG as NestedResults, bw as NestedValueAggregationResult, aY as Paging, a$ as PagingMetadataV2, a4 as PaidPlanDetails, P as Participant, ak as ParticipantCompletedProgram, v as ParticipantCompletedProgramEnvelope, w as ParticipantCreatedEnvelope, x as ParticipantDeletedEnvelope, ao as ParticipantLeft, y as ParticipantLeftEnvelope, az as ParticipantMigration, al as ParticipantMissedProgramDeadline, z as ParticipantMissedProgramDeadlineEnvelope, am as ParticipantProgramDurationEnded, A as ParticipantProgramDurationEndedEnvelope, H as ParticipantQuery, b$ as ParticipantQuerySpec, an as ParticipantRemoved, D as ParticipantRemovedEnvelope, c0 as ParticipantSearchSpec, aj as ParticipantTagsModified, E as ParticipantTagsModifiedEnvelope, F as ParticipantUpdatedEnvelope, K as ParticipantsQueryBuilder, b_ as ParticipantsQueryResult, L as PricingType, c2 as PricingTypeWithLiterals, aR as ProgramParticipationStats, a6 as Progress, N as ProgressStatus, c4 as ProgressStatusWithLiterals, Q as QueryParticipantsOptions, aU as QueryParticipantsRequest, a_ as QueryParticipantsResponse, aV as QueryV2, aW as QueryV2PagingMethodOneOf, be as RangeAggregation, bq as RangeAggregationResult, ba as RangeBucket, by as RangeResult, bu as RangeResults, ae as ReindexMessage, af as ReindexMessageActionOneOf, aE as ReindexParticipantsSearchRequest, aF as ReindexParticipantsSearchResponse, R as RemovalReason, c5 as RemovalReasonWithLiterals, O as RequestedFields, c6 as RequestedFieldsWithLiterals, bM as RestoreInfo, bC as Results, bf as ScalarAggregation, bz as ScalarResult, Z as ScalarType, cc as ScalarTypeWithLiterals, ai as Schema, bm as SearchDetails, b5 as SearchParticipantsRequest, a3 as SinglePaymentDetails, X as SortDirection, ca as SortDirectionWithLiterals, V as SortOrder, c8 as SortOrderWithLiterals, W as SortType, c9 as SortTypeWithLiterals, aX as Sorting, aG as SynchronizeTimeCapsuleTasksRequest, aH as SynchronizeTimeCapsuleTasksResponse, ad as TagList, ac as Tags, U as UpdateParticipant, b as UpdateParticipantOptions, ar as UpdateParticipantRequest, as as UpdateParticipantResponse, ag as Upsert, bc as ValueAggregation, bd as ValueAggregationOptionsOneOf, bp as ValueAggregationResult, bx as ValueResult, bt as ValueResults, a2 as WebhookIdentityType, ch as WebhookIdentityTypeWithLiterals, cv as bulkCreateParticipants, cw as bulkCreateParticipantsForAllMembers, cF as bulkUpdateParticipantTags, cG as bulkUpdateParticipantTagsByFilter, ct as createParticipant, cx as deleteParticipant, cE as getAccessStatus, cz as getCertificateDownloadUrl, cC as getParticipant, cB as getParticipationStats, cA as getPremiumStats, cy as issueCertificate, ck as onParticipantCompletedProgram, cl as onParticipantCreated, cm as onParticipantDeleted, cn as onParticipantLeft, co as onParticipantMissedProgramDeadline, cp as onParticipantProgramDurationEnded, cq as onParticipantRemoved, cr as onParticipantTagsModified, cs as onParticipantUpdated, cD as queryParticipants, J as typedQueryParticipants, cu as updateParticipant, c1 as utils } from './online-programs-participants-v3-participant-participants.universal-PXhlXOzv.mjs';
|
|
3
3
|
import '@wix/sdk-types';
|
|
4
4
|
|
|
5
5
|
/** @hidden */
|
|
@@ -15,6 +15,59 @@ import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transform
|
|
|
15
15
|
import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
|
|
16
16
|
import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
17
17
|
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
18
|
+
var TRANSFORM_PATHS_0 = [
|
|
19
|
+
{ path: "participant.createdDate" },
|
|
20
|
+
{ path: "participant.updatedDate" },
|
|
21
|
+
{ path: "participant.lastActivityDate" },
|
|
22
|
+
{ path: "participant.certificateInfo.issueDate" }
|
|
23
|
+
];
|
|
24
|
+
var TRANSFORM_PATHS_1 = [
|
|
25
|
+
{ path: "participant.progress.completionPercentage" }
|
|
26
|
+
];
|
|
27
|
+
var TRANSFORM_PATHS_2 = [{ path: "fieldMask" }];
|
|
28
|
+
var TRANSFORM_PATHS_3 = [
|
|
29
|
+
{ path: "participants.createdDate" },
|
|
30
|
+
{ path: "participants.updatedDate" },
|
|
31
|
+
{ path: "participants.lastActivityDate" },
|
|
32
|
+
{ path: "participants.certificateInfo.issueDate" }
|
|
33
|
+
];
|
|
34
|
+
var TRANSFORM_PATHS_4 = [
|
|
35
|
+
{ path: "participants.progress.completionPercentage" }
|
|
36
|
+
];
|
|
37
|
+
var TRANSFORM_PATHS_5 = [
|
|
38
|
+
{ path: "results.item.createdDate" },
|
|
39
|
+
{ path: "results.item.updatedDate" },
|
|
40
|
+
{ path: "results.item.lastActivityDate" },
|
|
41
|
+
{ path: "results.item.certificateInfo.issueDate" }
|
|
42
|
+
];
|
|
43
|
+
var TRANSFORM_PATHS_6 = [
|
|
44
|
+
{ path: "results.item.progress.completionPercentage" }
|
|
45
|
+
];
|
|
46
|
+
var TRANSFORM_PATHS_7 = [{ path: "expirationDate" }];
|
|
47
|
+
var TRANSFORM_PATHS_8 = [
|
|
48
|
+
{ path: "search.aggregations.range.buckets.from" },
|
|
49
|
+
{ path: "search.aggregations.range.buckets.to" },
|
|
50
|
+
{ path: "search.aggregations.nested.nestedAggregations.range.buckets.from" },
|
|
51
|
+
{ path: "search.aggregations.nested.nestedAggregations.range.buckets.to" }
|
|
52
|
+
];
|
|
53
|
+
var TRANSFORM_PATHS_9 = [
|
|
54
|
+
{ path: "participants.progress.completionPercentage" },
|
|
55
|
+
{ path: "aggregationData.results.scalar.value" },
|
|
56
|
+
{
|
|
57
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
|
|
58
|
+
},
|
|
59
|
+
{ path: "aggregationData.results.nested.results.results.*.scalar.value" },
|
|
60
|
+
{ path: "aggregationData.results.ranges.results.from" },
|
|
61
|
+
{ path: "aggregationData.results.ranges.results.to" },
|
|
62
|
+
{
|
|
63
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
|
|
67
|
+
},
|
|
68
|
+
{ path: "aggregationData.results.nested.results.results.*.range.from" },
|
|
69
|
+
{ path: "aggregationData.results.nested.results.results.*.range.to" }
|
|
70
|
+
];
|
|
18
71
|
function resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl(opts) {
|
|
19
72
|
const domainToMappings = {
|
|
20
73
|
"bo._base_domain_": [
|
|
@@ -195,16 +248,11 @@ function createParticipant(payload) {
|
|
|
195
248
|
const serializedData = transformPaths(payload, [
|
|
196
249
|
{
|
|
197
250
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
198
|
-
paths:
|
|
199
|
-
{ path: "participant.createdDate" },
|
|
200
|
-
{ path: "participant.updatedDate" },
|
|
201
|
-
{ path: "participant.lastActivityDate" },
|
|
202
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
203
|
-
]
|
|
251
|
+
paths: TRANSFORM_PATHS_0
|
|
204
252
|
},
|
|
205
253
|
{
|
|
206
254
|
transformFn: transformSDKFloatToRESTFloat,
|
|
207
|
-
paths:
|
|
255
|
+
paths: TRANSFORM_PATHS_1
|
|
208
256
|
}
|
|
209
257
|
]);
|
|
210
258
|
const metadata = {
|
|
@@ -224,16 +272,11 @@ function createParticipant(payload) {
|
|
|
224
272
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
225
273
|
{
|
|
226
274
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
227
|
-
paths:
|
|
228
|
-
{ path: "participant.createdDate" },
|
|
229
|
-
{ path: "participant.updatedDate" },
|
|
230
|
-
{ path: "participant.lastActivityDate" },
|
|
231
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
232
|
-
]
|
|
275
|
+
paths: TRANSFORM_PATHS_0
|
|
233
276
|
},
|
|
234
277
|
{
|
|
235
278
|
transformFn: transformRESTFloatToSDKFloat,
|
|
236
|
-
paths:
|
|
279
|
+
paths: TRANSFORM_PATHS_1
|
|
237
280
|
}
|
|
238
281
|
])
|
|
239
282
|
};
|
|
@@ -246,20 +289,15 @@ function updateParticipant(payload) {
|
|
|
246
289
|
const serializedData = transformPaths(payload, [
|
|
247
290
|
{
|
|
248
291
|
transformFn: transformSDKFieldMaskToRESTFieldMask,
|
|
249
|
-
paths:
|
|
292
|
+
paths: TRANSFORM_PATHS_2
|
|
250
293
|
},
|
|
251
294
|
{
|
|
252
295
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
253
|
-
paths:
|
|
254
|
-
{ path: "participant.createdDate" },
|
|
255
|
-
{ path: "participant.updatedDate" },
|
|
256
|
-
{ path: "participant.lastActivityDate" },
|
|
257
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
258
|
-
]
|
|
296
|
+
paths: TRANSFORM_PATHS_0
|
|
259
297
|
},
|
|
260
298
|
{
|
|
261
299
|
transformFn: transformSDKFloatToRESTFloat,
|
|
262
|
-
paths:
|
|
300
|
+
paths: TRANSFORM_PATHS_1
|
|
263
301
|
}
|
|
264
302
|
]);
|
|
265
303
|
const metadata = {
|
|
@@ -279,16 +317,11 @@ function updateParticipant(payload) {
|
|
|
279
317
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
280
318
|
{
|
|
281
319
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
282
|
-
paths:
|
|
283
|
-
{ path: "participant.createdDate" },
|
|
284
|
-
{ path: "participant.updatedDate" },
|
|
285
|
-
{ path: "participant.lastActivityDate" },
|
|
286
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
287
|
-
]
|
|
320
|
+
paths: TRANSFORM_PATHS_0
|
|
288
321
|
},
|
|
289
322
|
{
|
|
290
323
|
transformFn: transformRESTFloatToSDKFloat,
|
|
291
|
-
paths:
|
|
324
|
+
paths: TRANSFORM_PATHS_1
|
|
292
325
|
}
|
|
293
326
|
])
|
|
294
327
|
};
|
|
@@ -301,16 +334,11 @@ function bulkCreateParticipants(payload) {
|
|
|
301
334
|
const serializedData = transformPaths(payload, [
|
|
302
335
|
{
|
|
303
336
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
304
|
-
paths:
|
|
305
|
-
{ path: "participants.createdDate" },
|
|
306
|
-
{ path: "participants.updatedDate" },
|
|
307
|
-
{ path: "participants.lastActivityDate" },
|
|
308
|
-
{ path: "participants.certificateInfo.issueDate" }
|
|
309
|
-
]
|
|
337
|
+
paths: TRANSFORM_PATHS_3
|
|
310
338
|
},
|
|
311
339
|
{
|
|
312
340
|
transformFn: transformSDKFloatToRESTFloat,
|
|
313
|
-
paths:
|
|
341
|
+
paths: TRANSFORM_PATHS_4
|
|
314
342
|
}
|
|
315
343
|
]);
|
|
316
344
|
const metadata = {
|
|
@@ -330,16 +358,11 @@ function bulkCreateParticipants(payload) {
|
|
|
330
358
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
331
359
|
{
|
|
332
360
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
333
|
-
paths:
|
|
334
|
-
{ path: "results.item.createdDate" },
|
|
335
|
-
{ path: "results.item.updatedDate" },
|
|
336
|
-
{ path: "results.item.lastActivityDate" },
|
|
337
|
-
{ path: "results.item.certificateInfo.issueDate" }
|
|
338
|
-
]
|
|
361
|
+
paths: TRANSFORM_PATHS_5
|
|
339
362
|
},
|
|
340
363
|
{
|
|
341
364
|
transformFn: transformRESTFloatToSDKFloat,
|
|
342
|
-
paths:
|
|
365
|
+
paths: TRANSFORM_PATHS_6
|
|
343
366
|
}
|
|
344
367
|
])
|
|
345
368
|
};
|
|
@@ -408,16 +431,11 @@ function issueCertificate(payload) {
|
|
|
408
431
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
409
432
|
{
|
|
410
433
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
411
|
-
paths:
|
|
412
|
-
{ path: "participant.createdDate" },
|
|
413
|
-
{ path: "participant.updatedDate" },
|
|
414
|
-
{ path: "participant.lastActivityDate" },
|
|
415
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
416
|
-
]
|
|
434
|
+
paths: TRANSFORM_PATHS_0
|
|
417
435
|
},
|
|
418
436
|
{
|
|
419
437
|
transformFn: transformRESTFloatToSDKFloat,
|
|
420
|
-
paths:
|
|
438
|
+
paths: TRANSFORM_PATHS_1
|
|
421
439
|
}
|
|
422
440
|
])
|
|
423
441
|
};
|
|
@@ -444,7 +462,7 @@ function getCertificateDownloadUrl(payload) {
|
|
|
444
462
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
445
463
|
{
|
|
446
464
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
447
|
-
paths:
|
|
465
|
+
paths: TRANSFORM_PATHS_7
|
|
448
466
|
}
|
|
449
467
|
])
|
|
450
468
|
};
|
|
@@ -513,16 +531,11 @@ function getParticipant(payload) {
|
|
|
513
531
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
514
532
|
{
|
|
515
533
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
516
|
-
paths:
|
|
517
|
-
{ path: "participant.createdDate" },
|
|
518
|
-
{ path: "participant.updatedDate" },
|
|
519
|
-
{ path: "participant.lastActivityDate" },
|
|
520
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
521
|
-
]
|
|
534
|
+
paths: TRANSFORM_PATHS_0
|
|
522
535
|
},
|
|
523
536
|
{
|
|
524
537
|
transformFn: transformRESTFloatToSDKFloat,
|
|
525
|
-
paths:
|
|
538
|
+
paths: TRANSFORM_PATHS_1
|
|
526
539
|
}
|
|
527
540
|
])
|
|
528
541
|
};
|
|
@@ -549,16 +562,11 @@ function queryParticipants(payload) {
|
|
|
549
562
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
550
563
|
{
|
|
551
564
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
552
|
-
paths:
|
|
553
|
-
{ path: "participants.createdDate" },
|
|
554
|
-
{ path: "participants.updatedDate" },
|
|
555
|
-
{ path: "participants.lastActivityDate" },
|
|
556
|
-
{ path: "participants.certificateInfo.issueDate" }
|
|
557
|
-
]
|
|
565
|
+
paths: TRANSFORM_PATHS_3
|
|
558
566
|
},
|
|
559
567
|
{
|
|
560
568
|
transformFn: transformRESTFloatToSDKFloat,
|
|
561
|
-
paths:
|
|
569
|
+
paths: TRANSFORM_PATHS_4
|
|
562
570
|
}
|
|
563
571
|
])
|
|
564
572
|
};
|
|
@@ -634,16 +642,7 @@ function searchParticipants(payload) {
|
|
|
634
642
|
const serializedData = transformPaths(payload, [
|
|
635
643
|
{
|
|
636
644
|
transformFn: transformSDKFloatToRESTFloat,
|
|
637
|
-
paths:
|
|
638
|
-
{ path: "search.aggregations.range.buckets.from" },
|
|
639
|
-
{ path: "search.aggregations.range.buckets.to" },
|
|
640
|
-
{
|
|
641
|
-
path: "search.aggregations.nested.nestedAggregations.range.buckets.from"
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
path: "search.aggregations.nested.nestedAggregations.range.buckets.to"
|
|
645
|
-
}
|
|
646
|
-
]
|
|
645
|
+
paths: TRANSFORM_PATHS_8
|
|
647
646
|
}
|
|
648
647
|
]);
|
|
649
648
|
const metadata = {
|
|
@@ -663,39 +662,11 @@ function searchParticipants(payload) {
|
|
|
663
662
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
664
663
|
{
|
|
665
664
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
666
|
-
paths:
|
|
667
|
-
{ path: "participants.createdDate" },
|
|
668
|
-
{ path: "participants.updatedDate" },
|
|
669
|
-
{ path: "participants.lastActivityDate" },
|
|
670
|
-
{ path: "participants.certificateInfo.issueDate" }
|
|
671
|
-
]
|
|
665
|
+
paths: TRANSFORM_PATHS_3
|
|
672
666
|
},
|
|
673
667
|
{
|
|
674
668
|
transformFn: transformRESTFloatToSDKFloat,
|
|
675
|
-
paths:
|
|
676
|
-
{ path: "participants.progress.completionPercentage" },
|
|
677
|
-
{ path: "aggregationData.results.scalar.value" },
|
|
678
|
-
{
|
|
679
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
path: "aggregationData.results.nested.results.results.*.scalar.value"
|
|
683
|
-
},
|
|
684
|
-
{ path: "aggregationData.results.ranges.results.from" },
|
|
685
|
-
{ path: "aggregationData.results.ranges.results.to" },
|
|
686
|
-
{
|
|
687
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
|
|
688
|
-
},
|
|
689
|
-
{
|
|
690
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
|
|
691
|
-
},
|
|
692
|
-
{
|
|
693
|
-
path: "aggregationData.results.nested.results.results.*.range.from"
|
|
694
|
-
},
|
|
695
|
-
{
|
|
696
|
-
path: "aggregationData.results.nested.results.results.*.range.to"
|
|
697
|
-
}
|
|
698
|
-
]
|
|
669
|
+
paths: TRANSFORM_PATHS_9
|
|
699
670
|
}
|
|
700
671
|
])
|
|
701
672
|
};
|
|
@@ -753,6 +724,10 @@ var ProgressStatus = /* @__PURE__ */ ((ProgressStatus2) => {
|
|
|
753
724
|
ProgressStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
754
725
|
return ProgressStatus2;
|
|
755
726
|
})(ProgressStatus || {});
|
|
727
|
+
var RemovalReason = /* @__PURE__ */ ((RemovalReason2) => {
|
|
728
|
+
RemovalReason2["MEMBER_DELETED"] = "MEMBER_DELETED";
|
|
729
|
+
return RemovalReason2;
|
|
730
|
+
})(RemovalReason || {});
|
|
756
731
|
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
757
732
|
RequestedFields2["PROGRESS"] = "PROGRESS";
|
|
758
733
|
return RequestedFields2;
|
|
@@ -1357,6 +1332,7 @@ export {
|
|
|
1357
1332
|
NestedAggregationType,
|
|
1358
1333
|
PricingType,
|
|
1359
1334
|
ProgressStatus,
|
|
1335
|
+
RemovalReason,
|
|
1360
1336
|
RequestedFields,
|
|
1361
1337
|
ScalarType,
|
|
1362
1338
|
SortDirection,
|