merge_ruby_client 1.1.0 → 2.0.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.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/lib/merge_ruby_client/accounting/accounts/client.rb +16 -8
  3. data/lib/merge_ruby_client/accounting/audit_trail/client.rb +6 -4
  4. data/lib/merge_ruby_client/accounting/client.rb +7 -0
  5. data/lib/merge_ruby_client/accounting/contacts/client.rb +14 -6
  6. data/lib/merge_ruby_client/accounting/expenses/client.rb +12 -4
  7. data/lib/merge_ruby_client/accounting/invoices/client.rb +12 -4
  8. data/lib/merge_ruby_client/accounting/items/client.rb +332 -0
  9. data/lib/merge_ruby_client/accounting/journal_entries/client.rb +12 -4
  10. data/lib/merge_ruby_client/accounting/payments/client.rb +12 -4
  11. data/lib/merge_ruby_client/accounting/projects/client.rb +224 -0
  12. data/lib/merge_ruby_client/accounting/projects/types/projects_list_request_expand.rb +13 -0
  13. data/lib/merge_ruby_client/accounting/projects/types/projects_retrieve_request_expand.rb +13 -0
  14. data/lib/merge_ruby_client/accounting/purchase_orders/client.rb +12 -4
  15. data/lib/merge_ruby_client/accounting/tracking_categories/client.rb +16 -8
  16. data/lib/merge_ruby_client/accounting/types/account_details_and_actions.rb +10 -2
  17. data/lib/merge_ruby_client/accounting/types/audit_log_event.rb +2 -0
  18. data/lib/merge_ruby_client/accounting/types/credit_note_line_item.rb +29 -1
  19. data/lib/merge_ruby_client/accounting/types/credit_note_line_item_contact.rb +56 -0
  20. data/lib/merge_ruby_client/accounting/types/credit_note_line_item_project.rb +55 -0
  21. data/lib/merge_ruby_client/accounting/types/credit_note_line_item_request.rb +29 -1
  22. data/lib/merge_ruby_client/accounting/types/credit_note_line_item_request_contact.rb +56 -0
  23. data/lib/merge_ruby_client/accounting/types/credit_note_line_item_request_project.rb +55 -0
  24. data/lib/merge_ruby_client/accounting/types/event_type_enum.rb +2 -0
  25. data/lib/merge_ruby_client/accounting/types/expense_line.rb +15 -1
  26. data/lib/merge_ruby_client/accounting/types/expense_line_project.rb +55 -0
  27. data/lib/merge_ruby_client/accounting/types/expense_line_request.rb +15 -1
  28. data/lib/merge_ruby_client/accounting/types/expense_line_request_project.rb +55 -0
  29. data/lib/merge_ruby_client/accounting/types/external_target_field_api_response.rb +12 -1
  30. data/lib/merge_ruby_client/accounting/types/field_mapping_api_instance_response.rb +12 -1
  31. data/lib/merge_ruby_client/accounting/types/general_ledger_transaction_line.rb +15 -1
  32. data/lib/merge_ruby_client/accounting/types/general_ledger_transaction_line_project.rb +55 -0
  33. data/lib/merge_ruby_client/accounting/types/invoice_line_item.rb +29 -1
  34. data/lib/merge_ruby_client/accounting/types/invoice_line_item_contact.rb +56 -0
  35. data/lib/merge_ruby_client/accounting/types/invoice_line_item_project.rb +55 -0
  36. data/lib/merge_ruby_client/accounting/types/invoice_line_item_request.rb +29 -1
  37. data/lib/merge_ruby_client/accounting/types/invoice_line_item_request_contact.rb +56 -0
  38. data/lib/merge_ruby_client/accounting/types/invoice_line_item_request_project.rb +55 -0
  39. data/lib/merge_ruby_client/accounting/types/item_request_request.rb +202 -0
  40. data/lib/merge_ruby_client/accounting/types/item_request_request_company.rb +56 -0
  41. data/lib/merge_ruby_client/accounting/types/item_request_request_purchase_account.rb +56 -0
  42. data/lib/merge_ruby_client/accounting/types/item_request_request_purchase_tax_rate.rb +56 -0
  43. data/lib/merge_ruby_client/accounting/types/item_request_request_sales_account.rb +56 -0
  44. data/lib/merge_ruby_client/accounting/types/item_request_request_sales_tax_rate.rb +56 -0
  45. data/lib/merge_ruby_client/accounting/types/item_response.rb +101 -0
  46. data/lib/merge_ruby_client/accounting/types/journal_line.rb +15 -1
  47. data/lib/merge_ruby_client/accounting/types/journal_line_project.rb +55 -0
  48. data/lib/merge_ruby_client/accounting/types/journal_line_request.rb +15 -1
  49. data/lib/merge_ruby_client/accounting/types/journal_line_request_project.rb +55 -0
  50. data/lib/merge_ruby_client/accounting/types/paginated_project_list.rb +80 -0
  51. data/lib/merge_ruby_client/accounting/types/patched_item_request_request.rb +172 -0
  52. data/lib/merge_ruby_client/accounting/types/project.rb +162 -0
  53. data/lib/merge_ruby_client/accounting/types/project_company.rb +56 -0
  54. data/lib/merge_ruby_client/accounting/types/project_contact.rb +56 -0
  55. data/lib/merge_ruby_client/accounting/types/remote_field_api_response.rb +12 -1
  56. data/lib/merge_ruby_client/accounting/types/type_2_bb_enum.rb +16 -0
  57. data/lib/merge_ruby_client/accounting/types/vendor_credit_line.rb +29 -1
  58. data/lib/merge_ruby_client/accounting/types/vendor_credit_line_contact.rb +55 -0
  59. data/lib/merge_ruby_client/accounting/types/vendor_credit_line_project.rb +55 -0
  60. data/lib/merge_ruby_client/accounting/types/vendor_credit_line_request.rb +29 -1
  61. data/lib/merge_ruby_client/accounting/types/vendor_credit_line_request_contact.rb +55 -0
  62. data/lib/merge_ruby_client/accounting/types/vendor_credit_line_request_project.rb +55 -0
  63. data/lib/merge_ruby_client/ats/audit_trail/client.rb +6 -4
  64. data/lib/merge_ruby_client/ats/types/account_details_and_actions.rb +10 -2
  65. data/lib/merge_ruby_client/ats/types/audit_log_event.rb +2 -0
  66. data/lib/merge_ruby_client/ats/types/event_type_enum.rb +1 -0
  67. data/lib/merge_ruby_client/crm/accounts/client.rb +6 -2
  68. data/lib/merge_ruby_client/crm/audit_trail/client.rb +6 -4
  69. data/lib/merge_ruby_client/crm/contacts/client.rb +6 -2
  70. data/lib/merge_ruby_client/crm/custom_objects/client.rb +10 -2
  71. data/lib/merge_ruby_client/crm/engagement_types/client.rb +6 -2
  72. data/lib/merge_ruby_client/crm/engagements/client.rb +6 -2
  73. data/lib/merge_ruby_client/crm/leads/client.rb +6 -2
  74. data/lib/merge_ruby_client/crm/notes/client.rb +6 -2
  75. data/lib/merge_ruby_client/crm/opportunities/client.rb +6 -2
  76. data/lib/merge_ruby_client/crm/stages/client.rb +6 -2
  77. data/lib/merge_ruby_client/crm/sync_status/client.rb +20 -6
  78. data/lib/merge_ruby_client/crm/tasks/client.rb +6 -2
  79. data/lib/merge_ruby_client/crm/types/audit_log_event.rb +2 -0
  80. data/lib/merge_ruby_client/crm/types/custom_object_request.rb +26 -3
  81. data/lib/merge_ruby_client/crm/types/event_type_enum.rb +2 -0
  82. data/lib/merge_ruby_client/crm/users/client.rb +6 -2
  83. data/lib/merge_ruby_client/filestorage/audit_trail/client.rb +6 -4
  84. data/lib/merge_ruby_client/filestorage/files/client.rb +48 -12
  85. data/lib/merge_ruby_client/filestorage/files/types/files_download_request_meta_list_request_order_by.rb +14 -0
  86. data/lib/merge_ruby_client/filestorage/files/types/files_list_request_order_by.rb +14 -0
  87. data/lib/merge_ruby_client/filestorage/sync_status/client.rb +20 -6
  88. data/lib/merge_ruby_client/filestorage/types/account_details_and_actions.rb +10 -2
  89. data/lib/merge_ruby_client/filestorage/types/audit_log_event.rb +2 -0
  90. data/lib/merge_ruby_client/filestorage/types/download_request_meta.rb +2 -9
  91. data/lib/merge_ruby_client/filestorage/types/event_type_enum.rb +2 -0
  92. data/lib/merge_ruby_client/filestorage/types/file.rb +13 -1
  93. data/lib/merge_ruby_client/filestorage/types/file_request.rb +13 -1
  94. data/lib/merge_ruby_client/hris/audit_trail/client.rb +6 -4
  95. data/lib/merge_ruby_client/hris/types/account_details_and_actions.rb +10 -2
  96. data/lib/merge_ruby_client/hris/types/audit_log_event.rb +2 -0
  97. data/lib/merge_ruby_client/hris/types/event_type_enum.rb +2 -0
  98. data/lib/merge_ruby_client/ticketing/audit_trail/client.rb +6 -4
  99. data/lib/merge_ruby_client/ticketing/tickets/client.rb +26 -10
  100. data/lib/merge_ruby_client/ticketing/types/account_details_and_actions.rb +10 -2
  101. data/lib/merge_ruby_client/ticketing/types/audit_log_event.rb +2 -0
  102. data/lib/merge_ruby_client/ticketing/types/collection.rb +18 -16
  103. data/lib/merge_ruby_client/ticketing/types/{access_level_enum.rb → collection_access_level_enum.rb} +3 -1
  104. data/lib/merge_ruby_client/ticketing/types/event_type_enum.rb +2 -0
  105. data/lib/merge_ruby_client/ticketing/types/patched_ticket_request.rb +20 -1
  106. data/lib/merge_ruby_client/ticketing/types/ticket.rb +20 -1
  107. data/lib/merge_ruby_client/ticketing/types/ticket_access_level_enum.rb +16 -0
  108. data/lib/merge_ruby_client/ticketing/types/ticket_request.rb +20 -1
  109. data/lib/merge_ruby_client.rb +7 -7
  110. data/lib/requests.rb +2 -2
  111. data/lib/types_export.rb +243 -208
  112. metadata +39 -3
