/api/internal/accounts/:accountId/license/offline
This commit is contained in:
parent
91d3cdff3f
commit
b8273540e0
|
@ -1,5 +1,6 @@
|
||||||
import { LicenseOverrides, QuotaUsage } from "../../documents"
|
import { LicenseOverrides, QuotaUsage } from "../../documents"
|
||||||
import { PlanType } from "../../sdk"
|
import { OfflineLicense, PlanType } from "../../sdk"
|
||||||
|
import { ISO8601 } from "../../shared"
|
||||||
|
|
||||||
export interface GetLicenseRequest {
|
export interface GetLicenseRequest {
|
||||||
// All fields should be optional to cater for
|
// All fields should be optional to cater for
|
||||||
|
@ -26,3 +27,13 @@ export interface UpdateLicenseRequest {
|
||||||
planType?: PlanType
|
planType?: PlanType
|
||||||
overrides?: LicenseOverrides
|
overrides?: LicenseOverrides
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface CreateOfflineLicenseRequest {
|
||||||
|
installationIdentifierBase64: string
|
||||||
|
expireAt: ISO8601
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface GetOfflineLicenseResponse {
|
||||||
|
offlineLicenseToken: string
|
||||||
|
license: OfflineLicense
|
||||||
|
}
|
Loading…
Reference in New Issue