@conduit-client/model 3.7.1 → 3.9.0

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 (99) hide show
  1. package/dist/types/v1/index.d.ts +3 -1
  2. package/dist/types/v1/parser/__tests__/test-utils.d.ts +465 -0
  3. package/dist/types/v1/{amf → parser/amf}/AMFAPI.d.ts +3 -5
  4. package/dist/types/v1/{amf → parser/amf}/amf-api-service.d.ts +1 -8
  5. package/dist/types/v1/{amf → parser/amf}/amf-utils.d.ts +1 -1
  6. package/dist/types/v1/{amf → parser/amf}/endpoints/amf-endpoint.d.ts +2 -2
  7. package/dist/types/v1/parser/amf/endpoints/amf-operation.d.ts +71 -0
  8. package/dist/types/v1/{amf → parser/amf}/index.d.ts +0 -1
  9. package/dist/types/v1/{amf → parser/amf}/types/AMFAllOfType.d.ts +2 -2
  10. package/dist/types/v1/{amf → parser/amf}/types/AMFAnyType.d.ts +1 -1
  11. package/dist/types/v1/{amf → parser/amf}/types/AMFArrayType.d.ts +1 -1
  12. package/dist/types/v1/{amf → parser/amf}/types/AMFBaseType.d.ts +2 -2
  13. package/dist/types/v1/{amf → parser/amf}/types/AMFDiscriminatedObjectType.d.ts +2 -2
  14. package/dist/types/v1/{amf → parser/amf}/types/AMFEnumType.d.ts +3 -3
  15. package/dist/types/v1/{amf → parser/amf}/types/AMFNilType.d.ts +1 -1
  16. package/dist/types/v1/{amf → parser/amf}/types/AMFNotType.d.ts +3 -3
  17. package/dist/types/v1/{amf → parser/amf}/types/AMFObjectType.d.ts +1 -1
  18. package/dist/types/v1/{amf → parser/amf}/types/AMFOneOfType.d.ts +1 -1
  19. package/dist/types/v1/{amf → parser/amf}/types/AMFRefType.d.ts +1 -1
  20. package/dist/types/v1/{amf → parser/amf}/types/AMFScalarTypes.d.ts +3 -3
  21. package/dist/types/v1/parser/amf/types/__tests__/AMFOneOfType.spec.d.ts +1 -0
  22. package/dist/types/v1/parser/amf/types/__tests__/AMFScalarType.spec.d.ts +1 -0
  23. package/dist/types/v1/{amf → parser/amf}/types/factory.d.ts +2 -2
  24. package/dist/types/v1/{amf → parser/amf}/types/index.d.ts +1 -2
  25. package/dist/types/v1/parser/parser-utils.d.ts +10 -0
  26. package/dist/types/v1/parser/swagger/SwaggerAPI.d.ts +50 -0
  27. package/dist/types/v1/parser/swagger/__tests__/parser.spec.d.ts +1 -0
  28. package/dist/types/v1/parser/swagger/__tests__/swagger-api-service.spec.d.ts +1 -0
  29. package/dist/types/v1/parser/swagger/__tests__/swagger-extensions.spec.d.ts +1 -0
  30. package/dist/types/v1/parser/swagger/__tests__/swagger-types.spec.d.ts +1 -0
  31. package/dist/types/v1/parser/swagger/__tests__/swagger-utils.spec.d.ts +1 -0
  32. package/dist/types/v1/parser/swagger/__tests__/validation.spec.d.ts +1 -0
  33. package/dist/types/v1/parser/swagger/__tests__/version.spec.d.ts +1 -0
  34. package/dist/types/v1/parser/swagger/endpoints/swagger-endpoint.d.ts +30 -0
  35. package/dist/types/v1/parser/swagger/endpoints/swagger-operation.d.ts +71 -0
  36. package/dist/types/v1/parser/swagger/index.d.ts +4 -0
  37. package/dist/types/v1/parser/swagger/parser.d.ts +19 -0
  38. package/dist/types/v1/parser/swagger/source-position-map.d.ts +39 -0
  39. package/dist/types/v1/parser/swagger/swagger-api-service.d.ts +8 -0
  40. package/dist/types/v1/parser/swagger/swagger-extensions.d.ts +8 -0
  41. package/dist/types/v1/parser/swagger/swagger-utils.d.ts +37 -0
  42. package/dist/types/v1/parser/swagger/types/SwaggerAllOfType.d.ts +22 -0
  43. package/dist/types/v1/parser/swagger/types/SwaggerAnyType.d.ts +7 -0
  44. package/dist/types/v1/parser/swagger/types/SwaggerArrayType.d.ts +9 -0
  45. package/dist/types/v1/parser/swagger/types/SwaggerBaseType.d.ts +26 -0
  46. package/dist/types/v1/parser/swagger/types/SwaggerDiscriminatedObjectType.d.ts +26 -0
  47. package/dist/types/v1/parser/swagger/types/SwaggerEnumType.d.ts +13 -0
  48. package/dist/types/v1/parser/swagger/types/SwaggerNilType.d.ts +7 -0
  49. package/dist/types/v1/parser/swagger/types/SwaggerNotType.d.ts +13 -0
  50. package/dist/types/v1/parser/swagger/types/SwaggerObjectType.d.ts +13 -0
  51. package/dist/types/v1/parser/swagger/types/SwaggerOneOfType.d.ts +16 -0
  52. package/dist/types/v1/parser/swagger/types/SwaggerRefType.d.ts +12 -0
  53. package/dist/types/v1/parser/swagger/types/SwaggerScalarTypes.d.ts +46 -0
  54. package/dist/types/v1/parser/swagger/types/__tests__/SwaggerAnyType.spec.d.ts +1 -0
  55. package/dist/types/v1/parser/swagger/types/__tests__/SwaggerArrayType.spec.d.ts +1 -0
  56. package/dist/types/v1/parser/swagger/types/__tests__/SwaggerBaseType.spec.d.ts +1 -0
  57. package/dist/types/v1/parser/swagger/types/__tests__/SwaggerDiscriminatedObjectType.spec.d.ts +1 -0
  58. package/dist/types/v1/parser/swagger/types/__tests__/SwaggerEnumType.spec.d.ts +1 -0
  59. package/dist/types/v1/parser/swagger/types/__tests__/SwaggerNilType.spec.d.ts +1 -0
  60. package/dist/types/v1/parser/swagger/types/__tests__/SwaggerNotType.spec.d.ts +1 -0
  61. package/dist/types/v1/parser/swagger/types/__tests__/SwaggerObjectType.spec.d.ts +1 -0
  62. package/dist/types/v1/parser/swagger/types/__tests__/SwaggerOneOfType.spec.d.ts +1 -0
  63. package/dist/types/v1/parser/swagger/types/__tests__/SwaggerScalarType.spec.d.ts +1 -0
  64. package/dist/types/v1/parser/swagger/types/factory.d.ts +22 -0
  65. package/dist/types/v1/parser/swagger/types/index.d.ts +21 -0
  66. package/dist/types/v1/parser/swagger/validation.d.ts +11 -0
  67. package/dist/types/v1/parser/swagger/version.d.ts +6 -0
  68. package/dist/types/v1/{amf/endpoints/amf-operation.d.ts → parser/zod-schemas.d.ts} +919 -380
  69. package/dist/v1/index.js +9690 -1911
  70. package/dist/v1/index.js.map +1 -1
  71. package/package.json +5 -3
  72. package/dist/types/v1/amf/__tests__/test-utils.d.ts +0 -212
  73. package/dist/types/v1/amf/types/annotations-schemas.d.ts +0 -172
  74. /package/dist/types/v1/{amf/types → parser}/__tests__/annotations-schemas.spec.d.ts +0 -0
  75. /package/dist/types/v1/{amf/__tests__/AMFAPI.spec.d.ts → parser/__tests__/extensions-services.spec.d.ts} +0 -0
  76. /package/dist/types/v1/{amf/__tests__/amf-api-service.spec.d.ts → parser/__tests__/parser-api.spec.d.ts} +0 -0
  77. /package/dist/types/v1/{amf/__tests__/amf-extensions-services.spec.d.ts → parser/__tests__/parser-endpoint.spec.d.ts} +0 -0
  78. /package/dist/types/v1/{amf/__tests__/amf-extensions.spec.d.ts → parser/__tests__/parser-operation.spec.d.ts} +0 -0
  79. /package/dist/types/v1/{amf/__tests__/amf-utils.spec.d.ts → parser/__tests__/parser-utils.spec.d.ts} +0 -0
  80. /package/dist/types/v1/{amf/__tests__/parser.spec.d.ts → parser/__tests__/type-factory.spec.d.ts} +0 -0
  81. /package/dist/types/v1/{amf/__tests__/validation.spec.d.ts → parser/amf/__tests__/AMFAPI.spec.d.ts} +0 -0
  82. /package/dist/types/v1/{amf/__tests__/version.spec.d.ts → parser/amf/__tests__/amf-api-service.spec.d.ts} +0 -0
  83. /package/dist/types/v1/{amf/endpoints/__tests__/amf-endpoint.spec.d.ts → parser/amf/__tests__/amf-extensions.spec.d.ts} +0 -0
  84. /package/dist/types/v1/{amf/endpoints/__tests__/amf-operation.spec.d.ts → parser/amf/__tests__/amf-utils.spec.d.ts} +0 -0
  85. /package/dist/types/v1/{amf/types/__tests__/AMFAnyType.spec.d.ts → parser/amf/__tests__/parser.spec.d.ts} +0 -0
  86. /package/dist/types/v1/{amf/types/__tests__/AMFArrayType.spec.d.ts → parser/amf/__tests__/validation.spec.d.ts} +0 -0
  87. /package/dist/types/v1/{amf/types/__tests__/AMFBaseType.spec.d.ts → parser/amf/__tests__/version.spec.d.ts} +0 -0
  88. /package/dist/types/v1/{amf → parser/amf}/amf-extensions.d.ts +0 -0
  89. /package/dist/types/v1/{amf → parser/amf}/parser.d.ts +0 -0
  90. /package/dist/types/v1/{amf/types/__tests__/AMFDiscriminatedObjectType.spec.d.ts → parser/amf/types/__tests__/AMFAnyType.spec.d.ts} +0 -0
  91. /package/dist/types/v1/{amf/types/__tests__/AMFEnumType.spec.d.ts → parser/amf/types/__tests__/AMFArrayType.spec.d.ts} +0 -0
  92. /package/dist/types/v1/{amf/types/__tests__/AMFNilType.spec.d.ts → parser/amf/types/__tests__/AMFBaseType.spec.d.ts} +0 -0
  93. /package/dist/types/v1/{amf/types/__tests__/AMFNotType.spec.d.ts → parser/amf/types/__tests__/AMFDiscriminatedObjectType.spec.d.ts} +0 -0
  94. /package/dist/types/v1/{amf/types/__tests__/AMFObjectType.spec.d.ts → parser/amf/types/__tests__/AMFEnumType.spec.d.ts} +0 -0
  95. /package/dist/types/v1/{amf/types/__tests__/AMFOneOfType.spec.d.ts → parser/amf/types/__tests__/AMFNilType.spec.d.ts} +0 -0
  96. /package/dist/types/v1/{amf/types/__tests__/AMFScalarType.spec.d.ts → parser/amf/types/__tests__/AMFNotType.spec.d.ts} +0 -0
  97. /package/dist/types/v1/{amf/types/__tests__/factory.spec.d.ts → parser/amf/types/__tests__/AMFObjectType.spec.d.ts} +0 -0
  98. /package/dist/types/v1/{amf → parser/amf}/validation.d.ts +0 -0
  99. /package/dist/types/v1/{amf → parser/amf}/version.d.ts +0 -0
@@ -1,12 +1,613 @@
1
- import { type LoggerService, type FileParserLogger } from '@conduit-client/utils';
2
1
  import { z } from 'zod';