@@ -29,6 +29,10 @@ module Merge
29
29
  attr_reader :description
30
30
  # @return [Merge::Filestorage::FileRequestFolder] The folder that the file belongs to.
31
31
  attr_reader :folder
32
+ # @return [Hash{String => Object}] This field stores file checksum data. 'type' indicates the algorithm (e.g.
33
+ # crc_32, sha1, sha256, quickXor, or md5), and 'content_hash' is the unique hash
34
+ # used to verify file integrity and detect alterations.
35
+ attr_reader :checksum
32
36
  # @return [Merge::Filestorage::FileRequestPermissions] The Permission object is used to represent a user's or group's access to a File
33
37
  # or Folder. Permissions are unexpanded by default. Use the query param
34
38
  # `expand=permissions` to see more details under `GET /files`.
@@ -54,6 +58,9 @@ module Merge
54
58
  # @param mime_type [String] The file's mime type.
55
59
  # @param description [String] The file's description.
56
60
  # @param folder [Merge::Filestorage::FileRequestFolder] The folder that the file belongs to.
61
+ # @param checksum [Hash{String => Object}] This field stores file checksum data. 'type' indicates the algorithm (e.g.
62
+ # crc_32, sha1, sha256, quickXor, or md5), and 'content_hash' is the unique hash
63
+ # used to verify file integrity and detect alterations.
57
64
  # @param permissions [Merge::Filestorage::FileRequestPermissions] The Permission object is used to represent a user's or group's access to a File
