owasp-nest 0.0.3 → 0.2.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.
Files changed (99) hide show
  1. package/FUNCTIONS.md +1 -1
  2. package/README.md +13 -18
  3. package/dist/commonjs/funcs/chaptersGetChapter.js +4 -4
  4. package/dist/commonjs/funcs/chaptersGetChapter.js.map +1 -1
  5. package/dist/commonjs/funcs/chaptersListChapters.js +4 -4
  6. package/dist/commonjs/funcs/chaptersListChapters.js.map +1 -1
  7. package/dist/commonjs/funcs/committeesListCommittees.js +4 -4
  8. package/dist/commonjs/funcs/committeesListCommittees.js.map +1 -1
  9. package/dist/commonjs/funcs/communityGetMember.js +4 -4
  10. package/dist/commonjs/funcs/communityGetMember.js.map +1 -1
  11. package/dist/commonjs/funcs/communityListMembers.js +4 -4
  12. package/dist/commonjs/funcs/communityListMembers.js.map +1 -1
  13. package/dist/commonjs/funcs/communityListOrganizations.js +4 -4
  14. package/dist/commonjs/funcs/communityListOrganizations.js.map +1 -1
  15. package/dist/commonjs/funcs/eventsListEvents.js +4 -4
  16. package/dist/commonjs/funcs/eventsListEvents.js.map +1 -1
  17. package/dist/commonjs/funcs/issuesListIssues.js +4 -4
  18. package/dist/commonjs/funcs/issuesListIssues.js.map +1 -1
  19. package/dist/commonjs/funcs/projectsListProjects.js +4 -4
  20. package/dist/commonjs/funcs/projectsListProjects.js.map +1 -1
  21. package/dist/commonjs/funcs/releasesListReleases.js +4 -4
  22. package/dist/commonjs/funcs/releasesListReleases.js.map +1 -1
  23. package/dist/commonjs/funcs/repositoriesListRepositories.js +4 -4
  24. package/dist/commonjs/funcs/repositoriesListRepositories.js.map +1 -1
  25. package/dist/commonjs/lib/config.d.ts +6 -6
  26. package/dist/commonjs/lib/config.d.ts.map +1 -1
  27. package/dist/commonjs/lib/config.js +6 -6
  28. package/dist/commonjs/lib/env.d.ts +1 -1
  29. package/dist/commonjs/lib/env.d.ts.map +1 -1
  30. package/dist/commonjs/lib/env.js +1 -1
  31. package/dist/commonjs/lib/env.js.map +1 -1
  32. package/dist/commonjs/lib/security.js +1 -1
  33. package/dist/commonjs/lib/security.js.map +1 -1
  34. package/dist/commonjs/models/security.d.ts +2 -2
  35. package/dist/commonjs/models/security.d.ts.map +1 -1
  36. package/dist/commonjs/models/security.js +4 -4
  37. package/dist/commonjs/models/security.js.map +1 -1
  38. package/dist/esm/funcs/chaptersGetChapter.js +4 -4
  39. package/dist/esm/funcs/chaptersGetChapter.js.map +1 -1
  40. package/dist/esm/funcs/chaptersListChapters.js +4 -4
  41. package/dist/esm/funcs/chaptersListChapters.js.map +1 -1
  42. package/dist/esm/funcs/committeesListCommittees.js +4 -4
  43. package/dist/esm/funcs/committeesListCommittees.js.map +1 -1
  44. package/dist/esm/funcs/communityGetMember.js +4 -4
  45. package/dist/esm/funcs/communityGetMember.js.map +1 -1
  46. package/dist/esm/funcs/communityListMembers.js +4 -4
  47. package/dist/esm/funcs/communityListMembers.js.map +1 -1
  48. package/dist/esm/funcs/communityListOrganizations.js +4 -4
  49. package/dist/esm/funcs/communityListOrganizations.js.map +1 -1
  50. package/dist/esm/funcs/eventsListEvents.js +4 -4
  51. package/dist/esm/funcs/eventsListEvents.js.map +1 -1
  52. package/dist/esm/funcs/issuesListIssues.js +4 -4
  53. package/dist/esm/funcs/issuesListIssues.js.map +1 -1
  54. package/dist/esm/funcs/projectsListProjects.js +4 -4
  55. package/dist/esm/funcs/projectsListProjects.js.map +1 -1
  56. package/dist/esm/funcs/releasesListReleases.js +4 -4
  57. package/dist/esm/funcs/releasesListReleases.js.map +1 -1
  58. package/dist/esm/funcs/repositoriesListRepositories.js +4 -4
  59. package/dist/esm/funcs/repositoriesListRepositories.js.map +1 -1
  60. package/dist/esm/lib/config.d.ts +6 -6
  61. package/dist/esm/lib/config.d.ts.map +1 -1
  62. package/dist/esm/lib/config.js +6 -6
  63. package/dist/esm/lib/env.d.ts +1 -1
  64. package/dist/esm/lib/env.d.ts.map +1 -1
  65. package/dist/esm/lib/env.js +1 -1
  66. package/dist/esm/lib/env.js.map +1 -1
  67. package/dist/esm/lib/security.js +1 -1
  68. package/dist/esm/lib/security.js.map +1 -1
  69. package/dist/esm/models/security.d.ts +2 -2
  70. package/dist/esm/models/security.d.ts.map +1 -1
  71. package/dist/esm/models/security.js +4 -4
  72. package/dist/esm/models/security.js.map +1 -1
  73. package/docs/sdks/chapters/README.md +6 -6
  74. package/docs/sdks/committees/README.md +3 -3
  75. package/docs/sdks/community/README.md +9 -9
  76. package/docs/sdks/events/README.md +3 -3
  77. package/docs/sdks/issues/README.md +3 -3
  78. package/docs/sdks/projects/README.md +3 -3
  79. package/docs/sdks/releases/README.md +3 -3
  80. package/docs/sdks/repositories/README.md +3 -3
  81. package/examples/chaptersListChapters.example.ts +1 -1
  82. package/examples/package-lock.json +1 -1
  83. package/jsr.json +1 -1
  84. package/package.json +1 -1
  85. package/src/funcs/chaptersGetChapter.ts +4 -4
  86. package/src/funcs/chaptersListChapters.ts +4 -4
  87. package/src/funcs/committeesListCommittees.ts +4 -4
  88. package/src/funcs/communityGetMember.ts +4 -4
  89. package/src/funcs/communityListMembers.ts +4 -4
  90. package/src/funcs/communityListOrganizations.ts +4 -4
  91. package/src/funcs/eventsListEvents.ts +4 -4
  92. package/src/funcs/issuesListIssues.ts +4 -4
  93. package/src/funcs/projectsListProjects.ts +4 -4
  94. package/src/funcs/releasesListReleases.ts +4 -4
  95. package/src/funcs/repositoriesListRepositories.ts +4 -4
  96. package/src/lib/config.ts +7 -7
  97. package/src/lib/env.ts +2 -2
  98. package/src/lib/security.ts +1 -1
  99. package/src/models/security.ts +6 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "owasp-nest",
