@hyper-fetch/core 7.5.2 → 8.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.
- package/.eslintrc.cjs +12 -0
- package/__tests__/e2e/e2e.abort-timeout.spec.ts +101 -0
- package/__tests__/e2e/e2e.advanced.spec.ts +423 -0
- package/__tests__/e2e/e2e.methods.spec.ts +243 -0
- package/__tests__/e2e/e2e.payloads.spec.ts +154 -0
- package/__tests__/features/adapter/adapter.base.spec.ts +414 -0
- package/__tests__/features/adapter/adapter.bindings.spec.ts +1025 -0
- package/__tests__/features/adapter/adapter.browser.spec.ts +88 -0
- package/__tests__/features/adapter/adapter.server.spec.ts +369 -0
- package/__tests__/features/adapter/adapter.utils.spec.ts +165 -0
- package/__tests__/features/cache/cache.base.spec.ts +366 -0
- package/__tests__/features/cache/cache.events.spec.ts +219 -0
- package/__tests__/features/cache/cache.garbage-collector.spec.ts +175 -0
- package/__tests__/features/cache/cache.lazy-storage.spec.ts +132 -0
- package/__tests__/features/cache/cache.modes.spec.ts +145 -0
- package/__tests__/features/cache/cache.scoping.spec.ts +171 -0
- package/__tests__/features/cache/cache.typescript.spec.ts +147 -0
- package/__tests__/features/cache/cache.utils.spec.ts +126 -0
- package/__tests__/features/client/client.auth.spec.ts +125 -0
- package/__tests__/features/client/client.base.spec.ts +161 -0
- package/__tests__/features/client/client.from-json.spec.ts +182 -0
- package/__tests__/features/client/client.hydration.spec.ts +236 -0
- package/__tests__/features/client/client.interceptor.spec.ts +225 -0
- package/__tests__/features/client/client.methods.spec.ts +189 -0
- package/__tests__/features/client/client.middleware.spec.ts +118 -0
- package/__tests__/features/client/client.utils.spec.ts +292 -0
- package/__tests__/features/dispatcher/dispatcher.base.spec.ts +123 -0
- package/__tests__/features/dispatcher/dispatcher.custom-storage.spec.ts +189 -0
- package/__tests__/features/dispatcher/dispatcher.events.spec.ts +309 -0
- package/__tests__/features/dispatcher/dispatcher.queue.spec.ts +462 -0
- package/__tests__/features/dispatcher/dispatcher.requests.spec.ts +241 -0
- package/__tests__/features/dispatcher/dispatcher.utils.spec.ts +142 -0
- package/__tests__/features/managers/app/app.manager.base.spec.ts +235 -0
- package/__tests__/features/managers/app/app.manager.ssr.spec.ts +43 -0
- package/__tests__/features/managers/logger/logger.base.spec.ts +109 -0
- package/__tests__/features/managers/logger/logger.utils.spec.ts +106 -0
- package/__tests__/features/managers/request/request.manager.base.spec.ts +224 -0
- package/__tests__/features/managers/request/request.manager.events.spec.ts +364 -0
- package/__tests__/features/mocker/mocker.base.spec.ts +639 -0
- package/__tests__/features/plugin/plugin.base.spec.ts +255 -0
- package/__tests__/features/request/request.base.spec.ts +225 -0
- package/__tests__/features/request/request.cloning.spec.ts +47 -0
- package/__tests__/features/request/request.hooks.spec.ts +173 -0
- package/__tests__/features/request/request.optimistic.spec.ts +93 -0
- package/__tests__/features/request/request.retry-on-error.spec.ts +359 -0
- package/__tests__/features/request/request.sending.spec.ts +364 -0
- package/__tests__/features/request/request.setters.spec.ts +164 -0
- package/__tests__/features/request/request.typescript.spec.ts +423 -0
- package/__tests__/features/request/request.utils.spec.ts +77 -0
- package/__tests__/features/sdk/sdk.base.spec.ts +132 -0
- package/__tests__/features/sdk/sdk.configuration.spec.ts +262 -0
- package/__tests__/features/utils/emitter.utils.spec.ts +88 -0
- package/__tests__/shared/callbacks.shared.ts +11 -0
- package/__tests__/shared/index.ts +2 -0
- package/__tests__/shared/progress.shared.ts +36 -0
- package/__tests__/tsconfig.json +24 -0
- package/__tests__/type-stress/generate-stress-test.ts +92 -0
- package/__tests__/type-stress/stress-10.ts +35 -0
- package/__tests__/type-stress/stress-just-create.ts +2107 -0
- package/__tests__/type-stress/stress-minimal.ts +23 -0
- package/__tests__/type-stress/stress-test-500.ts +2319 -0
- package/__tests__/type-stress/stress-test-sdk.ts +210 -0
- package/__tests__/type-stress/tsconfig.json +6 -0
- package/__tests__/utils/adapter.utils.ts +39 -0
- package/__tests__/utils/cache.utils.ts +20 -0
- package/__tests__/utils/callbacks.utils.ts +48 -0
- package/__tests__/utils/dispatcher.utils.ts +7 -0
- package/__tests__/utils/index.ts +4 -0
- package/__tests__/vitest.setup.ts +15 -0
- package/dist/adapter/adapter.bindings.d.ts +71 -0
- package/dist/adapter/adapter.bindings.d.ts.map +1 -0
- package/dist/adapter/adapter.d.ts +127 -0
- package/dist/adapter/adapter.d.ts.map +1 -0
- package/dist/adapter/adapter.types.d.ts +108 -0
- package/dist/adapter/adapter.types.d.ts.map +1 -0
- package/dist/adapter/adapter.utils.d.ts +23 -0
- package/dist/adapter/adapter.utils.d.ts.map +1 -0
- package/dist/adapter/index.d.ts +5 -0
- package/dist/adapter/index.d.ts.map +1 -0
- package/dist/cache/cache.d.ts +95 -0
- package/dist/cache/cache.d.ts.map +1 -0
- package/dist/cache/cache.events.d.ts +51 -0
- package/dist/cache/cache.events.d.ts.map +1 -0
- package/dist/cache/cache.types.d.ts +44 -0
- package/dist/cache/cache.types.d.ts.map +1 -0
- package/dist/cache/cache.utils.d.ts +11 -0
- package/dist/cache/cache.utils.d.ts.map +1 -0
- package/dist/cache/index.d.ts +5 -0
- package/dist/cache/index.d.ts.map +1 -0
- package/dist/client/client.constants.d.ts +10 -0
- package/dist/client/client.constants.d.ts.map +1 -0
- package/dist/client/client.create.d.ts +8 -0
- package/dist/client/client.create.d.ts.map +1 -0
- package/dist/client/client.d.ts +195 -0
- package/dist/client/client.d.ts.map +1 -0
- package/dist/client/client.types.d.ts +71 -0
- package/dist/client/client.types.d.ts.map +1 -0
- package/dist/client/client.utils.d.ts +11 -0
- package/dist/client/client.utils.d.ts.map +1 -0
- package/dist/client/index.d.ts +6 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/constants/http.constants.d.ts +8 -0
- package/dist/constants/http.constants.d.ts.map +1 -0
- package/dist/constants/time.constants.d.ts +12 -0
- package/dist/constants/time.constants.d.ts.map +1 -0
- package/dist/dispatcher/dispatcher.constants.d.ts +7 -0
- package/dist/dispatcher/dispatcher.constants.d.ts.map +1 -0
- package/dist/dispatcher/dispatcher.d.ts +168 -0
- package/dist/dispatcher/dispatcher.d.ts.map +1 -0
- package/dist/dispatcher/dispatcher.events.d.ts +49 -0
- package/dist/dispatcher/dispatcher.events.d.ts.map +1 -0
- package/dist/dispatcher/dispatcher.types.d.ts +44 -0
- package/dist/dispatcher/dispatcher.types.d.ts.map +1 -0
- package/dist/dispatcher/dispatcher.utils.d.ts +12 -0
- package/dist/dispatcher/dispatcher.utils.d.ts.map +1 -0
- package/dist/dispatcher/index.d.ts +6 -0
- package/dist/dispatcher/index.d.ts.map +1 -0
- package/dist/http-adapter/http-adapter.constants.d.ts +4 -0
- package/dist/http-adapter/http-adapter.constants.d.ts.map +1 -0
- package/dist/http-adapter/http-adapter.d.ts +3 -0
- package/dist/http-adapter/http-adapter.d.ts.map +1 -0
- package/dist/http-adapter/http-adapter.fetch.d.ts +6 -0
- package/dist/http-adapter/http-adapter.fetch.d.ts.map +1 -0
- package/dist/http-adapter/http-adapter.types.d.ts +73 -0
- package/dist/http-adapter/http-adapter.types.d.ts.map +1 -0
- package/dist/http-adapter/http-adapter.utils.d.ts +10 -0
- package/dist/http-adapter/http-adapter.utils.d.ts.map +1 -0
- package/dist/http-adapter/index.d.ts +6 -0
- package/dist/http-adapter/index.d.ts.map +1 -0
- package/dist/index.d.ts +15 -2083
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +4084 -0
- package/dist/index.mjs.map +1 -0
- package/dist/managers/app/app.manager.constants.d.ts +10 -0
- package/dist/managers/app/app.manager.constants.d.ts.map +1 -0
- package/dist/managers/app/app.manager.d.ts +35 -0
- package/dist/managers/app/app.manager.d.ts.map +1 -0
- package/dist/managers/app/app.manager.events.d.ts +12 -0
- package/dist/managers/app/app.manager.events.d.ts.map +1 -0
- package/dist/managers/app/app.manager.types.d.ts +7 -0
- package/dist/managers/app/app.manager.types.d.ts.map +1 -0
- package/dist/managers/app/app.manager.utils.d.ts +5 -0
- package/dist/managers/app/app.manager.utils.d.ts.map +1 -0
- package/dist/managers/app/index.d.ts +6 -0
- package/dist/managers/app/index.d.ts.map +1 -0
- package/dist/managers/index.d.ts +4 -0
- package/dist/managers/index.d.ts.map +1 -0
- package/dist/managers/logger/index.d.ts +5 -0
- package/dist/managers/logger/index.d.ts.map +1 -0
- package/dist/managers/logger/logger.manager.constants.d.ts +5 -0
- package/dist/managers/logger/logger.manager.constants.d.ts.map +1 -0
- package/dist/managers/logger/logger.manager.d.ts +22 -0
- package/dist/managers/logger/logger.manager.d.ts.map +1 -0
- package/dist/managers/logger/logger.manager.types.d.ts +43 -0
- package/dist/managers/logger/logger.manager.types.d.ts.map +1 -0
- package/dist/managers/logger/logger.manager.utils.d.ts +4 -0
- package/dist/managers/logger/logger.manager.utils.d.ts.map +1 -0
- package/dist/managers/request/index.d.ts +5 -0
- package/dist/managers/request/index.d.ts.map +1 -0
- package/dist/managers/request/request.manager.d.ts +60 -0
- package/dist/managers/request/request.manager.d.ts.map +1 -0
- package/dist/managers/request/request.manager.events.d.ts +55 -0
- package/dist/managers/request/request.manager.events.d.ts.map +1 -0
- package/dist/managers/request/request.manager.types.d.ts +48 -0
- package/dist/managers/request/request.manager.types.d.ts.map +1 -0
- package/dist/managers/request/request.manager.utils.d.ts +30 -0
- package/dist/managers/request/request.manager.utils.d.ts.map +1 -0
- package/dist/mocker/index.d.ts +3 -0
- package/dist/mocker/index.d.ts.map +1 -0
- package/dist/mocker/mocker.d.ts +3 -0
- package/dist/mocker/mocker.d.ts.map +1 -0
- package/dist/mocker/mocker.types.d.ts +25 -0
- package/dist/mocker/mocker.types.d.ts.map +1 -0
- package/dist/plugin/index.d.ts +3 -0
- package/dist/plugin/index.d.ts.map +1 -0
- package/dist/plugin/plugin.d.ts +55 -0
- package/dist/plugin/plugin.d.ts.map +1 -0
- package/dist/plugin/plugin.types.d.ts +122 -0
- package/dist/plugin/plugin.types.d.ts.map +1 -0
- package/dist/request/index.d.ts +5 -0
- package/dist/request/index.d.ts.map +1 -0
- package/dist/request/request.d.ts +195 -0
- package/dist/request/request.d.ts.map +1 -0
- package/dist/request/request.hooks.d.ts +19 -0
- package/dist/request/request.hooks.d.ts.map +1 -0
- package/dist/request/request.types.d.ts +240 -0
- package/dist/request/request.types.d.ts.map +1 -0
- package/dist/request/request.utils.d.ts +25 -0
- package/dist/request/request.utils.d.ts.map +1 -0
- package/dist/sdk/index.d.ts +2 -0
- package/dist/sdk/index.d.ts.map +1 -0
- package/dist/sdk/sdk.d.ts +69 -0
- package/dist/sdk/sdk.d.ts.map +1 -0
- package/dist/types/adapter.types.d.ts +22 -0
- package/dist/types/adapter.types.d.ts.map +1 -0
- package/dist/types/client.types.d.ts +4 -0
- package/dist/types/client.types.d.ts.map +1 -0
- package/dist/types/helpers.types.d.ts +17 -0
- package/dist/types/helpers.types.d.ts.map +1 -0
- package/dist/types/http.types.d.ts +3 -0
- package/dist/types/http.types.d.ts.map +1 -0
- package/dist/types/hydration.types.d.ts +15 -0
- package/dist/types/hydration.types.d.ts.map +1 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/request.types.d.ts +34 -0
- package/dist/types/request.types.d.ts.map +1 -0
- package/dist/utils/emitter.utils.d.ts +13 -0
- package/dist/utils/emitter.utils.d.ts.map +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/uuid.utils.d.ts +3 -0
- package/dist/utils/uuid.utils.d.ts.map +1 -0
- package/package.json +10 -25
- package/project.json +4 -0
- package/src/adapter/adapter.bindings.ts +8 -12
- package/src/adapter/adapter.ts +8 -7
- package/src/adapter/adapter.types.ts +10 -6
- package/src/adapter/adapter.utils.ts +1 -1
- package/src/cache/cache.events.ts +4 -11
- package/src/cache/cache.ts +28 -22
- package/src/cache/cache.types.ts +8 -4
- package/src/cache/cache.utils.ts +3 -3
- package/src/client/client.create.ts +4 -3
- package/src/client/client.ts +44 -12
- package/src/client/client.types.ts +25 -3
- package/src/client/client.utils.ts +24 -4
- package/src/dispatcher/dispatcher.events.ts +3 -3
- package/src/dispatcher/dispatcher.ts +59 -28
- package/src/dispatcher/dispatcher.types.ts +19 -2
- package/src/dispatcher/dispatcher.utils.ts +5 -4
- package/src/http-adapter/http-adapter.constants.ts +1 -1
- package/src/http-adapter/http-adapter.fetch.ts +174 -0
- package/src/http-adapter/http-adapter.ts +3 -8
- package/src/http-adapter/http-adapter.types.ts +17 -9
- package/src/http-adapter/http-adapter.utils.ts +6 -9
- package/src/http-adapter/index.ts +1 -0
- package/src/managers/app/app.manager.constants.ts +2 -2
- package/src/managers/app/app.manager.events.ts +1 -1
- package/src/managers/app/app.manager.ts +2 -1
- package/src/managers/logger/logger.manager.constants.ts +1 -1
- package/src/managers/logger/logger.manager.ts +2 -1
- package/src/managers/logger/logger.manager.types.ts +2 -2
- package/src/managers/logger/logger.manager.utils.ts +2 -1
- package/src/managers/request/request.manager.events.ts +13 -11
- package/src/managers/request/request.manager.types.ts +6 -3
- package/src/mocker/mocker.ts +3 -2
- package/src/mocker/mocker.types.ts +1 -1
- package/src/plugin/plugin.ts +2 -2
- package/src/plugin/plugin.types.ts +9 -9
- package/src/request/index.ts +1 -0
- package/src/request/request.hooks.ts +87 -0
- package/src/request/request.ts +155 -77
- package/src/request/request.types.ts +54 -22
- package/src/request/request.utils.ts +86 -23
- package/src/sdk/sdk.ts +153 -8
- package/src/types/adapter.types.ts +1 -1
- package/src/types/client.types.ts +1 -1
- package/src/types/hydration.types.ts +3 -3
- package/src/types/request.types.ts +30 -20
- package/src/utils/uuid.utils.ts +1 -1
- package/tsconfig.base.json +1 -6
- package/tsconfig.json +1 -4
- package/vite.config.ts +45 -0
- package/.eslintrc.json +0 -11
- package/dist/browser/index.js +0 -3751
- package/dist/browser/index.js.map +0 -7
- package/dist/index.js +0 -3991
- package/dist/index.js.map +0 -7
- package/src/http-adapter/http-adapter.browser.ts +0 -102
- package/src/http-adapter/http-adapter.server.ts +0 -135
|
@@ -0,0 +1,2319 @@
|
|
|
1
|
+
/* eslint-disable max-lines */
|
|
2
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
3
|
+
// Auto-generated stress test — 500 typed requests
|
|
4
|
+
import { createClient } from "../../src";
|
|
5
|
+
|
|
6
|
+
const client = createClient({ url: "https://api.test.com" });
|
|
7
|
+
|
|
8
|
+
const req0 = client.createRequest<{
|
|
9
|
+
response: { id: number; name: string; index: 0 };
|
|
10
|
+
queryParams: { page: number; limit: number };
|
|
11
|
+
}>()({ endpoint: "/users" as const, method: "GET" as const });
|
|
12
|
+
const req1 = client.createRequest<{
|
|
13
|
+
response: { id: number; name: string; index: 1 };
|
|
14
|
+
payload: { value: string; count: 1 };
|
|
15
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
16
|
+
const req2 = client.createRequest<{
|
|
17
|
+
response: { id: number; name: string; index: 2 };
|
|
18
|
+
payload: { value: string; count: 2 };
|
|
19
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
20
|
+
const req3 = client.createRequest<{
|
|
21
|
+
response: { id: number; name: string; index: 3 };
|
|
22
|
+
payload: { value: string; count: 3 };
|
|
23
|
+
queryParams: { page: number; limit: number };
|
|
24
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
25
|
+
const req4 = client.createRequest<{ response: { id: number; name: string; index: 4 } }>()({
|
|
26
|
+
endpoint: "/products" as const,
|
|
27
|
+
method: "DELETE" as const,
|
|
28
|
+
});
|
|
29
|
+
const req5 = client.createRequest<{ response: { id: number; name: string; index: 5 } }>()({
|
|
30
|
+
endpoint: "/products/:productId" as const,
|
|
31
|
+
method: "GET" as const,
|
|
32
|
+
});
|
|
33
|
+
const req6 = client.createRequest<{
|
|
34
|
+
response: { id: number; name: string; index: 6 };
|
|
35
|
+
payload: { value: string; count: 6 };
|
|
36
|
+
queryParams: { page: number; limit: number };
|
|
37
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
38
|
+
const req7 = client.createRequest<{
|
|
39
|
+
response: { id: number; name: string; index: 7 };
|
|
40
|
+
payload: { value: string; count: 7 };
|
|
41
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
42
|
+
const req8 = client.createRequest<{
|
|
43
|
+
response: { id: number; name: string; index: 8 };
|
|
44
|
+
payload: { value: string; count: 8 };
|
|
45
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
46
|
+
const req9 = client.createRequest<{
|
|
47
|
+
response: { id: number; name: string; index: 9 };
|
|
48
|
+
queryParams: { page: number; limit: number };
|
|
49
|
+
}>()({ endpoint: "/settings" as const, method: "DELETE" as const });
|
|
50
|
+
const req10 = client.createRequest<{ response: { id: number; name: string; index: 10 } }>()({
|
|
51
|
+
endpoint: "/users" as const,
|
|
52
|
+
method: "GET" as const,
|
|
53
|
+
});
|
|
54
|
+
const req11 = client.createRequest<{
|
|
55
|
+
response: { id: number; name: string; index: 11 };
|
|
56
|
+
payload: { value: string; count: 11 };
|
|
57
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
58
|
+
const req12 = client.createRequest<{
|
|
59
|
+
response: { id: number; name: string; index: 12 };
|
|
60
|
+
payload: { value: string; count: 12 };
|
|
61
|
+
queryParams: { page: number; limit: number };
|
|
62
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
63
|
+
const req13 = client.createRequest<{
|
|
64
|
+
response: { id: number; name: string; index: 13 };
|
|
65
|
+
payload: { value: string; count: 13 };
|
|
66
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
67
|
+
const req14 = client.createRequest<{ response: { id: number; name: string; index: 14 } }>()({
|
|
68
|
+
endpoint: "/products" as const,
|
|
69
|
+
method: "DELETE" as const,
|
|
70
|
+
});
|
|
71
|
+
const req15 = client.createRequest<{
|
|
72
|
+
response: { id: number; name: string; index: 15 };
|
|
73
|
+
queryParams: { page: number; limit: number };
|
|
74
|
+
}>()({ endpoint: "/products/:productId" as const, method: "GET" as const });
|
|
75
|
+
const req16 = client.createRequest<{
|
|
76
|
+
response: { id: number; name: string; index: 16 };
|
|
77
|
+
payload: { value: string; count: 16 };
|
|
78
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
79
|
+
const req17 = client.createRequest<{
|
|
80
|
+
response: { id: number; name: string; index: 17 };
|
|
81
|
+
payload: { value: string; count: 17 };
|
|
82
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
83
|
+
const req18 = client.createRequest<{
|
|
84
|
+
response: { id: number; name: string; index: 18 };
|
|
85
|
+
payload: { value: string; count: 18 };
|
|
86
|
+
queryParams: { page: number; limit: number };
|
|
87
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
88
|
+
const req19 = client.createRequest<{ response: { id: number; name: string; index: 19 } }>()({
|
|
89
|
+
endpoint: "/settings" as const,
|
|
90
|
+
method: "DELETE" as const,
|
|
91
|
+
});
|
|
92
|
+
const req20 = client.createRequest<{ response: { id: number; name: string; index: 20 } }>()({
|
|
93
|
+
endpoint: "/users" as const,
|
|
94
|
+
method: "GET" as const,
|
|
95
|
+
});
|
|
96
|
+
const req21 = client.createRequest<{
|
|
97
|
+
response: { id: number; name: string; index: 21 };
|
|
98
|
+
payload: { value: string; count: 21 };
|
|
99
|
+
queryParams: { page: number; limit: number };
|
|
100
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
101
|
+
const req22 = client.createRequest<{
|
|
102
|
+
response: { id: number; name: string; index: 22 };
|
|
103
|
+
payload: { value: string; count: 22 };
|
|
104
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
105
|
+
const req23 = client.createRequest<{
|
|
106
|
+
response: { id: number; name: string; index: 23 };
|
|
107
|
+
payload: { value: string; count: 23 };
|
|
108
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
109
|
+
const req24 = client.createRequest<{
|
|
110
|
+
response: { id: number; name: string; index: 24 };
|
|
111
|
+
queryParams: { page: number; limit: number };
|
|
112
|
+
}>()({ endpoint: "/products" as const, method: "DELETE" as const });
|
|
113
|
+
const req25 = client.createRequest<{ response: { id: number; name: string; index: 25 } }>()({
|
|
114
|
+
endpoint: "/products/:productId" as const,
|
|
115
|
+
method: "GET" as const,
|
|
116
|
+
});
|
|
117
|
+
const req26 = client.createRequest<{
|
|
118
|
+
response: { id: number; name: string; index: 26 };
|
|
119
|
+
payload: { value: string; count: 26 };
|
|
120
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
121
|
+
const req27 = client.createRequest<{
|
|
122
|
+
response: { id: number; name: string; index: 27 };
|
|
123
|
+
payload: { value: string; count: 27 };
|
|
124
|
+
queryParams: { page: number; limit: number };
|
|
125
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
126
|
+
const req28 = client.createRequest<{
|
|
127
|
+
response: { id: number; name: string; index: 28 };
|
|
128
|
+
payload: { value: string; count: 28 };
|
|
129
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
130
|
+
const req29 = client.createRequest<{ response: { id: number; name: string; index: 29 } }>()({
|
|
131
|
+
endpoint: "/settings" as const,
|
|
132
|
+
method: "DELETE" as const,
|
|
133
|
+
});
|
|
134
|
+
const req30 = client.createRequest<{
|
|
135
|
+
response: { id: number; name: string; index: 30 };
|
|
136
|
+
queryParams: { page: number; limit: number };
|
|
137
|
+
}>()({ endpoint: "/users" as const, method: "GET" as const });
|
|
138
|
+
const req31 = client.createRequest<{
|
|
139
|
+
response: { id: number; name: string; index: 31 };
|
|
140
|
+
payload: { value: string; count: 31 };
|
|
141
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
142
|
+
const req32 = client.createRequest<{
|
|
143
|
+
response: { id: number; name: string; index: 32 };
|
|
144
|
+
payload: { value: string; count: 32 };
|
|
145
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
146
|
+
const req33 = client.createRequest<{
|
|
147
|
+
response: { id: number; name: string; index: 33 };
|
|
148
|
+
payload: { value: string; count: 33 };
|
|
149
|
+
queryParams: { page: number; limit: number };
|
|
150
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
151
|
+
const req34 = client.createRequest<{ response: { id: number; name: string; index: 34 } }>()({
|
|
152
|
+
endpoint: "/products" as const,
|
|
153
|
+
method: "DELETE" as const,
|
|
154
|
+
});
|
|
155
|
+
const req35 = client.createRequest<{ response: { id: number; name: string; index: 35 } }>()({
|
|
156
|
+
endpoint: "/products/:productId" as const,
|
|
157
|
+
method: "GET" as const,
|
|
158
|
+
});
|
|
159
|
+
const req36 = client.createRequest<{
|
|
160
|
+
response: { id: number; name: string; index: 36 };
|
|
161
|
+
payload: { value: string; count: 36 };
|
|
162
|
+
queryParams: { page: number; limit: number };
|
|
163
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
164
|
+
const req37 = client.createRequest<{
|
|
165
|
+
response: { id: number; name: string; index: 37 };
|
|
166
|
+
payload: { value: string; count: 37 };
|
|
167
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
168
|
+
const req38 = client.createRequest<{
|
|
169
|
+
response: { id: number; name: string; index: 38 };
|
|
170
|
+
payload: { value: string; count: 38 };
|
|
171
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
172
|
+
const req39 = client.createRequest<{
|
|
173
|
+
response: { id: number; name: string; index: 39 };
|
|
174
|
+
queryParams: { page: number; limit: number };
|
|
175
|
+
}>()({ endpoint: "/settings" as const, method: "DELETE" as const });
|
|
176
|
+
const req40 = client.createRequest<{ response: { id: number; name: string; index: 40 } }>()({
|
|
177
|
+
endpoint: "/users" as const,
|
|
178
|
+
method: "GET" as const,
|
|
179
|
+
});
|
|
180
|
+
const req41 = client.createRequest<{
|
|
181
|
+
response: { id: number; name: string; index: 41 };
|
|
182
|
+
payload: { value: string; count: 41 };
|
|
183
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
184
|
+
const req42 = client.createRequest<{
|
|
185
|
+
response: { id: number; name: string; index: 42 };
|
|
186
|
+
payload: { value: string; count: 42 };
|
|
187
|
+
queryParams: { page: number; limit: number };
|
|
188
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
189
|
+
const req43 = client.createRequest<{
|
|
190
|
+
response: { id: number; name: string; index: 43 };
|
|
191
|
+
payload: { value: string; count: 43 };
|
|
192
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
193
|
+
const req44 = client.createRequest<{ response: { id: number; name: string; index: 44 } }>()({
|
|
194
|
+
endpoint: "/products" as const,
|
|
195
|
+
method: "DELETE" as const,
|
|
196
|
+
});
|
|
197
|
+
const req45 = client.createRequest<{
|
|
198
|
+
response: { id: number; name: string; index: 45 };
|
|
199
|
+
queryParams: { page: number; limit: number };
|
|
200
|
+
}>()({ endpoint: "/products/:productId" as const, method: "GET" as const });
|
|
201
|
+
const req46 = client.createRequest<{
|
|
202
|
+
response: { id: number; name: string; index: 46 };
|
|
203
|
+
payload: { value: string; count: 46 };
|
|
204
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
205
|
+
const req47 = client.createRequest<{
|
|
206
|
+
response: { id: number; name: string; index: 47 };
|
|
207
|
+
payload: { value: string; count: 47 };
|
|
208
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
209
|
+
const req48 = client.createRequest<{
|
|
210
|
+
response: { id: number; name: string; index: 48 };
|
|
211
|
+
payload: { value: string; count: 48 };
|
|
212
|
+
queryParams: { page: number; limit: number };
|
|
213
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
214
|
+
const req49 = client.createRequest<{ response: { id: number; name: string; index: 49 } }>()({
|
|
215
|
+
endpoint: "/settings" as const,
|
|
216
|
+
method: "DELETE" as const,
|
|
217
|
+
});
|
|
218
|
+
const req50 = client.createRequest<{ response: { id: number; name: string; index: 50 } }>()({
|
|
219
|
+
endpoint: "/users" as const,
|
|
220
|
+
method: "GET" as const,
|
|
221
|
+
});
|
|
222
|
+
const req51 = client.createRequest<{
|
|
223
|
+
response: { id: number; name: string; index: 51 };
|
|
224
|
+
payload: { value: string; count: 51 };
|
|
225
|
+
queryParams: { page: number; limit: number };
|
|
226
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
227
|
+
const req52 = client.createRequest<{
|
|
228
|
+
response: { id: number; name: string; index: 52 };
|
|
229
|
+
payload: { value: string; count: 52 };
|
|
230
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
231
|
+
const req53 = client.createRequest<{
|
|
232
|
+
response: { id: number; name: string; index: 53 };
|
|
233
|
+
payload: { value: string; count: 53 };
|
|
234
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
235
|
+
const req54 = client.createRequest<{
|
|
236
|
+
response: { id: number; name: string; index: 54 };
|
|
237
|
+
queryParams: { page: number; limit: number };
|
|
238
|
+
}>()({ endpoint: "/products" as const, method: "DELETE" as const });
|
|
239
|
+
const req55 = client.createRequest<{ response: { id: number; name: string; index: 55 } }>()({
|
|
240
|
+
endpoint: "/products/:productId" as const,
|
|
241
|
+
method: "GET" as const,
|
|
242
|
+
});
|
|
243
|
+
const req56 = client.createRequest<{
|
|
244
|
+
response: { id: number; name: string; index: 56 };
|
|
245
|
+
payload: { value: string; count: 56 };
|
|
246
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
247
|
+
const req57 = client.createRequest<{
|
|
248
|
+
response: { id: number; name: string; index: 57 };
|
|
249
|
+
payload: { value: string; count: 57 };
|
|
250
|
+
queryParams: { page: number; limit: number };
|
|
251
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
252
|
+
const req58 = client.createRequest<{
|
|
253
|
+
response: { id: number; name: string; index: 58 };
|
|
254
|
+
payload: { value: string; count: 58 };
|
|
255
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
256
|
+
const req59 = client.createRequest<{ response: { id: number; name: string; index: 59 } }>()({
|
|
257
|
+
endpoint: "/settings" as const,
|
|
258
|
+
method: "DELETE" as const,
|
|
259
|
+
});
|
|
260
|
+
const req60 = client.createRequest<{
|
|
261
|
+
response: { id: number; name: string; index: 60 };
|
|
262
|
+
queryParams: { page: number; limit: number };
|
|
263
|
+
}>()({ endpoint: "/users" as const, method: "GET" as const });
|
|
264
|
+
const req61 = client.createRequest<{
|
|
265
|
+
response: { id: number; name: string; index: 61 };
|
|
266
|
+
payload: { value: string; count: 61 };
|
|
267
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
268
|
+
const req62 = client.createRequest<{
|
|
269
|
+
response: { id: number; name: string; index: 62 };
|
|
270
|
+
payload: { value: string; count: 62 };
|
|
271
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
272
|
+
const req63 = client.createRequest<{
|
|
273
|
+
response: { id: number; name: string; index: 63 };
|
|
274
|
+
payload: { value: string; count: 63 };
|
|
275
|
+
queryParams: { page: number; limit: number };
|
|
276
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
277
|
+
const req64 = client.createRequest<{ response: { id: number; name: string; index: 64 } }>()({
|
|
278
|
+
endpoint: "/products" as const,
|
|
279
|
+
method: "DELETE" as const,
|
|
280
|
+
});
|
|
281
|
+
const req65 = client.createRequest<{ response: { id: number; name: string; index: 65 } }>()({
|
|
282
|
+
endpoint: "/products/:productId" as const,
|
|
283
|
+
method: "GET" as const,
|
|
284
|
+
});
|
|
285
|
+
const req66 = client.createRequest<{
|
|
286
|
+
response: { id: number; name: string; index: 66 };
|
|
287
|
+
payload: { value: string; count: 66 };
|
|
288
|
+
queryParams: { page: number; limit: number };
|
|
289
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
290
|
+
const req67 = client.createRequest<{
|
|
291
|
+
response: { id: number; name: string; index: 67 };
|
|
292
|
+
payload: { value: string; count: 67 };
|
|
293
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
294
|
+
const req68 = client.createRequest<{
|
|
295
|
+
response: { id: number; name: string; index: 68 };
|
|
296
|
+
payload: { value: string; count: 68 };
|
|
297
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
298
|
+
const req69 = client.createRequest<{
|
|
299
|
+
response: { id: number; name: string; index: 69 };
|
|
300
|
+
queryParams: { page: number; limit: number };
|
|
301
|
+
}>()({ endpoint: "/settings" as const, method: "DELETE" as const });
|
|
302
|
+
const req70 = client.createRequest<{ response: { id: number; name: string; index: 70 } }>()({
|
|
303
|
+
endpoint: "/users" as const,
|
|
304
|
+
method: "GET" as const,
|
|
305
|
+
});
|
|
306
|
+
const req71 = client.createRequest<{
|
|
307
|
+
response: { id: number; name: string; index: 71 };
|
|
308
|
+
payload: { value: string; count: 71 };
|
|
309
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
310
|
+
const req72 = client.createRequest<{
|
|
311
|
+
response: { id: number; name: string; index: 72 };
|
|
312
|
+
payload: { value: string; count: 72 };
|
|
313
|
+
queryParams: { page: number; limit: number };
|
|
314
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
315
|
+
const req73 = client.createRequest<{
|
|
316
|
+
response: { id: number; name: string; index: 73 };
|
|
317
|
+
payload: { value: string; count: 73 };
|
|
318
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
319
|
+
const req74 = client.createRequest<{ response: { id: number; name: string; index: 74 } }>()({
|
|
320
|
+
endpoint: "/products" as const,
|
|
321
|
+
method: "DELETE" as const,
|
|
322
|
+
});
|
|
323
|
+
const req75 = client.createRequest<{
|
|
324
|
+
response: { id: number; name: string; index: 75 };
|
|
325
|
+
queryParams: { page: number; limit: number };
|
|
326
|
+
}>()({ endpoint: "/products/:productId" as const, method: "GET" as const });
|
|
327
|
+
const req76 = client.createRequest<{
|
|
328
|
+
response: { id: number; name: string; index: 76 };
|
|
329
|
+
payload: { value: string; count: 76 };
|
|
330
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
331
|
+
const req77 = client.createRequest<{
|
|
332
|
+
response: { id: number; name: string; index: 77 };
|
|
333
|
+
payload: { value: string; count: 77 };
|
|
334
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
335
|
+
const req78 = client.createRequest<{
|
|
336
|
+
response: { id: number; name: string; index: 78 };
|
|
337
|
+
payload: { value: string; count: 78 };
|
|
338
|
+
queryParams: { page: number; limit: number };
|
|
339
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
340
|
+
const req79 = client.createRequest<{ response: { id: number; name: string; index: 79 } }>()({
|
|
341
|
+
endpoint: "/settings" as const,
|
|
342
|
+
method: "DELETE" as const,
|
|
343
|
+
});
|
|
344
|
+
const req80 = client.createRequest<{ response: { id: number; name: string; index: 80 } }>()({
|
|
345
|
+
endpoint: "/users" as const,
|
|
346
|
+
method: "GET" as const,
|
|
347
|
+
});
|
|
348
|
+
const req81 = client.createRequest<{
|
|
349
|
+
response: { id: number; name: string; index: 81 };
|
|
350
|
+
payload: { value: string; count: 81 };
|
|
351
|
+
queryParams: { page: number; limit: number };
|
|
352
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
353
|
+
const req82 = client.createRequest<{
|
|
354
|
+
response: { id: number; name: string; index: 82 };
|
|
355
|
+
payload: { value: string; count: 82 };
|
|
356
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
357
|
+
const req83 = client.createRequest<{
|
|
358
|
+
response: { id: number; name: string; index: 83 };
|
|
359
|
+
payload: { value: string; count: 83 };
|
|
360
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
361
|
+
const req84 = client.createRequest<{
|
|
362
|
+
response: { id: number; name: string; index: 84 };
|
|
363
|
+
queryParams: { page: number; limit: number };
|
|
364
|
+
}>()({ endpoint: "/products" as const, method: "DELETE" as const });
|
|
365
|
+
const req85 = client.createRequest<{ response: { id: number; name: string; index: 85 } }>()({
|
|
366
|
+
endpoint: "/products/:productId" as const,
|
|
367
|
+
method: "GET" as const,
|
|
368
|
+
});
|
|
369
|
+
const req86 = client.createRequest<{
|
|
370
|
+
response: { id: number; name: string; index: 86 };
|
|
371
|
+
payload: { value: string; count: 86 };
|
|
372
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
373
|
+
const req87 = client.createRequest<{
|
|
374
|
+
response: { id: number; name: string; index: 87 };
|
|
375
|
+
payload: { value: string; count: 87 };
|
|
376
|
+
queryParams: { page: number; limit: number };
|
|
377
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
378
|
+
const req88 = client.createRequest<{
|
|
379
|
+
response: { id: number; name: string; index: 88 };
|
|
380
|
+
payload: { value: string; count: 88 };
|
|
381
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
382
|
+
const req89 = client.createRequest<{ response: { id: number; name: string; index: 89 } }>()({
|
|
383
|
+
endpoint: "/settings" as const,
|
|
384
|
+
method: "DELETE" as const,
|
|
385
|
+
});
|
|
386
|
+
const req90 = client.createRequest<{
|
|
387
|
+
response: { id: number; name: string; index: 90 };
|
|
388
|
+
queryParams: { page: number; limit: number };
|
|
389
|
+
}>()({ endpoint: "/users" as const, method: "GET" as const });
|
|
390
|
+
const req91 = client.createRequest<{
|
|
391
|
+
response: { id: number; name: string; index: 91 };
|
|
392
|
+
payload: { value: string; count: 91 };
|
|
393
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
394
|
+
const req92 = client.createRequest<{
|
|
395
|
+
response: { id: number; name: string; index: 92 };
|
|
396
|
+
payload: { value: string; count: 92 };
|
|
397
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
398
|
+
const req93 = client.createRequest<{
|
|
399
|
+
response: { id: number; name: string; index: 93 };
|
|
400
|
+
payload: { value: string; count: 93 };
|
|
401
|
+
queryParams: { page: number; limit: number };
|
|
402
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
403
|
+
const req94 = client.createRequest<{ response: { id: number; name: string; index: 94 } }>()({
|
|
404
|
+
endpoint: "/products" as const,
|
|
405
|
+
method: "DELETE" as const,
|
|
406
|
+
});
|
|
407
|
+
const req95 = client.createRequest<{ response: { id: number; name: string; index: 95 } }>()({
|
|
408
|
+
endpoint: "/products/:productId" as const,
|
|
409
|
+
method: "GET" as const,
|
|
410
|
+
});
|
|
411
|
+
const req96 = client.createRequest<{
|
|
412
|
+
response: { id: number; name: string; index: 96 };
|
|
413
|
+
payload: { value: string; count: 96 };
|
|
414
|
+
queryParams: { page: number; limit: number };
|
|
415
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
416
|
+
const req97 = client.createRequest<{
|
|
417
|
+
response: { id: number; name: string; index: 97 };
|
|
418
|
+
payload: { value: string; count: 97 };
|
|
419
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
420
|
+
const req98 = client.createRequest<{
|
|
421
|
+
response: { id: number; name: string; index: 98 };
|
|
422
|
+
payload: { value: string; count: 98 };
|
|
423
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
424
|
+
const req99 = client.createRequest<{
|
|
425
|
+
response: { id: number; name: string; index: 99 };
|
|
426
|
+
queryParams: { page: number; limit: number };
|
|
427
|
+
}>()({ endpoint: "/settings" as const, method: "DELETE" as const });
|
|
428
|
+
const req100 = client.createRequest<{ response: { id: number; name: string; index: 100 } }>()({
|
|
429
|
+
endpoint: "/users" as const,
|
|
430
|
+
method: "GET" as const,
|
|
431
|
+
});
|
|
432
|
+
const req101 = client.createRequest<{
|
|
433
|
+
response: { id: number; name: string; index: 101 };
|
|
434
|
+
payload: { value: string; count: 101 };
|
|
435
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
436
|
+
const req102 = client.createRequest<{
|
|
437
|
+
response: { id: number; name: string; index: 102 };
|
|
438
|
+
payload: { value: string; count: 102 };
|
|
439
|
+
queryParams: { page: number; limit: number };
|
|
440
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
441
|
+
const req103 = client.createRequest<{
|
|
442
|
+
response: { id: number; name: string; index: 103 };
|
|
443
|
+
payload: { value: string; count: 103 };
|
|
444
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
445
|
+
const req104 = client.createRequest<{ response: { id: number; name: string; index: 104 } }>()({
|
|
446
|
+
endpoint: "/products" as const,
|
|
447
|
+
method: "DELETE" as const,
|
|
448
|
+
});
|
|
449
|
+
const req105 = client.createRequest<{
|
|
450
|
+
response: { id: number; name: string; index: 105 };
|
|
451
|
+
queryParams: { page: number; limit: number };
|
|
452
|
+
}>()({ endpoint: "/products/:productId" as const, method: "GET" as const });
|
|
453
|
+
const req106 = client.createRequest<{
|
|
454
|
+
response: { id: number; name: string; index: 106 };
|
|
455
|
+
payload: { value: string; count: 106 };
|
|
456
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
457
|
+
const req107 = client.createRequest<{
|
|
458
|
+
response: { id: number; name: string; index: 107 };
|
|
459
|
+
payload: { value: string; count: 107 };
|
|
460
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
461
|
+
const req108 = client.createRequest<{
|
|
462
|
+
response: { id: number; name: string; index: 108 };
|
|
463
|
+
payload: { value: string; count: 108 };
|
|
464
|
+
queryParams: { page: number; limit: number };
|
|
465
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
466
|
+
const req109 = client.createRequest<{ response: { id: number; name: string; index: 109 } }>()({
|
|
467
|
+
endpoint: "/settings" as const,
|
|
468
|
+
method: "DELETE" as const,
|
|
469
|
+
});
|
|
470
|
+
const req110 = client.createRequest<{ response: { id: number; name: string; index: 110 } }>()({
|
|
471
|
+
endpoint: "/users" as const,
|
|
472
|
+
method: "GET" as const,
|
|
473
|
+
});
|
|
474
|
+
const req111 = client.createRequest<{
|
|
475
|
+
response: { id: number; name: string; index: 111 };
|
|
476
|
+
payload: { value: string; count: 111 };
|
|
477
|
+
queryParams: { page: number; limit: number };
|
|
478
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
479
|
+
const req112 = client.createRequest<{
|
|
480
|
+
response: { id: number; name: string; index: 112 };
|
|
481
|
+
payload: { value: string; count: 112 };
|
|
482
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
483
|
+
const req113 = client.createRequest<{
|
|
484
|
+
response: { id: number; name: string; index: 113 };
|
|
485
|
+
payload: { value: string; count: 113 };
|
|
486
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
487
|
+
const req114 = client.createRequest<{
|
|
488
|
+
response: { id: number; name: string; index: 114 };
|
|
489
|
+
queryParams: { page: number; limit: number };
|
|
490
|
+
}>()({ endpoint: "/products" as const, method: "DELETE" as const });
|
|
491
|
+
const req115 = client.createRequest<{ response: { id: number; name: string; index: 115 } }>()({
|
|
492
|
+
endpoint: "/products/:productId" as const,
|
|
493
|
+
method: "GET" as const,
|
|
494
|
+
});
|
|
495
|
+
const req116 = client.createRequest<{
|
|
496
|
+
response: { id: number; name: string; index: 116 };
|
|
497
|
+
payload: { value: string; count: 116 };
|
|
498
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
499
|
+
const req117 = client.createRequest<{
|
|
500
|
+
response: { id: number; name: string; index: 117 };
|
|
501
|
+
payload: { value: string; count: 117 };
|
|
502
|
+
queryParams: { page: number; limit: number };
|
|
503
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
504
|
+
const req118 = client.createRequest<{
|
|
505
|
+
response: { id: number; name: string; index: 118 };
|
|
506
|
+
payload: { value: string; count: 118 };
|
|
507
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
508
|
+
const req119 = client.createRequest<{ response: { id: number; name: string; index: 119 } }>()({
|
|
509
|
+
endpoint: "/settings" as const,
|
|
510
|
+
method: "DELETE" as const,
|
|
511
|
+
});
|
|
512
|
+
const req120 = client.createRequest<{
|
|
513
|
+
response: { id: number; name: string; index: 120 };
|
|
514
|
+
queryParams: { page: number; limit: number };
|
|
515
|
+
}>()({ endpoint: "/users" as const, method: "GET" as const });
|
|
516
|
+
const req121 = client.createRequest<{
|
|
517
|
+
response: { id: number; name: string; index: 121 };
|
|
518
|
+
payload: { value: string; count: 121 };
|
|
519
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
520
|
+
const req122 = client.createRequest<{
|
|
521
|
+
response: { id: number; name: string; index: 122 };
|
|
522
|
+
payload: { value: string; count: 122 };
|
|
523
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
524
|
+
const req123 = client.createRequest<{
|
|
525
|
+
response: { id: number; name: string; index: 123 };
|
|
526
|
+
payload: { value: string; count: 123 };
|
|
527
|
+
queryParams: { page: number; limit: number };
|
|
528
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
529
|
+
const req124 = client.createRequest<{ response: { id: number; name: string; index: 124 } }>()({
|
|
530
|
+
endpoint: "/products" as const,
|
|
531
|
+
method: "DELETE" as const,
|
|
532
|
+
});
|
|
533
|
+
const req125 = client.createRequest<{ response: { id: number; name: string; index: 125 } }>()({
|
|
534
|
+
endpoint: "/products/:productId" as const,
|
|
535
|
+
method: "GET" as const,
|
|
536
|
+
});
|
|
537
|
+
const req126 = client.createRequest<{
|
|
538
|
+
response: { id: number; name: string; index: 126 };
|
|
539
|
+
payload: { value: string; count: 126 };
|
|
540
|
+
queryParams: { page: number; limit: number };
|
|
541
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
542
|
+
const req127 = client.createRequest<{
|
|
543
|
+
response: { id: number; name: string; index: 127 };
|
|
544
|
+
payload: { value: string; count: 127 };
|
|
545
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
546
|
+
const req128 = client.createRequest<{
|
|
547
|
+
response: { id: number; name: string; index: 128 };
|
|
548
|
+
payload: { value: string; count: 128 };
|
|
549
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
550
|
+
const req129 = client.createRequest<{
|
|
551
|
+
response: { id: number; name: string; index: 129 };
|
|
552
|
+
queryParams: { page: number; limit: number };
|
|
553
|
+
}>()({ endpoint: "/settings" as const, method: "DELETE" as const });
|
|
554
|
+
const req130 = client.createRequest<{ response: { id: number; name: string; index: 130 } }>()({
|
|
555
|
+
endpoint: "/users" as const,
|
|
556
|
+
method: "GET" as const,
|
|
557
|
+
});
|
|
558
|
+
const req131 = client.createRequest<{
|
|
559
|
+
response: { id: number; name: string; index: 131 };
|
|
560
|
+
payload: { value: string; count: 131 };
|
|
561
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
562
|
+
const req132 = client.createRequest<{
|
|
563
|
+
response: { id: number; name: string; index: 132 };
|
|
564
|
+
payload: { value: string; count: 132 };
|
|
565
|
+
queryParams: { page: number; limit: number };
|
|
566
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
567
|
+
const req133 = client.createRequest<{
|
|
568
|
+
response: { id: number; name: string; index: 133 };
|
|
569
|
+
payload: { value: string; count: 133 };
|
|
570
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
571
|
+
const req134 = client.createRequest<{ response: { id: number; name: string; index: 134 } }>()({
|
|
572
|
+
endpoint: "/products" as const,
|
|
573
|
+
method: "DELETE" as const,
|
|
574
|
+
});
|
|
575
|
+
const req135 = client.createRequest<{
|
|
576
|
+
response: { id: number; name: string; index: 135 };
|
|
577
|
+
queryParams: { page: number; limit: number };
|
|
578
|
+
}>()({ endpoint: "/products/:productId" as const, method: "GET" as const });
|
|
579
|
+
const req136 = client.createRequest<{
|
|
580
|
+
response: { id: number; name: string; index: 136 };
|
|
581
|
+
payload: { value: string; count: 136 };
|
|
582
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
583
|
+
const req137 = client.createRequest<{
|
|
584
|
+
response: { id: number; name: string; index: 137 };
|
|
585
|
+
payload: { value: string; count: 137 };
|
|
586
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
587
|
+
const req138 = client.createRequest<{
|
|
588
|
+
response: { id: number; name: string; index: 138 };
|
|
589
|
+
payload: { value: string; count: 138 };
|
|
590
|
+
queryParams: { page: number; limit: number };
|
|
591
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
592
|
+
const req139 = client.createRequest<{ response: { id: number; name: string; index: 139 } }>()({
|
|
593
|
+
endpoint: "/settings" as const,
|
|
594
|
+
method: "DELETE" as const,
|
|
595
|
+
});
|
|
596
|
+
const req140 = client.createRequest<{ response: { id: number; name: string; index: 140 } }>()({
|
|
597
|
+
endpoint: "/users" as const,
|
|
598
|
+
method: "GET" as const,
|
|
599
|
+
});
|
|
600
|
+
const req141 = client.createRequest<{
|
|
601
|
+
response: { id: number; name: string; index: 141 };
|
|
602
|
+
payload: { value: string; count: 141 };
|
|
603
|
+
queryParams: { page: number; limit: number };
|
|
604
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
605
|
+
const req142 = client.createRequest<{
|
|
606
|
+
response: { id: number; name: string; index: 142 };
|
|
607
|
+
payload: { value: string; count: 142 };
|
|
608
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
609
|
+
const req143 = client.createRequest<{
|
|
610
|
+
response: { id: number; name: string; index: 143 };
|
|
611
|
+
payload: { value: string; count: 143 };
|
|
612
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
613
|
+
const req144 = client.createRequest<{
|
|
614
|
+
response: { id: number; name: string; index: 144 };
|
|
615
|
+
queryParams: { page: number; limit: number };
|
|
616
|
+
}>()({ endpoint: "/products" as const, method: "DELETE" as const });
|
|
617
|
+
const req145 = client.createRequest<{ response: { id: number; name: string; index: 145 } }>()({
|
|
618
|
+
endpoint: "/products/:productId" as const,
|
|
619
|
+
method: "GET" as const,
|
|
620
|
+
});
|
|
621
|
+
const req146 = client.createRequest<{
|
|
622
|
+
response: { id: number; name: string; index: 146 };
|
|
623
|
+
payload: { value: string; count: 146 };
|
|
624
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
625
|
+
const req147 = client.createRequest<{
|
|
626
|
+
response: { id: number; name: string; index: 147 };
|
|
627
|
+
payload: { value: string; count: 147 };
|
|
628
|
+
queryParams: { page: number; limit: number };
|
|
629
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
630
|
+
const req148 = client.createRequest<{
|
|
631
|
+
response: { id: number; name: string; index: 148 };
|
|
632
|
+
payload: { value: string; count: 148 };
|
|
633
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
634
|
+
const req149 = client.createRequest<{ response: { id: number; name: string; index: 149 } }>()({
|
|
635
|
+
endpoint: "/settings" as const,
|
|
636
|
+
method: "DELETE" as const,
|
|
637
|
+
});
|
|
638
|
+
const req150 = client.createRequest<{
|
|
639
|
+
response: { id: number; name: string; index: 150 };
|
|
640
|
+
queryParams: { page: number; limit: number };
|
|
641
|
+
}>()({ endpoint: "/users" as const, method: "GET" as const });
|
|
642
|
+
const req151 = client.createRequest<{
|
|
643
|
+
response: { id: number; name: string; index: 151 };
|
|
644
|
+
payload: { value: string; count: 151 };
|
|
645
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
646
|
+
const req152 = client.createRequest<{
|
|
647
|
+
response: { id: number; name: string; index: 152 };
|
|
648
|
+
payload: { value: string; count: 152 };
|
|
649
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
650
|
+
const req153 = client.createRequest<{
|
|
651
|
+
response: { id: number; name: string; index: 153 };
|
|
652
|
+
payload: { value: string; count: 153 };
|
|
653
|
+
queryParams: { page: number; limit: number };
|
|
654
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
655
|
+
const req154 = client.createRequest<{ response: { id: number; name: string; index: 154 } }>()({
|
|
656
|
+
endpoint: "/products" as const,
|
|
657
|
+
method: "DELETE" as const,
|
|
658
|
+
});
|
|
659
|
+
const req155 = client.createRequest<{ response: { id: number; name: string; index: 155 } }>()({
|
|
660
|
+
endpoint: "/products/:productId" as const,
|
|
661
|
+
method: "GET" as const,
|
|
662
|
+
});
|
|
663
|
+
const req156 = client.createRequest<{
|
|
664
|
+
response: { id: number; name: string; index: 156 };
|
|
665
|
+
payload: { value: string; count: 156 };
|
|
666
|
+
queryParams: { page: number; limit: number };
|
|
667
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
668
|
+
const req157 = client.createRequest<{
|
|
669
|
+
response: { id: number; name: string; index: 157 };
|
|
670
|
+
payload: { value: string; count: 157 };
|
|
671
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
672
|
+
const req158 = client.createRequest<{
|
|
673
|
+
response: { id: number; name: string; index: 158 };
|
|
674
|
+
payload: { value: string; count: 158 };
|
|
675
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
676
|
+
const req159 = client.createRequest<{
|
|
677
|
+
response: { id: number; name: string; index: 159 };
|
|
678
|
+
queryParams: { page: number; limit: number };
|
|
679
|
+
}>()({ endpoint: "/settings" as const, method: "DELETE" as const });
|
|
680
|
+
const req160 = client.createRequest<{ response: { id: number; name: string; index: 160 } }>()({
|
|
681
|
+
endpoint: "/users" as const,
|
|
682
|
+
method: "GET" as const,
|
|
683
|
+
});
|
|
684
|
+
const req161 = client.createRequest<{
|
|
685
|
+
response: { id: number; name: string; index: 161 };
|
|
686
|
+
payload: { value: string; count: 161 };
|
|
687
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
688
|
+
const req162 = client.createRequest<{
|
|
689
|
+
response: { id: number; name: string; index: 162 };
|
|
690
|
+
payload: { value: string; count: 162 };
|
|
691
|
+
queryParams: { page: number; limit: number };
|
|
692
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
693
|
+
const req163 = client.createRequest<{
|
|
694
|
+
response: { id: number; name: string; index: 163 };
|
|
695
|
+
payload: { value: string; count: 163 };
|
|
696
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
697
|
+
const req164 = client.createRequest<{ response: { id: number; name: string; index: 164 } }>()({
|
|
698
|
+
endpoint: "/products" as const,
|
|
699
|
+
method: "DELETE" as const,
|
|
700
|
+
});
|
|
701
|
+
const req165 = client.createRequest<{
|
|
702
|
+
response: { id: number; name: string; index: 165 };
|
|
703
|
+
queryParams: { page: number; limit: number };
|
|
704
|
+
}>()({ endpoint: "/products/:productId" as const, method: "GET" as const });
|
|
705
|
+
const req166 = client.createRequest<{
|
|
706
|
+
response: { id: number; name: string; index: 166 };
|
|
707
|
+
payload: { value: string; count: 166 };
|
|
708
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
709
|
+
const req167 = client.createRequest<{
|
|
710
|
+
response: { id: number; name: string; index: 167 };
|
|
711
|
+
payload: { value: string; count: 167 };
|
|
712
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
713
|
+
const req168 = client.createRequest<{
|
|
714
|
+
response: { id: number; name: string; index: 168 };
|
|
715
|
+
payload: { value: string; count: 168 };
|
|
716
|
+
queryParams: { page: number; limit: number };
|
|
717
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
718
|
+
const req169 = client.createRequest<{ response: { id: number; name: string; index: 169 } }>()({
|
|
719
|
+
endpoint: "/settings" as const,
|
|
720
|
+
method: "DELETE" as const,
|
|
721
|
+
});
|
|
722
|
+
const req170 = client.createRequest<{ response: { id: number; name: string; index: 170 } }>()({
|
|
723
|
+
endpoint: "/users" as const,
|
|
724
|
+
method: "GET" as const,
|
|
725
|
+
});
|
|
726
|
+
const req171 = client.createRequest<{
|
|
727
|
+
response: { id: number; name: string; index: 171 };
|
|
728
|
+
payload: { value: string; count: 171 };
|
|
729
|
+
queryParams: { page: number; limit: number };
|
|
730
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
731
|
+
const req172 = client.createRequest<{
|
|
732
|
+
response: { id: number; name: string; index: 172 };
|
|
733
|
+
payload: { value: string; count: 172 };
|
|
734
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
735
|
+
const req173 = client.createRequest<{
|
|
736
|
+
response: { id: number; name: string; index: 173 };
|
|
737
|
+
payload: { value: string; count: 173 };
|
|
738
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
739
|
+
const req174 = client.createRequest<{
|
|
740
|
+
response: { id: number; name: string; index: 174 };
|
|
741
|
+
queryParams: { page: number; limit: number };
|
|
742
|
+
}>()({ endpoint: "/products" as const, method: "DELETE" as const });
|
|
743
|
+
const req175 = client.createRequest<{ response: { id: number; name: string; index: 175 } }>()({
|
|
744
|
+
endpoint: "/products/:productId" as const,
|
|
745
|
+
method: "GET" as const,
|
|
746
|
+
});
|
|
747
|
+
const req176 = client.createRequest<{
|
|
748
|
+
response: { id: number; name: string; index: 176 };
|
|
749
|
+
payload: { value: string; count: 176 };
|
|
750
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
751
|
+
const req177 = client.createRequest<{
|
|
752
|
+
response: { id: number; name: string; index: 177 };
|
|
753
|
+
payload: { value: string; count: 177 };
|
|
754
|
+
queryParams: { page: number; limit: number };
|
|
755
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
756
|
+
const req178 = client.createRequest<{
|
|
757
|
+
response: { id: number; name: string; index: 178 };
|
|
758
|
+
payload: { value: string; count: 178 };
|
|
759
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
760
|
+
const req179 = client.createRequest<{ response: { id: number; name: string; index: 179 } }>()({
|
|
761
|
+
endpoint: "/settings" as const,
|
|
762
|
+
method: "DELETE" as const,
|
|
763
|
+
});
|
|
764
|
+
const req180 = client.createRequest<{
|
|
765
|
+
response: { id: number; name: string; index: 180 };
|
|
766
|
+
queryParams: { page: number; limit: number };
|
|
767
|
+
}>()({ endpoint: "/users" as const, method: "GET" as const });
|
|
768
|
+
const req181 = client.createRequest<{
|
|
769
|
+
response: { id: number; name: string; index: 181 };
|
|
770
|
+
payload: { value: string; count: 181 };
|
|
771
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
772
|
+
const req182 = client.createRequest<{
|
|
773
|
+
response: { id: number; name: string; index: 182 };
|
|
774
|
+
payload: { value: string; count: 182 };
|
|
775
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
776
|
+
const req183 = client.createRequest<{
|
|
777
|
+
response: { id: number; name: string; index: 183 };
|
|
778
|
+
payload: { value: string; count: 183 };
|
|
779
|
+
queryParams: { page: number; limit: number };
|
|
780
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
781
|
+
const req184 = client.createRequest<{ response: { id: number; name: string; index: 184 } }>()({
|
|
782
|
+
endpoint: "/products" as const,
|
|
783
|
+
method: "DELETE" as const,
|
|
784
|
+
});
|
|
785
|
+
const req185 = client.createRequest<{ response: { id: number; name: string; index: 185 } }>()({
|
|
786
|
+
endpoint: "/products/:productId" as const,
|
|
787
|
+
method: "GET" as const,
|
|
788
|
+
});
|
|
789
|
+
const req186 = client.createRequest<{
|
|
790
|
+
response: { id: number; name: string; index: 186 };
|
|
791
|
+
payload: { value: string; count: 186 };
|
|
792
|
+
queryParams: { page: number; limit: number };
|
|
793
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
794
|
+
const req187 = client.createRequest<{
|
|
795
|
+
response: { id: number; name: string; index: 187 };
|
|
796
|
+
payload: { value: string; count: 187 };
|
|
797
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
798
|
+
const req188 = client.createRequest<{
|
|
799
|
+
response: { id: number; name: string; index: 188 };
|
|
800
|
+
payload: { value: string; count: 188 };
|
|
801
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
802
|
+
const req189 = client.createRequest<{
|
|
803
|
+
response: { id: number; name: string; index: 189 };
|
|
804
|
+
queryParams: { page: number; limit: number };
|
|
805
|
+
}>()({ endpoint: "/settings" as const, method: "DELETE" as const });
|
|
806
|
+
const req190 = client.createRequest<{ response: { id: number; name: string; index: 190 } }>()({
|
|
807
|
+
endpoint: "/users" as const,
|
|
808
|
+
method: "GET" as const,
|
|
809
|
+
});
|
|
810
|
+
const req191 = client.createRequest<{
|
|
811
|
+
response: { id: number; name: string; index: 191 };
|
|
812
|
+
payload: { value: string; count: 191 };
|
|
813
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
814
|
+
const req192 = client.createRequest<{
|
|
815
|
+
response: { id: number; name: string; index: 192 };
|
|
816
|
+
payload: { value: string; count: 192 };
|
|
817
|
+
queryParams: { page: number; limit: number };
|
|
818
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
819
|
+
const req193 = client.createRequest<{
|
|
820
|
+
response: { id: number; name: string; index: 193 };
|
|
821
|
+
payload: { value: string; count: 193 };
|
|
822
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
823
|
+
const req194 = client.createRequest<{ response: { id: number; name: string; index: 194 } }>()({
|
|
824
|
+
endpoint: "/products" as const,
|
|
825
|
+
method: "DELETE" as const,
|
|
826
|
+
});
|
|
827
|
+
const req195 = client.createRequest<{
|
|
828
|
+
response: { id: number; name: string; index: 195 };
|
|
829
|
+
queryParams: { page: number; limit: number };
|
|
830
|
+
}>()({ endpoint: "/products/:productId" as const, method: "GET" as const });
|
|
831
|
+
const req196 = client.createRequest<{
|
|
832
|
+
response: { id: number; name: string; index: 196 };
|
|
833
|
+
payload: { value: string; count: 196 };
|
|
834
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
835
|
+
const req197 = client.createRequest<{
|
|
836
|
+
response: { id: number; name: string; index: 197 };
|
|
837
|
+
payload: { value: string; count: 197 };
|
|
838
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
839
|
+
const req198 = client.createRequest<{
|
|
840
|
+
response: { id: number; name: string; index: 198 };
|
|
841
|
+
payload: { value: string; count: 198 };
|
|
842
|
+
queryParams: { page: number; limit: number };
|
|
843
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
844
|
+
const req199 = client.createRequest<{ response: { id: number; name: string; index: 199 } }>()({
|
|
845
|
+
endpoint: "/settings" as const,
|
|
846
|
+
method: "DELETE" as const,
|
|
847
|
+
});
|
|
848
|
+
const req200 = client.createRequest<{ response: { id: number; name: string; index: 200 } }>()({
|
|
849
|
+
endpoint: "/users" as const,
|
|
850
|
+
method: "GET" as const,
|
|
851
|
+
});
|
|
852
|
+
const req201 = client.createRequest<{
|
|
853
|
+
response: { id: number; name: string; index: 201 };
|
|
854
|
+
payload: { value: string; count: 201 };
|
|
855
|
+
queryParams: { page: number; limit: number };
|
|
856
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
857
|
+
const req202 = client.createRequest<{
|
|
858
|
+
response: { id: number; name: string; index: 202 };
|
|
859
|
+
payload: { value: string; count: 202 };
|
|
860
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
861
|
+
const req203 = client.createRequest<{
|
|
862
|
+
response: { id: number; name: string; index: 203 };
|
|
863
|
+
payload: { value: string; count: 203 };
|
|
864
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
865
|
+
const req204 = client.createRequest<{
|
|
866
|
+
response: { id: number; name: string; index: 204 };
|
|
867
|
+
queryParams: { page: number; limit: number };
|
|
868
|
+
}>()({ endpoint: "/products" as const, method: "DELETE" as const });
|
|
869
|
+
const req205 = client.createRequest<{ response: { id: number; name: string; index: 205 } }>()({
|
|
870
|
+
endpoint: "/products/:productId" as const,
|
|
871
|
+
method: "GET" as const,
|
|
872
|
+
});
|
|
873
|
+
const req206 = client.createRequest<{
|
|
874
|
+
response: { id: number; name: string; index: 206 };
|
|
875
|
+
payload: { value: string; count: 206 };
|
|
876
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
877
|
+
const req207 = client.createRequest<{
|
|
878
|
+
response: { id: number; name: string; index: 207 };
|
|
879
|
+
payload: { value: string; count: 207 };
|
|
880
|
+
queryParams: { page: number; limit: number };
|
|
881
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
882
|
+
const req208 = client.createRequest<{
|
|
883
|
+
response: { id: number; name: string; index: 208 };
|
|
884
|
+
payload: { value: string; count: 208 };
|
|
885
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
886
|
+
const req209 = client.createRequest<{ response: { id: number; name: string; index: 209 } }>()({
|
|
887
|
+
endpoint: "/settings" as const,
|
|
888
|
+
method: "DELETE" as const,
|
|
889
|
+
});
|
|
890
|
+
const req210 = client.createRequest<{
|
|
891
|
+
response: { id: number; name: string; index: 210 };
|
|
892
|
+
queryParams: { page: number; limit: number };
|
|
893
|
+
}>()({ endpoint: "/users" as const, method: "GET" as const });
|
|
894
|
+
const req211 = client.createRequest<{
|
|
895
|
+
response: { id: number; name: string; index: 211 };
|
|
896
|
+
payload: { value: string; count: 211 };
|
|
897
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
898
|
+
const req212 = client.createRequest<{
|
|
899
|
+
response: { id: number; name: string; index: 212 };
|
|
900
|
+
payload: { value: string; count: 212 };
|
|
901
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
902
|
+
const req213 = client.createRequest<{
|
|
903
|
+
response: { id: number; name: string; index: 213 };
|
|
904
|
+
payload: { value: string; count: 213 };
|
|
905
|
+
queryParams: { page: number; limit: number };
|
|
906
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
907
|
+
const req214 = client.createRequest<{ response: { id: number; name: string; index: 214 } }>()({
|
|
908
|
+
endpoint: "/products" as const,
|
|
909
|
+
method: "DELETE" as const,
|
|
910
|
+
});
|
|
911
|
+
const req215 = client.createRequest<{ response: { id: number; name: string; index: 215 } }>()({
|
|
912
|
+
endpoint: "/products/:productId" as const,
|
|
913
|
+
method: "GET" as const,
|
|
914
|
+
});
|
|
915
|
+
const req216 = client.createRequest<{
|
|
916
|
+
response: { id: number; name: string; index: 216 };
|
|
917
|
+
payload: { value: string; count: 216 };
|
|
918
|
+
queryParams: { page: number; limit: number };
|
|
919
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
920
|
+
const req217 = client.createRequest<{
|
|
921
|
+
response: { id: number; name: string; index: 217 };
|
|
922
|
+
payload: { value: string; count: 217 };
|
|
923
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
924
|
+
const req218 = client.createRequest<{
|
|
925
|
+
response: { id: number; name: string; index: 218 };
|
|
926
|
+
payload: { value: string; count: 218 };
|
|
927
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
928
|
+
const req219 = client.createRequest<{
|
|
929
|
+
response: { id: number; name: string; index: 219 };
|
|
930
|
+
queryParams: { page: number; limit: number };
|
|
931
|
+
}>()({ endpoint: "/settings" as const, method: "DELETE" as const });
|
|
932
|
+
const req220 = client.createRequest<{ response: { id: number; name: string; index: 220 } }>()({
|
|
933
|
+
endpoint: "/users" as const,
|
|
934
|
+
method: "GET" as const,
|
|
935
|
+
});
|
|
936
|
+
const req221 = client.createRequest<{
|
|
937
|
+
response: { id: number; name: string; index: 221 };
|
|
938
|
+
payload: { value: string; count: 221 };
|
|
939
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
940
|
+
const req222 = client.createRequest<{
|
|
941
|
+
response: { id: number; name: string; index: 222 };
|
|
942
|
+
payload: { value: string; count: 222 };
|
|
943
|
+
queryParams: { page: number; limit: number };
|
|
944
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
945
|
+
const req223 = client.createRequest<{
|
|
946
|
+
response: { id: number; name: string; index: 223 };
|
|
947
|
+
payload: { value: string; count: 223 };
|
|
948
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
949
|
+
const req224 = client.createRequest<{ response: { id: number; name: string; index: 224 } }>()({
|
|
950
|
+
endpoint: "/products" as const,
|
|
951
|
+
method: "DELETE" as const,
|
|
952
|
+
});
|
|
953
|
+
const req225 = client.createRequest<{
|
|
954
|
+
response: { id: number; name: string; index: 225 };
|
|
955
|
+
queryParams: { page: number; limit: number };
|
|
956
|
+
}>()({ endpoint: "/products/:productId" as const, method: "GET" as const });
|
|
957
|
+
const req226 = client.createRequest<{
|
|
958
|
+
response: { id: number; name: string; index: 226 };
|
|
959
|
+
payload: { value: string; count: 226 };
|
|
960
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
961
|
+
const req227 = client.createRequest<{
|
|
962
|
+
response: { id: number; name: string; index: 227 };
|
|
963
|
+
payload: { value: string; count: 227 };
|
|
964
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
965
|
+
const req228 = client.createRequest<{
|
|
966
|
+
response: { id: number; name: string; index: 228 };
|
|
967
|
+
payload: { value: string; count: 228 };
|
|
968
|
+
queryParams: { page: number; limit: number };
|
|
969
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
970
|
+
const req229 = client.createRequest<{ response: { id: number; name: string; index: 229 } }>()({
|
|
971
|
+
endpoint: "/settings" as const,
|
|
972
|
+
method: "DELETE" as const,
|
|
973
|
+
});
|
|
974
|
+
const req230 = client.createRequest<{ response: { id: number; name: string; index: 230 } }>()({
|
|
975
|
+
endpoint: "/users" as const,
|
|
976
|
+
method: "GET" as const,
|
|
977
|
+
});
|
|
978
|
+
const req231 = client.createRequest<{
|
|
979
|
+
response: { id: number; name: string; index: 231 };
|
|
980
|
+
payload: { value: string; count: 231 };
|
|
981
|
+
queryParams: { page: number; limit: number };
|
|
982
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
983
|
+
const req232 = client.createRequest<{
|
|
984
|
+
response: { id: number; name: string; index: 232 };
|
|
985
|
+
payload: { value: string; count: 232 };
|
|
986
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
987
|
+
const req233 = client.createRequest<{
|
|
988
|
+
response: { id: number; name: string; index: 233 };
|
|
989
|
+
payload: { value: string; count: 233 };
|
|
990
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
991
|
+
const req234 = client.createRequest<{
|
|
992
|
+
response: { id: number; name: string; index: 234 };
|
|
993
|
+
queryParams: { page: number; limit: number };
|
|
994
|
+
}>()({ endpoint: "/products" as const, method: "DELETE" as const });
|
|
995
|
+
const req235 = client.createRequest<{ response: { id: number; name: string; index: 235 } }>()({
|
|
996
|
+
endpoint: "/products/:productId" as const,
|
|
997
|
+
method: "GET" as const,
|
|
998
|
+
});
|
|
999
|
+
const req236 = client.createRequest<{
|
|
1000
|
+
response: { id: number; name: string; index: 236 };
|
|
1001
|
+
payload: { value: string; count: 236 };
|
|
1002
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1003
|
+
const req237 = client.createRequest<{
|
|
1004
|
+
response: { id: number; name: string; index: 237 };
|
|
1005
|
+
payload: { value: string; count: 237 };
|
|
1006
|
+
queryParams: { page: number; limit: number };
|
|
1007
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1008
|
+
const req238 = client.createRequest<{
|
|
1009
|
+
response: { id: number; name: string; index: 238 };
|
|
1010
|
+
payload: { value: string; count: 238 };
|
|
1011
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1012
|
+
const req239 = client.createRequest<{ response: { id: number; name: string; index: 239 } }>()({
|
|
1013
|
+
endpoint: "/settings" as const,
|
|
1014
|
+
method: "DELETE" as const,
|
|
1015
|
+
});
|
|
1016
|
+
const req240 = client.createRequest<{
|
|
1017
|
+
response: { id: number; name: string; index: 240 };
|
|
1018
|
+
queryParams: { page: number; limit: number };
|
|
1019
|
+
}>()({ endpoint: "/users" as const, method: "GET" as const });
|
|
1020
|
+
const req241 = client.createRequest<{
|
|
1021
|
+
response: { id: number; name: string; index: 241 };
|
|
1022
|
+
payload: { value: string; count: 241 };
|
|
1023
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1024
|
+
const req242 = client.createRequest<{
|
|
1025
|
+
response: { id: number; name: string; index: 242 };
|
|
1026
|
+
payload: { value: string; count: 242 };
|
|
1027
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1028
|
+
const req243 = client.createRequest<{
|
|
1029
|
+
response: { id: number; name: string; index: 243 };
|
|
1030
|
+
payload: { value: string; count: 243 };
|
|
1031
|
+
queryParams: { page: number; limit: number };
|
|
1032
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1033
|
+
const req244 = client.createRequest<{ response: { id: number; name: string; index: 244 } }>()({
|
|
1034
|
+
endpoint: "/products" as const,
|
|
1035
|
+
method: "DELETE" as const,
|
|
1036
|
+
});
|
|
1037
|
+
const req245 = client.createRequest<{ response: { id: number; name: string; index: 245 } }>()({
|
|
1038
|
+
endpoint: "/products/:productId" as const,
|
|
1039
|
+
method: "GET" as const,
|
|
1040
|
+
});
|
|
1041
|
+
const req246 = client.createRequest<{
|
|
1042
|
+
response: { id: number; name: string; index: 246 };
|
|
1043
|
+
payload: { value: string; count: 246 };
|
|
1044
|
+
queryParams: { page: number; limit: number };
|
|
1045
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1046
|
+
const req247 = client.createRequest<{
|
|
1047
|
+
response: { id: number; name: string; index: 247 };
|
|
1048
|
+
payload: { value: string; count: 247 };
|
|
1049
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1050
|
+
const req248 = client.createRequest<{
|
|
1051
|
+
response: { id: number; name: string; index: 248 };
|
|
1052
|
+
payload: { value: string; count: 248 };
|
|
1053
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1054
|
+
const req249 = client.createRequest<{
|
|
1055
|
+
response: { id: number; name: string; index: 249 };
|
|
1056
|
+
queryParams: { page: number; limit: number };
|
|
1057
|
+
}>()({ endpoint: "/settings" as const, method: "DELETE" as const });
|
|
1058
|
+
const req250 = client.createRequest<{ response: { id: number; name: string; index: 250 } }>()({
|
|
1059
|
+
endpoint: "/users" as const,
|
|
1060
|
+
method: "GET" as const,
|
|
1061
|
+
});
|
|
1062
|
+
const req251 = client.createRequest<{
|
|
1063
|
+
response: { id: number; name: string; index: 251 };
|
|
1064
|
+
payload: { value: string; count: 251 };
|
|
1065
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1066
|
+
const req252 = client.createRequest<{
|
|
1067
|
+
response: { id: number; name: string; index: 252 };
|
|
1068
|
+
payload: { value: string; count: 252 };
|
|
1069
|
+
queryParams: { page: number; limit: number };
|
|
1070
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1071
|
+
const req253 = client.createRequest<{
|
|
1072
|
+
response: { id: number; name: string; index: 253 };
|
|
1073
|
+
payload: { value: string; count: 253 };
|
|
1074
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1075
|
+
const req254 = client.createRequest<{ response: { id: number; name: string; index: 254 } }>()({
|
|
1076
|
+
endpoint: "/products" as const,
|
|
1077
|
+
method: "DELETE" as const,
|
|
1078
|
+
});
|
|
1079
|
+
const req255 = client.createRequest<{
|
|
1080
|
+
response: { id: number; name: string; index: 255 };
|
|
1081
|
+
queryParams: { page: number; limit: number };
|
|
1082
|
+
}>()({ endpoint: "/products/:productId" as const, method: "GET" as const });
|
|
1083
|
+
const req256 = client.createRequest<{
|
|
1084
|
+
response: { id: number; name: string; index: 256 };
|
|
1085
|
+
payload: { value: string; count: 256 };
|
|
1086
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1087
|
+
const req257 = client.createRequest<{
|
|
1088
|
+
response: { id: number; name: string; index: 257 };
|
|
1089
|
+
payload: { value: string; count: 257 };
|
|
1090
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1091
|
+
const req258 = client.createRequest<{
|
|
1092
|
+
response: { id: number; name: string; index: 258 };
|
|
1093
|
+
payload: { value: string; count: 258 };
|
|
1094
|
+
queryParams: { page: number; limit: number };
|
|
1095
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1096
|
+
const req259 = client.createRequest<{ response: { id: number; name: string; index: 259 } }>()({
|
|
1097
|
+
endpoint: "/settings" as const,
|
|
1098
|
+
method: "DELETE" as const,
|
|
1099
|
+
});
|
|
1100
|
+
const req260 = client.createRequest<{ response: { id: number; name: string; index: 260 } }>()({
|
|
1101
|
+
endpoint: "/users" as const,
|
|
1102
|
+
method: "GET" as const,
|
|
1103
|
+
});
|
|
1104
|
+
const req261 = client.createRequest<{
|
|
1105
|
+
response: { id: number; name: string; index: 261 };
|
|
1106
|
+
payload: { value: string; count: 261 };
|
|
1107
|
+
queryParams: { page: number; limit: number };
|
|
1108
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1109
|
+
const req262 = client.createRequest<{
|
|
1110
|
+
response: { id: number; name: string; index: 262 };
|
|
1111
|
+
payload: { value: string; count: 262 };
|
|
1112
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1113
|
+
const req263 = client.createRequest<{
|
|
1114
|
+
response: { id: number; name: string; index: 263 };
|
|
1115
|
+
payload: { value: string; count: 263 };
|
|
1116
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1117
|
+
const req264 = client.createRequest<{
|
|
1118
|
+
response: { id: number; name: string; index: 264 };
|
|
1119
|
+
queryParams: { page: number; limit: number };
|
|
1120
|
+
}>()({ endpoint: "/products" as const, method: "DELETE" as const });
|
|
1121
|
+
const req265 = client.createRequest<{ response: { id: number; name: string; index: 265 } }>()({
|
|
1122
|
+
endpoint: "/products/:productId" as const,
|
|
1123
|
+
method: "GET" as const,
|
|
1124
|
+
});
|
|
1125
|
+
const req266 = client.createRequest<{
|
|
1126
|
+
response: { id: number; name: string; index: 266 };
|
|
1127
|
+
payload: { value: string; count: 266 };
|
|
1128
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1129
|
+
const req267 = client.createRequest<{
|
|
1130
|
+
response: { id: number; name: string; index: 267 };
|
|
1131
|
+
payload: { value: string; count: 267 };
|
|
1132
|
+
queryParams: { page: number; limit: number };
|
|
1133
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1134
|
+
const req268 = client.createRequest<{
|
|
1135
|
+
response: { id: number; name: string; index: 268 };
|
|
1136
|
+
payload: { value: string; count: 268 };
|
|
1137
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1138
|
+
const req269 = client.createRequest<{ response: { id: number; name: string; index: 269 } }>()({
|
|
1139
|
+
endpoint: "/settings" as const,
|
|
1140
|
+
method: "DELETE" as const,
|
|
1141
|
+
});
|
|
1142
|
+
const req270 = client.createRequest<{
|
|
1143
|
+
response: { id: number; name: string; index: 270 };
|
|
1144
|
+
queryParams: { page: number; limit: number };
|
|
1145
|
+
}>()({ endpoint: "/users" as const, method: "GET" as const });
|
|
1146
|
+
const req271 = client.createRequest<{
|
|
1147
|
+
response: { id: number; name: string; index: 271 };
|
|
1148
|
+
payload: { value: string; count: 271 };
|
|
1149
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1150
|
+
const req272 = client.createRequest<{
|
|
1151
|
+
response: { id: number; name: string; index: 272 };
|
|
1152
|
+
payload: { value: string; count: 272 };
|
|
1153
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1154
|
+
const req273 = client.createRequest<{
|
|
1155
|
+
response: { id: number; name: string; index: 273 };
|
|
1156
|
+
payload: { value: string; count: 273 };
|
|
1157
|
+
queryParams: { page: number; limit: number };
|
|
1158
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1159
|
+
const req274 = client.createRequest<{ response: { id: number; name: string; index: 274 } }>()({
|
|
1160
|
+
endpoint: "/products" as const,
|
|
1161
|
+
method: "DELETE" as const,
|
|
1162
|
+
});
|
|
1163
|
+
const req275 = client.createRequest<{ response: { id: number; name: string; index: 275 } }>()({
|
|
1164
|
+
endpoint: "/products/:productId" as const,
|
|
1165
|
+
method: "GET" as const,
|
|
1166
|
+
});
|
|
1167
|
+
const req276 = client.createRequest<{
|
|
1168
|
+
response: { id: number; name: string; index: 276 };
|
|
1169
|
+
payload: { value: string; count: 276 };
|
|
1170
|
+
queryParams: { page: number; limit: number };
|
|
1171
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1172
|
+
const req277 = client.createRequest<{
|
|
1173
|
+
response: { id: number; name: string; index: 277 };
|
|
1174
|
+
payload: { value: string; count: 277 };
|
|
1175
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1176
|
+
const req278 = client.createRequest<{
|
|
1177
|
+
response: { id: number; name: string; index: 278 };
|
|
1178
|
+
payload: { value: string; count: 278 };
|
|
1179
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1180
|
+
const req279 = client.createRequest<{
|
|
1181
|
+
response: { id: number; name: string; index: 279 };
|
|
1182
|
+
queryParams: { page: number; limit: number };
|
|
1183
|
+
}>()({ endpoint: "/settings" as const, method: "DELETE" as const });
|
|
1184
|
+
const req280 = client.createRequest<{ response: { id: number; name: string; index: 280 } }>()({
|
|
1185
|
+
endpoint: "/users" as const,
|
|
1186
|
+
method: "GET" as const,
|
|
1187
|
+
});
|
|
1188
|
+
const req281 = client.createRequest<{
|
|
1189
|
+
response: { id: number; name: string; index: 281 };
|
|
1190
|
+
payload: { value: string; count: 281 };
|
|
1191
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1192
|
+
const req282 = client.createRequest<{
|
|
1193
|
+
response: { id: number; name: string; index: 282 };
|
|
1194
|
+
payload: { value: string; count: 282 };
|
|
1195
|
+
queryParams: { page: number; limit: number };
|
|
1196
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1197
|
+
const req283 = client.createRequest<{
|
|
1198
|
+
response: { id: number; name: string; index: 283 };
|
|
1199
|
+
payload: { value: string; count: 283 };
|
|
1200
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1201
|
+
const req284 = client.createRequest<{ response: { id: number; name: string; index: 284 } }>()({
|
|
1202
|
+
endpoint: "/products" as const,
|
|
1203
|
+
method: "DELETE" as const,
|
|
1204
|
+
});
|
|
1205
|
+
const req285 = client.createRequest<{
|
|
1206
|
+
response: { id: number; name: string; index: 285 };
|
|
1207
|
+
queryParams: { page: number; limit: number };
|
|
1208
|
+
}>()({ endpoint: "/products/:productId" as const, method: "GET" as const });
|
|
1209
|
+
const req286 = client.createRequest<{
|
|
1210
|
+
response: { id: number; name: string; index: 286 };
|
|
1211
|
+
payload: { value: string; count: 286 };
|
|
1212
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1213
|
+
const req287 = client.createRequest<{
|
|
1214
|
+
response: { id: number; name: string; index: 287 };
|
|
1215
|
+
payload: { value: string; count: 287 };
|
|
1216
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1217
|
+
const req288 = client.createRequest<{
|
|
1218
|
+
response: { id: number; name: string; index: 288 };
|
|
1219
|
+
payload: { value: string; count: 288 };
|
|
1220
|
+
queryParams: { page: number; limit: number };
|
|
1221
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1222
|
+
const req289 = client.createRequest<{ response: { id: number; name: string; index: 289 } }>()({
|
|
1223
|
+
endpoint: "/settings" as const,
|
|
1224
|
+
method: "DELETE" as const,
|
|
1225
|
+
});
|
|
1226
|
+
const req290 = client.createRequest<{ response: { id: number; name: string; index: 290 } }>()({
|
|
1227
|
+
endpoint: "/users" as const,
|
|
1228
|
+
method: "GET" as const,
|
|
1229
|
+
});
|
|
1230
|
+
const req291 = client.createRequest<{
|
|
1231
|
+
response: { id: number; name: string; index: 291 };
|
|
1232
|
+
payload: { value: string; count: 291 };
|
|
1233
|
+
queryParams: { page: number; limit: number };
|
|
1234
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1235
|
+
const req292 = client.createRequest<{
|
|
1236
|
+
response: { id: number; name: string; index: 292 };
|
|
1237
|
+
payload: { value: string; count: 292 };
|
|
1238
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1239
|
+
const req293 = client.createRequest<{
|
|
1240
|
+
response: { id: number; name: string; index: 293 };
|
|
1241
|
+
payload: { value: string; count: 293 };
|
|
1242
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1243
|
+
const req294 = client.createRequest<{
|
|
1244
|
+
response: { id: number; name: string; index: 294 };
|
|
1245
|
+
queryParams: { page: number; limit: number };
|
|
1246
|
+
}>()({ endpoint: "/products" as const, method: "DELETE" as const });
|
|
1247
|
+
const req295 = client.createRequest<{ response: { id: number; name: string; index: 295 } }>()({
|
|
1248
|
+
endpoint: "/products/:productId" as const,
|
|
1249
|
+
method: "GET" as const,
|
|
1250
|
+
});
|
|
1251
|
+
const req296 = client.createRequest<{
|
|
1252
|
+
response: { id: number; name: string; index: 296 };
|
|
1253
|
+
payload: { value: string; count: 296 };
|
|
1254
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1255
|
+
const req297 = client.createRequest<{
|
|
1256
|
+
response: { id: number; name: string; index: 297 };
|
|
1257
|
+
payload: { value: string; count: 297 };
|
|
1258
|
+
queryParams: { page: number; limit: number };
|
|
1259
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1260
|
+
const req298 = client.createRequest<{
|
|
1261
|
+
response: { id: number; name: string; index: 298 };
|
|
1262
|
+
payload: { value: string; count: 298 };
|
|
1263
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1264
|
+
const req299 = client.createRequest<{ response: { id: number; name: string; index: 299 } }>()({
|
|
1265
|
+
endpoint: "/settings" as const,
|
|
1266
|
+
method: "DELETE" as const,
|
|
1267
|
+
});
|
|
1268
|
+
const req300 = client.createRequest<{
|
|
1269
|
+
response: { id: number; name: string; index: 300 };
|
|
1270
|
+
queryParams: { page: number; limit: number };
|
|
1271
|
+
}>()({ endpoint: "/users" as const, method: "GET" as const });
|
|
1272
|
+
const req301 = client.createRequest<{
|
|
1273
|
+
response: { id: number; name: string; index: 301 };
|
|
1274
|
+
payload: { value: string; count: 301 };
|
|
1275
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1276
|
+
const req302 = client.createRequest<{
|
|
1277
|
+
response: { id: number; name: string; index: 302 };
|
|
1278
|
+
payload: { value: string; count: 302 };
|
|
1279
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1280
|
+
const req303 = client.createRequest<{
|
|
1281
|
+
response: { id: number; name: string; index: 303 };
|
|
1282
|
+
payload: { value: string; count: 303 };
|
|
1283
|
+
queryParams: { page: number; limit: number };
|
|
1284
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1285
|
+
const req304 = client.createRequest<{ response: { id: number; name: string; index: 304 } }>()({
|
|
1286
|
+
endpoint: "/products" as const,
|
|
1287
|
+
method: "DELETE" as const,
|
|
1288
|
+
});
|
|
1289
|
+
const req305 = client.createRequest<{ response: { id: number; name: string; index: 305 } }>()({
|
|
1290
|
+
endpoint: "/products/:productId" as const,
|
|
1291
|
+
method: "GET" as const,
|
|
1292
|
+
});
|
|
1293
|
+
const req306 = client.createRequest<{
|
|
1294
|
+
response: { id: number; name: string; index: 306 };
|
|
1295
|
+
payload: { value: string; count: 306 };
|
|
1296
|
+
queryParams: { page: number; limit: number };
|
|
1297
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1298
|
+
const req307 = client.createRequest<{
|
|
1299
|
+
response: { id: number; name: string; index: 307 };
|
|
1300
|
+
payload: { value: string; count: 307 };
|
|
1301
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1302
|
+
const req308 = client.createRequest<{
|
|
1303
|
+
response: { id: number; name: string; index: 308 };
|
|
1304
|
+
payload: { value: string; count: 308 };
|
|
1305
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1306
|
+
const req309 = client.createRequest<{
|
|
1307
|
+
response: { id: number; name: string; index: 309 };
|
|
1308
|
+
queryParams: { page: number; limit: number };
|
|
1309
|
+
}>()({ endpoint: "/settings" as const, method: "DELETE" as const });
|
|
1310
|
+
const req310 = client.createRequest<{ response: { id: number; name: string; index: 310 } }>()({
|
|
1311
|
+
endpoint: "/users" as const,
|
|
1312
|
+
method: "GET" as const,
|
|
1313
|
+
});
|
|
1314
|
+
const req311 = client.createRequest<{
|
|
1315
|
+
response: { id: number; name: string; index: 311 };
|
|
1316
|
+
payload: { value: string; count: 311 };
|
|
1317
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1318
|
+
const req312 = client.createRequest<{
|
|
1319
|
+
response: { id: number; name: string; index: 312 };
|
|
1320
|
+
payload: { value: string; count: 312 };
|
|
1321
|
+
queryParams: { page: number; limit: number };
|
|
1322
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1323
|
+
const req313 = client.createRequest<{
|
|
1324
|
+
response: { id: number; name: string; index: 313 };
|
|
1325
|
+
payload: { value: string; count: 313 };
|
|
1326
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1327
|
+
const req314 = client.createRequest<{ response: { id: number; name: string; index: 314 } }>()({
|
|
1328
|
+
endpoint: "/products" as const,
|
|
1329
|
+
method: "DELETE" as const,
|
|
1330
|
+
});
|
|
1331
|
+
const req315 = client.createRequest<{
|
|
1332
|
+
response: { id: number; name: string; index: 315 };
|
|
1333
|
+
queryParams: { page: number; limit: number };
|
|
1334
|
+
}>()({ endpoint: "/products/:productId" as const, method: "GET" as const });
|
|
1335
|
+
const req316 = client.createRequest<{
|
|
1336
|
+
response: { id: number; name: string; index: 316 };
|
|
1337
|
+
payload: { value: string; count: 316 };
|
|
1338
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1339
|
+
const req317 = client.createRequest<{
|
|
1340
|
+
response: { id: number; name: string; index: 317 };
|
|
1341
|
+
payload: { value: string; count: 317 };
|
|
1342
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1343
|
+
const req318 = client.createRequest<{
|
|
1344
|
+
response: { id: number; name: string; index: 318 };
|
|
1345
|
+
payload: { value: string; count: 318 };
|
|
1346
|
+
queryParams: { page: number; limit: number };
|
|
1347
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1348
|
+
const req319 = client.createRequest<{ response: { id: number; name: string; index: 319 } }>()({
|
|
1349
|
+
endpoint: "/settings" as const,
|
|
1350
|
+
method: "DELETE" as const,
|
|
1351
|
+
});
|
|
1352
|
+
const req320 = client.createRequest<{ response: { id: number; name: string; index: 320 } }>()({
|
|
1353
|
+
endpoint: "/users" as const,
|
|
1354
|
+
method: "GET" as const,
|
|
1355
|
+
});
|
|
1356
|
+
const req321 = client.createRequest<{
|
|
1357
|
+
response: { id: number; name: string; index: 321 };
|
|
1358
|
+
payload: { value: string; count: 321 };
|
|
1359
|
+
queryParams: { page: number; limit: number };
|
|
1360
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1361
|
+
const req322 = client.createRequest<{
|
|
1362
|
+
response: { id: number; name: string; index: 322 };
|
|
1363
|
+
payload: { value: string; count: 322 };
|
|
1364
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1365
|
+
const req323 = client.createRequest<{
|
|
1366
|
+
response: { id: number; name: string; index: 323 };
|
|
1367
|
+
payload: { value: string; count: 323 };
|
|
1368
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1369
|
+
const req324 = client.createRequest<{
|
|
1370
|
+
response: { id: number; name: string; index: 324 };
|
|
1371
|
+
queryParams: { page: number; limit: number };
|
|
1372
|
+
}>()({ endpoint: "/products" as const, method: "DELETE" as const });
|
|
1373
|
+
const req325 = client.createRequest<{ response: { id: number; name: string; index: 325 } }>()({
|
|
1374
|
+
endpoint: "/products/:productId" as const,
|
|
1375
|
+
method: "GET" as const,
|
|
1376
|
+
});
|
|
1377
|
+
const req326 = client.createRequest<{
|
|
1378
|
+
response: { id: number; name: string; index: 326 };
|
|
1379
|
+
payload: { value: string; count: 326 };
|
|
1380
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1381
|
+
const req327 = client.createRequest<{
|
|
1382
|
+
response: { id: number; name: string; index: 327 };
|
|
1383
|
+
payload: { value: string; count: 327 };
|
|
1384
|
+
queryParams: { page: number; limit: number };
|
|
1385
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1386
|
+
const req328 = client.createRequest<{
|
|
1387
|
+
response: { id: number; name: string; index: 328 };
|
|
1388
|
+
payload: { value: string; count: 328 };
|
|
1389
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1390
|
+
const req329 = client.createRequest<{ response: { id: number; name: string; index: 329 } }>()({
|
|
1391
|
+
endpoint: "/settings" as const,
|
|
1392
|
+
method: "DELETE" as const,
|
|
1393
|
+
});
|
|
1394
|
+
const req330 = client.createRequest<{
|
|
1395
|
+
response: { id: number; name: string; index: 330 };
|
|
1396
|
+
queryParams: { page: number; limit: number };
|
|
1397
|
+
}>()({ endpoint: "/users" as const, method: "GET" as const });
|
|
1398
|
+
const req331 = client.createRequest<{
|
|
1399
|
+
response: { id: number; name: string; index: 331 };
|
|
1400
|
+
payload: { value: string; count: 331 };
|
|
1401
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1402
|
+
const req332 = client.createRequest<{
|
|
1403
|
+
response: { id: number; name: string; index: 332 };
|
|
1404
|
+
payload: { value: string; count: 332 };
|
|
1405
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1406
|
+
const req333 = client.createRequest<{
|
|
1407
|
+
response: { id: number; name: string; index: 333 };
|
|
1408
|
+
payload: { value: string; count: 333 };
|
|
1409
|
+
queryParams: { page: number; limit: number };
|
|
1410
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1411
|
+
const req334 = client.createRequest<{ response: { id: number; name: string; index: 334 } }>()({
|
|
1412
|
+
endpoint: "/products" as const,
|
|
1413
|
+
method: "DELETE" as const,
|
|
1414
|
+
});
|
|
1415
|
+
const req335 = client.createRequest<{ response: { id: number; name: string; index: 335 } }>()({
|
|
1416
|
+
endpoint: "/products/:productId" as const,
|
|
1417
|
+
method: "GET" as const,
|
|
1418
|
+
});
|
|
1419
|
+
const req336 = client.createRequest<{
|
|
1420
|
+
response: { id: number; name: string; index: 336 };
|
|
1421
|
+
payload: { value: string; count: 336 };
|
|
1422
|
+
queryParams: { page: number; limit: number };
|
|
1423
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1424
|
+
const req337 = client.createRequest<{
|
|
1425
|
+
response: { id: number; name: string; index: 337 };
|
|
1426
|
+
payload: { value: string; count: 337 };
|
|
1427
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1428
|
+
const req338 = client.createRequest<{
|
|
1429
|
+
response: { id: number; name: string; index: 338 };
|
|
1430
|
+
payload: { value: string; count: 338 };
|
|
1431
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1432
|
+
const req339 = client.createRequest<{
|
|
1433
|
+
response: { id: number; name: string; index: 339 };
|
|
1434
|
+
queryParams: { page: number; limit: number };
|
|
1435
|
+
}>()({ endpoint: "/settings" as const, method: "DELETE" as const });
|
|
1436
|
+
const req340 = client.createRequest<{ response: { id: number; name: string; index: 340 } }>()({
|
|
1437
|
+
endpoint: "/users" as const,
|
|
1438
|
+
method: "GET" as const,
|
|
1439
|
+
});
|
|
1440
|
+
const req341 = client.createRequest<{
|
|
1441
|
+
response: { id: number; name: string; index: 341 };
|
|
1442
|
+
payload: { value: string; count: 341 };
|
|
1443
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1444
|
+
const req342 = client.createRequest<{
|
|
1445
|
+
response: { id: number; name: string; index: 342 };
|
|
1446
|
+
payload: { value: string; count: 342 };
|
|
1447
|
+
queryParams: { page: number; limit: number };
|
|
1448
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1449
|
+
const req343 = client.createRequest<{
|
|
1450
|
+
response: { id: number; name: string; index: 343 };
|
|
1451
|
+
payload: { value: string; count: 343 };
|
|
1452
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1453
|
+
const req344 = client.createRequest<{ response: { id: number; name: string; index: 344 } }>()({
|
|
1454
|
+
endpoint: "/products" as const,
|
|
1455
|
+
method: "DELETE" as const,
|
|
1456
|
+
});
|
|
1457
|
+
const req345 = client.createRequest<{
|
|
1458
|
+
response: { id: number; name: string; index: 345 };
|
|
1459
|
+
queryParams: { page: number; limit: number };
|
|
1460
|
+
}>()({ endpoint: "/products/:productId" as const, method: "GET" as const });
|
|
1461
|
+
const req346 = client.createRequest<{
|
|
1462
|
+
response: { id: number; name: string; index: 346 };
|
|
1463
|
+
payload: { value: string; count: 346 };
|
|
1464
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1465
|
+
const req347 = client.createRequest<{
|
|
1466
|
+
response: { id: number; name: string; index: 347 };
|
|
1467
|
+
payload: { value: string; count: 347 };
|
|
1468
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1469
|
+
const req348 = client.createRequest<{
|
|
1470
|
+
response: { id: number; name: string; index: 348 };
|
|
1471
|
+
payload: { value: string; count: 348 };
|
|
1472
|
+
queryParams: { page: number; limit: number };
|
|
1473
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1474
|
+
const req349 = client.createRequest<{ response: { id: number; name: string; index: 349 } }>()({
|
|
1475
|
+
endpoint: "/settings" as const,
|
|
1476
|
+
method: "DELETE" as const,
|
|
1477
|
+
});
|
|
1478
|
+
const req350 = client.createRequest<{ response: { id: number; name: string; index: 350 } }>()({
|
|
1479
|
+
endpoint: "/users" as const,
|
|
1480
|
+
method: "GET" as const,
|
|
1481
|
+
});
|
|
1482
|
+
const req351 = client.createRequest<{
|
|
1483
|
+
response: { id: number; name: string; index: 351 };
|
|
1484
|
+
payload: { value: string; count: 351 };
|
|
1485
|
+
queryParams: { page: number; limit: number };
|
|
1486
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1487
|
+
const req352 = client.createRequest<{
|
|
1488
|
+
response: { id: number; name: string; index: 352 };
|
|
1489
|
+
payload: { value: string; count: 352 };
|
|
1490
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1491
|
+
const req353 = client.createRequest<{
|
|
1492
|
+
response: { id: number; name: string; index: 353 };
|
|
1493
|
+
payload: { value: string; count: 353 };
|
|
1494
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1495
|
+
const req354 = client.createRequest<{
|
|
1496
|
+
response: { id: number; name: string; index: 354 };
|
|
1497
|
+
queryParams: { page: number; limit: number };
|
|
1498
|
+
}>()({ endpoint: "/products" as const, method: "DELETE" as const });
|
|
1499
|
+
const req355 = client.createRequest<{ response: { id: number; name: string; index: 355 } }>()({
|
|
1500
|
+
endpoint: "/products/:productId" as const,
|
|
1501
|
+
method: "GET" as const,
|
|
1502
|
+
});
|
|
1503
|
+
const req356 = client.createRequest<{
|
|
1504
|
+
response: { id: number; name: string; index: 356 };
|
|
1505
|
+
payload: { value: string; count: 356 };
|
|
1506
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1507
|
+
const req357 = client.createRequest<{
|
|
1508
|
+
response: { id: number; name: string; index: 357 };
|
|
1509
|
+
payload: { value: string; count: 357 };
|
|
1510
|
+
queryParams: { page: number; limit: number };
|
|
1511
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1512
|
+
const req358 = client.createRequest<{
|
|
1513
|
+
response: { id: number; name: string; index: 358 };
|
|
1514
|
+
payload: { value: string; count: 358 };
|
|
1515
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1516
|
+
const req359 = client.createRequest<{ response: { id: number; name: string; index: 359 } }>()({
|
|
1517
|
+
endpoint: "/settings" as const,
|
|
1518
|
+
method: "DELETE" as const,
|
|
1519
|
+
});
|
|
1520
|
+
const req360 = client.createRequest<{
|
|
1521
|
+
response: { id: number; name: string; index: 360 };
|
|
1522
|
+
queryParams: { page: number; limit: number };
|
|
1523
|
+
}>()({ endpoint: "/users" as const, method: "GET" as const });
|
|
1524
|
+
const req361 = client.createRequest<{
|
|
1525
|
+
response: { id: number; name: string; index: 361 };
|
|
1526
|
+
payload: { value: string; count: 361 };
|
|
1527
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1528
|
+
const req362 = client.createRequest<{
|
|
1529
|
+
response: { id: number; name: string; index: 362 };
|
|
1530
|
+
payload: { value: string; count: 362 };
|
|
1531
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1532
|
+
const req363 = client.createRequest<{
|
|
1533
|
+
response: { id: number; name: string; index: 363 };
|
|
1534
|
+
payload: { value: string; count: 363 };
|
|
1535
|
+
queryParams: { page: number; limit: number };
|
|
1536
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1537
|
+
const req364 = client.createRequest<{ response: { id: number; name: string; index: 364 } }>()({
|
|
1538
|
+
endpoint: "/products" as const,
|
|
1539
|
+
method: "DELETE" as const,
|
|
1540
|
+
});
|
|
1541
|
+
const req365 = client.createRequest<{ response: { id: number; name: string; index: 365 } }>()({
|
|
1542
|
+
endpoint: "/products/:productId" as const,
|
|
1543
|
+
method: "GET" as const,
|
|
1544
|
+
});
|
|
1545
|
+
const req366 = client.createRequest<{
|
|
1546
|
+
response: { id: number; name: string; index: 366 };
|
|
1547
|
+
payload: { value: string; count: 366 };
|
|
1548
|
+
queryParams: { page: number; limit: number };
|
|
1549
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1550
|
+
const req367 = client.createRequest<{
|
|
1551
|
+
response: { id: number; name: string; index: 367 };
|
|
1552
|
+
payload: { value: string; count: 367 };
|
|
1553
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1554
|
+
const req368 = client.createRequest<{
|
|
1555
|
+
response: { id: number; name: string; index: 368 };
|
|
1556
|
+
payload: { value: string; count: 368 };
|
|
1557
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1558
|
+
const req369 = client.createRequest<{
|
|
1559
|
+
response: { id: number; name: string; index: 369 };
|
|
1560
|
+
queryParams: { page: number; limit: number };
|
|
1561
|
+
}>()({ endpoint: "/settings" as const, method: "DELETE" as const });
|
|
1562
|
+
const req370 = client.createRequest<{ response: { id: number; name: string; index: 370 } }>()({
|
|
1563
|
+
endpoint: "/users" as const,
|
|
1564
|
+
method: "GET" as const,
|
|
1565
|
+
});
|
|
1566
|
+
const req371 = client.createRequest<{
|
|
1567
|
+
response: { id: number; name: string; index: 371 };
|
|
1568
|
+
payload: { value: string; count: 371 };
|
|
1569
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1570
|
+
const req372 = client.createRequest<{
|
|
1571
|
+
response: { id: number; name: string; index: 372 };
|
|
1572
|
+
payload: { value: string; count: 372 };
|
|
1573
|
+
queryParams: { page: number; limit: number };
|
|
1574
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1575
|
+
const req373 = client.createRequest<{
|
|
1576
|
+
response: { id: number; name: string; index: 373 };
|
|
1577
|
+
payload: { value: string; count: 373 };
|
|
1578
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1579
|
+
const req374 = client.createRequest<{ response: { id: number; name: string; index: 374 } }>()({
|
|
1580
|
+
endpoint: "/products" as const,
|
|
1581
|
+
method: "DELETE" as const,
|
|
1582
|
+
});
|
|
1583
|
+
const req375 = client.createRequest<{
|
|
1584
|
+
response: { id: number; name: string; index: 375 };
|
|
1585
|
+
queryParams: { page: number; limit: number };
|
|
1586
|
+
}>()({ endpoint: "/products/:productId" as const, method: "GET" as const });
|
|
1587
|
+
const req376 = client.createRequest<{
|
|
1588
|
+
response: { id: number; name: string; index: 376 };
|
|
1589
|
+
payload: { value: string; count: 376 };
|
|
1590
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1591
|
+
const req377 = client.createRequest<{
|
|
1592
|
+
response: { id: number; name: string; index: 377 };
|
|
1593
|
+
payload: { value: string; count: 377 };
|
|
1594
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1595
|
+
const req378 = client.createRequest<{
|
|
1596
|
+
response: { id: number; name: string; index: 378 };
|
|
1597
|
+
payload: { value: string; count: 378 };
|
|
1598
|
+
queryParams: { page: number; limit: number };
|
|
1599
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1600
|
+
const req379 = client.createRequest<{ response: { id: number; name: string; index: 379 } }>()({
|
|
1601
|
+
endpoint: "/settings" as const,
|
|
1602
|
+
method: "DELETE" as const,
|
|
1603
|
+
});
|
|
1604
|
+
const req380 = client.createRequest<{ response: { id: number; name: string; index: 380 } }>()({
|
|
1605
|
+
endpoint: "/users" as const,
|
|
1606
|
+
method: "GET" as const,
|
|
1607
|
+
});
|
|
1608
|
+
const req381 = client.createRequest<{
|
|
1609
|
+
response: { id: number; name: string; index: 381 };
|
|
1610
|
+
payload: { value: string; count: 381 };
|
|
1611
|
+
queryParams: { page: number; limit: number };
|
|
1612
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1613
|
+
const req382 = client.createRequest<{
|
|
1614
|
+
response: { id: number; name: string; index: 382 };
|
|
1615
|
+
payload: { value: string; count: 382 };
|
|
1616
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1617
|
+
const req383 = client.createRequest<{
|
|
1618
|
+
response: { id: number; name: string; index: 383 };
|
|
1619
|
+
payload: { value: string; count: 383 };
|
|
1620
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1621
|
+
const req384 = client.createRequest<{
|
|
1622
|
+
response: { id: number; name: string; index: 384 };
|
|
1623
|
+
queryParams: { page: number; limit: number };
|
|
1624
|
+
}>()({ endpoint: "/products" as const, method: "DELETE" as const });
|
|
1625
|
+
const req385 = client.createRequest<{ response: { id: number; name: string; index: 385 } }>()({
|
|
1626
|
+
endpoint: "/products/:productId" as const,
|
|
1627
|
+
method: "GET" as const,
|
|
1628
|
+
});
|
|
1629
|
+
const req386 = client.createRequest<{
|
|
1630
|
+
response: { id: number; name: string; index: 386 };
|
|
1631
|
+
payload: { value: string; count: 386 };
|
|
1632
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1633
|
+
const req387 = client.createRequest<{
|
|
1634
|
+
response: { id: number; name: string; index: 387 };
|
|
1635
|
+
payload: { value: string; count: 387 };
|
|
1636
|
+
queryParams: { page: number; limit: number };
|
|
1637
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1638
|
+
const req388 = client.createRequest<{
|
|
1639
|
+
response: { id: number; name: string; index: 388 };
|
|
1640
|
+
payload: { value: string; count: 388 };
|
|
1641
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1642
|
+
const req389 = client.createRequest<{ response: { id: number; name: string; index: 389 } }>()({
|
|
1643
|
+
endpoint: "/settings" as const,
|
|
1644
|
+
method: "DELETE" as const,
|
|
1645
|
+
});
|
|
1646
|
+
const req390 = client.createRequest<{
|
|
1647
|
+
response: { id: number; name: string; index: 390 };
|
|
1648
|
+
queryParams: { page: number; limit: number };
|
|
1649
|
+
}>()({ endpoint: "/users" as const, method: "GET" as const });
|
|
1650
|
+
const req391 = client.createRequest<{
|
|
1651
|
+
response: { id: number; name: string; index: 391 };
|
|
1652
|
+
payload: { value: string; count: 391 };
|
|
1653
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1654
|
+
const req392 = client.createRequest<{
|
|
1655
|
+
response: { id: number; name: string; index: 392 };
|
|
1656
|
+
payload: { value: string; count: 392 };
|
|
1657
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1658
|
+
const req393 = client.createRequest<{
|
|
1659
|
+
response: { id: number; name: string; index: 393 };
|
|
1660
|
+
payload: { value: string; count: 393 };
|
|
1661
|
+
queryParams: { page: number; limit: number };
|
|
1662
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1663
|
+
const req394 = client.createRequest<{ response: { id: number; name: string; index: 394 } }>()({
|
|
1664
|
+
endpoint: "/products" as const,
|
|
1665
|
+
method: "DELETE" as const,
|
|
1666
|
+
});
|
|
1667
|
+
const req395 = client.createRequest<{ response: { id: number; name: string; index: 395 } }>()({
|
|
1668
|
+
endpoint: "/products/:productId" as const,
|
|
1669
|
+
method: "GET" as const,
|
|
1670
|
+
});
|
|
1671
|
+
const req396 = client.createRequest<{
|
|
1672
|
+
response: { id: number; name: string; index: 396 };
|
|
1673
|
+
payload: { value: string; count: 396 };
|
|
1674
|
+
queryParams: { page: number; limit: number };
|
|
1675
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1676
|
+
const req397 = client.createRequest<{
|
|
1677
|
+
response: { id: number; name: string; index: 397 };
|
|
1678
|
+
payload: { value: string; count: 397 };
|
|
1679
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1680
|
+
const req398 = client.createRequest<{
|
|
1681
|
+
response: { id: number; name: string; index: 398 };
|
|
1682
|
+
payload: { value: string; count: 398 };
|
|
1683
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1684
|
+
const req399 = client.createRequest<{
|
|
1685
|
+
response: { id: number; name: string; index: 399 };
|
|
1686
|
+
queryParams: { page: number; limit: number };
|
|
1687
|
+
}>()({ endpoint: "/settings" as const, method: "DELETE" as const });
|
|
1688
|
+
const req400 = client.createRequest<{ response: { id: number; name: string; index: 400 } }>()({
|
|
1689
|
+
endpoint: "/users" as const,
|
|
1690
|
+
method: "GET" as const,
|
|
1691
|
+
});
|
|
1692
|
+
const req401 = client.createRequest<{
|
|
1693
|
+
response: { id: number; name: string; index: 401 };
|
|
1694
|
+
payload: { value: string; count: 401 };
|
|
1695
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1696
|
+
const req402 = client.createRequest<{
|
|
1697
|
+
response: { id: number; name: string; index: 402 };
|
|
1698
|
+
payload: { value: string; count: 402 };
|
|
1699
|
+
queryParams: { page: number; limit: number };
|
|
1700
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1701
|
+
const req403 = client.createRequest<{
|
|
1702
|
+
response: { id: number; name: string; index: 403 };
|
|
1703
|
+
payload: { value: string; count: 403 };
|
|
1704
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1705
|
+
const req404 = client.createRequest<{ response: { id: number; name: string; index: 404 } }>()({
|
|
1706
|
+
endpoint: "/products" as const,
|
|
1707
|
+
method: "DELETE" as const,
|
|
1708
|
+
});
|
|
1709
|
+
const req405 = client.createRequest<{
|
|
1710
|
+
response: { id: number; name: string; index: 405 };
|
|
1711
|
+
queryParams: { page: number; limit: number };
|
|
1712
|
+
}>()({ endpoint: "/products/:productId" as const, method: "GET" as const });
|
|
1713
|
+
const req406 = client.createRequest<{
|
|
1714
|
+
response: { id: number; name: string; index: 406 };
|
|
1715
|
+
payload: { value: string; count: 406 };
|
|
1716
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1717
|
+
const req407 = client.createRequest<{
|
|
1718
|
+
response: { id: number; name: string; index: 407 };
|
|
1719
|
+
payload: { value: string; count: 407 };
|
|
1720
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1721
|
+
const req408 = client.createRequest<{
|
|
1722
|
+
response: { id: number; name: string; index: 408 };
|
|
1723
|
+
payload: { value: string; count: 408 };
|
|
1724
|
+
queryParams: { page: number; limit: number };
|
|
1725
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1726
|
+
const req409 = client.createRequest<{ response: { id: number; name: string; index: 409 } }>()({
|
|
1727
|
+
endpoint: "/settings" as const,
|
|
1728
|
+
method: "DELETE" as const,
|
|
1729
|
+
});
|
|
1730
|
+
const req410 = client.createRequest<{ response: { id: number; name: string; index: 410 } }>()({
|
|
1731
|
+
endpoint: "/users" as const,
|
|
1732
|
+
method: "GET" as const,
|
|
1733
|
+
});
|
|
1734
|
+
const req411 = client.createRequest<{
|
|
1735
|
+
response: { id: number; name: string; index: 411 };
|
|
1736
|
+
payload: { value: string; count: 411 };
|
|
1737
|
+
queryParams: { page: number; limit: number };
|
|
1738
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1739
|
+
const req412 = client.createRequest<{
|
|
1740
|
+
response: { id: number; name: string; index: 412 };
|
|
1741
|
+
payload: { value: string; count: 412 };
|
|
1742
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1743
|
+
const req413 = client.createRequest<{
|
|
1744
|
+
response: { id: number; name: string; index: 413 };
|
|
1745
|
+
payload: { value: string; count: 413 };
|
|
1746
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1747
|
+
const req414 = client.createRequest<{
|
|
1748
|
+
response: { id: number; name: string; index: 414 };
|
|
1749
|
+
queryParams: { page: number; limit: number };
|
|
1750
|
+
}>()({ endpoint: "/products" as const, method: "DELETE" as const });
|
|
1751
|
+
const req415 = client.createRequest<{ response: { id: number; name: string; index: 415 } }>()({
|
|
1752
|
+
endpoint: "/products/:productId" as const,
|
|
1753
|
+
method: "GET" as const,
|
|
1754
|
+
});
|
|
1755
|
+
const req416 = client.createRequest<{
|
|
1756
|
+
response: { id: number; name: string; index: 416 };
|
|
1757
|
+
payload: { value: string; count: 416 };
|
|
1758
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1759
|
+
const req417 = client.createRequest<{
|
|
1760
|
+
response: { id: number; name: string; index: 417 };
|
|
1761
|
+
payload: { value: string; count: 417 };
|
|
1762
|
+
queryParams: { page: number; limit: number };
|
|
1763
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1764
|
+
const req418 = client.createRequest<{
|
|
1765
|
+
response: { id: number; name: string; index: 418 };
|
|
1766
|
+
payload: { value: string; count: 418 };
|
|
1767
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1768
|
+
const req419 = client.createRequest<{ response: { id: number; name: string; index: 419 } }>()({
|
|
1769
|
+
endpoint: "/settings" as const,
|
|
1770
|
+
method: "DELETE" as const,
|
|
1771
|
+
});
|
|
1772
|
+
const req420 = client.createRequest<{
|
|
1773
|
+
response: { id: number; name: string; index: 420 };
|
|
1774
|
+
queryParams: { page: number; limit: number };
|
|
1775
|
+
}>()({ endpoint: "/users" as const, method: "GET" as const });
|
|
1776
|
+
const req421 = client.createRequest<{
|
|
1777
|
+
response: { id: number; name: string; index: 421 };
|
|
1778
|
+
payload: { value: string; count: 421 };
|
|
1779
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1780
|
+
const req422 = client.createRequest<{
|
|
1781
|
+
response: { id: number; name: string; index: 422 };
|
|
1782
|
+
payload: { value: string; count: 422 };
|
|
1783
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1784
|
+
const req423 = client.createRequest<{
|
|
1785
|
+
response: { id: number; name: string; index: 423 };
|
|
1786
|
+
payload: { value: string; count: 423 };
|
|
1787
|
+
queryParams: { page: number; limit: number };
|
|
1788
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1789
|
+
const req424 = client.createRequest<{ response: { id: number; name: string; index: 424 } }>()({
|
|
1790
|
+
endpoint: "/products" as const,
|
|
1791
|
+
method: "DELETE" as const,
|
|
1792
|
+
});
|
|
1793
|
+
const req425 = client.createRequest<{ response: { id: number; name: string; index: 425 } }>()({
|
|
1794
|
+
endpoint: "/products/:productId" as const,
|
|
1795
|
+
method: "GET" as const,
|
|
1796
|
+
});
|
|
1797
|
+
const req426 = client.createRequest<{
|
|
1798
|
+
response: { id: number; name: string; index: 426 };
|
|
1799
|
+
payload: { value: string; count: 426 };
|
|
1800
|
+
queryParams: { page: number; limit: number };
|
|
1801
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1802
|
+
const req427 = client.createRequest<{
|
|
1803
|
+
response: { id: number; name: string; index: 427 };
|
|
1804
|
+
payload: { value: string; count: 427 };
|
|
1805
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1806
|
+
const req428 = client.createRequest<{
|
|
1807
|
+
response: { id: number; name: string; index: 428 };
|
|
1808
|
+
payload: { value: string; count: 428 };
|
|
1809
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1810
|
+
const req429 = client.createRequest<{
|
|
1811
|
+
response: { id: number; name: string; index: 429 };
|
|
1812
|
+
queryParams: { page: number; limit: number };
|
|
1813
|
+
}>()({ endpoint: "/settings" as const, method: "DELETE" as const });
|
|
1814
|
+
const req430 = client.createRequest<{ response: { id: number; name: string; index: 430 } }>()({
|
|
1815
|
+
endpoint: "/users" as const,
|
|
1816
|
+
method: "GET" as const,
|
|
1817
|
+
});
|
|
1818
|
+
const req431 = client.createRequest<{
|
|
1819
|
+
response: { id: number; name: string; index: 431 };
|
|
1820
|
+
payload: { value: string; count: 431 };
|
|
1821
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1822
|
+
const req432 = client.createRequest<{
|
|
1823
|
+
response: { id: number; name: string; index: 432 };
|
|
1824
|
+
payload: { value: string; count: 432 };
|
|
1825
|
+
queryParams: { page: number; limit: number };
|
|
1826
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1827
|
+
const req433 = client.createRequest<{
|
|
1828
|
+
response: { id: number; name: string; index: 433 };
|
|
1829
|
+
payload: { value: string; count: 433 };
|
|
1830
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1831
|
+
const req434 = client.createRequest<{ response: { id: number; name: string; index: 434 } }>()({
|
|
1832
|
+
endpoint: "/products" as const,
|
|
1833
|
+
method: "DELETE" as const,
|
|
1834
|
+
});
|
|
1835
|
+
const req435 = client.createRequest<{
|
|
1836
|
+
response: { id: number; name: string; index: 435 };
|
|
1837
|
+
queryParams: { page: number; limit: number };
|
|
1838
|
+
}>()({ endpoint: "/products/:productId" as const, method: "GET" as const });
|
|
1839
|
+
const req436 = client.createRequest<{
|
|
1840
|
+
response: { id: number; name: string; index: 436 };
|
|
1841
|
+
payload: { value: string; count: 436 };
|
|
1842
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1843
|
+
const req437 = client.createRequest<{
|
|
1844
|
+
response: { id: number; name: string; index: 437 };
|
|
1845
|
+
payload: { value: string; count: 437 };
|
|
1846
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1847
|
+
const req438 = client.createRequest<{
|
|
1848
|
+
response: { id: number; name: string; index: 438 };
|
|
1849
|
+
payload: { value: string; count: 438 };
|
|
1850
|
+
queryParams: { page: number; limit: number };
|
|
1851
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1852
|
+
const req439 = client.createRequest<{ response: { id: number; name: string; index: 439 } }>()({
|
|
1853
|
+
endpoint: "/settings" as const,
|
|
1854
|
+
method: "DELETE" as const,
|
|
1855
|
+
});
|
|
1856
|
+
const req440 = client.createRequest<{ response: { id: number; name: string; index: 440 } }>()({
|
|
1857
|
+
endpoint: "/users" as const,
|
|
1858
|
+
method: "GET" as const,
|
|
1859
|
+
});
|
|
1860
|
+
const req441 = client.createRequest<{
|
|
1861
|
+
response: { id: number; name: string; index: 441 };
|
|
1862
|
+
payload: { value: string; count: 441 };
|
|
1863
|
+
queryParams: { page: number; limit: number };
|
|
1864
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1865
|
+
const req442 = client.createRequest<{
|
|
1866
|
+
response: { id: number; name: string; index: 442 };
|
|
1867
|
+
payload: { value: string; count: 442 };
|
|
1868
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1869
|
+
const req443 = client.createRequest<{
|
|
1870
|
+
response: { id: number; name: string; index: 443 };
|
|
1871
|
+
payload: { value: string; count: 443 };
|
|
1872
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1873
|
+
const req444 = client.createRequest<{
|
|
1874
|
+
response: { id: number; name: string; index: 444 };
|
|
1875
|
+
queryParams: { page: number; limit: number };
|
|
1876
|
+
}>()({ endpoint: "/products" as const, method: "DELETE" as const });
|
|
1877
|
+
const req445 = client.createRequest<{ response: { id: number; name: string; index: 445 } }>()({
|
|
1878
|
+
endpoint: "/products/:productId" as const,
|
|
1879
|
+
method: "GET" as const,
|
|
1880
|
+
});
|
|
1881
|
+
const req446 = client.createRequest<{
|
|
1882
|
+
response: { id: number; name: string; index: 446 };
|
|
1883
|
+
payload: { value: string; count: 446 };
|
|
1884
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1885
|
+
const req447 = client.createRequest<{
|
|
1886
|
+
response: { id: number; name: string; index: 447 };
|
|
1887
|
+
payload: { value: string; count: 447 };
|
|
1888
|
+
queryParams: { page: number; limit: number };
|
|
1889
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1890
|
+
const req448 = client.createRequest<{
|
|
1891
|
+
response: { id: number; name: string; index: 448 };
|
|
1892
|
+
payload: { value: string; count: 448 };
|
|
1893
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1894
|
+
const req449 = client.createRequest<{ response: { id: number; name: string; index: 449 } }>()({
|
|
1895
|
+
endpoint: "/settings" as const,
|
|
1896
|
+
method: "DELETE" as const,
|
|
1897
|
+
});
|
|
1898
|
+
const req450 = client.createRequest<{
|
|
1899
|
+
response: { id: number; name: string; index: 450 };
|
|
1900
|
+
queryParams: { page: number; limit: number };
|
|
1901
|
+
}>()({ endpoint: "/users" as const, method: "GET" as const });
|
|
1902
|
+
const req451 = client.createRequest<{
|
|
1903
|
+
response: { id: number; name: string; index: 451 };
|
|
1904
|
+
payload: { value: string; count: 451 };
|
|
1905
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1906
|
+
const req452 = client.createRequest<{
|
|
1907
|
+
response: { id: number; name: string; index: 452 };
|
|
1908
|
+
payload: { value: string; count: 452 };
|
|
1909
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1910
|
+
const req453 = client.createRequest<{
|
|
1911
|
+
response: { id: number; name: string; index: 453 };
|
|
1912
|
+
payload: { value: string; count: 453 };
|
|
1913
|
+
queryParams: { page: number; limit: number };
|
|
1914
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1915
|
+
const req454 = client.createRequest<{ response: { id: number; name: string; index: 454 } }>()({
|
|
1916
|
+
endpoint: "/products" as const,
|
|
1917
|
+
method: "DELETE" as const,
|
|
1918
|
+
});
|
|
1919
|
+
const req455 = client.createRequest<{ response: { id: number; name: string; index: 455 } }>()({
|
|
1920
|
+
endpoint: "/products/:productId" as const,
|
|
1921
|
+
method: "GET" as const,
|
|
1922
|
+
});
|
|
1923
|
+
const req456 = client.createRequest<{
|
|
1924
|
+
response: { id: number; name: string; index: 456 };
|
|
1925
|
+
payload: { value: string; count: 456 };
|
|
1926
|
+
queryParams: { page: number; limit: number };
|
|
1927
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1928
|
+
const req457 = client.createRequest<{
|
|
1929
|
+
response: { id: number; name: string; index: 457 };
|
|
1930
|
+
payload: { value: string; count: 457 };
|
|
1931
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1932
|
+
const req458 = client.createRequest<{
|
|
1933
|
+
response: { id: number; name: string; index: 458 };
|
|
1934
|
+
payload: { value: string; count: 458 };
|
|
1935
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1936
|
+
const req459 = client.createRequest<{
|
|
1937
|
+
response: { id: number; name: string; index: 459 };
|
|
1938
|
+
queryParams: { page: number; limit: number };
|
|
1939
|
+
}>()({ endpoint: "/settings" as const, method: "DELETE" as const });
|
|
1940
|
+
const req460 = client.createRequest<{ response: { id: number; name: string; index: 460 } }>()({
|
|
1941
|
+
endpoint: "/users" as const,
|
|
1942
|
+
method: "GET" as const,
|
|
1943
|
+
});
|
|
1944
|
+
const req461 = client.createRequest<{
|
|
1945
|
+
response: { id: number; name: string; index: 461 };
|
|
1946
|
+
payload: { value: string; count: 461 };
|
|
1947
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1948
|
+
const req462 = client.createRequest<{
|
|
1949
|
+
response: { id: number; name: string; index: 462 };
|
|
1950
|
+
payload: { value: string; count: 462 };
|
|
1951
|
+
queryParams: { page: number; limit: number };
|
|
1952
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1953
|
+
const req463 = client.createRequest<{
|
|
1954
|
+
response: { id: number; name: string; index: 463 };
|
|
1955
|
+
payload: { value: string; count: 463 };
|
|
1956
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1957
|
+
const req464 = client.createRequest<{ response: { id: number; name: string; index: 464 } }>()({
|
|
1958
|
+
endpoint: "/products" as const,
|
|
1959
|
+
method: "DELETE" as const,
|
|
1960
|
+
});
|
|
1961
|
+
const req465 = client.createRequest<{
|
|
1962
|
+
response: { id: number; name: string; index: 465 };
|
|
1963
|
+
queryParams: { page: number; limit: number };
|
|
1964
|
+
}>()({ endpoint: "/products/:productId" as const, method: "GET" as const });
|
|
1965
|
+
const req466 = client.createRequest<{
|
|
1966
|
+
response: { id: number; name: string; index: 466 };
|
|
1967
|
+
payload: { value: string; count: 466 };
|
|
1968
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
1969
|
+
const req467 = client.createRequest<{
|
|
1970
|
+
response: { id: number; name: string; index: 467 };
|
|
1971
|
+
payload: { value: string; count: 467 };
|
|
1972
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
1973
|
+
const req468 = client.createRequest<{
|
|
1974
|
+
response: { id: number; name: string; index: 468 };
|
|
1975
|
+
payload: { value: string; count: 468 };
|
|
1976
|
+
queryParams: { page: number; limit: number };
|
|
1977
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
1978
|
+
const req469 = client.createRequest<{ response: { id: number; name: string; index: 469 } }>()({
|
|
1979
|
+
endpoint: "/settings" as const,
|
|
1980
|
+
method: "DELETE" as const,
|
|
1981
|
+
});
|
|
1982
|
+
const req470 = client.createRequest<{ response: { id: number; name: string; index: 470 } }>()({
|
|
1983
|
+
endpoint: "/users" as const,
|
|
1984
|
+
method: "GET" as const,
|
|
1985
|
+
});
|
|
1986
|
+
const req471 = client.createRequest<{
|
|
1987
|
+
response: { id: number; name: string; index: 471 };
|
|
1988
|
+
payload: { value: string; count: 471 };
|
|
1989
|
+
queryParams: { page: number; limit: number };
|
|
1990
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
1991
|
+
const req472 = client.createRequest<{
|
|
1992
|
+
response: { id: number; name: string; index: 472 };
|
|
1993
|
+
payload: { value: string; count: 472 };
|
|
1994
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
1995
|
+
const req473 = client.createRequest<{
|
|
1996
|
+
response: { id: number; name: string; index: 473 };
|
|
1997
|
+
payload: { value: string; count: 473 };
|
|
1998
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
1999
|
+
const req474 = client.createRequest<{
|
|
2000
|
+
response: { id: number; name: string; index: 474 };
|
|
2001
|
+
queryParams: { page: number; limit: number };
|
|
2002
|
+
}>()({ endpoint: "/products" as const, method: "DELETE" as const });
|
|
2003
|
+
const req475 = client.createRequest<{ response: { id: number; name: string; index: 475 } }>()({
|
|
2004
|
+
endpoint: "/products/:productId" as const,
|
|
2005
|
+
method: "GET" as const,
|
|
2006
|
+
});
|
|
2007
|
+
const req476 = client.createRequest<{
|
|
2008
|
+
response: { id: number; name: string; index: 476 };
|
|
2009
|
+
payload: { value: string; count: 476 };
|
|
2010
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
2011
|
+
const req477 = client.createRequest<{
|
|
2012
|
+
response: { id: number; name: string; index: 477 };
|
|
2013
|
+
payload: { value: string; count: 477 };
|
|
2014
|
+
queryParams: { page: number; limit: number };
|
|
2015
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
2016
|
+
const req478 = client.createRequest<{
|
|
2017
|
+
response: { id: number; name: string; index: 478 };
|
|
2018
|
+
payload: { value: string; count: 478 };
|
|
2019
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
2020
|
+
const req479 = client.createRequest<{ response: { id: number; name: string; index: 479 } }>()({
|
|
2021
|
+
endpoint: "/settings" as const,
|
|
2022
|
+
method: "DELETE" as const,
|
|
2023
|
+
});
|
|
2024
|
+
const req480 = client.createRequest<{
|
|
2025
|
+
response: { id: number; name: string; index: 480 };
|
|
2026
|
+
queryParams: { page: number; limit: number };
|
|
2027
|
+
}>()({ endpoint: "/users" as const, method: "GET" as const });
|
|
2028
|
+
const req481 = client.createRequest<{
|
|
2029
|
+
response: { id: number; name: string; index: 481 };
|
|
2030
|
+
payload: { value: string; count: 481 };
|
|
2031
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
2032
|
+
const req482 = client.createRequest<{
|
|
2033
|
+
response: { id: number; name: string; index: 482 };
|
|
2034
|
+
payload: { value: string; count: 482 };
|
|
2035
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
2036
|
+
const req483 = client.createRequest<{
|
|
2037
|
+
response: { id: number; name: string; index: 483 };
|
|
2038
|
+
payload: { value: string; count: 483 };
|
|
2039
|
+
queryParams: { page: number; limit: number };
|
|
2040
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
2041
|
+
const req484 = client.createRequest<{ response: { id: number; name: string; index: 484 } }>()({
|
|
2042
|
+
endpoint: "/products" as const,
|
|
2043
|
+
method: "DELETE" as const,
|
|
2044
|
+
});
|
|
2045
|
+
const req485 = client.createRequest<{ response: { id: number; name: string; index: 485 } }>()({
|
|
2046
|
+
endpoint: "/products/:productId" as const,
|
|
2047
|
+
method: "GET" as const,
|
|
2048
|
+
});
|
|
2049
|
+
const req486 = client.createRequest<{
|
|
2050
|
+
response: { id: number; name: string; index: 486 };
|
|
2051
|
+
payload: { value: string; count: 486 };
|
|
2052
|
+
queryParams: { page: number; limit: number };
|
|
2053
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
2054
|
+
const req487 = client.createRequest<{
|
|
2055
|
+
response: { id: number; name: string; index: 487 };
|
|
2056
|
+
payload: { value: string; count: 487 };
|
|
2057
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
2058
|
+
const req488 = client.createRequest<{
|
|
2059
|
+
response: { id: number; name: string; index: 488 };
|
|
2060
|
+
payload: { value: string; count: 488 };
|
|
2061
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
2062
|
+
const req489 = client.createRequest<{
|
|
2063
|
+
response: { id: number; name: string; index: 489 };
|
|
2064
|
+
queryParams: { page: number; limit: number };
|
|
2065
|
+
}>()({ endpoint: "/settings" as const, method: "DELETE" as const });
|
|
2066
|
+
const req490 = client.createRequest<{ response: { id: number; name: string; index: 490 } }>()({
|
|
2067
|
+
endpoint: "/users" as const,
|
|
2068
|
+
method: "GET" as const,
|
|
2069
|
+
});
|
|
2070
|
+
const req491 = client.createRequest<{
|
|
2071
|
+
response: { id: number; name: string; index: 491 };
|
|
2072
|
+
payload: { value: string; count: 491 };
|
|
2073
|
+
}>()({ endpoint: "/users/:userId" as const, method: "POST" as const });
|
|
2074
|
+
const req492 = client.createRequest<{
|
|
2075
|
+
response: { id: number; name: string; index: 492 };
|
|
2076
|
+
payload: { value: string; count: 492 };
|
|
2077
|
+
queryParams: { page: number; limit: number };
|
|
2078
|
+
}>()({ endpoint: "/users/:userId/posts" as const, method: "PUT" as const });
|
|
2079
|
+
const req493 = client.createRequest<{
|
|
2080
|
+
response: { id: number; name: string; index: 493 };
|
|
2081
|
+
payload: { value: string; count: 493 };
|
|
2082
|
+
}>()({ endpoint: "/users/:userId/posts/:postId" as const, method: "PATCH" as const });
|
|
2083
|
+
const req494 = client.createRequest<{ response: { id: number; name: string; index: 494 } }>()({
|
|
2084
|
+
endpoint: "/products" as const,
|
|
2085
|
+
method: "DELETE" as const,
|
|
2086
|
+
});
|
|
2087
|
+
const req495 = client.createRequest<{
|
|
2088
|
+
response: { id: number; name: string; index: 495 };
|
|
2089
|
+
queryParams: { page: number; limit: number };
|
|
2090
|
+
}>()({ endpoint: "/products/:productId" as const, method: "GET" as const });
|
|
2091
|
+
const req496 = client.createRequest<{
|
|
2092
|
+
response: { id: number; name: string; index: 496 };
|
|
2093
|
+
payload: { value: string; count: 496 };
|
|
2094
|
+
}>()({ endpoint: "/orders/:orderId/items/:itemId" as const, method: "POST" as const });
|
|
2095
|
+
const req497 = client.createRequest<{
|
|
2096
|
+
response: { id: number; name: string; index: 497 };
|
|
2097
|
+
payload: { value: string; count: 497 };
|
|
2098
|
+
}>()({ endpoint: "/auth/login" as const, method: "PUT" as const });
|
|
2099
|
+
const req498 = client.createRequest<{
|
|
2100
|
+
response: { id: number; name: string; index: 498 };
|
|
2101
|
+
payload: { value: string; count: 498 };
|
|
2102
|
+
queryParams: { page: number; limit: number };
|
|
2103
|
+
}>()({ endpoint: "/auth/register" as const, method: "PATCH" as const });
|
|
2104
|
+
const req499 = client.createRequest<{ response: { id: number; name: string; index: 499 } }>()({
|
|
2105
|
+
endpoint: "/settings" as const,
|
|
2106
|
+
method: "DELETE" as const,
|
|
2107
|
+
});
|
|
2108
|
+
|
|
2109
|
+
// Exercise .send() types for a subset
|
|
2110
|
+
type Send0 = ReturnType<typeof req0.send>;
|
|
2111
|
+
type Send10 = ReturnType<typeof req10.send>;
|
|
2112
|
+
type Send20 = ReturnType<typeof req20.send>;
|
|
2113
|
+
type Send30 = ReturnType<typeof req30.send>;
|
|
2114
|
+
type Send40 = ReturnType<typeof req40.send>;
|
|
2115
|
+
type Send50 = ReturnType<typeof req50.send>;
|
|
2116
|
+
type Send60 = ReturnType<typeof req60.send>;
|
|
2117
|
+
type Send70 = ReturnType<typeof req70.send>;
|
|
2118
|
+
type Send80 = ReturnType<typeof req80.send>;
|
|
2119
|
+
type Send90 = ReturnType<typeof req90.send>;
|
|
2120
|
+
type Send100 = ReturnType<typeof req100.send>;
|
|
2121
|
+
type Send110 = ReturnType<typeof req110.send>;
|
|
2122
|
+
type Send120 = ReturnType<typeof req120.send>;
|
|
2123
|
+
type Send130 = ReturnType<typeof req130.send>;
|
|
2124
|
+
type Send140 = ReturnType<typeof req140.send>;
|
|
2125
|
+
type Send150 = ReturnType<typeof req150.send>;
|
|
2126
|
+
type Send160 = ReturnType<typeof req160.send>;
|
|
2127
|
+
type Send170 = ReturnType<typeof req170.send>;
|
|
2128
|
+
type Send180 = ReturnType<typeof req180.send>;
|
|
2129
|
+
type Send190 = ReturnType<typeof req190.send>;
|
|
2130
|
+
type Send200 = ReturnType<typeof req200.send>;
|
|
2131
|
+
type Send210 = ReturnType<typeof req210.send>;
|
|
2132
|
+
type Send220 = ReturnType<typeof req220.send>;
|
|
2133
|
+
type Send230 = ReturnType<typeof req230.send>;
|
|
2134
|
+
type Send240 = ReturnType<typeof req240.send>;
|
|
2135
|
+
type Send250 = ReturnType<typeof req250.send>;
|
|
2136
|
+
type Send260 = ReturnType<typeof req260.send>;
|
|
2137
|
+
type Send270 = ReturnType<typeof req270.send>;
|
|
2138
|
+
type Send280 = ReturnType<typeof req280.send>;
|
|
2139
|
+
type Send290 = ReturnType<typeof req290.send>;
|
|
2140
|
+
type Send300 = ReturnType<typeof req300.send>;
|
|
2141
|
+
type Send310 = ReturnType<typeof req310.send>;
|
|
2142
|
+
type Send320 = ReturnType<typeof req320.send>;
|
|
2143
|
+
type Send330 = ReturnType<typeof req330.send>;
|
|
2144
|
+
type Send340 = ReturnType<typeof req340.send>;
|
|
2145
|
+
type Send350 = ReturnType<typeof req350.send>;
|
|
2146
|
+
type Send360 = ReturnType<typeof req360.send>;
|
|
2147
|
+
type Send370 = ReturnType<typeof req370.send>;
|
|
2148
|
+
type Send380 = ReturnType<typeof req380.send>;
|
|
2149
|
+
type Send390 = ReturnType<typeof req390.send>;
|
|
2150
|
+
type Send400 = ReturnType<typeof req400.send>;
|
|
2151
|
+
type Send410 = ReturnType<typeof req410.send>;
|
|
2152
|
+
type Send420 = ReturnType<typeof req420.send>;
|
|
2153
|
+
type Send430 = ReturnType<typeof req430.send>;
|
|
2154
|
+
type Send440 = ReturnType<typeof req440.send>;
|
|
2155
|
+
type Send450 = ReturnType<typeof req450.send>;
|
|
2156
|
+
type Send460 = ReturnType<typeof req460.send>;
|
|
2157
|
+
type Send470 = ReturnType<typeof req470.send>;
|
|
2158
|
+
type Send480 = ReturnType<typeof req480.send>;
|
|
2159
|
+
type Send490 = ReturnType<typeof req490.send>;
|
|
2160
|
+
|
|
2161
|
+
// Exercise .setParams() types
|
|
2162
|
+
const withParams1 = req1.setParams({ userId: "1" } as any);
|
|
2163
|
+
const withParams11 = req11.setParams({ userId: "1" } as any);
|
|
2164
|
+
const withParams21 = req21.setParams({ userId: "1" } as any);
|
|
2165
|
+
const withParams31 = req31.setParams({ userId: "1" } as any);
|
|
2166
|
+
const withParams41 = req41.setParams({ userId: "1" } as any);
|
|
2167
|
+
const withParams51 = req51.setParams({ userId: "1" } as any);
|
|
2168
|
+
const withParams61 = req61.setParams({ userId: "1" } as any);
|
|
2169
|
+
const withParams71 = req71.setParams({ userId: "1" } as any);
|
|
2170
|
+
const withParams81 = req81.setParams({ userId: "1" } as any);
|
|
2171
|
+
const withParams91 = req91.setParams({ userId: "1" } as any);
|
|
2172
|
+
const withParams101 = req101.setParams({ userId: "1" } as any);
|
|
2173
|
+
const withParams111 = req111.setParams({ userId: "1" } as any);
|
|
2174
|
+
const withParams121 = req121.setParams({ userId: "1" } as any);
|
|
2175
|
+
const withParams131 = req131.setParams({ userId: "1" } as any);
|
|
2176
|
+
const withParams141 = req141.setParams({ userId: "1" } as any);
|
|
2177
|
+
const withParams151 = req151.setParams({ userId: "1" } as any);
|
|
2178
|
+
const withParams161 = req161.setParams({ userId: "1" } as any);
|
|
2179
|
+
const withParams171 = req171.setParams({ userId: "1" } as any);
|
|
2180
|
+
const withParams181 = req181.setParams({ userId: "1" } as any);
|
|
2181
|
+
const withParams191 = req191.setParams({ userId: "1" } as any);
|
|
2182
|
+
const withParams201 = req201.setParams({ userId: "1" } as any);
|
|
2183
|
+
const withParams211 = req211.setParams({ userId: "1" } as any);
|
|
2184
|
+
const withParams221 = req221.setParams({ userId: "1" } as any);
|
|
2185
|
+
const withParams231 = req231.setParams({ userId: "1" } as any);
|
|
2186
|
+
const withParams241 = req241.setParams({ userId: "1" } as any);
|
|
2187
|
+
const withParams251 = req251.setParams({ userId: "1" } as any);
|
|
2188
|
+
const withParams261 = req261.setParams({ userId: "1" } as any);
|
|
2189
|
+
const withParams271 = req271.setParams({ userId: "1" } as any);
|
|
2190
|
+
const withParams281 = req281.setParams({ userId: "1" } as any);
|
|
2191
|
+
const withParams291 = req291.setParams({ userId: "1" } as any);
|
|
2192
|
+
const withParams301 = req301.setParams({ userId: "1" } as any);
|
|
2193
|
+
const withParams311 = req311.setParams({ userId: "1" } as any);
|
|
2194
|
+
const withParams321 = req321.setParams({ userId: "1" } as any);
|
|
2195
|
+
const withParams331 = req331.setParams({ userId: "1" } as any);
|
|
2196
|
+
const withParams341 = req341.setParams({ userId: "1" } as any);
|
|
2197
|
+
const withParams351 = req351.setParams({ userId: "1" } as any);
|
|
2198
|
+
const withParams361 = req361.setParams({ userId: "1" } as any);
|
|
2199
|
+
const withParams371 = req371.setParams({ userId: "1" } as any);
|
|
2200
|
+
const withParams381 = req381.setParams({ userId: "1" } as any);
|
|
2201
|
+
const withParams391 = req391.setParams({ userId: "1" } as any);
|
|
2202
|
+
const withParams401 = req401.setParams({ userId: "1" } as any);
|
|
2203
|
+
const withParams411 = req411.setParams({ userId: "1" } as any);
|
|
2204
|
+
const withParams421 = req421.setParams({ userId: "1" } as any);
|
|
2205
|
+
const withParams431 = req431.setParams({ userId: "1" } as any);
|
|
2206
|
+
const withParams441 = req441.setParams({ userId: "1" } as any);
|
|
2207
|
+
const withParams451 = req451.setParams({ userId: "1" } as any);
|
|
2208
|
+
const withParams461 = req461.setParams({ userId: "1" } as any);
|
|
2209
|
+
const withParams471 = req471.setParams({ userId: "1" } as any);
|
|
2210
|
+
const withParams481 = req481.setParams({ userId: "1" } as any);
|
|
2211
|
+
const withParams491 = req491.setParams({ userId: "1" } as any);
|
|
2212
|
+
|
|
2213
|
+
// Exercise .clone() types
|
|
2214
|
+
const cloned2 = req2.clone();
|
|
2215
|
+
const cloned12 = req12.clone();
|
|
2216
|
+
const cloned22 = req22.clone();
|
|
2217
|
+
const cloned32 = req32.clone();
|
|
2218
|
+
const cloned42 = req42.clone();
|
|
2219
|
+
const cloned52 = req52.clone();
|
|
2220
|
+
const cloned62 = req62.clone();
|
|
2221
|
+
const cloned72 = req72.clone();
|
|
2222
|
+
const cloned82 = req82.clone();
|
|
2223
|
+
const cloned92 = req92.clone();
|
|
2224
|
+
const cloned102 = req102.clone();
|
|
2225
|
+
const cloned112 = req112.clone();
|
|
2226
|
+
const cloned122 = req122.clone();
|
|
2227
|
+
const cloned132 = req132.clone();
|
|
2228
|
+
const cloned142 = req142.clone();
|
|
2229
|
+
const cloned152 = req152.clone();
|
|
2230
|
+
const cloned162 = req162.clone();
|
|
2231
|
+
const cloned172 = req172.clone();
|
|
2232
|
+
const cloned182 = req182.clone();
|
|
2233
|
+
const cloned192 = req192.clone();
|
|
2234
|
+
const cloned202 = req202.clone();
|
|
2235
|
+
const cloned212 = req212.clone();
|
|
2236
|
+
const cloned222 = req222.clone();
|
|
2237
|
+
const cloned232 = req232.clone();
|
|
2238
|
+
const cloned242 = req242.clone();
|
|
2239
|
+
const cloned252 = req252.clone();
|
|
2240
|
+
const cloned262 = req262.clone();
|
|
2241
|
+
const cloned272 = req272.clone();
|
|
2242
|
+
const cloned282 = req282.clone();
|
|
2243
|
+
const cloned292 = req292.clone();
|
|
2244
|
+
const cloned302 = req302.clone();
|
|
2245
|
+
const cloned312 = req312.clone();
|
|
2246
|
+
const cloned322 = req322.clone();
|
|
2247
|
+
const cloned332 = req332.clone();
|
|
2248
|
+
const cloned342 = req342.clone();
|
|
2249
|
+
const cloned352 = req352.clone();
|
|
2250
|
+
const cloned362 = req362.clone();
|
|
2251
|
+
const cloned372 = req372.clone();
|
|
2252
|
+
const cloned382 = req382.clone();
|
|
2253
|
+
const cloned392 = req392.clone();
|
|
2254
|
+
const cloned402 = req402.clone();
|
|
2255
|
+
const cloned412 = req412.clone();
|
|
2256
|
+
const cloned422 = req422.clone();
|
|
2257
|
+
const cloned432 = req432.clone();
|
|
2258
|
+
const cloned442 = req442.clone();
|
|
2259
|
+
const cloned452 = req452.clone();
|
|
2260
|
+
const cloned462 = req462.clone();
|
|
2261
|
+
const cloned472 = req472.clone();
|
|
2262
|
+
const cloned482 = req482.clone();
|
|
2263
|
+
const cloned492 = req492.clone();
|
|
2264
|
+
|
|
2265
|
+
// Exercise .toJSON() types
|
|
2266
|
+
const json3 = req3.toJSON();
|
|
2267
|
+
const json13 = req13.toJSON();
|
|
2268
|
+
const json23 = req23.toJSON();
|
|
2269
|
+
const json33 = req33.toJSON();
|
|
2270
|
+
const json43 = req43.toJSON();
|
|
2271
|
+
const json53 = req53.toJSON();
|
|
2272
|
+
const json63 = req63.toJSON();
|
|
2273
|
+
const json73 = req73.toJSON();
|
|
2274
|
+
const json83 = req83.toJSON();
|
|
2275
|
+
const json93 = req93.toJSON();
|
|
2276
|
+
const json103 = req103.toJSON();
|
|
2277
|
+
const json113 = req113.toJSON();
|
|
2278
|
+
const json123 = req123.toJSON();
|
|
2279
|
+
const json133 = req133.toJSON();
|
|
2280
|
+
const json143 = req143.toJSON();
|
|
2281
|
+
const json153 = req153.toJSON();
|
|
2282
|
+
const json163 = req163.toJSON();
|
|
2283
|
+
const json173 = req173.toJSON();
|
|
2284
|
+
const json183 = req183.toJSON();
|
|
2285
|
+
const json193 = req193.toJSON();
|
|
2286
|
+
const json203 = req203.toJSON();
|
|
2287
|
+
const json213 = req213.toJSON();
|
|
2288
|
+
const json223 = req223.toJSON();
|
|
2289
|
+
const json233 = req233.toJSON();
|
|
2290
|
+
const json243 = req243.toJSON();
|
|
2291
|
+
const json253 = req253.toJSON();
|
|
2292
|
+
const json263 = req263.toJSON();
|
|
2293
|
+
const json273 = req273.toJSON();
|
|
2294
|
+
const json283 = req283.toJSON();
|
|
2295
|
+
const json293 = req293.toJSON();
|
|
2296
|
+
const json303 = req303.toJSON();
|
|
2297
|
+
const json313 = req313.toJSON();
|
|
2298
|
+
const json323 = req323.toJSON();
|
|
2299
|
+
const json333 = req333.toJSON();
|
|
2300
|
+
const json343 = req343.toJSON();
|
|
2301
|
+
const json353 = req353.toJSON();
|
|
2302
|
+
const json363 = req363.toJSON();
|
|
2303
|
+
const json373 = req373.toJSON();
|
|
2304
|
+
const json383 = req383.toJSON();
|
|
2305
|
+
const json393 = req393.toJSON();
|
|
2306
|
+
const json403 = req403.toJSON();
|
|
2307
|
+
const json413 = req413.toJSON();
|
|
2308
|
+
const json423 = req423.toJSON();
|
|
2309
|
+
const json433 = req433.toJSON();
|
|
2310
|
+
const json443 = req443.toJSON();
|
|
2311
|
+
const json453 = req453.toJSON();
|
|
2312
|
+
const json463 = req463.toJSON();
|
|
2313
|
+
const json473 = req473.toJSON();
|
|
2314
|
+
const json483 = req483.toJSON();
|
|
2315
|
+
const json493 = req493.toJSON();
|
|
2316
|
+
|
|
2317
|
+
const a = "123";
|
|
2318
|
+
|
|
2319
|
+
export { a };
|