@elliemae/pui-scripting-object 1.10.0 → 1.10.1
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.
|
@@ -31,6 +31,8 @@ declare type ServiceSetup = {
|
|
|
31
31
|
declare type OpenOptions = {
|
|
32
32
|
/**
|
|
33
33
|
* context of the application that is opening the service order integration
|
|
34
|
+
* urn patterned string
|
|
35
|
+
* example: urn:elli:services:getpricing
|
|
34
36
|
*/
|
|
35
37
|
target: string;
|
|
36
38
|
};
|
|
@@ -47,12 +49,12 @@ export interface IService {
|
|
|
47
49
|
*/
|
|
48
50
|
getEligibleServices: (category: ServiceSetupCategory, providerId?: string) => Promise<Array<ServiceSetup>>;
|
|
49
51
|
/**
|
|
50
|
-
* open service intergration to place an order
|
|
52
|
+
* open default or specific service intergration to place an order
|
|
51
53
|
*
|
|
52
54
|
* @param serviceSetupId - id of the service setup
|
|
53
55
|
* @param options - options for opening the service integration
|
|
54
56
|
* @throws Error if the service setup is not found or user is not authorized to open the integration
|
|
55
57
|
*/
|
|
56
|
-
|
|
58
|
+
createOrder: (serviceSetupId: string, options: OpenOptions) => Promise<void>;
|
|
57
59
|
}
|
|
58
60
|
export {};
|