@parra/parra-js-sdk 0.3.134 → 0.3.136

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.
@@ -1681,7 +1681,6 @@ export interface ApiKeyCollectionResponse {
1681
1681
  export declare enum ConnectedAppType {
1682
1682
  parra = "parra",
1683
1683
  appStoreConnectApi = "app-store-connect-api",
1684
- appStoreConnectApns = "app-store-connect-apns",
1685
1684
  slack = "slack",
1686
1685
  x = "x"
1687
1686
  }
@@ -1691,6 +1690,11 @@ export declare enum ConnectedAppConnectionStatus {
1691
1690
  error = "error",
1692
1691
  disabled = "disabled"
1693
1692
  }
1693
+ export interface ConnectedAppAppStoreConnectApiConnectionData {
1694
+ issuer: string;
1695
+ key_id: string;
1696
+ private_key: string;
1697
+ }
1694
1698
  export interface ConnectedAppSlackConnectionData {
1695
1699
  team_name: string;
1696
1700
  team_id: string;
@@ -1701,7 +1705,7 @@ export interface ConnectedAppXConnectionData {
1701
1705
  handle: string;
1702
1706
  name: string;
1703
1707
  }
1704
- export type ConnectedAppConnectionData = ConnectedAppSlackConnectionData | ConnectedAppXConnectionData;
1708
+ export type ConnectedAppConnectionData = ConnectedAppAppStoreConnectApiConnectionData | ConnectedAppSlackConnectionData | ConnectedAppXConnectionData;
1705
1709
  export interface ConnectedAppConnection {
1706
1710
  id: string;
1707
1711
  created_at: string;
@@ -1741,6 +1745,14 @@ export interface TenantConnectedApp {
1741
1745
  }
1742
1746
  export interface UpdateConnectedAppConnectionRequestBody {
1743
1747
  active?: boolean;
1748
+ app_store_connect_api_issuer?: string;
1749
+ app_store_connect_api_key_id?: string;
1750
+ app_store_connect_api_private_key?: string;
1751
+ }
1752
+ export interface CreateAppStoreConnectConnectedAppConnectionRequestBody {
1753
+ issuer: string;
1754
+ key_id: string;
1755
+ private_key: string;
1744
1756
  }
1745
1757
  export interface CreateSlackConnectedAppConnectionRequestBody {
1746
1758
  code: string;
@@ -1749,7 +1761,7 @@ export interface CreateXConnectedAppConnectionRequestBody {
1749
1761
  code: string;
1750
1762
  code_verifier: string;
1751
1763
  }
1752
- export type CreateConnectedAppConnectionRequestBody = CreateSlackConnectedAppConnectionRequestBody | CreateXConnectedAppConnectionRequestBody;
1764
+ export type CreateConnectedAppConnectionRequestBody = CreateAppStoreConnectConnectedAppConnectionRequestBody | CreateSlackConnectedAppConnectionRequestBody | CreateXConnectedAppConnectionRequestBody;
1753
1765
  export declare enum IntegrationType {
1754
1766
  parraFeedbackFormBoard = "parra-feedback-form-board",
1755
1767
  slackFeedbackForm = "slack-feedback-form",
package/dist/ParraAPI.js CHANGED
@@ -222,7 +222,6 @@ var ConnectedAppType;
222
222
  (function (ConnectedAppType) {
223
223
  ConnectedAppType["parra"] = "parra";
224
224
  ConnectedAppType["appStoreConnectApi"] = "app-store-connect-api";
225
- ConnectedAppType["appStoreConnectApns"] = "app-store-connect-apns";
226
225
  ConnectedAppType["slack"] = "slack";
227
226
  ConnectedAppType["x"] = "x";
228
227
  })(ConnectedAppType || (exports.ConnectedAppType = ConnectedAppType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.134",
3
+ "version": "0.3.136",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",