@wix/portfolio 1.0.84 → 1.0.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/portfolio",
3
- "version": "1.0.84",
3
+ "version": "1.0.86",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -19,11 +19,11 @@
19
19
  ],
20
20
  "dependencies": {
21
21
  "@wix/portfolio_collections": "1.0.23",
22
- "@wix/portfolio_portfolio-settings": "1.0.10",
22
+ "@wix/portfolio_portfolio-settings": "1.0.11",
23
23
  "@wix/portfolio_project-in-collections": "1.0.23",
24
24
  "@wix/portfolio_project-items": "1.0.27",
25
- "@wix/portfolio_projects": "1.0.31",
26
- "@wix/portfolio_synced-project": "1.0.7"
25
+ "@wix/portfolio_projects": "1.0.32",
26
+ "@wix/portfolio_synced-project": "1.0.8"
27
27
  },
28
28
  "devDependencies": {
29
29
  "glob": "^10.4.1",
@@ -48,5 +48,5 @@
48
48
  "fqdn": ""
49
49
  }
50
50
  },
51
- "falconPackageHash": "9684142a382920d1c80fcba393440b86c65d482e3c86f0c33d063bfc"
51
+ "falconPackageHash": "441204121a9a47f1e070b5a8768c99478c3d3029357eec161f3fcd5a"
52
52
  }
@@ -840,7 +840,10 @@ declare namespace context$5 {
840
840
  }
841
841
 
