@runtypelabs/sdk 4.8.0 → 4.8.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.
package/dist/index.d.cts CHANGED
@@ -10674,6 +10674,83 @@ interface paths {
10674
10674
  patch?: never;
10675
10675
  trace?: never;
10676
10676
  };
10677
+ "/v1/integrations/connections": {
10678
+ parameters: {
10679
+ query?: never;
10680
+ header?: never;
10681
+ path?: never;
10682
+ cookie?: never;
10683
+ };
10684
+ /**
10685
+ * List connected integration accounts
10686
+ * @description List the caller's connected integration accounts (with their integration IDs) for a provider. Use the integration ID to pin a tool instance to a specific connection, e.g. a Granola tool's toolConfigs integrationId.
10687
+ */
10688
+ get: {
10689
+ parameters: {
10690
+ query: {
10691
+ /** @description Integration provider, e.g. granola or slack. */
10692
+ provider: string;
10693
+ };
10694
+ header?: never;
10695
+ path?: never;
10696
+ cookie?: never;
10697
+ };
10698
+ requestBody?: never;
10699
+ responses: {
10700
+ /** @description Connected accounts for the provider */
10701
+ 200: {
10702
+ headers: {
10703
+ [name: string]: unknown;
10704
+ };
10705
+ content: {
10706
+ "application/json": {
10707
+ connections: {
10708
+ accountName: string;
10709
+ createdAt: string;
10710
+ integrationId: string;
10711
+ provider: string;
10712
+ status: string;
10713
+ }[];
10714
+ };
10715
+ };
10716
+ };
10717
+ /** @description Unauthorized */
10718
+ 401: {
10719
+ headers: {
10720
+ [name: string]: unknown;
10721
+ };
10722
+ content: {
10723
+ "application/json": components["schemas"]["Error"];
10724
+ };
10725
+ };
10726
+ /** @description Insufficient permissions */
10727
+ 403: {
10728
+ headers: {
10729
+ [name: string]: unknown;
10730
+ };
10731
+ content: {
10732
+ "application/json": components["schemas"]["Error"];
10733
+ };
10734
+ };
10735
+ /** @description Internal server error */
10736
+ 500: {
10737
+ headers: {
10738
+ [name: string]: unknown;
10739
+ };
10740
+ content: {
10741
+ "application/json": components["schemas"]["Error"];
10742
+ };
10743
+ };
10744
+ };
10745
+ };
10746
+ put?: never;
10747
+ post?: never;
10748
+ delete?: never;
10749
+ options?: never;
10750
+ head?: never;
10751
+ patch?: never;
10752
+ trace?: never;
10753
+ };
10677
10754
  "/v1/integrations/credentials-status": {
10678
10755
  parameters: {
10679
10756
  query?: never;
@@ -10757,6 +10834,100 @@ interface paths {
10757
10834
  patch?: never;
10758
10835
  trace?: never;
10759
10836
  };
10837
+ "/v1/integrations/granola/install": {
10838
+ parameters: {
10839
+ query?: never;
10840
+ header?: never;
10841
+ path?: never;
10842
+ cookie?: never;
10843
+ };
10844
+ get?: never;
10845
+ put?: never;
10846
+ /**
10847
+ * Install Granola integration
10848
+ * @description Install or upsert a Granola integration for the authenticated owner. Verifies the pasted API key against the Granola public API before storing it in the secret store. Re-pasting the same key updates the existing connection.
10849
+ */
10850
+ post: {
10851
+ parameters: {
10852
+ query?: never;
10853
+ header?: never;
10854
+ path?: never;
10855
+ cookie?: never;
10856
+ };
10857
+ requestBody?: {
10858
+ content: {
10859
+ "application/json": {
10860
+ apiKey: string;
10861
+ displayName?: string;
10862
+ };
10863
+ };
10864
+ };
10865
+ responses: {
10866
+ /** @description Granola integration installed */
10867
+ 200: {
10868
+ headers: {
10869
+ [name: string]: unknown;
10870
+ };
10871
+ content: {
10872
+ "application/json": {
10873
+ created: boolean;
10874
+ integrationId: string;
10875
+ };
10876
+ };
10877
+ };
10878
+ /** @description Unauthorized */
10879
+ 401: {
10880
+ headers: {
10881
+ [name: string]: unknown;
10882
+ };
10883
+ content: {
10884
+ "application/json": components["schemas"]["Error"];
10885
+ };
10886
+ };
10887
+ /** @description Insufficient permissions */
10888
+ 403: {
10889
+ headers: {
10890
+ [name: string]: unknown;
10891
+ };
10892
+ content: {
10893
+ "application/json": components["schemas"]["Error"];
10894
+ };
10895
+ };
10896
+ /** @description Granola rejected the API key (invalid key or plan does not include API access) */
10897
+ 422: {
10898
+ headers: {
10899
+ [name: string]: unknown;
10900
+ };
10901
+ content: {
10902
+ "application/json": components["schemas"]["Error"];
10903
+ };
10904
+ };
10905
+ /** @description Internal server error */
10906
+ 500: {
10907
+ headers: {
10908
+ [name: string]: unknown;
10909
+ };
10910
+ content: {
10911
+ "application/json": components["schemas"]["Error"];
10912
+ };
10913
+ };
10914
+ /** @description Granola API unreachable during key verification */
10915
+ 502: {
10916
+ headers: {
10917
+ [name: string]: unknown;
10918
+ };
10919
+ content: {
10920
+ "application/json": components["schemas"]["Error"];
10921
+ };
10922
+ };
10923
+ };
10924
+ };
10925
+ delete?: never;
10926
+ options?: never;
10927
+ head?: never;
10928
+ patch?: never;
10929
+ trace?: never;
10930
+ };
10760
10931
  "/v1/integrations/slack/install": {
10761
10932
  parameters: {
10762
10933
  query?: never;
@@ -14018,6 +14189,8 @@ interface paths {
14018
14189
  };
14019
14190
  content: {
14020
14191
  "application/json": {
14192
+ /** @description When the response was served from cache, the cache write time. Null for fresh responses. */
14193
+ cachedAt?: string | null;
14021
14194
  data: {
14022
14195
  byCategory: {
14023
14196
  [key: string]: number;
@@ -32011,7 +32184,9 @@ interface paths {
32011
32184
  dashboardUrl: string;
32012
32185
  email: string | null;
32013
32186
  features: {
32187
+ dashboardAssistantModel: string;
32014
32188
  enableAgentSkills: boolean;
32189
+ enableDashboardAssistant: boolean;
32015
32190
  productGeneratorModel: string;
32016
32191
  };
32017
32192
  id: string;
package/dist/index.d.ts CHANGED
@@ -10674,6 +10674,83 @@ interface paths {
10674
10674
  patch?: never;
10675
10675
  trace?: never;
10676
10676
  };
10677
+ "/v1/integrations/connections": {
10678
+ parameters: {
10679
+ query?: never;
10680
+ header?: never;
10681
+ path?: never;
10682
+ cookie?: never;
10683
+ };
10684
+ /**
10685
+ * List connected integration accounts
10686
+ * @description List the caller's connected integration accounts (with their integration IDs) for a provider. Use the integration ID to pin a tool instance to a specific connection, e.g. a Granola tool's toolConfigs integrationId.
10687
+ */
10688
+ get: {
10689
+ parameters: {
10690
+ query: {
10691
+ /** @description Integration provider, e.g. granola or slack. */
10692
+ provider: string;
10693
+ };
10694
+ header?: never;
10695
+ path?: never;
10696
+ cookie?: never;
10697
+ };
10698
+ requestBody?: never;
10699
+ responses: {
10700
+ /** @description Connected accounts for the provider */
10701
+ 200: {
10702
+ headers: {
10703
+ [name: string]: unknown;
10704
+ };
10705
+ content: {
10706
+ "application/json": {
10707
+ connections: {
10708
+ accountName: string;
10709
+ createdAt: string;
10710
+ integrationId: string;
10711
+ provider: string;
10712
+ status: string;
10713
+ }[];
10714
+ };
10715
+ };
10716
+ };
10717
+ /** @description Unauthorized */
10718
+ 401: {
10719
+ headers: {
10720
+ [name: string]: unknown;
10721
+ };
10722
+ content: {
10723
+ "application/json": components["schemas"]["Error"];
10724
+ };
10725
+ };
10726
+ /** @description Insufficient permissions */
10727
+ 403: {
10728
+ headers: {
10729
+ [name: string]: unknown;
10730
+ };
10731
+ content: {
10732
+ "application/json": components["schemas"]["Error"];
10733
+ };
10734
+ };
10735
+ /** @description Internal server error */
10736
+ 500: {
10737
+ headers: {
10738
+ [name: string]: unknown;
10739
+ };
10740
+ content: {
10741
+ "application/json": components["schemas"]["Error"];
10742
+ };
10743
+ };
10744
+ };
10745
+ };
10746
+ put?: never;
10747
+ post?: never;
10748
+ delete?: never;
10749
+ options?: never;
10750
+ head?: never;
10751
+ patch?: never;
10752
+ trace?: never;
10753
+ };
10677
10754
  "/v1/integrations/credentials-status": {
10678
10755
  parameters: {
10679
10756
  query?: never;
@@ -10757,6 +10834,100 @@ interface paths {
10757
10834
  patch?: never;
10758
10835
  trace?: never;
10759
10836
  };
10837
+ "/v1/integrations/granola/install": {
10838
+ parameters: {
10839
+ query?: never;
10840
+ header?: never;
10841
+ path?: never;
10842
+ cookie?: never;
10843
+ };
10844
+ get?: never;
10845
+ put?: never;
10846
+ /**
10847
+ * Install Granola integration
10848
+ * @description Install or upsert a Granola integration for the authenticated owner. Verifies the pasted API key against the Granola public API before storing it in the secret store. Re-pasting the same key updates the existing connection.
10849
+ */
10850
+ post: {
10851
+ parameters: {
10852
+ query?: never;
10853
+ header?: never;
10854
+ path?: never;
10855
+ cookie?: never;
10856
+ };
10857
+ requestBody?: {
10858
+ content: {
10859
+ "application/json": {
10860
+ apiKey: string;
10861
+ displayName?: string;
10862
+ };
10863
+ };
10864
+ };
10865
+ responses: {
10866
+ /** @description Granola integration installed */
10867
+ 200: {
10868
+ headers: {
10869
+ [name: string]: unknown;
10870
+ };
10871
+ content: {
10872
+ "application/json": {
10873
+ created: boolean;
10874
+ integrationId: string;
10875
+ };
10876
+ };
10877
+ };
10878
+ /** @description Unauthorized */
10879
+ 401: {
10880
+ headers: {
10881
+ [name: string]: unknown;
10882
+ };
10883
+ content: {
10884
+ "application/json": components["schemas"]["Error"];
10885
+ };
10886
+ };
10887
+ /** @description Insufficient permissions */
10888
+ 403: {
10889
+ headers: {
10890
+ [name: string]: unknown;
10891
+ };
10892
+ content: {
10893
+ "application/json": components["schemas"]["Error"];
10894
+ };
10895
+ };
10896
+ /** @description Granola rejected the API key (invalid key or plan does not include API access) */
10897
+ 422: {
10898
+ headers: {
10899
+ [name: string]: unknown;
10900
+ };
10901
+ content: {
10902
+ "application/json": components["schemas"]["Error"];
10903
+ };
10904
+ };
10905
+ /** @description Internal server error */
10906
+ 500: {
10907
+ headers: {
10908
+ [name: string]: unknown;
10909
+ };
10910
+ content: {
10911
+ "application/json": components["schemas"]["Error"];
10912
+ };
10913
+ };
10914
+ /** @description Granola API unreachable during key verification */
10915
+ 502: {
10916
+ headers: {
10917
+ [name: string]: unknown;
10918
+ };
10919
+ content: {
10920
+ "application/json": components["schemas"]["Error"];
10921
+ };
10922
+ };
10923
+ };
10924
+ };
10925
+ delete?: never;
10926
+ options?: never;
10927
+ head?: never;
10928
+ patch?: never;
10929
+ trace?: never;
10930
+ };
10760
10931
  "/v1/integrations/slack/install": {
10761
10932
  parameters: {
10762
10933
  query?: never;
@@ -14018,6 +14189,8 @@ interface paths {
14018
14189
  };
14019
14190
  content: {
14020
14191
  "application/json": {
14192
+ /** @description When the response was served from cache, the cache write time. Null for fresh responses. */
14193
+ cachedAt?: string | null;
14021
14194
  data: {
14022
14195
  byCategory: {
14023
14196
  [key: string]: number;
@@ -32011,7 +32184,9 @@ interface paths {
32011
32184
  dashboardUrl: string;
32012
32185
  email: string | null;
32013
32186
  features: {
32187
+ dashboardAssistantModel: string;
32014
32188
  enableAgentSkills: boolean;
32189
+ enableDashboardAssistant: boolean;
32015
32190
  productGeneratorModel: string;
32016
32191
  };
32017
32192
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/sdk",
3
- "version": "4.8.0",
3
+ "version": "4.8.1",
4
4
  "type": "module",
5
5
  "description": "TypeScript SDK for the Runtype API with fluent methods. Use it to quickly realize AI products, agents, and workflows.",
6
6
  "main": "dist/index.cjs",