Skip to content

Commit 244f2b5

Browse files
author
Ted Spence
committed
Fixes typos to markdown
1 parent 86a2782 commit 244f2b5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+669
-938
lines changed

src/clients/activities_client.py

Lines changed: 30 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,14 @@ def __init__(self, client: LockstepApi):
2222
self.client = client
2323

2424
"""
25-
Retrieves the Activity specified by this unique identifier, optionally
26-
including nested data sets.
27-
28-
An Activity contains information about
29-
work being done on a specific accounting task. You can use Activities to
25+
Retrieves the Activity specified by this unique identifier, optionally
26+
including nested data sets. An Activity contains information about work
27+
being done on a specific accounting task. You can use Activities to
3028
track information about who has been assigned a specific task, the
3129
current status of the task, the name and description given for the
3230
particular task, the priority of the task, and any amounts collected,
3331
paid, or credited for the task.
32+
3433
Parameters
3534
----------
3635
id : str
@@ -44,21 +43,18 @@ def retrieve_activity(self, id: str, include: str) -> LockstepResponse:
4443
return self.client.send_request("GET", path, None, {id: str, include: str})
4544

4645
"""
47-
Updates an activity that matches the specified id with the requested
48-
information.
49-
50-
The PATCH method allows you to change specific values on
46+
Updates an activity that matches the specified id with the requested
47+
information. The PATCH method allows you to change specific values on
5148
the object while leaving other values alone. As input you should supply
5249
a list of field names and new values. If you do not provide the name of
5350
a field, that field will remain unchanged. This allows you to ensure
54-
that you are only updating the specific fields desired.
55-
56-
An Activity
51+
that you are only updating the specific fields desired. An Activity
5752
contains information about work being done on a specific accounting
5853
task. You can use Activities to track information about who has been
5954
assigned a specific task, the current status of the task, the name and
6055
description given for the particular task, the priority of the task, and
6156
any amounts collected, paid, or credited for the task.
57+
6258
Parameters
6359
----------
6460
id : str
@@ -71,14 +67,13 @@ def update_activity(self, id: str, body: object) -> LockstepResponse:
7167
return self.client.send_request("PATCH", path, body, {id: str, body: object})
7268

7369
"""
74-
Delete the Activity referred to by this unique identifier.
70+
Delete the Activity referred to by this unique identifier. An Activity
71+
contains information about work being done on a specific accounting
72+
task. You can use Activities to track information about who has been
73+
assigned a specific task, the current status of the task, the name and
74+
description given for the particular task, the priority of the task, and
75+
any amounts collected, paid, or credited for the task.
7576
76-
An
77-
Activity contains information about work being done on a specific
78-
accounting task. You can use Activities to track information about who
79-
has been assigned a specific task, the current status of the task, the
80-
name and description given for the particular task, the priority of the
81-
task, and any amounts collected, paid, or credited for the task.
8277
Parameters
8378
----------
8479
id : str
@@ -89,14 +84,13 @@ def delete_activity(self, id: str) -> LockstepResponse:
8984
return self.client.send_request("DELETE", path, None, {id: str})
9085

9186
"""
92-
Creates one or more activities from a given model.
87+
Creates one or more activities from a given model. An Activity contains
88+
information about work being done on a specific accounting task. You can
89+
use Activities to track information about who has been assigned a
90+
specific task, the current status of the task, the name and description
91+
given for the particular task, the priority of the task, and any amounts
92+
collected, paid, or credited for the task.
9393
94-
An Activity
95-
contains information about work being done on a specific accounting
96-
task. You can use Activities to track information about who has been
97-
assigned a specific task, the current status of the task, the name and
98-
description given for the particular task, the priority of the task, and
99-
any amounts collected, paid, or credited for the task.
10094
Parameters
10195
----------
10296
body : list[ActivityModel]
@@ -107,28 +101,25 @@ def create_activities(self, body: list[ActivityModel]) -> LockstepResponse:
107101
return self.client.send_request("POST", path, body, {body: list[ActivityModel]})
108102

