@wix/auto_sdk_online-programs_participants 1.0.28 → 1.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +133 -184
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +82 -105
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +10 -2
- package/build/cjs/meta.js +82 -105
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{online-programs-participants-v3-participant-participants.universal-BrdlJaIZ.d.ts → online-programs-participants-v3-participant-participants.universal-PXhlXOzv.d.ts} +9 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +132 -184
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +81 -105
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +10 -2
- package/build/es/meta.mjs +81 -105
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{online-programs-participants-v3-participant-participants.universal-BrdlJaIZ.d.mts → online-programs-participants-v3-participant-participants.universal-PXhlXOzv.d.mts} +9 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/meta.d.ts +10 -2
- package/build/internal/cjs/{online-programs-participants-v3-participant-participants.universal-02Rnv8b6.d.ts → online-programs-participants-v3-participant-participants.universal-bQwrHNX-.d.ts} +9 -1
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/meta.d.mts +10 -2
- package/build/internal/es/{online-programs-participants-v3-participant-participants.universal-02Rnv8b6.d.mts → online-programs-participants-v3-participant-participants.universal-bQwrHNX-.d.mts} +9 -1
- package/package.json +2 -2
package/build/es/meta.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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.mjs';
|
|
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/es/meta.mjs
CHANGED
|
@@ -7,6 +7,59 @@ import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transform
|
|
|
7
7
|
import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
|
|
8
8
|
import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
9
9
|
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
10
|
+
var TRANSFORM_PATHS_0 = [
|
|
11
|
+
{ path: "participant.createdDate" },
|
|
12
|
+
{ path: "participant.updatedDate" },
|
|
13
|
+
{ path: "participant.lastActivityDate" },
|
|
14
|
+
{ path: "participant.certificateInfo.issueDate" }
|
|
15
|
+
];
|
|
16
|
+
var TRANSFORM_PATHS_1 = [
|
|
17
|
+
{ path: "participant.progress.completionPercentage" }
|
|
18
|
+
];
|
|
19
|
+
var TRANSFORM_PATHS_2 = [{ path: "fieldMask" }];
|
|
20
|
+
var TRANSFORM_PATHS_3 = [
|
|
21
|
+
{ path: "participants.createdDate" },
|
|
22
|
+
{ path: "participants.updatedDate" },
|
|
23
|
+
{ path: "participants.lastActivityDate" },
|
|
24
|
+
{ path: "participants.certificateInfo.issueDate" }
|
|
25
|
+
];
|
|
26
|
+
var TRANSFORM_PATHS_4 = [
|
|
27
|
+
{ path: "participants.progress.completionPercentage" }
|
|
28
|
+
];
|
|
29
|
+
var TRANSFORM_PATHS_5 = [
|
|
30
|
+
{ path: "results.item.createdDate" },
|
|
31
|
+
{ path: "results.item.updatedDate" },
|
|
32
|
+
{ path: "results.item.lastActivityDate" },
|
|
33
|
+
{ path: "results.item.certificateInfo.issueDate" }
|
|
34
|
+
];
|
|
35
|
+
var TRANSFORM_PATHS_6 = [
|
|
36
|
+
{ path: "results.item.progress.completionPercentage" }
|
|
37
|
+
];
|
|
38
|
+
var TRANSFORM_PATHS_7 = [{ path: "expirationDate" }];
|
|
39
|
+
var TRANSFORM_PATHS_8 = [
|
|
40
|
+
{ path: "search.aggregations.range.buckets.from" },
|
|
41
|
+
{ path: "search.aggregations.range.buckets.to" },
|
|
42
|
+
{ path: "search.aggregations.nested.nestedAggregations.range.buckets.from" },
|
|
43
|
+
{ path: "search.aggregations.nested.nestedAggregations.range.buckets.to" }
|
|
44
|
+
];
|
|
45
|
+
var TRANSFORM_PATHS_9 = [
|
|
46
|
+
{ path: "participants.progress.completionPercentage" },
|
|
47
|
+
{ path: "aggregationData.results.scalar.value" },
|
|
48
|
+
{
|
|
49
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
|
|
50
|
+
},
|
|
51
|
+
{ path: "aggregationData.results.nested.results.results.*.scalar.value" },
|
|
52
|
+
{ path: "aggregationData.results.ranges.results.from" },
|
|
53
|
+
{ path: "aggregationData.results.ranges.results.to" },
|
|
54
|
+
{
|
|
55
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
|
|
59
|
+
},
|
|
60
|
+
{ path: "aggregationData.results.nested.results.results.*.range.from" },
|
|
61
|
+
{ path: "aggregationData.results.nested.results.results.*.range.to" }
|
|
62
|
+
];
|
|
10
63
|
function resolveWixOnlineprogramsParticipantsV3ParticipantExportsServiceUrl(opts) {
|
|
11
64
|
const domainToMappings = {
|
|
12
65
|
"bo._base_domain_": [
|
|
@@ -187,16 +240,11 @@ function createParticipant(payload) {
|
|
|
187
240
|
const serializedData = transformPaths(payload, [
|
|
188
241
|
{
|
|
189
242
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
190
|
-
paths:
|
|
191
|
-
{ path: "participant.createdDate" },
|
|
192
|
-
{ path: "participant.updatedDate" },
|
|
193
|
-
{ path: "participant.lastActivityDate" },
|
|
194
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
195
|
-
]
|
|
243
|
+
paths: TRANSFORM_PATHS_0
|
|
196
244
|
},
|
|
197
245
|
{
|
|
198
246
|
transformFn: transformSDKFloatToRESTFloat,
|
|
199
|
-
paths:
|
|
247
|
+
paths: TRANSFORM_PATHS_1
|
|
200
248
|
}
|
|
201
249
|
]);
|
|
202
250
|
const metadata = {
|
|
@@ -216,16 +264,11 @@ function createParticipant(payload) {
|
|
|
216
264
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
217
265
|
{
|
|
218
266
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
219
|
-
paths:
|
|
220
|
-
{ path: "participant.createdDate" },
|
|
221
|
-
{ path: "participant.updatedDate" },
|
|
222
|
-
{ path: "participant.lastActivityDate" },
|
|
223
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
224
|
-
]
|
|
267
|
+
paths: TRANSFORM_PATHS_0
|
|
225
268
|
},
|
|
226
269
|
{
|
|
227
270
|
transformFn: transformRESTFloatToSDKFloat,
|
|
228
|
-
paths:
|
|
271
|
+
paths: TRANSFORM_PATHS_1
|
|
229
272
|
}
|
|
230
273
|
])
|
|
231
274
|
};
|
|
@@ -238,20 +281,15 @@ function updateParticipant(payload) {
|
|
|
238
281
|
const serializedData = transformPaths(payload, [
|
|
239
282
|
{
|
|
240
283
|
transformFn: transformSDKFieldMaskToRESTFieldMask,
|
|
241
|
-
paths:
|
|
284
|
+
paths: TRANSFORM_PATHS_2
|
|
242
285
|
},
|
|
243
286
|
{
|
|
244
287
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
245
|
-
paths:
|
|
246
|
-
{ path: "participant.createdDate" },
|
|
247
|
-
{ path: "participant.updatedDate" },
|
|
248
|
-
{ path: "participant.lastActivityDate" },
|
|
249
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
250
|
-
]
|
|
288
|
+
paths: TRANSFORM_PATHS_0
|
|
251
289
|
},
|
|
252
290
|
{
|
|
253
291
|
transformFn: transformSDKFloatToRESTFloat,
|
|
254
|
-
paths:
|
|
292
|
+
paths: TRANSFORM_PATHS_1
|
|
255
293
|
}
|
|
256
294
|
]);
|
|
257
295
|
const metadata = {
|
|
@@ -271,16 +309,11 @@ function updateParticipant(payload) {
|
|
|
271
309
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
272
310
|
{
|
|
273
311
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
274
|
-
paths:
|
|
275
|
-
{ path: "participant.createdDate" },
|
|
276
|
-
{ path: "participant.updatedDate" },
|
|
277
|
-
{ path: "participant.lastActivityDate" },
|
|
278
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
279
|
-
]
|
|
312
|
+
paths: TRANSFORM_PATHS_0
|
|
280
313
|
},
|
|
281
314
|
{
|
|
282
315
|
transformFn: transformRESTFloatToSDKFloat,
|
|
283
|
-
paths:
|
|
316
|
+
paths: TRANSFORM_PATHS_1
|
|
284
317
|
}
|
|
285
318
|
])
|
|
286
319
|
};
|
|
@@ -293,16 +326,11 @@ function bulkCreateParticipants(payload) {
|
|
|
293
326
|
const serializedData = transformPaths(payload, [
|
|
294
327
|
{
|
|
295
328
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
296
|
-
paths:
|
|
297
|
-
{ path: "participants.createdDate" },
|
|
298
|
-
{ path: "participants.updatedDate" },
|
|
299
|
-
{ path: "participants.lastActivityDate" },
|
|
300
|
-
{ path: "participants.certificateInfo.issueDate" }
|
|
301
|
-
]
|
|
329
|
+
paths: TRANSFORM_PATHS_3
|
|
302
330
|
},
|
|
303
331
|
{
|
|
304
332
|
transformFn: transformSDKFloatToRESTFloat,
|
|
305
|
-
paths:
|
|
333
|
+
paths: TRANSFORM_PATHS_4
|
|
306
334
|
}
|
|
307
335
|
]);
|
|
308
336
|
const metadata = {
|
|
@@ -322,16 +350,11 @@ function bulkCreateParticipants(payload) {
|
|
|
322
350
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
323
351
|
{
|
|
324
352
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
325
|
-
paths:
|
|
326
|
-
{ path: "results.item.createdDate" },
|
|
327
|
-
{ path: "results.item.updatedDate" },
|
|
328
|
-
{ path: "results.item.lastActivityDate" },
|
|
329
|
-
{ path: "results.item.certificateInfo.issueDate" }
|
|
330
|
-
]
|
|
353
|
+
paths: TRANSFORM_PATHS_5
|
|
331
354
|
},
|
|
332
355
|
{
|
|
333
356
|
transformFn: transformRESTFloatToSDKFloat,
|
|
334
|
-
paths:
|
|
357
|
+
paths: TRANSFORM_PATHS_6
|
|
335
358
|
}
|
|
336
359
|
])
|
|
337
360
|
};
|
|
@@ -400,16 +423,11 @@ function issueCertificate(payload) {
|
|
|
400
423
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
401
424
|
{
|
|
402
425
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
403
|
-
paths:
|
|
404
|
-
{ path: "participant.createdDate" },
|
|
405
|
-
{ path: "participant.updatedDate" },
|
|
406
|
-
{ path: "participant.lastActivityDate" },
|
|
407
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
408
|
-
]
|
|
426
|
+
paths: TRANSFORM_PATHS_0
|
|
409
427
|
},
|
|
410
428
|
{
|
|
411
429
|
transformFn: transformRESTFloatToSDKFloat,
|
|
412
|
-
paths:
|
|
430
|
+
paths: TRANSFORM_PATHS_1
|
|
413
431
|
}
|
|
414
432
|
])
|
|
415
433
|
};
|
|
@@ -436,7 +454,7 @@ function getCertificateDownloadUrl(payload) {
|
|
|
436
454
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
437
455
|
{
|
|
438
456
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
439
|
-
paths:
|
|
457
|
+
paths: TRANSFORM_PATHS_7
|
|
440
458
|
}
|
|
441
459
|
])
|
|
442
460
|
};
|
|
@@ -505,16 +523,11 @@ function getParticipant(payload) {
|
|
|
505
523
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
506
524
|
{
|
|
507
525
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
508
|
-
paths:
|
|
509
|
-
{ path: "participant.createdDate" },
|
|
510
|
-
{ path: "participant.updatedDate" },
|
|
511
|
-
{ path: "participant.lastActivityDate" },
|
|
512
|
-
{ path: "participant.certificateInfo.issueDate" }
|
|
513
|
-
]
|
|
526
|
+
paths: TRANSFORM_PATHS_0
|
|
514
527
|
},
|
|
515
528
|
{
|
|
516
529
|
transformFn: transformRESTFloatToSDKFloat,
|
|
517
|
-
paths:
|
|
530
|
+
paths: TRANSFORM_PATHS_1
|
|
518
531
|
}
|
|
519
532
|
])
|
|
520
533
|
};
|
|
@@ -541,16 +554,11 @@ function queryParticipants(payload) {
|
|
|
541
554
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
542
555
|
{
|
|
543
556
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
544
|
-
paths:
|
|
545
|
-
{ path: "participants.createdDate" },
|
|
546
|
-
{ path: "participants.updatedDate" },
|
|
547
|
-
{ path: "participants.lastActivityDate" },
|
|
548
|
-
{ path: "participants.certificateInfo.issueDate" }
|
|
549
|
-
]
|
|
557
|
+
paths: TRANSFORM_PATHS_3
|
|
550
558
|
},
|
|
551
559
|
{
|
|
552
560
|
transformFn: transformRESTFloatToSDKFloat,
|
|
553
|
-
paths:
|
|
561
|
+
paths: TRANSFORM_PATHS_4
|
|
554
562
|
}
|
|
555
563
|
])
|
|
556
564
|
};
|
|
@@ -626,16 +634,7 @@ function searchParticipants(payload) {
|
|
|
626
634
|
const serializedData = transformPaths(payload, [
|
|
627
635
|
{
|
|
628
636
|
transformFn: transformSDKFloatToRESTFloat,
|
|
629
|
-
paths:
|
|
630
|
-
{ path: "search.aggregations.range.buckets.from" },
|
|
631
|
-
{ path: "search.aggregations.range.buckets.to" },
|
|
632
|
-
{
|
|
633
|
-
path: "search.aggregations.nested.nestedAggregations.range.buckets.from"
|
|
634
|
-
},
|
|
635
|
-
{
|
|
636
|
-
path: "search.aggregations.nested.nestedAggregations.range.buckets.to"
|
|
637
|
-
}
|
|
638
|
-
]
|
|
637
|
+
paths: TRANSFORM_PATHS_8
|
|
639
638
|
}
|
|
640
639
|
]);
|
|
641
640
|
const metadata = {
|
|
@@ -655,39 +654,11 @@ function searchParticipants(payload) {
|
|
|
655
654
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
656
655
|
{
|
|
657
656
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
658
|
-
paths:
|
|
659
|
-
{ path: "participants.createdDate" },
|
|
660
|
-
{ path: "participants.updatedDate" },
|
|
661
|
-
{ path: "participants.lastActivityDate" },
|
|
662
|
-
{ path: "participants.certificateInfo.issueDate" }
|
|
663
|
-
]
|
|
657
|
+
paths: TRANSFORM_PATHS_3
|
|
664
658
|
},
|
|
665
659
|
{
|
|
666
660
|
transformFn: transformRESTFloatToSDKFloat,
|
|
667
|
-
paths:
|
|
668
|
-
{ path: "participants.progress.completionPercentage" },
|
|
669
|
-
{ path: "aggregationData.results.scalar.value" },
|
|
670
|
-
{
|
|
671
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
|
|
672
|
-
},
|
|
673
|
-
{
|
|
674
|
-
path: "aggregationData.results.nested.results.results.*.scalar.value"
|
|
675
|
-
},
|
|
676
|
-
{ path: "aggregationData.results.ranges.results.from" },
|
|
677
|
-
{ path: "aggregationData.results.ranges.results.to" },
|
|
678
|
-
{
|
|
679
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
|
|
683
|
-
},
|
|
684
|
-
{
|
|
685
|
-
path: "aggregationData.results.nested.results.results.*.range.from"
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
path: "aggregationData.results.nested.results.results.*.range.to"
|
|
689
|
-
}
|
|
690
|
-
]
|
|
661
|
+
paths: TRANSFORM_PATHS_9
|
|
691
662
|
}
|
|
692
663
|
])
|
|
693
664
|
};
|
|
@@ -742,6 +713,10 @@ var ProgressStatus = /* @__PURE__ */ ((ProgressStatus2) => {
|
|
|
742
713
|
ProgressStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
743
714
|
return ProgressStatus2;
|
|
744
715
|
})(ProgressStatus || {});
|
|
716
|
+
var RemovalReason = /* @__PURE__ */ ((RemovalReason2) => {
|
|
717
|
+
RemovalReason2["MEMBER_DELETED"] = "MEMBER_DELETED";
|
|
718
|
+
return RemovalReason2;
|
|
719
|
+
})(RemovalReason || {});
|
|
745
720
|
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
746
721
|
RequestedFields2["PROGRESS"] = "PROGRESS";
|
|
747
722
|
return RequestedFields2;
|
|
@@ -1150,6 +1125,7 @@ export {
|
|
|
1150
1125
|
NestedAggregationType as NestedAggregationTypeOriginal,
|
|
1151
1126
|
PricingType as PricingTypeOriginal,
|
|
1152
1127
|
ProgressStatus as ProgressStatusOriginal,
|
|
1128
|
+
RemovalReason as RemovalReasonOriginal,
|
|
1153
1129
|
RequestedFields as RequestedFieldsOriginal,
|
|
1154
1130
|
ScalarType as ScalarTypeOriginal,
|
|
1155
1131
|
SortDirection as SortDirectionOriginal,
|