You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/models/AutomationRun.md
-2
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,6 @@
26
26
27
27
```
28
28
await AutomationRun.list({
29
-
'user_id': 1,
30
29
'per_page': 1,
31
30
'automation_id': 1,
32
31
})
@@ -35,7 +34,6 @@ await AutomationRun.list({
35
34
36
35
### Parameters
37
36
38
-
*`user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
39
37
*`cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
40
38
*`per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
41
39
*`sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[automation_id]=desc`). Valid fields are `automation_id`, `created_at` or `status`.
Copy file name to clipboardexpand all lines: docs/models/BundleNotification.md
+2-4
Original file line number
Diff line number
Diff line change
@@ -24,15 +24,13 @@
24
24
25
25
```
26
26
await BundleNotification.list({
27
-
'user_id': 1,
28
27
'per_page': 1,
29
28
})
30
29
```
31
30
32
31
33
32
### Parameters
34
33
35
-
*`user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
36
34
*`cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
37
35
*`per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
38
36
*`sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[bundle_id]=desc`). Valid fields are `bundle_id`.
Copy file name to clipboardexpand all lines: docs/models/BundleRecipient.md
-5
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,6 @@
17
17
*`note` (string): A note sent to the recipient with the bundle.
18
18
*`recipient` (string): The recipient's email address.
19
19
*`sent_at` (date-time): When the Bundle was shared with this recipient.
20
-
*`user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
21
20
*`bundle_id` (int64): Bundle to share.
22
21
*`share_after_create` (boolean): Set to true to share the link with the recipient upon creation.
23
22
@@ -27,7 +26,6 @@
27
26
28
27
```
29
28
await BundleRecipient.list({
30
-
'user_id': 1,
31
29
'per_page': 1,
32
30
'bundle_id': 1,
33
31
})
@@ -36,7 +34,6 @@ await BundleRecipient.list({
36
34
37
35
### Parameters
38
36
39
-
*`user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
40
37
*`cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
41
38
*`per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
42
39
*`sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[has_registrations]=desc`). Valid fields are `has_registrations`.
@@ -49,7 +46,6 @@ await BundleRecipient.list({
49
46
50
47
```
51
48
await BundleRecipient.create({
52
-
'user_id': 1,
53
49
'bundle_id': 1,
54
50
'recipient': "johndoe@gmail.com",
55
51
'name': "John Smith",
@@ -62,7 +58,6 @@ await BundleRecipient.create({
62
58
63
59
### Parameters
64
60
65
-
*`user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
66
61
*`bundle_id` (int64): Required - Bundle to share.
67
62
*`recipient` (string): Required - Email addresses to share this bundle with.
Copy file name to clipboardexpand all lines: docs/models/BundleRegistration.md
-2
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,6 @@
42
42
43
43
```
44
44
await BundleRegistration.list({
45
-
'user_id': 1,
46
45
'per_page': 1,
47
46
'bundle_id': 1,
48
47
})
@@ -51,7 +50,6 @@ await BundleRegistration.list({
51
50
52
51
### Parameters
53
52
54
-
*`user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
55
53
*`cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
56
54
*`per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
Copy file name to clipboardexpand all lines: lib/models/AutomationRun.js
+9-16
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,6 @@ var AutomationRun = /*#__PURE__*/(0, _createClass2.default)(function AutomationR
72
72
});
73
73
_class=AutomationRun;
74
74
// Parameters:
75
-
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
76
75
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
77
76
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
78
77
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[automation_id]=desc`). Valid fields are `automation_id`, `created_at` or `status`.
thrownewerrors.InvalidParameterError("Bad parameter: automation_id must be of type Int, received ".concat((0,_utils.getType)(params['automation_id'])));
Copy file name to clipboardexpand all lines: lib/models/BundleNotification.js
+12-19
Original file line number
Diff line number
Diff line change
@@ -203,7 +203,6 @@ var BundleNotification = /*#__PURE__*/(0, _createClass2.default)(function Bundle
203
203
});
204
204
_class=BundleNotification;
205
205
// Parameters:
206
-
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
207
206
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
208
207
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
209
208
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[bundle_id]=desc`). Valid fields are `bundle_id`.
@@ -113,7 +106,6 @@ var BundleRecipient = /*#__PURE__*/(0, _createClass2.default)(function BundleRec
113
106
});
114
107
_class=BundleRecipient;
115
108
// Parameters:
116
-
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
117
109
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
118
110
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
119
111
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[has_registrations]=desc`). Valid fields are `has_registrations`.
Copy file name to clipboardexpand all lines: lib/models/BundleRegistration.js
+9-16
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,6 @@ var BundleRegistration = /*#__PURE__*/(0, _createClass2.default)(function Bundle
100
100
});
101
101
_class=BundleRegistration;
102
102
// Parameters:
103
-
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
104
103
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
105
104
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
106
105
// bundle_id - int64 - ID of the associated Bundle
Copy file name to clipboardexpand all lines: src/models/AutomationRun.js
-5
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,6 @@ class AutomationRun {
44
44
45
45
46
46
// Parameters:
47
-
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
48
47
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
49
48
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
50
49
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[automation_id]=desc`). Valid fields are `automation_id`, `created_at` or `status`.
Copy file name to clipboardexpand all lines: src/models/BundleNotification.js
+5-10
Original file line number
Diff line number
Diff line change
@@ -132,16 +132,11 @@ class BundleNotification {
132
132
}
133
133
134
134
// Parameters:
135
-
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
136
135
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
137
136
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
138
137
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[bundle_id]=desc`). Valid fields are `bundle_id`.
139
138
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `bundle_id`.
140
139
staticlist=async(params={},options={})=>{
141
-
if(params['user_id']&&!isInt(params['user_id'])){
142
-
thrownewerrors.InvalidParameterError(`Bad parameter: user_id must be of type Int, received ${getType(params['user_id'])}`)
Copy file name to clipboardexpand all lines: src/models/BundleRecipient.js
-17
Original file line number
Diff line number
Diff line change
@@ -59,13 +59,6 @@ class BundleRecipient {
59
59
this.attributes.sent_at=value
60
60
}
61
61
62
-
// int64 # User ID. Provide a value of `0` to operate the current session's user.
63
-
getUserId=()=>this.attributes.user_id
64
-
65
-
setUserId=value=>{
66
-
this.attributes.user_id=value
67
-
}
68
-
69
62
// int64 # Bundle to share.
70
63
getBundleId=()=>this.attributes.bundle_id
71
64
@@ -92,7 +85,6 @@ class BundleRecipient {
92
85
}
93
86
94
87
// Parameters:
95
-
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
96
88
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
97
89
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
98
90
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[has_registrations]=desc`). Valid fields are `has_registrations`.
Copy file name to clipboardexpand all lines: src/models/BundleRegistration.js
-5
Original file line number
Diff line number
Diff line change
@@ -65,15 +65,10 @@ class BundleRegistration {
65
65
66
66
67
67
// Parameters:
68
-
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
69
68
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
70
69
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
71
70
// bundle_id - int64 - ID of the associated Bundle
72
71
staticlist=async(params={},options={})=>{
73
-
if(params['user_id']&&!isInt(params['user_id'])){
74
-
thrownewerrors.InvalidParameterError(`Bad parameter: user_id must be of type Int, received ${getType(params['user_id'])}`)
0 commit comments