@workos/openapi-spec 0.76.0 → 0.78.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.
@@ -74,6 +74,10 @@ paths:
74
74
  - org_01EHWNCE74X7JSDV0X3SZ3KJNY
75
75
  description: Who may mint sessions from this blueprint.
76
76
  session_settings:
77
+ default:
78
+ max_age_seconds: 3600
79
+ access_token_ttl_seconds: 300
80
+ refresh_token_ttl_seconds: 3600
77
81
  type: object
78
82
  properties:
79
83
  max_age_seconds:
@@ -110,7 +114,6 @@ paths:
110
114
  blueprint.
111
115
  required:
112
116
  - name
113
- - session_settings
114
117
  description: Configuration for the new agent blueprint.
115
118
  responses:
116
119
  '201':
@@ -10513,6 +10516,21 @@ paths:
10513
10516
  example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
10514
10517
  required:
10515
10518
  - message
10519
+ '409':
10520
+ description: >-
10521
+ Several connected accounts match this user for the provider; one
10522
+ must be named.
10523
+ content:
10524
+ application/json:
10525
+ schema:
10526
+ type: object
10527
+ properties:
10528
+ message:
10529
+ type: string
10530
+ description: A human-readable description of the error.
10531
+ example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
10532
+ required:
10533
+ - message
10516
10534
  '422':
10517
10535
  description: Unprocessable Entity
10518
10536
  content:
@@ -10665,6 +10683,21 @@ paths:
10665
10683
  example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
10666
10684
  required:
10667
10685
  - message
10686
+ '409':
10687
+ description: >-
10688
+ Several connected accounts match this user for the provider; one
10689
+ must be named.
10690
+ content:
10691
+ application/json:
10692
+ schema:
10693
+ type: object
10694
+ properties:
10695
+ message:
10696
+ type: string
10697
+ description: A human-readable description of the error.
10698
+ example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
10699
+ required:
10700
+ - message
10668
10701
  '422':
10669
10702
  description: >-
10670
10703
  The matched installation uses a different auth method than this
@@ -10895,6 +10928,21 @@ paths:
10895
10928
  example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
10896
10929
  required:
10897
10930
  - message
10931
+ '409':
10932
+ description: >-
10933
+ Several connected accounts match this user for the provider; one
10934
+ must be named.
10935
+ content:
10936
+ application/json:
10937
+ schema:
10938
+ type: object
10939
+ properties:
10940
+ message:
10941
+ type: string
10942
+ description: A human-readable description of the error.
10943
+ example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
10944
+ required:
10945
+ - message
10898
10946
  '422':
10899
10947
  description: >-
10900
10948
  The matched installation uses a different auth method than this
@@ -10988,6 +11036,21 @@ paths:
10988
11036
  example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
10989
11037
  required:
10990
11038
  - message
11039
+ '409':
11040
+ description: >-
11041
+ Several connected accounts match this user for the provider; one
11042
+ must be named.
11043
+ content:
11044
+ application/json:
11045
+ schema:
11046
+ type: object
11047
+ properties:
11048
+ message:
11049
+ type: string
11050
+ description: A human-readable description of the error.
11051
+ example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
11052
+ required:
11053
+ - message
10991
11054
  '422':
10992
11055
  description: >-
10993
11056
  The installation uses an auth method that is not yet supported by
@@ -11076,6 +11139,21 @@ paths:
11076
11139
  example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
11077
11140
  required:
11078
11141
  - message
11142
+ '409':
11143
+ description: >-
11144
+ Several connected accounts match this user for the provider; one
11145
+ must be named.
11146
+ content:
11147
+ application/json:
11148
+ schema:
11149
+ type: object
11150
+ properties:
11151
+ message:
11152
+ type: string
11153
+ description: A human-readable description of the error.
11154
+ example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
11155
+ required:
11156
+ - message
11079
11157
  '422':
11080
11158
  description: >-
11081
11159
  The matched installation uses a different auth method than this
@@ -22104,6 +22182,21 @@ paths:
22104
22182
  example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
22105
22183
  required:
22106
22184
  - message
22185
+ '409':
22186
+ description: >-
22187
+ Several connected accounts match this user for the provider; one
22188
+ must be named.
22189
+ content:
22190
+ application/json:
22191
+ schema:
22192
+ type: object
22193
+ properties:
22194
+ message:
22195
+ type: string
22196
+ description: A human-readable description of the error.
22197
+ example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
22198
+ required:
22199
+ - message
22107
22200
  summary: Get a connected account
