green_link_api 1.10.2 → 1.10.3

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 (112) hide show
  1. package/README.md +2 -2
  2. package/dist/ApiClient.js +51 -133
  3. package/dist/api/BlockchainApi.js +19 -38
  4. package/dist/api/EnergyAssetsApi.js +61 -106
  5. package/dist/api/EnergyDataApi.js +88 -152
  6. package/dist/api/HealthCheckApi.js +2 -12
  7. package/dist/api/LicensedProductionSitesOnEpiasApi.js +2 -12
  8. package/dist/api/LocationsApi.js +21 -40
  9. package/dist/api/LogsApi.js +36 -67
  10. package/dist/api/MaintenanceCheckApi.js +2 -12
  11. package/dist/api/OrganizationprofilesApi.js +19 -38
  12. package/dist/api/OrganizationsApi.js +91 -146
  13. package/dist/api/SchemaApi.js +2 -12
  14. package/dist/api/SentryDebugApi.js +2 -12
  15. package/dist/api/UsersApi.js +23 -47
  16. package/dist/index.js +0 -110
  17. package/dist/model/Activities.js +9 -28
  18. package/dist/model/BlockchainTransaction.js +12 -36
  19. package/dist/model/Consumer.js +13 -37
  20. package/dist/model/ConsumptionDataFileList.js +8 -26
  21. package/dist/model/ConsumptionDataFromRetailerRequest.js +5 -20
  22. package/dist/model/ConsumptionDataPointCreate.js +24 -59
  23. package/dist/model/ConsumptionDataPointListOrDetail.js +24 -64
  24. package/dist/model/ConsumptionDataPointUpdate.js +24 -59
  25. package/dist/model/ConsumptionSite.js +15 -41
  26. package/dist/model/ConsumptionSiteContract.js +9 -29
  27. package/dist/model/ConsumptionSiteContractImport.js +5 -20
  28. package/dist/model/ConsumptionSiteCreate.js +15 -41
  29. package/dist/model/ConsumptionSiteFileUpload.js +8 -26
  30. package/dist/model/ConsumptionSiteListOrDetail.js +14 -41
  31. package/dist/model/ContentTypeEnum.js +0 -15
  32. package/dist/model/EacTypeEnum.js +0 -11
  33. package/dist/model/EmissionFactor.js +9 -28
  34. package/dist/model/EnergySourceEnum.js +0 -18
  35. package/dist/model/EnergySourcePreference.js +10 -32
  36. package/dist/model/GetFromEpias.js +5 -20
  37. package/dist/model/GridOperator.js +11 -33
  38. package/dist/model/ImportRequest.js +14 -40
  39. package/dist/model/ImportRequestStatusEnum.js +0 -14
  40. package/dist/model/ImportedEnergyDataPoint.js +11 -32
  41. package/dist/model/Issuer.js +11 -33
  42. package/dist/model/Location.js +19 -48
  43. package/dist/model/Login.js +5 -20
  44. package/dist/model/MatchRequest.js +23 -63
  45. package/dist/model/MatchTypeEnum.js +0 -12
  46. package/dist/model/MatchedEnergyDataPoint.js +14 -39
  47. package/dist/model/MatchingConsumerRequest.js +7 -24
  48. package/dist/model/MatchingSiteRequest.js +7 -24
  49. package/dist/model/OrganizationTypeEnum.js +0 -16
  50. package/dist/model/PaginatedActivitiesList.js +6 -23
  51. package/dist/model/PaginatedConsumerList.js +6 -23
  52. package/dist/model/PaginatedConsumptionDataPointListOrDetailList.js +6 -23
  53. package/dist/model/PaginatedConsumptionSiteContractList.js +6 -23
  54. package/dist/model/PaginatedConsumptionSiteListOrDetailList.js +6 -23
  55. package/dist/model/PaginatedEmissionFactorList.js +6 -23
  56. package/dist/model/PaginatedEnergySourcePreferenceList.js +6 -23
  57. package/dist/model/PaginatedGridOperatorList.js +6 -23
  58. package/dist/model/PaginatedImportRequestList.js +6 -23
  59. package/dist/model/PaginatedImportedEnergyDataPointList.js +6 -23
  60. package/dist/model/PaginatedIssuerList.js +6 -23
  61. package/dist/model/PaginatedLocationList.js +6 -23
  62. package/dist/model/PaginatedMatchRequestList.js +6 -23
  63. package/dist/model/PaginatedMatchedEnergyDataPointList.js +6 -23
  64. package/dist/model/PaginatedProducerList.js +6 -23
  65. package/dist/model/PaginatedProductionDataFromEpiasRequestList.js +6 -23
  66. package/dist/model/PaginatedProductionDataPointListOrDetailList.js +6 -23
  67. package/dist/model/PaginatedProductionSiteListOrDetailList.js +6 -23
  68. package/dist/model/PaginatedRetailerList.js +6 -23
  69. package/dist/model/PaginatedSmartContractList.js +6 -23
  70. package/dist/model/PaginatedUnprocessedRowList.js +6 -23
  71. package/dist/model/PaginatedUploadedCertificateListorDetailList.js +6 -23
  72. package/dist/model/PaginatedUploadedFileList.js +6 -23
  73. package/dist/model/PaginatedUserList.js +6 -23
  74. package/dist/model/PatchedConsumer.js +13 -37
  75. package/dist/model/PatchedConsumptionDataPointUpdate.js +24 -59
  76. package/dist/model/PatchedConsumptionSite.js +15 -41
  77. package/dist/model/PatchedEmissionFactor.js +9 -28
  78. package/dist/model/PatchedEnergySourcePreference.js +10 -32
  79. package/dist/model/PatchedGridOperator.js +11 -33
  80. package/dist/model/PatchedIssuer.js +11 -33
  81. package/dist/model/PatchedLocation.js +19 -48
  82. package/dist/model/PatchedProducer.js +11 -33
  83. package/dist/model/PatchedProductionDataPointUpdate.js +18 -47
  84. package/dist/model/PatchedProductionSiteUpdate.js +20 -51
  85. package/dist/model/PatchedRetailer.js +12 -35
  86. package/dist/model/PatchedSmartContract.js +9 -28
  87. package/dist/model/PatchedUser.js +18 -47
  88. package/dist/model/PatchedUserDetail.js +18 -47
  89. package/dist/model/PriorityEnum.js +0 -18
  90. package/dist/model/Producer.js +11 -33
  91. package/dist/model/ProductionDataFileList.js +8 -26
  92. package/dist/model/ProductionDataFromEpiasRequest.js +11 -36
  93. package/dist/model/ProductionDataPointCreate.js +18 -47
  94. package/dist/model/ProductionDataPointListOrDetail.js +19 -53
  95. package/dist/model/ProductionDataPointUpdate.js +18 -47
  96. package/dist/model/ProductionSite.js +20 -51
  97. package/dist/model/ProductionSiteFileUpload.js +12 -34
  98. package/dist/model/ProductionSiteListOrDetail.js +18 -48
  99. package/dist/model/ProductionSiteUpdate.js +20 -51
  100. package/dist/model/Register.js +14 -38
  101. package/dist/model/Retailer.js +12 -35
  102. package/dist/model/SmartContract.js +9 -28
  103. package/dist/model/Status619Enum.js +0 -13
  104. package/dist/model/Token.js +3 -16
  105. package/dist/model/TypeEnum.js +0 -13
  106. package/dist/model/UnprocessedRow.js +9 -28
  107. package/dist/model/UploadedCertificate.js +12 -35
  108. package/dist/model/UploadedCertificateListorDetail.js +12 -36
  109. package/dist/model/UploadedFile.js +10 -32
  110. package/dist/model/User.js +18 -47
  111. package/dist/model/UserDetail.js +18 -47
  112. package/package.json +1 -1
