Skip to content

Commit

Permalink
v0.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
tmunzer committed Sep 5, 2024
1 parent 75083de commit 7027477
Show file tree
Hide file tree
Showing 174 changed files with 1,596 additions and 1,596 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

## Introduction

> Version: **2408.1.7**
> Version: **2408.1.8**
>
> Date: **August 30, 2024**
> Date: **September 5, 2024**
---

Expand Down
12 changes: 6 additions & 6 deletions doc/controllers/ms-ps-logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ ListMspAuditLogs(
sort *models.ListMspLogsSortEnum,
start *int,
end *int,
duration *string,
limit *int,
page *int,
duration *string) (
page *int) (
models.ApiResponse[models.ResponseLogSearch],
error)
```
Expand All @@ -118,9 +118,9 @@ ListMspAuditLogs(
| `sort` | [`*models.ListMspLogsSortEnum`](../../doc/models/list-msp-logs-sort-enum.md) | Query, Optional | sort order |
| `start` | `*int` | Query, Optional | start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified |
| `end` | `*int` | Query, Optional | end datetime, can be epoch or relative time like -1d, -2h; now if not specified |
| `duration` | `*string` | Query, Optional | duration like 7d, 2w |
| `limit` | `*int` | Query, Optional | - |
| `page` | `*int` | Query, Optional | - |
| `duration` | `*string` | Query, Optional | duration like 7d, 2w |

## Response Type

Expand All @@ -145,13 +145,13 @@ mspId := uuid.MustParse("000000ab-00ab-00ab-00ab-0000000000ab")



duration := "10m"

limit := 100

page := 1

duration := "10m"

apiResponse, err := mSPsLogs.ListMspAuditLogs(ctx, mspId, nil, nil, nil, nil, nil, nil, &limit, &page, &duration)
apiResponse, err := mSPsLogs.ListMspAuditLogs(ctx, mspId, nil, nil, nil, nil, nil, nil, &duration, &limit, &page)
if err != nil {
log.Fatalln(err)
} else {
Expand Down
12 changes: 6 additions & 6 deletions doc/controllers/ms-ps-orgs.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ Get List of MSP Orgs Stats
ListMspOrgStats(
ctx context.Context,
mspId uuid.UUID,
page *int,
limit *int) (
limit *int,
page *int) (
models.ApiResponse[[]models.StatsOrg],
error)
```
Expand All @@ -243,8 +243,8 @@ ListMspOrgStats(
| Parameter | Type | Tags | Description |
| --- | --- | --- | --- |
| `mspId` | `uuid.UUID` | Template, Required | - |
| `page` | `*int` | Query, Optional | - |
| `limit` | `*int` | Query, Optional | - |
| `page` | `*int` | Query, Optional | - |

## Response Type

Expand All @@ -257,11 +257,11 @@ ctx := context.Background()

mspId := uuid.MustParse("000000ab-00ab-00ab-00ab-0000000000ab")

page := 1

limit := 100

apiResponse, err := mSPsOrgs.ListMspOrgStats(ctx, mspId, &page, &limit)
page := 1

apiResponse, err := mSPsOrgs.ListMspOrgStats(ctx, mspId, &limit, &page)
if err != nil {
log.Fatalln(err)
} else {
Expand Down
12 changes: 6 additions & 6 deletions doc/controllers/orgs-alarm-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ Get List of Org Alarm Templates
ListOrgAlarmTemplates(
ctx context.Context,
orgId uuid.UUID,
page *int,
limit *int) (
limit *int,
page *int) (
models.ApiResponse[[]models.AlarmTemplate],
error)
```
Expand All @@ -236,8 +236,8 @@ ListOrgAlarmTemplates(
| Parameter | Type | Tags | Description |
| --- | --- | --- | --- |
| `orgId` | `uuid.UUID` | Template, Required | - |
| `page` | `*int` | Query, Optional | - |
| `limit` | `*int` | Query, Optional | - |
| `page` | `*int` | Query, Optional | - |

## Response Type

Expand All @@ -250,11 +250,11 @@ ctx := context.Background()

orgId := uuid.MustParse("000000ab-00ab-00ab-00ab-0000000000ab")

page := 1

limit := 100

apiResponse, err := orgsAlarmTemplates.ListOrgAlarmTemplates(ctx, orgId, &page, &limit)
page := 1

apiResponse, err := orgsAlarmTemplates.ListOrgAlarmTemplates(ctx, orgId, &limit, &page)
if err != nil {
log.Fatalln(err)
} else {
Expand Down
18 changes: 9 additions & 9 deletions doc/controllers/orgs-alarms.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,11 @@ CountOrgAlarms(
ctx context.Context,
orgId uuid.UUID,
distinct *string,
page *int,
limit *int,
start *int,
end *int,
duration *string) (
duration *string,
limit *int,
page *int) (
models.ApiResponse[models.RepsonseCount],
error)
```
Expand All @@ -215,11 +215,11 @@ CountOrgAlarms(
| --- | --- | --- | --- |
| `orgId` | `uuid.UUID` | Template, Required | - |
| `distinct` | `*string` | Query, Optional | - |
| `page` | `*int` | Query, Optional | - |
| `limit` | `*int` | Query, Optional | - |
| `start` | `*int` | Query, Optional | start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified |
| `end` | `*int` | Query, Optional | end datetime, can be epoch or relative time like -1d, -2h; now if not specified |
| `duration` | `*string` | Query, Optional | duration like 7d, 2w |
| `limit` | `*int` | Query, Optional | - |
| `page` | `*int` | Query, Optional | - |

## Response Type

Expand All @@ -234,17 +234,17 @@ orgId := uuid.MustParse("000000ab-00ab-00ab-00ab-0000000000ab")



page := 1

limit := 100



duration := "10m"

limit := 100

duration := "10m"
page := 1

apiResponse, err := orgsAlarms.CountOrgAlarms(ctx, orgId, nil, &page, &limit, nil, nil, &duration)
apiResponse, err := orgsAlarms.CountOrgAlarms(ctx, orgId, nil, nil, nil, &duration, &limit, &page)
if err != nil {
log.Fatalln(err)
} else {
Expand Down
12 changes: 6 additions & 6 deletions doc/controllers/orgs-antivirus-profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ Get List of Antivirus Profiles
ListOrgAntivirusProfiles(
ctx context.Context,
orgId uuid.UUID,
page *int,
limit *int) (
limit *int,
page *int) (
models.ApiResponse[[]models.Avprofile],
error)
```
Expand All @@ -231,8 +231,8 @@ ListOrgAntivirusProfiles(
| Parameter | Type | Tags | Description |
| --- | --- | --- | --- |
| `orgId` | `uuid.UUID` | Template, Required | - |
| `page` | `*int` | Query, Optional | - |
| `limit` | `*int` | Query, Optional | - |
| `page` | `*int` | Query, Optional | - |

## Response Type

Expand All @@ -245,11 +245,11 @@ ctx := context.Background()

orgId := uuid.MustParse("000000ab-00ab-00ab-00ab-0000000000ab")

page := 1

limit := 100

apiResponse, err := orgsAntivirusProfiles.ListOrgAntivirusProfiles(ctx, orgId, &page, &limit)
page := 1

apiResponse, err := orgsAntivirusProfiles.ListOrgAntivirusProfiles(ctx, orgId, &limit, &page)
if err != nil {
log.Fatalln(err)
} else {
Expand Down
12 changes: 6 additions & 6 deletions doc/controllers/orgs-ap-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -763,8 +763,8 @@ Get List of Org AP Templates
ListOrgAptemplates(
ctx context.Context,
orgId uuid.UUID,
page *int,
limit *int) (
limit *int,
page *int) (
models.ApiResponse[[]models.ApTemplate],
error)
```
Expand All @@ -774,8 +774,8 @@ ListOrgAptemplates(
| Parameter | Type | Tags | Description |
| --- | --- | --- | --- |
| `orgId` | `uuid.UUID` | Template, Required | - |
| `page` | `*int` | Query, Optional | - |
| `limit` | `*int` | Query, Optional | - |
| `page` | `*int` | Query, Optional | - |

## Response Type

Expand All @@ -788,11 +788,11 @@ ctx := context.Background()

orgId := uuid.MustParse("000000ab-00ab-00ab-00ab-0000000000ab")

page := 1

limit := 100

apiResponse, err := orgsAPTemplates.ListOrgAptemplates(ctx, orgId, &page, &limit)
page := 1

apiResponse, err := orgsAPTemplates.ListOrgAptemplates(ctx, orgId, &limit, &page)
if err != nil {
log.Fatalln(err)
} else {
Expand Down
12 changes: 6 additions & 6 deletions doc/controllers/orgs-asset-filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ Each asset filter in the list operates independently. For a filter object to mat
ListOrgAssetFilters(
ctx context.Context,
orgId uuid.UUID,
page *int,
limit *int) (
limit *int,
page *int) (
models.ApiResponse[[]models.AssetFilter],
error)
```
Expand All @@ -247,8 +247,8 @@ ListOrgAssetFilters(
| Parameter | Type | Tags | Description |
| --- | --- | --- | --- |
| `orgId` | `uuid.UUID` | Template, Required | - |
| `page` | `*int` | Query, Optional | - |
| `limit` | `*int` | Query, Optional | - |
| `page` | `*int` | Query, Optional | - |

## Response Type

Expand All @@ -261,11 +261,11 @@ ctx := context.Background()

orgId := uuid.MustParse("000000ab-00ab-00ab-00ab-0000000000ab")

page := 1

limit := 100

apiResponse, err := orgsAssetFilters.ListOrgAssetFilters(ctx, orgId, &page, &limit)
page := 1

apiResponse, err := orgsAssetFilters.ListOrgAssetFilters(ctx, orgId, &limit, &page)
if err != nil {
log.Fatalln(err)
} else {
Expand Down
12 changes: 6 additions & 6 deletions doc/controllers/orgs-assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,8 @@ Get List of Org Assets
ListOrgAssets(
ctx context.Context,
orgId uuid.UUID,
page *int,
limit *int) (
limit *int,
page *int) (
models.ApiResponse[[]models.Asset],
error)
```
Expand All @@ -295,8 +295,8 @@ ListOrgAssets(
| Parameter | Type | Tags | Description |
| --- | --- | --- | --- |
| `orgId` | `uuid.UUID` | Template, Required | - |
| `page` | `*int` | Query, Optional | - |
| `limit` | `*int` | Query, Optional | - |
| `page` | `*int` | Query, Optional | - |

## Response Type

Expand All @@ -309,11 +309,11 @@ ctx := context.Background()

orgId := uuid.MustParse("000000ab-00ab-00ab-00ab-0000000000ab")

page := 1

limit := 100

apiResponse, err := orgsAssets.ListOrgAssets(ctx, orgId, &page, &limit)
page := 1

apiResponse, err := orgsAssets.ListOrgAssets(ctx, orgId, &limit, &page)
if err != nil {
log.Fatalln(err)
} else {
Expand Down
18 changes: 9 additions & 9 deletions doc/controllers/orgs-clients-wired.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ CountOrgWiredClients(
ctx context.Context,
orgId uuid.UUID,
distinct *models.OrgWiredClientsCountDistinctEnum,
page *int,
limit *int,
start *int,
end *int,
duration *string) (
duration *string,
limit *int,
page *int) (
models.ApiResponse[models.RepsonseCount],
error)
```
Expand All @@ -40,11 +40,11 @@ CountOrgWiredClients(
| --- | --- | --- | --- |
| `orgId` | `uuid.UUID` | Template, Required | - |
| `distinct` | [`*models.OrgWiredClientsCountDistinctEnum`](../../doc/models/org-wired-clients-count-distinct-enum.md) | Query, Optional | - |
| `page` | `*int` | Query, Optional | - |
| `limit` | `*int` | Query, Optional | - |
| `start` | `*int` | Query, Optional | start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified |
| `end` | `*int` | Query, Optional | end datetime, can be epoch or relative time like -1d, -2h; now if not specified |
| `duration` | `*string` | Query, Optional | duration like 7d, 2w |
| `limit` | `*int` | Query, Optional | - |
| `page` | `*int` | Query, Optional | - |

## Response Type

Expand All @@ -59,17 +59,17 @@ orgId := uuid.MustParse("000000ab-00ab-00ab-00ab-0000000000ab")

distinct := models.OrgWiredClientsCountDistinctEnum("mac")

page := 1

limit := 100



duration := "10m"

limit := 100

duration := "10m"
page := 1

apiResponse, err := orgsClientsWired.CountOrgWiredClients(ctx, orgId, &distinct, &page, &limit, nil, nil, &duration)
apiResponse, err := orgsClientsWired.CountOrgWiredClients(ctx, orgId, &distinct, nil, nil, &duration, &limit, &page)
if err != nil {
log.Fatalln(err)
} else {
Expand Down
Loading

0 comments on commit 7027477

Please sign in to comment.