@ahoo-wang/fetcher-decorator 1.9.8 → 2.0.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.
@@ -1 +1 @@
1
- {"version":3,"file":"functionMetadata.d.ts","sourceRoot":"","sources":["../src/functionMetadata.ts"],"names":[],"mappings":"AAaA,OAAO,EAEL,OAAO,EACP,KAAK,iBAAiB,EAKtB,YAAY,EAEZ,eAAe,EAEhB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EACL,iBAAiB,EAGlB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE;;;;;;GAMG;AACH,qBAAa,gBAAiB,YAAW,YAAY;IACnD;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,EAAE,WAAW,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,gBAAgB,CAAC;IAE3B;;;;;;;;;;OAUG;IACH,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;IAE3C;;;;;;;OAOG;gBAED,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,WAAW,EAChB,QAAQ,EAAE,gBAAgB,EAC1B,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,iBAAiB,CAAC;IAQ5C;;;;;;;OAOG;IACH,IAAI,OAAO,IAAI,OAAO,CAErB;IAED;;;;;OAKG;IACH,WAAW,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM;IAW3C;;;;;;;OAOG;IACH,cAAc,IAAI,MAAM,GAAG,SAAS;IAIpC,sBAAsB,IAAI,eAAe,CAAC,GAAG,CAAC;IAQ9C,iBAAiB,IAAI,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC;IAKrC,yBAAyB,IAAI,kBAAkB;IAI/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,mBAAmB,CACjB,IAAI,EAAE,GAAG,EAAE,GACV,QAAQ,CAAC,IAAI,CAAC,iBAAiB,EAAE,SAAS,GAAG,YAAY,CAAC,CAAC;IAwE9D,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,gBAAgB;IAQxB,OAAO,CAAC,iBAAiB;IAQzB,OAAO,CAAC,kBAAkB;IAQ1B;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,OAAO,CAAC,mBAAmB;IAc3B,OAAO,CAAC,qBAAqB;CAa9B"}
1
+ {"version":3,"file":"functionMetadata.d.ts","sourceRoot":"","sources":["../src/functionMetadata.ts"],"names":[],"mappings":"AAaA,OAAO,EAEL,OAAO,EACP,KAAK,iBAAiB,EAKtB,YAAY,EAEZ,eAAe,EAEhB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EACL,iBAAiB,EAGlB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE;;;;;;GAMG;AACH,qBAAa,gBAAiB,YAAW,YAAY;IACnD;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,EAAE,WAAW,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,gBAAgB,CAAC;IAE3B;;;;;;;;;;OAUG;IACH,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;IAE3C;;;;;;;OAOG;gBAED,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,WAAW,EAChB,QAAQ,EAAE,gBAAgB,EAC1B,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,iBAAiB,CAAC;IAQ5C;;;;;;;OAOG;IACH,IAAI,OAAO,IAAI,OAAO,CAErB;IAED;;;;;OAKG;IACH,WAAW,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM;IAW3C;;;;;;;OAOG;IACH,cAAc,IAAI,MAAM,GAAG,SAAS;IAIpC,sBAAsB,IAAI,eAAe,CAAC,GAAG,CAAC;IAQ9C,iBAAiB,IAAI,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC;IAKrC,yBAAyB,IAAI,kBAAkB;IAI/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,mBAAmB,CACjB,IAAI,EAAE,GAAG,EAAE,GACV,QAAQ,CAAC,IAAI,CAAC,iBAAiB,EAAE,SAAS,GAAG,YAAY,CAAC,CAAC;IAwE9D,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,gBAAgB;IAQxB,OAAO,CAAC,iBAAiB;IAQzB,OAAO,CAAC,kBAAkB;IAQ1B;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,OAAO,CAAC,mBAAmB;IAc3B,OAAO,CAAC,qBAAqB;CAa9B"}
package/dist/index.d.ts CHANGED
@@ -6,5 +6,4 @@ export * from './parameterDecorator';
6
6
  export * from './reflection';
7
7
  export * from './requestExecutor';
8
8
  export * from './generated';
9
- export * from './resultExtractor';
10
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC"}
package/dist/index.es.js CHANGED
@@ -1,8 +1,7 @@
1
- import { HttpMethod as u, JsonResultExtractor as T, TextResultExtractor as _, ResponseResultExtractor as w, ExchangeResultExtractor as O, getFetcher as U, combineURLs as I, mergeRecordToMap as l, mergeRequest as S } from "@ahoo-wang/fetcher";
1
+ import { HttpMethod as u, getFetcher as O, combineURLs as D, JsonResultExtractor as H, mergeRecordToMap as l, mergeRequest as w } from "@ahoo-wang/fetcher";
2
2
  import "reflect-metadata";
