@seamapi/types 1.262.1 → 1.263.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.
@@ -2424,6 +2424,24 @@ export interface Routes {
2424
2424
  };
2425
2425
  };
2426
2426
  };
2427
+ '/access_codes/update_multiple': {
2428
+ route: '/access_codes/update_multiple';
2429
+ method: 'POST' | 'PATCH';
2430
+ queryParams: {};
2431
+ jsonBody: {
2432
+ allow_external_modification?: boolean | undefined;
2433
+ is_external_modification_allowed?: boolean | undefined;
2434
+ code?: string | undefined;
2435
+ ends_at?: string | undefined;
2436
+ starts_at?: string | undefined;
2437
+ name?: string | undefined;
2438
+ prefer_native_scheduling?: boolean | undefined;
2439
+ common_code_key: string;
2440
+ };
2441
+ commonParams: {};
2442
+ formData: {};
2443
+ jsonResponse: {};
2444
+ };
2427
2445
  '/acs/access_groups/add_user': {
2428
2446
  route: '/acs/access_groups/add_user';
2429
2447
  method: 'PUT' | 'POST';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.262.1",
3
+ "version": "1.263.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -92,7 +92,7 @@
92
92
  "zod": "^3.21.4"
93
93
  },
94
94
  "devDependencies": {
95
- "@seamapi/blueprint": "^0.23.0",
95
+ "@seamapi/blueprint": "^0.27.0",
96
96
  "@types/node": "^20.8.10",
97
97
  "concurrently": "^8.2.0",
98
98
  "del-cli": "^5.0.0",
@@ -5888,6 +5888,115 @@ export default {
5888
5888
  'x-response-key': null,
5889
5889
  },
5890
5890
  },
5891
+ '/access_codes/update_multiple': {
5892
+ patch: {
5893
+ operationId: 'accessCodesUpdateMultiplePatch',
5894
+ requestBody: {
5895
+ content: {
5896
+ 'application/json': {
5897
+ schema: {
5898
+ properties: {
5899
+ allow_external_modification: { type: 'boolean' },
5900
+ code: {
5901
+ maxLength: 9,
5902
+ minLength: 4,
5903
+ pattern: '^\\d+$',
5904
+ type: 'string',
5905
+ },
5906
+ common_code_key: { type: 'string' },
5907
+ ends_at: { type: 'string' },
5908
+ is_external_modification_allowed: { type: 'boolean' },
5909
+ name: { type: 'string' },
5910
+ prefer_native_scheduling: { type: 'boolean' },
5911
+ starts_at: { type: 'string' },
5912
+ },
5913
+ required: ['common_code_key'],
5914
+ type: 'object',
5915
+ },
5916
+ },
5917
+ },
5918
+ },
5919
+ responses: {
5920
+ 200: {
5921
+ content: {
5922
+ 'application/json': {
5923
+ schema: {
5924
+ properties: { ok: { type: 'boolean' } },
5925
+ required: ['ok'],
5926
+ type: 'object',
5927
+ },
5928
+ },
5929
+ },
5930
+ description: 'OK',
5931
+ },
5932
+ 400: { description: 'Bad Request' },
5933
+ 401: { description: 'Unauthorized' },
5934
+ },
5935
+ security: [
5936
+ { client_session: [] },
5937
+ { pat_with_workspace: [] },
5938
+ { console_session: [] },
5939
+ { api_key: [] },
5940
+ ],
5941
+ summary: '/access_codes/update_multiple',
5942
+ tags: ['/access_codes'],
5943
+ 'x-fern-ignore': true,
5944
+ },
5945
+ post: {
5946
+ operationId: 'accessCodesUpdateMultiplePost',
5947
+ requestBody: {
5948
+ content: {
5949
+ 'application/json': {
5950
+ schema: {
5951
+ properties: {
5952
+ allow_external_modification: { type: 'boolean' },
5953
+ code: {
5954
+ maxLength: 9,
5955
+ minLength: 4,
5956
+ pattern: '^\\d+$',
5957
+ type: 'string',
5958
+ },
5959
+ common_code_key: { type: 'string' },
5960
+ ends_at: { type: 'string' },
5961
+ is_external_modification_allowed: { type: 'boolean' },
5962
+ name: { type: 'string' },
5963
+ prefer_native_scheduling: { type: 'boolean' },
5964
+ starts_at: { type: 'string' },
5965
+ },
5966
+ required: ['common_code_key'],
5967
+ type: 'object',
5968
+ },
5969
+ },
5970
+ },
5971
+ },
5972
+ responses: {
5973
+ 200: {
5974
+ content: {
5975
+ 'application/json': {
5976
+ schema: {
5977
+ properties: { ok: { type: 'boolean' } },
5978
+ required: ['ok'],
5979
+ type: 'object',
5980
+ },
5981
+ },
5982
+ },
5983
+ description: 'OK',
5984
+ },
5985
+ 400: { description: 'Bad Request' },
5986
+ 401: { description: 'Unauthorized' },
5987
+ },
5988
+ security: [
5989
+ { client_session: [] },
5990
+ { pat_with_workspace: [] },
5991
+ { console_session: [] },
5992
+ { api_key: [] },
5993
+ ],
5994
+ summary: '/access_codes/update_multiple',
5995
+ tags: ['/access_codes'],
5996
+ 'x-fern-sdk-group-name': ['access_codes'],
5997
+ 'x-fern-sdk-method-name': 'update_multiple',
5998
+ },
5999
+ },
5891
6000
  '/acs/access_groups/add_user': {
5892
6001
  post: {
5893
6002
  operationId: 'acsAccessGroupsAddUserPost',
@@ -2672,6 +2672,24 @@ export interface Routes {
2672
2672
  }
2673
2673
  }
2674
2674
  }
2675
+ '/access_codes/update_multiple': {
2676
+ route: '/access_codes/update_multiple'
2677
+ method: 'POST' | 'PATCH'
2678
+ queryParams: {}
2679
+ jsonBody: {
2680
+ allow_external_modification?: boolean | undefined
2681
+ is_external_modification_allowed?: boolean | undefined
2682
+ code?: string | undefined
2683
+ ends_at?: string | undefined
2684
+ starts_at?: string | undefined
2685
+ name?: string | undefined
2686
+ prefer_native_scheduling?: boolean | undefined
2687
+ common_code_key: string
2688
+ }
2689
+ commonParams: {}
2690
+ formData: {}
2691
+ jsonResponse: {}
2692
+ }
2675
2693
  '/acs/access_groups/add_user': {
2676
2694
  route: '/acs/access_groups/add_user'
2677
2695
  method: 'PUT' | 'POST'