@device-management-toolkit/wsman-messages 5.9.4

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 (90) hide show
  1. package/README.md +29 -0
  2. package/WSMan.d.ts +217 -0
  3. package/WSMan.js +395 -0
  4. package/WSMan.js.map +1 -0
  5. package/amt/actions.d.ts +112 -0
  6. package/amt/actions.js +118 -0
  7. package/amt/actions.js.map +1 -0
  8. package/amt/classes.d.ts +33 -0
  9. package/amt/classes.js +38 -0
  10. package/amt/classes.js.map +1 -0
  11. package/amt/index.d.ts +12 -0
  12. package/amt/index.js +17 -0
  13. package/amt/index.js.map +1 -0
  14. package/amt/messages.d.ts +466 -0
  15. package/amt/messages.js +819 -0
  16. package/amt/messages.js.map +1 -0
  17. package/amt/messages.test.d.ts +5 -0
  18. package/amt/messages.test.js +1091 -0
  19. package/amt/messages.test.js.map +1 -0
  20. package/amt/methods.d.ts +42 -0
  21. package/amt/methods.js +47 -0
  22. package/amt/methods.js.map +1 -0
  23. package/amt/models.d.ts +329 -0
  24. package/amt/models.js +7 -0
  25. package/amt/models.js.map +1 -0
  26. package/amt/types.d.ts +206 -0
  27. package/amt/types.js +7 -0
  28. package/amt/types.js.map +1 -0
  29. package/cim/actions.d.ts +9 -0
  30. package/cim/actions.js +14 -0
  31. package/cim/actions.js.map +1 -0
  32. package/cim/classes.d.ts +27 -0
  33. package/cim/classes.js +32 -0
  34. package/cim/classes.js.map +1 -0
  35. package/cim/index.d.ts +12 -0
  36. package/cim/index.js +16 -0
  37. package/cim/index.js.map +1 -0
  38. package/cim/messages.d.ts +136 -0
  39. package/cim/messages.js +215 -0
  40. package/cim/messages.js.map +1 -0
  41. package/cim/messages.test.d.ts +5 -0
  42. package/cim/messages.test.js +408 -0
  43. package/cim/messages.test.js.map +1 -0
  44. package/cim/methods.d.ts +15 -0
  45. package/cim/methods.js +20 -0
  46. package/cim/methods.js.map +1 -0
  47. package/cim/models.d.ts +376 -0
  48. package/cim/models.js +7 -0
  49. package/cim/models.js.map +1 -0
  50. package/cim/types.d.ts +296 -0
  51. package/cim/types.js +7 -0
  52. package/cim/types.js.map +1 -0
  53. package/dist +42 -0
  54. package/index.d.ts +9 -0
  55. package/index.js +49 -0
  56. package/index.js.map +1 -0
  57. package/ips/actions.d.ts +15 -0
  58. package/ips/actions.js +20 -0
  59. package/ips/actions.js.map +1 -0
  60. package/ips/classes.d.ts +12 -0
  61. package/ips/classes.js +17 -0
  62. package/ips/classes.js.map +1 -0
  63. package/ips/index.d.ts +12 -0
  64. package/ips/index.js +16 -0
  65. package/ips/index.js.map +1 -0
  66. package/ips/messages.d.ts +117 -0
  67. package/ips/messages.js +210 -0
  68. package/ips/messages.js.map +1 -0
  69. package/ips/messages.test.d.ts +5 -0
  70. package/ips/messages.test.js +206 -0
  71. package/ips/messages.test.js.map +1 -0
  72. package/ips/methods.d.ts +21 -0
  73. package/ips/methods.js +26 -0
  74. package/ips/methods.js.map +1 -0
  75. package/ips/models.d.ts +59 -0
  76. package/ips/models.js +7 -0
  77. package/ips/models.js.map +1 -0
  78. package/ips/types.d.ts +58 -0
  79. package/ips/types.js +7 -0
  80. package/ips/types.js.map +1 -0
  81. package/models/common.d.ts +104 -0
  82. package/models/common.js +7 -0
  83. package/models/common.js.map +1 -0
  84. package/models/index.d.ts +6 -0
  85. package/models/index.js +43 -0
  86. package/models/index.js.map +1 -0
  87. package/package.json +41 -0
  88. package/wsman.test.d.ts +5 -0
  89. package/wsman.test.js +479 -0
  90. package/wsman.test.js.map +1 -0
