@distr-sh/distr-sdk 2.12.0 → 2.14.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/customer-organization.d.ts +1 -1
- 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/support-bundle.d.ts +58 -0
- package/dist/types/support-bundle.js +2 -0
- package/dist/types/support-bundle.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseModel } from './base';
|
|
2
|
-
export type CustomerOrganizationFeature = 'deployment_targets' | 'artifacts' | 'alerts';
|
|
2
|
+
export type CustomerOrganizationFeature = 'deployment_targets' | 'artifacts' | 'alerts' | 'support_bundles';
|
|
3
3
|
export interface CustomerOrganization extends Required<BaseModel> {
|
|
4
4
|
name: string;
|
|
5
5
|
imageId?: string;
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
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,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,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export type SupportBundleStatus = 'initialized' | 'created' | 'resolved' | 'canceled';
|
|
2
|
+
export interface SupportBundleConfigurationEnvVar {
|
|
3
|
+
name: string;
|
|
4
|
+
redacted: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface CreateUpdateSupportBundleConfigurationRequest {
|
|
7
|
+
envVars: SupportBundleConfigurationEnvVar[];
|
|
8
|
+
}
|
|
9
|
+
export interface SupportBundle {
|
|
10
|
+
id: string;
|
|
11
|
+
createdAt: string;
|
|
12
|
+
customerOrganizationId: string;
|
|
13
|
+
customerOrganizationName: string;
|
|
14
|
+
createdByUserAccountId: string;
|
|
15
|
+
createdByUserName: string;
|
|
16
|
+
createdByImageUrl?: string;
|
|
17
|
+
title: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
status: SupportBundleStatus;
|
|
20
|
+
resourceCount: number;
|
|
21
|
+
commentCount: number;
|
|
22
|
+
lastCommentAt?: string;
|
|
23
|
+
statusChangedByUserName?: string;
|
|
24
|
+
statusChangedByImageUrl?: string;
|
|
25
|
+
statusChangedAt?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface CreateSupportBundleRequest {
|
|
28
|
+
title: string;
|
|
29
|
+
description?: string;
|
|
30
|
+
}
|
|
31
|
+
export interface CreateSupportBundleResponse extends SupportBundle {
|
|
32
|
+
collectCommand: string;
|
|
33
|
+
}
|
|
34
|
+
export interface SupportBundleResource {
|
|
35
|
+
id: string;
|
|
36
|
+
createdAt: string;
|
|
37
|
+
name: string;
|
|
38
|
+
content: string;
|
|
39
|
+
}
|
|
40
|
+
export interface SupportBundleComment {
|
|
41
|
+
id: string;
|
|
42
|
+
createdAt: string;
|
|
43
|
+
userAccountId: string;
|
|
44
|
+
userName: string;
|
|
45
|
+
userImageUrl?: string;
|
|
46
|
+
content: string;
|
|
47
|
+
}
|
|
48
|
+
export interface SupportBundleDetail extends SupportBundle {
|
|
49
|
+
resources: SupportBundleResource[];
|
|
50
|
+
comments: SupportBundleComment[];
|
|
51
|
+
collectCommand?: string;
|
|
52
|
+
}
|
|
53
|
+
export interface CreateSupportBundleCommentRequest {
|
|
54
|
+
content: string;
|
|
55
|
+
}
|
|
56
|
+
export interface UpdateSupportBundleStatusRequest {
|
|
57
|
+
status: 'resolved' | 'canceled';
|
|
58
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"support-bundle.js","sourceRoot":"","sources":["../../src/types/support-bundle.ts"],"names":[],"mappings":""}
|