symbols:
'NewInventoryClient@go.inventory.fun':
id: 'NewInventoryClient@go.inventory.fun'
name: 'NewInventoryClient'
type: 'function'
arguments:
configRepository:
type: 'repository.ConfigRepository'
return_type: '*inventoryclient.JusticeInventoryService'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/factory'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/repository'
- 'github.com/AccelByte/accelbyte-go-modular-sdk/inventory-sdk/pkg/inventoryclient'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/justice_inventory_service_client.go'
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/factory/inventoryclientfactory.go'
example: |-
inventoryClient := factory.NewInventoryClient(configRepo)
# region wrappers
'AdminChainingOperationsService@go.inventory.mod':
id: 'AdminChainingOperationsService@go.inventory.mod'
name: 'AdminChainingOperationsService'
type: 'model'
fields:
Client:
type: '*inventoryclient.JusticeInventoryService'
ConfigRepository:
type: 'repository.ConfigRepository'
TokenRepository:
type: 'repository.TokenRepository'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/factory'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/repository'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminChainingOperations.go'
example: |-
inventoryClient := factory.NewInventoryClient(configRepo) // re-use if it exists already
adminChainingOperationsService := AdminChainingOperationsService{
Client: inventoryClient,
ConfigRepository: configRepo,
TokenRepository: tokenRepo,
}
'AdminIntegrationConfigurationsService@go.inventory.mod':
id: 'AdminIntegrationConfigurationsService@go.inventory.mod'
name: 'AdminIntegrationConfigurationsService'
type: 'model'
fields:
Client:
type: '*inventoryclient.JusticeInventoryService'
ConfigRepository:
type: 'repository.ConfigRepository'
TokenRepository:
type: 'repository.TokenRepository'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/factory'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/repository'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminIntegrationConfigurations.go'
example: |-
inventoryClient := factory.NewInventoryClient(configRepo) // re-use if it exists already
adminIntegrationConfigurationsService := AdminIntegrationConfigurationsService{
Client: inventoryClient,
ConfigRepository: configRepo,
TokenRepository: tokenRepo,
}
'AdminInventoriesService@go.inventory.mod':
id: 'AdminInventoriesService@go.inventory.mod'
name: 'AdminInventoriesService'
type: 'model'
fields:
Client:
type: '*inventoryclient.JusticeInventoryService'
ConfigRepository:
type: 'repository.ConfigRepository'
TokenRepository:
type: 'repository.TokenRepository'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/factory'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/repository'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminInventories.go'
example: |-
inventoryClient := factory.NewInventoryClient(configRepo) // re-use if it exists already
adminInventoriesService := AdminInventoriesService{
Client: inventoryClient,
ConfigRepository: configRepo,
TokenRepository: tokenRepo,
}
'AdminInventoryConfigurationsService@go.inventory.mod':
id: 'AdminInventoryConfigurationsService@go.inventory.mod'
name: 'AdminInventoryConfigurationsService'
type: 'model'
fields:
Client:
type: '*inventoryclient.JusticeInventoryService'
ConfigRepository:
type: 'repository.ConfigRepository'
TokenRepository:
type: 'repository.TokenRepository'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/factory'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/repository'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminInventoryConfigurations.go'
example: |-
inventoryClient := factory.NewInventoryClient(configRepo) // re-use if it exists already
adminInventoryConfigurationsService := AdminInventoryConfigurationsService{
Client: inventoryClient,
ConfigRepository: configRepo,
TokenRepository: tokenRepo,
}
'AdminItemTypesService@go.inventory.mod':
id: 'AdminItemTypesService@go.inventory.mod'
name: 'AdminItemTypesService'
type: 'model'
fields:
Client:
type: '*inventoryclient.JusticeInventoryService'
ConfigRepository:
type: 'repository.ConfigRepository'
TokenRepository:
type: 'repository.TokenRepository'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/factory'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/repository'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminItemTypes.go'
example: |-
inventoryClient := factory.NewInventoryClient(configRepo) // re-use if it exists already
adminItemTypesService := AdminItemTypesService{
Client: inventoryClient,
ConfigRepository: configRepo,
TokenRepository: tokenRepo,
}
'AdminItemsService@go.inventory.mod':
id: 'AdminItemsService@go.inventory.mod'
name: 'AdminItemsService'
type: 'model'
fields:
Client:
type: '*inventoryclient.JusticeInventoryService'
ConfigRepository:
type: 'repository.ConfigRepository'
TokenRepository:
type: 'repository.TokenRepository'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/factory'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/repository'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminItems.go'
example: |-
inventoryClient := factory.NewInventoryClient(configRepo) // re-use if it exists already
adminItemsService := AdminItemsService{
Client: inventoryClient,
ConfigRepository: configRepo,
TokenRepository: tokenRepo,
}
'AdminTagsService@go.inventory.mod':
id: 'AdminTagsService@go.inventory.mod'
name: 'AdminTagsService'
type: 'model'
fields:
Client:
type: '*inventoryclient.JusticeInventoryService'
ConfigRepository:
type: 'repository.ConfigRepository'
TokenRepository:
type: 'repository.TokenRepository'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/factory'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/repository'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminTags.go'
example: |-
inventoryClient := factory.NewInventoryClient(configRepo) // re-use if it exists already
adminTagsService := AdminTagsService{
Client: inventoryClient,
ConfigRepository: configRepo,
TokenRepository: tokenRepo,
}
'PublicInventoriesService@go.inventory.mod':
id: 'PublicInventoriesService@go.inventory.mod'
name: 'PublicInventoriesService'
type: 'model'
fields:
Client:
type: '*inventoryclient.JusticeInventoryService'
ConfigRepository:
type: 'repository.ConfigRepository'
TokenRepository:
type: 'repository.TokenRepository'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/factory'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/repository'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/publicInventories.go'
example: |-
inventoryClient := factory.NewInventoryClient(configRepo) // re-use if it exists already
publicInventoriesService := PublicInventoriesService{
Client: inventoryClient,
ConfigRepository: configRepo,
TokenRepository: tokenRepo,
}
'PublicInventoryConfigurationsService@go.inventory.mod':
id: 'PublicInventoryConfigurationsService@go.inventory.mod'
name: 'PublicInventoryConfigurationsService'
type: 'model'
fields:
Client:
type: '*inventoryclient.JusticeInventoryService'
ConfigRepository:
type: 'repository.ConfigRepository'
TokenRepository:
type: 'repository.TokenRepository'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/factory'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/repository'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/publicInventoryConfigurations.go'
example: |-
inventoryClient := factory.NewInventoryClient(configRepo) // re-use if it exists already
publicInventoryConfigurationsService := PublicInventoryConfigurationsService{
Client: inventoryClient,
ConfigRepository: configRepo,
TokenRepository: tokenRepo,
}
'PublicItemTypesService@go.inventory.mod':
id: 'PublicItemTypesService@go.inventory.mod'
name: 'PublicItemTypesService'
type: 'model'
fields:
Client:
type: '*inventoryclient.JusticeInventoryService'
ConfigRepository:
type: 'repository.ConfigRepository'
TokenRepository:
type: 'repository.TokenRepository'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/factory'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/repository'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/publicItemTypes.go'
example: |-
inventoryClient := factory.NewInventoryClient(configRepo) // re-use if it exists already
publicItemTypesService := PublicItemTypesService{
Client: inventoryClient,
ConfigRepository: configRepo,
TokenRepository: tokenRepo,
}
'PublicItemsService@go.inventory.mod':
id: 'PublicItemsService@go.inventory.mod'
name: 'PublicItemsService'
type: 'model'
fields:
Client:
type: '*inventoryclient.JusticeInventoryService'
ConfigRepository:
type: 'repository.ConfigRepository'
TokenRepository:
type: 'repository.TokenRepository'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/factory'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/repository'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/publicItems.go'
example: |-
inventoryClient := factory.NewInventoryClient(configRepo) // re-use if it exists already
publicItemsService := PublicItemsService{
Client: inventoryClient,
ConfigRepository: configRepo,
TokenRepository: tokenRepo,
}
'PublicTagsService@go.inventory.mod':
id: 'PublicTagsService@go.inventory.mod'
name: 'PublicTagsService'
type: 'model'
fields:
Client:
type: '*inventoryclient.JusticeInventoryService'
ConfigRepository:
type: 'repository.ConfigRepository'
TokenRepository:
type: 'repository.TokenRepository'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/factory'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/repository'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/publicTags.go'
example: |-
inventoryClient := factory.NewInventoryClient(configRepo) // re-use if it exists already
publicTagsService := PublicTagsService{
Client: inventoryClient,
ConfigRepository: configRepo,
TokenRepository: tokenRepo,
}
# endregion wrappers
# region params
'AdminBulkRemoveItemsParams@go.inventory.mod':
id: 'AdminBulkRemoveItemsParams@go.inventory.mod'
name: 'AdminBulkRemoveItemsParams'
type: 'model'
fields:
'Body':
type: '[]*ApimodelsRemoveInventoryItemReq'
required: true
'InventoryID':
type: 'string'
required: true
description: |-
InventoryID
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'UserID':
type: 'string'
required: true
description: |-
userID
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_items/admin_bulk_remove_items_parameters.go'
'AdminBulkSaveItemParams@go.inventory.mod':
id: 'AdminBulkSaveItemParams@go.inventory.mod'
name: 'AdminBulkSaveItemParams'
type: 'model'
fields:
'Body':
type: '[]*ApimodelsSaveItemReq'
required: true
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'UserID':
type: 'string'
required: true
description: |-
UserID
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_items/admin_bulk_save_item_parameters.go'
'AdminBulkSaveItemToInventoryParams@go.inventory.mod':
id: 'AdminBulkSaveItemToInventoryParams@go.inventory.mod'
name: 'AdminBulkSaveItemToInventoryParams'
type: 'model'
fields:
'Body':
type: '[]*ApimodelsSaveItemToInventoryReq'
required: true
'InventoryID':
type: 'string'
required: true
description: |-
inventoryID
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'UserID':
type: 'string'
required: true
description: |-
UserID
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_items/admin_bulk_save_item_to_inventory_parameters.go'
'AdminBulkUpdateMyItemsParams@go.inventory.mod':
id: 'AdminBulkUpdateMyItemsParams@go.inventory.mod'
name: 'AdminBulkUpdateMyItemsParams'
type: 'model'
fields:
'Body':
type: '[]*ApimodelsAdminUpdateItemReq'
required: true
'InventoryID':
type: 'string'
required: true
description: |-
InventoryID
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'UserID':
type: 'string'
required: true
description: |-
userID
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_items/admin_bulk_update_my_items_parameters.go'
'AdminConsumeUserItemParams@go.inventory.mod':
id: 'AdminConsumeUserItemParams@go.inventory.mod'
name: 'AdminConsumeUserItemParams'
type: 'model'
fields:
'Body':
type: '*ApimodelsConsumeItemReq'
required: true
'DateRangeValidation':
type: 'string'
required: false
description: |-
default is false
'InventoryID':
type: 'string'
required: true
description: |-
InventoryID
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'UserID':
type: 'string'
required: true
description: |-
userID
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_items/admin_consume_user_item_parameters.go'
'AdminCreateChainingOperationsParams@go.inventory.mod':
id: 'AdminCreateChainingOperationsParams@go.inventory.mod'
name: 'AdminCreateChainingOperationsParams'
type: 'model'
fields:
'Body':
type: '*ApimodelsChainingOperationReq'
required: true
'Namespace':
type: 'string'
required: true
description: |-
Namespace
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_chaining_operations'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_chaining_operations/admin_create_chaining_operations_parameters.go'
'AdminCreateIntegrationConfigurationParams@go.inventory.mod':
id: 'AdminCreateIntegrationConfigurationParams@go.inventory.mod'
name: 'AdminCreateIntegrationConfigurationParams'
type: 'model'
fields:
'Body':
type: '*ApimodelsCreateIntegrationConfigurationReq'
required: true
'Namespace':
type: 'string'
required: true
description: |-
Namespace
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_integration_configurations'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_integration_configurations/admin_create_integration_configuration_parameters.go'
'AdminCreateInventoryParams@go.inventory.mod':
id: 'AdminCreateInventoryParams@go.inventory.mod'
name: 'AdminCreateInventoryParams'
type: 'model'
fields:
'Body':
type: '*ApimodelsCreateInventoryReq'
required: true
'Namespace':
type: 'string'
required: true
description: |-
Namespace
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventories'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_inventories/admin_create_inventory_parameters.go'
'AdminCreateInventoryConfigurationParams@go.inventory.mod':
id: 'AdminCreateInventoryConfigurationParams@go.inventory.mod'
name: 'AdminCreateInventoryConfigurationParams'
type: 'model'
fields:
'Body':
type: '*ApimodelsCreateInventoryConfigurationReq'
required: true
'Namespace':
type: 'string'
required: true
description: |-
Namespace
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventory_configurations'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_inventory_configurations/admin_create_inventory_configuration_parameters.go'
'AdminCreateItemTypeParams@go.inventory.mod':
id: 'AdminCreateItemTypeParams@go.inventory.mod'
name: 'AdminCreateItemTypeParams'
type: 'model'
fields:
'Body':
type: '*ApimodelsCreateItemTypeReq'
required: true
'Namespace':
type: 'string'
required: true
description: |-
Namespace
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_item_types'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_item_types/admin_create_item_type_parameters.go'
'AdminCreateTagParams@go.inventory.mod':
id: 'AdminCreateTagParams@go.inventory.mod'
name: 'AdminCreateTagParams'
type: 'model'
fields:
'Body':
type: '*ApimodelsCreateTagReq'
required: true
'Namespace':
type: 'string'
required: true
description: |-
Namespace
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_tags'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_tags/admin_create_tag_parameters.go'
'AdminDeleteInventoryConfigurationParams@go.inventory.mod':
id: 'AdminDeleteInventoryConfigurationParams@go.inventory.mod'
name: 'AdminDeleteInventoryConfigurationParams'
type: 'model'
fields:
'InventoryConfigurationID':
type: 'string'
required: true
description: |-
InventoryConfigurationID
'Namespace':
type: 'string'
required: true
description: |-
Namespace
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventory_configurations'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_inventory_configurations/admin_delete_inventory_configuration_parameters.go'
'AdminDeleteItemTypeParams@go.inventory.mod':
id: 'AdminDeleteItemTypeParams@go.inventory.mod'
name: 'AdminDeleteItemTypeParams'
type: 'model'
fields:
'ItemTypeName':
type: 'string'
required: true
description: |-
ItemTypeName
'Namespace':
type: 'string'
required: true
description: |-
Namespace
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_item_types'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_item_types/admin_delete_item_type_parameters.go'
'AdminDeleteTagParams@go.inventory.mod':
id: 'AdminDeleteTagParams@go.inventory.mod'
name: 'AdminDeleteTagParams'
type: 'model'
fields:
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'TagName':
type: 'string'
required: true
description: |-
TagName
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_tags'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_tags/admin_delete_tag_parameters.go'
'AdminGetInventoryParams@go.inventory.mod':
id: 'AdminGetInventoryParams@go.inventory.mod'
name: 'AdminGetInventoryParams'
type: 'model'
fields:
'InventoryID':
type: 'string'
required: true
description: |-
InventoryID
'Namespace':
type: 'string'
required: true
description: |-
Namespace
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventories'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_inventories/admin_get_inventory_parameters.go'
'AdminGetInventoryConfigurationParams@go.inventory.mod':
id: 'AdminGetInventoryConfigurationParams@go.inventory.mod'
name: 'AdminGetInventoryConfigurationParams'
type: 'model'
fields:
'InventoryConfigurationID':
type: 'string'
required: true
description: |-
InventoryConfigurationID
'Namespace':
type: 'string'
required: true
description: |-
Namespace
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventory_configurations'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_inventory_configurations/admin_get_inventory_configuration_parameters.go'
'AdminGetInventoryItemParams@go.inventory.mod':
id: 'AdminGetInventoryItemParams@go.inventory.mod'
name: 'AdminGetInventoryItemParams'
type: 'model'
fields:
'InventoryID':
type: 'string'
required: true
description: |-
InventoryID
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'SlotID':
type: 'string'
required: true
description: |-
slotID
'SourceItemID':
type: 'string'
required: true
description: |-
sourceItemID
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_items/admin_get_inventory_item_parameters.go'
'AdminListIntegrationConfigurationsParams@go.inventory.mod':
id: 'AdminListIntegrationConfigurationsParams@go.inventory.mod'
name: 'AdminListIntegrationConfigurationsParams'
type: 'model'
fields:
'Limit':
type: 'int64'
required: false
description: |-
default 25
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'Offset':
type: 'int64'
required: false
'SortBy':
type: 'string'
required: false
description: |-
Only support one level of sortBy; default createdAt
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_integration_configurations'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_integration_configurations/admin_list_integration_configurations_parameters.go'
'AdminListInventoriesParams@go.inventory.mod':
id: 'AdminListInventoriesParams@go.inventory.mod'
name: 'AdminListInventoriesParams'
type: 'model'
fields:
'InventoryConfigurationCode':
type: 'string'
required: false
description: |-
InventoryConfigurationCode
'Limit':
type: 'int64'
required: false
description: |-
default 25
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'Offset':
type: 'int64'
required: false
'SortBy':
type: 'string'
required: false
description: |-
Only support one level of sortBy; default createdAt
'UserID':
type: 'string'
required: false
description: |-
UserID
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventories'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_inventories/admin_list_inventories_parameters.go'
'AdminListInventoryConfigurationsParams@go.inventory.mod':
id: 'AdminListInventoryConfigurationsParams@go.inventory.mod'
name: 'AdminListInventoryConfigurationsParams'
type: 'model'
fields:
'Code':
type: 'string'
required: false
description: |-
will partially match inventoryConfigurationCode
'Limit':
type: 'int64'
required: false
description: |-
default 25
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'Offset':
type: 'int64'
required: false
'SortBy':
type: 'string'
required: false
description: |-
Only support one level of sortBy; default createdAt
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventory_configurations'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_inventory_configurations/admin_list_inventory_configurations_parameters.go'
'AdminListItemsParams@go.inventory.mod':
id: 'AdminListItemsParams@go.inventory.mod'
name: 'AdminListItemsParams'
type: 'model'
fields:
'InventoryID':
type: 'string'
required: true
description: |-
InventoryID
'Limit':
type: 'int64'
required: false
description: |-
default 25
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'Offset':
type: 'int64'
required: false
'SortBy':
type: 'string'
required: false
description: |-
Only support one level of sortBy; default createdAt
'SourceItemID':
type: 'string'
required: false
description: |-
SourceItemID
'Tags':
type: 'string'
required: false
description: |-
Tags
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_items/admin_list_items_parameters.go'
'AdminListItemTypesParams@go.inventory.mod':
id: 'AdminListItemTypesParams@go.inventory.mod'
name: 'AdminListItemTypesParams'
type: 'model'
fields:
'Limit':
type: 'int64'
required: false
description: |-
default 25
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'Offset':
type: 'int64'
required: false
'SortBy':
type: 'string'
required: false
description: |-
Only support one level of sortBy; default createdAt
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_item_types'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_item_types/admin_list_item_types_parameters.go'
'AdminListTagsParams@go.inventory.mod':
id: 'AdminListTagsParams@go.inventory.mod'
name: 'AdminListTagsParams'
type: 'model'
fields:
'Limit':
type: 'int64'
required: false
description: |-
default 25
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'Offset':
type: 'int64'
required: false
'Owner':
type: 'string'
required: false
description: |-
supported parameter SERVER or CLIENT
'SortBy':
type: 'string'
required: false
description: |-
Only support one level of sortBy; default createdAt
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_tags'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_tags/admin_list_tags_parameters.go'
'AdminPurchasableParams@go.inventory.mod':
id: 'AdminPurchasableParams@go.inventory.mod'
name: 'AdminPurchasableParams'
type: 'model'
fields:
'Body':
type: '*ApimodelsPurchaseValidationReq'
required: true
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'UserID':
type: 'string'
required: true
description: |-
UserID
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventories'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_inventories/admin_purchasable_parameters.go'
'AdminSaveItemParams@go.inventory.mod':
id: 'AdminSaveItemParams@go.inventory.mod'
name: 'AdminSaveItemParams'
type: 'model'
fields:
'Body':
type: '*ApimodelsSaveItemReq'
required: true
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'UserID':
type: 'string'
required: true
description: |-
UserID
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_items/admin_save_item_parameters.go'
'AdminSaveItemToInventoryParams@go.inventory.mod':
id: 'AdminSaveItemToInventoryParams@go.inventory.mod'
name: 'AdminSaveItemToInventoryParams'
type: 'model'
fields:
'Body':
type: '*ApimodelsSaveItemToInventoryReq'
required: true
'InventoryID':
type: 'string'
required: true
description: |-
inventoryID
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'UserID':
type: 'string'
required: true
description: |-
UserID
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_items/admin_save_item_to_inventory_parameters.go'
'AdminSyncUserEntitlementsParams@go.inventory.mod':
id: 'AdminSyncUserEntitlementsParams@go.inventory.mod'
name: 'AdminSyncUserEntitlementsParams'
type: 'model'
fields:
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'UserID':
type: 'string'
required: true
description: |-
userID
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_items/admin_sync_user_entitlements_parameters.go'
'AdminUpdateIntegrationConfigurationParams@go.inventory.mod':
id: 'AdminUpdateIntegrationConfigurationParams@go.inventory.mod'
name: 'AdminUpdateIntegrationConfigurationParams'
type: 'model'
fields:
'Body':
type: '*ApimodelsUpdateIntegrationConfigurationReq'
required: true
'IntegrationConfigurationID':
type: 'string'
required: true
description: |-
integrationConfigurationID
'Namespace':
type: 'string'
required: true
description: |-
Namespace
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_integration_configurations'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_integration_configurations/admin_update_integration_configuration_parameters.go'
'AdminUpdateInventoryParams@go.inventory.mod':
id: 'AdminUpdateInventoryParams@go.inventory.mod'
name: 'AdminUpdateInventoryParams'
type: 'model'
fields:
'Body':
type: '*ApimodelsUpdateInventoryReq'
required: true
'InventoryID':
type: 'string'
required: true
description: |-
InventoryID
'Namespace':
type: 'string'
required: true
description: |-
Namespace
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventories'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_inventories/admin_update_inventory_parameters.go'
'AdminUpdateInventoryConfigurationParams@go.inventory.mod':
id: 'AdminUpdateInventoryConfigurationParams@go.inventory.mod'
name: 'AdminUpdateInventoryConfigurationParams'
type: 'model'
fields:
'Body':
type: '*ApimodelsInventoryConfigurationReq'
required: true
'InventoryConfigurationID':
type: 'string'
required: true
description: |-
InventoryConfigurationID
'Namespace':
type: 'string'
required: true
description: |-
Namespace
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventory_configurations'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_inventory_configurations/admin_update_inventory_configuration_parameters.go'
'AdminUpdateStatusIntegrationConfigurationParams@go.inventory.mod':
id: 'AdminUpdateStatusIntegrationConfigurationParams@go.inventory.mod'
name: 'AdminUpdateStatusIntegrationConfigurationParams'
type: 'model'
fields:
'Body':
type: '*ApimodelsUpdateStatusIntegrationConfigurationReq'
required: true
'IntegrationConfigurationID':
type: 'string'
required: true
description: |-
integrationConfigurationID
'Namespace':
type: 'string'
required: true
description: |-
Namespace
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_integration_configurations'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_integration_configurations/admin_update_status_integration_configuration_parameters.go'
'AdminUpdateUserInventoriesByInventoryCodeParams@go.inventory.mod':
id: 'AdminUpdateUserInventoriesByInventoryCodeParams@go.inventory.mod'
name: 'AdminUpdateUserInventoriesByInventoryCodeParams'
type: 'model'
fields:
'Body':
type: '*ApimodelsUpdateInventoryReq'
required: true
'InventoryConfigurationCode':
type: 'string'
required: true
description: |-
InventoryConfigurationCode
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'UserID':
type: 'string'
required: true
description: |-
UserID
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventories'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_inventories/admin_update_user_inventories_by_inventory_code_parameters.go'
'DeleteInventoryParams@go.inventory.mod':
id: 'DeleteInventoryParams@go.inventory.mod'
name: 'DeleteInventoryParams'
type: 'model'
fields:
'Body':
type: '*ApimodelsDeleteInventoryReq'
required: true
'InventoryID':
type: 'string'
required: true
description: |-
InventoryID
'Namespace':
type: 'string'
required: true
description: |-
Namespace
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventories'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/admin_inventories/delete_inventory_parameters.go'
'PublicBulkRemoveMyItemsParams@go.inventory.mod':
id: 'PublicBulkRemoveMyItemsParams@go.inventory.mod'
name: 'PublicBulkRemoveMyItemsParams'
type: 'model'
fields:
'Body':
type: '[]*ApimodelsRemoveInventoryItemReq'
required: true
'InventoryID':
type: 'string'
required: true
description: |-
InventoryID
'Namespace':
type: 'string'
required: true
description: |-
Namespace
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_items'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/public_items/public_bulk_remove_my_items_parameters.go'
'PublicBulkUpdateMyItemsParams@go.inventory.mod':
id: 'PublicBulkUpdateMyItemsParams@go.inventory.mod'
name: 'PublicBulkUpdateMyItemsParams'
type: 'model'
fields:
'Body':
type: '[]*ApimodelsUpdateItemReq'
required: true
'InventoryID':
type: 'string'
required: true
description: |-
InventoryID
'Namespace':
type: 'string'
required: true
description: |-
Namespace
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_items'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/public_items/public_bulk_update_my_items_parameters.go'
'PublicConsumeMyItemParams@go.inventory.mod':
id: 'PublicConsumeMyItemParams@go.inventory.mod'
name: 'PublicConsumeMyItemParams'
type: 'model'
fields:
'Body':
type: '*ApimodelsConsumeItemReq'
required: true
'InventoryID':
type: 'string'
required: true
description: |-
InventoryID
'Namespace':
type: 'string'
required: true
description: |-
Namespace
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_items'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/public_items/public_consume_my_item_parameters.go'
'PublicGetItemParams@go.inventory.mod':
id: 'PublicGetItemParams@go.inventory.mod'
name: 'PublicGetItemParams'
type: 'model'
fields:
'InventoryID':
type: 'string'
required: true
description: |-
InventoryID
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'SlotID':
type: 'string'
required: true
description: |-
slotID
'SourceItemID':
type: 'string'
required: true
description: |-
sourceItemID
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_items'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/public_items/public_get_item_parameters.go'
'PublicListInventoriesParams@go.inventory.mod':
id: 'PublicListInventoriesParams@go.inventory.mod'
name: 'PublicListInventoriesParams'
type: 'model'
fields:
'InventoryConfigurationCode':
type: 'string'
required: false
description: |-
InventoryConfigurationCode
'Limit':
type: 'int64'
required: false
description: |-
default 25
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'Offset':
type: 'int64'
required: false
'SortBy':
type: 'string'
required: false
description: |-
Only support one level of sortBy; default createdAt
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_inventories'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/public_inventories/public_list_inventories_parameters.go'
'PublicListInventoryConfigurationsParams@go.inventory.mod':
id: 'PublicListInventoryConfigurationsParams@go.inventory.mod'
name: 'PublicListInventoryConfigurationsParams'
type: 'model'
fields:
'Code':
type: 'string'
required: false
description: |-
will partially match inventoryConfigurationCode
'Limit':
type: 'int64'
required: false
description: |-
default 25
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'Offset':
type: 'int64'
required: false
'SortBy':
type: 'string'
required: false
description: |-
Only support one level of sortBy; default createdAt
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_inventory_configurations'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/public_inventory_configurations/public_list_inventory_configurations_parameters.go'
'PublicListItemsParams@go.inventory.mod':
id: 'PublicListItemsParams@go.inventory.mod'
name: 'PublicListItemsParams'
type: 'model'
fields:
'InventoryID':
type: 'string'
required: true
description: |-
InventoryID
'Limit':
type: 'int64'
required: false
description: |-
default 25
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'Offset':
type: 'int64'
required: false
'SortBy':
type: 'string'
required: false
description: |-
Only support one level of sortBy; default createdAt
'SourceItemID':
type: 'string'
required: false
description: |-
SourceItemID
'Tags':
type: 'string'
required: false
description: |-
Tags
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_items'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/public_items/public_list_items_parameters.go'
'PublicListItemTypesParams@go.inventory.mod':
id: 'PublicListItemTypesParams@go.inventory.mod'
name: 'PublicListItemTypesParams'
type: 'model'
fields:
'Limit':
type: 'int64'
required: false
description: |-
default 25
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'Offset':
type: 'int64'
required: false
'SortBy':
type: 'string'
required: false
description: |-
Only support one level of sortBy; default createdAt
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_item_types'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/public_item_types/public_list_item_types_parameters.go'
'PublicListTagsParams@go.inventory.mod':
id: 'PublicListTagsParams@go.inventory.mod'
name: 'PublicListTagsParams'
type: 'model'
fields:
'Limit':
type: 'int64'
required: false
description: |-
default 25
'Namespace':
type: 'string'
required: true
description: |-
Namespace
'Offset':
type: 'int64'
required: false
'SortBy':
type: 'string'
required: false
description: |-
Only support one level of sortBy; default createdAt
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_tags'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/public_tags/public_list_tags_parameters.go'
'PublicMoveMyItemsParams@go.inventory.mod':
id: 'PublicMoveMyItemsParams@go.inventory.mod'
name: 'PublicMoveMyItemsParams'
type: 'model'
fields:
'Body':
type: '*ApimodelsMoveItemsReq'
required: true
'InventoryID':
type: 'string'
required: true
description: |-
InventoryID
'Namespace':
type: 'string'
required: true
description: |-
Namespace
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_items'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclient/public_items/public_move_my_items_parameters.go'
# endregion params
# region models
'ApimodelsAdminUpdateItemReq@go.inventory.mod':
id: 'ApimodelsAdminUpdateItemReq@go.inventory.mod'
name: 'ApimodelsAdminUpdateItemReq'
type: 'model'
fields:
'CustomAttributes':
type: 'interface{}'
required: true
'ServerCustomAttributes':
type: 'interface{}'
required: true
'SlotID':
type: 'string'
required: true
'SourceItemID':
type: 'string'
required: true
'Tags':
type: '[]string'
required: true
'Type':
type: 'string'
required: false
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_admin_update_item_req.go'
'ApimodelsBulkSaveItemError@go.inventory.mod':
id: 'ApimodelsBulkSaveItemError@go.inventory.mod'
name: 'ApimodelsBulkSaveItemError'
type: 'model'
fields:
'ErrorCode':
type: 'int32'
required: true
'ErrorMessage':
type: 'string'
required: true
'SlotID':
type: 'string'
required: true
'SourceItemID':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_bulk_save_item_error.go'
'ApimodelsBulkSaveItemResp@go.inventory.mod':
id: 'ApimodelsBulkSaveItemResp@go.inventory.mod'
name: 'ApimodelsBulkSaveItemResp'
type: 'model'
fields:
'ErrorDetails':
type: '*ApimodelsBulkSaveItemError'
required: false
'Item':
type: '*ApimodelsItemResp'
required: false
'Success':
type: 'bool'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_bulk_save_item_resp.go'
'ApimodelsChainingOperationReq@go.inventory.mod':
id: 'ApimodelsChainingOperationReq@go.inventory.mod'
name: 'ApimodelsChainingOperationReq'
type: 'model'
fields:
'Message':
type: 'string'
required: true
'Operations':
type: '[]*ApimodelsOperation'
required: true
'RequestID':
type: 'string'
required: false
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_chaining_operation_req.go'
'ApimodelsChainingOperationResp@go.inventory.mod':
id: 'ApimodelsChainingOperationResp@go.inventory.mod'
name: 'ApimodelsChainingOperationResp'
type: 'model'
fields:
'ErrorDetails':
type: '*ApimodelsErrorResponse'
required: false
'Message':
type: 'string'
required: true
'Replayed':
type: 'bool'
required: false
'RequestID':
type: 'string'
required: false
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_chaining_operation_resp.go'
'ApimodelsConsumeItem@go.inventory.mod':
id: 'ApimodelsConsumeItem@go.inventory.mod'
name: 'ApimodelsConsumeItem'
type: 'model'
fields:
'DateRangeValidation':
type: 'bool'
required: false
'InventoryID':
type: 'string'
required: true
'Options':
type: '[]string'
required: false
'Qty':
type: 'int32'
required: true
'SlotID':
type: 'string'
required: true
'SourceItemID':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_consume_item.go'
'ApimodelsConsumeItemReq@go.inventory.mod':
id: 'ApimodelsConsumeItemReq@go.inventory.mod'
name: 'ApimodelsConsumeItemReq'
type: 'model'
fields:
'Options':
type: '[]string'
required: false
description: |-
options, it is only available when item type is OPTIONBOX and value should be item id.
'Qty':
type: 'int32'
required: true
'SlotID':
type: 'string'
required: true
'SourceItemID':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_consume_item_req.go'
'ApimodelsCreateIntegrationConfigurationReq@go.inventory.mod':
id: 'ApimodelsCreateIntegrationConfigurationReq@go.inventory.mod'
name: 'ApimodelsCreateIntegrationConfigurationReq'
type: 'model'
fields:
'MapItemType':
type: '[]string'
required: false
'ServiceName':
type: 'string'
required: true
'TargetInventoryCode':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_create_integration_configuration_req.go'
'ApimodelsCreateInventoryConfigurationReq@go.inventory.mod':
id: 'ApimodelsCreateInventoryConfigurationReq@go.inventory.mod'
name: 'ApimodelsCreateInventoryConfigurationReq'
type: 'model'
fields:
'Code':
type: 'string'
required: true
'Description':
type: 'string'
required: false
'InitialMaxSlots':
type: 'int32'
required: true
'MaxInstancesPerUser':
type: 'int32'
required: true
'MaxUpgradeSlots':
type: 'int32'
required: true
'Name':
type: 'string'
required: false
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_create_inventory_configuration_req.go'
'ApimodelsCreateInventoryReq@go.inventory.mod':
id: 'ApimodelsCreateInventoryReq@go.inventory.mod'
name: 'ApimodelsCreateInventoryReq'
type: 'model'
fields:
'InventoryConfigurationCode':
type: 'string'
required: true
'UserID':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_create_inventory_req.go'
'ApimodelsCreateItem@go.inventory.mod':
id: 'ApimodelsCreateItem@go.inventory.mod'
name: 'ApimodelsCreateItem'
type: 'model'
fields:
'CustomAttributes':
type: 'interface{}'
required: true
'InventoryConfigurationCode':
type: 'string'
required: false
'InventoryID':
type: 'string'
required: false
'Qty':
type: 'int32'
required: true
'ServerCustomAttributes':
type: 'interface{}'
required: true
'SlotID':
type: 'string'
required: true
'SlotUsed':
type: 'int32'
required: true
'Source':
type: 'string'
required: false
'SourceItemID':
type: 'string'
required: true
'Tags':
type: '[]string'
required: true
'ToSpecificInventory':
type: 'bool'
required: true
'Type':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_create_item.go'
'ApimodelsCreateItemTypeReq@go.inventory.mod':
id: 'ApimodelsCreateItemTypeReq@go.inventory.mod'
name: 'ApimodelsCreateItemTypeReq'
type: 'model'
fields:
'Name':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_create_item_type_req.go'
'ApimodelsCreateItemTypeResp@go.inventory.mod':
id: 'ApimodelsCreateItemTypeResp@go.inventory.mod'
name: 'ApimodelsCreateItemTypeResp'
type: 'model'
fields:
'CreatedAt':
type: 'strfmt.DateTime'
required: true
'Name':
type: 'string'
required: true
'Namespace':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_create_item_type_resp.go'
'ApimodelsCreateTagReq@go.inventory.mod':
id: 'ApimodelsCreateTagReq@go.inventory.mod'
name: 'ApimodelsCreateTagReq'
type: 'model'
fields:
'Name':
type: 'string'
required: true
'Owner':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_create_tag_req.go'
'ApimodelsCreateTagResp@go.inventory.mod':
id: 'ApimodelsCreateTagResp@go.inventory.mod'
name: 'ApimodelsCreateTagResp'
type: 'model'
fields:
'CreatedAt':
type: 'strfmt.DateTime'
required: true
'Name':
type: 'string'
required: true
'Namespace':
type: 'string'
required: true
'Owner':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_create_tag_resp.go'
'ApimodelsDeleteInventoryReq@go.inventory.mod':
id: 'ApimodelsDeleteInventoryReq@go.inventory.mod'
name: 'ApimodelsDeleteInventoryReq'
type: 'model'
fields:
'Message':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_delete_inventory_req.go'
'ApimodelsErrorResponse@go.inventory.mod':
id: 'ApimodelsErrorResponse@go.inventory.mod'
name: 'ApimodelsErrorResponse'
type: 'model'
fields:
'ErrorCode':
type: 'int32'
required: true
'ErrorMessage':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_error_response.go'
'ApimodelsIntegrationConfigurationResp@go.inventory.mod':
id: 'ApimodelsIntegrationConfigurationResp@go.inventory.mod'
name: 'ApimodelsIntegrationConfigurationResp'
type: 'model'
fields:
'CreatedAt':
type: 'strfmt.DateTime'
required: true
'ID':
type: 'string'
required: true
'ItemTypes':
type: '[]string'
required: true
'Namespace':
type: 'string'
required: true
'ServiceName':
type: 'string'
required: true
'Status':
type: 'string'
required: true
'TargetInventoryCode':
type: 'string'
required: true
'UpdatedAt':
type: 'strfmt.DateTime'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_integration_configuration_resp.go'
'ApimodelsInventoryConfig@go.inventory.mod':
id: 'ApimodelsInventoryConfig@go.inventory.mod'
name: 'ApimodelsInventoryConfig'
type: 'model'
fields:
'SlotUsed':
type: 'int32'
required: false
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_inventory_config.go'
'ApimodelsInventoryConfigurationReq@go.inventory.mod':
id: 'ApimodelsInventoryConfigurationReq@go.inventory.mod'
name: 'ApimodelsInventoryConfigurationReq'
type: 'model'
fields:
'Code':
type: 'string'
required: true
'Description':
type: 'string'
required: false
'InitialMaxSlots':
type: 'int32'
required: true
'MaxInstancesPerUser':
type: 'int32'
required: true
'MaxUpgradeSlots':
type: 'int32'
required: true
'Name':
type: 'string'
required: false
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_inventory_configuration_req.go'
'ApimodelsInventoryConfigurationResp@go.inventory.mod':
id: 'ApimodelsInventoryConfigurationResp@go.inventory.mod'
name: 'ApimodelsInventoryConfigurationResp'
type: 'model'
fields:
'Code':
type: 'string'
required: true
'CreatedAt':
type: 'strfmt.DateTime'
required: true
'Description':
type: 'string'
required: true
'ID':
type: 'string'
required: true
'InitialMaxSlots':
type: 'int32'
required: true
'MaxInstancesPerUser':
type: 'int32'
required: true
'MaxUpgradeSlots':
type: 'int32'
required: true
'Name':
type: 'string'
required: true
'Namespace':
type: 'string'
required: true
'Status':
type: 'string'
required: true
'UpdatedAt':
type: 'strfmt.DateTime'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_inventory_configuration_resp.go'
'ApimodelsInventoryResp@go.inventory.mod':
id: 'ApimodelsInventoryResp@go.inventory.mod'
name: 'ApimodelsInventoryResp'
type: 'model'
fields:
'CreatedAt':
type: 'strfmt.DateTime'
required: true
'ID':
type: 'string'
required: true
'InventoryConfigurationCode':
type: 'string'
required: true
'InventoryConfigurationID':
type: 'string'
required: true
'MaxSlots':
type: 'int32'
required: true
'MaxUpgradeSlots':
type: 'int32'
required: true
'Namespace':
type: 'string'
required: true
'UpdatedAt':
type: 'strfmt.DateTime'
required: true
'UsedCountSlots':
type: 'int32'
required: true
'UserID':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_inventory_resp.go'
'ApimodelsItemResp@go.inventory.mod':
id: 'ApimodelsItemResp@go.inventory.mod'
name: 'ApimodelsItemResp'
type: 'model'
fields:
'CreatedAt':
type: 'strfmt.DateTime'
required: true
'CustomAttributes':
type: 'interface{}'
required: true
'ID':
type: 'string'
required: true
'InventoryID':
type: 'string'
required: true
'ItemInfo':
type: 'interface{}'
required: true
'Namespace':
type: 'string'
required: true
'PlatformAvailable':
type: 'bool'
required: false
'Qty':
type: 'int32'
required: true
'ServerCustomAttributes':
type: 'interface{}'
required: true
'SlotID':
type: 'string'
required: true
'SlotUsed':
type: 'int32'
required: true
'Source':
type: 'string'
required: true
'SourceItemID':
type: 'string'
required: true
'Tags':
type: '[]string'
required: true
'Type':
type: 'string'
required: true
'UpdatedAt':
type: 'strfmt.DateTime'
required: true
'UserID':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_item_resp.go'
'ApimodelsListIntegrationConfigurationsResp@go.inventory.mod':
id: 'ApimodelsListIntegrationConfigurationsResp@go.inventory.mod'
name: 'ApimodelsListIntegrationConfigurationsResp'
type: 'model'
fields:
'Data':
type: '[]*ApimodelsIntegrationConfigurationResp'
required: true
'Paging':
type: '*ApimodelsPaging'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_list_integration_configurations_resp.go'
'ApimodelsListInventoryConfigurationsResp@go.inventory.mod':
id: 'ApimodelsListInventoryConfigurationsResp@go.inventory.mod'
name: 'ApimodelsListInventoryConfigurationsResp'
type: 'model'
fields:
'Data':
type: '[]*ApimodelsInventoryConfigurationResp'
required: true
'Paging':
type: '*ApimodelsPaging'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_list_inventory_configurations_resp.go'
'ApimodelsListInventoryResp@go.inventory.mod':
id: 'ApimodelsListInventoryResp@go.inventory.mod'
name: 'ApimodelsListInventoryResp'
type: 'model'
fields:
'Data':
type: '[]*ApimodelsInventoryResp'
required: true
'Paging':
type: '*ApimodelsPaging'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_list_inventory_resp.go'
'ApimodelsListItemResp@go.inventory.mod':
id: 'ApimodelsListItemResp@go.inventory.mod'
name: 'ApimodelsListItemResp'
type: 'model'
fields:
'Data':
type: '[]*ApimodelsItemResp'
required: true
'Paging':
type: '*ApimodelsPaging'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_list_item_resp.go'
'ApimodelsListItemTypesResp@go.inventory.mod':
id: 'ApimodelsListItemTypesResp@go.inventory.mod'
name: 'ApimodelsListItemTypesResp'
type: 'model'
fields:
'Data':
type: '[]*ApimodelsCreateItemTypeResp'
required: true
'Paging':
type: '*ApimodelsPaging'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_list_item_types_resp.go'
'ApimodelsListTagsResp@go.inventory.mod':
id: 'ApimodelsListTagsResp@go.inventory.mod'
name: 'ApimodelsListTagsResp'
type: 'model'
fields:
'Data':
type: '[]*ApimodelsCreateTagResp'
required: true
'Paging':
type: '*ApimodelsPaging'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_list_tags_resp.go'
'ApimodelsMoveItemsReq@go.inventory.mod':
id: 'ApimodelsMoveItemsReq@go.inventory.mod'
name: 'ApimodelsMoveItemsReq'
type: 'model'
fields:
'Items':
type: '[]*ApimodelsTradeItem'
required: true
'SrcInventoryID':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_move_items_req.go'
'ApimodelsMoveItemsResp@go.inventory.mod':
id: 'ApimodelsMoveItemsResp@go.inventory.mod'
name: 'ApimodelsMoveItemsResp'
type: 'model'
fields:
'CreatedAt':
type: 'strfmt.DateTime'
required: true
'DstInventoryID':
type: 'string'
required: true
'Items':
type: '[]*ApimodelsTradeItemResp'
required: true
'Namespace':
type: 'string'
required: true
'SrcInventoryID':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_move_items_resp.go'
'ApimodelsOperation@go.inventory.mod':
id: 'ApimodelsOperation@go.inventory.mod'
name: 'ApimodelsOperation'
type: 'model'
fields:
'ConsumeItems':
type: '[]*ApimodelsConsumeItem'
required: true
'CreateItems':
type: '[]*ApimodelsCreateItem'
required: true
'RemoveItems':
type: '[]*ApimodelsRemoveItem'
required: true
'TargetUserID':
type: 'string'
required: true
'UpdateItems':
type: '[]*ApimodelsUpdateItem'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_operation.go'
'ApimodelsPaging@go.inventory.mod':
id: 'ApimodelsPaging@go.inventory.mod'
name: 'ApimodelsPaging'
type: 'model'
fields:
'First':
type: 'string'
required: true
'Last':
type: 'string'
required: true
'Next':
type: 'string'
required: true
'Previous':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_paging.go'
'ApimodelsPurchaseValidationItemReq@go.inventory.mod':
id: 'ApimodelsPurchaseValidationItemReq@go.inventory.mod'
name: 'ApimodelsPurchaseValidationItemReq'
type: 'model'
fields:
'BundledQty':
type: 'int32'
required: true
'EntitlementType':
type: 'string'
required: true
'InventoryConfig':
type: '*ApimodelsInventoryConfig'
required: true
'ItemID':
type: 'string'
required: true
'ItemType':
type: 'string'
required: true
'Sku':
type: 'string'
required: true
'Stackable':
type: 'bool'
required: true
'UseCount':
type: 'int32'
required: false
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_purchase_validation_item_req.go'
'ApimodelsPurchaseValidationReq@go.inventory.mod':
id: 'ApimodelsPurchaseValidationReq@go.inventory.mod'
name: 'ApimodelsPurchaseValidationReq'
type: 'model'
fields:
'EntitlementType':
type: 'string'
required: false
'InventoryConfig':
type: '*ApimodelsInventoryConfig'
required: false
'ItemID':
type: 'string'
required: true
'Items':
type: '[]*ApimodelsPurchaseValidationItemReq'
required: false
'ItemType':
type: 'string'
required: true
'Quantity':
type: 'int32'
required: true
'Sku':
type: 'string'
required: true
'Stackable':
type: 'bool'
required: false
'UseCount':
type: 'int32'
required: false
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_purchase_validation_req.go'
'ApimodelsRemoveInventoryItemReq@go.inventory.mod':
id: 'ApimodelsRemoveInventoryItemReq@go.inventory.mod'
name: 'ApimodelsRemoveInventoryItemReq'
type: 'model'
fields:
'SlotID':
type: 'string'
required: true
'SourceItemID':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_remove_inventory_item_req.go'
'ApimodelsRemoveItem@go.inventory.mod':
id: 'ApimodelsRemoveItem@go.inventory.mod'
name: 'ApimodelsRemoveItem'
type: 'model'
fields:
'InventoryID':
type: 'string'
required: true
'SlotID':
type: 'string'
required: true
'SourceItemID':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_remove_item.go'
'ApimodelsSaveItemReq@go.inventory.mod':
id: 'ApimodelsSaveItemReq@go.inventory.mod'
name: 'ApimodelsSaveItemReq'
type: 'model'
fields:
'CustomAttributes':
type: 'interface{}'
required: true
'InventoryConfigurationCode':
type: 'string'
required: true
'Qty':
type: 'int32'
required: true
'ServerCustomAttributes':
type: 'interface{}'
required: true
'SlotID':
type: 'string'
required: true
'SlotUsed':
type: 'int32'
required: true
'Source':
type: 'string'
required: true
'SourceItemID':
type: 'string'
required: true
'Tags':
type: '[]string'
required: true
'Type':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_save_item_req.go'
'ApimodelsSaveItemToInventoryReq@go.inventory.mod':
id: 'ApimodelsSaveItemToInventoryReq@go.inventory.mod'
name: 'ApimodelsSaveItemToInventoryReq'
type: 'model'
fields:
'CustomAttributes':
type: 'interface{}'
required: true
'Qty':
type: 'int32'
required: true
'ServerCustomAttributes':
type: 'interface{}'
required: true
'SlotID':
type: 'string'
required: true
'SlotUsed':
type: 'int32'
required: true
'Source':
type: 'string'
required: true
'SourceItemID':
type: 'string'
required: true
'Tags':
type: '[]string'
required: true
'Type':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_save_item_to_inventory_req.go'
'ApimodelsTradeItem@go.inventory.mod':
id: 'ApimodelsTradeItem@go.inventory.mod'
name: 'ApimodelsTradeItem'
type: 'model'
fields:
'Qty':
type: 'int32'
required: true
'SlotID':
type: 'string'
required: true
'SourceItemID':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_trade_item.go'
'ApimodelsTradeItemResp@go.inventory.mod':
id: 'ApimodelsTradeItemResp@go.inventory.mod'
name: 'ApimodelsTradeItemResp'
type: 'model'
fields:
'ID':
type: 'string'
required: true
'Qty':
type: 'int32'
required: true
'SlotID':
type: 'string'
required: true
'SourceItemID':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_trade_item_resp.go'
'ApimodelsUpdateIntegrationConfigurationReq@go.inventory.mod':
id: 'ApimodelsUpdateIntegrationConfigurationReq@go.inventory.mod'
name: 'ApimodelsUpdateIntegrationConfigurationReq'
type: 'model'
fields:
'MapItemType':
type: '[]string'
required: false
'ServiceName':
type: 'string'
required: true
'TargetInventoryCode':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_update_integration_configuration_req.go'
'ApimodelsUpdateInventoryReq@go.inventory.mod':
id: 'ApimodelsUpdateInventoryReq@go.inventory.mod'
name: 'ApimodelsUpdateInventoryReq'
type: 'model'
fields:
'IncMaxSlots':
type: 'int32'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_update_inventory_req.go'
'ApimodelsUpdateItem@go.inventory.mod':
id: 'ApimodelsUpdateItem@go.inventory.mod'
name: 'ApimodelsUpdateItem'
type: 'model'
fields:
'CustomAttributes':
type: 'interface{}'
required: true
'InventoryID':
type: 'string'
required: true
'ServerCustomAttributes':
type: 'interface{}'
required: true
'SlotID':
type: 'string'
required: true
'SourceItemID':
type: 'string'
required: true
'Tags':
type: '[]string'
required: true
'Type':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_update_item.go'
'ApimodelsUpdateItemReq@go.inventory.mod':
id: 'ApimodelsUpdateItemReq@go.inventory.mod'
name: 'ApimodelsUpdateItemReq'
type: 'model'
fields:
'CustomAttributes':
type: 'interface{}'
required: true
'SlotID':
type: 'string'
required: true
'SourceItemID':
type: 'string'
required: true
'Tags':
type: '[]string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_update_item_req.go'
'ApimodelsUpdateItemResp@go.inventory.mod':
id: 'ApimodelsUpdateItemResp@go.inventory.mod'
name: 'ApimodelsUpdateItemResp'
type: 'model'
fields:
'ErrorDetails':
type: '*ApimodelsErrorResponse'
required: false
'SlotID':
type: 'string'
required: true
'SourceItemID':
type: 'string'
required: true
'Success':
type: 'bool'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_update_item_resp.go'
'ApimodelsUpdateStatusIntegrationConfigurationReq@go.inventory.mod':
id: 'ApimodelsUpdateStatusIntegrationConfigurationReq@go.inventory.mod'
name: 'ApimodelsUpdateStatusIntegrationConfigurationReq'
type: 'model'
fields:
'Status':
type: 'string'
required: true
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/inventory-sdk/pkg/inventoryclientmodels/apimodels_update_status_integration_configuration_req.go'
# endregion models
# region functions
'AdminBulkRemoveItemsShort@go.inventory.fun':
id: 'AdminBulkRemoveItemsShort@go.inventory.fun'
name: 'AdminBulkRemoveItemsShort'
type: 'function'
description: |-
Bulk remove user's own items'.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [DELETE]
struct: 'AdminItemsService'
arguments:
params:
type: '*admin_items.AdminBulkRemoveItemsParams'
required: true
return_type: '(*admin_items.AdminBulkRemoveItemsResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminItems.go'
example: |-
adminItemsService := inventory.AdminItemsService{ ... }
params := admin_items.AdminBulkRemoveItemsParams{ ... }
res, err := adminItemsService.AdminBulkRemoveItemsShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'bulk'
- 'items'
- 'remove'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [DELETE]'
'AdminBulkSaveItemShort@go.inventory.fun':
id: 'AdminBulkSaveItemShort@go.inventory.fun'
name: 'AdminBulkSaveItemShort'
type: 'function'
description: |-
**This endpoint is used used for bulk saving purchased items to the playerâs inventory based on the inventoryConfigurationCode with the following conditions:**
- If the player doesn't have the inventory for the specified inventoryConfigurationCode, a new inventory will be created for the player.
- If the player already has one, it will be added to the existing inventory.
>- If the same item exists within the inventory, the quantity (qty) will be increased.
>- If the inventory is full, the item cannot be added and the request will return the âFailedâ response.
>- If a player has more than one inventory and the initial inventory is full, the service will check the available slot in the other inventory following the order of their creation date and time (createdAt).
- For E-commerce items:
>- Attributes such as slotUsed, serverCustomAttributes, customAttributes, and type will be overridden by the attributes configured in the AccelByte Gaming Services (AGS) Store.
>- Storing E-commerce items in a particular slot will follow its entitlement and item configuration, such as durable, consumable, stackable and non-stackable.
>- The quantity is dynamically set based on an itemâs useCount configured in Store. When saving an item, the specified quantity will be multiplied by configured useCount for that particular item. For example, if an Item is configured with a useCount of 5 in the AGS Store and it is saved with a qty of 2, the itemâs quantity will be stored as 10 in the playerâs inventory.
**When configuring your request, note the following:**
- The source field is mandatory for determining the source of the item. The supported values are OTHER (for items coming from other sources) and E-commerce for items coming from the E-commerce integration.
- For other-sourced items, the type can be manually defined when saving the item.
- A maximum of 10 items can be saved in a single bulk call.
You must have this permission to access this endpoint:
**Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]**
struct: 'AdminItemsService'
arguments:
params:
type: '*admin_items.AdminBulkSaveItemParams'
required: true
return_type: '(*admin_items.AdminBulkSaveItemResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminItems.go'
example: |-
adminItemsService := inventory.AdminItemsService{ ... }
params := admin_items.AdminBulkSaveItemParams{ ... }
res, err := adminItemsService.AdminBulkSaveItemShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'bulk'
- 'item'
- 'items'
- 'save'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]'
'AdminBulkSaveItemToInventoryShort@go.inventory.fun':
id: 'AdminBulkSaveItemToInventoryShort@go.inventory.fun'
name: 'AdminBulkSaveItemToInventoryShort'
type: 'function'
description: |-
**This endpoint is used for bulk saving purchased items to a specific inventory of the player, with the following conditions for E-commerce items:**
- Attributes such as slotUsed, serverCustomAttributes, customAttributes, and type will be overridden by the attributes configured in the AccelByte Gaming Services (AGS) Store.
- Storing E-commerce items in a particular slot will follow its entitlement and item configuration, such as durable, consumable, stackable and non-stackable.
- The quantity is dynamically set based on an itemâs useCount configured in Store. When saving an item, the specified quantity will be multiplied by configured useCount for that particular item. For example, if an Item is configured with a useCount of 5 in the AGS Store and it is saved with a qty of 2, the itemâs quantity will be stored as 10 in the playerâs inventory.
**When configuring your request, note the following:**
- The source field is mandatory for determining the source of the item. The supported values are OTHER (for items coming from other sources) and E-commerce for items coming from the E-commerce integration.
- For other-sourced items, the type can be manually defined when saving the item.
- A maximum of 10 items can be saved in a single bulk call.
You must have this permission to access this endpoint:
**Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM[CREATE]**
struct: 'AdminItemsService'
arguments:
params:
type: '*admin_items.AdminBulkSaveItemToInventoryParams'
required: true
return_type: '(*admin_items.AdminBulkSaveItemToInventoryResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminItems.go'
example: |-
adminItemsService := inventory.AdminItemsService{ ... }
params := admin_items.AdminBulkSaveItemToInventoryParams{ ... }
res, err := adminItemsService.AdminBulkSaveItemToInventoryShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'bulk'
- 'inventory'
- 'item'
- 'items'
- 'save'
- 'to'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]'
'AdminBulkUpdateMyItemsShort@go.inventory.fun':
id: 'AdminBulkUpdateMyItemsShort@go.inventory.fun'
name: 'AdminBulkUpdateMyItemsShort'
type: 'function'
description: |-
Bulk Updating user's own items.
Tags will be auto-created.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [UPDATE]
struct: 'AdminItemsService'
arguments:
params:
type: '*admin_items.AdminBulkUpdateMyItemsParams'
required: true
return_type: '(*admin_items.AdminBulkUpdateMyItemsResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminItems.go'
example: |-
adminItemsService := inventory.AdminItemsService{ ... }
params := admin_items.AdminBulkUpdateMyItemsParams{ ... }
res, err := adminItemsService.AdminBulkUpdateMyItemsShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'bulk'
- 'items'
- 'my'
- 'update'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [UPDATE]'
'AdminConsumeUserItemShort@go.inventory.fun':
id: 'AdminConsumeUserItemShort@go.inventory.fun'
name: 'AdminConsumeUserItemShort'
type: 'function'
description: |-
Consume user's own item
Client should pass item ID in options if item type is OPTIONBOX
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [UPDATE]
struct: 'AdminItemsService'
arguments:
params:
type: '*admin_items.AdminConsumeUserItemParams'
required: true
return_type: '(*admin_items.AdminConsumeUserItemResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminItems.go'
example: |-
adminItemsService := inventory.AdminItemsService{ ... }
params := admin_items.AdminConsumeUserItemParams{ ... }
res, err := adminItemsService.AdminConsumeUserItemShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'consume'
- 'item'
- 'items'
- 'user'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [UPDATE]'
'AdminCreateChainingOperationsShort@go.inventory.fun':
id: 'AdminCreateChainingOperationsShort@go.inventory.fun'
name: 'AdminCreateChainingOperationsShort'
type: 'function'
description: |-
Create chaining Operations.
This process will run sequentially
1. remove item process
2. consume item process
3. update item process
4. create item process
if toSpecificInventory set as true, then inventoryId field will be mandatory, vice versa
The behavior of each process is same with current admin level endpoint
requestId: Request id(Optional), client should provide a unique request id to perform at most once execution, When a request id is resubmitted,
it will return original successful response
replayed : replayed, if true,the response is original successful response. This will not be included in response if client have not pass request id.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]
struct: 'AdminChainingOperationsService'
arguments:
params:
type: '*admin_chaining_operations.AdminCreateChainingOperationsParams'
required: true
return_type: '(*admin_chaining_operations.AdminCreateChainingOperationsResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_chaining_operations'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminChainingOperations.go'
example: |-
adminChainingOperationsService := inventory.AdminChainingOperationsService{ ... }
params := admin_chaining_operations.AdminCreateChainingOperationsParams{ ... }
res, err := adminChainingOperationsService.AdminCreateChainingOperationsShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'chaining'
- 'create'
- 'operations'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]'
'AdminCreateIntegrationConfigurationShort@go.inventory.fun':
id: 'AdminCreateIntegrationConfigurationShort@go.inventory.fun'
name: 'AdminCreateIntegrationConfigurationShort'
type: 'function'
description: |-
Creating integration configuration.
There cannot be one duplicate serviceName per namespace.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:INTEGRATIONCONFIGURATION [CREATE]
struct: 'AdminIntegrationConfigurationsService'
arguments:
params:
type: '*admin_integration_configurations.AdminCreateIntegrationConfigurationParams'
required: true
return_type: '(*admin_integration_configurations.AdminCreateIntegrationConfigurationResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_integration_configurations'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminIntegrationConfigurations.go'
example: |-
adminIntegrationConfigurationsService := inventory.AdminIntegrationConfigurationsService{ ... }
params := admin_integration_configurations.AdminCreateIntegrationConfigurationParams{ ... }
res, err := adminIntegrationConfigurationsService.AdminCreateIntegrationConfigurationShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'configuration'
- 'configurations'
- 'create'
- 'integration'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:INVENTORY:INTEGRATIONCONFIGURATION [CREATE]'
'AdminCreateInventoryShort@go.inventory.fun':
id: 'AdminCreateInventoryShort@go.inventory.fun'
name: 'AdminCreateInventoryShort'
type: 'function'
description: |-
Creating an inventory.
The inventory configuration must exists otherwise it will fail.
The max slots and max upgrade slots of an inventory will be initialized according to the inventory configuration it used,
but it can be changed later when using AdminUpdateInventory endpoint.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [CREATE]
struct: 'AdminInventoriesService'
arguments:
params:
type: '*admin_inventories.AdminCreateInventoryParams'
required: true
return_type: '(*admin_inventories.AdminCreateInventoryResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventories'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminInventories.go'
example: |-
adminInventoriesService := inventory.AdminInventoriesService{ ... }
params := admin_inventories.AdminCreateInventoryParams{ ... }
res, err := adminInventoriesService.AdminCreateInventoryShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'create'
- 'inventories'
- 'inventory'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [CREATE]'
'AdminCreateInventoryConfigurationShort@go.inventory.fun':
id: 'AdminCreateInventoryConfigurationShort@go.inventory.fun'
name: 'AdminCreateInventoryConfigurationShort'
type: 'function'
description: |-
Creating inventory configuration.
There cannot be one inventory configuration duplicate code per namespace.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [CREATE]
struct: 'AdminInventoryConfigurationsService'
arguments:
params:
type: '*admin_inventory_configurations.AdminCreateInventoryConfigurationParams'
required: true
return_type: '(*admin_inventory_configurations.AdminCreateInventoryConfigurationResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventory_configurations'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminInventoryConfigurations.go'
example: |-
adminInventoryConfigurationsService := inventory.AdminInventoryConfigurationsService{ ... }
params := admin_inventory_configurations.AdminCreateInventoryConfigurationParams{ ... }
res, err := adminInventoryConfigurationsService.AdminCreateInventoryConfigurationShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'configuration'
- 'configurations'
- 'create'
- 'inventory'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [CREATE]'
'AdminCreateItemTypeShort@go.inventory.fun':
id: 'AdminCreateItemTypeShort@go.inventory.fun'
name: 'AdminCreateItemTypeShort'
type: 'function'
description: |-
This endpoint will create a new itemtype.
The itemtype name must be unique per namespace.
It is safe to call this endpoint even if the itemtype already exists.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:ITEMTYPE [CREATE]
struct: 'AdminItemTypesService'
arguments:
params:
type: '*admin_item_types.AdminCreateItemTypeParams'
required: true
return_type: '(*admin_item_types.AdminCreateItemTypeResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_item_types'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminItemTypes.go'
example: |-
adminItemTypesService := inventory.AdminItemTypesService{ ... }
params := admin_item_types.AdminCreateItemTypeParams{ ... }
res, err := adminItemTypesService.AdminCreateItemTypeShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'create'
- 'item'
- 'type'
- 'types'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:INVENTORY:ITEMTYPE [CREATE]'
'AdminCreateTagShort@go.inventory.fun':
id: 'AdminCreateTagShort@go.inventory.fun'
name: 'AdminCreateTagShort'
type: 'function'
description: |-
This endpoint will create a new tag.
The tag name must be unique per namespace.
It is safe to call this endpoint even if the tag already exists.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:TAG [CREATE]
struct: 'AdminTagsService'
arguments:
params:
type: '*admin_tags.AdminCreateTagParams'
required: true
return_type: '(*admin_tags.AdminCreateTagResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_tags'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminTags.go'
example: |-
adminTagsService := inventory.AdminTagsService{ ... }
params := admin_tags.AdminCreateTagParams{ ... }
res, err := adminTagsService.AdminCreateTagShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'create'
- 'tag'
- 'tags'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:INVENTORY:TAG [CREATE]'
'AdminDeleteInventoryConfigurationShort@go.inventory.fun':
id: 'AdminDeleteInventoryConfigurationShort@go.inventory.fun'
name: 'AdminDeleteInventoryConfigurationShort'
type: 'function'
description: |-
Deleting an inventory configuration.
If an inventory already reference this type (i.e. STATUS is "TIED"), then the type cannot be deleted anymore.
ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [DELETE]
struct: 'AdminInventoryConfigurationsService'
arguments:
params:
type: '*admin_inventory_configurations.AdminDeleteInventoryConfigurationParams'
required: true
return_type: 'error'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventory_configurations'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminInventoryConfigurations.go'
example: |-
adminInventoryConfigurationsService := inventory.AdminInventoryConfigurationsService{ ... }
params := admin_inventory_configurations.AdminDeleteInventoryConfigurationParams{ ... }
res, err := adminInventoryConfigurationsService.AdminDeleteInventoryConfigurationShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'configuration'
- 'configurations'
- 'delete'
- 'inventory'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [DELETE]'
'AdminDeleteItemTypeShort@go.inventory.fun':
id: 'AdminDeleteItemTypeShort@go.inventory.fun'
name: 'AdminDeleteItemTypeShort'
type: 'function'
description: |-
This endpoint will delete a item type by itemtypeName in a specified namespace.
If the itemtypeName doesn't exist in a namespace, it'll return not found.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:ITEMTYPE [DELETE]
struct: 'AdminItemTypesService'
arguments:
params:
type: '*admin_item_types.AdminDeleteItemTypeParams'
required: true
return_type: 'error'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_item_types'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminItemTypes.go'
example: |-
adminItemTypesService := inventory.AdminItemTypesService{ ... }
params := admin_item_types.AdminDeleteItemTypeParams{ ... }
res, err := adminItemTypesService.AdminDeleteItemTypeShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'delete'
- 'item'
- 'type'
- 'types'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:INVENTORY:ITEMTYPE [DELETE]'
'AdminDeleteTagShort@go.inventory.fun':
id: 'AdminDeleteTagShort@go.inventory.fun'
name: 'AdminDeleteTagShort'
type: 'function'
description: |-
This endpoint will delete a tag by tagName in a specified namespace.
If the tagName doesn't exist in a namespace, it'll return not found.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:TAG [DELETE]
struct: 'AdminTagsService'
arguments:
params:
type: '*admin_tags.AdminDeleteTagParams'
required: true
return_type: 'error'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_tags'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminTags.go'
example: |-
adminTagsService := inventory.AdminTagsService{ ... }
params := admin_tags.AdminDeleteTagParams{ ... }
res, err := adminTagsService.AdminDeleteTagShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'delete'
- 'tag'
- 'tags'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:INVENTORY:TAG [DELETE]'
'AdminGetInventoryShort@go.inventory.fun':
id: 'AdminGetInventoryShort@go.inventory.fun'
name: 'AdminGetInventoryShort'
type: 'function'
description: |-
Getting an inventory info.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [READ]
struct: 'AdminInventoriesService'
arguments:
params:
type: '*admin_inventories.AdminGetInventoryParams'
required: true
return_type: '(*admin_inventories.AdminGetInventoryResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventories'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminInventories.go'
example: |-
adminInventoriesService := inventory.AdminInventoriesService{ ... }
params := admin_inventories.AdminGetInventoryParams{ ... }
res, err := adminInventoriesService.AdminGetInventoryShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'get'
- 'inventories'
- 'inventory'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [READ]'
'AdminGetInventoryConfigurationShort@go.inventory.fun':
id: 'AdminGetInventoryConfigurationShort@go.inventory.fun'
name: 'AdminGetInventoryConfigurationShort'
type: 'function'
description: |-
Getting an inventory configuration info.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [READ]
struct: 'AdminInventoryConfigurationsService'
arguments:
params:
type: '*admin_inventory_configurations.AdminGetInventoryConfigurationParams'
required: true
return_type: '(*admin_inventory_configurations.AdminGetInventoryConfigurationResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventory_configurations'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminInventoryConfigurations.go'
example: |-
adminInventoryConfigurationsService := inventory.AdminInventoryConfigurationsService{ ... }
params := admin_inventory_configurations.AdminGetInventoryConfigurationParams{ ... }
res, err := adminInventoryConfigurationsService.AdminGetInventoryConfigurationShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'configuration'
- 'configurations'
- 'get'
- 'inventory'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [READ]'
'AdminGetInventoryItemShort@go.inventory.fun':
id: 'AdminGetInventoryItemShort@go.inventory.fun'
name: 'AdminGetInventoryItemShort'
type: 'function'
description: |-
Getting an item info.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [READ]
struct: 'AdminItemsService'
arguments:
params:
type: '*admin_items.AdminGetInventoryItemParams'
required: true
return_type: '(*admin_items.AdminGetInventoryItemResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminItems.go'
example: |-
adminItemsService := inventory.AdminItemsService{ ... }
params := admin_items.AdminGetInventoryItemParams{ ... }
res, err := adminItemsService.AdminGetInventoryItemShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'get'
- 'inventory'
- 'item'
- 'items'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [READ]'
'AdminListIntegrationConfigurationsShort@go.inventory.fun':
id: 'AdminListIntegrationConfigurationsShort@go.inventory.fun'
name: 'AdminListIntegrationConfigurationsShort'
type: 'function'
description: |-
Listing all integration configurations in a namespace.
The response body will be in the form of standard pagination.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:INTEGRATIONCONFIGURATION [READ]
struct: 'AdminIntegrationConfigurationsService'
arguments:
params:
type: '*admin_integration_configurations.AdminListIntegrationConfigurationsParams'
required: true
return_type: '(*admin_integration_configurations.AdminListIntegrationConfigurationsResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_integration_configurations'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminIntegrationConfigurations.go'
example: |-
adminIntegrationConfigurationsService := inventory.AdminIntegrationConfigurationsService{ ... }
params := admin_integration_configurations.AdminListIntegrationConfigurationsParams{ ... }
res, err := adminIntegrationConfigurationsService.AdminListIntegrationConfigurationsShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'configurations'
- 'integration'
- 'list'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:INVENTORY:INTEGRATIONCONFIGURATION [READ]'
'AdminListInventoriesShort@go.inventory.fun':
id: 'AdminListInventoriesShort@go.inventory.fun'
name: 'AdminListInventoriesShort'
type: 'function'
description: |-
Listing all inventories in a namespace.
The response body will be in the form of standard pagination.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [READ]
struct: 'AdminInventoriesService'
arguments:
params:
type: '*admin_inventories.AdminListInventoriesParams'
required: true
return_type: '(*admin_inventories.AdminListInventoriesResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventories'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminInventories.go'
example: |-
adminInventoriesService := inventory.AdminInventoriesService{ ... }
params := admin_inventories.AdminListInventoriesParams{ ... }
res, err := adminInventoriesService.AdminListInventoriesShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'inventories'
- 'list'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [READ]'
'AdminListInventoryConfigurationsShort@go.inventory.fun':
id: 'AdminListInventoryConfigurationsShort@go.inventory.fun'
name: 'AdminListInventoryConfigurationsShort'
type: 'function'
description: |-
Listing all inventory configurations in a namespace.
The response body will be in the form of standard pagination.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [READ]
struct: 'AdminInventoryConfigurationsService'
arguments:
params:
type: '*admin_inventory_configurations.AdminListInventoryConfigurationsParams'
required: true
return_type: '(*admin_inventory_configurations.AdminListInventoryConfigurationsResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventory_configurations'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminInventoryConfigurations.go'
example: |-
adminInventoryConfigurationsService := inventory.AdminInventoryConfigurationsService{ ... }
params := admin_inventory_configurations.AdminListInventoryConfigurationsParams{ ... }
res, err := adminInventoryConfigurationsService.AdminListInventoryConfigurationsShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'configurations'
- 'inventory'
- 'list'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [READ]'
'AdminListItemsShort@go.inventory.fun':
id: 'AdminListItemsShort@go.inventory.fun'
name: 'AdminListItemsShort'
type: 'function'
description: |-
Listing all items in an inventory.
The response body will be in the form of standard pagination.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [READ]
struct: 'AdminItemsService'
arguments:
params:
type: '*admin_items.AdminListItemsParams'
required: true
return_type: '(*admin_items.AdminListItemsResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminItems.go'
example: |-
adminItemsService := inventory.AdminItemsService{ ... }
params := admin_items.AdminListItemsParams{ ... }
res, err := adminItemsService.AdminListItemsShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'items'
- 'list'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [READ]'
'AdminListItemTypesShort@go.inventory.fun':
id: 'AdminListItemTypesShort@go.inventory.fun'
name: 'AdminListItemTypesShort'
type: 'function'
description: |-
This endpoint will list all item types in a namespace.
The response body will be in the form of standard pagination.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:ITEMTYPE [READ]
struct: 'AdminItemTypesService'
arguments:
params:
type: '*admin_item_types.AdminListItemTypesParams'
required: true
return_type: '(*admin_item_types.AdminListItemTypesResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_item_types'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminItemTypes.go'
example: |-
adminItemTypesService := inventory.AdminItemTypesService{ ... }
params := admin_item_types.AdminListItemTypesParams{ ... }
res, err := adminItemTypesService.AdminListItemTypesShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'item'
- 'list'
- 'types'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:INVENTORY:ITEMTYPE [READ]'
'AdminListTagsShort@go.inventory.fun':
id: 'AdminListTagsShort@go.inventory.fun'
name: 'AdminListTagsShort'
type: 'function'
description: |-
This endpoint will list all tags in a namespace.
The response body will be in the form of standard pagination.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:TAG [READ]
struct: 'AdminTagsService'
arguments:
params:
type: '*admin_tags.AdminListTagsParams'
required: true
return_type: '(*admin_tags.AdminListTagsResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_tags'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminTags.go'
example: |-
adminTagsService := inventory.AdminTagsService{ ... }
params := admin_tags.AdminListTagsParams{ ... }
res, err := adminTagsService.AdminListTagsShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'list'
- 'tags'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:INVENTORY:TAG [READ]'
'AdminPurchasableShort@go.inventory.fun':
id: 'AdminPurchasableShort@go.inventory.fun'
name: 'AdminPurchasableShort'
type: 'function'
description: |-
Validate purchase ecommerce item.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [UPDATE]
struct: 'AdminInventoriesService'
arguments:
params:
type: '*admin_inventories.AdminPurchasableParams'
required: true
return_type: 'error'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventories'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminInventories.go'
example: |-
adminInventoriesService := inventory.AdminInventoriesService{ ... }
params := admin_inventories.AdminPurchasableParams{ ... }
res, err := adminInventoriesService.AdminPurchasableShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'inventories'
- 'purchasable'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [UPDATE]'
'AdminSaveItemShort@go.inventory.fun':
id: 'AdminSaveItemShort@go.inventory.fun'
name: 'AdminSaveItemShort'
type: 'function'
description: |-
**This endpoint is used to save items to the playerâs inventory based on the inventoryConfigurationCode with the following conditions:**
- If the player doesn't have the inventory for the specified inventoryConfigurationCode, a new inventory will be created.
- If the user already has one, it will be added to the existing inventory.
- If the same item exists within the inventory, the quantity (qty) will be increased.
- If the inventory is full, the item cannot be added and the request will return the âFailedâ response.
- If a player has more than one inventory and the initial inventory is full, the service will check the available slot in the other inventory following the order of their creation date and time (createdAt).
- For Ecommerce items:
>- Attributes such as slotUsed, serverCustomAttributes, customAttributes, and type will be overridden by the attributes configured in the AccelByte Gaming Services (AGS) Store.
>- Storing E-commerce items in a particular slot will follow its entitlement and item configuration, such as durable, consumable, stackable and non-stackable.
>- The quantity is dynamically set based on an itemâs useCount configured in Store. When saving an item, the specified quantity will be multiplied by configured useCount for that particular item. For example, if an Item is configured with a useCount of 5 in the AGS Store and it is saved with a qty of 2, the itemâs quantity will be stored as 10 in the playerâs inventory.
You must have this permission to access this endpoint:
**Permission:ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]**
struct: 'AdminItemsService'
arguments:
params:
type: '*admin_items.AdminSaveItemParams'
required: true
return_type: '(*admin_items.AdminSaveItemResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminItems.go'
example: |-
adminItemsService := inventory.AdminItemsService{ ... }
params := admin_items.AdminSaveItemParams{ ... }
res, err := adminItemsService.AdminSaveItemShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'item'
- 'items'
- 'save'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]'
'AdminSaveItemToInventoryShort@go.inventory.fun':
id: 'AdminSaveItemToInventoryShort@go.inventory.fun'
name: 'AdminSaveItemToInventoryShort'
type: 'function'
description: |-
**This endpoint is used to save purchased items to a specific inventory of the player, with the following conditions for E-commerce items:**
- Attributes such as slotUsed, serverCustomAttributes, customAttributes, and type will be overridden by the attributes configured in the AccelByte Gaming Services (AGS) Store.
- Storing E-commerce items in a particular slot will follow its entitlement and item configuration, such as durable, consumable, stackable and non-stackable.
- The quantity is dynamically set based on an itemâs useCount configured in Store. When saving an item, the specified quantity will be multiplied by configured useCount for that particular item. For example, if an Item is configured with a useCount of 5 in the AGS Store and it is saved with a qty of 2, the itemâs quantity will be stored as 10 in the playerâs inventory.
**When configuring your request, note the following:**
- The source field is mandatory for determining the source of the item. The supported values are OTHER (for items coming from other sources) and E-commerce for items coming from the E-commerce integration.
- For other-sourced items, the type can be manually defined when saving the item.
You must have this permission to access this endpoint:
**Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]**
struct: 'AdminItemsService'
arguments:
params:
type: '*admin_items.AdminSaveItemToInventoryParams'
required: true
return_type: '(*admin_items.AdminSaveItemToInventoryResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminItems.go'
example: |-
adminItemsService := inventory.AdminItemsService{ ... }
params := admin_items.AdminSaveItemToInventoryParams{ ... }
res, err := adminItemsService.AdminSaveItemToInventoryShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'inventory'
- 'item'
- 'items'
- 'save'
- 'to'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]'
'AdminSyncUserEntitlementsShort@go.inventory.fun':
id: 'AdminSyncUserEntitlementsShort@go.inventory.fun'
name: 'AdminSyncUserEntitlementsShort'
type: 'function'
description: |-
Sync user's entitlement from e-commerce service to inventory for non exist item at user inventory.
will skip the item if already exist at user inventory.
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [UPDATE]
struct: 'AdminItemsService'
arguments:
params:
type: '*admin_items.AdminSyncUserEntitlementsParams'
required: true
return_type: 'error'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_items'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminItems.go'
example: |-
adminItemsService := inventory.AdminItemsService{ ... }
params := admin_items.AdminSyncUserEntitlementsParams{ ... }
res, err := adminItemsService.AdminSyncUserEntitlementsShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'entitlements'
- 'items'
- 'sync'
- 'user'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [UPDATE]'
'AdminUpdateIntegrationConfigurationShort@go.inventory.fun':
id: 'AdminUpdateIntegrationConfigurationShort@go.inventory.fun'
name: 'AdminUpdateIntegrationConfigurationShort'
type: 'function'
description: |-
to update integration configuration
There cannot be duplicate serviceName per namespace.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:INTEGRATIONCONFIGURATION [UPDATE]
struct: 'AdminIntegrationConfigurationsService'
arguments:
params:
type: '*admin_integration_configurations.AdminUpdateIntegrationConfigurationParams'
required: true
return_type: '(*admin_integration_configurations.AdminUpdateIntegrationConfigurationResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_integration_configurations'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminIntegrationConfigurations.go'
example: |-
adminIntegrationConfigurationsService := inventory.AdminIntegrationConfigurationsService{ ... }
params := admin_integration_configurations.AdminUpdateIntegrationConfigurationParams{ ... }
res, err := adminIntegrationConfigurationsService.AdminUpdateIntegrationConfigurationShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'configuration'
- 'configurations'
- 'integration'
- 'update'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:INVENTORY:INTEGRATIONCONFIGURATION [UPDATE]'
'AdminUpdateInventoryShort@go.inventory.fun':
id: 'AdminUpdateInventoryShort@go.inventory.fun'
name: 'AdminUpdateInventoryShort'
type: 'function'
description: |-
Updating an inventory.
Positive value will increase MaxSlots from existing value
Negative value will decrease MaxSlots from existing value
Limited slots can not be changed to unlimited, vice versa
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [UPDATE]
struct: 'AdminInventoriesService'
arguments:
params:
type: '*admin_inventories.AdminUpdateInventoryParams'
required: true
return_type: '(*admin_inventories.AdminUpdateInventoryResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventories'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminInventories.go'
example: |-
adminInventoriesService := inventory.AdminInventoriesService{ ... }
params := admin_inventories.AdminUpdateInventoryParams{ ... }
res, err := adminInventoriesService.AdminUpdateInventoryShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'inventories'
- 'inventory'
- 'update'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [UPDATE]'
'AdminUpdateInventoryConfigurationShort@go.inventory.fun':
id: 'AdminUpdateInventoryConfigurationShort@go.inventory.fun'
name: 'AdminUpdateInventoryConfigurationShort'
type: 'function'
description: |-
Updating inventory configuration.
There cannot be duplicate code per namespace.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [UPDATE]
struct: 'AdminInventoryConfigurationsService'
arguments:
params:
type: '*admin_inventory_configurations.AdminUpdateInventoryConfigurationParams'
required: true
return_type: '(*admin_inventory_configurations.AdminUpdateInventoryConfigurationResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventory_configurations'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminInventoryConfigurations.go'
example: |-
adminInventoryConfigurationsService := inventory.AdminInventoryConfigurationsService{ ... }
params := admin_inventory_configurations.AdminUpdateInventoryConfigurationParams{ ... }
res, err := adminInventoryConfigurationsService.AdminUpdateInventoryConfigurationShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'configuration'
- 'configurations'
- 'inventory'
- 'update'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:INVENTORY:CONFIGURATION [UPDATE]'
'AdminUpdateStatusIntegrationConfigurationShort@go.inventory.fun':
id: 'AdminUpdateStatusIntegrationConfigurationShort@go.inventory.fun'
name: 'AdminUpdateStatusIntegrationConfigurationShort'
type: 'function'
description: |-
to update status integration configuration to be Active / Not Active.
There cannot be duplicate serviceName per namespace.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:INTEGRATIONCONFIGURATION [UPDATE]
struct: 'AdminIntegrationConfigurationsService'
arguments:
params:
type: '*admin_integration_configurations.AdminUpdateStatusIntegrationConfigurationParams'
required: true
return_type: '(*admin_integration_configurations.AdminUpdateStatusIntegrationConfigurationResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_integration_configurations'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminIntegrationConfigurations.go'
example: |-
adminIntegrationConfigurationsService := inventory.AdminIntegrationConfigurationsService{ ... }
params := admin_integration_configurations.AdminUpdateStatusIntegrationConfigurationParams{ ... }
res, err := adminIntegrationConfigurationsService.AdminUpdateStatusIntegrationConfigurationShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'configuration'
- 'configurations'
- 'integration'
- 'status'
- 'update'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:INVENTORY:INTEGRATIONCONFIGURATION [UPDATE]'
'AdminUpdateUserInventoriesByInventoryCodeShort@go.inventory.fun':
id: 'AdminUpdateUserInventoriesByInventoryCodeShort@go.inventory.fun'
name: 'AdminUpdateUserInventoriesByInventoryCodeShort'
type: 'function'
description: |-
Updating user inventories.
Positive value will increase MaxSlots from existing value
Negative value will decrease MaxSlots from existing value
Limited slots can not be changed to unlimited, vice versa
Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [UPDATE]
struct: 'AdminInventoriesService'
arguments:
params:
type: '*admin_inventories.AdminUpdateUserInventoriesByInventoryCodeParams'
required: true
return_type: '(*admin_inventories.AdminUpdateUserInventoriesByInventoryCodeResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventories'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminInventories.go'
example: |-
adminInventoriesService := inventory.AdminInventoriesService{ ... }
params := admin_inventories.AdminUpdateUserInventoriesByInventoryCodeParams{ ... }
res, err := adminInventoriesService.AdminUpdateUserInventoriesByInventoryCodeShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'by'
- 'code'
- 'inventories'
- 'inventory'
- 'update'
- 'user'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [UPDATE]'
'DeleteInventoryShort@go.inventory.fun':
id: 'DeleteInventoryShort@go.inventory.fun'
name: 'DeleteInventoryShort'
type: 'function'
description: |-
Deleting an inventory.
If an inventory still has items, it cannot be deleted.
ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [DELETE]
struct: 'AdminInventoriesService'
arguments:
params:
type: '*admin_inventories.DeleteInventoryParams'
required: true
return_type: 'error'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/admin_inventories'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/adminInventories.go'
example: |-
adminInventoriesService := inventory.AdminInventoriesService{ ... }
params := admin_inventories.DeleteInventoryParams{ ... }
res, err := adminInventoriesService.DeleteInventoryShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'admin'
- 'delete'
- 'inventories'
- 'inventory'
permissions:
- 'ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY [DELETE]'
'PublicBulkRemoveMyItemsShort@go.inventory.fun':
id: 'PublicBulkRemoveMyItemsShort@go.inventory.fun'
name: 'PublicBulkRemoveMyItemsShort'
type: 'function'
description: |-
Bulk remove user's own items.
struct: 'PublicItemsService'
arguments:
params:
type: '*public_items.PublicBulkRemoveMyItemsParams'
required: true
return_type: '(*public_items.PublicBulkRemoveMyItemsResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_items'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/publicItems.go'
example: |-
publicItemsService := inventory.PublicItemsService{ ... }
params := public_items.PublicBulkRemoveMyItemsParams{ ... }
res, err := publicItemsService.PublicBulkRemoveMyItemsShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'bulk'
- 'items'
- 'my'
- 'public'
- 'remove'
'PublicBulkUpdateMyItemsShort@go.inventory.fun':
id: 'PublicBulkUpdateMyItemsShort@go.inventory.fun'
name: 'PublicBulkUpdateMyItemsShort'
type: 'function'
description: |-
Bulk Updating user's own items.
struct: 'PublicItemsService'
arguments:
params:
type: '*public_items.PublicBulkUpdateMyItemsParams'
required: true
return_type: '(*public_items.PublicBulkUpdateMyItemsResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_items'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/publicItems.go'
example: |-
publicItemsService := inventory.PublicItemsService{ ... }
params := public_items.PublicBulkUpdateMyItemsParams{ ... }
res, err := publicItemsService.PublicBulkUpdateMyItemsShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'bulk'
- 'items'
- 'my'
- 'public'
- 'update'
'PublicConsumeMyItemShort@go.inventory.fun':
id: 'PublicConsumeMyItemShort@go.inventory.fun'
name: 'PublicConsumeMyItemShort'
type: 'function'
description: |-
Consume user's own item.
Client should pass item ID in options if item type is OPTIONBOX
struct: 'PublicItemsService'
arguments:
params:
type: '*public_items.PublicConsumeMyItemParams'
required: true
return_type: '(*public_items.PublicConsumeMyItemResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_items'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/publicItems.go'
example: |-
publicItemsService := inventory.PublicItemsService{ ... }
params := public_items.PublicConsumeMyItemParams{ ... }
res, err := publicItemsService.PublicConsumeMyItemShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'consume'
- 'item'
- 'items'
- 'my'
- 'public'
'PublicGetItemShort@go.inventory.fun':
id: 'PublicGetItemShort@go.inventory.fun'
name: 'PublicGetItemShort'
type: 'function'
description: |-
Getting an user's owned item info.
struct: 'PublicItemsService'
arguments:
params:
type: '*public_items.PublicGetItemParams'
required: true
return_type: '(*public_items.PublicGetItemResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_items'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/publicItems.go'
example: |-
publicItemsService := inventory.PublicItemsService{ ... }
params := public_items.PublicGetItemParams{ ... }
res, err := publicItemsService.PublicGetItemShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'get'
- 'item'
- 'items'
- 'public'
'PublicListInventoriesShort@go.inventory.fun':
id: 'PublicListInventoriesShort@go.inventory.fun'
name: 'PublicListInventoriesShort'
type: 'function'
description: |-
Listing all my inventories in a namespace.
The response body will be in the form of standard pagination.
struct: 'PublicInventoriesService'
arguments:
params:
type: '*public_inventories.PublicListInventoriesParams'
required: true
return_type: '(*public_inventories.PublicListInventoriesResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_inventories'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/publicInventories.go'
example: |-
publicInventoriesService := inventory.PublicInventoriesService{ ... }
params := public_inventories.PublicListInventoriesParams{ ... }
res, err := publicInventoriesService.PublicListInventoriesShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'inventories'
- 'list'
- 'public'
'PublicListInventoryConfigurationsShort@go.inventory.fun':
id: 'PublicListInventoryConfigurationsShort@go.inventory.fun'
name: 'PublicListInventoryConfigurationsShort'
type: 'function'
description: |-
Listing all inventory configurations in a namespace.
The response body will be in the form of standard pagination.
struct: 'PublicInventoryConfigurationsService'
arguments:
params:
type: '*public_inventory_configurations.PublicListInventoryConfigurationsParams'
required: true
return_type: '(*public_inventory_configurations.PublicListInventoryConfigurationsResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_inventory_configurations'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/publicInventoryConfigurations.go'
example: |-
publicInventoryConfigurationsService := inventory.PublicInventoryConfigurationsService{ ... }
params := public_inventory_configurations.PublicListInventoryConfigurationsParams{ ... }
res, err := publicInventoryConfigurationsService.PublicListInventoryConfigurationsShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'configurations'
- 'inventory'
- 'list'
- 'public'
'PublicListItemsShort@go.inventory.fun':
id: 'PublicListItemsShort@go.inventory.fun'
name: 'PublicListItemsShort'
type: 'function'
description: |-
Listing all user's owned items in an inventory.
The response body will be in the form of standard pagination.
struct: 'PublicItemsService'
arguments:
params:
type: '*public_items.PublicListItemsParams'
required: true
return_type: '(*public_items.PublicListItemsResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_items'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/publicItems.go'
example: |-
publicItemsService := inventory.PublicItemsService{ ... }
params := public_items.PublicListItemsParams{ ... }
res, err := publicItemsService.PublicListItemsShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'items'
- 'list'
- 'public'
'PublicListItemTypesShort@go.inventory.fun':
id: 'PublicListItemTypesShort@go.inventory.fun'
name: 'PublicListItemTypesShort'
type: 'function'
description: |-
This endpoint will list all item types in a namespace.
The response body will be in the form of standard pagination.
struct: 'PublicItemTypesService'
arguments:
params:
type: '*public_item_types.PublicListItemTypesParams'
required: true
return_type: '(*public_item_types.PublicListItemTypesResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_item_types'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/publicItemTypes.go'
example: |-
publicItemTypesService := inventory.PublicItemTypesService{ ... }
params := public_item_types.PublicListItemTypesParams{ ... }
res, err := publicItemTypesService.PublicListItemTypesShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'item'
- 'list'
- 'public'
- 'types'
'PublicListTagsShort@go.inventory.fun':
id: 'PublicListTagsShort@go.inventory.fun'
name: 'PublicListTagsShort'
type: 'function'
description: |-
This endpoint will list all tags in a namespace.
The response body will be in the form of standard pagination.
struct: 'PublicTagsService'
arguments:
params:
type: '*public_tags.PublicListTagsParams'
required: true
return_type: '(*public_tags.PublicListTagsResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_tags'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/publicTags.go'
example: |-
publicTagsService := inventory.PublicTagsService{ ... }
params := public_tags.PublicListTagsParams{ ... }
res, err := publicTagsService.PublicListTagsShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'list'
- 'public'
- 'tags'
'PublicMoveMyItemsShort@go.inventory.fun':
id: 'PublicMoveMyItemsShort@go.inventory.fun'
name: 'PublicMoveMyItemsShort'
type: 'function'
description: |-
Move items between inventories that is owned by the same user.
For Ecommerce items, the *qty* is *useCount*. For example, moving 2 of an item's *qty* will move 2 of the entitlement's *useCount*.
struct: 'PublicItemsService'
arguments:
params:
type: '*public_items.PublicMoveMyItemsParams'
required: true
return_type: '(*public_items.PublicMoveMyItemsResponse, error)'
imports:
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclientmodels'
- 'github.com/AccelByte/accelbyte-go-sdk/inventory-sdk/pkg/inventoryclient/public_items'
- 'github.com/AccelByte/accelbyte-go-sdk/services-api/pkg/service/inventory'
files:
- 'https://github.com/AccelByte/accelbyte-go-sdk/blob/main/services-api/pkg/service/inventory/publicItems.go'
example: |-
publicItemsService := inventory.PublicItemsService{ ... }
params := public_items.PublicMoveMyItemsParams{ ... }
res, err := publicItemsService.PublicMoveMyItemsShort(params)
if err != nil {
// handleError(err)
}
tags:
- 'items'
- 'move'
- 'my'
- 'public'
# endregion functions