@pax2pay/client 0.8.1 → 0.8.3
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/Accounts/index.ts +0 -5
- package/Client/CardTypes/index.ts +51 -9
- package/Client/Cards/index.ts +0 -178
- package/dist/Client/Accounts/index.d.ts +0 -3
- package/dist/Client/Accounts/index.js +0 -3
- package/dist/Client/Accounts/index.js.map +1 -1
- package/dist/Client/CardTypes/index.d.ts +7 -5
- package/dist/Client/CardTypes/index.js +21 -8
- package/dist/Client/CardTypes/index.js.map +1 -1
- package/dist/Client/Cards/index.d.ts +0 -39
- package/dist/Client/Cards/index.js +0 -76
- package/dist/Client/Cards/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/model/OmnisetupResponse.d.ts +2 -2
- package/dist/model/index.d.ts +1 -6
- package/dist/model/index.js +1 -3
- package/dist/model/index.js.map +1 -1
- package/index.ts +0 -10
- package/model/OmnisetupResponse.ts +2 -2
- package/model/index.ts +0 -10
- package/package.json +1 -1
- package/dist/model/CardTypeProfileResponse.d.ts +0 -16
- package/dist/model/CardTypeProfileResponse.js +0 -18
- package/dist/model/CardTypeProfileResponse.js.map +0 -1
- package/dist/model/CardTypeProfileStatus.d.ts +0 -7
- package/dist/model/CardTypeProfileStatus.js +0 -8
- package/dist/model/CardTypeProfileStatus.js.map +0 -1
- package/dist/model/CreateCardTypeProfileRequest.d.ts +0 -13
- package/dist/model/CreateCardTypeProfileRequest.js +0 -2
- package/dist/model/CreateCardTypeProfileRequest.js.map +0 -1
- package/dist/model/OrganisationCardTypeProfileResponse.d.ts +0 -9
- package/dist/model/OrganisationCardTypeProfileResponse.js +0 -11
- package/dist/model/OrganisationCardTypeProfileResponse.js.map +0 -1
- package/dist/model/SearchCardTypeProfileRequest.d.ts +0 -15
- package/dist/model/SearchCardTypeProfileRequest.js +0 -2
- package/dist/model/SearchCardTypeProfileRequest.js.map +0 -1
- package/dist/model/UpdateCardTypeProfileRequest.d.ts +0 -12
- package/dist/model/UpdateCardTypeProfileRequest.js +0 -2
- package/dist/model/UpdateCardTypeProfileRequest.js.map +0 -1
- package/model/CardTypeProfileResponse.ts +0 -26
- package/model/CreateCardTypeProfileRequest.ts +0 -14
- package/model/OrganisationCardTypeProfileResponse.ts +0 -14
- package/model/SearchCardTypeProfileRequest.ts +0 -16
- package/model/UpdateCardTypeProfileRequest.ts +0 -13
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchCardTypeProfileRequest.js","sourceRoot":"../","sources":["model/SearchCardTypeProfileRequest.ts"],"names":[],"mappings":""}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CardTypeProfileStatus } from "./CardTypeProfileStatus";
|
|
2
|
-
import { CardTypeSpecification } from "./CardTypeSpecification";
|
|
3
|
-
export interface UpdateCardTypeProfileRequest {
|
|
4
|
-
description?: string;
|
|
5
|
-
status?: CardTypeProfileStatus;
|
|
6
|
-
cardTypes?: CardTypeSpecification[];
|
|
7
|
-
addCardTypes?: CardTypeSpecification[];
|
|
8
|
-
removeCardTypes?: CardTypeSpecification[];
|
|
9
|
-
organisations?: string[];
|
|
10
|
-
addOrganisations?: string[];
|
|
11
|
-
removeOrganisations?: string[];
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateCardTypeProfileRequest.js","sourceRoot":"../","sources":["model/UpdateCardTypeProfileRequest.ts"],"names":[],"mappings":""}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { isly } from "isly"
|
|
2
|
-
import { CardTypeProfileStatus } from "./CardTypeProfileStatus"
|
|
3
|
-
import { CardTypeSpecification } from "./CardTypeSpecification"
|
|
4
|
-
import { ProviderCode } from "./ProviderCode"
|
|
5
|
-
|
|
6
|
-
export interface CardTypeProfileResponse {
|
|
7
|
-
cardTypeProfileId: string
|
|
8
|
-
description: string
|
|
9
|
-
providerCode: ProviderCode
|
|
10
|
-
status: CardTypeProfileStatus
|
|
11
|
-
cardTypes: CardTypeSpecification[]
|
|
12
|
-
sharedBetween: string[]
|
|
13
|
-
isDefault: boolean
|
|
14
|
-
}
|
|
15
|
-
export namespace CardTypeProfileResponse {
|
|
16
|
-
export const type = isly.object<CardTypeProfileResponse>({
|
|
17
|
-
cardTypeProfileId: isly.string(),
|
|
18
|
-
description: isly.string(),
|
|
19
|
-
providerCode: isly.fromIs("ProviderCode", ProviderCode.is),
|
|
20
|
-
status: isly.fromIs("CardTypeProfileStatus", CardTypeProfileStatus.is),
|
|
21
|
-
cardTypes: isly.fromIs("CardTypeSpecification", CardTypeSpecification.is).array(),
|
|
22
|
-
sharedBetween: isly.string().array(),
|
|
23
|
-
isDefault: isly.boolean(),
|
|
24
|
-
})
|
|
25
|
-
export const is = type.is
|
|
26
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CardTypeSpecification } from "./CardTypeSpecification"
|
|
2
|
-
import { ProviderCode } from "./ProviderCode"
|
|
3
|
-
|
|
4
|
-
export interface CreateCardTypeProfileRequest {
|
|
5
|
-
cardTypeProfileId: string
|
|
6
|
-
description: string
|
|
7
|
-
providerCode: ProviderCode
|
|
8
|
-
cardTypes?: CardTypeSpecification[]
|
|
9
|
-
copyFrom?: string
|
|
10
|
-
addCardTypes?: CardTypeSpecification[]
|
|
11
|
-
removeCardTypes?: CardTypeSpecification[]
|
|
12
|
-
organisations?: string[]
|
|
13
|
-
createDefault?: boolean
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { isly } from "isly"
|
|
2
|
-
import { CardTypeProfileResponse } from "./CardTypeProfileResponse"
|
|
3
|
-
|
|
4
|
-
export interface OrganisationCardTypeProfileResponse {
|
|
5
|
-
organisationCode: string
|
|
6
|
-
cardTypeProfiles: CardTypeProfileResponse[]
|
|
7
|
-
}
|
|
8
|
-
export namespace OrganisationCardTypeProfileResponse {
|
|
9
|
-
export const type = isly.object<OrganisationCardTypeProfileResponse>({
|
|
10
|
-
organisationCode: isly.string(),
|
|
11
|
-
cardTypeProfiles: isly.fromIs("CardTypeProfileResponse", CardTypeProfileResponse.is).array(),
|
|
12
|
-
})
|
|
13
|
-
export const is = type.is
|
|
14
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { CardTypeProfileStatus } from "./CardTypeProfileStatus"
|
|
2
|
-
import { CardTypeSpecification } from "./CardTypeSpecification"
|
|
3
|
-
import { Inclusion } from "./Inclusion"
|
|
4
|
-
import { ProviderCode } from "./ProviderCode"
|
|
5
|
-
|
|
6
|
-
export interface SearchCardTypeProfileRequest {
|
|
7
|
-
cardTypeProfileId?: string
|
|
8
|
-
description?: string
|
|
9
|
-
providerCode?: ProviderCode
|
|
10
|
-
includesDefaults?: Inclusion
|
|
11
|
-
containsCardTypes?: CardTypeSpecification[]
|
|
12
|
-
exactMatch?: boolean
|
|
13
|
-
doesNotContainCardTypes?: CardTypeSpecification[]
|
|
14
|
-
includeShared?: Inclusion
|
|
15
|
-
statuses?: CardTypeProfileStatus[]
|
|
16
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CardTypeProfileStatus } from "./CardTypeProfileStatus"
|
|
2
|
-
import { CardTypeSpecification } from "./CardTypeSpecification"
|
|
3
|
-
|
|
4
|
-
export interface UpdateCardTypeProfileRequest {
|
|
5
|
-
description?: string
|
|
6
|
-
status?: CardTypeProfileStatus
|
|
7
|
-
cardTypes?: CardTypeSpecification[]
|
|
8
|
-
addCardTypes?: CardTypeSpecification[]
|
|
9
|
-
removeCardTypes?: CardTypeSpecification[]
|
|
10
|
-
organisations?: string[]
|
|
11
|
-
addOrganisations?: string[]
|
|
12
|
-
removeOrganisations?: string[]
|
|
13
|
-
}
|