@wix/portfolio 1.0.83 → 1.0.85

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.83",
3
+ "version": "1.0.85",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,12 +18,12 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/portfolio_collections": "1.0.22",
22
- "@wix/portfolio_portfolio-settings": "1.0.9",
23
- "@wix/portfolio_project-in-collections": "1.0.22",
24
- "@wix/portfolio_project-items": "1.0.26",
25
- "@wix/portfolio_projects": "1.0.30",
26
- "@wix/portfolio_synced-project": "1.0.6"
21
+ "@wix/portfolio_collections": "1.0.23",
22
+ "@wix/portfolio_portfolio-settings": "1.0.10",
23
+ "@wix/portfolio_project-in-collections": "1.0.23",
24
+ "@wix/portfolio_project-items": "1.0.27",
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": "ec435c89c86e619c0f657992afc716b55b587e9f7cb2ea0c5e8d4caf"
51
+ "falconPackageHash": "d142fc664f1dc0d7e503fd0ea81063c155ba9ba0dad52288f9cdceb5"
52
52
  }
@@ -2454,7 +2454,12 @@ declare enum Namespace$1 {
2454
2454
  */
2455
2455
  BRANDED_FIRST = "BRANDED_FIRST",
2456
2456
  /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
2457
- NOWNIA = "NOWNIA"
2457
+ NOWNIA = "NOWNIA",
2458
+ /**
2459
+ * UGC Templates are templates that are created by users for personal use and to sale to other users.
2460
+ * The Partners company owns this namespace.
2461
+ */
2462
+ UGC_TEMPLATE = "UGC_TEMPLATE"
2458
2463
  }
2459
2464
  /** Site transferred to another user. */
