quickbase-js 2.2.2 → 2.3.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 CHANGED
@@ -999,6 +999,9 @@ import {
999
999
  NotFoundError,
1000
1000
  ValidationError,
1001
1001
  ServerError,
1002
+ QuickbaseTicketError,
1003
+ QuickbaseAppTokenError,
1004
+ QuickbaseXmlError,
1002
1005
  ReadOnlyError,
1003
1006
  } from 'quickbase-js';
1004
1007
 
@@ -1007,9 +1010,14 @@ try {
1007
1010
  } catch (error) {
1008
1011
  if (error instanceof RateLimitError) {
1009
1012
  console.log(`Rate limited. Retry after ${error.retryAfter} seconds`);
1010
- console.log(`Ray ID: ${error.rayId}`);
1011
1013
  } else if (error instanceof AuthenticationError) {
1012
1014
  console.log('Invalid or expired token');
1015
+ } else if (error instanceof QuickbaseTicketError) {
1016
+ console.log('XML Ticket expired or invalid');
1017
+ } else if (error instanceof QuickbaseAppTokenError) {
1018
+ console.log('Missing or invalid App Token');
1019
+ } else if (error instanceof QuickbaseXmlError) {
1020
+ console.log(`XML API error ${error.code}: ${error.text}`);
1013
1021
  } else if (error instanceof AuthorizationError) {
1014
1022
  console.log('Permission denied');
1015
1023
  } else if (error instanceof NotFoundError) {
@@ -123,6 +123,70 @@ export declare class ServerError extends QuickbaseError {
123
123
  cause?: Error;
124
124
  });
125
125
  }
126
+ /**
127
+ * Error thrown when an authentication ticket is invalid or expired.
128
+ * Specifically for ticket-based authentication (XML API).
129
+ */
130
+ export declare class QuickbaseTicketError extends QuickbaseError {
131
+ readonly code: number;
132
+ constructor(message: string, code: number, options?: {
133
+ description?: string;
134
+ action?: string;
135
+ cause?: Error;
136
+ });
137
+ toJSON(): {
138
+ code: number;
139
+ name: string;
140
+ message: string;
141
+ statusCode: number;
142
+ description: string | undefined;
143
+ rayId: string | undefined;
144
+ };
145
+ }
146
+ /**
147
+ * Error thrown when an application token is missing or invalid.
148
+ * Specifically for apps that require app tokens (XML API).
149
+ */
150
+ export declare class QuickbaseAppTokenError extends QuickbaseError {
151
+ readonly code: number;
152
+ constructor(message: string, code: number, options?: {
153
+ description?: string;
154
+ action?: string;
155
+ cause?: Error;
156
+ });
157
+ toJSON(): {
158
+ code: number;
159
+ name: string;
160
+ message: string;
161
+ statusCode: number;
162
+ description: string | undefined;
163
+ rayId: string | undefined;
164
+ };
165
+ }
166
+ /**
167
+ * Error thrown by the legacy QuickBase XML API.
168
+ * Wraps XML-specific error codes and messages.
169
+ */
170
+ export declare class QuickbaseXmlError extends QuickbaseError {
171
+ readonly code: number;
172
+ readonly text: string;
173
+ readonly action?: string;
174
+ constructor(code: number, text: string, options?: {
175
+ description?: string;
176
+ action?: string;
177
+ cause?: Error;
178
+ });
179
+ toJSON(): {
180
+ code: number;
181
+ text: string;
182
+ action: string | undefined;
183
+ name: string;
184
+ message: string;
185
+ statusCode: number;
186
+ description: string | undefined;
187
+ rayId: string | undefined;
188
+ };
189
+ }
126
190
  /**
127
191
  * Parse an error response from the QuickBase API
128
192
  */
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/core/errors.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD;;GAEG;AACH,qBAAa,cAAe,SAAQ,KAAK;IACvC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;gBAGtB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE;QACR,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,KAAK,CAAC;KACf;IAcH,MAAM;;;;;;;CASP;AAED;;GAEG;AACH,qBAAa,cAAe,SAAQ,cAA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AE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,KAAK,CAAA;KAAE;IAM7G,MAAM;;;;;;;;CAMP;AAED;;;GAGG;AACH,qBAAa,iBAAkB,SAAQ,cAAc;IACnD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;gBAEb,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,KAAK,CAAA;KAAE;IAa1G,MAAM;;;;;;;;;;CAQP;AAED;;GAEG;AACH,wBAAsB,kBAAkB,CACtC,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,cAAc,CAAC,CAmDzB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAWxD;AAED;;;GAGG;AACH,qBAAa,aAAc,SAAQ,KAAK;IACtC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;gBAEb,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM;IAgBzD,MAAM;;;;;;;CASP"}
@@ -119,6 +119,70 @@ export class ServerError extends QuickbaseError {
119
119
  this.name = 'ServerError';
120
120
  }
