arky-sdk 0.7.5 → 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 +14 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -1
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +21 -2
- package/dist/types.d.ts +21 -2
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
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) {
|