3
- import { JsonEventStreamResultExtractor as v, EventStreamResultExtractor as N } from "@ahoo-wang/fetcher-eventstream";
4
- const g = Symbol("endpoint:metadata");
5
- function p(t, e, r = {}) {
3
+ const x = Symbol("endpoint:metadata");
4
+ function h(t, e, r = {}) {
6
5
  return function(n, s) {
7
6
  const a = {
8
7
  method: t,
@@ -10,37 +9,37 @@ function p(t, e, r = {}) {
10
9
  ...r
11
10
  };
12
11
  Reflect.defineMetadata(
13
- g,
12
+ x,
14
13
  a,
15
14
  n,
16
15
  s
17
16
  );
18
17
  };
19
18
  }
20
- function nt(t = "", e = {}) {
21
- return p(u.GET, t, e);
19
+ function z(t = "", e = {}) {
20
+ return h(u.GET, t, e);
22
21
  }
23
- function st(t = "", e = {}) {
24
- return p(u.POST, t, e);
22
+ function Z(t = "", e = {}) {
23
+ return h(u.POST, t, e);
25
24
  }
26
- function at(t = "", e = {}) {
27
- return p(u.PUT, t, e);
25
+ function F(t = "", e = {}) {
26
+ return h(u.PUT, t, e);
28
27
  }
29
- function ot(t = "", e = {}) {
30
- return p(u.DELETE, t, e);
28
+ function tt(t = "", e = {}) {
29
+ return h(u.DELETE, t, e);
31
30
  }
32
- function it(t = "", e = {}) {
33
- return p(u.PATCH, t, e);
31
+ function et(t = "", e = {}) {
32
+ return h(u.PATCH, t, e);
34
33
  }
35
- function ct(t = "", e = {}) {
36
- return p(u.HEAD, t, e);
34
+ function rt(t = "", e = {}) {
35
+ return h(u.HEAD, t, e);
37
36
  }
38
- function ut(t = "", e = {}) {
39
- return p(u.OPTIONS, t, e);
37
+ function nt(t = "", e = {}) {
38
+ return h(u.OPTIONS, t, e);
40
39
  }
41
- var x = /* @__PURE__ */ ((t) => (t.EXCHANGE = "Exchange", t.RESULT = "Result", t))(x || {});
42
- const C = "__decorator_target__";
43
- class Y {
40
+ var b = /* @__PURE__ */ ((t) => (t.EXCHANGE = "Exchange", t.RESULT = "Result", t))(b || {});
41
+ const I = "__decorator_target__", U = "__decorator_metadata__";
42
+ class C {
44
43
  /**
45
44
  * Creates a new RequestExecutor instance.
46
45
  * @param target - The target object that the method is called on.
@@ -88,60 +87,60 @@ class Y {
88
87
  */
89
88
  async execute(e) {
90
89
  const r = this.metadata.fetcher, n = this.metadata.resolveExchangeInit(e);
91
- n.attributes?.set(C, this.target);
90
+ n.attributes?.set(I, this.target), n.attributes?.set(U, this.metadata);
92
91
  const s = this.metadata.resolveResultExtractor(), a = this.metadata.resolveEndpointReturnType(), o = await r.exchange(n.request, {
93
92
  resultExtractor: s,
94
93
  attributes: n.attributes
95
94
  });
96
- return a === x.EXCHANGE ? o : o.extractResult();
95
+ return a === b.EXCHANGE ? o : o.extractResult();
97
96
  }
98
97
  }
99
- const f = /* @__PURE__ */ new WeakMap();
100
- function k(t) {
98
+ const m = /* @__PURE__ */ new WeakMap();
99
+ function N(t) {
101
100
  if (typeof t != "function")
102
101
  throw new TypeError("Expected a function");
103
- if (f.has(t))
104
- return f.get(t);
102
+ if (m.has(t))
103
+ return m.get(t);
105
104
  try {
106
- const e = t.toString().trim(), r = Q(e);
107
- if (!L(r)) {
105
+ const e = t.toString().trim(), r = G(e);
106
+ if (!k(r)) {
108
107
  const s = [];
109
- return f.set(t, s), s;
108
+ return m.set(t, s), s;
110
109
  }
111
- const n = B(r);
112
- return f.set(t, n), n;
110
+ const n = S(r);
111
+ return m.set(t, n), n;
113
112
  } catch {
114
113
  const e = [];
115
- return f.set(t, e), e;
114
+ return m.set(t, e), e;
116
115
  }
117
116
  }
118
- function G(t, e, r, n) {
117
+ function Y(t, e, r, n) {
119
118
  if (n)
120
119
  return n;
121
120
  try {
122
121
  const s = t[e];
123
122
  if (s && typeof s == "function") {
124
- const a = k(s);
123
+ const a = N(s);
125
124
  if (r < a.length)
126
125
  return a[r];
127
126
  }
128
127
  } catch {
129
128
  }
130
129
  }
131
- function L(t) {
130
+ function k(t) {
132
131
  return t != null && t.trim() !== "";
133
132
  }
134
- function Q(t) {
133
+ function G(t) {
135
134
  if (t.startsWith("(")) {
136
- const n = A(t, 0);
135
+ const n = T(t, 0);
137
136
  return n === -1 ? "" : t.substring(1, n);
138
137
  }
139
138
  const e = t.indexOf("(");
140
139
  if (e === -1) return "";
141
- const r = A(t, e);
140
+ const r = T(t, e);
142
141
  return r === -1 ? "" : t.substring(e + 1, r);
143
142
  }
144
- function A(t, e) {
143
+ function T(t, e) {
145
144
  let r = 1;
146
145
  for (let n = e + 1; n < t.length; n++) {
147
146
  const s = t[n];
@@ -152,83 +151,74 @@ function A(t, e) {
152
151
  }
153
152
  return -1;
154
153
  }
155
- function B(t) {
156
- return t.split(",").map(j).filter(J).map(W);
154
+ function S(t) {
155
+ return t.split(",").map(B).filter(Q).map(v);
157
156
  }
158
- function j(t) {
157
+ function B(t) {
159
158
  return t.trim();
160
159
  }
161
- function J(t) {
160
+ function Q(t) {
162
161
  return t.length > 0;
163
162
  }
164
- function W(t) {
165
- let e = K(t);
166
- return e = X(e), e.trim();
163
+ function v(t) {
164
+ let e = j(t);
165
+ return e = L(e), e.trim();
167
166
  }
168
- function K(t) {
167
+ function j(t) {
169
168
  const e = t.indexOf("=");
170
169
  return e !== -1 ? t.substring(0, e) : t;
171
170
  }
172
- function X(t) {
171
+ function L(t) {
173
172
  const e = t.indexOf(":");
174
173
  return e !== -1 ? t.substring(0, e) : t;
175
174
  }
176
175
  var c = /* @__PURE__ */ ((t) => (t.PATH = "path", t.QUERY = "query", t.HEADER = "header", t.BODY = "body", t.REQUEST = "request", t.ATTRIBUTE = "attribute", t))(c || {});
177
- const R = Symbol("parameter:metadata");
178
- function m(t, e = "") {
176
+ const P = Symbol("parameter:metadata");
177
+ function f(t, e = "") {
179
178
  return function(r, n, s) {
180
- const a = G(
179
+ const a = Y(
181
180
  r,
182
181
  n,
183
182
  s,
184
183
  e
185
- ), o = Reflect.getMetadata(R, r, n) || /* @__PURE__ */ new Map(), h = {
184
+ ), o = Reflect.getMetadata(P, r, n) || /* @__PURE__ */ new Map(), p = {
186
185
  type: t,
187
186
  name: a,
188
187
  index: s
189
188
  };
190
- o.set(s, h), Reflect.defineMetadata(
191
- R,
189
+ o.set(s, p), Reflect.defineMetadata(
190
+ P,
192
191
  o,
193
192
  r,
194
193
  n
195
194
  );
196
195
  };
197
196
  }
198
- function pt(t = "") {
199
- return m("path", t);
197
+ function st(t = "") {
198
+ return f("path", t);
200
199
  }
201
- function ht(t = "") {
202
- return m("query", t);
200
+ function at(t = "") {
201
+ return f("query", t);
203
202
  }
204
- function dt(t = "") {
205
- return m("header", t);
203
+ function ot(t = "") {
204
+ return f("header", t);
206
205
  }
207
- function mt() {
208
- return m(
206
+ function it() {
207
+ return f(
209
208
  "body"
210
209
  /* BODY */
211
210
  );
212
211
  }
213
- function ft() {
214
- return m(
212
+ function ct() {
213
+ return f(
215
214
  "request"
216
215
  /* REQUEST */
217
216
  );
218
217
  }
219
- function Et(t = "") {
220
- return m("attribute", t);
221
- }
222
- const V = {
223
- Exchange: O,
224
- Response: w,
225
- Json: T,
226
- Text: _,
227
- EventStream: N,
228
- JsonEventStream: v,
229
- DEFAULT: T
230
- };
231
- class y {
218
+ function ut(t = "") {
219
+ return f("attribute", t);
220
+ }
221
+ class g {
232
222
  /**
233
223
  * Creates a new FunctionMetadata instance.
234
224
  *
@@ -249,7 +239,7 @@ class y {
249
239
  * @returns The fetcher instance
250
240
  */
251
241
  get fetcher() {
252
- return U(this.endpoint.fetcher ?? this.api.fetcher);
242
+ return O(this.endpoint.fetcher ?? this.api.fetcher);
253
243
  }
254
244
  /**
255
245
  * Resolves the complete path by combining base path and endpoint path
@@ -259,7 +249,7 @@ class y {
259
249
  */
260
250
  resolvePath(e) {
261
251
  const r = this.endpoint.basePath || this.api.basePath || "", n = e || this.endpoint.path || "";
262
- return I(r, n);
252
+ return D(r, n);
263
253
  }
264
254
  /**
265
255
  * Resolves the timeout for the request.
@@ -273,14 +263,14 @@ class y {
273
263
  return this.endpoint.timeout || this.api.timeout;
274
264
  }
275
265
  resolveResultExtractor() {
276
- return this.endpoint.resultExtractor || this.api.resultExtractor || V.DEFAULT;
266
+ return this.endpoint.resultExtractor || this.api.resultExtractor || H;
277
267
  }
278
268
  resolveAttributes() {
279
269
  const e = l(this.api.attributes);
280
270
  return l(this.endpoint.attributes, e);
281
271
  }
282
272
  resolveEndpointReturnType() {
283
- return this.endpoint.returnType || this.api.returnType || x.RESULT;
273
+ return this.endpoint.returnType || this.api.returnType || b.RESULT;
284
274
  }
285
275
  /**
286
276
  * Resolves the request configuration from the method arguments.
@@ -333,18 +323,18 @@ class y {
333
323
  ...this.api.headers,
334
324
  ...this.endpoint.headers
335
325
  };
336
- let a, o, h, E = {};
337
- const P = this.resolveAttributes();
338
- e.forEach((i, H) => {
326
+ let a, o, p, E = {};
327
+ const R = this.resolveAttributes();
328
+ e.forEach((i, _) => {
339
329
  if (i instanceof AbortSignal) {
340
330
  o = i;
341
331
  return;
342
332
  }
343
333
  if (i instanceof AbortController) {
344
- h = i;
334
+ p = i;
345
335
  return;
346
336
  }
347
- const d = this.parameters.get(H);
337
+ const d = this.parameters.get(_);
348
338
  if (d)
349
339
  switch (d.type) {
350
340
  case c.PATH:
@@ -363,28 +353,28 @@ class y {
363
353
  E = this.processRequestParam(i);
364
354
  break;
365
355
  case c.ATTRIBUTE:
366
- this.processAttributeParam(d, i, P);
356
+ this.processAttributeParam(d, i, R);
367
357
  break;
368
358
  }
369
359
  });
370
- const q = {
360
+ const y = {
371
361
  path: r,
372
362
  query: n
373
- }, M = {
363
+ }, q = {
374
364
  method: this.endpoint.method,
375
- urlParams: q,
365
+ urlParams: y,
376
366
  headers: s,
377
367
  body: a,
378
368
  timeout: this.resolveTimeout(),
379
369
  signal: o,
380
- abortController: h
381
- }, b = S(
382
- M,
370
+ abortController: p
371
+ }, A = w(
372
+ q,
383
373
  E
384
- ), D = E.path;
385
- return b.url = this.resolvePath(D), {
386
- request: b,
387
- attributes: P
374
+ ), M = E.path;
375
+ return A.url = this.resolvePath(M), {
376
+ request: A,
377
+ attributes: R
388
378
  };
389
379
  }
390
380
  processHttpParam(e, r, n) {
@@ -450,42 +440,42 @@ class y {
450
440
  e.name && r !== void 0 && n.set(e.name, r);
451
441
  }
452
442
  }
453
- const $ = Symbol("api:metadata");
454
- function z(t, e, r) {
443
+ const K = Symbol("api:metadata");
444
+ function W(t, e, r) {
455
445
  const n = t.prototype[e];
456
446
  if (e === "constructor" || typeof n != "function")
457
447
  return;
458
448
  const s = Reflect.getMetadata(
459
- g,
449
+ x,
460
450
  t.prototype,
461
451
  e
462
452
  );
463
453
  if (!s)
464
454
  return;
465
455
  const a = Reflect.getMetadata(
466
- R,
456
+ P,
467
457
  t.prototype,
468
458
  e
469
- ) || /* @__PURE__ */ new Map(), o = new y(
459
+ ) || /* @__PURE__ */ new Map(), o = new g(
470
460
  e,
471
461
  r,
472
462
  s,
473
463
  a
474
464
  );
475
- t.prototype[e] = function(...h) {
476
- return F(this, o).execute(h);
465
+ t.prototype[e] = function(...p) {
466
+ return X(this, o).execute(p);
477
467
  };
478
468
  }
479
- function F(t, e) {
469
+ function X(t, e) {
480
470
  let r = t.requestExecutors;
481
471
  r || (r = /* @__PURE__ */ new Map(), t.requestExecutors = r);
482
472
  let n = r.get(e.name);
483
473
  if (n)
484
474
  return n;
485
475
  const s = t.apiMetadata, a = { ...e.api, ...s };
486
- return n = new Y(
476
+ return n = new C(
487
477
  t,
488
- new y(
478
+ new g(
489
479
  e.name,
490
480
  a,
491
481
  e.endpoint,
@@ -493,53 +483,53 @@ function F(t, e) {
493
483
  )
494
484
  ), r.set(e.name, n), n;
495
485
  }
496
- function lt(t = "", e = {}) {
486
+ function ht(t = "", e = {}) {
497
487
  return function(r) {
498
488
  const n = {
499
489
  basePath: t,
500
490
  ...e
501
491
  };
502
- return Reflect.defineMetadata($, n, r), Object.getOwnPropertyNames(r.prototype).forEach((s) => {
503
- z(r, s, n);
492
+ return Reflect.defineMetadata(K, n, r), Object.getOwnPropertyNames(r.prototype).forEach((s) => {
493
+ W(r, s, n);
504
494
  }), r;
505
495
  };
506
496
  }
507
- class Z extends Error {
497
+ class J extends Error {
508
498
  constructor() {
509
499
  super("Implementation will be generated automatically."), this.name = "AutoGenerated";
510
500
  }
511
501
  }
512
- const Rt = (...t) => new Z();
502
+ const pt = (...t) => new J();
513
503
  export {
514
- $ as API_METADATA_KEY,
515
- Z as AutoGenerated,
516
- C as DECORATOR_TARGET_ATTRIBUTE_KEY,
517
- g as ENDPOINT_METADATA_KEY,
518
- x as EndpointReturnType,
519
- y as FunctionMetadata,
520
- R as PARAMETER_METADATA_KEY,
504
+ K as API_METADATA_KEY,
505
+ J as AutoGenerated,
506
+ U as DECORATOR_METADATA_ATTRIBUTE_KEY,
507
+ I as DECORATOR_TARGET_ATTRIBUTE_KEY,
508
+ x as ENDPOINT_METADATA_KEY,
509
+ b as EndpointReturnType,
510
+ g as FunctionMetadata,
511
+ P as PARAMETER_METADATA_KEY,
521
512
  c as ParameterType,
522
- Y as RequestExecutor,
523
- V as ResultExtractors,
524
- lt as api,
525
- Et as attribute,
526
- Rt as autoGeneratedError,
527
- mt as body,
528
- F as buildRequestExecutor,
529
- ot as del,
530
- p as endpoint,
531
- nt as get,
532
- G as getParameterName,
533
- k as getParameterNames,
534
- ct as head,
535
- dt as header,
536
- ut as options,
537
- m as parameter,
538
- it as patch,
539
- pt as path,
540
- st as post,
541
- at as put,
542
- ht as query,
543
- ft as request
513
+ C as RequestExecutor,
514
+ ht as api,
515
+ ut as attribute,
516
+ pt as autoGeneratedError,
517
+ it as body,
518
+ X as buildRequestExecutor,
519
+ tt as del,
520
+ h as endpoint,
521
+ z as get,
522
+ Y as getParameterName,
523
+ N as getParameterNames,
524
+ rt as head,
525
+ ot as header,
526
+ nt as options,
527
+ f as parameter,
528
+ et as patch,
529
+ st as path,
530
+ Z as post,
531
+ F as put,
532
+ at as query,
533
+ ct as request
544
534
  };
545
535
  //# sourceMappingURL=index.es.js.map