Skip to content

Commit d81d1f4

Browse files
committed
restlet2repo: saving modified files
1 parent 38dfc01 commit d81d1f4

8 files changed

Lines changed: 65 additions & 1 deletion

spec/definitions/board_request.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ properties:
245245
- new
246246
- book_now
247247
- avg_market_rate
248+
- posting_type
248249
example: age
249250
type: string
250251
tier:

spec/definitions/boards_freight_rate_response.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ properties:
4343
format: date
4444
type: string
4545
type: object
46+
total_rates:
47+
description: >-
48+
This will return a list of dates, single key of total rates found for
49+
this day
50+
properties:
51+
CURRENT_DATE:
52+
type: number
53+
type: object
4654
type: object
4755
x-restlet:
4856
section: BOARDS

spec/definitions/postings_entry_object.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ example:
1818
pay_rate: 0.22
1919
phone_extension: 666
2020
phone_number: 7777777777
21+
real_age: 2025-07-07T00:00:00.000Z
2122
receive_date: 2020-05-06T00:00:00.000Z
2223
ship_date: 2020-05-06T00:00:00.000Z
2324
trailer_type:
@@ -120,6 +121,10 @@ properties:
120121
If not provided we will use the contact info associated with the users
121122
profile.
122123
type: integer
124+
real_age:
125+
description: When this item was created.
126+
format: date
127+
type: string
123128
receive_date:
124129
description: The date the load/truck should deliver.
125130
format: date

spec/definitions/postings_patch_object.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ example:
1818
pay_rate: 11
1919
phone_extension: 777
2020
phone_number: 777777777
21+
real_age: 2025-07-01T00:00:00.000Z
2122
receive_date: 2020-05-07T00:00:00.000Z
2223
ship_date: 2020-05-06T00:00:00.000Z
2324
trailer_type:
@@ -120,6 +121,10 @@ properties:
120121
A unique id for each entry. This value is returned via GET.
121122
Either posting_id or custom_id is required.
122123
type: integer
124+
real_age:
125+
description: The date the entry was created.
126+
format: date
127+
type: string
123128
receive_date:
124129
description: The date the load/truck should deliver.
125130
format: date
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
get:
2+
description: Decline sub-account invitation
3+
parameters: []
4+
responses:
5+
'201':
6+
description: successful operation
7+
schema:
8+
properties:
9+
message:
10+
description: Sub-account invitation declined successfully.
11+
type: string
12+
type: object
13+
tags:
14+
- end_user_authentications
15+
x-restlet:
16+
section: END_USER_AUTHENTICATIONS
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
get:
2+
description: Check if current user has pending sub account invitations
3+
parameters: []
4+
responses:
5+
'200':
6+
description: successful operation
7+
schema:
8+
properties:
9+
primary_user_company:
10+
description: Company of the primary user who invited.
11+
type: string
12+
primary_user_email:
13+
description: Email of the primary user who invited.
14+
type: string
15+
primary_user_id:
16+
description: ID of the primary user who invited.
17+
type: number
18+
primary_user_name:
19+
description: Name of the primary user who invited.
20+
type: string
21+
status:
22+
description: The status of the invitation.
23+
type: string
24+
type: object
25+
tags:
26+
- end_user_authentications
27+
x-restlet:
28+
section: END_USER_AUTHENTICATIONS

spec/paths/optins.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ get:
3939
- push
4040
in: query
4141
name: notification_medium
42-
required: false
42+
required: true
4343
type: string
4444
- in: header
4545
name: end-user-token

spec/swagger.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ info:
3434
3535
Both Tokens are stateless, and delivered via the HTTP headers.
3636
37+
3738
The api token is a permanent token assigned to each partner.
3839
3940
The user token is a temporary session token assigned to each direct freight

0 commit comments

Comments
 (0)