octopian-apis 1.0.42 → 1.0.44
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/package.json +1 -1
- package/src/CoreServices/correspondenceServices.js +6 -12
- package/src/CoreServices/requestsServices.js +35 -0
- package/src/CoreServices/transactionsServices.js +567 -13
- package/src/index.d.ts +483 -1
- package/src/index.js +33 -3
- package/src/modals/input-modals/transaction-catalog-modals/ConvertPersonalUnitMemberInput.ts +3 -0
- package/src/modals/input-modals/transaction-catalog-modals/GetPersonalUnitMemberInput.ts +5 -0
- package/src/modals/input-modals/transaction-catalog-modals/MaintainAgentInteractorInput.ts +137 -0
- package/src/modals/input-modals/transaction-catalog-modals/MaintainAgentUnitInput.ts +15 -0
- package/src/modals/input-modals/transaction-catalog-modals/MaintainServiceManagementInput.ts +6 -0
- package/src/modals/output-modals/request-modals/GetServiceManagementServiceListOutput.ts +5 -0
- package/src/modals/output-modals/transaction-catalog-modals/InteractorRoleDelegationOutput.ts +3 -0
- package/src/modals/output-modals/transaction-catalog-modals/MaintainAgentInteractorOutput.ts +78 -0
- package/src/web-services/apiConstants.js +45 -0
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
export interface MaintainAgentInteractorInput {
|
|
2
|
+
interactorDto: InteractorDto
|
|
3
|
+
secretKey?: string
|
|
4
|
+
azureStorageConnectionString?: string
|
|
5
|
+
walletAddress?: string
|
|
6
|
+
walletPrivateKey?: string
|
|
7
|
+
walletMnemonic?: string
|
|
8
|
+
createWalletIntegrationDto?: CreateWalletIntegrationDto
|
|
9
|
+
setWalletPrivateKeyIntegrationDto?: SetWalletPrivateKeyIntegrationDto
|
|
10
|
+
setWalletMnemonicIntegrationDto?: SetWalletMnemonicIntegrationDto
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface InteractorDto {
|
|
14
|
+
interactorId: number
|
|
15
|
+
unitId: number
|
|
16
|
+
firstName: string
|
|
17
|
+
lastName: string
|
|
18
|
+
isUser: boolean
|
|
19
|
+
fullName: string
|
|
20
|
+
email: string
|
|
21
|
+
isSystem: boolean
|
|
22
|
+
imagePath: string
|
|
23
|
+
fullImagePath: string
|
|
24
|
+
isSystemGenerated: boolean
|
|
25
|
+
mobile: string
|
|
26
|
+
personalRoleId: number
|
|
27
|
+
translations: string
|
|
28
|
+
qrimagePath: string
|
|
29
|
+
fullQrimagePath: string
|
|
30
|
+
externalId: string
|
|
31
|
+
barcodeId: number
|
|
32
|
+
externalIdChanged: boolean
|
|
33
|
+
externalImagePath: string
|
|
34
|
+
galleryImagesString: string
|
|
35
|
+
fullGalleryImagesString: string
|
|
36
|
+
barcodeContent: string
|
|
37
|
+
barcodeChanged: boolean
|
|
38
|
+
barcodeFormatId: number
|
|
39
|
+
barcodeImagePath: string
|
|
40
|
+
fullBarcodeImagePath: string
|
|
41
|
+
qrid: string
|
|
42
|
+
isPublicSearchEnabled: boolean
|
|
43
|
+
searchCategory: string
|
|
44
|
+
searchSubCategory: string
|
|
45
|
+
searchTags: string
|
|
46
|
+
ibeaconId: string
|
|
47
|
+
location: string
|
|
48
|
+
rfidtags: string
|
|
49
|
+
geoRange: number
|
|
50
|
+
geoRangeUitype: number
|
|
51
|
+
geoRangeUivalue: number
|
|
52
|
+
hasAssets: boolean
|
|
53
|
+
hasItems: boolean
|
|
54
|
+
disableNotification: boolean
|
|
55
|
+
enableIntegrationTracing: boolean
|
|
56
|
+
cloudPrinterId: number
|
|
57
|
+
isCustomReceipt: boolean
|
|
58
|
+
customReceiptAlias: string
|
|
59
|
+
isSocialUser: boolean
|
|
60
|
+
userTypeId: number
|
|
61
|
+
walletAddress: string
|
|
62
|
+
linkedInteractorId: number
|
|
63
|
+
isApiUser: boolean
|
|
64
|
+
apiUserToken: string
|
|
65
|
+
dtoState: number
|
|
66
|
+
rowsCount: number
|
|
67
|
+
unitName: string
|
|
68
|
+
interactorTypeId: number
|
|
69
|
+
isNewUser: boolean
|
|
70
|
+
username: string
|
|
71
|
+
password: string
|
|
72
|
+
socialId: string
|
|
73
|
+
isActive: boolean
|
|
74
|
+
isSocialActive: boolean
|
|
75
|
+
unitDto: UnitDto
|
|
76
|
+
allowAccessToOldPortal: boolean
|
|
77
|
+
isReadOnlyPermision: boolean
|
|
78
|
+
restrucitAccessToCustomPortal: boolean
|
|
79
|
+
isInteractorMailActivationRequired: boolean
|
|
80
|
+
mailActivationId: string
|
|
81
|
+
isInteractorSmsActivationRequired: boolean
|
|
82
|
+
smsActivationId: string
|
|
83
|
+
isTraceable: boolean
|
|
84
|
+
isLiveLocation: boolean
|
|
85
|
+
isDemand: boolean
|
|
86
|
+
isSupply: boolean
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export interface UnitDto {
|
|
90
|
+
unitId: number
|
|
91
|
+
name: string
|
|
92
|
+
parentUnitId: number
|
|
93
|
+
concatenatedPath: string
|
|
94
|
+
directManagerRoleId: number
|
|
95
|
+
directManagerRoleName: string
|
|
96
|
+
superiorManagerRoleId: number
|
|
97
|
+
superiorManagerRoleName: string
|
|
98
|
+
requesterRoleId: number
|
|
99
|
+
requesterRoleName: string
|
|
100
|
+
agentRoleId: number
|
|
101
|
+
agentRoleName: string
|
|
102
|
+
interactorTypeId: number
|
|
103
|
+
translations: string
|
|
104
|
+
isSystemGenerated: boolean
|
|
105
|
+
cloudPrinterId: number
|
|
106
|
+
lastExportFilePath: string
|
|
107
|
+
fullLastExportFilePath: string
|
|
108
|
+
isAutoFollowAsset: boolean
|
|
109
|
+
isAutoFollowItem: boolean
|
|
110
|
+
interactorsCount: number
|
|
111
|
+
hasChildren: boolean
|
|
112
|
+
level: number
|
|
113
|
+
forLevel: number
|
|
114
|
+
dtoState: number
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export interface CreateWalletIntegrationDto {
|
|
118
|
+
integrationMethodId: number
|
|
119
|
+
integrationFunctionName: string
|
|
120
|
+
integrationParameters: string
|
|
121
|
+
integrationResult: string
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export interface SetWalletPrivateKeyIntegrationDto {
|
|
125
|
+
integrationMethodId: number
|
|
126
|
+
integrationFunctionName: string
|
|
127
|
+
integrationParameters: string
|
|
128
|
+
integrationResult: string
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export interface SetWalletMnemonicIntegrationDto {
|
|
132
|
+
integrationMethodId: number
|
|
133
|
+
integrationFunctionName: string
|
|
134
|
+
integrationParameters: string
|
|
135
|
+
integrationResult: string
|
|
136
|
+
}
|
|
137
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface MaintainAgentUnitInput {
|
|
2
|
+
ConcatenatedPath: string
|
|
3
|
+
DTOState: number
|
|
4
|
+
FullOfflineShortcutServiceListFilePath: string
|
|
5
|
+
InteractorTypeID: number
|
|
6
|
+
Name: string
|
|
7
|
+
UnitID: number
|
|
8
|
+
Translations: string
|
|
9
|
+
ThemeColor: string
|
|
10
|
+
BackgroundColor: string
|
|
11
|
+
ExtractedShortcutServiceList: string
|
|
12
|
+
InteractorDTOsAsString: string
|
|
13
|
+
IsInteractorPersonalUnit: boolean
|
|
14
|
+
}
|
|
15
|
+
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export interface MaintainAgentInteractorOutput {
|
|
2
|
+
InteractorId: number
|
|
3
|
+
UnitId: number
|
|
4
|
+
FirstName: string
|
|
5
|
+
LastName: string
|
|
6
|
+
IsUser: boolean
|
|
7
|
+
FullName: string
|
|
8
|
+
Email: string
|
|
9
|
+
IsSystem: boolean
|
|
10
|
+
ImagePath: string
|
|
11
|
+
FullImagePath: string
|
|
12
|
+
IsSystemGenerated: boolean
|
|
13
|
+
Mobile: string
|
|
14
|
+
PersonalRoleId: number
|
|
15
|
+
Translations: string
|
|
16
|
+
QrimagePath: string
|
|
17
|
+
FullQrimagePath: string
|
|
18
|
+
ExternalId: string
|
|
19
|
+
BarcodeId: number
|
|
20
|
+
ExternalIdChanged: boolean
|
|
21
|
+
ExternalImagePath: string
|
|
22
|
+
GalleryImagesString: string
|
|
23
|
+
FullGalleryImagesString: string
|
|
24
|
+
BarcodeContent: string
|
|
25
|
+
BarcodeChanged: boolean
|
|
26
|
+
BarcodeFormatId: number
|
|
27
|
+
BarcodeImagePath: string
|
|
28
|
+
FullBarcodeImagePath: string
|
|
29
|
+
Qrid: string
|
|
30
|
+
IsPublicSearchEnabled: boolean
|
|
31
|
+
SearchCategory: string
|
|
32
|
+
SearchSubCategory: string
|
|
33
|
+
SearchTags: string
|
|
34
|
+
IbeaconId: string
|
|
35
|
+
Location: string
|
|
36
|
+
Rfidtags: string
|
|
37
|
+
GeoRange: number
|
|
38
|
+
GeoRangeUitype: number
|
|
39
|
+
GeoRangeUivalue: number
|
|
40
|
+
HasAssets: boolean
|
|
41
|
+
HasItems: boolean
|
|
42
|
+
DisableNotification: boolean
|
|
43
|
+
EnableIntegrationTracing: boolean
|
|
44
|
+
CloudPrinterId: number
|
|
45
|
+
IsCustomReceipt: boolean
|
|
46
|
+
CustomReceiptAlias: string
|
|
47
|
+
IsSocialUser: boolean
|
|
48
|
+
UserTypeId: number
|
|
49
|
+
WalletAddress: string
|
|
50
|
+
LinkedInteractorId: number
|
|
51
|
+
IsApiUser: boolean
|
|
52
|
+
ApiUserToken: string
|
|
53
|
+
DtoState: number
|
|
54
|
+
RowsCount: number
|
|
55
|
+
UnitName: string
|
|
56
|
+
InteractorTypeId: number
|
|
57
|
+
IsNewUser: boolean
|
|
58
|
+
Username: string
|
|
59
|
+
SocialId: string
|
|
60
|
+
IsActive: boolean
|
|
61
|
+
IsSocialActive: boolean
|
|
62
|
+
UnitDto: any
|
|
63
|
+
AllowAccessToOldPortal: boolean
|
|
64
|
+
IsReadOnlyPermision: boolean
|
|
65
|
+
RestrucitAccessToCustomPortal: any
|
|
66
|
+
SocialDetails: string
|
|
67
|
+
Password: any
|
|
68
|
+
IsInteractorMailActivationRequired: boolean
|
|
69
|
+
MailActivationId: any
|
|
70
|
+
IsInteractorSmsActivationRequired: boolean
|
|
71
|
+
SmsActivationId: any
|
|
72
|
+
IsTraceable: boolean
|
|
73
|
+
IsLiveLocation: boolean
|
|
74
|
+
IsDemand: boolean
|
|
75
|
+
IsSupply: boolean
|
|
76
|
+
CopyPasswordToKeyVault: boolean
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -363,6 +363,24 @@ export class TransactionsAPIConstants {
|
|
|
363
363
|
static uriGenerateDocument() {
|
|
364
364
|
return transactionCatalogURI + "/api/TransactionCommon/GenerateDocument";
|
|
365
365
|
}
|
|
366
|
+
static uriGetAssetManagementAssetSubGroupList() {
|
|
367
|
+
return transactionCatalogURI + "/api/TransactionCommon/GetAssetManagementAssetSubGroupList";
|
|
368
|
+
}
|
|
369
|
+
static uriMaintainAssetManagementAssetSubGroupList() {
|
|
370
|
+
return transactionCatalogURI + "/api/TransactionCommon/MaintainAssetManagementAssetSubGroupList";
|
|
371
|
+
}
|
|
372
|
+
static uriGetMyPersonalUnitMemberList() {
|
|
373
|
+
return transactionCatalogURI + "/api/TransactionCommon/GetMyPersonalUnitMemberList";
|
|
374
|
+
}
|
|
375
|
+
static uriConvertPersonalUnitMemberToRecord() {
|
|
376
|
+
return transactionCatalogURI + "/api/TransactionCommon/ConvertPersonalUnitMemberToRecord";
|
|
377
|
+
}
|
|
378
|
+
static uriGetServiceManagementServiceList() {
|
|
379
|
+
return transactionCatalogURI + "/api/TransactionCommon/GetServiceManagementServiceList";
|
|
380
|
+
}
|
|
381
|
+
static uriMaintainServiceManagementServiceList() {
|
|
382
|
+
return transactionCatalogURI + "/api/TransactionCommon/MaintainServiceManagementServiceList";
|
|
383
|
+
}
|
|
366
384
|
//#endregion
|
|
367
385
|
|
|
368
386
|
//#region Agent
|
|
@@ -393,6 +411,30 @@ export class TransactionsAPIConstants {
|
|
|
393
411
|
static uriGetAssignbleRoleList() {
|
|
394
412
|
return transactionCatalogURI + "/api/Agent/GetAssignbleRoleList";
|
|
395
413
|
}
|
|
414
|
+
static uriGetMyProfileAgent() {
|
|
415
|
+
return transactionCatalogURI + "/api/Agent/GetMyProfile";
|
|
416
|
+
}
|
|
417
|
+
static uriUpdateMyProfileAgent() {
|
|
418
|
+
return transactionCatalogURI + "/api/Agent/UpdateMyProfile";
|
|
419
|
+
}
|
|
420
|
+
static uriMaintainMyAttributeListAgent() {
|
|
421
|
+
return transactionCatalogURI + "/api/Agent/MaintainMyAttributeList";
|
|
422
|
+
}
|
|
423
|
+
static uriMaintainMyAddressListAgent(){
|
|
424
|
+
return transactionCatalogURI + "/api/Agent/MaintainMyAddressList";
|
|
425
|
+
}
|
|
426
|
+
static uriMaintainMyDocumentAgent() {
|
|
427
|
+
return transactionCatalogURI + "/api/Agent/MaintainMyDocument";
|
|
428
|
+
}
|
|
429
|
+
static uriGetInteractorEligibleDocumentListAgent() {
|
|
430
|
+
return transactionCatalogURI + "/api/Agent/GetInteractorEligibleDocumentList";
|
|
431
|
+
}
|
|
432
|
+
static uriMaintainAgentUnitListAgent() {
|
|
433
|
+
return transactionCatalogURI + "/api/Agent/MaintainAgentUnitList";
|
|
434
|
+
}
|
|
435
|
+
static uriMaintainAgentInteractorListAgent() {
|
|
436
|
+
return transactionCatalogURI + "/api/Agent/MaintainAgentInteractorList";
|
|
437
|
+
}
|
|
396
438
|
//#endregion
|
|
397
439
|
|
|
398
440
|
//#region Provider
|
|
@@ -470,6 +512,9 @@ export class RequestsAPIConstants {
|
|
|
470
512
|
static uriSubmitCartOrder() {
|
|
471
513
|
return requestServicesURI + "/api/Requester/SubmitCartOrder";
|
|
472
514
|
}
|
|
515
|
+
static uriGetServiceManagementRequestDistinctServiceList(){
|
|
516
|
+
return requestServicesURI + "/api/Requester/GetServiceManagementRequestDistinctServiceList";
|
|
517
|
+
}
|
|
473
518
|
//#endregion
|
|
474
519
|
|
|
475
520
|
//#region TransactionCommon
|