Skip to content

Latest commit

 

History

History
116 lines (97 loc) · 2.72 KB

File metadata and controls

116 lines (97 loc) · 2.72 KB

BenefitCreate

Supported Types

components.BenefitCustomCreate

const value: components.BenefitCustomCreate = {
  type: "custom",
  description: "for furthermore careless provided readjust",
  organizationId: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
  properties: {},
};

components.BenefitDiscordCreate

const value: components.BenefitDiscordCreate = {
  type: "discord",
  description: "posh anenst yet physical boulevard",
  organizationId: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
  properties: {
    guildToken: "<value>",
    roleId: "<id>",
    kickMember: true,
  },
};

components.BenefitDownloadablesCreate

const value: components.BenefitDownloadablesCreate = {
  type: "downloadables",
  description: "mortally violent horst puff role toward",
  organizationId: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
  properties: {
    files: [
      "<value 1>",
      "<value 2>",
    ],
  },
};

components.BenefitFeatureFlagCreate

const value: components.BenefitFeatureFlagCreate = {
  type: "feature_flag",
  description: "tarragon stunt deep phew unless inasmuch tut anti if",
  organizationId: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
  properties: {},
};

components.BenefitGitHubRepositoryCreate

const value: components.BenefitGitHubRepositoryCreate = {
  type: "github_repository",
  description:
    "amidst psst broadcast huzzah consequently tentacle idealistic ack hard-to-find boohoo",
  organizationId: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
  properties: {
    repositoryOwner: "polarsource",
    repositoryName: "private_repo",
    permission: "admin",
  },
};

components.BenefitLicenseKeysCreate

const value: components.BenefitLicenseKeysCreate = {
  type: "license_keys",
  description:
    "what vein basic soap scarcely indeed petty censor airline cautiously",
  organizationId: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
  properties: {},
};

components.BenefitMeterCreditCreate

const value: components.BenefitMeterCreditCreate = {
  type: "meter_credit",
  description:
    "revere swiftly epic incidentally minion noisily internalise while braid",
  organizationId: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
  properties: {
    units: 697633,
    rollover: true,
    meterId: "<value>",
  },
};

components.BenefitSlackSharedChannelCreate

const value: components.BenefitSlackSharedChannelCreate = {
  type: "slack_shared_channel",
  description: "till afore cute miscalculate miskey vice what fumigate hence",
  organizationId: "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
  properties: {
    slackIntegrationId: "<value>",
    channelNameTemplate: "<value>",
  },
};