@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
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const operationCode:
|
|
2
|
+
export declare const operationCode: 'finance.fiscalReceipt.create';
|
|
3
3
|
export declare const createReceiptInputSchema: z.ZodObject<{
|
|
4
4
|
merchantReceiptId: z.ZodOptional<z.ZodString>;
|
|
5
5
|
merchantOrderId: z.ZodOptional<z.ZodString>;
|
|
6
6
|
providerPaymentId: z.ZodOptional<z.ZodString>;
|
|
7
7
|
merchantInn: z.ZodOptional<z.ZodString>;
|
|
8
8
|
type: z.ZodDefault<z.ZodEnum<{
|
|
9
|
-
sell: "sell";
|
|
10
|
-
sellReturn: "sellReturn";
|
|
11
9
|
buy: "buy";
|
|
12
10
|
buyReturn: "buyReturn";
|
|
11
|
+
sell: "sell";
|
|
12
|
+
sellReturn: "sellReturn";
|
|
13
13
|
}>>;
|
|
14
14
|
customer: z.ZodObject<{
|
|
15
15
|
customerId: z.ZodOptional<z.ZodString>;
|
|
@@ -18,11 +18,11 @@ export declare const createReceiptInputSchema: z.ZodObject<{
|
|
|
18
18
|
phone: z.ZodOptional<z.ZodString>;
|
|
19
19
|
}, z.core.$strip>;
|
|
20
20
|
taxationSystem: z.ZodEnum<{
|
|
21
|
+
esn: "esn";
|
|
21
22
|
osn: "osn";
|
|
23
|
+
patent: "patent";
|
|
22
24
|
usnIncome: "usnIncome";
|
|
23
25
|
usnIncomeOutcome: "usnIncomeOutcome";
|
|
24
|
-
esn: "esn";
|
|
25
|
-
patent: "patent";
|
|
26
26
|
}>;
|
|
27
27
|
items: z.ZodArray<z.ZodObject<{
|
|
28
28
|
name: z.ZodString;
|
|
@@ -38,36 +38,36 @@ export declare const createReceiptInputSchema: z.ZodObject<{
|
|
|
38
38
|
vat: z.ZodEnum<{
|
|
39
39
|
none: "none";
|
|
40
40
|
vat0: "vat0";
|
|
41
|
-
vat5: "vat5";
|
|
42
|
-
vat7: "vat7";
|
|
43
41
|
vat10: "vat10";
|
|
44
|
-
vat20: "vat20";
|
|
45
|
-
vat22: "vat22";
|
|
46
42
|
vat105: "vat105";
|
|
47
43
|
vat107: "vat107";
|
|
48
44
|
vat110: "vat110";
|
|
49
45
|
vat120: "vat120";
|
|
50
46
|
vat122: "vat122";
|
|
47
|
+
vat20: "vat20";
|
|
48
|
+
vat22: "vat22";
|
|
49
|
+
vat5: "vat5";
|
|
50
|
+
vat7: "vat7";
|
|
51
51
|
}>;
|
|
52
52
|
paymentMethod: z.ZodDefault<z.ZodEnum<{
|
|
53
|
-
fullPrepayment: "fullPrepayment";
|
|
54
|
-
prepayment: "prepayment";
|
|
55
53
|
advance: "advance";
|
|
56
|
-
fullPayment: "fullPayment";
|
|
57
|
-
partialPayment: "partialPayment";
|
|
58
54
|
credit: "credit";
|
|
59
55
|
creditPayment: "creditPayment";
|
|
56
|
+
fullPayment: "fullPayment";
|
|
57
|
+
fullPrepayment: "fullPrepayment";
|
|
58
|
+
partialPayment: "partialPayment";
|
|
59
|
+
prepayment: "prepayment";
|
|
60
60
|
}>>;
|
|
61
61
|
paymentObject: z.ZodDefault<z.ZodEnum<{
|
|
62
|
+
agentCommission: "agentCommission";
|
|
63
|
+
another: "another";
|
|
62
64
|
commodity: "commodity";
|
|
65
|
+
composite: "composite";
|
|
63
66
|
excise: "excise";
|
|
67
|
+
intellectualActivity: "intellectualActivity";
|
|
64
68
|
job: "job";
|
|
65
|
-
service: "service";
|
|
66
69
|
payment: "payment";
|
|
67
|
-
|
|
68
|
-
intellectualActivity: "intellectualActivity";
|
|
69
|
-
composite: "composite";
|
|
70
|
-
another: "another";
|
|
70
|
+
service: "service";
|
|
71
71
|
}>>;
|
|
72
72
|
unitCode: z.ZodOptional<z.ZodString>;
|
|
73
73
|
supplierInn: z.ZodOptional<z.ZodString>;
|
|
@@ -110,10 +110,10 @@ export declare const createReceiptResultSchema: z.ZodObject<{
|
|
|
110
110
|
merchantReceiptId: z.ZodOptional<z.ZodString>;
|
|
111
111
|
merchantOrderId: z.ZodOptional<z.ZodString>;
|
|
112
112
|
status: z.ZodEnum<{
|
|
113
|
-
unknown: "unknown";
|
|
114
113
|
failed: "failed";
|
|
115
|
-
queued: "queued";
|
|
116
114
|
processed: "processed";
|
|
115
|
+
queued: "queued";
|
|
116
|
+
unknown: "unknown";
|
|
117
117
|
}>;
|
|
118
118
|
fiscalDetails: z.ZodOptional<z.ZodObject<{
|
|
119
119
|
documentNumber: z.ZodOptional<z.ZodString>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const operationCode:
|
|
2
|
+
export declare const operationCode: 'finance.merchantPayment.getStatus';
|
|
3
3
|
export declare const getPaymentStatusInputSchema: z.ZodObject<{
|
|
4
4
|
providerPaymentId: z.ZodOptional<z.ZodString>;
|
|
5
5
|
merchantOrderId: z.ZodOptional<z.ZodString>;
|
|
@@ -15,16 +15,16 @@ export declare const getPaymentStatusResultSchema: z.ZodObject<{
|
|
|
15
15
|
merchantOrderId: z.ZodOptional<z.ZodString>;
|
|
16
16
|
status: z.ZodEnum<{
|
|
17
17
|
authorized: "authorized";
|
|
18
|
-
unknown: "unknown";
|
|
19
|
-
created: "created";
|
|
20
|
-
pending: "pending";
|
|
21
|
-
confirmed: "confirmed";
|
|
22
|
-
paid: "paid";
|
|
23
18
|
cancelled: "cancelled";
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
confirmed: "confirmed";
|
|
20
|
+
created: "created";
|
|
26
21
|
expired: "expired";
|
|
27
22
|
failed: "failed";
|
|
23
|
+
paid: "paid";
|
|
24
|
+
partiallyRefunded: "partiallyRefunded";
|
|
25
|
+
pending: "pending";
|
|
26
|
+
refunded: "refunded";
|
|
27
|
+
unknown: "unknown";
|
|
28
28
|
}>;
|
|
29
29
|
amount: z.ZodOptional<z.ZodObject<{
|
|
30
30
|
amountMinor: z.ZodNumber;
|
|
@@ -35,11 +35,11 @@ export declare const getPaymentStatusResultSchema: z.ZodObject<{
|
|
|
35
35
|
currency: z.ZodDefault<z.ZodString>;
|
|
36
36
|
}, z.core.$strip>>;
|
|
37
37
|
paymentMethod: z.ZodOptional<z.ZodEnum<{
|
|
38
|
-
unknown: "unknown";
|
|
39
38
|
card: "card";
|
|
39
|
+
sberpay: "sberpay";
|
|
40
40
|
sbpQr: "sbpQr";
|
|
41
41
|
tpay: "tpay";
|
|
42
|
-
|
|
42
|
+
unknown: "unknown";
|
|
43
43
|
}>>;
|
|
44
44
|
rawStatus: z.ZodOptional<z.ZodString>;
|
|
45
45
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const operationCode:
|
|
2
|
+
export declare const operationCode: 'finance.fiscalReceipt.getStatus';
|
|
3
3
|
export declare const getReceiptStatusInputSchema: z.ZodObject<{
|
|
4
4
|
providerReceiptId: z.ZodString;
|
|
5
5
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -12,10 +12,10 @@ export declare const getReceiptStatusResultSchema: z.ZodObject<{
|
|
|
12
12
|
providerCode: z.ZodString;
|
|
13
13
|
providerReceiptId: z.ZodString;
|
|
14
14
|
status: z.ZodEnum<{
|
|
15
|
-
unknown: "unknown";
|
|
16
15
|
failed: "failed";
|
|
17
|
-
queued: "queued";
|
|
18
16
|
processed: "processed";
|
|
17
|
+
queued: "queued";
|
|
18
|
+
unknown: "unknown";
|
|
19
19
|
}>;
|
|
20
20
|
fiscalDetails: z.ZodOptional<z.ZodObject<{
|
|
21
21
|
documentNumber: z.ZodOptional<z.ZodString>;
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const receiptTypeSchema: z.ZodEnum<{
|
|
3
|
-
sell: "sell";
|
|
4
|
-
sellReturn: "sellReturn";
|
|
5
3
|
buy: "buy";
|
|
6
4
|
buyReturn: "buyReturn";
|
|
5
|
+
sell: "sell";
|
|
6
|
+
sellReturn: "sellReturn";
|
|
7
7
|
}>;
|
|
8
8
|
export declare const taxationSystemSchema: z.ZodEnum<{
|
|
9
|
+
esn: "esn";
|
|
9
10
|
osn: "osn";
|
|
11
|
+
patent: "patent";
|
|
10
12
|
usnIncome: "usnIncome";
|
|
11
13
|
usnIncomeOutcome: "usnIncomeOutcome";
|
|
12
|
-
esn: "esn";
|
|
13
|
-
patent: "patent";
|
|
14
14
|
}>;
|
|
15
15
|
export declare const receiptVatSchema: z.ZodEnum<{
|
|
16
16
|
none: "none";
|
|
17
17
|
vat0: "vat0";
|
|
18
|
-
vat5: "vat5";
|
|
19
|
-
vat7: "vat7";
|
|
20
18
|
vat10: "vat10";
|
|
21
|
-
vat20: "vat20";
|
|
22
|
-
vat22: "vat22";
|
|
23
19
|
vat105: "vat105";
|
|
24
20
|
vat107: "vat107";
|
|
25
21
|
vat110: "vat110";
|
|
26
22
|
vat120: "vat120";
|
|
27
23
|
vat122: "vat122";
|
|
24
|
+
vat20: "vat20";
|
|
25
|
+
vat22: "vat22";
|
|
26
|
+
vat5: "vat5";
|
|
27
|
+
vat7: "vat7";
|
|
28
28
|
}>;
|
|
29
29
|
export declare const receiptPaymentMethodSchema: z.ZodEnum<{
|
|
30
|
-
fullPrepayment: "fullPrepayment";
|
|
31
|
-
prepayment: "prepayment";
|
|
32
30
|
advance: "advance";
|
|
33
|
-
fullPayment: "fullPayment";
|
|
34
|
-
partialPayment: "partialPayment";
|
|
35
31
|
credit: "credit";
|
|
36
32
|
creditPayment: "creditPayment";
|
|
33
|
+
fullPayment: "fullPayment";
|
|
34
|
+
fullPrepayment: "fullPrepayment";
|
|
35
|
+
partialPayment: "partialPayment";
|
|
36
|
+
prepayment: "prepayment";
|
|
37
37
|
}>;
|
|
38
38
|
export declare const receiptPaymentObjectSchema: z.ZodEnum<{
|
|
39
|
+
agentCommission: "agentCommission";
|
|
40
|
+
another: "another";
|
|
39
41
|
commodity: "commodity";
|
|
42
|
+
composite: "composite";
|
|
40
43
|
excise: "excise";
|
|
44
|
+
intellectualActivity: "intellectualActivity";
|
|
41
45
|
job: "job";
|
|
42
|
-
service: "service";
|
|
43
46
|
payment: "payment";
|
|
44
|
-
|
|
45
|
-
intellectualActivity: "intellectualActivity";
|
|
46
|
-
composite: "composite";
|
|
47
|
-
another: "another";
|
|
47
|
+
service: "service";
|
|
48
48
|
}>;
|
|
49
49
|
export declare const receiptItemSchema: z.ZodObject<{
|
|
50
50
|
name: z.ZodString;
|
|
@@ -60,36 +60,36 @@ export declare const receiptItemSchema: z.ZodObject<{
|
|
|
60
60
|
vat: z.ZodEnum<{
|
|
61
61
|
none: "none";
|
|
62
62
|
vat0: "vat0";
|
|
63
|
-
vat5: "vat5";
|
|
64
|
-
vat7: "vat7";
|
|
65
63
|
vat10: "vat10";
|
|
66
|
-
vat20: "vat20";
|
|
67
|
-
vat22: "vat22";
|
|
68
64
|
vat105: "vat105";
|
|
69
65
|
vat107: "vat107";
|
|
70
66
|
vat110: "vat110";
|
|
71
67
|
vat120: "vat120";
|
|
72
68
|
vat122: "vat122";
|
|
69
|
+
vat20: "vat20";
|
|
70
|
+
vat22: "vat22";
|
|
71
|
+
vat5: "vat5";
|
|
72
|
+
vat7: "vat7";
|
|
73
73
|
}>;
|
|
74
74
|
paymentMethod: z.ZodDefault<z.ZodEnum<{
|
|
75
|
-
fullPrepayment: "fullPrepayment";
|
|
76
|
-
prepayment: "prepayment";
|
|
77
75
|
advance: "advance";
|
|
78
|
-
fullPayment: "fullPayment";
|
|
79
|
-
partialPayment: "partialPayment";
|
|
80
76
|
credit: "credit";
|
|
81
77
|
creditPayment: "creditPayment";
|
|
78
|
+
fullPayment: "fullPayment";
|
|
79
|
+
fullPrepayment: "fullPrepayment";
|
|
80
|
+
partialPayment: "partialPayment";
|
|
81
|
+
prepayment: "prepayment";
|
|
82
82
|
}>>;
|
|
83
83
|
paymentObject: z.ZodDefault<z.ZodEnum<{
|
|
84
|
+
agentCommission: "agentCommission";
|
|
85
|
+
another: "another";
|
|
84
86
|
commodity: "commodity";
|
|
87
|
+
composite: "composite";
|
|
85
88
|
excise: "excise";
|
|
89
|
+
intellectualActivity: "intellectualActivity";
|
|
86
90
|
job: "job";
|
|
87
|
-
service: "service";
|
|
88
91
|
payment: "payment";
|
|
89
|
-
|
|
90
|
-
intellectualActivity: "intellectualActivity";
|
|
91
|
-
composite: "composite";
|
|
92
|
-
another: "another";
|
|
92
|
+
service: "service";
|
|
93
93
|
}>>;
|
|
94
94
|
unitCode: z.ZodOptional<z.ZodString>;
|
|
95
95
|
supplierInn: z.ZodOptional<z.ZodString>;
|
|
@@ -118,10 +118,10 @@ export declare const receiptAmountsSchema: z.ZodObject<{
|
|
|
118
118
|
}, z.core.$strip>>;
|
|
119
119
|
}, z.core.$strip>;
|
|
120
120
|
export declare const receiptStatusSchema: z.ZodEnum<{
|
|
121
|
-
unknown: "unknown";
|
|
122
121
|
failed: "failed";
|
|
123
|
-
queued: "queued";
|
|
124
122
|
processed: "processed";
|
|
123
|
+
queued: "queued";
|
|
124
|
+
unknown: "unknown";
|
|
125
125
|
}>;
|
|
126
126
|
export declare const receiptFiscalDetailsSchema: z.ZodObject<{
|
|
127
127
|
documentNumber: z.ZodOptional<z.ZodString>;
|
|
@@ -139,10 +139,10 @@ export declare const receiptDraftSchema: z.ZodObject<{
|
|
|
139
139
|
providerPaymentId: z.ZodOptional<z.ZodString>;
|
|
140
140
|
merchantInn: z.ZodOptional<z.ZodString>;
|
|
141
141
|
type: z.ZodDefault<z.ZodEnum<{
|
|
142
|
-
sell: "sell";
|
|
143
|
-
sellReturn: "sellReturn";
|
|
144
142
|
buy: "buy";
|
|
145
143
|
buyReturn: "buyReturn";
|
|
144
|
+
sell: "sell";
|
|
145
|
+
sellReturn: "sellReturn";
|
|
146
146
|
}>>;
|
|
147
147
|
customer: z.ZodObject<{
|
|
148
148
|
customerId: z.ZodOptional<z.ZodString>;
|
|
@@ -151,11 +151,11 @@ export declare const receiptDraftSchema: z.ZodObject<{
|
|
|
151
151
|
phone: z.ZodOptional<z.ZodString>;
|
|
152
152
|
}, z.core.$strip>;
|
|
153
153
|
taxationSystem: z.ZodEnum<{
|
|
154
|
+
esn: "esn";
|
|
154
155
|
osn: "osn";
|
|
156
|
+
patent: "patent";
|
|
155
157
|
usnIncome: "usnIncome";
|
|
156
158
|
usnIncomeOutcome: "usnIncomeOutcome";
|
|
157
|
-
esn: "esn";
|
|
158
|
-
patent: "patent";
|
|
159
159
|
}>;
|
|
160
160
|
items: z.ZodArray<z.ZodObject<{
|
|
161
161
|
name: z.ZodString;
|
|
@@ -171,36 +171,36 @@ export declare const receiptDraftSchema: z.ZodObject<{
|
|
|
171
171
|
vat: z.ZodEnum<{
|
|
172
172
|
none: "none";
|
|
173
173
|
vat0: "vat0";
|
|
174
|
-
vat5: "vat5";
|
|
175
|
-
vat7: "vat7";
|
|
176
174
|
vat10: "vat10";
|
|
177
|
-
vat20: "vat20";
|
|
178
|
-
vat22: "vat22";
|
|
179
175
|
vat105: "vat105";
|
|
180
176
|
vat107: "vat107";
|
|
181
177
|
vat110: "vat110";
|
|
182
178
|
vat120: "vat120";
|
|
183
179
|
vat122: "vat122";
|
|
180
|
+
vat20: "vat20";
|
|
181
|
+
vat22: "vat22";
|
|
182
|
+
vat5: "vat5";
|
|
183
|
+
vat7: "vat7";
|
|
184
184
|
}>;
|
|
185
185
|
paymentMethod: z.ZodDefault<z.ZodEnum<{
|
|
186
|
-
fullPrepayment: "fullPrepayment";
|
|
187
|
-
prepayment: "prepayment";
|
|
188
186
|
advance: "advance";
|
|
189
|
-
fullPayment: "fullPayment";
|
|
190
|
-
partialPayment: "partialPayment";
|
|
191
187
|
credit: "credit";
|
|
192
188
|
creditPayment: "creditPayment";
|
|
189
|
+
fullPayment: "fullPayment";
|
|
190
|
+
fullPrepayment: "fullPrepayment";
|
|
191
|
+
partialPayment: "partialPayment";
|
|
192
|
+
prepayment: "prepayment";
|
|
193
193
|
}>>;
|
|
194
194
|
paymentObject: z.ZodDefault<z.ZodEnum<{
|
|
195
|
+
agentCommission: "agentCommission";
|
|
196
|
+
another: "another";
|
|
195
197
|
commodity: "commodity";
|
|
198
|
+
composite: "composite";
|
|
196
199
|
excise: "excise";
|
|
200
|
+
intellectualActivity: "intellectualActivity";
|
|
197
201
|
job: "job";
|
|
198
|
-
service: "service";
|
|
199
202
|
payment: "payment";
|
|
200
|
-
|
|
201
|
-
intellectualActivity: "intellectualActivity";
|
|
202
|
-
composite: "composite";
|
|
203
|
-
another: "another";
|
|
203
|
+
service: "service";
|
|
204
204
|
}>>;
|
|
205
205
|
unitCode: z.ZodOptional<z.ZodString>;
|
|
206
206
|
supplierInn: z.ZodOptional<z.ZodString>;
|
|
@@ -3,12 +3,12 @@ export declare const operationCode: "it.access.authorize";
|
|
|
3
3
|
export declare const accessAuthorizeInputSchema: z.ZodObject<{
|
|
4
4
|
subject: 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>;
|
|
@@ -3,12 +3,12 @@ export declare const operationCode: "it.access.policy.evaluate";
|
|
|
3
3
|
export declare const accessPolicyEvaluateInputSchema: z.ZodObject<{
|
|
4
4
|
subject: 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>;
|
package/dist/it/iam-common.d.ts
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const accessModeSchema: z.ZodEnum<{
|
|
3
|
-
public: "public";
|
|
4
3
|
authorized: "authorized";
|
|
4
|
+
public: "public";
|
|
5
5
|
}>;
|
|
6
6
|
export declare const requestedAccessModeSchema: z.ZodEnum<{
|
|
7
|
-
public: "public";
|
|
8
7
|
authorized: "authorized";
|
|
9
8
|
auto: "auto";
|
|
9
|
+
public: "public";
|
|
10
10
|
}>;
|
|
11
11
|
export declare const subjectKindSchema: z.ZodEnum<{
|
|
12
|
-
|
|
13
|
-
serviceAccount: "serviceAccount";
|
|
12
|
+
anonymous: "anonymous";
|
|
14
13
|
application: "application";
|
|
15
14
|
integration: "integration";
|
|
16
15
|
providerAccount: "providerAccount";
|
|
17
|
-
|
|
16
|
+
serviceAccount: "serviceAccount";
|
|
17
|
+
user: "user";
|
|
18
18
|
}>;
|
|
19
19
|
export declare const authMethodSchema: z.ZodEnum<{
|
|
20
|
-
custom: "custom";
|
|
21
|
-
none: "none";
|
|
22
|
-
password: "password";
|
|
23
20
|
apiKey: "apiKey";
|
|
24
21
|
basic: "basic";
|
|
25
22
|
bearerToken: "bearerToken";
|
|
23
|
+
custom: "custom";
|
|
24
|
+
none: "none";
|
|
26
25
|
oauth2ClientCredentials: "oauth2ClientCredentials";
|
|
26
|
+
password: "password";
|
|
27
27
|
refreshToken: "refreshToken";
|
|
28
28
|
sessionCredential: "sessionCredential";
|
|
29
29
|
}>;
|
|
30
30
|
export declare const credentialKindSchema: z.ZodEnum<{
|
|
31
|
-
|
|
32
|
-
none: "none";
|
|
31
|
+
accessToken: "accessToken";
|
|
33
32
|
apiKey: "apiKey";
|
|
34
33
|
basic: "basic";
|
|
34
|
+
custom: "custom";
|
|
35
|
+
none: "none";
|
|
35
36
|
refreshToken: "refreshToken";
|
|
36
|
-
accessToken: "accessToken";
|
|
37
37
|
session: "session";
|
|
38
38
|
}>;
|
|
39
39
|
export declare const credentialTransportSchema: z.ZodEnum<{
|
|
40
|
-
|
|
40
|
+
body: "body";
|
|
41
|
+
cookie: "cookie";
|
|
41
42
|
header: "header";
|
|
43
|
+
none: "none";
|
|
42
44
|
query: "query";
|
|
43
|
-
cookie: "cookie";
|
|
44
|
-
body: "body";
|
|
45
45
|
}>;
|
|
46
46
|
export declare const authStatusSchema: z.ZodEnum<{
|
|
47
|
-
failed: "failed";
|
|
48
47
|
anonymous: "anonymous";
|
|
49
48
|
authenticated: "authenticated";
|
|
50
49
|
challengeRequired: "challengeRequired";
|
|
50
|
+
failed: "failed";
|
|
51
51
|
}>;
|
|
52
52
|
export declare const authDecisionSchema: z.ZodEnum<{
|
|
53
53
|
allow: "allow";
|
|
@@ -56,12 +56,12 @@ export declare const authDecisionSchema: z.ZodEnum<{
|
|
|
56
56
|
}>;
|
|
57
57
|
export declare const identitySubjectSchema: z.ZodObject<{
|
|
58
58
|
kind: z.ZodEnum<{
|
|
59
|
-
|
|
60
|
-
serviceAccount: "serviceAccount";
|
|
59
|
+
anonymous: "anonymous";
|
|
61
60
|
application: "application";
|
|
62
61
|
integration: "integration";
|
|
63
62
|
providerAccount: "providerAccount";
|
|
64
|
-
|
|
63
|
+
serviceAccount: "serviceAccount";
|
|
64
|
+
user: "user";
|
|
65
65
|
}>;
|
|
66
66
|
id: z.ZodOptional<z.ZodString>;
|
|
67
67
|
externalId: z.ZodOptional<z.ZodString>;
|
|
@@ -75,20 +75,20 @@ export declare const identitySubjectSchema: z.ZodObject<{
|
|
|
75
75
|
}, z.core.$strip>;
|
|
76
76
|
export declare const credentialMaterialSchema: z.ZodObject<{
|
|
77
77
|
kind: z.ZodEnum<{
|
|
78
|
-
|
|
79
|
-
none: "none";
|
|
78
|
+
accessToken: "accessToken";
|
|
80
79
|
apiKey: "apiKey";
|
|
81
80
|
basic: "basic";
|
|
81
|
+
custom: "custom";
|
|
82
|
+
none: "none";
|
|
82
83
|
refreshToken: "refreshToken";
|
|
83
|
-
accessToken: "accessToken";
|
|
84
84
|
session: "session";
|
|
85
85
|
}>;
|
|
86
86
|
transport: z.ZodDefault<z.ZodEnum<{
|
|
87
|
-
|
|
87
|
+
body: "body";
|
|
88
|
+
cookie: "cookie";
|
|
88
89
|
header: "header";
|
|
90
|
+
none: "none";
|
|
89
91
|
query: "query";
|
|
90
|
-
cookie: "cookie";
|
|
91
|
-
body: "body";
|
|
92
92
|
}>>;
|
|
93
93
|
scheme: z.ZodOptional<z.ZodString>;
|
|
94
94
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -12,30 +12,30 @@ export declare const identityAuthenticateInputSchema: z.ZodObject<{
|
|
|
12
12
|
scopes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
13
13
|
claims: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
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
|
}, z.core.$strip>;
|
|
23
23
|
method: z.ZodEnum<{
|
|
24
|
-
custom: "custom";
|
|
25
|
-
none: "none";
|
|
26
|
-
password: "password";
|
|
27
24
|
apiKey: "apiKey";
|
|
28
25
|
basic: "basic";
|
|
29
26
|
bearerToken: "bearerToken";
|
|
27
|
+
custom: "custom";
|
|
28
|
+
none: "none";
|
|
30
29
|
oauth2ClientCredentials: "oauth2ClientCredentials";
|
|
30
|
+
password: "password";
|
|
31
31
|
refreshToken: "refreshToken";
|
|
32
32
|
sessionCredential: "sessionCredential";
|
|
33
33
|
}>;
|
|
34
34
|
credentials: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
35
35
|
requestedAccessMode: z.ZodDefault<z.ZodEnum<{
|
|
36
|
-
public: "public";
|
|
37
36
|
authorized: "authorized";
|
|
38
37
|
auto: "auto";
|
|
38
|
+
public: "public";
|
|
39
39
|
}>>;
|
|
40
40
|
requestedScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
41
41
|
context: z.ZodOptional<z.ZodObject<{
|
|
@@ -50,19 +50,19 @@ export declare const identityAuthenticateInputSchema: z.ZodObject<{
|
|
|
50
50
|
export declare const identityAuthenticateResultSchema: z.ZodObject<{
|
|
51
51
|
operationCode: z.ZodLiteral<"it.identity.authenticate">;
|
|
52
52
|
status: z.ZodEnum<{
|
|
53
|
-
failed: "failed";
|
|
54
53
|
anonymous: "anonymous";
|
|
55
54
|
authenticated: "authenticated";
|
|
56
55
|
challengeRequired: "challengeRequired";
|
|
56
|
+
failed: "failed";
|
|
57
57
|
}>;
|
|
58
58
|
subject: z.ZodOptional<z.ZodObject<{
|
|
59
59
|
kind: z.ZodEnum<{
|
|
60
|
-
|
|
61
|
-
serviceAccount: "serviceAccount";
|
|
60
|
+
anonymous: "anonymous";
|
|
62
61
|
application: "application";
|
|
63
62
|
integration: "integration";
|
|
64
63
|
providerAccount: "providerAccount";
|
|
65
|
-
|
|
64
|
+
serviceAccount: "serviceAccount";
|
|
65
|
+
user: "user";
|
|
66
66
|
}>;
|
|
67
67
|
id: z.ZodOptional<z.ZodString>;
|
|
68
68
|
externalId: z.ZodOptional<z.ZodString>;
|
|
@@ -75,25 +75,25 @@ export declare const identityAuthenticateResultSchema: z.ZodObject<{
|
|
|
75
75
|
claims: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
76
76
|
}, z.core.$strip>>;
|
|
77
77
|
accessModeUsed: z.ZodEnum<{
|
|
78
|
-
public: "public";
|
|
79
78
|
authorized: "authorized";
|
|
79
|
+
public: "public";
|
|
80
80
|
}>;
|
|
81
81
|
credential: z.ZodOptional<z.ZodObject<{
|
|
82
82
|
kind: z.ZodEnum<{
|
|
83
|
-
|
|
84
|
-
none: "none";
|
|
83
|
+
accessToken: "accessToken";
|
|
85
84
|
apiKey: "apiKey";
|
|
86
85
|
basic: "basic";
|
|
86
|
+
custom: "custom";
|
|
87
|
+
none: "none";
|
|
87
88
|
refreshToken: "refreshToken";
|
|
88
|
-
accessToken: "accessToken";
|
|
89
89
|
session: "session";
|
|
90
90
|
}>;
|
|
91
91
|
transport: z.ZodDefault<z.ZodEnum<{
|
|
92
|
-
|
|
92
|
+
body: "body";
|
|
93
|
+
cookie: "cookie";
|
|
93
94
|
header: "header";
|
|
95
|
+
none: "none";
|
|
94
96
|
query: "query";
|
|
95
|
-
cookie: "cookie";
|
|
96
|
-
body: "body";
|
|
97
97
|
}>>;
|
|
98
98
|
scheme: z.ZodOptional<z.ZodString>;
|
|
99
99
|
name: z.ZodOptional<z.ZodString>;
|