octopian-apis 1.0.42 → 1.0.43

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "octopian-apis",
3
- "version": "1.0.42",
3
+ "version": "1.0.43",
4
4
  "description": "Transaction APIs SDK that implements Octopian Services which will be used for any node project typescript or javascript",
5
5
  "main": "./src/index.js",
6
6
  "scripts": {
@@ -986,6 +986,41 @@ export async function SubmitCartOrder(
986
986
  return APIResponse;
987
987
  }
988
988
 
989
+ /**
990
+ * @description
991
+ * Retrieves a list of distinct services from the service management request.
992
+ *
993
+ * @param {string} AuthToken
994
+ * Authentication token for authorization purposes.
995
+ *
996
+ * @param {number} Timeout
997
+ * Time in milliseconds to wait before the request times out. Default is 30000.
998
+ *
999
+ * @returns
1000
+ * An object containing the response from the Get Service Management Request Distinct Service List request, including
1001
+ * success message, status code, and any additional data returned by the API.
1002
+ * {
1003
+ * Message: Success,
1004
+ * StatusCode: 200,
1005
+ * Result: [
1006
+ * {
1007
+ * ServiceId: number,
1008
+ * Name: string
1009
+ * Translations: string
1010
+ * },..]
1011
+ */
1012
+ export async function GetServiceManagementRequestDistinctServiceList(
1013
+ AuthToken = null,
1014
+ Timeout = 30000
1015
+ ) {
1016
+ let APIResponse = await apiHandler.PostMethod(
1017
+ RequestsAPIConstants.uriGetServiceManagementRequestDistinctServiceList(),
1018
+ null,
1019
+ AuthToken,
1020
+ Timeout
1021
+ );
1022
+ return APIResponse;
1023
+ }
989
1024
  //#endregion
990
1025
 
991
1026
  //#region TransactionCommon
@@ -3664,6 +3664,284 @@ export async function GetDocumentRecordTemplate(
3664
3664
  );
3665
3665
  return APIResponse;
3666
3666
  }
