@vrplatform/api 1.3.1-stage.2238 → 1.3.1-stage.2241

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 (36) hide show
  1. package/build/main/services/analytics/generated/v1.d.ts +2 -2
  2. package/build/main/services/analytics/generated/v1.js.map +1 -1
  3. package/build/main/services/api/client.js +15 -0
  4. package/build/main/services/api/client.js.map +1 -1
  5. package/build/main/services/api/generated/v1.d.ts +117 -117
  6. package/build/main/services/api/generated/v1.js.map +1 -1
  7. package/build/main/services/api/types.d.ts +68 -1
  8. package/build/main/services/api/types.js.map +1 -1
  9. package/build/main/services/cache/generated/v1.d.ts +6 -6
  10. package/build/main/services/cache/generated/v1.js.map +1 -1
  11. package/build/main/services/control-plane/generated/v1.d.ts +10 -10
  12. package/build/main/services/control-plane/generated/v1.js.map +1 -1
  13. package/build/main/services/ingest/generated/v1.d.ts +9 -9
  14. package/build/main/services/ingest/generated/v1.js.map +1 -1
  15. package/build/module/services/analytics/generated/v1.d.ts +2 -2
  16. package/build/module/services/analytics/generated/v1.js.map +1 -1
  17. package/build/module/services/api/client.js +15 -0
  18. package/build/module/services/api/client.js.map +1 -1
  19. package/build/module/services/api/generated/v1.d.ts +117 -117
  20. package/build/module/services/api/generated/v1.js.map +1 -1
  21. package/build/module/services/api/types.d.ts +68 -1
  22. package/build/module/services/api/types.js.map +1 -1
  23. package/build/module/services/cache/generated/v1.d.ts +6 -6
  24. package/build/module/services/cache/generated/v1.js.map +1 -1
  25. package/build/module/services/control-plane/generated/v1.d.ts +10 -10
  26. package/build/module/services/control-plane/generated/v1.js.map +1 -1
  27. package/build/module/services/ingest/generated/v1.d.ts +9 -9
  28. package/build/module/services/ingest/generated/v1.js.map +1 -1
  29. package/package.json +4 -3
  30. package/src/services/analytics/generated/v1.ts +2 -2
  31. package/src/services/api/client.ts +30 -0
  32. package/src/services/api/generated/v1.ts +117 -117
  33. package/src/services/api/types.ts +113 -1
  34. package/src/services/cache/generated/v1.ts +6 -6
  35. package/src/services/control-plane/generated/v1.ts +10 -10
  36. package/src/services/ingest/generated/v1.ts +9 -9
@@ -1,4 +1,5 @@
1
1
  import type createClient from 'openapi-fetch';
2
+ import type { ErrorResponse, HttpMethod, IsOperationRequestBodyOptional, MediaType, OperationRequestBodyContent, PathsWithMethod, RequiredKeysOf, ResponseObjectMap, SuccessResponse } from 'openapi-typescript-helpers';
2
3
  import type { paths } from './generated/v1';
