@randock/nameshift-api-client 0.0.4 → 0.0.6

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 (39) hide show
  1. package/.openapi-generator/FILES +5 -3
  2. package/dist/apis/AccountsApi.d.ts +9 -1
  3. package/dist/apis/AccountsApi.js +50 -0
  4. package/dist/apis/DomainsPublicApi.d.ts +26 -0
  5. package/dist/apis/DomainsPublicApi.js +121 -0
  6. package/dist/apis/LeadsPublicApi.d.ts +27 -0
  7. package/dist/apis/LeadsPublicApi.js +124 -0
  8. package/dist/apis/index.d.ts +2 -2
  9. package/dist/apis/index.js +2 -2
  10. package/dist/models/AccountDto.d.ts +37 -0
  11. package/dist/models/AccountDto.js +53 -0
  12. package/dist/models/DomainDto.d.ts +6 -0
  13. package/dist/models/DomainDto.js +3 -0
  14. package/dist/models/IntersectionAccountDtoWithAddressDto.d.ts +6 -0
  15. package/dist/models/IntersectionAccountDtoWithAddressDto.js +3 -0
  16. package/dist/models/IntersectionAccountDtoWithFinancialDto.d.ts +6 -0
  17. package/dist/models/IntersectionAccountDtoWithFinancialDto.js +3 -0
  18. package/dist/models/IntersectionAccountDtoWithSettingsDto.d.ts +6 -0
  19. package/dist/models/IntersectionAccountDtoWithSettingsDto.js +3 -0
  20. package/dist/models/PublicDomainControllerGetDomainIdentifier404Response.d.ts +43 -0
  21. package/dist/models/PublicDomainControllerGetDomainIdentifier404Response.js +56 -0
  22. package/dist/models/UpdateSettings429Response.d.ts +43 -0
  23. package/dist/models/UpdateSettings429Response.js +56 -0
  24. package/dist/models/index.d.ts +3 -1
  25. package/dist/models/index.js +3 -1
  26. package/package.json +1 -1
  27. package/src/apis/AccountsApi.ts +40 -3
  28. package/src/apis/DomainsApi.ts +3 -3
  29. package/src/apis/DomainsPublicApi.ts +62 -0
  30. package/src/apis/LeadsPublicApi.ts +71 -0
  31. package/src/apis/index.ts +2 -2
  32. package/src/models/AccountDto.ts +75 -0
  33. package/src/models/DomainDto.ts +9 -0
  34. package/src/models/IntersectionAccountDtoWithAddressDto.ts +9 -0
  35. package/src/models/IntersectionAccountDtoWithFinancialDto.ts +9 -0
  36. package/src/models/IntersectionAccountDtoWithSettingsDto.ts +9 -0
  37. package/src/models/PublicDomainControllerGetDomainIdentifier404Response.ts +83 -0
  38. package/src/models/UpdateSettings429Response.ts +83 -0
  39. package/src/models/index.ts +3 -1
