@artsy/cohesion 4.365.0 → 4.367.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ # v4.367.0 (Thu Jun 25 2026)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat: add tracking schema for OS Connected Apps (integrations management) [#712](https://github.com/artsy/cohesion/pull/712) ([@chr-tatu](https://github.com/chr-tatu))
6
+
7
+ #### Authors: 1
8
+
9
+ - Christian Tatu ([@chr-tatu](https://github.com/chr-tatu))
10
+
11
+ ---
12
+
13
+ # v4.366.0 (Wed Jun 24 2026)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - chore: add art os BrandKit events [#707](https://github.com/artsy/cohesion/pull/707) ([@mc-jones](https://github.com/mc-jones))
18
+
19
+ #### Authors: 1
20
+
21
+ - Matt Jones ([@mc-jones](https://github.com/mc-jones))
22
+
23
+ ---
24
+
1
25
  # v4.365.0 (Wed Jun 24 2026)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -1368,5 +1368,21 @@ export declare enum ActionType {
1368
1368
  /**
1369
1369
  * Corresponds to {@link VisitMyCollectionOnboardingSlide}
1370
1370
  */
1371
- visitMyCollectionOnboardingSlide = "visitMyCollectionOnboardingSlide"
1371
+ visitMyCollectionOnboardingSlide = "visitMyCollectionOnboardingSlide",
1372
+ /**
1373
+ * Corresponds to {@link ClickedBrandKitColor}
1374
+ */
1375
+ clickedBrandKitColor = "clickedBrandKitColor",
1376
+ /**
1377
+ * Corresponds to {@link ClickedBrandKitFont}
1378
+ */
1379
+ clickedBrandKitFont = "clickedBrandKitFont",
1380
+ /**
1381
+ * Corresponds to {@link ClickedAddBrandKitFile}
1382
+ */
1383
+ clickedAddBrandKitFile = "clickedAddBrandKitFile",
1384
+ /**
1385
+ * Corresponds to {@link ClickedSaveBrandKit}
1386
+ */
1387
+ clickedSaveBrandKit = "clickedSaveBrandKit"
1372
1388
  }
@@ -351,4 +351,8 @@ exports.ActionType = ActionType;
351
351
  ActionType["viewedToast"] = "viewedToast";
352
352
  ActionType["visitMyCollection"] = "visitMyCollection";
353
353
  ActionType["visitMyCollectionOnboardingSlide"] = "visitMyCollectionOnboardingSlide";
354
+ ActionType["clickedBrandKitColor"] = "clickedBrandKitColor";
355
+ ActionType["clickedBrandKitFont"] = "clickedBrandKitFont";
356
+ ActionType["clickedAddBrandKitFile"] = "clickedAddBrandKitFile";
357
+ ActionType["clickedSaveBrandKit"] = "clickedSaveBrandKit";
354
358
  })(ActionType || (exports.ActionType = ActionType = {}));
@@ -74,6 +74,7 @@ export declare enum ContextModule {
74
74
  auctionTab = "auctionTab",
75
75
  banner = "banner",
76
76
  bannerPopUp = "bannerPopUp",
77
+ brandKitEditor = "brandKitEditor",
77
78
  basedOnYourRecentSavesRail = "basedOnYourRecentSavesRail",
78
79
  boothsTab = "boothsTab",
79
80
  bottomTabs = "bottomTabs",
@@ -87,6 +88,7 @@ export declare enum ContextModule {
87
88
  collectorProfile = "collectorProfile",
88
89
  collectorProfileCard = "collectorProfileCard",
89
90
  completeMyProfileFlow = "completeMyProfileFlow",
91
+ connectedAppsList = "connectedAppsList",
90
92
  consignmentInquiryForm = "consignmentInquiryForm",
91
93
  consignSubmissionFlow = "consignSubmissionFlow",
92
94
  contactInformation = "contactInformation",
@@ -88,6 +88,7 @@ exports.ContextModule = ContextModule;
88
88
  ContextModule["auctionTab"] = "auctionTab";
89
89
  ContextModule["banner"] = "banner";
90
90
  ContextModule["bannerPopUp"] = "bannerPopUp";
91
+ ContextModule["brandKitEditor"] = "brandKitEditor";
91
92
  ContextModule["basedOnYourRecentSavesRail"] = "basedOnYourRecentSavesRail";
92
93
  ContextModule["boothsTab"] = "boothsTab";
93
94
  ContextModule["bottomTabs"] = "bottomTabs";
@@ -101,6 +102,7 @@ exports.ContextModule = ContextModule;
101
102
  ContextModule["collectorProfile"] = "collectorProfile";
102
103
  ContextModule["collectorProfileCard"] = "collectorProfileCard";
103
104
  ContextModule["completeMyProfileFlow"] = "completeMyProfileFlow";
105
+ ContextModule["connectedAppsList"] = "connectedAppsList";
104
106
  ContextModule["consignmentInquiryForm"] = "consignmentInquiryForm";
105
107
  ContextModule["consignSubmissionFlow"] = "consignSubmissionFlow";
106
108
  ContextModule["contactInformation"] = "contactInformation";
@@ -51,6 +51,7 @@ export declare enum OwnerType {
51
51
  auctionsOverview = "auctionsOverview",
52
52
  authModal = "authModal",
53
53
  basedOnYourRecentSaves = "basedOnYourRecentSaves",
54
+ brandSettings = "brandSettings",
54
55
  category = "category",
55
56
  cityGuideGuide = "cityGuideGuide",
56
57
  cityGuideMap = "cityGuideMap",
@@ -60,6 +61,7 @@ export declare enum OwnerType {
60
61
  collections = "collections",
61
62
  collectionsCategory = "collectionsCategory",
62
63
  confirmYourBid = "confirmYourBid",
64
+ connectedApps = "connectedApps",
63
65
  consign = "consign",
64
66
  consignmentFlow = "consignmentFlow",
65
67
  consignmentInquiry = "consignmentInquiry",
@@ -69,6 +69,7 @@ exports.OwnerType = OwnerType;
69
69
  OwnerType["auctionsOverview"] = "auctionsOverview";
70
70
  OwnerType["authModal"] = "authModal";
71
71
  OwnerType["basedOnYourRecentSaves"] = "basedOnYourRecentSaves";
72
+ OwnerType["brandSettings"] = "brandSettings";
72
73
  OwnerType["category"] = "category";
73
74
  OwnerType["cityGuideGuide"] = "cityGuideGuide";
74
75
  OwnerType["cityGuideMap"] = "cityGuideMap";
@@ -78,6 +79,7 @@ exports.OwnerType = OwnerType;
78
79
  OwnerType["collections"] = "collections";
79
80
  OwnerType["collectionsCategory"] = "collectionsCategory";
80
81
  OwnerType["confirmYourBid"] = "confirmYourBid";
82
+ OwnerType["connectedApps"] = "connectedApps";
81
83
  OwnerType["consign"] = "consign";
82
84
  OwnerType["consignmentFlow"] = "consignmentFlow";
83
85
  OwnerType["consignmentInquiry"] = "consignmentInquiry";
@@ -53,7 +53,9 @@ export * from "./CMS/Events/UploadArtworkFlow";
53
53
  export * from "./os/Events";
54
54
  export * from "./os/Values/OsContextModule";
55
55
  export * from "./os/Values/OsOwnerType";
56
+ export * from "./os/Events/ConnectedAppsFlow";
56
57
  export * from "./os/Events/Click";
57
58
  export * from "./os/Events/InventoryTable";
58
59
  export * from "./os/Events/MultiAddFlow";
60
+ export * from "./os/Events/BrandKit";
59
61
  export * from "./os/Events/Submit";
@@ -556,6 +556,18 @@ Object.keys(_OsOwnerType).forEach(function (key) {
556
556
  });
557
557
  });
558
558
 
559
+ var _ConnectedAppsFlow = require("./os/Events/ConnectedAppsFlow");
560
+
561
+ Object.keys(_ConnectedAppsFlow).forEach(function (key) {
562
+ if (key === "default" || key === "__esModule") return;
563
+ Object.defineProperty(exports, key, {
564
+ enumerable: true,
565
+ get: function get() {
566
+ return _ConnectedAppsFlow[key];
567
+ }
568
+ });
569
+ });
570
+
559
571
  var _Click2 = require("./os/Events/Click");
560
572
 
561
573
  Object.keys(_Click2).forEach(function (key) {
@@ -592,6 +604,18 @@ Object.keys(_MultiAddFlow).forEach(function (key) {
592
604
  });
593
605
  });
594
606
 
607
+ var _BrandKit = require("./os/Events/BrandKit");
608
+
609
+ Object.keys(_BrandKit).forEach(function (key) {
610
+ if (key === "default" || key === "__esModule") return;
611
+ Object.defineProperty(exports, key, {
612
+ enumerable: true,
613
+ get: function get() {
614
+ return _BrandKit[key];
615
+ }
616
+ });
617
+ });
618
+
595
619
  var _Submit = require("./os/Events/Submit");
596
620
 
597
621
  Object.keys(_Submit).forEach(function (key) {
@@ -0,0 +1,97 @@
1
+ import { ActionType } from "../../Events";
2
+ import { OsContextModule } from "../Values/OsContextModule";
3
+ import { OsOwnerType } from "../Values/OsOwnerType";
4
+ /**
5
+ * Schemas describing Art OS Brand Kit events
6
+ * @packageDocumentation
7
+ */
8
+ /**
9
+ * User clicks on a brand kit color option
10
+ *
11
+ * This schema describes events sent to Segment from [[clickedBrandKitColor]]
12
+ *
13
+ * @example
14
+ * ```
15
+ * {
16
+ * action: "clickedBrandKitColor",
17
+ * context_module: "brandKitEditor",
18
+ * context_page_owner_type: "brandSettings",
19
+ * field: "text",
20
+ * value: "#999be6"
21
+ * }
22
+ * ```
23
+ */
24
+ export interface ClickedBrandKitColor {
25
+ action: ActionType.clickedBrandKitColor;
26
+ context_module: OsContextModule.brandKit;
27
+ context_page_owner_type: OsOwnerType.studio;
28
+ field: string;
29
+ value: string;
30
+ }
31
+ /**
32
+ * User clicks on a brand kit font option
33
+ *
34
+ * This schema describes events sent to Segment from [[clickedBrandKitFont]]
35
+ *
36
+ * @example
37
+ * ```
38
+ * {
39
+ * action: "clickedBrandKitFont",
40
+ * context_module: "brandKitEditor",
41
+ * context_page_owner_type: "brandSettings",
42
+ * field: "font_family",
43
+ * value: "Courier"
44
+ * }
45
+ * ```
46
+ */
47
+ export interface ClickedBrandKitFont {
48
+ action: ActionType.clickedBrandKitFont;
49
+ context_module: OsContextModule.brandKit;
50
+ context_page_owner_type: OsOwnerType.studio;
51
+ field: string;
52
+ value: string;
53
+ }
54
+ /**
55
+ * User clicks to add a brand kit file
56
+ *
57
+ * This schema describes events sent to Segment from [[clickedAddBrandKitFile]]
58
+ *
59
+ * @example
60
+ * ```
61
+ * {
62
+ * action: "clickedAddBrandKitFile",
63
+ * context_module: "brandKitEditor",
64
+ * context_page_owner_type: "brandSettings",
65
+ * label: "brand kit logo",
66
+ * field: "file",
67
+ * value: "filename.png"
68
+ * }
69
+ * ```
70
+ */
71
+ export interface ClickedAddBrandKitFile {
72
+ action: ActionType.clickedAddBrandKitFile;
73
+ context_module: OsContextModule.brandKit;
74
+ context_page_owner_type: OsOwnerType.studio;
75
+ label: string;
76
+ field: string;
77
+ value: string;
78
+ }
79
+ /**
80
+ * User clicks to save brand kit settings
81
+ *
82
+ * This schema describes events sent to Segment from [[clickedSaveBrandKit]]
83
+ *
84
+ * @example
85
+ * ```
86
+ * {
87
+ * action: "clickedSaveBrandKit",
88
+ * context_module: "brandKitEditor",
89
+ * context_page_owner_type: "brandSettings"
90
+ * }
91
+ * ```
92
+ */
93
+ export interface ClickedSaveBrandKit {
94
+ action: ActionType.clickedSaveBrandKit;
95
+ context_module: OsContextModule.brandKit;
96
+ context_page_owner_type: OsOwnerType.studio;
97
+ }
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Schemas describing Art OS Connected Apps flow events
3
+ * @packageDocumentation
4
+ */
5
+ import { OsContextModule } from "../Values/OsContextModule";
6
+ import { OsOwnerType } from "../Values/OsOwnerType";
7
+ import { OsActionType } from "./index";
8
+ /**
9
+ * A partner clicks the Connect or Disconnect button on a connected-account card.
10
+ *
11
+ * @example
12
+ * ```
13
+ * {
14
+ * action: "clickedConnectAccount",
15
+ * context_module: "connectedAppsList",
16
+ * context_page_owner_type: "connectedApps",
17
+ * label: "instagram",
18
+ * value: "connect"
19
+ * }
20
+ * ```
21
+ */
22
+ export interface ClickedConnectAccount {
23
+ action: OsActionType.clickedConnectAccount;
24
+ context_module: OsContextModule.connectedAppsList;
25
+ context_page_owner_type: OsOwnerType.connectedApps;
26
+ label: "instagram" | "mailchimp";
27
+ value: "connect" | "disconnect";
28
+ }
29
+ /**
30
+ * A partner clicks a button inside the connect or disconnect confirmation modal.
31
+ *
32
+ * @example
33
+ * ```
34
+ * {
35
+ * action: "clickedConnectAccountModal",
36
+ * context_module: "connectModal",
37
+ * context_page_owner_type: "connectedApps",
38
+ * label: "instagram connection modal",
39
+ * value: "connect"
40
+ * }
41
+ * ```
42
+ */
43
+ export interface ClickedConnectAccountModal {
44
+ action: OsActionType.clickedConnectAccountModal;
45
+ context_module: OsContextModule.connectModal;
46
+ context_page_owner_type: OsOwnerType.connectedApps;
47
+ label: "instagram connection modal" | "mailchimp connection modal";
48
+ value: "connect" | "disconnect" | "cancel";
49
+ }
50
+ export type OsConnectedAppsFlow = ClickedConnectAccount | ClickedConnectAccountModal;
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,6 @@
1
+ import { ClickedAddBrandKitFile, ClickedBrandKitColor, ClickedBrandKitFont, ClickedSaveBrandKit } from "./BrandKit";
1
2
  import { OsClickEvent } from "./Click";
3
+ import { OsConnectedAppsFlow } from "./ConnectedAppsFlow";
2
4
  import { OsInventoryTable } from "./InventoryTable";
3
5
  import { OsMultiAddFlow } from "./MultiAddFlow";
4
6
  import { OsSubmitEvent } from "./Submit";
@@ -7,7 +9,7 @@ import { OsSubmitEvent } from "./Submit";
7
9
  *
8
10
  * Each event describes one ActionType
9
11
  */
10
- export type OsEvent = OsClickEvent | OsInventoryTable | OsMultiAddFlow | OsSubmitEvent;
12
+ export type OsEvent = OsMultiAddFlow | ClickedBrandKitColor | ClickedBrandKitFont | ClickedAddBrandKitFile | ClickedSaveBrandKit | OsConnectedAppsFlow | OsClickEvent | OsInventoryTable | OsMultiAddFlow | OsSubmitEvent;
11
13
  /**
12
14
  * List of all Art OS actions
13
15
  *
@@ -51,6 +53,14 @@ export declare enum OsActionType {
51
53
  * Corresponds to {@link OsInventoryTable}
52
54
  */
53
55
  clickedEditionSetRow = "clickedEditionSetRow",
56
+ /**
57
+ * Corresponds to {@link ClickedConnectAccount}
58
+ */
59
+ clickedConnectAccount = "clickedConnectAccount",
60
+ /**
61
+ * Corresponds to {@link ClickedConnectAccountModal}
62
+ */
63
+ clickedConnectAccountModal = "clickedConnectAccountModal",
54
64
  /**
55
65
  * Corresponds to {@link ClickedExitDropZone}
56
66
  */
@@ -30,6 +30,8 @@ exports.OsActionType = OsActionType;
30
30
  OsActionType["clickedArtworkRow"] = "clickedArtworkRow";
31
31
  OsActionType["clickedCancelBulkEdit"] = "clickedCancelBulkEdit";
32
32
  OsActionType["clickedEditionSetRow"] = "clickedEditionSetRow";
33
+ OsActionType["clickedConnectAccount"] = "clickedConnectAccount";
34
+ OsActionType["clickedConnectAccountModal"] = "clickedConnectAccountModal";
33
35
  OsActionType["clickedExitDropZone"] = "clickedExitDropZone";
34
36
  OsActionType["clickedImagesModal"] = "clickedImagesModal";
35
37
  OsActionType["completedArtworkImport"] = "completedArtworkImport";
@@ -10,10 +10,13 @@ export declare enum OsContextModule {
10
10
  actionsDropdown = "actionsDropdown",
11
11
  artworkTable = "artworkTable",
12
12
  bulkEditDrawer = "bulkEditDrawer",
13
+ connectedAppsList = "connectedAppsList",
14
+ connectModal = "connectModal",
13
15
  deleteModal = "deleteModal",
14
16
  distributeModal = "distributeModal",
15
17
  documentsModal = "documentsModal",
16
18
  imagesModal = "imagesModal",
17
19
  multiAdd = "multiAdd",
18
- multiAddReview = "multiAddReview"
20
+ multiAddReview = "multiAddReview",
21
+ brandKit = "brandKit"
19
22
  }
@@ -20,10 +20,13 @@ exports.OsContextModule = OsContextModule;
20
20
  OsContextModule["actionsDropdown"] = "actionsDropdown";
21
21
  OsContextModule["artworkTable"] = "artworkTable";
22
22
  OsContextModule["bulkEditDrawer"] = "bulkEditDrawer";
23
+ OsContextModule["connectedAppsList"] = "connectedAppsList";
24
+ OsContextModule["connectModal"] = "connectModal";
23
25
  OsContextModule["deleteModal"] = "deleteModal";
24
26
  OsContextModule["distributeModal"] = "distributeModal";
25
27
  OsContextModule["documentsModal"] = "documentsModal";
26
28
  OsContextModule["imagesModal"] = "imagesModal";
27
29
  OsContextModule["multiAdd"] = "multiAdd";
28
30
  OsContextModule["multiAddReview"] = "multiAddReview";
31
+ OsContextModule["brandKit"] = "brandKit";
29
32
  })(OsContextModule || (exports.OsContextModule = OsContextModule = {}));
@@ -4,6 +4,8 @@
4
4
  * @packageDocumentation
5
5
  */
6
6
  export declare enum OsOwnerType {
7
+ connectedApps = "connectedApps",
7
8
  list = "list",
8
- inventory = "inventory"
9
+ inventory = "inventory",
10
+ studio = "studio"
9
11
  }
@@ -14,6 +14,8 @@ var OsOwnerType;
14
14
  exports.OsOwnerType = OsOwnerType;
15
15
 
16
16
  (function (OsOwnerType) {
17
+ OsOwnerType["connectedApps"] = "connectedApps";
17
18
  OsOwnerType["list"] = "list";
18
19
  OsOwnerType["inventory"] = "inventory";
20
+ OsOwnerType["studio"] = "studio";
19
21
  })(OsOwnerType || (exports.OsOwnerType = OsOwnerType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.365.0",
3
+ "version": "4.367.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {