@mergeapi/merge-node-client 2.1.1 → 2.1.2

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.
Files changed (58) hide show
  1. package/.mock/definition/accounting/__package__.yml +1 -0
  2. package/.mock/definition/accounting/contacts.yml +1 -0
  3. package/.mock/definition/accounting/expenseReports.yml +2 -0
  4. package/.mock/definition/accounting/expenses.yml +2 -0
  5. package/.mock/definition/accounting/invoices.yml +2 -0
  6. package/.mock/definition/accounting/journalEntries.yml +2 -0
  7. package/.mock/definition/accounting/payments.yml +2 -0
  8. package/.mock/definition/accounting/purchaseOrders.yml +2 -0
  9. package/.mock/definition/crm/__package__.yml +1 -0
  10. package/.mock/definition/crm/accounts.yml +1 -0
  11. package/.mock/definition/crm/contacts.yml +1 -0
  12. package/.mock/definition/crm/customObjects.yml +1 -0
  13. package/.mock/definition/crm/engagementTypes.yml +1 -0
  14. package/.mock/definition/crm/engagements.yml +1 -0
  15. package/.mock/definition/crm/leads.yml +1 -0
  16. package/.mock/definition/crm/notes.yml +1 -0
  17. package/.mock/definition/crm/opportunities.yml +1 -0
  18. package/.mock/definition/crm/stages.yml +1 -0
  19. package/.mock/definition/crm/tasks.yml +1 -0
  20. package/.mock/definition/crm/users.yml +1 -0
  21. package/.mock/definition/ticketing/__package__.yml +1 -0
  22. package/.mock/definition/ticketing/tickets.yml +1 -0
  23. package/Client.d.ts +3 -3
  24. package/Client.js +11 -11
  25. package/api/resources/accounting/types/RemoteFieldClass.d.ts +1 -0
  26. package/api/resources/crm/types/RemoteFieldClass.d.ts +1 -0
  27. package/api/resources/index.d.ts +1 -1
  28. package/api/resources/index.js +2 -2
  29. package/api/resources/ticketing/types/RemoteFieldClass.d.ts +1 -0
  30. package/dist/Client.d.ts +3 -3
  31. package/dist/Client.js +11 -11
  32. package/dist/api/resources/accounting/types/RemoteFieldClass.d.ts +1 -0
  33. package/dist/api/resources/crm/types/RemoteFieldClass.d.ts +1 -0
  34. package/dist/api/resources/index.d.ts +1 -1
  35. package/dist/api/resources/index.js +2 -2
  36. package/dist/api/resources/ticketing/types/RemoteFieldClass.d.ts +1 -0
  37. package/dist/serialization/resources/accounting/types/RemoteFieldClass.d.ts +1 -0
  38. package/dist/serialization/resources/accounting/types/RemoteFieldClass.js +1 -0
  39. package/dist/serialization/resources/crm/types/RemoteFieldClass.d.ts +1 -0
  40. package/dist/serialization/resources/crm/types/RemoteFieldClass.js +1 -0
  41. package/dist/serialization/resources/index.d.ts +1 -1
  42. package/dist/serialization/resources/index.js +2 -2
  43. package/dist/serialization/resources/ticketing/types/RemoteFieldClass.d.ts +1 -0
  44. package/dist/serialization/resources/ticketing/types/RemoteFieldClass.js +1 -0
  45. package/dist/version.d.ts +1 -1
  46. package/dist/version.js +1 -1
  47. package/package.json +1 -1
  48. package/reference.md +2015 -2015
  49. package/serialization/resources/accounting/types/RemoteFieldClass.d.ts +1 -0
  50. package/serialization/resources/accounting/types/RemoteFieldClass.js +1 -0
  51. package/serialization/resources/crm/types/RemoteFieldClass.d.ts +1 -0
  52. package/serialization/resources/crm/types/RemoteFieldClass.js +1 -0
  53. package/serialization/resources/index.d.ts +1 -1
  54. package/serialization/resources/index.js +2 -2
  55. package/serialization/resources/ticketing/types/RemoteFieldClass.d.ts +1 -0
  56. package/serialization/resources/ticketing/types/RemoteFieldClass.js +1 -0
  57. package/version.d.ts +1 -1
  58. package/version.js +1 -1
