@wix/auto_sdk_online-programs_participants 1.0.27 → 1.0.29
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 +127 -184
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +76 -105
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -1
- package/build/cjs/meta.js +76 -105
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{online-programs-participants-v3-participant-participants.universal-4mwuoF9u.d.ts → online-programs-participants-v3-participant-participants.universal-BrdlJaIZ.d.ts} +1 -0
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +127 -184
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +76 -105
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -1
- package/build/es/meta.mjs +76 -105
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{online-programs-participants-v3-participant-participants.universal-4mwuoF9u.d.mts → online-programs-participants-v3-participant-participants.universal-BrdlJaIZ.d.mts} +1 -0
- 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 +1 -1
- package/build/internal/cjs/{online-programs-participants-v3-participant-participants.universal-DvaAPYcT.d.ts → online-programs-participants-v3-participant-participants.universal-02Rnv8b6.d.ts} +1 -0
- 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 +1 -1
- package/build/internal/es/{online-programs-participants-v3-participant-participants.universal-DvaAPYcT.d.mts → online-programs-participants-v3-participant-participants.universal-02Rnv8b6.d.mts} +1 -0
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b5 as CursorSearch, S as SearchParticipantsOptions, u as SearchParticipantsResponse } from './online-programs-participants-v3-participant-participants.universal-
|
|
2
|
-
export { bT as AccountInfo, bY as AccountInfoMetadata, bO as ActionEvent, b7 as Aggregation, bn as AggregationData, b8 as AggregationKindOneOf, bG as AggregationResults, bH as AggregationResultsResultOneOf, bu as AggregationResultsScalarResult, $ as AggregationType, cd as AggregationTypeWithLiterals, av as ApplicationError, bW as BaseEventMetadata, aw as BulkActionMetadata, O as BulkActionType, c5 as BulkActionTypeWithLiterals, d as BulkCreateParticipantsApplicationErrors, e as BulkCreateParticipantsForAllMembersOptions, aH as BulkCreateParticipantsForAllMembersRequest, f as BulkCreateParticipantsForAllMembersResponse, B as BulkCreateParticipantsOptions, as as BulkCreateParticipantsRequest, c as BulkCreateParticipantsResponse, aA as BulkParticipantMigrationResult, at as BulkParticipantResult, p as BulkUpdateParticipantTagsApplicationErrors, s as BulkUpdateParticipantTagsByFilterApplicationErrors, q as BulkUpdateParticipantTagsByFilterOptions, b3 as BulkUpdateParticipantTagsByFilterRequest, r as BulkUpdateParticipantTagsByFilterResponse, n as BulkUpdateParticipantTagsOptions, b1 as BulkUpdateParticipantTagsRequest, o as BulkUpdateParticipantTagsResponse, b2 as BulkUpdateParticipantTagsResult, ax as BulkUpsertParticipantsMigrationRequest, az as BulkUpsertParticipantsMigrationResponse, a6 as CertificateInfo, cg as CommonQueryWithEntityContext, ch as CommonSearchWithEntityContext, a as CreateParticipantApplicationErrors, C as CreateParticipantOptions, ao as CreateParticipantRequest, ap as CreateParticipantResponse, aY as CursorPaging, bm as CursorPagingMetadata, b6 as CursorSearchPagingMethodOneOf, a$ as Cursors, bf as DateHistogramAggregation, bC as DateHistogramResult, bE as DateHistogramResults, ag as Delete, aB as DeleteAllParticipantsMigrationRequest, aC as DeleteAllParticipantsMigrationResponse, aI as DeleteParticipantRequest, aJ as DeleteParticipantResponse, bI as DomainEvent, bJ as DomainEventBodyOneOf, bP as Empty, a8 as EnrollmentInfo, a9 as EnrollmentInfoPricingTypeDetailsOneOf, M as EnrollmentStatus, c2 as EnrollmentStatusWithLiterals, bK as EntityCreatedEvent, bN as EntityDeletedEvent, bM as EntityUpdatedEvent, bX as EventMetadata, bU as ExportParticipantsStatsRequest, bV as ExportParticipantsStatsResponse, aa as ExtendedFields, a4 as FreeCouponDetails, b0 as GetAccessStatusRequest, m as GetAccessStatusResponse, i as GetCertificateDownloadUrlApplicationErrors, aL as GetCertificateDownloadUrlRequest, G as GetCertificateDownloadUrlResponse, aM as GetCompletionStatsRequest, aN as GetCompletionStatsResponse, l as GetParticipantOptions, aR as GetParticipantRequest, aS as GetParticipantResponse, aP as GetParticipationStatsRequest, k as GetParticipationStatsResponse, aO as GetPremiumStatsRequest, j as GetPremiumStatsResponse, bj as GroupByAggregation, bk as GroupByAggregationKindOneOf, bD as GroupByValueResults, bR as IdentificationData, bS as IdentificationDataIdOneOf, ba as IncludeMissingValuesOptions, _ as Interval, cc as IntervalWithLiterals, h as IssueCertificateApplicationErrors, I as IssueCertificateOptions, aK as IssueCertificateRequest, g as IssueCertificateResponse, au as ItemMetadata, a7 as Member, bQ as MessageEnvelope, X as MissingValues, c9 as MissingValuesWithLiterals, a0 as Mode, ce as ModeWithLiterals, bi as NestedAggregation, bg as NestedAggregationItem, bh as NestedAggregationItemKindOneOf, bq as NestedAggregationResults, br as NestedAggregationResultsResultOneOf, Z as NestedAggregationType, cb as NestedAggregationTypeWithLiterals, bz as NestedResultValue, bA as NestedResultValueResultOneOf, bF as NestedResults, bv as NestedValueAggregationResult, aX as Paging, a_ as PagingMetadataV2, a3 as PaidPlanDetails, P as Participant, aj as ParticipantCompletedProgram, v as ParticipantCompletedProgramEnvelope, w as ParticipantCreatedEnvelope, x as ParticipantDeletedEnvelope, an as ParticipantLeft, y as ParticipantLeftEnvelope, ay as ParticipantMigration, ak as ParticipantMissedProgramDeadline, z as ParticipantMissedProgramDeadlineEnvelope, al as ParticipantProgramDurationEnded, A as ParticipantProgramDurationEndedEnvelope, H as ParticipantQuery, b_ as ParticipantQuerySpec, am as ParticipantRemoved, D as ParticipantRemovedEnvelope, b$ as ParticipantSearchSpec, ai as ParticipantTagsModified, E as ParticipantTagsModifiedEnvelope, F as ParticipantUpdatedEnvelope, K as ParticipantsQueryBuilder, bZ as ParticipantsQueryResult, L as PricingType, c1 as PricingTypeWithLiterals, aQ as ProgramParticipationStats, a5 as Progress, N as ProgressStatus, c3 as ProgressStatusWithLiterals, Q as QueryParticipantsOptions, aT as QueryParticipantsRequest, aZ as QueryParticipantsResponse, aU as QueryV2, aV as QueryV2PagingMethodOneOf, bd as RangeAggregation, bp as RangeAggregationResult, b9 as RangeBucket, bx as RangeResult, bt as RangeResults, ad as ReindexMessage, ae as ReindexMessageActionOneOf, aD as ReindexParticipantsSearchRequest, aE as ReindexParticipantsSearchResponse, R as RequestedFields, c4 as RequestedFieldsWithLiterals, bL as RestoreInfo, bB as Results, be as ScalarAggregation, by as ScalarResult, Y as ScalarType, ca as ScalarTypeWithLiterals, ah as Schema, bl as SearchDetails, b4 as SearchParticipantsRequest, a2 as SinglePaymentDetails, W as SortDirection, c8 as SortDirectionWithLiterals, T as SortOrder, c6 as SortOrderWithLiterals, V as SortType, c7 as SortTypeWithLiterals, aW as Sorting, aF as SynchronizeTimeCapsuleTasksRequest, aG as SynchronizeTimeCapsuleTasksResponse, ac as TagList, ab as Tags, U as UpdateParticipant, b as UpdateParticipantOptions, aq as UpdateParticipantRequest, ar as UpdateParticipantResponse, af as Upsert, bb as ValueAggregation, bc as ValueAggregationOptionsOneOf, bo as ValueAggregationResult, bw as ValueResult, bs as ValueResults, a1 as WebhookIdentityType, cf as WebhookIdentityTypeWithLiterals, ct as bulkCreateParticipants, cu as bulkCreateParticipantsForAllMembers, cD as bulkUpdateParticipantTags, cE as bulkUpdateParticipantTagsByFilter, cr as createParticipant, cv as deleteParticipant, cC as getAccessStatus, cx as getCertificateDownloadUrl, cA as getParticipant, cz as getParticipationStats, cy as getPremiumStats, cw as issueCertificate, ci as onParticipantCompletedProgram, cj as onParticipantCreated, ck as onParticipantDeleted, cl as onParticipantLeft, cm as onParticipantMissedProgramDeadline, cn as onParticipantProgramDurationEnded, co as onParticipantRemoved, cp as onParticipantTagsModified, cq as onParticipantUpdated, cB as queryParticipants, J as typedQueryParticipants, cs as updateParticipant, c0 as utils } from './online-programs-participants-v3-participant-participants.universal-
|
|
1
|
+
import { b5 as CursorSearch, S as SearchParticipantsOptions, u as SearchParticipantsResponse } from './online-programs-participants-v3-participant-participants.universal-BrdlJaIZ.js';
|
|
2
|
+
export { bT as AccountInfo, bY as AccountInfoMetadata, bO as ActionEvent, b7 as Aggregation, bn as AggregationData, b8 as AggregationKindOneOf, bG as AggregationResults, bH as AggregationResultsResultOneOf, bu as AggregationResultsScalarResult, $ as AggregationType, cd as AggregationTypeWithLiterals, av as ApplicationError, bW as BaseEventMetadata, aw as BulkActionMetadata, O as BulkActionType, c5 as BulkActionTypeWithLiterals, d as BulkCreateParticipantsApplicationErrors, e as BulkCreateParticipantsForAllMembersOptions, aH as BulkCreateParticipantsForAllMembersRequest, f as BulkCreateParticipantsForAllMembersResponse, B as BulkCreateParticipantsOptions, as as BulkCreateParticipantsRequest, c as BulkCreateParticipantsResponse, aA as BulkParticipantMigrationResult, at as BulkParticipantResult, p as BulkUpdateParticipantTagsApplicationErrors, s as BulkUpdateParticipantTagsByFilterApplicationErrors, q as BulkUpdateParticipantTagsByFilterOptions, b3 as BulkUpdateParticipantTagsByFilterRequest, r as BulkUpdateParticipantTagsByFilterResponse, n as BulkUpdateParticipantTagsOptions, b1 as BulkUpdateParticipantTagsRequest, o as BulkUpdateParticipantTagsResponse, b2 as BulkUpdateParticipantTagsResult, ax as BulkUpsertParticipantsMigrationRequest, az as BulkUpsertParticipantsMigrationResponse, a6 as CertificateInfo, cg as CommonQueryWithEntityContext, ch as CommonSearchWithEntityContext, a as CreateParticipantApplicationErrors, C as CreateParticipantOptions, ao as CreateParticipantRequest, ap as CreateParticipantResponse, aY as CursorPaging, bm as CursorPagingMetadata, b6 as CursorSearchPagingMethodOneOf, a$ as Cursors, bf as DateHistogramAggregation, bC as DateHistogramResult, bE as DateHistogramResults, ag as Delete, aB as DeleteAllParticipantsMigrationRequest, aC as DeleteAllParticipantsMigrationResponse, aI as DeleteParticipantRequest, aJ as DeleteParticipantResponse, bI as DomainEvent, bJ as DomainEventBodyOneOf, bP as Empty, a8 as EnrollmentInfo, a9 as EnrollmentInfoPricingTypeDetailsOneOf, M as EnrollmentStatus, c2 as EnrollmentStatusWithLiterals, bK as EntityCreatedEvent, bN as EntityDeletedEvent, bM as EntityUpdatedEvent, bX as EventMetadata, bU as ExportParticipantsStatsRequest, bV as ExportParticipantsStatsResponse, aa as ExtendedFields, a4 as FreeCouponDetails, b0 as GetAccessStatusRequest, m as GetAccessStatusResponse, i as GetCertificateDownloadUrlApplicationErrors, aL as GetCertificateDownloadUrlRequest, G as GetCertificateDownloadUrlResponse, aM as GetCompletionStatsRequest, aN as GetCompletionStatsResponse, l as GetParticipantOptions, aR as GetParticipantRequest, aS as GetParticipantResponse, aP as GetParticipationStatsRequest, k as GetParticipationStatsResponse, aO as GetPremiumStatsRequest, j as GetPremiumStatsResponse, bj as GroupByAggregation, bk as GroupByAggregationKindOneOf, bD as GroupByValueResults, bR as IdentificationData, bS as IdentificationDataIdOneOf, ba as IncludeMissingValuesOptions, _ as Interval, cc as IntervalWithLiterals, h as IssueCertificateApplicationErrors, I as IssueCertificateOptions, aK as IssueCertificateRequest, g as IssueCertificateResponse, au as ItemMetadata, a7 as Member, bQ as MessageEnvelope, X as MissingValues, c9 as MissingValuesWithLiterals, a0 as Mode, ce as ModeWithLiterals, bi as NestedAggregation, bg as NestedAggregationItem, bh as NestedAggregationItemKindOneOf, bq as NestedAggregationResults, br as NestedAggregationResultsResultOneOf, Z as NestedAggregationType, cb as NestedAggregationTypeWithLiterals, bz as NestedResultValue, bA as NestedResultValueResultOneOf, bF as NestedResults, bv as NestedValueAggregationResult, aX as Paging, a_ as PagingMetadataV2, a3 as PaidPlanDetails, P as Participant, aj as ParticipantCompletedProgram, v as ParticipantCompletedProgramEnvelope, w as ParticipantCreatedEnvelope, x as ParticipantDeletedEnvelope, an as ParticipantLeft, y as ParticipantLeftEnvelope, ay as ParticipantMigration, ak as ParticipantMissedProgramDeadline, z as ParticipantMissedProgramDeadlineEnvelope, al as ParticipantProgramDurationEnded, A as ParticipantProgramDurationEndedEnvelope, H as ParticipantQuery, b_ as ParticipantQuerySpec, am as ParticipantRemoved, D as ParticipantRemovedEnvelope, b$ as ParticipantSearchSpec, ai as ParticipantTagsModified, E as ParticipantTagsModifiedEnvelope, F as ParticipantUpdatedEnvelope, K as ParticipantsQueryBuilder, bZ as ParticipantsQueryResult, L as PricingType, c1 as PricingTypeWithLiterals, aQ as ProgramParticipationStats, a5 as Progress, N as ProgressStatus, c3 as ProgressStatusWithLiterals, Q as QueryParticipantsOptions, aT as QueryParticipantsRequest, aZ as QueryParticipantsResponse, aU as QueryV2, aV as QueryV2PagingMethodOneOf, bd as RangeAggregation, bp as RangeAggregationResult, b9 as RangeBucket, bx as RangeResult, bt as RangeResults, ad as ReindexMessage, ae as ReindexMessageActionOneOf, aD as ReindexParticipantsSearchRequest, aE as ReindexParticipantsSearchResponse, R as RequestedFields, c4 as RequestedFieldsWithLiterals, bL as RestoreInfo, bB as Results, be as ScalarAggregation, by as ScalarResult, Y as ScalarType, ca as ScalarTypeWithLiterals, ah as Schema, bl as SearchDetails, b4 as SearchParticipantsRequest, a2 as SinglePaymentDetails, W as SortDirection, c8 as SortDirectionWithLiterals, T as SortOrder, c6 as SortOrderWithLiterals, V as SortType, c7 as SortTypeWithLiterals, aW as Sorting, aF as SynchronizeTimeCapsuleTasksRequest, aG as SynchronizeTimeCapsuleTasksResponse, ac as TagList, ab as Tags, U as UpdateParticipant, b as UpdateParticipantOptions, aq as UpdateParticipantRequest, ar as UpdateParticipantResponse, af as Upsert, bb as ValueAggregation, bc as ValueAggregationOptionsOneOf, bo as ValueAggregationResult, bw as ValueResult, bs as ValueResults, a1 as WebhookIdentityType, cf as WebhookIdentityTypeWithLiterals, ct as bulkCreateParticipants, cu as bulkCreateParticipantsForAllMembers, cD as bulkUpdateParticipantTags, cE as bulkUpdateParticipantTagsByFilter, cr as createParticipant, cv as deleteParticipant, cC as getAccessStatus, cx as getCertificateDownloadUrl, cA as getParticipant, cz as getParticipationStats, cy as getPremiumStats, cw as issueCertificate, ci as onParticipantCompletedProgram, cj as onParticipantCreated, ck as onParticipantDeleted, cl as onParticipantLeft, cm as onParticipantMissedProgramDeadline, cn as onParticipantProgramDurationEnded, co as onParticipantRemoved, cp as onParticipantTagsModified, cq as onParticipantUpdated, cB as queryParticipants, J as typedQueryParticipants, cs as updateParticipant, c0 as utils } from './online-programs-participants-v3-participant-participants.universal-BrdlJaIZ.js';
|
|
3
3
|
import '@wix/sdk-types';
|
|
4
4
|
|
|
5
5
|
/** @hidden */
|
|
@@ -70,6 +70,59 @@ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
|
70
70
|
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
71
71
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
72
72
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
73
|
+
var TRANSFORM_PATHS_0 = [
|
|
74
|
+
{ path: "participant.createdDate" },
|
|
75
|
+
{ path: "participant.updatedDate" },
|
|
76
|
+
{ path: "participant.lastActivityDate" },
|
|
77
|
+
{ path: "participant.certificateInfo.issueDate" }
|
|
78
|
+
];
|
|
79
|
+
var TRANSFORM_PATHS_1 = [
|
|
80
|
+
{ path: "participant.progress.completionPercentage" }
|
|
81
|
+
];
|
|
82
|
+
var TRANSFORM_PATHS_2 = [{ path: "fieldMask" }];
|
|
83
|
+
var TRANSFORM_PATHS_3 = [
|
|
84
|
+
{ path: "participants.createdDate" },
|
|
85
|
+
{ path: "participants.updatedDate" },
|
|
86
|
+
{ path: "participants.lastActivityDate" },
|
|
87
|
+
{ path: "participants.certificateInfo.issueDate" }
|
|
88
|
+
];
|
|
89
|
+
var TRANSFORM_PATHS_4 = [
|
|
90
|
+
{ path: "participants.progress.completionPercentage" }
|
|
91
|
+
];
|
|
92
|
+
var TRANSFORM_PATHS_5 = [
|
|
93
|
+
{ path: "results.item.createdDate" },
|
|
94
|
+
{ path: "results.item.updatedDate" },
|
|
95
|
+
{ path: "results.item.lastActivityDate" },
|
|
96
|
+
{ path: "results.item.certificateInfo.issueDate" }
|
|
97
|
+
];
|
|
98
|
+
var TRANSFORM_PATHS_6 = [
|
|
99
|
+
{ path: "results.item.progress.completionPercentage" }
|
|
100
|
+
];
|
|
101
|
+
var TRANSFORM_PATHS_7 = [{ path: "expirationDate" }];
|
|
102
|
+
var TRANSFORM_PATHS_8 = [
|
|
103
|
+
{ path: "search.aggregations.range.buckets.from" },
|
|
104
|
+
{ path: "search.aggregations.range.buckets.to" },
|
|
105
|
+
{ path: "search.aggregations.nested.nestedAggregations.range.buckets.from" },
|
|
106
|
+
{ path: "search.aggregations.nested.nestedAggregations.range.buckets.to" }
|
|
107
|
+
];
|
|
108
|
+
var TRANSFORM_PATHS_9 = [
|
|
109
|
+
{ path: "participants.progress.completionPercentage" },
|
|
110
|
+
{ path: "aggregationData.results.scalar.value" },
|
|
111
|
+
{
|
|
112
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
|
|
113
|
+
},
|
|
114
|
+
{ path: "aggregationData.results.nested.results.results.*.scalar.value" },
|
|
115
|
+
{ path: "aggregationData.results.ranges.results.from" },
|
|
116
|
+
{ path: "aggregationData.results.ranges.results.to" },
|
|
117
|
+
{
|
|
118
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
|
|
122
|
+
},
|
|
123
|
+
{ path: "aggregationData.results.nested.results.results.*.range.from" },
|
|
124
|
+
{ path: "aggregationData.results.nested.results.results.*.range.to" }
|
|
125
|
+
];
|
|
73
126
|
function resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl(opts) {
|
|
74
127
|
const domainToMappings = {
|
|
75
128
|
"bo._base_domain_": [
|
|
@@ -250,16 +303,11 @@ function createParticipant(payload) {
|
|
|
250
303
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
251
304
|
{
|
|
252
305
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
253
|
-
paths:
|
|
254
|
-
{ path: "participant.createdDate" },
|
|
255
|
-
{ path: "participant.updatedDate" },
|
|
256
|
-
{ path: "participant.lastActivityDate" },
|
|
257
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
258
|
-
]
|
|
306
|
+
paths: TRANSFORM_PATHS_0
|
|
259
307
|
},
|
|
260
308
|
{
|
|
261
309
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
262
|
-
paths:
|
|
310
|
+
paths: TRANSFORM_PATHS_1
|
|
263
311
|
}
|
|
264
312
|
]);
|
|
265
313
|
const metadata = {
|
|
@@ -279,16 +327,11 @@ function createParticipant(payload) {
|
|
|
279
327
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
280
328
|
{
|
|
281
329
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
282
|
-
paths:
|
|
283
|
-
{ path: "participant.createdDate" },
|
|
284
|
-
{ path: "participant.updatedDate" },
|
|
285
|
-
{ path: "participant.lastActivityDate" },
|
|
286
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
287
|
-
]
|
|
330
|
+
paths: TRANSFORM_PATHS_0
|
|
288
331
|
},
|
|
289
332
|
{
|
|
290
333
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
291
|
-
paths:
|
|
334
|
+
paths: TRANSFORM_PATHS_1
|
|
292
335
|
}
|
|
293
336
|
])
|
|
294
337
|
};
|
|
@@ -301,20 +344,15 @@ function updateParticipant(payload) {
|
|
|
301
344
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
302
345
|
{
|
|
303
346
|
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
304
|
-
paths:
|
|
347
|
+
paths: TRANSFORM_PATHS_2
|
|
305
348
|
},
|
|
306
349
|
{
|
|
307
350
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
308
|
-
paths:
|
|
309
|
-
{ path: "participant.createdDate" },
|
|
310
|
-
{ path: "participant.updatedDate" },
|
|
311
|
-
{ path: "participant.lastActivityDate" },
|
|
312
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
313
|
-
]
|
|
351
|
+
paths: TRANSFORM_PATHS_0
|
|
314
352
|
},
|
|
315
353
|
{
|
|
316
354
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
317
|
-
paths:
|
|
355
|
+
paths: TRANSFORM_PATHS_1
|
|
318
356
|
}
|
|
319
357
|
]);
|
|
320
358
|
const metadata = {
|
|
@@ -334,16 +372,11 @@ function updateParticipant(payload) {
|
|
|
334
372
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
335
373
|
{
|
|
336
374
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
337
|
-
paths:
|
|
338
|
-
{ path: "participant.createdDate" },
|
|
339
|
-
{ path: "participant.updatedDate" },
|
|
340
|
-
{ path: "participant.lastActivityDate" },
|
|
341
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
342
|
-
]
|
|
375
|
+
paths: TRANSFORM_PATHS_0
|
|
343
376
|
},
|
|
344
377
|
{
|
|
345
378
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
346
|
-
paths:
|
|
379
|
+
paths: TRANSFORM_PATHS_1
|
|
347
380
|
}
|
|
348
381
|
])
|
|
349
382
|
};
|
|
@@ -356,16 +389,11 @@ function bulkCreateParticipants(payload) {
|
|
|
356
389
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
357
390
|
{
|
|
358
391
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
359
|
-
paths:
|
|
360
|
-
{ path: "participants.createdDate" },
|
|
361
|
-
{ path: "participants.updatedDate" },
|
|
362
|
-
{ path: "participants.lastActivityDate" },
|
|
363
|
-
{ path: "participants.certificateInfo.issueDate" }
|
|
364
|
-
]
|
|
392
|
+
paths: TRANSFORM_PATHS_3
|
|
365
393
|
},
|
|
366
394
|
{
|
|
367
395
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
368
|
-
paths:
|
|
396
|
+
paths: TRANSFORM_PATHS_4
|
|
369
397
|
}
|
|
370
398
|
]);
|
|
371
399
|
const metadata = {
|
|
@@ -385,16 +413,11 @@ function bulkCreateParticipants(payload) {
|
|
|
385
413
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
386
414
|
{
|
|
387
415
|
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
|
-
]
|
|
416
|
+
paths: TRANSFORM_PATHS_5
|
|
394
417
|
},
|
|
395
418
|
{
|
|
396
419
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
397
|
-
paths:
|
|
420
|
+
paths: TRANSFORM_PATHS_6
|
|
398
421
|
}
|
|
399
422
|
])
|
|
400
423
|
};
|
|
@@ -463,16 +486,11 @@ function issueCertificate(payload) {
|
|
|
463
486
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
464
487
|
{
|
|
465
488
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
466
|
-
paths:
|
|
467
|
-
{ path: "participant.createdDate" },
|
|
468
|
-
{ path: "participant.updatedDate" },
|
|
469
|
-
{ path: "participant.lastActivityDate" },
|
|
470
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
471
|
-
]
|
|
489
|
+
paths: TRANSFORM_PATHS_0
|
|
472
490
|
},
|
|
473
491
|
{
|
|
474
492
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
475
|
-
paths:
|
|
493
|
+
paths: TRANSFORM_PATHS_1
|
|
476
494
|
}
|
|
477
495
|
])
|
|
478
496
|
};
|
|
@@ -499,7 +517,7 @@ function getCertificateDownloadUrl(payload) {
|
|
|
499
517
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
500
518
|
{
|
|
501
519
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
502
|
-
paths:
|
|
520
|
+
paths: TRANSFORM_PATHS_7
|
|
503
521
|
}
|
|
504
522
|
])
|
|
505
523
|
};
|
|
@@ -568,16 +586,11 @@ function getParticipant(payload) {
|
|
|
568
586
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
569
587
|
{
|
|
570
588
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
571
|
-
paths:
|
|
572
|
-
{ path: "participant.createdDate" },
|
|
573
|
-
{ path: "participant.updatedDate" },
|
|
574
|
-
{ path: "participant.lastActivityDate" },
|
|
575
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
576
|
-
]
|
|
589
|
+
paths: TRANSFORM_PATHS_0
|
|
577
590
|
},
|
|
578
591
|
{
|
|
579
592
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
580
|
-
paths:
|
|
593
|
+
paths: TRANSFORM_PATHS_1
|
|
581
594
|
}
|
|
582
595
|
])
|
|
583
596
|
};
|
|
@@ -604,16 +617,11 @@ function queryParticipants(payload) {
|
|
|
604
617
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
605
618
|
{
|
|
606
619
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
607
|
-
paths:
|
|
608
|
-
{ path: "participants.createdDate" },
|
|
609
|
-
{ path: "participants.updatedDate" },
|
|
610
|
-
{ path: "participants.lastActivityDate" },
|
|
611
|
-
{ path: "participants.certificateInfo.issueDate" }
|
|
612
|
-
]
|
|
620
|
+
paths: TRANSFORM_PATHS_3
|
|
613
621
|
},
|
|
614
622
|
{
|
|
615
623
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
616
|
-
paths:
|
|
624
|
+
paths: TRANSFORM_PATHS_4
|
|
617
625
|
}
|
|
618
626
|
])
|
|
619
627
|
};
|
|
@@ -689,16 +697,7 @@ function searchParticipants(payload) {
|
|
|
689
697
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
690
698
|
{
|
|
691
699
|
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
|
-
]
|
|
700
|
+
paths: TRANSFORM_PATHS_8
|
|
702
701
|
}
|
|
703
702
|
]);
|
|
704
703
|
const metadata = {
|
|
@@ -718,39 +717,11 @@ function searchParticipants(payload) {
|
|
|
718
717
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
719
718
|
{
|
|
720
719
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
721
|
-
paths:
|
|
722
|
-
{ path: "participants.createdDate" },
|
|
723
|
-
{ path: "participants.updatedDate" },
|
|
724
|
-
{ path: "participants.lastActivityDate" },
|
|
725
|
-
{ path: "participants.certificateInfo.issueDate" }
|
|
726
|
-
]
|
|
720
|
+
paths: TRANSFORM_PATHS_3
|
|
727
721
|
},
|
|
728
722
|
{
|
|
729
723
|
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
|
-
]
|
|
724
|
+
paths: TRANSFORM_PATHS_9
|
|
754
725
|
}
|
|
755
726
|
])
|
|
756
727
|
};
|