@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
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { P as Participant, C as CreateParticipantOptions, a as CreateParticipantApplicationErrors, U as UpdateParticipant, b as UpdateParticipantOptions, B as BulkCreateParticipantsOptions, c as BulkCreateParticipantsResponse, d as BulkCreateParticipantsApplicationErrors, e as BulkCreateParticipantsForAllMembersOptions, f as BulkCreateParticipantsForAllMembersResponse, I as IssueCertificateOptions, g as IssueCertificateResponse, h as IssueCertificateApplicationErrors, G as GetCertificateDownloadUrlResponse, i as GetCertificateDownloadUrlApplicationErrors, j as GetPremiumStatsResponse, k as GetParticipationStatsResponse, l as GetParticipantOptions, m as GetAccessStatusResponse, n as BulkUpdateParticipantTagsOptions, o as BulkUpdateParticipantTagsResponse, p as BulkUpdateParticipantTagsApplicationErrors, q as BulkUpdateParticipantTagsByFilterOptions, r as BulkUpdateParticipantTagsByFilterResponse, s as BulkUpdateParticipantTagsByFilterApplicationErrors, t as ParticipantSearch, S as SearchParticipantsOptions, u as SearchParticipantsResponse, v as ParticipantCompletedProgramEnvelope, w as ParticipantCreatedEnvelope, x as ParticipantDeletedEnvelope, y as ParticipantLeftEnvelope, z as ParticipantMissedProgramDeadlineEnvelope, A as ParticipantProgramDurationEndedEnvelope, D as ParticipantRemovedEnvelope, E as ParticipantTagsModifiedEnvelope, F as ParticipantUpdatedEnvelope, H as ParticipantQuery, Q as QueryParticipantsOptions, J as typedQueryParticipants, K as ParticipantsQueryBuilder } from './online-programs-participants-v3-participant-participants.universal-
|
|
3
|
-
export {
|
|
2
|
+
import { P as Participant, C as CreateParticipantOptions, a as CreateParticipantApplicationErrors, U as UpdateParticipant, b as UpdateParticipantOptions, B as BulkCreateParticipantsOptions, c as BulkCreateParticipantsResponse, d as BulkCreateParticipantsApplicationErrors, e as BulkCreateParticipantsForAllMembersOptions, f as BulkCreateParticipantsForAllMembersResponse, I as IssueCertificateOptions, g as IssueCertificateResponse, h as IssueCertificateApplicationErrors, G as GetCertificateDownloadUrlResponse, i as GetCertificateDownloadUrlApplicationErrors, j as GetPremiumStatsResponse, k as GetParticipationStatsResponse, l as GetParticipantOptions, m as GetAccessStatusResponse, n as BulkUpdateParticipantTagsOptions, o as BulkUpdateParticipantTagsResponse, p as BulkUpdateParticipantTagsApplicationErrors, q as BulkUpdateParticipantTagsByFilterOptions, r as BulkUpdateParticipantTagsByFilterResponse, s as BulkUpdateParticipantTagsByFilterApplicationErrors, t as ParticipantSearch, S as SearchParticipantsOptions, u as SearchParticipantsResponse, v as ParticipantCompletedProgramEnvelope, w as ParticipantCreatedEnvelope, x as ParticipantDeletedEnvelope, y as ParticipantLeftEnvelope, z as ParticipantMissedProgramDeadlineEnvelope, A as ParticipantProgramDurationEndedEnvelope, D as ParticipantRemovedEnvelope, E as ParticipantTagsModifiedEnvelope, F as ParticipantUpdatedEnvelope, H as ParticipantQuery, Q as QueryParticipantsOptions, J as typedQueryParticipants, K as ParticipantsQueryBuilder } from './online-programs-participants-v3-participant-participants.universal-PXhlXOzv.js';
|
|
3
|
+
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, aI as BulkCreateParticipantsForAllMembersRequest, at as BulkCreateParticipantsRequest, aB as BulkParticipantMigrationResult, au as BulkParticipantResult, b4 as BulkUpdateParticipantTagsByFilterRequest, b2 as BulkUpdateParticipantTagsRequest, b3 as BulkUpdateParticipantTagsResult, ay as BulkUpsertParticipantsMigrationRequest, aA as BulkUpsertParticipantsMigrationResponse, a7 as CertificateInfo, ci as CommonQueryWithEntityContext, cj as CommonSearchWithEntityContext, ap as CreateParticipantRequest, aq as CreateParticipantResponse, aZ as CursorPaging, bn as CursorPagingMetadata, b6 as CursorSearch, 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, aM as GetCertificateDownloadUrlRequest, aN as GetCompletionStatsRequest, aO as GetCompletionStatsResponse, aS as GetParticipantRequest, aT as GetParticipantResponse, aQ as GetParticipationStatsRequest, aP as GetPremiumStatsRequest, bk as GroupByAggregation, bl as GroupByAggregationKindOneOf, bE as GroupByValueResults, bS as IdentificationData, bT as IdentificationDataIdOneOf, bb as IncludeMissingValuesOptions, $ as Interval, ce as IntervalWithLiterals, aL as IssueCertificateRequest, 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, ak as ParticipantCompletedProgram, ao as ParticipantLeft, az as ParticipantMigration, al as ParticipantMissedProgramDeadline, am as ParticipantProgramDurationEnded, b$ as ParticipantQuerySpec, an as ParticipantRemoved, c0 as ParticipantSearchSpec, aj as ParticipantTagsModified, b_ as ParticipantsQueryResult, L as PricingType, c2 as PricingTypeWithLiterals, aR as ProgramParticipationStats, a6 as Progress, N as ProgressStatus, c4 as ProgressStatusWithLiterals, 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, 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, c1 as utils } from './online-programs-participants-v3-participant-participants.universal-PXhlXOzv.js';
|
|
4
4
|
|
|
5
5
|
declare function createParticipant$1(httpClient: HttpClient): CreateParticipantSignature;
|
|
6
6
|
interface CreateParticipantSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -29,6 +29,7 @@ __export(index_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,
|
|
@@ -85,6 +86,59 @@ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
|
85
86
|
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
86
87
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
87
88
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
89
|
+
var TRANSFORM_PATHS_0 = [
|
|
90
|
+
{ path: "participant.createdDate" },
|
|
91
|
+
{ path: "participant.updatedDate" },
|
|
92
|
+
{ path: "participant.lastActivityDate" },
|
|
93
|
+
{ path: "participant.certificateInfo.issueDate" }
|
|
94
|
+
];
|
|
95
|
+
var TRANSFORM_PATHS_1 = [
|
|
96
|
+
{ path: "participant.progress.completionPercentage" }
|
|
97
|
+
];
|
|
98
|
+
var TRANSFORM_PATHS_2 = [{ path: "fieldMask" }];
|
|
99
|
+
var TRANSFORM_PATHS_3 = [
|
|
100
|
+
{ path: "participants.createdDate" },
|
|
101
|
+
{ path: "participants.updatedDate" },
|
|
102
|
+
{ path: "participants.lastActivityDate" },
|
|
103
|
+
{ path: "participants.certificateInfo.issueDate" }
|
|
104
|
+
];
|
|
105
|
+
var TRANSFORM_PATHS_4 = [
|
|
106
|
+
{ path: "participants.progress.completionPercentage" }
|
|
107
|
+
];
|
|
108
|
+
var TRANSFORM_PATHS_5 = [
|
|
109
|
+
{ path: "results.item.createdDate" },
|
|
110
|
+
{ path: "results.item.updatedDate" },
|
|
111
|
+
{ path: "results.item.lastActivityDate" },
|
|
112
|
+
{ path: "results.item.certificateInfo.issueDate" }
|
|
113
|
+
];
|
|
114
|
+
var TRANSFORM_PATHS_6 = [
|
|
115
|
+
{ path: "results.item.progress.completionPercentage" }
|
|
116
|
+
];
|
|
117
|
+
var TRANSFORM_PATHS_7 = [{ path: "expirationDate" }];
|
|
118
|
+
var TRANSFORM_PATHS_8 = [
|
|
119
|
+
{ path: "search.aggregations.range.buckets.from" },
|
|
120
|
+
{ path: "search.aggregations.range.buckets.to" },
|
|
121
|
+
{ path: "search.aggregations.nested.nestedAggregations.range.buckets.from" },
|
|
122
|
+
{ path: "search.aggregations.nested.nestedAggregations.range.buckets.to" }
|
|
123
|
+
];
|
|
124
|
+
var TRANSFORM_PATHS_9 = [
|
|
125
|
+
{ path: "participants.progress.completionPercentage" },
|
|
126
|
+
{ path: "aggregationData.results.scalar.value" },
|
|
127
|
+
{
|
|
128
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
|
|
129
|
+
},
|
|
130
|
+
{ path: "aggregationData.results.nested.results.results.*.scalar.value" },
|
|
131
|
+
{ path: "aggregationData.results.ranges.results.from" },
|
|
132
|
+
{ path: "aggregationData.results.ranges.results.to" },
|
|
133
|
+
{
|
|
134
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
|
|
138
|
+
},
|
|
139
|
+
{ path: "aggregationData.results.nested.results.results.*.range.from" },
|
|
140
|
+
{ path: "aggregationData.results.nested.results.results.*.range.to" }
|
|
141
|
+
];
|
|
88
142
|
function resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl(opts) {
|
|
89
143
|
const domainToMappings = {
|
|
90
144
|
"bo._base_domain_": [
|
|
@@ -265,16 +319,11 @@ function createParticipant(payload) {
|
|
|
265
319
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
266
320
|
{
|
|
267
321
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
268
|
-
paths:
|
|
269
|
-
{ path: "participant.createdDate" },
|
|
270
|
-
{ path: "participant.updatedDate" },
|
|
271
|
-
{ path: "participant.lastActivityDate" },
|
|
272
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
273
|
-
]
|
|
322
|
+
paths: TRANSFORM_PATHS_0
|
|
274
323
|
},
|
|
275
324
|
{
|
|
276
325
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
277
|
-
paths:
|
|
326
|
+
paths: TRANSFORM_PATHS_1
|
|
278
327
|
}
|
|
279
328
|
]);
|
|
280
329
|
const metadata = {
|
|
@@ -294,16 +343,11 @@ function createParticipant(payload) {
|
|
|
294
343
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
295
344
|
{
|
|
296
345
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
297
|
-
paths:
|
|
298
|
-
{ path: "participant.createdDate" },
|
|
299
|
-
{ path: "participant.updatedDate" },
|
|
300
|
-
{ path: "participant.lastActivityDate" },
|
|
301
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
302
|
-
]
|
|
346
|
+
paths: TRANSFORM_PATHS_0
|
|
303
347
|
},
|
|
304
348
|
{
|
|
305
349
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
306
|
-
paths:
|
|
350
|
+
paths: TRANSFORM_PATHS_1
|
|
307
351
|
}
|
|
308
352
|
])
|
|
309
353
|
};
|
|
@@ -316,20 +360,15 @@ function updateParticipant(payload) {
|
|
|
316
360
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
317
361
|
{
|
|
318
362
|
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
319
|
-
paths:
|
|
363
|
+
paths: TRANSFORM_PATHS_2
|
|
320
364
|
},
|
|
321
365
|
{
|
|
322
366
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
323
|
-
paths:
|
|
324
|
-
{ path: "participant.createdDate" },
|
|
325
|
-
{ path: "participant.updatedDate" },
|
|
326
|
-
{ path: "participant.lastActivityDate" },
|
|
327
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
328
|
-
]
|
|
367
|
+
paths: TRANSFORM_PATHS_0
|
|
329
368
|
},
|
|
330
369
|
{
|
|
331
370
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
332
|
-
paths:
|
|
371
|
+
paths: TRANSFORM_PATHS_1
|
|
333
372
|
}
|
|
334
373
|
]);
|
|
335
374
|
const metadata = {
|
|
@@ -349,16 +388,11 @@ function updateParticipant(payload) {
|
|
|
349
388
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
350
389
|
{
|
|
351
390
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
352
|
-
paths:
|
|
353
|
-
{ path: "participant.createdDate" },
|
|
354
|
-
{ path: "participant.updatedDate" },
|
|
355
|
-
{ path: "participant.lastActivityDate" },
|
|
356
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
357
|
-
]
|
|
391
|
+
paths: TRANSFORM_PATHS_0
|
|
358
392
|
},
|
|
359
393
|
{
|
|
360
394
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
361
|
-
paths:
|
|
395
|
+
paths: TRANSFORM_PATHS_1
|
|
362
396
|
}
|
|
363
397
|
])
|
|
364
398
|
};
|
|
@@ -371,16 +405,11 @@ function bulkCreateParticipants(payload) {
|
|
|
371
405
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
372
406
|
{
|
|
373
407
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
374
|
-
paths:
|
|
375
|
-
{ path: "participants.createdDate" },
|
|
376
|
-
{ path: "participants.updatedDate" },
|
|
377
|
-
{ path: "participants.lastActivityDate" },
|
|
378
|
-
{ path: "participants.certificateInfo.issueDate" }
|
|
379
|
-
]
|
|
408
|
+
paths: TRANSFORM_PATHS_3
|
|
380
409
|
},
|
|
381
410
|
{
|
|
382
411
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
383
|
-
paths:
|
|
412
|
+
paths: TRANSFORM_PATHS_4
|
|
384
413
|
}
|
|
385
414
|
]);
|
|
386
415
|
const metadata = {
|
|
@@ -400,16 +429,11 @@ function bulkCreateParticipants(payload) {
|
|
|
400
429
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
401
430
|
{
|
|
402
431
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
403
|
-
paths:
|
|
404
|
-
{ path: "results.item.createdDate" },
|
|
405
|
-
{ path: "results.item.updatedDate" },
|
|
406
|
-
{ path: "results.item.lastActivityDate" },
|
|
407
|
-
{ path: "results.item.certificateInfo.issueDate" }
|
|
408
|
-
]
|
|
432
|
+
paths: TRANSFORM_PATHS_5
|
|
409
433
|
},
|
|
410
434
|
{
|
|
411
435
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
412
|
-
paths:
|
|
436
|
+
paths: TRANSFORM_PATHS_6
|
|
413
437
|
}
|
|
414
438
|
])
|
|
415
439
|
};
|
|
@@ -478,16 +502,11 @@ function issueCertificate(payload) {
|
|
|
478
502
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
479
503
|
{
|
|
480
504
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
481
|
-
paths:
|
|
482
|
-
{ path: "participant.createdDate" },
|
|
483
|
-
{ path: "participant.updatedDate" },
|
|
484
|
-
{ path: "participant.lastActivityDate" },
|
|
485
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
486
|
-
]
|
|
505
|
+
paths: TRANSFORM_PATHS_0
|
|
487
506
|
},
|
|
488
507
|
{
|
|
489
508
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
490
|
-
paths:
|
|
509
|
+
paths: TRANSFORM_PATHS_1
|
|
491
510
|
}
|
|
492
511
|
])
|
|
493
512
|
};
|
|
@@ -514,7 +533,7 @@ function getCertificateDownloadUrl(payload) {
|
|
|
514
533
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
515
534
|
{
|
|
516
535
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
517
|
-
paths:
|
|
536
|
+
paths: TRANSFORM_PATHS_7
|
|
518
537
|
}
|
|
519
538
|
])
|
|
520
539
|
};
|
|
@@ -583,16 +602,11 @@ function getParticipant(payload) {
|
|
|
583
602
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
584
603
|
{
|
|
585
604
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
586
|
-
paths:
|
|
587
|
-
{ path: "participant.createdDate" },
|
|
588
|
-
{ path: "participant.updatedDate" },
|
|
589
|
-
{ path: "participant.lastActivityDate" },
|
|
590
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
591
|
-
]
|
|
605
|
+
paths: TRANSFORM_PATHS_0
|
|
592
606
|
},
|
|
593
607
|
{
|
|
594
608
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
595
|
-
paths:
|
|
609
|
+
paths: TRANSFORM_PATHS_1
|
|
596
610
|
}
|
|
597
611
|
])
|
|
598
612
|
};
|
|
@@ -619,16 +633,11 @@ function queryParticipants(payload) {
|
|
|
619
633
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
620
634
|
{
|
|
621
635
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
622
|
-
paths:
|
|
623
|
-
{ path: "participants.createdDate" },
|
|
624
|
-
{ path: "participants.updatedDate" },
|
|
625
|
-
{ path: "participants.lastActivityDate" },
|
|
626
|
-
{ path: "participants.certificateInfo.issueDate" }
|
|
627
|
-
]
|
|
636
|
+
paths: TRANSFORM_PATHS_3
|
|
628
637
|
},
|
|
629
638
|
{
|
|
630
639
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
631
|
-
paths:
|
|
640
|
+
paths: TRANSFORM_PATHS_4
|
|
632
641
|
}
|
|
633
642
|
])
|
|
634
643
|
};
|
|
@@ -704,16 +713,7 @@ function searchParticipants(payload) {
|
|
|
704
713
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
705
714
|
{
|
|
706
715
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
707
|
-
paths:
|
|
708
|
-
{ path: "search.aggregations.range.buckets.from" },
|
|
709
|
-
{ path: "search.aggregations.range.buckets.to" },
|
|
710
|
-
{
|
|
711
|
-
path: "search.aggregations.nested.nestedAggregations.range.buckets.from"
|
|
712
|
-
},
|
|
713
|
-
{
|
|
714
|
-
path: "search.aggregations.nested.nestedAggregations.range.buckets.to"
|
|
715
|
-
}
|
|
716
|
-
]
|
|
716
|
+
paths: TRANSFORM_PATHS_8
|
|
717
717
|
}
|
|
718
718
|
]);
|
|
719
719
|
const metadata = {
|
|
@@ -733,39 +733,11 @@ function searchParticipants(payload) {
|
|
|
733
733
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
734
734
|
{
|
|
735
735
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
736
|
-
paths:
|
|
737
|
-
{ path: "participants.createdDate" },
|
|
738
|
-
{ path: "participants.updatedDate" },
|
|
739
|
-
{ path: "participants.lastActivityDate" },
|
|
740
|
-
{ path: "participants.certificateInfo.issueDate" }
|
|
741
|
-
]
|
|
736
|
+
paths: TRANSFORM_PATHS_3
|
|
742
737
|
},
|
|
743
738
|
{
|
|
744
739
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
745
|
-
paths:
|
|
746
|
-
{ path: "participants.progress.completionPercentage" },
|
|
747
|
-
{ path: "aggregationData.results.scalar.value" },
|
|
748
|
-
{
|
|
749
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
|
|
750
|
-
},
|
|
751
|
-
{
|
|
752
|
-
path: "aggregationData.results.nested.results.results.*.scalar.value"
|
|
753
|
-
},
|
|
754
|
-
{ path: "aggregationData.results.ranges.results.from" },
|
|
755
|
-
{ path: "aggregationData.results.ranges.results.to" },
|
|
756
|
-
{
|
|
757
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
|
|
758
|
-
},
|
|
759
|
-
{
|
|
760
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
|
|
761
|
-
},
|
|
762
|
-
{
|
|
763
|
-
path: "aggregationData.results.nested.results.results.*.range.from"
|
|
764
|
-
},
|
|
765
|
-
{
|
|
766
|
-
path: "aggregationData.results.nested.results.results.*.range.to"
|
|
767
|
-
}
|
|
768
|
-
]
|
|
740
|
+
paths: TRANSFORM_PATHS_9
|
|
769
741
|
}
|
|
770
742
|
])
|
|
771
743
|
};
|
|
@@ -823,6 +795,10 @@ var ProgressStatus = /* @__PURE__ */ ((ProgressStatus2) => {
|
|
|
823
795
|
ProgressStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
824
796
|
return ProgressStatus2;
|
|
825
797
|
})(ProgressStatus || {});
|
|
798
|
+
var RemovalReason = /* @__PURE__ */ ((RemovalReason2) => {
|
|
799
|
+
RemovalReason2["MEMBER_DELETED"] = "MEMBER_DELETED";
|
|
800
|
+
return RemovalReason2;
|
|
801
|
+
})(RemovalReason || {});
|
|
826
802
|
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
827
803
|
RequestedFields2["PROGRESS"] = "PROGRESS";
|
|
828
804
|
return RequestedFields2;
|
|
@@ -1419,6 +1395,39 @@ async function exportParticipantsStats2(programId) {
|
|
|
1419
1395
|
}
|
|
1420
1396
|
|
|
1421
1397
|
// src/online-programs-participants-v3-participant-participants.public.ts
|
|
1398
|
+
var TRANSFORM_PATHS_02 = [
|
|
1399
|
+
{ path: "data.participant.createdDate" },
|
|
1400
|
+
{ path: "data.participant.updatedDate" },
|
|
1401
|
+
{ path: "data.participant.lastActivityDate" },
|
|
1402
|
+
{ path: "data.participant.certificateInfo.issueDate" },
|
|
1403
|
+
{ path: "metadata.eventTime" }
|
|
1404
|
+
];
|
|
1405
|
+
var TRANSFORM_PATHS_12 = [
|
|
1406
|
+
{ path: "data.participant.progress.completionPercentage" }
|
|
1407
|
+
];
|
|
1408
|
+
var TRANSFORM_PATHS_22 = [
|
|
1409
|
+
{ path: "entity.createdDate" },
|
|
1410
|
+
{ path: "entity.updatedDate" },
|
|
1411
|
+
{ path: "entity.lastActivityDate" },
|
|
1412
|
+
{ path: "entity.certificateInfo.issueDate" },
|
|
1413
|
+
{ path: "metadata.eventTime" }
|
|
1414
|
+
];
|
|
1415
|
+
var TRANSFORM_PATHS_32 = [{ path: "entity.progress.completionPercentage" }];
|
|
1416
|
+
var TRANSFORM_PATHS_42 = [
|
|
1417
|
+
{ path: "entity.createdDate" },
|
|
1418
|
+
{ path: "entity.updatedDate" },
|
|
1419
|
+
{ path: "entity.lastActivityDate" },
|
|
1420
|
+
{ path: "entity.certificateInfo.issueDate" },
|
|
1421
|
+
{ path: "metadata.eventTime" },
|
|
1422
|
+
{ path: "modifiedFields.createdDate" },
|
|
1423
|
+
{ path: "modifiedFields.updatedDate" },
|
|
1424
|
+
{ path: "modifiedFields.lastActivityDate" },
|
|
1425
|
+
{ path: "modifiedFields.certificateInfo.issueDate" }
|
|
1426
|
+
];
|
|
1427
|
+
var TRANSFORM_PATHS_52 = [
|
|
1428
|
+
{ path: "entity.progress.completionPercentage" },
|
|
1429
|
+
{ path: "modifiedFields.progress.completionPercentage" }
|
|
1430
|
+
];
|
|
1422
1431
|
function createParticipant3(httpClient) {
|
|
1423
1432
|
return (participant, options) => createParticipant2(
|
|
1424
1433
|
participant,
|
|
@@ -1554,17 +1563,11 @@ var onParticipantCompletedProgram = /* @__PURE__ */ (0, import_sdk_types.EventDe
|
|
|
1554
1563
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
1555
1564
|
{
|
|
1556
1565
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1557
|
-
paths:
|
|
1558
|
-
{ path: "data.participant.createdDate" },
|
|
1559
|
-
{ path: "data.participant.updatedDate" },
|
|
1560
|
-
{ path: "data.participant.lastActivityDate" },
|
|
1561
|
-
{ path: "data.participant.certificateInfo.issueDate" },
|
|
1562
|
-
{ path: "metadata.eventTime" }
|
|
1563
|
-
]
|
|
1566
|
+
paths: TRANSFORM_PATHS_02
|
|
1564
1567
|
},
|
|
1565
1568
|
{
|
|
1566
1569
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
1567
|
-
paths:
|
|
1570
|
+
paths: TRANSFORM_PATHS_12
|
|
1568
1571
|
}
|
|
1569
1572
|
])
|
|
1570
1573
|
)
|
|
@@ -1576,17 +1579,11 @@ var onParticipantCreated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)
|
|
|
1576
1579
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
1577
1580
|
{
|
|
1578
1581
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1579
|
-
paths:
|
|
1580
|
-
{ path: "entity.createdDate" },
|
|
1581
|
-
{ path: "entity.updatedDate" },
|
|
1582
|
-
{ path: "entity.lastActivityDate" },
|
|
1583
|
-
{ path: "entity.certificateInfo.issueDate" },
|
|
1584
|
-
{ path: "metadata.eventTime" }
|
|
1585
|
-
]
|
|
1582
|
+
paths: TRANSFORM_PATHS_22
|
|
1586
1583
|
},
|
|
1587
1584
|
{
|
|
1588
1585
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
1589
|
-
paths:
|
|
1586
|
+
paths: TRANSFORM_PATHS_32
|
|
1590
1587
|
}
|
|
1591
1588
|
])
|
|
1592
1589
|
)
|
|
@@ -1598,17 +1595,11 @@ var onParticipantDeleted = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)
|
|
|
1598
1595
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
1599
1596
|
{
|
|
1600
1597
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1601
|
-
paths:
|
|
1602
|
-
{ path: "entity.createdDate" },
|
|
1603
|
-
{ path: "entity.updatedDate" },
|
|
1604
|
-
{ path: "entity.lastActivityDate" },
|
|
1605
|
-
{ path: "entity.certificateInfo.issueDate" },
|
|
1606
|
-
{ path: "metadata.eventTime" }
|
|
1607
|
-
]
|
|
1598
|
+
paths: TRANSFORM_PATHS_22
|
|
1608
1599
|
},
|
|
1609
1600
|
{
|
|
1610
1601
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
1611
|
-
paths:
|
|
1602
|
+
paths: TRANSFORM_PATHS_32
|
|
1612
1603
|
}
|
|
1613
1604
|
])
|
|
1614
1605
|
)
|
|
@@ -1620,17 +1611,11 @@ var onParticipantLeft = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
|
1620
1611
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
1621
1612
|
{
|
|
1622
1613
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1623
|
-
paths:
|
|
1624
|
-
{ path: "data.participant.createdDate" },
|
|
1625
|
-
{ path: "data.participant.updatedDate" },
|
|
1626
|
-
{ path: "data.participant.lastActivityDate" },
|
|
1627
|
-
{ path: "data.participant.certificateInfo.issueDate" },
|
|
1628
|
-
{ path: "metadata.eventTime" }
|
|
1629
|
-
]
|
|
1614
|
+
paths: TRANSFORM_PATHS_02
|
|
1630
1615
|
},
|
|
1631
1616
|
{
|
|
1632
1617
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
1633
|
-
paths:
|
|
1618
|
+
paths: TRANSFORM_PATHS_12
|
|
1634
1619
|
}
|
|
1635
1620
|
])
|
|
1636
1621
|
)
|
|
@@ -1642,17 +1627,11 @@ var onParticipantMissedProgramDeadline = /* @__PURE__ */ (0, import_sdk_types.Ev
|
|
|
1642
1627
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
1643
1628
|
{
|
|
1644
1629
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1645
|
-
paths:
|
|
1646
|
-
{ path: "data.participant.createdDate" },
|
|
1647
|
-
{ path: "data.participant.updatedDate" },
|
|
1648
|
-
{ path: "data.participant.lastActivityDate" },
|
|
1649
|
-
{ path: "data.participant.certificateInfo.issueDate" },
|
|
1650
|
-
{ path: "metadata.eventTime" }
|
|
1651
|
-
]
|
|
1630
|
+
paths: TRANSFORM_PATHS_02
|
|
1652
1631
|
},
|
|
1653
1632
|
{
|
|
1654
1633
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
1655
|
-
paths:
|
|
1634
|
+
paths: TRANSFORM_PATHS_12
|
|
1656
1635
|
}
|
|
1657
1636
|
])
|
|
1658
1637
|
)
|
|
@@ -1664,17 +1643,11 @@ var onParticipantProgramDurationEnded = /* @__PURE__ */ (0, import_sdk_types.Eve
|
|
|
1664
1643
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
1665
1644
|
{
|
|
1666
1645
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1667
|
-
paths:
|
|
1668
|
-
{ path: "data.participant.createdDate" },
|
|
1669
|
-
{ path: "data.participant.updatedDate" },
|
|
1670
|
-
{ path: "data.participant.lastActivityDate" },
|
|
1671
|
-
{ path: "data.participant.certificateInfo.issueDate" },
|
|
1672
|
-
{ path: "metadata.eventTime" }
|
|
1673
|
-
]
|
|
1646
|
+
paths: TRANSFORM_PATHS_02
|
|
1674
1647
|
},
|
|
1675
1648
|
{
|
|
1676
1649
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
1677
|
-
paths:
|
|
1650
|
+
paths: TRANSFORM_PATHS_12
|
|
1678
1651
|
}
|
|
1679
1652
|
])
|
|
1680
1653
|
)
|
|
@@ -1686,17 +1659,11 @@ var onParticipantRemoved = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)
|
|
|
1686
1659
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
1687
1660
|
{
|
|
1688
1661
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1689
|
-
paths:
|
|
1690
|
-
{ path: "data.participant.createdDate" },
|
|
1691
|
-
{ path: "data.participant.updatedDate" },
|
|
1692
|
-
{ path: "data.participant.lastActivityDate" },
|
|
1693
|
-
{ path: "data.participant.certificateInfo.issueDate" },
|
|
1694
|
-
{ path: "metadata.eventTime" }
|
|
1695
|
-
]
|
|
1662
|
+
paths: TRANSFORM_PATHS_02
|
|
1696
1663
|
},
|
|
1697
1664
|
{
|
|
1698
1665
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
1699
|
-
paths:
|
|
1666
|
+
paths: TRANSFORM_PATHS_12
|
|
1700
1667
|
}
|
|
1701
1668
|
])
|
|
1702
1669
|
)
|
|
@@ -1708,17 +1675,11 @@ var onParticipantTagsModified = /* @__PURE__ */ (0, import_sdk_types.EventDefini
|
|
|
1708
1675
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
1709
1676
|
{
|
|
1710
1677
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1711
|
-
paths:
|
|
1712
|
-
{ path: "data.participant.createdDate" },
|
|
1713
|
-
{ path: "data.participant.updatedDate" },
|
|
1714
|
-
{ path: "data.participant.lastActivityDate" },
|
|
1715
|
-
{ path: "data.participant.certificateInfo.issueDate" },
|
|
1716
|
-
{ path: "metadata.eventTime" }
|
|
1717
|
-
]
|
|
1678
|
+
paths: TRANSFORM_PATHS_02
|
|
1718
1679
|
},
|
|
1719
1680
|
{
|
|
1720
1681
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
1721
|
-
paths:
|
|
1682
|
+
paths: TRANSFORM_PATHS_12
|
|
1722
1683
|
}
|
|
1723
1684
|
])
|
|
1724
1685
|
)
|
|
@@ -1730,24 +1691,11 @@ var onParticipantUpdated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)
|
|
|
1730
1691
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
1731
1692
|
{
|
|
1732
1693
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1733
|
-
paths:
|
|
1734
|
-
{ path: "entity.createdDate" },
|
|
1735
|
-
{ path: "entity.updatedDate" },
|
|
1736
|
-
{ path: "entity.lastActivityDate" },
|
|
1737
|
-
{ path: "entity.certificateInfo.issueDate" },
|
|
1738
|
-
{ path: "metadata.eventTime" },
|
|
1739
|
-
{ path: "modifiedFields.createdDate" },
|
|
1740
|
-
{ path: "modifiedFields.updatedDate" },
|
|
1741
|
-
{ path: "modifiedFields.lastActivityDate" },
|
|
1742
|
-
{ path: "modifiedFields.certificateInfo.issueDate" }
|
|
1743
|
-
]
|
|
1694
|
+
paths: TRANSFORM_PATHS_42
|
|
1744
1695
|
},
|
|
1745
1696
|
{
|
|
1746
1697
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
1747
|
-
paths:
|
|
1748
|
-
{ path: "entity.progress.completionPercentage" },
|
|
1749
|
-
{ path: "modifiedFields.progress.completionPercentage" }
|
|
1750
|
-
]
|
|
1698
|
+
paths: TRANSFORM_PATHS_52
|
|
1751
1699
|
}
|
|
1752
1700
|
])
|
|
1753
1701
|
)
|
|
@@ -1818,6 +1766,7 @@ var onParticipantUpdated2 = /* @__PURE__ */ (0, import_event_definition_modules.
|
|
|
1818
1766
|
NestedAggregationType,
|
|
1819
1767
|
PricingType,
|
|
1820
1768
|
ProgressStatus,
|
|
1769
|
+
RemovalReason,
|
|
1821
1770
|
RequestedFields,
|
|
1822
1771
|
ScalarType,
|
|
1823
1772
|
SortDirection,
|