58
65
  # or Folder. Permissions are unexpanded by default. Use the query param
59
66
  # `expand=permissions` to see more details under `GET /files`.
@@ -63,7 +70,7 @@ module Merge
63
70
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
64
71
  # @return [Merge::Filestorage::FileRequest]
65
72
  def initialize(name: OMIT, file_url: OMIT, file_thumbnail_url: OMIT, size: OMIT, mime_type: OMIT,
66
- description: OMIT, folder: OMIT, permissions: OMIT, drive: OMIT, integration_params: OMIT, linked_account_params: OMIT, additional_properties: nil)
73
+ description: OMIT, folder: OMIT, checksum: OMIT, permissions: OMIT, drive: OMIT, integration_params: OMIT, linked_account_params: OMIT, additional_properties: nil)
67
74
  @name = name if name != OMIT
68
75
  @file_url = file_url if file_url != OMIT
69
76
  @file_thumbnail_url = file_thumbnail_url if file_thumbnail_url != OMIT
@@ -71,6 +78,7 @@ module Merge
71
78
  @mime_type = mime_type if mime_type != OMIT
72
79
  @description = description if description != OMIT
73
80
  @folder = folder if folder != OMIT
81
+ @checksum = checksum if checksum != OMIT
74
82
  @permissions = permissions if permissions != OMIT
75
83
  @drive = drive if drive != OMIT
76
84
  @integration_params = integration_params if integration_params != OMIT
@@ -84,6 +92,7 @@ module Merge
84
92
  "mime_type": mime_type,
85
93
  "description": description,
86
94
  "folder": folder,
95
+ "checksum": checksum,
87
96
  "permissions": permissions,
88
97
  "drive": drive,
89
98
  "integration_params": integration_params,
@@ -112,6 +121,7 @@ module Merge
112
121
  folder = parsed_json["folder"].to_json
113
122
  folder = Merge::Filestorage::FileRequestFolder.from_json(json_object: folder)
114
123
  end
124
+ checksum = parsed_json["checksum"]
115
125
  if parsed_json["permissions"].nil?
116
126
  permissions = nil
117
127
  else
@@ -134,6 +144,7 @@ module Merge
134
144
  mime_type: mime_type,
135
145
  description: description,
136
146
  folder: folder,
147
+ checksum: checksum,
137
148
  permissions: permissions,
138
149
  drive: drive,
139
150
  integration_params: integration_params,
@@ -163,6 +174,7 @@ module Merge
163
174
  obj.mime_type&.is_a?(String) != false || raise("Passed value for field obj.mime_type is not the expected type, validation failed.")
164
175
  obj.description&.is_a?(String) != false || raise("Passed value for field obj.description is not the expected type, validation failed.")
165
176
  obj.folder.nil? || Merge::Filestorage::FileRequestFolder.validate_raw(obj: obj.folder)
177
+ obj.checksum&.is_a?(Hash) != false || raise("Passed value for field obj.checksum is not the expected type, validation failed.")
166
178
  obj.permissions.nil? || Merge::Filestorage::FileRequestPermissions.validate_raw(obj: obj.permissions)
167
179
  obj.drive.nil? || Merge::Filestorage::FileRequestDrive.validate_raw(obj: obj.drive)
168
180
  obj.integration_params&.is_a?(Hash) != false || raise("Passed value for field obj.integration_params is not the expected type, validation failed.")
@@ -23,8 +23,9 @@ module Merge
23
23
  # @param event_type [String] If included, will only include events with the given event type. Possible values
24
24
  # include: `CREATED_REMOTE_PRODUCTION_API_KEY`,
25
25
  # `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`,
26
- # `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`,
27
- # `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`,
26
+ # `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`,
27
+ # `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`,
28
+ # `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`,
28
29
  # `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`,
29
30
  # `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`,
30
31
  # `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`,
@@ -106,8 +107,9 @@ module Merge
106
107
  # @param event_type [String] If included, will only include events with the given event type. Possible values
107
108
  # include: `CREATED_REMOTE_PRODUCTION_API_KEY`,
108
109
  # `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`,
109
- # `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`,
110
- # `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`,
110
+ # `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`,
111
+ # `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`,
112
+ # `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`,
111
113
  # `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`,
112
114
  # `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`,
113
115
  # `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`,
@@ -45,6 +45,8 @@ module Merge
45
45
  attr_reader :account_type
46
46
  # @return [DateTime]
47
47
  attr_reader :completed_at
48
+ # @return [Hash{String => Object}]
49
+ attr_reader :integration_specific_fields
48
50
  # @return [OpenStruct] Additional properties unmapped to the current class definition
