losant_rest 1.17.0 → 1.17.1

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 (95) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/docs/_schemas.md +33 -8
  4. data/lib/losant_rest/application.rb +1 -1
  5. data/lib/losant_rest/application_api_token.rb +1 -1
  6. data/lib/losant_rest/application_api_tokens.rb +1 -1
  7. data/lib/losant_rest/application_certificate.rb +1 -1
  8. data/lib/losant_rest/application_certificate_authorities.rb +1 -1
  9. data/lib/losant_rest/application_certificate_authority.rb +1 -1
  10. data/lib/losant_rest/application_certificates.rb +1 -1
  11. data/lib/losant_rest/application_dashboard.rb +1 -1
  12. data/lib/losant_rest/application_dashboards.rb +1 -1
  13. data/lib/losant_rest/application_key.rb +1 -1
  14. data/lib/losant_rest/application_keys.rb +1 -1
  15. data/lib/losant_rest/application_template.rb +1 -1
  16. data/lib/losant_rest/application_templates.rb +1 -1
  17. data/lib/losant_rest/applications.rb +1 -1
  18. data/lib/losant_rest/audit_log.rb +1 -1
  19. data/lib/losant_rest/audit_logs.rb +1 -1
  20. data/lib/losant_rest/auth.rb +1 -1
  21. data/lib/losant_rest/client.rb +3 -3
  22. data/lib/losant_rest/dashboard.rb +1 -1
  23. data/lib/losant_rest/dashboards.rb +1 -1
  24. data/lib/losant_rest/data.rb +1 -1
  25. data/lib/losant_rest/data_table.rb +1 -1
  26. data/lib/losant_rest/data_table_row.rb +1 -1
  27. data/lib/losant_rest/data_table_rows.rb +1 -1
  28. data/lib/losant_rest/data_tables.rb +1 -1
  29. data/lib/losant_rest/device.rb +1 -1
  30. data/lib/losant_rest/device_recipe.rb +1 -1
  31. data/lib/losant_rest/device_recipes.rb +1 -1
  32. data/lib/losant_rest/devices.rb +1 -1
  33. data/lib/losant_rest/edge_deployment.rb +1 -1
  34. data/lib/losant_rest/edge_deployments.rb +1 -1
  35. data/lib/losant_rest/embedded_deployment.rb +1 -1
  36. data/lib/losant_rest/embedded_deployments.rb +1 -1
  37. data/lib/losant_rest/error.rb +1 -1
  38. data/lib/losant_rest/event.rb +1 -1
  39. data/lib/losant_rest/events.rb +1 -1
  40. data/lib/losant_rest/experience.rb +1 -1
  41. data/lib/losant_rest/experience_domain.rb +1 -1
  42. data/lib/losant_rest/experience_domains.rb +1 -1
  43. data/lib/losant_rest/experience_endpoint.rb +1 -1
  44. data/lib/losant_rest/experience_endpoints.rb +1 -1
  45. data/lib/losant_rest/experience_group.rb +1 -1
  46. data/lib/losant_rest/experience_groups.rb +1 -1
  47. data/lib/losant_rest/experience_slug.rb +1 -1
  48. data/lib/losant_rest/experience_slugs.rb +1 -1
  49. data/lib/losant_rest/experience_user.rb +1 -1
  50. data/lib/losant_rest/experience_users.rb +1 -1
  51. data/lib/losant_rest/experience_version.rb +1 -1
  52. data/lib/losant_rest/experience_versions.rb +1 -1
  53. data/lib/losant_rest/experience_view.rb +1 -1
  54. data/lib/losant_rest/experience_views.rb +1 -1
  55. data/lib/losant_rest/file.rb +1 -1
  56. data/lib/losant_rest/files.rb +1 -1
  57. data/lib/losant_rest/flow.rb +1 -1
  58. data/lib/losant_rest/flow_version.rb +1 -1
  59. data/lib/losant_rest/flow_versions.rb +1 -1
  60. data/lib/losant_rest/flows.rb +1 -1
  61. data/lib/losant_rest/instance.rb +1 -1
  62. data/lib/losant_rest/instance_api_token.rb +1 -1
  63. data/lib/losant_rest/instance_api_tokens.rb +1 -1
  64. data/lib/losant_rest/instance_custom_node.rb +1 -1
  65. data/lib/losant_rest/instance_custom_nodes.rb +1 -1
  66. data/lib/losant_rest/instance_member.rb +1 -1
  67. data/lib/losant_rest/instance_members.rb +1 -1
  68. data/lib/losant_rest/instance_org.rb +1 -1
  69. data/lib/losant_rest/instance_org_invite.rb +1 -1
  70. data/lib/losant_rest/instance_org_invites.rb +1 -1
  71. data/lib/losant_rest/instance_org_member.rb +1 -1
  72. data/lib/losant_rest/instance_org_members.rb +1 -1
  73. data/lib/losant_rest/instance_orgs.rb +1 -1
  74. data/lib/losant_rest/instance_sandbox.rb +1 -1
  75. data/lib/losant_rest/instance_sandboxes.rb +1 -1
  76. data/lib/losant_rest/instances.rb +1 -1
  77. data/lib/losant_rest/integration.rb +1 -1
  78. data/lib/losant_rest/integrations.rb +1 -1
  79. data/lib/losant_rest/me.rb +1 -1
  80. data/lib/losant_rest/notebook.rb +1 -1
  81. data/lib/losant_rest/notebooks.rb +1 -1
  82. data/lib/losant_rest/org.rb +1 -1
  83. data/lib/losant_rest/org_invites.rb +1 -1
  84. data/lib/losant_rest/orgs.rb +1 -1
  85. data/lib/losant_rest/resource_job.rb +1 -1
  86. data/lib/losant_rest/resource_jobs.rb +1 -1
  87. data/lib/losant_rest/user_api_token.rb +1 -1
  88. data/lib/losant_rest/user_api_tokens.rb +1 -1
  89. data/lib/losant_rest/utils.rb +1 -1
  90. data/lib/losant_rest/version.rb +2 -2
  91. data/lib/losant_rest/webhook.rb +1 -1
  92. data/lib/losant_rest/webhooks.rb +1 -1
  93. data/lib/losant_rest.rb +1 -1
  94. data/schemas/deviceRecipeBulkCreatePost.json +33 -8
  95. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 363bd1173976f99cce341a8d7866a2014ecc9dd1fdce56b5045931b027190c86