109103
"""
110-
Queries Activities for this account using the specified filtering,
111-
sorting, nested fetch, and pagination rules requested.
112-
113-
More
114-
information on querying can be found on the [Searchlight Query
104+
Queries Activities for this account using the specified filtering,
105+
sorting, nested fetch, and pagination rules requested. More information
106+
on querying can be found on the [Searchlight Query
115107
Language](https://developer.lockstep.io/docs/querying-with-searchlight)
116-
page on the Lockstep Developer website.
117-
118-
An Activity contains
119-
information about work being done on a specific accounting task. You can
120-
use Activities to track information about who has been assigned a
121-
specific task, the current status of the task, the name and description
122-
given for the particular task, the priority of the task, and any amounts
108+
page on the Lockstep Developer website. An Activity contains information
109+
about work being done on a specific accounting task. You can use
110+
Activities to track information about who has been assigned a specific
111+
task, the current status of the task, the name and description given for
112+
the particular task, the priority of the task, and any amounts
123113
collected, paid, or credited for the task.
114+
124115
Parameters
125116
----------
126117
filter : str
127118
The filter for this query. See [Searchlight Query
128119
Language](https://developer.lockstep.io/docs/querying-with-searchlight)
129120
include : str
130121
To fetch additional data on this object, specify the list of elements to
131-
retrieve. Available collections: Attachments, CustomFields, and Notes
122+
retrieve. Available collections: Attachments, CustomFields, and Notes
132123
order : str
133124
The sort order for this query. See See [Searchlight Query
134125
Language](https://developer.lockstep.io/docs/querying-with-searchlight)

src/clients/apikeys_client.py

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,15 @@ def __init__(self, client: LockstepApi):
2222
self.client = client
2323

2424
"""
25-
Retrieves the API Key with this identifier.
26-
27-
An API Key is an
25+
Retrieves the API Key with this identifier. An API Key is an
2826
authentication token that you may use with the Lockstep API. Because API
2927
Keys do not have an expiration date, they are well suited for unattended
3028
processes. Each API Key is associated with a user, and may be revoked to
3129
prevent it from accessing the Lockstep API. When you create an API Key,
3230
make sure to save the value in a secure location. Lockstep cannot
3331
retrieve an API Key once it is created. For more information, see [API
3432
Keys](https://developer.lockstep.io/docs/api-keys).
33+
3534
Parameters
3635
----------
3736
id : str
@@ -46,21 +45,20 @@ def retrieve_api_key(self, id: str, include: str) -> LockstepResponse:
4645
return self.client.send_request("GET", path, None, {id: str, include: str})
4746

4847
"""
49-
Immediately revokes the API Key with the specified id so it cannot be
48+
Immediately revokes the API Key with the specified id so it cannot be
5049
used to call the API. The Lockstep Platform guarantees that revocation
5150
will be received by all servers within five minutes of revocation. API
5251
calls made using this API key after the revocation will fail. A revoked
5352
API Key cannot be un-revoked and may be removed 60 days after
54-
revocation.
55-
56-
An API Key is an authentication token that you may use
57-
with the Lockstep API. Because API Keys do not have an expiration date,
58-
they are well suited for unattended processes. Each API Key is
59-
associated with a user, and may be revoked to prevent it from accessing
60-
the Lockstep API. When you create an API Key, make sure to save the
61-
value in a secure location. Lockstep cannot retrieve an API Key once it
62-
is created. For more information, see [API
53+
revocation. An API Key is an authentication token that you may use with
54+
the Lockstep API. Because API Keys do not have an expiration date, they
55+
are well suited for unattended processes. Each API Key is associated
56+
with a user, and may be revoked to prevent it from accessing the
57+
Lockstep API. When you create an API Key, make sure to save the value in
58+
a secure location. Lockstep cannot retrieve an API Key once it is
59+
created. For more information, see [API
6360
Keys](https://developer.lockstep.io/docs/api-keys).
61+
6462
Parameters
6563
----------
6664
id : str
@@ -71,16 +69,15 @@ def revoke_api_key(self, id: str) -> LockstepResponse:
7169
return self.client.send_request("DELETE", path, None, {id: str})
7270

7371
"""
74-
Creates an API key with the specified name.
75-
76-
An API Key is an
72+
Creates an API key with the specified name. An API Key is an
7773
authentication token that you may use with the Lockstep API. Because API
7874
Keys do not have an expiration date, they are well suited for unattended
7975
processes. Each API Key is associated with a user, and may be revoked to
8076
prevent it from accessing the Lockstep API. When you create an API Key,
8177
make sure to save the value in a secure location. Lockstep cannot
8278
retrieve an API Key once it is created. For more information, see [API
8379
Keys](https://developer.lockstep.io/docs/api-keys).
80+
8481
Parameters
8582
----------
8683
body : ApiKeyModel
@@ -91,7 +88,7 @@ def create_api_key(self, body: ApiKeyModel) -> LockstepResponse:
9188
return self.client.send_request("POST", path, body, {body: ApiKeyModel})
9289

9390
"""
94-
Queries API Keys for this user using the specified filtering, sorting,
91+
Queries API Keys for this user using the specified filtering, sorting,
9592
nested fetch, and pagination rules requested. An API Key is an
9693
authentication token that you may use with the Lockstep API. Because API
9794
Keys do not have an expiration date, they are well suited for unattended
@@ -100,6 +97,7 @@ def create_api_key(self, body: ApiKeyModel) -> LockstepResponse:
10097
make sure to save the value in a secure location. Lockstep cannot
10198
retrieve an API Key once it is created. For more information, see [API
10299
Keys](https://developer.lockstep.io/docs/api-keys).
100+
103101
Parameters
104102
----------
105103
filter : str

src/clients/appenrollments_client.py

Lines changed: 41 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -22,53 +22,43 @@ def __init__(self, client: LockstepApi):
2222
self.client = client
2323

2424
"""
25-
Retrieves the App Enrollment with this identifier.
26-
27-
An App Enrollment
25+
Retrieves the App Enrollment with this identifier. An App Enrollment
2826
represents an app that has been enrolled to the current account. When
2927
you sign up for an app using the Lockstep Platform, you obtain an
3028
enrollment record for that app. Example types of apps include connectors
3129
and feature enhancement apps. The App Enrollment object contains
32-
information about this app, its configuration, and settings.
33-
34-
See
30+
information about this app, its configuration, and settings. See
3531
[Applications and
3632
Enrollments](https://developer.lockstep.io/docs/applications-and-enrollments)
3733
for more information.
34+
3835
Parameters
3936
----------
4037
id : str
4138
The unique ID number of the App Enrollment to retrieve
4239
include : str
4340
To fetch additional data on this object, specify the list of elements to
44-
retrieve.
45-
Available collections: App, CustomFields
41+
retrieve. Available collections: App, CustomFields
4642
"""
4743
def retrieve_app_enrollment(self, id: str, include: str) -> LockstepResponse:
4844
path = f"/api/v1/AppEnrollments/{id}"
4945
return self.client.send_request("GET", path, None, {id: str, include: str})
5046

5147
"""
52-
Updates an existing App Enrollment with the information supplied to this
53-
PATCH call.
54-
55-
The PATCH method allows you to change specific values on
56-
the object while leaving other values alone. As input you should supply
57-
a list of field names and new values. For example, you can provide the
48+
Updates an existing App Enrollment with the information supplied to this
49+
PATCH call. The PATCH method allows you to change specific values on the
50+
object while leaving other values alone. As input you should supply a
51+
list of field names and new values. For example, you can provide the
5852
field name "IsActive" and specify the new value "False"; this API will
59-
then change the value of IsActive to false.
60-
61-
An App Enrollment
62-
represents an app that has been enrolled to the current account. When
63-
you sign up for an app using the Lockstep Platform, you obtain an
64-
enrollment record for that app. Example types of apps include connectors
65-
and feature enhancement apps. The App Enrollment object contains
66-
information about this app, its configuration, and settings.
67-
68-
See
69-
[Applications and
53+
then change the value of IsActive to false. An App Enrollment represents
54+
an app that has been enrolled to the current account. When you sign up
55+
for an app using the Lockstep Platform, you obtain an enrollment record
56+
for that app. Example types of apps include connectors and feature
57+
enhancement apps. The App Enrollment object contains information about
58+
this app, its configuration, and settings. See [Applications and
7059
Enrollments](https://developer.lockstep.io/docs/applications-and-enrollments)
7160
for more information.
61+
7262
Parameters
7363
----------
7464
id : str
@@ -81,17 +71,16 @@ def update_app_enrollment(self, id: str, body: object) -> LockstepResponse:
8171
return self.client.send_request("PATCH", path, body, {id: str, body: object})
8272

8373
"""
84-
Deletes the App Enrollment referred to by this unique identifier. An App
74+
Deletes the App Enrollment referred to by this unique identifier. An App
8575
Enrollment represents an app that has been enrolled to the current
8676
account. When you sign up for an app using the Lockstep Platform, you
8777
obtain an enrollment record for that app. Example types of apps include
8878
connectors and feature enhancement apps. The App Enrollment object
89-
contains information about this app, its configuration, and
90-
settings.
91-
92-
See [Applications and
79+
contains information about this app, its configuration, and settings.
80+
See [Applications and
9381
Enrollments](https://developer.lockstep.io/docs/applications-and-enrollments)
9482
for more information.
83+
9584
Parameters
9685
----------
9786
id : str
@@ -105,19 +94,16 @@ def delete_app_enrollment(self, id: str, removeEnrollmentData: bool) -> Lockstep
10594
return self.client.send_request("DELETE", path, None, {id: str, removeEnrollmentData: bool})
10695

10796
"""
108-
Creates one or more App Enrollments within this account and returns the
109-
records as created.
110-
111-
An App Enrollment represents an app that has been
97+
Creates one or more App Enrollments within this account and returns the
98+
records as created. An App Enrollment represents an app that has been
11299
enrolled to the current account. When you sign up for an app using the
113100
Lockstep Platform, you obtain an enrollment record for that app. Example
114101
types of apps include connectors and feature enhancement apps. The App
115102
Enrollment object contains information about this app, its
116-
configuration, and settings.
117-
118-
See [Applications and
103+
configuration, and settings. See [Applications and
119104
Enrollments](https://developer.lockstep.io/docs/applications-and-enrollments)
120105
for more information.
106+
121107
Parameters
122108
----------
123109
body : list[AppEnrollmentModel]
@@ -128,24 +114,19 @@ def create_app_enrollments(self, body: list[AppEnrollmentModel]) -> LockstepResp
128114
return self.client.send_request("POST", path, body, {body: list[AppEnrollmentModel]})
129115

130116
"""
131-
Queries App Enrollments for this account using the specified filtering,
132-
sorting, nested fetch, and pagination rules requested.
133-
134-
More
135-
information on querying can be found on the [Searchlight Query
117+
Queries App Enrollments for this account using the specified filtering,
118+
sorting, nested fetch, and pagination rules requested. More information
119+
on querying can be found on the [Searchlight Query
136120
Language](https://developer.lockstep.io/docs/querying-with-searchlight)
137-
page on the Lockstep Developer website.
138-
139-
An App Enrollment represents
140-
an app that has been enrolled to the current account. When you sign up
141-
for an app using the Lockstep Platform, you obtain an enrollment record
142-
for that app. Example types of apps include connectors and feature
121+
page on the Lockstep Developer website. An App Enrollment represents an
122+
app that has been enrolled to the current account. When you sign up for
123+
an app using the Lockstep Platform, you obtain an enrollment record for
124+
that app. Example types of apps include connectors and feature
143125
enhancement apps. The App Enrollment object contains information about
144-
this app, its configuration, and settings.
145-
146-
See [Applications and
126+
this app, its configuration, and settings. See [Applications and
147127
Enrollments](https://developer.lockstep.io/docs/applications-and-enrollments)
148128
for more information.
129+
149130
Parameters
150131
----------
151132
filter : str
@@ -169,25 +150,20 @@ def query_app_enrollments(self, filter: str, include: str, order: str, pageSize:
169150
return self.client.send_request("GET", path, None, {filter: str, include: str, order: str, pageSize: int, pageNumber: int})
170151

171152
"""
172-
Queries custom fields settings for app enrollment within the Lockstep
153+
Queries custom fields settings for app enrollment within the Lockstep
173154
platform using the specified filtering, sorting, nested fetch, and
174-
pagination rules requested.
175-
176-
More information on querying can be found
177-
on the [Searchlight Query
155+
pagination rules requested. More information on querying can be found on
156+
the [Searchlight Query
178157
Language](https://developer.lockstep.io/docs/querying-with-searchlight)
179-
page on the Lockstep Developer website.
180-
181-
An App Enrollment represents
182-
an app that has been enrolled to the current account. When you sign up
183-
for an app using the Lockstep Platform, you obtain an enrollment record
184-
for that app. Example types of apps include connectors and feature
158+
page on the Lockstep Developer website. An App Enrollment represents an
159+
app that has been enrolled to the current account. When you sign up for
160+
an app using the Lockstep Platform, you obtain an enrollment record for
161+
that app. Example types of apps include connectors and feature
185162
enhancement apps. The App Enrollment object contains information about
186-
this app, its configuration, and settings.
187-
188-
See [Applications and
163+
this app, its configuration, and settings. See [Applications and
189164
Enrollments](https://developer.lockstep.io/docs/applications-and-enrollments)
190165
for more information.
166+
191167
Parameters
192168
----------
193169
id : str

0 commit comments

Comments
 (0)