3667
+
3668
+ /**
3669
+ * Retrieves a list of asset management asset sub groups.
3670
+ *
3671
+ * @param {string} AuthToken
3672
+ * Authentication token for authorization purposes.
3673
+ *
3674
+ * @param {number} Timeout
3675
+ * Time in milliseconds to wait before the request times out. Default is 30000.
3676
+ *
3677
+ * @param {string} RequiredHeaderValue
3678
+ * Value for any required header. Default is null.
3679
+ *
3680
+ * @returns
3681
+ * An object containing the response from the Get Asset Management Asset Sub Group List API,
3682
+ * including success message, status code, and any additional data returned by the API.
3683
+ * Message: Success,
3684
+ * StatusCode: 200,
3685
+ * Result: [
3686
+ * --- asset management asset sub group data ---
3687
+ * ],
3688
+ * HeaderValue: string
3689
+ */
3690
+ export async function GetAssetManagementAssetSubGroupList(
3691
+ AuthToken = null,
3692
+ Timeout = 30000,
3693
+ RequiredHeaderValue = null
3694
+ ) {
3695
+ let APIResponse = await apiHandler.PostMethod(
3696
+ TransactionsAPIConstants.uriGetAssetManagementAssetSubGroupList(),
3697
+ null,
3698
+ AuthToken,
3699
+ Timeout,
3700
+ RequiredHeaderValue
3701
+ );
3702
+ return APIResponse;
3703
+ }
3704
+
3705
+ /**
3706
+ * Retrieves a list of service management services.
3707
+ *
3708
+ * @param {string} AuthToken
3709
+ * Authentication token for authorization purposes.
3710
+ *
3711
+ * @param {number} Timeout
3712
+ * Time in milliseconds to wait before the request times out. Default is 30000.
3713
+ *
3714
+ * @param {string} RequiredHeaderValue
3715
+ * Value for any required header. Default is null.
3716
+ *
3717
+ * @returns
3718
+ * An object containing the response from the Get Service Management Service List API,
3719
+ * including success message, status code, and any additional data returned by the API.
3720
+ * Message: Success,
3721
+ * StatusCode: 200,
3722
+ * Result: [
3723
+ * --- service management service data ---
3724
+ * ],
3725
+ * HeaderValue: string
3726
+ */
3727
+ export async function GetServiceManagementServiceList(
3728
+ AuthToken = null,
3729
+ Timeout = 30000,
3730
+ RequiredHeaderValue = null
3731
+ ) {
3732
+ let APIResponse = await apiHandler.PostMethod(
3733
+ TransactionsAPIConstants.uriGetServiceManagementServiceList(),
3734
+ null,
3735
+ AuthToken,
3736
+ Timeout,
3737
+ RequiredHeaderValue
3738
+ );
3739
+ return APIResponse;
3740
+ }
3741
+
3742
+ /**
3743
+ * Maintains a list of asset management asset sub groups.
3744
+ *
3745
+ * @param {object} MaintainAssetManagementAssetSubGroupListDTO
3746
+ * Data object containing fields necessary for maintaining the asset management asset sub group list.
3747
+ * --- asset management asset sub group data list---
3748
+ *
3749
+ * @param {string} AuthToken
3750
+ * Authentication token for authorization purposes.
3751
+ *
3752
+ * @param {number} Timeout
3753
+ * Time in milliseconds to wait before the request times out. Default is 30000.
3754
+ *
3755
+ * @param {string} RequiredHeaderValue
3756
+ * Value for any required header. Default is null.
3757
+ *
3758
+ * @returns
3759
+ * An object containing the response from the Maintain Asset Management Asset Sub Group List API,
3760
+ * including success message, status code, and any additional data returned by the API.
3761
+ * Message: Success,
3762
+ * StatusCode: 200,
3763
+ * Result: --- update asset management asset sub group list ---,
3764
+ * HeaderValue: string
3765
+ */
3766
+ export async function MaintainAssetManagementAssetSubGroupList(
3767
+ MaintainAssetManagementAssetSubGroupListDTO,
3768
+ AuthToken = null,
3769
+ Timeout = 30000,
3770
+ RequiredHeaderValue = null
3771
+ ) {
3772
+ let APIResponse = await apiHandler.PostMethod(
3773
+ TransactionsAPIConstants.uriMaintainAssetManagementAssetSubGroupList(),
3774
+ MaintainAssetManagementAssetSubGroupListDTO,
3775
+ AuthToken,
3776
+ Timeout,
3777
+ RequiredHeaderValue
3778
+ );
3779
+ return APIResponse;
3780
+ }
3781
+
3782
+ /**
3783
+ * Retrieves a list of my personal unit members.
3784
+ *
3785
+ * @param {object} GetMyPersonalUnitMemberListDTO
3786
+ * Data object containing fields necessary for retrieving the my personal unit member list.
3787
+ * --- my personal unit member data list---
3788
+ *
3789
+ * @param {string} AuthToken
3790
+ * Authentication token for authorization purposes.
3791
+ *
3792
+ * @param {number} Timeout
3793
+ * Time in milliseconds to wait before the request times out. Default is 30000.
3794
+ *
3795
+ * @param {string} RequiredHeaderValue
3796
+ * Value for any required header. Default is null.
3797
+ *
3798
+ * @returns
3799
+ * An object containing the response from the Get My Personal Unit Member List API,
3800
+ * including success message, status code, and any additional data returned by the API.
3801
+ * Message: Success,
3802
+ * StatusCode: 200,
3803
+ * Result: [
3804
+ * --- my personal unit member data ---
3805
+ * ],
3806
+ * HeaderValue: string
3807
+ */
3808
+ export async function GetMyPersonalUnitMemberList(
3809
+ GetMyPersonalUnitMemberListDTO,
3810
+ AuthToken = null,
3811
+ Timeout = 30000,
3812
+ RequiredHeaderValue = null
3813
+ ) {
3814
+ let APIResponse = await apiHandler.PostMethod(
3815
+ TransactionsAPIConstants.uriGetMyPersonalUnitMemberList(),
3816
+ GetMyPersonalUnitMemberListDTO,
3817
+ AuthToken,
3818
+ Timeout,
3819
+ RequiredHeaderValue
3820
+ );
3821
+ return APIResponse;
3822
+ }
3823
+
3824
+ /**
3825
+ * Converts a personal unit member to a record.
3826
+ *
3827
+ * @param {object} ConvertPersonalUnitMemberToRecordDTO
3828
+ * Data object containing fields necessary for converting the personal unit member to a record.
3829
+ * --- personal unit member data list---
3830
+ *
3831
+ * @param {string} AuthToken
3832
+ * Authentication token for authorization purposes.
3833
+ *
3834
+ * @param {number} Timeout
3835
+ * Time in milliseconds to wait before the request times out. Default is 30000.
3836
+ *
3837
+ * @param {string} RequiredHeaderValue
3838
+ * Value for any required header. Default is null.
3839
+ *
3840
+ * @returns
3841
+ * An object containing the response from the Convert Personal Unit Member To Record API,
3842
+ * including success message, status code, and any additional data returned by the API.
3843
+ * Message: Success,
3844
+ * StatusCode: 200,
3845
+ * Result: --- personal unit member data ---,
3846
+ * HeaderValue: string
3847
+ */
3848
+ export async function ConvertPersonalUnitMemberToRecord(
3849
+ ConvertPersonalUnitMemberToRecordDTO,
3850
+ AuthToken = null,
3851
+ Timeout = 30000,
3852
+ RequiredHeaderValue = null
3853
+ ) {
3854
+ let APIResponse = await apiHandler.PostMethod(
3855
+ TransactionsAPIConstants.uriConvertPersonalUnitMemberToRecord(),
3856
+ ConvertPersonalUnitMemberToRecordDTO,
3857
+ AuthToken,
3858
+ Timeout,
3859
+ RequiredHeaderValue
3860
+ );
3861
+ return APIResponse;
3862
+ }
3863
+
3864
+ /**
3865
+ * Maintains a list of service management services.
3866
+ *
3867
+ * @param {object} MaintainServiceManagementServiceListDTO
3868
+ * Data object containing fields necessary for maintaining the service management service list.
3869
+ * --- service management service data list---
3870
+ *
3871
+ * @param {string} AuthToken
3872
+ * Authentication token for authorization purposes.
3873
+ *
3874
+ * @param {number} Timeout
3875
+ * Time in milliseconds to wait before the request times out. Default is 30000.
3876
+ *
3877
+ * @param {string} RequiredHeaderValue
3878
+ * Value for any required header. Default is null.
3879
+ *
3880
+ * @returns
3881
+ * An object containing the response from the Maintain Service Management Service List API,
3882
+ * including success message, status code, and any additional data returned by the API.
3883
+ * Message: Success,
3884
+ * StatusCode: 200,
3885
+ * Result: --- update service management service list ---,
3886
+ * HeaderValue: string
3887
+ */
3888
+ export async function MaintainServiceManagementServiceList(
3889
+ MaintainServiceManagementServiceListDTO,
3890
+ AuthToken = null,
3891
+ Timeout = 30000,
3892
+ RequiredHeaderValue = null
3893
+ ) {
3894
+ let APIResponse = await apiHandler.PostMethod(
3895
+ TransactionsAPIConstants.uriMaintainServiceManagementServiceList(),
3896
+ MaintainServiceManagementServiceListDTO,
3897
+ AuthToken,
3898
+ Timeout,
3899
+ RequiredHeaderValue
3900
+ );
3901
+ return APIResponse;
3902
+ }
3903
+
3904
+ /**
3905
+ * @description
3906
+ * Generates a document based on the provided input data.
3907
+ *
3908
+ * @param {object} GenerateDocumentInput
3909
+ * Data object containing fields necessary for generating the document.
3910
+ * ServiceId: number
3911
+ * TemplateAttributeAlias: string
3912
+ * ClientRequestAttributes: ClientRequestAttribute[]
3913
+ *
3914
+ * @param {string} AuthToken
3915
+ * Authentication token for authorization purposes.
3916
+ *
3917
+ * @param {number} Timeout
3918
+ * Time in milliseconds to wait before the request times out. Default is 30000.
3919
+ *
3920
+ * @param {string} RequiredHeaderValue
3921
+ * Value for any required header. Default is null.
3922
+ *
3923
+ * @returns
3924
+ * An object containing the response from the Generate Document API,
3925
+ * including success message, status code, and any additional data returned by the API.
3926
+ * Message: Success,
3927
+ * StatusCode: 200,
3928
+ * Result: string (document id)
3929
+ */
3930
+ export async function GenerateDocument(
3931
+ GenerateDocumentInput,
3932
+ AuthToken = null,
3933
+ Timeout = 30000,
3934
+ RequiredHeaderValue = null
3935
+ ) {
3936
+ let APIResponse = await apiHandler.PostMethod(
3937
+ TransactionsAPIConstants.uriGenerateDocument(),
3938
+ GenerateDocumentInput,
3939
+ AuthToken,
3940
+ Timeout,
3941
+ RequiredHeaderValue
3942
+ );
3943
+ return APIResponse;
3944
+ }
3667
3945
  //#endregion
