@emilgroup/partner-portal-sdk 1.1.1 → 1.5.0

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 (126) hide show
  1. package/.openapi-generator/FILES +46 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -1
  5. package/api/intermediary-api.ts +1222 -0
  6. package/api.ts +27 -0
  7. package/base.ts +331 -0
  8. package/common.ts +198 -0
  9. package/configuration.ts +110 -0
  10. package/dist/api/intermediary-api.d.ts +704 -0
  11. package/dist/api/intermediary-api.js +1015 -0
  12. package/dist/api.d.ts +12 -0
  13. package/dist/api.js +30 -0
  14. package/dist/base.d.ts +86 -0
  15. package/dist/base.js +367 -0
  16. package/dist/common.d.ts +91 -0
  17. package/dist/common.js +276 -0
  18. package/dist/configuration.d.ts +89 -0
  19. package/dist/configuration.js +52 -0
  20. package/dist/index.d.ts +15 -0
  21. package/dist/index.js +36 -0
  22. package/dist/models/account-class.d.ts +176 -0
  23. package/dist/models/account-class.js +22 -0
  24. package/dist/models/account-policy-class.d.ts +147 -0
  25. package/dist/models/account-policy-class.js +15 -0
  26. package/dist/models/create-payment-method-request-dto.d.ts +31 -0
  27. package/dist/models/create-payment-method-request-dto.js +15 -0
  28. package/dist/models/create-policy-request-dto.d.ts +55 -0
  29. package/dist/models/create-policy-request-dto.js +15 -0
  30. package/dist/models/index.d.ts +32 -0
  31. package/dist/models/index.js +48 -0
  32. package/dist/models/insured-object-type-class.d.ts +60 -0
  33. package/dist/models/insured-object-type-class.js +15 -0
  34. package/dist/models/invoice-class.d.ts +152 -0
  35. package/dist/models/invoice-class.js +32 -0
  36. package/dist/models/invoice-item-class.d.ts +117 -0
  37. package/dist/models/invoice-item-class.js +24 -0
  38. package/dist/models/invoice-status-class.d.ts +49 -0
  39. package/dist/models/invoice-status-class.js +22 -0
  40. package/dist/models/lead-bank-account-class.d.ts +30 -0
  41. package/dist/models/lead-bank-account-class.js +15 -0
  42. package/dist/models/lead-class.d.ts +157 -0
  43. package/dist/models/lead-class.js +15 -0
  44. package/dist/models/list-accounts-response-class.d.ts +31 -0
  45. package/dist/models/list-accounts-response-class.js +15 -0
  46. package/dist/models/list-leads-response-class.d.ts +43 -0
  47. package/dist/models/list-leads-response-class.js +15 -0
  48. package/dist/models/list-partners-response-class.d.ts +31 -0
  49. package/dist/models/list-partners-response-class.js +15 -0
  50. package/dist/models/list-policies-response-class.d.ts +43 -0
  51. package/dist/models/list-policies-response-class.js +15 -0
  52. package/dist/models/omit-type-class.d.ts +84 -0
  53. package/dist/models/omit-type-class.js +15 -0
  54. package/dist/models/partner-class.d.ts +103 -0
  55. package/dist/models/partner-class.js +15 -0
  56. package/dist/models/partner-link-class.d.ts +98 -0
  57. package/dist/models/partner-link-class.js +15 -0
  58. package/dist/models/partner-role-class.d.ts +72 -0
  59. package/dist/models/partner-role-class.js +15 -0
  60. package/dist/models/policy-class.d.ts +147 -0
  61. package/dist/models/policy-class.js +15 -0
  62. package/dist/models/policy-object-class.d.ts +84 -0
  63. package/dist/models/policy-object-class.js +15 -0
  64. package/dist/models/policy-premium-class.d.ts +61 -0
  65. package/dist/models/policy-premium-class.js +15 -0
  66. package/dist/models/policy-premium-item-class.d.ts +67 -0
  67. package/dist/models/policy-premium-item-class.js +15 -0
  68. package/dist/models/policy-version-class.d.ts +79 -0
  69. package/dist/models/policy-version-class.js +15 -0
  70. package/dist/models/premium-formula-class.d.ts +108 -0
  71. package/dist/models/premium-formula-class.js +15 -0
  72. package/dist/models/premium-override-dto.d.ts +55 -0
  73. package/dist/models/premium-override-dto.js +27 -0
  74. package/dist/models/premium-override-request-dto.d.ts +25 -0
  75. package/dist/models/premium-override-request-dto.js +15 -0
  76. package/dist/models/product-class.d.ts +92 -0
  77. package/dist/models/product-class.js +15 -0
  78. package/dist/models/product-version-class.d.ts +73 -0
  79. package/dist/models/product-version-class.js +22 -0
  80. package/dist/models/sepa-dto.d.ts +30 -0
  81. package/dist/models/sepa-dto.js +15 -0
  82. package/dist/models/tag-class.d.ts +54 -0
  83. package/dist/models/tag-class.js +15 -0
  84. package/dist/models/timeslice-class.d.ts +74 -0
  85. package/dist/models/timeslice-class.js +15 -0
  86. package/dist/models/uploaded-document-dto.d.ts +24 -0
  87. package/dist/models/uploaded-document-dto.js +15 -0
  88. package/git_push.sh +57 -0
  89. package/index.ts +19 -0
  90. package/models/account-class.ts +185 -0
  91. package/models/account-policy-class.ts +153 -0
  92. package/models/create-payment-method-request-dto.ts +37 -0
  93. package/models/create-policy-request-dto.ts +61 -0
  94. package/models/index.ts +32 -0
  95. package/models/insured-object-type-class.ts +66 -0
  96. package/models/invoice-class.ts +162 -0
  97. package/models/invoice-item-class.ts +126 -0
  98. package/models/invoice-status-class.ts +58 -0
  99. package/models/lead-bank-account-class.ts +36 -0
  100. package/models/lead-class.ts +163 -0
  101. package/models/list-accounts-response-class.ts +37 -0
  102. package/models/list-leads-response-class.ts +49 -0
  103. package/models/list-partners-response-class.ts +37 -0
  104. package/models/list-policies-response-class.ts +49 -0
  105. package/models/omit-type-class.ts +90 -0
  106. package/models/partner-class.ts +109 -0
  107. package/models/partner-link-class.ts +104 -0
  108. package/models/partner-role-class.ts +78 -0
  109. package/models/policy-class.ts +153 -0
  110. package/models/policy-object-class.ts +90 -0
  111. package/models/policy-premium-class.ts +67 -0
  112. package/models/policy-premium-item-class.ts +73 -0
  113. package/models/policy-version-class.ts +85 -0
  114. package/models/premium-formula-class.ts +114 -0
  115. package/models/premium-override-dto.ts +65 -0
  116. package/models/premium-override-request-dto.ts +31 -0
  117. package/models/product-class.ts +98 -0
  118. package/models/product-version-class.ts +82 -0
  119. package/models/sepa-dto.ts +36 -0
  120. package/models/tag-class.ts +60 -0
  121. package/models/timeslice-class.ts +80 -0
  122. package/models/uploaded-document-dto.ts +30 -0
  123. package/package.json +22 -8
  124. package/tsconfig.json +23 -0
  125. package/index.js +0 -99
  126. package/scripts/deploy.js +0 -225
