@tryvital/vital-node 3.1.106 → 3.1.107
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/api/resources/activity/client/Client.js +2 -2
- package/api/resources/aggregate/client/Client.js +1 -1
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +2 -2
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.js +34 -34
- package/api/resources/link/client/Client.d.ts +2 -2
- package/api/resources/link/client/Client.js +16 -16
- package/api/resources/link/client/requests/LinkTokenValidationRequest.d.ts +12 -0
- package/api/resources/link/client/requests/index.d.ts +1 -1
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/sleepCycle/client/Client.js +1 -1
- package/api/resources/team/client/Client.js +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +16 -16
- package/api/resources/vitals/client/Client.js +56 -56
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/index.d.ts +0 -1
- package/api/types/index.js +0 -1
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.js +1 -1
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/insurance/client/Client.js +2 -2
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.js +34 -34
- package/dist/api/resources/link/client/Client.d.ts +2 -2
- package/dist/api/resources/link/client/Client.js +16 -16
- package/dist/api/resources/link/client/requests/LinkTokenValidationRequest.d.ts +12 -0
- package/dist/api/resources/link/client/requests/index.d.ts +1 -1
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/sleepCycle/client/Client.js +1 -1
- package/dist/api/resources/team/client/Client.js +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +16 -16
- package/dist/api/resources/vitals/client/Client.js +56 -56
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/index.d.ts +0 -1
- package/dist/api/types/index.js +0 -1
- package/dist/serialization/resources/link/client/requests/LinkTokenValidationRequest.d.ts +12 -0
- package/dist/serialization/resources/link/client/requests/{LinkTokenBase.js → LinkTokenValidationRequest.js} +2 -6
- package/dist/serialization/resources/link/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/link/client/requests/index.js +3 -3
- package/dist/serialization/types/index.d.ts +0 -1
- package/dist/serialization/types/index.js +0 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1 -1
- package/serialization/resources/link/client/requests/LinkTokenValidationRequest.d.ts +12 -0
- package/serialization/resources/link/client/requests/{LinkTokenBase.js → LinkTokenValidationRequest.js} +2 -6
- package/serialization/resources/link/client/requests/index.d.ts +1 -1
- package/serialization/resources/link/client/requests/index.js +3 -3
- package/serialization/types/index.d.ts +0 -1
- package/serialization/types/index.js +0 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/link/client/requests/LinkTokenBase.d.ts +0 -16
- package/api/types/LinkRequirements.d.ts +0 -9
- package/dist/api/resources/link/client/requests/LinkTokenBase.d.ts +0 -16
- package/dist/api/resources/link/client/requests/LinkTokenBase.js +0 -5
- package/dist/api/types/LinkRequirements.d.ts +0 -9
- package/dist/api/types/LinkRequirements.js +0 -5
- package/dist/serialization/resources/link/client/requests/LinkTokenBase.d.ts +0 -16
- package/dist/serialization/types/LinkRequirements.d.ts +0 -15
- package/dist/serialization/types/LinkRequirements.js +0 -36
- package/serialization/resources/link/client/requests/LinkTokenBase.d.ts +0 -16
- package/serialization/types/LinkRequirements.d.ts +0 -15
- package/serialization/types/LinkRequirements.js +0 -36
- /package/api/resources/link/client/requests/{LinkTokenBase.js → LinkTokenValidationRequest.js} +0 -0
- /package/{api/types/LinkRequirements.js → dist/api/resources/link/client/requests/LinkTokenValidationRequest.js} +0 -0
@@ -200,7 +200,6 @@ export * from "./LabTestStatus";
|
|
200
200
|
export * from "./Labs";
|
201
201
|
export * from "./LastAttempt";
|
202
202
|
export * from "./LibreConfig";
|
203
|
-
export * from "./LinkRequirements";
|
204
203
|
export * from "./LinkTokenExchangeResponse";
|
205
204
|
export * from "./LngLat";
|
206
205
|
export * from "./Macros";
|
package/dist/api/types/index.js
CHANGED
@@ -216,7 +216,6 @@ __exportStar(require("./LabTestStatus"), exports);
|
|
216
216
|
__exportStar(require("./Labs"), exports);
|
217
217
|
__exportStar(require("./LastAttempt"), exports);
|
218
218
|
__exportStar(require("./LibreConfig"), exports);
|
219
|
-
__exportStar(require("./LinkRequirements"), exports);
|
220
219
|
__exportStar(require("./LinkTokenExchangeResponse"), exports);
|
221
220
|
__exportStar(require("./LngLat"), exports);
|
222
221
|
__exportStar(require("./Macros"), exports);
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../index";
|
5
|
+
import * as Vital from "../../../../../api/index";
|
6
|
+
import * as core from "../../../../../core";
|
7
|
+
export declare const LinkTokenValidationRequest: core.serialization.Schema<serializers.LinkTokenValidationRequest.Raw, Vital.LinkTokenValidationRequest>;
|
8
|
+
export declare namespace LinkTokenValidationRequest {
|
9
|
+
interface Raw {
|
10
|
+
token: string;
|
11
|
+
}
|
12
|
+
}
|
@@ -26,12 +26,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
26
|
return result;
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.LinkTokenValidationRequest = void 0;
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
31
|
-
|
32
|
-
exports.LinkTokenBase = core.serialization.object({
|
31
|
+
exports.LinkTokenValidationRequest = core.serialization.object({
|
33
32
|
token: core.serialization.string(),
|
34
|
-
isUsed: core.serialization.property("is_used", core.serialization.boolean().optional()),
|
35
|
-
oauthInfo: core.serialization.property("oauth_info", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
36
|
-
requirements: LinkRequirements_1.LinkRequirements.optional(),
|
37
33
|
});
|
@@ -1,5 +1,5 @@
|
|
1
1
|
export { LinkTokenExchange } from "./LinkTokenExchange";
|
2
|
-
export {
|
2
|
+
export { LinkTokenValidationRequest } from "./LinkTokenValidationRequest";
|
3
3
|
export { BeginLinkTokenRequest } from "./BeginLinkTokenRequest";
|
4
4
|
export { EmailAuthLink } from "./EmailAuthLink";
|
5
5
|
export { PasswordAuthLink } from "./PasswordAuthLink";
|
@@ -1,10 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DemoConnectionCreationPayload = exports.ManualConnectionData = exports.EmailProviderAuthLink = exports.CompletePasswordProviderMfaBody = exports.IndividualProviderData = exports.PasswordAuthLink = exports.EmailAuthLink = exports.BeginLinkTokenRequest = exports.
|
3
|
+
exports.DemoConnectionCreationPayload = exports.ManualConnectionData = exports.EmailProviderAuthLink = exports.CompletePasswordProviderMfaBody = exports.IndividualProviderData = exports.PasswordAuthLink = exports.EmailAuthLink = exports.BeginLinkTokenRequest = exports.LinkTokenValidationRequest = exports.LinkTokenExchange = void 0;
|
4
4
|
var LinkTokenExchange_1 = require("./LinkTokenExchange");
|
5
5
|
Object.defineProperty(exports, "LinkTokenExchange", { enumerable: true, get: function () { return LinkTokenExchange_1.LinkTokenExchange; } });
|
6
|
-
var
|
7
|
-
Object.defineProperty(exports, "
|
6
|
+
var LinkTokenValidationRequest_1 = require("./LinkTokenValidationRequest");
|
7
|
+
Object.defineProperty(exports, "LinkTokenValidationRequest", { enumerable: true, get: function () { return LinkTokenValidationRequest_1.LinkTokenValidationRequest; } });
|
8
8
|
var BeginLinkTokenRequest_1 = require("./BeginLinkTokenRequest");
|
9
9
|
Object.defineProperty(exports, "BeginLinkTokenRequest", { enumerable: true, get: function () { return BeginLinkTokenRequest_1.BeginLinkTokenRequest; } });
|
10
10
|
var EmailAuthLink_1 = require("./EmailAuthLink");
|
@@ -200,7 +200,6 @@ export * from "./LabTestStatus";
|
|
200
200
|
export * from "./Labs";
|
201
201
|
export * from "./LastAttempt";
|
202
202
|
export * from "./LibreConfig";
|
203
|
-
export * from "./LinkRequirements";
|
204
203
|
export * from "./LinkTokenExchangeResponse";
|
205
204
|
export * from "./LngLat";
|
206
205
|
export * from "./Macros";
|
@@ -216,7 +216,6 @@ __exportStar(require("./LabTestStatus"), exports);
|
|
216
216
|
__exportStar(require("./Labs"), exports);
|
217
217
|
__exportStar(require("./LastAttempt"), exports);
|
218
218
|
__exportStar(require("./LibreConfig"), exports);
|
219
|
-
__exportStar(require("./LinkRequirements"), exports);
|
220
219
|
__exportStar(require("./LinkTokenExchangeResponse"), exports);
|
221
220
|
__exportStar(require("./LngLat"), exports);
|
222
221
|
__exportStar(require("./Macros"), exports);
|
package/dist/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.107";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
@@ -0,0 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../index";
|
5
|
+
import * as Vital from "../../../../../api/index";
|
6
|
+
import * as core from "../../../../../core";
|
7
|
+
export declare const LinkTokenValidationRequest: core.serialization.Schema<serializers.LinkTokenValidationRequest.Raw, Vital.LinkTokenValidationRequest>;
|
8
|
+
export declare namespace LinkTokenValidationRequest {
|
9
|
+
interface Raw {
|
10
|
+
token: string;
|
11
|
+
}
|
12
|
+
}
|
@@ -26,12 +26,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
26
|
return result;
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.LinkTokenValidationRequest = void 0;
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
31
|
-
|
32
|
-
exports.LinkTokenBase = core.serialization.object({
|
31
|
+
exports.LinkTokenValidationRequest = core.serialization.object({
|
33
32
|
token: core.serialization.string(),
|
34
|
-
isUsed: core.serialization.property("is_used", core.serialization.boolean().optional()),
|
35
|
-
oauthInfo: core.serialization.property("oauth_info", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
36
|
-
requirements: LinkRequirements_1.LinkRequirements.optional(),
|
37
33
|
});
|
@@ -1,5 +1,5 @@
|
|
1
1
|
export { LinkTokenExchange } from "./LinkTokenExchange";
|
2
|
-
export {
|
2
|
+
export { LinkTokenValidationRequest } from "./LinkTokenValidationRequest";
|
3
3
|
export { BeginLinkTokenRequest } from "./BeginLinkTokenRequest";
|
4
4
|
export { EmailAuthLink } from "./EmailAuthLink";
|
5
5
|
export { PasswordAuthLink } from "./PasswordAuthLink";
|
@@ -1,10 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DemoConnectionCreationPayload = exports.ManualConnectionData = exports.EmailProviderAuthLink = exports.CompletePasswordProviderMfaBody = exports.IndividualProviderData = exports.PasswordAuthLink = exports.EmailAuthLink = exports.BeginLinkTokenRequest = exports.
|
3
|
+
exports.DemoConnectionCreationPayload = exports.ManualConnectionData = exports.EmailProviderAuthLink = exports.CompletePasswordProviderMfaBody = exports.IndividualProviderData = exports.PasswordAuthLink = exports.EmailAuthLink = exports.BeginLinkTokenRequest = exports.LinkTokenValidationRequest = exports.LinkTokenExchange = void 0;
|
4
4
|
var LinkTokenExchange_1 = require("./LinkTokenExchange");
|
5
5
|
Object.defineProperty(exports, "LinkTokenExchange", { enumerable: true, get: function () { return LinkTokenExchange_1.LinkTokenExchange; } });
|
6
|
-
var
|
7
|
-
Object.defineProperty(exports, "
|
6
|
+
var LinkTokenValidationRequest_1 = require("./LinkTokenValidationRequest");
|
7
|
+
Object.defineProperty(exports, "LinkTokenValidationRequest", { enumerable: true, get: function () { return LinkTokenValidationRequest_1.LinkTokenValidationRequest; } });
|
8
8
|
var BeginLinkTokenRequest_1 = require("./BeginLinkTokenRequest");
|
9
9
|
Object.defineProperty(exports, "BeginLinkTokenRequest", { enumerable: true, get: function () { return BeginLinkTokenRequest_1.BeginLinkTokenRequest; } });
|
10
10
|
var EmailAuthLink_1 = require("./EmailAuthLink");
|
@@ -200,7 +200,6 @@ export * from "./LabTestStatus";
|
|
200
200
|
export * from "./Labs";
|
201
201
|
export * from "./LastAttempt";
|
202
202
|
export * from "./LibreConfig";
|
203
|
-
export * from "./LinkRequirements";
|
204
203
|
export * from "./LinkTokenExchangeResponse";
|
205
204
|
export * from "./LngLat";
|
206
205
|
export * from "./Macros";
|
@@ -216,7 +216,6 @@ __exportStar(require("./LabTestStatus"), exports);
|
|
216
216
|
__exportStar(require("./Labs"), exports);
|
217
217
|
__exportStar(require("./LastAttempt"), exports);
|
218
218
|
__exportStar(require("./LibreConfig"), exports);
|
219
|
-
__exportStar(require("./LinkRequirements"), exports);
|
220
219
|
__exportStar(require("./LinkTokenExchangeResponse"), exports);
|
221
220
|
__exportStar(require("./LngLat"), exports);
|
222
221
|
__exportStar(require("./Macros"), exports);
|
package/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.107";
|
package/version.js
CHANGED
@@ -1,16 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as Vital from "../../../../index";
|
5
|
-
/**
|
6
|
-
* @example
|
7
|
-
* {
|
8
|
-
* token: "token"
|
9
|
-
* }
|
10
|
-
*/
|
11
|
-
export interface LinkTokenBase {
|
12
|
-
token: string;
|
13
|
-
isUsed?: boolean;
|
14
|
-
oauthInfo?: Record<string, unknown>;
|
15
|
-
requirements?: Vital.LinkRequirements;
|
16
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as Vital from "../../../../index";
|
5
|
-
/**
|
6
|
-
* @example
|
7
|
-
* {
|
8
|
-
* token: "token"
|
9
|
-
* }
|
10
|
-
*/
|
11
|
-
export interface LinkTokenBase {
|
12
|
-
token: string;
|
13
|
-
isUsed?: boolean;
|
14
|
-
oauthInfo?: Record<string, unknown>;
|
15
|
-
requirements?: Vital.LinkRequirements;
|
16
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../../../../index";
|
5
|
-
import * as Vital from "../../../../../api/index";
|
6
|
-
import * as core from "../../../../../core";
|
7
|
-
import { LinkRequirements } from "../../../../types/LinkRequirements";
|
8
|
-
export declare const LinkTokenBase: core.serialization.Schema<serializers.LinkTokenBase.Raw, Vital.LinkTokenBase>;
|
9
|
-
export declare namespace LinkTokenBase {
|
10
|
-
interface Raw {
|
11
|
-
token: string;
|
12
|
-
is_used?: boolean | null;
|
13
|
-
oauth_info?: Record<string, unknown> | null;
|
14
|
-
requirements?: LinkRequirements.Raw | null;
|
15
|
-
}
|
16
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Vital from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
import { Providers } from "./Providers";
|
8
|
-
export declare const LinkRequirements: core.serialization.ObjectSchema<serializers.LinkRequirements.Raw, Vital.LinkRequirements>;
|
9
|
-
export declare namespace LinkRequirements {
|
10
|
-
interface Raw {
|
11
|
-
provider?: Providers.Raw | null;
|
12
|
-
provider_allowlist?: Providers.Raw[] | null;
|
13
|
-
redirect_url?: string | null;
|
14
|
-
}
|
15
|
-
}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
-
}
|
11
|
-
Object.defineProperty(o, k2, desc);
|
12
|
-
}) : (function(o, m, k, k2) {
|
13
|
-
if (k2 === undefined) k2 = k;
|
14
|
-
o[k2] = m[k];
|
15
|
-
}));
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
-
}) : function(o, v) {
|
19
|
-
o["default"] = v;
|
20
|
-
});
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
-
if (mod && mod.__esModule) return mod;
|
23
|
-
var result = {};
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
-
__setModuleDefault(result, mod);
|
26
|
-
return result;
|
27
|
-
};
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.LinkRequirements = void 0;
|
30
|
-
const core = __importStar(require("../../core"));
|
31
|
-
const Providers_1 = require("./Providers");
|
32
|
-
exports.LinkRequirements = core.serialization.object({
|
33
|
-
provider: Providers_1.Providers.optional(),
|
34
|
-
providerAllowlist: core.serialization.property("provider_allowlist", core.serialization.list(Providers_1.Providers).optional()),
|
35
|
-
redirectUrl: core.serialization.property("redirect_url", core.serialization.string().optional()),
|
36
|
-
});
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../../../../index";
|
5
|
-
import * as Vital from "../../../../../api/index";
|
6
|
-
import * as core from "../../../../../core";
|
7
|
-
import { LinkRequirements } from "../../../../types/LinkRequirements";
|
8
|
-
export declare const LinkTokenBase: core.serialization.Schema<serializers.LinkTokenBase.Raw, Vital.LinkTokenBase>;
|
9
|
-
export declare namespace LinkTokenBase {
|
10
|
-
interface Raw {
|
11
|
-
token: string;
|
12
|
-
is_used?: boolean | null;
|
13
|
-
oauth_info?: Record<string, unknown> | null;
|
14
|
-
requirements?: LinkRequirements.Raw | null;
|
15
|
-
}
|
16
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Vital from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
import { Providers } from "./Providers";
|
8
|
-
export declare const LinkRequirements: core.serialization.ObjectSchema<serializers.LinkRequirements.Raw, Vital.LinkRequirements>;
|
9
|
-
export declare namespace LinkRequirements {
|
10
|
-
interface Raw {
|
11
|
-
provider?: Providers.Raw | null;
|
12
|
-
provider_allowlist?: Providers.Raw[] | null;
|
13
|
-
redirect_url?: string | null;
|
14
|
-
}
|
15
|
-
}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
-
}
|
11
|
-
Object.defineProperty(o, k2, desc);
|
12
|
-
}) : (function(o, m, k, k2) {
|
13
|
-
if (k2 === undefined) k2 = k;
|
14
|
-
o[k2] = m[k];
|
15
|
-
}));
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
-
}) : function(o, v) {
|
19
|
-
o["default"] = v;
|
20
|
-
});
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
-
if (mod && mod.__esModule) return mod;
|
23
|
-
var result = {};
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
-
__setModuleDefault(result, mod);
|
26
|
-
return result;
|
27
|
-
};
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.LinkRequirements = void 0;
|
30
|
-
const core = __importStar(require("../../core"));
|
31
|
-
const Providers_1 = require("./Providers");
|
32
|
-
exports.LinkRequirements = core.serialization.object({
|
33
|
-
provider: Providers_1.Providers.optional(),
|
34
|
-
providerAllowlist: core.serialization.property("provider_allowlist", core.serialization.list(Providers_1.Providers).optional()),
|
35
|
-
redirectUrl: core.serialization.property("redirect_url", core.serialization.string().optional()),
|
36
|
-
});
|
/package/api/resources/link/client/requests/{LinkTokenBase.js → LinkTokenValidationRequest.js}
RENAMED
File without changes
|
File without changes
|