@arrowsphere/api-client 3.213.0 → 3.215.0-rc-bdj-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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
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.214.0] - 2025.07.31
7
+
8
+ ### Added
9
+
10
+ - [licenses] update field `scheduleTaskId` to optional
11
+
6
12
  ## [3.213.0] - 2025.07.31
7
13
 
8
14
  ### Added
@@ -1,18 +1,36 @@
1
1
  import { PartnerType } from './company';
2
2
  import { ContactsType } from './contact';
3
+ import { PartnertagType } from './partnertag';
3
4
  import { GraphqlApiProgramLevelType, GraphqlApiProgramType } from './program';
4
5
  export declare type SubscriptionType = {
5
6
  id?: number;
7
+ agreement?: GraphqlApiSubscriptionAgreementType;
6
8
  autoReporting?: boolean;
9
+ clicktoAccept?: boolean;
7
10
  company?: PartnerType;
11
+ ctaValidatedAt?: string;
12
+ demandedAt?: string;
13
+ enabled?: boolean;
8
14
  endedAt?: string;
9
15
  level?: GraphqlApiProgramLevelType;
10
16
  localContact?: ContactsType;
11
17
  orderId?: string;
12
18
  partnerContact?: ContactsType;
13
19
  partnerId?: string;
20
+ partnerTags?: PartnertagType[];
14
21
  program?: GraphqlApiProgramType;
15
22
  startedAt?: string;
23
+ status?: GraphqlApiSubscriptionStatusType;
24
+ updatedAt?: string;
16
25
  userNote?: string;
17
26
  validatedAt?: string;
18
27
  };
28
+ export declare type GraphqlApiSubscriptionStatusType = {
29
+ id?: number;
30
+ name?: string;
31
+ };
32
+ export declare type GraphqlApiSubscriptionAgreementType = {
33
+ id?: number;
34
+ lastVersion?: number;
35
+ total?: number;
36
+ };
@@ -144,10 +144,13 @@ declare type MissingFieldsOfStaffSchema = {
144
144
  };
145
145
  export declare type GraphqlApiStaffSchema = Merge<Schema<GraphqlApiStaffType, boolean>, MissingFieldsOfStaffSchema>;
146
146
  export declare type GraphqlApiContributorRoleSchema = Schema<GraphqlApiContributorRoleType, boolean>;
147
+ declare type MissingFieldsOfSubscriptionSchema = {
148
+ partnerTags?: PartnertagSchema;
149
+ };
150
+ export declare type SubscriptionSchema = Merge<Schema<SubscriptionType, boolean>, MissingFieldsOfSubscriptionSchema>;
147
151
  export declare type ReportStatusSchema = Schema<GraphqlApiReportStatusType, boolean>;
148
152
  export declare type SpecialPriceRateSchema = Schema<SpecialPriceRateType, boolean>;
149
153
  export declare type SubscribedProgramSchema = Schema<SubscribedProgramType, boolean>;
150
- export declare type SubscriptionSchema = Schema<SubscriptionType, boolean>;
151
154
  export declare type UserHistorySchema = Schema<UserHistoryType, boolean>;
152
155
  export declare type WorkgroupSchema = Schema<WorkgroupType, boolean>;
153
156
  export declare type SupportLevelSchema = Schema<GraphqlApiSupportLevel, boolean>;
@@ -1,9 +1,9 @@
1
1
  import { AbstractEntity } from '../../../abstractEntity';
2
2
  export declare type ScheduleTaskData = {
3
- scheduleTaskId: number;
3
+ scheduleTaskId?: number;
4
4
  };
5
5
  export declare class ScheduleTasksResult extends AbstractEntity<ScheduleTaskData> {
6
6
  #private;
7
- constructor(data: ScheduleTaskData);
7
+ constructor(data: ScheduleTaskData | undefined);
8
8
  toJSON(): ScheduleTaskData;
9
9
  }
@@ -16,13 +16,13 @@ exports.ScheduleTasksResult = void 0;
16
16
  const abstractEntity_1 = require("../../../abstractEntity");
17
17
  class ScheduleTasksResult extends abstractEntity_1.AbstractEntity {
18
18
  constructor(data) {
19
- super(data);
19
+ super(data !== null && data !== void 0 ? data : {});
20
20
  _ScheduleTasksResult_scheduleTaskId.set(this, void 0);
21
- __classPrivateFieldSet(this, _ScheduleTasksResult_scheduleTaskId, data.scheduleTaskId, "f");
21
+ __classPrivateFieldSet(this, _ScheduleTasksResult_scheduleTaskId, data === null || data === void 0 ? void 0 : data.scheduleTaskId, "f");
22
22
  }
23
23
  toJSON() {
24
24
  return {
25
- scheduleTaskId: __classPrivateFieldGet(this, _ScheduleTasksResult_scheduleTaskId, "f"),
25
+ ...(__classPrivateFieldGet(this, _ScheduleTasksResult_scheduleTaskId, "f") ? { scheduleTaskId: __classPrivateFieldGet(this, _ScheduleTasksResult_scheduleTaskId, "f") } : {}),
26
26
  };
27
27
  }
28
28
  }
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.213.0",
7
+ "version": "3.215.0-rc-bdj-1",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",