octopian-configuration-apis 1.0.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.
Files changed (49) hide show
  1. package/README.md +104 -0
  2. package/package.json +18 -0
  3. package/src/CoreServices/configurationServices.js +1501 -0
  4. package/src/CoreServices/darAlBerServices.js +239 -0
  5. package/src/config.js +22 -0
  6. package/src/index.d.ts +908 -0
  7. package/src/index.js +101 -0
  8. package/src/modals/input-modals/CreateNewCorrespondenceInput.ts +7 -0
  9. package/src/modals/input-modals/GetAssetBlazorViewInput.ts +4 -0
  10. package/src/modals/input-modals/GetAssetListInput.ts +8 -0
  11. package/src/modals/input-modals/GetAttributeTypesInput.ts +6 -0
  12. package/src/modals/input-modals/GetDABAssetsInput.ts +4 -0
  13. package/src/modals/input-modals/GetDocumentTypesInput.ts +6 -0
  14. package/src/modals/input-modals/GetInteractorListInput.ts +5 -0
  15. package/src/modals/input-modals/GetItemListInput.ts +8 -0
  16. package/src/modals/input-modals/GetPositionsInput.ts +6 -0
  17. package/src/modals/input-modals/GetRoleListByPermissionInput.ts +13 -0
  18. package/src/modals/input-modals/GetServiceAttributeListInput.ts +8 -0
  19. package/src/modals/input-modals/GetServiceCategoryInput.ts +6 -0
  20. package/src/modals/input-modals/GetServiceListInput.ts +10 -0
  21. package/src/modals/input-modals/GetServiceStepListInput.ts +8 -0
  22. package/src/modals/input-modals/GetServiceSubCategoryInput.ts +7 -0
  23. package/src/modals/input-modals/GetStepTypesInput.ts +7 -0
  24. package/src/modals/input-modals/LoginUserInput.ts +8 -0
  25. package/src/modals/input-modals/MaintainAttributeListInput.ts +6 -0
  26. package/src/modals/input-modals/MaintainAttributeTypeInput.ts +142 -0
  27. package/src/modals/input-modals/MaintainSubCategoryInput.ts +6 -0
  28. package/src/modals/output-modals/BaseResponse.ts +13 -0
  29. package/src/modals/output-modals/GetAssetBlazorViewOutput.ts +11 -0
  30. package/src/modals/output-modals/GetAssetListOutput.ts +92 -0
  31. package/src/modals/output-modals/GetAttributeTypesOutput.ts +37 -0
  32. package/src/modals/output-modals/GetDefaultConfigurationOutput.ts +273 -0
  33. package/src/modals/output-modals/GetDocumentTypesOutput.ts +23 -0
  34. package/src/modals/output-modals/GetInteractorListOutput.ts +81 -0
  35. package/src/modals/output-modals/GetInteractorTypeListOutput.ts +59 -0
  36. package/src/modals/output-modals/GetItemListOutput.ts +92 -0
  37. package/src/modals/output-modals/GetPositionsOutput.ts +10 -0
  38. package/src/modals/output-modals/GetRoleListByPermissionOutput.ts +18 -0
  39. package/src/modals/output-modals/GetServiceAttributeListOutput.ts +95 -0
  40. package/src/modals/output-modals/GetServiceCategoryOutput.ts +62 -0
  41. package/src/modals/output-modals/GetServiceListOutput.ts +183 -0
  42. package/src/modals/output-modals/GetServiceStepListOutput.ts +163 -0
  43. package/src/modals/output-modals/GetServiceSubCategoryOuput.ts +71 -0
  44. package/src/modals/output-modals/GetStepTypesOutput.ts +7 -0
  45. package/src/modals/output-modals/GetUnitListOutput.ts +27 -0
  46. package/src/modals/output-modals/LoginUserOutput.ts +8 -0
  47. package/src/sdkUtilities.js +22 -0
  48. package/src/web-services/apiConstants.js +99 -0
  49. package/src/web-services/apiHandler.js +154 -0
