@wix/auto_sdk_online-programs_programs 1.0.2 → 1.0.3

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.
@@ -145,6 +145,16 @@ interface Image {
145
145
  */
146
146
  filename?: string | null;
147
147
  }
148
+ interface FocalPoint {
149
+ /** X-coordinate of the focal point. */
150
+ x?: number;
151
+ /** Y-coordinate of the focal point. */
152
+ y?: number;
153
+ /** crop by height */
154
+ height?: number | null;
155
+ /** crop by width */
156
+ width?: number | null;
157
+ }
148
158
  interface VideoV2 {
149
159
  /** WixMedia ID. */
150
160
  id?: string;
@@ -390,6 +400,277 @@ interface ContentSummary {
390
400
  */
391
401
  sectionCount?: number;
392
402
  }
403
+ interface UpdateDocumentsEvent extends UpdateDocumentsEventOperationOneOf {
404
+ /** insert/update documents */
405
+ update?: DocumentUpdateOperation;
406
+ /** delete by document ids */
407
+ deleteByIds?: DeleteByIdsOperation;
408
+ /** delete documents matching filter */
409
+ deleteByFilter?: DeleteByFilterOperation;
410
+ /** update documents matching filter */
411
+ updateByFilter?: UpdateByFilterOperation;
412
+ /** update only existing documents */
413
+ updateExisting?: UpdateExistingOperation;
414
+ /**
415
+ * application which owns documents
416
+ * @minLength 2
417
+ */
418
+ appDefId?: string | null;
419
+ /**
420
+ * type of the documents
421
+ * @minLength 2
422
+ */
423
+ documentType?: string | null;
424
+ /**
425
+ * language of the documents
426
+ * @minLength 2
427
+ */
428
+ language?: string | null;
429
+ /**
430
+ * site documents belong to
431
+ * @minLength 2
432
+ */
433
+ msId?: string | null;
434
+ }
435
+ /** @oneof */
436
+ interface UpdateDocumentsEventOperationOneOf {
437
+ /** insert/update documents */
438
+ update?: DocumentUpdateOperation;
439
+ /** delete by document ids */
440
+ deleteByIds?: DeleteByIdsOperation;
441
+ /** delete documents matching filter */
442
+ deleteByFilter?: DeleteByFilterOperation;
443
+ /** update documents matching filter */
444
+ updateByFilter?: UpdateByFilterOperation;
445
+ /** update only existing documents */
446
+ updateExisting?: UpdateExistingOperation;
447
+ }
448
+ interface DocumentUpdateOperation {
449
+ /** documents to index or update */
450
+ documents?: IndexDocument[];
451
+ }
452
+ interface IndexDocument {
453
+ /** data bag with non-searchable fields (url, image) */
454
+ payload?: DocumentPayload;
455
+ /** what type of users should documents be visible to */
456
+ exposure?: EnumWithLiterals;
457
+ /** document with mandatory fields (id, title, description) and with fields specific to the type of the document */
458
+ document?: Record<string, any> | null;
459
+ /** what member groups is the document exposed to. Used only with GROUP_PROTECTED exposure */
460
+ permittedMemberGroups?: string[];
461
+ /** if true SEO is disabled for this document */
462
+ seoHidden?: boolean | null;
463
+ /** if true the page is a lightbox popup */
464
+ isPopup?: boolean | null;
465
+ }
466
+ interface DocumentPayload {
467
+ /** url of the page representing the document */
468
+ url?: string | null;
469
+ /** image which represents the document */
470
+ documentImage?: DocumentImage;
471
+ }
472
+ interface DocumentImage {
473
+ /** the name of the image */
474
+ name?: string;
475
+ /** the width of the image */
476
+ width?: number;
477
+ /** the height of the image */
478
+ height?: number;
479
+ }
480
+ declare enum Enum {
481
+ /** Default value. Means that permission not set */
482
+ UNKNOWN = "UNKNOWN",
483
+ /** Protected exposure. Exposed to members and owners */
484
+ PROTECTED = "PROTECTED",
485
+ /** Private exposure. Exposed to owners */
486
+ PRIVATE = "PRIVATE",
487
+ /** Public exposure. Visible to everyone */
488
+ PUBLIC = "PUBLIC",
489
+ /** Used for partial updates, to state that exposure is not changing */
490
+ UNCHANGED = "UNCHANGED",
491
+ /** Protected to members of permitted groups and owners */
492
+ GROUP_PROTECTED = "GROUP_PROTECTED"
493
+ }
494
+ /** @enumType */
495
+ type EnumWithLiterals = Enum | 'UNKNOWN' | 'PROTECTED' | 'PRIVATE' | 'PUBLIC' | 'UNCHANGED' | 'GROUP_PROTECTED';
496
+ interface DeleteByIdsOperation {
497
+ /** ids of the documents to delete */
498
+ documentIds?: string[];
499
+ }
500
+ interface DeleteByFilterOperation {
501
+ /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */
502
+ filter?: Record<string, any> | null;
503
+ }
504
+ interface UpdateByFilterOperation {
505
+ /** documents matching this filter will be updated */
506
+ filter?: Record<string, any> | null;
507
+ /** partial document to apply */
508
+ document?: IndexDocument;
509
+ }
510
+ interface UpdateExistingOperation {
511
+ /** documents to update */
512
+ documents?: IndexDocument[];
513
+ }
514
+ interface InvalidateCache extends InvalidateCacheGetByOneOf {
515
+ /**
516
+ * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
517
+ * @format GUID
518
+ */
519
+ metaSiteId?: string;
520
+ /**
521
+ * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
522
+ * @format GUID
523
+ */
524
+ siteId?: string;
525
+ /** Invalidate by App */
526
+ app?: App;
527
+ /** Invalidate by page id */
528
+ page?: Page;
529
+ /** Invalidate by URI path */
530
+ uri?: URI;
531
+ /** Invalidate by file (for media files such as PDFs) */
532
+ file?: File;
533
+ /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
534
+ customTag?: CustomTag;
535
+ /**
536
+ * tell us why you're invalidating the cache. You don't need to add your app name
537
+ * @maxLength 256
538
+ */
539
+ reason?: string | null;
540
+ /** Is local DS */
541
+ localDc?: boolean;
542
+ hardPurge?: boolean;
543
+ }
544
+ /** @oneof */
545
+ interface InvalidateCacheGetByOneOf {
546
+ /**
547
+ * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
548
+ * @format GUID
549
+ */
550
+ metaSiteId?: string;
551
+ /**
552
+ * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!
553
+ * @format GUID
554
+ */
555
+ siteId?: string;
556
+ /** Invalidate by App */
557
+ app?: App;
558
+ /** Invalidate by page id */
559
+ page?: Page;
560
+ /** Invalidate by URI path */
561
+ uri?: URI;
562
+ /** Invalidate by file (for media files such as PDFs) */
563
+ file?: File;
564
+ /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
565
+ customTag?: CustomTag;
566
+ }
567
+ interface App {
568
+ /**
569
+ * The AppDefId
570
+ * @minLength 1
571
+ */
572
+ appDefId?: string;
573
+ /**
574
+ * The instance Id
575
+ * @format GUID
576
+ */
577
+ instanceId?: string;
578
+ }
579
+ interface Page {
580
+ /**
581
+ * the msid the page is on
582
+ * @format GUID
583
+ */
584
+ metaSiteId?: string;
585
+ /**
586
+ * Invalidate by Page ID
587
+ * @minLength 1
588
+ */
589
+ pageId?: string;
590
+ }
591
+ interface URI {
592
+ /**
593
+ * the msid the URI is on
594
+ * @format GUID
595
+ */
596
+ metaSiteId?: string;
597
+ /**
598
+ * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes
599
+ * @minLength 1
600
+ */
601
+ uriPath?: string;
602
+ }
603
+ interface File {
604
+ /**
605
+ * the msid the file is related to
606
+ * @format GUID
607
+ */
608
+ metaSiteId?: string;
609
+ /**
610
+ * Invalidate by filename (for media files such as PDFs)
611
+ * @minLength 1
612
+ * @maxLength 256
613
+ */
614
+ fileName?: string;
615
+ }
616
+ interface CustomTag {
617
+ /**
618
+ * the msid the tag is related to
619
+ * @format GUID
620
+ */
621
+ metaSiteId?: string;
622
+ /**
623
+ * Tag to invalidate by
624
+ * @minLength 1
625
+ * @maxLength 256
626
+ */
627
+ tag?: string;
628
+ }
629
+ /**
630
+ * Message for reindexing search data to a given search schema. Support both upsert and delete flows as well as
631
+ * performs context manipulation with adding tenant, provided in message to callscope.
632
+ */
633
+ interface ReindexMessage extends ReindexMessageActionOneOf {
634
+ upsert?: Upsert;
635
+ delete?: Delete;
636
+ entityFqdn?: string;
637
+ tenantId?: string;
638
+ eventTime?: Date | null;
639
+ entityEventSequence?: string | null;
640
+ schema?: Schema;
641
+ }
642
+ /** @oneof */
643
+ interface ReindexMessageActionOneOf {
644
+ upsert?: Upsert;
645
+ delete?: Delete;
646
+ }
647
+ interface Upsert {
648
+ entityId?: string;
649
+ entityAsJson?: string;
650
+ }
651
+ interface Delete {
652
+ entityId?: string;
653
+ }
654
+ interface Schema {
655
+ label?: string;
656
+ clusterName?: string;
657
+ }
658
+ interface ProgramPublished {
659
+ }
660
+ interface ProgramEnded {
661
+ /** true if ended manually by owner */
662
+ endedByOwner?: boolean;
663
+ }
664
+ interface ProgramArchived {
665
+ }
666
+ interface ProgramDuplicated {
667
+ /** Newly created program */
668
+ program?: Program;
669
+ /** Program that was duplicated */
670
+ duplicatedFrom?: Program;
671
+ /** Indicates if the program was cloned from a template */
672
+ fromTemplate?: boolean;
673
+ }
393
674
  interface CreateProgramRequest {
394
675
  /** Program to be created. */
395
676
  program: Program;
@@ -398,6 +679,44 @@ interface CreateProgramResponse {
398
679
  /** The created Program. */
399
680
  program?: Program;
400
681
  }
682
+ interface BulkCreateProgramsMigrationRequest {
683
+ /**
684
+ * List of programs you want to create
685
+ * @minSize 1
686
+ * @maxSize 100
687
+ */
688
+ programs?: ProgramMigration[];
689
+ }
690
+ interface ProgramMigration {
691
+ /** program to create */
692
+ program?: Program;
693
+ /**
694
+ * section ids in program
695
+ * @maxSize 5000
696
+ * @format GUID
697
+ */
698
+ sectionIds?: string[];
699
+ /**
700
+ * step ids in program
701
+ * @maxSize 5000
702
+ * @format GUID
703
+ */
704
+ stepIds?: string[];
705
+ }
706
+ interface BulkCreateProgramsMigrationResponse {
707
+ /** Results of bulk action. */
708
+ results?: BulkProgramResult[];
709
+ /** Metadata about whole bulk action. */
710
+ bulkActionMetadata?: BulkActionMetadata;
711
+ }
712
+ interface BulkProgramResult {
713
+ /** Metadata of item. */
714
+ itemMetadata?: ItemMetadata;
715
+ /** Item itself (empty if return_entity in request is false). */
716
+ item?: Program;
717
+ /** Action type of bulk action (INSERT OR UPDATE) for that endpoint. */
718
+ action?: BulkActionTypeWithLiterals;
719
+ }
401
720
  interface ItemMetadata {
402
721
  /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
403
722
  id?: string | null;
@@ -416,6 +735,18 @@ interface ApplicationError {
416
735
  /** Data related to the error. */
417
736
  data?: Record<string, any> | null;
418
737
  }
738
+ declare enum BulkActionType {
739
+ /** UNKNOWN_ACTION_TYPE */
740
+ UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
741
+ /** INSERT */
742
+ INSERT = "INSERT",
743
+ /** UPDATE */
744
+ UPDATE = "UPDATE",
745
+ /** DELETE */
746
+ DELETE = "DELETE"
747
+ }
748
+ /** @enumType */
749
+ type BulkActionTypeWithLiterals = BulkActionType | 'UNKNOWN_ACTION_TYPE' | 'INSERT' | 'UPDATE' | 'DELETE';
419
750
  interface BulkActionMetadata {
420
751
  /** Number of items that were successfully processed. */
421
752
  totalSuccesses?: number;
@@ -424,6 +755,10 @@ interface BulkActionMetadata {
424
755
  /** Number of failures without details because detailed failure threshold was exceeded. */
425
756
  undetailedFailures?: number;
426
757
  }
758
+ interface DeleteAllProgramsMigrationRequest {
759
+ }
760
+ interface DeleteAllProgramsMigrationResponse {
761
+ }
427
762
  interface DuplicateProgramRequest {
428
763
  /**
429
764
  * Program to be duplicated from.
@@ -454,6 +789,18 @@ interface UpdateProgramResponse {
454
789
  /** Updated Program. */
455
790
  program?: Program;
456
791
  }
792
+ interface WrongStateErrorDetails {
793
+ }
794
+ interface WrongStartDateErrorDetails {
795
+ }
796
+ interface WrongParticipantsNumberErrorDetails {
797
+ /** Participants that already joined the program */
798
+ activeParticipantsCount?: number;
799
+ }
800
+ interface DuplicatedSlugErrorDetails {
801
+ }
802
+ interface TimelineSwitchForbiddenErrorDetails {
803
+ }
457
804
  interface DeleteProgramRequest {
458
805
  /**
459
806
  * Id of the Program to delete.
@@ -1193,6 +1540,912 @@ interface LabeledProgram {
1193
1540
  */
1194
1541
  label?: string;
1195
1542
  }
1543
+ interface DomainEvent extends DomainEventBodyOneOf {
1544
+ createdEvent?: EntityCreatedEvent;
1545
+ updatedEvent?: EntityUpdatedEvent;
1546
+ deletedEvent?: EntityDeletedEvent;
1547
+ actionEvent?: ActionEvent;
1548
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1549
+ id?: string;
1550
+ /**
1551
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1552
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1553
+ */
1554
+ entityFqdn?: string;
1555
+ /**
1556
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1557
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1558
+ */
1559
+ slug?: string;
1560
+ /** ID of the entity associated with the event. */
1561
+ entityId?: string;
1562
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1563
+ eventTime?: Date | null;
1564
+ /**
1565
+ * Whether the event was triggered as a result of a privacy regulation application
1566
+ * (for example, GDPR).
1567
+ */
1568
+ triggeredByAnonymizeRequest?: boolean | null;
1569
+ /** If present, indicates the action that triggered the event. */
1570
+ originatedFrom?: string | null;
1571
+ /**
1572
+ * 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.
1573
+ * 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.
1574
+ */
1575
+ entityEventSequence?: string | null;
1576
+ }
1577
+ /** @oneof */
1578
+ interface DomainEventBodyOneOf {
1579
+ createdEvent?: EntityCreatedEvent;
1580
+ updatedEvent?: EntityUpdatedEvent;
1581
+ deletedEvent?: EntityDeletedEvent;
1582
+ actionEvent?: ActionEvent;
1583
+ }
1584
+ interface EntityCreatedEvent {
1585
+ entityAsJson?: string;
1586
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
1587
+ restoreInfo?: RestoreInfo;
1588
+ }
1589
+ interface RestoreInfo {
1590
+ deletedDate?: Date | null;
1591
+ }
1592
+ interface EntityUpdatedEvent {
1593
+ /**
1594
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1595
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1596
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1597
+ */
1598
+ currentEntityAsJson?: string;
1599
+ }
1600
+ interface EntityDeletedEvent {
1601
+ /** Entity that was deleted. */
1602
+ deletedEntityAsJson?: string | null;
1603
+ }
1604
+ interface ActionEvent {
1605
+ bodyAsJson?: string;
1606
+ }
1607
+ interface Empty {
1608
+ }
1609
+ interface ResolveProgramSlugRequest {
1610
+ /**
1611
+ * seo slug of online program.
1612
+ * @maxLength 1000
1613
+ */
1614
+ slug?: string;
1615
+ }
1616
+ interface ResolveProgramSlugResponse {
1617
+ /** @format GUID */
1618
+ programId?: string;
1619
+ }
1620
+ interface MissingMetasiteIdErrorDetails {
1621
+ }
1622
+ interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
1623
+ /** Emitted on a meta site creation. */
1624
+ siteCreated?: SiteCreated;
1625
+ /** Emitted on a meta site transfer completion. */
1626
+ siteTransferred?: SiteTransferred;
1627
+ /** Emitted on a meta site deletion. */
1628
+ siteDeleted?: SiteDeleted;
1629
+ /** Emitted on a meta site restoration. */
1630
+ siteUndeleted?: SiteUndeleted;
1631
+ /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
1632
+ sitePublished?: SitePublished;
1633
+ /** Emitted on a meta site unpublish. */
1634
+ siteUnpublished?: SiteUnpublished;
1635
+ /** Emitted when meta site is marked as template. */
1636
+ siteMarkedAsTemplate?: SiteMarkedAsTemplate;
1637
+ /** Emitted when meta site is marked as a WixSite. */
1638
+ siteMarkedAsWixSite?: SiteMarkedAsWixSite;
1639
+ /** Emitted when an application is provisioned (installed). */
1640
+ serviceProvisioned?: ServiceProvisioned;
1641
+ /** Emitted when an application is removed (uninstalled). */
1642
+ serviceRemoved?: ServiceRemoved;
1643
+ /** Emitted when meta site name (URL slug) is changed. */
1644
+ siteRenamedPayload?: SiteRenamed;
1645
+ /** Emitted when meta site was permanently deleted. */
1646
+ hardDeleted?: SiteHardDeleted;
1647
+ /** Emitted on a namespace change. */
1648
+ namespaceChanged?: NamespaceChanged;
1649
+ /** Emitted when Studio is attached. */
1650
+ studioAssigned?: StudioAssigned;
1651
+ /** Emitted when Studio is detached. */
1652
+ studioUnassigned?: StudioUnassigned;
1653
+ /**
1654
+ * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
1655
+ * the actual URL.
1656
+ *
1657
+ * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
1658
+ * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
1659
+ */
1660
+ urlChanged?: SiteUrlChanged;
1661
+ /** Site is marked as PurgedExternally */
1662
+ sitePurgedExternally?: SitePurgedExternally;
1663
+ /** Emitted when Odeditor is attached. */
1664
+ odeditorAssigned?: OdeditorAssigned;
1665
+ /** Emitted when Odeditor is detached. */
1666
+ odeditorUnassigned?: OdeditorUnassigned;
1667
+ /** Emitted when Picasso is attached. */
1668
+ picassoAssigned?: PicassoAssigned;
1669
+ /** Emitted when Picasso is detached. */
1670
+ picassoUnassigned?: PicassoUnassigned;
1671
+ /**
1672
+ * A meta site id.
1673
+ * @format GUID
1674
+ */
1675
+ metaSiteId?: string;
1676
+ /** A meta site version. Monotonically increasing. */
1677
+ version?: string;
1678
+ /** A timestamp of the event. */
1679
+ timestamp?: string;
1680
+ /**
1681
+ * TODO(meta-site): Change validation once validations are disabled for consumers
1682
+ * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659
1683
+ * @maxSize 4000
1684
+ */
1685
+ assets?: Asset[];
1686
+ }
1687
+ /** @oneof */
1688
+ interface MetaSiteSpecialEventPayloadOneOf {
1689
+ /** Emitted on a meta site creation. */
1690
+ siteCreated?: SiteCreated;
1691
+ /** Emitted on a meta site transfer completion. */
1692
+ siteTransferred?: SiteTransferred;
1693
+ /** Emitted on a meta site deletion. */
1694
+ siteDeleted?: SiteDeleted;
1695
+ /** Emitted on a meta site restoration. */
1696
+ siteUndeleted?: SiteUndeleted;
1697
+ /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
1698
+ sitePublished?: SitePublished;
1699
+ /** Emitted on a meta site unpublish. */
1700
+ siteUnpublished?: SiteUnpublished;
1701
+ /** Emitted when meta site is marked as template. */
1702
+ siteMarkedAsTemplate?: SiteMarkedAsTemplate;
1703
+ /** Emitted when meta site is marked as a WixSite. */
1704
+ siteMarkedAsWixSite?: SiteMarkedAsWixSite;
1705
+ /** Emitted when an application is provisioned (installed). */
1706
+ serviceProvisioned?: ServiceProvisioned;
1707
+ /** Emitted when an application is removed (uninstalled). */
1708
+ serviceRemoved?: ServiceRemoved;
1709
+ /** Emitted when meta site name (URL slug) is changed. */
1710
+ siteRenamedPayload?: SiteRenamed;
1711
+ /** Emitted when meta site was permanently deleted. */
1712
+ hardDeleted?: SiteHardDeleted;
1713
+ /** Emitted on a namespace change. */
1714
+ namespaceChanged?: NamespaceChanged;
1715
+ /** Emitted when Studio is attached. */
1716
+ studioAssigned?: StudioAssigned;
1717
+ /** Emitted when Studio is detached. */
1718
+ studioUnassigned?: StudioUnassigned;
1719
+ /**
1720
+ * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
1721
+ * the actual URL.
1722
+ *
1723
+ * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
1724
+ * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
1725
+ */
1726
+ urlChanged?: SiteUrlChanged;
1727
+ /** Site is marked as PurgedExternally */
1728
+ sitePurgedExternally?: SitePurgedExternally;
1729
+ /** Emitted when Odeditor is attached. */
1730
+ odeditorAssigned?: OdeditorAssigned;
1731
+ /** Emitted when Odeditor is detached. */
1732
+ odeditorUnassigned?: OdeditorUnassigned;
1733
+ /** Emitted when Picasso is attached. */
1734
+ picassoAssigned?: PicassoAssigned;
1735
+ /** Emitted when Picasso is detached. */
1736
+ picassoUnassigned?: PicassoUnassigned;
1737
+ }
1738
+ interface Asset {
1739
+ /**
1740
+ * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
1741
+ * @maxLength 36
1742
+ */
1743
+ appDefId?: string;
1744
+ /**
1745
+ * An instance id. For legacy reasons may be UUID or a string.
1746
+ * @maxLength 200
1747
+ */
1748
+ instanceId?: string;
1749
+ /** An application state. */
1750
+ state?: StateWithLiterals;
1751
+ }
1752
+ declare enum State {
1753
+ UNKNOWN = "UNKNOWN",
1754
+ ENABLED = "ENABLED",
1755
+ DISABLED = "DISABLED",
1756
+ PENDING = "PENDING",
1757
+ DEMO = "DEMO"
1758
+ }
1759
+ /** @enumType */
1760
+ type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
1761
+ interface SiteCreated {
1762
+ /**
1763
+ * A template identifier (empty if not created from a template).
1764
+ * @maxLength 36
1765
+ */
1766
+ originTemplateId?: string;
1767
+ /**
1768
+ * An account id of the owner.
1769
+ * @format GUID
1770
+ */
1771
+ ownerId?: string;
1772
+ /** A context in which meta site was created. */
1773
+ context?: SiteCreatedContextWithLiterals;
1774
+ /**
1775
+ * A meta site id from which this site was created.
1776
+ *
1777
+ * In case of a creation from a template it's a template id.
1778
+ * In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
1779
+ * @format GUID
1780
+ */
1781
+ originMetaSiteId?: string | null;
1782
+ /**
1783
+ * A meta site name (URL slug).
1784
+ * @maxLength 20
1785
+ */
1786
+ siteName?: string;
1787
+ /** A namespace. */
1788
+ namespace?: NamespaceWithLiterals;
1789
+ }
1790
+ declare enum SiteCreatedContext {
1791
+ /** A valid option, we don't expose all reasons why site might be created. */
1792
+ OTHER = "OTHER",
1793
+ /** A meta site was created from template. */
1794
+ FROM_TEMPLATE = "FROM_TEMPLATE",
1795
+ /** A meta site was created by copying of the transfferred meta site. */
1796
+ DUPLICATE_BY_SITE_TRANSFER = "DUPLICATE_BY_SITE_TRANSFER",
1797
+ /** A copy of existing meta site. */
1798
+ DUPLICATE = "DUPLICATE",
1799
+ /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
1800
+ OLD_SITE_TRANSFER = "OLD_SITE_TRANSFER",
1801
+ /** deprecated A meta site was created for Flash editor. */
1802
+ FLASH = "FLASH"
1803
+ }
1804
+ /** @enumType */
1805
+ type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
1806
+ declare enum Namespace {
1807
+ UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
1808
+ /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
1809
+ WIX = "WIX",
1810
+ /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */
1811
+ SHOUT_OUT = "SHOUT_OUT",
1812
+ /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */
1813
+ ALBUMS = "ALBUMS",
1814
+ /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */
1815
+ WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
1816
+ /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
1817
+ HOTELS = "HOTELS",
1818
+ /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
1819
+ CLUBS = "CLUBS",
1820
+ /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
1821
+ ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
1822
+ /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
1823
+ DEV_SITE = "DEV_SITE",
1824
+ /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
1825
+ LOGOS = "LOGOS",
1826
+ /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
1827
+ VIDEO_MAKER = "VIDEO_MAKER",
1828
+ /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
1829
+ PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
1830
+ /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
1831
+ DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
1832
+ /**
1833
+ * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
1834
+ *
1835
+ * Meta site with this namespace will *not* be shown in a user's site list by default.
1836
+ */
1837
+ HTML_DRAFT = "HTML_DRAFT",
1838
+ /**
1839
+ * the user-journey for Fitness users who want to start from managing their business instead of designing their website.
1840
+ * Will be accessible from Site List and will not have a website app.
1841
+ * Once the user attaches a site, the site will become a regular wixsite.
1842
+ */
1843
+ SITELESS_BUSINESS = "SITELESS_BUSINESS",
1844
+ /** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
1845
+ CREATOR_ECONOMY = "CREATOR_ECONOMY",
1846
+ /** It is to be used in the Business First efforts. */
1847
+ DASHBOARD_FIRST = "DASHBOARD_FIRST",
1848
+ /** Bookings business flow with no site. */
1849
+ ANYWHERE = "ANYWHERE",
1850
+ /** Namespace for Headless Backoffice with no editor */
1851
+ HEADLESS = "HEADLESS",
1852
+ /**
1853
+ * Namespace for master site that will exist in parent account that will be referenced by subaccounts
1854
+ * The site will be used for account level CSM feature for enterprise
1855
+ */
1856
+ ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
1857
+ /** Rise.ai Siteless account management for Gift Cards and Store Credit. */
1858
+ RISE = "RISE",
1859
+ /**
1860
+ * As part of the branded app new funnel, users now can create a meta site that will be branded app first.
1861
+ * There's a blank site behind the scene but it's blank).
1862
+ * The Mobile company will be the owner of this namespace.
1863
+ */
1864
+ BRANDED_FIRST = "BRANDED_FIRST",
1865
+ /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
1866
+ NOWNIA = "NOWNIA",
1867
+ /**
1868
+ * UGC Templates are templates that are created by users for personal use and to sale to other users.
1869
+ * The Partners company owns this namespace.
1870
+ */
1871
+ UGC_TEMPLATE = "UGC_TEMPLATE",
1872
+ /** Codux Headless Sites */
1873
+ CODUX = "CODUX",
1874
+ /** Bobb - AI Design Creator. */
1875
+ MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR",
1876
+ /**
1877
+ * Shared Blog Site is a unique single site across Enterprise account,
1878
+ * This site will hold all Blog posts related to the Marketing product.
1879
+ */
1880
+ SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
1881
+ /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
1882
+ STANDALONE_FORMS = "STANDALONE_FORMS",
1883
+ /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
1884
+ STANDALONE_EVENTS = "STANDALONE_EVENTS",
1885
+ /** MIMIR - Siteless account for MIMIR Ai Job runner. */
1886
+ MIMIR = "MIMIR",
1887
+ /** Wix Twins platform. */
1888
+ TWINS = "TWINS",
1889
+ /** Wix Nano. */
1890
+ NANO = "NANO"
1891
+ }
1892
+ /** @enumType */
1893
+ type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR' | 'TWINS' | 'NANO';
1894
+ /** Site transferred to another user. */
1895
+ interface SiteTransferred {
1896
+ /**
1897
+ * A previous owner id (user that transfers meta site).
1898
+ * @format GUID
1899
+ */
1900
+ oldOwnerId?: string;
1901
+ /**
1902
+ * A new owner id (user that accepts meta site).
1903
+ * @format GUID
1904
+ */
1905
+ newOwnerId?: string;
1906
+ }
1907
+ /** Soft deletion of the meta site. Could be restored. */
1908
+ interface SiteDeleted {
1909
+ /** A deletion context. */
1910
+ deleteContext?: DeleteContext;
1911
+ }
1912
+ interface DeleteContext {
1913
+ /** When the meta site was deleted. */
1914
+ dateDeleted?: Date | null;
1915
+ /** A status. */
1916
+ deleteStatus?: DeleteStatusWithLiterals;
1917
+ /**
1918
+ * A reason (flow).
1919
+ * @maxLength 255
1920
+ */
1921
+ deleteOrigin?: string;
1922
+ /**
1923
+ * A service that deleted it.
1924
+ * @maxLength 255
1925
+ */
1926
+ initiatorId?: string | null;
1927
+ }
1928
+ declare enum DeleteStatus {
1929
+ UNKNOWN = "UNKNOWN",
1930
+ TRASH = "TRASH",
1931
+ DELETED = "DELETED",
1932
+ PENDING_PURGE = "PENDING_PURGE",
1933
+ PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
1934
+ }
1935
+ /** @enumType */
1936
+ type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
1937
+ /** Restoration of the meta site. */
1938
+ interface SiteUndeleted {
1939
+ }
1940
+ /** First publish of a meta site. Or subsequent publish after unpublish. */
1941
+ interface SitePublished {
1942
+ }
1943
+ interface SiteUnpublished {
1944
+ /**
1945
+ * A list of URLs previously associated with the meta site.
1946
+ * @maxLength 4000
1947
+ * @maxSize 10000
1948
+ */
1949
+ urls?: string[];
1950
+ }
1951
+ interface SiteMarkedAsTemplate {
1952
+ }
1953
+ interface SiteMarkedAsWixSite {
1954
+ }
1955
+ /**
1956
+ * Represents a service provisioned a site.
1957
+ *
1958
+ * Note on `origin_instance_id`:
1959
+ * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.
1960
+ * This is because of the following scenario:
1961
+ *
1962
+ * Imagine you have a template where a third-party application (TPA) includes some stub data,
1963
+ * such as a product catalog. When you create a site from this template, you inherit this
1964
+ * default product catalog. However, if the template's product catalog is modified,
1965
+ * your site will retain the catalog as it was at the time of site creation. This ensures that
1966
+ * your site remains consistent with what you initially received and does not include any
1967
+ * changes made to the original template afterward.
1968
+ * To ensure this, the TPA on the template gets a new instance_id.
1969
+ */
1970
+ interface ServiceProvisioned {
1971
+ /**
1972
+ * Either UUID or EmbeddedServiceType.
1973
+ * @maxLength 36
1974
+ */
1975
+ appDefId?: string;
1976
+ /**
1977
+ * Not only UUID. Something here could be something weird.
1978
+ * @maxLength 36
1979
+ */
1980
+ instanceId?: string;
1981
+ /**
1982
+ * An instance id from which this instance is originated.
1983
+ * @maxLength 36
1984
+ */
1985
+ originInstanceId?: string;
1986
+ /**
1987
+ * A version.
1988
+ * @maxLength 500
1989
+ */
1990
+ version?: string | null;
1991
+ /**
1992
+ * The origin meta site id
1993
+ * @format GUID
1994
+ */
1995
+ originMetaSiteId?: string | null;
1996
+ }
1997
+ interface ServiceRemoved {
1998
+ /**
1999
+ * Either UUID or EmbeddedServiceType.
2000
+ * @maxLength 36
2001
+ */
2002
+ appDefId?: string;
2003
+ /**
2004
+ * Not only UUID. Something here could be something weird.
2005
+ * @maxLength 36
2006
+ */
2007
+ instanceId?: string;
2008
+ /**
2009
+ * A version.
2010
+ * @maxLength 500
2011
+ */
2012
+ version?: string | null;
2013
+ }
2014
+ /** Rename of the site. Meaning, free public url has been changed as well. */
2015
+ interface SiteRenamed {
2016
+ /**
2017
+ * A new meta site name (URL slug).
2018
+ * @maxLength 20
2019
+ */
2020
+ newSiteName?: string;
2021
+ /**
2022
+ * A previous meta site name (URL slug).
2023
+ * @maxLength 255
2024
+ */
2025
+ oldSiteName?: string;
2026
+ }
2027
+ /**
2028
+ * Hard deletion of the meta site.
2029
+ *
2030
+ * Could not be restored. Therefore it's desirable to cleanup data.
2031
+ */
2032
+ interface SiteHardDeleted {
2033
+ /** A deletion context. */
2034
+ deleteContext?: DeleteContext;
2035
+ }
2036
+ interface NamespaceChanged {
2037
+ /** A previous namespace. */
2038
+ oldNamespace?: NamespaceWithLiterals;
2039
+ /** A new namespace. */
2040
+ newNamespace?: NamespaceWithLiterals;
2041
+ }
2042
+ /** Assigned Studio editor */
2043
+ interface StudioAssigned {
2044
+ }
2045
+ /** Unassigned Studio editor */
2046
+ interface StudioUnassigned {
2047
+ }
2048
+ /**
2049
+ * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.
2050
+ *
2051
+ * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up
2052
+ * with sites and its urls, you need to listen to another topic/event. Read about it:
2053
+ *
2054
+ * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service
2055
+ */
2056
+ interface SiteUrlChanged {
2057
+ }
2058
+ /**
2059
+ * Used at the end of the deletion flow for both draft sites and when a user deletes a site.
2060
+ * Consumed by other teams to remove relevant data.
2061
+ */
2062
+ interface SitePurgedExternally {
2063
+ /**
2064
+ * @maxLength 2048
2065
+ * @maxSize 100
2066
+ * @deprecated
2067
+ * @targetRemovalDate 2025-04-15
2068
+ */
2069
+ appDefId?: string[];
2070
+ }
2071
+ /** Assigned Odeditor */
2072
+ interface OdeditorAssigned {
2073
+ }
2074
+ /** Unassigned Odeditor */
2075
+ interface OdeditorUnassigned {
2076
+ }
2077
+ /** Assigned Picasso editor */
2078
+ interface PicassoAssigned {
2079
+ }
2080
+ /** Unassigned Picasso */
2081
+ interface PicassoUnassigned {
2082
+ }
2083
+ interface SearchIndexingNotification {
2084
+ /** new state of indexing for the site specified in ms_id */
2085
+ indexState?: SearchIndexingNotificationStateWithLiterals;
2086
+ /** type of the document the notification is targeted for. Applies to all types if not provided */
2087
+ documentType?: string | null;
2088
+ /** languaInternalDocumentUpdateByFilterOperationge the notification is targeted for. Applies to all languages if not provided */
2089
+ language?: string | null;
2090
+ /**
2091
+ * site for which notification is targeted
2092
+ * @minLength 2
2093
+ */
2094
+ msId?: string | null;
2095
+ }
2096
+ declare enum SearchIndexingNotificationState {
2097
+ /** default state */
2098
+ Unknown = "Unknown",
2099
+ /** metasite does not require site search indexing */
2100
+ Off = "Off",
2101
+ /** metasite requires site search indexing */
2102
+ On = "On"
2103
+ }
2104
+ /** @enumType */
2105
+ type SearchIndexingNotificationStateWithLiterals = SearchIndexingNotificationState | 'Unknown' | 'Off' | 'On';
2106
+ /** Encapsulates all changes when site properties are updated */
2107
+ interface SitePropertiesUpdated {
2108
+ /** ID of the Wix site that has been updated. */
2109
+ metasiteId?: string;
2110
+ /** Update details. */
2111
+ event?: SitePropertiesEvent;
2112
+ }
2113
+ /** The actual update event for a particular notification. */
2114
+ interface SitePropertiesEvent {
2115
+ /** Version of the site's properties represented by this update. */
2116
+ version?: number;
2117
+ /** Set of properties that were updated - corresponds to the fields in "properties". */
2118
+ fields?: string[];
2119
+ /** Updated properties. */
2120
+ properties?: Properties;
2121
+ }
2122
+ interface Properties {
2123
+ /** Site categories. */
2124
+ categories?: Categories;
2125
+ /** Site locale. */
2126
+ locale?: Locale;
2127
+ /**
2128
+ * Site language.
2129
+ *
2130
+ * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
2131
+ */
2132
+ language?: string | null;
2133
+ /**
2134
+ * Site currency format used to bill customers.
2135
+ *
2136
+ * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
2137
+ */
2138
+ paymentCurrency?: string | null;
2139
+ /** Timezone in `America/New_York` format. */
2140
+ timeZone?: string | null;
2141
+ /** Email address. */
2142
+ email?: string | null;
2143
+ /** Phone number. */
2144
+ phone?: string | null;
2145
+ /** Fax number. */
2146
+ fax?: string | null;
2147
+ /** Address. */
2148
+ address?: Address;
2149
+ /** Site display name. */
2150
+ siteDisplayName?: string | null;
2151
+ /** Business name. */
2152
+ businessName?: string | null;
2153
+ /** Path to the site's logo in Wix Media (without Wix Media base URL). */
2154
+ logo?: string | null;
2155
+ /** Site description. */
2156
+ description?: string | null;
2157
+ /**
2158
+ * Business schedule. Regular and exceptional time periods when the business is open or the service is available.
2159
+ *
2160
+ * __Note:__ Not supported by Wix Bookings.
2161
+ */
2162
+ businessSchedule?: BusinessSchedule;
2163
+ /** Supported languages of a site and the primary language. */
2164
+ multilingual?: Multilingual;
2165
+ /** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
2166
+ consentPolicy?: ConsentPolicy;
2167
+ /**
2168
+ * Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
2169
+ *
2170
+ * Site business type.
2171
+ */
2172
+ businessConfig?: string | null;
2173
+ /** External site URL that uses Wix as its headless business solution. */
2174
+ externalSiteUrl?: string | null;
2175
+ /** Track clicks analytics. */
2176
+ trackClicksAnalytics?: boolean;
2177
+ }
2178
+ interface Categories {
2179
+ /** Primary site category. */
2180
+ primary?: string;
2181
+ /**
2182
+ * Secondary site category.
2183
+ * @maxSize 50
2184
+ */
2185
+ secondary?: string[];
2186
+ /** Business Term Id */
2187
+ businessTermId?: string | null;
2188
+ }
2189
+ interface Locale {
2190
+ /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
2191
+ languageCode?: string;
2192
+ /** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */
2193
+ country?: string;
2194
+ }
2195
+ interface Address {
2196
+ /** Street name. */
2197
+ street?: string;
2198
+ /** City name. */
2199
+ city?: string;
2200
+ /** Two-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */
2201
+ country?: string;
2202
+ /** State. */
2203
+ state?: string;
2204
+ /**
2205
+ * Zip or postal code.
2206
+ * @maxLength 20
2207
+ */
2208
+ zip?: string;
2209
+ /** Extra information to be displayed in the address. */
2210
+ hint?: AddressHint;
2211
+ /** Whether this address represents a physical location. */
2212
+ isPhysical?: boolean;
2213
+ /** Google-formatted version of this address. */
2214
+ googleFormattedAddress?: string;
2215
+ /** Street number. */
2216
+ streetNumber?: string;
2217
+ /** Apartment number. */
2218
+ apartmentNumber?: string;
2219
+ /** Geographic coordinates of location. */
2220
+ coordinates?: GeoCoordinates;
2221
+ }
2222
+ /**
2223
+ * Extra information on displayed addresses.
2224
+ * This is used for display purposes. Used to add additional data about the address, such as "In the passage".
2225
+ * Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
2226
+ */
2227
+ interface AddressHint {
2228
+ /** Extra text displayed next to, or instead of, the actual address. */
2229
+ text?: string;
2230
+ /** Where the extra text should be displayed. */
2231
+ placement?: PlacementTypeWithLiterals;
2232
+ }
2233
+ /** Where the extra text should be displayed: before, after or instead of the actual address. */
2234
+ declare enum PlacementType {
2235
+ BEFORE = "BEFORE",
2236
+ AFTER = "AFTER",
2237
+ REPLACE = "REPLACE"
2238
+ }
2239
+ /** @enumType */
2240
+ type PlacementTypeWithLiterals = PlacementType | 'BEFORE' | 'AFTER' | 'REPLACE';
2241
+ /** Geocoordinates for a particular address. */
2242
+ interface GeoCoordinates {
2243
+ /** Latitude of the location. Must be between -90 and 90. */
2244
+ latitude?: number;
2245
+ /** Longitude of the location. Must be between -180 and 180. */
2246
+ longitude?: number;
2247
+ }
2248
+ /** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
2249
+ interface BusinessSchedule {
2250
+ /**
2251
+ * Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
2252
+ * @maxSize 100
2253
+ */
2254
+ periods?: TimePeriod[];
2255
+ /**
2256
+ * Exceptions to the business's regular hours. The business can be open or closed during the exception.
2257
+ * @maxSize 100
2258
+ */
2259
+ specialHourPeriod?: SpecialHourPeriod[];
2260
+ }
2261
+ /** Weekly recurring time periods when the business is regularly open or the service is available. */
2262
+ interface TimePeriod {
2263
+ /** Day of the week the period starts on. */
2264
+ openDay?: DayOfWeekWithLiterals;
2265
+ /**
2266
+ * Time the period starts in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
2267
+ * midnight at the end of the specified day.
2268
+ */
2269
+ openTime?: string;
2270
+ /** Day of the week the period ends on. */
2271
+ closeDay?: DayOfWeekWithLiterals;
2272
+ /**
2273
+ * Time the period ends in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
2274
+ * midnight at the end of the specified day.
2275
+ *
2276
+ * __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.
2277
+ */
2278
+ closeTime?: string;
2279
+ }
2280
+ /** Enumerates the days of the week. */
2281
+ declare enum DayOfWeek {
2282
+ MONDAY = "MONDAY",
2283
+ TUESDAY = "TUESDAY",
2284
+ WEDNESDAY = "WEDNESDAY",
2285
+ THURSDAY = "THURSDAY",
2286
+ FRIDAY = "FRIDAY",
2287
+ SATURDAY = "SATURDAY",
2288
+ SUNDAY = "SUNDAY"
2289
+ }
2290
+ /** @enumType */
2291
+ type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
2292
+ /** Exception to the business's regular hours. The business can be open or closed during the exception. */
2293
+ interface SpecialHourPeriod {
2294
+ /** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
2295
+ startDate?: string;
2296
+ /** End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
2297
+ endDate?: string;
2298
+ /**
2299
+ * Whether the business is closed (or the service is not available) during the exception.
2300
+ *
2301
+ * Default: `true`.
2302
+ */
2303
+ isClosed?: boolean;
2304
+ /** Additional info about the exception. For example, "We close earlier on New Year's Eve." */
2305
+ comment?: string;
2306
+ }
2307
+ interface Multilingual {
2308
+ /**
2309
+ * Supported languages list.
2310
+ * @maxSize 200
2311
+ */
2312
+ supportedLanguages?: SupportedLanguage[];
2313
+ /** Whether to redirect to user language. */
2314
+ autoRedirect?: boolean;
2315
+ }
2316
+ interface SupportedLanguage {
2317
+ /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
2318
+ languageCode?: string;
2319
+ /** Locale. */
2320
+ locale?: Locale;
2321
+ /** Whether the supported language is the primary language for the site. */
2322
+ isPrimary?: boolean;
2323
+ /** Language icon. */
2324
+ countryCode?: string;
2325
+ /** How the language will be resolved. For internal use. */
2326
+ resolutionMethod?: ResolutionMethodWithLiterals;
2327
+ /** Whether the supported language is the primary language for site visitors. */
2328
+ isVisitorPrimary?: boolean | null;
2329
+ }
2330
+ declare enum ResolutionMethod {
2331
+ QUERY_PARAM = "QUERY_PARAM",
2332
+ SUBDOMAIN = "SUBDOMAIN",
2333
+ SUBDIRECTORY = "SUBDIRECTORY"
2334
+ }
2335
+ /** @enumType */
2336
+ type ResolutionMethodWithLiterals = ResolutionMethod | 'QUERY_PARAM' | 'SUBDOMAIN' | 'SUBDIRECTORY';
2337
+ interface ConsentPolicy {
2338
+ /** Whether the site uses cookies that are essential to site operation. Always `true`. */
2339
+ essential?: boolean | null;
2340
+ /** Whether the site uses cookies that affect site performance and other functional measurements. */
2341
+ functional?: boolean | null;
2342
+ /** Whether the site uses cookies that collect analytics about how the site is used (in order to improve it). */
2343
+ analytics?: boolean | null;
2344
+ /** Whether the site uses cookies that collect information allowing better customization of the experience for a current visitor. */
2345
+ advertising?: boolean | null;
2346
+ /** CCPA compliance flag. */
2347
+ dataToThirdParty?: boolean | null;
2348
+ }
2349
+ interface MessageEnvelope {
2350
+ /**
2351
+ * App instance ID.
2352
+ * @format GUID
2353
+ */
2354
+ instanceId?: string | null;
2355
+ /**
2356
+ * Event type.
2357
+ * @maxLength 150
2358
+ */
2359
+ eventType?: string;
2360
+ /** The identification type and identity data. */
2361
+ identity?: IdentificationData;
2362
+ /** Stringify payload. */
2363
+ data?: string;
2364
+ }
2365
+ interface IdentificationData extends IdentificationDataIdOneOf {
2366
+ /**
2367
+ * ID of a site visitor that has not logged in to the site.
2368
+ * @format GUID
2369
+ */
2370
+ anonymousVisitorId?: string;
2371
+ /**
2372
+ * ID of a site visitor that has logged in to the site.
2373
+ * @format GUID
2374
+ */
2375
+ memberId?: string;
2376
+ /**
2377
+ * ID of a Wix user (site owner, contributor, etc.).
2378
+ * @format GUID
2379
+ */
2380
+ wixUserId?: string;
2381
+ /**
2382
+ * ID of an app.
2383
+ * @format GUID
2384
+ */
2385
+ appId?: string;
2386
+ /** @readonly */
2387
+ identityType?: WebhookIdentityTypeWithLiterals;
2388
+ }
2389
+ /** @oneof */
2390
+ interface IdentificationDataIdOneOf {
2391
+ /**
2392
+ * ID of a site visitor that has not logged in to the site.
2393
+ * @format GUID
2394
+ */
2395
+ anonymousVisitorId?: string;
2396
+ /**
2397
+ * ID of a site visitor that has logged in to the site.
2398
+ * @format GUID
2399
+ */
2400
+ memberId?: string;
2401
+ /**
2402
+ * ID of a Wix user (site owner, contributor, etc.).
2403
+ * @format GUID
2404
+ */
2405
+ wixUserId?: string;
2406
+ /**
2407
+ * ID of an app.
2408
+ * @format GUID
2409
+ */
2410
+ appId?: string;
2411
+ }
2412
+ declare enum WebhookIdentityType {
2413
+ UNKNOWN = "UNKNOWN",
2414
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
2415
+ MEMBER = "MEMBER",
2416
+ WIX_USER = "WIX_USER",
2417
+ APP = "APP"
2418
+ }
2419
+ /** @enumType */
2420
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
2421
+ /** @docsIgnore */
2422
+ type UpdateProgramApplicationErrors = {
2423
+ code?: 'WRONG_STATE';
2424
+ description?: string;
2425
+ data?: WrongStateErrorDetails;
2426
+ } | {
2427
+ code?: 'WRONG_START_DATE';
2428
+ description?: string;
2429
+ data?: WrongStartDateErrorDetails;
2430
+ } | {
2431
+ code?: 'WRONG_PARTICIPANTS_NUMBER';
2432
+ description?: string;
2433
+ data?: WrongParticipantsNumberErrorDetails;
2434
+ } | {
2435
+ code?: 'DUPLICATED_SLUG';
2436
+ description?: string;
2437
+ data?: DuplicatedSlugErrorDetails;
2438
+ } | {
2439
+ code?: 'TIMELINE_SWITCH_FORBIDDEN';
2440
+ description?: string;
2441
+ data?: TimelineSwitchForbiddenErrorDetails;
2442
+ };
2443
+ /** @docsIgnore */
2444
+ type PublishProgramApplicationErrors = {
2445
+ code?: 'INVALID_START_DATE';
2446
+ description?: string;
2447
+ data?: Record<string, any>;
2448
+ };
1196
2449
 
1197
2450
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
1198
2451
  getUrl: (context: any) => string;
@@ -1232,4 +2485,4 @@ declare function bulkUpdatePrograms(): __PublicMethodMetaInfo<'POST', {}, BulkUp
1232
2485
  declare function countPrograms(): __PublicMethodMetaInfo<'POST', {}, CountProgramsRequest$1, CountProgramsRequest, CountProgramsResponse$1, CountProgramsResponse>;
1233
2486
  declare function listSamplePrograms(): __PublicMethodMetaInfo<'GET', {}, ListSampleProgramsRequest$1, ListSampleProgramsRequest, ListSampleProgramsResponse$1, ListSampleProgramsResponse>;
1234
2487
 
1235
- export { type __PublicMethodMetaInfo, archiveProgram, bulkUpdatePrograms, countPrograms, createProgram, deleteProgram, duplicateProgram, endProgram, getProgram, listSamplePrograms, publishProgram, queryPrograms, searchPrograms, updateProgram };
2488
+ export { AccessType as AccessTypeOriginal, type AccessTypeWithLiterals as AccessTypeWithLiteralsOriginal, type ActionEvent as ActionEventOriginal, type AddressHint as AddressHintOriginal, type Address as AddressOriginal, 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 App as AppOriginal, type ApplicationError as ApplicationErrorOriginal, type ArchiveProgramRequest as ArchiveProgramRequestOriginal, type ArchiveProgramResponse as ArchiveProgramResponseOriginal, type Asset as AssetOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, BulkActionType as BulkActionTypeOriginal, type BulkActionTypeWithLiterals as BulkActionTypeWithLiteralsOriginal, type BulkCreateProgramsMigrationRequest as BulkCreateProgramsMigrationRequestOriginal, type BulkCreateProgramsMigrationResponse as BulkCreateProgramsMigrationResponseOriginal, type BulkProgramResult as BulkProgramResultOriginal, type BulkUpdateProgramResult as BulkUpdateProgramResultOriginal, type BulkUpdateProgramsRequest as BulkUpdateProgramsRequestOriginal, type BulkUpdateProgramsResponse as BulkUpdateProgramsResponseOriginal, type BusinessSchedule as BusinessScheduleOriginal, type Categories as CategoriesOriginal, type Certificate as CertificateOriginal, type ConsentPolicy as ConsentPolicyOriginal, type ContentSummary as ContentSummaryOriginal, type CountProgramsRequest as CountProgramsRequestOriginal, type CountProgramsResponse as CountProgramsResponseOriginal, type CreateProgramRequest as CreateProgramRequestOriginal, type CreateProgramResponse as CreateProgramResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorSearch as CursorSearchOriginal, type CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomTag as CustomTagOriginal, type DateHistogramAggregation as DateHistogramAggregationOriginal, type DateHistogramResult as DateHistogramResultOriginal, type DateHistogramResults as DateHistogramResultsOriginal, DayOfWeek as DayOfWeekOriginal, type DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal, type DeleteAllProgramsMigrationRequest as DeleteAllProgramsMigrationRequestOriginal, type DeleteAllProgramsMigrationResponse as DeleteAllProgramsMigrationResponseOriginal, type DeleteByFilterOperation as DeleteByFilterOperationOriginal, type DeleteByIdsOperation as DeleteByIdsOperationOriginal, type DeleteContext as DeleteContextOriginal, type Delete as DeleteOriginal, type DeleteProgramRequest as DeleteProgramRequestOriginal, type DeleteProgramResponse as DeleteProgramResponseOriginal, DeleteStatus as DeleteStatusOriginal, type DeleteStatusWithLiterals as DeleteStatusWithLiteralsOriginal, type DescriptionMediaOneOf as DescriptionMediaOneOfOriginal, type Description as DescriptionOriginal, type DocumentImage as DocumentImageOriginal, type DocumentPayload as DocumentPayloadOriginal, type DocumentUpdateOperation as DocumentUpdateOperationOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DuplicateProgramRequest as DuplicateProgramRequestOriginal, type DuplicateProgramResponse as DuplicateProgramResponseOriginal, type DuplicatedSlugErrorDetails as DuplicatedSlugErrorDetailsOriginal, type Empty as EmptyOriginal, type EndProgramRequest as EndProgramRequestOriginal, type EndProgramResponse as EndProgramResponseOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, Enum as EnumOriginal, type EnumWithLiterals as EnumWithLiteralsOriginal, type ExtendedFields as ExtendedFieldsOriginal, type File as FileOriginal, type FocalPoint as FocalPointOriginal, type GeoCoordinates as GeoCoordinatesOriginal, type GetProgramRequest as GetProgramRequestOriginal, type GetProgramResponse as GetProgramResponseOriginal, type GroupByAggregationKindOneOf as GroupByAggregationKindOneOfOriginal, type GroupByAggregation as GroupByAggregationOriginal, type GroupByValueResults as GroupByValueResultsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type IncludeMissingValuesOptions as IncludeMissingValuesOptionsOriginal, type IndexDocument as IndexDocumentOriginal, Interval as IntervalOriginal, type IntervalWithLiterals as IntervalWithLiteralsOriginal, type InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal, type InvalidateCache as InvalidateCacheOriginal, type ItemMetadata as ItemMetadataOriginal, type Keyword as KeywordOriginal, type LabeledProgram as LabeledProgramOriginal, type ListSampleProgramsRequest as ListSampleProgramsRequestOriginal, type ListSampleProgramsResponse as ListSampleProgramsResponseOriginal, type Locale as LocaleOriginal, type MaskedProgram as MaskedProgramOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MetaSiteSpecialEvent as MetaSiteSpecialEventOriginal, type MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOfOriginal, type MissingMetasiteIdErrorDetails as MissingMetasiteIdErrorDetailsOriginal, MissingValues as MissingValuesOriginal, type MissingValuesWithLiterals as MissingValuesWithLiteralsOriginal, Mode as ModeOriginal, type ModeWithLiterals as ModeWithLiteralsOriginal, type Money as MoneyOriginal, type Multilingual as MultilingualOriginal, type NamespaceChanged as NamespaceChangedOriginal, Namespace as NamespaceOriginal, type NamespaceWithLiterals as NamespaceWithLiteralsOriginal, 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 OdeditorAssigned as OdeditorAssignedOriginal, type OdeditorUnassigned as OdeditorUnassignedOriginal, type Page as PageOriginal, type PageUrl as PageUrlOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type PicassoAssigned as PicassoAssignedOriginal, type PicassoUnassigned as PicassoUnassignedOriginal, PlacementType as PlacementTypeOriginal, type PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal, type ProgramArchived as ProgramArchivedOriginal, type ProgramDuplicated as ProgramDuplicatedOriginal, type ProgramEnded as ProgramEndedOriginal, type ProgramMigration as ProgramMigrationOriginal, type Program as ProgramOriginal, type ProgramPublished as ProgramPublishedOriginal, type Properties as PropertiesOriginal, type PublishProgramApplicationErrors as PublishProgramApplicationErrorsOriginal, type PublishProgramRequest as PublishProgramRequestOriginal, type PublishProgramResponse as PublishProgramResponseOriginal, type QueryProgramsRequest as QueryProgramsRequestOriginal, type QueryProgramsResponse as QueryProgramsResponseOriginal, 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, ResolutionMethod as ResolutionMethodOriginal, type ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal, type ResolveProgramSlugRequest as ResolveProgramSlugRequestOriginal, type ResolveProgramSlugResponse as ResolveProgramSlugResponseOriginal, type RestoreInfo as RestoreInfoOriginal, RestrictionsAccessType as RestrictionsAccessTypeOriginal, type RestrictionsAccessTypeWithLiterals as RestrictionsAccessTypeWithLiteralsOriginal, type Restrictions as RestrictionsOriginal, type Results as ResultsOriginal, type Reward as RewardOriginal, type ScalarAggregation as ScalarAggregationOriginal, type ScalarResult as ScalarResultOriginal, ScalarType as ScalarTypeOriginal, type ScalarTypeWithLiterals as ScalarTypeWithLiteralsOriginal, type Schema as SchemaOriginal, type SearchDetails as SearchDetailsOriginal, type SearchIndexingNotification as SearchIndexingNotificationOriginal, SearchIndexingNotificationState as SearchIndexingNotificationStateOriginal, type SearchIndexingNotificationStateWithLiterals as SearchIndexingNotificationStateWithLiteralsOriginal, type SearchProgramsRequest as SearchProgramsRequestOriginal, type SearchProgramsResponse as SearchProgramsResponseOriginal, type Seo as SeoOriginal, type SeoSchema as SeoSchemaOriginal, type ServiceProvisioned as ServiceProvisionedOriginal, type ServiceRemoved as ServiceRemovedOriginal, type Settings as SettingsOriginal, SiteCreatedContext as SiteCreatedContextOriginal, type SiteCreatedContextWithLiterals as SiteCreatedContextWithLiteralsOriginal, type SiteCreated as SiteCreatedOriginal, type SiteDeleted as SiteDeletedOriginal, type SiteHardDeleted as SiteHardDeletedOriginal, type SiteMarkedAsTemplate as SiteMarkedAsTemplateOriginal, type SiteMarkedAsWixSite as SiteMarkedAsWixSiteOriginal, type SitePropertiesEvent as SitePropertiesEventOriginal, type SitePropertiesUpdated as SitePropertiesUpdatedOriginal, type SitePublished as SitePublishedOriginal, type SitePurgedExternally as SitePurgedExternallyOriginal, type SiteRenamed as SiteRenamedOriginal, type SiteTransferred as SiteTransferredOriginal, type SiteUndeleted as SiteUndeletedOriginal, type SiteUnpublished as SiteUnpublishedOriginal, type SiteUrlChanged as SiteUrlChangedOriginal, 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 SpecialHourPeriod as SpecialHourPeriodOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StudioAssigned as StudioAssignedOriginal, type StudioUnassigned as StudioUnassignedOriginal, type SupportedLanguage as SupportedLanguageOriginal, type Tag as TagOriginal, type TimePeriod as TimePeriodOriginal, type Timeline as TimelineOriginal, type TimelineSwitchForbiddenErrorDetails as TimelineSwitchForbiddenErrorDetailsOriginal, Trigger as TriggerOriginal, type TriggerWithLiterals as TriggerWithLiteralsOriginal, type URI as URIOriginal, type UpdateByFilterOperation as UpdateByFilterOperationOriginal, type UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOfOriginal, type UpdateDocumentsEvent as UpdateDocumentsEventOriginal, type UpdateExistingOperation as UpdateExistingOperationOriginal, type UpdateProgramApplicationErrors as UpdateProgramApplicationErrorsOriginal, type UpdateProgramRequest as UpdateProgramRequestOriginal, type UpdateProgramResponse as UpdateProgramResponseOriginal, type Upsert as UpsertOriginal, V3State as V3StateOriginal, type V3StateWithLiterals as V3StateWithLiteralsOriginal, type ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOfOriginal, type ValueAggregation as ValueAggregationOriginal, type ValueAggregationResult as ValueAggregationResultOriginal, type ValueResult as ValueResultOriginal, type ValueResults as ValueResultsOriginal, type VideoResolution as VideoResolutionOriginal, type VideoStepsSettings as VideoStepsSettingsOriginal, type VideoV2 as VideoV2Original, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WrongParticipantsNumberErrorDetails as WrongParticipantsNumberErrorDetailsOriginal, type WrongStartDateErrorDetails as WrongStartDateErrorDetailsOriginal, type WrongStateErrorDetails as WrongStateErrorDetailsOriginal, type __PublicMethodMetaInfo, archiveProgram, bulkUpdatePrograms, countPrograms, createProgram, deleteProgram, duplicateProgram, endProgram, getProgram, listSamplePrograms, publishProgram, queryPrograms, searchPrograms, updateProgram };