Skip to content

Commit 91e748e

Browse files
authored
Extract multiple times duplicated data export recurring value object (#1828)
1 parent b5bb267 commit 91e748e

8 files changed

+21
-98
lines changed

openapi/components/schemas/AmlChecksDataExport.yaml

+1-14
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,7 @@ properties:
4343
items:
4444
type: string
4545
recurring:
46-
description: Recurring export schedule.
47-
type: object
48-
required:
49-
- instruction
50-
properties:
51-
instruction:
52-
type: string
53-
description: Schedule instruction in [Recurrence Rule RFC 5545](https://icalendar.org/iCalendar-RFC-5545/3-8-5-3-recurrence-rule.html) format.
54-
start:
55-
type: string
56-
format: date-time
57-
description: |-
58-
Date and time when the first scheduled recurring export occurs.
59-
The default value is now.
46+
$ref: ./DataExportRecurring.yaml
6047
userId:
6148
description: ID of the user who requested the data export.
6249
readOnly: true

openapi/components/schemas/CustomersDataExport.yaml

+1-14
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,7 @@ properties:
4343
items:
4444
type: string
4545
recurring:
46-
description: Recurring export schedule.
47-
type: object
48-
required:
49-
- instruction
50-
properties:
51-
instruction:
52-
type: string
53-
description: Schedule instruction in [Recurrence Rule RFC 5545](https://icalendar.org/iCalendar-RFC-5545/3-8-5-3-recurrence-rule.html) format.
54-
start:
55-
type: string
56-
format: date-time
57-
description: |-
58-
Date and time when the first scheduled recurring export occurs.
59-
The default value is now.
46+
$ref: ./DataExportRecurring.yaml
6047
userId:
6148
description: ID of the user who requested the data export.
6249
readOnly: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
description: Recurring export schedule.
2+
type: object
3+
required:
4+
- instruction
5+
properties:
6+
instruction:
7+
type: string
8+
description: Schedule instruction in [Recurrence Rule RFC 5545](https://icalendar.org/iCalendar-RFC-5545/3-8-5-3-recurrence-rule.html) format.
9+
start:
10+
type: string
11+
format: date-time
12+
description: |-
13+
Date and time when the first scheduled recurring export occurs.
14+
The default value is now.

openapi/components/schemas/InvoiceItemsDataExport.yaml

+1-14
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,7 @@ properties:
4343
items:
4444
type: string
4545
recurring:
46-
description: Recurring export schedule.
47-
type: object
48-
required:
49-
- instruction
50-
properties:
51-
instruction:
52-
type: string
53-
description: Schedule instruction in [Recurrence Rule RFC 5545](https://icalendar.org/iCalendar-RFC-5545/3-8-5-3-recurrence-rule.html) format.
54-
start:
55-
type: string
56-
format: date-time
57-
description: |-
58-
Date and time when the first scheduled recurring export occurs.
59-
The default value is now.
46+
$ref: ./DataExportRecurring.yaml
6047
userId:
6148
description: ID of the user who requested the data export.
6249
readOnly: true

openapi/components/schemas/InvoicesDataExport.yaml

+1-14
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,7 @@ properties:
4444
items:
4545
type: string
4646
recurring:
47-
description: Recurring export schedule.
48-
type: object
49-
required:
50-
- instruction
51-
properties:
52-
instruction:
53-
type: string
54-
description: Schedule instruction in [Recurrence Rule RFC 5545](https://icalendar.org/iCalendar-RFC-5545/3-8-5-3-recurrence-rule.html) format.
55-
start:
56-
type: string
57-
format: date-time
58-
description: |-
59-
Date and time when the first scheduled recurring export occurs.
60-
The default value is now.
47+
$ref: ./DataExportRecurring.yaml
6148
userId:
6249
description: ID of the user who requested the data export.
6350
readOnly: true

openapi/components/schemas/RevenueAuditDataExport.yaml

+1-14
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,7 @@ properties:
4343
items:
4444
type: string
4545
recurring:
46-
description: Recurring export schedule.
47-
type: object
48-
required:
49-
- instruction
50-
properties:
51-
instruction:
52-
type: string
53-
description: Schedule instruction in [Recurrence Rule RFC 5545](https://icalendar.org/iCalendar-RFC-5545/3-8-5-3-recurrence-rule.html) format.
54-
start:
55-
type: string
56-
format: date-time
57-
description: |-
58-
Date and time when the first scheduled recurring export occurs.
59-
The default value is now.
46+
$ref: ./DataExportRecurring.yaml
6047
userId:
6148
description: ID of the user who requested the data export.
6249
readOnly: true

openapi/components/schemas/SubscriptionsDataExport.yaml

+1-14
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,7 @@ properties:
4343
items:
4444
type: string
4545
recurring:
46-
description: Recurring export schedule.
47-
type: object
48-
required:
49-
- instruction
50-
properties:
51-
instruction:
52-
type: string
53-
description: Schedule instruction in [Recurrence Rule RFC 5545](https://icalendar.org/iCalendar-RFC-5545/3-8-5-3-recurrence-rule.html) format.
54-
start:
55-
type: string
56-
format: date-time
57-
description: |-
58-
Date and time when the first scheduled recurring export occurs.
59-
The default value is now.
46+
$ref: ./DataExportRecurring.yaml
6047
userId:
6148
description: ID of the user who requested the data export.
6249
readOnly: true

openapi/components/schemas/TransactionsDataExport.yaml

+1-14
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,7 @@ properties:
4343
items:
4444
type: string
4545
recurring:
46-
description: Recurring export schedule.
47-
type: object
48-
required:
49-
- instruction
50-
properties:
51-
instruction:
52-
type: string
53-
description: Schedule instruction in [Recurrence Rule RFC 5545](https://icalendar.org/iCalendar-RFC-5545/3-8-5-3-recurrence-rule.html) format.
54-
start:
55-
type: string
56-
format: date-time
57-
description: |-
58-
Date and time when the first scheduled recurring export occurs.
59-
The default value is now.
46+
$ref: ./DataExportRecurring.yaml
6047
userId:
6148
description: ID of the user who requested the data export.
6249
readOnly: true

0 commit comments

Comments
 (0)