121
121
  }
122
+ /**
123
+ * Error thrown when an authentication ticket is invalid or expired.
124
+ * Specifically for ticket-based authentication (XML API).
125
+ */
126
+ export class QuickbaseTicketError extends QuickbaseError {
127
+ code;
128
+ constructor(message, code, options) {
129
+ super(message, 401, options);
130
+ this.name = 'QuickbaseTicketError';
131
+ this.code = code;
132
+ }
133
+ toJSON() {
134
+ return {
135
+ ...super.toJSON(),
136
+ code: this.code,
137
+ };
138
+ }
139
+ }
140
+ /**
141
+ * Error thrown when an application token is missing or invalid.
142
+ * Specifically for apps that require app tokens (XML API).
143
+ */
144
+ export class QuickbaseAppTokenError extends QuickbaseError {
145
+ code;
146
+ constructor(message, code, options) {
147
+ super(message, 403, options);
148
+ this.name = 'QuickbaseAppTokenError';
149
+ this.code = code;
150
+ }
151
+ toJSON() {
152
+ return {
153
+ ...super.toJSON(),
154
+ code: this.code,
155
+ };
156
+ }
157
+ }
158
+ /**
159
+ * Error thrown by the legacy QuickBase XML API.
160
+ * Wraps XML-specific error codes and messages.
161
+ */
162
+ export class QuickbaseXmlError extends QuickbaseError {
163
+ code;
164
+ text;
165
+ action;
166
+ constructor(code, text, options) {
167
+ const message = options?.description
168
+ ? `XML API error ${code}: ${text} (${options.description})`
169
+ : `XML API error ${code}: ${text}`;
170
+ // Most XML errors return HTTP 200, so we use 0 or a mapped status if known
171
+ super(message, 0, { rayId: undefined, description: options?.description, cause: options?.cause });
172
+ this.name = 'QuickbaseXmlError';
173
+ this.code = code;
174
+ this.text = text;
175
+ this.action = options?.action;
176
+ }
177
+ toJSON() {
178
+ return {
179
+ ...super.toJSON(),
180
+ code: this.code,
181
+ text: this.text,
182
+ action: this.action,
183
+ };
184
+ }
185
+ }
122
186
  /**
123
187
  * Parse an error response from the QuickBase API
124
188
  */
