@seamapi/types 1.589.0 → 1.591.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.
@@ -10,6 +10,8 @@ export declare const spaces_batch: z.ZodObject<{
10
10
  created_at: z.ZodString;
11
11
  device_count: z.ZodNumber;
12
12
  acs_entrance_count: z.ZodNumber;
13
+ parent_space_id: z.ZodOptional<z.ZodString>;
14
+ parent_space_key: z.ZodOptional<z.ZodString>;
13
15
  }, "strip", z.ZodTypeAny, {
14
16
  name: string;
15
17
  display_name: string;
@@ -19,6 +21,8 @@ export declare const spaces_batch: z.ZodObject<{
19
21
  space_id: string;
20
22
  acs_entrance_count: number;
21
23
  space_key?: string | undefined;
24
+ parent_space_id?: string | undefined;
25
+ parent_space_key?: string | undefined;
22
26
  }, {
23
27
  name: string;
24
28
  display_name: string;
@@ -28,6 +32,8 @@ export declare const spaces_batch: z.ZodObject<{
28
32
  space_id: string;
29
33
  acs_entrance_count: number;
30
34
  space_key?: string | undefined;
35
+ parent_space_id?: string | undefined;
36
+ parent_space_key?: string | undefined;
31
37
  }>, "many">>;
32
38
  devices: z.ZodOptional<z.ZodArray<z.ZodObject<{
33
39
  device_id: z.ZodString;
@@ -5151,6 +5157,8 @@ export declare const spaces_batch: z.ZodObject<{
5151
5157
  space_id: string;
5152
5158
  acs_entrance_count: number;
5153
5159
  space_key?: string | undefined;
5160
+ parent_space_id?: string | undefined;
5161
+ parent_space_key?: string | undefined;
5154
5162
  }[] | undefined;
5155
5163
  devices?: {
5156
5164
  display_name: string;
@@ -6023,6 +6031,8 @@ export declare const spaces_batch: z.ZodObject<{
6023
6031
  space_id: string;
6024
6032
  acs_entrance_count: number;
6025
6033
  space_key?: string | undefined;
6034
+ parent_space_id?: string | undefined;
6035
+ parent_space_key?: string | undefined;
6026
6036
  }[] | undefined;
6027
6037
  devices?: {
6028
6038
  display_name: string;
@@ -6896,6 +6906,8 @@ export declare const access_grants_batch: z.ZodObject<{
6896
6906
  created_at: z.ZodString;
6897
6907
  device_count: z.ZodNumber;
6898
6908
  acs_entrance_count: z.ZodNumber;
6909
+ parent_space_id: z.ZodOptional<z.ZodString>;
6910
+ parent_space_key: z.ZodOptional<z.ZodString>;
6899
6911
  }, "strip", z.ZodTypeAny, {
6900
6912
  name: string;
6901
6913
  display_name: string;
@@ -6905,6 +6917,8 @@ export declare const access_grants_batch: z.ZodObject<{
6905
6917
  space_id: string;
6906
6918
  acs_entrance_count: number;
6907
6919
  space_key?: string | undefined;
6920
+ parent_space_id?: string | undefined;
6921
+ parent_space_key?: string | undefined;
6908
6922
  }, {
6909
6923
  name: string;
6910
6924
  display_name: string;
@@ -6914,6 +6928,8 @@ export declare const access_grants_batch: z.ZodObject<{
6914
6928
  space_id: string;
6915
6929
  acs_entrance_count: number;
6916
6930
  space_key?: string | undefined;
6931
+ parent_space_id?: string | undefined;
6932
+ parent_space_key?: string | undefined;
6917
6933
  }>, "many">>;
6918
6934
  devices: z.ZodOptional<z.ZodArray<z.ZodObject<{
6919
6935
  device_id: z.ZodString;
@@ -12212,6 +12228,8 @@ export declare const access_grants_batch: z.ZodObject<{
12212
12228
  space_id: string;
12213
12229
  acs_entrance_count: number;
12214
12230
  space_key?: string | undefined;
12231
+ parent_space_id?: string | undefined;
12232
+ parent_space_key?: string | undefined;
12215
12233
  }[] | undefined;
12216
12234
  devices?: {
12217
12235
  display_name: string;
@@ -13130,6 +13148,8 @@ export declare const access_grants_batch: z.ZodObject<{
13130
13148
  space_id: string;
13131
13149
  acs_entrance_count: number;
13132
13150
  space_key?: string | undefined;
13151
+ parent_space_id?: string | undefined;
13152
+ parent_space_key?: string | undefined;
13133
13153
  }[] | undefined;
13134
13154
  devices?: {
13135
13155
  display_name: string;
@@ -14049,6 +14069,8 @@ export declare const access_methods_batch: z.ZodObject<{
14049
14069
  created_at: z.ZodString;
14050
14070
  device_count: z.ZodNumber;
14051
14071
  acs_entrance_count: z.ZodNumber;
14072
+ parent_space_id: z.ZodOptional<z.ZodString>;
14073
+ parent_space_key: z.ZodOptional<z.ZodString>;
14052
14074
  }, "strip", z.ZodTypeAny, {
14053
14075
  name: string;
14054
14076
  display_name: string;
@@ -14058,6 +14080,8 @@ export declare const access_methods_batch: z.ZodObject<{
14058
14080
  space_id: string;
14059
14081
  acs_entrance_count: number;
14060
14082
  space_key?: string | undefined;
14083
+ parent_space_id?: string | undefined;
14084
+ parent_space_key?: string | undefined;
14061
14085
  }, {
14062
14086
  name: string;
14063
14087
  display_name: string;
@@ -14067,6 +14091,8 @@ export declare const access_methods_batch: z.ZodObject<{
14067
14091
  space_id: string;
14068
14092
  acs_entrance_count: number;
14069
14093
  space_key?: string | undefined;
14094
+ parent_space_id?: string | undefined;
14095
+ parent_space_key?: string | undefined;
14070
14096
  }>, "many">>;
14071
14097
  devices: z.ZodOptional<z.ZodArray<z.ZodObject<{
14072
14098
  device_id: z.ZodString;
@@ -18786,6 +18812,8 @@ export declare const access_methods_batch: z.ZodObject<{
18786
18812
  space_id: string;
18787
18813
  acs_entrance_count: number;
18788
18814
  space_key?: string | undefined;
18815
+ parent_space_id?: string | undefined;
18816
+ parent_space_key?: string | undefined;
18789
18817
  }[] | undefined;
18790
18818
  devices?: {
18791
18819
  display_name: string;
@@ -19600,6 +19628,8 @@ export declare const access_methods_batch: z.ZodObject<{
19600
19628
  space_id: string;
19601
19629
  acs_entrance_count: number;
19602
19630
  space_key?: string | undefined;
19631
+ parent_space_id?: string | undefined;
19632
+ parent_space_key?: string | undefined;
19603
19633
  }[] | undefined;
19604
19634
  devices?: {
19605
19635
  display_name: string;
@@ -20586,6 +20616,8 @@ export declare const workspaces_batch: z.ZodObject<{
20586
20616
  created_at: z.ZodString;
20587
20617
  device_count: z.ZodNumber;
20588
20618
  acs_entrance_count: z.ZodNumber;
20619
+ parent_space_id: z.ZodOptional<z.ZodString>;
20620
+ parent_space_key: z.ZodOptional<z.ZodString>;
20589
20621
  }, "strip", z.ZodTypeAny, {
20590
20622
  name: string;
20591
20623
  display_name: string;
@@ -20595,6 +20627,8 @@ export declare const workspaces_batch: z.ZodObject<{
20595
20627
  space_id: string;
20596
20628
  acs_entrance_count: number;
20597
20629
  space_key?: string | undefined;
20630
+ parent_space_id?: string | undefined;
20631
+ parent_space_key?: string | undefined;
20598
20632
  }, {
20599
20633
  name: string;
20600
20634
  display_name: string;
@@ -20604,6 +20638,8 @@ export declare const workspaces_batch: z.ZodObject<{
20604
20638
  space_id: string;
20605
20639
  acs_entrance_count: number;
20606
20640
  space_key?: string | undefined;
20641
+ parent_space_id?: string | undefined;
20642
+ parent_space_key?: string | undefined;
20607
20643
  }>, "many">>;
20608
20644
  devices: z.ZodOptional<z.ZodArray<z.ZodObject<{
20609
20645
  device_id: z.ZodString;
@@ -41474,6 +41510,8 @@ export declare const workspaces_batch: z.ZodObject<{
41474
41510
  space_id: string;
41475
41511
  acs_entrance_count: number;
41476
41512
  space_key?: string | undefined;
41513
+ parent_space_id?: string | undefined;
41514
+ parent_space_key?: string | undefined;
41477
41515
  }[] | undefined;
41478
41516
  devices?: {
41479
41517
  display_name: string;
@@ -45440,6 +45478,8 @@ export declare const workspaces_batch: z.ZodObject<{
45440
45478
  space_id: string;
45441
45479
  acs_entrance_count: number;
45442
45480
  space_key?: string | undefined;
45481
+ parent_space_id?: string | undefined;
45482
+ parent_space_key?: string | undefined;
45443
45483
  }[] | undefined;
45444
45484
  devices?: {
45445
45485
  display_name: string;
@@ -49567,6 +49607,8 @@ export declare const batch: z.ZodObject<{
49567
49607
  created_at: z.ZodString;
49568
49608
  device_count: z.ZodNumber;
49569
49609
  acs_entrance_count: z.ZodNumber;
49610
+ parent_space_id: z.ZodOptional<z.ZodString>;
49611
+ parent_space_key: z.ZodOptional<z.ZodString>;
49570
49612
  }, "strip", z.ZodTypeAny, {
49571
49613
  name: string;
49572
49614
  display_name: string;
@@ -49576,6 +49618,8 @@ export declare const batch: z.ZodObject<{
49576
49618
  space_id: string;
49577
49619
  acs_entrance_count: number;
49578
49620
  space_key?: string | undefined;
49621
+ parent_space_id?: string | undefined;
49622
+ parent_space_key?: string | undefined;
49579
49623
  }, {
49580
49624
  name: string;
49581
49625
  display_name: string;
@@ -49585,6 +49629,8 @@ export declare const batch: z.ZodObject<{
49585
49629
  space_id: string;
49586
49630
  acs_entrance_count: number;
49587
49631
  space_key?: string | undefined;
49632
+ parent_space_id?: string | undefined;
49633
+ parent_space_key?: string | undefined;
49588
49634
  }>, "many">>;
49589
49635
  devices: z.ZodOptional<z.ZodArray<z.ZodObject<{
49590
49636
  device_id: z.ZodString;
@@ -70083,6 +70129,8 @@ export declare const batch: z.ZodObject<{
70083
70129
  space_id: string;
70084
70130
  acs_entrance_count: number;
70085
70131
  space_key?: string | undefined;
70132
+ parent_space_id?: string | undefined;
70133
+ parent_space_key?: string | undefined;
70086
70134
  }[] | undefined;
70087
70135
  devices?: {
70088
70136
  display_name: string;
@@ -73980,6 +74028,8 @@ export declare const batch: z.ZodObject<{
73980
74028
  space_id: string;
73981
74029
  acs_entrance_count: number;
73982
74030
  space_key?: string | undefined;
74031
+ parent_space_id?: string | undefined;
74032
+ parent_space_key?: string | undefined;
73983
74033
  }[] | undefined;
73984
74034
  devices?: {
73985
74035
  display_name: string;
@@ -8,6 +8,8 @@ export declare const space: z.ZodObject<{
8
8
  created_at: z.ZodString;
9
9
  device_count: z.ZodNumber;
10
10
  acs_entrance_count: z.ZodNumber;
11
+ parent_space_id: z.ZodOptional<z.ZodString>;
12
+ parent_space_key: z.ZodOptional<z.ZodString>;
11
13
  }, "strip", z.ZodTypeAny, {
12
14
  name: string;
13
15
  display_name: string;
@@ -17,6 +19,8 @@ export declare const space: z.ZodObject<{
17
19
  space_id: string;
18
20
  acs_entrance_count: number;
19
21
  space_key?: string | undefined;
22
+ parent_space_id?: string | undefined;
23
+ parent_space_key?: string | undefined;
20
24
  }, {
21
25
  name: string;
22
26
  display_name: string;
@@ -26,5 +30,7 @@ export declare const space: z.ZodObject<{
26
30
  space_id: string;
27
31
  acs_entrance_count: number;
28
32
  space_key?: string | undefined;
33
+ parent_space_id?: string | undefined;
34
+ parent_space_key?: string | undefined;
29
35
  }>;
30
36
  export type Space = z.infer<typeof space>;
@@ -17,6 +17,16 @@ export const space = z.object({
17
17
  .describe('Date and time at which the space was created.'),
18
18
  device_count: z.number().describe('Number of devices in the space.'),
19
19
  acs_entrance_count: z.number().describe('Number of entrances in the space.'),
20
+ parent_space_id: z.string().uuid().optional().describe(`
21
+ ---
22
+ undocumented: Only used internally.
23
+ ---
24
+ `),
25
+ parent_space_key: z.string().optional().describe(`
26
+ ---
27
+ undocumented: Only used internally.
28
+ ---
29
+ `),
20
30
  }).describe(`
21
31
  ---
22
32
  draft: Early access.
@@ -1 +1 @@
1
- {"version":3,"file":"space.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/spaces/space.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wGAAwG,CACzG;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IAChE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;IAC5D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC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AAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
@@ -12166,6 +12166,15 @@ declare const _default: {
12166
12166
  description: string;
12167
12167
  type: string;
12168
12168
  };
12169
+ parent_space_id: {
12170
+ format: string;
12171
+ type: string;
12172
+ 'x-undocumented': string;
12173
+ };
12174
+ parent_space_key: {
12175
+ type: string;
12176
+ 'x-undocumented': string;
12177
+ };
12169
12178
  space_id: {
12170
12179
  description: string;
12171
12180
  format: string;
@@ -31062,6 +31071,105 @@ declare const _default: {
31062
31071
  };
31063
31072
  };
31064
31073
  '/connected_accounts/update': {
31074
+ patch: {
31075
+ description: string;
31076
+ operationId: string;
31077
+ requestBody: {
31078
+ content: {
31079
+ 'application/json': {
31080
+ schema: {
31081
+ properties: {
31082
+ accepted_capabilities: {
31083
+ description: string;
31084
+ items: {
31085
+ description: string;
31086
+ enum: string[];
31087
+ type: string;
31088
+ };
31089
+ type: string;
31090
+ };
31091
+ automatically_manage_new_devices: {
31092
+ description: string;
31093
+ type: string;
31094
+ };
31095
+ connected_account_id: {
31096
+ description: string;
31097
+ format: string;
31098
+ type: string;
31099
+ };
31100
+ custom_metadata: {
31101
+ additionalProperties: {
31102
+ nullable: boolean;
31103
+ oneOf: ({
31104
+ maxLength: number;
31105
+ type: string;
31106
+ } | {
31107
+ type: string;
31108
+ maxLength?: never;
31109
+ })[];
31110
+ };
31111
+ description: string;
31112
+ type: string;
31113
+ };
31114
+ customer_key: {
31115
+ description: string;
31116
+ minLength: number;
31117
+ type: string;
31118
+ };
31119
+ };
31120
+ required: string[];
31121
+ type: string;
31122
+ };
31123
+ };
31124
+ };
31125
+ };
31126
+ responses: {
31127
+ 200: {
31128
+ content: {
31129
+ 'application/json': {
31130
+ schema: {
31131
+ properties: {
31132
+ connected_account: {
31133
+ $ref: string;
31134
+ };
31135
+ ok: {
31136
+ type: string;
31137
+ };
31138
+ };
31139
+ required: string[];
31140
+ type: string;
31141
+ };
31142
+ };
31143
+ };
31144
+ description: string;
31145
+ };
31146
+ 400: {
31147
+ description: string;
31148
+ };
31149
+ 401: {
31150
+ description: string;
31151
+ };
31152
+ };
31153
+ security: ({
31154
+ pat_with_workspace: never[];
31155
+ console_session_with_workspace?: never;
31156
+ api_key?: never;
31157
+ } | {
31158
+ console_session_with_workspace: never[];
31159
+ pat_with_workspace?: never;
31160
+ api_key?: never;
31161
+ } | {
31162
+ api_key: never[];
31163
+ pat_with_workspace?: never;
31164
+ console_session_with_workspace?: never;
31165
+ })[];
31166
+ summary: string;
31167
+ tags: string[];
31168
+ 'x-fern-sdk-group-name': string[];
31169
+ 'x-fern-sdk-method-name': string;
31170
+ 'x-response-key': null;
31171
+ 'x-title': string;
31172
+ };
31065
31173
  post: {
31066
31174
  description: string;
31067
31175
  operationId: string;
@@ -43384,6 +43492,94 @@ declare const _default: {
43384
43492
  'x-undocumented': string;
43385
43493
  };
43386
43494
  };
43495
+ '/seam/customer/v1/spaces/create': {
43496
+ post: {
43497
+ description: string;
43498
+ operationId: string;
43499
+ requestBody: {
43500
+ content: {
43501
+ 'application/json': {
43502
+ schema: {
43503
+ properties: {
43504
+ acs_entrance_ids: {
43505
+ description: string;
43506
+ items: {
43507
+ format: string;
43508
+ type: string;
43509
+ };
43510
+ type: string;
43511
+ };
43512
+ device_ids: {
43513
+ description: string;
43514
+ items: {
43515
+ format: string;
43516
+ type: string;
43517
+ };
43518
+ type: string;
43519
+ };
43520
+ name: {
43521
+ description: string;
43522
+ type: string;
43523
+ };
43524
+ parent_space_key: {
43525
+ description: string;
43526
+ type: string;
43527
+ };
43528
+ parent_space_name: {
43529
+ description: string;
43530
+ type: string;
43531
+ };
43532
+ space_key: {
43533
+ description: string;
43534
+ type: string;
43535
+ };
43536
+ };
43537
+ required: string[];
43538
+ type: string;
43539
+ };
43540
+ };
43541
+ };
43542
+ };
43543
+ responses: {
43544
+ 200: {
43545
+ content: {
43546
+ 'application/json': {
43547
+ schema: {
43548
+ properties: {
43549
+ ok: {
43550
+ type: string;
43551
+ };
43552
+ space: {
43553
+ $ref: string;
43554
+ };
43555
+ };
43556
+ required: string[];
43557
+ type: string;
43558
+ };
43559
+ };
43560
+ };
43561
+ description: string;
43562
+ };
43563
+ 400: {
43564
+ description: string;
43565
+ };
43566
+ 401: {
43567
+ description: string;
43568
+ };
43569
+ };
43570
+ security: {
43571
+ client_session_with_customer: never[];
43572
+ }[];
43573
+ summary: string;
43574
+ tags: never[];
43575
+ 'x-draft': string;
43576
+ 'x-fern-sdk-group-name': string[];
43577
+ 'x-fern-sdk-method-name': string;
43578
+ 'x-fern-sdk-return-value': string;
43579
+ 'x-response-key': string;
43580
+ 'x-title': string;
43581
+ };
43582
+ };
43387
43583
  '/seam/instant_key/v1/client_sessions/exchange_short_code': {
43388
43584
  post: {
43389
43585
  description: string;