quickbase-js 1.1.0-beta.6 → 1.2.0
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/README.md +253 -135
- package/dist/esm/quickbase.d.ts +5614 -2861
- package/dist/esm/quickbase.js +3207 -2116
- package/dist/esm/quickbase.js.map +1 -1
- package/dist/esm/quickbase.min.js +1 -1
- package/dist/esm/quickbase.min.js.map +1 -1
- package/dist/umd/quickbase.umd.js +3536 -2325
- package/dist/umd/quickbase.umd.js.map +1 -1
- package/dist/umd/quickbase.umd.min.js +1 -1
- package/dist/umd/quickbase.umd.min.js.map +1 -1
- package/package.json +49 -32
- package/CHANGELOG.md +0 -93
- package/build.js +0 -186
- package/dist/umd/quickbase.umd.d.ts +0 -5341
- package/examples/react.js +0 -48
- package/examples/vanillajs.html +0 -47
- package/examples/vanillatest.html +0 -49
- package/log-gen.yaml +0 -1372
- package/open-api/definitions/apps.ts +0 -274
- package/open-api/definitions/auth.ts +0 -10
- package/open-api/definitions/fields.ts +0 -751
- package/open-api/definitions/index.ts +0 -18
- package/open-api/definitions/records.ts +0 -269
- package/open-api/definitions/relationships.ts +0 -90
- package/open-api/definitions/reports.ts +0 -10
- package/open-api/definitions/tables.ts +0 -112
- package/open-api/fix-spec-main.ts +0 -176
- package/open-api/generate-unified-interface.ts +0 -170
- package/open-api/output/quickbase-fixed.json +0 -6760
- package/open-api/paths/apps.ts +0 -100
- package/open-api/paths/auth.ts +0 -25
- package/open-api/paths/fields.ts +0 -207
- package/open-api/paths/index.ts +0 -17
- package/open-api/paths/records.ts +0 -68
- package/open-api/paths/relationships.ts +0 -32
- package/open-api/paths/reports.ts +0 -34
- package/open-api/paths/tables.ts +0 -162
- package/open-api/regenerate-client.ts +0 -110
- package/playwright-results.txt/.last-run.json +0 -4
- package/playwright.config.ts +0 -37
- package/rollup.config.mjs +0 -114
- package/specs/QuickBase_RESTful_API_2025-03-04T06_22_39.725Z.json +0 -46878
- package/src/generated-unified/QuickbaseClient.ts +0 -62
- package/src/index.ts +0 -1
- package/src/quickbaseClient.ts +0 -313
- package/src/tokenCache.ts +0 -51
- package/test-artifacts/.last-run.json +0 -6
- package/test-esm.js +0 -1
- package/test-results.json +0 -2050
- package/test-umd.js +0 -1
- package/test.ts +0 -1
- package/tests/playwright/qb/auth/cacheSwitching.test.ts +0 -189
- package/tests/playwright/qb/auth/fetchTempToken401.test.ts +0 -217
- package/tests/playwright/qb/auth/getAppWithUserToken.test.ts +0 -151
- package/tests/playwright/qb/auth/getTempToken.test.ts +0 -180
- package/tests/playwright/qb/auth/tokenPrefetch.test.ts +0 -192
- package/tests/playwright/qb/auth/tokenRenewal.test.ts +0 -110
- package/tests/playwright/qb/auth/umd.test.ts +0 -10
- package/tests/setup.ts +0 -51
- package/tests/vitest/qb/apps/copyApp.test.ts +0 -76
- package/tests/vitest/qb/apps/createApp.test.ts +0 -64
- package/tests/vitest/qb/apps/deleteApp.test.ts +0 -76
- package/tests/vitest/qb/apps/getApp.test.ts +0 -40
- package/tests/vitest/qb/fields/createField.test.ts +0 -78
- package/tests/vitest/qb/fields/deleteFields.test.ts +0 -89
- package/tests/vitest/qb/fields/getField.test.ts +0 -85
- package/tests/vitest/qb/fields/getFieldUsage.test.ts +0 -174
- package/tests/vitest/qb/fields/getFields.test.ts +0 -232
- package/tests/vitest/qb/fields/getFieldsUsage.test.ts +0 -77
- package/tests/vitest/qb/index.ts +0 -28
- package/tests/vitest/qb/records/deleteRecords.test.ts +0 -110
- package/tests/vitest/qb/records/runQuery.test.ts +0 -146
- package/tests/vitest/qb/records/upsert.test.ts +0 -102
- package/tests/vitest/qb/tables/createTable.test.ts +0 -55
- package/tests/vitest/qb/tables/deleteTable.test.ts +0 -50
- package/tests/vitest/qb/tables/getAppTables.test.ts +0 -46
- package/tests/vitest/qb/tables/getRelationships.test.ts +0 -80
- package/tests/vitest/qb/tables/getTable.test.ts +0 -26
- package/tests/vitest/qb/tables/updateTable.test.ts +0 -48
- package/tests/vitest/unit/apps/copyApp.test.ts +0 -282
- package/tests/vitest/unit/apps/createApp.test.ts +0 -125
- package/tests/vitest/unit/apps/deleteApp.test.ts +0 -215
- package/tests/vitest/unit/apps/getApp.test.ts +0 -86
- package/tests/vitest/unit/auth/fetchTempToken401.test.ts +0 -85
- package/tests/vitest/unit/auth/getTempToken.test.ts +0 -95
- package/tests/vitest/unit/auth/retryOn401.test.ts +0 -106
- package/tests/vitest/unit/auth/two401s.test.ts +0 -77
- package/tests/vitest/unit/fields/createField.test.ts +0 -391
- package/tests/vitest/unit/fields/deleteFields.test.ts +0 -141
- package/tests/vitest/unit/fields/getField.test.ts +0 -189
- package/tests/vitest/unit/fields/getFieldUsage.test.ts +0 -147
- package/tests/vitest/unit/fields/getFields.test.ts +0 -122
- package/tests/vitest/unit/fields/getFieldsUsage.test.ts +0 -160
- package/tests/vitest/unit/index.ts +0 -33
- package/tests/vitest/unit/records/deleteRecords.test.ts +0 -112
- package/tests/vitest/unit/records/runQuery.test.ts +0 -102
- package/tests/vitest/unit/records/upsert.test.ts +0 -218
- package/tests/vitest/unit/tables/createTable.test.ts +0 -70
- package/tests/vitest/unit/tables/deleteTable.test.ts +0 -77
- package/tests/vitest/unit/tables/getAppTables.test.ts +0 -85
- package/tests/vitest/unit/tables/getRelationships.test.ts +0 -259
- package/tests/vitest/unit/tables/getTable.test.ts +0 -233
- package/tests/vitest/unit/tables/updateTable.test.ts +0 -80
- package/tests/vitest/unit/umd.test.ts +0 -8
- package/text.txt +0 -104
- package/tools/log-gen.ts +0 -175
- package/tools/openapi-jars/openapi-generator-cli-7.12.0.jar +0 -0
- package/tsconfig.build.json +0 -17
- package/tsconfig.json +0 -29
- package/versionrc.json +0 -9
- package/vitest.config.ts +0 -27
|
@@ -1,751 +0,0 @@
|
|
|
1
|
-
// src/code-generation/definitions/fields.ts
|
|
2
|
-
export const fieldsDefinitions = {
|
|
3
|
-
Field: {
|
|
4
|
-
type: "object",
|
|
5
|
-
required: ["id", "label", "fieldType"],
|
|
6
|
-
properties: {
|
|
7
|
-
id: {
|
|
8
|
-
type: "integer",
|
|
9
|
-
description: "The id of the field, unique to this table.",
|
|
10
|
-
},
|
|
11
|
-
label: { type: "string", description: "The label (name) of the field." },
|
|
12
|
-
fieldType: {
|
|
13
|
-
type: "string",
|
|
14
|
-
description:
|
|
15
|
-
"The type of field, as described in the QuickBase Field Types documentation.",
|
|
16
|
-
},
|
|
17
|
-
mode: {
|
|
18
|
-
type: "string",
|
|
19
|
-
description:
|
|
20
|
-
"For derived fields, this will be 'lookup', 'summary', or 'formula'. For non-derived fields, this will be blank.",
|
|
21
|
-
},
|
|
22
|
-
noWrap: {
|
|
23
|
-
type: "boolean",
|
|
24
|
-
description:
|
|
25
|
-
"Indicates if the field is configured to not wrap when displayed in the product.",
|
|
26
|
-
},
|
|
27
|
-
bold: {
|
|
28
|
-
type: "boolean",
|
|
29
|
-
description:
|
|
30
|
-
"Indicates if the field is configured to display in bold in the product.",
|
|
31
|
-
},
|
|
32
|
-
required: {
|
|
33
|
-
type: "boolean",
|
|
34
|
-
description: "Indicates if the field is marked required.",
|
|
35
|
-
},
|
|
36
|
-
appearsByDefault: {
|
|
37
|
-
type: "boolean",
|
|
38
|
-
description:
|
|
39
|
-
"Indicates if the field is marked as a default in reports.",
|
|
40
|
-
},
|
|
41
|
-
findEnabled: {
|
|
42
|
-
type: "boolean",
|
|
43
|
-
description: "Indicates if the field is marked as searchable.",
|
|
44
|
-
},
|
|
45
|
-
unique: {
|
|
46
|
-
type: "boolean",
|
|
47
|
-
description: "Indicates if the field is marked unique.",
|
|
48
|
-
},
|
|
49
|
-
doesDataCopy: {
|
|
50
|
-
type: "boolean",
|
|
51
|
-
description:
|
|
52
|
-
"Indicates if the field data will copy when a user copies the record.",
|
|
53
|
-
},
|
|
54
|
-
fieldHelp: {
|
|
55
|
-
type: "string",
|
|
56
|
-
description:
|
|
57
|
-
"The configured help text shown to users within the product.",
|
|
58
|
-
},
|
|
59
|
-
audited: {
|
|
60
|
-
type: "boolean",
|
|
61
|
-
description:
|
|
62
|
-
"Indicates if the field is being tracked as part of Quickbase Audit Logs.",
|
|
63
|
-
},
|
|
64
|
-
properties: {
|
|
65
|
-
$ref: "#/definitions/FieldProperties",
|
|
66
|
-
description:
|
|
67
|
-
"Additional properties for the field. See Field type details for more information.",
|
|
68
|
-
},
|
|
69
|
-
permissions: {
|
|
70
|
-
type: "array",
|
|
71
|
-
items: { $ref: "#/definitions/FieldPermissionsInner" },
|
|
72
|
-
description: "Field permissions for different roles.",
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
description:
|
|
76
|
-
"Represents the properties of an individual field in QuickBase.",
|
|
77
|
-
},
|
|
78
|
-
FieldProperties: {
|
|
79
|
-
type: "object",
|
|
80
|
-
properties: {
|
|
81
|
-
primaryKey: { type: "boolean" },
|
|
82
|
-
foreignKey: {
|
|
83
|
-
type: "boolean",
|
|
84
|
-
description:
|
|
85
|
-
"Indicates if the field is a foreign key (or reference field) in a relationship.",
|
|
86
|
-
},
|
|
87
|
-
numLines: {
|
|
88
|
-
type: "integer",
|
|
89
|
-
description:
|
|
90
|
-
"The number of lines shown in Quickbase for this text field.",
|
|
91
|
-
},
|
|
92
|
-
maxLength: {
|
|
93
|
-
type: "integer",
|
|
94
|
-
description:
|
|
95
|
-
"The maximum number of characters allowed for entry in Quickbase for this field.",
|
|
96
|
-
},
|
|
97
|
-
appendOnly: {
|
|
98
|
-
type: "boolean",
|
|
99
|
-
description: "Whether this field is append only.",
|
|
100
|
-
},
|
|
101
|
-
allowHTML: {
|
|
102
|
-
type: "boolean",
|
|
103
|
-
description: "Whether this field allows html.",
|
|
104
|
-
},
|
|
105
|
-
allowMentions: {
|
|
106
|
-
type: "boolean",
|
|
107
|
-
description:
|
|
108
|
-
"If someone can @mention users in the rich text field to generate an email notification.",
|
|
109
|
-
},
|
|
110
|
-
sortAsGiven: {
|
|
111
|
-
type: "boolean",
|
|
112
|
-
description:
|
|
113
|
-
"Indicates if the listed entries sort as entered vs alphabetically.",
|
|
114
|
-
},
|
|
115
|
-
carryChoices: {
|
|
116
|
-
type: "boolean",
|
|
117
|
-
description:
|
|
118
|
-
"Whether the field should carry its multiple choice fields when copied.",
|
|
119
|
-
},
|
|
120
|
-
allowNewChoices: {
|
|
121
|
-
type: "boolean",
|
|
122
|
-
description:
|
|
123
|
-
"Indicates if users can add new choices to a selection list.",
|
|
124
|
-
},
|
|
125
|
-
formula: {
|
|
126
|
-
type: "string",
|
|
127
|
-
description: "The formula of the field as configured in Quickbase.",
|
|
128
|
-
},
|
|
129
|
-
defaultValue: {
|
|
130
|
-
type: "string",
|
|
131
|
-
description:
|
|
132
|
-
"The default value configured for a field when a new record is added.",
|
|
133
|
-
},
|
|
134
|
-
doesTotal: {
|
|
135
|
-
type: "boolean",
|
|
136
|
-
description: "Whether this field totals in reports within the product.",
|
|
137
|
-
},
|
|
138
|
-
autoSave: {
|
|
139
|
-
type: "boolean",
|
|
140
|
-
description: "Whether the link field will auto save.",
|
|
141
|
-
},
|
|
142
|
-
defaultValueLuid: {
|
|
143
|
-
type: "integer",
|
|
144
|
-
description: "Default user id value.",
|
|
145
|
-
},
|
|
146
|
-
useI18NFormat: {
|
|
147
|
-
type: "boolean",
|
|
148
|
-
description:
|
|
149
|
-
"Whether phone numbers should be in E.164 standard international format.",
|
|
150
|
-
},
|
|
151
|
-
maxVersions: {
|
|
152
|
-
type: "integer",
|
|
153
|
-
description:
|
|
154
|
-
"The maximum number of versions configured for a file attachment.",
|
|
155
|
-
},
|
|
156
|
-
format: { type: "integer", description: "The format to display time." },
|
|
157
|
-
linkText: {
|
|
158
|
-
type: "string",
|
|
159
|
-
description:
|
|
160
|
-
"The configured text value that replaces the URL that users see within the product.",
|
|
161
|
-
},
|
|
162
|
-
parentFieldId: {
|
|
163
|
-
type: "integer",
|
|
164
|
-
description: "The id of the parent composite field, when applicable.",
|
|
165
|
-
},
|
|
166
|
-
displayTimezone: {
|
|
167
|
-
type: "boolean",
|
|
168
|
-
description:
|
|
169
|
-
"Indicates whether to display the timezone within the product.",
|
|
170
|
-
},
|
|
171
|
-
defaultToday: {
|
|
172
|
-
type: "boolean",
|
|
173
|
-
description:
|
|
174
|
-
"Indicates if the field value is defaulted today for new records.",
|
|
175
|
-
},
|
|
176
|
-
units: { type: "string", description: "The units label." },
|
|
177
|
-
openTargetIn: {
|
|
178
|
-
type: "string",
|
|
179
|
-
enum: ["sameWindow", "newWindow", "popup"],
|
|
180
|
-
description:
|
|
181
|
-
"Indicates which target the URL should open in when a user clicks it within the product.",
|
|
182
|
-
},
|
|
183
|
-
doesAverage: {
|
|
184
|
-
type: "boolean",
|
|
185
|
-
description:
|
|
186
|
-
"Whether this field averages in reports within the product.",
|
|
187
|
-
},
|
|
188
|
-
decimalPlaces: {
|
|
189
|
-
type: "integer",
|
|
190
|
-
description:
|
|
191
|
-
"The number of decimal places displayed in the product for this field.",
|
|
192
|
-
},
|
|
193
|
-
defaultCountryCode: {
|
|
194
|
-
type: "string",
|
|
195
|
-
description:
|
|
196
|
-
"Controls the default country shown on international phone widgets on forms. Country code should be entered in the ISO 3166-1 alpha-2 format.",
|
|
197
|
-
},
|
|
198
|
-
seeVersions: {
|
|
199
|
-
type: "boolean",
|
|
200
|
-
description:
|
|
201
|
-
"Indicates if the user can see other versions, aside from the most recent, of a file attachment within the product.",
|
|
202
|
-
},
|
|
203
|
-
displayMonth: { type: "string", description: "How to display months." },
|
|
204
|
-
displayEmail: {
|
|
205
|
-
type: "string",
|
|
206
|
-
description: "How the email is displayed.",
|
|
207
|
-
},
|
|
208
|
-
defaultKind: { type: "string", description: "The user default type." },
|
|
209
|
-
coverText: {
|
|
210
|
-
type: "string",
|
|
211
|
-
description:
|
|
212
|
-
"An alternate user friendly text that can be used to display a link in the browser.",
|
|
213
|
-
},
|
|
214
|
-
currencySymbol: {
|
|
215
|
-
type: "string",
|
|
216
|
-
description:
|
|
217
|
-
"The current symbol used when displaying field values within the product.",
|
|
218
|
-
},
|
|
219
|
-
targetFieldId: {
|
|
220
|
-
type: "integer",
|
|
221
|
-
description: "The id of the target field.",
|
|
222
|
-
},
|
|
223
|
-
displayUser: {
|
|
224
|
-
type: "string",
|
|
225
|
-
description:
|
|
226
|
-
"The configured option for how users display within the product.",
|
|
227
|
-
},
|
|
228
|
-
blankIsZero: {
|
|
229
|
-
type: "boolean",
|
|
230
|
-
description:
|
|
231
|
-
"Whether a blank value is treated the same as 0 in calculations within the product.",
|
|
232
|
-
},
|
|
233
|
-
exact: {
|
|
234
|
-
type: "boolean",
|
|
235
|
-
description: "Whether an exact match is required for a report link.",
|
|
236
|
-
},
|
|
237
|
-
defaultDomain: { type: "string", description: "Default email domain." },
|
|
238
|
-
abbreviate: {
|
|
239
|
-
type: "boolean",
|
|
240
|
-
description: "Don't show the URL protocol when showing the URL.",
|
|
241
|
-
},
|
|
242
|
-
numberFormat: {
|
|
243
|
-
type: "integer",
|
|
244
|
-
description:
|
|
245
|
-
"The format used for displaying numeric values in the product (decimal, separators, digit group).",
|
|
246
|
-
},
|
|
247
|
-
targetTableName: {
|
|
248
|
-
type: "string",
|
|
249
|
-
description: "The field's target table name.",
|
|
250
|
-
},
|
|
251
|
-
appearsAs: {
|
|
252
|
-
type: "string",
|
|
253
|
-
description:
|
|
254
|
-
"The link text, if empty, the url will be used as link text.",
|
|
255
|
-
},
|
|
256
|
-
width: {
|
|
257
|
-
type: "integer",
|
|
258
|
-
description: "The field's html input width in the product.",
|
|
259
|
-
},
|
|
260
|
-
currencyFormat: {
|
|
261
|
-
type: "string",
|
|
262
|
-
enum: ["left", "right", "middle"],
|
|
263
|
-
description:
|
|
264
|
-
"The currency format used when displaying field values within the product.",
|
|
265
|
-
},
|
|
266
|
-
displayDayOfWeek: {
|
|
267
|
-
type: "boolean",
|
|
268
|
-
description:
|
|
269
|
-
"Indicates whether to display the day of the week within the product.",
|
|
270
|
-
},
|
|
271
|
-
commaStart: {
|
|
272
|
-
type: "integer",
|
|
273
|
-
description:
|
|
274
|
-
"The number of digits before commas display in the product, when applicable.",
|
|
275
|
-
},
|
|
276
|
-
choices: {
|
|
277
|
-
type: "array",
|
|
278
|
-
items: { type: "string" },
|
|
279
|
-
description:
|
|
280
|
-
"An array of entries that exist for a field that offers choices to the user.",
|
|
281
|
-
},
|
|
282
|
-
targetTableId: {
|
|
283
|
-
type: "string",
|
|
284
|
-
description: "The id of the target table.",
|
|
285
|
-
},
|
|
286
|
-
displayRelative: {
|
|
287
|
-
type: "boolean",
|
|
288
|
-
description: "Whether to display time as relative.",
|
|
289
|
-
},
|
|
290
|
-
compositeFields: {
|
|
291
|
-
type: "array",
|
|
292
|
-
items: { type: "object" },
|
|
293
|
-
description:
|
|
294
|
-
"An array of the fields that make up a composite field (e.g., address).",
|
|
295
|
-
},
|
|
296
|
-
displayCheckboxAsText: {
|
|
297
|
-
type: "boolean",
|
|
298
|
-
description:
|
|
299
|
-
"Indicates whether the checkbox values will be shown as text in reports.",
|
|
300
|
-
},
|
|
301
|
-
displayTime: {
|
|
302
|
-
type: "boolean",
|
|
303
|
-
description:
|
|
304
|
-
"Indicates whether to display the time, in addition to the date.",
|
|
305
|
-
},
|
|
306
|
-
versionMode: {
|
|
307
|
-
type: "string",
|
|
308
|
-
enum: ["keepallversions", "keeplastversions"],
|
|
309
|
-
description:
|
|
310
|
-
"Version modes for files. Keep all versions vs keep last version.",
|
|
311
|
-
},
|
|
312
|
-
snapFieldId: {
|
|
313
|
-
type: "integer",
|
|
314
|
-
description:
|
|
315
|
-
"The id of the field that is used to snapshot values from, when applicable.",
|
|
316
|
-
},
|
|
317
|
-
hours24: {
|
|
318
|
-
type: "boolean",
|
|
319
|
-
description:
|
|
320
|
-
"Indicates whether or not to display time in the 24-hour format within the product.",
|
|
321
|
-
},
|
|
322
|
-
sortAlpha: {
|
|
323
|
-
type: "boolean",
|
|
324
|
-
description:
|
|
325
|
-
"Whether to sort alphabetically, default sort is by record ID.",
|
|
326
|
-
},
|
|
327
|
-
hasExtension: {
|
|
328
|
-
type: "boolean",
|
|
329
|
-
description: "Whether this field has a phone extension.",
|
|
330
|
-
},
|
|
331
|
-
useNewWindow: {
|
|
332
|
-
type: "boolean",
|
|
333
|
-
description:
|
|
334
|
-
"Indicates if the URL should open a new window when a user clicks it within the product.",
|
|
335
|
-
},
|
|
336
|
-
displayAsLink: {
|
|
337
|
-
type: "boolean",
|
|
338
|
-
description:
|
|
339
|
-
"Indicates if a field that is part of the relationship should be shown as a hyperlink to the parent record within the product.",
|
|
340
|
-
},
|
|
341
|
-
lookupReferenceFieldId: {
|
|
342
|
-
type: "integer",
|
|
343
|
-
description:
|
|
344
|
-
"The id of the field that is the reference in the relationship for this lookup.",
|
|
345
|
-
},
|
|
346
|
-
summaryTargetFieldId: {
|
|
347
|
-
type: "integer",
|
|
348
|
-
description:
|
|
349
|
-
"The id of the field that is used to aggregate values from the child, when applicable. Displays 0 if not required.",
|
|
350
|
-
},
|
|
351
|
-
masterChoiceFieldId: {
|
|
352
|
-
type: "integer",
|
|
353
|
-
description:
|
|
354
|
-
"The id of the field that is the reference in the relationship.",
|
|
355
|
-
},
|
|
356
|
-
lookupTargetFieldId: {
|
|
357
|
-
type: "integer",
|
|
358
|
-
description:
|
|
359
|
-
"The id of the field that is the target on the master table for this lookup.",
|
|
360
|
-
},
|
|
361
|
-
masterChoiceTableId: {
|
|
362
|
-
type: "string",
|
|
363
|
-
description:
|
|
364
|
-
"The id of the table that is the master in this relationship.",
|
|
365
|
-
},
|
|
366
|
-
summaryReferenceFieldId: {
|
|
367
|
-
type: "integer",
|
|
368
|
-
description:
|
|
369
|
-
"The id of the field that is the reference in the relationship for this summary.",
|
|
370
|
-
},
|
|
371
|
-
summaryFunction: {
|
|
372
|
-
type: "string",
|
|
373
|
-
enum: [
|
|
374
|
-
"AVG",
|
|
375
|
-
"SUM",
|
|
376
|
-
"MAX",
|
|
377
|
-
"MIN",
|
|
378
|
-
"STD-DEV",
|
|
379
|
-
"COUNT",
|
|
380
|
-
"COMBINED-TEXT",
|
|
381
|
-
"COMBINED-USER",
|
|
382
|
-
"DISTINCT-COUNT",
|
|
383
|
-
],
|
|
384
|
-
description: "The summary accumulation function type.",
|
|
385
|
-
},
|
|
386
|
-
masterTableTag: {
|
|
387
|
-
type: "string",
|
|
388
|
-
description:
|
|
389
|
-
"The table alias for the master table in the relationship this field is part of.",
|
|
390
|
-
},
|
|
391
|
-
choicesLuid: {
|
|
392
|
-
type: "array",
|
|
393
|
-
items: { type: "integer" },
|
|
394
|
-
description: "List of user choices.",
|
|
395
|
-
},
|
|
396
|
-
xmlTag: { type: "string", description: "The field's xml tag." },
|
|
397
|
-
startField: { type: "integer", description: "The start field id." },
|
|
398
|
-
durationField: { type: "integer", description: "The duration field id." },
|
|
399
|
-
workWeek: { type: "integer", description: "The work week type." },
|
|
400
|
-
comments: {
|
|
401
|
-
type: "string",
|
|
402
|
-
description:
|
|
403
|
-
"The comments entered on the field properties by an administrator.",
|
|
404
|
-
},
|
|
405
|
-
sourceFieldId: {
|
|
406
|
-
type: "integer",
|
|
407
|
-
description: "The id of the source field.",
|
|
408
|
-
},
|
|
409
|
-
},
|
|
410
|
-
description: "Additional properties specific to the field type.",
|
|
411
|
-
},
|
|
412
|
-
FieldPermissionsInner: {
|
|
413
|
-
type: "object",
|
|
414
|
-
properties: {
|
|
415
|
-
permissionType: {
|
|
416
|
-
type: "string",
|
|
417
|
-
description: "The permission given to the role for this field.",
|
|
418
|
-
},
|
|
419
|
-
role: {
|
|
420
|
-
type: "string",
|
|
421
|
-
description:
|
|
422
|
-
"The role associated with a given permission for the field.",
|
|
423
|
-
},
|
|
424
|
-
roleId: { type: "integer", description: "The Id of the given role." },
|
|
425
|
-
},
|
|
426
|
-
description: "Defines a single permission entry for a field role.",
|
|
427
|
-
},
|
|
428
|
-
CreateFieldRequest: {
|
|
429
|
-
type: "object",
|
|
430
|
-
required: ["label", "fieldType"],
|
|
431
|
-
properties: {
|
|
432
|
-
label: { type: "string", description: "The label (name) of the field." },
|
|
433
|
-
fieldType: {
|
|
434
|
-
type: "string",
|
|
435
|
-
enum: [
|
|
436
|
-
"text",
|
|
437
|
-
"text-multiple-choice",
|
|
438
|
-
"text-multi-line",
|
|
439
|
-
"rich-text",
|
|
440
|
-
"numeric",
|
|
441
|
-
"currency",
|
|
442
|
-
"rating",
|
|
443
|
-
"percent",
|
|
444
|
-
"multitext",
|
|
445
|
-
"email",
|
|
446
|
-
"url",
|
|
447
|
-
"duration",
|
|
448
|
-
"date",
|
|
449
|
-
"datetime",
|
|
450
|
-
"timestamp",
|
|
451
|
-
"timeofday",
|
|
452
|
-
"checkbox",
|
|
453
|
-
"user",
|
|
454
|
-
"multiuser",
|
|
455
|
-
"address",
|
|
456
|
-
"phone",
|
|
457
|
-
"file",
|
|
458
|
-
],
|
|
459
|
-
description: "The type of field. See field type details for more info.",
|
|
460
|
-
},
|
|
461
|
-
noWrap: {
|
|
462
|
-
type: "boolean",
|
|
463
|
-
description:
|
|
464
|
-
"Indicates if the field is configured to not wrap when displayed in the product. Defaults to false.",
|
|
465
|
-
default: false,
|
|
466
|
-
},
|
|
467
|
-
bold: {
|
|
468
|
-
type: "boolean",
|
|
469
|
-
description:
|
|
470
|
-
"Indicates if the field is configured to display in bold in the product. Defaults to false.",
|
|
471
|
-
default: false,
|
|
472
|
-
},
|
|
473
|
-
appearsByDefault: {
|
|
474
|
-
type: "boolean",
|
|
475
|
-
description:
|
|
476
|
-
"Indicates if the field is marked as a default in reports. Defaults to true.",
|
|
477
|
-
default: true,
|
|
478
|
-
},
|
|
479
|
-
findEnabled: {
|
|
480
|
-
type: "boolean",
|
|
481
|
-
description:
|
|
482
|
-
"Indicates if the field is marked as searchable. Defaults to true.",
|
|
483
|
-
default: true,
|
|
484
|
-
},
|
|
485
|
-
fieldHelp: {
|
|
486
|
-
type: "string",
|
|
487
|
-
description:
|
|
488
|
-
"The configured help text shown to users within the product.",
|
|
489
|
-
},
|
|
490
|
-
addToForms: {
|
|
491
|
-
type: "boolean",
|
|
492
|
-
description:
|
|
493
|
-
"Whether the field should appear on forms. Defaults to false.",
|
|
494
|
-
default: false,
|
|
495
|
-
},
|
|
496
|
-
audited: {
|
|
497
|
-
type: "boolean",
|
|
498
|
-
description:
|
|
499
|
-
"Indicates if the field is being tracked as part of Quickbase Audit Logs. Defaults to false.",
|
|
500
|
-
default: false,
|
|
501
|
-
},
|
|
502
|
-
properties: {
|
|
503
|
-
$ref: "#/definitions/FieldProperties",
|
|
504
|
-
description: "Specific field properties.",
|
|
505
|
-
},
|
|
506
|
-
permissions: {
|
|
507
|
-
type: "array",
|
|
508
|
-
items: { $ref: "#/definitions/FieldPermissionsInner" },
|
|
509
|
-
description: "Field permissions for different roles.",
|
|
510
|
-
},
|
|
511
|
-
},
|
|
512
|
-
description: "Request body for creating a new field in a table.",
|
|
513
|
-
},
|
|
514
|
-
CreateField200Response: {
|
|
515
|
-
type: "object",
|
|
516
|
-
required: ["id", "label", "fieldType"],
|
|
517
|
-
properties: {
|
|
518
|
-
id: {
|
|
519
|
-
type: "integer",
|
|
520
|
-
description: "The id of the field, unique to this table.",
|
|
521
|
-
},
|
|
522
|
-
label: { type: "string", description: "The label (name) of the field." },
|
|
523
|
-
fieldType: { type: "string", description: "The type of field." },
|
|
524
|
-
mode: {
|
|
525
|
-
type: "string",
|
|
526
|
-
description:
|
|
527
|
-
"For derived fields, this will be 'lookup', 'summary', or 'formula'. For non-derived fields, this will be blank.",
|
|
528
|
-
},
|
|
529
|
-
noWrap: {
|
|
530
|
-
type: "boolean",
|
|
531
|
-
description:
|
|
532
|
-
"Indicates if the field is configured to not wrap when displayed in the product.",
|
|
533
|
-
},
|
|
534
|
-
bold: {
|
|
535
|
-
type: "boolean",
|
|
536
|
-
description:
|
|
537
|
-
"Indicates if the field is configured to display in bold in the product.",
|
|
538
|
-
},
|
|
539
|
-
required: {
|
|
540
|
-
type: "boolean",
|
|
541
|
-
description: "Indicates if the field is marked required.",
|
|
542
|
-
},
|
|
543
|
-
appearsByDefault: {
|
|
544
|
-
type: "boolean",
|
|
545
|
-
description:
|
|
546
|
-
"Indicates if the field is marked as a default in reports.",
|
|
547
|
-
},
|
|
548
|
-
findEnabled: {
|
|
549
|
-
type: "boolean",
|
|
550
|
-
description: "Indicates if the field is marked as searchable.",
|
|
551
|
-
},
|
|
552
|
-
unique: {
|
|
553
|
-
type: "boolean",
|
|
554
|
-
description: "Indicates if the field is marked unique.",
|
|
555
|
-
},
|
|
556
|
-
doesDataCopy: {
|
|
557
|
-
type: "boolean",
|
|
558
|
-
description:
|
|
559
|
-
"Indicates if the field data will copy when a user copies the record.",
|
|
560
|
-
},
|
|
561
|
-
fieldHelp: {
|
|
562
|
-
type: "string",
|
|
563
|
-
description:
|
|
564
|
-
"The configured help text shown to users within the product.",
|
|
565
|
-
},
|
|
566
|
-
audited: {
|
|
567
|
-
type: "boolean",
|
|
568
|
-
description:
|
|
569
|
-
"Indicates if the field is being tracked as part of Quickbase Audit Logs.",
|
|
570
|
-
},
|
|
571
|
-
properties: {
|
|
572
|
-
$ref: "#/definitions/FieldProperties",
|
|
573
|
-
description: "Additional properties for the field.",
|
|
574
|
-
},
|
|
575
|
-
permissions: {
|
|
576
|
-
type: "array",
|
|
577
|
-
items: { $ref: "#/definitions/FieldPermissionsInner" },
|
|
578
|
-
description: "Field permissions for different roles.",
|
|
579
|
-
},
|
|
580
|
-
},
|
|
581
|
-
description: "Response body for successful field creation.",
|
|
582
|
-
},
|
|
583
|
-
DeleteFieldsRequest: {
|
|
584
|
-
type: "object",
|
|
585
|
-
required: ["fieldIds"],
|
|
586
|
-
properties: {
|
|
587
|
-
fieldIds: {
|
|
588
|
-
type: "array",
|
|
589
|
-
items: { type: "integer" },
|
|
590
|
-
description: "List of field ids to be deleted.",
|
|
591
|
-
},
|
|
592
|
-
},
|
|
593
|
-
description: "Request body for deleting fields from a table.",
|
|
594
|
-
},
|
|
595
|
-
DeleteFields200Response: {
|
|
596
|
-
type: "object",
|
|
597
|
-
required: ["deletedFieldIds", "errors"],
|
|
598
|
-
properties: {
|
|
599
|
-
deletedFieldIds: {
|
|
600
|
-
type: "array",
|
|
601
|
-
items: { type: "integer" },
|
|
602
|
-
description: "List of field ids that were deleted.",
|
|
603
|
-
},
|
|
604
|
-
errors: {
|
|
605
|
-
type: "array",
|
|
606
|
-
items: { type: "string" },
|
|
607
|
-
description: "List of errors found during the deletion process.",
|
|
608
|
-
},
|
|
609
|
-
},
|
|
610
|
-
description:
|
|
611
|
-
"Response body for successful field deletion, with possible errors.",
|
|
612
|
-
},
|
|
613
|
-
FieldUsage: {
|
|
614
|
-
type: "object",
|
|
615
|
-
required: ["field", "usage"],
|
|
616
|
-
properties: {
|
|
617
|
-
field: {
|
|
618
|
-
type: "object",
|
|
619
|
-
required: ["id", "name", "type"],
|
|
620
|
-
properties: {
|
|
621
|
-
id: { type: "integer", description: "Field id." },
|
|
622
|
-
name: { type: "string", description: "Field name." },
|
|
623
|
-
type: { type: "string", description: "Field type." },
|
|
624
|
-
},
|
|
625
|
-
description: "Basic information about the field.",
|
|
626
|
-
},
|
|
627
|
-
usage: {
|
|
628
|
-
type: "object",
|
|
629
|
-
required: [
|
|
630
|
-
"actions",
|
|
631
|
-
"appHomePages",
|
|
632
|
-
"dashboards",
|
|
633
|
-
"defaultReports",
|
|
634
|
-
"exactForms",
|
|
635
|
-
"fields",
|
|
636
|
-
"forms",
|
|
637
|
-
"notifications",
|
|
638
|
-
"personalReports",
|
|
639
|
-
"pipelines",
|
|
640
|
-
"relationships",
|
|
641
|
-
"reminders",
|
|
642
|
-
"reports",
|
|
643
|
-
"roles",
|
|
644
|
-
"tableImports",
|
|
645
|
-
"tableRules",
|
|
646
|
-
"webhooks",
|
|
647
|
-
],
|
|
648
|
-
properties: {
|
|
649
|
-
actions: {
|
|
650
|
-
$ref: "#/definitions/UsageCount",
|
|
651
|
-
description:
|
|
652
|
-
"The number of QuickBase actions where the given field is referenced.",
|
|
653
|
-
},
|
|
654
|
-
appHomePages: {
|
|
655
|
-
$ref: "#/definitions/UsageCount",
|
|
656
|
-
description:
|
|
657
|
-
"The number of app home pages where the given field is referenced.",
|
|
658
|
-
},
|
|
659
|
-
dashboards: {
|
|
660
|
-
$ref: "#/definitions/UsageCount",
|
|
661
|
-
description:
|
|
662
|
-
"The number of dashboards where the given field is referenced.",
|
|
663
|
-
},
|
|
664
|
-
defaultReports: {
|
|
665
|
-
$ref: "#/definitions/UsageCount",
|
|
666
|
-
description:
|
|
667
|
-
"The number of default reports where the given field is referenced.",
|
|
668
|
-
},
|
|
669
|
-
exactForms: {
|
|
670
|
-
$ref: "#/definitions/UsageCount",
|
|
671
|
-
description:
|
|
672
|
-
"The number of exact forms where the given field is referenced.",
|
|
673
|
-
},
|
|
674
|
-
fields: {
|
|
675
|
-
$ref: "#/definitions/UsageCount",
|
|
676
|
-
description:
|
|
677
|
-
"The number of fields where the given field is referenced.",
|
|
678
|
-
},
|
|
679
|
-
forms: {
|
|
680
|
-
$ref: "#/definitions/UsageCount",
|
|
681
|
-
description:
|
|
682
|
-
"The number of forms where the given field is referenced.",
|
|
683
|
-
},
|
|
684
|
-
notifications: {
|
|
685
|
-
$ref: "#/definitions/UsageCount",
|
|
686
|
-
description:
|
|
687
|
-
"The number of notifications where the given field is referenced.",
|
|
688
|
-
},
|
|
689
|
-
personalReports: {
|
|
690
|
-
$ref: "#/definitions/UsageCount",
|
|
691
|
-
description:
|
|
692
|
-
"The number of personal reports where the given field is referenced.",
|
|
693
|
-
},
|
|
694
|
-
pipelines: {
|
|
695
|
-
$ref: "#/definitions/UsageCount",
|
|
696
|
-
description:
|
|
697
|
-
"The number of pipelines where the given field is referenced.",
|
|
698
|
-
},
|
|
699
|
-
relationships: {
|
|
700
|
-
$ref: "#/definitions/UsageCount",
|
|
701
|
-
description:
|
|
702
|
-
"The number of relationships where the given field is referenced.",
|
|
703
|
-
},
|
|
704
|
-
reminders: {
|
|
705
|
-
$ref: "#/definitions/UsageCount",
|
|
706
|
-
description:
|
|
707
|
-
"The number of reminders where the given field is referenced.",
|
|
708
|
-
},
|
|
709
|
-
reports: {
|
|
710
|
-
$ref: "#/definitions/UsageCount",
|
|
711
|
-
description:
|
|
712
|
-
"The number of reports where the given field is referenced.",
|
|
713
|
-
},
|
|
714
|
-
roles: {
|
|
715
|
-
$ref: "#/definitions/UsageCount",
|
|
716
|
-
description:
|
|
717
|
-
"The number of roles where the given field is referenced.",
|
|
718
|
-
},
|
|
719
|
-
tableImports: {
|
|
720
|
-
$ref: "#/definitions/UsageCount",
|
|
721
|
-
description:
|
|
722
|
-
"The number of table imports where the given field is referenced.",
|
|
723
|
-
},
|
|
724
|
-
tableRules: {
|
|
725
|
-
$ref: "#/definitions/UsageCount",
|
|
726
|
-
description:
|
|
727
|
-
"The number of table rules where the given field is referenced.",
|
|
728
|
-
},
|
|
729
|
-
webhooks: {
|
|
730
|
-
$ref: "#/definitions/UsageCount",
|
|
731
|
-
description:
|
|
732
|
-
"The number of webhooks where the given field is referenced.",
|
|
733
|
-
},
|
|
734
|
-
},
|
|
735
|
-
description: "Usage information about the field.",
|
|
736
|
-
},
|
|
737
|
-
},
|
|
738
|
-
description: "Represents usage statistics for a field in a table.",
|
|
739
|
-
},
|
|
740
|
-
UsageCount: {
|
|
741
|
-
type: "object",
|
|
742
|
-
properties: {
|
|
743
|
-
count: {
|
|
744
|
-
type: "integer",
|
|
745
|
-
description:
|
|
746
|
-
"The number of times a field has been used for the given item.",
|
|
747
|
-
},
|
|
748
|
-
},
|
|
749
|
-
description: "A count of usage for a specific category.",
|
|
750
|
-
},
|
|
751
|
-
};
|