@randock/nameshift-api-client 0.0.372 → 0.0.373

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.
@@ -356,6 +356,7 @@ src/models/RequestEmailOtpInput.ts
356
356
  src/models/SalesCountCommissionPayloadDto.ts
357
357
  src/models/SalesCountCommissionPayloadInput.ts
358
358
  src/models/SalesCountCommissionReasonPayloadDto.ts
359
+ src/models/SeBankAccountDetails.ts
359
360
  src/models/SellerAccountReferralListItemDto.ts
360
361
  src/models/SellerAffiliateCommissionDto.ts
361
362
  src/models/SellerAuctionListItemDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.372
1
+ ## @randock/nameshift-api-client@0.0.373
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @randock/nameshift-api-client@0.0.372 --save
39
+ npm install @randock/nameshift-api-client@0.0.373 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
- e69ff99439309b5e525c109e7f4008f2f1cf490299a5c1d3e650bd08000e22486eda11bb61fbf4a942fd80c148f53444
47
+ 79216ea505e80a90fbaf77983f94b09af4fe7a4d69620aca8b1cac2ef2ffc18ef37439d9ae2fabccdffe59c10c202251
@@ -12,6 +12,7 @@
12
12
  import type { AuBankAccountDetails } from './AuBankAccountDetails';
13
13
  import type { CaBankAccountDetails } from './CaBankAccountDetails';
14
14
  import type { NzBankAccountDetails } from './NzBankAccountDetails';
15
+ import type { SeBankAccountDetails } from './SeBankAccountDetails';
15
16
  import type { SepaBankAccountDetails } from './SepaBankAccountDetails';
16
17
  import type { UkBankAccountDetails } from './UkBankAccountDetails';
17
18
  import type { UsBankAccountDetails } from './UsBankAccountDetails';
