@hiver/connector-admin 4.21.3 → 4.22.0-ghlSubAccountMapping-beta.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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/settings/visibility/index.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,UAAU,kBAAkB;IAC1B,aAAa,EAAE,iBAAiB,GAAG,IAAI,CAAC;CACzC;AAED,eAAO,MAAM,kBAAkB,sBAAuB,kBAAkB,4CAuCvE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/settings/visibility/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,UAAU,kBAAkB;IAC1B,aAAa,EAAE,iBAAiB,GAAG,IAAI,CAAC;CACzC;AAED,eAAO,MAAM,kBAAkB,sBAAuB,kBAAkB,4CAwCvE,CAAC"}
@@ -23,4 +23,26 @@ export declare const patchConnectorById: ({ connectorId, data }: {
23
23
  connectorId: string;
24
24
  data: UpdateConnectorRequestBody;
25
25
  }) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
26
+ /**
27
+ * Sub-accounts this agency install holds credentials for.
28
+ *
29
+ * Returned by the connector service from the credentials it minted, not by
30
+ * asking the provider live — there is no endpoint that lists an agency's
31
+ * sub-accounts without an agency token, and the admin panel has none.
32
+ */
33
+ export declare const getAgencySubAccounts: (connectorType: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
34
+ /** Every shared mailbox's configuration for this connector type. */
35
+ export declare const getConnectorAdminConfigs: (connectorType: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
36
+ /**
37
+ * Write one shared mailbox's sub-account mapping.
38
+ *
39
+ * The whole `config` is re-sent rather than just location_ids: the same
40
+ * subdocument carries visibility and role access, and a partial write would
41
+ * drop whatever the mapping modal never loaded.
42
+ */
43
+ export declare const updateConnectorAdminConfig: ({ connectorType, configId, config }: {
44
+ connectorType: string;
45
+ configId: string;
46
+ config: Record<string, unknown>;
47
+ }) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
26
48
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/api/index.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACrB,0BAA0B,EAC1B,gBAAgB,EACjB,MAAM,mBAAmB,CAAC;AAG3B,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,aAAa,oEAKzB,CAAC;AAEF,eAAO,MAAM,sBAAsB,oBAAqB,uBAAuB,iEAM9E,CAAC;AAEF,eAAO,MAAM,kBAAkB,gBAAiB,MAAM,iEAMrD,CAAC;AAEF,eAAO,MAAM,yBAAyB,qBAAsB;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,qBAAqB,CAAA;CAAE,iEAM1G,CAAC;AAEF,eAAO,MAAM,oBAAoB,WAAY,MAAM,iEAKlD,CAAC;AAEF,eAAO,MAAM,cAAc,gBAAiB,MAAM,iEAKjD,CAAC;AAEF,eAAO,MAAM,eAAe,0BAA2B;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,qBAAqB,CAAA;CAAE,iEAM1G,CAAC;AAEF,eAAO,MAAM,eAAe,gBAAiB,MAAM,iEAKlD,CAAC;AAEF,eAAO,MAAM,gBAAgB,gBAAiB,MAAM,iEAKnD,CAAC;AAEF,eAAO,MAAM,gBAAgB,YAAa,gBAAgB,EAAE,iEAM3D,CAAC;AAEF,eAAO,MAAM,kBAAkB,0BAG5B;IACD,WAAW,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wB,kBAAmB,MAAM,iEAK7D,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,wCAIpC;IACD,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACjC,iEAMA,CAAC"}
@@ -0,0 +1,15 @@
1
+ interface SubAccountMappingProps {
2
+ connectorType: string;
3
+ }
4
+ /**
5
+ * Maps each shared inbox to the provider sub-accounts it works with.
6
+ *
7
+ * Only rendered for agency installs: an install that covers a single
8
+ * sub-account has nothing to choose between, and the row would be a setting
9
+ * that cannot change anything. That is decided by whether the connector
10
+ * reports more than one sub-account, not by a flag, so it appears exactly when
11
+ * it becomes meaningful.
12
+ */
13
+ export declare const SubAccountMapping: ({ connectorType }: SubAccountMappingProps) => import("react/jsx-runtime").JSX.Element | null;
14
+ export {};
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/sub-account-mapping/index.tsx"],"names":[],"mappings":"AAwBA,UAAU,sBAAsB;IAC9B,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,sBAAuB,sBAAsB,mDAqI1E,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { IAgencySubAccount, ISubAccountMapping } from '../../../../types/connector';
2
+ import { IInboxData } from '../../../../types/exposedTypes';
3
+ interface SubAccountMappingModalProps {
4
+ shown: boolean;
5
+ setShown: (value: boolean) => void;
6
+ inboxes: IInboxData[];
7
+ subAccounts: IAgencySubAccount[];
8
+ /** The saved mapping. The modal edits a copy so Cancel really cancels. */
9
+ mapping: ISubAccountMapping;
10
+ isSaving: boolean;
11
+ onSave: (mapping: ISubAccountMapping) => void;
12
+ }
13
+ export declare const SubAccountMappingModal: ({ shown, setShown, inboxes, subAccounts, mapping, isSaving, onSave }: SubAccountMappingModalProps) => import("react/jsx-runtime").JSX.Element;
14
+ export {};
15
+ //# sourceMappingURL=mapping-modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapping-modal.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/sub-account-mapping/mapping-modal.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC/E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,UAAU,2BAA2B;IACnC,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC,0EAA0E;IAC1E,OAAO,EAAE,kBAAkB,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC/C;AAgBD,eAAO,MAAM,sBAAsB,yEAQhC,2BAA2B,4CAyL7B,CAAC"}
@@ -0,0 +1,154 @@
1
+ export declare const FIGMA: {
2
+ /**
3
+ * Bound to the admin theme's CSS variables rather than the Figma hex values.
4
+ *
5
+ * The design is drawn in light mode, and its literals are light-mode
6
+ * literals — a white surface and #171717 text render as white-on-white the
7
+ * moment the admin panel is in dark mode, which is exactly what happened
8
+ * here. Every variable below already carries both values, so the design
9
+ * matches in light and stays legible in dark without a second palette.
10
+ *
11
+ * The Figma value each one replaces is noted, so a drift is checkable:
12
+ * where the design's light value and the theme's light value differ, the
13
+ * theme wins, because being consistent with the surrounding page matters
14
+ * more than matching a swatch the rest of the screen does not use.
15
+ */
16
+ readonly color: {
17
+ /** white → the card and modal surface */
18
+ readonly surface: "var(--connector-admin-surface)";
19
+ /** #fafafa → column header strip, avatar well */
20
+ readonly surfaceSubtle: "var(--connector-admin-surface-subtle)";
21
+ /** #f5f5f5 → modal header bar */
22
+ readonly surfaceSoft: "var(--connector-admin-surface-subtle)";
23
+ /** #eee → hairlines between rows and around containers */
24
+ readonly borderSubtle: "var(--connector-admin-border)";
25
+ /** #e0e0e0 → the modal's outer edge */
26
+ readonly borderSoft: "var(--connector-admin-border)";
27
+ /** #d4d4d4 → the select field's border */
28
+ readonly borderDefault: "var(--connector-admin-input-border)";
29
+ /** #171717 → card and modal titles */
30
+ readonly textStrong: "var(--connector-admin-text-primary)";
31
+ /** #404040 → row labels and tag text */
32
+ readonly textDefault: "var(--connector-admin-text-secondary)";
33
+ /** #737373 → the card subtitle */
34
+ readonly textSoft: "var(--connector-admin-text-tertiary)";
35
+ /** #a3a3a3 → the Select placeholder */
36
+ readonly textSubtle: "var(--connector-admin-input-placeholder)";
37
+ /** #6f7c90 → column headers. Identical to the theme's light textTertiary. */
38
+ readonly tableHeader: "var(--connector-admin-text-tertiary)";
39
+ /** #eee → the tag chip fill */
40
+ readonly tagBg: "var(--connector-admin-surface-hover)";
41
+ };
42
+ readonly radius: {
43
+ readonly sm: "6px";
44
+ readonly md: "8px";
45
+ readonly lg: "16px";
46
+ };
47
+ /** elevation/md — two stacked drop shadows, not MUI's default Paper elevation. */
48
+ readonly shadow: "0px 2px 4px -2px rgba(16, 24, 40, 0.06), 0px 4px 8px -2px rgba(16, 24, 40, 0.1)";
49
+ readonly font: {
50
+ /** body/md/medium */
51
+ readonly titleMd: {
52
+ readonly fontFamily: "'Inter', sans-serif";
53
+ readonly fontSize: "14px";
54
+ readonly lineHeight: "20px";
55
+ readonly fontWeight: 500;
56
+ };
57
+ /** body/lg/medium — modal title */
58
+ readonly titleLg: {
59
+ readonly fontFamily: "'Inter', sans-serif";
60
+ readonly fontSize: "16px";
61
+ readonly lineHeight: "24px";
62
+ readonly fontWeight: 500;
63
+ };
64
+ /** body/sm/regular */
65
+ readonly bodySm: {
66
+ readonly fontFamily: "'Inter', sans-serif";
67
+ readonly fontSize: "13px";
68
+ readonly lineHeight: "19px";
69
+ readonly fontWeight: 400;
70
+ };
71
+ /** body/sm/medium — button labels, tag labels */
72
+ readonly labelSm: {
73
+ readonly fontFamily: "'Inter', sans-serif";
74
+ readonly fontSize: "13px";
75
+ readonly lineHeight: "19px";
76
+ readonly fontWeight: 500;
77
+ };
78
+ /** body/md/regular — the Select placeholder */
79
+ readonly placeholder: {
80
+ readonly fontFamily: "'Inter', sans-serif";
81
+ readonly fontSize: "14px";
82
+ readonly lineHeight: "20px";
83
+ readonly fontWeight: 400;
84
+ };
85
+ /** h4/SemiBold — table column headers, the one place this design is not Inter */
86
+ readonly columnHeader: {
87
+ readonly fontFamily: "'Open Sans', sans-serif";
88
+ readonly fontSize: "13px";
89
+ readonly lineHeight: "16px";
90
+ readonly fontWeight: 600;
91
+ };
92
+ };
93
+ };
94
+ /**
95
+ * Both buttons reuse the kit's own variants — `outlined` + `color="tertiary"`
96
+ * for Cancel and Edit mapping, `contained` for Save — exactly as the Customer
97
+ * identity mapping card does. Nothing here restyles them: overriding a variant
98
+ * without also overriding every interaction state is what produced a
99
+ * white-on-white hover and an off-looking Save.
100
+ */
101
+ /**
102
+ * The multi-select field. The kit's Select renders MUI's notched outline, a
103
+ * 4px radius and its own 16px type — none of which is this field, so the
104
+ * outline is removed and the border redrawn on the root.
105
+ */
106
+ export declare const tagsInputSx: {
107
+ '& .MuiOutlinedInput-notchedOutline': {
108
+ border: string;
109
+ };
110
+ '& .MuiSelect-select': {
111
+ padding: string;
112
+ height: string;
113
+ display: string;
114
+ alignItems: string;
115
+ boxSizing: "border-box";
116
+ };
117
+ '& .MuiSelect-icon': {
118
+ width: string;
119
+ height: string;
120
+ right: string;
121
+ top: string;
122
+ pointerEvents: "none";
123
+ };
124
+ fontFamily: "'Inter', sans-serif";
125
+ fontSize: "13px";
126
+ lineHeight: "19px";
127
+ fontWeight: 400;
128
+ width: string;
129
+ height: string;
130
+ background: string;
131
+ borderRadius: "8px";
132
+ border: string;
133
+ };
134
+ /** Menu surface for the field above — kit defaults are 4px radius, no border. */
135
+ export declare const tagsMenuProps: {
136
+ PaperProps: {
137
+ sx: {
138
+ marginTop: string;
139
+ borderRadius: "8px";
140
+ border: string;
141
+ boxShadow: "0px 2px 4px -2px rgba(16, 24, 40, 0.06), 0px 4px 8px -2px rgba(16, 24, 40, 0.1)";
142
+ '& .MuiMenuItem-root': {
143
+ color: "var(--connector-admin-text-secondary)";
144
+ minHeight: string;
145
+ gap: string;
146
+ fontFamily: "'Inter', sans-serif";
147
+ fontSize: "13px";
148
+ lineHeight: "19px";
149
+ fontWeight: 400;
150
+ };
151
+ };
152
+ };
153
+ };
154
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/sub-account-mapping/styles.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,KAAK;IAChB;;;;;;;;;;;;;OAaG;;QAED,yCAAyC;;QAEzC,iDAAiD;;QAEjD,iCAAiC;;QAEjC,0DAA0D;;QAE1D,uCAAuC;;QAEvC,0CAA0C;;QAE1C,sCAAsC;;QAEtC,wCAAwC;;QAExC,kCAAkC;;QAElC,uCAAuC;;QAEvC,6EAA6E;;QAE7E,+BAA+B;;;;;;;;IAIjC,kFAAkF;;;QAGhF,qBAAqB;;;;;;;QAErB,mCAAmC;;;;;;;QAEnC,sBAAsB;;;;;;;QAEtB,iDAAiD;;;;;;;QAEjD,+CAA+C;;;;;;;QAE/C,iFAAiF;;;;;;;;CAG3E,CAAC;AAEX;;;;;;GAMG;AACH;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBvB,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;CAezB,CAAC"}
@@ -25,4 +25,8 @@ export declare const getRolesPermissionFunc: () => {
25
25
  isV2: boolean;
26
26
  apiPath: string;
27
27
  };
28
+ export declare const CONNECTOR_ADMIN_BASE = "/v1/connectors/:connectorType";
29
+ export declare const AGENCY_LOCATIONS_API = "/v1/connectors/:connectorType/admin/agency/locations";
30
+ export declare const CONNECTOR_ADMIN_CONFIGS_API = "/v1/connectors/:connectorType/admin/configs";
31
+ export declare const CONNECTOR_ADMIN_CONFIG_BY_ID_API = "/v1/connectors/:connectorType/admin/configs/:configId";
28
32
  //# sourceMappingURL=api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/constants/api.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,EAAE,MAAsC,CAAC;AACpE,eAAO,MAAM,sBAAsB,EAAE,MAAmD,CAAC;AACzF,eAAO,MAAM,qBAAqB,EAAE,MAA0C,CAAC;AAC/E,eAAO,MAAM,gBAAgB,QAAoC,CAAC;AAClE,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,oBAAoB,QAAkD,CAAC;AACpF,eAAO,MAAM,uBAAuB,QAAyD,CAAC;AAC9F,eAAO,MAAM,gBAAgB,QAAuD,CAAC;AACrF,eAAO,MAAM,kBAAkB,QAAuD,CAAC;AAEvF,eAAO,MAAM,iBAAiB,QAAiD,CAAC;AAChF,eAAO,MAAM,kBAAkB,QAAyD,CAAC;AACzF,eAAO,MAAM,kBAAkB,QAAyC,CAAC;AACzE,eAAO,MAAM,iBAAiB,EAAE,MAAuE,CAAC;AACxG,eAAO,MAAM,aAAa,EAAE,MAAuD,CAAC;AACpF,eAAO,MAAM,cAAc,EAAE,MAAiD,CAAC;AAC/E,eAAO,MAAM,uBAAuB,EAAE,MAAsD,CAAC;AAC7F,eAAO,MAAM,0BAA0B,EAAE,MAA4C,CAAC;AACtF,eAAO,MAAM,iBAAiB,QAAoD,CAAC;AACnF,eAAO,MAAM,iBAAiB,QAAmE,CAAC;AAElG,eAAO,MAAM,YAAY;;;CAExB,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;CAElC,CAAC"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/constants/api.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,EAAE,MAAsC,CAAC;AACpE,eAAO,MAAM,sBAAsB,EAAE,MAAmD,CAAC;AACzF,eAAO,MAAM,qBAAqB,EAAE,MAA0C,CAAC;AAC/E,eAAO,MAAM,gBAAgB,QAAoC,CAAC;AAClE,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,oBAAoB,QAAkD,CAAC;AACpF,eAAO,MAAM,uBAAuB,QAAyD,CAAC;AAC9F,eAAO,MAAM,gBAAgB,QAAuD,CAAC;AACrF,eAAO,MAAM,kBAAkB,QAAuD,CAAC;AAEvF,eAAO,MAAM,iBAAiB,QAAiD,CAAC;AAChF,eAAO,MAAM,kBAAkB,QAAyD,CAAC;AACzF,eAAO,MAAM,kBAAkB,QAAyC,CAAC;AACzE,eAAO,MAAM,iBAAiB,EAAE,MAAuE,CAAC;AACxG,eAAO,MAAM,aAAa,EAAE,MAAuD,CAAC;AACpF,eAAO,MAAM,cAAc,EAAE,MAAiD,CAAC;AAC/E,eAAO,MAAM,uBAAuB,EAAE,MAAsD,CAAC;AAC7F,eAAO,MAAM,0BAA0B,EAAE,MAA4C,CAAC;AACtF,eAAO,MAAM,iBAAiB,QAAoD,CAAC;AACnF,eAAO,MAAM,iBAAiB,QAAmE,CAAC;AAElG,eAAO,MAAM,YAAY;;;CAExB,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;CAElC,CAAC;AAKF,eAAO,MAAM,oBAAoB,kCAAkC,CAAC;AACpE,eAAO,MAAM,oBAAoB,yDAAmD,CAAC;AACrF,eAAO,MAAM,2BAA2B,gDAA0C,CAAC;AACnF,eAAO,MAAM,gCAAgC,0DAAoD,CAAC"}
@@ -41,4 +41,17 @@ export declare const LOOKUP_SAVE_SUCCESS = "Customer identity mapping saved";
41
41
  export declare const LOOKUP_SAVE_FAIL = "Failed to save. Please try again.";
42
42
  export declare const FIELD_MAP_BUTTON_LABEL = "Pre-fill fields";
43
43
  export declare const AUTH_REQUIRED_MSG = "Authentication required";
44
+ export declare const SUB_ACCOUNT_MAPPING_TITLE = "Sub-Account mapping";
45
+ export declare const SUB_ACCOUNT_MAPPING_SUBTITLE = "Map Shared Inboxes in Hiver with the Sub-Accounts in Go High Level";
46
+ export declare const SUB_ACCOUNT_MAPPING_ADD = "Add mapping";
47
+ export declare const SUB_ACCOUNT_MAPPING_EDIT = "Edit mapping";
48
+ export declare const SUB_ACCOUNT_MAPPING_MODAL_TITLE = "Sub-Account Mapping";
49
+ export declare const SUB_ACCOUNT_MAPPING_INBOX_COLUMN = "Shared Inbox";
50
+ export declare const SUB_ACCOUNT_MAPPING_ACCOUNT_COLUMN = "Sub-Account in GoHighLevel";
51
+ export declare const SUB_ACCOUNT_MAPPING_PLACEHOLDER = "Select";
52
+ export declare const SUB_ACCOUNT_MAPPING_CANCEL = "Cancel";
53
+ export declare const SUB_ACCOUNT_MAPPING_SAVE = "Save";
54
+ export declare const SUB_ACCOUNT_MAPPING_SAVE_SUCCESS = "Sub-Accounts mapped successfully";
55
+ export declare const SUB_ACCOUNT_MAPPING_SAVE_FAIL = "Could not save the Sub-Account mapping. Please try again.";
56
+ export declare const SUB_ACCOUNT_MAPPING_MAX = 5;
44
57
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,EAAE,MAA6B,CAAC;AAC9D,eAAO,MAAM,uBAAuB,EAAE,MAAwC,CAAC;AAC/E,eAAO,MAAM,+BAA+B,EAAE,MACwC,CAAC;AACvF,eAAO,MAAM,6BAA6B,EAAE,MAA2B,CAAC;AACxE,eAAO,MAAM,qCAAqC,EAAE,MACoE,CAAC;AAEzH,eAAO,MAAM,+C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,MAC2D,CAAC;AAE9F,eAAO,MAAM,+BAA+B,8BAA8B,CAAC;AAC3E,eAAO,MAAM,kCAAkC,uFACuC,CAAC;AACvF,eAAO,MAAM,8BAA8B,SAAS,CAAC;AACrD,eAAO,MAAM,8BAA8B,SAAS,CAAC;AACrD,eAAO,MAAM,gCAAgC,WAAW,CAAC;AACzD,eAAO,MAAM,iCAAiC,sBAAsB,CAAC;AACrE,eAAO,MAAM,mBAAmB,oCAAoC,CAAC;AACrE,eAAO,MAAM,gBAAgB,sCAAsC,CAAC;AACpE,eAAO,MAAM,sBAAsB,oBAAoB,CAAC;AACxD,eAAO,MAAM,iBAAiB,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,EAAE,MAA6B,CAAC;AAC9D,eAAO,MAAM,uBAAuB,EAAE,MAAwC,CAAC;AAC/E,eAAO,MAAM,+BAA+B,EAAE,MACwC,CAAC;AACvF,eAAO,MAAM,6BAA6B,EAAE,MAA2B,CAAC;AACxE,eAAO,MAAM,qCAAqC,EAAE,MACoE,CAAC;AAEzH,eAAO,MAAM,+CAA+C,EAAE,MACK,CAAC;AACpE,eAAO,MAAM,sBAAsB,EAAE,MAAqD,CAAC;AAC3F,eAAO,MAAM,uBAAuB,EAAE,MAAsC,CAAC;AAC7E,eAAO,MAAM,wBAAwB,EAAE,MAA2B,CAAC;AACnE,eAAO,MAAM,kBAAkB,EAAE,MAA+B,CAAC;AACjE,eAAO,MAAM,kBAAkB,EAAE,MAA0B,CAAC;AAC5D,eAAO,MAAM,uBAAuB,EAAE,MAAsB,CAAC;AAC7D,eAAO,MAAM,UAAU,EAAE,MAAgB,CAAC;AAC1C,eAAO,MAAM,UAAU,EAAE,MAAgB,CAAC;AAC1C,eAAO,MAAM,gBAAgB,EAAE,MAAqB,CAAC;AACrD,eAAO,MAAM,KAAK,EAAE,MAAgB,CAAC;A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