@schematichq/schematic-typescript-node 1.0.13 → 1.0.14
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/schematic.cjs.js +5 -1
- package/dist/schematic.d.ts +13 -1
- package/dist/schematic.esm.js +5 -1
- package/package.json +1 -1
package/dist/schematic.cjs.js
CHANGED
|
@@ -27913,6 +27913,7 @@ function UpsertUserRequestBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27913
27913
|
return {
|
|
27914
27914
|
company: json["company"],
|
|
27915
27915
|
companyId: json["company_id"] == null ? void 0 : json["company_id"],
|
|
27916
|
+
id: json["id"] == null ? void 0 : json["id"],
|
|
27916
27917
|
keys: json["keys"],
|
|
27917
27918
|
lastSeenAt: json["last_seen_at"] == null ? void 0 : new Date(json["last_seen_at"]),
|
|
27918
27919
|
name: json["name"] == null ? void 0 : json["name"],
|
|
@@ -27927,6 +27928,7 @@ function UpsertUserRequestBodyToJSON(value) {
|
|
|
27927
27928
|
return {
|
|
27928
27929
|
company: value["company"],
|
|
27929
27930
|
company_id: value["companyId"],
|
|
27931
|
+
id: value["id"],
|
|
27930
27932
|
keys: value["keys"],
|
|
27931
27933
|
last_seen_at: value["lastSeenAt"] == null ? void 0 : value["lastSeenAt"].toISOString(),
|
|
27932
27934
|
name: value["name"],
|
|
@@ -27980,6 +27982,7 @@ function UpsertUserSubRequestBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27980
27982
|
}
|
|
27981
27983
|
return {
|
|
27982
27984
|
companyId: json["company_id"] == null ? void 0 : json["company_id"],
|
|
27985
|
+
id: json["id"] == null ? void 0 : json["id"],
|
|
27983
27986
|
keys: json["keys"],
|
|
27984
27987
|
lastSeenAt: json["last_seen_at"] == null ? void 0 : new Date(json["last_seen_at"]),
|
|
27985
27988
|
name: json["name"] == null ? void 0 : json["name"],
|
|
@@ -27993,6 +27996,7 @@ function UpsertUserSubRequestBodyToJSON(value) {
|
|
|
27993
27996
|
}
|
|
27994
27997
|
return {
|
|
27995
27998
|
company_id: value["companyId"],
|
|
27999
|
+
id: value["id"],
|
|
27996
28000
|
keys: value["keys"],
|
|
27997
28001
|
last_seen_at: value["lastSeenAt"] == null ? void 0 : value["lastSeenAt"].toISOString(),
|
|
27998
28002
|
name: value["name"],
|
|
@@ -34127,7 +34131,7 @@ var Schematic = class {
|
|
|
34127
34131
|
constructor(apiKey, opts) {
|
|
34128
34132
|
const { offline = false } = opts ?? {};
|
|
34129
34133
|
const { basePath, flagDefaults = {} } = opts ?? {};
|
|
34130
|
-
const version = "1.0.
|
|
34134
|
+
const version = "1.0.14";
|
|
34131
34135
|
const headers = {
|
|
34132
34136
|
"User-Agent": `schematic-typescript-node@v${version}`
|
|
34133
34137
|
};
|
package/dist/schematic.d.ts
CHANGED
|
@@ -17921,7 +17921,7 @@ export declare interface UpsertCompanyRequest {
|
|
|
17921
17921
|
*/
|
|
17922
17922
|
export declare interface UpsertCompanyRequestBody {
|
|
17923
17923
|
/**
|
|
17924
|
-
*
|
|
17924
|
+
* If you know the Schematic ID, you can use that here instead of keys
|
|
17925
17925
|
* @type {string}
|
|
17926
17926
|
* @memberof UpsertCompanyRequestBody
|
|
17927
17927
|
*/
|
|
@@ -18234,6 +18234,12 @@ export declare interface UpsertUserRequestBody {
|
|
|
18234
18234
|
* @memberof UpsertUserRequestBody
|
|
18235
18235
|
*/
|
|
18236
18236
|
companyId?: string;
|
|
18237
|
+
/**
|
|
18238
|
+
* If you know the Schematic ID, you can use that here instead of keys
|
|
18239
|
+
* @type {string}
|
|
18240
|
+
* @memberof UpsertUserRequestBody
|
|
18241
|
+
*/
|
|
18242
|
+
id?: string;
|
|
18237
18243
|
/**
|
|
18238
18244
|
*
|
|
18239
18245
|
* @type {{ [key: string]: string; }}
|
|
@@ -18323,6 +18329,12 @@ export declare interface UpsertUserSubRequestBody {
|
|
|
18323
18329
|
* @memberof UpsertUserSubRequestBody
|
|
18324
18330
|
*/
|
|
18325
18331
|
companyId?: string;
|
|
18332
|
+
/**
|
|
18333
|
+
* If you know the Schematic ID, you can use that here instead of keys
|
|
18334
|
+
* @type {string}
|
|
18335
|
+
* @memberof UpsertUserSubRequestBody
|
|
18336
|
+
*/
|
|
18337
|
+
id?: string;
|
|
18326
18338
|
/**
|
|
18327
18339
|
*
|
|
18328
18340
|
* @type {{ [key: string]: string; }}
|
package/dist/schematic.esm.js
CHANGED
|
@@ -26694,6 +26694,7 @@ function UpsertUserRequestBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26694
26694
|
return {
|
|
26695
26695
|
company: json["company"],
|
|
26696
26696
|
companyId: json["company_id"] == null ? void 0 : json["company_id"],
|
|
26697
|
+
id: json["id"] == null ? void 0 : json["id"],
|
|
26697
26698
|
keys: json["keys"],
|
|
26698
26699
|
lastSeenAt: json["last_seen_at"] == null ? void 0 : new Date(json["last_seen_at"]),
|
|
26699
26700
|
name: json["name"] == null ? void 0 : json["name"],
|
|
@@ -26708,6 +26709,7 @@ function UpsertUserRequestBodyToJSON(value) {
|
|
|
26708
26709
|
return {
|
|
26709
26710
|
company: value["company"],
|
|
26710
26711
|
company_id: value["companyId"],
|
|
26712
|
+
id: value["id"],
|
|
26711
26713
|
keys: value["keys"],
|
|
26712
26714
|
last_seen_at: value["lastSeenAt"] == null ? void 0 : value["lastSeenAt"].toISOString(),
|
|
26713
26715
|
name: value["name"],
|
|
@@ -26761,6 +26763,7 @@ function UpsertUserSubRequestBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26761
26763
|
}
|
|
26762
26764
|
return {
|
|
26763
26765
|
companyId: json["company_id"] == null ? void 0 : json["company_id"],
|
|
26766
|
+
id: json["id"] == null ? void 0 : json["id"],
|
|
26764
26767
|
keys: json["keys"],
|
|
26765
26768
|
lastSeenAt: json["last_seen_at"] == null ? void 0 : new Date(json["last_seen_at"]),
|
|
26766
26769
|
name: json["name"] == null ? void 0 : json["name"],
|
|
@@ -26774,6 +26777,7 @@ function UpsertUserSubRequestBodyToJSON(value) {
|
|
|
26774
26777
|
}
|
|
26775
26778
|
return {
|
|
26776
26779
|
company_id: value["companyId"],
|
|
26780
|
+
id: value["id"],
|
|
26777
26781
|
keys: value["keys"],
|
|
26778
26782
|
last_seen_at: value["lastSeenAt"] == null ? void 0 : value["lastSeenAt"].toISOString(),
|
|
26779
26783
|
name: value["name"],
|
|
@@ -32908,7 +32912,7 @@ var Schematic = class {
|
|
|
32908
32912
|
constructor(apiKey, opts) {
|
|
32909
32913
|
const { offline = false } = opts ?? {};
|
|
32910
32914
|
const { basePath, flagDefaults = {} } = opts ?? {};
|
|
32911
|
-
const version = "1.0.
|
|
32915
|
+
const version = "1.0.14";
|
|
32912
32916
|
const headers = {
|
|
32913
32917
|
"User-Agent": `schematic-typescript-node@v${version}`
|
|
32914
32918
|
};
|
package/package.json
CHANGED