spectacle 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Spectacle
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -1,10 +1,13 @@
1
1
  namespace :spectacle do
2
2
 
3
- desc "Generate Spectacle static documentation"
4
- task docs: [:environment] do |t,args|
5
- # results = Spectacle::Generator.write_docs(Spectacle::Config.registered_apis)
6
- # results.each do |k,v|
7
- # puts "#{k}: #{v[:processed].count} processed / #{v[:skipped].count} skipped"
8
- # end
3
+ desc "Install Spectacle engine"
4
+ task install: [:environment] do |t,args|
5
+ Spectacle::DSL.install
6
+ end
7
+
8
+ desc "Generate Spectacle documentation"
9
+ task generate: [:environment] do |t,args|
10
+ Spectacle::DSL.generate
11
+ Spectacle::DSL.copy_static
9
12
  end
10
13
  end
@@ -37,8 +37,8 @@
37
37
  "paths": {
38
38
  "/user/accounts": {
39
39
  "get": {
40
- "summary": "List of Accounts including Employer(s)",
41
- "description": "Returns different accounts with its type (user, own employer, other employer) *Page 3_Account (part1)\n",
40
+ "summary": "List of Accounts including Team(s)",
41
+ "description": "Returns different accounts with its type (user, own team, other team) *Page 3_Account (part1)\n",
42
42
  "tags": [
43
43
  "User"
44
44
  ],
@@ -84,27 +84,27 @@
84
84
  }
85
85
  }
86
86
  },
