@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.
Files changed (29) hide show
  1. package/build/cjs/index.d.ts +2 -2
  2. package/build/cjs/index.js +133 -184
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +2 -2
  5. package/build/cjs/index.typings.js +82 -105
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +10 -2
  8. package/build/cjs/meta.js +82 -105
  9. package/build/cjs/meta.js.map +1 -1
  10. 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
  11. package/build/es/index.d.mts +2 -2
  12. package/build/es/index.mjs +132 -184
  13. package/build/es/index.mjs.map +1 -1
  14. package/build/es/index.typings.d.mts +2 -2
  15. package/build/es/index.typings.mjs +81 -105
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +10 -2
  18. package/build/es/meta.mjs +81 -105
  19. package/build/es/meta.mjs.map +1 -1
  20. 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
  21. package/build/internal/cjs/index.d.ts +2 -2
  22. package/build/internal/cjs/index.typings.d.ts +2 -2
  23. package/build/internal/cjs/meta.d.ts +10 -2
  24. 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
  25. package/build/internal/es/index.d.mts +2 -2
  26. package/build/internal/es/index.typings.d.mts +2 -2
  27. package/build/internal/es/meta.d.mts +10 -2
  28. 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
  29. package/package.json +2 -2
@@ -433,7 +433,15 @@ interface ParticipantRemoved {
433
433
  memberId?: string;
434
434
  /** Snapshot of the participant after being removed from the program. */
435
435
  participant?: Participant;
436
+ /** Reason for automatic removal. Unspecified for existing removal flows. */
437
+ removalReason?: RemovalReasonWithLiterals;
436
438
  }
439
+ declare enum RemovalReason {
440
+ /** The associated site member was deleted. Do not send a removal notification. */
441
+ MEMBER_DELETED = "MEMBER_DELETED"
442
+ }
443
+ /** @enumType */
444
+ type RemovalReasonWithLiterals = RemovalReason | 'MEMBER_DELETED';
437
445
  /** Domain event emitted when a participant voluntarily leaves a program. */