49
51
  attr_reader :additional_properties
50
52
  # @return [Object]
@@ -69,10 +71,11 @@ module Merge
69
71
  # @param integration [Merge::Hris::AccountDetailsAndActionsIntegration]
70
72
  # @param account_type [String]
71
73
  # @param completed_at [DateTime]
74
+ # @param integration_specific_fields [Hash{String => Object}]
72
75
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
73
76
  # @return [Merge::Hris::AccountDetailsAndActions]
74
77
  def initialize(id:, status:, end_user_organization_name:, end_user_email_address:, webhook_listener_url:,
75
- account_type:, completed_at:, category: OMIT, status_detail: OMIT, end_user_origin_id: OMIT, subdomain: OMIT, is_duplicate: OMIT, integration: OMIT, additional_properties: nil)
78
+ account_type:, completed_at:, category: OMIT, status_detail: OMIT, end_user_origin_id: OMIT, subdomain: OMIT, is_duplicate: OMIT, integration: OMIT, integration_specific_fields: OMIT, additional_properties: nil)
76
79
  @id = id
77
80
  @category = category if category != OMIT
78
81
  @status = status
@@ -86,6 +89,7 @@ module Merge
86
89
  @integration = integration if integration != OMIT
87
90
  @account_type = account_type
88
91
  @completed_at = completed_at
92
+ @integration_specific_fields = integration_specific_fields if integration_specific_fields != OMIT
89
93
  @additional_properties = additional_properties
90
94
  @_field_set = {
91
95
  "id": id,
@@ -100,7 +104,8 @@ module Merge
100
104
  "is_duplicate": is_duplicate,
101
105
  "integration": integration,
102
106
  "account_type": account_type,
103
- "completed_at": completed_at
107
+ "completed_at": completed_at,
108
+ "integration_specific_fields": integration_specific_fields
104
109
  }.reject do |_k, v|
105
110
  v == OMIT
106
111
  end
@@ -131,6 +136,7 @@ module Merge
131
136
  end
132
137
  account_type = parsed_json["account_type"]
133
138
  completed_at = (DateTime.parse(parsed_json["completed_at"]) unless parsed_json["completed_at"].nil?)
139
+ integration_specific_fields = parsed_json["integration_specific_fields"]
134
140
  new(
135
141
  id: id,
136
142
  category: category,
@@ -145,6 +151,7 @@ module Merge
145
151
  integration: integration,
146
152
  account_type: account_type,
147
153
  completed_at: completed_at,
154
+ integration_specific_fields: integration_specific_fields,
148
155
  additional_properties: struct
149
156
  )
150
157
  end
@@ -176,6 +183,7 @@ module Merge
176
183
  obj.integration.nil? || Merge::Hris::AccountDetailsAndActionsIntegration.validate_raw(obj: obj.integration)
177
184
  obj.account_type.is_a?(String) != false || raise("Passed value for field obj.account_type is not the expected type, validation failed.")
178
185
  obj.completed_at.is_a?(DateTime) != false || raise("Passed value for field obj.completed_at is not the expected type, validation failed.")
186
+ obj.integration_specific_fields&.is_a?(Hash) != false || raise("Passed value for field obj.integration_specific_fields is not the expected type, validation failed.")
179
187
  end
180
188
  end
181
189
  end
@@ -32,6 +32,7 @@ module Merge
32
32
  # * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY
33
33
  # * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY
34
34
  # * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY
35
+ # * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE
35
36
  # * `INVITED_USER` - INVITED_USER
36
37
  # * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED
37
38
  # * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED
@@ -111,6 +112,7 @@ module Merge
111
112
  # * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY
112
113
  # * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY
113
114
  # * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY
115
+ # * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE
114
116
  # * `INVITED_USER` - INVITED_USER
115
117
  # * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED
116
118
  # * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED
@@ -7,6 +7,7 @@ module Merge
7
7
  # * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY
8
8
  # * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY
9
9
  # * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY
10
+ # * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE
10
11
  # * `INVITED_USER` - INVITED_USER
11
12
  # * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED
12
13
  # * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED
@@ -61,6 +62,7 @@ module Merge
61
62
  CREATED_TEST_API_KEY = "CREATED_TEST_API_KEY"
62
63
  DELETED_TEST_API_KEY = "DELETED_TEST_API_KEY"
63
64
  REGENERATED_PRODUCTION_API_KEY = "REGENERATED_PRODUCTION_API_KEY"
65
+ REGENERATED_WEBHOOK_SIGNATURE = "REGENERATED_WEBHOOK_SIGNATURE"
64
66
  INVITED_USER = "INVITED_USER"
65
67
  TWO_FACTOR_AUTH_ENABLED = "TWO_FACTOR_AUTH_ENABLED"
66
68
  TWO_FACTOR_AUTH_DISABLED = "TWO_FACTOR_AUTH_DISABLED"
@@ -23,8 +23,9 @@ module Merge
23
23
  # @param event_type [String] If included, will only include events with the given event type. Possible values
24
24
  # include: `CREATED_REMOTE_PRODUCTION_API_KEY`,
25
25
  # `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`,
26
- # `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`,
27
- # `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`,
26
+ # `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`,
27
+ # `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`,
28
+ # `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`,
28
29
  # `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`,
29
30
  # `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`,
30
31
  # `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`,
@@ -106,8 +107,9 @@ module Merge
106
107
  # @param event_type [String] If included, will only include events with the given event type. Possible values