@@ -0,0 +1,117 @@
1
+ /*********************************************************************
2
+ * Copyright (c) Intel Corporation 2021
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ **********************************************************************/
5
+ import type { Selector } from '../WSMan';
6
+ import { Base, WSManMessageCreator } from '../WSMan';
7
+ import type { Models, Types } from './';
8
+ import { Classes } from './';
9
+ declare class IEEE8021xCredentialContext extends Base {
10
+ className: Classes;
11
+ }
12
+ declare class AlarmClockOccurrence extends Base {
13
+ className: Classes;
14
+ /**
15
+ * Deletes an instance of AlarmClockOccurrence
16
+ * @param selector Selector Object.
17
+ * @returns string
18
+ */
19
+ Delete: (selector: Selector) => string;
20
+ }
21
+ declare class HostBasedSetupService extends Base {
22
+ className: Classes;
23
+ /**
24
+ * Add a certificate to the provisioning certificate chain, to be used by AdminSetup or UpgradeClientToAdmin methods.
25
+ * @param cert The next certificate to add to the chain
26
+ * @param isLeaf true, when the current certificate is leaf certificate
27
+ * @param isRoot true, when the current certificate is root. Marks end of the certificate chain
28
+ * @returns string
29
+ */
30
+ AddNextCertInChain: (cert: string, isLeaf: boolean, isRoot: boolean) => string;
31
+ /**
32
+ * Setup Intel(R) AMT from the local host, resulting in Admin Setup Mode. Requires OS administrator rights, and moves Intel(R) AMT from "Pre Provisioned" state to "Post Provisioned" state. The control mode after this method is run will be "Admin".
33
+ * @param adminPassEncryptionType The encryption type of the network admin password. Only HTTP-MD5 is supported. The values are the same as the CIM_Account.UserPasswordEncryptionAlgorithm field
34
+ * @param adminPassword New network admin password to be set by this command, encrypted using the encryption type algorithm
35
+ * @param mcNonce A random nonce value generated by the configuration agent.Required if the digital signature is provided.needs to be concatenated after the configuration nonce and signed together with the attached certificate's private key
36
+ * @param signingAlgorithm The signing algorithm used to sign the setup operation.
37
+ * @param digitalSignature A digital signature of the ConfigurationNonce and the McNonce concatenated. If this information is provided, AMT will validate the signature before accepting the command.
38
+ * @returns string
39
+ */
40
+ AdminSetup: (adminPassEncryptionType: Types.HostBasedSetupService.AdminPassEncryptionType, adminPassword: string, mcNonce: string, signingAlgorithm: Types.HostBasedSetupService.SigningAlgorithm, digitalSignature: string) => string;
41
+ /**
42
+ * Upgrade Intel(R) AMT from Client to Admin Control Mode. Requires AMT administrator rights, and that the machine has been previously provisioned in Client control mode.
43
+ * @param mcNonce A random nonce value generated by the configuration agent.Required if the digital signature is provided.needs to be concatenated after the configuration nonce and signed together with the attached certificate's private key
44
+ * @param signingAlgorithm The signing algorithm used to sign the setup operation.
45
+ * @param digitalSignature A digital signature of the ConfigurationNonce and the McNonce concatenated. If this information is provided, AMT will validate the signature before accepting the command.
46
+ * @returns string
47
+ */
48
+ UpgradeClientToAdmin: (mcNonce: string, signingAlgorithm: Types.HostBasedSetupService.SigningAlgorithm, digitalSignature: string) => string;
49
+ /**
50
+ * Setup Intel(R) AMT from local host. This function requires OS administrator rights, and moves Intel(R) AMT from "Pre Provisioned" state to "Post Provisioned" state. The control mode after this method is run will be "Client". This method also allows the configuring agent to sign the setup operation with a certificate. The certificate hash will be kept in the corresponding provisioning record
51
+ * @param adminPassEncryptionType The encryption type of the network admin password. Only HTTP-MD5 is supported. The values are the same as the CIM_Account.UserPasswordEncryptionAlgorithm field
52
+ * @param adminPassword New network admin password to be set by this command, encrypted using the encryption type algorithm
53
+ * @returns string
54
+ */
55
+ Setup: (adminPassEncryptionType: Types.HostBasedSetupService.AdminPassEncryptionType, adminPassword: string) => string;
56
+ }
57
+ declare class IEEE8021xSettings extends Base {
58
+ className: Classes;
59
+ /**
60
+ * Changes properties of IEEE8021xSettings.
61
+ * @param ieee8021xSettings IEEE8021xSettings Object
62
+ * @returns string
63
+ */
64
+ Put: (ieee8021xSettings: Models.IEEE8021xSettings) => string;
65
+ /**
66
+ * Sets certificates for IEEE8021xSettings in AMT
67
+ * @param serverCertificateIssuer AMT_PublicKeyCertificate Object
68
+ * @param clientCertificate AMT_PublicKeyCertificate Object
69
+ * @returns string
70
+ */
71
+ SetCertificates: (serverCertificateIssuer: string, clientCertificate: string) => string;
72
+ }
73
+ declare class OptInService extends Base {
74
+ className: Classes;
75
+ /**
76
+ * Cancel a previous opt-in code request.
77
+ * @returns string
78
+ */
79
+ CancelOptIn: () => string;
80
+ /**
81
+ * Changes properties of OptInService.
82
+ * @param optInServiceResponse OptInServiceResponse Object
83
+ * @returns string
84
+ */
85
+ Put: (optInServiceResponse: Models.OptInServiceResponse) => string;
86
+ /**
87
+ * Send the opt-in code to Intel(R) AMT.
88
+ * @param optInCode The opt-in code generated by Intel(R) AMT. This code is displayed on the user screen and should be entered by the remote IT technician.
89
+ * @returns string
90
+ */
91
+ SendOptInCode: (optInCode: number) => string;
92
+ /**
93
+ * Request an opt-in code
94
+ * @returns string
95
+ */
96
+ StartOptIn: () => string;
97
+ }
98
+ declare class PowerManagementService extends Base {
99
+ className: Classes;
100
+ /**
101
+ * Define the desired OS power saving state of the managed element, and when the element should be put into that state
102
+ * @param OSPowerSavingState indicates the desired OS power saving state
103
+ * @returns string
104
+ */
105
+ RequestOSPowerSavingStateChange: (OSPowerSavingState: Types.PowerManagementService.OSPowerSavingState) => string;
106
+ }
107
+ export declare class Messages {
108
+ readonly resourceUriBase: string;
109
+ wsmanMessageCreator: WSManMessageCreator;
110
+ IEEE8021xCredentialContext: IEEE8021xCredentialContext;
111
+ AlarmClockOccurrence: AlarmClockOccurrence;
112
+ HostBasedSetupService: HostBasedSetupService;
113
+ IEEE8021xSettings: IEEE8021xSettings;
114
+ OptInService: OptInService;
115
+ PowerManagementService: PowerManagementService;
116
+ }
117
+ export {};
@@ -0,0 +1,210 @@
1
+ "use strict";
2
+ /*********************************************************************
3
+ * Copyright (c) Intel Corporation 2021
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ **********************************************************************/
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.Messages = void 0;
8
+ const WSMan_1 = require("../WSMan");
9
+ const _1 = require("./");
10
+ class IEEE8021xCredentialContext extends WSMan_1.Base {
11
+ constructor() {
12
+ super(...arguments);
13
+ this.className = _1.Classes.IEEE8021X_CREDENTIAL_CONTEXT;
14
+ }
15
+ }
16
+ class AlarmClockOccurrence extends WSMan_1.Base {
17
+ constructor() {
18
+ super(...arguments);
19
+ this.className = _1.Classes.ALARM_CLOCK_OCCURRENCE;
20
+ /**
21
+ * Deletes an instance of AlarmClockOccurrence
22
+ * @param selector Selector Object.
23
+ * @returns string
24
+ */
25
+ this.Delete = (selector) => this.protectedDelete(selector);
26
+ }
27
+ }
28
+ class HostBasedSetupService extends WSMan_1.Base {
29
+ constructor() {
30
+ super(...arguments);
31
+ this.className = _1.Classes.HOST_BASED_SETUP_SERVICE;
32
+ /**
33
+ * Add a certificate to the provisioning certificate chain, to be used by AdminSetup or UpgradeClientToAdmin methods.
34
+ * @param cert The next certificate to add to the chain
35
+ * @param isLeaf true, when the current certificate is leaf certificate
36
+ * @param isRoot true, when the current certificate is root. Marks end of the certificate chain
37
+ * @returns string
38
+ */
39
+ this.AddNextCertInChain = (cert, isLeaf, isRoot) => {
40
+ const header = this.wsmanMessageCreator.createHeader(_1.Actions.ADD_NEXT_CERT_IN_CHAIN, _1.Classes.HOST_BASED_SETUP_SERVICE);
41
+ const body = this.wsmanMessageCreator.createBody('AddNextCertInChain_INPUT', _1.Classes.HOST_BASED_SETUP_SERVICE, [
42
+ {
43
+ NextCertificate: cert,
44
+ IsLeafCertificate: isLeaf,
45
+ IsRootCertificate: isRoot
46
+ }
47
+ ]);
48
+ return this.wsmanMessageCreator.createXml(header, body);
49
+ };
50
+ /**
51
+ * Setup Intel(R) AMT from the local host, resulting in Admin Setup Mode. Requires OS administrator rights, and moves Intel(R) AMT from "Pre Provisioned" state to "Post Provisioned" state. The control mode after this method is run will be "Admin".
52
+ * @param adminPassEncryptionType The encryption type of the network admin password. Only HTTP-MD5 is supported. The values are the same as the CIM_Account.UserPasswordEncryptionAlgorithm field
53
+ * @param adminPassword New network admin password to be set by this command, encrypted using the encryption type algorithm
54
+ * @param mcNonce A random nonce value generated by the configuration agent.Required if the digital signature is provided.needs to be concatenated after the configuration nonce and signed together with the attached certificate's private key
55
+ * @param signingAlgorithm The signing algorithm used to sign the setup operation.
56
+ * @param digitalSignature A digital signature of the ConfigurationNonce and the McNonce concatenated. If this information is provided, AMT will validate the signature before accepting the command.
57
+ * @returns string
58
+ */
59
+ this.AdminSetup = (adminPassEncryptionType, adminPassword, mcNonce, signingAlgorithm, digitalSignature) => {
60
+ const header = this.wsmanMessageCreator.createHeader(_1.Actions.ADMIN_SETUP, _1.Classes.HOST_BASED_SETUP_SERVICE);
61
+ const body = this.wsmanMessageCreator.createBody('AdminSetup_INPUT', _1.Classes.HOST_BASED_SETUP_SERVICE, [
62
+ {
63
+ NetAdminPassEncryptionType: adminPassEncryptionType,
64
+ NetworkAdminPassword: adminPassword,
65
+ McNonce: mcNonce,
66
+ SigningAlgorithm: signingAlgorithm,
67
+ DigitalSignature: digitalSignature
68
+ }
69
+ ]);
70
+ return this.wsmanMessageCreator.createXml(header, body);
71
+ };
72
+ /**
73
+ * Upgrade Intel(R) AMT from Client to Admin Control Mode. Requires AMT administrator rights, and that the machine has been previously provisioned in Client control mode.
74
+ * @param mcNonce A random nonce value generated by the configuration agent.Required if the digital signature is provided.needs to be concatenated after the configuration nonce and signed together with the attached certificate's private key
75
+ * @param signingAlgorithm The signing algorithm used to sign the setup operation.
76
+ * @param digitalSignature A digital signature of the ConfigurationNonce and the McNonce concatenated. If this information is provided, AMT will validate the signature before accepting the command.
77
+ * @returns string
78
+ */
79
+ this.UpgradeClientToAdmin = (mcNonce, signingAlgorithm, digitalSignature) => {
80
+ const header = this.wsmanMessageCreator.createHeader(_1.Actions.UPGRADE_CLIENT_TO_ADMIN, _1.Classes.HOST_BASED_SETUP_SERVICE);
81
+ const body = this.wsmanMessageCreator.createBody('UpgradeClientToAdmin_INPUT', _1.Classes.HOST_BASED_SETUP_SERVICE, [
82
+ {
83
+ McNonce: mcNonce,
84
+ SigningAlgorithm: signingAlgorithm,
85
+ DigitalSignature: digitalSignature
86
+ }
87
+ ]);
88
+ return this.wsmanMessageCreator.createXml(header, body);
89
+ };
90
+ /**
91
+ * Setup Intel(R) AMT from local host. This function requires OS administrator rights, and moves Intel(R) AMT from "Pre Provisioned" state to "Post Provisioned" state. The control mode after this method is run will be "Client". This method also allows the configuring agent to sign the setup operation with a certificate. The certificate hash will be kept in the corresponding provisioning record
92
+ * @param adminPassEncryptionType The encryption type of the network admin password. Only HTTP-MD5 is supported. The values are the same as the CIM_Account.UserPasswordEncryptionAlgorithm field
93
+ * @param adminPassword New network admin password to be set by this command, encrypted using the encryption type algorithm
94
+ * @returns string
95
+ */
96
+ this.Setup = (adminPassEncryptionType, adminPassword) => {
97
+ const header = this.wsmanMessageCreator.createHeader(_1.Actions.SETUP, _1.Classes.HOST_BASED_SETUP_SERVICE);
98
+ const body = this.wsmanMessageCreator.createBody('Setup_INPUT', _1.Classes.HOST_BASED_SETUP_SERVICE, [
99
+ {
100
+ NetAdminPassEncryptionType: adminPassEncryptionType.toString(),
101
+ NetworkAdminPassword: adminPassword
102
+ }
103
+ ]);
104
+ return this.wsmanMessageCreator.createXml(header, body);
105
+ };
106
+ }
107
+ }
108
+ class IEEE8021xSettings extends WSMan_1.Base {
109
+ constructor() {
110
+ super(...arguments);
111
+ this.className = _1.Classes.IEEE8021X_SETTINGS;
112
+ /**
113
+ * Changes properties of IEEE8021xSettings.
114
+ * @param ieee8021xSettings IEEE8021xSettings Object
115
+ * @returns string
116
+ */
117
+ this.Put = (ieee8021xSettings) => this.protectedPut(ieee8021xSettings, false);
118
+ /**
119
+ * Sets certificates for IEEE8021xSettings in AMT
120
+ * @param serverCertificateIssuer AMT_PublicKeyCertificate Object
121
+ * @param clientCertificate AMT_PublicKeyCertificate Object
122
+ * @returns string
123
+ */
124
+ this.SetCertificates = (serverCertificateIssuer, clientCertificate) => {
125
+ const header = this.wsmanMessageCreator.createHeader(_1.Actions.SET_CERTIFICATES, _1.Classes.IEEE8021X_SETTINGS, undefined, undefined);
126
+ const body = this.wsmanMessageCreator.createBody(_1.Methods.SET_CERTIFICATES_INPUT, _1.Classes.IEEE8021X_SETTINGS, [
127
+ {
128
+ ServerCertificateIssuer: serverCertificateIssuer,
129
+ ClientCertificate: clientCertificate
130
+ }
131
+ ]);
132
+ return this.wsmanMessageCreator.createXml(header, body);
133
+ };
134
+ }
135
+ }
136
+ class OptInService extends WSMan_1.Base {
137
+ constructor() {
138
+ super(...arguments);
139
+ this.className = _1.Classes.OPT_IN_SERVICE;
140
+ /**
141
+ * Cancel a previous opt-in code request.
142
+ * @returns string
143
+ */
144
+ this.CancelOptIn = () => {
145
+ const header = this.wsmanMessageCreator.createHeader(_1.Actions.CANCEL_OPT_IN, _1.Classes.OPT_IN_SERVICE);
146
+ const body = this.wsmanMessageCreator.createBody('CancelOptIn_INPUT', _1.Classes.OPT_IN_SERVICE);
147
+ return this.wsmanMessageCreator.createXml(header, body);
148
+ };
149
+ /**
150
+ * Changes properties of OptInService.
151
+ * @param optInServiceResponse OptInServiceResponse Object
152
+ * @returns string
153
+ */
154
+ this.Put = (optInServiceResponse) => {
155
+ const key = Object.keys(optInServiceResponse)[0];
156
+ return this.protectedPut(optInServiceResponse[key], false);
157
+ };
158
+ /**
159
+ * Send the opt-in code to Intel(R) AMT.
160
+ * @param optInCode The opt-in code generated by Intel(R) AMT. This code is displayed on the user screen and should be entered by the remote IT technician.
161
+ * @returns string
162
+ */
163
+ this.SendOptInCode = (optInCode) => {
164
+ const header = this.wsmanMessageCreator.createHeader(_1.Actions.SEND_OPT_IN_CODE, _1.Classes.OPT_IN_SERVICE);
165
+ const body = this.wsmanMessageCreator.createBody('SendOptInCode_INPUT', _1.Classes.OPT_IN_SERVICE, [
166
+ { OptInCode: optInCode }
167
+ ]);
168
+ return this.wsmanMessageCreator.createXml(header, body);
169
+ };
170
+ /**
171
+ * Request an opt-in code
172
+ * @returns string
173
+ */
174
+ this.StartOptIn = () => {
175
+ const header = this.wsmanMessageCreator.createHeader(_1.Actions.START_OPT_IN, _1.Classes.OPT_IN_SERVICE);
176
+ const body = this.wsmanMessageCreator.createBody('StartOptIn_INPUT', _1.Classes.OPT_IN_SERVICE);
177
+ return this.wsmanMessageCreator.createXml(header, body);
178
+ };
179
+ }
180
+ }
181
+ class PowerManagementService extends WSMan_1.Base {
182
+ constructor() {
183
+ super(...arguments);
184
+ this.className = _1.Classes.POWER_MANAGEMENT_SERVICE;
185
+ /**
186
+ * Define the desired OS power saving state of the managed element, and when the element should be put into that state
187
+ * @param OSPowerSavingState indicates the desired OS power saving state
188
+ * @returns string
189
+ */
190
+ this.RequestOSPowerSavingStateChange = (OSPowerSavingState) => {
191
+ const header = this.wsmanMessageCreator.createHeader(_1.Actions.REQUEST_OS_POWER_SAVING_STATE_CHANG, _1.Classes.POWER_MANAGEMENT_SERVICE);
192
+ const body = `<Body><h:RequestOSPowerSavingStateChange_INPUT xmlns:h="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_PowerManagementService"><h:OSPowerSavingState>${OSPowerSavingState}</h:OSPowerSavingState><h:ManagedElement><Address xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://schemas.xmlsoap.org/ws/2004/08/addressing</Address><ReferenceParameters xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"><ResourceURI xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem</ResourceURI><SelectorSet xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"><Selector Name="CreationClassName">CIM_ComputerSystem</Selector><Selector Name="Name">ManagedSystem</Selector></SelectorSet></ReferenceParameters></h:ManagedElement></h:RequestOSPowerSavingStateChange_INPUT></Body>`;
193
+ return this.wsmanMessageCreator.createXml(header, body);
194
+ };
195
+ }
196
+ }
197
+ class Messages {
198
+ constructor() {
199
+ this.resourceUriBase = 'http://intel.com/wbem/wscim/1/ips-schema/1/';
200
+ this.wsmanMessageCreator = new WSMan_1.WSManMessageCreator(this.resourceUriBase);
201
+ this.IEEE8021xCredentialContext = new IEEE8021xCredentialContext(this.wsmanMessageCreator);
202
+ this.AlarmClockOccurrence = new AlarmClockOccurrence(this.wsmanMessageCreator);
203
+ this.HostBasedSetupService = new HostBasedSetupService(this.wsmanMessageCreator);
204
+ this.IEEE8021xSettings = new IEEE8021xSettings(this.wsmanMessageCreator);
205
+ this.OptInService = new OptInService(this.wsmanMessageCreator);
206
+ this.PowerManagementService = new PowerManagementService(this.wsmanMessageCreator);
207
+ }
208
+ }
209
+ exports.Messages = Messages;
210
+ //# sourceMappingURL=messages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messages.js","sourceRoot":"","sources":["../../src/ips/messages.ts"],"names":[],"mappings":";AAAA;;;wEAGwE;;;AAIxE,oCAAoD;AAEpD,yBAA8C;AAE9C,MAAM,0BAA2B,SAAQ,YAAI;IAA7C;;QACE,cAAS,GAAG,UAAO,CAAC,4BAA4B,CAAA;IAClD,CAAC;CAAA;AACD,MAAM,oBAAqB,SAAQ,YAAI;IAAvC;;QACE,cAAS,GAAG,UAAO,CAAC,sBAAsB,CAAA;QAC1C;;;;WAIG;QACH,WAAM,GAAG,CAAC,QAAkB,EAAU,EAAE,CAAC,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAA;IACzE,CAAC;CAAA;AACD,MAAM,qBAAsB,SAAQ,YAAI;IAAxC;;QACE,cAAS,GAAG,UAAO,CAAC,wBAAwB,CAAA;QAC5C;;;;;;WAMG;QACH,uBAAkB,GAAG,CAAC,IAAY,EAAE,MAAe,EAAE,MAAe,EAAU,EAAE;YAC9E,MAAM,MAAM,GAAW,IAAI,CAAC,mBAAmB,CAAC,YAAY,CAC1D,UAAO,CAAC,sBAAsB,EAC9B,UAAO,CAAC,wBAAwB,CACjC,CAAA;YACD,MAAM,IAAI,GAAW,IAAI,CAAC,mBAAmB,CAAC,UAAU,CACtD,0BAA0B,EAC1B,UAAO,CAAC,wBAAwB,EAChC;gBACE;oBACE,eAAe,EAAE,IAAI;oBACrB,iBAAiB,EAAE,MAAM;oBACzB,iBAAiB,EAAE,MAAM;iBAC1B;aACF,CACF,CAAA;YACD,OAAO,IAAI,CAAC,mBAAmB,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;QACzD,CAAC,CAAA;QAED;;;;;;;;WAQG;QACH,eAAU,GAAG,CACX,uBAA4E,EAC5E,aAAqB,EACrB,OAAe,EACf,gBAA8D,EAC9D,gBAA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C5F,OAAO,IAAI,CAAC,mBAAmB,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;QACzD,CAAC,CAAA;IACH,CAAC;CAAA;AACD,MAAM,sBAAuB,SAAQ,YAAI;IAAzC;;QACE,cAAS,GAAG,UAAO,CAAC,wBAAwB,CAAA;QAC5C;;;;WAIG;QACH,oCAA+B,GAAG,CAAC,kBAAmE,EAAU,EAAE;YAChH,MAAM,MAAM,GAAW,IAAI,CAAC,mBAAmB,CAAC,YAAY,CAC1D,UAAO,CAAC,mCAAmC,EAC3C,UAAO,CAAC,wBAAwB,CACjC,CAAA;YAED,MAAM,IAAI,GAAG,wJAAwJ,kBAAkB,qqBAAqqB,CAAA;YAC51B,OAAO,IAAI,CAAC,mBAAmB,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;QACzD,CAAC,CAAA;IACH,CAAC;CAAA;AACD,MAAa,QAAQ;IAArB;QACW,oBAAe,GAAW,6CAA6C,CAAA;QAChF,wBAAmB,GAAwB,IAAI,2BAAmB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;QACjF,+BAA0B,GAAG,IAAI,0BAA0B,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAA;QACrF,yBAAoB,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAA;QACzE,0BAAqB,GAAG,IAAI,qBAAqB,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAA;QAC3E,sBAAiB,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAA;QACnE,iBAAY,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAA;QACzD,2BAAsB,GAAG,IAAI,sBAAsB,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAA;IACtF,CAAC;CAAA;AATD,4BASC"}
@@ -0,0 +1,5 @@
1
+ /*********************************************************************
2
+ * Copyright (c) Intel Corporation 2021
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ **********************************************************************/
5
+ export {};
@@ -0,0 +1,206 @@
1
+ "use strict";
2
+ /*********************************************************************
3
+ * Copyright (c) Intel Corporation 2021
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ **********************************************************************/
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ const _1 = require("./");
8
+ describe('IPS Tests', () => {
9
+ let messageId;
10
+ let ipsClass;
11
+ beforeEach(() => {
12
+ messageId = 0;
13
+ ipsClass = new _1.Messages();
14
+ });
15
+ const xmlHeader = '<?xml version="1.0" encoding="utf-8"?>';
16
+ const envelope = '<Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:w="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" xmlns="http://www.w3.org/2003/05/soap-envelope"><Header><a:Action>';
17
+ const adminPassEncryptionType = 2;
18
+ const adminPassword = 'bebb3497d69b544c732651365cc3462d';
19
+ const mcNonce = 'ZxxE0cFy590zDBIR39q6QU6iuII=';
20
+ const signingAlgorithm = 2;
21
+ const digitalSignature = 'T0NvoR7RUkOpVULIcNL0VhpEK5rO3j5/TBpN82q1YgPM5sRBxqymu7fKBgAGGN49oD8xsqW4X0SWxjuB3q/TLHjNJJNxoHHlXZnb77HTwfXHp59E/TM10UvOX96qEgKU5Mp+8/IE9LnYxC1ajQostSRA/X+HA5F6kRctLiCK+ViWUCk4sAtPzHhhHSTB/98KDWuacPepScSpref532hpD2/g43nD3Wg0SjmOMExPLMMnijWE9KDkxE00+Bos28DD3Yclj4BMhkoXDw6k4EcTWKbGhtF/9meXXmSPwRmXEaWe8COIDrQks1mpyLblYu8yHHnUjhssdcCQHtAOu7t0RA==';
22
+ const enumerationContext = 'AC070000-0000-0000-0000-000000000000';
23
+ const operationTimeout = 'PT60S';
24
+ describe('ips_IEEE8021xCredentialContext Tests', () => {
25
+ it('should return a valid ips_IEEE8021xCredentialContext Get wsman message', () => {
26
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_8021xCredentialContext</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body></Body></Envelope>`;
27
+ const response = ipsClass.IEEE8021xCredentialContext.Get();
28
+ expect(response).toEqual(correctResponse);
29
+ });
30
+ it('should return a valid ips_IEEE8021xSettings Pull wsman message', () => {
31
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_8021xCredentialContext</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><Pull xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration"><EnumerationContext>${enumerationContext}</EnumerationContext><MaxElements>999</MaxElements><MaxCharacters>99999</MaxCharacters></Pull></Body></Envelope>`;
32
+ const response = ipsClass.IEEE8021xCredentialContext.Pull(enumerationContext);
33
+ expect(response).toEqual(correctResponse);
34
+ });
35
+ it('should return a valid ips_IEEE8021xSettings Enumerate wsman message', () => {
36
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_8021xCredentialContext</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><Enumerate xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration" /></Body></Envelope>`;
37
+ const response = ipsClass.IEEE8021xCredentialContext.Enumerate();
38
+ expect(response).toEqual(correctResponse);
39
+ });
40
+ });
41
+ describe('ips_AlarmClockOccurrence Tests', () => {
42
+ const selector = {
43
+ name: 'Name',
44
+ value: 'Instance'
45
+ };
46
+ it('should return a valid ips_AlarmClockOccurrence Get wsman message', () => {
47
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_AlarmClockOccurrence</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body></Body></Envelope>`;
48
+ const response = ipsClass.AlarmClockOccurrence.Get();
49
+ expect(response).toEqual(correctResponse);
50
+ });
51
+ it('should return a valid ips_AlarmClockOccurrence Pull wsman message', () => {
52
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_AlarmClockOccurrence</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><Pull xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration"><EnumerationContext>${enumerationContext}</EnumerationContext><MaxElements>999</MaxElements><MaxCharacters>99999</MaxCharacters></Pull></Body></Envelope>`;
53
+ const response = ipsClass.AlarmClockOccurrence.Pull(enumerationContext);
54
+ expect(response).toEqual(correctResponse);
55
+ });
56
+ it('should return a valid ips_AlarmClockOccurrence Enumerate wsman message', () => {
57
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_AlarmClockOccurrence</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><Enumerate xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration" /></Body></Envelope>`;
58
+ const response = ipsClass.AlarmClockOccurrence.Enumerate();
59
+ expect(response).toEqual(correctResponse);
60
+ });
61
+ it('should create a valid ips_AlarmClockOccurrence Delete wsman message', () => {
62
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/transfer/Delete</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_AlarmClockOccurrence</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout><w:SelectorSet><w:Selector Name="Name">Instance</w:Selector></w:SelectorSet></Header><Body></Body></Envelope>`;
63
+ const response = ipsClass.AlarmClockOccurrence.Delete(selector);
64
+ expect(response).toEqual(correctResponse);
65
+ });
66
+ it('should create a valid ips_AlarmClockOccurrence Pull wsman message', () => {
67
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_AlarmClockOccurrence</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><Pull xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration"><EnumerationContext>${enumerationContext}</EnumerationContext><MaxElements>999</MaxElements><MaxCharacters>99999</MaxCharacters></Pull></Body></Envelope>`;
68
+ const response = ipsClass.AlarmClockOccurrence.Pull(enumerationContext);
69
+ expect(response).toEqual(correctResponse);
70
+ });
71
+ it('should create a valid ips_AlarmClockOccurrence Enumerate wsman message', () => {
72
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_AlarmClockOccurrence</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><Enumerate xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration" /></Body></Envelope>`;
73
+ const response = ipsClass.AlarmClockOccurrence.Enumerate();
74
+ expect(response).toEqual(correctResponse);
75
+ });
76
+ });
77
+ describe('ips_HostBasedSetupService Tests', () => {
78
+ it('should return a valid ips_HostBasedSetupService Get wsman message', () => {
79
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body></Body></Envelope>`;
80
+ const response = ipsClass.HostBasedSetupService.Get();
81
+ expect(response).toEqual(correctResponse);
82
+ });
83
+ it('should return a valid ips_HostBasedSetupService Pull wsman message', () => {
84
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><Pull xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration"><EnumerationContext>${enumerationContext}</EnumerationContext><MaxElements>999</MaxElements><MaxCharacters>99999</MaxCharacters></Pull></Body></Envelope>`;
85
+ const response = ipsClass.HostBasedSetupService.Pull(enumerationContext);
86
+ expect(response).toEqual(correctResponse);
87
+ });
88
+ it('should return a valid ips_HostBasedSetupService Enumerate wsman message', () => {
89
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><Enumerate xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration" /></Body></Envelope>`;
90
+ const response = ipsClass.HostBasedSetupService.Enumerate();
91
+ expect(response).toEqual(correctResponse);
92
+ });
93
+ it('should return a valid ips_HostBasedSetupService Setup wsman message', () => {
94
+ const correctResponse = `${xmlHeader}${envelope}http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService/Setup</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><h:Setup_INPUT xmlns:h="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService"><h:NetAdminPassEncryptionType>2</h:NetAdminPassEncryptionType><h:NetworkAdminPassword>bebb3497d69b544c732651365cc3462d</h:NetworkAdminPassword></h:Setup_INPUT></Body></Envelope>`;
95
+ const response = ipsClass.HostBasedSetupService.Setup(adminPassEncryptionType, adminPassword);
96
+ expect(response).toEqual(correctResponse);
97
+ });
98
+ it('should return a valid ips_HostBasedSetupService Upgrade Client To Admin wsman message', () => {
99
+ const correctResponse = `${xmlHeader}${envelope}http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService/UpgradeClientToAdmin</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><h:UpgradeClientToAdmin_INPUT xmlns:h="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService"><h:McNonce>ZxxE0cFy590zDBIR39q6QU6iuII=</h:McNonce><h:SigningAlgorithm>2</h:SigningAlgorithm><h:DigitalSignature>T0NvoR7RUkOpVULIcNL0VhpEK5rO3j5/TBpN82q1YgPM5sRBxqymu7fKBgAGGN49oD8xsqW4X0SWxjuB3q/TLHjNJJNxoHHlXZnb77HTwfXHp59E/TM10UvOX96qEgKU5Mp+8/IE9LnYxC1ajQostSRA/X+HA5F6kRctLiCK+ViWUCk4sAtPzHhhHSTB/98KDWuacPepScSpref532hpD2/g43nD3Wg0SjmOMExPLMMnijWE9KDkxE00+Bos28DD3Yclj4BMhkoXDw6k4EcTWKbGhtF/9meXXmSPwRmXEaWe8COIDrQks1mpyLblYu8yHHnUjhssdcCQHtAOu7t0RA==</h:DigitalSignature></h:UpgradeClientToAdmin_INPUT></Body></Envelope>`;
100
+ const response = ipsClass.HostBasedSetupService.UpgradeClientToAdmin(mcNonce, signingAlgorithm, digitalSignature);
101
+ expect(response).toEqual(correctResponse);
102
+ });
103
+ it('should return a valid ips_HostBasedSetupService Admin Setup wsman message', () => {
104
+ const correctResponse = `${xmlHeader}${envelope}http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService/AdminSetup</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><h:AdminSetup_INPUT xmlns:h="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService"><h:NetAdminPassEncryptionType>2</h:NetAdminPassEncryptionType><h:NetworkAdminPassword>bebb3497d69b544c732651365cc3462d</h:NetworkAdminPassword><h:McNonce>ZxxE0cFy590zDBIR39q6QU6iuII=</h:McNonce><h:SigningAlgorithm>2</h:SigningAlgorithm><h:DigitalSignature>T0NvoR7RUkOpVULIcNL0VhpEK5rO3j5/TBpN82q1YgPM5sRBxqymu7fKBgAGGN49oD8xsqW4X0SWxjuB3q/TLHjNJJNxoHHlXZnb77HTwfXHp59E/TM10UvOX96qEgKU5Mp+8/IE9LnYxC1ajQostSRA/X+HA5F6kRctLiCK+ViWUCk4sAtPzHhhHSTB/98KDWuacPepScSpref532hpD2/g43nD3Wg0SjmOMExPLMMnijWE9KDkxE00+Bos28DD3Yclj4BMhkoXDw6k4EcTWKbGhtF/9meXXmSPwRmXEaWe8COIDrQks1mpyLblYu8yHHnUjhssdcCQHtAOu7t0RA==</h:DigitalSignature></h:AdminSetup_INPUT></Body></Envelope>`;
105
+ const response = ipsClass.HostBasedSetupService.AdminSetup(adminPassEncryptionType, adminPassword, mcNonce, signingAlgorithm, digitalSignature);
106
+ expect(response).toEqual(correctResponse);
107
+ });
108
+ it('should return a valid ips_HostBasedSetupService Add Next Cert in Chain wsman message', () => {
109
+ const correctResponse = `${xmlHeader}${envelope}http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService/AddNextCertInChain</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><h:AddNextCertInChain_INPUT xmlns:h="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService"><h:NextCertificate>ExampleCertificate</h:NextCertificate><h:IsLeafCertificate>true</h:IsLeafCertificate><h:IsRootCertificate>false</h:IsRootCertificate></h:AddNextCertInChain_INPUT></Body></Envelope>`;
110
+ const response = ipsClass.HostBasedSetupService.AddNextCertInChain('ExampleCertificate', true, false);
111
+ expect(response).toEqual(correctResponse);
112
+ });
113
+ });
114
+ describe('ips_IEEE8021xSettings Tests', () => {
115
+ it('should return a valid ips_IEEE8021xSettings Get wsman message', () => {
116
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_IEEE8021xSettings</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body></Body></Envelope>`;
117
+ const response = ipsClass.IEEE8021xSettings.Get();
118
+ expect(response).toEqual(correctResponse);
119
+ });
120
+ it('should return a valid ips_IEEE8021xSettings Pull wsman message', () => {
121
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_IEEE8021xSettings</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><Pull xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration"><EnumerationContext>${enumerationContext}</EnumerationContext><MaxElements>999</MaxElements><MaxCharacters>99999</MaxCharacters></Pull></Body></Envelope>`;
122
+ const response = ipsClass.IEEE8021xSettings.Pull(enumerationContext);
123
+ expect(response).toEqual(correctResponse);
124
+ });
125
+ it('should return a valid ips_IEEE8021xSettings Enumerate wsman message', () => {
126
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_IEEE8021xSettings</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><Enumerate xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration" /></Body></Envelope>`;
127
+ const response = ipsClass.IEEE8021xSettings.Enumerate();
128
+ expect(response).toEqual(correctResponse);
129
+ });
130
+ it('should return a valid ips_IEEE8021xSettings Put wsman message', () => {
131
+ const ieee8021xSettings = {
132
+ ElementName: 'testElement',
133
+ Enabled: 2,
134
+ AuthenticationProtocol: 0,
135
+ RoamingIdentity: 'testdomain/testname'
136
+ };
137
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/transfer/Put</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_IEEE8021xSettings</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><h:IPS_IEEE8021xSettings xmlns:h="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_IEEE8021xSettings"><h:ElementName>testElement</h:ElementName><h:Enabled>2</h:Enabled><h:AuthenticationProtocol>0</h:AuthenticationProtocol><h:RoamingIdentity>testdomain/testname</h:RoamingIdentity></h:IPS_IEEE8021xSettings></Body></Envelope>`;
138
+ const response = ipsClass.IEEE8021xSettings.Put(ieee8021xSettings);
139
+ expect(response).toEqual(correctResponse);
140
+ });
141
+ it('should return a valid ips_IEEE8021xSettings SetCertificates wsman message', () => {
142
+ const X509Certificate = 'certificateblob';
143
+ const correctResponse = `${xmlHeader}${envelope}http://intel.com/wbem/wscim/1/ips-schema/1/IPS_IEEE8021xSettings/SetCertificates</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_IEEE8021xSettings</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><h:SetCertificates_INPUT xmlns:h="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_IEEE8021xSettings"><h:ServerCertificateIssuer>certificateblob</h:ServerCertificateIssuer><h:ClientCertificate>certificateblob</h:ClientCertificate></h:SetCertificates_INPUT></Body></Envelope>`;
144
+ const response = ipsClass.IEEE8021xSettings.SetCertificates(X509Certificate, X509Certificate);
145
+ expect(response).toEqual(correctResponse);
146
+ });
147
+ });
148
+ describe('ips_OptInService Tests', () => {
149
+ it('should create a valid ips_OptInService Get wsman message', () => {
150
+ const response = ipsClass.OptInService.Get();
151
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_OptInService</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body></Body></Envelope>`;
152
+ expect(response).toEqual(correctResponse);
153
+ });
154
+ it('should return a valid ips_OptInService Pull wsman message', () => {
155
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_OptInService</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><Pull xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration"><EnumerationContext>${enumerationContext}</EnumerationContext><MaxElements>999</MaxElements><MaxCharacters>99999</MaxCharacters></Pull></Body></Envelope>`;
156
+ const response = ipsClass.OptInService.Pull(enumerationContext);
157
+ expect(response).toEqual(correctResponse);
158
+ });
159
+ it('should return a valid ips_OptInService Enumerate wsman message', () => {
160
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_OptInService</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><Enumerate xmlns="http://schemas.xmlsoap.org/ws/2004/09/enumeration" /></Body></Envelope>`;
161
+ const response = ipsClass.OptInService.Enumerate();
162
+ expect(response).toEqual(correctResponse);
163
+ });
164
+ it('should create a valid ips_OptInService Put wsman message', () => {
165
+ const data = {
166
+ IPS_OptInService: {
167
+ OptInCodeTimeout: 300
168
+ }
169
+ };
170
+ const response = ipsClass.OptInService.Put(data);
171
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/transfer/Put</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_OptInService</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><h:IPS_OptInService xmlns:h="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_OptInService"><h:OptInCodeTimeout>300</h:OptInCodeTimeout></h:IPS_OptInService></Body></Envelope>`;
172
+ expect(response).toEqual(correctResponse);
173
+ });
174
+ it('should create a valid ips_OptInService Put wsman message with an empty body', () => {
175
+ const data = {};
176
+ const response = ipsClass.OptInService.Put(data);
177
+ const correctResponse = `${xmlHeader}${envelope}http://schemas.xmlsoap.org/ws/2004/09/transfer/Put</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_OptInService</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><h:IPS_OptInService xmlns:h="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_OptInService"></h:IPS_OptInService></Body></Envelope>`;
178
+ expect(response).toEqual(correctResponse);
179
+ });
180
+ it('should create a valid ips_StartOptIn wsman message', () => {
181
+ const response = ipsClass.OptInService.StartOptIn();
182
+ const correctResponse = `${xmlHeader}${envelope}http://intel.com/wbem/wscim/1/ips-schema/1/IPS_OptInService/StartOptIn</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_OptInService</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><h:StartOptIn_INPUT xmlns:h="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_OptInService"></h:StartOptIn_INPUT></Body></Envelope>`;
183
+ expect(response).toEqual(correctResponse);
184
+ });
185
+ it('should create a valid ips_SendOptInCode wsman message', () => {
186
+ const code = 1;
187
+ const response = ipsClass.OptInService.SendOptInCode(code);
188
+ const correctResponse = `${xmlHeader}${envelope}http://intel.com/wbem/wscim/1/ips-schema/1/IPS_OptInService/SendOptInCode</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_OptInService</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><h:SendOptInCode_INPUT xmlns:h="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_OptInService"><h:OptInCode>1</h:OptInCode></h:SendOptInCode_INPUT></Body></Envelope>`;
189
+ expect(response).toEqual(correctResponse);
190
+ });
191
+ it('should create a valid ips_CancelOptIn wsman message', () => {
192
+ const response = ipsClass.OptInService.CancelOptIn();
193
+ const correctResponse = `${xmlHeader}${envelope}http://intel.com/wbem/wscim/1/ips-schema/1/IPS_OptInService/CancelOptIn</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_OptInService</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><h:CancelOptIn_INPUT xmlns:h="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_OptInService"></h:CancelOptIn_INPUT></Body></Envelope>`;
194
+ expect(response).toEqual(correctResponse);
195
+ });
196
+ });
197
+ describe('ips_PowerManagementService Tests', () => {
198
+ it('should create a valid ips_PowerManagementService RequestOSPowerSavingStateChange wsman message', () => {
199
+ const OSPowerSavingState = 3; //OS power saving
200
+ const correctResponse = `${xmlHeader}${envelope}http://intel.com/wbem/wscim/1/ips-schema/1/IPS_PowerManagementService/RequestOSPowerSavingStateChange</a:Action><a:To>/wsman</a:To><w:ResourceURI>http://intel.com/wbem/wscim/1/ips-schema/1/IPS_PowerManagementService</w:ResourceURI><a:MessageID>${(messageId++).toString()}</a:MessageID><a:ReplyTo><a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address></a:ReplyTo><w:OperationTimeout>${operationTimeout}</w:OperationTimeout></Header><Body><h:RequestOSPowerSavingStateChange_INPUT xmlns:h="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_PowerManagementService"><h:OSPowerSavingState>${OSPowerSavingState}</h:OSPowerSavingState><h:ManagedElement><Address xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://schemas.xmlsoap.org/ws/2004/08/addressing</Address><ReferenceParameters xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"><ResourceURI xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem</ResourceURI><SelectorSet xmlns="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"><Selector Name="CreationClassName">CIM_ComputerSystem</Selector><Selector Name="Name">ManagedSystem</Selector></SelectorSet></ReferenceParameters></h:ManagedElement></h:RequestOSPowerSavingStateChange_INPUT></Body></Envelope>`;
201
+ const response = ipsClass.PowerManagementService.RequestOSPowerSavingStateChange(OSPowerSavingState);
202
+ expect(response).toEqual(correctResponse);
203
+ });
204
+ });
205
+ });
206
+ //# sourceMappingURL=messages.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messages.test.js","sourceRoot":"","sources":["../../src/ips/messages.test.ts"],"names":[],"mappings":";AAAA;;;wEAGwE;;AAIxE,yBAA6B;AAE7B,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;IACzB,IAAI,SAAiB,CAAA;IACrB,IAAI,QAAkB,CAAA;IACtB,UAAU,CAAC,GAAG,EAAE;QACd,SAAS,GAAG,CAAC,CAAA;QACb,QAAQ,GAAG,IAAI,WAAQ,EAAE,CAAA;IAC3B,CAAC,CAAC,CAAA;IACF,MAAM,SAAS,GAAG,wCAAwC,CAAA;IAC1D,MAAM,QAAQ,GACZ,qSAAqS,CAAA;IACvS,MAAM,uBAAuB,GAAG,CAAC,CAAA;IACjC,MAAM,aAAa,GAAG,kCAAkC,CAAA;IACxD,MAAM,OAAO,GAAG,8BAA8B,CAAA;IAC9C,MAAM,gBAAgB,GAAG,CAAC,CAAA;IAC1B,MAAM,gBAAgB,GACpB,0VAA0V,CAAA;IAC5V,MAAM,kBAAkB,GAAG,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