@runtypelabs/sdk 6.1.4 → 6.2.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.cjs CHANGED
@@ -6354,7 +6354,7 @@ var Runtype = class {
6354
6354
 
6355
6355
  // src/version.ts
6356
6356
  var FALLBACK_VERSION = "0.0.0";
6357
- var SDK_VERSION = "6.1.4".length > 0 ? "6.1.4" : FALLBACK_VERSION;
6357
+ var SDK_VERSION = "6.2.0".length > 0 ? "6.2.0" : FALLBACK_VERSION;
6358
6358
  var RUNTYPE_CLIENT_KIND = "sdk";
6359
6359
  var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
6360
6360
 
package/dist/index.d.cts CHANGED
@@ -1870,7 +1870,7 @@ interface paths {
1870
1870
  description?: string;
1871
1871
  timeoutMs?: number;
1872
1872
  toolPool: string[];
1873
- };
1873
+ } | null;
1874
1874
  maxToolCalls?: number;
1875
1875
  mcpServers?: {
1876
1876
  allowedTools?: string[];
@@ -1919,7 +1919,7 @@ interface paths {
1919
1919
  maxSpawnsPerRun?: number;
1920
1920
  maxTurnsLimit?: number;
1921
1921
  toolPool: string[];
1922
- };
1922
+ } | null;
1923
1923
  /** @enum {string} */
1924
1924
  toolCallStrategy?: "auto" | "required" | "none";
