@seamapi/types 1.177.1 → 1.178.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 +11 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +30 -4
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/index.d.ts +2 -2
- package/lib/seam/connect/models/index.js +2 -2
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/models/user-identities/index.d.ts +1 -0
- package/lib/seam/connect/models/user-identities/index.js +2 -0
- package/lib/seam/connect/models/user-identities/index.js.map +1 -0
- package/lib/seam/connect/models/{user-identity.js → user-identities/user-identity.js} +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -0
- package/lib/seam/connect/models/workspaces/index.d.ts +1 -0
- package/lib/seam/connect/models/workspaces/index.js +2 -0
- package/lib/seam/connect/models/workspaces/index.js.map +1 -0
- package/lib/seam/connect/models/workspaces/workspace.d.ts +17 -0
- package/lib/seam/connect/models/workspaces/workspace.js +8 -0
- package/lib/seam/connect/models/workspaces/workspace.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +8 -0
- package/lib/seam/connect/openapi.js +3 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +3 -3
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -1
- package/src/lib/seam/connect/models/index.ts +2 -2
- package/src/lib/seam/connect/models/user-identities/index.ts +1 -0
- package/src/lib/seam/connect/models/{user-identity.ts → user-identities/user-identity.ts} +1 -1
- package/src/lib/seam/connect/models/workspaces/index.ts +1 -0
- package/src/lib/seam/connect/models/workspaces/workspace.ts +8 -0
- package/src/lib/seam/connect/openapi.ts +3 -2
- package/src/lib/seam/connect/route-types.ts +7 -9
- package/src/lib/seam/connect/schemas.ts +1 -0
- package/lib/seam/connect/models/network.d.ts +0 -18
- package/lib/seam/connect/models/network.js +0 -8
- package/lib/seam/connect/models/network.js.map +0 -1
- package/lib/seam/connect/models/user-identity.js.map +0 -1
- package/src/lib/seam/connect/models/network.ts +0 -10
- /package/lib/seam/connect/models/{user-identity.d.ts → user-identities/user-identity.d.ts} +0 -0
package/dist/connect.d.cts
CHANGED
|
@@ -2308,12 +2308,30 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
2308
2308
|
type SeamEvent = z.infer<typeof seam_event>;
|
|
2309
2309
|
type SeamEventType = SeamEvent['event_type'];
|
|
2310
2310
|
|
|
2311
|
+
declare const workspace: z.ZodObject<{
|
|
2312
|
+
workspace_id: z.ZodString;
|
|
2313
|
+
name: z.ZodString;
|
|
2314
|
+
is_sandbox: z.ZodBoolean;
|
|
2315
|
+
connect_partner_name: z.ZodNullable<z.ZodString>;
|
|
2316
|
+
}, "strip", z.ZodTypeAny, {
|
|
2317
|
+
name: string;
|
|
2318
|
+
workspace_id: string;
|
|
2319
|
+
is_sandbox: boolean;
|
|
2320
|
+
connect_partner_name: string | null;
|
|
2321
|
+
}, {
|
|
2322
|
+
name: string;
|
|
2323
|
+
workspace_id: string;
|
|
2324
|
+
is_sandbox: boolean;
|
|
2325
|
+
connect_partner_name: string | null;
|
|
2326
|
+
}>;
|
|
2327
|
+
|
|
2311
2328
|
declare const schemas_action_attempt: typeof action_attempt;
|
|
2312
2329
|
declare const schemas_connect_webview: typeof connect_webview;
|
|
2313
2330
|
declare const schemas_custom_metadata: typeof custom_metadata;
|
|
2314
2331
|
declare const schemas_seam_event: typeof seam_event;
|
|
2332
|
+
declare const schemas_workspace: typeof workspace;
|
|
2315
2333
|
declare namespace schemas {
|
|
2316
|
-
export { schemas_action_attempt as action_attempt, schemas_connect_webview as connect_webview, schemas_custom_metadata as custom_metadata, schemas_seam_event as seam_event };
|
|
2334
|
+
export { schemas_action_attempt as action_attempt, schemas_connect_webview as connect_webview, schemas_custom_metadata as custom_metadata, schemas_seam_event as seam_event, schemas_workspace as workspace };
|
|
2317
2335
|
}
|
|
2318
2336
|
|
|
2319
2337
|
declare const _default: {
|
|
@@ -11762,15 +11780,23 @@ declare const _default: {
|
|
|
11762
11780
|
};
|
|
11763
11781
|
};
|
|
11764
11782
|
security: ({
|
|
11783
|
+
client_session: never[];
|
|
11784
|
+
api_key?: never;
|
|
11785
|
+
pat_with_workspace?: never;
|
|
11786
|
+
console_session?: never;
|
|
11787
|
+
} | {
|
|
11765
11788
|
api_key: never[];
|
|
11789
|
+
client_session?: never;
|
|
11766
11790
|
pat_with_workspace?: never;
|
|
11767
11791
|
console_session?: never;
|
|
11768
11792
|
} | {
|
|
11769
11793
|
pat_with_workspace: never[];
|
|
11794
|
+
client_session?: never;
|
|
11770
11795
|
api_key?: never;
|
|
11771
11796
|
console_session?: never;
|
|
11772
11797
|
} | {
|
|
11773
11798
|
console_session: never[];
|
|
11799
|
+
client_session?: never;
|
|
11774
11800
|
api_key?: never;
|
|
11775
11801
|
pat_with_workspace?: never;
|
|
11776
11802
|
})[];
|
|
@@ -36356,8 +36382,8 @@ interface Routes {
|
|
|
36356
36382
|
workspace: {
|
|
36357
36383
|
workspace_id: string;
|
|
36358
36384
|
name: string;
|
|
36359
|
-
connect_partner_name: string | null;
|
|
36360
36385
|
is_sandbox: boolean;
|
|
36386
|
+
connect_partner_name: string | null;
|
|
36361
36387
|
};
|
|
36362
36388
|
};
|
|
36363
36389
|
};
|
|
@@ -36369,12 +36395,12 @@ interface Routes {
|
|
|
36369
36395
|
commonParams: {};
|
|
36370
36396
|
formData: {};
|
|
36371
36397
|
jsonResponse: {
|
|
36372
|
-
workspace
|
|
36398
|
+
workspace: {
|
|
36373
36399
|
workspace_id: string;
|
|
36374
36400
|
name: string;
|
|
36375
36401
|
is_sandbox: boolean;
|
|
36376
36402
|
connect_partner_name: string | null;
|
|
36377
|
-
}
|
|
36403
|
+
};
|
|
36378
36404
|
};
|
|
36379
36405
|
};
|
|
36380
36406
|
'/workspaces/list': {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, connect_webview_device_selection_mode, custom_metadata_input, device_capability_flags, device_metadata, dormakaba_oracode_time_slot, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device,
|
|
1
|
+
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, connect_webview_device_selection_mode, custom_metadata_input, device_capability_flags, device_metadata, dormakaba_oracode_time_slot, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, phone, phone_number, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, workspace, } from '../models/index.js';
|
|
2
2
|
export * from '../schemas.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, connect_webview_device_selection_mode, custom_metadata_input, device_capability_flags, device_metadata, dormakaba_oracode_time_slot, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device,
|
|
1
|
+
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, connect_webview_device_selection_mode, custom_metadata_input, device_capability_flags, device_metadata, dormakaba_oracode_time_slot, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, phone, phone_number, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, workspace, } from '../models/index.js';
|
|
2
2
|
export * from '../schemas.js';
|
|
3
3
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,iCAAiC,EACjC,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,qCAAqC,EACrC,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,iCAAiC,EACjC,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,qCAAqC,EACrC,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,wBAAwB,EACxB,KAAK,EACL,YAAY,EACZ,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,SAAS,GACV,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
|
|
@@ -6,6 +6,6 @@ export * from './connect-webviews/index.js';
|
|
|
6
6
|
export * from './custom-metadata.js';
|
|
7
7
|
export * from './devices/index.js';
|
|
8
8
|
export * from './events/index.js';
|
|
9
|
-
export * from './network.js';
|
|
10
9
|
export * from './phone-number.js';
|
|
11
|
-
export * from './user-
|
|
10
|
+
export * from './user-identities/index.js';
|
|
11
|
+
export * from './workspaces/index.js';
|
|
@@ -6,7 +6,7 @@ export * from './connect-webviews/index.js';
|
|
|
6
6
|
export * from './custom-metadata.js';
|
|
7
7
|
export * from './devices/index.js';
|
|
8
8
|
export * from './events/index.js';
|
|
9
|
-
export * from './network.js';
|
|
10
9
|
export * from './phone-number.js';
|
|
11
|
-
export * from './user-
|
|
10
|
+
export * from './user-identities/index.js';
|
|
11
|
+
export * from './workspaces/index.js';
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,kCAAkC,CAAA;AAChD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,kCAAkC,CAAA;AAChD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,uBAAuB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './user-identity.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/user-identities/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-identity.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/user-identities/user-identity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEjD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC/C,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,YAAY,CAAC,QAAQ,EAAE;IACrC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACvC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './workspace.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/workspaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const workspace: z.ZodObject<{
|
|
3
|
+
workspace_id: z.ZodString;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
is_sandbox: z.ZodBoolean;
|
|
6
|
+
connect_partner_name: z.ZodNullable<z.ZodString>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
name: string;
|
|
9
|
+
workspace_id: string;
|
|
10
|
+
is_sandbox: boolean;
|
|
11
|
+
connect_partner_name: string | null;
|
|
12
|
+
}, {
|
|
13
|
+
name: string;
|
|
14
|
+
workspace_id: string;
|
|
15
|
+
is_sandbox: boolean;
|
|
16
|
+
connect_partner_name: string | null;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/workspaces/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAA"}
|
|
@@ -9444,15 +9444,23 @@ declare const _default: {
|
|
|
9444
9444
|
};
|
|
9445
9445
|
};
|
|
9446
9446
|
security: ({
|
|
9447
|
+
client_session: never[];
|
|
9448
|
+
api_key?: never;
|
|
9449
|
+
pat_with_workspace?: never;
|
|
9450
|
+
console_session?: never;
|
|
9451
|
+
} | {
|
|
9447
9452
|
api_key: never[];
|
|
9453
|
+
client_session?: never;
|
|
9448
9454
|
pat_with_workspace?: never;
|
|
9449
9455
|
console_session?: never;
|
|
9450
9456
|
} | {
|
|
9451
9457
|
pat_with_workspace: never[];
|
|
9458
|
+
client_session?: never;
|
|
9452
9459
|
api_key?: never;
|
|
9453
9460
|
console_session?: never;
|
|
9454
9461
|
} | {
|
|
9455
9462
|
console_session: never[];
|
|
9463
|
+
client_session?: never;
|
|
9456
9464
|
api_key?: never;
|
|
9457
9465
|
pat_with_workspace?: never;
|
|
9458
9466
|
})[];
|
|
@@ -7777,6 +7777,7 @@ export default {
|
|
|
7777
7777
|
401: { description: 'Unauthorized' },
|
|
7778
7778
|
},
|
|
7779
7779
|
security: [
|
|
7780
|
+
{ client_session: [] },
|
|
7780
7781
|
{ api_key: [] },
|
|
7781
7782
|
{ pat_with_workspace: [] },
|
|
7782
7783
|
{ console_session: [] },
|
|
@@ -12616,7 +12617,7 @@ export default {
|
|
|
12616
12617
|
ok: { type: 'boolean' },
|
|
12617
12618
|
workspace: { $ref: '#/components/schemas/workspace' },
|
|
12618
12619
|
},
|
|
12619
|
-
required: ['ok'],
|
|
12620
|
+
required: ['workspace', 'ok'],
|
|
12620
12621
|
type: 'object',
|
|
12621
12622
|
},
|
|
12622
12623
|
},
|
|
@@ -12647,7 +12648,7 @@ export default {
|
|
|
12647
12648
|
ok: { type: 'boolean' },
|
|
12648
12649
|
workspace: { $ref: '#/components/schemas/workspace' },
|
|
12649
12650
|
},
|
|
12650
|
-
required: ['ok'],
|
|
12651
|
+
required: ['workspace', 'ok'],
|
|
12651
12652
|
type: 'object',
|
|
12652
12653
|
},
|
|
12653
12654
|
},
|