@ontemper/sdk 0.9.0-oauth.2 → 0.9.0-oauth.4

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.
Files changed (43) hide show
  1. package/README.md +34 -19
  2. package/dist/AccessTokens.d.ts +10 -8
  3. package/dist/AccessTokens.d.ts.map +1 -1
  4. package/dist/AccessTokens.js +54 -25
  5. package/dist/AccessTokens.js.map +1 -1
  6. package/dist/Contract/RuntimeApi.d.ts +53 -0
  7. package/dist/Contract/RuntimeApi.d.ts.map +1 -1
  8. package/dist/Contract/RuntimeApi.js +64 -0
  9. package/dist/Contract/RuntimeApi.js.map +1 -1
  10. package/dist/Contract/index.d.ts +1 -1
  11. package/dist/Contract/index.d.ts.map +1 -1
  12. package/dist/Contract/index.js +1 -1
  13. package/dist/Contract/index.js.map +1 -1
  14. package/dist/HttpApiClient.d.ts +6 -4
  15. package/dist/HttpApiClient.d.ts.map +1 -1
  16. package/dist/HttpApiClient.js +25 -66
  17. package/dist/HttpApiClient.js.map +1 -1
  18. package/dist/HttpApiResource.d.ts +133 -0
  19. package/dist/HttpApiResource.d.ts.map +1 -1
  20. package/dist/HttpApiResource.js +31 -3
  21. package/dist/HttpApiResource.js.map +1 -1
  22. package/dist/Manifest.d.ts +1 -1
  23. package/dist/Manifest.js +1 -1
  24. package/dist/OAuthToken.d.ts +34 -6
  25. package/dist/OAuthToken.d.ts.map +1 -1
  26. package/dist/OAuthToken.js +65 -10
  27. package/dist/OAuthToken.js.map +1 -1
  28. package/dist/RuntimeResources.d.ts +8 -1
  29. package/dist/RuntimeResources.d.ts.map +1 -1
  30. package/dist/RuntimeResources.js +43 -10
  31. package/dist/RuntimeResources.js.map +1 -1
  32. package/dist/Workflow.d.ts.map +1 -1
  33. package/dist/Workflow.js +5 -3
  34. package/dist/Workflow.js.map +1 -1
  35. package/dist/index.d.ts +2 -2
  36. package/dist/index.d.ts.map +1 -1
  37. package/dist/index.js +1 -1
  38. package/dist/index.js.map +1 -1
  39. package/dist/testing.d.ts +9 -3
  40. package/dist/testing.d.ts.map +1 -1
  41. package/dist/testing.js +64 -6
  42. package/dist/testing.js.map +1 -1
  43. package/package.json +6 -2
@@ -177,6 +177,91 @@ export declare const OAuthTokenRequest: Schema.StructWithRest<Schema.Struct<{
177
177
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
178
178
  }>, "fields" | "mapFields">;
179
179
  export type OAuthTokenRequest = typeof OAuthTokenRequest.Type;
