@gostack-framework/react 0.0.0-stage → 0.1.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/api.d.ts +83 -0
- package/dist/api.js +170 -0
- package/dist/api.js.map +1 -0
- package/dist/auth.d.ts +60 -0
- package/dist/auth.js +136 -0
- package/dist/auth.js.map +1 -0
- package/dist/data.d.ts +25 -0
- package/dist/data.js +73 -0
- package/dist/data.js.map +1 -0
- package/dist/examples.d.ts +6 -0
- package/dist/examples.js +47 -0
- package/dist/examples.js.map +1 -0
- package/dist/hooks.d.ts +58 -0
- package/dist/hooks.js +109 -0
- package/dist/hooks.js.map +1 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -0
- package/dist/layouts.d.ts +6 -0
- package/dist/layouts.js +34 -0
- package/dist/layouts.js.map +1 -0
- package/dist/line-flow/bus.d.ts +13 -0
- package/dist/line-flow/bus.js +52 -0
- package/dist/line-flow/bus.js.map +1 -0
- package/dist/line-flow/derived-line.d.ts +21 -0
- package/dist/line-flow/derived-line.js +122 -0
- package/dist/line-flow/derived-line.js.map +1 -0
- package/dist/line-flow/errors.d.ts +62 -0
- package/dist/line-flow/errors.js +91 -0
- package/dist/line-flow/errors.js.map +1 -0
- package/dist/line-flow/event-line.d.ts +16 -0
- package/dist/line-flow/event-line.js +81 -0
- package/dist/line-flow/event-line.js.map +1 -0
- package/dist/line-flow/index.d.ts +11 -0
- package/dist/line-flow/index.js +11 -0
- package/dist/line-flow/index.js.map +1 -0
- package/dist/line-flow/interchange.d.ts +17 -0
- package/dist/line-flow/interchange.js +86 -0
- package/dist/line-flow/interchange.js.map +1 -0
- package/dist/line-flow/lineflow.d.ts +12 -0
- package/dist/line-flow/lineflow.js +15 -0
- package/dist/line-flow/lineflow.js.map +1 -0
- package/dist/line-flow/network.d.ts +28 -0
- package/dist/line-flow/network.js +165 -0
- package/dist/line-flow/network.js.map +1 -0
- package/dist/line-flow/react/bridge.d.ts +23 -0
- package/dist/line-flow/react/bridge.js +40 -0
- package/dist/line-flow/react/bridge.js.map +1 -0
- package/dist/line-flow/react/hooks.d.ts +29 -0
- package/dist/line-flow/react/hooks.js +117 -0
- package/dist/line-flow/react/hooks.js.map +1 -0
- package/dist/line-flow/react/index.d.ts +3 -0
- package/dist/line-flow/react/index.js +4 -0
- package/dist/line-flow/react/index.js.map +1 -0
- package/dist/line-flow/react/provider.d.ts +15 -0
- package/dist/line-flow/react/provider.js +25 -0
- package/dist/line-flow/react/provider.js.map +1 -0
- package/dist/line-flow/scope.d.ts +21 -0
- package/dist/line-flow/scope.js +157 -0
- package/dist/line-flow/scope.js.map +1 -0
- package/dist/line-flow/state-line.d.ts +21 -0
- package/dist/line-flow/state-line.js +106 -0
- package/dist/line-flow/state-line.js.map +1 -0
- package/dist/line-flow/taxi.d.ts +15 -0
- package/dist/line-flow/taxi.js +81 -0
- package/dist/line-flow/taxi.js.map +1 -0
- package/dist/line-flow/types.d.ts +222 -0
- package/dist/line-flow/types.js +2 -0
- package/dist/line-flow/types.js.map +1 -0
- package/dist/line-flow/utils.d.ts +24 -0
- package/dist/line-flow/utils.js +53 -0
- package/dist/line-flow/utils.js.map +1 -0
- package/dist/paramsSerializer.d.ts +87 -0
- package/dist/paramsSerializer.js +138 -0
- package/dist/paramsSerializer.js.map +1 -0
- package/dist/registry.d.ts +10 -0
- package/dist/registry.js +115 -0
- package/dist/registry.js.map +1 -0
- package/dist/runtime.d.ts +80 -0
- package/dist/runtime.js +442 -0
- package/dist/runtime.js.map +1 -0
- package/dist/schemas.d.ts +88 -0
- package/dist/schemas.js +146 -0
- package/dist/schemas.js.map +1 -0
- package/dist/services.d.ts +35 -0
- package/dist/services.js +65 -0
- package/dist/services.js.map +1 -0
- package/dist/shared-types/file.types.d.ts +12 -0
- package/dist/shared-types/file.types.js +2 -0
- package/dist/shared-types/file.types.js.map +1 -0
- package/dist/shared-types/gallery.types.d.ts +22 -0
- package/dist/shared-types/gallery.types.js +2 -0
- package/dist/shared-types/gallery.types.js.map +1 -0
- package/dist/shared-types/governorates.types.d.ts +12 -0
- package/dist/shared-types/governorates.types.js +2 -0
- package/dist/shared-types/governorates.types.js.map +1 -0
- package/dist/shared-types/grade.types.d.ts +7 -0
- package/dist/shared-types/grade.types.js +2 -0
- package/dist/shared-types/grade.types.js.map +1 -0
- package/dist/shared-types/index.d.ts +13 -0
- package/dist/shared-types/index.js +14 -0
- package/dist/shared-types/index.js.map +1 -0
- package/dist/shared-types/metadata.types.d.ts +61 -0
- package/dist/shared-types/metadata.types.js +3 -0
- package/dist/shared-types/metadata.types.js.map +1 -0
- package/dist/shared-types/table.types.d.ts +33 -0
- package/dist/shared-types/table.types.js +2 -0
- package/dist/shared-types/table.types.js.map +1 -0
- package/dist/shared-types/viewCard.types.d.ts +78 -0
- package/dist/shared-types/viewCard.types.js +3 -0
- package/dist/shared-types/viewCard.types.js.map +1 -0
- package/dist/styles.css +347 -0
- package/dist/types.d.ts +126 -0
- package/dist/types.js +19 -0
- package/dist/types.js.map +1 -0
- package/dist/utils/conditionCompiler.d.ts +11 -0
- package/dist/utils/conditionCompiler.js +18 -0
- package/dist/utils/conditionCompiler.js.map +1 -0
- package/dist/utils/fileUtils.d.ts +50 -0
- package/dist/utils/fileUtils.js +266 -0
- package/dist/utils/fileUtils.js.map +1 -0
- package/dist/utils/metadataUtils.d.ts +35 -0
- package/dist/utils/metadataUtils.js +176 -0
- package/dist/utils/metadataUtils.js.map +1 -0
- package/dist/utils/normalizeTime.d.ts +1 -0
- package/dist/utils/normalizeTime.js +25 -0
- package/dist/utils/normalizeTime.js.map +1 -0
- package/dist/utils/tableUtils.d.ts +9 -0
- package/dist/utils/tableUtils.js +92 -0
- package/dist/utils/tableUtils.js.map +1 -0
- package/dist/utils/toFormData.d.ts +152 -0
- package/dist/utils/toFormData.js +250 -0
- package/dist/utils/toFormData.js.map +1 -0
- package/dist/utils/wizard.utils.d.ts +420 -0
- package/dist/utils/wizard.utils.js +596 -0
- package/dist/utils/wizard.utils.js.map +1 -0
- package/package.json +49 -3
- package/README.md +0 -3
|
@@ -0,0 +1,420 @@
|
|
|
1
|
+
export declare function formatClassificationsTree(classifications: any[], _optionsCategories?: any[]): any[];
|
|
2
|
+
export interface BuildIncidentPayloadParams<TStatus = any, TPriority = any, TImpact = any, TUrgency = any> {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
status: TStatus;
|
|
6
|
+
priority: TPriority;
|
|
7
|
+
impact: TImpact;
|
|
8
|
+
urgency: TUrgency;
|
|
9
|
+
category: string;
|
|
10
|
+
categoryName?: string;
|
|
11
|
+
channel: string;
|
|
12
|
+
contractId?: string;
|
|
13
|
+
contractName?: string;
|
|
14
|
+
slaId?: string;
|
|
15
|
+
slaName?: string;
|
|
16
|
+
requesterId?: string | number | null;
|
|
17
|
+
requesterName?: string;
|
|
18
|
+
teamId?: string | number | null;
|
|
19
|
+
assignmentGroup?: string;
|
|
20
|
+
assignId?: string | number | null;
|
|
21
|
+
assignee?: string;
|
|
22
|
+
notes: any[];
|
|
23
|
+
resolutionCode?: string;
|
|
24
|
+
resolutionNotes?: string;
|
|
25
|
+
rootCause?: string;
|
|
26
|
+
closeCode?: string;
|
|
27
|
+
ciId?: string | number | null;
|
|
28
|
+
}
|
|
29
|
+
export declare function formatNotesForApi(notes?: any[]): {
|
|
30
|
+
text: string;
|
|
31
|
+
mentionUserIds?: number[];
|
|
32
|
+
}[] | undefined;
|
|
33
|
+
export declare function buildIncidentPayload<TStatus = any, TPriority = any, TImpact = any, TUrgency = any>(params: BuildIncidentPayloadParams<TStatus, TPriority, TImpact, TUrgency>): {
|
|
34
|
+
title: string;
|
|
35
|
+
description: string;
|
|
36
|
+
status: TStatus;
|
|
37
|
+
priority: TPriority;
|
|
38
|
+
impact: TImpact;
|
|
39
|
+
urgency: TUrgency;
|
|
40
|
+
category: string;
|
|
41
|
+
classification_id: string | undefined;
|
|
42
|
+
ci_id: string | undefined;
|
|
43
|
+
channel: string;
|
|
44
|
+
contract_id: string | undefined;
|
|
45
|
+
contractName: string | undefined;
|
|
46
|
+
sla_id: string | undefined;
|
|
47
|
+
slaName: string | undefined;
|
|
48
|
+
requester_id: string | undefined;
|
|
49
|
+
requesterName: string | undefined;
|
|
50
|
+
team_id: string | undefined;
|
|
51
|
+
assignmentGroup: string | undefined;
|
|
52
|
+
assigned_to_id: string | undefined;
|
|
53
|
+
assignee: string | undefined;
|
|
54
|
+
notes: {
|
|
55
|
+
text: string;
|
|
56
|
+
mentionUserIds?: number[];
|
|
57
|
+
}[] | undefined;
|
|
58
|
+
resolution: {
|
|
59
|
+
code: string | undefined;
|
|
60
|
+
notes: string | undefined;
|
|
61
|
+
rootCause: string | undefined;
|
|
62
|
+
closeCode: string | undefined;
|
|
63
|
+
} | undefined;
|
|
64
|
+
resolutionCode: string | undefined;
|
|
65
|
+
resolutionNotes: string | undefined;
|
|
66
|
+
rootCause: string | undefined;
|
|
67
|
+
closeCode: string | undefined;
|
|
68
|
+
};
|
|
69
|
+
export declare function extractIncidentEditValues(incident: any): {
|
|
70
|
+
title: any;
|
|
71
|
+
description: any;
|
|
72
|
+
status: any;
|
|
73
|
+
priority: any;
|
|
74
|
+
impact: any;
|
|
75
|
+
urgency: any;
|
|
76
|
+
category: any;
|
|
77
|
+
classification: any;
|
|
78
|
+
channel: any;
|
|
79
|
+
contractId: string;
|
|
80
|
+
contractName: any;
|
|
81
|
+
slaId: string;
|
|
82
|
+
slaName: any;
|
|
83
|
+
requesterId: string | null;
|
|
84
|
+
contactName: any;
|
|
85
|
+
contactEmail: any;
|
|
86
|
+
teamId: string | null;
|
|
87
|
+
assignmentGroup: any;
|
|
88
|
+
assignId: string | null;
|
|
89
|
+
assignee: any;
|
|
90
|
+
notes: any;
|
|
91
|
+
resolutionCode: any;
|
|
92
|
+
resolutionNotes: any;
|
|
93
|
+
rootCause: any;
|
|
94
|
+
closeCode: any;
|
|
95
|
+
ciId: string;
|
|
96
|
+
ciName: any;
|
|
97
|
+
};
|
|
98
|
+
export interface BuildProblemPayloadParams<TStatus = any, TPriority = any, TImpact = any, TUrgency = any> {
|
|
99
|
+
title: string;
|
|
100
|
+
description: string;
|
|
101
|
+
status: TStatus;
|
|
102
|
+
priority: TPriority;
|
|
103
|
+
impact?: TImpact;
|
|
104
|
+
urgency?: TUrgency;
|
|
105
|
+
category: string;
|
|
106
|
+
categoryName?: string;
|
|
107
|
+
rcaMethodology?: string;
|
|
108
|
+
rootCauseSummary?: string;
|
|
109
|
+
contractId?: string | number | null;
|
|
110
|
+
contract_id?: string | number | null;
|
|
111
|
+
contractName?: string;
|
|
112
|
+
slaId?: string | number | null;
|
|
113
|
+
sla_id?: string | number | null;
|
|
114
|
+
slaName?: string;
|
|
115
|
+
requesterId?: string | number | null;
|
|
116
|
+
requesterName?: string;
|
|
117
|
+
teamId?: string | number | null;
|
|
118
|
+
assignmentGroup?: string;
|
|
119
|
+
assignId?: string | number | null;
|
|
120
|
+
assignee?: string;
|
|
121
|
+
workaround?: string;
|
|
122
|
+
permanentSolution?: string;
|
|
123
|
+
relatedRecords?: any[];
|
|
124
|
+
ciId?: string | number | null;
|
|
125
|
+
notes?: any[];
|
|
126
|
+
}
|
|
127
|
+
export declare function buildProblemPayload<TStatus = any, TPriority = any, TImpact = any, TUrgency = any>(params: BuildProblemPayloadParams<TStatus, TPriority, TImpact, TUrgency>): {
|
|
128
|
+
title: string;
|
|
129
|
+
description: string;
|
|
130
|
+
status: TStatus;
|
|
131
|
+
priority: TPriority;
|
|
132
|
+
impact: TImpact | undefined;
|
|
133
|
+
urgency: TUrgency | undefined;
|
|
134
|
+
category: string;
|
|
135
|
+
classification_id: string | undefined;
|
|
136
|
+
ci_id: string | undefined;
|
|
137
|
+
rcaMethodology: string | undefined;
|
|
138
|
+
rca_methodology: string | undefined;
|
|
139
|
+
rootCauseSummary: string | undefined;
|
|
140
|
+
root_cause_summary: string | undefined;
|
|
141
|
+
contract_id: string | undefined;
|
|
142
|
+
contractId: string | undefined;
|
|
143
|
+
contractName: string | undefined;
|
|
144
|
+
sla_id: string | undefined;
|
|
145
|
+
slaId: string | undefined;
|
|
146
|
+
slaName: string | undefined;
|
|
147
|
+
requester_id: string | undefined;
|
|
148
|
+
requesterName: string | undefined;
|
|
149
|
+
team_id: string | undefined;
|
|
150
|
+
assignmentGroup: string | undefined;
|
|
151
|
+
assigned_to_id: string | undefined;
|
|
152
|
+
assignee: string | undefined;
|
|
153
|
+
workaround: string | undefined;
|
|
154
|
+
permanentSolution: string | undefined;
|
|
155
|
+
permanent_solution: string | undefined;
|
|
156
|
+
relatedRecords: any[] | undefined;
|
|
157
|
+
notes: {
|
|
158
|
+
text: string;
|
|
159
|
+
mentionUserIds?: number[];
|
|
160
|
+
}[] | undefined;
|
|
161
|
+
};
|
|
162
|
+
export declare function extractProblemEditValues(problem: any): {
|
|
163
|
+
title: any;
|
|
164
|
+
description: any;
|
|
165
|
+
status: any;
|
|
166
|
+
priority: any;
|
|
167
|
+
impact: any;
|
|
168
|
+
urgency: any;
|
|
169
|
+
category: any;
|
|
170
|
+
classification: any;
|
|
171
|
+
rcaMethodology: any;
|
|
172
|
+
rootCauseSummary: any;
|
|
173
|
+
contractId: string;
|
|
174
|
+
contractName: any;
|
|
175
|
+
slaId: string;
|
|
176
|
+
slaName: any;
|
|
177
|
+
workaround: any;
|
|
178
|
+
permanentSolution: any;
|
|
179
|
+
requesterId: string | null;
|
|
180
|
+
contactName: any;
|
|
181
|
+
contactEmail: any;
|
|
182
|
+
teamId: string | null;
|
|
183
|
+
assignmentGroup: any;
|
|
184
|
+
assignId: string | null;
|
|
185
|
+
assignee: any;
|
|
186
|
+
relatedRecords: any;
|
|
187
|
+
ciId: string;
|
|
188
|
+
ciName: any;
|
|
189
|
+
};
|
|
190
|
+
export interface BuildChangePayloadParams<TStatus = any, TPriority = any, TType = any, TRisk = any, TImpact = any> {
|
|
191
|
+
title: string;
|
|
192
|
+
description: string;
|
|
193
|
+
type: TType;
|
|
194
|
+
risk: TRisk;
|
|
195
|
+
impact?: TImpact;
|
|
196
|
+
urgency?: any;
|
|
197
|
+
priority: TPriority;
|
|
198
|
+
status: TStatus;
|
|
199
|
+
category?: string;
|
|
200
|
+
subcategory?: string;
|
|
201
|
+
classType?: string;
|
|
202
|
+
contractId?: string | number | null;
|
|
203
|
+
contract_id?: string | number | null;
|
|
204
|
+
contractName?: string;
|
|
205
|
+
slaId?: string | number | null;
|
|
206
|
+
sla_id?: string | number | null;
|
|
207
|
+
slaName?: string;
|
|
208
|
+
requesterId?: number | string | null;
|
|
209
|
+
requesterName?: string;
|
|
210
|
+
teamId?: number | string | null;
|
|
211
|
+
assignmentGroup?: string;
|
|
212
|
+
assignId?: number | string | null;
|
|
213
|
+
assignee?: string;
|
|
214
|
+
scheduledStart?: string;
|
|
215
|
+
scheduledEnd?: string;
|
|
216
|
+
riskAssessment?: string;
|
|
217
|
+
requiresCabApproval?: boolean;
|
|
218
|
+
cabMeetingDate?: string;
|
|
219
|
+
cabOutcome?: string;
|
|
220
|
+
downtimeStart?: string;
|
|
221
|
+
downtimeEnd?: string;
|
|
222
|
+
affectedServices?: string;
|
|
223
|
+
testingCriteria?: string;
|
|
224
|
+
testingResults?: string;
|
|
225
|
+
rollbackPlan?: string;
|
|
226
|
+
closeCode?: string;
|
|
227
|
+
closeNotes?: string;
|
|
228
|
+
ciId?: string | number | null;
|
|
229
|
+
notes?: any[];
|
|
230
|
+
}
|
|
231
|
+
export declare function formatDateTimeForApi(dt?: string | null): string | null;
|
|
232
|
+
export declare function buildChangePayload<TStatus = any, TPriority = any, TType = any, TRisk = any, TImpact = any>(params: BuildChangePayloadParams<TStatus, TPriority, TType, TRisk, TImpact>): {
|
|
233
|
+
title: string;
|
|
234
|
+
description: string;
|
|
235
|
+
type: TType;
|
|
236
|
+
risk: TRisk;
|
|
237
|
+
impact: string | NonNullable<TImpact>;
|
|
238
|
+
urgency: any;
|
|
239
|
+
priority: TPriority;
|
|
240
|
+
status: TStatus;
|
|
241
|
+
classification_id: string | undefined;
|
|
242
|
+
ci_id: string | undefined;
|
|
243
|
+
category: string | undefined;
|
|
244
|
+
subcategory: string | undefined;
|
|
245
|
+
classType: string | undefined;
|
|
246
|
+
contract_id: string | undefined;
|
|
247
|
+
contractId: string | undefined;
|
|
248
|
+
contractName: string | undefined;
|
|
249
|
+
sla_id: string | undefined;
|
|
250
|
+
slaId: string | undefined;
|
|
251
|
+
slaName: string | undefined;
|
|
252
|
+
requester_id: string | undefined;
|
|
253
|
+
requesterId: string | undefined;
|
|
254
|
+
requesterName: string | undefined;
|
|
255
|
+
team_id: string | undefined;
|
|
256
|
+
assignmentGroup: string | undefined;
|
|
257
|
+
assigned_to_id: string | undefined;
|
|
258
|
+
assignee: string | undefined;
|
|
259
|
+
planning: {
|
|
260
|
+
scheduledStartDate: string | null;
|
|
261
|
+
scheduledEndDate: string | null;
|
|
262
|
+
riskAssessment: string | null;
|
|
263
|
+
} | undefined;
|
|
264
|
+
approval: {
|
|
265
|
+
requiresCabApproval: boolean;
|
|
266
|
+
cabMeetingDate: string | null;
|
|
267
|
+
cabOutcome: string;
|
|
268
|
+
} | undefined;
|
|
269
|
+
implementation: {
|
|
270
|
+
downtimeStartDate: string | null;
|
|
271
|
+
downtimeEndDate: string | null;
|
|
272
|
+
affectedServices: string[];
|
|
273
|
+
} | undefined;
|
|
274
|
+
testing: {
|
|
275
|
+
testPlan: string | null;
|
|
276
|
+
testResults: string | null;
|
|
277
|
+
} | null;
|
|
278
|
+
rollback: {
|
|
279
|
+
rollbackPlan: string | null;
|
|
280
|
+
} | null;
|
|
281
|
+
closure: {
|
|
282
|
+
closureCode: string | null;
|
|
283
|
+
comments: string | null;
|
|
284
|
+
} | null;
|
|
285
|
+
notes: {
|
|
286
|
+
text: string;
|
|
287
|
+
mentionUserIds?: number[];
|
|
288
|
+
}[] | undefined;
|
|
289
|
+
};
|
|
290
|
+
export declare function extractChangeEditValues(change: any): {
|
|
291
|
+
title: any;
|
|
292
|
+
description: any;
|
|
293
|
+
category: any;
|
|
294
|
+
classification: any;
|
|
295
|
+
subcategory: any;
|
|
296
|
+
classType: any;
|
|
297
|
+
type: any;
|
|
298
|
+
priority: any;
|
|
299
|
+
risk: any;
|
|
300
|
+
impact: any;
|
|
301
|
+
urgency: any;
|
|
302
|
+
status: any;
|
|
303
|
+
contractId: string;
|
|
304
|
+
contractName: any;
|
|
305
|
+
slaId: string;
|
|
306
|
+
slaName: any;
|
|
307
|
+
requesterId: string | null;
|
|
308
|
+
contactName: any;
|
|
309
|
+
contactEmail: any;
|
|
310
|
+
teamId: string | null;
|
|
311
|
+
assignmentGroup: any;
|
|
312
|
+
assignId: string | null;
|
|
313
|
+
assignee: any;
|
|
314
|
+
scheduledStart: string;
|
|
315
|
+
scheduledEnd: string;
|
|
316
|
+
riskAssessment: any;
|
|
317
|
+
requiresCabApproval: any;
|
|
318
|
+
cabMeetingDate: any;
|
|
319
|
+
cabOutcome: any;
|
|
320
|
+
downtimeStart: string;
|
|
321
|
+
downtimeEnd: string;
|
|
322
|
+
affectedServices: any;
|
|
323
|
+
testingCriteria: any;
|
|
324
|
+
testingResults: any;
|
|
325
|
+
rollbackPlan: any;
|
|
326
|
+
closeCode: any;
|
|
327
|
+
closeNotes: any;
|
|
328
|
+
ciId: string;
|
|
329
|
+
ciName: any;
|
|
330
|
+
};
|
|
331
|
+
export interface BuildServiceRequestPayloadParams<TStatus = any, TPriority = any> {
|
|
332
|
+
title: string;
|
|
333
|
+
description: string;
|
|
334
|
+
priority: TPriority;
|
|
335
|
+
status: TStatus;
|
|
336
|
+
category?: string;
|
|
337
|
+
categoryName?: string;
|
|
338
|
+
classificationId?: string | number | null;
|
|
339
|
+
catalogItemId?: string;
|
|
340
|
+
catalogItemName?: string;
|
|
341
|
+
workflowId?: string;
|
|
342
|
+
workflowName?: string;
|
|
343
|
+
contractId?: string | number | null;
|
|
344
|
+
contract_id?: string | number | null;
|
|
345
|
+
contractName?: string;
|
|
346
|
+
dueAt?: string | null;
|
|
347
|
+
requesterId?: number | string | null;
|
|
348
|
+
requesterName?: string;
|
|
349
|
+
requestedForId?: number | string | null;
|
|
350
|
+
requestedForName?: string;
|
|
351
|
+
teamId?: number | string | null;
|
|
352
|
+
teamName?: string;
|
|
353
|
+
assignmentGroup?: string;
|
|
354
|
+
assignId?: number | string | null;
|
|
355
|
+
assignedToId?: number | string | null;
|
|
356
|
+
assignee?: string;
|
|
357
|
+
assigneeName?: string;
|
|
358
|
+
formData?: Record<string, any>;
|
|
359
|
+
}
|
|
360
|
+
export declare function buildServiceRequestPayload<TStatus = any, TPriority = any>(params: BuildServiceRequestPayloadParams<TStatus, TPriority>): {
|
|
361
|
+
title: string;
|
|
362
|
+
description: string;
|
|
363
|
+
priority: TPriority;
|
|
364
|
+
status: TStatus;
|
|
365
|
+
category: string;
|
|
366
|
+
classification_id: string | undefined;
|
|
367
|
+
catalogItemId: string | undefined;
|
|
368
|
+
catalog_item_id: string | undefined;
|
|
369
|
+
service_catalog_item_id: number | undefined;
|
|
370
|
+
catalogItemName: string | undefined;
|
|
371
|
+
workflowId: string | undefined;
|
|
372
|
+
workflow_id: string | undefined;
|
|
373
|
+
workflowName: string | undefined;
|
|
374
|
+
contract_id: string | undefined;
|
|
375
|
+
contractId: string | undefined;
|
|
376
|
+
contractName: string | undefined;
|
|
377
|
+
dueAt: string | null;
|
|
378
|
+
due_at: string | null;
|
|
379
|
+
form_data: Record<string, any> | undefined;
|
|
380
|
+
requesterId: string | number | undefined;
|
|
381
|
+
requester_id: string | undefined;
|
|
382
|
+
requestedForId: string | number | undefined;
|
|
383
|
+
requested_for_id: string | undefined;
|
|
384
|
+
teamId: string | number | null;
|
|
385
|
+
team_id: string | undefined;
|
|
386
|
+
assignedToId: string | number | null;
|
|
387
|
+
assigned_to_id: string | undefined;
|
|
388
|
+
requesterName: string | undefined;
|
|
389
|
+
requestedForName: string | undefined;
|
|
390
|
+
teamName: string | undefined;
|
|
391
|
+
assignmentGroup: string | undefined;
|
|
392
|
+
assigneeName: string | undefined;
|
|
393
|
+
assignee: string | undefined;
|
|
394
|
+
};
|
|
395
|
+
export declare function extractServiceRequestEditValues(sr: any): {
|
|
396
|
+
title: any;
|
|
397
|
+
description: any;
|
|
398
|
+
priority: any;
|
|
399
|
+
status: any;
|
|
400
|
+
category: any;
|
|
401
|
+
catalogItemId: any;
|
|
402
|
+
catalogItemName: any;
|
|
403
|
+
workflowId: any;
|
|
404
|
+
workflowName: any;
|
|
405
|
+
contractId: string;
|
|
406
|
+
contractName: any;
|
|
407
|
+
dueAt: any;
|
|
408
|
+
formData: any;
|
|
409
|
+
requesterId: string | null;
|
|
410
|
+
contactName: any;
|
|
411
|
+
contactEmail: any;
|
|
412
|
+
contactPhone: any;
|
|
413
|
+
department: any;
|
|
414
|
+
requestedForId: string | null;
|
|
415
|
+
requestedForName: any;
|
|
416
|
+
teamId: string | null;
|
|
417
|
+
teamName: any;
|
|
418
|
+
assigneeId: string | null;
|
|
419
|
+
assigneeName: any;
|
|
420
|
+
};
|