@seamapi/types 1.14.0 → 1.15.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.
@@ -201,6 +201,7 @@ export interface Routes {
201
201
  commonParams: {
202
202
  device_id?: string | undefined;
203
203
  access_code_ids?: string[] | undefined;
204
+ user_identifier_key?: string | undefined;
204
205
  };
205
206
  formData: {};
206
207
  jsonResponse: {
@@ -597,7 +598,7 @@ export interface Routes {
597
598
  jsonBody: {};
598
599
  commonParams: {
599
600
  acs_user_id: string;
600
- code: string;
601
+ code?: string | undefined;
601
602
  };
602
603
  formData: {};
603
604
  jsonResponse: {
@@ -605,7 +606,7 @@ export interface Routes {
605
606
  acs_credential_id: string;
606
607
  acs_user_id: string;
607
608
  acs_system_id: string;
608
- code: string;
609
+ code: string | null;
609
610
  created_at: string;
610
611
  workspace_id: string;
611
612
  };
@@ -636,7 +637,7 @@ export interface Routes {
636
637
  acs_credential_id: string;
637
638
  acs_user_id: string;
638
639
  acs_system_id: string;
639
- code: string;
640
+ code: string | null;
640
641
  created_at: string;
641
642
  workspace_id: string;
642
643
  };
@@ -656,7 +657,7 @@ export interface Routes {
656
657
  acs_credential_id: string;
657
658
  acs_user_id: string;
658
659
  acs_system_id: string;
659
- code: string;
660
+ code: string | null;
660
661
  created_at: string;
661
662
  workspace_id: string;
662
663
  }>;
@@ -686,7 +687,9 @@ export interface Routes {
686
687
  method: 'GET' | 'POST';
687
688
  queryParams: {};
688
689
  jsonBody: {};
689
- commonParams: {};
690
+ commonParams: {
691
+ connected_account_id?: string | undefined;
692
+ };
690
693
  formData: {};
691
694
  jsonResponse: {
692
695
  acs_systems: Array<{
@@ -1587,6 +1590,7 @@ export interface Routes {
1587
1590
  device_ids?: string[] | undefined;
1588
1591
  limit?: number;
1589
1592
  created_before?: string | undefined;
1593
+ user_identifier_key?: string | undefined;
1590
1594
  };
1591
1595
  formData: {};
1592
1596
  jsonResponse: {
@@ -2051,6 +2055,7 @@ export interface Routes {
2051
2055
  device_ids?: string[] | undefined;
2052
2056
  limit?: number;
2053
2057
  created_before?: string | undefined;
2058
+ user_identifier_key?: string | undefined;
2054
2059
  };
2055
2060
  formData: {};
2056
2061
  jsonResponse: {
@@ -2269,6 +2274,7 @@ export interface Routes {
2269
2274
  device_ids?: string[] | undefined;
2270
2275
  limit?: number;
2271
2276
  created_before?: string | undefined;
2277
+ user_identifier_key?: string | undefined;
2272
2278
  };
2273
2279
  formData: {};
2274
2280
  jsonResponse: {
@@ -3125,6 +3131,7 @@ export interface Routes {
3125
3131
  device_ids?: string[] | undefined;
3126
3132
  limit?: number;
3127
3133
  created_before?: string | undefined;
3134
+ user_identifier_key?: string | undefined;
3128
3135
  };
3129
3136
  formData: {};
3130
3137
  jsonResponse: {
@@ -3,18 +3,18 @@ export declare const acs_credential: z.ZodObject<{
3
3
  acs_credential_id: z.ZodString;
4
4
  acs_user_id: z.ZodString;
5
5
  acs_system_id: z.ZodString;
6
- code: z.ZodString;
6
+ code: z.ZodNullable<z.ZodString>;
7
7
  created_at: z.ZodString;
8
8
  workspace_id: z.ZodString;
9
9
  }, "strip", z.ZodTypeAny, {
10
- code: string;
10
+ code: string | null;
11
11
  workspace_id: string;
12
12
  created_at: string;
13
13
  acs_system_id: string;
14
14
  acs_user_id: string;
15
15
  acs_credential_id: string;
16
16
  }, {
17
- code: string;
17
+ code: string | null;
18
18
  workspace_id: string;
19
19
  created_at: string;
20
20
  acs_system_id: string;
@@ -3,7 +3,7 @@ export const acs_credential = z.object({
3
3
  acs_credential_id: z.string().uuid(),
4
4
  acs_user_id: z.string().uuid(),
5
5
  acs_system_id: z.string().uuid(),
6
- code: z.string(),
6
+ code: z.string().nullable(),
7
7
  // TODO: credential_type: z.enum([...]) we don't know what enum types we want yet
8
8
  created_at: z.string().datetime(),
9
9
  workspace_id: z.string().uuid(),
@@ -1 +1 @@
1
- {"version":3,"file":"credential.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACpC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,iFAAiF;IACjF,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,CAAC,CAAA"}
1
+ {"version":3,"file":"credential.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACpC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,iFAAiF;IACjF,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.14.0",
3
+ "version": "1.15.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1823,6 +1823,7 @@ export default {
1823
1823
  type: 'array',
1824
1824
  },
1825
1825
  device_id: { format: 'uuid', type: 'string' },
1826
+ user_identifier_key: { type: 'string' },
1826
1827
  },
1827
1828
  type: 'object',
1828
1829
  },
@@ -3030,9 +3031,9 @@ export default {
3030
3031
  schema: {
3031
3032
  properties: {
3032
3033
  acs_user_id: { format: 'uuid', type: 'string' },
3033
- code: { pattern: '^\\d+$', type: 'string' },
3034
+ code: { oneOf: [{ pattern: '^\\d+$', type: 'string' }, {}] },
3034
3035
  },
3035
- required: ['acs_user_id', 'code'],
3036
+ required: ['acs_user_id'],
3036
3037
  type: 'object',
3037
3038
  },
3038
3039
  },
@@ -3049,7 +3050,7 @@ export default {
3049
3050
  acs_credential_id: { format: 'uuid', type: 'string' },
3050
3051
  acs_system_id: { format: 'uuid', type: 'string' },
3051
3052
  acs_user_id: { format: 'uuid', type: 'string' },
3052
- code: { type: 'string' },
3053
+ code: { nullable: true, type: 'string' },
3053
3054
  created_at: { format: 'date-time', type: 'string' },
3054
3055
  workspace_id: { format: 'uuid', type: 'string' },
3055
3056
  },
@@ -3156,7 +3157,7 @@ export default {
3156
3157
  acs_credential_id: { format: 'uuid', type: 'string' },
3157
3158
  acs_system_id: { format: 'uuid', type: 'string' },
3158
3159
  acs_user_id: { format: 'uuid', type: 'string' },
3159
- code: { type: 'string' },
3160
+ code: { nullable: true, type: 'string' },
3160
3161
  created_at: { format: 'date-time', type: 'string' },
3161
3162
  workspace_id: { format: 'uuid', type: 'string' },
3162
3163
  },
@@ -3219,7 +3220,7 @@ export default {
3219
3220
  acs_credential_id: { format: 'uuid', type: 'string' },
3220
3221
  acs_system_id: { format: 'uuid', type: 'string' },
3221
3222
  acs_user_id: { format: 'uuid', type: 'string' },
3222
- code: { type: 'string' },
3223
+ code: { nullable: true, type: 'string' },
3223
3224
  created_at: { format: 'date-time', type: 'string' },
3224
3225
  workspace_id: { format: 'uuid', type: 'string' },
3225
3226
  },
@@ -3305,41 +3306,20 @@ export default {
3305
3306
  },
3306
3307
  },
3307
3308
  '/acs/systems/list': {
3308
- get: {
3309
- operationId: 'acsSystemsListGet',
3310
- responses: {
3311
- 200: {
3312
- content: {
3313
- 'application/json': {
3314
- schema: {
3315
- properties: {
3316
- acs_systems: {
3317
- items: { $ref: '#/components/schemas/acs_system' },
3318
- type: 'array',
3319
- },
3320
- ok: { type: 'boolean' },
3321
- },
3322
- required: ['acs_systems', 'ok'],
3323
- type: 'object',
3309
+ post: {
3310
+ operationId: 'acsSystemsListPost',
3311
+ requestBody: {
3312
+ content: {
3313
+ 'application/json': {
3314
+ schema: {
3315
+ properties: {
3316
+ connected_account_id: { format: 'uuid', type: 'string' },
3324
3317
  },
3318
+ type: 'object',
3325
3319
  },
3326
3320
  },
3327
- description: 'OK',
3328
3321
  },
3329
- 400: { description: 'Bad Request' },
3330
- 401: { description: 'Unauthorized' },
3331
3322
  },
3332
- security: [
3333
- { access_token: [], seam_workspace: [] },
3334
- { seam_client_session_token: [] },
3335
- { client_session_token: [] },
3336
- ],
3337
- summary: '/acs/systems/list',
3338
- tags: [],
3339
- 'x-fern-ignore': true,
3340
- },
3341
- post: {
3342
- operationId: 'acsSystemsListPost',
3343
3323
  responses: {
3344
3324
  200: {
3345
3325
  content: {
@@ -4904,6 +4884,7 @@ export default {
4904
4884
  ],
4905
4885
  type: 'string',
4906
4886
  },
4887
+ user_identifier_key: { type: 'string' },
4907
4888
  },
4908
4889
  type: 'object',
4909
4890
  },
@@ -5208,6 +5189,7 @@ export default {
5208
5189
  ],
5209
5190
  type: 'string',
5210
5191
  },
5192
+ user_identifier_key: { type: 'string' },
5211
5193
  },
5212
5194
  type: 'object',
5213
5195
  },
@@ -5990,6 +5972,7 @@ export default {
5990
5972
  ],
5991
5973
  type: 'string',
5992
5974
  },
5975
+ user_identifier_key: { type: 'string' },
5993
5976
  },
5994
5977
  type: 'object',
5995
5978
  },
@@ -7213,6 +7196,7 @@ export default {
7213
7196
  ],
7214
7197
  type: 'string',
7215
7198
  },
7199
+ user_identifier_key: { type: 'string' },
7216
7200
  },
7217
7201
  type: 'object',
7218
7202
  },
@@ -207,6 +207,7 @@ export interface Routes {
207
207
  commonParams: {
208
208
  device_id?: string | undefined
209
209
  access_code_ids?: string[] | undefined
210
+ user_identifier_key?: string | undefined
210
211
  }
211
212
  formData: {}
212
213
  jsonResponse: {
@@ -611,7 +612,7 @@ export interface Routes {
611
612
  jsonBody: {}
612
613
  commonParams: {
613
614
  acs_user_id: string
614
- code: string
615
+ code?: string | undefined
615
616
  }
616
617
  formData: {}
617
618
  jsonResponse: {
@@ -619,7 +620,7 @@ export interface Routes {
619
620
  acs_credential_id: string
620
621
  acs_user_id: string
621
622
  acs_system_id: string
622
- code: string
623
+ code: string | null
623
624
  created_at: string
624
625
  workspace_id: string
625
626
  }
@@ -650,7 +651,7 @@ export interface Routes {
650
651
  acs_credential_id: string
651
652
  acs_user_id: string
652
653
  acs_system_id: string
653
- code: string
654
+ code: string | null
654
655
  created_at: string
655
656
  workspace_id: string
656
657
  }
@@ -670,7 +671,7 @@ export interface Routes {
670
671
  acs_credential_id: string
671
672
  acs_user_id: string
672
673
  acs_system_id: string
673
- code: string
674
+ code: string | null
674
675
  created_at: string
675
676
  workspace_id: string
676
677
  }>
@@ -700,7 +701,9 @@ export interface Routes {
700
701
  method: 'GET' | 'POST'
701
702
  queryParams: {}
702
703
  jsonBody: {}
703
- commonParams: {}
704
+ commonParams: {
705
+ connected_account_id?: string | undefined
706
+ }
704
707
  formData: {}
705
708
  jsonResponse: {
706
709
  acs_systems: Array<{
@@ -1944,6 +1947,7 @@ export interface Routes {
1944
1947
  device_ids?: string[] | undefined
1945
1948
  limit?: number
1946
1949
  created_before?: string | undefined
1950
+ user_identifier_key?: string | undefined
1947
1951
  }
1948
1952
  formData: {}
1949
1953
  jsonResponse: {
@@ -2727,6 +2731,7 @@ export interface Routes {
2727
2731
  device_ids?: string[] | undefined
2728
2732
  limit?: number
2729
2733
  created_before?: string | undefined
2734
+ user_identifier_key?: string | undefined
2730
2735
  }
2731
2736
  formData: {}
2732
2737
  jsonResponse: {
@@ -3157,6 +3162,7 @@ export interface Routes {
3157
3162
  device_ids?: string[] | undefined
3158
3163
  limit?: number
3159
3164
  created_before?: string | undefined
3165
+ user_identifier_key?: string | undefined
3160
3166
  }
3161
3167
  formData: {}
3162
3168
  jsonResponse: {
@@ -4316,6 +4322,7 @@ export interface Routes {
4316
4322
  device_ids?: string[] | undefined
4317
4323
  limit?: number
4318
4324
  created_before?: string | undefined
4325
+ user_identifier_key?: string | undefined
4319
4326
  }
4320
4327
  formData: {}
4321
4328
  jsonResponse: {
@@ -4,7 +4,7 @@ export const acs_credential = z.object({
4
4
  acs_credential_id: z.string().uuid(),
5
5
  acs_user_id: z.string().uuid(),
6
6
  acs_system_id: z.string().uuid(),
7
- code: z.string(),
7
+ code: z.string().nullable(),
8
8
  // TODO: credential_type: z.enum([...]) we don't know what enum types we want yet
9
9
  created_at: z.string().datetime(),
10
10
  workspace_id: z.string().uuid(),