@arrowsphere/api-client 3.70.0-rc.bdj.2 → 3.70.0-rc.bdj.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/CHANGELOG.md CHANGED
@@ -3,6 +3,26 @@
3
3
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
4
4
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
5
 
6
+ ## [3.69.3] - 2023-11-24
7
+
8
+ ### Fixed
9
+ - Add 'recurring' license event type
10
+
11
+ ## [3.69.2] - 2023-11-24
12
+
13
+ ### Fixed
14
+ - Fixed the code type in RegisterCheckReturnVendorStatus as a number and not a string.
15
+
16
+ ### Changed
17
+ - Add the isLocked key in the RegisterCheckReturnData.
18
+
19
+
20
+ ## [3.69.1] - 2023-11-23
21
+
22
+ ### Fixed
23
+ - Fixed the bad schema for ExtraDataType
24
+
25
+
6
26
  ## [3.69.0] - 2023-11-23
7
27
 
8
28
  ### Changed
@@ -36,7 +36,7 @@ export declare type RegisterCheckReturnSyncStatusError = {
36
36
  message?: string;
37
37
  };
38
38
  export declare type RegisterCheckReturnVendorStatus = {
39
- code?: string;
39
+ code?: number;
40
40
  message?: string;
41
41
  };
42
42
  export declare type RegisterCheckReturnSyncStatus = {
@@ -47,18 +47,19 @@ export declare type RegisterCheckReturnSyncStatus = {
47
47
  };
48
48
  export declare type RegisterCheckReturnData = {
49
49
  accountReference?: string;
50
- creationDate?: string;
51
50
  classification?: string;
52
- customerReference?: string;
51
+ creationDate?: string;
53
52
  customerName?: string;
54
- resellerReference?: string;
53
+ customerReference?: string;
54
+ isLocked?: boolean;
55
+ marketplace?: string;
55
56
  resellerName?: string;
57
+ resellerReference?: string;
56
58
  subscriptionReference?: string;
57
- marketplace?: string;
58
- vendorSubscriptionId?: string;
59
- vendorCode?: string;
60
59
  syncStatus?: RegisterCheckReturnSyncStatus;
60
+ vendorCode?: string;
61
61
  vendorStatus?: RegisterCheckReturnVendorStatus;
62
+ vendorSubscriptionId?: string;
62
63
  };
63
64
  export declare type CheckStatusReturn = {
64
65
  status?: number;
@@ -1,6 +1,7 @@
1
1
  import { ContactsType } from './contact';
2
2
  import { CountryType } from './country';
3
3
  import { PartnertagType } from './partnertag';
4
+ import { SubscriptionType } from './subscription';
4
5
  import { WorkgroupType } from './workgroup';
5
6
  export declare type CompanyTypeType = {
6
7
  id?: number;
@@ -39,6 +40,7 @@ declare type CountableType = {
39
40
  export declare type PartnerType = BaseCompanyType & {
40
41
  country?: CountryType;
41
42
  type?: CompanyTypeType;
43
+ subscriptions?: SubscriptionType[];
42
44
  workgroup?: WorkgroupType;
43
45
  subscriptionsPendingCount?: CountableType;
44
46
  subscriptionsCount?: CountableType;
@@ -0,0 +1,5 @@
1
+ export declare type ProgramType = {
2
+ id?: number;
3
+ internalName?: string;
4
+ name?: string;
5
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=program.js.map
@@ -0,0 +1,9 @@
1
+ import { PartnerType } from './company';
2
+ import { ContactsType } from './contact';
3
+ import { ProgramType } from './program';
4
+ export declare type SubscriptionType = {
5
+ id?: number;
6
+ company?: PartnerType;
7
+ localContact?: ContactsType;
8
+ program?: ProgramType;
9
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=subscription.js.map
@@ -5,10 +5,13 @@ import { ContinentType, CountryType } from './entities/country';
5
5
  import { WorkgroupType } from './entities/workgroup';
6
6
  import { ErrorsType, PageType, Queries, SelectDataField, SelectableField } from './graphqlApiQueries';
7
7
  import { ContactsType } from './entities/contact';
8
+ import { ProgramType } from '../../catalog';
9
+ import { SubscriptionType } from './entities/subscription';
8
10
  export declare type PartnertagSchema = Schema<PartnertagType, boolean>;
9
11
  declare type MissingFieldsOfCompanySchema = {
10
12
  contacts?: ContactsSchema;
11
13
  partnerTags?: PartnertagSchema;
14
+ subscriptions?: SubscriptionSchema;
12
15
  };
13
16
  declare type MissingFieldsOfEndCustomerSchema = {
14
17
  contacts?: ContactsSchema;
@@ -23,6 +26,8 @@ export declare type ContinentSchema = Schema<ContinentType, boolean>;
23
26
  export declare type CountrySchema = Schema<CountryType, boolean>;
24
27
  export declare type ErrorsSchema = Schema<ErrorsType, boolean>;
25
28
  export declare type PageSchema = Schema<PageType, boolean>;
29
+ export declare type ProgramSchema = Schema<ProgramType, boolean>;
30
+ export declare type SubscriptionSchema = Schema<SubscriptionType, boolean>;
26
31
  export declare type WorkgroupSchema = Schema<WorkgroupType, boolean>;
27
32
  export declare type SelectAllResultSchema = {
28
33
  [SelectableField.DATA]?: SelectAllResponseDataSchema;
@@ -9,7 +9,8 @@ export declare enum LicenseEventActionType {
9
9
  REACTIVATED = "reactivated",
10
10
  RENEW = "renew",
11
11
  SUSPENDED = "suspended",
12
- PRORATA = "prorata"
12
+ PRORATA = "prorata",
13
+ RECURRING = "recurring"
13
14
  }
14
15
  export declare enum LicenseEventType {
15
16
  ACTIVATION_FAILURE = "activation_failure",
@@ -14,6 +14,7 @@ var LicenseEventActionType;
14
14
  LicenseEventActionType["RENEW"] = "renew";
15
15
  LicenseEventActionType["SUSPENDED"] = "suspended";
16
16
  LicenseEventActionType["PRORATA"] = "prorata";
17
+ LicenseEventActionType["RECURRING"] = "recurring";
17
18
  })(LicenseEventActionType = exports.LicenseEventActionType || (exports.LicenseEventActionType = {}));
18
19
  var LicenseEventType;
19
20
  (function (LicenseEventType) {
@@ -1,5 +1,5 @@
1
1
  import { Merge, Schema } from 'type-fest';
2
- import { AccountType, CheckType, FilterValuesType, MonthlyTrendAggType, WellArchitectedPeriodType, RegistrationType, StandardAggType, StandardType, EndCustomerByDateAggType, AccountByDateAggType, CheckAggType, WellArchitectedPaginationType, ScoreByDateAggType, StandardWithCheckType, ChecksByStandardType, CheckByDateType, EndCustomerAggType, SeverityAggType, AccountAggType, StandardByDateAggType, ScoresAggType, ScoreByMonthAggType, ScoreByMonthSeverityType, SeverityByDateAggType, MarketplaceAggType, MarketplaceByDateAggType, MarketplacePartnerAggType, MarketplacePartnerAggByDateAggType, CheckCountByDateAggType, PartnerByDateAggType, PartnerAggType, UnregisteredOfferIaasSubscriptionType, UnregisteredOfferIaasType, UnregisteredOfferSaasType, UnregisteredEndCustomerAggType } from './wellArchitectedGraphQLTypes';
2
+ import { AccountAggType, AccountByDateAggType, AccountType, CheckAggType, CheckByDateType, CheckCountByDateAggType, ChecksByStandardType, CheckType, EndCustomerAggType, EndCustomerByDateAggType, ExtraDataType, FilterValuesType, MarketplaceAggType, MarketplaceByDateAggType, MarketplacePartnerAggByDateAggType, MarketplacePartnerAggType, MonthlyTrendAggType, PartnerAggType, PartnerByDateAggType, RegistrationType, ScoreByDateAggType, ScoreByMonthAggType, ScoreByMonthSeverityType, ScoresAggType, SeverityAggType, SeverityByDateAggType, StandardAggType, StandardByDateAggType, StandardType, StandardWithCheckType, UnregisteredEndCustomerAggType, UnregisteredOfferIaasSubscriptionType, UnregisteredOfferIaasType, UnregisteredOfferSaasType, WellArchitectedPaginationType, WellArchitectedPeriodType } from './wellArchitectedGraphQLTypes';
3
3
  declare type MissingFieldsOfScoreByMonthAggSchema = {
4
4
  severities: Schema<ScoreByMonthSeverityType, boolean>;
5
5
  };
@@ -91,9 +91,14 @@ declare type MissingFieldsInScoresAggSchema = {
91
91
  scores?: ScoreByDateAggSchema;
92
92
  };
93
93
  export declare type ScoresAggSchema = Merge<Schema<ScoresAggType, boolean>, MissingFieldsInScoresAggSchema>;
94
- declare type CheckByDateSchema = Schema<CheckByDateType, boolean>;
94
+ declare type ExtraDataSchema = Schema<ExtraDataType, boolean>;
95
+ declare type MissingFieldsInCheckByDateSchema = {
96
+ extraData?: ExtraDataSchema;
97
+ };
98
+ declare type CheckByDateSchema = Merge<Schema<CheckByDateType, boolean>, MissingFieldsInCheckByDateSchema>;
95
99
  declare type MissingFieldsInChecksByStandardSchema = {
96
100
  data?: CheckByDateSchema;
101
+ last?: CheckByDateSchema;
97
102
  };
98
103
  declare type ChecksByStandardSchema = Merge<Schema<ChecksByStandardType, boolean>, MissingFieldsInChecksByStandardSchema>;
99
104
  declare type MissingFieldsInStandardWithCheckSchema = {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/ArrowSphere/nodejs-api-client.git"
6
6
  },
7
- "version": "3.70.0-rc.bdj.2",
7
+ "version": "3.70.0-rc.bdj.3",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",