@xyo-network/api 2.38.8 → 2.38.10

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 (97) hide show
  1. package/dist/cjs/Archivist/XyoRemoteArchivist.d.ts.map +1 -1
  2. package/dist/cjs/Archivist/XyoRemoteArchivist.js +12 -9
  3. package/dist/cjs/Archivist/XyoRemoteArchivist.js.map +1 -1
  4. package/dist/cjs/Base.d.ts +14 -14
  5. package/dist/cjs/Base.d.ts.map +1 -1
  6. package/dist/cjs/Base.js +71 -68
  7. package/dist/cjs/Base.js.map +1 -1
  8. package/dist/cjs/Diviner/AddressHistoryDiviner/XyoRemoteAddressHistoryDiviner.d.ts +2 -0
  9. package/dist/cjs/Diviner/AddressHistoryDiviner/XyoRemoteAddressHistoryDiviner.d.ts.map +1 -1
  10. package/dist/cjs/Diviner/AddressHistoryDiviner/XyoRemoteAddressHistoryDiviner.js +8 -5
  11. package/dist/cjs/Diviner/AddressHistoryDiviner/XyoRemoteAddressHistoryDiviner.js.map +1 -1
  12. package/dist/cjs/Diviner/LocationDiviner/ApiConfig.d.ts +2 -2
  13. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts +1 -1
  14. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts.map +1 -1
  15. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts +1 -1
  16. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts.map +1 -1
  17. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts +4 -4
  18. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts.map +1 -1
  19. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts +1 -1
  20. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts.map +1 -1
  21. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts +1 -1
  22. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts.map +1 -1
  23. package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js.map +1 -1
  24. package/dist/cjs/Diviner/LocationDiviner/models.d.ts +1 -1
  25. package/dist/cjs/Diviner/LocationDiviner/models.d.ts.map +1 -1
  26. package/dist/cjs/Diviner/RemoteDivinerError.d.ts +1 -1
  27. package/dist/cjs/Diviner/RemoteDivinerError.d.ts.map +1 -1
  28. package/dist/cjs/Diviner/RemoteDivinerError.js.map +1 -1
  29. package/dist/cjs/Diviner/XyoRemoteDivinerConfig.d.ts +1 -1
  30. package/dist/cjs/Diviner/XyoRemoteDivinerConfig.d.ts.map +1 -1
  31. package/dist/cjs/Simple.d.ts +6 -6
  32. package/dist/cjs/Simple.d.ts.map +1 -1
  33. package/dist/cjs/Simple.js +12 -12
  34. package/dist/cjs/Simple.js.map +1 -1
  35. package/dist/cjs/User/Api.d.ts +5 -5
  36. package/dist/cjs/models/Api/Config.d.ts +12 -12
  37. package/dist/cjs/models/Api/Config.d.ts.map +1 -1
  38. package/dist/cjs/models/Archive.d.ts +2 -2
  39. package/dist/cjs/models/Archive.d.ts.map +1 -1
  40. package/dist/docs.json +6192 -6037
  41. package/dist/esm/Archivist/XyoRemoteArchivist.d.ts.map +1 -1
  42. package/dist/esm/Archivist/XyoRemoteArchivist.js +11 -8
  43. package/dist/esm/Archivist/XyoRemoteArchivist.js.map +1 -1
  44. package/dist/esm/Base.d.ts +14 -14
  45. package/dist/esm/Base.d.ts.map +1 -1
  46. package/dist/esm/Base.js +63 -64
  47. package/dist/esm/Base.js.map +1 -1
  48. package/dist/esm/Diviner/AddressHistoryDiviner/XyoRemoteAddressHistoryDiviner.d.ts +2 -0
  49. package/dist/esm/Diviner/AddressHistoryDiviner/XyoRemoteAddressHistoryDiviner.d.ts.map +1 -1
  50. package/dist/esm/Diviner/AddressHistoryDiviner/XyoRemoteAddressHistoryDiviner.js +5 -4
  51. package/dist/esm/Diviner/AddressHistoryDiviner/XyoRemoteAddressHistoryDiviner.js.map +1 -1
  52. package/dist/esm/Diviner/LocationDiviner/ApiConfig.d.ts +2 -2
  53. package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts +1 -1
  54. package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts.map +1 -1
  55. package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts +1 -1
  56. package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts.map +1 -1
  57. package/dist/esm/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts +4 -4
  58. package/dist/esm/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts.map +1 -1
  59. package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts +1 -1
  60. package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts.map +1 -1
  61. package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts +1 -1
  62. package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts.map +1 -1
  63. package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js.map +1 -1
  64. package/dist/esm/Diviner/LocationDiviner/models.d.ts +1 -1
  65. package/dist/esm/Diviner/LocationDiviner/models.d.ts.map +1 -1
  66. package/dist/esm/Diviner/RemoteDivinerError.d.ts +1 -1
  67. package/dist/esm/Diviner/RemoteDivinerError.d.ts.map +1 -1
  68. package/dist/esm/Diviner/RemoteDivinerError.js +1 -1
  69. package/dist/esm/Diviner/RemoteDivinerError.js.map +1 -1
  70. package/dist/esm/Diviner/XyoRemoteDivinerConfig.d.ts +1 -1
  71. package/dist/esm/Diviner/XyoRemoteDivinerConfig.d.ts.map +1 -1
  72. package/dist/esm/Simple.d.ts +6 -6
  73. package/dist/esm/Simple.d.ts.map +1 -1
  74. package/dist/esm/Simple.js +11 -11
  75. package/dist/esm/Simple.js.map +1 -1
  76. package/dist/esm/User/Api.d.ts +5 -5
  77. package/dist/esm/models/Api/Config.d.ts +12 -12
  78. package/dist/esm/models/Api/Config.d.ts.map +1 -1
  79. package/dist/esm/models/Archive.d.ts +2 -2
  80. package/dist/esm/models/Archive.d.ts.map +1 -1
  81. package/package.json +9 -9
  82. package/src/Archivist/XyoRemoteArchivist.spec.ts +5 -0
  83. package/src/Archivist/XyoRemoteArchivist.ts +11 -8
  84. package/src/Base.ts +72 -73
  85. package/src/Diviner/AddressHistoryDiviner/XyoRemoteAddressHistoryDiviner.ts +7 -7
  86. package/src/Diviner/LocationDiviner/ApiConfig.ts +2 -2
  87. package/src/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.ts +1 -1
  88. package/src/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.ts +1 -1
  89. package/src/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.ts +4 -4
  90. package/src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.ts +1 -1
  91. package/src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts +2 -1
  92. package/src/Diviner/LocationDiviner/models.ts +1 -1
  93. package/src/Diviner/RemoteDivinerError.ts +1 -1
  94. package/src/Diviner/XyoRemoteDivinerConfig.ts +1 -1
  95. package/src/Simple.ts +18 -18
  96. package/src/models/Api/Config.ts +14 -14
  97. package/src/models/Archive.ts +2 -2
