@parra/parra-js-sdk 0.3.76 → 0.3.78
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 +3 -0
- package/dist/ParraAPI.js +9 -0
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -1330,6 +1330,7 @@ export interface ConnectedAppConnection {
|
|
|
1330
1330
|
type: ConnectedAppType;
|
|
1331
1331
|
status: ConnectedAppConnectionStatus;
|
|
1332
1332
|
data?: ConnectedAppConnectionData;
|
|
1333
|
+
integration_count: number;
|
|
1333
1334
|
}
|
|
1334
1335
|
export interface ConnectedAppLink {
|
|
1335
1336
|
title: string;
|
|
@@ -1439,6 +1440,7 @@ export interface TenantIntegration {
|
|
|
1439
1440
|
export interface UpdateIntegrationConnectionRequestBody {
|
|
1440
1441
|
active?: boolean;
|
|
1441
1442
|
}
|
|
1443
|
+
export type UpdateIntegrationConnectionDataRequestBody = UpdateSlackFeedbackFormIntegrationConnectionData | UpdateParraFeedbackFormBoardIntegrationConnectionData;
|
|
1442
1444
|
export interface CreateIntegrationConnectionRequestBody {
|
|
1443
1445
|
}
|
|
1444
1446
|
export interface TenantInvitationRequestBody {
|
|
@@ -1724,6 +1726,7 @@ declare class ParraAPI {
|
|
|
1724
1726
|
}) => Promise<Array<TenantIntegration>>;
|
|
1725
1727
|
updateIntegrationConnectionById: (tenant_id: string, integration_connection_id: string, body?: UpdateIntegrationConnectionRequestBody) => Promise<IntegrationConnection>;
|
|
1726
1728
|
deleteIntegrationConnectionById: (tenant_id: string, integration_connection_id: string) => Promise<IntegrationConnection>;
|
|
1729
|
+
updateDataForIntegrationConnectionById: (tenant_id: string, integration_connection_id: string, body?: UpdateIntegrationConnectionDataRequestBody) => Promise<IntegrationConnection>;
|
|
1727
1730
|
createConnectionForIntegration: (tenant_id: string, integration_id: string, body?: CreateIntegrationConnectionRequestBody) => Promise<IntegrationConnection>;
|
|
1728
1731
|
getInvitationsForTenantById: (tenant_id: string) => Promise<Array<TenantInvitation>>;
|
|
1729
1732
|
createInvitationForTenantById: (tenant_id: string, body: TenantInvitationRequestBody) => Promise<TenantInvitation>;
|
package/dist/ParraAPI.js
CHANGED
|
@@ -904,6 +904,15 @@ var ParraAPI = /** @class */ (function () {
|
|
|
904
904
|
method: "delete",
|
|
905
905
|
});
|
|
906
906
|
};
|
|
907
|
+
this.updateDataForIntegrationConnectionById = function (tenant_id, integration_connection_id, body) {
|
|
908
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/integrations/connections/").concat(integration_connection_id, "/data"), {
|
|
909
|
+
method: "put",
|
|
910
|
+
body: JSON.stringify(body),
|
|
911
|
+
headers: {
|
|
912
|
+
"content-type": "application/json",
|
|
913
|
+
},
|
|
914
|
+
});
|
|
915
|
+
};
|
|
907
916
|
this.createConnectionForIntegration = function (tenant_id, integration_id, body) {
|
|
908
917
|
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/integrations/").concat(integration_id, "/connections"), {
|
|
909
918
|
method: "post",
|