3
- import type amf from 'amf-client-js';
4
- import type { BaseAuraOperation, AuraOperationWithRequestBody, BaseOperation, HttpMethod, Parameter, Payload, Request, Response, CacheStrategy, ConfigSchemaType, OperationType, ErrorStrategy, Binding, BaseHttpOperation, HttpOperationWithRequestBody, BaseGraphQLOperation } from '../../api/endpoint';
5
- import type { AMFType, AMFTypeFactory } from '../types';
6
- import type { TypeRegistry } from '../../types';
7
- import type { AmfEndPoint } from './amf-endpoint';
8
- import type { API, Server } from '../../api';
9
- import { type ResolvedOperationServices } from '../../api/service-overrides';
2
+ import { CacheStrategy } from '../api';
3
+ import { HttpMethod } from '../api/endpoint';
4
+ export declare const rootExtensionSchema: z.ZodObject<{
5
+ onestore: z.ZodObject<{
6
+ version: z.ZodEffects<z.ZodString, import("@conduit-client/utils").Version, string>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ version: import("@conduit-client/utils").Version;
9
+ }, {
10
+ version: string;
11
+ }>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ onestore: {
14
+ version: import("@conduit-client/utils").Version;
15
+ };
16
+ }, {
17
+ onestore: {
18
+ version: string;
19
+ };
20
+ }>;
21
+ export declare const cacheControl: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
22
+ type: z.ZodLiteral<"max-age">;
23
+ 'max-age': z.ZodNumber;
24
+ 'stale-while-revalidate': z.ZodOptional<z.ZodNumber>;
25
+ }, "strict", z.ZodTypeAny, {
26
+ 'max-age': number;
27
+ type: "max-age";
28
+ 'stale-while-revalidate'?: number | undefined;
29
+ }, {
30
+ 'max-age': number;
31
+ type: "max-age";
32
+ 'stale-while-revalidate'?: number | undefined;
33
+ }>, z.ZodObject<{
34
+ type: z.ZodLiteral<"no-cache">;
35
+ }, "strip", z.ZodTypeAny, {
36
+ type: "no-cache";
37
+ }, {
38
+ type: "no-cache";
39
+ }>]>;
40
+ export declare const resourceCacheControl: z.ZodObject<{
41
+ 'max-age': z.ZodNumber;
42
+ 'stale-while-revalidate': z.ZodOptional<z.ZodNumber>;
43
+ }, "strict", z.ZodTypeAny, {
44
+ 'max-age': number;
45
+ 'stale-while-revalidate'?: number | undefined;
46
+ }, {
47
+ 'max-age': number;
48
+ 'stale-while-revalidate'?: number | undefined;
49
+ }>;
50
+ export declare const operationCacheStrategy: (defaultCacheStrategyType?: Pick<CacheStrategy, "type">) => z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
51
+ type: z.ZodLiteral<"none">;
52
+ }, "strict", z.ZodTypeAny, {
53
+ type: "none";
54
+ }, {
55
+ type: "none";
56
+ }>, z.ZodObject<{
57
+ type: z.ZodLiteral<"resource">;
58
+ config: z.ZodObject<{
59
+ 'max-age': z.ZodNumber;
60
+ 'stale-while-revalidate': z.ZodOptional<z.ZodNumber>;
61
+ }, "strict", z.ZodTypeAny, {
62
+ 'max-age': number;
63
+ 'stale-while-revalidate'?: number | undefined;
64
+ }, {
65
+ 'max-age': number;
66
+ 'stale-while-revalidate'?: number | undefined;
67
+ }>;
68
+ }, "strict", z.ZodTypeAny, {
69
+ type: "resource";
70
+ config: {
71
+ 'max-age': number;
72
+ 'stale-while-revalidate'?: number | undefined;
73
+ };
74
+ }, {
75
+ type: "resource";
76
+ config: {
77
+ 'max-age': number;
78
+ 'stale-while-revalidate'?: number | undefined;
79
+ };
80
+ }>, z.ZodObject<{
81
+ type: z.ZodLiteral<"normalized">;
82
+ 'cache-control': z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
83
+ type: z.ZodLiteral<"max-age">;
84
+ 'max-age': z.ZodNumber;
85
+ 'stale-while-revalidate': z.ZodOptional<z.ZodNumber>;
86
+ }, "strict", z.ZodTypeAny, {
87
+ 'max-age': number;
88
+ type: "max-age";
89
+ 'stale-while-revalidate'?: number | undefined;
90
+ }, {
91
+ 'max-age': number;
92
+ type: "max-age";
93
+ 'stale-while-revalidate'?: number | undefined;
94
+ }>, z.ZodObject<{
95
+ type: z.ZodLiteral<"no-cache">;
96
+ }, "strip", z.ZodTypeAny, {
97
+ type: "no-cache";
98
+ }, {
99
+ type: "no-cache";
100
+ }>]>>;
101
+ key: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>>;
102
+ }, "strict", z.ZodTypeAny, {
103
+ type: "normalized";
104
+ key?: Record<string, string> | undefined;
105
+ 'cache-control'?: {
106
+ 'max-age': number;
107
+ type: "max-age";
108
+ 'stale-while-revalidate'?: number | undefined;
109
+ } | {
110
+ type: "no-cache";
111
+ } | undefined;
112
+ }, {
113
+ type: "normalized";
114
+ key?: Record<string, string> | undefined;
115
+ 'cache-control'?: {
116
+ 'max-age': number;
117
+ type: "max-age";
118
+ 'stale-while-revalidate'?: number | undefined;
119
+ } | {
120
+ type: "no-cache";
121
+ } | undefined;
122
+ }>]>, {
123
+ type: "none";
124
+ } | {
125
+ type: "resource";
126
+ config: {
127
+ 'max-age': number;
128
+ 'stale-while-revalidate'?: number | undefined;
129
+ };
130
+ } | {
131
+ type: "normalized";
132
+ key?: Record<string, string> | undefined;
133
+ 'cache-control'?: {
134
+ 'max-age': number;
135
+ type: "max-age";
136
+ 'stale-while-revalidate'?: number | undefined;
137
+ } | {
138
+ type: "no-cache";
139
+ } | undefined;
140
+ }, unknown>;
141
+ export declare const typeExtensions: z.ZodObject<{
142
+ key: z.ZodObject<{
143
+ fields: z.ZodRecord<z.ZodString, z.ZodString>;
144
+ }, "strip", z.ZodTypeAny, {
145
+ fields: Record<string, string>;
146
+ }, {
147
+ fields: Record<string, string>;
148
+ }>;
149
+ 'cache-control': z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
150
+ type: z.ZodLiteral<"max-age">;
151
+ 'max-age': z.ZodNumber;
152
+ 'stale-while-revalidate': z.ZodOptional<z.ZodNumber>;
153
+ }, "strict", z.ZodTypeAny, {
154
+ 'max-age': number;
155
+ type: "max-age";
156
+ 'stale-while-revalidate'?: number | undefined;
157
+ }, {
158
+ 'max-age': number;
159
+ type: "max-age";
160
+ 'stale-while-revalidate'?: number | undefined;
161
+ }>, z.ZodObject<{
162
+ type: z.ZodLiteral<"no-cache">;
163
+ }, "strip", z.ZodTypeAny, {
164
+ type: "no-cache";
165
+ }, {
166
+ type: "no-cache";
167
+ }>]>;
168
+ }, "strict", z.ZodTypeAny, {
169
+ key: {
170
+ fields: Record<string, string>;
171
+ };
172
+ 'cache-control': {
173
+ 'max-age': number;
174
+ type: "max-age";
175
+ 'stale-while-revalidate'?: number | undefined;
176
+ } | {
177
+ type: "no-cache";
178
+ };
179
+ }, {
180
+ key: {
181
+ fields: Record<string, string>;
182
+ };
183
+ 'cache-control': {
184
+ 'max-age': number;
185
+ type: "max-age";
186
+ 'stale-while-revalidate'?: number | undefined;
187
+ } | {
188
+ type: "no-cache";
189
+ };
190
+ }>;
191
+ export declare const baseExtensionsSchema: z.ZodObject<{
192
+ onestore: z.ZodObject<{
193
+ defaults: z.ZodOptional<z.ZodObject<{
194
+ operations: z.ZodOptional<z.ZodObject<{
195
+ 'cache-strategy': z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
196
+ type: z.ZodLiteral<"none">;
197
+ }, "strict", z.ZodTypeAny, {
198
+ type: "none";
199
+ }, {
200
+ type: "none";
201
+ }>, z.ZodObject<{
202
+ type: z.ZodLiteral<"resource">;
203
+ }, "strict", z.ZodTypeAny, {
204
+ type: "resource";
205
+ }, {
206
+ type: "resource";
207
+ }>, z.ZodObject<{
208
+ type: z.ZodLiteral<"normalized">;
209
+ }, "strict", z.ZodTypeAny, {
210
+ type: "normalized";
211
+ }, {
212
+ type: "normalized";
213
+ }>]>;
214
+ }, "strip", z.ZodTypeAny, {
215
+ 'cache-strategy': {
216
+ type: "none";
217
+ } | {
218
+ type: "resource";
219
+ } | {
220
+ type: "normalized";
221
+ };
222
+ }, {
223
+ 'cache-strategy': {
224
+ type: "none";
225
+ } | {
226
+ type: "resource";
227
+ } | {
228
+ type: "normalized";
229
+ };
230
+ }>>;
231
+ schemas: z.ZodOptional<z.ZodObject<{
232
+ 'cache-control': z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
233
+ type: z.ZodLiteral<"max-age">;
234
+ 'max-age': z.ZodNumber;
235
+ 'stale-while-revalidate': z.ZodOptional<z.ZodNumber>;
236
+ }, "strict", z.ZodTypeAny, {
237
+ 'max-age': number;
238
+ type: "max-age";
239
+ 'stale-while-revalidate'?: number | undefined;
240
+ }, {
241
+ 'max-age': number;
242
+ type: "max-age";
243
+ 'stale-while-revalidate'?: number | undefined;
244
+ }>, z.ZodObject<{
245
+ type: z.ZodLiteral<"no-cache">;
246
+ }, "strip", z.ZodTypeAny, {
247
+ type: "no-cache";
248
+ }, {
249
+ type: "no-cache";
250
+ }>]>;
251
+ }, "strip", z.ZodTypeAny, {
252
+ 'cache-control': {
253
+ 'max-age': number;
254
+ type: "max-age";
255
+ 'stale-while-revalidate'?: number | undefined;
256
+ } | {
257
+ type: "no-cache";
258
+ };
259
+ }, {
260
+ 'cache-control': {
261
+ 'max-age': number;
262
+ type: "max-age";
263
+ 'stale-while-revalidate'?: number | undefined;
264
+ } | {
265
+ type: "no-cache";
266
+ };
267
+ }>>;
268
+ }, "strict", z.ZodTypeAny, {
269
+ operations?: {
270
+ 'cache-strategy': {
271
+ type: "none";
272
+ } | {
273
+ type: "resource";
274
+ } | {
275
+ type: "normalized";
276
+ };
277
+ } | undefined;
278
+ schemas?: {
279
+ 'cache-control': {
280
+ 'max-age': number;
281
+ type: "max-age";
282
+ 'stale-while-revalidate'?: number | undefined;
283
+ } | {
284
+ type: "no-cache";
285
+ };
286
+ } | undefined;
287
+ }, {
288
+ operations?: {
289
+ 'cache-strategy': {
290
+ type: "none";
291
+ } | {
292
+ type: "resource";
293
+ } | {
294
+ type: "normalized";
295
+ };
296
+ } | undefined;
297
+ schemas?: {
298
+ 'cache-control': {
299
+ 'max-age': number;
300
+ type: "max-age";
301
+ 'stale-while-revalidate'?: number | undefined;
302
+ } | {
303
+ type: "no-cache";
304
+ };
305
+ } | undefined;
306
+ }>>;
307
+ services: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
308
+ type: z.ZodString;
309
+ version: z.ZodString;
310
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
311
+ default: z.ZodOptional<z.ZodBoolean>;
312
+ }, "strict", z.ZodTypeAny, {
313
+ type: string;
314
+ version: string;
315
+ tags?: Record<string, string> | undefined;
316
+ default?: boolean | undefined;
317
+ }, {
318
+ type: string;
319
+ version: string;
320
+ tags?: Record<string, string> | undefined;
321
+ default?: boolean | undefined;
322
+ }>>>;
323
+ namespace: z.ZodOptional<z.ZodString>;
324
+ version: z.ZodString;
325
+ }, "strict", z.ZodTypeAny, {
326
+ version: string;
327
+ services?: Record<string, {
328
+ type: string;
329
+ version: string;
330
+ tags?: Record<string, string> | undefined;
331
+ default?: boolean | undefined;
332
+ }> | undefined;
333
+ defaults?: {
334
+ operations?: {
335
+ 'cache-strategy': {
336
+ type: "none";
337
+ } | {
338
+ type: "resource";
339
+ } | {
340
+ type: "normalized";
341
+ };
342
+ } | undefined;
343
+ schemas?: {
344
+ 'cache-control': {
345
+ 'max-age': number;
346
+ type: "max-age";
347
+ 'stale-while-revalidate'?: number | undefined;
348
+ } | {
349
+ type: "no-cache";
350
+ };
351
+ } | undefined;
352
+ } | undefined;
353
+ namespace?: string | undefined;
354
+ }, {
355
+ version: string;
356
+ services?: Record<string, {
357
+ type: string;
358
+ version: string;
359
+ tags?: Record<string, string> | undefined;
360
+ default?: boolean | undefined;
361
+ }> | undefined;
362
+ defaults?: {
363
+ operations?: {
364
+ 'cache-strategy': {
365
+ type: "none";
366
+ } | {
367
+ type: "resource";
368
+ } | {
369
+ type: "normalized";
370
+ };
371
+ } | undefined;
372
+ schemas?: {
373
+ 'cache-control': {
374
+ 'max-age': number;
375
+ type: "max-age";
376
+ 'stale-while-revalidate'?: number | undefined;
377
+ } | {
378
+ type: "no-cache";
379
+ };
380
+ } | undefined;
381
+ } | undefined;
382
+ namespace?: string | undefined;
383
+ }>;
384
+ }, "strip", z.ZodTypeAny, {
385
+ onestore: {
386
+ version: string;
387
+ services?: Record<string, {
388
+ type: string;
389
+ version: string;
390
+ tags?: Record<string, string> | undefined;
391
+ default?: boolean | undefined;
392
+ }> | undefined;
393
+ defaults?: {
394
+ operations?: {
395
+ 'cache-strategy': {
396
+ type: "none";
397
+ } | {
398
+ type: "resource";
399
+ } | {
400
+ type: "normalized";
401
+ };
402
+ } | undefined;
403
+ schemas?: {
404
+ 'cache-control': {
405
+ 'max-age': number;
406
+ type: "max-age";
407
+ 'stale-while-revalidate'?: number | undefined;
408
+ } | {
409
+ type: "no-cache";
410
+ };
411
+ } | undefined;
412
+ } | undefined;
413
+ namespace?: string | undefined;
414
+ };
415
+ }, {
416
+ onestore: {
417
+ version: string;
418
+ services?: Record<string, {
419
+ type: string;
420
+ version: string;
421
+ tags?: Record<string, string> | undefined;
422
+ default?: boolean | undefined;
423
+ }> | undefined;
424
+ defaults?: {
425
+ operations?: {
426
+ 'cache-strategy': {
427
+ type: "none";
428
+ } | {
429
+ type: "resource";
430
+ } | {
431
+ type: "normalized";
432
+ };
433
+ } | undefined;
434
+ schemas?: {
435
+ 'cache-control': {
436
+ 'max-age': number;
437
+ type: "max-age";
438
+ 'stale-while-revalidate'?: number | undefined;
439
+ } | {
440
+ type: "no-cache";
441
+ };
442
+ } | undefined;
443
+ } | undefined;
444
+ namespace?: string | undefined;
445
+ };
446
+ }>;
447
+ export declare const endpointSchema: z.ZodObject<{
448
+ onestore: z.ZodOptional<z.ZodDiscriminatedUnion<"endpoint-type", [z.ZodObject<{
449
+ 'endpoint-type': z.ZodLiteral<"http">;
450
+ }, "strict", z.ZodTypeAny, {
451
+ 'endpoint-type': "http";
452
+ }, {
453
+ 'endpoint-type': "http";
454
+ }>, z.ZodObject<{
455
+ 'endpoint-type': z.ZodLiteral<"aura">;
456
+ config: z.ZodObject<{
457
+ aura: z.ZodObject<{
458
+ controller: z.ZodString;
459
+ }, "strip", z.ZodTypeAny, {
460
+ controller: string;
461
+ }, {
462
+ controller: string;
463
+ }>;
464
+ }, "strip", z.ZodTypeAny, {
465
+ aura: {
466
+ controller: string;
467
+ };
468
+ }, {
469
+ aura: {
470
+ controller: string;
471
+ };
472
+ }>;
473
+ 'network-preference': z.ZodDefault<z.ZodEnum<["aura", "http"]>>;
474
+ }, "strict", z.ZodTypeAny, {
475
+ config: {
476
+ aura: {
477
+ controller: string;
478
+ };
479
+ };
480
+ 'endpoint-type': "aura";
481
+ 'network-preference': "aura" | "http";
482
+ }, {
483
+ config: {
484
+ aura: {
485
+ controller: string;
486
+ };
487
+ };
488
+ 'endpoint-type': "aura";
489
+ 'network-preference'?: "aura" | "http" | undefined;
490
+ }>]>>;
491
+ }, "strip", z.ZodTypeAny, {
492
+ onestore?: {
493
+ 'endpoint-type': "http";
494
+ } | {
495
+ config: {
496
+ aura: {
497
+ controller: string;
498
+ };
499
+ };
500
+ 'endpoint-type': "aura";
501
+ 'network-preference': "aura" | "http";
502
+ } | undefined;
503
+ }, {
504
+ onestore?: {
505
+ 'endpoint-type': "http";
506
+ } | {
507
+ config: {
508
+ aura: {
509
+ controller: string;
510
+ };
511
+ };
512
+ 'endpoint-type': "aura";
513
+ 'network-preference'?: "aura" | "http" | undefined;
514
+ } | undefined;
515
+ }>;
516
+ export declare const partialOperationSchema: z.ZodObject<{
517
+ onestore: z.ZodOptional<z.ZodObject<{
518
+ config: z.ZodOptional<z.ZodObject<{
519
+ 'operation-type': z.ZodOptional<z.ZodEnum<["query", "mutation", "graphql"]>>;
520
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
521
+ 'operation-type': z.ZodOptional<z.ZodEnum<["query", "mutation", "graphql"]>>;
522
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
523
+ 'operation-type': z.ZodOptional<z.ZodEnum<["query", "mutation", "graphql"]>>;
524
+ }, z.ZodTypeAny, "passthrough">>>;
525
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
526
+ config: z.ZodOptional<z.ZodObject<{
527
+ 'operation-type': z.ZodOptional<z.ZodEnum<["query", "mutation", "graphql"]>>;
528
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
529
+ 'operation-type': z.ZodOptional<z.ZodEnum<["query", "mutation", "graphql"]>>;
530
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
531
+ 'operation-type': z.ZodOptional<z.ZodEnum<["query", "mutation", "graphql"]>>;
532
+ }, z.ZodTypeAny, "passthrough">>>;
533
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
534
+ config: z.ZodOptional<z.ZodObject<{
535
+ 'operation-type': z.ZodOptional<z.ZodEnum<["query", "mutation", "graphql"]>>;
536
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
537
+ 'operation-type': z.ZodOptional<z.ZodEnum<["query", "mutation", "graphql"]>>;
538
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
539
+ 'operation-type': z.ZodOptional<z.ZodEnum<["query", "mutation", "graphql"]>>;
540
+ }, z.ZodTypeAny, "passthrough">>>;
541
+ }, z.ZodTypeAny, "passthrough">>>;
542
+ }, "strip", z.ZodTypeAny, {
543
+ onestore?: z.objectOutputType<{
544
+ config: z.ZodOptional<z.ZodObject<{
545
+ 'operation-type': z.ZodOptional<z.ZodEnum<["query", "mutation", "graphql"]>>;
546
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
547
+ 'operation-type': z.ZodOptional<z.ZodEnum<["query", "mutation", "graphql"]>>;
548
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
549
+ 'operation-type': z.ZodOptional<z.ZodEnum<["query", "mutation", "graphql"]>>;
550
+ }, z.ZodTypeAny, "passthrough">>>;
551
+ }, z.ZodTypeAny, "passthrough"> | undefined;
552
+ }, {
553
+ onestore?: z.objectInputType<{
554
+ config: z.ZodOptional<z.ZodObject<{
555
+ 'operation-type': z.ZodOptional<z.ZodEnum<["query", "mutation", "graphql"]>>;
556
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
557
+ 'operation-type': z.ZodOptional<z.ZodEnum<["query", "mutation", "graphql"]>>;
558
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
559
+ 'operation-type': z.ZodOptional<z.ZodEnum<["query", "mutation", "graphql"]>>;
560
+ }, z.ZodTypeAny, "passthrough">>>;
561
+ }, z.ZodTypeAny, "passthrough"> | undefined;
562
+ }>;
563
+ export declare const cacheInvalidationEntrySchema: z.ZodObject<{
564
+ ref: z.ZodString;
565
+ key: z.ZodRecord<z.ZodString, z.ZodString>;
566
+ }, "strip", z.ZodTypeAny, {
567
+ ref: string;
568
+ key: Record<string, string>;
569
+ }, {
570
+ ref: string;
571
+ key: Record<string, string>;
572
+ }>;
573
+ export declare const cacheInvalidationSchema: z.ZodObject<{
574
+ onestore: z.ZodObject<{
575
+ invalidate: z.ZodArray<z.ZodObject<{
576
+ ref: z.ZodString;
577
+ key: z.ZodRecord<z.ZodString, z.ZodString>;
578
+ }, "strip", z.ZodTypeAny, {
579
+ ref: string;
580
+ key: Record<string, string>;
581
+ }, {
582
+ ref: string;
583
+ key: Record<string, string>;
584
+ }>, "many">;
585
+ }, "strip", z.ZodTypeAny, {
586
+ invalidate: {
587
+ ref: string;
588
+ key: Record<string, string>;
589
+ }[];
590
+ }, {
591
+ invalidate: {
592
+ ref: string;
593
+ key: Record<string, string>;
594
+ }[];
595
+ }>;
596
+ }, "strip", z.ZodTypeAny, {
597
+ onestore: {
598
+ invalidate: {
599
+ ref: string;
600
+ key: Record<string, string>;
601
+ }[];
602
+ };
603
+ }, {
604
+ onestore: {
605
+ invalidate: {
606
+ ref: string;
607
+ key: Record<string, string>;
608
+ }[];
609
+ };
610
+ }>;
10
611
  export declare class OperationSchemaBuilder {
11
612
  private method;
12
613
  private operationId;
@@ -30,165 +631,165 @@ export declare class OperationSchemaBuilder {
30
631
  exposeRefresh: z.ZodDefault<z.ZodBoolean>;
31
632
  'body-param': z.ZodOptional<z.ZodString>;
32
633
  }, "strip", z.ZodTypeAny, {
33
- 'operation-type': "mutation" | "query" | "graphql";
34
- schema: "default" | "flattened";
35
634
  bindings: {
36
635
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
37
636
  identifier: string;
38
637
  }[];
638
+ 'operation-type': "mutation" | "query" | "graphql";
639
+ schema: "default" | "flattened";
39
640
  exposeRefresh: boolean;
40
641
  'body-param'?: string | undefined;
41
642
  }, {
42
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
43
- schema?: "default" | "flattened" | undefined;
44
643
  bindings?: {
45
644
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
46
645
  identifier?: string | undefined;
47
646
  }[] | undefined;
647
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
648
+ schema?: "default" | "flattened" | undefined;
48
649
  exposeRefresh?: boolean | undefined;
49
650
  'body-param'?: string | undefined;
50
651
  }>>, {
51
- 'operation-type': "mutation" | "query" | "graphql";
52
- schema: "default" | "flattened";
53
652
  bindings: {
54
653
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
55
654
  identifier: string;
56
655
  }[];
656
+ 'operation-type': "mutation" | "query" | "graphql";
657
+ schema: "default" | "flattened";
57
658
  exposeRefresh: boolean;
58
659
  'body-param'?: string | undefined;
59
660
  }, {
60
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
61
- schema?: "default" | "flattened" | undefined;
62
661
  bindings?: {
63
662
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
64
663
  identifier?: string | undefined;
65
664
  }[] | undefined;
665
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
666
+ schema?: "default" | "flattened" | undefined;
66
667
  exposeRefresh?: boolean | undefined;
67
668
  'body-param'?: string | undefined;
68
669
  } | undefined>, {
69
- 'operation-type': "mutation" | "query" | "graphql";
70
- schema: "default" | "flattened";
71
670
  bindings: {
72
671
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
73
672
  identifier: string;
74
673
  }[];
674
+ 'operation-type': "mutation" | "query" | "graphql";
675
+ schema: "default" | "flattened";
75
676
  exposeRefresh: boolean;
76
677
  'body-param'?: string | undefined;
77
678
  }, {
78
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
79
- schema?: "default" | "flattened" | undefined;
80
679
  bindings?: {
81
680
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
82
681
  identifier?: string | undefined;
83
682
  }[] | undefined;
683
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
684
+ schema?: "default" | "flattened" | undefined;
84
685
  exposeRefresh?: boolean | undefined;
85
686
  'body-param'?: string | undefined;
86
687
  } | undefined>, {
87
- 'operation-type': "mutation" | "query" | "graphql";
88
- schema: "default" | "flattened";
89
688
  bindings: {
90
689
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
91
690
  identifier: string;
92
691
  }[];
692
+ 'operation-type': "mutation" | "query" | "graphql";
693
+ schema: "default" | "flattened";
93
694
  exposeRefresh: boolean;
94
695
  'body-param'?: string | undefined;
95
696
  }, {
96
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
97
- schema?: "default" | "flattened" | undefined;
98
697
  bindings?: {
99
698
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
100
699
  identifier?: string | undefined;
101
700
  }[] | undefined;
701
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
702
+ schema?: "default" | "flattened" | undefined;
102
703
  exposeRefresh?: boolean | undefined;
103
704
  'body-param'?: string | undefined;
104
705
  } | undefined>, {
105
- 'operation-type': "mutation" | "query" | "graphql";
106
- schema: "default" | "flattened";
107
706
  bindings: {
108
707
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
109
708
  identifier: string;
110
709
  }[];
710
+ 'operation-type': "mutation" | "query" | "graphql";
711
+ schema: "default" | "flattened";
111
712
  exposeRefresh: boolean;
112
713
  'body-param'?: string | undefined;
113
714
  }, {
114
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
115
- schema?: "default" | "flattened" | undefined;
116
715
  bindings?: {
117
716
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
118
717
  identifier?: string | undefined;
119
718
  }[] | undefined;
719
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
720
+ schema?: "default" | "flattened" | undefined;
120
721
  exposeRefresh?: boolean | undefined;
121
722
  'body-param'?: string | undefined;
122
723
  } | undefined>, {
123
- 'operation-type': "mutation" | "query" | "graphql";
124
- schema: "default" | "flattened";
125
724
  bindings: {
126
725
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
127
726
  identifier: string;
128
727
  }[];
728
+ 'operation-type': "mutation" | "query" | "graphql";
729
+ schema: "default" | "flattened";
129
730
  exposeRefresh: boolean;
130
731
  'body-param'?: string | undefined;
131
732
  }, {
132
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
133
- schema?: "default" | "flattened" | undefined;
134
733
  bindings?: {
135
734
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
136
735
  identifier?: string | undefined;
137
736
  }[] | undefined;
737
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
738
+ schema?: "default" | "flattened" | undefined;
138
739
  exposeRefresh?: boolean | undefined;
139
740
  'body-param'?: string | undefined;
140
741
  } | undefined>, {
141
- 'operation-type': "mutation" | "query" | "graphql";
142
- schema: "default" | "flattened";
143
742
  bindings: {
144
743
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
145
744
  identifier: string;
146
745
  }[];
746
+ 'operation-type': "mutation" | "query" | "graphql";
747
+ schema: "default" | "flattened";
147
748
  exposeRefresh: boolean;
148
749
  'body-param'?: string | undefined;
149
750
  }, {
150
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
151
- schema?: "default" | "flattened" | undefined;
152
751
  bindings?: {
153
752
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
154
753
  identifier?: string | undefined;
155
754
  }[] | undefined;
755
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
756
+ schema?: "default" | "flattened" | undefined;
156
757
  exposeRefresh?: boolean | undefined;
157
758
  'body-param'?: string | undefined;
158
759
  } | undefined>, {
159
- 'operation-type': "mutation" | "query" | "graphql";
160
- schema: "default" | "flattened";
161
760
  bindings: {
162
761
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
163
762
  identifier: string;
164
763
  }[];
764
+ 'operation-type': "mutation" | "query" | "graphql";
765
+ schema: "default" | "flattened";
165
766
  exposeRefresh: boolean;
166
767
  'body-param'?: string | undefined;
167
768
  }, {
168
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
169
- schema?: "default" | "flattened" | undefined;
170
769
  bindings?: {
171
770
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
172
771
  identifier?: string | undefined;
173
772
  }[] | undefined;
773
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
774
+ schema?: "default" | "flattened" | undefined;
174
775
  exposeRefresh?: boolean | undefined;
175
776
  'body-param'?: string | undefined;
176
777
  } | undefined>, {
177
- 'operation-type': "mutation" | "query" | "graphql";
178
- schema: "default" | "flattened";
179
778
  bindings: {
180
779
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
181
780
  identifier: string;
182
781
  }[];
782
+ 'operation-type': "mutation" | "query" | "graphql";
783
+ schema: "default" | "flattened";
183
784
  exposeRefresh: boolean;
184
785
  'body-param'?: string | undefined;
185
786
  }, {
186
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
187
- schema?: "default" | "flattened" | undefined;
188
787
  bindings?: {
189
788
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
190
789
  identifier?: string | undefined;
191
790
  }[] | undefined;
791
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
792
+ schema?: "default" | "flattened" | undefined;
192
793
  exposeRefresh?: boolean | undefined;
193
794
  'body-param'?: string | undefined;
194
795
  } | undefined>;
@@ -325,12 +926,12 @@ export declare class OperationSchemaBuilder {
325
926
  }>]>>>;
