@mojaloop/api-snippets 17.0.0 → 17.0.2-snapshot.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml +2744 -0
  3. package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +40 -8
  4. package/lib/example.d.ts +1 -1
  5. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/index.d.ts +0 -0
  6. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/index.js +0 -0
  7. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/index.js.map +1 -1
  8. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/json-schemas.json +9599 -9297
  9. package/lib/sdk-scheme-adapter/v2_0_0/backend/openapi.d.ts +4505 -0
  10. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/openapi.js +0 -0
  11. package/lib/sdk-scheme-adapter/v2_0_0/backend/openapi.js.map +1 -0
  12. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/schemas.d.ts +3224 -3277
  13. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/schemas.js +52 -58
  14. package/lib/sdk-scheme-adapter/v2_0_0/backend/schemas.js.map +1 -0
  15. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/types.d.ts +52 -58
  16. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/types.js +0 -0
  17. package/lib/sdk-scheme-adapter/v2_0_0/backend/types.js.map +1 -0
  18. package/lib/sdk-scheme-adapter/v2_0_0/index.d.ts +2 -2
  19. package/lib/sdk-scheme-adapter/v2_0_0/index.js +3 -3
  20. package/lib/sdk-scheme-adapter/v2_0_0/outbound/json-schemas.json +63 -7
  21. package/lib/sdk-scheme-adapter/v2_0_0/outbound/openapi.d.ts +186 -6
  22. package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.d.ts +63 -7
  23. package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.js +1 -1
  24. package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.js.map +1 -1
  25. package/lib/sdk-scheme-adapter/v2_0_0/outbound/types.d.ts +1 -1
  26. package/package.json +23 -23
  27. package/sdk-scheme-adapter/v2_0_0/backend/openapi.yaml +1723 -0
  28. package/sdk-scheme-adapter/v2_0_0/components/schemas/individualQuote.yaml +2 -0
  29. package/sdk-scheme-adapter/v2_0_0/components/schemas/individualTransfer.yaml +2 -0
  30. package/sdk-scheme-adapter/v2_0_0/components/schemas/transferRequest.yaml +2 -0
  31. package/sdk-scheme-adapter/v2_0_0/components/schemas/transferResponse.yaml +2 -0
  32. package/docs/sdk-scheme-adapter-inbound-v2_0_0-openapi3-snippets.yaml +0 -2889
  33. package/lib/sdk-scheme-adapter/v2_0_0/inbound/openapi.d.ts +0 -4350
  34. package/lib/sdk-scheme-adapter/v2_0_0/inbound/openapi.js.map +0 -1
  35. package/lib/sdk-scheme-adapter/v2_0_0/inbound/schemas.js.map +0 -1
  36. package/lib/sdk-scheme-adapter/v2_0_0/inbound/types.js.map +0 -1
  37. package/sdk-scheme-adapter/v2_0_0/inbound/openapi.yaml +0 -1074
@@ -516,6 +516,14 @@ paths:
516
516
  enum: &ref_5
517
517
  - TRANSFER
518
518
  description: Type of transaction.
519
+ subScenario:
520
+ title: TransactionSubScenario
521
+ type: string
522
+ pattern: ^[A-Z_]{1,32}$
523
+ description: >-
524
+ Possible sub-scenario, defined locally within the scheme
525
+ (UndefinedEnum Type).
526
+ example: LOCALLY_DEFINED_SUBSCENARIO
519
527
  note:
520
528
  title: Note
521
529
  type: string
@@ -630,6 +638,14 @@ paths:
630
638
  type: string
631
639
  enum: *ref_5
632
640
  description: Type of transaction.
641
+ subScenario:
642
+ title: TransactionSubScenario
643
+ type: string
644
+ pattern: ^[A-Z_]{1,32}$
645
+ description: >-
646
+ Possible sub-scenario, defined locally within the scheme
647
+ (UndefinedEnum Type).
648
+ example: LOCALLY_DEFINED_SUBSCENARIO
633
649
  note:
634
650
  title: Note
635
651
  type: string
@@ -2082,6 +2098,14 @@ paths:
2082
2098
  type: string
2083
2099
  enum: *ref_5
2084
2100
  description: Type of transaction.
2101
+ subScenario:
2102
+ title: TransactionSubScenario
2103
+ type: string
2104
+ pattern: ^[A-Z_]{1,32}$
2105
+ description: >-
2106
+ Possible sub-scenario, defined locally within the
2107
+ scheme (UndefinedEnum Type).
2108
+ example: LOCALLY_DEFINED_SUBSCENARIO
2085
2109
  ilpPacket:
2086
2110
  title: IlpPacket
2087
2111
  type: string
@@ -2361,6 +2385,14 @@ paths:
2361
2385
  type: string
2362
2386
  enum: *ref_5
2363
2387
  description: Type of transaction.
2388
+ subScenario:
2389
+ title: TransactionSubScenario
2390
+ type: string
2391
+ pattern: ^[A-Z_]{1,32}$
2392
+ description: >-
2393
+ Possible sub-scenario, defined locally within the
2394
+ scheme (UndefinedEnum Type).
2395
+ example: LOCALLY_DEFINED_SUBSCENARIO
2364
2396
  note:
2365
2397
  title: Note
2366
2398
  type: string
@@ -4455,6 +4487,14 @@ components:
4455
4487
  type: string
4456
4488
  enum: *ref_5
4457
4489
  description: Type of transaction.
4490
+ TransactionSubScenario:
4491
+ title: TransactionSubScenario
4492
+ type: string
4493
+ pattern: ^[A-Z_]{1,32}$
4494
+ description: >-
4495
+ Possible sub-scenario, defined locally within the scheme (UndefinedEnum
4496
+ Type).
4497
+ example: LOCALLY_DEFINED_SUBSCENARIO
4458
4498
  Note:
4459
4499
  title: Note
4460
4500
  type: string
@@ -4821,14 +4861,6 @@ components:
4821
4861
 
4822
4862
  - REFUND - Used for performing a refund of transaction.
4823
4863
  example: DEPOSIT
4824
- TransactionSubScenario:
4825
- title: TransactionSubScenario
4826
- type: string
4827
- pattern: ^[A-Z_]{1,32}$
4828
- description: >-
4829
- Possible sub-scenario, defined locally within the scheme (UndefinedEnum
4830
- Type).
4831
- example: LOCALLY_DEFINED_SUBSCENARIO
4832
4864
  TransactionInitiator:
4833
4865
  title: TransactionInitiator
4834
4866
  type: string
package/lib/example.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { openapi, Schemas } from './fspiop/v1_0';
2
- export declare type CorrelationId = openapi.components['schemas']['CorrelationId'];
2
+ export type CorrelationId = openapi.components['schemas']['CorrelationId'];
3
3
  export interface ExampleRequest {
4
4
  id: CorrelationId;
5
5
  amount: Schemas.Amount;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sdk-scheme-adapter/v2_0_0/inbound/index.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;;AAEpD,6DAAoC;AACpC,oDAAyB;AACzB,kDAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sdk-scheme-adapter/v2_0_0/backend/index.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;;AAEpD,6DAAoC;AACpC,oDAAyB;AACzB,kDAAuB"}