@@ -1 +1 @@
1
- {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/core/errors.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH;;GAEG;AACH,MAAM,OAAO,cAAe,SAAQ,KAAK;IAC9B,UAAU,CAAS;IACnB,WAAW,CAAU;IACrB,KAAK,CAAU;IAExB,YACE,OAAe,EACf,UAAkB,E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IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QAErB,kDAAkD;QAClD,IAAI,KAAK,CAAC,iBAAiB,EAAE,CAAC;YAC5B,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC;QAC/C,CAAC;IACH,CAAC;IAED,MAAM;QACJ,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,MAAM,EAAE,IAAI,CAAC,MAAM;SACpB,CAAC;IACJ,CAAC;CACF"}
@@ -4,7 +4,7 @@
4
4
  export type { QuickbaseConfig, AuthConfig, UserTokenAuthConfig, TempTokenAuthConfig, SsoTokenAuthConfig, TicketAuthConfig, // XML-API-TICKET: Remove if XML API discontinued
5
5
  RateLimitConfig, RetryConfig, RequestContext, RateLimitInfo, PaginationMetadata, PaginatedResponse, FieldInfo, ResolvedConfig, Schema, TableSchema, FieldSchema, ResolvedSchema, } from './types.js';
6
6
  export { DEFAULT_CONFIG } from './types.js';
7
- export { QuickbaseError, RateLimitError, AuthenticationError, AuthorizationError, NotFoundError, ValidationError, TimeoutError, ServerError, ReadOnlyError, parseErrorResponse, isRetryableError, } from './errors.js';
7
+ export { QuickbaseError, RateLimitError, AuthenticationError, AuthorizationError, NotFoundError, ValidationError, TimeoutError, ServerError, QuickbaseTicketError, QuickbaseAppTokenError, QuickbaseXmlError, ReadOnlyError, parseErrorResponse, isRetryableError, } from './errors.js';
8
8
  export { Logger, createLogger } from './logger.js';
9
9
  export { resolveConfig, getRealmHostname } from './config.js';
10
10
  export { transformDates, isIsoDateString } from './dates.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,YAAY,EACV,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EAAE,iDAAiD;AACnE,eAAe,EACf,WAAW,EACX,cAAc,EACd,aAAa,EACb,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,EACT,cAAc,EAEd,MAAM,EACN,WAAW,EACX,WAAW,EACX,cAAc,GACf,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EACL,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,aAAa,EACb,eAAe,EACf,YAAY,EACZ,WAAW,EACX,aAAa,EACb,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEnD,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,YAAY,EACV,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EAAE,iDAAiD;AACnE,eAAe,EACf,WAAW,EACX,cAAc,EACd,aAAa,EACb,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,EACT,cAAc,EAEd,MAAM,EACN,WAAW,EACX,WAAW,EACX,cAAc,GACf,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EACL,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,aAAa,EACb,eAAe,EACf,YAAY,EACZ,WAAW,EACX,oBAAoB,EACpB,sBAAsB,EACtB,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEnD,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC"}
@@ -2,7 +2,7 @@
2
2
  * Core module exports
3
3
  */
4
4
  export { DEFAULT_CONFIG } from './types.js';
5
- export { QuickbaseError, RateLimitError, AuthenticationError, AuthorizationError, NotFoundError, ValidationError, TimeoutError, ServerError, ReadOnlyError, parseErrorResponse, isRetryableError, } from './errors.js';
5
+ export { QuickbaseError, RateLimitError, AuthenticationError, AuthorizationError, NotFoundError, ValidationError, TimeoutError, ServerError, QuickbaseTicketError, QuickbaseAppTokenError, QuickbaseXmlError, ReadOnlyError, parseErrorResponse, isRetryableError, } from './errors.js';
6
6
  export { Logger, createLogger } from './logger.js';
7
7
  export { resolveConfig, getRealmHostname } from './config.js';
8
8
  export { transformDates, isIsoDateString } from './dates.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAwBH,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EACL,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,aAAa,EACb,eAAe,EACf,YAAY,EACZ,WAAW,EACX,aAAa,EACb,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEnD,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAwBH,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EACL,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,aAAa,EACb,eAAe,EACf,YAAY,EACZ,WAAW,EACX,oBAAoB,EACpB,sBAAsB,EACtB,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEnD,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/generated/client.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,EACV,YAAY,EA6Ib,MAAM,YAAY,CAAC;AAEpB,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,EAAE,OAAO,EAAE;IACnC,MAAM,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,CAAC;CAC/D,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;AAEjB;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,SAAS,EAAE,YAAY,GAAE,OAAe,GAAG,YAAY,CA45ChG"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/generated/client.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,EACV,YAAY,EA8Jb,MAAM,YAAY,CAAC;AAEpB,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,EAAE,OAAO,EAAE;IACnC,MAAM,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,CAAC;CAC/D,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;AAEjB;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,SAAS,EAAE,YAAY,GAAE,OAAe,GAAG,YAAY,CA0iDhG"}
@@ -135,6 +135,23 @@ export function createApiMethods(request, autoPaginate = false) {
135
135
  body,
136
136
  });
137
137
  },