326
927
  }, "strict", z.ZodTypeAny, {
327
928
  config: {
328
- 'operation-type': "mutation" | "query" | "graphql";
329
- schema: "default" | "flattened";
330
929
  bindings: {
331
930
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
332
931
  identifier: string;
333
932
  }[];
933
+ 'operation-type': "mutation" | "query" | "graphql";
934
+ schema: "default" | "flattened";
334
935
  exposeRefresh: boolean;
335
936
  'body-param'?: string | undefined;
336
937
  };
@@ -374,12 +975,12 @@ export declare class OperationSchemaBuilder {
374
975
  optional?: boolean | undefined;
375
976
  }> | undefined;
376
977
  config?: {
377
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
378
- schema?: "default" | "flattened" | undefined;
379
978
  bindings?: {
380
979
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
381
980
  identifier?: string | undefined;
382
981
  }[] | undefined;
982
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
983
+ schema?: "default" | "flattened" | undefined;
383
984
  exposeRefresh?: boolean | undefined;
384
985
  'body-param'?: string | undefined;
385
986
  } | undefined;
@@ -391,12 +992,12 @@ export declare class OperationSchemaBuilder {
391
992
  } | undefined;
392
993
  }>>, {
393
994
  config: {
394
- 'operation-type': "mutation" | "query" | "graphql";
395
- schema: "default" | "flattened";
396
995
  bindings: {
397
996
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
398
997
  identifier: string;
399
998
  }[];
999
+ 'operation-type': "mutation" | "query" | "graphql";
1000
+ schema: "default" | "flattened";
400
1001
  exposeRefresh: boolean;
401
1002
  'body-param'?: string | undefined;
402
1003
  };
@@ -440,12 +1041,12 @@ export declare class OperationSchemaBuilder {
440
1041
  optional?: boolean | undefined;
441
1042
  }> | undefined;
442
1043
  config?: {
443
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
444
- schema?: "default" | "flattened" | undefined;
445
1044
  bindings?: {
446
1045
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
447
1046
  identifier?: string | undefined;
448
1047
  }[] | undefined;
1048
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1049
+ schema?: "default" | "flattened" | undefined;
449
1050
  exposeRefresh?: boolean | undefined;
450
1051
  'body-param'?: string | undefined;
451
1052
  } | undefined;
@@ -457,12 +1058,12 @@ export declare class OperationSchemaBuilder {
457
1058
  } | undefined;
458
1059
  } | undefined>, {
459
1060
  config: {
460
- 'operation-type': "mutation" | "query" | "graphql";
461
- schema: "default" | "flattened";
462
1061
  bindings: {
463
1062
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
464
1063
  identifier: string;
465
1064
  }[];
1065
+ 'operation-type': "mutation" | "query" | "graphql";
1066
+ schema: "default" | "flattened";
466
1067
  exposeRefresh: boolean;
467
1068
  'body-param'?: string | undefined;
468
1069
  };
@@ -506,12 +1107,12 @@ export declare class OperationSchemaBuilder {
506
1107
  optional?: boolean | undefined;
507
1108
  }> | undefined;
508
1109
  config?: {
509
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
510
- schema?: "default" | "flattened" | undefined;
511
1110
  bindings?: {
512
1111
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
513
1112
  identifier?: string | undefined;
514
1113
  }[] | undefined;
1114
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1115
+ schema?: "default" | "flattened" | undefined;
515
1116
  exposeRefresh?: boolean | undefined;
516
1117
  'body-param'?: string | undefined;
517
1118
  } | undefined;
@@ -523,12 +1124,12 @@ export declare class OperationSchemaBuilder {
523
1124
  } | undefined;
524
1125
  } | undefined>, {
525
1126
  config: {
526
- 'operation-type': "mutation" | "query" | "graphql";
527
- schema: "default" | "flattened";
528
1127
  bindings: {
529
1128
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
530
1129
  identifier: string;
531
1130
  }[];
1131
+ 'operation-type': "mutation" | "query" | "graphql";
1132
+ schema: "default" | "flattened";
532
1133
  exposeRefresh: boolean;
533
1134
  'body-param'?: string | undefined;
534
1135
  };
@@ -572,12 +1173,12 @@ export declare class OperationSchemaBuilder {
572
1173
  optional?: boolean | undefined;
573
1174
  }> | undefined;
574
1175
  config?: {
575
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
576
- schema?: "default" | "flattened" | undefined;
577
1176
  bindings?: {
578
1177
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
579
1178
  identifier?: string | undefined;
580
1179
  }[] | undefined;
1180
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1181
+ schema?: "default" | "flattened" | undefined;
581
1182
  exposeRefresh?: boolean | undefined;
582
1183
  'body-param'?: string | undefined;
583
1184
  } | undefined;
@@ -589,12 +1190,12 @@ export declare class OperationSchemaBuilder {
589
1190
  } | undefined;
590
1191
  } | undefined>, {
591
1192
  config: {
592
- 'operation-type': "mutation" | "query" | "graphql";
593
- schema: "default" | "flattened";
594
1193
  bindings: {
595
1194
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
596
1195
  identifier: string;
597
1196
  }[];
1197
+ 'operation-type': "mutation" | "query" | "graphql";
1198
+ schema: "default" | "flattened";
598
1199
  exposeRefresh: boolean;
599
1200
  'body-param'?: string | undefined;
600
1201
  };
@@ -638,12 +1239,12 @@ export declare class OperationSchemaBuilder {
638
1239
  optional?: boolean | undefined;
639
1240
  }> | undefined;
640
1241
  config?: {
641
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
642
- schema?: "default" | "flattened" | undefined;
643
1242
  bindings?: {
644
1243
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
645
1244
  identifier?: string | undefined;
646
1245
  }[] | undefined;
1246
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1247
+ schema?: "default" | "flattened" | undefined;
647
1248
  exposeRefresh?: boolean | undefined;
648
1249
  'body-param'?: string | undefined;
649
1250
  } | undefined;
@@ -657,12 +1258,12 @@ export declare class OperationSchemaBuilder {
657
1258
  }, "strip", z.ZodTypeAny, {
658
1259
  onestore: {
659
1260
  config: {
660
- 'operation-type': "mutation" | "query" | "graphql";
661
- schema: "default" | "flattened";
662
1261
  bindings: {
663
1262
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
664
1263
  identifier: string;
665
1264
  }[];
1265
+ 'operation-type': "mutation" | "query" | "graphql";
1266
+ schema: "default" | "flattened";
666
1267
  exposeRefresh: boolean;
667
1268
  'body-param'?: string | undefined;
668
1269
  };
@@ -708,12 +1309,12 @@ export declare class OperationSchemaBuilder {
708
1309
  optional?: boolean | undefined;
709
1310
  }> | undefined;
710
1311
  config?: {
711
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
712
- schema?: "default" | "flattened" | undefined;
713
1312
  bindings?: {
714
1313
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
715
1314
  identifier?: string | undefined;
716
1315
  }[] | undefined;
1316
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1317
+ schema?: "default" | "flattened" | undefined;
717
1318
  exposeRefresh?: boolean | undefined;
718
1319
  'body-param'?: string | undefined;
719
1320
  } | undefined;
@@ -743,165 +1344,165 @@ export declare class OperationSchemaBuilder {
743
1344
  exposeRefresh: z.ZodDefault<z.ZodBoolean>;
744
1345
  'body-param': z.ZodOptional<z.ZodString>;
745
1346
  }, "strip", z.ZodTypeAny, {
746
- 'operation-type': "mutation" | "query" | "graphql";
747
- schema: "default" | "flattened";
748
1347
  bindings: {
749
1348
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
750
1349
  identifier: string;
751
1350
  }[];
1351
+ 'operation-type': "mutation" | "query" | "graphql";
1352
+ schema: "default" | "flattened";
752
1353
  exposeRefresh: boolean;
753
1354
  'body-param'?: string | undefined;
754
1355
  }, {
755
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
756
- schema?: "default" | "flattened" | undefined;
757
1356
  bindings?: {
758
1357
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
759
1358
  identifier?: string | undefined;
760
1359
  }[] | undefined;
1360
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1361
+ schema?: "default" | "flattened" | undefined;
761
1362
  exposeRefresh?: boolean | undefined;
762
1363
  'body-param'?: string | undefined;
763
1364
  }>>, {
764
- 'operation-type': "mutation" | "query" | "graphql";
765
- schema: "default" | "flattened";
766
1365
  bindings: {
767
1366
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
768
1367
  identifier: string;
769
1368
  }[];
1369
+ 'operation-type': "mutation" | "query" | "graphql";
1370
+ schema: "default" | "flattened";
770
1371
  exposeRefresh: boolean;
771
1372
  'body-param'?: string | undefined;
772
1373
  }, {
773
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
774
- schema?: "default" | "flattened" | undefined;
775
1374
  bindings?: {
776
1375
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
777
1376
  identifier?: string | undefined;
778
1377
  }[] | undefined;
1378
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1379
+ schema?: "default" | "flattened" | undefined;
779
1380
  exposeRefresh?: boolean | undefined;
780
1381
  'body-param'?: string | undefined;
781
1382
  } | undefined>, {
782
- 'operation-type': "mutation" | "query" | "graphql";
783
- schema: "default" | "flattened";
784
1383
  bindings: {
785
1384
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
786
1385
  identifier: string;
787
1386
  }[];
1387
+ 'operation-type': "mutation" | "query" | "graphql";
1388
+ schema: "default" | "flattened";
788
1389
  exposeRefresh: boolean;
789
1390
  'body-param'?: string | undefined;
790
1391
  }, {
791
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
792
- schema?: "default" | "flattened" | undefined;
793
1392
  bindings?: {
794
1393
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
795
1394
  identifier?: string | undefined;
796
1395
  }[] | undefined;
1396
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1397
+ schema?: "default" | "flattened" | undefined;
797
1398
  exposeRefresh?: boolean | undefined;
798
1399
  'body-param'?: string | undefined;
799
1400
  } | undefined>, {
800
- 'operation-type': "mutation" | "query" | "graphql";
801
- schema: "default" | "flattened";
802
1401
  bindings: {
803
1402
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
804
1403
  identifier: string;
805
1404
  }[];
1405
+ 'operation-type': "mutation" | "query" | "graphql";
1406
+ schema: "default" | "flattened";
806
1407
  exposeRefresh: boolean;
807
1408
  'body-param'?: string | undefined;
808
1409
  }, {
809
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
810
- schema?: "default" | "flattened" | undefined;
811
1410
  bindings?: {
812
1411
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
813
1412
  identifier?: string | undefined;
814
1413
  }[] | undefined;
1414
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1415
+ schema?: "default" | "flattened" | undefined;
815
1416
  exposeRefresh?: boolean | undefined;
816
1417
  'body-param'?: string | undefined;
817
1418
  } | undefined>, {
818
- 'operation-type': "mutation" | "query" | "graphql";
819
- schema: "default" | "flattened";
820
1419
  bindings: {
821
1420
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
822
1421
  identifier: string;
823
1422
  }[];
1423
+ 'operation-type': "mutation" | "query" | "graphql";
1424
+ schema: "default" | "flattened";
824
1425
  exposeRefresh: boolean;
825
1426
  'body-param'?: string | undefined;
826
1427
  }, {
827
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
828
- schema?: "default" | "flattened" | undefined;
829
1428
  bindings?: {
830
1429
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
831
1430
  identifier?: string | undefined;
832
1431
  }[] | undefined;
1432
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1433
+ schema?: "default" | "flattened" | undefined;
833
1434
  exposeRefresh?: boolean | undefined;
834
1435
  'body-param'?: string | undefined;
835
1436
  } | undefined>, {
836
- 'operation-type': "mutation" | "query" | "graphql";
837
- schema: "default" | "flattened";
838
1437
  bindings: {
839
1438
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
840
1439
  identifier: string;
841
1440
  }[];
1441
+ 'operation-type': "mutation" | "query" | "graphql";
1442
+ schema: "default" | "flattened";
842
1443
  exposeRefresh: boolean;
843
1444
  'body-param'?: string | undefined;
844
1445
  }, {
845
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
846
- schema?: "default" | "flattened" | undefined;
847
1446
  bindings?: {
848
1447
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
849
1448
  identifier?: string | undefined;
850
1449
  }[] | undefined;
1450
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1451
+ schema?: "default" | "flattened" | undefined;
851
1452
  exposeRefresh?: boolean | undefined;
852
1453
  'body-param'?: string | undefined;
853
1454
  } | undefined>, {
854
- 'operation-type': "mutation" | "query" | "graphql";
855
- schema: "default" | "flattened";
856
1455
  bindings: {
857
1456
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
858
1457
  identifier: string;
859
1458
  }[];
1459
+ 'operation-type': "mutation" | "query" | "graphql";
1460
+ schema: "default" | "flattened";
860
1461
  exposeRefresh: boolean;
861
1462
  'body-param'?: string | undefined;
862
1463
  }, {
863
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
864
- schema?: "default" | "flattened" | undefined;
865
1464
  bindings?: {
866
1465
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
867
1466
  identifier?: string | undefined;
868
1467
  }[] | undefined;
1468
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1469
+ schema?: "default" | "flattened" | undefined;
869
1470
  exposeRefresh?: boolean | undefined;
870
1471
  'body-param'?: string | undefined;
871
1472
  } | undefined>, {
872
- 'operation-type': "mutation" | "query" | "graphql";
873
- schema: "default" | "flattened";
874
1473
  bindings: {
875
1474
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
876
1475
  identifier: string;
877
1476
  }[];
1477
+ 'operation-type': "mutation" | "query" | "graphql";
1478
+ schema: "default" | "flattened";
878
1479
  exposeRefresh: boolean;
879
1480
  'body-param'?: string | undefined;
880
1481
  }, {
881
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
882
- schema?: "default" | "flattened" | undefined;
883
1482
  bindings?: {
884
1483
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
885
1484
  identifier?: string | undefined;
886
1485
  }[] | undefined;
1486
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1487
+ schema?: "default" | "flattened" | undefined;
887
1488
  exposeRefresh?: boolean | undefined;
888
1489
  'body-param'?: string | undefined;
889
1490
  } | undefined>, {
890
- 'operation-type': "mutation" | "query" | "graphql";
891
- schema: "default" | "flattened";
892
1491
  bindings: {
893
1492
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
894
1493
  identifier: string;
895
1494
  }[];
1495
+ 'operation-type': "mutation" | "query" | "graphql";
1496
+ schema: "default" | "flattened";
896
1497
  exposeRefresh: boolean;
897
1498
  'body-param'?: string | undefined;
898
1499
  }, {
899
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
900
- schema?: "default" | "flattened" | undefined;
901
1500
  bindings?: {
902
1501
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
903
1502
  identifier?: string | undefined;
904
1503
  }[] | undefined;
1504
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1505
+ schema?: "default" | "flattened" | undefined;
905
1506
  exposeRefresh?: boolean | undefined;
906
1507
  'body-param'?: string | undefined;
907
1508
  } | undefined>;
@@ -1038,12 +1639,12 @@ export declare class OperationSchemaBuilder {
1038
1639
  }>]>>>;
1039
1640
  }, "strict", z.ZodTypeAny, {
1040
1641
  config: {
1041
- 'operation-type': "mutation" | "query" | "graphql";
1042
- schema: "default" | "flattened";
1043
1642
  bindings: {
1044
1643
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1045
1644
  identifier: string;
1046
1645
  }[];
1646
+ 'operation-type': "mutation" | "query" | "graphql";
1647
+ schema: "default" | "flattened";
1047
1648
  exposeRefresh: boolean;
1048
1649
  'body-param'?: string | undefined;
1049
1650
  };
@@ -1087,12 +1688,12 @@ export declare class OperationSchemaBuilder {
1087
1688
  optional?: boolean | undefined;
1088
1689
  }> | undefined;
1089
1690
  config?: {
1090
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1091
- schema?: "default" | "flattened" | undefined;
1092
1691
  bindings?: {
1093
1692
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
1094
1693
  identifier?: string | undefined;
1095
1694
  }[] | undefined;
1695
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1696
+ schema?: "default" | "flattened" | undefined;
1096
1697
  exposeRefresh?: boolean | undefined;
1097
1698
  'body-param'?: string | undefined;
1098
1699
  } | undefined;
@@ -1104,12 +1705,12 @@ export declare class OperationSchemaBuilder {
1104
1705
  } | undefined;
1105
1706
  }>>, {
1106
1707
  config: {
1107
- 'operation-type': "mutation" | "query" | "graphql";
1108
- schema: "default" | "flattened";
1109
1708
  bindings: {
1110
1709
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1111
1710
  identifier: string;
1112
1711
  }[];
1712
+ 'operation-type': "mutation" | "query" | "graphql";
1713
+ schema: "default" | "flattened";
1113
1714
  exposeRefresh: boolean;
1114
1715
  'body-param'?: string | undefined;
1115
1716
  };
@@ -1153,12 +1754,12 @@ export declare class OperationSchemaBuilder {
1153
1754
  optional?: boolean | undefined;
1154
1755
  }> | undefined;
1155
1756
  config?: {
1156
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1157
- schema?: "default" | "flattened" | undefined;
1158
1757
  bindings?: {
1159
1758
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
1160
1759
  identifier?: string | undefined;
1161
1760
  }[] | undefined;
1761
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1762
+ schema?: "default" | "flattened" | undefined;
1162
1763
  exposeRefresh?: boolean | undefined;
1163
1764
  'body-param'?: string | undefined;
1164
1765
  } | undefined;
@@ -1170,12 +1771,12 @@ export declare class OperationSchemaBuilder {
1170
1771
  } | undefined;
1171
1772
  } | undefined>, {
1172
1773
  config: {
1173
- 'operation-type': "mutation" | "query" | "graphql";
1174
- schema: "default" | "flattened";
1175
1774
  bindings: {
1176
1775
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1177
1776
  identifier: string;
1178
1777
  }[];
1778
+ 'operation-type': "mutation" | "query" | "graphql";
1779
+ schema: "default" | "flattened";
1179
1780
  exposeRefresh: boolean;
1180
1781
  'body-param'?: string | undefined;
1181
1782
  };
@@ -1219,12 +1820,12 @@ export declare class OperationSchemaBuilder {
1219
1820
  optional?: boolean | undefined;
1220
1821
  }> | undefined;
1221
1822
  config?: {
1222
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1223
- schema?: "default" | "flattened" | undefined;
1224
1823
  bindings?: {
1225
1824
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
1226
1825
  identifier?: string | undefined;
1227
1826
  }[] | undefined;
1827
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1828
+ schema?: "default" | "flattened" | undefined;
1228
1829
  exposeRefresh?: boolean | undefined;
1229
1830
  'body-param'?: string | undefined;
1230
1831
  } | undefined;
@@ -1236,12 +1837,12 @@ export declare class OperationSchemaBuilder {
1236
1837
  } | undefined;
1237
1838
  } | undefined>, {
1238
1839
  config: {
1239
- 'operation-type': "mutation" | "query" | "graphql";
1240
- schema: "default" | "flattened";
1241
1840
  bindings: {
1242
1841
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1243
1842
  identifier: string;
1244
1843
  }[];
1844
+ 'operation-type': "mutation" | "query" | "graphql";
1845
+ schema: "default" | "flattened";
1245
1846
  exposeRefresh: boolean;
1246
1847
  'body-param'?: string | undefined;
1247
1848
  };
@@ -1285,12 +1886,12 @@ export declare class OperationSchemaBuilder {
1285
1886
  optional?: boolean | undefined;
1286
1887
  }> | undefined;
1287
1888
  config?: {
1288
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1289
- schema?: "default" | "flattened" | undefined;
1290
1889
  bindings?: {
1291
1890
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
1292
1891
  identifier?: string | undefined;
1293
1892
  }[] | undefined;
1893
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1894
+ schema?: "default" | "flattened" | undefined;
1294
1895
  exposeRefresh?: boolean | undefined;
1295
1896
  'body-param'?: string | undefined;
1296
1897
  } | undefined;
@@ -1302,12 +1903,12 @@ export declare class OperationSchemaBuilder {
1302
1903
  } | undefined;
1303
1904
  } | undefined>, {
1304
1905
  config: {
1305
- 'operation-type': "mutation" | "query" | "graphql";
1306
- schema: "default" | "flattened";
1307
1906
  bindings: {
1308
1907
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1309
1908
  identifier: string;
1310
1909
  }[];
1910
+ 'operation-type': "mutation" | "query" | "graphql";
1911
+ schema: "default" | "flattened";
1311
1912
  exposeRefresh: boolean;
1312
1913
  'body-param'?: string | undefined;
1313
1914
  };
@@ -1351,12 +1952,12 @@ export declare class OperationSchemaBuilder {
1351
1952
  optional?: boolean | undefined;
1352
1953
  }> | undefined;
1353
1954
  config?: {
1354
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1355
- schema?: "default" | "flattened" | undefined;
1356
1955
  bindings?: {
1357
1956
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
1358
1957
  identifier?: string | undefined;
1359
1958
  }[] | undefined;
1959
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1960
+ schema?: "default" | "flattened" | undefined;
1360
1961
  exposeRefresh?: boolean | undefined;
1361
1962
  'body-param'?: string | undefined;
1362
1963
  } | undefined;
@@ -1370,12 +1971,12 @@ export declare class OperationSchemaBuilder {
1370
1971
  }, "strip", z.ZodTypeAny, {
1371
1972
  onestore: {
1372
1973
  config: {
1373
- 'operation-type': "mutation" | "query" | "graphql";
1374
- schema: "default" | "flattened";
1375
1974
  bindings: {
1376
1975
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1377
1976
  identifier: string;
1378
1977
  }[];
1978
+ 'operation-type': "mutation" | "query" | "graphql";
1979
+ schema: "default" | "flattened";
1379
1980
  exposeRefresh: boolean;
1380
1981
  'body-param'?: string | undefined;
1381
1982
  };
@@ -1421,12 +2022,12 @@ export declare class OperationSchemaBuilder {
1421
2022
  optional?: boolean | undefined;
1422
2023
  }> | undefined;
1423
2024
  config?: {
1424
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1425
- schema?: "default" | "flattened" | undefined;
1426
2025
  bindings?: {
1427
2026
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
1428
2027
  identifier?: string | undefined;
1429
2028
  }[] | undefined;
2029
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2030
+ schema?: "default" | "flattened" | undefined;
1430
2031
  exposeRefresh?: boolean | undefined;
1431
2032
  'body-param'?: string | undefined;
1432
2033
  } | undefined;
@@ -1441,12 +2042,12 @@ export declare class OperationSchemaBuilder {
1441
2042
  onestore: {
1442
2043
  config: {
1443
2044
  'body-param': string;
1444
- 'operation-type': "mutation" | "query" | "graphql";
1445
- schema: "default" | "flattened";
1446
2045
  bindings: {
1447
2046
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1448
2047
  identifier: string;
1449
2048
  }[];
2049
+ 'operation-type': "mutation" | "query" | "graphql";
2050
+ schema: "default" | "flattened";
1450
2051
  exposeRefresh: boolean;
1451
2052
  };
1452
2053
  };
@@ -1460,12 +2061,12 @@ export declare class OperationSchemaBuilder {
1460
2061
  optional?: boolean | undefined;
1461
2062
  }> | undefined;
1462
2063
  config?: {
1463
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1464
- schema?: "default" | "flattened" | undefined;
1465
2064
  bindings?: {
1466
2065
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
1467
2066
  identifier?: string | undefined;
1468
2067
  }[] | undefined;
2068
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2069
+ schema?: "default" | "flattened" | undefined;
1469
2070
  exposeRefresh?: boolean | undefined;
1470
2071
  'body-param'?: string | undefined;
1471
2072
  } | undefined;
@@ -1495,165 +2096,165 @@ export declare class OperationSchemaBuilder {
1495
2096
  exposeRefresh: z.ZodDefault<z.ZodBoolean>;
1496
2097
  'body-param': z.ZodOptional<z.ZodString>;
1497
2098
  }, "strip", z.ZodTypeAny, {
1498
- 'operation-type': "mutation" | "query" | "graphql";
1499
- schema: "default" | "flattened";
1500
2099
  bindings: {
1501
2100
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1502
2101
  identifier: string;
1503
2102
  }[];
2103
+ 'operation-type': "mutation" | "query" | "graphql";
2104
+ schema: "default" | "flattened";
1504
2105
  exposeRefresh: boolean;
1505
2106
  'body-param'?: string | undefined;
1506
2107
  }, {
1507
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1508
- schema?: "default" | "flattened" | undefined;
1509
2108
  bindings?: {
1510
2109
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
1511
2110
  identifier?: string | undefined;
1512
2111
  }[] | undefined;
2112
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2113
+ schema?: "default" | "flattened" | undefined;
1513
2114
  exposeRefresh?: boolean | undefined;
1514
2115
  'body-param'?: string | undefined;
1515
2116
  }>>, {
1516
- 'operation-type': "mutation" | "query" | "graphql";
1517
- schema: "default" | "flattened";
1518
2117
  bindings: {
1519
2118
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1520
2119
  identifier: string;
1521
2120
  }[];
2121
+ 'operation-type': "mutation" | "query" | "graphql";
2122
+ schema: "default" | "flattened";
1522
2123
  exposeRefresh: boolean;
1523
2124
  'body-param'?: string | undefined;
1524
2125
  }, {
1525
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1526
- schema?: "default" | "flattened" | undefined;
1527
2126
  bindings?: {
1528
2127
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
1529
2128
  identifier?: string | undefined;
1530
2129
  }[] | undefined;
2130
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2131
+ schema?: "default" | "flattened" | undefined;
1531
2132
  exposeRefresh?: boolean | undefined;
1532
2133
  'body-param'?: string | undefined;
1533
2134
  } | undefined>, {
1534
- 'operation-type': "mutation" | "query" | "graphql";
1535
- schema: "default" | "flattened";
1536
2135
  bindings: {
1537
2136
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1538
2137
  identifier: string;
1539
2138
  }[];
2139
+ 'operation-type': "mutation" | "query" | "graphql";
2140
+ schema: "default" | "flattened";
1540
2141
  exposeRefresh: boolean;
1541
2142
  'body-param'?: string | undefined;
1542
2143
  }, {
1543
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1544
- schema?: "default" | "flattened" | undefined;
1545
2144
  bindings?: {
1546
2145
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
1547
2146
  identifier?: string | undefined;
1548
2147
  }[] | undefined;
2148
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2149
+ schema?: "default" | "flattened" | undefined;
1549
2150
  exposeRefresh?: boolean | undefined;
1550
2151
  'body-param'?: string | undefined;
1551
2152
  } | undefined>, {
1552
- 'operation-type': "mutation" | "query" | "graphql";
1553
- schema: "default" | "flattened";
1554
2153
  bindings: {
1555
2154
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1556
2155
  identifier: string;
1557
2156
  }[];
2157
+ 'operation-type': "mutation" | "query" | "graphql";
2158
+ schema: "default" | "flattened";
1558
2159
  exposeRefresh: boolean;
1559
2160
  'body-param'?: string | undefined;
1560
2161
  }, {
1561
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1562
- schema?: "default" | "flattened" | undefined;
1563
2162
  bindings?: {
1564
2163
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
1565
2164
  identifier?: string | undefined;
1566
2165
  }[] | undefined;
2166
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2167
+ schema?: "default" | "flattened" | undefined;
1567
2168
  exposeRefresh?: boolean | undefined;
1568
2169
  'body-param'?: string | undefined;
1569
2170
  } | undefined>, {
1570
- 'operation-type': "mutation" | "query" | "graphql";
1571
- schema: "default" | "flattened";
1572
2171
  bindings: {
1573
2172
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1574
2173
  identifier: string;
1575
2174
  }[];
2175
+ 'operation-type': "mutation" | "query" | "graphql";
2176
+ schema: "default" | "flattened";
1576
2177
  exposeRefresh: boolean;
1577
2178
  'body-param'?: string | undefined;
1578
2179
  }, {
1579
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1580
- schema?: "default" | "flattened" | undefined;
1581
2180
  bindings?: {
1582
2181
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
1583
2182
  identifier?: string | undefined;
1584
2183
  }[] | undefined;
2184
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2185
+ schema?: "default" | "flattened" | undefined;
1585
2186
  exposeRefresh?: boolean | undefined;
1586
2187
  'body-param'?: string | undefined;
1587
2188
  } | undefined>, {
1588
- 'operation-type': "mutation" | "query" | "graphql";
1589
- schema: "default" | "flattened";
1590
2189
  bindings: {
1591
2190
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1592
2191
  identifier: string;
1593
2192
  }[];
2193
+ 'operation-type': "mutation" | "query" | "graphql";
2194
+ schema: "default" | "flattened";
1594
2195
  exposeRefresh: boolean;
1595
2196
  'body-param'?: string | undefined;
1596
2197
  }, {
1597
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1598
- schema?: "default" | "flattened" | undefined;
1599
2198
  bindings?: {
1600
2199
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
1601
2200
  identifier?: string | undefined;
1602
2201
  }[] | undefined;
2202
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2203
+ schema?: "default" | "flattened" | undefined;
1603
2204
  exposeRefresh?: boolean | undefined;
1604
2205
  'body-param'?: string | undefined;
1605
2206
  } | undefined>, {
1606
- 'operation-type': "mutation" | "query" | "graphql";
1607
- schema: "default" | "flattened";
1608
2207
  bindings: {
1609
2208
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1610
2209
  identifier: string;
1611
2210
  }[];
2211
+ 'operation-type': "mutation" | "query" | "graphql";
2212
+ schema: "default" | "flattened";
1612
2213
  exposeRefresh: boolean;
1613
2214
  'body-param'?: string | undefined;
1614
2215
  }, {
1615
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1616
- schema?: "default" | "flattened" | undefined;
1617
2216
  bindings?: {
1618
2217
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
1619
2218
  identifier?: string | undefined;
1620
2219
  }[] | undefined;
2220
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2221
+ schema?: "default" | "flattened" | undefined;
1621
2222
  exposeRefresh?: boolean | undefined;
1622
2223
  'body-param'?: string | undefined;
1623
2224
  } | undefined>, {
1624
- 'operation-type': "mutation" | "query" | "graphql";
1625
- schema: "default" | "flattened";
1626
2225
  bindings: {
1627
2226
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1628
2227
  identifier: string;
1629
2228
  }[];
2229
+ 'operation-type': "mutation" | "query" | "graphql";
2230
+ schema: "default" | "flattened";
1630
2231
  exposeRefresh: boolean;
1631
2232
  'body-param'?: string | undefined;
1632
2233
  }, {
1633
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1634
- schema?: "default" | "flattened" | undefined;
1635
2234
  bindings?: {
1636
2235
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
1637
2236
  identifier?: string | undefined;
1638
2237
  }[] | undefined;
2238
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2239
+ schema?: "default" | "flattened" | undefined;
1639
2240
  exposeRefresh?: boolean | undefined;
1640
2241
  'body-param'?: string | undefined;
1641
2242
  } | undefined>, {
1642
- 'operation-type': "mutation" | "query" | "graphql";
1643
- schema: "default" | "flattened";
1644
2243
  bindings: {
1645
2244
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1646
2245
  identifier: string;
1647
2246
  }[];
2247
+ 'operation-type': "mutation" | "query" | "graphql";
2248
+ schema: "default" | "flattened";
1648
2249
  exposeRefresh: boolean;
1649
2250
  'body-param'?: string | undefined;
1650
2251
  }, {
1651
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1652
- schema?: "default" | "flattened" | undefined;
1653
2252
  bindings?: {
1654
2253
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
1655
2254
  identifier?: string | undefined;
1656
2255
  }[] | undefined;
2256
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2257
+ schema?: "default" | "flattened" | undefined;
1657
2258
  exposeRefresh?: boolean | undefined;
1658
2259
  'body-param'?: string | undefined;
1659
2260
  } | undefined>;
@@ -1790,12 +2391,12 @@ export declare class OperationSchemaBuilder {
1790
2391
  }>]>>>;
1791
2392
  }, "strict", z.ZodTypeAny, {
1792
2393
  config: {
1793
- 'operation-type': "mutation" | "query" | "graphql";
1794
- schema: "default" | "flattened";
1795
2394
  bindings: {
1796
2395
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1797
2396
  identifier: string;
1798
2397
  }[];
2398
+ 'operation-type': "mutation" | "query" | "graphql";
2399
+ schema: "default" | "flattened";
1799
2400
  exposeRefresh: boolean;
1800
2401
  'body-param'?: string | undefined;
1801
2402
  };
@@ -1839,12 +2440,12 @@ export declare class OperationSchemaBuilder {
1839
2440
  optional?: boolean | undefined;
1840
2441
  }> | undefined;
1841
2442
  config?: {
1842
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1843
- schema?: "default" | "flattened" | undefined;
1844
2443
  bindings?: {
1845
2444
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
1846
2445
  identifier?: string | undefined;
1847
2446
  }[] | undefined;
2447
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2448
+ schema?: "default" | "flattened" | undefined;
1848
2449
  exposeRefresh?: boolean | undefined;
1849
2450
  'body-param'?: string | undefined;
1850
2451
  } | undefined;
@@ -1856,12 +2457,12 @@ export declare class OperationSchemaBuilder {
1856
2457
  } | undefined;
1857
2458
  }>>, {
1858
2459
  config: {
1859
- 'operation-type': "mutation" | "query" | "graphql";
1860
- schema: "default" | "flattened";
1861
2460
  bindings: {
1862
2461
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1863
2462
  identifier: string;
1864
2463
  }[];
2464
+ 'operation-type': "mutation" | "query" | "graphql";
2465
+ schema: "default" | "flattened";
1865
2466
  exposeRefresh: boolean;
1866
2467
  'body-param'?: string | undefined;
1867
2468
  };
@@ -1905,12 +2506,12 @@ export declare class OperationSchemaBuilder {
1905
2506
  optional?: boolean | undefined;
1906
2507
  }> | undefined;
1907
2508
  config?: {
1908
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1909
- schema?: "default" | "flattened" | undefined;
1910
2509
  bindings?: {
1911
2510
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
1912
2511
  identifier?: string | undefined;
1913
2512
  }[] | undefined;
2513
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2514
+ schema?: "default" | "flattened" | undefined;
1914
2515
  exposeRefresh?: boolean | undefined;
1915
2516
  'body-param'?: string | undefined;
1916
2517
  } | undefined;
@@ -1922,12 +2523,12 @@ export declare class OperationSchemaBuilder {
1922
2523
  } | undefined;
1923
2524
  } | undefined>, {
1924
2525
  config: {
1925
- 'operation-type': "mutation" | "query" | "graphql";
1926
- schema: "default" | "flattened";
1927
2526
  bindings: {
1928
2527
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1929
2528
  identifier: string;
1930
2529
  }[];
2530
+ 'operation-type': "mutation" | "query" | "graphql";
2531
+ schema: "default" | "flattened";
1931
2532
  exposeRefresh: boolean;
1932
2533
  'body-param'?: string | undefined;
1933
2534
  };
@@ -1971,12 +2572,12 @@ export declare class OperationSchemaBuilder {
1971
2572
  optional?: boolean | undefined;
1972
2573
  }> | undefined;
1973
2574
  config?: {
1974
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
1975
- schema?: "default" | "flattened" | undefined;
1976
2575
  bindings?: {
1977
2576
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
1978
2577
  identifier?: string | undefined;
1979
2578
  }[] | undefined;
2579
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2580
+ schema?: "default" | "flattened" | undefined;
1980
2581
  exposeRefresh?: boolean | undefined;
1981
2582
  'body-param'?: string | undefined;
1982
2583
  } | undefined;
@@ -1988,12 +2589,12 @@ export declare class OperationSchemaBuilder {
1988
2589
  } | undefined;
1989
2590
  } | undefined>, {
1990
2591
  config: {
1991
- 'operation-type': "mutation" | "query" | "graphql";
1992
- schema: "default" | "flattened";
1993
2592
  bindings: {
1994
2593
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
1995
2594
  identifier: string;
1996
2595
  }[];
2596
+ 'operation-type': "mutation" | "query" | "graphql";
2597
+ schema: "default" | "flattened";
1997
2598
  exposeRefresh: boolean;
1998
2599
  'body-param'?: string | undefined;
1999
2600
  };
@@ -2037,12 +2638,12 @@ export declare class OperationSchemaBuilder {
2037
2638
  optional?: boolean | undefined;
2038
2639
  }> | undefined;
2039
2640
  config?: {
2040
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2041
- schema?: "default" | "flattened" | undefined;
2042
2641
  bindings?: {
2043
2642
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
2044
2643
  identifier?: string | undefined;
2045
2644
  }[] | undefined;
2645
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2646
+ schema?: "default" | "flattened" | undefined;
2046
2647
  exposeRefresh?: boolean | undefined;
2047
2648
  'body-param'?: string | undefined;
2048
2649
  } | undefined;
@@ -2054,12 +2655,12 @@ export declare class OperationSchemaBuilder {
2054
2655
  } | undefined;
2055
2656
  } | undefined>, {
2056
2657
  config: {
2057
- 'operation-type': "mutation" | "query" | "graphql";
2058
- schema: "default" | "flattened";
2059
2658
  bindings: {
2060
2659
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
2061
2660
  identifier: string;
2062
2661
  }[];
2662
+ 'operation-type': "mutation" | "query" | "graphql";
2663
+ schema: "default" | "flattened";
2063
2664
  exposeRefresh: boolean;
2064
2665
  'body-param'?: string | undefined;
2065
2666
  };
@@ -2103,12 +2704,12 @@ export declare class OperationSchemaBuilder {
2103
2704
  optional?: boolean | undefined;
2104
2705
  }> | undefined;
2105
2706
  config?: {
2106
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2107
- schema?: "default" | "flattened" | undefined;
2108
2707
  bindings?: {
2109
2708
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
2110
2709
  identifier?: string | undefined;
2111
2710
  }[] | undefined;
2711
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2712
+ schema?: "default" | "flattened" | undefined;
2112
2713
  exposeRefresh?: boolean | undefined;
2113
2714
  'body-param'?: string | undefined;
2114
2715
  } | undefined;
@@ -2122,12 +2723,12 @@ export declare class OperationSchemaBuilder {
2122
2723
  }, "strip", z.ZodTypeAny, {
2123
2724
  onestore: {
2124
2725
  config: {
2125
- 'operation-type': "mutation" | "query" | "graphql";
2126
- schema: "default" | "flattened";
2127
2726
  bindings: {
2128
2727
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
2129
2728
  identifier: string;
2130
2729
  }[];
2730
+ 'operation-type': "mutation" | "query" | "graphql";
2731
+ schema: "default" | "flattened";
2131
2732
  exposeRefresh: boolean;
2132
2733
  'body-param'?: string | undefined;
2133
2734
  };
@@ -2173,12 +2774,12 @@ export declare class OperationSchemaBuilder {
2173
2774
  optional?: boolean | undefined;
2174
2775
  }> | undefined;
2175
2776
  config?: {
2176
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2177
- schema?: "default" | "flattened" | undefined;
2178
2777
  bindings?: {
2179
2778
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
2180
2779
  identifier?: string | undefined;
2181
2780
  }[] | undefined;
2781
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2782
+ schema?: "default" | "flattened" | undefined;
2182
2783
  exposeRefresh?: boolean | undefined;
2183
2784
  'body-param'?: string | undefined;
2184
2785
  } | undefined;
@@ -2256,165 +2857,165 @@ export declare class OperationSchemaBuilder {
2256
2857
  exposeRefresh: z.ZodDefault<z.ZodBoolean>;
2257
2858
  'body-param': z.ZodOptional<z.ZodString>;
2258
2859
  }, "strip", z.ZodTypeAny, {
2259
- 'operation-type': "mutation" | "query" | "graphql";
2260
- schema: "default" | "flattened";
2261
2860
  bindings: {
2262
2861
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
2263
2862
  identifier: string;
2264
2863
  }[];
2864
+ 'operation-type': "mutation" | "query" | "graphql";
2865
+ schema: "default" | "flattened";
2265
2866
  exposeRefresh: boolean;
2266
2867
  'body-param'?: string | undefined;
2267
2868
  }, {
2268
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2269
- schema?: "default" | "flattened" | undefined;
2270
2869
  bindings?: {
2271
2870
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
2272
2871
  identifier?: string | undefined;
2273
2872
  }[] | undefined;
2873
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2874
+ schema?: "default" | "flattened" | undefined;
2274
2875
  exposeRefresh?: boolean | undefined;
2275
2876
  'body-param'?: string | undefined;
2276
2877
  }>>, {
2277
- 'operation-type': "mutation" | "query" | "graphql";
2278
- schema: "default" | "flattened";
2279
2878
  bindings: {
2280
2879
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
2281
2880
  identifier: string;
2282
2881
  }[];
2882
+ 'operation-type': "mutation" | "query" | "graphql";
2883
+ schema: "default" | "flattened";
2283
2884
  exposeRefresh: boolean;
2284
2885
  'body-param'?: string | undefined;
2285
2886
  }, {
2286
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2287
- schema?: "default" | "flattened" | undefined;
2288
2887
  bindings?: {
2289
2888
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
2290
2889
  identifier?: string | undefined;
2291
2890
  }[] | undefined;
2891
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2892
+ schema?: "default" | "flattened" | undefined;
2292
2893
  exposeRefresh?: boolean | undefined;
2293
2894
  'body-param'?: string | undefined;
2294
2895
  } | undefined>, {
2295
- 'operation-type': "mutation" | "query" | "graphql";
2296
- schema: "default" | "flattened";
2297
2896
  bindings: {
2298
2897
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
2299
2898
  identifier: string;
2300
2899
  }[];
2900
+ 'operation-type': "mutation" | "query" | "graphql";
2901
+ schema: "default" | "flattened";
2301
2902
  exposeRefresh: boolean;
2302
2903
  'body-param'?: string | undefined;
2303
2904
  }, {
2304
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2305
- schema?: "default" | "flattened" | undefined;
2306
2905
  bindings?: {
2307
2906
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
2308
2907
  identifier?: string | undefined;
2309
2908
  }[] | undefined;
2909
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2910
+ schema?: "default" | "flattened" | undefined;
2310
2911
  exposeRefresh?: boolean | undefined;
2311
2912
  'body-param'?: string | undefined;
2312
2913
  } | undefined>, {
2313
- 'operation-type': "mutation" | "query" | "graphql";
2314
- schema: "default" | "flattened";
2315
2914
  bindings: {
2316
2915
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
2317
2916
  identifier: string;
2318
2917
  }[];
2918
+ 'operation-type': "mutation" | "query" | "graphql";
2919
+ schema: "default" | "flattened";
2319
2920
  exposeRefresh: boolean;
2320
2921
  'body-param'?: string | undefined;
2321
2922
  }, {
2322
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2323
- schema?: "default" | "flattened" | undefined;
2324
2923
  bindings?: {
2325
2924
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
2326
2925
  identifier?: string | undefined;
2327
2926
  }[] | undefined;
2927
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2928
+ schema?: "default" | "flattened" | undefined;
2328
2929
  exposeRefresh?: boolean | undefined;
2329
2930
  'body-param'?: string | undefined;
2330
2931
  } | undefined>, {
2331
- 'operation-type': "mutation" | "query" | "graphql";
2332
- schema: "default" | "flattened";
2333
2932
  bindings: {
2334
2933
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
2335
2934
  identifier: string;
2336
2935
  }[];
2936
+ 'operation-type': "mutation" | "query" | "graphql";
2937
+ schema: "default" | "flattened";
2337
2938
  exposeRefresh: boolean;
2338
2939
  'body-param'?: string | undefined;
2339
2940
  }, {
2340
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2341
- schema?: "default" | "flattened" | undefined;
2342
2941
  bindings?: {
2343
2942
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
2344
2943
  identifier?: string | undefined;
2345
2944
  }[] | undefined;
2945
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2946
+ schema?: "default" | "flattened" | undefined;
2346
2947
  exposeRefresh?: boolean | undefined;
2347
2948
  'body-param'?: string | undefined;
2348
2949
  } | undefined>, {
2349
- 'operation-type': "mutation" | "query" | "graphql";
2350
- schema: "default" | "flattened";
2351
2950
  bindings: {
2352
2951
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
2353
2952
  identifier: string;
2354
2953
  }[];
2954
+ 'operation-type': "mutation" | "query" | "graphql";
2955
+ schema: "default" | "flattened";
2355
2956
  exposeRefresh: boolean;
2356
2957
  'body-param'?: string | undefined;
2357
2958
  }, {
2358
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2359
- schema?: "default" | "flattened" | undefined;
2360
2959
  bindings?: {
2361
2960
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
2362
2961
  identifier?: string | undefined;
2363
2962
  }[] | undefined;
2963
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2964
+ schema?: "default" | "flattened" | undefined;
2364
2965
  exposeRefresh?: boolean | undefined;
2365
2966
  'body-param'?: string | undefined;
2366
2967
  } | undefined>, {
2367
- 'operation-type': "mutation" | "query" | "graphql";
2368
- schema: "default" | "flattened";
2369
2968
  bindings: {
2370
2969
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
2371
2970
  identifier: string;
2372
2971
  }[];
2972
+ 'operation-type': "mutation" | "query" | "graphql";
2973
+ schema: "default" | "flattened";
2373
2974
  exposeRefresh: boolean;
2374
2975
  'body-param'?: string | undefined;
2375
2976
  }, {
2376
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2377
- schema?: "default" | "flattened" | undefined;
2378
2977
  bindings?: {
2379
2978
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
2380
2979
  identifier?: string | undefined;
2381
2980
  }[] | undefined;
2981
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2982
+ schema?: "default" | "flattened" | undefined;
2382
2983
  exposeRefresh?: boolean | undefined;
2383
2984
  'body-param'?: string | undefined;
2384
2985
  } | undefined>, {
2385
- 'operation-type': "mutation" | "query" | "graphql";
2386
- schema: "default" | "flattened";
2387
2986
  bindings: {
2388
2987
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
2389
2988
  identifier: string;
2390
2989
  }[];
2990
+ 'operation-type': "mutation" | "query" | "graphql";
2991
+ schema: "default" | "flattened";
2391
2992
  exposeRefresh: boolean;
2392
2993
  'body-param'?: string | undefined;
2393
2994
  }, {
2394
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2395
- schema?: "default" | "flattened" | undefined;
2396
2995
  bindings?: {
2397
2996
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
2398
2997
  identifier?: string | undefined;
2399
2998
  }[] | undefined;
2999
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3000
+ schema?: "default" | "flattened" | undefined;
2400
3001
  exposeRefresh?: boolean | undefined;
2401
3002
  'body-param'?: string | undefined;
2402
3003
  } | undefined>, {
2403
- 'operation-type': "mutation" | "query" | "graphql";
2404
- schema: "default" | "flattened";
2405
3004
  bindings: {
2406
3005
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
2407
3006
  identifier: string;
2408
3007
  }[];
3008
+ 'operation-type': "mutation" | "query" | "graphql";
3009
+ schema: "default" | "flattened";
2409
3010
  exposeRefresh: boolean;
2410
3011
  'body-param'?: string | undefined;
2411
3012
  }, {
2412
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2413
- schema?: "default" | "flattened" | undefined;
2414
3013
  bindings?: {
2415
3014
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
2416
3015
  identifier?: string | undefined;
2417
3016
  }[] | undefined;
3017
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3018
+ schema?: "default" | "flattened" | undefined;
2418
3019
  exposeRefresh?: boolean | undefined;
2419
3020
  'body-param'?: string | undefined;
2420
3021
  } | undefined>;
@@ -2551,12 +3152,12 @@ export declare class OperationSchemaBuilder {
2551
3152
  }>]>>>;
2552
3153
  }, "strict", z.ZodTypeAny, {
2553
3154
  config: {
2554
- 'operation-type': "mutation" | "query" | "graphql";
2555
- schema: "default" | "flattened";
2556
3155
  bindings: {
2557
3156
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
2558
3157
  identifier: string;
2559
3158
  }[];
3159
+ 'operation-type': "mutation" | "query" | "graphql";
3160
+ schema: "default" | "flattened";
2560
3161
  exposeRefresh: boolean;
2561
3162
  'body-param'?: string | undefined;
2562
3163
  };
@@ -2600,12 +3201,12 @@ export declare class OperationSchemaBuilder {
2600
3201
  optional?: boolean | undefined;
2601
3202
  }> | undefined;
2602
3203
  config?: {
2603
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2604
- schema?: "default" | "flattened" | undefined;
2605
3204
  bindings?: {
2606
3205
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
2607
3206
  identifier?: string | undefined;
2608
3207
  }[] | undefined;
3208
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3209
+ schema?: "default" | "flattened" | undefined;
2609
3210
  exposeRefresh?: boolean | undefined;
2610
3211
  'body-param'?: string | undefined;
2611
3212
  } | undefined;
@@ -2617,12 +3218,12 @@ export declare class OperationSchemaBuilder {
2617
3218
  } | undefined;
2618
3219
  }>>, {
2619
3220
  config: {
2620
- 'operation-type': "mutation" | "query" | "graphql";
2621
- schema: "default" | "flattened";
2622
3221
  bindings: {
2623
3222
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
2624
3223
  identifier: string;
2625
3224
  }[];
3225
+ 'operation-type': "mutation" | "query" | "graphql";
3226
+ schema: "default" | "flattened";
2626
3227
  exposeRefresh: boolean;
2627
3228
  'body-param'?: string | undefined;
2628
3229
  };
@@ -2666,12 +3267,12 @@ export declare class OperationSchemaBuilder {
2666
3267
  optional?: boolean | undefined;
2667
3268
  }> | undefined;
2668
3269
  config?: {
2669
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2670
- schema?: "default" | "flattened" | undefined;
2671
3270
  bindings?: {
2672
3271
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
2673
3272
  identifier?: string | undefined;
2674
3273
  }[] | undefined;
3274
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3275
+ schema?: "default" | "flattened" | undefined;
2675
3276
  exposeRefresh?: boolean | undefined;
2676
3277
  'body-param'?: string | undefined;
2677
3278
  } | undefined;
@@ -2683,12 +3284,12 @@ export declare class OperationSchemaBuilder {
2683
3284
  } | undefined;
2684
3285
  } | undefined>, {
2685
3286
  config: {
2686
- 'operation-type': "mutation" | "query" | "graphql";
2687
- schema: "default" | "flattened";
2688
3287
  bindings: {
2689
3288
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
2690
3289
  identifier: string;
2691
3290
  }[];
3291
+ 'operation-type': "mutation" | "query" | "graphql";
3292
+ schema: "default" | "flattened";
2692
3293
  exposeRefresh: boolean;
2693
3294
  'body-param'?: string | undefined;
2694
3295
  };
@@ -2732,12 +3333,12 @@ export declare class OperationSchemaBuilder {
2732
3333
  optional?: boolean | undefined;
2733
3334
  }> | undefined;
2734
3335
  config?: {
2735
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2736
- schema?: "default" | "flattened" | undefined;
2737
3336
  bindings?: {
2738
3337
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
2739
3338
  identifier?: string | undefined;
2740
3339
  }[] | undefined;
3340
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3341
+ schema?: "default" | "flattened" | undefined;
2741
3342
  exposeRefresh?: boolean | undefined;
2742
3343
  'body-param'?: string | undefined;
2743
3344
  } | undefined;
@@ -2749,12 +3350,12 @@ export declare class OperationSchemaBuilder {
2749
3350
  } | undefined;
2750
3351
  } | undefined>, {
2751
3352
  config: {
2752
- 'operation-type': "mutation" | "query" | "graphql";
2753
- schema: "default" | "flattened";
2754
3353
  bindings: {
2755
3354
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
2756
3355
  identifier: string;
2757
3356
  }[];
3357
+ 'operation-type': "mutation" | "query" | "graphql";
3358
+ schema: "default" | "flattened";
2758
3359
  exposeRefresh: boolean;
2759
3360
  'body-param'?: string | undefined;
2760
3361
  };
@@ -2798,12 +3399,12 @@ export declare class OperationSchemaBuilder {
2798
3399
  optional?: boolean | undefined;
2799
3400
  }> | undefined;
2800
3401
  config?: {
2801
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2802
- schema?: "default" | "flattened" | undefined;
2803
3402
  bindings?: {
2804
3403
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
2805
3404
  identifier?: string | undefined;
2806
3405
  }[] | undefined;
3406
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3407
+ schema?: "default" | "flattened" | undefined;
2807
3408
  exposeRefresh?: boolean | undefined;
2808
3409
  'body-param'?: string | undefined;
2809
3410
  } | undefined;
@@ -2815,12 +3416,12 @@ export declare class OperationSchemaBuilder {
2815
3416
  } | undefined;
2816
3417
  } | undefined>, {
2817
3418
  config: {
2818
- 'operation-type': "mutation" | "query" | "graphql";
2819
- schema: "default" | "flattened";
2820
3419
  bindings: {
2821
3420
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
2822
3421
  identifier: string;
2823
3422
  }[];
3423
+ 'operation-type': "mutation" | "query" | "graphql";
3424
+ schema: "default" | "flattened";
2824
3425
  exposeRefresh: boolean;
2825
3426
  'body-param'?: string | undefined;
2826
3427
  };
@@ -2864,12 +3465,12 @@ export declare class OperationSchemaBuilder {
2864
3465
  optional?: boolean | undefined;
2865
3466
  }> | undefined;
2866
3467
  config?: {
2867
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2868
- schema?: "default" | "flattened" | undefined;
2869
3468
  bindings?: {
2870
3469
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
2871
3470
  identifier?: string | undefined;
2872
3471
  }[] | undefined;
3472
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3473
+ schema?: "default" | "flattened" | undefined;
2873
3474
  exposeRefresh?: boolean | undefined;
2874
3475
  'body-param'?: string | undefined;
2875
3476
  } | undefined;
@@ -2883,12 +3484,12 @@ export declare class OperationSchemaBuilder {
2883
3484
  }, "strip", z.ZodTypeAny, {
2884
3485
  onestore: {
2885
3486
  config: {
2886
- 'operation-type': "mutation" | "query" | "graphql";
2887
- schema: "default" | "flattened";
2888
3487
  bindings: {
2889
3488
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
2890
3489
  identifier: string;
2891
3490
  }[];
3491
+ 'operation-type': "mutation" | "query" | "graphql";
3492
+ schema: "default" | "flattened";
2892
3493
  exposeRefresh: boolean;
2893
3494
  'body-param'?: string | undefined;
2894
3495
  };
@@ -2934,12 +3535,12 @@ export declare class OperationSchemaBuilder {
2934
3535
  optional?: boolean | undefined;
2935
3536
  }> | undefined;
2936
3537
  config?: {
2937
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
2938
- schema?: "default" | "flattened" | undefined;
2939
3538
  bindings?: {
2940
3539
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
2941
3540
  identifier?: string | undefined;
2942
3541
  }[] | undefined;
3542
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3543
+ schema?: "default" | "flattened" | undefined;
2943
3544
  exposeRefresh?: boolean | undefined;
2944
3545
  'body-param'?: string | undefined;
2945
3546
  } | undefined;
@@ -3049,12 +3650,12 @@ export declare class OperationSchemaBuilder {
3049
3650
  }>>, ({
3050
3651
  onestore: {
3051
3652
  config: {
3052
- 'operation-type': "mutation" | "query" | "graphql";
3053
- schema: "default" | "flattened";
3054
3653
  bindings: {
3055
3654
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
3056
3655
  identifier: string;
3057
3656
  }[];
3657
+ 'operation-type': "mutation" | "query" | "graphql";
3658
+ schema: "default" | "flattened";
3058
3659
  exposeRefresh: boolean;
3059
3660
  'body-param'?: string | undefined;
3060
3661
  };
@@ -3114,12 +3715,12 @@ export declare class OperationSchemaBuilder {
3114
3715
  'body-param': string | undefined;
3115
3716
  method: string;
3116
3717
  };
3117
- 'operation-type': "mutation" | "query" | "graphql";
3118
- schema: "default" | "flattened";
3119
3718
  bindings: {
3120
3719
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
3121
3720
  identifier: string;
3122
3721
  }[];
3722
+ 'operation-type': "mutation" | "query" | "graphql";
3723
+ schema: "default" | "flattened";
3123
3724
  exposeRefresh: boolean;
3124
3725
  };
3125
3726
  };
@@ -3133,12 +3734,12 @@ export declare class OperationSchemaBuilder {
3133
3734
  optional?: boolean | undefined;
3134
3735
  }> | undefined;
3135
3736
  config?: {
3136
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3137
- schema?: "default" | "flattened" | undefined;
3138
3737
  bindings?: {
3139
3738
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
3140
3739
  identifier?: string | undefined;
3141
3740
  }[] | undefined;
3741
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3742
+ schema?: "default" | "flattened" | undefined;
3142
3743
  exposeRefresh?: boolean | undefined;
3143
3744
  'body-param'?: string | undefined;
3144
3745
  } | undefined;
@@ -3184,165 +3785,165 @@ export declare class OperationSchemaBuilder {
3184
3785
  exposeRefresh: z.ZodDefault<z.ZodBoolean>;
3185
3786
  'body-param': z.ZodOptional<z.ZodString>;
3186
3787
  }, "strip", z.ZodTypeAny, {
3187
- 'operation-type': "mutation" | "query" | "graphql";
3188
- schema: "default" | "flattened";
3189
3788
  bindings: {
3190
3789
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
3191
3790
  identifier: string;
3192
3791
  }[];
3792
+ 'operation-type': "mutation" | "query" | "graphql";
3793
+ schema: "default" | "flattened";
3193
3794
  exposeRefresh: boolean;
3194
3795
  'body-param'?: string | undefined;
3195
3796
  }, {
3196
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3197
- schema?: "default" | "flattened" | undefined;
3198
3797
  bindings?: {
3199
3798
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
3200
3799
  identifier?: string | undefined;
3201
3800
  }[] | undefined;
3801
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3802
+ schema?: "default" | "flattened" | undefined;
3202
3803
  exposeRefresh?: boolean | undefined;
3203
3804
  'body-param'?: string | undefined;
3204
3805
  }>>, {
3205
- 'operation-type': "mutation" | "query" | "graphql";
3206
- schema: "default" | "flattened";
3207
3806
  bindings: {
3208
3807
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
3209
3808
  identifier: string;
3210
3809
  }[];
3810
+ 'operation-type': "mutation" | "query" | "graphql";
3811
+ schema: "default" | "flattened";
3211
3812
  exposeRefresh: boolean;
3212
3813
  'body-param'?: string | undefined;
3213
3814
  }, {
3214
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3215
- schema?: "default" | "flattened" | undefined;
3216
3815
  bindings?: {
3217
3816
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
3218
3817
  identifier?: string | undefined;
3219
3818
  }[] | undefined;
3819
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3820
+ schema?: "default" | "flattened" | undefined;
3220
3821
  exposeRefresh?: boolean | undefined;
3221
3822
  'body-param'?: string | undefined;
3222
3823
  } | undefined>, {
3223
- 'operation-type': "mutation" | "query" | "graphql";
3224
- schema: "default" | "flattened";
3225
3824
  bindings: {
3226
3825
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
3227
3826
  identifier: string;
3228
3827
  }[];
3828
+ 'operation-type': "mutation" | "query" | "graphql";
3829
+ schema: "default" | "flattened";
3229
3830
  exposeRefresh: boolean;
3230
3831
  'body-param'?: string | undefined;
3231
3832
  }, {
3232
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3233
- schema?: "default" | "flattened" | undefined;
3234
3833
  bindings?: {
3235
3834
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
3236
3835
  identifier?: string | undefined;
3237
3836
  }[] | undefined;
3837
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3838
+ schema?: "default" | "flattened" | undefined;
3238
3839
  exposeRefresh?: boolean | undefined;
3239
3840
  'body-param'?: string | undefined;
3240
3841
  } | undefined>, {
3241
- 'operation-type': "mutation" | "query" | "graphql";
3242
- schema: "default" | "flattened";
3243
3842
  bindings: {
3244
3843
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
3245
3844
  identifier: string;
3246
3845
  }[];
3846
+ 'operation-type': "mutation" | "query" | "graphql";
3847
+ schema: "default" | "flattened";
3247
3848
  exposeRefresh: boolean;
3248
3849
  'body-param'?: string | undefined;
3249
3850
  }, {
3250
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3251
- schema?: "default" | "flattened" | undefined;
3252
3851
  bindings?: {
3253
3852
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
3254
3853
  identifier?: string | undefined;
3255
3854
  }[] | undefined;
3855
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3856
+ schema?: "default" | "flattened" | undefined;
3256
3857
  exposeRefresh?: boolean | undefined;
3257
3858
  'body-param'?: string | undefined;
3258
3859
  } | undefined>, {
3259
- 'operation-type': "mutation" | "query" | "graphql";
3260
- schema: "default" | "flattened";
3261
3860
  bindings: {
3262
3861
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
3263
3862
  identifier: string;
3264
3863
  }[];
3864
+ 'operation-type': "mutation" | "query" | "graphql";
3865
+ schema: "default" | "flattened";
3265
3866
  exposeRefresh: boolean;
3266
3867
  'body-param'?: string | undefined;
3267
3868
  }, {
3268
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3269
- schema?: "default" | "flattened" | undefined;
3270
3869
  bindings?: {
3271
3870
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
3272
3871
  identifier?: string | undefined;
3273
3872
  }[] | undefined;
3873
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3874
+ schema?: "default" | "flattened" | undefined;
3274
3875
  exposeRefresh?: boolean | undefined;
3275
3876
  'body-param'?: string | undefined;
3276
3877
  } | undefined>, {
3277
- 'operation-type': "mutation" | "query" | "graphql";
3278
- schema: "default" | "flattened";
3279
3878
  bindings: {
3280
3879
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
3281
3880
  identifier: string;
3282
3881
  }[];
3882
+ 'operation-type': "mutation" | "query" | "graphql";
3883
+ schema: "default" | "flattened";
3283
3884
  exposeRefresh: boolean;
3284
3885
  'body-param'?: string | undefined;
3285
3886
  }, {
3286
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3287
- schema?: "default" | "flattened" | undefined;
3288
3887
  bindings?: {
3289
3888
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
3290
3889
  identifier?: string | undefined;
3291
3890
  }[] | undefined;
3891
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3892
+ schema?: "default" | "flattened" | undefined;
3292
3893
  exposeRefresh?: boolean | undefined;
3293
3894
  'body-param'?: string | undefined;
3294
3895
  } | undefined>, {
3295
- 'operation-type': "mutation" | "query" | "graphql";
3296
- schema: "default" | "flattened";
3297
3896
  bindings: {
3298
3897
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
3299
3898
  identifier: string;
3300
3899
  }[];
3900
+ 'operation-type': "mutation" | "query" | "graphql";
3901
+ schema: "default" | "flattened";
3301
3902
  exposeRefresh: boolean;
3302
3903
  'body-param'?: string | undefined;
3303
3904
  }, {
3304
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3305
- schema?: "default" | "flattened" | undefined;
3306
3905
  bindings?: {
3307
3906
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
3308
3907
  identifier?: string | undefined;
3309
3908
  }[] | undefined;
3909
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3910
+ schema?: "default" | "flattened" | undefined;
3310
3911
  exposeRefresh?: boolean | undefined;
3311
3912
  'body-param'?: string | undefined;
3312
3913
  } | undefined>, {
3313
- 'operation-type': "mutation" | "query" | "graphql";
3314
- schema: "default" | "flattened";
3315
3914
  bindings: {
3316
3915
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
3317
3916
  identifier: string;
3318
3917
  }[];
3918
+ 'operation-type': "mutation" | "query" | "graphql";
3919
+ schema: "default" | "flattened";
3319
3920
  exposeRefresh: boolean;
3320
3921
  'body-param'?: string | undefined;
3321
3922
  }, {
3322
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3323
- schema?: "default" | "flattened" | undefined;
3324
3923
  bindings?: {
3325
3924
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
3326
3925
  identifier?: string | undefined;
3327
3926
  }[] | undefined;
3927
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3928
+ schema?: "default" | "flattened" | undefined;
3328
3929
  exposeRefresh?: boolean | undefined;
3329
3930
  'body-param'?: string | undefined;
3330
3931
  } | undefined>, {
3331
- 'operation-type': "mutation" | "query" | "graphql";
3332
- schema: "default" | "flattened";
3333
3932
  bindings: {
3334
3933
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
3335
3934
  identifier: string;
3336
3935
  }[];
3936
+ 'operation-type': "mutation" | "query" | "graphql";
3937
+ schema: "default" | "flattened";
3337
3938
  exposeRefresh: boolean;
3338
3939
  'body-param'?: string | undefined;
3339
3940
  }, {
3340
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3341
- schema?: "default" | "flattened" | undefined;
3342
3941
  bindings?: {
3343
3942
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
3344
3943
  identifier?: string | undefined;
3345
3944
  }[] | undefined;
3945
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3946
+ schema?: "default" | "flattened" | undefined;
3346
3947
  exposeRefresh?: boolean | undefined;
3347
3948
  'body-param'?: string | undefined;
3348
3949
  } | undefined>;
@@ -3479,12 +4080,12 @@ export declare class OperationSchemaBuilder {
3479
4080
  }>]>>>;
3480
4081
  }, "strict", z.ZodTypeAny, {
3481
4082
  config: {
3482
- 'operation-type': "mutation" | "query" | "graphql";
3483
- schema: "default" | "flattened";
3484
4083
  bindings: {
3485
4084
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
3486
4085
  identifier: string;
3487
4086
  }[];
4087
+ 'operation-type': "mutation" | "query" | "graphql";
4088
+ schema: "default" | "flattened";
3488
4089
  exposeRefresh: boolean;
3489
4090
  'body-param'?: string | undefined;
3490
4091
  };
@@ -3528,12 +4129,12 @@ export declare class OperationSchemaBuilder {
3528
4129
  optional?: boolean | undefined;
3529
4130
  }> | undefined;
3530
4131
  config?: {
3531
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3532
- schema?: "default" | "flattened" | undefined;
3533
4132
  bindings?: {
3534
4133
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
3535
4134
  identifier?: string | undefined;
3536
4135
  }[] | undefined;
4136
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
4137
+ schema?: "default" | "flattened" | undefined;
3537
4138
  exposeRefresh?: boolean | undefined;
3538
4139
  'body-param'?: string | undefined;
3539
4140
  } | undefined;
@@ -3545,12 +4146,12 @@ export declare class OperationSchemaBuilder {
3545
4146
  } | undefined;
3546
4147
  }>>, {
3547
4148
  config: {
3548
- 'operation-type': "mutation" | "query" | "graphql";
3549
- schema: "default" | "flattened";
3550
4149
  bindings: {
3551
4150
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
3552
4151
  identifier: string;
3553
4152
  }[];
4153
+ 'operation-type': "mutation" | "query" | "graphql";
4154
+ schema: "default" | "flattened";
3554
4155
  exposeRefresh: boolean;
3555
4156
  'body-param'?: string | undefined;
3556
4157
  };
@@ -3594,12 +4195,12 @@ export declare class OperationSchemaBuilder {
3594
4195
  optional?: boolean | undefined;
3595
4196
  }> | undefined;
3596
4197
  config?: {
3597
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3598
- schema?: "default" | "flattened" | undefined;
3599
4198
  bindings?: {
3600
4199
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
3601
4200
  identifier?: string | undefined;
3602
4201
  }[] | undefined;
4202
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
4203
+ schema?: "default" | "flattened" | undefined;
3603
4204
  exposeRefresh?: boolean | undefined;
3604
4205
  'body-param'?: string | undefined;
3605
4206
  } | undefined;
@@ -3611,12 +4212,12 @@ export declare class OperationSchemaBuilder {
3611
4212
  } | undefined;
3612
4213
  } | undefined>, {
3613
4214
  config: {
3614
- 'operation-type': "mutation" | "query" | "graphql";
3615
- schema: "default" | "flattened";
3616
4215
  bindings: {
3617
4216
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
3618
4217
  identifier: string;
3619
4218
  }[];
4219
+ 'operation-type': "mutation" | "query" | "graphql";
4220
+ schema: "default" | "flattened";
3620
4221
  exposeRefresh: boolean;
3621
4222
  'body-param'?: string | undefined;
3622
4223
  };
@@ -3660,12 +4261,12 @@ export declare class OperationSchemaBuilder {
3660
4261
  optional?: boolean | undefined;
3661
4262
  }> | undefined;
3662
4263
  config?: {
3663
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3664
- schema?: "default" | "flattened" | undefined;
3665
4264
  bindings?: {
3666
4265
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
3667
4266
  identifier?: string | undefined;
3668
4267
  }[] | undefined;
4268
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
4269
+ schema?: "default" | "flattened" | undefined;
3669
4270
  exposeRefresh?: boolean | undefined;
3670
4271
  'body-param'?: string | undefined;
3671
4272
  } | undefined;
@@ -3677,12 +4278,12 @@ export declare class OperationSchemaBuilder {
3677
4278
  } | undefined;
3678
4279
  } | undefined>, {
3679
4280
  config: {
3680
- 'operation-type': "mutation" | "query" | "graphql";
3681
- schema: "default" | "flattened";
3682
4281
  bindings: {
3683
4282
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
3684
4283
  identifier: string;
3685
4284
  }[];
4285
+ 'operation-type': "mutation" | "query" | "graphql";
4286
+ schema: "default" | "flattened";
3686
4287
  exposeRefresh: boolean;
3687
4288
  'body-param'?: string | undefined;
3688
4289
  };
@@ -3726,12 +4327,12 @@ export declare class OperationSchemaBuilder {
3726
4327
  optional?: boolean | undefined;
3727
4328
  }> | undefined;
3728
4329
  config?: {
3729
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3730
- schema?: "default" | "flattened" | undefined;
3731
4330
  bindings?: {
3732
4331
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
3733
4332
  identifier?: string | undefined;
3734
4333
  }[] | undefined;
4334
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
4335
+ schema?: "default" | "flattened" | undefined;
3735
4336
  exposeRefresh?: boolean | undefined;
3736
4337
  'body-param'?: string | undefined;
3737
4338
  } | undefined;
@@ -3743,12 +4344,12 @@ export declare class OperationSchemaBuilder {
3743
4344
  } | undefined;
3744
4345
  } | undefined>, {
3745
4346
  config: {
3746
- 'operation-type': "mutation" | "query" | "graphql";
3747
- schema: "default" | "flattened";
3748
4347
  bindings: {
3749
4348
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
3750
4349
  identifier: string;
3751
4350
  }[];
4351
+ 'operation-type': "mutation" | "query" | "graphql";
4352
+ schema: "default" | "flattened";
3752
4353
  exposeRefresh: boolean;
3753
4354
  'body-param'?: string | undefined;
3754
4355
  };
@@ -3792,12 +4393,12 @@ export declare class OperationSchemaBuilder {
3792
4393
  optional?: boolean | undefined;
3793
4394
  }> | undefined;
3794
4395
  config?: {
3795
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3796
- schema?: "default" | "flattened" | undefined;
3797
4396
  bindings?: {
3798
4397
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
3799
4398
  identifier?: string | undefined;
3800
4399
  }[] | undefined;
4400
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
4401
+ schema?: "default" | "flattened" | undefined;
3801
4402
  exposeRefresh?: boolean | undefined;
3802
4403
  'body-param'?: string | undefined;
3803
4404
  } | undefined;
@@ -3811,12 +4412,12 @@ export declare class OperationSchemaBuilder {
3811
4412
  }, "strip", z.ZodTypeAny, {
3812
4413
  onestore: {
3813
4414
  config: {
3814
- 'operation-type': "mutation" | "query" | "graphql";
3815
- schema: "default" | "flattened";
3816
4415
  bindings: {
3817
4416
  type: "wire" | "imperative" | "imperative-legacy" | "mutation";
3818
4417
  identifier: string;
3819
4418
  }[];
4419
+ 'operation-type': "mutation" | "query" | "graphql";
4420
+ schema: "default" | "flattened";
3820
4421
  exposeRefresh: boolean;
3821
4422
  'body-param'?: string | undefined;
3822
4423
  };
@@ -3862,12 +4463,12 @@ export declare class OperationSchemaBuilder {
3862
4463
  optional?: boolean | undefined;
3863
4464
  }> | undefined;
3864
4465
  config?: {
3865
- 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
3866
- schema?: "default" | "flattened" | undefined;
3867
4466
  bindings?: {
3868
4467
  type?: "wire" | "imperative" | "imperative-legacy" | "mutation" | undefined;
3869
4468
  identifier?: string | undefined;
3870
4469
  }[] | undefined;
4470
+ 'operation-type'?: "mutation" | "query" | "graphql" | undefined;
4471
+ schema?: "default" | "flattened" | undefined;
3871
4472
  exposeRefresh?: boolean | undefined;
3872
4473
  'body-param'?: string | undefined;
3873
4474
  } | undefined;
@@ -4048,65 +4649,3 @@ export declare class OperationSchemaBuilder {
4048
4649
  };
4049
4650
  }>>;
4050
4651
  }
4051
- export declare abstract class AmfBaseOperation implements BaseOperation {
4052
- protected amfOperation: amf.Operation;
4053
- protected amfTypeFactory: AMFTypeFactory;
4054
- protected typeRegistry: TypeRegistry<AMFType>;
4055
- protected logger: LoggerService;
4056
- protected fileParserLogger: FileParserLogger;
4057
- endpoint: AmfEndPoint;
4058
- server: Server;
4059
- method: HttpMethod;
4060
- operationId: string | undefined;
4061
- requests: Request[];
4062
- responses: Response[];
4063
- operationType: OperationType;
4064
- configSchemaType: ConfigSchemaType;
4065
- errorStrategy: ErrorStrategy;
4066
- bindings: Binding[];
4067
- exposeRefresh: boolean;
4068
- protected parsedCacheStrategy: CacheStrategy;
4069
- protected operationSchemaBuilder: OperationSchemaBuilder;
4070
- defaults: API['defaults'];
4071
- serviceOverrides: ResolvedOperationServices;
4072
- position: {
4073
- line: number;
4074
- column: number;
4075
- };
4076
- basePath: string;
4077
- abstract readonly type: 'aura' | 'http';
4078
- constructor(amfOperation: amf.Operation, amfTypeFactory: AMFTypeFactory, typeRegistry: TypeRegistry<AMFType>, logger: LoggerService, fileParserLogger: FileParserLogger, endpoint: AmfEndPoint, server: Server);
4079
- get cacheStrategy(): CacheStrategy;
4080
- buildPayloads(r: amf.Request | amf.Response): Payload[];
4081
- getDefaultValue(param: amf.Parameter): any;
4082
- buildParams(p: amf.Parameter[]): Record<string, Parameter>;
4083
- }
4084
- export declare class AmfHttpOperation extends AmfBaseOperation implements BaseHttpOperation {
4085
- readonly type = "http";
4086
- }
4087
- export declare class AmfHttpOperationWithRequestBody extends AmfBaseOperation implements HttpOperationWithRequestBody {
4088
- readonly type = "http";
4089
- configBodyParam: string;
4090
- constructor(amfOperation: amf.Operation, amfTypeFactory: AMFTypeFactory, typeRegistry: TypeRegistry<AMFType>, logger: LoggerService, fileParserLogger: FileParserLogger, endpoint: AmfEndPoint, server: Server);
4091
- }
4092
- export declare class AmfAuraOperation extends AmfBaseOperation implements BaseAuraOperation {
4093
- readonly type = "aura";
4094
- method: HttpMethod;
4095
- aura: {
4096
- methodName: string;
4097
- };
4098
- constructor(amfOperation: amf.Operation, amfTypeFactory: AMFTypeFactory, typeRegistry: TypeRegistry<AMFType>, logger: LoggerService, fileParserLogger: FileParserLogger, endpoint: AmfEndPoint, server: Server);
4099
- }
4100
- export declare class AmfAuraOperationWithRequestBody extends AmfBaseOperation implements AuraOperationWithRequestBody {
4101
- readonly type = "aura";
4102
- method: HttpMethod;
4103
- configBodyParam: string;
4104
- aura: {
4105
- methodName: string;
4106
- bodyParam: string;
4107
- };
4108
- constructor(amfOperation: amf.Operation, amfTypeFactory: AMFTypeFactory, typeRegistry: TypeRegistry<AMFType>, logger: LoggerService, fileParserLogger: FileParserLogger, endpoint: AmfEndPoint, server: Server);
4109
- }
4110
- type AmfBaseOperationConstructor = new (...args: any[]) => AmfBaseOperation & BaseOperation;
4111
- export declare function AmfGraphQLOperationMixin<T extends AmfBaseOperationConstructor>(Base: T): T & (new (...args: any[]) => BaseGraphQLOperation);
4112
- export {};