@@ -22,38 +22,45 @@ 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. An Activity contains information about work
27- being done on a specific accounting task. You can use Activities to
28- track information about who has been assigned a specific task, the
29- current status of the task, the name and description given for the
30- particular task, the priority of the task, and any amounts collected,
31- paid, or credited for the task.
25+ Retrieves the Activity specified by this unique identifier,
26+ optionally including nested data sets.
27+
28+ An Activity contains information about work being done on a specific
29+ accounting task. You can use Activities to track information about
30+ who has been assigned a specific task, the current status of the
31+ task, the name and description given for the particular task, the
32+ priority of the task, and any amounts collected, paid, or credited
33+ for the task.
3234
3335 Parameters
3436 ----------
3537 id : str
3638 The unique Lockstep Platform ID number of this Activity
3739 include : str
38- To fetch additional data on this object, specify the list of elements to
39- retrieve. Available collections: Attachments, CustomFields, and Notes
40+ To fetch additional data on this object, specify the list of
41+ elements to retrieve. Available collections: Attachments,
42+ CustomFields, and Notes
4043 """
4144 def retrieve_activity (self , id : str , include : str ) -> LockstepResponse :
4245 path = f"/api/v1/Activities/{ id } "
4346 return self .client .send_request ("GET" , path , None , {id : str , include : str })
4447
4548 """
46- Updates an activity that matches the specified id with the requested
47- information. The PATCH method allows you to change specific values on
48- the object while leaving other values alone. As input you should supply
49- a list of field names and new values. If you do not provide the name of
50- a field, that field will remain unchanged. This allows you to ensure
51- that you are only updating the specific fields desired. An Activity
52- contains information about work being done on a specific accounting
53- task. You can use Activities to track information about who has been
54- assigned a specific task, the current status of the task, the name and
55- description given for the particular task, the priority of the task, and
56- any amounts collected, paid, or credited for the task.
49+ Updates an activity that matches the specified id with the requested
50+ information.
51+
52+ The PATCH method allows you to change specific values on the object
53+ while leaving other values alone. As input you should supply a list
54+ of field names and new values. If you do not provide the name of a
55+ field, that field will remain unchanged. This allows you to ensure
56+ that you are only updating the specific fields desired.
57+
58+ An Activity contains information about work being done on a specific
59+ accounting task. You can use Activities to track information about
60+ who has been assigned a specific task, the current status of the
61+ task, the name and description given for the particular task, the
62+ priority of the task, and any amounts collected, paid, or credited
63+ for the task.
5764
5865 Parameters
5966 ----------
@@ -67,12 +74,14 @@ def update_activity(self, id: str, body: object) -> LockstepResponse:
6774 return self .client .send_request ("PATCH" , path , body , {id : str , body : object })
6875
6976 """
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.
77+ Delete the Activity referred to by this unique identifier.
78+
79+ An Activity contains information about work being done on a specific
80+ accounting task. You can use Activities to track information about
81+ who has been assigned a specific task, the current status of the
82+ task, the name and description given for the particular task, the
83+ priority of the task, and any amounts collected, paid, or credited
84+ for the task.
7685
7786 Parameters
7887 ----------
@@ -84,12 +93,14 @@ def delete_activity(self, id: str) -> LockstepResponse:
8493 return self .client .send_request ("DELETE" , path , None , {id : str })
8594
8695 """
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.
96+ Creates one or more activities from a given model.
97+
98+ An Activity contains information about work being done on a specific
99+ accounting task. You can use Activities to track information about
100+ who has been assigned a specific task, the current status of the
101+ task, the name and description given for the particular task, the
102+ priority of the task, and any amounts collected, paid, or credited
103+ for the task.
93104
94105 Parameters
95106 ----------
@@ -101,33 +112,37 @@ def create_activities(self, body: list[ActivityModel]) -> LockstepResponse:
101112 return self .client .send_request ("POST" , path , body , {body : list [ActivityModel ]})
102113
103114 """
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
107- Language](https://developer.lockstep.io/docs/querying-with-searchlight)
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
113- collected, paid, or credited for the task.
115+ Queries Activities for this account using the specified filtering,
116+ sorting, nested fetch, and pagination rules requested.
117+
118+ More information on querying can be found on the [Searchlight Query
119+ Language](https://developer.lockstep.io/docs/querying-with-searchlight)
120+ page on the Lockstep Developer website.
121+
122+ An Activity contains information about work being done on a specific
123+ accounting task. You can use Activities to track information about
124+ who has been assigned a specific task, the current status of the
125+ task, the name and description given for the particular task, the
126+ priority of the task, and any amounts collected, paid, or credited
127+ for the task.
114128
115129 Parameters
116130 ----------
117131 filter : str
118- The filter for this query. See [Searchlight Query
132+ The filter for this query. See [Searchlight Query
119133 Language](https://developer.lockstep.io/docs/querying-with-searchlight)
120134 include : str
121- To fetch additional data on this object, specify the list of elements to
122- retrieve. Available collections: Attachments, CustomFields, and Notes
135+ To fetch additional data on this object, specify the list of
136+ elements to retrieve. Available collections: Attachments,
137+ CustomFields, and Notes
123138 order : str
124- The sort order for this query. See See [Searchlight Query
139+ The sort order for this query. See See [Searchlight Query
125140 Language](https://developer.lockstep.io/docs/querying-with-searchlight)
126141 pageSize : int
127- The page size for results (default 200). See [Searchlight Query
142+ The page size for results (default 200). See [Searchlight Query
128143 Language](https://developer.lockstep.io/docs/querying-with-searchlight)
129144 pageNumber : int
130- The page number for results (default 0). See [Searchlight Query
145+ The page number for results (default 0). See [Searchlight Query
131146 Language](https://developer.lockstep.io/docs/querying-with-searchlight)
132147 """
133148 def query_activities (self , filter : str , include : str , order : str , pageSize : int , pageNumber : int ) -> LockstepResponse :
0 commit comments