@mojaloop/api-snippets 17.7.5 → 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: components["schemas"]["Party"];
1732
+ body: {
1733
+ party: components["schemas"]["Party"];
1734
+ };
1733
1735
  headers?: Record<string, never>;
1734
1736
  };
1735
1737
  quoteResponse?: {
@@ -10849,164 +10849,170 @@ export declare namespace Schemas {
10849
10849
  required: string[];
10850
10850
  properties: {
10851
10851
  body: {
10852
- title: string;
10853
10852
  type: string;
10854
- description: string;
10855
10853
  properties: {
10856
- partyIdInfo: {
10854
+ party: {
10857
10855
  title: string;
10858
10856
  type: string;
10859
10857
  description: string;
10860
10858
  properties: {
10861
- partyIdType: {
10862
- title: string;
10863
- type: string;
10864
- enum: string[];
10865
- description: string;
10866
- };
10867
- partyIdentifier: {
10868
- title: string;
10869
- type: string;
10870
- minLength: number;
10871
- maxLength: number;
10872
- description: string;
10873
- example: string;
10874
- };
10875
- partySubIdOrType: {
10876
- title: string;
10877
- type: string;
10878
- minLength: number;
10879
- maxLength: number;
10880
- description: string;
10881
- };
10882
- fspId: {
10883
- title: string;
10884
- type: string;
10885
- minLength: number;
10886
- maxLength: number;
10887
- description: string;
10888
- };
10889
- extensionList: {
10859
+ partyIdInfo: {
10890
10860
  title: string;
10891
10861
  type: string;
10892
10862
  description: string;
10893
10863
  properties: {
10894
- extension: {
10864
+ partyIdType: {
10865
+ title: string;
10895
10866
  type: string;
10896
- items: {
10897
- title: string;
10898
- type: string;
10899
- description: string;
10900
- properties: {
10901
- key: {
10902
- title: string;
10903
- type: string;
10904
- minLength: number;
10905
- maxLength: number;
10906
- description: string;
10907
- };
10908
- value: {
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: {
10909
10900
  title: string;
10910
10901
  type: string;
10911
- minLength: number;
10912
- maxLength: number;
10913
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[];
10914
10920
  };
10921
+ minItems: number;
10922
+ maxItems: number;
10923
+ description: string;
10915
10924
  };
10916
- required: string[];
10917
10925
  };
10918
- minItems: number;
10919
- maxItems: number;
10920
- description: string;
10926
+ required: string[];
10921
10927
  };
10922
10928
  };
10923
10929
  required: string[];
10924
10930
  };
10925
- };
10926
- required: string[];
10927
- };
10928
- merchantClassificationCode: {
10929
- title: string;
10930
- type: string;
10931
- pattern: string;
10932
- description: string;
10933
- };
10934
- name: {
10935
- title: string;
10936
- type: string;
10937
- minLength: number;
10938
- maxLength: number;
10939
- description: string;
10940
- };
10941
- personalInfo: {
10942
- title: string;
10943
- type: string;
10944
- description: string;
10945
- properties: {
10946
- complexName: {
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: {
10947
10945
  title: string;
10948
10946
  type: string;
10949
10947
  description: string;
10950
10948
  properties: {
10951
- firstName: {
10949
+ complexName: {
10952
10950
  title: string;
10953
10951
  type: string;
10954
- minLength: number;
10955
- maxLength: number;
10956
- pattern: string;
10957
10952
  description: string;
10958
- example: 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
+ };
10959
10982
  };
10960
- middleName: {
10983
+ dateOfBirth: {
10961
10984
  title: string;
10962
10985
  type: string;
10963
- minLength: number;
10964
- maxLength: number;
10965
10986
  pattern: string;
10966
10987
  description: string;
10967
10988
  example: string;
10968
10989
  };
10969
- lastName: {
10990
+ kycInformation: {
10970
10991
  title: string;
10971
10992
  type: string;
10972
10993
  minLength: number;
10973
10994
  maxLength: number;
10974
- pattern: string;
10975
10995
  description: string;
10976
10996
  example: string;
10977
10997
  };
10978
10998
  };
10979
10999
  };
10980
- dateOfBirth: {
10981
- title: string;
10982
- type: string;
10983
- pattern: string;
10984
- description: string;
10985
- example: string;
10986
- };
10987
- kycInformation: {
10988
- title: string;
11000
+ supportedCurrencies: {
10989
11001
  type: string;
10990
- minLength: number;
10991
- maxLength: number;
10992
11002
  description: string;
10993
- example: 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;
10994
11013
  };
10995
11014
  };
10996
- };
10997
- supportedCurrencies: {
10998
- type: string;
10999
- description: string;
11000
- items: {
11001
- title: string;
11002
- description: string;
11003
- type: string;
11004
- minLength: number;
11005
- maxLength: number;
11006
- enum: string[];
11007
- };
11008
- minItems: number;
11009
- maxItems: number;
11015
+ required: string[];
11010
11016
  };
11011
11017
  };
11012
11018
  required: string[];
@@ -12070,164 +12076,170 @@ export declare namespace Schemas {
12070
12076
  required: string[];
12071
12077
  properties: {
12072
12078
  body: {
12073
- title: string;
12074
12079
  type: string;
12075
- description: string;
12076
12080
  properties: {
12077
- partyIdInfo: {
12081
+ party: {
12078
12082
  title: string;
12079
12083
  type: string;
12080
12084
  description: string;
12081
12085
  properties: {
12082
- partyIdType: {
12083
- title: string;
12084
- type: string;
12085
- enum: string[];
12086
- description: string;
12087
- };
12088
- partyIdentifier: {
12089
- title: string;
12090
- type: string;
12091
- minLength: number;
12092
- maxLength: number;
12093
- description: string;
12094
- example: string;
12095
- };
12096
- partySubIdOrType: {
12097
- title: string;
12098
- type: string;
12099
- minLength: number;
12100
- maxLength: number;
12101
- description: string;
12102
- };
12103
- fspId: {
12104
- title: string;
12105
- type: string;
12106
- minLength: number;
12107
- maxLength: number;
12108
- description: string;
12109
- };
12110
- extensionList: {
12086
+ partyIdInfo: {
12111
12087
  title: string;
12112
12088
  type: string;
12113
12089
  description: string;
12114
12090
  properties: {
12115
- extension: {
12091
+ partyIdType: {
12092
+ title: string;
12116
12093
  type: string;
12117
- items: {
12118
- title: string;
12119
- type: string;
12120
- description: string;
12121
- properties: {
12122
- key: {
12123
- title: string;
12124
- type: string;
12125
- minLength: number;
12126
- maxLength: number;
12127
- description: string;
12128
- };
12129
- value: {
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: {
12130
12127
  title: string;
12131
12128
  type: string;
12132
- minLength: number;
12133
- maxLength: number;
12134
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[];
12135
12147
  };
12148
+ minItems: number;
12149
+ maxItems: number;
12150
+ description: string;
12136
12151
  };
12137
- required: string[];
12138
12152
  };
12139
- minItems: number;
12140
- maxItems: number;
12141
- description: string;
12153
+ required: string[];
12142
12154
  };
12143
12155
  };
12144
12156
  required: string[];
12145
12157
  };
12146
- };
12147
- required: string[];
12148
- };
12149
- merchantClassificationCode: {
12150
- title: string;
12151
- type: string;
12152
- pattern: string;
12153
- description: string;
12154
- };
12155
- name: {
12156
- title: string;
12157
- type: string;
12158
- minLength: number;
12159
- maxLength: number;
12160
- description: string;
12161
- };
12162
- personalInfo: {
12163
- title: string;
12164
- type: string;
12165
- description: string;
12166
- properties: {
12167
- complexName: {
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: {
12168
12172
  title: string;
12169
12173
  type: string;
12170
12174
  description: string;
12171
12175
  properties: {
12172
- firstName: {
12176
+ complexName: {
12173
12177
  title: string;
12174
12178
  type: string;
12175
- minLength: number;
12176
- maxLength: number;
12177
- pattern: string;
12178
12179
  description: string;
12179
- example: 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
+ };
12180
12209
  };
12181
- middleName: {
12210
+ dateOfBirth: {
12182
12211
  title: string;
12183
12212
  type: string;
12184
- minLength: number;
12185
- maxLength: number;
12186
12213
  pattern: string;
12187
12214
  description: string;
12188
12215
  example: string;
12189
12216
  };
12190
- lastName: {
12217
+ kycInformation: {
12191
12218
  title: string;
12192
12219
  type: string;
12193
12220
  minLength: number;
12194
12221
  maxLength: number;
12195
- pattern: string;
12196
12222
  description: string;
12197
12223
  example: string;
12198
12224
  };
12199
12225
  };
12200
12226
  };
12201
- dateOfBirth: {
12202
- title: string;
12203
- type: string;
12204
- pattern: string;
12205
- description: string;
12206
- example: string;
12207
- };
12208
- kycInformation: {
12209
- title: string;
12227
+ supportedCurrencies: {
12210
12228
  type: string;
12211
- minLength: number;
12212
- maxLength: number;
12213
12229
  description: string;
12214
- example: 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;
12215
12240
  };
12216
12241
  };
12217
- };
12218
- supportedCurrencies: {
12219
- type: string;
12220
- description: string;
12221
- items: {
12222
- title: string;
12223
- description: string;
12224
- type: string;
12225
- minLength: number;
12226
- maxLength: number;
12227
- enum: string[];
12228
- };
12229
- minItems: number;
12230
- maxItems: number;
12242
+ required: string[];
12231
12243
  };
12232
12244
  };
12233
12245
  required: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/api-snippets",
3
- "version": "17.7.5",
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.3",
89
+ "openapi-typescript": "^7.4.4",
90
90
  "ts-auto-mock": "^3.7.4"
91
91
  },
92
92
  "overrides": {
@@ -100,15 +100,15 @@
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.15.0",
104
- "@typescript-eslint/parser": "^8.15.0",
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",
@@ -118,14 +118,14 @@
118
118
  "husky": "9.1.7",
119
119
  "jest": "^29.7.0",
120
120
  "jest-junit": "^16.0.0",
121
- "lint-staged": "^15.2.10",
121
+ "lint-staged": "^15.2.11",
122
122
  "npm-check-updates": "^17.1.11",
123
- "prettier": "^3.3.3",
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",
128
+ "ts-patch": "^3.3.0",
129
129
  "tslib": "^2.8.1",
130
130
  "typescript": "^5.7.2"
131
131
  },
@@ -41,7 +41,12 @@ properties:
41
41
  - body
42
42
  properties:
43
43
  body:
44
- $ref: ./Party.yaml
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: