octopian-configuration-apis 1.0.2 → 1.0.3

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/README.md CHANGED
@@ -58,7 +58,7 @@ you will need to provide an API key that was generated by admin to authorize the
58
58
 
59
59
  ```typescript
60
60
 
61
- npm install git+https://in4ma.visualstudio.com/DefaultCollection/Octopian_Configuration_SDK/_git/Octopian_Configuration_SDK
61
+ npm install octopian-configuration-apis
62
62
  ```
63
63
 
64
64
  ### Initializing
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "octopian-configuration-apis",
3
- "version": "1.0.2",
4
- "description": "a global javascript sdk",
3
+ "version": "1.0.3",
4
+ "description": "a configuration api sdk",
5
5
  "main": "./src/index.js",
6
6
  "scripts": {
7
7
  "test": "npm run",
@@ -890,6 +890,131 @@ export async function GetDefaultConfigurationList(
890
890
  return APIResponse;
891
891
  }
892
892
 
893
+ /**
894
+ * @description
895
+ * Submits a request to get a list of company contexts using the provided input data.
896
+ *
897
+ * @param {GetCompanyContextInput} Input
898
+ * The data required to process the request to get a list of company contexts.
899
+ *
900
+ * @param {string} AuthToken
901
+ * Optional authentication token for authorization purposes. Default is null.
902
+ *
903
+ * @param {number} Timeout
904
+ * Optional time in milliseconds to wait before the request times out. Default is 30000.
905
+ *
906
+ * @returns {BaseResponse<GetCompanyContextOutput[] | BaseErrorResponse>}
907
+ * An object containing the response from the GetCompanyContextList API,
908
+ * including a success message, status code, and any additional data returned by the API.
909
+ */
910
+ export async function GetCompanyContextList(
911
+ Input,
912
+ AuthToken = null,
913
+ Timeout = 30000
914
+ ) {
915
+ let APIResponse = await apiHandler.PostMethod(
916
+ ConfigurationAPIConstants.uriGetCompanyContextList(),
917
+ Input,
918
+ AuthToken,
919
+ Timeout
920
+ );
921
+ return APIResponse;
922
+ }
923
+
924
+
925
+ /**
926
+ * @description
927
+ * Submits a request to maintain a list of company contexts using the provided input data.
928
+ *
929
+ * @param {GetCompanyContextOutput[]} Input
930
+ * The list of company contexts to maintain.
931
+ *
932
+ * @param {string} AuthToken
933
+ * Optional authentication token for authorization purposes. Default is null.
934
+ *
935
+ * @param {number} Timeout
936
+ * Optional time in milliseconds to wait before the request times out. Default is 30000.
937
+ *
938
+ * @returns {BaseResponse<GetCompanyContextOutput[] | BaseErrorResponse>}
939
+ * An object containing the response from the MaintainCompanyContextList API,
940
+ * including a success message, status code, and any additional data returned by the API.
941
+ */
942
+ export async function MaintainCompanyContextList(
943
+ Input,
944
+ AuthToken = null,
945
+ Timeout = 30000
946
+ ) {
947
+ let APIResponse = await apiHandler.PostMethod(
948
+ ConfigurationAPIConstants.uriMaintainCompanyContextList(),
949
+ Input,
950
+ AuthToken,
951
+ Timeout
952
+ );
953
+ return APIResponse;
954
+ }
955
+
956
+ /**
957
+ * @description
958
+ * Submits a request to get a list of stakeholders using the provided input data.
959
+ *
960
+ * @param {GetStakeholderListInput} Input
961
+ * The data required to process the request to get a list of stakeholders.
962
+ *
963
+ * @param {string} AuthToken
964
+ * Optional authentication token for authorization purposes. Default is null.
965
+
966
+ * @param {number} Timeout
967
+ * Optional time in milliseconds to wait before the request times out. Default is 30000.
968
+ *
969
+ * @returns {BaseResponse<GetStakeholderListOutput[] | BaseErrorResponse>}
970
+ * An object containing the response from the GetStakeholderList API,
971
+ * including a success message, status code, and any additional data returned by the API.
972
+ */
973
+ export async function GetStakeholderList(
974
+ Input,
975
+ AuthToken = null,
976
+ Timeout = 30000
977
+ ) {
978
+ let APIResponse = await apiHandler.PostMethod(
979
+ ConfigurationAPIConstants.uriGetStakeholderList(),
980
+ Input,
981
+ AuthToken,
982
+ Timeout
983
+ );
984
+ return APIResponse;
985
+ }
986
+
987
+ /**
988
+ * @description
989
+ * Submits a request to maintain a list of stakeholders using the provided input data.
990
+ *
991
+ * @param {GetStakeholderListOutput[]} Input
992
+ * The list of stakeholders to maintain.
993
+ *
994
+ * @param {string} AuthToken
995
+ * Optional authentication token for authorization purposes. Default is null.
996
+
997
+ * @param {number} Timeout
998
+ * Optional time in milliseconds to wait before the request times out. Default is 30000.
999
+ *
1000
+ * @returns {BaseResponse<GetStakeholderListOutput[] | BaseErrorResponse>}
1001
+ * An object containing the response from the MaintainStakeholderList API,
1002
+ * including a success message, status code, and any additional data returned by the API.
1003
+ */
1004
+ export async function MaintainStakeholderList(
1005
+ Input,
1006
+ AuthToken = null,
1007
+ Timeout = 30000
1008
+ ) {
1009
+ let APIResponse = await apiHandler.PostMethod(
1010
+ ConfigurationAPIConstants.uriMaintainStakeholderList(),
1011
+ Input,
1012
+ AuthToken,
1013
+ Timeout
1014
+ );
1015
+ return APIResponse;
1016
+ }
1017
+
893
1018
  /**
894
1019
  * @description
895
1020
  * Submits a request to get a list of interactor types using the provided input data.
@@ -921,6 +1046,37 @@ export async function GetInteractorTypeList(
921
1046
  return APIResponse;
922
1047
  }
923
1048
 
1049
+ /**
1050
+ * @description
1051
+ * Submits a request to maintain a list of interactor types using the provided input data.
1052
+ *
1053
+ * @param {MaintainInteractorTypeInput} Input
1054
+ * The list of interactor types to maintain.
1055
+ *
1056
+ * @param {string} AuthToken
1057
+ * Optional authentication token for authorization purposes. Default is null.
1058
+ *
1059
+ * @param {number} Timeout
1060
+ * Optional time in milliseconds to wait before the request times out. Default is 30000.
1061
+ *
1062
+ * @returns {BaseResponse<GetInteractorTypeListOutput[] | BaseErrorResponse>}
1063
+ * An object containing the response from the MaintainInteractorTypeList API,
1064
+ * including a success message, status code, and any additional data returned by the API.
1065
+ */
1066
+ export async function MaintainInteractorTypeList(
1067
+ Input,
1068
+ AuthToken = null,
1069
+ Timeout = 30000
1070
+ ) {
1071
+ let APIResponse = await apiHandler.PostMethod(
1072
+ ConfigurationAPIConstants.uriMaintainInteractorTypeList(),
1073
+ Input,
1074
+ AuthToken,
1075
+ Timeout
1076
+ );
1077
+ return APIResponse;
1078
+ }
1079
+
924
1080
  /**
925
1081
  * @description
926
1082
  * Submits a request to get a list of units using the provided input data.
package/src/index.d.ts CHANGED
@@ -77,6 +77,11 @@ import { GetInteractorListOutput } from "./modals/output-modals/GetInteractorLis
77
77
  import { GetInteractorListInput } from "./modals/input-modals/GetInteractorListInput";
78
78
  import { GetUnitListOutput } from "./modals/output-modals/GetUnitListOutput";
79
79
  import { AddAssetsInput } from "./modals/input-modals/AddAssetsInput";
80
+ import { MaintainInteractorTypeInput } from "./modals/input-modals/MaintainInteractorTypeInput";
81
+ import { GetCompanyContextOutput } from "./modals/output-modals/GetCompanyContextOutput";
82
+ import { GetStakeholderListOutput } from "./modals/output-modals/GetStakeholderListOutput";
83
+ import { GetStakeholderListInput } from "./modals/input-modals/GetStakeholderListInput";
84
+ import { GetCompanyContextInput } from "./modals/input-modals/GetCompanyContextInput";
80
85
  // Define each module with its specific functions
81
86
  interface ConfigurationServices {
82
87
  /**
@@ -711,51 +716,367 @@ interface ConfigurationServices {
711
716
  Timeout?: number | null
712
717
  ) => BaseResponse<GetAttributeTypesOutput[] | BaseErrorResponse>;
713
718
 
719
+ /**
720
+ * @description
721
+ * Submits a request to get a list of default configurations using the provided input data.
722
+ *
723
+ * @param {string} AuthToken
724
+ * Optional authentication token for authorization purposes. Default is null.
725
+ *
726
+ * @param {number} Timeout
727
+ * Optional time in milliseconds to wait before the request times out. Default is 30000.
728
+ *
729
+ * @returns {BaseResponse<GetDefaultConfigurationOutput[] | BaseErrorResponse>}
730
+ * An object containing the response from the GetDefaultConfigurationList API,
731
+ * including a success message, status code, and any additional data returned by the API.
732
+ * {
733
+ * Message: Success,
734
+ * StatusCode: 200,
735
+ * Result: GetDefaultConfigurationOutput[],
736
+ * }
737
+ */
714
738
  GetDefaultConfigurationList: (
715
739
  AuthToken?: string | null,
716
740
  Timeout?: number | null
717
741
  ) => BaseResponse<GetDefaultConfigurationOutput[] | BaseErrorResponse>;
718
742
 
743
+ /**
744
+ * @description
745
+ * Submits a request to get a list of interactor types using the provided input data.
746
+ *
747
+ * @param {number} stakeholderId
748
+ * The stakeholder id to get the interactor types for.
749
+ *
750
+ * @param {string} AuthToken
751
+ * Optional authentication token for authorization purposes. Default is null.
752
+ *
753
+ * @param {number} Timeout
754
+ * Optional time in milliseconds to wait before the request times out. Default is 30000.
755
+ *
756
+ * @returns {BaseResponse<GetInteractorTypeListOutput[] | BaseErrorResponse>}
757
+ * An object containing the response from the GetInteractorTypeList API,
758
+ * including a success message, status code, and any additional data returned by the API.
759
+ * {
760
+ * Message: Success,
761
+ * StatusCode: 200,
762
+ * Result: GetInteractorTypeListOutput[],
763
+ * }
764
+ */
719
765
  GetInteractorTypeList: (
720
766
  stakeholderId: number,
721
767
  AuthToken?: string | null,
722
768
  Timeout?: number | null
723
769
  ) => BaseResponse<GetInteractorTypeListOutput[] | BaseErrorResponse>;
724
770
 
771
+ /**
772
+ * @description
773
+ * Submits a request to maintain a list of interactor types using the provided input data.
774
+ *
775
+ * @param {MaintainInteractorTypeInput} Input
776
+ * The list of interactor types to maintain.
777
+ *
778
+ * @param {string} AuthToken
779
+ * Optional authentication token for authorization purposes. Default is null.
780
+ *
781
+ * @param {number} Timeout
782
+ * Optional time in milliseconds to wait before the request times out. Default is 30000.
783
+ *
784
+ * @returns {BaseResponse<GetInteractorTypeListOutput[] | BaseErrorResponse>}
785
+ * An object containing the response from the MaintainInteractorTypeList API,
786
+ * including a success message, status code, and any additional data returned by the API.
787
+ */
788
+ MaintainInteractorTypeList: (
789
+ Input: MaintainInteractorTypeInput[],
790
+ AuthToken?: string | null,
791
+ Timeout?: number | null
792
+ ) => BaseResponse<GetInteractorTypeListOutput[] | BaseErrorResponse>;
793
+
794
+ /**
795
+ * @description
796
+ * Submits a request to get a list of company contexts using the provided input data.
797
+ *
798
+ * @param {GetCompanyContextInput} Input
799
+ * The data required to process the request to get a list of company contexts.
800
+ *
801
+ * @param {string} AuthToken
802
+ * Optional authentication token for authorization purposes. Default is null.
803
+ *
804
+ * @param {number} Timeout
805
+ * Optional time in milliseconds to wait before the request times out. Default is 30000.
806
+ *
807
+ * @returns {BaseResponse<GetCompanyContextOutput[] | BaseErrorResponse>}
808
+ * An object containing the response from the GetCompanyContextList API,
809
+ * including a success message, status code, and any additional data returned by the API.
810
+ * {
811
+ * Message: Success,
812
+ * StatusCode: 200,
813
+ * Result: GetCompanyContextOutput[],
814
+ * }
815
+ */
816
+ GetCompanyContextList: (
817
+ Input: GetCompanyContextInput,
818
+ AuthToken?: string | null,
819
+ Timeout?: number | null
820
+ ) => BaseResponse<GetCompanyContextOutput[] | BaseErrorResponse>;
821
+
822
+ /**
823
+ * @description
824
+ * Submits a request to maintain a list of company contexts using the provided input data.
825
+ *
826
+ * @param {GetCompanyContextOutput[]} Input
827
+ * The list of company contexts to maintain.
828
+ *
829
+ * @param {string} AuthToken
830
+ * Optional authentication token for authorization purposes. Default is null.
831
+ *
832
+ * @param {number} Timeout
833
+ * Optional time in milliseconds to wait before the request times out. Default is 30000.
834
+ *
835
+ * @returns {BaseResponse<GetCompanyContextOutput[] | BaseErrorResponse>}
836
+ * An object containing the response from the MaintainCompanyContextList API,
837
+ * including a success message, status code, and any additional data returned by the API.
838
+ */
839
+ MaintainCompanyContextList: (
840
+ Input: GetCompanyContextOutput[],
841
+ AuthToken?: string | null,
842
+ Timeout?: number | null
843
+ ) => BaseResponse<GetCompanyContextOutput[] | BaseErrorResponse>;
844
+
845
+ /**
846
+ * @description
847
+ * Submits a request to get a list of stakeholders using the provided input data.
848
+ *
849
+ * @param {GetStakeholderListInput} Input
850
+ * The data required to process the request to get a list of stakeholders.
851
+ *
852
+ * @param {string} AuthToken
853
+ * Optional authentication token for authorization purposes. Default is null.
854
+ *
855
+ * @param {number} Timeout
856
+ * Optional time in milliseconds to wait before the request times out. Default is 30000.
857
+ *
858
+ * @returns {BaseResponse<GetStakeholderListOutput[] | BaseErrorResponse>}
859
+ * An object containing the response from the GetStakeholderList API,
860
+ * including a success message, status code, and any additional data returned by the API.
861
+ * {
862
+ * Message: Success,
863
+ * StatusCode: 200,
864
+ * Result: GetStakeholderListOutput[],
865
+ * }
866
+ */
867
+ GetStakeholderList: (
868
+ Input: GetStakeholderListInput,
869
+ AuthToken?: string | null,
870
+ Timeout?: number | null
871
+ ) => BaseResponse<GetStakeholderListOutput[] | BaseErrorResponse>;
872
+
873
+ /**
874
+ * @description
875
+ * Submits a request to maintain a list of stakeholders using the provided input data.
876
+ *
877
+ * @param {GetStakeholderListOutput[]} Input
878
+ * The list of stakeholders to maintain.
879
+ *
880
+ * @param {string} AuthToken
881
+ * Optional authentication token for authorization purposes. Default is null.
882
+ *
883
+ * @param {number} Timeout
884
+ * Optional time in milliseconds to wait before the request times out. Default is 30000.
885
+ *
886
+ * @returns {BaseResponse<GetStakeholderListOutput[] | BaseErrorResponse>}
887
+ * An object containing the response from the MaintainStakeholderList API,
888
+ * including a success message, status code, and any additional data returned by the API.
889
+ * {
890
+ * Message: Success,
891
+ * StatusCode: 200,
892
+ * Result: GetStakeholderListOutput[],
893
+ * }
894
+ */
895
+ MaintainStakeholderList: (
896
+ Input: GetStakeholderListOutput[],
897
+ AuthToken?: string | null,
898
+ Timeout?: number | null
899
+ ) => BaseResponse<GetStakeholderListOutput[] | BaseErrorResponse>;
900
+
901
+ /**
902
+ * @description
903
+ * Submits a request to get a list of roles by permission using the provided input data.
904
+ *
905
+ * @param {GetRoleListByPermissionInput} Input
906
+ * The data required to process the request to get a list of roles by permission.
907
+ *
908
+ * @param {string} AuthToken
909
+ * Optional authentication token for authorization purposes. Default is null.
910
+ *
911
+ * @param {number} Timeout
912
+ * Optional time in milliseconds to wait before the request times out. Default is 30000.
913
+ *
914
+ * @returns {BaseResponse<GetRoleListByPermissionOutput[] | BaseErrorResponse>}
915
+ * An object containing the response from the GetRoleListByPermission API,
916
+ * including a success message, status code, and any additional data returned by the API.
917
+ * {
918
+ * Message: Success,
919
+ * StatusCode: 200,
920
+ * Result: GetRoleListByPermissionOutput[],
921
+ * }
922
+ */
725
923
  GetRoleListByPermission: (
726
924
  Input: GetRoleListByPermissionInput,
727
925
  AuthToken?: string | null,
728
926
  Timeout?: number | null
729
927
  ) => BaseResponse<GetRoleListByPermissionOutput[] | BaseErrorResponse>;
730
928
 
929
+ /**
930
+ * @description
931
+ * Submits a request to create a write SAS using the provided input data.
932
+ *
933
+ * @param {string} AuthToken
934
+ * Optional authentication token for authorization purposes. Default is null.
935
+ *
936
+ * @param {number} Timeout
937
+ * Optional time in milliseconds to wait before the request times out. Default is 30000.
938
+ *
939
+ * @returns {BaseResponse<string | BaseErrorResponse>}
940
+ * An object containing the response from the CreateWriteSAS API,
941
+ * including a success message, status code, and any additional data returned by the API.
942
+ * {
943
+ * Message: Success,
944
+ * StatusCode: 200,
945
+ * Result: string,
946
+ * }
947
+ */
731
948
  CreateWriteSAS: (
732
949
  AuthToken?: string | null,
733
950
  Timeout?: number | null
734
951
  ) => BaseResponse<string | BaseErrorResponse>;
735
952
 
953
+ /**
954
+ * @description
955
+ * Submits a request to create a new correspondence using the provided input data.
956
+ *
957
+ * @param {CreateNewCorrespondenceInput} Input
958
+ * The data required to process the request to create a new correspondence.
959
+ *
960
+ * @param {string} AuthToken
961
+ * Optional authentication token for authorization purposes. Default is null.
962
+ *
963
+ * @param {number} Timeout
964
+ * Optional time in milliseconds to wait before the request times out. Default is 30000.
965
+ *
966
+ * @returns {BaseResponse<GetServiceListOutput | BaseErrorResponse>}
967
+ * An object containing the response from the CreateNewCorrespondence API,
968
+ * including a success message, status code, and any additional data returned by the API.
969
+ * {
970
+ * Message: Success,
971
+ * StatusCode: 200,
972
+ * Result: GetServiceListOutput,
973
+ * }
974
+ */
736
975
  CreateNewCorrespondence: (
737
976
  Input: CreateNewCorrespondenceInput,
738
977
  AuthToken?: string | null,
739
978
  Timeout?: number | null
740
979
  ) => BaseResponse<GetServiceListOutput | BaseErrorResponse>;
741
980
 
981
+ /**
982
+ * @description
983
+ * Submits a request to get a list of correspondences using the provided input data.
984
+ *
985
+ * @param {string} AuthToken
986
+ * Optional authentication token for authorization purposes. Default is null.
987
+ *
988
+ * @param {number} Timeout
989
+ * Optional time in milliseconds to wait before the request times out. Default is 30000.
990
+ *
991
+ * @returns {BaseResponse<GetServiceListOutput | BaseErrorResponse>}
992
+ * An object containing the response from the GetCorrespondenceList API,
993
+ * including a success message, status code, and any additional data returned by the API.
994
+ * {
995
+ * Message: Success,
996
+ * StatusCode: 200,
997
+ * Result: GetServiceListOutput,
998
+ * }
999
+ */
742
1000
  getCorrespondenceList: (
743
1001
  AuthToken?: string | null,
744
1002
  Timeout?: number | null
745
1003
  ) => BaseResponse<GetServiceListOutput | BaseErrorResponse>;
746
1004
 
1005
+ /**
1006
+ * @description
1007
+ * Submits a request to get a list of units using the provided input data.
1008
+ *
1009
+ * @param {number} interactorTypeId
1010
+ * The interactor type id to get the units for.
1011
+ *
1012
+ * @param {string} AuthToken
1013
+ * Optional authentication token for authorization purposes. Default is null.
1014
+ *
1015
+ * @param {number} Timeout
1016
+ * Optional time in milliseconds to wait before the request times out. Default is 30000.
1017
+ *
1018
+ * @returns {BaseResponse<GetUnitListOutput[] | BaseErrorResponse>}
1019
+ * An object containing the response from the GetUnitList API,
1020
+ * including a success message, status code, and any additional data returned by the API.
1021
+ * {
1022
+ * Message: Success,
1023
+ * StatusCode: 200,
1024
+ * Result: GetUnitListOutput[],
1025
+ * }
1026
+ */
747
1027
  GetUnitList: (
748
1028
  interactorTypeId: number,
749
1029
  AuthToken?: string | null,
750
1030
  Timeout?: number | null
751
1031
  ) => BaseResponse<GetUnitListOutput[] | BaseErrorResponse>;
752
1032
 
1033
+ /**
1034
+ * @description
1035
+ * Submits a request to get a list of interactors using the provided input data.
1036
+ *
1037
+ * @param {GetInteractorListInput} Input
1038
+ * The data required to process the request to get a list of interactors.
1039
+ *
1040
+ * @param {string} AuthToken
1041
+ * Optional authentication token for authorization purposes. Default is null.
1042
+ *
1043
+ * @param {number} Timeout
1044
+ * Optional time in milliseconds to wait before the request times out. Default is 30000.
1045
+ *
1046
+ * @returns {BaseResponse<GetInteractorListOutput[] | BaseErrorResponse>}
1047
+ * An object containing the response from the GetInteractorList API,
1048
+ * including a success message, status code, and any additional data returned by the API.
1049
+ * {
1050
+ * Message: Success,
1051
+ * StatusCode: 200,
1052
+ * Result: GetInteractorListOutput[],
1053
+ * }
1054
+ */
753
1055
  GetInteractorList: (
754
1056
  Input: GetInteractorListInput,
755
1057
  AuthToken?: string | null,
756
1058
  Timeout?: number | null
757
1059
  ) => BaseResponse<GetInteractorListOutput[] | BaseErrorResponse>;
758
1060
 
1061
+ /**
1062
+ * @description
1063
+ * Submits a request to update the configuration using the provided input data.
1064
+ *
1065
+ * @param {string} AuthToken
1066
+ * Optional authentication token for authorization purposes. Default is null.
1067
+ *
1068
+ * @param {number} Timeout
1069
+ * Optional time in milliseconds to wait before the request times out. Default is 30000.
1070
+ *
1071
+ * @returns {BaseResponse<boolean | BaseErrorResponse>}
1072
+ * An object containing the response from the UpdateConfiguration API,
1073
+ * including a success message, status code, and any additional data returned by the API.
1074
+ * {
1075
+ * Message: Success,
1076
+ * StatusCode: 200,
1077
+ * Result: boolean,
1078
+ * }
1079
+ */
759
1080
  UpdateConfiguration: (
760
1081
  AuthToken?: string | null,
761
1082
  Timeout?: number | null
@@ -964,5 +1285,10 @@ export {
964
1285
  GetInteractorListInput,
965
1286
  GetUnitListOutput,
966
1287
  GetInteractorListOutput,
967
- AddAssetsInput
1288
+ AddAssetsInput,
1289
+ MaintainInteractorTypeInput,
1290
+ GetCompanyContextOutput,
1291
+ GetStakeholderListOutput,
1292
+ GetStakeholderListInput,
1293
+ GetCompanyContextInput,
968
1294
  };
package/src/index.js CHANGED
@@ -29,7 +29,12 @@ const {
29
29
  GetDefaultConfigurationList,
30
30
  getCorrespondenceList,
31
31
  GetAssetBlazorViewList,
32
- UpdateConfiguration
32
+ UpdateConfiguration,
33
+ GetCompanyContextList,
34
+ MaintainCompanyContextList,
35
+ GetStakeholderList,
36
+ MaintainStakeholderList,
37
+ MaintainInteractorTypeList
33
38
  } = require("./CoreServices/configurationServices");
34
39
  const {
35
40
  GetEnglishNewsList,
@@ -82,7 +87,12 @@ const ConfigurationServices = {
82
87
  GetDefaultConfigurationList,
83
88
  getCorrespondenceList,
84
89
  GetAssetBlazorViewList,
85
- UpdateConfiguration
90
+ UpdateConfiguration,
91
+ GetCompanyContextList,
92
+ MaintainCompanyContextList,
93
+ GetStakeholderList,
94
+ MaintainStakeholderList,
95
+ MaintainInteractorTypeList
86
96
  };
87
97
 
88
98
  const DABConfigurationServices = {
@@ -0,0 +1,3 @@
1
+ export class GetCompanyContextInput {
2
+ companyContextId: number = -12345;
3
+ }
@@ -0,0 +1,3 @@
1
+ export class GetStakeholderListInput {
2
+ stakeholderId: number = -12345;
3
+ }
@@ -0,0 +1,6 @@
1
+ import { GetInteractorTypeListOutput } from "../output-modals/GetInteractorTypeListOutput";
2
+
3
+ export interface MaintainInteractorTypeInput {
4
+ applyToExistingInteractorList: boolean;
5
+ interactorTypeList: GetInteractorTypeListOutput[];
6
+ }
@@ -0,0 +1,6 @@
1
+ export interface GetCompanyContextOutput {
2
+ CompanyContextId: number
3
+ Name: string
4
+ AdminUserId: number
5
+ DtoState: number
6
+ }
@@ -0,0 +1,13 @@
1
+ export interface GetStakeholderListOutput {
2
+ StakeholderId: number
3
+ Name: string
4
+ IsSystemGenerated: boolean
5
+ Translations: any
6
+ Weight?: string
7
+ Alias?: string
8
+ CompanyContextId?: number
9
+ CopyFromDefault: boolean
10
+ CopyAllDetails: boolean
11
+ IsDefaultContext: boolean
12
+ DtoState: number
13
+ }
@@ -72,9 +72,24 @@ export class ConfigurationAPIConstants {
72
72
  static uriGetDefaultConfigurationList() {
73
73
  return ConfigurationURI + "/api/Common/GetDefaultConfigurationList";
74
74
  }
75
+ static uriGetCompanyContextList() {
76
+ return ConfigurationURI + "/api/Company/GetCompanyContextList";
77
+ }
78
+ static uriMaintainCompanyContextList() {
79
+ return ConfigurationURI + "/api/Company/MaintainCompanyContextList";
80
+ }
81
+ static uriGetStakeholderList() {
82
+ return ConfigurationURI + "/api/Organization/GetStakeholderList";
83
+ }
84
+ static uriMaintainStakeholderList() {
85
+ return ConfigurationURI + "/api/Organization/MaintainStakeholderList";
86
+ }
75
87
  static uriGetInteractorTypeList() {
76
88
  return ConfigurationURI + "/api/Organization/GetInteractorTypeList";
77
89
  }
90
+ static uriMaintainInteractorTypeList() {
91
+ return ConfigurationURI + "/api/Organization/MaintainInteractorTypeList";
92
+ }
78
93
  static uriGetRoleListByPermission() {
79
94
  return ConfigurationURI + "/api/Circle/GetRoleListByPermission";
80
95
  }