@parra/parra-js-sdk 0.3.141 → 0.3.142
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/dist/ParraAPI.d.ts +20 -2
- package/dist/ParraAPI.js +1 -0
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -1692,6 +1692,7 @@ export declare enum ConnectedAppType {
|
|
|
1692
1692
|
parra = "parra",
|
|
1693
1693
|
appStoreConnectApi = "app-store-connect-api",
|
|
1694
1694
|
slack = "slack",
|
|
1695
|
+
twilio = "twilio",
|
|
1695
1696
|
x = "x"
|
|
1696
1697
|
}
|
|
1697
1698
|
export declare enum ConnectedAppConnectionStatus {
|
|
@@ -1711,11 +1712,17 @@ export interface ConnectedAppSlackConnectionData {
|
|
|
1711
1712
|
app_id: string;
|
|
1712
1713
|
user_id: string;
|
|
1713
1714
|
}
|
|
1715
|
+
export interface ConnectedAppTwilioConnectionData {
|
|
1716
|
+
account_sid: string;
|
|
1717
|
+
auth_token: string;
|
|
1718
|
+
messaging_service_sid?: string | null;
|
|
1719
|
+
from_number?: string | null;
|
|
1720
|
+
}
|
|
1714
1721
|
export interface ConnectedAppXConnectionData {
|
|
1715
1722
|
handle: string;
|
|
1716
1723
|
name: string;
|
|
1717
1724
|
}
|
|
1718
|
-
export type ConnectedAppConnectionData = ConnectedAppAppStoreConnectApiConnectionData | ConnectedAppSlackConnectionData | ConnectedAppXConnectionData;
|
|
1725
|
+
export type ConnectedAppConnectionData = ConnectedAppAppStoreConnectApiConnectionData | ConnectedAppSlackConnectionData | ConnectedAppTwilioConnectionData | ConnectedAppXConnectionData;
|
|
1719
1726
|
export interface ConnectedAppConnection {
|
|
1720
1727
|
id: string;
|
|
1721
1728
|
created_at: string;
|
|
@@ -1758,6 +1765,10 @@ export interface UpdateConnectedAppConnectionRequestBody {
|
|
|
1758
1765
|
app_store_connect_api_issuer?: string;
|
|
1759
1766
|
app_store_connect_api_key_id?: string;
|
|
1760
1767
|
app_store_connect_api_private_key?: string;
|
|
1768
|
+
twilio_account_sid?: string;
|
|
1769
|
+
twilio_auth_token?: string;
|
|
1770
|
+
twilio_messaging_service_sid?: string;
|
|
1771
|
+
twilio_from_number?: string;
|
|
1761
1772
|
}
|
|
1762
1773
|
export interface CreateAppStoreConnectConnectedAppConnectionRequestBody {
|
|
1763
1774
|
issuer: string;
|
|
@@ -1767,11 +1778,17 @@ export interface CreateAppStoreConnectConnectedAppConnectionRequestBody {
|
|
|
1767
1778
|
export interface CreateSlackConnectedAppConnectionRequestBody {
|
|
1768
1779
|
code: string;
|
|
1769
1780
|
}
|
|
1781
|
+
export interface CreateTwilioConnectedAppConnectionRequestBody {
|
|
1782
|
+
account_sid: string;
|
|
1783
|
+
auth_token: string;
|
|
1784
|
+
messaging_service_sid?: string;
|
|
1785
|
+
from_number?: string;
|
|
1786
|
+
}
|
|
1770
1787
|
export interface CreateXConnectedAppConnectionRequestBody {
|
|
1771
1788
|
code: string;
|
|
1772
1789
|
code_verifier: string;
|
|
1773
1790
|
}
|
|
1774
|
-
export type CreateConnectedAppConnectionRequestBody = CreateAppStoreConnectConnectedAppConnectionRequestBody | CreateSlackConnectedAppConnectionRequestBody | CreateXConnectedAppConnectionRequestBody;
|
|
1791
|
+
export type CreateConnectedAppConnectionRequestBody = CreateAppStoreConnectConnectedAppConnectionRequestBody | CreateSlackConnectedAppConnectionRequestBody | CreateTwilioConnectedAppConnectionRequestBody | CreateXConnectedAppConnectionRequestBody;
|
|
1775
1792
|
export declare enum IntegrationType {
|
|
1776
1793
|
parraFeedbackFormBoard = "parra-feedback-form-board",
|
|
1777
1794
|
slackFeedbackForm = "slack-feedback-form",
|
|
@@ -2287,6 +2304,7 @@ declare class ParraAPI {
|
|
|
2287
2304
|
getApiKeysForTenantById: (tenant_id: string, options?: Options) => Promise<ApiKeyCollectionResponse>;
|
|
2288
2305
|
listConnectedAppsForTenantById: (tenant_id: string, query?: {
|
|
2289
2306
|
include?: string;
|
|
2307
|
+
group?: string;
|
|
2290
2308
|
}, options?: Options) => Promise<Array<TenantConnectedApp>>;
|
|
2291
2309
|
updateConnectedAppConnectionById: (tenant_id: string, connected_app_connection_id: string, body?: UpdateConnectedAppConnectionRequestBody, options?: Options) => Promise<ConnectedAppConnection>;
|
|
2292
2310
|
deleteConnectedAppConnectionById: (tenant_id: string, connected_app_connection_id: string, options?: Options) => Promise<ConnectedAppConnection>;
|
package/dist/ParraAPI.js
CHANGED
|
@@ -223,6 +223,7 @@ var ConnectedAppType;
|
|
|
223
223
|
ConnectedAppType["parra"] = "parra";
|
|
224
224
|
ConnectedAppType["appStoreConnectApi"] = "app-store-connect-api";
|
|
225
225
|
ConnectedAppType["slack"] = "slack";
|
|
226
|
+
ConnectedAppType["twilio"] = "twilio";
|
|
226
227
|
ConnectedAppType["x"] = "x";
|
|
227
228
|
})(ConnectedAppType || (exports.ConnectedAppType = ConnectedAppType = {}));
|
|
228
229
|
var ConnectedAppConnectionStatus;
|