@thera-hr/api-sdk 0.0.1-prerelease2640-staging → 0.0.1-prerelease2642-dev-3
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/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +31 -31
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/index.d.ts +0 -2
- package/api/resources/db/resources/index.js +1 -3
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +31 -31
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/index.d.ts +0 -2
- package/dist/api/resources/db/resources/index.js +1 -3
- package/dist/serialization/resources/db/resources/index.d.ts +0 -2
- package/dist/serialization/resources/db/resources/index.js +1 -3
- package/package.json +1 -1
- package/serialization/resources/db/resources/index.d.ts +0 -2
- package/serialization/resources/db/resources/index.js +1 -3
- package/api/resources/db/resources/migrations/index.d.ts +0 -1
- package/api/resources/db/resources/migrations/index.js +0 -17
- package/api/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.d.ts +0 -7
- package/api/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.js +0 -5
- package/api/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +0 -10
- package/api/resources/db/resources/migrations/types/LedgerMigrationMetadata.js +0 -5
- package/api/resources/db/resources/migrations/types/LedgerMigrationType.d.ts +0 -8
- package/api/resources/db/resources/migrations/types/LedgerMigrationType.js +0 -10
- package/api/resources/db/resources/migrations/types/MigrationLog.d.ts +0 -12
- package/api/resources/db/resources/migrations/types/MigrationLog.js +0 -5
- package/api/resources/db/resources/migrations/types/MigrationMetadata.d.ts +0 -10
- package/api/resources/db/resources/migrations/types/MigrationMetadata.js +0 -5
- package/api/resources/db/resources/migrations/types/MigrationStatus.d.ts +0 -8
- package/api/resources/db/resources/migrations/types/MigrationStatus.js +0 -10
- package/api/resources/db/resources/migrations/types/MigrationType.d.ts +0 -7
- package/api/resources/db/resources/migrations/types/MigrationType.js +0 -9
- package/api/resources/db/resources/migrations/types/index.d.ts +0 -7
- package/api/resources/db/resources/migrations/types/index.js +0 -23
- package/dist/api/resources/db/resources/migrations/index.d.ts +0 -1
- package/dist/api/resources/db/resources/migrations/index.js +0 -17
- package/dist/api/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.d.ts +0 -7
- package/dist/api/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.js +0 -5
- package/dist/api/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +0 -10
- package/dist/api/resources/db/resources/migrations/types/LedgerMigrationMetadata.js +0 -5
- package/dist/api/resources/db/resources/migrations/types/LedgerMigrationType.d.ts +0 -8
- package/dist/api/resources/db/resources/migrations/types/LedgerMigrationType.js +0 -10
- package/dist/api/resources/db/resources/migrations/types/MigrationLog.d.ts +0 -12
- package/dist/api/resources/db/resources/migrations/types/MigrationLog.js +0 -5
- package/dist/api/resources/db/resources/migrations/types/MigrationMetadata.d.ts +0 -10
- package/dist/api/resources/db/resources/migrations/types/MigrationMetadata.js +0 -5
- package/dist/api/resources/db/resources/migrations/types/MigrationStatus.d.ts +0 -8
- package/dist/api/resources/db/resources/migrations/types/MigrationStatus.js +0 -10
- package/dist/api/resources/db/resources/migrations/types/MigrationType.d.ts +0 -7
- package/dist/api/resources/db/resources/migrations/types/MigrationType.js +0 -9
- package/dist/api/resources/db/resources/migrations/types/index.d.ts +0 -7
- package/dist/api/resources/db/resources/migrations/types/index.js +0 -23
- package/dist/serialization/resources/db/resources/migrations/index.d.ts +0 -1
- package/dist/serialization/resources/db/resources/migrations/index.js +0 -17
- package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.d.ts +0 -13
- package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.js +0 -34
- package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +0 -17
- package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.js +0 -38
- package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationType.d.ts +0 -10
- package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationType.js +0 -31
- package/dist/serialization/resources/db/resources/migrations/types/MigrationLog.d.ts +0 -20
- package/dist/serialization/resources/db/resources/migrations/types/MigrationLog.js +0 -41
- package/dist/serialization/resources/db/resources/migrations/types/MigrationMetadata.d.ts +0 -14
- package/dist/serialization/resources/db/resources/migrations/types/MigrationMetadata.js +0 -39
- package/dist/serialization/resources/db/resources/migrations/types/MigrationStatus.d.ts +0 -10
- package/dist/serialization/resources/db/resources/migrations/types/MigrationStatus.js +0 -31
- package/dist/serialization/resources/db/resources/migrations/types/MigrationType.d.ts +0 -10
- package/dist/serialization/resources/db/resources/migrations/types/MigrationType.js +0 -31
- package/dist/serialization/resources/db/resources/migrations/types/index.d.ts +0 -7
- package/dist/serialization/resources/db/resources/migrations/types/index.js +0 -23
- package/serialization/resources/db/resources/migrations/index.d.ts +0 -1
- package/serialization/resources/db/resources/migrations/index.js +0 -17
- package/serialization/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.d.ts +0 -13
- package/serialization/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.js +0 -34
- package/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +0 -17
- package/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.js +0 -38
- package/serialization/resources/db/resources/migrations/types/LedgerMigrationType.d.ts +0 -10
- package/serialization/resources/db/resources/migrations/types/LedgerMigrationType.js +0 -31
- package/serialization/resources/db/resources/migrations/types/MigrationLog.d.ts +0 -20
- package/serialization/resources/db/resources/migrations/types/MigrationLog.js +0 -41
- package/serialization/resources/db/resources/migrations/types/MigrationMetadata.d.ts +0 -14
- package/serialization/resources/db/resources/migrations/types/MigrationMetadata.js +0 -39
- package/serialization/resources/db/resources/migrations/types/MigrationStatus.d.ts +0 -10
- package/serialization/resources/db/resources/migrations/types/MigrationStatus.js +0 -31
- package/serialization/resources/db/resources/migrations/types/MigrationType.d.ts +0 -10
- package/serialization/resources/db/resources/migrations/types/MigrationType.js +0 -31
- package/serialization/resources/db/resources/migrations/types/index.d.ts +0 -7
- package/serialization/resources/db/resources/migrations/types/index.js +0 -23
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as TheraApi from "../../../../../index";
|
|
5
|
-
export interface LedgerMigrationMetadata {
|
|
6
|
-
ledgerMigrationType: TheraApi.db.LedgerMigrationType;
|
|
7
|
-
sourceLedgerTrxId: string[];
|
|
8
|
-
additionalData: Record<string, string>;
|
|
9
|
-
errorMetadata?: TheraApi.db.LedgerMigrationErrorMetadata;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export declare type LedgerMigrationType = "STRIPE_PAY_IN_V1_V2" | "WISE_PAY_OUT_V1_V2";
|
|
5
|
-
export declare const LedgerMigrationType: {
|
|
6
|
-
readonly StripePayInV1V2: "STRIPE_PAY_IN_V1_V2";
|
|
7
|
-
readonly WisePayOutV1V2: "WISE_PAY_OUT_V1_V2";
|
|
8
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.LedgerMigrationType = void 0;
|
|
7
|
-
exports.LedgerMigrationType = {
|
|
8
|
-
StripePayInV1V2: "STRIPE_PAY_IN_V1_V2",
|
|
9
|
-
WisePayOutV1V2: "WISE_PAY_OUT_V1_V2",
|
|
10
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as TheraApi from "../../../../../index";
|
|
5
|
-
export interface MigrationLog {
|
|
6
|
-
id: string;
|
|
7
|
-
runId: string;
|
|
8
|
-
createdAt: Date;
|
|
9
|
-
type: TheraApi.db.MigrationType;
|
|
10
|
-
status: TheraApi.db.MigrationStatus;
|
|
11
|
-
metadata: TheraApi.db.MigrationMetadata;
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as TheraApi from "../../../../../index";
|
|
5
|
-
export declare type MigrationMetadata = TheraApi.db.MigrationMetadata.LedgerMigration;
|
|
6
|
-
export declare namespace MigrationMetadata {
|
|
7
|
-
interface LedgerMigration extends TheraApi.db.LedgerMigrationMetadata {
|
|
8
|
-
type: "ledgerMigration";
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.MigrationStatus = void 0;
|
|
7
|
-
exports.MigrationStatus = {
|
|
8
|
-
Success: "SUCCESS",
|
|
9
|
-
Failure: "FAILURE",
|
|
10
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "./MigrationLog";
|
|
2
|
-
export * from "./MigrationType";
|
|
3
|
-
export * from "./MigrationStatus";
|
|
4
|
-
export * from "./MigrationMetadata";
|
|
5
|
-
export * from "./LedgerMigrationMetadata";
|
|
6
|
-
export * from "./LedgerMigrationType";
|
|
7
|
-
export * from "./LedgerMigrationErrorMetadata";
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./MigrationLog"), exports);
|
|
18
|
-
__exportStar(require("./MigrationType"), exports);
|
|
19
|
-
__exportStar(require("./MigrationStatus"), exports);
|
|
20
|
-
__exportStar(require("./MigrationMetadata"), exports);
|
|
21
|
-
__exportStar(require("./LedgerMigrationMetadata"), exports);
|
|
22
|
-
__exportStar(require("./LedgerMigrationType"), exports);
|
|
23
|
-
__exportStar(require("./LedgerMigrationErrorMetadata"), exports);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./types";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./types"), exports);
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as TheraApi from "../../../../../index";
|
|
5
|
-
export interface LedgerMigrationMetadata {
|
|
6
|
-
ledgerMigrationType: TheraApi.db.LedgerMigrationType;
|
|
7
|
-
sourceLedgerTrxId: string[];
|
|
8
|
-
additionalData: Record<string, string>;
|
|
9
|
-
errorMetadata?: TheraApi.db.LedgerMigrationErrorMetadata;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export declare type LedgerMigrationType = "STRIPE_PAY_IN_V1_V2" | "WISE_PAY_OUT_V1_V2";
|
|
5
|
-
export declare const LedgerMigrationType: {
|
|
6
|
-
readonly StripePayInV1V2: "STRIPE_PAY_IN_V1_V2";
|
|
7
|
-
readonly WisePayOutV1V2: "WISE_PAY_OUT_V1_V2";
|
|
8
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.LedgerMigrationType = void 0;
|
|
7
|
-
exports.LedgerMigrationType = {
|
|
8
|
-
StripePayInV1V2: "STRIPE_PAY_IN_V1_V2",
|
|
9
|
-
WisePayOutV1V2: "WISE_PAY_OUT_V1_V2",
|
|
10
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as TheraApi from "../../../../../index";
|
|
5
|
-
export interface MigrationLog {
|
|
6
|
-
id: string;
|
|
7
|
-
runId: string;
|
|
8
|
-
createdAt: Date;
|
|
9
|
-
type: TheraApi.db.MigrationType;
|
|
10
|
-
status: TheraApi.db.MigrationStatus;
|
|
11
|
-
metadata: TheraApi.db.MigrationMetadata;
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as TheraApi from "../../../../../index";
|
|
5
|
-
export declare type MigrationMetadata = TheraApi.db.MigrationMetadata.LedgerMigration;
|
|
6
|
-
export declare namespace MigrationMetadata {
|
|
7
|
-
interface LedgerMigration extends TheraApi.db.LedgerMigrationMetadata {
|
|
8
|
-
type: "ledgerMigration";
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.MigrationStatus = void 0;
|
|
7
|
-
exports.MigrationStatus = {
|
|
8
|
-
Success: "SUCCESS",
|
|
9
|
-
Failure: "FAILURE",
|
|
10
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "./MigrationLog";
|
|
2
|
-
export * from "./MigrationType";
|
|
3
|
-
export * from "./MigrationStatus";
|
|
4
|
-
export * from "./MigrationMetadata";
|
|
5
|
-
export * from "./LedgerMigrationMetadata";
|
|
6
|
-
export * from "./LedgerMigrationType";
|
|
7
|
-
export * from "./LedgerMigrationErrorMetadata";
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./MigrationLog"), exports);
|
|
18
|
-
__exportStar(require("./MigrationType"), exports);
|
|
19
|
-
__exportStar(require("./MigrationStatus"), exports);
|
|
20
|
-
__exportStar(require("./MigrationMetadata"), exports);
|
|
21
|
-
__exportStar(require("./LedgerMigrationMetadata"), exports);
|
|
22
|
-
__exportStar(require("./LedgerMigrationType"), exports);
|
|
23
|
-
__exportStar(require("./LedgerMigrationErrorMetadata"), exports);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./types";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./types"), exports);
|
package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.d.ts
DELETED
|
@@ -1,13 +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 TheraApi from "../../../../../../api/index";
|
|
6
|
-
import * as core from "../../../../../../core";
|
|
7
|
-
export declare const LedgerMigrationErrorMetadata: core.serialization.ObjectSchema<serializers.db.LedgerMigrationErrorMetadata.Raw, TheraApi.db.LedgerMigrationErrorMetadata>;
|
|
8
|
-
export declare namespace LedgerMigrationErrorMetadata {
|
|
9
|
-
interface Raw {
|
|
10
|
-
errorType: string;
|
|
11
|
-
errorMessage: string;
|
|
12
|
-
}
|
|
13
|
-
}
|
package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.js
DELETED
|
@@ -1,34 +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.LedgerMigrationErrorMetadata = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.LedgerMigrationErrorMetadata = core.serialization.object({
|
|
32
|
-
errorType: core.serialization.string(),
|
|
33
|
-
errorMessage: core.serialization.string(),
|
|
34
|
-
});
|
package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts
DELETED
|
@@ -1,17 +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 TheraApi from "../../../../../../api/index";
|
|
6
|
-
import * as core from "../../../../../../core";
|
|
7
|
-
import { LedgerMigrationType } from "./LedgerMigrationType";
|
|
8
|
-
import { LedgerMigrationErrorMetadata } from "./LedgerMigrationErrorMetadata";
|
|
9
|
-
export declare const LedgerMigrationMetadata: core.serialization.ObjectSchema<serializers.db.LedgerMigrationMetadata.Raw, TheraApi.db.LedgerMigrationMetadata>;
|
|
10
|
-
export declare namespace LedgerMigrationMetadata {
|
|
11
|
-
interface Raw {
|
|
12
|
-
ledgerMigrationType: LedgerMigrationType.Raw;
|
|
13
|
-
sourceLedgerTrxId: string[];
|
|
14
|
-
additionalData: Record<string, string>;
|
|
15
|
-
errorMetadata?: LedgerMigrationErrorMetadata.Raw | null;
|
|
16
|
-
}
|
|
17
|
-
}
|
package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.js
DELETED
|
@@ -1,38 +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.LedgerMigrationMetadata = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
const LedgerMigrationType_1 = require("./LedgerMigrationType");
|
|
32
|
-
const LedgerMigrationErrorMetadata_1 = require("./LedgerMigrationErrorMetadata");
|
|
33
|
-
exports.LedgerMigrationMetadata = core.serialization.object({
|
|
34
|
-
ledgerMigrationType: LedgerMigrationType_1.LedgerMigrationType,
|
|
35
|
-
sourceLedgerTrxId: core.serialization.list(core.serialization.string()),
|
|
36
|
-
additionalData: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
37
|
-
errorMetadata: LedgerMigrationErrorMetadata_1.LedgerMigrationErrorMetadata.optional(),
|
|
38
|
-
});
|
|
@@ -1,10 +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 TheraApi from "../../../../../../api/index";
|
|
6
|
-
import * as core from "../../../../../../core";
|
|
7
|
-
export declare const LedgerMigrationType: core.serialization.Schema<serializers.db.LedgerMigrationType.Raw, TheraApi.db.LedgerMigrationType>;
|
|
8
|
-
export declare namespace LedgerMigrationType {
|
|
9
|
-
type Raw = "STRIPE_PAY_IN_V1_V2" | "WISE_PAY_OUT_V1_V2";
|
|
10
|
-
}
|
|
@@ -1,31 +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.LedgerMigrationType = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.LedgerMigrationType = core.serialization.enum_(["STRIPE_PAY_IN_V1_V2", "WISE_PAY_OUT_V1_V2"]);
|
|
@@ -1,20 +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 TheraApi from "../../../../../../api/index";
|
|
6
|
-
import * as core from "../../../../../../core";
|
|
7
|
-
import { MigrationType } from "./MigrationType";
|
|
8
|
-
import { MigrationStatus } from "./MigrationStatus";
|
|
9
|
-
import { MigrationMetadata } from "./MigrationMetadata";
|
|
10
|
-
export declare const MigrationLog: core.serialization.ObjectSchema<serializers.db.MigrationLog.Raw, TheraApi.db.MigrationLog>;
|
|
11
|
-
export declare namespace MigrationLog {
|
|
12
|
-
interface Raw {
|
|
13
|
-
id: string;
|
|
14
|
-
runId: string;
|
|
15
|
-
createdAt: string;
|
|
16
|
-
type: MigrationType.Raw;
|
|
17
|
-
status: MigrationStatus.Raw;
|
|
18
|
-
metadata: MigrationMetadata.Raw;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,41 +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.MigrationLog = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
const MigrationType_1 = require("./MigrationType");
|
|
32
|
-
const MigrationStatus_1 = require("./MigrationStatus");
|
|
33
|
-
const MigrationMetadata_1 = require("./MigrationMetadata");
|
|
34
|
-
exports.MigrationLog = core.serialization.object({
|
|
35
|
-
id: core.serialization.string(),
|
|
36
|
-
runId: core.serialization.string(),
|
|
37
|
-
createdAt: core.serialization.date(),
|
|
38
|
-
type: MigrationType_1.MigrationType,
|
|
39
|
-
status: MigrationStatus_1.MigrationStatus,
|
|
40
|
-
metadata: MigrationMetadata_1.MigrationMetadata,
|
|
41
|
-
});
|
|
@@ -1,14 +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 TheraApi from "../../../../../../api/index";
|
|
6
|
-
import * as core from "../../../../../../core";
|
|
7
|
-
import { LedgerMigrationMetadata } from "./LedgerMigrationMetadata";
|
|
8
|
-
export declare const MigrationMetadata: core.serialization.Schema<serializers.db.MigrationMetadata.Raw, TheraApi.db.MigrationMetadata>;
|
|
9
|
-
export declare namespace MigrationMetadata {
|
|
10
|
-
type Raw = MigrationMetadata.LedgerMigration;
|
|
11
|
-
interface LedgerMigration extends LedgerMigrationMetadata.Raw {
|
|
12
|
-
type: "ledgerMigration";
|
|
13
|
-
}
|
|
14
|
-
}
|