107
108
  # include: `CREATED_REMOTE_PRODUCTION_API_KEY`,
108
109
  # `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`,
109
- # `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`,
110
- # `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`,
110
+ # `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`,
111
+ # `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`,
112
+ # `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`,
111
113
  # `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`,
112
114
  # `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`,
113
115
  # `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`,
@@ -169,6 +169,7 @@ module Merge
169
169
  # * :contact (Hash)
170
170
  # * :parent_ticket (Hash)
171
171
  # * :attachments (Array<Merge::Ticketing::TicketRequestAttachmentsItem>)
172
+ # * :access_level (Merge::Ticketing::TicketAccessLevelEnum)
172
173
  # * :tags (Array<String>)
173
174
  # * :roles (Array<String>)
174
175
  # * :completed_at (DateTime)
@@ -277,6 +278,7 @@ module Merge
277
278
  # * :account (String)
278
279
  # * :contact (String)
279
280
  # * :parent_ticket (String)
281
+ # * :access_level (Merge::Ticketing::TicketAccessLevelEnum)
280
282
  # * :tags (Array<String>)
281
283
  # * :roles (Array<String>)
282
284
  # * :completed_at (DateTime)
@@ -404,6 +406,8 @@ module Merge
404
406
 
405
407
  # Returns metadata for `Ticket` POSTs.
406
408
  #
409
+ # @param collection_id [String] If provided, will only return tickets for this collection.
410
+ # @param ticket_type [String] If provided, will only return tickets for this ticket type.
407
411
  # @param request_options [Merge::RequestOptions]
408
412
  # @return [Merge::Ticketing::MetaResponse]
409
413
  # @example
@@ -413,7 +417,7 @@ module Merge
413
417
  # api_key: "YOUR_AUTH_TOKEN"
414
418
  # )
415
419
  # api.ticketing.tickets.meta_post_retrieve
416
- def meta_post_retrieve(request_options: nil)
420
+ def meta_post_retrieve(collection_id: nil, ticket_type: nil, request_options: nil)
417
421
  response = @request_client.conn.get do |req|
418
422
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
419
423
  req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
@@ -423,9 +427,11 @@ module Merge
423
427
  **@request_client.get_headers,
424
428
  **(request_options&.additional_headers || {})
425
429
  }.compact
426
- unless request_options.nil? || request_options&.additional_query_parameters.nil?
427
- req.params = { **(request_options&.additional_query_parameters || {}) }.compact
428
- end
430
+ req.params = {
431
+ **(request_options&.additional_query_parameters || {}),
432
+ "collection_id": collection_id,
433
+ "ticket_type": ticket_type
434
+ }.compact
429
435
  unless request_options.nil? || request_options&.additional_body_parameters.nil?
430
436
  req.body = { **(request_options&.additional_body_parameters || {}) }.compact
431
437
  end
@@ -448,6 +454,7 @@ module Merge
448
454
  # contain some metadata but all other fields are null).
449
455
  # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this
450
456
  # is_common_model_field value
457
+ # @param is_custom [Boolean] If provided, will only return remote fields classes with this is_custom value
451
458
  # @param page_size [Integer] Number of results to return per page.
452
459
  # @param request_options [Merge::RequestOptions]
453
460
  # @return [Merge::Ticketing::PaginatedRemoteFieldClassList]
@@ -459,7 +466,7 @@ module Merge
459
466
  # )
460
467
  # api.ticketing.tickets.remote_field_classes_list
461
468
  def remote_field_classes_list(cursor: nil, ids: nil, include_deleted_data: nil, include_remote_data: nil,
462
- include_shell_data: nil, is_common_model_field: nil, page_size: nil, request_options: nil)
469
+ include_shell_data: nil, is_common_model_field: nil, is_custom: nil, page_size: nil, request_options: nil)
463
470
  response = @request_client.conn.get do |req|
464
471
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
465
472
  req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
@@ -477,6 +484,7 @@ module Merge
477
484
  "include_remote_data": include_remote_data,
478
485
  "include_shell_data": include_shell_data,
479
486
  "is_common_model_field": is_common_model_field,
487
+ "is_custom": is_custom,
480
488
  "page_size": page_size
481
489
  }.compact
482
490
  unless request_options.nil? || request_options&.additional_body_parameters.nil?
@@ -637,6 +645,7 @@ module Merge
637
645
  # * :contact (Hash)
638
646
  # * :parent_ticket (Hash)
639
647
  # * :attachments (Array<Merge::Ticketing::TicketRequestAttachmentsItem>)
648
+ # * :access_level (Merge::Ticketing::TicketAccessLevelEnum)
640
649
  # * :tags (Array<String>)
641
650
  # * :roles (Array<String>)
642
651
  # * :completed_at (DateTime)
@@ -749,6 +758,7 @@ module Merge
749
758
  # * :account (String)
750
759
  # * :contact (String)
751
760
  # * :parent_ticket (String)
761
+ # * :access_level (Merge::Ticketing::TicketAccessLevelEnum)
752
762
  # * :tags (Array<String>)
753
763
  # * :roles (Array<String>)
754
764
  # * :completed_at (DateTime)
@@ -882,6 +892,8 @@ module Merge
882
892
 
883
893
  # Returns metadata for `Ticket` POSTs.
884
894
  #
895
+ # @param collection_id [String] If provided, will only return tickets for this collection.
896
+ # @param ticket_type [String] If provided, will only return tickets for this ticket type.
885
897
  # @param request_options [Merge::RequestOptions]
886
898
  # @return [Merge::Ticketing::MetaResponse]
