@distr-sh/distr-sdk 2.21.2 → 2.22.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/dist/types/access-token.d.ts +3 -0
- package/dist/types/customer-organization.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/partner-organization.d.ts +14 -0
- package/dist/types/partner-organization.js +2 -0
- package/dist/types/partner-organization.js.map +1 -0
- package/dist/types/user-account.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { BaseModel } from './base';
|
|
2
|
+
import { UserRole } from './user-account';
|
|
2
3
|
export interface AccessToken extends BaseModel {
|
|
3
4
|
expiresAt?: string;
|
|
4
5
|
lastUsedAt?: string;
|
|
5
6
|
label?: string;
|
|
7
|
+
userRole?: UserRole;
|
|
6
8
|
}
|
|
7
9
|
export interface AccessTokenWithKey extends AccessToken {
|
|
8
10
|
key: string;
|
|
@@ -10,4 +12,5 @@ export interface AccessTokenWithKey extends AccessToken {
|
|
|
10
12
|
export interface CreateAccessTokenRequest {
|
|
11
13
|
label?: string;
|
|
12
14
|
expiresAt?: Date;
|
|
15
|
+
userRole?: UserRole;
|
|
13
16
|
}
|
|
@@ -5,6 +5,7 @@ export interface CustomerOrganization extends Required<BaseModel> {
|
|
|
5
5
|
imageId?: string;
|
|
6
6
|
imageUrl?: string;
|
|
7
7
|
features: CustomerOrganizationFeature[];
|
|
8
|
+
partnerOrganizationId?: string;
|
|
8
9
|
}
|
|
9
10
|
export interface CustomerOrganizationWithUsage extends CustomerOrganization {
|
|
10
11
|
userCount: number;
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
|
@@ -6,6 +6,7 @@ export * from './customer-organization';
|
|
|
6
6
|
export * from './deployment';
|
|
7
7
|
export * from './deployment-target';
|
|
8
8
|
export * from './organization-branding';
|
|
9
|
+
export * from './partner-organization';
|
|
9
10
|
export * from './support-bundle';
|
|
10
11
|
export * from './user-account';
|
|
11
12
|
//# sourceMappingURL=index.js.map
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,yBAAyB,CAAC;AACxC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,yBAAyB,CAAC;AACxC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseModel } from './base';
|
|
2
|
+
export interface PartnerOrganization extends Required<BaseModel> {
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
export interface PartnerOrganizationWithUsage extends PartnerOrganization {
|
|
6
|
+
userCount: number;
|
|
7
|
+
customerOrganizationCount: number;
|
|
8
|
+
}
|
|
9
|
+
export interface CreateUpdatePartnerOrganizationRequest {
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
export interface AssignCustomerToPartnerRequest {
|
|
13
|
+
partnerOrganizationId?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partner-organization.js","sourceRoot":"","sources":["../../src/types/partner-organization.ts"],"names":[],"mappings":""}
|