@simpleapps-com/augur-api 0.2.4 → 0.2.6

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 (162) hide show
  1. package/README.md +197 -9
  2. package/dist/cjs/client.d.ts +36 -1
  3. package/dist/cjs/client.d.ts.map +1 -1
  4. package/dist/cjs/client.js +54 -1
  5. package/dist/cjs/client.js.map +1 -1
  6. package/dist/cjs/core/config.d.ts +24 -0
  7. package/dist/cjs/core/config.d.ts.map +1 -1
  8. package/dist/cjs/core/config.js +12 -1
  9. package/dist/cjs/core/config.js.map +1 -1
  10. package/dist/cjs/index.d.ts +2 -2
  11. package/dist/cjs/index.d.ts.map +1 -1
  12. package/dist/cjs/index.js +5 -2
  13. package/dist/cjs/index.js.map +1 -1
  14. package/dist/cjs/services/agr-site/client.d.ts +522 -2
  15. package/dist/cjs/services/agr-site/client.d.ts.map +1 -1
  16. package/dist/cjs/services/agr-site/client.js +565 -12
  17. package/dist/cjs/services/agr-site/client.js.map +1 -1
  18. package/dist/cjs/services/p21-core/client.d.ts +627 -0
  19. package/dist/cjs/services/p21-core/client.d.ts.map +1 -0
  20. package/dist/cjs/services/p21-core/client.js +704 -0
  21. package/dist/cjs/services/p21-core/client.js.map +1 -0
  22. package/dist/cjs/services/p21-core/index.d.ts +3 -0
  23. package/dist/cjs/services/p21-core/index.d.ts.map +1 -0
  24. package/dist/cjs/services/p21-core/index.js +21 -0
  25. package/dist/cjs/services/p21-core/index.js.map +1 -0
  26. package/dist/cjs/services/p21-core/schemas/address.d.ts +88 -0
  27. package/dist/cjs/services/p21-core/schemas/address.d.ts.map +1 -0
  28. package/dist/cjs/services/p21-core/schemas/address.js +45 -0
  29. package/dist/cjs/services/p21-core/schemas/address.js.map +1 -0
  30. package/dist/cjs/services/p21-core/schemas/cash-drawer.d.ts +96 -0
  31. package/dist/cjs/services/p21-core/schemas/cash-drawer.d.ts.map +1 -0
  32. package/dist/cjs/services/p21-core/schemas/cash-drawer.js +39 -0
  33. package/dist/cjs/services/p21-core/schemas/cash-drawer.js.map +1 -0
  34. package/dist/cjs/services/p21-core/schemas/codes.d.ts +54 -0
  35. package/dist/cjs/services/p21-core/schemas/codes.d.ts.map +1 -0
  36. package/dist/cjs/services/p21-core/schemas/codes.js +25 -0
  37. package/dist/cjs/services/p21-core/schemas/codes.js.map +1 -0
  38. package/dist/cjs/services/p21-core/schemas/company.d.ts +80 -0
  39. package/dist/cjs/services/p21-core/schemas/company.d.ts.map +1 -0
  40. package/dist/cjs/services/p21-core/schemas/company.js +35 -0
  41. package/dist/cjs/services/p21-core/schemas/company.js.map +1 -0
  42. package/dist/cjs/services/p21-core/schemas/health.d.ts +46 -0
  43. package/dist/cjs/services/p21-core/schemas/health.d.ts.map +1 -0
  44. package/dist/cjs/services/p21-core/schemas/health.js +7 -0
  45. package/dist/cjs/services/p21-core/schemas/health.js.map +1 -0
  46. package/dist/cjs/services/p21-core/schemas/index.d.ts +8 -0
  47. package/dist/cjs/services/p21-core/schemas/index.d.ts.map +1 -0
  48. package/dist/cjs/services/p21-core/schemas/index.js +25 -0
  49. package/dist/cjs/services/p21-core/schemas/index.js.map +1 -0
  50. package/dist/cjs/services/p21-core/schemas/location.d.ts +84 -0
  51. package/dist/cjs/services/p21-core/schemas/location.d.ts.map +1 -0
  52. package/dist/cjs/services/p21-core/schemas/location.js +35 -0
  53. package/dist/cjs/services/p21-core/schemas/location.js.map +1 -0
  54. package/dist/cjs/services/p21-core/schemas/payment-types.d.ts +39 -0
  55. package/dist/cjs/services/p21-core/schemas/payment-types.d.ts.map +1 -0
  56. package/dist/cjs/services/p21-core/schemas/payment-types.js +26 -0
  57. package/dist/cjs/services/p21-core/schemas/payment-types.js.map +1 -0
  58. package/dist/cjs/services/p21-core/schemas.d.ts +2 -0
  59. package/dist/cjs/services/p21-core/schemas.d.ts.map +1 -0
  60. package/dist/cjs/services/p21-core/schemas.js +19 -0
  61. package/dist/cjs/services/p21-core/schemas.js.map +1 -0
  62. package/dist/cjs/services/vmi/client.d.ts +501 -1
  63. package/dist/cjs/services/vmi/client.d.ts.map +1 -1
  64. package/dist/cjs/services/vmi/client.js +408 -0
  65. package/dist/cjs/services/vmi/client.js.map +1 -1
  66. package/dist/esm/client.d.ts +36 -1
  67. package/dist/esm/client.d.ts.map +1 -1
  68. package/dist/esm/client.js +52 -0
  69. package/dist/esm/client.js.map +1 -1
  70. package/dist/esm/core/config.d.ts +24 -0
  71. package/dist/esm/core/config.d.ts.map +1 -1
  72. package/dist/esm/core/config.js +10 -0
  73. package/dist/esm/core/config.js.map +1 -1
  74. package/dist/esm/index.d.ts +2 -2
  75. package/dist/esm/index.d.ts.map +1 -1
  76. package/dist/esm/index.js +3 -1
  77. package/dist/esm/index.js.map +1 -1
  78. package/dist/esm/services/agr-site/client.d.ts +522 -2
  79. package/dist/esm/services/agr-site/client.d.ts.map +1 -1
  80. package/dist/esm/services/agr-site/client.js +565 -12
  81. package/dist/esm/services/agr-site/client.js.map +1 -1
  82. package/dist/esm/services/p21-core/client.d.ts +627 -0
  83. package/dist/esm/services/p21-core/client.d.ts.map +1 -0
  84. package/dist/esm/services/p21-core/client.js +700 -0
  85. package/dist/esm/services/p21-core/client.js.map +1 -0
  86. package/dist/esm/services/p21-core/index.d.ts +3 -0
  87. package/dist/esm/services/p21-core/index.d.ts.map +1 -0
  88. package/dist/esm/services/p21-core/index.js +3 -0
  89. package/dist/esm/services/p21-core/index.js.map +1 -0
  90. package/dist/esm/services/p21-core/schemas/address.d.ts +88 -0
  91. package/dist/esm/services/p21-core/schemas/address.d.ts.map +1 -0
  92. package/dist/esm/services/p21-core/schemas/address.js +42 -0
  93. package/dist/esm/services/p21-core/schemas/address.js.map +1 -0
  94. package/dist/esm/services/p21-core/schemas/cash-drawer.d.ts +96 -0
  95. package/dist/esm/services/p21-core/schemas/cash-drawer.d.ts.map +1 -0
  96. package/dist/esm/services/p21-core/schemas/cash-drawer.js +36 -0
  97. package/dist/esm/services/p21-core/schemas/cash-drawer.js.map +1 -0
  98. package/dist/esm/services/p21-core/schemas/codes.d.ts +54 -0
  99. package/dist/esm/services/p21-core/schemas/codes.d.ts.map +1 -0
  100. package/dist/esm/services/p21-core/schemas/codes.js +22 -0
  101. package/dist/esm/services/p21-core/schemas/codes.js.map +1 -0
  102. package/dist/esm/services/p21-core/schemas/company.d.ts +80 -0
  103. package/dist/esm/services/p21-core/schemas/company.d.ts.map +1 -0
  104. package/dist/esm/services/p21-core/schemas/company.js +32 -0
  105. package/dist/esm/services/p21-core/schemas/company.js.map +1 -0
  106. package/dist/esm/services/p21-core/schemas/health.d.ts +46 -0
  107. package/dist/esm/services/p21-core/schemas/health.d.ts.map +1 -0
  108. package/dist/esm/services/p21-core/schemas/health.js +4 -0
  109. package/dist/esm/services/p21-core/schemas/health.js.map +1 -0
  110. package/dist/esm/services/p21-core/schemas/index.d.ts +8 -0
  111. package/dist/esm/services/p21-core/schemas/index.d.ts.map +1 -0
  112. package/dist/esm/services/p21-core/schemas/index.js +9 -0
  113. package/dist/esm/services/p21-core/schemas/index.js.map +1 -0
  114. package/dist/esm/services/p21-core/schemas/location.d.ts +84 -0
  115. package/dist/esm/services/p21-core/schemas/location.d.ts.map +1 -0
  116. package/dist/esm/services/p21-core/schemas/location.js +32 -0
  117. package/dist/esm/services/p21-core/schemas/location.js.map +1 -0
  118. package/dist/esm/services/p21-core/schemas/payment-types.d.ts +39 -0
  119. package/dist/esm/services/p21-core/schemas/payment-types.d.ts.map +1 -0
  120. package/dist/esm/services/p21-core/schemas/payment-types.js +23 -0
  121. package/dist/esm/services/p21-core/schemas/payment-types.js.map +1 -0
  122. package/dist/esm/services/p21-core/schemas.d.ts +2 -0
  123. package/dist/esm/services/p21-core/schemas.d.ts.map +1 -0
  124. package/dist/esm/services/p21-core/schemas.js +3 -0
  125. package/dist/esm/services/p21-core/schemas.js.map +1 -0
  126. package/dist/esm/services/vmi/client.d.ts +501 -1
  127. package/dist/esm/services/vmi/client.d.ts.map +1 -1
  128. package/dist/esm/services/vmi/client.js +408 -0
  129. package/dist/esm/services/vmi/client.js.map +1 -1
  130. package/dist/types/client.d.ts +36 -1
  131. package/dist/types/client.d.ts.map +1 -1
  132. package/dist/types/core/config.d.ts +24 -0
  133. package/dist/types/core/config.d.ts.map +1 -1
  134. package/dist/types/index.d.ts +2 -2
  135. package/dist/types/index.d.ts.map +1 -1
  136. package/dist/types/services/agr-site/client.d.ts +522 -2
  137. package/dist/types/services/agr-site/client.d.ts.map +1 -1
  138. package/dist/types/services/p21-core/client.d.ts +627 -0
  139. package/dist/types/services/p21-core/client.d.ts.map +1 -0
  140. package/dist/types/services/p21-core/index.d.ts +3 -0
  141. package/dist/types/services/p21-core/index.d.ts.map +1 -0
  142. package/dist/types/services/p21-core/schemas/address.d.ts +88 -0
  143. package/dist/types/services/p21-core/schemas/address.d.ts.map +1 -0
  144. package/dist/types/services/p21-core/schemas/cash-drawer.d.ts +96 -0
  145. package/dist/types/services/p21-core/schemas/cash-drawer.d.ts.map +1 -0
  146. package/dist/types/services/p21-core/schemas/codes.d.ts +54 -0
  147. package/dist/types/services/p21-core/schemas/codes.d.ts.map +1 -0
  148. package/dist/types/services/p21-core/schemas/company.d.ts +80 -0
  149. package/dist/types/services/p21-core/schemas/company.d.ts.map +1 -0
  150. package/dist/types/services/p21-core/schemas/health.d.ts +46 -0
  151. package/dist/types/services/p21-core/schemas/health.d.ts.map +1 -0
  152. package/dist/types/services/p21-core/schemas/index.d.ts +8 -0
  153. package/dist/types/services/p21-core/schemas/index.d.ts.map +1 -0
  154. package/dist/types/services/p21-core/schemas/location.d.ts +84 -0
  155. package/dist/types/services/p21-core/schemas/location.d.ts.map +1 -0
  156. package/dist/types/services/p21-core/schemas/payment-types.d.ts +39 -0
  157. package/dist/types/services/p21-core/schemas/payment-types.d.ts.map +1 -0
  158. package/dist/types/services/p21-core/schemas.d.ts +2 -0
  159. package/dist/types/services/p21-core/schemas.d.ts.map +1 -0
  160. package/dist/types/services/vmi/client.d.ts +501 -1
  161. package/dist/types/services/vmi/client.d.ts.map +1 -1
  162. package/package.json +1 -1
