@pax2pay/client 0.8.2 → 0.8.4

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.
Files changed (50) hide show
  1. package/Client/Accounts/index.ts +0 -5
  2. package/Client/CardTypes/index.ts +25 -2
  3. package/Client/Cards/index.ts +0 -178
  4. package/Client/Merchants/index.ts +2 -1
  5. package/dist/Client/Accounts/index.d.ts +0 -3
  6. package/dist/Client/Accounts/index.js +0 -3
  7. package/dist/Client/Accounts/index.js.map +1 -1
  8. package/dist/Client/CardTypes/index.d.ts +4 -2
  9. package/dist/Client/CardTypes/index.js +12 -2
  10. package/dist/Client/CardTypes/index.js.map +1 -1
  11. package/dist/Client/Cards/index.d.ts +0 -39
  12. package/dist/Client/Cards/index.js +0 -76
  13. package/dist/Client/Cards/index.js.map +1 -1
  14. package/dist/Client/Merchants/index.d.ts +1 -1
  15. package/dist/Client/Merchants/index.js +2 -1
  16. package/dist/Client/Merchants/index.js.map +1 -1
  17. package/dist/index.d.ts +2 -2
  18. package/dist/index.js +2 -2
  19. package/dist/index.js.map +1 -1
  20. package/dist/model/OmnisetupResponse.d.ts +2 -2
  21. package/dist/model/index.d.ts +1 -6
  22. package/dist/model/index.js +1 -3
  23. package/dist/model/index.js.map +1 -1
  24. package/index.ts +0 -10
  25. package/model/OmnisetupResponse.ts +2 -2
  26. package/model/index.ts +0 -10
  27. package/package.json +1 -1
  28. package/dist/model/CardTypeProfileResponse.d.ts +0 -16
  29. package/dist/model/CardTypeProfileResponse.js +0 -18
  30. package/dist/model/CardTypeProfileResponse.js.map +0 -1
  31. package/dist/model/CardTypeProfileStatus.d.ts +0 -7
  32. package/dist/model/CardTypeProfileStatus.js +0 -8
  33. package/dist/model/CardTypeProfileStatus.js.map +0 -1
  34. package/dist/model/CreateCardTypeProfileRequest.d.ts +0 -13
  35. package/dist/model/CreateCardTypeProfileRequest.js +0 -2
  36. package/dist/model/CreateCardTypeProfileRequest.js.map +0 -1
  37. package/dist/model/OrganisationCardTypeProfileResponse.d.ts +0 -9
  38. package/dist/model/OrganisationCardTypeProfileResponse.js +0 -11
  39. package/dist/model/OrganisationCardTypeProfileResponse.js.map +0 -1
  40. package/dist/model/SearchCardTypeProfileRequest.d.ts +0 -15
  41. package/dist/model/SearchCardTypeProfileRequest.js +0 -2
  42. package/dist/model/SearchCardTypeProfileRequest.js.map +0 -1
  43. package/dist/model/UpdateCardTypeProfileRequest.d.ts +0 -12
  44. package/dist/model/UpdateCardTypeProfileRequest.js +0 -2
  45. package/dist/model/UpdateCardTypeProfileRequest.js.map +0 -1
  46. package/model/CardTypeProfileResponse.ts +0 -26
  47. package/model/CreateCardTypeProfileRequest.ts +0 -14
  48. package/model/OrganisationCardTypeProfileResponse.ts +0 -14
  49. package/model/SearchCardTypeProfileRequest.ts +0 -16
  50. 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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=UpdateCardTypeProfileRequest.js.map
@@ -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
- }