@stigg/typescript 0.1.0-beta.36 → 0.1.0-beta.38

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.
@@ -144,12 +144,12 @@ export class Entities extends APIResource {
144
144
  * entities: [
145
145
  * {
146
146
  * id: 'user-7f3a0c1d',
147
- * typeRefId: 'user',
147
+ * entityTypeId: 'user',
148
148
  * metadata: { email: 'jane@acme.com', role: 'admin' },
149
149
  * },
150
150
  * {
151
151
  * id: 'user-c4d1b2e9',
152
- * typeRefId: 'user',
152
+ * entityTypeId: 'user',
153
153
  * metadata: { email: 'john@acme.com' },
154
154
  * },
155
155
  * ],
@@ -205,14 +205,14 @@ export namespace EntityRetrieveResponse {
205
205
  createdAt: string;
206
206
 
207
207
  /**
208
- * Free-form key/value metadata attached to the entity
208
+ * The entity type identifier this entity instantiates
209
209
  */
210
- metadata: { [key: string]: string };
210
+ entityTypeId: string;
211
211
 
212
212
  /**
213
- * The entity type identifier this entity instantiates
213
+ * Free-form key/value metadata attached to the entity
214
214
  */
215
- typeId: string;
215
+ metadata: { [key: string]: string };
216
216
 
217
217
  /**
218
218
  * Timestamp of when the record was last updated
@@ -241,14 +241,14 @@ export interface EntityListResponse {
241
241
  createdAt: string;
242
242
 
243
243
  /**
244
- * Free-form key/value metadata attached to the entity
244
+ * The entity type identifier this entity instantiates
245
245
  */
246
- metadata: { [key: string]: string };
246
+ entityTypeId: string;
247
247
 
248
248
  /**
249
- * The entity type identifier this entity instantiates
249
+ * Free-form key/value metadata attached to the entity
250
250
  */
251
- typeId: string;
251
+ metadata: { [key: string]: string };
252
252
 
253
253
  /**
254
254
  * Timestamp of when the record was last updated
@@ -328,14 +328,14 @@ export namespace EntityUpsertResponse {
328
328
  createdAt: string;
329
329
 
330
330
  /**
331
- * Free-form key/value metadata attached to the entity
331
+ * The entity type identifier this entity instantiates
332
332
  */
333
- metadata: { [key: string]: string };
333
+ entityTypeId: string;
334
334
 
335
335
  /**
336
- * The entity type identifier this entity instantiates
336
+ * Free-form key/value metadata attached to the entity
337
337
  */
338
- typeId: string;
338
+ metadata: { [key: string]: string };
339
339
 
340
340
  /**
341
341
  * Timestamp of when the record was last updated
@@ -366,15 +366,15 @@ export interface EntityRetrieveParams {
366
366
 
367
367
  export interface EntityListParams extends MyCursorIDPageParams {
368
368
  /**
369
- * Query param: Whether to include archived entities. One of: true, false
369
+ * Query param: Filter results to entities of a specific entity type, by the type's
370
+ * ID
370
371
  */
371
- includeArchived?: 'true' | 'false';
372
+ entityTypeId?: string;
372
373
 
373
374
  /**
374
- * Query param: Filter results to entities of a specific entity type, by the type's
375
- * refId
375
+ * Query param: Whether to include archived entities. One of: true, false
376
376
  */
377
- typeRefId?: string;
377
+ includeArchived?: 'true' | 'false';
378
378
 
379
379
  /**
380
380
  * Header param: Account ID — optional when authenticating with a user JWT (Bearer
@@ -461,17 +461,17 @@ export namespace EntityUpsertParams {
461
461
  id: string;
462
462
 
463
463
  /**
464
- * Free-form key/value metadata. Patch semantics: empty-string value removes a key,
465
- * omitted keys are preserved.
464
+ * The entity type ID this entity instantiates. Required when creating a new
465
+ * entity; on a re-upsert may be omitted to preserve the existing type. Governance
466
+ * returns 400 if missing on create.
466
467
  */
467
- metadata?: { [key: string]: string };
468
+ entityTypeId?: string;
468
469
 
469
470
  /**
470
- * The entity type refId this entity instantiates. Required when creating a new
471
- * entity; on a re-upsert may be omitted to preserve the existing type. Governance
472
- * returns 400 if missing on create.
471
+ * Free-form key/value metadata. Patch semantics: empty-string value removes a key,
472
+ * omitted keys are preserved.
473
473
  */
474
- typeRefId?: string;
474
+ metadata?: { [key: string]: string };
475
475
  }
476
476
  }
477
477
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.1.0-beta.36'; // x-release-please-version
1
+ export const VERSION = '0.1.0-beta.38'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-beta.36";
1
+ export declare const VERSION = "0.1.0-beta.38";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-beta.36";
1
+ export declare const VERSION = "0.1.0-beta.38";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.1.0-beta.36'; // x-release-please-version
4
+ exports.VERSION = '0.1.0-beta.38'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.1.0-beta.36'; // x-release-please-version
1
+ export const VERSION = '0.1.0-beta.38'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map