438
446
  interface ParticipantLeft {
439
447
  /**
@@ -2584,4 +2592,4 @@ type ParticipantSearch = {
2584
2592
  timeZone?: CommonSearchWithEntityContext['timeZone'] | null;
2585
2593
  };
2586
2594
 
2587
- export { AggregationType as $, type ParticipantProgramDurationEndedEnvelope as A, type BulkCreateParticipantsOptions as B, type CreateParticipantOptions as C, type ParticipantRemovedEnvelope as D, type ParticipantTagsModifiedEnvelope as E, type ParticipantUpdatedEnvelope as F, type GetCertificateDownloadUrlResponse as G, type ParticipantQuery as H, type IssueCertificateOptions as I, typedQueryParticipants as J, type ParticipantsQueryBuilder as K, PricingType as L, EnrollmentStatus as M, ProgressStatus as N, BulkActionType as O, type Participant as P, type QueryParticipantsOptions as Q, RequestedFields as R, type SearchParticipantsOptions as S, SortOrder as T, type UpdateParticipant as U, SortType as V, SortDirection as W, MissingValues as X, ScalarType as Y, NestedAggregationType as Z, Interval as _, type CreateParticipantApplicationErrors as a, type Cursors as a$, Mode as a0, WebhookIdentityType as a1, type SinglePaymentDetails as a2, type PaidPlanDetails as a3, type FreeCouponDetails as a4, type Progress as a5, type CertificateInfo as a6, type Member as a7, type EnrollmentInfo as a8, type EnrollmentInfoPricingTypeDetailsOneOf as a9, type BulkParticipantMigrationResult as aA, type DeleteAllParticipantsMigrationRequest as aB, type DeleteAllParticipantsMigrationResponse as aC, type ReindexParticipantsSearchRequest as aD, type ReindexParticipantsSearchResponse as aE, type SynchronizeTimeCapsuleTasksRequest as aF, type SynchronizeTimeCapsuleTasksResponse as aG, type BulkCreateParticipantsForAllMembersRequest as aH, type DeleteParticipantRequest as aI, type DeleteParticipantResponse as aJ, type IssueCertificateRequest as aK, type GetCertificateDownloadUrlRequest as aL, type GetCompletionStatsRequest as aM, type GetCompletionStatsResponse as aN, type GetPremiumStatsRequest as aO, type GetParticipationStatsRequest as aP, type ProgramParticipationStats as aQ, type GetParticipantRequest as aR, type GetParticipantResponse as aS, type QueryParticipantsRequest as aT, type QueryV2 as aU, type QueryV2PagingMethodOneOf as aV, type Sorting as aW, type Paging as aX, type CursorPaging as aY, type QueryParticipantsResponse as aZ, type PagingMetadataV2 as a_, type ExtendedFields as aa, type Tags as ab, type TagList as ac, type ReindexMessage as ad, type ReindexMessageActionOneOf as ae, type Upsert as af, type Delete as ag, type Schema as ah, type ParticipantTagsModified as ai, type ParticipantCompletedProgram as aj, type ParticipantMissedProgramDeadline as ak, type ParticipantProgramDurationEnded as al, type ParticipantRemoved as am, type ParticipantLeft as an, type CreateParticipantRequest as ao, type CreateParticipantResponse as ap, type UpdateParticipantRequest as aq, type UpdateParticipantResponse as ar, type BulkCreateParticipantsRequest as as, type BulkParticipantResult as at, type ItemMetadata as au, type ApplicationError as av, type BulkActionMetadata as aw, type BulkUpsertParticipantsMigrationRequest as ax, type ParticipantMigration as ay, type BulkUpsertParticipantsMigrationResponse as az, type UpdateParticipantOptions as b, type ParticipantSearchSpec as b$, type GetAccessStatusRequest as b0, type BulkUpdateParticipantTagsRequest as b1, type BulkUpdateParticipantTagsResult as b2, type BulkUpdateParticipantTagsByFilterRequest as b3, type SearchParticipantsRequest as b4, type CursorSearch as b5, type CursorSearchPagingMethodOneOf as b6, type Aggregation as b7, type AggregationKindOneOf as b8, type RangeBucket as b9, type NestedResultValueResultOneOf as bA, type Results as bB, type DateHistogramResult as bC, type GroupByValueResults as bD, type DateHistogramResults as bE, type NestedResults as bF, type AggregationResults as bG, type AggregationResultsResultOneOf as bH, type DomainEvent as bI, type DomainEventBodyOneOf as bJ, type EntityCreatedEvent as bK, type RestoreInfo as bL, type EntityUpdatedEvent as bM, type EntityDeletedEvent as bN, type ActionEvent as bO, type Empty as bP, type MessageEnvelope as bQ, type IdentificationData as bR, type IdentificationDataIdOneOf as bS, type AccountInfo as bT, type ExportParticipantsStatsRequest as bU, type ExportParticipantsStatsResponse as bV, type BaseEventMetadata as bW, type EventMetadata as bX, type AccountInfoMetadata as bY, type ParticipantsQueryResult as bZ, type ParticipantQuerySpec as b_, type IncludeMissingValuesOptions as ba, type ValueAggregation as bb, type ValueAggregationOptionsOneOf as bc, type RangeAggregation as bd, type ScalarAggregation as be, type DateHistogramAggregation as bf, type NestedAggregationItem as bg, type NestedAggregationItemKindOneOf as bh, type NestedAggregation as bi, type GroupByAggregation as bj, type GroupByAggregationKindOneOf as bk, type SearchDetails as bl, type CursorPagingMetadata as bm, type AggregationData as bn, type ValueAggregationResult as bo, type RangeAggregationResult as bp, type NestedAggregationResults as bq, type NestedAggregationResultsResultOneOf as br, type ValueResults as bs, type RangeResults as bt, type AggregationResultsScalarResult as bu, type NestedValueAggregationResult as bv, type ValueResult as bw, type RangeResult as bx, type ScalarResult as by, type NestedResultValue as bz, type BulkCreateParticipantsResponse as c, utils as c0, type PricingTypeWithLiterals as c1, type EnrollmentStatusWithLiterals as c2, type ProgressStatusWithLiterals as c3, type RequestedFieldsWithLiterals as c4, type BulkActionTypeWithLiterals as c5, type SortOrderWithLiterals as c6, type SortTypeWithLiterals as c7, type SortDirectionWithLiterals as c8, type MissingValuesWithLiterals as c9, getParticipant as cA, queryParticipants as cB, getAccessStatus as cC, bulkUpdateParticipantTags as cD, bulkUpdateParticipantTagsByFilter as cE, type ScalarTypeWithLiterals as ca, type NestedAggregationTypeWithLiterals as cb, type IntervalWithLiterals as cc, type AggregationTypeWithLiterals as cd, type ModeWithLiterals as ce, type WebhookIdentityTypeWithLiterals as cf, type CommonQueryWithEntityContext as cg, type CommonSearchWithEntityContext as ch, onParticipantCompletedProgram as ci, onParticipantCreated as cj, onParticipantDeleted as ck, onParticipantLeft as cl, onParticipantMissedProgramDeadline as cm, onParticipantProgramDurationEnded as cn, onParticipantRemoved as co, onParticipantTagsModified as cp, onParticipantUpdated as cq, createParticipant as cr, updateParticipant as cs, bulkCreateParticipants as ct, bulkCreateParticipantsForAllMembers as cu, deleteParticipant as cv, issueCertificate as cw, getCertificateDownloadUrl as cx, getPremiumStats as cy, getParticipationStats as cz, type BulkCreateParticipantsApplicationErrors as d, type BulkCreateParticipantsForAllMembersOptions as e, type BulkCreateParticipantsForAllMembersResponse as f, type IssueCertificateResponse as g, type IssueCertificateApplicationErrors as h, type GetCertificateDownloadUrlApplicationErrors as i, type GetPremiumStatsResponse as j, type GetParticipationStatsResponse as k, type GetParticipantOptions as l, type GetAccessStatusResponse as m, type BulkUpdateParticipantTagsOptions as n, type BulkUpdateParticipantTagsResponse as o, type BulkUpdateParticipantTagsApplicationErrors as p, type BulkUpdateParticipantTagsByFilterOptions as q, type BulkUpdateParticipantTagsByFilterResponse as r, type BulkUpdateParticipantTagsByFilterApplicationErrors as s, type ParticipantSearch as t, type SearchParticipantsResponse as u, type ParticipantCompletedProgramEnvelope as v, type ParticipantCreatedEnvelope as w, type ParticipantDeletedEnvelope as x, type ParticipantLeftEnvelope as y, type ParticipantMissedProgramDeadlineEnvelope as z };
2595
+ export { Interval as $, type ParticipantProgramDurationEndedEnvelope as A, type BulkCreateParticipantsOptions as B, type CreateParticipantOptions as C, type ParticipantRemovedEnvelope as D, type ParticipantTagsModifiedEnvelope as E, type ParticipantUpdatedEnvelope as F, type GetCertificateDownloadUrlResponse as G, type ParticipantQuery as H, type IssueCertificateOptions as I, typedQueryParticipants as J, type ParticipantsQueryBuilder as K, PricingType as L, EnrollmentStatus as M, ProgressStatus as N, RequestedFields as O, type Participant as P, type QueryParticipantsOptions as Q, RemovalReason as R, type SearchParticipantsOptions as S, BulkActionType as T, type UpdateParticipant as U, SortOrder as V, SortType as W, SortDirection as X, MissingValues as Y, ScalarType as Z, NestedAggregationType as _, type CreateParticipantApplicationErrors as a, type PagingMetadataV2 as a$, AggregationType as a0, Mode as a1, WebhookIdentityType as a2, type SinglePaymentDetails as a3, type PaidPlanDetails as a4, type FreeCouponDetails as a5, type Progress as a6, type CertificateInfo as a7, type Member as a8, type EnrollmentInfo as a9, type BulkUpsertParticipantsMigrationResponse as aA, type BulkParticipantMigrationResult as aB, type DeleteAllParticipantsMigrationRequest as aC, type DeleteAllParticipantsMigrationResponse as aD, type ReindexParticipantsSearchRequest as aE, type ReindexParticipantsSearchResponse as aF, type SynchronizeTimeCapsuleTasksRequest as aG, type SynchronizeTimeCapsuleTasksResponse as aH, type BulkCreateParticipantsForAllMembersRequest as aI, type DeleteParticipantRequest as aJ, type DeleteParticipantResponse as aK, type IssueCertificateRequest as aL, type GetCertificateDownloadUrlRequest as aM, type GetCompletionStatsRequest as aN, type GetCompletionStatsResponse as aO, type GetPremiumStatsRequest as aP, type GetParticipationStatsRequest as aQ, type ProgramParticipationStats as aR, type GetParticipantRequest as aS, type GetParticipantResponse as aT, type QueryParticipantsRequest as aU, type QueryV2 as aV, type QueryV2PagingMethodOneOf as aW, type Sorting as aX, type Paging as aY, type CursorPaging as aZ, type QueryParticipantsResponse as a_, type EnrollmentInfoPricingTypeDetailsOneOf as aa, type ExtendedFields as ab, type Tags as ac, type TagList as ad, type ReindexMessage as ae, type ReindexMessageActionOneOf as af, type Upsert as ag, type Delete as ah, type Schema as ai, type ParticipantTagsModified as aj, type ParticipantCompletedProgram as ak, type ParticipantMissedProgramDeadline as al, type ParticipantProgramDurationEnded as am, type ParticipantRemoved as an, type ParticipantLeft as ao, type CreateParticipantRequest as ap, type CreateParticipantResponse as aq, type UpdateParticipantRequest as ar, type UpdateParticipantResponse as as, type BulkCreateParticipantsRequest as at, type BulkParticipantResult as au, type ItemMetadata as av, type ApplicationError as aw, type BulkActionMetadata as ax, type BulkUpsertParticipantsMigrationRequest as ay, type ParticipantMigration as az, type UpdateParticipantOptions as b, type ParticipantQuerySpec as b$, type Cursors as b0, type GetAccessStatusRequest as b1, type BulkUpdateParticipantTagsRequest as b2, type BulkUpdateParticipantTagsResult as b3, type BulkUpdateParticipantTagsByFilterRequest as b4, type SearchParticipantsRequest as b5, type CursorSearch as b6, type CursorSearchPagingMethodOneOf as b7, type Aggregation as b8, type AggregationKindOneOf as b9, type NestedResultValue as bA, type NestedResultValueResultOneOf as bB, type Results as bC, type DateHistogramResult as bD, type GroupByValueResults as bE, type DateHistogramResults as bF, type NestedResults as bG, type AggregationResults as bH, type AggregationResultsResultOneOf as bI, type DomainEvent as bJ, type DomainEventBodyOneOf as bK, type EntityCreatedEvent as bL, type RestoreInfo as bM, type EntityUpdatedEvent as bN, type EntityDeletedEvent as bO, type ActionEvent as bP, type Empty as bQ, type MessageEnvelope as bR, type IdentificationData as bS, type IdentificationDataIdOneOf as bT, type AccountInfo as bU, type ExportParticipantsStatsRequest as bV, type ExportParticipantsStatsResponse as bW, type BaseEventMetadata as bX, type EventMetadata as bY, type AccountInfoMetadata as bZ, type ParticipantsQueryResult as b_, type RangeBucket as ba, type IncludeMissingValuesOptions as bb, type ValueAggregation as bc, type ValueAggregationOptionsOneOf as bd, type RangeAggregation as be, type ScalarAggregation as bf, type DateHistogramAggregation as bg, type NestedAggregationItem as bh, type NestedAggregationItemKindOneOf as bi, type NestedAggregation as bj, type GroupByAggregation as bk, type GroupByAggregationKindOneOf as bl, type SearchDetails as bm, type CursorPagingMetadata as bn, type AggregationData as bo, type ValueAggregationResult as bp, type RangeAggregationResult as bq, type NestedAggregationResults as br, type NestedAggregationResultsResultOneOf as bs, type ValueResults as bt, type RangeResults as bu, type AggregationResultsScalarResult as bv, type NestedValueAggregationResult as bw, type ValueResult as bx, type RangeResult as by, type ScalarResult as bz, type BulkCreateParticipantsResponse as c, type ParticipantSearchSpec as c0, utils as c1, type PricingTypeWithLiterals as c2, type EnrollmentStatusWithLiterals as c3, type ProgressStatusWithLiterals as c4, type RemovalReasonWithLiterals as c5, type RequestedFieldsWithLiterals as c6, type BulkActionTypeWithLiterals as c7, type SortOrderWithLiterals as c8, type SortTypeWithLiterals as c9, getPremiumStats as cA, getParticipationStats as cB, getParticipant as cC, queryParticipants as cD, getAccessStatus as cE, bulkUpdateParticipantTags as cF, bulkUpdateParticipantTagsByFilter as cG, type SortDirectionWithLiterals as ca, type MissingValuesWithLiterals as cb, type ScalarTypeWithLiterals as cc, type NestedAggregationTypeWithLiterals as cd, type IntervalWithLiterals as ce, type AggregationTypeWithLiterals as cf, type ModeWithLiterals as cg, type WebhookIdentityTypeWithLiterals as ch, type CommonQueryWithEntityContext as ci, type CommonSearchWithEntityContext as cj, onParticipantCompletedProgram as ck, onParticipantCreated as cl, onParticipantDeleted as cm, onParticipantLeft as cn, onParticipantMissedProgramDeadline as co, onParticipantProgramDurationEnded as cp, onParticipantRemoved as cq, onParticipantTagsModified as cr, onParticipantUpdated as cs, createParticipant as ct, updateParticipant as cu, bulkCreateParticipants as cv, bulkCreateParticipantsForAllMembers as cw, deleteParticipant as cx, issueCertificate as cy, getCertificateDownloadUrl as cz, type BulkCreateParticipantsApplicationErrors as d, type BulkCreateParticipantsForAllMembersOptions as e, type BulkCreateParticipantsForAllMembersResponse as f, type IssueCertificateResponse as g, type IssueCertificateApplicationErrors as h, type GetCertificateDownloadUrlApplicationErrors as i, type GetPremiumStatsResponse as j, type GetParticipationStatsResponse as k, type GetParticipantOptions as l, type GetAccessStatusResponse as m, type BulkUpdateParticipantTagsOptions as n, type BulkUpdateParticipantTagsResponse as o, type BulkUpdateParticipantTagsApplicationErrors as p, type BulkUpdateParticipantTagsByFilterOptions as q, type BulkUpdateParticipantTagsByFilterResponse as r, type BulkUpdateParticipantTagsByFilterApplicationErrors as s, type ParticipantSearch as t, type SearchParticipantsResponse as u, type ParticipantCompletedProgramEnvelope as v, type ParticipantCreatedEnvelope as w, type ParticipantDeletedEnvelope as x, type ParticipantLeftEnvelope as y, type ParticipantMissedProgramDeadlineEnvelope as z };
@@ -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-BrdlJaIZ.mjs';
3
- 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, aH as BulkCreateParticipantsForAllMembersRequest, as as BulkCreateParticipantsRequest, aA as BulkParticipantMigrationResult, at as BulkParticipantResult, b3 as BulkUpdateParticipantTagsByFilterRequest, b1 as BulkUpdateParticipantTagsRequest, b2 as BulkUpdateParticipantTagsResult, ax as BulkUpsertParticipantsMigrationRequest, az as BulkUpsertParticipantsMigrationResponse, a6 as CertificateInfo, cg as CommonQueryWithEntityContext, ch as CommonSearchWithEntityContext, ao as CreateParticipantRequest, ap as CreateParticipantResponse, aY as CursorPaging, bm as CursorPagingMetadata, b5 as CursorSearch, 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, aL as GetCertificateDownloadUrlRequest, aM as GetCompletionStatsRequest, aN as GetCompletionStatsResponse, aR as GetParticipantRequest, aS as GetParticipantResponse, aP as GetParticipationStatsRequest, aO as GetPremiumStatsRequest, bj as GroupByAggregation, bk as GroupByAggregationKindOneOf, bD as GroupByValueResults, bR as IdentificationData, bS as IdentificationDataIdOneOf, ba as IncludeMissingValuesOptions, _ as Interval, cc as IntervalWithLiterals, aK as IssueCertificateRequest, 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, aj as ParticipantCompletedProgram, an as ParticipantLeft, ay as ParticipantMigration, ak as ParticipantMissedProgramDeadline, al as ParticipantProgramDurationEnded, b_ as ParticipantQuerySpec, am as ParticipantRemoved, b$ as ParticipantSearchSpec, ai as ParticipantTagsModified, bZ as ParticipantsQueryResult, L as PricingType, c1 as PricingTypeWithLiterals, aQ as ProgramParticipationStats, a5 as Progress, N as ProgressStatus, c3 as ProgressStatusWithLiterals, 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, 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, c0 as utils } from './online-programs-participants-v3-participant-participants.universal-BrdlJaIZ.mjs';
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.mjs';
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.mjs';
4
4
 
5
5
  declare function createParticipant$1(httpClient: HttpClient): CreateParticipantSignature;
6
6
  interface CreateParticipantSignature {
@@ -22,6 +22,59 @@ import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transform
22
22
  import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
23
23
  import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
24
24
  import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
25
+ var TRANSFORM_PATHS_0 = [
26
+ { path: "participant.createdDate" },
27
+ { path: "participant.updatedDate" },
28
+ { path: "participant.lastActivityDate" },
29
+ { path: "participant.certificateInfo.issueDate" }
30
+ ];
31
+ var TRANSFORM_PATHS_1 = [
32
+ { path: "participant.progress.completionPercentage" }
33
+ ];
34
+ var TRANSFORM_PATHS_2 = [{ path: "fieldMask" }];
35
+ var TRANSFORM_PATHS_3 = [
36
+ { path: "participants.createdDate" },
37
+ { path: "participants.updatedDate" },
38
+ { path: "participants.lastActivityDate" },
39
+ { path: "participants.certificateInfo.issueDate" }
40
+ ];
41
+ var TRANSFORM_PATHS_4 = [
42
+ { path: "participants.progress.completionPercentage" }
43
+ ];
44
+ var TRANSFORM_PATHS_5 = [
45
+ { path: "results.item.createdDate" },
46
+ { path: "results.item.updatedDate" },
47
+ { path: "results.item.lastActivityDate" },
48
+ { path: "results.item.certificateInfo.issueDate" }
49
+ ];
50
+ var TRANSFORM_PATHS_6 = [
51
+ { path: "results.item.progress.completionPercentage" }
52
+ ];
53
+ var TRANSFORM_PATHS_7 = [{ path: "expirationDate" }];
54
+ var TRANSFORM_PATHS_8 = [
55
+ { path: "search.aggregations.range.buckets.from" },
56
+ { path: "search.aggregations.range.buckets.to" },
57
+ { path: "search.aggregations.nested.nestedAggregations.range.buckets.from" },
58
+ { path: "search.aggregations.nested.nestedAggregations.range.buckets.to" }
59
+ ];
60
+ var TRANSFORM_PATHS_9 = [
61
+ { path: "participants.progress.completionPercentage" },
62
+ { path: "aggregationData.results.scalar.value" },
63
+ {
64
+ path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
65
+ },
66
+ { path: "aggregationData.results.nested.results.results.*.scalar.value" },
67
+ { path: "aggregationData.results.ranges.results.from" },
68
+ { path: "aggregationData.results.ranges.results.to" },
69
+ {
70
+ path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
71
+ },
72
+ {
73
+ path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
74
+ },
75
+ { path: "aggregationData.results.nested.results.results.*.range.from" },
76
+ { path: "aggregationData.results.nested.results.results.*.range.to" }
77
+ ];
25
78
  function resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl(opts) {
26
79
  const domainToMappings = {
27
80
  "bo._base_domain_": [
@@ -202,16 +255,11 @@ function createParticipant(payload) {
202
255
  const serializedData = transformPaths(payload, [
203
256
  {
204
257
  transformFn: transformSDKTimestampToRESTTimestamp,
205
- paths: [
206
- { path: "participant.createdDate" },
207
- { path: "participant.updatedDate" },
208
- { path: "participant.lastActivityDate" },
209
- { path: "participant.certificateInfo.issueDate" }
210
- ]
258
+ paths: TRANSFORM_PATHS_0
211
259
  },
212
260
  {
213
261
  transformFn: transformSDKFloatToRESTFloat,
214
- paths: [{ path: "participant.progress.completionPercentage" }]
262
+ paths: TRANSFORM_PATHS_1
215
263
  }
216
264
  ]);
217
265
  const metadata = {
@@ -231,16 +279,11 @@ function createParticipant(payload) {
231
279
  transformResponse: (payload2) => transformPaths(payload2, [
232
280
  {
233
281
  transformFn: transformRESTTimestampToSDKTimestamp,
234
- paths: [
235
- { path: "participant.createdDate" },
236
- { path: "participant.updatedDate" },
237
- { path: "participant.lastActivityDate" },
238
- { path: "participant.certificateInfo.issueDate" }
239
- ]
282
+ paths: TRANSFORM_PATHS_0
240
283
  },
241
284
  {
242
285
  transformFn: transformRESTFloatToSDKFloat,
243
- paths: [{ path: "participant.progress.completionPercentage" }]
286
+ paths: TRANSFORM_PATHS_1
244
287
  }
245
288
  ])
246
289
  };
@@ -253,20 +296,15 @@ function updateParticipant(payload) {
253
296
  const serializedData = transformPaths(payload, [
254
297
  {
255
298
  transformFn: transformSDKFieldMaskToRESTFieldMask,
256
- paths: [{ path: "fieldMask" }]
299
+ paths: TRANSFORM_PATHS_2
257
300
  },
258
301
  {
259
302
  transformFn: transformSDKTimestampToRESTTimestamp,
260
- paths: [
261
- { path: "participant.createdDate" },
262
- { path: "participant.updatedDate" },
263
- { path: "participant.lastActivityDate" },
264
- { path: "participant.certificateInfo.issueDate" }
265
- ]
303
+ paths: TRANSFORM_PATHS_0
266
304
  },
267
305
  {
268
306
  transformFn: transformSDKFloatToRESTFloat,
269
- paths: [{ path: "participant.progress.completionPercentage" }]
307
+ paths: TRANSFORM_PATHS_1
270
308
  }
271
309
  ]);
272
310
  const metadata = {
@@ -286,16 +324,11 @@ function updateParticipant(payload) {
286
324
  transformResponse: (payload2) => transformPaths(payload2, [
287
325
  {
288
326
  transformFn: transformRESTTimestampToSDKTimestamp,
289
- paths: [
290
- { path: "participant.createdDate" },
291
- { path: "participant.updatedDate" },
292
- { path: "participant.lastActivityDate" },
293
- { path: "participant.certificateInfo.issueDate" }
294
- ]
327
+ paths: TRANSFORM_PATHS_0
295
328
  },
296
329
  {
297
330
  transformFn: transformRESTFloatToSDKFloat,
298
- paths: [{ path: "participant.progress.completionPercentage" }]
331
+ paths: TRANSFORM_PATHS_1
299
332
  }
300
333
  ])
301
334
  };
@@ -308,16 +341,11 @@ function bulkCreateParticipants(payload) {
308
341
  const serializedData = transformPaths(payload, [
309
342
  {
310
343
  transformFn: transformSDKTimestampToRESTTimestamp,
311
- paths: [
312
- { path: "participants.createdDate" },
313
- { path: "participants.updatedDate" },
314
- { path: "participants.lastActivityDate" },
315
- { path: "participants.certificateInfo.issueDate" }
316
- ]
344
+ paths: TRANSFORM_PATHS_3
317
345
  },
318
346
  {
319
347
  transformFn: transformSDKFloatToRESTFloat,
320
- paths: [{ path: "participants.progress.completionPercentage" }]
348
+ paths: TRANSFORM_PATHS_4
321
349
  }
322
350
  ]);
323
351
  const metadata = {
@@ -337,16 +365,11 @@ function bulkCreateParticipants(payload) {
337
365
  transformResponse: (payload2) => transformPaths(payload2, [
338
366
  {
339
367
  transformFn: transformRESTTimestampToSDKTimestamp,
340
- paths: [
341
- { path: "results.item.createdDate" },
342
- { path: "results.item.updatedDate" },
343
- { path: "results.item.lastActivityDate" },
344
- { path: "results.item.certificateInfo.issueDate" }
345
- ]
368
+ paths: TRANSFORM_PATHS_5
346
369
  },
347
370
  {
348
371
  transformFn: transformRESTFloatToSDKFloat,
349
- paths: [{ path: "results.item.progress.completionPercentage" }]
372
+ paths: TRANSFORM_PATHS_6
350
373
  }
351
374
  ])
352
375
  };
@@ -415,16 +438,11 @@ function issueCertificate(payload) {
415
438
  transformResponse: (payload2) => transformPaths(payload2, [
416
439
  {
417
440
  transformFn: transformRESTTimestampToSDKTimestamp,
418
- paths: [
419
- { path: "participant.createdDate" },
420
- { path: "participant.updatedDate" },
421
- { path: "participant.lastActivityDate" },
422
- { path: "participant.certificateInfo.issueDate" }
423
- ]
441
+ paths: TRANSFORM_PATHS_0
424
442
  },
425
443
  {
426
444
  transformFn: transformRESTFloatToSDKFloat,
427
- paths: [{ path: "participant.progress.completionPercentage" }]
445
+ paths: TRANSFORM_PATHS_1
428
446
  }
429
447
  ])
430
448
  };
@@ -451,7 +469,7 @@ function getCertificateDownloadUrl(payload) {
451
469
  transformResponse: (payload2) => transformPaths(payload2, [
452
470
  {
453
471
  transformFn: transformRESTTimestampToSDKTimestamp,
454
- paths: [{ path: "expirationDate" }]
472
+ paths: TRANSFORM_PATHS_7
455
473
  }
456
474
  ])
457
475
  };
@@ -520,16 +538,11 @@ function getParticipant(payload) {
520
538
  transformResponse: (payload2) => transformPaths(payload2, [
521
539
  {
522
540
  transformFn: transformRESTTimestampToSDKTimestamp,
523
- paths: [
524
- { path: "participant.createdDate" },
525
- { path: "participant.updatedDate" },
526
- { path: "participant.lastActivityDate" },
527
- { path: "participant.certificateInfo.issueDate" }
528
- ]
541
+ paths: TRANSFORM_PATHS_0
529
542
  },
530
543
  {
531
544
  transformFn: transformRESTFloatToSDKFloat,
532
- paths: [{ path: "participant.progress.completionPercentage" }]
545
+ paths: TRANSFORM_PATHS_1
533
546
  }
534
547
  ])
535
548
  };
@@ -556,16 +569,11 @@ function queryParticipants(payload) {
556
569
  transformResponse: (payload2) => transformPaths(payload2, [
557
570
  {
558
571
  transformFn: transformRESTTimestampToSDKTimestamp,
559
- paths: [
560
- { path: "participants.createdDate" },
561
- { path: "participants.updatedDate" },
562
- { path: "participants.lastActivityDate" },
563
- { path: "participants.certificateInfo.issueDate" }
564
- ]
572
+ paths: TRANSFORM_PATHS_3
565
573
  },
566
574
  {
567
575
  transformFn: transformRESTFloatToSDKFloat,
568
- paths: [{ path: "participants.progress.completionPercentage" }]
576
+ paths: TRANSFORM_PATHS_4
569
577
  }
570
578
  ])
571
579
  };
@@ -641,16 +649,7 @@ function searchParticipants(payload) {
641
649
  const serializedData = transformPaths(payload, [
642
650
  {
643
651
  transformFn: transformSDKFloatToRESTFloat,
644
- paths: [
645
- { path: "search.aggregations.range.buckets.from" },
646
- { path: "search.aggregations.range.buckets.to" },
647
- {
648
- path: "search.aggregations.nested.nestedAggregations.range.buckets.from"
649
- },
650
- {
651
- path: "search.aggregations.nested.nestedAggregations.range.buckets.to"
652
- }
653
- ]
652
+ paths: TRANSFORM_PATHS_8
654
653
  }
655
654
  ]);
656
655
  const metadata = {
@@ -670,39 +669,11 @@ function searchParticipants(payload) {
670
669
  transformResponse: (payload2) => transformPaths(payload2, [
671
670
  {
672
671
  transformFn: transformRESTTimestampToSDKTimestamp,
673
- paths: [
674
- { path: "participants.createdDate" },
675
- { path: "participants.updatedDate" },
676
- { path: "participants.lastActivityDate" },
677
- { path: "participants.certificateInfo.issueDate" }
678
- ]
672
+ paths: TRANSFORM_PATHS_3
679
673
  },
680
674
  {
681
675
  transformFn: transformRESTFloatToSDKFloat,
682
- paths: [
683
- { path: "participants.progress.completionPercentage" },
684
- { path: "aggregationData.results.scalar.value" },
685
- {
686
- path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
687
- },
688
- {
689
- path: "aggregationData.results.nested.results.results.*.scalar.value"
690
- },
691
- { path: "aggregationData.results.ranges.results.from" },
692
- { path: "aggregationData.results.ranges.results.to" },
693
- {
694
- path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
695
- },
696
- {
697
- path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
698
- },
699
- {
700
- path: "aggregationData.results.nested.results.results.*.range.from"
701
- },
702
- {
703
- path: "aggregationData.results.nested.results.results.*.range.to"
704
- }
705
- ]
676
+ paths: TRANSFORM_PATHS_9
706
677
  }
707
678
  ])
708
679
  };
@@ -760,6 +731,10 @@ var ProgressStatus = /* @__PURE__ */ ((ProgressStatus2) => {
760
731
  ProgressStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
761
732
  return ProgressStatus2;
762
733
  })(ProgressStatus || {});
734
+ var RemovalReason = /* @__PURE__ */ ((RemovalReason2) => {
735
+ RemovalReason2["MEMBER_DELETED"] = "MEMBER_DELETED";
736
+ return RemovalReason2;
737
+ })(RemovalReason || {});
763
738
  var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
764
739
  RequestedFields2["PROGRESS"] = "PROGRESS";
765
740
  return RequestedFields2;
@@ -1356,6 +1331,39 @@ async function exportParticipantsStats2(programId) {
1356
1331
  }
1357
1332
 
1358
1333
  // src/online-programs-participants-v3-participant-participants.public.ts
1334
+ var TRANSFORM_PATHS_02 = [
1335
+ { path: "data.participant.createdDate" },
1336
+ { path: "data.participant.updatedDate" },
1337
+ { path: "data.participant.lastActivityDate" },
1338
+ { path: "data.participant.certificateInfo.issueDate" },
1339
+ { path: "metadata.eventTime" }
1340
+ ];
1341
+ var TRANSFORM_PATHS_12 = [
1342
+ { path: "data.participant.progress.completionPercentage" }
1343
+ ];
1344
+ var TRANSFORM_PATHS_22 = [
1345
+ { path: "entity.createdDate" },
1346
+ { path: "entity.updatedDate" },
1347
+ { path: "entity.lastActivityDate" },
1348
+ { path: "entity.certificateInfo.issueDate" },
1349
+ { path: "metadata.eventTime" }
1350
+ ];
1351
+ var TRANSFORM_PATHS_32 = [{ path: "entity.progress.completionPercentage" }];
1352
+ var TRANSFORM_PATHS_42 = [
1353
+ { path: "entity.createdDate" },
1354
+ { path: "entity.updatedDate" },
1355
+ { path: "entity.lastActivityDate" },
1356
+ { path: "entity.certificateInfo.issueDate" },
1357
+ { path: "metadata.eventTime" },
1358
+ { path: "modifiedFields.createdDate" },
1359
+ { path: "modifiedFields.updatedDate" },
1360
+ { path: "modifiedFields.lastActivityDate" },
1361
+ { path: "modifiedFields.certificateInfo.issueDate" }
1362
+ ];
1363
+ var TRANSFORM_PATHS_52 = [
1364
+ { path: "entity.progress.completionPercentage" },
1365
+ { path: "modifiedFields.progress.completionPercentage" }
1366
+ ];
1359
1367
  function createParticipant3(httpClient) {
1360
1368
  return (participant, options) => createParticipant2(
1361
1369
  participant,
@@ -1491,17 +1499,11 @@ var onParticipantCompletedProgram = /* @__PURE__ */ EventDefinition(
1491
1499
  transformPaths3(event, [
1492
1500
  {
1493
1501
  transformFn: transformRESTTimestampToSDKTimestamp2,
1494
- paths: [
1495
- { path: "data.participant.createdDate" },
1496
- { path: "data.participant.updatedDate" },
1497
- { path: "data.participant.lastActivityDate" },
1498
- { path: "data.participant.certificateInfo.issueDate" },
1499
- { path: "metadata.eventTime" }
1500
- ]
1502
+ paths: TRANSFORM_PATHS_02
1501
1503
  },
1502
1504
  {
1503
1505
  transformFn: transformRESTFloatToSDKFloat2,
1504
- paths: [{ path: "data.participant.progress.completionPercentage" }]
1506
+ paths: TRANSFORM_PATHS_12
1505
1507
  }
1506
1508
  ])
1507
1509
  )
@@ -1513,17 +1515,11 @@ var onParticipantCreated = /* @__PURE__ */ EventDefinition(
1513
1515
  transformPaths3(event, [
1514
1516
  {
1515
1517
  transformFn: transformRESTTimestampToSDKTimestamp2,
1516
- paths: [
1517
- { path: "entity.createdDate" },
1518
- { path: "entity.updatedDate" },
1519
- { path: "entity.lastActivityDate" },
1520
- { path: "entity.certificateInfo.issueDate" },
1521
- { path: "metadata.eventTime" }
1522
- ]
1518
+ paths: TRANSFORM_PATHS_22
1523
1519
  },
1524
1520
  {
1525
1521
  transformFn: transformRESTFloatToSDKFloat2,
1526
- paths: [{ path: "entity.progress.completionPercentage" }]
1522
+ paths: TRANSFORM_PATHS_32
1527
1523
  }
1528
1524
  ])
1529
1525
  )
@@ -1535,17 +1531,11 @@ var onParticipantDeleted = /* @__PURE__ */ EventDefinition(
1535
1531
  transformPaths3(event, [
1536
1532
  {
1537
1533
  transformFn: transformRESTTimestampToSDKTimestamp2,
1538
- paths: [
1539
- { path: "entity.createdDate" },
1540
- { path: "entity.updatedDate" },
1541
- { path: "entity.lastActivityDate" },
1542
- { path: "entity.certificateInfo.issueDate" },
1543
- { path: "metadata.eventTime" }
1544
- ]
1534
+ paths: TRANSFORM_PATHS_22
1545
1535
  },
1546
1536
  {
1547
1537
  transformFn: transformRESTFloatToSDKFloat2,
1548
- paths: [{ path: "entity.progress.completionPercentage" }]
1538
+ paths: TRANSFORM_PATHS_32
1549
1539
  }
1550
1540
  ])
1551
1541
  )
@@ -1557,17 +1547,11 @@ var onParticipantLeft = /* @__PURE__ */ EventDefinition(
1557
1547
  transformPaths3(event, [
1558
1548
  {
1559
1549
  transformFn: transformRESTTimestampToSDKTimestamp2,
1560
- paths: [
1561
- { path: "data.participant.createdDate" },
1562
- { path: "data.participant.updatedDate" },
1563
- { path: "data.participant.lastActivityDate" },
1564
- { path: "data.participant.certificateInfo.issueDate" },
1565
- { path: "metadata.eventTime" }
1566
- ]
1550
+ paths: TRANSFORM_PATHS_02
1567
1551
  },
1568
1552
  {
1569
1553
  transformFn: transformRESTFloatToSDKFloat2,
1570
- paths: [{ path: "data.participant.progress.completionPercentage" }]
1554
+ paths: TRANSFORM_PATHS_12
1571
1555
  }
1572
1556
  ])
1573
1557
  )
@@ -1579,17 +1563,11 @@ var onParticipantMissedProgramDeadline = /* @__PURE__ */ EventDefinition(
1579
1563
  transformPaths3(event, [
1580
1564
  {
1581
1565
  transformFn: transformRESTTimestampToSDKTimestamp2,
1582
- paths: [
1583
- { path: "data.participant.createdDate" },
1584
- { path: "data.participant.updatedDate" },
1585
- { path: "data.participant.lastActivityDate" },
1586
- { path: "data.participant.certificateInfo.issueDate" },
1587
- { path: "metadata.eventTime" }
1588
- ]
1566
+ paths: TRANSFORM_PATHS_02
1589
1567
  },
1590
1568
  {
1591
1569
  transformFn: transformRESTFloatToSDKFloat2,
1592
- paths: [{ path: "data.participant.progress.completionPercentage" }]
1570
+ paths: TRANSFORM_PATHS_12
1593
1571
  }
1594
1572
  ])
1595
1573
  )
@@ -1601,17 +1579,11 @@ var onParticipantProgramDurationEnded = /* @__PURE__ */ EventDefinition(
1601
1579
  transformPaths3(event, [
1602
1580
  {
1603
1581
  transformFn: transformRESTTimestampToSDKTimestamp2,
1604
- paths: [
1605
- { path: "data.participant.createdDate" },
1606
- { path: "data.participant.updatedDate" },
1607
- { path: "data.participant.lastActivityDate" },
1608
- { path: "data.participant.certificateInfo.issueDate" },
1609
- { path: "metadata.eventTime" }
1610
- ]
1582
+ paths: TRANSFORM_PATHS_02
1611
1583
  },
1612
1584
  {
1613
1585
  transformFn: transformRESTFloatToSDKFloat2,
1614
- paths: [{ path: "data.participant.progress.completionPercentage" }]
1586
+ paths: TRANSFORM_PATHS_12
1615
1587
  }
1616
1588
  ])
1617
1589
  )
@@ -1623,17 +1595,11 @@ var onParticipantRemoved = /* @__PURE__ */ EventDefinition(
1623
1595
  transformPaths3(event, [
1624
1596
  {
1625
1597
  transformFn: transformRESTTimestampToSDKTimestamp2,
1626
- paths: [
1627
- { path: "data.participant.createdDate" },
1628
- { path: "data.participant.updatedDate" },
1629
- { path: "data.participant.lastActivityDate" },
1630
- { path: "data.participant.certificateInfo.issueDate" },
1631
- { path: "metadata.eventTime" }
1632
- ]
1598
+ paths: TRANSFORM_PATHS_02
1633
1599
  },
1634
1600
  {
1635
1601
  transformFn: transformRESTFloatToSDKFloat2,
1636
- paths: [{ path: "data.participant.progress.completionPercentage" }]
1602
+ paths: TRANSFORM_PATHS_12
1637
1603
  }
1638
1604
  ])
1639
1605
  )
@@ -1645,17 +1611,11 @@ var onParticipantTagsModified = /* @__PURE__ */ EventDefinition(
1645
1611
  transformPaths3(event, [
1646
1612
  {
1647
1613
  transformFn: transformRESTTimestampToSDKTimestamp2,
1648
- paths: [
1649
- { path: "data.participant.createdDate" },
1650
- { path: "data.participant.updatedDate" },
1651
- { path: "data.participant.lastActivityDate" },
1652
- { path: "data.participant.certificateInfo.issueDate" },
1653
- { path: "metadata.eventTime" }
1654
- ]
1614
+ paths: TRANSFORM_PATHS_02
1655
1615
  },
1656
1616
  {
1657
1617
  transformFn: transformRESTFloatToSDKFloat2,
1658
- paths: [{ path: "data.participant.progress.completionPercentage" }]
1618
+ paths: TRANSFORM_PATHS_12
1659
1619
  }
1660
1620
  ])
1661
1621
  )
@@ -1667,24 +1627,11 @@ var onParticipantUpdated = /* @__PURE__ */ EventDefinition(
1667
1627
  transformPaths3(event, [
1668
1628
  {
1669
1629
  transformFn: transformRESTTimestampToSDKTimestamp2,
1670
- paths: [
1671
- { path: "entity.createdDate" },
1672
- { path: "entity.updatedDate" },
1673
- { path: "entity.lastActivityDate" },
1674
- { path: "entity.certificateInfo.issueDate" },
1675
- { path: "metadata.eventTime" },
1676
- { path: "modifiedFields.createdDate" },
1677
- { path: "modifiedFields.updatedDate" },
1678
- { path: "modifiedFields.lastActivityDate" },
1679
- { path: "modifiedFields.certificateInfo.issueDate" }
1680
- ]
1630
+ paths: TRANSFORM_PATHS_42
1681
1631
  },
1682
1632
  {
1683
1633
  transformFn: transformRESTFloatToSDKFloat2,
1684
- paths: [
1685
- { path: "entity.progress.completionPercentage" },
1686
- { path: "modifiedFields.progress.completionPercentage" }
1687
- ]
1634
+ paths: TRANSFORM_PATHS_52
1688
1635
  }
1689
1636
  ])
1690
1637
  )
@@ -1754,6 +1701,7 @@ export {
1754
1701
  NestedAggregationType,
1755
1702
  PricingType,
1756
1703
  ProgressStatus,
1704
+ RemovalReason,
1757
1705
  RequestedFields,
1758
1706
  ScalarType,
1759
1707
  SortDirection,