Skip to content

Commit 840ee20

Browse files
committed
Applied new OpenAPI changes
1 parent 0be5b10 commit 840ee20

11 files changed

+50
-50
lines changed

src/infrastructure/model/accountAddressRestrictionTransactionBodyDTO.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import { AccountRestrictionFlagsEnum } from './accountRestrictionFlagsEnum';
2929

3030
export class AccountAddressRestrictionTransactionBodyDTO {
31-
'restrictionType': AccountRestrictionFlagsEnum;
31+
'restrictionFlags': AccountRestrictionFlagsEnum;
3232
/**
3333
* Account restriction additions.
3434
*/
@@ -42,8 +42,8 @@ export class AccountAddressRestrictionTransactionBodyDTO {
4242

4343
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
4444
{
45-
"name": "restrictionType",
46-
"baseName": "restrictionType",
45+
"name": "restrictionFlags",
46+
"baseName": "restrictionFlags",
4747
"type": "AccountRestrictionFlagsEnum"
4848
},
4949
{

src/infrastructure/model/accountAddressRestrictionTransactionDTO.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class AccountAddressRestrictionTransactionDTO {
5353
* Duration expressed in number of blocks.
5454
*/
5555
'deadline': string;
56-
'restrictionType': AccountRestrictionFlagsEnum;
56+
'restrictionFlags': AccountRestrictionFlagsEnum;
5757
/**
5858
* Account restriction additions.
5959
*/
@@ -102,8 +102,8 @@ export class AccountAddressRestrictionTransactionDTO {
102102
"type": "string"
103103
},
104104
{
105-
"name": "restrictionType",
106-
"baseName": "restrictionType",
105+
"name": "restrictionFlags",
106+
"baseName": "restrictionFlags",
107107
"type": "AccountRestrictionFlagsEnum"
108108
},
109109
{

src/infrastructure/model/accountMosaicRestrictionTransactionBodyDTO.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import { AccountRestrictionFlagsEnum } from './accountRestrictionFlagsEnum';
2929

3030
export class AccountMosaicRestrictionTransactionBodyDTO {
31-
'restrictionType': AccountRestrictionFlagsEnum;
31+
'restrictionFlags': AccountRestrictionFlagsEnum;
3232
/**
3333
* Account restriction additions.
3434
*/
@@ -42,8 +42,8 @@ export class AccountMosaicRestrictionTransactionBodyDTO {
4242

4343
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
4444
{
45-
"name": "restrictionType",
46-
"baseName": "restrictionType",
45+
"name": "restrictionFlags",
46+
"baseName": "restrictionFlags",
4747
"type": "AccountRestrictionFlagsEnum"
4848
},
4949
{

src/infrastructure/model/accountMosaicRestrictionTransactionDTO.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class AccountMosaicRestrictionTransactionDTO {
5353
* Duration expressed in number of blocks.
5454
*/
5555
'deadline': string;
56-
'restrictionType': AccountRestrictionFlagsEnum;
56+
'restrictionFlags': AccountRestrictionFlagsEnum;
5757
/**
5858
* Account restriction additions.
5959
*/
@@ -102,8 +102,8 @@ export class AccountMosaicRestrictionTransactionDTO {
102102
"type": "string"
103103
},
104104
{
105-
"name": "restrictionType",
106-
"baseName": "restrictionType",
105+
"name": "restrictionFlags",
106+
"baseName": "restrictionFlags",
107107
"type": "AccountRestrictionFlagsEnum"
108108
},
109109
{

src/infrastructure/model/accountOperationRestrictionTransactionBodyDTO.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { AccountRestrictionFlagsEnum } from './accountRestrictionFlagsEnum';
2929
import { TransactionTypeEnum } from './transactionTypeEnum';
3030

3131
export class AccountOperationRestrictionTransactionBodyDTO {
32-
'restrictionType': AccountRestrictionFlagsEnum;
32+
'restrictionFlags': AccountRestrictionFlagsEnum;
3333
/**
3434
* Account restriction additions.
3535
*/
@@ -43,8 +43,8 @@ export class AccountOperationRestrictionTransactionBodyDTO {
4343

4444
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
4545
{
46-
"name": "restrictionType",
47-
"baseName": "restrictionType",
46+
"name": "restrictionFlags",
47+
"baseName": "restrictionFlags",
4848
"type": "AccountRestrictionFlagsEnum"
4949
},
5050
{

src/infrastructure/model/accountOperationRestrictionTransactionDTO.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class AccountOperationRestrictionTransactionDTO {
5454
* Duration expressed in number of blocks.
5555
*/
5656
'deadline': string;
57-
'restrictionType': AccountRestrictionFlagsEnum;
57+
'restrictionFlags': AccountRestrictionFlagsEnum;
5858
/**
5959
* Account restriction additions.
6060
*/
@@ -103,8 +103,8 @@ export class AccountOperationRestrictionTransactionDTO {
103103
"type": "string"
104104
},
105105
{
106-
"name": "restrictionType",
107-
"baseName": "restrictionType",
106+
"name": "restrictionFlags",
107+
"baseName": "restrictionFlags",
108108
"type": "AccountRestrictionFlagsEnum"
109109
},
110110
{

src/infrastructure/model/accountRestrictionDTO.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import { AccountRestrictionFlagsEnum } from './accountRestrictionFlagsEnum';
2929

3030
export class AccountRestrictionDTO {
31-
'restrictionType': AccountRestrictionFlagsEnum;
31+
'restrictionFlags': AccountRestrictionFlagsEnum;
3232
/**
3333
* Address, mosaic id, or transaction type to restrict.
3434
*/
@@ -38,8 +38,8 @@ export class AccountRestrictionDTO {
3838

3939
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
4040
{
41-
"name": "restrictionType",
42-
"baseName": "restrictionType",
41+
"name": "restrictionFlags",
42+
"baseName": "restrictionFlags",
4343
"type": "AccountRestrictionFlagsEnum"
4444
},
4545
{

src/infrastructure/model/embeddedAccountAddressRestrictionTransactionDTO.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class EmbeddedAccountAddressRestrictionTransactionDTO {
4646
* Duration expressed in number of blocks.
4747
*/
4848
'deadline': string;
49-
'restrictionType': AccountRestrictionFlagsEnum;
49+
'restrictionFlags': AccountRestrictionFlagsEnum;
5050
/**
5151
* Account restriction additions.
5252
*/
@@ -90,8 +90,8 @@ export class EmbeddedAccountAddressRestrictionTransactionDTO {
9090
"type": "string"
9191
},
9292
{
93-
"name": "restrictionType",
94-
"baseName": "restrictionType",
93+
"name": "restrictionFlags",
94+
"baseName": "restrictionFlags",
9595
"type": "AccountRestrictionFlagsEnum"
9696
},
9797
{

src/infrastructure/model/embeddedAccountMosaicRestrictionTransactionDTO.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class EmbeddedAccountMosaicRestrictionTransactionDTO {
4646
* Duration expressed in number of blocks.
4747
*/
4848
'deadline': string;
49-
'restrictionType': AccountRestrictionFlagsEnum;
49+
'restrictionFlags': AccountRestrictionFlagsEnum;
5050
/**
5151
* Account restriction additions.
5252
*/
@@ -90,8 +90,8 @@ export class EmbeddedAccountMosaicRestrictionTransactionDTO {
9090
"type": "string"
9191
},
9292
{
93-
"name": "restrictionType",
94-
"baseName": "restrictionType",
93+
"name": "restrictionFlags",
94+
"baseName": "restrictionFlags",
9595
"type": "AccountRestrictionFlagsEnum"
9696
},
9797
{

src/infrastructure/model/embeddedAccountOperationRestrictionTransactionDTO.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class EmbeddedAccountOperationRestrictionTransactionDTO {
4747
* Duration expressed in number of blocks.
4848
*/
4949
'deadline': string;
50-
'restrictionType': AccountRestrictionFlagsEnum;
50+
'restrictionFlags': AccountRestrictionFlagsEnum;
5151
/**
5252
* Account restriction additions.
5353
*/
@@ -91,8 +91,8 @@ export class EmbeddedAccountOperationRestrictionTransactionDTO {
9191
"type": "string"
9292
},
9393
{
94-
"name": "restrictionType",
95-
"baseName": "restrictionType",
94+
"name": "restrictionFlags",
95+
"baseName": "restrictionFlags",
9696
"type": "AccountRestrictionFlagsEnum"
9797
},
9898
{

0 commit comments

Comments
 (0)