@seamapi/types 1.49.0 → 1.50.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.
@@ -748,6 +748,29 @@ export interface Routes {
748
748
  }>;
749
749
  };
750
750
  };
751
+ '/acs/credential_provisioning_automations/launch': {
752
+ route: '/acs/credential_provisioning_automations/launch';
753
+ method: 'POST';
754
+ queryParams: {};
755
+ jsonBody: {};
756
+ commonParams: {
757
+ user_identity_id: string;
758
+ credential_manager_acs_system_id: string;
759
+ acs_credential_pool_id?: string | undefined;
760
+ create_credential_manager_user?: boolean | undefined;
761
+ credential_manager_acs_user_id?: string | undefined;
762
+ };
763
+ formData: {};
764
+ jsonResponse: {
765
+ acs_credential_provisioning_automation: {
766
+ acs_credential_provisioning_automation_id: string;
767
+ credential_manager_acs_system_id: string;
768
+ user_identity_id: string;
769
+ created_at: string;
770
+ workspace_id: string;
771
+ };
772
+ };
773
+ };
751
774
  '/acs/credentials/assign': {
752
775
  route: '/acs/credentials/assign';
753
776
  method: 'PATCH' | 'POST';
@@ -0,0 +1,21 @@
1
+ import { z } from 'zod';
2
+ export declare const acs_credential_provisioning_automation: z.ZodObject<{
3
+ acs_credential_provisioning_automation_id: z.ZodString;
4
+ credential_manager_acs_system_id: z.ZodString;
5
+ user_identity_id: z.ZodString;
6
+ created_at: z.ZodString;
7
+ workspace_id: z.ZodString;
8
+ }, "strip", z.ZodTypeAny, {
9
+ workspace_id: string;
10
+ created_at: string;
11
+ user_identity_id: string;
12
+ credential_manager_acs_system_id: string;
13
+ acs_credential_provisioning_automation_id: string;
14
+ }, {
15
+ workspace_id: string;
16
+ created_at: string;
17
+ user_identity_id: string;
18
+ credential_manager_acs_system_id: string;
19
+ acs_credential_provisioning_automation_id: string;
20
+ }>;
21
+ export type AcsCredentialProvisioningAutomation = z.output<typeof acs_credential_provisioning_automation>;
@@ -0,0 +1,9 @@
1
+ import { z } from 'zod';
2
+ export const acs_credential_provisioning_automation = z.object({
3
+ acs_credential_provisioning_automation_id: z.string().uuid(),
4
+ credential_manager_acs_system_id: z.string().uuid(),
5
+ user_identity_id: z.string().uuid(),
6
+ created_at: z.string().datetime(),
7
+ workspace_id: z.string().uuid(),
8
+ });
9
+ //# sourceMappingURL=credential_provisioning_automation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credential_provisioning_automation.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7D,yCAAyC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC5D,gCAAgC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnD,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,CAAC,CAAA"}
@@ -1,6 +1,7 @@
1
1
  export * from './access_group.js';
2
2
  export * from './credential.js';
3
3
  export * from './credential_pool.js';
4
+ export * from './credential_provisioning_automation.js';
4
5
  export * from './entrance.js';
5
6
  export * from './system.js';
6
7
  export * from './user.js';
@@ -1,6 +1,7 @@
1
1
  export * from './access_group.js';
2
2
  export * from './credential.js';
3
3
  export * from './credential_pool.js';
4
+ export * from './credential_provisioning_automation.js';
4
5
  export * from './entrance.js';
5
6
  export * from './system.js';
6
7
  export * from './user.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,yCAAyC,CAAA;AACvD,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
@@ -1 +1 @@
1
- export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_entrance, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
1
+ export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
@@ -1,2 +1,2 @@
1
- export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_entrance, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
1
+ export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
2
2
  //# sourceMappingURL=schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/unstable/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,YAAY,EACZ,UAAU,EACV,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,wBAAwB,EACxB,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,GACd,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/unstable/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,wBAAwB,EACxB,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,GACd,MAAM,mBAAmB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.49.0",
3
+ "version": "1.50.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -3229,6 +3229,87 @@ export default {
3229
3229
  'x-fern-sdk-method-name': 'list',
3230
3230
  },
3231
3231
  },
