@dereekb/zoho 11.0.10 → 11.0.12

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/index.esm.js CHANGED
@@ -3175,6 +3175,9 @@ function insertRecord(context) {
3175
3175
  }
3176
3176
 
3177
3177
  // MARK: Upsert Record
3178
+ /**
3179
+ * Upsert function that can do either an insert or and update ased on the input.
3180
+ */
3178
3181
 
3179
3182
  /**
3180
3183
  * Updates or inserts one or more records in Recruit.
@@ -2,6 +2,10 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [11.0.12](https://github.com/dereekb/dbx-components/compare/v11.0.11-dev...v11.0.12) (2024-11-24)
6
+
7
+
8
+
5
9
  ## [11.0.10](https://github.com/dereekb/dbx-components/compare/v11.0.9-dev...v11.0.10) (2024-11-24)
6
10
 
7
11
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/zoho/nestjs",
3
- "version": "11.0.10",
3
+ "version": "11.0.12",
4
4
  "type": "commonjs",
5
5
  "main": "./src/index.js"
6
6
  }
@@ -8,7 +8,7 @@ export declare class ZohoRecruitApi {
8
8
  get recruitContext(): ZohoRecruitContext;
9
9
  constructor(config: ZohoRecruitServiceConfig, zohoAccountsApi: ZohoAccountsApi);
10
10
  get insertRecord(): import("@dereekb/zoho").ZohoRecruitCreateRecordLikeFunction;
11
- get upsertRecord(): import("@dereekb/zoho").ZohoRecruitUpsertRecordFunction;
11
+ get upsertRecord(): import("@dereekb/zoho").ZohoRecruitUpsertRecordLikeFunction;
12
12
  get updateRecord(): import("@dereekb/zoho").ZohoRecruitUpdateRecordLikeFunction;
13
13
  get getRecordById(): import("@dereekb/zoho").ZohoRecruitGetRecordByIdFunction;
14
14
  get getRecords(): import("@dereekb/zoho").ZohoRecruitGetRecordsFunction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/zoho",
3
- "version": "11.0.10",
3
+ "version": "11.0.12",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./src/index.d.ts",
@@ -1,32 +1,42 @@
1
1
  import { ZohoDataArrayResultRef, ZohoPageFilter, ZohoPageResult } from './../zoho.api.page';
2
2
  import { FetchJsonBody, FetchJsonInput, FetchPage, FetchPageFactory, FetchPageFactoryOptions, makeUrlSearchParams } from '@dereekb/util/fetch';
3
3
  import { ZohoRecruitContext } from './recruit.config';
4
- import { NewZohoRecruitNoteData, ZohoRecruitCommaSeparateFieldNames, ZohoRecruitCustomViewId, ZohoRecruitDraftOrSaveState, ZohoRecruitFieldName, ZohoRecruitModuleNameRef, ZohoRecruitChangeObjectDetails, ZohoRecruitRecord, ZohoRecruitRecordFieldsData, ZohoRecruitRecordId, ZohoRecruitRecordNote, ZohoRecruitSearchRecordsCriteriaTreeElement, ZohoRecruitTerritoryId, ZohoRecruitTrueFalseBoth, ZohoRecruitNoteId } from './recruit';
4
+ import { NewZohoRecruitNoteData, ZohoRecruitCommaSeparateFieldNames, ZohoRecruitCustomViewId, ZohoRecruitDraftOrSaveState, ZohoRecruitFieldName, ZohoRecruitModuleNameRef, ZohoRecruitChangeObjectDetails, ZohoRecruitRecord, ZohoRecruitRecordId, ZohoRecruitRecordNote, ZohoRecruitSearchRecordsCriteriaTreeElement, ZohoRecruitTerritoryId, ZohoRecruitTrueFalseBoth, ZohoRecruitNoteId } from './recruit';
5
5
  import { ArrayOrValue, EmailAddress, Maybe, PhoneNumber, SortingOrder, UniqueModelWithId } from '@dereekb/util';
6
6
  import { ZohoServerErrorDataWithDetails, ZohoServerErrorStatus, ZohoServerSuccessCode, ZohoServerSuccessStatus } from '../zoho.error.api';
7
- export type ZohoRecruitUpdateRecordResult<RECORD_INPUT_TYPE extends ZohoRecruitRecordFieldsData> = ZohoRecruitMultiRecordResult<RECORD_INPUT_TYPE, ZohoRecruitChangeObjectResponseSuccessEntry, ZohoRecruitChangeObjectResponseErrorEntry>;
7
+ export type ZohoRecruitUpdateRecordResult<T> = ZohoRecruitMultiRecordResult<T, ZohoRecruitChangeObjectResponseSuccessEntry, ZohoRecruitChangeObjectResponseErrorEntry>;
8
8
  export type ZohoRecruitUpdateRecordResponse = ZohoRecruitChangeObjectResponse;
9
- export type ZohoRecruitCreateRecordInput<RECORD_INPUT_TYPE extends ZohoRecruitRecordFieldsData> = ZohoRecruitCreateSingleRecordInput<RECORD_INPUT_TYPE> | ZohoRecruitCreateMultiRecordInput<RECORD_INPUT_TYPE>;
10
- export interface ZohoRecruitCreateSingleRecordInput<RECORD_INPUT_TYPE extends ZohoRecruitRecordFieldsData> extends ZohoRecruitModuleNameRef {
11
- readonly data: RECORD_INPUT_TYPE;
9
+ export type ZohoRecruitCreateRecordData<T> = Omit<T, 'id'>;
10
+ export interface ZohoRecruitCreateSingleRecordInput<T> extends ZohoRecruitModuleNameRef {
11
+ readonly data: ZohoRecruitCreateRecordData<T>;
12
12
  }
13
- export interface ZohoRecruitCreateMultiRecordInput<RECORD_INPUT_TYPE extends ZohoRecruitRecordFieldsData> extends ZohoRecruitModuleNameRef {
14
- readonly data: RECORD_INPUT_TYPE[];
13
+ export interface ZohoRecruitCreateMultiRecordInput<T> extends ZohoRecruitModuleNameRef {
14
+ readonly data: ZohoRecruitCreateRecordData<T>[];
15
15
  }
16
16
  export type ZohoRecruitCreateRecordLikeFunction = ZohoRecruitCreateMultiRecordFunction & ZohoRecruitCreateSingleRecordFunction;
17
- export type ZohoRecruitCreateSingleRecordFunction = <RECORD_INPUT_TYPE extends ZohoRecruitRecordFieldsData>(input: ZohoRecruitCreateSingleRecordInput<RECORD_INPUT_TYPE>) => Promise<ZohoRecruitChangeObjectDetails>;
18
- export type ZohoRecruitCreateMultiRecordFunction = <RECORD_INPUT_TYPE extends ZohoRecruitRecordFieldsData>(input: ZohoRecruitCreateMultiRecordInput<RECORD_INPUT_TYPE>) => Promise<ZohoRecruitUpdateRecordResult<RECORD_INPUT_TYPE>>;
19
- export type ZohoRecruitUpdateRecordInput<RECORD_INPUT_TYPE extends ZohoRecruitRecordFieldsData> = ZohoRecruitUpdateSingleRecordInput<RECORD_INPUT_TYPE> | ZohoRecruitUpdateMultiRecordInput<RECORD_INPUT_TYPE>;
20
- export type ZohoRecruitUpdateRecordData<RECORD_INPUT_TYPE extends ZohoRecruitRecordFieldsData> = UniqueModelWithId & Partial<RECORD_INPUT_TYPE>;
21
- export interface ZohoRecruitUpdateSingleRecordInput<RECORD_INPUT_TYPE extends ZohoRecruitRecordFieldsData> extends ZohoRecruitModuleNameRef {
22
- readonly data: ZohoRecruitUpdateRecordData<RECORD_INPUT_TYPE>;
17
+ export type ZohoRecruitCreateSingleRecordFunction = <T>(input: ZohoRecruitCreateSingleRecordInput<T>) => Promise<ZohoRecruitChangeObjectDetails>;
18
+ export type ZohoRecruitCreateMultiRecordFunction = <T>(input: ZohoRecruitCreateMultiRecordInput<T>) => Promise<ZohoRecruitUpdateRecordResult<T>>;
19
+ export type ZohoRecruitUpdateRecordInput<T> = ZohoRecruitUpdateSingleRecordInput<T> | ZohoRecruitUpdateMultiRecordInput<T>;
20
+ export type ZohoRecruitUpdateRecordData<T> = UniqueModelWithId & Partial<T>;
21
+ export interface ZohoRecruitUpdateSingleRecordInput<T> extends ZohoRecruitModuleNameRef {
22
+ readonly data: ZohoRecruitUpdateRecordData<T>;
23
23
  }
24
- export interface ZohoRecruitUpdateMultiRecordInput<RECORD_INPUT_TYPE extends ZohoRecruitRecordFieldsData> extends ZohoRecruitModuleNameRef {
25
- readonly data: ZohoRecruitUpdateRecordData<RECORD_INPUT_TYPE>[];
24
+ export interface ZohoRecruitUpdateMultiRecordInput<T> extends ZohoRecruitModuleNameRef {
25
+ readonly data: ZohoRecruitUpdateRecordData<T>[];
26
26
  }
27
27
  export type ZohoRecruitUpdateRecordLikeFunction = ZohoRecruitUpdateMultiRecordFunction & ZohoRecruitUpdateSingleRecordFunction;
28
- export type ZohoRecruitUpdateMultiRecordFunction = <RECORD_INPUT_TYPE extends ZohoRecruitRecordFieldsData>(input: ZohoRecruitUpdateMultiRecordInput<RECORD_INPUT_TYPE>) => Promise<ZohoRecruitUpdateRecordResult<RECORD_INPUT_TYPE>>;
29
- export type ZohoRecruitUpdateSingleRecordFunction = <RECORD_INPUT_TYPE extends ZohoRecruitRecordFieldsData>(input: ZohoRecruitUpdateSingleRecordInput<RECORD_INPUT_TYPE>) => Promise<ZohoRecruitChangeObjectDetails>;
28
+ export type ZohoRecruitUpdateMultiRecordFunction = <T>(input: ZohoRecruitUpdateMultiRecordInput<T>) => Promise<ZohoRecruitUpdateRecordResult<T>>;
29
+ export type ZohoRecruitUpdateSingleRecordFunction = <T>(input: ZohoRecruitUpdateSingleRecordInput<T>) => Promise<ZohoRecruitChangeObjectDetails>;
30
+ export type ZohoRecruitUpsertRecordData<T> = ZohoRecruitCreateRecordData<T> | ZohoRecruitUpdateRecordData<T>;
31
+ export interface ZohoRecruitUpsertSingleRecordInput<T> extends ZohoRecruitModuleNameRef {
32
+ readonly data: ZohoRecruitUpsertRecordData<T>;
33
+ }
34
+ export interface ZohoRecruitUpsertMultiRecordInput<T> extends ZohoRecruitModuleNameRef {
35
+ readonly data: ZohoRecruitUpsertRecordData<T>[];
36
+ }
37
+ export type ZohoRecruitUpsertRecordLikeFunction = ZohoRecruitUpsertMultiRecordFunction & ZohoRecruitUpsertSingleRecordFunction;
38
+ export type ZohoRecruitUpsertMultiRecordFunction = <T>(input: ZohoRecruitUpsertMultiRecordInput<T>) => Promise<ZohoRecruitUpdateRecordResult<T>>;
39
+ export type ZohoRecruitUpsertSingleRecordFunction = <T>(input: ZohoRecruitUpsertSingleRecordInput<T>) => Promise<ZohoRecruitChangeObjectDetails>;
30
40
  export type ZohoRecruitInsertRecordFunction = ZohoRecruitCreateRecordLikeFunction;
31
41
  /**
32
42
  * Inserts one or more records into Recruit.
@@ -37,7 +47,10 @@ export type ZohoRecruitInsertRecordFunction = ZohoRecruitCreateRecordLikeFunctio
37
47
  * @returns
38
48
  */