@@ -4,23 +4,16 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
-
8
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
8
  var _Location = _interopRequireDefault(require("./Location"));
11
-
12
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
-
14
10
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
-
16
11
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
17
-
18
12
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
-
20
13
  /**
21
14
  * The PatchedIssuer model module.
22
15
  * @module model/PatchedIssuer
23
- * @version 1.10.2
16
+ * @version 1.10.3
24
17
  */
25
18
  var PatchedIssuer = /*#__PURE__*/function () {
26
19
  /**
@@ -29,19 +22,18 @@ var PatchedIssuer = /*#__PURE__*/function () {
29
22
  */
30
23
  function PatchedIssuer() {
31
24
  _classCallCheck(this, PatchedIssuer);
32
-
33
25
  PatchedIssuer.initialize(this);
34
26
  }
27
+
35
28
  /**
36
29
  * Initializes the fields of this object.
37
30
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
38
31
  * Only for internal use.
39
32
  */
40
-
41
-
42
33
  _createClass(PatchedIssuer, null, [{
43
34
  key: "initialize",
44
35
  value: function initialize(obj) {}
36
+
45
37
  /**
46
38
  * Constructs a <code>PatchedIssuer</code> from a plain JavaScript object, optionally creating a new instance.
47
39
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
@@ -49,105 +41,91 @@ var PatchedIssuer = /*#__PURE__*/function () {
49
41
  * @param {module:model/PatchedIssuer} obj Optional instance to populate.
50
42
  * @return {module:model/PatchedIssuer} The populated <code>PatchedIssuer</code> instance.
51
43
  */
52
-
53
44
  }, {
54
45
  key: "constructFromObject",
55
46
  value: function constructFromObject(data, obj) {
56
47
  if (data) {
57
48
  obj = obj || new PatchedIssuer();
58
-
59
49
  if (data.hasOwnProperty('id')) {
60
50
  obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
61
51
  }
62
-
63
52
  if (data.hasOwnProperty('name')) {
64
53
  obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
65
54
  }
66
-
67
55
  if (data.hasOwnProperty('location')) {
68
56
  obj['location'] = _Location["default"].constructFromObject(data['location']);
69
57
  }
70
-
71
58
  if (data.hasOwnProperty('blockchain_account_address')) {
72
59
  obj['blockchain_account_address'] = _ApiClient["default"].convertToType(data['blockchain_account_address'], 'String');
73
60
  }
74
-
75
61
  if (data.hasOwnProperty('website_url')) {
76
62
  obj['website_url'] = _ApiClient["default"].convertToType(data['website_url'], 'String');
77
63
  }
78
-
79
64
  if (data.hasOwnProperty('is_active')) {
80
65
  obj['is_active'] = _ApiClient["default"].convertToType(data['is_active'], 'Boolean');
81
66
  }
82
-
83
67
  if (data.hasOwnProperty('is_irec_issuer')) {
84
68
  obj['is_irec_issuer'] = _ApiClient["default"].convertToType(data['is_irec_issuer'], 'Boolean');
85
69
  }
86
-
87
70
  if (data.hasOwnProperty('created_at')) {
88
71
  obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
89
72
  }
90
-
91
73
  if (data.hasOwnProperty('updated_at')) {
92
74
  obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
93
75
  }
94
76
  }
95
-
96
77
  return obj;
97
78
  }
98
79
  }]);
99
-
100
80
  return PatchedIssuer;
101
81
  }();
102
82
  /**
103
83
  * @member {String} id
104
84
  */
105
-
106
-
107
85
  PatchedIssuer.prototype['id'] = undefined;
86
+
108
87
  /**
109
88
  * Required. 150 characters or fewer.
110
89
  * @member {String} name
111
90
  */
112
-
113
91
  PatchedIssuer.prototype['name'] = undefined;
92
+
114
93
  /**
115
94
  * @member {module:model/Location} location
116
95
  */
117
-
118
96
  PatchedIssuer.prototype['location'] = undefined;
97
+
119
98
  /**
120
99
  * @member {String} blockchain_account_address
121
100
  */
122
-
123
101
  PatchedIssuer.prototype['blockchain_account_address'] = undefined;
102
+
124
103
  /**
125
104
  * Not required. 200 characters or fewer.
126
105
  * @member {String} website_url
127
106
  */
128
-
129
107
  PatchedIssuer.prototype['website_url'] = undefined;
108
+
130
109
  /**
131
110
  * True if organization is active. Default True.
132
111
  * @member {Boolean} is_active
133
112
  */
134
-
135
113
  PatchedIssuer.prototype['is_active'] = undefined;
114
+
136
115
  /**
137
116
  * True if it is an I-REC issuer. Default False.
138
117
  * @member {Boolean} is_irec_issuer
139
118
  */
140
-
141
119
  PatchedIssuer.prototype['is_irec_issuer'] = undefined;
120
+
142
121
  /**
143
122
  * @member {Date} created_at
144
123
  */
145
-
146
124
  PatchedIssuer.prototype['created_at'] = undefined;
125
+
147
126
  /**
148
127
  * @member {Date} updated_at
149
128
  */
150
-
151
129
  PatchedIssuer.prototype['updated_at'] = undefined;
152
130
  var _default = PatchedIssuer;
153
131
  exports["default"] = _default;
@@ -4,21 +4,15 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
-
8
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
-
12
9
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
-
14
10
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
15
-
16
11
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
-
18
12
  /**
19
13
  * The PatchedLocation model module.
20
14
  * @module model/PatchedLocation
21
- * @version 1.10.2
15
+ * @version 1.10.3
22
16
  */
23
17
  var PatchedLocation = /*#__PURE__*/function () {
24
18
  /**
@@ -27,19 +21,18 @@ var PatchedLocation = /*#__PURE__*/function () {
27
21
  */
28
22
  function PatchedLocation() {
29
23
  _classCallCheck(this, PatchedLocation);
30
-
31
24
  PatchedLocation.initialize(this);
32
25
  }
26
+
33
27
  /**
34
28
  * Initializes the fields of this object.
35
29
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
36
30
  * Only for internal use.
37
31
  */
38
-
39
-
40
32
  _createClass(PatchedLocation, null, [{
41
33
  key: "initialize",
42
34
  value: function initialize(obj) {}
35
+
43
36
  /**
44
37
  * Constructs a <code>PatchedLocation</code> from a plain JavaScript object, optionally creating a new instance.
45
38
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
@@ -47,185 +40,163 @@ var PatchedLocation = /*#__PURE__*/function () {
47
40
  * @param {module:model/PatchedLocation} obj Optional instance to populate.
48
41
  * @return {module:model/PatchedLocation} The populated <code>PatchedLocation</code> instance.
49
42
  */
50
-
51
43
  }, {
52
44
  key: "constructFromObject",
53
45
  value: function constructFromObject(data, obj) {
54
46
  if (data) {
55
47
  obj = obj || new PatchedLocation();
56
-
57
48
  if (data.hasOwnProperty('id')) {
58
49
  obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
59
50
  }
60
-
61
51
  if (data.hasOwnProperty('latitude')) {
62
52
  obj['latitude'] = _ApiClient["default"].convertToType(data['latitude'], 'Number');
63
53
  }
64
-
65
54
  if (data.hasOwnProperty('longitude')) {
66
55
  obj['longitude'] = _ApiClient["default"].convertToType(data['longitude'], 'Number');
67
56
  }
68
-
69
57
  if (data.hasOwnProperty('country')) {
70
58
  obj['country'] = _ApiClient["default"].convertToType(data['country'], 'String');
71
59
  }
72
-
73
60
  if (data.hasOwnProperty('city')) {
74
61
  obj['city'] = _ApiClient["default"].convertToType(data['city'], 'String');
75
62
  }
76
-
77
63
  if (data.hasOwnProperty('province_name')) {
78
64
  obj['province_name'] = _ApiClient["default"].convertToType(data['province_name'], 'String');
79
65
  }
80
-
81
66
  if (data.hasOwnProperty('province_code')) {
82
67
  obj['province_code'] = _ApiClient["default"].convertToType(data['province_code'], 'String');
83
68
  }
84
-
85
69
  if (data.hasOwnProperty('district_name')) {
86
70
  obj['district_name'] = _ApiClient["default"].convertToType(data['district_name'], 'String');
87
71
  }
88
-
89
72
  if (data.hasOwnProperty('district_code')) {
90
73
  obj['district_code'] = _ApiClient["default"].convertToType(data['district_code'], 'String');
91
74
  }
92
-
93
75
  if (data.hasOwnProperty('neighborhood_name')) {
94
76
  obj['neighborhood_name'] = _ApiClient["default"].convertToType(data['neighborhood_name'], 'String');
95
77
  }
96
-
97
78
  if (data.hasOwnProperty('neighborhood_code')) {
98
79
  obj['neighborhood_code'] = _ApiClient["default"].convertToType(data['neighborhood_code'], 'String');
99
80
  }
100
-
101
81
  if (data.hasOwnProperty('street_name')) {
102
82
  obj['street_name'] = _ApiClient["default"].convertToType(data['street_name'], 'String');
103
83
  }
104
-
105
84
  if (data.hasOwnProperty('street_code')) {
106
85
  obj['street_code'] = _ApiClient["default"].convertToType(data['street_code'], 'String');
107
86
  }
108
-
109
87
  if (data.hasOwnProperty('building_number')) {
110
88
  obj['building_number'] = _ApiClient["default"].convertToType(data['building_number'], 'String');
111
89
  }
112
-
113
90
  if (data.hasOwnProperty('independent_section_code')) {
114
91
  obj['independent_section_code'] = _ApiClient["default"].convertToType(data['independent_section_code'], 'String');
115
92
  }
116
-
117
93
  if (data.hasOwnProperty('created_at')) {
118
94
  obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
119
95
  }
120
-
121
96
  if (data.hasOwnProperty('updated_at')) {
122
97
  obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
123
98
  }
124
99
  }
125
-
126
100
  return obj;
127
101
  }
128
102
  }]);
129
-
130
103
  return PatchedLocation;
131
104
  }();
132
105
  /**
133
106
  * @member {String} id
134
107
  */
135
-
136
-
137
108
  PatchedLocation.prototype['id'] = undefined;
109
+
138
110
  /**
139
111
  * @member {Number} latitude
140
112
  */
141
-
142
113
  PatchedLocation.prototype['latitude'] = undefined;
114
+
143
115
  /**
144
116
  * @member {Number} longitude
145
117
  */
146
-
147
118
  PatchedLocation.prototype['longitude'] = undefined;
119
+
148
120
  /**
149
121
  * Required. 150 characters or fewer.
150
122
  * @member {String} country
151
123
  */
152
-
153
124
  PatchedLocation.prototype['country'] = undefined;
125
+
154
126
  /**
155
127
  * Not required. 150 characters or fewer.
156
128
  * @member {String} city
157
129
  */
158
-
159
130
  PatchedLocation.prototype['city'] = undefined;
131
+
160
132
  /**
161
133
  * Not required. 200 characters or fewer.
162
134
  * @member {String} province_name
163
135
  */
164
-
165
136
  PatchedLocation.prototype['province_name'] = undefined;
137
+
166
138
  /**
167
139
  * Not required.
168
140
  * @member {String} province_code
169
141
  */
170
-
171
142
  PatchedLocation.prototype['province_code'] = undefined;
143
+
172
144
  /**
173
145
  * Not required. 200 characters or fewer.
174
146
  * @member {String} district_name
175
147
  */
176
-
177
148
  PatchedLocation.prototype['district_name'] = undefined;
149
+
178
150
  /**
179
151
  * Not required.
180
152
  * @member {String} district_code
181
153
  */
182
-
183
154
  PatchedLocation.prototype['district_code'] = undefined;
155
+
184
156
  /**
185
157
  * Not required. 200 characters or fewer.
186
158
  * @member {String} neighborhood_name
187
159
  */
188
-
189
160
  PatchedLocation.prototype['neighborhood_name'] = undefined;
161
+
190
162
  /**
191
163
  * Not required.
192
164
  * @member {String} neighborhood_code
193
165
  */
194
-
195
166
  PatchedLocation.prototype['neighborhood_code'] = undefined;
167
+
196
168
  /**
197
169
  * Not required. 200 characters or fewer.
198
170
  * @member {String} street_name
199
171
  */
200
-
201
172
  PatchedLocation.prototype['street_name'] = undefined;
173
+
202
174
  /**
203
175
  * Not required.
204
176
  * @member {String} street_code
205
177
  */
206
-
207
178
  PatchedLocation.prototype['street_code'] = undefined;
179
+
208
180
  /**
209
181
  * Not required.
210
182
  * @member {String} building_number
211
183
  */
212
-
213
184
  PatchedLocation.prototype['building_number'] = undefined;
185
+
214
186
  /**
215
187
  * Not required.
216
188
  * @member {String} independent_section_code
217
189
  */
218
-
219
190
  PatchedLocation.prototype['independent_section_code'] = undefined;
191
+
220
192
  /**
221
193
  * @member {Date} created_at
222
194
  */
223
-
224
195
  PatchedLocation.prototype['created_at'] = undefined;
196
+
225
197
  /**
226
198
  * @member {Date} updated_at
227
199
  */
228
-
229
200
  PatchedLocation.prototype['updated_at'] = undefined;
230
201
  var _default = PatchedLocation;
231
202
  exports["default"] = _default;
@@ -4,23 +4,16 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
-
8
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
-
10
8
  var _Location = _interopRequireDefault(require("./Location"));
11
-
12
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
-
14
10
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
-
16
11
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
17
-
18
12
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
-
20
13
  /**
21
14
  * The PatchedProducer model module.
22
15
  * @module model/PatchedProducer
23
- * @version 1.10.2
16
+ * @version 1.10.3
24
17
  */
25
18
  var PatchedProducer = /*#__PURE__*/function () {
26
19
  /**
@@ -29,19 +22,18 @@ var PatchedProducer = /*#__PURE__*/function () {
29
22
  */
30
23
  function PatchedProducer() {
31
24
  _classCallCheck(this, PatchedProducer);
32
-
33
25
  PatchedProducer.initialize(this);
34
26
  }
27
+
35
28
  /**
36
29
  * Initializes the fields of this object.
37
30
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
38
31
  * Only for internal use.
39
32
  */
40
-
41
-
42
33
  _createClass(PatchedProducer, null, [{
43
34
  key: "initialize",
44
35
  value: function initialize(obj) {}
36
+
45
37
  /**
46
38
  * Constructs a <code>PatchedProducer</code> from a plain JavaScript object, optionally creating a new instance.
47
39
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
@@ -49,104 +41,90 @@ var PatchedProducer = /*#__PURE__*/function () {
49
41
  * @param {module:model/PatchedProducer} obj Optional instance to populate.
50
42
  * @return {module:model/PatchedProducer} The populated <code>PatchedProducer</code> instance.
51
43
  */
52
-
53
44
  }, {
54
45
  key: "constructFromObject",
55
46
  value: function constructFromObject(data, obj) {
56
47
  if (data) {
57
48
  obj = obj || new PatchedProducer();
58
-
59
49
  if (data.hasOwnProperty('id')) {
60
50
  obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
61
51
  }
62
-
63
52
  if (data.hasOwnProperty('name')) {
64
53
  obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
65
54
  }
66
-
67
55
  if (data.hasOwnProperty('location')) {
68
56
  obj['location'] = _Location["default"].constructFromObject(data['location']);
69
57
  }
70
-
71
58
  if (data.hasOwnProperty('retailer')) {
72
59
  obj['retailer'] = _ApiClient["default"].convertToType(data['retailer'], 'String');
73
60
  }
74
-
75
61
  if (data.hasOwnProperty('blockchain_account_address')) {
76
62
  obj['blockchain_account_address'] = _ApiClient["default"].convertToType(data['blockchain_account_address'], 'String');
77
63
  }
78
-
79
64
  if (data.hasOwnProperty('website_url')) {
80
65
  obj['website_url'] = _ApiClient["default"].convertToType(data['website_url'], 'String');
81
66
  }
82
-
83
67
  if (data.hasOwnProperty('is_active')) {
84
68
  obj['is_active'] = _ApiClient["default"].convertToType(data['is_active'], 'Boolean');
85
69
  }
86
-
87
70
  if (data.hasOwnProperty('created_at')) {
88
71
  obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
89
72
  }
90
-
91
73
  if (data.hasOwnProperty('updated_at')) {
92
74
  obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
93
75
  }
94
76
  }
95
-
96
77
  return obj;
97
78
  }
98
79
  }]);
99
-
100
80
  return PatchedProducer;
101
81
  }();
102
82
  /**
103
83
  * @member {String} id
104
84
  */
105
-
106
-
107
85
  PatchedProducer.prototype['id'] = undefined;
86
+
108
87
  /**
109
88
  * Required. 150 characters or fewer.
110
89
  * @member {String} name
111
90
  */
112
-
113
91
  PatchedProducer.prototype['name'] = undefined;
92
+
114
93
  /**
115
94
  * @member {module:model/Location} location
116
95
  */
117
-
118
96
  PatchedProducer.prototype['location'] = undefined;
97
+
119
98
  /**
120
99
  * @member {String} retailer
121
100
  */
122
-
123
101
  PatchedProducer.prototype['retailer'] = undefined;
102
+
124
103
  /**
125
104
  * @member {String} blockchain_account_address
126
105
  */
127
-
128
106
  PatchedProducer.prototype['blockchain_account_address'] = undefined;
107
+
129
108
  /**
130
109
  * Not required. 200 characters or fewer.
131
110
  * @member {String} website_url
132
111
  */
133
-
134
112
  PatchedProducer.prototype['website_url'] = undefined;
113
+
135
114
  /**
136
115
  * True if organization is active. Default True.
137
116
  * @member {Boolean} is_active
138
117
  */
139
-
140
118
  PatchedProducer.prototype['is_active'] = undefined;
119
+
141
120
  /**
142
121
  * @member {Date} created_at
143
122
  */
144
-
145
123
  PatchedProducer.prototype['created_at'] = undefined;
124
+
146
125
  /**
147
126
  * @member {Date} updated_at
148
127
  */
149
-
150
128
  PatchedProducer.prototype['updated_at'] = undefined;
151
129
  var _default = PatchedProducer;
152
130
  exports["default"] = _default;