diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 46e17476..89f677e0 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,85 +1,25 @@ # Contributing -Given external users will not have write to the branches in this repository, you'll need to follow the forking process to open a PR - [here](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork) is a guide from github on how to do so. - -Please also read our main [contributing guide](https://github.com/theopenlane/.github/blob/main/CONTRIBUTING.md) in addition to this one; the main guide mostly says that we'd like for you to open an issue first but it's not hard-required, and that we accept all forms of proposed changes given the state of this code base (in it's infancy, still!) - -## Pre-requisites to a PR - -This repository contains a number of code generating functions / utilities which take schema modifications and scaffold out resolvers, graphql API schemas, openAPI specifications, among other things. To ensure you've generated all the necessary dependencies run `task pr`; this will run the entirety of the commands required to safely generate a PR. If for some reason one of the commands fails / encounters an error, you will need to debug the individual steps. It should be decently easy to follow the `Taskfile` in the root of this repository. - -### Pre-Commit Hooks - -We have several `pre-commit` hooks that should be run before pushing a commit. Make sure this is installed: - -```bash -brew install pre-commit -pre-commit install -``` - -You can optionally run against all files: - -```bash -pre-commit run --all-files -``` - -## Starting the Server - -1. Copy the config, this is in .gitignore so you do not have to worry about accidentally committing secrets +Please read the [contributing](.github/CONTRIBUTING.md) guide as well as the [Developer Certificate of Origin](https://developercertificate.org/). You will be required to sign all commits to the Openlane project, so if you're unfamiliar with how to set that up, see [github's documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification). - ```bash - cp ./config/config-dev.example.yaml ./config/.config.yaml - ``` - -1. Update the configuration with whatever respective settings you desire; the defaults inside should allow you to run the server without a problem - -1. Use the task commands to start the server - - Run the core server in development mode with dependencies in docker - - ```bash - task run-dev - ``` - - Run fully in docker - - ```bash - task docker:all:up - ``` - -1. In a separate terminal, with the server running, you can create a verified test user by running: - - ```bash - task cli:user:all - ``` - -1. Once this command has finished ^, you can login and perform actions as user `mitb@theopenlane.io` with password `mattisthebest1234!` - -## Creating Queries in GraphQL +Given external users will not have write to the branches in this repository, you'll need to follow the forking process to open a PR - [here](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork) is a guide from github on how to do so. -The best method of forming / testing queries against the server is to run `task docker:rover` which will launch an interactive query UI. +## Licensing -If you are running the queries against your local repo, you will have CORS issues using the local running apollo. Instead, its recommended to use the [apollo sandbox](https://studio.apollographql.com/sandbox/explorer) and ensure the following origin is allowed in your `config/.config.yaml` +This repository contains open source software that comprises the Openlane stack which is open source software under [Apache 2.0](LICENSE). Openlane's SaaS / Cloud Services are products produced from this open source software exclusively by theopenlane, Inc. This product is produced under our published commercial terms (which are subject to change). Any logos or trademarks in our repositories in [theopenlane](https://github.com/theopenlane) organization are not covered under the Apache License and are trademarks of theopenlane, Inc. -``` -server: - cors: - allowOrigins: - - https://studio.apollographql.com -``` +Others are allowed to make their own distribution of this software or include this software in other commercial offerings, but cannot use any of the Openlane logos, trademarks, cloud services, etc. -## OpenFGA Playground +## Security -You can load up a local openFGA environment with the compose setup in this repository; `task fga:up` - this will launch an interactive playground where you can model permissions model(s) or changes to the models +We take the security of our software products and services seriously, including our commercial services and all of the open source code repositories managed through our Github Organizations, such as [theopenlane](https://github.com/theopenlane). If you believe you have found a security vulnerability in any of our repositories or in our SaaS offering(s), please report it to us through coordinated disclosure. -## Creating a new Schema +**Please do NOT report security vulnerabilities through public github issues, discussions, or pull requests!** -To ease the effort required to add additional schemas into the system a template + task function has been created. This isn't doing anything terribly complex, but it's attempting to ensure you have the _minimum_ set of required things needed to create a schema - most notably: you need to ensure the IDMixin is present (otherwise you will get ID type conflicts) and a standard set of schema annotations. +Instead, please send an email to `security@theopenlane.io` with as much information as possible to best help us understand and resolve the issues. See the security policy attached to this repository for more details. -NOTE: you still have to make intelligent decisions around things like the presence / integration of hooks, interceptors, policies, etc. This is saving you about 10 seconds of copy-paste, so don't over estimate the automation, here. +## Questions? -To generate a new schema, you can run `task newschema -- [yourschemaname]` where you replace the name within `[]`. Please be sure to note that this isn't a command line flag so there's a space between `--` and the name. +You can email us at `info@theopenlane.io`, open a github issue in this repository, or reach out to [matoszz](https://github.com/matoszz) directly. -### Migrations -We use [atlas](https://atlasgo.io/) and [goose](https://github.com/pressly/goose) to create and manage our DB migrations - you can trigger one via `task atlas:create` and that will generate the necessary migrations. There should be a new migration file created in `db/migrations`, `db/migrations-goose-postgre` and `db/migrations-goose-sqlite`. On every PR, the Atlas integration also creates comments with any issues related to the schema changes / migrations. diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 964b7268..2049d163 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: hooks: - id: yamlfmt - repo: https://github.com/crate-ci/typos - rev: v1.24.5 + rev: v1.24.6 hooks: - id: typos - repo: local diff --git a/LICENSE b/LICENSE index 4ee322c6..e11466b6 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2024 The Open Lane, Inc. + Copyright 2024 theopenlane, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index 73daec03..0753b238 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [![Build status](https://badge.buildkite.com/a3a38b934ca2bb7fc771e19bc5a986a1452fa2962e4e1c63bf.svg?branch=main)](https://buildkite.com/theopenlane/core) [![Go Reference](https://pkg.go.dev/badge/github.com/theopenlane/core.svg)](https://pkg.go.dev/github.com/theopenlane/core) [![License: Apache 2.0](https://img.shields.io/badge/License-Apache2.0-brightgreen.svg)](https://opensource.org/licenses/Apache-2.0) +[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=theopenlane_core&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=theopenlane_core) @@ -22,6 +23,7 @@ At it's core, this repo is a collection of services built on top of an entity fr - Code generated audit / history tables for defined schemas On top of this powerful core we also have an incredible amount of pluggable, extensible services: + - Authentication: we today support password, OAuth2 / Social login providers (Github, Google), Passkeys as well as standard OIDC Discovery flows - Multi-factor: built-in 2FA mechanisms, TOTP - Authorization: extensible and flexible permissions constructs via openFGA based on Google Zanzibar @@ -34,31 +36,7 @@ On top of this powerful core we also have an incredible amount of pluggable, ext ## Development -Developing against this repo involves a few mandatory tools; please read up on these and familiarize yourself if you're interested in making additions or changes! - -1. [ent](https://entgo.io/) - insane entity mapping tool, definitely not an ORM but kind of an ORM (handles our relational data storage, mappings, codegen processes) -1. [atlas](https://atlasgo.io/) - Schema generation and migrations (can be disabled in lieu of migrations on disk) -1. [goose](https://github.com/pressly/goose) - Secondary database migration utility we also use for seeding data -1. [gqlgen](https://gqlgen.com/) - Code generation + GraphQL server building from from `ent` schema definitions -1. [gqlgenc](https://github.com/Yamashou/gqlgenc) - Client building utilities with GraphQL -1. [openfga](https://openfga.dev/) - Flexible authorization/permission engine inspired by Google Zanzibar -1. [echo](https://echo.labstack.com/) - High performance, extensible, minimalist Go web framework -1. [koanf](https://github.com/knadh/koanf) - Configuration management library which parses command line arguments, Go structs + creates our main configuration files - -We also leverage many secondary technologies in use, including (but not limited to!): - -1. [taskfile](https://taskfile.dev/usage/) - So much better than Make zomg -1. [redis](https://redis.io/) - in-memory datastore used for sessions, caching -1. databases: - * [postgres](https://www.postgresql.org/) - * [libsql](https://turso.tech/libsql) - * [sqlite](https://www.sqlite.org/) -1. [golangci-lint](https://github.com/golangci/golangci-lint) - an annoyingly opinionated linter -1. [buildkite](https://buildkite.com/theopenlane) - our CI system of choice (with github actions providing some intermediary support) - -All of these components are bundled into our respective Docker images; for additional information / instructions, see the [contributing guide](.github/CONTRIBUTING.md) in this repository. We're constantly adding and changing things, but have tried to list all the great open source tools and projects we rely on; if you see your project (or one you use) in here and wish to list it, feel free to open a PR! - -## Dependencies +### Dependencies The vast majority of behaviors of the system can be turned on or off by updating the configuration parameters found in `config`; in some instances, we've made features or integrations with third party systems which are "always on", but we're happy to receive PR's wrapping those dependencies if you are interested in running the software without them! @@ -70,28 +48,71 @@ Setup [Taskfile](https://taskfile.dev/installation/) by following the instructio See the [README](/config/README.md) in the `config` directory. -## Deploying +### Starting the Server -The only "supported" method of deploying today is locally, but we have a WIP Helm chart which can be found [here](https://github.com/theopenlane/helm-charts) +1. Copy the config, this is in .gitignore so you do not have to worry about accidentally committing secrets -## Contributing + ```bash + cp ./config/config-dev.example.yaml ./config/.config.yaml + ``` + +1. Update the configuration with whatever respective settings you desire; the defaults inside should allow you to run the server without a problem + +1. Use the task commands to start the server + + Run the core server in development mode with dependencies in docker + + ```bash + task run-dev + ``` + + Run fully in docker -Please read the [contributing](.github/CONTRIBUTING.md) guide as well as the [Developer Certificate of Origin](https://developercertificate.org/). You will be required to sign all commits to the [theopenlane](https://github.com/theopenlane) organization, so if you're unfamiliar with how to set that up, see [github's documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification). + ```bash + task docker:all:up + ``` -## Licensing +1. In a separate terminal, with the server running, you can create a verified test user by running: -This repository contains `core` which is open source software under [Apache 2.0](LICENSE). Openlane is a product produced from this open source software exclusively by The Open Lane, Inc. This product is produced under our published commercial terms (which are subject to change), and any logos or trademarks in this repository or the broader [theopenlane](https://github.com/theopenlane) organization are not covered under the Apache License. + ```bash + task cli:user:all + ``` -Others are allowed to make their own distribution of this software or include this software in other commercial offerings, but cannot use any of the Openlane logos, trademarks, cloud services, etc. +1. Once this command has finished ^, you can login and perform actions as user `mitb@theopenlane.io` with password `mattisthebest1234` -## Security +### Creating Queries in GraphQL -We take the security of our software products and services seriously, including all of the open source code repositories managed through our Github Organizations, such as [theopenlane](https://github.com/theopenlane). If you believe you have found a security vulnerability in any of our repositories, please report it to us through coordinated disclosure. +The best method of forming / testing queries against the server is to run `task docker:rover` which will launch an interactive query UI. -**Please do NOT report security vulnerabilities through public github issues, discussions, or pull requests!** +If you are running the queries against your local repo, you will have CORS issues using the local running apollo. Instead, its recommended to use the [apollo sandbox](https://studio.apollographql.com/sandbox/explorer) and ensure the following origin is allowed in your `config/.config.yaml` -Instead, please send an email to `security@theopenlane.io` with as much information as possible to best help us understand and resolve the issues. See the security policy attached to this repository for more details. +``` +server: + cors: + allowOrigins: + - https://studio.apollographql.com +``` -## Questions? +### OpenFGA Playground + +You can load up a local openFGA environment with the compose setup in this repository; `task fga:up` - this will launch an interactive playground where you can model permissions model(s) or changes to the models + +### Creating a new Schema + +To ease the effort required to add additional schemas into the system a template + task function has been created. This isn't doing anything terribly complex, but it's attempting to ensure you have the _minimum_ set of required things needed to create a schema - most notably: you need to ensure the IDMixin is present (otherwise you will get ID type conflicts) and a standard set of schema annotations. + +NOTE: you still have to make intelligent decisions around things like the presence / integration of hooks, interceptors, policies, etc. This is saving you about 10 seconds of copy-paste, so don't over estimate the automation, here. + +To generate a new schema, you can run `task newschema -- [yourschemaname]` where you replace the name within `[]`. Please be sure to note that this isn't a command line flag so there's a space between `--` and the name. + +### Migrations + +We use [atlas](https://atlasgo.io/) and [goose](https://github.com/pressly/goose) to create and manage our DB migrations - you can trigger one via `task atlas:create` and that will generate the necessary migrations. There should be a new migration file created in `db/migrations`, `db/migrations-goose-postgre` and `db/migrations-goose-sqlite`. On every PR, the Atlas integration also creates comments with any issues related to the schema changes / migrations. + +## Deploying + +The only "supported" method of deploying today is locally, but we have a WIP Helm chart which can be found [here](https://github.com/theopenlane/helm-charts) + +## Contributing -You can email us at `info@theopenlane.io`, open a github issue in this repository, or reach out to [matoszz](https://github.com/matoszz) directly. +See the [contributing](.github/CONTRIBUTING.md) guide for more information diff --git a/docs/tools.md b/docs/tools.md new file mode 100644 index 00000000..3f704ddf --- /dev/null +++ b/docs/tools.md @@ -0,0 +1,25 @@ +# Tools + +Developing against this repo involves a few mandatory tools; please read up on these and familiarize yourself if you're interested in making additions or changes! + +1. [ent](https://entgo.io/) - insane entity mapping tool, definitely not an ORM but kind of an ORM (handles our relational data storage, mappings, codegen processes) +1. [atlas](https://atlasgo.io/) - Schema generation and migrations (can be disabled in lieu of migrations on disk) +1. [goose](https://github.com/pressly/goose) - Secondary database migration utility we also use for seeding data +1. [gqlgen](https://gqlgen.com/) - Code generation + GraphQL server building from from `ent` schema definitions +1. [gqlgenc](https://github.com/Yamashou/gqlgenc) - Client building utilities with GraphQL +1. [openfga](https://openfga.dev/) - Flexible authorization/permission engine inspired by Google Zanzibar +1. [echo](https://echo.labstack.com/) - High performance, extensible, minimalist Go web framework +1. [koanf](https://github.com/knadh/koanf) - Configuration management library which parses command line arguments, Go structs + creates our main configuration files + +We also leverage many secondary technologies in use, including (but not limited to!): + +1. [taskfile](https://taskfile.dev/usage/) - So much better than Make zomg +1. [redis](https://redis.io/) - in-memory datastore used for sessions, caching +1. databases: + * [postgres](https://www.postgresql.org/) + * [libsql](https://turso.tech/libsql) + * [sqlite](https://www.sqlite.org/) +1. [golangci-lint](https://github.com/golangci/golangci-lint) - an annoyingly opinionated linter +1. [buildkite](https://buildkite.com/theopenlane) - our CI system of choice (with github actions providing some intermediary support) + +All of these components are bundled into our respective Docker images; for additional information / instructions, see the [contributing guide](.github/CONTRIBUTING.md) in this repository. We're constantly adding and changing things, but have tried to list all the great open source tools and projects we rely on; if you see your project (or one you use) in here and wish to list it, feel free to open a PR! \ No newline at end of file diff --git a/pkg/openlaneclient/graphclient.go b/pkg/openlaneclient/graphclient.go index a9a4cd7b..c24318a7 100644 --- a/pkg/openlaneclient/graphclient.go +++ b/pkg/openlaneclient/graphclient.go @@ -21,8 +21,8 @@ type OpenlaneGraphClient interface { GetAllAPITokens(ctx context.Context, interceptors ...clientv2.RequestInterceptor) (*GetAllAPITokens, error) GetAPITokenByID(ctx context.Context, apiTokenID string, interceptors ...clientv2.RequestInterceptor) (*GetAPITokenByID, error) DeleteAPIToken(ctx context.Context, deleteAPITokenID string, interceptors ...clientv2.RequestInterceptor) (*DeleteAPIToken, error) - CreateBulkCSVContact(ctx context.Context, input graphql.Upload, interceptors ...clientv2.RequestInterceptor) (*CreateBulkCSVContact, error) CreateBulkContact(ctx context.Context, input []*CreateContactInput, interceptors ...clientv2.RequestInterceptor) (*CreateBulkContact, error) + CreateBulkCSVContact(ctx context.Context, input graphql.Upload, interceptors ...clientv2.RequestInterceptor) (*CreateBulkCSVContact, error) CreateContact(ctx context.Context, input CreateContactInput, interceptors ...clientv2.RequestInterceptor) (*CreateContact, error) DeleteContact(ctx context.Context, deleteContactID string, interceptors ...clientv2.RequestInterceptor) (*DeleteContact, error) GetAllContacts(ctx context.Context, interceptors ...clientv2.RequestInterceptor) (*GetAllContacts, error) @@ -55,14 +55,14 @@ type OpenlaneGraphClient interface { GetEntitlementPlanByID(ctx context.Context, entitlementPlanID string, interceptors ...clientv2.RequestInterceptor) (*GetEntitlementPlanByID, error) GetEntitlementPlans(ctx context.Context, where *EntitlementPlanWhereInput, interceptors ...clientv2.RequestInterceptor) (*GetEntitlementPlans, error) UpdateEntitlementPlan(ctx context.Context, updateEntitlementPlanID string, input UpdateEntitlementPlanInput, interceptors ...clientv2.RequestInterceptor) (*UpdateEntitlementPlan, error) + CreateBulkCSVEntitlementPlanFeature(ctx context.Context, input graphql.Upload, interceptors ...clientv2.RequestInterceptor) (*CreateBulkCSVEntitlementPlanFeature, error) + CreateBulkEntitlementPlanFeature(ctx context.Context, input []*CreateEntitlementPlanFeatureInput, interceptors ...clientv2.RequestInterceptor) (*CreateBulkEntitlementPlanFeature, error) + CreateEntitlementPlanFeature(ctx context.Context, input CreateEntitlementPlanFeatureInput, interceptors ...clientv2.RequestInterceptor) (*CreateEntitlementPlanFeature, error) + DeleteEntitlementPlanFeature(ctx context.Context, deleteEntitlementPlanFeatureID string, interceptors ...clientv2.RequestInterceptor) (*DeleteEntitlementPlanFeature, error) GetAllEntitlementPlanFeatures(ctx context.Context, interceptors ...clientv2.RequestInterceptor) (*GetAllEntitlementPlanFeatures, error) GetEntitlementPlanFeatureByID(ctx context.Context, entitlementPlanFeatureID string, interceptors ...clientv2.RequestInterceptor) (*GetEntitlementPlanFeatureByID, error) GetEntitlementPlanFeatures(ctx context.Context, where *EntitlementPlanFeatureWhereInput, interceptors ...clientv2.RequestInterceptor) (*GetEntitlementPlanFeatures, error) - CreateEntitlementPlanFeature(ctx context.Context, input CreateEntitlementPlanFeatureInput, interceptors ...clientv2.RequestInterceptor) (*CreateEntitlementPlanFeature, error) - CreateBulkCSVEntitlementPlanFeature(ctx context.Context, input graphql.Upload, interceptors ...clientv2.RequestInterceptor) (*CreateBulkCSVEntitlementPlanFeature, error) - CreateBulkEntitlementPlanFeature(ctx context.Context, input []*CreateEntitlementPlanFeatureInput, interceptors ...clientv2.RequestInterceptor) (*CreateBulkEntitlementPlanFeature, error) UpdateEntitlementPlanFeature(ctx context.Context, updateEntitlementPlanFeatureID string, input UpdateEntitlementPlanFeatureInput, interceptors ...clientv2.RequestInterceptor) (*UpdateEntitlementPlanFeature, error) - DeleteEntitlementPlanFeature(ctx context.Context, deleteEntitlementPlanFeatureID string, interceptors ...clientv2.RequestInterceptor) (*DeleteEntitlementPlanFeature, error) GetAllEntitlementPlanFeatureHistories(ctx context.Context, interceptors ...clientv2.RequestInterceptor) (*GetAllEntitlementPlanFeatureHistories, error) GetEntitlementPlanFeatureHistories(ctx context.Context, where *EntitlementPlanFeatureHistoryWhereInput, interceptors ...clientv2.RequestInterceptor) (*GetEntitlementPlanFeatureHistories, error) GetAllEntitlementPlanHistories(ctx context.Context, interceptors ...clientv2.RequestInterceptor) (*GetAllEntitlementPlanHistories, error) @@ -87,14 +87,14 @@ type OpenlaneGraphClient interface { UpdateEntityType(ctx context.Context, updateEntityTypeID string, input UpdateEntityTypeInput, interceptors ...clientv2.RequestInterceptor) (*UpdateEntityType, error) GetAllEntityTypeHistories(ctx context.Context, interceptors ...clientv2.RequestInterceptor) (*GetAllEntityTypeHistories, error) GetEntityTypeHistories(ctx context.Context, where *EntityTypeHistoryWhereInput, interceptors ...clientv2.RequestInterceptor) (*GetEntityTypeHistories, error) - GetEvents(ctx context.Context, where *EventWhereInput, interceptors ...clientv2.RequestInterceptor) (*GetEvents, error) - GetEventByID(ctx context.Context, eventID string, interceptors ...clientv2.RequestInterceptor) (*GetEventByID, error) - GetAllEvents(ctx context.Context, interceptors ...clientv2.RequestInterceptor) (*GetAllEvents, error) - CreateEvent(ctx context.Context, input CreateEventInput, interceptors ...clientv2.RequestInterceptor) (*CreateEvent, error) - CreateBulkEvent(ctx context.Context, input []*CreateEventInput, interceptors ...clientv2.RequestInterceptor) (*CreateBulkEvent, error) CreateBulkCSVEvent(ctx context.Context, input graphql.Upload, interceptors ...clientv2.RequestInterceptor) (*CreateBulkCSVEvent, error) - UpdateEvent(ctx context.Context, updateEventID string, input UpdateEventInput, interceptors ...clientv2.RequestInterceptor) (*UpdateEvent, error) + CreateBulkEvent(ctx context.Context, input []*CreateEventInput, interceptors ...clientv2.RequestInterceptor) (*CreateBulkEvent, error) + CreateEvent(ctx context.Context, input CreateEventInput, interceptors ...clientv2.RequestInterceptor) (*CreateEvent, error) DeleteEvent(ctx context.Context, deleteEventID string, interceptors ...clientv2.RequestInterceptor) (*DeleteEvent, error) + GetAllEvents(ctx context.Context, interceptors ...clientv2.RequestInterceptor) (*GetAllEvents, error) + GetEventByID(ctx context.Context, eventID string, interceptors ...clientv2.RequestInterceptor) (*GetEventByID, error) + GetEvents(ctx context.Context, where *EventWhereInput, interceptors ...clientv2.RequestInterceptor) (*GetEvents, error) + UpdateEvent(ctx context.Context, updateEventID string, input UpdateEventInput, interceptors ...clientv2.RequestInterceptor) (*UpdateEvent, error) GetAllEventHistories(ctx context.Context, interceptors ...clientv2.RequestInterceptor) (*GetAllEventHistories, error) GetEventHistories(ctx context.Context, where *EventHistoryWhereInput, interceptors ...clientv2.RequestInterceptor) (*GetEventHistories, error) CreateBulkCSVFeature(ctx context.Context, input graphql.Upload, interceptors ...clientv2.RequestInterceptor) (*CreateBulkCSVFeature, error) @@ -2579,7 +2579,7 @@ func (t *DeleteAPIToken_DeleteAPIToken) GetDeletedID() string { return t.DeletedID } -type CreateBulkCSVContact_CreateBulkCSVContact_Contacts struct { +type CreateBulkContact_CreateBulkContact_Contacts struct { Address *string "json:\"address,omitempty\" graphql:\"address\"" Company *string "json:\"company,omitempty\" graphql:\"company\"" CreatedAt *time.Time "json:\"createdAt,omitempty\" graphql:\"createdAt\"" @@ -2596,103 +2596,103 @@ type CreateBulkCSVContact_CreateBulkCSVContact_Contacts struct { UpdatedBy *string "json:\"updatedBy,omitempty\" graphql:\"updatedBy\"" } -func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetAddress() *string { +func (t *CreateBulkContact_CreateBulkContact_Contacts) GetAddress() *string { if t == nil { - t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} + t = &CreateBulkContact_CreateBulkContact_Contacts{} } return t.Address } -func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetCompany() *string { +func (t *CreateBulkContact_CreateBulkContact_Contacts) GetCompany() *string { if t == nil { - t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} + t = &CreateBulkContact_CreateBulkContact_Contacts{} } return t.Company } -func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetCreatedAt() *time.Time { +func (t *CreateBulkContact_CreateBulkContact_Contacts) GetCreatedAt() *time.Time { if t == nil { - t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} + t = &CreateBulkContact_CreateBulkContact_Contacts{} } return t.CreatedAt } -func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetCreatedBy() *string { +func (t *CreateBulkContact_CreateBulkContact_Contacts) GetCreatedBy() *string { if t == nil { - t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} + t = &CreateBulkContact_CreateBulkContact_Contacts{} } return t.CreatedBy } -func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetEmail() *string { +func (t *CreateBulkContact_CreateBulkContact_Contacts) GetEmail() *string { if t == nil { - t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} + t = &CreateBulkContact_CreateBulkContact_Contacts{} } return t.Email } -func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetFullName() string { +func (t *CreateBulkContact_CreateBulkContact_Contacts) GetFullName() string { if t == nil { - t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} + t = &CreateBulkContact_CreateBulkContact_Contacts{} } return t.FullName } -func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetID() string { +func (t *CreateBulkContact_CreateBulkContact_Contacts) GetID() string { if t == nil { - t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} + t = &CreateBulkContact_CreateBulkContact_Contacts{} } return t.ID } -func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetOwnerID() *string { +func (t *CreateBulkContact_CreateBulkContact_Contacts) GetOwnerID() *string { if t == nil { - t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} + t = &CreateBulkContact_CreateBulkContact_Contacts{} } return t.OwnerID } -func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetPhoneNumber() *string { +func (t *CreateBulkContact_CreateBulkContact_Contacts) GetPhoneNumber() *string { if t == nil { - t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} + t = &CreateBulkContact_CreateBulkContact_Contacts{} } return t.PhoneNumber } -func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetStatus() *enums.UserStatus { +func (t *CreateBulkContact_CreateBulkContact_Contacts) GetStatus() *enums.UserStatus { if t == nil { - t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} + t = &CreateBulkContact_CreateBulkContact_Contacts{} } return &t.Status } -func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetTags() []string { +func (t *CreateBulkContact_CreateBulkContact_Contacts) GetTags() []string { if t == nil { - t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} + t = &CreateBulkContact_CreateBulkContact_Contacts{} } return t.Tags } -func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetTitle() *string { +func (t *CreateBulkContact_CreateBulkContact_Contacts) GetTitle() *string { if t == nil { - t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} + t = &CreateBulkContact_CreateBulkContact_Contacts{} } return t.Title } -func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetUpdatedAt() *time.Time { +func (t *CreateBulkContact_CreateBulkContact_Contacts) GetUpdatedAt() *time.Time { if t == nil { - t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} + t = &CreateBulkContact_CreateBulkContact_Contacts{} } return t.UpdatedAt } -func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetUpdatedBy() *string { +func (t *CreateBulkContact_CreateBulkContact_Contacts) GetUpdatedBy() *string { if t == nil { - t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} + t = &CreateBulkContact_CreateBulkContact_Contacts{} } return t.UpdatedBy } -type CreateBulkCSVContact_CreateBulkCSVContact struct { - Contacts []*CreateBulkCSVContact_CreateBulkCSVContact_Contacts "json:\"contacts,omitempty\" graphql:\"contacts\"" +type CreateBulkContact_CreateBulkContact struct { + Contacts []*CreateBulkContact_CreateBulkContact_Contacts "json:\"contacts,omitempty\" graphql:\"contacts\"" } -func (t *CreateBulkCSVContact_CreateBulkCSVContact) GetContacts() []*CreateBulkCSVContact_CreateBulkCSVContact_Contacts { +func (t *CreateBulkContact_CreateBulkContact) GetContacts() []*CreateBulkContact_CreateBulkContact_Contacts { if t == nil { - t = &CreateBulkCSVContact_CreateBulkCSVContact{} + t = &CreateBulkContact_CreateBulkContact{} } return t.Contacts } -type CreateBulkContact_CreateBulkContact_Contacts struct { +type CreateBulkCSVContact_CreateBulkCSVContact_Contacts struct { Address *string "json:\"address,omitempty\" graphql:\"address\"" Company *string "json:\"company,omitempty\" graphql:\"company\"" CreatedAt *time.Time "json:\"createdAt,omitempty\" graphql:\"createdAt\"" @@ -2709,98 +2709,98 @@ type CreateBulkContact_CreateBulkContact_Contacts struct { UpdatedBy *string "json:\"updatedBy,omitempty\" graphql:\"updatedBy\"" } -func (t *CreateBulkContact_CreateBulkContact_Contacts) GetAddress() *string { +func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetAddress() *string { if t == nil { - t = &CreateBulkContact_CreateBulkContact_Contacts{} + t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} } return t.Address } -func (t *CreateBulkContact_CreateBulkContact_Contacts) GetCompany() *string { +func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetCompany() *string { if t == nil { - t = &CreateBulkContact_CreateBulkContact_Contacts{} + t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} } return t.Company } -func (t *CreateBulkContact_CreateBulkContact_Contacts) GetCreatedAt() *time.Time { +func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetCreatedAt() *time.Time { if t == nil { - t = &CreateBulkContact_CreateBulkContact_Contacts{} + t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} } return t.CreatedAt } -func (t *CreateBulkContact_CreateBulkContact_Contacts) GetCreatedBy() *string { +func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetCreatedBy() *string { if t == nil { - t = &CreateBulkContact_CreateBulkContact_Contacts{} + t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} } return t.CreatedBy } -func (t *CreateBulkContact_CreateBulkContact_Contacts) GetEmail() *string { +func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetEmail() *string { if t == nil { - t = &CreateBulkContact_CreateBulkContact_Contacts{} + t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} } return t.Email } -func (t *CreateBulkContact_CreateBulkContact_Contacts) GetFullName() string { +func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetFullName() string { if t == nil { - t = &CreateBulkContact_CreateBulkContact_Contacts{} + t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} } return t.FullName } -func (t *CreateBulkContact_CreateBulkContact_Contacts) GetID() string { +func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetID() string { if t == nil { - t = &CreateBulkContact_CreateBulkContact_Contacts{} + t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} } return t.ID } -func (t *CreateBulkContact_CreateBulkContact_Contacts) GetOwnerID() *string { +func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetOwnerID() *string { if t == nil { - t = &CreateBulkContact_CreateBulkContact_Contacts{} + t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} } return t.OwnerID } -func (t *CreateBulkContact_CreateBulkContact_Contacts) GetPhoneNumber() *string { +func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetPhoneNumber() *string { if t == nil { - t = &CreateBulkContact_CreateBulkContact_Contacts{} + t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} } return t.PhoneNumber } -func (t *CreateBulkContact_CreateBulkContact_Contacts) GetStatus() *enums.UserStatus { +func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetStatus() *enums.UserStatus { if t == nil { - t = &CreateBulkContact_CreateBulkContact_Contacts{} + t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} } return &t.Status } -func (t *CreateBulkContact_CreateBulkContact_Contacts) GetTags() []string { +func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetTags() []string { if t == nil { - t = &CreateBulkContact_CreateBulkContact_Contacts{} + t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} } return t.Tags } -func (t *CreateBulkContact_CreateBulkContact_Contacts) GetTitle() *string { +func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetTitle() *string { if t == nil { - t = &CreateBulkContact_CreateBulkContact_Contacts{} + t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} } return t.Title } -func (t *CreateBulkContact_CreateBulkContact_Contacts) GetUpdatedAt() *time.Time { +func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetUpdatedAt() *time.Time { if t == nil { - t = &CreateBulkContact_CreateBulkContact_Contacts{} + t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} } return t.UpdatedAt } -func (t *CreateBulkContact_CreateBulkContact_Contacts) GetUpdatedBy() *string { +func (t *CreateBulkCSVContact_CreateBulkCSVContact_Contacts) GetUpdatedBy() *string { if t == nil { - t = &CreateBulkContact_CreateBulkContact_Contacts{} + t = &CreateBulkCSVContact_CreateBulkCSVContact_Contacts{} } return t.UpdatedBy } -type CreateBulkContact_CreateBulkContact struct { - Contacts []*CreateBulkContact_CreateBulkContact_Contacts "json:\"contacts,omitempty\" graphql:\"contacts\"" +type CreateBulkCSVContact_CreateBulkCSVContact struct { + Contacts []*CreateBulkCSVContact_CreateBulkCSVContact_Contacts "json:\"contacts,omitempty\" graphql:\"contacts\"" } -func (t *CreateBulkContact_CreateBulkContact) GetContacts() []*CreateBulkContact_CreateBulkContact_Contacts { +func (t *CreateBulkCSVContact_CreateBulkCSVContact) GetContacts() []*CreateBulkCSVContact_CreateBulkCSVContact_Contacts { if t == nil { - t = &CreateBulkContact_CreateBulkContact{} + t = &CreateBulkCSVContact_CreateBulkCSVContact{} } return t.Contacts } @@ -5900,252 +5900,162 @@ func (t *UpdateEntitlementPlan_UpdateEntitlementPlan) GetEntitlementPlan() *Upda return &t.EntitlementPlan } -type GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature struct { +type CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Plan struct { ID string "json:\"id\" graphql:\"id\"" Name string "json:\"name\" graphql:\"name\"" } -func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature) GetID() string { +func (t *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Plan) GetID() string { if t == nil { - t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature{} + t = &CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Plan{} } return t.ID } -func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature) GetName() string { +func (t *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Plan) GetName() string { if t == nil { - t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature{} + t = &CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Plan{} } return t.Name } -type GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan struct { +type CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Feature struct { ID string "json:\"id\" graphql:\"id\"" Name string "json:\"name\" graphql:\"name\"" } -func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan) GetID() string { +func (t *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Feature) GetID() string { if t == nil { - t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan{} + t = &CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Feature{} } return t.ID } -func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan) GetName() string { +func (t *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Feature) GetName() string { if t == nil { - t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan{} + t = &CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Feature{} } return t.Name } -type GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node struct { - ID string "json:\"id\" graphql:\"id\"" - Feature GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature "json:\"feature\" graphql:\"feature\"" - Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" - Plan GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan "json:\"plan\" graphql:\"plan\"" +type CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures struct { + ID string "json:\"id\" graphql:\"id\"" + Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" + Plan CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Plan "json:\"plan\" graphql:\"plan\"" + Feature CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Feature "json:\"feature\" graphql:\"feature\"" } -func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node) GetID() string { +func (t *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures) GetID() string { if t == nil { - t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node{} + t = &CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures{} } return t.ID } -func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node) GetFeature() *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature { - if t == nil { - t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node{} - } - return &t.Feature -} -func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node) GetMetadata() map[string]interface{} { +func (t *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures) GetMetadata() map[string]interface{} { if t == nil { - t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node{} + t = &CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures{} } return t.Metadata } -func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node) GetPlan() *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan { +func (t *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures) GetPlan() *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Plan { if t == nil { - t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node{} + t = &CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures{} } return &t.Plan } - -type GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges struct { - Node *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node "json:\"node,omitempty\" graphql:\"node\"" -} - -func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges) GetNode() *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node { - if t == nil { - t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges{} - } - return t.Node -} - -type GetAllEntitlementPlanFeatures_EntitlementPlanFeatures struct { - Edges []*GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges "json:\"edges,omitempty\" graphql:\"edges\"" -} - -func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures) GetEdges() []*GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges { - if t == nil { - t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures{} - } - return t.Edges -} - -type GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Plan struct { - ID string "json:\"id\" graphql:\"id\"" - Name string "json:\"name\" graphql:\"name\"" -} - -func (t *GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Plan) GetID() string { - if t == nil { - t = &GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Plan{} - } - return t.ID -} -func (t *GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Plan) GetName() string { - if t == nil { - t = &GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Plan{} - } - return t.Name -} - -type GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Feature struct { - ID string "json:\"id\" graphql:\"id\"" - Name string "json:\"name\" graphql:\"name\"" -} - -func (t *GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Feature) GetID() string { - if t == nil { - t = &GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Feature{} - } - return t.ID -} -func (t *GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Feature) GetName() string { +func (t *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures) GetFeature() *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Feature { if t == nil { - t = &GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Feature{} + t = &CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures{} } - return t.Name + return &t.Feature } -type GetEntitlementPlanFeatureByID_EntitlementPlanFeature struct { - ID string "json:\"id\" graphql:\"id\"" - Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" - Plan GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Plan "json:\"plan\" graphql:\"plan\"" - Feature GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Feature "json:\"feature\" graphql:\"feature\"" +type CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature struct { + EntitlementPlanFeatures []*CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures "json:\"entitlementPlanFeatures,omitempty\" graphql:\"entitlementPlanFeatures\"" } -func (t *GetEntitlementPlanFeatureByID_EntitlementPlanFeature) GetID() string { - if t == nil { - t = &GetEntitlementPlanFeatureByID_EntitlementPlanFeature{} - } - return t.ID -} -func (t *GetEntitlementPlanFeatureByID_EntitlementPlanFeature) GetMetadata() map[string]interface{} { - if t == nil { - t = &GetEntitlementPlanFeatureByID_EntitlementPlanFeature{} - } - return t.Metadata -} -func (t *GetEntitlementPlanFeatureByID_EntitlementPlanFeature) GetPlan() *GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Plan { - if t == nil { - t = &GetEntitlementPlanFeatureByID_EntitlementPlanFeature{} - } - return &t.Plan -} -func (t *GetEntitlementPlanFeatureByID_EntitlementPlanFeature) GetFeature() *GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Feature { +func (t *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature) GetEntitlementPlanFeatures() []*CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures { if t == nil { - t = &GetEntitlementPlanFeatureByID_EntitlementPlanFeature{} + t = &CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature{} } - return &t.Feature + return t.EntitlementPlanFeatures } -type GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan struct { +type CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Plan struct { ID string "json:\"id\" graphql:\"id\"" Name string "json:\"name\" graphql:\"name\"" } -func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan) GetID() string { +func (t *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Plan) GetID() string { if t == nil { - t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan{} + t = &CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Plan{} } return t.ID } -func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan) GetName() string { +func (t *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Plan) GetName() string { if t == nil { - t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan{} + t = &CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Plan{} } return t.Name } -type GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature struct { +type CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Feature struct { ID string "json:\"id\" graphql:\"id\"" Name string "json:\"name\" graphql:\"name\"" } -func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature) GetID() string { +func (t *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Feature) GetID() string { if t == nil { - t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature{} + t = &CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Feature{} } return t.ID } -func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature) GetName() string { +func (t *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Feature) GetName() string { if t == nil { - t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature{} + t = &CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Feature{} } return t.Name } -type GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node struct { - ID string "json:\"id\" graphql:\"id\"" - Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" - Plan GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan "json:\"plan\" graphql:\"plan\"" - Feature GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature "json:\"feature\" graphql:\"feature\"" +type CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures struct { + ID string "json:\"id\" graphql:\"id\"" + Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" + Plan CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Plan "json:\"plan\" graphql:\"plan\"" + Feature CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Feature "json:\"feature\" graphql:\"feature\"" } -func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node) GetID() string { +func (t *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures) GetID() string { if t == nil { - t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node{} + t = &CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures{} } return t.ID } -func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node) GetMetadata() map[string]interface{} { +func (t *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures) GetMetadata() map[string]interface{} { if t == nil { - t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node{} + t = &CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures{} } return t.Metadata } -func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node) GetPlan() *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan { +func (t *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures) GetPlan() *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Plan { if t == nil { - t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node{} + t = &CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures{} } return &t.Plan } -func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node) GetFeature() *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature { +func (t *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures) GetFeature() *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Feature { if t == nil { - t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node{} + t = &CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures{} } return &t.Feature } -type GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges struct { - Node *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node "json:\"node,omitempty\" graphql:\"node\"" -} - -func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges) GetNode() *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node { - if t == nil { - t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges{} - } - return t.Node -} - -type GetEntitlementPlanFeatures_EntitlementPlanFeatures struct { - Edges []*GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges "json:\"edges,omitempty\" graphql:\"edges\"" +type CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature struct { + EntitlementPlanFeatures []*CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures "json:\"entitlementPlanFeatures,omitempty\" graphql:\"entitlementPlanFeatures\"" } -func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures) GetEdges() []*GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges { +func (t *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature) GetEntitlementPlanFeatures() []*CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures { if t == nil { - t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures{} + t = &CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature{} } - return t.Edges + return t.EntitlementPlanFeatures } type CreateEntitlementPlanFeature_CreateEntitlementPlanFeature_EntitlementPlanFeature_Plan struct { @@ -6227,162 +6137,263 @@ func (t *CreateEntitlementPlanFeature_CreateEntitlementPlanFeature) GetEntitleme return &t.EntitlementPlanFeature } -type CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Plan struct { +type DeleteEntitlementPlanFeature_DeleteEntitlementPlanFeature struct { + DeletedID string "json:\"deletedID\" graphql:\"deletedID\"" +} + +func (t *DeleteEntitlementPlanFeature_DeleteEntitlementPlanFeature) GetDeletedID() string { + if t == nil { + t = &DeleteEntitlementPlanFeature_DeleteEntitlementPlanFeature{} + } + return t.DeletedID +} + +type GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature struct { ID string "json:\"id\" graphql:\"id\"" Name string "json:\"name\" graphql:\"name\"" } -func (t *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Plan) GetID() string { +func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature) GetID() string { if t == nil { - t = &CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Plan{} + t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature{} } return t.ID } -func (t *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Plan) GetName() string { +func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature) GetName() string { if t == nil { - t = &CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Plan{} + t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature{} } return t.Name } -type CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Feature struct { +type GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan struct { ID string "json:\"id\" graphql:\"id\"" Name string "json:\"name\" graphql:\"name\"" } -func (t *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Feature) GetID() string { +func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan) GetID() string { if t == nil { - t = &CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Feature{} + t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan{} } return t.ID } -func (t *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Feature) GetName() string { +func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan) GetName() string { if t == nil { - t = &CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Feature{} + t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan{} } return t.Name } -type CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures struct { - ID string "json:\"id\" graphql:\"id\"" - Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" - Plan CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Plan "json:\"plan\" graphql:\"plan\"" - Feature CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Feature "json:\"feature\" graphql:\"feature\"" +type GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node struct { + ID string "json:\"id\" graphql:\"id\"" + Feature GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature "json:\"feature\" graphql:\"feature\"" + Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" + Plan GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan "json:\"plan\" graphql:\"plan\"" } -func (t *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures) GetID() string { +func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node) GetID() string { if t == nil { - t = &CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures{} + t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node{} } return t.ID } -func (t *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures) GetMetadata() map[string]interface{} { +func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node) GetFeature() *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature { if t == nil { - t = &CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures{} + t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node{} + } + return &t.Feature +} +func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node) GetMetadata() map[string]interface{} { + if t == nil { + t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node{} } return t.Metadata } -func (t *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures) GetPlan() *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Plan { +func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node) GetPlan() *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan { if t == nil { - t = &CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures{} + t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node{} } return &t.Plan } -func (t *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures) GetFeature() *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures_Feature { + +type GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges struct { + Node *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node "json:\"node,omitempty\" graphql:\"node\"" +} + +func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges) GetNode() *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node { if t == nil { - t = &CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures{} + t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges{} } - return &t.Feature + return t.Node } -type CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature struct { - EntitlementPlanFeatures []*CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures "json:\"entitlementPlanFeatures,omitempty\" graphql:\"entitlementPlanFeatures\"" +type GetAllEntitlementPlanFeatures_EntitlementPlanFeatures struct { + Edges []*GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges "json:\"edges,omitempty\" graphql:\"edges\"" } -func (t *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature) GetEntitlementPlanFeatures() []*CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature_EntitlementPlanFeatures { +func (t *GetAllEntitlementPlanFeatures_EntitlementPlanFeatures) GetEdges() []*GetAllEntitlementPlanFeatures_EntitlementPlanFeatures_Edges { if t == nil { - t = &CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature{} + t = &GetAllEntitlementPlanFeatures_EntitlementPlanFeatures{} } - return t.EntitlementPlanFeatures + return t.Edges } -type CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Plan struct { +type GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Plan struct { ID string "json:\"id\" graphql:\"id\"" Name string "json:\"name\" graphql:\"name\"" } -func (t *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Plan) GetID() string { +func (t *GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Plan) GetID() string { if t == nil { - t = &CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Plan{} + t = &GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Plan{} } return t.ID } -func (t *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Plan) GetName() string { +func (t *GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Plan) GetName() string { if t == nil { - t = &CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Plan{} + t = &GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Plan{} } return t.Name } -type CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Feature struct { +type GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Feature struct { ID string "json:\"id\" graphql:\"id\"" Name string "json:\"name\" graphql:\"name\"" } -func (t *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Feature) GetID() string { +func (t *GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Feature) GetID() string { if t == nil { - t = &CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Feature{} + t = &GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Feature{} } return t.ID } -func (t *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Feature) GetName() string { +func (t *GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Feature) GetName() string { if t == nil { - t = &CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Feature{} + t = &GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Feature{} } return t.Name } -type CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures struct { - ID string "json:\"id\" graphql:\"id\"" - Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" - Plan CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Plan "json:\"plan\" graphql:\"plan\"" - Feature CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Feature "json:\"feature\" graphql:\"feature\"" +type GetEntitlementPlanFeatureByID_EntitlementPlanFeature struct { + ID string "json:\"id\" graphql:\"id\"" + Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" + Plan GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Plan "json:\"plan\" graphql:\"plan\"" + Feature GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Feature "json:\"feature\" graphql:\"feature\"" } -func (t *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures) GetID() string { +func (t *GetEntitlementPlanFeatureByID_EntitlementPlanFeature) GetID() string { if t == nil { - t = &CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures{} + t = &GetEntitlementPlanFeatureByID_EntitlementPlanFeature{} } return t.ID } -func (t *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures) GetMetadata() map[string]interface{} { +func (t *GetEntitlementPlanFeatureByID_EntitlementPlanFeature) GetMetadata() map[string]interface{} { if t == nil { - t = &CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures{} + t = &GetEntitlementPlanFeatureByID_EntitlementPlanFeature{} } return t.Metadata } -func (t *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures) GetPlan() *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Plan { +func (t *GetEntitlementPlanFeatureByID_EntitlementPlanFeature) GetPlan() *GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Plan { if t == nil { - t = &CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures{} + t = &GetEntitlementPlanFeatureByID_EntitlementPlanFeature{} } return &t.Plan } -func (t *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures) GetFeature() *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures_Feature { +func (t *GetEntitlementPlanFeatureByID_EntitlementPlanFeature) GetFeature() *GetEntitlementPlanFeatureByID_EntitlementPlanFeature_Feature { if t == nil { - t = &CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures{} + t = &GetEntitlementPlanFeatureByID_EntitlementPlanFeature{} } return &t.Feature } -type CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature struct { - EntitlementPlanFeatures []*CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures "json:\"entitlementPlanFeatures,omitempty\" graphql:\"entitlementPlanFeatures\"" +type GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan struct { + ID string "json:\"id\" graphql:\"id\"" + Name string "json:\"name\" graphql:\"name\"" } -func (t *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature) GetEntitlementPlanFeatures() []*CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature_EntitlementPlanFeatures { +func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan) GetID() string { if t == nil { - t = &CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature{} + t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan{} } - return t.EntitlementPlanFeatures + return t.ID +} +func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan) GetName() string { + if t == nil { + t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan{} + } + return t.Name +} + +type GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature struct { + ID string "json:\"id\" graphql:\"id\"" + Name string "json:\"name\" graphql:\"name\"" +} + +func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature) GetID() string { + if t == nil { + t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature{} + } + return t.ID +} +func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature) GetName() string { + if t == nil { + t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature{} + } + return t.Name +} + +type GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node struct { + ID string "json:\"id\" graphql:\"id\"" + Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" + Plan GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan "json:\"plan\" graphql:\"plan\"" + Feature GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature "json:\"feature\" graphql:\"feature\"" +} + +func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node) GetID() string { + if t == nil { + t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node{} + } + return t.ID +} +func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node) GetMetadata() map[string]interface{} { + if t == nil { + t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node{} + } + return t.Metadata +} +func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node) GetPlan() *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Plan { + if t == nil { + t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node{} + } + return &t.Plan +} +func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node) GetFeature() *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node_Feature { + if t == nil { + t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node{} + } + return &t.Feature +} + +type GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges struct { + Node *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node "json:\"node,omitempty\" graphql:\"node\"" +} + +func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges) GetNode() *GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges_Node { + if t == nil { + t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges{} + } + return t.Node +} + +type GetEntitlementPlanFeatures_EntitlementPlanFeatures struct { + Edges []*GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges "json:\"edges,omitempty\" graphql:\"edges\"" +} + +func (t *GetEntitlementPlanFeatures_EntitlementPlanFeatures) GetEdges() []*GetEntitlementPlanFeatures_EntitlementPlanFeatures_Edges { + if t == nil { + t = &GetEntitlementPlanFeatures_EntitlementPlanFeatures{} + } + return t.Edges } type UpdateEntitlementPlanFeature_UpdateEntitlementPlanFeature_EntitlementPlanFeature_Plan struct { @@ -6464,17 +6475,6 @@ func (t *UpdateEntitlementPlanFeature_UpdateEntitlementPlanFeature) GetEntitleme return &t.EntitlementPlanFeature } -type DeleteEntitlementPlanFeature_DeleteEntitlementPlanFeature struct { - DeletedID string "json:\"deletedID\" graphql:\"deletedID\"" -} - -func (t *DeleteEntitlementPlanFeature_DeleteEntitlementPlanFeature) GetDeletedID() string { - if t == nil { - t = &DeleteEntitlementPlanFeature_DeleteEntitlementPlanFeature{} - } - return t.DeletedID -} - type GetAllEntitlementPlanFeatureHistories_EntitlementPlanFeatureHistories_Edges_Node struct { CreatedAt *time.Time "json:\"createdAt,omitempty\" graphql:\"createdAt\"" CreatedBy *string "json:\"createdBy,omitempty\" graphql:\"createdBy\"" @@ -9097,689 +9097,572 @@ func (t *GetEntityTypeHistories_EntityTypeHistories) GetEdges() []*GetEntityType return t.Edges } -type GetEvents_Events_Edges_Node struct { - EventID *string "json:\"eventID,omitempty\" graphql:\"eventID\"" - ID string "json:\"id\" graphql:\"id\"" - CorrelationID *string "json:\"correlationID,omitempty\" graphql:\"correlationID\"" - EventType string "json:\"eventType\" graphql:\"eventType\"" - Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" -} - -func (t *GetEvents_Events_Edges_Node) GetEventID() *string { - if t == nil { - t = &GetEvents_Events_Edges_Node{} - } - return t.EventID -} -func (t *GetEvents_Events_Edges_Node) GetID() string { - if t == nil { - t = &GetEvents_Events_Edges_Node{} - } - return t.ID -} -func (t *GetEvents_Events_Edges_Node) GetCorrelationID() *string { - if t == nil { - t = &GetEvents_Events_Edges_Node{} - } - return t.CorrelationID -} -func (t *GetEvents_Events_Edges_Node) GetEventType() string { - if t == nil { - t = &GetEvents_Events_Edges_Node{} - } - return t.EventType -} -func (t *GetEvents_Events_Edges_Node) GetMetadata() map[string]interface{} { - if t == nil { - t = &GetEvents_Events_Edges_Node{} - } - return t.Metadata -} - -type GetEvents_Events_Edges struct { - Node *GetEvents_Events_Edges_Node "json:\"node,omitempty\" graphql:\"node\"" -} - -func (t *GetEvents_Events_Edges) GetNode() *GetEvents_Events_Edges_Node { - if t == nil { - t = &GetEvents_Events_Edges{} - } - return t.Node -} - -type GetEvents_Events struct { - Edges []*GetEvents_Events_Edges "json:\"edges,omitempty\" graphql:\"edges\"" -} - -func (t *GetEvents_Events) GetEdges() []*GetEvents_Events_Edges { - if t == nil { - t = &GetEvents_Events{} - } - return t.Edges -} - -type GetEventByID_Event_User struct { +type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_User struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetEventByID_Event_User) GetID() string { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_User) GetID() string { if t == nil { - t = &GetEventByID_Event_User{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_User{} } return t.ID } -type GetEventByID_Event_Group struct { +type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Group struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetEventByID_Event_Group) GetID() string { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Group) GetID() string { if t == nil { - t = &GetEventByID_Event_Group{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Group{} } return t.ID } -type GetEventByID_Event_Integration struct { +type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Integration struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetEventByID_Event_Integration) GetID() string { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Integration) GetID() string { if t == nil { - t = &GetEventByID_Event_Integration{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Integration{} } return t.ID } -type GetEventByID_Event_Organization struct { +type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Organization struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetEventByID_Event_Organization) GetID() string { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Organization) GetID() string { if t == nil { - t = &GetEventByID_Event_Organization{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Organization{} } return t.ID } -type GetEventByID_Event_Invite struct { +type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Invite struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetEventByID_Event_Invite) GetID() string { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Invite) GetID() string { if t == nil { - t = &GetEventByID_Event_Invite{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Invite{} } return t.ID } -type GetEventByID_Event_Feature struct { +type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Feature struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetEventByID_Event_Feature) GetID() string { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Feature) GetID() string { if t == nil { - t = &GetEventByID_Event_Feature{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Feature{} } return t.ID } -type GetEventByID_Event_PersonalAccessToken struct { +type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_PersonalAccessToken struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetEventByID_Event_PersonalAccessToken) GetID() string { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_PersonalAccessToken) GetID() string { if t == nil { - t = &GetEventByID_Event_PersonalAccessToken{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_PersonalAccessToken{} } return t.ID } -type GetEventByID_Event_Oauth2token struct { +type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Oauth2token struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetEventByID_Event_Oauth2token) GetID() string { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Oauth2token) GetID() string { if t == nil { - t = &GetEventByID_Event_Oauth2token{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Oauth2token{} } return t.ID } -type GetEventByID_Event_Hush struct { +type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Hush struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetEventByID_Event_Hush) GetID() string { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Hush) GetID() string { if t == nil { - t = &GetEventByID_Event_Hush{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Hush{} } return t.ID } -type GetEventByID_Event_Orgmembership struct { +type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Orgmembership struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetEventByID_Event_Orgmembership) GetID() string { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Orgmembership) GetID() string { if t == nil { - t = &GetEventByID_Event_Orgmembership{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Orgmembership{} } return t.ID } -type GetEventByID_Event_Groupmembership struct { +type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Groupmembership struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetEventByID_Event_Groupmembership) GetID() string { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Groupmembership) GetID() string { if t == nil { - t = &GetEventByID_Event_Groupmembership{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Groupmembership{} } return t.ID } -type GetEventByID_Event_Entitlement struct { +type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Entitlement struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetEventByID_Event_Entitlement) GetID() string { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Entitlement) GetID() string { if t == nil { - t = &GetEventByID_Event_Entitlement{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Entitlement{} } return t.ID } -type GetEventByID_Event_Webhook struct { +type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Webhook struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetEventByID_Event_Webhook) GetID() string { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Webhook) GetID() string { if t == nil { - t = &GetEventByID_Event_Webhook{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Webhook{} } return t.ID } -type GetEventByID_Event struct { - ID string "json:\"id\" graphql:\"id\"" - CreatedAt *time.Time "json:\"createdAt,omitempty\" graphql:\"createdAt\"" - UpdatedAt *time.Time "json:\"updatedAt,omitempty\" graphql:\"updatedAt\"" - CreatedBy *string "json:\"createdBy,omitempty\" graphql:\"createdBy\"" - UpdatedBy *string "json:\"updatedBy,omitempty\" graphql:\"updatedBy\"" - EventID *string "json:\"eventID,omitempty\" graphql:\"eventID\"" - CorrelationID *string "json:\"correlationID,omitempty\" graphql:\"correlationID\"" - EventType string "json:\"eventType\" graphql:\"eventType\"" - Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" - User []*GetEventByID_Event_User "json:\"user,omitempty\" graphql:\"user\"" - Group []*GetEventByID_Event_Group "json:\"group,omitempty\" graphql:\"group\"" - Integration []*GetEventByID_Event_Integration "json:\"integration,omitempty\" graphql:\"integration\"" - Organization []*GetEventByID_Event_Organization "json:\"organization,omitempty\" graphql:\"organization\"" - Invite []*GetEventByID_Event_Invite "json:\"invite,omitempty\" graphql:\"invite\"" - Feature []*GetEventByID_Event_Feature "json:\"feature,omitempty\" graphql:\"feature\"" - PersonalAccessToken []*GetEventByID_Event_PersonalAccessToken "json:\"personalAccessToken,omitempty\" graphql:\"personalAccessToken\"" - Oauth2token []*GetEventByID_Event_Oauth2token "json:\"oauth2token,omitempty\" graphql:\"oauth2token\"" - Hush []*GetEventByID_Event_Hush "json:\"hush,omitempty\" graphql:\"hush\"" - Orgmembership []*GetEventByID_Event_Orgmembership "json:\"orgmembership,omitempty\" graphql:\"orgmembership\"" - Groupmembership []*GetEventByID_Event_Groupmembership "json:\"groupmembership,omitempty\" graphql:\"groupmembership\"" - Entitlement []*GetEventByID_Event_Entitlement "json:\"entitlement,omitempty\" graphql:\"entitlement\"" - Webhook []*GetEventByID_Event_Webhook "json:\"webhook,omitempty\" graphql:\"webhook\"" +type CreateBulkCSVEvent_CreateBulkCSVEvent_Events struct { + ID string "json:\"id\" graphql:\"id\"" + EventID *string "json:\"eventID,omitempty\" graphql:\"eventID\"" + CorrelationID *string "json:\"correlationID,omitempty\" graphql:\"correlationID\"" + EventType string "json:\"eventType\" graphql:\"eventType\"" + Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" + User []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_User "json:\"user,omitempty\" graphql:\"user\"" + Group []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Group "json:\"group,omitempty\" graphql:\"group\"" + Integration []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Integration "json:\"integration,omitempty\" graphql:\"integration\"" + Organization []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Organization "json:\"organization,omitempty\" graphql:\"organization\"" + Invite []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Invite "json:\"invite,omitempty\" graphql:\"invite\"" + Feature []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Feature "json:\"feature,omitempty\" graphql:\"feature\"" + PersonalAccessToken []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_PersonalAccessToken "json:\"personalAccessToken,omitempty\" graphql:\"personalAccessToken\"" + Oauth2token []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Oauth2token "json:\"oauth2token,omitempty\" graphql:\"oauth2token\"" + Hush []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Hush "json:\"hush,omitempty\" graphql:\"hush\"" + Orgmembership []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Orgmembership "json:\"orgmembership,omitempty\" graphql:\"orgmembership\"" + Groupmembership []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Groupmembership "json:\"groupmembership,omitempty\" graphql:\"groupmembership\"" + Entitlement []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Entitlement "json:\"entitlement,omitempty\" graphql:\"entitlement\"" + Webhook []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Webhook "json:\"webhook,omitempty\" graphql:\"webhook\"" } -func (t *GetEventByID_Event) GetID() string { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetID() string { if t == nil { - t = &GetEventByID_Event{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} } return t.ID } -func (t *GetEventByID_Event) GetCreatedAt() *time.Time { - if t == nil { - t = &GetEventByID_Event{} - } - return t.CreatedAt -} -func (t *GetEventByID_Event) GetUpdatedAt() *time.Time { - if t == nil { - t = &GetEventByID_Event{} - } - return t.UpdatedAt -} -func (t *GetEventByID_Event) GetCreatedBy() *string { - if t == nil { - t = &GetEventByID_Event{} - } - return t.CreatedBy -} -func (t *GetEventByID_Event) GetUpdatedBy() *string { - if t == nil { - t = &GetEventByID_Event{} - } - return t.UpdatedBy -} -func (t *GetEventByID_Event) GetEventID() *string { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetEventID() *string { if t == nil { - t = &GetEventByID_Event{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} } return t.EventID } -func (t *GetEventByID_Event) GetCorrelationID() *string { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetCorrelationID() *string { if t == nil { - t = &GetEventByID_Event{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} } return t.CorrelationID } -func (t *GetEventByID_Event) GetEventType() string { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetEventType() string { if t == nil { - t = &GetEventByID_Event{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} } return t.EventType } -func (t *GetEventByID_Event) GetMetadata() map[string]interface{} { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetMetadata() map[string]interface{} { if t == nil { - t = &GetEventByID_Event{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} } return t.Metadata } -func (t *GetEventByID_Event) GetUser() []*GetEventByID_Event_User { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetUser() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_User { if t == nil { - t = &GetEventByID_Event{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} } return t.User } -func (t *GetEventByID_Event) GetGroup() []*GetEventByID_Event_Group { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetGroup() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Group { if t == nil { - t = &GetEventByID_Event{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} } return t.Group } -func (t *GetEventByID_Event) GetIntegration() []*GetEventByID_Event_Integration { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetIntegration() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Integration { if t == nil { - t = &GetEventByID_Event{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} } return t.Integration } -func (t *GetEventByID_Event) GetOrganization() []*GetEventByID_Event_Organization { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetOrganization() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Organization { if t == nil { - t = &GetEventByID_Event{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} } return t.Organization } -func (t *GetEventByID_Event) GetInvite() []*GetEventByID_Event_Invite { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetInvite() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Invite { if t == nil { - t = &GetEventByID_Event{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} } return t.Invite } -func (t *GetEventByID_Event) GetFeature() []*GetEventByID_Event_Feature { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetFeature() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Feature { if t == nil { - t = &GetEventByID_Event{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} } return t.Feature } -func (t *GetEventByID_Event) GetPersonalAccessToken() []*GetEventByID_Event_PersonalAccessToken { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetPersonalAccessToken() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_PersonalAccessToken { if t == nil { - t = &GetEventByID_Event{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} } return t.PersonalAccessToken } -func (t *GetEventByID_Event) GetOauth2token() []*GetEventByID_Event_Oauth2token { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetOauth2token() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Oauth2token { if t == nil { - t = &GetEventByID_Event{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} } return t.Oauth2token } -func (t *GetEventByID_Event) GetHush() []*GetEventByID_Event_Hush { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetHush() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Hush { if t == nil { - t = &GetEventByID_Event{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} } return t.Hush } -func (t *GetEventByID_Event) GetOrgmembership() []*GetEventByID_Event_Orgmembership { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetOrgmembership() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Orgmembership { if t == nil { - t = &GetEventByID_Event{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} } return t.Orgmembership } -func (t *GetEventByID_Event) GetGroupmembership() []*GetEventByID_Event_Groupmembership { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetGroupmembership() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Groupmembership { if t == nil { - t = &GetEventByID_Event{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} } return t.Groupmembership } -func (t *GetEventByID_Event) GetEntitlement() []*GetEventByID_Event_Entitlement { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetEntitlement() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Entitlement { if t == nil { - t = &GetEventByID_Event{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} } return t.Entitlement } -func (t *GetEventByID_Event) GetWebhook() []*GetEventByID_Event_Webhook { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetWebhook() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Webhook { if t == nil { - t = &GetEventByID_Event{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} } return t.Webhook } -type GetAllEvents_Events_Edges_Node_User struct { - ID string "json:\"id\" graphql:\"id\"" +type CreateBulkCSVEvent_CreateBulkCSVEvent struct { + Events []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events "json:\"events,omitempty\" graphql:\"events\"" } -func (t *GetAllEvents_Events_Edges_Node_User) GetID() string { +func (t *CreateBulkCSVEvent_CreateBulkCSVEvent) GetEvents() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events { if t == nil { - t = &GetAllEvents_Events_Edges_Node_User{} + t = &CreateBulkCSVEvent_CreateBulkCSVEvent{} } - return t.ID + return t.Events } -type GetAllEvents_Events_Edges_Node_Group struct { +type CreateBulkEvent_CreateBulkEvent_Events_User struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetAllEvents_Events_Edges_Node_Group) GetID() string { +func (t *CreateBulkEvent_CreateBulkEvent_Events_User) GetID() string { if t == nil { - t = &GetAllEvents_Events_Edges_Node_Group{} + t = &CreateBulkEvent_CreateBulkEvent_Events_User{} } return t.ID } -type GetAllEvents_Events_Edges_Node_Integration struct { +type CreateBulkEvent_CreateBulkEvent_Events_Group struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetAllEvents_Events_Edges_Node_Integration) GetID() string { +func (t *CreateBulkEvent_CreateBulkEvent_Events_Group) GetID() string { if t == nil { - t = &GetAllEvents_Events_Edges_Node_Integration{} + t = &CreateBulkEvent_CreateBulkEvent_Events_Group{} } return t.ID } -type GetAllEvents_Events_Edges_Node_Organization struct { +type CreateBulkEvent_CreateBulkEvent_Events_Integration struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetAllEvents_Events_Edges_Node_Organization) GetID() string { +func (t *CreateBulkEvent_CreateBulkEvent_Events_Integration) GetID() string { if t == nil { - t = &GetAllEvents_Events_Edges_Node_Organization{} + t = &CreateBulkEvent_CreateBulkEvent_Events_Integration{} } return t.ID } -type GetAllEvents_Events_Edges_Node_Invite struct { +type CreateBulkEvent_CreateBulkEvent_Events_Organization struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetAllEvents_Events_Edges_Node_Invite) GetID() string { +func (t *CreateBulkEvent_CreateBulkEvent_Events_Organization) GetID() string { if t == nil { - t = &GetAllEvents_Events_Edges_Node_Invite{} + t = &CreateBulkEvent_CreateBulkEvent_Events_Organization{} } return t.ID } -type GetAllEvents_Events_Edges_Node_Feature struct { +type CreateBulkEvent_CreateBulkEvent_Events_Invite struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetAllEvents_Events_Edges_Node_Feature) GetID() string { +func (t *CreateBulkEvent_CreateBulkEvent_Events_Invite) GetID() string { if t == nil { - t = &GetAllEvents_Events_Edges_Node_Feature{} + t = &CreateBulkEvent_CreateBulkEvent_Events_Invite{} } return t.ID } -type GetAllEvents_Events_Edges_Node_PersonalAccessToken struct { +type CreateBulkEvent_CreateBulkEvent_Events_Feature struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetAllEvents_Events_Edges_Node_PersonalAccessToken) GetID() string { +func (t *CreateBulkEvent_CreateBulkEvent_Events_Feature) GetID() string { if t == nil { - t = &GetAllEvents_Events_Edges_Node_PersonalAccessToken{} + t = &CreateBulkEvent_CreateBulkEvent_Events_Feature{} } return t.ID } -type GetAllEvents_Events_Edges_Node_Oauth2token struct { +type CreateBulkEvent_CreateBulkEvent_Events_PersonalAccessToken struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetAllEvents_Events_Edges_Node_Oauth2token) GetID() string { +func (t *CreateBulkEvent_CreateBulkEvent_Events_PersonalAccessToken) GetID() string { if t == nil { - t = &GetAllEvents_Events_Edges_Node_Oauth2token{} + t = &CreateBulkEvent_CreateBulkEvent_Events_PersonalAccessToken{} } return t.ID } -type GetAllEvents_Events_Edges_Node_Hush struct { +type CreateBulkEvent_CreateBulkEvent_Events_Oauth2token struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetAllEvents_Events_Edges_Node_Hush) GetID() string { +func (t *CreateBulkEvent_CreateBulkEvent_Events_Oauth2token) GetID() string { if t == nil { - t = &GetAllEvents_Events_Edges_Node_Hush{} + t = &CreateBulkEvent_CreateBulkEvent_Events_Oauth2token{} } return t.ID } -type GetAllEvents_Events_Edges_Node_Orgmembership struct { +type CreateBulkEvent_CreateBulkEvent_Events_Hush struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetAllEvents_Events_Edges_Node_Orgmembership) GetID() string { +func (t *CreateBulkEvent_CreateBulkEvent_Events_Hush) GetID() string { if t == nil { - t = &GetAllEvents_Events_Edges_Node_Orgmembership{} + t = &CreateBulkEvent_CreateBulkEvent_Events_Hush{} } return t.ID } -type GetAllEvents_Events_Edges_Node_Groupmembership struct { +type CreateBulkEvent_CreateBulkEvent_Events_Orgmembership struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetAllEvents_Events_Edges_Node_Groupmembership) GetID() string { +func (t *CreateBulkEvent_CreateBulkEvent_Events_Orgmembership) GetID() string { if t == nil { - t = &GetAllEvents_Events_Edges_Node_Groupmembership{} + t = &CreateBulkEvent_CreateBulkEvent_Events_Orgmembership{} } return t.ID } -type GetAllEvents_Events_Edges_Node_Entitlement struct { +type CreateBulkEvent_CreateBulkEvent_Events_Groupmembership struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetAllEvents_Events_Edges_Node_Entitlement) GetID() string { +func (t *CreateBulkEvent_CreateBulkEvent_Events_Groupmembership) GetID() string { if t == nil { - t = &GetAllEvents_Events_Edges_Node_Entitlement{} + t = &CreateBulkEvent_CreateBulkEvent_Events_Groupmembership{} } return t.ID } -type GetAllEvents_Events_Edges_Node_Webhook struct { +type CreateBulkEvent_CreateBulkEvent_Events_Entitlement struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *GetAllEvents_Events_Edges_Node_Webhook) GetID() string { +func (t *CreateBulkEvent_CreateBulkEvent_Events_Entitlement) GetID() string { if t == nil { - t = &GetAllEvents_Events_Edges_Node_Webhook{} + t = &CreateBulkEvent_CreateBulkEvent_Events_Entitlement{} } return t.ID } -type GetAllEvents_Events_Edges_Node struct { - ID string "json:\"id\" graphql:\"id\"" - CreatedAt *time.Time "json:\"createdAt,omitempty\" graphql:\"createdAt\"" - UpdatedAt *time.Time "json:\"updatedAt,omitempty\" graphql:\"updatedAt\"" - CreatedBy *string "json:\"createdBy,omitempty\" graphql:\"createdBy\"" - UpdatedBy *string "json:\"updatedBy,omitempty\" graphql:\"updatedBy\"" - EventID *string "json:\"eventID,omitempty\" graphql:\"eventID\"" - CorrelationID *string "json:\"correlationID,omitempty\" graphql:\"correlationID\"" - EventType string "json:\"eventType\" graphql:\"eventType\"" - Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" - User []*GetAllEvents_Events_Edges_Node_User "json:\"user,omitempty\" graphql:\"user\"" - Group []*GetAllEvents_Events_Edges_Node_Group "json:\"group,omitempty\" graphql:\"group\"" - Integration []*GetAllEvents_Events_Edges_Node_Integration "json:\"integration,omitempty\" graphql:\"integration\"" - Organization []*GetAllEvents_Events_Edges_Node_Organization "json:\"organization,omitempty\" graphql:\"organization\"" - Invite []*GetAllEvents_Events_Edges_Node_Invite "json:\"invite,omitempty\" graphql:\"invite\"" - Feature []*GetAllEvents_Events_Edges_Node_Feature "json:\"feature,omitempty\" graphql:\"feature\"" - PersonalAccessToken []*GetAllEvents_Events_Edges_Node_PersonalAccessToken "json:\"personalAccessToken,omitempty\" graphql:\"personalAccessToken\"" - Oauth2token []*GetAllEvents_Events_Edges_Node_Oauth2token "json:\"oauth2token,omitempty\" graphql:\"oauth2token\"" - Hush []*GetAllEvents_Events_Edges_Node_Hush "json:\"hush,omitempty\" graphql:\"hush\"" - Orgmembership []*GetAllEvents_Events_Edges_Node_Orgmembership "json:\"orgmembership,omitempty\" graphql:\"orgmembership\"" - Groupmembership []*GetAllEvents_Events_Edges_Node_Groupmembership "json:\"groupmembership,omitempty\" graphql:\"groupmembership\"" - Entitlement []*GetAllEvents_Events_Edges_Node_Entitlement "json:\"entitlement,omitempty\" graphql:\"entitlement\"" - Webhook []*GetAllEvents_Events_Edges_Node_Webhook "json:\"webhook,omitempty\" graphql:\"webhook\"" +type CreateBulkEvent_CreateBulkEvent_Events_Webhook struct { + ID string "json:\"id\" graphql:\"id\"" } -func (t *GetAllEvents_Events_Edges_Node) GetID() string { +func (t *CreateBulkEvent_CreateBulkEvent_Events_Webhook) GetID() string { if t == nil { - t = &GetAllEvents_Events_Edges_Node{} + t = &CreateBulkEvent_CreateBulkEvent_Events_Webhook{} } return t.ID } -func (t *GetAllEvents_Events_Edges_Node) GetCreatedAt() *time.Time { - if t == nil { - t = &GetAllEvents_Events_Edges_Node{} - } - return t.CreatedAt -} -func (t *GetAllEvents_Events_Edges_Node) GetUpdatedAt() *time.Time { - if t == nil { - t = &GetAllEvents_Events_Edges_Node{} - } - return t.UpdatedAt -} -func (t *GetAllEvents_Events_Edges_Node) GetCreatedBy() *string { - if t == nil { - t = &GetAllEvents_Events_Edges_Node{} - } - return t.CreatedBy + +type CreateBulkEvent_CreateBulkEvent_Events struct { + ID string "json:\"id\" graphql:\"id\"" + EventID *string "json:\"eventID,omitempty\" graphql:\"eventID\"" + CorrelationID *string "json:\"correlationID,omitempty\" graphql:\"correlationID\"" + EventType string "json:\"eventType\" graphql:\"eventType\"" + Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" + User []*CreateBulkEvent_CreateBulkEvent_Events_User "json:\"user,omitempty\" graphql:\"user\"" + Group []*CreateBulkEvent_CreateBulkEvent_Events_Group "json:\"group,omitempty\" graphql:\"group\"" + Integration []*CreateBulkEvent_CreateBulkEvent_Events_Integration "json:\"integration,omitempty\" graphql:\"integration\"" + Organization []*CreateBulkEvent_CreateBulkEvent_Events_Organization "json:\"organization,omitempty\" graphql:\"organization\"" + Invite []*CreateBulkEvent_CreateBulkEvent_Events_Invite "json:\"invite,omitempty\" graphql:\"invite\"" + Feature []*CreateBulkEvent_CreateBulkEvent_Events_Feature "json:\"feature,omitempty\" graphql:\"feature\"" + PersonalAccessToken []*CreateBulkEvent_CreateBulkEvent_Events_PersonalAccessToken "json:\"personalAccessToken,omitempty\" graphql:\"personalAccessToken\"" + Oauth2token []*CreateBulkEvent_CreateBulkEvent_Events_Oauth2token "json:\"oauth2token,omitempty\" graphql:\"oauth2token\"" + Hush []*CreateBulkEvent_CreateBulkEvent_Events_Hush "json:\"hush,omitempty\" graphql:\"hush\"" + Orgmembership []*CreateBulkEvent_CreateBulkEvent_Events_Orgmembership "json:\"orgmembership,omitempty\" graphql:\"orgmembership\"" + Groupmembership []*CreateBulkEvent_CreateBulkEvent_Events_Groupmembership "json:\"groupmembership,omitempty\" graphql:\"groupmembership\"" + Entitlement []*CreateBulkEvent_CreateBulkEvent_Events_Entitlement "json:\"entitlement,omitempty\" graphql:\"entitlement\"" + Webhook []*CreateBulkEvent_CreateBulkEvent_Events_Webhook "json:\"webhook,omitempty\" graphql:\"webhook\"" } -func (t *GetAllEvents_Events_Edges_Node) GetUpdatedBy() *string { + +func (t *CreateBulkEvent_CreateBulkEvent_Events) GetID() string { if t == nil { - t = &GetAllEvents_Events_Edges_Node{} + t = &CreateBulkEvent_CreateBulkEvent_Events{} } - return t.UpdatedBy + return t.ID } -func (t *GetAllEvents_Events_Edges_Node) GetEventID() *string { +func (t *CreateBulkEvent_CreateBulkEvent_Events) GetEventID() *string { if t == nil { - t = &GetAllEvents_Events_Edges_Node{} + t = &CreateBulkEvent_CreateBulkEvent_Events{} } return t.EventID } -func (t *GetAllEvents_Events_Edges_Node) GetCorrelationID() *string { +func (t *CreateBulkEvent_CreateBulkEvent_Events) GetCorrelationID() *string { if t == nil { - t = &GetAllEvents_Events_Edges_Node{} + t = &CreateBulkEvent_CreateBulkEvent_Events{} } return t.CorrelationID } -func (t *GetAllEvents_Events_Edges_Node) GetEventType() string { +func (t *CreateBulkEvent_CreateBulkEvent_Events) GetEventType() string { if t == nil { - t = &GetAllEvents_Events_Edges_Node{} + t = &CreateBulkEvent_CreateBulkEvent_Events{} } return t.EventType } -func (t *GetAllEvents_Events_Edges_Node) GetMetadata() map[string]interface{} { +func (t *CreateBulkEvent_CreateBulkEvent_Events) GetMetadata() map[string]interface{} { if t == nil { - t = &GetAllEvents_Events_Edges_Node{} + t = &CreateBulkEvent_CreateBulkEvent_Events{} } return t.Metadata } -func (t *GetAllEvents_Events_Edges_Node) GetUser() []*GetAllEvents_Events_Edges_Node_User { +func (t *CreateBulkEvent_CreateBulkEvent_Events) GetUser() []*CreateBulkEvent_CreateBulkEvent_Events_User { if t == nil { - t = &GetAllEvents_Events_Edges_Node{} + t = &CreateBulkEvent_CreateBulkEvent_Events{} } return t.User } -func (t *GetAllEvents_Events_Edges_Node) GetGroup() []*GetAllEvents_Events_Edges_Node_Group { +func (t *CreateBulkEvent_CreateBulkEvent_Events) GetGroup() []*CreateBulkEvent_CreateBulkEvent_Events_Group { if t == nil { - t = &GetAllEvents_Events_Edges_Node{} + t = &CreateBulkEvent_CreateBulkEvent_Events{} } return t.Group } -func (t *GetAllEvents_Events_Edges_Node) GetIntegration() []*GetAllEvents_Events_Edges_Node_Integration { +func (t *CreateBulkEvent_CreateBulkEvent_Events) GetIntegration() []*CreateBulkEvent_CreateBulkEvent_Events_Integration { if t == nil { - t = &GetAllEvents_Events_Edges_Node{} + t = &CreateBulkEvent_CreateBulkEvent_Events{} } return t.Integration } -func (t *GetAllEvents_Events_Edges_Node) GetOrganization() []*GetAllEvents_Events_Edges_Node_Organization { +func (t *CreateBulkEvent_CreateBulkEvent_Events) GetOrganization() []*CreateBulkEvent_CreateBulkEvent_Events_Organization { if t == nil { - t = &GetAllEvents_Events_Edges_Node{} + t = &CreateBulkEvent_CreateBulkEvent_Events{} } return t.Organization } -func (t *GetAllEvents_Events_Edges_Node) GetInvite() []*GetAllEvents_Events_Edges_Node_Invite { +func (t *CreateBulkEvent_CreateBulkEvent_Events) GetInvite() []*CreateBulkEvent_CreateBulkEvent_Events_Invite { if t == nil { - t = &GetAllEvents_Events_Edges_Node{} + t = &CreateBulkEvent_CreateBulkEvent_Events{} } return t.Invite } -func (t *GetAllEvents_Events_Edges_Node) GetFeature() []*GetAllEvents_Events_Edges_Node_Feature { +func (t *CreateBulkEvent_CreateBulkEvent_Events) GetFeature() []*CreateBulkEvent_CreateBulkEvent_Events_Feature { if t == nil { - t = &GetAllEvents_Events_Edges_Node{} + t = &CreateBulkEvent_CreateBulkEvent_Events{} } return t.Feature } -func (t *GetAllEvents_Events_Edges_Node) GetPersonalAccessToken() []*GetAllEvents_Events_Edges_Node_PersonalAccessToken { +func (t *CreateBulkEvent_CreateBulkEvent_Events) GetPersonalAccessToken() []*CreateBulkEvent_CreateBulkEvent_Events_PersonalAccessToken { if t == nil { - t = &GetAllEvents_Events_Edges_Node{} + t = &CreateBulkEvent_CreateBulkEvent_Events{} } return t.PersonalAccessToken } -func (t *GetAllEvents_Events_Edges_Node) GetOauth2token() []*GetAllEvents_Events_Edges_Node_Oauth2token { +func (t *CreateBulkEvent_CreateBulkEvent_Events) GetOauth2token() []*CreateBulkEvent_CreateBulkEvent_Events_Oauth2token { if t == nil { - t = &GetAllEvents_Events_Edges_Node{} + t = &CreateBulkEvent_CreateBulkEvent_Events{} } return t.Oauth2token } -func (t *GetAllEvents_Events_Edges_Node) GetHush() []*GetAllEvents_Events_Edges_Node_Hush { +func (t *CreateBulkEvent_CreateBulkEvent_Events) GetHush() []*CreateBulkEvent_CreateBulkEvent_Events_Hush { if t == nil { - t = &GetAllEvents_Events_Edges_Node{} + t = &CreateBulkEvent_CreateBulkEvent_Events{} } return t.Hush } -func (t *GetAllEvents_Events_Edges_Node) GetOrgmembership() []*GetAllEvents_Events_Edges_Node_Orgmembership { +func (t *CreateBulkEvent_CreateBulkEvent_Events) GetOrgmembership() []*CreateBulkEvent_CreateBulkEvent_Events_Orgmembership { if t == nil { - t = &GetAllEvents_Events_Edges_Node{} + t = &CreateBulkEvent_CreateBulkEvent_Events{} } return t.Orgmembership } -func (t *GetAllEvents_Events_Edges_Node) GetGroupmembership() []*GetAllEvents_Events_Edges_Node_Groupmembership { +func (t *CreateBulkEvent_CreateBulkEvent_Events) GetGroupmembership() []*CreateBulkEvent_CreateBulkEvent_Events_Groupmembership { if t == nil { - t = &GetAllEvents_Events_Edges_Node{} + t = &CreateBulkEvent_CreateBulkEvent_Events{} } return t.Groupmembership } -func (t *GetAllEvents_Events_Edges_Node) GetEntitlement() []*GetAllEvents_Events_Edges_Node_Entitlement { +func (t *CreateBulkEvent_CreateBulkEvent_Events) GetEntitlement() []*CreateBulkEvent_CreateBulkEvent_Events_Entitlement { if t == nil { - t = &GetAllEvents_Events_Edges_Node{} + t = &CreateBulkEvent_CreateBulkEvent_Events{} } return t.Entitlement } -func (t *GetAllEvents_Events_Edges_Node) GetWebhook() []*GetAllEvents_Events_Edges_Node_Webhook { +func (t *CreateBulkEvent_CreateBulkEvent_Events) GetWebhook() []*CreateBulkEvent_CreateBulkEvent_Events_Webhook { if t == nil { - t = &GetAllEvents_Events_Edges_Node{} + t = &CreateBulkEvent_CreateBulkEvent_Events{} } return t.Webhook } -type GetAllEvents_Events_Edges struct { - Node *GetAllEvents_Events_Edges_Node "json:\"node,omitempty\" graphql:\"node\"" -} - -func (t *GetAllEvents_Events_Edges) GetNode() *GetAllEvents_Events_Edges_Node { - if t == nil { - t = &GetAllEvents_Events_Edges{} - } - return t.Node -} - -type GetAllEvents_Events struct { - Edges []*GetAllEvents_Events_Edges "json:\"edges,omitempty\" graphql:\"edges\"" +type CreateBulkEvent_CreateBulkEvent struct { + Events []*CreateBulkEvent_CreateBulkEvent_Events "json:\"events,omitempty\" graphql:\"events\"" } -func (t *GetAllEvents_Events) GetEdges() []*GetAllEvents_Events_Edges { +func (t *CreateBulkEvent_CreateBulkEvent) GetEvents() []*CreateBulkEvent_CreateBulkEvent_Events { if t == nil { - t = &GetAllEvents_Events{} + t = &CreateBulkEvent_CreateBulkEvent{} } - return t.Edges + return t.Events } type CreateEvent_CreateEvent_Event_User struct { @@ -10066,572 +9949,700 @@ func (t *CreateEvent_CreateEvent) GetEvent() *CreateEvent_CreateEvent_Event { return &t.Event } -type CreateBulkEvent_CreateBulkEvent_Events_User struct { +type DeleteEvent_DeleteEvent struct { + DeletedID string "json:\"deletedID\" graphql:\"deletedID\"" +} + +func (t *DeleteEvent_DeleteEvent) GetDeletedID() string { + if t == nil { + t = &DeleteEvent_DeleteEvent{} + } + return t.DeletedID +} + +type GetAllEvents_Events_Edges_Node_User struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkEvent_CreateBulkEvent_Events_User) GetID() string { +func (t *GetAllEvents_Events_Edges_Node_User) GetID() string { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events_User{} + t = &GetAllEvents_Events_Edges_Node_User{} } return t.ID } -type CreateBulkEvent_CreateBulkEvent_Events_Group struct { +type GetAllEvents_Events_Edges_Node_Group struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkEvent_CreateBulkEvent_Events_Group) GetID() string { +func (t *GetAllEvents_Events_Edges_Node_Group) GetID() string { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events_Group{} + t = &GetAllEvents_Events_Edges_Node_Group{} } return t.ID } -type CreateBulkEvent_CreateBulkEvent_Events_Integration struct { +type GetAllEvents_Events_Edges_Node_Integration struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkEvent_CreateBulkEvent_Events_Integration) GetID() string { +func (t *GetAllEvents_Events_Edges_Node_Integration) GetID() string { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events_Integration{} + t = &GetAllEvents_Events_Edges_Node_Integration{} } return t.ID } -type CreateBulkEvent_CreateBulkEvent_Events_Organization struct { +type GetAllEvents_Events_Edges_Node_Organization struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkEvent_CreateBulkEvent_Events_Organization) GetID() string { +func (t *GetAllEvents_Events_Edges_Node_Organization) GetID() string { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events_Organization{} + t = &GetAllEvents_Events_Edges_Node_Organization{} } return t.ID } -type CreateBulkEvent_CreateBulkEvent_Events_Invite struct { +type GetAllEvents_Events_Edges_Node_Invite struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkEvent_CreateBulkEvent_Events_Invite) GetID() string { +func (t *GetAllEvents_Events_Edges_Node_Invite) GetID() string { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events_Invite{} + t = &GetAllEvents_Events_Edges_Node_Invite{} } return t.ID } -type CreateBulkEvent_CreateBulkEvent_Events_Feature struct { +type GetAllEvents_Events_Edges_Node_Feature struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkEvent_CreateBulkEvent_Events_Feature) GetID() string { +func (t *GetAllEvents_Events_Edges_Node_Feature) GetID() string { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events_Feature{} + t = &GetAllEvents_Events_Edges_Node_Feature{} } return t.ID } -type CreateBulkEvent_CreateBulkEvent_Events_PersonalAccessToken struct { +type GetAllEvents_Events_Edges_Node_PersonalAccessToken struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkEvent_CreateBulkEvent_Events_PersonalAccessToken) GetID() string { +func (t *GetAllEvents_Events_Edges_Node_PersonalAccessToken) GetID() string { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events_PersonalAccessToken{} + t = &GetAllEvents_Events_Edges_Node_PersonalAccessToken{} } return t.ID } -type CreateBulkEvent_CreateBulkEvent_Events_Oauth2token struct { +type GetAllEvents_Events_Edges_Node_Oauth2token struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkEvent_CreateBulkEvent_Events_Oauth2token) GetID() string { +func (t *GetAllEvents_Events_Edges_Node_Oauth2token) GetID() string { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events_Oauth2token{} + t = &GetAllEvents_Events_Edges_Node_Oauth2token{} } return t.ID } -type CreateBulkEvent_CreateBulkEvent_Events_Hush struct { +type GetAllEvents_Events_Edges_Node_Hush struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkEvent_CreateBulkEvent_Events_Hush) GetID() string { +func (t *GetAllEvents_Events_Edges_Node_Hush) GetID() string { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events_Hush{} + t = &GetAllEvents_Events_Edges_Node_Hush{} } return t.ID } -type CreateBulkEvent_CreateBulkEvent_Events_Orgmembership struct { +type GetAllEvents_Events_Edges_Node_Orgmembership struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkEvent_CreateBulkEvent_Events_Orgmembership) GetID() string { +func (t *GetAllEvents_Events_Edges_Node_Orgmembership) GetID() string { + if t == nil { + t = &GetAllEvents_Events_Edges_Node_Orgmembership{} + } + return t.ID +} + +type GetAllEvents_Events_Edges_Node_Groupmembership struct { + ID string "json:\"id\" graphql:\"id\"" +} + +func (t *GetAllEvents_Events_Edges_Node_Groupmembership) GetID() string { + if t == nil { + t = &GetAllEvents_Events_Edges_Node_Groupmembership{} + } + return t.ID +} + +type GetAllEvents_Events_Edges_Node_Entitlement struct { + ID string "json:\"id\" graphql:\"id\"" +} + +func (t *GetAllEvents_Events_Edges_Node_Entitlement) GetID() string { + if t == nil { + t = &GetAllEvents_Events_Edges_Node_Entitlement{} + } + return t.ID +} + +type GetAllEvents_Events_Edges_Node_Webhook struct { + ID string "json:\"id\" graphql:\"id\"" +} + +func (t *GetAllEvents_Events_Edges_Node_Webhook) GetID() string { + if t == nil { + t = &GetAllEvents_Events_Edges_Node_Webhook{} + } + return t.ID +} + +type GetAllEvents_Events_Edges_Node struct { + ID string "json:\"id\" graphql:\"id\"" + CreatedAt *time.Time "json:\"createdAt,omitempty\" graphql:\"createdAt\"" + UpdatedAt *time.Time "json:\"updatedAt,omitempty\" graphql:\"updatedAt\"" + CreatedBy *string "json:\"createdBy,omitempty\" graphql:\"createdBy\"" + UpdatedBy *string "json:\"updatedBy,omitempty\" graphql:\"updatedBy\"" + EventID *string "json:\"eventID,omitempty\" graphql:\"eventID\"" + CorrelationID *string "json:\"correlationID,omitempty\" graphql:\"correlationID\"" + EventType string "json:\"eventType\" graphql:\"eventType\"" + Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" + User []*GetAllEvents_Events_Edges_Node_User "json:\"user,omitempty\" graphql:\"user\"" + Group []*GetAllEvents_Events_Edges_Node_Group "json:\"group,omitempty\" graphql:\"group\"" + Integration []*GetAllEvents_Events_Edges_Node_Integration "json:\"integration,omitempty\" graphql:\"integration\"" + Organization []*GetAllEvents_Events_Edges_Node_Organization "json:\"organization,omitempty\" graphql:\"organization\"" + Invite []*GetAllEvents_Events_Edges_Node_Invite "json:\"invite,omitempty\" graphql:\"invite\"" + Feature []*GetAllEvents_Events_Edges_Node_Feature "json:\"feature,omitempty\" graphql:\"feature\"" + PersonalAccessToken []*GetAllEvents_Events_Edges_Node_PersonalAccessToken "json:\"personalAccessToken,omitempty\" graphql:\"personalAccessToken\"" + Oauth2token []*GetAllEvents_Events_Edges_Node_Oauth2token "json:\"oauth2token,omitempty\" graphql:\"oauth2token\"" + Hush []*GetAllEvents_Events_Edges_Node_Hush "json:\"hush,omitempty\" graphql:\"hush\"" + Orgmembership []*GetAllEvents_Events_Edges_Node_Orgmembership "json:\"orgmembership,omitempty\" graphql:\"orgmembership\"" + Groupmembership []*GetAllEvents_Events_Edges_Node_Groupmembership "json:\"groupmembership,omitempty\" graphql:\"groupmembership\"" + Entitlement []*GetAllEvents_Events_Edges_Node_Entitlement "json:\"entitlement,omitempty\" graphql:\"entitlement\"" + Webhook []*GetAllEvents_Events_Edges_Node_Webhook "json:\"webhook,omitempty\" graphql:\"webhook\"" +} + +func (t *GetAllEvents_Events_Edges_Node) GetID() string { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events_Orgmembership{} + t = &GetAllEvents_Events_Edges_Node{} } return t.ID } - -type CreateBulkEvent_CreateBulkEvent_Events_Groupmembership struct { - ID string "json:\"id\" graphql:\"id\"" -} - -func (t *CreateBulkEvent_CreateBulkEvent_Events_Groupmembership) GetID() string { +func (t *GetAllEvents_Events_Edges_Node) GetCreatedAt() *time.Time { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events_Groupmembership{} + t = &GetAllEvents_Events_Edges_Node{} } - return t.ID -} - -type CreateBulkEvent_CreateBulkEvent_Events_Entitlement struct { - ID string "json:\"id\" graphql:\"id\"" + return t.CreatedAt } - -func (t *CreateBulkEvent_CreateBulkEvent_Events_Entitlement) GetID() string { +func (t *GetAllEvents_Events_Edges_Node) GetUpdatedAt() *time.Time { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events_Entitlement{} + t = &GetAllEvents_Events_Edges_Node{} } - return t.ID -} - -type CreateBulkEvent_CreateBulkEvent_Events_Webhook struct { - ID string "json:\"id\" graphql:\"id\"" + return t.UpdatedAt } - -func (t *CreateBulkEvent_CreateBulkEvent_Events_Webhook) GetID() string { +func (t *GetAllEvents_Events_Edges_Node) GetCreatedBy() *string { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events_Webhook{} + t = &GetAllEvents_Events_Edges_Node{} } - return t.ID -} - -type CreateBulkEvent_CreateBulkEvent_Events struct { - ID string "json:\"id\" graphql:\"id\"" - EventID *string "json:\"eventID,omitempty\" graphql:\"eventID\"" - CorrelationID *string "json:\"correlationID,omitempty\" graphql:\"correlationID\"" - EventType string "json:\"eventType\" graphql:\"eventType\"" - Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" - User []*CreateBulkEvent_CreateBulkEvent_Events_User "json:\"user,omitempty\" graphql:\"user\"" - Group []*CreateBulkEvent_CreateBulkEvent_Events_Group "json:\"group,omitempty\" graphql:\"group\"" - Integration []*CreateBulkEvent_CreateBulkEvent_Events_Integration "json:\"integration,omitempty\" graphql:\"integration\"" - Organization []*CreateBulkEvent_CreateBulkEvent_Events_Organization "json:\"organization,omitempty\" graphql:\"organization\"" - Invite []*CreateBulkEvent_CreateBulkEvent_Events_Invite "json:\"invite,omitempty\" graphql:\"invite\"" - Feature []*CreateBulkEvent_CreateBulkEvent_Events_Feature "json:\"feature,omitempty\" graphql:\"feature\"" - PersonalAccessToken []*CreateBulkEvent_CreateBulkEvent_Events_PersonalAccessToken "json:\"personalAccessToken,omitempty\" graphql:\"personalAccessToken\"" - Oauth2token []*CreateBulkEvent_CreateBulkEvent_Events_Oauth2token "json:\"oauth2token,omitempty\" graphql:\"oauth2token\"" - Hush []*CreateBulkEvent_CreateBulkEvent_Events_Hush "json:\"hush,omitempty\" graphql:\"hush\"" - Orgmembership []*CreateBulkEvent_CreateBulkEvent_Events_Orgmembership "json:\"orgmembership,omitempty\" graphql:\"orgmembership\"" - Groupmembership []*CreateBulkEvent_CreateBulkEvent_Events_Groupmembership "json:\"groupmembership,omitempty\" graphql:\"groupmembership\"" - Entitlement []*CreateBulkEvent_CreateBulkEvent_Events_Entitlement "json:\"entitlement,omitempty\" graphql:\"entitlement\"" - Webhook []*CreateBulkEvent_CreateBulkEvent_Events_Webhook "json:\"webhook,omitempty\" graphql:\"webhook\"" + return t.CreatedBy } - -func (t *CreateBulkEvent_CreateBulkEvent_Events) GetID() string { +func (t *GetAllEvents_Events_Edges_Node) GetUpdatedBy() *string { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events{} + t = &GetAllEvents_Events_Edges_Node{} } - return t.ID + return t.UpdatedBy } -func (t *CreateBulkEvent_CreateBulkEvent_Events) GetEventID() *string { +func (t *GetAllEvents_Events_Edges_Node) GetEventID() *string { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events{} + t = &GetAllEvents_Events_Edges_Node{} } return t.EventID } -func (t *CreateBulkEvent_CreateBulkEvent_Events) GetCorrelationID() *string { +func (t *GetAllEvents_Events_Edges_Node) GetCorrelationID() *string { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events{} + t = &GetAllEvents_Events_Edges_Node{} } return t.CorrelationID } -func (t *CreateBulkEvent_CreateBulkEvent_Events) GetEventType() string { +func (t *GetAllEvents_Events_Edges_Node) GetEventType() string { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events{} + t = &GetAllEvents_Events_Edges_Node{} } return t.EventType } -func (t *CreateBulkEvent_CreateBulkEvent_Events) GetMetadata() map[string]interface{} { +func (t *GetAllEvents_Events_Edges_Node) GetMetadata() map[string]interface{} { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events{} + t = &GetAllEvents_Events_Edges_Node{} } return t.Metadata } -func (t *CreateBulkEvent_CreateBulkEvent_Events) GetUser() []*CreateBulkEvent_CreateBulkEvent_Events_User { +func (t *GetAllEvents_Events_Edges_Node) GetUser() []*GetAllEvents_Events_Edges_Node_User { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events{} + t = &GetAllEvents_Events_Edges_Node{} } return t.User } -func (t *CreateBulkEvent_CreateBulkEvent_Events) GetGroup() []*CreateBulkEvent_CreateBulkEvent_Events_Group { +func (t *GetAllEvents_Events_Edges_Node) GetGroup() []*GetAllEvents_Events_Edges_Node_Group { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events{} + t = &GetAllEvents_Events_Edges_Node{} } return t.Group } -func (t *CreateBulkEvent_CreateBulkEvent_Events) GetIntegration() []*CreateBulkEvent_CreateBulkEvent_Events_Integration { +func (t *GetAllEvents_Events_Edges_Node) GetIntegration() []*GetAllEvents_Events_Edges_Node_Integration { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events{} + t = &GetAllEvents_Events_Edges_Node{} } return t.Integration } -func (t *CreateBulkEvent_CreateBulkEvent_Events) GetOrganization() []*CreateBulkEvent_CreateBulkEvent_Events_Organization { +func (t *GetAllEvents_Events_Edges_Node) GetOrganization() []*GetAllEvents_Events_Edges_Node_Organization { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events{} + t = &GetAllEvents_Events_Edges_Node{} } return t.Organization } -func (t *CreateBulkEvent_CreateBulkEvent_Events) GetInvite() []*CreateBulkEvent_CreateBulkEvent_Events_Invite { +func (t *GetAllEvents_Events_Edges_Node) GetInvite() []*GetAllEvents_Events_Edges_Node_Invite { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events{} + t = &GetAllEvents_Events_Edges_Node{} } return t.Invite } -func (t *CreateBulkEvent_CreateBulkEvent_Events) GetFeature() []*CreateBulkEvent_CreateBulkEvent_Events_Feature { +func (t *GetAllEvents_Events_Edges_Node) GetFeature() []*GetAllEvents_Events_Edges_Node_Feature { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events{} + t = &GetAllEvents_Events_Edges_Node{} } return t.Feature } -func (t *CreateBulkEvent_CreateBulkEvent_Events) GetPersonalAccessToken() []*CreateBulkEvent_CreateBulkEvent_Events_PersonalAccessToken { +func (t *GetAllEvents_Events_Edges_Node) GetPersonalAccessToken() []*GetAllEvents_Events_Edges_Node_PersonalAccessToken { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events{} + t = &GetAllEvents_Events_Edges_Node{} } return t.PersonalAccessToken } -func (t *CreateBulkEvent_CreateBulkEvent_Events) GetOauth2token() []*CreateBulkEvent_CreateBulkEvent_Events_Oauth2token { +func (t *GetAllEvents_Events_Edges_Node) GetOauth2token() []*GetAllEvents_Events_Edges_Node_Oauth2token { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events{} + t = &GetAllEvents_Events_Edges_Node{} } return t.Oauth2token } -func (t *CreateBulkEvent_CreateBulkEvent_Events) GetHush() []*CreateBulkEvent_CreateBulkEvent_Events_Hush { +func (t *GetAllEvents_Events_Edges_Node) GetHush() []*GetAllEvents_Events_Edges_Node_Hush { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events{} + t = &GetAllEvents_Events_Edges_Node{} } return t.Hush } -func (t *CreateBulkEvent_CreateBulkEvent_Events) GetOrgmembership() []*CreateBulkEvent_CreateBulkEvent_Events_Orgmembership { +func (t *GetAllEvents_Events_Edges_Node) GetOrgmembership() []*GetAllEvents_Events_Edges_Node_Orgmembership { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events{} + t = &GetAllEvents_Events_Edges_Node{} } return t.Orgmembership } -func (t *CreateBulkEvent_CreateBulkEvent_Events) GetGroupmembership() []*CreateBulkEvent_CreateBulkEvent_Events_Groupmembership { +func (t *GetAllEvents_Events_Edges_Node) GetGroupmembership() []*GetAllEvents_Events_Edges_Node_Groupmembership { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events{} + t = &GetAllEvents_Events_Edges_Node{} } return t.Groupmembership } -func (t *CreateBulkEvent_CreateBulkEvent_Events) GetEntitlement() []*CreateBulkEvent_CreateBulkEvent_Events_Entitlement { +func (t *GetAllEvents_Events_Edges_Node) GetEntitlement() []*GetAllEvents_Events_Edges_Node_Entitlement { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events{} + t = &GetAllEvents_Events_Edges_Node{} } return t.Entitlement } -func (t *CreateBulkEvent_CreateBulkEvent_Events) GetWebhook() []*CreateBulkEvent_CreateBulkEvent_Events_Webhook { +func (t *GetAllEvents_Events_Edges_Node) GetWebhook() []*GetAllEvents_Events_Edges_Node_Webhook { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent_Events{} + t = &GetAllEvents_Events_Edges_Node{} } return t.Webhook } -type CreateBulkEvent_CreateBulkEvent struct { - Events []*CreateBulkEvent_CreateBulkEvent_Events "json:\"events,omitempty\" graphql:\"events\"" +type GetAllEvents_Events_Edges struct { + Node *GetAllEvents_Events_Edges_Node "json:\"node,omitempty\" graphql:\"node\"" } -func (t *CreateBulkEvent_CreateBulkEvent) GetEvents() []*CreateBulkEvent_CreateBulkEvent_Events { +func (t *GetAllEvents_Events_Edges) GetNode() *GetAllEvents_Events_Edges_Node { if t == nil { - t = &CreateBulkEvent_CreateBulkEvent{} + t = &GetAllEvents_Events_Edges{} } - return t.Events + return t.Node } -type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_User struct { +type GetAllEvents_Events struct { + Edges []*GetAllEvents_Events_Edges "json:\"edges,omitempty\" graphql:\"edges\"" +} + +func (t *GetAllEvents_Events) GetEdges() []*GetAllEvents_Events_Edges { + if t == nil { + t = &GetAllEvents_Events{} + } + return t.Edges +} + +type GetEventByID_Event_User struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_User) GetID() string { +func (t *GetEventByID_Event_User) GetID() string { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_User{} + t = &GetEventByID_Event_User{} } return t.ID } -type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Group struct { +type GetEventByID_Event_Group struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Group) GetID() string { +func (t *GetEventByID_Event_Group) GetID() string { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Group{} + t = &GetEventByID_Event_Group{} } return t.ID } -type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Integration struct { +type GetEventByID_Event_Integration struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Integration) GetID() string { +func (t *GetEventByID_Event_Integration) GetID() string { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Integration{} + t = &GetEventByID_Event_Integration{} } return t.ID } -type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Organization struct { +type GetEventByID_Event_Organization struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Organization) GetID() string { +func (t *GetEventByID_Event_Organization) GetID() string { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Organization{} + t = &GetEventByID_Event_Organization{} } return t.ID } -type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Invite struct { +type GetEventByID_Event_Invite struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Invite) GetID() string { +func (t *GetEventByID_Event_Invite) GetID() string { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Invite{} + t = &GetEventByID_Event_Invite{} } return t.ID } -type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Feature struct { +type GetEventByID_Event_Feature struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Feature) GetID() string { +func (t *GetEventByID_Event_Feature) GetID() string { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Feature{} + t = &GetEventByID_Event_Feature{} } return t.ID } -type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_PersonalAccessToken struct { +type GetEventByID_Event_PersonalAccessToken struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_PersonalAccessToken) GetID() string { +func (t *GetEventByID_Event_PersonalAccessToken) GetID() string { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_PersonalAccessToken{} + t = &GetEventByID_Event_PersonalAccessToken{} } return t.ID } -type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Oauth2token struct { +type GetEventByID_Event_Oauth2token struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Oauth2token) GetID() string { +func (t *GetEventByID_Event_Oauth2token) GetID() string { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Oauth2token{} + t = &GetEventByID_Event_Oauth2token{} } return t.ID } -type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Hush struct { +type GetEventByID_Event_Hush struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Hush) GetID() string { +func (t *GetEventByID_Event_Hush) GetID() string { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Hush{} + t = &GetEventByID_Event_Hush{} } return t.ID } -type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Orgmembership struct { +type GetEventByID_Event_Orgmembership struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Orgmembership) GetID() string { +func (t *GetEventByID_Event_Orgmembership) GetID() string { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Orgmembership{} + t = &GetEventByID_Event_Orgmembership{} } return t.ID } -type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Groupmembership struct { +type GetEventByID_Event_Groupmembership struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Groupmembership) GetID() string { +func (t *GetEventByID_Event_Groupmembership) GetID() string { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Groupmembership{} + t = &GetEventByID_Event_Groupmembership{} } return t.ID } -type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Entitlement struct { +type GetEventByID_Event_Entitlement struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Entitlement) GetID() string { +func (t *GetEventByID_Event_Entitlement) GetID() string { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Entitlement{} + t = &GetEventByID_Event_Entitlement{} } return t.ID } -type CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Webhook struct { +type GetEventByID_Event_Webhook struct { ID string "json:\"id\" graphql:\"id\"" } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Webhook) GetID() string { +func (t *GetEventByID_Event_Webhook) GetID() string { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Webhook{} + t = &GetEventByID_Event_Webhook{} } return t.ID } -type CreateBulkCSVEvent_CreateBulkCSVEvent_Events struct { - ID string "json:\"id\" graphql:\"id\"" - EventID *string "json:\"eventID,omitempty\" graphql:\"eventID\"" - CorrelationID *string "json:\"correlationID,omitempty\" graphql:\"correlationID\"" - EventType string "json:\"eventType\" graphql:\"eventType\"" - Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" - User []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_User "json:\"user,omitempty\" graphql:\"user\"" - Group []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Group "json:\"group,omitempty\" graphql:\"group\"" - Integration []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Integration "json:\"integration,omitempty\" graphql:\"integration\"" - Organization []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Organization "json:\"organization,omitempty\" graphql:\"organization\"" - Invite []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Invite "json:\"invite,omitempty\" graphql:\"invite\"" - Feature []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Feature "json:\"feature,omitempty\" graphql:\"feature\"" - PersonalAccessToken []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_PersonalAccessToken "json:\"personalAccessToken,omitempty\" graphql:\"personalAccessToken\"" - Oauth2token []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Oauth2token "json:\"oauth2token,omitempty\" graphql:\"oauth2token\"" - Hush []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Hush "json:\"hush,omitempty\" graphql:\"hush\"" - Orgmembership []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Orgmembership "json:\"orgmembership,omitempty\" graphql:\"orgmembership\"" - Groupmembership []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Groupmembership "json:\"groupmembership,omitempty\" graphql:\"groupmembership\"" - Entitlement []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Entitlement "json:\"entitlement,omitempty\" graphql:\"entitlement\"" - Webhook []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Webhook "json:\"webhook,omitempty\" graphql:\"webhook\"" +type GetEventByID_Event struct { + ID string "json:\"id\" graphql:\"id\"" + CreatedAt *time.Time "json:\"createdAt,omitempty\" graphql:\"createdAt\"" + UpdatedAt *time.Time "json:\"updatedAt,omitempty\" graphql:\"updatedAt\"" + CreatedBy *string "json:\"createdBy,omitempty\" graphql:\"createdBy\"" + UpdatedBy *string "json:\"updatedBy,omitempty\" graphql:\"updatedBy\"" + EventID *string "json:\"eventID,omitempty\" graphql:\"eventID\"" + CorrelationID *string "json:\"correlationID,omitempty\" graphql:\"correlationID\"" + EventType string "json:\"eventType\" graphql:\"eventType\"" + Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" + User []*GetEventByID_Event_User "json:\"user,omitempty\" graphql:\"user\"" + Group []*GetEventByID_Event_Group "json:\"group,omitempty\" graphql:\"group\"" + Integration []*GetEventByID_Event_Integration "json:\"integration,omitempty\" graphql:\"integration\"" + Organization []*GetEventByID_Event_Organization "json:\"organization,omitempty\" graphql:\"organization\"" + Invite []*GetEventByID_Event_Invite "json:\"invite,omitempty\" graphql:\"invite\"" + Feature []*GetEventByID_Event_Feature "json:\"feature,omitempty\" graphql:\"feature\"" + PersonalAccessToken []*GetEventByID_Event_PersonalAccessToken "json:\"personalAccessToken,omitempty\" graphql:\"personalAccessToken\"" + Oauth2token []*GetEventByID_Event_Oauth2token "json:\"oauth2token,omitempty\" graphql:\"oauth2token\"" + Hush []*GetEventByID_Event_Hush "json:\"hush,omitempty\" graphql:\"hush\"" + Orgmembership []*GetEventByID_Event_Orgmembership "json:\"orgmembership,omitempty\" graphql:\"orgmembership\"" + Groupmembership []*GetEventByID_Event_Groupmembership "json:\"groupmembership,omitempty\" graphql:\"groupmembership\"" + Entitlement []*GetEventByID_Event_Entitlement "json:\"entitlement,omitempty\" graphql:\"entitlement\"" + Webhook []*GetEventByID_Event_Webhook "json:\"webhook,omitempty\" graphql:\"webhook\"" } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetID() string { +func (t *GetEventByID_Event) GetID() string { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} + t = &GetEventByID_Event{} } return t.ID } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetEventID() *string { +func (t *GetEventByID_Event) GetCreatedAt() *time.Time { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} + t = &GetEventByID_Event{} + } + return t.CreatedAt +} +func (t *GetEventByID_Event) GetUpdatedAt() *time.Time { + if t == nil { + t = &GetEventByID_Event{} + } + return t.UpdatedAt +} +func (t *GetEventByID_Event) GetCreatedBy() *string { + if t == nil { + t = &GetEventByID_Event{} + } + return t.CreatedBy +} +func (t *GetEventByID_Event) GetUpdatedBy() *string { + if t == nil { + t = &GetEventByID_Event{} + } + return t.UpdatedBy +} +func (t *GetEventByID_Event) GetEventID() *string { + if t == nil { + t = &GetEventByID_Event{} } return t.EventID } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetCorrelationID() *string { +func (t *GetEventByID_Event) GetCorrelationID() *string { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} + t = &GetEventByID_Event{} } return t.CorrelationID } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetEventType() string { +func (t *GetEventByID_Event) GetEventType() string { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} + t = &GetEventByID_Event{} } return t.EventType } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetMetadata() map[string]interface{} { +func (t *GetEventByID_Event) GetMetadata() map[string]interface{} { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} + t = &GetEventByID_Event{} } return t.Metadata } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetUser() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_User { +func (t *GetEventByID_Event) GetUser() []*GetEventByID_Event_User { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} + t = &GetEventByID_Event{} } return t.User } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetGroup() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Group { +func (t *GetEventByID_Event) GetGroup() []*GetEventByID_Event_Group { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} + t = &GetEventByID_Event{} } return t.Group } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetIntegration() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Integration { +func (t *GetEventByID_Event) GetIntegration() []*GetEventByID_Event_Integration { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} + t = &GetEventByID_Event{} } return t.Integration } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetOrganization() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Organization { +func (t *GetEventByID_Event) GetOrganization() []*GetEventByID_Event_Organization { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} + t = &GetEventByID_Event{} } return t.Organization } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetInvite() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Invite { +func (t *GetEventByID_Event) GetInvite() []*GetEventByID_Event_Invite { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} + t = &GetEventByID_Event{} } return t.Invite } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetFeature() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Feature { +func (t *GetEventByID_Event) GetFeature() []*GetEventByID_Event_Feature { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} + t = &GetEventByID_Event{} } return t.Feature } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetPersonalAccessToken() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_PersonalAccessToken { +func (t *GetEventByID_Event) GetPersonalAccessToken() []*GetEventByID_Event_PersonalAccessToken { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} + t = &GetEventByID_Event{} } return t.PersonalAccessToken } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetOauth2token() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Oauth2token { +func (t *GetEventByID_Event) GetOauth2token() []*GetEventByID_Event_Oauth2token { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} + t = &GetEventByID_Event{} } return t.Oauth2token } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetHush() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Hush { +func (t *GetEventByID_Event) GetHush() []*GetEventByID_Event_Hush { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} + t = &GetEventByID_Event{} } return t.Hush } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetOrgmembership() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Orgmembership { +func (t *GetEventByID_Event) GetOrgmembership() []*GetEventByID_Event_Orgmembership { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} + t = &GetEventByID_Event{} } return t.Orgmembership } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetGroupmembership() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Groupmembership { +func (t *GetEventByID_Event) GetGroupmembership() []*GetEventByID_Event_Groupmembership { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} + t = &GetEventByID_Event{} } return t.Groupmembership } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetEntitlement() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Entitlement { +func (t *GetEventByID_Event) GetEntitlement() []*GetEventByID_Event_Entitlement { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} + t = &GetEventByID_Event{} } return t.Entitlement } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent_Events) GetWebhook() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events_Webhook { +func (t *GetEventByID_Event) GetWebhook() []*GetEventByID_Event_Webhook { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent_Events{} + t = &GetEventByID_Event{} } return t.Webhook } -type CreateBulkCSVEvent_CreateBulkCSVEvent struct { - Events []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events "json:\"events,omitempty\" graphql:\"events\"" +type GetEvents_Events_Edges_Node struct { + EventID *string "json:\"eventID,omitempty\" graphql:\"eventID\"" + ID string "json:\"id\" graphql:\"id\"" + CorrelationID *string "json:\"correlationID,omitempty\" graphql:\"correlationID\"" + EventType string "json:\"eventType\" graphql:\"eventType\"" + Metadata map[string]interface{} "json:\"metadata,omitempty\" graphql:\"metadata\"" } -func (t *CreateBulkCSVEvent_CreateBulkCSVEvent) GetEvents() []*CreateBulkCSVEvent_CreateBulkCSVEvent_Events { +func (t *GetEvents_Events_Edges_Node) GetEventID() *string { if t == nil { - t = &CreateBulkCSVEvent_CreateBulkCSVEvent{} + t = &GetEvents_Events_Edges_Node{} } - return t.Events + return t.EventID +} +func (t *GetEvents_Events_Edges_Node) GetID() string { + if t == nil { + t = &GetEvents_Events_Edges_Node{} + } + return t.ID +} +func (t *GetEvents_Events_Edges_Node) GetCorrelationID() *string { + if t == nil { + t = &GetEvents_Events_Edges_Node{} + } + return t.CorrelationID +} +func (t *GetEvents_Events_Edges_Node) GetEventType() string { + if t == nil { + t = &GetEvents_Events_Edges_Node{} + } + return t.EventType +} +func (t *GetEvents_Events_Edges_Node) GetMetadata() map[string]interface{} { + if t == nil { + t = &GetEvents_Events_Edges_Node{} + } + return t.Metadata +} + +type GetEvents_Events_Edges struct { + Node *GetEvents_Events_Edges_Node "json:\"node,omitempty\" graphql:\"node\"" +} + +func (t *GetEvents_Events_Edges) GetNode() *GetEvents_Events_Edges_Node { + if t == nil { + t = &GetEvents_Events_Edges{} + } + return t.Node +} + +type GetEvents_Events struct { + Edges []*GetEvents_Events_Edges "json:\"edges,omitempty\" graphql:\"edges\"" +} + +func (t *GetEvents_Events) GetEdges() []*GetEvents_Events_Edges { + if t == nil { + t = &GetEvents_Events{} + } + return t.Edges } type UpdateEvent_UpdateEvent_Event_User struct { @@ -10946,17 +10957,6 @@ func (t *UpdateEvent_UpdateEvent) GetEvent() *UpdateEvent_UpdateEvent_Event { return &t.Event } -type DeleteEvent_DeleteEvent struct { - DeletedID string "json:\"deletedID\" graphql:\"deletedID\"" -} - -func (t *DeleteEvent_DeleteEvent) GetDeletedID() string { - if t == nil { - t = &DeleteEvent_DeleteEvent{} - } - return t.DeletedID -} - type GetAllEventHistories_EventHistories_Edges_Node struct { CorrelationID *string "json:\"correlationID,omitempty\" graphql:\"correlationID\"" CreatedAt *time.Time "json:\"createdAt,omitempty\" graphql:\"createdAt\"" @@ -30116,26 +30116,26 @@ func (t *DeleteAPIToken) GetDeleteAPIToken() *DeleteAPIToken_DeleteAPIToken { return &t.DeleteAPIToken } -type CreateBulkCSVContact struct { - CreateBulkCSVContact CreateBulkCSVContact_CreateBulkCSVContact "json:\"createBulkCSVContact\" graphql:\"createBulkCSVContact\"" +type CreateBulkContact struct { + CreateBulkContact CreateBulkContact_CreateBulkContact "json:\"createBulkContact\" graphql:\"createBulkContact\"" } -func (t *CreateBulkCSVContact) GetCreateBulkCSVContact() *CreateBulkCSVContact_CreateBulkCSVContact { +func (t *CreateBulkContact) GetCreateBulkContact() *CreateBulkContact_CreateBulkContact { if t == nil { - t = &CreateBulkCSVContact{} + t = &CreateBulkContact{} } - return &t.CreateBulkCSVContact + return &t.CreateBulkContact } -type CreateBulkContact struct { - CreateBulkContact CreateBulkContact_CreateBulkContact "json:\"createBulkContact\" graphql:\"createBulkContact\"" +type CreateBulkCSVContact struct { + CreateBulkCSVContact CreateBulkCSVContact_CreateBulkCSVContact "json:\"createBulkCSVContact\" graphql:\"createBulkCSVContact\"" } -func (t *CreateBulkContact) GetCreateBulkContact() *CreateBulkContact_CreateBulkContact { +func (t *CreateBulkCSVContact) GetCreateBulkCSVContact() *CreateBulkCSVContact_CreateBulkCSVContact { if t == nil { - t = &CreateBulkContact{} + t = &CreateBulkCSVContact{} } - return &t.CreateBulkContact + return &t.CreateBulkCSVContact } type CreateContact struct { @@ -30490,6 +30490,50 @@ func (t *UpdateEntitlementPlan) GetUpdateEntitlementPlan() *UpdateEntitlementPla return &t.UpdateEntitlementPlan } +type CreateBulkCSVEntitlementPlanFeature struct { + CreateBulkCSVEntitlementPlanFeature CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature "json:\"createBulkCSVEntitlementPlanFeature\" graphql:\"createBulkCSVEntitlementPlanFeature\"" +} + +func (t *CreateBulkCSVEntitlementPlanFeature) GetCreateBulkCSVEntitlementPlanFeature() *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature { + if t == nil { + t = &CreateBulkCSVEntitlementPlanFeature{} + } + return &t.CreateBulkCSVEntitlementPlanFeature +} + +type CreateBulkEntitlementPlanFeature struct { + CreateBulkEntitlementPlanFeature CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature "json:\"createBulkEntitlementPlanFeature\" graphql:\"createBulkEntitlementPlanFeature\"" +} + +func (t *CreateBulkEntitlementPlanFeature) GetCreateBulkEntitlementPlanFeature() *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature { + if t == nil { + t = &CreateBulkEntitlementPlanFeature{} + } + return &t.CreateBulkEntitlementPlanFeature +} + +type CreateEntitlementPlanFeature struct { + CreateEntitlementPlanFeature CreateEntitlementPlanFeature_CreateEntitlementPlanFeature "json:\"createEntitlementPlanFeature\" graphql:\"createEntitlementPlanFeature\"" +} + +func (t *CreateEntitlementPlanFeature) GetCreateEntitlementPlanFeature() *CreateEntitlementPlanFeature_CreateEntitlementPlanFeature { + if t == nil { + t = &CreateEntitlementPlanFeature{} + } + return &t.CreateEntitlementPlanFeature +} + +type DeleteEntitlementPlanFeature struct { + DeleteEntitlementPlanFeature DeleteEntitlementPlanFeature_DeleteEntitlementPlanFeature "json:\"deleteEntitlementPlanFeature\" graphql:\"deleteEntitlementPlanFeature\"" +} + +func (t *DeleteEntitlementPlanFeature) GetDeleteEntitlementPlanFeature() *DeleteEntitlementPlanFeature_DeleteEntitlementPlanFeature { + if t == nil { + t = &DeleteEntitlementPlanFeature{} + } + return &t.DeleteEntitlementPlanFeature +} + type GetAllEntitlementPlanFeatures struct { EntitlementPlanFeatures GetAllEntitlementPlanFeatures_EntitlementPlanFeatures "json:\"entitlementPlanFeatures\" graphql:\"entitlementPlanFeatures\"" } @@ -30523,39 +30567,6 @@ func (t *GetEntitlementPlanFeatures) GetEntitlementPlanFeatures() *GetEntitlemen return &t.EntitlementPlanFeatures } -type CreateEntitlementPlanFeature struct { - CreateEntitlementPlanFeature CreateEntitlementPlanFeature_CreateEntitlementPlanFeature "json:\"createEntitlementPlanFeature\" graphql:\"createEntitlementPlanFeature\"" -} - -func (t *CreateEntitlementPlanFeature) GetCreateEntitlementPlanFeature() *CreateEntitlementPlanFeature_CreateEntitlementPlanFeature { - if t == nil { - t = &CreateEntitlementPlanFeature{} - } - return &t.CreateEntitlementPlanFeature -} - -type CreateBulkCSVEntitlementPlanFeature struct { - CreateBulkCSVEntitlementPlanFeature CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature "json:\"createBulkCSVEntitlementPlanFeature\" graphql:\"createBulkCSVEntitlementPlanFeature\"" -} - -func (t *CreateBulkCSVEntitlementPlanFeature) GetCreateBulkCSVEntitlementPlanFeature() *CreateBulkCSVEntitlementPlanFeature_CreateBulkCSVEntitlementPlanFeature { - if t == nil { - t = &CreateBulkCSVEntitlementPlanFeature{} - } - return &t.CreateBulkCSVEntitlementPlanFeature -} - -type CreateBulkEntitlementPlanFeature struct { - CreateBulkEntitlementPlanFeature CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature "json:\"createBulkEntitlementPlanFeature\" graphql:\"createBulkEntitlementPlanFeature\"" -} - -func (t *CreateBulkEntitlementPlanFeature) GetCreateBulkEntitlementPlanFeature() *CreateBulkEntitlementPlanFeature_CreateBulkEntitlementPlanFeature { - if t == nil { - t = &CreateBulkEntitlementPlanFeature{} - } - return &t.CreateBulkEntitlementPlanFeature -} - type UpdateEntitlementPlanFeature struct { UpdateEntitlementPlanFeature UpdateEntitlementPlanFeature_UpdateEntitlementPlanFeature "json:\"updateEntitlementPlanFeature\" graphql:\"updateEntitlementPlanFeature\"" } @@ -30567,17 +30578,6 @@ func (t *UpdateEntitlementPlanFeature) GetUpdateEntitlementPlanFeature() *Update return &t.UpdateEntitlementPlanFeature } -type DeleteEntitlementPlanFeature struct { - DeleteEntitlementPlanFeature DeleteEntitlementPlanFeature_DeleteEntitlementPlanFeature "json:\"deleteEntitlementPlanFeature\" graphql:\"deleteEntitlementPlanFeature\"" -} - -func (t *DeleteEntitlementPlanFeature) GetDeleteEntitlementPlanFeature() *DeleteEntitlementPlanFeature_DeleteEntitlementPlanFeature { - if t == nil { - t = &DeleteEntitlementPlanFeature{} - } - return &t.DeleteEntitlementPlanFeature -} - type GetAllEntitlementPlanFeatureHistories struct { EntitlementPlanFeatureHistories GetAllEntitlementPlanFeatureHistories_EntitlementPlanFeatureHistories "json:\"entitlementPlanFeatureHistories\" graphql:\"entitlementPlanFeatureHistories\"" } @@ -30842,92 +30842,92 @@ func (t *GetEntityTypeHistories) GetEntityTypeHistories() *GetEntityTypeHistorie return &t.EntityTypeHistories } -type GetEvents struct { - Events GetEvents_Events "json:\"events\" graphql:\"events\"" +type CreateBulkCSVEvent struct { + CreateBulkCSVEvent CreateBulkCSVEvent_CreateBulkCSVEvent "json:\"createBulkCSVEvent\" graphql:\"createBulkCSVEvent\"" } -func (t *GetEvents) GetEvents() *GetEvents_Events { +func (t *CreateBulkCSVEvent) GetCreateBulkCSVEvent() *CreateBulkCSVEvent_CreateBulkCSVEvent { if t == nil { - t = &GetEvents{} + t = &CreateBulkCSVEvent{} } - return &t.Events + return &t.CreateBulkCSVEvent } -type GetEventByID struct { - Event GetEventByID_Event "json:\"event\" graphql:\"event\"" +type CreateBulkEvent struct { + CreateBulkEvent CreateBulkEvent_CreateBulkEvent "json:\"createBulkEvent\" graphql:\"createBulkEvent\"" } -func (t *GetEventByID) GetEvent() *GetEventByID_Event { +func (t *CreateBulkEvent) GetCreateBulkEvent() *CreateBulkEvent_CreateBulkEvent { if t == nil { - t = &GetEventByID{} + t = &CreateBulkEvent{} } - return &t.Event + return &t.CreateBulkEvent } -type GetAllEvents struct { - Events GetAllEvents_Events "json:\"events\" graphql:\"events\"" +type CreateEvent struct { + CreateEvent CreateEvent_CreateEvent "json:\"createEvent\" graphql:\"createEvent\"" } -func (t *GetAllEvents) GetEvents() *GetAllEvents_Events { +func (t *CreateEvent) GetCreateEvent() *CreateEvent_CreateEvent { if t == nil { - t = &GetAllEvents{} + t = &CreateEvent{} } - return &t.Events + return &t.CreateEvent } -type CreateEvent struct { - CreateEvent CreateEvent_CreateEvent "json:\"createEvent\" graphql:\"createEvent\"" +type DeleteEvent struct { + DeleteEvent DeleteEvent_DeleteEvent "json:\"deleteEvent\" graphql:\"deleteEvent\"" } -func (t *CreateEvent) GetCreateEvent() *CreateEvent_CreateEvent { +func (t *DeleteEvent) GetDeleteEvent() *DeleteEvent_DeleteEvent { if t == nil { - t = &CreateEvent{} + t = &DeleteEvent{} } - return &t.CreateEvent + return &t.DeleteEvent } -type CreateBulkEvent struct { - CreateBulkEvent CreateBulkEvent_CreateBulkEvent "json:\"createBulkEvent\" graphql:\"createBulkEvent\"" +type GetAllEvents struct { + Events GetAllEvents_Events "json:\"events\" graphql:\"events\"" } -func (t *CreateBulkEvent) GetCreateBulkEvent() *CreateBulkEvent_CreateBulkEvent { +func (t *GetAllEvents) GetEvents() *GetAllEvents_Events { if t == nil { - t = &CreateBulkEvent{} + t = &GetAllEvents{} } - return &t.CreateBulkEvent + return &t.Events } -type CreateBulkCSVEvent struct { - CreateBulkCSVEvent CreateBulkCSVEvent_CreateBulkCSVEvent "json:\"createBulkCSVEvent\" graphql:\"createBulkCSVEvent\"" +type GetEventByID struct { + Event GetEventByID_Event "json:\"event\" graphql:\"event\"" } -func (t *CreateBulkCSVEvent) GetCreateBulkCSVEvent() *CreateBulkCSVEvent_CreateBulkCSVEvent { +func (t *GetEventByID) GetEvent() *GetEventByID_Event { if t == nil { - t = &CreateBulkCSVEvent{} + t = &GetEventByID{} } - return &t.CreateBulkCSVEvent + return &t.Event } -type UpdateEvent struct { - UpdateEvent UpdateEvent_UpdateEvent "json:\"updateEvent\" graphql:\"updateEvent\"" +type GetEvents struct { + Events GetEvents_Events "json:\"events\" graphql:\"events\"" } -func (t *UpdateEvent) GetUpdateEvent() *UpdateEvent_UpdateEvent { +func (t *GetEvents) GetEvents() *GetEvents_Events { if t == nil { - t = &UpdateEvent{} + t = &GetEvents{} } - return &t.UpdateEvent + return &t.Events } -type DeleteEvent struct { - DeleteEvent DeleteEvent_DeleteEvent "json:\"deleteEvent\" graphql:\"deleteEvent\"" +type UpdateEvent struct { + UpdateEvent UpdateEvent_UpdateEvent "json:\"updateEvent\" graphql:\"updateEvent\"" } -func (t *DeleteEvent) GetDeleteEvent() *DeleteEvent_DeleteEvent { +func (t *UpdateEvent) GetUpdateEvent() *UpdateEvent_UpdateEvent { if t == nil { - t = &DeleteEvent{} + t = &UpdateEvent{} } - return &t.DeleteEvent + return &t.UpdateEvent } type GetAllEventHistories struct { @@ -33136,8 +33136,8 @@ func (c *Client) DeleteAPIToken(ctx context.Context, deleteAPITokenID string, in return &res, nil } -const CreateBulkCSVContactDocument = `mutation CreateBulkCSVContact ($input: Upload!) { - createBulkCSVContact(input: $input) { +const CreateBulkContactDocument = `mutation CreateBulkContact ($input: [CreateContactInput!]) { + createBulkContact(input: $input) { contacts { address company @@ -33158,13 +33158,13 @@ const CreateBulkCSVContactDocument = `mutation CreateBulkCSVContact ($input: Upl } ` -func (c *Client) CreateBulkCSVContact(ctx context.Context, input graphql.Upload, interceptors ...clientv2.RequestInterceptor) (*CreateBulkCSVContact, error) { +func (c *Client) CreateBulkContact(ctx context.Context, input []*CreateContactInput, interceptors ...clientv2.RequestInterceptor) (*CreateBulkContact, error) { vars := map[string]any{ "input": input, } - var res CreateBulkCSVContact - if err := c.Client.Post(ctx, "CreateBulkCSVContact", CreateBulkCSVContactDocument, &res, vars, interceptors...); err != nil { + var res CreateBulkContact + if err := c.Client.Post(ctx, "CreateBulkContact", CreateBulkContactDocument, &res, vars, interceptors...); err != nil { if c.Client.ParseDataWhenErrors { return &res, err } @@ -33175,8 +33175,8 @@ func (c *Client) CreateBulkCSVContact(ctx context.Context, input graphql.Upload, return &res, nil } -const CreateBulkContactDocument = `mutation CreateBulkContact ($input: [CreateContactInput!]) { - createBulkContact(input: $input) { +const CreateBulkCSVContactDocument = `mutation CreateBulkCSVContact ($input: Upload!) { + createBulkCSVContact(input: $input) { contacts { address company @@ -33197,13 +33197,13 @@ const CreateBulkContactDocument = `mutation CreateBulkContact ($input: [CreateCo } ` -func (c *Client) CreateBulkContact(ctx context.Context, input []*CreateContactInput, interceptors ...clientv2.RequestInterceptor) (*CreateBulkContact, error) { +func (c *Client) CreateBulkCSVContact(ctx context.Context, input graphql.Upload, interceptors ...clientv2.RequestInterceptor) (*CreateBulkCSVContact, error) { vars := map[string]any{ "input": input, } - var res CreateBulkContact - if err := c.Client.Post(ctx, "CreateBulkContact", CreateBulkContactDocument, &res, vars, interceptors...); err != nil { + var res CreateBulkCSVContact + if err := c.Client.Post(ctx, "CreateBulkCSVContact", CreateBulkCSVContactDocument, &res, vars, interceptors...); err != nil { if c.Client.ParseDataWhenErrors { return &res, err } @@ -34392,6 +34392,135 @@ func (c *Client) UpdateEntitlementPlan(ctx context.Context, updateEntitlementPla return &res, nil } +const CreateBulkCSVEntitlementPlanFeatureDocument = `mutation CreateBulkCSVEntitlementPlanFeature ($input: Upload!) { + createBulkCSVEntitlementPlanFeature(input: $input) { + entitlementPlanFeatures { + id + metadata + plan { + id + name + } + feature { + id + name + } + } + } +} +` + +func (c *Client) CreateBulkCSVEntitlementPlanFeature(ctx context.Context, input graphql.Upload, interceptors ...clientv2.RequestInterceptor) (*CreateBulkCSVEntitlementPlanFeature, error) { + vars := map[string]any{ + "input": input, + } + + var res CreateBulkCSVEntitlementPlanFeature + if err := c.Client.Post(ctx, "CreateBulkCSVEntitlementPlanFeature", CreateBulkCSVEntitlementPlanFeatureDocument, &res, vars, interceptors...); err != nil { + if c.Client.ParseDataWhenErrors { + return &res, err + } + + return nil, err + } + + return &res, nil +} + +const CreateBulkEntitlementPlanFeatureDocument = `mutation CreateBulkEntitlementPlanFeature ($input: [CreateEntitlementPlanFeatureInput!]) { + createBulkEntitlementPlanFeature(input: $input) { + entitlementPlanFeatures { + id + metadata + plan { + id + name + } + feature { + id + name + } + } + } +} +` + +func (c *Client) CreateBulkEntitlementPlanFeature(ctx context.Context, input []*CreateEntitlementPlanFeatureInput, interceptors ...clientv2.RequestInterceptor) (*CreateBulkEntitlementPlanFeature, error) { + vars := map[string]any{ + "input": input, + } + + var res CreateBulkEntitlementPlanFeature + if err := c.Client.Post(ctx, "CreateBulkEntitlementPlanFeature", CreateBulkEntitlementPlanFeatureDocument, &res, vars, interceptors...); err != nil { + if c.Client.ParseDataWhenErrors { + return &res, err + } + + return nil, err + } + + return &res, nil +} + +const CreateEntitlementPlanFeatureDocument = `mutation CreateEntitlementPlanFeature ($input: CreateEntitlementPlanFeatureInput!) { + createEntitlementPlanFeature(input: $input) { + entitlementPlanFeature { + id + metadata + plan { + id + name + } + feature { + id + name + } + } + } +} +` + +func (c *Client) CreateEntitlementPlanFeature(ctx context.Context, input CreateEntitlementPlanFeatureInput, interceptors ...clientv2.RequestInterceptor) (*CreateEntitlementPlanFeature, error) { + vars := map[string]any{ + "input": input, + } + + var res CreateEntitlementPlanFeature + if err := c.Client.Post(ctx, "CreateEntitlementPlanFeature", CreateEntitlementPlanFeatureDocument, &res, vars, interceptors...); err != nil { + if c.Client.ParseDataWhenErrors { + return &res, err + } + + return nil, err + } + + return &res, nil +} + +const DeleteEntitlementPlanFeatureDocument = `mutation DeleteEntitlementPlanFeature ($deleteEntitlementPlanFeatureId: ID!) { + deleteEntitlementPlanFeature(id: $deleteEntitlementPlanFeatureId) { + deletedID + } +} +` + +func (c *Client) DeleteEntitlementPlanFeature(ctx context.Context, deleteEntitlementPlanFeatureID string, interceptors ...clientv2.RequestInterceptor) (*DeleteEntitlementPlanFeature, error) { + vars := map[string]any{ + "deleteEntitlementPlanFeatureId": deleteEntitlementPlanFeatureID, + } + + var res DeleteEntitlementPlanFeature + if err := c.Client.Post(ctx, "DeleteEntitlementPlanFeature", DeleteEntitlementPlanFeatureDocument, &res, vars, interceptors...); err != nil { + if c.Client.ParseDataWhenErrors { + return &res, err + } + + return nil, err + } + + return &res, nil +} + const GetAllEntitlementPlanFeaturesDocument = `query GetAllEntitlementPlanFeatures { entitlementPlanFeatures { edges { @@ -34497,111 +34626,6 @@ func (c *Client) GetEntitlementPlanFeatures(ctx context.Context, where *Entitlem return &res, nil } -const CreateEntitlementPlanFeatureDocument = `mutation CreateEntitlementPlanFeature ($input: CreateEntitlementPlanFeatureInput!) { - createEntitlementPlanFeature(input: $input) { - entitlementPlanFeature { - id - metadata - plan { - id - name - } - feature { - id - name - } - } - } -} -` - -func (c *Client) CreateEntitlementPlanFeature(ctx context.Context, input CreateEntitlementPlanFeatureInput, interceptors ...clientv2.RequestInterceptor) (*CreateEntitlementPlanFeature, error) { - vars := map[string]any{ - "input": input, - } - - var res CreateEntitlementPlanFeature - if err := c.Client.Post(ctx, "CreateEntitlementPlanFeature", CreateEntitlementPlanFeatureDocument, &res, vars, interceptors...); err != nil { - if c.Client.ParseDataWhenErrors { - return &res, err - } - - return nil, err - } - - return &res, nil -} - -const CreateBulkCSVEntitlementPlanFeatureDocument = `mutation CreateBulkCSVEntitlementPlanFeature ($input: Upload!) { - createBulkCSVEntitlementPlanFeature(input: $input) { - entitlementPlanFeatures { - id - metadata - plan { - id - name - } - feature { - id - name - } - } - } -} -` - -func (c *Client) CreateBulkCSVEntitlementPlanFeature(ctx context.Context, input graphql.Upload, interceptors ...clientv2.RequestInterceptor) (*CreateBulkCSVEntitlementPlanFeature, error) { - vars := map[string]any{ - "input": input, - } - - var res CreateBulkCSVEntitlementPlanFeature - if err := c.Client.Post(ctx, "CreateBulkCSVEntitlementPlanFeature", CreateBulkCSVEntitlementPlanFeatureDocument, &res, vars, interceptors...); err != nil { - if c.Client.ParseDataWhenErrors { - return &res, err - } - - return nil, err - } - - return &res, nil -} - -const CreateBulkEntitlementPlanFeatureDocument = `mutation CreateBulkEntitlementPlanFeature ($input: [CreateEntitlementPlanFeatureInput!]) { - createBulkEntitlementPlanFeature(input: $input) { - entitlementPlanFeatures { - id - metadata - plan { - id - name - } - feature { - id - name - } - } - } -} -` - -func (c *Client) CreateBulkEntitlementPlanFeature(ctx context.Context, input []*CreateEntitlementPlanFeatureInput, interceptors ...clientv2.RequestInterceptor) (*CreateBulkEntitlementPlanFeature, error) { - vars := map[string]any{ - "input": input, - } - - var res CreateBulkEntitlementPlanFeature - if err := c.Client.Post(ctx, "CreateBulkEntitlementPlanFeature", CreateBulkEntitlementPlanFeatureDocument, &res, vars, interceptors...); err != nil { - if c.Client.ParseDataWhenErrors { - return &res, err - } - - return nil, err - } - - return &res, nil -} - const UpdateEntitlementPlanFeatureDocument = `mutation UpdateEntitlementPlanFeature ($updateEntitlementPlanFeatureId: ID!, $input: UpdateEntitlementPlanFeatureInput!) { updateEntitlementPlanFeature(id: $updateEntitlementPlanFeatureId, input: $input) { entitlementPlanFeature { @@ -34638,30 +34662,6 @@ func (c *Client) UpdateEntitlementPlanFeature(ctx context.Context, updateEntitle return &res, nil } -const DeleteEntitlementPlanFeatureDocument = `mutation DeleteEntitlementPlanFeature ($deleteEntitlementPlanFeatureId: ID!) { - deleteEntitlementPlanFeature(id: $deleteEntitlementPlanFeatureId) { - deletedID - } -} -` - -func (c *Client) DeleteEntitlementPlanFeature(ctx context.Context, deleteEntitlementPlanFeatureID string, interceptors ...clientv2.RequestInterceptor) (*DeleteEntitlementPlanFeature, error) { - vars := map[string]any{ - "deleteEntitlementPlanFeatureId": deleteEntitlementPlanFeatureID, - } - - var res DeleteEntitlementPlanFeature - if err := c.Client.Post(ctx, "DeleteEntitlementPlanFeature", DeleteEntitlementPlanFeatureDocument, &res, vars, interceptors...); err != nil { - if c.Client.ParseDataWhenErrors { - return &res, err - } - - return nil, err - } - - return &res, nil -} - const GetAllEntitlementPlanFeatureHistoriesDocument = `query GetAllEntitlementPlanFeatureHistories { entitlementPlanFeatureHistories { edges { @@ -35585,185 +35585,9 @@ func (c *Client) GetEntityTypeHistories(ctx context.Context, where *EntityTypeHi return &res, nil } -const GetEventsDocument = `query GetEvents ($where: EventWhereInput) { - events(where: $where) { - edges { - node { - eventID - id - correlationID - eventType - metadata - } - } - } -} -` - -func (c *Client) GetEvents(ctx context.Context, where *EventWhereInput, interceptors ...clientv2.RequestInterceptor) (*GetEvents, error) { - vars := map[string]any{ - "where": where, - } - - var res GetEvents - if err := c.Client.Post(ctx, "GetEvents", GetEventsDocument, &res, vars, interceptors...); err != nil { - if c.Client.ParseDataWhenErrors { - return &res, err - } - - return nil, err - } - - return &res, nil -} - -const GetEventByIDDocument = `query GetEventByID ($eventId: ID!) { - event(id: $eventId) { - id - createdAt - updatedAt - createdBy - updatedBy - eventID - correlationID - eventType - metadata - user { - id - } - group { - id - } - integration { - id - } - organization { - id - } - invite { - id - } - feature { - id - } - personalAccessToken { - id - } - oauth2token { - id - } - hush { - id - } - orgmembership { - id - } - groupmembership { - id - } - entitlement { - id - } - webhook { - id - } - } -} -` - -func (c *Client) GetEventByID(ctx context.Context, eventID string, interceptors ...clientv2.RequestInterceptor) (*GetEventByID, error) { - vars := map[string]any{ - "eventId": eventID, - } - - var res GetEventByID - if err := c.Client.Post(ctx, "GetEventByID", GetEventByIDDocument, &res, vars, interceptors...); err != nil { - if c.Client.ParseDataWhenErrors { - return &res, err - } - - return nil, err - } - - return &res, nil -} - -const GetAllEventsDocument = `query GetAllEvents { - events { - edges { - node { - id - createdAt - updatedAt - createdBy - updatedBy - eventID - correlationID - eventType - metadata - user { - id - } - group { - id - } - integration { - id - } - organization { - id - } - invite { - id - } - feature { - id - } - personalAccessToken { - id - } - oauth2token { - id - } - hush { - id - } - orgmembership { - id - } - groupmembership { - id - } - entitlement { - id - } - webhook { - id - } - } - } - } -} -` - -func (c *Client) GetAllEvents(ctx context.Context, interceptors ...clientv2.RequestInterceptor) (*GetAllEvents, error) { - vars := map[string]any{} - - var res GetAllEvents - if err := c.Client.Post(ctx, "GetAllEvents", GetAllEventsDocument, &res, vars, interceptors...); err != nil { - if c.Client.ParseDataWhenErrors { - return &res, err - } - - return nil, err - } - - return &res, nil -} - -const CreateEventDocument = `mutation CreateEvent ($input: CreateEventInput!) { - createEvent(input: $input) { - event { +const CreateBulkCSVEventDocument = `mutation CreateBulkCSVEvent ($input: Upload!) { + createBulkCSVEvent(input: $input) { + events { id eventID correlationID @@ -35813,13 +35637,13 @@ const CreateEventDocument = `mutation CreateEvent ($input: CreateEventInput!) { } ` -func (c *Client) CreateEvent(ctx context.Context, input CreateEventInput, interceptors ...clientv2.RequestInterceptor) (*CreateEvent, error) { +func (c *Client) CreateBulkCSVEvent(ctx context.Context, input graphql.Upload, interceptors ...clientv2.RequestInterceptor) (*CreateBulkCSVEvent, error) { vars := map[string]any{ "input": input, } - var res CreateEvent - if err := c.Client.Post(ctx, "CreateEvent", CreateEventDocument, &res, vars, interceptors...); err != nil { + var res CreateBulkCSVEvent + if err := c.Client.Post(ctx, "CreateBulkCSVEvent", CreateBulkCSVEventDocument, &res, vars, interceptors...); err != nil { if c.Client.ParseDataWhenErrors { return &res, err } @@ -35899,9 +35723,9 @@ func (c *Client) CreateBulkEvent(ctx context.Context, input []*CreateEventInput, return &res, nil } -const CreateBulkCSVEventDocument = `mutation CreateBulkCSVEvent ($input: Upload!) { - createBulkCSVEvent(input: $input) { - events { +const CreateEventDocument = `mutation CreateEvent ($input: CreateEventInput!) { + createEvent(input: $input) { + event { id eventID correlationID @@ -35951,13 +35775,213 @@ const CreateBulkCSVEventDocument = `mutation CreateBulkCSVEvent ($input: Upload! } ` -func (c *Client) CreateBulkCSVEvent(ctx context.Context, input graphql.Upload, interceptors ...clientv2.RequestInterceptor) (*CreateBulkCSVEvent, error) { +func (c *Client) CreateEvent(ctx context.Context, input CreateEventInput, interceptors ...clientv2.RequestInterceptor) (*CreateEvent, error) { vars := map[string]any{ "input": input, } - var res CreateBulkCSVEvent - if err := c.Client.Post(ctx, "CreateBulkCSVEvent", CreateBulkCSVEventDocument, &res, vars, interceptors...); err != nil { + var res CreateEvent + if err := c.Client.Post(ctx, "CreateEvent", CreateEventDocument, &res, vars, interceptors...); err != nil { + if c.Client.ParseDataWhenErrors { + return &res, err + } + + return nil, err + } + + return &res, nil +} + +const DeleteEventDocument = `mutation DeleteEvent ($deleteEventId: ID!) { + deleteEvent(id: $deleteEventId) { + deletedID + } +} +` + +func (c *Client) DeleteEvent(ctx context.Context, deleteEventID string, interceptors ...clientv2.RequestInterceptor) (*DeleteEvent, error) { + vars := map[string]any{ + "deleteEventId": deleteEventID, + } + + var res DeleteEvent + if err := c.Client.Post(ctx, "DeleteEvent", DeleteEventDocument, &res, vars, interceptors...); err != nil { + if c.Client.ParseDataWhenErrors { + return &res, err + } + + return nil, err + } + + return &res, nil +} + +const GetAllEventsDocument = `query GetAllEvents { + events { + edges { + node { + id + createdAt + updatedAt + createdBy + updatedBy + eventID + correlationID + eventType + metadata + user { + id + } + group { + id + } + integration { + id + } + organization { + id + } + invite { + id + } + feature { + id + } + personalAccessToken { + id + } + oauth2token { + id + } + hush { + id + } + orgmembership { + id + } + groupmembership { + id + } + entitlement { + id + } + webhook { + id + } + } + } + } +} +` + +func (c *Client) GetAllEvents(ctx context.Context, interceptors ...clientv2.RequestInterceptor) (*GetAllEvents, error) { + vars := map[string]any{} + + var res GetAllEvents + if err := c.Client.Post(ctx, "GetAllEvents", GetAllEventsDocument, &res, vars, interceptors...); err != nil { + if c.Client.ParseDataWhenErrors { + return &res, err + } + + return nil, err + } + + return &res, nil +} + +const GetEventByIDDocument = `query GetEventByID ($eventId: ID!) { + event(id: $eventId) { + id + createdAt + updatedAt + createdBy + updatedBy + eventID + correlationID + eventType + metadata + user { + id + } + group { + id + } + integration { + id + } + organization { + id + } + invite { + id + } + feature { + id + } + personalAccessToken { + id + } + oauth2token { + id + } + hush { + id + } + orgmembership { + id + } + groupmembership { + id + } + entitlement { + id + } + webhook { + id + } + } +} +` + +func (c *Client) GetEventByID(ctx context.Context, eventID string, interceptors ...clientv2.RequestInterceptor) (*GetEventByID, error) { + vars := map[string]any{ + "eventId": eventID, + } + + var res GetEventByID + if err := c.Client.Post(ctx, "GetEventByID", GetEventByIDDocument, &res, vars, interceptors...); err != nil { + if c.Client.ParseDataWhenErrors { + return &res, err + } + + return nil, err + } + + return &res, nil +} + +const GetEventsDocument = `query GetEvents ($where: EventWhereInput) { + events(where: $where) { + edges { + node { + eventID + id + correlationID + eventType + metadata + } + } + } +} +` + +func (c *Client) GetEvents(ctx context.Context, where *EventWhereInput, interceptors ...clientv2.RequestInterceptor) (*GetEvents, error) { + vars := map[string]any{ + "where": where, + } + + var res GetEvents + if err := c.Client.Post(ctx, "GetEvents", GetEventsDocument, &res, vars, interceptors...); err != nil { if c.Client.ParseDataWhenErrors { return &res, err } @@ -36042,30 +36066,6 @@ func (c *Client) UpdateEvent(ctx context.Context, updateEventID string, input Up return &res, nil } -const DeleteEventDocument = `mutation DeleteEvent ($deleteEventId: ID!) { - deleteEvent(id: $deleteEventId) { - deletedID - } -} -` - -func (c *Client) DeleteEvent(ctx context.Context, deleteEventID string, interceptors ...clientv2.RequestInterceptor) (*DeleteEvent, error) { - vars := map[string]any{ - "deleteEventId": deleteEventID, - } - - var res DeleteEvent - if err := c.Client.Post(ctx, "DeleteEvent", DeleteEventDocument, &res, vars, interceptors...); err != nil { - if c.Client.ParseDataWhenErrors { - return &res, err - } - - return nil, err - } - - return &res, nil -} - const GetAllEventHistoriesDocument = `query GetAllEventHistories { eventHistories { edges { @@ -42441,8 +42441,8 @@ var DocumentOperationNames = map[string]string{ GetAllAPITokensDocument: "GetAllAPITokens", GetAPITokenByIDDocument: "GetAPITokenByID", DeleteAPITokenDocument: "DeleteAPIToken", - CreateBulkCSVContactDocument: "CreateBulkCSVContact", CreateBulkContactDocument: "CreateBulkContact", + CreateBulkCSVContactDocument: "CreateBulkCSVContact", CreateContactDocument: "CreateContact", DeleteContactDocument: "DeleteContact", GetAllContactsDocument: "GetAllContacts", @@ -42475,14 +42475,14 @@ var DocumentOperationNames = map[string]string{ GetEntitlementPlanByIDDocument: "GetEntitlementPlanByID", GetEntitlementPlansDocument: "GetEntitlementPlans", UpdateEntitlementPlanDocument: "UpdateEntitlementPlan", + CreateBulkCSVEntitlementPlanFeatureDocument: "CreateBulkCSVEntitlementPlanFeature", + CreateBulkEntitlementPlanFeatureDocument: "CreateBulkEntitlementPlanFeature", + CreateEntitlementPlanFeatureDocument: "CreateEntitlementPlanFeature", + DeleteEntitlementPlanFeatureDocument: "DeleteEntitlementPlanFeature", GetAllEntitlementPlanFeaturesDocument: "GetAllEntitlementPlanFeatures", GetEntitlementPlanFeatureByIDDocument: "GetEntitlementPlanFeatureByID", GetEntitlementPlanFeaturesDocument: "GetEntitlementPlanFeatures", - CreateEntitlementPlanFeatureDocument: "CreateEntitlementPlanFeature", - CreateBulkCSVEntitlementPlanFeatureDocument: "CreateBulkCSVEntitlementPlanFeature", - CreateBulkEntitlementPlanFeatureDocument: "CreateBulkEntitlementPlanFeature", UpdateEntitlementPlanFeatureDocument: "UpdateEntitlementPlanFeature", - DeleteEntitlementPlanFeatureDocument: "DeleteEntitlementPlanFeature", GetAllEntitlementPlanFeatureHistoriesDocument: "GetAllEntitlementPlanFeatureHistories", GetEntitlementPlanFeatureHistoriesDocument: "GetEntitlementPlanFeatureHistories", GetAllEntitlementPlanHistoriesDocument: "GetAllEntitlementPlanHistories", @@ -42507,14 +42507,14 @@ var DocumentOperationNames = map[string]string{ UpdateEntityTypeDocument: "UpdateEntityType", GetAllEntityTypeHistoriesDocument: "GetAllEntityTypeHistories", GetEntityTypeHistoriesDocument: "GetEntityTypeHistories", - GetEventsDocument: "GetEvents", - GetEventByIDDocument: "GetEventByID", - GetAllEventsDocument: "GetAllEvents", - CreateEventDocument: "CreateEvent", - CreateBulkEventDocument: "CreateBulkEvent", CreateBulkCSVEventDocument: "CreateBulkCSVEvent", - UpdateEventDocument: "UpdateEvent", + CreateBulkEventDocument: "CreateBulkEvent", + CreateEventDocument: "CreateEvent", DeleteEventDocument: "DeleteEvent", + GetAllEventsDocument: "GetAllEvents", + GetEventByIDDocument: "GetEventByID", + GetEventsDocument: "GetEvents", + UpdateEventDocument: "UpdateEvent", GetAllEventHistoriesDocument: "GetAllEventHistories", GetEventHistoriesDocument: "GetEventHistories", CreateBulkCSVFeatureDocument: "CreateBulkCSVFeature", diff --git a/query/contact.graphql b/query/contact.graphql index afd207c4..30022d54 100644 --- a/query/contact.graphql +++ b/query/contact.graphql @@ -1,6 +1,5 @@ - -mutation CreateBulkCSVContact($input: Upload!) { - createBulkCSVContact(input: $input) { +mutation CreateBulkContact($input: [CreateContactInput!]) { + createBulkContact(input: $input) { contacts { address company @@ -20,8 +19,8 @@ mutation CreateBulkCSVContact($input: Upload!) { } } -mutation CreateBulkContact($input: [CreateContactInput!]) { - createBulkContact(input: $input) { +mutation CreateBulkCSVContact($input: Upload!) { + createBulkCSVContact(input: $input) { contacts { address company @@ -90,6 +89,7 @@ query GetAllContacts { } } } + query GetContactByID($contactId: ID!) { contact(id: $contactId) { address @@ -131,6 +131,7 @@ query GetContacts($where: ContactWhereInput) { } } } + mutation UpdateContact($updateContactId: ID!, $input: UpdateContactInput!) { updateContact(id: $updateContactId, input: $input) { contact { diff --git a/query/documentdatahistory.graphql b/query/documentdatahistory.graphql index ffa45c7c..d889155b 100644 --- a/query/documentdatahistory.graphql +++ b/query/documentdatahistory.graphql @@ -1,5 +1,3 @@ - - query GetAllDocumentDataHistories { documentDataHistories { edges { diff --git a/query/entitlementplanfeature.graphql b/query/entitlementplanfeature.graphql index 048e7f2f..43f6c97d 100644 --- a/query/entitlementplanfeature.graphql +++ b/query/entitlementplanfeature.graphql @@ -1,3 +1,60 @@ +mutation CreateBulkCSVEntitlementPlanFeature($input: Upload!) { + createBulkCSVEntitlementPlanFeature(input: $input) { + entitlementPlanFeatures { + id + metadata + plan { + id + name + } + feature { + id + name + } + } + } +} + +mutation CreateBulkEntitlementPlanFeature($input: [CreateEntitlementPlanFeatureInput!]) { + createBulkEntitlementPlanFeature(input: $input) { + entitlementPlanFeatures { + id + metadata + plan { + id + name + } + feature { + id + name + } + } + } +} + +mutation CreateEntitlementPlanFeature($input: CreateEntitlementPlanFeatureInput!) { + createEntitlementPlanFeature(input: $input) { + entitlementPlanFeature { + id + metadata + plan { + id + name + } + feature { + id + name + } + } + } +} + +mutation DeleteEntitlementPlanFeature($deleteEntitlementPlanFeatureId: ID!) { + deleteEntitlementPlanFeature(id: $deleteEntitlementPlanFeatureId) { + deletedID + } +} + query GetAllEntitlementPlanFeatures { entitlementPlanFeatures { edges { @@ -51,60 +108,9 @@ query GetEntitlementPlanFeatures($where: EntitlementPlanFeatureWhereInput) { } } -mutation CreateEntitlementPlanFeature($input: CreateEntitlementPlanFeatureInput!) { - createEntitlementPlanFeature(input: $input) { - entitlementPlanFeature { - id - metadata - plan { - id - name - } - feature { - id - name - } - } - } -} - -mutation CreateBulkCSVEntitlementPlanFeature($input: Upload!) { - createBulkCSVEntitlementPlanFeature(input: $input) { - entitlementPlanFeatures { - id - metadata - plan { - id - name - } - feature { - id - name - } - } - } -} - -mutation CreateBulkEntitlementPlanFeature($input: [CreateEntitlementPlanFeatureInput!]) { - createBulkEntitlementPlanFeature(input: $input) { - entitlementPlanFeatures { - id - metadata - plan { - id - name - } - feature { - id - name - } - } - } -} - mutation UpdateEntitlementPlanFeature($updateEntitlementPlanFeatureId: ID!, $input: UpdateEntitlementPlanFeatureInput!) { updateEntitlementPlanFeature(id: $updateEntitlementPlanFeatureId, input: $input) { - entitlementPlanFeature { + entitlementPlanFeature { id metadata plan { @@ -118,9 +124,3 @@ mutation UpdateEntitlementPlanFeature($updateEntitlementPlanFeatureId: ID!, $inp } } } - -mutation DeleteEntitlementPlanFeature($deleteEntitlementPlanFeatureId: ID!) { - deleteEntitlementPlanFeature(id: $deleteEntitlementPlanFeatureId) { - deletedID - } -} \ No newline at end of file diff --git a/query/entitytypehistory.graphql b/query/entitytypehistory.graphql index c569de17..6ffdd93e 100644 --- a/query/entitytypehistory.graphql +++ b/query/entitytypehistory.graphql @@ -1,5 +1,3 @@ - - query GetAllEntityTypeHistories { entityTypeHistories { edges { diff --git a/query/event.graphql b/query/event.graphql index a203efcc..953192b6 100644 --- a/query/event.graphql +++ b/query/event.graphql @@ -1,130 +1,6 @@ -query GetEvents($where: EventWhereInput) { - events(where: $where) { - edges { - node { - eventID - id - correlationID - eventType - metadata - } - } - } -} - -query GetEventByID($eventId: ID!) { - event(id: $eventId) { - id - createdAt - updatedAt - createdBy - updatedBy - eventID - correlationID - eventType - metadata - user { - id - } - group { - id - } - integration { - id - } - organization { - id - } - invite { - id - } - feature { - id - } - personalAccessToken { - id - } - oauth2token { - id - } - hush { - id - } - orgmembership { - id - } - groupmembership { - id - } - entitlement { - id - } - webhook { - id - } - } -} - -query GetAllEvents { - events { - edges { - node { - id - createdAt - updatedAt - createdBy - updatedBy - eventID - correlationID - eventType - metadata - user { - id - } - group { - id - } - integration { - id - } - organization { - id - } - invite { - id - } - feature { - id - } - personalAccessToken { - id - } - oauth2token { - id - } - hush { - id - } - orgmembership { - id - } - groupmembership { - id - } - entitlement { - id - } - webhook { - id - } - } - } - } -} - -mutation CreateEvent($input: CreateEventInput!) { - createEvent(input: $input) { - event { +mutation CreateBulkCSVEvent($input: Upload!) { + createBulkCSVEvent(input: $input) { + events { id eventID correlationID @@ -155,7 +31,7 @@ mutation CreateEvent($input: CreateEventInput!) { id } hush { - id + id } orgmembership { id @@ -176,7 +52,7 @@ mutation CreateEvent($input: CreateEventInput!) { mutation CreateBulkEvent($input: [CreateEventInput!]) { createBulkEvent(input: $input) { events { - id + id eventID correlationID eventType @@ -206,7 +82,7 @@ mutation CreateBulkEvent($input: [CreateEventInput!]) { id } hush { - id + id } orgmembership { id @@ -224,10 +100,10 @@ mutation CreateBulkEvent($input: [CreateEventInput!]) { } } -mutation CreateBulkCSVEvent($input: Upload!) { - createBulkCSVEvent(input: $input) { - events { - id +mutation CreateEvent($input: CreateEventInput!) { + createEvent(input: $input) { + event { + id eventID correlationID eventType @@ -257,7 +133,7 @@ mutation CreateBulkCSVEvent($input: Upload!) { id } hush { - id + id } orgmembership { id @@ -275,6 +151,136 @@ mutation CreateBulkCSVEvent($input: Upload!) { } } +mutation DeleteEvent($deleteEventId: ID!) { + deleteEvent(id: $deleteEventId) { + deletedID + } +} + +query GetAllEvents { + events { + edges { + node { + id + createdAt + updatedAt + createdBy + updatedBy + eventID + correlationID + eventType + metadata + user { + id + } + group { + id + } + integration { + id + } + organization { + id + } + invite { + id + } + feature { + id + } + personalAccessToken { + id + } + oauth2token { + id + } + hush { + id + } + orgmembership { + id + } + groupmembership { + id + } + entitlement { + id + } + webhook { + id + } + } + } + } +} + +query GetEventByID($eventId: ID!) { + event(id: $eventId) { + id + createdAt + updatedAt + createdBy + updatedBy + eventID + correlationID + eventType + metadata + user { + id + } + group { + id + } + integration { + id + } + organization { + id + } + invite { + id + } + feature { + id + } + personalAccessToken { + id + } + oauth2token { + id + } + hush { + id + } + orgmembership { + id + } + groupmembership { + id + } + entitlement { + id + } + webhook { + id + } + } +} + +query GetEvents($where: EventWhereInput) { + events(where: $where) { + edges { + node { + eventID + id + correlationID + eventType + metadata + } + } + } +} + mutation UpdateEvent($updateEventId: ID!, $input: UpdateEventInput!) { updateEvent(id: $updateEventId, input: $input) { event { @@ -312,7 +318,7 @@ mutation UpdateEvent($updateEventId: ID!, $input: UpdateEventInput!) { id } hush { - id + id } orgmembership { id @@ -329,10 +335,3 @@ mutation UpdateEvent($updateEventId: ID!, $input: UpdateEventInput!) { } } } - - -mutation DeleteEvent($deleteEventId: ID!) { - deleteEvent(id: $deleteEventId) { - deletedID - } -} \ No newline at end of file diff --git a/query/notehistory.graphql b/query/notehistory.graphql index e7beeb1e..f904829f 100644 --- a/query/notehistory.graphql +++ b/query/notehistory.graphql @@ -1,5 +1,3 @@ - - query GetAllNoteHistories { noteHistories { edges {