@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
@@ -1,4 +1,4 @@
1
- import { ao as CreateParticipantRequest$1, ap as CreateParticipantResponse$1, aq as UpdateParticipantRequest$1, ar as UpdateParticipantResponse$1, as as BulkCreateParticipantsRequest$1, c as BulkCreateParticipantsResponse$1, aH as BulkCreateParticipantsForAllMembersRequest$1, f as BulkCreateParticipantsForAllMembersResponse$1, aI as DeleteParticipantRequest$1, aJ as DeleteParticipantResponse$1, aK as IssueCertificateRequest$1, g as IssueCertificateResponse$1, aL as GetCertificateDownloadUrlRequest$1, G as GetCertificateDownloadUrlResponse$1, aO as GetPremiumStatsRequest$1, j as GetPremiumStatsResponse$1, aP as GetParticipationStatsRequest$1, k as GetParticipationStatsResponse$1, aR as GetParticipantRequest$1, aS as GetParticipantResponse$1, aT as QueryParticipantsRequest$1, aZ as QueryParticipantsResponse$1, b0 as GetAccessStatusRequest$1, m as GetAccessStatusResponse$1, b1 as BulkUpdateParticipantTagsRequest$1, o as BulkUpdateParticipantTagsResponse$1, b3 as BulkUpdateParticipantTagsByFilterRequest$1, r as BulkUpdateParticipantTagsByFilterResponse$1, b4 as SearchParticipantsRequest$1, u as SearchParticipantsResponse$1, bU as ExportParticipantsStatsRequest$1, bV as ExportParticipantsStatsResponse$1 } from './online-programs-participants-v3-participant-participants.universal-BrdlJaIZ.js';
1
+ import { ap as CreateParticipantRequest$1, aq as CreateParticipantResponse$1, ar as UpdateParticipantRequest$1, as as UpdateParticipantResponse$1, at as BulkCreateParticipantsRequest$1, c as BulkCreateParticipantsResponse$1, aI as BulkCreateParticipantsForAllMembersRequest$1, f as BulkCreateParticipantsForAllMembersResponse$1, aJ as DeleteParticipantRequest$1, aK as DeleteParticipantResponse$1, aL as IssueCertificateRequest$1, g as IssueCertificateResponse$1, aM as GetCertificateDownloadUrlRequest$1, G as GetCertificateDownloadUrlResponse$1, aP as GetPremiumStatsRequest$1, j as GetPremiumStatsResponse$1, aQ as GetParticipationStatsRequest$1, k as GetParticipationStatsResponse$1, aS as GetParticipantRequest$1, aT as GetParticipantResponse$1, aU as QueryParticipantsRequest$1, a_ as QueryParticipantsResponse$1, b1 as GetAccessStatusRequest$1, m as GetAccessStatusResponse$1, b2 as BulkUpdateParticipantTagsRequest$1, o as BulkUpdateParticipantTagsResponse$1, b4 as BulkUpdateParticipantTagsByFilterRequest$1, r as BulkUpdateParticipantTagsByFilterResponse$1, b5 as SearchParticipantsRequest$1, u as SearchParticipantsResponse$1, bV as ExportParticipantsStatsRequest$1, bW as ExportParticipantsStatsResponse$1 } from './online-programs-participants-v3-participant-participants.universal-PXhlXOzv.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
@@ -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
  /**
@@ -1722,4 +1730,4 @@ declare function exportParticipantsStats(): __PublicMethodMetaInfo<'GET', {
1722
1730
  programId: string;
1723
1731
  }, ExportParticipantsStatsRequest$1, ExportParticipantsStatsRequest, ExportParticipantsStatsResponse$1, ExportParticipantsStatsResponse>;
1724
1732
 
1725
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AggregationData as AggregationDataOriginal, type AggregationKindOneOf as AggregationKindOneOfOriginal, type Aggregation as AggregationOriginal, type AggregationResults as AggregationResultsOriginal, type AggregationResultsResultOneOf as AggregationResultsResultOneOfOriginal, type AggregationResultsScalarResult as AggregationResultsScalarResultOriginal, AggregationType as AggregationTypeOriginal, type AggregationTypeWithLiterals as AggregationTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, BulkActionType as BulkActionTypeOriginal, type BulkActionTypeWithLiterals as BulkActionTypeWithLiteralsOriginal, type BulkCreateParticipantsApplicationErrors as BulkCreateParticipantsApplicationErrorsOriginal, type BulkCreateParticipantsForAllMembersRequest as BulkCreateParticipantsForAllMembersRequestOriginal, type BulkCreateParticipantsForAllMembersResponse as BulkCreateParticipantsForAllMembersResponseOriginal, type BulkCreateParticipantsRequest as BulkCreateParticipantsRequestOriginal, type BulkCreateParticipantsResponse as BulkCreateParticipantsResponseOriginal, type BulkParticipantMigrationResult as BulkParticipantMigrationResultOriginal, type BulkParticipantResult as BulkParticipantResultOriginal, type BulkUpdateParticipantTagsApplicationErrors as BulkUpdateParticipantTagsApplicationErrorsOriginal, type BulkUpdateParticipantTagsByFilterApplicationErrors as BulkUpdateParticipantTagsByFilterApplicationErrorsOriginal, type BulkUpdateParticipantTagsByFilterRequest as BulkUpdateParticipantTagsByFilterRequestOriginal, type BulkUpdateParticipantTagsByFilterResponse as BulkUpdateParticipantTagsByFilterResponseOriginal, type BulkUpdateParticipantTagsRequest as BulkUpdateParticipantTagsRequestOriginal, type BulkUpdateParticipantTagsResponse as BulkUpdateParticipantTagsResponseOriginal, type BulkUpdateParticipantTagsResult as BulkUpdateParticipantTagsResultOriginal, type BulkUpsertParticipantsMigrationRequest as BulkUpsertParticipantsMigrationRequestOriginal, type BulkUpsertParticipantsMigrationResponse as BulkUpsertParticipantsMigrationResponseOriginal, type CertificateInfo as CertificateInfoOriginal, type CreateParticipantApplicationErrors as CreateParticipantApplicationErrorsOriginal, type CreateParticipantRequest as CreateParticipantRequestOriginal, type CreateParticipantResponse as CreateParticipantResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorSearch as CursorSearchOriginal, type CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DateHistogramAggregation as DateHistogramAggregationOriginal, type DateHistogramResult as DateHistogramResultOriginal, type DateHistogramResults as DateHistogramResultsOriginal, type DeleteAllParticipantsMigrationRequest as DeleteAllParticipantsMigrationRequestOriginal, type DeleteAllParticipantsMigrationResponse as DeleteAllParticipantsMigrationResponseOriginal, type Delete as DeleteOriginal, type DeleteParticipantRequest as DeleteParticipantRequestOriginal, type DeleteParticipantResponse as DeleteParticipantResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EnrollmentInfo as EnrollmentInfoOriginal, type EnrollmentInfoPricingTypeDetailsOneOf as EnrollmentInfoPricingTypeDetailsOneOfOriginal, EnrollmentStatus as EnrollmentStatusOriginal, type EnrollmentStatusWithLiterals as EnrollmentStatusWithLiteralsOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExportParticipantsStatsRequest as ExportParticipantsStatsRequestOriginal, type ExportParticipantsStatsResponse as ExportParticipantsStatsResponseOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FreeCouponDetails as FreeCouponDetailsOriginal, type GetAccessStatusRequest as GetAccessStatusRequestOriginal, type GetAccessStatusResponse as GetAccessStatusResponseOriginal, type GetCertificateDownloadUrlApplicationErrors as GetCertificateDownloadUrlApplicationErrorsOriginal, type GetCertificateDownloadUrlRequest as GetCertificateDownloadUrlRequestOriginal, type GetCertificateDownloadUrlResponse as GetCertificateDownloadUrlResponseOriginal, type GetCompletionStatsRequest as GetCompletionStatsRequestOriginal, type GetCompletionStatsResponse as GetCompletionStatsResponseOriginal, type GetParticipantRequest as GetParticipantRequestOriginal, type GetParticipantResponse as GetParticipantResponseOriginal, type GetParticipationStatsRequest as GetParticipationStatsRequestOriginal, type GetParticipationStatsResponse as GetParticipationStatsResponseOriginal, type GetPremiumStatsRequest as GetPremiumStatsRequestOriginal, type GetPremiumStatsResponse as GetPremiumStatsResponseOriginal, type GroupByAggregationKindOneOf as GroupByAggregationKindOneOfOriginal, type GroupByAggregation as GroupByAggregationOriginal, type GroupByValueResults as GroupByValueResultsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type IncludeMissingValuesOptions as IncludeMissingValuesOptionsOriginal, Interval as IntervalOriginal, type IntervalWithLiterals as IntervalWithLiteralsOriginal, type IssueCertificateApplicationErrors as IssueCertificateApplicationErrorsOriginal, type IssueCertificateRequest as IssueCertificateRequestOriginal, type IssueCertificateResponse as IssueCertificateResponseOriginal, type ItemMetadata as ItemMetadataOriginal, type Member as MemberOriginal, type MessageEnvelope as MessageEnvelopeOriginal, MissingValues as MissingValuesOriginal, type MissingValuesWithLiterals as MissingValuesWithLiteralsOriginal, Mode as ModeOriginal, type ModeWithLiterals as ModeWithLiteralsOriginal, type NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOfOriginal, type NestedAggregationItem as NestedAggregationItemOriginal, type NestedAggregation as NestedAggregationOriginal, type NestedAggregationResults as NestedAggregationResultsOriginal, type NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOfOriginal, NestedAggregationType as NestedAggregationTypeOriginal, type NestedAggregationTypeWithLiterals as NestedAggregationTypeWithLiteralsOriginal, type NestedResultValue as NestedResultValueOriginal, type NestedResultValueResultOneOf as NestedResultValueResultOneOfOriginal, type NestedResults as NestedResultsOriginal, type NestedValueAggregationResult as NestedValueAggregationResultOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type PaidPlanDetails as PaidPlanDetailsOriginal, type ParticipantCompletedProgram as ParticipantCompletedProgramOriginal, type ParticipantLeft as ParticipantLeftOriginal, type ParticipantMigration as ParticipantMigrationOriginal, type ParticipantMissedProgramDeadline as ParticipantMissedProgramDeadlineOriginal, type Participant as ParticipantOriginal, type ParticipantProgramDurationEnded as ParticipantProgramDurationEndedOriginal, type ParticipantRemoved as ParticipantRemovedOriginal, type ParticipantTagsModified as ParticipantTagsModifiedOriginal, PricingType as PricingTypeOriginal, type PricingTypeWithLiterals as PricingTypeWithLiteralsOriginal, type ProgramParticipationStats as ProgramParticipationStatsOriginal, type Progress as ProgressOriginal, ProgressStatus as ProgressStatusOriginal, type ProgressStatusWithLiterals as ProgressStatusWithLiteralsOriginal, type QueryParticipantsRequest as QueryParticipantsRequestOriginal, type QueryParticipantsResponse as QueryParticipantsResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, type RangeAggregation as RangeAggregationOriginal, type RangeAggregationResult as RangeAggregationResultOriginal, type RangeBucket as RangeBucketOriginal, type RangeResult as RangeResultOriginal, type RangeResults as RangeResultsOriginal, type ReindexMessageActionOneOf as ReindexMessageActionOneOfOriginal, type ReindexMessage as ReindexMessageOriginal, type ReindexParticipantsSearchRequest as ReindexParticipantsSearchRequestOriginal, type ReindexParticipantsSearchResponse as ReindexParticipantsSearchResponseOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type Results as ResultsOriginal, type ScalarAggregation as ScalarAggregationOriginal, type ScalarResult as ScalarResultOriginal, ScalarType as ScalarTypeOriginal, type ScalarTypeWithLiterals as ScalarTypeWithLiteralsOriginal, type Schema as SchemaOriginal, type SearchDetails as SearchDetailsOriginal, type SearchParticipantsRequest as SearchParticipantsRequestOriginal, type SearchParticipantsResponse as SearchParticipantsResponseOriginal, type SinglePaymentDetails as SinglePaymentDetailsOriginal, SortDirection as SortDirectionOriginal, type SortDirectionWithLiterals as SortDirectionWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, SortType as SortTypeOriginal, type SortTypeWithLiterals as SortTypeWithLiteralsOriginal, type Sorting as SortingOriginal, type SynchronizeTimeCapsuleTasksRequest as SynchronizeTimeCapsuleTasksRequestOriginal, type SynchronizeTimeCapsuleTasksResponse as SynchronizeTimeCapsuleTasksResponseOriginal, type TagList as TagListOriginal, type Tags as TagsOriginal, type UpdateParticipantRequest as UpdateParticipantRequestOriginal, type UpdateParticipantResponse as UpdateParticipantResponseOriginal, type Upsert as UpsertOriginal, type ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOfOriginal, type ValueAggregation as ValueAggregationOriginal, type ValueAggregationResult as ValueAggregationResultOriginal, type ValueResult as ValueResultOriginal, type ValueResults as ValueResultsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCreateParticipants, bulkCreateParticipantsForAllMembers, bulkUpdateParticipantTags, bulkUpdateParticipantTagsByFilter, createParticipant, deleteParticipant, exportParticipantsStats, getAccessStatus, getCertificateDownloadUrl, getParticipant, getParticipationStats, getPremiumStats, issueCertificate, queryParticipants, searchParticipants, updateParticipant };
1733
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AggregationData as AggregationDataOriginal, type AggregationKindOneOf as AggregationKindOneOfOriginal, type Aggregation as AggregationOriginal, type AggregationResults as AggregationResultsOriginal, type AggregationResultsResultOneOf as AggregationResultsResultOneOfOriginal, type AggregationResultsScalarResult as AggregationResultsScalarResultOriginal, AggregationType as AggregationTypeOriginal, type AggregationTypeWithLiterals as AggregationTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, BulkActionType as BulkActionTypeOriginal, type BulkActionTypeWithLiterals as BulkActionTypeWithLiteralsOriginal, type BulkCreateParticipantsApplicationErrors as BulkCreateParticipantsApplicationErrorsOriginal, type BulkCreateParticipantsForAllMembersRequest as BulkCreateParticipantsForAllMembersRequestOriginal, type BulkCreateParticipantsForAllMembersResponse as BulkCreateParticipantsForAllMembersResponseOriginal, type BulkCreateParticipantsRequest as BulkCreateParticipantsRequestOriginal, type BulkCreateParticipantsResponse as BulkCreateParticipantsResponseOriginal, type BulkParticipantMigrationResult as BulkParticipantMigrationResultOriginal, type BulkParticipantResult as BulkParticipantResultOriginal, type BulkUpdateParticipantTagsApplicationErrors as BulkUpdateParticipantTagsApplicationErrorsOriginal, type BulkUpdateParticipantTagsByFilterApplicationErrors as BulkUpdateParticipantTagsByFilterApplicationErrorsOriginal, type BulkUpdateParticipantTagsByFilterRequest as BulkUpdateParticipantTagsByFilterRequestOriginal, type BulkUpdateParticipantTagsByFilterResponse as BulkUpdateParticipantTagsByFilterResponseOriginal, type BulkUpdateParticipantTagsRequest as BulkUpdateParticipantTagsRequestOriginal, type BulkUpdateParticipantTagsResponse as BulkUpdateParticipantTagsResponseOriginal, type BulkUpdateParticipantTagsResult as BulkUpdateParticipantTagsResultOriginal, type BulkUpsertParticipantsMigrationRequest as BulkUpsertParticipantsMigrationRequestOriginal, type BulkUpsertParticipantsMigrationResponse as BulkUpsertParticipantsMigrationResponseOriginal, type CertificateInfo as CertificateInfoOriginal, type CreateParticipantApplicationErrors as CreateParticipantApplicationErrorsOriginal, type CreateParticipantRequest as CreateParticipantRequestOriginal, type CreateParticipantResponse as CreateParticipantResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorSearch as CursorSearchOriginal, type CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DateHistogramAggregation as DateHistogramAggregationOriginal, type DateHistogramResult as DateHistogramResultOriginal, type DateHistogramResults as DateHistogramResultsOriginal, type DeleteAllParticipantsMigrationRequest as DeleteAllParticipantsMigrationRequestOriginal, type DeleteAllParticipantsMigrationResponse as DeleteAllParticipantsMigrationResponseOriginal, type Delete as DeleteOriginal, type DeleteParticipantRequest as DeleteParticipantRequestOriginal, type DeleteParticipantResponse as DeleteParticipantResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EnrollmentInfo as EnrollmentInfoOriginal, type EnrollmentInfoPricingTypeDetailsOneOf as EnrollmentInfoPricingTypeDetailsOneOfOriginal, EnrollmentStatus as EnrollmentStatusOriginal, type EnrollmentStatusWithLiterals as EnrollmentStatusWithLiteralsOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExportParticipantsStatsRequest as ExportParticipantsStatsRequestOriginal, type ExportParticipantsStatsResponse as ExportParticipantsStatsResponseOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FreeCouponDetails as FreeCouponDetailsOriginal, type GetAccessStatusRequest as GetAccessStatusRequestOriginal, type GetAccessStatusResponse as GetAccessStatusResponseOriginal, type GetCertificateDownloadUrlApplicationErrors as GetCertificateDownloadUrlApplicationErrorsOriginal, type GetCertificateDownloadUrlRequest as GetCertificateDownloadUrlRequestOriginal, type GetCertificateDownloadUrlResponse as GetCertificateDownloadUrlResponseOriginal, type GetCompletionStatsRequest as GetCompletionStatsRequestOriginal, type GetCompletionStatsResponse as GetCompletionStatsResponseOriginal, type GetParticipantRequest as GetParticipantRequestOriginal, type GetParticipantResponse as GetParticipantResponseOriginal, type GetParticipationStatsRequest as GetParticipationStatsRequestOriginal, type GetParticipationStatsResponse as GetParticipationStatsResponseOriginal, type GetPremiumStatsRequest as GetPremiumStatsRequestOriginal, type GetPremiumStatsResponse as GetPremiumStatsResponseOriginal, type GroupByAggregationKindOneOf as GroupByAggregationKindOneOfOriginal, type GroupByAggregation as GroupByAggregationOriginal, type GroupByValueResults as GroupByValueResultsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type IncludeMissingValuesOptions as IncludeMissingValuesOptionsOriginal, Interval as IntervalOriginal, type IntervalWithLiterals as IntervalWithLiteralsOriginal, type IssueCertificateApplicationErrors as IssueCertificateApplicationErrorsOriginal, type IssueCertificateRequest as IssueCertificateRequestOriginal, type IssueCertificateResponse as IssueCertificateResponseOriginal, type ItemMetadata as ItemMetadataOriginal, type Member as MemberOriginal, type MessageEnvelope as MessageEnvelopeOriginal, MissingValues as MissingValuesOriginal, type MissingValuesWithLiterals as MissingValuesWithLiteralsOriginal, Mode as ModeOriginal, type ModeWithLiterals as ModeWithLiteralsOriginal, type NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOfOriginal, type NestedAggregationItem as NestedAggregationItemOriginal, type NestedAggregation as NestedAggregationOriginal, type NestedAggregationResults as NestedAggregationResultsOriginal, type NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOfOriginal, NestedAggregationType as NestedAggregationTypeOriginal, type NestedAggregationTypeWithLiterals as NestedAggregationTypeWithLiteralsOriginal, type NestedResultValue as NestedResultValueOriginal, type NestedResultValueResultOneOf as NestedResultValueResultOneOfOriginal, type NestedResults as NestedResultsOriginal, type NestedValueAggregationResult as NestedValueAggregationResultOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type PaidPlanDetails as PaidPlanDetailsOriginal, type ParticipantCompletedProgram as ParticipantCompletedProgramOriginal, type ParticipantLeft as ParticipantLeftOriginal, type ParticipantMigration as ParticipantMigrationOriginal, type ParticipantMissedProgramDeadline as ParticipantMissedProgramDeadlineOriginal, type Participant as ParticipantOriginal, type ParticipantProgramDurationEnded as ParticipantProgramDurationEndedOriginal, type ParticipantRemoved as ParticipantRemovedOriginal, type ParticipantTagsModified as ParticipantTagsModifiedOriginal, PricingType as PricingTypeOriginal, type PricingTypeWithLiterals as PricingTypeWithLiteralsOriginal, type ProgramParticipationStats as ProgramParticipationStatsOriginal, type Progress as ProgressOriginal, ProgressStatus as ProgressStatusOriginal, type ProgressStatusWithLiterals as ProgressStatusWithLiteralsOriginal, type QueryParticipantsRequest as QueryParticipantsRequestOriginal, type QueryParticipantsResponse as QueryParticipantsResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, type RangeAggregation as RangeAggregationOriginal, type RangeAggregationResult as RangeAggregationResultOriginal, type RangeBucket as RangeBucketOriginal, type RangeResult as RangeResultOriginal, type RangeResults as RangeResultsOriginal, type ReindexMessageActionOneOf as ReindexMessageActionOneOfOriginal, type ReindexMessage as ReindexMessageOriginal, type ReindexParticipantsSearchRequest as ReindexParticipantsSearchRequestOriginal, type ReindexParticipantsSearchResponse as ReindexParticipantsSearchResponseOriginal, RemovalReason as RemovalReasonOriginal, type RemovalReasonWithLiterals as RemovalReasonWithLiteralsOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type Results as ResultsOriginal, type ScalarAggregation as ScalarAggregationOriginal, type ScalarResult as ScalarResultOriginal, ScalarType as ScalarTypeOriginal, type ScalarTypeWithLiterals as ScalarTypeWithLiteralsOriginal, type Schema as SchemaOriginal, type SearchDetails as SearchDetailsOriginal, type SearchParticipantsRequest as SearchParticipantsRequestOriginal, type SearchParticipantsResponse as SearchParticipantsResponseOriginal, type SinglePaymentDetails as SinglePaymentDetailsOriginal, SortDirection as SortDirectionOriginal, type SortDirectionWithLiterals as SortDirectionWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, SortType as SortTypeOriginal, type SortTypeWithLiterals as SortTypeWithLiteralsOriginal, type Sorting as SortingOriginal, type SynchronizeTimeCapsuleTasksRequest as SynchronizeTimeCapsuleTasksRequestOriginal, type SynchronizeTimeCapsuleTasksResponse as SynchronizeTimeCapsuleTasksResponseOriginal, type TagList as TagListOriginal, type Tags as TagsOriginal, type UpdateParticipantRequest as UpdateParticipantRequestOriginal, type UpdateParticipantResponse as UpdateParticipantResponseOriginal, type Upsert as UpsertOriginal, type ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOfOriginal, type ValueAggregation as ValueAggregationOriginal, type ValueAggregationResult as ValueAggregationResultOriginal, type ValueResult as ValueResultOriginal, type ValueResults as ValueResultsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCreateParticipants, bulkCreateParticipantsForAllMembers, bulkUpdateParticipantTags, bulkUpdateParticipantTagsByFilter, createParticipant, deleteParticipant, exportParticipantsStats, getAccessStatus, getCertificateDownloadUrl, getParticipant, getParticipationStats, getPremiumStats, issueCertificate, queryParticipants, searchParticipants, updateParticipant };
package/build/cjs/meta.js CHANGED
@@ -29,6 +29,7 @@ __export(meta_exports, {
29
29
  NestedAggregationTypeOriginal: () => NestedAggregationType,
30
30
  PricingTypeOriginal: () => PricingType,
31
31
  ProgressStatusOriginal: () => ProgressStatus,
32
+ RemovalReasonOriginal: () => RemovalReason,
32
33
  RequestedFieldsOriginal: () => RequestedFields,
33
34
  ScalarTypeOriginal: () => ScalarType,
34
35
  SortDirectionOriginal: () => SortDirection,
@@ -63,6 +64,59 @@ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
63
64
  var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
64
65
  var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
65
66
  var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
67
+ var TRANSFORM_PATHS_0 = [
68
+ { path: "participant.createdDate" },
69
+ { path: "participant.updatedDate" },
70
+ { path: "participant.lastActivityDate" },
71
+ { path: "participant.certificateInfo.issueDate" }
72
+ ];
73
+ var TRANSFORM_PATHS_1 = [
74
+ { path: "participant.progress.completionPercentage" }
75
+ ];
76
+ var TRANSFORM_PATHS_2 = [{ path: "fieldMask" }];
77
+ var TRANSFORM_PATHS_3 = [
78
+ { path: "participants.createdDate" },
79
+ { path: "participants.updatedDate" },
80
+ { path: "participants.lastActivityDate" },
81
+ { path: "participants.certificateInfo.issueDate" }
82
+ ];
83
+ var TRANSFORM_PATHS_4 = [
84
+ { path: "participants.progress.completionPercentage" }
85
+ ];
86
+ var TRANSFORM_PATHS_5 = [
87
+ { path: "results.item.createdDate" },
88
+ { path: "results.item.updatedDate" },
89
+ { path: "results.item.lastActivityDate" },
90
+ { path: "results.item.certificateInfo.issueDate" }
91
+ ];
92
+ var TRANSFORM_PATHS_6 = [
93
+ { path: "results.item.progress.completionPercentage" }
94
+ ];
95
+ var TRANSFORM_PATHS_7 = [{ path: "expirationDate" }];
96
+ var TRANSFORM_PATHS_8 = [
97
+ { path: "search.aggregations.range.buckets.from" },
98
+ { path: "search.aggregations.range.buckets.to" },
99
+ { path: "search.aggregations.nested.nestedAggregations.range.buckets.from" },
100
+ { path: "search.aggregations.nested.nestedAggregations.range.buckets.to" }
101
+ ];
102
+ var TRANSFORM_PATHS_9 = [
103
+ { path: "participants.progress.completionPercentage" },
104
+ { path: "aggregationData.results.scalar.value" },
105
+ {
106
+ path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
107
+ },
108
+ { path: "aggregationData.results.nested.results.results.*.scalar.value" },
109
+ { path: "aggregationData.results.ranges.results.from" },
110
+ { path: "aggregationData.results.ranges.results.to" },
111
+ {
112
+ path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
113
+ },
114
+ {
115
+ path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
116
+ },
117
+ { path: "aggregationData.results.nested.results.results.*.range.from" },
118
+ { path: "aggregationData.results.nested.results.results.*.range.to" }
119
+ ];
66
120
  function resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl(opts) {
67
121
  const domainToMappings = {
68
122
  "bo._base_domain_": [
@@ -243,16 +297,11 @@ function createParticipant(payload) {
243
297
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
244
298
  {
245
299
  transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
246
- paths: [
247
- { path: "participant.createdDate" },
248
- { path: "participant.updatedDate" },
249
- { path: "participant.lastActivityDate" },
250
- { path: "participant.certificateInfo.issueDate" }
251
- ]
300
+ paths: TRANSFORM_PATHS_0
252
301
  },
253
302
  {
254
303
  transformFn: import_float.transformSDKFloatToRESTFloat,
255
- paths: [{ path: "participant.progress.completionPercentage" }]
304
+ paths: TRANSFORM_PATHS_1
256
305
  }
257
306
  ]);
258
307
  const metadata = {
@@ -272,16 +321,11 @@ function createParticipant(payload) {
272
321
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
273
322
  {
274
323
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
275
- paths: [
276
- { path: "participant.createdDate" },
277
- { path: "participant.updatedDate" },
278
- { path: "participant.lastActivityDate" },
279
- { path: "participant.certificateInfo.issueDate" }
280
- ]
324
+ paths: TRANSFORM_PATHS_0
281
325
  },
282
326
  {
283
327
  transformFn: import_float2.transformRESTFloatToSDKFloat,
284
- paths: [{ path: "participant.progress.completionPercentage" }]
328
+ paths: TRANSFORM_PATHS_1
285
329
  }
286
330
  ])
287
331
  };
@@ -294,20 +338,15 @@ function updateParticipant(payload) {
294
338
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
295
339
  {
296
340
  transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
297
- paths: [{ path: "fieldMask" }]
341
+ paths: TRANSFORM_PATHS_2
298
342
  },
299
343
  {
300
344
  transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
301
- paths: [
302
- { path: "participant.createdDate" },
303
- { path: "participant.updatedDate" },
304
- { path: "participant.lastActivityDate" },
305
- { path: "participant.certificateInfo.issueDate" }
306
- ]
345
+ paths: TRANSFORM_PATHS_0
307
346
  },
308
347
  {
309
348
  transformFn: import_float.transformSDKFloatToRESTFloat,
310
- paths: [{ path: "participant.progress.completionPercentage" }]
349
+ paths: TRANSFORM_PATHS_1
311
350
  }
312
351
  ]);
313
352
  const metadata = {
@@ -327,16 +366,11 @@ function updateParticipant(payload) {
327
366
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
328
367
  {
329
368
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
330
- paths: [
331
- { path: "participant.createdDate" },
332
- { path: "participant.updatedDate" },
333
- { path: "participant.lastActivityDate" },
334
- { path: "participant.certificateInfo.issueDate" }
335
- ]
369
+ paths: TRANSFORM_PATHS_0
336
370
  },
337
371
  {
338
372
  transformFn: import_float2.transformRESTFloatToSDKFloat,
339
- paths: [{ path: "participant.progress.completionPercentage" }]
373
+ paths: TRANSFORM_PATHS_1
340
374
  }
341
375
  ])
342
376
  };
@@ -349,16 +383,11 @@ function bulkCreateParticipants(payload) {
349
383
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
350
384
  {
351
385
  transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
352
- paths: [
353
- { path: "participants.createdDate" },
354
- { path: "participants.updatedDate" },
355
- { path: "participants.lastActivityDate" },
356
- { path: "participants.certificateInfo.issueDate" }
357
- ]
386
+ paths: TRANSFORM_PATHS_3
358
387
  },
359
388
  {
360
389
  transformFn: import_float.transformSDKFloatToRESTFloat,
361
- paths: [{ path: "participants.progress.completionPercentage" }]
390
+ paths: TRANSFORM_PATHS_4
362
391
  }
363
392
  ]);
364
393
  const metadata = {
@@ -378,16 +407,11 @@ function bulkCreateParticipants(payload) {
378
407
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
379
408
  {
380
409
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
381
- paths: [
382
- { path: "results.item.createdDate" },
383
- { path: "results.item.updatedDate" },
384
- { path: "results.item.lastActivityDate" },
385
- { path: "results.item.certificateInfo.issueDate" }
386
- ]
410
+ paths: TRANSFORM_PATHS_5
387
411
  },
388
412
  {
389
413
  transformFn: import_float2.transformRESTFloatToSDKFloat,
390
- paths: [{ path: "results.item.progress.completionPercentage" }]
414
+ paths: TRANSFORM_PATHS_6
391
415
  }
392
416
  ])
393
417
  };
@@ -456,16 +480,11 @@ function issueCertificate(payload) {
456
480
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
457
481
  {
458
482
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
459
- paths: [
460
- { path: "participant.createdDate" },
461
- { path: "participant.updatedDate" },
462
- { path: "participant.lastActivityDate" },
463
- { path: "participant.certificateInfo.issueDate" }
464
- ]
483
+ paths: TRANSFORM_PATHS_0
465
484
  },
466
485
  {
467
486
  transformFn: import_float2.transformRESTFloatToSDKFloat,
468
- paths: [{ path: "participant.progress.completionPercentage" }]
487
+ paths: TRANSFORM_PATHS_1
469
488
  }
470
489
  ])
471
490
  };
@@ -492,7 +511,7 @@ function getCertificateDownloadUrl(payload) {
492
511
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
493
512
  {
494
513
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
495
- paths: [{ path: "expirationDate" }]
514
+ paths: TRANSFORM_PATHS_7
496
515
  }
497
516
  ])
498
517
  };
@@ -561,16 +580,11 @@ function getParticipant(payload) {
561
580
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
562
581
  {
563
582
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
564
- paths: [
565
- { path: "participant.createdDate" },
566
- { path: "participant.updatedDate" },
567
- { path: "participant.lastActivityDate" },
568
- { path: "participant.certificateInfo.issueDate" }
569
- ]
583
+ paths: TRANSFORM_PATHS_0
570
584
  },
571
585
  {
572
586
  transformFn: import_float2.transformRESTFloatToSDKFloat,
573
- paths: [{ path: "participant.progress.completionPercentage" }]
587
+ paths: TRANSFORM_PATHS_1
574
588
  }
575
589
  ])
576
590
  };
@@ -597,16 +611,11 @@ function queryParticipants(payload) {
597
611
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
598
612
  {
599
613
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
600
- paths: [
601
- { path: "participants.createdDate" },
602
- { path: "participants.updatedDate" },
603
- { path: "participants.lastActivityDate" },
604
- { path: "participants.certificateInfo.issueDate" }
605
- ]
614
+ paths: TRANSFORM_PATHS_3
606
615
  },
607
616
  {
608
617
  transformFn: import_float2.transformRESTFloatToSDKFloat,
609
- paths: [{ path: "participants.progress.completionPercentage" }]
618
+ paths: TRANSFORM_PATHS_4
610
619
  }
611
620
  ])
612
621
  };
@@ -682,16 +691,7 @@ function searchParticipants(payload) {
682
691
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
683
692
  {
684
693
  transformFn: import_float.transformSDKFloatToRESTFloat,
685
- paths: [
686
- { path: "search.aggregations.range.buckets.from" },
687
- { path: "search.aggregations.range.buckets.to" },
688
- {
689
- path: "search.aggregations.nested.nestedAggregations.range.buckets.from"
690
- },
691
- {
692
- path: "search.aggregations.nested.nestedAggregations.range.buckets.to"
693
- }
694
- ]
694
+ paths: TRANSFORM_PATHS_8
695
695
  }
696
696
  ]);
697
697
  const metadata = {
@@ -711,39 +711,11 @@ function searchParticipants(payload) {
711
711
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
712
712
  {
713
713
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
714
- paths: [
715
- { path: "participants.createdDate" },
716
- { path: "participants.updatedDate" },
717
- { path: "participants.lastActivityDate" },
718
- { path: "participants.certificateInfo.issueDate" }
719
- ]
714
+ paths: TRANSFORM_PATHS_3
720
715
  },
721
716
  {
722
717
  transformFn: import_float2.transformRESTFloatToSDKFloat,
723
- paths: [
724
- { path: "participants.progress.completionPercentage" },
725
- { path: "aggregationData.results.scalar.value" },
726
- {
727
- path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
728
- },
729
- {
730
- path: "aggregationData.results.nested.results.results.*.scalar.value"
731
- },
732
- { path: "aggregationData.results.ranges.results.from" },
733
- { path: "aggregationData.results.ranges.results.to" },
734
- {
735
- path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
736
- },
737
- {
738
- path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
739
- },
740
- {
741
- path: "aggregationData.results.nested.results.results.*.range.from"
742
- },
743
- {
744
- path: "aggregationData.results.nested.results.results.*.range.to"
745
- }
746
- ]
718
+ paths: TRANSFORM_PATHS_9
747
719
  }
748
720
  ])
749
721
  };
@@ -798,6 +770,10 @@ var ProgressStatus = /* @__PURE__ */ ((ProgressStatus2) => {
798
770
  ProgressStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
799
771
  return ProgressStatus2;
800
772
  })(ProgressStatus || {});
773
+ var RemovalReason = /* @__PURE__ */ ((RemovalReason2) => {
774
+ RemovalReason2["MEMBER_DELETED"] = "MEMBER_DELETED";
775
+ return RemovalReason2;
776
+ })(RemovalReason || {});
801
777
  var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
802
778
  RequestedFields2["PROGRESS"] = "PROGRESS";
803
779
  return RequestedFields2;
@@ -1207,6 +1183,7 @@ function exportParticipantsStats2() {
1207
1183
  NestedAggregationTypeOriginal,
1208
1184
  PricingTypeOriginal,
1209
1185
  ProgressStatusOriginal,
1186
+ RemovalReasonOriginal,
1210
1187
  RequestedFieldsOriginal,
1211
1188
  ScalarTypeOriginal,
1212
1189
  SortDirectionOriginal,