@elliemae/pui-scripting-object 1.34.2 → 1.34.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.
@@ -41,8 +41,10 @@ export type LaunchCategoryOptions = {
41
41
  */
42
42
  source: string;
43
43
  /**
44
- * url to redirect to after the service order integration flow is complete
44
+ * url to redirect to after the service order integration flow is complete.
45
+ *
45
46
  * url should be relative to the current loan context.
47
+ *
46
48
  * For example to redirect to service landing page that has absolute url as https://encompass.ice.com/pipeline/loan/d4ef4c0a-5456-4e72-bf94-269eb2ccde18/services, the redirect url should be services
47
49
  */
48
50
  redirectUrl: string;
@@ -74,8 +76,10 @@ export type LaunchServiceSetupOptions = {
74
76
  */
75
77
  source: string;
76
78
  /**
77
- * url to redirect to after the service order integration flow is complete
79
+ * url to redirect to after the service order integration flow is complete.
80
+ *
78
81
  * url should be relative to the current loan context.
82
+ *
79
83
  * For example to redirect to service landing page that has absolute url as https://encompass.ice.com/pipeline/loan/d4ef4c0a-5456-4e72-bf94-269eb2ccde18/services, the redirect url should be services
80
84
  */
81
85
  redirectUrl: string;
@@ -119,8 +123,10 @@ export type LaunchProviderOptions = {
119
123
  */
120
124
  source: string;
121
125
  /**
122
- * url to redirect to after the service order integration flow is complete
126
+ * url to redirect to after the service order integration flow is complete.
127
+ *
123
128
  * url should be relative to the current loan context.
129
+ *
124
130
  * For example to redirect to service landing page that has absolute url as https://encompass.ice.com/pipeline/loan/d4ef4c0a-5456-4e72-bf94-269eb2ccde18/services, the redirect url should be services
125
131
  */
126
132
  redirectUrl: string;
@@ -157,7 +163,7 @@ export type LaunchProviderOptions = {
157
163
  * #### Product Compatibility:
158
164
  * | | Encompass | Encompass Web | TPO | Consumer Connect |
159
165
  * :-----:|:-----: |:-----: |:-----: |:-----: |
160
- * | all | ✖️ | ✖️ | ✖️ | ✖️ |
166
+ * | all | ✖️ | | ✖️ | ✖️ |
161
167
  */
162
168
  export interface IService extends IScriptingObject {
163
169
  /**
@@ -169,14 +175,20 @@ export interface IService extends IScriptingObject {
169
175
  * #### Product Compatibility:
170
176
  * | | Encompass | Encompass Web | TPO | Consumer Connect |
171
177
  * :-----:|:-----: |:-----: |:-----: |:-----: |
172
- * | all | ✖️ | ✖️ | ✖️ | ✖️ |
178
+ * | all | ✖️ | | ✖️ | ✖️ |
173
179
  */
174
180
  getEligibleServices: (category: ServiceSetupCategory, providerId?: string) => Promise<Array<ServiceSetup>>;
175
181
  /**
176
- * launch a service intergration for a specific category to place a new service order or view existing order
182
+ * Launch a service intergration for a specific category to place a new service order or view existing order.
183
+ *
184
+ * Commit all unsaved loan changes using loan.commit, before calling this method.
185
+ *
177
186
  * This method will unload the current microapp and navigate to the service order integration
178
- * after the integration flow is complete, user will be redirected back to the url provided in the options.
179
- * redirect url will be appended with query parameters containing the service order transaction id and service order id incase of new order
187
+ *
188
+ * After the integration flow is complete, user will be redirected back to the url provided in the options.
189
+ *
190
+ * Service order transaction id and service order id will be appended as query parameters to the redirect url incase of new order
191
+ *
180
192
  * Supports EPC & EVP service order integrations
181
193
  * @param category - name of the service category
182
194
  * @param {LaunchCategoryOptions} options - options for launching the service order integration
@@ -185,14 +197,20 @@ export interface IService extends IScriptingObject {
185
197
  * #### Product Compatibility:
186
198
  * | | Encompass | Encompass Web | TPO | Consumer Connect |
187
199
  * :-----:|:-----: |:-----: |:-----: |:-----: |
188
- * | all | ✖️ | ✖️ | ✖️ | ✖️ |
200
+ * | all | ✖️ | | ✖️ | ✖️ |
189
201
  */
190
202
  launchByCategory: (category: string, options: LaunchCategoryOptions) => Promise<void>;
191
203
  /**
192
- * launch a service intergration for a specific service setup to place a new service order or view existing order
193
- * This method will unload the current microapp and navigate to the service order integration
194
- * after the integration flow is complete, user will be redirected back to the url provided in the options.
195
- * redirect url will be appended with query parameters containing the service order transaction id and service order id incase of new order
204
+ * Launch a service intergration for a specific service setup to place a new service order or view existing order.
205
+ *
206
+ * Commit all unsaved loan changes using loan.commit, before calling this method.
207
+ *
208
+ * This method will unload the current microapp and navigate to the service order integration.
209
+ *
210
+ * After the integration flow is complete, user will be redirected back to the url provided in the options.
211
+ *
212
+ * Service order transaction id and service order id will be appended as query parameters to the redirect url incase of new order
213
+ *
196
214
  * Supports EPC & EVP service order integrations
197
215
  * @param serviceSetupId - unique id of the service setup
198
216
  * @param {LaunchServiceSetupOptions} options - options for launching the service order integration
@@ -201,14 +219,20 @@ export interface IService extends IScriptingObject {
201
219
  * #### Product Compatibility:
202
220
  * | | Encompass | Encompass Web | TPO | Consumer Connect |
203
221
  * :-----:|:-----: |:-----: |:-----: |:-----: |
204
- * | all | ✖️ | ✖️ | ✖️ | ✖️ |
222
+ * | all | ✖️ | | ✖️ | ✖️ |
205
223
  */
206
224
  launchByServiceSetup: (serviceSetupId: string, options: LaunchServiceSetupOptions) => Promise<void>;
207
225
  /**
208
- * launch a service intergration for a specific provider to place a new service order or view existing order
226
+ * Launch a service intergration for a specific provider to place a new service order or view existing order
227
+ *
228
+ * Commit all unsaved loan changes using loan.commit, before calling this method.
229
+ *
209
230
  * This method will unload the current microapp and navigate to the service order integration
210
- * after the integration flow is complete, user will be redirected back to the url provided in the options.
211
- * redirect url will be appended with query parameters containing the service order transaction id and service order id incase of new order
231
+ *
232
+ * After the integration flow is complete, user will be redirected back to the url provided in the options.
233
+ *
234
+ * Service order transaction id and service order id will be appended as query parameters to the redirect url incase of new order
235
+ *
212
236
  * Supports EPC & EVP service order integrations
213
237
  * @param providerId - unique id of the service provider
214
238
  * @param {LaunchProviderOptions} options - options for launching the service order integration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-scripting-object",
3
- "version": "1.34.2",
3
+ "version": "1.34.4",
4
4
  "description": "Typescript defintions for Scripting Objects",
5
5
  "sideEffects": false,
6
6
  "type": "module",