@arrowsphere/api-client 3.28.0 → 3.29.0-rc.jpb.1

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 (156) hide show
  1. package/README.md +12 -0
  2. package/build/AbstractHttpClient.d.ts +47 -0
  3. package/build/AbstractHttpClient.js +80 -0
  4. package/build/abstractClient.d.ts +3 -19
  5. package/build/abstractClient.js +8 -23
  6. package/build/abstractEntity.js +14 -16
  7. package/build/abstractGraphQLClient.d.ts +4 -14
  8. package/build/abstractGraphQLClient.js +32 -24
  9. package/build/axiosSingleton.js +2 -2
  10. package/build/campaign/entities/campaign/banners/banners.js +32 -34
  11. package/build/campaign/entities/campaign/campaign.js +51 -53
  12. package/build/campaign/entities/campaign/landingPage/landingPage.js +24 -26
  13. package/build/campaign/entities/campaign/landingPage/landingPageBody.js +35 -37
  14. package/build/campaign/entities/campaign/landingPage/landingPageFooter/landingPageFooter.js +29 -31
  15. package/build/campaign/entities/campaign/landingPage/landingPageFooter/landingPageFooterFeature.js +23 -25
  16. package/build/campaign/entities/campaign/landingPage/landingPageHeader.js +29 -31
  17. package/build/campaign/entities/campaign/rules/rules.js +29 -31
  18. package/build/campaign/entities/campaignAssets/assets/assets.js +17 -19
  19. package/build/campaign/entities/campaignAssets/campaignAssets.js +14 -16
  20. package/build/campaign/entities/v2/campaign/banner/banner.js +32 -34
  21. package/build/campaign/entities/v2/campaign/campaign.js +48 -50
  22. package/build/campaign/entities/v2/campaign/landingPage/landingPage.js +24 -26
  23. package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooter.js +34 -36
  24. package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeature.js +20 -22
  25. package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeatureItem.js +32 -34
  26. package/build/campaign/entities/v2/campaign/landingPage/landingPageHeader.js +32 -34
  27. package/build/campaign/entities/v2/campaignList.js +14 -16
  28. package/build/campaign/index.js +5 -1
  29. package/build/cart/entities/index.js +5 -1
  30. package/build/cart/entities/item.js +26 -28
  31. package/build/cart/entities/itemList.js +14 -16
  32. package/build/cart/index.js +5 -1
  33. package/build/catalog/catalogGraphQLClient.d.ts +2 -0
  34. package/build/catalog/catalogGraphQLClient.js +14 -1
  35. package/build/catalog/entities/program.js +32 -34
  36. package/build/catalog/entities/programs.js +14 -16
  37. package/build/catalog/index.d.ts +2 -0
  38. package/build/catalog/index.js +7 -1
  39. package/build/catalog/types/catalogGraphQLQueries.d.ts +12 -0
  40. package/build/catalog/types/catalogGraphQLQueries.js +3 -0
  41. package/build/catalog/types/catalogGraphQLSchemas.d.ts +30 -0
  42. package/build/catalog/types/catalogGraphQLSchemas.js +4 -0
  43. package/build/catalog/types/catalogGraphQLTypes.js +1 -0
  44. package/build/catalog/types/queryArguments.d.ts +41 -0
  45. package/build/catalog/types/queryArguments.js +10 -0
  46. package/build/consumption/entities/bi/consumptionBI.js +28 -30
  47. package/build/consumption/entities/bi/period/period.js +17 -19
  48. package/build/consumption/entities/bi/top/top.js +23 -25
  49. package/build/consumption/entities/consumption/consumption.js +17 -19
  50. package/build/consumption/index.js +5 -1
  51. package/build/contact/entities/contact.js +44 -46
  52. package/build/contact/entities/contactCreate.js +14 -16
  53. package/build/contact/entities/contactList.js +14 -16
  54. package/build/contact/index.js +5 -1
  55. package/build/customers/entities/customers/contact/contact.js +29 -31
  56. package/build/customers/entities/customers/customer.js +71 -73
  57. package/build/customers/entities/customers/customerContact/customerContact.js +38 -40
  58. package/build/customers/entities/customers/customerContact/customerContactList.js +14 -16
  59. package/build/customers/entities/customers/details/details.js +29 -31
  60. package/build/customers/entities/dataCustomers.js +14 -16
  61. package/build/customers/entities/dataInvitation.js +29 -31
  62. package/build/customers/entities/invitations/company/company.js +14 -16
  63. package/build/customers/entities/invitations/contact/invitationContact.js +26 -28
  64. package/build/customers/index.js +5 -1
  65. package/build/exception/exception-handlers/HandleHttpExceptionOutput.d.ts +3 -0
  66. package/build/exception/exception-handlers/HandleHttpExceptionOutput.js +3 -0
  67. package/build/exception/exception-handlers/Hooks.d.ts +3 -0
  68. package/build/exception/exception-handlers/Hooks.js +3 -0
  69. package/build/exception/exception-handlers/HttpExceptionHandler.d.ts +10 -0
  70. package/build/exception/exception-handlers/HttpExceptionHandler.js +3 -0
  71. package/build/exception/exception-handlers/index.d.ts +3 -0
  72. package/build/exception/exception-handlers/index.js +20 -0
  73. package/build/exception/index.js +5 -1
  74. package/build/exception/publicApiClientException.d.ts +2 -1
  75. package/build/exception/publicApiClientException.js +2 -1
  76. package/build/general/entities/whoAmI.js +59 -61
  77. package/build/general/index.js +5 -1
  78. package/build/getResult.js +21 -23
  79. package/build/index.d.ts +1 -0
  80. package/build/index.js +6 -1
  81. package/build/licenses/entities/filterFindResult.js +17 -19
  82. package/build/licenses/entities/findResult.d.ts +1 -1
  83. package/build/licenses/entities/findResult.js +37 -39
  84. package/build/licenses/entities/getLicense/actionMessagesGetResult.js +26 -28
  85. package/build/licenses/entities/getLicense/actionsGetResult.js +41 -43
  86. package/build/licenses/entities/getLicense/buySellFindResult.js +17 -19
  87. package/build/licenses/entities/getLicense/licenseGetResult.js +105 -107
  88. package/build/licenses/entities/getLicense/licensePriceGetResult.js +20 -22
  89. package/build/licenses/entities/getLicense/orderGetResult.js +17 -19
  90. package/build/licenses/entities/getResult/getLicenseResult.js +14 -16
  91. package/build/licenses/entities/history/actionHistoryResult.js +23 -25
  92. package/build/licenses/entities/history/licenceHistoryResult.js +14 -16
  93. package/build/licenses/entities/license/activeSeatsFindResult.js +17 -19
  94. package/build/licenses/entities/license/configFindResult.js +20 -22
  95. package/build/licenses/entities/license/licenseFindResult.js +134 -136
  96. package/build/licenses/entities/license/priceFindResult.js +26 -28
  97. package/build/licenses/entities/license/warningFindResult.js +17 -19
  98. package/build/licenses/entities/offer/actionFlagsFindResult.js +20 -22
  99. package/build/licenses/entities/offer/offerFindResult.js +32 -34
  100. package/build/licenses/entities/offer/priceBandFindResult.js +35 -37
  101. package/build/licenses/entities/offer/priceband/billingFindResult.js +20 -22
  102. package/build/licenses/entities/offer/priceband/identifiers/arrowsphereFindResult.js +14 -16
  103. package/build/licenses/entities/offer/priceband/identifiersFindResult.js +14 -16
  104. package/build/licenses/entities/offer/priceband/priceBandActionFlagsFindResult.js +26 -28
  105. package/build/licenses/entities/offer/priceband/priceBandPriceFindResult.js +20 -22
  106. package/build/licenses/entities/offer/priceband/saleConstraintsFindResult.js +17 -19
  107. package/build/licenses/index.js +5 -1
  108. package/build/orders/entities/dataListOrders.js +14 -16
  109. package/build/orders/entities/orders/order.js +39 -41
  110. package/build/orders/entities/orders/partner/partner.js +17 -19
  111. package/build/orders/entities/orders/products/identifiers/productIdentifiers.js +14 -16
  112. package/build/orders/entities/orders/products/identifiers/vendor/identifiersVendor.js +14 -16
  113. package/build/orders/entities/orders/products/prices/productPrices.js +32 -34
  114. package/build/orders/entities/orders/products/products.js +56 -58
  115. package/build/orders/entities/orders/products/program/productProgram.js +14 -16
  116. package/build/orders/entities/referenceLink.js +17 -19
  117. package/build/orders/index.js +5 -1
  118. package/build/pagination.js +29 -31
  119. package/build/security/index.js +5 -1
  120. package/build/security/register/entity/registrationLink.js +14 -16
  121. package/build/security/register/index.js +5 -1
  122. package/build/security/standards/entities/checks/checks.js +17 -19
  123. package/build/security/standards/entities/checks/securityChecks.js +38 -40
  124. package/build/security/standards/entities/resources/resources.js +26 -28
  125. package/build/security/standards/entities/resources/securityResources.js +17 -19
  126. package/build/security/standards/entities/standards/securityStandards.js +29 -31
  127. package/build/security/standards/entities/standards/standards.js +17 -19
  128. package/build/security/standards/index.js +5 -1
  129. package/build/securityScore/entities/getCustomerAccountData.d.ts +44 -0
  130. package/build/securityScore/entities/getCustomerAccountData.js +99 -0
  131. package/build/securityScore/entities/getCustomerData.d.ts +44 -0
  132. package/build/securityScore/entities/getCustomerData.js +99 -0
  133. package/build/securityScore/entities/getPartnerData.d.ts +39 -0
  134. package/build/securityScore/entities/getPartnerData.js +88 -0
  135. package/build/securityScore/index.d.ts +7 -0
  136. package/build/securityScore/index.js +24 -0
  137. package/build/securityScore/securityScoreGraphQLClient.d.ts +19 -0
  138. package/build/securityScore/securityScoreGraphQLClient.js +61 -0
  139. package/build/securityScore/types/queryArguments.d.ts +108 -0
  140. package/build/securityScore/types/queryArguments.js +93 -0
  141. package/build/securityScore/types/securityScoreGraphQLQueries.d.ts +55 -0
  142. package/build/securityScore/types/securityScoreGraphQLQueries.js +7 -0
  143. package/build/securityScore/types/securityScoreGraphQLSchemas.d.ts +71 -0
  144. package/build/securityScore/types/securityScoreGraphQLSchemas.js +3 -0
  145. package/build/securityScore/types/securityScoreGraphQLTypes.d.ts +165 -0
  146. package/build/securityScore/types/securityScoreGraphQLTypes.js +3 -0
  147. package/build/shared/index.js +5 -1
  148. package/build/subscriptions/entities/subscription.js +56 -58
  149. package/build/subscriptions/entities/subscriptionsListResult.js +39 -41
  150. package/build/subscriptions/index.js +5 -1
  151. package/build/supportCenter/entities/issue/attachment.js +27 -29
  152. package/build/supportCenter/entities/issue/comment.js +29 -31
  153. package/build/supportCenter/entities/issue/issue.js +106 -108
  154. package/build/supportCenter/entities/topic.js +30 -32
  155. package/build/supportCenter/index.js +5 -1
  156. package/package.json +5 -3