3
- "version": "0.0.3",
3
+ "version": "0.2.0",
4
4
  "author": "Arkadii Yakovets",
5
5
  "type": "module",
6
6
  "tshy": {
@@ -96,14 +96,14 @@ async function $do(
96
96
  }),
97
97
  };
98
98
 
99
- const path = pathToFunc("/api/v1/chapters/{key}")(pathParams);
99
+ const path = pathToFunc("/api/v0/chapters/{key}")(pathParams);
100
100
 
101
101
  const headers = new Headers(compactMap({
102
102
  Accept: "application/json",
103
103
  }));
104
104
 
105
- const secConfig = await extractSecurity(client._options.apiKeyAuth);
106
- const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
105
+ const secConfig = await extractSecurity(client._options.apiKeyHeader);
106
+ const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
107
107
  const requestSecurity = resolveGlobalSecurity(securityInput);
108
108
 
109
109
  const context = {
@@ -114,7 +114,7 @@ async function $do(
114
114
 
115
115
  resolvedSecurity: requestSecurity,
116
116
 
117
- securitySource: client._options.apiKeyAuth,
117
+ securitySource: client._options.apiKeyHeader,
118
118
  retryConfig: options?.retries
119
119
  || client._options.retryConfig
120
120
  || { strategy: "none" },
@@ -87,7 +87,7 @@ async function $do(
87
87
  const payload = parsed.value;
88
88
  const body = null;
89
89
 
90
- const path = pathToFunc("/api/v1/chapters/")();
90
+ const path = pathToFunc("/api/v0/chapters/")();
91
91
 
92
92
  const query = encodeFormQuery({
93
93
  "country": payload?.country,
@@ -101,8 +101,8 @@ async function $do(
101
101
  Accept: "application/json",
102
102
  }));
103
103
 
104
- const secConfig = await extractSecurity(client._options.apiKeyAuth);
105
- const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
104
+ const secConfig = await extractSecurity(client._options.apiKeyHeader);
105
+ const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
106
106
  const requestSecurity = resolveGlobalSecurity(securityInput);
107
107
 
108
108
  const context = {
@@ -113,7 +113,7 @@ async function $do(
113
113
 
114
114
  resolvedSecurity: requestSecurity,
115
115
 
116
- securitySource: client._options.apiKeyAuth,
116
+ securitySource: client._options.apiKeyHeader,
117
117
  retryConfig: options?.retries
118
118
  || client._options.retryConfig
119
119
  || { strategy: "none" },
@@ -87,7 +87,7 @@ async function $do(
87
87
  const payload = parsed.value;
88
88
  const body = null;
89
89
 
90
- const path = pathToFunc("/api/v1/committees/")();
90
+ const path = pathToFunc("/api/v0/committees/")();
91
91
 
92
92
  const query = encodeFormQuery({
93
93
  "ordering": payload?.ordering,
@@ -99,8 +99,8 @@ async function $do(
99
99
  Accept: "application/json",
100
100
  }));
101
101
 
102
- const secConfig = await extractSecurity(client._options.apiKeyAuth);
103
- const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
102
+ const secConfig = await extractSecurity(client._options.apiKeyHeader);
103
+ const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
104
104
  const requestSecurity = resolveGlobalSecurity(securityInput);
105
105
 
106
106
  const context = {
@@ -111,7 +111,7 @@ async function $do(
111
111
 
112
112
  resolvedSecurity: requestSecurity,
113
113
 
114
- securitySource: client._options.apiKeyAuth,
114
+ securitySource: client._options.apiKeyHeader,
115
115
  retryConfig: options?.retries
116
116
  || client._options.retryConfig
117
117
  || { strategy: "none" },
@@ -96,14 +96,14 @@ async function $do(
96
96
  }),
97
97
  };
98
98
 
99
- const path = pathToFunc("/api/v1/members/{login}")(pathParams);
99
+ const path = pathToFunc("/api/v0/members/{login}")(pathParams);
100
100
 
101
101
  const headers = new Headers(compactMap({
102
102
  Accept: "application/json",
103
103
  }));
104
104
 
105
- const secConfig = await extractSecurity(client._options.apiKeyAuth);
106
- const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
105
+ const secConfig = await extractSecurity(client._options.apiKeyHeader);
106
+ const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
107
107
  const requestSecurity = resolveGlobalSecurity(securityInput);
108
108
 
109
109
  const context = {
@@ -114,7 +114,7 @@ async function $do(
114
114
 
115
115
  resolvedSecurity: requestSecurity,
116
116
 
117
- securitySource: client._options.apiKeyAuth,
117
+ securitySource: client._options.apiKeyHeader,
118
118
  retryConfig: options?.retries
119
119
  || client._options.retryConfig
120
120
  || { strategy: "none" },
@@ -87,7 +87,7 @@ async function $do(
87
87
  const payload = parsed.value;
88
88
  const body = null;
89
89
 
90
- const path = pathToFunc("/api/v1/members/")();
90
+ const path = pathToFunc("/api/v0/members/")();
91
91
 
92
92
  const query = encodeFormQuery({
93
93
  "company": payload?.company,
@@ -101,8 +101,8 @@ async function $do(
101
101
  Accept: "application/json",
102
102
  }));
103
103
 
104
- const secConfig = await extractSecurity(client._options.apiKeyAuth);
105
- const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
104
+ const secConfig = await extractSecurity(client._options.apiKeyHeader);
105
+ const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
106
106
  const requestSecurity = resolveGlobalSecurity(securityInput);
107
107
 
108
108
  const context = {
@@ -113,7 +113,7 @@ async function $do(
113
113
 
114
114
  resolvedSecurity: requestSecurity,
115
115
 
116
- securitySource: client._options.apiKeyAuth,
116
+ securitySource: client._options.apiKeyHeader,
117
117
  retryConfig: options?.retries
118
118
  || client._options.retryConfig
119
119
  || { strategy: "none" },
@@ -89,7 +89,7 @@ async function $do(
89
89
  const payload = parsed.value;
90
90
  const body = null;
91
91
 
92
- const path = pathToFunc("/api/v1/organizations/")();
92
+ const path = pathToFunc("/api/v0/organizations/")();
93
93
 
94
94
  const query = encodeFormQuery({
95
95
  "location": payload?.location,
@@ -102,8 +102,8 @@ async function $do(
102
102
  Accept: "application/json",
103
103
  }));
104
104
 
105
- const secConfig = await extractSecurity(client._options.apiKeyAuth);
106
- const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
105
+ const secConfig = await extractSecurity(client._options.apiKeyHeader);
106
+ const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
107
107
  const requestSecurity = resolveGlobalSecurity(securityInput);
108
108
 
109
109
  const context = {
@@ -114,7 +114,7 @@ async function $do(
114
114
 
115
115
  resolvedSecurity: requestSecurity,
116
116
 
117
- securitySource: client._options.apiKeyAuth,
117
+ securitySource: client._options.apiKeyHeader,
118
118
  retryConfig: options?.retries
119
119
  || client._options.retryConfig
120
120
  || { strategy: "none" },
@@ -87,7 +87,7 @@ async function $do(
87
87
  const payload = parsed.value;
88
88
  const body = null;
89
89
 
90
- const path = pathToFunc("/api/v1/events/")();
90
+ const path = pathToFunc("/api/v0/events/")();
91
91
 
92
92
  const query = encodeFormQuery({
93
93
  "ordering": payload?.ordering,
@@ -99,8 +99,8 @@ async function $do(
99
99
  Accept: "application/json",
100
100
  }));
101
101
 
102
- const secConfig = await extractSecurity(client._options.apiKeyAuth);
103
- const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
102
+ const secConfig = await extractSecurity(client._options.apiKeyHeader);
103
+ const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
104
104
  const requestSecurity = resolveGlobalSecurity(securityInput);
105
105
 
106
106
  const context = {
@@ -111,7 +111,7 @@ async function $do(
111
111
 
112
112
  resolvedSecurity: requestSecurity,
113
113
 
114
- securitySource: client._options.apiKeyAuth,
114
+ securitySource: client._options.apiKeyHeader,
115
115
  retryConfig: options?.retries
116
116
  || client._options.retryConfig
117
117
  || { strategy: "none" },
@@ -87,7 +87,7 @@ async function $do(
87
87
  const payload = parsed.value;
88
88
  const body = null;
89
89
 
90
- const path = pathToFunc("/api/v1/issues/")();
90
+ const path = pathToFunc("/api/v0/issues/")();
91
91
 
92
92
  const query = encodeFormQuery({
93
93
  "ordering": payload?.ordering,
@@ -100,8 +100,8 @@ async function $do(
100
100
  Accept: "application/json",
101
101
  }));
102
102
 
103
- const secConfig = await extractSecurity(client._options.apiKeyAuth);
104
- const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
103
+ const secConfig = await extractSecurity(client._options.apiKeyHeader);
104
+ const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
105
105
  const requestSecurity = resolveGlobalSecurity(securityInput);
106
106
 
107
107
  const context = {
@@ -112,7 +112,7 @@ async function $do(
112
112
 
113
113
  resolvedSecurity: requestSecurity,
114
114
 
115
- securitySource: client._options.apiKeyAuth,
115
+ securitySource: client._options.apiKeyHeader,
116
116
  retryConfig: options?.retries
117
117
  || client._options.retryConfig
118
118
  || { strategy: "none" },
@@ -87,7 +87,7 @@ async function $do(
87
87
  const payload = parsed.value;
88
88
  const body = null;
89
89
 
90
- const path = pathToFunc("/api/v1/projects/")();
90
+ const path = pathToFunc("/api/v0/projects/")();
91
91
 
92
92
  const query = encodeFormQuery({
93
93
  "level": payload?.level,
@@ -100,8 +100,8 @@ async function $do(
100
100
  Accept: "application/json",
101
101
  }));
102
102
 
103
- const secConfig = await extractSecurity(client._options.apiKeyAuth);
104
- const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
103
+ const secConfig = await extractSecurity(client._options.apiKeyHeader);
104
+ const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
105
105
  const requestSecurity = resolveGlobalSecurity(securityInput);
106
106
 
107
107
  const context = {
@@ -112,7 +112,7 @@ async function $do(
112
112
 
113
113
  resolvedSecurity: requestSecurity,
114
114
 
115
- securitySource: client._options.apiKeyAuth,
115
+ securitySource: client._options.apiKeyHeader,
116
116
  retryConfig: options?.retries
117
117
  || client._options.retryConfig
118
118
  || { strategy: "none" },
@@ -87,7 +87,7 @@ async function $do(
87
87
  const payload = parsed.value;
88
88
  const body = null;
89
89
 
90
- const path = pathToFunc("/api/v1/releases/")();
90
+ const path = pathToFunc("/api/v0/releases/")();
91
91
 
92
92
  const query = encodeFormQuery({
93
93
  "ordering": payload?.ordering,
@@ -100,8 +100,8 @@ async function $do(
100
100
  Accept: "application/json",
101
101
  }));
102
102
 
103
- const secConfig = await extractSecurity(client._options.apiKeyAuth);
104
- const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
103
+ const secConfig = await extractSecurity(client._options.apiKeyHeader);
104
+ const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
105
105
  const requestSecurity = resolveGlobalSecurity(securityInput);
106
106
 
107
107
  const context = {
@@ -112,7 +112,7 @@ async function $do(
112
112
 
113
113
  resolvedSecurity: requestSecurity,
114
114
 
115
- securitySource: client._options.apiKeyAuth,
115
+ securitySource: client._options.apiKeyHeader,
116
116
  retryConfig: options?.retries
117
117
  || client._options.retryConfig
118
118
  || { strategy: "none" },
@@ -87,7 +87,7 @@ async function $do(
87
87
  const payload = parsed.value;
88
88
  const body = null;
89
89
 
90
- const path = pathToFunc("/api/v1/repositories/")();
90
+ const path = pathToFunc("/api/v0/repositories/")();
91
91
 
92
92
  const query = encodeFormQuery({
93
93
  "ordering": payload?.ordering,
@@ -99,8 +99,8 @@ async function $do(
99
99
  Accept: "application/json",
100
100
  }));
101
101
 
102
- const secConfig = await extractSecurity(client._options.apiKeyAuth);
103
- const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
102
+ const secConfig = await extractSecurity(client._options.apiKeyHeader);
103
+ const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
104
104
  const requestSecurity = resolveGlobalSecurity(securityInput);
105
105
 
106
106
  const context = {
@@ -111,7 +111,7 @@ async function $do(
111
111
 
112
112
  resolvedSecurity: requestSecurity,
113
113
 
114
- securitySource: client._options.apiKeyAuth,
114
+ securitySource: client._options.apiKeyHeader,
115
115
  retryConfig: options?.retries
116
116
  || client._options.retryConfig
117
117
  || { strategy: "none" },
package/src/lib/config.ts CHANGED
@@ -12,13 +12,13 @@ import { Params, pathToFunc } from "./url.js";
12
12
  */
13
13
  export const ServerList = [
14
14
  /**
15
- * Production
15
+ * Staging
16
16
  */
17
- "https://nest.owasp.org",
17
+ "https://nest.owasp.dev",
18
18
  ] as const;
19
19
 
20
20
  export type SDKOptions = {
21
- apiKeyAuth?: string | (() => Promise<string>) | undefined;
21
+ apiKeyHeader?: string | (() => Promise<string>) | undefined;
22
22
 
23
23
  httpClient?: HTTPClient;
24
24
  /**
@@ -60,8 +60,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
60
60
 
61
61
  export const SDK_METADATA = {
62
62
  language: "typescript",
63
- openapiDocVersion: "1.0.0",
64
- sdkVersion: "0.0.3",
65
- genVersion: "2.696.0",
66
- userAgent: "speakeasy-sdk/typescript 0.0.3 2.696.0 1.0.0 owasp-nest",
63
+ openapiDocVersion: "0.2.0",
64
+ sdkVersion: "0.2.0",
65
+ genVersion: "2.698.0",
66
+ userAgent: "speakeasy-sdk/typescript 0.2.0 2.698.0 0.2.0 owasp-nest",
67
67
  } as const;
package/src/lib/env.ts CHANGED
@@ -7,13 +7,13 @@ import { dlv } from "./dlv.js";
7
7
  import * as z from "zod";
8
8
 
9
9
  export interface Env {
10
- NEST_API_KEY_AUTH?: string | undefined;
10
+ NEST_API_KEY_HEADER?: string | undefined;
11
11
 
12
12
  NEST_DEBUG?: boolean | undefined;
13
13
  }
14
14
 
15
15
  export const envSchema: z.ZodType<Env, z.ZodTypeDef, unknown> = z.object({
16
- NEST_API_KEY_AUTH: z.string().optional(),
16
+ NEST_API_KEY_HEADER: z.string().optional(),
17
17
 
18
18
  NEST_DEBUG: z.coerce.boolean().optional(),
19
19
  });
@@ -247,7 +247,7 @@ export function resolveGlobalSecurity(
247
247
  {
248
248
  fieldName: "X-API-Key",
249
249
  type: "apiKey:header",
250
- value: security?.apiKeyAuth ?? env().NEST_API_KEY_AUTH,
250
+ value: security?.apiKeyHeader ?? env().NEST_API_KEY_HEADER,
251
251
  },
252
252
  ],
253
253
  );
@@ -9,7 +9,7 @@ import { Result as SafeParseResult } from "../types/fp.js";
9
9
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
10
10
 
11
11
  export type Security = {
12
- apiKeyAuth?: string | undefined;
12
+ apiKeyHeader?: string | undefined;
13
13
  };
14
14
 
15
15
  /** @internal */
@@ -18,16 +18,16 @@ export const Security$inboundSchema: z.ZodType<
18
18
  z.ZodTypeDef,
19
19
  unknown
20
20
  > = z.object({
21
- ApiKeyAuth: z.string().optional(),
21
+ ApiKeyHeader: z.string().optional(),
22
22
  }).transform((v) => {
23
23
  return remap$(v, {
24
- "ApiKeyAuth": "apiKeyAuth",
24
+ "ApiKeyHeader": "apiKeyHeader",
25
25
  });
26
26
  });
27
27
 
28
28
  /** @internal */
29
29
  export type Security$Outbound = {
30
- ApiKeyAuth?: string | undefined;
30
+ ApiKeyHeader?: string | undefined;
31
31
  };
32
32
 
33
33
  /** @internal */
@@ -36,10 +36,10 @@ export const Security$outboundSchema: z.ZodType<
36
36
  z.ZodTypeDef,
37
37
  Security
38
38
  > = z.object({
39
- apiKeyAuth: z.string().optional(),
39
+ apiKeyHeader: z.string().optional(),
40
40
  }).transform((v) => {
41
41
  return remap$(v, {
42
- apiKeyAuth: "ApiKeyAuth",
42
+ apiKeyHeader: "ApiKeyHeader",
43
43
  });
44
44
  });
45
45