@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.js';
|
|
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.js';
|
|
3
3
|
import '@wix/sdk-types';
|
|
4
4
|
|
|
5
5
|
/** @hidden */
|
|
@@ -29,6 +29,7 @@ __export(index_typings_exports, {
|
|
|
29
29
|
NestedAggregationType: () => NestedAggregationType,
|
|
30
30
|
PricingType: () => PricingType,
|
|
31
31
|
ProgressStatus: () => ProgressStatus,
|
|
32
|
+
RemovalReason: () => RemovalReason,
|
|
32
33
|
RequestedFields: () => RequestedFields,
|
|
33
34
|
ScalarType: () => ScalarType,
|
|
34
35
|
SortDirection: () => SortDirection,
|
|
@@ -70,6 +71,59 @@ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
|
70
71
|
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
71
72
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
72
73
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
74
|
+
var TRANSFORM_PATHS_0 = [
|
|
75
|
+
{ path: "participant.createdDate" },
|
|
76
|
+
{ path: "participant.updatedDate" },
|
|
77
|
+
{ path: "participant.lastActivityDate" },
|
|
78
|
+
{ path: "participant.certificateInfo.issueDate" }
|
|
79
|
+
];
|
|
80
|
+
var TRANSFORM_PATHS_1 = [
|
|
81
|
+
{ path: "participant.progress.completionPercentage" }
|
|
82
|
+
];
|
|
83
|
+
var TRANSFORM_PATHS_2 = [{ path: "fieldMask" }];
|
|
84
|
+
var TRANSFORM_PATHS_3 = [
|
|
85
|
+
{ path: "participants.createdDate" },
|
|
86
|
+
{ path: "participants.updatedDate" },
|
|
87
|
+
{ path: "participants.lastActivityDate" },
|
|
88
|
+
{ path: "participants.certificateInfo.issueDate" }
|
|
89
|
+
];
|
|
90
|
+
var TRANSFORM_PATHS_4 = [
|
|
91
|
+
{ path: "participants.progress.completionPercentage" }
|
|
92
|
+
];
|
|
93
|
+
var TRANSFORM_PATHS_5 = [
|
|
94
|
+
{ path: "results.item.createdDate" },
|
|
95
|
+
{ path: "results.item.updatedDate" },
|
|
96
|
+
{ path: "results.item.lastActivityDate" },
|
|
97
|
+
{ path: "results.item.certificateInfo.issueDate" }
|
|
98
|
+
];
|
|
99
|
+
var TRANSFORM_PATHS_6 = [
|
|
100
|
+
{ path: "results.item.progress.completionPercentage" }
|
|
101
|
+
];
|
|
102
|
+
var TRANSFORM_PATHS_7 = [{ path: "expirationDate" }];
|
|
103
|
+
var TRANSFORM_PATHS_8 = [
|
|
104
|
+
{ path: "search.aggregations.range.buckets.from" },
|
|
105
|
+
{ path: "search.aggregations.range.buckets.to" },
|
|
106
|
+
{ path: "search.aggregations.nested.nestedAggregations.range.buckets.from" },
|
|
107
|
+
{ path: "search.aggregations.nested.nestedAggregations.range.buckets.to" }
|
|
108
|
+
];
|
|
109
|
+
var TRANSFORM_PATHS_9 = [
|
|
110
|
+
{ path: "participants.progress.completionPercentage" },
|
|
111
|
+
{ path: "aggregationData.results.scalar.value" },
|
|
112
|
+
{
|
|
113
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
|
|
114
|
+
},
|
|
115
|
+
{ path: "aggregationData.results.nested.results.results.*.scalar.value" },
|
|
116
|
+
{ path: "aggregationData.results.ranges.results.from" },
|
|
117
|
+
{ path: "aggregationData.results.ranges.results.to" },
|
|
118
|
+
{
|
|
119
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
|
|
123
|
+
},
|
|
124
|
+
{ path: "aggregationData.results.nested.results.results.*.range.from" },
|
|
125
|
+
{ path: "aggregationData.results.nested.results.results.*.range.to" }
|
|
126
|
+
];
|
|
73
127
|
function resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl(opts) {
|
|
74
128
|
const domainToMappings = {
|
|
75
129
|
"bo._base_domain_": [
|
|
@@ -250,16 +304,11 @@ function createParticipant(payload) {
|
|
|
250
304
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
251
305
|
{
|
|
252
306
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
253
|
-
paths:
|
|
254
|
-
{ path: "participant.createdDate" },
|
|
255
|
-
{ path: "participant.updatedDate" },
|
|
256
|
-
{ path: "participant.lastActivityDate" },
|
|
257
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
258
|
-
]
|
|
307
|
+
paths: TRANSFORM_PATHS_0
|
|
259
308
|
},
|
|
260
309
|
{
|
|
261
310
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
262
|
-
paths:
|
|
311
|
+
paths: TRANSFORM_PATHS_1
|
|
263
312
|
}
|
|
264
313
|
]);
|
|
265
314
|
const metadata = {
|
|
@@ -279,16 +328,11 @@ function createParticipant(payload) {
|
|
|
279
328
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
280
329
|
{
|
|
281
330
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
282
|
-
paths:
|
|
283
|
-
{ path: "participant.createdDate" },
|
|
284
|
-
{ path: "participant.updatedDate" },
|
|
285
|
-
{ path: "participant.lastActivityDate" },
|
|
286
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
287
|
-
]
|
|
331
|
+
paths: TRANSFORM_PATHS_0
|
|
288
332
|
},
|
|
289
333
|
{
|
|
290
334
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
291
|
-
paths:
|
|
335
|
+
paths: TRANSFORM_PATHS_1
|
|
292
336
|
}
|
|
293
337
|
])
|
|
294
338
|
};
|
|
@@ -301,20 +345,15 @@ function updateParticipant(payload) {
|
|
|
301
345
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
302
346
|
{
|
|
303
347
|
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
304
|
-
paths:
|
|
348
|
+
paths: TRANSFORM_PATHS_2
|
|
305
349
|
},
|
|
306
350
|
{
|
|
307
351
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
308
|
-
paths:
|
|
309
|
-
{ path: "participant.createdDate" },
|
|
310
|
-
{ path: "participant.updatedDate" },
|
|
311
|
-
{ path: "participant.lastActivityDate" },
|
|
312
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
313
|
-
]
|
|
352
|
+
paths: TRANSFORM_PATHS_0
|
|
314
353
|
},
|
|
315
354
|
{
|
|
316
355
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
317
|
-
paths:
|
|
356
|
+
paths: TRANSFORM_PATHS_1
|
|
318
357
|
}
|
|
319
358
|
]);
|
|
320
359
|
const metadata = {
|
|
@@ -334,16 +373,11 @@ function updateParticipant(payload) {
|
|
|
334
373
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
335
374
|
{
|
|
336
375
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
337
|
-
paths:
|
|
338
|
-
{ path: "participant.createdDate" },
|
|
339
|
-
{ path: "participant.updatedDate" },
|
|
340
|
-
{ path: "participant.lastActivityDate" },
|
|
341
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
342
|
-
]
|
|
376
|
+
paths: TRANSFORM_PATHS_0
|
|
343
377
|
},
|
|
344
378
|
{
|
|
345
379
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
346
|
-
paths:
|
|
380
|
+
paths: TRANSFORM_PATHS_1
|
|
347
381
|
}
|
|
348
382
|
])
|
|
349
383
|
};
|
|
@@ -356,16 +390,11 @@ function bulkCreateParticipants(payload) {
|
|
|
356
390
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
357
391
|
{
|
|
358
392
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
359
|
-
paths:
|
|
360
|
-
{ path: "participants.createdDate" },
|
|
361
|
-
{ path: "participants.updatedDate" },
|
|
362
|
-
{ path: "participants.lastActivityDate" },
|
|
363
|
-
{ path: "participants.certificateInfo.issueDate" }
|
|
364
|
-
]
|
|
393
|
+
paths: TRANSFORM_PATHS_3
|
|
365
394
|
},
|
|
366
395
|
{
|
|
367
396
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
368
|
-
paths:
|
|
397
|
+
paths: TRANSFORM_PATHS_4
|
|
369
398
|
}
|
|
370
399
|
]);
|
|
371
400
|
const metadata = {
|
|
@@ -385,16 +414,11 @@ function bulkCreateParticipants(payload) {
|
|
|
385
414
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
386
415
|
{
|
|
387
416
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
388
|
-
paths:
|
|
389
|
-
{ path: "results.item.createdDate" },
|
|
390
|
-
{ path: "results.item.updatedDate" },
|
|
391
|
-
{ path: "results.item.lastActivityDate" },
|
|
392
|
-
{ path: "results.item.certificateInfo.issueDate" }
|
|
393
|
-
]
|
|
417
|
+
paths: TRANSFORM_PATHS_5
|
|
394
418
|
},
|
|
395
419
|
{
|
|
396
420
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
397
|
-
paths:
|
|
421
|
+
paths: TRANSFORM_PATHS_6
|
|
398
422
|
}
|
|
399
423
|
])
|
|
400
424
|
};
|
|
@@ -463,16 +487,11 @@ function issueCertificate(payload) {
|
|
|
463
487
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
464
488
|
{
|
|
465
489
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
466
|
-
paths:
|
|
467
|
-
{ path: "participant.createdDate" },
|
|
468
|
-
{ path: "participant.updatedDate" },
|
|
469
|
-
{ path: "participant.lastActivityDate" },
|
|
470
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
471
|
-
]
|
|
490
|
+
paths: TRANSFORM_PATHS_0
|
|
472
491
|
},
|
|
473
492
|
{
|
|
474
493
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
475
|
-
paths:
|
|
494
|
+
paths: TRANSFORM_PATHS_1
|
|
476
495
|
}
|
|
477
496
|
])
|
|
478
497
|
};
|
|
@@ -499,7 +518,7 @@ function getCertificateDownloadUrl(payload) {
|
|
|
499
518
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
500
519
|
{
|
|
501
520
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
502
|
-
paths:
|
|
521
|
+
paths: TRANSFORM_PATHS_7
|
|
503
522
|
}
|
|
504
523
|
])
|
|
505
524
|
};
|
|
@@ -568,16 +587,11 @@ function getParticipant(payload) {
|
|
|
568
587
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
569
588
|
{
|
|
570
589
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
571
|
-
paths:
|
|
572
|
-
{ path: "participant.createdDate" },
|
|
573
|
-
{ path: "participant.updatedDate" },
|
|
574
|
-
{ path: "participant.lastActivityDate" },
|
|
575
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
576
|
-
]
|
|
590
|
+
paths: TRANSFORM_PATHS_0
|
|
577
591
|
},
|
|
578
592
|
{
|
|
579
593
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
580
|
-
paths:
|
|
594
|
+
paths: TRANSFORM_PATHS_1
|
|
581
595
|
}
|
|
582
596
|
])
|
|
583
597
|
};
|
|
@@ -604,16 +618,11 @@ function queryParticipants(payload) {
|
|
|
604
618
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
605
619
|
{
|
|
606
620
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
607
|
-
paths:
|
|
608
|
-
{ path: "participants.createdDate" },
|
|
609
|
-
{ path: "participants.updatedDate" },
|
|
610
|
-
{ path: "participants.lastActivityDate" },
|
|
611
|
-
{ path: "participants.certificateInfo.issueDate" }
|
|
612
|
-
]
|
|
621
|
+
paths: TRANSFORM_PATHS_3
|
|
613
622
|
},
|
|
614
623
|
{
|
|
615
624
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
616
|
-
paths:
|
|
625
|
+
paths: TRANSFORM_PATHS_4
|
|
617
626
|
}
|
|
618
627
|
])
|
|
619
628
|
};
|
|
@@ -689,16 +698,7 @@ function searchParticipants(payload) {
|
|
|
689
698
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
690
699
|
{
|
|
691
700
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
692
|
-
paths:
|
|
693
|
-
{ path: "search.aggregations.range.buckets.from" },
|
|
694
|
-
{ path: "search.aggregations.range.buckets.to" },
|
|
695
|
-
{
|
|
696
|
-
path: "search.aggregations.nested.nestedAggregations.range.buckets.from"
|
|
697
|
-
},
|
|
698
|
-
{
|
|
699
|
-
path: "search.aggregations.nested.nestedAggregations.range.buckets.to"
|
|
700
|
-
}
|
|
701
|
-
]
|
|
701
|
+
paths: TRANSFORM_PATHS_8
|
|
702
702
|
}
|
|
703
703
|
]);
|
|
704
704
|
const metadata = {
|
|
@@ -718,39 +718,11 @@ function searchParticipants(payload) {
|
|
|
718
718
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
719
719
|
{
|
|
720
720
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
721
|
-
paths:
|
|
722
|
-
{ path: "participants.createdDate" },
|
|
723
|
-
{ path: "participants.updatedDate" },
|
|
724
|
-
{ path: "participants.lastActivityDate" },
|
|
725
|
-
{ path: "participants.certificateInfo.issueDate" }
|
|
726
|
-
]
|
|
721
|
+
paths: TRANSFORM_PATHS_3
|
|
727
722
|
},
|
|
728
723
|
{
|
|
729
724
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
730
|
-
paths:
|
|
731
|
-
{ path: "participants.progress.completionPercentage" },
|
|
732
|
-
{ path: "aggregationData.results.scalar.value" },
|
|
733
|
-
{
|
|
734
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
|
|
735
|
-
},
|
|
736
|
-
{
|
|
737
|
-
path: "aggregationData.results.nested.results.results.*.scalar.value"
|
|
738
|
-
},
|
|
739
|
-
{ path: "aggregationData.results.ranges.results.from" },
|
|
740
|
-
{ path: "aggregationData.results.ranges.results.to" },
|
|
741
|
-
{
|
|
742
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
|
|
743
|
-
},
|
|
744
|
-
{
|
|
745
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
|
|
746
|
-
},
|
|
747
|
-
{
|
|
748
|
-
path: "aggregationData.results.nested.results.results.*.range.from"
|
|
749
|
-
},
|
|
750
|
-
{
|
|
751
|
-
path: "aggregationData.results.nested.results.results.*.range.to"
|
|
752
|
-
}
|
|
753
|
-
]
|
|
725
|
+
paths: TRANSFORM_PATHS_9
|
|
754
726
|
}
|
|
755
727
|
])
|
|
756
728
|
};
|
|
@@ -808,6 +780,10 @@ var ProgressStatus = /* @__PURE__ */ ((ProgressStatus2) => {
|
|
|
808
780
|
ProgressStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
809
781
|
return ProgressStatus2;
|
|
810
782
|
})(ProgressStatus || {});
|
|
783
|
+
var RemovalReason = /* @__PURE__ */ ((RemovalReason2) => {
|
|
784
|
+
RemovalReason2["MEMBER_DELETED"] = "MEMBER_DELETED";
|
|
785
|
+
return RemovalReason2;
|
|
786
|
+
})(RemovalReason || {});
|
|
811
787
|
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
812
788
|
RequestedFields2["PROGRESS"] = "PROGRESS";
|
|
813
789
|
return RequestedFields2;
|
|
@@ -1413,6 +1389,7 @@ async function exportParticipantsStats2(programId) {
|
|
|
1413
1389
|
NestedAggregationType,
|
|
1414
1390
|
PricingType,
|
|
1415
1391
|
ProgressStatus,
|
|
1392
|
+
RemovalReason,
|
|
1416
1393
|
RequestedFields,
|
|
1417
1394
|
ScalarType,
|
|
1418
1395
|
SortDirection,
|