@mojaloop/api-snippets 17.7.4 → 17.7.6

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.
@@ -1729,7 +1729,9 @@ export interface components {
1729
1729
  currentState?: components["schemas"]["transferStatus"];
1730
1730
  quoteId?: components["schemas"]["CorrelationId"];
1731
1731
  getPartiesResponse?: {
1732
- body: Record<string, never>;
1732
+ body: {
1733
+ party: components["schemas"]["Party"];
1734
+ };
1733
1735
  headers?: Record<string, never>;
1734
1736
  };
1735
1737
  quoteResponse?: {
@@ -10850,6 +10850,172 @@ export declare namespace Schemas {
10850
10850
  properties: {
10851
10851
  body: {
10852
10852
  type: string;
10853
+ properties: {
10854
+ party: {
10855
+ title: string;
10856
+ type: string;
10857
+ description: string;
10858
+ properties: {
10859
+ partyIdInfo: {
10860
+ title: string;
10861
+ type: string;
10862
+ description: string;
10863
+ properties: {
10864
+ partyIdType: {
10865
+ title: string;
10866
+ type: string;
10867
+ enum: string[];
10868
+ description: string;
10869
+ };
10870
+ partyIdentifier: {
10871
+ title: string;
10872
+ type: string;
10873
+ minLength: number;
10874
+ maxLength: number;
10875
+ description: string;
10876
+ example: string;
10877
+ };
10878
+ partySubIdOrType: {
10879
+ title: string;
10880
+ type: string;
10881
+ minLength: number;
10882
+ maxLength: number;
10883
+ description: string;
10884
+ };
10885
+ fspId: {
10886
+ title: string;
10887
+ type: string;
10888
+ minLength: number;
10889
+ maxLength: number;
10890
+ description: string;
10891
+ };
10892
+ extensionList: {
10893
+ title: string;
10894
+ type: string;
10895
+ description: string;
10896
+ properties: {
10897
+ extension: {
10898
+ type: string;
10899
+ items: {
10900
+ title: string;
10901
+ type: string;
10902
+ description: string;
10903
+ properties: {
10904
+ key: {
10905
+ title: string;
10906
+ type: string;
10907
+ minLength: number;
10908
+ maxLength: number;
10909
+ description: string;
10910
+ };
10911
+ value: {
10912
+ title: string;
10913
+ type: string;
10914
+ minLength: number;
10915
+ maxLength: number;
10916
+ description: string;
10917
+ };
10918
+ };
10919
+ required: string[];
10920
+ };
10921
+ minItems: number;
10922
+ maxItems: number;
10923
+ description: string;
10924
+ };
10925
+ };
10926
+ required: string[];
10927
+ };
10928
+ };
10929
+ required: string[];
10930
+ };
10931
+ merchantClassificationCode: {
10932
+ title: string;
10933
+ type: string;
10934
+ pattern: string;
10935
+ description: string;
10936
+ };
10937
+ name: {
10938
+ title: string;
10939
+ type: string;
10940
+ minLength: number;
10941
+ maxLength: number;
10942
+ description: string;
10943
+ };
10944
+ personalInfo: {
10945
+ title: string;
10946
+ type: string;
10947
+ description: string;
10948
+ properties: {
10949
+ complexName: {
10950
+ title: string;
10951
+ type: string;
10952
+ description: string;
10953
+ properties: {
10954
+ firstName: {
10955
+ title: string;
10956
+ type: string;
10957
+ minLength: number;
10958
+ maxLength: number;
10959
+ pattern: string;
10960
+ description: string;
10961
+ example: string;
10962
+ };
10963
+ middleName: {
10964
+ title: string;
10965
+ type: string;
10966
+ minLength: number;
10967
+ maxLength: number;
10968
+ pattern: string;
10969
+ description: string;
10970
+ example: string;
10971
+ };
10972
+ lastName: {
10973
+ title: string;
10974
+ type: string;
10975
+ minLength: number;
10976
+ maxLength: number;
10977
+ pattern: string;
10978
+ description: string;
10979
+ example: string;
10980
+ };
10981
+ };
10982
+ };
10983
+ dateOfBirth: {
10984
+ title: string;
10985
+ type: string;
10986
+ pattern: string;
10987
+ description: string;
10988
+ example: string;
10989
+ };
10990
+ kycInformation: {
10991
+ title: string;
10992
+ type: string;
10993
+ minLength: number;
10994
+ maxLength: number;
10995
+ description: string;
10996
+ example: string;
10997
+ };
10998
+ };
10999
+ };
11000
+ supportedCurrencies: {
11001
+ type: string;
11002
+ description: string;
11003
+ items: {
11004
+ title: string;
11005
+ description: string;
11006
+ type: string;
11007
+ minLength: number;
11008
+ maxLength: number;
11009
+ enum: string[];
11010
+ };
11011
+ minItems: number;
11012
+ maxItems: number;
11013
+ };
11014
+ };
11015
+ required: string[];
11016
+ };
11017
+ };
11018
+ required: string[];
10853
11019
  };
10854
11020
  headers: {
10855
11021
  type: string;
@@ -11911,6 +12077,172 @@ export declare namespace Schemas {
11911
12077
  properties: {
11912
12078
  body: {
11913
12079
  type: string;
12080
+ properties: {
12081
+ party: {
12082
+ title: string;
12083
+ type: string;
12084
+ description: string;
12085
+ properties: {
12086
+ partyIdInfo: {
12087
+ title: string;
12088
+ type: string;
12089
+ description: string;
12090
+ properties: {
12091
+ partyIdType: {
12092
+ title: string;
12093
+ type: string;
12094
+ enum: string[];
12095
+ description: string;
12096
+ };
12097
+ partyIdentifier: {
12098
+ title: string;
12099
+ type: string;
12100
+ minLength: number;
12101
+ maxLength: number;
12102
+ description: string;
12103
+ example: string;
12104
+ };
12105
+ partySubIdOrType: {
12106
+ title: string;
12107
+ type: string;
12108
+ minLength: number;
12109
+ maxLength: number;
12110
+ description: string;
12111
+ };
12112
+ fspId: {
12113
+ title: string;
12114
+ type: string;
12115
+ minLength: number;
12116
+ maxLength: number;
12117
+ description: string;
12118
+ };
12119
+ extensionList: {
12120
+ title: string;
12121
+ type: string;
12122
+ description: string;
12123
+ properties: {
12124
+ extension: {
12125
+ type: string;
12126
+ items: {
12127
+ title: string;
12128
+ type: string;
12129
+ description: string;
12130
+ properties: {
12131
+ key: {
12132
+ title: string;
12133
+ type: string;
12134
+ minLength: number;
12135
+ maxLength: number;
12136
+ description: string;
12137
+ };
12138
+ value: {
12139
+ title: string;
12140
+ type: string;
12141
+ minLength: number;
12142
+ maxLength: number;
12143
+ description: string;
12144
+ };
12145
+ };
12146
+ required: string[];
12147
+ };
12148
+ minItems: number;
12149
+ maxItems: number;
12150
+ description: string;
12151
+ };
12152
+ };
12153
+ required: string[];
12154
+ };
12155
+ };
12156
+ required: string[];
12157
+ };
12158
+ merchantClassificationCode: {
12159
+ title: string;
12160
+ type: string;
12161
+ pattern: string;
12162
+ description: string;
12163
+ };
12164
+ name: {
12165
+ title: string;
12166
+ type: string;
12167
+ minLength: number;
12168
+ maxLength: number;
12169
+ description: string;
12170
+ };
12171
+ personalInfo: {
12172
+ title: string;
12173
+ type: string;
12174
+ description: string;
12175
+ properties: {
12176
+ complexName: {
12177
+ title: string;
12178
+ type: string;
12179
+ description: string;
12180
+ properties: {
12181
+ firstName: {
12182
+ title: string;
12183
+ type: string;
12184
+ minLength: number;
12185
+ maxLength: number;
12186
+ pattern: string;
12187
+ description: string;
12188
+ example: string;
12189
+ };
12190
+ middleName: {
12191
+ title: string;
12192
+ type: string;
12193
+ minLength: number;
12194
+ maxLength: number;
12195
+ pattern: string;
12196
+ description: string;
12197
+ example: string;
12198
+ };
12199
+ lastName: {
12200
+ title: string;
12201
+ type: string;
12202
+ minLength: number;
12203
+ maxLength: number;
12204
+ pattern: string;
12205
+ description: string;
12206
+ example: string;
12207
+ };
12208
+ };
12209
+ };
12210
+ dateOfBirth: {
12211
+ title: string;
12212
+ type: string;
12213
+ pattern: string;
12214
+ description: string;
12215
+ example: string;
12216
+ };
12217
+ kycInformation: {
12218
+ title: string;
12219
+ type: string;
12220
+ minLength: number;
12221
+ maxLength: number;
12222
+ description: string;
12223
+ example: string;
12224
+ };
12225
+ };
12226
+ };
12227
+ supportedCurrencies: {
12228
+ type: string;
12229
+ description: string;
12230
+ items: {
12231
+ title: string;
12232
+ description: string;
12233
+ type: string;
12234
+ minLength: number;
12235
+ maxLength: number;
12236
+ enum: string[];
12237
+ };
12238
+ minItems: number;
12239
+ maxItems: number;
12240
+ };
12241
+ };
12242
+ required: string[];
12243
+ };
12244
+ };
12245
+ required: string[];
11914
12246
  };
11915
12247
  headers: {
11916
12248
  type: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/api-snippets",
3
- "version": "17.7.4",
3
+ "version": "17.7.6",
4
4
  "description": "Mojaloop API specification reusable snippets",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -86,7 +86,7 @@
86
86
  "js-yaml": "^4.1.0",
87
87
  "json-refs": "^3.0.15",
88
88
  "openapi-types": "^12.1.3",
89
- "openapi-typescript": "^7.4.2",
89
+ "openapi-typescript": "^7.4.4",
90
90
  "ts-auto-mock": "^3.7.4"
91
91
  },
92
92
  "overrides": {
@@ -94,40 +94,40 @@
94
94
  "@types/responselike": "^1.0.0"
95
95
  },
96
96
  "devDependencies": {
97
- "@commitlint/cli": "^19.5.0",
98
- "@commitlint/config-conventional": "^19.5.0",
97
+ "@commitlint/cli": "^19.6.0",
98
+ "@commitlint/config-conventional": "^19.6.0",
99
99
  "@redocly/openapi-cli": "^1.0.0-beta.95",
100
100
  "@redocly/cli": "^1.5.0",
101
101
  "@types/jest": "^29.5.14",
102
102
  "@types/js-yaml": "^4.0.9",
103
- "@typescript-eslint/eslint-plugin": "^8.12.2",
104
- "@typescript-eslint/parser": "^8.12.2",
103
+ "@typescript-eslint/eslint-plugin": "^8.18.0",
104
+ "@typescript-eslint/parser": "^8.18.0",
105
105
  "audit-ci": "^7.1.0",
106
106
  "browser-sync": "^3.0.3",
107
107
  "diff": "^7.0.0",
108
108
  "eslint": "^8.55.0",
109
109
  "eslint-config-prettier": "^9.1.0",
110
110
  "eslint-config-standard": "^17.1.0",
111
- "eslint-import-resolver-typescript": "^3.6.3",
111
+ "eslint-import-resolver-typescript": "^3.7.0",
112
112
  "eslint-plugin-cucumber": "^2.0.0",
113
113
  "eslint-plugin-import": "^2.31.0",
114
114
  "eslint-plugin-node": "^11.1.0",
115
115
  "eslint-plugin-prettier": "^5.2.1",
116
116
  "eslint-plugin-promise": "^6.2.0",
117
117
  "eslint-plugin-standard": "^5.0.0",
118
- "husky": "9.1.6",
118
+ "husky": "9.1.7",
119
119
  "jest": "^29.7.0",
120
120
  "jest-junit": "^16.0.0",
121
- "lint-staged": "^15.2.10",
122
- "npm-check-updates": "^17.1.9",
123
- "prettier": "^3.3.3",
121
+ "lint-staged": "^15.2.11",
122
+ "npm-check-updates": "^17.1.11",
123
+ "prettier": "^3.4.2",
124
124
  "standard-version": "^9.5.0",
125
125
  "swagger-cli": "^4.0.4",
126
126
  "ts-jest": "^29.2.5",
127
127
  "ts-node": "^10.9.2",
128
- "ts-patch": "^3.2.1",
129
- "tslib": "^2.8.0",
130
- "typescript": "^5.6.3"
128
+ "ts-patch": "^3.3.0",
129
+ "tslib": "^2.8.1",
130
+ "typescript": "^5.7.2"
131
131
  },
132
132
  "publishConfig": {
133
133
  "registry": "https://registry.npmjs.org/"
@@ -944,7 +944,7 @@ components:
944
944
  fulfil:
945
945
  properties:
946
946
  body:
947
- type: object
947
+ $ref: ../components/schemas/TransfersIDPutResponse.yaml
948
948
  headers:
949
949
  type: object
950
950
  type: object
@@ -955,34 +955,34 @@ components:
955
955
  prepare:
956
956
  properties:
957
957
  body:
958
- type: object
958
+ $ref: '../components/schemas/TransfersPostRequest.yaml'
959
959
  headers:
960
960
  type: object
961
961
  type: object
962
962
  quote:
963
963
  properties:
964
964
  fulfilment:
965
- type: string
965
+ $ref: '../components/schemas/IlpFulfilment.yaml'
966
966
  internalRequest:
967
- type: object
967
+ $ref: '#/components/schemas/quoteRequest'
968
968
  mojaloopResponse:
969
- type: object
969
+ $ref: '../components/schemas/QuotesIDPutResponse.yaml'
970
970
  request:
971
- type: object
971
+ $ref: '../components/schemas/QuotesPostRequest.yaml'
972
972
  response:
973
- type: object
973
+ $ref: '#/components/schemas/quoteResponse'
974
974
  type: object
975
975
  quoteRequest:
976
976
  properties:
977
977
  body:
978
- type: object
978
+ $ref: '../components/schemas/QuotesPostRequest.yaml'
979
979
  headers:
980
980
  type: object
981
981
  type: object
982
982
  quoteResponse:
983
983
  properties:
984
984
  body:
985
- type: object
985
+ $ref: '../components/schemas/QuotesIDPutResponse.yaml'
986
986
  headers:
987
987
  type: object
988
988
  type: object
@@ -42,6 +42,11 @@ properties:
42
42
  properties:
43
43
  body:
44
44
  type: object
45
+ properties:
46
+ party:
47
+ $ref: ./Party.yaml
48
+ required:
49
+ - party
45
50
  headers:
46
51
  type: object
47
52
  quoteResponse: