@wix/auto_sdk_online-programs_participants 1.0.29 → 1.0.31
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 +6 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +6 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +18 -2
- package/build/cjs/meta.js +6 -0
- 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-C37s4ZVe.d.ts} +17 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +5 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +5 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +18 -2
- package/build/es/meta.mjs +5 -0
- 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-C37s4ZVe.d.mts} +17 -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 +18 -2
- package/build/internal/cjs/{online-programs-participants-v3-participant-participants.universal-02Rnv8b6.d.ts → online-programs-participants-v3-participant-participants.universal-CqZsz_Dc.d.ts} +17 -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 +18 -2
- package/build/internal/es/{online-programs-participants-v3-participant-participants.universal-02Rnv8b6.d.mts → online-programs-participants-v3-participant-participants.universal-CqZsz_Dc.d.mts} +17 -1
- package/package.json +2 -2
|
@@ -433,7 +433,15 @@ interface ParticipantRemoved {
|
|
|
433
433
|
memberId?: string;
|
|
434
434
|
/** Snapshot of the participant after being removed from the program. */
|
|
435
435
|
participant?: Participant;
|
|
436
|
+
/** Reason for automatic removal. Unspecified for existing removal flows. */
|
|
437
|
+
removalReason?: RemovalReasonWithLiterals;
|
|
436
438
|
}
|
|
439
|
+
declare enum RemovalReason {
|
|
440
|
+
/** The associated site member was deleted. Do not send a removal notification. */
|
|
441
|
+
MEMBER_DELETED = "MEMBER_DELETED"
|
|
442
|
+
}
|
|
443
|
+
/** @enumType */
|
|
444
|
+
type RemovalReasonWithLiterals = RemovalReason | 'MEMBER_DELETED';
|
|
437
445
|
/** Domain event emitted when a participant voluntarily leaves a program. */
|
|
438
446
|
interface ParticipantLeft {
|
|
439
447
|
/**
|
|
@@ -1617,12 +1625,20 @@ type CreateParticipantApplicationErrors = {
|
|
|
1617
1625
|
code?: 'PARTICIPANTS_LIMIT_EXCEEDED';
|
|
1618
1626
|
description?: string;
|
|
1619
1627
|
data?: Record<string, any>;
|
|
1628
|
+
} | {
|
|
1629
|
+
code?: 'ALREADY_EXISTS';
|
|
1630
|
+
description?: string;
|
|
1631
|
+
data?: Record<string, any>;
|
|
1620
1632
|
};
|
|
1621
1633
|
/** @docsIgnore */
|
|
1622
1634
|
type BulkCreateParticipantsApplicationErrors = {
|
|
1623
1635
|
code?: 'MULTIPLE_PROGRAM_IDS_IN_BULK_CREATE';
|
|
1624
1636
|
description?: string;
|
|
1625
1637
|
data?: Record<string, any>;
|
|
1638
|
+
} | {
|
|
1639
|
+
code?: 'ALREADY_EXISTS';
|
|
1640
|
+
description?: string;
|
|
1641
|
+
data?: Record<string, any>;
|
|
1626
1642
|
} | {
|
|
1627
1643
|
code?: 'PREMIUM_PLAN_REQUIRED';
|
|
1628
1644
|
description?: string;
|
|
@@ -2584,4 +2600,4 @@ type ParticipantSearch = {
|
|
|
2584
2600
|
timeZone?: CommonSearchWithEntityContext['timeZone'] | null;
|
|
2585
2601
|
};
|
|
2586
2602
|
|
|
2587
|
-
export {
|
|
2603
|
+
export { Interval as $, type ParticipantProgramDurationEndedEnvelope as A, type BulkCreateParticipantsOptions as B, type CreateParticipantOptions as C, type ParticipantRemovedEnvelope as D, type ParticipantTagsModifiedEnvelope as E, type ParticipantUpdatedEnvelope as F, type GetCertificateDownloadUrlResponse as G, type ParticipantQuery as H, type IssueCertificateOptions as I, typedQueryParticipants as J, type ParticipantsQueryBuilder as K, PricingType as L, EnrollmentStatus as M, ProgressStatus as N, RequestedFields as O, type Participant as P, type QueryParticipantsOptions as Q, RemovalReason as R, type SearchParticipantsOptions as S, BulkActionType as T, type UpdateParticipant as U, SortOrder as V, SortType as W, SortDirection as X, MissingValues as Y, ScalarType as Z, NestedAggregationType as _, type CreateParticipantApplicationErrors as a, type PagingMetadataV2 as a$, AggregationType as a0, Mode as a1, WebhookIdentityType as a2, type SinglePaymentDetails as a3, type PaidPlanDetails as a4, type FreeCouponDetails as a5, type Progress as a6, type CertificateInfo as a7, type Member as a8, type EnrollmentInfo as a9, type BulkUpsertParticipantsMigrationResponse as aA, type BulkParticipantMigrationResult as aB, type DeleteAllParticipantsMigrationRequest as aC, type DeleteAllParticipantsMigrationResponse as aD, type ReindexParticipantsSearchRequest as aE, type ReindexParticipantsSearchResponse as aF, type SynchronizeTimeCapsuleTasksRequest as aG, type SynchronizeTimeCapsuleTasksResponse as aH, type BulkCreateParticipantsForAllMembersRequest as aI, type DeleteParticipantRequest as aJ, type DeleteParticipantResponse as aK, type IssueCertificateRequest as aL, type GetCertificateDownloadUrlRequest as aM, type GetCompletionStatsRequest as aN, type GetCompletionStatsResponse as aO, type GetPremiumStatsRequest as aP, type GetParticipationStatsRequest as aQ, type ProgramParticipationStats as aR, type GetParticipantRequest as aS, type GetParticipantResponse as aT, type QueryParticipantsRequest as aU, type QueryV2 as aV, type QueryV2PagingMethodOneOf as aW, type Sorting as aX, type Paging as aY, type CursorPaging as aZ, type QueryParticipantsResponse as a_, type EnrollmentInfoPricingTypeDetailsOneOf as aa, type ExtendedFields as ab, type Tags as ac, type TagList as ad, type ReindexMessage as ae, type ReindexMessageActionOneOf as af, type Upsert as ag, type Delete as ah, type Schema as ai, type ParticipantTagsModified as aj, type ParticipantCompletedProgram as ak, type ParticipantMissedProgramDeadline as al, type ParticipantProgramDurationEnded as am, type ParticipantRemoved as an, type ParticipantLeft as ao, type CreateParticipantRequest as ap, type CreateParticipantResponse as aq, type UpdateParticipantRequest as ar, type UpdateParticipantResponse as as, type BulkCreateParticipantsRequest as at, type BulkParticipantResult as au, type ItemMetadata as av, type ApplicationError as aw, type BulkActionMetadata as ax, type BulkUpsertParticipantsMigrationRequest as ay, type ParticipantMigration as az, type UpdateParticipantOptions as b, type ParticipantQuerySpec as b$, type Cursors as b0, type GetAccessStatusRequest as b1, type BulkUpdateParticipantTagsRequest as b2, type BulkUpdateParticipantTagsResult as b3, type BulkUpdateParticipantTagsByFilterRequest as b4, type SearchParticipantsRequest as b5, type CursorSearch as b6, type CursorSearchPagingMethodOneOf as b7, type Aggregation as b8, type AggregationKindOneOf as b9, type NestedResultValue as bA, type NestedResultValueResultOneOf as bB, type Results as bC, type DateHistogramResult as bD, type GroupByValueResults as bE, type DateHistogramResults as bF, type NestedResults as bG, type AggregationResults as bH, type AggregationResultsResultOneOf as bI, type DomainEvent as bJ, type DomainEventBodyOneOf as bK, type EntityCreatedEvent as bL, type RestoreInfo as bM, type EntityUpdatedEvent as bN, type EntityDeletedEvent as bO, type ActionEvent as bP, type Empty as bQ, type MessageEnvelope as bR, type IdentificationData as bS, type IdentificationDataIdOneOf as bT, type AccountInfo as bU, type ExportParticipantsStatsRequest as bV, type ExportParticipantsStatsResponse as bW, type BaseEventMetadata as bX, type EventMetadata as bY, type AccountInfoMetadata as bZ, type ParticipantsQueryResult as b_, type RangeBucket as ba, type IncludeMissingValuesOptions as bb, type ValueAggregation as bc, type ValueAggregationOptionsOneOf as bd, type RangeAggregation as be, type ScalarAggregation as bf, type DateHistogramAggregation as bg, type NestedAggregationItem as bh, type NestedAggregationItemKindOneOf as bi, type NestedAggregation as bj, type GroupByAggregation as bk, type GroupByAggregationKindOneOf as bl, type SearchDetails as bm, type CursorPagingMetadata as bn, type AggregationData as bo, type ValueAggregationResult as bp, type RangeAggregationResult as bq, type NestedAggregationResults as br, type NestedAggregationResultsResultOneOf as bs, type ValueResults as bt, type RangeResults as bu, type AggregationResultsScalarResult as bv, type NestedValueAggregationResult as bw, type ValueResult as bx, type RangeResult as by, type ScalarResult as bz, type BulkCreateParticipantsResponse as c, type ParticipantSearchSpec as c0, utils as c1, type PricingTypeWithLiterals as c2, type EnrollmentStatusWithLiterals as c3, type ProgressStatusWithLiterals as c4, type RemovalReasonWithLiterals as c5, type RequestedFieldsWithLiterals as c6, type BulkActionTypeWithLiterals as c7, type SortOrderWithLiterals as c8, type SortTypeWithLiterals as c9, getPremiumStats as cA, getParticipationStats as cB, getParticipant as cC, queryParticipants as cD, getAccessStatus as cE, bulkUpdateParticipantTags as cF, bulkUpdateParticipantTagsByFilter as cG, type SortDirectionWithLiterals as ca, type MissingValuesWithLiterals as cb, type ScalarTypeWithLiterals as cc, type NestedAggregationTypeWithLiterals as cd, type IntervalWithLiterals as ce, type AggregationTypeWithLiterals as cf, type ModeWithLiterals as cg, type WebhookIdentityTypeWithLiterals as ch, type CommonQueryWithEntityContext as ci, type CommonSearchWithEntityContext as cj, onParticipantCompletedProgram as ck, onParticipantCreated as cl, onParticipantDeleted as cm, onParticipantLeft as cn, onParticipantMissedProgramDeadline as co, onParticipantProgramDurationEnded as cp, onParticipantRemoved as cq, onParticipantTagsModified as cr, onParticipantUpdated as cs, createParticipant as ct, updateParticipant as cu, bulkCreateParticipants as cv, bulkCreateParticipantsForAllMembers as cw, deleteParticipant as cx, issueCertificate as cy, getCertificateDownloadUrl as cz, type BulkCreateParticipantsApplicationErrors as d, type BulkCreateParticipantsForAllMembersOptions as e, type BulkCreateParticipantsForAllMembersResponse as f, type IssueCertificateResponse as g, type IssueCertificateApplicationErrors as h, type GetCertificateDownloadUrlApplicationErrors as i, type GetPremiumStatsResponse as j, type GetParticipationStatsResponse as k, type GetParticipantOptions as l, type GetAccessStatusResponse as m, type BulkUpdateParticipantTagsOptions as n, type BulkUpdateParticipantTagsResponse as o, type BulkUpdateParticipantTagsApplicationErrors as p, type BulkUpdateParticipantTagsByFilterOptions as q, type BulkUpdateParticipantTagsByFilterResponse as r, type BulkUpdateParticipantTagsByFilterApplicationErrors as s, type ParticipantSearch as t, type SearchParticipantsResponse as u, type ParticipantCompletedProgramEnvelope as v, type ParticipantCreatedEnvelope as w, type ParticipantDeletedEnvelope as x, type ParticipantLeftEnvelope as y, type ParticipantMissedProgramDeadlineEnvelope as z };
|
package/build/es/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { P as Participant, C as CreateParticipantOptions, a as CreateParticipantApplicationErrors, U as UpdateParticipant, b as UpdateParticipantOptions, B as BulkCreateParticipantsOptions, c as BulkCreateParticipantsResponse, d as BulkCreateParticipantsApplicationErrors, e as BulkCreateParticipantsForAllMembersOptions, f as BulkCreateParticipantsForAllMembersResponse, I as IssueCertificateOptions, g as IssueCertificateResponse, h as IssueCertificateApplicationErrors, G as GetCertificateDownloadUrlResponse, i as GetCertificateDownloadUrlApplicationErrors, j as GetPremiumStatsResponse, k as GetParticipationStatsResponse, l as GetParticipantOptions, m as GetAccessStatusResponse, n as BulkUpdateParticipantTagsOptions, o as BulkUpdateParticipantTagsResponse, p as BulkUpdateParticipantTagsApplicationErrors, q as BulkUpdateParticipantTagsByFilterOptions, r as BulkUpdateParticipantTagsByFilterResponse, s as BulkUpdateParticipantTagsByFilterApplicationErrors, t as ParticipantSearch, S as SearchParticipantsOptions, u as SearchParticipantsResponse, v as ParticipantCompletedProgramEnvelope, w as ParticipantCreatedEnvelope, x as ParticipantDeletedEnvelope, y as ParticipantLeftEnvelope, z as ParticipantMissedProgramDeadlineEnvelope, A as ParticipantProgramDurationEndedEnvelope, D as ParticipantRemovedEnvelope, E as ParticipantTagsModifiedEnvelope, F as ParticipantUpdatedEnvelope, H as ParticipantQuery, Q as QueryParticipantsOptions, J as typedQueryParticipants, K as ParticipantsQueryBuilder } from './online-programs-participants-v3-participant-participants.universal-
|
|
3
|
-
export {
|
|
2
|
+
import { P as Participant, C as CreateParticipantOptions, a as CreateParticipantApplicationErrors, U as UpdateParticipant, b as UpdateParticipantOptions, B as BulkCreateParticipantsOptions, c as BulkCreateParticipantsResponse, d as BulkCreateParticipantsApplicationErrors, e as BulkCreateParticipantsForAllMembersOptions, f as BulkCreateParticipantsForAllMembersResponse, I as IssueCertificateOptions, g as IssueCertificateResponse, h as IssueCertificateApplicationErrors, G as GetCertificateDownloadUrlResponse, i as GetCertificateDownloadUrlApplicationErrors, j as GetPremiumStatsResponse, k as GetParticipationStatsResponse, l as GetParticipantOptions, m as GetAccessStatusResponse, n as BulkUpdateParticipantTagsOptions, o as BulkUpdateParticipantTagsResponse, p as BulkUpdateParticipantTagsApplicationErrors, q as BulkUpdateParticipantTagsByFilterOptions, r as BulkUpdateParticipantTagsByFilterResponse, s as BulkUpdateParticipantTagsByFilterApplicationErrors, t as ParticipantSearch, S as SearchParticipantsOptions, u as SearchParticipantsResponse, v as ParticipantCompletedProgramEnvelope, w as ParticipantCreatedEnvelope, x as ParticipantDeletedEnvelope, y as ParticipantLeftEnvelope, z as ParticipantMissedProgramDeadlineEnvelope, A as ParticipantProgramDurationEndedEnvelope, D as ParticipantRemovedEnvelope, E as ParticipantTagsModifiedEnvelope, F as ParticipantUpdatedEnvelope, H as ParticipantQuery, Q as QueryParticipantsOptions, J as typedQueryParticipants, K as ParticipantsQueryBuilder } from './online-programs-participants-v3-participant-participants.universal-C37s4ZVe.mjs';
|
|
3
|
+
export { bU as AccountInfo, bZ as AccountInfoMetadata, bP as ActionEvent, b8 as Aggregation, bo as AggregationData, b9 as AggregationKindOneOf, bH as AggregationResults, bI as AggregationResultsResultOneOf, bv as AggregationResultsScalarResult, a0 as AggregationType, cf as AggregationTypeWithLiterals, aw as ApplicationError, bX as BaseEventMetadata, ax as BulkActionMetadata, T as BulkActionType, c7 as BulkActionTypeWithLiterals, aI as BulkCreateParticipantsForAllMembersRequest, at as BulkCreateParticipantsRequest, aB as BulkParticipantMigrationResult, au as BulkParticipantResult, b4 as BulkUpdateParticipantTagsByFilterRequest, b2 as BulkUpdateParticipantTagsRequest, b3 as BulkUpdateParticipantTagsResult, ay as BulkUpsertParticipantsMigrationRequest, aA as BulkUpsertParticipantsMigrationResponse, a7 as CertificateInfo, ci as CommonQueryWithEntityContext, cj as CommonSearchWithEntityContext, ap as CreateParticipantRequest, aq as CreateParticipantResponse, aZ as CursorPaging, bn as CursorPagingMetadata, b6 as CursorSearch, b7 as CursorSearchPagingMethodOneOf, b0 as Cursors, bg as DateHistogramAggregation, bD as DateHistogramResult, bF as DateHistogramResults, ah as Delete, aC as DeleteAllParticipantsMigrationRequest, aD as DeleteAllParticipantsMigrationResponse, aJ as DeleteParticipantRequest, aK as DeleteParticipantResponse, bJ as DomainEvent, bK as DomainEventBodyOneOf, bQ as Empty, a9 as EnrollmentInfo, aa as EnrollmentInfoPricingTypeDetailsOneOf, M as EnrollmentStatus, c3 as EnrollmentStatusWithLiterals, bL as EntityCreatedEvent, bO as EntityDeletedEvent, bN as EntityUpdatedEvent, bY as EventMetadata, bV as ExportParticipantsStatsRequest, bW as ExportParticipantsStatsResponse, ab as ExtendedFields, a5 as FreeCouponDetails, b1 as GetAccessStatusRequest, aM as GetCertificateDownloadUrlRequest, aN as GetCompletionStatsRequest, aO as GetCompletionStatsResponse, aS as GetParticipantRequest, aT as GetParticipantResponse, aQ as GetParticipationStatsRequest, aP as GetPremiumStatsRequest, bk as GroupByAggregation, bl as GroupByAggregationKindOneOf, bE as GroupByValueResults, bS as IdentificationData, bT as IdentificationDataIdOneOf, bb as IncludeMissingValuesOptions, $ as Interval, ce as IntervalWithLiterals, aL as IssueCertificateRequest, av as ItemMetadata, a8 as Member, bR as MessageEnvelope, Y as MissingValues, cb as MissingValuesWithLiterals, a1 as Mode, cg as ModeWithLiterals, bj as NestedAggregation, bh as NestedAggregationItem, bi as NestedAggregationItemKindOneOf, br as NestedAggregationResults, bs as NestedAggregationResultsResultOneOf, _ as NestedAggregationType, cd as NestedAggregationTypeWithLiterals, bA as NestedResultValue, bB as NestedResultValueResultOneOf, bG as NestedResults, bw as NestedValueAggregationResult, aY as Paging, a$ as PagingMetadataV2, a4 as PaidPlanDetails, ak as ParticipantCompletedProgram, ao as ParticipantLeft, az as ParticipantMigration, al as ParticipantMissedProgramDeadline, am as ParticipantProgramDurationEnded, b$ as ParticipantQuerySpec, an as ParticipantRemoved, c0 as ParticipantSearchSpec, aj as ParticipantTagsModified, b_ as ParticipantsQueryResult, L as PricingType, c2 as PricingTypeWithLiterals, aR as ProgramParticipationStats, a6 as Progress, N as ProgressStatus, c4 as ProgressStatusWithLiterals, aU as QueryParticipantsRequest, a_ as QueryParticipantsResponse, aV as QueryV2, aW as QueryV2PagingMethodOneOf, be as RangeAggregation, bq as RangeAggregationResult, ba as RangeBucket, by as RangeResult, bu as RangeResults, ae as ReindexMessage, af as ReindexMessageActionOneOf, aE as ReindexParticipantsSearchRequest, aF as ReindexParticipantsSearchResponse, R as RemovalReason, c5 as RemovalReasonWithLiterals, O as RequestedFields, c6 as RequestedFieldsWithLiterals, bM as RestoreInfo, bC as Results, bf as ScalarAggregation, bz as ScalarResult, Z as ScalarType, cc as ScalarTypeWithLiterals, ai as Schema, bm as SearchDetails, b5 as SearchParticipantsRequest, a3 as SinglePaymentDetails, X as SortDirection, ca as SortDirectionWithLiterals, V as SortOrder, c8 as SortOrderWithLiterals, W as SortType, c9 as SortTypeWithLiterals, aX as Sorting, aG as SynchronizeTimeCapsuleTasksRequest, aH as SynchronizeTimeCapsuleTasksResponse, ad as TagList, ac as Tags, ar as UpdateParticipantRequest, as as UpdateParticipantResponse, ag as Upsert, bc as ValueAggregation, bd as ValueAggregationOptionsOneOf, bp as ValueAggregationResult, bx as ValueResult, bt as ValueResults, a2 as WebhookIdentityType, ch as WebhookIdentityTypeWithLiterals, c1 as utils } from './online-programs-participants-v3-participant-participants.universal-C37s4ZVe.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createParticipant$1(httpClient: HttpClient): CreateParticipantSignature;
|
|
6
6
|
interface CreateParticipantSignature {
|
package/build/es/index.mjs
CHANGED
|
@@ -731,6 +731,10 @@ var ProgressStatus = /* @__PURE__ */ ((ProgressStatus2) => {
|
|
|
731
731
|
ProgressStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
732
732
|
return ProgressStatus2;
|
|
733
733
|
})(ProgressStatus || {});
|
|
734
|
+
var RemovalReason = /* @__PURE__ */ ((RemovalReason2) => {
|
|
735
|
+
RemovalReason2["MEMBER_DELETED"] = "MEMBER_DELETED";
|
|
736
|
+
return RemovalReason2;
|
|
737
|
+
})(RemovalReason || {});
|
|
734
738
|
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
735
739
|
RequestedFields2["PROGRESS"] = "PROGRESS";
|
|
736
740
|
return RequestedFields2;
|
|
@@ -1697,6 +1701,7 @@ export {
|
|
|
1697
1701
|
NestedAggregationType,
|
|
1698
1702
|
PricingType,
|
|
1699
1703
|
ProgressStatus,
|
|
1704
|
+
RemovalReason,
|
|
1700
1705
|
RequestedFields,
|
|
1701
1706
|
ScalarType,
|
|
1702
1707
|
SortDirection,
|