@botpress/client 0.31.0 → 0.32.0

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.ts CHANGED
@@ -7516,6 +7516,13 @@ interface CreateInterfaceRequestBody {
7516
7516
  };
7517
7517
  };
7518
7518
  };
7519
+ /**
7520
+ * Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.
7521
+ */
7522
+ nameTemplate?: {
7523
+ script: string;
7524
+ language: string;
7525
+ };
7519
7526
  }
7520
7527
  type CreateInterfaceInput = CreateInterfaceRequestBody & CreateInterfaceRequestHeaders & CreateInterfaceRequestQuery & CreateInterfaceRequestParams;
7521
7528
  interface CreateInterfaceResponse {
@@ -7603,6 +7610,13 @@ interface CreateInterfaceResponse {
7603
7610
  };
7604
7611
  };
7605
7612
  };
7613
+ /**
7614
+ * Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.
7615
+ */
7616
+ nameTemplate?: {
7617
+ script: string;
7618
+ language: string;
7619
+ };
7606
7620
  };
7607
7621
  }
7608
7622
 
@@ -7701,6 +7715,13 @@ interface GetInterfaceResponse {
7701
7715
  };
7702
7716
  };
7703
7717
  };
7718
+ /**
7719
+ * Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.
7720
+ */
7721
+ nameTemplate?: {
7722
+ script: string;
7723
+ language: string;
7724
+ };
7704
7725
  };
7705
7726
  }
7706
7727
 
@@ -7800,6 +7821,13 @@ interface GetInterfaceByNameResponse {
7800
7821
  };
7801
7822
  };
7802
7823
  };
7824
+ /**
7825
+ * Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.
7826
+ */
7827
+ nameTemplate?: {
7828
+ script: string;
7829
+ language: string;
7830
+ };
7803
7831
  };
7804
7832
  }
7805
7833
 
@@ -7874,6 +7902,13 @@ interface UpdateInterfaceRequestBody {
7874
7902
  };
7875
7903
  } | null;
7876
7904
  };
7905
+ /**
7906
+ * Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.
7907
+ */
7908
+ nameTemplate?: {
7909
+ script: string;
7910
+ language: string;
7911
+ } | null;
7877
7912
  }
7878
7913
  type UpdateInterfaceInput = UpdateInterfaceRequestBody & UpdateInterfaceRequestHeaders & UpdateInterfaceRequestQuery & UpdateInterfaceRequestParams;
7879
7914
  interface UpdateInterfaceResponse {
@@ -7961,6 +7996,13 @@ interface UpdateInterfaceResponse {
7961
7996
  };
7962
7997
  };
7963
7998
  };
7999
+ /**
8000
+ * Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.
8001
+ */
8002
+ nameTemplate?: {
8003
+ script: string;
8004
+ language: string;
8005
+ };
7964
8006
  };
7965
8007
  }
7966
8008
 
@@ -8328,9 +8370,11 @@ interface ListFilesRequestHeaders {
8328
8370
  }
8329
8371
  interface ListFilesRequestQuery {
8330
8372
  nextToken?: string;
8331
- tags?: {
8332
- [k: string]: string;
8333
- };
8373
+ tags?: any;
8374
+ /**
8375
+ * @maxItems 50
8376
+ */
8377
+ ids?: string[];
8334
8378
  }
8335
8379
  interface ListFilesRequestParams {
8336
8380
  }
@@ -8593,9 +8637,7 @@ interface UpdateFileMetadataResponse {
8593
8637
  interface SearchFilesRequestHeaders {
8594
8638
  }
8595
8639
  interface SearchFilesRequestQuery {
8596
- tags?: {
8597
- [k: string]: string;
8598
- };
8640
+ tags?: any;
8599
8641
  query: string;
8600
8642
  contextDepth?: number;
8601
8643
  limit?: number;
@@ -10956,6 +10998,13 @@ interface Interface {
10956
10998
  };
10957
10999
  };
10958
11000
  };
11001
+ /**
11002
+ * Template string optionaly used at build time by integrations implementing this interface to pick a name for actions and events.
11003
+ */
11004
+ nameTemplate?: {
11005
+ script: string;
11006
+ language: string;
11007
+ };
10959
11008
  }
10960
11009
  interface Workspace {
10961
11010
  id: string;