@wix/auto_sdk_online-programs_participants 1.0.21 → 1.0.22
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 +16 -3
- package/build/cjs/index.js +64 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +56 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +43 -2
- package/build/cjs/meta.js +49 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{online-programs-participants-v3-participant-participants.universal-D4rclIQF.d.ts → online-programs-participants-v3-participant-participants.universal-B5JuUrJE.d.ts} +53 -1
- package/build/es/index.d.mts +16 -3
- package/build/es/index.mjs +63 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +55 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +43 -2
- package/build/es/meta.mjs +48 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{online-programs-participants-v3-participant-participants.universal-D4rclIQF.d.mts → online-programs-participants-v3-participant-participants.universal-B5JuUrJE.d.mts} +53 -1
- package/build/internal/cjs/index.d.ts +16 -3
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/meta.d.ts +43 -2
- package/build/internal/cjs/{online-programs-participants-v3-participant-participants.universal-AG5j7ATZ.d.ts → online-programs-participants-v3-participant-participants.universal-CAVKsE12.d.ts} +53 -1
- package/build/internal/es/index.d.mts +16 -3
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/meta.d.mts +43 -2
- package/build/internal/es/{online-programs-participants-v3-participant-participants.universal-AG5j7ATZ.d.mts → online-programs-participants-v3-participant-participants.universal-CAVKsE12.d.mts} +53 -1
- package/package.json +2 -2
package/build/es/meta.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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-B5JuUrJE.mjs';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -647,6 +647,22 @@ interface IssueCertificateResponse {
|
|
|
647
647
|
/** Updated participant */
|
|
648
648
|
participant?: Participant;
|
|
649
649
|
}
|
|
650
|
+
interface GetCertificateDownloadUrlRequest {
|
|
651
|
+
/**
|
|
652
|
+
* ID of the participant whose certificate download URL to retrieve.
|
|
653
|
+
* @format GUID
|
|
654
|
+
*/
|
|
655
|
+
participantId: string;
|
|
656
|
+
}
|
|
657
|
+
interface GetCertificateDownloadUrlResponse {
|
|
658
|
+
/**
|
|
659
|
+
* URL for downloading the participant's certificate.
|
|
660
|
+
* @format WEB_URL
|
|
661
|
+
*/
|
|
662
|
+
downloadUrl?: string;
|
|
663
|
+
/** Time when the download URL token expires. The underlying certificate document may expire earlier. */
|
|
664
|
+
expirationDate?: Date | null;
|
|
665
|
+
}
|
|
650
666
|
interface GetCompletionStatsRequest {
|
|
651
667
|
/**
|
|
652
668
|
* ID of the program to retrieve completion statistics for.
|
|
@@ -1612,6 +1628,28 @@ type IssueCertificateApplicationErrors = {
|
|
|
1612
1628
|
data?: Record<string, any>;
|
|
1613
1629
|
};
|
|
1614
1630
|
/** @docsIgnore */
|
|
1631
|
+
type GetCertificateDownloadUrlApplicationErrors = {
|
|
1632
|
+
code?: 'CERTIFICATE_NOT_ISSUED';
|
|
1633
|
+
description?: string;
|
|
1634
|
+
data?: Record<string, any>;
|
|
1635
|
+
} | {
|
|
1636
|
+
code?: 'CERTIFICATE_DOCUMENT_NOT_FOUND';
|
|
1637
|
+
description?: string;
|
|
1638
|
+
data?: Record<string, any>;
|
|
1639
|
+
} | {
|
|
1640
|
+
code?: 'CERTIFICATE_NOT_READY';
|
|
1641
|
+
description?: string;
|
|
1642
|
+
data?: Record<string, any>;
|
|
1643
|
+
} | {
|
|
1644
|
+
code?: 'CERTIFICATE_RENDER_FAILED';
|
|
1645
|
+
description?: string;
|
|
1646
|
+
data?: Record<string, any>;
|
|
1647
|
+
} | {
|
|
1648
|
+
code?: 'CERTIFICATE_EXPIRED';
|
|
1649
|
+
description?: string;
|
|
1650
|
+
data?: Record<string, any>;
|
|
1651
|
+
};
|
|
1652
|
+
/** @docsIgnore */
|
|
1615
1653
|
type BulkUpdateParticipantTagsApplicationErrors = {
|
|
1616
1654
|
code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';
|
|
1617
1655
|
description?: string;
|
|
@@ -1646,6 +1684,9 @@ declare function deleteParticipant(): __PublicMethodMetaInfo<'DELETE', {
|
|
|
1646
1684
|
declare function issueCertificate(): __PublicMethodMetaInfo<'POST', {
|
|
1647
1685
|
participantId: string;
|
|
1648
1686
|
}, IssueCertificateRequest$1, IssueCertificateRequest, IssueCertificateResponse$1, IssueCertificateResponse>;
|
|
1687
|
+
declare function getCertificateDownloadUrl(): __PublicMethodMetaInfo<'GET', {
|
|
1688
|
+
participantId: string;
|
|
1689
|
+
}, GetCertificateDownloadUrlRequest$1, GetCertificateDownloadUrlRequest, GetCertificateDownloadUrlResponse$1, GetCertificateDownloadUrlResponse>;
|
|
1649
1690
|
declare function getPremiumStats(): __PublicMethodMetaInfo<'GET', {}, GetPremiumStatsRequest$1, GetPremiumStatsRequest, GetPremiumStatsResponse$1, GetPremiumStatsResponse>;
|
|
1650
1691
|
declare function getParticipationStats(): __PublicMethodMetaInfo<'POST', {}, GetParticipationStatsRequest$1, GetParticipationStatsRequest, GetParticipationStatsResponse$1, GetParticipationStatsResponse>;
|
|
1651
1692
|
declare function getParticipant(): __PublicMethodMetaInfo<'GET', {
|
|
@@ -1660,4 +1701,4 @@ declare function exportParticipantsStats(): __PublicMethodMetaInfo<'GET', {
|
|
|
1660
1701
|
programId: string;
|
|
1661
1702
|
}, ExportParticipantsStatsRequest$1, ExportParticipantsStatsRequest, ExportParticipantsStatsResponse$1, ExportParticipantsStatsResponse>;
|
|
1662
1703
|
|
|
1663
|
-
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 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, getParticipant, getParticipationStats, getPremiumStats, issueCertificate, queryParticipants, searchParticipants, updateParticipant };
|
|
1704
|
+
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 };
|
package/build/es/meta.mjs
CHANGED
|
@@ -417,6 +417,33 @@ function issueCertificate(payload) {
|
|
|
417
417
|
}
|
|
418
418
|
return __issueCertificate;
|
|
419
419
|
}
|
|
420
|
+
function getCertificateDownloadUrl(payload) {
|
|
421
|
+
function __getCertificateDownloadUrl({ host }) {
|
|
422
|
+
const metadata = {
|
|
423
|
+
entityFqdn: "wix.online_programs.participants.v3.participant",
|
|
424
|
+
method: "GET",
|
|
425
|
+
methodFqn: "wix.onlineprograms.participants.v3.ParticipantsService.GetCertificateDownloadUrl",
|
|
426
|
+
packageName: PACKAGE_NAME,
|
|
427
|
+
migrationOptions: {
|
|
428
|
+
optInTransformResponse: true
|
|
429
|
+
},
|
|
430
|
+
url: resolveWixOnlineprogramsParticipantsV3ParticipantsServiceUrl({
|
|
431
|
+
protoPath: "/v3/participants/{participantId}/certificate-download-url",
|
|
432
|
+
data: payload,
|
|
433
|
+
host
|
|
434
|
+
}),
|
|
435
|
+
params: toURLSearchParams(payload),
|
|
436
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
437
|
+
{
|
|
438
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
439
|
+
paths: [{ path: "expirationDate" }]
|
|
440
|
+
}
|
|
441
|
+
])
|
|
442
|
+
};
|
|
443
|
+
return metadata;
|
|
444
|
+
}
|
|
445
|
+
return __getCertificateDownloadUrl;
|
|
446
|
+
}
|
|
420
447
|
function getPremiumStats(payload) {
|
|
421
448
|
function __getPremiumStats({ host }) {
|
|
422
449
|
const metadata = {
|
|
@@ -913,6 +940,26 @@ function issueCertificate2() {
|
|
|
913
940
|
__originalResponseType: null
|
|
914
941
|
};
|
|
915
942
|
}
|
|
943
|
+
function getCertificateDownloadUrl2() {
|
|
944
|
+
const payload = { participantId: ":participantId" };
|
|
945
|
+
const getRequestOptions = getCertificateDownloadUrl(
|
|
946
|
+
payload
|
|
947
|
+
);
|
|
948
|
+
const getUrl = (context) => {
|
|
949
|
+
const { url } = getRequestOptions(context);
|
|
950
|
+
return url;
|
|
951
|
+
};
|
|
952
|
+
return {
|
|
953
|
+
getUrl,
|
|
954
|
+
httpMethod: "GET",
|
|
955
|
+
path: "/v3/participants/{participantId}/certificate-download-url",
|
|
956
|
+
pathParams: { participantId: "participantId" },
|
|
957
|
+
__requestType: null,
|
|
958
|
+
__originalRequestType: null,
|
|
959
|
+
__responseType: null,
|
|
960
|
+
__originalResponseType: null
|
|
961
|
+
};
|
|
962
|
+
}
|
|
916
963
|
function getPremiumStats2() {
|
|
917
964
|
const payload = {};
|
|
918
965
|
const getRequestOptions = getPremiumStats(
|
|
@@ -1117,6 +1164,7 @@ export {
|
|
|
1117
1164
|
deleteParticipant2 as deleteParticipant,
|
|
1118
1165
|
exportParticipantsStats2 as exportParticipantsStats,
|
|
1119
1166
|
getAccessStatus2 as getAccessStatus,
|
|
1167
|
+
getCertificateDownloadUrl2 as getCertificateDownloadUrl,
|
|
1120
1168
|
getParticipant2 as getParticipant,
|
|
1121
1169
|
getParticipationStats2 as getParticipationStats,
|
|
1122
1170
|
getPremiumStats2 as getPremiumStats,
|