@oxy.so/contracts 4.7.0 → 4.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.
- package/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/accountGraph.js +13 -5
- package/dist/cjs/accountSubject.js +189 -0
- package/dist/cjs/agency.js +56 -4
- package/dist/cjs/agentKeys.js +67 -0
- package/dist/cjs/capabilityBindings.js +72 -0
- package/dist/cjs/index.js +68 -13
- package/dist/cjs/inference/catalogue.js +5 -2
- package/dist/cjs/inference/economics.js +135 -0
- package/dist/cjs/inference/request.js +33 -1
- package/dist/cjs/inference/scopedExecution.js +87 -0
- package/dist/cjs/products/access.js +60 -0
- package/dist/cjs/products/billing.js +32 -0
- package/dist/cjs/signIn.js +1 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/accountGraph.js +13 -5
- package/dist/esm/accountSubject.js +182 -0
- package/dist/esm/agency.js +55 -3
- package/dist/esm/agentKeys.js +63 -0
- package/dist/esm/capabilityBindings.js +67 -0
- package/dist/esm/index.js +12 -1
- package/dist/esm/inference/catalogue.js +3 -0
- package/dist/esm/inference/economics.js +132 -0
- package/dist/esm/inference/request.js +32 -0
- package/dist/esm/inference/scopedExecution.js +83 -0
- package/dist/esm/products/access.js +57 -0
- package/dist/esm/products/billing.js +29 -0
- package/dist/esm/signIn.js +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/accountGraph.d.ts +23 -8
- package/dist/types/accountSubject.d.ts +210 -0
- package/dist/types/agency.d.ts +956 -190
- package/dist/types/agentKeys.d.ts +525 -0
- package/dist/types/capabilityBindings.d.ts +6 -0
- package/dist/types/deviceDirectory.d.ts +50 -50
- package/dist/types/deviceSession.d.ts +14 -14
- package/dist/types/externalIdentity.d.ts +4 -4
- package/dist/types/identity.d.ts +2 -2
- package/dist/types/index.d.ts +16 -2
- package/dist/types/inference/accountBilling.d.ts +30 -30
- package/dist/types/inference/aliaModelRelease.d.ts +4 -4
- package/dist/types/inference/catalogue.d.ts +200 -10
- package/dist/types/inference/economics.d.ts +376 -0
- package/dist/types/inference/entitlement.d.ts +47 -47
- package/dist/types/inference/inbox.d.ts +12 -12
- package/dist/types/inference/modelDocumentation.d.ts +8 -8
- package/dist/types/inference/priceVersion.d.ts +4 -4
- package/dist/types/inference/providerConnection.d.ts +38 -38
- package/dist/types/inference/realtime.d.ts +32 -32
- package/dist/types/inference/request.d.ts +2289 -16
- package/dist/types/inference/routingPolicy.d.ts +20 -20
- package/dist/types/inference/scopedExecution.d.ts +202 -0
- package/dist/types/inference/streamEvents.d.ts +4 -4
- package/dist/types/inference/usage.d.ts +12 -12
- package/dist/types/keyRotation.d.ts +2 -2
- package/dist/types/notifications.d.ts +4 -4
- package/dist/types/oauth.d.ts +30 -30
- package/dist/types/products/access.d.ts +487 -0
- package/dist/types/products/billing.d.ts +563 -0
- package/dist/types/recommendations.d.ts +2 -2
- package/dist/types/sessionStatus.d.ts +10 -10
- package/dist/types/signIn.d.ts +6 -6
- package/dist/types/transparency.d.ts +2 -2
- package/package.json +1 -1
|
@@ -705,7 +705,6 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
705
705
|
}>, "many">;
|
|
706
706
|
}, "strict", z.ZodTypeAny, {
|
|
707
707
|
schemaVersion: 1;
|
|
708
|
-
issuedAt: string;
|
|
709
708
|
revision: {
|
|
710
709
|
schemaVersion: 1;
|
|
711
710
|
revision: string;
|
|
@@ -730,6 +729,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
730
729
|
safetyCardUrl?: string | undefined;
|
|
731
730
|
} | undefined;
|
|
732
731
|
};
|
|
732
|
+
issuedAt: string;
|
|
733
733
|
signatures: {
|
|
734
734
|
signature: string;
|
|
735
735
|
signedAt: string;
|
|
@@ -759,7 +759,6 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
759
759
|
}[];
|
|
760
760
|
}, {
|
|
761
761
|
schemaVersion: 1;
|
|
762
|
-
issuedAt: string;
|
|
763
762
|
revision: {
|
|
764
763
|
schemaVersion: 1;
|
|
765
764
|
revision: string;
|
|
@@ -784,6 +783,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
784
783
|
knownLimitations?: string[] | undefined;
|
|
785
784
|
} | undefined;
|
|
786
785
|
};
|
|
786
|
+
issuedAt: string;
|
|
787
787
|
signatures: {
|
|
788
788
|
signature: string;
|
|
789
789
|
signedAt: string;
|
|
@@ -813,7 +813,6 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
813
813
|
}[];
|
|
814
814
|
}>, {
|
|
815
815
|
schemaVersion: 1;
|
|
816
|
-
issuedAt: string;
|
|
817
816
|
revision: {
|
|
818
817
|
schemaVersion: 1;
|
|
819
818
|
revision: string;
|
|
@@ -838,6 +837,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
838
837
|
safetyCardUrl?: string | undefined;
|
|
839
838
|
} | undefined;
|
|
840
839
|
};
|
|
840
|
+
issuedAt: string;
|
|
841
841
|
signatures: {
|
|
842
842
|
signature: string;
|
|
843
843
|
signedAt: string;
|
|
@@ -867,7 +867,6 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
867
867
|
}[];
|
|
868
868
|
}, {
|
|
869
869
|
schemaVersion: 1;
|
|
870
|
-
issuedAt: string;
|
|
871
870
|
revision: {
|
|
872
871
|
schemaVersion: 1;
|
|
873
872
|
revision: string;
|
|
@@ -892,6 +891,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
892
891
|
knownLimitations?: string[] | undefined;
|
|
893
892
|
} | undefined;
|
|
894
893
|
};
|
|
894
|
+
issuedAt: string;
|
|
895
895
|
signatures: {
|
|
896
896
|
signature: string;
|
|
897
897
|
signedAt: string;
|
|
@@ -1198,7 +1198,6 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
1198
1198
|
};
|
|
1199
1199
|
manifest: {
|
|
1200
1200
|
schemaVersion: 1;
|
|
1201
|
-
issuedAt: string;
|
|
1202
1201
|
revision: {
|
|
1203
1202
|
schemaVersion: 1;
|
|
1204
1203
|
revision: string;
|
|
@@ -1223,6 +1222,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
1223
1222
|
safetyCardUrl?: string | undefined;
|
|
1224
1223
|
} | undefined;
|
|
1225
1224
|
};
|
|
1225
|
+
issuedAt: string;
|
|
1226
1226
|
signatures: {
|
|
1227
1227
|
signature: string;
|
|
1228
1228
|
signedAt: string;
|
|
@@ -1294,7 +1294,6 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
1294
1294
|
};
|
|
1295
1295
|
manifest: {
|
|
1296
1296
|
schemaVersion: 1;
|
|
1297
|
-
issuedAt: string;
|
|
1298
1297
|
revision: {
|
|
1299
1298
|
schemaVersion: 1;
|
|
1300
1299
|
revision: string;
|
|
@@ -1319,6 +1318,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
1319
1318
|
knownLimitations?: string[] | undefined;
|
|
1320
1319
|
} | undefined;
|
|
1321
1320
|
};
|
|
1321
|
+
issuedAt: string;
|
|
1322
1322
|
signatures: {
|
|
1323
1323
|
signature: string;
|
|
1324
1324
|
signedAt: string;
|
|
@@ -1387,8 +1387,8 @@ export declare const modelReleaseIngestionResultSchema: z.ZodObject<{
|
|
|
1387
1387
|
ingestedAt: z.ZodString;
|
|
1388
1388
|
}, "strict", z.ZodTypeAny, {
|
|
1389
1389
|
schemaVersion: 1;
|
|
1390
|
-
outcome: "ingested" | "already_ingested";
|
|
1391
1390
|
revision: string;
|
|
1391
|
+
outcome: "ingested" | "already_ingested";
|
|
1392
1392
|
modelId: string;
|
|
1393
1393
|
reference: string;
|
|
1394
1394
|
releaseId: string;
|
|
@@ -1398,8 +1398,8 @@ export declare const modelReleaseIngestionResultSchema: z.ZodObject<{
|
|
|
1398
1398
|
ingestedAt: string;
|
|
1399
1399
|
}, {
|
|
1400
1400
|
schemaVersion: 1;
|
|
1401
|
-
outcome: "ingested" | "already_ingested";
|
|
1402
1401
|
revision: string;
|
|
1402
|
+
outcome: "ingested" | "already_ingested";
|
|
1403
1403
|
modelId: string;
|
|
1404
1404
|
reference: string;
|
|
1405
1405
|
releaseId: string;
|
|
@@ -64,8 +64,8 @@ export declare const priceVersionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
64
64
|
createdAt: z.ZodString;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
66
|
status: "draft" | "active" | "superseded";
|
|
67
|
-
createdAt: string;
|
|
68
67
|
schemaVersion: 1;
|
|
68
|
+
createdAt: string;
|
|
69
69
|
currency: string;
|
|
70
70
|
provider: string;
|
|
71
71
|
priceVersionId: string;
|
|
@@ -81,8 +81,8 @@ export declare const priceVersionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
81
81
|
supersedesPriceVersionId?: string | undefined;
|
|
82
82
|
}, {
|
|
83
83
|
status: "draft" | "active" | "superseded";
|
|
84
|
-
createdAt: string;
|
|
85
84
|
schemaVersion: 1;
|
|
85
|
+
createdAt: string;
|
|
86
86
|
currency: string;
|
|
87
87
|
provider: string;
|
|
88
88
|
priceVersionId: string;
|
|
@@ -98,8 +98,8 @@ export declare const priceVersionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
98
98
|
supersedesPriceVersionId?: string | undefined;
|
|
99
99
|
}>, {
|
|
100
100
|
status: "draft" | "active" | "superseded";
|
|
101
|
-
createdAt: string;
|
|
102
101
|
schemaVersion: 1;
|
|
102
|
+
createdAt: string;
|
|
103
103
|
currency: string;
|
|
104
104
|
provider: string;
|
|
105
105
|
priceVersionId: string;
|
|
@@ -115,8 +115,8 @@ export declare const priceVersionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
115
115
|
supersedesPriceVersionId?: string | undefined;
|
|
116
116
|
}, {
|
|
117
117
|
status: "draft" | "active" | "superseded";
|
|
118
|
-
createdAt: string;
|
|
119
118
|
schemaVersion: 1;
|
|
119
|
+
createdAt: string;
|
|
120
120
|
currency: string;
|
|
121
121
|
provider: string;
|
|
122
122
|
priceVersionId: string;
|
|
@@ -100,8 +100,8 @@ export declare const kaanaCredentialCreateMutationSchema: z.ZodObject<{
|
|
|
100
100
|
secretBase64: z.ZodEffects<z.ZodString, string, string>;
|
|
101
101
|
}, "strict", z.ZodTypeAny, {
|
|
102
102
|
environment: "development" | "staging" | "production";
|
|
103
|
-
ownerAccountId: string;
|
|
104
103
|
schemaVersion: 1;
|
|
104
|
+
ownerAccountId: string;
|
|
105
105
|
action: "create";
|
|
106
106
|
provider: string;
|
|
107
107
|
connectionId: string;
|
|
@@ -110,8 +110,8 @@ export declare const kaanaCredentialCreateMutationSchema: z.ZodObject<{
|
|
|
110
110
|
secretBase64: string;
|
|
111
111
|
}, {
|
|
112
112
|
environment: "development" | "staging" | "production";
|
|
113
|
-
ownerAccountId: string;
|
|
114
113
|
schemaVersion: 1;
|
|
114
|
+
ownerAccountId: string;
|
|
115
115
|
action: "create";
|
|
116
116
|
provider: string;
|
|
117
117
|
connectionId: string;
|
|
@@ -134,8 +134,8 @@ export declare const kaanaCredentialRotateMutationSchema: z.ZodObject<{
|
|
|
134
134
|
secretBase64: z.ZodEffects<z.ZodString, string, string>;
|
|
135
135
|
}, "strict", z.ZodTypeAny, {
|
|
136
136
|
environment: "development" | "staging" | "production";
|
|
137
|
-
ownerAccountId: string;
|
|
138
137
|
schemaVersion: 1;
|
|
138
|
+
ownerAccountId: string;
|
|
139
139
|
action: "rotate";
|
|
140
140
|
provider: string;
|
|
141
141
|
connectionId: string;
|
|
@@ -146,8 +146,8 @@ export declare const kaanaCredentialRotateMutationSchema: z.ZodObject<{
|
|
|
146
146
|
expectedRevision: number;
|
|
147
147
|
}, {
|
|
148
148
|
environment: "development" | "staging" | "production";
|
|
149
|
-
ownerAccountId: string;
|
|
150
149
|
schemaVersion: 1;
|
|
150
|
+
ownerAccountId: string;
|
|
151
151
|
action: "rotate";
|
|
152
152
|
provider: string;
|
|
153
153
|
connectionId: string;
|
|
@@ -171,8 +171,8 @@ export declare const kaanaCredentialRevokeMutationSchema: z.ZodObject<{
|
|
|
171
171
|
expectedRevision: z.ZodNumber;
|
|
172
172
|
}, "strict", z.ZodTypeAny, {
|
|
173
173
|
environment: "development" | "staging" | "production";
|
|
174
|
-
ownerAccountId: string;
|
|
175
174
|
schemaVersion: 1;
|
|
175
|
+
ownerAccountId: string;
|
|
176
176
|
action: "revoke";
|
|
177
177
|
provider: string;
|
|
178
178
|
connectionId: string;
|
|
@@ -182,8 +182,8 @@ export declare const kaanaCredentialRevokeMutationSchema: z.ZodObject<{
|
|
|
182
182
|
expectedRevision: number;
|
|
183
183
|
}, {
|
|
184
184
|
environment: "development" | "staging" | "production";
|
|
185
|
-
ownerAccountId: string;
|
|
186
185
|
schemaVersion: 1;
|
|
186
|
+
ownerAccountId: string;
|
|
187
187
|
action: "revoke";
|
|
188
188
|
provider: string;
|
|
189
189
|
connectionId: string;
|
|
@@ -205,8 +205,8 @@ export declare const kaanaCredentialMutationSchema: z.ZodDiscriminatedUnion<"act
|
|
|
205
205
|
secretBase64: z.ZodEffects<z.ZodString, string, string>;
|
|
206
206
|
}, "strict", z.ZodTypeAny, {
|
|
207
207
|
environment: "development" | "staging" | "production";
|
|
208
|
-
ownerAccountId: string;
|
|
209
208
|
schemaVersion: 1;
|
|
209
|
+
ownerAccountId: string;
|
|
210
210
|
action: "create";
|
|
211
211
|
provider: string;
|
|
212
212
|
connectionId: string;
|
|
@@ -215,8 +215,8 @@ export declare const kaanaCredentialMutationSchema: z.ZodDiscriminatedUnion<"act
|
|
|
215
215
|
secretBase64: string;
|
|
216
216
|
}, {
|
|
217
217
|
environment: "development" | "staging" | "production";
|
|
218
|
-
ownerAccountId: string;
|
|
219
218
|
schemaVersion: 1;
|
|
219
|
+
ownerAccountId: string;
|
|
220
220
|
action: "create";
|
|
221
221
|
provider: string;
|
|
222
222
|
connectionId: string;
|
|
@@ -238,8 +238,8 @@ export declare const kaanaCredentialMutationSchema: z.ZodDiscriminatedUnion<"act
|
|
|
238
238
|
secretBase64: z.ZodEffects<z.ZodString, string, string>;
|
|
239
239
|
}, "strict", z.ZodTypeAny, {
|
|
240
240
|
environment: "development" | "staging" | "production";
|
|
241
|
-
ownerAccountId: string;
|
|
242
241
|
schemaVersion: 1;
|
|
242
|
+
ownerAccountId: string;
|
|
243
243
|
action: "rotate";
|
|
244
244
|
provider: string;
|
|
245
245
|
connectionId: string;
|
|
@@ -250,8 +250,8 @@ export declare const kaanaCredentialMutationSchema: z.ZodDiscriminatedUnion<"act
|
|
|
250
250
|
expectedRevision: number;
|
|
251
251
|
}, {
|
|
252
252
|
environment: "development" | "staging" | "production";
|
|
253
|
-
ownerAccountId: string;
|
|
254
253
|
schemaVersion: 1;
|
|
254
|
+
ownerAccountId: string;
|
|
255
255
|
action: "rotate";
|
|
256
256
|
provider: string;
|
|
257
257
|
connectionId: string;
|
|
@@ -274,8 +274,8 @@ export declare const kaanaCredentialMutationSchema: z.ZodDiscriminatedUnion<"act
|
|
|
274
274
|
expectedRevision: z.ZodNumber;
|
|
275
275
|
}, "strict", z.ZodTypeAny, {
|
|
276
276
|
environment: "development" | "staging" | "production";
|
|
277
|
-
ownerAccountId: string;
|
|
278
277
|
schemaVersion: 1;
|
|
278
|
+
ownerAccountId: string;
|
|
279
279
|
action: "revoke";
|
|
280
280
|
provider: string;
|
|
281
281
|
connectionId: string;
|
|
@@ -285,8 +285,8 @@ export declare const kaanaCredentialMutationSchema: z.ZodDiscriminatedUnion<"act
|
|
|
285
285
|
expectedRevision: number;
|
|
286
286
|
}, {
|
|
287
287
|
environment: "development" | "staging" | "production";
|
|
288
|
-
ownerAccountId: string;
|
|
289
288
|
schemaVersion: 1;
|
|
289
|
+
ownerAccountId: string;
|
|
290
290
|
action: "revoke";
|
|
291
291
|
provider: string;
|
|
292
292
|
connectionId: string;
|
|
@@ -306,16 +306,16 @@ export declare const kaanaCredentialCreateOutcomeRequestSchema: z.ZodObject<{
|
|
|
306
306
|
operationId: z.ZodString;
|
|
307
307
|
}, "strict", z.ZodTypeAny, {
|
|
308
308
|
environment: "development" | "staging" | "production";
|
|
309
|
-
ownerAccountId: string;
|
|
310
309
|
schemaVersion: 1;
|
|
310
|
+
ownerAccountId: string;
|
|
311
311
|
action: "create";
|
|
312
312
|
provider: string;
|
|
313
313
|
connectionId: string;
|
|
314
314
|
operationId: string;
|
|
315
315
|
}, {
|
|
316
316
|
environment: "development" | "staging" | "production";
|
|
317
|
-
ownerAccountId: string;
|
|
318
317
|
schemaVersion: 1;
|
|
318
|
+
ownerAccountId: string;
|
|
319
319
|
action: "create";
|
|
320
320
|
provider: string;
|
|
321
321
|
connectionId: string;
|
|
@@ -334,8 +334,8 @@ export declare const kaanaCredentialRotateOutcomeRequestSchema: z.ZodObject<{
|
|
|
334
334
|
expectedRevision: z.ZodNumber;
|
|
335
335
|
}, "strict", z.ZodTypeAny, {
|
|
336
336
|
environment: "development" | "staging" | "production";
|
|
337
|
-
ownerAccountId: string;
|
|
338
337
|
schemaVersion: 1;
|
|
338
|
+
ownerAccountId: string;
|
|
339
339
|
action: "rotate";
|
|
340
340
|
provider: string;
|
|
341
341
|
connectionId: string;
|
|
@@ -344,8 +344,8 @@ export declare const kaanaCredentialRotateOutcomeRequestSchema: z.ZodObject<{
|
|
|
344
344
|
expectedRevision: number;
|
|
345
345
|
}, {
|
|
346
346
|
environment: "development" | "staging" | "production";
|
|
347
|
-
ownerAccountId: string;
|
|
348
347
|
schemaVersion: 1;
|
|
348
|
+
ownerAccountId: string;
|
|
349
349
|
action: "rotate";
|
|
350
350
|
provider: string;
|
|
351
351
|
connectionId: string;
|
|
@@ -366,8 +366,8 @@ export declare const kaanaCredentialRevokeOutcomeRequestSchema: z.ZodObject<{
|
|
|
366
366
|
expectedRevision: z.ZodNumber;
|
|
367
367
|
}, "strict", z.ZodTypeAny, {
|
|
368
368
|
environment: "development" | "staging" | "production";
|
|
369
|
-
ownerAccountId: string;
|
|
370
369
|
schemaVersion: 1;
|
|
370
|
+
ownerAccountId: string;
|
|
371
371
|
action: "revoke";
|
|
372
372
|
provider: string;
|
|
373
373
|
connectionId: string;
|
|
@@ -376,8 +376,8 @@ export declare const kaanaCredentialRevokeOutcomeRequestSchema: z.ZodObject<{
|
|
|
376
376
|
expectedRevision: number;
|
|
377
377
|
}, {
|
|
378
378
|
environment: "development" | "staging" | "production";
|
|
379
|
-
ownerAccountId: string;
|
|
380
379
|
schemaVersion: 1;
|
|
380
|
+
ownerAccountId: string;
|
|
381
381
|
action: "revoke";
|
|
382
382
|
provider: string;
|
|
383
383
|
connectionId: string;
|
|
@@ -396,16 +396,16 @@ export declare const kaanaCredentialOutcomeRequestSchema: z.ZodDiscriminatedUnio
|
|
|
396
396
|
operationId: z.ZodString;
|
|
397
397
|
}, "strict", z.ZodTypeAny, {
|
|
398
398
|
environment: "development" | "staging" | "production";
|
|
399
|
-
ownerAccountId: string;
|
|
400
399
|
schemaVersion: 1;
|
|
400
|
+
ownerAccountId: string;
|
|
401
401
|
action: "create";
|
|
402
402
|
provider: string;
|
|
403
403
|
connectionId: string;
|
|
404
404
|
operationId: string;
|
|
405
405
|
}, {
|
|
406
406
|
environment: "development" | "staging" | "production";
|
|
407
|
-
ownerAccountId: string;
|
|
408
407
|
schemaVersion: 1;
|
|
408
|
+
ownerAccountId: string;
|
|
409
409
|
action: "create";
|
|
410
410
|
provider: string;
|
|
411
411
|
connectionId: string;
|
|
@@ -423,8 +423,8 @@ export declare const kaanaCredentialOutcomeRequestSchema: z.ZodDiscriminatedUnio
|
|
|
423
423
|
expectedRevision: z.ZodNumber;
|
|
424
424
|
}, "strict", z.ZodTypeAny, {
|
|
425
425
|
environment: "development" | "staging" | "production";
|
|
426
|
-
ownerAccountId: string;
|
|
427
426
|
schemaVersion: 1;
|
|
427
|
+
ownerAccountId: string;
|
|
428
428
|
action: "rotate";
|
|
429
429
|
provider: string;
|
|
430
430
|
connectionId: string;
|
|
@@ -433,8 +433,8 @@ export declare const kaanaCredentialOutcomeRequestSchema: z.ZodDiscriminatedUnio
|
|
|
433
433
|
expectedRevision: number;
|
|
434
434
|
}, {
|
|
435
435
|
environment: "development" | "staging" | "production";
|
|
436
|
-
ownerAccountId: string;
|
|
437
436
|
schemaVersion: 1;
|
|
437
|
+
ownerAccountId: string;
|
|
438
438
|
action: "rotate";
|
|
439
439
|
provider: string;
|
|
440
440
|
connectionId: string;
|
|
@@ -454,8 +454,8 @@ export declare const kaanaCredentialOutcomeRequestSchema: z.ZodDiscriminatedUnio
|
|
|
454
454
|
expectedRevision: z.ZodNumber;
|
|
455
455
|
}, "strict", z.ZodTypeAny, {
|
|
456
456
|
environment: "development" | "staging" | "production";
|
|
457
|
-
ownerAccountId: string;
|
|
458
457
|
schemaVersion: 1;
|
|
458
|
+
ownerAccountId: string;
|
|
459
459
|
action: "revoke";
|
|
460
460
|
provider: string;
|
|
461
461
|
connectionId: string;
|
|
@@ -464,8 +464,8 @@ export declare const kaanaCredentialOutcomeRequestSchema: z.ZodDiscriminatedUnio
|
|
|
464
464
|
expectedRevision: number;
|
|
465
465
|
}, {
|
|
466
466
|
environment: "development" | "staging" | "production";
|
|
467
|
-
ownerAccountId: string;
|
|
468
467
|
schemaVersion: 1;
|
|
468
|
+
ownerAccountId: string;
|
|
469
469
|
action: "revoke";
|
|
470
470
|
provider: string;
|
|
471
471
|
connectionId: string;
|
|
@@ -569,9 +569,9 @@ export declare const kaanaCredentialValidationTaskSchema: z.ZodObject<{
|
|
|
569
569
|
deploymentId: z.ZodString;
|
|
570
570
|
}, "strict", z.ZodTypeAny, {
|
|
571
571
|
environment: "development" | "staging" | "production";
|
|
572
|
+
schemaVersion: 1;
|
|
572
573
|
ownerAccountId: string;
|
|
573
574
|
applicationId: string;
|
|
574
|
-
schemaVersion: 1;
|
|
575
575
|
provider: string;
|
|
576
576
|
deploymentId: string;
|
|
577
577
|
connectionId: string;
|
|
@@ -580,9 +580,9 @@ export declare const kaanaCredentialValidationTaskSchema: z.ZodObject<{
|
|
|
580
580
|
credentialRevision: number;
|
|
581
581
|
}, {
|
|
582
582
|
environment: "development" | "staging" | "production";
|
|
583
|
+
schemaVersion: 1;
|
|
583
584
|
ownerAccountId: string;
|
|
584
585
|
applicationId: string;
|
|
585
|
-
schemaVersion: 1;
|
|
586
586
|
provider: string;
|
|
587
587
|
deploymentId: string;
|
|
588
588
|
connectionId: string;
|
|
@@ -615,9 +615,9 @@ export declare const kaanaCredentialValidationOutcomeSchema: z.ZodEffects<z.ZodO
|
|
|
615
615
|
failureCode: z.ZodOptional<z.ZodEnum<["unauthorized", "forbidden", "not_found", "rate_limited", "network", "unknown"]>>;
|
|
616
616
|
}, "strict", z.ZodTypeAny, {
|
|
617
617
|
environment: "development" | "staging" | "production";
|
|
618
|
+
schemaVersion: 1;
|
|
618
619
|
ownerAccountId: string;
|
|
619
620
|
applicationId: string;
|
|
620
|
-
schemaVersion: 1;
|
|
621
621
|
state: "valid" | "pending" | "invalid" | "inconclusive";
|
|
622
622
|
provider: string;
|
|
623
623
|
deploymentId: string;
|
|
@@ -628,9 +628,9 @@ export declare const kaanaCredentialValidationOutcomeSchema: z.ZodEffects<z.ZodO
|
|
|
628
628
|
failureCode?: "unknown" | "network" | "rate_limited" | "unauthorized" | "forbidden" | "not_found" | undefined;
|
|
629
629
|
}, {
|
|
630
630
|
environment: "development" | "staging" | "production";
|
|
631
|
+
schemaVersion: 1;
|
|
631
632
|
ownerAccountId: string;
|
|
632
633
|
applicationId: string;
|
|
633
|
-
schemaVersion: 1;
|
|
634
634
|
state: "valid" | "pending" | "invalid" | "inconclusive";
|
|
635
635
|
provider: string;
|
|
636
636
|
deploymentId: string;
|
|
@@ -641,9 +641,9 @@ export declare const kaanaCredentialValidationOutcomeSchema: z.ZodEffects<z.ZodO
|
|
|
641
641
|
failureCode?: "unknown" | "network" | "rate_limited" | "unauthorized" | "forbidden" | "not_found" | undefined;
|
|
642
642
|
}>, {
|
|
643
643
|
environment: "development" | "staging" | "production";
|
|
644
|
+
schemaVersion: 1;
|
|
644
645
|
ownerAccountId: string;
|
|
645
646
|
applicationId: string;
|
|
646
|
-
schemaVersion: 1;
|
|
647
647
|
state: "valid" | "pending" | "invalid" | "inconclusive";
|
|
648
648
|
provider: string;
|
|
649
649
|
deploymentId: string;
|
|
@@ -654,9 +654,9 @@ export declare const kaanaCredentialValidationOutcomeSchema: z.ZodEffects<z.ZodO
|
|
|
654
654
|
failureCode?: "unknown" | "network" | "rate_limited" | "unauthorized" | "forbidden" | "not_found" | undefined;
|
|
655
655
|
}, {
|
|
656
656
|
environment: "development" | "staging" | "production";
|
|
657
|
+
schemaVersion: 1;
|
|
657
658
|
ownerAccountId: string;
|
|
658
659
|
applicationId: string;
|
|
659
|
-
schemaVersion: 1;
|
|
660
660
|
state: "valid" | "pending" | "invalid" | "inconclusive";
|
|
661
661
|
provider: string;
|
|
662
662
|
deploymentId: string;
|
|
@@ -684,9 +684,9 @@ export declare const providerCredentialValidationOperationSchema: z.ZodEffects<z
|
|
|
684
684
|
createdAt: z.ZodString;
|
|
685
685
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
686
686
|
}, "strict", z.ZodTypeAny, {
|
|
687
|
+
schemaVersion: 1;
|
|
687
688
|
applicationId: string;
|
|
688
689
|
createdAt: string;
|
|
689
|
-
schemaVersion: 1;
|
|
690
690
|
state: "valid" | "pending" | "invalid" | "inconclusive";
|
|
691
691
|
deploymentId: string;
|
|
692
692
|
connectionId: string;
|
|
@@ -694,9 +694,9 @@ export declare const providerCredentialValidationOperationSchema: z.ZodEffects<z
|
|
|
694
694
|
failureCode?: "unknown" | "network" | "rate_limited" | "unauthorized" | "forbidden" | "not_found" | undefined;
|
|
695
695
|
completedAt?: string | undefined;
|
|
696
696
|
}, {
|
|
697
|
+
schemaVersion: 1;
|
|
697
698
|
applicationId: string;
|
|
698
699
|
createdAt: string;
|
|
699
|
-
schemaVersion: 1;
|
|
700
700
|
state: "valid" | "pending" | "invalid" | "inconclusive";
|
|
701
701
|
deploymentId: string;
|
|
702
702
|
connectionId: string;
|
|
@@ -704,9 +704,9 @@ export declare const providerCredentialValidationOperationSchema: z.ZodEffects<z
|
|
|
704
704
|
failureCode?: "unknown" | "network" | "rate_limited" | "unauthorized" | "forbidden" | "not_found" | undefined;
|
|
705
705
|
completedAt?: string | undefined;
|
|
706
706
|
}>, {
|
|
707
|
+
schemaVersion: 1;
|
|
707
708
|
applicationId: string;
|
|
708
709
|
createdAt: string;
|
|
709
|
-
schemaVersion: 1;
|
|
710
710
|
state: "valid" | "pending" | "invalid" | "inconclusive";
|
|
711
711
|
deploymentId: string;
|
|
712
712
|
connectionId: string;
|
|
@@ -714,9 +714,9 @@ export declare const providerCredentialValidationOperationSchema: z.ZodEffects<z
|
|
|
714
714
|
failureCode?: "unknown" | "network" | "rate_limited" | "unauthorized" | "forbidden" | "not_found" | undefined;
|
|
715
715
|
completedAt?: string | undefined;
|
|
716
716
|
}, {
|
|
717
|
+
schemaVersion: 1;
|
|
717
718
|
applicationId: string;
|
|
718
719
|
createdAt: string;
|
|
719
|
-
schemaVersion: 1;
|
|
720
720
|
state: "valid" | "pending" | "invalid" | "inconclusive";
|
|
721
721
|
deploymentId: string;
|
|
722
722
|
connectionId: string;
|
|
@@ -839,9 +839,9 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
839
839
|
lastValidatedAt?: string | undefined;
|
|
840
840
|
};
|
|
841
841
|
environment: "development" | "staging" | "production";
|
|
842
|
+
schemaVersion: 2;
|
|
842
843
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
843
844
|
createdAt: string;
|
|
844
|
-
schemaVersion: 2;
|
|
845
845
|
scope: {
|
|
846
846
|
kind: "account";
|
|
847
847
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -869,9 +869,9 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
869
869
|
lastValidatedAt?: string | undefined;
|
|
870
870
|
};
|
|
871
871
|
environment: "development" | "staging" | "production";
|
|
872
|
+
schemaVersion: 2;
|
|
872
873
|
ownerAccountId: string;
|
|
873
874
|
createdAt: string;
|
|
874
|
-
schemaVersion: 2;
|
|
875
875
|
scope: {
|
|
876
876
|
kind: "account";
|
|
877
877
|
accountId: string;
|
|
@@ -899,9 +899,9 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
899
899
|
lastValidatedAt?: string | undefined;
|
|
900
900
|
};
|
|
901
901
|
environment: "development" | "staging" | "production";
|
|
902
|
+
schemaVersion: 2;
|
|
902
903
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
903
904
|
createdAt: string;
|
|
904
|
-
schemaVersion: 2;
|
|
905
905
|
scope: {
|
|
906
906
|
kind: "account";
|
|
907
907
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -929,9 +929,9 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
929
929
|
lastValidatedAt?: string | undefined;
|
|
930
930
|
};
|
|
931
931
|
environment: "development" | "staging" | "production";
|
|
932
|
+
schemaVersion: 2;
|
|
932
933
|
ownerAccountId: string;
|
|
933
934
|
createdAt: string;
|
|
934
|
-
schemaVersion: 2;
|
|
935
935
|
scope: {
|
|
936
936
|
kind: "account";
|
|
937
937
|
accountId: string;
|