@imposium-hub/components 1.33.0 → 1.33.2
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/components.js +2 -2
- package/dist/components.js.map +1 -1
- package/package.json +1 -1
- package/services/API.ts +10 -2
package/package.json
CHANGED
package/services/API.ts
CHANGED
|
@@ -1096,11 +1096,19 @@ export default class API {
|
|
|
1096
1096
|
});
|
|
1097
1097
|
}
|
|
1098
1098
|
|
|
1099
|
-
public
|
|
1099
|
+
public getRedirectToBillingPortal = (orgId : string) : Promise<any> => {
|
|
1100
1100
|
|
|
1101
1101
|
return this.doRequest({
|
|
1102
1102
|
url: `/account/${orgId}/billing-portal`,
|
|
1103
|
-
method: 'GET'
|
|
1103
|
+
method: 'GET'
|
|
1104
|
+
});
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
public getRedirectToRenew = (orgId : string) : Promise<any> => {
|
|
1108
|
+
|
|
1109
|
+
return this.doRequest({
|
|
1110
|
+
url: `/account/${orgId}/renew`,
|
|
1111
|
+
method: 'GET'
|
|
1104
1112
|
});
|
|
1105
1113
|
}
|
|
1106
1114
|
|