@parra/parra-js-sdk 0.3.75 → 0.3.77
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 +2 -0
- package/dist/ParraAPI.js +9 -0
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -1439,6 +1439,7 @@ export interface TenantIntegration {
|
|
|
1439
1439
|
export interface UpdateIntegrationConnectionRequestBody {
|
|
1440
1440
|
active?: boolean;
|
|
1441
1441
|
}
|
|
1442
|
+
export type UpdateIntegrationConnectionDataRequestBody = UpdateSlackFeedbackFormIntegrationConnectionData | UpdateParraFeedbackFormBoardIntegrationConnectionData;
|
|
1442
1443
|
export interface CreateIntegrationConnectionRequestBody {
|
|
1443
1444
|
}
|
|
1444
1445
|
export interface TenantInvitationRequestBody {
|
|
@@ -1724,6 +1725,7 @@ declare class ParraAPI {
|
|
|
1724
1725
|
}) => Promise<Array<TenantIntegration>>;
|
|
1725
1726
|
updateIntegrationConnectionById: (tenant_id: string, integration_connection_id: string, body?: UpdateIntegrationConnectionRequestBody) => Promise<IntegrationConnection>;
|
|
1726
1727
|
deleteIntegrationConnectionById: (tenant_id: string, integration_connection_id: string) => Promise<IntegrationConnection>;
|
|
1728
|
+
updateDataForIntegrationConnectionById: (tenant_id: string, integration_connection_id: string, body?: UpdateIntegrationConnectionDataRequestBody) => Promise<IntegrationConnection>;
|
|
1727
1729
|
createConnectionForIntegration: (tenant_id: string, integration_id: string, body?: CreateIntegrationConnectionRequestBody) => Promise<IntegrationConnection>;
|
|
1728
1730
|
getInvitationsForTenantById: (tenant_id: string) => Promise<Array<TenantInvitation>>;
|
|
1729
1731
|
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",
|