@randock/nameshift-api-client 0.0.327 → 0.0.329

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 (48) hide show
  1. package/.openapi-generator/FILES +9 -0
  2. package/README.md +3 -3
  3. package/dist/apis/BuyersApi.d.ts +72 -1
  4. package/dist/apis/BuyersApi.js +332 -0
  5. package/dist/models/AccountCommissionByDateRangeDto.d.ts +44 -0
  6. package/dist/models/AccountCommissionByDateRangeDto.js +59 -0
  7. package/dist/models/AdminAccountCommissionByDateRangeInput.d.ts +44 -0
  8. package/dist/models/AdminAccountCommissionByDateRangeInput.js +57 -0
  9. package/dist/models/AdminAccountSettingsInput.d.ts +13 -0
  10. package/dist/models/AdminAccountSettingsInput.js +5 -0
  11. package/dist/models/BulkMarkBuyerNotificationsAsReadInputDto.d.ts +38 -0
  12. package/dist/models/BulkMarkBuyerNotificationsAsReadInputDto.js +55 -0
  13. package/dist/models/BuyerNotificationAttachmentDto.d.ts +44 -0
  14. package/dist/models/BuyerNotificationAttachmentDto.js +59 -0
  15. package/dist/models/BuyerNotificationDto.d.ts +145 -0
  16. package/dist/models/BuyerNotificationDto.js +152 -0
  17. package/dist/models/BuyerNotificationListItemDto.d.ts +138 -0
  18. package/dist/models/BuyerNotificationListItemDto.js +147 -0
  19. package/dist/models/BuyerNotificationSettingsDto.d.ts +32 -0
  20. package/dist/models/BuyerNotificationSettingsDto.js +51 -0
  21. package/dist/models/BuyerSessionDto.d.ts +6 -0
  22. package/dist/models/BuyerSessionDto.js +4 -0
  23. package/dist/models/IntersectionListAccountDtoWithAccountCommissionDto.d.ts +6 -0
  24. package/dist/models/IntersectionListAccountDtoWithAccountCommissionDto.js +4 -0
  25. package/dist/models/ListBuyerNotifications200Response.d.ts +47 -0
  26. package/dist/models/ListBuyerNotifications200Response.js +62 -0
  27. package/dist/models/UpdateBuyerNotificationSettingsInput.d.ts +32 -0
  28. package/dist/models/UpdateBuyerNotificationSettingsInput.js +49 -0
  29. package/dist/models/WithSettingsInner.d.ts +13 -0
  30. package/dist/models/WithSettingsInner.js +9 -0
  31. package/dist/models/index.d.ts +9 -0
  32. package/dist/models/index.js +9 -0
  33. package/package.json +1 -1
  34. package/src/apis/BuyersApi.ts +302 -0
  35. package/src/models/AccountCommissionByDateRangeDto.ts +84 -0
  36. package/src/models/AdminAccountCommissionByDateRangeInput.ts +83 -0
  37. package/src/models/AdminAccountSettingsInput.ts +23 -0
  38. package/src/models/BulkMarkBuyerNotificationsAsReadInputDto.ts +75 -0
  39. package/src/models/BuyerNotificationAttachmentDto.ts +84 -0
  40. package/src/models/BuyerNotificationDto.ts +207 -0
  41. package/src/models/BuyerNotificationListItemDto.ts +190 -0
  42. package/src/models/BuyerNotificationSettingsDto.ts +66 -0
  43. package/src/models/BuyerSessionDto.ts +9 -0
  44. package/src/models/IntersectionListAccountDtoWithAccountCommissionDto.ts +9 -0
  45. package/src/models/ListBuyerNotifications200Response.ts +106 -0
  46. package/src/models/UpdateBuyerNotificationSettingsInput.ts +65 -0
  47. package/src/models/WithSettingsInner.ts +25 -0
  48. package/src/models/index.ts +9 -0
