@runtypelabs/sdk 5.2.3 → 5.3.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 +3 -2
- package/dist/index.d.cts +62 -0
- package/dist/index.d.ts +62 -0
- 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.0".length > 0 ? "5.3.0" : 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?: {
|
|
@@ -35762,6 +35792,16 @@ interface components {
|
|
|
35762
35792
|
injectElapsed?: boolean;
|
|
35763
35793
|
timezone?: string;
|
|
35764
35794
|
};
|
|
35795
|
+
tenancyStrategy?: {
|
|
35796
|
+
assuranceFloor?: {
|
|
35797
|
+
/** @enum {string} */
|
|
35798
|
+
endUser?: "asserted" | "verified";
|
|
35799
|
+
/** @enum {string} */
|
|
35800
|
+
tenant?: "asserted" | "verified";
|
|
35801
|
+
};
|
|
35802
|
+
/** @enum {string} */
|
|
35803
|
+
preset: "internal" | "tenant-isolated" | "end-user-isolated";
|
|
35804
|
+
};
|
|
35765
35805
|
tools?: {
|
|
35766
35806
|
approval?: {
|
|
35767
35807
|
choices?: {
|
|
@@ -38910,6 +38950,17 @@ interface DispatchRequest {
|
|
|
38910
38950
|
email?: string;
|
|
38911
38951
|
[key: string]: unknown;
|
|
38912
38952
|
};
|
|
38953
|
+
/**
|
|
38954
|
+
* Product Tenant identity — the builder's customer/account/workspace *inside* a
|
|
38955
|
+
* Product (the customer's customer), nested under the Builder Org (`_user`) and
|
|
38956
|
+
* above the End User (`_endUser`). Exposed as `{{_tenant.id}}` (and any
|
|
38957
|
+
* passthrough fields under `_tenant.*`) in template variables. Use it to address
|
|
38958
|
+
* the account-level scope shared by all of a tenant's end-users. Caller-asserted.
|
|
38959
|
+
*/
|
|
38960
|
+
tenant?: {
|
|
38961
|
+
id: string;
|
|
38962
|
+
[key: string]: unknown;
|
|
38963
|
+
};
|
|
38913
38964
|
options?: {
|
|
38914
38965
|
streamResponse?: boolean;
|
|
38915
38966
|
modelOverride?: string;
|
|
@@ -43978,6 +44029,17 @@ interface AgentExecuteRequest {
|
|
|
43978
44029
|
email?: string;
|
|
43979
44030
|
[key: string]: unknown;
|
|
43980
44031
|
};
|
|
44032
|
+
/**
|
|
44033
|
+
* Product Tenant identity — the builder's customer/account/workspace *inside* a
|
|
44034
|
+
* Product, nested under the Builder Org (`_user`) and above the End User
|
|
44035
|
+
* (`_endUser`). Exposed as `{{_tenant.id}}` (and passthrough fields under
|
|
44036
|
+
* `_tenant.*`) in template variables. Addresses the account-level scope shared
|
|
44037
|
+
* by all of a tenant's end-users. Caller-asserted.
|
|
44038
|
+
*/
|
|
44039
|
+
tenant?: {
|
|
44040
|
+
id: string;
|
|
44041
|
+
[key: string]: unknown;
|
|
44042
|
+
};
|
|
43981
44043
|
/** Enable streaming response (default: true) */
|
|
43982
44044
|
streamResponse?: boolean;
|
|
43983
44045
|
/** 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?: {
|
|
@@ -35762,6 +35792,16 @@ interface components {
|
|
|
35762
35792
|
injectElapsed?: boolean;
|
|
35763
35793
|
timezone?: string;
|
|
35764
35794
|
};
|
|
35795
|
+
tenancyStrategy?: {
|
|
35796
|
+
assuranceFloor?: {
|
|
35797
|
+
/** @enum {string} */
|
|
35798
|
+
endUser?: "asserted" | "verified";
|
|
35799
|
+
/** @enum {string} */
|
|
35800
|
+
tenant?: "asserted" | "verified";
|
|
35801
|
+
};
|
|
35802
|
+
/** @enum {string} */
|
|
35803
|
+
preset: "internal" | "tenant-isolated" | "end-user-isolated";
|
|
35804
|
+
};
|
|
35765
35805
|
tools?: {
|
|
35766
35806
|
approval?: {
|
|
35767
35807
|
choices?: {
|
|
@@ -38910,6 +38950,17 @@ interface DispatchRequest {
|
|
|
38910
38950
|
email?: string;
|
|
38911
38951
|
[key: string]: unknown;
|
|
38912
38952
|
};
|
|
38953
|
+
/**
|
|
38954
|
+
* Product Tenant identity — the builder's customer/account/workspace *inside* a
|
|
38955
|
+
* Product (the customer's customer), nested under the Builder Org (`_user`) and
|
|
38956
|
+
* above the End User (`_endUser`). Exposed as `{{_tenant.id}}` (and any
|
|
38957
|
+
* passthrough fields under `_tenant.*`) in template variables. Use it to address
|
|
38958
|
+
* the account-level scope shared by all of a tenant's end-users. Caller-asserted.
|
|
38959
|
+
*/
|
|
38960
|
+
tenant?: {
|
|
38961
|
+
id: string;
|
|
38962
|
+
[key: string]: unknown;
|
|
38963
|
+
};
|
|
38913
38964
|
options?: {
|
|
38914
38965
|
streamResponse?: boolean;
|
|
38915
38966
|
modelOverride?: string;
|
|
@@ -43978,6 +44029,17 @@ interface AgentExecuteRequest {
|
|
|
43978
44029
|
email?: string;
|
|
43979
44030
|
[key: string]: unknown;
|
|
43980
44031
|
};
|
|
44032
|
+
/**
|
|
44033
|
+
* Product Tenant identity — the builder's customer/account/workspace *inside* a
|
|
44034
|
+
* Product, nested under the Builder Org (`_user`) and above the End User
|
|
44035
|
+
* (`_endUser`). Exposed as `{{_tenant.id}}` (and passthrough fields under
|
|
44036
|
+
* `_tenant.*`) in template variables. Addresses the account-level scope shared
|
|
44037
|
+
* by all of a tenant's end-users. Caller-asserted.
|
|
44038
|
+
*/
|
|
44039
|
+
tenant?: {
|
|
44040
|
+
id: string;
|
|
44041
|
+
[key: string]: unknown;
|
|
44042
|
+
};
|
|
43981
44043
|
/** Enable streaming response (default: true) */
|
|
43982
44044
|
streamResponse?: boolean;
|
|
43983
44045
|
/** 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.0".length > 0 ? "5.3.0" : 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