Skip to content

Commit 67c8391

Browse files
[create-pull-request] automated change (#1290)
Co-authored-by: jillingk <93914435+jillingk@users.noreply.github.com>
1 parent a2690ff commit 67c8391

File tree

66 files changed

+760
-212
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+760
-212
lines changed

src/typings/balancePlatform/addressRequirement.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class AddressRequirement {
1616
/**
1717
* List of address fields.
1818
*/
19-
'requiredAddressFields'?: Array<string>;
19+
'requiredAddressFields'?: Array<AddressRequirement.RequiredAddressFieldsEnum>;
2020
/**
2121
* **addressRequirement**
2222
*/
@@ -33,7 +33,7 @@ export class AddressRequirement {
3333
{
3434
"name": "requiredAddressFields",
3535
"baseName": "requiredAddressFields",
36-
"type": "Array<string>"
36+
"type": "Array<AddressRequirement.RequiredAddressFieldsEnum>"
3737
},
3838
{
3939
"name": "type",
@@ -47,6 +47,13 @@ export class AddressRequirement {
4747
}
4848

4949
export namespace AddressRequirement {
50+
export enum RequiredAddressFieldsEnum {
51+
City = 'city',
52+
Country = 'country',
53+
Line1 = 'line1',
54+
PostalCode = 'postalCode',
55+
StateOrProvince = 'stateOrProvince'
56+
}
5057
export enum TypeEnum {
5158
AddressRequirement = 'addressRequirement'
5259
}

src/typings/balancePlatform/models.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ export * from './hULocalAccountIdentification';
7171
export * from './ibanAccountIdentification';
7272
export * from './internationalTransactionRestriction';
7373
export * from './invalidField';
74-
export * from './jSONObject';
75-
export * from './jSONPath';
7674
export * from './listNetworkTokensResponse';
7775
export * from './matchingTransactionsRestriction';
7876
export * from './mccsRestriction';
@@ -105,6 +103,8 @@ export * from './repaymentTerm';
105103
export * from './restServiceError';
106104
export * from './sELocalAccountIdentification';
107105
export * from './sGLocalAccountIdentification';
106+
export * from './sameAmountRestriction';
107+
export * from './sameCounterpartyRestriction';
108108
export * from './stringMatch';
109109
export * from './sweepConfigurationV2';
110110
export * from './sweepCounterparty';
@@ -196,8 +196,6 @@ import { HULocalAccountIdentification } from './hULocalAccountIdentification';
196196
import { IbanAccountIdentification } from './ibanAccountIdentification';
197197
import { InternationalTransactionRestriction } from './internationalTransactionRestriction';
198198
import { InvalidField } from './invalidField';
199-
import { JSONObject } from './jSONObject';
200-
import { JSONPath } from './jSONPath';
201199
import { ListNetworkTokensResponse } from './listNetworkTokensResponse';
202200
import { MatchingTransactionsRestriction } from './matchingTransactionsRestriction';
203201
import { MccsRestriction } from './mccsRestriction';
@@ -230,6 +228,8 @@ import { RepaymentTerm } from './repaymentTerm';
230228
import { RestServiceError } from './restServiceError';
231229
import { SELocalAccountIdentification } from './sELocalAccountIdentification';
232230
import { SGLocalAccountIdentification } from './sGLocalAccountIdentification';
231+
import { SameAmountRestriction } from './sameAmountRestriction';
232+
import { SameCounterpartyRestriction } from './sameCounterpartyRestriction';
233233
import { StringMatch } from './stringMatch';
234234
import { SweepConfigurationV2 } from './sweepConfigurationV2';
235235
import { SweepCounterparty } from './sweepCounterparty';
@@ -280,6 +280,7 @@ let enumsMap: {[index: string]: any} = {
280280
"AccountSupportingEntityCapability.RequestedLevelEnum": AccountSupportingEntityCapability.RequestedLevelEnum,
281281
"AccountSupportingEntityCapability.VerificationStatusEnum": AccountSupportingEntityCapability.VerificationStatusEnum,
282282
"AdditionalBankIdentification.TypeEnum": AdditionalBankIdentification.TypeEnum,
283+
"AddressRequirement.RequiredAddressFieldsEnum": AddressRequirement.RequiredAddressFieldsEnum,
283284
"AddressRequirement.TypeEnum": AddressRequirement.TypeEnum,
284285
"AmountMinMaxRequirement.TypeEnum": AmountMinMaxRequirement.TypeEnum,
285286
"BRLocalAccountIdentification.TypeEnum": BRLocalAccountIdentification.TypeEnum,
@@ -436,8 +437,6 @@ let typeMap: {[index: string]: any} = {
436437
"IbanAccountIdentification": IbanAccountIdentification,
437438
"InternationalTransactionRestriction": InternationalTransactionRestriction,
438439
"InvalidField": InvalidField,
439-
"JSONObject": JSONObject,
440-
"JSONPath": JSONPath,
441440
"ListNetworkTokensResponse": ListNetworkTokensResponse,
442441
"MatchingTransactionsRestriction": MatchingTransactionsRestriction,
443442
"MccsRestriction": MccsRestriction,
@@ -470,6 +469,8 @@ let typeMap: {[index: string]: any} = {
470469
"RestServiceError": RestServiceError,
471470
"SELocalAccountIdentification": SELocalAccountIdentification,
472471
"SGLocalAccountIdentification": SGLocalAccountIdentification,
472+
"SameAmountRestriction": SameAmountRestriction,
473+
"SameCounterpartyRestriction": SameCounterpartyRestriction,
473474
"StringMatch": StringMatch,
474475
"SweepConfigurationV2": SweepConfigurationV2,
475476
"SweepCounterparty": SweepCounterparty,

src/typings/balancePlatform/restServiceError.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
*/
99

1010
import { InvalidField } from './invalidField';
11-
import { JSONObject } from './jSONObject';
1211

1312
export class RestServiceError {
1413
/**
@@ -31,7 +30,7 @@ export class RestServiceError {
3130
* A unique reference for the request, essentially the same as `pspReference`.
3231
*/
3332
'requestId'?: string;
34-
'response'?: JSONObject;
33+
'response'?: object;
3534
/**
3635
* The HTTP status code.
3736
*/
@@ -76,7 +75,7 @@ export class RestServiceError {
7675
{
7776
"name": "response",
7877
"baseName": "response",
79-
"type": "JSONObject"
78+
"type": "object"
8079
},
8180
{
8281
"name": "status",

src/typings/balancePlatform/jSONObject.ts renamed to src/typings/balancePlatform/sameAmountRestriction.ts

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,30 @@
77
* Do not edit this class manually.
88
*/
99

10-
import { JSONPath } from './jSONPath';
1110

12-
export class JSONObject {
13-
'paths'?: Array<JSONPath>;
14-
'rootPath'?: JSONPath;
11+
export class SameAmountRestriction {
12+
/**
13+
* Defines how the condition must be evaluated.
14+
*/
15+
'operation': string;
16+
'value'?: boolean;
1517

1618
static discriminator: string | undefined = undefined;
1719

1820
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
1921
{
20-
"name": "paths",
21-
"baseName": "paths",
22-
"type": "Array<JSONPath>"
22+
"name": "operation",
23+
"baseName": "operation",
24+
"type": "string"
2325
},
2426
{
25-
"name": "rootPath",
26-
"baseName": "rootPath",
27-
"type": "JSONPath"
27+
"name": "value",
28+
"baseName": "value",
29+
"type": "boolean"
2830
} ];
2931

3032
static getAttributeTypeMap() {
31-
return JSONObject.attributeTypeMap;
33+
return SameAmountRestriction.attributeTypeMap;
3234
}
3335
}
3436

src/typings/balancePlatform/jSONPath.ts renamed to src/typings/balancePlatform/sameCounterpartyRestriction.ts

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,29 @@
88
*/
99

1010

11-
export class JSONPath {
12-
'content'?: Array<string>;
11+
export class SameCounterpartyRestriction {
12+
/**
13+
* Defines how the condition must be evaluated.
14+
*/
15+
'operation': string;
16+
'value'?: boolean;
1317

1418
static discriminator: string | undefined = undefined;
1519

1620
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
1721
{
18-
"name": "content",
19-
"baseName": "content",
20-
"type": "Array<string>"
22+
"name": "operation",
23+
"baseName": "operation",
24+
"type": "string"
25+
},
26+
{
27+
"name": "value",
28+
"baseName": "value",
29+
"type": "boolean"
2130
} ];
2231

2332
static getAttributeTypeMap() {
24-
return JSONPath.attributeTypeMap;
33+
return SameCounterpartyRestriction.attributeTypeMap;
2534
}
2635
}
2736

src/typings/balancePlatform/transactionRuleRestrictions.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ import { MccsRestriction } from './mccsRestriction';
2020
import { MerchantNamesRestriction } from './merchantNamesRestriction';
2121
import { MerchantsRestriction } from './merchantsRestriction';
2222
import { ProcessingTypesRestriction } from './processingTypesRestriction';
23+
import { SameAmountRestriction } from './sameAmountRestriction';
24+
import { SameCounterpartyRestriction } from './sameCounterpartyRestriction';
2325
import { TimeOfDayRestriction } from './timeOfDayRestriction';
2426
import { TotalAmountRestriction } from './totalAmountRestriction';
2527

@@ -37,6 +39,8 @@ export class TransactionRuleRestrictions {
3739
'merchantNames'?: MerchantNamesRestriction;
3840
'merchants'?: MerchantsRestriction;
3941
'processingTypes'?: ProcessingTypesRestriction;
42+
'sameAmountRestriction'?: SameAmountRestriction;
43+
'sameCounterpartyRestriction'?: SameCounterpartyRestriction;
4044
'timeOfDay'?: TimeOfDayRestriction;
4145
'totalAmount'?: TotalAmountRestriction;
4246

@@ -108,6 +112,16 @@ export class TransactionRuleRestrictions {
108112
"baseName": "processingTypes",
109113
"type": "ProcessingTypesRestriction"
110114
},
115+
{
116+
"name": "sameAmountRestriction",
117+
"baseName": "sameAmountRestriction",
118+
"type": "SameAmountRestriction"
119+
},
120+
{
121+
"name": "sameCounterpartyRestriction",
122+
"baseName": "sameCounterpartyRestriction",
123+
"type": "SameCounterpartyRestriction"
124+
},
111125
{
112126
"name": "timeOfDay",
113127
"baseName": "timeOfDay",

src/typings/balancePlatform/transferRoute.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export namespace TransferRoute {
7777
IssuedCard = 'issuedCard',
7878
Migration = 'migration',
7979
PlatformPayment = 'platformPayment',
80+
TopUp = 'topUp',
8081
Upgrade = 'upgrade'
8182
}
8283
export enum PriorityEnum {

src/typings/binLookup/recurring.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ export namespace Recurring {
7272
}
7373
export enum TokenServiceEnum {
7474
Visatokenservice = 'VISATOKENSERVICE',
75-
Mctokenservice = 'MCTOKENSERVICE'
75+
Mctokenservice = 'MCTOKENSERVICE',
76+
Amextokenservice = 'AMEXTOKENSERVICE',
77+
TokenSharing = 'TOKEN_SHARING'
7678
}
7779
}

src/typings/checkout/applePayDetails.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export class ApplePayDetails {
7575

7676
export namespace ApplePayDetails {
7777
export enum FundingSourceEnum {
78+
Credit = 'credit',
7879
Debit = 'debit'
7980
}
8081
export enum TypeEnum {

src/typings/checkout/cardDetails.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ export class CardDetails {
189189

190190
export namespace CardDetails {
191191
export enum FundingSourceEnum {
192+
Credit = 'credit',
192193
Debit = 'debit'
193194
}
194195
export enum TypeEnum {

0 commit comments

Comments
 (0)