@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.
|
@@ -2285,7 +2285,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2285
2285
|
var LicenseStatus = /* @__PURE__ */ ((LicenseStatus2) => {
|
|
2286
2286
|
LicenseStatus2[LicenseStatus2["ACTIVE"] = 0] = "ACTIVE";
|
|
2287
2287
|
LicenseStatus2[LicenseStatus2["PAUSED"] = 2] = "PAUSED";
|
|
2288
|
-
LicenseStatus2[LicenseStatus2["
|
|
2288
|
+
LicenseStatus2[LicenseStatus2["CANCELLED"] = 4] = "CANCELLED";
|
|
2289
2289
|
LicenseStatus2[LicenseStatus2["INACTIVE"] = 6] = "INACTIVE";
|
|
2290
2290
|
return LicenseStatus2;
|
|
2291
2291
|
})(LicenseStatus || {});
|
|
@@ -6200,7 +6200,6 @@ var __publicField = (obj, key, value) => {
|
|
|
6200
6200
|
});
|
|
6201
6201
|
}
|
|
6202
6202
|
async pauseLicense(license) {
|
|
6203
|
-
this.client.store.dispatch(setIsFetchingInitialData(true));
|
|
6204
6203
|
return this.enqueueRequest({
|
|
6205
6204
|
description: "Pause license",
|
|
6206
6205
|
method: HttpMethod.DELETE,
|
|
@@ -6212,12 +6211,10 @@ var __publicField = (obj, key, value) => {
|
|
|
6212
6211
|
blocks: []
|
|
6213
6212
|
}).then((result) => {
|
|
6214
6213
|
this.client.store.dispatch(updateLicense(result));
|
|
6215
|
-
this.client.store.dispatch(setIsFetchingInitialData(false));
|
|
6216
6214
|
return result;
|
|
6217
6215
|
});
|
|
6218
6216
|
}
|
|
6219
6217
|
async resumeLicense(license) {
|
|
6220
|
-
this.client.store.dispatch(setIsFetchingInitialData(true));
|
|
6221
6218
|
return this.enqueueRequest({
|
|
6222
6219
|
description: "Resume license",
|
|
6223
6220
|
method: HttpMethod.PATCH,
|
|
@@ -6229,12 +6226,10 @@ var __publicField = (obj, key, value) => {
|
|
|
6229
6226
|
blocks: []
|
|
6230
6227
|
}).then((result) => {
|
|
6231
6228
|
this.client.store.dispatch(updateLicense(result));
|
|
6232
|
-
this.client.store.dispatch(setIsFetchingInitialData(false));
|
|
6233
6229
|
return result;
|
|
6234
6230
|
});
|
|
6235
6231
|
}
|
|
6236
6232
|
async cancelLicense(license) {
|
|
6237
|
-
this.client.store.dispatch(setIsFetchingInitialData(true));
|
|
6238
6233
|
return this.enqueueRequest({
|
|
6239
6234
|
description: "Cancel license",
|
|
6240
6235
|
method: HttpMethod.DELETE,
|
|
@@ -6246,7 +6241,6 @@ var __publicField = (obj, key, value) => {
|
|
|
6246
6241
|
blocks: []
|
|
6247
6242
|
}).then((result) => {
|
|
6248
6243
|
this.client.store.dispatch(updateLicense(result));
|
|
6249
|
-
this.client.store.dispatch(setIsFetchingInitialData(false));
|
|
6250
6244
|
return result;
|
|
6251
6245
|
});
|
|
6252
6246
|
}
|