887
899
  # @example
@@ -891,7 +903,7 @@ module Merge
891
903
  # api_key: "YOUR_AUTH_TOKEN"
892
904
  # )
893
905
  # api.ticketing.tickets.meta_post_retrieve
894
- def meta_post_retrieve(request_options: nil)
906
+ def meta_post_retrieve(collection_id: nil, ticket_type: nil, request_options: nil)
895
907
  Async do
896
908
  response = @request_client.conn.get do |req|
897
909
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -902,9 +914,11 @@ module Merge
902
914
  **@request_client.get_headers,
903
915
  **(request_options&.additional_headers || {})
904
916
  }.compact
905
- unless request_options.nil? || request_options&.additional_query_parameters.nil?
906
- req.params = { **(request_options&.additional_query_parameters || {}) }.compact
907
- end
917
+ req.params = {
918
+ **(request_options&.additional_query_parameters || {}),
919
+ "collection_id": collection_id,
920
+ "ticket_type": ticket_type
921
+ }.compact
908
922
  unless request_options.nil? || request_options&.additional_body_parameters.nil?
909
923
  req.body = { **(request_options&.additional_body_parameters || {}) }.compact
910
924
  end
@@ -928,6 +942,7 @@ module Merge
928
942
  # contain some metadata but all other fields are null).
929
943
  # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this
930
944
  # is_common_model_field value
945
+ # @param is_custom [Boolean] If provided, will only return remote fields classes with this is_custom value
931
946
  # @param page_size [Integer] Number of results to return per page.
932
947
  # @param request_options [Merge::RequestOptions]
933
948
  # @return [Merge::Ticketing::PaginatedRemoteFieldClassList]
@@ -939,7 +954,7 @@ module Merge
939
954
  # )
940
955
  # api.ticketing.tickets.remote_field_classes_list
941
956
  def remote_field_classes_list(cursor: nil, ids: nil, include_deleted_data: nil, include_remote_data: nil,
942
- include_shell_data: nil, is_common_model_field: nil, page_size: nil, request_options: nil)
957
+ include_shell_data: nil, is_common_model_field: nil, is_custom: nil, page_size: nil, request_options: nil)
943
958
  Async do
944
959
  response = @request_client.conn.get do |req|
945
960
  req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
@@ -958,6 +973,7 @@ module Merge
958
973
  "include_remote_data": include_remote_data,
959
974
  "include_shell_data": include_shell_data,
960
975
  "is_common_model_field": is_common_model_field,
976
+ "is_custom": is_custom,
961
977
  "page_size": page_size
962
978
  }.compact
963
979
  unless request_options.nil? || request_options&.additional_body_parameters.nil?
@@ -45,6 +45,8 @@ module Merge
45
45
  attr_reader :account_type
46
46
  # @return [DateTime]
47
47
  attr_reader :completed_at
48
+ # @return [Hash{String => Object}]
49
+ attr_reader :integration_specific_fields
48
50
  # @return [OpenStruct] Additional properties unmapped to the current class definition
49
51
  attr_reader :additional_properties
50
52
  # @return [Object]
@@ -69,10 +71,11 @@ module Merge
69
71
  # @param integration [Merge::Ticketing::AccountDetailsAndActionsIntegration]
70
72
  # @param account_type [String]
71
73
  # @param completed_at [DateTime]
74
+ # @param integration_specific_fields [Hash{String => Object}]
72
75
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
73
76
  # @return [Merge::Ticketing::AccountDetailsAndActions]
74
77
  def initialize(id:, status:, end_user_organization_name:, end_user_email_address:, webhook_listener_url:,
75
- account_type:, completed_at:, category: OMIT, status_detail: OMIT, end_user_origin_id: OMIT, subdomain: OMIT, is_duplicate: OMIT, integration: OMIT, additional_properties: nil)
78
+ account_type:, completed_at:, category: OMIT, status_detail: OMIT, end_user_origin_id: OMIT, subdomain: OMIT, is_duplicate: OMIT, integration: OMIT, integration_specific_fields: OMIT, additional_properties: nil)
76
79
  @id = id
77
80
  @category = category if category != OMIT
78
81
  @status = status
@@ -86,6 +89,7 @@ module Merge
86
89
  @integration = integration if integration != OMIT
87
90
  @account_type = account_type
88
91
  @completed_at = completed_at
92
+ @integration_specific_fields = integration_specific_fields if integration_specific_fields != OMIT
89
93
  @additional_properties = additional_properties
90
94
  @_field_set = {
91
95
  "id": id,
@@ -100,7 +104,8 @@ module Merge
100
104
  "is_duplicate": is_duplicate,
101
105
  "integration": integration,
102
106
  "account_type": account_type,
103
- "completed_at": completed_at
107
+ "completed_at": completed_at,
108
+ "integration_specific_fields": integration_specific_fields
104
109
  }.reject do |_k, v|
105
110
  v == OMIT
106
111
  end
@@ -131,6 +136,7 @@ module Merge
131
136
  end
132
137
  account_type = parsed_json["account_type"]
133
138
  completed_at = (DateTime.parse(parsed_json["completed_at"]) unless parsed_json["completed_at"].nil?)
139
+ integration_specific_fields = parsed_json["integration_specific_fields"]
134
140
  new(
135
141
  id: id,
136
142
  category: category,
@@ -145,6 +151,7 @@ module Merge
145
151
  integration: integration,
146
152
  account_type: account_type,
147
153
  completed_at: completed_at,
154
+ integration_specific_fields: integration_specific_fields,
148
155
  additional_properties: struct
149
156
  )
