@wix/auto_sdk_online-programs_online-program-participants 1.0.14 → 1.0.16

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.
@@ -1303,19 +1303,19 @@ declare enum WebhookIdentityType {
1303
1303
  }
1304
1304
  /** @enumType */
1305
1305
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1306
- interface AccountDetails {
1306
+ interface AccountInfo {
1307
1307
  /**
1308
- * ID of the account.
1308
+ * ID of the Wix account associated with the event.
1309
1309
  * @format GUID
1310
1310
  */
1311
1311
  accountId?: string | null;
1312
1312
  /**
1313
- * ID of the parent account.
1313
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
1314
1314
  * @format GUID
1315
1315
  */
1316
1316
  parentAccountId?: string | null;
1317
1317
  /**
1318
- * ID of the site, if applicable.
1318
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
1319
1319
  * @format GUID
1320
1320
  */
1321
1321
  siteId?: string | null;
@@ -1363,6 +1363,15 @@ interface EventMetadata extends BaseEventMetadata {
1363
1363
  * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
1364
1364
  */
1365
1365
  entityEventSequence?: string | null;
1366
+ accountInfo?: AccountInfoMetadata;
1367
+ }
1368
+ interface AccountInfoMetadata {
1369
+ /** ID of the Wix account associated with the event */
1370
+ accountId: string;
1371
+ /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
1372
+ siteId?: string;
1373
+ /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
1374
+ parentAccountId?: string;
1366
1375
  }
1367
1376
  interface ParticipantDeletedEnvelope {
1368
1377
  metadata: EventMetadata;
@@ -2070,4 +2079,4 @@ interface MyProgramSectionOptions {
2070
2079
  descriptionFieldSet?: DescriptionFieldSetWithLiterals;
2071
2080
  }
2072
2081
 
2073
- export { type AccountDetails, type ActionEvent, type AddAllParticipantOptions, type AddAllParticipantRequest, type AddAllParticipantResponse, type AddParticipantOptions, type AddParticipantRequest, type AddParticipantResponse, type AddParticipantsOptions, type AddParticipantsRequest, type AddParticipantsResponse, type Added, type All, type ApplyCouponToOrderIdentifiers, type ApplyCouponToOrderOptions, type ApplyCouponToOrderRequest, type ApplyCouponToOrderResponse, type BaseEventMetadata, type Certificate, type ChallengeSection, type ChallengeStep, type ChallengeStepSettings, type Choice, ChoiceRightness, type ChoiceRightnessWithLiterals, type Choices, type Completed, type CompletionCriteria, type Container, type CreateJoinRequestOptions, type CreateJoinRequestRequest, type CreateJoinRequestResponse, type CreatePaymentOrderIdentifiers, type CreatePaymentOrderOptions, type CreatePaymentOrderRequest, type CreatePaymentOrderResponse, type DateInterval, type DeleteParticipantIdentifiers, type DeleteParticipantOptions, type DeleteParticipantRequest, type DeleteParticipantResponse, DescriptionFieldSet, type DescriptionFieldSetWithLiterals, type DomainEvent, type DomainEventBodyOneOf, DurationUnit, type DurationUnitWithLiterals, type EmbeddingSettings, type EntityCreatedEvent, type EntityDeletedEvent, type EntitySummary, type EntityUpdatedEvent, type EventMetadata, type Feedback, type FeedbackItem, type FeedbackItemChoice, type FeedbackItemSettings, type FeedbackItemType, type FeedbackItemTypeTypeOneOf, type FeedbackItemValueOneOf, type FocalPoint, type Free, type FreeCoupon, type GeneralSettings, type GeneralSettingsStepTypeOneOf, type GetCertificateIdentifiers, type GetCertificateRequest, type GetCertificateResponse, type GetMediaUploadInfoIdentifiers, type GetMediaUploadInfoOptions, type GetMediaUploadInfoRequest, type GetMediaUploadInfoResponse, type GetParticipantIdentifiers, type GetParticipantRequest, type GetParticipantResponse, type GetParticipantSectionRequest, type GetParticipantSectionResponse, type GetParticipantStepRequest, type GetParticipantStepResponse, type GetSectionIdentifiers, type GetSectionOptions, type GetStepIdentifiers, type GetStepOptions, type GroupSettings, type IdentificationData, type IdentificationDataIdOneOf, type IndividualSettings, type InvitationDetails, type InviteAllParticipantsOptions, type InviteAllParticipantsRequest, type InviteAllParticipantsResponse, type InviteParticipantsOptions, type InviteParticipantsRequest, type InviteParticipantsResponse, type IssueCertificateIdentifiers, type IssueCertificateRequest, type IssueCertificateResponse, type IssueParticipantCertificateIdentifiers, type IssueParticipantCertificateRequest, type IssueParticipantCertificateResponse, type JoinParticipantOptions, type JoinParticipantRequest, type JoinParticipantResponse, type JoinPath, type JoinPathPathOneOf, type ListParticipantSectionsRequest, type ListParticipantSectionsResponse, type ListParticipantStepsRequest, type ListParticipantStepsResponse, type ListParticipantsOptions, type ListParticipantsRequest, type ListParticipantsResponse, type ListSectionsIdentifiers, type ListSectionsOptions, type ListStepsIdentifiers, type ListStepsOptions, type MediaFeedbackItem, type MediaItem, type MediaItemMediaOneOf, type MediaItems, type Member, type MessageEnvelope, type MinThreshold, type MultipleChoiceFeedbackItem, type MyProgramRequest, type MyProgramResponse, type MyProgramSectionIdentifiers, type MyProgramSectionOptions, type MyProgramSectionRequest, type MyProgramSectionResponse, type MyProgramStepIdentifiers, type MyProgramStepOptions, type MyProgramStepRequest, type MyProgramStepResponse, type NumericFeedbackItem, type ObjectDescription, type Overdue, type Paging, type PaidPlan, type Participant, type ParticipantDeletedEnvelope, type ParticipantJoinDate, type ParticipantJoined, type ParticipantJoinedEnvelope, type ParticipantPerformance, type ParticipantSection, type ParticipantSectionStateTransition, type ParticipantSectionStateTransitionStateOneOf, type ParticipantStep, type ParticipantStepResolvedEnvelope, ParticipantStepState, type ParticipantStepStateTransition, type ParticipantStepStateWithLiterals, type ParticipantsFilter, ParticipationState, type ParticipationStateWithLiterals, PaymentType, type PaymentTypeWithLiterals, type Price, type Progress, type Quantity, type QuantityCriterion, type QuantityCriterionCriterionOneOf, type QuantityFeedbackItem, type QueryParticipantsOptions, type QueryParticipantsRequest, QueryParticipantsRequestJoinPath, type QueryParticipantsRequestJoinPathWithLiterals, type QueryParticipantsRequestSorting, QueryParticipantsRequestSortingCriterion, type QueryParticipantsRequestSortingCriterionWithLiterals, QueryParticipantsRequestSortingOrder, type QueryParticipantsRequestSortingOrderWithLiterals, type QueryParticipantsResponse, type QuizMigrationDetails, type QuizSettings, type QuizSubmission, type QuizSubmissionData, QuizType, type QuizTypeWithLiterals, type RecurrenceSchedule, type RecurrenceSettings, type RemoveCouponFromOrderIdentifiers, type RemoveCouponFromOrderOptions, type RemoveCouponFromOrderRequest, type RemoveCouponFromOrderResponse, type ResetParticipantProgressIdentifiers, type ResetParticipantProgressOptions, type ResetParticipantProgressRequest, type ResetParticipantProgressResponse, ResolutionStatus, type ResolutionStatusWithLiterals, type ResolveParticipantStepRequest, type ResolveParticipantStepResponse, type ResolveStepIdentifiers, type ResolveStepOptions, type RestoreInfo, type ReviveParticipantIdentifiers, type ReviveParticipantOptions, type ReviveParticipantRequest, type ReviveParticipantResponse, type Running, type Settings, type SinglePayment, type Sorting, SortingCriterion, type SortingCriterionWithLiterals, SortingOrder, type SortingOrderWithLiterals, type StartCondition, State, type StateTransition, type StateWithLiterals, Status, type StatusWithLiterals, type StepDependency, type StepDependencyDependencyTypeOneOf, type StepEvent, type StepId, type StepResolved, type StepsSummary, type TextFeedbackItem, type TimeDuration, type TimeInterval, type UpdateParticipantIdentifiers, type UpdateParticipantIdentifiersUpdateOneOf, type UpdateParticipantOptions, type UpdateParticipantOptionsUpdateOneOf, type UpdateParticipantRequest, type UpdateParticipantRequestUpdateOneOf, type UpdateParticipantResponse, type UpdateStepFeedbackIdentifiers, type UpdateStepFeedbackOptions, type UpdateStepFeedbackRequest, type UpdateStepFeedbackResponse, type VideoResolution, type VideoStepSettings, type VideoStepSettingsVideoSourceOneOf, type WaitingDate, type WaitingDependency, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixVideo, addAllParticipant, addParticipant, addParticipants, applyCouponToOrder, createJoinRequest, createPaymentOrder, deleteParticipant, getCertificate, getMediaUploadInfo, getParticipant, getSection, getStep, inviteAllParticipants, inviteParticipants, issueCertificate, issueParticipantCertificate, joinParticipant, listParticipants, listSections, listSteps, myProgram, myProgramSection, myProgramStep, onParticipantDeleted, onParticipantJoined, onParticipantStepResolved, queryParticipants, removeCouponFromOrder, resetParticipantProgress, resolveStep, reviveParticipant, updateParticipant, updateStepFeedback };
2082
+ export { type AccountInfo, type ActionEvent, type AddAllParticipantOptions, type AddAllParticipantRequest, type AddAllParticipantResponse, type AddParticipantOptions, type AddParticipantRequest, type AddParticipantResponse, type AddParticipantsOptions, type AddParticipantsRequest, type AddParticipantsResponse, type Added, type All, type ApplyCouponToOrderIdentifiers, type ApplyCouponToOrderOptions, type ApplyCouponToOrderRequest, type ApplyCouponToOrderResponse, type BaseEventMetadata, type Certificate, type ChallengeSection, type ChallengeStep, type ChallengeStepSettings, type Choice, ChoiceRightness, type ChoiceRightnessWithLiterals, type Choices, type Completed, type CompletionCriteria, type Container, type CreateJoinRequestOptions, type CreateJoinRequestRequest, type CreateJoinRequestResponse, type CreatePaymentOrderIdentifiers, type CreatePaymentOrderOptions, type CreatePaymentOrderRequest, type CreatePaymentOrderResponse, type DateInterval, type DeleteParticipantIdentifiers, type DeleteParticipantOptions, type DeleteParticipantRequest, type DeleteParticipantResponse, DescriptionFieldSet, type DescriptionFieldSetWithLiterals, type DomainEvent, type DomainEventBodyOneOf, DurationUnit, type DurationUnitWithLiterals, type EmbeddingSettings, type EntityCreatedEvent, type EntityDeletedEvent, type EntitySummary, type EntityUpdatedEvent, type EventMetadata, type Feedback, type FeedbackItem, type FeedbackItemChoice, type FeedbackItemSettings, type FeedbackItemType, type FeedbackItemTypeTypeOneOf, type FeedbackItemValueOneOf, type FocalPoint, type Free, type FreeCoupon, type GeneralSettings, type GeneralSettingsStepTypeOneOf, type GetCertificateIdentifiers, type GetCertificateRequest, type GetCertificateResponse, type GetMediaUploadInfoIdentifiers, type GetMediaUploadInfoOptions, type GetMediaUploadInfoRequest, type GetMediaUploadInfoResponse, type GetParticipantIdentifiers, type GetParticipantRequest, type GetParticipantResponse, type GetParticipantSectionRequest, type GetParticipantSectionResponse, type GetParticipantStepRequest, type GetParticipantStepResponse, type GetSectionIdentifiers, type GetSectionOptions, type GetStepIdentifiers, type GetStepOptions, type GroupSettings, type IdentificationData, type IdentificationDataIdOneOf, type IndividualSettings, type InvitationDetails, type InviteAllParticipantsOptions, type InviteAllParticipantsRequest, type InviteAllParticipantsResponse, type InviteParticipantsOptions, type InviteParticipantsRequest, type InviteParticipantsResponse, type IssueCertificateIdentifiers, type IssueCertificateRequest, type IssueCertificateResponse, type IssueParticipantCertificateIdentifiers, type IssueParticipantCertificateRequest, type IssueParticipantCertificateResponse, type JoinParticipantOptions, type JoinParticipantRequest, type JoinParticipantResponse, type JoinPath, type JoinPathPathOneOf, type ListParticipantSectionsRequest, type ListParticipantSectionsResponse, type ListParticipantStepsRequest, type ListParticipantStepsResponse, type ListParticipantsOptions, type ListParticipantsRequest, type ListParticipantsResponse, type ListSectionsIdentifiers, type ListSectionsOptions, type ListStepsIdentifiers, type ListStepsOptions, type MediaFeedbackItem, type MediaItem, type MediaItemMediaOneOf, type MediaItems, type Member, type MessageEnvelope, type MinThreshold, type MultipleChoiceFeedbackItem, type MyProgramRequest, type MyProgramResponse, type MyProgramSectionIdentifiers, type MyProgramSectionOptions, type MyProgramSectionRequest, type MyProgramSectionResponse, type MyProgramStepIdentifiers, type MyProgramStepOptions, type MyProgramStepRequest, type MyProgramStepResponse, type NumericFeedbackItem, type ObjectDescription, type Overdue, type Paging, type PaidPlan, type Participant, type ParticipantDeletedEnvelope, type ParticipantJoinDate, type ParticipantJoined, type ParticipantJoinedEnvelope, type ParticipantPerformance, type ParticipantSection, type ParticipantSectionStateTransition, type ParticipantSectionStateTransitionStateOneOf, type ParticipantStep, type ParticipantStepResolvedEnvelope, ParticipantStepState, type ParticipantStepStateTransition, type ParticipantStepStateWithLiterals, type ParticipantsFilter, ParticipationState, type ParticipationStateWithLiterals, PaymentType, type PaymentTypeWithLiterals, type Price, type Progress, type Quantity, type QuantityCriterion, type QuantityCriterionCriterionOneOf, type QuantityFeedbackItem, type QueryParticipantsOptions, type QueryParticipantsRequest, QueryParticipantsRequestJoinPath, type QueryParticipantsRequestJoinPathWithLiterals, type QueryParticipantsRequestSorting, QueryParticipantsRequestSortingCriterion, type QueryParticipantsRequestSortingCriterionWithLiterals, QueryParticipantsRequestSortingOrder, type QueryParticipantsRequestSortingOrderWithLiterals, type QueryParticipantsResponse, type QuizMigrationDetails, type QuizSettings, type QuizSubmission, type QuizSubmissionData, QuizType, type QuizTypeWithLiterals, type RecurrenceSchedule, type RecurrenceSettings, type RemoveCouponFromOrderIdentifiers, type RemoveCouponFromOrderOptions, type RemoveCouponFromOrderRequest, type RemoveCouponFromOrderResponse, type ResetParticipantProgressIdentifiers, type ResetParticipantProgressOptions, type ResetParticipantProgressRequest, type ResetParticipantProgressResponse, ResolutionStatus, type ResolutionStatusWithLiterals, type ResolveParticipantStepRequest, type ResolveParticipantStepResponse, type ResolveStepIdentifiers, type ResolveStepOptions, type RestoreInfo, type ReviveParticipantIdentifiers, type ReviveParticipantOptions, type ReviveParticipantRequest, type ReviveParticipantResponse, type Running, type Settings, type SinglePayment, type Sorting, SortingCriterion, type SortingCriterionWithLiterals, SortingOrder, type SortingOrderWithLiterals, type StartCondition, State, type StateTransition, type StateWithLiterals, Status, type StatusWithLiterals, type StepDependency, type StepDependencyDependencyTypeOneOf, type StepEvent, type StepId, type StepResolved, type StepsSummary, type TextFeedbackItem, type TimeDuration, type TimeInterval, type UpdateParticipantIdentifiers, type UpdateParticipantIdentifiersUpdateOneOf, type UpdateParticipantOptions, type UpdateParticipantOptionsUpdateOneOf, type UpdateParticipantRequest, type UpdateParticipantRequestUpdateOneOf, type UpdateParticipantResponse, type UpdateStepFeedbackIdentifiers, type UpdateStepFeedbackOptions, type UpdateStepFeedbackRequest, type UpdateStepFeedbackResponse, type VideoResolution, type VideoStepSettings, type VideoStepSettingsVideoSourceOneOf, type WaitingDate, type WaitingDependency, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixVideo, addAllParticipant, addParticipant, addParticipants, applyCouponToOrder, createJoinRequest, createPaymentOrder, deleteParticipant, getCertificate, getMediaUploadInfo, getParticipant, getSection, getStep, inviteAllParticipants, inviteParticipants, issueCertificate, issueParticipantCertificate, joinParticipant, listParticipants, listSections, listSteps, myProgram, myProgramSection, myProgramStep, onParticipantDeleted, onParticipantJoined, onParticipantStepResolved, queryParticipants, removeCouponFromOrder, resetParticipantProgress, resolveStep, reviveParticipant, updateParticipant, updateStepFeedback };