Skip to content

Commit c9d7cab

Browse files
authored
feat: add new feild transfer confirmation (#194)
* feat: added acceptQuoteOrConversion * chore: build
1 parent 58b77f0 commit c9d7cab

File tree

7 files changed

+46
-4
lines changed

7 files changed

+46
-4
lines changed

docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml

+12-1
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ paths:
411411
description: |
412412
The HTTP request `PUT /transfers/{transferId}` is used to continue a transfer initiated via the `POST /transfers` method that has halted after party lookup and/or quotation stage and/or currency conversion stage.
413413
414-
The request body should contain either the "acceptParty" or "acceptQuote" or "acceptConversion" property set to `true` as required to continue the transfer.
414+
The request body should contain either the "acceptParty" or "acceptQuote" or "acceptConversion" or "acceptQuoteOrConversion" property set to `true` as required to continue the transfer.
415415
416416
See the description of the `POST /transfers` HTTP method for more information on modes of transfer.
417417
tags:
@@ -424,6 +424,7 @@ paths:
424424
- $ref: '#/components/schemas/transferContinuationAcceptParty'
425425
- $ref: '#/components/schemas/transferContinuationAcceptQuote'
426426
- $ref: '#/components/schemas/transferContinuationAcceptConversion'
427+
- $ref: '#/components/schemas/transferContinuationAcceptQuoteOrConversion'
427428
parameters:
428429
- $ref: '#/components/parameters/transferId'
429430
responses:
@@ -2673,6 +2674,16 @@ components:
26732674
enum:
26742675
- true
26752676
- false
2677+
transferContinuationAcceptQuoteOrConversion:
2678+
type: object
2679+
required:
2680+
- acceptQuoteOrConversion
2681+
properties:
2682+
acceptQuoteOrConversion:
2683+
type: boolean
2684+
enum:
2685+
- true
2686+
- false
26762687
ServicesFXPPutResponse:
26772688
title: ServicesFXPPutResponse
26782689
type: object
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
type: object
2+
required:
3+
- acceptQuoteOrConversion
4+
properties:
5+
acceptQuoteOrConversion:
6+
type: boolean
7+
enum:
8+
- true
9+
- false

sdk-scheme-adapter/v2_1_0/outbound/paths/transfers_transferId.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ put:
88
party lookup and/or quotation stage and/or currency conversion stage.
99
1010
11-
The request body should contain either the "acceptParty" or "acceptQuote" or "acceptConversion"
11+
The request body should contain either the "acceptParty" or "acceptQuote" or "acceptConversion" or "acceptQuoteOrConversion"
1212
property set to `true` as required to continue the transfer.
1313
1414
@@ -24,6 +24,7 @@ put:
2424
- $ref: ../../components/schemas/transferContinuationAcceptParty.yaml
2525
- $ref: ../../components/schemas/transferContinuationAcceptQuote.yaml
2626
- $ref: ../../components/schemas/transferContinuationAcceptConversion.yaml
27+
- $ref: ../../components/schemas/transferContinuationAcceptQuoteOrConversion.yaml
2728
parameters:
2829
- $ref: ../../components/parameters/transferId.yaml
2930
responses:

src/sdk-scheme-adapter/v2_1_0/outbound/json-schemas.json

+15
Original file line numberDiff line numberDiff line change
@@ -37342,6 +37342,21 @@
3734237342
}
3734337343
}
3734437344
},
37345+
"transferContinuationAcceptQuoteOrConversion": {
37346+
"type": "object",
37347+
"required": [
37348+
"acceptQuoteOrConversion"
37349+
],
37350+
"properties": {
37351+
"acceptQuoteOrConversion": {
37352+
"type": "boolean",
37353+
"enum": [
37354+
true,
37355+
false
37356+
]
37357+
}
37358+
}
37359+
},
3734537360
"ServicesFXPPutResponse": {
3734637361
"title": "ServicesFXPPutResponse",
3734737362
"type": "object",

src/sdk-scheme-adapter/v2_1_0/outbound/openapi.ts

+6-2
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ export interface paths {
741741
* Continues a transfer that has paused at the quote stage in order to accept or reject payee party and/or quote and/or conversion
742742
* @description The HTTP request `PUT /transfers/{transferId}` is used to continue a transfer initiated via the `POST /transfers` method that has halted after party lookup and/or quotation stage and/or currency conversion stage.
743743
*
744-
* The request body should contain either the "acceptParty" or "acceptQuote" or "acceptConversion" property set to `true` as required to continue the transfer.
744+
* The request body should contain either the "acceptParty" or "acceptQuote" or "acceptConversion" or "acceptQuoteOrConversion" property set to `true` as required to continue the transfer.
745745
*
746746
* See the description of the `POST /transfers` HTTP method for more information on modes of transfer.
747747
*
@@ -758,7 +758,7 @@ export interface paths {
758758
};
759759
requestBody?: {
760760
content: {
761-
"application/json": components["schemas"]["transferContinuationAcceptParty"] | components["schemas"]["transferContinuationAcceptQuote"] | components["schemas"]["transferContinuationAcceptConversion"];
761+
"application/json": components["schemas"]["transferContinuationAcceptParty"] | components["schemas"]["transferContinuationAcceptQuote"] | components["schemas"]["transferContinuationAcceptConversion"] | components["schemas"]["transferContinuationAcceptQuoteOrConversion"];
762762
};
763763
};
764764
responses: {
@@ -1910,6 +1910,10 @@ export interface components {
19101910
/** @enum {boolean} */
19111911
acceptConversion: true | false;
19121912
};
1913+
transferContinuationAcceptQuoteOrConversion: {
1914+
/** @enum {boolean} */
1915+
acceptQuoteOrConversion: true | false;
1916+
};
19131917
/**
19141918
* ServicesFXPPutResponse
19151919
* @description The object sent in the PUT /services/FXP callback.

src/sdk-scheme-adapter/v2_1_0/outbound/schemas.ts

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ export namespace Schemas {
129129
export const transferRequest = JsonSchemas["transferRequest"]
130130
export const transferStatusResponse = JsonSchemas["transferStatusResponse"]
131131
export const transferContinuationAcceptConversion = JsonSchemas["transferContinuationAcceptConversion"]
132+
export const transferContinuationAcceptQuoteOrConversion = JsonSchemas["transferContinuationAcceptQuoteOrConversion"]
132133
export const ServicesFXPPutResponse = JsonSchemas["ServicesFXPPutResponse"]
133134
export const FxQuotesPostOutboundRequest = JsonSchemas["FxQuotesPostOutboundRequest"]
134135
export const commitRequestId = JsonSchemas["commitRequestId"]

src/sdk-scheme-adapter/v2_1_0/outbound/types.ts

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ export namespace Types {
129129
export type transferRequest = components['schemas']['transferRequest']
130130
export type transferStatusResponse = components['schemas']['transferStatusResponse']
131131
export type transferContinuationAcceptConversion = components['schemas']['transferContinuationAcceptConversion']
132+
export type transferContinuationAcceptQuoteOrConversion = components['schemas']['transferContinuationAcceptQuoteOrConversion']
132133
export type ServicesFXPPutResponse = components['schemas']['ServicesFXPPutResponse']
133134
export type FxQuotesPostOutboundRequest = components['schemas']['FxQuotesPostOutboundRequest']
134135
export type commitRequestId = components['schemas']['commitRequestId']

0 commit comments

Comments
 (0)