39
49
  export declare function insertRecord(context: ZohoRecruitContext): ZohoRecruitInsertRecordFunction;
40
- export type ZohoRecruitUpsertRecordFunction = ZohoRecruitCreateRecordLikeFunction & ZohoRecruitUpdateRecordLikeFunction;
50
+ /**
51
+ * Upsert function that can do either an insert or and update ased on the input.
52
+ */
53
+ export type ZohoRecruitUpsertRecordFunction = ZohoRecruitUpsertRecordLikeFunction;
41
54
  /**
42
55
  * Updates or inserts one or more records in Recruit.
43
56
  *
@@ -60,9 +73,9 @@ export declare function updateRecord(context: ZohoRecruitContext): ZohoRecruitUp
60
73
  export interface ZohoRecruitGetRecordByIdInput extends ZohoRecruitModuleNameRef {
61
74
  readonly id: ZohoRecruitRecordId;
62
75
  }
63
- export type ZohoRecruitGetRecordByIdResponse<T extends ZohoRecruitRecordFieldsData = ZohoRecruitRecord> = ZohoDataArrayResultRef<T>;
64
- export type ZohoRecruitGetRecordByIdResult<T extends ZohoRecruitRecordFieldsData = ZohoRecruitRecord> = T;
65
- export type ZohoRecruitGetRecordByIdFunction = <T extends ZohoRecruitRecordFieldsData = ZohoRecruitRecord>(input: ZohoRecruitGetRecordByIdInput) => Promise<ZohoRecruitGetRecordByIdResult<T>>;
76
+ export type ZohoRecruitGetRecordByIdResponse<T = ZohoRecruitRecord> = ZohoDataArrayResultRef<T>;
77
+ export type ZohoRecruitGetRecordByIdResult<T = ZohoRecruitRecord> = T;
78
+ export type ZohoRecruitGetRecordByIdFunction = <T = ZohoRecruitRecord>(input: ZohoRecruitGetRecordByIdInput) => Promise<ZohoRecruitGetRecordByIdResult<T>>;
66
79
  /**
67
80
  * Retrieves a specific record from the given module.
68
81
  *
@@ -85,8 +98,8 @@ export interface ZohoRecruitGetRecordsInput extends ZohoRecruitModuleNameRef, Zo
85
98
  readonly include_child?: boolean;
86
99
  readonly $state?: ZohoRecruitDraftOrSaveState;
87
100
  }
88
- export type ZohoRecruitGetRecordsResponse<T extends ZohoRecruitRecordFieldsData = ZohoRecruitRecord> = ZohoPageResult<T>;
89
- export type ZohoRecruitGetRecordsFunction = <T extends ZohoRecruitRecordFieldsData = ZohoRecruitRecord>(input: ZohoRecruitGetRecordsInput) => Promise<ZohoRecruitGetRecordsResponse<T>>;
101
+ export type ZohoRecruitGetRecordsResponse<T = ZohoRecruitRecord> = ZohoPageResult<T>;
102
+ export type ZohoRecruitGetRecordsFunction = <T = ZohoRecruitRecord>(input: ZohoRecruitGetRecordsInput) => Promise<ZohoRecruitGetRecordsResponse<T>>;
90
103
  /**
91
104
  * Retrieves records from the given module. Used for paginating across all records.
92
105
  *
@@ -101,14 +114,14 @@ export declare function getRecords(context: ZohoRecruitContext): ZohoRecruitGetR
101
114
  *
102
115
  * Only criteria, email, phone, or word will be used at a single time.
103
116
  */
