@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.
- package/CHANGELOG.md +16 -0
- package/client.d.mts +1 -1
- package/client.d.ts +1 -1
- package/client.js +3 -3
- package/client.js.map +1 -1
- package/client.mjs +3 -3
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/v1/events/beta/customers.d.mts +3 -3
- package/resources/v1/events/beta/customers.d.mts.map +1 -1
- package/resources/v1/events/beta/customers.d.ts +3 -3
- package/resources/v1/events/beta/customers.d.ts.map +1 -1
- package/resources/v1-beta/customers/assignments.d.mts +29 -25
- package/resources/v1-beta/customers/assignments.d.mts.map +1 -1
- package/resources/v1-beta/customers/assignments.d.ts +29 -25
- package/resources/v1-beta/customers/assignments.d.ts.map +1 -1
- package/resources/v1-beta/customers/entities.d.mts +25 -25
- package/resources/v1-beta/customers/entities.d.mts.map +1 -1
- package/resources/v1-beta/customers/entities.d.ts +25 -25
- package/resources/v1-beta/customers/entities.d.ts.map +1 -1
- package/resources/v1-beta/customers/entities.js +2 -2
- package/resources/v1-beta/customers/entities.mjs +2 -2
- package/src/client.ts +3 -3
- package/src/resources/v1/events/beta/customers.ts +3 -3
- package/src/resources/v1-beta/customers/assignments.ts +30 -25
- package/src/resources/v1-beta/customers/entities.ts +26 -26
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -144,12 +144,12 @@ export class Entities extends APIResource {
|
|
|
144
144
|
* entities: [
|
|
145
145
|
* {
|
|
146
146
|
* id: 'user-7f3a0c1d',
|
|
147
|
-
*
|
|
147
|
+
* entityTypeId: 'user',
|
|
148
148
|
* metadata: { email: 'jane@acme.com', role: 'admin' },
|
|
149
149
|
* },
|
|
150
150
|
* {
|
|
151
151
|
* id: 'user-c4d1b2e9',
|
|
152
|
-
*
|
|
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
|
-
*
|
|
208
|
+
* The entity type identifier this entity instantiates
|
|
209
209
|
*/
|
|
210
|
-
|
|
210
|
+
entityTypeId: string;
|
|
211
211
|
|
|
212
212
|
/**
|
|
213
|
-
*
|
|
213
|
+
* Free-form key/value metadata attached to the entity
|
|
214
214
|
*/
|
|
215
|
-
|
|
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
|
-
*
|
|
244
|
+
* The entity type identifier this entity instantiates
|
|
245
245
|
*/
|
|
246
|
-
|
|
246
|
+
entityTypeId: string;
|
|
247
247
|
|
|
248
248
|
/**
|
|
249
|
-
*
|
|
249
|
+
* Free-form key/value metadata attached to the entity
|
|
250
250
|
*/
|
|
251
|
-
|
|
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
|
-
*
|
|
331
|
+
* The entity type identifier this entity instantiates
|
|
332
332
|
*/
|
|
333
|
-
|
|
333
|
+
entityTypeId: string;
|
|
334
334
|
|
|
335
335
|
/**
|
|
336
|
-
*
|
|
336
|
+
* Free-form key/value metadata attached to the entity
|
|
337
337
|
*/
|
|
338
|
-
|
|
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:
|
|
369
|
+
* Query param: Filter results to entities of a specific entity type, by the type's
|
|
370
|
+
* ID
|
|
370
371
|
*/
|
|
371
|
-
|
|
372
|
+
entityTypeId?: string;
|
|
372
373
|
|
|
373
374
|
/**
|
|
374
|
-
* Query param:
|
|
375
|
-
* refId
|
|
375
|
+
* Query param: Whether to include archived entities. One of: true, false
|
|
376
376
|
*/
|
|
377
|
-
|
|
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
|
-
*
|
|
465
|
-
* omitted
|
|
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
|
-
|
|
468
|
+
entityTypeId?: string;
|
|
468
469
|
|
|
469
470
|
/**
|
|
470
|
-
*
|
|
471
|
-
*
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
1
|
+
export const VERSION = '0.1.0-beta.38'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|