@daocloud-proto/ghippo 0.35.0-rc3 → 0.36.0-dev1
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/package.json
CHANGED
|
@@ -50,10 +50,10 @@ export type GetGProductLicensesESNResponse = {
|
|
|
50
50
|
esn?: string
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export type
|
|
53
|
+
export type GetGProductLicensesExpiredRequest = {
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
export type
|
|
56
|
+
export type GetGProductLicensesExpiredResponse = {
|
|
57
57
|
expireSoonLicenses?: GProductLicense[]
|
|
58
58
|
expiredLicenses?: GProductLicense[]
|
|
59
59
|
}
|
|
@@ -103,7 +103,7 @@ export class GProductLicenses {
|
|
|
103
103
|
static GetGProductLicensesESN(req: GetGProductLicensesESNRequest, initReq?: fm.InitReq): Promise<GetGProductLicensesESNResponse> {
|
|
104
104
|
return fm.fetchReq<GetGProductLicensesESNRequest, GetGProductLicensesESNResponse>(`/apis/ghippo.io/v1alpha1/gproduct-licenses/esn?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
105
105
|
}
|
|
106
|
-
static
|
|
107
|
-
return fm.fetchReq<
|
|
106
|
+
static GetGProductLicensesExpired(req: GetGProductLicensesExpiredRequest, initReq?: fm.InitReq): Promise<GetGProductLicensesExpiredResponse> {
|
|
107
|
+
return fm.fetchReq<GetGProductLicensesExpiredRequest, GetGProductLicensesExpiredResponse>(`/apis/ghippo.io/v1alpha1/gproduct-licenses/expired?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
108
108
|
}
|
|
109
109
|
}
|