@integry/sdk 0.0.85 → 0.0.86

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.
@@ -1,8 +1,8 @@
1
1
  type IntegrySDKEvents = {
2
- "should-load-template": ({ templateId }: {
2
+ "should-load-flow": ({ templateId }: {
3
3
  templateId: number;
4
4
  }) => void;
5
- "did-load-template": (data: {
5
+ "did-load-flow": (data: {
6
6
  templateId: number;
7
7
  templateTitle: string;
8
8
  templateDescription: string;
@@ -231,7 +231,7 @@ declare class IntegryJS {
231
231
  * @param length Length of string to randomly generate
232
232
  * @returns {string} Returns a random string
233
233
  */
234
- private getRandomTemplateId;
234
+ private getRandomFlowId;
235
235
  private getAuthParamsFromUrl;
236
236
  /**
237
237
  * Prints version number of this SDK version
@@ -243,12 +243,15 @@ declare class IntegryJS {
243
243
  * @param templateContainerId
244
244
  * @returns {HTMLElement | null}
245
245
  */
246
- private setupTemplateFormDestination;
246
+ private setupFlowFormDestination;
247
247
  /**
248
248
  * Render the template form we ship
249
- * @param templateId
249
+ * @param data
250
250
  */
251
- renderTemplateForm: (templateId: string, templateContainerId: string) => void;
251
+ renderFlowSetupForm: (data: {
252
+ flowId?: string;
253
+ flowContainerId: string;
254
+ }) => void;
252
255
  /**
253
256
  * Render the template form we ship
254
257
  * @param templateId