@@ -4,32 +4,32 @@ interface XyoApiConfig extends XyoApiReportable {
4
4
  /** @description The domain where the api is located */
5
5
  apiDomain: string
6
6
 
7
- /** @deprecated use the jwtToken instead*/
8
- userid?: string
9
-
10
- /** @description The jwtToken of the currently logged in user */
11
- jwtToken?: string
12
-
13
7
  /** @description The apiKey used for authentication */
14
8
  apiKey?: string
15
9
 
16
- /** @description The location in the API tree where this API object is mounted */
17
- root?: string
10
+ /** @description Threshold for Content-Size to cause automatic gzip of request body [default = 1024] */
11
+ compressionThreshold?: number
12
+
13
+ /** @description The jwtToken of the currently logged in user */
14
+ jwtToken?: string
18
15
 
19
16
  /** @description The query string, if any, that is added to the end of every request */
20
17
  query?: string
21
18
 
22
- /** @description Threshold for Content-Size to cause automatic gzip of request body [default = 1024] */
23
- compressionThreshold?: number
19
+ /** @description Parent that should also report events from this api */
20
+ reportableParent?: XyoApiReportable
24
21
 
25
- /** @description Throw on failures */
26
- throwFailure?: boolean
22
+ /** @description The location in the API tree where this API object is mounted */
23
+ root?: string
27
24
 
28
25
  /** @description Throw on error */
29
26
  throwError?: boolean
30
27
 
31
- /** @description Parent that should also report events from this api */
32
- reportableParent?: XyoApiReportable
28
+ /** @description Throw on failures */
29
+ throwFailure?: boolean
30
+
31
+ /** @deprecated use the jwtToken instead*/
32
+ userid?: string
33
33
  }
34
34
 
35
35
  export type { XyoApiConfig }
@@ -7,8 +7,8 @@ export type ExpirationWindow = 'create' | 'read'
7
7
  export interface XyoAccessControl {
8
8
  access?: Record<AccessType, AccessLevel>
9
9
  expiration?: {
10
- window?: ExpirationWindow
11
10
  delay?: number
11
+ window?: ExpirationWindow
12
12
  }
13
13
  }
14
14
 
@@ -23,6 +23,6 @@ export interface XyoAccessControls {
23
23
  }
24
24
 
25
25
  export interface XyoArchive extends XyoArchivePath {
26
- user?: string
27
26
  accessControl?: XyoAccessControl | boolean
27
+ user?: string
28
28
  }