22108
22201
  tags:
22109
22202
  - user-management.data-providers
@@ -22157,6 +22250,21 @@ paths:
22157
22250
  example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
22158
22251
  required:
22159
22252
  - message
22253
+ '409':
22254
+ description: >-
22255
+ Several connected accounts match this user for the provider; one
22256
+ must be named.
22257
+ content:
22258
+ application/json:
22259
+ schema:
22260
+ type: object
22261
+ properties:
22262
+ message:
22263
+ type: string
22264
+ description: A human-readable description of the error.
22265
+ example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
22266
+ required:
22267
+ - message
22160
22268
  summary: Delete a connected account
22161
22269
  tags:
22162
22270
  - user-management.data-providers
@@ -22313,6 +22421,21 @@ paths:
22313
22421
  example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
22314
22422
  required:
22315
22423
  - message
22424
+ '409':
22425
+ description: >-
22426
+ Several connected accounts match this user for the provider; one
22427
+ must be named.
22428
+ content:
22429
+ application/json:
22430
+ schema:
22431
+ type: object
22432
+ properties:
22433
+ message:
22434
+ type: string
22435
+ description: A human-readable description of the error.
22436
+ example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
22437
+ required:
22438
+ - message
22316
22439
  summary: Update a connected account
22317
22440
  tags:
22318
22441
  - user-management.data-providers
package/dist/types.d.ts CHANGED
@@ -19467,8 +19467,15 @@ export interface operations {
19467
19467
  */
19468
19468
  organization_ids?: string[];
19469
19469
  };
19470
- /** @description Token and session lifetimes for sessions minted from this blueprint. */
19471
- session_settings: {
19470
+ /**
19471
+ * @description Token and session lifetimes for sessions minted from this blueprint.
19472
+ * @default {
19473
+ * "max_age_seconds": 3600,
19474
+ * "access_token_ttl_seconds": 300,
19475
+ * "refresh_token_ttl_seconds": 3600
19476
+ * }
19477
+ */
19478
+ session_settings?: {
19472
19479
  /**
19473
19480
  * @description Maximum lifetime of a session in seconds; refreshes never extend a session past this. At most 31,536,000 (365 days).
19474
19481
  * @example 3600
@@ -28609,6 +28616,21 @@ export interface operations {
28609
28616
  };
28610
28617
  };
28611
28618
  };
28619
+ /** @description Several connected accounts match this user for the provider; one must be named. */
28620
+ 409: {
28621
+ headers: {
28622
+ [name: string]: unknown;
28623
+ };
28624
+ content: {
28625
+ "application/json": {
28626
+ /**
28627
+ * @description A human-readable description of the error.
28628
+ * @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
28629
+ */
28630
+ message: string;
28631
+ };
28632
+ };
28633
+ };
28612
28634
  /** @description Unprocessable Entity */
28613
28635
  422: {
28614
28636
  headers: {
@@ -28776,6 +28798,21 @@ export interface operations {
28776
28798
  };
28777
28799
  };
28778
28800
  };
28801
+ /** @description Several connected accounts match this user for the provider; one must be named. */
28802
+ 409: {
28803
+ headers: {
28804
+ [name: string]: unknown;
28805
+ };
28806
+ content: {
28807
+ "application/json": {
28808
+ /**
28809
+ * @description A human-readable description of the error.
28810
+ * @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
28811
+ */
28812
+ message: string;
28813
+ };
28814
+ };
28815
+ };
28779
28816
  /** @description The matched installation uses a different auth method than this endpoint expects. */
28780
28817
  422: {
28781
28818
  headers: {
@@ -29012,6 +29049,21 @@ export interface operations {
29012
29049
  };
29013
29050
  };
29014
29051
  };
29052
+ /** @description Several connected accounts match this user for the provider; one must be named. */
29053
+ 409: {
29054
+ headers: {
29055
+ [name: string]: unknown;
29056
+ };
29057
+ content: {
29058
+ "application/json": {
29059
+ /**
29060
+ * @description A human-readable description of the error.
29061
+ * @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
29062
+ */
29063
+ message: string;
29064
+ };
29065
+ };
29066
+ };
29015
29067
  /** @description The matched installation uses a different auth method than this endpoint expects. */
29016
29068
  422: {
29017
29069
  headers: {
@@ -29112,6 +29164,21 @@ export interface operations {
29112
29164
  };
29113
29165
  };
29114
29166
  };
29167
+ /** @description Several connected accounts match this user for the provider; one must be named. */
29168
+ 409: {
29169
+ headers: {
29170
+ [name: string]: unknown;
29171
+ };
29172
+ content: {
29173
+ "application/json": {
29174
+ /**
29175
+ * @description A human-readable description of the error.
29176
+ * @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
29177
+ */
29178
+ message: string;
29179
+ };
29180
+ };
29181
+ };
29115
29182
  /** @description The installation uses an auth method that is not yet supported by this endpoint. */
29116
29183
  422: {
29117
29184
  headers: {
@@ -29202,6 +29269,21 @@ export interface operations {
29202
29269
  };
29203
29270
  };
29204
29271
  };
29272
+ /** @description Several connected accounts match this user for the provider; one must be named. */
29273
+ 409: {
29274
+ headers: {
29275
+ [name: string]: unknown;
29276
+ };
29277
+ content: {
29278
+ "application/json": {
29279
+ /**
29280
+ * @description A human-readable description of the error.
29281
+ * @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
29282
+ */
29283
+ message: string;
29284
+ };
29285
+ };
29286
+ };
29205
29287
  /** @description The matched installation uses a different auth method than this endpoint expects. */
29206
29288
  422: {
29207
29289
  headers: {
@@ -38706,6 +38788,21 @@ export interface operations {
38706
38788
  };
38707
38789
  };
38708
38790
  };
38791
+ /** @description Several connected accounts match this user for the provider; one must be named. */
38792
+ 409: {
38793
+ headers: {
38794
+ [name: string]: unknown;
38795
+ };
38796
+ content: {
38797
+ "application/json": {
38798
+ /**
38799
+ * @description A human-readable description of the error.
38800
+ * @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
38801
+ */
38802
+ message: string;
38803
+ };
38804
+ };
38805
+ };
38709
38806
  };
38710
38807
  };
