@stigg/typescript 0.1.0-beta.50 → 0.1.0-beta.52
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/package.json +1 -1
- package/resources/v1/addons/addons.d.mts +0 -8
- package/resources/v1/addons/addons.d.mts.map +1 -1
- package/resources/v1/addons/addons.d.ts +0 -8
- package/resources/v1/addons/addons.d.ts.map +1 -1
- package/resources/v1/addons/addons.js.map +1 -1
- package/resources/v1/addons/addons.mjs.map +1 -1
- package/resources/v1/events/beta/customers.d.mts +17 -8
- package/resources/v1/events/beta/customers.d.mts.map +1 -1
- package/resources/v1/events/beta/customers.d.ts +17 -8
- package/resources/v1/events/beta/customers.d.ts.map +1 -1
- package/resources/v1/plans/plans.d.mts +0 -8
- package/resources/v1/plans/plans.d.mts.map +1 -1
- package/resources/v1/plans/plans.d.ts +0 -8
- package/resources/v1/plans/plans.d.ts.map +1 -1
- package/resources/v1/plans/plans.js.map +1 -1
- package/resources/v1/plans/plans.mjs.map +1 -1
- package/resources/v1-beta/customers/entities.d.mts +22 -0
- package/resources/v1-beta/customers/entities.d.mts.map +1 -1
- package/resources/v1-beta/customers/entities.d.ts +22 -0
- package/resources/v1-beta/customers/entities.d.ts.map +1 -1
- package/resources/v1-beta/customers/entities.js +2 -0
- package/resources/v1-beta/customers/entities.js.map +1 -1
- package/resources/v1-beta/customers/entities.mjs +2 -0
- package/resources/v1-beta/customers/entities.mjs.map +1 -1
- package/resources/v1-beta/entity-types.d.mts +17 -0
- package/resources/v1-beta/entity-types.d.mts.map +1 -1
- package/resources/v1-beta/entity-types.d.ts +17 -0
- package/resources/v1-beta/entity-types.d.ts.map +1 -1
- package/resources/v1-beta/entity-types.js +2 -0
- package/resources/v1-beta/entity-types.js.map +1 -1
- package/resources/v1-beta/entity-types.mjs +2 -0
- package/resources/v1-beta/entity-types.mjs.map +1 -1
- package/src/resources/v1/addons/addons.ts +0 -10
- package/src/resources/v1/events/beta/customers.ts +18 -8
- package/src/resources/v1/plans/plans.ts +0 -10
- package/src/resources/v1-beta/customers/entities.ts +26 -0
- package/src/resources/v1-beta/entity-types.ts +20 -0
- 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
|
@@ -116,11 +116,13 @@ export class Entities extends APIResource {
|
|
|
116
116
|
* entities: [
|
|
117
117
|
* {
|
|
118
118
|
* id: 'user-7f3a0c1d',
|
|
119
|
+
* displayName: 'Jane Doe',
|
|
119
120
|
* entityTypeId: 'user',
|
|
120
121
|
* metadata: { email: 'jane@acme.com', role: 'admin' },
|
|
121
122
|
* },
|
|
122
123
|
* {
|
|
123
124
|
* id: 'user-c4d1b2e9',
|
|
125
|
+
* displayName: 'John Roe',
|
|
124
126
|
* entityTypeId: 'user',
|
|
125
127
|
* metadata: { email: 'john@acme.com' },
|
|
126
128
|
* },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.mjs","sourceRoot":"","sources":["../../../src/resources/v1-beta/customers/entities.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,EAAE,cAAc,EAA0C,qCAAiC;AAClG,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;OAUG;IACH,QAAQ,CACN,QAAgB,EAChB,MAA4B,EAC5B,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,cAAc,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,GAAG,MAAM,CAAC;QACtF,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,0BAA0B,EAAE,aAAa,QAAQ,EAAE,EAAE;YAC/E,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBAC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CAAC,SAAS,CAAC;oBACpE,GAAG,CAAC,cAAc,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,kBAAkB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACjF;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,MAAM,CAAC,EAAU,EAAE,MAA0B,EAAE,OAAwB;QACrE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC3F,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,0BAA0B,EAAE,WAAW,EAAE;YACnE,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;oBACpE,GAAG,CAAC,cAAc,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,kBAAkB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACjF;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -29,6 +29,8 @@ export declare class EntityTypes extends APIResource {
|
|
|
29
29
|
* {
|
|
30
30
|
* id: 'org',
|
|
31
31
|
* displayName: 'Organization',
|
|
32
|
+
* description:
|
|
33
|
+
* 'A customer organization — the top of the hierarchy, holding the account-wide budget.',
|
|
32
34
|
* attributionKeys: ['organizationId'],
|
|
33
35
|
* },
|
|
34
36
|
* {
|
|
@@ -63,6 +65,11 @@ export interface EntityTypeListResponse {
|
|
|
63
65
|
* Timestamp of when the record was created
|
|
64
66
|
*/
|
|
65
67
|
createdAt: string;
|
|
68
|
+
/**
|
|
69
|
+
* What this entity type represents and what it is for governing, or null when none
|
|
70
|
+
* is set
|
|
71
|
+
*/
|
|
72
|
+
description: string | null;
|
|
66
73
|
/**
|
|
67
74
|
* The display name for the entity type
|
|
68
75
|
*/
|
|
@@ -99,6 +106,11 @@ export declare namespace EntityTypeUpsertResponse {
|
|
|
99
106
|
* Timestamp of when the record was created
|
|
100
107
|
*/
|
|
101
108
|
createdAt: string;
|
|
109
|
+
/**
|
|
110
|
+
* What this entity type represents and what it is for governing, or null when none
|
|
111
|
+
* is set
|
|
112
|
+
*/
|
|
113
|
+
description: string | null;
|
|
102
114
|
/**
|
|
103
115
|
* The display name for the entity type
|
|
104
116
|
*/
|
|
@@ -157,6 +169,11 @@ export declare namespace EntityTypeUpsertParams {
|
|
|
157
169
|
* The display name for the entity type
|
|
158
170
|
*/
|
|
159
171
|
displayName: string;
|
|
172
|
+
/**
|
|
173
|
+
* What this entity type represents and what it is for governing. Omit to preserve
|
|
174
|
+
* the stored value, or send an empty string or null to clear it.
|
|
175
|
+
*/
|
|
176
|
+
description?: string | null;
|
|
160
177
|
}
|
|
161
178
|
}
|
|
162
179
|
export declare namespace EntityTypes {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-types.d.mts","sourceRoot":"","sources":["../../src/resources/v1-beta/entity-types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE,kCAA8B;AAE/F,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,MAAM,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,qCAAqC,EAAE,sBAAsB,CAAC;IAe7E
|
|
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|
|
31
31
|
* displayName: 'Organization',
|
|
32
|
+
* description:
|
|
33
|
+
* 'A customer organization — the top of the hierarchy, holding the account-wide budget.',
|
|
32
34
|
* attributionKeys: ['organizationId'],
|
|
33
35
|
* },
|
|
34
36
|
* {
|
|
@@ -63,6 +65,11 @@ export interface EntityTypeListResponse {
|
|
|
63
65
|
* Timestamp of when the record was created
|
|
64
66
|
*/
|
|
65
67
|
createdAt: string;
|
|
68
|
+
/**
|
|
69
|
+
* What this entity type represents and what it is for governing, or null when none
|
|
70
|
+
* is set
|
|
71
|
+
*/
|
|
72
|
+
description: string | null;
|
|
66
73
|
/**
|
|
67
74
|
* The display name for the entity type
|
|
68
75
|
*/
|
|
@@ -99,6 +106,11 @@ export declare namespace EntityTypeUpsertResponse {
|
|
|
99
106
|
* Timestamp of when the record was created
|
|
100
107
|
*/
|
|
101
108
|
createdAt: string;
|
|
109
|
+
/**
|
|
110
|
+
* What this entity type represents and what it is for governing, or null when none
|
|
111
|
+
* is set
|
|
112
|
+
*/
|
|
113
|
+
description: string | null;
|
|
102
114
|
/**
|
|
103
115
|
* The display name for the entity type
|
|
104
116
|
*/
|
|
@@ -157,6 +169,11 @@ export declare namespace EntityTypeUpsertParams {
|
|
|
157
169
|
* The display name for the entity type
|
|
158
170
|
*/
|
|
159
171
|
displayName: string;
|
|
172
|
+
/**
|
|
173
|
+
* What this entity type represents and what it is for governing. Omit to preserve
|
|
174
|
+
* the stored value, or send an empty string or null to clear it.
|
|
175
|
+
*/
|
|
176
|
+
description?: string | null;
|
|
160
177
|
}
|
|
161
178
|
}
|
|
162
179
|
export declare namespace EntityTypes {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-types.d.ts","sourceRoot":"","sources":["../../src/resources/v1-beta/entity-types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,KAAK,oB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AO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -45,6 +45,8 @@ class EntityTypes extends resource_1.APIResource {
|
|
|
45
45
|
* {
|
|
46
46
|
* id: 'org',
|
|
47
47
|
* displayName: 'Organization',
|
|
48
|
+
* description:
|
|
49
|
+
* 'A customer organization — the top of the hierarchy, holding the account-wide budget.',
|
|
48
50
|
* attributionKeys: ['organizationId'],
|
|
49
51
|
* },
|
|
50
52
|
* {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-types.js","sourceRoot":"","sources":["../../src/resources/v1-beta/entity-types.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,yDAA+F;AAC/F,uDAAsD;AAGtD,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,SAAkD,EAAE,EACpD,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAClG,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,2BAA2B,EAAE,CAAA,2BAAsC,CAAA,EAAE;YAClG,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;oBACpE,GAAG,CAAC,cAAc,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,kBAAkB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACjF;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G,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;oBACpE,GAAG,CAAC,cAAc,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,kBAAkB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACjF;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AAvED,kCAuEC"}
|
|
@@ -42,6 +42,8 @@ export class EntityTypes extends APIResource {
|
|
|
42
42
|
* {
|
|
43
43
|
* id: 'org',
|
|
44
44
|
* displayName: 'Organization',
|
|
45
|
+
* description:
|
|
46
|
+
* 'A customer organization — the top of the hierarchy, holding the account-wide budget.',
|
|
45
47
|
* attributionKeys: ['organizationId'],
|
|
46
48
|
* },
|
|
47
49
|
* {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-types.mjs","sourceRoot":"","sources":["../../src/resources/v1-beta/entity-types.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAE,cAAc,EAA0C,kCAA8B;AAC/F,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAGtD,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,SAAkD,EAAE,EACpD,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAClG,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,2BAA2B,EAAE,CAAA,cAAsC,CAAA,EAAE;YAClG,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,E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;QAC7D,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC3F,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE;YACnD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;oBACpE,GAAG,CAAC,cAAc,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,kBAAkB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACjF;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1317,21 +1317,11 @@ export namespace AddonUpdateParams {
|
|
|
1317
1317
|
* Overage pricing model configuration.
|
|
1318
1318
|
*/
|
|
1319
1319
|
export interface OveragePricingModel {
|
|
1320
|
-
/**
|
|
1321
|
-
* The billing model for overages
|
|
1322
|
-
*/
|
|
1323
|
-
billingModel: 'FLAT_FEE' | 'MINIMUM_SPEND' | 'PER_UNIT' | 'USAGE_BASED' | 'CREDIT_BASED';
|
|
1324
|
-
|
|
1325
1320
|
/**
|
|
1326
1321
|
* Price periods for overage pricing
|
|
1327
1322
|
*/
|
|
1328
1323
|
pricePeriods: Array<OveragePricingModel.PricePeriod>;
|
|
1329
1324
|
|
|
1330
|
-
/**
|
|
1331
|
-
* The billing cadence for overages
|
|
1332
|
-
*/
|
|
1333
|
-
billingCadence?: 'RECURRING' | 'ONE_OFF';
|
|
1334
|
-
|
|
1335
1325
|
/**
|
|
1336
1326
|
* Credit entitlement to grant when a credit overage targets a currency not yet
|
|
1337
1327
|
* granted on the plan
|
|
@@ -64,6 +64,12 @@ export namespace CustomerRetrieveGovernanceResponse {
|
|
|
64
64
|
*/
|
|
65
65
|
currentUsage: number | null;
|
|
66
66
|
|
|
67
|
+
/**
|
|
68
|
+
* Human-readable name of the entity, or null when none is set (display the entity
|
|
69
|
+
* id instead).
|
|
70
|
+
*/
|
|
71
|
+
displayName: string | null;
|
|
72
|
+
|
|
67
73
|
/**
|
|
68
74
|
* External id of the entity at this node.
|
|
69
75
|
*/
|
|
@@ -75,8 +81,10 @@ export namespace CustomerRetrieveGovernanceResponse {
|
|
|
75
81
|
entityTypeId: string;
|
|
76
82
|
|
|
77
83
|
/**
|
|
78
|
-
* External id of the parent entity in the tree
|
|
79
|
-
*
|
|
84
|
+
* External id of the parent entity in the tree. `null` means the entity is either
|
|
85
|
+
* a root or not yet placed in the hierarchy — placement rides on an assignment, so
|
|
86
|
+
* an entity with no limits set has no parent yet. Both render at the top level;
|
|
87
|
+
* use it to rebuild the tree.
|
|
80
88
|
*/
|
|
81
89
|
parentId: string | null;
|
|
82
90
|
|
|
@@ -92,14 +100,16 @@ export namespace CustomerRetrieveGovernanceResponse {
|
|
|
92
100
|
usageLimit: number | null;
|
|
93
101
|
|
|
94
102
|
/**
|
|
95
|
-
* Exclusive end of the cadence period — when usage resets
|
|
96
|
-
* has
|
|
103
|
+
* Exclusive end of the cadence period in progress now — when usage resets. `null`
|
|
104
|
+
* when the node has no usage configuration, or when a stored cadence cannot be
|
|
105
|
+
* parsed.
|
|
97
106
|
*/
|
|
98
107
|
usagePeriodEnd: string | null;
|
|
99
108
|
|
|
100
109
|
/**
|
|
101
|
-
* Start of the cadence period
|
|
102
|
-
*
|
|
110
|
+
* Start of the cadence period in progress now, derived from the cadence and the
|
|
111
|
+
* assignment anchor — it stays correct across a rollover. `null` when the node has
|
|
112
|
+
* no usage configuration, or when a stored cadence cannot be parsed.
|
|
103
113
|
*/
|
|
104
114
|
usagePeriodStart: string | null;
|
|
105
115
|
|
|
@@ -143,8 +153,8 @@ export interface CustomerRetrieveGovernanceParams {
|
|
|
143
153
|
currencyIds?: Array<string>;
|
|
144
154
|
|
|
145
155
|
/**
|
|
146
|
-
* Query param: Case-insensitive substring match on the entity id
|
|
147
|
-
* literally).
|
|
156
|
+
* Query param: Case-insensitive substring match on the entity id or its display
|
|
157
|
+
* name (`%`/`_` matched literally).
|
|
148
158
|
*/
|
|
149
159
|
entityIdSearch?: string;
|
|
150
160
|
|
|
@@ -2020,21 +2020,11 @@ export namespace PlanUpdateParams {
|
|
|
2020
2020
|
* Overage pricing model configuration.
|
|
2021
2021
|
*/
|
|
2022
2022
|
export interface OveragePricingModel {
|
|
2023
|
-
/**
|
|
2024
|
-
* The billing model for overages
|
|
2025
|
-
*/
|
|
2026
|
-
billingModel: 'FLAT_FEE' | 'MINIMUM_SPEND' | 'PER_UNIT' | 'USAGE_BASED' | 'CREDIT_BASED';
|
|
2027
|
-
|
|
2028
2023
|
/**
|
|
2029
2024
|
* Price periods for overage pricing
|
|
2030
2025
|
*/
|
|
2031
2026
|
pricePeriods: Array<OveragePricingModel.PricePeriod>;
|
|
2032
2027
|
|
|
2033
|
-
/**
|
|
2034
|
-
* The billing cadence for overages
|
|
2035
|
-
*/
|
|
2036
|
-
billingCadence?: 'RECURRING' | 'ONE_OFF';
|
|
2037
|
-
|
|
2038
2028
|
/**
|
|
2039
2029
|
* Credit entitlement to grant when a credit overage targets a currency not yet
|
|
2040
2030
|
* granted on the plan
|
|
@@ -144,11 +144,13 @@ export class Entities extends APIResource {
|
|
|
144
144
|
* entities: [
|
|
145
145
|
* {
|
|
146
146
|
* id: 'user-7f3a0c1d',
|
|
147
|
+
* displayName: 'Jane Doe',
|
|
147
148
|
* entityTypeId: 'user',
|
|
148
149
|
* metadata: { email: 'jane@acme.com', role: 'admin' },
|
|
149
150
|
* },
|
|
150
151
|
* {
|
|
151
152
|
* id: 'user-c4d1b2e9',
|
|
153
|
+
* displayName: 'John Roe',
|
|
152
154
|
* entityTypeId: 'user',
|
|
153
155
|
* metadata: { email: 'john@acme.com' },
|
|
154
156
|
* },
|
|
@@ -204,6 +206,12 @@ export namespace EntityRetrieveResponse {
|
|
|
204
206
|
*/
|
|
205
207
|
createdAt: string;
|
|
206
208
|
|
|
209
|
+
/**
|
|
210
|
+
* Human-readable name for the entity, or null when none is set — in which case
|
|
211
|
+
* clients display the entity ID
|
|
212
|
+
*/
|
|
213
|
+
displayName: string | null;
|
|
214
|
+
|
|
207
215
|
/**
|
|
208
216
|
* The entity type identifier this entity instantiates
|
|
209
217
|
*/
|
|
@@ -240,6 +248,12 @@ export interface EntityListResponse {
|
|
|
240
248
|
*/
|
|
241
249
|
createdAt: string;
|
|
242
250
|
|
|
251
|
+
/**
|
|
252
|
+
* Human-readable name for the entity, or null when none is set — in which case
|
|
253
|
+
* clients display the entity ID
|
|
254
|
+
*/
|
|
255
|
+
displayName: string | null;
|
|
256
|
+
|
|
243
257
|
/**
|
|
244
258
|
* The entity type identifier this entity instantiates
|
|
245
259
|
*/
|
|
@@ -327,6 +341,12 @@ export namespace EntityUpsertResponse {
|
|
|
327
341
|
*/
|
|
328
342
|
createdAt: string;
|
|
329
343
|
|
|
344
|
+
/**
|
|
345
|
+
* Human-readable name for the entity, or null when none is set — in which case
|
|
346
|
+
* clients display the entity ID
|
|
347
|
+
*/
|
|
348
|
+
displayName: string | null;
|
|
349
|
+
|
|
330
350
|
/**
|
|
331
351
|
* The entity type identifier this entity instantiates
|
|
332
352
|
*/
|
|
@@ -460,6 +480,12 @@ export namespace EntityUpsertParams {
|
|
|
460
480
|
*/
|
|
461
481
|
id: string;
|
|
462
482
|
|
|
483
|
+
/**
|
|
484
|
+
* Human-readable name for the entity. Omit to preserve the stored value, or send
|
|
485
|
+
* an empty string or null to clear it.
|
|
486
|
+
*/
|
|
487
|
+
displayName?: string | null;
|
|
488
|
+
|
|
463
489
|
/**
|
|
464
490
|
* The entity type ID this entity instantiates. Required when creating a new
|
|
465
491
|
* entity; on a re-upsert may be omitted to preserve the existing type. Governance
|
|
@@ -50,6 +50,8 @@ export class EntityTypes extends APIResource {
|
|
|
50
50
|
* {
|
|
51
51
|
* id: 'org',
|
|
52
52
|
* displayName: 'Organization',
|
|
53
|
+
* description:
|
|
54
|
+
* 'A customer organization — the top of the hierarchy, holding the account-wide budget.',
|
|
53
55
|
* attributionKeys: ['organizationId'],
|
|
54
56
|
* },
|
|
55
57
|
* {
|
|
@@ -102,6 +104,12 @@ export interface EntityTypeListResponse {
|
|
|
102
104
|
*/
|
|
103
105
|
createdAt: string;
|
|
104
106
|
|
|
107
|
+
/**
|
|
108
|
+
* What this entity type represents and what it is for governing, or null when none
|
|
109
|
+
* is set
|
|
110
|
+
*/
|
|
111
|
+
description: string | null;
|
|
112
|
+
|
|
105
113
|
/**
|
|
106
114
|
* The display name for the entity type
|
|
107
115
|
*/
|
|
@@ -144,6 +152,12 @@ export namespace EntityTypeUpsertResponse {
|
|
|
144
152
|
*/
|
|
145
153
|
createdAt: string;
|
|
146
154
|
|
|
155
|
+
/**
|
|
156
|
+
* What this entity type represents and what it is for governing, or null when none
|
|
157
|
+
* is set
|
|
158
|
+
*/
|
|
159
|
+
description: string | null;
|
|
160
|
+
|
|
147
161
|
/**
|
|
148
162
|
* The display name for the entity type
|
|
149
163
|
*/
|
|
@@ -211,6 +225,12 @@ export namespace EntityTypeUpsertParams {
|
|
|
211
225
|
* The display name for the entity type
|
|
212
226
|
*/
|
|
213
227
|
displayName: string;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* What this entity type represents and what it is for governing. Omit to preserve
|
|
231
|
+
* the stored value, or send an empty string or null to clear it.
|
|
232
|
+
*/
|
|
233
|
+
description?: string | null;
|
|
214
234
|
}
|
|
215
235
|
}
|
|
216
236
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-beta.
|
|
1
|
+
export const VERSION = '0.1.0-beta.52'; // 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.52";
|
|
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.52";
|
|
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.52'; // 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.52'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|