@layer-drone/protocol 0.0.5 → 0.0.7

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.
@@ -84,9 +84,21 @@ export type UpdateApiTokenResponseDto = {
84
84
  > | null;
85
85
  };
86
86
 
87
+ export type CreateQuoteRequestDto = {
88
+ missionIds: Array<number>;
89
+ entitlementType: string;
90
+ buyer: string;
91
+ mintOnChain: boolean;
92
+ };
93
+
87
94
  export type CreateFileRequestDto = {
88
95
  filenames: Array<string>;
89
- flightId: number;
96
+ };
97
+
98
+ export type CreateFileResponseDto = {
99
+ presignedUrls: {
100
+ [key: string]: string;
101
+ };
90
102
  };
91
103
 
92
104
  export type ValidateFlightDto = {
@@ -95,6 +107,11 @@ export type ValidateFlightDto = {
95
107
  flightManifestUri?: string;
96
108
  };
97
109
 
110
+ export type ValidateFlightResponseDto = {
111
+ success: boolean;
112
+ message: string;
113
+ };
114
+
98
115
  export type CreateWebhookBody = {
99
116
  name: string;
100
117
  url: string;
@@ -307,6 +324,22 @@ export type ApiTokenControllerUpdateTokenResponses = {
307
324
  export type ApiTokenControllerUpdateTokenResponse =
308
325
  ApiTokenControllerUpdateTokenResponses[keyof ApiTokenControllerUpdateTokenResponses];
309
326
 
327
+ export type QuotesControllerCreateQuoteData = {
328
+ body: CreateQuoteRequestDto;
329
+ path?: never;
330
+ query?: never;
331
+ url: "/quotes";
332
+ };
333
+
334
+ export type QuotesControllerCreateQuoteErrors = {
335
+ 401: unknown;
336
+ 403: unknown;
337
+ };
338
+
339
+ export type QuotesControllerCreateQuoteResponses = {
340
+ 201: unknown;
341
+ };
342
+
310
343
  export type FlightsControllerGenerateFlightIdData = {
311
344
  body?: never;
312
345
  path?: never;
@@ -323,14 +356,22 @@ export type FlightsControllerGenerateFlightIdErrors = {
323
356
  };
324
357
 
325
358
  export type FlightsControllerGenerateFlightIdResponses = {
326
- 200: unknown;
359
+ /**
360
+ * Returns the generated flight ID
361
+ */
362
+ 200: number;
327
363
  };
328
364
 
365
+ export type FlightsControllerGenerateFlightIdResponse =
366
+ FlightsControllerGenerateFlightIdResponses[keyof FlightsControllerGenerateFlightIdResponses];
367
+
329
368
  export type FlightsControllerCreatePresignedUrlsData = {
330
369
  body: CreateFileRequestDto;
331
- path?: never;
370
+ path: {
371
+ flightId: number;
372
+ };
332
373
  query?: never;
333
- url: "/flights/files";
374
+ url: "/flights/{flightId}/files";
334
375
  };
335
376
 
336
377
  export type FlightsControllerCreatePresignedUrlsErrors = {
@@ -339,9 +380,15 @@ export type FlightsControllerCreatePresignedUrlsErrors = {
339
380
  };
340
381
 
341
382
  export type FlightsControllerCreatePresignedUrlsResponses = {
342
- 201: unknown;
383
+ /**
384
+ * Returns presigned URLs for file upload
385
+ */
386
+ 200: CreateFileResponseDto;
343
387
  };
344
388
 
389
+ export type FlightsControllerCreatePresignedUrlsResponse =
390
+ FlightsControllerCreatePresignedUrlsResponses[keyof FlightsControllerCreatePresignedUrlsResponses];
391
+
345
392
  export type FlightsControllerValidateFlightData = {
346
393
  body: ValidateFlightDto;
347
394
  path?: never;
@@ -355,9 +402,15 @@ export type FlightsControllerValidateFlightErrors = {
355
402
  };
356
403
 
357
404
  export type FlightsControllerValidateFlightResponses = {
358
- 201: unknown;
405
+ /**
406
+ * Returns flight validation result
407
+ */
408
+ 200: ValidateFlightResponseDto;
359
409
  };
360
410
 
411
+ export type FlightsControllerValidateFlightResponse =
412
+ FlightsControllerValidateFlightResponses[keyof FlightsControllerValidateFlightResponses];
413
+
361
414
  export type SchemaControllerGetEventSchemaData = {
362
415
  body?: never;
363
416
  path?: never;
@@ -1,11 +1,11 @@
1
+ import type { Request } from "express";
2
+
1
3
  import { Event } from "./types.gen";
2
4
 
3
5
  const WEBHOOK_SECRET_HEADER = "X-Webhook-Secret";
4
6
 
5
7
  export function parseWebhookEvent(req: Request, webhookSecret: string) {
6
- const secret: string | undefined =
7
- req.headers[WEBHOOK_SECRET_HEADER] ||
8
- req.headers[WEBHOOK_SECRET_HEADER.toLowerCase()];
8
+ const secret = getSecretHeader(req.headers);
9
9
  if (typeof secret !== "string") {
10
10
  throw new Error("Webhook request signature is not a string");
11
11
  }
@@ -17,3 +17,13 @@ export function parseWebhookEvent(req: Request, webhookSecret: string) {
17
17
  }
18
18
  return Event.parse(JSON.parse(req.body.toString("utf-8")));
19
19
  }
20
+
21
+ function getSecretHeader(headers: Request["headers"]) {
22
+ let value =
23
+ headers[WEBHOOK_SECRET_HEADER] ??
24
+ headers[WEBHOOK_SECRET_HEADER.toLowerCase()];
25
+ if (Array.isArray(value)) {
26
+ value = value[0];
27
+ }
28
+ return value;
29
+ }
@@ -1,4 +0,0 @@
1
- import { type Config, type ClientOptions as DefaultClientOptions } from "@hey-api/client-fetch";
2
- import type { ClientOptions } from "./types.gen";
3
- export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
4
- export declare const client: import("@hey-api/client-fetch").Client;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.client = void 0;
4
- const client_fetch_1 = require("@hey-api/client-fetch");
5
- exports.client = (0, client_fetch_1.createClient)((0, client_fetch_1.createConfig)());
6
- //# sourceMappingURL=client.gen.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"client.gen.js","sourceRoot":"","sources":["../../src/client/client.gen.ts"],"names":[],"mappings":";;;AACA,wDAK+B;AAiBlB,QAAA,MAAM,GAAG,IAAA,2BAAY,EAAC,IAAA,2BAAY,GAAiB,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from "./types.gen";
2
- export * from "./sdk.gen";
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./types.gen"), exports);
18
- __exportStar(require("./sdk.gen"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,8CAA4B;AAC5B,4CAA0B"}
@@ -1,26 +0,0 @@
1
- import type { Client, Options as ClientOptions, TDataShape } from "@hey-api/client-fetch";
2
- import type { ApiTokenControllerCreateTokenData, ApiTokenControllerDeleteTokenData, ApiTokenControllerGetTokenData, ApiTokenControllerUpdateTokenData, AppControllerGetHelloData, FlightsControllerCreatePresignedUrlsData, FlightsControllerGenerateFlightIdData, FlightsControllerValidateFlightData, KeysControllerGetProvenanceCryptoKeyData, RewardsControllerDepositRewardsData, RewardsControllerDistributeRewardsData, SchemaControllerGetEventSchemaData, WebhooksControllerCreateData, WebhooksControllerDeleteData, WebhooksControllerGetData, WebhooksControllerGetManyData, WebhooksControllerGetStatusData, WebhooksControllerRegenerateSecretData, WebhooksControllerTestData, WebhooksControllerUpdateData } from "./types.gen";
3
- export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
4
- client?: Client;
5
- meta?: Record<string, unknown>;
6
- };
7
- export declare const appControllerGetHello: <ThrowOnError extends boolean = false>(options?: Options<AppControllerGetHelloData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
8
- export declare const keysControllerGetProvenanceCryptoKey: <ThrowOnError extends boolean = false>(options?: Options<KeysControllerGetProvenanceCryptoKeyData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").GetProvenanceCryptoKeyResponse, unknown, ThrowOnError>;
9
- export declare const rewardsControllerDepositRewards: <ThrowOnError extends boolean = false>(options: Options<RewardsControllerDepositRewardsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").DepositRewardsResponseDto, unknown, ThrowOnError>;
10
- export declare const rewardsControllerDistributeRewards: <ThrowOnError extends boolean = false>(options: Options<RewardsControllerDistributeRewardsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").DistributeRewardsResponseDto, unknown, ThrowOnError>;
11
- export declare const apiTokenControllerCreateToken: <ThrowOnError extends boolean = false>(options: Options<ApiTokenControllerCreateTokenData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
12
- export declare const apiTokenControllerDeleteToken: <ThrowOnError extends boolean = false>(options: Options<ApiTokenControllerDeleteTokenData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
13
- export declare const apiTokenControllerGetToken: <ThrowOnError extends boolean = false>(options: Options<ApiTokenControllerGetTokenData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
14
- export declare const apiTokenControllerUpdateToken: <ThrowOnError extends boolean = false>(options: Options<ApiTokenControllerUpdateTokenData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").UpdateApiTokenResponseDto, unknown, ThrowOnError>;
15
- export declare const flightsControllerGenerateFlightId: <ThrowOnError extends boolean = false>(options: Options<FlightsControllerGenerateFlightIdData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
16
- export declare const flightsControllerCreatePresignedUrls: <ThrowOnError extends boolean = false>(options: Options<FlightsControllerCreatePresignedUrlsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
17
- export declare const flightsControllerValidateFlight: <ThrowOnError extends boolean = false>(options: Options<FlightsControllerValidateFlightData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
18
- export declare const schemaControllerGetEventSchema: <ThrowOnError extends boolean = false>(options?: Options<SchemaControllerGetEventSchemaData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
19
- export declare const webhooksControllerGetMany: <ThrowOnError extends boolean = false>(options: Options<WebhooksControllerGetManyData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").GetWebhooksResponse, unknown, ThrowOnError>;
20
- export declare const webhooksControllerCreate: <ThrowOnError extends boolean = false>(options: Options<WebhooksControllerCreateData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").CreateWebhookResponse, unknown, ThrowOnError>;
21
- export declare const webhooksControllerDelete: <ThrowOnError extends boolean = false>(options: Options<WebhooksControllerDeleteData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").DeleteWebhookResponse, unknown, ThrowOnError>;
22
- export declare const webhooksControllerGet: <ThrowOnError extends boolean = false>(options: Options<WebhooksControllerGetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").GetWebhookResponse, unknown, ThrowOnError>;
23
- export declare const webhooksControllerUpdate: <ThrowOnError extends boolean = false>(options: Options<WebhooksControllerUpdateData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").UpdateWebhookResponse, unknown, ThrowOnError>;
24
- export declare const webhooksControllerRegenerateSecret: <ThrowOnError extends boolean = false>(options: Options<WebhooksControllerRegenerateSecretData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").RegenerateWebhookSecretResponseDto, unknown, ThrowOnError>;
25
- export declare const webhooksControllerTest: <ThrowOnError extends boolean = false>(options: Options<WebhooksControllerTestData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").TestWebhookResponse, unknown, ThrowOnError>;
26
- export declare const webhooksControllerGetStatus: <ThrowOnError extends boolean = false>(options: Options<WebhooksControllerGetStatusData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").GetWebhookStatusResponse, unknown, ThrowOnError>;
@@ -1,279 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.webhooksControllerGetStatus = exports.webhooksControllerTest = exports.webhooksControllerRegenerateSecret = exports.webhooksControllerUpdate = exports.webhooksControllerGet = exports.webhooksControllerDelete = exports.webhooksControllerCreate = exports.webhooksControllerGetMany = exports.schemaControllerGetEventSchema = exports.flightsControllerValidateFlight = exports.flightsControllerCreatePresignedUrls = exports.flightsControllerGenerateFlightId = exports.apiTokenControllerUpdateToken = exports.apiTokenControllerGetToken = exports.apiTokenControllerDeleteToken = exports.apiTokenControllerCreateToken = exports.rewardsControllerDistributeRewards = exports.rewardsControllerDepositRewards = exports.keysControllerGetProvenanceCryptoKey = exports.appControllerGetHello = void 0;
4
- const client_gen_1 = require("./client.gen");
5
- const appControllerGetHello = (options) => {
6
- return (options?.client ?? client_gen_1.client).get({
7
- url: "/",
8
- ...options,
9
- });
10
- };
11
- exports.appControllerGetHello = appControllerGetHello;
12
- const keysControllerGetProvenanceCryptoKey = (options) => {
13
- return (options?.client ?? client_gen_1.client).get({
14
- url: "/keys",
15
- ...options,
16
- });
17
- };
18
- exports.keysControllerGetProvenanceCryptoKey = keysControllerGetProvenanceCryptoKey;
19
- const rewardsControllerDepositRewards = (options) => {
20
- return (options.client ?? client_gen_1.client).post({
21
- security: [
22
- {
23
- name: "x-api-token",
24
- type: "apiKey",
25
- },
26
- ],
27
- url: "/rewards/deposit",
28
- ...options,
29
- headers: {
30
- "Content-Type": "application/json",
31
- ...options?.headers,
32
- },
33
- });
34
- };
35
- exports.rewardsControllerDepositRewards = rewardsControllerDepositRewards;
36
- const rewardsControllerDistributeRewards = (options) => {
37
- return (options.client ?? client_gen_1.client).post({
38
- security: [
39
- {
40
- name: "x-api-token",
41
- type: "apiKey",
42
- },
43
- ],
44
- url: "/rewards/distribute",
45
- ...options,
46
- headers: {
47
- "Content-Type": "application/json",
48
- ...options?.headers,
49
- },
50
- });
51
- };
52
- exports.rewardsControllerDistributeRewards = rewardsControllerDistributeRewards;
53
- const apiTokenControllerCreateToken = (options) => {
54
- return (options.client ?? client_gen_1.client).post({
55
- security: [
56
- {
57
- name: "x-api-token",
58
- type: "apiKey",
59
- },
60
- ],
61
- url: "/tokens",
62
- ...options,
63
- headers: {
64
- "Content-Type": "application/json",
65
- ...options?.headers,
66
- },
67
- });
68
- };
69
- exports.apiTokenControllerCreateToken = apiTokenControllerCreateToken;
70
- const apiTokenControllerDeleteToken = (options) => {
71
- return (options.client ?? client_gen_1.client).delete({
72
- security: [
73
- {
74
- name: "x-api-token",
75
- type: "apiKey",
76
- },
77
- ],
78
- url: "/tokens/{id}",
79
- ...options,
80
- });
81
- };
82
- exports.apiTokenControllerDeleteToken = apiTokenControllerDeleteToken;
83
- const apiTokenControllerGetToken = (options) => {
84
- return (options.client ?? client_gen_1.client).get({
85
- security: [
86
- {
87
- name: "x-api-token",
88
- type: "apiKey",
89
- },
90
- ],
91
- url: "/tokens/{id}",
92
- ...options,
93
- });
94
- };
95
- exports.apiTokenControllerGetToken = apiTokenControllerGetToken;
96
- const apiTokenControllerUpdateToken = (options) => {
97
- return (options.client ?? client_gen_1.client).patch({
98
- security: [
99
- {
100
- name: "x-api-token",
101
- type: "apiKey",
102
- },
103
- ],
104
- url: "/tokens/{id}",
105
- ...options,
106
- headers: {
107
- "Content-Type": "application/json",
108
- ...options?.headers,
109
- },
110
- });
111
- };
112
- exports.apiTokenControllerUpdateToken = apiTokenControllerUpdateToken;
113
- const flightsControllerGenerateFlightId = (options) => {
114
- return (options.client ?? client_gen_1.client).get({
115
- security: [
116
- {
117
- name: "x-api-token",
118
- type: "apiKey",
119
- },
120
- ],
121
- url: "/flights/id",
122
- ...options,
123
- });
124
- };
125
- exports.flightsControllerGenerateFlightId = flightsControllerGenerateFlightId;
126
- const flightsControllerCreatePresignedUrls = (options) => {
127
- return (options.client ?? client_gen_1.client).post({
128
- security: [
129
- {
130
- name: "x-api-token",
131
- type: "apiKey",
132
- },
133
- ],
134
- url: "/flights/files",
135
- ...options,
136
- headers: {
137
- "Content-Type": "application/json",
138
- ...options?.headers,
139
- },
140
- });
141
- };
142
- exports.flightsControllerCreatePresignedUrls = flightsControllerCreatePresignedUrls;
143
- const flightsControllerValidateFlight = (options) => {
144
- return (options.client ?? client_gen_1.client).post({
145
- security: [
146
- {
147
- name: "x-api-token",
148
- type: "apiKey",
149
- },
150
- ],
151
- url: "/flights",
152
- ...options,
153
- headers: {
154
- "Content-Type": "application/json",
155
- ...options?.headers,
156
- },
157
- });
158
- };
159
- exports.flightsControllerValidateFlight = flightsControllerValidateFlight;
160
- const schemaControllerGetEventSchema = (options) => {
161
- return (options?.client ?? client_gen_1.client).get({
162
- url: "/schema/event",
163
- ...options,
164
- });
165
- };
166
- exports.schemaControllerGetEventSchema = schemaControllerGetEventSchema;
167
- const webhooksControllerGetMany = (options) => {
168
- return (options.client ?? client_gen_1.client).get({
169
- security: [
170
- {
171
- name: "x-api-token",
172
- type: "apiKey",
173
- },
174
- ],
175
- url: "/org/{org_id}/webhooks",
176
- ...options,
177
- });
178
- };
179
- exports.webhooksControllerGetMany = webhooksControllerGetMany;
180
- const webhooksControllerCreate = (options) => {
181
- return (options.client ?? client_gen_1.client).post({
182
- security: [
183
- {
184
- name: "x-api-token",
185
- type: "apiKey",
186
- },
187
- ],
188
- url: "/org/{org_id}/webhooks",
189
- ...options,
190
- headers: {
191
- "Content-Type": "application/json",
192
- ...options?.headers,
193
- },
194
- });
195
- };
196
- exports.webhooksControllerCreate = webhooksControllerCreate;
197
- const webhooksControllerDelete = (options) => {
198
- return (options.client ?? client_gen_1.client).delete({
199
- security: [
200
- {
201
- name: "x-api-token",
202
- type: "apiKey",
203
- },
204
- ],
205
- url: "/org/{org_id}/webhooks/{id}",
206
- ...options,
207
- });
208
- };
209
- exports.webhooksControllerDelete = webhooksControllerDelete;
210
- const webhooksControllerGet = (options) => {
211
- return (options.client ?? client_gen_1.client).get({
212
- security: [
213
- {
214
- name: "x-api-token",
215
- type: "apiKey",
216
- },
217
- ],
218
- url: "/org/{org_id}/webhooks/{id}",
219
- ...options,
220
- });
221
- };
222
- exports.webhooksControllerGet = webhooksControllerGet;
223
- const webhooksControllerUpdate = (options) => {
224
- return (options.client ?? client_gen_1.client).put({
225
- security: [
226
- {
227
- name: "x-api-token",
228
- type: "apiKey",
229
- },
230
- ],
231
- url: "/org/{org_id}/webhooks/{id}",
232
- ...options,
233
- headers: {
234
- "Content-Type": "application/json",
235
- ...options?.headers,
236
- },
237
- });
238
- };
239
- exports.webhooksControllerUpdate = webhooksControllerUpdate;
240
- const webhooksControllerRegenerateSecret = (options) => {
241
- return (options.client ?? client_gen_1.client).post({
242
- security: [
243
- {
244
- name: "x-api-token",
245
- type: "apiKey",
246
- },
247
- ],
248
- url: "/org/{org_id}/webhooks/{id}/regenerate-secret",
249
- ...options,
250
- });
251
- };
252
- exports.webhooksControllerRegenerateSecret = webhooksControllerRegenerateSecret;
253
- const webhooksControllerTest = (options) => {
254
- return (options.client ?? client_gen_1.client).post({
255
- security: [
256
- {
257
- name: "x-api-token",
258
- type: "apiKey",
259
- },
260
- ],
261
- url: "/org/{org_id}/webhooks/{id}/test",
262
- ...options,
263
- });
264
- };
265
- exports.webhooksControllerTest = webhooksControllerTest;
266
- const webhooksControllerGetStatus = (options) => {
267
- return (options.client ?? client_gen_1.client).get({
268
- security: [
269
- {
270
- name: "x-api-token",
271
- type: "apiKey",
272
- },
273
- ],
274
- url: "/org/{org_id}/webhooks/{id}/status",
275
- ...options,
276
- });
277
- };
278
- exports.webhooksControllerGetStatus = webhooksControllerGetStatus;
279
- //# sourceMappingURL=sdk.gen.js.map
@@ -1 +0,0 @@
1
- {"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