@randock/nameshift-api-client 0.0.475 → 0.0.477

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 (32) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +15 -1
  4. package/dist/apis/AdminApi.js +58 -0
  5. package/dist/apis/BuyersApi.d.ts +15 -1
  6. package/dist/apis/BuyersApi.js +58 -0
  7. package/dist/models/AccountBankAccountSummaryDto.d.ts +59 -0
  8. package/dist/models/AccountBankAccountSummaryDto.js +72 -0
  9. package/dist/models/AdminListAccountDto.d.ts +7 -0
  10. package/dist/models/AdminListAccountDto.js +5 -0
  11. package/dist/models/BuyerSubscriptionListItemDto.d.ts +7 -0
  12. package/dist/models/BuyerSubscriptionListItemDto.js +5 -0
  13. package/dist/models/CompanyInformationDto.d.ts +2 -2
  14. package/dist/models/CustomerSuccessListAccountDto.d.ts +7 -0
  15. package/dist/models/CustomerSuccessListAccountDto.js +5 -0
  16. package/dist/models/SubscriptionDetailsDto.d.ts +7 -0
  17. package/dist/models/SubscriptionDetailsDto.js +5 -0
  18. package/dist/models/UpdateSubscriptionBuyerInformationInput.d.ts +33 -0
  19. package/dist/models/UpdateSubscriptionBuyerInformationInput.js +52 -0
  20. package/dist/models/index.d.ts +2 -0
  21. package/dist/models/index.js +2 -0
  22. package/package.json +1 -1
  23. package/src/apis/AdminApi.ts +60 -0
  24. package/src/apis/BuyersApi.ts +60 -0
  25. package/src/models/AccountBankAccountSummaryDto.ts +105 -0
  26. package/src/models/AdminListAccountDto.ts +16 -0
  27. package/src/models/BuyerSubscriptionListItemDto.ts +16 -0
  28. package/src/models/CompanyInformationDto.ts +2 -2
  29. package/src/models/CustomerSuccessListAccountDto.ts +16 -0
  30. package/src/models/SubscriptionDetailsDto.ts +16 -0
  31. package/src/models/UpdateSubscriptionBuyerInformationInput.ts +74 -0
  32. package/src/models/index.ts +2 -0
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
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
+ import type { BillingInformationDto } from './BillingInformationDto';
17
+ import {
18
+ BillingInformationDtoFromJSON,
19
+ BillingInformationDtoFromJSONTyped,
20
+ BillingInformationDtoToJSON,
21
+ BillingInformationDtoToJSONTyped,
22
+ } from './BillingInformationDto';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface UpdateSubscriptionBuyerInformationInput
28
+ */
29
+ export interface UpdateSubscriptionBuyerInformationInput {
30
+ /**
31
+ * Billing information to store on the subscription. It is used to build the invoices of the upcoming renewals and does not modify the already issued ones.
32
+ * @type {BillingInformationDto}
33
+ * @memberof UpdateSubscriptionBuyerInformationInput
34
+ */
35
+ billingInformation: BillingInformationDto;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the UpdateSubscriptionBuyerInformationInput interface.
40
+ */
41
+ export function instanceOfUpdateSubscriptionBuyerInformationInput(value: object): value is UpdateSubscriptionBuyerInformationInput {
42
+ if (!('billingInformation' in value) || value['billingInformation'] === undefined) return false;
43
+ return true;
44
+ }
45
+
46
+ export function UpdateSubscriptionBuyerInformationInputFromJSON(json: any): UpdateSubscriptionBuyerInformationInput {
47
+ return UpdateSubscriptionBuyerInformationInputFromJSONTyped(json, false);
48
+ }
49
+
50
+ export function UpdateSubscriptionBuyerInformationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSubscriptionBuyerInformationInput {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+
56
+ 'billingInformation': BillingInformationDtoFromJSON(json['billingInformation']),
57
+ };
58
+ }
59
+
60
+ export function UpdateSubscriptionBuyerInformationInputToJSON(json: any): UpdateSubscriptionBuyerInformationInput {
61
+ return UpdateSubscriptionBuyerInformationInputToJSONTyped(json, false);
62
+ }
63
+
64
+ export function UpdateSubscriptionBuyerInformationInputToJSONTyped(value?: UpdateSubscriptionBuyerInformationInput | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'billingInformation': BillingInformationDtoToJSON(value['billingInformation']),
72
+ };
73
+ }
74
+
@@ -4,6 +4,7 @@ export * from './AccountAliasDto';
4
4
  export * from './AccountAliasInput';
5
5
  export * from './AccountBankAccountDto';
6
6
  export * from './AccountBankAccountDtoDetails';
7
+ export * from './AccountBankAccountSummaryDto';
7
8
  export * from './AccountChallengeRewardUsageListItemDto';
8
9
  export * from './AccountChallengeRewardUsageListItemDtoMetadata';
9
10
  export * from './AccountCommissionByDateRangeDto';
@@ -542,6 +543,7 @@ export * from './UpdateMarketplaceInput';
542
543
  export * from './UpdateOrderInput';
543
544
  export * from './UpdateRentConfigurationDto';
544
545
  export * from './UpdateSubscriptionBillingPeriodicityInput';
546
+ export * from './UpdateSubscriptionBuyerInformationInput';
545
547
  export * from './UpdateSubscriptionDomainNameserversInput';
546
548
  export * from './UpdateSubscriptionDomainRecordInput';
547
549
  export * from './UpdateSubscriptionInput';