octopian-apis 1.0.62 → 1.0.64
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/requestStepsServices.js +37 -0
- package/src/CoreServices/requestsServices.js +34 -0
- package/src/CoreServices/transactionsServices.js +88 -0
- package/src/index.d.ts +87 -0
- package/src/index.js +10 -2
- package/src/modals/input-modals/request-modals/RequesterAddBatchRequestInput.ts +131 -0
- package/src/modals/input-modals/request-modals/RequesterAddRequestInput.ts +5 -0
- package/src/modals/input-modals/request-step-modals/UpdateRequestStepAttributesInput.ts +5 -0
- package/src/modals/input-modals/transaction-catalog-modals/GenerateChildDocumentsInput.ts +16 -0
- package/src/modals/input-modals/transaction-catalog-modals/GetServicesInput.ts +1 -0
- package/src/modals/input-modals/transaction-catalog-modals/SignDocumentListInput.ts +5 -0
- package/src/modals/output-modals/transaction-catalog-modals/GenerateChildDocumentsOutput.ts +4 -0
- package/src/web-services/apiConstants.js +12 -0
package/package.json
CHANGED
|
@@ -3,6 +3,43 @@ import * as apiHandler from "../web-services/apiHandler";
|
|
|
3
3
|
|
|
4
4
|
//#region Provider
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* @description
|
|
8
|
+
* Updates the attribute list of a correspondence step.
|
|
9
|
+
*
|
|
10
|
+
* @param {object} UpdateCorrespondenceStepAttributeListDTO
|
|
11
|
+
* Data object containing fields necessary for updating the correspondence step attribute list.
|
|
12
|
+
* --- correspondence step attribute list ---
|
|
13
|
+
*
|
|
14
|
+
* @param {string} AuthToken
|
|
15
|
+
* Authentication token for authorization purposes.
|
|
16
|
+
*
|
|
17
|
+
* @param {number} Timeout
|
|
18
|
+
* Time in milliseconds to wait before the request times out. Default is 30000.
|
|
19
|
+
*
|
|
20
|
+
* @returns
|
|
21
|
+
* An object containing the response from the Update Correspondence Step Attribute List API,
|
|
22
|
+
* including success message, status code, and any additional data returned by the API.
|
|
23
|
+
* Message: Success,
|
|
24
|
+
* StatusCode: 200,
|
|
25
|
+
* Result: [
|
|
26
|
+
* --- updated correspondence step attribute list ---
|
|
27
|
+
* ],
|
|
28
|
+
* HeaderValue: string
|
|
29
|
+
*/
|
|
30
|
+
export async function UpdateCorrespondenceStepAttributeList(
|
|
31
|
+
UpdateCorrespondenceStepAttributeListDTO,
|
|
32
|
+
AuthToken = null,
|
|
33
|
+
Timeout = 30000
|
|
34
|
+
) {
|
|
35
|
+
let APIResponse = await apiHandler.PostMethod(
|
|
36
|
+
RequestStepsAPIConstants.uriUpdateCorrespondenceStepAttributeList(),
|
|
37
|
+
UpdateCorrespondenceStepAttributeListDTO,
|
|
38
|
+
AuthToken,
|
|
39
|
+
Timeout
|
|
40
|
+
);
|
|
41
|
+
return APIResponse;
|
|
42
|
+
}
|
|
6
43
|
/**
|
|
7
44
|
* @description
|
|
8
45
|
* Processes a list of request steps based on the provided data.
|
|
@@ -672,6 +672,40 @@ export async function AddRequest(AddRequestDTO, AuthToken = null, Timeout = 3000
|
|
|
672
672
|
return APIResponse;
|
|
673
673
|
}
|
|
674
674
|
|
|
675
|
+
/**
|
|
676
|
+
* @description
|
|
677
|
+
* Adds a batch request to requester as draft or not.
|
|
678
|
+
*
|
|
679
|
+
* @param {object} AddBatchRequestDTO
|
|
680
|
+
* Data object containing fields necessary for adding a batch request.
|
|
681
|
+
* --- batch request data ---
|
|
682
|
+
*
|
|
683
|
+
* @param {string} AuthToken
|
|
684
|
+
* Authentication token for authorization purposes.
|
|
685
|
+
*
|
|
686
|
+
* @param {number} Timeout
|
|
687
|
+
* Time in milliseconds to wait before the request times out. Default is 30000.
|
|
688
|
+
*
|
|
689
|
+
* @returns
|
|
690
|
+
* An object containing the response from the Add Batch Request request, including
|
|
691
|
+
* success message, status code, and any additional data returned by the API.
|
|
692
|
+
* Message: Success,
|
|
693
|
+
* StatusCode: 200,
|
|
694
|
+
* Result: {
|
|
695
|
+
* BatchId: number
|
|
696
|
+
* }
|
|
697
|
+
* }
|
|
698
|
+
*/
|
|
699
|
+
export async function AddBatchRequest(AddBatchRequestDTO, AuthToken = null, Timeout = 30000) {
|
|
700
|
+
let APIResponse = await apiHandler.PostMethod(
|
|
701
|
+
RequestsAPIConstants.uriAddBatchRequest(),
|
|
702
|
+
AddBatchRequestDTO,
|
|
703
|
+
AuthToken,
|
|
704
|
+
Timeout
|
|
705
|
+
);
|
|
706
|
+
return APIResponse;
|
|
707
|
+
}
|
|
708
|
+
|
|
675
709
|
export async function AddRequestAndSubmit(AddRequestDTO, AuthToken = null, Timeout = 30000) {
|
|
676
710
|
let APIResponse = await apiHandler.PostMethod(
|
|
677
711
|
RequestsAPIConstants.uriAddRequest(),
|
|
@@ -3942,6 +3942,51 @@ export async function GenerateDocument(
|
|
|
3942
3942
|
);
|
|
3943
3943
|
return APIResponse;
|
|
3944
3944
|
}
|
|
3945
|
+
/**
|
|
3946
|
+
* @description
|
|
3947
|
+
* Generates a child request step document based on the provided input data.
|
|
3948
|
+
*
|
|
3949
|
+
* @param {object} GenerateChildRequestStepDocumentInput
|
|
3950
|
+
* Data object containing fields necessary for generating the child request step document.
|
|
3951
|
+
* parentRequestId: number
|
|
3952
|
+
* templateAttributeAlias: string
|
|
3953
|
+
* clientRequestAttributes: ClientRequestAttribute[]
|
|
3954
|
+
* isGeneratedWord: boolean
|
|
3955
|
+
*
|
|
3956
|
+
* @param {string} AuthToken
|
|
3957
|
+
* Authentication token for authorization purposes.
|
|
3958
|
+
*
|
|
3959
|
+
* @param {number} Timeout
|
|
3960
|
+
* Time in milliseconds to wait before the request times out. Default is 30000.
|
|
3961
|
+
*
|
|
3962
|
+
* @param {string} RequiredHeaderValue
|
|
3963
|
+
* Value for any required header. Default is null.
|
|
3964
|
+
*
|
|
3965
|
+
* @returns
|
|
3966
|
+
* An object containing the response from the Generate Child Request Step Document API,
|
|
3967
|
+
* including success message, status code, and any additional data returned by the API.
|
|
3968
|
+
* Message: Success,
|
|
3969
|
+
* StatusCode: 200,
|
|
3970
|
+
* Result: [
|
|
3971
|
+
* RequestStepId: id,
|
|
3972
|
+
* DocumentPath: added document path
|
|
3973
|
+
* ]
|
|
3974
|
+
*/
|
|
3975
|
+
export async function GenerateChildRequestStepDocument(
|
|
3976
|
+
GenerateChildRequestStepDocumentInput,
|
|
3977
|
+
AuthToken = null,
|
|
3978
|
+
Timeout = 30000,
|
|
3979
|
+
RequiredHeaderValue = null
|
|
3980
|
+
) {
|
|
3981
|
+
let APIResponse = await apiHandler.PostMethod(
|
|
3982
|
+
TransactionsAPIConstants.uriGenerateChildRequestStepDocument(),
|
|
3983
|
+
GenerateChildRequestStepDocumentInput,
|
|
3984
|
+
AuthToken,
|
|
3985
|
+
Timeout,
|
|
3986
|
+
RequiredHeaderValue
|
|
3987
|
+
);
|
|
3988
|
+
return APIResponse;
|
|
3989
|
+
}
|
|
3945
3990
|
|
|
3946
3991
|
/**
|
|
3947
3992
|
* @description
|
|
@@ -4219,6 +4264,49 @@ export async function SignDocument(
|
|
|
4219
4264
|
);
|
|
4220
4265
|
return APIResponse;
|
|
4221
4266
|
}
|
|
4267
|
+
|
|
4268
|
+
/**
|
|
4269
|
+
* @description
|
|
4270
|
+
* Retrieves a list of signed documents.
|
|
4271
|
+
*
|
|
4272
|
+
* @param {object} SignDocumentListDTO
|
|
4273
|
+
* Data object containing fields necessary for retrieving the signed document list.
|
|
4274
|
+
* --- signature data ---
|
|
4275
|
+
*
|
|
4276
|
+
* @param {string} AuthToken
|
|
4277
|
+
* Authentication token for authorization purposes.
|
|
4278
|
+
*
|
|
4279
|
+
* @param {number} Timeout
|
|
4280
|
+
* Time in milliseconds to wait before the request times out. Default is 30000.
|
|
4281
|
+
*
|
|
4282
|
+
* @param {string} RequiredHeaderValue
|
|
4283
|
+
* Value for any required header. Default is null.
|
|
4284
|
+
*
|
|
4285
|
+
* @returns
|
|
4286
|
+
* An object containing the response from the Sign Document List API,
|
|
4287
|
+
* including success message, status code, and any additional data returned by the API.
|
|
4288
|
+
* Message: Success,
|
|
4289
|
+
* StatusCode: 200,
|
|
4290
|
+
* Result: [
|
|
4291
|
+
* --- signed document data ---
|
|
4292
|
+
* ],
|
|
4293
|
+
* HeaderValue: string
|
|
4294
|
+
*/
|
|
4295
|
+
export async function SignDocumentList(
|
|
4296
|
+
SignDocumentListDTO,
|
|
4297
|
+
AuthToken = null,
|
|
4298
|
+
Timeout = 30000,
|
|
4299
|
+
RequiredHeaderValue = null
|
|
4300
|
+
) {
|
|
4301
|
+
let APIResponse = await apiHandler.PostMethod(
|
|
4302
|
+
TransactionsAPIConstants.uriSignDocumentList(),
|
|
4303
|
+
SignDocumentListDTO,
|
|
4304
|
+
AuthToken,
|
|
4305
|
+
Timeout,
|
|
4306
|
+
RequiredHeaderValue
|
|
4307
|
+
);
|
|
4308
|
+
return APIResponse;
|
|
4309
|
+
}
|
|
4222
4310
|
//#endregion
|
|
4223
4311
|
|
|
4224
4312
|
//#region Agent
|
package/src/index.d.ts
CHANGED
|
@@ -278,6 +278,11 @@ import { GetStepTypeOutput } from "./modals/output-modals/transaction-catalog-mo
|
|
|
278
278
|
import { GetInteractorSignatureOutput } from "./modals/output-modals/transaction-catalog-modals/GetInteractorSignatureOutput";
|
|
279
279
|
import { GetSignatureBlobOutput } from "./modals/output-modals/transaction-catalog-modals/GetSignatureBlobOutput";
|
|
280
280
|
import { SignDocumentInput } from "./modals/input-modals/transaction-catalog-modals/SignDocumentInput";
|
|
281
|
+
import { SignDocumentListInput } from "./modals/input-modals/transaction-catalog-modals/SignDocumentListInput";
|
|
282
|
+
import { GenerateChildDocumentsInput } from "./modals/input-modals/transaction-catalog-modals/GenerateChildDocumentsInput";
|
|
283
|
+
import { GenerateChildDocumentsOutput } from "./modals/output-modals/transaction-catalog-modals/GenerateChildDocumentsOutput";
|
|
284
|
+
import { RequesterAddBatchRequestInput } from "./modals/input-modals/request-modals/RequesterAddBatchRequestInput";
|
|
285
|
+
import { UpdateRequestStepAttributesInput } from "./modals/input-modals/request-step-modals/UpdateRequestStepAttributesInput";
|
|
281
286
|
// Define each module with its specific functions
|
|
282
287
|
|
|
283
288
|
interface AuthenticationServices {
|
|
@@ -3930,6 +3935,12 @@ interface TransactionCommonServices {
|
|
|
3930
3935
|
RequiredHeaderValue?: string
|
|
3931
3936
|
) => BaseResponse<string | BaseErrorResponse>;
|
|
3932
3937
|
|
|
3938
|
+
GenerateChildRequestStepDocument: (
|
|
3939
|
+
Input: GenerateChildDocumentsInput,
|
|
3940
|
+
AuthToken?: string | null,
|
|
3941
|
+
Timeout?: number | null,
|
|
3942
|
+
RequiredHeaderValue?: string
|
|
3943
|
+
) => BaseResponse<GenerateChildDocumentsOutput[] | BaseErrorResponse>;
|
|
3933
3944
|
|
|
3934
3945
|
GenerateStepDocument: (
|
|
3935
3946
|
Input: GenerateStepDocumentInput,
|
|
@@ -4306,6 +4317,40 @@ interface TransactionCommonServices {
|
|
|
4306
4317
|
Timeout?: number | null,
|
|
4307
4318
|
RequiredHeaderValue?: string
|
|
4308
4319
|
) => BaseResponse<string | BaseErrorResponse>;
|
|
4320
|
+
|
|
4321
|
+
/**
|
|
4322
|
+
* @description
|
|
4323
|
+
* Retrieves a list of signed documents.
|
|
4324
|
+
*
|
|
4325
|
+
* @param {SignDocumentListInput} SignDocumentListDTO
|
|
4326
|
+
* Data object containing fields necessary for retrieving the signed document list.
|
|
4327
|
+
* --- signature data ---
|
|
4328
|
+
*
|
|
4329
|
+
* @param {string} AuthToken
|
|
4330
|
+
* Authentication token for authorization purposes.
|
|
4331
|
+
*
|
|
4332
|
+
* @param {number} Timeout
|
|
4333
|
+
* Time in milliseconds to wait before the request times out. Default is 30000.
|
|
4334
|
+
*
|
|
4335
|
+
* @param {string} RequiredHeaderValue
|
|
4336
|
+
* Value for any required header. Default is null.
|
|
4337
|
+
*
|
|
4338
|
+
* @returns
|
|
4339
|
+
* An object containing the response from the Sign Document List API,
|
|
4340
|
+
* including success message, status code, and any additional data returned by the API.
|
|
4341
|
+
* Message: Success,
|
|
4342
|
+
* StatusCode: 200,
|
|
4343
|
+
* Result: [
|
|
4344
|
+
* --- signed document data ---
|
|
4345
|
+
* ],
|
|
4346
|
+
* HeaderValue: string
|
|
4347
|
+
*/
|
|
4348
|
+
SignDocumentList: (
|
|
4349
|
+
Input: SignDocumentListInput,
|
|
4350
|
+
AuthToken?: string | null,
|
|
4351
|
+
Timeout?: number | null,
|
|
4352
|
+
RequiredHeaderValue?: string
|
|
4353
|
+
) => BaseResponse<string[] | BaseErrorResponse>;
|
|
4309
4354
|
}
|
|
4310
4355
|
|
|
4311
4356
|
// Storage Services interface
|
|
@@ -5042,6 +5087,37 @@ interface RequestsRequesterServices {
|
|
|
5042
5087
|
Timeout?: number | null
|
|
5043
5088
|
) => BaseResponse<AddRequestOutput | BaseErrorResponse>;
|
|
5044
5089
|
|
|
5090
|
+
/**
|
|
5091
|
+
* @description
|
|
5092
|
+
* Adds a batch request to requester as draft or not.
|
|
5093
|
+
*
|
|
5094
|
+
* @param {RequesterAddBatchRequestInput} AddBatchRequestDTO
|
|
5095
|
+
* Data object containing fields necessary for adding a batch request.
|
|
5096
|
+
*
|
|
5097
|
+
* @param {string} AuthToken
|
|
5098
|
+
* Authentication token for authorization purposes.
|
|
5099
|
+
*
|
|
5100
|
+
* @param {number} Timeout
|
|
5101
|
+
* Time in milliseconds to wait before the request times out. Default is 30000.
|
|
5102
|
+
*
|
|
5103
|
+
* @returns
|
|
5104
|
+
* An object containing the response from the Add Batch Request request, including
|
|
5105
|
+
* success message, status code, and any additional data returned by the API.
|
|
5106
|
+
* {
|
|
5107
|
+
* Message: Success,
|
|
5108
|
+
* StatusCode: 200,
|
|
5109
|
+
* Result: {
|
|
5110
|
+
* RequestGuid: string,
|
|
5111
|
+
* RequestId: number,
|
|
5112
|
+
* BatchId: number
|
|
5113
|
+
* }
|
|
5114
|
+
* }
|
|
5115
|
+
*/
|
|
5116
|
+
AddBatchRequest: (
|
|
5117
|
+
Input: RequesterAddBatchRequestInput,
|
|
5118
|
+
AuthToken?: string | null,
|
|
5119
|
+
Timeout?: number | null
|
|
5120
|
+
) => BaseResponse<AddRequestOutput | BaseErrorResponse>;
|
|
5045
5121
|
/**
|
|
5046
5122
|
* @description
|
|
5047
5123
|
* Adds a request and submits it.
|
|
@@ -6626,6 +6702,12 @@ interface RequestStepProviderServices {
|
|
|
6626
6702
|
AuthToken?: string | null,
|
|
6627
6703
|
Timeout?: number | null
|
|
6628
6704
|
) => BaseResponse<boolean | BaseErrorResponse>;
|
|
6705
|
+
|
|
6706
|
+
UpdateCorrespondenceStepAttributeList: (
|
|
6707
|
+
Input: UpdateRequestStepAttributesInput[],
|
|
6708
|
+
AuthToken?: string | null,
|
|
6709
|
+
Timeout?: number | null
|
|
6710
|
+
) => BaseResponse<boolean | BaseErrorResponse>;
|
|
6629
6711
|
|
|
6630
6712
|
|
|
6631
6713
|
}
|
|
@@ -7739,4 +7821,9 @@ export {
|
|
|
7739
7821
|
SignDocumentInput,
|
|
7740
7822
|
GetSignatureBlobOutput,
|
|
7741
7823
|
GetInteractorSignatureOutput,
|
|
7824
|
+
SignDocumentListInput,
|
|
7825
|
+
GenerateChildDocumentsInput,
|
|
7826
|
+
GenerateChildDocumentsOutput,
|
|
7827
|
+
RequesterAddBatchRequestInput,
|
|
7828
|
+
UpdateRequestStepAttributesInput,
|
|
7742
7829
|
};
|
package/src/index.js
CHANGED
|
@@ -145,6 +145,8 @@ const {
|
|
|
145
145
|
GetInteractorSignatures,
|
|
146
146
|
GetSignatureBlob,
|
|
147
147
|
SignDocument,
|
|
148
|
+
SignDocumentList,
|
|
149
|
+
GenerateChildRequestStepDocument
|
|
148
150
|
} = require("./CoreServices/transactionsServices");
|
|
149
151
|
const TransactionRequesterServices = {
|
|
150
152
|
GetCompanyLanguageList,
|
|
@@ -250,6 +252,8 @@ const TransactionCommonServices = {
|
|
|
250
252
|
GetInteractorSignatures,
|
|
251
253
|
GetSignatureBlob,
|
|
252
254
|
SignDocument,
|
|
255
|
+
SignDocumentList,
|
|
256
|
+
GenerateChildRequestStepDocument,
|
|
253
257
|
};
|
|
254
258
|
|
|
255
259
|
const {
|
|
@@ -311,6 +315,7 @@ const {
|
|
|
311
315
|
DispatcherGetRequestStatus,
|
|
312
316
|
DispatcherCancelRequest,
|
|
313
317
|
GetServiceManagementRequestDistinctServiceList,
|
|
318
|
+
AddBatchRequest,
|
|
314
319
|
} = require("./CoreServices/requestsServices");
|
|
315
320
|
const RequestsAgentServices = {
|
|
316
321
|
AgentAddRequest,
|
|
@@ -343,6 +348,7 @@ const RequestsRequesterServices = {
|
|
|
343
348
|
SubmitCart,
|
|
344
349
|
SubmitCartOrder,
|
|
345
350
|
GetServiceManagementRequestDistinctServiceList,
|
|
351
|
+
AddBatchRequest,
|
|
346
352
|
};
|
|
347
353
|
const RequestsTransactionCommonServices = {
|
|
348
354
|
AssignBatchToRequestList,
|
|
@@ -387,7 +393,8 @@ const {
|
|
|
387
393
|
Reject,
|
|
388
394
|
Start,
|
|
389
395
|
GetRequestStepAssignableRoleList,
|
|
390
|
-
ProcessStepSpecialAction
|
|
396
|
+
ProcessStepSpecialAction,
|
|
397
|
+
UpdateCorrespondenceStepAttributeList
|
|
391
398
|
} = require("./CoreServices/requestStepsServices");
|
|
392
399
|
const RequestStepProviderServices = {
|
|
393
400
|
AcceptOrder,
|
|
@@ -405,7 +412,8 @@ const RequestStepProviderServices = {
|
|
|
405
412
|
RejectOrder,
|
|
406
413
|
UpdateDismissedRequestStepList,
|
|
407
414
|
GetRequestStepAssignableRoleList,
|
|
408
|
-
ProcessStepSpecialAction
|
|
415
|
+
ProcessStepSpecialAction,
|
|
416
|
+
UpdateCorrespondenceStepAttributeList
|
|
409
417
|
};
|
|
410
418
|
const RequestStepDispatchServices = {
|
|
411
419
|
Accept,
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
export interface RequesterAddBatchRequestInput {
|
|
2
|
+
ServiceId: number
|
|
3
|
+
ItemId?: number
|
|
4
|
+
AssetId?: number
|
|
5
|
+
InteractorId?: number
|
|
6
|
+
AgentId?: number
|
|
7
|
+
RoleType?: string
|
|
8
|
+
BatchId?: number
|
|
9
|
+
IsSync?: boolean
|
|
10
|
+
ClientRequestAttributeDtos?: ClientRequestAttributeDto[]
|
|
11
|
+
RequestLanguageCode?: string
|
|
12
|
+
DynamicStepList?: DynamicStepList[]
|
|
13
|
+
ChildRequestList?: ChildRequestList[]
|
|
14
|
+
IsGeneratedDocument?: boolean
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface ChildRequestList {
|
|
18
|
+
ClientRequestAttributeDtos: ClientRequestAttributeDto[]
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface DynamicStepList {
|
|
22
|
+
StepTypeName: string
|
|
23
|
+
StepName: string
|
|
24
|
+
SequenceNo: number
|
|
25
|
+
ProviderRoleId: number
|
|
26
|
+
CloseWhenChildCompleted: boolean
|
|
27
|
+
CloseWhenParentCompleted: boolean
|
|
28
|
+
SetWaitingOnStart: boolean
|
|
29
|
+
IsRequesterVisible: boolean
|
|
30
|
+
IsProviderVisible: boolean
|
|
31
|
+
IsRejectable: boolean
|
|
32
|
+
IsAssignable: boolean
|
|
33
|
+
ChildSteps: ChildStep[]
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface ChildStep {
|
|
37
|
+
StepTypeName: string
|
|
38
|
+
StepName: string
|
|
39
|
+
SequenceNo: number
|
|
40
|
+
ProviderRoleId: number
|
|
41
|
+
CloseWhenChildCompleted: boolean
|
|
42
|
+
CloseWhenParentCompleted: boolean
|
|
43
|
+
SetWaitingOnStart: boolean
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export interface ClientRequestAttributeDto {
|
|
47
|
+
IsSystemGenerated: boolean
|
|
48
|
+
DtoState: number
|
|
49
|
+
RequestAttributeId: number
|
|
50
|
+
RequestId: number
|
|
51
|
+
Name: string
|
|
52
|
+
IsRequired: boolean
|
|
53
|
+
Value: string
|
|
54
|
+
AttributeTypeId: number
|
|
55
|
+
AttributeGroupId: number
|
|
56
|
+
IsRequesterVisible: boolean
|
|
57
|
+
IsProviderVisible: boolean
|
|
58
|
+
IsRequesterEditable: boolean
|
|
59
|
+
IsProviderEditable: boolean
|
|
60
|
+
RequestStepId: number
|
|
61
|
+
SequenceNo: number
|
|
62
|
+
IsComputed: boolean
|
|
63
|
+
Formula: string
|
|
64
|
+
SourceServiceAttributeId: number
|
|
65
|
+
Group: string
|
|
66
|
+
GroupSequenceNo: number
|
|
67
|
+
ExtendedValue: string
|
|
68
|
+
GroupId: number
|
|
69
|
+
AttachmentOriginalName: string
|
|
70
|
+
AlternateName: string
|
|
71
|
+
AlternateValue: string
|
|
72
|
+
AlternateGroup: string
|
|
73
|
+
Alias: string
|
|
74
|
+
PlaceHolder: string
|
|
75
|
+
ShowInReport: boolean
|
|
76
|
+
Description: string
|
|
77
|
+
AlternateDescription: string
|
|
78
|
+
AlternatePlaceHolder: string
|
|
79
|
+
Prefix: string
|
|
80
|
+
IsFiltered: boolean
|
|
81
|
+
FilterAttributeAlias: string
|
|
82
|
+
IsParameter: boolean
|
|
83
|
+
Extra1: string
|
|
84
|
+
Extra2: string
|
|
85
|
+
BatchId: number
|
|
86
|
+
IsComputedInitialValue: boolean
|
|
87
|
+
InitialValueFormula: string
|
|
88
|
+
IsValidationEnabled: boolean
|
|
89
|
+
ValidationRule: string
|
|
90
|
+
ValidationRuleFailedComment: string
|
|
91
|
+
IsIntegrationEditable: boolean
|
|
92
|
+
IsRequiredCondition: string
|
|
93
|
+
OnChangeRecalculate: boolean
|
|
94
|
+
PageNumber: number
|
|
95
|
+
AttributeTypeValueTypeName: string
|
|
96
|
+
FormatCategoryId: number
|
|
97
|
+
FormatTypeName: string
|
|
98
|
+
Hint: string
|
|
99
|
+
HideLabel: boolean
|
|
100
|
+
IsIntegration: boolean
|
|
101
|
+
IsRecord: boolean
|
|
102
|
+
IsRecordName: boolean
|
|
103
|
+
Regex: string
|
|
104
|
+
ReturnType: string
|
|
105
|
+
CounterMaxValue: string
|
|
106
|
+
CounterMinValue: string
|
|
107
|
+
CounterStepValue: string
|
|
108
|
+
HideValue: boolean
|
|
109
|
+
IsPicker: boolean
|
|
110
|
+
AttributeLength: string
|
|
111
|
+
ShowInQuestionnaire: boolean
|
|
112
|
+
IsMultipleChoice: boolean
|
|
113
|
+
AttributeDefinition: string
|
|
114
|
+
IsPasswordMask: boolean
|
|
115
|
+
IsEncryptionEnabled: boolean
|
|
116
|
+
AllowOthers: boolean
|
|
117
|
+
UseGridControl: boolean
|
|
118
|
+
UIControlAlias: string
|
|
119
|
+
ShowInProfile: boolean
|
|
120
|
+
ObjectType: number
|
|
121
|
+
DocumentId: number
|
|
122
|
+
FormatTypeId: number
|
|
123
|
+
Translations: string
|
|
124
|
+
DescriptionTranslations: string
|
|
125
|
+
PlaceHolderTranslations: string
|
|
126
|
+
ValueTranslations: string
|
|
127
|
+
ValidationRuleFailedCommentTranslation: string
|
|
128
|
+
GroupTranslations: string
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
|
|
@@ -10,8 +10,13 @@ export interface RequesterAddRequestInput {
|
|
|
10
10
|
ClientRequestAttributeDtos?: ClientRequestAttributeDto[]
|
|
11
11
|
RequestLanguageCode?: string
|
|
12
12
|
DynamicStepList?: DynamicStepList[]
|
|
13
|
+
ChildRequestList?: ChildRequestList[]
|
|
13
14
|
}
|
|
14
15
|
|
|
16
|
+
export interface ChildRequestList {
|
|
17
|
+
ClientRequestAttributeDtos: ClientRequestAttributeDto[]
|
|
18
|
+
}
|
|
19
|
+
|
|
15
20
|
export interface DynamicStepList {
|
|
16
21
|
StepTypeName: string
|
|
17
22
|
StepName: string
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface GenerateChildDocumentsInput {
|
|
2
|
+
parentRequestId: number;
|
|
3
|
+
templateAttributeAlias: string;
|
|
4
|
+
clientRequestAttributes: ClientRequestAttribute[];
|
|
5
|
+
isGeneratedWord: boolean;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface ClientRequestAttribute {
|
|
9
|
+
RequestAttributeId: number
|
|
10
|
+
Name: string
|
|
11
|
+
Value: string
|
|
12
|
+
AttributeGroupId: number
|
|
13
|
+
SourceServiceAttributeId: number
|
|
14
|
+
ExtendedValue: string
|
|
15
|
+
Alias: string
|
|
16
|
+
}
|
|
@@ -366,6 +366,9 @@ export class TransactionsAPIConstants {
|
|
|
366
366
|
static uriGenerateStepDocument() {
|
|
367
367
|
return transactionCatalogURI + "/api/TransactionCommon/GenerateStepDocument";
|
|
368
368
|
}
|
|
369
|
+
static uriGenerateChildRequestStepDocument() {
|
|
370
|
+
return transactionCatalogURI + "/api/TransactionCommon/GenerateChildRequestStepDocument";
|
|
371
|
+
}
|
|
369
372
|
static uriGetAssetManagementAssetSubGroupList() {
|
|
370
373
|
return transactionCatalogURI + "/api/TransactionCommon/GetAssetManagementAssetSubGroupList";
|
|
371
374
|
}
|
|
@@ -402,6 +405,9 @@ export class TransactionsAPIConstants {
|
|
|
402
405
|
static uriSignDocument(){
|
|
403
406
|
return signatureURI + "/api/SignDocument";
|
|
404
407
|
}
|
|
408
|
+
static uriSignDocumentList(){
|
|
409
|
+
return signatureURI + "/api/SignDocument/List";
|
|
410
|
+
}
|
|
405
411
|
//#endregion
|
|
406
412
|
|
|
407
413
|
//#region Agent
|
|
@@ -509,6 +515,9 @@ export class RequestsAPIConstants {
|
|
|
509
515
|
static uriAddRequest() {
|
|
510
516
|
return requestServicesURI + "/api/Requester/AddRequest";
|
|
511
517
|
}
|
|
518
|
+
static uriAddBatchRequest() {
|
|
519
|
+
return requestServicesURI + "/api/CorrespondenceRequester/AddBatchRequest";
|
|
520
|
+
}
|
|
512
521
|
static uriSubmitCart() {
|
|
513
522
|
return requestServicesURI + "/api/Requester/SubmitCart";
|
|
514
523
|
}
|
|
@@ -661,6 +670,9 @@ export class RequestStepsAPIConstants {
|
|
|
661
670
|
static uriProcessStepSpecialAction() {
|
|
662
671
|
return requestStepURI + "/api/Provider/ProcessStepSpecialAction";
|
|
663
672
|
}
|
|
673
|
+
static uriUpdateCorrespondenceStepAttributeList(){
|
|
674
|
+
return requestStepURI + "/api/CorrespondenceProvider/UpdateRequestStepAttributeList";
|
|
675
|
+
}
|
|
664
676
|
//#endregion
|
|
665
677
|
|
|
666
678
|
//#region Dispatch
|