@pax2pay/client 0.0.47 → 0.0.48
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/Client/Card/index.ts +21 -12
- package/Client/Cards/actions/actionTest.ts +51 -0
- package/Client/Cards/actions/factory.ts +17 -0
- package/Client/Cards/create/factory.ts +28 -46
- package/Client/Cards/index.ts +3 -3
- package/dist/Client/Card/index.d.ts +13 -8
- package/dist/Client/Card/index.js +3 -6
- package/dist/Client/Card/index.js.map +1 -1
- package/dist/Client/Cards/index.d.ts +1 -1
- package/dist/Client/Cards/index.js +2 -2
- package/dist/Client/Cards/index.js.map +1 -1
- package/package.json +1 -1
package/Client/Card/index.ts
CHANGED
|
@@ -6,25 +6,34 @@ export class Card extends Resource<model.CardResponse, model.CreateCardRequest>
|
|
|
6
6
|
constructor(connection: Connection, folder: string, backend: model.CardResponse) {
|
|
7
7
|
super(connection, folder, backend)
|
|
8
8
|
}
|
|
9
|
-
amend(request: model.AmendCardRequest) {
|
|
9
|
+
amend(request: model.AmendCardRequest): Promise<model.CardResponse | (model.ErrorResponse & {
|
|
10
|
+
status: 400 | 403 | 404 | 500 | 503;
|
|
11
|
+
})> {
|
|
10
12
|
return this.connection.post<model.CardResponse>(`${this.folder}/amend`, request)
|
|
11
13
|
}
|
|
12
|
-
freeze() {
|
|
14
|
+
freeze(): Promise<model.CardResponse | (model.ErrorResponse & {
|
|
15
|
+
status: 400 | 403 | 404 | 500 | 503;
|
|
16
|
+
})> {
|
|
13
17
|
return this.connection.get<model.CardResponse>(`${this.folder}/freeze`)
|
|
14
18
|
}
|
|
15
|
-
thaw() {
|
|
16
|
-
|
|
19
|
+
thaw(): Promise<model.CardResponse | (model.ErrorResponse & {
|
|
20
|
+
status: 400 | 403 | 404 | 500 | 503;
|
|
21
|
+
})> {
|
|
22
|
+
return this.connection.get<model.CardResponse>(`${this.folder}/thaw`)
|
|
17
23
|
}
|
|
18
|
-
cancel() {
|
|
19
|
-
|
|
24
|
+
cancel(): Promise<model.CardResponse | (model.ErrorResponse & {
|
|
25
|
+
status: 400 | 403 | 404 | 500 | 503;
|
|
26
|
+
})> {
|
|
27
|
+
return this.connection.get<model.CardResponse>(`${this.folder}/cancel`)
|
|
20
28
|
}
|
|
21
|
-
process() {
|
|
22
|
-
|
|
29
|
+
process(): Promise<model.CardResponse | (model.ErrorResponse & {
|
|
30
|
+
status: 400 | 403 | 404 | 500 | 503;
|
|
31
|
+
})> {
|
|
32
|
+
return this.connection.get<model.CardResponse>(`${this.folder}/statements/processed`)
|
|
23
33
|
}
|
|
24
|
-
getTransactions() {
|
|
34
|
+
getTransactions(): Promise<model.CardResponse | (model.ErrorResponse & {
|
|
35
|
+
status: 400 | 403 | 404 | 500 | 503;
|
|
36
|
+
})> {
|
|
25
37
|
return this.connection.get<model.TransactionResponse>(`${this.folder}/transactions`)
|
|
26
38
|
}
|
|
27
|
-
getBackend() {
|
|
28
|
-
return this.backend
|
|
29
|
-
}
|
|
30
39
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import assert from "assert"
|
|
2
|
+
import * as pax2pay from "../../../index"
|
|
3
|
+
import { ErrorResponse } from "../../../model"
|
|
4
|
+
import * as model from "../../../model"
|
|
5
|
+
import { Card } from "../../Card"
|
|
6
|
+
|
|
7
|
+
export async function actionTest(card: Card & model.CardResponse, client: pax2pay.Client) {
|
|
8
|
+
|
|
9
|
+
assert(card.providerCardId && card.providerCode)
|
|
10
|
+
assert(card.fundingAccount)
|
|
11
|
+
|
|
12
|
+
const amendedCard = await card.amend({
|
|
13
|
+
newBalance: 2,
|
|
14
|
+
currency: card.fundingAccount.currency,
|
|
15
|
+
})
|
|
16
|
+
const amendedActualCard = await client?.cards.getCard(card.providerCardId, card.providerCode)
|
|
17
|
+
|
|
18
|
+
assert(!(ErrorResponse.is(amendedActualCard) || ErrorResponse.is(amendedCard)))
|
|
19
|
+
|
|
20
|
+
expect(amendedCard).toMatchObject({ balance: 2 })
|
|
21
|
+
expect(amendedActualCard).toMatchObject({ balance: 2 })
|
|
22
|
+
|
|
23
|
+
const frozenCard = await card.freeze()
|
|
24
|
+
const frozenActualCard = await client?.cards.getCard(card.providerCardId, card.providerCode)
|
|
25
|
+
|
|
26
|
+
assert(!(ErrorResponse.is(frozenActualCard) || ErrorResponse.is(frozenCard)))
|
|
27
|
+
|
|
28
|
+
expect(frozenCard).toMatchObject({ state: "INACTIVE" })
|
|
29
|
+
expect(frozenActualCard).toMatchObject({ state: "INACTIVE" })
|
|
30
|
+
|
|
31
|
+
const thawedCard = await card.thaw()
|
|
32
|
+
const thawedActualCard = await client?.cards.getCard(card.providerCardId, card.providerCode)
|
|
33
|
+
|
|
34
|
+
assert(!(ErrorResponse.is(thawedActualCard) || ErrorResponse.is(thawedCard)))
|
|
35
|
+
|
|
36
|
+
expect(thawedCard).toMatchObject({ state: "ACTIVE" })
|
|
37
|
+
expect(thawedActualCard).toMatchObject({ state: "ACTIVE" })
|
|
38
|
+
|
|
39
|
+
const cancelledCard = await card.cancel()
|
|
40
|
+
const cancelledActualCard = await client?.cards.getCard(card.providerCardId, card.providerCode)
|
|
41
|
+
|
|
42
|
+
assert(!(ErrorResponse.is(cancelledActualCard) || ErrorResponse.is(cancelledCard)))
|
|
43
|
+
|
|
44
|
+
expect(cancelledCard).toMatchObject({ state: "DELETED" })
|
|
45
|
+
expect(cancelledActualCard).toMatchObject({ state: "DELETED" })
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as model from "../../../model"
|
|
2
|
+
|
|
3
|
+
export function factory(card: Partial<model.CreateCardRequest>): model.CreateCardRequest {
|
|
4
|
+
const request: model.CreateCardRequest = {
|
|
5
|
+
cardType: {
|
|
6
|
+
cardTypeId: "VISA_DEBIT_CORPORATE",
|
|
7
|
+
},
|
|
8
|
+
providerAccountId: "AAAAAAA",
|
|
9
|
+
providerCode: "modulr",
|
|
10
|
+
balance: 1,
|
|
11
|
+
currency: "EUR",
|
|
12
|
+
friendlyName: "test card",
|
|
13
|
+
...card,
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
return request
|
|
17
|
+
}
|
|
@@ -2,7 +2,7 @@ import { mathExact } from "math-exact"
|
|
|
2
2
|
import * as model from "../../../model"
|
|
3
3
|
|
|
4
4
|
export function factory(card: Partial<model.CreateCardRequest>): [model.CreateCardRequest, model.CardResponseV2, model.CardResponse] {
|
|
5
|
-
const
|
|
5
|
+
const request: model.CreateCardRequest = {
|
|
6
6
|
cardType: {
|
|
7
7
|
cardTypeId: "VISA_DEBIT_CORPORATE",
|
|
8
8
|
},
|
|
@@ -14,77 +14,59 @@ export function factory(card: Partial<model.CreateCardRequest>): [model.CreateCa
|
|
|
14
14
|
...card,
|
|
15
15
|
}
|
|
16
16
|
return [
|
|
17
|
-
|
|
17
|
+
request,
|
|
18
18
|
{
|
|
19
|
-
cardType:
|
|
19
|
+
cardType: request.cardType.cardTypeId,
|
|
20
20
|
cardNumber: expect.stringMatching(/\d{16}/),
|
|
21
21
|
cvv: expect.stringMatching(/\d{3}/),
|
|
22
22
|
expiryDate: expect.stringMatching(/\d{4}-\d{2}/),
|
|
23
23
|
nameOnCard: expect.any(String),
|
|
24
|
-
balance:
|
|
24
|
+
balance: request.providerCode == "modulr" ? mathExact("Add", request.balance, 1) : request.balance,
|
|
25
25
|
issueDate: new Date().toISOString().slice(0,10),
|
|
26
26
|
providerCardId: expect.any(String),
|
|
27
|
-
providerCode:
|
|
28
|
-
usage:
|
|
27
|
+
providerCode: request.providerCode,
|
|
28
|
+
usage: request.providerCode == "modulr" ? "SINGLE_USE_ALLOW_TEST_AUTH" : "SINGLE_USE",
|
|
29
29
|
createdBy: process.env.username,
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
|
-
cardType:
|
|
32
|
+
cardType: request.cardType.cardTypeId,
|
|
33
33
|
cardNumber: expect.stringMatching(/\d{16}/),
|
|
34
34
|
cvv: expect.stringMatching(/\d{3}/),
|
|
35
35
|
expiryDate: expect.stringMatching(/\d{4}-\d{2}/),
|
|
36
36
|
nameOnCard: expect.any(String),
|
|
37
|
-
balance:
|
|
37
|
+
balance: request.providerCode == "modulr" ? mathExact("Add", request.balance, 2) : request.balance,
|
|
38
38
|
issueDate: new Date().toISOString().slice(0,10),
|
|
39
39
|
providerCardId: expect.any(String),
|
|
40
|
-
providerCode:
|
|
41
|
-
usage:
|
|
40
|
+
providerCode: request.providerCode,
|
|
41
|
+
usage: request.providerCode == "modulr" ? "SINGLE_USE_ALLOW_TEST_AUTH" : "SINGLE_USE",
|
|
42
42
|
createdBy: expect.any(String),
|
|
43
|
-
remainingBalance:
|
|
43
|
+
remainingBalance: request.providerCode == "modulr" ? mathExact("Add", request.balance, 2) : request.balance,
|
|
44
44
|
cardForm: "GENERATABLE",
|
|
45
45
|
state: "ACTIVE",
|
|
46
46
|
cardAccount: {
|
|
47
47
|
id: expect.any(Number),
|
|
48
48
|
providerAccountId: expect.any(String),
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
status: 'ACTIVE'
|
|
59
|
-
},
|
|
60
|
-
currency: result.currency,
|
|
61
|
-
state: 'ACTIVE',
|
|
62
|
-
friendlyName: expect.any(String),
|
|
63
|
-
balance: result.providerCode == "modulr" ? mathExact("Add", result.balance, 2) : result.balance,
|
|
64
|
-
accountType: 'CARD',
|
|
65
|
-
updatedOn: expect.stringMatching(/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d+/),
|
|
66
|
-
createdOn: expect.stringMatching(/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d+/),
|
|
49
|
+
provider: expect.objectContaining({ id: expect.any(Number), code: request.providerCode, name: expect.any(String), status: 'ACTIVE' }),
|
|
50
|
+
organisation: { code: expect.any(String), name: expect.any(String), status: 'ACTIVE' },
|
|
51
|
+
currency: request.currency,
|
|
52
|
+
state: 'ACTIVE',
|
|
53
|
+
friendlyName: expect.any(String),
|
|
54
|
+
balance: request.providerCode == "modulr" ? mathExact("Add", request.balance, 2) : request.balance,
|
|
55
|
+
accountType: 'CARD',
|
|
56
|
+
updatedOn: expect.stringMatching(/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d+/),
|
|
57
|
+
createdOn: expect.stringMatching(/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d+/),
|
|
67
58
|
},
|
|
68
59
|
fundingAccount: {
|
|
69
60
|
id: expect.any(Number),
|
|
70
61
|
providerAccountId: expect.any(String),
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
name: expect.any(String),
|
|
80
|
-
status: 'ACTIVE'
|
|
81
|
-
},
|
|
82
|
-
currency: result.currency,
|
|
83
|
-
state: 'ACTIVE',
|
|
84
|
-
friendlyName: expect.any(String),
|
|
85
|
-
balance: expect.any(Number),
|
|
86
|
-
accountType: 'FUNDING',
|
|
87
|
-
updatedOn: expect.stringMatching(/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d+/),
|
|
62
|
+
provider: { id: expect.any(Number), code: request.providerCode, name: expect.any(String), status: 'ACTIVE' },
|
|
63
|
+
organisation: { code: expect.any(String), name: expect.any(String), status: 'ACTIVE' },
|
|
64
|
+
currency: request.currency,
|
|
65
|
+
state: 'ACTIVE',
|
|
66
|
+
friendlyName: expect.any(String),
|
|
67
|
+
balance: expect.any(Number),
|
|
68
|
+
accountType: 'FUNDING',
|
|
69
|
+
updatedOn: expect.stringMatching(/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d+/),
|
|
88
70
|
},
|
|
89
71
|
creatingSystem: expect.any(String),
|
|
90
72
|
},
|
package/Client/Cards/index.ts
CHANGED
|
@@ -9,7 +9,7 @@ export class Cards extends List<
|
|
|
9
9
|
model.CreateCardRequest,
|
|
10
10
|
Card
|
|
11
11
|
> {
|
|
12
|
-
protected folder = "cards"
|
|
12
|
+
protected folder = "cards/virtual"
|
|
13
13
|
constructor(connection: Connection) {
|
|
14
14
|
super(connection)
|
|
15
15
|
}
|
|
@@ -30,8 +30,8 @@ export class Cards extends List<
|
|
|
30
30
|
return model.ErrorResponse.is(result) ? result : this.map(result)
|
|
31
31
|
}
|
|
32
32
|
async createLegacy(request: model.CreateCardRequest) {
|
|
33
|
-
const result = await this.connection.post<model.
|
|
34
|
-
return model.ErrorResponse.is(result) ? result : this.
|
|
33
|
+
const result = await this.connection.post<model.CardResponse>("cards/virtual", request)
|
|
34
|
+
return model.ErrorResponse.is(result) ? result : this.mapLegacy(result)
|
|
35
35
|
}
|
|
36
36
|
static create(connection: Connection): Cards {
|
|
37
37
|
return new Cards(connection)
|
|
@@ -4,16 +4,21 @@ import { Resource } from "../Resource";
|
|
|
4
4
|
export declare class Card extends Resource<model.CardResponse, model.CreateCardRequest> {
|
|
5
5
|
constructor(connection: Connection, folder: string, backend: model.CardResponse);
|
|
6
6
|
amend(request: model.AmendCardRequest): Promise<model.CardResponse | (model.ErrorResponse & {
|
|
7
|
-
status: 400 |
|
|
7
|
+
status: 400 | 403 | 404 | 500 | 503;
|
|
8
8
|
})>;
|
|
9
9
|
freeze(): Promise<model.CardResponse | (model.ErrorResponse & {
|
|
10
|
-
status: 400 |
|
|
10
|
+
status: 400 | 403 | 404 | 500 | 503;
|
|
11
11
|
})>;
|
|
12
|
-
thaw():
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
status: 400 |
|
|
12
|
+
thaw(): Promise<model.CardResponse | (model.ErrorResponse & {
|
|
13
|
+
status: 400 | 403 | 404 | 500 | 503;
|
|
14
|
+
})>;
|
|
15
|
+
cancel(): Promise<model.CardResponse | (model.ErrorResponse & {
|
|
16
|
+
status: 400 | 403 | 404 | 500 | 503;
|
|
17
|
+
})>;
|
|
18
|
+
process(): Promise<model.CardResponse | (model.ErrorResponse & {
|
|
19
|
+
status: 400 | 403 | 404 | 500 | 503;
|
|
20
|
+
})>;
|
|
21
|
+
getTransactions(): Promise<model.CardResponse | (model.ErrorResponse & {
|
|
22
|
+
status: 400 | 403 | 404 | 500 | 503;
|
|
17
23
|
})>;
|
|
18
|
-
getBackend(): model.CardResponse;
|
|
19
24
|
}
|
|
@@ -10,19 +10,16 @@ export class Card extends Resource {
|
|
|
10
10
|
return this.connection.get(`${this.folder}/freeze`);
|
|
11
11
|
}
|
|
12
12
|
thaw() {
|
|
13
|
-
this.connection.get(`${this.folder}/thaw`);
|
|
13
|
+
return this.connection.get(`${this.folder}/thaw`);
|
|
14
14
|
}
|
|
15
15
|
cancel() {
|
|
16
|
-
this.connection.get(`${this.folder}/cancel`);
|
|
16
|
+
return this.connection.get(`${this.folder}/cancel`);
|
|
17
17
|
}
|
|
18
18
|
process() {
|
|
19
|
-
this.connection.get(`${this.folder}/statements/processed`);
|
|
19
|
+
return this.connection.get(`${this.folder}/statements/processed`);
|
|
20
20
|
}
|
|
21
21
|
getTransactions() {
|
|
22
22
|
return this.connection.get(`${this.folder}/transactions`);
|
|
23
23
|
}
|
|
24
|
-
getBackend() {
|
|
25
|
-
return this.backend;
|
|
26
|
-
}
|
|
27
24
|
}
|
|
28
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Card/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,OAAO,IAAK,SAAQ,QAAqD;IAC9E,YAAY,UAAsB,EAAE,MAAc,EAAE,OAA2B;QAC9E,KAAK,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAA;IACnC,CAAC;IACD,KAAK,CAAC,OAA+B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Card/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,OAAO,IAAK,SAAQ,QAAqD;IAC9E,YAAY,UAAsB,EAAE,MAAc,EAAE,OAA2B;QAC9E,KAAK,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAA;IACnC,CAAC;IACD,KAAK,CAAC,OAA+B;QAGpC,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAqB,GAAG,IAAI,CAAC,MAAM,QAAQ,EAAE,OAAO,CAAC,CAAA;IACjF,CAAC;IACD,MAAM;QAGL,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAqB,GAAG,IAAI,CAAC,MAAM,SAAS,CAAC,CAAA;IACxE,CAAC;IACD,IAAI;QAGH,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAqB,GAAG,IAAI,CAAC,MAAM,OAAO,CAAC,CAAA;IACtE,CAAC;IACD,MAAM;QAGL,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAqB,GAAG,IAAI,CAAC,MAAM,SAAS,CAAC,CAAA;IACxE,CAAC;IACD,OAAO;QAGN,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAqB,GAAG,IAAI,CAAC,MAAM,uBAAuB,CAAC,CAAA;IACtF,CAAC;IACD,eAAe;QAGd,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAA4B,GAAG,IAAI,CAAC,MAAM,eAAe,CAAC,CAAA;IACrF,CAAC;CACD"}
|
|
@@ -14,7 +14,7 @@ export declare class Cards extends List<model.CardResponseV2 | model.CardRespons
|
|
|
14
14
|
}) | (Card & model.CardResponseV2)>;
|
|
15
15
|
createLegacy(request: model.CreateCardRequest): Promise<(model.ErrorResponse & {
|
|
16
16
|
status: 400 | 404 | 500 | 403 | 503;
|
|
17
|
-
}) | (Card & model.
|
|
17
|
+
}) | (Card & model.CardResponse)>;
|
|
18
18
|
static create(connection: Connection): Cards;
|
|
19
19
|
getCard(providerCardId: string, providerCode: model.ProviderCode): Promise<(model.ErrorResponse & {
|
|
20
20
|
status: 400 | 404 | 500 | 403 | 503;
|
|
@@ -4,7 +4,7 @@ import { List } from "../List";
|
|
|
4
4
|
export class Cards extends List {
|
|
5
5
|
constructor(connection) {
|
|
6
6
|
super(connection);
|
|
7
|
-
this.folder = "cards";
|
|
7
|
+
this.folder = "cards/virtual";
|
|
8
8
|
}
|
|
9
9
|
getResourcePath(resource) {
|
|
10
10
|
return [this.folder, resource.providerCode, resource.providerCardId].join("/");
|
|
@@ -24,7 +24,7 @@ export class Cards extends List {
|
|
|
24
24
|
}
|
|
25
25
|
async createLegacy(request) {
|
|
26
26
|
const result = await this.connection.post("cards/virtual", request);
|
|
27
|
-
return model.ErrorResponse.is(result) ? result : this.
|
|
27
|
+
return model.ErrorResponse.is(result) ? result : this.mapLegacy(result);
|
|
28
28
|
}
|
|
29
29
|
static create(connection) {
|
|
30
30
|
return new Cards(connection);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Cards/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,MAAM,OAAO,KAAM,SAAQ,IAK1B;IAEA,YAAY,UAAsB;QACjC,KAAK,CAAC,UAAU,CAAC,CAAA;QAFR,WAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Cards/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,MAAM,OAAO,K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