@runtypelabs/sdk 5.2.3 → 5.3.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.cjs +3 -2
- package/dist/index.d.cts +62 -1
- package/dist/index.d.ts +62 -1
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4139,7 +4139,8 @@ var AGENT_CONFIG_KEYS = [
|
|
|
4139
4139
|
"loggingPolicy",
|
|
4140
4140
|
"temporal",
|
|
4141
4141
|
"memory",
|
|
4142
|
-
"sandbox"
|
|
4142
|
+
"sandbox",
|
|
4143
|
+
"tenancyStrategy"
|
|
4143
4144
|
];
|
|
4144
4145
|
var AGENT_CONFIG_KEY_LIST = [...AGENT_CONFIG_KEYS].sort();
|
|
4145
4146
|
function isPlainObject3(value) {
|
|
@@ -5671,7 +5672,7 @@ var Runtype = class {
|
|
|
5671
5672
|
|
|
5672
5673
|
// src/version.ts
|
|
5673
5674
|
var FALLBACK_VERSION = "0.0.0";
|
|
5674
|
-
var SDK_VERSION = "5.
|
|
5675
|
+
var SDK_VERSION = "5.3.1".length > 0 ? "5.3.1" : FALLBACK_VERSION;
|
|
5675
5676
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
5676
5677
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
5677
5678
|
|
package/dist/index.d.cts
CHANGED
|
@@ -747,6 +747,16 @@ interface paths {
|
|
|
747
747
|
injectElapsed?: boolean;
|
|
748
748
|
timezone?: string;
|
|
749
749
|
};
|
|
750
|
+
tenancyStrategy?: {
|
|
751
|
+
assuranceFloor?: {
|
|
752
|
+
/** @enum {string} */
|
|
753
|
+
endUser?: "asserted" | "verified";
|
|
754
|
+
/** @enum {string} */
|
|
755
|
+
tenant?: "asserted" | "verified";
|
|
756
|
+
};
|
|
757
|
+
/** @enum {string} */
|
|
758
|
+
preset: "internal" | "tenant-isolated" | "end-user-isolated";
|
|
759
|
+
};
|
|
750
760
|
tools?: {
|
|
751
761
|
approval?: {
|
|
752
762
|
choices?: {
|
|
@@ -1139,6 +1149,16 @@ interface paths {
|
|
|
1139
1149
|
injectElapsed?: boolean;
|
|
1140
1150
|
timezone?: string;
|
|
1141
1151
|
};
|
|
1152
|
+
tenancyStrategy?: {
|
|
1153
|
+
assuranceFloor?: {
|
|
1154
|
+
/** @enum {string} */
|
|
1155
|
+
endUser?: "asserted" | "verified";
|
|
1156
|
+
/** @enum {string} */
|
|
1157
|
+
tenant?: "asserted" | "verified";
|
|
1158
|
+
};
|
|
1159
|
+
/** @enum {string} */
|
|
1160
|
+
preset: "internal" | "tenant-isolated" | "end-user-isolated";
|
|
1161
|
+
};
|
|
1142
1162
|
tools?: {
|
|
1143
1163
|
approval?: {
|
|
1144
1164
|
choices?: {
|
|
@@ -1803,6 +1823,16 @@ interface paths {
|
|
|
1803
1823
|
injectElapsed?: boolean;
|
|
1804
1824
|
timezone?: string;
|
|
1805
1825
|
};
|
|
1826
|
+
tenancyStrategy?: {
|
|
1827
|
+
assuranceFloor?: {
|
|
1828
|
+
/** @enum {string} */
|
|
1829
|
+
endUser?: "asserted" | "verified";
|
|
1830
|
+
/** @enum {string} */
|
|
1831
|
+
tenant?: "asserted" | "verified";
|
|
1832
|
+
};
|
|
1833
|
+
/** @enum {string} */
|
|
1834
|
+
preset: "internal" | "tenant-isolated" | "end-user-isolated";
|
|
1835
|
+
};
|
|
1806
1836
|
tools?: {
|
|
1807
1837
|
approval?: {
|
|
1808
1838
|
choices?: {
|
|
@@ -35175,7 +35205,6 @@ interface paths {
|
|
|
35175
35205
|
enableDashboardAssistant: boolean;
|
|
35176
35206
|
enableRuntypeApps: boolean;
|
|
35177
35207
|
enableSkillScanner: boolean;
|
|
35178
|
-
productGeneratorModel: string;
|
|
35179
35208
|
};
|
|
35180
35209
|
id: string;
|
|
35181
35210
|
orgId?: string | null;
|
|
@@ -35762,6 +35791,16 @@ interface components {
|
|
|
35762
35791
|
injectElapsed?: boolean;
|
|
35763
35792
|
timezone?: string;
|
|
35764
35793
|
};
|
|
35794
|
+
tenancyStrategy?: {
|
|
35795
|
+
assuranceFloor?: {
|
|
35796
|
+
/** @enum {string} */
|
|
35797
|
+
endUser?: "asserted" | "verified";
|
|
35798
|
+
/** @enum {string} */
|
|
35799
|
+
tenant?: "asserted" | "verified";
|
|
35800
|
+
};
|
|
35801
|
+
/** @enum {string} */
|
|
35802
|
+
preset: "internal" | "tenant-isolated" | "end-user-isolated";
|
|
35803
|
+
};
|
|
35765
35804
|
tools?: {
|
|
35766
35805
|
approval?: {
|
|
35767
35806
|
choices?: {
|
|
@@ -38910,6 +38949,17 @@ interface DispatchRequest {
|
|
|
38910
38949
|
email?: string;
|
|
38911
38950
|
[key: string]: unknown;
|
|
38912
38951
|
};
|
|
38952
|
+
/**
|
|
38953
|
+
* Product Tenant identity — the builder's customer/account/workspace *inside* a
|
|
38954
|
+
* Product (the customer's customer), nested under the Builder Org (`_user`) and
|
|
38955
|
+
* above the End User (`_endUser`). Exposed as `{{_tenant.id}}` (and any
|
|
38956
|
+
* passthrough fields under `_tenant.*`) in template variables. Use it to address
|
|
38957
|
+
* the account-level scope shared by all of a tenant's end-users. Caller-asserted.
|
|
38958
|
+
*/
|
|
38959
|
+
tenant?: {
|
|
38960
|
+
id: string;
|
|
38961
|
+
[key: string]: unknown;
|
|
38962
|
+
};
|
|
38913
38963
|
options?: {
|
|
38914
38964
|
streamResponse?: boolean;
|
|
38915
38965
|
modelOverride?: string;
|
|
@@ -43978,6 +44028,17 @@ interface AgentExecuteRequest {
|
|
|
43978
44028
|
email?: string;
|
|
43979
44029
|
[key: string]: unknown;
|
|
43980
44030
|
};
|
|
44031
|
+
/**
|
|
44032
|
+
* Product Tenant identity — the builder's customer/account/workspace *inside* a
|
|
44033
|
+
* Product, nested under the Builder Org (`_user`) and above the End User
|
|
44034
|
+
* (`_endUser`). Exposed as `{{_tenant.id}}` (and passthrough fields under
|
|
44035
|
+
* `_tenant.*`) in template variables. Addresses the account-level scope shared
|
|
44036
|
+
* by all of a tenant's end-users. Caller-asserted.
|
|
44037
|
+
*/
|
|
44038
|
+
tenant?: {
|
|
44039
|
+
id: string;
|
|
44040
|
+
[key: string]: unknown;
|
|
44041
|
+
};
|
|
43981
44042
|
/** Enable streaming response (default: true) */
|
|
43982
44043
|
streamResponse?: boolean;
|
|
43983
44044
|
/** Enable debug mode to include all fields in events */
|
package/dist/index.d.ts
CHANGED
|
@@ -747,6 +747,16 @@ interface paths {
|
|
|
747
747
|
injectElapsed?: boolean;
|
|
748
748
|
timezone?: string;
|
|
749
749
|
};
|
|
750
|
+
tenancyStrategy?: {
|
|
751
|
+
assuranceFloor?: {
|
|
752
|
+
/** @enum {string} */
|
|
753
|
+
endUser?: "asserted" | "verified";
|
|
754
|
+
/** @enum {string} */
|
|
755
|
+
tenant?: "asserted" | "verified";
|
|
756
|
+
};
|
|
757
|
+
/** @enum {string} */
|
|
758
|
+
preset: "internal" | "tenant-isolated" | "end-user-isolated";
|
|
759
|
+
};
|
|
750
760
|
tools?: {
|
|
751
761
|
approval?: {
|
|
752
762
|
choices?: {
|
|
@@ -1139,6 +1149,16 @@ interface paths {
|
|
|
1139
1149
|
injectElapsed?: boolean;
|
|
1140
1150
|
timezone?: string;
|
|
1141
1151
|
};
|
|
1152
|
+
tenancyStrategy?: {
|
|
1153
|
+
assuranceFloor?: {
|
|
1154
|
+
/** @enum {string} */
|
|
1155
|
+
endUser?: "asserted" | "verified";
|
|
1156
|
+
/** @enum {string} */
|
|
1157
|
+
tenant?: "asserted" | "verified";
|
|
1158
|
+
};
|
|
1159
|
+
/** @enum {string} */
|
|
1160
|
+
preset: "internal" | "tenant-isolated" | "end-user-isolated";
|
|
1161
|
+
};
|
|
1142
1162
|
tools?: {
|
|
1143
1163
|
approval?: {
|
|
1144
1164
|
choices?: {
|
|
@@ -1803,6 +1823,16 @@ interface paths {
|
|
|
1803
1823
|
injectElapsed?: boolean;
|
|
1804
1824
|
timezone?: string;
|
|
1805
1825
|
};
|
|
1826
|
+
tenancyStrategy?: {
|
|
1827
|
+
assuranceFloor?: {
|
|
1828
|
+
/** @enum {string} */
|
|
1829
|
+
endUser?: "asserted" | "verified";
|
|
1830
|
+
/** @enum {string} */
|
|
1831
|
+
tenant?: "asserted" | "verified";
|
|
1832
|
+
};
|
|
1833
|
+
/** @enum {string} */
|
|
1834
|
+
preset: "internal" | "tenant-isolated" | "end-user-isolated";
|
|
1835
|
+
};
|
|
1806
1836
|
tools?: {
|
|
1807
1837
|
approval?: {
|
|
1808
1838
|
choices?: {
|
|
@@ -35175,7 +35205,6 @@ interface paths {
|
|
|
35175
35205
|
enableDashboardAssistant: boolean;
|
|
35176
35206
|
enableRuntypeApps: boolean;
|
|
35177
35207
|
enableSkillScanner: boolean;
|
|
35178
|
-
productGeneratorModel: string;
|
|
35179
35208
|
};
|
|
35180
35209
|
id: string;
|
|
35181
35210
|
orgId?: string | null;
|
|
@@ -35762,6 +35791,16 @@ interface components {
|
|
|
35762
35791
|
injectElapsed?: boolean;
|
|
35763
35792
|
timezone?: string;
|
|
35764
35793
|
};
|
|
35794
|
+
tenancyStrategy?: {
|
|
35795
|
+
assuranceFloor?: {
|
|
35796
|
+
/** @enum {string} */
|
|
35797
|
+
endUser?: "asserted" | "verified";
|
|
35798
|
+
/** @enum {string} */
|
|
35799
|
+
tenant?: "asserted" | "verified";
|
|
35800
|
+
};
|
|
35801
|
+
/** @enum {string} */
|
|
35802
|
+
preset: "internal" | "tenant-isolated" | "end-user-isolated";
|
|
35803
|
+
};
|
|
35765
35804
|
tools?: {
|
|
35766
35805
|
approval?: {
|
|
35767
35806
|
choices?: {
|
|
@@ -38910,6 +38949,17 @@ interface DispatchRequest {
|
|
|
38910
38949
|
email?: string;
|
|
38911
38950
|
[key: string]: unknown;
|
|
38912
38951
|
};
|
|
38952
|
+
/**
|
|
38953
|
+
* Product Tenant identity — the builder's customer/account/workspace *inside* a
|
|
38954
|
+
* Product (the customer's customer), nested under the Builder Org (`_user`) and
|
|
38955
|
+
* above the End User (`_endUser`). Exposed as `{{_tenant.id}}` (and any
|
|
38956
|
+
* passthrough fields under `_tenant.*`) in template variables. Use it to address
|
|
38957
|
+
* the account-level scope shared by all of a tenant's end-users. Caller-asserted.
|
|
38958
|
+
*/
|
|
38959
|
+
tenant?: {
|
|
38960
|
+
id: string;
|
|
38961
|
+
[key: string]: unknown;
|
|
38962
|
+
};
|
|
38913
38963
|
options?: {
|
|
38914
38964
|
streamResponse?: boolean;
|
|
38915
38965
|
modelOverride?: string;
|
|
@@ -43978,6 +44028,17 @@ interface AgentExecuteRequest {
|
|
|
43978
44028
|
email?: string;
|
|
43979
44029
|
[key: string]: unknown;
|
|
43980
44030
|
};
|
|
44031
|
+
/**
|
|
44032
|
+
* Product Tenant identity — the builder's customer/account/workspace *inside* a
|
|
44033
|
+
* Product, nested under the Builder Org (`_user`) and above the End User
|
|
44034
|
+
* (`_endUser`). Exposed as `{{_tenant.id}}` (and passthrough fields under
|
|
44035
|
+
* `_tenant.*`) in template variables. Addresses the account-level scope shared
|
|
44036
|
+
* by all of a tenant's end-users. Caller-asserted.
|
|
44037
|
+
*/
|
|
44038
|
+
tenant?: {
|
|
44039
|
+
id: string;
|
|
44040
|
+
[key: string]: unknown;
|
|
44041
|
+
};
|
|
43981
44042
|
/** Enable streaming response (default: true) */
|
|
43982
44043
|
streamResponse?: boolean;
|
|
43983
44044
|
/** Enable debug mode to include all fields in events */
|
package/dist/index.mjs
CHANGED
|
@@ -3978,7 +3978,8 @@ var AGENT_CONFIG_KEYS = [
|
|
|
3978
3978
|
"loggingPolicy",
|
|
3979
3979
|
"temporal",
|
|
3980
3980
|
"memory",
|
|
3981
|
-
"sandbox"
|
|
3981
|
+
"sandbox",
|
|
3982
|
+
"tenancyStrategy"
|
|
3982
3983
|
];
|
|
3983
3984
|
var AGENT_CONFIG_KEY_LIST = [...AGENT_CONFIG_KEYS].sort();
|
|
3984
3985
|
function isPlainObject3(value) {
|
|
@@ -5510,7 +5511,7 @@ var Runtype = class {
|
|
|
5510
5511
|
|
|
5511
5512
|
// src/version.ts
|
|
5512
5513
|
var FALLBACK_VERSION = "0.0.0";
|
|
5513
|
-
var SDK_VERSION = "5.
|
|
5514
|
+
var SDK_VERSION = "5.3.1".length > 0 ? "5.3.1" : FALLBACK_VERSION;
|
|
5514
5515
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
5515
5516
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
5516
5517
|
|
package/package.json
CHANGED