@arrowsphere/api-client 3.70.0-rc.bdj.2 → 3.70.0-rc.bdj.4

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;
@@ -4,5 +4,6 @@ export * from './types/entities/contact';
4
4
  export * from './types/entities/company';
5
5
  export * from './types/entities/country';
6
6
  export * from './types/entities/partnertag';
7
+ export * from './types/entities/subscription';
7
8
  export * from './types/entities/workgroup';
8
9
  export * from './graphqlApiClient';
@@ -20,6 +20,7 @@ __exportStar(require("./types/entities/contact"), exports);
20
20
  __exportStar(require("./types/entities/company"), exports);
21
21
  __exportStar(require("./types/entities/country"), exports);
22
22
  __exportStar(require("./types/entities/partnertag"), exports);
23
+ __exportStar(require("./types/entities/subscription"), exports);
23
24
  __exportStar(require("./types/entities/workgroup"), exports);
24
25
  __exportStar(require("./graphqlApiClient"), exports);
25
26
  //# sourceMappingURL=index.js.map
@@ -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
@@ -1,6 +1,7 @@
1
1
  import { ArrowCompanyType, EndCustomerType, PartnerType } from './entities/company';
2
2
  import { ContinentType, CountryType } from './entities/country';
3
3
  import { PartnertagType } from './entities/partnertag';
4
+ import { SubscriptionType } from './entities/subscription';
4
5
  import { WorkgroupType } from './entities/workgroup';
5
6
  import { ErrorsSchema, PageSchema, SelectAllResponseDataSchema, SelectOneResponseDataSchema } from './graphqlApiSchemas';
6
7
  /**
@@ -113,6 +114,7 @@ export declare enum SelectDataField {
113
114
  END_CUSTOMER = "endCustomer",
114
115
  PARTNER = "partner",
115
116
  PARTNERTAG = "partnertag",
117
+ SUBSCRIPTION = "subscription",
116
118
  WORKGROUP = "workgroup"
117
119
  }
118
120
  export declare type SelectAllResultType = {
@@ -129,6 +131,7 @@ export declare type SelectAllResponseDataType = {
129
131
  [SelectDataField.END_CUSTOMER]?: EndCustomerType[];
130
132
  [SelectDataField.PARTNER]?: PartnerType[];
131
133
  [SelectDataField.PARTNERTAG]?: PartnertagType[];
134
+ [SelectDataField.SUBSCRIPTION]?: SubscriptionType[];
132
135
  [SelectDataField.WORKGROUP]?: WorkgroupType[];
133
136
  };
134
137
  export declare enum ErrorsField {
@@ -170,6 +173,7 @@ export declare type SelectOneResponseDataType = {
170
173
  [SelectDataField.END_CUSTOMER]?: EndCustomerType;
171
174
  [SelectDataField.PARTNER]?: PartnerType;
172
175
  [SelectDataField.PARTNERTAG]?: PartnertagType;
176
+ [SelectDataField.SUBSCRIPTION]?: SubscriptionType;
173
177
  [SelectDataField.WORKGROUP]?: WorkgroupType;
174
178
  };
175
179
  export declare enum QueryVariablesField {
@@ -96,6 +96,7 @@ var SelectDataField;
96
96
  SelectDataField["END_CUSTOMER"] = "endCustomer";
97
97
  SelectDataField["PARTNER"] = "partner";
98
98
  SelectDataField["PARTNERTAG"] = "partnertag";
99
+ SelectDataField["SUBSCRIPTION"] = "subscription";
99
100
  SelectDataField["WORKGROUP"] = "workgroup";
100
101
  })(SelectDataField = exports.SelectDataField || (exports.SelectDataField = {}));
101
102
  var ErrorsField;
@@ -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;
@@ -36,6 +41,7 @@ export declare type SelectAllResponseDataSchema = {
36
41
  [SelectDataField.END_CUSTOMER]?: EndCustomerSchema;
37
42
  [SelectDataField.PARTNER]?: PartnerSchema;
38
43
  [SelectDataField.PARTNERTAG]?: PartnertagSchema;
44
+ [SelectDataField.SUBSCRIPTION]?: SubscriptionSchema;
39
45
  [SelectDataField.WORKGROUP]?: WorkgroupSchema;
40
46
  };
41
47
  export declare type SelectOneResultSchema = {
@@ -49,6 +55,7 @@ export declare type SelectOneResponseDataSchema = {
49
55
  [SelectDataField.END_CUSTOMER]?: EndCustomerSchema;
50
56
  [SelectDataField.PARTNER]?: PartnerSchema;
51
57
  [SelectDataField.PARTNERTAG]?: PartnertagSchema;
58
+ [SelectDataField.SUBSCRIPTION]?: SubscriptionSchema;
52
59
  [SelectDataField.WORKGROUP]?: WorkgroupSchema;
53
60
  };
54
61
  export declare type SelectAllQuerySchema = {
@@ -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.4",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",