138
+ /**
139
+ * Get app roles
140
+ *
141
+ * Retrieves all of the roles for an application. Requires admin access to an app.
142
+ *
143
+ * @param params.appId - The unique identifier of an app
144
+ *
145
+ * @returns Success
146
+ *
147
+ * @see https://developer.quickbase.com/operation/getRoles
148
+ */
149
+ getRoles(params) {
150
+ return request({
151
+ method: 'GET',
152
+ path: `/apps/${params.appId}/roles`,
153
+ });
154
+ },
138
155
  /**
139
156
  * Get tables for an app
140
157
  *
@@ -280,9 +297,9 @@ export function createApiMethods(request, autoPaginate = false) {
280
297
  *
281
298
  * @param body - Request body
282
299
  * @param body.summaryFields - Array of summary field objects which will turn into summary fields in the parent table. When you specify the 'COUNT' accumulation type, you have to specify 0 as the summaryFid (or not set it in the request). 'DISTINCT-COUNT' requires that summaryFid be set to an actual fid. (optional)
283
- * @param body.lookupFieldIds - Array of field ids in the parent table that will become lookup fields in the child table. (optional)
300
+ * @param body.lookupFieldIds - Array of field IDs in the parent table that will become lookup fields in the child table. (optional)
284
301
  * @param body.parentTableId - The parent table id for the relationship.
285
- * @param body.foreignKeyField - This property is optional. If it is not provided, the foreign key field will be created with the label ‘Related <record>’, where <record> is the name of a record in the parent table. (optional)
302
+ * @param body.foreignKeyField - This property is optional. If it is not provided, the foreign key field will be created with the label ‘Related <record>', where <record> is the name of a record in the parent table. (optional)
286
303
  *
287
304
  * @returns Success
288
305
  *
@@ -305,7 +322,7 @@ export function createApiMethods(request, autoPaginate = false) {
305
322
  *
306
323
  * @param body - Request body (optional)
307
324
  * @param body.summaryFields - An array of objects, each representing a configuration of one field from the child table, that will become summary fields on the parent table. When you specify the 'COUNT' accumulation type, you have to specify 0 as the summaryFid (or not set it in the request). 'DISTINCT-COUNT' requires that summaryFid be set to an actual fid. (optional)
308
- * @param body.lookupFieldIds - An array of field ids on the parent table that will become lookup fields on the child table. (optional)
325
+ * @param body.lookupFieldIds - An array of field IDs on the parent table that will become lookup fields on the child table. (optional)
309
326
  *
310
327
  * @returns Success
311
328
  *
@@ -447,12 +464,12 @@ export function createApiMethods(request, autoPaginate = false) {
447
464
  * @param params.tableId - The unique identifier of the table.
448
465
  *
449
466
  * @param body - Request body
450
- * @param body.audited - Indicates if the field is being tracked as part of Quickbase Audit Logs. You can only set this property to "true" if the app has audit logs enabled. See Enable data change logs under [Quickbase Audit Logs](https://help.quickbase.com/user-assistance/audit_logs.html). Defaults to false. (optional)
467
+ * @param body.audited - Indicates if the field is being tracked as part of Quickbase Audit Logs. You can only set this property to "true" if the app has audit logs enabled. See Enable data change logs under [Quickbase Audit Logs](https://help.quickbase.com/docs/audit-logs). Defaults to false. (optional)
451
468
  * @param body.fieldHelp - The configured help text shown to users within the product. (optional)
452
469
  * @param body.bold - Indicates if the field is configured to display in bold in the product. Defaults to false. (optional)
453
470
  * @param body.properties - Specific field properties. (optional)
454
471
  * @param body.appearsByDefault - Indicates if the field is marked as a default in reports. Defaults to true. (optional)
455
- * @param body.fieldType - The [field types](https://help.quickbase.com/user-assistance/field_types.html), click on any of the field type links for more info.
472
+ * @param body.fieldType - The [field types](https://help.quickbase.com/docs/field-types), click on any of the field type links for more info.
456
473
  * @param body.permissions - Field Permissions for different roles. (optional)
457
474
  * @param body.addToForms - Whether the field you are adding should appear on forms. Defaults to false. (optional)
458
475
  * @param body.label - The label (name) of the field.
@@ -479,7 +496,7 @@ export function createApiMethods(request, autoPaginate = false) {
479
496
  * @param params.tableId - The unique identifier of the table.
480
497
  *
481
498
  * @param body - Request body
482
- * @param body.fieldIds - List of field ids to be deleted.
499
+ * @param body.fieldIds - List of field IDs to be deleted.
483
500
  *
484
501
  * @returns Success
485
502
  *
@@ -517,7 +534,7 @@ export function createApiMethods(request, autoPaginate = false) {
517
534
  /**
518
535
  * Update a field
519
536
  *
520
- * Updates the properties and custom permissions of a field. The attempt to update certain properties might cause existing data to no longer obey the field’s new properties and may be rejected. See the descriptions of required, unique, and choices, below, for specific situations. Any properties of the field that you do not specify in the request body will remain unchanged.
537
+ * Updates the properties and custom permissions of a field. The attempt to update certain properties might cause existing data to no longer obey the field's new properties and may be rejected. See the descriptions of required, unique, and choices, below, for specific situations. Any properties of the field that you do not specify in the request body will remain unchanged.
521
538
  *
522
539
  * @param params.tableId - The unique identifier of the table.
523
540
  * @param params.fieldId - The unique identifier (fid) of the field.
@@ -618,7 +635,7 @@ export function createApiMethods(request, autoPaginate = false) {
618
635
  * @param body.to - The table identifier.
619
636
  * @param body.data - Record data array, where each record contains key-value mappings of fields to be defined/updated and their values. (optional)
620
637
  * @param body.mergeFieldId - The merge field id. (optional)
621
- * @param body.fieldsToReturn - Specify an array of field ids that will return data for any updates or added record. Record ID (FID 3) is always returned if any field ID is requested. (optional)
638
+ * @param body.fieldsToReturn - Specify an array of field IDs that will return data for any updates or added record. Record ID (FID 3) is always returned if any field ID is requested. (optional)
622
639
  *
623
640
  * @returns Response
624
641
  *
@@ -660,7 +677,7 @@ export function createApiMethods(request, autoPaginate = false) {
660
677
  *
661
678
  * @param body - Request body
662
679
  * @param body.from - The unique identifier of the table.
663
- * @param body.where - The filter to delete records. To delete all records specify a filter that will include all records, for example {3.GT.0} where 3 is the ID of the Record ID field.
680
+ * @param body.where - The filter to delete records. To delete all records specify a filter that will include all records, for example {3.GT.0} where 3 is the ID of the Record ID field. Or supply a JSON array of Record IDs.
664
681
  *
665
682
  * @returns Successful delete records response.
666
683
  *
@@ -680,10 +697,10 @@ export function createApiMethods(request, autoPaginate = false) {
680
697
  *
681
698
  * @param body - Request body
682
699
  * @param body.options - Additional query options. (optional)
683
- * @param body.where - The filter, using the Quickbase query language, which determines the records to return. If this parameter is omitted, the query will return all records. (optional)
700
+ * @param body.where - The filter, using the Quickbase query language, which determines the records to return. Or supply a JSON array of Record IDs. If this parameter is omitted, the query will return all records. (optional)
684
701
  * @param body.groupBy - An array that contains the fields to group the records by. (optional)
685
- * @param body.sortBy - An array of field IDs and sort directions. If this attribute is not set or set to false, queries will be unsorted to improve performance. (optional)
686
- * @param body.select - An array of field ids for the fields that should be returned in the response. If empty, the default columns on the table will be returned. (optional)
702
+ * @param body.sortBy - The sortBy (optional)
703
+ * @param body.select - An array of field IDs for the fields that should be returned in the response. If empty, the default columns on the table will be returned. (optional)
687
704
  * @param body.from - The table identifier.
688
705
  *
689
706
  * @returns Success
@@ -719,6 +736,30 @@ export function createApiMethods(request, autoPaginate = false) {
719
736
  };
720
737
  return createPaginatedRequest(executor, { paginatedExecutor, autoPaginate });
721
738
  },
739
+ /**
740
+ * Get records modified since
741
+ *
742
+ * Checks for record changes on the current table and crawls the record dependency graph based on a provided field list. This determines if records on the table changed after the provided timestamp, when factoring in their dependencies. This API requires app admin permissions and only reviews lookup and summary fields in supported relationships.
743
+ To return deleted records for the current table, 'Index record changes' must be enabled.
744
+ Dependent tables only evaluate current records, and deleted records are not supported.
745
+ *
746
+ * @param body - Request body (optional)
747
+ * @param body.after - A timestamp, formatted in ISO-8601 UTC, representing the date and time to search.
748
+ * @param body.fieldList - List of field IDs. Each field is crawled across the entire record dependency graph to find its source record's date modified. If one is not provided, only the current table will be referenced. (optional)
749
+ * @param body.includeDetails - When true, the individual record IDs and timestamps will be returned. If false, only the count of changes will be returned. (optional)
750
+ * @param body.from - The table identifier.
751
+ *
752
+ * @returns Success
753
+ *
754
+ * @see https://developer.quickbase.com/operation/recordsModifiedSince
755
+ */
756
+ recordsModifiedSince(body) {
757
+ return request({
758
+ method: 'POST',
759
+ path: '/records/modifiedSince',
760
+ body,
761
+ });
762
+ },
722
763
  /**
723
764
  * Get a temporary token for a dbid
724
765
  *
@@ -1151,11 +1192,11 @@ export function createApiMethods(request, autoPaginate = false) {
1151
1192
  *
1152
1193
  * @param params.accountId - The ID of the account to query. If no value is specified, the first account matching the provided domain is chosen. (optional)
1153
1194
  *
1154
- * @param body - Request body (optional)
1195
+ * @param body - Request body
1155
1196
  * @param body.start - The start date and time of the requested summaries in ISO 8601 time format.
1156
1197
  * @param body.end - The end date and time of the requested summaries in ISO 8601 time format.
1198
+ * @param body.nextToken - A pagination token from a previous response made using the same parameters. Used to fetch the next page. (optional)
1157
1199
  * @param body.groupBy - How the events should be grouped.
1158
- * @param body.nextToken - A pagination token from a previous response. Used to fetch the next page. (optional)
1159
1200
  * @param body.where - A list of items to filter events by. Only events which match ALL criteria will be included in the results. (optional)
1160
1201
  *
1161
1202
  * @returns Event summaries returned succesfully
@@ -1196,10 +1237,10 @@ export function createApiMethods(request, autoPaginate = false) {
1196
1237
  /**
1197
1238
  * Export a solution
1198
1239
  *
1199
- * Returns the QBL for the specified solution. Learn more about [QBL syntax](https://help.quickbase.com/hc/en-us/articles/24845511223828-What-is-QBL).
1200
- We are releasing schema coverage for QBL in stages. See [what's supported today](https://helpv2.quickbase.com/hc/en-us/articles/30119680754068-QBL-version-0-4-overview) in our QBL documentation.
1240
+ * Returns the QBL for the specified solution. Learn more about [QBL syntax](https://help.quickbase.com/docs/qbl-definition-structure-and-syntax).
1241
+ We are releasing schema coverage for QBL in stages. See [what's supported today](https://help.quickbase.com/docs/qbl-versions) in our QBL documentation.
1201
1242
  *
1202
- * @param params.solutionId - The unique identifier of a solution
1243
+ * @param params.solutionId - The unique identifier (UUID) or the alias of the solution.
1203
1244
  *
1204
1245
  * @returns Success
1205
1246
  *
@@ -1215,9 +1256,9 @@ export function createApiMethods(request, autoPaginate = false) {
1215
1256
  * Update a solution
1216
1257
  *
1217
1258
  * Updates the solution using the provided QBL. Learn more about [QBL syntax](https://help.quickbase.com/hc/en-us/articles/24845511223828-What-is-QBL).
1218
- We are releasing schema coverage for QBL in stages. See [what's supported today](https://helpv2.quickbase.com/hc/en-us/articles/30119680754068-QBL-version-0-4-overview) in our QBL documentation.
1259
+ We are releasing schema coverage for QBL in stages. See [what's supported today](https://helpv2.quickbase.com/hc/en-us/sections/26699387198228-QBL-Versions) in our QBL documentation.
1219
1260
  *
1220
- * @param params.solutionId - The unique identifier of a solution
1261
+ * @param params.solutionId - The unique identifier (UUID) or the alias of the solution.
1221
1262
  *
1222
1263
  * @param body - The QBL to be used for the update. (optional)
1223
1264
  *
@@ -1236,7 +1277,7 @@ export function createApiMethods(request, autoPaginate = false) {
1236
1277
  * Create a solution
1237
1278
  *
1238
1279
  * Creates a solution using the provided QBL. Learn more about [QBL syntax](https://help.quickbase.com/hc/en-us/articles/24845511223828-What-is-QBL).
1239
- We are releasing schema coverage for QBL in stages. See [what's supported today](https://helpv2.quickbase.com/hc/en-us/articles/30119680754068-QBL-version-0-4-overview) in our QBL documentation.
1280
+ We are releasing schema coverage for QBL in stages. See [what's supported today](https://helpv2.quickbase.com/hc/en-us/sections/26699387198228-QBL-Versions) in our QBL documentation.
1240
1281
  *
1241
1282
  * @param body - The QBL to be used for the create.
1242
1283
  *
@@ -1255,7 +1296,7 @@ export function createApiMethods(request, autoPaginate = false) {
1255
1296
  * Export solution to record
1256
1297
  *
1257
1298
  * Exports the solution and outputs the resulting QBL in a new record in the specified table. The QBL will be saved to a file in the file attachment field that is specified. The table cannot have any required fields besides the file attachment field.
1258
- We are releasing schema coverage for QBL in stages. See [what's supported today](https://helpv2.quickbase.com/hc/en-us/articles/30119680754068-QBL-version-0-4-overview) in our QBL documentation.
1299
+ We are releasing schema coverage for QBL in stages. See [what's supported today](https://helpv2.quickbase.com/hc/en-us/sections/26699387198228-QBL-Versions) in our QBL documentation.
1259
1300
  *
1260
1301
  * @param params.solutionId - The unique identifier of the solution.
1261
1302
  * @param params.tableId - The unique identifier (dbid) of the table.
@@ -1276,7 +1317,7 @@ export function createApiMethods(request, autoPaginate = false) {
1276
1317
  * Create solution from record
1277
1318
  *
1278
1319
  * Creates a solution using the QBL from the specified record.
1279
- We are releasing schema coverage for QBL in stages. See [what's supported today](https://helpv2.quickbase.com/hc/en-us/articles/30119680754068-QBL-version-0-4-overview) in our QBL documentation.
1320
+ We are releasing schema coverage for QBL in stages. See [what's supported today](https://helpv2.quickbase.com/hc/en-us/sections/26699387198228-QBL-Versions) in our QBL documentation.
1280
1321
  *
1281
1322
  * @param params.tableId - The unique identifier (dbid) of the table.
1282
1323
  * @param params.fieldId - The unique identifier (fid) of the field. It needs to be a file attachment field.
@@ -1297,7 +1338,7 @@ export function createApiMethods(request, autoPaginate = false) {
1297
1338
  * Update solution from record
1298
1339
  *
1299
1340
  * Updates a solution using the QBL from the specified record.
1300
- We are releasing schema coverage for QBL in stages. See [what's supported today](https://helpv2.quickbase.com/hc/en-us/articles/30119680754068-QBL-version-0-4-overview) in our QBL documentation.
1341
+ We are releasing schema coverage for QBL in stages. See [what's supported today](https://helpv2.quickbase.com/hc/en-us/sections/26699387198228-QBL-Versions) in our QBL documentation.
1301
1342
  *
1302
1343
  * @param params.solutionId - The unique identifier of the solution.
1303
1344
  * @param params.tableId - The unique identifier (dbid) of the table.
@@ -1319,7 +1360,7 @@ export function createApiMethods(request, autoPaginate = false) {
1319
1360
  * List solution changes
1320
1361
  *
1321
1362
  * Returns a list of changes that would occur if the provided QBL were to be applied. Learn more about [QBL syntax](https://help.quickbase.com/hc/en-us/articles/24845511223828-What-is-QBL).
1322
- We are releasing schema coverage for QBL in stages. See [what's supported today](https://helpv2.quickbase.com/hc/en-us/articles/30119680754068-QBL-version-0-4-overview) in our QBL documentation.
1363
+ We are releasing schema coverage for QBL in stages. See [what's supported today](https://helpv2.quickbase.com/hc/en-us/sections/26699387198228-QBL-Versions) in our QBL documentation.
1323
1364
  *
1324
1365
  * @param params.solutionId - The unique identifier of the solution.
1325
1366
  *
@@ -1340,7 +1381,7 @@ export function createApiMethods(request, autoPaginate = false) {
1340
1381
  * List solution changes from record
1341
1382
  *
1342
1383
  * Returns a list of changes that would occur if the QBL from the provided record were to be applied.
1343
- We are releasing schema coverage for QBL in stages. See [what's supported today](https://helpv2.quickbase.com/hc/en-us/articles/30119680754068-QBL-version-0-4-overview) in our QBL documentation.
1384
+ We are releasing schema coverage for QBL in stages. See [what's supported today](https://helpv2.quickbase.com/hc/en-us/sections/26699387198228-QBL-Versions) in our QBL documentation.
1344
1385
  *
1345
1386
  * @param params.solutionId - The unique identifier of the solution.
1346
1387
  * @param params.tableId - The unique identifier (dbid) of the table.
@@ -1361,7 +1402,7 @@ export function createApiMethods(request, autoPaginate = false) {
1361
1402
  /**
1362
1403
  * Generate a document
1363
1404
  *
1364
- * Generates a document from a template. This feature is only available on business or enterprise plans.
1405
+ * Generates a document from a template. After changing a template, allow up to 15 minutes for documents generated via the API to reflect the changes. This feature is only available on business or enterprise plans.
1365
1406
  *
1366
1407
  * @param params.templateId - This is the ID of document template.
1367
1408
  * @param params.tableId - The unique identifier of the table.
@@ -1385,6 +1426,100 @@ export function createApiMethods(request, autoPaginate = false) {
1385
1426
  query: { tableId: params.tableId, recordId: params.recordId, filename: params.filename, format: params.format, margin: params.margin, unit: params.unit, pageSize: params.pageSize, orientation: params.orientation, realm: params.realm },
1386
1427
  });
1387
1428
  },
1429
+ /**
1430
+ * Get solution information
1431
+ *
1432
+ * Returns the metadata and resource information for a solution, including both real and logical IDs of apps and pipelines contained within the solution. This endpoint provides programmatic access to solution structure information.
1433
+ *
1434
+ * @param params.solutionId - The unique identifier (UUID) or the alias of the solution.
1435
+ *
1436
+ * @returns Success
1437
+ *
1438
+ * @see https://developer.quickbase.com/operation/getSolutionPublic
1439
+ */
1440
+ getSolutionPublic(params) {
1441
+ return request({
1442
+ method: 'GET',
1443
+ path: `/solutions/${params.solutionId}/resources`,
1444
+ });
1445
+ },
1446
+ /**
1447
+ * Get trustees for an app
1448
+ *
1449
+ * Returns the list of trustees for a specific application. Trustees include users, groups and email domain groups.
1450
+ *
1451
+ * @param params.appId - The unique identifier of an app
1452
+ *
1453
+ * @returns Success
1454
+ *
1455
+ * @see https://developer.quickbase.com/operation/getTrustees
1456
+ */
1457
+ getTrustees(params) {
1458
+ return request({
1459
+ method: 'GET',
1460
+ path: `/app/${params.appId}/trustees`,
1461
+ });
1462
+ },
1463
+ /**
1464
+ * Add trustees to an app
1465
+ *
1466
+ * Add trustees to the specified application. Trustees include users, groups and email domain groups.
1467
+ *
1468
+ * @param params.appId - The unique identifier of an app
1469
+ *
1470
+ * @param body - Request body (optional)
1471
+ *
1472
+ * @returns Success
1473
+ *
1474
+ * @see https://developer.quickbase.com/operation/addTrustees
1475
+ */
1476
+ addTrustees(params, body) {
1477
+ return request({
1478
+ method: 'POST',
1479
+ path: `/app/${params.appId}/trustees`,
1480
+ body,
1481
+ });
1482
+ },
1483
+ /**
1484
+ * Remove trustees from an app
1485
+ *
1486
+ * Remove trustees from the specified application. Trustees include users, groups and email domain groups.
1487
+ *
1488
+ * @param params.appId - The unique identifier of an app
1489
+ *
1490
+ * @param body - Request body (optional)
1491
+ *
1492
+ * @returns Success
1493
+ *
1494
+ * @see https://developer.quickbase.com/operation/removeTrustees
1495
+ */
1496
+ removeTrustees(params, body) {
1497
+ return request({
1498
+ method: 'DELETE',
1499
+ path: `/app/${params.appId}/trustees`,
1500
+ body,
1501
+ });
1502
+ },
1503
+ /**
1504
+ * Update trustees of an app
1505
+ *
1506
+ * Update trustees for the specified application. Trustees include users, groups and email domain groups.
1507
+ *
1508
+ * @param params.appId - The unique identifier of an app
1509
+ *
1510
+ * @param body - Request body (optional)
1511
+ *
1512
+ * @returns Success
1513
+ *
1514
+ * @see https://developer.quickbase.com/operation/updateTrustees
1515
+ */
1516
+ updateTrustees(params, body) {
1517
+ return request({
1518
+ method: 'PATCH',
1519
+ path: `/app/${params.appId}/trustees`,
1520
+ body,
1521
+ });
1522
+ },
1388
1523
  };
1389
1524
  }
1390
1525
  //# sourceMappingURL=client.js.map