150
157
  end
@@ -176,6 +183,7 @@ module Merge
176
183
  obj.integration.nil? || Merge::Ticketing::AccountDetailsAndActionsIntegration.validate_raw(obj: obj.integration)
177
184
  obj.account_type.is_a?(String) != false || raise("Passed value for field obj.account_type is not the expected type, validation failed.")
178
185
  obj.completed_at.is_a?(DateTime) != false || raise("Passed value for field obj.completed_at is not the expected type, validation failed.")
186
+ obj.integration_specific_fields&.is_a?(Hash) != false || raise("Passed value for field obj.integration_specific_fields is not the expected type, validation failed.")
179
187
  end
180
188
  end
181
189
  end
@@ -32,6 +32,7 @@ module Merge
32
32
  # * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY
33
33
  # * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY
34
34
  # * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY
35
+ # * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE
35
36
  # * `INVITED_USER` - INVITED_USER
36
37
  # * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED
37
38
  # * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED
@@ -111,6 +112,7 @@ module Merge
111
112
  # * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY
112
113
  # * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY
113
114
  # * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY
115
+ # * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE
114
116
  # * `INVITED_USER` - INVITED_USER
115
117
  # * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED
116
118
  # * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "date"
4
+ require_relative "collection_access_level_enum"
4
5
  require_relative "collection_type_enum"
5
6
  require_relative "collection_parent_collection"
6
- require_relative "access_level_enum"
7
7
  require_relative "remote_data"
8
8
  require "ostruct"
9
9
  require "json"
@@ -30,6 +30,12 @@ module Merge
30
30
  attr_reader :name
31
31
  # @return [String] The collection's description.
32
32
  attr_reader :description
33
+ # @return [Merge::Ticketing::CollectionAccessLevelEnum] The level of access a User has to the Collection and its sub-objects.
34
+ # * `PRIVATE` - PRIVATE
35
+ # * `COMPANY` - COMPANY
36
+ # * `PUBLIC` - PUBLIC
37
+ # * `PARENT_COLLECTION` - PARENT_COLLECTION
38
+ attr_reader :access_level
33
39
  # @return [Merge::Ticketing::CollectionTypeEnum] The collection's type.
34
40
  # * `LIST` - LIST
35
41
  # * `PROJECT` - PROJECT
@@ -41,11 +47,6 @@ module Merge
41
47
  # detection is offered for free with limited coverage. [Learn
42
48
  # more](https://docs.merge.dev/integrations/hris/supported-features/).
43
49
  attr_reader :remote_was_deleted
44
- # @return [Merge::Ticketing::AccessLevelEnum] The level of access a User has to the Collection and its sub-objects.
45
- # * `PRIVATE` - PRIVATE
46
- # * `COMPANY` - COMPANY
47
- # * `PUBLIC` - PUBLIC
48
- attr_reader :access_level
49
50
  # @return [Hash{String => Object}]
50
51
  attr_reader :field_mappings
51
52
  # @return [Array<Merge::Ticketing::RemoteData>]
@@ -64,6 +65,11 @@ module Merge
64
65
  # @param modified_at [DateTime] The datetime that this object was modified by Merge.
65
66
  # @param name [String] The collection's name.
66
67
  # @param description [String] The collection's description.
68
+ # @param access_level [Merge::Ticketing::CollectionAccessLevelEnum] The level of access a User has to the Collection and its sub-objects.
69
+ # * `PRIVATE` - PRIVATE
70
+ # * `COMPANY` - COMPANY
71
+ # * `PUBLIC` - PUBLIC
72
+ # * `PARENT_COLLECTION` - PARENT_COLLECTION
67
73
  # @param collection_type [Merge::Ticketing::CollectionTypeEnum] The collection's type.
68
74
  # * `LIST` - LIST
69
75
  # * `PROJECT` - PROJECT
@@ -72,26 +78,22 @@ module Merge
72
78
  # platform. Full coverage deletion detection is a premium add-on. Native deletion
73
79
  # detection is offered for free with limited coverage. [Learn
74
80
  # more](https://docs.merge.dev/integrations/hris/supported-features/).
75
- # @param access_level [Merge::Ticketing::AccessLevelEnum] The level of access a User has to the Collection and its sub-objects.
76
- # * `PRIVATE` - PRIVATE
77
- # * `COMPANY` - COMPANY
78
- # * `PUBLIC` - PUBLIC
79
81
  # @param field_mappings [Hash{String => Object}]
80
82
  # @param remote_data [Array<Merge::Ticketing::RemoteData>]
81
83
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
82
84
  # @return [Merge::Ticketing::Collection]
83
85
  def initialize(id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, name: OMIT, description: OMIT,
84
- collection_type: OMIT, parent_collection: OMIT, remote_was_deleted: OMIT, access_level: OMIT, field_mappings: OMIT, remote_data: OMIT, additional_properties: nil)
86
+ access_level: OMIT, collection_type: OMIT, parent_collection: OMIT, remote_was_deleted: OMIT, field_mappings: OMIT, remote_data: OMIT, additional_properties: nil)
85
87
  @id = id if id != OMIT
86
88
  @remote_id = remote_id if remote_id != OMIT
87
89
  @created_at = created_at if created_at != OMIT
88
90
  @modified_at = modified_at if modified_at != OMIT
89
91
  @name = name if name != OMIT
90
92
  @description = description if description != OMIT
93
+ @access_level = access_level if access_level != OMIT
91
94
  @collection_type = collection_type if collection_type != OMIT
