@mattermost/types 7.7.0 → 7.8.0
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/lib/cloud.d.ts +9 -0
- package/lib/files.d.ts +1 -0
- package/lib/marketplace.d.ts +0 -1
- package/lib/work_templates.d.ts +1 -0
- package/package.json +1 -1
package/lib/cloud.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export declare type CloudState = {
|
|
|
4
4
|
products?: Record<string, Product>;
|
|
5
5
|
customer?: CloudCustomer;
|
|
6
6
|
invoices?: Record<string, Invoice>;
|
|
7
|
+
subscriptionStats?: LicenseExpandReducer;
|
|
7
8
|
limits: {
|
|
8
9
|
limitsLoaded: boolean;
|
|
9
10
|
limits: Limits;
|
|
@@ -82,6 +83,13 @@ export declare type CloudCustomer = {
|
|
|
82
83
|
company_address: Address;
|
|
83
84
|
payment_method: PaymentMethod;
|
|
84
85
|
} & CustomerMetadataGatherWireTransfer;
|
|
86
|
+
export declare type LicenseExpandStatus = {
|
|
87
|
+
is_expandable: boolean;
|
|
88
|
+
};
|
|
89
|
+
declare type RequestState = 'IDLE' | 'LOADING' | 'ERROR' | 'OK';
|
|
90
|
+
export interface LicenseExpandReducer extends LicenseExpandStatus {
|
|
91
|
+
getRequestState: RequestState;
|
|
92
|
+
}
|
|
85
93
|
export declare type CloudCustomerPatch = {
|
|
86
94
|
email?: string;
|
|
87
95
|
name?: string;
|
|
@@ -183,3 +191,4 @@ export interface CreateSubscriptionRequest {
|
|
|
183
191
|
seats: number;
|
|
184
192
|
internal_purchase_order?: string;
|
|
185
193
|
}
|
|
194
|
+
export {};
|
package/lib/files.d.ts
CHANGED
package/lib/marketplace.d.ts
CHANGED
package/lib/work_templates.d.ts
CHANGED