4
- data.tar.gz: 321cdecafb40ace9c77b79cbc27d846ad7b848dcd91af6a698a1e34504388018
3
+ metadata.gz: 5677acb13527250c45cc5574bc4426d3e1d19fb2b5843b339b391ce2dd15a357
4
+ data.tar.gz: 8f155278d5f9606271697a7d2e8855645883767a36798ef98a72d896f12254c4
5
5
  SHA512:
6
- metadata.gz: a17af2d37c5ec817add2b1d4e48213a9ad62c561ae7625b0415d9f8048f5227b2638f0e94ba32773b8b4efdc6ae72f087e5571775383d09c45448620ccf18348
7
- data.tar.gz: 69d19e9cd809f69d8efa8b2bb1c391df53d89bf6ad3f070fe24dd6189d30eff62f9ee805e3d089b1e8feb752448efb0125e948238b6f5d82821440833765a3f1
6
+ metadata.gz: 4a90777692ae5828b51d820fdff19481f39f8ffa8ba22ea80e021bbec15611cf385468970e017ebd4bd6633d3c2d9edf6fa2028d3e476173eaeb224e20cee478
7
+ data.tar.gz: bc1c8c515bd51af695e5b858ea632c3ad08f203cc55066d5b327553f3d34c5451c09aa3943889a01827e72a349e280b3c8cd29064ca3fb2970498381b711f2bf
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2022 Losant IoT, Inc.
3
+ Copyright (c) 2023 Losant IoT, Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/docs/_schemas.md CHANGED
@@ -47156,14 +47156,27 @@ Schema for the body of a bulk Device creation request
47156
47156
  "$schema": "http://json-schema.org/draft-07/schema#",
47157
47157
  "type": "object",