@@ -51609,6 +51609,7 @@ types:
51609
51609
  remote_key_name: optional<string>
51610
51610
  description: optional<string>
51611
51611
  is_custom: optional<boolean>
51612
+ is_common_model_field: optional<boolean>
51612
51613
  is_required: optional<boolean>
51613
51614
  field_type: optional<FieldTypeEnum>
51614
51615
  field_format: optional<FieldFormatEnum>
@@ -593,6 +593,7 @@ service:
593
593
  remote_key_name: remote_key_name
594
594
  description: description
595
595
  is_custom: true
596
+ is_common_model_field: true
596
597
  is_required: true
597
598
  field_type: string
598
599
  field_format: string
@@ -680,6 +680,7 @@ service:
680
680
  remote_key_name: remote_key_name
681
681
  description: description
682
682
  is_custom: true
683
+ is_common_model_field: true
683
684
  is_required: true
684
685
  field_type: string
685
686
  field_format: string
@@ -929,6 +930,7 @@ service:
929
930
  remote_key_name: remote_key_name
930
931
  description: description
931
932
  is_custom: true
933
+ is_common_model_field: true
932
934
  is_required: true
933
935
  field_type: string
934
936
  field_format: string
@@ -706,6 +706,7 @@ service:
706
706
  remote_key_name: remote_key_name
707
707
  description: description
708
708
  is_custom: true
709
+ is_common_model_field: true
709
710
  is_required: true
710
711
  field_type: string
711
712
  field_format: string
@@ -955,6 +956,7 @@ service:
955
956
  remote_key_name: remote_key_name
956
957
  description: description
957
958
  is_custom: true
959
+ is_common_model_field: true
958
960
  is_required: true
959
961
  field_type: string
960
962
  field_format: string
@@ -27654,6 +27654,7 @@ service:
27654
27654
  remote_key_name: remote_key_name
27655
27655
  description: description
27656
27656
  is_custom: true
27657
+ is_common_model_field: true
27657
27658
  is_required: true
27658
27659
  field_type: string
27659
27660
  field_format: string
@@ -28091,6 +28092,7 @@ service:
28091
28092
  remote_key_name: remote_key_name
28092
28093
  description: description
28093
28094
  is_custom: true
28095
+ is_common_model_field: true
28094
28096
  is_required: true
28095
28097
  field_type: string
28096
28098
  field_format: string
@@ -701,6 +701,7 @@ service:
701
701
  remote_key_name: remote_key_name
702
702
  description: description
703
703
  is_custom: true
704
+ is_common_model_field: true
704
705
  is_required: true
705
706
  field_type: string
706
707
  field_format: string
@@ -950,6 +951,7 @@ service:
950
951
  remote_key_name: remote_key_name
951
952
  description: description
952
953
  is_custom: true
954
+ is_common_model_field: true
953
955
  is_required: true
954
956
  field_type: string
955
957
  field_format: string
@@ -1036,6 +1036,7 @@ service:
1036
1036
  remote_key_name: remote_key_name
1037
1037
  description: description
1038
1038
  is_custom: true
1039
+ is_common_model_field: true
1039
1040
  is_required: true
1040
1041
  field_type: string
1041
1042
  field_format: string
@@ -1473,6 +1474,7 @@ service:
1473
1474
  remote_key_name: remote_key_name
1474
1475
  description: description
1475
1476
  is_custom: true
1477
+ is_common_model_field: true
1476
1478
  is_required: true
1477
1479
  field_type: string