38711
38808
  DataIntegrationsUserManagementController_updateUserDataInstallation: {
@@ -38760,6 +38857,21 @@ export interface operations {
38760
38857
  };
38761
38858
  };
38762
38859
  };
38860
+ /** @description Several connected accounts match this user for the provider; one must be named. */
38861
+ 409: {
38862
+ headers: {
38863
+ [name: string]: unknown;
38864
+ };
38865
+ content: {
38866
+ "application/json": {
38867
+ /**
38868
+ * @description A human-readable description of the error.
38869
+ * @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
38870
+ */
38871
+ message: string;
38872
+ };
38873
+ };
38874
+ };
38763
38875
  };
38764
38876
  };
38765
38877
  DataIntegrationsUserManagementController_createUserDataInstallation: {
@@ -38892,6 +39004,21 @@ export interface operations {
38892
39004
  };
38893
39005
  };
38894
39006
  };
39007
+ /** @description Several connected accounts match this user for the provider; one must be named. */
39008
+ 409: {
39009
+ headers: {
39010
+ [name: string]: unknown;
39011
+ };
39012
+ content: {
39013
+ "application/json": {
39014
+ /**
39015
+ * @description A human-readable description of the error.
39016
+ * @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
39017
+ */
39018
+ message: string;
39019
+ };
39020
+ };
39021
+ };
38895
39022
  };
38896
39023
  };
38897
39024
  DataIntegrationsUserManagementController_getUserDataIntegrations: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.76.0",
3
+ "version": "0.78.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",
@@ -56,9 +56,9 @@
56
56
  "lodash": "^4.17.23"
57
57
  },
58
58
  "devDependencies": {
59
- "@types/node": "^26.4.0",
60
- "@workos/oagen": "^0.29.4",
61
- "@workos/oagen-emitters": "^0.24.10",
59
+ "@types/node": "^26.4.1",
60
+ "@workos/oagen": "^0.30.0",
61
+ "@workos/oagen-emitters": "^0.24.11",
62
62
  "diff2html": "^3.4.56",
63
63
  "husky": "^9.1.7",
64
64
  "js-yaml": "^5.4.1",