@mojaloop/api-snippets 17.0.3-snapshot.1 → 17.0.3-snapshot.3
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/docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml +22 -21
- package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +2 -29
- package/lib/sdk-scheme-adapter/v2_0_0/backend/json-schemas.json +57 -29
- package/lib/sdk-scheme-adapter/v2_0_0/backend/openapi.d.ts +15 -9
- package/lib/sdk-scheme-adapter/v2_0_0/backend/schemas.d.ts +34 -17
- package/lib/sdk-scheme-adapter/v2_0_0/backend/schemas.js +1 -0
- package/lib/sdk-scheme-adapter/v2_0_0/backend/schemas.js.map +1 -1
- package/lib/sdk-scheme-adapter/v2_0_0/backend/types.d.ts +1 -0
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/json-schemas.json +47 -38
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/openapi.d.ts +4 -12
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.d.ts +29 -26
- package/package.json +1 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/individualQuoteResult.yaml +1 -10
- package/sdk-scheme-adapter/v2_0_0/components/schemas/individualTransferFulfilment.yaml +0 -4
- package/sdk-scheme-adapter/v2_0_0/components/schemas/individualTransferResult.yaml +2 -4
- package/sdk-scheme-adapter/v2_0_0/components/schemas/partyError.yaml +0 -4
- package/sdk-scheme-adapter/v2_0_0/components/schemas/quoteError.yaml +0 -4
- package/sdk-scheme-adapter/v2_0_0/components/schemas/transferError.yaml +0 -4
@@ -349,7 +349,6 @@ export declare namespace Schemas {
|
|
349
349
|
description: string;
|
350
350
|
};
|
351
351
|
mojaloopError: {
|
352
|
-
description: string;
|
353
352
|
type: string;
|
354
353
|
properties: {
|
355
354
|
errorInformation: {
|
@@ -519,7 +518,6 @@ export declare namespace Schemas {
|
|
519
518
|
description: string;
|
520
519
|
};
|
521
520
|
mojaloopError: {
|
522
|
-
description: string;
|
523
521
|
type: string;
|
524
522
|
properties: {
|
525
523
|
errorInformation: {
|
@@ -722,7 +720,6 @@ export declare namespace Schemas {
|
|
722
720
|
description: string;
|
723
721
|
};
|
724
722
|
mojaloopError: {
|
725
|
-
description: string;
|
726
723
|
type: string;
|
727
724
|
properties: {
|
728
725
|
errorInformation: {
|
@@ -1726,7 +1723,6 @@ export declare namespace Schemas {
|
|
1726
1723
|
description: string;
|
1727
1724
|
};
|
1728
1725
|
mojaloopError: {
|
1729
|
-
description: string;
|
1730
1726
|
type: string;
|
1731
1727
|
properties: {
|
1732
1728
|
errorInformation: {
|
@@ -1968,15 +1964,14 @@ export declare namespace Schemas {
|
|
1968
1964
|
required: string[];
|
1969
1965
|
};
|
1970
1966
|
lastError: {
|
1971
|
-
description: string;
|
1972
1967
|
type: string;
|
1968
|
+
description: string;
|
1973
1969
|
properties: {
|
1974
1970
|
httpStatusCode: {
|
1975
1971
|
type: string;
|
1976
1972
|
description: string;
|
1977
1973
|
};
|
1978
1974
|
mojaloopError: {
|
1979
|
-
description: string;
|
1980
1975
|
type: string;
|
1981
1976
|
properties: {
|
1982
1977
|
errorInformation: {
|
@@ -2286,15 +2281,14 @@ export declare namespace Schemas {
|
|
2286
2281
|
required: string[];
|
2287
2282
|
};
|
2288
2283
|
lastError: {
|
2289
|
-
description: string;
|
2290
2284
|
type: string;
|
2285
|
+
description: string;
|
2291
2286
|
properties: {
|
2292
2287
|
httpStatusCode: {
|
2293
2288
|
type: string;
|
2294
2289
|
description: string;
|
2295
2290
|
};
|
2296
2291
|
mojaloopError: {
|
2297
|
-
description: string;
|
2298
2292
|
type: string;
|
2299
2293
|
properties: {
|
2300
2294
|
errorInformation: {
|
@@ -2627,15 +2621,14 @@ export declare namespace Schemas {
|
|
2627
2621
|
required: string[];
|
2628
2622
|
};
|
2629
2623
|
lastError: {
|
2630
|
-
description: string;
|
2631
2624
|
type: string;
|
2625
|
+
description: string;
|
2632
2626
|
properties: {
|
2633
2627
|
httpStatusCode: {
|
2634
2628
|
type: string;
|
2635
2629
|
description: string;
|
2636
2630
|
};
|
2637
2631
|
mojaloopError: {
|
2638
|
-
description: string;
|
2639
2632
|
type: string;
|
2640
2633
|
properties: {
|
2641
2634
|
errorInformation: {
|
@@ -3653,7 +3646,6 @@ export declare namespace Schemas {
|
|
3653
3646
|
description: string;
|
3654
3647
|
};
|
3655
3648
|
mojaloopError: {
|
3656
|
-
description: string;
|
3657
3649
|
type: string;
|
3658
3650
|
properties: {
|
3659
3651
|
errorInformation: {
|
@@ -4220,7 +4212,6 @@ export declare namespace Schemas {
|
|
4220
4212
|
description: string;
|
4221
4213
|
};
|
4222
4214
|
mojaloopError: {
|
4223
|
-
description: string;
|
4224
4215
|
type: string;
|
4225
4216
|
properties: {
|
4226
4217
|
errorInformation: {
|
@@ -4354,11 +4345,11 @@ export declare namespace Schemas {
|
|
4354
4345
|
example: string;
|
4355
4346
|
};
|
4356
4347
|
fulfilment: {
|
4357
|
-
description: string;
|
4358
4348
|
title: string;
|
4359
4349
|
type: string;
|
4360
4350
|
pattern: string;
|
4361
4351
|
maxLength: number;
|
4352
|
+
description: string;
|
4362
4353
|
example: string;
|
4363
4354
|
};
|
4364
4355
|
extensionList: {
|
@@ -4397,6 +4388,13 @@ export declare namespace Schemas {
|
|
4397
4388
|
};
|
4398
4389
|
required: string[];
|
4399
4390
|
};
|
4391
|
+
transferState: {
|
4392
|
+
title: string;
|
4393
|
+
type: string;
|
4394
|
+
enum: string[];
|
4395
|
+
description: string;
|
4396
|
+
example: string;
|
4397
|
+
};
|
4400
4398
|
lastError: {
|
4401
4399
|
type: string;
|
4402
4400
|
description: string;
|
@@ -4406,7 +4404,6 @@ export declare namespace Schemas {
|
|
4406
4404
|
description: string;
|
4407
4405
|
};
|
4408
4406
|
mojaloopError: {
|
4409
|
-
description: string;
|
4410
4407
|
type: string;
|
4411
4408
|
properties: {
|
4412
4409
|
errorInformation: {
|
@@ -4564,11 +4561,11 @@ export declare namespace Schemas {
|
|
4564
4561
|
example: string;
|
4565
4562
|
};
|
4566
4563
|
fulfilment: {
|
4567
|
-
description: string;
|
4568
4564
|
title: string;
|
4569
4565
|
type: string;
|
4570
4566
|
pattern: string;
|
4571
4567
|
maxLength: number;
|
4568
|
+
description: string;
|
4572
4569
|
example: string;
|
4573
4570
|
};
|
4574
4571
|
extensionList: {
|
@@ -4607,6 +4604,13 @@ export declare namespace Schemas {
|
|
4607
4604
|
};
|
4608
4605
|
required: string[];
|
4609
4606
|
};
|
4607
|
+
transferState: {
|
4608
|
+
title: string;
|
4609
|
+
type: string;
|
4610
|
+
enum: string[];
|
4611
|
+
description: string;
|
4612
|
+
example: string;
|
4613
|
+
};
|
4610
4614
|
lastError: {
|
4611
4615
|
type: string;
|
4612
4616
|
description: string;
|
@@ -4616,7 +4620,6 @@ export declare namespace Schemas {
|
|
4616
4620
|
description: string;
|
4617
4621
|
};
|
4618
4622
|
mojaloopError: {
|
4619
|
-
description: string;
|
4620
4623
|
type: string;
|
4621
4624
|
properties: {
|
4622
4625
|
errorInformation: {
|
@@ -4797,11 +4800,11 @@ export declare namespace Schemas {
|
|
4797
4800
|
example: string;
|
4798
4801
|
};
|
4799
4802
|
fulfilment: {
|
4800
|
-
description: string;
|
4801
4803
|
title: string;
|
4802
4804
|
type: string;
|
4803
4805
|
pattern: string;
|
4804
4806
|
maxLength: number;
|
4807
|
+
description: string;
|
4805
4808
|
example: string;
|
4806
4809
|
};
|
4807
4810
|
extensionList: {
|
@@ -4840,6 +4843,13 @@ export declare namespace Schemas {
|
|
4840
4843
|
};
|
4841
4844
|
required: string[];
|
4842
4845
|
};
|
4846
|
+
transferState: {
|
4847
|
+
title: string;
|
4848
|
+
type: string;
|
4849
|
+
enum: string[];
|
4850
|
+
description: string;
|
4851
|
+
example: string;
|
4852
|
+
};
|
4843
4853
|
lastError: {
|
4844
4854
|
type: string;
|
4845
4855
|
description: string;
|
@@ -4849,7 +4859,6 @@ export declare namespace Schemas {
|
|
4849
4859
|
description: string;
|
4850
4860
|
};
|
4851
4861
|
mojaloopError: {
|
4852
|
-
description: string;
|
4853
4862
|
type: string;
|
4854
4863
|
properties: {
|
4855
4864
|
errorInformation: {
|
@@ -5048,7 +5057,6 @@ export declare namespace Schemas {
|
|
5048
5057
|
description: string;
|
5049
5058
|
};
|
5050
5059
|
mojaloopError: {
|
5051
|
-
description: string;
|
5052
5060
|
type: string;
|
5053
5061
|
properties: {
|
5054
5062
|
errorInformation: {
|
@@ -5183,7 +5191,6 @@ export declare namespace Schemas {
|
|
5183
5191
|
description: string;
|
5184
5192
|
};
|
5185
5193
|
mojaloopError: {
|
5186
|
-
description: string;
|
5187
5194
|
type: string;
|
5188
5195
|
properties: {
|
5189
5196
|
errorInformation: {
|
@@ -5326,7 +5333,6 @@ export declare namespace Schemas {
|
|
5326
5333
|
description: string;
|
5327
5334
|
};
|
5328
5335
|
mojaloopError: {
|
5329
|
-
description: string;
|
5330
5336
|
type: string;
|
5331
5337
|
properties: {
|
5332
5338
|
errorInformation: {
|
@@ -6032,11 +6038,11 @@ export declare namespace Schemas {
|
|
6032
6038
|
description: string;
|
6033
6039
|
properties: {
|
6034
6040
|
fulfilment: {
|
6035
|
-
description: string;
|
6036
6041
|
title: string;
|
6037
6042
|
type: string;
|
6038
6043
|
pattern: string;
|
6039
6044
|
maxLength: number;
|
6045
|
+
description: string;
|
6040
6046
|
example: string;
|
6041
6047
|
};
|
6042
6048
|
extensionList: {
|
@@ -6101,11 +6107,11 @@ export declare namespace Schemas {
|
|
6101
6107
|
description: string;
|
6102
6108
|
properties: {
|
6103
6109
|
fulfilment: {
|
6104
|
-
description: string;
|
6105
6110
|
title: string;
|
6106
6111
|
type: string;
|
6107
6112
|
pattern: string;
|
6108
6113
|
maxLength: number;
|
6114
|
+
description: string;
|
6109
6115
|
example: string;
|
6110
6116
|
};
|
6111
6117
|
extensionList: {
|
@@ -9529,7 +9535,6 @@ export declare namespace Schemas {
|
|
9529
9535
|
description: string;
|
9530
9536
|
};
|
9531
9537
|
mojaloopError: {
|
9532
|
-
description: string;
|
9533
9538
|
type: string;
|
9534
9539
|
properties: {
|
9535
9540
|
errorInformation: {
|
@@ -10183,7 +10188,6 @@ export declare namespace Schemas {
|
|
10183
10188
|
description: string;
|
10184
10189
|
};
|
10185
10190
|
mojaloopError: {
|
10186
|
-
description: string;
|
10187
10191
|
type: string;
|
10188
10192
|
properties: {
|
10189
10193
|
errorInformation: {
|
@@ -10860,7 +10864,6 @@ export declare namespace Schemas {
|
|
10860
10864
|
description: string;
|
10861
10865
|
};
|
10862
10866
|
mojaloopError: {
|
10863
|
-
description: string;
|
10864
10867
|
type: string;
|
10865
10868
|
properties: {
|
10866
10869
|
errorInformation: {
|
package/package.json
CHANGED
@@ -18,17 +18,8 @@ properties:
|
|
18
18
|
$ref: ./IlpCondition.yaml
|
19
19
|
extensionList:
|
20
20
|
$ref: ./ExtensionList.yaml
|
21
|
-
description: 'Optional extension, specific to deployment.'
|
22
21
|
lastError:
|
23
|
-
description: >
|
24
|
-
Object representing the last error to occur during a quote process. This
|
25
|
-
may be a Mojaloop API error returned from another entity in the scheme or
|
26
|
-
an object representing other types of error e.g. exceptions that may occur
|
27
|
-
inside the scheme adapter.
|
28
22
|
$ref: ./quoteError.yaml
|
29
|
-
|
30
23
|
required:
|
31
24
|
- quoteId
|
32
|
-
|
33
|
-
- ilpPacket
|
34
|
-
- condition
|
25
|
+
|
@@ -5,9 +5,5 @@ description: >-
|
|
5
5
|
properties:
|
6
6
|
fulfilment:
|
7
7
|
$ref: ./IlpFulfilment.yaml
|
8
|
-
description: >
|
9
|
-
Fulfilment of the condition specified with the transaction.
|
10
|
-
Mandatory if transfer has completed successfully.
|
11
8
|
extensionList:
|
12
9
|
$ref: ./ExtensionList.yaml
|
13
|
-
description: 'Optional extension, specific to deployment.'
|
@@ -6,11 +6,9 @@ properties:
|
|
6
6
|
$ref: ./CorrelationId.yaml
|
7
7
|
fulfilment:
|
8
8
|
$ref: ./IlpFulfilment.yaml
|
9
|
-
description: >
|
10
|
-
Fulfilment of the condition specified with the transaction.
|
11
|
-
Mandatory if transfer has completed successfully.
|
12
9
|
extensionList:
|
13
10
|
$ref: ./ExtensionList.yaml
|
14
|
-
|
11
|
+
transferState:
|
12
|
+
$ref: ./TransferState.yaml
|
15
13
|
lastError:
|
16
14
|
$ref: ./transferError.yaml
|
@@ -9,8 +9,4 @@ properties:
|
|
9
9
|
The HTTP status code returned to the caller. This is the same as the
|
10
10
|
actual HTTP status code returned with the response.
|
11
11
|
mojaloopError:
|
12
|
-
description: >-
|
13
|
-
If a transfer process results in an error callback during the asynchronous
|
14
|
-
Mojaloop API exchange, this property will contain the underlying Mojaloop
|
15
|
-
API error object.
|
16
12
|
$ref: ./mojaloopError.yaml
|
@@ -9,8 +9,4 @@ properties:
|
|
9
9
|
The HTTP status code returned to the caller. This is the same as the
|
10
10
|
actual HTTP status code returned with the response.
|
11
11
|
mojaloopError:
|
12
|
-
description: >-
|
13
|
-
If a quote process results in an error callback during the asynchronous
|
14
|
-
Mojaloop API exchange, this property will contain the underlying Mojaloop
|
15
|
-
API error object.
|
16
12
|
$ref: ./mojaloopError.yaml
|
@@ -9,8 +9,4 @@ properties:
|
|
9
9
|
The HTTP status code returned to the caller. This is the same as the
|
10
10
|
actual HTTP status code returned with the response.
|
11
11
|
mojaloopError:
|
12
|
-
description: >-
|
13
|
-
If a transfer process results in an error callback during the asynchronous
|
14
|
-
Mojaloop API exchange, this property will contain the underlying Mojaloop
|
15
|
-
API error object.
|
16
12
|
$ref: ./mojaloopError.yaml
|