1925
1925
  toolConfigs?: {
@@ -24714,562 +24714,6 @@ interface paths {
24714
24714
  patch?: never;
24715
24715
  trace?: never;
24716
24716
  };
24717
- "/v1/products/generation/sessions": {
24718
- parameters: {
24719
- query?: never;
24720
- header?: never;
24721
- path?: never;
24722
- cookie?: never;
24723
- };
24724
- /**
24725
- * List generation sessions
24726
- * @description Returns a paginated list of generation sessions for the authenticated user, optionally filtered by status.
24727
- */
24728
- get: {
24729
- parameters: {
24730
- query?: {
24731
- /** @description Filter by session status */
24732
- status?: string;
24733
- /** @description Max results per page (default 20, max 100) */
24734
- limit?: string;
24735
- /** @description Offset for pagination */
24736
- offset?: string;
24737
- };
24738
- header?: never;
24739
- path?: never;
24740
- cookie?: never;
24741
- };
24742
- requestBody?: never;
24743
- responses: {
24744
- /** @description List of sessions with pagination */
24745
- 200: {
24746
- headers: {
24747
- [name: string]: unknown;
24748
- };
24749
- content: {
24750
- "application/json": {
24751
- data: {
24752
- assemblyState: {
24753
- [key: string]: unknown;
24754
- } | null;
24755
- catalogVersion: string | null;
24756
- createdAt: string;
24757
- expiresAt: string;
24758
- id: string;
24759
- organizationId: string | null;
24760
- plan: {
24761
- [key: string]: unknown;
24762
- } | null;
24763
- prd: {
24764
- [key: string]: unknown;
24765
- } | null;
24766
- productObject: {
24767
- [key: string]: unknown;
24768
- } | null;
24769
- productObjectHash: string | null;
24770
- schemaVersion: string | null;
24771
- /** @enum {string} */
24772
- status: "intake" | "generating" | "assembling" | "complete" | "failed";
24773
- updatedAt: string;
24774
- userId: string;
24775
- }[];
24776
- pagination: {
24777
- limit: number;
24778
- offset: number;
24779
- total: number;
24780
- };
24781
- };
24782
- };
24783
- };
24784
- /** @description Unauthorized */
24785
- 401: {
24786
- headers: {
24787
- [name: string]: unknown;
24788
- };
24789
- content: {
24790
- "application/json": components["schemas"]["Error"];
24791
- };
24792
- };
24793
- /** @description Server error */
24794
- 500: {
24795
- headers: {
24796
- [name: string]: unknown;
24797
- };
24798
- content: {
24799
- "application/json": components["schemas"]["Error"];
24800
- };
24801
- };
24802
- };
24803
- };
24804
- put?: never;
24805
- /**
24806
- * Create a generation session
24807
- * @description Creates a new product generation session with an optional PRD and catalog/schema version.
24808
- */
24809
- post: {
24810
- parameters: {
24811
- query?: never;
24812
- header?: never;
24813
- path?: never;
24814
- cookie?: never;
24815
- };
24816
- requestBody?: {
24817
- content: {
24818
- "application/json": {
24819
- catalogVersion?: string;
24820
- prd?: {
24821
- [key: string]: unknown;
24822
- };
24823
- schemaVersion?: string;
24824
- };
24825
- };
24826
- };
24827
- responses: {
24828
- /** @description Session created */
24829
- 201: {
24830
- headers: {
24831
- [name: string]: unknown;
24832
- };
24833
- content: {
24834
- "application/json": {
24835
- assemblyState: {
24836
- [key: string]: unknown;
24837
- } | null;
24838
- catalogVersion: string | null;
24839
- createdAt: string;
24840
- expiresAt: string;
24841
- id: string;
24842
- organizationId: string | null;
24843
- plan: {
24844
- [key: string]: unknown;
24845
- } | null;
24846
- prd: {
24847
- [key: string]: unknown;
24848
- } | null;
24849
- productObject: {
24850
- [key: string]: unknown;
24851
- } | null;
24852
- productObjectHash: string | null;
24853
- schemaVersion: string | null;
24854
- /** @enum {string} */
24855
- status: "intake" | "generating" | "assembling" | "complete" | "failed";
24856
- updatedAt: string;
24857
- userId: string;
24858
- };
24859
- };
24860
- };
24861
- /** @description Unauthorized */
24862
- 401: {
24863
- headers: {
24864
- [name: string]: unknown;
24865
- };
24866
- content: {
24867
- "application/json": components["schemas"]["Error"];
24868
- };
24869
- };
24870
- /** @description Forbidden */
24871
- 403: {
24872
- headers: {
24873
- [name: string]: unknown;
24874
- };
24875
- content: {
24876
- "application/json": components["schemas"]["Error"];
24877
- };
24878
- };
24879
- /** @description Server error */
24880
- 500: {
24881
- headers: {
24882
- [name: string]: unknown;
24883
- };
24884
- content: {
24885
- "application/json": components["schemas"]["Error"];
24886
- };
24887
- };
24888
- };
24889
- };
24890
- delete?: never;
24891
- options?: never;
24892
- head?: never;
24893
- patch?: never;
24894
- trace?: never;
24895
- };
24896
- "/v1/products/generation/sessions/{id}": {
24897
- parameters: {
24898
- query?: never;
24899
- header?: never;
24900
- path?: never;
24901
- cookie?: never;
24902
- };
24903
- /**
24904
- * Get session details
24905
- * @description Returns a generation session with its associated events.
24906
- */
24907
- get: {
24908
- parameters: {
24909
- query?: never;
24910
- header?: never;
24911
- path: {
24912
- /** @description Session ID */
24913
- id: string;
24914
- };
24915
- cookie?: never;
24916
- };
24917
- requestBody?: never;
24918
- responses: {
24919
- /** @description Session with events */
24920
- 200: {
24921
- headers: {
24922
- [name: string]: unknown;
24923
- };
24924
- content: {
24925
- "application/json": {
24926
- assemblyState: {
24927
- [key: string]: unknown;
24928
- } | null;
24929
- catalogVersion: string | null;
24930
- createdAt: string;
24931
- events: {
24932
- createdAt: string;
24933
- id: string;
24934
- message: string | null;
24935
- organizationId: string | null;
24936
- payload: {
24937
- [key: string]: unknown;
24938
- };
24939
- sessionId: string;
24940
- stage: string | null;
24941
- type: string;
24942
- userId: string;
24943
- }[];
24944
- expiresAt: string;
24945
- id: string;
24946
- organizationId: string | null;
24947
- plan: {
24948
- [key: string]: unknown;
24949
- } | null;
24950
- prd: {
24951
- [key: string]: unknown;
24952
- } | null;
24953
- productObject: {
24954
- [key: string]: unknown;
24955
- } | null;
24956
- productObjectHash: string | null;
24957
- schemaVersion: string | null;
24958
- /** @enum {string} */
24959
- status: "intake" | "generating" | "assembling" | "complete" | "failed";
24960
- updatedAt: string;
24961
- userId: string;
24962
- };
24963
- };
24964
- };
24965
- /** @description Unauthorized */
24966
- 401: {
24967
- headers: {
24968
- [name: string]: unknown;
24969
- };
24970
- content: {
24971
- "application/json": components["schemas"]["Error"];
24972
- };
24973
- };
24974
- /** @description Session not found */
24975
- 404: {
24976
- headers: {
24977
- [name: string]: unknown;
24978
- };
24979
- content: {
24980
- "application/json": components["schemas"]["Error"];
24981
- };
24982
- };
24983
- /** @description Server error */
24984
- 500: {
24985
- headers: {
24986
- [name: string]: unknown;
24987
- };
24988
- content: {
24989
- "application/json": components["schemas"]["Error"];
24990
- };
24991
- };
24992
- };
24993
- };
24994
- put?: never;
24995
- post?: never;
24996
- /**
24997
- * Delete a generation session
24998
- * @description Permanently deletes a generation session and its associated events.
24999
- */
25000
- delete: {
25001
- parameters: {
25002
- query?: never;
25003
- header?: never;
25004
- path: {
25005
- /** @description Session ID */
25006
- id: string;
25007
- };
25008
- cookie?: never;
25009
- };
25010
- requestBody?: never;
25011
- responses: {
25012
- /** @description Session deleted */
25013
- 200: {
25014
- headers: {
25015
- [name: string]: unknown;
25016
- };
25017
- content: {
25018
- "application/json": {
25019
- success: boolean;
25020
- };
25021
- };
25022
- };
25023
- /** @description Unauthorized */
25024
- 401: {
25025
- headers: {
25026
- [name: string]: unknown;
25027
- };
25028
- content: {
25029
- "application/json": components["schemas"]["Error"];
25030
- };
25031
- };
25032
- /** @description Forbidden */
25033
- 403: {
25034
- headers: {
25035
- [name: string]: unknown;
25036
- };
25037
- content: {
25038
- "application/json": components["schemas"]["Error"];
25039
- };
25040
- };
25041
- /** @description Session not found */
25042
- 404: {
25043
- headers: {
25044
- [name: string]: unknown;
25045
- };
25046
- content: {
25047
- "application/json": components["schemas"]["Error"];
25048
- };
25049
- };
25050
- /** @description Server error */
25051
- 500: {
25052
- headers: {
25053
- [name: string]: unknown;
25054
- };
25055
- content: {
25056
- "application/json": components["schemas"]["Error"];
25057
- };
25058
- };
25059
- };
25060
- };
25061
- options?: never;
25062
- head?: never;
25063
- /**
25064
- * Update a generation session
25065
- * @description Updates session fields including status, PRD, plan, product object, and assembly state.
25066
- */
25067
- patch: {
25068
- parameters: {
25069
- query?: never;
25070
- header?: never;
25071
- path: {
25072
- /** @description Session ID */
25073
- id: string;
25074
- };
25075
- cookie?: never;
25076
- };
25077
- requestBody?: {
25078
- content: {
25079
- "application/json": {
25080
- assemblyState?: {
25081
- [key: string]: unknown;
25082
- };
25083
- plan?: {
25084
- [key: string]: unknown;
25085
- };
25086
- prd?: {
25087
- [key: string]: unknown;
25088
- };
25089
- productObject?: {
25090
- [key: string]: unknown;
25091
- };
25092
- productObjectHash?: string;
25093
- /** @enum {string} */
25094
- status?: "intake" | "generating" | "assembling" | "complete" | "failed";
25095
- };
25096
- };
25097
- };
25098
- responses: {
25099
- /** @description Updated session */
25100
- 200: {
25101
- headers: {
25102
- [name: string]: unknown;
25103
- };
25104
- content: {
25105
- "application/json": {
25106
- assemblyState: {
25107
- [key: string]: unknown;
25108
- } | null;
25109
- catalogVersion: string | null;
25110
- createdAt: string;
25111
- expiresAt: string;
25112
- id: string;
25113
- organizationId: string | null;
25114
- plan: {
25115
- [key: string]: unknown;
25116
- } | null;
25117
- prd: {
25118
- [key: string]: unknown;
25119
- } | null;
25120
- productObject: {
25121
- [key: string]: unknown;
25122
- } | null;
25123
- productObjectHash: string | null;
25124
- schemaVersion: string | null;
25125
- /** @enum {string} */
25126
- status: "intake" | "generating" | "assembling" | "complete" | "failed";
25127
- updatedAt: string;
25128
- userId: string;
25129
- };
25130
- };
25131
- };
25132
- /** @description Unauthorized */
25133
- 401: {
25134
- headers: {
25135
- [name: string]: unknown;
25136
- };
25137
- content: {
25138
- "application/json": components["schemas"]["Error"];
25139
- };
25140
- };
25141
- /** @description Forbidden */
25142
- 403: {
25143
- headers: {
25144
- [name: string]: unknown;
25145
- };
25146
- content: {
25147
- "application/json": components["schemas"]["Error"];
25148
- };
25149
- };
25150
- /** @description Session not found */
25151
- 404: {
25152
- headers: {
25153
- [name: string]: unknown;
25154
- };
25155
- content: {
25156
- "application/json": components["schemas"]["Error"];
25157
- };
25158
- };
25159
- /** @description Server error */
25160
- 500: {
25161
- headers: {
25162
- [name: string]: unknown;
25163
- };
25164
- content: {
25165
- "application/json": components["schemas"]["Error"];
25166
- };
25167
- };
25168
- };
25169
- };
25170
- trace?: never;
25171
- };
25172
- "/v1/products/generation/sessions/{id}/events": {
25173
- parameters: {
25174
- query?: never;
25175
- header?: never;
25176
- path?: never;
25177
- cookie?: never;
25178
- };
25179
- get?: never;
25180
- put?: never;
25181
- /**
25182
- * Append an event to a session
25183
- * @description Adds a new event to a generation session for tracking progress and state changes.
25184
- */
25185
- post: {
25186
- parameters: {
25187
- query?: never;
25188
- header?: never;
25189
- path: {
25190
- /** @description Session ID */
25191
- id: string;
25192
- };
25193
- cookie?: never;
25194
- };
25195
- requestBody?: {
25196
- content: {
25197
- "application/json": {
25198
- message?: string;
25199
- payload?: {
25200
- [key: string]: unknown;
25201
- };
25202
- stage?: string;
25203
- type: string;
25204
- };
25205
- };
25206
- };
25207
- responses: {
25208
- /** @description Event created */
25209
- 201: {
25210
- headers: {
25211
- [name: string]: unknown;
25212
- };
25213
- content: {
25214
- "application/json": {
25215
- createdAt: string;
25216
- id: string;
25217
- message: string | null;
25218
- organizationId: string | null;
25219
- payload: {
25220
- [key: string]: unknown;
25221
- };
25222
- sessionId: string;
25223
- stage: string | null;
25224
- type: string;
25225
- userId: string;
25226
- };
25227
- };
25228
- };
25229
- /** @description Unauthorized */
25230
- 401: {
25231
- headers: {
25232
- [name: string]: unknown;
25233
- };
25234
- content: {
25235
- "application/json": components["schemas"]["Error"];
25236
- };
25237
- };
25238
- /** @description Forbidden */
25239
- 403: {
25240
- headers: {
25241
- [name: string]: unknown;
25242
- };
25243
- content: {
25244
- "application/json": components["schemas"]["Error"];
25245
- };
25246
- };
25247
- /** @description Session not found */
25248
- 404: {
25249
- headers: {
25250
- [name: string]: unknown;
25251
- };
25252
- content: {
25253
- "application/json": components["schemas"]["Error"];
25254
- };
25255
- };
25256
- /** @description Server error */
25257
- 500: {
25258
- headers: {
25259
- [name: string]: unknown;
25260
- };
25261
- content: {
25262
- "application/json": components["schemas"]["Error"];
25263
- };
25264
- };
25265
- };
25266
- };
25267
- delete?: never;
25268
- options?: never;
25269
- head?: never;
25270
- patch?: never;
25271
- trace?: never;
25272
- };
25273
24717
  "/v1/products/pull": {
25274
24718
  parameters: {
25275
24719
  query?: never;
@@ -37325,6 +36769,8 @@ interface paths {
37325
36769
  data: {
37326
36770
  createdAt: string;
37327
36771
  description: string | null;
36772
+ /** @description Optional acquisition link (https only) for the provider console where this credential is created. */
36773
+ docsUrl?: string | null;
37328
36774
  /** @description End User scope (eu_*) when the secret is end-user-scoped; null otherwise. */
37329
36775
  endUserId: string | null;
37330
36776
  id: string;
@@ -37384,6 +36830,8 @@ interface paths {
37384
36830
  content: {
37385
36831
  "application/json": {
37386
36832
  description?: string;
36833
+ /** Format: uri */
36834
+ docsUrl?: string;
37387
36835
  endUserId?: string;
37388
36836
  key: string;
37389
36837
  productTenantId?: string;
@@ -37402,6 +36850,8 @@ interface paths {
37402
36850
  data: {
37403
36851
  createdAt: string;
37404
36852
  description: string | null;
36853
+ /** @description Optional acquisition link (https only) for the provider console where this credential is created. */
36854
+ docsUrl?: string | null;
37405
36855
  /** @description End User scope (eu_*) when the secret is end-user-scoped; null otherwise. */
37406
36856
  endUserId: string | null;
37407
36857
  id: string;
@@ -37579,6 +37029,7 @@ interface paths {
37579
37029
  "application/json": {
37580
37030
  returnUrl?: string;
37581
37031
  source: {
37032
+ description?: string;
37582
37033
  key?: string;
37583
37034
  productId?: string;
37584
37035
  /** @enum {string} */
@@ -37622,6 +37073,7 @@ interface paths {
37622
37073
  pendingConfigurationCount: number;
37623
37074
  returnUrl?: string;
37624
37075
  source: {
37076
+ description?: string;
37625
37077
  key?: string;
37626
37078
  productId?: string;
37627
37079
  /** @enum {string} */
@@ -37709,6 +37161,8 @@ interface paths {
37709
37161
  items: {
37710
37162
  description?: string;
37711
37163
  displayName?: string;
37164
+ /** Format: uri */
37165
+ docsUrl?: string;
37712
37166
  expectedVersion?: number;
37713
37167
  itemId?: string;
37714
37168
  key?: string;
@@ -37717,6 +37171,7 @@ interface paths {
37717
37171
  }[];
37718
37172
  returnUrl?: string;
37719
37173
  source: {
37174
+ description?: string;
37720
37175
  key?: string;
37721
37176
  productId?: string;
37722
37177
  /** @enum {string} */
@@ -37761,6 +37216,7 @@ interface paths {
37761
37216
  pendingConfigurationCount: number;
37762
37217
  returnUrl?: string;
37763
37218
  source: {
37219
+ description?: string;
37764
37220
  key?: string;
37765
37221
  productId?: string;
37766
37222
  /** @enum {string} */
@@ -37946,6 +37402,8 @@ interface paths {
37946
37402
  data: {
37947
37403
  createdAt: string;
37948
37404
  description: string | null;
37405
+ /** @description Optional acquisition link (https only) for the provider console where this credential is created. */
37406
+ docsUrl?: string | null;
37949
37407
  /** @description End User scope (eu_*) when the secret is end-user-scoped; null otherwise. */
37950
37408
  endUserId: string | null;
37951
37409
  id: string;
@@ -38014,6 +37472,8 @@ interface paths {
38014
37472
  content: {
38015
37473
  "application/json": {
38016
37474
  description?: string;
37475
+ /** Format: uri */
37476
+ docsUrl?: string | null;
38017
37477
  expectedVersion?: number;
38018
37478
  value?: string;
38019
37479
  };
@@ -38030,6 +37490,8 @@ interface paths {
38030
37490
  data: {
38031
37491
  createdAt: string;
38032
37492
  description: string | null;
37493
+ /** @description Optional acquisition link (https only) for the provider console where this credential is created. */
37494
+ docsUrl?: string | null;
38033
37495
  /** @description End User scope (eu_*) when the secret is end-user-scoped; null otherwise. */
38034
37496
  endUserId: string | null;
38035
37497
  id: string;
@@ -41696,6 +41158,7 @@ interface paths {
41696
41158
  enableRuntown: boolean;
41697
41159
  enableRuntypeApps: boolean;
41698
41160
  enableSkillScanner: boolean;
41161
+ enableVoice: boolean;
41699
41162
  enableWorkspaceModel: boolean;
41700
41163
  workspaceModelEligible: boolean;
41701
41164
  workspaceModelReady: boolean;
package/dist/index.d.ts CHANGED
@@ -1870,7 +1870,7 @@ interface paths {
1870
1870
  description?: string;
1871
1871
  timeoutMs?: number;
1872
1872
  toolPool: string[];
1873
- };
1873
+ } | null;
1874
1874
  maxToolCalls?: number;
1875
1875
  mcpServers?: {
1876
1876
  allowedTools?: string[];
@@ -1919,7 +1919,7 @@ interface paths {
1919
1919
  maxSpawnsPerRun?: number;
1920
1920
  maxTurnsLimit?: number;
1921
1921
  toolPool: string[];
1922
- };
1922
+ } | null;
1923
1923
  /** @enum {string} */
1924
1924
  toolCallStrategy?: "auto" | "required" | "none";
1925
1925
  toolConfigs?: {
@@ -24714,562 +24714,6 @@ interface paths {
24714
24714
  patch?: never;
24715
24715
  trace?: never;
24716
24716
  };
24717
- "/v1/products/generation/sessions": {
24718
- parameters: {
24719
- query?: never;
24720
- header?: never;
24721
- path?: never;
24722
- cookie?: never;
24723
- };
24724
- /**
24725
- * List generation sessions
24726
- * @description Returns a paginated list of generation sessions for the authenticated user, optionally filtered by status.
24727
- */
24728
- get: {
24729
- parameters: {
24730
- query?: {
24731
- /** @description Filter by session status */
24732
- status?: string;
24733
- /** @description Max results per page (default 20, max 100) */
24734
- limit?: string;
24735
- /** @description Offset for pagination */
24736
- offset?: string;
24737
- };
24738
- header?: never;
24739
- path?: never;
24740
- cookie?: never;
24741
- };
24742
- requestBody?: never;
24743
- responses: {
24744
- /** @description List of sessions with pagination */
24745
- 200: {
24746
- headers: {
24747
- [name: string]: unknown;
24748
- };
24749
- content: {
24750
- "application/json": {
24751
- data: {
24752
- assemblyState: {
24753
- [key: string]: unknown;
24754
- } | null;
24755
- catalogVersion: string | null;
24756
- createdAt: string;
24757
- expiresAt: string;
24758
- id: string;
24759
- organizationId: string | null;
24760
- plan: {
24761
- [key: string]: unknown;
24762
- } | null;
24763
- prd: {
24764
- [key: string]: unknown;
24765
- } | null;
24766
- productObject: {
24767
- [key: string]: unknown;
24768
- } | null;
24769
- productObjectHash: string | null;
24770
- schemaVersion: string | null;
24771
- /** @enum {string} */
24772
- status: "intake" | "generating" | "assembling" | "complete" | "failed";
24773
- updatedAt: string;
24774
- userId: string;
24775
- }[];
24776
- pagination: {
24777
- limit: number;
24778
- offset: number;
24779
- total: number;
24780
- };
24781
- };
24782
- };
24783
- };
24784
- /** @description Unauthorized */
24785
- 401: {
24786
- headers: {
24787
- [name: string]: unknown;
24788
- };
24789
- content: {
24790
- "application/json": components["schemas"]["Error"];
24791
- };
24792
- };
24793
- /** @description Server error */
24794
- 500: {
24795
- headers: {
24796
- [name: string]: unknown;
24797
- };
24798
- content: {
24799
- "application/json": components["schemas"]["Error"];
24800
- };
24801
- };
24802
- };
24803
- };
24804
- put?: never;
24805
- /**
24806
- * Create a generation session
24807
- * @description Creates a new product generation session with an optional PRD and catalog/schema version.
24808
- */
24809
- post: {
24810
- parameters: {
24811
- query?: never;
24812
- header?: never;
24813
- path?: never;
24814
- cookie?: never;
24815
- };
24816
- requestBody?: {
24817
- content: {
24818
- "application/json": {
24819
- catalogVersion?: string;
24820
- prd?: {
24821
- [key: string]: unknown;
24822
- };
24823
- schemaVersion?: string;
24824
- };
24825
- };
24826
- };
24827
- responses: {
24828
- /** @description Session created */
24829
- 201: {
24830
- headers: {
24831
- [name: string]: unknown;
24832
- };
24833
- content: {
24834
- "application/json": {
24835
- assemblyState: {
24836
- [key: string]: unknown;
24837
- } | null;
24838
- catalogVersion: string | null;
24839
- createdAt: string;
24840
- expiresAt: string;
24841
- id: string;
24842
- organizationId: string | null;
24843
- plan: {
24844
- [key: string]: unknown;
24845
- } | null;
24846
- prd: {
24847
- [key: string]: unknown;
24848
- } | null;
24849
- productObject: {
24850
- [key: string]: unknown;
24851
- } | null;
24852
- productObjectHash: string | null;
24853
- schemaVersion: string | null;
24854
- /** @enum {string} */
24855
- status: "intake" | "generating" | "assembling" | "complete" | "failed";
24856
- updatedAt: string;
24857
- userId: string;
24858
- };
24859
- };
24860
- };
24861
- /** @description Unauthorized */
24862
- 401: {
24863
- headers: {
24864
- [name: string]: unknown;
24865
- };
24866
- content: {
24867
- "application/json": components["schemas"]["Error"];
24868
- };
24869
- };
24870
- /** @description Forbidden */
24871
- 403: {
24872
- headers: {
24873
- [name: string]: unknown;
24874
- };
24875
- content: {
24876
- "application/json": components["schemas"]["Error"];
24877
- };
24878
- };
24879
- /** @description Server error */
24880
- 500: {
24881
- headers: {
24882
- [name: string]: unknown;
24883
- };
24884
- content: {
24885
- "application/json": components["schemas"]["Error"];
24886
- };
24887
- };
24888
- };
24889
- };
24890
- delete?: never;
24891
- options?: never;
24892
- head?: never;
24893
- patch?: never;
24894
- trace?: never;
24895
- };
24896
- "/v1/products/generation/sessions/{id}": {
24897
- parameters: {
24898
- query?: never;
24899
- header?: never;
24900
- path?: never;
24901
- cookie?: never;
24902
- };
24903
- /**
24904
- * Get session details
24905
- * @description Returns a generation session with its associated events.
24906
- */
24907
- get: {
24908
- parameters: {
24909
- query?: never;
24910
- header?: never;
24911
- path: {
24912
- /** @description Session ID */
24913
- id: string;
24914
- };
24915
- cookie?: never;
24916
- };
24917
- requestBody?: never;
24918
- responses: {
24919
- /** @description Session with events */
24920
- 200: {
24921
- headers: {
24922
- [name: string]: unknown;
24923
- };
24924
- content: {
24925
- "application/json": {
24926
- assemblyState: {
24927
- [key: string]: unknown;
24928
- } | null;
24929
- catalogVersion: string | null;
24930
- createdAt: string;
24931
- events: {
24932
- createdAt: string;
24933
- id: string;
24934
- message: string | null;
24935
- organizationId: string | null;
24936
- payload: {
24937
- [key: string]: unknown;
24938
- };
24939
- sessionId: string;
24940
- stage: string | null;
24941
- type: string;
24942
- userId: string;
24943
- }[];
24944
- expiresAt: string;
24945
- id: string;
24946
- organizationId: string | null;
24947
- plan: {
24948
- [key: string]: unknown;
24949
- } | null;
24950
- prd: {
24951
- [key: string]: unknown;
24952
- } | null;
24953
- productObject: {
24954
- [key: string]: unknown;
24955
- } | null;
24956
- productObjectHash: string | null;
24957
- schemaVersion: string | null;
24958
- /** @enum {string} */
24959
- status: "intake" | "generating" | "assembling" | "complete" | "failed";
24960
- updatedAt: string;
24961
- userId: string;
24962
- };
24963
- };
24964
- };
24965
- /** @description Unauthorized */
24966
- 401: {
24967
- headers: {
24968
- [name: string]: unknown;
24969
- };
24970
- content: {
24971
- "application/json": components["schemas"]["Error"];
24972
- };
24973
- };
24974
- /** @description Session not found */
24975
- 404: {
24976
- headers: {
24977
- [name: string]: unknown;
24978
- };
24979
- content: {
24980
- "application/json": components["schemas"]["Error"];
24981
- };
24982
- };
24983
- /** @description Server error */
24984
- 500: {
24985
- headers: {
24986
- [name: string]: unknown;
24987
- };
24988
- content: {
24989
- "application/json": components["schemas"]["Error"];
24990
- };
24991
- };
24992
- };
24993
- };
24994
- put?: never;
24995
- post?: never;
24996
- /**
24997
- * Delete a generation session
24998
- * @description Permanently deletes a generation session and its associated events.
24999
- */
25000
- delete: {
25001
- parameters: {
25002
- query?: never;
25003
- header?: never;
25004
- path: {
25005
- /** @description Session ID */
25006
- id: string;
25007
- };
25008
- cookie?: never;
25009
- };
25010
- requestBody?: never;
25011
- responses: {
25012
- /** @description Session deleted */
25013
- 200: {
25014
- headers: {
25015
- [name: string]: unknown;
25016
- };
25017
- content: {
25018
- "application/json": {
25019
- success: boolean;
25020
- };
25021
- };
25022
- };
25023
- /** @description Unauthorized */
25024
- 401: {
25025
- headers: {
25026
- [name: string]: unknown;
25027
- };
25028
- content: {
25029
- "application/json": components["schemas"]["Error"];
25030
- };
25031
- };
25032
- /** @description Forbidden */
25033
- 403: {
25034
- headers: {
25035
- [name: string]: unknown;
25036
- };
25037
- content: {
25038
- "application/json": components["schemas"]["Error"];
25039
- };
25040
- };
25041
- /** @description Session not found */
25042
- 404: {
25043
- headers: {
25044
- [name: string]: unknown;
25045
- };
25046
- content: {
25047
- "application/json": components["schemas"]["Error"];
25048
- };
25049
- };
25050
- /** @description Server error */
25051
- 500: {
25052
- headers: {
25053
- [name: string]: unknown;
25054
- };
25055
- content: {
25056
- "application/json": components["schemas"]["Error"];
25057
- };
25058
- };
25059
- };
25060
- };
25061
- options?: never;
25062
- head?: never;
25063
- /**
25064
- * Update a generation session
25065
- * @description Updates session fields including status, PRD, plan, product object, and assembly state.
25066
- */
25067
- patch: {
25068
- parameters: {
25069
- query?: never;
25070
- header?: never;
25071
- path: {
25072
- /** @description Session ID */
25073
- id: string;
25074
- };
25075
- cookie?: never;
25076
- };
25077
- requestBody?: {
25078
- content: {
25079
- "application/json": {
25080
- assemblyState?: {
25081
- [key: string]: unknown;
25082
- };
25083
- plan?: {
25084
- [key: string]: unknown;
25085
- };
25086
- prd?: {
25087
- [key: string]: unknown;
25088
- };
25089
- productObject?: {
25090
- [key: string]: unknown;
25091
- };
25092
- productObjectHash?: string;
25093
- /** @enum {string} */
25094
- status?: "intake" | "generating" | "assembling" | "complete" | "failed";
25095
- };
25096
- };
25097
- };
25098
- responses: {
25099
- /** @description Updated session */
25100
- 200: {
25101
- headers: {
25102
- [name: string]: unknown;
25103
- };
25104
- content: {
25105
- "application/json": {
25106
- assemblyState: {
25107
- [key: string]: unknown;
25108
- } | null;
25109
- catalogVersion: string | null;
25110
- createdAt: string;
25111
- expiresAt: string;
25112
- id: string;
25113
- organizationId: string | null;
25114
- plan: {
25115
- [key: string]: unknown;
25116
- } | null;
25117
- prd: {
25118
- [key: string]: unknown;
25119
- } | null;
25120
- productObject: {
25121
- [key: string]: unknown;
25122
- } | null;
25123
- productObjectHash: string | null;
25124
- schemaVersion: string | null;
25125
- /** @enum {string} */
25126
- status: "intake" | "generating" | "assembling" | "complete" | "failed";
25127
- updatedAt: string;
25128
- userId: string;
25129
- };
25130
- };
25131
- };
25132
- /** @description Unauthorized */
25133
- 401: {
25134
- headers: {
25135
- [name: string]: unknown;
25136
- };
25137
- content: {
25138
- "application/json": components["schemas"]["Error"];
25139
- };
25140
- };
25141
- /** @description Forbidden */
25142
- 403: {
25143
- headers: {
25144
- [name: string]: unknown;
25145
- };
25146
- content: {
25147
- "application/json": components["schemas"]["Error"];
25148
- };
25149
- };
25150
- /** @description Session not found */
25151
- 404: {
25152
- headers: {
25153
- [name: string]: unknown;
25154
- };
25155
- content: {
25156
- "application/json": components["schemas"]["Error"];
25157
- };
25158
- };
25159
- /** @description Server error */
25160
- 500: {
25161
- headers: {
25162
- [name: string]: unknown;
25163
- };
25164
- content: {
25165
- "application/json": components["schemas"]["Error"];
25166
- };
25167
- };
25168
- };
25169
- };
25170
- trace?: never;
25171
- };
25172
- "/v1/products/generation/sessions/{id}/events": {
25173
- parameters: {
25174
- query?: never;
25175
- header?: never;
25176
- path?: never;
25177
- cookie?: never;
25178
- };
25179
- get?: never;
25180
- put?: never;
25181
- /**
25182
- * Append an event to a session
25183
- * @description Adds a new event to a generation session for tracking progress and state changes.
25184
- */
25185
- post: {
25186
- parameters: {
25187
- query?: never;
25188
- header?: never;
25189
- path: {
25190
- /** @description Session ID */
25191
- id: string;
25192
- };
25193
- cookie?: never;
25194
- };
25195
- requestBody?: {
25196
- content: {
25197
- "application/json": {
25198
- message?: string;
25199
- payload?: {
25200
- [key: string]: unknown;
25201
- };
25202
- stage?: string;
25203
- type: string;
25204
- };
25205
- };
25206
- };
25207
- responses: {
25208
- /** @description Event created */
25209
- 201: {
25210
- headers: {
25211
- [name: string]: unknown;
25212
- };
25213
- content: {
25214
- "application/json": {
25215
- createdAt: string;
25216
- id: string;
25217
- message: string | null;
25218
- organizationId: string | null;
25219
- payload: {
25220
- [key: string]: unknown;
25221
- };
25222
- sessionId: string;
25223
- stage: string | null;
25224
- type: string;
25225
- userId: string;
25226
- };
25227
- };
25228
- };
25229
- /** @description Unauthorized */
25230
- 401: {
25231
- headers: {
25232
- [name: string]: unknown;
25233
- };
25234
- content: {
25235
- "application/json": components["schemas"]["Error"];
25236
- };
25237
- };
25238
- /** @description Forbidden */
25239
- 403: {
25240
- headers: {
25241
- [name: string]: unknown;
25242
- };
25243
- content: {
25244
- "application/json": components["schemas"]["Error"];
25245
- };
25246
- };
25247
- /** @description Session not found */
25248
- 404: {
25249
- headers: {
25250
- [name: string]: unknown;
25251
- };
25252
- content: {
25253
- "application/json": components["schemas"]["Error"];
25254
- };
25255
- };
25256
- /** @description Server error */
25257
- 500: {
25258
- headers: {
25259
- [name: string]: unknown;
25260
- };
25261
- content: {
25262
- "application/json": components["schemas"]["Error"];
25263
- };
25264
- };
25265
- };
25266
- };
25267
- delete?: never;
25268
- options?: never;
25269
- head?: never;
25270
- patch?: never;
25271
- trace?: never;
25272
- };
25273
24717
  "/v1/products/pull": {
25274
24718
  parameters: {
25275
24719
  query?: never;
@@ -37325,6 +36769,8 @@ interface paths {
37325
36769
  data: {
37326
36770
  createdAt: string;
37327
36771
  description: string | null;
36772
+ /** @description Optional acquisition link (https only) for the provider console where this credential is created. */
36773
+ docsUrl?: string | null;
37328
36774
  /** @description End User scope (eu_*) when the secret is end-user-scoped; null otherwise. */
37329
36775
  endUserId: string | null;
37330
36776
  id: string;
@@ -37384,6 +36830,8 @@ interface paths {
37384
36830
  content: {
37385
36831
  "application/json": {
37386
36832
  description?: string;
36833
+ /** Format: uri */
36834
+ docsUrl?: string;
37387
36835
  endUserId?: string;
37388
36836
  key: string;
37389
36837
  productTenantId?: string;
@@ -37402,6 +36850,8 @@ interface paths {
37402
36850
  data: {
37403
36851
  createdAt: string;
37404
36852
  description: string | null;
36853
+ /** @description Optional acquisition link (https only) for the provider console where this credential is created. */
36854
+ docsUrl?: string | null;
37405
36855
  /** @description End User scope (eu_*) when the secret is end-user-scoped; null otherwise. */
37406
36856
  endUserId: string | null;
37407
36857
  id: string;
@@ -37579,6 +37029,7 @@ interface paths {
37579
37029
  "application/json": {
37580
37030
  returnUrl?: string;
37581
37031
  source: {
37032
+ description?: string;
37582
37033
  key?: string;
37583
37034
  productId?: string;
37584
37035
  /** @enum {string} */
@@ -37622,6 +37073,7 @@ interface paths {
37622
37073
  pendingConfigurationCount: number;
37623
37074
  returnUrl?: string;
37624
37075
  source: {
37076
+ description?: string;
37625
37077
  key?: string;
37626
37078
  productId?: string;
37627
37079
  /** @enum {string} */
@@ -37709,6 +37161,8 @@ interface paths {
37709
37161
  items: {
37710
37162
  description?: string;
37711
37163
  displayName?: string;
37164
+ /** Format: uri */
37165
+ docsUrl?: string;
37712
37166
  expectedVersion?: number;
37713
37167
  itemId?: string;
37714
37168
  key?: string;
@@ -37717,6 +37171,7 @@ interface paths {
37717
37171
  }[];
37718
37172
  returnUrl?: string;
37719
37173
  source: {
37174
+ description?: string;
37720
37175
  key?: string;
37721
37176
  productId?: string;
37722
37177
  /** @enum {string} */
@@ -37761,6 +37216,7 @@ interface paths {
37761
37216
  pendingConfigurationCount: number;
37762
37217
  returnUrl?: string;
37763
37218
  source: {
37219
+ description?: string;
37764
37220
  key?: string;
37765
37221
  productId?: string;
37766
37222
  /** @enum {string} */
@@ -37946,6 +37402,8 @@ interface paths {
37946
37402
  data: {
37947
37403
  createdAt: string;
37948
37404
  description: string | null;
37405
+ /** @description Optional acquisition link (https only) for the provider console where this credential is created. */
37406
+ docsUrl?: string | null;
37949
37407
  /** @description End User scope (eu_*) when the secret is end-user-scoped; null otherwise. */
37950
37408
  endUserId: string | null;
37951
37409
  id: string;
@@ -38014,6 +37472,8 @@ interface paths {
38014
37472
  content: {
38015
37473
  "application/json": {
38016
37474
  description?: string;
37475
+ /** Format: uri */
37476
+ docsUrl?: string | null;
38017
37477
  expectedVersion?: number;
38018
37478
  value?: string;
38019
37479
  };
@@ -38030,6 +37490,8 @@ interface paths {
38030
37490
  data: {
38031
37491
  createdAt: string;
38032
37492
  description: string | null;
37493
+ /** @description Optional acquisition link (https only) for the provider console where this credential is created. */
37494
+ docsUrl?: string | null;
38033
37495
  /** @description End User scope (eu_*) when the secret is end-user-scoped; null otherwise. */
38034
37496
  endUserId: string | null;
38035
37497
  id: string;
@@ -41696,6 +41158,7 @@ interface paths {
41696
41158
  enableRuntown: boolean;
41697
41159
  enableRuntypeApps: boolean;
41698
41160
  enableSkillScanner: boolean;
41161
+ enableVoice: boolean;
41699
41162
  enableWorkspaceModel: boolean;
41700
41163
  workspaceModelEligible: boolean;
41701
41164
  workspaceModelReady: boolean;
package/dist/index.mjs CHANGED
@@ -6167,7 +6167,7 @@ var Runtype = class {
6167
6167
 
6168
6168
  // src/version.ts
6169
6169
  var FALLBACK_VERSION = "0.0.0";
6170
- var SDK_VERSION = "6.1.4".length > 0 ? "6.1.4" : FALLBACK_VERSION;
6170
+ var SDK_VERSION = "6.2.0".length > 0 ? "6.2.0" : FALLBACK_VERSION;
6171
6171
  var RUNTYPE_CLIENT_KIND = "sdk";
6172
6172
  var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
6173
6173
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/sdk",
3
- "version": "6.1.4",
3
+ "version": "6.2.0",
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",