@coinlist-co/react 0.5.1 → 0.9.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/dist/{chunk-5E3P7AMH.js → chunk-AAER5LOL.js} +3 -1
- package/dist/chunk-AAER5LOL.js.map +1 -0
- package/dist/chunk-I5YTJ5SL.js +644 -0
- package/dist/chunk-I5YTJ5SL.js.map +1 -0
- package/dist/{chunk-N3WBC2VS.js → chunk-MKCOK3DF.js} +68 -57
- package/dist/chunk-MKCOK3DF.js.map +1 -0
- package/dist/chunk-Z2HAA2TI.js +768 -0
- package/dist/chunk-Z2HAA2TI.js.map +1 -0
- package/dist/client/index.cjs +3360 -556
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.d.cts +921 -18
- package/dist/client/index.d.ts +921 -18
- package/dist/client/index.js +2275 -392
- package/dist/client/index.js.map +1 -1
- package/dist/collections-B84Vw55t.d.cts +28 -0
- package/dist/collections-BQbFJS3g.d.ts +28 -0
- package/dist/requirement-C2w45Q11.d.cts +969 -0
- package/dist/requirement-C2w45Q11.d.ts +969 -0
- package/dist/server/index.cjs +521 -37
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.d.cts +116 -9
- package/dist/server/index.d.ts +116 -9
- package/dist/server/index.js +95 -28
- package/dist/server/index.js.map +1 -1
- package/dist/shared/index.cjs +1264 -42
- package/dist/shared/index.cjs.map +1 -1
- package/dist/shared/index.d.cts +644 -3
- package/dist/shared/index.d.ts +644 -3
- package/dist/shared/index.js +220 -5
- package/dist/shared/index.js.map +1 -1
- package/package.json +33 -30
- package/dist/chunk-5E3P7AMH.js.map +0 -1
- package/dist/chunk-CRACFEJ4.js +0 -17
- package/dist/chunk-CRACFEJ4.js.map +0 -1
- package/dist/chunk-N3WBC2VS.js.map +0 -1
- package/dist/chunk-V6WO67RO.js +0 -311
- package/dist/chunk-V6WO67RO.js.map +0 -1
- package/dist/client/styles.css +0 -2
- package/dist/requirement-BEO42QOr.d.cts +0 -387
- package/dist/requirement-BEO42QOr.d.ts +0 -387
|
@@ -1,387 +0,0 @@
|
|
|
1
|
-
declare const __brand: unique symbol;
|
|
2
|
-
type Newtype<Base, Branding> = Base & {
|
|
3
|
-
readonly [__brand]: Branding;
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
type AuthorizationCode = Newtype<string, 'AuthorizationCode'>;
|
|
7
|
-
declare const AuthorizationCode: (value: string) => AuthorizationCode;
|
|
8
|
-
type CodeVerifier = Newtype<string, 'CodeVerifier'>;
|
|
9
|
-
declare const CodeVerifier: (value: string) => CodeVerifier;
|
|
10
|
-
type CodeChallenge = Newtype<string, 'CodeChallenge'>;
|
|
11
|
-
declare const CodeChallenge: (value: string) => CodeChallenge;
|
|
12
|
-
type RedirectUri = Newtype<string, 'RedirectUri'>;
|
|
13
|
-
declare const RedirectUri: (value: string) => RedirectUri;
|
|
14
|
-
type ClientId = Newtype<string, 'ClientId'>;
|
|
15
|
-
declare const ClientId: (value: string) => ClientId;
|
|
16
|
-
type ClientSecret = Newtype<string, 'ClientSecret'>;
|
|
17
|
-
declare const ClientSecret: (value: string) => ClientSecret;
|
|
18
|
-
|
|
19
|
-
type QueryParamValue = string | number | boolean | null | undefined;
|
|
20
|
-
|
|
21
|
-
type Cursor = Newtype<string, 'Cursor'>;
|
|
22
|
-
declare const Cursor: (value: string) => Cursor;
|
|
23
|
-
interface PaginatedResponseDto<T> {
|
|
24
|
-
data: T[];
|
|
25
|
-
starting_after?: string;
|
|
26
|
-
starting_before?: string;
|
|
27
|
-
}
|
|
28
|
-
declare function fetchAllPages<A, P extends PaginationParams = PaginationParams>(fetchPage: (params: P) => Promise<PaginatedResponse<A>>, baseParams?: Omit<P, keyof PaginationParams>): Promise<A[]>;
|
|
29
|
-
interface PaginatedResponse<T> {
|
|
30
|
-
data: T[];
|
|
31
|
-
startingAfter: Cursor | null;
|
|
32
|
-
startingBefore: Cursor | null;
|
|
33
|
-
}
|
|
34
|
-
declare const PaginatedResponse: {
|
|
35
|
-
fromDto: <A, B>(dto: PaginatedResponseDto<A>, itemMapper: (item: A) => B) => PaginatedResponse<B>;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* Cursor-based pagination input used when requesting paginated API resources.
|
|
39
|
-
* Set `after` or `before` to navigate relative to a known cursor, and `limit`
|
|
40
|
-
* to control the maximum number of returned items.
|
|
41
|
-
*/
|
|
42
|
-
interface PaginationParams {
|
|
43
|
-
before?: Cursor;
|
|
44
|
-
after?: Cursor;
|
|
45
|
-
limit?: number;
|
|
46
|
-
}
|
|
47
|
-
declare const PaginationParams: {
|
|
48
|
-
toQueryParams: (params: PaginationParams) => Record<string, QueryParamValue>;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
interface Config {
|
|
52
|
-
/** OAuth2 public identifier. */
|
|
53
|
-
readonly clientId: ClientId;
|
|
54
|
-
/**
|
|
55
|
-
* OAuth2 redirect URI. Recommended to point to a frontend page where
|
|
56
|
-
* {@link CoinListClient#completeOauth} can be called to complete the PKCE
|
|
57
|
-
* flow on the client side.
|
|
58
|
-
*/
|
|
59
|
-
readonly redirectUri: RedirectUri;
|
|
60
|
-
/**
|
|
61
|
-
* Recommended to leave undefined. Used to change the CoinList environment;
|
|
62
|
-
* default is production.
|
|
63
|
-
*/
|
|
64
|
-
readonly baseUrl?: string;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* OAuth 2.0 token response (RFC 6749 §5.1).
|
|
69
|
-
* Maps to OpenAPI schema OauthToken.
|
|
70
|
-
*/
|
|
71
|
-
type OAuthSessionDto = {
|
|
72
|
-
access_token: string;
|
|
73
|
-
expires_in: number;
|
|
74
|
-
refresh_token?: string;
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
type OAuthAccessToken = {
|
|
78
|
-
value: string;
|
|
79
|
-
expiresAt: Date;
|
|
80
|
-
};
|
|
81
|
-
type OAuthRefreshToken = Newtype<string, 'OAuthRefreshToken'>;
|
|
82
|
-
declare const OAuthRefreshToken: (value: string) => OAuthRefreshToken;
|
|
83
|
-
type OAuthSession = {
|
|
84
|
-
accessToken: OAuthAccessToken;
|
|
85
|
-
refreshToken?: OAuthRefreshToken;
|
|
86
|
-
};
|
|
87
|
-
declare const OAuthSession: {
|
|
88
|
-
fromDto: (dto: OAuthSessionDto) => OAuthSession;
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
type OfferDto = {
|
|
92
|
-
id: string;
|
|
93
|
-
slug: string;
|
|
94
|
-
tagline: string | null | undefined;
|
|
95
|
-
banner_url: string | null | undefined;
|
|
96
|
-
logo_url: string | null | undefined;
|
|
97
|
-
starts_at: string;
|
|
98
|
-
ends_at: string;
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
type OfferId = Newtype<string, 'OfferId'>;
|
|
102
|
-
declare const OfferId: (value: string) => OfferId;
|
|
103
|
-
type OfferSlug = Newtype<string, 'OfferSlug'>;
|
|
104
|
-
declare const OfferSlug: (value: string) => OfferSlug;
|
|
105
|
-
type Offer = {
|
|
106
|
-
id: OfferId;
|
|
107
|
-
slug: OfferSlug;
|
|
108
|
-
tagline: string | null;
|
|
109
|
-
bannerUrl: string | null;
|
|
110
|
-
logoUrl: string | null;
|
|
111
|
-
startsAt: Date;
|
|
112
|
-
endsAt: Date;
|
|
113
|
-
};
|
|
114
|
-
declare const Offer: {
|
|
115
|
-
fromDto: (dto: OfferDto) => Offer;
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
type AssetDto = {
|
|
119
|
-
code: string;
|
|
120
|
-
fractional_digits: number;
|
|
121
|
-
id: string;
|
|
122
|
-
name: string;
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
type AssetId = Newtype<string, 'AssetId'>;
|
|
126
|
-
declare const AssetId: (value: string) => AssetId;
|
|
127
|
-
type AssetCode = Newtype<string, 'AssetCode'>;
|
|
128
|
-
declare const AssetCode: (value: string) => AssetCode;
|
|
129
|
-
type Asset = {
|
|
130
|
-
id: AssetId;
|
|
131
|
-
code: AssetCode;
|
|
132
|
-
name: string;
|
|
133
|
-
fractionalDigits: number;
|
|
134
|
-
};
|
|
135
|
-
declare const Asset: {
|
|
136
|
-
fromDto: (dto: AssetDto) => Asset;
|
|
137
|
-
};
|
|
138
|
-
|
|
139
|
-
type OfferDetailDto = {
|
|
140
|
-
asset: AssetDto;
|
|
141
|
-
faqs: OfferDetailFaqDto[];
|
|
142
|
-
funding_assets: AssetDto[];
|
|
143
|
-
id: string;
|
|
144
|
-
links: OfferDetailLinkDto[];
|
|
145
|
-
milestones: OfferDetailMilestoneDto[];
|
|
146
|
-
name: string;
|
|
147
|
-
object: 'offer_details';
|
|
148
|
-
options: OfferDetailOptionDto[];
|
|
149
|
-
slug: string;
|
|
150
|
-
terms: OfferDetailTermDto[];
|
|
151
|
-
about: string | null | undefined;
|
|
152
|
-
banner_url: string | null | undefined;
|
|
153
|
-
category: string | null | undefined;
|
|
154
|
-
ends_at: string;
|
|
155
|
-
logo_url: string | null | undefined;
|
|
156
|
-
starts_at: string;
|
|
157
|
-
tagline: string | null | undefined;
|
|
158
|
-
};
|
|
159
|
-
type OfferDetailFaqDto = {
|
|
160
|
-
answer: string | null;
|
|
161
|
-
question: string | null;
|
|
162
|
-
};
|
|
163
|
-
type OfferDetailLinkDto = {
|
|
164
|
-
label: string | null;
|
|
165
|
-
url: string | null;
|
|
166
|
-
};
|
|
167
|
-
type OfferDetailMilestoneDto = {
|
|
168
|
-
name: string | null;
|
|
169
|
-
schedule: string | null;
|
|
170
|
-
status: 'completed' | 'active' | 'upcoming';
|
|
171
|
-
};
|
|
172
|
-
type OfferDetailOptionDto = {
|
|
173
|
-
bid_increment: number | null;
|
|
174
|
-
floor_price_usd: number | null;
|
|
175
|
-
id: string;
|
|
176
|
-
minimum_purchase_usd: number | null;
|
|
177
|
-
price_usd: string | null;
|
|
178
|
-
sale_agreement_url: string | null;
|
|
179
|
-
slug: string;
|
|
180
|
-
total_token_supply: number | null;
|
|
181
|
-
};
|
|
182
|
-
type OfferDetailTermDto = {
|
|
183
|
-
key: string | null;
|
|
184
|
-
value: string | null;
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
type OfferOptionId = Newtype<string, 'OfferOptionId'>;
|
|
188
|
-
declare const OfferOptionId: (value: string) => OfferOptionId;
|
|
189
|
-
type OfferOptionSlug = Newtype<string, 'OfferOptionSlug'>;
|
|
190
|
-
declare const OfferOptionSlug: (value: string) => OfferOptionSlug;
|
|
191
|
-
type OfferDetail = {
|
|
192
|
-
id: OfferId;
|
|
193
|
-
slug: OfferSlug;
|
|
194
|
-
name: string;
|
|
195
|
-
asset: Asset;
|
|
196
|
-
fundingAssets: Asset[];
|
|
197
|
-
about: string | null;
|
|
198
|
-
tagline: string | null;
|
|
199
|
-
bannerUrl: string | null;
|
|
200
|
-
logoUrl: string | null;
|
|
201
|
-
category: string | null;
|
|
202
|
-
startsAt: Date;
|
|
203
|
-
endsAt: Date;
|
|
204
|
-
faqs: FaqItem[];
|
|
205
|
-
links: Link[];
|
|
206
|
-
milestones: Milestone[];
|
|
207
|
-
options: OfferOption[];
|
|
208
|
-
terms: TermItem[];
|
|
209
|
-
};
|
|
210
|
-
declare const OfferDetail: {
|
|
211
|
-
fromDto: (dto: OfferDetailDto) => OfferDetail;
|
|
212
|
-
};
|
|
213
|
-
type OfferOption = {
|
|
214
|
-
id: OfferOptionId;
|
|
215
|
-
slug: OfferOptionSlug;
|
|
216
|
-
bidIncrement: number | null;
|
|
217
|
-
floorPriceUsd: number | null;
|
|
218
|
-
minimumPurchaseUsd: number | null;
|
|
219
|
-
priceUsd: string | null;
|
|
220
|
-
saleAgreementUrl: string | null;
|
|
221
|
-
totalTokenSupply: number | null;
|
|
222
|
-
};
|
|
223
|
-
declare const OfferOption: {
|
|
224
|
-
fromDto: (dto: OfferDetailOptionDto) => OfferOption;
|
|
225
|
-
};
|
|
226
|
-
type FaqItem = {
|
|
227
|
-
question: string | null;
|
|
228
|
-
answer: string | null;
|
|
229
|
-
};
|
|
230
|
-
declare const FaqItem: {
|
|
231
|
-
fromDto: (dto: OfferDetailFaqDto) => FaqItem;
|
|
232
|
-
};
|
|
233
|
-
type Link = {
|
|
234
|
-
label: string | null;
|
|
235
|
-
url: string | null;
|
|
236
|
-
};
|
|
237
|
-
declare const Link: {
|
|
238
|
-
fromDto: (dto: OfferDetailLinkDto) => Link;
|
|
239
|
-
};
|
|
240
|
-
type TermItem = {
|
|
241
|
-
key: string | null;
|
|
242
|
-
value: string | null;
|
|
243
|
-
};
|
|
244
|
-
declare const TermItem: {
|
|
245
|
-
fromDto: (dto: OfferDetailTermDto) => TermItem;
|
|
246
|
-
};
|
|
247
|
-
type Milestone = {
|
|
248
|
-
name: string | null;
|
|
249
|
-
schedule: string | null;
|
|
250
|
-
status: 'completed' | 'active' | 'upcoming';
|
|
251
|
-
};
|
|
252
|
-
declare const Milestone: {
|
|
253
|
-
fromDto: (dto: OfferDetailMilestoneDto) => Milestone;
|
|
254
|
-
};
|
|
255
|
-
|
|
256
|
-
type ParticipationStatusDto = 'prepared' | 'pending' | 'submitted' | 'completed' | 'failed' | 'remit_submitted' | 'remitted' | 'remit_failed';
|
|
257
|
-
type ParticipationDto = {
|
|
258
|
-
object: 'participation';
|
|
259
|
-
id: string;
|
|
260
|
-
offer_id: string;
|
|
261
|
-
offer_option_id: string;
|
|
262
|
-
status: ParticipationStatusDto;
|
|
263
|
-
amount: string;
|
|
264
|
-
amount_string: string;
|
|
265
|
-
asset: AssetDto;
|
|
266
|
-
chain: string;
|
|
267
|
-
inserted_at: string | null | undefined;
|
|
268
|
-
updated_at: string | null | undefined;
|
|
269
|
-
wallet_address: string | null | undefined;
|
|
270
|
-
};
|
|
271
|
-
type CreateParticipationDto = {
|
|
272
|
-
offer_id: string;
|
|
273
|
-
offer_option_id: string;
|
|
274
|
-
chain: string;
|
|
275
|
-
wallet_address: string;
|
|
276
|
-
amount: string;
|
|
277
|
-
asset_id: string;
|
|
278
|
-
approval_transaction_hash: string | null | undefined;
|
|
279
|
-
};
|
|
280
|
-
|
|
281
|
-
/** Unique identifier for a participation. */
|
|
282
|
-
type ParticipationId = Newtype<string, 'ParticipationId'>;
|
|
283
|
-
/** Casts a string into a typed {@link ParticipationId}. */
|
|
284
|
-
declare const ParticipationId: (value: string) => ParticipationId;
|
|
285
|
-
/** Blockchain identifier for where a participation is funded. */
|
|
286
|
-
type Blockchain = Newtype<string, 'Blockchain'>;
|
|
287
|
-
/** Casts a string into a typed {@link Blockchain}. */
|
|
288
|
-
declare const Blockchain: (value: string) => Blockchain;
|
|
289
|
-
/** Wallet address used for a participation. */
|
|
290
|
-
type WalletAddress = Newtype<string, 'WalletAddress'>;
|
|
291
|
-
/** Casts a string into a typed {@link WalletAddress}. */
|
|
292
|
-
declare const WalletAddress: (value: string) => WalletAddress;
|
|
293
|
-
/** Possible participation lifecycle states returned by the API. */
|
|
294
|
-
type ParticipationStatus = ParticipationStatusDto;
|
|
295
|
-
/** Pagination params for listing participations, with an optional offer filter. */
|
|
296
|
-
interface ParticipationsPaginationParams extends PaginationParams {
|
|
297
|
-
offerId?: OfferId;
|
|
298
|
-
}
|
|
299
|
-
declare const ParticipationsPaginationParams: {
|
|
300
|
-
toQueryParams: (params: ParticipationsPaginationParams) => Record<string, QueryParamValue>;
|
|
301
|
-
};
|
|
302
|
-
/** Domain model for a participation returned by CoinList APIs. */
|
|
303
|
-
type Participation = {
|
|
304
|
-
/** Unique participation id. */
|
|
305
|
-
id: ParticipationId;
|
|
306
|
-
/** Parent offer id. */
|
|
307
|
-
offerId: OfferId;
|
|
308
|
-
/** Selected offer option id. */
|
|
309
|
-
offerOptionId: OfferOptionId;
|
|
310
|
-
/** Current processing status. */
|
|
311
|
-
status: ParticipationStatus;
|
|
312
|
-
/** Raw participation amount from API. */
|
|
313
|
-
amount: string;
|
|
314
|
-
/** Human-readable formatted amount from API. */
|
|
315
|
-
displayAmount: string;
|
|
316
|
-
/** Asset metadata for the participation amount. */
|
|
317
|
-
asset: Asset;
|
|
318
|
-
/** Funding chain identifier. */
|
|
319
|
-
chain: Blockchain;
|
|
320
|
-
/** Creation timestamp, if returned by API. */
|
|
321
|
-
insertedAt: Date | null;
|
|
322
|
-
/** Last update timestamp, if returned by API. */
|
|
323
|
-
updatedAt: Date | null;
|
|
324
|
-
/** Wallet used for participation, blank values normalized to null. */
|
|
325
|
-
walletAddress: WalletAddress | null;
|
|
326
|
-
};
|
|
327
|
-
declare const Participation: {
|
|
328
|
-
/** Maps API DTO shape into the SDK participation domain model. */
|
|
329
|
-
fromDto: (dto: ParticipationDto) => Participation;
|
|
330
|
-
};
|
|
331
|
-
/** Parameters required to create a new participation. */
|
|
332
|
-
type CreateParticipationParams = {
|
|
333
|
-
/** Offer to participate in. */
|
|
334
|
-
offerId: OfferId;
|
|
335
|
-
/** Offer option selected for participation. */
|
|
336
|
-
offerOptionId: OfferOptionId;
|
|
337
|
-
/** Blockchain for funding. */
|
|
338
|
-
chain: Blockchain;
|
|
339
|
-
/** Wallet address that funds the participation. */
|
|
340
|
-
walletAddress: WalletAddress;
|
|
341
|
-
/** Raw amount to participate with. */
|
|
342
|
-
amount: string;
|
|
343
|
-
/** Funding asset id. */
|
|
344
|
-
assetId: AssetId;
|
|
345
|
-
/** Optional approval transaction hash, if applicable. */
|
|
346
|
-
approvalTransactionHash?: string | null;
|
|
347
|
-
};
|
|
348
|
-
declare const CreateParticipationParams: {
|
|
349
|
-
/** Maps participation creation params into API DTO payload. */
|
|
350
|
-
toDto: (params: CreateParticipationParams) => CreateParticipationDto;
|
|
351
|
-
};
|
|
352
|
-
|
|
353
|
-
type RequirementTypeDto = 'kyc_approved' | 'identity_verified' | 'proof_of_address' | 'source_of_funds' | 'external_wallet' | 'whitelisted_wallet' | 'jurisdiction' | 'accreditation';
|
|
354
|
-
type RequirementDto = {
|
|
355
|
-
object: 'requirement';
|
|
356
|
-
id: string;
|
|
357
|
-
type: RequirementTypeDto;
|
|
358
|
-
details: Record<string, unknown> | null;
|
|
359
|
-
};
|
|
360
|
-
type RequirementStatusValueDto = 'not_started' | 'in_progress' | 'action_needed' | 'completed' | 'rejected';
|
|
361
|
-
type RequirementStatusesDto = {
|
|
362
|
-
object: 'requirement_statuses';
|
|
363
|
-
offer_id: string;
|
|
364
|
-
statuses: Record<string, RequirementStatusValueDto>;
|
|
365
|
-
};
|
|
366
|
-
|
|
367
|
-
type RequirementId = Newtype<string, 'RequirementId'>;
|
|
368
|
-
declare const RequirementId: (value: string) => RequirementId;
|
|
369
|
-
type RequirementType = RequirementTypeDto;
|
|
370
|
-
type RequirementStatusValue = RequirementStatusValueDto;
|
|
371
|
-
type Requirement = {
|
|
372
|
-
id: RequirementId;
|
|
373
|
-
type: RequirementType;
|
|
374
|
-
details: Record<string, unknown> | null;
|
|
375
|
-
};
|
|
376
|
-
declare const Requirement: {
|
|
377
|
-
fromDto: (dto: RequirementDto) => Requirement;
|
|
378
|
-
};
|
|
379
|
-
type RequirementStatusInfo = {
|
|
380
|
-
id: RequirementId;
|
|
381
|
-
status: RequirementStatusValue;
|
|
382
|
-
};
|
|
383
|
-
declare const RequirementStatusInfo: {
|
|
384
|
-
fromStatusesDto: (dto: RequirementStatusesDto) => RequirementStatusInfo[];
|
|
385
|
-
};
|
|
386
|
-
|
|
387
|
-
export { AuthorizationCode as A, Blockchain as B, CodeVerifier as C, type ParticipationStatus as D, RedirectUri as E, FaqItem as F, RequirementId as G, fetchAllPages as H, Link as L, Milestone as M, type Newtype as N, type OAuthAccessToken as O, PaginationParams as P, Requirement as R, TermItem as T, WalletAddress as W, type Config as a, Offer as b, PaginatedResponse as c, OfferId as d, OfferDetail as e, Participation as f, ParticipationsPaginationParams as g, ParticipationId as h, CreateParticipationParams as i, OfferOptionId as j, RequirementStatusInfo as k, type RequirementType as l, type RequirementStatusValue as m, OAuthSession as n, ClientSecret as o, Asset as p, AssetCode as q, AssetId as r, ClientId as s, CodeChallenge as t, Cursor as u, OAuthRefreshToken as v, OfferOption as w, OfferOptionSlug as x, OfferSlug as y, type PaginatedResponseDto as z };
|