@oxy.so/contracts 4.17.0 → 4.21.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/accountAccess.js +72 -0
- package/dist/cjs/agency.js +112 -1
- package/dist/cjs/applicationRoles.js +211 -0
- package/dist/cjs/client/check.js +9 -0
- package/dist/cjs/client/index.js +22 -1
- package/dist/cjs/client/safety.js +183 -2
- package/dist/cjs/client/signIn.js +2 -0
- package/dist/cjs/index.js +13 -3
- package/dist/cjs/safety.js +430 -1
- package/dist/cjs/serviceToken.js +14 -0
- package/dist/esm/accountAccess.js +69 -0
- package/dist/esm/agency.js +111 -0
- package/dist/esm/applicationRoles.js +207 -0
- package/dist/esm/client/check.js +8 -0
- package/dist/esm/client/index.js +1 -1
- package/dist/esm/client/safety.js +183 -2
- package/dist/esm/client/signIn.js +2 -0
- package/dist/esm/index.js +4 -1
- package/dist/esm/safety.js +423 -0
- package/dist/esm/serviceToken.js +11 -0
- package/dist/types/accountAccess.d.ts +128 -0
- package/dist/types/accountEmail.d.ts +2 -2
- package/dist/types/agency.d.ts +327 -2
- package/dist/types/agentKeys.d.ts +6 -6
- package/dist/types/applicationRoles.d.ts +438 -0
- package/dist/types/client/agentKeys.d.ts +2 -2
- package/dist/types/client/check.d.ts +3 -0
- package/dist/types/client/deviceSession.d.ts +1 -1
- package/dist/types/client/index.d.ts +1 -1
- package/dist/types/client/safety.d.ts +204 -4
- package/dist/types/client/signIn.d.ts +1 -1
- package/dist/types/deviceSession.d.ts +4 -4
- package/dist/types/email/messages.d.ts +2 -2
- package/dist/types/externalIdentity.d.ts +4 -4
- package/dist/types/index.d.ts +5 -2
- package/dist/types/inference/accountBilling.d.ts +2 -2
- package/dist/types/inference/catalogue.d.ts +22 -22
- package/dist/types/inference/providerConnection.d.ts +4 -4
- package/dist/types/inference/realtime.d.ts +74 -74
- package/dist/types/inference/request.d.ts +60 -60
- package/dist/types/inference/usage.d.ts +4 -4
- package/dist/types/products/access.d.ts +4 -4
- package/dist/types/safety.d.ts +2374 -2
- package/dist/types/serviceToken.d.ts +11 -0
- package/dist/types/signIn.d.ts +5 -5
- package/dist/types/userResponse.d.ts +2 -2
- package/package.json +5 -20
- package/dist/cjs/.tsbuildinfo +0 -1
- package/dist/esm/.tsbuildinfo +0 -1
- package/dist/types/.tsbuildinfo +0 -1
|
@@ -257,9 +257,9 @@ export declare const usageReservationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
257
257
|
/** The receipt that consumed this hold. Present exactly when `settled`. */
|
|
258
258
|
settledReceiptId: z.ZodOptional<z.ZodString>;
|
|
259
259
|
}, "strip", z.ZodTypeAny, {
|
|
260
|
-
expiresAt: string;
|
|
261
260
|
status: "expired" | "held" | "settled" | "released";
|
|
262
261
|
createdAt: string;
|
|
262
|
+
expiresAt: string;
|
|
263
263
|
schemaVersion: 1;
|
|
264
264
|
currency: string;
|
|
265
265
|
reservationId: string;
|
|
@@ -282,9 +282,9 @@ export declare const usageReservationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
282
282
|
ceilingPriceVersionId: string;
|
|
283
283
|
settledReceiptId?: string | undefined;
|
|
284
284
|
}, {
|
|
285
|
-
expiresAt: string;
|
|
286
285
|
status: "expired" | "held" | "settled" | "released";
|
|
287
286
|
createdAt: string;
|
|
287
|
+
expiresAt: string;
|
|
288
288
|
schemaVersion: 1;
|
|
289
289
|
currency: string;
|
|
290
290
|
reservationId: string;
|
|
@@ -307,9 +307,9 @@ export declare const usageReservationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
307
307
|
ceilingPriceVersionId: string;
|
|
308
308
|
settledReceiptId?: string | undefined;
|
|
309
309
|
}>, {
|
|
310
|
-
expiresAt: string;
|
|
311
310
|
status: "expired" | "held" | "settled" | "released";
|
|
312
311
|
createdAt: string;
|
|
312
|
+
expiresAt: string;
|
|
313
313
|
schemaVersion: 1;
|
|
314
314
|
currency: string;
|
|
315
315
|
reservationId: string;
|
|
@@ -332,9 +332,9 @@ export declare const usageReservationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
332
332
|
ceilingPriceVersionId: string;
|
|
333
333
|
settledReceiptId?: string | undefined;
|
|
334
334
|
}, {
|
|
335
|
-
expiresAt: string;
|
|
336
335
|
status: "expired" | "held" | "settled" | "released";
|
|
337
336
|
createdAt: string;
|
|
337
|
+
expiresAt: string;
|
|
338
338
|
schemaVersion: 1;
|
|
339
339
|
currency: string;
|
|
340
340
|
reservationId: string;
|
|
@@ -689,7 +689,6 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
|
|
|
689
689
|
};
|
|
690
690
|
}>, "many">;
|
|
691
691
|
}, "strict", z.ZodTypeAny, {
|
|
692
|
-
schemaVersion: 1;
|
|
693
692
|
access: {
|
|
694
693
|
schemaVersion: 1;
|
|
695
694
|
subjectAccountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -712,6 +711,7 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
|
|
|
712
711
|
grantIds: string[];
|
|
713
712
|
}[];
|
|
714
713
|
};
|
|
714
|
+
schemaVersion: 1;
|
|
715
715
|
grants: {
|
|
716
716
|
id: string;
|
|
717
717
|
schemaVersion: 1;
|
|
@@ -739,7 +739,6 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
|
|
|
739
739
|
};
|
|
740
740
|
}[];
|
|
741
741
|
}, {
|
|
742
|
-
schemaVersion: 1;
|
|
743
742
|
access: {
|
|
744
743
|
schemaVersion: 1;
|
|
745
744
|
subjectAccountId: string;
|
|
@@ -762,6 +761,7 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
|
|
|
762
761
|
grantIds: string[];
|
|
763
762
|
}[];
|
|
764
763
|
};
|
|
764
|
+
schemaVersion: 1;
|
|
765
765
|
grants: {
|
|
766
766
|
id: string;
|
|
767
767
|
schemaVersion: 1;
|
|
@@ -789,7 +789,6 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
|
|
|
789
789
|
};
|
|
790
790
|
}[];
|
|
791
791
|
}>, {
|
|
792
|
-
schemaVersion: 1;
|
|
793
792
|
access: {
|
|
794
793
|
schemaVersion: 1;
|
|
795
794
|
subjectAccountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -812,6 +811,7 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
|
|
|
812
811
|
grantIds: string[];
|
|
813
812
|
}[];
|
|
814
813
|
};
|
|
814
|
+
schemaVersion: 1;
|
|
815
815
|
grants: {
|
|
816
816
|
id: string;
|
|
817
817
|
schemaVersion: 1;
|
|
@@ -839,7 +839,6 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
|
|
|
839
839
|
};
|
|
840
840
|
}[];
|
|
841
841
|
}, {
|
|
842
|
-
schemaVersion: 1;
|
|
843
842
|
access: {
|
|
844
843
|
schemaVersion: 1;
|
|
845
844
|
subjectAccountId: string;
|
|
@@ -862,6 +861,7 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
|
|
|
862
861
|
grantIds: string[];
|
|
863
862
|
}[];
|
|
864
863
|
};
|
|
864
|
+
schemaVersion: 1;
|
|
865
865
|
grants: {
|
|
866
866
|
id: string;
|
|
867
867
|
schemaVersion: 1;
|