1478
1480
  field_format: string
@@ -1031,6 +1031,7 @@ service:
1031
1031
  remote_key_name: remote_key_name
1032
1032
  description: description
1033
1033
  is_custom: true
1034
+ is_common_model_field: true
1034
1035
  is_required: true
1035
1036
  field_type: string
1036
1037
  field_format: string
@@ -1280,6 +1281,7 @@ service:
1280
1281
  remote_key_name: remote_key_name
1281
1282
  description: description
1282
1283
  is_custom: true
1284
+ is_common_model_field: true
1283
1285
  is_required: true
1284
1286
  field_type: string
1285
1287
  field_format: string
@@ -5158,6 +5158,7 @@ types:
5158
5158
  remote_key_name: optional<string>
5159
5159
  description: optional<string>
5160
5160
  is_custom: optional<boolean>
5161
+ is_common_model_field: optional<boolean>
5161
5162
  is_required: optional<boolean>
5162
5163
  field_type: optional<RemoteFieldClassFieldType>
5163
5164
  field_format: optional<RemoteFieldClassFieldFormat>
@@ -837,6 +837,7 @@ service:
837
837
  remote_key_name: remote_key_name
838
838
  description: description
839
839
  is_custom: true
840
+ is_common_model_field: true
840
841
  is_required: true
841
842
  field_type: string
842
843
  field_format: string
@@ -891,6 +891,7 @@ service:
891
891
  remote_key_name: remote_key_name
892
892
  description: description
893
893
  is_custom: true
894
+ is_common_model_field: true
894
895
  is_required: true
895
896
  field_type: string
896
897
  field_format: string
@@ -467,6 +467,7 @@ service:
467
467
  remote_key_name: remote_key_name
468
468
  description: description
469
469
  is_custom: true
470
+ is_common_model_field: true
470
471
  is_required: true
471
472
  field_type: string
472
473
  field_format: string
@@ -195,6 +195,7 @@ service:
195
195
  remote_key_name: remote_key_name
196
196
  description: description
197
197
  is_custom: true
198
+ is_common_model_field: true
198
199
  is_required: true
199
200
  field_type: string
200
201
  field_format: string
@@ -846,6 +846,7 @@ service:
846
846
  remote_key_name: remote_key_name
847
847
  description: description
848
848
  is_custom: true
849
+ is_common_model_field: true
849
850
  is_required: true
850
851
  field_type: string
851
852
  field_format: string
@@ -617,6 +617,7 @@ service:
617
617
  remote_key_name: remote_key_name
618
618
  description: description
619
619
  is_custom: true
620
+ is_common_model_field: true
620
621
  is_required: true
621
622
  field_type: string
622
623
  field_format: string
@@ -568,6 +568,7 @@ service:
568
568
  remote_key_name: remote_key_name
569
569
  description: description
570
570
  is_custom: true
571
+ is_common_model_field: true
571
572
  is_required: true
572
573
  field_type: string
573
574
  field_format: string
@@ -859,6 +859,7 @@ service:
859
859
  remote_key_name: remote_key_name
860
860
  description: description
861
861
  is_custom: true
862
+ is_common_model_field: true
862
863
  is_required: true
863
864
  field_type: string
864
865
  field_format: string
@@ -213,6 +213,7 @@ service:
213
213
  remote_key_name: remote_key_name
214
214
  description: description
215
215
  is_custom: true
216
+ is_common_model_field: true
216
217
  is_required: true
217
218
  field_type: string
218
219
  field_format: string
@@ -798,6 +798,7 @@ service:
798
798
  remote_key_name: remote_key_name
799
799
  description: description
800
800
  is_custom: true
801
+ is_common_model_field: true
801
802
  is_required: true
802
803
  field_type: string
803
804
  field_format: string
@@ -242,6 +242,7 @@ service:
242
242
  remote_key_name: remote_key_name
243
243
  description: description
