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