@juhuu/sdk-ts 1.2.295 → 1.2.297

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/dist/index.d.mts CHANGED
@@ -325,6 +325,23 @@ declare namespace Layout {
325
325
  urlLight: string;
326
326
  height: number;
327
327
  }
328
+ export namespace Input {
329
+ interface InputBlock extends Block {
330
+ title: LocaleString | null;
331
+ placeholder: LocaleString | null;
332
+ description: LocaleString | null;
333
+ variable: string | null;
334
+ }
335
+ export interface Text extends InputBlock {
336
+ type: "input.text";
337
+ validationRegex: string | null;
338
+ }
339
+ export interface Number extends InputBlock {
340
+ type: "input.number";
341
+ validationRegex: string | null;
342
+ }
343
+ export { };
344
+ }
328
345
  export namespace Button {
329
346
  interface General extends Block {
330
347
  text: LocaleString;
@@ -385,7 +402,7 @@ declare namespace Layout {
385
402
  }
386
403
  export { };
387
404
  }
388
- type LayoutBlock = Layout.Text.Plain | Layout.Text.Heading | Layout.Text.Subtitle | Layout.Image | Layout.Button.Small | Layout.Button.Large | Layout.Form.General;
405
+ type LayoutBlock = Layout.Text.Plain | Layout.Text.Heading | Layout.Text.Subtitle | Layout.Image | Layout.Input.Text | Layout.Input.Number | Layout.Button.Small | Layout.Button.Large | Layout.Form.General;
389
406
  type GraphNode = {
390
407
  id: string;
391
408
  type: "flow.start";
@@ -5640,7 +5657,7 @@ declare namespace JUHUU {
5640
5657
  }
5641
5658
  namespace List {
5642
5659
  type Params = {
5643
- propertyId: string;
5660
+ propertyId?: string;
5644
5661
  userId?: string;
5645
5662
  };
5646
5663
  type Options = {
package/dist/index.d.ts CHANGED
@@ -325,6 +325,23 @@ declare namespace Layout {
325
325
  urlLight: string;
326
326
  height: number;
327
327
  }
328
+ export namespace Input {
329
+ interface InputBlock extends Block {
330
+ title: LocaleString | null;
331
+ placeholder: LocaleString | null;
332
+ description: LocaleString | null;
333
+ variable: string | null;
334
+ }
335
+ export interface Text extends InputBlock {
336
+ type: "input.text";
337
+ validationRegex: string | null;
338
+ }
339
+ export interface Number extends InputBlock {
340
+ type: "input.number";
341
+ validationRegex: string | null;
342
+ }
343
+ export { };
344
+ }
328
345
  export namespace Button {
329
346
  interface General extends Block {
330
347
  text: LocaleString;
@@ -385,7 +402,7 @@ declare namespace Layout {
385
402
  }
386
403
  export { };
387
404
  }
388
- type LayoutBlock = Layout.Text.Plain | Layout.Text.Heading | Layout.Text.Subtitle | Layout.Image | Layout.Button.Small | Layout.Button.Large | Layout.Form.General;
405
+ type LayoutBlock = Layout.Text.Plain | Layout.Text.Heading | Layout.Text.Subtitle | Layout.Image | Layout.Input.Text | Layout.Input.Number | Layout.Button.Small | Layout.Button.Large | Layout.Form.General;
389
406
  type GraphNode = {
390
407
  id: string;
391
408
  type: "flow.start";
@@ -5640,7 +5657,7 @@ declare namespace JUHUU {
5640
5657
  }
5641
5658
  namespace List {
5642
5659
  type Params = {
5643
- propertyId: string;
5660
+ propertyId?: string;
5644
5661
  userId?: string;
5645
5662
  };
5646
5663
  type Options = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.295",
3
+ "version": "1.2.297",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",