244
244
  is_custom: true
245
+ is_common_model_field: true
245
246
  is_required: true
246
247
  field_type: string
247
248
  field_format: string
@@ -2319,6 +2319,7 @@ types:
2319
2319
  remote_key_name: optional<string>
2320
2320
  description: optional<string>
2321
2321
  is_custom: optional<boolean>
2322
+ is_common_model_field: optional<boolean>
2322
2323
  is_required: optional<boolean>
2323
2324
  field_type: optional<RemoteFieldClassFieldType>
2324
2325
  field_format: optional<RemoteFieldClassFieldFormat>
@@ -2142,6 +2142,7 @@ service:
2142
2142
  remote_key_name: remote_key_name
2143
2143
  description: description
2144
2144
  is_custom: true
2145
+ is_common_model_field: true
2145
2146
  is_required: true
2146
2147
  field_type: field_type
2147
2148
  field_format: field_format
package/Client.d.ts CHANGED
@@ -3,9 +3,9 @@
3
3
  */
4
4
  import * as environments from "./environments";
5
5
  import * as core from "./core";
6
+ import { Ats } from "./api/resources/ats/client/Client";
6
7
  import { Crm } from "./api/resources/crm/client/Client";
7
8
  import { Filestorage } from "./api/resources/filestorage/client/Client";
8
- import { Ats } from "./api/resources/ats/client/Client";
9
9
  import { Hris } from "./api/resources/hris/client/Client";
10
10
  import { Ticketing } from "./api/resources/ticketing/client/Client";
11
11
  import { Accounting } from "./api/resources/accounting/client/Client";
@@ -38,16 +38,16 @@ export declare namespace MergeClient {
38
38
  }
