@schematichq/schematic-typescript-node 1.1.12 → 1.1.13

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.
@@ -6,9 +6,11 @@
6
6
  * {
7
7
  * lookup: {
8
8
  * "key": "value"
9
- * }
9
+ * },
10
+ * resourceType: "resource_type"
10
11
  * }
11
12
  */
12
13
  export interface IssueTemporaryAccessTokenRequestBody {
13
14
  lookup: Record<string, string>;
15
+ resourceType: string;
14
16
  }
@@ -6,9 +6,11 @@
6
6
  * {
7
7
  * lookup: {
8
8
  * "key": "value"
9
- * }
9
+ * },
10
+ * resourceType: "resource_type"
10
11
  * }
11
12
  */
12
13
  export interface IssueTemporaryAccessTokenRequestBody {
13
14
  lookup: Record<string, string>;
15
+ resourceType: string;
14
16
  }
@@ -8,5 +8,6 @@ export declare const IssueTemporaryAccessTokenRequestBody: core.serialization.Sc
8
8
  export declare namespace IssueTemporaryAccessTokenRequestBody {
9
9
  interface Raw {
10
10
  lookup: Record<string, string>;
11
+ resource_type: string;
11
12
  }
12
13
  }
@@ -40,4 +40,5 @@ exports.IssueTemporaryAccessTokenRequestBody = void 0;
40
40
  const core = __importStar(require("../../../../../core"));
41
41
  exports.IssueTemporaryAccessTokenRequestBody = core.serialization.object({
42
42
  lookup: core.serialization.record(core.serialization.string(), core.serialization.string()),
43
+ resourceType: core.serialization.property("resource_type", core.serialization.string()),
43
44
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schematichq/schematic-typescript-node",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "private": false,
5
5
  "repository": "https://github.com/schematichq/schematic-node",
6
6
  "main": "./index.js",
@@ -8,5 +8,6 @@ export declare const IssueTemporaryAccessTokenRequestBody: core.serialization.Sc
8
8
  export declare namespace IssueTemporaryAccessTokenRequestBody {
9
9
  interface Raw {
10
10
  lookup: Record<string, string>;
11
+ resource_type: string;
11
12
  }
12
13
  }
@@ -40,4 +40,5 @@ exports.IssueTemporaryAccessTokenRequestBody = void 0;
40
40
  const core = __importStar(require("../../../../../core"));
41
41
  exports.IssueTemporaryAccessTokenRequestBody = core.serialization.object({
42
42
  lookup: core.serialization.record(core.serialization.string(), core.serialization.string()),
43
+ resourceType: core.serialization.property("resource_type", core.serialization.string()),
43
44
  });