@@ -0,0 +1,62 @@
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.instanceOfListBuyerNotifications200Response = instanceOfListBuyerNotifications200Response;
17
+ exports.ListBuyerNotifications200ResponseFromJSON = ListBuyerNotifications200ResponseFromJSON;
18
+ exports.ListBuyerNotifications200ResponseFromJSONTyped = ListBuyerNotifications200ResponseFromJSONTyped;
19
+ exports.ListBuyerNotifications200ResponseToJSON = ListBuyerNotifications200ResponseToJSON;
20
+ exports.ListBuyerNotifications200ResponseToJSONTyped = ListBuyerNotifications200ResponseToJSONTyped;
21
+ var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
22
+ var BuyerNotificationListItemDto_1 = require("./BuyerNotificationListItemDto");
23
+ var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
24
+ /**
25
+ * Check if a given object implements the ListBuyerNotifications200Response interface.
26
+ */
27
+ function instanceOfListBuyerNotifications200Response(value) {
28
+ if (!('data' in value) || value['data'] === undefined)
29
+ return false;
30
+ if (!('meta' in value) || value['meta'] === undefined)
31
+ return false;
32
+ if (!('links' in value) || value['links'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function ListBuyerNotifications200ResponseFromJSON(json) {
37
+ return ListBuyerNotifications200ResponseFromJSONTyped(json, false);
38
+ }
39
+ function ListBuyerNotifications200ResponseFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'data': (json['data'].map(BuyerNotificationListItemDto_1.BuyerNotificationListItemDtoFromJSON)),
45
+ 'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
46
+ 'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
47
+ };
48
+ }
49
+ function ListBuyerNotifications200ResponseToJSON(json) {
50
+ return ListBuyerNotifications200ResponseToJSONTyped(json, false);
51
+ }
52
+ function ListBuyerNotifications200ResponseToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'data': (value['data'].map(BuyerNotificationListItemDto_1.BuyerNotificationListItemDtoToJSON)),
59
+ 'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
60
+ 'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
61
+ };
62
+ }
@@ -0,0 +1,32 @@
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 UpdateBuyerNotificationSettingsInput
16
+ */
17
+ export interface UpdateBuyerNotificationSettingsInput {
18
+ /**
19
+ * Disable all notifications
20
+ * @type {boolean}
21
+ * @memberof UpdateBuyerNotificationSettingsInput
22
+ */
23
+ allDisabled?: boolean;
24
+ }
25
+ /**
26
+ * Check if a given object implements the UpdateBuyerNotificationSettingsInput interface.
27
+ */
28
+ export declare function instanceOfUpdateBuyerNotificationSettingsInput(value: object): value is UpdateBuyerNotificationSettingsInput;
29
+ export declare function UpdateBuyerNotificationSettingsInputFromJSON(json: any): UpdateBuyerNotificationSettingsInput;
30
+ export declare function UpdateBuyerNotificationSettingsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateBuyerNotificationSettingsInput;
31
+ export declare function UpdateBuyerNotificationSettingsInputToJSON(json: any): UpdateBuyerNotificationSettingsInput;
32
+ export declare function UpdateBuyerNotificationSettingsInputToJSONTyped(value?: UpdateBuyerNotificationSettingsInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,49 @@
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.instanceOfUpdateBuyerNotificationSettingsInput = instanceOfUpdateBuyerNotificationSettingsInput;
17
+ exports.UpdateBuyerNotificationSettingsInputFromJSON = UpdateBuyerNotificationSettingsInputFromJSON;
18
+ exports.UpdateBuyerNotificationSettingsInputFromJSONTyped = UpdateBuyerNotificationSettingsInputFromJSONTyped;
19
+ exports.UpdateBuyerNotificationSettingsInputToJSON = UpdateBuyerNotificationSettingsInputToJSON;
20
+ exports.UpdateBuyerNotificationSettingsInputToJSONTyped = UpdateBuyerNotificationSettingsInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the UpdateBuyerNotificationSettingsInput interface.
23
+ */
24
+ function instanceOfUpdateBuyerNotificationSettingsInput(value) {
25
+ return true;
26
+ }
27
+ function UpdateBuyerNotificationSettingsInputFromJSON(json) {
28
+ return UpdateBuyerNotificationSettingsInputFromJSONTyped(json, false);
29
+ }
30
+ function UpdateBuyerNotificationSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'allDisabled': json['allDisabled'] == null ? undefined : json['allDisabled'],
36
+ };
37
+ }
38
+ function UpdateBuyerNotificationSettingsInputToJSON(json) {
39
+ return UpdateBuyerNotificationSettingsInputToJSONTyped(json, false);
40
+ }
41
+ function UpdateBuyerNotificationSettingsInputToJSONTyped(value, ignoreDiscriminator) {
42
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'allDisabled': value['allDisabled'],
48
+ };
49
+ }
@@ -14,6 +14,7 @@ import type { AccountSettingsAffiliateDto } from './AccountSettingsAffiliateDto'
14
14
  import type { MoneyDto } from './MoneyDto';
