@parra/parra-js-sdk 0.3.161 → 0.3.162

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.
@@ -1768,12 +1768,13 @@ export interface WebauthnRegisterRequestBody {
1768
1768
  export interface WebauthnRegisterResponseBody {
1769
1769
  status: string;
1770
1770
  message: string;
1771
+ token: string;
1771
1772
  }
1772
1773
  export interface AuthenticatorAssertionResponse {
1773
1774
  clientDataJSON: string;
1774
1775
  authenticatorData: string;
1775
1776
  signature: string;
1776
- userHandle: string;
1777
+ userHandle?: string | null;
1777
1778
  }
1778
1779
  export interface WebauthnAuthenticateRequestBody {
1779
1780
  id: string;
@@ -2017,6 +2018,8 @@ export interface ApiKeyCollectionResponse {
2017
2018
  export declare enum ConnectedAppType {
2018
2019
  parra = "parra",
2019
2020
  appStoreConnectApi = "app-store-connect-api",
2021
+ resend = "resend",
2022
+ sendgrid = "sendgrid",
2020
2023
  slack = "slack",
2021
2024
  twilio = "twilio",
2022
2025
  x = "x"
@@ -2032,12 +2035,18 @@ export interface ConnectedAppAppStoreConnectApiConnectionData {
2032
2035
  key_id: string;
2033
2036
  private_key: string;
2034
2037
  }
2038
+ export interface ConnectedAppResendConnectionData {
2039
+ api_key: string;
2040
+ }
2035
2041
  export interface ConnectedAppSlackConnectionData {
2036
2042
  team_name: string;
2037
2043
  team_id: string;
2038
2044
  app_id: string;
2039
2045
  user_id: string;
2040
2046
  }
2047
+ export interface ConnectedAppSendgridConnectionData {
2048
+ api_key: string;
2049
+ }
2041
2050
  export interface ConnectedAppTwilioConnectionData {
2042
2051
  account_sid: string;
2043
2052
  auth_token: string;
@@ -2048,7 +2057,7 @@ export interface ConnectedAppXConnectionData {
2048
2057
  handle: string;
2049
2058
  name: string;
2050
2059
  }
2051
- export type ConnectedAppConnectionData = ConnectedAppAppStoreConnectApiConnectionData | ConnectedAppSlackConnectionData | ConnectedAppTwilioConnectionData | ConnectedAppXConnectionData;
2060
+ export type ConnectedAppConnectionData = ConnectedAppAppStoreConnectApiConnectionData | ConnectedAppResendConnectionData | ConnectedAppSlackConnectionData | ConnectedAppSendgridConnectionData | ConnectedAppTwilioConnectionData | ConnectedAppXConnectionData;
2052
2061
  export interface ConnectedAppConnection {
2053
2062
  id: string;
2054
2063
  created_at: string;
@@ -2095,12 +2104,20 @@ export interface UpdateConnectedAppConnectionRequestBody {
2095
2104
  twilio_auth_token?: string;
2096
2105
  twilio_messaging_service_sid?: string;
2097
2106
  twilio_from_number?: string;
2107
+ resend_api_key?: string;
2108
+ sendgrid_api_key?: string;
2098
2109
  }
2099
2110
  export interface CreateAppStoreConnectConnectedAppConnectionRequestBody {
2100
2111
  issuer: string;
2101
2112
  key_id: string;
2102
2113
  private_key: string;
2103
2114
  }
2115
+ export interface CreateResendConnectedAppConnectionRequestBody {
2116
+ api_key: string;
2117
+ }
2118
+ export interface CreateSendgridConnectedAppConnectionRequestBody {
2119
+ api_key: string;
2120
+ }
2104
2121
  export interface CreateSlackConnectedAppConnectionRequestBody {
2105
2122
  code: string;
2106
2123
  }
@@ -2114,7 +2131,7 @@ export interface CreateXConnectedAppConnectionRequestBody {
2114
2131
  code: string;
2115
2132
  code_verifier: string;
2116
2133
  }
2117
- export type CreateConnectedAppConnectionRequestBody = CreateAppStoreConnectConnectedAppConnectionRequestBody | CreateSlackConnectedAppConnectionRequestBody | CreateTwilioConnectedAppConnectionRequestBody | CreateXConnectedAppConnectionRequestBody;
2134
+ export type CreateConnectedAppConnectionRequestBody = CreateAppStoreConnectConnectedAppConnectionRequestBody | CreateResendConnectedAppConnectionRequestBody | CreateSendgridConnectedAppConnectionRequestBody | CreateSlackConnectedAppConnectionRequestBody | CreateTwilioConnectedAppConnectionRequestBody | CreateXConnectedAppConnectionRequestBody;
2118
2135
  export declare enum IntegrationType {
2119
2136
  parraFeedbackFormBoard = "parra-feedback-form-board",
2120
2137
  slackFeedbackForm = "slack-feedback-form",
package/dist/ParraAPI.js CHANGED
@@ -258,6 +258,8 @@ var ConnectedAppType;
258
258
  (function (ConnectedAppType) {
259
259
  ConnectedAppType["parra"] = "parra";
260
260
  ConnectedAppType["appStoreConnectApi"] = "app-store-connect-api";
261
+ ConnectedAppType["resend"] = "resend";
262
+ ConnectedAppType["sendgrid"] = "sendgrid";
261
263
  ConnectedAppType["slack"] = "slack";
262
264
  ConnectedAppType["twilio"] = "twilio";
263
265
  ConnectedAppType["x"] = "x";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.161",
3
+ "version": "0.3.162",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",