@overmap-ai/core 1.0.35-projects-licensing.21 → 1.0.35-projects-licensing.23
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/overmap-core.js
CHANGED
|
@@ -2289,7 +2289,7 @@ var LicenseLevel = /* @__PURE__ */ ((LicenseLevel2) => {
|
|
|
2289
2289
|
var LicenseStatus = /* @__PURE__ */ ((LicenseStatus2) => {
|
|
2290
2290
|
LicenseStatus2[LicenseStatus2["ACTIVE"] = 0] = "ACTIVE";
|
|
2291
2291
|
LicenseStatus2[LicenseStatus2["PAUSED"] = 2] = "PAUSED";
|
|
2292
|
-
LicenseStatus2[LicenseStatus2["
|
|
2292
|
+
LicenseStatus2[LicenseStatus2["CANCELLED"] = 4] = "CANCELLED";
|
|
2293
2293
|
LicenseStatus2[LicenseStatus2["INACTIVE"] = 6] = "INACTIVE";
|
|
2294
2294
|
return LicenseStatus2;
|
|
2295
2295
|
})(LicenseStatus || {});
|
|
@@ -6204,7 +6204,6 @@ class LicenseService extends BaseApiService {
|
|
|
6204
6204
|
});
|
|
6205
6205
|
}
|
|
6206
6206
|
async pauseLicense(license) {
|
|
6207
|
-
this.client.store.dispatch(setIsFetchingInitialData(true));
|
|
6208
6207
|
return this.enqueueRequest({
|
|
6209
6208
|
description: "Pause license",
|
|
6210
6209
|
method: HttpMethod.DELETE,
|
|
@@ -6216,12 +6215,10 @@ class LicenseService extends BaseApiService {
|
|
|
6216
6215
|
blocks: []
|
|
6217
6216
|
}).then((result) => {
|
|
6218
6217
|
this.client.store.dispatch(updateLicense(result));
|
|
6219
|
-
this.client.store.dispatch(setIsFetchingInitialData(false));
|
|
6220
6218
|
return result;
|
|
6221
6219
|
});
|
|
6222
6220
|
}
|
|
6223
6221
|
async resumeLicense(license) {
|
|
6224
|
-
this.client.store.dispatch(setIsFetchingInitialData(true));
|
|
6225
6222
|
return this.enqueueRequest({
|
|
6226
6223
|
description: "Resume license",
|
|
6227
6224
|
method: HttpMethod.PATCH,
|
|
@@ -6233,12 +6230,10 @@ class LicenseService extends BaseApiService {
|
|
|
6233
6230
|
blocks: []
|
|
6234
6231
|
}).then((result) => {
|
|
6235
6232
|
this.client.store.dispatch(updateLicense(result));
|
|
6236
|
-
this.client.store.dispatch(setIsFetchingInitialData(false));
|
|
6237
6233
|
return result;
|
|
6238
6234
|
});
|
|
6239
6235
|
}
|
|
6240
6236
|
async cancelLicense(license) {
|
|
6241
|
-
this.client.store.dispatch(setIsFetchingInitialData(true));
|
|
6242
6237
|
return this.enqueueRequest({
|
|
6243
6238
|
description: "Cancel license",
|
|
6244
6239
|
method: HttpMethod.DELETE,
|
|
@@ -6250,7 +6245,6 @@ class LicenseService extends BaseApiService {
|
|
|
6250
6245
|
blocks: []
|
|
6251
6246
|
}).then((result) => {
|
|
6252
6247
|
this.client.store.dispatch(updateLicense(result));
|
|
6253
|
-
this.client.store.dispatch(setIsFetchingInitialData(false));
|
|
6254
6248
|
return result;
|
|
6255
6249
|
});
|
|
6256
6250
|
}
|