180
+ /** An `http_api` token request: an OAuth token request plus headers sent with the token request only. */
181
+ export declare const HttpApiOAuthTokenRequest: Schema.StructWithRest<Schema.Struct<{
182
+ readonly tokenUrl: Schema.String;
183
+ readonly clientId: Schema.String;
184
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
185
+ readonly type: Schema.Literal<"none">;
186
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
187
+ readonly type: Schema.Literal<"none">;
188
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
189
+ readonly type: Schema.Literal<"basic">;
190
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
191
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
192
+ readonly type: Schema.Literal<"basic">;
193
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
194
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
195
+ readonly type: Schema.Literal<"body">;
196
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
197
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
198
+ readonly type: Schema.Literal<"body">;
199
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
200
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
201
+ readonly type: Schema.Literal<"query">;
202
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
203
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
204
+ readonly type: Schema.Literal<"query">;
205
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
206
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
207
+ readonly type: Schema.Literal<"private_key_jwt">;
208
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
209
+ readonly keyId: Schema.optional<Schema.String>;
210
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
211
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
212
+ readonly type: Schema.Literal<"private_key_jwt">;
213
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
214
+ readonly keyId: Schema.optional<Schema.String>;
215
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
216
+ }>, "fields" | "mapFields">]>;
217
+ readonly scope: Schema.optional<Schema.String>;
218
+ readonly audience: Schema.optional<Schema.String>;
219
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
220
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
221
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
222
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
223
+ readonly tokenUrl: Schema.String;
224
+ readonly clientId: Schema.String;
225
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
226
+ readonly type: Schema.Literal<"none">;
227
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
228
+ readonly type: Schema.Literal<"none">;
229
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
230
+ readonly type: Schema.Literal<"basic">;
231
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
232
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
233
+ readonly type: Schema.Literal<"basic">;
234
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
235
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
236
+ readonly type: Schema.Literal<"body">;
237
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
238
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
239
+ readonly type: Schema.Literal<"body">;
240
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
241
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
242
+ readonly type: Schema.Literal<"query">;
243
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
244
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
245
+ readonly type: Schema.Literal<"query">;
246
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
247
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
248
+ readonly type: Schema.Literal<"private_key_jwt">;
249
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
250
+ readonly keyId: Schema.optional<Schema.String>;
251
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
252
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
253
+ readonly type: Schema.Literal<"private_key_jwt">;
254
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
255
+ readonly keyId: Schema.optional<Schema.String>;
256
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
257
+ }>, "fields" | "mapFields">]>;
258
+ readonly scope: Schema.optional<Schema.String>;
259
+ readonly audience: Schema.optional<Schema.String>;
260
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
261
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
262
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
263
+ }>, "fields" | "mapFields">;
264
+ export type HttpApiOAuthTokenRequest = typeof HttpApiOAuthTokenRequest.Type;
180
265
  /**
181
266
  * An `auth` variant a newer platform added, unvalidated: `variant` holds its `type`, and `fields` the auth object
182
267
  * as it arrived, `type` included. `fields` is `Redacted` because the SDK cannot tell which of its fields are secret.
@@ -258,6 +343,7 @@ export declare const HttpApiAuth: Schema.compose<Schema.Union<readonly [Schema.S
258
343
  readonly audience: Schema.optional<Schema.String>;
259
344
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
260
345
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
346
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
261
347
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
262
348
  readonly tokenUrl: Schema.String;
263
349
  readonly clientId: Schema.String;
@@ -298,6 +384,7 @@ export declare const HttpApiAuth: Schema.compose<Schema.Union<readonly [Schema.S
298
384
  readonly audience: Schema.optional<Schema.String>;
299
385
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
300
386
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
387
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
301
388
  }>, "fields" | "mapFields">;
302
389
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
303
390
  readonly type: Schema.Literal<"oauth2_client_credentials">;
@@ -341,6 +428,7 @@ export declare const HttpApiAuth: Schema.compose<Schema.Union<readonly [Schema.S
341
428
  readonly audience: Schema.optional<Schema.String>;
342
429
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
343
430
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
431
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
344
432
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
345
433
  readonly tokenUrl: Schema.String;
346
434
  readonly clientId: Schema.String;
@@ -381,6 +469,7 @@ export declare const HttpApiAuth: Schema.compose<Schema.Union<readonly [Schema.S
381
469
  readonly audience: Schema.optional<Schema.String>;
382
470
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
383
471
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
472
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
384
473
  }>, "fields" | "mapFields">;
385
474
  }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
386
475
  readonly type: Schema.Literal<"oauth2_password">;
@@ -424,6 +513,7 @@ export declare const HttpApiAuth: Schema.compose<Schema.Union<readonly [Schema.S
424
513
  readonly audience: Schema.optional<Schema.String>;
425
514
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
426
515
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
516
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
427
517
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
428
518
  readonly tokenUrl: Schema.String;
429
519
  readonly clientId: Schema.String;
@@ -464,6 +554,7 @@ export declare const HttpApiAuth: Schema.compose<Schema.Union<readonly [Schema.S
464
554
  readonly audience: Schema.optional<Schema.String>;
465
555
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
466
556
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
557
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
467
558
  }>, "fields" | "mapFields">;
468
559
  readonly username: Schema.String;
469
560
  readonly password: Schema.RedactedFromValue<Schema.String>;
@@ -509,6 +600,7 @@ export declare const HttpApiAuth: Schema.compose<Schema.Union<readonly [Schema.S
509
600
  readonly audience: Schema.optional<Schema.String>;
510
601
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
511
602
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
603
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
512
604
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
513
605
  readonly tokenUrl: Schema.String;
514
606
  readonly clientId: Schema.String;
@@ -549,6 +641,7 @@ export declare const HttpApiAuth: Schema.compose<Schema.Union<readonly [Schema.S
549
641
  readonly audience: Schema.optional<Schema.String>;
550
642
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
551
643
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
644
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
552
645
  }>, "fields" | "mapFields">;
553
646
  readonly username: Schema.String;
554
647
  readonly password: Schema.RedactedFromValue<Schema.String>;
@@ -716,6 +809,7 @@ export declare const HttpApiAuth: Schema.compose<Schema.Union<readonly [Schema.S
716
809
  readonly audience: Schema.optional<Schema.String>;
717
810
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
718
811
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
812
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
719
813
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
720
814
  readonly tokenUrl: Schema.String;
721
815
  readonly clientId: Schema.String;
@@ -756,6 +850,7 @@ export declare const HttpApiAuth: Schema.compose<Schema.Union<readonly [Schema.S
756
850
  readonly audience: Schema.optional<Schema.String>;
757
851
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
758
852
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
853
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
759
854
  }>, "fields" | "mapFields">;
760
855
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
761
856
  readonly type: Schema.Literal<"oauth2_client_credentials">;
@@ -799,6 +894,7 @@ export declare const HttpApiAuth: Schema.compose<Schema.Union<readonly [Schema.S
799
894
  readonly audience: Schema.optional<Schema.String>;
800
895
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
801
896
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
897
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
802
898
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
803
899
  readonly tokenUrl: Schema.String;
804
900
  readonly clientId: Schema.String;
@@ -839,6 +935,7 @@ export declare const HttpApiAuth: Schema.compose<Schema.Union<readonly [Schema.S
839
935
  readonly audience: Schema.optional<Schema.String>;
840
936
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
841
937
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
938
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
842
939
  }>, "fields" | "mapFields">;
843
940
  }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
844
941
  readonly type: Schema.Literal<"oauth2_password">;
@@ -882,6 +979,7 @@ export declare const HttpApiAuth: Schema.compose<Schema.Union<readonly [Schema.S
882
979
  readonly audience: Schema.optional<Schema.String>;
883
980
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
884
981
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
982
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
885
983
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
886
984
  readonly tokenUrl: Schema.String;
887
985
  readonly clientId: Schema.String;
@@ -922,6 +1020,7 @@ export declare const HttpApiAuth: Schema.compose<Schema.Union<readonly [Schema.S
922
1020
  readonly audience: Schema.optional<Schema.String>;
923
1021
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
924
1022
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1023
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
925
1024
  }>, "fields" | "mapFields">;
926
1025
  readonly username: Schema.String;
927
1026
  readonly password: Schema.RedactedFromValue<Schema.String>;
@@ -967,6 +1066,7 @@ export declare const HttpApiAuth: Schema.compose<Schema.Union<readonly [Schema.S
967
1066
  readonly audience: Schema.optional<Schema.String>;
968
1067
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
969
1068
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1069
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
970
1070
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
971
1071
  readonly tokenUrl: Schema.String;
972
1072
  readonly clientId: Schema.String;
@@ -1007,6 +1107,7 @@ export declare const HttpApiAuth: Schema.compose<Schema.Union<readonly [Schema.S
1007
1107
  readonly audience: Schema.optional<Schema.String>;
1008
1108
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1009
1109
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1110
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1010
1111
  }>, "fields" | "mapFields">;
1011
1112
  readonly username: Schema.String;
1012
1113
  readonly password: Schema.RedactedFromValue<Schema.String>;
@@ -1180,6 +1281,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
1180
1281
  readonly audience: Schema.optional<Schema.String>;
1181
1282
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1182
1283
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1284
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1183
1285
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1184
1286
  readonly tokenUrl: Schema.String;
1185
1287
  readonly clientId: Schema.String;
@@ -1220,6 +1322,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
1220
1322
  readonly audience: Schema.optional<Schema.String>;
1221
1323
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1222
1324
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1325
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1223
1326
  }>, "fields" | "mapFields">;
1224
1327
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1225
1328
  readonly type: Schema.Literal<"oauth2_client_credentials">;
@@ -1263,6 +1366,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
1263
1366
  readonly audience: Schema.optional<Schema.String>;
1264
1367
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1265
1368
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1369
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1266
1370
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1267
1371
  readonly tokenUrl: Schema.String;
1268
1372
  readonly clientId: Schema.String;
@@ -1303,6 +1407,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
1303
1407
  readonly audience: Schema.optional<Schema.String>;
1304
1408
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1305
1409
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1410
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1306
1411
  }>, "fields" | "mapFields">;
1307
1412
  }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1308
1413
  readonly type: Schema.Literal<"oauth2_password">;
@@ -1346,6 +1451,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
1346
1451
  readonly audience: Schema.optional<Schema.String>;
1347
1452
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1348
1453
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1454
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1349
1455
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1350
1456
  readonly tokenUrl: Schema.String;
1351
1457
  readonly clientId: Schema.String;
@@ -1386,6 +1492,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
1386
1492
  readonly audience: Schema.optional<Schema.String>;
1387
1493
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1388
1494
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1495
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1389
1496
  }>, "fields" | "mapFields">;
1390
1497
  readonly username: Schema.String;
1391
1498
  readonly password: Schema.RedactedFromValue<Schema.String>;
@@ -1431,6 +1538,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
1431
1538
  readonly audience: Schema.optional<Schema.String>;
1432
1539
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1433
1540
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1541
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1434
1542
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1435
1543
  readonly tokenUrl: Schema.String;
1436
1544
  readonly clientId: Schema.String;
@@ -1471,6 +1579,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
1471
1579
  readonly audience: Schema.optional<Schema.String>;
1472
1580
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1473
1581
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1582
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1474
1583
  }>, "fields" | "mapFields">;
1475
1584
  readonly username: Schema.String;
1476
1585
  readonly password: Schema.RedactedFromValue<Schema.String>;
@@ -1638,6 +1747,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
1638
1747
  readonly audience: Schema.optional<Schema.String>;
1639
1748
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1640
1749
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1750
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1641
1751
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1642
1752
  readonly tokenUrl: Schema.String;
1643
1753
  readonly clientId: Schema.String;
@@ -1678,6 +1788,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
1678
1788
  readonly audience: Schema.optional<Schema.String>;
1679
1789
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1680
1790
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1791
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1681
1792
  }>, "fields" | "mapFields">;
1682
1793
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1683
1794
  readonly type: Schema.Literal<"oauth2_client_credentials">;
@@ -1721,6 +1832,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
1721
1832
  readonly audience: Schema.optional<Schema.String>;
1722
1833
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1723
1834
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1835
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1724
1836
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1725
1837
  readonly tokenUrl: Schema.String;
1726
1838
  readonly clientId: Schema.String;
@@ -1761,6 +1873,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
1761
1873
  readonly audience: Schema.optional<Schema.String>;
1762
1874
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1763
1875
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1876
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1764
1877
  }>, "fields" | "mapFields">;
1765
1878
  }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1766
1879
  readonly type: Schema.Literal<"oauth2_password">;
@@ -1804,6 +1917,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
1804
1917
  readonly audience: Schema.optional<Schema.String>;
1805
1918
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1806
1919
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1920
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1807
1921
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1808
1922
  readonly tokenUrl: Schema.String;
1809
1923
  readonly clientId: Schema.String;
@@ -1844,6 +1958,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
1844
1958
  readonly audience: Schema.optional<Schema.String>;
1845
1959
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1846
1960
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1961
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1847
1962
  }>, "fields" | "mapFields">;
1848
1963
  readonly username: Schema.String;
1849
1964
  readonly password: Schema.RedactedFromValue<Schema.String>;
@@ -1889,6 +2004,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
1889
2004
  readonly audience: Schema.optional<Schema.String>;
1890
2005
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1891
2006
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2007
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1892
2008
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1893
2009
  readonly tokenUrl: Schema.String;
1894
2010
  readonly clientId: Schema.String;
@@ -1929,6 +2045,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
1929
2045
  readonly audience: Schema.optional<Schema.String>;
1930
2046
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1931
2047
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2048
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1932
2049
  }>, "fields" | "mapFields">;
1933
2050
  readonly username: Schema.String;
1934
2051
  readonly password: Schema.RedactedFromValue<Schema.String>;
@@ -2154,6 +2271,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
2154
2271
  readonly audience: Schema.optional<Schema.String>;
2155
2272
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2156
2273
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2274
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2157
2275
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2158
2276
  readonly tokenUrl: Schema.String;
2159
2277
  readonly clientId: Schema.String;
@@ -2194,6 +2312,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
2194
2312
  readonly audience: Schema.optional<Schema.String>;
2195
2313
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2196
2314
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2315
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2197
2316
  }>, "fields" | "mapFields">;
2198
2317
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2199
2318
  readonly type: Schema.Literal<"oauth2_client_credentials">;
@@ -2237,6 +2356,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
2237
2356
  readonly audience: Schema.optional<Schema.String>;
2238
2357
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2239
2358
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2359
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2240
2360
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2241
2361
  readonly tokenUrl: Schema.String;
2242
2362
  readonly clientId: Schema.String;
@@ -2277,6 +2397,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
2277
2397
  readonly audience: Schema.optional<Schema.String>;
2278
2398
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2279
2399
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2400
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2280
2401
  }>, "fields" | "mapFields">;
2281
2402
  }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2282
2403
  readonly type: Schema.Literal<"oauth2_password">;
@@ -2320,6 +2441,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
2320
2441
  readonly audience: Schema.optional<Schema.String>;
2321
2442
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2322
2443
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2444
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2323
2445
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2324
2446
  readonly tokenUrl: Schema.String;
2325
2447
  readonly clientId: Schema.String;
@@ -2360,6 +2482,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
2360
2482
  readonly audience: Schema.optional<Schema.String>;
2361
2483
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2362
2484
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2485
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2363
2486
  }>, "fields" | "mapFields">;
2364
2487
  readonly username: Schema.String;
2365
2488
  readonly password: Schema.RedactedFromValue<Schema.String>;
@@ -2405,6 +2528,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
2405
2528
  readonly audience: Schema.optional<Schema.String>;
2406
2529
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2407
2530
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2531
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2408
2532
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2409
2533
  readonly tokenUrl: Schema.String;
2410
2534
  readonly clientId: Schema.String;
@@ -2445,6 +2569,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
2445
2569
  readonly audience: Schema.optional<Schema.String>;
2446
2570
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2447
2571
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2572
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2448
2573
  }>, "fields" | "mapFields">;
2449
2574
  readonly username: Schema.String;
2450
2575
  readonly password: Schema.RedactedFromValue<Schema.String>;
@@ -2612,6 +2737,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
2612
2737
  readonly audience: Schema.optional<Schema.String>;
2613
2738
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2614
2739
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2740
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2615
2741
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2616
2742
  readonly tokenUrl: Schema.String;
2617
2743
  readonly clientId: Schema.String;
@@ -2652,6 +2778,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
2652
2778
  readonly audience: Schema.optional<Schema.String>;
2653
2779
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2654
2780
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2781
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2655
2782
  }>, "fields" | "mapFields">;
2656
2783
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2657
2784
  readonly type: Schema.Literal<"oauth2_client_credentials">;
@@ -2695,6 +2822,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
2695
2822
  readonly audience: Schema.optional<Schema.String>;
2696
2823
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2697
2824
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2825
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2698
2826
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2699
2827
  readonly tokenUrl: Schema.String;
2700
2828
  readonly clientId: Schema.String;
@@ -2735,6 +2863,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
2735
2863
  readonly audience: Schema.optional<Schema.String>;
2736
2864
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2737
2865
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2866
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2738
2867
  }>, "fields" | "mapFields">;
2739
2868
  }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2740
2869
  readonly type: Schema.Literal<"oauth2_password">;
@@ -2778,6 +2907,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
2778
2907
  readonly audience: Schema.optional<Schema.String>;
2779
2908
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2780
2909
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2910
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2781
2911
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2782
2912
  readonly tokenUrl: Schema.String;
2783
2913
  readonly clientId: Schema.String;
@@ -2818,6 +2948,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
2818
2948
  readonly audience: Schema.optional<Schema.String>;
2819
2949
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2820
2950
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2951
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2821
2952
  }>, "fields" | "mapFields">;
2822
2953
  readonly username: Schema.String;
2823
2954
  readonly password: Schema.RedactedFromValue<Schema.String>;
@@ -2863,6 +2994,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
2863
2994
  readonly audience: Schema.optional<Schema.String>;
2864
2995
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2865
2996
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2997
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2866
2998
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2867
2999
  readonly tokenUrl: Schema.String;
2868
3000
  readonly clientId: Schema.String;
@@ -2903,6 +3035,7 @@ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
2903
3035
  readonly audience: Schema.optional<Schema.String>;
2904
3036
  readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2905
3037
  readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
3038
+ readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2906
3039
  }>, "fields" | "mapFields">;
2907
3040
  readonly username: Schema.String;
2908
3041
  readonly password: Schema.RedactedFromValue<Schema.String>;
@@ -1 +1 @@
1
- {"version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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAW1B,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,IAAI,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { Effect, Redacted, Schema, SchemaTransformation } from 'effect';
2
- // The `http_api` system type at catalog revision 2 (T-4256), as `@ontemper/resources` reads it (`records.ts`).
2
+ // The `http_api` system type at catalog revision 3 (T-4256, TEM-1992), as `@ontemper/resources` reads it (`records.ts`).
3
3
  /** Extensions remain unknown plain values; only declared secret fields become Redacted. */
