@mergeapi/merge-node-client 2.1.3 → 2.2.0
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/.mock/definition/accounting/__package__.yml +77 -0
- package/.mock/definition/accounting/contacts.yml +280 -0
- package/.mock/definition/accounting/transactions.yml +128 -0
- package/.mock/definition/ats/__package__.yml +1 -0
- package/.mock/definition/filestorage/files.yml +16 -0
- package/.mock/definition/hris/__package__.yml +5 -5
- package/.mock/definition/hris/benefits.yml +2 -2
- package/.mock/definition/ticketing/__package__.yml +3 -3
- package/.mock/definition/ticketing/tickets.yml +3 -0
- package/Client.d.ts +3 -3
- package/Client.js +8 -8
- package/api/resources/accounting/resources/contacts/client/Client.d.ts +25 -0
- package/api/resources/accounting/resources/contacts/client/Client.js +144 -0
- package/api/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.d.ts +17 -0
- package/api/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.js +5 -0
- package/api/resources/accounting/resources/contacts/client/requests/index.d.ts +1 -0
- package/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.d.ts +33 -1
- package/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.js +32 -0
- package/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.d.ts +33 -1
- package/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.js +32 -0
- package/api/resources/accounting/types/PatchedContactRequest.d.ts +44 -0
- package/api/resources/accounting/types/PatchedContactRequest.js +5 -0
- package/api/resources/accounting/types/PatchedContactRequestAddressesItem.d.ts +5 -0
- package/api/resources/accounting/types/PatchedContactRequestAddressesItem.js +5 -0
- package/api/resources/accounting/types/index.d.ts +2 -0
- package/api/resources/accounting/types/index.js +2 -0
- package/api/resources/ats/types/EventTypeEnum.d.ts +2 -1
- package/api/resources/ats/types/EventTypeEnum.js +1 -0
- package/api/resources/filestorage/resources/files/client/Client.js +16 -2
- package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.d.ts +2 -0
- package/api/resources/filestorage/resources/files/client/requests/FilesListRequest.d.ts +4 -0
- package/api/resources/hris/types/Benefit.d.ts +2 -2
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/api/resources/ticketing/resources/tickets/client/Client.js +4 -1
- package/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.d.ts +2 -0
- package/api/resources/ticketing/types/PatchedTicketRequest.d.ts +2 -2
- package/dist/Client.d.ts +3 -3
- package/dist/Client.js +8 -8
- package/dist/api/resources/accounting/resources/contacts/client/Client.d.ts +25 -0
- package/dist/api/resources/accounting/resources/contacts/client/Client.js +144 -0
- package/dist/api/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.d.ts +17 -0
- package/dist/api/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.js +5 -0
- package/dist/api/resources/accounting/resources/contacts/client/requests/index.d.ts +1 -0
- package/dist/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.d.ts +33 -1
- package/dist/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.js +32 -0
- package/dist/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.d.ts +33 -1
- package/dist/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.js +32 -0
- package/dist/api/resources/accounting/types/PatchedContactRequest.d.ts +44 -0
- package/dist/api/resources/accounting/types/PatchedContactRequest.js +5 -0
- package/dist/api/resources/accounting/types/PatchedContactRequestAddressesItem.d.ts +5 -0
- package/dist/api/resources/accounting/types/PatchedContactRequestAddressesItem.js +5 -0
- package/dist/api/resources/accounting/types/index.d.ts +2 -0
- package/dist/api/resources/accounting/types/index.js +2 -0
- package/dist/api/resources/ats/types/EventTypeEnum.d.ts +2 -1
- package/dist/api/resources/ats/types/EventTypeEnum.js +1 -0
- package/dist/api/resources/filestorage/resources/files/client/Client.js +16 -2
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.d.ts +2 -0
- package/dist/api/resources/filestorage/resources/files/client/requests/FilesListRequest.d.ts +4 -0
- package/dist/api/resources/hris/types/Benefit.d.ts +2 -2
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/api/resources/ticketing/resources/tickets/client/Client.js +4 -1
- package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.d.ts +2 -0
- package/dist/api/resources/ticketing/types/PatchedTicketRequest.d.ts +2 -2
- package/dist/serialization/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.d.ts +13 -0
- package/dist/serialization/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.js +44 -0
- package/dist/serialization/resources/accounting/resources/contacts/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/accounting/resources/contacts/client/requests/index.js +3 -1
- package/dist/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.js +32 -0
- package/dist/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.d.ts +1 -1
- package/dist/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.js +32 -0
- package/dist/serialization/resources/accounting/types/PatchedContactRequest.d.ts +27 -0
- package/dist/serialization/resources/accounting/types/PatchedContactRequest.js +58 -0
- package/dist/serialization/resources/accounting/types/PatchedContactRequestAddressesItem.d.ts +11 -0
- package/dist/serialization/resources/accounting/types/PatchedContactRequestAddressesItem.js +42 -0
- package/dist/serialization/resources/accounting/types/index.d.ts +2 -0
- package/dist/serialization/resources/accounting/types/index.js +2 -0
- package/dist/serialization/resources/ats/types/EventTypeEnum.d.ts +1 -1
- package/dist/serialization/resources/ats/types/EventTypeEnum.js +1 -0
- package/dist/serialization/resources/hris/types/Benefit.d.ts +1 -1
- package/dist/serialization/resources/hris/types/Benefit.js +1 -1
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/dist/serialization/resources/ticketing/types/PatchedTicketRequest.d.ts +1 -1
- package/dist/serialization/resources/ticketing/types/PatchedTicketRequest.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1467 -1331
- package/serialization/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.d.ts +13 -0
- package/serialization/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.js +44 -0
- package/serialization/resources/accounting/resources/contacts/client/requests/index.d.ts +1 -0
- package/serialization/resources/accounting/resources/contacts/client/requests/index.js +3 -1
- package/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.js +32 -0
- package/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.d.ts +1 -1
- package/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.js +32 -0
- package/serialization/resources/accounting/types/PatchedContactRequest.d.ts +27 -0
- package/serialization/resources/accounting/types/PatchedContactRequest.js +58 -0
- package/serialization/resources/accounting/types/PatchedContactRequestAddressesItem.d.ts +11 -0
- package/serialization/resources/accounting/types/PatchedContactRequestAddressesItem.js +42 -0
- package/serialization/resources/accounting/types/index.d.ts +2 -0
- package/serialization/resources/accounting/types/index.js +2 -0
- package/serialization/resources/ats/types/EventTypeEnum.d.ts +1 -1
- package/serialization/resources/ats/types/EventTypeEnum.js +1 -0
- package/serialization/resources/hris/types/Benefit.d.ts +1 -1
- package/serialization/resources/hris/types/Benefit.js +1 -1
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/serialization/resources/ticketing/types/PatchedTicketRequest.d.ts +1 -1
- package/serialization/resources/ticketing/types/PatchedTicketRequest.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../index";
|
|
5
|
+
import * as Merge from "../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../core";
|
|
7
|
+
import { PatchedContactRequest } from "../../../../types/PatchedContactRequest";
|
|
8
|
+
export declare const PatchedContactEndpointRequest: core.serialization.Schema<serializers.accounting.PatchedContactEndpointRequest.Raw, Omit<Merge.accounting.PatchedContactEndpointRequest, "isDebugMode" | "runAsync">>;
|
|
9
|
+
export declare namespace PatchedContactEndpointRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
model: PatchedContactRequest.Raw;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.PatchedContactEndpointRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
41
|
+
const PatchedContactRequest_1 = require("../../../../types/PatchedContactRequest");
|
|
42
|
+
exports.PatchedContactEndpointRequest = core.serialization.object({
|
|
43
|
+
model: PatchedContactRequest_1.PatchedContactRequest,
|
|
44
|
+
});
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ContactEndpointRequest = void 0;
|
|
3
|
+
exports.PatchedContactEndpointRequest = exports.ContactEndpointRequest = void 0;
|
|
4
4
|
var ContactEndpointRequest_1 = require("./ContactEndpointRequest");
|
|
5
5
|
Object.defineProperty(exports, "ContactEndpointRequest", { enumerable: true, get: function () { return ContactEndpointRequest_1.ContactEndpointRequest; } });
|
|
6
|
+
var PatchedContactEndpointRequest_1 = require("./PatchedContactEndpointRequest");
|
|
7
|
+
Object.defineProperty(exports, "PatchedContactEndpointRequest", { enumerable: true, get: function () { return PatchedContactEndpointRequest_1.PatchedContactEndpointRequest; } });
|
|
@@ -6,5 +6,5 @@ import * as Merge from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const TransactionsListRequestExpand: core.serialization.Schema<serializers.accounting.TransactionsListRequestExpand.Raw, Merge.accounting.TransactionsListRequestExpand>;
|
|
8
8
|
export declare namespace TransactionsListRequestExpand {
|
|
9
|
-
type Raw = "account" | "account,accounting_period" | "accounting_period" | "contact" | "contact,account" | "contact,account,accounting_period" | "contact,accounting_period" | "line_items" | "line_items,account" | "line_items,account,accounting_period" | "line_items,accounting_period" | "line_items,contact" | "line_items,contact,account" | "line_items,contact,account,accounting_period" | "line_items,contact,accounting_period" | "line_items,tracking_categories" | "line_items,tracking_categories,account" | "line_items,tracking_categories,account,accounting_period" | "line_items,tracking_categories,accounting_period" | "line_items,tracking_categories,contact" | "line_items,tracking_categories,contact,account" | "line_items,tracking_categories,contact,account,accounting_period" | "line_items,tracking_categories,contact,accounting_period" | "tracking_categories" | "tracking_categories,account" | "tracking_categories,account,accounting_period" | "tracking_categories,accounting_period" | "tracking_categories,contact" | "tracking_categories,contact,account" | "tracking_categories,contact,account,accounting_period" | "tracking_categories,contact,accounting_period";
|
|
9
|
+
type Raw = "account" | "account,accounting_period" | "account,company" | "account,company,accounting_period" | "accounting_period" | "company" | "company,accounting_period" | "contact" | "contact,account" | "contact,account,accounting_period" | "contact,account,company" | "contact,account,company,accounting_period" | "contact,accounting_period" | "contact,company" | "contact,company,accounting_period" | "line_items" | "line_items,account" | "line_items,account,accounting_period" | "line_items,account,company" | "line_items,account,company,accounting_period" | "line_items,accounting_period" | "line_items,company" | "line_items,company,accounting_period" | "line_items,contact" | "line_items,contact,account" | "line_items,contact,account,accounting_period" | "line_items,contact,account,company" | "line_items,contact,account,company,accounting_period" | "line_items,contact,accounting_period" | "line_items,contact,company" | "line_items,contact,company,accounting_period" | "line_items,tracking_categories" | "line_items,tracking_categories,account" | "line_items,tracking_categories,account,accounting_period" | "line_items,tracking_categories,account,company" | "line_items,tracking_categories,account,company,accounting_period" | "line_items,tracking_categories,accounting_period" | "line_items,tracking_categories,company" | "line_items,tracking_categories,company,accounting_period" | "line_items,tracking_categories,contact" | "line_items,tracking_categories,contact,account" | "line_items,tracking_categories,contact,account,accounting_period" | "line_items,tracking_categories,contact,account,company" | "line_items,tracking_categories,contact,account,company,accounting_period" | "line_items,tracking_categories,contact,accounting_period" | "line_items,tracking_categories,contact,company" | "line_items,tracking_categories,contact,company,accounting_period" | "tracking_categories" | "tracking_categories,account" | "tracking_categories,account,accounting_period" | "tracking_categories,account,company" | "tracking_categories,account,company,accounting_period" | "tracking_categories,accounting_period" | "tracking_categories,company" | "tracking_categories,company,accounting_period" | "tracking_categories,contact" | "tracking_categories,contact,account" | "tracking_categories,contact,account,accounting_period" | "tracking_categories,contact,account,company" | "tracking_categories,contact,account,company,accounting_period" | "tracking_categories,contact,accounting_period" | "tracking_categories,contact,company" | "tracking_categories,contact,company,accounting_period";
|
|
10
10
|
}
|
|
@@ -41,33 +41,65 @@ const core = __importStar(require("../../../../../../core"));
|
|
|
41
41
|
exports.TransactionsListRequestExpand = core.serialization.enum_([
|
|
42
42
|
"account",
|
|
43
43
|
"account,accounting_period",
|
|
44
|
+
"account,company",
|
|
45
|
+
"account,company,accounting_period",
|
|
44
46
|
"accounting_period",
|
|
47
|
+
"company",
|
|
48
|
+
"company,accounting_period",
|
|
45
49
|
"contact",
|
|
46
50
|
"contact,account",
|
|
47
51
|
"contact,account,accounting_period",
|
|
52
|
+
"contact,account,company",
|
|
53
|
+
"contact,account,company,accounting_period",
|
|
48
54
|
"contact,accounting_period",
|
|
55
|
+
"contact,company",
|
|
56
|
+
"contact,company,accounting_period",
|
|
49
57
|
"line_items",
|
|
50
58
|
"line_items,account",
|
|
51
59
|
"line_items,account,accounting_period",
|
|
60
|
+
"line_items,account,company",
|
|
61
|
+
"line_items,account,company,accounting_period",
|
|
52
62
|
"line_items,accounting_period",
|
|
63
|
+
"line_items,company",
|
|
64
|
+
"line_items,company,accounting_period",
|
|
53
65
|
"line_items,contact",
|
|
54
66
|
"line_items,contact,account",
|
|
55
67
|
"line_items,contact,account,accounting_period",
|
|
68
|
+
"line_items,contact,account,company",
|
|
69
|
+
"line_items,contact,account,company,accounting_period",
|
|
56
70
|
"line_items,contact,accounting_period",
|
|
71
|
+
"line_items,contact,company",
|
|
72
|
+
"line_items,contact,company,accounting_period",
|
|
57
73
|
"line_items,tracking_categories",
|
|
58
74
|
"line_items,tracking_categories,account",
|
|
59
75
|
"line_items,tracking_categories,account,accounting_period",
|
|
76
|
+
"line_items,tracking_categories,account,company",
|
|
77
|
+
"line_items,tracking_categories,account,company,accounting_period",
|
|
60
78
|
"line_items,tracking_categories,accounting_period",
|
|
79
|
+
"line_items,tracking_categories,company",
|
|
80
|
+
"line_items,tracking_categories,company,accounting_period",
|
|
61
81
|
"line_items,tracking_categories,contact",
|
|
62
82
|
"line_items,tracking_categories,contact,account",
|
|
63
83
|
"line_items,tracking_categories,contact,account,accounting_period",
|
|
84
|
+
"line_items,tracking_categories,contact,account,company",
|
|
85
|
+
"line_items,tracking_categories,contact,account,company,accounting_period",
|
|
64
86
|
"line_items,tracking_categories,contact,accounting_period",
|
|
87
|
+
"line_items,tracking_categories,contact,company",
|
|
88
|
+
"line_items,tracking_categories,contact,company,accounting_period",
|
|
65
89
|
"tracking_categories",
|
|
66
90
|
"tracking_categories,account",
|
|
67
91
|
"tracking_categories,account,accounting_period",
|
|
92
|
+
"tracking_categories,account,company",
|
|
93
|
+
"tracking_categories,account,company,accounting_period",
|
|
68
94
|
"tracking_categories,accounting_period",
|
|
95
|
+
"tracking_categories,company",
|
|
96
|
+
"tracking_categories,company,accounting_period",
|
|
69
97
|
"tracking_categories,contact",
|
|
70
98
|
"tracking_categories,contact,account",
|
|
71
99
|
"tracking_categories,contact,account,accounting_period",
|
|
100
|
+
"tracking_categories,contact,account,company",
|
|
101
|
+
"tracking_categories,contact,account,company,accounting_period",
|
|
72
102
|
"tracking_categories,contact,accounting_period",
|
|
103
|
+
"tracking_categories,contact,company",
|
|
104
|
+
"tracking_categories,contact,company,accounting_period",
|
|
73
105
|
]);
|
|
@@ -6,5 +6,5 @@ import * as Merge from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const TransactionsRetrieveRequestExpand: core.serialization.Schema<serializers.accounting.TransactionsRetrieveRequestExpand.Raw, Merge.accounting.TransactionsRetrieveRequestExpand>;
|
|
8
8
|
export declare namespace TransactionsRetrieveRequestExpand {
|
|
9
|
-
type Raw = "account" | "account,accounting_period" | "accounting_period" | "contact" | "contact,account" | "contact,account,accounting_period" | "contact,accounting_period" | "line_items" | "line_items,account" | "line_items,account,accounting_period" | "line_items,accounting_period" | "line_items,contact" | "line_items,contact,account" | "line_items,contact,account,accounting_period" | "line_items,contact,accounting_period" | "line_items,tracking_categories" | "line_items,tracking_categories,account" | "line_items,tracking_categories,account,accounting_period" | "line_items,tracking_categories,accounting_period" | "line_items,tracking_categories,contact" | "line_items,tracking_categories,contact,account" | "line_items,tracking_categories,contact,account,accounting_period" | "line_items,tracking_categories,contact,accounting_period" | "tracking_categories" | "tracking_categories,account" | "tracking_categories,account,accounting_period" | "tracking_categories,accounting_period" | "tracking_categories,contact" | "tracking_categories,contact,account" | "tracking_categories,contact,account,accounting_period" | "tracking_categories,contact,accounting_period";
|
|
9
|
+
type Raw = "account" | "account,accounting_period" | "account,company" | "account,company,accounting_period" | "accounting_period" | "company" | "company,accounting_period" | "contact" | "contact,account" | "contact,account,accounting_period" | "contact,account,company" | "contact,account,company,accounting_period" | "contact,accounting_period" | "contact,company" | "contact,company,accounting_period" | "line_items" | "line_items,account" | "line_items,account,accounting_period" | "line_items,account,company" | "line_items,account,company,accounting_period" | "line_items,accounting_period" | "line_items,company" | "line_items,company,accounting_period" | "line_items,contact" | "line_items,contact,account" | "line_items,contact,account,accounting_period" | "line_items,contact,account,company" | "line_items,contact,account,company,accounting_period" | "line_items,contact,accounting_period" | "line_items,contact,company" | "line_items,contact,company,accounting_period" | "line_items,tracking_categories" | "line_items,tracking_categories,account" | "line_items,tracking_categories,account,accounting_period" | "line_items,tracking_categories,account,company" | "line_items,tracking_categories,account,company,accounting_period" | "line_items,tracking_categories,accounting_period" | "line_items,tracking_categories,company" | "line_items,tracking_categories,company,accounting_period" | "line_items,tracking_categories,contact" | "line_items,tracking_categories,contact,account" | "line_items,tracking_categories,contact,account,accounting_period" | "line_items,tracking_categories,contact,account,company" | "line_items,tracking_categories,contact,account,company,accounting_period" | "line_items,tracking_categories,contact,accounting_period" | "line_items,tracking_categories,contact,company" | "line_items,tracking_categories,contact,company,accounting_period" | "tracking_categories" | "tracking_categories,account" | "tracking_categories,account,accounting_period" | "tracking_categories,account,company" | "tracking_categories,account,company,accounting_period" | "tracking_categories,accounting_period" | "tracking_categories,company" | "tracking_categories,company,accounting_period" | "tracking_categories,contact" | "tracking_categories,contact,account" | "tracking_categories,contact,account,accounting_period" | "tracking_categories,contact,account,company" | "tracking_categories,contact,account,company,accounting_period" | "tracking_categories,contact,accounting_period" | "tracking_categories,contact,company" | "tracking_categories,contact,company,accounting_period";
|
|
10
10
|
}
|
|
@@ -41,33 +41,65 @@ const core = __importStar(require("../../../../../../core"));
|
|
|
41
41
|
exports.TransactionsRetrieveRequestExpand = core.serialization.enum_([
|
|
42
42
|
"account",
|
|
43
43
|
"account,accounting_period",
|
|
44
|
+
"account,company",
|
|
45
|
+
"account,company,accounting_period",
|
|
44
46
|
"accounting_period",
|
|
47
|
+
"company",
|
|
48
|
+
"company,accounting_period",
|
|
45
49
|
"contact",
|
|
46
50
|
"contact,account",
|
|
47
51
|
"contact,account,accounting_period",
|
|
52
|
+
"contact,account,company",
|
|
53
|
+
"contact,account,company,accounting_period",
|
|
48
54
|
"contact,accounting_period",
|
|
55
|
+
"contact,company",
|
|
56
|
+
"contact,company,accounting_period",
|
|
49
57
|
"line_items",
|
|
50
58
|
"line_items,account",
|
|
51
59
|
"line_items,account,accounting_period",
|
|
60
|
+
"line_items,account,company",
|
|
61
|
+
"line_items,account,company,accounting_period",
|
|
52
62
|
"line_items,accounting_period",
|
|
63
|
+
"line_items,company",
|
|
64
|
+
"line_items,company,accounting_period",
|
|
53
65
|
"line_items,contact",
|
|
54
66
|
"line_items,contact,account",
|
|
55
67
|
"line_items,contact,account,accounting_period",
|
|
68
|
+
"line_items,contact,account,company",
|
|
69
|
+
"line_items,contact,account,company,accounting_period",
|
|
56
70
|
"line_items,contact,accounting_period",
|
|
71
|
+
"line_items,contact,company",
|
|
72
|
+
"line_items,contact,company,accounting_period",
|
|
57
73
|
"line_items,tracking_categories",
|
|
58
74
|
"line_items,tracking_categories,account",
|
|
59
75
|
"line_items,tracking_categories,account,accounting_period",
|
|
76
|
+
"line_items,tracking_categories,account,company",
|
|
77
|
+
"line_items,tracking_categories,account,company,accounting_period",
|
|
60
78
|
"line_items,tracking_categories,accounting_period",
|
|
79
|
+
"line_items,tracking_categories,company",
|
|
80
|
+
"line_items,tracking_categories,company,accounting_period",
|
|
61
81
|
"line_items,tracking_categories,contact",
|
|
62
82
|
"line_items,tracking_categories,contact,account",
|
|
63
83
|
"line_items,tracking_categories,contact,account,accounting_period",
|
|
84
|
+
"line_items,tracking_categories,contact,account,company",
|
|
85
|
+
"line_items,tracking_categories,contact,account,company,accounting_period",
|
|
64
86
|
"line_items,tracking_categories,contact,accounting_period",
|
|
87
|
+
"line_items,tracking_categories,contact,company",
|
|
88
|
+
"line_items,tracking_categories,contact,company,accounting_period",
|
|
65
89
|
"tracking_categories",
|
|
66
90
|
"tracking_categories,account",
|
|
67
91
|
"tracking_categories,account,accounting_period",
|
|
92
|
+
"tracking_categories,account,company",
|
|
93
|
+
"tracking_categories,account,company,accounting_period",
|
|
68
94
|
"tracking_categories,accounting_period",
|
|
95
|
+
"tracking_categories,company",
|
|
96
|
+
"tracking_categories,company,accounting_period",
|
|
69
97
|
"tracking_categories,contact",
|
|
70
98
|
"tracking_categories,contact,account",
|
|
71
99
|
"tracking_categories,contact,account,accounting_period",
|
|
100
|
+
"tracking_categories,contact,account,company",
|
|
101
|
+
"tracking_categories,contact,account,company,accounting_period",
|
|
72
102
|
"tracking_categories,contact,accounting_period",
|
|
103
|
+
"tracking_categories,contact,company",
|
|
104
|
+
"tracking_categories,contact,company,accounting_period",
|
|
73
105
|
]);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Merge from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { PatchedContactRequestAddressesItem } from "./PatchedContactRequestAddressesItem";
|
|
8
|
+
import { AccountingPhoneNumberRequest } from "./AccountingPhoneNumberRequest";
|
|
9
|
+
import { RemoteFieldRequest } from "./RemoteFieldRequest";
|
|
10
|
+
export declare const PatchedContactRequest: core.serialization.ObjectSchema<serializers.accounting.PatchedContactRequest.Raw, Merge.accounting.PatchedContactRequest>;
|
|
11
|
+
export declare namespace PatchedContactRequest {
|
|
12
|
+
interface Raw {
|
|
13
|
+
name?: string | null;
|
|
14
|
+
is_supplier?: boolean | null;
|
|
15
|
+
is_customer?: boolean | null;
|
|
16
|
+
email_address?: string | null;
|
|
17
|
+
tax_number?: string | null;
|
|
18
|
+
status?: string | null;
|
|
19
|
+
currency?: string | null;
|
|
20
|
+
company?: string | null;
|
|
21
|
+
addresses?: (PatchedContactRequestAddressesItem.Raw | null | undefined)[] | null;
|
|
22
|
+
phone_numbers?: AccountingPhoneNumberRequest.Raw[] | null;
|
|
23
|
+
integration_params?: Record<string, unknown> | null;
|
|
24
|
+
linked_account_params?: Record<string, unknown> | null;
|
|
25
|
+
remote_fields?: RemoteFieldRequest.Raw[] | null;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.PatchedContactRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const PatchedContactRequestAddressesItem_1 = require("./PatchedContactRequestAddressesItem");
|
|
42
|
+
const AccountingPhoneNumberRequest_1 = require("./AccountingPhoneNumberRequest");
|
|
43
|
+
const RemoteFieldRequest_1 = require("./RemoteFieldRequest");
|
|
44
|
+
exports.PatchedContactRequest = core.serialization.object({
|
|
45
|
+
name: core.serialization.string().optional(),
|
|
46
|
+
isSupplier: core.serialization.property("is_supplier", core.serialization.boolean().optional()),
|
|
47
|
+
isCustomer: core.serialization.property("is_customer", core.serialization.boolean().optional()),
|
|
48
|
+
emailAddress: core.serialization.property("email_address", core.serialization.string().optional()),
|
|
49
|
+
taxNumber: core.serialization.property("tax_number", core.serialization.string().optional()),
|
|
50
|
+
status: core.serialization.string().optional(),
|
|
51
|
+
currency: core.serialization.string().optional(),
|
|
52
|
+
company: core.serialization.string().optional(),
|
|
53
|
+
addresses: core.serialization.list(PatchedContactRequestAddressesItem_1.PatchedContactRequestAddressesItem.optional()).optional(),
|
|
54
|
+
phoneNumbers: core.serialization.property("phone_numbers", core.serialization.list(AccountingPhoneNumberRequest_1.AccountingPhoneNumberRequest).optional()),
|
|
55
|
+
integrationParams: core.serialization.property("integration_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
56
|
+
linkedAccountParams: core.serialization.property("linked_account_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
57
|
+
remoteFields: core.serialization.property("remote_fields", core.serialization.list(RemoteFieldRequest_1.RemoteFieldRequest).optional()),
|
|
58
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Merge from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { Address } from "./Address";
|
|
8
|
+
export declare const PatchedContactRequestAddressesItem: core.serialization.Schema<serializers.accounting.PatchedContactRequestAddressesItem.Raw, Merge.accounting.PatchedContactRequestAddressesItem>;
|
|
9
|
+
export declare namespace PatchedContactRequestAddressesItem {
|
|
10
|
+
type Raw = string | Address.Raw;
|
|
11
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.PatchedContactRequestAddressesItem = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Address_1 = require("./Address");
|
|
42
|
+
exports.PatchedContactRequestAddressesItem = core.serialization.undiscriminatedUnion([core.serialization.string(), Address_1.Address]);
|
|
@@ -367,6 +367,8 @@ export * from "./PaginatedTaxRateList";
|
|
|
367
367
|
export * from "./PaginatedTrackingCategoryList";
|
|
368
368
|
export * from "./PaginatedTransactionList";
|
|
369
369
|
export * from "./PaginatedVendorCreditList";
|
|
370
|
+
export * from "./PatchedContactRequestAddressesItem";
|
|
371
|
+
export * from "./PatchedContactRequest";
|
|
370
372
|
export * from "./PatchedItemRequestRequestStatus";
|
|
371
373
|
export * from "./PatchedItemRequestRequestType";
|
|
372
374
|
export * from "./PatchedItemRequestRequest";
|
|
@@ -383,6 +383,8 @@ __exportStar(require("./PaginatedTaxRateList"), exports);
|
|
|
383
383
|
__exportStar(require("./PaginatedTrackingCategoryList"), exports);
|
|
384
384
|
__exportStar(require("./PaginatedTransactionList"), exports);
|
|
385
385
|
__exportStar(require("./PaginatedVendorCreditList"), exports);
|
|
386
|
+
__exportStar(require("./PatchedContactRequestAddressesItem"), exports);
|
|
387
|
+
__exportStar(require("./PatchedContactRequest"), exports);
|
|
386
388
|
__exportStar(require("./PatchedItemRequestRequestStatus"), exports);
|
|
387
389
|
__exportStar(require("./PatchedItemRequestRequestType"), exports);
|
|
388
390
|
__exportStar(require("./PatchedItemRequestRequest"), exports);
|
|
@@ -6,5 +6,5 @@ import * as Merge from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const EventTypeEnum: core.serialization.Schema<serializers.ats.EventTypeEnum.Raw, Merge.ats.EventTypeEnum>;
|
|
8
8
|
export declare namespace EventTypeEnum {
|
|
9
|
-
type Raw = "CREATED_REMOTE_PRODUCTION_API_KEY" | "DELETED_REMOTE_PRODUCTION_API_KEY" | "CREATED_TEST_API_KEY" | "DELETED_TEST_API_KEY" | "REGENERATED_PRODUCTION_API_KEY" | "INVITED_USER" | "TWO_FACTOR_AUTH_ENABLED" | "TWO_FACTOR_AUTH_DISABLED" | "DELETED_LINKED_ACCOUNT" | "DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT" | "CREATED_DESTINATION" | "DELETED_DESTINATION" | "CHANGED_DESTINATION" | "CHANGED_SCOPES" | "CHANGED_PERSONAL_INFORMATION" | "CHANGED_ORGANIZATION_SETTINGS" | "ENABLED_INTEGRATION" | "DISABLED_INTEGRATION" | "ENABLED_CATEGORY" | "DISABLED_CATEGORY" | "CHANGED_PASSWORD" | "RESET_PASSWORD" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" | "CREATED_INTEGRATION_WIDE_FIELD_MAPPING" | "CREATED_LINKED_ACCOUNT_FIELD_MAPPING" | "CHANGED_INTEGRATION_WIDE_FIELD_MAPPING" | "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING" | "DELETED_INTEGRATION_WIDE_FIELD_MAPPING" | "DELETED_LINKED_ACCOUNT_FIELD_MAPPING" | "CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" | "CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" | "DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" | "FORCED_LINKED_ACCOUNT_RESYNC" | "MUTED_ISSUE" | "GENERATED_MAGIC_LINK" | "ENABLED_MERGE_WEBHOOK" | "DISABLED_MERGE_WEBHOOK" | "MERGE_WEBHOOK_TARGET_CHANGED" | "END_USER_CREDENTIALS_ACCESSED";
|
|
9
|
+
type Raw = "CREATED_REMOTE_PRODUCTION_API_KEY" | "DELETED_REMOTE_PRODUCTION_API_KEY" | "CREATED_TEST_API_KEY" | "DELETED_TEST_API_KEY" | "REGENERATED_PRODUCTION_API_KEY" | "REGENERATED_WEBHOOK_SIGNATURE" | "INVITED_USER" | "TWO_FACTOR_AUTH_ENABLED" | "TWO_FACTOR_AUTH_DISABLED" | "DELETED_LINKED_ACCOUNT" | "DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT" | "CREATED_DESTINATION" | "DELETED_DESTINATION" | "CHANGED_DESTINATION" | "CHANGED_SCOPES" | "CHANGED_PERSONAL_INFORMATION" | "CHANGED_ORGANIZATION_SETTINGS" | "ENABLED_INTEGRATION" | "DISABLED_INTEGRATION" | "ENABLED_CATEGORY" | "DISABLED_CATEGORY" | "CHANGED_PASSWORD" | "RESET_PASSWORD" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" | "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" | "CREATED_INTEGRATION_WIDE_FIELD_MAPPING" | "CREATED_LINKED_ACCOUNT_FIELD_MAPPING" | "CHANGED_INTEGRATION_WIDE_FIELD_MAPPING" | "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING" | "DELETED_INTEGRATION_WIDE_FIELD_MAPPING" | "DELETED_LINKED_ACCOUNT_FIELD_MAPPING" | "CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" | "CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" | "DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" | "FORCED_LINKED_ACCOUNT_RESYNC" | "MUTED_ISSUE" | "GENERATED_MAGIC_LINK" | "ENABLED_MERGE_WEBHOOK" | "DISABLED_MERGE_WEBHOOK" | "MERGE_WEBHOOK_TARGET_CHANGED" | "END_USER_CREDENTIALS_ACCESSED";
|
|
10
10
|
}
|
|
@@ -20,8 +20,8 @@ export declare namespace Benefit {
|
|
|
20
20
|
company_contribution?: number | null;
|
|
21
21
|
start_date?: string | null;
|
|
22
22
|
end_date?: string | null;
|
|
23
|
-
remote_was_deleted?: boolean | null;
|
|
24
23
|
employer_benefit?: string | null;
|
|
24
|
+
remote_was_deleted?: boolean | null;
|
|
25
25
|
field_mappings?: Record<string, unknown> | null;
|
|
26
26
|
remote_data?: RemoteData.Raw[] | null;
|
|
27
27
|
}
|
|
@@ -52,8 +52,8 @@ exports.Benefit = core.serialization.object({
|
|
|
52
52
|
companyContribution: core.serialization.property("company_contribution", core.serialization.number().optional()),
|
|
53
53
|
startDate: core.serialization.property("start_date", core.serialization.date().optional()),
|
|
54
54
|
endDate: core.serialization.property("end_date", core.serialization.date().optional()),
|
|
55
|
-
remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()),
|
|
56
55
|
employerBenefit: core.serialization.property("employer_benefit", core.serialization.string().optional()),
|
|
56
|
+
remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()),
|
|
57
57
|
fieldMappings: core.serialization.property("field_mappings", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
58
58
|
remoteData: core.serialization.property("remote_data", core.serialization.list(RemoteData_1.RemoteData).optional()),
|
|
59
59
|
});
|
|
@@ -33,10 +33,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.accounting = exports.ticketing = exports.hris = exports.
|
|
36
|
+
exports.accounting = exports.ticketing = exports.hris = exports.crm = exports.filestorage = exports.ats = void 0;
|
|
37
37
|
exports.ats = __importStar(require("./ats"));
|
|
38
|
-
exports.crm = __importStar(require("./crm"));
|
|
39
38
|
exports.filestorage = __importStar(require("./filestorage"));
|
|
39
|
+
exports.crm = __importStar(require("./crm"));
|
|
40
40
|
exports.hris = __importStar(require("./hris"));
|
|
41
41
|
exports.ticketing = __importStar(require("./ticketing"));
|
|
42
42
|
exports.accounting = __importStar(require("./accounting"));
|
|
@@ -26,9 +26,9 @@ export declare namespace PatchedTicketRequest {
|
|
|
26
26
|
access_level?: PatchedTicketRequestAccessLevel.Raw | null;
|
|
27
27
|
tags?: (string | null | undefined)[] | null;
|
|
28
28
|
roles?: (string | null | undefined)[] | null;
|
|
29
|
-
completed_at?: string | null;
|
|
30
29
|
ticket_url?: string | null;
|
|
31
30
|
priority?: PatchedTicketRequestPriority.Raw | null;
|
|
31
|
+
completed_at?: string | null;
|
|
32
32
|
integration_params?: Record<string, unknown> | null;
|
|
33
33
|
linked_account_params?: Record<string, unknown> | null;
|
|
34
34
|
remote_fields?: RemoteFieldRequest.Raw[] | null;
|
|
@@ -58,9 +58,9 @@ exports.PatchedTicketRequest = core.serialization.object({
|
|
|
58
58
|
accessLevel: core.serialization.property("access_level", PatchedTicketRequestAccessLevel_1.PatchedTicketRequestAccessLevel.optional()),
|
|
59
59
|
tags: core.serialization.list(core.serialization.string().optional()).optional(),
|
|
60
60
|
roles: core.serialization.list(core.serialization.string().optional()).optional(),
|
|
61
|
-
completedAt: core.serialization.property("completed_at", core.serialization.date().optional()),
|
|
62
61
|
ticketUrl: core.serialization.property("ticket_url", core.serialization.string().optional()),
|
|
63
62
|
priority: PatchedTicketRequestPriority_1.PatchedTicketRequestPriority.optional(),
|
|
63
|
+
completedAt: core.serialization.property("completed_at", core.serialization.date().optional()),
|
|
64
64
|
integrationParams: core.serialization.property("integration_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
65
65
|
linkedAccountParams: core.serialization.property("linked_account_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
|
|
66
66
|
remoteFields: core.serialization.property("remote_fields", core.serialization.list(RemoteFieldRequest_1.RemoteFieldRequest).optional()),
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.
|
|
1
|
+
export declare const SDK_VERSION = "2.2.0";
|
package/version.js
CHANGED