@zapier/zapier-sdk 0.84.3 → 0.84.4
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 +6 -0
- package/README.md +125 -121
- package/dist/experimental.cjs +7 -1
- package/dist/experimental.d.mts +26 -2
- package/dist/experimental.d.ts +26 -2
- package/dist/experimental.mjs +7 -1
- package/dist/{index-B6Hbs-2p.d.mts → index-ChZuXQDn.d.mts} +39 -0
- package/dist/{index-B6Hbs-2p.d.ts → index-ChZuXQDn.d.ts} +39 -0
- package/dist/index.cjs +7 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +7 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @zapier/zapier-sdk
|
|
2
2
|
|
|
3
|
+
## 0.84.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 840aca3: Added a `slug` field (e.g. `"google-sheets"`) to connection items returned by `getConnection`, `listConnections`, `findFirstConnection`, and `findUniqueConnection` (and their deprecated `listAuthentications` / `getAuthentication` / `findFirstAuthentication` / `findUniqueAuthentication` aliases).
|
|
8
|
+
|
|
3
9
|
## 0.84.3
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1863,36 +1863,37 @@ Find the first connection matching the criteria
|
|
|
1863
1863
|
|
|
1864
1864
|
**Returns:** `Promise<ConnectionItem>`
|
|
1865
1865
|
|
|
1866
|
-
| Name | Type | Required | Possible Values | Description
|
|
1867
|
-
| ------------------------------ | --------- | -------- | --------------- |
|
|
1868
|
-
| `data` | `object` | ✅ | — |
|
|
1869
|
-
| ↳ `id` | `string` | ✅ | — | Unique identifier for the connection
|
|
1870
|
-
| ↳ `date` | `string` | ✅ | — | Date created
|
|
1871
|
-
| ↳ `lastchanged` | `string` | ❌ | — | Date last changed
|
|
1872
|
-
| ↳ `account_id` | `string` | ✅ | — | Account ID associated with this connection
|
|
1873
|
-
| ↳ `
|
|
1874
|
-
| ↳ `
|
|
1875
|
-
| ↳ `
|
|
1876
|
-
| ↳ `
|
|
1877
|
-
| ↳ `
|
|
1878
|
-
| ↳ `
|
|
1879
|
-
| ↳ `
|
|
1880
|
-
| ↳ `
|
|
1881
|
-
| ↳ `
|
|
1882
|
-
| ↳ `
|
|
1883
|
-
| ↳ `
|
|
1884
|
-
| ↳ `
|
|
1885
|
-
| ↳ `
|
|
1886
|
-
| ↳ `
|
|
1887
|
-
| ↳ `
|
|
1888
|
-
| ↳ `
|
|
1889
|
-
| ↳ `
|
|
1890
|
-
| ↳ `
|
|
1891
|
-
| ↳ `
|
|
1892
|
-
| ↳ `
|
|
1893
|
-
| ↳ `
|
|
1894
|
-
| ↳ `
|
|
1895
|
-
| ↳ `
|
|
1866
|
+
| Name | Type | Required | Possible Values | Description |
|
|
1867
|
+
| ------------------------------ | --------- | -------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------ |
|
|
1868
|
+
| `data` | `object` | ✅ | — | |
|
|
1869
|
+
| ↳ `id` | `string` | ✅ | — | Unique identifier for the connection |
|
|
1870
|
+
| ↳ `date` | `string` | ✅ | — | Date created |
|
|
1871
|
+
| ↳ `lastchanged` | `string` | ❌ | — | Date last changed |
|
|
1872
|
+
| ↳ `account_id` | `string` | ✅ | — | Account ID associated with this connection |
|
|
1873
|
+
| ↳ `slug` | `string` | ❌ | — | Human-readable app slug for this connection's integration (e.g. 'google-sheets'). Null when no slug is registered for the app. |
|
|
1874
|
+
| ↳ `destination_selected_api` | `string` | ❌ | — | Destination API key (if applicable) |
|
|
1875
|
+
| ↳ `is_invite_only` | `boolean` | ✅ | — | Whether the connection is invite-only |
|
|
1876
|
+
| ↳ `is_private` | `boolean` | ✅ | — | Whether the connection is private |
|
|
1877
|
+
| ↳ `shared_with_all` | `boolean` | ✅ | — | Whether the connection is shared with all users |
|
|
1878
|
+
| ↳ `is_stale` | `string` | ❌ | — | Stale status string |
|
|
1879
|
+
| ↳ `is_shared` | `string` | ❌ | — | Shared status string |
|
|
1880
|
+
| ↳ `marked_stale_at` | `string` | ❌ | — | Date when marked stale |
|
|
1881
|
+
| ↳ `label` | `string` | ❌ | — | User label for the connection |
|
|
1882
|
+
| ↳ `identifier` | `string` | ❌ | — | Identifier |
|
|
1883
|
+
| ↳ `title` | `string` | ❌ | — | Title of the connection |
|
|
1884
|
+
| ↳ `url` | `string` | ❌ | — | URL to the connection resource |
|
|
1885
|
+
| ↳ `groups` | `array` | ❌ | — | Array of groups associated with the connection |
|
|
1886
|
+
| ↳ `members` | `string` | ❌ | — | Members associated with the connection |
|
|
1887
|
+
| ↳ `permissions` | `object` | ❌ | — | Permissions for the connection |
|
|
1888
|
+
| ↳ `public_id` | `string` | ❌ | — | Public UUID for the connection |
|
|
1889
|
+
| ↳ `account_public_id` | `string` | ❌ | — | Public UUID for the associated account |
|
|
1890
|
+
| ↳ `customuser_public_id` | `string` | ❌ | — | Public UUID for the associated custom user |
|
|
1891
|
+
| ↳ `implementation_id` | `string` | ❌ | — | Implementation ID (was selected_api) |
|
|
1892
|
+
| ↳ `profile_id` | `string` | ❌ | — | Profile ID (was customuser_id) |
|
|
1893
|
+
| ↳ `is_expired` | `string` | ❌ | — | Whether the connection is expired (mapped from is_stale) |
|
|
1894
|
+
| ↳ `expired_at` | `string` | ❌ | — | Date when connection expired (mapped from marked_stale_at) |
|
|
1895
|
+
| ↳ `app_key` | `string` | ❌ | — | App Key extracted from implementation_id |
|
|
1896
|
+
| ↳ `app_version` | `string` | ❌ | — | App Version extracted from implementation_id |
|
|
1896
1897
|
|
|
1897
1898
|
**Example:**
|
|
1898
1899
|
|
|
@@ -1919,36 +1920,37 @@ Find a unique connection matching the criteria
|
|
|
1919
1920
|
|
|
1920
1921
|
**Returns:** `Promise<ConnectionItem>`
|
|
1921
1922
|
|
|
1922
|
-
| Name | Type | Required | Possible Values | Description
|
|
1923
|
-
| ------------------------------ | --------- | -------- | --------------- |
|
|
1924
|
-
| `data` | `object` | ✅ | — |
|
|
1925
|
-
| ↳ `id` | `string` | ✅ | — | Unique identifier for the connection
|
|
1926
|
-
| ↳ `date` | `string` | ✅ | — | Date created
|
|
1927
|
-
| ↳ `lastchanged` | `string` | ❌ | — | Date last changed
|
|
1928
|
-
| ↳ `account_id` | `string` | ✅ | — | Account ID associated with this connection
|
|
1929
|
-
| ↳ `
|
|
1930
|
-
| ↳ `
|
|
1931
|
-
| ↳ `
|
|
1932
|
-
| ↳ `
|
|
1933
|
-
| ↳ `
|
|
1934
|
-
| ↳ `
|
|
1935
|
-
| ↳ `
|
|
1936
|
-
| ↳ `
|
|
1937
|
-
| ↳ `
|
|
1938
|
-
| ↳ `
|
|
1939
|
-
| ↳ `
|
|
1940
|
-
| ↳ `
|
|
1941
|
-
| ↳ `
|
|
1942
|
-
| ↳ `
|
|
1943
|
-
| ↳ `
|
|
1944
|
-
| ↳ `
|
|
1945
|
-
| ↳ `
|
|
1946
|
-
| ↳ `
|
|
1947
|
-
| ↳ `
|
|
1948
|
-
| ↳ `
|
|
1949
|
-
| ↳ `
|
|
1950
|
-
| ↳ `
|
|
1951
|
-
| ↳ `
|
|
1923
|
+
| Name | Type | Required | Possible Values | Description |
|
|
1924
|
+
| ------------------------------ | --------- | -------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------ |
|
|
1925
|
+
| `data` | `object` | ✅ | — | |
|
|
1926
|
+
| ↳ `id` | `string` | ✅ | — | Unique identifier for the connection |
|
|
1927
|
+
| ↳ `date` | `string` | ✅ | — | Date created |
|
|
1928
|
+
| ↳ `lastchanged` | `string` | ❌ | — | Date last changed |
|
|
1929
|
+
| ↳ `account_id` | `string` | ✅ | — | Account ID associated with this connection |
|
|
1930
|
+
| ↳ `slug` | `string` | ❌ | — | Human-readable app slug for this connection's integration (e.g. 'google-sheets'). Null when no slug is registered for the app. |
|
|
1931
|
+
| ↳ `destination_selected_api` | `string` | ❌ | — | Destination API key (if applicable) |
|
|
1932
|
+
| ↳ `is_invite_only` | `boolean` | ✅ | — | Whether the connection is invite-only |
|
|
1933
|
+
| ↳ `is_private` | `boolean` | ✅ | — | Whether the connection is private |
|
|
1934
|
+
| ↳ `shared_with_all` | `boolean` | ✅ | — | Whether the connection is shared with all users |
|
|
1935
|
+
| ↳ `is_stale` | `string` | ❌ | — | Stale status string |
|
|
1936
|
+
| ↳ `is_shared` | `string` | ❌ | — | Shared status string |
|
|
1937
|
+
| ↳ `marked_stale_at` | `string` | ❌ | — | Date when marked stale |
|
|
1938
|
+
| ↳ `label` | `string` | ❌ | — | User label for the connection |
|
|
1939
|
+
| ↳ `identifier` | `string` | ❌ | — | Identifier |
|
|
1940
|
+
| ↳ `title` | `string` | ❌ | — | Title of the connection |
|
|
1941
|
+
| ↳ `url` | `string` | ❌ | — | URL to the connection resource |
|
|
1942
|
+
| ↳ `groups` | `array` | ❌ | — | Array of groups associated with the connection |
|
|
1943
|
+
| ↳ `members` | `string` | ❌ | — | Members associated with the connection |
|
|
1944
|
+
| ↳ `permissions` | `object` | ❌ | — | Permissions for the connection |
|
|
1945
|
+
| ↳ `public_id` | `string` | ❌ | — | Public UUID for the connection |
|
|
1946
|
+
| ↳ `account_public_id` | `string` | ❌ | — | Public UUID for the associated account |
|
|
1947
|
+
| ↳ `customuser_public_id` | `string` | ❌ | — | Public UUID for the associated custom user |
|
|
1948
|
+
| ↳ `implementation_id` | `string` | ❌ | — | Implementation ID (was selected_api) |
|
|
1949
|
+
| ↳ `profile_id` | `string` | ❌ | — | Profile ID (was customuser_id) |
|
|
1950
|
+
| ↳ `is_expired` | `string` | ❌ | — | Whether the connection is expired (mapped from is_stale) |
|
|
1951
|
+
| ↳ `expired_at` | `string` | ❌ | — | Date when connection expired (mapped from marked_stale_at) |
|
|
1952
|
+
| ↳ `app_key` | `string` | ❌ | — | App Key extracted from implementation_id |
|
|
1953
|
+
| ↳ `app_version` | `string` | ❌ | — | App Version extracted from implementation_id |
|
|
1952
1954
|
|
|
1953
1955
|
**Example:**
|
|
1954
1956
|
|
|
@@ -1969,36 +1971,37 @@ Get details for a specific connection
|
|
|
1969
1971
|
|
|
1970
1972
|
**Returns:** `Promise<ConnectionItem>`
|
|
1971
1973
|
|
|
1972
|
-
| Name | Type | Required | Possible Values | Description
|
|
1973
|
-
| ------------------------------ | --------- | -------- | --------------- |
|
|
1974
|
-
| `data` | `object` | ✅ | — |
|
|
1975
|
-
| ↳ `id` | `string` | ✅ | — | Unique identifier for the connection
|
|
1976
|
-
| ↳ `date` | `string` | ✅ | — | Date created
|
|
1977
|
-
| ↳ `lastchanged` | `string` | ❌ | — | Date last changed
|
|
1978
|
-
| ↳ `account_id` | `string` | ✅ | — | Account ID associated with this connection
|
|
1979
|
-
| ↳ `
|
|
1980
|
-
| ↳ `
|
|
1981
|
-
| ↳ `
|
|
1982
|
-
| ↳ `
|
|
1983
|
-
| ↳ `
|
|
1984
|
-
| ↳ `
|
|
1985
|
-
| ↳ `
|
|
1986
|
-
| ↳ `
|
|
1987
|
-
| ↳ `
|
|
1988
|
-
| ↳ `
|
|
1989
|
-
| ↳ `
|
|
1990
|
-
| ↳ `
|
|
1991
|
-
| ↳ `
|
|
1992
|
-
| ↳ `
|
|
1993
|
-
| ↳ `
|
|
1994
|
-
| ↳ `
|
|
1995
|
-
| ↳ `
|
|
1996
|
-
| ↳ `
|
|
1997
|
-
| ↳ `
|
|
1998
|
-
| ↳ `
|
|
1999
|
-
| ↳ `
|
|
2000
|
-
| ↳ `
|
|
2001
|
-
| ↳ `
|
|
1974
|
+
| Name | Type | Required | Possible Values | Description |
|
|
1975
|
+
| ------------------------------ | --------- | -------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------ |
|
|
1976
|
+
| `data` | `object` | ✅ | — | |
|
|
1977
|
+
| ↳ `id` | `string` | ✅ | — | Unique identifier for the connection |
|
|
1978
|
+
| ↳ `date` | `string` | ✅ | — | Date created |
|
|
1979
|
+
| ↳ `lastchanged` | `string` | ❌ | — | Date last changed |
|
|
1980
|
+
| ↳ `account_id` | `string` | ✅ | — | Account ID associated with this connection |
|
|
1981
|
+
| ↳ `slug` | `string` | ❌ | — | Human-readable app slug for this connection's integration (e.g. 'google-sheets'). Null when no slug is registered for the app. |
|
|
1982
|
+
| ↳ `destination_selected_api` | `string` | ❌ | — | Destination API key (if applicable) |
|
|
1983
|
+
| ↳ `is_invite_only` | `boolean` | ✅ | — | Whether the connection is invite-only |
|
|
1984
|
+
| ↳ `is_private` | `boolean` | ✅ | — | Whether the connection is private |
|
|
1985
|
+
| ↳ `shared_with_all` | `boolean` | ✅ | — | Whether the connection is shared with all users |
|
|
1986
|
+
| ↳ `is_stale` | `string` | ❌ | — | Stale status string |
|
|
1987
|
+
| ↳ `is_shared` | `string` | ❌ | — | Shared status string |
|
|
1988
|
+
| ↳ `marked_stale_at` | `string` | ❌ | — | Date when marked stale |
|
|
1989
|
+
| ↳ `label` | `string` | ❌ | — | User label for the connection |
|
|
1990
|
+
| ↳ `identifier` | `string` | ❌ | — | Identifier |
|
|
1991
|
+
| ↳ `title` | `string` | ❌ | — | Title of the connection |
|
|
1992
|
+
| ↳ `url` | `string` | ❌ | — | URL to the connection resource |
|
|
1993
|
+
| ↳ `groups` | `array` | ❌ | — | Array of groups associated with the connection |
|
|
1994
|
+
| ↳ `members` | `string` | ❌ | — | Members associated with the connection |
|
|
1995
|
+
| ↳ `permissions` | `object` | ❌ | — | Permissions for the connection |
|
|
1996
|
+
| ↳ `public_id` | `string` | ❌ | — | Public UUID for the connection |
|
|
1997
|
+
| ↳ `account_public_id` | `string` | ❌ | — | Public UUID for the associated account |
|
|
1998
|
+
| ↳ `customuser_public_id` | `string` | ❌ | — | Public UUID for the associated custom user |
|
|
1999
|
+
| ↳ `implementation_id` | `string` | ❌ | — | Implementation ID (was selected_api) |
|
|
2000
|
+
| ↳ `profile_id` | `string` | ❌ | — | Profile ID (was customuser_id) |
|
|
2001
|
+
| ↳ `is_expired` | `string` | ❌ | — | Whether the connection is expired (mapped from is_stale) |
|
|
2002
|
+
| ↳ `expired_at` | `string` | ❌ | — | Date when connection expired (mapped from marked_stale_at) |
|
|
2003
|
+
| ↳ `app_key` | `string` | ❌ | — | App Key extracted from implementation_id |
|
|
2004
|
+
| ↳ `app_version` | `string` | ❌ | — | App Version extracted from implementation_id |
|
|
2002
2005
|
|
|
2003
2006
|
**Example:**
|
|
2004
2007
|
|
|
@@ -2072,37 +2075,38 @@ List available connections with optional filtering
|
|
|
2072
2075
|
|
|
2073
2076
|
**Returns:** `Promise<PaginatedResult<ConnectionItem>>`
|
|
2074
2077
|
|
|
2075
|
-
| Name | Type | Required | Possible Values | Description
|
|
2076
|
-
| ------------------------------ | ---------- | -------- | --------------- |
|
|
2077
|
-
| `data[]` | `object[]` | ✅ | — |
|
|
2078
|
-
| ↳ `id` | `string` | ✅ | — | Unique identifier for the connection
|
|
2079
|
-
| ↳ `date` | `string` | ✅ | — | Date created
|
|
2080
|
-
| ↳ `lastchanged` | `string` | ❌ | — | Date last changed
|
|
2081
|
-
| ↳ `account_id` | `string` | ✅ | — | Account ID associated with this connection
|
|
2082
|
-
| ↳ `
|
|
2083
|
-
| ↳ `
|
|
2084
|
-
| ↳ `
|
|
2085
|
-
| ↳ `
|
|
2086
|
-
| ↳ `
|
|
2087
|
-
| ↳ `
|
|
2088
|
-
| ↳ `
|
|
2089
|
-
| ↳ `
|
|
2090
|
-
| ↳ `
|
|
2091
|
-
| ↳ `
|
|
2092
|
-
| ↳ `
|
|
2093
|
-
| ↳ `
|
|
2094
|
-
| ↳ `
|
|
2095
|
-
| ↳ `
|
|
2096
|
-
| ↳ `
|
|
2097
|
-
| ↳ `
|
|
2098
|
-
| ↳ `
|
|
2099
|
-
| ↳ `
|
|
2100
|
-
| ↳ `
|
|
2101
|
-
| ↳ `
|
|
2102
|
-
| ↳ `
|
|
2103
|
-
| ↳ `
|
|
2104
|
-
| ↳ `
|
|
2105
|
-
| `
|
|
2078
|
+
| Name | Type | Required | Possible Values | Description |
|
|
2079
|
+
| ------------------------------ | ---------- | -------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------ |
|
|
2080
|
+
| `data[]` | `object[]` | ✅ | — | |
|
|
2081
|
+
| ↳ `id` | `string` | ✅ | — | Unique identifier for the connection |
|
|
2082
|
+
| ↳ `date` | `string` | ✅ | — | Date created |
|
|
2083
|
+
| ↳ `lastchanged` | `string` | ❌ | — | Date last changed |
|
|
2084
|
+
| ↳ `account_id` | `string` | ✅ | — | Account ID associated with this connection |
|
|
2085
|
+
| ↳ `slug` | `string` | ❌ | — | Human-readable app slug for this connection's integration (e.g. 'google-sheets'). Null when no slug is registered for the app. |
|
|
2086
|
+
| ↳ `destination_selected_api` | `string` | ❌ | — | Destination API key (if applicable) |
|
|
2087
|
+
| ↳ `is_invite_only` | `boolean` | ✅ | — | Whether the connection is invite-only |
|
|
2088
|
+
| ↳ `is_private` | `boolean` | ✅ | — | Whether the connection is private |
|
|
2089
|
+
| ↳ `shared_with_all` | `boolean` | ✅ | — | Whether the connection is shared with all users |
|
|
2090
|
+
| ↳ `is_stale` | `string` | ❌ | — | Stale status string |
|
|
2091
|
+
| ↳ `is_shared` | `string` | ❌ | — | Shared status string |
|
|
2092
|
+
| ↳ `marked_stale_at` | `string` | ❌ | — | Date when marked stale |
|
|
2093
|
+
| ↳ `label` | `string` | ❌ | — | User label for the connection |
|
|
2094
|
+
| ↳ `identifier` | `string` | ❌ | — | Identifier |
|
|
2095
|
+
| ↳ `title` | `string` | ❌ | — | Title of the connection |
|
|
2096
|
+
| ↳ `url` | `string` | ❌ | — | URL to the connection resource |
|
|
2097
|
+
| ↳ `groups` | `array` | ❌ | — | Array of groups associated with the connection |
|
|
2098
|
+
| ↳ `members` | `string` | ❌ | — | Members associated with the connection |
|
|
2099
|
+
| ↳ `permissions` | `object` | ❌ | — | Permissions for the connection |
|
|
2100
|
+
| ↳ `public_id` | `string` | ❌ | — | Public UUID for the connection |
|
|
2101
|
+
| ↳ `account_public_id` | `string` | ❌ | — | Public UUID for the associated account |
|
|
2102
|
+
| ↳ `customuser_public_id` | `string` | ❌ | — | Public UUID for the associated custom user |
|
|
2103
|
+
| ↳ `implementation_id` | `string` | ❌ | — | Implementation ID (was selected_api) |
|
|
2104
|
+
| ↳ `profile_id` | `string` | ❌ | — | Profile ID (was customuser_id) |
|
|
2105
|
+
| ↳ `is_expired` | `string` | ❌ | — | Whether the connection is expired (mapped from is_stale) |
|
|
2106
|
+
| ↳ `expired_at` | `string` | ❌ | — | Date when connection expired (mapped from marked_stale_at) |
|
|
2107
|
+
| ↳ `app_key` | `string` | ❌ | — | App Key extracted from implementation_id |
|
|
2108
|
+
| ↳ `app_version` | `string` | ❌ | — | App Version extracted from implementation_id |
|
|
2109
|
+
| `nextCursor` | `string` | ❌ | — | Cursor for the next page; omitted when there are no more pages |
|
|
2106
2110
|
|
|
2107
2111
|
**Example:**
|
|
2108
2112
|
|
package/dist/experimental.cjs
CHANGED
|
@@ -5283,7 +5283,7 @@ function parseDeprecationDate(value) {
|
|
|
5283
5283
|
}
|
|
5284
5284
|
|
|
5285
5285
|
// src/sdk-version.ts
|
|
5286
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.84.
|
|
5286
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.84.4" : void 0) || "unknown";
|
|
5287
5287
|
|
|
5288
5288
|
// src/utils/open-url.ts
|
|
5289
5289
|
var nodePrefix = "node:";
|
|
@@ -7018,6 +7018,7 @@ function transformConnectionItem(item) {
|
|
|
7018
7018
|
is_private: item.is_private,
|
|
7019
7019
|
shared_with_all: item.shared_with_all,
|
|
7020
7020
|
title: item.title,
|
|
7021
|
+
slug: item.slug,
|
|
7021
7022
|
lastchanged: item.lastchanged,
|
|
7022
7023
|
is_stale: item.is_stale,
|
|
7023
7024
|
is_shared: item.is_shared,
|
|
@@ -10040,6 +10041,11 @@ var ConnectionItemSchema = connections.ConnectionItemSchema;
|
|
|
10040
10041
|
// src/formatters/connection.ts
|
|
10041
10042
|
function formatConnectionItem(item) {
|
|
10042
10043
|
const details = [];
|
|
10044
|
+
const appKey = item.app_key ?? "unknown";
|
|
10045
|
+
details.push({
|
|
10046
|
+
text: item.slug ? `App: ${appKey} | App Slug: ${item.slug}` : `App: ${appKey}`,
|
|
10047
|
+
style: "accent"
|
|
10048
|
+
});
|
|
10043
10049
|
if (item.identifier) {
|
|
10044
10050
|
details.push({
|
|
10045
10051
|
text: `Identifier: ${item.identifier}`,
|