87
- "/employer/{employer_id}": {
87
+ "/team/{team_id}": {
88
88
  "get": {
89
- "summary": "Employer Own Profile",
90
- "description": "Employer profile. \n*Pages 3_Account_EmployerProfile p1, 3_Account_EmployerProfile p2\n",
89
+ "summary": "Team Own Profile",
90
+ "description": "Team profile. \n*Pages 3_Account_TeamProfile p1, 3_Account_TeamProfile p2\n",
91
91
  "parameters": [
92
92
  {
93
- "name": "employer_id",
93
+ "name": "team_id",
94
94
  "in": "path",
95
95
  "required": true,
96
96
  "type": "string",
97
- "description": "Unique employer identifier to be used for fetching specific employer profile data."
97
+ "description": "Unique team identifier to be used for fetching specific team profile data."
98
98
  }
99
99
  ],
100
100
  "tags": [
101
- "Employer"
101
+ "Team"
102
102
  ],
103
103
  "responses": {
104
104
  "200": {
105
- "description": "Profile information for an employer",
105
+ "description": "Profile information for an team",
106
106
  "schema": {
107
- "$ref": "#/definitions/EmployerOwnProfile"
107
+ "$ref": "#/definitions/TeamOwnProfile"
108
108
  }
109
109
  },
110
110
  "default": {
@@ -116,32 +116,32 @@
116
116
  }
117
117
  },
118
118
  "put": {
119
- "summary": "Update Employer Data",
120
- "description": "This updates individual or group of employer's records\n*Pages 3_Account_EmployerProfile_*\n",
119
+ "summary": "Update Team Data",
120
+ "description": "This updates individual or group of team's records\n*Pages 3_Account_TeamProfile_*\n",
121
121
  "parameters": [
122
122
  {
123
- "name": "employer_id",
123
+ "name": "team_id",
124
124
  "in": "path",
125
125
  "required": true,
126
126
  "type": "string",
127
- "description": "Unique employer identifier to be used for fetching specific employer profile data."
127
+ "description": "Unique team identifier to be used for fetching specific team profile data."
128
128
  },
129
129
  {
130
130
  "in": "body",
131
131
  "name": "body",
132
132
  "required": false,
133
- "description": "Unique employer identifier to be used for fetching specific employer profile data.",
133
+ "description": "Unique team identifier to be used for fetching specific team profile data.",
134
134
  "schema": {
135
- "$ref": "#/definitions/EmployerOwnProfile"
135
+ "$ref": "#/definitions/TeamOwnProfile"
136
136
  }
137
137
  }
138
138
  ],
139
139
  "tags": [
140
- "Employer"
140
+ "Team"
141
141
  ],
142
142
  "responses": {
143
143
  "200": {
144
- "description": "Employer update success"
144
+ "description": "Team update success"
145
145
  },
146
146
  "default": {
147
147
  "description": "Unexpected error",
@@ -152,17 +152,17 @@
152
152
  }
153
153
  }
154
154
  },
155
- "/employer/employees/listbylocation/{employer_id}/{location_id}": {
155
+ "/team/team_members/listbylocation/{team_id}/{location_id}": {
156
156
  "get": {
157
- "summary": "Employer Employee List by Location",
158
- "description": "List all employees under the employer's location\n",
157
+ "summary": "Team TeamMember List by Location",
158
+ "description": "List all team_members under the team's location\n",
159
159
  "parameters": [
160
160
  {
161
- "name": "employer_id",
161
+ "name": "team_id",
162
162
  "in": "path",
163
163
  "required": true,
164
164
  "type": "string",
165
- "description": "Unique employer identifier to be used for fetching specific employer profile data."
165
+ "description": "Unique team identifier to be used for fetching specific team profile data."
166
166
  },
167
167
  {
168
168
  "name": "location_id",
@@ -172,12 +172,12 @@
172
172
  }
173
173
  ],
174
174
  "tags": [
175
- "Employees",
176
- "Employer"
175
+ "TeamMembers",
176
+ "Team"
177
177
  ],
178
178
  "responses": {
179
179
  "200": {
180
- "description": "List of employees profile",
180
+ "description": "List of team_members profile",
181
181
  "schema": {
182
182
  "$ref": "#/definitions/UserProfile"
183
183
  }
@@ -191,24 +191,24 @@
191
191
  }
192
192
  }
193
193
  },
194
- "/employer/employees": {
194
+ "/team/team_members": {
195
195
  "get": {
196
- "summary": "Employer Employee List",
196
+ "summary": "Team TeamMember List",
197
197
  "parameters": [
198
198
  {
199
- "name": "employer_id",
199
+ "name": "team_id",
200
200
  "in": "query",
201
201
  "required": true,
202
202
  "type": "string",
203
- "description": "Unique employer identifier to be used for fetching specific employer profile data."
203
+ "description": "Unique team identifier to be used for fetching specific team profile data."
204
204
  }
205
205
  ],
206
206
  "tags": [
207
- "Employees"
207
+ "TeamMembers"
208
208
  ],
209
209
  "responses": {
210
210
  "200": {
211
- "description": "List of employees profile",
211
+ "description": "List of team_members profile",
212
212
  "schema": {
213
213
  "$ref": "#/definitions/UserProfile"
214
214
  }
@@ -222,24 +222,24 @@
222
222
  }
223
223
  }
224
224
  },
225
- "/employee/{employee_id}": {
225
+ "/team_member/{team_member_id}": {
226
226
  "get": {
227
- "summary": "Employee Profile",
228
- "description": "E_Employee-Profile (part1)\n",
227
+ "summary": "TeamMember Profile",
228
+ "description": "E_TeamMember-Profile (part1)\n",
229
229
  "parameters": [
230
230
  {
231
- "name": "employee_id",
231
+ "name": "team_member_id",
232
232
  "in": "path",
233
233
  "required": true,
234
234
  "type": "integer"
235
235
  }
236
236
  ],
237
237
  "tags": [
238
- "Employee"
238
+ "TeamMember"
239
239
  ],
240
240
  "responses": {
241
241
  "200": {
242
- "description": "employee profile",
242
+ "description": "team_member profile",
243
243
  "schema": {
244
244
  "$ref": "#/definitions/UserProfile"
245
245
  }
@@ -253,13 +253,13 @@
253
253
  }
254
254
  }
255
255
  },
256
- "/employee/unavailability/{employee_id}/{date_start}/{date_end}": {
256
+ "/team_member/unavailability/{team_member_id}/{date_start}/{date_end}": {
257
257
  "get": {
258
- "summary": "Employee Profile Availability",
259
- "description": "E_Employee-Profile_Availability (Calendar View - date clicked)\n",
258
+ "summary": "TeamMember Profile Availability",
259
+ "description": "E_TeamMember-Profile_Availability (Calendar View - date clicked)\n",
260
260
  "parameters": [
261
261
  {
262
- "name": "employee_id",
262
+ "name": "team_member_id",
263
263
  "in": "path",
264
264
  "required": true,
265
265
  "type": "integer"
@@ -278,11 +278,11 @@
278
278
  }
279
279
  ],
280
280
  "tags": [
281
- "Employee"
281
+ "TeamMember"
282
282
  ],
283
283
  "responses": {
284
284
  "200": {
285
- "description": "employee unavailability within the current selecte date range",
285
+ "description": "team_member unavailability within the current selecte date range",
286
286
  "schema": {
287
287
  "$ref": "#/definitions/Unavailability"
288
288
  }
@@ -296,10 +296,10 @@
296
296
  }
297
297
  }
298
298
  },
299
- "/employee/unavailability": {
299
+ "/team_member/unavailability": {
300
300
  "post": {
301
- "summary": "Add Employee Unavailability",
302
- "description": "E_Employee-Profile_Availability (Calendar View - date clicked)\n",
301
+ "summary": "Add TeamMember Unavailability",
302
+ "description": "E_TeamMember-Profile_Availability (Calendar View - date clicked)\n",
303
303
  "tags": [
304
304
  "Unavailability"
305
305
  ],
@@ -327,16 +327,16 @@
327
327
  }
328
328
  }
329
329
  },
330
- "/employee/unavailability/{employee_unavailability_id}": {
330
+ "/team_member/unavailability/{team_member_unavailability_id}": {
331
331
  "delete": {
332
- "summary": "Delete Employee Unavailability",
333
- "description": "E_Employee-Profile_Availability_Edit (Delete confirmation)\n",
332
+ "summary": "Delete TeamMember Unavailability",
333
+ "description": "E_TeamMember-Profile_Availability_Edit (Delete confirmation)\n",
334
334
  "tags": [
335
335
  "Unavailability"
336
336
  ],
337
337
  "parameters": [
338
338
  {
339
- "name": "employee_unavailability_id",
339
+ "name": "team_member_unavailability_id",
340
340
  "in": "path",
341
341
  "required": true,
342
342
  "type": "integer"
@@ -355,13 +355,13 @@
355
355
  }
356
356
  }
357
357
  },
358
- "/employee/shift/{employee_id}/{date_start}/{date_end}": {
358
+ "/team_member/shift/{team_member_id}/{date_start}/{date_end}": {
359
359
  "get": {
360
- "summary": "Employee Profile Shifts",
361
- "description": "E_Employee-Profile_Shifts (calendar view – clicked)\nE_Employee-Profile_Shifts (List View)\n",
360
+ "summary": "TeamMember Profile Shifts",
361
+ "description": "E_TeamMember-Profile_Shifts (calendar view – clicked)\nE_TeamMember-Profile_Shifts (List View)\n",
362
362
  "parameters": [
363
363
  {
364
- "name": "employee_id",
364
+ "name": "team_member_id",
365
365
  "in": "path",
366
366
  "required": true,
367
367
  "type": "integer"
@@ -380,13 +380,13 @@
380
380
  }
381
381
  ],
382
382
  "tags": [
383
- "Employee"
383
+ "TeamMember"
384
384
  ],
385
385
  "responses": {
386
386
  "200": {
387
- "description": "employee shifts within the current selecte date range",
387
+ "description": "team_member shifts within the current selecte date range",
388
388
  "schema": {
389
- "$ref": "#/definitions/EmployeeShifts"
389
+ "$ref": "#/definitions/TeamMemberShifts"
390
390
  }
391
391
  },
392
392
  "default": {
@@ -398,12 +398,12 @@
398
398
  }
399
399
  }
400
400
  },
401
- "/employer/shiftbylocation/calendar/{employer_id}/{location_id}/{date_start}/{date_end}": {
401
+ "/team/shiftbylocation/calendar/{team_id}/{location_id}/{date_start}/{date_end}": {
402
402
  "get": {
403
403
  "summary": "Employe Shifts",
404
404
  "parameters": [
405
405
  {
406
- "name": "employer_id",
406
+ "name": "team_id",
407
407
  "in": "path",
408
408
  "required": true,
409
409
  "type": "integer"
@@ -432,9 +432,9 @@
432
432
  ],
433
433
  "responses": {
434
434
  "200": {
435
- "description": "employer shifts count within the current selecte date range",
435
+ "description": "team shifts count within the current selecte date range",
436
436
  "schema": {
437
- "$ref": "#/definitions/EmployerShiftsMonth"
437
+ "$ref": "#/definitions/TeamShiftsMonth"
438
438
  }
439
439
  },
440
440
  "default": {
@@ -446,12 +446,12 @@
446
446
  }
447
447
  }
448
448
  },
449
- "/employer/shiftbylocation/list/{employer_id}/{location_id}/{date_start}/{date_end}": {
449
+ "/team/shiftbylocation/list/{team_id}/{location_id}/{date_start}/{date_end}": {
450
450
  "get": {
451
451
  "summary": "Employe Shifts",
452
452
  "parameters": [
453
453
  {
454
- "name": "employer_id",
454
+ "name": "team_id",
455
455
  "in": "path",
456
456
  "required": true,
457
457
  "type": "integer"
@@ -480,9 +480,9 @@
480
480
  ],
481
481
  "responses": {
482
482
  "200": {
483
- "description": "employer shifts count within the current selecte date range",
483
+ "description": "team shifts count within the current selecte date range",
484
484
  "schema": {
485
- "$ref": "#/definitions/EmployerShifts"
485
+ "$ref": "#/definitions/TeamShifts"
486
486
  }
487
487
  },
488
488
  "default": {
@@ -496,10 +496,10 @@
496
496
  },
497
497
  "/shift/publish": {
498
498
  "put": {
499
- "summary": "Publish Employer Shifts",
499
+ "summary": "Publish Team Shifts",
500
500
  "parameters": [
501
501
  {
502
- "name": "employer_shift_id",
502
+ "name": "team_shift_id",
503
503
  "in": "query",
504
504
  "required": true,
505
505
  "type": "integer"
@@ -521,12 +521,12 @@
521
521
  }
522
522
  }
523
523
  },
524
- "/shift/{employer_shift_id}": {
524
+ "/shift/{team_shift_id}": {
525
525
  "put": {
526
- "summary": "Employer Shift Update",
526
+ "summary": "Team Shift Update",
527
527
  "parameters": [
528
528
  {
529
- "name": "employer_shift_id",
529
+ "name": "team_shift_id",
530
530
  "in": "path",
531
531
  "required": true,
532
532
  "type": "integer"
@@ -537,7 +537,7 @@
537
537
  "required": false,
538
538
  "description": "accepts shift form data.",
539
539
  "schema": {
540
- "$ref": "#/definitions/EmployerShifts"
540
+ "$ref": "#/definitions/TeamShifts"
541
541
  }
542
542
  }
543
543
  ],
@@ -559,7 +559,7 @@
559
559
  },
560
560
  "/shift": {
561
561
  "post": {
562
- "summary": "Add Employer Shift",
562
+ "summary": "Add Team Shift",
563
563
  "parameters": [
564
564
  {
565
565
  "in": "body",
@@ -567,7 +567,7 @@
567
567
  "required": false,
568
568
  "description": "accepts shift form data.",
569
569
  "schema": {
570
- "$ref": "#/definitions/EmployerShifts"
570
+ "$ref": "#/definitions/TeamShifts"
571
571
  }
572
572
  }
573
573
  ],
@@ -587,12 +587,12 @@
587
587
  }
588
588
  }
589
589
  },
590
- "/employee/shift/{employee_id}": {
590
+ "/team_member/shift/{team_member_id}": {
591
591
  "get": {
592
- "summary": "Employee Shift",
592
+ "summary": "TeamMember Shift",
593
593
  "parameters": [
594
594
  {
595
- "name": "employee_id",
595
+ "name": "team_member_id",
596
596
  "in": "path",
597
597
  "required": true,
598
598
  "type": "integer"
@@ -605,7 +605,7 @@
605
605
  "200": {
606
606
  "description": "shift added",
607
607
  "schema": {
608
- "$ref": "#/definitions/EmployeeShift"
608
+ "$ref": "#/definitions/TeamMemberShift"
609
609
  }
610
610
  },
611
611
  "default": {
@@ -617,12 +617,12 @@
617
617
  }
618
618
  }
619
619
  },
620
- "/shift/scheduled/{employer_shift_id}": {
620
+ "/shift/scheduled/{team_shift_id}": {
621
621
  "get": {
622
- "summary": "List Employees Scheduled on this Shift",
622
+ "summary": "List TeamMembers Scheduled on this Shift",
623
623
  "parameters": [
624
624
  {
625
- "name": "employer_shift_id",
625
+ "name": "team_shift_id",
626
626
  "in": "path",
627
627
  "required": true,
628
628
  "type": "integer"
@@ -633,7 +633,7 @@
633
633
  ],
634
634
  "responses": {
635
635
  "200": {
636
- "description": "list of employees",
636
+ "description": "list of team_members",
637
637
  "schema": {
638
638
  "$ref": "#/definitions/UserProfile"
639
639
  }
@@ -647,18 +647,18 @@
647
647
  }
648
648
  }
649
649
  },
650
- "/shift/add/employee/{employer_shift_id}": {
650
+ "/shift/add/team_member/{team_shift_id}": {
651
651
  "post": {
652
- "summary": "Add employee on shift",
652
+ "summary": "Add team_member on shift",
653
653
  "parameters": [
654
654
  {
655
- "name": "employer_shift_id",
655
+ "name": "team_shift_id",
656
656
  "in": "path",
657
657
  "required": true,
658
658
  "type": "integer"
659
659
  },
660
660
  {
661
- "name": "employee_id",
661
+ "name": "team_member_id",
662
662
  "in": "query",
663
663
  "required": true,
664
664
  "type": "integer"
@@ -669,7 +669,7 @@
669
669
  ],
670
670
  "responses": {
671
671
  "200": {
672
- "description": "add employee to shift"
672
+ "description": "add team_member to shift"
673
673
  },
674
674
  "default": {
675
675
  "description": "Unexpected error",
@@ -680,12 +680,12 @@
680
680
  }
681
681
  }
682
682
  },
683
- "/shift/employee/{employer_shift_assigned_id}/": {
683
+ "/shift/team_member/{team_shift_assigned_id}/": {
684
684
  "delete": {
685
- "summary": "Remove employee on shift",
685
+ "summary": "Remove team_member on shift",
686
686
  "parameters": [
687
687
  {
688
- "name": "employer_shift_assigned_id",
688
+ "name": "team_shift_assigned_id",
689
689
  "in": "path",
690
690
  "required": true,
691
691
  "type": "integer"
@@ -696,7 +696,7 @@
696
696
  ],
697
697
  "responses": {
698
698
  "200": {
699
- "description": "employee removed"
699
+ "description": "team_member removed"
700
700
  },
701
701
  "default": {
702
702
  "description": "Unexpected error",
@@ -707,10 +707,10 @@
707
707
  }
708
708
  }
709
709
  },
710
- "/user/employer/employee-profile/{location_id}": {
710
+ "/user/team/team_member-profile/{location_id}": {
711
711
  "get": {
712
- "summary": "Employer Own Profile",
713
- "description": "List all employees under the employer's location\n",
712
+ "summary": "Team Own Profile",
713
+ "description": "List all team_members under the team's location\n",
714
714
  "parameters": [
715
715
  {
716
716
  "name": "location_id",
@@ -720,12 +720,12 @@
720
720
  }
721
721
  ],
722
722
  "tags": [
723
- "Employees",
724
- "Employer"
723
+ "TeamMembers",
724
+ "Team"
725
725
  ],
726
726
  "responses": {
727
727
  "200": {
728
- "description": "List of employees profile",
728
+ "description": "List of team_members profile",
729
729
  "schema": {
730
730
  "$ref": "#/definitions/UserProfile"
731
731
  }
@@ -747,7 +747,7 @@
747
747
  }
748
748
  ],
749
749
  "summary": "Update User Data",
750
- "description": "This updates individual or group of user's records\n*Pages 3_Account_EmployerProfile_*\n",
750
+ "description": "This updates individual or group of user's records\n*Pages 3_Account_TeamProfile_*\n",
751
751
  "parameters": [
752
752
  {
753
753
  "in": "body",
@@ -778,7 +778,7 @@
778
778
  "/user/password": {
779
779
  "put": {
780
780
  "summary": "Update User Data",
781
- "description": "This updates individual or group of user's records\n*Pages 3_Account_EmployerProfile_*\n",
781
+ "description": "This updates individual or group of user's records\n*Pages 3_Account_TeamProfile_*\n",
782
782
  "parameters": [
783
783
  {
784
784
  "name": "new_password",
@@ -831,17 +831,17 @@
831
831
  }
832
832
  }
833
833
  },
834
- "/employee/accept-employer/{employer_id}": {
834
+ "/team_member/accept-team/{team_id}": {
835
835
  "get": {
836
- "summary": "Accept Employer",
836
+ "summary": "Accept Team",
837
837
  "description": "4_Messages_ChatWindow_EmploymentOffer_Reject(confirm)\n4_Messages_ChatWindow_EmploymentOffer_Accept(confirm)\n",
838
838
  "parameters": [
839
839
  {
840
- "name": "employer_id",
840
+ "name": "team_id",
841
841
  "in": "path",
842
842
  "required": true,
843
843
  "type": "string",
844
- "description": "Employer ID"
844
+ "description": "Team ID"
845
845
  },
846
846
  {
847
847
  "name": "response",
@@ -884,7 +884,7 @@
884
884
  "/industry": {
885
885
  "get": {
886
886
  "summary": "List all industries",
887
- "description": "fetch industries, used in select/list\n*Page 3_Account_EmployerProfile (Industry select)\n",
887
+ "description": "fetch industries, used in select/list\n*Page 3_Account_TeamProfile (Industry select)\n",
888
888
  "tags": [
889
889
  "Industry"
890
890
  ],
@@ -1012,7 +1012,7 @@
1012
1012
  },
1013
1013
  "/document/share/{document_id}": {
1014
1014
  "delete": {
1015
- "summary": "Remove employer to document share",
1015
+ "summary": "Remove team to document share",
1016
1016
  "tags": [
1017
1017
  "Documents"
1018
1018
  ],
@@ -1025,11 +1025,11 @@
1025
1025
  "description": "Document ID"
1026
1026
  },
1027
1027
  {
1028
- "name": "employer_id",
1028
+ "name": "team_id",
1029
1029
  "in": "query",
1030
1030
  "required": true,
1031
1031
  "type": "string",
1032
- "description": "Employer ID"
1032
+ "description": "Team ID"
1033
1033
  }
1034
1034
  ],
1035
1035
  "responses": {
@@ -1045,24 +1045,24 @@
1045
1045
  }
1046
1046
  }
1047
1047
  },
1048
- "/employee/documents/shared/{employee_id}": {
1048
+ "/team_member/documents/shared/{team_member_id}": {
1049
1049
  "get": {
1050
- "summary": "List all employee's documents",
1050
+ "summary": "List all team_member's documents",
1051
1051
  "tags": [
1052
1052
  "Documents"
1053
1053
  ],
1054
1054
  "parameters": [
1055
1055
  {
1056
- "name": "employee_id",
1056
+ "name": "team_member_id",
1057
1057
  "in": "path",
1058
1058
  "required": true,
1059
1059
  "type": "string",
1060
- "description": "Employee ID"
1060
+ "description": "TeamMember ID"
1061
1061
  }
1062
1062
  ],
1063
1063
  "responses": {
1064
1064
  "200": {
1065
- "description": "Employee document lists",
1065
+ "description": "TeamMember document lists",
1066
1066
  "schema": {
1067
1067
  "$ref": "#/definitions/Documents"
1068
1068
  }
@@ -1076,9 +1076,9 @@
1076
1076
  }
1077
1077
  }
1078
1078
  },
1079
- "/employee/document/shared/{document_id}": {
1079
+ "/team_member/document/shared/{document_id}": {
1080
1080
  "get": {
1081
- "summary": "Employee's document Details",
1081
+ "summary": "TeamMember's document Details",
1082
1082
  "tags": [
1083
1083
  "Documents"
1084
1084
  ],
@@ -1088,12 +1088,12 @@
1088
1088
  "in": "path",
1089
1089
  "required": true,
1090
1090
  "type": "string",
1091
- "description": "Employee ID"
1091
+ "description": "TeamMember ID"
1092
1092
  }
1093
1093
  ],
1094
1094
  "responses": {
1095
1095
  "200": {
1096
- "description": "Employee document details",
1096
+ "description": "TeamMember document details",
1097
1097
  "schema": {
1098
1098
  "$ref": "#/definitions/Documents"
1099
1099
  }
@@ -1107,19 +1107,19 @@
1107
1107
  }
1108
1108
  }
1109
1109
  },
1110
- "/employee/locations/{employee_id}": {
1110
+ "/team_member/locations/{team_member_id}": {
1111
1111
  "post": {
1112
- "summary": "Employee's list of locations",
1112
+ "summary": "TeamMember's list of locations",
1113
1113
  "tags": [
1114
1114
  "Locations"
1115
1115
  ],
1116
1116
  "parameters": [
1117
1117
  {
1118
- "name": "employee_id",
1118
+ "name": "team_member_id",
1119
1119
  "in": "path",
1120
1120
  "required": true,
1121
1121
  "type": "integer",
1122
- "description": "Employee ID"
1122
+ "description": "TeamMember ID"
1123
1123
  },
1124
1124
  {
1125
1125
  "in": "body",
@@ -1133,7 +1133,7 @@
1133
1133
  ],
1134
1134
  "responses": {
1135
1135
  "200": {
1136
- "description": "Employee location added"
1136
+ "description": "TeamMember location added"
1137
1137
  },
1138
1138
  "default": {
1139
1139
  "description": "Unexpected error",
@@ -1144,24 +1144,24 @@
1144
1144
  }
1145
1145
  }
1146
1146
  },
1147
- "/employee/location/{employee_location_id}": {
1147
+ "/team_member/location/{team_member_location_id}": {
1148
1148
  "delete": {
1149
- "summary": "remove location from employee",
1149
+ "summary": "remove location from team_member",
1150
1150
  "tags": [
1151
1151
  "Locations"
1152
1152
  ],
1153
1153
  "parameters": [
1154
1154
  {
1155
- "name": "employee_location_id",
1155
+ "name": "team_member_location_id",
1156
1156
  "in": "path",
1157
1157
  "required": true,
1158
1158
  "type": "integer",
1159
- "description": "Employee Location ID"
1159
+ "description": "TeamMember Location ID"
1160
1160
  }
1161
1161
  ],
1162
1162
  "responses": {
1163
1163
  "200": {
1164
- "description": "Successfully remove employees locations"
1164
+ "description": "Successfully remove team_members locations"
1165
1165
  },
1166
1166
  "default": {
1167
1167
  "description": "Unexpected error",
@@ -1172,19 +1172,19 @@
1172
1172
  }
1173
1173
  }
1174
1174
  },
1175
- "/employee/notes/{employee_id}": {
1175
+ "/team_member/notes/{team_member_id}": {
1176
1176
  "post": {
1177
- "summary": "Add Employee's notes",
1177
+ "summary": "Add TeamMember's notes",
1178
1178
  "tags": [
1179
1179
  "Notes"
1180
1180
  ],
1181
1181
  "parameters": [
1182
1182
  {
1183
- "name": "employee_id",
1183
+ "name": "team_member_id",
1184
1184
  "in": "path",
1185
1185
  "required": true,
1186
1186
  "type": "integer",
1187
- "description": "Employee ID"
1187
+ "description": "TeamMember ID"
1188
1188
  },
1189
1189
  {
1190
1190
  "in": "body",
@@ -1198,7 +1198,7 @@
1198
1198
  ],
1199
1199
  "responses": {
1200
1200
  "200": {
1201
- "description": "Employee notes added"
1201
+ "description": "TeamMember notes added"
1202
1202
  },
1203
1203
  "default": {
1204
1204
  "description": "Unexpected error",
@@ -1209,15 +1209,15 @@
1209
1209
  }
1210
1210
  }
1211
1211
  },
1212
- "/employee/note/{employee_notes_id}": {
1212
+ "/team_member/note/{team_member_notes_id}": {
1213
1213
  "delete": {
1214
- "summary": "Delte employee's note",
1214
+ "summary": "Delte team_member's note",
1215
1215
  "tags": [
1216
1216
  "Notes"
1217
1217
  ],
1218
1218
  "parameters": [
1219
1219
  {
1220
- "name": "employee_notes_id",
1220
+ "name": "team_member_notes_id",
1221
1221
  "in": "path",
1222
1222
  "required": true,
1223
1223
  "type": "integer",
@@ -1226,7 +1226,7 @@
1226
1226
  ],
1227
1227
  "responses": {
1228
1228
  "200": {
1229
- "description": "Employee note deleted"
1229
+ "description": "TeamMember note deleted"
1230
1230
  },
1231
1231
  "default": {
1232
1232
  "description": "Unexpected error",
@@ -1237,24 +1237,24 @@
1237
1237
  }
1238
1238
  }
1239
1239
  },
1240
- "/employee/roles/{employee_id}": {
1240
+ "/team_member/roles/{team_member_id}": {
1241
1241
  "get": {
1242
- "summary": "Employee Role List",
1242
+ "summary": "TeamMember Role List",
1243
1243
  "tags": [
1244
1244
  "Role"
1245
1245
  ],
1246
1246
  "parameters": [
1247
1247
  {
1248
- "name": "employee_id",
1248
+ "name": "team_member_id",
1249
1249
  "in": "path",
1250
1250
  "required": true,
1251
1251
  "type": "integer",
1252
- "description": "Employee ID"
1252
+ "description": "TeamMember ID"
1253
1253
  }
1254
1254
  ],
1255
1255
  "responses": {
1256
1256
  "200": {
1257
- "description": "Employee role list",
1257
+ "description": "TeamMember role list",
1258
1258
  "schema": {
1259
1259
  "$ref": "#/definitions/Role"
1260
1260
  }
@@ -1268,19 +1268,19 @@
1268
1268
  }
1269
1269
  }
1270
1270
  },
1271
- "/employee/role": {
1271
+ "/team_member/role": {
1272
1272
  "post": {
1273
- "summary": "Add Employee Role",
1273
+ "summary": "Add TeamMember Role",
1274
1274
  "tags": [
1275
1275
  "Role"
1276
1276
  ],
1277
1277
  "parameters": [
1278
1278
  {
1279
- "name": "employee_id",
1279
+ "name": "team_member_id",
1280
1280
  "in": "query",
1281
1281
  "required": true,
1282
1282
  "type": "integer",
1283
- "description": "Employee ID"
1283
+ "description": "TeamMember ID"
1284
1284
  },
1285
1285
  {
1286
1286
  "in": "body",
@@ -1294,7 +1294,7 @@
1294
1294
  ],
1295
1295
  "responses": {
1296
1296
  "200": {
1297
- "description": "Employee role added"
1297
+ "description": "TeamMember role added"
1298
1298
  },
1299
1299
  "default": {
1300
1300
  "description": "Unexpected error",
@@ -1305,24 +1305,24 @@
1305
1305
  }
1306
1306
  }
1307
1307
  },
1308
- "/employee/role/{employee_role_id}": {
1308
+ "/team_member/role/{team_member_role_id}": {
1309
1309
  "get": {
1310
- "summary": "Get Employee Role Details",
1310
+ "summary": "Get TeamMember Role Details",
1311
1311
  "tags": [
1312
1312
  "Role"
1313
1313
  ],
1314
1314
  "parameters": [
1315
1315
  {
1316
- "name": "employee_role_id",
1316
+ "name": "team_member_role_id",
1317
1317
  "in": "path",
1318
1318
  "required": true,
1319
1319
  "type": "integer",
1320
- "description": "Employee Role ID"
1320
+ "description": "TeamMember Role ID"
1321
1321
  }
1322
1322
  ],
1323
1323
  "responses": {
1324
1324
  "200": {
1325
- "description": "Employee role details",
1325
+ "description": "TeamMember role details",
1326
1326
  "schema": {
1327
1327
  "$ref": "#/definitions/RoleDetails"
1328
1328
  }
@@ -1336,24 +1336,24 @@
1336
1336
  }
1337
1337
  }
1338
1338
  },
1339
- "/employee/role/variation/{employee_role_variation_id}": {
1339
+ "/team_member/role/variation/{team_member_role_variation_id}": {
1340
1340
  "get": {
1341
- "summary": "Get Employee Role Variation Details",
1341
+ "summary": "Get TeamMember Role Variation Details",
1342
1342
  "tags": [
1343
1343
  "Role"
1344
1344
  ],
1345
1345
  "parameters": [
1346
1346
  {
1347
- "name": "employee_role_variation_id",
1347
+ "name": "team_member_role_variation_id",
1348
1348
  "in": "path",
1349
1349
  "required": true,
1350
1350
  "type": "integer",
1351
- "description": "Employee Role Variation ID"
1351
+ "description": "TeamMember Role Variation ID"
1352
1352
  }
1353
1353
  ],
1354
1354
  "responses": {
1355
1355
  "200": {
1356
- "description": "Employee role variation details",
1356
+ "description": "TeamMember role variation details",
1357
1357
  "schema": {
1358
1358
  "$ref": "#/definitions/RoleVariation"
1359
1359
  }
@@ -1367,19 +1367,19 @@
1367
1367
  }
1368
1368
  }
1369
1369
  },
1370
- "/employee/role/variation": {
1370
+ "/team_member/role/variation": {
1371
1371
  "post": {
1372
- "summary": "Add Employee Role Variation",
1372
+ "summary": "Add TeamMember Role Variation",
1373
1373
  "tags": [
1374
1374
  "Role"
1375
1375
  ],
1376
1376
  "parameters": [
1377
1377
  {
1378
- "name": "employee_id",
1378
+ "name": "team_member_id",
1379
1379
  "in": "query",
1380
1380
  "required": true,
1381
1381
  "type": "integer",
1382
- "description": "Employee Role Variation ID"
1382
+ "description": "TeamMember Role Variation ID"
1383
1383
  },
1384
1384
  {
1385
1385
  "in": "body",
@@ -1393,7 +1393,7 @@
1393
1393
  ],
1394
1394
  "responses": {
1395
1395
  "200": {
1396
- "description": "Employee role variation added"
1396
+ "description": "TeamMember role variation added"
1397
1397
  },
1398
1398
  "default": {
1399
1399
  "description": "Unexpected error",
@@ -1404,24 +1404,24 @@
1404
1404
  }
1405
1405
  }
1406
1406
  },
1407
- "/employee/role/variations/{employee_role_id}": {
1407
+ "/team_member/role/variations/{team_member_role_id}": {
1408
1408
  "get": {
1409
- "summary": "Get Employee Role Variation List",
1409
+ "summary": "Get TeamMember Role Variation List",
1410
1410
  "tags": [
1411
1411
  "Role"
1412
1412
  ],
1413
1413
  "parameters": [
1414
1414
  {
1415
- "name": "employee_role_id",
1415
+ "name": "team_member_role_id",
1416
1416
  "in": "path",
1417
1417
  "required": true,
1418
1418
  "type": "integer",
1419
- "description": "Employee Role ID"
1419
+ "description": "TeamMember Role ID"
1420
1420
  }
1421
1421
  ],
1422
1422
  "responses": {
1423
1423
  "200": {
1424
- "description": "Employee role details",
1424
+ "description": "TeamMember role details",
1425
1425
  "schema": {
1426
1426
  "$ref": "#/definitions/RoleVariation"
1427
1427
  }
@@ -1586,9 +1586,9 @@
1586
1586
  }
1587
1587
  }
1588
1588
  },
1589
- "/user/superfund/employer/{user_supperfund_id}": {
1589
+ "/user/superfund/team/{user_supperfund_id}": {
1590
1590
  "get": {
1591
- "summary": "List All Employer with SuperFund",
1591
+ "summary": "List All Team with SuperFund",
1592
1592
  "tags": [
1593
1593
  "SuperFund"
1594
1594
  ],
@@ -1603,17 +1603,17 @@
1603
1603
  ],
1604
1604
  "responses": {
1605
1605
  "default": {
1606
- "description": "List Employer with superfund",
1606
+ "description": "List Team with superfund",
1607
1607
  "schema": {
1608
- "$ref": "#/definitions/UserEmployerSuperFund"
1608
+ "$ref": "#/definitions/UserTeamSuperFund"
1609
1609
  }
1610
1610
  }
1611
1611
  }
1612
1612
  }
1613
1613
  },
1614
- "/user/superfund/employer/remove/{user_supperfund_id}": {
1614
+ "/user/superfund/team/remove/{user_supperfund_id}": {
1615
1615
  "post": {
1616
- "summary": "Remove User Employer SupportFund",
1616
+ "summary": "Remove User Team SupportFund",
1617
1617
  "tags": [
1618
1618
  "SuperFund"
1619
1619
  ],
@@ -1626,16 +1626,16 @@
1626
1626
  "description": "User SuperFund ID"
1627
1627
  },
1628
1628
  {
1629
- "name": "employer_id",
1629
+ "name": "team_id",
1630
1630
  "in": "query",
1631
1631
  "required": true,
1632
1632
  "type": "integer",
1633
- "description": "Employer ID"
1633
+ "description": "Team ID"
1634
1634
  }
1635
1635
  ],
1636
1636
  "responses": {
1637
1637
  "200": {
1638
- "description": "User Employer SuperFund successfully remove"
1638
+ "description": "User Team SuperFund successfully remove"
1639
1639
  },
1640
1640
  "default": {
1641
1641
  "description": "Unexpected error",
@@ -1649,7 +1649,7 @@
1649
1649
  "/pay-approval-options": {
1650
1650
  "get": {
1651
1651
  "summary": "List all Pay approval options",
1652
- "description": "used in select/list\n*Page 3_Account_EmployerProfile_PayRun (Approval Day Frequency select)\n",
1652
+ "description": "used in select/list\n*Page 3_Account_TeamProfile_PayRun (Approval Day Frequency select)\n",
1653
1653
  "tags": [
1654
1654
  "Payroll"
1655
1655
  ],
@@ -1666,7 +1666,7 @@
1666
1666
  "/pay-interval-options": {
1667
1667
  "get": {
1668
1668
  "summary": "List all Pay interval options",
1669
- "description": "used in select/list\n*Page 3_Account_EmployerProfile_PayRun (Interval select)\n",
1669
+ "description": "used in select/list\n*Page 3_Account_TeamProfile_PayRun (Interval select)\n",
1670
1670
  "tags": [
1671
1671
  "Payroll"
1672
1672
  ],
@@ -1683,7 +1683,7 @@
1683
1683
  "/pay-release-options": {
1684
1684
  "get": {
1685
1685
  "summary": "List all Pay release options",
1686
- "description": "used in select/list\n*Page 3_Account_EmployerProfile_PayRun (Interval select)\n",
1686
+ "description": "used in select/list\n*Page 3_Account_TeamProfile_PayRun (Interval select)\n",
1687
1687
  "tags": [
1688
1688
  "Payroll"
1689
1689
  ],
@@ -1700,7 +1700,7 @@
1700
1700
  "/tax-entity-type-options": {
1701
1701
  "get": {
1702
1702
  "summary": "List all Tax entity Type",
1703
- "description": "used in select/list\n*Page 3_Account_EmployerProfile_Tax (Entity Type Select)\n",
1703
+ "description": "used in select/list\n*Page 3_Account_TeamProfile_Tax (Entity Type Select)\n",
1704
1704
  "tags": [
1705
1705
  "Entity",
1706
1706
  "Tax"
@@ -1718,7 +1718,7 @@
1718
1718
  "/tax-reporting-options": {
1719
1719
  "get": {
1720
1720
  "summary": "List all Tax Reporting Option",
1721
- "description": "used in select/list\n*Page 3_Account_EmployerProfile_Tax (Reporting Period Select)\n",
1721
+ "description": "used in select/list\n*Page 3_Account_TeamProfile_Tax (Reporting Period Select)\n",
1722
1722
  "tags": [
1723
1723
  "Reporting",
1724
1724
  "Tax"
@@ -1735,13 +1735,13 @@
1735
1735
  }
1736
1736
  },
1737
1737
  "definitions": {
1738
- "EmployeeShift": {
1738
+ "TeamMemberShift": {
1739
1739
  "properties": {
1740
1740
  "user_id": {
1741
1741
  "type": "integer",
1742
1742
  "description": "User ID."
1743
1743
  },
1744
- "employer_shift_assigned_id": {
1744
+ "team_shift_assigned_id": {
1745
1745
  "type": "integer",
1746
1746
  "description": "Shift ID."
1747
1747
  },
@@ -1822,102 +1822,102 @@
1822
1822
  }
1823
1823
  }
1824
1824
  },
1825
- "EmployerOwnProfile": {
1825
+ "TeamOwnProfile": {
1826
1826
  "properties": {
1827
- "employer_id": {
1827
+ "team_id": {
1828
1828
  "type": "integer",
1829
- "description": "Employer ID."
1829
+ "description": "Team ID."
1830
1830
  },
1831
- "employer_business_name": {
1831
+ "team_name": {
1832
1832
  "type": "string",
1833
- "description": "Business name of the employer."
1833
+ "description": "Business name of the team."
1834
1834
  },
1835
- "employer_iconurl": {
1835
+ "team_iconurl": {
1836
1836
  "type": "string",
1837
- "description": "Icon URL/Thumbnail of the employer."
1837
+ "description": "Icon URL/Thumbnail of the team."
1838
1838
  },
1839
1839
  "user_name_last": {
1840
1840
  "type": "string",
1841
- "description": "Employer last name."
1841
+ "description": "Team last name."
1842
1842
  },
1843
1843
  "user_name_first": {
1844
1844
  "type": "string",
1845
- "description": "Employer first name."
1845
+ "description": "Team first name."
1846
1846
  },
1847
- "employer_email": {
1847
+ "team_email": {
1848
1848
  "type": "string",
1849
- "description": "Employer email."
1849
+ "description": "Team email."
1850
1850
  },
1851
- "employer_phone": {
1851
+ "team_phone": {
1852
1852
  "type": "string",
1853
- "description": "Employer phone number."
1853
+ "description": "Team phone number."
1854
1854
  },
1855
1855
  "industry_id": {
1856
1856
  "type": "string",
1857
- "description": "Employer industry."
1857
+ "description": "Team industry."
1858
1858
  },
1859
- "employer_abn": {
1859
+ "team_abn": {
1860
1860
  "type": "string",
1861
- "description": "Employer ABN number."
1861
+ "description": "Team ABN number."
1862
1862
  },
1863
- "employer_acn": {
1863
+ "team_acn": {
1864
1864
  "type": "string",
1865
- "description": "Employer ACN number."
1865
+ "description": "Team ACN number."
1866
1866
  },
1867
- "employer_contact_email": {
1867
+ "team_contact_email": {
1868
1868
  "type": "string",
1869
- "description": "Employer contact email."
1869
+ "description": "Team contact email."
1870
1870
  },
1871
- "employer_contact_name": {
1871
+ "team_contact_name": {
1872
1872
  "type": "string",
1873
- "description": "Employer contact phone."
1873
+ "description": "Team contact phone."
1874
1874
  },
1875
1875
  "payroll_interval_id": {
1876
1876
  "type": "integer",
1877
- "description": "Employer payroll interval id."
1877
+ "description": "Team payroll interval id."
1878
1878
  },
1879
1879
  "payroll_approval_id": {
1880
1880
  "type": "integer",
1881
- "description": "Employer payroll approval id."
1881
+ "description": "Team payroll approval id."
1882
1882
  },
1883
1883
  "payroll_release_id": {
1884
1884
  "type": "integer",
1885
- "description": "Employer payroll release id."
1885
+ "description": "Team payroll release id."
1886
1886
  },
1887
1887
  "tax_entity_id": {
1888
1888
  "type": "integer",
1889
- "description": "Employer tax entity id."
1889
+ "description": "Team tax entity id."
1890
1890
  },
1891
1891
  "tax_reporting_id": {
1892
1892
  "type": "integer",
1893
- "description": "Employer tax reporting id."
1893
+ "description": "Team tax reporting id."
1894
1894
  },
1895
- "employer_tax_gst": {
1895
+ "team_tax_gst": {
1896
1896
  "type": "integer",
1897
- "description": "Employer tax gst."
1897
+ "description": "Team tax gst."
1898
1898
  },
1899
- "employer_tax_payrolltax": {
1899
+ "team_tax_payrolltax": {
1900
1900
  "type": "integer",
1901
- "description": "Employer tax payroll tax."
1901
+ "description": "Team tax payroll tax."
1902
1902
  },
1903
1903
  "address": {
1904
1904
  "type": "array",
1905
- "description": "Full address of the employer.",
1905
+ "description": "Full address of the team.",
1906
1906
  "items": {
1907
- "$ref": "#/definitions/EmployerAddress"
1907
+ "$ref": "#/definitions/TeamAddress"
1908
1908
  }
1909
1909
  }
1910
1910
  }
1911
1911
  },
1912
- "EmployeeShifts": {
1912
+ "TeamMemberShifts": {
1913
1913
  "properties": {
1914
- "employer_shift_assigned_id": {
1914
+ "team_shift_assigned_id": {
1915
1915
  "type": "integer"
1916
1916
  },
1917
- "employer_id": {
1917
+ "team_id": {
1918
1918
  "type": "integer"
1919
1919
  },
1920
- "employee_id": {
1920
+ "team_member_id": {
1921
1921
  "type": "integer"
1922
1922
  },
1923
1923
  "location_id": {
@@ -1940,12 +1940,12 @@
1940
1940
  }
1941
1941
  }
1942
1942
  },
1943
- "EmployerShifts": {
1943
+ "TeamShifts": {
1944
1944
  "properties": {
1945
- "employer_shift_id": {
1945
+ "team_shift_id": {
1946
1946
  "type": "integer"
1947
1947
  },
1948
- "employer_id": {
1948
+ "team_id": {
1949
1949
  "type": "integer"
1950
1950
  },
1951
1951
  "location_id": {
@@ -1954,15 +1954,15 @@
1954
1954
  "role_id": {
1955
1955
  "type": "integer"
1956
1956
  },
1957
- "employer_shift_time_start": {
1957
+ "team_shift_time_start": {
1958
1958
  "type": "string",
1959
1959
  "description": "start date and time"
1960
1960
  },
1961
- "employer_shift_time_end": {
1961
+ "team_shift_time_end": {
1962
1962
  "type": "string",
1963
1963
  "description": "end date and time"
1964
1964
  },
1965
- "employer_shift_repeat": {
1965
+ "team_shift_repeat": {
1966
1966
  "type": "boolean"
1967
1967
  },
1968
1968
  "notes": {
@@ -1970,9 +1970,9 @@
1970
1970
  }
1971
1971
  }
1972
1972
  },
1973
- "EmployerShiftsMonth": {
1973
+ "TeamShiftsMonth": {
1974
1974
  "properties": {
1975
- "employer_shift_id": {
1975
+ "team_shift_id": {
1976
1976
  "type": "integer"
1977
1977
  },
1978
1978
  "date": {
@@ -1990,31 +1990,31 @@
1990
1990
  },
1991
1991
  "Unavailability": {
1992
1992
  "properties": {
1993
- "employee_unavailability_id": {
1993
+ "team_member_unavailability_id": {
1994
1994
  "type": "integer",
1995
1995
  "description": "unavailability id"
1996
1996
  },
1997
- "employee_unavailability_date_start": {
1997
+ "team_member_unavailability_date_start": {
1998
1998
  "type": "string",
1999
1999
  "description": "start date and time"
2000
2000
  },
2001
- "employee_unavailability_date_endv": {
2001
+ "team_member_unavailability_date_endv": {
2002
2002
  "type": "string",
2003
2003
  "description": "end date and time"
2004
2004
  },
2005
- "employee_id": {
2005
+ "team_member_id": {
2006
2006
  "type": "integer",
2007
- "description": "employee id"
2007
+ "description": "team_member id"
2008
2008
  },
2009
2009
  "notes": {
2010
2010
  "type": "string",
2011
2011
  "description": "notes"
2012
2012
  },
2013
- "employee_unavailability_special_day": {
2013
+ "team_member_unavailability_special_day": {
2014
2014
  "type": "string",
2015
2015
  "description": "special day"
2016
2016
  },
2017
- "employee_unavailability_fullday": {
2017
+ "team_member_unavailability_fullday": {
2018
2018
  "type": "boolean",
2019
2019
  "description": "Fullday or not"
2020
2020
  }
@@ -2067,9 +2067,9 @@
2067
2067
  "type": "integer",
2068
2068
  "description": "Document ID"
2069
2069
  },
2070
- "employer_id": {
2070
+ "team_id": {
2071
2071
  "type": "string",
2072
- "description": "Employer ID"
2072
+ "description": "Team ID"
2073
2073
  }
2074
2074
  }
2075
2075
  },
@@ -2144,9 +2144,9 @@
2144
2144
  "type": "integer",
2145
2145
  "description": "User Bank ID"
2146
2146
  },
2147
- "employer_id": {
2147
+ "team_id": {
2148
2148
  "type": "integer",
2149
- "description": "Employer ID"
2149
+ "description": "Team ID"
2150
2150
  },
2151
2151
  "user_bank_allotment_percent": {
2152
2152
  "type": "string",
@@ -2195,18 +2195,18 @@
2195
2195
  }
2196
2196
  }
2197
2197
  },
2198
- "UserEmployerSuperFund": {
2198
+ "UserTeamSuperFund": {
2199
2199
  "properties": {
2200
- "user_employer_superfund_id": {
2200
+ "user_team_superfund_id": {
2201
2201
  "type": "integer"
2202
2202
  },
2203
2203
  "user_superfund_id": {
2204
2204
  "type": "integer"
2205
2205
  },
2206
- "employer_id": {
2206
+ "team_id": {
2207
2207
  "type": "integer"
2208
2208
  },
2209
- "employer_name": {
2209
+ "team_name": {
2210
2210
  "type": "string"
2211
2211
  },
2212
2212
  "user_superfund_status": {
@@ -2219,7 +2219,7 @@
2219
2219
  "properties": {
2220
2220
  "acount_id": {
2221
2221
  "type": "integer",
2222
- "description": "ID of the account, either id of the employer of id of the user."
2222
+ "description": "ID of the account, either id of the team of id of the user."
2223
2223
  },
2224
2224
  "display_name": {
2225
2225
  "type": "string",
@@ -2231,35 +2231,35 @@
2231
2231
  },
2232
2232
  "account_type": {
2233
2233
  "type": "string",
2234
- "description": "Account Type(User, Own Employer, Employer)."
2234
+ "description": "Account Type(User, Own Team, Team)."
2235
2235
  }
2236
2236
  }
2237
2237
  },
2238
- "EmployerAddress": {
2238
+ "TeamAddress": {
2239
2239
  "properties": {
2240
- "employer_address_line1": {
2240
+ "team_address_line1": {
2241
2241
  "type": "string",
2242
- "description": "Employer current address line one"
2242
+ "description": "Team current address line one"
2243
2243
  },
2244
- "employer_address_line2": {
2244
+ "team_address_line2": {
2245
2245
  "type": "string",
2246
- "description": "Employer current address line two"
2246
+ "description": "Team current address line two"
2247
2247
  },
2248
- "employer_address_city": {
2248
+ "team_address_city": {
2249
2249
  "type": "string",
2250
- "description": "Employer current city"
2250
+ "description": "Team current city"
2251
2251
  },
2252
- "employer_postcode": {
2252
+ "team_postcode": {
2253
2253
  "type": "string",
2254
- "description": "Employer current postcode"
2254
+ "description": "Team current postcode"
2255
2255
  },
2256
- "employer_state": {
2256
+ "team_state": {
2257
2257
  "type": "string",
2258
- "description": "Employer current state/province"
2258
+ "description": "Team current state/province"
2259
2259
  },
2260
2260
  "country_id": {
2261
2261
  "type": "string",
2262
- "description": "Employer current country"
2262
+ "description": "Team current country"
2263
2263
  }
2264
2264
  }
2265
2265
  },
@@ -2371,10 +2371,10 @@
2371
2371
  "location_id": {
2372
2372
  "type": "integer"
2373
2373
  },
2374
- "employee_location_id": {
2374
+ "team_member_location_id": {
2375
2375
  "type": "integer"
2376
2376
  },
2377
- "employee_location_name": {
2377
+ "team_member_location_name": {
2378
2378
  "type": "string",
2379
2379
  "description": "Location name"
2380
2380
  }
@@ -2382,10 +2382,10 @@
2382
2382
  },
2383
2383
  "Role": {
2384
2384
  "properties": {
2385
- "employee_role_id": {
2385
+ "team_member_role_id": {
2386
2386
  "type": "integer"
2387
2387
  },
2388
- "employee_id": {
2388
+ "team_member_id": {
2389
2389
  "type": "integer"
2390
2390
  },
2391
2391
  "role_id": {
@@ -2395,10 +2395,10 @@
2395
2395
  },
2396
2396
  "RoleDetails": {
2397
2397
  "properties": {
2398
- "employee_role_id": {
2398
+ "team_member_role_id": {
2399
2399
  "type": "integer"
2400
2400
  },
2401
- "employee_id": {
2401
+ "team_member_id": {
2402
2402
  "type": "integer"
2403
2403
  },
2404
2404
  "last_shift": {
@@ -2414,10 +2414,10 @@
2414
2414
  },
2415
2415
  "RoleVariation": {
2416
2416
  "properties": {
2417
- "employee_role_variations_id": {
2417
+ "team_member_role_variations_id": {
2418
2418
  "type": "integer"
2419
2419
  },
2420
- "employee_role_id": {
2420
+ "team_member_role_id": {
2421
2421
  "type": "integer"
2422
2422
  },
2423
2423
  "variations_type": {
@@ -2430,10 +2430,10 @@
2430
2430
  },
2431
2431
  "Note": {
2432
2432
  "properties": {
2433
- "employee_notes_id": {
2433
+ "team_member_notes_id": {
2434
2434
  "type": "integer"
2435
2435
  },
2436
- "employee_id": {
2436
+ "team_member_id": {
2437
2437
  "type": "integer"
2438
2438
  },
2439
2439
  "to_user_id": {
@@ -2442,10 +2442,10 @@
2442
2442
  "location_id": {
2443
2443
  "type": "integer"
2444
2444
  },
2445
- "employer_shift_id": {
2445
+ "team_shift_id": {
2446
2446
  "type": "integer"
2447
2447
  },
2448
- "employee_notes": {
2448
+ "team_member_notes": {
2449
2449
  "type": "string",
2450
2450
  "description": "Notes"
2451
2451
  }