@@ -0,0 +1,62 @@
1
+ export interface GetServiceCategoryOutput {
2
+ serviceCategoryId?: number;
3
+ interactorTypeId?: number;
4
+ weight?: string;
5
+ name: string;
6
+ translations?: string;
7
+ alias: string;
8
+ externalImagePath?: string;
9
+ hideIcons: boolean;
10
+ hideDetails: boolean;
11
+ hideImages: boolean;
12
+ hideReceiptFooter: boolean;
13
+ hideServicesSubCategories: boolean;
14
+ hideEmptyImage: boolean;
15
+ imagePath?: string;
16
+ fullImagePath?: string;
17
+ dtoState: number;
18
+ isGuestPublic: boolean;
19
+ isQrguestPublic: boolean;
20
+ isSocialMediaGuestPublic: boolean;
21
+ extendedColor?: string;
22
+ extendedTextColor?: string;
23
+ showExtended: boolean;
24
+ extendedAlignment?: number | null;
25
+ showExtendedText?: boolean | null;
26
+ extendedHorizontalShift?: number | null;
27
+ hideBackground: boolean;
28
+ extendedImagePath?: string;
29
+ fullExtendedImagePath?: string;
30
+ hasBackgroundImages: boolean;
31
+ isOverrideColorThemeing: boolean;
32
+ isOverrideBackgroundImage: boolean;
33
+ iphoneBgPortraitV1imagePath?: string;
34
+ iphoneBgLandscapeV1imagePath?: string;
35
+ iphoneBgPortraitV2imagePath?: string;
36
+ iphoneBgLandscapeV2imagePath?: string;
37
+ iphoneBgPortraitV3imagePath?: string;
38
+ iphoneBgLandscapeV3imagePath?: string;
39
+ ipadBgPortraitV1imagePath?: string;
40
+ ipadBgLandscapeV1imagePath?: string;
41
+ ipadBgPortraitV2imagePath?: string;
42
+ ipadBgLandscapeV2imagePath?: string;
43
+ androidBgPortraitSmallImagePath?: string;
44
+ androidBgLandscapeSmallImagePath?: string;
45
+ androidBgPortraitMediumImagePath?: string;
46
+ androidBgLandscapeMediumImagePath?: string;
47
+ androidBgPortraitLargeImagePath?: string;
48
+ androidBgLandscapeLargeImagePath?: string;
49
+ androidBgPortraitXlargeImagePath?: string;
50
+ androidBgLandscapeXlargeImagePath?: string;
51
+ iphoneBgPortraitV4imagePath?: string;
52
+ iphoneBgLandscapeV4imagePath?: string;
53
+ iphoneBgPortraitV5imagePath?: string;
54
+ iphoneBgLandscapeV5imagePath?: string;
55
+ ipadBgPortraitV3imagePath?: string;
56
+ ipadBgLandscapeV3imagePath?: string;
57
+ androidBgPortraitXxlargeImagePath?: string;
58
+ androidBgLandscapeXxlargeImagePath?: string;
59
+ androidBgPortraitXxxlargeImagePath?: string;
60
+ androidBgLandscapeXxxlargeImagePath?: string;
61
+ }
62
+
@@ -0,0 +1,183 @@
1
+ import { GetServiceSubCategoryOutput } from "./GetServiceSubCategoryOuput";
2
+
3
+ export interface GetServiceListOutput {
4
+ serviceId?: number;
5
+ serviceSubCategoryId?: number;
6
+ ServiceSubCategoryDto?: GetServiceSubCategoryOutput;
7
+ name: string;
8
+ alias: string;
9
+ weight?: string;
10
+ translations?: string;
11
+ description?: string;
12
+ descriptionTranslations?: string;
13
+ uiviewAlias?: string;
14
+ version?: string;
15
+ versionId?: number | null;
16
+ attributeSetId?: number | null;
17
+ externalImagePath?: string;
18
+ isPublished: boolean;
19
+ isActive: boolean;
20
+ isSimpleService?: boolean;
21
+ isGuestPublic?: boolean;
22
+ isGuestPublicChanged?: boolean;
23
+ isQrguestPublic?: boolean;
24
+ isQrGuestPublicChanged?: boolean;
25
+ isSocialMediaGuestPublic?: boolean;
26
+ isSocialMediaGuestPublicChanged?: boolean;
27
+ isGrantAccessToAllInteractorTypeUnits: boolean;
28
+ ownerRoleId?: number | null;
29
+ agentRoleId?: number | null;
30
+ roleAgentName?: string;
31
+ roleOwnerName?: string;
32
+ imagePath?: string;
33
+ fullImagePath?: string;
34
+ extraLine1?: string;
35
+ extraLine2?: string;
36
+ cost?: string;
37
+ price?: string;
38
+ receipt?: string;
39
+ quantity?: string;
40
+ staticAttributePagesCount?: number;
41
+ attributePageWaitingList?: string;
42
+ attributePagesTitles?: string;
43
+ attributePagesCount: number;
44
+ parameterPagesTitles?: string;
45
+ parameterPagesCount?: number;
46
+ assetsFilter?: string;
47
+ hasDynamicAssets: boolean;
48
+ itemsFilter?: string;
49
+ hasDynamicItems: boolean;
50
+ isBulkOrder?: boolean;
51
+ bulkOrderAttribute?: string;
52
+ isBulkOrderExternalId?: boolean;
53
+ isSelfService: boolean;
54
+ isCombined: boolean;
55
+ offlineSupport: boolean;
56
+ isItemsFirst?: boolean;
57
+ isClientFacing: boolean;
58
+ addToCart: boolean;
59
+ isShortcutProxy?: boolean;
60
+ isQuickOrder: boolean;
61
+ isTranslationEnabled?: boolean | null;
62
+ isRequestable: boolean;
63
+ isPhantom: boolean;
64
+ isNeutralEmotion?: boolean;
65
+ isHideQuantity: boolean;
66
+ isRecommended?: boolean;
67
+ isSecondary?: boolean;
68
+ isTemplate?: boolean;
69
+ isAutoAdd?: boolean;
70
+ isNew?: boolean;
71
+ isIntegration?: boolean;
72
+ isVoting?: boolean;
73
+ customFlag?: boolean;
74
+ hideAttributesGroups?: boolean;
75
+ hideAttributes?: boolean;
76
+ hideAssetsSubgroups?: boolean;
77
+ hideItemsSubgroups?: boolean;
78
+ disableValidation?: boolean;
79
+ customField1?: string;
80
+ customField2?: string;
81
+ customField3?: string;
82
+ customField4?: string;
83
+ customField5?: string;
84
+ isValidationEnabled?: boolean | null;
85
+ validationRule?: string;
86
+ validationRuleFailedComment?: string;
87
+ validationRuleFailedCommentTranslation?: string;
88
+ multiValidationRules?: string;
89
+ isPublicSearchEnabled?: boolean;
90
+ searchCategory?: string;
91
+ searchSubCategory?: string;
92
+ searchTags?: string;
93
+ rfidtags?: string;
94
+ ibeaconId?: string;
95
+ location?: string;
96
+ geoRange?: number | null;
97
+ geoRangeUitype?: number | null;
98
+ geoRangeUivalue?: number | null;
99
+ searchTextConcat?: string;
100
+ isInterCompany?: boolean;
101
+ interCompanyConnectionId?: number | null;
102
+ isStaticInterCompanyCatalog?: boolean;
103
+ offlineInterCompanyCatalogFilePath?: string;
104
+ isRequesterVisible: boolean;
105
+ isProviderVisible: boolean;
106
+ hasSelector?: boolean;
107
+ selectorListAttributeResultId?: number | null;
108
+ selectorDetailedAttributeResultId?: number | null;
109
+ isAssetSearchKeysFilter?: boolean;
110
+ hasAssets?: boolean;
111
+ isItemSearchKeysFilter?: boolean;
112
+ hasItems?: boolean;
113
+ isShortcut?: boolean;
114
+ shortcutInteractorTypeId?: number | null;
115
+ shortcutServiceCategoryId?: number | null;
116
+ shortcutServiceSubCategoryId?: number | null;
117
+ shortcutServiceId?: number | null;
118
+ isQuestionnaire?: boolean;
119
+ questionnaireTemplateId?: number | null;
120
+ isChatbot?: boolean | null;
121
+ extendedColor?: string;
122
+ extendedTextColor?: string;
123
+ showExtended?: boolean;
124
+ extendedAlignment?: number | null;
125
+ showExtendedText?: boolean | null;
126
+ extendedHorizontalShift?: number | null;
127
+ hideBackground?: boolean;
128
+ extendedImagePath?: string;
129
+ extendedFullImagePath?: string;
130
+ hasBackgroundImages?: boolean;
131
+ isOverrideColorThemeing?: boolean;
132
+ isOverrideBackgroundImage?: boolean;
133
+ galleryImagesString?: string;
134
+ fullGalleryImagesString?: string;
135
+ dtoState: number;
136
+ optimisticTime?: number;
137
+ pessimisticTime?: number;
138
+ noDeliveryTime?: number;
139
+ reportAttributes?: string;
140
+ offlineItemListFilePath?: string;
141
+ offlineAssetListFilePath?: string;
142
+ hasParameters?: boolean;
143
+ isHideSelector?: boolean;
144
+ hasOfflineAssets?: boolean;
145
+ hasOfflineItems?: boolean;
146
+ hasStaticAttributes?: boolean;
147
+ timeStamp?: Date | null;
148
+ rv?: Uint8Array | null;
149
+ serviceGuid?: string | null;
150
+ offlineServiceAttributesFilePath?: string;
151
+ onClickShow?: string;
152
+ isMigrated?: boolean | null;
153
+ isChecked?: boolean;
154
+ gptIntention?: string;
155
+ gptPrompt?: string;
156
+ mainGptPrompt?: string;
157
+ secondaryGptPrompt?: string;
158
+ tertiaryGptPrompt?: string;
159
+ uiViewUrl?: string;
160
+ hasExternalAssets?: boolean | null;
161
+ hasExternalItems?: boolean | null;
162
+ formFilePath?: string;
163
+ fullFormFilePath?: string;
164
+ workFlowEditorFilePath?: string;
165
+ fullWorkFlowEditorFilePath?: string;
166
+ workFlowMetaDataFilePath?: string;
167
+ fullWorkFlowMetaDataFilePath?: string;
168
+ isBpmn?: boolean | null;
169
+ isBpmnGeneratedStepsModified?: boolean | null;
170
+ isTrackable: boolean;
171
+ orderByAttributeAlias1?: string;
172
+ directManagerRoleId?: number | null;
173
+ superiorManagerRoleId?: number | null;
174
+ roleDirectManagerName?: string;
175
+ roleSuperiorManagerName?: string;
176
+ selectorListViewDetails?: string;
177
+ selectorDetailedViewDetails?: string;
178
+
179
+ // Required field
180
+ deploymentEnvironment: string;
181
+ }
182
+
183
+
@@ -0,0 +1,163 @@
1
+ import { GetServiceListOutput } from "./GetServiceListOutput";
2
+
3
+ export class GetServiceStepListOutput {
4
+ preApprovalRule: string = '';
5
+ preApprovalRuleFailedComment: string = '';
6
+ preIsInProcess: boolean = false;
7
+ serviceId: number = 0;
8
+ serviceStepId: number = 0;
9
+ isMainstream: boolean = true; // Default value based on previous constructor
10
+ isNotification: boolean = true; // Default value based on previous constructor
11
+ isAcknowledgment: boolean = false; // Default value based on previous constructor
12
+ stepTypeId: number = 1; // Placeholder value (assuming a valid value for demonstration)
13
+ name: string = '';
14
+ translations: string = '';
15
+ attributeSetId: number = 0;
16
+ stakeholderId: number = 0;
17
+ interactorTypeId: number = 0;
18
+ providerRoleTypeId: number = 0;
19
+ providerRoleId: number = 1; // Placeholder value
20
+ isSumResults: boolean = false;
21
+ isVotingHideDetails: boolean = false;
22
+ isSendToAllProviders: boolean = false;
23
+ uiviewAlias: string = '';
24
+ isSlaenabled: boolean = false;
25
+ optimisticTime: number = 0;
26
+ optimisticTimeUivalue: number = 0;
27
+ optimisticTimeUitype: number = 1; // Default TimeTypeIDs.Hours
28
+ isOptimisticEscalationEnabled: boolean = false;
29
+ optimisticEscalationProviderRoleAttributeName: string = '';
30
+ optimisticEscalationProviderRoleId: number = 0;
31
+ pessimisticTime: number = 0;
32
+ pessimisticTimeUivalue: number = 0;
33
+ pessimisticTimeUitype: number = 1; // Default TimeTypeIDs.Hours
34
+ isPessimisticEscalationEnabled: boolean = false;
35
+ pessimisticEscalationProviderRoleAttributeName: string = '';
36
+ pessimisticEscalationProviderRoleId: number = 0;
37
+ noDeliveryTime: number = 0;
38
+ noDeliveryTimeUivalue: number = 0;
39
+ noDeliveryTimeUitype: number = 1; // Default TimeTypeIDs.Hours
40
+ isNoDeliveryEscalationEnabled: boolean = false;
41
+ noDeliveryEscalationProviderRoleAttributeName: string = '';
42
+ noDeliveryEscalationProviderRoleId: number = 0;
43
+ targetTime: number = 0;
44
+ targetTimeUivalue: number = 1;
45
+ targetTimeUitype: number = 1; // Default TimeTypeIDs.Hours
46
+ costUivalue: number = 1;
47
+ costUitype: number = 1; // Default TimeTypeIDs.Hours
48
+ sequenceNo: number = 0;
49
+ isComposite: boolean = false;
50
+ hasNotification: boolean = false;
51
+ hasAcknowledgment: boolean = false;
52
+ parentServiceStepId: number = 0;
53
+ isAssignable: boolean = false;
54
+ assignableInteractorTypeId: number = 0;
55
+ assignableRoleTypeId: number = 0;
56
+ extraLine1: string = '';
57
+ extraLine2: string = '';
58
+ preActivationRule: string = '';
59
+ preActivationRuleFailedComment: string = '';
60
+ isNeutralEmotion: boolean = false;
61
+ isReturnable: boolean = false;
62
+ returnableRoleTypeAttributes: number = 0;
63
+ isNotfiySummary: boolean = false;
64
+ isNotifyDetails: boolean = false;
65
+ isNotifyReceipt: boolean = false;
66
+ isNotifyProvider: boolean = false;
67
+ notifyOtherAsProvider: string = '';
68
+ isNotifyRequester: boolean = false;
69
+ notifyOtherAsRequester: string = '';
70
+ isNotifyPrinter: boolean = false;
71
+ notificationDefaultPrinterId: number = 0;
72
+ isWiggleNotificationEnabled: boolean = false;
73
+ isWiggleActionEnabled: boolean = false;
74
+ wiggleAction: number = 0;
75
+ wiggleNotificationTimeSpan: number = 0;
76
+ wiggleActionAfterMin: number = 0;
77
+ providerRoleAttributeName: string = '';
78
+ expiresAfterTimeUivalue: number = 0;
79
+ expiresAfterTime: number = 0;
80
+ expiresAfterTimeUitype: number = 0;
81
+ autoApproveUivalue: number = 0;
82
+ autoApproveValue: number = 0;
83
+ autoApproveUitype: number = 0;
84
+ isRequesterVisible: boolean = false;
85
+ isProviderVisible: boolean = false;
86
+ isShowReceipt: boolean = false;
87
+ isExpiresAfterEnabled: boolean = false;
88
+ isAutoApprove: boolean = false;
89
+ postApprovalRule: string = '';
90
+ postApprovalRuleFailedComment: string = '';
91
+ isInProcess: boolean = false;
92
+ customActivatedStepMessage: string = 'Custom Activated Step Default Message'; // Default message
93
+ customClosedStepMessage: string = 'Custom Closed Step Default Message'; // Default message
94
+ isProviderRoleAttributeId: boolean = false;
95
+ autoApproveConditionFailedAction: number = 0;
96
+ expiresAfterConditionFailedAction: number = 0;
97
+ dtoState: number = 0;
98
+ parentHasChild: boolean = false;
99
+ financialsString: string = '';
100
+ isIntegration: boolean = false;
101
+ integrationCondition: string = '';
102
+ integrationMethodId: number = 0;
103
+ integrationFunctionName: string = '';
104
+ integrationParameters: string = '';
105
+ integrationResult: string = '';
106
+ level: number = 1; // Default value based on `IsMainstream`
107
+ forLevel: number = 2;
108
+ expanded: boolean = false;
109
+ serviceDto: GetServiceListOutput | null = null;
110
+ impersonateAsProvider: boolean = false;
111
+ compositeTypeId: number = 0;
112
+ compositeLine1: string = '';
113
+ compositeLine2: string = '';
114
+ multiplierAttributeId: number = 0;
115
+ isChecked: boolean = false;
116
+ customActivatedEmailStepNotificationMessageId: number = 0;
117
+ customClosedEmailStepNotificationMessageId: number = 0;
118
+ customActivatedSignalRstepNotificationMessageId: number = 0;
119
+ customClosedSignalRstepNotificationMessageId: number = 0;
120
+ customActivatedPushStepNotificationMessageId: number = 0;
121
+ customClosedPushStepNotificationMessageId: number = 0;
122
+ customActivatedSmsStepNotificationMessageId: number = 0;
123
+ customClosedSmsStepNotificationMessageId: number = 0;
124
+ isEmailNotificationEnabled: boolean = false;
125
+ isSignalRnotificationEnabled: boolean = false;
126
+ isPushNotificationEnabled: boolean = false;
127
+ isSmsNotificationEnabled: boolean = false;
128
+ dispatchExpirationInMinutes: number = 3; // Default value
129
+ isDispatch: boolean = false;
130
+ isClinicalCoding: boolean = false;
131
+ dispatchEverySeconds: number = 0;
132
+ acceptBeforeSeconds: number = 0;
133
+ notFoundAfterSeconds: number = 0;
134
+ dispatchDistanceWithtinMeters: number = 0;
135
+ recommendedCode: string = '';
136
+ medicalRecord: string = '';
137
+ selectedCode: string = '';
138
+ diagnosis: string = '';
139
+ codedMedicalRecord: string = '';
140
+ bpmntypeId: number = 0;
141
+ dispatchServiceType: string = '';
142
+ isCopyRequesterAssets: boolean = false;
143
+ isCopyRequesterItems: boolean = false;
144
+ isSkippable: boolean = false;
145
+ skippableRule: string = '';
146
+ isApplyToChildsRequest: boolean = false;
147
+ checkOutLockInMinutes: number = 0;
148
+ isRestrictedRejection: boolean = false;
149
+ minimumRequiredApprovalsToTakeAction: number = 0;
150
+ mainGPTPrompt: string = '';
151
+ secondaryGPTPrompt: string = '';
152
+ tertiaryGPTPrompt: string = '';
153
+ gptIntention: string = '';
154
+ gptPrompt: string = '';
155
+ childServiceStepDtoList: GetServiceStepListOutput[] = [];
156
+ privilegeLevel: number = 0;
157
+ refId: string = '';
158
+ refParentId: string = '';
159
+ refElementType: string = '';
160
+ refLaneId: string = '';
161
+
162
+ }
163
+
@@ -0,0 +1,71 @@
1
+ export interface GetServiceSubCategoryOutput {
2
+ serviceSubCategoryId: number;
3
+ serviceCategoryId: number;
4
+ weight?: string;
5
+ name: string;
6
+ translations?: string;
7
+ alias: string;
8
+ externalImagePath?: string;
9
+ cloudPrinterId?: number;
10
+ isGuestPublic: boolean;
11
+ isQrguestPublic: boolean;
12
+ isSocialMediaGuestPublic: boolean;
13
+ isActive?: boolean;
14
+ isPublished?: boolean;
15
+ resetServicesFlags: boolean;
16
+ imagePath?: string;
17
+ fullImagePath?: string;
18
+ dtoState: number;
19
+ extendedColor?: string;
20
+ extendedTextColor?: string;
21
+ showExtended: boolean;
22
+ extendedAlignment?: number;
23
+ showExtendedText?: boolean;
24
+ extendedHorizontalShift?: number;
25
+ hideBackground: boolean;
26
+ extendedImagePath?: string;
27
+ extendedFullImagePath?: string;
28
+ extendedImageStorage: StorageAction[];
29
+ hasBackgroundImages: boolean;
30
+ isOverrideColorThemeing: boolean;
31
+ isOverrideBackgroundImage: boolean;
32
+ iphoneBgPortraitV1imagePath?: string;
33
+ iphoneBgLandscapeV1imagePath?: string;
34
+ iphoneBgPortraitV2imagePath?: string;
35
+ iphoneBgLandscapeV2imagePath?: string;
36
+ iphoneBgPortraitV3imagePath?: string;
37
+ iphoneBgLandscapeV3imagePath?: string;
38
+ ipadBgPortraitV1imagePath?: string;
39
+ ipadBgLandscapeV1imagePath?: string;
40
+ ipadBgPortraitV2imagePath?: string;
41
+ ipadBgLandscapeV2imagePath?: string;
42
+ androidBgPortraitSmallImagePath?: string;
43
+ androidBgLandscapeSmallImagePath?: string;
44
+ androidBgPortraitMediumImagePath?: string;
45
+ androidBgLandscapeMediumImagePath?: string;
46
+ androidBgPortraitLargeImagePath?: string;
47
+ androidBgLandscapeLargeImagePath?: string;
48
+ androidBgPortraitXlargeImagePath?: string;
49
+ androidBgLandscapeXlargeImagePath?: string;
50
+ iphoneBgPortraitV4imagePath?: string;
51
+ iphoneBgLandscapeV4imagePath?: string;
52
+ iphoneBgPortraitV5imagePath?: string;
53
+ iphoneBgLandscapeV5imagePath?: string;
54
+ ipadBgPortraitV3imagePath?: string;
55
+ ipadBgLandscapeV3imagePath?: string;
56
+ androidBgPortraitXxlargeImagePath?: string;
57
+ androidBgLandscapeXxlargeImagePath?: string;
58
+ androidBgPortraitXxxlargeImagePath?: string;
59
+ androidBgLandscapeXxxlargeImagePath?: string;
60
+ deploymentEnvironment: string;
61
+ }
62
+
63
+ export interface StorageAction {
64
+ isSaved: boolean;
65
+ attachmentOriginalName?: string;
66
+ fileName?: string;
67
+ fileContent?: string;
68
+ dtoState: number;
69
+ fileStream?: any;
70
+ fileBuffer?: Uint8Array;
71
+ }
@@ -0,0 +1,7 @@
1
+ export interface GetStepTypesOutput
2
+ {
3
+ StepTypeId: number;
4
+ Name: string;
5
+ Translations: string;
6
+ DtoState: number;
7
+ }
@@ -0,0 +1,27 @@
1
+ export interface GetUnitListOutput {
2
+ UnitId: number
3
+ Name: string
4
+ ParentUnitId: any
5
+ ConcatenatedPath: string
6
+ DirectManagerRoleId: number
7
+ DirectManagerRoleName: string
8
+ SuperiorManagerRoleId: number
9
+ SuperiorManagerRoleName: string
10
+ RequesterRoleId: number
11
+ RequesterRoleName: string
12
+ AgentRoleId: number
13
+ AgentRoleName: string
14
+ InteractorTypeId: number
15
+ Translations: any
16
+ IsSystemGenerated: boolean
17
+ CloudPrinterId: any
18
+ LastExportFilePath: any
19
+ FullLastExportFilePath: any
20
+ IsAutoFollowAsset: boolean
21
+ IsAutoFollowItem: boolean
22
+ InteractorsCount: number
23
+ HasChildren: boolean
24
+ Level: number
25
+ ForLevel: number
26
+ DtoState: number
27
+ }
@@ -0,0 +1,8 @@
1
+ export interface LoginUserOutput {
2
+ Token: string;
3
+ UserTypeId: string;
4
+ AllowAccessToOldPortal: boolean;
5
+ IsReadOnlyPermision: boolean;
6
+ RestrucitAccessToCustomPortal: boolean;
7
+ IsAutoTranslationEnabled: boolean;
8
+ }
@@ -0,0 +1,22 @@
1
+ const Config = require('./config');
2
+ /**
3
+ * Initializes the configuration with the specified API key and domain name.
4
+ *
5
+ * @param {string} APIKey - The API key to be used for configuration.
6
+ * @param {string} DomainName - The domain name to be used for configuration.
7
+ */
8
+ export function Init(APIKey, DomainName) {
9
+ Config.setConfig(APIKey, DomainName);
10
+ }
11
+ /**
12
+ * Sets the authentication token in the configuration.
13
+ *
14
+ * @param {string} Token - The authentication token to be set.
15
+ */
16
+ export function SetToken(Token) {
17
+ Config.setToken(Token);
18
+ }
19
+
20
+ export function GetConfig(Key) {
21
+ return Config.getConfig(Key);
22
+ }
@@ -0,0 +1,99 @@
1
+ export class ConfigurationAPIConstants {
2
+ static uriLogin() {
3
+ return authenticationURI + "/api/Authentication/LoginWithCookie";
4
+ }
5
+ static uriGetServiceList() {
6
+ return ConfigurationURI + "/api/Service/GetServiceList";
7
+ }
8
+ static uriMaintainServiceList() {
9
+ return ConfigurationURI + "/api/Service/MaintainServiceList";
10
+ }
11
+ static uriGetServiceStepList() {
12
+ return ConfigurationURI + "/api/Service/GetServiceStepList";
13
+ }
14
+ static uriMaintainServiceStepList() {
15
+ return ConfigurationURI + "/api/Service/MaintainServiceStepList";
16
+ }
17
+ static uriGetAttributeList() {
18
+ return ConfigurationURI + "/api/Common/GetAttributeList";
19
+ }
20
+ static uriMaintainAttributeList() {
21
+ return ConfigurationURI + "/api/Common/MaintainAttributeList";
22
+ }
23
+ static uriGetServiceCategoryList() {
24
+ return ConfigurationURI + "/api/Service/GetServiceCategoryList";
25
+ }
26
+ static uriMaintainServiceCategoryList() {
27
+ return ConfigurationURI + "/api/Service/MaintainServiceCategoryList";
28
+ }
29
+ static uriGetServiceSubCategoryList() {
30
+ return ConfigurationURI + "/api/Service/GetServiceSubCategoryList";
31
+ }
32
+ static uriMaintainServiceSubCategoryList() {
33
+ return ConfigurationURI + "/api/Service/MaintainServiceSubCategoryList";
34
+ }
35
+ static uriGetAssetList() {
36
+ return ConfigurationURI + "/api/Extra/GetAssetList";
37
+ }
38
+ static uriMaintainAssetList() {
39
+ return ConfigurationURI + "/api/Extra/MaintainAssetList";
40
+ }
41
+
42
+ static uriGetItemList() {
43
+ return ConfigurationURI + "/api/Extra/GetItemList";
44
+ }
45
+ static uriMaintainItemList() {
46
+ return ConfigurationURI + "/api/Extra/MaintainItemList";
47
+ }
48
+ static uriGetPositionList() {
49
+ return ConfigurationURI + "/api/Organization/GetPositionList";
50
+ }
51
+ static uriMaintainPositionList() {
52
+ return ConfigurationURI + "/api/Organization/MaintainPositionList";
53
+ }
54
+ static uriGetStepTypeList() {
55
+ return ConfigurationURI + "/api/Parameter/GetStepTypeList";
56
+ }
57
+ static uriMaintainStepTypeList() {
58
+ return ConfigurationURI + "/api/Parameter/MaintainStepTypeList";
59
+ }
60
+ static uriGetDocumentTypeList() {
61
+ return ConfigurationURI + "/api/Parameter/GetDocumentTypeList";
62
+ }
63
+ static uriMaintainDocumentTypeList() {
64
+ return ConfigurationURI + "/api/Parameter/MaintainDocumentTypeList";
65
+ }
66
+ static uriGetAttributeTypeList() {
67
+ return ConfigurationURI + "/api/Parameter/GetAttributeTypeList";
68
+ }
69
+ static uriMaintainAttributeTypeList() {
70
+ return ConfigurationURI + "/api/Parameter/MaintainAttributeTypeList";
71
+ }
72
+ static uriGetDefaultConfigurationList() {
73
+ return ConfigurationURI + "/api/Common/GetDefaultConfigurationList";
74
+ }
75
+ static uriGetInteractorTypeList() {
76
+ return ConfigurationURI + "/api/Organization/GetInteractorTypeList";
77
+ }
78
+ static uriGetRoleListByPermission() {
79
+ return ConfigurationURI + "/api/Circle/GetRoleListByPermission";
80
+ }
81
+ static uriCreateWriteSAS() {
82
+ return storageURI + "/api/Storage/CreateWriteSAS";
83
+ }
84
+ static uriGetAssetBlazorViewList(){
85
+ return ConfigurationURI + "/api/Extra/GetAssetBlazorViewList";
86
+ }
87
+ static uriGetUnitList(){
88
+ return ConfigurationURI + "/api/Organization/GetUnitList";
89
+ }
90
+ static uriGetInteractorList(){
91
+ return ConfigurationURI + "/api/Organization/GetInteractorList";
92
+ }
93
+ }
94
+
95
+ //#region BaseConstants
96
+ let ConfigurationURI = "/configuration";
97
+ let authenticationURI = "/ConfigurationAuthentication";
98
+ let storageURI = "/storage";
99
+ //#endregion