@@ -6,11 +6,55 @@ import { BaseResponseSchema } from '../../core/schemas';
6
6
  const UnknownResponseSchema = BaseResponseSchema(z.unknown());
7
7
  const UnknownArrayResponseSchema = BaseResponseSchema(z.array(z.unknown()));
8
8
  import { SettingListParamsSchema, SettingCreateParamsSchema, SettingUpdateParamsSchema, FyxerTranscriptListParamsSchema, FyxerTranscriptCreateParamsSchema, FyxerTranscriptUpdateParamsSchema, OpenSearchEmbeddingParamsSchema, HealthCheckResponseSchema, SettingSchema, FyxerTranscriptSchema, OpenSearchEmbeddingSchema, MetaFilesDataSchema, } from './schemas';
9
+ /**
10
+ * AGR-Site API Client
11
+ * @description Client for interacting with AGR-Site (Augur Site) microservice API endpoints for site content management, AI transcription processing, and search embedding functionality
12
+ * @fullPath api.agrSite
13
+ * @service agr-site
14
+ * @domain site-content-management
15
+ * @discoverable true
16
+ * @searchTerms ["agr-site", "augur site", "site content", "settings management", "fyxer transcripts", "AI transcription", "opensearch embedding", "content management", "site data"]
17
+ * @relatedEndpoints ["api.agrSite.settings", "api.agrSite.fyxerTranscripts", "api.agrSite.openSearch", "api.agrSite.health"]
18
+ * @commonPatterns ["Site content management", "AI transcript processing", "Search embedding integration", "Site settings configuration"]
19
+ * @workflow ["content-creation", "transcript-processing", "search-optimization", "site-data-management"]
20
+ * @functionalArea "site-content-and-ai-processing"
21
+ * @businessRules ["Requires valid site authentication", "Transcript processing for business content", "Settings changes affect site-wide behavior"]
22
+ * @performance "Supports pagination for large datasets, embedding operations may have latency"
23
+ * @example
24
+ * ```typescript
25
+ * import { HTTPClient } from '@augur/api-client/core';
26
+ * import { AgrSiteClient } from '@augur/api-client/services/agr-site';
27
+ *
28
+ * const http = new HTTPClient('agr-site', { siteId: 'your-site-id', bearerToken: 'your-token' });
29
+ * const agrSite = new AgrSiteClient(http);
30
+ *
31
+ * // Manage site settings
32
+ * const settings = await agrSite.settings.list();
33
+ * const settingsData = await agrSite.settings.listData();
34
+ *
35
+ * // Process AI transcripts
36
+ * const transcript = await agrSite.fyxerTranscripts.create({
37
+ * title: 'Business Meeting Notes',
38
+ * content: 'Discussion about project roadmap and priorities...',
39
+ * metadata: { tags: ['business', 'planning'] }
40
+ * });
41
+ *
42
+ * // Generate search embeddings
43
+ * const embedding = await agrSite.openSearch.getEmbedding({
44
+ * text: 'Business strategy discussion for Q1 planning'
45
+ * });
46
+ * ```
47
+ */
9
48
  export class AgrSiteClient extends BaseServiceClient {
10
49
  // Ensure schemas are referenced to avoid unused import warnings
11
50
  get schemaRefs() {
12
51
  return this._schemaRefs;
13
52
  }
53
+ /**
54
+ * Create a new AgrSiteClient instance
55
+ * @param http Configured HTTPClient instance with authentication
56
+ * @param baseUrl Base URL for the AGR-Site API (default: https://agr-site.augur-api.com)
57
+ */
14
58
  constructor(http, baseUrl = 'https://agr-site.augur-api.com') {
15
59
  super('agr-site', http, baseUrl);
16
60
  // Schema references for 100% coverage - ensuring all exports are imported
@@ -20,24 +64,450 @@ export class AgrSiteClient extends BaseServiceClient {
20
64
  OpenSearchEmbeddingSchema,
21
65
  MetaFilesDataSchema,
22
66
  };
23
- // Settings Management
67
+ /**
68
+ * Settings Management Operations
69
+ * @description Comprehensive settings configuration management for site content and behavior
70
+ */
24
71
  this.settings = {
72
+ /**
73
+ * List all configuration settings with optional filtering and pagination
74
+ * @description Retrieves all site configuration settings with support for filtering and pagination
75
+ * @fullPath api.agrSite.settings.list
76
+ * @service agr-site
77
+ * @domain site-content-management
78
+ * @dataMethod listData - returns only the settings array without metadata
79
+ * @discoverable true
80
+ * @searchTerms ["settings", "configuration", "site config", "preferences", "site settings", "content settings"]
81
+ * @relatedEndpoints ["api.agrSite.settings.get", "api.agrSite.settings.create", "api.agrSite.settings.update", "api.agrSite.settings.delete"]
82
+ * @commonPatterns ["Get all settings", "List site configuration", "Retrieve preferences", "Configuration management"]
83
+ * @workflow ["settings-management", "site-configuration", "site-setup"]
84
+ * @prerequisites ["Valid authentication token", "Settings read permissions"]
85
+ * @nextSteps ["api.agrSite.settings.get for details", "api.agrSite.settings.update for modifications"]
86
+ * @businessRules ["Returns only settings accessible to current user", "Respects site-level permissions", "Pagination recommended for large config sets"]
87
+ * @functionalArea "site-content-and-ai-processing"
88
+ * @caching "Cache for 10 minutes, invalidate on settings changes"
89
+ * @performance "Supports pagination, use filters for large configuration sets"
90
+ * @param params Optional filtering and pagination parameters
91
+ * @returns Promise<BaseResponse<unknown[]>> Complete response with settings array and metadata
92
+ * @example
93
+ * ```typescript
94
+ * // Get all settings
95
+ * const response = await client.settings.list();
96
+ * console.log(response.data); // Settings array
97
+ *
98
+ * // Get just the data
99
+ * const settings = await client.settings.listData();
100
+ *
101
+ * // Filter settings
102
+ * const filtered = await client.settings.list({ category: 'agricultural' });
103
+ * ```
104
+ */
25
105
  list: this.createListMethod('/settings', SettingListParamsSchema, UnknownArrayResponseSchema),
106
+ /**
107
+ * Get configuration setting details by ID
108
+ * @description Retrieves detailed information for a specific configuration setting
109
+ * @fullPath api.agrSite.settings.get
110
+ * @service agr-site
111
+ * @domain site-content-management
112
+ * @dataMethod getData - returns only the setting data without metadata
113
+ * @discoverable true
114
+ * @searchTerms ["setting detail", "configuration detail", "get setting", "retrieve config", "setting info"]
115
+ * @relatedEndpoints ["api.agrSite.settings.list", "api.agrSite.settings.update", "api.agrSite.settings.delete"]
116
+ * @commonPatterns ["Get setting details", "Retrieve configuration", "View setting info"]
117
+ * @workflow ["settings-management", "configuration-review"]
118
+ * @prerequisites ["Valid authentication token", "Setting read permissions", "Valid setting ID"]
119
+ * @nextSteps ["api.agrSite.settings.update to modify", "api.agrSite.settings.delete to remove"]
120
+ * @businessRules ["Returns 404 if setting not found", "Respects setting-level permissions"]
121
+ * @functionalArea "site-content-and-ai-processing"
122
+ * @caching "Cache for 15 minutes, invalidate on setting updates"
123
+ * @performance "Direct ID lookup, very fast response"
124
+ * @param settingsUid Unique identifier for the setting
125
+ * @returns Promise<BaseResponse<unknown>> Complete response with setting details
126
+ * @example
127
+ * ```typescript
128
+ * const setting = await client.settings.get(123);
129
+ * const settingData = await client.settings.getData(123);
130
+ * ```
131
+ */
26
132
  get: this.createGetMethod('/settings/{settingsUid}', UnknownResponseSchema),
133
+ /**
134
+ * Create new configuration setting
135
+ * @description Creates a new site configuration setting with specified parameters
136
+ * @fullPath api.agrSite.settings.create
137
+ * @service agr-site
138
+ * @domain site-content-management
139
+ * @dataMethod createData - returns only the created setting data without metadata
140
+ * @discoverable true
141
+ * @searchTerms ["create setting", "new configuration", "add setting", "setting creation", "config setup"]
142
+ * @relatedEndpoints ["api.agrSite.settings.list", "api.agrSite.settings.get", "api.agrSite.settings.update"]
143
+ * @commonPatterns ["Create new setting", "Add configuration", "Setup new preference"]
144
+ * @workflow ["settings-management", "site-configuration", "site-setup"]
145
+ * @prerequisites ["Valid authentication token", "Settings create permissions", "Valid setting data"]
146
+ * @nextSteps ["api.agrSite.settings.get to verify", "api.agrSite.settings.update for modifications"]
147
+ * @businessRules ["Setting names must be unique", "Validates setting format", "Creates audit trail"]
148
+ * @functionalArea "site-content-and-ai-processing"
149
+ * @performance "Synchronous creation with immediate availability"
150
+ * @param params Setting creation parameters including name, value, and metadata
151
+ * @returns Promise<BaseResponse<unknown>> Complete response with created setting details
152
+ * @example
153
+ * ```typescript
154
+ * const newSetting = await client.settings.create({
155
+ * name: 'crop_rotation_interval',
156
+ * value: '3',
157
+ * category: 'agricultural',
158
+ * description: 'Default crop rotation interval in years'
159
+ * });
160
+ * ```
161
+ */
27
162
  create: this.createCreateMethod('/settings', SettingCreateParamsSchema, UnknownResponseSchema),
163
+ /**
164
+ * Update existing configuration setting
165
+ * @description Updates an existing site configuration setting with new values
166
+ * @fullPath api.agrSite.settings.update
167
+ * @service agr-site
168
+ * @domain site-content-management
169
+ * @dataMethod updateData - returns only the updated setting data without metadata
170
+ * @discoverable true
171
+ * @searchTerms ["update setting", "modify configuration", "change setting", "edit config", "setting update"]
172
+ * @relatedEndpoints ["api.agrSite.settings.list", "api.agrSite.settings.get", "api.agrSite.settings.delete"]
173
+ * @commonPatterns ["Update setting value", "Modify configuration", "Change preferences"]
174
+ * @workflow ["settings-management", "configuration-maintenance"]
175
+ * @prerequisites ["Valid authentication token", "Settings update permissions", "Existing setting ID"]
176
+ * @nextSteps ["api.agrSite.settings.get to verify changes", "Cache invalidation may be required"]
177
+ * @businessRules ["Validates new values", "Maintains setting history", "Updates audit trail"]
178
+ * @functionalArea "site-content-and-ai-processing"
179
+ * @performance "Synchronous update with immediate effect"
180
+ * @param settingsUid Unique identifier for the setting to update
181
+ * @param params Updated setting parameters
182
+ * @returns Promise<BaseResponse<unknown>> Complete response with updated setting details
183
+ * @example
184
+ * ```typescript
185
+ * const updated = await client.settings.update(123, {
186
+ * value: '5',
187
+ * description: 'Updated crop rotation interval'
188
+ * });
189
+ * ```
190
+ */
28
191
  update: this.createUpdateMethod('/settings/{settingsUid}', SettingUpdateParamsSchema, UnknownResponseSchema),
192
+ /**
193
+ * Delete configuration setting
194
+ * @description Removes a configuration setting from the system
195
+ * @fullPath api.agrSite.settings.delete
196
+ * @service agr-site
197
+ * @domain site-content-management
198
+ * @dataMethod deleteData - returns only the deletion result without metadata
199
+ * @discoverable true
200
+ * @searchTerms ["delete setting", "remove configuration", "delete config", "remove setting"]
201
+ * @relatedEndpoints ["api.agrSite.settings.list", "api.agrSite.settings.get", "api.agrSite.settings.create"]
202
+ * @commonPatterns ["Delete setting", "Remove configuration", "Clean up settings"]
203
+ * @workflow ["settings-management", "configuration-cleanup"]
204
+ * @prerequisites ["Valid authentication token", "Settings delete permissions", "Existing setting ID"]
205
+ * @nextSteps ["Cache invalidation", "Verify setting removal with list operation"]
206
+ * @businessRules ["Cannot delete system-critical settings", "Creates deletion audit log", "Irreversible operation"]
207
+ * @functionalArea "site-content-and-ai-processing"
208
+ * @performance "Immediate deletion with cascading cleanup"
209
+ * @param settingsUid Unique identifier for the setting to delete
210
+ * @returns Promise<BaseResponse<unknown>> Complete response confirming deletion
211
+ * @example
212
+ * ```typescript
213
+ * const result = await client.settings.delete(123);
214
+ * ```
215
+ */
29
216
  delete: this.createDeleteMethod('/settings/{settingsUid}', UnknownResponseSchema),
217
+ // Data-only methods for direct access
218
+ /**
219
+ * Get settings data without response metadata
220
+ * @param params Optional filtering and pagination parameters
221
+ * @returns Promise<unknown[]> Settings array directly
222
+ */
223
+ listData: async (params) => {
224
+ const response = await this.settings.list(params);
225
+ return response.data;
226
+ },
227
+ /**
228
+ * Get setting data without response metadata
229
+ * @param settingsUid Unique identifier for the setting
230
+ * @returns Promise<unknown> Setting data directly
231
+ */
232
+ getData: async (settingsUid) => {
233
+ const response = await this.settings.get(settingsUid);
234
+ return response.data;
235
+ },
236
+ /**
237
+ * Create setting and return data without response metadata
238
+ * @param params Setting creation parameters
239
+ * @returns Promise<unknown> Created setting data directly
240
+ */
241
+ createData: async (params) => {
242
+ const response = await this.settings.create(params);
243
+ return response.data;
244
+ },
245
+ /**
246
+ * Update setting and return data without response metadata
247
+ * @param settingsUid Unique identifier for the setting to update
248
+ * @param params Updated setting parameters
249
+ * @returns Promise<unknown> Updated setting data directly
250
+ */
251
+ updateData: async (settingsUid, params) => {
252
+ const response = await this.settings.update(settingsUid, params);
253
+ return response.data;
254
+ },
255
+ /**
256
+ * Delete setting and return result without response metadata
257
+ * @param settingsUid Unique identifier for the setting to delete
258
+ * @returns Promise<unknown> Deletion result directly
259
+ */
260
+ deleteData: async (settingsUid) => {
261
+ const response = await this.settings.delete(settingsUid);
262
+ return response.data;
263
+ },
30
264
  };
31
- // Fyxer Transcript Management
265
+ /**
266
+ * Fyxer Transcript Management Operations
267
+ * @description AI-powered transcript processing and management for agricultural content and meeting documentation
268
+ */
32
269
  this.fyxerTranscripts = {
270
+ /**
271
+ * List all AI transcripts with optional filtering and pagination
272
+ * @description Retrieves all Fyxer AI transcripts with support for filtering by content type, date, and agricultural topics
273
+ * @fullPath api.agrSite.fyxerTranscripts.list
274
+ * @service agr-site
275
+ * @domain site-content-management
276
+ * @dataMethod listData - returns only the transcripts array without metadata
277
+ * @discoverable true
278
+ * @searchTerms ["transcripts", "AI transcripts", "fyxer", "meeting notes", "agricultural transcription", "audio processing", "speech to text"]
279
+ * @relatedEndpoints ["api.agrSite.fyxerTranscripts.get", "api.agrSite.fyxerTranscripts.create", "api.agrSite.fyxerTranscripts.update", "api.agrSite.fyxerTranscripts.delete", "api.agrSite.openSearch.getEmbedding"]
280
+ * @commonPatterns ["Get all transcripts", "List meeting notes", "Retrieve AI processed content", "Agricultural transcript management"]
281
+ * @workflow ["transcript-processing", "content-management", "agricultural-documentation", "ai-processing"]
282
+ * @prerequisites ["Valid authentication token", "Transcript read permissions"]
283
+ * @nextSteps ["api.agrSite.fyxerTranscripts.get for details", "api.agrSite.openSearch.getEmbedding for search optimization"]
284
+ * @businessRules ["Returns only transcripts accessible to current user", "Content filtered by agricultural relevance", "Pagination required for large datasets"]
285
+ * @functionalArea "site-content-and-ai-processing"
286
+ * @caching "Cache for 5 minutes, invalidate on transcript changes"
287
+ * @performance "Supports pagination, use date filters for large transcript collections"
288
+ * @param params Optional filtering and pagination parameters
289
+ * @returns Promise<BaseResponse<unknown[]>> Complete response with transcripts array and metadata
290
+ * @example
291
+ * ```typescript
292
+ * // Get all transcripts
293
+ * const response = await client.fyxerTranscripts.list();
294
+ * console.log(response.data); // Transcripts array
295
+ *
296
+ * // Get just the data
297
+ * const transcripts = await client.fyxerTranscripts.listData();
298
+ *
299
+ * // Filter by date range
300
+ * const recent = await client.fyxerTranscripts.list({
301
+ * startDate: '2024-01-01',
302
+ * endDate: '2024-12-31'
303
+ * });
304
+ * ```
305
+ */
33
306
  list: this.createListMethod('/fyxer-transcript', FyxerTranscriptListParamsSchema, UnknownArrayResponseSchema),
307
+ /**
308
+ * Get AI transcript details by ID
309
+ * @description Retrieves detailed information for a specific Fyxer AI transcript including processed content and metadata
310
+ * @fullPath api.agrSite.fyxerTranscripts.get
311
+ * @service agr-site
312
+ * @domain site-content-management
313
+ * @dataMethod getData - returns only the transcript data without metadata
314
+ * @discoverable true
315
+ * @searchTerms ["transcript detail", "AI transcript detail", "fyxer detail", "meeting detail", "transcript content"]
316
+ * @relatedEndpoints ["api.agrSite.fyxerTranscripts.list", "api.agrSite.fyxerTranscripts.update", "api.agrSite.fyxerTranscripts.delete", "api.agrSite.openSearch.getEmbedding"]
317
+ * @commonPatterns ["Get transcript details", "Retrieve AI processed content", "View meeting notes", "Access transcript data"]
318
+ * @workflow ["transcript-processing", "content-review", "agricultural-documentation"]
319
+ * @prerequisites ["Valid authentication token", "Transcript read permissions", "Valid transcript ID"]
320
+ * @nextSteps ["api.agrSite.fyxerTranscripts.update to modify", "api.agrSite.openSearch.getEmbedding for search indexing"]
321
+ * @businessRules ["Returns 404 if transcript not found", "Content may be sanitized for agricultural context", "Respects transcript-level permissions"]
322
+ * @functionalArea "site-content-and-ai-processing"
323
+ * @caching "Cache for 20 minutes, invalidate on transcript updates"
324
+ * @performance "Direct ID lookup with content processing, moderate response time"
325
+ * @param fyxerTranscriptHdrUid Unique identifier for the transcript
326
+ * @returns Promise<BaseResponse<unknown>> Complete response with transcript details and processed content
327
+ * @example
328
+ * ```typescript
329
+ * const transcript = await client.fyxerTranscripts.get(456);
330
+ * const transcriptData = await client.fyxerTranscripts.getData(456);
331
+ * ```
332
+ */
34
333
  get: this.createGetMethod('/fyxer-transcript/{fyxerTranscriptHdrUid}', UnknownResponseSchema),
334
+ /**
335
+ * Create new AI transcript
336
+ * @description Creates a new Fyxer AI transcript with audio processing and agricultural content analysis
337
+ * @fullPath api.agrSite.fyxerTranscripts.create
338
+ * @service agr-site
339
+ * @domain site-content-management
340
+ * @dataMethod createData - returns only the created transcript data without metadata
341
+ * @discoverable true
342
+ * @searchTerms ["create transcript", "new AI transcript", "fyxer creation", "audio processing", "speech to text", "agricultural transcript"]
343
+ * @relatedEndpoints ["api.agrSite.fyxerTranscripts.list", "api.agrSite.fyxerTranscripts.get", "api.agrSite.fyxerTranscripts.update", "api.agrSite.openSearch.getEmbedding"]
344
+ * @commonPatterns ["Process audio to transcript", "Create meeting notes", "Generate AI transcript", "Agricultural content processing"]
345
+ * @workflow ["transcript-processing", "content-creation", "ai-processing", "agricultural-documentation"]
346
+ * @prerequisites ["Valid authentication token", "Transcript create permissions", "Valid audio/text data", "Agricultural content validation"]
347
+ * @nextSteps ["api.agrSite.fyxerTranscripts.get to verify", "api.agrSite.openSearch.getEmbedding for search optimization"]
348
+ * @businessRules ["AI processes content for agricultural relevance", "Creates searchable content index", "Validates audio format and quality"]
349
+ * @functionalArea "site-content-and-ai-processing"
350
+ * @performance "Asynchronous AI processing, may take 30-60 seconds for large files"
351
+ * @param params Transcript creation parameters including audio data, title, and metadata
352
+ * @returns Promise<BaseResponse<unknown>> Complete response with created transcript details and processing status
353
+ * @example
354
+ * ```typescript
355
+ * const newTranscript = await client.fyxerTranscripts.create({
356
+ * title: 'Farm Planning Meeting - Q1 2024',
357
+ * audioUrl: 'https://example.com/meeting-audio.mp3',
358
+ * metadata: {
359
+ * participants: ['John Doe', 'Jane Smith'],
360
+ * topics: ['crop rotation', 'irrigation planning'],
361
+ * meetingDate: '2024-01-15'
362
+ * }
363
+ * });
364
+ * ```
365
+ */
35
366
  create: this.createCreateMethod('/fyxer-transcript', FyxerTranscriptCreateParamsSchema, UnknownResponseSchema),
367
+ /**
368
+ * Update existing AI transcript
369
+ * @description Updates an existing Fyxer AI transcript with new content, metadata, or processing parameters
370
+ * @fullPath api.agrSite.fyxerTranscripts.update
371
+ * @service agr-site
372
+ * @domain site-content-management
373
+ * @dataMethod updateData - returns only the updated transcript data without metadata
374
+ * @discoverable true
375
+ * @searchTerms ["update transcript", "modify AI transcript", "edit fyxer", "transcript update", "content modification"]
376
+ * @relatedEndpoints ["api.agrSite.fyxerTranscripts.list", "api.agrSite.fyxerTranscripts.get", "api.agrSite.fyxerTranscripts.delete", "api.agrSite.openSearch.getEmbedding"]
377
+ * @commonPatterns ["Update transcript content", "Modify meeting notes", "Edit AI processed content", "Refine agricultural transcript"]
378
+ * @workflow ["transcript-processing", "content-maintenance", "agricultural-documentation"]
379
+ * @prerequisites ["Valid authentication token", "Transcript update permissions", "Existing transcript ID", "Valid update data"]
380
+ * @nextSteps ["api.agrSite.fyxerTranscripts.get to verify changes", "api.agrSite.openSearch.getEmbedding to reindex"]
381
+ * @businessRules ["Maintains processing history", "Re-analyzes content for agricultural relevance", "Updates search index automatically"]
382
+ * @functionalArea "site-content-and-ai-processing"
383
+ * @performance "May trigger AI reprocessing, moderate response time"
384
+ * @param fyxerTranscriptHdrUid Unique identifier for the transcript to update
385
+ * @param params Updated transcript parameters
386
+ * @returns Promise<BaseResponse<unknown>> Complete response with updated transcript details
387
+ * @example
388
+ * ```typescript
389
+ * const updated = await client.fyxerTranscripts.update(456, {
390
+ * title: 'Updated Farm Planning Meeting - Q1 2024',
391
+ * metadata: {
392
+ * status: 'reviewed',
393
+ * tags: ['approved', 'implemented']
394
+ * }
395
+ * });
396
+ * ```
397
+ */
36
398
  update: this.createUpdateMethod('/fyxer-transcript/{fyxerTranscriptHdrUid}', FyxerTranscriptUpdateParamsSchema, UnknownResponseSchema),
399
+ /**
400
+ * Delete AI transcript
401
+ * @description Removes a Fyxer AI transcript and all associated processed content from the system
402
+ * @fullPath api.agrSite.fyxerTranscripts.delete
403
+ * @service agr-site
404
+ * @domain site-content-management
405
+ * @dataMethod deleteData - returns only the deletion result without metadata
406
+ * @discoverable true
407
+ * @searchTerms ["delete transcript", "remove AI transcript", "delete fyxer", "remove transcript", "transcript cleanup"]
408
+ * @relatedEndpoints ["api.agrSite.fyxerTranscripts.list", "api.agrSite.fyxerTranscripts.get", "api.agrSite.fyxerTranscripts.create"]
409
+ * @commonPatterns ["Delete transcript", "Remove meeting notes", "Clean up AI content", "Purge transcript data"]
410
+ * @workflow ["transcript-processing", "content-cleanup", "data-management"]
411
+ * @prerequisites ["Valid authentication token", "Transcript delete permissions", "Existing transcript ID"]
412
+ * @nextSteps ["Search index cleanup", "Verify transcript removal with list operation"]
413
+ * @businessRules ["Removes all associated files and embeddings", "Creates deletion audit log", "Irreversible operation"]
414
+ * @functionalArea "site-content-and-ai-processing"
415
+ * @performance "Cascading deletion with search index cleanup, may take several seconds"
416
+ * @param fyxerTranscriptHdrUid Unique identifier for the transcript to delete
417
+ * @returns Promise<BaseResponse<unknown>> Complete response confirming deletion and cleanup status
418
+ * @example
419
+ * ```typescript
420
+ * const result = await client.fyxerTranscripts.delete(456);
421
+ * ```
422
+ */
37
423
  delete: this.createDeleteMethod('/fyxer-transcript/{fyxerTranscriptHdrUid}', UnknownResponseSchema),
424
+ // Data-only methods for direct access
425
+ /**
426
+ * Get transcripts data without response metadata
427
+ * @param params Optional filtering and pagination parameters
428
+ * @returns Promise<unknown[]> Transcripts array directly
429
+ */
430
+ listData: async (params) => {
431
+ const response = await this.fyxerTranscripts.list(params);
432
+ return response.data;
433
+ },
434
+ /**
435
+ * Get transcript data without response metadata
436
+ * @param fyxerTranscriptHdrUid Unique identifier for the transcript
437
+ * @returns Promise<unknown> Transcript data directly
438
+ */
439
+ getData: async (fyxerTranscriptHdrUid) => {
440
+ const response = await this.fyxerTranscripts.get(fyxerTranscriptHdrUid);
441
+ return response.data;
442
+ },
443
+ /**
444
+ * Create transcript and return data without response metadata
445
+ * @param params Transcript creation parameters
446
+ * @returns Promise<unknown> Created transcript data directly
447
+ */
448
+ createData: async (params) => {
449
+ const response = await this.fyxerTranscripts.create(params);
450
+ return response.data;
451
+ },
452
+ /**
453
+ * Update transcript and return data without response metadata
454
+ * @param fyxerTranscriptHdrUid Unique identifier for the transcript to update
455
+ * @param params Updated transcript parameters
456
+ * @returns Promise<unknown> Updated transcript data directly
457
+ */
458
+ updateData: async (fyxerTranscriptHdrUid, params) => {
459
+ const response = await this.fyxerTranscripts.update(fyxerTranscriptHdrUid, params);
460
+ return response.data;
461
+ },
462
+ /**
463
+ * Delete transcript and return result without response metadata
464
+ * @param fyxerTranscriptHdrUid Unique identifier for the transcript to delete
465
+ * @returns Promise<unknown> Deletion result directly
466
+ */
467
+ deleteData: async (fyxerTranscriptHdrUid) => {
468
+ const response = await this.fyxerTranscripts.delete(fyxerTranscriptHdrUid);
469
+ return response.data;
470
+ },
38
471
  };
39
- // OpenSearch Integration
472
+ /**
473
+ * OpenSearch Integration Operations
474
+ * @description Advanced search embedding and indexing functionality for agricultural content discovery
475
+ */
40
476
  this.openSearch = {
477
+ /**
478
+ * Generate text embedding for search optimization
479
+ * @description Creates vector embeddings for agricultural content to enable semantic search and content discovery
480
+ * @fullPath api.agrSite.openSearch.getEmbedding
481
+ * @service agr-site
482
+ * @domain search-optimization
483
+ * @dataMethod getEmbeddingData - returns only the embedding data without metadata
484
+ * @discoverable true
485
+ * @searchTerms ["embedding", "vector search", "semantic search", "text embedding", "opensearch", "search optimization", "content indexing"]
486
+ * @relatedEndpoints ["api.agrSite.fyxerTranscripts.create", "api.agrSite.fyxerTranscripts.update", "api.agrSite.settings.list"]
487
+ * @commonPatterns ["Generate content embeddings", "Optimize search index", "Create semantic vectors", "Agricultural content analysis"]
488
+ * @workflow ["search-optimization", "content-indexing", "ai-processing", "agricultural-content-analysis"]
489
+ * @prerequisites ["Valid authentication token", "Search integration permissions", "Valid text content"]
490
+ * @nextSteps ["Index embeddings in search system", "Use embeddings for content discovery"]
491
+ * @businessRules ["Optimizes embeddings for agricultural content", "Rate limited for large-scale operations", "Content filtered for relevance"]
492
+ * @functionalArea "site-content-and-ai-processing"
493
+ * @caching "Embeddings cached for 24 hours, invalidate on content changes"
494
+ * @performance "AI processing may take 2-5 seconds depending on content length"
495
+ * @param params Text content and embedding configuration parameters
496
+ * @returns Promise<BaseResponse<unknown>> Complete response with generated embedding vectors and metadata
497
+ * @example
498
+ * ```typescript
499
+ * const embedding = await client.openSearch.getEmbedding({
500
+ * text: 'Sustainable farming practices for crop rotation and soil health',
501
+ * model: 'agricultural-optimized',
502
+ * dimensions: 384
503
+ * });
504
+ *
505
+ * // Get just the embedding data
506
+ * const embeddingData = await client.openSearch.getEmbeddingData({
507
+ * text: 'Organic farming techniques for sustainable agriculture'
508
+ * });
509
+ * ```
510
+ */
41
511
  getEmbedding: async (params) => {
42
512
  return this.executeRequest({
43
513
  method: 'GET',
@@ -46,19 +516,102 @@ export class AgrSiteClient extends BaseServiceClient {
46
516
  responseSchema: UnknownResponseSchema,
47
517
  }, params);
48
518
  },
519
+ /**
520
+ * Get embedding data without response metadata
521
+ * @param params Text content and embedding configuration parameters
522
+ * @returns Promise<unknown> Embedding data directly
523
+ */
524
+ getEmbeddingData: async (params) => {
525
+ const response = await this.openSearch.getEmbedding(params);
526
+ return response.data;
527
+ },
49
528
  };
50
- // Health check (required for all services)
529
+ /**
530
+ * Meta Files Operations
531
+ * @description Site metadata and SEO file management for agricultural content discovery
532
+ */
533
+ this.metaFiles = {
534
+ /**
535
+ * Get robots.txt configuration for search engine crawling
536
+ * @description Retrieves the robots.txt file configuration for controlling search engine access to agricultural content
537
+ * @fullPath api.agrSite.metaFiles.getRobots
538
+ * @service agr-site
539
+ * @domain seo-management
540
+ * @dataMethod getRobotsData - returns only the robots.txt content without metadata
541
+ * @discoverable true
542
+ * @searchTerms ["robots.txt", "SEO", "search engine optimization", "crawler configuration", "site meta", "web crawling"]
543
+ * @relatedEndpoints ["api.agrSite.settings.list", "api.agrSite.fyxerTranscripts.list"]
544
+ * @commonPatterns ["Get SEO configuration", "Retrieve crawler rules", "Access robots.txt", "Site metadata management"]
545
+ * @workflow ["seo-management", "site-configuration", "search-optimization"]
546
+ * @prerequisites ["Valid authentication token", "Meta files access permissions"]
547
+ * @nextSteps ["Configure SEO settings", "Update crawler permissions"]
548
+ * @businessRules ["Controls agricultural content visibility", "Respects SEO best practices", "Configurable per site"]
549
+ * @functionalArea "site-content-and-ai-processing"
550
+ * @caching "Cache for 1 hour, invalidate on SEO configuration changes"
551
+ * @performance "Static file retrieval, very fast response"
552
+ * @returns Promise<BaseResponse<unknown>> Complete response with robots.txt content and configuration
553
+ * @example
554
+ * ```typescript
555
+ * const robotsConfig = await client.metaFiles.getRobots();
556
+ * const robotsData = await client.metaFiles.getRobotsData();
557
+ * ```
558
+ */
559
+ getRobots: async () => {
560
+ return this.executeRequest({
561
+ method: 'GET',
562
+ path: '/meta-files/robots',
563
+ responseSchema: UnknownResponseSchema,
564
+ }, undefined);
565
+ },
566
+ /**
567
+ * Get robots.txt data without response metadata
568
+ * @returns Promise<unknown> Robots.txt content directly
569
+ */
570
+ getRobotsData: async () => {
571
+ const response = await this.metaFiles.getRobots();
572
+ return response.data;
573
+ },
574
+ };
575
+ /**
576
+ * Health monitoring endpoint
577
+ * @description Service health check endpoint that validates AGR-Site API availability and operational status
578
+ * @fullPath api.agrSite.health.check
579
+ * @service agr-site
580
+ * @domain service-monitoring
581
+ * @dataMethod getHealthCheckData - returns only the health status data without metadata
582
+ * @discoverable true
583
+ * @searchTerms ["health check", "service status", "API health", "monitoring", "uptime", "service availability"]
584
+ * @relatedEndpoints ["api.agrSite.settings.list", "api.agrSite.fyxerTranscripts.list", "api.agrSite.openSearch.getEmbedding"]
585
+ * @commonPatterns ["Check service health", "Monitor API status", "Validate service availability", "Health monitoring"]
586
+ * @workflow ["service-monitoring", "health-checks", "system-diagnostics"]
587
+ * @prerequisites ["Network connectivity to AGR-Site service"]
588
+ * @nextSteps ["Service-specific operations if healthy", "Error handling if unhealthy"]
589
+ * @businessRules ["No authentication required", "Returns standardized health status", "Includes dependency checks"]
590
+ * @functionalArea "service-monitoring"
591
+ * @caching "No caching for real-time health status"
592
+ * @performance "Fast response for monitoring systems, typically <100ms"
593
+ * @returns Promise<BaseResponse<unknown>> Complete response with health status and service diagnostics
594
+ * @example
595
+ * ```typescript
596
+ * const health = await client.getHealthCheck();
597
+ * const healthData = await client.getHealthCheckData();
598
+ *
599
+ * if (health.success) {
600
+ * console.log('AGR-Site service is healthy');
601
+ * }
602
+ * ```
603
+ */
51
604
  this.getHealthCheck = this.createHealthCheckMethod(HealthCheckResponseSchema);
605
+ /**
606
+ * Get health check data without response metadata
607
+ * @returns Promise<unknown> Health status data directly
608
+ */
609
+ this.getHealthCheckData = async () => {
610
+ const response = await this.getHealthCheck();
611
+ return response.data;
612
+ };
52
613
  // Reference schemas to ensure 100% import coverage
53
614
  void this.schemaRefs;
54
615
  }
55
- // Meta Files - Get robots.txt (no response validation)
56
- async getMetaRobots() {
57
- return this.executeRequest({
58
- method: 'GET',
59
- path: '/meta-files/robots',
60
- responseSchema: UnknownResponseSchema,
61
- }, undefined);
62
- }
63
616
  }
64
617
  //# sourceMappingURL=client.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../src/services/agr-site/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,iBAAiB,EAAqB,MAAM,wBAAwB,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAExD,8EAA8E;AAC9E,uFAAuF;AACvF,MAAM,qBAAqB,GAAG,kBAAkB,CAAC,CAAC,CAAC,OAAO,EAAE,CAAuC,CAAC;AACpG,MAAM,0BAA0B,GAAG,kBAAkB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAEzE,CAAC;AACF,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,EACzB,+BAA+B,EAC/B,iCAAiC,EACjC,iCAAiC,EACjC,+BAA+B,EAC/B,yBAAyB,EACzB,aAAa,EACb,qBAAqB,EACrB,yBAAyB,EACzB,mBAAmB,GAMpB,MAAM,WAAW,CAAC;AAEnB,MAAM,OAAO,aAAc,SAAQ,iBAAiB;IASlD,gEAAgE;IAChE,IAAY,UAAU;QACpB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC1B,CAAC;IAED,YAAY,IAAgB,EAAE,UAAkB,gCAAgC;QAC9E,KAAK,CAAC,UAAU,EAAE,IAAI,EAAE,OAAO,CAAC,CAA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BAAqB;iBACtC,EACD,MAAM,CACP,CAAC;YACJ,CAAC;SACF,CAAC;QAcF,2CAA2C;QAC3C,mBAAc,GAAG,IAAI,CAAC,uBAAuB,CAAC,yBAAyB,CAAC,CAAC;QAjFvE,mDAAmD;QACnD,KAAK,IAAI,CAAC,UAAU,CAAC;IACvB,CAAC;IAkED,uDAAuD;IACvD,KAAK,CAAC,aAAa;QACjB,OAAO,IAAI,CAAC,cAAc,CACxB;YACE,MAAM,EAAE,KAAK;YACb,IAAI,EAAE,oBAAoB;YAC1B,cAAc,EAAE,qBAAqB;SACtC,EACD,SAAS,CACV,CAAC;IACJ,CAAC;CAIF"}
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../src/services/agr-site/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,iBAAiB,EAAqB,MAAM,wBAAwB,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAExD,8EAA8E;AAC9E,uFAAuF;AACvF,MAAM,qBAAqB,GAAG,kBAAkB,CAAC,CAAC,CAAC,OAAO,EAAE,CAAuC,CAAC;AACpG,MAAM,0BAA0B,GAAG,kBAAkB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAEzE,CAAC;AACF,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,EACzB,+BAA+B,EAC/B,iCAAiC,EACjC,iCAAiC,EACjC,+BAA+B,EAC/B,yBAAyB,EACzB,aAAa,EACb,qBAAqB,EACrB,yBAAyB,EACzB,mBAAmB,GAQpB,MAAM,WAAW,CAAC;AAEnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,OAAO,aAAc,SAAQ,iBAAiB;IASlD,gEAAgE;IAChE,IAAY,UAAU;QACpB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC1B,C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