@wix/auto_sdk_online-programs_participants 1.0.1 → 1.0.2

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.
@@ -190,6 +190,30 @@ interface AutoRemovedOptions {
190
190
  */
191
191
  startDate?: string;
192
192
  }
193
+ interface ParticipantsBulkCompleteEvent {
194
+ /**
195
+ * Program ID
196
+ * @format GUID
197
+ */
198
+ programId?: string;
199
+ /**
200
+ * Optional cursor for the next result page
201
+ * @maxLength 16000
202
+ */
203
+ cursorNext?: string | null;
204
+ }
205
+ interface ParticipantsBulkDeleteEvent {
206
+ /**
207
+ * Program ID
208
+ * @format GUID
209
+ */
210
+ programId?: string;
211
+ /**
212
+ * Optional cursor for the next result page
213
+ * @maxLength 16000
214
+ */
215
+ cursorNext?: string | null;
216
+ }
193
217
  interface JoinProgramRequest {
194
218
  /**
195
219
  * Program to join
@@ -201,6 +225,10 @@ interface JoinProgramResponse {
201
225
  /** Created participant with corresponding state */
202
226
  participant?: Participant;
203
227
  }
228
+ interface ParticipantJoined {
229
+ /** Joined participant */
230
+ participant?: Participant;
231
+ }
204
232
  interface GetParticipantRequest {
205
233
  /**
206
234
  * Participant id to fetch
@@ -221,6 +249,37 @@ interface LeaveProgramRequest {
221
249
  }
222
250
  interface LeaveProgramResponse {
223
251
  }
252
+ interface ParticipantLeft {
253
+ /**
254
+ * Participant id who left
255
+ * @format GUID
256
+ */
257
+ participantId?: string;
258
+ /**
259
+ * Program id participant left
260
+ * @format GUID
261
+ */
262
+ programId?: string;
263
+ /**
264
+ * Participant's member id
265
+ * @format GUID
266
+ */
267
+ memberId?: string;
268
+ /** Reason for removal */
269
+ removalReason?: RemovalReasonWithLiterals;
270
+ }
271
+ declare enum RemovalReason {
272
+ /** Default for backward compatibility */
273
+ UNKNOWN_REMOVAL_REASON = "UNKNOWN_REMOVAL_REASON",
274
+ /** User-initiated leave */
275
+ LEGITIMATE_LEAVE = "LEGITIMATE_LEAVE",
276
+ /** Cleanup during rejoin flow */
277
+ CLEANUP_FOR_REJOIN = "CLEANUP_FOR_REJOIN",
278
+ /** Cleanup during manual addition */
279
+ CLEANUP_FOR_MANUAL_ADD = "CLEANUP_FOR_MANUAL_ADD"
280
+ }
281
+ /** @enumType */
282
+ type RemovalReasonWithLiterals = RemovalReason | 'UNKNOWN_REMOVAL_REASON' | 'LEGITIMATE_LEAVE' | 'CLEANUP_FOR_REJOIN' | 'CLEANUP_FOR_MANUAL_ADD';
224
283
  interface QueryParticipantsRequest {
225
284
  /** Platformized query */
226
285
  query?: CursorQuery;
@@ -333,6 +392,721 @@ interface RevertCouponRequest {
333
392
  interface RevertCouponResponse {
334
393
  total?: number;
335
394
  }
395
+ /** This webhook is triggered whenever a payment transaction is updated (including refunds) via specific [Wix Apps](https://dev.wix.com/api/rest/wix-payments/about-wix-payments). */
396
+ interface PaymentEvent extends PaymentEventEventOneOf {
397
+ /** `TRANSACTION_STATUS_CHANGED` event details. */
398
+ transactionStatusChangedEvent?: TransactionStatusChangedEvent;
399
+ /** `REFUND_STATUS_CHANGED` event details. */
400
+ refundStatusChangedEvent?: RefundStatusChangedEvent;
401
+ /**
402
+ * `RECURRING_PAYMENT_STATUS_CHANGED` event details.
403
+ * @deprecated `RECURRING_PAYMENT_STATUS_CHANGED` event details.
404
+ * @targetRemovalDate 2026-06-30
405
+ */
406
+ recurringPaymentStatusChangedEvent?: RecurringPaymentStatusChangedEvent;
407
+ /** `TRANSACTION_UPDATED` event details. */
408
+ transactionUpdatedEvent?: TransactionUpdatedEvent;
409
+ /** `TRANSACTION_CREATED` event details. */
410
+ transactionCreatedEvent?: TransactionCreatedEvent;
411
+ /**
412
+ * Unique event ID.
413
+ * @format GUID
414
+ */
415
+ id?: string;
416
+ /** Event timestamp */
417
+ eventTime?: Date | null;
418
+ /**
419
+ * ID of the [Wix app](https://dev.wix.com/docs/rest/articles/getting-started/wix-business-solutions) that triggered this event.
420
+ * @maxLength 100
421
+ */
422
+ wixAppId?: string;
423
+ /**
424
+ * Unique ID assigned to each Wix app in each site.
425
+ * @format GUID
426
+ */
427
+ wixAppInstanceId?: string;
428
+ /** Event type. */
429
+ eventType?: EventTypeWithLiterals;
430
+ /**
431
+ * ID of Wix app that mediated between Wix Payments and the Wix app that triggered the event (if relevant).
432
+ * @maxLength 100
433
+ */
434
+ managingWixAppId?: string | null;
435
+ }
436
+ /** @oneof */
437
+ interface PaymentEventEventOneOf {
438
+ /** `TRANSACTION_STATUS_CHANGED` event details. */
439
+ transactionStatusChangedEvent?: TransactionStatusChangedEvent;
440
+ /** `REFUND_STATUS_CHANGED` event details. */
441
+ refundStatusChangedEvent?: RefundStatusChangedEvent;
442
+ /**
443
+ * `RECURRING_PAYMENT_STATUS_CHANGED` event details.
444
+ * @deprecated `RECURRING_PAYMENT_STATUS_CHANGED` event details.
445
+ * @targetRemovalDate 2026-06-30
446
+ */
447
+ recurringPaymentStatusChangedEvent?: RecurringPaymentStatusChangedEvent;
448
+ /** `TRANSACTION_UPDATED` event details. */
449
+ transactionUpdatedEvent?: TransactionUpdatedEvent;
450
+ /** `TRANSACTION_CREATED` event details. */
451
+ transactionCreatedEvent?: TransactionCreatedEvent;
452
+ }
453
+ declare enum EventType {
454
+ UNDEFINED = "UNDEFINED",
455
+ /** Fired when a transaction's status changes. */
456
+ TRANSACTION_STATUS_CHANGED = "TRANSACTION_STATUS_CHANGED",
457
+ /** Fired when a refund's status changes. */
458
+ REFUND_STATUS_CHANGED = "REFUND_STATUS_CHANGED",
459
+ /** Fired when a legacy subscription's status changes. */
460
+ RECURRING_PAYMENT_STATUS_CHANGED = "RECURRING_PAYMENT_STATUS_CHANGED",
461
+ /** Fired when a transaction is updated. */
462
+ TRANSACTION_UPDATED = "TRANSACTION_UPDATED",
463
+ /** Fired when a transaction is created. */
464
+ TRANSACTION_CREATED = "TRANSACTION_CREATED"
465
+ }
466
+ /** @enumType */
467
+ type EventTypeWithLiterals = EventType | 'UNDEFINED' | 'TRANSACTION_STATUS_CHANGED' | 'REFUND_STATUS_CHANGED' | 'RECURRING_PAYMENT_STATUS_CHANGED' | 'TRANSACTION_UPDATED' | 'TRANSACTION_CREATED';
468
+ interface TransactionStatusChangedEvent {
469
+ /** Order details (limited to 30 items). */
470
+ order?: Order;
471
+ /** New transaction details. */
472
+ transaction?: Transaction;
473
+ /** Previous transaction status. */
474
+ previousStatus?: TransactionStatusWithLiterals;
475
+ }
476
+ interface Order {
477
+ id?: string;
478
+ /** Wix app order ID */
479
+ wixAppOrderId?: string;
480
+ /** Wix app buyer ID */
481
+ wixAppBuyerId?: string | null;
482
+ /** Items included in the order */
483
+ items?: OrderItem[];
484
+ /**
485
+ * total number of items in order
486
+ * items_total_count > `items`.size if `items` doesn't contain all items
487
+ */
488
+ itemsTotalCount?: number;
489
+ /** Additional charges to the order - e.g., tax, shipping or discount (optional) */
490
+ additionalCharges?: OrderAdditionalCharges;
491
+ /** Customer's shipping address (optional) */
492
+ shippingAddress?: Address;
493
+ /** Customer's shipping address details (optional) */
494
+ shippingAddressContacts?: FullAddressContactDetails;
495
+ /** Order creation date */
496
+ createdAt?: Date | null;
497
+ /** External data which is stored with the order */
498
+ externalData?: Record<string, string>;
499
+ /**
500
+ * Vertical invoice ID
501
+ * @maxLength 200
502
+ */
503
+ verticalInvoiceId?: string | null;
504
+ /** the part of total amount taken by platform from the amount sent to merchant */
505
+ platformFee?: number | null;
506
+ }
507
+ /** Item included in order */
508
+ interface OrderItem {
509
+ /** Order item ID (required) */
510
+ id?: string;
511
+ /** Order item name (required) */
512
+ name?: string;
513
+ /** Quantity (required) */
514
+ quantity?: number;
515
+ /** Total price charged for this item in the order - quantity * price (required) */
516
+ price?: number;
517
+ /** Order item description */
518
+ description?: string;
519
+ /** Weight of one item */
520
+ weightInKg?: number;
521
+ /** Whether the item is a physical a digital product */
522
+ category?: OrderItemCategoryWithLiterals;
523
+ }
524
+ /** Order item type */
525
+ declare enum OrderItemCategory {
526
+ UNDEFINED = "UNDEFINED",
527
+ /** Physical product */
528
+ PHYSICAL = "PHYSICAL",
529
+ /** Digital product */
530
+ DIGITAL = "DIGITAL"
531
+ }
532
+ /** @enumType */
533
+ type OrderItemCategoryWithLiterals = OrderItemCategory | 'UNDEFINED' | 'PHYSICAL' | 'DIGITAL';
534
+ /** Describing any additional charges in the order. They are not required, but can't be added later. */
535
+ interface OrderAdditionalCharges {
536
+ /** Absolute taxes charged to the order */
537
+ tax?: number;
538
+ /** Shipping cost charged to the order */
539
+ shipping?: number;
540
+ /** Discount amount applied to the order */
541
+ discount?: number;
542
+ /** Application fee */
543
+ applicationFee?: number;
544
+ }
545
+ /** Physical address */
546
+ interface Address extends AddressStreetOneOf {
547
+ /** Street name and number. */
548
+ streetAddress?: StreetAddress;
549
+ /** Main address line, usually street and number as free text. */
550
+ addressLine?: string | null;
551
+ /**
552
+ * Country code.
553
+ * @format COUNTRY
554
+ */
555
+ country?: string | null;
556
+ /** Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY */
557
+ subdivision?: string | null;
558
+ /** City name. */
559
+ city?: string | null;
560
+ /** Zip/postal code. */
561
+ postalCode?: string | null;
562
+ /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
563
+ addressLine2?: string | null;
564
+ }
565
+ /** @oneof */
566
+ interface AddressStreetOneOf {
567
+ /** Street name and number. */
568
+ streetAddress?: StreetAddress;
569
+ /** Main address line, usually street and number as free text. */
570
+ addressLine?: string | null;
571
+ }
572
+ interface StreetAddress {
573
+ /** Street number. */
574
+ number?: string;
575
+ /** Street name. */
576
+ name?: string;
577
+ }
578
+ interface AddressLocation {
579
+ /** Address latitude. */
580
+ latitude?: number | null;
581
+ /** Address longitude. */
582
+ longitude?: number | null;
583
+ }
584
+ interface Subdivision {
585
+ /** Short subdivision code. */
586
+ code?: string;
587
+ /** Subdivision full name. */
588
+ name?: string;
589
+ }
590
+ declare enum SubdivisionType {
591
+ UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
592
+ /** State */
593
+ ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
594
+ /** County */
595
+ ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
596
+ /** City/town */
597
+ ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
598
+ /** Neighborhood/quarter */
599
+ ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
600
+ /** Street/block */
601
+ ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
602
+ /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
603
+ COUNTRY = "COUNTRY"
604
+ }
605
+ /** @enumType */
606
+ type SubdivisionTypeWithLiterals = SubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
607
+ /** Subdivision Concordance values */
608
+ interface StandardDetails {
609
+ /**
610
+ * subdivision iso-3166-2 code according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). e.g. US-NY, GB-SCT, NO-30
611
+ * @maxLength 20
612
+ */
613
+ iso31662?: string | null;
614
+ }
615
+ /** Full contact details for an address */
616
+ interface FullAddressContactDetails {
617
+ /** Contact's first name. */
618
+ firstName?: string | null;
619
+ /** Contact's last name. */
620
+ lastName?: string | null;
621
+ /**
622
+ * Contact's phone number.
623
+ * @format PHONE
624
+ */
625
+ phone?: string | null;
626
+ /** Contact's company name. */
627
+ company?: string | null;
628
+ /**
629
+ * Email associated with the address.
630
+ * @format EMAIL
631
+ */
632
+ email?: string | null;
633
+ /** Tax info. Currently usable only in Brazil. */
634
+ vatId?: VatId;
635
+ }
636
+ interface VatId {
637
+ /** Customer's tax ID. */
638
+ id?: string;
639
+ /**
640
+ * Tax type.
641
+ *
642
+ * Supported values:
643
+ * + `CPF`: for individual tax payers
644
+ * + `CNPJ`: for corporations
645
+ */
646
+ type?: VatTypeWithLiterals;
647
+ }
648
+ /** tax info types */
649
+ declare enum VatType {
650
+ UNSPECIFIED = "UNSPECIFIED",
651
+ /** CPF - for individual tax payers. */
652
+ CPF = "CPF",
653
+ /** CNPJ - for corporations */
654
+ CNPJ = "CNPJ"
655
+ }
656
+ /** @enumType */
657
+ type VatTypeWithLiterals = VatType | 'UNSPECIFIED' | 'CPF' | 'CNPJ';
658
+ interface Transaction extends TransactionPaymentMethodDataOneOf {
659
+ creditCardPaymentMethodData?: CreditCardPaymentMethodData;
660
+ /** Transaction ID */
661
+ id?: string;
662
+ /** Provider transaction ID */
663
+ providerTransactionId?: string | null;
664
+ /** Amount and currency of transaction */
665
+ amount?: CurrencyAmount;
666
+ /** Refunded amount and currency of transaction */
667
+ refundedAmount?: CurrencyAmount;
668
+ /** Updated transaction status */
669
+ status?: TransactionStatusWithLiterals;
670
+ /** Reason provided for status change */
671
+ reasonCode?: string | null;
672
+ /** Payment method */
673
+ paymentMethod?: string;
674
+ /** Payment service provider */
675
+ paymentProvider?: string;
676
+ /** Customer's billing address (optional) */
677
+ billingAddress?: Address;
678
+ /** Customer's billing address - contact details (optional) */
679
+ billingAddressContacts?: FullAddressContactDetails;
680
+ /** Details of subscription, which (if) the transaction is a part of */
681
+ recurringPaymentDetails?: RecurringPaymentDetails;
682
+ /** The details of a payment method account. */
683
+ paymentMethodAccountInfo?: AccountInfo;
684
+ /** Transaction creation date */
685
+ createdAt?: Date | null;
686
+ /** Total number of installments */
687
+ installments?: number;
688
+ /** Scheduled action for this transaction */
689
+ scheduledAction?: ScheduledAction;
690
+ /**
691
+ * order id associated with the transaction on the vertical side
692
+ * @minLength 1
693
+ * @maxLength 100
694
+ */
695
+ verticalOrderId?: string | null;
696
+ }
697
+ /** @oneof */
698
+ interface TransactionPaymentMethodDataOneOf {
699
+ creditCardPaymentMethodData?: CreditCardPaymentMethodData;
700
+ }
701
+ interface CurrencyAmount {
702
+ /** Amount */
703
+ amount?: number;
704
+ currency?: string;
705
+ }
706
+ declare enum TransactionStatus {
707
+ UNDEFINED = "UNDEFINED",
708
+ APPROVED = "APPROVED",
709
+ PENDING = "PENDING",
710
+ PENDING_MERCHANT = "PENDING_MERCHANT",
711
+ CANCELED = "CANCELED",
712
+ DECLINED = "DECLINED",
713
+ REFUNDED = "REFUNDED",
714
+ PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
715
+ AUTHORIZED = "AUTHORIZED",
716
+ VOIDED = "VOIDED"
717
+ }
718
+ /** @enumType */
719
+ type TransactionStatusWithLiterals = TransactionStatus | 'UNDEFINED' | 'APPROVED' | 'PENDING' | 'PENDING_MERCHANT' | 'CANCELED' | 'DECLINED' | 'REFUNDED' | 'PARTIALLY_REFUNDED' | 'AUTHORIZED' | 'VOIDED';
720
+ interface RecurringPaymentDetails {
721
+ /** Current cycle number (Recurring payments only) */
722
+ cycleNumber?: number;
723
+ }
724
+ interface CreditCardPaymentMethodData {
725
+ /** Card issuing network */
726
+ network?: string;
727
+ /** Card number with only bin and last4 positions showed (non-PCI data) */
728
+ maskedCreditCard?: string;
729
+ /** Card holder's full name specified on the card. */
730
+ holderName?: string;
731
+ /** Card expiration month. */
732
+ expiryMonth?: string;
733
+ /**
734
+ * Card expiration year.
735
+ * @minLength 4
736
+ * @maxLength 4
737
+ */
738
+ expiryYear?: string | null;
739
+ /**
740
+ * Card last 4 digits.
741
+ * @minLength 4
742
+ * @maxLength 4
743
+ */
744
+ lastFourDigits?: string | null;
745
+ /**
746
+ * Card BIN (Bank Identification Number). It's the first 4-8 digits of a card number.
747
+ * @minLength 4
748
+ * @maxLength 8
749
+ */
750
+ bin?: string | null;
751
+ }
752
+ interface AccountInfo {
753
+ /**
754
+ * The email of an Account used by Payment Method
755
+ * @format EMAIL
756
+ */
757
+ email?: string | null;
758
+ }
759
+ interface ScheduledAction {
760
+ /** type of the action */
761
+ type?: ScheduledActionTypeWithLiterals;
762
+ /** the date and time of the action */
763
+ executionDate?: Date | null;
764
+ }
765
+ declare enum ScheduledActionType {
766
+ VOID = "VOID",
767
+ CAPTURE = "CAPTURE"
768
+ }
769
+ /** @enumType */
770
+ type ScheduledActionTypeWithLiterals = ScheduledActionType | 'VOID' | 'CAPTURE';
771
+ interface RefundStatusChangedEvent {
772
+ /** Order details (limited to 30 items). */
773
+ order?: Order;
774
+ /** Updated transaction details. */
775
+ transaction?: Transaction;
776
+ /** Updated refund details. */
777
+ refund?: Refund;
778
+ /** Previous refund status. */
779
+ previousStatus?: RefundStatusWithLiterals;
780
+ }
781
+ interface Refund {
782
+ id?: string;
783
+ /** Amount and currency of refund */
784
+ amount?: CurrencyAmount;
785
+ /** Updated refund status */
786
+ status?: RefundStatusWithLiterals;
787
+ /** Reason provided for status change */
788
+ reasonCode?: string | null;
789
+ /** Refund creation date */
790
+ createdAt?: Date | null;
791
+ }
792
+ declare enum RefundStatus {
793
+ UNDEFINED = "UNDEFINED",
794
+ APPROVED = "APPROVED",
795
+ PENDING = "PENDING",
796
+ DECLINED = "DECLINED"
797
+ }
798
+ /** @enumType */
799
+ type RefundStatusWithLiterals = RefundStatus | 'UNDEFINED' | 'APPROVED' | 'PENDING' | 'DECLINED';
800
+ interface RecurringPaymentStatusChangedEvent {
801
+ /** Order details(limited to 30 items). */
802
+ order?: Order;
803
+ /** Recurring payment status. */
804
+ status?: StatusWithLiterals;
805
+ /** Previous recurring payment status. */
806
+ previousStatus?: StatusWithLiterals;
807
+ /** Details of RecurringPayment cancellation (empty if `status` is not CANCELLED). */
808
+ cancellationDetails?: RecurringPaymentCancellationDetails;
809
+ }
810
+ declare enum Status {
811
+ UNDEFINED = "UNDEFINED",
812
+ PENDING = "PENDING",
813
+ ACTIVE = "ACTIVE",
814
+ CANCELLED = "CANCELLED",
815
+ FINISHED = "FINISHED",
816
+ SUSPENDED = "SUSPENDED"
817
+ }
818
+ /** @enumType */
819
+ type StatusWithLiterals = Status | 'UNDEFINED' | 'PENDING' | 'ACTIVE' | 'CANCELLED' | 'FINISHED' | 'SUSPENDED';
820
+ interface RecurringPaymentCancellationDetails {
821
+ /** Initiator of cancellation */
822
+ initiator?: InitiatorWithLiterals;
823
+ /** Successfully paid recurring cycles count before the cancellation */
824
+ paidRegularCycleCount?: number;
825
+ }
826
+ declare enum Initiator {
827
+ UNDEFINED = "UNDEFINED",
828
+ BUYER = "BUYER",
829
+ MERCHANT = "MERCHANT",
830
+ PAYMENT = "PAYMENT",
831
+ SETUP = "SETUP"
832
+ }
833
+ /** @enumType */
834
+ type InitiatorWithLiterals = Initiator | 'UNDEFINED' | 'BUYER' | 'MERCHANT' | 'PAYMENT' | 'SETUP';
835
+ interface TransactionUpdatedEvent {
836
+ /** Order details (limited to 30 items). */
837
+ order?: Order;
838
+ /** Updated transaction details. */
839
+ transaction?: Transaction;
840
+ /** Is event triggered by request to clean user data */
841
+ triggeredByAnonymizeRequest?: boolean | null;
842
+ }
843
+ interface TransactionCreatedEvent {
844
+ /** Order details (limited to 30 items). */
845
+ order?: Order;
846
+ /** Updated transaction details. */
847
+ transaction?: Transaction;
848
+ }
849
+ interface Empty {
850
+ }
851
+ interface OfflinePaymentSent {
852
+ /** Participant who started offline payment */
853
+ participant?: Participant;
854
+ }
855
+ interface PaymentFailed {
856
+ /** Participant whose payment was failed */
857
+ participant?: Participant;
858
+ }
859
+ interface SinglePaymentConfirmed {
860
+ /** Participant whose payment was confirmed */
861
+ participant?: Participant;
862
+ }
863
+ interface SinglePaymentDeclined {
864
+ /** Participant whose payment was declined */
865
+ participant?: Participant;
866
+ }
867
+ interface DomainEvent extends DomainEventBodyOneOf {
868
+ createdEvent?: EntityCreatedEvent;
869
+ updatedEvent?: EntityUpdatedEvent;
870
+ deletedEvent?: EntityDeletedEvent;
871
+ actionEvent?: ActionEvent;
872
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
873
+ id?: string;
874
+ /**
875
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
876
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
877
+ */
878
+ entityFqdn?: string;
879
+ /**
880
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
881
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
882
+ */
883
+ slug?: string;
884
+ /** ID of the entity associated with the event. */
885
+ entityId?: string;
886
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
887
+ eventTime?: Date | null;
888
+ /**
889
+ * Whether the event was triggered as a result of a privacy regulation application
890
+ * (for example, GDPR).
891
+ */
892
+ triggeredByAnonymizeRequest?: boolean | null;
893
+ /** If present, indicates the action that triggered the event. */
894
+ originatedFrom?: string | null;
895
+ /**
896
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
897
+ * 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.
898
+ */
899
+ entityEventSequence?: string | null;
900
+ }
901
+ /** @oneof */
902
+ interface DomainEventBodyOneOf {
903
+ createdEvent?: EntityCreatedEvent;
904
+ updatedEvent?: EntityUpdatedEvent;
905
+ deletedEvent?: EntityDeletedEvent;
906
+ actionEvent?: ActionEvent;
907
+ }
908
+ interface EntityCreatedEvent {
909
+ entityAsJson?: string;
910
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
911
+ restoreInfo?: RestoreInfo;
912
+ }
913
+ interface RestoreInfo {
914
+ deletedDate?: Date | null;
915
+ }
916
+ interface EntityUpdatedEvent {
917
+ /**
918
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
919
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
920
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
921
+ */
922
+ currentEntityAsJson?: string;
923
+ }
924
+ interface EntityDeletedEvent {
925
+ /** Entity that was deleted. */
926
+ deletedEntityAsJson?: string | null;
927
+ }
928
+ interface ActionEvent {
929
+ bodyAsJson?: string;
930
+ }
931
+ interface BenefitNotification {
932
+ /**
933
+ * Plan unique ID
934
+ * @format GUID
935
+ */
936
+ planId?: string;
937
+ /**
938
+ * App def ID
939
+ * @format GUID
940
+ */
941
+ appDefId?: string;
942
+ /** Current benefit details */
943
+ benefit?: Benefit;
944
+ /** Previous benefit */
945
+ prevBenefit?: Benefit;
946
+ /** Notification event */
947
+ event?: EventWithLiterals;
948
+ }
949
+ interface Benefit {
950
+ /**
951
+ * Benefit unique ID
952
+ * @format GUID
953
+ * @readonly
954
+ */
955
+ id?: string | null;
956
+ /** Benefit Type */
957
+ benefitType?: BenefitTypeWithLiterals;
958
+ /**
959
+ * Resource IDs that serves by this benefit
960
+ * @format GUID
961
+ */
962
+ resourceIds?: string[];
963
+ /** Amount of credits that provided by this benefit */
964
+ creditAmount?: number | null;
965
+ /**
966
+ * additional details related to benefit; limited to 20 entries, 20 symbols for key and 20 symbols for value
967
+ * @maxSize 20
968
+ */
969
+ customFields?: Record<string, string>;
970
+ /** return value only in case it required in the ListRequest, true means that benefit's type could be updated */
971
+ editable?: boolean | null;
972
+ /** Benefit behavior */
973
+ behavior?: Behavior;
974
+ /**
975
+ * Id of the app associated with this benefit
976
+ * @format GUID
977
+ * @readonly
978
+ */
979
+ appDefId?: string | null;
980
+ }
981
+ interface EntryPass {
982
+ }
983
+ interface Discount extends DiscountDiscountOneOf {
984
+ /**
985
+ * Fixed-rate percent off discount
986
+ * @decimalValue options { gt:0, lte:100, maxScale:2 }
987
+ */
988
+ percentOffRate?: string;
989
+ /**
990
+ * Absolute amount discount
991
+ * @decimalValue options { gt:0, maxScale:2 }
992
+ */
993
+ moneyOffAmount?: string;
994
+ }
995
+ /** @oneof */
996
+ interface DiscountDiscountOneOf {
997
+ /**
998
+ * Fixed-rate percent off discount
999
+ * @decimalValue options { gt:0, lte:100, maxScale:2 }
1000
+ */
1001
+ percentOffRate?: string;
1002
+ /**
1003
+ * Absolute amount discount
1004
+ * @decimalValue options { gt:0, maxScale:2 }
1005
+ */
1006
+ moneyOffAmount?: string;
1007
+ }
1008
+ declare enum BenefitType {
1009
+ /** Should never be used */
1010
+ UNDEFINED = "UNDEFINED",
1011
+ /** Limited benefit type */
1012
+ LIMITED = "LIMITED",
1013
+ /** Unlimited benefit type */
1014
+ UNLIMITED = "UNLIMITED"
1015
+ }
1016
+ /** @enumType */
1017
+ type BenefitTypeWithLiterals = BenefitType | 'UNDEFINED' | 'LIMITED' | 'UNLIMITED';
1018
+ interface Behavior extends BehaviorBehaviorOneOf {
1019
+ /** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */
1020
+ defaultBehavior?: EntryPass;
1021
+ /** Discount applied to paid resources */
1022
+ discount?: Discount;
1023
+ }
1024
+ /** @oneof */
1025
+ interface BehaviorBehaviorOneOf {
1026
+ /** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */
1027
+ defaultBehavior?: EntryPass;
1028
+ /** Discount applied to paid resources */
1029
+ discount?: Discount;
1030
+ }
1031
+ declare enum Event {
1032
+ Updated = "Updated",
1033
+ Deleted = "Deleted",
1034
+ Created = "Created"
1035
+ }
1036
+ /** @enumType */
1037
+ type EventWithLiterals = Event | 'Updated' | 'Deleted' | 'Created';
1038
+ interface MessageEnvelope {
1039
+ /**
1040
+ * App instance ID.
1041
+ * @format GUID
1042
+ */
1043
+ instanceId?: string | null;
1044
+ /**
1045
+ * Event type.
1046
+ * @maxLength 150
1047
+ */
1048
+ eventType?: string;
1049
+ /** The identification type and identity data. */
1050
+ identity?: IdentificationData;
1051
+ /** Stringify payload. */
1052
+ data?: string;
1053
+ }
1054
+ interface IdentificationData extends IdentificationDataIdOneOf {
1055
+ /**
1056
+ * ID of a site visitor that has not logged in to the site.
1057
+ * @format GUID
1058
+ */
1059
+ anonymousVisitorId?: string;
1060
+ /**
1061
+ * ID of a site visitor that has logged in to the site.
1062
+ * @format GUID
1063
+ */
1064
+ memberId?: string;
1065
+ /**
1066
+ * ID of a Wix user (site owner, contributor, etc.).
1067
+ * @format GUID
1068
+ */
1069
+ wixUserId?: string;
1070
+ /**
1071
+ * ID of an app.
1072
+ * @format GUID
1073
+ */
1074
+ appId?: string;
1075
+ /** @readonly */
1076
+ identityType?: WebhookIdentityTypeWithLiterals;
1077
+ }
1078
+ /** @oneof */
1079
+ interface IdentificationDataIdOneOf {
1080
+ /**
1081
+ * ID of a site visitor that has not logged in to the site.
1082
+ * @format GUID
1083
+ */
1084
+ anonymousVisitorId?: string;
1085
+ /**
1086
+ * ID of a site visitor that has logged in to the site.
1087
+ * @format GUID
1088
+ */
1089
+ memberId?: string;
1090
+ /**
1091
+ * ID of a Wix user (site owner, contributor, etc.).
1092
+ * @format GUID
1093
+ */
1094
+ wixUserId?: string;
1095
+ /**
1096
+ * ID of an app.
1097
+ * @format GUID
1098
+ */
1099
+ appId?: string;
1100
+ }
1101
+ declare enum WebhookIdentityType {
1102
+ UNKNOWN = "UNKNOWN",
1103
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1104
+ MEMBER = "MEMBER",
1105
+ WIX_USER = "WIX_USER",
1106
+ APP = "APP"
1107
+ }
1108
+ /** @enumType */
1109
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
336
1110
  interface BulkInviteToProgramRequest {
337
1111
  /**
338
1112
  * Program to which bulk invite participants.
@@ -387,6 +1161,18 @@ interface BulkActionMetadata {
387
1161
  /** Number of failures without details because detailed failure threshold was exceeded. */
388
1162
  undetailedFailures?: number;
389
1163
  }
1164
+ interface ParticipantInvited {
1165
+ /**
1166
+ * Program to which bulk invite participants.
1167
+ * @format GUID
1168
+ */
1169
+ programId?: string;
1170
+ /**
1171
+ * Invited member to program
1172
+ * @format GUID
1173
+ */
1174
+ memberId?: string;
1175
+ }
390
1176
  interface BulkInviteAllToProgramRequest {
391
1177
  /**
392
1178
  * Program to which bulk add participants.
@@ -432,6 +1218,18 @@ interface BulkAddToProgramResult {
432
1218
  /** Added participant */
433
1219
  item?: Participant;
434
1220
  }
1221
+ interface ParticipantAdded {
1222
+ /**
1223
+ * Program ID which participant was added
1224
+ * @format GUID
1225
+ */
1226
+ programId?: string;
1227
+ /**
1228
+ * Member ID of participant on site
1229
+ * @format GUID
1230
+ */
1231
+ memberId?: string;
1232
+ }
435
1233
  interface BulkAddAllToProgramRequest {
436
1234
  /**
437
1235
  * Program to which bulk add participants.
@@ -476,6 +1274,18 @@ interface BulkApproveParticipantResult {
476
1274
  /** Approved or existing participant */
477
1275
  item?: Participant;
478
1276
  }
1277
+ interface ParticipantApproved {
1278
+ /**
1279
+ * Program ID which participant approved
1280
+ * @format GUID
1281
+ */
1282
+ programId?: string;
1283
+ /**
1284
+ * Member ID of participant approved
1285
+ * @format GUID
1286
+ */
1287
+ memberId?: string;
1288
+ }
479
1289
  interface BulkApproveAllParticipantRequest {
480
1290
  /**
481
1291
  * Program to approve all participants.
@@ -505,6 +1315,18 @@ interface DeleteParticipantRequest {
505
1315
  }
506
1316
  interface DeleteParticipantResponse {
507
1317
  }
1318
+ interface ParticipantRejected {
1319
+ /**
1320
+ * Program ID which participant rejected
1321
+ * @format GUID
1322
+ */
1323
+ programId?: string;
1324
+ /**
1325
+ * Member ID of participant rejected
1326
+ * @format GUID
1327
+ */
1328
+ memberId?: string;
1329
+ }
508
1330
  interface IssueCertificateRequest {
509
1331
  /**
510
1332
  * Participant to get certificate
@@ -539,6 +1361,17 @@ interface GetPremiumStatsResponse {
539
1361
  /** Limit of active participants on a site without premium */
540
1362
  activeParticipantsLimit?: number;
541
1363
  }
1364
+ interface CompleteParticipantRequest {
1365
+ /**
1366
+ * ID of participant
1367
+ * @format GUID
1368
+ */
1369
+ participantId?: string;
1370
+ }
1371
+ interface CompleteParticipantResponse {
1372
+ /** Updated participant */
1373
+ participant?: Participant;
1374
+ }
542
1375
  interface ExportParticipantsStatsRequest {
543
1376
  /**
544
1377
  * program id to export data from
@@ -548,6 +1381,25 @@ interface ExportParticipantsStatsRequest {
548
1381
  }
549
1382
  interface ExportParticipantsStatsResponse {
550
1383
  }
1384
+ interface ParticipantExportsFinished {
1385
+ /**
1386
+ * program id from which stats were exported
1387
+ * @format GUID
1388
+ */
1389
+ programId?: string;
1390
+ /**
1391
+ * user id of program owner
1392
+ * @format GUID
1393
+ */
1394
+ userId?: string;
1395
+ /**
1396
+ * url to download report
1397
+ * @format WEB_URL
1398
+ */
1399
+ downloadUrl?: string;
1400
+ /** days url will be downloadable */
1401
+ downloadUrlTtlDays?: number;
1402
+ }
551
1403
 
552
1404
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
553
1405
  getUrl: (context: any) => string;
@@ -596,4 +1448,4 @@ declare function exportParticipantsStats(): __PublicMethodMetaInfo<'GET', {
596
1448
  programId: string;
597
1449
  }, ExportParticipantsStatsRequest$1, ExportParticipantsStatsRequest, ExportParticipantsStatsResponse$1, ExportParticipantsStatsResponse>;
598
1450
 
599
- export { type __PublicMethodMetaInfo, applyCoupon, bulkAddAllToProgram, bulkAddToProgram, bulkApproveAllParticipant, bulkApproveParticipant, bulkInviteAllToProgram, bulkInviteToProgram, deleteParticipant, exportParticipantsStats, getAccessStatus, getCompletionStats, getParticipant, getPremiumStats, issueCertificate, joinProgram, leaveProgram, queryParticipants, revertCoupon };
1451
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressStreetOneOf as AddressStreetOneOfOriginal, type ApplicationError as ApplicationErrorOriginal, type ApplyCouponRequest as ApplyCouponRequestOriginal, type ApplyCouponResponse as ApplyCouponResponseOriginal, type AutoRemovedOptions as AutoRemovedOptionsOriginal, type BehaviorBehaviorOneOf as BehaviorBehaviorOneOfOriginal, type Behavior as BehaviorOriginal, type BenefitNotification as BenefitNotificationOriginal, type Benefit as BenefitOriginal, BenefitType as BenefitTypeOriginal, type BenefitTypeWithLiterals as BenefitTypeWithLiteralsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkAddAllToProgramRequest as BulkAddAllToProgramRequestOriginal, type BulkAddAllToProgramResponse as BulkAddAllToProgramResponseOriginal, type BulkAddToProgramRequest as BulkAddToProgramRequestOriginal, type BulkAddToProgramResponse as BulkAddToProgramResponseOriginal, type BulkAddToProgramResult as BulkAddToProgramResultOriginal, type BulkApproveAllParticipantRequest as BulkApproveAllParticipantRequestOriginal, type BulkApproveAllParticipantResponse as BulkApproveAllParticipantResponseOriginal, type BulkApproveParticipantRequest as BulkApproveParticipantRequestOriginal, type BulkApproveParticipantResponse as BulkApproveParticipantResponseOriginal, type BulkApproveParticipantResult as BulkApproveParticipantResultOriginal, type BulkInviteAllToProgramRequest as BulkInviteAllToProgramRequestOriginal, type BulkInviteAllToProgramResponse as BulkInviteAllToProgramResponseOriginal, type BulkInviteToProgramRequest as BulkInviteToProgramRequestOriginal, type BulkInviteToProgramResponse as BulkInviteToProgramResponseOriginal, type BulkInviteToProgramResult as BulkInviteToProgramResultOriginal, type Certificate as CertificateOriginal, type CompleteParticipantRequest as CompleteParticipantRequestOriginal, type CompleteParticipantResponse as CompleteParticipantResponseOriginal, type CompletedOptions as CompletedOptionsOriginal, type CreditCardPaymentMethodData as CreditCardPaymentMethodDataOriginal, type CurrencyAmount as CurrencyAmountOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DeleteParticipantRequest as DeleteParticipantRequestOriginal, type DeleteParticipantResponse as DeleteParticipantResponseOriginal, type DiscountDiscountOneOf as DiscountDiscountOneOfOriginal, type Discount as DiscountOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EntryPass as EntryPassOriginal, Event as EventOriginal, EventType as EventTypeOriginal, type EventTypeWithLiterals as EventTypeWithLiteralsOriginal, type EventWithLiterals as EventWithLiteralsOriginal, type ExportParticipantsStatsRequest as ExportParticipantsStatsRequestOriginal, type ExportParticipantsStatsResponse as ExportParticipantsStatsResponseOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FailedOptions as FailedOptionsOriginal, type FreeCouponOptions as FreeCouponOptionsOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, 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 GetPremiumStatsRequest as GetPremiumStatsRequestOriginal, type GetPremiumStatsResponse as GetPremiumStatsResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, Initiator as InitiatorOriginal, type InitiatorWithLiterals as InitiatorWithLiteralsOriginal, type IssueCertificateRequest as IssueCertificateRequestOriginal, type IssueCertificateResponse as IssueCertificateResponseOriginal, type ItemMetadata as ItemMetadataOriginal, JoinPath as JoinPathOriginal, type JoinPathWithLiterals as JoinPathWithLiteralsOriginal, type JoinProgramRequest as JoinProgramRequestOriginal, type JoinProgramResponse as JoinProgramResponseOriginal, type JoinedOptionsJoinPathOptionsOneOf as JoinedOptionsJoinPathOptionsOneOfOriginal, type JoinedOptions as JoinedOptionsOriginal, type LeaveProgramRequest as LeaveProgramRequestOriginal, type LeaveProgramResponse as LeaveProgramResponseOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type OfflinePaymentSent as OfflinePaymentSentOriginal, type OrderAdditionalCharges as OrderAdditionalChargesOriginal, OrderItemCategory as OrderItemCategoryOriginal, type OrderItemCategoryWithLiterals as OrderItemCategoryWithLiteralsOriginal, type OrderItem as OrderItemOriginal, type Order as OrderOriginal, type PaidPlanOptions as PaidPlanOptionsOriginal, type ParticipantAdded as ParticipantAddedOriginal, type ParticipantApproved as ParticipantApprovedOriginal, type ParticipantExportsFinished as ParticipantExportsFinishedOriginal, type ParticipantInvited as ParticipantInvitedOriginal, type ParticipantJoined as ParticipantJoinedOriginal, type ParticipantLeft as ParticipantLeftOriginal, type Participant as ParticipantOriginal, type ParticipantRejected as ParticipantRejectedOriginal, type ParticipantStateOptionsOneOf as ParticipantStateOptionsOneOfOriginal, type ParticipantsBulkCompleteEvent as ParticipantsBulkCompleteEventOriginal, type ParticipantsBulkDeleteEvent as ParticipantsBulkDeleteEventOriginal, type PaymentEventEventOneOf as PaymentEventEventOneOfOriginal, type PaymentEvent as PaymentEventOriginal, type PaymentFailed as PaymentFailedOriginal, type PaymentPendingOptions as PaymentPendingOptionsOriginal, type Progress as ProgressOriginal, type QueryParticipantsRequest as QueryParticipantsRequestOriginal, type QueryParticipantsResponse as QueryParticipantsResponseOriginal, type RecurringPaymentCancellationDetails as RecurringPaymentCancellationDetailsOriginal, type RecurringPaymentDetails as RecurringPaymentDetailsOriginal, type RecurringPaymentStatusChangedEvent as RecurringPaymentStatusChangedEventOriginal, type Refund as RefundOriginal, type RefundStatusChangedEvent as RefundStatusChangedEventOriginal, RefundStatus as RefundStatusOriginal, type RefundStatusWithLiterals as RefundStatusWithLiteralsOriginal, RemovalReason as RemovalReasonOriginal, type RemovalReasonWithLiterals as RemovalReasonWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type RevertCouponRequest as RevertCouponRequestOriginal, type RevertCouponResponse as RevertCouponResponseOriginal, type ScheduledAction as ScheduledActionOriginal, ScheduledActionType as ScheduledActionTypeOriginal, type ScheduledActionTypeWithLiterals as ScheduledActionTypeWithLiteralsOriginal, type SinglePaymentConfirmed as SinglePaymentConfirmedOriginal, type SinglePaymentDeclined as SinglePaymentDeclinedOriginal, type SinglePaymentOptions as SinglePaymentOptionsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type StandardDetails as StandardDetailsOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type Subdivision as SubdivisionOriginal, SubdivisionType as SubdivisionTypeOriginal, type SubdivisionTypeWithLiterals as SubdivisionTypeWithLiteralsOriginal, type SuspendedOptions as SuspendedOptionsOriginal, type TransactionCreatedEvent as TransactionCreatedEventOriginal, type Transaction as TransactionOriginal, type TransactionPaymentMethodDataOneOf as TransactionPaymentMethodDataOneOfOriginal, type TransactionStatusChangedEvent as TransactionStatusChangedEventOriginal, TransactionStatus as TransactionStatusOriginal, type TransactionStatusWithLiterals as TransactionStatusWithLiteralsOriginal, type TransactionUpdatedEvent as TransactionUpdatedEventOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, applyCoupon, bulkAddAllToProgram, bulkAddToProgram, bulkApproveAllParticipant, bulkApproveParticipant, bulkInviteAllToProgram, bulkInviteToProgram, deleteParticipant, exportParticipantsStats, getAccessStatus, getCompletionStats, getParticipant, getPremiumStats, issueCertificate, joinProgram, leaveProgram, queryParticipants, revertCoupon };