3
4
  export type ApiClientAuth = {
4
5
  apiKey?: string;
@@ -6,7 +7,73 @@ export type ApiClientAuth = {
6
7
  tenantId?: string;
7
8
  accessToken?: string;
8
9
  };
9
- export type ApiClient = ReturnType<typeof createClient<paths>> & {
10
+ type BaseApiClient = ReturnType<typeof createClient<paths>>;
11
+ type BodyType<T = unknown> = {
12
+ json: T;
13
+ text: Awaited<ReturnType<Response['text']>>;
14
+ blob: Awaited<ReturnType<Response['blob']>>;
15
+ arrayBuffer: Awaited<ReturnType<Response['arrayBuffer']>>;
16
+ stream: Response['body'];
17
+ };
18
+ type ParseAs = keyof BodyType;
19
+ type ParseAsResponse<T, Options> = Options extends {
20
+ parseAs: ParseAs;
21
+ } ? BodyType<T>[Options['parseAs']] : T;
22
+ type DefaultParamsOption = {
23
+ params?: {
24
+ query?: Record<string, unknown>;
25
+ };
26
+ };
27
+ type ParamsOption<T> = T extends {
28
+ parameters: any;
29
+ } ? RequiredKeysOf<T['parameters']> extends never ? {
30
+ params?: T['parameters'];
31
+ } : {
32
+ params: T['parameters'];
33
+ } : DefaultParamsOption;
34
+ type RequestBodyOption<T> = OperationRequestBodyContent<T> extends never ? {
35
+ body?: never;
36
+ } : IsOperationRequestBodyOptional<T> extends true ? {
37
+ body?: OperationRequestBodyContent<T>;
38
+ } : {
39
+ body: OperationRequestBodyContent<T>;
40
+ };
41
+ type EmptyJsonBody = Record<string, never>;
42
+ type RelaxDeleteBody<T> = T extends {
43
+ body: infer Body;
44
+ } ? Body extends EmptyJsonBody ? Omit<T, 'body'> & {
45
+ body?: Body;
46
+ } : T : T;
47
+ type MethodRequestOptions<T> = ParamsOption<T> & RelaxDeleteBody<RequestBodyOption<T>> & {
48
+ baseUrl?: string;
49
+ querySerializer?: unknown;
50
+ bodySerializer?: unknown;
51
+ pathSerializer?: unknown;
52
+ parseAs?: ParseAs;
53
+ fetch?: unknown;
54
+ headers?: unknown;
55
+ middleware?: unknown[];
56
+ };
57
+ type InitParam<Init> = RequiredKeysOf<Init> extends never ? [(Init & {
58
+ [key: string]: unknown;
59
+ })?] : [Init & {
60
+ [key: string]: unknown;
61
+ }];
62
+ type DeleteFetchResponse<T extends Record<string | number, any>, Options, Media extends MediaType = MediaType> = {
63
+ data: ParseAsResponse<SuccessResponse<ResponseObjectMap<T>, Media>, Options>;
64
+ error?: never;
65
+ response: Response;
66
+ } | {
67
+ data?: never;
68
+ error: ErrorResponse<ResponseObjectMap<T>, Media>;
69
+ response: Response;
70
+ };
71
+ type ApiMethod<Method extends HttpMethod> = <Path extends PathsWithMethod<paths, Method>, Operation extends Extract<paths[Path][Method], Record<string | number, any>>, Init extends MethodRequestOptions<Operation>>(url: Path, ...init: InitParam<Init>) => Promise<DeleteFetchResponse<Operation, Init>>;
72
+ export type ApiClient = Omit<BaseApiClient, 'DELETE' | 'PATCH' | 'POST' | 'PUT'> & {
73
+ DELETE: ApiMethod<'delete'>;
74
+ PATCH: ApiMethod<'patch'>;
75
+ POST: ApiMethod<'post'>;
76
+ PUT: ApiMethod<'put'>;
10
77
  sessionId: string;
11
78
  };
12
79
  type ResponseCombinations = {
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"src/","sources":["services/api/types.ts"],"names":[],"mappings":"","sourcesContent":["import type createClient from 'openapi-fetch';\nimport type { paths } from './generated/v1';\n\nexport type ApiClientAuth = {\n apiKey?: string;\n sec?: string;\n tenantId?: string;\n accessToken?: string;\n};\n\nexport type ApiClient = ReturnType<typeof createClient<paths>> & {\n sessionId: string;\n};\n\ntype ResponseCombinations = {\n [Path in keyof paths]: {\n [Method in keyof paths[Path]]: paths[Path][Method] extends never\n ? never\n : paths[Path][Method] extends {\n responses: {\n 200: { content: { 'application/json': unknown } };\n };\n }\n ? `${Method & string}:${Path}`\n : never;\n }[keyof paths[Path]];\n}[keyof paths];\n\nexport type ResponseData<T extends ResponseCombinations> =\n T extends `${infer Method}:${infer Path}`\n ? Path extends keyof paths\n ? Method extends keyof paths[Path]\n ? paths[Path][Method] extends {\n responses: {\n 200: { content: { 'application/json': infer Data } };\n };\n }\n ? Data\n : never\n : never\n : never\n : never;\n\ntype RequestBodyCombinations = {\n [Path in keyof paths]: {\n [Method in keyof paths[Path]]: paths[Path][Method] extends never\n ? never\n : ExtractJsonRequestBody<paths[Path][Method]> extends never\n ? never\n : `${Method & string}:${Path}`;\n }[keyof paths[Path]];\n}[keyof paths];\n\ntype ExtractJsonRequestBody<T> = T extends {\n requestBody?: infer RequestBody;\n}\n ? RequestBody extends {\n content: { 'application/json': infer Data };\n }\n ? Data\n : never\n : never;\n\nexport type RequestBody<T extends RequestBodyCombinations> =\n T extends `${infer Method}:${infer Path}`\n ? Path extends keyof paths\n ? Method extends keyof paths[Path]\n ? ExtractJsonRequestBody<paths[Path][Method]>\n : never\n : never\n : never;\n\ntype RequestParamCombinations = {\n [Path in keyof paths]: {\n [Method in keyof paths[Path]]: paths[Path][Method] extends never\n ? never\n : paths[Path][Method] extends {\n parameters: {\n query?: Record<string, unknown>;\n };\n }\n ? `${Method & string}:${Path}`\n : never;\n }[keyof paths[Path]];\n}[keyof paths];\n\nexport type RequestQuery<T extends RequestParamCombinations> =\n T extends `${infer Method}:${infer Path}`\n ? Path extends keyof paths\n ? Method extends keyof paths[Path]\n ? paths[Path][Method] extends {\n parameters: {\n query?: infer Data;\n };\n }\n ? Data\n : never\n : never\n : never\n : never;\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"src/","sources":["services/api/types.ts"],"names":[],"mappings":"","sourcesContent":["import type createClient from 'openapi-fetch';\nimport type {\n ErrorResponse,\n HttpMethod,\n IsOperationRequestBodyOptional,\n MediaType,\n OperationRequestBodyContent,\n PathsWithMethod,\n RequiredKeysOf,\n ResponseObjectMap,\n SuccessResponse,\n} from 'openapi-typescript-helpers';\nimport type { paths } from './generated/v1';\n\nexport type ApiClientAuth = {\n apiKey?: string;\n sec?: string;\n tenantId?: string;\n accessToken?: string;\n};\n\ntype BaseApiClient = ReturnType<typeof createClient<paths>>;\n\ntype BodyType<T = unknown> = {\n json: T;\n text: Awaited<ReturnType<Response['text']>>;\n blob: Awaited<ReturnType<Response['blob']>>;\n arrayBuffer: Awaited<ReturnType<Response['arrayBuffer']>>;\n stream: Response['body'];\n};\n\ntype ParseAs = keyof BodyType;\n\ntype ParseAsResponse<T, Options> = Options extends {\n parseAs: ParseAs;\n}\n ? BodyType<T>[Options['parseAs']]\n : T;\n\ntype DefaultParamsOption = {\n params?: {\n query?: Record<string, unknown>;\n };\n};\n\ntype ParamsOption<T> = T extends {\n parameters: any;\n}\n ? RequiredKeysOf<T['parameters']> extends never\n ? { params?: T['parameters'] }\n : { params: T['parameters'] }\n : DefaultParamsOption;\n\ntype RequestBodyOption<T> =\n OperationRequestBodyContent<T> extends never\n ? { body?: never }\n : IsOperationRequestBodyOptional<T> extends true\n ? { body?: OperationRequestBodyContent<T> }\n : { body: OperationRequestBodyContent<T> };\n\ntype EmptyJsonBody = Record<string, never>;\n\ntype RelaxDeleteBody<T> = T extends {\n body: infer Body;\n}\n ? Body extends EmptyJsonBody\n ? Omit<T, 'body'> & { body?: Body }\n : T\n : T;\n\ntype MethodRequestOptions<T> = ParamsOption<T> &\n RelaxDeleteBody<RequestBodyOption<T>> & {\n baseUrl?: string;\n querySerializer?: unknown;\n bodySerializer?: unknown;\n pathSerializer?: unknown;\n parseAs?: ParseAs;\n fetch?: unknown;\n headers?: unknown;\n middleware?: unknown[];\n };\n\ntype InitParam<Init> =\n RequiredKeysOf<Init> extends never\n ? [(Init & { [key: string]: unknown })?]\n : [Init & { [key: string]: unknown }];\n\ntype DeleteFetchResponse<\n T extends Record<string | number, any>,\n Options,\n Media extends MediaType = MediaType,\n> =\n | {\n data: ParseAsResponse<\n SuccessResponse<ResponseObjectMap<T>, Media>,\n Options\n >;\n error?: never;\n response: Response;\n }\n | {\n data?: never;\n error: ErrorResponse<ResponseObjectMap<T>, Media>;\n response: Response;\n };\n\ntype ApiMethod<Method extends HttpMethod> = <\n Path extends PathsWithMethod<paths, Method>,\n Operation extends Extract<paths[Path][Method], Record<string | number, any>>,\n Init extends MethodRequestOptions<Operation>,\n>(\n url: Path,\n ...init: InitParam<Init>\n) => Promise<DeleteFetchResponse<Operation, Init>>;\n\nexport type ApiClient = Omit<\n BaseApiClient,\n 'DELETE' | 'PATCH' | 'POST' | 'PUT'\n> & {\n DELETE: ApiMethod<'delete'>;\n PATCH: ApiMethod<'patch'>;\n POST: ApiMethod<'post'>;\n PUT: ApiMethod<'put'>;\n sessionId: string;\n};\n\ntype ResponseCombinations = {\n [Path in keyof paths]: {\n [Method in keyof paths[Path]]: paths[Path][Method] extends never\n ? never\n : paths[Path][Method] extends {\n responses: {\n 200: { content: { 'application/json': unknown } };\n };\n }\n ? `${Method & string}:${Path}`\n : never;\n }[keyof paths[Path]];\n}[keyof paths];\n\nexport type ResponseData<T extends ResponseCombinations> =\n T extends `${infer Method}:${infer Path}`\n ? Path extends keyof paths\n ? Method extends keyof paths[Path]\n ? paths[Path][Method] extends {\n responses: {\n 200: { content: { 'application/json': infer Data } };\n };\n }\n ? Data\n : never\n : never\n : never\n : never;\n\ntype RequestBodyCombinations = {\n [Path in keyof paths]: {\n [Method in keyof paths[Path]]: paths[Path][Method] extends never\n ? never\n : ExtractJsonRequestBody<paths[Path][Method]> extends never\n ? never\n : `${Method & string}:${Path}`;\n }[keyof paths[Path]];\n}[keyof paths];\n\ntype ExtractJsonRequestBody<T> = T extends {\n requestBody?: infer RequestBody;\n}\n ? RequestBody extends {\n content: { 'application/json': infer Data };\n }\n ? Data\n : never\n : never;\n\nexport type RequestBody<T extends RequestBodyCombinations> =\n T extends `${infer Method}:${infer Path}`\n ? Path extends keyof paths\n ? Method extends keyof paths[Path]\n ? ExtractJsonRequestBody<paths[Path][Method]>\n : never\n : never\n : never;\n\ntype RequestParamCombinations = {\n [Path in keyof paths]: {\n [Method in keyof paths[Path]]: paths[Path][Method] extends never\n ? never\n : paths[Path][Method] extends {\n parameters: {\n query?: Record<string, unknown>;\n };\n }\n ? `${Method & string}:${Path}`\n : never;\n }[keyof paths[Path]];\n}[keyof paths];\n\nexport type RequestQuery<T extends RequestParamCombinations> =\n T extends `${infer Method}:${infer Path}`\n ? Path extends keyof paths\n ? Method extends keyof paths[Path]\n ? paths[Path][Method] extends {\n parameters: {\n query?: infer Data;\n };\n }\n ? Data\n : never\n : never\n : never\n : never;\n"]}
@@ -242,7 +242,7 @@ export interface operations {
242
242
  path?: never;
243
243
  cookie?: never;
244
244
  };
245
- requestBody?: {
245
+ requestBody: {
246
246
  content: {
247
247
  "application/json": {
248
248
  ctxKey: string;
@@ -382,7 +382,7 @@ export interface operations {
382
382
  path?: never;
383
383
  cookie?: never;
384
384
  };
385
- requestBody?: {
385
+ requestBody: {
386
386
  content: {
387
387
  "application/json": {
388
388
  /** @default [] */
@@ -475,7 +475,7 @@ export interface operations {
475
475
  path?: never;
476
476
  cookie?: never;
477
477
  };
478
- requestBody?: {
478
+ requestBody: {
479
479
  content: {
480
480
  "application/json": {
481
481
  credential: string;
@@ -726,7 +726,7 @@ export interface operations {
726
726
  path?: never;
727
727
  cookie?: never;
728
728
  };
729
- requestBody?: {
729
+ requestBody: {
730
730
  content: {
731
731
  "application/json": {
732
732
  rows: {
@@ -826,7 +826,7 @@ export interface operations {
826
826
  path?: never;
827
827
  cookie?: never;
828
828
  };
829
- requestBody?: {
829
+ requestBody: {
830
830
  content: {
831
831
  "application/json": {
832
832
  /** Format: uuid */
@@ -920,7 +920,7 @@ export interface operations {
920
920
  path?: never;
921
921
  cookie?: never;
922
922
  };
923
- requestBody?: {
923
+ requestBody: {
924
924
  content: {
925
925
  "application/json": {
926
926
  /** Format: uuid */
@@ -1 +1 @@
1
- {"version":3,"file":"v1.js","sourceRoot":"src/","sources":["services/cache/generated/v1.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file was auto-generated by openapi-typescript.\n * Do not make direct changes to the file.\n */\n\nexport interface paths {\n \"/health\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** @description Health endpoint for cache worker. */\n get: operations[\"getHealth\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/v1/auth/contexts/cache\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** @description Upsert one internal API auth context in cache. */\n post: operations[\"postV1AuthContextsCache\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/v1/auth/contexts/invalidate\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** @description Invalidate cached internal API auth contexts. */\n post: operations[\"postV1AuthContextsInvalidate\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/v1/auth/contexts/resolve\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** @description Resolve and cache one internal API auth context. */\n post: operations[\"postV1AuthContextsResolve\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/v1/metrics/sync-by-status\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** @description Read sync metrics by status from cache. */\n get: operations[\"getV1MetricsSyncByStatus\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/v1/metrics/sync-by-status/cache\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** @description Upsert sync metric cache rows. */\n post: operations[\"postV1MetricsSyncByStatusCache\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/v1/statements/projections/cache\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** @description Upsert owner statement projection payload in cache. */\n post: operations[\"postV1StatementsProjectionsCache\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/v1/statements/projections/read\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** @description Read owner statement projection payload from cache. */\n post: operations[\"postV1StatementsProjectionsRead\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n}\nexport type webhooks = Record<string, never>;\nexport interface components {\n schemas: never;\n responses: never;\n parameters: never;\n requestBodies: never;\n headers: never;\n pathItems: never;\n}\nexport type $defs = Record<string, never>;\nexport interface operations {\n getHealth: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Service health */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n ok: boolean;\n /** @constant */\n service: \"cache\";\n };\n };\n };\n /** @description Bad request */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Unauthorized */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Internal server error */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n };\n };\n postV1AuthContextsCache: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: {\n content: {\n \"application/json\": {\n ctxKey: string;\n value: {\n auth: {\n /** @enum {string} */\n role: \"admin\" | \"partner\" | \"user\";\n tenant: {\n /** Format: uuid */\n id: string;\n /** @enum {string} */\n type: \"partner\" | \"propertyManager\";\n /** @enum {string} */\n status: \"active\" | \"inactive\";\n name: string;\n isGL: boolean;\n isOpex: boolean;\n /** Format: uuid */\n partnerId?: string;\n };\n user?: {\n /** Format: uuid */\n id: string;\n /** @enum {string} */\n type?: \"admin\" | \"owner\" | \"user\";\n email: string;\n /** @enum {string} */\n status: \"active\" | \"inactive\" | \"archived\" | \"unconfirmed\";\n memberships: string[];\n ownerships: {\n startAt?: string;\n endAt?: string;\n /** Format: uuid */\n listingId: string;\n /** Format: uuid */\n contactId: string;\n /** Format: uuid */\n id: string;\n }[];\n ownerAccess?: {\n /** Format: uuid */\n userId: string;\n ownershipPeriodIds: string[];\n contactIds: string[];\n listingIds: string[];\n };\n };\n };\n routing: {\n /** @enum {string} */\n dataRegion: \"ap\" | \"eu\" | \"us\";\n ledgerPlaneKey: string;\n };\n };\n };\n };\n };\n responses: {\n /** @description Auth context cache write result */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @constant */\n ok: true;\n };\n };\n };\n /** @description Bad request */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Unauthorized */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Internal server error */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n };\n };\n postV1AuthContextsInvalidate: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: {\n content: {\n \"application/json\": {\n /** @default [] */\n tenantIds?: string[];\n /** @default [] */\n userIds?: string[];\n };\n };\n };\n responses: {\n /** @description Auth context invalidation result */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @constant */\n ok: true;\n removed: number;\n };\n };\n };\n /** @description Bad request */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Unauthorized */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Internal server error */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n };\n };\n postV1AuthContextsResolve: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: {\n content: {\n \"application/json\": {\n credential: string;\n /** @enum {string} */\n credentialType: \"api-key\" | \"bearer\";\n isReadOnly?: boolean;\n /** Format: uuid */\n tenantId?: string;\n };\n };\n };\n responses: {\n /** @description Resolved internal API auth context */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n ctxKey: string;\n hit: boolean;\n /** @enum {string} */\n resolution: \"hit\" | \"miss-leader\" | \"miss-waiter\";\n value: {\n auth: {\n /** @enum {string} */\n role: \"admin\" | \"partner\" | \"user\";\n tenant: {\n /** Format: uuid */\n id: string;\n /** @enum {string} */\n type: \"partner\" | \"propertyManager\";\n /** @enum {string} */\n status: \"active\" | \"inactive\";\n name: string;\n isGL: boolean;\n isOpex: boolean;\n /** Format: uuid */\n partnerId?: string;\n };\n user?: {\n /** Format: uuid */\n id: string;\n /** @enum {string} */\n type?: \"admin\" | \"owner\" | \"user\";\n email: string;\n /** @enum {string} */\n status: \"active\" | \"inactive\" | \"archived\" | \"unconfirmed\";\n memberships: string[];\n ownerships: {\n startAt?: string;\n endAt?: string;\n /** Format: uuid */\n listingId: string;\n /** Format: uuid */\n contactId: string;\n /** Format: uuid */\n id: string;\n }[];\n ownerAccess?: {\n /** Format: uuid */\n userId: string;\n ownershipPeriodIds: string[];\n contactIds: string[];\n listingIds: string[];\n };\n };\n };\n routing: {\n /** @enum {string} */\n dataRegion: \"ap\" | \"eu\" | \"us\";\n ledgerPlaneKey: string;\n };\n };\n };\n };\n };\n /** @description Bad request */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Unauthorized */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Internal server error */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n };\n };\n getV1MetricsSyncByStatus: {\n parameters: {\n query: {\n tenantId: string;\n connectionId: string;\n view: \"automate\" | \"extract\";\n dimension?: \"day\" | \"week\" | \"month\" | \"year\";\n startAt: string;\n endAtExclusive: string;\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Sync metrics by status */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n date: string;\n total: number;\n changes: {\n completed?: {\n [key: string]: number;\n };\n failed?: {\n [key: string]: number;\n };\n queued?: {\n [key: string]: number;\n };\n skipped?: {\n [key: string]: number;\n };\n };\n }[];\n };\n };\n /** @description Bad request */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Unauthorized */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Internal server error */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n };\n };\n postV1MetricsSyncByStatusCache: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: {\n content: {\n \"application/json\": {\n rows: {\n /** Format: uuid */\n tenantId: string;\n /** Format: uuid */\n connectionId: string;\n name: string;\n /** @enum {string} */\n status: \"completed\" | \"failed\" | \"queued\" | \"skipped\";\n date: string;\n /** @enum {string} */\n type: \"automate\" | \"extract\";\n total: number;\n }[];\n };\n };\n };\n responses: {\n /** @description Rows written */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n total: number;\n };\n };\n };\n /** @description Bad request */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Unauthorized */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Internal server error */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n };\n };\n postV1StatementsProjectionsCache: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: {\n content: {\n \"application/json\": {\n /** Format: uuid */\n tenantId: string;\n variant: string;\n projectionKey: string;\n sourceRevision: number;\n payload: unknown;\n };\n };\n };\n responses: {\n /** @description Projection cache row written */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @constant */\n ok: true;\n };\n };\n };\n /** @description Bad request */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Unauthorized */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Internal server error */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n };\n };\n postV1StatementsProjectionsRead: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: {\n content: {\n \"application/json\": {\n /** Format: uuid */\n tenantId: string;\n variant: string;\n projectionKey: string;\n sourceRevision: number;\n };\n };\n };\n responses: {\n /** @description Read projection cache result */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n hit: boolean;\n payload?: unknown;\n };\n };\n };\n /** @description Bad request */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Unauthorized */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Internal server error */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n };\n };\n}\n"]}
1
+ {"version":3,"file":"v1.js","sourceRoot":"src/","sources":["services/cache/generated/v1.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file was auto-generated by openapi-typescript.\n * Do not make direct changes to the file.\n */\n\nexport interface paths {\n \"/health\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** @description Health endpoint for cache worker. */\n get: operations[\"getHealth\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/v1/auth/contexts/cache\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** @description Upsert one internal API auth context in cache. */\n post: operations[\"postV1AuthContextsCache\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/v1/auth/contexts/invalidate\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** @description Invalidate cached internal API auth contexts. */\n post: operations[\"postV1AuthContextsInvalidate\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/v1/auth/contexts/resolve\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** @description Resolve and cache one internal API auth context. */\n post: operations[\"postV1AuthContextsResolve\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/v1/metrics/sync-by-status\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** @description Read sync metrics by status from cache. */\n get: operations[\"getV1MetricsSyncByStatus\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/v1/metrics/sync-by-status/cache\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** @description Upsert sync metric cache rows. */\n post: operations[\"postV1MetricsSyncByStatusCache\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/v1/statements/projections/cache\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** @description Upsert owner statement projection payload in cache. */\n post: operations[\"postV1StatementsProjectionsCache\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/v1/statements/projections/read\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** @description Read owner statement projection payload from cache. */\n post: operations[\"postV1StatementsProjectionsRead\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n}\nexport type webhooks = Record<string, never>;\nexport interface components {\n schemas: never;\n responses: never;\n parameters: never;\n requestBodies: never;\n headers: never;\n pathItems: never;\n}\nexport type $defs = Record<string, never>;\nexport interface operations {\n getHealth: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Service health */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n ok: boolean;\n /** @constant */\n service: \"cache\";\n };\n };\n };\n /** @description Bad request */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Unauthorized */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Internal server error */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n };\n };\n postV1AuthContextsCache: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": {\n ctxKey: string;\n value: {\n auth: {\n /** @enum {string} */\n role: \"admin\" | \"partner\" | \"user\";\n tenant: {\n /** Format: uuid */\n id: string;\n /** @enum {string} */\n type: \"partner\" | \"propertyManager\";\n /** @enum {string} */\n status: \"active\" | \"inactive\";\n name: string;\n isGL: boolean;\n isOpex: boolean;\n /** Format: uuid */\n partnerId?: string;\n };\n user?: {\n /** Format: uuid */\n id: string;\n /** @enum {string} */\n type?: \"admin\" | \"owner\" | \"user\";\n email: string;\n /** @enum {string} */\n status: \"active\" | \"inactive\" | \"archived\" | \"unconfirmed\";\n memberships: string[];\n ownerships: {\n startAt?: string;\n endAt?: string;\n /** Format: uuid */\n listingId: string;\n /** Format: uuid */\n contactId: string;\n /** Format: uuid */\n id: string;\n }[];\n ownerAccess?: {\n /** Format: uuid */\n userId: string;\n ownershipPeriodIds: string[];\n contactIds: string[];\n listingIds: string[];\n };\n };\n };\n routing: {\n /** @enum {string} */\n dataRegion: \"ap\" | \"eu\" | \"us\";\n ledgerPlaneKey: string;\n };\n };\n };\n };\n };\n responses: {\n /** @description Auth context cache write result */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @constant */\n ok: true;\n };\n };\n };\n /** @description Bad request */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Unauthorized */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Internal server error */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n };\n };\n postV1AuthContextsInvalidate: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": {\n /** @default [] */\n tenantIds?: string[];\n /** @default [] */\n userIds?: string[];\n };\n };\n };\n responses: {\n /** @description Auth context invalidation result */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @constant */\n ok: true;\n removed: number;\n };\n };\n };\n /** @description Bad request */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Unauthorized */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Internal server error */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n };\n };\n postV1AuthContextsResolve: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": {\n credential: string;\n /** @enum {string} */\n credentialType: \"api-key\" | \"bearer\";\n isReadOnly?: boolean;\n /** Format: uuid */\n tenantId?: string;\n };\n };\n };\n responses: {\n /** @description Resolved internal API auth context */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n ctxKey: string;\n hit: boolean;\n /** @enum {string} */\n resolution: \"hit\" | \"miss-leader\" | \"miss-waiter\";\n value: {\n auth: {\n /** @enum {string} */\n role: \"admin\" | \"partner\" | \"user\";\n tenant: {\n /** Format: uuid */\n id: string;\n /** @enum {string} */\n type: \"partner\" | \"propertyManager\";\n /** @enum {string} */\n status: \"active\" | \"inactive\";\n name: string;\n isGL: boolean;\n isOpex: boolean;\n /** Format: uuid */\n partnerId?: string;\n };\n user?: {\n /** Format: uuid */\n id: string;\n /** @enum {string} */\n type?: \"admin\" | \"owner\" | \"user\";\n email: string;\n /** @enum {string} */\n status: \"active\" | \"inactive\" | \"archived\" | \"unconfirmed\";\n memberships: string[];\n ownerships: {\n startAt?: string;\n endAt?: string;\n /** Format: uuid */\n listingId: string;\n /** Format: uuid */\n contactId: string;\n /** Format: uuid */\n id: string;\n }[];\n ownerAccess?: {\n /** Format: uuid */\n userId: string;\n ownershipPeriodIds: string[];\n contactIds: string[];\n listingIds: string[];\n };\n };\n };\n routing: {\n /** @enum {string} */\n dataRegion: \"ap\" | \"eu\" | \"us\";\n ledgerPlaneKey: string;\n };\n };\n };\n };\n };\n /** @description Bad request */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Unauthorized */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Internal server error */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n };\n };\n getV1MetricsSyncByStatus: {\n parameters: {\n query: {\n tenantId: string;\n connectionId: string;\n view: \"automate\" | \"extract\";\n dimension?: \"day\" | \"week\" | \"month\" | \"year\";\n startAt: string;\n endAtExclusive: string;\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Sync metrics by status */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n date: string;\n total: number;\n changes: {\n completed?: {\n [key: string]: number;\n };\n failed?: {\n [key: string]: number;\n };\n queued?: {\n [key: string]: number;\n };\n skipped?: {\n [key: string]: number;\n };\n };\n }[];\n };\n };\n /** @description Bad request */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Unauthorized */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Internal server error */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n };\n };\n postV1MetricsSyncByStatusCache: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": {\n rows: {\n /** Format: uuid */\n tenantId: string;\n /** Format: uuid */\n connectionId: string;\n name: string;\n /** @enum {string} */\n status: \"completed\" | \"failed\" | \"queued\" | \"skipped\";\n date: string;\n /** @enum {string} */\n type: \"automate\" | \"extract\";\n total: number;\n }[];\n };\n };\n };\n responses: {\n /** @description Rows written */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n total: number;\n };\n };\n };\n /** @description Bad request */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Unauthorized */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Internal server error */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n };\n };\n postV1StatementsProjectionsCache: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": {\n /** Format: uuid */\n tenantId: string;\n variant: string;\n projectionKey: string;\n sourceRevision: number;\n payload: unknown;\n };\n };\n };\n responses: {\n /** @description Projection cache row written */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n /** @constant */\n ok: true;\n };\n };\n };\n /** @description Bad request */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Unauthorized */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Internal server error */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n };\n };\n postV1StatementsProjectionsRead: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": {\n /** Format: uuid */\n tenantId: string;\n variant: string;\n projectionKey: string;\n sourceRevision: number;\n };\n };\n };\n responses: {\n /** @description Read projection cache result */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n hit: boolean;\n payload?: unknown;\n };\n };\n };\n /** @description Bad request */\n 400: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Unauthorized */\n 401: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n /** @description Internal server error */\n 500: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n code: string;\n message: string;\n };\n };\n };\n };\n };\n}\n"]}
@@ -443,7 +443,7 @@ export interface operations {
443
443
  path?: never;
444
444
  cookie?: never;
445
445
  };
446
- requestBody?: {
446
+ requestBody: {
447
447
  content: {
448
448
  "application/json": {
449
449
  uniqueRef: string;
@@ -553,7 +553,7 @@ export interface operations {
553
553
  path?: never;
554
554
  cookie?: never;
555
555
  };
556
- requestBody?: {
556
+ requestBody: {
557
557
  content: {
558
558
  "application/json": {
559
559
  apiKey: string;
@@ -662,7 +662,7 @@ export interface operations {
662
662
  path?: never;
663
663
  cookie?: never;
664
664
  };
665
- requestBody?: {
665
+ requestBody: {
666
666
  content: {
667
667
  "application/json": {
668
668
  apiKey: string;
@@ -805,7 +805,7 @@ export interface operations {
805
805
  path?: never;
806
806
  cookie?: never;
807
807
  };
808
- requestBody?: {
808
+ requestBody: {
809
809
  content: {
810
810
  "application/json": {
811
811
  bearerToken: string;
@@ -947,7 +947,7 @@ export interface operations {
947
947
  path?: never;
948
948
  cookie?: never;
949
949
  };
950
- requestBody?: {
950
+ requestBody: {
951
951
  content: {
952
952
  "application/json": {
953
953
  /** @default [] */
@@ -1040,7 +1040,7 @@ export interface operations {
1040
1040
  path?: never;
1041
1041
  cookie?: never;
1042
1042
  };
1043
- requestBody?: {
1043
+ requestBody: {
1044
1044
  content: {
1045
1045
  "application/json": {
1046
1046
  apiKey: string;
@@ -1138,7 +1138,7 @@ export interface operations {
1138
1138
  path?: never;
1139
1139
  cookie?: never;
1140
1140
  };
1141
- requestBody?: {
1141
+ requestBody: {
1142
1142
  content: {
1143
1143
  "application/json": {
1144
1144
  /** Format: uuid */
@@ -1467,7 +1467,7 @@ export interface operations {
1467
1467
  path?: never;
1468
1468
  cookie?: never;
1469
1469
  };
1470
- requestBody?: {
1470
+ requestBody: {
1471
1471
  content: {
1472
1472
  "application/json": {
1473
1473
  uniqueRef: string;
@@ -1656,7 +1656,7 @@ export interface operations {
1656
1656
  };
1657
1657
  cookie?: never;
1658
1658
  };
1659
- requestBody?: {
1659
+ requestBody: {
1660
1660
  content: {
1661
1661
  "application/json": {
1662
1662
  /** Format: uuid */
@@ -1939,7 +1939,7 @@ export interface operations {
1939
1939
  };
1940
1940
  cookie?: never;
1941
1941
  };
1942
- requestBody?: {
1942
+ requestBody: {
1943
1943
  content: {
1944
1944
  "application/json": {
1945
1945
  status: ("all" | "disabled" | "partially") | null;