@@ -1,18 +1,16 @@
1
1
  "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {
3
- if (!privateMap.has(receiver)) {
4
- throw new TypeError("attempted to set private field on non-instance");
5
- }
6
- privateMap.set(receiver, value);
7
- return value;
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
8
7
  };
9
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {
10
- if (!privateMap.has(receiver)) {
11
- throw new TypeError("attempted to get private field on non-instance");
12
- }
13
- return privateMap.get(receiver);
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
14
12
  };
15
- var _description, _flagged, _isFailed, _metadata, _name, _processed, _reference, _score, _severity;
13
+ var _SecurityChecks_description, _SecurityChecks_flagged, _SecurityChecks_isFailed, _SecurityChecks_metadata, _SecurityChecks_name, _SecurityChecks_processed, _SecurityChecks_reference, _SecurityChecks_score, _SecurityChecks_severity;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.SecurityChecks = exports.SecurityChecksFields = void 0;
18
16
  const abstractEntity_1 = require("../../../../abstractEntity");
@@ -31,51 +29,51 @@ var SecurityChecksFields;
31
29
  class SecurityChecks extends abstractEntity_1.AbstractEntity {
32
30
  constructor(securityChecksDataInput) {
33
31
  super(securityChecksDataInput);
34
- _description.set(this, void 0);
35
- _flagged.set(this, void 0);
36
- _isFailed.set(this, void 0);
37
- _metadata.set(this, void 0);
38
- _name.set(this, void 0);
39
- _processed.set(this, void 0);
40
- _reference.set(this, void 0);
41
- _score.set(this, void 0);
42
- _severity.set(this, void 0);
43
- __classPrivateFieldSet(this, _description, securityChecksDataInput[SecurityChecksFields.COLUMN_DESCRIPTION]);
44
- __classPrivateFieldSet(this, _flagged, securityChecksDataInput[SecurityChecksFields.COLUMN_FLAGGED]);
45
- __classPrivateFieldSet(this, _isFailed, securityChecksDataInput[SecurityChecksFields.COLUMN_IS_FAILED]);
46
- __classPrivateFieldSet(this, _metadata, securityChecksDataInput[SecurityChecksFields.COLUMN_METADATA]);
47
- __classPrivateFieldSet(this, _name, securityChecksDataInput[SecurityChecksFields.COLUMN_NAME]);
48
- __classPrivateFieldSet(this, _processed, securityChecksDataInput[SecurityChecksFields.COLUMN_PROCESSED]);
49
- __classPrivateFieldSet(this, _reference, securityChecksDataInput[SecurityChecksFields.COLUMN_REFERENCE]);
50
- __classPrivateFieldSet(this, _score, securityChecksDataInput[SecurityChecksFields.COLUMN_SCORE]);
51
- __classPrivateFieldSet(this, _severity, securityChecksDataInput[SecurityChecksFields.COLUMN_SEVERITY]);
32
+ _SecurityChecks_description.set(this, void 0);
33
+ _SecurityChecks_flagged.set(this, void 0);
34
+ _SecurityChecks_isFailed.set(this, void 0);
35
+ _SecurityChecks_metadata.set(this, void 0);
36
+ _SecurityChecks_name.set(this, void 0);
37
+ _SecurityChecks_processed.set(this, void 0);
38
+ _SecurityChecks_reference.set(this, void 0);
39
+ _SecurityChecks_score.set(this, void 0);
40
+ _SecurityChecks_severity.set(this, void 0);
41
+ __classPrivateFieldSet(this, _SecurityChecks_description, securityChecksDataInput[SecurityChecksFields.COLUMN_DESCRIPTION], "f");
42
+ __classPrivateFieldSet(this, _SecurityChecks_flagged, securityChecksDataInput[SecurityChecksFields.COLUMN_FLAGGED], "f");
43
+ __classPrivateFieldSet(this, _SecurityChecks_isFailed, securityChecksDataInput[SecurityChecksFields.COLUMN_IS_FAILED], "f");
44
+ __classPrivateFieldSet(this, _SecurityChecks_metadata, securityChecksDataInput[SecurityChecksFields.COLUMN_METADATA], "f");
45
+ __classPrivateFieldSet(this, _SecurityChecks_name, securityChecksDataInput[SecurityChecksFields.COLUMN_NAME], "f");
46
+ __classPrivateFieldSet(this, _SecurityChecks_processed, securityChecksDataInput[SecurityChecksFields.COLUMN_PROCESSED], "f");
47
+ __classPrivateFieldSet(this, _SecurityChecks_reference, securityChecksDataInput[SecurityChecksFields.COLUMN_REFERENCE], "f");
48
+ __classPrivateFieldSet(this, _SecurityChecks_score, securityChecksDataInput[SecurityChecksFields.COLUMN_SCORE], "f");
49
+ __classPrivateFieldSet(this, _SecurityChecks_severity, securityChecksDataInput[SecurityChecksFields.COLUMN_SEVERITY], "f");
52
50
  }
53
51
  get description() {
54
- return __classPrivateFieldGet(this, _description);
52
+ return __classPrivateFieldGet(this, _SecurityChecks_description, "f");
55
53
  }
56
54
  get flagged() {
57
- return __classPrivateFieldGet(this, _flagged);
55
+ return __classPrivateFieldGet(this, _SecurityChecks_flagged, "f");
58
56
  }
59
57
  get isFailed() {
60
- return __classPrivateFieldGet(this, _isFailed);
58
+ return __classPrivateFieldGet(this, _SecurityChecks_isFailed, "f");
61
59
  }
62
60
  get metadata() {
63
- return __classPrivateFieldGet(this, _metadata);
61
+ return __classPrivateFieldGet(this, _SecurityChecks_metadata, "f");
64
62
  }
65
63
  get name() {
66
- return __classPrivateFieldGet(this, _name);
64
+ return __classPrivateFieldGet(this, _SecurityChecks_name, "f");
67
65
  }
68
66
  get processed() {
69
- return __classPrivateFieldGet(this, _processed);
67
+ return __classPrivateFieldGet(this, _SecurityChecks_processed, "f");
70
68
  }
71
69
  get reference() {
72
- return __classPrivateFieldGet(this, _reference);
70
+ return __classPrivateFieldGet(this, _SecurityChecks_reference, "f");
73
71
  }
74
72
  get score() {
75
- return __classPrivateFieldGet(this, _score);
73
+ return __classPrivateFieldGet(this, _SecurityChecks_score, "f");
76
74
  }
77
75
  get severity() {
78
- return __classPrivateFieldGet(this, _severity);
76
+ return __classPrivateFieldGet(this, _SecurityChecks_severity, "f");
79
77
  }
80
78
  toJSON() {
81
79
  return {
@@ -92,5 +90,5 @@ class SecurityChecks extends abstractEntity_1.AbstractEntity {
92
90
  }
93
91
  }
94
92
  exports.SecurityChecks = SecurityChecks;
95
- _description = new WeakMap(), _flagged = new WeakMap(), _isFailed = new WeakMap(), _metadata = new WeakMap(), _name = new WeakMap(), _processed = new WeakMap(), _reference = new WeakMap(), _score = new WeakMap(), _severity = new WeakMap();
93
+ _SecurityChecks_description = new WeakMap(), _SecurityChecks_flagged = new WeakMap(), _SecurityChecks_isFailed = new WeakMap(), _SecurityChecks_metadata = new WeakMap(), _SecurityChecks_name = new WeakMap(), _SecurityChecks_processed = new WeakMap(), _SecurityChecks_reference = new WeakMap(), _SecurityChecks_score = new WeakMap(), _SecurityChecks_severity = new WeakMap();
96
94
  //# sourceMappingURL=securityChecks.js.map
@@ -1,18 +1,16 @@
1
1
  "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {
3
- if (!privateMap.has(receiver)) {
4
- throw new TypeError("attempted to set private field on non-instance");
5
- }
6
- privateMap.set(receiver, value);
7
- return value;
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
8
7
  };
9
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {
10
- if (!privateMap.has(receiver)) {
11
- throw new TypeError("attempted to get private field on non-instance");
12
- }
13
- return privateMap.get(receiver);
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
14
12
  };
15
- var _description, _metadata, _name, _resources, _updatedAt;
13
+ var _Resources_description, _Resources_metadata, _Resources_name, _Resources_resources, _Resources_updatedAt;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.Resources = exports.ResourcesFields = void 0;
18
16
  const abstractEntity_1 = require("../../../../abstractEntity");
@@ -28,31 +26,31 @@ var ResourcesFields;
28
26
  class Resources extends abstractEntity_1.AbstractEntity {
29
27
  constructor(resources) {
30
28
  super(resources);
31
- _description.set(this, void 0);
32
- _metadata.set(this, void 0);
33
- _name.set(this, void 0);
34
- _resources.set(this, void 0);
35
- _updatedAt.set(this, void 0);
36
- __classPrivateFieldSet(this, _description, resources[ResourcesFields.COLUMN_DESCRIPTION]);
37
- __classPrivateFieldSet(this, _metadata, resources[ResourcesFields.COLUMN_METADATA]);
38
- __classPrivateFieldSet(this, _name, resources[ResourcesFields.COLUMN_NAME]);
39
- __classPrivateFieldSet(this, _resources, resources[ResourcesFields.COLUMN_RESOURCES].map((securityResources) => new securityResources_1.SecurityResources(securityResources)));
40
- __classPrivateFieldSet(this, _updatedAt, resources[ResourcesFields.COLUMN_UPDATED_AT]);
29
+ _Resources_description.set(this, void 0);
30
+ _Resources_metadata.set(this, void 0);
31
+ _Resources_name.set(this, void 0);
32
+ _Resources_resources.set(this, void 0);
33
+ _Resources_updatedAt.set(this, void 0);
34
+ __classPrivateFieldSet(this, _Resources_description, resources[ResourcesFields.COLUMN_DESCRIPTION], "f");
35
+ __classPrivateFieldSet(this, _Resources_metadata, resources[ResourcesFields.COLUMN_METADATA], "f");
36
+ __classPrivateFieldSet(this, _Resources_name, resources[ResourcesFields.COLUMN_NAME], "f");
37
+ __classPrivateFieldSet(this, _Resources_resources, resources[ResourcesFields.COLUMN_RESOURCES].map((securityResources) => new securityResources_1.SecurityResources(securityResources)), "f");
38
+ __classPrivateFieldSet(this, _Resources_updatedAt, resources[ResourcesFields.COLUMN_UPDATED_AT], "f");
41
39
  }
42
40
  get description() {
43
- return __classPrivateFieldGet(this, _description);
41
+ return __classPrivateFieldGet(this, _Resources_description, "f");
44
42
  }
45
43
  get metadata() {
46
- return __classPrivateFieldGet(this, _metadata);
44
+ return __classPrivateFieldGet(this, _Resources_metadata, "f");
47
45
  }
48
46
  get name() {
49
- return __classPrivateFieldGet(this, _name);
47
+ return __classPrivateFieldGet(this, _Resources_name, "f");
50
48
  }
51
49
  get resources() {
52
- return __classPrivateFieldGet(this, _resources);
50
+ return __classPrivateFieldGet(this, _Resources_resources, "f");
53
51
  }
54
52
  get updatedAt() {
55
- return __classPrivateFieldGet(this, _updatedAt);
53
+ return __classPrivateFieldGet(this, _Resources_updatedAt, "f");
56
54
  }
57
55
  toJSON() {
58
56
  return {
@@ -65,5 +63,5 @@ class Resources extends abstractEntity_1.AbstractEntity {
65
63
  }
66
64
  }
67
65
  exports.Resources = Resources;
68
- _description = new WeakMap(), _metadata = new WeakMap(), _name = new WeakMap(), _resources = new WeakMap(), _updatedAt = new WeakMap();
66
+ _Resources_description = new WeakMap(), _Resources_metadata = new WeakMap(), _Resources_name = new WeakMap(), _Resources_resources = new WeakMap(), _Resources_updatedAt = new WeakMap();
69
67
  //# sourceMappingURL=resources.js.map
@@ -1,18 +1,16 @@
1
1
  "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {
3
- if (!privateMap.has(receiver)) {
4
- throw new TypeError("attempted to set private field on non-instance");
5
- }
6
- privateMap.set(receiver, value);
7
- return value;
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
8
7
  };
9
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {
10
- if (!privateMap.has(receiver)) {
11
- throw new TypeError("attempted to get private field on non-instance");
12
- }
13
- return privateMap.get(receiver);
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
14
12
  };
15
- var _status, _values;
13
+ var _SecurityResources_status, _SecurityResources_values;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.SecurityResources = exports.SecurityResourcesFields = void 0;
18
16
  const abstractEntity_1 = require("../../../../abstractEntity");
@@ -24,16 +22,16 @@ var SecurityResourcesFields;
24
22
  class SecurityResources extends abstractEntity_1.AbstractEntity {
25
23
  constructor(securityResources) {
26
24
  super(securityResources);
27
- _status.set(this, void 0);
28
- _values.set(this, void 0);
29
- __classPrivateFieldSet(this, _status, securityResources[SecurityResourcesFields.COLUMN_STATUS]);
30
- __classPrivateFieldSet(this, _values, securityResources[SecurityResourcesFields.COLUMN_VALUES]);
25
+ _SecurityResources_status.set(this, void 0);
26
+ _SecurityResources_values.set(this, void 0);
27
+ __classPrivateFieldSet(this, _SecurityResources_status, securityResources[SecurityResourcesFields.COLUMN_STATUS], "f");
28
+ __classPrivateFieldSet(this, _SecurityResources_values, securityResources[SecurityResourcesFields.COLUMN_VALUES], "f");
31
29
  }
32
30
  get status() {
33
- return __classPrivateFieldGet(this, _status);
31
+ return __classPrivateFieldGet(this, _SecurityResources_status, "f");
34
32
  }
35
33
  get values() {
36
- return __classPrivateFieldGet(this, _values);
34
+ return __classPrivateFieldGet(this, _SecurityResources_values, "f");
37
35
  }
38
36
  toJSON() {
39
37
  return {
@@ -43,5 +41,5 @@ class SecurityResources extends abstractEntity_1.AbstractEntity {
43
41
  }
44
42
  }
45
43
  exports.SecurityResources = SecurityResources;
46
- _status = new WeakMap(), _values = new WeakMap();
44
+ _SecurityResources_status = new WeakMap(), _SecurityResources_values = new WeakMap();
47
45
  //# sourceMappingURL=securityResources.js.map
@@ -1,18 +1,16 @@
1
1
  "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {
3
- if (!privateMap.has(receiver)) {
4
- throw new TypeError("attempted to set private field on non-instance");
5
- }
6
- privateMap.set(receiver, value);
7
- return value;
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
8
7
  };
9
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {
10
- if (!privateMap.has(receiver)) {
11
- throw new TypeError("attempted to get private field on non-instance");
12
- }
13
- return privateMap.get(receiver);
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
14
12
  };
15
- var _failed, _name, _passed, _reference, _score, _total;
13
+ var _SecurityStandards_failed, _SecurityStandards_name, _SecurityStandards_passed, _SecurityStandards_reference, _SecurityStandards_score, _SecurityStandards_total;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.SecurityStandards = exports.SecurityStandardsFields = void 0;
18
16
  const abstractEntity_1 = require("../../../../abstractEntity");
@@ -28,36 +26,36 @@ var SecurityStandardsFields;
28
26
  class SecurityStandards extends abstractEntity_1.AbstractEntity {
29
27
  constructor(standardsSecurityDataInput) {
30
28
  super(standardsSecurityDataInput);
31
- _failed.set(this, void 0);
32
- _name.set(this, void 0);
33
- _passed.set(this, void 0);
34
- _reference.set(this, void 0);
35
- _score.set(this, void 0);
36
- _total.set(this, void 0);
37
- __classPrivateFieldSet(this, _failed, standardsSecurityDataInput[SecurityStandardsFields.COLUMN_FAILED]);
38
- __classPrivateFieldSet(this, _name, standardsSecurityDataInput[SecurityStandardsFields.COLUMN_NAME]);
39
- __classPrivateFieldSet(this, _passed, standardsSecurityDataInput[SecurityStandardsFields.COLUMN_PASSED]);
40
- __classPrivateFieldSet(this, _reference, standardsSecurityDataInput[SecurityStandardsFields.COLUMN_REFERENCE]);
41
- __classPrivateFieldSet(this, _score, standardsSecurityDataInput[SecurityStandardsFields.COLUMN_SCORE]);
42
- __classPrivateFieldSet(this, _total, standardsSecurityDataInput[SecurityStandardsFields.COLUMN_TOTAL]);
29
+ _SecurityStandards_failed.set(this, void 0);
30
+ _SecurityStandards_name.set(this, void 0);
31
+ _SecurityStandards_passed.set(this, void 0);
32
+ _SecurityStandards_reference.set(this, void 0);
33
+ _SecurityStandards_score.set(this, void 0);
34
+ _SecurityStandards_total.set(this, void 0);
35
+ __classPrivateFieldSet(this, _SecurityStandards_failed, standardsSecurityDataInput[SecurityStandardsFields.COLUMN_FAILED], "f");
36
+ __classPrivateFieldSet(this, _SecurityStandards_name, standardsSecurityDataInput[SecurityStandardsFields.COLUMN_NAME], "f");
37
+ __classPrivateFieldSet(this, _SecurityStandards_passed, standardsSecurityDataInput[SecurityStandardsFields.COLUMN_PASSED], "f");
38
+ __classPrivateFieldSet(this, _SecurityStandards_reference, standardsSecurityDataInput[SecurityStandardsFields.COLUMN_REFERENCE], "f");
39
+ __classPrivateFieldSet(this, _SecurityStandards_score, standardsSecurityDataInput[SecurityStandardsFields.COLUMN_SCORE], "f");
40
+ __classPrivateFieldSet(this, _SecurityStandards_total, standardsSecurityDataInput[SecurityStandardsFields.COLUMN_TOTAL], "f");
43
41
  }
44
42
  get failed() {
45
- return __classPrivateFieldGet(this, _failed);
43
+ return __classPrivateFieldGet(this, _SecurityStandards_failed, "f");
46
44
  }
47
45
  get name() {
48
- return __classPrivateFieldGet(this, _name);
46
+ return __classPrivateFieldGet(this, _SecurityStandards_name, "f");
49
47
  }
50
48
  get passed() {
51
- return __classPrivateFieldGet(this, _passed);
49
+ return __classPrivateFieldGet(this, _SecurityStandards_passed, "f");
52
50
  }
53
51
  get reference() {
54
- return __classPrivateFieldGet(this, _reference);
52
+ return __classPrivateFieldGet(this, _SecurityStandards_reference, "f");
55
53
  }
56
54
  get score() {
57
- return __classPrivateFieldGet(this, _score);
55
+ return __classPrivateFieldGet(this, _SecurityStandards_score, "f");
58
56
  }
59
57
  get total() {
60
- return __classPrivateFieldGet(this, _total);
58
+ return __classPrivateFieldGet(this, _SecurityStandards_total, "f");
61
59
  }
62
60
  toJSON() {
63
61
  return {
@@ -71,5 +69,5 @@ class SecurityStandards extends abstractEntity_1.AbstractEntity {
71
69
  }
72
70
  }
73
71
  exports.SecurityStandards = SecurityStandards;
74
- _failed = new WeakMap(), _name = new WeakMap(), _passed = new WeakMap(), _reference = new WeakMap(), _score = new WeakMap(), _total = new WeakMap();
72
+ _SecurityStandards_failed = new WeakMap(), _SecurityStandards_name = new WeakMap(), _SecurityStandards_passed = new WeakMap(), _SecurityStandards_reference = new WeakMap(), _SecurityStandards_score = new WeakMap(), _SecurityStandards_total = new WeakMap();
75
73
  //# sourceMappingURL=securityStandards.js.map
@@ -1,18 +1,16 @@
1
1
  "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {
3
- if (!privateMap.has(receiver)) {
4
- throw new TypeError("attempted to set private field on non-instance");
5
- }
6
- privateMap.set(receiver, value);
7
- return value;
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
8
7
  };
9
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {
10
- if (!privateMap.has(receiver)) {
11
- throw new TypeError("attempted to get private field on non-instance");
12
- }
13
- return privateMap.get(receiver);
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
14
12
  };
15
- var _standards, _updatedAt;
13
+ var _Standards_standards, _Standards_updatedAt;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.Standards = exports.StandardsFields = void 0;
18
16
  const abstractEntity_1 = require("../../../../abstractEntity");
@@ -25,16 +23,16 @@ var StandardsFields;
25
23
  class Standards extends abstractEntity_1.AbstractEntity {
26
24
  constructor(standardsDataInput) {
27
25
  super(standardsDataInput);
28
- _standards.set(this, void 0);
29
- _updatedAt.set(this, void 0);
30
- __classPrivateFieldSet(this, _standards, standardsDataInput[StandardsFields.COLUMN_STANDARDS].map((securityStandards) => new securityStandards_1.SecurityStandards(securityStandards)));
31
- __classPrivateFieldSet(this, _updatedAt, standardsDataInput[StandardsFields.COLUMN_UPDATED_AT]);
26
+ _Standards_standards.set(this, void 0);
27
+ _Standards_updatedAt.set(this, void 0);
28
+ __classPrivateFieldSet(this, _Standards_standards, standardsDataInput[StandardsFields.COLUMN_STANDARDS].map((securityStandards) => new securityStandards_1.SecurityStandards(securityStandards)), "f");
29
+ __classPrivateFieldSet(this, _Standards_updatedAt, standardsDataInput[StandardsFields.COLUMN_UPDATED_AT], "f");
32
30
  }
33
31
  get standards() {
34
- return __classPrivateFieldGet(this, _standards);
32
+ return __classPrivateFieldGet(this, _Standards_standards, "f");
35
33
  }
36
34
  get updatedAt() {
37
- return __classPrivateFieldGet(this, _updatedAt);
35
+ return __classPrivateFieldGet(this, _Standards_updatedAt, "f");
38
36
  }
39
37
  toJSON() {
40
38
  return {
@@ -44,5 +42,5 @@ class Standards extends abstractEntity_1.AbstractEntity {
44
42
  }
45
43
  }
46
44
  exports.Standards = Standards;
47
- _standards = new WeakMap(), _updatedAt = new WeakMap();
45
+ _Standards_standards = new WeakMap(), _Standards_updatedAt = new WeakMap();
48
46
  //# sourceMappingURL=standards.js.map
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -0,0 +1,44 @@
1
+ import { AbstractEntity } from '../../abstractEntity';
2
+ import { CheckByStandardType, FilterType, ScoreResultType, MonthlyTrendAggType, IssuesAggType, SeveritiesAggType, PeriodsType, StandardType, StandardsAggType } from '../types/securityScoreGraphQLTypes';
3
+ import { SecurityScoreQueries } from '../types/queryArguments';
4
+ export declare enum GetCustomerAccountDataFields {
5
+ COLUMN_AVG_CURRENT_SCORE = "avgCurrentScore",
6
+ COLUMN_CHECKS = "checks",
7
+ COLUMN_FILTERS = "filters",
8
+ COLUMN_ISSUE_AGG = "issueAgg",
9
+ COLUMN_MONTHLY_TREND_AGG = "monthlyTrendAgg",
10
+ COLUMN_PERIOD = "period",
11
+ COLUMN_RESULT = "result",
12
+ COLUMN_SEVERITY_AGG = "severityAgg",
13
+ COLUMN_STANDARDS_AGG = "standardsAgg",
14
+ COLUMN_STANDARDS = "standards"
15
+ }
16
+ export declare type GetCustomerAccountDataType = {
17
+ [GetCustomerAccountDataFields.COLUMN_AVG_CURRENT_SCORE]?: number;
18
+ [GetCustomerAccountDataFields.COLUMN_CHECKS]?: [CheckByStandardType];
19
+ [GetCustomerAccountDataFields.COLUMN_FILTERS]?: [FilterType];
20
+ [GetCustomerAccountDataFields.COLUMN_ISSUE_AGG]?: IssuesAggType;
21
+ [GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
22
+ [GetCustomerAccountDataFields.COLUMN_PERIOD]?: PeriodsType;
23
+ [GetCustomerAccountDataFields.COLUMN_RESULT]?: ScoreResultType;
24
+ [GetCustomerAccountDataFields.COLUMN_SEVERITY_AGG]?: SeveritiesAggType;
25
+ [GetCustomerAccountDataFields.COLUMN_STANDARDS_AGG]?: StandardsAggType;
26
+ [GetCustomerAccountDataFields.COLUMN_STANDARDS]?: [StandardType];
27
+ };
28
+ export declare type GetCustomerAccountDataGraphQLResultType = {
29
+ [SecurityScoreQueries.GET_CUSTOMER_ACCOUNT_DATA]: GetCustomerAccountDataType;
30
+ };
31
+ export declare class GetCustomerAccountData extends AbstractEntity<GetCustomerAccountDataType> {
32
+ #private;
33
+ constructor(getCustomerAccountDataInput: GetCustomerAccountDataType);
34
+ get avgCurrentScore(): number | undefined;
35
+ get checks(): [CheckByStandardType] | undefined;
36
+ get filters(): [FilterType] | undefined;
37
+ get issueAgg(): IssuesAggType | undefined;
38
+ get monthlyTrendAgg(): MonthlyTrendAggType | undefined;
39
+ get period(): PeriodsType | undefined;
40
+ get result(): ScoreResultType | undefined;
41
+ get standardsAgg(): StandardsAggType | undefined;
42
+ get standards(): [StandardType] | undefined;
43
+ toJSON(): GetCustomerAccountDataType;
44
+ }
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _GetCustomerAccountData_avgCurrentScore, _GetCustomerAccountData_checks, _GetCustomerAccountData_filters, _GetCustomerAccountData_issueAgg, _GetCustomerAccountData_monthlyTrendAgg, _GetCustomerAccountData_period, _GetCustomerAccountData_result, _GetCustomerAccountData_severityAgg, _GetCustomerAccountData_standardsAgg, _GetCustomerAccountData_standards;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.GetCustomerAccountData = exports.GetCustomerAccountDataFields = void 0;
16
+ const abstractEntity_1 = require("../../abstractEntity");
17
+ const queryArguments_1 = require("../types/queryArguments");
18
+ var GetCustomerAccountDataFields;
19
+ (function (GetCustomerAccountDataFields) {
20
+ GetCustomerAccountDataFields["COLUMN_AVG_CURRENT_SCORE"] = "avgCurrentScore";
21
+ GetCustomerAccountDataFields["COLUMN_CHECKS"] = "checks";
22
+ GetCustomerAccountDataFields["COLUMN_FILTERS"] = "filters";
23
+ GetCustomerAccountDataFields["COLUMN_ISSUE_AGG"] = "issueAgg";
24
+ GetCustomerAccountDataFields["COLUMN_MONTHLY_TREND_AGG"] = "monthlyTrendAgg";
25
+ GetCustomerAccountDataFields["COLUMN_PERIOD"] = "period";
26
+ GetCustomerAccountDataFields["COLUMN_RESULT"] = "result";
27
+ GetCustomerAccountDataFields["COLUMN_SEVERITY_AGG"] = "severityAgg";
28
+ GetCustomerAccountDataFields["COLUMN_STANDARDS_AGG"] = "standardsAgg";
29
+ GetCustomerAccountDataFields["COLUMN_STANDARDS"] = "standards";
30
+ })(GetCustomerAccountDataFields = exports.GetCustomerAccountDataFields || (exports.GetCustomerAccountDataFields = {}));
31
+ class GetCustomerAccountData extends abstractEntity_1.AbstractEntity {
32
+ constructor(getCustomerAccountDataInput) {
33
+ super(getCustomerAccountDataInput);
34
+ _GetCustomerAccountData_avgCurrentScore.set(this, void 0);
35
+ _GetCustomerAccountData_checks.set(this, void 0);
36
+ _GetCustomerAccountData_filters.set(this, void 0);
37
+ _GetCustomerAccountData_issueAgg.set(this, void 0);
38
+ _GetCustomerAccountData_monthlyTrendAgg.set(this, void 0);
39
+ _GetCustomerAccountData_period.set(this, void 0);
40
+ _GetCustomerAccountData_result.set(this, void 0);
41
+ _GetCustomerAccountData_severityAgg.set(this, void 0);
42
+ _GetCustomerAccountData_standardsAgg.set(this, void 0);
43
+ _GetCustomerAccountData_standards.set(this, void 0);
44
+ __classPrivateFieldSet(this, _GetCustomerAccountData_avgCurrentScore, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_AVG_CURRENT_SCORE], "f");
45
+ __classPrivateFieldSet(this, _GetCustomerAccountData_checks, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_CHECKS], "f");
46
+ __classPrivateFieldSet(this, _GetCustomerAccountData_filters, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_FILTERS], "f");
47
+ __classPrivateFieldSet(this, _GetCustomerAccountData_issueAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_ISSUE_AGG], "f");
48
+ __classPrivateFieldSet(this, _GetCustomerAccountData_monthlyTrendAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG], "f");
49
+ __classPrivateFieldSet(this, _GetCustomerAccountData_period, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_PERIOD], "f");
50
+ __classPrivateFieldSet(this, _GetCustomerAccountData_result, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_RESULT], "f");
51
+ __classPrivateFieldSet(this, _GetCustomerAccountData_severityAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_SEVERITY_AGG], "f");
52
+ __classPrivateFieldSet(this, _GetCustomerAccountData_standardsAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_STANDARDS_AGG], "f");
53
+ __classPrivateFieldSet(this, _GetCustomerAccountData_standards, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_STANDARDS], "f");
54
+ }
55
+ get avgCurrentScore() {
56
+ return __classPrivateFieldGet(this, _GetCustomerAccountData_avgCurrentScore, "f");
57
+ }
58
+ get checks() {
59
+ return __classPrivateFieldGet(this, _GetCustomerAccountData_checks, "f");
60
+ }
61
+ get filters() {
62
+ return __classPrivateFieldGet(this, _GetCustomerAccountData_filters, "f");
63
+ }
64
+ get issueAgg() {
65
+ return __classPrivateFieldGet(this, _GetCustomerAccountData_issueAgg, "f");
66
+ }
67
+ get monthlyTrendAgg() {
68
+ return __classPrivateFieldGet(this, _GetCustomerAccountData_monthlyTrendAgg, "f");
69
+ }
70
+ get period() {
71
+ return __classPrivateFieldGet(this, _GetCustomerAccountData_period, "f");
72
+ }
73
+ get result() {
74
+ return __classPrivateFieldGet(this, _GetCustomerAccountData_result, "f");
75
+ }
76
+ get standardsAgg() {
77
+ return __classPrivateFieldGet(this, _GetCustomerAccountData_standardsAgg, "f");
78
+ }
79
+ get standards() {
80
+ return __classPrivateFieldGet(this, _GetCustomerAccountData_standards, "f");
81
+ }
82
+ toJSON() {
83
+ return {
84
+ [GetCustomerAccountDataFields.COLUMN_AVG_CURRENT_SCORE]: __classPrivateFieldGet(this, _GetCustomerAccountData_avgCurrentScore, "f"),
85
+ [GetCustomerAccountDataFields.COLUMN_CHECKS]: __classPrivateFieldGet(this, _GetCustomerAccountData_checks, "f"),
86
+ [GetCustomerAccountDataFields.COLUMN_FILTERS]: __classPrivateFieldGet(this, _GetCustomerAccountData_filters, "f"),
87
+ [GetCustomerAccountDataFields.COLUMN_ISSUE_AGG]: __classPrivateFieldGet(this, _GetCustomerAccountData_issueAgg, "f"),
88
+ [GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG]: __classPrivateFieldGet(this, _GetCustomerAccountData_monthlyTrendAgg, "f"),
89
+ [GetCustomerAccountDataFields.COLUMN_PERIOD]: __classPrivateFieldGet(this, _GetCustomerAccountData_period, "f"),
90
+ [GetCustomerAccountDataFields.COLUMN_RESULT]: __classPrivateFieldGet(this, _GetCustomerAccountData_result, "f"),
91
+ [GetCustomerAccountDataFields.COLUMN_SEVERITY_AGG]: __classPrivateFieldGet(this, _GetCustomerAccountData_severityAgg, "f"),
92
+ [GetCustomerAccountDataFields.COLUMN_STANDARDS_AGG]: __classPrivateFieldGet(this, _GetCustomerAccountData_standardsAgg, "f"),
93
+ [GetCustomerAccountDataFields.COLUMN_STANDARDS]: __classPrivateFieldGet(this, _GetCustomerAccountData_standards, "f"),
94
+ };
95
+ }
96
+ }
97
+ exports.GetCustomerAccountData = GetCustomerAccountData;
98
+ _GetCustomerAccountData_avgCurrentScore = new WeakMap(), _GetCustomerAccountData_checks = new WeakMap(), _GetCustomerAccountData_filters = new WeakMap(), _GetCustomerAccountData_issueAgg = new WeakMap(), _GetCustomerAccountData_monthlyTrendAgg = new WeakMap(), _GetCustomerAccountData_period = new WeakMap(), _GetCustomerAccountData_result = new WeakMap(), _GetCustomerAccountData_severityAgg = new WeakMap(), _GetCustomerAccountData_standardsAgg = new WeakMap(), _GetCustomerAccountData_standards = new WeakMap();
99
+ //# sourceMappingURL=getCustomerAccountData.js.map
@@ -0,0 +1,44 @@
1
+ import { AbstractEntity } from '../../abstractEntity';
2
+ import { AccountsAggType, FilterType, ScoreResultType, MonthlyTrendAggType, IssuesAggType, SeveritiesAggType, PeriodsType, StandardType } from '../types/securityScoreGraphQLTypes';
3
+ import { SecurityScoreQueries } from '../types/queryArguments';
4
+ export declare enum GetCustomerDataFields {
5
+ COLUMN_ACCOUNTS_AGG = "accountsAgg",
6
+ COLUMN_AVG_CURRENT_SCORE = "avgCurrentScore",
7
+ COLUMN_FILTERS = "filters",
8
+ COLUMN_MONTHLY_TREND_AGG = "monthlyTrendAgg",
9
+ COLUMN_PERIOD = "period",
10
+ COLUMN_RESULTS = "results",
11
+ COLUMN_ISSUE_AGG = "issueAgg",
12
+ COLUMN_SEVERITY_AGG = "severityAgg",
13
+ COLUMN_STANDARDS = "standards",
14
+ COLUMN_SUBSCRIPTION_REFERENCES = "subscriptionReferences"
15
+ }
16
+ export declare type GetCustomerDataType = {
17
+ [GetCustomerDataFields.COLUMN_ACCOUNTS_AGG]?: AccountsAggType;
18
+ [GetCustomerDataFields.COLUMN_AVG_CURRENT_SCORE]?: number;
19
+ [GetCustomerDataFields.COLUMN_FILTERS]?: [FilterType];
20
+ [GetCustomerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
21
+ [GetCustomerDataFields.COLUMN_PERIOD]?: PeriodsType;
22
+ [GetCustomerDataFields.COLUMN_RESULTS]?: [ScoreResultType];
23
+ [GetCustomerDataFields.COLUMN_ISSUE_AGG]?: IssuesAggType;
24
+ [GetCustomerDataFields.COLUMN_SEVERITY_AGG]?: SeveritiesAggType;
25
+ [GetCustomerDataFields.COLUMN_STANDARDS]?: [StandardType];
26
+ [GetCustomerDataFields.COLUMN_SUBSCRIPTION_REFERENCES]?: number;
27
+ };
28
+ export declare type GetCustomerDataGraphQLResultType = {
29
+ [SecurityScoreQueries.GET_CUSTOMER_DATA]: GetCustomerDataType;
30
+ };
31
+ export declare class GetCustomerData extends AbstractEntity<GetCustomerDataType> {
32
+ #private;
33
+ constructor(getCustomerDataInput: GetCustomerDataType);
34
+ get accountsAgg(): AccountsAggType | undefined;
35
+ get avgCurrentScore(): number | undefined;
36
+ get filters(): [FilterType] | undefined;
37
+ get monthlyTrendAgg(): MonthlyTrendAggType | undefined;
38
+ get period(): PeriodsType | undefined;
39
+ get results(): [ScoreResultType] | undefined;
40
+ get issueAgg(): IssuesAggType | undefined;
41
+ get standards(): [StandardType] | undefined;
42
+ get subscriptionReferences(): number | undefined;
43
+ toJSON(): GetCustomerDataType;
44
+ }