4
4
  export const recordStruct = (fields) => {
5
5
  const schema = Schema.Struct(fields);
@@ -95,6 +95,34 @@ export const OAuthTokenRequest = recordStruct({
95
95
  extraParams: Schema.optional(Schema.Record(Schema.String, Schema.String)),
96
96
  tokenRequestFormat: Schema.Literals(['form', 'json']).pipe(Schema.withDecodingDefault(Effect.succeed('form'))),
97
97
  });
98
+ // The platform's login sets the first seven; the rest frame or route the connection (catalog: http_api revision 3).
99
+ const RESERVED_TOKEN_REQUEST_HEADERS = new Set([
100
+ 'accept',
101
+ 'accept-encoding',
102
+ 'authorization',
103
+ 'content-length',
104
+ 'content-type',
105
+ 'host',
106
+ 'user-agent',
107
+ 'connection',
108
+ 'expect',
109
+ 'keep-alive',
110
+ 'proxy-authorization',
111
+ 'proxy-connection',
112
+ 'te',
113
+ 'trailer',
114
+ 'transfer-encoding',
115
+ 'upgrade',
116
+ ]);
117
+ /** An `http_api` token request: an OAuth token request plus headers sent with the token request only. */
118
+ export const HttpApiOAuthTokenRequest = recordStruct({
119
+ ...OAuthTokenRequest.fields,
120
+ headers: Schema.optional(Schema.Record(Schema.String, Schema.String).check(Schema.makeFilter((headers) => {
121
+ const reserved = Object.keys(headers).find((name) => RESERVED_TOKEN_REQUEST_HEADERS.has(name.toLowerCase()));
122
+ return (reserved === undefined ||
123
+ `Expected no ${reserved} token-request header: Temper sets it, or it controls the HTTP connection`);
124
+ }))),
125
+ });
98
126
  const knownAuth = [
99
127
  recordStruct({ type: Schema.Literal('none') }),
100
128
  recordStruct({ type: Schema.Literal('basic'), username: Schema.String, password: Secret }),
@@ -106,10 +134,10 @@ const knownAuth = [
106
134
  placement: Schema.Literals(['authorization_bearer', 'header', 'query']).pipe(Schema.withDecodingDefault(Effect.succeed('header'))),
107
135
  name: NonEmptyString.pipe(Schema.withDecodingDefault(Effect.succeed('x-api-key'))),
108
136
  }),
109
- recordStruct({ type: Schema.Literal('oauth2_client_credentials'), tokenRequest: OAuthTokenRequest }),
137
+ recordStruct({ type: Schema.Literal('oauth2_client_credentials'), tokenRequest: HttpApiOAuthTokenRequest }),
110
138
  recordStruct({
111
139
  type: Schema.Literal('oauth2_password'),
112
- tokenRequest: OAuthTokenRequest,
140
+ tokenRequest: HttpApiOAuthTokenRequest,
113
141
  username: Schema.String,
114
142
  password: Secret,
115
143
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"HttpApiResource.js","sourceRoot":"","sources":["../src/HttpApiResource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAC;AAExE,+GAA+G;AAE/G,2FAA2F;AAC3F,MAAM,CAAC,MAAM,YAAY,GAAG,CAA4C,MAAc,EAAE,EAAE;IACxF,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrC,MAAM,MAAM,GAAG,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAC7F,+GAA+G;IAC/G,OAAO,MAAM,CAAC,IAAI,CAA8D,MAAM,CAAC,GAAG,EAAE;QAC1F,MAAM;QACN,OAAO,EAAE,MAAM,CAAC,OAAO;QACvB,MAAM,EAAE,MAAM,CAAC,MAAM;QACrB,SAAS,EAAE,MAAM,CAAC,SAAS;KAC5B,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,gGAAgG;AAChG,MAAM,MAAM,GAAG,MAAM,CAAC,iBAAiB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AACvD,sGAAsG;AACtG,MAAM,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AA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HAAgH;KAC/G,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,EAAE,QAAQ,EAAE,kBAAkB,EAAE,CAAC,CAAC;KACxF,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvC,+FAA+F;AAC/F,MAAM,CAAC,MAAM,eAAe,GAAG,YAAY,CAAC;IAC1C,yGAAyG;IACzG,OAAO,EAAE,eAAe,CAAC,KAAK,CAC5B,MAAM,CAAC,UAAU,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,wDAAwD,CAAC,CAC1G;IACD,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,mBAAmB,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC;IACzG,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,mBAAmB,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,CAAC,CAAC,CAAC;IAC7F,GAAG,EAAE,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC;IACjC,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC;IAClC,kBAAkB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC;CAC5C,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { HttpApi, type HttpApiGroup } from 'effect/http-api';
2
2
  import { type WorkflowManifest } from './Contract/Manifest.js';
3
- export declare const SDK_VERSION = "0.9.0-oauth.2";
3
+ export declare const SDK_VERSION = "0.9.0-oauth.4";
4
4
  export declare const RUNTIME_API_VERSION = 1;
5
5
  /** The route the SDK serves for platform probes; an API declaring `GET` on it collides with it on every request. */
6
6
  export declare const HEALTHCHECK_PATH = "/healthcheck";
package/dist/Manifest.js CHANGED
@@ -5,7 +5,7 @@ import { declarationOf } from './Resource.js';
5
5
  import { Trigger } from './Trigger.js';
6
6
  const decodeTrigger = Schema.decodeUnknownSync(TriggerMetadata, { onExcessProperty: 'error' });
7
7
  const identityOf = (resource) => `${resource.kind}:${resource.kind === 'resourceType' ? resource.type : resource.key}`;
8
- export const SDK_VERSION = '0.9.0-oauth.2';
8
+ export const SDK_VERSION = '0.9.0-oauth.4';
9
9
  export const RUNTIME_API_VERSION = 1;
10
10
  /** The route the SDK serves for platform probes; an API declaring `GET` on it collides with it on every request. */
11
11
  export const HEALTHCHECK_PATH = '/healthcheck';