cf-service-sdk 0.0.30 → 0.0.31

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.
@@ -720,6 +720,7 @@ export type CompanyInput = {
720
720
  companyName?: InputMaybe<Scalars['String']['input']>;
721
721
  country?: InputMaybe<Scalars['String']['input']>;
722
722
  description?: InputMaybe<Scalars['String']['input']>;
723
+ email?: InputMaybe<Scalars['String']['input']>;
723
724
  employeeSize?: InputMaybe<Scalars['String']['input']>;
724
725
  facebookUrl?: InputMaybe<Scalars['String']['input']>;
725
726
  id?: InputMaybe<Scalars['ID']['input']>;
@@ -731,6 +732,7 @@ export type CompanyInput = {
731
732
  /** List of company locations to create/update */
732
733
  locations?: InputMaybe<Array<InputMaybe<CompanyLocationInput>>>;
733
734
  logoUrl?: InputMaybe<Scalars['String']['input']>;
735
+ phone?: InputMaybe<Scalars['String']['input']>;
734
736
  productMetalScores?: InputMaybe<Array<InputMaybe<ProductMetalScoreInput>>>;
735
737
  state?: InputMaybe<Scalars['String']['input']>;
736
738
  twitterUrl?: InputMaybe<Scalars['String']['input']>;
@@ -2470,11 +2472,9 @@ export type TaskStatsObject = {
2470
2472
  export type TasksResponse = {
2471
2473
  __typename?: 'TasksResponse';
2472
2474
  items?: Maybe<Array<Maybe<TaskObject>>>;
2473
- page?: Maybe<Scalars['Int']['output']>;
2474
- pageSize?: Maybe<Scalars['Int']['output']>;
2475
+ /** Pagination information */
2476
+ pagination?: Maybe<PaginationInfo>;
2475
2477
  stats?: Maybe<TaskStatsObject>;
2476
- total?: Maybe<Scalars['Int']['output']>;
2477
- totalPages?: Maybe<Scalars['Int']['output']>;
2478
2478
  };
2479
2479
  export type UsStateData = {
2480
2480
  __typename?: 'USStateData';
@@ -11001,10 +11001,6 @@ export type TasksQuery = {
11001
11001
  __typename?: 'Query';
11002
11002
  tasks?: {
11003
11003
  __typename?: 'TasksResponse';
11004
- total?: number | null;
11005
- page?: number | null;
11006
- pageSize?: number | null;
11007
- totalPages?: number | null;
11008
11004
  items?: Array<{
11009
11005
  __typename?: 'TaskObject';
11010
11006
  id?: number | null;
@@ -11141,6 +11137,15 @@ export type TasksQuery = {
11141
11137
  callCampaignLogOutcome?: string | null;
11142
11138
  } | null;
11143
11139
  } | null> | null;
11140
+ pagination?: {
11141
+ __typename?: 'PaginationInfo';
11142
+ currentPage?: number | null;
11143
+ pageSize?: number | null;
11144
+ totalPages?: number | null;
11145
+ totalCount?: number | null;
11146
+ hasNextPage?: boolean | null;
11147
+ hasPreviousPage?: boolean | null;
11148
+ } | null;
11144
11149
  stats?: {
11145
11150
  __typename?: 'TaskStatsObject';
11146
11151
  open?: number | null;
@@ -10651,10 +10651,14 @@ exports.TasksDocument = (0, client_1.gql) `
10651
10651
  contactName
10652
10652
  overdue
10653
10653
  }
10654
- total
10655
- page
10656
- pageSize
10657
- totalPages
10654
+ pagination {
10655
+ currentPage
10656
+ pageSize
10657
+ totalPages
10658
+ totalCount
10659
+ hasNextPage
10660
+ hasPreviousPage
10661
+ }
10658
10662
  stats {
10659
10663
  open
10660
10664
  overdue
package/dist/queries.js CHANGED
@@ -1669,10 +1669,14 @@ query Tasks($filters: TaskFilterInput) {
1669
1669
  contactName
1670
1670
  overdue
1671
1671
  }
1672
- total
1673
- page
1674
- pageSize
1675
- totalPages
1672
+ pagination {
1673
+ currentPage
1674
+ pageSize
1675
+ totalPages
1676
+ totalCount
1677
+ hasNextPage
1678
+ hasPreviousPage
1679
+ }
1676
1680
  stats {
1677
1681
  open
1678
1682
  overdue
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cf-service-sdk",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",