3668
3946
 
3669
3947
  //#region Agent
@@ -4096,15 +4374,13 @@ export async function GetAssignbleRoleList(
4096
4374
  );
4097
4375
  return APIResponse;
4098
4376
  }
4377
+
4099
4378
  /**
4100
- * @description
4101
- * Generates a document based on the provided input data.
4379
+ * Retrieves the profile of the current agent.
4102
4380
  *
4103
- * @param {object} GenerateDocumentInput
4104
- * Data object containing fields necessary for generating the document.
4105
- * ServiceId: number
4106
- * TemplateAttributeAlias: string
4107
- * ClientRequestAttributes: ClientRequestAttribute[]
4381
+ * @param {object} GetAgentProfileDTO
4382
+ * Data object containing fields necessary for retrieving the agent profile.
4383
+ * --- agent profile data---
4108
4384
  *
4109
4385
  * @param {string} AuthToken
4110
4386
  * Authentication token for authorization purposes.
@@ -4112,25 +4388,303 @@ export async function GetAssignbleRoleList(
4112
4388
  * @param {number} Timeout
4113
4389
  * Time in milliseconds to wait before the request times out. Default is 30000.
4114
4390
  *
4391
+ * @param {string} RequiredHeaderValue
4392
+ * Value for any required header. Default is null.
4393
+ *
4394
+ * @returns
4395
+ * An object containing the response from the Get My Profile Agent API,
4396
+ * including success message, status code, and any additional data returned by the API.
4397
+ * Message: Success,
4398
+ * StatusCode: 200,
4399
+ * Result: --- agent profile data---,
4400
+ * HeaderValue: string
4401
+ */
4402
+ export async function GetAgentProfile(
4403
+ GetAgentProfileDTO,
4404
+ AuthToken = null,
4405
+ Timeout = 30000,
4406
+ RequiredHeaderValue = null
4407
+ ) {
4408
+ let APIResponse = await apiHandler.PostMethod(
4409
+ TransactionsAPIConstants.uriGetMyProfileAgent(),
4410
+ GetAgentProfileDTO,
4411
+ AuthToken,
4412
+ Timeout,
4413
+ RequiredHeaderValue
4414
+ );
4415
+ return APIResponse;
4416
+ }
4417
+
4418
+ /**
4419
+ * Maintains a list of attributes for an agent.
4420
+ *
4421
+ * @param {object} MaintainMyAttributeListAgentDTO
4422
+ * Data object containing fields necessary for maintaining the agent attribute list.
4423
+ * --- agent attribute data list---
4424
+ *
4425
+ * @param {string} AuthToken
4426
+ * Authentication token for authorization purposes.
4427
+ *
4428
+ * @param {number} Timeout
4429
+ * Time in milliseconds to wait before the request times out. Default is 30000.
4430
+ *
4115
4431
  * @param {string} RequiredHeaderValue
4116
4432
  * Value for any required header. Default is null.
4117
4433
  *
4118
4434
  * @returns
4119
- * An object containing the response from the Generate Document API,
4435
+ * An object containing the response from the Maintain My Attribute List Agent API,
4120
4436
  * including success message, status code, and any additional data returned by the API.
4121
4437
  * Message: Success,
4122
4438
  * StatusCode: 200,
4123
- * Result: string (document id)
4439
+ * Result: --- update agent attribute list ---,
4440
+ * HeaderValue: string
4124
4441
  */