47158
47158
  "properties": {
47159
- "nameColumn": {
47159
+ "csv": {
47160
47160
  "type": "string"
47161
47161
  },
47162
+ "count": {
47163
+ "type": "integer"
47164
+ },
47165
+ "nameColumn": {
47166
+ "type": "string",
47167
+ "maxLength": 255
47168
+ },
47162
47169
  "descriptionColumn": {
47163
- "type": "string"
47170
+ "type": "string",
47171
+ "maxLength": 255
47164
47172
  },
47165
- "csv": {
47166
- "type": "string"
47173
+ "gatewayIdColumn": {
47174
+ "type": "string",
47175
+ "maxLength": 255
47176
+ },
47177
+ "parentIdColumn": {
47178
+ "type": "string",
47179
+ "maxLength": 255
47167
47180
  },
47168
47181
  "makeUniqueKeySecret": {
47169
47182
  "type": "boolean"
@@ -47177,12 +47190,24 @@ Schema for the body of a bulk Device creation request
47177
47190
  "type": "string",
47178
47191
  "format": "uri",
47179
47192
  "maxLength": 1024
47193
+ },
47194
+ "gatewayId": {
47195
+ "type": "string",
47196
+ "pattern": "^[A-Fa-f\\d]{24}$"
47197
+ },
47198
+ "parentId": {
47199
+ "oneOf": [
47200
+ {
47201
+ "type": "string",
47202
+ "pattern": "^[A-Fa-f\\d]{24}$"
47203
+ },
47204
+ {
47205
+ "type": "null"
47206
+ }
47207
+ ]
47180
47208
  }
47181
47209
  },
47182
- "additionalProperties": false,
47183
- "required": [
47184
- "csv"
47185
- ]
47210
+ "additionalProperties": false
47186
47211
  }
47187
47212
  ```
47188
47213
  ### <a name="device-recipe-bulk-create-post-example"></a> Example
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -27,7 +27,7 @@ module LosantRest
27
27
  #
28
28
  # User API for accessing Losant data
29
29
  #
30
- # Built For Version 1.24.0
30
+ # Built For Version 1.24.1
31
31
  class Client
32
32
  attr_accessor :auth_token, :url
33
33
 
@@ -382,7 +382,7 @@ module LosantRest
382
382
 
383
383
  headers["Accept"] = "application/json"
384
384
  headers["Content-Type"] = "application/json"
385
- headers["Accept-Version"] = "^1.24.0"
385
+ headers["Accept-Version"] = "^1.24.1"
386
386
  headers["Authorization"] = "Bearer #{self.auth_token}" if self.auth_token
387
387
  path = self.url + options.fetch(:path, "")
388
388
 
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -21,5 +21,5 @@
21
21
  # SOFTWARE.
22
22
 
23
23
  module LosantRest
24
- VERSION = "1.17.0"
24
+ VERSION = "1.17.1"
25
25
  end
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
data/lib/losant_rest.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2022 Losant IoT, Inc.
3
+ # Copyright (c) 2023 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -2,14 +2,27 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "properties": {
5
- "nameColumn": {
5
+ "csv": {
6
6
  "type": "string"
7
7
  },
8
+ "count": {
9
+ "type": "integer"
10
+ },
11
+ "nameColumn": {
12
+ "type": "string",
13
+ "maxLength": 255
14
+ },
8
15
  "descriptionColumn": {
9
- "type": "string"
16
+ "type": "string",
17
+ "maxLength": 255
10
18
  },
11
- "csv": {
12
- "type": "string"
19
+ "gatewayIdColumn": {
20
+ "type": "string",
21
+ "maxLength": 255
22
+ },
23
+ "parentIdColumn": {
24
+ "type": "string",
25
+ "maxLength": 255
13
26
  },
14
27
  "makeUniqueKeySecret": {
15
28
  "type": "boolean"
@@ -23,10 +36,22 @@
23
36
  "type": "string",
24
37
  "format": "uri",
25
38
  "maxLength": 1024
39
+ },
40
+ "gatewayId": {
41
+ "type": "string",
42
+ "pattern": "^[A-Fa-f\\d]{24}$"
43
+ },
44
+ "parentId": {
45
+ "oneOf": [
46
+ {
47
+ "type": "string",
48
+ "pattern": "^[A-Fa-f\\d]{24}$"
49
+ },
50
+ {
51
+ "type": "null"
52
+ }
53
+ ]
26
54
  }
27
55
  },
28
- "additionalProperties": false,
29
- "required": [
30
- "csv"
31
- ]
56
+ "additionalProperties": false
32
57
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: losant_rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Kuehl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-30 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty