@seamapi/types 1.643.0 → 1.645.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/connect.cjs +96 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +155 -0
- package/dist/index.cjs +96 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +130 -0
- package/lib/seam/connect/openapi.js +96 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +25 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +97 -0
- package/src/lib/seam/connect/route-types.ts +25 -0
package/dist/connect.d.cts
CHANGED
|
@@ -84090,6 +84090,71 @@ declare const _default: {
|
|
|
84090
84090
|
'x-title': string;
|
|
84091
84091
|
};
|
|
84092
84092
|
};
|
|
84093
|
+
'/connected_accounts/simulate/disconnect': {
|
|
84094
|
+
post: {
|
|
84095
|
+
description: string;
|
|
84096
|
+
operationId: string;
|
|
84097
|
+
requestBody: {
|
|
84098
|
+
content: {
|
|
84099
|
+
'application/json': {
|
|
84100
|
+
schema: {
|
|
84101
|
+
properties: {
|
|
84102
|
+
connected_account_id: {
|
|
84103
|
+
format: string;
|
|
84104
|
+
type: string;
|
|
84105
|
+
};
|
|
84106
|
+
};
|
|
84107
|
+
required: string[];
|
|
84108
|
+
type: string;
|
|
84109
|
+
};
|
|
84110
|
+
};
|
|
84111
|
+
};
|
|
84112
|
+
};
|
|
84113
|
+
responses: {
|
|
84114
|
+
200: {
|
|
84115
|
+
content: {
|
|
84116
|
+
'application/json': {
|
|
84117
|
+
schema: {
|
|
84118
|
+
properties: {
|
|
84119
|
+
ok: {
|
|
84120
|
+
type: string;
|
|
84121
|
+
};
|
|
84122
|
+
};
|
|
84123
|
+
required: string[];
|
|
84124
|
+
type: string;
|
|
84125
|
+
};
|
|
84126
|
+
};
|
|
84127
|
+
};
|
|
84128
|
+
description: string;
|
|
84129
|
+
};
|
|
84130
|
+
400: {
|
|
84131
|
+
description: string;
|
|
84132
|
+
};
|
|
84133
|
+
401: {
|
|
84134
|
+
description: string;
|
|
84135
|
+
};
|
|
84136
|
+
};
|
|
84137
|
+
security: ({
|
|
84138
|
+
api_key: never[];
|
|
84139
|
+
pat_with_workspace?: never;
|
|
84140
|
+
console_session_with_workspace?: never;
|
|
84141
|
+
} | {
|
|
84142
|
+
pat_with_workspace: never[];
|
|
84143
|
+
api_key?: never;
|
|
84144
|
+
console_session_with_workspace?: never;
|
|
84145
|
+
} | {
|
|
84146
|
+
console_session_with_workspace: never[];
|
|
84147
|
+
api_key?: never;
|
|
84148
|
+
pat_with_workspace?: never;
|
|
84149
|
+
})[];
|
|
84150
|
+
summary: string;
|
|
84151
|
+
tags: string[];
|
|
84152
|
+
'x-fern-sdk-group-name': string[];
|
|
84153
|
+
'x-fern-sdk-method-name': string;
|
|
84154
|
+
'x-response-key': null;
|
|
84155
|
+
'x-title': string;
|
|
84156
|
+
};
|
|
84157
|
+
};
|
|
84093
84158
|
'/connected_accounts/sync': {
|
|
84094
84159
|
post: {
|
|
84095
84160
|
description: string;
|
|
@@ -99768,6 +99833,71 @@ declare const _default: {
|
|
|
99768
99833
|
'x-undocumented': string;
|
|
99769
99834
|
};
|
|
99770
99835
|
};
|
|
99836
|
+
'/seam/mobile_sdk/v1/report_salto_space_audit_trail': {
|
|
99837
|
+
post: {
|
|
99838
|
+
description: string;
|
|
99839
|
+
operationId: string;
|
|
99840
|
+
requestBody: {
|
|
99841
|
+
content: {
|
|
99842
|
+
'application/json': {
|
|
99843
|
+
schema: {
|
|
99844
|
+
properties: {
|
|
99845
|
+
acs_system_id: {
|
|
99846
|
+
format: string;
|
|
99847
|
+
type: string;
|
|
99848
|
+
};
|
|
99849
|
+
salto_space_metadata: {
|
|
99850
|
+
properties: {
|
|
99851
|
+
justin_mobile_sdk_audit_trail_data: {
|
|
99852
|
+
type: string;
|
|
99853
|
+
};
|
|
99854
|
+
};
|
|
99855
|
+
required: string[];
|
|
99856
|
+
type: string;
|
|
99857
|
+
};
|
|
99858
|
+
};
|
|
99859
|
+
required: string[];
|
|
99860
|
+
type: string;
|
|
99861
|
+
};
|
|
99862
|
+
};
|
|
99863
|
+
};
|
|
99864
|
+
};
|
|
99865
|
+
responses: {
|
|
99866
|
+
200: {
|
|
99867
|
+
content: {
|
|
99868
|
+
'application/json': {
|
|
99869
|
+
schema: {
|
|
99870
|
+
properties: {
|
|
99871
|
+
ok: {
|
|
99872
|
+
type: string;
|
|
99873
|
+
};
|
|
99874
|
+
};
|
|
99875
|
+
required: string[];
|
|
99876
|
+
type: string;
|
|
99877
|
+
};
|
|
99878
|
+
};
|
|
99879
|
+
};
|
|
99880
|
+
description: string;
|
|
99881
|
+
};
|
|
99882
|
+
400: {
|
|
99883
|
+
description: string;
|
|
99884
|
+
};
|
|
99885
|
+
401: {
|
|
99886
|
+
description: string;
|
|
99887
|
+
};
|
|
99888
|
+
};
|
|
99889
|
+
security: {
|
|
99890
|
+
client_session: never[];
|
|
99891
|
+
}[];
|
|
99892
|
+
summary: string;
|
|
99893
|
+
tags: never[];
|
|
99894
|
+
'x-fern-sdk-group-name': string[];
|
|
99895
|
+
'x-fern-sdk-method-name': string;
|
|
99896
|
+
'x-response-key': null;
|
|
99897
|
+
'x-title': string;
|
|
99898
|
+
'x-undocumented': string;
|
|
99899
|
+
};
|
|
99900
|
+
};
|
|
99771
99901
|
'/seam/partner/v1/building_blocks/spaces/auto_map': {
|
|
99772
99902
|
get: {
|
|
99773
99903
|
description: string;
|
|
@@ -143325,6 +143455,17 @@ type Routes = {
|
|
|
143325
143455
|
};
|
|
143326
143456
|
};
|
|
143327
143457
|
};
|
|
143458
|
+
'/connected_accounts/simulate/disconnect': {
|
|
143459
|
+
route: '/connected_accounts/simulate/disconnect';
|
|
143460
|
+
method: 'POST';
|
|
143461
|
+
queryParams: {};
|
|
143462
|
+
jsonBody: {
|
|
143463
|
+
connected_account_id: string;
|
|
143464
|
+
};
|
|
143465
|
+
commonParams: {};
|
|
143466
|
+
formData: {};
|
|
143467
|
+
jsonResponse: {};
|
|
143468
|
+
};
|
|
143328
143469
|
'/connected_accounts/sync': {
|
|
143329
143470
|
route: '/connected_accounts/sync';
|
|
143330
143471
|
method: 'POST';
|
|
@@ -172206,6 +172347,20 @@ type Routes = {
|
|
|
172206
172347
|
};
|
|
172207
172348
|
};
|
|
172208
172349
|
};
|
|
172350
|
+
'/seam/mobile_sdk/v1/report_salto_space_audit_trail': {
|
|
172351
|
+
route: '/seam/mobile_sdk/v1/report_salto_space_audit_trail';
|
|
172352
|
+
method: 'POST';
|
|
172353
|
+
queryParams: {};
|
|
172354
|
+
jsonBody: {
|
|
172355
|
+
acs_system_id: string;
|
|
172356
|
+
salto_space_metadata: {
|
|
172357
|
+
justin_mobile_sdk_audit_trail_data: string;
|
|
172358
|
+
};
|
|
172359
|
+
};
|
|
172360
|
+
commonParams: {};
|
|
172361
|
+
formData: {};
|
|
172362
|
+
jsonResponse: {};
|
|
172363
|
+
};
|
|
172209
172364
|
'/seam/partner/v1/building_blocks/spaces/auto_map': {
|
|
172210
172365
|
route: '/seam/partner/v1/building_blocks/spaces/auto_map';
|
|
172211
172366
|
method: 'GET' | 'POST';
|
package/dist/index.cjs
CHANGED
|
@@ -43233,6 +43233,52 @@ var openapi_default = {
|
|
|
43233
43233
|
"x-title": "List Connected Accounts"
|
|
43234
43234
|
}
|
|
43235
43235
|
},
|
|
43236
|
+
"/connected_accounts/simulate/disconnect": {
|
|
43237
|
+
post: {
|
|
43238
|
+
description: "Simulates a connected account becoming disconnected from Seam. Only applicable for [sandbox workspaces](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces).",
|
|
43239
|
+
operationId: "connectedAccountsSimulateDisconnectPost",
|
|
43240
|
+
requestBody: {
|
|
43241
|
+
content: {
|
|
43242
|
+
"application/json": {
|
|
43243
|
+
schema: {
|
|
43244
|
+
properties: {
|
|
43245
|
+
connected_account_id: { format: "uuid", type: "string" }
|
|
43246
|
+
},
|
|
43247
|
+
required: ["connected_account_id"],
|
|
43248
|
+
type: "object"
|
|
43249
|
+
}
|
|
43250
|
+
}
|
|
43251
|
+
}
|
|
43252
|
+
},
|
|
43253
|
+
responses: {
|
|
43254
|
+
200: {
|
|
43255
|
+
content: {
|
|
43256
|
+
"application/json": {
|
|
43257
|
+
schema: {
|
|
43258
|
+
properties: { ok: { type: "boolean" } },
|
|
43259
|
+
required: ["ok"],
|
|
43260
|
+
type: "object"
|
|
43261
|
+
}
|
|
43262
|
+
}
|
|
43263
|
+
},
|
|
43264
|
+
description: "OK"
|
|
43265
|
+
},
|
|
43266
|
+
400: { description: "Bad Request" },
|
|
43267
|
+
401: { description: "Unauthorized" }
|
|
43268
|
+
},
|
|
43269
|
+
security: [
|
|
43270
|
+
{ api_key: [] },
|
|
43271
|
+
{ pat_with_workspace: [] },
|
|
43272
|
+
{ console_session_with_workspace: [] }
|
|
43273
|
+
],
|
|
43274
|
+
summary: "/connected_accounts/simulate/disconnect",
|
|
43275
|
+
tags: ["/connected_accounts"],
|
|
43276
|
+
"x-fern-sdk-group-name": ["connected_accounts", "simulate"],
|
|
43277
|
+
"x-fern-sdk-method-name": "disconnect",
|
|
43278
|
+
"x-response-key": null,
|
|
43279
|
+
"x-title": "Simulate Connected Account Disconnection"
|
|
43280
|
+
}
|
|
43281
|
+
},
|
|
43236
43282
|
"/connected_accounts/sync": {
|
|
43237
43283
|
post: {
|
|
43238
43284
|
description: "Request a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) sync attempt for the specified `connected_account_id`.",
|
|
@@ -58043,6 +58089,56 @@ var openapi_default = {
|
|
|
58043
58089
|
"x-undocumented": "Mobile SDK only."
|
|
58044
58090
|
}
|
|
58045
58091
|
},
|
|
58092
|
+
"/seam/mobile_sdk/v1/report_salto_space_audit_trail": {
|
|
58093
|
+
post: {
|
|
58094
|
+
description: "Reports audit trail data from Salto Space mobile SDK.",
|
|
58095
|
+
operationId: "seamMobileSdkV1ReportSaltoSpaceAuditTrailPost",
|
|
58096
|
+
requestBody: {
|
|
58097
|
+
content: {
|
|
58098
|
+
"application/json": {
|
|
58099
|
+
schema: {
|
|
58100
|
+
properties: {
|
|
58101
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
58102
|
+
salto_space_metadata: {
|
|
58103
|
+
properties: {
|
|
58104
|
+
justin_mobile_sdk_audit_trail_data: { type: "string" }
|
|
58105
|
+
},
|
|
58106
|
+
required: ["justin_mobile_sdk_audit_trail_data"],
|
|
58107
|
+
type: "object"
|
|
58108
|
+
}
|
|
58109
|
+
},
|
|
58110
|
+
required: ["acs_system_id", "salto_space_metadata"],
|
|
58111
|
+
type: "object"
|
|
58112
|
+
}
|
|
58113
|
+
}
|
|
58114
|
+
}
|
|
58115
|
+
},
|
|
58116
|
+
responses: {
|
|
58117
|
+
200: {
|
|
58118
|
+
content: {
|
|
58119
|
+
"application/json": {
|
|
58120
|
+
schema: {
|
|
58121
|
+
properties: { ok: { type: "boolean" } },
|
|
58122
|
+
required: ["ok"],
|
|
58123
|
+
type: "object"
|
|
58124
|
+
}
|
|
58125
|
+
}
|
|
58126
|
+
},
|
|
58127
|
+
description: "OK"
|
|
58128
|
+
},
|
|
58129
|
+
400: { description: "Bad Request" },
|
|
58130
|
+
401: { description: "Unauthorized" }
|
|
58131
|
+
},
|
|
58132
|
+
security: [{ client_session: [] }],
|
|
58133
|
+
summary: "/seam/mobile_sdk/v1/report_salto_space_audit_trail",
|
|
58134
|
+
tags: [],
|
|
58135
|
+
"x-fern-sdk-group-name": ["seam", "mobile_sdk", "v1"],
|
|
58136
|
+
"x-fern-sdk-method-name": "report_salto_space_audit_trail",
|
|
58137
|
+
"x-response-key": null,
|
|
58138
|
+
"x-title": "Report Salto Space Audit Trail",
|
|
58139
|
+
"x-undocumented": "Mobile SDK only."
|
|
58140
|
+
}
|
|
58141
|
+
},
|
|
58046
58142
|
"/seam/partner/v1/building_blocks/spaces/auto_map": {
|
|
58047
58143
|
get: {
|
|
58048
58144
|
description: "Auto-maps partner resources that have been pushed to Seam.",
|