4125
- export async function GenerateDocument(
4126
- GenerateDocumentInput,
4442
+ export async function MaintainMyAttributeListAgent(
4443
+ MaintainMyAttributeListAgentDTO,
4127
4444
  AuthToken = null,
4128
4445
  Timeout = 30000,
4129
4446
  RequiredHeaderValue = null
4130
4447
  ) {
4131
4448
  let APIResponse = await apiHandler.PostMethod(
4132
- TransactionsAPIConstants.uriGenerateDocument(),
4133
- GenerateDocumentInput,
4449
+ TransactionsAPIConstants.uriMaintainMyAttributeListAgent(),
4450
+ MaintainMyAttributeListAgentDTO,
4451
+ AuthToken,
4452
+ Timeout,
4453
+ RequiredHeaderValue
4454
+ );
4455
+ return APIResponse;
4456
+ }
4457
+
4458
+ /**
4459
+ * Updates the profile of the current agent.
4460
+ *
4461
+ * @param {object} UpdateMyProfileAgentDTO
4462
+ * Data object containing fields necessary for updating the agent profile.
4463
+ * --- agent profile data---
4464
+ *
4465
+ * @param {string} AuthToken
4466
+ * Authentication token for authorization purposes.
4467
+ *
4468
+ * @param {number} Timeout
4469
+ * Time in milliseconds to wait before the request times out. Default is 30000.
4470
+ *
4471
+ * @param {string} RequiredHeaderValue
4472
+ * Value for any required header. Default is null.
4473
+ *
4474
+ * @returns
4475
+ * An object containing the response from the Update My Profile Agent API,
4476
+ * including success message, status code, and any additional data returned by the API.
4477
+ * Message: Success,
4478
+ * StatusCode: 200,
4479
+ * Result: --- update agent profile ---,
4480
+ * HeaderValue: string
4481
+ */
4482
+ export async function UpdateMyProfileAgent(
4483
+ UpdateMyProfileAgentDTO,
4484
+ AuthToken = null,
4485
+ Timeout = 30000,
4486
+ RequiredHeaderValue = null
4487
+ ) {
4488
+ let APIResponse = await apiHandler.PostMethod(
4489
+ TransactionsAPIConstants.uriUpdateMyProfileAgent(),
4490
+ UpdateMyProfileAgentDTO,
4491
+ AuthToken,
4492
+ Timeout,
4493
+ RequiredHeaderValue
4494
+ );
4495
+ return APIResponse;
4496
+ }
4497
+
4498
+ /**
4499
+ * Maintains a list of addresses for an agent.
4500
+ *
4501
+ * @param {object} MaintainMyAddressListAgentDTO
4502
+ * Data object containing fields necessary for maintaining the agent address list.
4503
+ * --- agent address data list---
4504
+ *
4505
+ * @param {string} AuthToken
4506
+ * Authentication token for authorization purposes.
4507
+ *
4508
+ * @param {number} Timeout
4509
+ * Time in milliseconds to wait before the request times out. Default is 30000.
4510
+ *
4511
+ * @param {string} RequiredHeaderValue
4512
+ * Value for any required header. Default is null.
4513
+ *
4514
+ * @returns
4515
+ * An object containing the response from the Maintain My Address List Agent API,
4516
+ * including success message, status code, and any additional data returned by the API.
4517
+ * Message: Success,
4518
+ * StatusCode: 200,
4519
+ * Result: --- update agent address list ---,
4520
+ * HeaderValue: string
4521
+ */
4522
+ export async function MaintainMyAddressListAgent(
4523
+ MaintainMyAddressListAgentDTO,
4524
+ AuthToken = null,
4525
+ Timeout = 30000,
4526
+ RequiredHeaderValue = null
4527
+ ) {
4528
+ let APIResponse = await apiHandler.PostMethod(
4529
+ TransactionsAPIConstants.uriMaintainMyAddressListAgent(),
4530
+ MaintainMyAddressListAgentDTO,
4531
+ AuthToken,
4532
+ Timeout,
4533
+ RequiredHeaderValue
4534
+ );
4535
+ return APIResponse;
4536
+ }
4537
+
4538
+ /**
4539
+ * Maintains a list of documents for an agent.
4540
+ *
4541
+ * @param {object} MaintainMyDocumentAgentDTO
4542
+ * Data object containing fields necessary for maintaining the agent document list.
4543
+ * --- agent document data list---
4544
+ *
4545
+ * @param {string} AuthToken
4546
+ * Authentication token for authorization purposes.
4547
+ *
4548
+ * @param {number} Timeout
4549
+ * Time in milliseconds to wait before the request times out. Default is 30000.
4550
+ *
4551
+ * @param {string} RequiredHeaderValue
4552
+ * Value for any required header. Default is null.
4553
+ *
4554
+ * @returns
4555
+ * An object containing the response from the Maintain My Document Agent API,
4556
+ * including success message, status code, and any additional data returned by the API.
4557
+ * Message: Success,
4558
+ * StatusCode: 200,
4559
+ * Result: --- update agent document list ---,
4560
+ * HeaderValue: string
4561
+ */
4562
+ export async function MaintainMyDocumentAgent(
4563
+ MaintainMyDocumentAgentDTO,
4564
+ AuthToken = null,
4565
+ Timeout = 30000,
4566
+ RequiredHeaderValue = null
4567
+ ) {
4568
+ let APIResponse = await apiHandler.PostMethod(
4569
+ TransactionsAPIConstants.uriMaintainMyDocumentAgent(),
4570
+ MaintainMyDocumentAgentDTO,
4571
+ AuthToken,
4572
+ Timeout,
4573
+ RequiredHeaderValue
4574
+ );
4575
+ return APIResponse;
4576
+ }
4577
+
4578
+ /**
4579
+ * Retrieves a list of eligible documents for an interactor.
4580
+ *
4581
+ * @param {string} AuthToken
4582
+ * Authentication token for authorization purposes.
4583
+ *
4584
+ * @param {number} Timeout
4585
+ * Time in milliseconds to wait before the request times out. Default is 30000.
4586
+ *
4587
+ * @param {string} RequiredHeaderValue
4588
+ * Value for any required header. Default is null.
4589
+ *
4590
+ * @returns
4591
+ * An object containing the response from the Get Interactor Eligible Document List Agent API,
4592
+ * including success message, status code, and any additional data returned by the API.
4593
+ * Message: Success,
4594
+ * StatusCode: 200,
4595
+ * Result: [
4596
+ * --- eligible document data ---
4597
+ * ],
4598
+ * HeaderValue: string
4599
+ */
4600
+ export async function GetInteractorEligibleDocumentListAgent(
4601
+ AuthToken = null,
4602
+ Timeout = 30000,
4603
+ RequiredHeaderValue = null
4604
+ ) {
4605
+ let APIResponse = await apiHandler.PostMethod(
4606
+ TransactionsAPIConstants.uriGetInteractorEligibleDocumentListAgent(),
4607
+ null,
4608
+ AuthToken,
4609
+ Timeout,
4610
+ RequiredHeaderValue
4611
+ );
4612
+ return APIResponse;
4613
+ }
4614
+
4615
+ /**
4616
+ * Maintains a list of agent units.
4617
+ *
4618
+ * @param {object} MaintainAgentUnitListDTO
4619
+ * Data object containing fields necessary for maintaining the agent unit list.
4620
+ * --- agent unit data list---
4621
+ *
4622
+ * @param {string} AuthToken
4623
+ * Authentication token for authorization purposes.
4624
+ *
4625
+ * @param {number} Timeout
4626
+ * Time in milliseconds to wait before the request times out. Default is 30000.
4627
+ *
4628
+ * @param {string} RequiredHeaderValue
4629
+ * Value for any required header. Default is null.
4630
+ *
4631
+ * @returns
4632
+ * An object containing the response from the Maintain Agent Unit List Agent API,
4633
+ * including success message, status code, and any additional data returned by the API.
4634
+ * Message: Success,
4635
+ * StatusCode: 200,
4636
+ * Result: --- update agent unit list ---,
4637
+ * HeaderValue: string
4638
+ */
4639
+ export async function MaintainAgentUnitList(
4640
+ MaintainAgentUnitListAgentDTO,
4641
+ AuthToken = null,
4642
+ Timeout = 30000,
4643
+ RequiredHeaderValue = null
4644
+ ) {
4645
+ let APIResponse = await apiHandler.PostMethod(
4646
+ TransactionsAPIConstants.uriMaintainAgentUnitListAgent(),
4647
+ MaintainAgentUnitListAgentDTO,
4648
+ AuthToken,
4649
+ Timeout,
4650
+ RequiredHeaderValue
4651
+ );
4652
+ return APIResponse;
4653
+ }
4654
+
4655
+ /**
4656
+ * Maintains a list of agent interactors.
4657
+ *
4658
+ * @param {object} MaintainAgentInteractorListDTO
4659
+ * Data object containing fields necessary for maintaining the agent interactor list.
4660
+ * --- agent interactor data list---
4661
+ *
4662
+ * @param {string} AuthToken
4663
+ * Authentication token for authorization purposes.
4664
+ *
4665
+ * @param {number} Timeout
4666
+ * Time in milliseconds to wait before the request times out. Default is 30000.
4667
+ *
4668
+ * @param {string} RequiredHeaderValue
4669
+ * Value for any required header. Default is null.
4670
+ *
4671
+ * @returns
4672
+ * An object containing the response from the Maintain Agent Interactor List Agent API,
4673
+ * including success message, status code, and any additional data returned by the API.
4674
+ * Message: Success,
4675
+ * StatusCode: 200,
4676
+ * Result: --- update agent interactor list ---,
4677
+ * HeaderValue: string
4678
+ */
4679
+ export async function MaintainAgentInteractorList(
4680
+ MaintainAgentInteractorListAgentDTO,
4681
+ AuthToken = null,
4682
+ Timeout = 30000,
4683
+ RequiredHeaderValue = null
4684
+ ) {
4685
+ let APIResponse = await apiHandler.PostMethod(
4686
+ TransactionsAPIConstants.uriMaintainAgentInteractorListAgent(),
4687
+ MaintainAgentInteractorListAgentDTO,
4134
4688
  AuthToken,
4135
4689
  Timeout,
4136
4690
  RequiredHeaderValue