104
- export interface ZohoRecruitSearchRecordsInput<T extends ZohoRecruitRecordFieldsData = ZohoRecruitRecord> extends ZohoRecruitModuleNameRef, ZohoRecruitGetRecordsPageFilter {
117
+ export interface ZohoRecruitSearchRecordsInput<T = ZohoRecruitRecord> extends ZohoRecruitModuleNameRef, ZohoRecruitGetRecordsPageFilter {
105
118
  readonly criteria?: Maybe<ZohoRecruitSearchRecordsCriteriaTreeElement<T>>;
106
119
  readonly email?: Maybe<EmailAddress>;
107
120
  readonly phone?: Maybe<PhoneNumber>;
108
121
  readonly word?: Maybe<string>;
109
122
  }
110
- export type ZohoRecruitSearchRecordsResponse<T extends ZohoRecruitRecordFieldsData = ZohoRecruitRecord> = ZohoRecruitGetRecordsResponse<T>;
111
- export type ZohoRecruitSearchRecordsFunction = <T extends ZohoRecruitRecordFieldsData = ZohoRecruitRecord>(input: ZohoRecruitSearchRecordsInput<T>) => Promise<ZohoRecruitSearchRecordsResponse<T>>;
123
+ export type ZohoRecruitSearchRecordsResponse<T = ZohoRecruitRecord> = ZohoRecruitGetRecordsResponse<T>;
124
+ export type ZohoRecruitSearchRecordsFunction = <T = ZohoRecruitRecord>(input: ZohoRecruitSearchRecordsInput<T>) => Promise<ZohoRecruitSearchRecordsResponse<T>>;
112
125
  /**
113
126
  * Searches records from the given module.
114
127
  *
@@ -118,7 +131,7 @@ export type ZohoRecruitSearchRecordsFunction = <T extends ZohoRecruitRecordField
118
131
  * @returns
119
132
  */
120
133
  export declare function searchRecords(context: ZohoRecruitContext): ZohoRecruitSearchRecordsFunction;
121
- export type SearchRecordsPageFactory = <T extends ZohoRecruitRecordFieldsData = ZohoRecruitRecord>(input: ZohoRecruitSearchRecordsInput<T>, options?: FetchPageFactoryOptions<ZohoRecruitSearchRecordsInput<T>, ZohoRecruitSearchRecordsResponse<T>>) => FetchPage<ZohoRecruitSearchRecordsInput<T>, ZohoRecruitSearchRecordsResponse<T>>;
134
+ export type SearchRecordsPageFactory = <T = ZohoRecruitRecord>(input: ZohoRecruitSearchRecordsInput<T>, options?: Maybe<FetchPageFactoryOptions<ZohoRecruitSearchRecordsInput<T>, ZohoRecruitSearchRecordsResponse<T>>>) => FetchPage<ZohoRecruitSearchRecordsInput<T>, ZohoRecruitSearchRecordsResponse<T>>;
122
135
  export declare function searchRecordsPageFactory(context: ZohoRecruitContext): SearchRecordsPageFactory;
123
136
  export interface ZohoRecruitCreateNotesRequest {
124
137
  readonly data: ZohoRecruitCreateNotesRequestEntry[];
@@ -91,7 +91,7 @@ export interface ZohoRecordDraftStateData {
91
91
  */
92
92
  $state?: ZohoRecruitDraftOrSaveState;
93
93
  }
94
- export type NewZohoRecruitRecordData<T extends ZohoRecruitRecordFieldsData = ZohoRecruitRecordFieldsData> = T & ZohoRecordDraftStateData;
94
+ export type NewZohoRecruitRecordData<T = ZohoRecruitRecordFieldsData> = T & ZohoRecordDraftStateData;
95
95
  /**
96
96
  * A ZohoRecruit record containing the corresponding record's id.
97
97
  */
@@ -119,14 +119,14 @@ export type ZohoRecruitSearchRecordsCriteriaString = string;
119
119
  *
120
120
  * If the input tree is empty, returns undefined.
121
121
  */
122
- export declare function zohoRecruitSearchRecordsCriteriaString<T extends ZohoRecruitRecordFieldsData = any>(input: Maybe<ZohoRecruitSearchRecordsCriteriaTreeElement<T>>): Maybe<ZohoRecruitSearchRecordsCriteriaString>;
123
- export declare function zohoRecruitSearchRecordsCriteriaStringForTree<T extends ZohoRecruitRecordFieldsData = any>(tree: ZohoRecruitSearchRecordsCriteriaTree<T>): Maybe<ZohoRecruitSearchRecordsCriteriaString>;
122
+ export declare function zohoRecruitSearchRecordsCriteriaString<T = any>(input: Maybe<ZohoRecruitSearchRecordsCriteriaTreeElement<T>>): Maybe<ZohoRecruitSearchRecordsCriteriaString>;
123
+ export declare function zohoRecruitSearchRecordsCriteriaStringForTree<T = any>(tree: ZohoRecruitSearchRecordsCriteriaTree<T>): Maybe<ZohoRecruitSearchRecordsCriteriaString>;
124
124
  /**
125
125
  * Tree items
126
126
  *
127
127
  * If both AND and OR values are provided at the root tree, then the will be merged together with AND.
128
128
  */
129
- export interface ZohoRecruitSearchRecordsCriteriaTree<T extends ZohoRecruitRecordFieldsData = any> {
129
+ export interface ZohoRecruitSearchRecordsCriteriaTree<T = any> {
130
130
  /**
131
131
  * Items to AND with eachother
132
132
  */
@@ -136,10 +136,10 @@ export interface ZohoRecruitSearchRecordsCriteriaTree<T extends ZohoRecruitRecor
136
136
  */
137
137
  readonly or?: Maybe<ZohoRecruitSearchRecordsCriteriaTreeElement<T>[]>;
138
138
  }
139
- export type ZohoRecruitSearchRecordsCriteriaTreeElement<T extends ZohoRecruitRecordFieldsData = any> = ZohoRecruitSearchRecordsCriteriaEntryArray<T> | ZohoRecruitSearchRecordsCriteriaTree | ZohoRecruitSearchRecordsCriteriaString;
139
+ export type ZohoRecruitSearchRecordsCriteriaTreeElement<T = any> = ZohoRecruitSearchRecordsCriteriaEntryArray<T> | ZohoRecruitSearchRecordsCriteriaTree | ZohoRecruitSearchRecordsCriteriaString;
140
140
  export type ZohoRecruitSearchRecordsCriteriaFilterType = 'starts_with' | 'equals' | 'contains';
141
- export type ZohoRecruitSearchRecordsCriteriaEntryArray<T extends ZohoRecruitRecordFieldsData = any> = ZohoRecruitSearchRecordsCriteriaEntry<T>[];
142
- export interface ZohoRecruitSearchRecordsCriteriaEntry<T extends ZohoRecruitRecordFieldsData = any> {
141
+ export type ZohoRecruitSearchRecordsCriteriaEntryArray<T = any> = ZohoRecruitSearchRecordsCriteriaEntry<T>[];
142
+ export interface ZohoRecruitSearchRecordsCriteriaEntry<T = any> {
143
143
  readonly field: keyof T extends PrimativeKey ? keyof T : PrimativeKey;
144
144
  readonly filter: ZohoRecruitSearchRecordsCriteriaFilterType;
145
145
  readonly value: string;
@@ -154,7 +154,7 @@ export declare const escapeZohoFieldValueForCriteriaString: import("@dereekb/uti
154
154
  * @param entry
155
155
  * @returns
156
156
  */
157
- export declare function zohoRecruitSearchRecordsCriteriaEntryToCriteriaString<T extends ZohoRecruitRecordFieldsData = any>(entry: ZohoRecruitSearchRecordsCriteriaEntry<T>): ZohoRecruitSearchRecordsCriteriaString;
157
+ export declare function zohoRecruitSearchRecordsCriteriaEntryToCriteriaString<T = any>(entry: ZohoRecruitSearchRecordsCriteriaEntry<T>): ZohoRecruitSearchRecordsCriteriaString;
158
158
  export type ZohoRecruitNoteId = string;
159
159
  export interface ZohoRecruitNoteAction {
160
160
  $is_system_action: boolean;
@@ -1,4 +1,4 @@
1
- import { PageNumber } from '@dereekb/util';
1
+ import { Maybe, PageNumber } from '@dereekb/util';
2
2
  import { FetchPageFactoryConfigDefaults } from '@dereekb/util/fetch';
3
3
  /**
4
4
  * Base page filter
@@ -57,4 +57,4 @@ export type ZohoFetchPageFetchFunction<I extends ZohoPageFilter, R extends ZohoP
57
57
  * @param defaults
58
58
  * @returns
59
59
  */
60
- export declare function zohoFetchPageFactory<I extends ZohoPageFilter, R extends ZohoPageResult<any>>(fetch: ZohoFetchPageFetchFunction<I, R>, defaults?: FetchPageFactoryConfigDefaults): import("@dereekb/util/fetch").FetchPageFactory<I, R>;
60
+ export declare function zohoFetchPageFactory<I extends ZohoPageFilter, R extends ZohoPageResult<any>>(fetch: ZohoFetchPageFetchFunction<I, R>, defaults?: Maybe<FetchPageFactoryConfigDefaults>): import("@dereekb/util/fetch").FetchPageFactory<I, R>;