3232
+ '/acs/credential_provisioning_automations/launch': {
3233
+ post: {
3234
+ operationId: 'acsCredentialProvisioningAutomationsLaunchPost',
3235
+ requestBody: {
3236
+ content: {
3237
+ 'application/json': {
3238
+ schema: {
3239
+ properties: {
3240
+ acs_credential_pool_id: { format: 'uuid', type: 'string' },
3241
+ create_credential_manager_user: { type: 'boolean' },
3242
+ credential_manager_acs_system_id: {
3243
+ format: 'uuid',
3244
+ type: 'string',
3245
+ },
3246
+ credential_manager_acs_user_id: {
3247
+ format: 'uuid',
3248
+ type: 'string',
3249
+ },
3250
+ user_identity_id: { format: 'uuid', type: 'string' },
3251
+ },
3252
+ required: [
3253
+ 'user_identity_id',
3254
+ 'credential_manager_acs_system_id',
3255
+ ],
3256
+ type: 'object',
3257
+ },
3258
+ },
3259
+ },
3260
+ },
3261
+ responses: {
3262
+ 200: {
3263
+ content: {
3264
+ 'application/json': {
3265
+ schema: {
3266
+ properties: {
3267
+ acs_credential_provisioning_automation: {
3268
+ properties: {
3269
+ acs_credential_provisioning_automation_id: {
3270
+ format: 'uuid',
3271
+ type: 'string',
3272
+ },
3273
+ created_at: { format: 'date-time', type: 'string' },
3274
+ credential_manager_acs_system_id: {
3275
+ format: 'uuid',
3276
+ type: 'string',
3277
+ },
3278
+ user_identity_id: { format: 'uuid', type: 'string' },
3279
+ workspace_id: { format: 'uuid', type: 'string' },
3280
+ },
3281
+ required: [
3282
+ 'acs_credential_provisioning_automation_id',
3283
+ 'credential_manager_acs_system_id',
3284
+ 'user_identity_id',
3285
+ 'created_at',
3286
+ 'workspace_id',
3287
+ ],
3288
+ type: 'object',
3289
+ },
3290
+ ok: { type: 'boolean' },
3291
+ },
3292
+ required: ['acs_credential_provisioning_automation', 'ok'],
3293
+ type: 'object',
3294
+ },
3295
+ },
3296
+ },
3297
+ description: 'OK',
3298
+ },
3299
+ 400: { description: 'Bad Request' },
3300
+ 401: { description: 'Unauthorized' },
3301
+ },
3302
+ security: [
3303
+ { access_token: [], seam_workspace: [] },
3304
+ { seam_client_session_token: [] },
3305
+ { client_session_token: [] },
3306
+ ],
3307
+ summary: '/acs/credential_provisioning_automations/launch',
3308
+ tags: [],
3309
+ 'x-fern-sdk-group-name': ['acs', 'credential_provisioning_automations'],
3310
+ 'x-fern-sdk-method-name': 'launch',
3311
+ },
3312
+ },
3232
3313
  '/acs/credentials/assign': {
3233
3314
  patch: {
3234
3315
  operationId: 'acsCredentialsAssignPatch',
@@ -776,6 +776,29 @@ export interface Routes {
776
776
  }>
777
777
  }
778
778
  }
779
+ '/acs/credential_provisioning_automations/launch': {
780
+ route: '/acs/credential_provisioning_automations/launch'
781
+ method: 'POST'
782
+ queryParams: {}
783
+ jsonBody: {}
784
+ commonParams: {
785
+ user_identity_id: string
786
+ credential_manager_acs_system_id: string
787
+ acs_credential_pool_id?: string | undefined
788
+ create_credential_manager_user?: boolean | undefined
789
+ credential_manager_acs_user_id?: string | undefined
790
+ }
791
+ formData: {}
792
+ jsonResponse: {
793
+ acs_credential_provisioning_automation: {
794
+ acs_credential_provisioning_automation_id: string
795
+ credential_manager_acs_system_id: string
796
+ user_identity_id: string
797
+ created_at: string
798
+ workspace_id: string
799
+ }
800
+ }
801
+ }
779
802
  '/acs/credentials/assign': {
780
803
  route: '/acs/credentials/assign'
781
804
  method: 'PATCH' | 'POST'
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod'
2
+
3
+ export const acs_credential_provisioning_automation = z.object({
4
+ acs_credential_provisioning_automation_id: z.string().uuid(),
5
+ credential_manager_acs_system_id: z.string().uuid(),
6
+ user_identity_id: z.string().uuid(),
7
+ created_at: z.string().datetime(),
8
+ workspace_id: z.string().uuid(),
9
+ })
10
+
11
+ export type AcsCredentialProvisioningAutomation = z.output<
12
+ typeof acs_credential_provisioning_automation
13
+ >
@@ -1,6 +1,7 @@
1
1
  export * from './access_group.js'
2
2
  export * from './credential.js'
3
3
  export * from './credential_pool.js'
4
+ export * from './credential_provisioning_automation.js'
4
5
  export * from './entrance.js'
5
6
  export * from './system.js'
6
7
  export * from './user.js'
@@ -6,6 +6,7 @@ export {
6
6
  acs_credential_external_type,
7
7
  acs_credential_pool,
8
8
  acs_credential_pool_external_type,
9
+ acs_credential_provisioning_automation,
9
10
  acs_entrance,
10
11
  acs_system,
11
12
  acs_system_external_type,