@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
|
@@ -41304,6 +41304,83 @@ types:
|
|
|
41304
41304
|
results: optional<list<VendorCredit>>
|
|
41305
41305
|
source:
|
|
41306
41306
|
openapi: openapi/openapi.yml
|
|
41307
|
+
PatchedContactRequestAddressesItem:
|
|
41308
|
+
discriminated: false
|
|
41309
|
+
union:
|
|
41310
|
+
- type: string
|
|
41311
|
+
validation:
|
|
41312
|
+
format: uuid
|
|
41313
|
+
- Address
|
|
41314
|
+
source:
|
|
41315
|
+
openapi: openapi/openapi.yml
|
|
41316
|
+
inline: true
|
|
41317
|
+
PatchedContactRequest:
|
|
41318
|
+
docs: >-
|
|
41319
|
+
# The Contact Object
|
|
41320
|
+
|
|
41321
|
+
### Description
|
|
41322
|
+
|
|
41323
|
+
A `Contact` is an individual or business entity to which products and
|
|
41324
|
+
services are sold to or purchased from. The `Contact` model contains both
|
|
41325
|
+
Customers, in which products and services are sold to, and Vendors (or
|
|
41326
|
+
Suppliers), in which products and services are purchased from.
|
|
41327
|
+
|
|
41328
|
+
* A `Contact` is a Vendor/Supplier if the `is_supplier` property is true.
|
|
41329
|
+
|
|
41330
|
+
* A `Contact` is a customer if the `is_customer` property is true.
|
|
41331
|
+
|
|
41332
|
+
|
|
41333
|
+
### Usage Example
|
|
41334
|
+
|
|
41335
|
+
Fetch from the `LIST Contacts` endpoint and view a company's contacts.
|
|
41336
|
+
properties:
|
|
41337
|
+
name:
|
|
41338
|
+
type: optional<string>
|
|
41339
|
+
docs: The contact's name.
|
|
41340
|
+
is_supplier:
|
|
41341
|
+
type: optional<boolean>
|
|
41342
|
+
docs: Whether the contact is a supplier.
|
|
41343
|
+
is_customer:
|
|
41344
|
+
type: optional<boolean>
|
|
41345
|
+
docs: Whether the contact is a customer.
|
|
41346
|
+
email_address:
|
|
41347
|
+
type: optional<string>
|
|
41348
|
+
docs: The contact's email address.
|
|
41349
|
+
tax_number:
|
|
41350
|
+
type: optional<string>
|
|
41351
|
+
docs: The contact's tax number.
|
|
41352
|
+
status:
|
|
41353
|
+
type: optional<string>
|
|
41354
|
+
docs: |-
|
|
41355
|
+
The contact's status
|
|
41356
|
+
|
|
41357
|
+
* `ACTIVE` - ACTIVE
|
|
41358
|
+
* `ARCHIVED` - ARCHIVED
|
|
41359
|
+
currency:
|
|
41360
|
+
type: optional<string>
|
|
41361
|
+
docs: The currency the contact's transactions are in.
|
|
41362
|
+
company:
|
|
41363
|
+
type: optional<string>
|
|
41364
|
+
docs: The company the contact belongs to.
|
|
41365
|
+
validation:
|
|
41366
|
+
format: uuid
|
|
41367
|
+
addresses:
|
|
41368
|
+
type: optional<list<optional<PatchedContactRequestAddressesItem>>>
|
|
41369
|
+
docs: '`Address` object IDs for the given `Contacts` object.'
|
|
41370
|
+
phone_numbers:
|
|
41371
|
+
type: optional<list<AccountingPhoneNumberRequest>>
|
|
41372
|
+
docs: '`AccountingPhoneNumber` object for the given `Contacts` object.'
|
|
41373
|
+
integration_params:
|
|
41374
|
+
type: optional<map<string, unknown>>
|
|
41375
|
+
access: write-only
|
|
41376
|
+
linked_account_params:
|
|
41377
|
+
type: optional<map<string, unknown>>
|
|
41378
|
+
access: write-only
|
|
41379
|
+
remote_fields:
|
|
41380
|
+
type: optional<list<RemoteFieldRequest>>
|
|
41381
|
+
access: write-only
|
|
41382
|
+
source:
|
|
41383
|
+
openapi: openapi/openapi.yml
|
|
41307
41384
|
PatchedItemRequestRequestStatus:
|
|
41308
41385
|
discriminated: false
|
|
41309
41386
|
docs: |-
|
|
@@ -354,6 +354,286 @@ service:
|
|
|
354
354
|
- remote_field_class: remote_field_class
|
|
355
355
|
value:
|
|
356
356
|
key: value
|
|
357
|
+
partialUpdate:
|
|
358
|
+
path: /accounting/v1/contacts/{id}
|
|
359
|
+
method: PATCH
|
|
360
|
+
auth: true
|
|
361
|
+
docs: Updates a `Contact` object with the given `id`.
|
|
362
|
+
source:
|
|
363
|
+
openapi: openapi/openapi.yml
|
|
364
|
+
path-parameters:
|
|
365
|
+
id: string
|
|
366
|
+
request:
|
|
367
|
+
name: PatchedContactEndpointRequest
|
|
368
|
+
query-parameters:
|
|
369
|
+
is_debug_mode:
|
|
370
|
+
type: optional<boolean>
|
|
371
|
+
docs: >-
|
|
372
|
+
Whether to include debug fields (such as log file links) in the
|
|
373
|
+
response.
|
|
374
|
+
run_async:
|
|
375
|
+
type: optional<boolean>
|
|
376
|
+
docs: Whether or not third-party updates should be run asynchronously.
|
|
377
|
+
body:
|
|
378
|
+
properties:
|
|
379
|
+
model: root.PatchedContactRequest
|
|
380
|
+
content-type: application/json
|
|
381
|
+
response:
|
|
382
|
+
docs: ''
|
|
383
|
+
type: root.ContactResponse
|
|
384
|
+
status-code: 200
|
|
385
|
+
examples:
|
|
386
|
+
- path-parameters:
|
|
387
|
+
id: id
|
|
388
|
+
headers:
|
|
389
|
+
X-Account-Token: X-Account-Token
|
|
390
|
+
request:
|
|
391
|
+
model: {}
|
|
392
|
+
response:
|
|
393
|
+
body:
|
|
394
|
+
model:
|
|
395
|
+
id: c640b80b-fac9-409f-aa19-1f9221aec445
|
|
396
|
+
remote_id: '11167'
|
|
397
|
+
created_at: '2021-09-15T00:00:00Z'
|
|
398
|
+
modified_at: '2021-10-16T00:00:00Z'
|
|
399
|
+
name: Gil Feig's pickleball store
|
|
400
|
+
is_supplier: true
|
|
401
|
+
is_customer: true
|
|
402
|
+
email_address: pickleball@merge.dev
|
|
403
|
+
tax_number: 12-3456789
|
|
404
|
+
status: ACTIVE
|
|
405
|
+
currency: USD
|
|
406
|
+
remote_updated_at: '2020-03-31T00:00:00Z'
|
|
407
|
+
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5
|
|
408
|
+
addresses:
|
|
409
|
+
- 2f2702aa-8948-492b-a412-2acdf6d2c499
|
|
410
|
+
- d98c7428-8dda-48a8-a1da-c570f65e2375
|
|
411
|
+
phone_numbers:
|
|
412
|
+
- created_at: '2021-09-15T00:00:00Z'
|
|
413
|
+
modified_at: '2021-10-16T00:00:00Z'
|
|
414
|
+
number: '+3198675309'
|
|
415
|
+
type: Mobile
|
|
416
|
+
remote_was_deleted: true
|
|
417
|
+
field_mappings:
|
|
418
|
+
organization_defined_targets:
|
|
419
|
+
custom_key: custom_value
|
|
420
|
+
linked_account_defined_targets:
|
|
421
|
+
custom_key: custom_value
|
|
422
|
+
remote_data:
|
|
423
|
+
- path: /actions
|
|
424
|
+
data:
|
|
425
|
+
- Varies by platform
|
|
426
|
+
remote_fields:
|
|
427
|
+
- remote_field_class: remote_field_class
|
|
428
|
+
warnings:
|
|
429
|
+
- source:
|
|
430
|
+
pointer: pointer
|
|
431
|
+
title: Unrecognized Field
|
|
432
|
+
detail: An unrecognized field, age, was passed in with request data.
|
|
433
|
+
problem_type: UNRECOGNIZED_FIELD
|
|
434
|
+
errors:
|
|
435
|
+
- source:
|
|
436
|
+
pointer: pointer
|
|
437
|
+
title: Missing Required Field
|
|
438
|
+
detail: custom_fields is a required field on model.
|
|
439
|
+
problem_type: MISSING_REQUIRED_FIELD
|
|
440
|
+
logs:
|
|
441
|
+
- log_id: 99433219-8017-4acd-bb3c-ceb23d663832
|
|
442
|
+
dashboard_view: >-
|
|
443
|
+
https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832
|
|
444
|
+
log_summary:
|
|
445
|
+
url: www.exampleintegration.com/api/v1/exampleapi
|
|
446
|
+
method: POST
|
|
447
|
+
status_code: 200
|
|
448
|
+
metaPatchRetrieve:
|
|
449
|
+
path: /accounting/v1/contacts/meta/patch/{id}
|
|
450
|
+
method: GET
|
|
451
|
+
auth: true
|
|
452
|
+
docs: Returns metadata for `Contact` PATCHs.
|
|
453
|
+
source:
|
|
454
|
+
openapi: openapi/openapi.yml
|
|
455
|
+
path-parameters:
|
|
456
|
+
id: string
|
|
457
|
+
response:
|
|
458
|
+
docs: ''
|
|
459
|
+
type: root.MetaResponse
|
|
460
|
+
status-code: 200
|
|
461
|
+
examples:
|
|
462
|
+
- path-parameters:
|
|
463
|
+
id: id
|
|
464
|
+
headers:
|
|
465
|
+
X-Account-Token: X-Account-Token
|
|
466
|
+
response:
|
|
467
|
+
body:
|
|
468
|
+
request_schema:
|
|
469
|
+
type: object
|
|
470
|
+
properties:
|
|
471
|
+
model:
|
|
472
|
+
type: object
|
|
473
|
+
required:
|
|
474
|
+
- last_name
|
|
475
|
+
- first_name
|
|
476
|
+
- merge_categories
|
|
477
|
+
- new_york_city_neighborhood
|
|
478
|
+
- favorite_tv_shows
|
|
479
|
+
- favorite_watch
|
|
480
|
+
properties:
|
|
481
|
+
email_addresses:
|
|
482
|
+
type: array
|
|
483
|
+
items:
|
|
484
|
+
type: object
|
|
485
|
+
properties:
|
|
486
|
+
value:
|
|
487
|
+
type: string
|
|
488
|
+
title: value
|
|
489
|
+
email_address_type:
|
|
490
|
+
type: string
|
|
491
|
+
title: email_address_type
|
|
492
|
+
integration_params:
|
|
493
|
+
type: object
|
|
494
|
+
title: integration_params
|
|
495
|
+
properties: {}
|
|
496
|
+
linked_account_params:
|
|
497
|
+
type: object
|
|
498
|
+
title: linked_account_params
|
|
499
|
+
properties: {}
|
|
500
|
+
title: email_addresses
|
|
501
|
+
description: Array of email_addresses objects
|
|
502
|
+
urls:
|
|
503
|
+
type: array
|
|
504
|
+
items:
|
|
505
|
+
type: object
|
|
506
|
+
properties:
|
|
507
|
+
value:
|
|
508
|
+
type: string
|
|
509
|
+
title: value
|
|
510
|
+
url_type:
|
|
511
|
+
type: string
|
|
512
|
+
title: url_type
|
|
513
|
+
integration_params:
|
|
514
|
+
type: object
|
|
515
|
+
title: integration_params
|
|
516
|
+
properties: {}
|
|
517
|
+
linked_account_params:
|
|
518
|
+
type: object
|
|
519
|
+
title: linked_account_params
|
|
520
|
+
properties: {}
|
|
521
|
+
title: urls
|
|
522
|
+
description: Array of urls objects
|
|
523
|
+
first_name:
|
|
524
|
+
type: string
|
|
525
|
+
title: first_name
|
|
526
|
+
description: The first name.
|
|
527
|
+
last_name:
|
|
528
|
+
type: string
|
|
529
|
+
title: last_name
|
|
530
|
+
description: The last name.
|
|
531
|
+
phone_numbers:
|
|
532
|
+
type: array
|
|
533
|
+
items:
|
|
534
|
+
type: object
|
|
535
|
+
properties:
|
|
536
|
+
value:
|
|
537
|
+
type: string
|
|
538
|
+
title: value
|
|
539
|
+
phone_number_type:
|
|
540
|
+
type: string
|
|
541
|
+
title: phone_number_type
|
|
542
|
+
integration_params:
|
|
543
|
+
type: object
|
|
544
|
+
title: integration_params
|
|
545
|
+
properties: {}
|
|
546
|
+
linked_account_params:
|
|
547
|
+
type: object
|
|
548
|
+
title: linked_account_params
|
|
549
|
+
properties: {}
|
|
550
|
+
title: phone_numbers
|
|
551
|
+
description: Array of phone_numbers objects
|
|
552
|
+
tags:
|
|
553
|
+
type: array
|
|
554
|
+
items:
|
|
555
|
+
type: string
|
|
556
|
+
format: uuid
|
|
557
|
+
title: tags
|
|
558
|
+
description: Array of tags names
|
|
559
|
+
attachments:
|
|
560
|
+
type: array
|
|
561
|
+
items:
|
|
562
|
+
type: object
|
|
563
|
+
properties:
|
|
564
|
+
id:
|
|
565
|
+
type: string
|
|
566
|
+
title: id
|
|
567
|
+
file_url:
|
|
568
|
+
type: string
|
|
569
|
+
title: file_url
|
|
570
|
+
file_name:
|
|
571
|
+
type: string
|
|
572
|
+
title: file_name
|
|
573
|
+
attachment_type:
|
|
574
|
+
type: string
|
|
575
|
+
title: attachment_type
|
|
576
|
+
integration_params:
|
|
577
|
+
type: object
|
|
578
|
+
title: integration_params
|
|
579
|
+
properties: {}
|
|
580
|
+
linked_account_params:
|
|
581
|
+
type: object
|
|
582
|
+
title: linked_account_params
|
|
583
|
+
properties: {}
|
|
584
|
+
title: attachments
|
|
585
|
+
description: 'Array of attachments objects '
|
|
586
|
+
merge_categories:
|
|
587
|
+
type: array
|
|
588
|
+
categories:
|
|
589
|
+
type: string
|
|
590
|
+
enum:
|
|
591
|
+
- HRIS
|
|
592
|
+
- ATS
|
|
593
|
+
- Accounting
|
|
594
|
+
- Ticketing
|
|
595
|
+
- File Storage
|
|
596
|
+
- CRM
|
|
597
|
+
- Marketing Automation
|
|
598
|
+
enum_information:
|
|
599
|
+
- value: HRIS
|
|
600
|
+
description: Merge HRIS Category
|
|
601
|
+
- value: ATS
|
|
602
|
+
description: Merge ATS Category
|
|
603
|
+
- value: Accounting
|
|
604
|
+
description: Merge Accounting Category
|
|
605
|
+
- value: Ticketing
|
|
606
|
+
description: Merge Ticketing Category
|
|
607
|
+
- value: File Storage
|
|
608
|
+
description: Merge File Storage Category
|
|
609
|
+
- value: CRM
|
|
610
|
+
description: Merge CRM Category
|
|
611
|
+
- value: Marketing Automation
|
|
612
|
+
description: Merge Marketing Automation Category
|
|
613
|
+
title: Merge Categories
|
|
614
|
+
description: Array of Merge's Unified API Categories
|
|
615
|
+
new_york_city_neighborhood:
|
|
616
|
+
type: string
|
|
617
|
+
title: Borough
|
|
618
|
+
description: One of the 5 Boroughs of New York City
|
|
619
|
+
favorite_tv_shows:
|
|
620
|
+
type: array
|
|
621
|
+
items:
|
|
622
|
+
type: string
|
|
623
|
+
format: uuid
|
|
624
|
+
title: Favorite TV Shows
|
|
625
|
+
description: Array of TV Show objects on merge.tv_shows
|
|
626
|
+
favorite_watch:
|
|
627
|
+
type: string
|
|
628
|
+
title: Favorite Watch
|
|
629
|
+
description: Favorite watch of all time
|
|
630
|
+
remote_field_classes:
|
|
631
|
+
key: value
|
|
632
|
+
status:
|
|
633
|
+
linked_account_status: linked_account_status
|
|
634
|
+
can_make_request: true
|
|
635
|
+
has_conditional_params: true
|
|
636
|
+
has_required_linked_account_params: true
|
|
357
637
|
metaPostRetrieve:
|
|
358
638
|
path: /accounting/v1/contacts/meta/post
|
|
359
639
|
method: GET
|
|
@@ -4,60 +4,124 @@ types:
|
|
|
4
4
|
- account
|
|
5
5
|
- value: account,accounting_period
|
|
6
6
|
name: AccountAccountingPeriod
|
|
7
|
+
- value: account,company
|
|
8
|
+
name: AccountCompany
|
|
9
|
+
- value: account,company,accounting_period
|
|
10
|
+
name: AccountCompanyAccountingPeriod
|
|
7
11
|
- accounting_period
|
|
12
|
+
- company
|
|
13
|
+
- value: company,accounting_period
|
|
14
|
+
name: CompanyAccountingPeriod
|
|
8
15
|
- contact
|
|
9
16
|
- value: contact,account
|
|
10
17
|
name: ContactAccount
|
|
11
18
|
- value: contact,account,accounting_period
|
|
12
19
|
name: ContactAccountAccountingPeriod
|
|
20
|
+
- value: contact,account,company
|
|
21
|
+
name: ContactAccountCompany
|
|
22
|
+
- value: contact,account,company,accounting_period
|
|
23
|
+
name: ContactAccountCompanyAccountingPeriod
|
|
13
24
|
- value: contact,accounting_period
|
|
14
25
|
name: ContactAccountingPeriod
|
|
26
|
+
- value: contact,company
|
|
27
|
+
name: ContactCompany
|
|
28
|
+
- value: contact,company,accounting_period
|
|
29
|
+
name: ContactCompanyAccountingPeriod
|
|
15
30
|
- line_items
|
|
16
31
|
- value: line_items,account
|
|
17
32
|
name: LineItemsAccount
|
|
18
33
|
- value: line_items,account,accounting_period
|
|
19
34
|
name: LineItemsAccountAccountingPeriod
|
|
35
|
+
- value: line_items,account,company
|
|
36
|
+
name: LineItemsAccountCompany
|
|
37
|
+
- value: line_items,account,company,accounting_period
|
|
38
|
+
name: LineItemsAccountCompanyAccountingPeriod
|
|
20
39
|
- value: line_items,accounting_period
|
|
21
40
|
name: LineItemsAccountingPeriod
|
|
41
|
+
- value: line_items,company
|
|
42
|
+
name: LineItemsCompany
|
|
43
|
+
- value: line_items,company,accounting_period
|
|
44
|
+
name: LineItemsCompanyAccountingPeriod
|
|
22
45
|
- value: line_items,contact
|
|
23
46
|
name: LineItemsContact
|
|
24
47
|
- value: line_items,contact,account
|
|
25
48
|
name: LineItemsContactAccount
|
|
26
49
|
- value: line_items,contact,account,accounting_period
|
|
27
50
|
name: LineItemsContactAccountAccountingPeriod
|
|
51
|
+
- value: line_items,contact,account,company
|
|
52
|
+
name: LineItemsContactAccountCompany
|
|
53
|
+
- value: line_items,contact,account,company,accounting_period
|
|
54
|
+
name: LineItemsContactAccountCompanyAccountingPeriod
|
|
28
55
|
- value: line_items,contact,accounting_period
|
|
29
56
|
name: LineItemsContactAccountingPeriod
|
|
57
|
+
- value: line_items,contact,company
|
|
58
|
+
name: LineItemsContactCompany
|
|
59
|
+
- value: line_items,contact,company,accounting_period
|
|
60
|
+
name: LineItemsContactCompanyAccountingPeriod
|
|
30
61
|
- value: line_items,tracking_categories
|
|
31
62
|
name: LineItemsTrackingCategories
|
|
32
63
|
- value: line_items,tracking_categories,account
|
|
33
64
|
name: LineItemsTrackingCategoriesAccount
|
|
34
65
|
- value: line_items,tracking_categories,account,accounting_period
|
|
35
66
|
name: LineItemsTrackingCategoriesAccountAccountingPeriod
|
|
67
|
+
- value: line_items,tracking_categories,account,company
|
|
68
|
+
name: LineItemsTrackingCategoriesAccountCompany
|
|
69
|
+
- value: line_items,tracking_categories,account,company,accounting_period
|
|
70
|
+
name: LineItemsTrackingCategoriesAccountCompanyAccountingPeriod
|
|
36
71
|
- value: line_items,tracking_categories,accounting_period
|
|
37
72
|
name: LineItemsTrackingCategoriesAccountingPeriod
|
|
73
|
+
- value: line_items,tracking_categories,company
|
|
74
|
+
name: LineItemsTrackingCategoriesCompany
|
|
75
|
+
- value: line_items,tracking_categories,company,accounting_period
|
|
76
|
+
name: LineItemsTrackingCategoriesCompanyAccountingPeriod
|
|
38
77
|
- value: line_items,tracking_categories,contact
|
|
39
78
|
name: LineItemsTrackingCategoriesContact
|
|
40
79
|
- value: line_items,tracking_categories,contact,account
|
|
41
80
|
name: LineItemsTrackingCategoriesContactAccount
|
|
42
81
|
- value: line_items,tracking_categories,contact,account,accounting_period
|
|
43
82
|
name: LineItemsTrackingCategoriesContactAccountAccountingPeriod
|
|
83
|
+
- value: line_items,tracking_categories,contact,account,company
|
|
84
|
+
name: LineItemsTrackingCategoriesContactAccountCompany
|
|
85
|
+
- value: >-
|
|
86
|
+
line_items,tracking_categories,contact,account,company,accounting_period
|
|
87
|
+
name: LineItemsTrackingCategoriesContactAccountCompanyAccountingPeriod
|
|
44
88
|
- value: line_items,tracking_categories,contact,accounting_period
|
|
45
89
|
name: LineItemsTrackingCategoriesContactAccountingPeriod
|
|
90
|
+
- value: line_items,tracking_categories,contact,company
|
|
91
|
+
name: LineItemsTrackingCategoriesContactCompany
|
|
92
|
+
- value: line_items,tracking_categories,contact,company,accounting_period
|
|
93
|
+
name: LineItemsTrackingCategoriesContactCompanyAccountingPeriod
|
|
46
94
|
- tracking_categories
|
|
47
95
|
- value: tracking_categories,account
|
|
48
96
|
name: TrackingCategoriesAccount
|
|
49
97
|
- value: tracking_categories,account,accounting_period
|
|
50
98
|
name: TrackingCategoriesAccountAccountingPeriod
|
|
99
|
+
- value: tracking_categories,account,company
|
|
100
|
+
name: TrackingCategoriesAccountCompany
|
|
101
|
+
- value: tracking_categories,account,company,accounting_period
|
|
102
|
+
name: TrackingCategoriesAccountCompanyAccountingPeriod
|
|
51
103
|
- value: tracking_categories,accounting_period
|
|
52
104
|
name: TrackingCategoriesAccountingPeriod
|
|
105
|
+
- value: tracking_categories,company
|
|
106
|
+
name: TrackingCategoriesCompany
|
|
107
|
+
- value: tracking_categories,company,accounting_period
|
|
108
|
+
name: TrackingCategoriesCompanyAccountingPeriod
|
|
53
109
|
- value: tracking_categories,contact
|
|
54
110
|
name: TrackingCategoriesContact
|
|
55
111
|
- value: tracking_categories,contact,account
|
|
56
112
|
name: TrackingCategoriesContactAccount
|
|
57
113
|
- value: tracking_categories,contact,account,accounting_period
|
|
58
114
|
name: TrackingCategoriesContactAccountAccountingPeriod
|
|
115
|
+
- value: tracking_categories,contact,account,company
|
|
116
|
+
name: TrackingCategoriesContactAccountCompany
|
|
117
|
+
- value: tracking_categories,contact,account,company,accounting_period
|
|
118
|
+
name: TrackingCategoriesContactAccountCompanyAccountingPeriod
|
|
59
119
|
- value: tracking_categories,contact,accounting_period
|
|
60
120
|
name: TrackingCategoriesContactAccountingPeriod
|
|
121
|
+
- value: tracking_categories,contact,company
|
|
122
|
+
name: TrackingCategoriesContactCompany
|
|
123
|
+
- value: tracking_categories,contact,company,accounting_period
|
|
124
|
+
name: TrackingCategoriesContactCompanyAccountingPeriod
|
|
61
125
|
source:
|
|
62
126
|
openapi: openapi/openapi.yml
|
|
63
127
|
TransactionsRetrieveRequestExpand:
|
|
@@ -65,60 +129,124 @@ types:
|
|
|
65
129
|
- account
|
|
66
130
|
- value: account,accounting_period
|
|
67
131
|
name: AccountAccountingPeriod
|
|
132
|
+
- value: account,company
|
|
133
|
+
name: AccountCompany
|
|
134
|
+
- value: account,company,accounting_period
|
|
135
|
+
name: AccountCompanyAccountingPeriod
|
|
68
136
|
- accounting_period
|
|
137
|
+
- company
|
|
138
|
+
- value: company,accounting_period
|
|
139
|
+
name: CompanyAccountingPeriod
|
|
69
140
|
- contact
|
|
70
141
|
- value: contact,account
|
|
71
142
|
name: ContactAccount
|
|
72
143
|
- value: contact,account,accounting_period
|
|
73
144
|
name: ContactAccountAccountingPeriod
|
|
145
|
+
- value: contact,account,company
|
|
146
|
+
name: ContactAccountCompany
|
|
147
|
+
- value: contact,account,company,accounting_period
|
|
148
|
+
name: ContactAccountCompanyAccountingPeriod
|
|
74
149
|
- value: contact,accounting_period
|
|
75
150
|
name: ContactAccountingPeriod
|
|
151
|
+
- value: contact,company
|
|
152
|
+
name: ContactCompany
|
|
153
|
+
- value: contact,company,accounting_period
|
|
154
|
+
name: ContactCompanyAccountingPeriod
|
|
76
155
|
- line_items
|
|
77
156
|
- value: line_items,account
|
|
78
157
|
name: LineItemsAccount
|
|
79
158
|
- value: line_items,account,accounting_period
|
|
80
159
|
name: LineItemsAccountAccountingPeriod
|
|
160
|
+
- value: line_items,account,company
|
|
161
|
+
name: LineItemsAccountCompany
|
|
162
|
+
- value: line_items,account,company,accounting_period
|
|
163
|
+
name: LineItemsAccountCompanyAccountingPeriod
|
|
81
164
|
- value: line_items,accounting_period
|
|
82
165
|
name: LineItemsAccountingPeriod
|
|
166
|
+
- value: line_items,company
|
|
167
|
+
name: LineItemsCompany
|
|
168
|
+
- value: line_items,company,accounting_period
|
|
169
|
+
name: LineItemsCompanyAccountingPeriod
|
|
83
170
|
- value: line_items,contact
|
|
84
171
|
name: LineItemsContact
|
|
85
172
|
- value: line_items,contact,account
|
|
86
173
|
name: LineItemsContactAccount
|
|
87
174
|
- value: line_items,contact,account,accounting_period
|
|
88
175
|
name: LineItemsContactAccountAccountingPeriod
|
|
176
|
+
- value: line_items,contact,account,company
|
|
177
|
+
name: LineItemsContactAccountCompany
|
|
178
|
+
- value: line_items,contact,account,company,accounting_period
|
|
179
|
+
name: LineItemsContactAccountCompanyAccountingPeriod
|
|
89
180
|
- value: line_items,contact,accounting_period
|
|
90
181
|
name: LineItemsContactAccountingPeriod
|
|
182
|
+
- value: line_items,contact,company
|
|
183
|
+
name: LineItemsContactCompany
|
|
184
|
+
- value: line_items,contact,company,accounting_period
|
|
185
|
+
name: LineItemsContactCompanyAccountingPeriod
|
|
91
186
|
- value: line_items,tracking_categories
|
|
92
187
|
name: LineItemsTrackingCategories
|
|
93
188
|
- value: line_items,tracking_categories,account
|
|
94
189
|
name: LineItemsTrackingCategoriesAccount
|
|
95
190
|
- value: line_items,tracking_categories,account,accounting_period
|
|
96
191
|
name: LineItemsTrackingCategoriesAccountAccountingPeriod
|
|
192
|
+
- value: line_items,tracking_categories,account,company
|
|
193
|
+
name: LineItemsTrackingCategoriesAccountCompany
|
|
194
|
+
- value: line_items,tracking_categories,account,company,accounting_period
|
|
195
|
+
name: LineItemsTrackingCategoriesAccountCompanyAccountingPeriod
|
|
97
196
|
- value: line_items,tracking_categories,accounting_period
|
|
98
197
|
name: LineItemsTrackingCategoriesAccountingPeriod
|
|
198
|
+
- value: line_items,tracking_categories,company
|
|
199
|
+
name: LineItemsTrackingCategoriesCompany
|
|
200
|
+
- value: line_items,tracking_categories,company,accounting_period
|
|
201
|
+
name: LineItemsTrackingCategoriesCompanyAccountingPeriod
|
|
99
202
|
- value: line_items,tracking_categories,contact
|
|
100
203
|
name: LineItemsTrackingCategoriesContact
|
|
101
204
|
- value: line_items,tracking_categories,contact,account
|
|
102
205
|
name: LineItemsTrackingCategoriesContactAccount
|
|
103
206
|
- value: line_items,tracking_categories,contact,account,accounting_period
|
|
104
207
|
name: LineItemsTrackingCategoriesContactAccountAccountingPeriod
|
|
208
|
+
- value: line_items,tracking_categories,contact,account,company
|
|
209
|
+
name: LineItemsTrackingCategoriesContactAccountCompany
|
|
210
|
+
- value: >-
|
|
211
|
+
line_items,tracking_categories,contact,account,company,accounting_period
|
|
212
|
+
name: LineItemsTrackingCategoriesContactAccountCompanyAccountingPeriod
|
|
105
213
|
- value: line_items,tracking_categories,contact,accounting_period
|
|
106
214
|
name: LineItemsTrackingCategoriesContactAccountingPeriod
|
|
215
|
+
- value: line_items,tracking_categories,contact,company
|
|
216
|
+
name: LineItemsTrackingCategoriesContactCompany
|
|
217
|
+
- value: line_items,tracking_categories,contact,company,accounting_period
|
|
218
|
+
name: LineItemsTrackingCategoriesContactCompanyAccountingPeriod
|
|
107
219
|
- tracking_categories
|
|
108
220
|
- value: tracking_categories,account
|
|
109
221
|
name: TrackingCategoriesAccount
|
|
110
222
|
- value: tracking_categories,account,accounting_period
|
|
111
223
|
name: TrackingCategoriesAccountAccountingPeriod
|
|
224
|
+
- value: tracking_categories,account,company
|
|
225
|
+
name: TrackingCategoriesAccountCompany
|
|
226
|
+
- value: tracking_categories,account,company,accounting_period
|
|
227
|
+
name: TrackingCategoriesAccountCompanyAccountingPeriod
|
|
112
228
|
- value: tracking_categories,accounting_period
|
|
113
229
|
name: TrackingCategoriesAccountingPeriod
|
|
230
|
+
- value: tracking_categories,company
|
|
231
|
+
name: TrackingCategoriesCompany
|
|
232
|
+
- value: tracking_categories,company,accounting_period
|
|
233
|
+
name: TrackingCategoriesCompanyAccountingPeriod
|
|
114
234
|
- value: tracking_categories,contact
|
|
115
235
|
name: TrackingCategoriesContact
|
|
116
236
|
- value: tracking_categories,contact,account
|
|
117
237
|
name: TrackingCategoriesContactAccount
|
|
118
238
|
- value: tracking_categories,contact,account,accounting_period
|
|
119
239
|
name: TrackingCategoriesContactAccountAccountingPeriod
|
|
240
|
+
- value: tracking_categories,contact,account,company
|
|
241
|
+
name: TrackingCategoriesContactAccountCompany
|
|
242
|
+
- value: tracking_categories,contact,account,company,accounting_period
|
|
243
|
+
name: TrackingCategoriesContactAccountCompanyAccountingPeriod
|
|
120
244
|
- value: tracking_categories,contact,accounting_period
|
|
121
245
|
name: TrackingCategoriesContactAccountingPeriod
|
|
246
|
+
- value: tracking_categories,contact,company
|
|
247
|
+
name: TrackingCategoriesContactCompany
|
|
248
|
+
- value: tracking_categories,contact,company,accounting_period
|
|
249
|
+
name: TrackingCategoriesContactCompanyAccountingPeriod
|
|
122
250
|
source:
|
|
123
251
|
openapi: openapi/openapi.yml
|
|
124
252
|
imports:
|
|
@@ -142,6 +142,16 @@ service:
|
|
|
142
142
|
page_size:
|
|
143
143
|
type: optional<integer>
|
|
144
144
|
docs: Number of results to return per page.
|
|
145
|
+
remote_created_after:
|
|
146
|
+
type: optional<datetime>
|
|
147
|
+
docs: >-
|
|
148
|
+
If provided, will only return files created in the third party
|
|
149
|
+
platform after this datetime.
|
|
150
|
+
remote_created_before:
|
|
151
|
+
type: optional<datetime>
|
|
152
|
+
docs: >-
|
|
153
|
+
If provided, will only return files created in the third party
|
|
154
|
+
platform before this datetime.
|
|
145
155
|
remote_id:
|
|
146
156
|
type: optional<string>
|
|
147
157
|
docs: The API provider's ID for the given object.
|
|
@@ -438,6 +448,12 @@ service:
|
|
|
438
448
|
cursor:
|
|
439
449
|
type: optional<string>
|
|
440
450
|
docs: The pagination cursor value.
|
|
451
|
+
ids:
|
|
452
|
+
type: optional<string>
|
|
453
|
+
allow-multiple: true
|
|
454
|
+
docs: >-
|
|
455
|
+
If provided, will only return objects with the given IDs.
|
|
456
|
+
Comma-separated list of strings.
|
|
441
457
|
include_deleted_data:
|
|
442
458
|
type: optional<boolean>
|
|
443
459
|
docs: >-
|
|
@@ -689,6 +689,11 @@ types:
|
|
|
689
689
|
end_date:
|
|
690
690
|
type: optional<datetime>
|
|
691
691
|
docs: The day and time the benefit ended.
|
|
692
|
+
employer_benefit:
|
|
693
|
+
type: optional<string>
|
|
694
|
+
docs: The employer benefit plan the employee is enrolled in.
|
|
695
|
+
validation:
|
|
696
|
+
format: uuid
|
|
692
697
|
remote_was_deleted:
|
|
693
698
|
type: optional<boolean>
|
|
694
699
|
docs: >-
|
|
@@ -698,11 +703,6 @@ types:
|
|
|
698
703
|
[Learn
|
|
699
704
|
more](https://docs.merge.dev/integrations/hris/supported-features/).
|
|
700
705
|
access: read-only
|
|
701
|
-
employer_benefit:
|
|
702
|
-
type: optional<string>
|
|
703
|
-
docs: The employer benefit plan the employee is enrolled in.
|
|
704
|
-
validation:
|
|
705
|
-
format: uuid
|
|
706
706
|
field_mappings:
|
|
707
707
|
type: optional<map<string, unknown>>
|
|
708
708
|
access: read-only
|