39
39
  export declare class MergeClient {
40
40
  protected readonly _options: MergeClient.Options;
41
+ protected _ats: Ats | undefined;
41
42
  protected _crm: Crm | undefined;
42
43
  protected _filestorage: Filestorage | undefined;
43
- protected _ats: Ats | undefined;
44
44
  protected _hris: Hris | undefined;
45
45
  protected _ticketing: Ticketing | undefined;
46
46
  protected _accounting: Accounting | undefined;
47
47
  constructor(_options: MergeClient.Options);
48
+ get ats(): Ats;
48
49
  get crm(): Crm;
49
50
  get filestorage(): Filestorage;
50
- get ats(): Ats;
51
51
  get hris(): Hris;
52
52
  get ticketing(): Ticketing;
53
53
  get accounting(): Accounting;
package/Client.js CHANGED
@@ -39,9 +39,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.MergeClient = void 0;
40
40
  const core = __importStar(require("./core"));
41
41
  const headers_1 = require("./core/headers");
42
- const Client_1 = require("./api/resources/crm/client/Client");
43
- const Client_2 = require("./api/resources/filestorage/client/Client");
44
- const Client_3 = require("./api/resources/ats/client/Client");
42
+ const Client_1 = require("./api/resources/ats/client/Client");
43
+ const Client_2 = require("./api/resources/crm/client/Client");
44
+ const Client_3 = require("./api/resources/filestorage/client/Client");
45
45
  const Client_4 = require("./api/resources/hris/client/Client");
46
46
  const Client_5 = require("./api/resources/ticketing/client/Client");
47
47
  const Client_6 = require("./api/resources/accounting/client/Client");
@@ -51,23 +51,23 @@ class MergeClient {
51
51
  "X-Account-Token": _options === null || _options === void 0 ? void 0 : _options.accountToken,
52
52
  "X-Fern-Language": "JavaScript",
53
53
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
54
- "X-Fern-SDK-Version": "2.1.1",
55
- "User-Agent": "@mergeapi/merge-node-client/2.1.1",
54
+ "X-Fern-SDK-Version": "2.1.2",
55
+ "User-Agent": "@mergeapi/merge-node-client/2.1.2",
56
56
  "X-Fern-Runtime": core.RUNTIME.type,
57
57
  "X-Fern-Runtime-Version": core.RUNTIME.version,
58
58
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
59
59
  }
60
- get crm() {
60
+ get ats() {
61
61
  var _a;
62
- return ((_a = this._crm) !== null && _a !== void 0 ? _a : (this._crm = new Client_1.Crm(this._options)));
62
+ return ((_a = this._ats) !== null && _a !== void 0 ? _a : (this._ats = new Client_1.Ats(this._options)));
63
63
  }
64
- get filestorage() {
64
+ get crm() {
65
65
  var _a;
66
- return ((_a = this._filestorage) !== null && _a !== void 0 ? _a : (this._filestorage = new Client_2.Filestorage(this._options)));
66
+ return ((_a = this._crm) !== null && _a !== void 0 ? _a : (this._crm = new Client_2.Crm(this._options)));
67
67
  }
68
- get ats() {
68
+ get filestorage() {
69
69
  var _a;
70
- return ((_a = this._ats) !== null && _a !== void 0 ? _a : (this._ats = new Client_3.Ats(this._options)));
70
+ return ((_a = this._filestorage) !== null && _a !== void 0 ? _a : (this._filestorage = new Client_3.Filestorage(this._options)));
71
71
  }
72
72
  get hris() {
73
73
  var _a;
@@ -8,6 +8,7 @@ export interface RemoteFieldClass {
8
8
  remoteKeyName?: string;
9
9
  description?: string;
10
10
  isCustom?: boolean;
11
+ isCommonModelField?: boolean;
11
12
  isRequired?: boolean;
12
13
  fieldType?: Merge.accounting.FieldTypeEnum;
13
14
  fieldFormat?: Merge.accounting.FieldFormatEnum;
@@ -8,6 +8,7 @@ export interface RemoteFieldClass {
8
8
  remoteKeyName?: string;
9
9
  description?: string;
10
10
  isCustom?: boolean;
11
+ isCommonModelField?: boolean;
11
12
  isRequired?: boolean;
12
13
  fieldType?: Merge.crm.RemoteFieldClassFieldType;
13
14
  fieldFormat?: Merge.crm.RemoteFieldClassFieldFormat;
@@ -1,6 +1,6 @@
1
+ export * as ats from "./ats";
1
2
  export * as crm from "./crm";
2
3
  export * as filestorage from "./filestorage";
3
- export * as ats from "./ats";
4
4
  export * as hris from "./hris";
5
5
  export * as ticketing from "./ticketing";
6
6
  export * as accounting from "./accounting";
@@ -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.ats = exports.filestorage = exports.crm = void 0;
36
+ exports.accounting = exports.ticketing = exports.hris = exports.filestorage = exports.crm = exports.ats = void 0;
37
+ exports.ats = __importStar(require("./ats"));
37
38
  exports.crm = __importStar(require("./crm"));
38
39
  exports.filestorage = __importStar(require("./filestorage"));
39
- exports.ats = __importStar(require("./ats"));
40
40
  exports.hris = __importStar(require("./hris"));
41
41
  exports.ticketing = __importStar(require("./ticketing"));
42
42
  exports.accounting = __importStar(require("./accounting"));
@@ -8,6 +8,7 @@ export interface RemoteFieldClass {
8
8
  remoteKeyName?: string;
9
9
  description?: string;
10
10
  isCustom?: boolean;
11
+ isCommonModelField?: boolean;
11
12
  isRequired?: boolean;
12
13
  fieldType?: Merge.ticketing.RemoteFieldClassFieldType;
13
14
  fieldFormat?: Merge.ticketing.RemoteFieldClassFieldFormat;
package/dist/Client.d.ts CHANGED
@@ -3,9 +3,9 @@
3
3
  */
4
4
  import * as environments from "./environments";
5
5
  import * as core from "./core";
6
+ import { Ats } from "./api/resources/ats/client/Client";
6
7
  import { Crm } from "./api/resources/crm/client/Client";
7
8
  import { Filestorage } from "./api/resources/filestorage/client/Client";
8
- import { Ats } from "./api/resources/ats/client/Client";
9
9
  import { Hris } from "./api/resources/hris/client/Client";
10
10
  import { Ticketing } from "./api/resources/ticketing/client/Client";
11
11
  import { Accounting } from "./api/resources/accounting/client/Client";
@@ -38,16 +38,16 @@ export declare namespace MergeClient {
38
38
  }
39
39
  export declare class MergeClient {
40
40
  protected readonly _options: MergeClient.Options;
41
+ protected _ats: Ats | undefined;
41
42
  protected _crm: Crm | undefined;
42
43
  protected _filestorage: Filestorage | undefined;
43
- protected _ats: Ats | undefined;
44
44
  protected _hris: Hris | undefined;
45
45
  protected _ticketing: Ticketing | undefined;
46
46
  protected _accounting: Accounting | undefined;
47
47
  constructor(_options: MergeClient.Options);
48
+ get ats(): Ats;
48
49
  get crm(): Crm;
49
50
  get filestorage(): Filestorage;
50
- get ats(): Ats;
51
51
  get hris(): Hris;
52
52
  get ticketing(): Ticketing;
53
53
  get accounting(): Accounting;
package/dist/Client.js CHANGED
@@ -39,9 +39,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.MergeClient = void 0;
40
40
  const core = __importStar(require("./core"));
41
41
  const headers_1 = require("./core/headers");
42
- const Client_1 = require("./api/resources/crm/client/Client");
43
- const Client_2 = require("./api/resources/filestorage/client/Client");
44
- const Client_3 = require("./api/resources/ats/client/Client");
42
+ const Client_1 = require("./api/resources/ats/client/Client");
43
+ const Client_2 = require("./api/resources/crm/client/Client");
44
+ const Client_3 = require("./api/resources/filestorage/client/Client");
45
45
  const Client_4 = require("./api/resources/hris/client/Client");
46
46
  const Client_5 = require("./api/resources/ticketing/client/Client");
47
47
  const Client_6 = require("./api/resources/accounting/client/Client");
@@ -51,23 +51,23 @@ class MergeClient {
51
51
  "X-Account-Token": _options === null || _options === void 0 ? void 0 : _options.accountToken,
52
52
  "X-Fern-Language": "JavaScript",
53
53
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
54
- "X-Fern-SDK-Version": "2.1.1",
55
- "User-Agent": "@mergeapi/merge-node-client/2.1.1",
54
+ "X-Fern-SDK-Version": "2.1.2",
55
+ "User-Agent": "@mergeapi/merge-node-client/2.1.2",
56
56
  "X-Fern-Runtime": core.RUNTIME.type,
57
57
  "X-Fern-Runtime-Version": core.RUNTIME.version,
58
58
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
59
59
  }
60
- get crm() {
60
+ get ats() {
61
61
  var _a;
62
- return ((_a = this._crm) !== null && _a !== void 0 ? _a : (this._crm = new Client_1.Crm(this._options)));
62
+ return ((_a = this._ats) !== null && _a !== void 0 ? _a : (this._ats = new Client_1.Ats(this._options)));
63
63
  }
64
- get filestorage() {
64
+ get crm() {
65
65
  var _a;
66
- return ((_a = this._filestorage) !== null && _a !== void 0 ? _a : (this._filestorage = new Client_2.Filestorage(this._options)));
66
+ return ((_a = this._crm) !== null && _a !== void 0 ? _a : (this._crm = new Client_2.Crm(this._options)));
67
67
  }
68
- get ats() {
68
+ get filestorage() {
69
69
  var _a;
70
- return ((_a = this._ats) !== null && _a !== void 0 ? _a : (this._ats = new Client_3.Ats(this._options)));
70
+ return ((_a = this._filestorage) !== null && _a !== void 0 ? _a : (this._filestorage = new Client_3.Filestorage(this._options)));
71
71
  }
72
72
  get hris() {
73
73
  var _a;
@@ -8,6 +8,7 @@ export interface RemoteFieldClass {
8
8
  remoteKeyName?: string;
9
9
  description?: string;
10
10
  isCustom?: boolean;
11
+ isCommonModelField?: boolean;
11
12
  isRequired?: boolean;
12
13
  fieldType?: Merge.accounting.FieldTypeEnum;
13
14
  fieldFormat?: Merge.accounting.FieldFormatEnum;
@@ -8,6 +8,7 @@ export interface RemoteFieldClass {
8
8
  remoteKeyName?: string;
9
9
  description?: string;
10
10
  isCustom?: boolean;
11
+ isCommonModelField?: boolean;
11
12
  isRequired?: boolean;
12
13
  fieldType?: Merge.crm.RemoteFieldClassFieldType;
13
14
  fieldFormat?: Merge.crm.RemoteFieldClassFieldFormat;
@@ -1,6 +1,6 @@
1
+ export * as ats from "./ats";
1
2
  export * as crm from "./crm";
2
3
  export * as filestorage from "./filestorage";
3
- export * as ats from "./ats";
4
4
  export * as hris from "./hris";
5
5
  export * as ticketing from "./ticketing";
6
6
  export * as accounting from "./accounting";
@@ -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.ats = exports.filestorage = exports.crm = void 0;
36
+ exports.accounting = exports.ticketing = exports.hris = exports.filestorage = exports.crm = exports.ats = void 0;
37
+ exports.ats = __importStar(require("./ats"));
37
38
  exports.crm = __importStar(require("./crm"));
38
39
  exports.filestorage = __importStar(require("./filestorage"));
39
- exports.ats = __importStar(require("./ats"));
40
40
  exports.hris = __importStar(require("./hris"));
41
41
  exports.ticketing = __importStar(require("./ticketing"));
42
42
  exports.accounting = __importStar(require("./accounting"));
@@ -8,6 +8,7 @@ export interface RemoteFieldClass {
8
8
  remoteKeyName?: string;
9
9
  description?: string;
10
10
  isCustom?: boolean;
11
+ isCommonModelField?: boolean;
11
12
  isRequired?: boolean;
12
13
  fieldType?: Merge.ticketing.RemoteFieldClassFieldType;
13
14
  fieldFormat?: Merge.ticketing.RemoteFieldClassFieldFormat;
@@ -15,6 +15,7 @@ export declare namespace RemoteFieldClass {
15
15
  remote_key_name?: string | null;
16
16
  description?: string | null;
17
17
  is_custom?: boolean | null;
18
+ is_common_model_field?: boolean | null;
18
19
  is_required?: boolean | null;
19
20
  field_type?: FieldTypeEnum.Raw | null;
20
21
  field_format?: FieldFormatEnum.Raw | null;
@@ -47,6 +47,7 @@ exports.RemoteFieldClass = core.serialization.object({
47
47
  remoteKeyName: core.serialization.property("remote_key_name", core.serialization.string().optional()),
48
48
  description: core.serialization.string().optional(),
49
49
  isCustom: core.serialization.property("is_custom", core.serialization.boolean().optional()),
50
+ isCommonModelField: core.serialization.property("is_common_model_field", core.serialization.boolean().optional()),
50
51
  isRequired: core.serialization.property("is_required", core.serialization.boolean().optional()),
51
52
  fieldType: core.serialization.property("field_type", FieldTypeEnum_1.FieldTypeEnum.optional()),
52
53
  fieldFormat: core.serialization.property("field_format", FieldFormatEnum_1.FieldFormatEnum.optional()),
@@ -16,6 +16,7 @@ export declare namespace RemoteFieldClass {
16
16
  remote_key_name?: string | null;
17
17
  description?: string | null;
18
18
  is_custom?: boolean | null;
19
+ is_common_model_field?: boolean | null;
19
20
  is_required?: boolean | null;
20
21
  field_type?: RemoteFieldClassFieldType.Raw | null;
21
22
  field_format?: RemoteFieldClassFieldFormat.Raw | null;
@@ -48,6 +48,7 @@ exports.RemoteFieldClass = core.serialization.object({
48
48
  remoteKeyName: core.serialization.property("remote_key_name", core.serialization.string().optional()),
49
49
  description: core.serialization.string().optional(),
50
50
  isCustom: core.serialization.property("is_custom", core.serialization.boolean().optional()),
51
+ isCommonModelField: core.serialization.property("is_common_model_field", core.serialization.boolean().optional()),
51
52
  isRequired: core.serialization.property("is_required", core.serialization.boolean().optional()),
52
53
  fieldType: core.serialization.property("field_type", RemoteFieldClassFieldType_1.RemoteFieldClassFieldType.optional()),
53
54
  fieldFormat: core.serialization.property("field_format", RemoteFieldClassFieldFormat_1.RemoteFieldClassFieldFormat.optional()),
@@ -1,6 +1,6 @@
1
+ export * as ats from "./ats";
1
2
  export * as crm from "./crm";
2
3
  export * as filestorage from "./filestorage";
3
- export * as ats from "./ats";
4
4
  export * as hris from "./hris";
5
5
  export * as ticketing from "./ticketing";
6
6
  export * as accounting from "./accounting";
@@ -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.ats = exports.filestorage = exports.crm = void 0;
36
+ exports.accounting = exports.ticketing = exports.hris = exports.filestorage = exports.crm = exports.ats = void 0;
37
+ exports.ats = __importStar(require("./ats"));
37
38
  exports.crm = __importStar(require("./crm"));
38
39
  exports.filestorage = __importStar(require("./filestorage"));
39
- exports.ats = __importStar(require("./ats"));
40
40
  exports.hris = __importStar(require("./hris"));
41
41
  exports.ticketing = __importStar(require("./ticketing"));
42
42
  exports.accounting = __importStar(require("./accounting"));
@@ -16,6 +16,7 @@ export declare namespace RemoteFieldClass {
16
16
  remote_key_name?: string | null;
17
17
  description?: string | null;
18
18
  is_custom?: boolean | null;
19
+ is_common_model_field?: boolean | null;
19
20
  is_required?: boolean | null;
20
21
  field_type?: RemoteFieldClassFieldType.Raw | null;
21
22
  field_format?: RemoteFieldClassFieldFormat.Raw | null;
@@ -48,6 +48,7 @@ exports.RemoteFieldClass = core.serialization.object({
48
48
  remoteKeyName: core.serialization.property("remote_key_name", core.serialization.string().optional()),
49
49
  description: core.serialization.string().optional(),
50
50
  isCustom: core.serialization.property("is_custom", core.serialization.boolean().optional()),
51
+ isCommonModelField: core.serialization.property("is_common_model_field", core.serialization.boolean().optional()),
51
52
  isRequired: core.serialization.property("is_required", core.serialization.boolean().optional()),
52
53
  fieldType: core.serialization.property("field_type", RemoteFieldClassFieldType_1.RemoteFieldClassFieldType.optional()),
53
54
  fieldFormat: core.serialization.property("field_format", RemoteFieldClassFieldFormat_1.RemoteFieldClassFieldFormat.optional()),
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.1.1";
1
+ export declare const SDK_VERSION = "2.1.2";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "2.1.1";
4
+ exports.SDK_VERSION = "2.1.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mergeapi/merge-node-client",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "private": false,
5
5
  "repository": "github:merge-api/merge-node-client",
6
6
  "main": "./index.js",