@@ -0,0 +1,163 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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
+
16
+ import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
17
+ import { CreatePolicyRequestDto } from './create-policy-request-dto';
18
+ import { InvoiceClass } from './invoice-class';
19
+ import { LeadBankAccountClass } from './lead-bank-account-class';
20
+ import { OmitTypeClass } from './omit-type-class';
21
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
22
+ import { UploadedDocumentDto } from './uploaded-document-dto';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface LeadClass
28
+ */
29
+ export interface LeadClass {
30
+ /**
31
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
32
+ * @type {number}
33
+ * @memberof LeadClass
34
+ */
35
+ 'id': number;
36
+ /**
37
+ * Unique identifier for the object.
38
+ * @type {string}
39
+ * @memberof LeadClass
40
+ */
41
+ 'code': string;
42
+ /**
43
+ * Emil Resources Names (ERN) identifies the most specific owner of a resource.
44
+ * @type {string}
45
+ * @memberof LeadClass
46
+ */
47
+ 'ern': string;
48
+ /**
49
+ * Unique identifier of the account that this object belongs to.
50
+ * @type {string}
51
+ * @memberof LeadClass
52
+ */
53
+ 'accountCode'?: string;
54
+ /**
55
+ * Lead status.
56
+ * @type {string}
57
+ * @memberof LeadClass
58
+ */
59
+ 'status': string;
60
+ /**
61
+ * Lead account.
62
+ * @type {object}
63
+ * @memberof LeadClass
64
+ */
65
+ 'account': object;
66
+ /**
67
+ * Lead policy.
68
+ * @type {CreatePolicyRequestDto}
69
+ * @memberof LeadClass
70
+ */
71
+ 'policy': CreatePolicyRequestDto;
72
+ /**
73
+ * Lead bank account, will be treated as a reference to payout customer claims.
74
+ * @type {LeadBankAccountClass}
75
+ * @memberof LeadClass
76
+ */
77
+ 'bankAccount'?: LeadBankAccountClass;
78
+ /**
79
+ * Custom data for custom application creation.
80
+ * @type {object}
81
+ * @memberof LeadClass
82
+ */
83
+ 'customData'?: object;
84
+ /**
85
+ * List of uploaded document codes.
86
+ * @type {UploadedDocumentDto}
87
+ * @memberof LeadClass
88
+ */
89
+ 'uploadedDocument'?: UploadedDocumentDto;
90
+ /**
91
+ * Override for premium calculation. Leave null for default calculation.
92
+ * @type {PremiumOverrideRequestDto}
93
+ * @memberof LeadClass
94
+ */
95
+ 'premiumOverride'?: PremiumOverrideRequestDto;
96
+ /**
97
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
98
+ * @type {string}
99
+ * @memberof LeadClass
100
+ */
101
+ 'productSlug'?: string;
102
+ /**
103
+ * Time at which the object was created.
104
+ * @type {string}
105
+ * @memberof LeadClass
106
+ */
107
+ 'createdAt': string;
108
+ /**
109
+ * Time at which the object was updated.
110
+ * @type {string}
111
+ * @memberof LeadClass
112
+ */
113
+ 'updatedAt': string;
114
+ /**
115
+ * Quote or price details.
116
+ * @type {InvoiceClass}
117
+ * @memberof LeadClass
118
+ */
119
+ 'quote'?: InvoiceClass;
120
+ /**
121
+ * Payment method. When a payment method is provided, it needs to be handled in the workflow based on its type.
122
+ * @type {CreatePaymentMethodRequestDto}
123
+ * @memberof LeadClass
124
+ */
125
+ 'paymentMethod'?: CreatePaymentMethodRequestDto;
126
+ /**
127
+ * A indicator to validate the lead.
128
+ * @type {boolean}
129
+ * @memberof LeadClass
130
+ */
131
+ 'validate': boolean;
132
+ /**
133
+ * Lead number.
134
+ * @type {string}
135
+ * @memberof LeadClass
136
+ */
137
+ 'leadNumber': string;
138
+ /**
139
+ * Lead version.
140
+ * @type {number}
141
+ * @memberof LeadClass
142
+ */
143
+ 'version'?: number;
144
+ /**
145
+ * Partner links.
146
+ * @type {Array<OmitTypeClass>}
147
+ * @memberof LeadClass
148
+ */
149
+ 'partnerLinks': Array<OmitTypeClass>;
150
+ /**
151
+ * Identifier of the user who created the record.
152
+ * @type {string}
153
+ * @memberof LeadClass
154
+ */
155
+ 'createdBy': string;
156
+ /**
157
+ * Identifier of the user who last updated the record.
158
+ * @type {string}
159
+ * @memberof LeadClass
160
+ */
161
+ 'updatedBy': string;
162
+ }
163
+
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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
+
16
+ import { AccountClass } from './account-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListAccountsResponseClass
22
+ */
23
+ export interface ListAccountsResponseClass {
24
+ /**
25
+ * The list of accounts.
26
+ * @type {Array<AccountClass>}
27
+ * @memberof ListAccountsResponseClass
28
+ */
29
+ 'items': Array<AccountClass>;
30
+ /**
31
+ * Next page token
32
+ * @type {string}
33
+ * @memberof ListAccountsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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
+
16
+ import { LeadClass } from './lead-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListLeadsResponseClass
22
+ */
23
+ export interface ListLeadsResponseClass {
24
+ /**
25
+ * Leads
26
+ * @type {Array<LeadClass>}
27
+ * @memberof ListLeadsResponseClass
28
+ */
29
+ 'items': Array<LeadClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListLeadsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListLeadsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total amount of items.
44
+ * @type {number}
45
+ * @memberof ListLeadsResponseClass
46
+ */
47
+ 'totalItems': number;
48
+ }
49
+
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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
+
16
+ import { PartnerClass } from './partner-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListPartnersResponseClass
22
+ */
23
+ export interface ListPartnersResponseClass {
24
+ /**
25
+ * The list of partners.
26
+ * @type {Array<PartnerClass>}
27
+ * @memberof ListPartnersResponseClass
28
+ */
29
+ 'items': Array<PartnerClass>;
30
+ /**
31
+ * Next page token
32
+ * @type {string}
33
+ * @memberof ListPartnersResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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
+
16
+ import { PolicyClass } from './policy-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListPoliciesResponseClass
22
+ */
23
+ export interface ListPoliciesResponseClass {
24
+ /**
25
+ * Policies
26
+ * @type {Array<PolicyClass>}
27
+ * @memberof ListPoliciesResponseClass
28
+ */
29
+ 'items': Array<PolicyClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListPoliciesResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListPoliciesResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total amount of items.
44
+ * @type {number}
45
+ * @memberof ListPoliciesResponseClass
46
+ */
47
+ 'totalItems': number;
48
+ }
49
+
@@ -0,0 +1,90 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface OmitTypeClass
21
+ */
22
+ export interface OmitTypeClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof OmitTypeClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier of the partner that this object belongs to.
31
+ * @type {string}
32
+ * @memberof OmitTypeClass
33
+ */
34
+ 'partnerCode': string;
35
+ /**
36
+ * Unique identifier of the partner role that this object belongs to.
37
+ * @type {string}
38
+ * @memberof OmitTypeClass
39
+ */
40
+ 'partnerRoleCode': string;
41
+ /**
42
+ * Unique identifier of the policy that this object belongs to.
43
+ * @type {string}
44
+ * @memberof OmitTypeClass
45
+ */
46
+ 'policyCode'?: string;
47
+ /**
48
+ * Unique identifier of the lead that this object belongs to.
49
+ * @type {string}
50
+ * @memberof OmitTypeClass
51
+ */
52
+ 'leadCode'?: string;
53
+ /**
54
+ * Date from which the partner should be linked.
55
+ * @type {string}
56
+ * @memberof OmitTypeClass
57
+ */
58
+ 'startDate': string;
59
+ /**
60
+ * Date to which the partner should be linked.
61
+ * @type {string}
62
+ * @memberof OmitTypeClass
63
+ */
64
+ 'endDate'?: string;
65
+ /**
66
+ * Time at which the object was created.
67
+ * @type {string}
68
+ * @memberof OmitTypeClass
69
+ */
70
+ 'createdAt': string;
71
+ /**
72
+ * Time at which the object was updated.
73
+ * @type {string}
74
+ * @memberof OmitTypeClass
75
+ */
76
+ 'updatedAt': string;
77
+ /**
78
+ * Identifier of the user who created the record.
79
+ * @type {string}
80
+ * @memberof OmitTypeClass
81
+ */
82
+ 'createdBy': string;
83
+ /**
84
+ * Identifier of the user who last updated the record.
85
+ * @type {string}
86
+ * @memberof OmitTypeClass
87
+ */
88
+ 'updatedBy': string;
89
+ }
90
+
@@ -0,0 +1,109 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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
+
16
+ import { TagClass } from './tag-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface PartnerClass
22
+ */
23
+ export interface PartnerClass {
24
+ /**
25
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
26
+ * @type {number}
27
+ * @memberof PartnerClass
28
+ */
29
+ 'id': number;
30
+ /**
31
+ * Unique identifier for the object.
32
+ * @type {string}
33
+ * @memberof PartnerClass
34
+ */
35
+ 'code': string;
36
+ /**
37
+ * Unique identifier referencing the partner type.
38
+ * @type {number}
39
+ * @memberof PartnerClass
40
+ */
41
+ 'partnerTypeId': number;
42
+ /**
43
+ * For person partner type displayName is a combination if firstname and lastname. For organization its organization name.
44
+ * @type {string}
45
+ * @memberof PartnerClass
46
+ */
47
+ 'displayName': string;
48
+ /**
49
+ * The custom fields object, based on partner schema.
50
+ * @type {object}
51
+ * @memberof PartnerClass
52
+ */
53
+ 'customFields'?: object;
54
+ /**
55
+ * The version number of the partner
56
+ * @type {number}
57
+ * @memberof PartnerClass
58
+ */
59
+ 'version'?: number;
60
+ /**
61
+ * Tags that the partner is associated with
62
+ * @type {Array<TagClass>}
63
+ * @memberof PartnerClass
64
+ */
65
+ 'tags': Array<TagClass>;
66
+ /**
67
+ * The user code of the partner
68
+ * @type {string}
69
+ * @memberof PartnerClass
70
+ */
71
+ 'tenantUserCode'?: string;
72
+ /**
73
+ * Emil Resources Names (ERN) identifies the most specific owner of a resource.
74
+ * @type {string}
75
+ * @memberof PartnerClass
76
+ */
77
+ 'ern': string;
78
+ /**
79
+ * Unique number assigned to the partner.
80
+ * @type {string}
81
+ * @memberof PartnerClass
82
+ */
83
+ 'partnerNumber': string;
84
+ /**
85
+ * Time at which the object was created.
86
+ * @type {string}
87
+ * @memberof PartnerClass
88
+ */
89
+ 'createdAt': string;
90
+ /**
91
+ * Time at which the object was updated.
92
+ * @type {string}
93
+ * @memberof PartnerClass
94
+ */
95
+ 'updatedAt': string;
96
+ /**
97
+ * Identifier of the user who created the record.
98
+ * @type {string}
99
+ * @memberof PartnerClass
100
+ */
101
+ 'createdBy': string;
102
+ /**
103
+ * Identifier of the user who last updated the record.
104
+ * @type {string}
105
+ * @memberof PartnerClass
106
+ */
107
+ 'updatedBy': string;
108
+ }
109
+
@@ -0,0 +1,104 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
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
+
16
+ import { PartnerClass } from './partner-class';
17
+ import { PartnerRoleClass } from './partner-role-class';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface PartnerLinkClass
23
+ */
24
+ export interface PartnerLinkClass {
25
+ /**
26
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
27
+ * @type {number}
28
+ * @memberof PartnerLinkClass
29
+ */
30
+ 'id': number;
31
+ /**
32
+ * Unique identifier of the partner that this object belongs to.
33
+ * @type {string}
34
+ * @memberof PartnerLinkClass
35
+ */
36
+ 'partnerCode': string;
37
+ /**
38
+ * Unique identifier of the partner role that this object belongs to.
39
+ * @type {string}
40
+ * @memberof PartnerLinkClass
41
+ */
42
+ 'partnerRoleCode': string;
43
+ /**
44
+ * Unique identifier of the policy that this object belongs to.
45
+ * @type {string}
46
+ * @memberof PartnerLinkClass
47
+ */
48
+ 'policyCode'?: string;
49
+ /**
50
+ * Unique identifier of the lead that this object belongs to.
51
+ * @type {string}
52
+ * @memberof PartnerLinkClass
53
+ */
54
+ 'leadCode'?: string;
55
+ /**
56
+ * Date from which the partner should be linked.
57
+ * @type {string}
58
+ * @memberof PartnerLinkClass
59
+ */
60
+ 'startDate': string;
61
+ /**
62
+ * Date to which the partner should be linked.
63
+ * @type {string}
64
+ * @memberof PartnerLinkClass
65
+ */
66
+ 'endDate'?: string;
67
+ /**
68
+ * Partner role
69
+ * @type {PartnerRoleClass}
70
+ * @memberof PartnerLinkClass
71
+ */
72
+ 'partnerRole'?: PartnerRoleClass;
73
+ /**
74
+ * Partner
75
+ * @type {PartnerClass}
76
+ * @memberof PartnerLinkClass
77
+ */
78
+ 'partner'?: PartnerClass;
79
+ /**
80
+ * Time at which the object was created.
81
+ * @type {string}
82
+ * @memberof PartnerLinkClass
83
+ */
84
+ 'createdAt': string;
85
+ /**
86
+ * Time at which the object was updated.
87
+ * @type {string}
88
+ * @memberof PartnerLinkClass
89
+ */
90
+ 'updatedAt': string;
91
+ /**
92
+ * Identifier of the user who created the record.
93
+ * @type {string}
94
+ * @memberof PartnerLinkClass
95
+ */
96
+ 'createdBy': string;
97
+ /**
98
+ * Identifier of the user who last updated the record.
99
+ * @type {string}
100
+ * @memberof PartnerLinkClass
101
+ */
102
+ 'updatedBy': string;
103
+ }
104
+