2460
2465
  interface SiteTransferred$1 {
@@ -2546,76 +2551,6 @@ interface StudioUnassigned$1 {
2546
2551
  }
2547
2552
  interface Empty$1 {
2548
2553
  }
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
2554
  interface MessageEnvelope$2 {
2620
2555
  /** App instance ID. */
2621
2556
  instanceId?: string | null;
@@ -2945,6 +2880,76 @@ interface RestoreProjectFromTrashBinResponse {
2945
2880
  /** project that was restored from trash bin */
2946
2881
  project?: Project$1;
2947
2882
  }
2883
+ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
2884
+ createdEvent?: EntityCreatedEvent$2;
2885
+ updatedEvent?: EntityUpdatedEvent$2;
2886
+ deletedEvent?: EntityDeletedEvent$2;
2887
+ actionEvent?: ActionEvent$2;
2888
+ /**
2889
+ * Unique event ID.
2890
+ * Allows clients to ignore duplicate webhooks.
2891
+ */
2892
+ _id?: string;
2893
+ /**
2894
+ * Assumes actions are also always typed to an entity_type
2895
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
2896
+ */
2897
+ entityFqdn?: string;
2898
+ /**
2899
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
2900
+ * This is although the created/updated/deleted notion is duplication of the oneof types
2901
+ * Example: created/updated/deleted/started/completed/email_opened
2902
+ */
2903
+ slug?: string;
2904
+ /** ID of the entity associated with the event. */
2905
+ entityId?: string;
2906
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2907
+ eventTime?: Date;
2908
+ /**
2909
+ * Whether the event was triggered as a result of a privacy regulation application
2910
+ * (for example, GDPR).
2911
+ */
2912
+ triggeredByAnonymizeRequest?: boolean | null;
2913
+ /** If present, indicates the action that triggered the event. */
2914
+ originatedFrom?: string | null;
2915
+ /**
2916
+ * A sequence number defining the order of updates to the underlying entity.
2917
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
2918
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
2919
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
2920
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
2921
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
2922
+ */
2923
+ entityEventSequence?: string | null;
2924
+ }
2925
+ /** @oneof */
2926
+ interface DomainEventBodyOneOf$2 {
2927
+ createdEvent?: EntityCreatedEvent$2;
2928
+ updatedEvent?: EntityUpdatedEvent$2;
2929
+ deletedEvent?: EntityDeletedEvent$2;
2930
+ actionEvent?: ActionEvent$2;
2931
+ }
2932
+ interface EntityCreatedEvent$2 {
2933
+ entity?: string;
2934
+ }
2935
+ interface RestoreInfo$2 {
2936
+ deletedDate?: Date;
2937
+ }
2938
+ interface EntityUpdatedEvent$2 {
2939
+ /**
2940
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
2941
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
2942
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
2943
+ */
2944
+ currentEntity?: string;
2945
+ }
2946
+ interface EntityDeletedEvent$2 {
2947
+ /** Entity that was deleted */
2948
+ deletedEntity?: string | null;
2949
+ }
2950
+ interface ActionEvent$2 {
2951
+ body?: string;
2952
+ }
2948
2953
  interface PointNonNullableFields$1 {
2949
2954
  x: number;
2950
2955
  y: number;
@@ -4634,7 +4639,12 @@ declare enum Namespace {
4634
4639
  */
4635
4640
  BRANDED_FIRST = "BRANDED_FIRST",
4636
4641
  /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
4637
- NOWNIA = "NOWNIA"
4642
+ NOWNIA = "NOWNIA",
4643
+ /**
4644
+ * UGC Templates are templates that are created by users for personal use and to sale to other users.
4645
+ * The Partners company owns this namespace.
4646
+ */
4647
+ UGC_TEMPLATE = "UGC_TEMPLATE"
4638
4648
  }
4639
4649
  /** Site transferred to another user. */
4640
4650
  interface SiteTransferred {
@@ -2454,7 +2454,12 @@ declare enum Namespace$1 {
2454
2454
  */
2455
2455
  BRANDED_FIRST = "BRANDED_FIRST",
2456
2456
  /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
2457
- NOWNIA = "NOWNIA"
2457
+ NOWNIA = "NOWNIA",
2458
+ /**
2459
+ * UGC Templates are templates that are created by users for personal use and to sale to other users.
2460
+ * The Partners company owns this namespace.
2461
+ */
2462
+ UGC_TEMPLATE = "UGC_TEMPLATE"
2458
2463
  }
2459
2464
  /** Site transferred to another user. */
2460
2465
  interface SiteTransferred$1 {
@@ -2546,76 +2551,6 @@ interface StudioUnassigned$1 {
2546
2551
  }
2547
2552
  interface Empty$1 {
2548
2553
  }
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
2554
  interface MessageEnvelope$2 {
2620
2555
  /** App instance ID. */
2621
2556
  instanceId?: string | null;
@@ -2945,6 +2880,76 @@ interface RestoreProjectFromTrashBinResponse {
2945
2880
  /** project that was restored from trash bin */
2946
2881
  project?: Project$1;
2947
2882
  }
2883
+ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
2884
+ createdEvent?: EntityCreatedEvent$2;
2885
+ updatedEvent?: EntityUpdatedEvent$2;
2886
+ deletedEvent?: EntityDeletedEvent$2;
2887
+ actionEvent?: ActionEvent$2;
2888
+ /**
2889
+ * Unique event ID.
2890
+ * Allows clients to ignore duplicate webhooks.
2891
+ */
2892
+ _id?: string;
2893
+ /**
2894
+ * Assumes actions are also always typed to an entity_type
2895
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
2896
+ */
2897
+ entityFqdn?: string;
2898
+ /**
2899
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
2900
+ * This is although the created/updated/deleted notion is duplication of the oneof types
2901
+ * Example: created/updated/deleted/started/completed/email_opened
2902
+ */
2903
+ slug?: string;
2904
+ /** ID of the entity associated with the event. */
2905
+ entityId?: string;
2906
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2907
+ eventTime?: Date;
2908
+ /**
2909
+ * Whether the event was triggered as a result of a privacy regulation application
2910
+ * (for example, GDPR).
2911
+ */
2912
+ triggeredByAnonymizeRequest?: boolean | null;
2913
+ /** If present, indicates the action that triggered the event. */
2914
+ originatedFrom?: string | null;
2915
+ /**
2916
+ * A sequence number defining the order of updates to the underlying entity.
2917
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
2918
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
2919
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
2920
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
2921
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
2922
+ */
2923
+ entityEventSequence?: string | null;
2924
+ }
2925
+ /** @oneof */
2926
+ interface DomainEventBodyOneOf$2 {
2927
+ createdEvent?: EntityCreatedEvent$2;
2928
+ updatedEvent?: EntityUpdatedEvent$2;
2929
+ deletedEvent?: EntityDeletedEvent$2;
2930
+ actionEvent?: ActionEvent$2;
2931
+ }
2932
+ interface EntityCreatedEvent$2 {
2933
+ entity?: string;
2934
+ }
2935
+ interface RestoreInfo$2 {
2936
+ deletedDate?: Date;
2937
+ }
2938
+ interface EntityUpdatedEvent$2 {
2939
+ /**
2940
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
2941
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
2942
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
2943
+ */
2944
+ currentEntity?: string;
2945
+ }
2946
+ interface EntityDeletedEvent$2 {
2947
+ /** Entity that was deleted */
2948
+ deletedEntity?: string | null;
2949
+ }
2950
+ interface ActionEvent$2 {
2951
+ body?: string;
2952
+ }
2948
2953
  interface PointNonNullableFields$1 {
2949
2954
  x: number;
2950
2955
  y: number;
@@ -4634,7 +4639,12 @@ declare enum Namespace {
4634
4639
  */
4635
4640
  BRANDED_FIRST = "BRANDED_FIRST",
4636
4641
  /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
4637
- NOWNIA = "NOWNIA"
4642
+ NOWNIA = "NOWNIA",
4643
+ /**
4644
+ * UGC Templates are templates that are created by users for personal use and to sale to other users.
4645
+ * The Partners company owns this namespace.
4646
+ */
4647
+ UGC_TEMPLATE = "UGC_TEMPLATE"
4638
4648
  }
4639
4649
  /** Site transferred to another user. */
4640
4650
  interface SiteTransferred {