@uniformdev/mesh-sdk 20.50.2-alpha.117 → 20.50.2-alpha.149

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/dist/index.d.mts CHANGED
@@ -78,7 +78,7 @@ interface paths$2 {
78
78
  };
79
79
  get?: never;
80
80
  put?: never;
81
- /** @description Mints or rotates the credential for an integration definition. Atomic: a successful response invalidates any previously-issued secret of the same kind. The plaintext secret is returned in the response body and must be persisted by the caller — Uniform stores only a hash. Response is `Cache-Control: no-store`. */
81
+ /** @description Mints or rotates the credential for an integration definition. Atomic: a successful response invalidates any previously-issued secret of the same kind. The plaintext secret is returned in the response body and cannot be retrieved later. */
82
82
  post: {
83
83
  parameters: {
84
84
  query?: never;
@@ -108,7 +108,7 @@ interface paths$2 {
108
108
  };
109
109
  };
110
110
  responses: {
111
- /** @description Credential minted or rotated. Plaintext secret is returned exactly once. */
111
+ /** @description Credential minted or rotated. */
112
112
  200: {
113
113
  headers: {
114
114
  [name: string]: unknown;
@@ -2440,6 +2440,16 @@ type MeshLocationUserPermissions =
2440
2440
  | 'ENTRIES_MANAGE_SCHEMA'
2441
2441
  /** Uniform Canvas:AI Prompts:Manage|Create, update, and delete AI prompts */
2442
2442
  | 'PROMPTS_MANAGE_SCHEMA'
2443
+ /** Uniform Canvas:Labels:Create */
2444
+ | 'LABELS_CREATE'
2445
+ /** Uniform Canvas:Labels:Update */
2446
+ | 'LABELS_UPDATE'
2447
+ /** Uniform Canvas:Labels:Delete */
2448
+ | 'LABELS_DELETE'
2449
+ /** Uniform Automations:Manage|Create, update, delete, and toggle automations. */
2450
+ | 'AUTOMATIONS_MANAGE'
2451
+ /** Uniform Canvas:Workflows:Manage|Create, update, and delete workflow definitions. */
2452
+ | 'WORKFLOWS_MANAGE'
2443
2453
  /** UTM Mapper:Read|Read UTM mapper configuration */
2444
2454
  | 'UTM_MAPPER_READ'
2445
2455
  /** UTM Mapper:Read|Create, update and delete UTM mapper configuration */
@@ -2949,7 +2959,7 @@ interface UniformMeshSDK {
2949
2959
  * Returns `undefined` when the integration does not have `identityDelegation` enabled.
2950
2960
  * Call this on demand — the token has a very short TTL (~10 s) and should be
2951
2961
  * consumed immediately by your backend to exchange for a delegation token
2952
- * via `POST /api/v1/token` with `grant_type=delegation_token` or DelegationTokenClient.
2962
+ * via `POST /api/v1/token` with `grantType=delegation_token` or DelegationTokenClient.
2953
2963
  *
2954
2964
  * @deprecated This beta identity delegation API may change with breaking changes.
2955
2965
  */
package/dist/index.d.ts CHANGED
@@ -78,7 +78,7 @@ interface paths$2 {
78
78
  };
79
79
  get?: never;
80
80
  put?: never;
81
- /** @description Mints or rotates the credential for an integration definition. Atomic: a successful response invalidates any previously-issued secret of the same kind. The plaintext secret is returned in the response body and must be persisted by the caller — Uniform stores only a hash. Response is `Cache-Control: no-store`. */
81
+ /** @description Mints or rotates the credential for an integration definition. Atomic: a successful response invalidates any previously-issued secret of the same kind. The plaintext secret is returned in the response body and cannot be retrieved later. */
82
82
  post: {
83
83
  parameters: {
84
84
  query?: never;
@@ -108,7 +108,7 @@ interface paths$2 {
108
108
  };
109
109
  };
110
110
  responses: {
111
- /** @description Credential minted or rotated. Plaintext secret is returned exactly once. */
111
+ /** @description Credential minted or rotated. */
112
112
  200: {
113
113
  headers: {
114
114
  [name: string]: unknown;
@@ -2440,6 +2440,16 @@ type MeshLocationUserPermissions =
2440
2440
  | 'ENTRIES_MANAGE_SCHEMA'
2441
2441
  /** Uniform Canvas:AI Prompts:Manage|Create, update, and delete AI prompts */
2442
2442
  | 'PROMPTS_MANAGE_SCHEMA'
2443
+ /** Uniform Canvas:Labels:Create */
2444
+ | 'LABELS_CREATE'
2445
+ /** Uniform Canvas:Labels:Update */
2446
+ | 'LABELS_UPDATE'
2447
+ /** Uniform Canvas:Labels:Delete */
2448
+ | 'LABELS_DELETE'
2449
+ /** Uniform Automations:Manage|Create, update, delete, and toggle automations. */
2450
+ | 'AUTOMATIONS_MANAGE'
2451
+ /** Uniform Canvas:Workflows:Manage|Create, update, and delete workflow definitions. */
2452
+ | 'WORKFLOWS_MANAGE'
2443
2453
  /** UTM Mapper:Read|Read UTM mapper configuration */
2444
2454
  | 'UTM_MAPPER_READ'
2445
2455
  /** UTM Mapper:Read|Create, update and delete UTM mapper configuration */
@@ -2949,7 +2959,7 @@ interface UniformMeshSDK {
2949
2959
  * Returns `undefined` when the integration does not have `identityDelegation` enabled.
2950
2960
  * Call this on demand — the token has a very short TTL (~10 s) and should be
2951
2961
  * consumed immediately by your backend to exchange for a delegation token
2952
- * via `POST /api/v1/token` with `grant_type=delegation_token` or DelegationTokenClient.
2962
+ * via `POST /api/v1/token` with `grantType=delegation_token` or DelegationTokenClient.
2953
2963
  *
2954
2964
  * @deprecated This beta identity delegation API may change with breaking changes.
2955
2965
  */
package/dist/index.esm.js CHANGED
@@ -65,7 +65,7 @@ var DelegationTokenClient = class {
65
65
  */
66
66
  async exchangeSessionToken(sessionToken) {
67
67
  return __privateMethod(this, _DelegationTokenClient_instances, post_fn).call(this, {
68
- grant_type: "delegation_token",
68
+ grantType: "delegation_token",
69
69
  sessionToken,
70
70
  integrationId: __privateGet(this, _options).integrationId,
71
71
  integrationSecret: __privateGet(this, _options).integrationSecret
@@ -84,7 +84,7 @@ var DelegationTokenClient = class {
84
84
  */
85
85
  async refreshDelegationToken(refreshToken) {
86
86
  return __privateMethod(this, _DelegationTokenClient_instances, post_fn).call(this, {
87
- grant_type: "refresh_token",
87
+ grantType: "refresh_token",
88
88
  refreshToken,
89
89
  integrationId: __privateGet(this, _options).integrationId,
90
90
  integrationSecret: __privateGet(this, _options).integrationSecret
@@ -261,7 +261,7 @@ var getLogger = (prefix, debug) => {
261
261
  };
262
262
 
263
263
  // src/temp/version.ts
264
- var UNIFORM_MESH_SDK_VERSION = "20.66.6";
264
+ var UNIFORM_MESH_SDK_VERSION = "20.68.0";
265
265
 
266
266
  // src/framepost/constants.ts
267
267
  var DEFAULT_REQUEST_TIMEOUT = 5e3;
package/dist/index.js CHANGED
@@ -108,7 +108,7 @@ var DelegationTokenClient = class {
108
108
  */
109
109
  async exchangeSessionToken(sessionToken) {
110
110
  return __privateMethod(this, _DelegationTokenClient_instances, post_fn).call(this, {
111
- grant_type: "delegation_token",
111
+ grantType: "delegation_token",
112
112
  sessionToken,
113
113
  integrationId: __privateGet(this, _options).integrationId,
114
114
  integrationSecret: __privateGet(this, _options).integrationSecret
@@ -127,7 +127,7 @@ var DelegationTokenClient = class {
127
127
  */
128
128
  async refreshDelegationToken(refreshToken) {
129
129
  return __privateMethod(this, _DelegationTokenClient_instances, post_fn).call(this, {
130
- grant_type: "refresh_token",
130
+ grantType: "refresh_token",
131
131
  refreshToken,
132
132
  integrationId: __privateGet(this, _options).integrationId,
133
133
  integrationSecret: __privateGet(this, _options).integrationSecret
@@ -304,7 +304,7 @@ var getLogger = (prefix, debug) => {
304
304
  };
305
305
 
306
306
  // src/temp/version.ts
307
- var UNIFORM_MESH_SDK_VERSION = "20.66.6";
307
+ var UNIFORM_MESH_SDK_VERSION = "20.68.0";
308
308
 
309
309
  // src/framepost/constants.ts
310
310
  var DEFAULT_REQUEST_TIMEOUT = 5e3;
package/dist/index.mjs CHANGED
@@ -65,7 +65,7 @@ var DelegationTokenClient = class {
65
65
  */
66
66
  async exchangeSessionToken(sessionToken) {
67
67
  return __privateMethod(this, _DelegationTokenClient_instances, post_fn).call(this, {
68
- grant_type: "delegation_token",
68
+ grantType: "delegation_token",
69
69
  sessionToken,
70
70
  integrationId: __privateGet(this, _options).integrationId,
71
71
  integrationSecret: __privateGet(this, _options).integrationSecret
@@ -84,7 +84,7 @@ var DelegationTokenClient = class {
84
84
  */
85
85
  async refreshDelegationToken(refreshToken) {
86
86
  return __privateMethod(this, _DelegationTokenClient_instances, post_fn).call(this, {
87
- grant_type: "refresh_token",
87
+ grantType: "refresh_token",
88
88
  refreshToken,
89
89
  integrationId: __privateGet(this, _options).integrationId,
90
90
  integrationSecret: __privateGet(this, _options).integrationSecret
@@ -261,7 +261,7 @@ var getLogger = (prefix, debug) => {
261
261
  };
262
262
 
263
263
  // src/temp/version.ts
264
- var UNIFORM_MESH_SDK_VERSION = "20.66.6";
264
+ var UNIFORM_MESH_SDK_VERSION = "20.68.0";
265
265
 
266
266
  // src/framepost/constants.ts
267
267
  var DEFAULT_REQUEST_TIMEOUT = 5e3;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk",
3
- "version": "20.50.2-alpha.117+4eb2f1aa44",
3
+ "version": "20.50.2-alpha.149+913f0b7b57",
4
4
  "description": "Uniform Mesh Framework SDK",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -33,10 +33,10 @@
33
33
  "access": "public"
34
34
  },
35
35
  "dependencies": {
36
- "@uniformdev/assets": "20.50.2-alpha.117+4eb2f1aa44",
37
- "@uniformdev/canvas": "20.50.2-alpha.117+4eb2f1aa44",
38
- "@uniformdev/context": "20.50.2-alpha.117+4eb2f1aa44",
39
- "@uniformdev/project-map": "20.50.2-alpha.117+4eb2f1aa44",
36
+ "@uniformdev/assets": "20.50.2-alpha.149+913f0b7b57",
37
+ "@uniformdev/canvas": "20.50.2-alpha.149+913f0b7b57",
38
+ "@uniformdev/context": "20.50.2-alpha.149+913f0b7b57",
39
+ "@uniformdev/project-map": "20.50.2-alpha.149+913f0b7b57",
40
40
  "imagesloaded": "^5.0.0",
41
41
  "mitt": "^3.0.1"
42
42
  },
@@ -44,5 +44,5 @@
44
44
  "@types/imagesloaded": "^4.1.2",
45
45
  "openai": "4.94.0"
46
46
  },
47
- "gitHead": "4eb2f1aa443ff87c7f365c70c1cf221f3ec07a78"
47
+ "gitHead": "913f0b7b57295ca79575810663c56a7a5deea9e4"
48
48
  }