@@ -27,6 +28,8 @@ export type AccountBankAccountDtoDetails = {
27
28
  } & CaBankAccountDetails | {
28
29
  type: 'NzBankAccountDetails';
29
30
  } & NzBankAccountDetails | {
31
+ type: 'SeBankAccountDetails';
32
+ } & SeBankAccountDetails | {
30
33
  type: 'SepaBankAccountDetails';
31
34
  } & SepaBankAccountDetails | {
32
35
  type: 'UkBankAccountDetails';
@@ -20,6 +20,7 @@ exports.AccountBankAccountDtoDetailsToJSONTyped = AccountBankAccountDtoDetailsTo
20
20
  var AuBankAccountDetails_1 = require("./AuBankAccountDetails");
21
21
  var CaBankAccountDetails_1 = require("./CaBankAccountDetails");
22
22
  var NzBankAccountDetails_1 = require("./NzBankAccountDetails");
23
+ var SeBankAccountDetails_1 = require("./SeBankAccountDetails");
23
24
  var SepaBankAccountDetails_1 = require("./SepaBankAccountDetails");
24
25
  var UkBankAccountDetails_1 = require("./UkBankAccountDetails");
25
26
  var UsBankAccountDetails_1 = require("./UsBankAccountDetails");
@@ -37,6 +38,8 @@ function AccountBankAccountDtoDetailsFromJSONTyped(json, ignoreDiscriminator) {
37
38
  return Object.assign({}, (0, CaBankAccountDetails_1.CaBankAccountDetailsFromJSONTyped)(json, true), { type: 'CaBankAccountDetails' });
38
39
  case 'NzBankAccountDetails':
39
40
  return Object.assign({}, (0, NzBankAccountDetails_1.NzBankAccountDetailsFromJSONTyped)(json, true), { type: 'NzBankAccountDetails' });
41
+ case 'SeBankAccountDetails':
42
+ return Object.assign({}, (0, SeBankAccountDetails_1.SeBankAccountDetailsFromJSONTyped)(json, true), { type: 'SeBankAccountDetails' });
40
43
  case 'SepaBankAccountDetails':
41
44
  return Object.assign({}, (0, SepaBankAccountDetails_1.SepaBankAccountDetailsFromJSONTyped)(json, true), { type: 'SepaBankAccountDetails' });
42
45
  case 'UkBankAccountDetails':
@@ -62,6 +65,8 @@ function AccountBankAccountDtoDetailsToJSONTyped(value, ignoreDiscriminator) {
62
65
  return Object.assign({}, (0, CaBankAccountDetails_1.CaBankAccountDetailsToJSON)(value), { type: 'CaBankAccountDetails' });
63
66
  case 'NzBankAccountDetails':
64
67
  return Object.assign({}, (0, NzBankAccountDetails_1.NzBankAccountDetailsToJSON)(value), { type: 'NzBankAccountDetails' });
68
+ case 'SeBankAccountDetails':
69
+ return Object.assign({}, (0, SeBankAccountDetails_1.SeBankAccountDetailsToJSON)(value), { type: 'SeBankAccountDetails' });
65
70
  case 'SepaBankAccountDetails':
66
71
  return Object.assign({}, (0, SepaBankAccountDetails_1.SepaBankAccountDetailsToJSON)(value), { type: 'SepaBankAccountDetails' });
67
72
  case 'UkBankAccountDetails':
@@ -49,6 +49,7 @@ export declare const AuBankAccountDetailsTypeEnum: {
49
49
  readonly CA_BANK_ACCOUNT_DETAILS: "CaBankAccountDetails";
50
50
  readonly NZ_BANK_ACCOUNT_DETAILS: "NzBankAccountDetails";
51
51
  readonly AU_BANK_ACCOUNT_DETAILS: "AuBankAccountDetails";
52
+ readonly SE_BANK_ACCOUNT_DETAILS: "SeBankAccountDetails";
52
53
  readonly SEPA_BANK_ACCOUNT_DETAILS: "SepaBankAccountDetails";
53
54
  };
54
55
  export type AuBankAccountDetailsTypeEnum = typeof AuBankAccountDetailsTypeEnum[keyof typeof AuBankAccountDetailsTypeEnum];
@@ -28,6 +28,7 @@ exports.AuBankAccountDetailsTypeEnum = {
28
28
  CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
29
29
  NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
30
30
  AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
31
+ SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
31
32
  SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
32
33
  };
33
34
  /**
@@ -55,6 +55,7 @@ export declare const CaBankAccountDetailsTypeEnum: {
55
55
  readonly CA_BANK_ACCOUNT_DETAILS: "CaBankAccountDetails";
56
56
  readonly NZ_BANK_ACCOUNT_DETAILS: "NzBankAccountDetails";
57
57
  readonly AU_BANK_ACCOUNT_DETAILS: "AuBankAccountDetails";
58
+ readonly SE_BANK_ACCOUNT_DETAILS: "SeBankAccountDetails";
58
59
  readonly SEPA_BANK_ACCOUNT_DETAILS: "SepaBankAccountDetails";
59
60
  };
60
61
  export type CaBankAccountDetailsTypeEnum = typeof CaBankAccountDetailsTypeEnum[keyof typeof CaBankAccountDetailsTypeEnum];
@@ -28,6 +28,7 @@ exports.CaBankAccountDetailsTypeEnum = {
28
28
  CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
29
29
  NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
30
30
  AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
31
+ SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
31
32
  SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
32
33
  };
33
34
  /**
@@ -43,6 +43,7 @@ export declare const NzBankAccountDetailsTypeEnum: {
43
43
  readonly CA_BANK_ACCOUNT_DETAILS: "CaBankAccountDetails";
44
44
  readonly NZ_BANK_ACCOUNT_DETAILS: "NzBankAccountDetails";
45
45
  readonly AU_BANK_ACCOUNT_DETAILS: "AuBankAccountDetails";
46
+ readonly SE_BANK_ACCOUNT_DETAILS: "SeBankAccountDetails";
46
47
  readonly SEPA_BANK_ACCOUNT_DETAILS: "SepaBankAccountDetails";
47
48
  };
48
49
  export type NzBankAccountDetailsTypeEnum = typeof NzBankAccountDetailsTypeEnum[keyof typeof NzBankAccountDetailsTypeEnum];
@@ -28,6 +28,7 @@ exports.NzBankAccountDetailsTypeEnum = {
28
28
  CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
29
29
  NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
30
30
  AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
31
+ SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
31
32
  SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
32
33
  };
33
34
  /**
@@ -0,0 +1,75 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SeBankAccountDetails
16
+ */
17
+ export interface SeBankAccountDetails {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SeBankAccountDetails
22
+ */
23
+ type: SeBankAccountDetailsTypeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SeBankAccountDetails
28
+ */
29
+ countryCode: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SeBankAccountDetails
34
+ */
35
+ bankCode: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SeBankAccountDetails
40
+ */
41
+ accountNumber: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof SeBankAccountDetails
46
+ */
47
+ iban: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof SeBankAccountDetails
52
+ */
53
+ bic: string;
54
+ }
55
+ /**
56
+ * @export
57
+ */
58
+ export declare const SeBankAccountDetailsTypeEnum: {
59
+ readonly UK_BANK_ACCOUNT_DETAILS: "UkBankAccountDetails";
60
+ readonly US_BANK_ACCOUNT_DETAILS: "UsBankAccountDetails";
61
+ readonly CA_BANK_ACCOUNT_DETAILS: "CaBankAccountDetails";
62
+ readonly NZ_BANK_ACCOUNT_DETAILS: "NzBankAccountDetails";
63
+ readonly AU_BANK_ACCOUNT_DETAILS: "AuBankAccountDetails";
64
+ readonly SE_BANK_ACCOUNT_DETAILS: "SeBankAccountDetails";
65
+ readonly SEPA_BANK_ACCOUNT_DETAILS: "SepaBankAccountDetails";
66
+ };
67
+ export type SeBankAccountDetailsTypeEnum = typeof SeBankAccountDetailsTypeEnum[keyof typeof SeBankAccountDetailsTypeEnum];
68
+ /**
69
+ * Check if a given object implements the SeBankAccountDetails interface.
70
+ */
71
+ export declare function instanceOfSeBankAccountDetails(value: object): value is SeBankAccountDetails;
72
+ export declare function SeBankAccountDetailsFromJSON(json: any): SeBankAccountDetails;
73
+ export declare function SeBankAccountDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SeBankAccountDetails;
74
+ export declare function SeBankAccountDetailsToJSON(json: any): SeBankAccountDetails;
75
+ export declare function SeBankAccountDetailsToJSONTyped(value?: SeBankAccountDetails | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SeBankAccountDetailsTypeEnum = void 0;
17
+ exports.instanceOfSeBankAccountDetails = instanceOfSeBankAccountDetails;
18
+ exports.SeBankAccountDetailsFromJSON = SeBankAccountDetailsFromJSON;
19
+ exports.SeBankAccountDetailsFromJSONTyped = SeBankAccountDetailsFromJSONTyped;
20
+ exports.SeBankAccountDetailsToJSON = SeBankAccountDetailsToJSON;
21
+ exports.SeBankAccountDetailsToJSONTyped = SeBankAccountDetailsToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.SeBankAccountDetailsTypeEnum = {
26
+ UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
27
+ US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
28
+ CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
29
+ NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
30
+ AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
31
+ SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
32
+ SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
33
+ };
34
+ /**
35
+ * Check if a given object implements the SeBankAccountDetails interface.
36
+ */
37
+ function instanceOfSeBankAccountDetails(value) {
38
+ if (!('type' in value) || value['type'] === undefined)
39
+ return false;
40
+ if (!('countryCode' in value) || value['countryCode'] === undefined)
41
+ return false;
42
+ if (!('bankCode' in value) || value['bankCode'] === undefined)
43
+ return false;
44
+ if (!('accountNumber' in value) || value['accountNumber'] === undefined)
45
+ return false;
46
+ if (!('iban' in value) || value['iban'] === undefined)
47
+ return false;
48
+ if (!('bic' in value) || value['bic'] === undefined)
49
+ return false;
50
+ return true;
51
+ }
52
+ function SeBankAccountDetailsFromJSON(json) {
53
+ return SeBankAccountDetailsFromJSONTyped(json, false);
54
+ }
55
+ function SeBankAccountDetailsFromJSONTyped(json, ignoreDiscriminator) {
56
+ if (json == null) {
57
+ return json;
58
+ }
59
+ return {
60
+ 'type': json['type'],
61
+ 'countryCode': json['countryCode'],
62
+ 'bankCode': json['bankCode'],
63
+ 'accountNumber': json['accountNumber'],
64
+ 'iban': json['iban'],
65
+ 'bic': json['bic'],
66
+ };
67
+ }
68
+ function SeBankAccountDetailsToJSON(json) {
69
+ return SeBankAccountDetailsToJSONTyped(json, false);
70
+ }
71
+ function SeBankAccountDetailsToJSONTyped(value, ignoreDiscriminator) {
72
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+ return {
77
+ 'type': value['type'],
78
+ 'countryCode': value['countryCode'],
79
+ 'bankCode': value['bankCode'],
80
+ 'accountNumber': value['accountNumber'],
81
+ 'iban': value['iban'],
82
+ 'bic': value['bic'],
83
+ };
84
+ }
@@ -49,6 +49,7 @@ export declare const SepaBankAccountDetailsTypeEnum: {
49
49
  readonly CA_BANK_ACCOUNT_DETAILS: "CaBankAccountDetails";
50
50
  readonly NZ_BANK_ACCOUNT_DETAILS: "NzBankAccountDetails";
51
51
  readonly AU_BANK_ACCOUNT_DETAILS: "AuBankAccountDetails";
52
+ readonly SE_BANK_ACCOUNT_DETAILS: "SeBankAccountDetails";
52
53
  readonly SEPA_BANK_ACCOUNT_DETAILS: "SepaBankAccountDetails";
53
54
  };
54
55
  export type SepaBankAccountDetailsTypeEnum = typeof SepaBankAccountDetailsTypeEnum[keyof typeof SepaBankAccountDetailsTypeEnum];
@@ -28,6 +28,7 @@ exports.SepaBankAccountDetailsTypeEnum = {
28
28
  CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
29
29
  NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
30
30
  AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
31
+ SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
31
32
  SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
32
33
  };
33
34
  /**
@@ -49,6 +49,7 @@ export declare const UkBankAccountDetailsTypeEnum: {
49
49
  readonly CA_BANK_ACCOUNT_DETAILS: "CaBankAccountDetails";
50
50
  readonly NZ_BANK_ACCOUNT_DETAILS: "NzBankAccountDetails";
51
51
  readonly AU_BANK_ACCOUNT_DETAILS: "AuBankAccountDetails";
52
+ readonly SE_BANK_ACCOUNT_DETAILS: "SeBankAccountDetails";
52
53
  readonly SEPA_BANK_ACCOUNT_DETAILS: "SepaBankAccountDetails";
53
54
  };
54
55
  export type UkBankAccountDetailsTypeEnum = typeof UkBankAccountDetailsTypeEnum[keyof typeof UkBankAccountDetailsTypeEnum];
@@ -28,6 +28,7 @@ exports.UkBankAccountDetailsTypeEnum = {
28
28
  CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
29
29
  NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
30
30
  AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
31
+ SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
31
32
  SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
32
33
  };
33
34
  /**
@@ -49,6 +49,7 @@ export declare const UsBankAccountDetailsTypeEnum: {
49
49
  readonly CA_BANK_ACCOUNT_DETAILS: "CaBankAccountDetails";
50
50
  readonly NZ_BANK_ACCOUNT_DETAILS: "NzBankAccountDetails";
51
51
  readonly AU_BANK_ACCOUNT_DETAILS: "AuBankAccountDetails";
52
+ readonly SE_BANK_ACCOUNT_DETAILS: "SeBankAccountDetails";
52
53
  readonly SEPA_BANK_ACCOUNT_DETAILS: "SepaBankAccountDetails";
53
54
  };
54
55
  export type UsBankAccountDetailsTypeEnum = typeof UsBankAccountDetailsTypeEnum[keyof typeof UsBankAccountDetailsTypeEnum];
@@ -28,6 +28,7 @@ exports.UsBankAccountDetailsTypeEnum = {
28
28
  CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
29
29
  NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
30
30
  AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
31
+ SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
31
32
  SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
32
33
  };
33
34
  /**
@@ -321,6 +321,7 @@ export * from './RequestEmailOtpInput';
321
321
  export * from './SalesCountCommissionPayloadDto';
322
322
  export * from './SalesCountCommissionPayloadInput';
323
323
  export * from './SalesCountCommissionReasonPayloadDto';
324
+ export * from './SeBankAccountDetails';
324
325
  export * from './SellerAccountReferralListItemDto';
325
326
  export * from './SellerAffiliateCommissionDto';
326
327
  export * from './SellerAuctionListItemDto';
@@ -339,6 +339,7 @@ __exportStar(require("./RequestEmailOtpInput"), exports);
339
339
  __exportStar(require("./SalesCountCommissionPayloadDto"), exports);
340
340
  __exportStar(require("./SalesCountCommissionPayloadInput"), exports);
341
341
  __exportStar(require("./SalesCountCommissionReasonPayloadDto"), exports);
342
+ __exportStar(require("./SeBankAccountDetails"), exports);
342
343
  __exportStar(require("./SellerAccountReferralListItemDto"), exports);
343
344
  __exportStar(require("./SellerAffiliateCommissionDto"), exports);
344
345
  __exportStar(require("./SellerAuctionListItemDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.372",
3
+ "version": "0.0.373",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -33,6 +33,13 @@ import {
33
33
  NzBankAccountDetailsFromJSONTyped,
34
34
  NzBankAccountDetailsToJSON,
35
35
  } from './NzBankAccountDetails';
36
+ import type { SeBankAccountDetails } from './SeBankAccountDetails';
37
+ import {
38
+ instanceOfSeBankAccountDetails,
39
+ SeBankAccountDetailsFromJSON,
40
+ SeBankAccountDetailsFromJSONTyped,
41
+ SeBankAccountDetailsToJSON,
42
+ } from './SeBankAccountDetails';
36
43
  import type { SepaBankAccountDetails } from './SepaBankAccountDetails';
37
44
  import {
38
45
  instanceOfSepaBankAccountDetails,
@@ -60,7 +67,7 @@ import {
60
67
  *
61
68
  * @export
62
69
  */
63
- export type AccountBankAccountDtoDetails = { type: 'AuBankAccountDetails' } & AuBankAccountDetails | { type: 'CaBankAccountDetails' } & CaBankAccountDetails | { type: 'NzBankAccountDetails' } & NzBankAccountDetails | { type: 'SepaBankAccountDetails' } & SepaBankAccountDetails | { type: 'UkBankAccountDetails' } & UkBankAccountDetails | { type: 'UsBankAccountDetails' } & UsBankAccountDetails;
70
+ export type AccountBankAccountDtoDetails = { type: 'AuBankAccountDetails' } & AuBankAccountDetails | { type: 'CaBankAccountDetails' } & CaBankAccountDetails | { type: 'NzBankAccountDetails' } & NzBankAccountDetails | { type: 'SeBankAccountDetails' } & SeBankAccountDetails | { type: 'SepaBankAccountDetails' } & SepaBankAccountDetails | { type: 'UkBankAccountDetails' } & UkBankAccountDetails | { type: 'UsBankAccountDetails' } & UsBankAccountDetails;
64
71
 
65
72
  export function AccountBankAccountDtoDetailsFromJSON(json: any): AccountBankAccountDtoDetails {
66
73
  return AccountBankAccountDtoDetailsFromJSONTyped(json, false);
@@ -77,6 +84,8 @@ export function AccountBankAccountDtoDetailsFromJSONTyped(json: any, ignoreDiscr
77
84
  return Object.assign({}, CaBankAccountDetailsFromJSONTyped(json, true), { type: 'CaBankAccountDetails' } as const);
78
85
  case 'NzBankAccountDetails':
79
86
  return Object.assign({}, NzBankAccountDetailsFromJSONTyped(json, true), { type: 'NzBankAccountDetails' } as const);
87
+ case 'SeBankAccountDetails':
88
+ return Object.assign({}, SeBankAccountDetailsFromJSONTyped(json, true), { type: 'SeBankAccountDetails' } as const);
80
89
  case 'SepaBankAccountDetails':
81
90
  return Object.assign({}, SepaBankAccountDetailsFromJSONTyped(json, true), { type: 'SepaBankAccountDetails' } as const);
82
91
  case 'UkBankAccountDetails':
@@ -103,6 +112,8 @@ export function AccountBankAccountDtoDetailsToJSONTyped(value?: AccountBankAccou
103
112
  return Object.assign({}, CaBankAccountDetailsToJSON(value), { type: 'CaBankAccountDetails' } as const);
104
113
  case 'NzBankAccountDetails':
105
114
  return Object.assign({}, NzBankAccountDetailsToJSON(value), { type: 'NzBankAccountDetails' } as const);
115
+ case 'SeBankAccountDetails':
116
+ return Object.assign({}, SeBankAccountDetailsToJSON(value), { type: 'SeBankAccountDetails' } as const);
106
117
  case 'SepaBankAccountDetails':
107
118
  return Object.assign({}, SepaBankAccountDetailsToJSON(value), { type: 'SepaBankAccountDetails' } as const);
108
119
  case 'UkBankAccountDetails':
@@ -55,6 +55,7 @@ export const AuBankAccountDetailsTypeEnum = {
55
55
  CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
56
56
  NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
57
57
  AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
58
+ SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
58
59
  SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
59
60
  } as const;
60
61
  export type AuBankAccountDetailsTypeEnum = typeof AuBankAccountDetailsTypeEnum[keyof typeof AuBankAccountDetailsTypeEnum];
@@ -61,6 +61,7 @@ export const CaBankAccountDetailsTypeEnum = {
61
61
  CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
62
62
  NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
63
63
  AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
64
+ SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
64
65
  SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
65
66
  } as const;
66
67
  export type CaBankAccountDetailsTypeEnum = typeof CaBankAccountDetailsTypeEnum[keyof typeof CaBankAccountDetailsTypeEnum];
@@ -49,6 +49,7 @@ export const NzBankAccountDetailsTypeEnum = {
49
49
  CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
50
50
  NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
51
51
  AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
52
+ SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
52
53
  SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
53
54
  } as const;
54
55
  export type NzBankAccountDetailsTypeEnum = typeof NzBankAccountDetailsTypeEnum[keyof typeof NzBankAccountDetailsTypeEnum];
@@ -0,0 +1,127 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift API
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface SeBankAccountDetails
20
+ */
21
+ export interface SeBankAccountDetails {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof SeBankAccountDetails
26
+ */
27
+ type: SeBankAccountDetailsTypeEnum;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof SeBankAccountDetails
32
+ */
33
+ countryCode: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof SeBankAccountDetails
38
+ */
39
+ bankCode: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof SeBankAccountDetails
44
+ */
45
+ accountNumber: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof SeBankAccountDetails
50
+ */
51
+ iban: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof SeBankAccountDetails
56
+ */
57
+ bic: string;
58
+ }
59
+
60
+
61
+ /**
62
+ * @export
63
+ */
64
+ export const SeBankAccountDetailsTypeEnum = {
65
+ UK_BANK_ACCOUNT_DETAILS: 'UkBankAccountDetails',
66
+ US_BANK_ACCOUNT_DETAILS: 'UsBankAccountDetails',
67
+ CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
68
+ NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
69
+ AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
70
+ SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
71
+ SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
72
+ } as const;
73
+ export type SeBankAccountDetailsTypeEnum = typeof SeBankAccountDetailsTypeEnum[keyof typeof SeBankAccountDetailsTypeEnum];
74
+
75
+
76
+ /**
77
+ * Check if a given object implements the SeBankAccountDetails interface.
78
+ */
79
+ export function instanceOfSeBankAccountDetails(value: object): value is SeBankAccountDetails {
80
+ if (!('type' in value) || value['type'] === undefined) return false;
81
+ if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
82
+ if (!('bankCode' in value) || value['bankCode'] === undefined) return false;
83
+ if (!('accountNumber' in value) || value['accountNumber'] === undefined) return false;
84
+ if (!('iban' in value) || value['iban'] === undefined) return false;
85
+ if (!('bic' in value) || value['bic'] === undefined) return false;
86
+ return true;
87
+ }
88
+
89
+ export function SeBankAccountDetailsFromJSON(json: any): SeBankAccountDetails {
90
+ return SeBankAccountDetailsFromJSONTyped(json, false);
91
+ }
92
+
93
+ export function SeBankAccountDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SeBankAccountDetails {
94
+ if (json == null) {
95
+ return json;
96
+ }
97
+ return {
98
+
99
+ 'type': json['type'],
100
+ 'countryCode': json['countryCode'],
101
+ 'bankCode': json['bankCode'],
102
+ 'accountNumber': json['accountNumber'],
103
+ 'iban': json['iban'],
104
+ 'bic': json['bic'],
105
+ };
106
+ }
107
+
108
+ export function SeBankAccountDetailsToJSON(json: any): SeBankAccountDetails {
109
+ return SeBankAccountDetailsToJSONTyped(json, false);
110
+ }
111
+
112
+ export function SeBankAccountDetailsToJSONTyped(value?: SeBankAccountDetails | null, ignoreDiscriminator: boolean = false): any {
113
+ if (value == null) {
114
+ return value;
115
+ }
116
+
117
+ return {
118
+
119
+ 'type': value['type'],
120
+ 'countryCode': value['countryCode'],
121
+ 'bankCode': value['bankCode'],
122
+ 'accountNumber': value['accountNumber'],
123
+ 'iban': value['iban'],
124
+ 'bic': value['bic'],
125
+ };
126
+ }
127
+
@@ -55,6 +55,7 @@ export const SepaBankAccountDetailsTypeEnum = {
55
55
  CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
56
56
  NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
57
57
  AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
58
+ SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
58
59
  SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
59
60
  } as const;
60
61
  export type SepaBankAccountDetailsTypeEnum = typeof SepaBankAccountDetailsTypeEnum[keyof typeof SepaBankAccountDetailsTypeEnum];
@@ -55,6 +55,7 @@ export const UkBankAccountDetailsTypeEnum = {
55
55
  CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
56
56
  NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
57
57
  AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
58
+ SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
58
59
  SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
59
60
  } as const;
60
61
  export type UkBankAccountDetailsTypeEnum = typeof UkBankAccountDetailsTypeEnum[keyof typeof UkBankAccountDetailsTypeEnum];
@@ -55,6 +55,7 @@ export const UsBankAccountDetailsTypeEnum = {
55
55
  CA_BANK_ACCOUNT_DETAILS: 'CaBankAccountDetails',
56
56
  NZ_BANK_ACCOUNT_DETAILS: 'NzBankAccountDetails',
57
57
  AU_BANK_ACCOUNT_DETAILS: 'AuBankAccountDetails',
58
+ SE_BANK_ACCOUNT_DETAILS: 'SeBankAccountDetails',
58
59
  SEPA_BANK_ACCOUNT_DETAILS: 'SepaBankAccountDetails'
59
60
  } as const;
60
61
  export type UsBankAccountDetailsTypeEnum = typeof UsBankAccountDetailsTypeEnum[keyof typeof UsBankAccountDetailsTypeEnum];
@@ -323,6 +323,7 @@ export * from './RequestEmailOtpInput';
323
323
  export * from './SalesCountCommissionPayloadDto';
324
324
  export * from './SalesCountCommissionPayloadInput';
325
325
  export * from './SalesCountCommissionReasonPayloadDto';
326
+ export * from './SeBankAccountDetails';
326
327
  export * from './SellerAccountReferralListItemDto';
327
328
  export * from './SellerAffiliateCommissionDto';
328
329
  export * from './SellerAuctionListItemDto';