@@ -32,6 +32,12 @@ export interface IntersectionAccountDtoWithFinancialDto {
32
32
  * @memberof IntersectionAccountDtoWithFinancialDto
33
33
  */
34
34
  id: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof IntersectionAccountDtoWithFinancialDto
39
+ */
40
+ identifier: string;
35
41
  /**
36
42
  *
37
43
  * @type {IntersectionAccountDtoWithFinancialDtoFinancial}
@@ -46,6 +52,7 @@ export interface IntersectionAccountDtoWithFinancialDto {
46
52
  export function instanceOfIntersectionAccountDtoWithFinancialDto(value: object): boolean {
47
53
  let isInstance = true;
48
54
  isInstance = isInstance && "id" in value;
55
+ isInstance = isInstance && "identifier" in value;
49
56
  isInstance = isInstance && "financial" in value;
50
57
 
51
58
  return isInstance;
@@ -62,6 +69,7 @@ export function IntersectionAccountDtoWithFinancialDtoFromJSONTyped(json: any, i
62
69
  return {
63
70
 
64
71
  'id': json['id'],
72
+ 'identifier': json['identifier'],
65
73
  'financial': IntersectionAccountDtoWithFinancialDtoFinancialFromJSON(json['financial']),
66
74
  };
67
75
  }
@@ -76,6 +84,7 @@ export function IntersectionAccountDtoWithFinancialDtoToJSON(value?: Intersectio
76
84
  return {
77
85
 
78
86
  'id': value.id,
87
+ 'identifier': value.identifier,
79
88
  'financial': IntersectionAccountDtoWithFinancialDtoFinancialToJSON(value.financial),
80
89
  };
81
90
  }
@@ -32,6 +32,12 @@ export interface IntersectionAccountDtoWithSettingsDto {
32
32
  * @memberof IntersectionAccountDtoWithSettingsDto
33
33
  */
34
34
  id: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof IntersectionAccountDtoWithSettingsDto
39
+ */
40
+ identifier: string;
35
41
  /**
36
42
  *
37
43
  * @type {IntersectionAccountDtoWithSettingsDtoSettings}
@@ -46,6 +52,7 @@ export interface IntersectionAccountDtoWithSettingsDto {
46
52
  export function instanceOfIntersectionAccountDtoWithSettingsDto(value: object): boolean {
47
53
  let isInstance = true;
48
54
  isInstance = isInstance && "id" in value;
55
+ isInstance = isInstance && "identifier" in value;
49
56
  isInstance = isInstance && "settings" in value;
50
57
 
51
58
  return isInstance;
@@ -62,6 +69,7 @@ export function IntersectionAccountDtoWithSettingsDtoFromJSONTyped(json: any, ig
62
69
  return {
63
70
 
64
71
  'id': json['id'],
72
+ 'identifier': json['identifier'],
65
73
  'settings': IntersectionAccountDtoWithSettingsDtoSettingsFromJSON(json['settings']),
66
74
  };
67
75
  }
@@ -76,6 +84,7 @@ export function IntersectionAccountDtoWithSettingsDtoToJSON(value?: Intersection
76
84
  return {
77
85
 
78
86
  'id': value.id,
87
+ 'identifier': value.identifier,
79
88
  'settings': IntersectionAccountDtoWithSettingsDtoSettingsToJSON(value.settings),
80
89
  };
81
90
  }
@@ -0,0 +1,83 @@
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 { exists, mapValues } from '../runtime';
16
+ /**
17
+ * Thrown if domain is not found.
18
+ * @export
19
+ * @interface PublicDomainControllerGetDomainIdentifier404Response
20
+ */
21
+ export interface PublicDomainControllerGetDomainIdentifier404Response {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof PublicDomainControllerGetDomainIdentifier404Response
26
+ */
27
+ statusCode: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof PublicDomainControllerGetDomainIdentifier404Response
32
+ */
33
+ message: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof PublicDomainControllerGetDomainIdentifier404Response
38
+ */
39
+ error?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the PublicDomainControllerGetDomainIdentifier404Response interface.
44
+ */
45
+ export function instanceOfPublicDomainControllerGetDomainIdentifier404Response(value: object): boolean {
46
+ let isInstance = true;
47
+ isInstance = isInstance && "statusCode" in value;
48
+ isInstance = isInstance && "message" in value;
49
+
50
+ return isInstance;
51
+ }
52
+
53
+ export function PublicDomainControllerGetDomainIdentifier404ResponseFromJSON(json: any): PublicDomainControllerGetDomainIdentifier404Response {
54
+ return PublicDomainControllerGetDomainIdentifier404ResponseFromJSONTyped(json, false);
55
+ }
56
+
57
+ export function PublicDomainControllerGetDomainIdentifier404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicDomainControllerGetDomainIdentifier404Response {
58
+ if ((json === undefined) || (json === null)) {
59
+ return json;
60
+ }
61
+ return {
62
+
63
+ 'statusCode': json['statusCode'],
64
+ 'message': json['message'],
65
+ 'error': !exists(json, 'error') ? undefined : json['error'],
66
+ };
67
+ }
68
+
69
+ export function PublicDomainControllerGetDomainIdentifier404ResponseToJSON(value?: PublicDomainControllerGetDomainIdentifier404Response | null): any {
70
+ if (value === undefined) {
71
+ return undefined;
72
+ }
73
+ if (value === null) {
74
+ return null;
75
+ }
76
+ return {
77
+
78
+ 'statusCode': value.statusCode,
79
+ 'message': value.message,
80
+ 'error': value.error,
81
+ };
82
+ }
83
+
@@ -0,0 +1,83 @@
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 { exists, mapValues } from '../runtime';
16
+ /**
17
+ * Returned if more than 300 requests are made per minute.
18
+ * @export
19
+ * @interface UpdateSettings429Response
20
+ */
21
+ export interface UpdateSettings429Response {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof UpdateSettings429Response
26
+ */
27
+ statusCode: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof UpdateSettings429Response
32
+ */
33
+ message: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof UpdateSettings429Response
38
+ */
39
+ error?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the UpdateSettings429Response interface.
44
+ */
45
+ export function instanceOfUpdateSettings429Response(value: object): boolean {
46
+ let isInstance = true;
47
+ isInstance = isInstance && "statusCode" in value;
48
+ isInstance = isInstance && "message" in value;
49
+
50
+ return isInstance;
51
+ }
52
+
53
+ export function UpdateSettings429ResponseFromJSON(json: any): UpdateSettings429Response {
54
+ return UpdateSettings429ResponseFromJSONTyped(json, false);
55
+ }
56
+
57
+ export function UpdateSettings429ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSettings429Response {
58
+ if ((json === undefined) || (json === null)) {
59
+ return json;
60
+ }
61
+ return {
62
+
63
+ 'statusCode': json['statusCode'],
64
+ 'message': json['message'],
65
+ 'error': !exists(json, 'error') ? undefined : json['error'],
66
+ };
67
+ }
68
+
69
+ export function UpdateSettings429ResponseToJSON(value?: UpdateSettings429Response | null): any {
70
+ if (value === undefined) {
71
+ return undefined;
72
+ }
73
+ if (value === null) {
74
+ return null;
75
+ }
76
+ return {
77
+
78
+ 'statusCode': value.statusCode,
79
+ 'message': value.message,
80
+ 'error': value.error,
81
+ };
82
+ }
83
+
@@ -2,6 +2,7 @@
2
2
  /* eslint-disable */
3
3
  export * from './AccountAddressDto';
4
4
  export * from './AccountAddressInput';
5
+ export * from './AccountDto';
5
6
  export * from './AccountFinancialInput';
6
7
  export * from './AccountSettingsInput';
7
8
  export * from './BatchUpdate404Response';
@@ -19,7 +20,6 @@ export * from './LeadDto';
19
20
  export * from './List200Response';
20
21
  export * from './List400Response';
21
22
  export * from './List401Response';
22
- export * from './List429Response';
23
23
  export * from './Login401Response';
24
24
  export * from './Login429Response';
25
25
  export * from './LoginInput';
@@ -28,6 +28,8 @@ export * from './MoneyInput';
28
28
  export * from './PaginateResponse';
29
29
  export * from './PaginateResponseLinks';
30
30
  export * from './PaginateResponseMeta';
31
+ export * from './PublicDomainControllerGetDomainIdentifier404Response';
31
32
  export * from './TokenDto';
32
33
  export * from './UpdateDomainInput';
33
34
  export * from './UpdateSettings401Response';
35
+ export * from './UpdateSettings429Response';