arky-sdk 0.7.6 → 0.7.7

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/index.cjs CHANGED
@@ -1201,6 +1201,20 @@ var createCustomerApi = (apiConfig) => {
1201
1201
  options
1202
1202
  );
1203
1203
  },
1204
+ async revokeToken(params, options) {
1205
+ const businessId = params.businessId || apiConfig.businessId;
1206
+ return apiConfig.httpClient.delete(
1207
+ `/v1/businesses/${businessId}/customers/${params.id}/sessions/${params.tokenId}`,
1208
+ options
1209
+ );
1210
+ },
1211
+ async revokeAllTokens(params, options) {
1212
+ const businessId = params.businessId || apiConfig.businessId;
1213
+ return apiConfig.httpClient.delete(
1214
+ `/v1/businesses/${businessId}/customers/${params.id}/sessions`,
1215
+ options
1216
+ );
1217
+ },
1204
1218
  // Audiences
1205
1219
  audiences: {
1206
1220
  async create(params, options) {