@remit/api-http-client 0.0.32 → 0.0.33

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.
@@ -972,7 +972,7 @@ export const semanticSearchOperationsSemanticSearchOptions = (options: Options<S
972
972
  export const systemOperationsGetSystemUpdateQueryKey = (options?: Options<SystemOperationsGetSystemUpdateData>) => createQueryKey('systemOperationsGetSystemUpdate', options);
973
973
 
974
974
  /**
975
- * Read the self-update resource: the running version, the outcome of the most recent manifest check, and the state of the current or last run. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
975
+ * Read the self-update resource: the running version, the outcome of the most recent manifest check, and the state of the current or last run. With `refresh=true`, records a check request on the control volume for the updater to pick up and answers with the stored state as it stands; the caller watches `check.lastCheckedAt` for the updater's answer. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
976
976
  */
977
977
  export const systemOperationsGetSystemUpdateOptions = (options?: Options<SystemOperationsGetSystemUpdateData>) => queryOptions<SystemOperationsGetSystemUpdateResponse, DefaultError, SystemOperationsGetSystemUpdateResponse, ReturnType<typeof systemOperationsGetSystemUpdateQueryKey>>({
978
978
  queryFn: async ({ queryKey, signal }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-http-client",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts",
package/sdk.gen.ts CHANGED
@@ -572,7 +572,7 @@ export const semanticSearchOperationsSemanticSearch = <ThrowOnError extends bool
572
572
  });
573
573
 
574
574
  /**
575
- * Read the self-update resource: the running version, the outcome of the most recent manifest check, and the state of the current or last run. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
575
+ * Read the self-update resource: the running version, the outcome of the most recent manifest check, and the state of the current or last run. With `refresh=true`, records a check request on the control volume for the updater to pick up and answers with the stored state as it stands; the caller watches `check.lastCheckedAt` for the updater's answer. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
576
576
  */
577
577
  export const systemOperationsGetSystemUpdate = <ThrowOnError extends boolean = false>(options?: Options<SystemOperationsGetSystemUpdateData, ThrowOnError>): RequestResult<SystemOperationsGetSystemUpdateResponses, unknown, ThrowOnError> => (options?.client ?? client).get<SystemOperationsGetSystemUpdateResponses, unknown, ThrowOnError>({
578
578
  security: [{ name: 'Authorization', type: 'apiKey' }],
package/types.gen.ts CHANGED
@@ -4267,7 +4267,9 @@ export type SemanticSearchOperationsSemanticSearchResponse = SemanticSearchOpera
4267
4267
  export type SystemOperationsGetSystemUpdateData = {
4268
4268
  body?: never;
4269
4269
  path?: never;
4270
- query?: never;
4270
+ query?: {
4271
+ refresh?: boolean;
4272
+ };
4271
4273
  url: '/system/update';
4272
4274
  };
4273
4275