@dfns/sdk 0.8.13 → 0.8.14-beta-1
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/generated/auth/client.js +2 -2
- package/generated/auth/delegatedClient.js +4 -4
- package/generated/auth/types.d.ts +2 -14
- package/generated/permissions/types.d.ts +2 -2
- package/generated/policies/types.d.ts +0 -144
- package/generated/wallets/client.d.ts +2 -0
- package/generated/wallets/client.js +24 -0
- package/generated/wallets/delegatedClient.d.ts +4 -0
- package/generated/wallets/delegatedClient.js +54 -0
- package/generated/wallets/types.d.ts +792 -0
- package/package.json +1 -1
|
@@ -25,8 +25,6 @@ export type ArchivePolicyResponse = {
|
|
|
25
25
|
};
|
|
26
26
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
27
27
|
initiatorCanApprove?: boolean | undefined;
|
|
28
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
29
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
30
28
|
}[];
|
|
31
29
|
autoRejectTimeout?: (number | undefined) | null;
|
|
32
30
|
} | {
|
|
@@ -57,8 +55,6 @@ export type ArchivePolicyResponse = {
|
|
|
57
55
|
};
|
|
58
56
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
59
57
|
initiatorCanApprove?: boolean | undefined;
|
|
60
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
61
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
62
58
|
}[];
|
|
63
59
|
autoRejectTimeout?: (number | undefined) | null;
|
|
64
60
|
} | {
|
|
@@ -93,8 +89,6 @@ export type ArchivePolicyResponse = {
|
|
|
93
89
|
};
|
|
94
90
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
95
91
|
initiatorCanApprove?: boolean | undefined;
|
|
96
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
97
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
98
92
|
}[];
|
|
99
93
|
autoRejectTimeout?: (number | undefined) | null;
|
|
100
94
|
} | {
|
|
@@ -129,8 +123,6 @@ export type ArchivePolicyResponse = {
|
|
|
129
123
|
};
|
|
130
124
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
131
125
|
initiatorCanApprove?: boolean | undefined;
|
|
132
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
133
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
134
126
|
}[];
|
|
135
127
|
autoRejectTimeout?: (number | undefined) | null;
|
|
136
128
|
};
|
|
@@ -163,8 +155,6 @@ export type ArchivePolicyResponse = {
|
|
|
163
155
|
};
|
|
164
156
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
165
157
|
initiatorCanApprove?: boolean | undefined;
|
|
166
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
167
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
168
158
|
}[];
|
|
169
159
|
autoRejectTimeout?: (number | undefined) | null;
|
|
170
160
|
} | {
|
|
@@ -276,8 +266,6 @@ export type ArchivePolicyResponse = {
|
|
|
276
266
|
};
|
|
277
267
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
278
268
|
initiatorCanApprove?: boolean | undefined;
|
|
279
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
280
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
281
269
|
}[];
|
|
282
270
|
autoRejectTimeout?: (number | undefined) | null;
|
|
283
271
|
} | {
|
|
@@ -2442,8 +2430,6 @@ export type CreateApprovalDecisionResponse = {
|
|
|
2442
2430
|
};
|
|
2443
2431
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
2444
2432
|
initiatorCanApprove?: boolean | undefined;
|
|
2445
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
2446
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
2447
2433
|
}[];
|
|
2448
2434
|
autoRejectTimeout?: (number | undefined) | null;
|
|
2449
2435
|
} | {
|
|
@@ -2474,8 +2460,6 @@ export type CreateApprovalDecisionResponse = {
|
|
|
2474
2460
|
};
|
|
2475
2461
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
2476
2462
|
initiatorCanApprove?: boolean | undefined;
|
|
2477
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
2478
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
2479
2463
|
}[];
|
|
2480
2464
|
autoRejectTimeout?: (number | undefined) | null;
|
|
2481
2465
|
} | {
|
|
@@ -2510,8 +2494,6 @@ export type CreateApprovalDecisionResponse = {
|
|
|
2510
2494
|
};
|
|
2511
2495
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
2512
2496
|
initiatorCanApprove?: boolean | undefined;
|
|
2513
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
2514
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
2515
2497
|
}[];
|
|
2516
2498
|
autoRejectTimeout?: (number | undefined) | null;
|
|
2517
2499
|
} | {
|
|
@@ -2546,8 +2528,6 @@ export type CreateApprovalDecisionResponse = {
|
|
|
2546
2528
|
};
|
|
2547
2529
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
2548
2530
|
initiatorCanApprove?: boolean | undefined;
|
|
2549
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
2550
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
2551
2531
|
}[];
|
|
2552
2532
|
autoRejectTimeout?: (number | undefined) | null;
|
|
2553
2533
|
};
|
|
@@ -2580,8 +2560,6 @@ export type CreateApprovalDecisionResponse = {
|
|
|
2580
2560
|
};
|
|
2581
2561
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
2582
2562
|
initiatorCanApprove?: boolean | undefined;
|
|
2583
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
2584
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
2585
2563
|
}[];
|
|
2586
2564
|
autoRejectTimeout?: (number | undefined) | null;
|
|
2587
2565
|
} | {
|
|
@@ -2693,8 +2671,6 @@ export type CreateApprovalDecisionResponse = {
|
|
|
2693
2671
|
};
|
|
2694
2672
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
2695
2673
|
initiatorCanApprove?: boolean | undefined;
|
|
2696
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
2697
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
2698
2674
|
}[];
|
|
2699
2675
|
autoRejectTimeout?: (number | undefined) | null;
|
|
2700
2676
|
} | {
|
|
@@ -2920,8 +2896,6 @@ export type CreatePolicyBody = {
|
|
|
2920
2896
|
};
|
|
2921
2897
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
2922
2898
|
initiatorCanApprove?: boolean | undefined;
|
|
2923
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
2924
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
2925
2899
|
}[];
|
|
2926
2900
|
autoRejectTimeout?: (number | undefined) | null;
|
|
2927
2901
|
} | {
|
|
@@ -2948,8 +2922,6 @@ export type CreatePolicyBody = {
|
|
|
2948
2922
|
};
|
|
2949
2923
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
2950
2924
|
initiatorCanApprove?: boolean | undefined;
|
|
2951
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
2952
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
2953
2925
|
}[];
|
|
2954
2926
|
autoRejectTimeout?: (number | undefined) | null;
|
|
2955
2927
|
} | {
|
|
@@ -2980,8 +2952,6 @@ export type CreatePolicyBody = {
|
|
|
2980
2952
|
};
|
|
2981
2953
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
2982
2954
|
initiatorCanApprove?: boolean | undefined;
|
|
2983
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
2984
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
2985
2955
|
}[];
|
|
2986
2956
|
autoRejectTimeout?: (number | undefined) | null;
|
|
2987
2957
|
} | {
|
|
@@ -3012,8 +2982,6 @@ export type CreatePolicyBody = {
|
|
|
3012
2982
|
};
|
|
3013
2983
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
3014
2984
|
initiatorCanApprove?: boolean | undefined;
|
|
3015
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
3016
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
3017
2985
|
}[];
|
|
3018
2986
|
autoRejectTimeout?: (number | undefined) | null;
|
|
3019
2987
|
};
|
|
@@ -3042,8 +3010,6 @@ export type CreatePolicyBody = {
|
|
|
3042
3010
|
};
|
|
3043
3011
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
3044
3012
|
initiatorCanApprove?: boolean | undefined;
|
|
3045
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
3046
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
3047
3013
|
}[];
|
|
3048
3014
|
autoRejectTimeout?: (number | undefined) | null;
|
|
3049
3015
|
} | {
|
|
@@ -3151,8 +3117,6 @@ export type CreatePolicyBody = {
|
|
|
3151
3117
|
};
|
|
3152
3118
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
3153
3119
|
initiatorCanApprove?: boolean | undefined;
|
|
3154
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
3155
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
3156
3120
|
}[];
|
|
3157
3121
|
autoRejectTimeout?: (number | undefined) | null;
|
|
3158
3122
|
} | {
|
|
@@ -3234,8 +3198,6 @@ export type CreatePolicyResponse = {
|
|
|
3234
3198
|
};
|
|
3235
3199
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
3236
3200
|
initiatorCanApprove?: boolean | undefined;
|
|
3237
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
3238
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
3239
3201
|
}[];
|
|
3240
3202
|
autoRejectTimeout?: (number | undefined) | null;
|
|
3241
3203
|
} | {
|
|
@@ -3266,8 +3228,6 @@ export type CreatePolicyResponse = {
|
|
|
3266
3228
|
};
|
|
3267
3229
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
3268
3230
|
initiatorCanApprove?: boolean | undefined;
|
|
3269
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
3270
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
3271
3231
|
}[];
|
|
3272
3232
|
autoRejectTimeout?: (number | undefined) | null;
|
|
3273
3233
|
} | {
|
|
@@ -3302,8 +3262,6 @@ export type CreatePolicyResponse = {
|
|
|
3302
3262
|
};
|
|
3303
3263
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
3304
3264
|
initiatorCanApprove?: boolean | undefined;
|
|
3305
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
3306
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
3307
3265
|
}[];
|
|
3308
3266
|
autoRejectTimeout?: (number | undefined) | null;
|
|
3309
3267
|
} | {
|
|
@@ -3338,8 +3296,6 @@ export type CreatePolicyResponse = {
|
|
|
3338
3296
|
};
|
|
3339
3297
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
3340
3298
|
initiatorCanApprove?: boolean | undefined;
|
|
3341
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
3342
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
3343
3299
|
}[];
|
|
3344
3300
|
autoRejectTimeout?: (number | undefined) | null;
|
|
3345
3301
|
};
|
|
@@ -3372,8 +3328,6 @@ export type CreatePolicyResponse = {
|
|
|
3372
3328
|
};
|
|
3373
3329
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
3374
3330
|
initiatorCanApprove?: boolean | undefined;
|
|
3375
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
3376
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
3377
3331
|
}[];
|
|
3378
3332
|
autoRejectTimeout?: (number | undefined) | null;
|
|
3379
3333
|
} | {
|
|
@@ -3485,8 +3439,6 @@ export type CreatePolicyResponse = {
|
|
|
3485
3439
|
};
|
|
3486
3440
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
3487
3441
|
initiatorCanApprove?: boolean | undefined;
|
|
3488
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
3489
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
3490
3442
|
}[];
|
|
3491
3443
|
autoRejectTimeout?: (number | undefined) | null;
|
|
3492
3444
|
} | {
|
|
@@ -5649,8 +5601,6 @@ export type GetApprovalResponse = {
|
|
|
5649
5601
|
};
|
|
5650
5602
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
5651
5603
|
initiatorCanApprove?: boolean | undefined;
|
|
5652
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
5653
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
5654
5604
|
}[];
|
|
5655
5605
|
autoRejectTimeout?: (number | undefined) | null;
|
|
5656
5606
|
} | {
|
|
@@ -5681,8 +5631,6 @@ export type GetApprovalResponse = {
|
|
|
5681
5631
|
};
|
|
5682
5632
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
5683
5633
|
initiatorCanApprove?: boolean | undefined;
|
|
5684
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
5685
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
5686
5634
|
}[];
|
|
5687
5635
|
autoRejectTimeout?: (number | undefined) | null;
|
|
5688
5636
|
} | {
|
|
@@ -5717,8 +5665,6 @@ export type GetApprovalResponse = {
|
|
|
5717
5665
|
};
|
|
5718
5666
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
5719
5667
|
initiatorCanApprove?: boolean | undefined;
|
|
5720
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
5721
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
5722
5668
|
}[];
|
|
5723
5669
|
autoRejectTimeout?: (number | undefined) | null;
|
|
5724
5670
|
} | {
|
|
@@ -5753,8 +5699,6 @@ export type GetApprovalResponse = {
|
|
|
5753
5699
|
};
|
|
5754
5700
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
5755
5701
|
initiatorCanApprove?: boolean | undefined;
|
|
5756
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
5757
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
5758
5702
|
}[];
|
|
5759
5703
|
autoRejectTimeout?: (number | undefined) | null;
|
|
5760
5704
|
};
|
|
@@ -5787,8 +5731,6 @@ export type GetApprovalResponse = {
|
|
|
5787
5731
|
};
|
|
5788
5732
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
5789
5733
|
initiatorCanApprove?: boolean | undefined;
|
|
5790
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
5791
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
5792
5734
|
}[];
|
|
5793
5735
|
autoRejectTimeout?: (number | undefined) | null;
|
|
5794
5736
|
} | {
|
|
@@ -5900,8 +5842,6 @@ export type GetApprovalResponse = {
|
|
|
5900
5842
|
};
|
|
5901
5843
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
5902
5844
|
initiatorCanApprove?: boolean | undefined;
|
|
5903
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
5904
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
5905
5845
|
}[];
|
|
5906
5846
|
autoRejectTimeout?: (number | undefined) | null;
|
|
5907
5847
|
} | {
|
|
@@ -6132,8 +6072,6 @@ export type GetPolicyResponse = ({
|
|
|
6132
6072
|
};
|
|
6133
6073
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
6134
6074
|
initiatorCanApprove?: boolean | undefined;
|
|
6135
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
6136
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
6137
6075
|
}[];
|
|
6138
6076
|
autoRejectTimeout?: (number | undefined) | null;
|
|
6139
6077
|
} | {
|
|
@@ -6164,8 +6102,6 @@ export type GetPolicyResponse = ({
|
|
|
6164
6102
|
};
|
|
6165
6103
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
6166
6104
|
initiatorCanApprove?: boolean | undefined;
|
|
6167
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
6168
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
6169
6105
|
}[];
|
|
6170
6106
|
autoRejectTimeout?: (number | undefined) | null;
|
|
6171
6107
|
} | {
|
|
@@ -6200,8 +6136,6 @@ export type GetPolicyResponse = ({
|
|
|
6200
6136
|
};
|
|
6201
6137
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
6202
6138
|
initiatorCanApprove?: boolean | undefined;
|
|
6203
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
6204
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
6205
6139
|
}[];
|
|
6206
6140
|
autoRejectTimeout?: (number | undefined) | null;
|
|
6207
6141
|
} | {
|
|
@@ -6236,8 +6170,6 @@ export type GetPolicyResponse = ({
|
|
|
6236
6170
|
};
|
|
6237
6171
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
6238
6172
|
initiatorCanApprove?: boolean | undefined;
|
|
6239
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
6240
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
6241
6173
|
}[];
|
|
6242
6174
|
autoRejectTimeout?: (number | undefined) | null;
|
|
6243
6175
|
};
|
|
@@ -6270,8 +6202,6 @@ export type GetPolicyResponse = ({
|
|
|
6270
6202
|
};
|
|
6271
6203
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
6272
6204
|
initiatorCanApprove?: boolean | undefined;
|
|
6273
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
6274
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
6275
6205
|
}[];
|
|
6276
6206
|
autoRejectTimeout?: (number | undefined) | null;
|
|
6277
6207
|
} | {
|
|
@@ -6383,8 +6313,6 @@ export type GetPolicyResponse = ({
|
|
|
6383
6313
|
};
|
|
6384
6314
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
6385
6315
|
initiatorCanApprove?: boolean | undefined;
|
|
6386
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
6387
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
6388
6316
|
}[];
|
|
6389
6317
|
autoRejectTimeout?: (number | undefined) | null;
|
|
6390
6318
|
} | {
|
|
@@ -6485,8 +6413,6 @@ export type GetPolicyResponse = ({
|
|
|
6485
6413
|
};
|
|
6486
6414
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
6487
6415
|
initiatorCanApprove?: boolean | undefined;
|
|
6488
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
6489
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
6490
6416
|
}[];
|
|
6491
6417
|
autoRejectTimeout?: (number | undefined) | null;
|
|
6492
6418
|
} | {
|
|
@@ -6517,8 +6443,6 @@ export type GetPolicyResponse = ({
|
|
|
6517
6443
|
};
|
|
6518
6444
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
6519
6445
|
initiatorCanApprove?: boolean | undefined;
|
|
6520
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
6521
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
6522
6446
|
}[];
|
|
6523
6447
|
autoRejectTimeout?: (number | undefined) | null;
|
|
6524
6448
|
} | {
|
|
@@ -6553,8 +6477,6 @@ export type GetPolicyResponse = ({
|
|
|
6553
6477
|
};
|
|
6554
6478
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
6555
6479
|
initiatorCanApprove?: boolean | undefined;
|
|
6556
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
6557
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
6558
6480
|
}[];
|
|
6559
6481
|
autoRejectTimeout?: (number | undefined) | null;
|
|
6560
6482
|
} | {
|
|
@@ -6589,8 +6511,6 @@ export type GetPolicyResponse = ({
|
|
|
6589
6511
|
};
|
|
6590
6512
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
6591
6513
|
initiatorCanApprove?: boolean | undefined;
|
|
6592
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
6593
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
6594
6514
|
}[];
|
|
6595
6515
|
autoRejectTimeout?: (number | undefined) | null;
|
|
6596
6516
|
};
|
|
@@ -6623,8 +6543,6 @@ export type GetPolicyResponse = ({
|
|
|
6623
6543
|
};
|
|
6624
6544
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
6625
6545
|
initiatorCanApprove?: boolean | undefined;
|
|
6626
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
6627
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
6628
6546
|
}[];
|
|
6629
6547
|
autoRejectTimeout?: (number | undefined) | null;
|
|
6630
6548
|
} | {
|
|
@@ -6736,8 +6654,6 @@ export type GetPolicyResponse = ({
|
|
|
6736
6654
|
};
|
|
6737
6655
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
6738
6656
|
initiatorCanApprove?: boolean | undefined;
|
|
6739
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
6740
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
6741
6657
|
}[];
|
|
6742
6658
|
autoRejectTimeout?: (number | undefined) | null;
|
|
6743
6659
|
} | {
|
|
@@ -8905,8 +8821,6 @@ export type ListApprovalsResponse = {
|
|
|
8905
8821
|
};
|
|
8906
8822
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
8907
8823
|
initiatorCanApprove?: boolean | undefined;
|
|
8908
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
8909
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
8910
8824
|
}[];
|
|
8911
8825
|
autoRejectTimeout?: (number | undefined) | null;
|
|
8912
8826
|
} | {
|
|
@@ -8937,8 +8851,6 @@ export type ListApprovalsResponse = {
|
|
|
8937
8851
|
};
|
|
8938
8852
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
8939
8853
|
initiatorCanApprove?: boolean | undefined;
|
|
8940
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
8941
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
8942
8854
|
}[];
|
|
8943
8855
|
autoRejectTimeout?: (number | undefined) | null;
|
|
8944
8856
|
} | {
|
|
@@ -8973,8 +8885,6 @@ export type ListApprovalsResponse = {
|
|
|
8973
8885
|
};
|
|
8974
8886
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
8975
8887
|
initiatorCanApprove?: boolean | undefined;
|
|
8976
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
8977
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
8978
8888
|
}[];
|
|
8979
8889
|
autoRejectTimeout?: (number | undefined) | null;
|
|
8980
8890
|
} | {
|
|
@@ -9009,8 +8919,6 @@ export type ListApprovalsResponse = {
|
|
|
9009
8919
|
};
|
|
9010
8920
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
9011
8921
|
initiatorCanApprove?: boolean | undefined;
|
|
9012
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
9013
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
9014
8922
|
}[];
|
|
9015
8923
|
autoRejectTimeout?: (number | undefined) | null;
|
|
9016
8924
|
};
|
|
@@ -9043,8 +8951,6 @@ export type ListApprovalsResponse = {
|
|
|
9043
8951
|
};
|
|
9044
8952
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
9045
8953
|
initiatorCanApprove?: boolean | undefined;
|
|
9046
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
9047
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
9048
8954
|
}[];
|
|
9049
8955
|
autoRejectTimeout?: (number | undefined) | null;
|
|
9050
8956
|
} | {
|
|
@@ -9156,8 +9062,6 @@ export type ListApprovalsResponse = {
|
|
|
9156
9062
|
};
|
|
9157
9063
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
9158
9064
|
initiatorCanApprove?: boolean | undefined;
|
|
9159
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
9160
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
9161
9065
|
}[];
|
|
9162
9066
|
autoRejectTimeout?: (number | undefined) | null;
|
|
9163
9067
|
} | {
|
|
@@ -9395,8 +9299,6 @@ export type ListPoliciesResponse = {
|
|
|
9395
9299
|
};
|
|
9396
9300
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
9397
9301
|
initiatorCanApprove?: boolean | undefined;
|
|
9398
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
9399
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
9400
9302
|
}[];
|
|
9401
9303
|
autoRejectTimeout?: (number | undefined) | null;
|
|
9402
9304
|
} | {
|
|
@@ -9427,8 +9329,6 @@ export type ListPoliciesResponse = {
|
|
|
9427
9329
|
};
|
|
9428
9330
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
9429
9331
|
initiatorCanApprove?: boolean | undefined;
|
|
9430
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
9431
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
9432
9332
|
}[];
|
|
9433
9333
|
autoRejectTimeout?: (number | undefined) | null;
|
|
9434
9334
|
} | {
|
|
@@ -9463,8 +9363,6 @@ export type ListPoliciesResponse = {
|
|
|
9463
9363
|
};
|
|
9464
9364
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
9465
9365
|
initiatorCanApprove?: boolean | undefined;
|
|
9466
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
9467
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
9468
9366
|
}[];
|
|
9469
9367
|
autoRejectTimeout?: (number | undefined) | null;
|
|
9470
9368
|
} | {
|
|
@@ -9499,8 +9397,6 @@ export type ListPoliciesResponse = {
|
|
|
9499
9397
|
};
|
|
9500
9398
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
9501
9399
|
initiatorCanApprove?: boolean | undefined;
|
|
9502
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
9503
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
9504
9400
|
}[];
|
|
9505
9401
|
autoRejectTimeout?: (number | undefined) | null;
|
|
9506
9402
|
};
|
|
@@ -9533,8 +9429,6 @@ export type ListPoliciesResponse = {
|
|
|
9533
9429
|
};
|
|
9534
9430
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
9535
9431
|
initiatorCanApprove?: boolean | undefined;
|
|
9536
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
9537
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
9538
9432
|
}[];
|
|
9539
9433
|
autoRejectTimeout?: (number | undefined) | null;
|
|
9540
9434
|
} | {
|
|
@@ -9646,8 +9540,6 @@ export type ListPoliciesResponse = {
|
|
|
9646
9540
|
};
|
|
9647
9541
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
9648
9542
|
initiatorCanApprove?: boolean | undefined;
|
|
9649
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
9650
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
9651
9543
|
}[];
|
|
9652
9544
|
autoRejectTimeout?: (number | undefined) | null;
|
|
9653
9545
|
} | {
|
|
@@ -9748,8 +9640,6 @@ export type ListPoliciesResponse = {
|
|
|
9748
9640
|
};
|
|
9749
9641
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
9750
9642
|
initiatorCanApprove?: boolean | undefined;
|
|
9751
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
9752
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
9753
9643
|
}[];
|
|
9754
9644
|
autoRejectTimeout?: (number | undefined) | null;
|
|
9755
9645
|
} | {
|
|
@@ -9780,8 +9670,6 @@ export type ListPoliciesResponse = {
|
|
|
9780
9670
|
};
|
|
9781
9671
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
9782
9672
|
initiatorCanApprove?: boolean | undefined;
|
|
9783
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
9784
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
9785
9673
|
}[];
|
|
9786
9674
|
autoRejectTimeout?: (number | undefined) | null;
|
|
9787
9675
|
} | {
|
|
@@ -9816,8 +9704,6 @@ export type ListPoliciesResponse = {
|
|
|
9816
9704
|
};
|
|
9817
9705
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
9818
9706
|
initiatorCanApprove?: boolean | undefined;
|
|
9819
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
9820
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
9821
9707
|
}[];
|
|
9822
9708
|
autoRejectTimeout?: (number | undefined) | null;
|
|
9823
9709
|
} | {
|
|
@@ -9852,8 +9738,6 @@ export type ListPoliciesResponse = {
|
|
|
9852
9738
|
};
|
|
9853
9739
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
9854
9740
|
initiatorCanApprove?: boolean | undefined;
|
|
9855
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
9856
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
9857
9741
|
}[];
|
|
9858
9742
|
autoRejectTimeout?: (number | undefined) | null;
|
|
9859
9743
|
};
|
|
@@ -9886,8 +9770,6 @@ export type ListPoliciesResponse = {
|
|
|
9886
9770
|
};
|
|
9887
9771
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
9888
9772
|
initiatorCanApprove?: boolean | undefined;
|
|
9889
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
9890
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
9891
9773
|
}[];
|
|
9892
9774
|
autoRejectTimeout?: (number | undefined) | null;
|
|
9893
9775
|
} | {
|
|
@@ -9999,8 +9881,6 @@ export type ListPoliciesResponse = {
|
|
|
9999
9881
|
};
|
|
10000
9882
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
10001
9883
|
initiatorCanApprove?: boolean | undefined;
|
|
10002
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
10003
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
10004
9884
|
}[];
|
|
10005
9885
|
autoRejectTimeout?: (number | undefined) | null;
|
|
10006
9886
|
} | {
|
|
@@ -10089,8 +9969,6 @@ export type UpdatePolicyBody = {
|
|
|
10089
9969
|
};
|
|
10090
9970
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
10091
9971
|
initiatorCanApprove?: boolean | undefined;
|
|
10092
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
10093
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
10094
9972
|
}[];
|
|
10095
9973
|
autoRejectTimeout?: (number | undefined) | null;
|
|
10096
9974
|
} | {
|
|
@@ -10117,8 +9995,6 @@ export type UpdatePolicyBody = {
|
|
|
10117
9995
|
};
|
|
10118
9996
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
10119
9997
|
initiatorCanApprove?: boolean | undefined;
|
|
10120
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
10121
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
10122
9998
|
}[];
|
|
10123
9999
|
autoRejectTimeout?: (number | undefined) | null;
|
|
10124
10000
|
} | {
|
|
@@ -10149,8 +10025,6 @@ export type UpdatePolicyBody = {
|
|
|
10149
10025
|
};
|
|
10150
10026
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
10151
10027
|
initiatorCanApprove?: boolean | undefined;
|
|
10152
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
10153
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
10154
10028
|
}[];
|
|
10155
10029
|
autoRejectTimeout?: (number | undefined) | null;
|
|
10156
10030
|
} | {
|
|
@@ -10181,8 +10055,6 @@ export type UpdatePolicyBody = {
|
|
|
10181
10055
|
};
|
|
10182
10056
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
10183
10057
|
initiatorCanApprove?: boolean | undefined;
|
|
10184
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
10185
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
10186
10058
|
}[];
|
|
10187
10059
|
autoRejectTimeout?: (number | undefined) | null;
|
|
10188
10060
|
};
|
|
@@ -10211,8 +10083,6 @@ export type UpdatePolicyBody = {
|
|
|
10211
10083
|
};
|
|
10212
10084
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
10213
10085
|
initiatorCanApprove?: boolean | undefined;
|
|
10214
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
10215
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
10216
10086
|
}[];
|
|
10217
10087
|
autoRejectTimeout?: (number | undefined) | null;
|
|
10218
10088
|
} | {
|
|
@@ -10320,8 +10190,6 @@ export type UpdatePolicyBody = {
|
|
|
10320
10190
|
};
|
|
10321
10191
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
10322
10192
|
initiatorCanApprove?: boolean | undefined;
|
|
10323
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
10324
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
10325
10193
|
}[];
|
|
10326
10194
|
autoRejectTimeout?: (number | undefined) | null;
|
|
10327
10195
|
} | {
|
|
@@ -10406,8 +10274,6 @@ export type UpdatePolicyResponse = {
|
|
|
10406
10274
|
};
|
|
10407
10275
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
10408
10276
|
initiatorCanApprove?: boolean | undefined;
|
|
10409
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
10410
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
10411
10277
|
}[];
|
|
10412
10278
|
autoRejectTimeout?: (number | undefined) | null;
|
|
10413
10279
|
} | {
|
|
@@ -10438,8 +10304,6 @@ export type UpdatePolicyResponse = {
|
|
|
10438
10304
|
};
|
|
10439
10305
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
10440
10306
|
initiatorCanApprove?: boolean | undefined;
|
|
10441
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
10442
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
10443
10307
|
}[];
|
|
10444
10308
|
autoRejectTimeout?: (number | undefined) | null;
|
|
10445
10309
|
} | {
|
|
@@ -10474,8 +10338,6 @@ export type UpdatePolicyResponse = {
|
|
|
10474
10338
|
};
|
|
10475
10339
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
10476
10340
|
initiatorCanApprove?: boolean | undefined;
|
|
10477
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
10478
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
10479
10341
|
}[];
|
|
10480
10342
|
autoRejectTimeout?: (number | undefined) | null;
|
|
10481
10343
|
} | {
|
|
@@ -10510,8 +10372,6 @@ export type UpdatePolicyResponse = {
|
|
|
10510
10372
|
};
|
|
10511
10373
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
10512
10374
|
initiatorCanApprove?: boolean | undefined;
|
|
10513
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
10514
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
10515
10375
|
}[];
|
|
10516
10376
|
autoRejectTimeout?: (number | undefined) | null;
|
|
10517
10377
|
};
|
|
@@ -10544,8 +10404,6 @@ export type UpdatePolicyResponse = {
|
|
|
10544
10404
|
};
|
|
10545
10405
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
10546
10406
|
initiatorCanApprove?: boolean | undefined;
|
|
10547
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
10548
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
10549
10407
|
}[];
|
|
10550
10408
|
autoRejectTimeout?: (number | undefined) | null;
|
|
10551
10409
|
} | {
|
|
@@ -10657,8 +10515,6 @@ export type UpdatePolicyResponse = {
|
|
|
10657
10515
|
};
|
|
10658
10516
|
/** Whether the initiator of the activity can participate in the approval. */
|
|
10659
10517
|
initiatorCanApprove?: boolean | undefined;
|
|
10660
|
-
/** Whether service accounts can participate in the approval for this group. */
|
|
10661
|
-
serviceAccountsCanApprove?: boolean | undefined;
|
|
10662
10518
|
}[];
|
|
10663
10519
|
autoRejectTimeout?: (number | undefined) | null;
|
|
10664
10520
|
} | {
|
|
@@ -3,6 +3,8 @@ import * as T from './types';
|
|
|
3
3
|
export declare class WalletsClient {
|
|
4
4
|
private apiOptions;
|
|
5
5
|
constructor(apiOptions: DfnsApiClientOptions);
|
|
6
|
+
abortTransaction(request: T.AbortTransactionRequest): Promise<T.AbortTransactionResponse>;
|
|
7
|
+
abortTransfer(request: T.AbortTransferRequest): Promise<T.AbortTransferResponse>;
|
|
6
8
|
acceptOffer(request: T.AcceptOfferRequest): Promise<T.AcceptOfferResponse>;
|
|
7
9
|
activateWallet(request: T.ActivateWalletRequest): Promise<T.ActivateWalletResponse>;
|
|
8
10
|
broadcastTransaction(request: T.BroadcastTransactionRequest): Promise<T.BroadcastTransactionResponse>;
|
|
@@ -9,6 +9,30 @@ class WalletsClient {
|
|
|
9
9
|
constructor(apiOptions) {
|
|
10
10
|
this.apiOptions = apiOptions;
|
|
11
11
|
}
|
|
12
|
+
async abortTransaction(request) {
|
|
13
|
+
const path = (0, url_1.buildPathAndQuery)('/wallets/:walletId/transactions/:transactionId/abort', {
|
|
14
|
+
path: request ?? {},
|
|
15
|
+
query: {},
|
|
16
|
+
});
|
|
17
|
+
const response = await (0, userActionFetch_1.userActionFetch)(path, {
|
|
18
|
+
method: 'PUT',
|
|
19
|
+
body: {},
|
|
20
|
+
apiOptions: this.apiOptions,
|
|
21
|
+
});
|
|
22
|
+
return response.json();
|
|
23
|
+
}
|
|
24
|
+
async abortTransfer(request) {
|
|
25
|
+
const path = (0, url_1.buildPathAndQuery)('/wallets/:walletId/transfers/:transferId/abort', {
|
|
26
|
+
path: request ?? {},
|
|
27
|
+
query: {},
|
|
28
|
+
});
|
|
29
|
+
const response = await (0, userActionFetch_1.userActionFetch)(path, {
|
|
30
|
+
method: 'PUT',
|
|
31
|
+
body: {},
|
|
32
|
+
apiOptions: this.apiOptions,
|
|
33
|
+
});
|
|
34
|
+
return response.json();
|
|
35
|
+
}
|
|
12
36
|
async acceptOffer(request) {
|
|
13
37
|
const path = (0, url_1.buildPathAndQuery)('/wallets/:walletId/offers/:offerId/accept', {
|
|
14
38
|
path: request ?? {},
|