15
15
  import type { AccountAliasDto } from './AccountAliasDto';
16
16
  import type { AccountSettingsLeaseToOwnConfigurationDto } from './AccountSettingsLeaseToOwnConfigurationDto';
17
+ import type { AccountCommissionByDateRangeDto } from './AccountCommissionByDateRangeDto';
17
18
  import type { TimeTableConfigurationDto } from './TimeTableConfigurationDto';
18
19
  import type { AccountSettingsRentConfigurationDto } from './AccountSettingsRentConfigurationDto';
19
20
  /**
@@ -136,6 +137,18 @@ export interface WithSettingsInner {
136
137
  * @memberof WithSettingsInner
137
138
  */
138
139
  transferCostPaymentMaxPercentage: number;
140
+ /**
141
+ *
142
+ * @type {number}
143
+ * @memberof WithSettingsInner
144
+ */
145
+ commissionPercentage: number;
146
+ /**
147
+ *
148
+ * @type {Array<AccountCommissionByDateRangeDto>}
149
+ * @memberof WithSettingsInner
150
+ */
151
+ commissionsByDateRange: Array<AccountCommissionByDateRangeDto>;
139
152
  }
140
153
  /**
141
154
  * Check if a given object implements the WithSettingsInner interface.
@@ -23,6 +23,7 @@ var AccountSettingsAffiliateDto_1 = require("./AccountSettingsAffiliateDto");
23
23
  var MoneyDto_1 = require("./MoneyDto");
24
24
  var AccountAliasDto_1 = require("./AccountAliasDto");
25
25
  var AccountSettingsLeaseToOwnConfigurationDto_1 = require("./AccountSettingsLeaseToOwnConfigurationDto");
26
+ var AccountCommissionByDateRangeDto_1 = require("./AccountCommissionByDateRangeDto");
26
27
  var TimeTableConfigurationDto_1 = require("./TimeTableConfigurationDto");
27
28
  var AccountSettingsRentConfigurationDto_1 = require("./AccountSettingsRentConfigurationDto");
28
29
  /**
@@ -67,6 +68,10 @@ function instanceOfWithSettingsInner(value) {
67
68
  return false;
68
69
  if (!('transferCostPaymentMaxPercentage' in value) || value['transferCostPaymentMaxPercentage'] === undefined)
69
70
  return false;
71
+ if (!('commissionPercentage' in value) || value['commissionPercentage'] === undefined)
72
+ return false;
73
+ if (!('commissionsByDateRange' in value) || value['commissionsByDateRange'] === undefined)
74
+ return false;
70
75
  return true;
71
76
  }
72
77
  function WithSettingsInnerFromJSON(json) {
@@ -96,6 +101,8 @@ function WithSettingsInnerFromJSONTyped(json, ignoreDiscriminator) {
96
101
  'affiliate': (0, AccountSettingsAffiliateDto_1.AccountSettingsAffiliateDtoFromJSON)(json['affiliate']),
97
102
  'domainAffiliate': (0, AccountSettingsAffiliateDto_1.AccountSettingsAffiliateDtoFromJSON)(json['domainAffiliate']),
98
103
  'transferCostPaymentMaxPercentage': json['transferCostPaymentMaxPercentage'],
104
+ 'commissionPercentage': json['commissionPercentage'],
105
+ 'commissionsByDateRange': (json['commissionsByDateRange'].map(AccountCommissionByDateRangeDto_1.AccountCommissionByDateRangeDtoFromJSON)),
99
106
  };
100
107
  }
101
108
  function WithSettingsInnerToJSON(json) {
@@ -126,5 +133,7 @@ function WithSettingsInnerToJSONTyped(value, ignoreDiscriminator) {
126
133
  'affiliate': (0, AccountSettingsAffiliateDto_1.AccountSettingsAffiliateDtoToJSON)(value['affiliate']),
127
134
  'domainAffiliate': (0, AccountSettingsAffiliateDto_1.AccountSettingsAffiliateDtoToJSON)(value['domainAffiliate']),
128
135
  'transferCostPaymentMaxPercentage': value['transferCostPaymentMaxPercentage'],
136
+ 'commissionPercentage': value['commissionPercentage'],
137
+ 'commissionsByDateRange': (value['commissionsByDateRange'].map(AccountCommissionByDateRangeDto_1.AccountCommissionByDateRangeDtoToJSON)),
129
138
  };
130
139
  }
@@ -2,6 +2,7 @@ export * from './AccountAliasDto';
2
2
  export * from './AccountAliasInput';
3
3
  export * from './AccountBankAccountDto';
4
4
  export * from './AccountBankAccountDtoDetails';
5
+ export * from './AccountCommissionByDateRangeDto';
5
6
  export * from './AccountDto';
6
7
  export * from './AccountMetricsDto';
7
8
  export * from './AccountNotificationDto';
@@ -19,6 +20,7 @@ export * from './AccountSettingsLeaseToOwnConfigurationDto';
19
20
  export * from './AccountSettingsRentConfigurationDto';
20
21
  export * from './AccountSettingsSidnDto';
21
22
  export * from './AddressDto';
23
+ export * from './AdminAccountCommissionByDateRangeInput';
22
24
  export * from './AdminAccountLoginDto';
23
25
  export * from './AdminAccountSettingsAffiliateCommissionInput';
24
26
  export * from './AdminAccountSettingsAffiliateInput';
@@ -45,6 +47,7 @@ export * from './BatchReadSellerLeadMessageInput';
45
47
  export * from './BatchUpdateDomainsInput';
46
48
  export * from './BatchVerifyBuyerLeadsInput';
47
49
  export * from './BillingInformationDto';
50
+ export * from './BulkMarkBuyerNotificationsAsReadInputDto';
48
51
  export * from './BulkMarkNotificationsAsReadInputDto';
49
52
  export * from './BuyerDomainTransferAuthCodeDto';
50
53
  export * from './BuyerDomainTransferListItemDomainDto';
@@ -55,6 +58,10 @@ export * from './BuyerInvoiceDto';
55
58
  export * from './BuyerInvoiceSellerAccountDto';
56
59
  export * from './BuyerLeadListItemDomainDto';
57
60
  export * from './BuyerLeadListItemDto';
61
+ export * from './BuyerNotificationAttachmentDto';
62
+ export * from './BuyerNotificationDto';
63
+ export * from './BuyerNotificationListItemDto';
64
+ export * from './BuyerNotificationSettingsDto';
58
65
  export * from './BuyerSecurityUserDto';
59
66
  export * from './BuyerSessionDto';
60
67
  export * from './BuyerSubscriptionListItemDto';
@@ -167,6 +174,7 @@ export * from './ListAccountMetricsDto';
167
174
  export * from './ListAccountUserDto';
168
175
  export * from './ListAccounts200Response';
169
176
  export * from './ListBankAccounts200Response';
177
+ export * from './ListBuyerNotifications200Response';
170
178
  export * from './ListDomains200Response';
171
179
  export * from './ListDomainsWithUpdatedPricing200Response';
172
180
  export * from './ListLeadMessagesDto';
@@ -277,6 +285,7 @@ export * from './TimeTableConfigurationInput';
277
285
  export * from './UkBankAccountDetails';
278
286
  export * from './UpdateAccountBillingInformationInput';
279
287
  export * from './UpdateBuyerDomainTransferIpsTagInputDto';
288
+ export * from './UpdateBuyerNotificationSettingsInput';
280
289
  export * from './UpdateDomainInput';
281
290
  export * from './UpdateDomainTransferAuthCodeInput';
282
291
  export * from './UpdateDomainTransferIpsTagInput';
@@ -20,6 +20,7 @@ __exportStar(require("./AccountAliasDto"), exports);
20
20
  __exportStar(require("./AccountAliasInput"), exports);
21
21
  __exportStar(require("./AccountBankAccountDto"), exports);
22
22
  __exportStar(require("./AccountBankAccountDtoDetails"), exports);
23
+ __exportStar(require("./AccountCommissionByDateRangeDto"), exports);
23
24
  __exportStar(require("./AccountDto"), exports);
24
25
  __exportStar(require("./AccountMetricsDto"), exports);
25
26
  __exportStar(require("./AccountNotificationDto"), exports);
@@ -37,6 +38,7 @@ __exportStar(require("./AccountSettingsLeaseToOwnConfigurationDto"), exports);
37
38
  __exportStar(require("./AccountSettingsRentConfigurationDto"), exports);
38
39
  __exportStar(require("./AccountSettingsSidnDto"), exports);
39
40
  __exportStar(require("./AddressDto"), exports);
41
+ __exportStar(require("./AdminAccountCommissionByDateRangeInput"), exports);
40
42
  __exportStar(require("./AdminAccountLoginDto"), exports);
41
43
  __exportStar(require("./AdminAccountSettingsAffiliateCommissionInput"), exports);
42
44
  __exportStar(require("./AdminAccountSettingsAffiliateInput"), exports);
@@ -63,6 +65,7 @@ __exportStar(require("./BatchReadSellerLeadMessageInput"), exports);
63
65
  __exportStar(require("./BatchUpdateDomainsInput"), exports);
64
66
  __exportStar(require("./BatchVerifyBuyerLeadsInput"), exports);
65
67
  __exportStar(require("./BillingInformationDto"), exports);
68
+ __exportStar(require("./BulkMarkBuyerNotificationsAsReadInputDto"), exports);
66
69
  __exportStar(require("./BulkMarkNotificationsAsReadInputDto"), exports);
67
70
  __exportStar(require("./BuyerDomainTransferAuthCodeDto"), exports);
68
71
  __exportStar(require("./BuyerDomainTransferListItemDomainDto"), exports);
@@ -73,6 +76,10 @@ __exportStar(require("./BuyerInvoiceDto"), exports);
73
76
  __exportStar(require("./BuyerInvoiceSellerAccountDto"), exports);
74
77
  __exportStar(require("./BuyerLeadListItemDomainDto"), exports);
75
78
  __exportStar(require("./BuyerLeadListItemDto"), exports);
79
+ __exportStar(require("./BuyerNotificationAttachmentDto"), exports);
80
+ __exportStar(require("./BuyerNotificationDto"), exports);
81
+ __exportStar(require("./BuyerNotificationListItemDto"), exports);
82
+ __exportStar(require("./BuyerNotificationSettingsDto"), exports);
76
83
  __exportStar(require("./BuyerSecurityUserDto"), exports);
77
84
  __exportStar(require("./BuyerSessionDto"), exports);
78
85
  __exportStar(require("./BuyerSubscriptionListItemDto"), exports);
@@ -185,6 +192,7 @@ __exportStar(require("./ListAccountMetricsDto"), exports);
185
192
  __exportStar(require("./ListAccountUserDto"), exports);
186
193
  __exportStar(require("./ListAccounts200Response"), exports);
187
194
  __exportStar(require("./ListBankAccounts200Response"), exports);
195
+ __exportStar(require("./ListBuyerNotifications200Response"), exports);
188
196
  __exportStar(require("./ListDomains200Response"), exports);
189
197
  __exportStar(require("./ListDomainsWithUpdatedPricing200Response"), exports);
190
198
  __exportStar(require("./ListLeadMessagesDto"), exports);
@@ -295,6 +303,7 @@ __exportStar(require("./TimeTableConfigurationInput"), exports);
295
303
  __exportStar(require("./UkBankAccountDetails"), exports);
296
304
  __exportStar(require("./UpdateAccountBillingInformationInput"), exports);
297
305
  __exportStar(require("./UpdateBuyerDomainTransferIpsTagInputDto"), exports);
306
+ __exportStar(require("./UpdateBuyerNotificationSettingsInput"), exports);
298
307
  __exportStar(require("./UpdateDomainInput"), exports);
299
308
  __exportStar(require("./UpdateDomainTransferAuthCodeInput"), exports);
300
309
  __exportStar(require("./UpdateDomainTransferIpsTagInput"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.327",
3
+ "version": "0.0.329",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {