@opsregistry/contracts 0.0.6 → 0.0.8
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/README.md +4 -0
- package/dist/delivery/create-shipment.d.ts +2 -2
- package/dist/delivery/quote.d.ts +50 -10
- package/dist/delivery/quote.d.ts.map +1 -1
- package/dist/delivery/quote.js +30 -4
- package/dist/delivery/quote.js.map +1 -1
- package/dist/finance/cancel-payment.d.ts +25 -25
- package/dist/finance/common.d.ts +9 -9
- package/dist/finance/create-closing-receipt.d.ts +20 -20
- package/dist/finance/create-payment-qr.d.ts +1 -1
- package/dist/finance/create-payment.d.ts +27 -27
- package/dist/finance/create-receipt.d.ts +20 -20
- package/dist/finance/get-payment-status.d.ts +10 -10
- package/dist/finance/get-receipt-status.d.ts +3 -3
- package/dist/finance/receipt-common.d.ts +49 -49
- package/dist/it/access-authorize.d.ts +3 -3
- package/dist/it/access-policy-evaluate.d.ts +3 -3
- package/dist/it/iam-common.d.ts +24 -24
- package/dist/it/identity-authenticate.d.ts +18 -18
- package/dist/it/identity-token-refresh.d.ts +26 -26
- package/dist/it/identity-token-revoke.d.ts +21 -21
- package/dist/storage/object-delete-file.d.ts +1 -1
- package/dist/storage/object-list.d.ts +1 -1
- package/dist/storage/object-upload-file.d.ts +1 -1
- package/dist/storage/website-delete.d.ts +1 -1
- package/dist/storage/website-get.d.ts +1 -1
- package/dist/storage/website-put.d.ts +1 -1
- package/package.json +2 -2
|
@@ -3,12 +3,12 @@ export declare const operationCode: "it.identity.token.refresh";
|
|
|
3
3
|
export declare const identityTokenRefreshInputSchema: z.ZodObject<{
|
|
4
4
|
subject: z.ZodOptional<z.ZodObject<{
|
|
5
5
|
kind: z.ZodEnum<{
|
|
6
|
-
|
|
7
|
-
serviceAccount: "serviceAccount";
|
|
6
|
+
anonymous: "anonymous";
|
|
8
7
|
application: "application";
|
|
9
8
|
integration: "integration";
|
|
10
9
|
providerAccount: "providerAccount";
|
|
11
|
-
|
|
10
|
+
serviceAccount: "serviceAccount";
|
|
11
|
+
user: "user";
|
|
12
12
|
}>;
|
|
13
13
|
id: z.ZodOptional<z.ZodString>;
|
|
14
14
|
externalId: z.ZodOptional<z.ZodString>;
|
|
@@ -22,20 +22,20 @@ export declare const identityTokenRefreshInputSchema: z.ZodObject<{
|
|
|
22
22
|
}, z.core.$strip>>;
|
|
23
23
|
refreshCredential: z.ZodObject<{
|
|
24
24
|
kind: z.ZodEnum<{
|
|
25
|
-
|
|
26
|
-
none: "none";
|
|
25
|
+
accessToken: "accessToken";
|
|
27
26
|
apiKey: "apiKey";
|
|
28
27
|
basic: "basic";
|
|
28
|
+
custom: "custom";
|
|
29
|
+
none: "none";
|
|
29
30
|
refreshToken: "refreshToken";
|
|
30
|
-
accessToken: "accessToken";
|
|
31
31
|
session: "session";
|
|
32
32
|
}>;
|
|
33
33
|
transport: z.ZodDefault<z.ZodEnum<{
|
|
34
|
-
|
|
34
|
+
body: "body";
|
|
35
|
+
cookie: "cookie";
|
|
35
36
|
header: "header";
|
|
37
|
+
none: "none";
|
|
36
38
|
query: "query";
|
|
37
|
-
cookie: "cookie";
|
|
38
|
-
body: "body";
|
|
39
39
|
}>>;
|
|
40
40
|
scheme: z.ZodOptional<z.ZodString>;
|
|
41
41
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -58,19 +58,19 @@ export declare const identityTokenRefreshInputSchema: z.ZodObject<{
|
|
|
58
58
|
export declare const identityTokenRefreshResultSchema: z.ZodObject<{
|
|
59
59
|
operationCode: z.ZodLiteral<"it.identity.token.refresh">;
|
|
60
60
|
status: z.ZodEnum<{
|
|
61
|
-
failed: "failed";
|
|
62
61
|
anonymous: "anonymous";
|
|
63
62
|
authenticated: "authenticated";
|
|
64
63
|
challengeRequired: "challengeRequired";
|
|
64
|
+
failed: "failed";
|
|
65
65
|
}>;
|
|
66
66
|
subject: z.ZodOptional<z.ZodObject<{
|
|
67
67
|
kind: z.ZodEnum<{
|
|
68
|
-
|
|
69
|
-
serviceAccount: "serviceAccount";
|
|
68
|
+
anonymous: "anonymous";
|
|
70
69
|
application: "application";
|
|
71
70
|
integration: "integration";
|
|
72
71
|
providerAccount: "providerAccount";
|
|
73
|
-
|
|
72
|
+
serviceAccount: "serviceAccount";
|
|
73
|
+
user: "user";
|
|
74
74
|
}>;
|
|
75
75
|
id: z.ZodOptional<z.ZodString>;
|
|
76
76
|
externalId: z.ZodOptional<z.ZodString>;
|
|
@@ -83,25 +83,25 @@ export declare const identityTokenRefreshResultSchema: z.ZodObject<{
|
|
|
83
83
|
claims: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
84
84
|
}, z.core.$strip>>;
|
|
85
85
|
accessModeUsed: z.ZodEnum<{
|
|
86
|
-
public: "public";
|
|
87
86
|
authorized: "authorized";
|
|
87
|
+
public: "public";
|
|
88
88
|
}>;
|
|
89
89
|
credential: z.ZodObject<{
|
|
90
90
|
kind: z.ZodEnum<{
|
|
91
|
-
|
|
92
|
-
none: "none";
|
|
91
|
+
accessToken: "accessToken";
|
|
93
92
|
apiKey: "apiKey";
|
|
94
93
|
basic: "basic";
|
|
94
|
+
custom: "custom";
|
|
95
|
+
none: "none";
|
|
95
96
|
refreshToken: "refreshToken";
|
|
96
|
-
accessToken: "accessToken";
|
|
97
97
|
session: "session";
|
|
98
98
|
}>;
|
|
99
99
|
transport: z.ZodDefault<z.ZodEnum<{
|
|
100
|
-
|
|
100
|
+
body: "body";
|
|
101
|
+
cookie: "cookie";
|
|
101
102
|
header: "header";
|
|
103
|
+
none: "none";
|
|
102
104
|
query: "query";
|
|
103
|
-
cookie: "cookie";
|
|
104
|
-
body: "body";
|
|
105
105
|
}>>;
|
|
106
106
|
scheme: z.ZodOptional<z.ZodString>;
|
|
107
107
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -113,20 +113,20 @@ export declare const identityTokenRefreshResultSchema: z.ZodObject<{
|
|
|
113
113
|
}, z.core.$strip>;
|
|
114
114
|
refreshCredential: z.ZodOptional<z.ZodObject<{
|
|
115
115
|
kind: z.ZodEnum<{
|
|
116
|
-
|
|
117
|
-
none: "none";
|
|
116
|
+
accessToken: "accessToken";
|
|
118
117
|
apiKey: "apiKey";
|
|
119
118
|
basic: "basic";
|
|
119
|
+
custom: "custom";
|
|
120
|
+
none: "none";
|
|
120
121
|
refreshToken: "refreshToken";
|
|
121
|
-
accessToken: "accessToken";
|
|
122
122
|
session: "session";
|
|
123
123
|
}>;
|
|
124
124
|
transport: z.ZodDefault<z.ZodEnum<{
|
|
125
|
-
|
|
125
|
+
body: "body";
|
|
126
|
+
cookie: "cookie";
|
|
126
127
|
header: "header";
|
|
128
|
+
none: "none";
|
|
127
129
|
query: "query";
|
|
128
|
-
cookie: "cookie";
|
|
129
|
-
body: "body";
|
|
130
130
|
}>>;
|
|
131
131
|
scheme: z.ZodOptional<z.ZodString>;
|
|
132
132
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const operationCode: "it.identity.token.revoke";
|
|
3
3
|
export declare const tokenRevokeReasonSchema: z.ZodEnum<{
|
|
4
|
-
|
|
5
|
-
logout: "logout";
|
|
6
|
-
rotation: "rotation";
|
|
4
|
+
adminAction: "adminAction";
|
|
7
5
|
compromised: "compromised";
|
|
8
6
|
disabled: "disabled";
|
|
9
|
-
|
|
7
|
+
expired: "expired";
|
|
8
|
+
logout: "logout";
|
|
10
9
|
other: "other";
|
|
10
|
+
rotation: "rotation";
|
|
11
11
|
}>;
|
|
12
12
|
export declare const identityTokenRevokeInputSchema: z.ZodObject<{
|
|
13
13
|
subject: z.ZodOptional<z.ZodObject<{
|
|
14
14
|
kind: z.ZodEnum<{
|
|
15
|
-
|
|
16
|
-
serviceAccount: "serviceAccount";
|
|
15
|
+
anonymous: "anonymous";
|
|
17
16
|
application: "application";
|
|
18
17
|
integration: "integration";
|
|
19
18
|
providerAccount: "providerAccount";
|
|
20
|
-
|
|
19
|
+
serviceAccount: "serviceAccount";
|
|
20
|
+
user: "user";
|
|
21
21
|
}>;
|
|
22
22
|
id: z.ZodOptional<z.ZodString>;
|
|
23
23
|
externalId: z.ZodOptional<z.ZodString>;
|
|
@@ -31,20 +31,20 @@ export declare const identityTokenRevokeInputSchema: z.ZodObject<{
|
|
|
31
31
|
}, z.core.$strip>>;
|
|
32
32
|
credential: z.ZodObject<{
|
|
33
33
|
kind: z.ZodEnum<{
|
|
34
|
-
|
|
35
|
-
none: "none";
|
|
34
|
+
accessToken: "accessToken";
|
|
36
35
|
apiKey: "apiKey";
|
|
37
36
|
basic: "basic";
|
|
37
|
+
custom: "custom";
|
|
38
|
+
none: "none";
|
|
38
39
|
refreshToken: "refreshToken";
|
|
39
|
-
accessToken: "accessToken";
|
|
40
40
|
session: "session";
|
|
41
41
|
}>;
|
|
42
42
|
transport: z.ZodDefault<z.ZodEnum<{
|
|
43
|
-
|
|
43
|
+
body: "body";
|
|
44
|
+
cookie: "cookie";
|
|
44
45
|
header: "header";
|
|
46
|
+
none: "none";
|
|
45
47
|
query: "query";
|
|
46
|
-
cookie: "cookie";
|
|
47
|
-
body: "body";
|
|
48
48
|
}>>;
|
|
49
49
|
scheme: z.ZodOptional<z.ZodString>;
|
|
50
50
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -55,13 +55,13 @@ export declare const identityTokenRevokeInputSchema: z.ZodObject<{
|
|
|
55
55
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
56
56
|
}, z.core.$strip>;
|
|
57
57
|
reason: z.ZodDefault<z.ZodEnum<{
|
|
58
|
-
|
|
59
|
-
logout: "logout";
|
|
60
|
-
rotation: "rotation";
|
|
58
|
+
adminAction: "adminAction";
|
|
61
59
|
compromised: "compromised";
|
|
62
60
|
disabled: "disabled";
|
|
63
|
-
|
|
61
|
+
expired: "expired";
|
|
62
|
+
logout: "logout";
|
|
64
63
|
other: "other";
|
|
64
|
+
rotation: "rotation";
|
|
65
65
|
}>>;
|
|
66
66
|
context: z.ZodOptional<z.ZodObject<{
|
|
67
67
|
requestId: z.ZodOptional<z.ZodString>;
|
|
@@ -76,13 +76,13 @@ export declare const identityTokenRevokeResultSchema: z.ZodObject<{
|
|
|
76
76
|
operationCode: z.ZodLiteral<"it.identity.token.revoke">;
|
|
77
77
|
revoked: z.ZodBoolean;
|
|
78
78
|
reason: z.ZodEnum<{
|
|
79
|
-
|
|
80
|
-
logout: "logout";
|
|
81
|
-
rotation: "rotation";
|
|
79
|
+
adminAction: "adminAction";
|
|
82
80
|
compromised: "compromised";
|
|
83
81
|
disabled: "disabled";
|
|
84
|
-
|
|
82
|
+
expired: "expired";
|
|
83
|
+
logout: "logout";
|
|
85
84
|
other: "other";
|
|
85
|
+
rotation: "rotation";
|
|
86
86
|
}>;
|
|
87
87
|
revokedAt: z.ZodOptional<z.ZodString>;
|
|
88
88
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const operationCode:
|
|
2
|
+
export declare const operationCode: 'storage.object.list';
|
|
3
3
|
export declare const listObjectsOptionsSchema: z.ZodObject<{
|
|
4
4
|
prefix: z.ZodDefault<z.ZodString>;
|
|
5
5
|
maxKeys: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const operationCode:
|
|
2
|
+
export declare const operationCode: 'storage.object.uploadFile';
|
|
3
3
|
export declare const uploadFileOptionsSchema: z.ZodObject<{
|
|
4
4
|
contentType: z.ZodOptional<z.ZodString>;
|
|
5
5
|
cacheControl: z.ZodOptional<z.ZodString>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const operationCode:
|
|
2
|
+
export declare const operationCode: 'storage.website.delete';
|
|
3
3
|
export declare const deleteBucketWebsiteInputSchema: z.ZodObject<{
|
|
4
4
|
bucketRef: z.ZodObject<{
|
|
5
5
|
bucket: z.ZodString;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opsregistry/contracts",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "Operation specifications and shared schemas for opsregistry.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -125,6 +125,6 @@
|
|
|
125
125
|
"zod": "4.4.3"
|
|
126
126
|
},
|
|
127
127
|
"devDependencies": {
|
|
128
|
-
"typescript": "
|
|
128
|
+
"typescript": "7.0.2"
|
|
129
129
|
}
|
|
130
130
|
}
|