842
842
  interface PortfolioSettings {
843
- /** The revision of the portfolio settings */
843
+ /**
844
+ * The revision of the portfolio settings
845
+ * @readonly
846
+ */
844
847
  revision?: string | null;
845
848
  /** The project item settings */
846
849
  projectItemSettings?: ProjectItemSettings;
@@ -2454,7 +2457,12 @@ declare enum Namespace$1 {
2454
2457
  */
2455
2458
  BRANDED_FIRST = "BRANDED_FIRST",
2456
2459
  /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
2457
- NOWNIA = "NOWNIA"
2460
+ NOWNIA = "NOWNIA",
2461
+ /**
2462
+ * UGC Templates are templates that are created by users for personal use and to sale to other users.
2463
+ * The Partners company owns this namespace.
2464
+ */
2465
+ UGC_TEMPLATE = "UGC_TEMPLATE"
2458
2466
  }
2459
2467
  /** Site transferred to another user. */
2460
2468
  interface SiteTransferred$1 {
@@ -2546,76 +2554,6 @@ interface StudioUnassigned$1 {
2546
2554
  }
2547
2555
  interface Empty$1 {
2548
2556
  }
2549
- interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
2550
- createdEvent?: EntityCreatedEvent$2;
2551
- updatedEvent?: EntityUpdatedEvent$2;
2552
- deletedEvent?: EntityDeletedEvent$2;
2553
- actionEvent?: ActionEvent$2;
2554
- /**
2555
- * Unique event ID.
2556
- * Allows clients to ignore duplicate webhooks.
2557
- */
2558
- _id?: string;
2559
- /**
2560
- * Assumes actions are also always typed to an entity_type
2561
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
2562
- */
2563
- entityFqdn?: string;
2564
- /**
2565
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
2566
- * This is although the created/updated/deleted notion is duplication of the oneof types
2567
- * Example: created/updated/deleted/started/completed/email_opened
2568
- */
2569
- slug?: string;
2570
- /** ID of the entity associated with the event. */
2571
- entityId?: string;
2572
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2573
- eventTime?: Date;
2574
- /**
2575
- * Whether the event was triggered as a result of a privacy regulation application
2576
- * (for example, GDPR).
2577
- */
2578
- triggeredByAnonymizeRequest?: boolean | null;
2579
- /** If present, indicates the action that triggered the event. */
2580
- originatedFrom?: string | null;
2581
- /**
2582
- * A sequence number defining the order of updates to the underlying entity.
2583
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
2584
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
2585
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
2586
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
2587
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
2588
- */
2589
- entityEventSequence?: string | null;
2590
- }
2591
- /** @oneof */
2592
- interface DomainEventBodyOneOf$2 {
2593
- createdEvent?: EntityCreatedEvent$2;
2594
- updatedEvent?: EntityUpdatedEvent$2;
2595
- deletedEvent?: EntityDeletedEvent$2;
2596
- actionEvent?: ActionEvent$2;
2597
- }
2598
- interface EntityCreatedEvent$2 {
2599
- entity?: string;
2600
- }
2601
- interface RestoreInfo$2 {
2602
- deletedDate?: Date;
2603
- }
2604
- interface EntityUpdatedEvent$2 {
2605
- /**
2606
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
2607
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
2608
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
2609
- */
2610
- currentEntity?: string;
2611
- }
2612
- interface EntityDeletedEvent$2 {
2613
- /** Entity that was deleted */
2614
- deletedEntity?: string | null;
2615
- }
2616
- interface ActionEvent$2 {
2617
- body?: string;
2618
- }
2619
2557
  interface MessageEnvelope$2 {
2620
2558
  /** App instance ID. */
2621
2559
  instanceId?: string | null;
@@ -2945,6 +2883,76 @@ interface RestoreProjectFromTrashBinResponse {
2945
2883
  /** project that was restored from trash bin */
2946
2884
  project?: Project$1;
2947
2885
  }
2886
+ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
2887
+ createdEvent?: EntityCreatedEvent$2;
2888
+ updatedEvent?: EntityUpdatedEvent$2;
2889
+ deletedEvent?: EntityDeletedEvent$2;
2890
+ actionEvent?: ActionEvent$2;
2891
+ /**
2892
+ * Unique event ID.
2893
+ * Allows clients to ignore duplicate webhooks.
2894
+ */
2895
+ _id?: string;
2896
+ /**
2897
+ * Assumes actions are also always typed to an entity_type
2898
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
2899
+ */
2900
+ entityFqdn?: string;
2901
+ /**
2902
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
2903
+ * This is although the created/updated/deleted notion is duplication of the oneof types
2904
+ * Example: created/updated/deleted/started/completed/email_opened
2905
+ */
2906
+ slug?: string;
2907
+ /** ID of the entity associated with the event. */
2908
+ entityId?: string;
2909
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2910
+ eventTime?: Date;
2911
+ /**
2912
+ * Whether the event was triggered as a result of a privacy regulation application
2913
+ * (for example, GDPR).
2914
+ */
2915
+ triggeredByAnonymizeRequest?: boolean | null;
2916
+ /** If present, indicates the action that triggered the event. */
2917
+ originatedFrom?: string | null;
2918
+ /**
2919
+ * A sequence number defining the order of updates to the underlying entity.
2920
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
2921
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
2922
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
2923
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
2924
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
2925
+ */
2926
+ entityEventSequence?: string | null;
2927
+ }
2928
+ /** @oneof */
2929
+ interface DomainEventBodyOneOf$2 {
2930
+ createdEvent?: EntityCreatedEvent$2;
2931
+ updatedEvent?: EntityUpdatedEvent$2;
2932
+ deletedEvent?: EntityDeletedEvent$2;
2933
+ actionEvent?: ActionEvent$2;
2934
+ }
2935
+ interface EntityCreatedEvent$2 {
2936
+ entity?: string;
2937
+ }
2938
+ interface RestoreInfo$2 {
2939
+ deletedDate?: Date;
2940
+ }
2941
+ interface EntityUpdatedEvent$2 {
2942
+ /**
2943
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
2944
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
2945
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
2946
+ */
2947
+ currentEntity?: string;
2948
+ }
2949
+ interface EntityDeletedEvent$2 {
2950
+ /** Entity that was deleted */
2951
+ deletedEntity?: string | null;
2952
+ }
2953
+ interface ActionEvent$2 {
2954
+ body?: string;
2955
+ }
2948
2956
  interface PointNonNullableFields$1 {
2949
2957
  x: number;
2950
2958
  y: number;
@@ -4634,7 +4642,12 @@ declare enum Namespace {
4634
4642
  */
4635
4643
  BRANDED_FIRST = "BRANDED_FIRST",
4636
4644
  /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
4637
- NOWNIA = "NOWNIA"
4645
+ NOWNIA = "NOWNIA",
4646
+ /**
4647
+ * UGC Templates are templates that are created by users for personal use and to sale to other users.
4648
+ * The Partners company owns this namespace.
4649
+ */
4650
+ UGC_TEMPLATE = "UGC_TEMPLATE"
4638
4651
  }
4639
4652
  /** Site transferred to another user. */
4640
4653
  interface SiteTransferred {
@@ -840,7 +840,10 @@ declare namespace index_d$5 {
840
840
  }
841
841
 
842
842
  interface PortfolioSettings {
843
- /** The revision of the portfolio settings */
843
+ /**
844
+ * The revision of the portfolio settings
845
+ * @readonly
846
+ */
844
847
  revision?: string | null;
845
848
  /** The project item settings */
846
849
  projectItemSettings?: ProjectItemSettings;
@@ -2454,7 +2457,12 @@ declare enum Namespace$1 {
2454
2457
  */
2455
2458
  BRANDED_FIRST = "BRANDED_FIRST",
2456
2459
  /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
2457
- NOWNIA = "NOWNIA"
2460
+ NOWNIA = "NOWNIA",
2461
+ /**
2462
+ * UGC Templates are templates that are created by users for personal use and to sale to other users.
2463
+ * The Partners company owns this namespace.
2464
+ */
2465
+ UGC_TEMPLATE = "UGC_TEMPLATE"
2458
2466
  }
2459
2467
  /** Site transferred to another user. */
2460
2468
  interface SiteTransferred$1 {
@@ -2546,76 +2554,6 @@ interface StudioUnassigned$1 {
2546
2554
  }
2547
2555
  interface Empty$1 {
2548
2556
  }
2549
- interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
2550
- createdEvent?: EntityCreatedEvent$2;
2551
- updatedEvent?: EntityUpdatedEvent$2;
2552
- deletedEvent?: EntityDeletedEvent$2;
2553
- actionEvent?: ActionEvent$2;
2554
- /**
2555
- * Unique event ID.
2556
- * Allows clients to ignore duplicate webhooks.
2557
- */
2558
- _id?: string;
2559
- /**
2560
- * Assumes actions are also always typed to an entity_type
2561
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
2562
- */
2563
- entityFqdn?: string;
2564
- /**
2565
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
2566
- * This is although the created/updated/deleted notion is duplication of the oneof types
2567
- * Example: created/updated/deleted/started/completed/email_opened
2568
- */
2569
- slug?: string;
2570
- /** ID of the entity associated with the event. */
2571
- entityId?: string;
2572
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2573
- eventTime?: Date;
2574
- /**
2575
- * Whether the event was triggered as a result of a privacy regulation application
2576
- * (for example, GDPR).
2577
- */
2578
- triggeredByAnonymizeRequest?: boolean | null;
2579
- /** If present, indicates the action that triggered the event. */
2580
- originatedFrom?: string | null;
2581
- /**
2582
- * A sequence number defining the order of updates to the underlying entity.
2583
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
2584
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
2585
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
2586
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
2587
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
2588
- */
2589
- entityEventSequence?: string | null;
2590
- }
2591
- /** @oneof */
2592
- interface DomainEventBodyOneOf$2 {
2593
- createdEvent?: EntityCreatedEvent$2;
2594
- updatedEvent?: EntityUpdatedEvent$2;
2595
- deletedEvent?: EntityDeletedEvent$2;
2596
- actionEvent?: ActionEvent$2;
2597
- }
2598
- interface EntityCreatedEvent$2 {
2599
- entity?: string;
2600
- }
2601
- interface RestoreInfo$2 {
2602
- deletedDate?: Date;
2603
- }
2604
- interface EntityUpdatedEvent$2 {
2605
- /**
2606
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
2607
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
2608
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
2609
- */
2610
- currentEntity?: string;
2611
- }
2612
- interface EntityDeletedEvent$2 {
2613
- /** Entity that was deleted */
2614
- deletedEntity?: string | null;
2615
- }
2616
- interface ActionEvent$2 {
2617
- body?: string;
2618
- }
2619
2557
  interface MessageEnvelope$2 {
2620
2558
  /** App instance ID. */
2621
2559
  instanceId?: string | null;
@@ -2945,6 +2883,76 @@ interface RestoreProjectFromTrashBinResponse {
2945
2883
  /** project that was restored from trash bin */
2946
2884
  project?: Project$1;
2947
2885
  }
2886
+ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
2887
+ createdEvent?: EntityCreatedEvent$2;
2888
+ updatedEvent?: EntityUpdatedEvent$2;
2889
+ deletedEvent?: EntityDeletedEvent$2;
2890
+ actionEvent?: ActionEvent$2;
2891
+ /**
2892
+ * Unique event ID.
2893
+ * Allows clients to ignore duplicate webhooks.
2894
+ */
2895
+ _id?: string;
2896
+ /**
2897
+ * Assumes actions are also always typed to an entity_type
2898
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
2899
+ */
2900
+ entityFqdn?: string;
2901
+ /**
2902
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
2903
+ * This is although the created/updated/deleted notion is duplication of the oneof types
2904
+ * Example: created/updated/deleted/started/completed/email_opened
2905
+ */
2906
+ slug?: string;
2907
+ /** ID of the entity associated with the event. */
2908
+ entityId?: string;
2909
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2910
+ eventTime?: Date;
2911
+ /**
2912
+ * Whether the event was triggered as a result of a privacy regulation application
2913
+ * (for example, GDPR).
2914
+ */
2915
+ triggeredByAnonymizeRequest?: boolean | null;
2916
+ /** If present, indicates the action that triggered the event. */
2917
+ originatedFrom?: string | null;
2918
+ /**
2919
+ * A sequence number defining the order of updates to the underlying entity.
2920
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
2921
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
2922
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
2923
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
2924
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
2925
+ */
2926
+ entityEventSequence?: string | null;
2927
+ }
2928
+ /** @oneof */
2929
+ interface DomainEventBodyOneOf$2 {
2930
+ createdEvent?: EntityCreatedEvent$2;
2931
+ updatedEvent?: EntityUpdatedEvent$2;
2932
+ deletedEvent?: EntityDeletedEvent$2;
2933
+ actionEvent?: ActionEvent$2;
2934
+ }
2935
+ interface EntityCreatedEvent$2 {
2936
+ entity?: string;
2937
+ }
2938
+ interface RestoreInfo$2 {
2939
+ deletedDate?: Date;
2940
+ }
2941
+ interface EntityUpdatedEvent$2 {
2942
+ /**
2943
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
2944
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
2945
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
2946
+ */
2947
+ currentEntity?: string;
2948
+ }
2949
+ interface EntityDeletedEvent$2 {
2950
+ /** Entity that was deleted */
2951
+ deletedEntity?: string | null;
2952
+ }
2953
+ interface ActionEvent$2 {
2954
+ body?: string;
2955
+ }
2948
2956
  interface PointNonNullableFields$1 {
2949
2957
  x: number;
2950
2958
  y: number;
@@ -4634,7 +4642,12 @@ declare enum Namespace {
4634
4642
  */
4635
4643
  BRANDED_FIRST = "BRANDED_FIRST",
4636
4644
  /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
4637
- NOWNIA = "NOWNIA"
4645
+ NOWNIA = "NOWNIA",
4646
+ /**
4647
+ * UGC Templates are templates that are created by users for personal use and to sale to other users.
4648
+ * The Partners company owns this namespace.
4649
+ */
4650
+ UGC_TEMPLATE = "UGC_TEMPLATE"
4638
4651
  }
4639
4652
  /** Site transferred to another user. */
4640
4653
  interface SiteTransferred {
@@ -652,7 +652,10 @@ declare namespace meta$5 {
652
652
  }
653
653
 
654
654
  interface PortfolioSettings$1 {
655
- /** The revision of the portfolio settings */
655
+ /**
656
+ * The revision of the portfolio settings
657
+ * @readonly
658
+ */
656
659
  revision?: string | null;
657
660
  /** The project item settings */
658
661
  projectItemSettings?: ProjectItemSettings$1;
@@ -737,7 +740,10 @@ interface UpdatePortfolioSettingsResponseNonNullableFields$1 {
737
740
  }
738
741
 
739
742
  interface PortfolioSettings {
740
- /** The revision of the portfolio settings */
743
+ /**
744
+ * The revision of the portfolio settings
745
+ * @readonly
746
+ */
741
747
  revision?: string | null;
742
748
  /** The project item settings */
743
749
  projectItemSettings?: ProjectItemSettings;