92
95
  @parent_collection = parent_collection if parent_collection != OMIT
93
96
  @remote_was_deleted = remote_was_deleted if remote_was_deleted != OMIT
94
- @access_level = access_level if access_level != OMIT
95
97
  @field_mappings = field_mappings if field_mappings != OMIT
96
98
  @remote_data = remote_data if remote_data != OMIT
97
99
  @additional_properties = additional_properties
@@ -102,10 +104,10 @@ module Merge
102
104
  "modified_at": modified_at,
103
105
  "name": name,
104
106
  "description": description,
107
+ "access_level": access_level,
105
108
  "collection_type": collection_type,
106
109
  "parent_collection": parent_collection,
107
110
  "remote_was_deleted": remote_was_deleted,
108
- "access_level": access_level,
109
111
  "field_mappings": field_mappings,
110
112
  "remote_data": remote_data
111
113
  }.reject do |_k, v|
@@ -126,6 +128,7 @@ module Merge
126
128
  modified_at = (DateTime.parse(parsed_json["modified_at"]) unless parsed_json["modified_at"].nil?)
127
129
  name = parsed_json["name"]
128
130
  description = parsed_json["description"]
131
+ access_level = parsed_json["access_level"]
129
132
  collection_type = parsed_json["collection_type"]
130
133
  if parsed_json["parent_collection"].nil?
131
134
  parent_collection = nil
@@ -134,7 +137,6 @@ module Merge
134
137
  parent_collection = Merge::Ticketing::CollectionParentCollection.from_json(json_object: parent_collection)
135
138
  end
136
139
  remote_was_deleted = parsed_json["remote_was_deleted"]
137
- access_level = parsed_json["access_level"]
138
140
  field_mappings = parsed_json["field_mappings"]
139
141
  remote_data = parsed_json["remote_data"]&.map do |item|
140
142
  item = item.to_json
@@ -147,10 +149,10 @@ module Merge
147
149
  modified_at: modified_at,
148
150
  name: name,
149
151
  description: description,
152
+ access_level: access_level,
150
153
  collection_type: collection_type,
151
154
  parent_collection: parent_collection,
152
155
  remote_was_deleted: remote_was_deleted,
153
- access_level: access_level,
154
156
  field_mappings: field_mappings,
155
157
  remote_data: remote_data,
156
158
  additional_properties: struct
@@ -177,10 +179,10 @@ module Merge
177
179
  obj.modified_at&.is_a?(DateTime) != false || raise("Passed value for field obj.modified_at is not the expected type, validation failed.")
178
180
  obj.name&.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.")
179
181
  obj.description&.is_a?(String) != false || raise("Passed value for field obj.description is not the expected type, validation failed.")
182
+ obj.access_level&.is_a?(Merge::Ticketing::CollectionAccessLevelEnum) != false || raise("Passed value for field obj.access_level is not the expected type, validation failed.")
180
183
  obj.collection_type&.is_a?(Merge::Ticketing::CollectionTypeEnum) != false || raise("Passed value for field obj.collection_type is not the expected type, validation failed.")
181
184
  obj.parent_collection.nil? || Merge::Ticketing::CollectionParentCollection.validate_raw(obj: obj.parent_collection)
182
185
  obj.remote_was_deleted&.is_a?(Boolean) != false || raise("Passed value for field obj.remote_was_deleted is not the expected type, validation failed.")
183
- obj.access_level&.is_a?(Merge::Ticketing::AccessLevelEnum) != false || raise("Passed value for field obj.access_level is not the expected type, validation failed.")
184
186
  obj.field_mappings&.is_a?(Hash) != false || raise("Passed value for field obj.field_mappings is not the expected type, validation failed.")
185
187
  obj.remote_data&.is_a?(Array) != false || raise("Passed value for field obj.remote_data is not the expected type, validation failed.")
186
188
  end
@@ -5,10 +5,12 @@ module Merge
5
5
  # * `PRIVATE` - PRIVATE
6
6
  # * `COMPANY` - COMPANY
7
7
  # * `PUBLIC` - PUBLIC
8
- class AccessLevelEnum
8
+ # * `PARENT_COLLECTION` - PARENT_COLLECTION
9
+ class CollectionAccessLevelEnum
9
10
  PRIVATE = "PRIVATE"
10
11
  COMPANY = "COMPANY"
11
12
  PUBLIC = "PUBLIC"
13
+ PARENT_COLLECTION = "PARENT_COLLECTION"
12
14
  end
13
15
  end
14
16
  end
@@ -7,6 +7,7 @@ module Merge
7
7
  # * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY
8
8
  # * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY
9
9
  # * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY
10
+ # * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE
10
11
  # * `INVITED_USER` - INVITED_USER
11
12
  # * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED
12
13
  # * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED
@@ -61,6 +62,7 @@ module Merge
61
62
  CREATED_TEST_API_KEY = "CREATED_TEST_API_KEY"
62
63
  DELETED_TEST_API_KEY = "DELETED_TEST_API_KEY"
63
64
  REGENERATED_PRODUCTION_API_KEY = "REGENERATED_PRODUCTION_API_KEY"
65
+ REGENERATED_WEBHOOK_SIGNATURE = "REGENERATED_WEBHOOK_SIGNATURE"
64
66
  INVITED_USER = "INVITED_USER"
65
67
  TWO_FACTOR_AUTH_ENABLED = "TWO_FACTOR_AUTH_ENABLED"
66
68
  TWO_FACTOR_AUTH_DISABLED = "TWO_FACTOR_AUTH_DISABLED"