@arrowsphere/api-client 3.28.0 → 3.29.0-rc.bdj.2

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 +9 -25
  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 +48 -0
  130. package/build/securityScore/entities/getCustomerAccountData.js +111 -0
  131. package/build/securityScore/entities/getCustomerData.d.ts +51 -0
  132. package/build/securityScore/entities/getCustomerData.js +117 -0
  133. package/build/securityScore/entities/getPartnerData.d.ts +45 -0
  134. package/build/securityScore/entities/getPartnerData.js +102 -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 +62 -0
  142. package/build/securityScore/types/securityScoreGraphQLQueries.js +7 -0
  143. package/build/securityScore/types/securityScoreGraphQLSchemas.d.ts +78 -0
  144. package/build/securityScore/types/securityScoreGraphQLSchemas.js +3 -0
  145. package/build/securityScore/types/securityScoreGraphQLTypes.d.ts +190 -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
@@ -0,0 +1,62 @@
1
+ import { SearchBodyArgument, PaginateArgument, SecurityScoreQueries } from './queryArguments';
2
+ import { AccountsAggSchema, ChecksAggSchema, EndCustomersAggSchema, FilterSchema, MonthlyTrendAggSchema, PaginationSchema, PeriodsSchema, ScoreResultSchema, ScoresAggSchema, SeveritiesAggSchema, StandardsAggSchema, StandardSchema, StandardWithCheckSchema } from './securityScoreGraphQLSchemas';
3
+ import { GetPartnerDataFields } from '../entities/getPartnerData';
4
+ import { GetCustomerDataFields } from '../entities/getCustomerData';
5
+ import { GetCustomerAccountDataFields } from '../entities/getCustomerAccountData';
6
+ export declare type GetPartnerDataQuery = {
7
+ [SecurityScoreQueries.GET_PARTNER_DATA]: {
8
+ __args?: {
9
+ searchBody?: SearchBodyArgument;
10
+ paginate?: PaginateArgument;
11
+ };
12
+ [GetPartnerDataFields.COLUMN_AVG_CURRENT_SCORE]?: boolean;
13
+ [GetPartnerDataFields.COLUMN_CHECKS_AGG]?: ChecksAggSchema;
14
+ [GetPartnerDataFields.COLUMN_END_CUSTOMERS_AGG]?: EndCustomersAggSchema;
15
+ [GetPartnerDataFields.COLUMN_FILTERS]?: FilterSchema;
16
+ [GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggSchema;
17
+ [GetPartnerDataFields.COLUMN_PAGINATION]?: PaginationSchema;
18
+ [GetPartnerDataFields.COLUMN_PERIOD]?: PeriodsSchema;
19
+ [GetPartnerDataFields.COLUMN_RESULTS]?: ScoreResultSchema;
20
+ [GetPartnerDataFields.COLUMN_SCORES_AGG]?: ScoresAggSchema;
21
+ [GetPartnerDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggSchema;
22
+ };
23
+ };
24
+ export declare type GetCustomerDataQuery = {
25
+ [SecurityScoreQueries.GET_CUSTOMER_DATA]: {
26
+ __args?: {
27
+ searchBody?: SearchBodyArgument;
28
+ paginate?: PaginateArgument;
29
+ };
30
+ [GetCustomerDataFields.COLUMN_ACCOUNTS_AGG]?: AccountsAggSchema;
31
+ [GetCustomerDataFields.COLUMN_AVG_CURRENT_SCORE]?: boolean;
32
+ [GetCustomerDataFields.COLUMN_CHECKS_AGG]?: ChecksAggSchema;
33
+ [GetCustomerDataFields.COLUMN_FILTERS]?: FilterSchema;
34
+ [GetCustomerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggSchema;
35
+ [GetCustomerDataFields.COLUMN_PAGINATION]?: PaginationSchema;
36
+ [GetCustomerDataFields.COLUMN_PERIOD]?: PeriodsSchema;
37
+ [GetCustomerDataFields.COLUMN_RESULTS]?: ScoreResultSchema;
38
+ [GetCustomerDataFields.COLUMN_SCORES_AGG]?: ScoresAggSchema;
39
+ [GetCustomerDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggSchema;
40
+ [GetCustomerDataFields.COLUMN_STANDARDS]?: StandardSchema;
41
+ [GetCustomerDataFields.COLUMN_SUBSCRIPTION_REFERENCES]?: boolean;
42
+ };
43
+ };
44
+ export declare type GetCustomerAccountDataQuery = {
45
+ [SecurityScoreQueries.GET_CUSTOMER_ACCOUNT_DATA]: {
46
+ __args?: {
47
+ searchBody?: SearchBodyArgument;
48
+ paginate?: PaginateArgument;
49
+ };
50
+ [GetCustomerAccountDataFields.COLUMN_AVG_CURRENT_SCORE]?: boolean;
51
+ [GetCustomerAccountDataFields.COLUMN_CHECKS_AGG]?: ChecksAggSchema;
52
+ [GetCustomerAccountDataFields.COLUMN_FILTERS]?: FilterSchema;
53
+ [GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggSchema;
54
+ [GetCustomerAccountDataFields.COLUMN_PAGINATION]?: PaginationSchema;
55
+ [GetCustomerAccountDataFields.COLUMN_PERIOD]?: PeriodsSchema;
56
+ [GetCustomerAccountDataFields.COLUMN_RESULTS]?: ScoreResultSchema;
57
+ [GetCustomerAccountDataFields.COLUMN_SCORES_AGG]?: ScoresAggSchema;
58
+ [GetCustomerAccountDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggSchema;
59
+ [GetCustomerAccountDataFields.COLUMN_STANDARDS_AGG]?: StandardsAggSchema;
60
+ [GetCustomerAccountDataFields.COLUMN_STANDARDS]?: StandardWithCheckSchema;
61
+ };
62
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const queryArguments_1 = require("./queryArguments");
4
+ const getPartnerData_1 = require("../entities/getPartnerData");
5
+ const getCustomerData_1 = require("../entities/getCustomerData");
6
+ const getCustomerAccountData_1 = require("../entities/getCustomerAccountData");
7
+ //# sourceMappingURL=securityScoreGraphQLQueries.js.map
@@ -0,0 +1,78 @@
1
+ import { Merge, Schema } from 'type-fest';
2
+ import { AccountType, CheckType, FilterValuesType, MonthlyTrendAggType, PeriodsType, RegistrationType, StandardAggType, StandardType, EndCustomerByDateAggType, AccountByDateAggType, CheckAggType, PaginationsType, ScoreByDateAggType, StandardWithCheckType, ChecksByStandardType, CheckByDateType, NameCountByDateAggType, EndCustomerAggType, SeverityAggType, AccountAggType, StandardByDateAggType, ScoreByMonthAggType, ScoresAggType } from './securityScoreGraphQLTypes';
3
+ declare type MissingFieldsOfMonthlyTrendAggSchema = {
4
+ scores?: Schema<ScoreByMonthAggType, boolean>;
5
+ };
6
+ export declare type MonthlyTrendAggSchema = Merge<Schema<MonthlyTrendAggType, boolean>, MissingFieldsOfMonthlyTrendAggSchema>;
7
+ export declare type PaginationSchema = Schema<PaginationsType, boolean>;
8
+ declare type EndCustomerByDateAggSchema = Schema<EndCustomerByDateAggType, boolean>;
9
+ declare type MissingFieldsInEndCustomerAggSchema = {
10
+ data?: EndCustomerByDateAggSchema;
11
+ };
12
+ declare type EndCustomerAggSchema = Merge<Schema<EndCustomerAggType, boolean>, MissingFieldsInEndCustomerAggSchema>;
13
+ export declare type EndCustomersAggSchema = {
14
+ customers?: EndCustomerAggSchema;
15
+ };
16
+ declare type AccountByDateAggSchema = Schema<AccountByDateAggType, boolean>;
17
+ declare type MissingFieldsInAccountAggSchema = {
18
+ data?: AccountByDateAggSchema;
19
+ };
20
+ declare type AccountAggSchema = Merge<Schema<AccountAggType, boolean>, MissingFieldsInAccountAggSchema>;
21
+ export declare type AccountsAggSchema = {
22
+ accounts?: AccountAggSchema;
23
+ };
24
+ declare type FilterValuesSchema = Schema<FilterValuesType, boolean>;
25
+ export declare type FilterSchema = {
26
+ name?: boolean;
27
+ values?: FilterValuesSchema;
28
+ };
29
+ declare type NameCountByDateAggSchema = Schema<NameCountByDateAggType, boolean>;
30
+ declare type MissingFieldsInCheckDataAggSchema = {
31
+ data?: NameCountByDateAggSchema;
32
+ };
33
+ declare type CheckAggAggSchema = Merge<Schema<CheckAggType, boolean>, MissingFieldsInCheckDataAggSchema>;
34
+ export declare type ChecksAggSchema = {
35
+ checks?: CheckAggAggSchema;
36
+ };
37
+ export declare type PeriodsSchema = Schema<PeriodsType, boolean>;
38
+ declare type CheckSchema = Schema<CheckType, boolean>;
39
+ declare type MissingFieldsInStandardType = {
40
+ checks?: CheckSchema;
41
+ };
42
+ export declare type StandardSchema = Merge<Schema<StandardType, boolean>, MissingFieldsInStandardType>;
43
+ declare type MissingFieldsInAccountSchema = {
44
+ standards?: StandardSchema;
45
+ };
46
+ declare type AccountSchema = Merge<Schema<AccountType, boolean>, MissingFieldsInAccountSchema>;
47
+ declare type RegistrationSchema = Schema<RegistrationType, boolean>;
48
+ export declare type ScoreResultSchema = {
49
+ account?: AccountSchema;
50
+ registration?: RegistrationSchema;
51
+ };
52
+ export declare type SeverityAggSchema = Merge<Schema<SeverityAggType, boolean>, MissingFieldsInCheckDataAggSchema>;
53
+ export declare type SeveritiesAggSchema = {
54
+ severities?: SeverityAggSchema;
55
+ };
56
+ declare type StandardByDateAggSchema = Schema<StandardByDateAggType, boolean>;
57
+ declare type MissingFieldsInStandardAggSchema = {
58
+ data?: StandardByDateAggSchema;
59
+ };
60
+ declare type StandardAggSchema = Merge<Schema<StandardAggType, boolean>, MissingFieldsInStandardAggSchema>;
61
+ export declare type StandardsAggSchema = {
62
+ standards?: StandardAggSchema;
63
+ };
64
+ declare type ScoreByDateAggSchema = Schema<ScoreByDateAggType, boolean>;
65
+ declare type MissingFieldsInScoresAggSchema = {
66
+ scores?: ScoreByDateAggSchema;
67
+ };
68
+ export declare type ScoresAggSchema = Merge<Schema<ScoresAggType, boolean>, MissingFieldsInScoresAggSchema>;
69
+ declare type CheckByDateSchema = Schema<CheckByDateType, boolean>;
70
+ declare type MissingFieldsInChecksByStandardSchema = {
71
+ data?: CheckByDateSchema;
72
+ };
73
+ declare type ChecksByStandardSchema = Merge<Schema<ChecksByStandardType, boolean>, MissingFieldsInChecksByStandardSchema>;
74
+ declare type MissingFieldsInStandardWithCheckSchema = {
75
+ checks?: ChecksByStandardSchema;
76
+ };
77
+ export declare type StandardWithCheckSchema = Merge<Schema<StandardWithCheckType, boolean>, MissingFieldsInStandardWithCheckSchema>;
78
+ export {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=securityScoreGraphQLSchemas.js.map
@@ -0,0 +1,190 @@
1
+ export declare type FilterType = {
2
+ name?: string;
3
+ values?: [FilterValuesType];
4
+ };
5
+ export declare type FilterValuesType = {
6
+ count?: number;
7
+ value?: string;
8
+ };
9
+ export declare type PaginationsType = {
10
+ currentPage?: number;
11
+ next?: string;
12
+ perPage?: number;
13
+ previous?: string;
14
+ total?: number;
15
+ totalPage?: number;
16
+ };
17
+ export declare type SubscriptionRegistrationType = {
18
+ reference: string;
19
+ };
20
+ export declare type CustomerRegistrationType = {
21
+ name?: string;
22
+ reference?: string;
23
+ };
24
+ export declare type ResellerRegistrationType = {
25
+ name?: string;
26
+ reference?: string;
27
+ };
28
+ export declare type RegistrationType = {
29
+ accountReference?: string;
30
+ customer?: CustomerRegistrationType;
31
+ marketplace?: string;
32
+ reseller?: ResellerRegistrationType;
33
+ subscription?: SubscriptionRegistrationType;
34
+ vendorCode?: string;
35
+ };
36
+ export declare type CheckType = {
37
+ description?: string;
38
+ flagged?: number;
39
+ isFailed?: boolean;
40
+ name?: string;
41
+ processed?: number;
42
+ reference?: string;
43
+ score?: number;
44
+ severity?: string;
45
+ };
46
+ export declare type StandardType = {
47
+ checks?: [CheckType];
48
+ failed?: number;
49
+ name?: string;
50
+ passed?: number;
51
+ reference?: string;
52
+ score?: number;
53
+ total?: number;
54
+ };
55
+ export declare type AccountType = {
56
+ failed?: number;
57
+ name?: string;
58
+ passed?: number;
59
+ reference?: string;
60
+ score?: number;
61
+ standards?: [StandardType];
62
+ total?: number;
63
+ };
64
+ export declare type ScoreResultType = {
65
+ account?: AccountType;
66
+ registration?: RegistrationType;
67
+ };
68
+ export declare type NameCountByDateAggType = {
69
+ count?: number;
70
+ date?: string;
71
+ };
72
+ export declare type SeverityAggType = {
73
+ data?: [NameCountByDateAggType];
74
+ last?: NameCountByDateAggType;
75
+ name?: string;
76
+ progression?: number;
77
+ };
78
+ export declare type SeveritiesAggType = {
79
+ severities: [SeverityAggType];
80
+ };
81
+ export declare type CheckAggType = {
82
+ data?: [NameCountByDateAggType];
83
+ last?: NameCountByDateAggType;
84
+ name?: string;
85
+ progression?: number;
86
+ reference?: string;
87
+ vendorCode?: string;
88
+ };
89
+ export declare type ChecksAggType = {
90
+ checks: [CheckAggType];
91
+ };
92
+ export declare type EndCustomerByDateAggType = {
93
+ accounts?: number;
94
+ avgCurrentScore?: number;
95
+ date?: string;
96
+ failed?: number;
97
+ passed?: number;
98
+ total?: number;
99
+ subscriptionReferences?: number;
100
+ };
101
+ export declare type EndCustomerAggType = {
102
+ data?: [EndCustomerByDateAggType];
103
+ last?: EndCustomerByDateAggType;
104
+ name?: string;
105
+ progression?: number;
106
+ reference?: string;
107
+ };
108
+ export declare type EndCustomersAggType = {
109
+ customers: [EndCustomerAggType];
110
+ };
111
+ export declare type ScoreByMonthAggType = {
112
+ avgCurrentScore?: number;
113
+ date?: string;
114
+ };
115
+ export declare type MonthlyTrendAggType = {
116
+ avgCurrentScore: number;
117
+ period: PeriodsType;
118
+ scores: [ScoreByMonthAggType];
119
+ };
120
+ export declare type ScoreByDateAggType = {
121
+ avgCurrentScore?: number;
122
+ date?: string;
123
+ failed?: number;
124
+ passed?: number;
125
+ total?: number;
126
+ };
127
+ export declare type ScoresAggType = {
128
+ last?: ScoreByDateAggType;
129
+ scores?: [ScoreByDateAggType];
130
+ total?: number;
131
+ };
132
+ export declare type AccountByDateAggType = {
133
+ avgCurrentScore: number;
134
+ date: string;
135
+ failed: number;
136
+ passed: number;
137
+ total?: number;
138
+ };
139
+ export declare type AccountAggType = {
140
+ data?: [AccountByDateAggType];
141
+ last?: AccountByDateAggType;
142
+ name?: string;
143
+ progression?: number;
144
+ reference?: string;
145
+ };
146
+ export declare type AccountsAggType = {
147
+ accounts: [AccountAggType];
148
+ };
149
+ export declare type StandardByDateAggType = {
150
+ date?: string;
151
+ score?: number;
152
+ failed?: number;
153
+ passed?: number;
154
+ total?: number;
155
+ };
156
+ export declare type StandardAggType = {
157
+ data?: [StandardByDateAggType];
158
+ last?: StandardByDateAggType;
159
+ name?: string;
160
+ progression?: number;
161
+ reference?: string;
162
+ };
163
+ export declare type StandardsAggType = {
164
+ standards: [StandardAggType];
165
+ };
166
+ export declare type CheckByDateType = {
167
+ date?: string;
168
+ flagged?: number;
169
+ isFailed?: boolean;
170
+ processed?: number;
171
+ score?: number;
172
+ };
173
+ export declare type ChecksByStandardType = {
174
+ data?: [CheckByDateType];
175
+ description?: string;
176
+ last?: CheckByDateType;
177
+ name?: string;
178
+ progression?: number;
179
+ reference?: string;
180
+ severity?: string;
181
+ };
182
+ export declare type StandardWithCheckType = {
183
+ checks?: [ChecksByStandardType];
184
+ name?: string;
185
+ reference?: string;
186
+ };
187
+ export declare type PeriodsType = {
188
+ from?: string;
189
+ to?: string;
190
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=securityScoreGraphQLTypes.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];
@@ -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 _subscriptionId, _partnerTagLabels, _workgroupCode, _companyName, _subscription, _startDate, _endDate, _lastUpdate, _status, _subscriptionDateValidation, _subscriptionDateDemand, _clickToAccept, _unvalidated, _version, _number;
13
+ var _Subscription_subscriptionId, _Subscription_partnerTagLabels, _Subscription_workgroupCode, _Subscription_companyName, _Subscription_subscription, _Subscription_startDate, _Subscription_endDate, _Subscription_lastUpdate, _Subscription_status, _Subscription_subscriptionDateValidation, _Subscription_subscriptionDateDemand, _Subscription_clickToAccept, _Subscription_unvalidated, _Subscription_version, _Subscription_number;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.Subscription = exports.SubscriptionFields = void 0;
18
16
  const abstractEntity_1 = require("../../abstractEntity");
@@ -62,81 +60,81 @@ class Subscription extends abstractEntity_1.AbstractEntity {
62
60
  [SubscriptionFields.COLUMN_VERSION]: 'required|number',
63
61
  [SubscriptionFields.COLUMN_NUMBER]: 'required|number',
64
62
  };
65
- _subscriptionId.set(this, void 0);
66
- _partnerTagLabels.set(this, void 0);
67
- _workgroupCode.set(this, void 0);
68
- _companyName.set(this, void 0);
69
- _subscription.set(this, void 0);
70
- _startDate.set(this, void 0);
71
- _endDate.set(this, void 0);
72
- _lastUpdate.set(this, void 0);
73
- _status.set(this, void 0);
74
- _subscriptionDateValidation.set(this, void 0);
75
- _subscriptionDateDemand.set(this, void 0);
76
- _clickToAccept.set(this, void 0);
77
- _unvalidated.set(this, void 0);
78
- _version.set(this, void 0);
79
- _number.set(this, void 0);
80
- __classPrivateFieldSet(this, _subscriptionId, data[SubscriptionFields.COLUMN_SUBSCRIPTION_ID]);
81
- __classPrivateFieldSet(this, _partnerTagLabels, data[SubscriptionFields.COLUMN_PARTNER_TAG_LABELS]);
82
- __classPrivateFieldSet(this, _workgroupCode, data[SubscriptionFields.COLUMN_WORKGROUP_CODE]);
83
- __classPrivateFieldSet(this, _companyName, data[SubscriptionFields.COLUMN_COMPANY_NAME]);
84
- __classPrivateFieldSet(this, _subscription, data[SubscriptionFields.COLUMN_SUBSCRIPTION]);
85
- __classPrivateFieldSet(this, _startDate, data[SubscriptionFields.COLUMN_START_DATE]);
86
- __classPrivateFieldSet(this, _endDate, data[SubscriptionFields.COLUMN_END_DATE]);
87
- __classPrivateFieldSet(this, _lastUpdate, data[SubscriptionFields.COLUMN_LAST_UPDATE]);
88
- __classPrivateFieldSet(this, _status, data[SubscriptionFields.COLUMN_STATUS]);
89
- __classPrivateFieldSet(this, _subscriptionDateValidation, data[SubscriptionFields.COLUMN_SUBSCRIPTION_DATEVALIDATION]);
90
- __classPrivateFieldSet(this, _subscriptionDateDemand, data[SubscriptionFields.COLUMN_SUBSCRIPTION_DATEDEMAND]);
91
- __classPrivateFieldSet(this, _clickToAccept, data[SubscriptionFields.COLUMN_CLICK_TO_ACCEPT]);
92
- __classPrivateFieldSet(this, _unvalidated, data[SubscriptionFields.COLUMN_UNVALIDATED]);
93
- __classPrivateFieldSet(this, _version, data[SubscriptionFields.COLUMN_VERSION]);
94
- __classPrivateFieldSet(this, _number, data[SubscriptionFields.COLUMN_NUMBER]);
63
+ _Subscription_subscriptionId.set(this, void 0);
64
+ _Subscription_partnerTagLabels.set(this, void 0);
65
+ _Subscription_workgroupCode.set(this, void 0);
66
+ _Subscription_companyName.set(this, void 0);
67
+ _Subscription_subscription.set(this, void 0);
68
+ _Subscription_startDate.set(this, void 0);
69
+ _Subscription_endDate.set(this, void 0);
70
+ _Subscription_lastUpdate.set(this, void 0);
71
+ _Subscription_status.set(this, void 0);
72
+ _Subscription_subscriptionDateValidation.set(this, void 0);
73
+ _Subscription_subscriptionDateDemand.set(this, void 0);
74
+ _Subscription_clickToAccept.set(this, void 0);
75
+ _Subscription_unvalidated.set(this, void 0);
76
+ _Subscription_version.set(this, void 0);
77
+ _Subscription_number.set(this, void 0);
78
+ __classPrivateFieldSet(this, _Subscription_subscriptionId, data[SubscriptionFields.COLUMN_SUBSCRIPTION_ID], "f");
79
+ __classPrivateFieldSet(this, _Subscription_partnerTagLabels, data[SubscriptionFields.COLUMN_PARTNER_TAG_LABELS], "f");
80
+ __classPrivateFieldSet(this, _Subscription_workgroupCode, data[SubscriptionFields.COLUMN_WORKGROUP_CODE], "f");
81
+ __classPrivateFieldSet(this, _Subscription_companyName, data[SubscriptionFields.COLUMN_COMPANY_NAME], "f");
82
+ __classPrivateFieldSet(this, _Subscription_subscription, data[SubscriptionFields.COLUMN_SUBSCRIPTION], "f");
83
+ __classPrivateFieldSet(this, _Subscription_startDate, data[SubscriptionFields.COLUMN_START_DATE], "f");
84
+ __classPrivateFieldSet(this, _Subscription_endDate, data[SubscriptionFields.COLUMN_END_DATE], "f");
85
+ __classPrivateFieldSet(this, _Subscription_lastUpdate, data[SubscriptionFields.COLUMN_LAST_UPDATE], "f");
86
+ __classPrivateFieldSet(this, _Subscription_status, data[SubscriptionFields.COLUMN_STATUS], "f");
87
+ __classPrivateFieldSet(this, _Subscription_subscriptionDateValidation, data[SubscriptionFields.COLUMN_SUBSCRIPTION_DATEVALIDATION], "f");
88
+ __classPrivateFieldSet(this, _Subscription_subscriptionDateDemand, data[SubscriptionFields.COLUMN_SUBSCRIPTION_DATEDEMAND], "f");
89
+ __classPrivateFieldSet(this, _Subscription_clickToAccept, data[SubscriptionFields.COLUMN_CLICK_TO_ACCEPT], "f");
90
+ __classPrivateFieldSet(this, _Subscription_unvalidated, data[SubscriptionFields.COLUMN_UNVALIDATED], "f");
91
+ __classPrivateFieldSet(this, _Subscription_version, data[SubscriptionFields.COLUMN_VERSION], "f");
92
+ __classPrivateFieldSet(this, _Subscription_number, data[SubscriptionFields.COLUMN_NUMBER], "f");
95
93
  }
96
94
  get subscriptionId() {
97
- return __classPrivateFieldGet(this, _subscriptionId);
95
+ return __classPrivateFieldGet(this, _Subscription_subscriptionId, "f");
98
96
  }
99
97
  get partnerTagLabels() {
100
- return __classPrivateFieldGet(this, _partnerTagLabels);
98
+ return __classPrivateFieldGet(this, _Subscription_partnerTagLabels, "f");
101
99
  }
102
100
  get workgroupCode() {
103
- return __classPrivateFieldGet(this, _workgroupCode);
101
+ return __classPrivateFieldGet(this, _Subscription_workgroupCode, "f");
104
102
  }
105
103
  get companyName() {
106
- return __classPrivateFieldGet(this, _companyName);
104
+ return __classPrivateFieldGet(this, _Subscription_companyName, "f");
107
105
  }
108
106
  get subscription() {
109
- return __classPrivateFieldGet(this, _subscription);
107
+ return __classPrivateFieldGet(this, _Subscription_subscription, "f");
110
108
  }
111
109
  get startDate() {
112
- return __classPrivateFieldGet(this, _startDate);
110
+ return __classPrivateFieldGet(this, _Subscription_startDate, "f");
113
111
  }
114
112
  get endDate() {
115
- return __classPrivateFieldGet(this, _endDate);
113
+ return __classPrivateFieldGet(this, _Subscription_endDate, "f");
116
114
  }
117
115
  get lastUpdate() {
118
- return __classPrivateFieldGet(this, _lastUpdate);
116
+ return __classPrivateFieldGet(this, _Subscription_lastUpdate, "f");
119
117
  }
120
118
  get status() {
121
- return __classPrivateFieldGet(this, _status);
119
+ return __classPrivateFieldGet(this, _Subscription_status, "f");
122
120
  }
123
121
  get subscriptionDateValidation() {
124
- return __classPrivateFieldGet(this, _subscriptionDateValidation);
122
+ return __classPrivateFieldGet(this, _Subscription_subscriptionDateValidation, "f");
125
123
  }
126
124
  get subscriptionDateDemand() {
127
- return __classPrivateFieldGet(this, _subscriptionDateDemand);
125
+ return __classPrivateFieldGet(this, _Subscription_subscriptionDateDemand, "f");
128
126
  }
129
127
  get clickToAccept() {
130
- return __classPrivateFieldGet(this, _clickToAccept);
128
+ return __classPrivateFieldGet(this, _Subscription_clickToAccept, "f");
131
129
  }
132
130
  get unvalidated() {
133
- return __classPrivateFieldGet(this, _unvalidated);
131
+ return __classPrivateFieldGet(this, _Subscription_unvalidated, "f");
134
132
  }
135
133
  get version() {
136
- return __classPrivateFieldGet(this, _version);
134
+ return __classPrivateFieldGet(this, _Subscription_version, "f");
137
135
  }
138
136
  get number() {
139
- return __classPrivateFieldGet(this, _number);
137
+ return __classPrivateFieldGet(this, _Subscription_number, "f");
140
138
  }
141
139
  /**
142
140
  * Plain JSON object representation of the subscription entity.
@@ -164,5 +162,5 @@ class Subscription extends abstractEntity_1.AbstractEntity {
164
162
  }
165
163
  }
166
164
  exports.Subscription = Subscription;
167
- _subscriptionId = new WeakMap(), _partnerTagLabels = new WeakMap(), _workgroupCode = new WeakMap(), _companyName = new WeakMap(), _subscription = new WeakMap(), _startDate = new WeakMap(), _endDate = new WeakMap(), _lastUpdate = new WeakMap(), _status = new WeakMap(), _subscriptionDateValidation = new WeakMap(), _subscriptionDateDemand = new WeakMap(), _clickToAccept = new WeakMap(), _unvalidated = new WeakMap(), _version = new WeakMap(), _number = new WeakMap();
165
+ _Subscription_subscriptionId = new WeakMap(), _Subscription_partnerTagLabels = new WeakMap(), _Subscription_workgroupCode = new WeakMap(), _Subscription_companyName = new WeakMap(), _Subscription_subscription = new WeakMap(), _Subscription_startDate = new WeakMap(), _Subscription_endDate = new WeakMap(), _Subscription_lastUpdate = new WeakMap(), _Subscription_status = new WeakMap(), _Subscription_subscriptionDateValidation = new WeakMap(), _Subscription_subscriptionDateDemand = new WeakMap(), _Subscription_clickToAccept = new WeakMap(), _Subscription_unvalidated = new WeakMap(), _Subscription_version = new WeakMap(), _Subscription_number = new WeakMap();
168
166
  //# sourceMappingURL=subscription.js.map