@arrowsphere/api-client 3.200.0 → 3.201.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.
@@ -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
+ };
@@ -137,10 +137,13 @@ declare type MissingFieldsOfStaffSchema = {
137
137
  };
138
138
  export declare type GraphqlApiStaffSchema = Merge<Schema<GraphqlApiStaffType, boolean>, MissingFieldsOfStaffSchema>;
139
139
  export declare type GraphqlApiContributorRoleSchema = Schema<GraphqlApiContributorRoleType, boolean>;
140
+ declare type MissingFieldsOfSubscriptionSchema = {
141
+ partnerTags?: PartnertagSchema;
142
+ };
143
+ export declare type SubscriptionSchema = Merge<Schema<SubscriptionType, boolean>, MissingFieldsOfSubscriptionSchema>;
140
144
  export declare type ReportStatusSchema = Schema<GraphqlApiReportStatusType, boolean>;
141
145
  export declare type SpecialPriceRateSchema = Schema<SpecialPriceRateType, boolean>;
142
146
  export declare type SubscribedProgramSchema = Schema<SubscribedProgramType, boolean>;
143
- export declare type SubscriptionSchema = Schema<SubscriptionType, boolean>;
144
147
  export declare type UserHistorySchema = Schema<UserHistoryType, boolean>;
145
148
  export declare type WorkgroupSchema = Schema<WorkgroupType, boolean>;
146
149
  export declare type SelectAllResultSchema = {
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.200.0",
7
+ "version": "3.201.0-rc-bdj-2",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",